.auth-screen { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: #101316; padding: 20px; }
.auth-card { width: min(420px, 100%); background: #171b1f; border: 1px solid #30383f; border-radius: 14px; padding: 28px; }
.auth-card h1 { font-size: 24px; margin-bottom: 8px; }
.auth-card p { color: #aeb8be; line-height: 1.55; margin-bottom: 22px; }
.field { display: grid; gap: 7px; margin-bottom: 14px; }
.field label { color: #cbd3d7; font-size: 12px; }
.field input,.field select { width: 100%; border: 1px solid #3a444b; background: #101316; color: #edf1f2; border-radius: 8px; padding: 11px 12px; outline: none; }
.field input:focus,.field select:focus { border-color: #f4a261; box-shadow: 0 0 0 3px rgba(244,162,97,.12); }
.auth-error { min-height: 20px; color: #ffadad; font-size: 12px; margin-bottom: 8px; }
.auth-hint { color: #7f8b93; font-size: 11px; margin-top: 14px; line-height: 1.55; }
.page-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.data-state { padding: 44px 18px; text-align: center; color: #97a2aa; }
.data-state strong { display: block; color: #edf1f2; margin-bottom: 6px; }
.view-table td { vertical-align: top; }
.muted { color: #97a2aa; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.severity-critical,.severity-high { color: #ffadad; background: #3a2023; }
.severity-medium { color: #ffd795; background: #382c1a; }
.severity-low { color: #b6c2c9; background: #273036; }
.dialog { width: min(620px, calc(100vw - 32px)); color: #edf1f2; background: #171b1f; border: 1px solid #3a444b; border-radius: 14px; padding: 0; }
.dialog::backdrop { background: rgba(3,5,6,.76); }
.dialog-head { padding: 18px 20px; border-bottom: 1px solid #30383f; display: flex; justify-content: space-between; align-items: center; }
.dialog-head h2 { font-size: 16px; }
.dialog-body { padding: 20px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 8px; }
.button-link { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border-radius: 8px; padding: 10px 14px; }
.detail-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.detail-item { padding: 12px; background: #111518; border-radius: 8px; }
.detail-item span { display: block; color: #7f8b93; font-size: 11px; margin-bottom: 5px; }
.status-banner { padding: 12px 14px; border-radius: 8px; background: #282117; color: #ffd795; margin-bottom: 16px; }
.store-menu { position: fixed; z-index: 60; top: 60px; right: 156px; width: 270px; padding: 8px; background: #1d2328; border: 1px solid #3a444b; border-radius: 10px; box-shadow: 0 8px 20px rgba(0,0,0,.24); }
.store-menu button { width: 100%; text-align: left; border: 0; background: transparent; color: #dce2e4; padding: 10px; border-radius: 7px; }
.store-menu button:hover { background: #2a3238; }
.store-menu small { display: block; color: #7f8b93; margin-top: 3px; }
.loading-row { height: 44px; background: #1c2226; border-radius: 7px; margin: 10px 18px; opacity: .72; }
.auth-flow { padding: 4px 20px 18px; }
.auth-step { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid #30383f; }
.auth-step:last-child { border-bottom: 0; }
.auth-step-number { width: 28px; height: 28px; display: inline-grid; place-items: center; border-radius: 50%; background: #2b3339; color: #edf1f2; font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.auth-step strong { display: block; color: #edf1f2; margin: 3px 0 5px; }
.auth-step p { max-width: 72ch; margin: 0; color: #aeb8be; line-height: 1.55; }
.auth-flow.compact { padding: 0; }
.auth-flow.compact .auth-step { padding: 14px 0; }
.auth-flow.compact .button-link { margin-top: 10px; }
.authorization-summary { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #111518; border-radius: 8px; margin-bottom: 8px; }
.authorization-summary p { margin: 0; color: #aeb8be; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.form-help { color: #aeb8be; font-size: 12px; line-height: 1.55; margin: 4px 0 12px; }
.channel-endpoints,.channel-table { margin-top: 14px; }
.channel-table .muted { display: inline-block; margin-top: 5px; line-height: 1.45; }
@media (max-width: 820px) { .detail-grid { grid-template-columns: 1fr; } .store-menu { right: 16px; top: 62px; } }
