* {
  box-sizing: border-box;
}

body.local-auth-body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter var, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #101828;
  background: #f5f7f6;
}

.local-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.local-topbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 32px;
  border-bottom: 1px solid #dfe7e2;
  background: #fff;
}

.local-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #0f3d2e;
  font-weight: 800;
}

.local-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.local-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.local-main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
}

.local-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  gap: 32px;
  align-items: stretch;
}

.local-panel,
.local-card {
  background: #fff;
  border: 1px solid #dfe7e2;
  border-radius: 8px;
  box-shadow: 0 14px 40px rgba(16, 24, 40, 0.08);
}

.local-panel {
  padding: 36px;
}

.local-card {
  padding: 28px;
}

.local-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #0f5132;
  background: #dff5e8;
  font-size: 13px;
  font-weight: 700;
}

.local-title {
  margin: 18px 0 10px;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: 0;
}

.local-copy {
  margin: 0;
  color: #52605a;
  font-size: 16px;
  line-height: 1.6;
}

.local-notice {
  margin-top: 24px;
  padding: 14px 16px;
  border: 1px solid #bfd8ca;
  border-radius: 8px;
  background: #f0faf4;
  color: #22513d;
  line-height: 1.45;
}

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

.local-tab,
.local-button,
.local-link-button {
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid #cfdad4;
  background: #fff;
  color: #1d3028;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.local-tab.is-active,
.local-button {
  border-color: #11824f;
  background: #11824f;
  color: #fff;
}

.local-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  text-decoration: none;
}

.local-button {
  width: 100%;
}

.local-button:hover,
.local-link-button:hover,
.local-tab:hover {
  filter: brightness(0.97);
}

.local-field {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

.local-field label {
  font-size: 14px;
  font-weight: 700;
  color: #34463e;
}

.local-field input,
.local-field select,
.local-field textarea {
  width: 100%;
  border: 1px solid #cad6d0;
  border-radius: 8px;
  padding: 0 13px;
  font: inherit;
  color: #101828;
  background: #fff;
}

.local-field input,
.local-field select {
  height: 46px;
}

.local-field textarea {
  min-height: 104px;
  padding-top: 12px;
  resize: vertical;
}

.local-field input:focus,
.local-field select:focus,
.local-field textarea:focus {
  outline: 2px solid rgba(17, 130, 79, 0.18);
  border-color: #11824f;
}

.local-error {
  min-height: 22px;
  margin: 0 0 12px;
  color: #b42318;
  font-size: 14px;
  line-height: 1.45;
}

.local-muted {
  color: #66756f;
  font-size: 14px;
}

.local-form-intro {
  margin: 0 0 18px;
  color: #52605a;
  font-size: 14px;
  line-height: 1.55;
}

.local-request-graphic {
  position: relative;
  margin: 26px 0;
  padding: 22px;
  border: 1px solid #dfe7e2;
  border-radius: 8px;
  background: #f6faf8;
}

.local-request-window {
  border: 1px solid #d7e2dc;
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.08);
}

.local-request-window-head {
  display: flex;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e3eae6;
}

.local-request-window-head span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #cfdad4;
}

.local-request-window-head span:first-child {
  background: #11824f;
}

.local-request-line {
  width: 68%;
  height: 12px;
  margin-top: 14px;
  border-radius: 999px;
  background: #dfe7e2;
}

.local-request-line.is-wide {
  width: 100%;
}

.local-request-line.is-short {
  width: 44%;
}

.local-request-chart {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 8px;
  height: 92px;
  margin-top: 18px;
}

.local-request-chart i {
  display: block;
  border-radius: 6px 6px 0 0;
  background: #11824f;
}

.local-request-chart i:nth-child(1) { height: 46%; opacity: 0.55; }
.local-request-chart i:nth-child(2) { height: 64%; opacity: 0.7; }
.local-request-chart i:nth-child(3) { height: 52%; opacity: 0.8; }
.local-request-chart i:nth-child(4) { height: 84%; opacity: 1; }

.local-request-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #11824f;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.local-info-grid,
.local-confirm-grid {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.local-info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.local-confirm-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 22px;
}

.local-info-grid article,
.local-confirm-grid article {
  border: 1px solid #dfe7e2;
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.local-info-grid strong,
.local-confirm-grid strong {
  display: block;
  color: #101828;
  font-size: 14px;
}

.local-info-grid span,
.local-confirm-grid span {
  display: block;
  margin-top: 6px;
  color: #66756f;
  font-size: 13px;
  line-height: 1.45;
}

.local-confirm-card {
  max-width: 920px;
  margin: 0 auto;
}

.local-dashboard {
  display: grid;
  gap: 18px;
}

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

.local-stat {
  padding: 18px;
  border: 1px solid #dfe7e2;
  border-radius: 8px;
  background: #fff;
}

.local-stat span {
  display: block;
  color: #66756f;
  font-size: 13px;
  margin-bottom: 8px;
}

.local-stat strong {
  font-size: 24px;
  color: #101828;
}

.local-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.local-table th,
.local-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #e6ece8;
  text-align: left;
}

