.key-intro { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.key-intro h2, .key-editor h2 { margin: 0 0 10px; font-size: 15px; font-weight: 500; }
.key-muted, .key-stage-note { font-size: 11px; line-height: 1.9; color: #888; }
.key-muted { margin: 0; }
.key-stage-note { margin-top: 20px; }
.key-intro .console-btn { flex-shrink: 0; }
.key-editor label { display: block; margin-bottom: 9px; color: #777; font-size: 11px; }
.key-editor-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.key-editor-row .console-input { flex: 1 1 180px; }
.key-editor-row .console-btn { min-height: 40px; }
.key-form-status { min-height: 18px; margin: 10px 0 0; color: #666; font-size: 11px; line-height: 1.8; }
.key-form-status:empty { display: none; }
.key-secret-value { display: block; margin: 16px 0; resize: none; font: 12px/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; word-break: break-all; }
.key-table-wrap { border: 1px solid #e6e6e6; border-radius: 12px; overflow: hidden; }
.key-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; }
.key-table th { background: #f7f7f7; padding: 15px 14px; font-size: 11px; font-weight: 500; color: #777; }
.key-table td { border-top: 1px solid #ededed; padding: 18px 14px; font-size: 11px; color: #444; vertical-align: top; overflow-wrap: anywhere; line-height: 1.8; }
.key-table th:nth-child(1) { width: 17%; }
.key-table th:nth-child(2) { width: 23%; }
.key-table th:nth-child(3) { width: 17%; }
.key-table th:nth-child(4) { width: 11%; }
.key-table th:nth-child(5) { width: 13%; }
.key-table th:nth-child(6) { width: 19%; }
.key-cell-label { display: none; }
.key-cell-value { min-width: 0; }
.key-cell-value code { font-size: 11px; white-space: normal; }
.key-actions-cell .key-cell-value { display: flex; flex-wrap: wrap; gap: 7px; }
.key-actions-cell .console-btn { font-size: 10px; padding: 6px 9px; min-height: 32px; }
.key-empty svg { width: 36px; height: 36px; margin-bottom: 15px; stroke: #999; fill: none; stroke-width: 1.7; stroke-linecap: round; }
html:has(.key-create-dialog[open]) { overflow: hidden; }
.key-create-dialog.orbit-dialog { width: min(460px, calc(100% - 24px)); max-height: calc(100dvh - 24px); border-radius: 16px; }
.key-create-dialog .dialog-panel { padding: 30px 28px 26px; }
.key-create-dialog .dialog-eyebrow { display: none; }
.key-create-dialog .dialog-title { padding-right: 32px; margin: 0 0 24px; font-size: 22px; letter-spacing: -.4px; }
.key-create-dialog .dialog-close { top: 13px; right: 13px; }
.key-dialog-content label:not(.ai-sr-only) { display: block; color: #666; font-size: 12px; margin-bottom: 9px; }
.key-dialog-content .console-input { min-height: 42px; }
.key-dialog-note, .key-dialog-description { color: #888; font-size: 12px; line-height: 1.8; }
.key-dialog-note { margin: 12px 0 0; }
.key-dialog-description { margin: 0; }
.key-dialog-footer { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.key-dialog-footer .console-btn { min-width: 88px; min-height: 40px; }
.key-revoke-summary { display: grid; gap: 7px; margin: 18px 0; padding: 14px; border: 1px solid #e8e8e8; border-radius: 8px; background: #fafafa; overflow-wrap: anywhere; }
.key-revoke-summary strong { font-size: 13px; font-weight: 500; }
.key-revoke-summary code { color: #777; font-size: 11px; }
@media (max-width: 1000px) and (min-width: 761px) { .key-table th, .key-table td { padding-inline: 9px; } }
@media (max-width: 760px) {
  .key-create-dialog .dialog-panel { padding: 28px 20px 22px; }
  .key-create-dialog .dialog-title { font-size: 20px; margin-bottom: 20px; }
  .key-create-dialog .dialog-close { width: 44px; height: 44px; top: 8px; right: 7px; }
  .key-dialog-content .console-input { font-size: 16px; }
  .key-dialog-content .key-secret-value { font-size: 12px; }
  .key-dialog-footer .console-btn { min-height: 44px; }
  .key-intro { flex-wrap: wrap; gap: 16px; }
  .key-intro > div { min-width: 0; }
  .key-editor-row { align-items: stretch; }
  .key-editor-row .console-input { flex-basis: 100%; }
  .key-editor-row .console-btn { min-height: 44px; }
  .key-table-wrap { border: 0; overflow: visible; }
  .key-table, .key-table tbody { display: block; }
  .key-table thead { display: none; }
  .key-table tr { display: block; border: 1px solid #e6e6e6; border-radius: 12px; padding: 10px 16px; margin-bottom: 14px; }
  .key-table td { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border: 0; }
  .key-table td + td { border-top: 1px solid #f0f0f0; }
  .key-cell-label { display: block; color: #888; flex: 0 0 68px; }
  .key-cell-value { text-align: right; overflow-wrap: anywhere; }
  .key-actions-cell .key-cell-value { justify-content: flex-end; }
  .key-actions-cell .console-btn { min-height: 44px; padding: 8px 12px; font-size: 11px; }
  .key-stage-note { font-size: 10px; }
}
