/* Customer Credentials page (t603). Builds on portal.css tokens. */
.credentials .lead { max-width: 680px; }
.credentials-status:empty { display: none; }
.credentials-status:focus { outline: 3px solid var(--accent); outline-offset: 2px; }
.credentials > .card, .credentials-list { margin-top: 24px; }
.credentials-list > h2 { margin-top: 32px; }
.credentials-provider { margin: 28px 0 12px; font-size: 1.15rem; }
.credential-title { font-size: 1.1rem; margin: 0 0 8px; }
.credential-title:focus, .credentials-list > h2:focus, .credential-inline h4:focus { outline: 3px solid var(--accent); outline-offset: 4px; }
.credential dl { margin: 12px 0; }
.credential .actions { margin-top: 12px; }
.credential-panel:empty { display: none; }
.credential-inline { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.credential-inline.notice { margin-top: 20px; border-top: 0; }
.credential-inline h4 { margin: 0 0 12px; }
fieldset.plain { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.credential-fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 16px 20px 4px; margin: 0 0 20px; min-width: 0; }
fieldset.credential-fieldset legend { font-weight: 750; padding: 0 6px; }
.credential-form select { width: 100%; }
/* Pasted multi-line keys are masked where the browser supports it. */
textarea.secret-text { -webkit-text-security: disc; font-family: ui-monospace, monospace; }
.type-help { margin-bottom: 16px; }
fieldset:disabled input, fieldset:disabled select, fieldset:disabled textarea { background: var(--tint); }
@media (max-width: 700px) {
  fieldset.credential-fieldset { padding: 12px 14px 2px; }
  .credential .actions { align-items: stretch; }
  .credential .actions button { flex: 1 1 140px; }
}
