/* Apply the reference's type, panels, and controls to the existing application flows. */
:root {
  --operation-surface: linear-gradient(180deg, #170e24, #0d0815);
  --operation-edge: #b6aec838;
  --operation-mono: 'JetBrains Mono', ui-monospace, monospace;
}

body { font-family: var(--font-ui); }
.auth-gate, .billing-gate {
  background:
    radial-gradient(ellipse at 80% 0%, #3b0a5c94, transparent 65%),
    #07050c;
}
:is(.auth-panel, .billing-panel, .modal-panel, .support-dialog, .exchange-dialog,
    .early-access-dialog, .hl-recovery-dialog, .signals-drawer, .account-menu-panel),
#personalReferralDialog {
  background: var(--operation-surface);
  border-color: var(--operation-edge);
  color: var(--ink);
}
:is(.auth-panel, .billing-panel, .modal-panel, .support-dialog,
    .exchange-dialog, .early-access-dialog, .hl-recovery-dialog) { border-radius: 18px; }

:is(.modal-kicker, .auth-kicker, .signals-kicker, .plan-fee-note, .onboarding-progress-step,
    .billing-owner, .form-status, .support-safety, .billing-promo-status) {
  font-family: var(--operation-mono);
  letter-spacing: .04em;
}
:is(.auth-panel, .billing-panel, .modal-panel, .support-dialog,
    .exchange-dialog, .early-access-dialog, .hl-recovery-dialog, .signals-drawer)
    :is(h1, h2, h3) {
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: -.025em;
}
:is(.auth-field, .field, .referral-copy-row) :is(input:not([type='checkbox'], [type='radio']), select),
.exchange-dialog input:is([type='text'], [type='email'], [type='password']),
.exchange-dialog select,
.early-access-dialog input:not([type='checkbox']) {
  background: #0b0712;
  border-color: #a494b467;
  color: var(--ink);
  border-radius: 10px;
}
:is(.modal-panel, .exchange-dialog, .signals-drawer, .support-dialog, .early-access-dialog,
    .billing-panel, .auth-panel) :is(.btn, .exchange-primary, .icon-btn) {
  border-radius: 10px;
}
:is(.btn.primary-btn, .exchange-dialog .exchange-primary, .early-access-dialog .btn.btn-primary) {
  background: #deec1b;
  border-color: #deec1b;
  color: #0b0712;
}
:is(.auth-tabs, .signals-tabs) .selection-surface { background: #b6aec821; }
:is(.auth-tab, .signals-tab) { font-family: var(--operation-mono); }
:is(.signal-card, .signals-empty, .billing-summary, .review-account, .plan-comparison .plan-column-free) {
  background-color: #0b0712;
  border-color: var(--operation-edge);
}
:is(.billing-summary, .review-account) { border-radius: 12px; }
.billing-summary > div { padding-inline: 12px; }
.plan-comparison thead th.plan-column-premium { background: #deec1b; color: #0b0712; }
.plan-comparison thead th.plan-column-free { background: #241634; color: var(--ink); }
.account-menu-panel .text-btn { font-family: var(--operation-mono); }
.auth-tabs button { outline-offset: 1px; }
.animas-past-performance body {
  padding-top: 0;
  background: transparent;
}
.animas-past-performance :is(.card, .chart-card, .kpi) {
  border: 1px solid var(--operation-edge);
  background: var(--operation-surface);
  border-radius: 18px;
}
