:root {
  --bg: #f6f5f4;
  --surface: #ffffff;
  --surface-soft: #f4f6ff;
  --text: #212121;
  --text-muted: #615f5f;
  --text-footer: rgba(255, 255, 255, 0.6);
  --brand: #2f6e4d;
  --brand-hover: #285d41;
  --divider: #e6e0ec;
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-sm: 8px;
  --content-width: 1440px;
  --shadow-card: 0 0 2px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-soft: 0 10px 60px rgba(0, 0, 0, 0.1);
}

html {
  scrollbar-gutter: stable;
}

body {
  overflow-y: scroll;
}

.company-detail-layout {
  align-items: flex-start;
}

.tender-create-layout {
  display: grid;
  grid-template-columns: 204px minmax(0, 888px) 204px;
  gap: 24px;
  padding: 24px 40px 24px;
  align-items: start;
}

.tender-create-back-column {
  padding-top: 8px;
}

.tender-create-content {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.tender-create-summary {
  padding: 12px;
}

.tender-create-summary h1 {
  margin: 0 0 4px;
  color: var(--text);
  font: 600 28px/36px "Roboto Flex", sans-serif;
}

.tender-create-summary p {
  margin: 0;
  color: var(--text-muted);
  font: 400 12px/14px "Roboto Flex", sans-serif;
  letter-spacing: 0.3px;
}

.tender-create-card {
  padding: 16px;
}

.tender-create-form {
  display: grid;
  gap: 16px;
}

.tender-create-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.tender-create-date-grid {
  display: grid;
  grid-template-columns: 118px 118px;
  gap: 10px;
}

.tender-create-field {
  position: relative;
  display: grid;
  width: 100%;
}

.tender-create-field span {
  position: absolute;
  top: 7px;
  left: 10px;
  z-index: 1;
  color: #6f7893;
  font: 400 12px/16px "Source Sans Pro", sans-serif;
}

.tender-create-field input,
.tender-create-field select,
.tender-create-field-button {
  width: 100%;
  min-height: 56px;
  padding: 22px 36px 8px 10px;
  border: 2px solid #e0e0e0;
  border-bottom-color: #43d38b;
  border-radius: 4px;
  background: #fff;
  color: #282828;
  font: 400 18px/24px "Source Sans Pro", sans-serif;
  text-align: left;
}

.tender-create-field select {
  appearance: none;
}

.tender-create-field-button {
  display: block;
  cursor: pointer;
}

.tender-create-field-button strong {
  display: block;
  font: 400 18px/24px "Source Sans Pro", sans-serif;
  font-weight: 400;
  color: #282828;
}

.tender-create-field-select::after,
.tender-create-field-calendar::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 22px;
}

.tender-create-field-select::after {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #6f7893;
  border-bottom: 1.5px solid #6f7893;
  transform: rotate(45deg);
}

.tender-create-field-calendar::after {
  width: 16px;
  height: 16px;
  border: 1.5px solid #6f7893;
  border-radius: 4px;
  box-sizing: border-box;
}

.tender-create-field-calendar::before {
  content: "";
  position: absolute;
  right: 18px;
  top: 25px;
  width: 8px;
  height: 2px;
  background: #6f7893;
  box-shadow: 0 -4px 0 #6f7893;
}

.tender-company-field {
  position: relative;
  display: grid;
  gap: 12px;
}

.tender-company-dropdown {
  position: absolute;
  top: 56px;
  left: 0;
  right: 0;
  z-index: 3;
  display: grid;
  border-radius: 0 0 4px 4px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 4px 4px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.tender-company-dropdown[hidden] {
  display: none;
}

.tender-company-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 8px 14px;
  border: 0;
  background: #fff;
  color: #282828;
  font: 400 18px/24px "Source Sans Pro", sans-serif;
  text-align: left;
  cursor: pointer;
}

.tender-company-option-active {
  background: rgba(239, 83, 63, 0.08);
}

.tender-company-option-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex: none;
}

.tender-company-option-icon::before,
.tender-company-option-icon::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 3px;
  width: 2px;
  height: 14px;
  border-radius: 999px;
}

.tender-company-option-icon-add::before,
.tender-company-option-icon-add::after {
  background: #ef533f;
}

.tender-company-option-icon-add::after {
  transform: rotate(90deg);
}

.tender-company-option-icon-done::before {
  left: 8px;
  top: 7px;
  width: 5px;
  height: 10px;
  border-right: 2px solid #43d38b;
  border-bottom: 2px solid #43d38b;
  transform: rotate(45deg);
}

.tender-company-option-icon-done::after {
  display: none;
}

.tender-selected-companies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tender-selected-companies:empty {
  display: none;
}

.tender-company-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 8px 10px;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  background: #fff;
  color: #282828;
  font: 400 18px/24px "Source Sans Pro", sans-serif;
  cursor: pointer;
}

.tender-company-chip-remove {
  position: relative;
  width: 12px;
  height: 12px;
  flex: none;
}

.tender-company-chip-remove::before,
.tender-company-chip-remove::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0;
  width: 1.5px;
  height: 12px;
  border-radius: 999px;
  background: #6f7893;
}

.tender-company-chip-remove::before {
  transform: rotate(45deg);
}

.tender-company-chip-remove::after {
  transform: rotate(-45deg);
}

.tender-create-note {
  max-width: 342px;
  margin: 0;
  color: #6f7893;
  font: 400 14px/18px "Source Sans Pro", sans-serif;
}

.tender-create-files {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.tender-file-chip {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tender-file-chip-pdf {
  background: #c81f11;
}

.tender-file-chip-doc {
  background: #2b579a;
}

.tender-file-chip-xls {
  background: #217346;
}

.tender-file-chip-label {
  position: static;
  color: #fff;
  font: 700 14px/1 "IBM Plex Sans", sans-serif;
}

.tender-file-chip-remove {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: #6f7893;
  cursor: pointer;
}

.tender-file-chip-remove::before,
.tender-file-chip-remove::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 1px;
  height: 8px;
  background: #fff;
}

.tender-file-chip-remove::before {
  transform: rotate(45deg);
}

.tender-file-chip-remove::after {
  transform: rotate(-45deg);
}

.tender-add-spec {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: #ef533f;
  font: 400 18px/24px "Source Sans Pro", sans-serif;
  cursor: pointer;
}

.tender-add-spec-icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex: none;
}

.tender-add-spec-icon::before,
.tender-add-spec-icon::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 4px;
  width: 2px;
  height: 16px;
  background: #ef533f;
  border-radius: 999px;
}

.tender-add-spec-icon::after {
  transform: rotate(90deg);
}

.tender-create-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 12px;
  border-top: 1px solid #e0e0e0;
}

.tender-create-submit {
  min-width: 146px;
  min-height: 38px;
  padding: 7px 12px;
  border-radius: 4px;
  background: #ef533f;
  font: 400 18px/24px "Source Sans Pro", sans-serif;
}

.tender-create-submit:hover {
  background: #de4936;
}

@media (max-width: 900px) {
  .tender-create-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 8px 88px;
  }

  .tender-create-back-column,
  .tender-detail-side {
    display: none;
  }

  .tender-create-content {
    padding: 12px 0 0;
  }

  .tender-create-top-grid,
  .tender-create-date-grid {
    grid-template-columns: 1fr;
  }

  .tender-company-dropdown {
    position: static;
    margin-top: -4px;
  }

  .tender-create-actions {
    justify-content: stretch;
  }

  .tender-create-submit {
    width: 100%;
  }
}

.company-detail-back-column {
  padding-top: 24px;
}

.company-detail-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 24px 0;
}

.company-detail-card,
.company-partners-card,
.company-reviews-card,
.company-stats-card {
  border-radius: 16px;
}

.company-detail-head h1,
.company-section-head h2 {
  margin: 0;
}

.company-detail-head h1 {
  color: #002775;
  font-family: "Roboto Flex", sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 36px;
}

.company-detail-caption {
  margin: 0 0 4px;
  color: var(--text-muted);
  font-family: "Roboto Flex", sans-serif;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.3px;
}

.company-detail-subtitle {
  margin: 4px 0 0;
  color: var(--text);
  font-family: "Roboto Flex", sans-serif;
  font-size: 16px;
  line-height: 22px;
}

.company-detail-meta {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 12px;
  border-radius: 12px;
  background: #f4f6ff;
}

.company-detail-meta-row {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 24px;
}

.company-detail-meta-row span,
.company-stats-item span {
  color: var(--text-muted);
  font-family: "Roboto Flex", sans-serif;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.3px;
}

.company-detail-meta-row strong,
.company-stats-item b {
  color: var(--text);
  font-family: "Roboto Flex", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
  letter-spacing: 0.3px;
}

.company-analysis-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 16px;
  border: 1px solid rgba(208, 215, 221, 0.8);
  border-radius: 16px;
  background: #fff;
  color: var(--brand);
  font-family: "Roboto Flex", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
}

.company-section-head {
  padding-bottom: 16px;
  border-bottom: 0.5px solid var(--divider);
}

.company-section-head h2 {
  color: var(--text);
  font-family: "Roboto Flex", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
}

.company-partners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 16px;
}

.company-partner-offer,
.company-partner-cta {
  display: flex;
  flex-direction: column;
  min-height: 308px;
  padding: 24px;
  border-radius: 24px;
}

.company-partner-offer-warm {
  background: linear-gradient(180deg, #fdf7f2 0%, #f4efec 100%);
}

.company-partner-offer-cold {
  background: linear-gradient(180deg, #f2f8fb 0%, #edf3f6 100%);
}

.company-partner-logo {
  display: flex;
  align-items: center;
  min-height: 40px;
  margin-bottom: 20px;
}

.company-partner-logo-text {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.company-partner-logo-text span {
  color: #d96624;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: 0.04em;
}

.company-partner-logo-text small {
  color: #d96624;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 12px;
  line-height: 12px;
  letter-spacing: 0.36em;
  text-transform: lowercase;
}

.company-partner-logo-eurasia img {
  display: block;
  width: 138px;
  height: auto;
}

.company-partner-offer h3,
.company-partner-cta h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-family: "Roboto Flex", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
}

.company-partner-points {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.company-partner-points li,
.company-partner-cta p {
  color: var(--text);
  font-family: "Roboto Flex", sans-serif;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0.1px;
}

.company-offer-button,
.company-partner-link,
.company-review-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 12px;
  font-family: "Roboto Flex", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
}

.company-offer-button {
  margin-top: auto;
  background: transparent;
}

.company-offer-button-warm {
  border: 1px solid #c25e43;
  color: #c25e43;
}

.company-offer-button-cold {
  border: 1px solid #4a74c6;
  color: #3a5892;
}

.company-partner-cta {
  background: #357852;
  color: #fff;
}

.company-partner-cta h3,
.company-partner-cta p {
  color: #fff;
}

.company-partner-chip {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: "Roboto Flex", sans-serif;
  font-size: 14px;
  line-height: 20px;
}

.company-partner-link {
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #fff;
}

.company-section-head-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.company-review-button {
  border: 1px solid rgba(208, 215, 221, 0.8);
  background: #fff;
  color: var(--brand);
}

.company-review-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  padding: 16px 0;
  border-bottom: 0.5px solid var(--divider);
}

.company-review-row-last {
  border-bottom: 0;
}

.company-review-meta {
  display: grid;
  gap: 4px;
}

.company-review-meta strong {
  color: #002775;
  font-family: "Roboto Flex", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
}

.company-review-meta span,
.company-review-row p {
  color: var(--text);
  font-family: "Roboto Flex", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0.1px;
}

.company-review-row p {
  margin: 0;
}

.company-review-stars {
  display: inline-flex;
  gap: 4px;
  margin-top: 4px;
}

.company-review-stars::before {
  content: "★★★★★";
  color: #ff7a32;
  font-size: 16px;
  letter-spacing: 4px;
}

.company-stats-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.company-stats-card > strong {
  color: var(--text);
  font-family: "Roboto Flex", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
}

.company-stats-list {
  display: grid;
  gap: 8px;
}

.company-stats-item {
  display: grid;
  gap: 4px;
}

.company-stats-item b {
  font-size: 14px;
  line-height: 20px;
}

.company-stats-button {
  width: 100%;
  min-height: 40px;
  margin-top: 8px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 20px;
}

@media (max-width: 900px) {
  .company-detail-layout {
    display: block;
  }

  .company-detail-back-column,
  .company-detail-side {
    display: none;
  }

  .company-detail-content {
    padding: 16px;
  }

  .company-analysis-button {
    min-height: 48px;
    font-size: 16px;
    line-height: 22px;
  }

  .company-detail-head h1 {
    font-size: 24px;
    line-height: 32px;
  }

  .company-detail-meta-row,
  .company-review-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .company-partners-grid {
    grid-template-columns: 1fr;
  }

  .company-partner-offer,
  .company-partner-cta {
    min-height: auto;
    padding: 20px;
  }

  .company-section-head-inline {
    align-items: flex-start;
    flex-direction: column;
  }
}

.offers-layout {
  align-items: stretch;
}

.offers-main-column {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 24px 0;
}

.offers-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.offers-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  font-family: "Roboto Flex", sans-serif;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0.1px;
}

.offers-tab-active {
  background: #fff;
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.offer-card {
  overflow: hidden;
  padding: 0;
  border-radius: 24px;
}

.offer-card-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 120px;
  padding: 24px;
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.12), transparent 24%),
    linear-gradient(135deg, #db312d 0%, #ff5c49 100%);
  color: #fff;
}

.offer-card-banner strong {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
}

.offer-brand-badge {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
}

.offer-brand-dot {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 9px;
  height: 20px;
  border-radius: 999px;
  background: #ef4d3e;
  transform: rotate(-16deg);
}

.offer-brand-dot::before,
.offer-brand-dot::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 20px;
  border-radius: 999px;
  background: #ef4d3e;
}

.offer-brand-dot::before {
  left: 7px;
  transform: rotate(32deg);
}

.offer-brand-dot::after {
  left: 14px;
  transform: rotate(-3deg);
}

.offer-brand-dot-small {
  top: 18px;
  left: 14px;
  width: 8px;
  height: 8px;
  background: #ef4d3e;
  transform: none;
}

.offer-brand-dot-small::before,
.offer-brand-dot-small::after {
  content: none;
}

.offer-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

.offer-card-body span {
  color: var(--text-muted);
  font-family: "Roboto Flex", sans-serif;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.1px;
}

.offer-card-body h2 {
  margin: 0;
  color: var(--text);
  font-family: "Roboto Flex", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.15px;
}

.offer-card-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: auto;
  border: 1px solid rgba(208, 215, 221, 0.8);
  border-radius: 12px;
  color: var(--brand);
  font-family: "Roboto Flex", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.15px;
  text-decoration: none;
}

.offers-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
}

.offers-pagination-left,
.offers-pagination-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.offers-page-nav,
.offers-page-number,
.offers-page-size {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 8px 12px;
  border: 1px solid rgba(208, 215, 221, 0.8);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-family: "Roboto Flex", sans-serif;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.3px;
}

.offers-page-number {
  min-width: 20px;
  padding: 0;
  border: 0;
  background: transparent;
}

.offers-page-number-active {
  color: #002775;
}

.offers-pagination-right span {
  color: var(--text);
  font-family: "Roboto Flex", sans-serif;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.1px;
}

.offers-page-size {
  min-width: 48px;
  position: relative;
  padding-right: 24px;
}

