@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700;800&family=Montserrat:wght@600;700;800&display=swap');/* stylelint-disable */
html,
body {
  width: 100%;
  height: 100%;
}
input::-ms-clear,
input::-ms-reveal {
  display: none;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
@-ms-viewport {
  width: device-width;
}
body {
  margin: 0;
}
[tabindex='-1']:focus {
  outline: none;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5em;
  font-weight: 500;
}
p {
  margin-top: 0;
  margin-bottom: 1em;
}
abbr[title],
abbr[data-original-title] {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline;
  text-decoration: underline dotted;
  border-bottom: 0;
  cursor: help;
}
address {
  margin-bottom: 1em;
  font-style: normal;
  line-height: inherit;
}
input[type='text'],
input[type='password'],
input[type='number'],
textarea {
  -webkit-appearance: none;
}
ol,
ul,
dl {
  margin-top: 0;
  margin-bottom: 1em;
}
ol ol,
ul ul,
ol ul,
ul ol {
  margin-bottom: 0;
}
dt {
  font-weight: 500;
}
dd {
  margin-bottom: 0.5em;
  margin-left: 0;
}
blockquote {
  margin: 0 0 1em;
}
dfn {
  font-style: italic;
}
b,
strong {
  font-weight: bolder;
}
small {
  font-size: 80%;
}
sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
pre,
code,
kbd,
samp {
  font-size: 1em;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
}
pre {
  margin-top: 0;
  margin-bottom: 1em;
  overflow: auto;
}
figure {
  margin: 0 0 1em;
}
img {
  vertical-align: middle;
  border-style: none;
}
a,
area,
button,
[role='button'],
input:not([type='range']),
label,
select,
summary,
textarea {
  touch-action: manipulation;
}
table {
  border-collapse: collapse;
}
caption {
  padding-top: 0.75em;
  padding-bottom: 0.3em;
  text-align: left;
  caption-side: bottom;
}
input,
button,
select,
optgroup,
textarea {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
html [type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
}
button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
  padding: 0;
  border-style: none;
}
input[type='radio'],
input[type='checkbox'] {
  box-sizing: border-box;
  padding: 0;
}
input[type='date'],
input[type='time'],
input[type='datetime-local'],
input[type='month'] {
  -webkit-appearance: listbox;
}
textarea {
  overflow: auto;
  resize: vertical;
}
fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
legend {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-bottom: 0.5em;
  padding: 0;
  color: inherit;
  font-size: 1.5em;
  line-height: inherit;
  white-space: normal;
}
progress {
  vertical-align: baseline;
}
[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
  height: auto;
}
[type='search'] {
  outline-offset: -2px;
  -webkit-appearance: none;
}
[type='search']::-webkit-search-cancel-button,
[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}
output {
  display: inline-block;
}
summary {
  display: list-item;
}
template {
  display: none;
}
[hidden] {
  display: none !important;
}
mark {
  padding: 0.2em;
  background-color: #feffe6;
}


:root {
  --bg-base: #f4f5f7;
  --bg-soft: #ffffff;
  --panel: #ffffff;
  --subtle: #f8f8fa;
  --panel-border: rgba(18, 24, 32, 0.08);
  --text-main: #16181d;
  --text-muted: #666c78;
  --accent: #082d5f;
  --accent-dark: #082d5f;
  --accent-soft: rgba(204, 31, 47, 0.08);
  --shadow: 0 18px 48px rgba(18, 24, 32, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--text-main);
  background:
    linear-gradient(180deg, #ffffff 0, #ffffff 240px, var(--bg-base) 240px, var(--bg-base) 100%);
}

a {
  color: inherit;
}

#app {
  padding: 32px 20px 48px;
}

.page-shell {
  max-width: 1120px;
  margin: 0 auto;
}

.glass-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
}

.subtle-card {
  background: var(--subtle);
  border: 1px solid rgba(18, 24, 32, 0.06);
}

.brand-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  /*border-radius: 28px;*/
}

.brand-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 26px;
}

.brand-mark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-decoration: none;
}

.brand-mark-link {
  color: inherit;
}

.brand-logo {
  display: block;
  width: min(100%, 560px);
  height: auto;
}

.brand-program-label {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.brand-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.brand-nav a {
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
}

.brand-nav a.is-active,
.brand-nav a:hover {
  color: var(--accent);
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 24px;
  padding: 32px;
  /* border-radius: 28px; */
  margin-bottom: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 248, 250, 0.98));
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
}

.hero-card--bazis {
  position: relative;
  overflow: hidden;
}

.hero-card--bazis::after {
  content: '';
  position: absolute;
  inset: 0 0 0 auto;
  width: 120px;
  background: linear-gradient(180deg, rgba(204, 31, 47, 0.12), rgba(204, 31, 47, 0));
}

.hero-copy h1 {
  margin: 10px 0 12px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-copy p,
.section-header p,
.success-copy {
  color: var(--text-muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  /* border-radius: 999px; */
  background: rgba(18, 24, 32, 0.06);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eyebrow--red {
  background: var(--accent);
  color: #FFFFFF; /*var(--accent-soft);*/
}

.hero-badge,
.stat-tile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* border-radius: 24px; */
  padding: 24px;
  color: #fff;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
}

.hero-badge strong,
.stat-tile strong {
  font-size: 56px;
  line-height: 1;
}

.hero-badge--money strong {
  font-size: clamp(34px, 4vw, 48px);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  /* border-radius: 999px; */
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.hero-note {
  color: var(--text-muted);
  font-size: 14px;
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.section-header,
.admin-actions {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 8px;
}

.admin-search {
  margin-bottom: 18px;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.section-header h2,
.expanded-row h3 {
  margin: 0 0 6px;
  font-size: 24px;
}

.brand-info-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 18px;
  margin-bottom: 24px;
}

.brand-info-panel__copy,
.brand-info-panel__aside {
  padding: 24px 26px;
  /* border-radius: 24px; */
  background: #fff;
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
}

.brand-info-panel h2 {
  margin: 0 0 10px;
  font-size: 26px;
}

.conditions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.conditions-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text-main);
}

.conditions-list li + li {
  margin-top: 12px;
}

.referral-list,
.referral-preview-list,
.stats-grid {
  display: grid;
  gap: 16px;
}

.actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.success-copy {
  margin-top: 16px;
  font-size: 14px;
}

.admin-shell .hero-card {
  grid-template-columns: minmax(0, 1fr) 260px;
}

.stats-grid {
  align-content: start;
}

.expanded-row {
  padding: 8px 0;
}

.referral-preview-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  /* border-radius: 16px; */
  background: rgba(255, 255, 255, 0.72);
}

@media (max-width: 768px) {
  #app {
    padding: 18px 14px 32px;
  }

  .hero-card,
  .grid-two,
  .actions,
  .section-header,
  .admin-actions,
  .brand-header,
  .brand-info-panel,
  .conditions-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-card,
  .admin-shell .hero-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .hero-badge strong,
  .stat-tile strong {
    font-size: 40px;
  }

  .referral-preview-item {
    flex-direction: column;
  }

  .brand-nav {
    gap: 10px;
  }

  .brand-logo {
    width: min(100%, 420px);
  }
}
