.api-credit-specs { margin: 20px 0; padding: 0; border: 0; }
[data-api-credit-editor][hidden] { display: none !important; }
.api-credit-specs legend { margin-bottom: 12px; font-weight: 700; color: #162b46; }
.api-credit-spec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.api-credit-spec { min-height: 72px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; padding: 12px 14px; border: 1px solid #cdd9e9; border-radius: 14px; background: #fff; color: #163152; cursor: pointer; }
.api-credit-spec strong { font-size: 19px; }
.api-credit-spec span { color: #526a83; }
.api-credit-spec[aria-pressed="true"] { border-color: #245aa0; background: #eaf3ff; box-shadow: inset 0 0 0 1px #245aa0; }
.api-credit-specs p { margin: 12px 0 0; color: #526a83; font-size: 13px; line-height: 1.6; }
.api-credit-order { margin: 18px 0; padding: 20px; border: 1px solid #cbdcf3; border-radius: 16px; background: #f4f8ff; color: #17304e; }
.api-credit-order h3 { margin: 0 0 8px; }
.api-credit-order p { line-height: 1.6; }
.api-credit-order-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 14px 0; }
.api-credit-order-actions button, .api-credit-order form button { padding: 10px 16px; border: 0; border-radius: 9px; background: #1e568d; color: #fff; font-weight: 700; cursor: pointer; }
.api-credit-order button:disabled { opacity: .6; cursor: wait; }
.api-credit-order form { display: grid; gap: 10px; margin-top: 14px; }
.api-credit-order form label { font-weight: 700; }
.api-credit-order textarea { box-sizing: border-box; width: 100%; min-height: 130px; padding: 12px; border: 1px solid #c7d5e6; border-radius: 10px; background: #fff; color: #17304e; font-family: ui-monospace, Consolas, monospace; }
.api-credit-order-state { margin: 12px 0 0; font-weight: 600; }
.api-credit-order-note { white-space: pre-wrap; }
.api-credit-session-dialog { width: min(90vw, 720px); max-height: 80vh; padding: 24px; border: 1px solid #bed1e8; border-radius: 16px; }
.api-credit-session-dialog::backdrop { background: rgb(15 27 46 / .65); }
.api-credit-session-dialog pre { max-height: 55vh; overflow: auto; padding: 14px; border-radius: 8px; background: #edf3fa; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 640px) { .api-credit-spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .api-credit-spec { min-height: 64px; } .api-credit-order { padding: 16px; } }