.offers-page-size::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid #615f5f;
  border-bottom: 1.5px solid #615f5f;
  transform: rotate(45deg);
}

.offers-page-size-wrap {
  position: relative;
}

.offers-page-size-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  display: grid;
  min-width: 72px;
  padding: 6px;
  border: 1px solid rgba(208, 215, 221, 0.8);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(33, 33, 33, 0.08);
  z-index: 10;
}

.offers-page-size-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-family: "Roboto Flex", sans-serif;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.3px;
}

.offers-page-size-option-active {
  background: #f4f6ff;
  color: var(--brand);
}

.offers-empty-side {
  width: 204px;
  flex: none;
}

.training-layout .offers-main-column {
  padding-top: 24px;
}

.training-grid {
  padding-top: 4px;
}

.cabinet-settings-delete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0 0;
}

@media (max-width: 900px) {
  .cabinet-settings-delete {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  .offers-layout {
    display: block;
  }

  .offers-main-column {
    padding: 16px;
  }

  .offers-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .offers-grid {
    grid-template-columns: 1fr;
  }

  .offers-pagination {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .offers-pagination-right {
    justify-content: space-between;
    width: 100%;
  }

  .offers-empty-side {
    display: none;
  }
}

.offer-detail-layout {
  align-items: flex-start;
}

.offer-detail-back-column {
  padding-top: 24px;
}

.offer-detail-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 24px 80px 24px 0;
}

.offer-detail-breadcrumbs {
  color: var(--text-muted);
  font-family: "Roboto Flex", sans-serif;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.1px;
}

.offer-detail-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 16px 24px 24px;
  border-radius: 16px;
}

.offer-detail-card h1 {
  margin: 0;
  color: var(--text);
  font-family: "Roboto Flex", sans-serif;
  font-size: 57px;
  font-weight: 500;
  line-height: 64px;
  letter-spacing: -0.25px;
}

.offer-detail-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 340px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.08), transparent 25%),
    radial-gradient(circle at 80% 26%, rgba(255, 255, 255, 0.08), transparent 22%),
    linear-gradient(135deg, #ff4b4b 0%, #df312c 100%);
  color: #fff;
}

.offer-detail-hero strong {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 64px;
  font-weight: 600;
  line-height: 72px;
}

.offer-detail-hero-badge {
  position: relative;
  width: 116px;
  height: 116px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
}

.offer-detail-hero-badge .offer-brand-dot {
  top: 24px;
  left: 24px;
  width: 24px;
  height: 62px;
}

.offer-detail-hero-badge .offer-brand-dot::before,
.offer-detail-hero-badge .offer-brand-dot::after {
  width: 24px;
  height: 62px;
}

.offer-detail-hero-badge .offer-brand-dot::before {
  left: 18px;
}

.offer-detail-hero-badge .offer-brand-dot::after {
  left: 38px;
}

.offer-detail-hero-badge .offer-brand-dot-small {
  top: 58px;
  left: 44px;
  width: 20px;
  height: 20px;
}

.offer-detail-copy {
  color: var(--text);
  font-family: "Roboto Flex", sans-serif;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0.1px;
}

.offer-detail-copy p {
  margin: 0 0 20px;
}

.offer-detail-copy ul {
  margin: 0;
  padding-left: 18px;
}

.offer-detail-copy li + li {
  margin-top: 8px;
}

@media (max-width: 900px) {
  .offer-detail-layout {
    display: block;
  }

  .offer-detail-back-column {
    display: none;
  }

  .offer-detail-content {
    padding: 16px;
  }

  .offer-detail-card {
    padding: 16px;
  }

  .offer-detail-card h1 {
    font-size: 36px;
    line-height: 40px;
  }

  .offer-detail-hero {
    min-height: 220px;
    gap: 12px;
    padding: 16px;
  }

  .offer-detail-hero strong {
    font-size: 36px;
    line-height: 40px;
  }

  .offer-detail-hero-badge {
    width: 64px;
    height: 64px;
  }

  .offer-detail-hero-badge .offer-brand-dot {
    top: 12px;
    left: 14px;
    width: 12px;
    height: 34px;
  }

  .offer-detail-hero-badge .offer-brand-dot::before,
  .offer-detail-hero-badge .offer-brand-dot::after {
    width: 12px;
    height: 34px;
  }

  .offer-detail-hero-badge .offer-brand-dot::before {
    left: 10px;
  }

  .offer-detail-hero-badge .offer-brand-dot::after {
    left: 20px;
  }

  .offer-detail-hero-badge .offer-brand-dot-small {
    top: 31px;
    left: 24px;
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 900px) {
  .page-shell {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 8px 8px 98px !important;
  }

  .content {
    display: grid !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .section {
    width: 100% !important;
    min-width: 0 !important;
  }

  .section-products,
  .section-about,
  .section-steps,
  .section-partners,
  .section-insights,
  .section-faq {
    padding: 24px 16px !important;
  }

  .products-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
  }

  .product-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
  }

  .product-copy {
    padding: 24px 24px 0 !important;
  }

  .product-copy h2 {
    max-width: 248px !important;
    font-size: 24px !important;
    line-height: 32px !important;
  }

  .product-art {
    height: 200px !important;
    padding: 0 !important;
  }

  .product-art img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
  }
}

.cabinet-view-dashboard,
.cabinet-view-detail {
  display: grid;
  grid-template-columns: 204px minmax(0, 888px) 204px;
  gap: 24px;
  padding: 16px 24px 24px;
  align-items: start;
  justify-content: center;
}

.cabinet-view-tenders {
  grid-template-columns: minmax(0, 888px);
  justify-content: center;
}

.cabinet-view-tenders .cabinet-sidebar,
.cabinet-view-tenders .cabinet-side-actions {
  display: none;
}

.cabinet-main-column,
.cabinet-detail-content {
  min-width: 0;
  display: grid;
  gap: 16px;
  align-content: start;
}

.cabinet-surface-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

.cabinet-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.cabinet-page-title {
  margin: 0 0 6px;
  font: 500 32px/36px "Roboto Flex", sans-serif;
}

.cabinet-page-copy {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 20px;
}

.cabinet-page-label {
  margin: 24px 0 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 22px;
}

.cabinet-tender-list,
.cabinet-promo-grid {
  display: grid;
  gap: 16px;
}

.cabinet-tender-card,
.cabinet-detail-card,
.cabinet-offers-card,
.cabinet-policy-card,
.cabinet-promo-card,
.cabinet-learning-preview,
.cabinet-company-hero,
.cabinet-stat-card,
.cabinet-review-card,
.cabinet-time-card {
  padding: 18px;
}

.cabinet-tender-card h2,
.cabinet-promo-card h2,
.cabinet-learning-preview h2,
.cabinet-company-hero h1 {
  margin: 0;
  font: 500 24px/30px "Roboto Flex", sans-serif;
}

.cabinet-tender-card {
  padding: 12px;
}

.cabinet-tender-top {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--divider);
}

.cabinet-tender-top h2 {
  flex: 1 1 auto;
  margin: 0;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
}

.cabinet-tender-title-link {
  flex: 1 1 auto;
  color: var(--text);
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
}

.cabinet-tender-title-link:hover {
  color: var(--brand);
}

.cabinet-tender-top-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.cabinet-tender-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 40px;
  background: rgba(47, 110, 77, 0.08);
  color: var(--brand);
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.3px;
}

.cabinet-tender-edit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.cabinet-tender-edit-button img {
  width: 17px;
  height: 17px;
}

.cabinet-tender-edit {
  position: relative;
  width: 24px;
  height: 24px;
  border: 0;
  padding: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.cabinet-tender-edit::before,
.cabinet-tender-edit::after {
  content: "";
  position: absolute;
  background: var(--brand);
  border-radius: 999px;
}

.cabinet-tender-edit::before {
  top: 12px;
  left: 5px;
  width: 12px;
  height: 2px;
  transform: rotate(-45deg);
}

.cabinet-tender-edit::after {
  top: 8px;
  left: 13px;
  width: 4px;
  height: 4px;
  transform: rotate(-45deg);
}

.cabinet-tender-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 12px;
}

.cabinet-tender-org {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
}

.cabinet-company-logo {
  position: relative;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 0.5px solid var(--divider);
  border-radius: 8px;
  background: #fff;
}

.cabinet-company-logo-mark,
.cabinet-company-logo-mark::before,
.cabinet-company-logo-mark::after {
  content: "";
  position: absolute;
  display: block;
  background: #d73a2f;
  border-radius: 999px;
}

.cabinet-company-logo-mark {
  top: 17px;
  left: 8px;
  width: 22px;
  height: 4px;
  transform: rotate(45deg);
}

.cabinet-company-logo-mark::before {
  top: 0;
  left: 0;
  width: 22px;
  height: 4px;
  transform: rotate(90deg);
}

.cabinet-company-logo-mark::after {
  top: -1px;
  left: 8px;
  width: 6px;
  height: 6px;
}

.cabinet-tender-org span,
.cabinet-tender-side span {
  display: block;
  color: var(--text-muted);
  font-size: 10px;
  line-height: 12px;
  font-weight: 300;
  letter-spacing: 0.1px;
}

.cabinet-tender-org strong,
.cabinet-tender-side strong {
  display: block;
  margin-top: 4px;
  color: var(--text-primary);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.cabinet-tender-side {
  flex: 0 0 auto;
  width: 102px;
  text-align: right;
}

.cabinet-tender-side:first-of-type {
  width: 79px;
}

.cabinet-tender-create {
  display: inline-flex;
  justify-content: center;
  width: fit-content;
  align-self: start;
  height: 36px;
  min-height: 36px;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 20px;
  margin-top: 16px;
}

.cabinet-tender-meta,
.cabinet-promo-brand,
.cabinet-tender-grid span,
.cabinet-policy-grid span,
.cabinet-company-copy span,
.cabinet-company-stats span,
.cabinet-offer-copy span,
.cabinet-time-card span,
.cabinet-review-item span {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 16px;
}

.cabinet-tender-grid,
.cabinet-policy-grid,
.cabinet-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.cabinet-tender-grid strong,
.cabinet-policy-grid strong,
.cabinet-stat-grid strong,
.cabinet-offer-copy strong,
.cabinet-company-copy strong {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 20px;
}

.cabinet-tender-grid-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cabinet-card-actions,
.cabinet-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.cabinet-side-actions {
  display: grid;
  gap: 12px;
  align-content: start;
  width: 204px;
}

.cabinet-side-actions-sticky {
  position: sticky;
  top: 92px;
}

.cabinet-side-cta {
  display: grid;
  min-height: 48px;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  text-align: left;
}

.cabinet-side-cta:hover {
  background: var(--brand-hover);
}

.cabinet-side-cta-muted {
  background: #ebf0ec;
  color: var(--text);
}

.cabinet-policy-add-card {
  display: grid;
  gap: 16px;
}

.cabinet-policy-add-card strong {
  font: 500 24px/30px "Roboto Flex", sans-serif;
}

.cabinet-policy-add-card span {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 20px;
}

.cabinet-policy-add-button {
  width: 100%;
}

.cabinet-company-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  background: #edf4ef;
  color: var(--brand);
  font-weight: 700;
}

.cabinet-company-badge-blue {
  background: #edf1ff;
  color: #2f5cd2;
}

.cabinet-company-badge-orange {
  background: #fff1e8;
  color: #d56b2f;
}

.cabinet-company-badge-red {
  background: #ffefef;
  color: #d64242;
}

.cabinet-company-badge-large {
  width: 120px;
  height: 72px;
  border-radius: 16px;
}

.cabinet-offer-row,
.cabinet-company-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}

.cabinet-company-row {
  padding: 16px 18px;
}

.cabinet-rating {
  font-weight: 600;
}

.cabinet-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--divider);
  background: #fff;
}

.cabinet-chip-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cabinet-chip-tab {
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--divider);
}

.cabinet-chip-tab-active {
  background: rgba(47, 110, 77, 0.1);
  color: var(--brand);
}

.cabinet-learning-preview {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: 18px;
}

.cabinet-learning-preview img {
  width: 100%;
  min-height: 180px;
  border-radius: 16px;
  object-fit: cover;
}

.cabinet-learning-preview-copy {
  display: grid;
  gap: 12px;
}

.cabinet-policy-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
}

.cabinet-policy-summary::-webkit-details-marker {
  display: none;
}

.cabinet-policy-summary-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cabinet-icon-button {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #edf4ef;
  position: relative;
}

.cabinet-icon-button::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 17px;
  width: 14px;
  height: 2px;
  background: var(--brand);
  transform: rotate(-35deg);
}

.cabinet-policy-body {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 0.5px solid var(--divider);
}

.cabinet-mobile-header {
  display: none;
}

.cabinet-breadcrumbs-wide {
  grid-column: 1 / -1;
  padding: 24px 0 0;
}

.cabinet-breadcrumbs-inline {
  display: none;
}

.cabinet-modal-textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px;
  border: 1px solid var(--divider);
  border-radius: 12px;
  resize: vertical;
  font: 400 16px/22px "Roboto Flex", sans-serif;
}

.cabinet-popup-panel {
  width: min(100%, 596px);
  padding: 24px;
  border-radius: 24px;
}

.cabinet-popup-panel-claim {
  position: relative;
}

.cabinet-popup-handle {
  display: none;
}

.cabinet-popup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.cabinet-popup-close {
  position: relative;
  width: 24px;
  height: 24px;
  flex: none;
}

.cabinet-popup-close::before,
.cabinet-popup-close::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 3px;
  width: 1.5px;
  height: 18px;
  background: #212121;
}

.cabinet-popup-close::before {
  transform: rotate(45deg);
}

.cabinet-popup-close::after {
  transform: rotate(-45deg);
}

.cabinet-popup-form {
  display: grid;
  gap: 16px;
}

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

.cabinet-popup-submit {
  width: 100%;
}

.cabinet-upload-button {
  min-width: 132px;
}

.cabinet-file-delete-button {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
}

.cabinet-file-delete-button::before,
.cabinet-file-delete-button::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 2px;
  width: 1.5px;
  height: 14px;
  background: #e9743a;
}

.cabinet-file-delete-button::before {
  transform: rotate(45deg);
}

.cabinet-file-delete-button::after {
  transform: rotate(-45deg);
}

.cabinet-text-action {
  width: fit-content;
  color: #d35d29;
  font-size: 14px;
  line-height: 20px;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.tender-detail-layout {
  grid-template-columns: 204px minmax(0, 1fr) 204px;
  gap: 24px;
}

.tender-detail-content {
  gap: 16px;
}

.tender-detail-summary {
  padding: 12px;
}

.tender-detail-summary-head {
  display: grid;
  gap: 4px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--divider);
}

.tender-detail-summary-head h1 {
  margin: 0;
  max-width: 640px;
  font: 600 28px/36px "Roboto Flex", sans-serif;
  color: var(--text);
}

.tender-detail-summary-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.3px;
}

.tender-detail-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(120px, 0.75fr) minmax(131px, 0.8fr) minmax(95px, 0.5fr);
  gap: 24px;
  align-items: center;
  padding-top: 12px;
}

.tender-detail-company {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.tender-detail-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 48px;
  padding: 4px;
  border: 0.5px solid var(--divider);
  border-radius: 4px;
  background: #fff;
  flex: none;
}

.tender-detail-logo-card-small {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 8px;
}

