*{box-sizing:border-box}body{color:#0f172a;background:#f8fafc;margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.app-shell{max-width:1240px;margin:0 auto;padding:34px 22px 60px}.hero{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:24px;display:flex}.hero h1{margin:6px 0 8px;font-size:34px}.hero p{color:#64748b;margin:0;line-height:1.55}.hero a{color:#4f46e5;font-weight:800;text-decoration:none}.kicker{text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:900;color:#4f46e5!important}.grid{gap:16px;display:grid}.two{grid-template-columns:1fr 1fr}.card{background:#fff;border:1px solid #e2e8f0;border-radius:20px;margin-bottom:16px;padding:20px;box-shadow:0 12px 35px #0f172a0a}.wide{grid-column:1/-1}.card h2{margin:0 0 14px;font-size:20px}.card label{margin:12px 0 8px;font-weight:850;display:block}.card input,.card select,.card textarea{width:100%;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:13px;padding:12px}.card textarea{resize:vertical}.key-row{grid-template-columns:1fr auto;gap:10px;display:grid}.actions,.tabs{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px;display:flex}button{color:#0f172a;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:13px;padding:11px 14px;font-weight:850}button.primary,.tabs button.active{color:#fff;background:#4f46e5;border-color:#4f46e5}button:disabled{opacity:.55;cursor:not-allowed}.help{color:#64748b;font-size:13px;line-height:1.5}.commands{grid-template-columns:repeat(3,1fr);gap:12px;margin:14px 0;display:grid}.commands div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:12px}.commands pre,.result,details pre{color:#e2e8f0;white-space:pre-wrap;word-break:break-word;background:#0f172a;border-radius:14px;max-height:360px;padding:14px;font-size:12px;overflow:auto}.commands pre{min-height:180px}.section-title{justify-content:space-between;align-items:center;gap:12px;display:flex}.history{gap:12px;display:grid}.history article{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:14px}.history p{color:#334155;white-space:pre-wrap;line-height:1.55}.meta{color:#64748b;margin-bottom:10px;font-size:12px}@media (width<=900px){.two,.commands{grid-template-columns:1fr}.hero{flex-direction:column}.app-shell{padding:20px 14px}.hero h1{font-size:28px}}.quality-shell .top-tabs{flex-wrap:wrap;gap:12px;margin:8px 0 18px;display:flex}.top-tabs button.active{color:#fff;background:#4f46e5;border-color:#4f46e5}.notice{color:#312e81;background:#eef2ff;border:1px solid #c7d2fe;border-radius:14px;margin-bottom:16px;padding:12px 14px;font-weight:700}.key-list{gap:12px;display:grid}.key-list article{border:1px solid #e2e8f0;border-radius:14px;justify-content:space-between;gap:12px;padding:14px;display:flex}.key-list article.selected{background:#eef2ff;border-color:#4f46e5}.key-list p{color:#64748b;margin:4px 0}.chat-layout{grid-template-columns:minmax(0,1.4fr) minmax(320px,.6fr)}.chat-window{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;flex-direction:column;gap:14px;min-height:420px;max-height:560px;margin-bottom:14px;padding:18px;display:flex;overflow:auto}.empty-chat{color:#64748b;text-align:center;margin:auto}.bubble{white-space:pre-wrap;border-radius:18px;max-width:88%;padding:14px 16px;line-height:1.55}.bubble.user{background:#e0ecff;align-self:flex-end}.bubble.assistant{background:#fff;border:1px solid #e2e8f0;align-self:flex-start}.bubble.system{background:#fff7ed;border:1px solid #fed7aa;align-self:center}.bubble .role{margin-bottom:6px;font-weight:900}.bubble .meta{color:#64748b;margin-top:10px;font-size:12px}.side-panel{align-self:start;position:sticky;top:18px}.pill{color:#475569;border:1px solid #cbd5e1;border-radius:999px;align-items:center;padding:7px 11px;font-size:13px;display:inline-flex}.metric-grid{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px;display:grid}.metric-grid div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:12px}.metric-grid span{color:#64748b;font-size:12px;display:block}.metric-grid strong{word-break:break-word;margin-top:4px;display:block}.runs-table{overflow:auto}.runs-table table{border-collapse:collapse;width:100%;font-size:13px}.runs-table th,.runs-table td{text-align:left;vertical-align:top;border-bottom:1px solid #e2e8f0;padding:10px}.runs-table th{color:#475569;background:#f8fafc}details pre{max-height:420px}@media (width<=1000px){.chat-layout{grid-template-columns:1fr}.side-panel{position:static}.bubble{max-width:100%}}.alert-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin:12px 0 18px;display:grid}.alert-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:14px}.alert-card.ok{background:#f0fdf4;border-color:#bbf7d0}.alert-card.warning{background:#fffbeb;border-color:#fde68a}.alert-card.danger{background:#fef2f2;border-color:#fecaca}.inventory-list article p{margin:3px 0}.inventory-list article strong{margin-bottom:6px;display:block}.selected-api-card{background:#f5f3ff;border:1px dashed #c4b5fd;border-radius:14px;margin:10px 0 12px;padding:12px 14px}.selected-api-card p{color:#475569;margin:5px 0}.selected-api-card strong{color:#4c1d95}
