/* Generated from console-polish.template.css by tools/build-console-polish.mjs; edit the template.
   the usage page's design language on customer console pages. */

/* ---------- Tokens (light, then the console-night palette) ---------- */
.app-shell.agy-console-shell.agy-board-shell:not(#cn-polish):has(> .agy-board-main > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page)) {
  --cn-ink: #111; --cn-ink-2: #2b3230; --cn-muted: #6b7370; --cn-faint: #99a19e;
  --cn-line: #e8ecea; --cn-line-2: #dce2df; --cn-soft: #f5f7f6; --cn-soft-2: #eef2f0; --cn-panel: #fff; --cn-hover: #f7faf9;
  --cn-teal: #1d6f65; --cn-teal-strong: #12554d; --cn-teal-soft: #ebf4f1; --cn-danger: #a33c3c; --cn-danger-soft: #fbf0ef;
  --cn-primary: #111; --cn-primary-hover: #29302d; --cn-primary-fg: #fff;
  --cn-card: 0 22px 54px rgba(17, 24, 39, .06), 0 3px 12px rgba(17, 24, 39, .035);
  --cn-card-hover: 0 30px 70px rgba(17, 24, 39, .09), 0 6px 18px rgba(17, 24, 39, .05);
  --cn-control: 0 .5px 1px rgba(17, 24, 39, .07), 0 2px 5px rgba(17, 24, 39, .045), 0 8px 22px rgba(17, 24, 39, .05);
  --cn-control-hover: 0 1px 2px rgba(17, 24, 39, .08), 0 5px 12px rgba(17, 24, 39, .06), 0 14px 32px rgba(17, 24, 39, .08);
  --cn-well: inset 0 1px 2px rgba(17, 24, 39, .08), inset 0 0 1px rgba(17, 24, 39, .05);
  --cn-pop: 0 26px 64px rgba(17, 24, 39, .16), 0 4px 14px rgba(17, 24, 39, .06);
  --cn-ring: 0 0 0 3px rgba(29, 111, 101, .16), 0 1px 2px rgba(29, 111, 101, .16), 0 10px 26px rgba(29, 111, 101, .14);
  --cn-primary-shadow: 0 8px 20px rgba(17, 24, 39, .16);
  --cn-primary-shadow-hover: 0 12px 26px rgba(17, 24, 39, .2);
  --cn-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --cn-ease: cubic-bezier(.22, 1, .36, 1); --cn-ease-io: cubic-bezier(.65, 0, .35, 1);
}
html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell:not(#cn-polish):has(> .agy-board-main > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page)) {
  --cn-ink: #e6e6e6; --cn-ink-2: #d5d5d5; --cn-muted: #a0a0a0; --cn-faint: #767676;
  --cn-line: #363636; --cn-line-2: #414141; --cn-soft: #2b2b2b; --cn-soft-2: #303030; --cn-panel: #242424; --cn-hover: #2a2a2a;
  --cn-teal: #76b9a2; --cn-teal-strong: #9ad1bd; --cn-teal-soft: rgba(118, 185, 162, .12); --cn-danger: #e9a19d; --cn-danger-soft: rgba(233, 161, 157, .12);
  --cn-primary: #d2d2d2; --cn-primary-hover: #e6e6e6; --cn-primary-fg: #222;
  --cn-card: 0 18px 46px rgba(0, 0, 0, .3), 0 3px 10px rgba(0, 0, 0, .18);
  --cn-card-hover: 0 24px 56px rgba(0, 0, 0, .4), 0 5px 14px rgba(0, 0, 0, .24);
  --cn-control: inset 0 1px 0 rgba(255, 255, 255, .035), 0 1px 2px rgba(0, 0, 0, .36), 0 6px 18px rgba(0, 0, 0, .26);
  --cn-control-hover: inset 0 1px 0 rgba(255, 255, 255, .05), 0 2px 4px rgba(0, 0, 0, .4), 0 12px 30px rgba(0, 0, 0, .34);
  --cn-well: inset 0 1px 3px rgba(0, 0, 0, .42), inset 0 0 1px rgba(0, 0, 0, .3);
  --cn-pop: 0 26px 64px rgba(0, 0, 0, .5), 0 4px 14px rgba(0, 0, 0, .3);
  --cn-ring: 0 0 0 3px rgba(118, 185, 162, .2), 0 10px 26px rgba(0, 0, 0, .32);
  --cn-primary-shadow: 0 6px 18px rgba(0, 0, 0, .35); --cn-primary-shadow-hover: 0 10px 24px rgba(0, 0, 0, .45);
}