.tender-detail-logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tender-detail-meta-cell {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.tender-detail-meta-cell span,
.tender-offer-rating span,
.tender-offer-metric span,
.tender-time-card-block span {
  color: var(--text-muted);
  font-size: 10px;
  line-height: 12px;
  letter-spacing: 0.1px;
}

.tender-detail-meta-cell strong,
.tender-offer-metric strong,
.tender-time-card-block b {
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  color: var(--text);
}

.tender-detail-meta-cell-right {
  justify-items: end;
  text-align: right;
}

.tender-detail-status {
  color: var(--brand) !important;
  font-weight: 500 !important;
}

.tender-offers-card {
  padding: 12px 16px;
}

.tender-offer-row {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(84px, 0.75fr) minmax(113px, 0.8fr) minmax(56px, 0.45fr) minmax(81px, 0.55fr) 88px;
  gap: 24px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 0.5px solid var(--divider);
}

.tender-offer-row-last {
  border-bottom: 0;
}

.tender-offer-company {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.tender-offer-rating {
  display: grid;
  gap: 4px;
}

.tender-offer-rating strong {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  color: var(--text);
}

.tender-offer-rating em {
  font-style: normal;
  color: #2f7d57;
  letter-spacing: 1px;
}

.tender-offer-metric {
  display: grid;
  gap: 4px;
  text-align: right;
}

.tender-offer-action {
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 16px;
  line-height: 20px;
}

.tender-detail-side {
  padding-top: 62px;
}

.tender-time-card {
  display: grid;
  gap: 16px;
  padding: 12px;
}

.tender-time-card > strong {
  font: 500 16px/20px "Roboto Flex", sans-serif;
  color: var(--text);
}

.tender-time-card-block {
  display: grid;
  gap: 4px;
}

.policies-layout {
  grid-template-columns: 204px minmax(0, 1fr) 204px;
  gap: 24px;
}

.policies-main-column {
  gap: 16px;
}

.policy-card {
  padding: 12px;
  min-width: 0;
}

.policy-card-head {
  display: grid;
  grid-template-columns: 24px 72px minmax(0, 1fr) 24px 24px;
  gap: 16px;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--divider);
  min-width: 0;
}

.policy-edit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: transparent;
  cursor: pointer;
}

.policy-edit-button img {
  width: 17px;
  height: 17px;
}

.policy-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 48px;
  padding: 4px;
  border: 0.5px solid var(--divider);
  border-radius: 4px;
  background: #fff;
}

.policy-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.policy-head-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.policy-head-copy strong {
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  color: var(--text);
  overflow-wrap: anywhere;
}

.policy-head-copy span {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.3px;
}

.policy-pdf-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 18px;
  border: 1px solid #2f6e4d;
  border-radius: 4px;
  color: #2f6e4d;
  font-size: 8px;
  line-height: 1;
  font-weight: 700;
}

.policy-expand-button {
  position: relative;
  width: 24px;
  height: 24px;
  background: transparent;
  cursor: pointer;
}

.policy-expand-button span,
.policy-expand-button-open span {
  position: absolute;
  left: 7px;
  top: 10px;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid #615f5f;
  border-bottom: 1.5px solid #615f5f;
  transform: rotate(45deg);
}

.policy-expand-button-open span {
  top: 13px;
  transform: rotate(225deg);
}

.policy-main-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 106px 62px;
  gap: 24px;
  align-items: center;
  padding-top: 8px;
  min-width: 0;
}

.policy-card-collapsed .policy-card-body {
  display: none;
}

.policy-main-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.policy-main-meta span,
.policy-extra-term span {
  color: var(--text-muted);
  font-size: 10px;
  line-height: 12px;
  font-weight: 300;
  letter-spacing: 0.1px;
}

.policy-main-meta strong {
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  color: var(--text);
}

.policy-main-meta-right {
  justify-items: end;
  text-align: right;
}

.policy-price-meta strong {
  font-weight: 500;
}

.policy-card-expanded .policy-main-row {
  padding-bottom: 8px;
  border-bottom: 0.5px solid var(--divider);
}

.policy-extra-row {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  padding-top: 8px;
  min-width: 0;
}

.policy-extra-term {
  display: grid;
  gap: 4px;
}

.policy-extra-term strong {
  font-size: 12px;
  line-height: 14px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.3px;
}

.policy-feature-list {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.policy-feature-item {
  position: relative;
  padding-left: 24px;
  font-size: 12px;
  line-height: 14px;
  color: var(--text);
  letter-spacing: 0.3px;
}

.policy-feature-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 16px;
  height: 16px;
  border: 1px solid #78b493;
  border-radius: 50%;
}

.policy-feature-item::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 4px;
  height: 8px;
  border-right: 1.5px solid #2f6e4d;
  border-bottom: 1.5px solid #2f6e4d;
  transform: rotate(45deg);
}

.policy-paid-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 4px 8px;
  border-radius: 40px;
  background: rgba(47, 110, 77, 0.08);
  color: var(--brand);
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.3px;
}

.policies-side-actions {
  padding-top: 62px;
}

.employee-policies-layout {
  display: grid;
  grid-template-columns: 204px minmax(0, 1fr) 204px;
  gap: 24px;
  align-items: start;
  padding: 24px 24px 0;
}

.employee-sidebar,
.employee-policies-main,
.employee-side-actions {
  padding-top: 0;
}

.employee-profile-card {
  display: grid;
  gap: 8px;
  padding-bottom: 16px;
}

.employee-profile-logo {
  position: relative;
  width: 56px;
  height: 56px;
  border: 1px solid var(--divider);
  border-radius: 16px;
  background: #fff;
}

.employee-profile-logo-mark::before,
.employee-profile-logo-mark::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 25px;
  width: 6px;
  height: 36px;
  border-radius: 999px;
  background: #d93f2f;
}

.employee-profile-logo-mark::before {
  transform: rotate(45deg);
}

.employee-profile-logo-mark::after {
  transform: rotate(-45deg);
}

.employee-profile-card strong {
  font: 600 16px/24px "IBM Plex Sans", sans-serif;
  color: var(--text);
}

.employee-profile-meta {
  font: 400 14px/20px "Roboto Flex", sans-serif;
  color: var(--text);
}

.employee-profile-note {
  font: 400 12px/14px "Roboto Flex", sans-serif;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.employee-nav {
  gap: 0;
}

.employee-nav .cabinet-nav-link {
  min-height: 44px;
  padding: 12px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.employee-nav .cabinet-nav-link-active {
  background: #fff;
  color: var(--brand);
}

.employee-assistant-card {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
}

.employee-assistant-copy {
  display: grid;
  gap: 4px;
}

.employee-assistant-copy strong {
  font: 500 16px/20px "Roboto Flex", sans-serif;
  color: var(--text);
  letter-spacing: 0.15px;
}

.employee-assistant-copy p {
  margin: 0;
  font: 300 10px/12px "Roboto Flex", sans-serif;
  color: var(--text);
  letter-spacing: 0.1px;
}

.employee-assistant-divider {
  height: 1px;
  background: var(--divider);
}

.employee-assistant-copy-meta strong {
  font-size: 14px;
  line-height: 20px;
}

.employee-assistant-copy-meta p {
  color: var(--text-muted);
}

.employee-policies-main {
  display: grid;
  gap: 8px;
}

.employee-policy-card .policy-card-head {
  grid-template-columns: 72px minmax(0, 1fr) 24px 24px;
}

.employee-policy-extra-row {
  grid-template-columns: 182px minmax(0, 1fr);
  gap: 24px;
}

.employee-policy-feature-list {
  display: grid;
  gap: 8px;
}

.employee-policy-feature-item {
  position: relative;
  padding-left: 24px;
  font-size: 12px;
  line-height: 14px;
  color: var(--text);
  letter-spacing: 0.3px;
}

.employee-policy-feature-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 16px;
  height: 16px;
  border: 1px solid #78b493;
  border-radius: 50%;
}

.employee-policy-feature-item::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 4px;
  height: 8px;
  border-right: 1.5px solid #2f6e4d;
  border-bottom: 1.5px solid #2f6e4d;
  transform: rotate(45deg);
}

.employee-side-actions {
  padding-top: 40px;
}

.employee-new-policy-card {
  display: grid;
  gap: 16px;
  padding: 12px;
  border-radius: 16px;
}

.employee-new-policy-copy {
  display: grid;
  gap: 4px;
}

.employee-new-policy-copy strong {
  font: 500 16px/20px "Roboto Flex", sans-serif;
  color: var(--text);
  letter-spacing: 0.15px;
}

.employee-new-policy-copy p {
  margin: 0;
  font: 300 10px/12px "Roboto Flex", sans-serif;
  color: var(--text);
  letter-spacing: 0.1px;
}

.employee-new-policy-button {
  width: 100%;
}

.employee-analytics-layout {
  display: grid;
  grid-template-columns: 204px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 24px 24px 0;
}

.employee-analytics-main {
  display: grid;
  gap: 16px;
}

.employee-analytics-tabs {
  display: grid;
  grid-template-columns: repeat(2, 158px);
  gap: 0;
  width: fit-content;
  padding: 2px;
  border: 1px solid var(--divider);
  border-radius: 12px;
  background: #f4f6ff;
}

.employee-analytics-tab {
  min-height: 28px;
  padding: 6px 16px;
  border-radius: 10px;
  background: transparent;
  font: 400 16px/20px "Roboto Flex", sans-serif;
  color: var(--text);
  cursor: pointer;
}

.employee-analytics-tab-active {
  background: #fff;
}

.employee-analytics-card {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr) 144px;
  gap: 24px;
  padding: 12px;
  border-radius: 24px;
}

.employee-analytics-products {
  display: grid;
  gap: 0;
  align-content: start;
}

.employee-product-item {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 8px;
  border-bottom: 0.5px solid var(--divider);
  border-radius: 8px;
  color: var(--text);
}

.employee-product-item-active {
  background: #f4f6ff;
}

.employee-product-title {
  max-width: 132px;
  font: 400 16px/22px "Roboto Flex", sans-serif;
}

.employee-product-price {
  font: 400 14px/20px "Roboto Flex", sans-serif;
  color: var(--text-muted);
}

.employee-product-price strong {
  color: var(--brand);
  font-weight: 400;
}

.employee-product-arrow {
  position: absolute;
  right: 8px;
  top: 50%;
  width: 16px;
  height: 24px;
  transform: translateY(-50%);
}

.employee-product-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
}

.employee-product-arrow path {
  fill: none;
  stroke: #615f5f;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.employee-chart-panel {
  display: grid;
  gap: 16px;
}

.employee-chart-title {
  margin: 0;
  font: 600 24px/32px "IBM Plex Sans", sans-serif;
  text-align: center;
  color: #282828;
}

.employee-chart-toolbar {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 24px 24px;
  gap: 24px;
  align-items: center;
}

.employee-chart-period {
  margin: 0;
  text-align: center;
  font: 400 16px/22px "Roboto Flex", sans-serif;
  color: var(--text-muted);
}

.employee-chart-period span {
  color: var(--brand);
}

.employee-chart-nav,
.employee-chart-calendar {
  position: relative;
  width: 24px;
  height: 24px;
  background: transparent;
}

.employee-chart-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 24px;
}

.employee-chart-nav-prev::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 24'%3E%3Cpath d='M10 7L6 12L10 17' fill='none' stroke='%23615f5f' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.employee-chart-nav-next::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 24'%3E%3Cpath d='M6 7L10 12L6 17' fill='none' stroke='%23615f5f' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.employee-chart-calendar::before,
.employee-chart-calendar::after {
  content: "";
  position: absolute;
}

.employee-chart-calendar::before {
  inset: 4px 5px 5px;
  border: 1.5px solid #615f5f;
  border-top-width: 5px;
  border-radius: 4px;
}

.employee-chart-calendar::after {
  top: 7px;
  left: 8px;
  width: 8px;
  height: 2px;
  background: #615f5f;
  box-shadow: 0 4px 0 #615f5f;
}

.employee-chart-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  font: 400 18px/24px "IBM Plex Sans", sans-serif;
  color: var(--text);
  text-align: center;
}

.employee-chart-area {
  position: relative;
  min-height: 331px;
}

.employee-chart-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.employee-chart-polyline {
  fill: none;
  stroke: #6f7893;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.employee-chart-marker-line {
  position: absolute;
  left: 136px;
  top: 23px;
  width: 2px;
  height: 286px;
  background: #ef533f;
}

.employee-chart-marker-dot {
  position: absolute;
  left: 129px;
  top: 15px;
  width: 16px;
  height: 16px;
  border: 2px solid #ef533f;
  border-radius: 50%;
  background: #fff;
}

.employee-chart-tooltip {
  position: absolute;
  left: 154px;
  top: 6px;
  display: grid;
  gap: 8px;
  width: 155px;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.1);
}

.employee-chart-tooltip div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font: 400 14px/18px "IBM Plex Sans", sans-serif;
}

.employee-chart-tooltip span {
  color: #6f7893;
}

.employee-chart-tooltip strong {
  font-weight: 400;
  color: #282828;
}

.employee-analytics-side {
  display: grid;
  gap: 8px;
  align-content: start;
}

.employee-analytics-side-label {
  margin: 8px 0 0;
  font: 400 14px/20px "Roboto Flex", sans-serif;
  color: var(--text-muted);
}

.employee-analytics-metric {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 8px;
  background: #f4f6ff;
}

.employee-analytics-metric span {
  font: 500 12px/14px "Roboto Flex", sans-serif;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.employee-analytics-metric strong {
  font: 400 16px/22px "Roboto Flex", sans-serif;
  color: var(--text);
}

.employee-analytics-tab-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 16px;
  border-radius: 10px;
  background: transparent;
  font: 400 16px/20px "Roboto Flex", sans-serif;
  color: var(--text);
}

.employee-program-layout {
  display: grid;
  grid-template-columns: 204px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 24px 24px 0;
}

.employee-program-main {
  display: grid;
  gap: 16px;
}

.employee-program-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 148px;
  gap: 24px;
  padding: 8px 12px 24px;
  border-radius: 24px;
}

.employee-program-table-wrap {
  display: grid;
  gap: 0;
}

.employee-program-header {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 8px 8px 12px;
  border-bottom: 0.5px solid var(--divider);
}

.employee-program-title {
  margin: 0;
  font: 400 32px/36px "IBM Plex Sans", sans-serif;
  color: #282828;
}

.employee-program-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.employee-program-action {
  min-width: 128px;
  padding-inline: 14px;
  font-size: 14px;
}

.employee-program-delete {
  min-width: 60px;
  min-height: 32px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #ef533f;
  font-size: 14px;
  line-height: 20px;
}

.employee-program-rows {
  display: grid;
}

.employee-program-row {
  display: grid;
  grid-template-columns: 24px 100px 106px 99px 105px 58px;
  gap: 16px;
  align-items: start;
  padding: 16px 8px;
  border-bottom: 0.5px solid var(--divider);
}

.employee-program-cell {
  display: grid;
  gap: 4px;
}

.employee-program-cell span {
  color: var(--text-muted);
  font: 400 14px/20px "Roboto Flex", sans-serif;
  letter-spacing: 0.1px;
}

.employee-program-cell strong {
  color: var(--text);
  font: 400 16px/22px "Roboto Flex", sans-serif;
}