.local-table th {
  color: #66756f;
  font-size: 13px;
}

.local-positive {
  color: #11824f;
  font-weight: 700;
}

.ff-enrich {
  background: #fff;
  border-top: 1px solid #e3eae6;
  font-family: Inter var, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #101828;
}

.ff-header-pages {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  width: min(1120px, calc(100% - 32px));
  margin: 8px auto 0;
  padding-top: 10px;
  border-top: 1px solid #e3eae6;
  font-family: Inter var, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ff-header-pages a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #dfe7e2;
  border-radius: 8px;
  color: #1d3028;
  background: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.ff-header-pages a:hover {
  border-color: #11824f;
  color: #0f5132;
  background: #f0faf4;
}

.ff-page {
  min-height: 100vh;
  background: #fff;
  color: #101828;
  font-family: Inter var, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ff-page__header {
  border-bottom: 1px solid #e3eae6;
  background: #fff;
}

.ff-page__header-inner,
.ff-page__main,
.ff-page__footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.ff-page__header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.ff-page__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0f3d2e;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.ff-page__brand img {
  width: 34px;
  height: 34px;
}

.ff-page__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.ff-page__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #dfe7e2;
  border-radius: 8px;
  color: #1d3028;
  background: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.ff-page__nav a:hover,
.ff-page__nav a.is-active {
  border-color: #11824f;
  color: #0f5132;
  background: #f0faf4;
}

.ff-page__lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  padding-left: 8px;
  border-left: 1px solid #dfe7e2;
}

.ff-page__lang a {
  min-width: 34px;
  justify-content: center;
  padding: 0 9px;
}

.ff-page__main {
  padding: 54px 0 68px;
}

.ff-page__eyebrow {
  margin: 0 0 12px;
  color: #11824f;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.ff-page h1 {
  max-width: 820px;
  margin: 0;
  color: #101828;
  font-size: 48px;
  line-height: 1.05;
  font-weight: 800;
}

.ff-page__lead {
  max-width: 860px;
  margin: 18px 0 0;
  color: #52605a;
  font-size: 19px;
  line-height: 1.6;
}

.ff-page__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.ff-page__grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ff-page__card,
.ff-page__note {
  border: 1px solid #dfe7e2;
  border-radius: 8px;
  background: #fbfcfb;
  padding: 24px;
}

.ff-page__card h2,
.ff-page__note h2 {
  margin: 0;
  color: #101828;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
}

.ff-page__card p,
.ff-page__note p,
.ff-page__card li {
  color: #52605a;
  line-height: 1.6;
}

.ff-page__card p,
.ff-page__note p {
  margin: 10px 0 0;
}

.ff-page__card ul,
.ff-page__card ol {
  margin: 14px 0 0;
  padding-left: 20px;
}

.ff-page__footer {
  border-top: 1px solid #e3eae6;
  background: #f8faf9;
}

.ff-page__footer-inner {
  padding: 24px 0;
  color: #66756f;
  font-size: 14px;
}

.ff-enrich__wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.ff-enrich__intro {
  max-width: 780px;
}

.ff-enrich__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 36px;
  align-items: center;
}

.ff-enrich__kicker {
  margin: 0 0 12px;
  color: #11824f;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ff-enrich h1,
.ff-enrich h2,
.ff-enrich p {
  margin: 0;
}

.ff-enrich h1 {
  font-size: 46px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
}

.ff-enrich__intro p {
  margin-top: 18px;
  color: #52605a;
  font-size: 18px;
  line-height: 1.6;
}

.ff-enrich__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ff-enrich__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #11824f;
  border-radius: 8px;
  background: #11824f;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.ff-enrich__button--light {
  border-color: #cfdad4;
  background: #fff;
  color: #1d3028;
}

.ff-enrich__screen {
  border: 1px solid #dfe7e2;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f5faf7 100%);
  box-shadow: 0 18px 55px rgba(16, 24, 40, 0.10);
  padding: 18px;
}

.ff-enrich__screen-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e2ebe6;
}

.ff-enrich__screen-head span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #cfdad4;
}

.ff-enrich__screen-head span:first-child {
  background: #11824f;
}

.ff-enrich__screen-head strong {
  margin-left: auto;
  color: #66756f;
  font-size: 13px;
}