/* ---------- Typography ---------- */
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) { font-family: var(--cn-font); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) h1 { font-weight: 500 !important; letter-spacing: -.01em !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(h2, h3) { font-weight: 560 !important; letter-spacing: 0 !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.card-title h2, .keys-table-toolbar h2, .security-admin-section-heading h2, .network-management__card-header h2, .wallet-recharge-title h2) { font-size: 18px !important; line-height: 1.35 !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.eyebrow, [class$="-eyebrow"], .signature-error-scope-kicker) { color: var(--cn-teal) !important; font-size: 11px !important; font-weight: 600 !important; letter-spacing: .08em !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.dashboard-section-card, .upstream-status-card, .invite-balance-card, .wallet-policy-card) :is(strong, .value) { font-weight: 540 !important; letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .wallet-balance-only strong { color: var(--cn-teal) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.field-row, .signature-error-control-label, .security-admin-search > label) { color: var(--cn-muted) !important; font-size: 12px !important; font-weight: 500 !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .field-row :is(input, select, textarea) { font-size: 13px !important; font-weight: 400 !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) table :is(strong, b) { font-weight: 550 !important; }

/* Tutorial directory headings align with their links without decorative icons. */
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .tutorial-directory-group { display: block !important; padding-inline: 14px !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .tutorial-directory-group > svg { display: none !important; }

/* ---------- Surfaces: square, borderless, shadow-defined ---------- */
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.dashboard-card, .dashboard-section-card, .dashboard-notification-center, .upstream-status-card, .keys-table-card, .keys-lines-card,
  .security-admin-network, .security-admin-summary, .signature-error-command-strip, .signature-error-summary,
  .signature-error-account-coverage, .signature-error-readout, .tutorial-intro-band, .tutorial-requirements, .tutorial-start-band, .tutorial-support-band) {
  border: 0 !important; border-radius: 0 !important; background-color: var(--cn-panel) !important; background-image: none !important; box-shadow: var(--cn-card) !important;
}
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .security-admin-network::before, .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .security-admin-network::after { display: none !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.dashboard-section-card, .upstream-status-card, .security-admin-network) { transition: box-shadow 280ms var(--cn-ease), translate 280ms var(--cn-ease) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.dashboard-section-card, .upstream-status-card, .security-admin-network):hover { box-shadow: var(--cn-card-hover) !important; translate: 0 -2px; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.security-admin-network-policy, .network-management__effect, .metric-row, .setup-row, .mini-metric-list > *, .signature-error-readout-facts > *, .wallet-method-option) {
  border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
}
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.security-admin-network-policy, .network-management__effect, .metric-row, .setup-row) { background-color: var(--cn-soft) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .security-admin-summary { padding-block: 18px !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .security-admin-summary-metric { border-color: var(--cn-line) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .security-admin-summary-metric.is-attention strong { color: var(--cn-danger) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .security-admin-network-error { border: 0 !important; border-radius: 0 !important; background: var(--cn-soft-2) !important; color: var(--cn-ink-2) !important; box-shadow: none !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .security-admin-network-error svg { color: var(--cn-muted) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .security-admin-network-mark { border: 0 !important; border-radius: 0 !important; background: var(--cn-teal-soft) !important; box-shadow: none !important; }

/* ---------- Buttons ---------- */
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.primary-button, .keys-create-button, .wallet-pay-button, .key-report-submit, .security-admin-search button[type="submit"]) {
  border: 0 !important; border-radius: 0 !important; background: var(--cn-primary) !important; color: var(--cn-primary-fg) !important; box-shadow: var(--cn-primary-shadow) !important;
  font-weight: 500 !important; letter-spacing: 0 !important; cursor: pointer;
  transition: background-color 140ms ease, box-shadow 240ms var(--cn-ease), scale 140ms ease, opacity 240ms ease !important;
}
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.primary-button, .keys-create-button, .wallet-pay-button, .key-report-submit, .security-admin-search button[type="submit"]):hover:not(:disabled) { background: var(--cn-primary-hover) !important; box-shadow: var(--cn-primary-shadow-hover) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.secondary-button, .icon-button, .keys-icon-button, .security-admin-icon-button, .key-report-trigger, .key-report-cancel) {
  border: 0 !important; border-radius: 0 !important; background: var(--cn-panel) !important; color: var(--cn-ink) !important; box-shadow: var(--cn-control) !important;
  font-weight: 500 !important; cursor: pointer; transition: box-shadow 240ms var(--cn-ease), scale 140ms ease, opacity 240ms ease, color 140ms ease !important;
}
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.secondary-button, .icon-button, .keys-icon-button, .security-admin-icon-button, .key-report-trigger, .key-report-cancel):hover:not(:disabled) { box-shadow: var(--cn-control-hover) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.primary-button, .keys-create-button, .wallet-pay-button, .key-report-submit, .secondary-button, .icon-button, .keys-icon-button, .security-admin-icon-button, .security-admin-search button):disabled { opacity: .4 !important; box-shadow: none !important; cursor: default !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.primary-button, .keys-create-button, .wallet-pay-button, .key-report-submit, .security-admin-search button):disabled { opacity: 1 !important; background: var(--cn-soft-2) !important; color: var(--cn-faint) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.secondary-button, .icon-button, .keys-icon-button, .security-admin-icon-button):disabled { background: var(--cn-soft) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .signature-error-search .icon-button, .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .keys-action-icons button { background: transparent !important; box-shadow: none !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .keys-action-icons button { --hover-sweep-color: var(--cn-ink) !important; border: 0 !important; border-radius: 0 !important; transition: background-color 140ms ease, color 140ms ease, scale 140ms ease !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .keys-action-icons button:is(:hover, :focus-visible):not(:disabled) { background: var(--cn-soft) !important; color: var(--cn-ink) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .keys-action-icons .danger button, .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .keys-action-icons button.danger { --hover-sweep-color: var(--cn-danger) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .keys-action-icons .danger button:is(:hover, :focus-visible):not(:disabled), .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .keys-action-icons button.danger:is(:hover, :focus-visible):not(:disabled) { background: var(--cn-danger-soft) !important; color: var(--cn-danger) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(button, [role="button"], .recharge-amount-card) { transition-property: background-color, color, box-shadow, opacity, scale, translate; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(button, [role="button"], .recharge-amount-card):active:not(:disabled) { scale: .97; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .text-button { color: var(--cn-teal) !important; background: transparent !important; box-shadow: none !important; border: 0 !important; transition: color 140ms ease !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .text-button:hover:not(:disabled) { color: var(--cn-teal-strong) !important; }

/* ---------- Fields: raised, borderless, glow on focus ---------- */
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"], [type="color"], [type="hidden"]), select, textarea):not(:is(.keys-search-box, .security-admin-search, .signature-error-search, .recharge-custom-card) *) {
  border: 0 !important; border-radius: 0 !important; background-color: var(--cn-panel) !important; color: var(--cn-ink) !important; box-shadow: var(--cn-control) !important;
  font-family: var(--cn-font) !important; outline: none !important; transition: box-shadow 240ms var(--cn-ease), background-color 240ms ease !important;
}
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"], [type="color"], [type="hidden"]), select):not(:is(.keys-search-box, .security-admin-search, .signature-error-search, .recharge-custom-card) *) { min-height: 40px; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(input, select, textarea):not(:is(.keys-search-box, .security-admin-search, .signature-error-search, .recharge-custom-card) *):hover:not(:focus):not(:disabled) { box-shadow: var(--cn-control-hover) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(input, select, textarea):not(:is(.keys-search-box, .security-admin-search, .signature-error-search, .recharge-custom-card) *):focus { box-shadow: var(--cn-ring) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(input, textarea)::placeholder { color: var(--cn-faint) !important; opacity: 1; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) select:not(:is(.keys-search-box, .security-admin-search, .signature-error-search) *) {
  -webkit-appearance: none !important; appearance: none !important; padding-right: 34px !important; cursor: pointer;
  background-image: linear-gradient(45deg, transparent calc(50% - .8px), var(--cn-muted) calc(50% - .8px), var(--cn-muted) calc(50% + .8px), transparent calc(50% + .8px)), linear-gradient(135deg, transparent calc(50% - .8px), var(--cn-muted) calc(50% - .8px), var(--cn-muted) calc(50% + .8px), transparent calc(50% + .8px)) !important;
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50% !important; background-size: 6px 6px, 6px 6px !important; background-repeat: no-repeat !important;
}
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.keys-search-box, .security-admin-search > div, .signature-error-search) {
  border: 0 !important; border-radius: 0 !important; background: var(--cn-panel) !important; box-shadow: var(--cn-control) !important; transition: box-shadow 240ms var(--cn-ease) !important;
}
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.keys-search-box, .security-admin-search > div, .signature-error-search):hover { box-shadow: var(--cn-control-hover) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.keys-search-box, .security-admin-search > div, .signature-error-search):focus-within { box-shadow: var(--cn-ring) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.keys-search-box, .security-admin-search, .signature-error-search, .recharge-custom-card) :is(input, select) { border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; outline: none !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) input[type="checkbox"]:not([role="switch"]) {
  display: inline-grid !important; flex: 0 0 auto; place-content: center; width: 16px !important; height: 16px !important; min-height: 0 !important; margin: 0 6px 0 0 !important; padding: 0 !important;
  border: 0 !important; border-radius: 0 !important; background: var(--cn-soft-2) !important; box-shadow: var(--cn-well) !important; vertical-align: -3px; cursor: pointer;
  -webkit-appearance: none !important; appearance: none !important; transition: background-color 140ms ease, box-shadow 240ms ease !important;
}
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) input[type="checkbox"]:not([role="switch"])::before {
  content: ""; width: 8px; height: 4px; border-bottom: 2px solid var(--cn-panel); border-left: 2px solid var(--cn-panel);
  opacity: 0; filter: blur(2px); transform: translateY(-1px) rotate(-45deg) scale(.4); transition: opacity 140ms ease, transform 240ms var(--cn-ease), filter 240ms var(--cn-ease);
}
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) input[type="checkbox"]:not([role="switch"]):checked { background: var(--cn-teal) !important; box-shadow: 0 1px 2px rgba(29, 111, 101, .3), 0 3px 8px rgba(29, 111, 101, .22) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) input[type="checkbox"]:not([role="switch"]):checked::before { opacity: 1; filter: none; transform: translateY(-1px) rotate(-45deg) scale(1); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) input[type="checkbox"]:not([role="switch"]):focus-visible { outline: none !important; box-shadow: var(--cn-well), 0 0 0 3px rgba(29, 111, 101, .2) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) input[role="switch"] { transition: background-color 240ms var(--cn-ease), box-shadow 240ms var(--cn-ease) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) input[type="file"] { color: var(--cn-muted); font: inherit; font-size: 12px; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) input[type="file"]::file-selector-button {
  height: 32px; margin-right: 10px; padding: 0 12px; border: 0; border-radius: 0; background: var(--cn-panel); color: var(--cn-ink); box-shadow: var(--cn-control);
  font: inherit; font-size: 12px; font-weight: 500; cursor: pointer; transition: box-shadow 240ms var(--cn-ease);
}
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) input[type="file"]::file-selector-button:hover { box-shadow: var(--cn-control-hover); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .contact-qr-paste { border: 0 !important; border-radius: 0 !important; background: var(--cn-soft) !important; box-shadow: var(--cn-well) !important; transition: box-shadow 240ms var(--cn-ease), background-color 240ms ease !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .contact-qr-paste:is(:hover, :focus, :focus-within) { background: var(--cn-teal-soft) !important; outline: none !important; }

/* ---------- Segmented controls, pills and empty states ---------- */
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.segmented-control, .signature-error-breakdown-tabs) { display: inline-flex !important; flex-wrap: nowrap !important; gap: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: var(--cn-soft-2) !important; box-shadow: var(--cn-well) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.segmented-control, .signature-error-breakdown-tabs) button {
  height: 36px !important; min-height: 0 !important; margin: 0 !important; padding: 0 12px !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important;
  color: var(--cn-muted) !important; font-size: 13px !important; font-weight: 450 !important; line-height: 1 !important; white-space: nowrap; transition: background-color 240ms var(--cn-ease), color 240ms var(--cn-ease), box-shadow 240ms var(--cn-ease) !important;
}
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.segmented-control, .signature-error-breakdown-tabs) button:hover:not(.active) { color: var(--cn-ink) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.segmented-control, .signature-error-breakdown-tabs) button.active { background: var(--cn-primary) !important; color: var(--cn-primary-fg) !important; box-shadow: 0 6px 16px rgba(17, 24, 39, .16) !important; font-weight: 500 !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .signature-error-toolbar { display: flex !important; flex-wrap: wrap !important; align-items: flex-end !important; gap: 12px 14px !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .signature-error-toolbar > * { flex: 0 0 auto; min-width: 0; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .signature-error-toolbar > .signature-error-search { flex: 1 1 260px !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .status-pill { border: 0 !important; border-radius: 0 !important; background: var(--cn-teal-soft) !important; color: var(--cn-teal) !important; box-shadow: none !important; font-size: 12px !important; font-weight: 500 !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .status-pill.danger { background: var(--cn-danger-soft) !important; color: var(--cn-danger) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .status-pill.warning { background: var(--cn-soft-2) !important; color: var(--cn-ink-2) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.empty-state, .security-admin-empty, .dashboard-notification-empty, .signature-error-chart-empty) {
  border: 0 !important; border-radius: 0 !important; background-color: var(--cn-soft) !important; box-shadow: none !important; color: var(--cn-muted) !important;
  animation: cn-fade-up 420ms var(--cn-ease) backwards;
}

/* ---------- Tables ---------- */
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) table { border-collapse: separate !important; border-spacing: 0 !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) table th { height: 40px; border: 0 !important; background: var(--cn-soft) !important; color: var(--cn-muted) !important; box-shadow: none !important; font-size: 12px !important; font-weight: 500 !important; vertical-align: middle !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) table td { border: 0 !important; border-bottom: 1px solid var(--cn-line) !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; transition: background-color 140ms ease !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) table tbody tr { border: 0 !important; background: transparent !important; box-shadow: none !important; transform: none !important; animation: cn-row-in 380ms var(--cn-ease) backwards; animation-delay: calc(var(--cn-r, 0) * 22ms); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) table tbody tr:hover td { background: var(--cn-hover) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .promotion-row:not(.is-header) { transition: background-color 140ms ease !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .promotion-row:not(.is-header):hover { background: var(--cn-hover) !important; }

/* ---------- Shell: navigation, dialogs and popovers ---------- */
/* Top navigation keeps the captured styles and transitions. */
.app-shell.agy-console-shell.agy-board-shell:not(#cn-polish):has(> .agy-board-main > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page)) dialog[open] { animation: cn-pop-in 260ms var(--cn-ease) backwards; }
.app-shell.agy-console-shell.agy-board-shell:not(#cn-polish):has(> .agy-board-main > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page)) dialog::backdrop { background: rgba(17, 24, 39, .22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: cn-fade 220ms ease backwards; }
.app-shell.agy-console-shell.agy-board-shell:not(#cn-polish):has(> .agy-board-main > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page)) .keys-modal-backdrop { animation: cn-backdrop-in 240ms ease backwards; }
.app-shell.agy-console-shell.agy-board-shell:not(#cn-polish):has(> .agy-board-main > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page)) :is(.model-price-model-select-menu, .usage-model-hover-card) { animation: cn-pop-in 200ms var(--cn-ease) backwards; }

/* ---------- Entrances ---------- */
.app-shell.agy-console-shell.agy-board-shell:not(#cn-polish):has(> .agy-board-main > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page)) .model-pricing-page .model-price-row-shell,
.app-shell.agy-console-shell.agy-board-shell:not(#cn-polish):has(> .agy-board-main > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page)) .dashboard-card-wall-page :is(.dashboard-section-card, .dashboard-notification-center),
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.dashboard-card, .dashboard-section-card, .dashboard-notification-center, .upstream-status-card, .keys-table-card, .keys-lines-card, .security-admin-network,
  .security-admin-summary, .signature-error-command-strip, .signature-error-summary, .signature-error-account-coverage, .signature-error-readout,
  .recharge-amount-card, .recharge-custom-card, .tutorial-step-content) {
  animation: cn-rise 480ms var(--cn-ease) backwards; animation-delay: calc(var(--cn-i, 0) * 35ms);
}
.app-shell.agy-console-shell.agy-board-shell:not(#cn-polish):has(> .agy-board-main > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page)) .dashboard-card-wall-page .dashboard-channel-status-bar,
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.dashboard-channel-status-bar, .upstream-trend-bar) { transform-origin: 50% 100%; animation: cn-bar-rise 420ms var(--cn-ease) backwards; animation-delay: calc((sibling-index() - 1) * 3ms); }
.app-shell.agy-console-shell.agy-board-shell:not(#cn-polish):has(> .agy-board-main > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page)) .dashboard-card-wall-page .dashboard-notification-empty { animation: cn-fade-up 420ms var(--cn-ease) backwards; }

/* Follow the shell's signed route travel, including content arriving after loading.
   Direct loads have no direction. Nested content fades without adding another axis. */
@keyframes cn-rise {
  from { opacity: 0; filter: blur(4px); transform: translate3d(var(--agy-route-travel, 0px), 0, 0); }
  60% { opacity: 1; filter: blur(0); }
  to { opacity: 1; filter: none; transform: none; }
}
@keyframes cn-fade-up { from { opacity: 0; filter: blur(4px); } }
@keyframes cn-row-in { from { opacity: 0; } }
@keyframes cn-pop-in { from { opacity: 0; filter: blur(8px); transform: translateY(-6px) scale(.98); } }
@keyframes cn-fade { from { opacity: 0; } }
@keyframes cn-backdrop-in { from { opacity: 0; -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); } }
@keyframes cn-bar-rise { from { opacity: 0; transform: scaleY(0); } }

/* ---------- Page details ---------- */
/* Overview: preserve the captured pointer-following dots and entry hover sweep. */
/* Wallet: amount tiles are raised options; the chosen tile turns ink. */
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .recharge-amount-card { border: 0 !important; border-radius: 0 !important; background: var(--cn-panel) !important; box-shadow: var(--cn-control) !important; cursor: pointer;
  transition: box-shadow 260ms var(--cn-ease), background-color 200ms ease, color 200ms ease, translate 260ms var(--cn-ease), scale 140ms ease !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .recharge-amount-card:hover:not(.selected) { box-shadow: var(--cn-control-hover) !important; translate: 0 -1px; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .recharge-amount-card :is(span, small) { color: var(--cn-muted) !important; font-weight: 450 !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .recharge-amount-card strong { color: var(--cn-ink) !important; font-weight: 560 !important; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .recharge-amount-card.selected { background: var(--cn-primary) !important; box-shadow: var(--cn-primary-shadow) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .recharge-amount-card.selected :is(span, small, strong) { color: var(--cn-primary-fg) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .recharge-amount-card.selected :is(span, small) { opacity: .72; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .recharge-custom-card:focus-within { box-shadow: var(--cn-ring) !important; }
/* Invite: soft rows get real padding and calm labels. */
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.metric-row, .setup-row) { padding-inline: 16px !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.metric-row, .setup-row) > span { color: var(--cn-muted) !important; font-weight: 450 !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .metric-row strong { color: var(--cn-ink) !important; font-weight: 560 !important; font-variant-numeric: tabular-nums; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .setup-row + .setup-row { margin-top: 2px; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .setup-row code { border: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--cn-ink) !important; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important; font-size: 13px !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .invite-link-card > .secondary-button { margin-top: 14px !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .card-title > h2 + span { color: var(--cn-faint) !important; font-size: 11px !important; font-weight: 500 !important; letter-spacing: .06em !important; text-transform: uppercase; }
/* Grid tables (promotion, invitations, ledgers): headers and rows match real tables. */
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.promotion-row, .invite-table-row, .invite-event-row, .operator-balance-row, .operator-ledger-row) { padding-inline: 14px !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.promotion-row, .invite-table-row, .invite-event-row, .operator-balance-row, .operator-ledger-row).is-header { min-height: 40px; align-items: center; border: 0 !important; background: var(--cn-soft) !important; box-shadow: none !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.promotion-row, .invite-table-row, .invite-event-row, .operator-balance-row, .operator-ledger-row).is-header > * { color: var(--cn-muted) !important; font-size: 12px !important; font-weight: 500 !important; letter-spacing: 0 !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.promotion-row, .invite-table-row, .invite-event-row, .operator-balance-row, .operator-ledger-row):not(.is-header) { border: 0 !important; border-bottom: 1px solid var(--cn-line) !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; animation: cn-row-in 380ms var(--cn-ease) backwards; }

/* Dialogs: a frosted backdrop and raised option cards, matching the wallet tiles. */
.app-shell.agy-console-shell.agy-board-shell:not(#cn-polish):has(> .agy-board-main > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page)) :is(.keys-modal-backdrop, .staff-contact-modal-backdrop) { background-color: rgba(17, 24, 39, .3) !important; -webkit-backdrop-filter: blur(8px) saturate(115%) !important; backdrop-filter: blur(8px) saturate(115%) !important; }
.app-shell.agy-console-shell.agy-board-shell:not(#cn-polish):has(> .agy-board-main > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page)) .keys-modal { border: 0 !important; border-radius: 0 !important; box-shadow: var(--cn-pop) !important; animation: cn-pop-in 280ms var(--cn-ease) backwards; }
.app-shell.agy-console-shell.agy-board-shell:not(#cn-polish):has(> .agy-board-main > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page)) .keys-channel-card { border: 0 !important; border-radius: 0 !important; background: var(--cn-panel) !important; box-shadow: var(--cn-control) !important;
  transition: box-shadow 260ms var(--cn-ease), background-color 200ms ease, color 200ms ease, translate 260ms var(--cn-ease), scale 140ms ease !important; }
.app-shell.agy-console-shell.agy-board-shell:not(#cn-polish):has(> .agy-board-main > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page)) .keys-channel-card:hover:not(.is-selected) { box-shadow: var(--cn-control-hover) !important; translate: 0 -1px; }
.app-shell.agy-console-shell.agy-board-shell:not(#cn-polish):has(> .agy-board-main > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page)) .keys-channel-card.is-selected { background: var(--cn-primary) !important; box-shadow: var(--cn-primary-shadow) !important; }
/* ---------- Dark theme: the console-night layer recolours by tag with !important, so these rules join it ---------- */
@layer console-night {
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.dashboard-card, .dashboard-section-card, .dashboard-notification-center, .upstream-status-card, .keys-table-card, .keys-lines-card,
    .security-admin-network, .security-admin-summary, .signature-error-command-strip, .signature-error-summary, .signature-error-account-coverage, .signature-error-readout) {
    border-color: transparent !important; background-color: var(--cn-panel) !important; box-shadow: var(--cn-card) !important;
  }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.dashboard-section-card, .upstream-status-card, .security-admin-network):hover { box-shadow: var(--cn-card-hover) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.eyebrow, [class$="-eyebrow"], .signature-error-scope-kicker) { color: var(--cn-teal) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.primary-button, .keys-create-button, .wallet-pay-button, .key-report-submit, .security-admin-search button[type="submit"]) { background-color: var(--cn-primary) !important; color: var(--cn-primary-fg) !important; box-shadow: var(--cn-primary-shadow) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.primary-button, .keys-create-button, .wallet-pay-button, .key-report-submit):hover:not(:disabled) { background-color: var(--cn-primary-hover) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.primary-button, .keys-create-button, .wallet-pay-button, .key-report-submit, .security-admin-search button):disabled { background-color: var(--cn-soft-2) !important; color: var(--cn-faint) !important; box-shadow: none !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.secondary-button, .icon-button, .keys-icon-button, .security-admin-icon-button, .key-report-trigger, .key-report-cancel) { border-color: transparent !important; background-color: var(--cn-soft) !important; color: var(--cn-ink) !important; box-shadow: var(--cn-control) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.secondary-button, .icon-button, .keys-icon-button, .security-admin-icon-button, .key-report-trigger, .key-report-cancel):hover:not(:disabled) { box-shadow: var(--cn-control-hover) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.signature-error-search .icon-button, .keys-action-icons button) { background-color: transparent !important; box-shadow: none !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .keys-action-icons button { --hover-sweep-color: var(--cn-ink) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .keys-action-icons button:is(:hover, :focus-visible):not(:disabled) { background-color: var(--cn-soft-2) !important; color: var(--cn-ink) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .keys-action-icons .danger button, html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .keys-action-icons button.danger { --hover-sweep-color: var(--cn-danger) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .keys-action-icons .danger button:is(:hover, :focus-visible):not(:disabled), html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .keys-action-icons button.danger:is(:hover, :focus-visible):not(:disabled) { background-color: var(--cn-danger-soft) !important; color: var(--cn-danger) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"], [type="color"], [type="hidden"]), select, textarea):not(:is(.keys-search-box, .security-admin-search, .signature-error-search, .recharge-custom-card) *) {
    border-color: transparent !important; background-color: var(--cn-soft-2) !important; color: var(--cn-ink) !important; box-shadow: var(--cn-control) !important;
  }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(input, select, textarea):not(:is(.keys-search-box, .security-admin-search, .signature-error-search, .recharge-custom-card) *):focus { box-shadow: var(--cn-ring) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) select:not(:is(.keys-search-box, .security-admin-search, .signature-error-search) *) {
    background-image: linear-gradient(45deg, transparent calc(50% - .8px), var(--cn-muted) calc(50% - .8px), var(--cn-muted) calc(50% + .8px), transparent calc(50% + .8px)), linear-gradient(135deg, transparent calc(50% - .8px), var(--cn-muted) calc(50% - .8px), var(--cn-muted) calc(50% + .8px), transparent calc(50% + .8px)) !important;
    background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50% !important; background-size: 6px 6px, 6px 6px !important; background-repeat: no-repeat !important;
  }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.keys-search-box, .security-admin-search > div, .signature-error-search) { border-color: transparent !important; background-color: var(--cn-soft-2) !important; box-shadow: var(--cn-control) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.keys-search-box, .security-admin-search, .signature-error-search, .recharge-custom-card) :is(input, select) { background-color: transparent !important; box-shadow: none !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) input[type="checkbox"]:not([role="switch"]) { background-color: var(--cn-soft-2) !important; box-shadow: var(--cn-well) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) input[type="checkbox"]:not([role="switch"]):checked { background-color: var(--cn-teal) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.segmented-control, .signature-error-breakdown-tabs) { background-color: var(--cn-soft-2) !important; box-shadow: var(--cn-well) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.segmented-control, .signature-error-breakdown-tabs) button { background-color: transparent !important; color: var(--cn-muted) !important; box-shadow: none !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.segmented-control, .signature-error-breakdown-tabs) button.active { background-color: var(--cn-primary) !important; color: var(--cn-primary-fg) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .status-pill { background-color: var(--cn-teal-soft) !important; color: var(--cn-teal) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .status-pill.danger { background-color: var(--cn-danger-soft) !important; color: var(--cn-danger) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) table th { background-color: var(--cn-soft) !important; color: var(--cn-muted) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) table td { border-bottom-color: var(--cn-line) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.security-admin-network-error, .security-admin-network-policy, .network-management__effect, .metric-row, .setup-row) { background-color: var(--cn-soft) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .security-admin-summary-metric.is-attention strong { color: var(--cn-danger) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .wallet-balance-only strong { color: var(--cn-teal) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .recharge-amount-card { background-color: var(--cn-soft) !important; box-shadow: var(--cn-control) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .recharge-amount-card :is(span, small) { color: var(--cn-muted) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .recharge-amount-card strong { color: var(--cn-ink) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .recharge-amount-card.selected { background-color: var(--cn-primary) !important; box-shadow: var(--cn-primary-shadow) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) .recharge-amount-card.selected :is(span, small, strong) { color: var(--cn-primary-fg) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.metric-row, .setup-row) > span { color: var(--cn-muted) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.metric-row strong, .setup-row code) { background-color: transparent !important; color: var(--cn-ink) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.promotion-row, .invite-table-row, .invite-event-row, .operator-balance-row, .operator-ledger-row).is-header { background-color: var(--cn-soft) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.promotion-row, .invite-table-row, .invite-event-row, .operator-balance-row, .operator-ledger-row).is-header > * { color: var(--cn-muted) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page):not(.model-pricing-page, .dashboard-card-wall-page) :is(.promotion-row, .invite-table-row, .invite-event-row, .operator-balance-row, .operator-ledger-row):not(.is-header) { background-color: transparent !important; border-bottom-color: var(--cn-line) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell:not(#cn-polish):has(> .agy-board-main > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page)) :is(.keys-modal-backdrop, .staff-contact-modal-backdrop) { background-color: rgba(0, 0, 0, .42) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell:not(#cn-polish):has(> .agy-board-main > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page)) .keys-channel-card { background-color: var(--cn-soft) !important; box-shadow: var(--cn-control) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell:not(#cn-polish):has(> .agy-board-main > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page)) .keys-channel-card.is-selected { background-color: var(--cn-primary) !important; box-shadow: var(--cn-primary-shadow) !important; }
}

@media (prefers-reduced-motion: reduce) {
  .app-shell.agy-console-shell.agy-board-shell:not(#cn-polish):has(> .agy-board-main > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page)) *, .app-shell.agy-console-shell.agy-board-shell:not(#cn-polish):has(> .agy-board-main > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page)) *::before, .app-shell.agy-console-shell.agy-board-shell:not(#cn-polish):has(> .agy-board-main > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page)) *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
}

/* ---------- Index rules: stagger delays ---------- */
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page) :is(.dashboard-card, .dashboard-section-card, .dashboard-notification-center, .upstream-status-card, .keys-table-card, .keys-lines-card, .security-admin-network, .security-admin-summary, .model-price-row-shell, .signature-error-command-strip, .signature-error-summary, .signature-error-account-coverage, .signature-error-readout, .recharge-amount-card, .recharge-custom-card, .tutorial-step-content):nth-child(1) { --cn-i: 0; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page) :is(.dashboard-card, .dashboard-section-card, .dashboard-notification-center, .upstream-status-card, .keys-table-card, .keys-lines-card, .security-admin-network, .security-admin-summary, .model-price-row-shell, .signature-error-command-strip, .signature-error-summary, .signature-error-account-coverage, .signature-error-readout, .recharge-amount-card, .recharge-custom-card, .tutorial-step-content):nth-child(2) { --cn-i: 1; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page) :is(.dashboard-card, .dashboard-section-card, .dashboard-notification-center, .upstream-status-card, .keys-table-card, .keys-lines-card, .security-admin-network, .security-admin-summary, .model-price-row-shell, .signature-error-command-strip, .signature-error-summary, .signature-error-account-coverage, .signature-error-readout, .recharge-amount-card, .recharge-custom-card, .tutorial-step-content):nth-child(3) { --cn-i: 2; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page) :is(.dashboard-card, .dashboard-section-card, .dashboard-notification-center, .upstream-status-card, .keys-table-card, .keys-lines-card, .security-admin-network, .security-admin-summary, .model-price-row-shell, .signature-error-command-strip, .signature-error-summary, .signature-error-account-coverage, .signature-error-readout, .recharge-amount-card, .recharge-custom-card, .tutorial-step-content):nth-child(4) { --cn-i: 3; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page) :is(.dashboard-card, .dashboard-section-card, .dashboard-notification-center, .upstream-status-card, .keys-table-card, .keys-lines-card, .security-admin-network, .security-admin-summary, .model-price-row-shell, .signature-error-command-strip, .signature-error-summary, .signature-error-account-coverage, .signature-error-readout, .recharge-amount-card, .recharge-custom-card, .tutorial-step-content):nth-child(5) { --cn-i: 4; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page) :is(.dashboard-card, .dashboard-section-card, .dashboard-notification-center, .upstream-status-card, .keys-table-card, .keys-lines-card, .security-admin-network, .security-admin-summary, .model-price-row-shell, .signature-error-command-strip, .signature-error-summary, .signature-error-account-coverage, .signature-error-readout, .recharge-amount-card, .recharge-custom-card, .tutorial-step-content):nth-child(6) { --cn-i: 5; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page) :is(.dashboard-card, .dashboard-section-card, .dashboard-notification-center, .upstream-status-card, .keys-table-card, .keys-lines-card, .security-admin-network, .security-admin-summary, .model-price-row-shell, .signature-error-command-strip, .signature-error-summary, .signature-error-account-coverage, .signature-error-readout, .recharge-amount-card, .recharge-custom-card, .tutorial-step-content):nth-child(7) { --cn-i: 6; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page) :is(.dashboard-card, .dashboard-section-card, .dashboard-notification-center, .upstream-status-card, .keys-table-card, .keys-lines-card, .security-admin-network, .security-admin-summary, .model-price-row-shell, .signature-error-command-strip, .signature-error-summary, .signature-error-account-coverage, .signature-error-readout, .recharge-amount-card, .recharge-custom-card, .tutorial-step-content):nth-child(8) { --cn-i: 7; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page) :is(.dashboard-card, .dashboard-section-card, .dashboard-notification-center, .upstream-status-card, .keys-table-card, .keys-lines-card, .security-admin-network, .security-admin-summary, .model-price-row-shell, .signature-error-command-strip, .signature-error-summary, .signature-error-account-coverage, .signature-error-readout, .recharge-amount-card, .recharge-custom-card, .tutorial-step-content):nth-child(9) { --cn-i: 8; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page) :is(.dashboard-card, .dashboard-section-card, .dashboard-notification-center, .upstream-status-card, .keys-table-card, .keys-lines-card, .security-admin-network, .security-admin-summary, .model-price-row-shell, .signature-error-command-strip, .signature-error-summary, .signature-error-account-coverage, .signature-error-readout, .recharge-amount-card, .recharge-custom-card, .tutorial-step-content):nth-child(10) { --cn-i: 9; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page) :is(.dashboard-card, .dashboard-section-card, .dashboard-notification-center, .upstream-status-card, .keys-table-card, .keys-lines-card, .security-admin-network, .security-admin-summary, .model-price-row-shell, .signature-error-command-strip, .signature-error-summary, .signature-error-account-coverage, .signature-error-readout, .recharge-amount-card, .recharge-custom-card, .tutorial-step-content):nth-child(11) { --cn-i: 10; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page) :is(.dashboard-card, .dashboard-section-card, .dashboard-notification-center, .upstream-status-card, .keys-table-card, .keys-lines-card, .security-admin-network, .security-admin-summary, .model-price-row-shell, .signature-error-command-strip, .signature-error-summary, .signature-error-account-coverage, .signature-error-readout, .recharge-amount-card, .recharge-custom-card, .tutorial-step-content):nth-child(12) { --cn-i: 11; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page) :is(.dashboard-card, .dashboard-section-card, .dashboard-notification-center, .upstream-status-card, .keys-table-card, .keys-lines-card, .security-admin-network, .security-admin-summary, .model-price-row-shell, .signature-error-command-strip, .signature-error-summary, .signature-error-account-coverage, .signature-error-readout, .recharge-amount-card, .recharge-custom-card, .tutorial-step-content):nth-child(n+13) { --cn-i: 12; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page) table tbody tr:nth-child(1) { --cn-r: 0; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page) table tbody tr:nth-child(2) { --cn-r: 1; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page) table tbody tr:nth-child(3) { --cn-r: 2; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page) table tbody tr:nth-child(4) { --cn-r: 3; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page) table tbody tr:nth-child(5) { --cn-r: 4; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page) table tbody tr:nth-child(6) { --cn-r: 5; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page) table tbody tr:nth-child(7) { --cn-r: 6; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page) table tbody tr:nth-child(8) { --cn-r: 7; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page) table tbody tr:nth-child(9) { --cn-r: 8; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page) table tbody tr:nth-child(10) { --cn-r: 9; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page) table tbody tr:nth-child(11) { --cn-r: 10; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page) table tbody tr:nth-child(12) { --cn-r: 11; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page) table tbody tr:nth-child(13) { --cn-r: 12; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page) table tbody tr:nth-child(14) { --cn-r: 13; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main:not(#cn-polish) > :is(.dashboard-card-wall-page, .tutorial-page, .pricing-page, .keys-console-page, .usage-explorer-page, .upstream-status-page, .model-pricing-page, .invite-rewards-page, .install-guide-page, .codex-install-page):not(.usage-explorer-page, .referral-page) table tbody tr:nth-child(n+15) { --cn-r: 14; }