.employee-check {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.employee-check input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.employee-check-box {
  position: relative;
  width: 20px;
  height: 20px;
  border: 1px solid #949494;
  border-radius: 4px;
  background: #fff;
}

.employee-check input:checked + .employee-check-box {
  border-color: #2f6e4d;
  background: #2f6e4d;
}

.employee-check input:checked + .employee-check-box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border-right: 1.8px solid #fff;
  border-bottom: 1.8px solid #fff;
  transform: rotate(45deg);
}

.employee-program-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 124px;
}

.employee-program-pagination {
  display: flex;
  align-items: center;
  gap: 16px;
}

.employee-program-page-button,
.employee-program-page-link {
  background: transparent;
  color: var(--text);
  font: 400 14px/20px "Roboto Flex", sans-serif;
}

.employee-program-page-button-nav {
  min-height: 24px;
  padding: 4px 8px;
  border: 1px solid var(--divider);
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  line-height: 14px;
}

.employee-program-page-link-active {
  color: #002775;
}

.employee-program-page-size {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font: 400 14px/20px "Roboto Flex", sans-serif;
}

.employee-program-page-size-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 8px 12px;
  border: 1px solid var(--divider);
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  line-height: 14px;
}

.employee-program-page-size-caret {
  position: relative;
  width: 12px;
  height: 12px;
}

.employee-program-page-size-caret::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1px;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid #615f5f;
  border-bottom: 1.5px solid #615f5f;
  transform: rotate(45deg);
}

.employee-program-side {
  display: grid;
  gap: 24px;
  padding-top: 124px;
  align-content: start;
}

.employee-program-filter {
  display: grid;
  gap: 16px;
}

.employee-program-filter p {
  margin: 0;
  color: var(--text-muted);
  font: 500 14px/20px "Roboto Flex", sans-serif;
}

.employee-filter-check {
  gap: 12px;
  color: var(--text);
  font: 400 16px/22px "Roboto Flex", sans-serif;
}

.employee-program-pdf {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-top: 12px;
  border-top: 0.5px solid var(--divider);
  color: var(--text);
  font: 400 14px/20px "Roboto Flex", sans-serif;
  text-align: left;
}

.employee-program-pdf-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 18px;
  border: 1px solid #2f6e4d;
  border-radius: 4px;
  color: #2f6e4d;
  font-size: 8px;
  line-height: 1;
  font-weight: 700;
  flex: none;
}

.employee-tenders-layout {
  display: grid;
  grid-template-columns: 204px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 24px 24px 0;
}

.employee-tenders-main {
  display: grid;
  gap: 16px;
  align-content: start;
}

.employee-tenders-group {
  display: grid;
  gap: 16px;
}

.employee-tenders-title {
  margin: 0;
  font: 500 20px/24px "Roboto Flex", sans-serif;
  color: var(--text);
}

.employee-tenders-tabs {
  display: grid;
  grid-template-columns: repeat(2, 221px);
  gap: 0;
  width: fit-content;
  padding: 4px;
  border: 0.5px solid var(--divider);
  border-radius: 12px;
  background: #f4f6ff;
}

.employee-tenders-tab {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 8px;
  background: transparent;
  font: 400 16px/22px "Roboto Flex", sans-serif;
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.employee-tenders-tab-active {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 18px rgba(47, 110, 77, 0.2);
}

.employee-tender-feed-card {
  display: grid;
  gap: 12px;
  padding: 12px;
}

.employee-tender-feed-card[data-employee-tender-link] {
  cursor: pointer;
}

.employee-tender-feed-card[data-employee-tender-link]:hover .employee-tender-feed-head strong,
.employee-tender-feed-card[data-employee-tender-link]:focus-visible .employee-tender-feed-head strong {
  color: var(--brand);
}

.employee-tender-feed-head {
  display: grid;
  gap: 4px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--divider);
}

.employee-tender-feed-head strong {
  font: 400 16px/22px "Roboto Flex", sans-serif;
  color: var(--text);
}

.employee-tender-feed-head span {
  font: 400 12px/14px "Roboto Flex", sans-serif;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.employee-tender-feed-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 1fr) 131px 83px;
  gap: 24px;
  align-items: center;
}

.employee-tender-feed-company {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.employee-tender-feed-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0.5px solid var(--divider);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.employee-tender-feed-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.employee-tender-feed-cell {
  display: grid;
  gap: 4px;
}

.employee-tender-feed-cell span {
  font: 300 10px/12px "Roboto Flex", sans-serif;
  color: var(--text-muted);
  letter-spacing: 0.1px;
}

.employee-tender-feed-cell strong {
  font: 400 16px/22px "Roboto Flex", sans-serif;
  color: var(--text);
}

.employee-tender-feed-cell-right {
  text-align: right;
}

.employee-tender-feed-cell-status {
  text-align: right;
}

.employee-tender-feed-cell-status strong {
  color: var(--brand);
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.15px;
}

.employee-tenders-group[data-employee-tender-panel="history"] .employee-tender-feed-cell-status strong {
  color: #2f6e4d;
}

.employee-tender-detail-layout {
  grid-template-columns: 140px minmax(0, 888px) 144px;
  justify-content: space-between;
}

.employee-tender-back-column {
  padding-top: 24px;
}

.employee-tender-detail-content {
  gap: 16px;
  padding-top: 24px;
}

.employee-tender-detail-summary-grid {
  grid-template-columns: minmax(0, 1.6fr) minmax(140px, 0.7fr) minmax(150px, 0.8fr) minmax(100px, 0.55fr);
}

.employee-tender-detail-offers {
  padding: 12px 16px;
}

.employee-tender-detail-offer-row {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(78px, 0.75fr) minmax(113px, 0.85fr) minmax(56px, 0.4fr) minmax(81px, 0.55fr);
  gap: 24px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 0.5px solid var(--divider);
}

.employee-tender-detail-offer-row-last {
  border-bottom: 0;
}

.employee-tender-detail-company {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.employee-tender-detail-rating {
  display: grid;
  gap: 4px;
}

.employee-tender-detail-rating span,
.employee-tender-detail-metric span {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.3px;
}

.employee-tender-detail-rating strong,
.employee-tender-detail-metric strong {
  font: 400 16px/22px "Roboto Flex", sans-serif;
  color: var(--text);
}

.employee-tender-detail-rating em {
  margin-left: 2px;
  color: var(--brand);
  font-style: normal;
  letter-spacing: 1px;
}

.employee-tender-detail-metric {
  display: grid;
  gap: 4px;
  justify-items: end;
  text-align: right;
}

.employee-tender-detail-side {
  padding-top: 62px;
}

.employee-tender-create-offer {
  width: 100%;
  text-decoration: none;
}

.companies-layout {
  grid-template-columns: 204px minmax(0, 1fr) 204px;
  gap: 24px;
}

.companies-main-column {
  gap: 16px;
}

.companies-card {
  padding: 12px 16px;
}

.company-list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 102px 76px 55px 16px;
  gap: 24px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 0.5px solid var(--divider);
  color: var(--text);
}

.company-list-row-last {
  border-bottom: 0;
}

.company-list-name,
.company-list-rating,
.company-list-metric {
  display: grid;
  gap: 4px;
}

.company-list-name span,
.company-list-rating span,
.company-list-metric span,
.companies-sort-box strong {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.3px;
}

.company-list-name strong,
.company-list-rating strong,
.company-list-metric strong {
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  color: var(--text);
}

.company-list-rating em {
  font-style: normal;
  color: #2f7d57;
  letter-spacing: 1px;
}

.company-list-metric {
  text-align: right;
}

.company-list-arrow {
  position: relative;
  width: 16px;
  height: 20px;
}

.company-list-arrow::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 5px;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid #615f5f;
  border-right: 1.5px solid #615f5f;
  transform: rotate(45deg);
}

.companies-side-actions {
  padding-top: 62px;
}

.companies-sort-box {
  display: grid;
  gap: 8px;
}

.companies-sort-option {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text);
  font-size: 16px;
  line-height: 22px;
}

.companies-sort-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.companies-sort-check {
  position: relative;
  width: 24px;
  height: 24px;
  flex: none;
}

.companies-sort-check::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 20px;
  height: 20px;
  border: 1px solid #8a8a8a;
  border-radius: 4px;
  background: #fff;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.companies-sort-option-active .companies-sort-check::before {
  border-color: var(--brand);
  background: var(--brand);
}

.companies-sort-option-active .companies-sort-check::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 16px;
  height: 16px;
  background: url("../Subtract.svg") center/contain no-repeat;
}

@media (max-width: 900px) {
  .cabinet-view-dashboard,
  .cabinet-view-detail,
  .cabinet-view-settings,
  .cabinet-view-learning,
  .cabinet-view-edit {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 8px 88px;
  }

  .cabinet-sidebar,
  .cabinet-back-column,
  .cabinet-right-space,
  .cabinet-side-actions-sticky {
    display: none;
  }

  .cabinet-breadcrumbs-wide {
    display: none;
  }

  .cabinet-breadcrumbs-inline {
    display: block;
  }

  .cabinet-mobile-header {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 0 8px;
  }

  .cabinet-mobile-header strong {
    flex: 1;
    font-size: 22px;
    line-height: 28px;
    font-weight: 500;
  }

  .cabinet-view-profile-home {
    display: block;
    padding: 0 16px 98px;
  }

  .cabinet-view-profile-home .cabinet-mobile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: auto;
    padding: 16px 0 18px;
  }

  .cabinet-view-profile-home .cabinet-mobile-back {
    display: none;
  }

  .cabinet-view-profile-home .cabinet-mobile-security {
    display: block;
    order: 3;
    position: relative;
    width: 24px;
    height: 24px;
    margin-left: auto;
    flex: none;
  }

  .cabinet-view-profile-home .cabinet-mobile-security::before {
    content: "";
    position: absolute;
    inset: 2px 3px 1px;
    background: #b52414;
    clip-path: polygon(50% 0, 90% 14%, 90% 49%, 78% 74%, 50% 100%, 22% 74%, 10% 49%, 10% 14%);
    border-radius: 2px;
  }

  .cabinet-view-profile-home .cabinet-mobile-security::after {
    content: "";
    position: absolute;
    left: 9px;
    top: 8px;
    width: 6px;
    height: 3px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
  }

  .cabinet-view-profile-home .cabinet-mobile-header strong {
    position: relative;
    font-size: 0;
    line-height: 0;
  }

  .cabinet-view-profile-home .cabinet-mobile-header strong::after {
    content: "Профиль";
    font: 500 20px/24px "Roboto Flex", sans-serif;
    color: var(--text);
  }

  .cabinet-view-profile-home .cabinet-sidebar {
    display: block;
    width: 100%;
    padding-top: 0;
  }

  .cabinet-view-profile-home .cabinet-main-column,
  .cabinet-view-profile-home .cabinet-side-actions {
    display: none;
  }

  .cabinet-page-shell .auth-footer {
    display: none;
  }

  .cabinet-view-profile-home .cabinet-profile-card {
    gap: 8px;
    margin-bottom: 16px;
  }

  .cabinet-view-profile-home .cabinet-profile-logo {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    margin-bottom: 8px;
  }

  .cabinet-view-profile-home .cabinet-company-logo-mark {
    top: 25px;
    left: 12px;
    width: 31px;
    height: 5px;
  }

  .cabinet-view-profile-home .cabinet-company-logo-mark::before {
    width: 31px;
    height: 5px;
  }

  .cabinet-view-profile-home .cabinet-company-logo-mark::after {
    top: -1px;
    left: 11px;
    width: 8px;
    height: 8px;
  }

  .cabinet-view-profile-home .cabinet-profile-card strong {
    font: 600 16px/24px "IBM Plex Sans", sans-serif;
  }

  .cabinet-view-profile-home .cabinet-profile-card span {
    font-size: 14px;
    line-height: 20px;
    color: var(--text);
  }

  .cabinet-view-profile-home .cabinet-profile-card span:last-child {
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0.3px;
    color: var(--text-muted);
  }

  .cabinet-view-profile-home .cabinet-nav {
    gap: 0;
  }

  .cabinet-view-profile-home .cabinet-nav-link {
    padding: 12px;
    border-radius: 12px;
    font: 500 14px/20px "Roboto Flex", sans-serif;
    letter-spacing: 0.1px;
  }

  .cabinet-view-profile-home .cabinet-nav-link + .cabinet-nav-link {
    margin-top: 4px;
  }

  .cabinet-view-profile-home .cabinet-nav-link-active {
    background: #fff;
  }

  .cabinet-view-profile-home .cabinet-nav-link-exit {
    margin-top: 8px;
  }

  .cabinet-view-profile-home .cabinet-manager-card {
    display: grid;
    margin-top: 12px;
    box-shadow: none;
  }

  .cabinet-view-profile-home .cabinet-manager-row strong {
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
  }

  .cabinet-tender-title-link {
    font-size: 18px;
    line-height: 24px;
  }

  .cabinet-popup-panel {
    width: 100%;
    padding: 24px 16px;
    border-radius: 24px 24px 0 0;
  }

  .cabinet-popup-grid {
    grid-template-columns: 1fr;
  }

  .cabinet-doc-actions {
    justify-content: stretch;
  }

  .cabinet-upload-button {
    width: 100%;
  }

  .tender-detail-layout {
    grid-template-columns: 1fr;
  }

  .tender-detail-summary-head h1 {
    max-width: none;
    font-size: 24px;
    line-height: 32px;
  }

  .tender-detail-summary-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tender-detail-meta-cell-right,
  .tender-offer-metric {
    justify-items: start;
    text-align: left;
  }

  .tender-offer-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tender-offer-action {
    width: 100%;
  }

  .tender-detail-side {
    padding-top: 0;
  }

  .policies-layout {
    grid-template-columns: 1fr;
  }

  .employee-policies-layout {
    grid-template-columns: 1fr;
    padding: 16px 16px 0;
  }

  .employee-analytics-layout {
    grid-template-columns: 1fr;
    padding: 16px 16px 0;
  }

  .employee-program-layout {
    grid-template-columns: 1fr;
    padding: 16px 16px 0;
  }

  .employee-tenders-layout {
    grid-template-columns: 1fr;
    padding: 16px 16px 0;
  }

  .employee-tender-detail-layout {
    grid-template-columns: 1fr;
    padding: 16px 16px 0;
  }

  .employee-tender-back-column,
  .employee-tender-detail-side {
    padding-top: 0;
  }

  .employee-tender-detail-content {
    padding-top: 0;
  }

  .employee-tender-detail-summary-grid,
  .employee-tender-detail-offer-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .employee-tender-detail-metric {
    justify-items: start;
    text-align: left;
  }

  .employee-nav .cabinet-nav-link {
    min-height: 40px;
  }

  .employee-assistant-card {
    margin-top: 16px;
  }

  .employee-policy-card .policy-card-head {
    grid-template-columns: 56px minmax(0, 1fr) 24px 24px;
  }

  .employee-policy-extra-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .employee-side-actions {
    padding-top: 0;
  }

  .employee-analytics-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .employee-analytics-card {
    grid-template-columns: 1fr;
  }

  .employee-program-card {
    grid-template-columns: 1fr;
  }

  .employee-tenders-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .employee-tender-feed-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .employee-tender-feed-cell-right,
  .employee-tender-feed-cell-status {
    text-align: left;
  }

  .employee-program-header {
    grid-template-columns: 24px 1fr;
  }

  .employee-program-actions {
    grid-column: 1 / -1;
  }

  .employee-program-row {
    grid-template-columns: 24px 1fr;
  }

  .employee-program-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding-top: 32px;
  }

  .employee-program-pagination,
  .employee-program-page-size {
    flex-wrap: wrap;
  }

  .employee-program-side {
    padding-top: 0;
  }

  .employee-product-title {
    max-width: none;
    padding-right: 20px;
  }

  .employee-chart-toolbar {
    grid-template-columns: 24px minmax(0, 1fr) 24px 24px;
    gap: 12px;
  }

  .employee-chart-weekdays {
    font-size: 14px;
    line-height: 18px;
  }

  .employee-chart-area {
    min-height: 260px;
    overflow: hidden;
  }

  .employee-chart-marker-line {
    left: 78px;
    height: 226px;
  }

  .employee-chart-marker-dot {
    left: 71px;
  }

  .employee-chart-tooltip {
    left: 96px;
    width: 150px;
  }

  .policy-card-head {
    grid-template-columns: 24px 56px minmax(0, 1fr) 24px 24px;
    gap: 12px;
  }

  .policy-logo-box {
    width: 56px;
    height: 40px;
  }

  .policy-main-row,
  .policy-extra-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .policy-main-meta-right {
    justify-items: start;
    text-align: left;
  }

  .policies-side-actions {
    padding-top: 0;
  }

  .companies-layout {
    grid-template-columns: 1fr;
  }

  .company-list-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .company-list-metric {
    text-align: left;
  }

  .companies-side-actions {
    padding-top: 0;
  }

  .cabinet-mobile-back,
  .cabinet-mobile-edit {
    width: 24px;
    height: 24px;
    position: relative;
    flex: none;
  }

  .cabinet-mobile-back::before {
    content: "";
    position: absolute;
    inset: 7px 8px 7px 6px;
    border-left: 1.5px solid var(--text);
    border-bottom: 1.5px solid var(--text);
    transform: rotate(45deg);
  }

  .cabinet-mobile-edit::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 12px;
    width: 14px;
    height: 2px;
    background: var(--text);
    transform: rotate(-35deg);
  }

  .cabinet-section-head,
  .cabinet-policy-summary,
  .cabinet-policy-summary-meta,
  .cabinet-card-actions,
  .cabinet-pagination,
  .cabinet-chip-tabs {
    flex-direction: column;
    align-items: stretch;
  }

  .cabinet-page-label {
    margin-top: 8px;
  }

  .cabinet-page-title {
    font-size: 28px;
    line-height: 32px;
  }

  .cabinet-surface-card,
  .cabinet-card,
  .cabinet-summary-card,
  .cabinet-learning-card {
    border-radius: 20px;
    padding: 16px;
  }

  .cabinet-tender-grid,
  .cabinet-tender-grid-wide,
  .cabinet-policy-grid,
  .cabinet-stat-grid,
  .cabinet-summary-grid,
  .cabinet-learning-preview,
  .cabinet-offer-row,
  .cabinet-company-row {
    grid-template-columns: 1fr;
  }

  .cabinet-tender-top,
  .cabinet-tender-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cabinet-tender-top-actions {
    justify-content: space-between;
  }

  .cabinet-tender-org {
    align-items: flex-start;
  }

  .cabinet-tender-side,
  .cabinet-tender-side:first-of-type {
    width: auto;
    text-align: left;
  }

  .cabinet-tender-create {
    width: 100%;
  }
}

