@font-face {
  font-family: 'VelaSans';
  src: url('https://maybesmart.ru/assets/fonts/VelaSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'VelaSans';
  src: url('https://maybesmart.ru/assets/fonts/VelaSans-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'VelaSans';
  src: url('https://maybesmart.ru/assets/fonts/VelaSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ac-bg: #0b0d12;
  --ac-text: #eef0f6;
  --ac-muted: rgba(238, 240, 246, 0.62);
  --ac-accent: #8b7cff;
  --ac-border: rgba(255, 255, 255, 0.12);
}

*,
*::before,
*::after { box-sizing: border-box; }

html,
body.account-body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(139, 124, 255, 0.14), transparent 55%),
    var(--ac-bg);
  color: var(--ac-text);
  font-family: VelaSans, system-ui, sans-serif;
}

.ac-app {
  max-width: 760px;
  margin: 0 auto;
  padding: 16px 16px 48px;
}

.ac-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.ac-back,
.ac-demo {
  color: var(--ac-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--ac-border);
  background: rgba(18, 21, 29, 0.7);
}

.ac-brand {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4b8ff;
}

.ac-card {
  padding: 24px 20px 28px;
  border-radius: 20px;
  border: 1px solid var(--ac-border);
  background: rgba(14, 16, 24, 0.88);
}

.ac-title {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.15;
}

.ac-lead {
  margin: 0 0 22px;
  color: var(--ac-muted);
  font-size: 14px;
  line-height: 1.5;
}

.ac-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c4b8ff;
}

.ac-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}

.ac-tab,
.ac-btn {
  appearance: none;
  font-family: inherit;
  cursor: pointer;
}

.ac-tab {
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid var(--ac-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ac-text);
  font-weight: 700;
}

.ac-tab.is-active {
  background: linear-gradient(160deg, #8b7cff, #5c4fd4);
  border-color: transparent;
}

.ac-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ac-form label span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ac-muted);
}

.ac-form input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--ac-border);
  background: rgba(8, 10, 16, 0.7);
  color: var(--ac-text);
  font-family: inherit;
  font-size: 15px;
}

.ac-btn {
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(160deg, #8b7cff, #5c4fd4);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
}

.ac-btn--ghost {
  background: transparent;
  border: 1px solid var(--ac-border);
}

.ac-btn--small {
  min-height: 38px;
  font-size: 13px;
  padding: 0 12px;
}

.ac-btn--danger {
  background: transparent;
  border: 1px solid rgba(255, 92, 92, 0.35);
  color: #ff8a8a;
}

.ac-error {
  margin: 0;
  color: #ff8a8a;
  font-size: 13px;
}

.ac-hello {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.ac-actions {
  margin-bottom: 28px;
}

.ac-h2 {
  margin: 0 0 14px;
  font-size: 16px;
}

.ac-empty {
  color: var(--ac-muted);
  font-size: 14px;
}

.ac-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ac-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--ac-border);
  background: rgba(255, 255, 255, 0.03);
}

.ac-item h3 {
  margin: 0;
  font-size: 16px;
}

.ac-item p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--ac-muted);
}

.ac-item__sum {
  font-weight: 700;
  color: #c4b8ff;
  white-space: nowrap;
}

.ac-item__actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
}

@media (max-width: 560px) {
  .ac-hello {
    flex-direction: column;
  }
}