.ff-enrich__market-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #e2ebe6;
  border-radius: 8px;
  background: #fff;
}

.ff-enrich__market-row span {
  color: #11824f;
  font-weight: 800;
}

.ff-enrich__market-row strong {
  color: #101828;
}

.ff-enrich__market-row em {
  color: #66756f;
  font-size: 13px;
  font-style: normal;
}

.ff-enrich__chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 8px;
  height: 150px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 8px;
  background: #eef8f2;
}

.ff-enrich__chart i {
  display: block;
  border-radius: 6px 6px 0 0;
  background: #11824f;
}

.ff-enrich__chart i:nth-child(1) { height: 42%; opacity: 0.55; }
.ff-enrich__chart i:nth-child(2) { height: 58%; opacity: 0.65; }
.ff-enrich__chart i:nth-child(3) { height: 48%; opacity: 0.72; }
.ff-enrich__chart i:nth-child(4) { height: 72%; opacity: 0.78; }
.ff-enrich__chart i:nth-child(5) { height: 62%; opacity: 0.88; }
.ff-enrich__chart i:nth-child(6) { height: 86%; opacity: 1; }

.ff-enrich__facts,
.ff-enrich__grid,
.ff-enrich__split {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

.ff-enrich__facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ff-enrich__grid,
.ff-enrich__split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ff-enrich__grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ff-enrich article,
.ff-enrich__split section,
.ff-enrich__risk > div,
.ff-enrich__faq,
.ff-enrich__docs {
  border: 1px solid #dfe7e2;
  border-radius: 8px;
  background: #fbfcfb;
  padding: 24px;
}

.ff-enrich__facts span {
  display: block;
  margin-bottom: 8px;
  color: #66756f;
  font-size: 13px;
  font-weight: 700;
}

.ff-enrich__facts strong {
  display: block;
  color: #101828;
  font-size: 20px;
  line-height: 1.25;
}

.ff-enrich h2 {
  color: #101828;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
}

.ff-enrich article p,
.ff-enrich__split p,
.ff-enrich__facts p {
  margin-top: 10px;
  color: #52605a;
  line-height: 1.6;
}

.ff-enrich__split ol {
  margin: 14px 0 0;
  padding-left: 20px;
  color: #52605a;
  line-height: 1.6;
}

.ff-enrich__split li + li {
  margin-top: 8px;
}

.ff-enrich__media {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-top: 36px;
  padding: 28px;
  border: 1px solid #dfe7e2;
  border-radius: 8px;
  background: #f6faf8;
}

.ff-enrich__media img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
}

.ff-enrich__media p {
  margin-top: 12px;
  color: #52605a;
  line-height: 1.6;
}

.ff-enrich__risk {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.ff-enrich__risk strong {
  display: block;
  color: #101828;
  font-size: 18px;
}

.ff-enrich__risk p {
  margin-top: 8px;
  color: #52605a;
  line-height: 1.6;
}

.ff-enrich__docs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.ff-enrich__docs h2 {
  width: 100%;
}

.ff-enrich__docs a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #cfdad4;
  border-radius: 8px;
  color: #1d3028;
  background: #fff;
  font-weight: 700;
  text-decoration: none;
}

.ff-enrich__faq {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.ff-enrich__faq h3 {
  margin: 0;
  color: #101828;
  font-size: 18px;
  font-weight: 800;
}

.ff-enrich__faq p {
  margin-top: 8px;
  color: #52605a;
  line-height: 1.6;
}

@media (max-width: 820px) {
  .local-topbar {
    height: auto;
    align-items: flex-start;
    padding: 18px;
    flex-direction: column;
  }

  .local-grid,
  .local-stats,
  .local-info-grid,
  .local-confirm-grid,
  .ff-enrich__hero,
  .ff-enrich__facts,
  .ff-enrich__grid,
  .ff-enrich__grid--three,
  .ff-enrich__split,
  .ff-enrich__media,
  .ff-enrich__risk {
    grid-template-columns: 1fr;
  }

  .local-panel,
  .local-card {
    padding: 22px;
  }

  .local-title {
    font-size: 32px;
  }

  .ff-enrich__wrap {
    padding: 42px 0;
  }

  .ff-enrich h1 {
    font-size: 34px;
  }

  .ff-header-pages {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .ff-header-pages a {
    white-space: nowrap;
  }

  .ff-page__header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .ff-page__nav {
    justify-content: flex-start;
  }

  .ff-page h1 {
    font-size: 34px;
  }

  .ff-page__grid,
  .ff-page__grid--three {
    grid-template-columns: 1fr;
  }
}