.auth-page-shell {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 16px);
}

.auth-profile-chip {
  text-decoration: none;
}

.auth-page {
  flex: 1;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 16px;
  padding: 40px 80px 56px;
}

.auth-top {
  width: 100%;
  display: flex;
  justify-content: center;
}

.auth-mobile-title {
  display: none;
}

.auth-tabs {
  width: 442px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border: 0.5px solid var(--divider);
  border-radius: 12px;
  background: var(--surface-soft);
}

.auth-tab {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font: 400 16px/22px "Roboto Flex", sans-serif;
  letter-spacing: 0.1px;
  cursor: pointer;
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.auth-tab-active {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 18px rgba(47, 110, 77, 0.18);
}

.auth-card {
  width: 442px;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.auth-card-form {
  display: grid;
  gap: 40px;
}

.auth-card-form-insurer {
  gap: 16px;
}

.auth-card-secondary {
  display: grid;
  gap: 16px;
}

.auth-card-compact {
  display: grid;
  gap: 24px;
}

.auth-card-success {
  gap: 16px;
}

.auth-card-head {
  display: grid;
  gap: 8px;
}

.auth-card-head-back {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
}

.auth-title {
  margin: 0;
  font: 500 24px/32px "IBM Plex Sans", sans-serif;
  color: #1f1f22;
}

.auth-copy {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.1px;
}

.auth-copy a,
.auth-legal a,
.auth-footer-links a {
  color: #002775;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-form {
  display: grid;
  gap: 24px;
}

.auth-form-tight {
  gap: 16px;
}

.auth-field {
  position: relative;
  display: grid;
  gap: 4px;
}

.auth-field-label {
  position: absolute;
  top: -10px;
  left: 11px;
  z-index: 1;
  padding: 0 4px;
  border-radius: 4px;
  background: #fff;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.3px;
}

.auth-field-label-active {
  color: #002775;
}

.auth-field-label-brand {
  color: var(--brand);
}

.auth-field-control {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--divider);
  border-radius: 12px;
  background: var(--bg);
}

.auth-field-active .auth-field-control {
  border: 2px solid #002775;
  background: #fff;
}

.auth-field-brand .auth-field-control {
  border: 2px solid var(--brand);
  background: #fff;
}

.auth-field-invalid .auth-field-control {
  border-color: #cc2f2f;
}

.auth-field input {
  width: 100%;
  min-width: 0;
  padding: 12px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: 400 16px/22px "Roboto Flex", sans-serif;
  letter-spacing: 0.1px;
}

.auth-field-help {
  display: none;
  padding: 0 16px 4px;
  color: var(--brand);
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.3px;
}

.auth-field-brand .auth-field-help {
  display: block;
}

.auth-field-invalid .auth-field-help {
  color: #cc2f2f;
}

.auth-field-clear,
.auth-field-toggle,
.auth-back {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.auth-back {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f4f6ff;
}

.auth-back::before,
.auth-back::after {
  content: "";
  position: absolute;
  left: 10px;
  width: 10px;
  height: 1.5px;
  border-radius: 999px;
  background: #212121;
}

.auth-back::before {
  top: 11px;
  transform: rotate(-45deg);
}

.auth-back::after {
  top: 17px;
  transform: rotate(45deg);
}

.auth-field-clear::before,
.auth-field-clear::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 3px;
  width: 1.5px;
  height: 14px;
  border-radius: 999px;
  background: #615f5f;
}

.auth-field-clear::before {
  transform: rotate(45deg);
}

.auth-field-clear::after {
  transform: rotate(-45deg);
}

.auth-field-toggle::before,
.auth-field-toggle::after {
  content: "";
  position: absolute;
}

.auth-field-toggle::before {
  inset: 4px 1px;
  border: 1.5px solid #615f5f;
  border-radius: 12px / 8px;
}

.auth-field-toggle::after {
  top: 9px;
  left: 4px;
  width: 12px;
  height: 1.5px;
  background: #615f5f;
  transform: rotate(-35deg);
  border-radius: 999px;
}

.auth-password-visible .auth-field-toggle::after {
  opacity: 0;
}

.auth-password-visible .auth-field-toggle::before {
  inset: 5px 2px;
}

.auth-inline-link {
  justify-self: start;
  padding: 0;
  background: transparent;
  color: var(--brand);
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0.1px;
  cursor: pointer;
}

.auth-inline-link-muted {
  color: var(--text-muted);
}

.auth-submit {
  width: fit-content;
  min-width: 143px;
  min-height: 48px;
  border-radius: 8px;
}

.auth-secondary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--divider);
  border-radius: 8px;
  color: var(--brand);
  font: 500 16px/20px "Roboto Flex", sans-serif;
  letter-spacing: 0.15px;
}

.auth-legal {
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.3px;
  text-align: center;
}

.auth-address-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px 48px;
  gap: 8px;
}

.auth-address-grid-wide {
  grid-template-columns: minmax(0, 1fr) 48px 48px;
}

.auth-address-main {
  min-width: 0;
}

.auth-address-small .auth-field-control {
  justify-content: center;
}

.auth-address-small input {
  text-align: center;
}

.auth-success-icon {
  box-shadow: none;
}

.auth-card-form-insurer .auth-form {
  gap: 16px;
}

.auth-card-form-insurer .auth-submit {
  min-width: 143px;
}

.auth-submit-wide {
  width: fit-content;
  min-width: 143px;
  min-height: 24px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.auth-footer {
  margin-top: auto;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 16px 40px;
  border-top: 0.5px solid var(--divider);
  color: var(--text-muted);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.1px;
}

.auth-footer-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

[data-auth-view][hidden] {
  display: none;
}

@media (max-width: 900px) {
  .auth-page-shell {
    padding-bottom: 0;
  }

  .auth-page {
    gap: 12px;
    padding: 20px 12px 32px;
    justify-items: stretch;
  }

  .auth-tabs,
  .auth-card {
    width: 100%;
    max-width: 442px;
  }

  .auth-card {
    padding: 20px 16px;
  }

  .auth-mobile-title {
    display: block;
    width: 100%;
    max-width: 442px;
    margin: 0 auto;
    color: var(--text);
    font: 500 20px/24px "Roboto Flex", sans-serif;
  }

  .auth-top {
    justify-content: stretch;
  }

  .auth-tabs {
    max-width: 442px;
    margin: 0 auto;
    padding: 4px;
    border-radius: 12px;
  }

  .auth-tab {
    min-height: 40px;
    padding: 8px;
    font-size: 14px;
    line-height: 20px;
  }

  .auth-tab-active {
    background: #fff;
    color: var(--text);
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.06);
  }

  .auth-title {
    font-size: 22px;
    line-height: 28px;
  }

  .auth-card-form-insurer {
    gap: 24px;
    padding: 12px;
    border-radius: 16px;
  }

  .auth-card-form-insurer .auth-card-head {
    gap: 0;
  }

  .auth-card-form-insurer .auth-title {
    font-size: 20px;
    line-height: 24px;
  }

  .auth-card-form-insurer .auth-form {
    gap: 24px;
  }

  .auth-card-form-insurer .auth-field-control {
    min-height: 46px;
    border-width: 1px;
    border-radius: 12px;
    background: var(--bg);
  }

  .auth-card-form-insurer .auth-field-active .auth-field-control {
    border-color: var(--divider);
    background: var(--bg);
  }

  .auth-card-form-insurer .auth-field-label {
    color: var(--text-muted);
  }

  .auth-card-form-insurer .auth-submit-wide {
    width: 200px;
    min-width: 200px;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 12px;
  }

  .auth-address-grid {
    grid-template-columns: minmax(0, 1fr) 56px 56px;
  }

  .auth-address-grid-wide {
    grid-template-columns: minmax(0, 1fr) 48px 48px;
  }

  .auth-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 12px 24px;
  }

  .auth-footer-links {
    margin-left: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.cabinet-page-shell {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 16px);
}

.cabinet-page {
  flex: 1;
  display: grid;
}

.cabinet-view {
  min-width: 0;
}

.cabinet-view-settings {
  display: grid;
  grid-template-columns: 204px minmax(0, 888px) 204px;
  gap: 24px;
  padding: 16px 24px 24px;
  align-items: start;
  justify-content: center;
}

.cabinet-sidebar {
  padding-top: 8px;
  width: 204px;
}

.cabinet-profile-card {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 20px;
  color: var(--text);
}

.cabinet-profile-card strong {
  font-weight: 600;
}

.cabinet-profile-card span {
  color: var(--text-muted);
}

.cabinet-profile-logo {
  position: relative;
  display: block;
  width: 38px;
  height: 38px;
  border: 0.5px solid var(--divider);
  border-radius: 8px;
  background: #fff;
  flex: none;
  overflow: hidden;
}

.cabinet-nav {
  display: grid;
  gap: 6px;
}

.cabinet-nav-link {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 20px;
}

.cabinet-nav-link-active {
  background: rgba(47, 110, 77, 0.1);
  color: var(--brand);
}

.cabinet-nav-link-exit {
  color: var(--brand);
}

.cabinet-mobile-security,
.cabinet-manager-card {
  display: none;
}

.cabinet-manager-card {
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
}

.cabinet-manager-copy {
  display: grid;
  gap: 4px;
}

.cabinet-manager-copy strong,
.cabinet-manager-row strong {
  font: 500 16px/20px "Roboto Flex", sans-serif;
  color: var(--text);
}

.cabinet-manager-copy span {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.3px;
}

.cabinet-manager-separator {
  height: 1px;
  background: #ede8f3;
}

.cabinet-manager-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cabinet-manager-socials {
  display: flex;
  gap: 8px;
  margin-left: 32px;
}

.cabinet-manager-social {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex: none;
}

.cabinet-manager-social-whatsapp {
  background: #57be63;
}

.cabinet-manager-social-telegram {
  background: #2aabee;
}

.cabinet-manager-social::before,
.cabinet-manager-social::after,
.cabinet-manager-icon::before,
.cabinet-manager-icon::after {
  content: "";
  position: absolute;
}

.cabinet-manager-social-whatsapp::before {
  left: 7px;
  top: 6px;
  width: 8px;
  height: 8px;
  border: 1.5px solid #fff;
  border-radius: 50%;
}

.cabinet-manager-social-whatsapp::after {
  left: 10px;
  top: 13px;
  width: 5px;
  height: 5px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg);
}

.cabinet-manager-social-telegram::before {
  left: 6px;
  top: 6px;
  width: 11px;
  height: 10px;
  background: #fff;
  clip-path: polygon(0 48%, 100% 0, 72% 100%, 45% 64%);
}

.cabinet-manager-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex: none;
}

.cabinet-manager-icon-phone::before {
  left: 3px;
  top: 2px;
  width: 12px;
  height: 12px;
  border: 1.6px solid #dd3b2f;
  border-radius: 999px;
}

.cabinet-manager-icon-phone::after {
  left: 8px;
  top: 6px;
  width: 4px;
  height: 8px;
  border-left: 1.6px solid #dd3b2f;
  border-right: 1.6px solid #dd3b2f;
  border-radius: 2px;
}

.cabinet-manager-icon-mail::before {
  left: 1px;
  top: 4px;
  width: 16px;
  height: 12px;
  border: 1.5px solid #dd3b2f;
  border-radius: 3px;
}

.cabinet-manager-icon-mail::after {
  left: 4px;
  top: 7px;
  width: 10px;
  height: 6px;
  border-left: 1.5px solid #dd3b2f;
  border-bottom: 1.5px solid #dd3b2f;
  transform: rotate(-45deg) skew(12deg, 12deg);
}

.cabinet-content {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
  width: 100%;
  grid-column: 2;
}

.cabinet-summary-card,
.cabinet-card,
.cabinet-learning-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

.cabinet-summary-card {
  padding: 16px 18px 14px;
}

.cabinet-summary-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) repeat(3, minmax(120px, 1fr)) auto;
  gap: 20px;
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 0.5px solid var(--divider);
}

.cabinet-summary-main {
  display: grid;
  gap: 6px;
  max-width: 190px;
  font-size: 13px;
  line-height: 18px;
}

