:root {
  color-scheme: light;
  /* 云影 API 的界面以白底、浅灰分区和蓝色主色为核心。 */
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-subtle: #fafafa;
  --text: #171717;
  --muted: #737373;
  --border: #e8e8e8;
  --accent: #3ea4ec;
  --accent-dark: #1976b5;
  --accent-soft: #edf7fd;
  --danger: #c24141;
  --warning-bg: #fff9ed;
  --warning-border: #f0d18f;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.55 "Public Sans", "Segoe UI", "Microsoft YaHei", sans-serif; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.topbar { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px max(24px, calc((100% - 1240px) / 2)); border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, .96); box-shadow: 0 1px 8px rgba(15, 23, 42, .03); }
.brand { display: grid; color: var(--text); text-decoration: none; line-height: 1.15; }
.brand strong { font-size: 16px; letter-spacing: -.01em; }
.brand span, .top-actions { color: var(--muted); font-size: 12px; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.top-actions #service-status { border: 1px solid var(--border); border-radius: 999px; padding: 4px 9px; background: var(--surface-subtle); white-space: nowrap; }
.layout { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 36px 0 64px; }
.auth-view { min-height: calc(100vh - 140px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 430px); align-items: center; gap: 64px; }
.auth-rail { max-width: 500px; }
.auth-rail h2 { margin: 0 0 10px; font-size: 28px; line-height: 1.25; }
.auth-rail > p:not(.eyebrow) { max-width: 440px; color: var(--muted); font-size: 14px; }
.auth-points { display: grid; gap: 10px; margin-top: 24px; }
.auth-points span { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 12px; }
.auth-points strong { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); font: 11px Consolas, monospace; }
.auth-panel { width: min(100%, 430px); border: 1px solid var(--border); border-radius: 14px; padding: 30px; background: var(--surface); box-shadow: 0 14px 36px rgba(15, 23, 42, .08); }
.eyebrow { margin: 0 0 7px; color: var(--accent-dark); font-size: 11px; font-weight: 700; letter-spacing: .06em; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 7px; font-size: 26px; line-height: 1.25; }
h2 { margin-bottom: 5px; font-size: 16px; }
.auth-panel > p:not(.eyebrow), .panel-heading p, .console-heading p { color: var(--muted); font-size: 13px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 24px 0 18px; padding: 4px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-subtle); }
.segmented button { min-height: 36px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); }
.segmented button.active { background: var(--surface); color: var(--accent-dark); box-shadow: 0 1px 4px rgba(15, 23, 42, .08); }
.field { display: grid; gap: 6px; margin: 13px 0; color: var(--text); font-size: 12px; font-weight: 600; }
input, select, textarea { width: 100%; border: 1px solid #d4d4d4; border-radius: 8px; padding: 9px 10px; background: #fff; color: var(--text); transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(62, 164, 236, .16); }
.button { min-height: 36px; border: 1px solid transparent; border-radius: 8px; padding: 7px 14px; font-weight: 600; transition: background-color .15s, border-color .15s, box-shadow .15s, transform .15s; }
.button.primary { background: var(--accent); color: #fff; }
.button.primary:hover { background: var(--accent-dark); box-shadow: 0 4px 12px rgba(62, 164, 236, .22); }
.button.subtle { border-color: var(--border); background: var(--surface); color: var(--text); }
.button.subtle:hover { border-color: #b9dcf3; background: var(--accent-soft); color: var(--accent-dark); }
.button.danger { border-color: #f4c6cc; background: #fff; color: var(--danger); }
.button:disabled { cursor: not-allowed; opacity: .55; }
.full { width: 100%; margin-top: 9px; }
.console-heading, .panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.console-heading { margin-bottom: 20px; }
.console-heading p { margin-bottom: 0; }
.developer-nav { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 2px; margin: 0 0 18px; padding: 5px; overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; background: rgba(255, 255, 255, .96); box-shadow: 0 6px 18px rgba(15, 23, 42, .05); }
.developer-nav-item { flex: 0 0 auto; min-height: 36px; border: 0; border-radius: 8px; padding: 0 15px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 650; white-space: nowrap; }
.developer-nav-item:hover { background: var(--surface-subtle); color: var(--text); }
.developer-nav-item.active { background: var(--accent-soft); color: var(--accent-dark); }
.panel { margin-top: 18px; border: 1px solid var(--border); border-radius: 14px; padding: 22px; background: var(--surface); box-shadow: 0 5px 18px rgba(15, 23, 42, .03); }
.panel-heading { margin-bottom: 16px; }
.panel-heading p { margin-bottom: 0; }
.panel-meta { flex: 0 0 auto; color: var(--muted); font-size: 11px; white-space: nowrap; }
.summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.summary-card, .usage-stat { min-width: 0; border: 1px solid var(--border); border-radius: 10px; padding: 15px; background: var(--surface-subtle); }
.summary-card-primary { border-color: #b9dcf3; background: var(--accent-soft); }
.summary-card span, .usage-stat span { display: block; color: var(--muted); font-size: 11px; }
.summary-card strong, .usage-stat strong { display: block; margin-top: 7px; color: var(--text); font-size: 20px; line-height: 1.2; overflow-wrap: anywhere; }
.summary-card-primary strong { color: var(--accent-dark); }
.summary-card small, .usage-stat small { display: block; min-height: 30px; margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.overview-columns { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 12px; margin-top: 12px; }
.overview-subpanel { min-width: 0; border: 1px solid var(--border); border-radius: 10px; padding: 15px; background: var(--surface-subtle); }
.subpanel-heading, .table-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.subpanel-heading h3, .table-heading h3 { margin: 0; font-size: 13px; }
.metric-list { margin: 10px 0 0; }
.metric-list div { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--border); padding: 10px 0; }
.metric-list div:first-child { border-top: 0; padding-top: 2px; }
.metric-list dt { color: var(--muted); font-size: 12px; }
.metric-list dd { margin: 0; color: var(--text); font-weight: 650; text-align: right; overflow-wrap: anywhere; }
.status-chip { border: 1px solid #b9dcf3; border-radius: 999px; padding: 2px 8px; background: var(--accent-soft); color: var(--accent-dark); font-size: 11px; white-space: nowrap; }
.model-summary-list { display: grid; gap: 8px; margin-top: 10px; }
.model-summary-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--border); padding: 9px 0; }
.model-summary-row:first-child { border-top: 0; padding-top: 2px; }
.model-summary-row strong { display: block; font-size: 12px; }
.model-summary-row small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.model-summary-row > span { flex: 0 0 auto; color: var(--accent-dark); font-size: 11px; font-weight: 650; text-align: right; }
.usage-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.usage-stat strong { color: var(--accent-dark); }
.table-heading { margin: 22px 0 9px; }
.task-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 10px; }
.task-table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 12px; }
.task-table th, .task-table td { border-bottom: 1px solid var(--border); padding: 10px 11px; text-align: left; vertical-align: middle; }
.task-table th { background: var(--surface-subtle); color: var(--muted); font-weight: 650; white-space: nowrap; }
.task-table tr:last-child td { border-bottom: 0; }
.task-id { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: Consolas, monospace; }
.task-state { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; padding: 2px 7px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.task-state.success, .task-state.completed { border-color: #b9dcf3; background: var(--accent-soft); color: var(--accent-dark); }
.task-state.failed, .task-state.error { border-color: #f4c6cc; background: #fff5f6; color: var(--danger); }
.audit-status { margin: -2px 0 12px; color: var(--muted); font-size: 12px; }
.audit-list { border-top: 1px solid var(--border); }
.audit-row { display: grid; grid-template-columns: minmax(120px, .7fr) minmax(180px, 1.2fr) minmax(140px, .9fr); gap: 14px; border-bottom: 1px solid var(--border); padding: 12px 0; }
.audit-row:last-child { border-bottom: 0; }
.audit-row strong { display: block; font-size: 12px; }
.audit-row small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.audit-action { color: var(--text); font-size: 12px; font-weight: 650; }
.audit-result { color: var(--muted); font-size: 12px; text-align: right; }
.audit-result.success { color: var(--accent-dark); }
.audit-result.failed { color: var(--danger); }
.message { margin: 12px 0; border: 1px solid var(--warning-border); border-radius: 5px; padding: 10px 12px; background: var(--warning-bg); color: #7a5200; font-size: 12px; }
.inline-form { display: flex; align-items: center; gap: 10px; }
.inline-form input { max-width: 360px; }
.credential-output { margin-top: 14px; border: 1px solid var(--warning-border); border-radius: 6px; padding: 13px; background: var(--warning-bg); color: #6c4800; font-size: 12px; }
.credential-output strong { display: block; margin-bottom: 8px; }
.credential-output textarea { min-height: 132px; resize: vertical; font: 12px/1.6 Consolas, monospace; }
.credential-output .button { margin-top: 8px; }
.client-list { margin-top: 14px; }
.client-row { border-top: 1px solid var(--border); padding: 14px 0; }
.client-row:first-child { border-top: 0; }
.client-head, .client-meta, .client-actions { display: flex; align-items: center; gap: 10px; }
.client-head { justify-content: space-between; }
.client-name { min-width: 0; font-weight: 650; }
.client-name small { display: block; margin-top: 3px; color: var(--muted); font: 12px/1.4 Consolas, monospace; overflow-wrap: anywhere; }
.client-status { flex: 0 0 auto; border: 1px solid var(--border); border-radius: 4px; padding: 2px 6px; color: var(--muted); font-size: 11px; }
.client-status.active { border-color: #b9dcf3; background: var(--accent-soft); color: var(--accent-dark); }
.client-status.revoked { color: var(--danger); }
.client-meta { flex-wrap: wrap; margin-top: 9px; color: var(--muted); font-size: 12px; }
.client-actions { flex-wrap: wrap; margin-top: 12px; }
.client-actions .button { min-height: 31px; padding: 5px 9px; font-size: 11px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.full-span { grid-column: 1 / -1; }
.check-field { display: flex; align-items: center; gap: 8px; margin: 13px 0; color: var(--text); font-size: 12px; }
.check-field input { width: 15px; height: 15px; margin: 0; }
.endpoint-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.endpoint-grid div { min-height: 66px; padding: 11px 13px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface-subtle); }
.endpoint-grid div:nth-child(2n) { border-right: 0; }
.endpoint-grid div:nth-last-child(-n + 2) { border-bottom: 0; }
.endpoint-grid span { display: block; color: var(--muted); font-size: 11px; }
code { font-family: Consolas, monospace; font-size: 12px; overflow-wrap: anywhere; }
.endpoint-grid code { display: block; margin-top: 4px; color: var(--text); }
.docs-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; }
.docs h3 { margin: 22px 0 8px; font-size: 14px; }
.docs pre { margin: 10px 0 14px; overflow-x: auto; border: 1px solid var(--border); border-radius: 6px; padding: 12px; background: #101828; color: #e6edf5; }
.docs pre code { font-size: 11px; line-height: 1.65; white-space: pre; }
.docs-table { width: 100%; margin-top: 10px; border-collapse: collapse; font-size: 12px; }
.docs-table th, .docs-table td { border: 1px solid var(--border); padding: 8px 9px; text-align: left; vertical-align: top; }
.docs-table th { background: var(--surface-subtle); color: var(--muted); font-weight: 650; }
.model-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.model-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--border); border-radius: 6px; padding: 11px; background: var(--surface-subtle); }
.model-row strong { display: block; font-size: 13px; }
.model-row small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.model-row > div:first-child { min-width: 0; }
.model-side { flex: 0 0 auto; text-align: right; }
.model-channel { color: var(--muted); font-weight: 400; }
.model-details { max-width: 360px; }
.model-price { flex: 0 0 auto; color: var(--accent-dark); font-size: 12px; font-weight: 650; text-align: right; }
.empty { padding: 16px 0; color: var(--muted); font-size: 13px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 680px) {
  .topbar { padding: 12px 18px; }
  .layout { width: min(100% - 28px, 1040px); padding-top: 24px; }
  .auth-view { grid-template-columns: 1fr; gap: 24px; align-content: center; }
  .auth-rail { max-width: none; }
  .auth-rail h2 { font-size: 23px; }
  .inline-form, .console-heading { align-items: stretch; flex-direction: column; }
  .inline-form input { max-width: none; }
  .form-grid, .endpoint-grid, .model-list, .developer-nav, .summary-grid, .usage-stat-grid, .overview-columns { grid-template-columns: 1fr; }
  .panel-heading { flex-direction: column; }
  .panel-meta { white-space: normal; }
  .audit-row { grid-template-columns: 1fr; gap: 4px; }
  .audit-result { text-align: left; }
  .endpoint-grid div, .endpoint-grid div:nth-child(2n) { border-right: 0; }
  .endpoint-grid div:nth-last-child(-n + 2) { border-bottom: 1px solid var(--border); }
  .endpoint-grid div:last-child { border-bottom: 0; }
}
.api-doc-raw {
  max-height: 720px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.55;
  background: #0b1220;
  color: #e5edf8;
  padding: 18px;
  border-radius: 10px;
}

/* Cloud API inspired developer workspace skin. The layout keeps the existing
   semantic IDs and data bindings, while presenting the console as a focused
   sidebar + workspace application on desktop. */
:root {
  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-subtle: #f8faff;
  --text: #172033;
  --muted: #718096;
  --border: #e4e9f2;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-soft: #edf4ff;
  --danger: #dc3545;
  --warning-bg: #fff8e8;
  --warning-border: #f0d58b;
}

body { background: var(--bg); color: var(--text); font-family: Inter, "SF Pro Display", "Segoe UI", "Microsoft YaHei", sans-serif; }
.topbar { min-height: 70px; padding: 13px max(28px, calc((100% - 1240px) / 2)); border-bottom-color: #e8edf5; background: rgba(255, 255, 255, .9); box-shadow: 0 1px 0 rgba(19, 33, 68, .02); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(145deg, #3b82f6, #5b5ce2); color: #fff; box-shadow: 0 7px 15px rgba(37, 99, 235, .22); font-size: 18px; font-weight: 800; }
.brand-copy { display: grid; gap: 2px; line-height: 1.1; }
.brand strong { color: #1d2940; font-size: 15px; letter-spacing: .01em; }
.brand span:not(.brand-mark) { color: #8a96aa; font-size: 11px; }
.top-actions { gap: 14px; }
.topbar-badge { display: inline-flex; align-items: center; gap: 7px; color: #64748b; font-size: 12px; }
.topbar-badge i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px #dcfce7; }
.top-actions .button.subtle { min-height: 32px; border-color: #dce4f0; border-radius: 8px; padding-inline: 12px; color: #52627a; background: #fff; }
.layout { width: min(1240px, calc(100% - 48px)); padding-top: 30px; }
.console { display: grid; grid-template-columns: 222px minmax(0, 1fr); column-gap: 24px; align-items: start; }
.console-heading, .console > .message { grid-column: 2; }
.console-heading { margin-bottom: 18px; }
.console-heading h1 { margin-bottom: 5px; color: #15213a; font-size: 27px; letter-spacing: -.02em; }
.console-heading p { color: #7a879b; }
.console > .dev-section { grid-column: 2; width: 100%; }
.developer-nav { grid-column: 1; grid-row: 1 / span 99; position: sticky; top: 20px; z-index: 3; display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 13px 10px 10px; border: 1px solid #1f2d45; border-radius: 14px; background: #111a2d; box-shadow: 0 16px 34px rgba(15, 23, 42, .18); }
.developer-nav-heading { display: grid; gap: 3px; padding: 7px 10px 15px; border-bottom: 1px solid #263550; }
.developer-nav-heading strong { color: #f1f5ff; font-size: 13px; }
.developer-nav-heading small { color: #8494b1; font-size: 9px; font-weight: 750; letter-spacing: .12em; }
.developer-nav-group { display: grid; gap: 3px; margin-top: 15px; }
.developer-nav-label { padding: 0 10px 5px; color: #7f8eaa; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.developer-nav-item { display: flex; align-items: center; gap: 10px; min-height: 39px; padding: 8px 10px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #aab7cd; font-size: 12px; font-weight: 600; text-align: left; transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease; }
.developer-nav-item:hover { border-color: #304464; background: #1d2a43; color: #e4edff; transform: translateX(1px); }
.developer-nav-item.active { border-color: #315b9d; background: linear-gradient(90deg, rgba(53, 118, 234, .3), rgba(53, 118, 234, .08)); color: #eaf2ff; box-shadow: inset 3px 0 0 #4e8df2; }
.nav-icon { display: inline-grid; place-items: center; width: 18px; height: 18px; color: currentColor; font-size: 15px; font-weight: 700; line-height: 1; }
.developer-nav-foot { display: flex; align-items: center; gap: 8px; margin: auto 8px 3px; padding-top: 18px; color: #8292ac; font-size: 10px; }
.nav-foot-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px #dcfce7; }
.panel { margin-top: 0; border-color: #e2e8f2; border-radius: 14px; padding: 24px; box-shadow: 0 10px 28px rgba(38, 61, 103, .045); }
.panel + .panel { margin-top: 0; }
.panel-heading { margin-bottom: 20px; }
.eyebrow { color: #3973df; font-size: 10px; letter-spacing: .1em; }
h2 { color: #1d2940; font-size: 17px; letter-spacing: -.01em; }
.panel-heading p, .auth-panel > p:not(.eyebrow), .console-heading p { color: #7b879a; }
.panel-meta { color: #95a2b4; }
.summary-grid, .usage-stat-grid { gap: 13px; }
.summary-card, .usage-stat { border-color: #e4eaf3; border-radius: 11px; padding: 16px; background: #fbfcff; }
.summary-card-primary { border-color: #cfe0ff; background: linear-gradient(145deg, #edf4ff, #f7faff); }
.summary-card strong, .usage-stat strong { color: #1c2b46; font-size: 22px; }
.summary-card-primary strong, .usage-stat strong { color: #245fd1; }
.summary-card span, .usage-stat span { color: #77859b; }
.summary-card small, .usage-stat small { color: #91a0b4; }
.overview-columns { gap: 14px; margin-top: 14px; }
.overview-subpanel { border-color: #e4eaf3; border-radius: 11px; padding: 17px; background: #fbfcff; }
.metric-list div, .model-summary-row { border-top-color: #e8edf4; }
.status-chip { border-color: #bde7ce; background: #ecfdf3; color: #16824b; }
.model-summary-row > span { color: #3973df; }
.table-heading { margin-top: 26px; }
.task-table-wrap { border-color: #e3e9f2; border-radius: 10px; }
.task-table th { background: #f8faff; color: #8591a3; }
.task-table th, .task-table td { border-bottom-color: #edf1f6; padding: 12px 13px; }
.task-state { border-color: #dde5f0; background: #fafcff; }
.task-state.success, .task-state.completed { border-color: #bde7ce; background: #ecfdf3; color: #16824b; }
.task-state.failed, .task-state.error { border-color: #fecdd3; background: #fff1f2; color: #c0263e; }
.audit-list { border-top-color: #e8edf4; }
.audit-row { border-bottom-color: #e8edf4; }
.button { border-radius: 8px; transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.button.primary { background: linear-gradient(135deg, #3478ed, #285bd1); box-shadow: 0 6px 14px rgba(37, 99, 235, .18); }
.button.primary:hover { background: linear-gradient(135deg, #2b6fdf, #214fba); box-shadow: 0 8px 17px rgba(37, 99, 235, .24); transform: translateY(-1px); }
.button.subtle { border-color: #dfe6f1; background: #fff; color: #52627a; }
.button.subtle:hover { border-color: #bed2f7; background: #f5f8ff; color: #275dca; }
input, select, textarea { border-color: #d8e0ec; border-radius: 8px; padding: 10px 11px; background: #fff; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(59, 130, 246, .15); border-color: #5b8de9; }
.model-list { gap: 13px; }
.model-row { border-color: #e4eaf3; border-radius: 11px; padding: 14px; background: #fbfcff; }
.model-price { color: #245fd1; }
.endpoint-grid { border-color: #e4eaf3; border-radius: 10px; }
.endpoint-grid div { border-color: #e4eaf3; background: #fbfcff; }
.docs pre { border-radius: 10px; }
.auth-view { gap: 78px; }
.auth-panel { border-color: #e1e8f3; border-radius: 14px; box-shadow: 0 18px 42px rgba(38, 61, 103, .09); }
.auth-rail h2 { color: #1b2943; }
.auth-points strong { background: #edf4ff; color: #245fd1; }

@media (max-width: 900px) and (min-width: 681px) {
  .layout { width: min(100% - 32px, 1040px); }
  .console { grid-template-columns: 178px minmax(0, 1fr); column-gap: 16px; }
  .developer-nav { padding-inline: 7px; }
  .developer-nav-item { padding-inline: 8px; }
  .summary-grid, .usage-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .topbar { padding: 11px 17px; }
  .topbar-badge { display: none; }
  .layout { width: min(100% - 28px, 1040px); padding-top: 22px; }
  .console { display: block; }
  .developer-nav { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin-bottom: 17px; padding: 9px; }
  .developer-nav-heading, .developer-nav-label, .developer-nav-foot { display: none; }
  .developer-nav-group { display: contents; margin: 0; }
  .developer-nav-item { min-height: 36px; padding: 7px 8px; font-size: 11px; }
  .console-heading { margin-bottom: 17px; }
  .console > .dev-section { width: 100%; }
  .panel { padding: 18px; }
}
