@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/onest-latin-wght-normal.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0100-024F, U+2000-206F, U+20A0-20CF, U+2100-214F;
}
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/onest-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0100-024F, U+2000-206F, U+20A0-20CF, U+2100-214F;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
:root {
  --ink: #0b1224;
  --paper: #fafbfc;
  --tint: #f1f4f7;
  --mint: #74f7b2;
  --green: #04953d;
  --text: #101a30;
  --muted: #69768c;
  --line: #dfe5ee;
  --mono: "JetBrains Mono", monospace;
  --page-pad: max(24px, calc((100vw - 1216px) / 2));
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font:
    15px/1.6 Onest,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--green);
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  overflow-wrap: anywhere;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
}
h1 {
  font-size: 48px;
}
h2 {
  font-size: 36px;
}
h3 {
  font-size: 20px;
  letter-spacing: -0.015em;
}
p {
  color: var(--muted);
}
small,
.muted {
  font-size: 12px;
  color: var(--muted);
}
em {
  font-style: normal;
  color: var(--green);
}
.ui-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  vertical-align: middle;
}
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--ink);
  color: white;
  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 10px var(--page-pad);
  border-bottom: 1px solid #ffffff14;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.5px;
  line-height: 1.2;
  white-space: nowrap;
}
.brand-serif {
  font: inherit;
}
.brand-mark {
  background: var(--green);
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.brand-mark img {
  filter: invert(1);
  width: 21px;
  height: 21px;
}
.brand small {
  display: block;
  font: 9px/1.6 var(--mono);
  letter-spacing: 2px;
  color: #8b99b4;
  margin-top: 3px;
}
.header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #b3bfd1;
  font-size: 13px;
}
.header nav a {
  padding: 6px 0;
  white-space: nowrap;
}
.header nav a:hover {
  color: white;
}
.header .button {
  font-size: 13px;
  padding: 11px 19px;
  gap: 10px;
  background: var(--mint);
  color: var(--ink);
  border-color: var(--mint);
}
.header .button img {
  width: 17px;
  height: 17px;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  color: white;
}
.menu-toggle img {
  filter: invert(1);
}
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  border: 1px solid var(--green);
  border-radius: 40px;
  background: var(--green);
  color: white;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 650;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button .ui-icon {
  filter: invert(1);
}
.button:hover {
  background: #00863e;
  color: white;
  transform: translateY(-1px);
}
.button.lime {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--ink);
}
.button.lime .ui-icon,
.header .button .ui-icon {
  filter: none;
}
.button.lime:hover,
.header .button:hover {
  background: #a0ffca;
  border-color: #a0ffca;
  color: var(--ink);
}
.button.small {
  font-size: 12px;
  padding: 11px 18px;
}
.button span {
  display: inline-flex;
  align-items: center;
}
main {
  min-height: 55vh;
}
section {
  margin: 0 auto;
  max-width: 1216px;
  padding: 44px 0;
}
.hero {
  max-width: none;
  margin: 0;
  padding: 96px var(--page-pad) 80px;
  background: var(--ink) url("/assets/registry-background-desktop.png") center
    top/cover no-repeat;
  color: white;
}
.hero-copy {
  max-width: 1216px;
}
.location,
.eyebrow {
  font: 10px/1.5 var(--mono);
  letter-spacing: 2.8px;
  text-transform: uppercase;
}
.hero .location {
  color: var(--mint);
  font-size: 11px;
  letter-spacing: 3px;
}
.hero h1 {
  font-size: 60px;
  line-height: 1;
  letter-spacing: -0.035em;
  max-width: 900px;
  margin-top: 20px;
  color: #fff;
}
.hero-description {
  font-size: 18px;
  line-height: 1.5;
  color: #a4adbd;
  margin-top: 20px;
  max-width: 730px;
}
.search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 672px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 40px;
  padding: 8px;
}
.search-icon {
  display: flex;
  align-items: center;
  margin-left: 13px;
  color: var(--muted);
}
.search-icon img {
  width: 20px;
  height: 20px;
  opacity: 0.55;
}
.search-form input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 10px 0;
  min-height: 44px;
  font-size: 16px;
  color: var(--text);
}
.search-form input:focus-visible {
  outline: none;
}
.search-form .button {
  gap: 8px;
  padding: 12px 24px;
  min-height: 44px;
  font-size: 14px;
}
.hero .search-form {
  margin-top: 32px;
  background: #0b1224b3;
  border-color: #ffffff26;
}
.hero .search-form input {
  color: white;
}
.hero .search-form input::placeholder {
  color: #ffffff66;
}
.hero .search-icon img {
  filter: invert(1);
  opacity: 0.5;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 520px;
  margin-top: 40px;
}
.hero-stats strong {
  font: 700 36px/1.2 var(--mono);
  letter-spacing: -1px;
  display: block;
}
.hero-stats span {
  font-size: 14px;
  color: #8d9bb0;
  display: block;
  margin-top: 3px;
}
.registry-ticker {
  margin-top: 48px;
  border-top: 1px solid #ffffff12;
  padding-top: 20px;
  overflow: hidden;
}
.registry-ticker .eyebrow {
  font-size: 9px;
  color: #6b7c97;
}
.ticker-content {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
  line-height: 1.5;
  color: #b6c2d3;
  margin-top: 15px;
  white-space: nowrap;
  overflow: hidden;
}
.ticker-content > a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
}
.ticker-content > a::before {
  content: "";
  background: #38b884;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.ticker-content small {
  color: #6e7f97;
  font-size: 11px;
}
.ticker-content span > a {
  color: var(--mint);
  margin-left: 6px;
}
.ticker-content .ui-icon {
  width: 16px;
  height: 16px;
  filter: invert(1);
}
.directions-section,
.catalog-section,
.recent-section {
  max-width: none;
  padding: 80px var(--page-pad);
}
.directions-section {
  background: var(--paper);
}
.catalog-section {
  background: var(--tint);
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 32px;
}
.section-heading .eyebrow {
  margin-bottom: 17px;
  font-size: 9px;
  color: #647b9a;
}
.eyebrow > span {
  display: inline-block;
  vertical-align: middle;
  height: 1px;
  width: 40px;
  background: var(--line);
  margin: 0 9px;
}
.section-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--green);
  white-space: nowrap;
}
.section-heading > a .ui-icon {
  width: 17px;
  height: 17px;
}
.categories {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.category {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  min-height: 132px;
  padding: 17px 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 17px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.category:hover {
  border-color: #8bcaa8;
  box-shadow: 0 6px 20px #0b122405;
  color: var(--text);
}
.category-icon .ui-icon {
  width: 23px;
  height: 23px;
}
.category-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 20px;
}
.category-name small {
  display: block;
  font: 11px/1.5 var(--mono);
  margin-top: 5px;
  font-weight: 400;
  color: #7788a0;
}
.category .arrow {
  position: absolute;
  top: 18px;
  right: 17px;
  opacity: 0.65;
}
.category .arrow .ui-icon {
  width: 15px;
  height: 15px;
}
.company-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.company-card {
  display: block;
  border: 1px solid var(--line);
  background: white;
  border-radius: 17px;
  padding: 20px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
  min-width: 0;
}
.company-card:hover {
  color: var(--text);
  border-color: #9ac7ac;
  box-shadow: 0 8px 24px #0b122407;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.registry-number {
  font: 9px/1.6 var(--mono);
  color: #667d9e;
  letter-spacing: 1px;
  white-space: nowrap;
}
.category-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--tint);
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 10px;
  max-width: 65%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.category-tag .ui-icon {
  width: 13px;
  height: 13px;
}
.company-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
}
.company-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 7px;
  flex-shrink: 0;
}
.company-card h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.03em;
}
.card-description {
  font-size: 13px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 42px;
}
.card-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  margin-bottom: 15px;
}
.rating {
  font: 600 14px/1.6 var(--mono);
  display: inline-flex;
  gap: 4px;
  align-items: center;
  white-space: nowrap;
  color: var(--text);
}
.rating img {
  width: 15px;
  height: 15px;
}
.card-rating small {
  font-size: 10px;
}
.card-contact {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #637997;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  min-width: 0;
}
.card-contact .ui-icon {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}
.card-contact span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 11px/1.6 var(--mono);
  color: var(--muted);
  padding-top: 10px;
}
.card-bottom .ui-icon {
  width: 16px;
  height: 16px;
}
.empty {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: white;
  padding: 40px 25px;
}
.empty-icon {
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #eafaef;
}
.empty-icon .ui-icon {
  width: 24px;
  height: 24px;
}
.empty > span {
  display: block;
  color: var(--muted);
  font-size: 25px;
  margin-bottom: 10px;
}
.empty h3 {
  font-size: 24px;
  margin-bottom: 12px;
}
.empty p {
  font-size: 14px;
  line-height: 1.7;
}
.empty .button {
  margin-top: 24px;
}
.recent-list {
  background: white;
  border: 1px solid var(--line);
  border-radius: 17px;
  overflow: hidden;
}
.recent-list > a {
  display: grid;
  grid-template-columns: 125px 1.5fr 1fr 145px 16px;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.recent-list > a:last-child {
  border: 0;
}
.recent-list strong {
  font-weight: 600;
}
.recent-list > a > span:not(.registry-number) {
  color: var(--muted);
}
.recent-list small {
  font: 10px/1.6 var(--mono);
  text-align: right;
}
.recent-list .ui-icon {
  width: 15px;
  height: 15px;
}
.business-banner {
  max-width: none;
  margin: 0;
  padding: 96px var(--page-pad);
  background: var(--ink) url("/assets/registry-background-desktop.png")
    center/cover;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.business-banner .eyebrow {
  color: var(--mint);
  font-size: 10px;
  margin-bottom: 20px;
}
.business-banner h2 {
  font-size: 46px;
  line-height: 1.08;
  max-width: 700px;
}
.business-banner p:not(.eyebrow) {
  color: #a4adbd;
  font-size: 16px;
  line-height: 1.7;
  margin-top: 22px;
}
.business-banner > .button {
  flex-shrink: 0;
  font-size: 15px;
  padding: 17px 30px;
  align-self: flex-end;
  margin-bottom: 5px;
}
.page-intro {
  padding-top: 42px;
  padding-bottom: 25px;
}
.page-intro > .eyebrow {
  margin-bottom: 15px;
}
.page-intro h1 {
  font-size: 48px;
  margin-bottom: 20px;
}
.page-intro > p:not(.eyebrow) {
  font-size: 16px;
  max-width: 800px;
}
.page-intro .search-form {
  margin-top: 28px;
  max-width: 850px;
}
.breadcrumb {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
}
.breadcrumb .ui-icon {
  width: 15px;
  height: 15px;
}
.filter-bar {
  display: flex;
  align-items: end;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.filter-bar label {
  min-width: 220px;
  margin-bottom: 0;
}
.filter-bar > span {
  margin-left: auto;
  font: 12px/1.6 var(--mono);
  color: var(--muted);
  padding-bottom: 12px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  color: #52627a;
  margin-bottom: 17px;
}
input,
textarea,
select {
  font:
    14px/1.5 Onest,
    sans-serif;
  width: 100%;
  min-height: 44px;
  padding: 12px 13px;
  background: white;
  border: 1px solid #d7dfea;
  color: var(--text);
  border-radius: 9px;
}
input::placeholder,
textarea::placeholder {
  color: #97a2b4;
}
textarea {
  resize: vertical;
}
input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-height: 16px;
  accent-color: var(--green);
}
label small {
  font-size: 11px;
  font-weight: 400;
}
fieldset {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 12px 0 22px;
  padding: 18px;
}
legend {
  padding: 0 7px;
  font-size: 12px;
  color: var(--muted);
}
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}
.checkbox-grid label {
  flex-direction: row;
  align-items: center;
  font-size: 12px;
  gap: 8px;
  margin: 0;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.pagination a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.pagination a.active {
  background: var(--ink);
  color: white;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 30px;
  margin-bottom: 22px;
}
.panel h2 {
  font-size: 28px;
  margin-bottom: 20px;
}
.panel h3 {
  margin-bottom: 15px;
}
.panel p {
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 18px;
}
.panel .eyebrow {
  font-size: 9px;
}
.panel .section-heading h2 {
  margin-bottom: 0;
}
.detail {
  padding-top: 35px;
  padding-bottom: 65px;
}
.detail-top {
  display: flex;
  gap: 24px;
  align-items: center;
  margin: 10px 0 35px;
}
.detail-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  padding: 9px;
  border-radius: 18px;
  background: white;
  border: 1px solid var(--line);
}
.detail-top .eyebrow {
  margin-bottom: 10px;
}
.detail h1 {
  font-size: 48px;
  margin-bottom: 13px;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(285px, 1fr);
  gap: 24px;
  align-items: start;
}
.contact-panel {
  position: sticky;
  top: 90px;
}
.contact-panel label {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  font-size: 11px;
  color: #8794a7;
}
.contact-panel label span,
.contact-panel label a {
  font-size: 15px;
  color: var(--text);
  overflow-wrap: anywhere;
  font-weight: 500;
}
.contact-panel > .button {
  display: flex;
  margin: 20px 0 15px;
}
.contact-panel > .eyebrow {
  margin-bottom: 12px;
}
.service-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  font-size: 14px;
}
.service-row strong {
  font-size: 13px;
  font-weight: 600;
  text-align: right;
}
.preline {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.review {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.review .rating {
  float: right;
}
.review > strong {
  font-weight: 600;
}
.review p {
  margin: 12px 0;
}
.review small {
  font: 10px/1.6 var(--mono);
}
.account-intro {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 90px;
  padding-top: 70px;
  padding-bottom: 70px;
  align-items: start;
}
.account-intro > div > .eyebrow {
  margin-bottom: 20px;
}
.account-intro h1 {
  font-size: 60px;
  margin-bottom: 25px;
}
.account-intro h1 em {
  color: var(--green);
}
.account-intro .panel {
  padding: 34px;
}
.account-intro .panel h2 {
  font-size: 32px;
  margin-bottom: 16px;
}
.account-intro .panel .button {
  width: 100%;
}
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 23px;
  margin-top: 35px;
}
.steps li {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 13px;
  color: var(--muted);
}
.steps span {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: white;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font: 10px/1 var(--mono);
}
.auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.text-button {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #b9d6c6;
  font-size: 12px;
}
.text-button:hover {
  color: #006d33;
}
.text-button .ui-icon {
  width: 15px;
  height: 15px;
}
.my-companies {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
.my-companies .panel {
  margin-bottom: 0;
}
.my-companies h2 {
  margin-top: 14px;
}
.my-companies a {
  font-size: 12px;
  margin-left: 17px;
}
.status {
  display: inline-block;
  font: 10px/1.5 var(--mono);
  padding: 5px 8px;
  border-radius: 5px;
  white-space: nowrap;
  background: #fff6df;
  color: #8d6e18;
}
.status.approved {
  background: #e9f9ef;
  color: #087d3a;
}
.status.rejected,
.status.hidden {
  background: #fff0ec;
  color: #a2533d;
}
.error-text {
  color: #a2533d;
}
.admin-heading {
  padding-top: 42px;
  padding-bottom: 28px;
}
.admin-heading > .eyebrow {
  margin-bottom: 14px;
}
.admin-heading h1 {
  font-size: 40px;
}
.admin-layout {
  display: grid;
  grid-template-columns: 195px minmax(0, 1fr);
  gap: 32px;
  max-width: 1216px;
  margin: 0 auto 60px;
}
.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.admin-nav button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  border: 0;
  border-radius: 9px;
  background: none;
  padding: 12px 14px;
  font-size: 12px;
  color: var(--muted);
  text-align: left;
}
.admin-nav button:hover,
.admin-nav button.active {
  background: #e8f7ee;
  color: #067c39;
}
.admin-nav .ui-icon {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}
.admin-content {
  margin: 0;
  padding: 0;
  min-width: 0;
}
.admin-content h2 {
  font-size: 30px;
}
.admin-content > p {
  font-size: 14px;
  margin-bottom: 25px;
}
.admin-content > .panel {
  margin-top: 18px;
}
.admin-row {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 22px;
  margin-bottom: 12px;
}
.admin-row > div:first-child {
  min-width: 0;
}
.admin-row h3 {
  font-size: 16px;
  margin: 9px 0 6px;
}
.admin-row p {
  font-size: 12px;
  margin: 5px 0;
  overflow-wrap: anywhere;
}
.admin-row code {
  font-size: 11px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.row-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex: 0 0 auto;
  min-width: 102px;
}
.row-actions button,
.row-actions a {
  background: none;
  border: 0;
  padding: 2px 0;
  color: var(--green);
  font-size: 11px;
}
.row-actions .danger,
.danger {
  color: #ac523c;
}
.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
  margin-bottom: 26px;
}
.inline-form > input,
.inline-form > select {
  flex: 1;
  min-width: 145px;
}
.inline-form > label {
  flex: 1;
  margin: 0;
}
.inline-form .button {
  white-space: nowrap;
  padding: 13px 19px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.admin-content .filter-bar > input {
  flex: 1;
  min-width: 180px;
}
.admin-content .filter-bar > select {
  width: auto;
  max-width: 185px;
  font-size: 12px;
}
dialog {
  width: min(800px, calc(100vw - 32px));
  max-height: 90vh;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--paper);
  color: var(--text);
  box-shadow: 0 25px 90px #0b12242b;
  overflow: auto;
}
dialog::backdrop {
  background: #0b1224a8;
  backdrop-filter: blur(5px);
}
dialog .close {
  position: absolute;
  top: 14px;
  right: 15px;
  background: none;
  border: 0;
  padding: 4px;
  display: grid;
  place-items: center;
  color: var(--muted);
}
dialog .close img {
  width: 22px;
  height: 22px;
}
dialog h2 {
  font-size: 30px;
  margin-bottom: 25px;
}
dialog p {
  font-size: 14px;
  margin-bottom: 20px;
}
dialog > .eyebrow {
  margin-bottom: 10px;
}
dialog form > .button {
  margin-top: 8px;
}
.wide-form label {
  font-size: 11px;
}
#toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: white;
  box-shadow: 0 8px 30px #0b122426;
  max-width: calc(100vw - 30px);
  width: max-content;
  border: 1px solid #ffffff15;
  border-radius: 12px;
  padding: 16px 22px;
  font-size: 13px;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.loading {
  text-align: center;
  padding: 100px 24px;
}
.legal-content {
  max-width: 960px;
  font-size: 15px;
  line-height: 1.9;
  overflow-wrap: anywhere;
  margin-top: 30px;
}
.legal-content .contact-item {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.legal-content .contact-item h3 {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 7px;
}
.legal-content .contact-item p {
  font-size: 15px;
  color: var(--text);
  margin: 0;
}
.document-version {
  font-size: 13px;
  border-top: 1px solid var(--line);
  padding: 15px 0;
  overflow-wrap: anywhere;
}
.document-version summary,
#document-preview summary {
  cursor: pointer;
  color: var(--green);
  padding: 8px 0;
}
#document-preview {
  margin: 15px 0;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.admin-content code {
  overflow-wrap: anywhere;
}
footer {
  background: var(--ink);
  color: #b1bfd3;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 14px 65px;
  padding: 48px var(--page-pad) 25px;
  border-top: 1px solid #ffffff16;
  font-size: 13px;
  max-width: none;
  margin: 0;
}
footer > .brand {
  grid-column: 1;
  grid-row: 1;
  color: white;
  font-size: 17px;
}
footer > p {
  grid-column: 1;
  grid-row: 2;
  font-size: 13px;
  color: #8292aa;
  max-width: 370px;
  line-height: 1.8;
}
footer > a:not(.brand) {
  grid-column: 1;
  grid-row: 3;
  font-size: 12px;
  color: #b1bfd3;
  margin-top: 3px;
}
footer > span {
  grid-column: 1/-1;
  grid-row: 5;
  border-top: 1px solid #ffffff16;
  padding-top: 25px;
  margin-top: 25px;
  font: 9px/1.8 var(--mono);
  letter-spacing: 2px;
  color: #637590;
}
.footer-documents {
  grid-column: 2;
  grid-row: 1/4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: 12px;
  line-height: 1.7;
}
.footer-documents:before {
  content: "ДОКУМЕНТЫ И КОНТАКТЫ";
  font: 9px/1.6 var(--mono);
  letter-spacing: 2px;
  color: #637590;
  margin-bottom: 8px;
}
.footer-documents a:hover,
.footer-contacts a:hover {
  color: var(--mint);
}
.footer-contacts {
  grid-column: 3;
  grid-row: 1/4;
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.footer-contacts:not(:empty):before {
  content: "СВЯЗАТЬСЯ С НАМИ";
  font: 9px/1.6 var(--mono);
  letter-spacing: 2px;
  color: #637590;
  margin-bottom: 7px;
}
.footer-contacts a[href^="tel"] {
  font-family: var(--mono);
}
@media (max-width: 1290px) {
  section,
  .admin-layout {
    margin-left: 32px;
    margin-right: 32px;
  }
  .hero,
  .directions-section,
  .catalog-section,
  .recent-section,
  .business-banner {
    margin-left: 0;
    margin-right: 0;
  }
  .admin-layout {
    max-width: none;
  }
  h2 {
    font-size: 32px;
  }
  .header {
    gap: 20px;
  }
  .header nav {
    gap: 20px;
  }
  .hero h1 {
    font-size: 58px;
  }
}
@media (max-width: 1000px) {
  :root {
    --page-pad: 32px;
  }
  .header nav {
    gap: 15px;
    font-size: 12px;
  }
  .header {
    gap: 16px;
  }
  .header > .button {
    font-size: 11px;
    padding: 11px 14px;
    gap: 8px;
  }
  .brand {
    font-size: 15px;
  }
  .brand small {
    font-size: 8px;
    letter-spacing: 1.3px;
  }
  .brand-mark {
    width: 33px;
    height: 33px;
  }
  .hero h1 {
    font-size: 54px;
  }
  .categories {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .category-name {
    font-size: 12px;
  }
  .category-name small {
    font-size: 10px;
  }
  .company-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .account-intro {
    gap: 40px;
    grid-template-columns: 1fr 1fr;
  }
  .account-intro h1 {
    font-size: 50px;
  }
  .account-intro .panel {
    padding: 25px;
  }
  .admin-layout {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 20px;
  }
  .admin-heading h1 {
    font-size: 35px;
  }
  .admin-nav button {
    padding: 11px 10px;
    font-size: 11px;
  }
  .business-banner h2 {
    font-size: 39px;
  }
  .business-banner {
    gap: 25px;
  }
  .business-banner > .button {
    font-size: 13px;
    padding: 15px 23px;
  }
  .recent-list > a {
    grid-template-columns: 95px 1.5fr 1fr 16px;
  }
  .recent-list small {
    display: none;
  }
  footer {
    gap: 15px 30px;
  }
}
@media (max-width: 760px) {
  :root {
    --page-pad: 16px;
  }
  .header {
    padding: 12px 16px;
    min-height: 65px;
    gap: 15px;
  }
  .header .brand {
    font-size: 15px;
  }
  .brand small {
    font-size: 8px;
    letter-spacing: 1.7px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
  }
  .header > .button {
    display: none;
  }
  .menu-toggle {
    display: grid;
    margin-left: auto;
  }
  .header nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    padding: 15px 20px 22px;
    background: var(--ink);
    border-bottom: 1px solid #ffffff20;
    box-shadow: 0 12px 20px #0b122420;
    align-items: stretch;
    gap: 5px;
  }
  .header.menu-open nav {
    display: flex;
    flex-direction: column;
  }
  .header nav a {
    font-size: 14px;
    padding: 10px 0;
  }
  section {
    margin-left: 16px;
    margin-right: 16px;
    padding: 30px 0;
  }
  .hero {
    margin: 0;
    background-image: url("/assets/registry-background-mobile.png");
    padding: 64px 16px 64px;
  }
  .hero .location {
    font-size: 9px;
    letter-spacing: 2px;
    line-height: 1.8;
  }
  .hero h1 {
    font-size: 36px;
    line-height: 1.05;
    letter-spacing: -0.035em;
    max-width: 450px;
    margin-top: 21px;
  }
  .hero h1 br {
    display: none;
  }
  .hero-description {
    font-size: 16px;
    line-height: 1.625;
    margin-top: 20px;
  }
  .desktop {
    display: none;
  }
  .hero .search-form {
    margin-top: 32px;
  }
  .search-form {
    gap: 6px;
    padding: 8px;
  }
  .search-form input {
    font-size: 16px;
  }
  .search-icon {
    margin-left: 11px;
  }
  .search-form .button {
    gap: 8px;
    font-size: 14px;
    padding: 12px 24px;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 40px;
    max-width: 390px;
    margin-top: 40px;
  }
  .hero-stats strong {
    font-size: 32px;
  }
  .hero-stats span {
    font-size: 13px;
  }
  .registry-ticker {
    margin-top: 40px;
    padding-top: 20px;
  }
  .ticker-content {
    font-size: 12px;
    line-height: 1.8;
    margin-top: 15px;
  }
  .ticker-content > span {
    white-space: normal;
  }
  .ticker-content > span > a {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    margin-left: 0;
  }
  .registry-ticker .eyebrow {
    font-size: 9px;
    letter-spacing: 2px;
  }
  .directions-section,
  .catalog-section,
  .recent-section {
    margin: 0;
    padding: 56px 16px;
  }
  .section-heading {
    margin-bottom: 32px;
    gap: 15px;
    align-items: end;
  }
  .section-heading .eyebrow {
    font-size: 8px;
    letter-spacing: 2px;
    margin-bottom: 20px;
  }
  .eyebrow > span {
    width: 28px;
    margin: 0 7px;
  }
  .section-heading h2 {
    font-size: 26px;
    line-height: 1.2;
  }
  .section-heading > a {
    font-size: 12px;
    gap: 5px;
  }
  .section-heading > a .ui-icon {
    width: 15px;
    height: 15px;
  }
  .categories {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .category {
    min-height: 132px;
    border-radius: 17px;
    padding: 17px 16px;
  }
  .category-name {
    font-size: 14px;
    margin-top: 23px;
  }
  .category-name small {
    font-size: 10px;
  }
  .category .arrow {
    top: 18px;
    right: 17px;
  }
  .category-icon .ui-icon {
    width: 24px;
    height: 24px;
  }
  .company-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .company-card {
    padding: 20px;
  }
  .company-card h3 {
    font-size: 18px;
  }
  .card-description {
    min-height: 0;
  }
  .card-contact {
    font-size: 11px;
  }
  .card-head {
    margin-bottom: 15px;
  }
  .category-tag {
    font-size: 10px;
  }
  .empty {
    padding: 35px 20px;
  }
  .empty h3 {
    font-size: 23px;
  }
  .empty p {
    font-size: 13px;
  }
  .empty .button {
    font-size: 12px;
  }
  .recent-section .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }
  .recent-list > a {
    grid-template-columns: 80px minmax(0, 1fr) 15px;
    gap: 7px 12px;
    padding: 17px 15px;
  }
  .recent-list .registry-number {
    grid-column: 1;
    grid-row: 1/3;
    font-size: 8px;
    letter-spacing: 0;
  }
  .recent-list strong {
    font-size: 13px;
    grid-column: 2;
    grid-row: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .recent-list > a > span:not(.registry-number) {
    font-size: 11px;
    grid-column: 2;
    grid-row: 2;
  }
  .recent-list > a > .ui-icon {
    grid-column: 3;
    grid-row: 1/3;
  }
  .business-banner {
    margin: 0;
    padding: 64px 16px;
    background-image: url("/assets/registry-background-mobile.png");
    flex-direction: column;
    align-items: start;
    gap: 34px;
  }
  .business-banner h2 {
    font-size: 32px;
    line-height: 1.12;
  }
  .business-banner .eyebrow {
    font-size: 9px;
    letter-spacing: 2px;
    margin-bottom: 22px;
  }
  .business-banner p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.7;
    margin-top: 24px;
  }
  .business-banner p br {
    display: none;
  }
  .business-banner > .button {
    align-self: start;
    font-size: 14px;
    padding: 16px 26px;
    margin: 0;
  }
  .page-intro {
    padding-top: 32px;
    padding-bottom: 25px;
  }
  .page-intro h1 {
    font-size: 36px;
    margin-bottom: 20px;
  }
  .page-intro > .eyebrow {
    font-size: 8px;
    letter-spacing: 1.6px;
  }
  .page-intro > p:not(.eyebrow) {
    font-size: 14px;
  }
  .page-intro .search-form {
    margin-top: 25px;
  }
  .filter-bar {
    gap: 12px;
  }
  .filter-bar > label {
    width: 100%;
    min-width: 0;
  }
  .filter-bar > span {
    margin-left: 0;
    padding: 0;
    font-size: 11px;
  }
  .breadcrumb {
    font-size: 11px;
    margin-bottom: 25px;
  }
  .panel {
    padding: 22px;
    border-radius: 16px;
  }
  .panel h2 {
    font-size: 26px;
  }
  .panel p {
    font-size: 13px;
  }
  .panel .section-heading h2 {
    font-size: 24px;
  }
  .panel .section-heading {
    align-items: center;
  }
  .panel .button.small {
    font-size: 10px;
    padding: 10px 12px;
  }
  .detail {
    padding-top: 28px;
  }
  .detail h1 {
    font-size: 34px;
    line-height: 1.15;
  }
  .detail-top {
    align-items: start;
    gap: 15px;
    margin-bottom: 28px;
  }
  .detail-logo {
    width: 70px;
    height: 70px;
    border-radius: 13px;
    padding: 6px;
    flex-shrink: 0;
  }
  .detail-top .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .detail-grid > .contact-panel {
    grid-row: 1;
    position: static;
  }
  .contact-panel label span,
  .contact-panel label a {
    font-size: 14px;
  }
  .service-row {
    font-size: 12px;
    gap: 15px;
  }
  .service-row strong {
    font-size: 11px;
    max-width: 40%;
  }
  .review .rating {
    font-size: 12px;
  }
  .review small {
    font-size: 9px;
  }
  .account-intro {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .account-intro h1 {
    font-size: 46px;
    margin-bottom: 22px;
  }
  .account-intro > div > .eyebrow {
    font-size: 8px;
    letter-spacing: 1.6px;
  }
  .account-intro > div > p {
    font-size: 14px;
  }
  .account-intro .panel {
    padding: 25px;
  }
  .account-intro .panel h2 {
    font-size: 30px;
  }
  .steps {
    gap: 18px;
    margin-top: 28px;
  }
  .steps li {
    font-size: 12px;
  }
  .my-companies a {
    display: block;
    margin: 17px 0 0;
  }
  .my-companies h2 {
    font-size: 27px;
  }
  .status {
    font-size: 9px;
  }
  .form-grid,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
  .admin-heading {
    padding-top: 32px;
    padding-bottom: 25px;
  }
  .admin-heading h1 {
    font-size: 31px;
  }
  .admin-heading .section-heading {
    align-items: center;
  }
  .admin-layout {
    display: block;
    margin: 0 16px 40px;
  }
  .admin-nav {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 15px;
    margin-bottom: 20px;
    gap: 5px;
  }
  .admin-nav button {
    white-space: nowrap;
    padding: 10px 13px;
    font-size: 11px;
    gap: 8px;
  }
  .admin-content {
    padding: 0;
    margin: 0;
  }
  .admin-content h2 {
    font-size: 28px;
  }
  .admin-content .section-heading {
    align-items: center;
  }
  .admin-content > p {
    font-size: 13px;
  }
  .admin-content > .panel {
    margin-top: 15px;
  }
  .admin-row {
    padding: 18px;
    gap: 16px;
    flex-direction: column;
  }
  .admin-row h3 {
    font-size: 16px;
  }
  .row-actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
  }
  .inline-form {
    align-items: stretch;
  }
  .inline-form > input,
  .inline-form > select,
  .inline-form > label {
    min-width: 100%;
    flex-basis: 100%;
  }
  .inline-form .button {
    width: 100%;
  }
  .admin-content .filter-bar > select {
    flex: 1;
    max-width: none;
    width: 100px;
    font-size: 11px;
  }
  .admin-content .filter-bar > input {
    min-width: 100%;
  }
  dialog {
    padding: 30px 21px;
    width: calc(100vw - 24px);
    border-radius: 17px;
  }
  dialog h2 {
    font-size: 27px;
  }
  .wide-form label {
    font-size: 11px;
  }
  .legal-content {
    font-size: 14px;
    line-height: 1.85;
    margin-top: 25px;
  }
  .legal-content .contact-item p {
    font-size: 14px;
  }
  footer {
    display: flex;
    flex-direction: column;
    gap: 17px;
    padding: 48px 16px 24px;
  }
  footer > .brand {
    font-size: 16px;
  }
  footer > p {
    font-size: 13px;
    max-width: none;
  }
  footer > a:not(.brand) {
    font-size: 12px;
  }
  footer > span {
    order: 10;
    width: 100%;
    font-size: 8px;
    letter-spacing: 1.4px;
    margin-top: 24px;
    padding-top: 25px;
  }
  .footer-documents {
    margin-top: 24px;
    gap: 13px;
    font-size: 12px;
  }
  .footer-documents:before {
    font-size: 9px;
  }
  .footer-contacts {
    margin-top: 23px;
    font-size: 13px;
  }
  .footer-contacts:empty {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
.section-heading > button {
  flex-shrink: 0;
}
@media (max-width: 760px) {
  .panel .button.small {
    font-size: 11px;
    min-height: 44px;
  }
}

.search-form .button .ui-icon {
  width: 16px;
  height: 16px;
}
.search-form:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px #04953d14;
}
.hero .search-form:focus-within {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px #74f7b114;
}
.empty > span .ui-icon {
  width: 28px;
  height: 28px;
}
.icon-picker {
  min-width: 0;
  margin: 0 0 18px;
  padding: 16px;
  background: #fff;
}
.inline-form > .icon-picker {
  flex-basis: 100%;
  margin: 0;
}
.icon-picker-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  color: var(--text);
  font-size: 13px;
  text-align: left;
}
.icon-picker-preview {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #e9f9ef;
  flex-shrink: 0;
}
.icon-picker-preview .ui-icon {
  width: 23px;
  height: 23px;
}
.icon-picker-label {
  flex: 1;
}
.icon-picker-toggle > .ui-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.15s;
}
.icon-picker-toggle[aria-expanded="true"] > .ui-icon {
  transform: rotate(90deg);
}
.icon-picker-panel {
  padding-top: 16px;
}
.icon-picker-panel[hidden] {
  display: none;
}
.icon-picker-search {
  min-width: 0 !important;
}
.icon-picker-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  max-height: 320px;
  overflow: auto;
  padding: 3px;
}
.icon-option {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  min-height: 79px;
  padding: 10px 5px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--text);
}
.icon-option .ui-icon {
  width: 25px;
  height: 25px;
}
.icon-option span {
  font-size: 10px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.icon-option:hover {
  background: #f0faf4;
  border-color: #95cbaa;
}
.icon-option.selected {
  background: #e9f9ef;
  border: 2px solid var(--green);
  padding: 9px 4px;
}
.icon-picker > .muted {
  margin: 10px 0 0;
  font-size: 11px;
}
.icon-picker-empty {
  grid-column: 1/-1;
  font-size: 12px;
  padding: 12px;
}
.category-admin-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.category-admin-title > .ui-icon {
  width: 25px;
  height: 25px;
}
.category-admin-title h3 {
  margin: 0;
}
.icon-picker-panel label {
  margin-bottom: 12px;
}
@media (max-width: 1000px) {
  .icon-picker-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .icon-picker {
    padding: 12px;
  }
  .icon-picker-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: 290px;
  }
  .icon-picker-label {
    font-size: 12px;
  }
  .icon-picker-search {
    width: 100%;
  }
  .icon-option {
    min-height: 76px;
  }
}