.cabinet-summary-main strong {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.cabinet-summary-main span,
.cabinet-summary-item span {
  color: var(--text-muted);
}

.cabinet-summary-item {
  display: grid;
  gap: 4px;
  font-size: 13px;
  line-height: 18px;
}

.cabinet-summary-item strong {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.cabinet-summary-edit {
  align-self: start;
}

.cabinet-summary-actions {
  padding-top: 12px;
}

.cabinet-outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--divider);
  border-radius: 8px;
  background: #fff;
  color: var(--brand);
  font: 500 14px/20px "Roboto Flex", sans-serif;
  letter-spacing: 0.1px;
  cursor: pointer;
}

.cabinet-card {
  padding: 14px 18px 12px;
}

.cabinet-card-title {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 0.5px solid var(--divider);
  font: 500 20px/24px "Roboto Flex", sans-serif;
}

.cabinet-settings-list,
.cabinet-doc-list,
.cabinet-contact-list {
  display: grid;
}

.cabinet-setting-row,
.cabinet-doc-row,
.cabinet-contact-row {
  display: grid;
  align-items: center;
  border-bottom: 0.5px solid var(--divider);
}

.cabinet-setting-row {
  grid-template-columns: auto 1fr;
  gap: 12px;
  min-height: 64px;
}

.cabinet-setting-row-telegram {
  grid-template-columns: auto minmax(160px, 1fr) minmax(240px, 300px);
  gap: 14px;
  padding: 12px 0;
}

.cabinet-setting-copy {
  display: grid;
  gap: 4px;
}

.cabinet-setting-copy small {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.3px;
}

.cabinet-mini-field {
  position: relative;
  display: grid;
}

.cabinet-mini-field span {
  position: absolute;
  top: -9px;
  left: 11px;
  padding: 0 4px;
  background: #fff;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 14px;
}

.cabinet-mini-field input,
.cabinet-field input {
  width: 100%;
  min-height: 46px;
  padding: 12px;
  border: 1px solid var(--divider);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/22px "Roboto Flex", sans-serif;
}

.cabinet-switch {
  position: relative;
  width: 44px;
  height: 28px;
  padding: 0;
  border-radius: 100px;
  background: #b7b7b7;
  cursor: pointer;
  transition: background-color 0.18s ease;
}

.cabinet-switch span {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16);
  transition: transform 0.18s ease;
}

.cabinet-switch span::before,
.cabinet-switch span::after {
  content: "";
  position: absolute;
  transition: opacity 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.cabinet-switch span::before {
  left: 11px;
  top: 5px;
  width: 1.5px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: #8f8f8f;
  transform: rotate(45deg);
  opacity: 1;
}

.cabinet-switch span::after {
  left: 10px;
  top: 5px;
  width: 1.5px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: #8f8f8f;
  transform: rotate(-45deg);
  opacity: 1;
}

.cabinet-switch-active {
  background: var(--brand);
}

.cabinet-switch-active span {
  transform: translateX(16px);
  background: #fff;
}

.cabinet-switch-active span::before {
  left: 9px;
  top: 6px;
  width: 5px;
  height: 10px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  border-radius: 0;
  background: transparent;
  transform: rotate(45deg) scale(0.9);
  opacity: 1;
}

.cabinet-switch-active span::after {
  opacity: 0;
}

.cabinet-doc-row {
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 20px;
  padding: 16px 0;
}

.cabinet-doc-copy {
  display: grid;
  gap: 2px;
}

.cabinet-doc-copy strong {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.cabinet-doc-copy span {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.3px;
}

.cabinet-doc-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cabinet-file-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 6px 10px;
  border-radius: 12px;
  background: #f4f6ff;
  color: #002775;
  font-size: 14px;
  line-height: 20px;
}

.cabinet-file-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 28px;
  border-radius: 6px;
  background: #d83d2f;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}

.cabinet-file-delete {
  position: relative;
  width: 14px;
  height: 14px;
}

.cabinet-file-delete::before,
.cabinet-file-delete::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 1px;
  width: 1.5px;
  height: 12px;
  background: #e9743a;
}

.cabinet-file-delete::before {
  transform: rotate(45deg);
}

.cabinet-file-delete::after {
  transform: rotate(-45deg);
}

.cabinet-view-learning,
.cabinet-view-edit {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr) 148px;
  gap: 48px;
  padding: 16px 24px 24px;
}

.cabinet-view-edit {
  grid-template-columns: 204px minmax(0, 1fr) 204px;
  gap: 24px;
  padding: 24px 40px 24px;
}

.cabinet-back-column {
  padding-top: 8px;
  width: 204px;
}

.cabinet-back-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 32px;
  padding: 15px 12px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-card);
  font-size: 14px;
  line-height: 20px;
}

.cabinet-back-card::before {
  content: "";
  width: 8px;
  height: 8px;
  border-left: 1.5px solid #212121;
  border-bottom: 1.5px solid #212121;
  transform: rotate(45deg);
}

.cabinet-learning-content,
.cabinet-edit-content {
  min-width: 0;
  display: grid;
  gap: 16px;
  align-content: start;
}

.cabinet-breadcrumbs {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 20px;
}

.cabinet-breadcrumbs-simple {
  font-size: 16px;
  line-height: 22px;
}

.cabinet-learning-card {
  padding: 16px 18px 12px;
}

.cabinet-learning-card h1 {
  margin: 0 0 18px;
  font: 500 57px/64px "Roboto Flex", sans-serif;
  letter-spacing: -0.25px;
}

.cabinet-learning-image {
  margin-bottom: 20px;
  border-radius: 24px;
  overflow: hidden;
}

.cabinet-learning-image img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.cabinet-learning-copy {
  font-size: 16px;
  line-height: 22px;
}

.cabinet-learning-copy p {
  margin: 0 0 18px;
}

.cabinet-learning-copy ul {
  margin: 0;
  padding-left: 18px;
}

.cabinet-learning-copy li + li {
  margin-top: 8px;
}

.cabinet-edit-form {
  display: grid;
  gap: 18px;
}

.cabinet-field {
  position: relative;
  display: grid;
}

.cabinet-field span {
  position: absolute;
  top: -9px;
  left: 11px;
  padding: 0 4px;
  background: #fff;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.3px;
}

.cabinet-field select {
  width: 100%;
  min-height: 46px;
  padding: 12px;
  border: 1px solid var(--divider);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/22px "Roboto Flex", sans-serif;
  appearance: none;
}

.cabinet-field-select::after,
.cabinet-field-calendar::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 19px;
}

.cabinet-field-select::after {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #615f5f;
  border-bottom: 1.5px solid #615f5f;
  transform: rotate(45deg);
}

.cabinet-field-calendar::after {
  width: 16px;
  height: 16px;
  border: 1.5px solid #615f5f;
  border-radius: 4px;
  box-sizing: border-box;
}

.cabinet-field-select select,
.cabinet-field-calendar input {
  padding-right: 42px;
}

.cabinet-address-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px 88px;
  gap: 8px;
}

.cabinet-contact-list {
  gap: 0;
}

.cabinet-contact-row {
  grid-template-columns: minmax(240px, 294px) minmax(200px, 1fr) auto;
  gap: 12px;
  min-height: 82px;
  padding: 16px 0;
}

.cabinet-contact-copy {
  display: grid;
  gap: 4px;
}

.cabinet-contact-copy strong {
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
}

.cabinet-contact-copy span {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.3px;
}

.cabinet-add-contact {
  margin-top: 16px;
  width: fit-content;
}

.cabinet-save-bar {
  padding-top: 8px;
}

.cabinet-save-button {
  min-width: 145px;
  min-height: 46px;
}

.cabinet-view-edit .cabinet-card {
  padding: 16px 18px 12px;
}

.cabinet-view-edit .cabinet-card-title {
  margin-bottom: 18px;
}

.cabinet-view-edit .cabinet-back-card {
  min-height: 32px;
  padding: 6px 12px;
  box-shadow: none;
}

.cabinet-password-card {
  width: 442px;
  box-shadow: var(--shadow-card);
}

.modal-dialog-auth {
  width: min(100%, 442px);
}

@media (max-width: 900px) {
  .cabinet-view-settings,
  .cabinet-view-learning,
  .cabinet-view-edit {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 12px 12px 32px;
  }

  .cabinet-sidebar,
  .cabinet-back-column,
  .cabinet-right-space {
    display: none;
  }

  .cabinet-summary-grid,
  .cabinet-doc-row,
  .cabinet-contact-row,
  .cabinet-setting-row-telegram {
    grid-template-columns: 1fr;
  }

  .cabinet-doc-actions {
    justify-content: flex-start;
  }

  .cabinet-learning-card h1 {
    font-size: 34px;
    line-height: 40px;
  }

  .cabinet-card,
  .cabinet-summary-card,
  .cabinet-learning-card {
    padding: 16px;
  }

  .cabinet-address-grid {
    grid-template-columns: 1fr 80px 80px;
  }

  .cabinet-password-card {
    width: 100%;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Roboto Flex", sans-serif;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  font: inherit;
}

.page-shell {
  max-width: calc(var(--content-width) + 16px);
  margin: 0 auto;
  padding: 8px;
}

.hero,
.section,
.footer {
  border-radius: var(--radius-xl);
}

.hero {
  min-height: 720px;
  padding: 16px 40px 40px;
  background:
    radial-gradient(circle at 18% 50%, rgba(0, 0, 0, 0.9) 0%, rgba(4, 16, 10, 0.78) 28%, rgba(17, 48, 33, 0.36) 60%, rgba(47, 110, 77, 0.18) 100%),
    url("./home/image/hero-bg.jpg") center/cover;
  overflow: hidden;
  color: #fff;
  position: relative;
}

.topbar,
.topbar-side,
.main-nav,
.hero-features,
.products-grid,
.about-shell,
.steps-grid,
.insights-featured,
.faq-grid,
.footer-main,
.footer-bottom,
.footer-bottom-links,
.footer-socials,
.button-row,
.filters,
.partners-row {
  display: flex;
}

.topbar {
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.topbar-side,
.main-nav,
.button-row,
.filters,
.footer-socials {
  gap: 16px;
  align-items: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-image {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.logo-svg {
  display: block;
  width: 163px;
  height: 46px;
  max-width: none;
  flex: none;
  object-fit: contain;
}

.mobile-hero-search {
  display: none;
}

.logo-image-compact .logo-svg-compact,
.logo-svg-compact {
  width: 80px;
  height: 24px;
}

.logo-lockup {
  gap: 10px;
}

.logo-lockup-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #78a249;
  position: relative;
  flex: none;
  overflow: hidden;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.04);
}

.logo-lockup-mark::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 48%;
  width: 2px;
  background: rgba(27, 38, 31, 0.9);
}

.logo-lockup-mark::after {
  content: "";
  position: absolute;
  inset: 5px 4px 5px 52%;
  background:
    linear-gradient(-36deg, transparent 0 34%, rgba(27, 38, 31, 0.9) 34% 42%, transparent 42% 100%),
    linear-gradient(-36deg, transparent 0 60%, rgba(27, 38, 31, 0.9) 60% 68%, transparent 68% 100%);
  border-radius: 0 12px 12px 0;
}

.logo-lockup-text {
  color: #fff;
  font-size: 18px;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.logo-lockup-text-dark {
  color: var(--text);
}

.logo-mark {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.logo-word {
  width: 103px;
  height: auto;
}

.logo-full {
  width: 163px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.logo-lockup-footer .logo-lockup-text {
  color: #fff;
}

.chip {
  min-height: 36px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.chip-glass {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.chip-glass:hover {
  background: rgba(255, 255, 255, 0.12);
}

.chip-light {
  background: var(--surface-soft);
  color: var(--text);
}

.chip-language {
  background: #fff;
  color: var(--text);
  align-self: flex-start;
}

.chip-caret {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid rgba(255, 255, 255, 0.95);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.95);
  transform: rotate(45deg) translateY(-1px);
  flex: none;
}

.chip-caret-dark {
  border-color: rgba(33, 33, 33, 0.82);
}

.chip-location {
  padding-left: 10px;
}

.chip-icon {
  position: relative;
  display: inline-block;
  flex: none;
}

.chip-icon-location {
  width: 16px;
  height: 16px;
}

.chip-icon-location::before {
  content: "";
  position: absolute;
  inset: 1px 3px 3px;
  border: 1.5px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.chip-icon-location::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  left: 6px;
  top: 5px;
}

.profile-dot {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(108deg, #002775 36%, #ff732c 112%);
  position: relative;
  flex: none;
}

.profile-dot::after {
  content: "";
  position: absolute;
  inset: 5px 6px 5px 5px;
  border-radius: 50% 50% 50% 0;
  background: #fff;
  transform: rotate(-30deg);
}

.profile-icon-img {
  width: 20px;
  height: 20px;
  flex: none;
  display: block;
  object-fit: contain;
}

.main-nav {
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
}

.main-nav a {
  font-size: 16px;
  line-height: 22px;
}

.search-button {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  border-radius: 999px;
}

.search-icon {
  width: 14px;
  height: 14px;
  border: 1.6px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  position: relative;
}

.search-icon::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 1.6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  right: -5px;
  bottom: -2px;
  transform: rotate(45deg);
}

.hero-content {
  min-height: calc(720px - 76px - 32px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.hero-copy {
  width: 772px;
  max-width: 100%;
}

.hero-copy h1 {
  margin: 0 0 4px;
  font-size: clamp(42px, 4.4vw, 57px);
  line-height: 64px;
  letter-spacing: -0.25px;
  font-weight: 500;
}

.hero-text {
  margin: 0 0 40px;
  font-size: 24px;
  line-height: 32px;
  max-width: 760px;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.hero-feature {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  font-size: 12px;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.86);
  transition: opacity 0.18s ease;
}

.hero-feature:hover {
  opacity: 1;
}

.hero-feature-icon {
  width: 24px;
  height: 24px;
  flex: none;
  margin-top: -1px;
  object-fit: contain;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.2));
}

.hero-feature-icon-mail {
  width: 24px;
  height: 24px;
}

.button {
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
  transition: transform 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--brand);
  color: #fff;
}

.cabinet-page-shell .button-primary {
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.1px;
}

.button-primary:hover {
  background: var(--brand-hover);
}

.button-outline {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--divider);
}

.button-small {
  min-height: 48px;
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  font-size: 16px;
  line-height: 20px;
}

.content {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.section {
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.section-products {
  padding: 40px;
}

.products-grid {
  gap: 16px;
  flex-wrap: wrap;
}

.product-card {
  width: 324px;
  min-width: 0;
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  flex: 1 1 300px;
  display: block;
}

.card-link {
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.product-copy {
  padding: 24px 24px 0;
  min-height: 174px;
}

.product-copy h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.18;
  font-weight: 400;
}

.product-art {
  height: 258px;
}

.product-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inner-layout,
.contacts-info-grid,
.contacts-office,
.products-grid,
.about-shell,
.footer-main {
  min-width: 0;
}

.section-about {
  padding: 40px;
}

.about-shell {
  min-height: 700px;
  overflow: hidden;
  border-radius: 40px;
}

.about-benefits {
  width: 506px;
  min-height: 700px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.56)),
    url("./home/image/about-bg.jpg") center/cover;
  color: #fff;
  flex: none;
}

.about-benefits-inner {
  padding: 80px 40px;
}

.about-benefits h2,
.section-title h2,
.partners-header h2 {
  margin: 0 0 40px;
  font-size: clamp(40px, 4vw, 57px);
  line-height: 64px;
  letter-spacing: -0.25px;
  font-weight: 500;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-height: 64px;
  margin-bottom: 24px;
}

.benefit-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex: none;
}

.benefit-item p {
  margin: 0;
  font-size: 24px;
  line-height: 32px;
}

.about-card {
  flex: 1;
  background: #fff;
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-quote {
  margin: 0;
  max-width: 678px;
  font-size: 36px;
  line-height: 1.3;
  font-weight: 400;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.stat-card {
  max-width: 512px;
}

.stat-short {
  min-width: 126px;
}

.stat-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--brand);
  font-size: 45px;
  line-height: 52px;
  font-weight: 600;
}

.stat-card span {
  display: block;
  color: var(--text-muted);
  font-size: 24px;
  line-height: 32px;
}

.section-steps {
  padding: 80px;
}

.section-title h2 {
  margin-bottom: 24px;
}

.steps-grid {
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.step-card {
  flex: 1 1 360px;
  min-height: 316px;
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.step-index {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 24px;
}

.step-card h3 {
  margin: 0;
  max-width: 360px;
  color: var(--brand);
  font-size: 36px;
  line-height: 1.18;
  font-weight: 400;
}

.step-art {
  width: 200px;
  height: 200px;
  object-fit: cover;
  align-self: flex-end;
  margin-top: auto;
}

.section-partners {
  padding: 80px;
}

.partners-header {
  width: 660px;
  max-width: 100%;
  margin: 0 auto 40px;
  text-align: center;
}

.partners-header h2 {
  margin-bottom: 8px;
}

.partners-header p {
  margin: 0;
  font-size: 16px;
  line-height: 22px;
}

.partners-row {
  justify-content: center;
  align-items: center;
  gap: 0;
  filter: drop-shadow(0 10px 60px rgba(0, 0, 0, 0.1));
  flex-wrap: wrap;
}

.partners-row img {
  width: auto;
  height: 118px;
}

.partner-link {
  border-radius: 999px;
  transition: transform 0.18s ease, filter 0.18s ease;
  display: inline-block;
}

.partner-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.section-insights {
  padding: 40px 80px;
}

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

.filters {
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px;
  border-radius: 4px;
  font-size: 16px;
  line-height: 22px;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.filter:hover {
  background: rgba(47, 110, 77, 0.05);
  color: var(--brand);
}

.filter.active {
  background: rgba(47, 110, 77, 0.08);
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.insights-featured {
  gap: 16px;
  flex-wrap: wrap;
}

.insight-card {
  width: 410px;
  min-height: 346px;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 360px;
}

.insight-content h3 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 36px;
  font-weight: 600;
}

.insight-content p {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 22px;
}

.section-faq {
  padding: 80px;
}

.faq-grid {
  flex-wrap: wrap;
  gap: 24px;
}

.faq-item {
  width: 298px;
  flex: 1 1 260px;
  display: block;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
}

.faq-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 20px;
}

.faq-item-accent h3 {
  color: var(--brand);
}

.footer {
  margin-top: 8px;
  padding: 40px;
  background: #212121;
  color: #fff;
}

.footer-main {
  gap: 24px;
  align-items: flex-start;
}

.footer-brand {
  width: 432px;
  flex: none;
}

.logo-footer {
  margin-bottom: 16px;
}

.footer-brand p {
  margin: 0 0 16px;
  color: var(--text-footer);
  font-size: 14px;
  line-height: 20px;
}

.footer-links {
  display: grid;
  gap: 16px;
  min-width: 140px;
  padding-top: 2px;
}

.footer-links a {
  font-size: 16px;
  line-height: 22px;
}

.footer-contact {
  margin-left: auto;
  width: 431px;
}

.footer-phone {
  display: block;
  margin-bottom: 4px;
  font-size: 36px;
  line-height: 1.1;
}

.footer-contact p {
  margin: 0 0 24px;
  color: var(--text-footer);
  font-size: 14px;
  line-height: 20px;
}

.footer-social-title {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.3px;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.8);
}

.footer-socials {
  gap: 12px;
}

.footer-socials img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 999px;
}

.footer-socials a {
  border-radius: 999px;
  transition: transform 0.18s ease, opacity 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #4b4b4b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.footer-socials a:hover {
  transform: translateY(-1px);
  opacity: 1;
  background: #555555;
}

.modal-open {
  overflow: hidden;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(33, 33, 33, 0.38);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  width: min(100%, 442px);
  position: relative;
}

.modal-panel {
  display: grid;
  gap: 24px;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 0 2px rgba(0, 0, 0, 0.03);
}

.modal-dialog-success .modal-panel {
  gap: 40px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  background: transparent;
  cursor: pointer;
}

.modal-close::before,
.modal-close::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 4px;
  width: 1.5px;
  height: 16px;
  background: #615f5f;
  border-radius: 999px;
}

.modal-close::before {
  transform: rotate(45deg);
}

.modal-close::after {
  transform: rotate(-45deg);
}

.modal-title {
  margin: 0;
  font: 500 24px/32px "IBM Plex Sans", sans-serif;
  color: #1f1f22;
}

.insurance-form {
  display: grid;
  gap: 24px;
}

.modal-client-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.modal-label {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.modal-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.modal-radio-mark {
  width: 24px;
  height: 24px;
  border: 1.5px solid #615f5f;
  border-radius: 50%;
  position: relative;
  flex: none;
}

.modal-radio-active .modal-radio-mark {
  border-color: var(--brand);
}

.modal-radio-active .modal-radio-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.modal-field {
  position: relative;
  display: grid;
  gap: 8px;
}

.modal-field > span {
  position: absolute;
  left: 12px;
  top: -10px;
  padding: 0 4px;
  background: #fff;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.3px;
}

.modal-field input,
.modal-field select,
.modal-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px;
  border: 1px solid var(--divider);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/22px "Roboto Flex", sans-serif;
}

.modal-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #615f5f 50%),
    linear-gradient(135deg, #615f5f 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 20px,
    calc(100% - 12px) 20px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.modal-field textarea {
  min-height: 77px;
  resize: vertical;
}

.modal-consent {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0;
  background: transparent;
  text-align: left;
  color: var(--text);
  cursor: pointer;
}

.modal-consent-switch {
  width: 44px;
  height: 28px;
  border-radius: 999px;
  background: #b7b7b7;
  position: relative;
  flex: none;
  transition: background-color 0.18s ease;
}

.modal-consent-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  transition: transform 0.18s ease;
}

.modal-consent-switch::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  width: 5px;
  height: 10px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg);
  transition: opacity 0.18s ease;
  opacity: 0;
  z-index: 1;
}

.modal-toggle-active .modal-consent-switch {
  background: var(--brand);
}

.modal-toggle-active .modal-consent-switch::after {
  transform: translateX(16px);
  background: #fff;
}

.modal-toggle-active .modal-consent-switch::before {
  opacity: 1;
  transform: translateX(16px) rotate(45deg);
}

.modal-submit,
.modal-success-button {
  width: fit-content;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 16px;
  line-height: 20px;
}

.modal-panel-success {
  justify-items: start;
}

.modal-success-icon {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: var(--brand);
  position: relative;
  box-shadow: 0 8px 18px rgba(47, 110, 77, 0.3);
}

.modal-success-icon::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.modal-success-icon::after {
  content: "";
  position: absolute;
  left: 29px;
  top: 31px;
  width: 16px;
  height: 8px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.modal-success-text {
  margin: 0;
  font: 400 16px/24px "IBM Plex Sans", sans-serif;
  color: #1f1f22;
}

.modal-dialog-search {
  width: min(560px, calc(100% - 32px));
}

.modal-panel-search {
  display: grid;
  gap: 16px;
}

.search-modal-form {
  display: grid;
  gap: 12px;
}

.search-modal-input {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--divider);
  border-radius: 16px;
  outline: 0;
  background: #fff;
  color: var(--text);
  font: 400 16px/22px "Roboto Flex", sans-serif;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.24);
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-bottom span,
.footer-bottom a {
  color: var(--text-footer);
  font-size: 14px;
  line-height: 20px;
}

.footer-bottom-links {
  gap: 24px;
}

.page-shell-inner {
  padding-top: 0;
}

.topbar-inner {
  min-height: 76px;
  padding: 0 24px;
  background: #fff;
  box-shadow: var(--shadow-card);
  margin-bottom: 8px;
}

.chip-location-inner {
  background: #f4f6ff;
}

.chip-icon-location-dark::before {
  border-color: #212121;
}

.chip-icon-location-dark::after {
  background: #212121;
}

.main-nav-inner a {
  color: var(--text);
}

.nav-link-active {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.search-button-dark .search-icon {
  border-color: rgba(33, 33, 33, 0.94);
}

.search-button-dark .search-icon::after {
  background: rgba(33, 33, 33, 0.94);
}

.inner-layout {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 0;
  min-height: 1079px;
  margin-bottom: 8px;
}

.inner-sidebar {
  padding: 16px 40px 0;
}

.inner-menu {
  display: grid;
  gap: 0;
  margin-bottom: 24px;
}

.inner-menu-item {
  width: 310px;
  min-height: 44px;
  padding: 12px;
  border-radius: 12px;
  font-size: 16px;
  line-height: 20px;
  color: var(--text);
}

.inner-menu-item-active {
  background: #fff;
  box-shadow: var(--shadow-card);
}

.sidebar-products {
  display: grid;
  gap: 8px;
  padding-top: 24px;
}

.sidebar-product {
  width: 310px;
  min-height: 94px;
  padding: 16px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.sidebar-product:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.sidebar-product-copy {
  flex: 1;
  font-size: 16px;
  line-height: 22px;
}

.sidebar-product-art {
  width: 80px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sidebar-product-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inner-content {
  padding: 16px 143px 16px 0;
}

.breadcrumbs {
  margin: 12px 0 8px 16px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 14px;
}

.inner-page-title {
  margin: 0 0 8px 16px;
  font-size: 45px;
  line-height: 52px;
  font-weight: 600;
}

.content-card {
  width: 748px;
  max-width: 100%;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.content-card h2 {
  margin: 0 0 16px;
  font-size: 32px;
  line-height: 40px;
  font-weight: 600;
}

.content-card p {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 16px;
  line-height: 22px;
}

.about-partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about-partner-card {
  width: 228px;
  padding: 8px;
  background: var(--bg);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.about-partner-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.about-partner-logo {
  aspect-ratio: 206.6667 / 120;
  margin-bottom: 8px;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about-partner-card p {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
}

.contacts-page {
  margin-bottom: 8px;
}

.contacts-card {
  min-height: 720px;
  padding: 40px 80px;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.contacts-title {
  margin-bottom: 24px;
  margin-left: 0;
}

.city-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.city-tab {
  min-height: 46px;
  padding: 12px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 22px;
}

.city-tab-active {
  background: rgba(47, 110, 77, 0.08);
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contacts-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 0.5px solid var(--divider);
}

.contact-column {
  min-height: 166px;
}

.contact-label {
  display: block;
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 22px;
}

.contact-values {
  display: grid;
  gap: 16px;
}

.contact-values a {
  font-size: 24px;
  line-height: 32px;
  color: var(--text);
}

.contact-column-action {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-cta-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 24px;
  line-height: 32px;
}

.button-small-wide {
  min-height: 48px;
  width: fit-content;
  padding: 12px 16px;
  font-size: 16px;
  line-height: 20px;
}

.contacts-office {
  display: grid;
  grid-template-columns: 500px 1fr;
  gap: 16px;
  align-items: center;
  padding-top: 24px;
}

.office-copy {
  padding: 40px 0;
}

.office-address {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.office-address p {
  margin: 0;
  font-size: 24px;
  line-height: 32px;
}

.office-city {
  color: var(--brand);
}

.office-map {
  border: 0.5px solid var(--divider);
  border-radius: 12px;
  overflow: hidden;
  min-height: 270px;
}

.office-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1200px) {
  .topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .topbar-side,
  .topbar-actions {
    justify-content: space-between;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding-inline: 24px;
  }

  .hero-content {
    min-height: auto;
    padding-top: 40px;
  }

  .hero-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-shell,
  .footer-main,
  .inner-layout {
    flex-direction: column;
  }

  .inner-layout {
    display: block;
    min-height: auto;
  }

  .about-benefits,
  .footer-brand,
  .footer-contact,
  .inner-content,
  .sidebar-product,
  .inner-menu-item {
    width: 100%;
  }

  .inner-sidebar,
  .inner-content,
  .contacts-card {
    padding: 24px;
  }

  .contacts-info-grid,
  .contacts-office {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    padding-inline: 18px;
  }

  .about-card {
    padding: 40px;
  }

  .section-products,
  .section-steps,
  .section-partners,
  .section-faq,
  .section-insights {
    padding: 40px 24px;
  }
}

@media (max-width: 900px) {
  html,
  body {
    min-width: 320px;
  }

  .topbar {
    min-height: auto;
    align-items: center;
    gap: 12px;
  }

  .hero .main-nav,
  .hero .topbar-actions {
    display: none;
  }

  .hero .topbar-side {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .hero .chip-location {
    display: none;
  }

  .hero .logo-svg {
    width: 112px;
    height: 32px;
  }

  .mobile-hero-search {
    display: inline-flex;
    flex: none;
  }

  .page-shell {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0 auto;
  }

  .hero,
  .section,
  .footer {
    width: 100%;
    border-radius: 24px;
  }

  .hero {
    min-height: 538px;
    padding: 16px 16px 24px;
    border-radius: 0 0 24px 24px;
  }

  .hero-content {
    min-height: auto;
    padding-top: 104px;
    gap: 16px;
  }

  .hero-copy h1,
  .about-benefits h2,
  .section-title h2,
  .partners-header h2 {
    font-size: 32px;
    line-height: 36px;
  }

  .about-benefits h2 {
    margin-bottom: 24px;
    font-size: 20px;
    line-height: 24px;
  }

  .hero-copy h1 {
    font-size: 28px;
    line-height: 36px;
    font-weight: 600;
  }

  .hero-text,
  .benefit-item p,
  .about-quote,
  .stat-card span,
  .step-card h3 {
    font-size: 16px;
    line-height: 22px;
  }

  .insights-toolbar,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .button-row,
  .footer-bottom-links {
    flex-wrap: wrap;
  }

  .button {
    width: 100%;
    min-height: 44px;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 20px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-copy h1 {
    margin-bottom: 8px;
  }

  .hero-text {
    margin-bottom: 16px;
    max-width: none;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.1px;
  }

  .hero-features {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-feature {
    gap: 10px;
    padding-bottom: 0;
    border-bottom: 0;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.1px;
  }

  .hero-feature:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .inner-page-title {
    font-size: 36px;
    line-height: 1.1;
  }

  .contact-values a,
  .contact-cta-text,
  .office-address p {
    font-size: 22px;
    line-height: 1.32;
  }

  .content-card h2 {
    font-size: 28px;
    line-height: 1.2;
  }

  .about-partner-card {
    width: 100%;
  }

  .product-copy h2 {
    font-size: 24px;
    line-height: 32px;
  }

  .partners-row img {
    height: 90px;
  }

  .footer-phone {
    font-size: 30px;
  }

  .section-products,
  .section-about,
  .section-steps,
  .section-partners,
  .section-insights,
  .section-faq {
    padding: 24px 16px;
  }

  .content {
    display: grid;
    gap: 8px;
  }

  .section-title h2 {
    font-size: 20px;
    line-height: 24px;
  }

  .products-grid {
    display: grid;
    gap: 16px;
  }

  .product-card {
    width: 100%;
    min-height: 0;
    border-radius: 24px;
    display: block;
    overflow: hidden;
  }

  .product-copy {
    min-height: 0;
    padding: 24px 24px 0;
  }

  .product-copy h2 {
    max-width: 248px;
    font-size: 24px;
    line-height: 32px;
  }

  .product-art {
    height: 200px;
    padding: 0;
  }

  .product-art img {
    height: 100%;
    object-fit: contain;
    object-position: center;
    width: 100%;
  }

  .office-map img,
  .sidebar-product-art img,
  .about-partner-logo img,
  .footer-socials img {
    max-width: 100%;
  }

  .about-shell {
    gap: 8px;
    min-height: auto;
    border-radius: 24px;
  }

  .about-benefits,
  .about-card,
  .step-card,
  .faq-card,
  .insight-card,
  .featured-insight {
    border-radius: 16px;
  }

  .about-benefits-inner,
  .about-card {
    padding: 16px;
  }

  .about-benefits {
    min-height: auto;
  }

  .benefit-item {
    gap: 12px;
    min-height: 0;
    margin-bottom: 12px;
  }

  .benefit-item img {
    width: 24px;
    height: 24px;
  }

  .benefit-item p {
    font-size: 14px;
    line-height: 20px;
  }
}

.mobile-topbar,
.mobile-bottom-nav {
  display: none;
}

.calculator-page {
  padding: 8px 0 0;
}

.calculator-card {
  width: 884px;
  max-width: 100%;
  margin: 0 auto;
  padding: 40px 80px;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.1);
}

.calculator-breadcrumbs {
  margin: 0 0 4px;
  text-align: center;
  font-size: 16px;
  line-height: 22px;
}

.calculator-title {
  margin: 0 0 40px;
  text-align: center;
  font-size: 28px;
  line-height: 36px;
  font-weight: 600;
}

.calculator-form {
  display: grid;
  gap: 40px;
}

.calculator-inputs {
  display: grid;
  gap: 24px;
}

.slider-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 201px;
  gap: 24px;
  align-items: center;
}

.field-pill,
.select-field {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--divider);
  border-radius: 12px;
  min-height: 46px;
}

.field-pill {
  display: flex;
  align-items: center;
  padding: 12px;
}

.field-label,
.field-label-floating {
  position: absolute;
  top: -10px;
  left: 11px;
  padding: 0 4px;
  background: #fff;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.3px;
}

.field-input,
.field-select {
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: 400 16px/22px "Roboto Flex", sans-serif;
}

.field-select {
  min-height: 46px;
  padding: 12px;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #615f5f 50%),
    linear-gradient(135deg, #615f5f 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 20px,
    calc(100% - 12px) 20px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.range-input {
  --range-fill: 50%;
  width: 100%;
  height: 4px;
  margin: 0;
  appearance: none;
  border-radius: 999px;
  background: linear-gradient(to right, var(--brand) 0 var(--range-fill), #e9e5f3 var(--range-fill) 100%);
  outline: 0;
}

.range-input::-webkit-slider-thumb {
  width: 12px;
  height: 12px;
  appearance: none;
  border: 0;
  border-radius: 50%;
  background: #78a249;
  cursor: pointer;
}

.range-input::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: #78a249;
  cursor: pointer;
}

.range-input::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: transparent;
}

.calculator-results {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 16px;
  border-top: 0.5px solid var(--divider);
}

.calculator-button {
  min-height: 48px;
  min-width: 178px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 16px;
  line-height: 20px;
}

.calculator-result {
  margin-left: auto;
  text-align: right;
}

.calculator-result span {
  display: block;
  margin-bottom: 4px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 20px;
}

.calculator-result strong {
  display: block;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
}

.calculator-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

.mobile-menu-page {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg);
  padding-bottom: 98px;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: #fff;
}

.mobile-menu-content {
  background: #fff;
  border-radius: 24px;
  padding: 24px 16px;
  width: 100%;
}

.mobile-menu-links {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.mobile-menu-links a {
  font-family: "Roboto Flex", sans-serif;
  font-size: 28px;
  line-height: 36px;
  font-weight: 600;
  letter-spacing: 0;
  color: #212121;
}

.mobile-menu-pills {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.mobile-menu-pill {
  min-height: 44px;
  padding: 12px;
  border-radius: 8px;
  background: #f4f6ff;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Roboto Flex", sans-serif;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.15px;
  color: #212121;
}

.mobile-menu-pill-icon {
  width: 20px;
  height: 20px;
  flex: none;
  object-fit: contain;
}

.mobile-menu-next {
  margin-left: auto;
  width: 5px;
  height: 10px;
  border-top: 1.5px solid #615f5f;
  border-right: 1.5px solid #615f5f;
  transform: rotate(45deg);
}

.mobile-menu-lang {
  width: 20px;
  height: 20px;
  position: relative;
}

.mobile-menu-lang::before,
.mobile-menu-lang::after {
  content: "";
  position: absolute;
}

.mobile-menu-lang::before {
  content: "A";
  left: 11px;
  top: 3px;
  font: 500 11px/1 "Roboto Flex", sans-serif;
  color: #615f5f;
}

.mobile-menu-lang::after {
  content: "文";
  left: 0;
  top: 1px;
  font: 400 14px/1 "Roboto Flex", sans-serif;
  color: #615f5f;
}

.mobile-menu-pill .chip-icon-location-dark {
  width: 20px;
  height: 20px;
}

.mobile-menu-pill .chip-icon-location-dark::before {
  inset: 4px 2px 6px 3px;
  border: 0;
  border-radius: 0;
  background: #615f5f;
  clip-path: polygon(0 10%, 92% 43%, 59% 56%, 34% 100%);
  transform: rotate(0deg);
}

.mobile-menu-pill .chip-icon-location-dark::after {
  width: 1.5px;
  height: 10px;
  background: #f4f6ff;
  border-radius: 999px;
  left: 10px;
  top: 5px;
  transform: rotate(46deg);
}

.mobile-menu-card {
  padding: 16px;
  border-radius: 12px;
  background: #212121;
  color: #fff;
}

.mobile-menu-card p {
  margin: 0 0 24px;
  font-family: "Roboto Flex", sans-serif;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.3px;
}

.mobile-menu-phone {
  display: block;
  margin-bottom: 4px;
  font-family: "Roboto Flex", sans-serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  letter-spacing: 0;
}

.mobile-menu-mail {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
  font-family: "Roboto Flex", sans-serif;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.3px;
}

.mobile-menu-social-block span {
  display: block;
  margin-bottom: 8px;
  font-family: "Roboto Flex", sans-serif;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.3px;
}

.mobile-menu-legal {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.24);
  display: grid;
  gap: 24px;
}

.mobile-menu-legal span,
.mobile-menu-legal a {
  color: rgba(255, 255, 255, 0.6);
  font-family: "Roboto Flex", sans-serif;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.1px;
  text-decoration: underline;
}

@media (max-width: 900px) {
  body {
    padding-bottom: 98px;
  }

  .page-shell,
  .content,
  .mobile-menu-page {
    padding-bottom: 98px;
  }

  .mobile-menu-page,
  .page-shell {
    width: min(100%, 100vw);
  }

  .topbar-inner,
  .footer,
  .breadcrumbs:not(.calculator-breadcrumbs) {
    display: none;
  }

  .mobile-topbar {
    display: block;
    padding: 16px 16px 12px;
    background: #fff;
  }

  .mobile-topbar-row {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .mobile-topbar-title {
    margin: 0;
    font-size: 20px;
    line-height: 24px;
    font-weight: 500;
  }

  .mobile-back-link {
    position: relative;
    width: 24px;
    height: 24px;
    flex: none;
  }

  .mobile-back-link::before,
  .mobile-back-link::after {
    content: "";
    position: absolute;
    left: 4px;
    width: 10px;
    height: 1.5px;
    background: var(--text);
    border-radius: 999px;
  }

  .mobile-back-link::before {
    top: 9px;
    transform: rotate(-45deg);
  }

  .mobile-back-link::after {
    top: 15px;
    transform: rotate(45deg);
  }

  .mobile-bottom-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: end;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    padding: 8px 8px 20px;
    background: rgba(255, 255, 255, 0.96);
    border-top: 0.5px solid var(--divider);
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.12);
    width: 100%;
    max-width: 100vw;
  }

  .mobile-nav-item {
    display: grid;
    justify-items: center;
    gap: 4px;
    padding-top: 4px;
    font-family: "Roboto Flex", sans-serif;
    font-size: 12px;
    line-height: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: var(--text);
  }

  .mobile-nav-item-active .mobile-nav-icon {
    background-color: #eff4f1;
    box-shadow: inset 0 0 0 1px rgba(47, 110, 77, 0.06);
  }

  .mobile-nav-item-active .mobile-profile-dot {
    width: 64px;
    height: 32px;
    margin-top: 0;
    border-radius: 16px;
    background: rgba(181, 36, 20, 0.08);
  }

  .mobile-nav-item-active span:last-child {
    color: #b52414;
  }

  .mobile-nav-icon,
  .mobile-profile-dot {
    width: 64px;
    height: 32px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .mobile-profile-dot {
    width: 24px;
    height: 24px;
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-nav-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
  }

  .mobile-nav-icon::before,
  .mobile-nav-icon::after {
    content: none;
  }

  .mobile-profile-dot {
    background: transparent;
    border-radius: 999px;
  }

  .mobile-profile-dot img {
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
  }

  .page-shell-inner {
    padding: 0;
  }

  .inner-layout {
    display: block;
  }

  .inner-sidebar {
    display: block;
    padding: 8px 16px 0;
  }

  .sidebar-products {
    display: none;
  }

  .inner-menu {
    margin-bottom: 0;
  }

  .inner-menu-item {
    display: none;
  }

  .inner-menu-item-active {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--divider);
    box-shadow: none;
    background: #fff;
    position: relative;
  }

  .inner-menu-item-active::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 17px;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid #615f5f;
    border-bottom: 1.5px solid #615f5f;
    transform: rotate(45deg);
  }

  .inner-content,
  .contacts-card,
  .calculator-card {
    width: 100%;
    padding: 16px;
    border-radius: 16px;
    box-shadow: none;
  }

  .inner-page-title,
  .calculator-title {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 36px;
    text-align: left;
  }

  .content-card {
    width: 100%;
    padding: 16px;
    border-radius: 16px;
    box-shadow: none;
  }

  .content-card h2 {
    font-size: 28px;
    line-height: 36px;
    margin-bottom: 8px;
  }

  .content-card p {
    margin-bottom: 12px;
  }

  .about-partners-grid {
    display: grid;
    gap: 8px;
  }

  .about-partner-card {
    padding: 16px;
    background: var(--bg);
  }

  .contacts-card {
    min-height: auto;
  }

  .contacts-title {
    display: none;
  }

  .city-tabs {
    display: block;
    margin-bottom: 24px;
    position: relative;
    padding-top: 10px;
  }

  .city-tabs::before {
    content: "Выберите город";
    position: absolute;
    left: 12px;
    top: 0;
    padding: 0 4px;
    background: #fff;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0.3px;
  }

  .city-tab {
    display: none;
  }

  .city-tab-active {
    display: flex;
    min-height: 46px;
    align-items: center;
    border: 1px solid var(--divider);
    background: var(--bg);
    color: var(--text);
    text-decoration: none;
    position: relative;
  }

  .city-tab-active::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 17px;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid #615f5f;
    border-bottom: 1.5px solid #615f5f;
    transform: rotate(45deg);
  }

  .contacts-info-grid {
    display: block;
    border-bottom: 0;
    padding-bottom: 0;
  }

  .contact-column {
    min-height: auto;
    margin-bottom: 24px;
  }

  .contact-label {
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0.3px;
  }

  .contact-values a,
  .office-address p,
  .contact-cta-text {
    font-size: 16px;
    line-height: 22px;
  }

  .contact-column-action {
    gap: 8px;
  }

  .button-small-wide {
    width: auto;
  }

  .contacts-office {
    display: block;
    padding-top: 0;
  }

  .office-copy {
    padding: 0 0 24px;
  }

  .office-map {
    min-height: 220px;
  }

  .calculator-page {
    padding: 0;
  }

  .calculator-card {
    padding: 16px;
  }

  .calculator-breadcrumbs {
    display: none;
  }

  .calculator-form {
    gap: 24px;
  }

  .slider-field {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .slider-field .field-pill {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .slider-field .range-input {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
  }

  .calculator-results {
    padding-top: 0;
    border-top: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .calculator-button {
    grid-column: 1 / -1;
    width: 100%;
    order: 3;
  }

  .calculator-result {
    margin-left: 0;
    text-align: left;
  }

  .calculator-result strong {
    font-size: 20px;
    line-height: 24px;
    font-weight: 500;
  }

  .calculator-note {
    font-size: 12px;
    line-height: 14px;
    text-align: left;
  }

  .modal {
    padding: 12px;
    align-items: end;
  }

  .modal-dialog {
    width: 100%;
  }

  .modal-panel {
    padding: 20px 16px 16px;
  }

  .modal-claim-event {
    padding: 0;
    align-items: end;
    background: rgba(40, 40, 40, 0.2);
  }

  .modal-dialog-claim-event {
    align-self: end;
    width: 100%;
    max-width: none;
  }

  .cabinet-popup-panel-claim {
    width: 100%;
    padding: 16px 16px 20px;
    border-radius: 16px 16px 0 0;
  }

  .cabinet-popup-panel-claim .cabinet-popup-handle {
    display: block;
    width: 108px;
    height: 4px;
    margin: 0 auto 18px;
    border-radius: 999px;
    background: #d4d4d4;
  }

  .cabinet-popup-panel-claim .cabinet-popup-head {
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .cabinet-popup-panel-claim .modal-title {
    max-width: 220px;
    font-size: 20px;
    line-height: 24px;
    font-weight: 600;
  }

  .cabinet-popup-panel-claim .cabinet-popup-close {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #f7f7f7;
    border: 1px solid #f0f0f0;
  }

  .cabinet-popup-panel-claim .cabinet-popup-close::before,
  .cabinet-popup-panel-claim .cabinet-popup-close::after {
    left: 19px;
    top: 11px;
    height: 16px;
  }

  .cabinet-popup-panel-claim .cabinet-popup-form {
    gap: 18px;
  }

  .cabinet-popup-panel-claim .modal-field {
    gap: 6px;
  }

  .cabinet-popup-panel-claim .modal-field > span {
    left: 8px;
    top: -9px;
    padding: 0 6px;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0;
  }

  .cabinet-popup-panel-claim .modal-field input,
  .cabinet-popup-panel-claim .modal-field select,
  .cabinet-popup-panel-claim .modal-field textarea {
    min-height: 48px;
    padding: 13px 16px;
    border-radius: 12px;
    background: #faf9f8;
  }

  .cabinet-popup-panel-claim .modal-field select {
    background-position:
      calc(100% - 20px) 21px,
      calc(100% - 14px) 21px;
  }

  .cabinet-popup-panel-claim .modal-field textarea {
    min-height: 84px;
    resize: none;
  }

  .cabinet-popup-panel-claim .cabinet-popup-submit {
    width: 100%;
    min-height: 48px;
    margin-top: 2px;
  }

}
