/* CF-055: original component CSS, namespaced to protect the factory main page. */
.factory-chrome {
  --bg-main: #edf3fb;
  --bg-alt: #dbe8f8;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --surface-soft: rgba(248, 251, 255, 0.92);
  --text: #112742;
  --muted: #5a6f8e;
  --line: rgba(141, 168, 203, 0.34);
  --line-strong: rgba(46, 95, 166, 0.18);
  --card: #ffffff;
  --primary: #1a5fb8;
  --primary-strong: #10325c;
  --accent: #3fb579;
  --accent-strong: #1d8456;
  --good: #136a46;
  --warn: #9a670f;
  --bad: #7b1f1f;
  --heading-font: "Manrope", "Segoe UI", sans-serif;
  --body-font: "Manrope", "Segoe UI", sans-serif;
  --shadow: 0 22px 50px rgba(15, 54, 110, 0.1);
  --shadow-soft: 0 12px 26px rgba(15, 54, 110, 0.07);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 15px;
  --grain-strength: 0.08;
  --glass-sparkle: rgba(255, 255, 255, 0.22);
  --magnetic-x: 0px;
  --magnetic-y: 0px;
  --magnetic-lift: 0px;
  --magnetic-glow-x: 50%;
  --magnetic-glow-y: 50%;
  --magnetic-opacity: 0;
  --desktop-layout-width: 1348px;
  --header-capsule-height: 5rem;
  --header-control-height: 3.5rem;
  --header-brand-width: 13rem;
  --header-logo-shell: 3.5rem;
  --header-logo-size: 2.5rem;
}


















/* Original: header.css */
.factory-chrome .site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(239, 245, 253, 0.92), rgba(239, 245, 253, 0.58));
  border-bottom: 1px solid rgba(27, 84, 155, 0.1);
}

.factory-chrome .header-inner {
  position: relative;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.factory-chrome .brand {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0;
  border: 0;
  background: none;
  font-weight: 800;
  font-family: inherit;
  font-size: inherit;
  color: var(--primary-strong);
  letter-spacing: -0.02em;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition: color 0.18s ease, transform 0.18s ease;
}

.factory-chrome .brand-dot {
  position: relative;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8de6a8, #2f9c57);
  box-shadow: 0 0 0 4px rgba(47, 156, 87, 0.2), 0 0 18px rgba(63, 181, 121, 0.3);
  animation: brandGlow 3.8s ease-in-out infinite;
}

.factory-chrome .brand-dot::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 219, 140, 0.42) 0%, rgba(90, 219, 140, 0.14) 42%, rgba(90, 219, 140, 0) 74%);
  opacity: 0;
  transform: scale(0.8);
  animation: brandPulse 3.8s ease-out infinite;
}

.factory-chrome .brand:hover {
  color: #0d4a90;
}

.factory-chrome .brand:hover .brand-dot {
  box-shadow: 0 0 0 4px rgba(47, 156, 87, 0.24), 0 0 22px rgba(63, 181, 121, 0.38);
}

.factory-chrome .header-link {
  appearance: none;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  color: var(--primary-strong);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease;
}

.factory-chrome .header-link:hover {
  background: rgba(20, 104, 201, 0.12);
  color: #0d4a90;
}

.factory-chrome .header-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.factory-chrome .header-cta {
  min-height: 42px;
}

.factory-chrome .header-continue,
.factory-chrome .header-continue.btn-soft {
  min-height: 42px;
  white-space: nowrap;
  color: #fff;
  background: linear-gradient(135deg, #ffcf5a, #f08a24);
  border: none;
  box-shadow: 0 16px 32px rgba(214, 126, 28, 0.28);
}

.factory-chrome .header-continue::after,
.factory-chrome .header-continue.btn-soft::after {
  content: "";
  position: absolute;
  inset: -36%;
  background:
    radial-gradient(
      circle at var(--magnetic-glow-x) var(--magnetic-glow-y),
      rgba(255, 252, 235, 0.44),
      rgba(255, 244, 194, 0.14) 16%,
      transparent 46%
    ),
    linear-gradient(
      116deg,
      transparent 20%,
      rgba(255, 255, 255, 0.06) 34%,
      rgba(255, 249, 226, 0.3) 46%,
      rgba(255, 225, 140, 0.1) 58%,
      transparent 74%
    );
  opacity: var(--magnetic-opacity);
  transform: translateX(-8%);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
  mix-blend-mode: screen;
}

.factory-chrome .header-continue:hover:not(:disabled),
.factory-chrome .header-continue.btn-soft:hover:not(:disabled) {
  color: #fff;
  background: linear-gradient(135deg, #ffd76d, #f39a32);
  border: none;
  box-shadow: 0 18px 36px rgba(214, 126, 28, 0.34);
}

.factory-chrome .header-continue:hover:not(:disabled)::after,
.factory-chrome .header-continue.btn-soft:hover:not(:disabled)::after {
  opacity: 0.95;
  transform: translateX(8%);
}

.factory-chrome .header-continue:focus-visible,
.factory-chrome .header-continue.btn-soft:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, #ffd76d, #f39a32);
  border: none;
}

.factory-chrome .header-continue:focus-visible::after,
.factory-chrome .header-continue.btn-soft:focus-visible::after {
  opacity: 0.95;
  transform: translateX(8%);
}

.factory-chrome .header-continue:disabled,
.factory-chrome .header-continue.btn-soft:disabled {
  opacity: 0.6;
  box-shadow: none;
}

.factory-chrome .header-cta.is-reset {
  color: #fff;
  background: linear-gradient(135deg, #ff7f73, #d94a45);
  border: none;
  box-shadow: 0 14px 28px rgba(181, 67, 61, 0.24);
}

.factory-chrome .header-cta.is-reset:hover:not(:disabled) {
  color: #fff;
  background: linear-gradient(135deg, #ff9186, #e05651);
  border: none;
  box-shadow: 0 18px 34px rgba(181, 67, 61, 0.28);
}

/* Original: header-modern.css */
.factory-chrome .site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding-top: 0.35rem;
  overflow: visible;
  isolation: isolate;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: none;
  transition: padding-top 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.factory-chrome .site-header::before,
.factory-chrome .site-header::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -2;
}

.factory-chrome .site-header::before {
  left: 0;
  right: 0;
  top: -0.45rem;
  bottom: -3.35rem;
  background:
    linear-gradient(
      180deg,
      rgba(231, 247, 236, 0.92) 0%,
      rgba(231, 247, 236, 0.84) 26%,
      rgba(231, 247, 236, 0.62) 52%,
      rgba(231, 247, 236, 0.32) 74%,
      rgba(231, 247, 236, 0.12) 88%,
      rgba(231, 247, 236, 0) 100%
    );
  filter: blur(16px);
  opacity: 0.84;
}

.factory-chrome .site-header::after {
  left: 0;
  right: 0;
  top: 62%;
  height: 4.9rem;
  background:
    linear-gradient(180deg, rgba(225, 241, 234, 0.14), rgba(225, 241, 234, 0)),
    radial-gradient(ellipse at center, rgba(198, 233, 215, 0.18), rgba(198, 233, 215, 0) 72%);
  filter: blur(18px);
  opacity: 0.62;
}

.factory-chrome .header-shell {
  --header-meta-space: 1.9rem;
  position: relative;
  padding-top: var(--header-meta-space);
  padding-bottom: 0.95rem;
  transition:
    padding-top 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    padding-bottom 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.factory-chrome .header-meta-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-bottom: 0;
  max-height: 2rem;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transform-origin: top center;
  transition:
    max-height 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.22s ease,
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.22s;
}

.factory-chrome .header-meta-link {
  position: relative;
  color: rgba(16, 50, 92, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.18s ease;
}

.factory-chrome .header-meta-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.22rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #72e68d, #29c2c7);
  opacity: 0;
  transform: scaleX(0.7);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.factory-chrome .header-meta-link:hover,
.factory-chrome .header-meta-link.is-active {
  color: var(--primary-strong);
}

.factory-chrome .header-meta-link:hover::after,
.factory-chrome .header-meta-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.factory-chrome .site-header--meta-hidden {
  padding-top: 0;
}

.factory-chrome .site-header--meta-hidden .header-shell {
  --header-meta-space: 0.35rem;
  padding-bottom: 0.75rem;
}

.factory-chrome .site-header--meta-hidden .header-meta-nav {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  visibility: hidden;
  transition:
    max-height 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.22s ease,
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}

.factory-chrome .header-inner {
  min-height: auto;
  padding: 0;
  gap: 0.55rem;
  flex-direction: column;
  align-items: stretch;
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.factory-chrome .header-capsule {
  display: grid;
  min-height: var(--header-capsule-height);
  grid-template-columns: minmax(var(--header-brand-width), var(--header-brand-width)) minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.78rem;
  padding: 0.5rem;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(246, 250, 247, 0.74));
  border: 1px solid rgba(105, 176, 148, 0.18);
  box-shadow:
    0 22px 54px rgba(12, 37, 68, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.factory-chrome .brand {
  width: var(--header-brand-width);
  min-width: 0;
  min-height: var(--header-control-height);
  padding: 0.42rem 0.9rem 0.42rem 0.42rem;
  gap: 0.75rem;
  align-self: stretch;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(122, 236, 158, 0.22), rgba(77, 203, 210, 0.16));
  border: 1px solid rgba(78, 186, 150, 0.18);
  color: var(--primary-strong);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.factory-chrome .brand:hover {
  color: var(--primary-strong);
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(122, 236, 158, 0.28), rgba(77, 203, 210, 0.22));
  box-shadow: 0 14px 28px rgba(29, 154, 113, 0.12);
}

.factory-chrome .brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: var(--header-logo-shell);
  height: var(--header-logo-shell);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(207, 237, 226, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    0 16px 30px rgba(39, 170, 127, 0.18);
}

.factory-chrome .brand-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.factory-chrome .brand-mark__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  transform: scale(1.05);
}

.factory-chrome .brand-dot {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  position: relative;
  border: 3px solid #fff;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 42%),
    rgba(255, 255, 255, 0.18);
  box-shadow: none;
  animation: none;
}

.factory-chrome .brand-dot::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 7px;
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.factory-chrome .brand-dot::after {
  content: none;
}

.factory-chrome .brand-copy {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
  align-content: center;
}

.factory-chrome .brand-title,
.factory-chrome .brand-subtitle {
  display: block;
  min-width: 0;
  white-space: nowrap;
}

.factory-chrome .brand-title {
  font-family: var(--heading-font);
  font-size: 0.95rem;
  line-height: 1.1;
  font-weight: 800;
}

.factory-chrome .brand-subtitle {
  color: rgba(16, 50, 92, 0.62);
  font-size: 0.78rem;
  line-height: 1.1;
  font-weight: 700;
}

.factory-chrome .header-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  align-self: stretch;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.35rem;
  border-radius: 24px;
  background: rgba(236, 243, 239, 0.88);
  border: 1px solid rgba(16, 50, 92, 0.05);
  overflow-x: auto;
  scrollbar-width: none;
}

.factory-chrome .header-nav::-webkit-scrollbar {
  display: none;
}

.factory-chrome .header-segment {
  flex: 0 0 auto;
  min-height: calc(var(--header-control-height) - 0.3rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.8rem 1rem;
  border-radius: 18px;
  font-size: 0.92rem;
  font-weight: 800;
  color: rgba(16, 50, 92, 0.76);
  white-space: nowrap;
}

.factory-chrome .header-segment:hover,
.factory-chrome .header-segment--active {
  color: var(--primary-strong);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(12, 37, 68, 0.08);
}

.factory-chrome .header-segment {
  text-decoration: none;
}

.factory-chrome .header-actions {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  align-items: stretch;
  justify-self: end;
  gap: 0.55rem;
}

.factory-chrome .header-actions > * {
  min-height: var(--header-control-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.factory-chrome .header-login-link {
  min-height: var(--header-control-height);
  padding-inline: 1rem;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(16, 50, 92, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 10px 24px rgba(12, 37, 68, 0.05);
}

.factory-chrome .header-continue,
.factory-chrome .header-continue.btn-soft {
  min-height: var(--header-control-height);
  white-space: nowrap;
  color: var(--primary-strong);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 50, 92, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 10px 24px rgba(12, 37, 68, 0.06);
}

.factory-chrome .header-continue::after,
.factory-chrome .header-continue.btn-soft::after {
  display: none;
}

.factory-chrome .header-continue:hover:not(:disabled),
.factory-chrome .header-continue.btn-soft:hover:not(:disabled),
.factory-chrome .header-continue:focus-visible,
.factory-chrome .header-continue.btn-soft:focus-visible {
  color: var(--primary-strong);
  background: #fff;
  border: 1px solid rgba(16, 50, 92, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 30px rgba(12, 37, 68, 0.08);
}

.factory-chrome .header-continue:disabled,
.factory-chrome .header-continue.btn-soft:disabled {
  opacity: 0.62;
  box-shadow: none;
}

.factory-chrome .header-cta {
  min-height: var(--header-control-height);
  min-width: 11.5rem;
  padding-inline: 1.18rem;
  background: linear-gradient(135deg, #56db63 0%, #1fbe71 58%, #29c2c7 100%);
  border: none;
  box-shadow:
    0 20px 40px rgba(28, 175, 108, 0.22),
    0 0 24px rgba(59, 212, 176, 0.12);
}

.factory-chrome .header-cta:hover:not(:disabled) {
  box-shadow:
    0 24px 44px rgba(28, 175, 108, 0.28),
    0 0 30px rgba(59, 212, 176, 0.14);
}

.factory-chrome .header-cta.is-reset {
  background: linear-gradient(135deg, #ff9a6b, #ef6b43);
  box-shadow: 0 18px 36px rgba(220, 108, 52, 0.22);
}

.factory-chrome .header-profile-button {
  position: relative;
  min-width: 9rem;
  min-height: var(--header-control-height);
  height: auto;
  padding: 0 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid rgba(16, 50, 92, 0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 249, 246, 0.8));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 12px 28px rgba(12, 37, 68, 0.06);
  color: var(--primary-strong);
  cursor: pointer;
  transition:
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.factory-chrome .header-profile-button:hover {
  background: #fff;
  transform: translateY(-1px);
}

.factory-chrome .header-profile-button.is-active {
  box-shadow:
    inset 0 0 0 1px rgba(29, 151, 108, 0.22),
    0 14px 30px rgba(28, 175, 108, 0.12);
}

.factory-chrome .header-profile-button__avatar {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.factory-chrome .header-profile-button__avatar::before,
.factory-chrome .header-profile-button__avatar::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: currentColor;
}

.factory-chrome .header-profile-button__avatar::before {
  top: 1px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.factory-chrome .header-profile-button__avatar::after {
  bottom: 0;
  width: 14px;
  height: 8px;
  border-radius: 8px 8px 6px 6px;
}

.factory-chrome .header-profile-button__label {
  display: inline;
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
}

.factory-chrome .header-inbox-counter {
  position: absolute;
  top: -0.28rem;
  right: -0.24rem;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.34rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #76e988, #2fc5c7);
  border: 2px solid #fff;
  color: #0f3a2f;
  box-shadow: 0 8px 18px rgba(45, 173, 127, 0.2);
  font-size: 0.72rem;
  font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
:where(html:not([data-home-motion="full"])) .factory-chrome .site-header,
:where(html:not([data-home-motion="full"])) .factory-chrome .site-header::before,
:where(html:not([data-home-motion="full"])) .factory-chrome .site-header::after,
:where(html:not([data-home-motion="full"])) .factory-chrome .header-shell,
:where(html:not([data-home-motion="full"])) .factory-chrome .header-meta-nav,
:where(html:not([data-home-motion="full"])) .factory-chrome .header-inner,
:where(html:not([data-home-motion="full"])) .factory-chrome .header-meta-link,
:where(html:not([data-home-motion="full"])) .factory-chrome .header-capsule,
:where(html:not([data-home-motion="full"])) .factory-chrome .brand,
:where(html:not([data-home-motion="full"])) .factory-chrome .header-segment,
:where(html:not([data-home-motion="full"])) .factory-chrome .header-profile-button {
    transition: none !important;
  }

}

/* Original auth primitives */
































































































































































































.factory-chrome .case-auth-actions {
  align-items: center;
}

.factory-chrome .case-auth-button {
  appearance: none;
  min-width: 10.4rem;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border: 1px solid rgba(16, 50, 92, 0.12);
  border-radius: 999px;
  color: var(--primary-strong);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.factory-chrome .case-auth-button[hidden] {
  display: none;
}

.factory-chrome .case-auth-button:hover,
.factory-chrome .case-auth-button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.factory-chrome .case-auth-button--secondary {
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 12px 24px rgba(15, 54, 110, 0.08);
}

.factory-chrome .case-auth-button--secondary:hover,
.factory-chrome .case-auth-button--secondary:focus-visible {
  background: #fff;
  border-color: rgba(16, 50, 92, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 16px 30px rgba(15, 54, 110, 0.12);
}

.factory-chrome .case-auth-button--primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #36d36f, #1ab5a8 56%, #1f80d1);
  box-shadow: 0 16px 34px rgba(31, 128, 209, 0.2);
}

.factory-chrome .case-auth-button--primary:hover,
.factory-chrome .case-auth-button--primary:focus-visible {
  box-shadow: 0 18px 38px rgba(31, 128, 209, 0.28);
}

.factory-chrome .case-auth-button--danger {
  color: #fff;
  border-color: rgba(151, 30, 30, 0.22);
  background: linear-gradient(135deg, #d84a42, #b83232);
  box-shadow:
    0 16px 34px rgba(184, 50, 50, 0.24),
    0 0 0 4px rgba(216, 74, 66, 0.08);
}

.factory-chrome .case-auth-button--danger:hover,
.factory-chrome .case-auth-button--danger:focus-visible {
  border-color: rgba(151, 30, 30, 0.34);
  box-shadow:
    0 18px 40px rgba(184, 50, 50, 0.3),
    0 0 0 4px rgba(216, 74, 66, 0.12);
}





.factory-chrome .case-modal__sheet h2 {
  margin: 0;
  color: var(--primary-strong);
  font-family: var(--heading-font);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}










.factory-chrome .case-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.factory-chrome .case-modal__actions {
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding-top: 0.5rem;
}

.factory-chrome .case-modal__actions .case-auth-button {
  min-width: 10rem;
}

.factory-chrome .header-auth-dialog__sheet .case-profile-error:empty {
  display: none;
  min-height: 0;
}

.factory-chrome .header-auth-dialog__sheet .case-profile-error.is-success {
  color: #0b7a57;
}

.factory-chrome .header-auth-dialog__sheet .case-modal__actions {
  padding-top: 0.2rem;
  margin: 0.08rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.factory-chrome .header-auth-dialog__sheet .case-modal__switch {
  margin-top: 0;
}

.factory-chrome .header-auth-dialog__sheet .case-modal__actions .case-auth-button {
  width: 100%;
  min-width: 0;
  padding-inline: 0.95rem;
}

.factory-chrome .case-auth-mode-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.24rem;
  padding: 0.25rem;
  border: 1px solid rgba(31, 128, 209, 0.12);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(235, 247, 255, 0.74));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.factory-chrome .case-auth-mode-switch__button {
  appearance: none;
  min-height: 2.55rem;
  padding: 0.62rem 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(16, 50, 92, 0.68);
  background: transparent;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.factory-chrome .case-auth-mode-switch__button:hover,
.factory-chrome .case-auth-mode-switch__button:focus-visible {
  color: var(--primary-strong);
  outline: none;
}

.factory-chrome .case-auth-mode-switch__button.is-active {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: linear-gradient(135deg, #22c874, #159f9d 58%, #1975c7);
  box-shadow: 0 12px 24px rgba(31, 128, 209, 0.18);
}

.factory-chrome .header-auth-dialog__reset {
  display: grid;
  gap: 0.7rem;
}

.factory-chrome .header-auth-dialog__reset[hidden] {
  display: none;
}

.factory-chrome .header-auth-dialog__reset-copy {
  max-width: 25rem;
  margin: 0 auto 0.15rem;
  color: rgba(16, 50, 92, 0.72);
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}

.factory-chrome .case-modal__switch {
  margin: 0.12rem 0 0;
  color: rgba(16, 50, 92, 0.62);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.factory-chrome .case-modal__text-action {
  appearance: none;
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--primary-strong);
  font: inherit;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18rem;
  cursor: pointer;
}

.factory-chrome .case-modal__text-action:hover,
.factory-chrome .case-modal__text-action:focus-visible {
  color: var(--accent);
  outline: none;
}








.factory-chrome .case-field {
  display: grid;
  gap: 0.4rem;
}

.factory-chrome .case-field span,
.factory-chrome .case-field > label {
  color: rgba(20, 43, 74, 0.72);
  font-size: 0.9rem;
  font-weight: 800;
}

.factory-chrome .case-field span small {
  color: rgba(20, 43, 74, 0.56);
  font-size: inherit;
  font-weight: 750;
}

.factory-chrome .case-field > label {
  display: block;
}

.factory-chrome .case-field--with-suggestions {
  position: relative;
  z-index: 2;
}

.factory-chrome .case-field input,
.factory-chrome .case-field select {
  width: 100%;
  min-width: 0;
  min-height: 3.45rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(121, 159, 211, 0.22);
  border-radius: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.94);
  font: inherit;
  font-weight: 700;
  outline: none;
}

.factory-chrome .case-field select {
  appearance: none;
  padding-right: 2.2rem;
  background:
    linear-gradient(45deg, transparent 50%, rgba(20, 43, 74, 0.62) 50%) calc(100% - 1.1rem) 50% / 0.45rem 0.45rem no-repeat,
    linear-gradient(135deg, rgba(20, 43, 74, 0.62) 50%, transparent 50%) calc(100% - 0.82rem) 50% / 0.45rem 0.45rem no-repeat,
    rgba(255, 255, 255, 0.94);
}

.factory-chrome .case-field input:focus,
.factory-chrome .case-field select:focus {
  border-color: rgba(26, 95, 184, 0.36);
  box-shadow: 0 0 0 4px rgba(26, 95, 184, 0.08);
}

.factory-chrome .case-field.is-invalid span {
  color: #b3433d;
}

.factory-chrome .case-field.is-invalid > label {
  color: #b3433d;
}

.factory-chrome .case-field.is-invalid input,
.factory-chrome .case-field.is-invalid select {
  border-color: rgba(214, 79, 79, 0.56);
  background: rgba(255, 246, 246, 0.98);
  box-shadow: 0 0 0 4px rgba(214, 79, 79, 0.08);
}









.factory-chrome .case-profile-error {
  grid-column: 1 / -1;
}

.factory-chrome .case-profile-error {
  margin: 0;
  min-height: 1.25rem;
  color: #b3433d;
  font-weight: 700;
}




















.factory-chrome .case-modal {
  width: min(100vw - 2rem, 31rem);
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: transparent;
  color: inherit;
}

.factory-chrome .case-modal::backdrop {
  background: rgba(9, 26, 45, 0.36);
  backdrop-filter: blur(10px);
}

.factory-chrome .case-modal__sheet {
  position: relative;
  display: grid;
  gap: 0.68rem;
  padding: 1.18rem;
  border: 1px solid rgba(121, 159, 211, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 0%, rgba(118, 223, 190, 0.16), transparent 28%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(239, 248, 255, 0.96));
  box-shadow: 0 24px 58px rgba(11, 34, 64, 0.2);
}

.factory-chrome .case-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid rgba(16, 50, 92, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

.factory-chrome .case-modal__close::before,
.factory-chrome .case-modal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.factory-chrome .case-modal__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.factory-chrome .case-modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.factory-chrome .case-password-control {
  position: relative;
  display: block;
}

.factory-chrome .case-password-control button {
  position: absolute;
  top: 50%;
  right: 0.42rem;
  width: 2.15rem;
  height: 2.15rem;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--primary-strong);
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

.factory-chrome .case-password-control button:hover,
.factory-chrome .case-password-control button:focus-visible {
  background: rgba(31, 128, 209, 0.08);
  outline: none;
}

.factory-chrome .case-password-control input {
  padding-right: 3rem;
}

.factory-chrome .case-modal__sheet .case-field input {
  min-height: 2.9rem;
  padding-top: 0.62rem;
  padding-bottom: 0.62rem;
  border-radius: 16px;
}

.factory-chrome .case-modal__sheet .case-field span {
  font-size: 0.84rem;
}































.factory-chrome .case-eye-icon {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  margin: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.72;
}

.factory-chrome .case-eye-slash {
  display: none;
}

.factory-chrome .case-password-control button.is-visible .case-eye-slash {
  display: block;
}






.factory-chrome .case-modal__legal-note {
  margin: 0;
  color: rgba(20, 43, 74, 0.66);
  font-size: 0.82rem;
  line-height: 1.45;
}

.factory-chrome .case-modal__legal-note a {
  color: var(--primary);
  font-weight: 750;
}










@media (max-width: 860px) {



.factory-chrome .case-auth-button {
    width: 100%;
  }






.factory-chrome .case-modal__actions {
    justify-content: stretch;
  }


.factory-chrome .case-modal__actions .case-auth-button {
  width: 100%;
}

}




















































/* Original: header-shared.css */
.factory-chrome {
  --shared-header-max: 1188px;
  --shared-header-frame-min: var(--desktop-layout-width, 1348px);
  --shared-header-pad: 16px;
  --shared-header-radius: 28px;
  --shared-header-height: 58px;
  --shared-header-control: 46px;
  --shared-header-paper: #fffdf8;
  --shared-header-paper-warm: #fff8ec;
  --shared-header-mint: #eaf6f0;
  --shared-header-mint-strong: #dcefe6;
  --shared-header-emerald: #13725f;
  --shared-header-emerald-deep: #0b554a;
  --shared-header-teal: #167d78;
  --shared-header-amber: #c88b38;
  --shared-header-focus: rgba(20, 126, 108, 0.34);
  --shared-header-cta-text: #fff;
  --shared-header-cta-border: rgba(255, 255, 255, 0.34);
  --shared-header-cta-bg: linear-gradient(135deg, #0b554a 0%, #126b5c 54%, #167d78 100%);
  --shared-header-cta-bg-hover: linear-gradient(135deg, #0d6254 0%, #167764 54%, #188984 100%);
  --shared-header-cta-shadow: 0 10px 22px rgba(8, 76, 64, 0.22);
  --shared-header-cta-shadow-hover: 0 12px 26px rgba(8, 76, 64, 0.28);
}

.factory-chrome .site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  min-width: var(--shared-header-frame-min);
  padding: 10px 0 12px;
  overflow: visible;
  isolation: isolate;
  box-sizing: border-box;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: none;
  transition: padding 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.factory-chrome .site-header::before,
.factory-chrome .site-header::after {
  content: none;
}

.factory-chrome .site-header .header-shell {
  width: var(--shared-header-max);
  min-width: var(--shared-header-max);
  max-width: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 6px;
  box-sizing: border-box;
}

.factory-chrome .site-header .header-meta-nav {
  position: relative;
  inset: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  height: 22px;
  max-height: 22px;
  margin: 0;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition:
    height 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    max-height 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}

.factory-chrome .site-header .header-meta-nav--geo {
  position: relative;
  z-index: 8;
  justify-content: center;
  height: 24px;
  max-height: 24px;
  overflow: visible;
}

.factory-chrome .site-header .header-geo-summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  position: relative;
  min-height: 22px;
  padding: 0 12px;
  border: 1px solid rgba(197, 172, 126, 0.22);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 7px 18px rgba(12, 74, 62, 0.08);
  backdrop-filter: blur(16px) saturate(1.04);
}

.factory-chrome .site-header .header-geo-summary:focus-within {
  border-color: rgba(20, 126, 108, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 0 0 3px var(--shared-header-focus),
    0 8px 20px rgba(12, 74, 62, 0.1);
}

.factory-chrome .site-header .header-geo-label,
.factory-chrome .site-header .header-geo-trigger {
  color: rgba(20, 61, 54, 0.72);
  font-size: 0.76rem;
  line-height: 1;
  font-weight: 600;
  white-space: nowrap;
}

.factory-chrome .site-header .header-geo-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.24rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.82);
  transition: color 0.18s ease;
}

.factory-chrome .site-header .header-geo-trigger:hover,
.factory-chrome .site-header .header-geo-trigger:focus-visible,
.factory-chrome .site-header .header-geo-trigger[aria-expanded="true"] {
  color: var(--shared-header-emerald-deep);
}

.factory-chrome .site-header .header-geo-trigger:focus-visible {
  outline: none;
}

.factory-chrome .site-header .header-geo-trigger > span {
  position: relative;
}

.factory-chrome .site-header .header-geo-trigger > span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.22rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(200, 139, 56, 0.68), rgba(20, 126, 108, 0.62));
  opacity: 0;
  transform: scaleX(0.72);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.factory-chrome .site-header .header-geo-trigger:hover > span::after,
.factory-chrome .site-header .header-geo-trigger:focus-visible > span::after,
.factory-chrome .site-header .header-geo-trigger[aria-expanded="true"] > span::after {
  opacity: 1;
  transform: scaleX(1);
}

.factory-chrome .site-header .header-auth-meta-link,
.factory-chrome .site-header .header-telegram-meta-link {
  position: absolute;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 11px;
  border: 1px solid rgba(197, 172, 126, 0.22);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.84);
  color: rgba(20, 61, 54, 0.88);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  isolation: isolate;
  transform: translateY(-50%);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 7px 18px rgba(12, 74, 62, 0.08);
  backdrop-filter: blur(16px) saturate(1.04);
  transition:
    color 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.factory-chrome .site-header .header-auth-meta-link {
  right: 7px;
}

.factory-chrome .site-header .header-telegram-meta-link {
  left: 7px;
}

.factory-chrome .site-header .header-auth-meta-link::before,
.factory-chrome .site-header .header-telegram-meta-link::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.78), transparent 42%);
  opacity: 0.72;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.factory-chrome .site-header .header-auth-meta-link::after,
.factory-chrome .site-header .header-telegram-meta-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.22rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(200, 139, 56, 0.68), rgba(20, 126, 108, 0.62));
  opacity: 0;
  transform: scaleX(0.72);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.factory-chrome .site-header .header-auth-meta-link:hover,
.factory-chrome .site-header .header-auth-meta-link:focus-visible,
.factory-chrome .site-header .header-telegram-meta-link:hover,
.factory-chrome .site-header .header-telegram-meta-link:focus-visible {
  color: var(--shared-header-emerald-deep);
  border-color: rgba(20, 126, 108, 0.26);
  background: rgba(255, 253, 248, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 0 0 3px var(--shared-header-focus),
    0 9px 22px rgba(12, 74, 62, 0.1);
  outline: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.92);
}

.factory-chrome .site-header .header-auth-meta-link:hover::before,
.factory-chrome .site-header .header-auth-meta-link:focus-visible::before,
.factory-chrome .site-header .header-telegram-meta-link:hover::before,
.factory-chrome .site-header .header-telegram-meta-link:focus-visible::before {
  opacity: 1;
}

.factory-chrome .site-header .header-auth-meta-link:hover::after,
.factory-chrome .site-header .header-auth-meta-link:focus-visible::after,
.factory-chrome .site-header .header-telegram-meta-link:hover::after,
.factory-chrome .site-header .header-telegram-meta-link:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.factory-chrome .site-header .header-auth-meta-link.is-logout {
  border-color: rgba(197, 172, 126, 0.24);
  background: rgba(255, 253, 248, 0.88);
  color: rgba(20, 61, 54, 0.9);
}

.factory-chrome .site-header .header-geo-popover {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  width: 360px;
  transform: translateX(-50%);
  z-index: 6;
}

.factory-chrome .site-header .header-geo-popover[hidden] {
  display: none;
}

.factory-chrome .site-header .header-geo-popover__content {
  padding: 18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 4%, rgba(200, 139, 56, 0.08), transparent 28%),
    rgba(255, 253, 248, 0.98);
  border: 1px solid rgba(177, 143, 86, 0.18);
  box-shadow:
    0 18px 44px rgba(8, 70, 58, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  text-align: left;
}

.factory-chrome .site-header .header-geo-popover__title {
  margin: 0 0 0.38rem;
  color: #153f38;
  font-size: 0.98rem;
  line-height: 1.2;
  font-weight: 800;
}

.factory-chrome .site-header .header-geo-popover__copy {
  margin: 0 0 0.9rem;
  color: rgba(20, 61, 54, 0.58);
  font-size: 0.72rem;
  line-height: 1.4;
}

.factory-chrome .site-header .header-geo-popover__label {
  display: block;
  margin: 0 0 0.34rem;
  color: rgba(20, 61, 54, 0.72);
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 800;
}

.factory-chrome .site-header .header-geo-popover__input {
  width: 100%;
  height: 38px;
  margin: 0 0 0.72rem;
  padding: 0 13px;
  border: 1px solid rgba(20, 103, 87, 0.16);
  border-radius: 14px;
  background: rgba(246, 251, 247, 0.98);
  color: #153f38;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  outline: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
  box-sizing: border-box;
}

.factory-chrome .site-header .header-geo-popover__input::placeholder {
  color: rgba(16, 50, 92, 0.38);
}

.factory-chrome .site-header .header-geo-popover__input:focus-visible {
  border-color: rgba(20, 126, 108, 0.56);
  box-shadow: 0 0 0 4px rgba(20, 126, 108, 0.14);
  background: rgba(255, 255, 255, 1);
}

.factory-chrome .site-header .header-geo-popover__input[aria-invalid="true"] {
  border-color: rgba(220, 82, 82, 0.42);
  box-shadow: 0 0 0 4px rgba(220, 82, 82, 0.12);
}

.factory-chrome .site-header .header-geo-popover__suggestions {
  margin: -0.36rem 0 0.72rem;
  border-radius: 14px;
  border: 1px solid rgba(16, 92, 74, 0.08);
  background: rgba(247, 250, 249, 0.98);
  overflow: hidden;
}

.factory-chrome .site-header .header-geo-popover__suggestion,
.factory-chrome .site-header .header-geo-popover__suggestion-empty {
  width: 100%;
  min-height: 42px;
  display: grid;
  align-items: center;
  gap: 2px;
  padding: 10px 13px;
  box-sizing: border-box;
}

.factory-chrome .site-header .header-geo-popover__suggestion {
  border: 0;
  border-top: 1px solid rgba(16, 92, 74, 0.06);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s ease;
}

.factory-chrome .site-header .header-geo-popover__suggestion:first-child {
  border-top: 0;
}

.factory-chrome .site-header .header-geo-popover__suggestion:hover,
.factory-chrome .site-header .header-geo-popover__suggestion:focus-visible {
  background: rgba(20, 126, 108, 0.09);
  outline: none;
}

.factory-chrome .site-header .header-geo-popover__suggestion-city {
  color: #153f38;
  font-size: 0.76rem;
  line-height: 1.2;
  font-weight: 800;
}

.factory-chrome .site-header .header-geo-popover__suggestion-region,
.factory-chrome .site-header .header-geo-popover__suggestion-empty {
  color: rgba(16, 50, 92, 0.54);
  font-size: 0.7rem;
  line-height: 1.35;
  font-weight: 700;
}

.factory-chrome .site-header .header-geo-popover__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.factory-chrome .site-header .header-geo-popover__button {
  height: 42px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.73rem;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.factory-chrome .site-header .header-geo-popover__button:hover {
  transform: none;
}

.factory-chrome .site-header .header-geo-popover__button--soft {
  border: 1px solid rgba(16, 92, 74, 0.12);
  background: rgba(244, 250, 246, 0.98);
  color: rgba(20, 61, 54, 0.76);
}

.factory-chrome .site-header .header-geo-popover__button--primary {
  border: 1px solid transparent;
  background: linear-gradient(135deg, #146b59 0%, #17866c 56%, #197f79 100%);
  color: #fff;
}

.factory-chrome .site-header .header-geo-popover__status {
  min-height: 18px;
  margin: 0.72rem 0 0;
  color: rgba(16, 50, 92, 0.56);
  font-size: 0.7rem;
  line-height: 1.35;
  font-weight: 700;
}

.factory-chrome .site-header .header-geo-popover__status[data-state="loading"] {
  color: rgba(16, 50, 92, 0.56);
}

.factory-chrome .site-header .header-geo-popover__status[data-state="auto"] {
  color: rgba(16, 92, 74, 0.92);
}

.factory-chrome .site-header .header-geo-popover__status[data-state="manual"] {
  color: rgba(16, 70, 108, 0.92);
}

.factory-chrome .site-header .header-geo-popover__status[data-state="fallback"] {
  color: rgba(112, 76, 18, 0.92);
}

.factory-chrome .site-header .header-geo-popover__status[data-state="warning"] {
  color: rgba(150, 44, 44, 0.94);
}

.factory-chrome .site-header .header-meta-link {
  color: rgba(16, 50, 92, 0.62);
  font-size: 0.76rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.factory-chrome .site-header .header-meta-link::after {
  bottom: -0.25rem;
  background: linear-gradient(90deg, var(--shared-header-amber), var(--shared-header-emerald));
}

.factory-chrome .site-header .header-meta-link:hover,
.factory-chrome .site-header .header-meta-link.is-active {
  color: var(--primary-strong);
}

.factory-chrome .site-header.site-header--meta-hidden {
  padding-top: 8px;
}

.factory-chrome .site-header.site-header--meta-hidden .header-shell {
  padding-top: 0;
  padding-bottom: 0;
}

.factory-chrome .site-header.site-header--meta-hidden .header-meta-nav {
  height: 0;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  visibility: hidden;
  transition:
    height 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    max-height 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.18s ease,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.18s;
}

.factory-chrome .site-header .header-inner {
  min-height: 0;
  padding: 0;
  display: block;
  position: relative;
  z-index: 1;
}

.factory-chrome .site-header .header-capsule {
  position: relative;
  isolation: isolate;
  min-height: var(--shared-header-height);
  display: grid;
  grid-template-columns: 412px 92px 396px 252px;
  align-items: center;
  gap: 8px;
  padding: 6px;
  overflow: visible;
  border-radius: var(--shared-header-radius);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 244, 221, 0.6), transparent 28%),
    radial-gradient(circle at 84% 100%, rgba(213, 239, 226, 0.56), transparent 34%),
    linear-gradient(135deg, rgba(255, 253, 248, 0.88), rgba(239, 248, 243, 0.78));
  border: 1px solid rgba(205, 184, 145, 0.32);
  box-shadow:
    0 16px 36px rgba(8, 65, 55, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(12, 103, 83, 0.08);
  backdrop-filter: blur(22px) saturate(1.08);
  box-sizing: border-box;
}

.factory-chrome .site-header .header-capsule::before {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: inherit;
}

.factory-chrome .site-header .header-capsule::before {
  inset: 1px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 251, 241, 0.08));
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.78),
    inset 0 0 22px rgba(255, 255, 255, 0.22);
}

.factory-chrome .site-header .header-capsule--public,
.factory-chrome .site-header .header-capsule--backoffice {
  grid-template-columns: 412px 92px 396px 252px;
}

.factory-chrome .site-header[data-header-page="backoffice"] .header-shell {
  width: var(--shared-header-max);
  min-width: var(--shared-header-max);
}

.factory-chrome .site-header .header-brand-case {
  min-width: 0;
  height: var(--shared-header-control);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border-radius: 23px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    radial-gradient(circle at 13% 10%, rgba(255, 227, 177, 0.16), transparent 27%),
    linear-gradient(135deg, #126c59 0%, #14866d 58%, #187e77 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 10px 22px rgba(8, 76, 64, 0.16);
  box-sizing: border-box;
}

.factory-chrome .site-header .brand {
  width: 164px;
  min-width: 0;
  min-height: calc(var(--shared-header-control) - 8px);
  height: calc(var(--shared-header-control) - 8px);
  align-self: center;
  padding: 3px 8px 3px 4px;
  gap: 8px;
  border: 0;
  border-radius: 19px;
  background: transparent;
  color: #fff;
  box-shadow: none;
  text-decoration: none;
  flex: 0 0 auto;
}

.factory-chrome .site-header .brand:hover {
  color: #fff;
  transform: none;
  background: rgba(255, 249, 235, 0.1);
  box-shadow: none;
}

.factory-chrome .site-header .brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 15px;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(255, 239, 208, 0.52);
  box-shadow: none;
}

.factory-chrome .site-header .brand-mark::after {
  inset: 4px;
  border-radius: 11px;
  border-color: rgba(255, 255, 255, 0.2);
}

.factory-chrome .site-header .brand-title {
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 700;
}

.factory-chrome .site-header .brand-subtitle {
  color: rgba(255, 249, 237, 0.78);
  font-size: 0.68rem;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 500;
}

.factory-chrome .site-header .header-workflow-button {
  height: calc(var(--shared-header-control) - 8px);
  min-height: calc(var(--shared-header-control) - 8px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 19px;
  font-family: inherit;
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
  flex: 0 0 auto;
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}

.factory-chrome .site-header .header-workflow-button--continue {
  width: 98px;
  min-width: 98px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(246, 246, 235, 0.9);
  color: rgba(20, 61, 54, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.factory-chrome .site-header .header-capsule--public .header-workflow-button--continue,
.factory-chrome .site-header .header-capsule--backoffice .header-workflow-button--continue {
  margin-left: auto;
}

.factory-chrome .site-header .header-workflow-button--primary {
  width: 114px;
  min-width: 114px;
  max-width: 114px;
  border: 1px solid var(--shared-header-cta-border);
  background: var(--shared-header-cta-bg);
  color: var(--shared-header-cta-text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    var(--shared-header-cta-shadow);
}

.factory-chrome .site-header .header-capsule--public .header-workflow-button--primary,
.factory-chrome .site-header .header-capsule--backoffice .header-workflow-button--primary {
  width: 126px;
  min-width: 126px;
  max-width: 126px;
}

.factory-chrome .site-header .header-workflow-button--continue.is-active {
  color: #0d584a;
  background: linear-gradient(135deg, #fff7e7 0%, #e6f2e9 60%, #d9ede5 100%);
  border-color: rgba(255, 255, 255, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 10px 22px rgba(7, 74, 62, 0.14);
}

.factory-chrome .site-header .header-workflow-button--continue.is-disabled,
.factory-chrome .site-header .header-workflow-button--continue:disabled {
  color: rgba(20, 61, 54, 0.43);
  background: rgba(237, 240, 231, 0.94);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
  cursor: not-allowed;
}

.factory-chrome .site-header .header-workflow-button--continue:hover:not(:disabled):not(.is-disabled),
.factory-chrome .site-header .header-workflow-button--continue:focus-visible:not(:disabled):not(.is-disabled) {
  color: #0b5044;
  background: linear-gradient(135deg, #fff3da 0%, #dcefe3 60%, #cfe8de 100%);
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 12px 24px rgba(7, 74, 62, 0.17);
}

.factory-chrome .site-header .header-workflow-button--primary:hover:not(.is-reset),
.factory-chrome .site-header .header-workflow-button--primary:focus-visible:not(.is-reset) {
  background: var(--shared-header-cta-bg-hover);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    var(--shared-header-cta-shadow-hover);
}

.factory-chrome .site-header .header-workflow-button--primary.is-reset {
  border-color: transparent;
  background: linear-gradient(135deg, #ff7f73 0%, #df4f49 58%, #b92f3b 100%);
  color: #fff;
  font-size: 0.78rem;
  box-shadow: 0 12px 24px rgba(185, 47, 59, 0.22);
}

.factory-chrome .site-header .header-workflow-button--primary.is-reset:hover,
.factory-chrome .site-header .header-workflow-button--primary.is-reset:focus-visible {
  background: linear-gradient(135deg, #ff9186 0%, #e65752 58%, #c73945 100%);
  box-shadow: 0 16px 30px rgba(185, 47, 59, 0.26);
}

.factory-chrome .site-header .header-workflow-button:hover,
.factory-chrome .site-header .header-workflow-button:focus-visible {
  transform: none;
}

.factory-chrome .site-header .header-workflow-button:disabled {
  cursor: not-allowed;
}

.factory-chrome .site-header .header-case-button {
  position: relative;
  width: 104px;
  min-width: 0;
  height: calc(var(--shared-header-control) - 8px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  flex: 0 0 auto;
  transition: background 0.16s ease, transform 0.16s ease;
}

.factory-chrome .site-header .header-store-button {
  width: 98px;
  min-width: 0;
  height: calc(var(--shared-header-control) - 8px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 10px;
  border-radius: 19px;
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(20, 103, 87, 0.16);
  color: #126c5a;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  flex: 0 0 auto;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.44),
    0 9px 20px rgba(8, 65, 55, 0.08);
  transition:
    background 0.16s ease,
    transform 0.16s ease,
    box-shadow 0.16s ease;
}

.factory-chrome .site-header .header-store-button:hover,
.factory-chrome .site-header .header-store-button.is-active {
  color: #0b5548;
  background: linear-gradient(135deg, #fff7e9 0%, #e2f2e9 100%);
  border-color: rgba(20, 103, 87, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    0 12px 24px rgba(12, 37, 68, 0.09);
}

.factory-chrome .site-header .header-store-button__icon {
  width: 16px;
  height: 16px;
  position: relative;
  flex: 0 0 auto;
  border-radius: 4px;
  border: 2px solid rgba(18, 108, 90, 0.88);
  box-sizing: border-box;
}

.factory-chrome .site-header .header-store-button__icon::before,
.factory-chrome .site-header .header-store-button__icon::after {
  content: "";
  position: absolute;
  left: 1px;
  border-radius: 999px;
  background: rgba(18, 108, 90, 0.88);
}

.factory-chrome .site-header .header-store-button__icon::before {
  top: 3px;
  width: 10px;
  height: 2px;
}

.factory-chrome .site-header .header-store-button__icon::after {
  bottom: 3px;
  width: 6px;
  height: 2px;
}

.factory-chrome .site-header .header-store-button__label {
  font-size: 0.8rem;
  font-weight: 700;
}

.factory-chrome .site-header .header-case-button:hover,
.factory-chrome .site-header .header-case-button.is-active {
  background: rgba(255, 255, 255, 0.28);
}

.factory-chrome .site-header .header-case-button.is-cart-highlighted {
  z-index: 82;
  color: #10325c;
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(15, 118, 110, 0.28);
  box-shadow:
    0 0 0 6px rgba(36, 200, 117, 0.2),
    0 18px 32px rgba(12, 37, 68, 0.18);
  transform: translateY(-1px);
}

.factory-chrome .site-header .header-case-button__icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.factory-chrome .site-header .header-case-button__icon::before,
.factory-chrome .site-header .header-case-button__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: currentColor;
}

.factory-chrome .site-header .header-case-button__icon::before {
  top: 1px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
}

.factory-chrome .site-header .header-case-button__icon::after {
  bottom: 0;
  width: 13px;
  height: 7px;
  border-radius: 8px 8px 6px 6px;
}

.factory-chrome .site-header .header-inbox-counter {
  top: -0.38rem;
  right: -0.28rem;
}

.factory-chrome .site-header .header-actions--catalog-case .header-inbox-counter {
  top: -0.28rem;
  right: 0.16rem;
}

.factory-chrome .site-header .header-menu {
  position: relative;
  min-width: 0;
}

.factory-chrome .site-header .header-menu-button,
.factory-chrome .site-header .header-action,
.factory-chrome .site-header .header-cabinet {
  height: var(--shared-header-control);
  min-height: var(--shared-header-control);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 21px;
  font-family: inherit;
  font-size: 0.84rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  box-sizing: border-box;
}

.factory-chrome .site-header .header-menu-button {
  width: 92px;
  gap: 9px;
  padding: 0 15px;
  border: 1px solid rgba(20, 103, 87, 0.11);
  background: linear-gradient(180deg, #f8fcf8, #edf7f1);
  color: #164c42;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.factory-chrome .site-header .header-menu-button__icon {
  width: 15px;
  height: 12px;
  display: grid;
  gap: 3px;
}

.factory-chrome .site-header .header-menu-button__icon span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.factory-chrome .site-header .header-menu-popover {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  width: 15rem;
  padding: 8px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 88% 4%, rgba(200, 139, 56, 0.08), transparent 28%),
    rgba(255, 253, 248, 0.98);
  border: 1px solid rgba(177, 143, 86, 0.18);
  box-shadow: 0 18px 46px rgba(8, 70, 58, 0.16);
  z-index: 50;
}

.factory-chrome .site-header .header-menu-popover[hidden] {
  display: none;
}

.factory-chrome .site-header .header-menu-popover a {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 14px;
  color: #153f38;
  font-weight: 600;
  text-decoration: none;
}

.factory-chrome .site-header .header-menu-popover a:hover {
  background: rgba(20, 126, 108, 0.09);
}

.factory-chrome .site-header .header-main-nav {
  min-width: 0;
  height: var(--shared-header-control);
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  overflow: hidden;
  border-radius: 23px;
  background: rgba(231, 244, 237, 0.84);
  border: 1px solid rgba(20, 103, 87, 0.08);
  box-sizing: border-box;
}

.factory-chrome .site-header .header-main-link {
  position: relative;
  width: 92px;
  min-width: 92px;
  height: 38px;
  flex: 0 0 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  overflow: hidden;
  border-radius: 18px;
  color: rgba(20, 61, 54, 0.78);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.factory-chrome .site-header .header-main-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--shared-header-amber), var(--shared-header-emerald));
  opacity: 0;
  transform: translateX(-50%) scaleX(0.7);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.factory-chrome .site-header .header-main-link:hover,
.factory-chrome .site-header .header-main-link.is-active {
  background: var(--shared-header-paper);
  color: #0d594b;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 7px 16px rgba(8, 65, 55, 0.07);
}

.factory-chrome .site-header .header-main-link:hover::after,
.factory-chrome .site-header .header-main-link.is-active::after,
.factory-chrome .site-header .header-main-link:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.factory-chrome .site-header .header-actions {
  width: 252px;
  height: var(--shared-header-control);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 8px;
  justify-self: end;
}

.factory-chrome .site-header .header-actions--catalog-case .header-store-button,
.factory-chrome .site-header .header-actions--catalog-case .header-case-button {
  width: 100%;
  min-width: 0;
  height: var(--shared-header-control);
  min-height: var(--shared-header-control);
  border-radius: 21px;
}

.factory-chrome .site-header .header-actions--catalog-case .header-case-button {
  color: var(--shared-header-cta-text);
  background: linear-gradient(135deg, #167a62 0%, #178c70 52%, #187f79 100%);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 10px 22px rgba(8, 91, 75, 0.22);
}

.factory-chrome .site-header .header-actions--catalog-case .header-case-button:hover,
.factory-chrome .site-header .header-actions--catalog-case .header-case-button.is-active {
  background: linear-gradient(135deg, #1a886c 0%, #1b9978 52%, #198c84 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 12px 26px rgba(8, 91, 75, 0.28);
}

.factory-chrome .site-header .header-action {
  width: 100%;
  padding: 0 15px;
  border: 1px solid rgba(16, 50, 92, 0.1);
  background: #f8fcfb;
  color: var(--primary-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 8px 18px rgba(12, 37, 68, 0.05);
}

.factory-chrome .site-header .header-action--primary {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #146b59 0%, #17866c 58%, #197f79 100%);
  box-shadow: 0 14px 28px rgba(8, 91, 75, 0.22);
}

.factory-chrome .site-header .header-action--primary.is-reset {
  background: linear-gradient(135deg, #ff7f73 0%, #df4f49 58%, #b92f3b 100%);
  box-shadow: 0 14px 28px rgba(185, 47, 59, 0.26);
}

.factory-chrome .site-header .header-action--primary.is-reset:hover:not(:disabled),
.factory-chrome .site-header .header-action--primary.is-reset:focus-visible {
  background: linear-gradient(135deg, #ff9186 0%, #e65752 58%, #c73945 100%);
  box-shadow: 0 18px 34px rgba(185, 47, 59, 0.3);
}

.factory-chrome .site-header .header-action:disabled {
  opacity: 0.56;
  cursor: not-allowed;
}

.factory-chrome .site-header .header-cabinet {
  width: 88px;
  padding: 0 13px;
  border: 1px solid rgba(16, 50, 92, 0.08);
  background: #fff;
  color: var(--primary-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 9px 20px rgba(12, 37, 68, 0.06);
}

.factory-chrome .site-header .header-store-button:hover,
.factory-chrome .site-header .header-cabinet:hover,
.factory-chrome .site-header .header-action:hover:not(:disabled),
.factory-chrome .site-header .header-menu-button:hover {
  transform: none;
}

.factory-chrome .site-header :where(
  .brand,
  .header-workflow-button,
  .header-menu-button,
  .header-main-link,
  .header-store-button,
  .header-case-button,
  .header-action,
  .header-cabinet,
  .header-geo-popover__button,
  .header-menu-popover a
):focus-visible {
  outline: 3px solid var(--shared-header-focus);
  outline-offset: 2px;
}

.factory-chrome .site-header .header-geo-popover__suggestion:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(20, 126, 108, 0.32);
}

@media (prefers-reduced-motion: reduce) {
:where(html:not([data-home-motion="full"])) .factory-chrome .site-header,
:where(html:not([data-home-motion="full"])) .factory-chrome .site-header *,
:where(html:not([data-home-motion="full"])) .factory-chrome .site-header *::before,
:where(html:not([data-home-motion="full"])) .factory-chrome .site-header *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

}

.factory-chrome .site-header .header-service-actions {
  margin-top: 8px;
  align-self: stretch;
  justify-content: flex-end;
  padding: 0 6px;
}









.factory-chrome .header-auth-dialog__sheet .case-profile-error:empty {
  display: none;
  min-height: 0;
}

.factory-chrome .header-auth-dialog__sheet .case-profile-error.is-success {
  color: #0b7a57;
}

.factory-chrome .header-auth-dialog__sheet .case-modal__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
  margin: 0.08rem 0 0;
  padding-top: 0.2rem;
}

.factory-chrome .header-auth-dialog__sheet .case-modal__actions .case-auth-button {
  width: 100%;
  min-width: 0;
  padding-inline: 0.95rem;
}

.factory-chrome .header-auth-dialog .case-auth-mode-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.24rem;
  padding: 0.25rem;
  border: 1px solid rgba(20, 103, 87, 0.14);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.94), rgba(232, 245, 238, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.factory-chrome .header-auth-dialog .case-auth-mode-switch__button {
  appearance: none;
  min-height: 2.55rem;
  padding: 0.62rem 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(20, 61, 54, 0.7);
  background: transparent;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.factory-chrome .header-auth-dialog .case-auth-mode-switch__button:hover,
.factory-chrome .header-auth-dialog .case-auth-mode-switch__button:focus-visible {
  color: var(--shared-header-emerald-deep);
  outline: 3px solid var(--shared-header-focus);
  outline-offset: 2px;
}

.factory-chrome .header-auth-dialog .case-auth-mode-switch__button.is-active {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: linear-gradient(135deg, #146b59, #17866c 58%, #197f79);
  box-shadow: 0 12px 24px rgba(8, 91, 75, 0.2);
}

.factory-chrome .header-auth-dialog [data-header-auth-login-panel],
.factory-chrome .header-auth-dialog__reset {
  display: grid;
  gap: 0.7rem;
}

.factory-chrome .header-auth-dialog [data-header-auth-login-panel][hidden],
.factory-chrome .header-auth-dialog__reset[hidden] {
  display: none !important;
}

.factory-chrome .header-auth-dialog__reset-copy {
  max-width: 25rem;
  margin: 0 auto 0.15rem;
  color: rgba(20, 61, 54, 0.72);
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

.factory-chrome .header-auth-dialog::backdrop {
  background: rgba(5, 45, 38, 0.26);
  backdrop-filter: blur(10px);
}

.factory-chrome .header-auth-dialog .header-auth-dialog__sheet {
  border-color: rgba(183, 151, 94, 0.2);
  background:
    radial-gradient(circle at 86% 4%, rgba(200, 139, 56, 0.1), transparent 28%),
    linear-gradient(150deg, rgba(255, 253, 248, 0.99), rgba(239, 248, 242, 0.98) 58%, rgba(230, 243, 236, 0.97));
  box-shadow:
    0 26px 64px rgba(5, 45, 38, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.factory-chrome .header-auth-dialog .header-auth-dialog__sheet h2 {
  color: #153f38;
  text-wrap: balance;
}

.factory-chrome .header-auth-dialog .section-eyebrow {
  color: #14715e;
  font-weight: 600;
}

.factory-chrome .header-auth-dialog .case-field span {
  color: rgba(20, 61, 54, 0.72);
  font-weight: 600;
}

.factory-chrome .header-auth-dialog .case-field input {
  border-color: rgba(20, 103, 87, 0.14);
  background: rgba(255, 253, 248, 0.94);
  color: #153f38;
}

.factory-chrome .header-auth-dialog .case-field input:focus-visible {
  border-color: rgba(20, 126, 108, 0.48);
  box-shadow: 0 0 0 4px rgba(20, 126, 108, 0.12);
}

.factory-chrome .header-auth-dialog .case-auth-button {
  transform: none;
  font-weight: 700;
}

.factory-chrome .header-auth-dialog .case-auth-button:hover,
.factory-chrome .header-auth-dialog .case-auth-button:focus-visible {
  transform: none;
  outline: 3px solid var(--shared-header-focus);
  outline-offset: 2px;
}

.factory-chrome .header-auth-dialog .case-auth-button--secondary {
  border-color: rgba(20, 103, 87, 0.12);
  background: rgba(255, 253, 248, 0.94);
  color: #174c42;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 10px 22px rgba(8, 65, 55, 0.08);
}

.factory-chrome .header-auth-dialog .case-auth-button--secondary:hover,
.factory-chrome .header-auth-dialog .case-auth-button--secondary:focus-visible {
  border-color: rgba(20, 103, 87, 0.22);
  background: #fff9ee;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 12px 24px rgba(8, 65, 55, 0.1);
}

.factory-chrome .header-auth-dialog .case-auth-button--primary,
.factory-chrome .header-auth-dialog .case-auth-button--primary:hover,
.factory-chrome .header-auth-dialog .case-auth-button--primary:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
  background: linear-gradient(135deg, #146b59, #17866c 58%, #197f79);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 14px 28px rgba(8, 91, 75, 0.22);
}

.factory-chrome .header-auth-dialog .case-modal__close {
  border-color: rgba(20, 103, 87, 0.12);
  background: rgba(255, 253, 248, 0.94);
  color: #174c42;
}

.factory-chrome .header-auth-dialog .case-modal__close:focus-visible,
.factory-chrome .header-auth-dialog .case-password-control button:focus-visible,
.factory-chrome .header-auth-dialog .case-modal__text-action:focus-visible {
  outline: 3px solid var(--shared-header-focus);
  outline-offset: 2px;
}

.factory-chrome .header-auth-dialog .case-password-control button {
  color: #176d5b;
}

.factory-chrome .header-auth-dialog .case-password-control button:hover,
.factory-chrome .header-auth-dialog .case-password-control button:focus-visible {
  background: rgba(20, 126, 108, 0.09);
}

.factory-chrome .header-auth-dialog .case-modal__switch {
  color: rgba(20, 61, 54, 0.6);
}

.factory-chrome .header-auth-dialog .case-modal__text-action,
.factory-chrome .header-auth-dialog .case-modal__text-action:hover,
.factory-chrome .header-auth-dialog .case-modal__text-action:focus-visible {
  color: #176d5b;
  font-weight: 600;
}

/* Original: footer.css */
.factory-chrome {
  --shared-footer-ink: #173d36;
  --shared-footer-ink-soft: #41665d;
  --shared-footer-paper: #fffdf8;
  --shared-footer-mint: #edf7f1;
  --shared-footer-amber: #c88b38;
  --shared-footer-focus: rgba(19, 123, 101, 0.3);
}

.factory-chrome .site-footer {
  min-width: 1260px;
  padding: 2.35rem 0 2.15rem;
  background:
    radial-gradient(circle at 84% 12%, rgba(200, 139, 56, 0.08), transparent 24%),
    radial-gradient(circle at 14% 76%, rgba(48, 151, 116, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(244, 250, 247, 0), rgba(237, 247, 242, 0.76) 52%, rgba(231, 243, 237, 0.92));
}

.factory-chrome .site-footer .container {
  width: 1200px;
  max-width: none;
}

.factory-chrome .footer-shell {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  display: grid;
  width: 1180px;
  min-width: 1180px;
  margin: 0 auto;
  gap: 18px;
  padding: 24px 26px 14px;
  border-radius: 28px;
  border: 1px solid rgba(24, 92, 76, 0.12);
  background:
    radial-gradient(circle at 92% 0%, rgba(200, 139, 56, 0.08), transparent 25%),
    radial-gradient(circle at 6% 100%, rgba(77, 166, 132, 0.08), transparent 28%),
    linear-gradient(145deg, rgba(255, 253, 248, 0.98), rgba(249, 253, 250, 0.98));
  box-shadow:
    0 22px 56px rgba(18, 74, 61, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.factory-chrome .footer-shell::before {
  content: "";
  position: absolute;
  inset: 0 48px auto;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, rgba(23, 126, 101, 0.82), rgba(65, 162, 127, 0.62) 72%, rgba(200, 139, 56, 0.44));
}

.factory-chrome .footer-shell::after {
  content: "";
  position: absolute;
  right: 0;
  top: -104px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 190, 155, 0.08), rgba(110, 190, 155, 0) 70%);
  pointer-events: none;
}

.factory-chrome .footer__top-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.9fr 0.92fr;
  gap: 24px;
  align-items: start;
}

.factory-chrome .footer__brand-block,
.factory-chrome .footer__section {
  display: grid;
  min-width: 0;
  gap: 0.4rem;
  align-content: start;
}

.factory-chrome .footer__brand-block {
  padding: 2px 2px 0 0;
}

.factory-chrome .footer__brand-copy {
  display: grid;
  align-content: start;
  gap: 0.58rem;
  min-width: 0;
}

.factory-chrome .footer__identity {
  display: flex;
  align-items: center;
  gap: 0.68rem;
}

.factory-chrome .footer__brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(25, 116, 93, 0.14);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 8px 18px rgba(18, 81, 67, 0.1);
}

.factory-chrome .footer__brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.factory-chrome .footer .footer__brand-name {
  color: var(--shared-footer-ink);
  font-family: var(--heading-font);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.1;
}

.factory-chrome .footer__section {
  padding-left: 24px;
  border-left: 1px solid rgba(23, 97, 80, 0.12);
}

.factory-chrome .footer .footer__eyebrow {
  margin: 0;
  width: auto;
  max-width: 100%;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #9a6a2f;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: nowrap;
}

.factory-chrome .footer .footer__title {
  margin: 0;
  font-family: var(--heading-font);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.22;
  max-width: 390px;
  color: var(--shared-footer-ink);
  letter-spacing: 0;
  text-wrap: balance;
}

.factory-chrome .footer p {
  margin: 0;
}

.factory-chrome .footer .footer__summary,
.factory-chrome .footer .footer__microcopy {
  color: rgba(36, 73, 65, 0.7);
  font-size: 0.86rem;
  line-height: 1.48;
}

.factory-chrome .footer .footer__brand-block .footer__summary {
  max-width: 390px;
  color: rgba(36, 73, 65, 0.72);
}

.factory-chrome .footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem 0.9rem;
  align-items: center;
  margin-top: 0.16rem;
  overflow-x: visible !important;
  overflow-y: visible !important;
}

.factory-chrome .footer__badges::-webkit-scrollbar {
  display: none;
}

.factory-chrome .footer__badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 1.35rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(33, 74, 64, 0.72);
  font-size: 0.74rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: none;
}

.factory-chrome .footer__badges span::before {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #279171;
  box-shadow: 0 0 0 3px rgba(39, 145, 113, 0.08);
}

.factory-chrome .footer__badges span:nth-child(4)::before {
  background: var(--shared-footer-amber);
  box-shadow: 0 0 0 3px rgba(200, 139, 56, 0.08);
}

.factory-chrome .footer__section-title {
  margin: 0;
  color: #176d5b;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
}

.factory-chrome .footer__list {
  list-style: none;
  display: grid;
  gap: 0.43rem;
  margin: 0;
  padding: 0;
}

.factory-chrome .footer__list li {
  position: relative;
  min-height: 1.1rem;
  padding-left: 1rem;
  color: rgba(31, 68, 60, 0.82);
  font-size: 0.86rem;
  line-height: 1.36;
}

.factory-chrome .footer__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: #43ae89;
  box-shadow: 0 0 0 3px rgba(67, 174, 137, 0.08);
}

.factory-chrome .footer__utility-stack {
  display: grid;
  min-width: 0;
  gap: 12px;
  padding-left: 24px;
  border-left: 1px solid rgba(23, 97, 80, 0.12);
}

.factory-chrome .footer__utility-stack .footer__section {
  padding-left: 0;
  border-left: 0;
}

.factory-chrome .footer__utility-stack .footer__section--contacts {
  padding-top: 12px;
  border-top: 1px solid rgba(23, 97, 80, 0.1);
}

.factory-chrome .footer__links,
.factory-chrome .footer__contacts {
  display: grid;
  gap: 0.16rem;
  justify-items: start;
}

.factory-chrome .footer .footer__link,
.factory-chrome .footer .footer__contacts a {
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: 100%;
  min-height: 1.5rem;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.1rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #176d5b;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.32;
  text-decoration: none;
  text-underline-offset: 0.2em;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  transition:
    color 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease,
    box-shadow 0.16s ease;
}

.factory-chrome .footer .footer__link::after {
  content: "→";
  flex: 0 0 auto;
  color: #a67335;
  font-size: 0.9em;
  transition: transform 0.16s ease;
}

.factory-chrome .footer .footer__link:hover,
.factory-chrome .footer .footer__link:focus-visible,
.factory-chrome .footer .footer__contacts a:hover,
.factory-chrome .footer .footer__contacts a:focus-visible {
  color: #0e584a;
  background: transparent;
  box-shadow: none;
  text-decoration: underline;
}

.factory-chrome .footer .footer__link:hover::after,
.factory-chrome .footer .footer__link:focus-visible::after {
  transform: translateX(2px);
}

.factory-chrome .footer .footer__link:focus-visible,
.factory-chrome .footer .footer__contacts a:focus-visible,
.factory-chrome .footer .footer__withdraw-button:focus-visible {
  outline: 3px solid var(--shared-footer-focus);
  outline-offset: 3px;
}

.factory-chrome .footer .footer__link.is-active {
  color: #0e584a;
  text-decoration: underline;
}

.factory-chrome .footer .footer__contacts a {
  white-space: normal;
}

.factory-chrome .footer__withdraw {
  display: flex;
  align-items: baseline;
  min-width: 0;
  padding-top: 0.08rem;
}

.factory-chrome .footer__withdraw-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  min-height: 1.5rem;
  padding: 0.08rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #865a27;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: center;
  white-space: normal;
  text-decoration: none;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.factory-chrome .footer__withdraw-button:hover {
  color: #684216;
  background: transparent;
  text-decoration: underline;
}

.factory-chrome .footer__withdraw-button:active {
  color: #10325c;
}

.factory-chrome .footer__bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(23, 97, 80, 0.1);
  align-items: start;
}

.factory-chrome .footer__requisites {
  display: grid;
  grid-template-columns: max-content max-content max-content minmax(0, 1fr);
  gap: 0;
  align-items: center;
  justify-content: start;
  min-height: 3.25rem;
  padding: 5px 6px 5px 4px;
  border: 1px solid rgba(24, 104, 84, 0.1);
  border-radius: 18px;
  background: rgba(237, 247, 241, 0.78);
}

.factory-chrome .footer__req-item {
  display: flex;
  gap: 0.42rem;
  align-items: center;
  min-height: 2rem;
  padding: 0 16px;
  border: 0;
  border-right: 1px solid rgba(23, 97, 80, 0.1);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  box-sizing: border-box;
}

.factory-chrome .footer__req-actions {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 6px;
  min-height: 2.65rem;
}

.factory-chrome .footer__req-actions.is-authenticated {
  grid-template-columns: none;
}

.factory-chrome .footer__req-actions:not(.is-authenticated) .footer__cabinet-link {
  display: none;
}

.factory-chrome .footer__req-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 2.65rem;
  padding: 0 1rem;
  border-radius: 13px;
  border: 1px solid rgba(21, 112, 90, 0.16);
  background: rgba(255, 255, 255, 0.82);
  color: #176d5b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94);
  box-sizing: border-box;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease,
    transform 0.16s ease;
}

.factory-chrome .footer__req-action:hover,
.factory-chrome .footer__req-action:focus-visible {
  transform: none;
  border-color: rgba(21, 112, 90, 0.28);
  background: #f6fcf8;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 7px 16px rgba(18, 81, 67, 0.1);
}

.factory-chrome .footer__req-action:focus-visible {
  outline: 3px solid rgba(31, 194, 129, 0.28);
  outline-offset: 3px;
}

.factory-chrome .footer__req-action--primary {
  border-color: #18785f;
  background: #18785f;
}

.factory-chrome .footer__req-action--primary strong {
  color: #fff;
}

.factory-chrome .footer__req-action--auth {
  border-color: rgba(21, 112, 90, 0.16);
  background: rgba(255, 255, 255, 0.82);
}

.factory-chrome .footer__req-action--auth strong {
  color: #176d5b;
}

.factory-chrome .footer__auth-link[data-mode="login"] {
  border-color: #18785f;
  background: #18785f;
}

.factory-chrome .footer__auth-link[data-mode="login"]:hover,
.factory-chrome .footer__auth-link[data-mode="login"]:focus-visible {
  border-color: #116650;
  background: #116650;
}

.factory-chrome .footer__auth-link[data-mode="login"] strong {
  color: #fff;
}

.factory-chrome .footer__auth-link[data-mode="logout"] {
  border-color: rgba(158, 58, 67, 0.14);
  background: rgba(255, 247, 246, 0.92);
}

.factory-chrome .footer__auth-link[data-mode="logout"]:hover,
.factory-chrome .footer__auth-link[data-mode="logout"]:focus-visible {
  border-color: rgba(158, 58, 67, 0.24);
  background: rgba(255, 239, 237, 0.96);
}

.factory-chrome .footer__auth-link[data-mode="logout"] strong {
  color: #a8323b;
}

.factory-chrome .footer__req-item span,
.factory-chrome .footer__req-action span {
  color: rgba(39, 79, 69, 0.52);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.factory-chrome .footer__req-action span {
  display: none;
}

.factory-chrome .footer__req-item strong,
.factory-chrome .footer__req-action strong {
  color: var(--shared-footer-ink);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.factory-chrome .footer__req-action--primary strong {
  color: #fff;
}

.factory-chrome .footer__req-action--auth strong {
  color: #176d5b;
}

.factory-chrome .footer__auth-link[data-mode="logout"] strong {
  color: #a8323b;
}

.factory-chrome .footer__req-actions.is-authenticated .footer__req-action--primary strong {
  font-size: 0.84rem;
}

















@media (prefers-reduced-motion: reduce) {
:where(html:not([data-home-motion="full"])) .factory-chrome .site-footer *,
:where(html:not([data-home-motion="full"])) .factory-chrome .site-footer *::before,
:where(html:not([data-home-motion="full"])) .factory-chrome .site-footer *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

}
















/* Original: legal-dialog.css */
.factory-chrome .privacy-withdraw-dialog {
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  width: 42rem;
  max-width: 42rem;
}

.factory-chrome .privacy-withdraw-dialog::backdrop {
  background: rgba(9, 26, 45, 0.36);
  backdrop-filter: blur(10px);
}

.factory-chrome .privacy-withdraw-dialog[open] {
  animation: chrome-privacy-withdraw-dialog-in 0.24s ease;
}

.factory-chrome .privacy-withdraw-dialog__sheet {
  position: relative;
  display: grid;
  gap: 1.2rem;
  width: 42rem;
  margin: 0;
  padding: 1.7rem;
  border-radius: 32px;
  border: 1px solid rgba(16, 50, 92, 0.1);
  background:
    linear-gradient(180deg, rgba(252, 254, 255, 0.98), rgba(241, 247, 255, 0.96));
  box-shadow: none;
}

.factory-chrome .privacy-withdraw-dialog__head {
  position: relative;
  display: grid;
  gap: 0.55rem;
  padding-right: 3.25rem;
}

.factory-chrome .privacy-withdraw-dialog__eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 146, 99, 0.92);
}

.factory-chrome .privacy-withdraw-dialog__head h2 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: 2.2rem;
  line-height: 0.98;
  color: var(--primary-strong);
}

.factory-chrome .privacy-withdraw-dialog__lead,
.factory-chrome .privacy-withdraw-dialog__note {
  margin: 0;
  color: rgba(19, 38, 61, 0.74);
}

.factory-chrome .privacy-withdraw-dialog__close {
  position: absolute;
  top: 0;
  right: 0;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  border: 1px solid rgba(16, 50, 92, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
  cursor: pointer;
}

.factory-chrome .privacy-withdraw-dialog__close:hover {
  background: #fff;
}

.factory-chrome .privacy-withdraw-dialog__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1rem;
  height: 2px;
  border-radius: 999px;
  background: var(--primary-strong);
}

.factory-chrome .privacy-withdraw-dialog__close span {
  transform: translate(-50%, -50%) rotate(45deg);
}

.factory-chrome .privacy-withdraw-dialog__close span::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  transform: rotate(90deg);
  transform-origin: center;
}

.factory-chrome .privacy-withdraw-dialog__body {
  display: grid;
  gap: 0.9rem;
}

.factory-chrome .privacy-withdraw-dialog__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.factory-chrome .privacy-withdraw-dialog__body .field {
  margin: 0;
}

.factory-chrome .privacy-withdraw-dialog__body .field span {
  font-weight: 700;
  color: var(--primary-strong);
}

.factory-chrome .privacy-withdraw-dialog__body .field input,
.factory-chrome .privacy-withdraw-dialog__body .field textarea {
  min-height: 3.25rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: none;
}

.factory-chrome .privacy-withdraw-dialog__body .field textarea {
  resize: vertical;
  min-height: 6.5rem;
}

.factory-chrome .privacy-withdraw-dialog__confirm {
  display: grid;
  grid-template-columns: 1.1rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(16, 50, 92, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
  color: rgba(19, 38, 61, 0.78);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.44;
  box-shadow: none;
}

.factory-chrome .privacy-withdraw-dialog__confirm input {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.1rem 0 0;
  accent-color: #1f8d61;
  box-shadow: none;
}

.factory-chrome .privacy-withdraw-dialog__error,
.factory-chrome .privacy-withdraw-dialog__status {
  margin: 0;
  min-height: 1.3rem;
  font-size: 0.94rem;
}

.factory-chrome .privacy-withdraw-dialog__status {
  color: rgba(19, 38, 61, 0.7);
}

.factory-chrome .privacy-withdraw-dialog__status[data-state="success"] {
  color: #138455;
}

.factory-chrome .privacy-withdraw-dialog__status[data-state="pending"] {
  color: #245caa;
}

.factory-chrome .privacy-withdraw-dialog__status[data-state="error"] {
  color: #b3433d;
}

.factory-chrome .privacy-withdraw-dialog__actions {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 0.7rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.factory-chrome .privacy-withdraw-dialog__actions::-webkit-scrollbar {
  display: none;
}

.factory-chrome .privacy-withdraw-dialog__actions .btn {
  min-height: 3rem;
  padding-inline: 1.08rem;
  box-shadow: none;
}

.factory-chrome .privacy-withdraw-dialog__actions .btn:disabled {
  opacity: 0.64;
  cursor: progress;
  box-shadow: none;
}

.factory-chrome .privacy-withdraw-dialog,
.factory-chrome .privacy-withdraw-dialog *,
.factory-chrome .privacy-withdraw-dialog *::before,
.factory-chrome .privacy-withdraw-dialog *::after {
  box-shadow: none !important;
  text-shadow: none !important;
}

.factory-chrome .privacy-withdraw-dialog .btn:hover:not(:disabled),
.factory-chrome .privacy-withdraw-dialog .btn:focus-visible,
.factory-chrome .privacy-withdraw-dialog .btn:active,
.factory-chrome .privacy-withdraw-dialog__close:hover,
.factory-chrome .privacy-withdraw-dialog__close:focus-visible,
.factory-chrome .privacy-withdraw-dialog__body .field input:focus,
.factory-chrome .privacy-withdraw-dialog__body .field textarea:focus {
  box-shadow: none !important;
}

@keyframes chrome-privacy-withdraw-dialog-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.factory-chrome {
  --heading-font: "Sora", "Manrope", "Segoe UI", sans-serif;
  --body-font: "Manrope", "Segoe UI", sans-serif;
  --type-display-size: 56px;
  --type-page-title-size: 50px;
  --type-long-title-size: 44px;
  --type-section-title-size: 38px;
  --type-section-compact-size: 32px;
  --type-subsection-size: 24px;
  --type-card-title-size: 18px;
  --type-body-size: 16px;
  --type-body-compact-size: 15px;
  --type-label-size: 13px;
  --type-meta-size: 12px;
  --type-action-size: 16px;
  --type-weight-regular: 400;
  --type-weight-medium: 500;
  --type-weight-semibold: 600;
  --type-weight-bold: 700;
  --type-weight-extrabold: 800;
}




























































.factory-chrome .site-header {
  font-family: var(--body-font);
  font-synthesis: none;
}

.factory-chrome .site-header :where(a, button, input, select, textarea, option) {
  font-family: var(--body-font);
}

.factory-chrome .site-header .brand-title {
  font-family: var(--heading-font);
  font-size: 14.4px;
  font-weight: var(--type-weight-bold);
  line-height: 15.12px;
  letter-spacing: 0;
}

.factory-chrome .site-header .brand-subtitle {
  font-family: var(--heading-font);
  font-size: 10.88px;
  font-weight: var(--type-weight-medium);
  line-height: 10.88px;
  letter-spacing: 0;
}


.factory-chrome .site-header .header-menu-button {
  font-size: 13.44px;
  font-weight: var(--type-weight-semibold);
  line-height: 13.44px;
  letter-spacing: 0;
}

.factory-chrome .site-header .header-workflow-button--continue,
.factory-chrome .site-header .header-workflow-button--primary,
.factory-chrome .site-header .header-store-button,
.factory-chrome .site-header .header-case-button {
  font-size: 12.48px;
  font-weight: var(--type-weight-bold);
  line-height: 12.48px;
  letter-spacing: 0;
}

.factory-chrome .site-header .header-telegram-meta-link,
.factory-chrome .site-header .header-auth-meta-link {
  font-size: 12.16px;
  font-weight: var(--type-weight-semibold);
  line-height: 12.16px;
  letter-spacing: 0;
}

.factory-chrome .site-header .header-geo-label,
.factory-chrome .site-header .header-geo-trigger {
  font-family: var(--body-font);
  font-size: 12.16px;
  font-weight: var(--type-weight-semibold);
  line-height: 12.16px;
  letter-spacing: 0;
}

.factory-chrome .site-header .header-geo-popover__title,
.factory-chrome .site-header .header-auth-dialog h2 {
  font-family: var(--heading-font);
  font-weight: var(--type-weight-bold);
}

.factory-chrome .site-header .header-auth-dialog .case-auth-mode-switch__button {
  font-weight: var(--type-weight-bold);
}

.factory-chrome .site-footer {
  font-family: var(--body-font);
  font-synthesis: none;
}

.factory-chrome .site-footer :where(a, button, input, select, textarea, option) {
  font-family: var(--body-font);
}

.factory-chrome .site-footer .footer__eyebrow {
  font-family: var(--body-font);
  font-size: 11.52px;
  font-weight: var(--type-weight-medium);
  line-height: 13.248px;
  letter-spacing: 0.9216px;
  text-transform: uppercase;
}

.factory-chrome .site-footer .footer__title {
  font-family: var(--heading-font);
  font-size: 19.52px;
  font-weight: var(--type-weight-semibold);
  line-height: 23.8144px;
  letter-spacing: 0;
}

.factory-chrome .site-footer .footer__summary,
.factory-chrome .site-footer .footer__microcopy {
  font-size: 13.6px;
  font-weight: var(--type-weight-regular);
  line-height: 20.128px;
  letter-spacing: 0;
}

.factory-chrome .site-footer .footer__badges span {
  font-size: 11.68px;
  font-weight: var(--type-weight-medium);
  line-height: normal;
  letter-spacing: 0;
}

.factory-chrome .site-footer .footer__section-title {
  font-family: var(--body-font);
  font-size: 11.52px;
  font-weight: var(--type-weight-semibold);
  line-height: 13.248px;
  letter-spacing: 0.9216px;
  text-transform: uppercase;
}

.factory-chrome .site-footer .footer__list li {
  font-size: 13.6px;
  font-weight: var(--type-weight-regular);
  line-height: 18.496px;
  letter-spacing: 0;
}

.factory-chrome .site-footer .footer__link,
.factory-chrome .site-footer .footer__links a {
  font-size: 13.6px;
  font-weight: var(--type-weight-medium);
  line-height: 17.952px;
  letter-spacing: 0;
}

.factory-chrome .site-footer .footer__contacts a {
  font-size: 13.6px;
  font-weight: var(--type-weight-medium);
  line-height: 17.952px;
  letter-spacing: 0;
}

.factory-chrome .site-footer .footer__withdraw-button {
  font-size: 12.8px;
  font-weight: var(--type-weight-medium);
  line-height: 17.28px;
  letter-spacing: 0;
}

.factory-chrome .site-footer .footer__req-item span,
.factory-chrome .site-footer .footer__req-action span {
  font-size: 9.92px;
  font-weight: var(--type-weight-medium);
  line-height: 10.912px;
  letter-spacing: 0.7936px;
  text-transform: uppercase;
}

.factory-chrome .site-footer .footer__req-item strong,
.factory-chrome .site-footer .footer__req-action strong {
  font-size: 13.28px;
  font-weight: var(--type-weight-medium);
  line-height: 15.936px;
  letter-spacing: 0;
}

/* Factory-only integration and responsive layer */
@font-face { font-family: 'Manrope'; src: url('assets/fonts/chrome/manrope-cyrillic.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; src: url('assets/fonts/chrome/manrope-latin.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Sora'; src: url('assets/fonts/chrome/sora-latin.woff2') format('woff2'); font-weight: 100 800; font-style: normal; font-display: swap; }
.factory-chrome { --desktop-layout-width: 0px; color: var(--text); font-family: var(--body-font); font-size: 16px; line-height: 1.6; font-synthesis: none; }
/* The shared shell must not depend on a page's global reset. */
.factory-chrome,
.factory-chrome *,
.factory-chrome *::before,
.factory-chrome *::after { box-sizing: border-box; }
.factory-chrome :where(button, input, select, textarea) { font-family: var(--body-font); }
.factory-chrome a { color: inherit; }
.factory-chrome :where(p, h2, h3, ul) { margin: 0; }
.factory-chrome h2, .factory-chrome h3 { font-family: var(--heading-font); }
.factory-chrome :where(button, a, summary, input):focus-visible { outline: 3px solid var(--shared-header-focus); outline-offset: 3px; }
.factory-chrome [hidden] { display: none !important; }
.factory-chrome--header { position: sticky; top: 0; z-index: 1100; }
.factory-chrome .site-header { position: relative; top: auto; height: auto; -webkit-backdrop-filter: none; }
.factory-chrome .site-header .header-inner { height: auto; }
/* Desktop retains the original Socgrant-derived factory composition. */
.factory-chrome .site-header .header-shell { width: 1160px; padding: 0; max-width: calc(100% - 32px); min-width: 0; }
.factory-chrome .site-header .header-capsule { grid-template-columns: 452px 92px minmax(0, 1fr) 252px; }
.factory-chrome .site-header .brand { width: 204px; }
.factory-chrome .site-header .header-brand-case { gap: 6px; }
.factory-chrome .site-header .header-capsule--public .header-workflow-button--continue { margin-left: 0; }
.factory-chrome .site-header .header-main-link { flex: 1 1 0; min-width: 0; width: auto; }
@media (min-width: 1024px) {
  .factory-chrome .site-header .header-actions--catalog-case .header-case-button { padding-inline: 9px; }
}
.factory-chrome .site-header .brand-title { white-space: nowrap; }
.factory-chrome .site-header .brand-mark__image { width: 100%; height: 100%; object-fit: contain; }
.factory-chrome .site-footer { min-width: 0; color: var(--shared-footer-ink); border-top: 0; }
.factory-chrome .site-footer .container { max-width: calc(100% - 32px); padding: 0; margin: 0 auto; }
.factory-chrome .footer-shell { min-width: 0; max-width: 100%; }
.factory-chrome .footer__req-actions:not(.is-authenticated) .footer__cabinet-link { display: inline-flex; }
.factory-chrome .footer__brand-mark img { object-fit: contain; }
.factory-chrome .chrome-footer-disclosure > summary { display: none; }
.factory-chrome .chrome-footer-more { border-top: 1px solid rgba(23,97,80,.12); padding-top: 12px; }
.factory-chrome .chrome-footer-more summary { color: var(--shared-footer-ink-soft); font-size: .76rem; font-weight: 600; cursor: pointer; }
.factory-chrome .chrome-footer-more nav { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 12px; font-size: .8rem; }
.factory-chrome .chrome-footer-more a:hover { text-decoration: underline; text-underline-offset: 4px; }
.factory-chrome .chrome-footer-copyright { color: var(--shared-footer-ink-soft); font-size: .7rem; }
.factory-chrome :where(.case-modal, .privacy-withdraw-dialog) { margin: auto; max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; }
.factory-chrome .case-modal__sheet { text-align: left; }
.factory-chrome .case-modal__sheet h2 { padding-right: 44px; }
.factory-chrome .case-modal__close { width: 44px; height: 44px; }
.factory-chrome .case-modal__sheet .section-eyebrow { color: #9a6a2f; }
.factory-chrome .case-modal__sheet .case-field { margin-top: 12px; }
.factory-chrome .case-password-control button { min-width: 44px; min-height: 44px; }
.factory-chrome .header-auth-dialog__sheet .case-profile-error { display: block; font-size: .76rem; line-height: 1.45; margin-top: 10px; color: #86551e; }
.factory-chrome .chrome-pending-copy { font-size: .92rem; }
.factory-chrome .header-menu-popover { max-height: min(75dvh, 560px); overflow-y: auto; overscroll-behavior: contain; }
.factory-chrome .header-menu-popover.is-opening, .factory-chrome .header-geo-popover.is-opening { animation: chrome-popover-in .18s ease both; }
.factory-chrome .case-modal[open] { animation: chrome-dialog-in .22s ease both; }
@keyframes chrome-popover-in { from { opacity: 0; translate: 0 -8px; } to { opacity: 1; translate: 0 0; } }
@keyframes chrome-dialog-in { from { opacity: 0; scale: .98; } to { opacity: 1; scale: 1; } }
/* Portable: utility labels above; Home/Menu/Continue/Request below, with equal heights. */
@media (max-width: 767px) {
  .factory-chrome .site-header .header-shell { width: 360px; max-width: calc(100% - 12px); min-width: 0; gap: 6px; }
  .factory-chrome .site-header .header-capsule { display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: 6px; padding: 6px; min-height: 58px; }
  .factory-chrome .site-header .header-brand-case { display: contents; }
  .factory-chrome .site-header .header-main-nav { display: none; }
  .factory-chrome .site-header .header-actions { display: none; }
  .factory-chrome .site-header .header-menu { position: static; width: 44px; min-width: 44px; height: 44px; flex: 0 0 44px; }
  .factory-chrome .site-header .brand { width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 0; gap: 0; flex: 0 0 44px; border-radius: 50%; }
  .factory-chrome .site-header .brand-copy { display: none; }
  .factory-chrome .site-header .brand-mark { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(19,114,95,.14); background: #fffdf8; }
  .factory-chrome .site-header .brand-mark__image { width: 32px; height: 32px; }
  .factory-chrome .site-header .header-capsule--public .header-workflow-button--continue { width: 98px; min-width: 98px; max-width: 98px; height: 44px; min-height: 44px; padding: 0 10px; margin: 0; flex: 0 0 98px; background: #e1e4e6 !important; border-color: #d4d9dd !important; color: #5d666d !important; box-shadow: none !important; }
  .factory-chrome .site-header .header-workflow-button--continue::before,
  .factory-chrome .site-header .header-workflow-button--continue::after { content: none; }
  .factory-chrome .site-header .header-capsule--public .header-workflow-button.header-workflow-button--primary { width: 88px; min-width: 88px; max-width: 88px; height: 44px; min-height: 44px; padding: 0 10px; flex: 0 0 88px; }
  .factory-chrome .site-header .header-menu-button { width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 50%; color: #173d36; border-color: rgba(19,114,95,.14); background: #fffdf8; }
  .factory-chrome .site-header .header-menu-button__label { display: none; }
  .factory-chrome .site-header .chrome-compact-label,
  .factory-chrome .site-header .header-case-button__label { display: inline; }
  .factory-chrome .site-header .header-menu-popover .header-case-button,
  .factory-chrome .site-header .header-menu-popover .header-store-button { width: 100%; min-width: 0; height: 44px; min-height: 44px; justify-content: flex-start; padding: 0 12px; color: #173d36; background: rgba(20,126,108,.06); border: 0; box-shadow: none; }
  .factory-chrome .site-header .header-menu-popover .header-main-link { width: 100%; min-width: 0; height: 44px; min-height: 44px; justify-content: flex-start; flex: none; padding: 0 12px; font-size: 14px; }
  .factory-chrome .site-header .header-menu-popover .header-main-link::after { content: none; }
  .factory-chrome .site-header .header-menu-popover .header-case-button__icon,
  .factory-chrome .site-header .header-menu-popover .header-store-button__icon { display: none; }
  .factory-chrome .site-header .header-meta-nav { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 4px; height: 30px; min-height: 30px; max-height: 30px; }
  .factory-chrome .site-header .header-telegram-meta-link, .factory-chrome .site-header .header-auth-meta-link { position: static; transform: none; min-width: 0; height: 30px; min-height: 30px; padding: 0 8px; font-size: .7rem; }
  .factory-chrome .site-header .header-auth-meta-link { grid-column: 3; grid-row: 1; }
  .factory-chrome .site-header .header-geo-summary { grid-column: 2; grid-row: 1; min-width: 0; height: 30px; min-height: 30px; padding: 0 8px; }
  .factory-chrome .site-header .header-geo-label { display: none; }
  .factory-chrome .site-header .header-geo-trigger { max-width: 100%; min-width: 0; height: 28px; min-height: 28px; font-size: .7rem; }
  .factory-chrome .site-header .header-geo-trigger > span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .factory-chrome .site-header.site-header--meta-hidden .header-meta-nav { min-height: 0; }
  .factory-chrome .site-header .header-geo-popover { top: calc(100% + 8px); width: min(360px, calc(100vw - 16px)); max-height: calc(100dvh - 110px); overflow-y: auto; }
  .factory-chrome .site-header .header-geo-popover__input { min-height: 44px; font-size: 16px; }
  .factory-chrome .site-header .header-geo-popover__button { min-height: 44px; height: auto; white-space: normal; }
  .factory-chrome .site-header .header-menu-popover { width: min(350px, calc(100vw - 16px)); left: 50%; right: auto; transform: translateX(-50%); }
  .factory-chrome .site-header .header-menu-popover a { min-height: 44px; }
  .factory-chrome .site-header .header-menu-popover a { font-size: 14px; line-height: 20px; }
}
/* Tablet: all desktop actions in ONE row, without changing wide desktop/phone. */
@media (min-width: 768px) and (max-width: 1023px) {
  .factory-chrome .site-header .header-shell { max-width: calc(100% - 8px); }
  .factory-chrome .site-header .header-capsule { grid-template-columns: 354px 68px minmax(0, 1fr) 168px; grid-template-rows: auto; gap: 4px; }
  .factory-chrome .site-header .header-brand-case { gap: 4px; }
  .factory-chrome .site-header .brand { width: 168px; padding-inline: 4px; gap: 4px; }
  .factory-chrome .site-header .brand-mark { width: 26px; height: 26px; }
  .factory-chrome .site-header .brand-title { font-size: 13px; line-height: 13.65px; }
  .factory-chrome .site-header .brand-subtitle { font-size: 10.5px; line-height: 10.5px; }
  .factory-chrome .site-header .header-workflow-button { font-size: 12px; line-height: 12px; padding-inline: 7px; }
  .factory-chrome .site-header .header-capsule--public .header-workflow-button--continue { width: 92px; min-width: 92px; }
  .factory-chrome .site-header .header-capsule--public .header-workflow-button--primary { width: 76px; min-width: 76px; max-width: 76px; font-size: 12px; line-height: 12px; }
  .factory-chrome .site-header .header-menu-button { width: 68px; padding-inline: 6px; gap: 4px; font-size: 12px; }
  .factory-chrome .site-header .header-menu-button__icon { width: 14px; flex: 0 0 14px; }
  .factory-chrome .site-header .header-menu-popover { left: auto; right: 0; }
  /* The middle track is the buffer; its two buttons share all remaining width. */
  .factory-chrome .site-header .header-main-nav { gap: 2px; }
  .factory-chrome .site-header .header-main-link { width: auto; min-width: 0; flex: 1 1 0; padding-inline: 4px; font-size: 12px; }
  .factory-chrome .site-header .header-actions { width: 168px; grid-template-columns: 70px 94px; gap: 4px; }
  .factory-chrome .site-header .header-actions--catalog-case .header-store-button,
  .factory-chrome .site-header .header-actions--catalog-case .header-case-button { padding-inline: 6px; gap: 4px; font-size: 12px; line-height: 12px; }
  .factory-chrome .site-header .header-store-button__label { font-size: inherit; }
  .factory-chrome .site-header .header-store-button__icon,
  .factory-chrome .site-header .header-case-button__icon { display: none; }
}
/* Keep the full original row at 1024; only trim the outside gutter, not controls. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .factory-chrome .site-header .header-shell { max-width: calc(100% - 8px); }
}
@media (max-width: 480px) {
  .factory-chrome .site-header .header-telegram-meta-link { font-size: .66rem; padding: 0 5px; }
  .factory-chrome .site-header .header-auth-meta-link { font-size: .64rem; padding: 0 5px; }
  .factory-chrome .site-header .brand-title { font-size: .86rem; }
  .factory-chrome .case-modal__actions .case-auth-button { min-width: 0; padding: .75rem .65rem; font-size: .8rem; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  :where(html:not([data-home-motion="full"])) .factory-chrome *, :where(html:not([data-home-motion="full"])) .factory-chrome *::before, :where(html:not([data-home-motion="full"])) .factory-chrome *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* CF-055 screenshot correction: decorative glass must not bleed outside chrome.
   Keep containers overflow-visible so navigation popovers remain usable. */
.factory-chrome .site-header {
  filter: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
.factory-chrome .site-header::before,
.factory-chrome .site-header::after,
.factory-chrome .site-header .header-capsule::before,
.factory-chrome .site-header .header-capsule::after {
  content: none;
  display: none;
  filter: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
.factory-chrome .site-header .header-capsule {
  overflow: visible;
  filter: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: linear-gradient(135deg, #fffdf8, #eef7f2);
  box-shadow: 0 6px 18px rgba(8, 65, 55, .1), inset 0 1px 0 #fff;
}
.factory-chrome .site-header .header-geo-summary,
.factory-chrome .site-header .header-auth-meta-link,
.factory-chrome .site-header .header-telegram-meta-link {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: #fffdf8;
}
.factory-chrome .hidden { display: none !important; }
.factory-chrome--header + main .hero-badge {
  overflow: hidden;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(25, 51, 36, .84);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .14);
}

/* CF-059 shared navigation and registration; no duplicate footer entry points. */
.factory-chrome .chrome-consent-row { display: grid; grid-template-columns: 20px minmax(0,1fr); align-items: start; gap: 10px; margin: 14px 0; font-size: .78rem; line-height: 1.5; }
.factory-chrome .chrome-consent-row input { width: 18px; height: 18px; margin-top: 3px; }
.factory-chrome .chrome-consent-row a { color: #0b554a; text-decoration: underline; }
.factory-chrome .case-password-control input { padding-right: 3.25rem; }
.office-session-bar { max-width: 1500px; margin: 0 auto; padding: 14px 36px; justify-content: flex-end; }
@media (max-width:767px) { .office-session-bar { padding: 12px 16px; } }

/* Compact business footer. All header rules stay independent of this surface. */
.factory-chrome .site-footer.footer--compact { padding: 28px 0 22px; }
.factory-chrome .site-footer.footer--compact > .container { width: 1160px; max-width: calc(100% - 32px); }
.factory-chrome .site-footer.footer--compact .footer-shell { width: 100%; min-width: 0; max-width: 100%; padding: 24px 24px 12px; gap: 18px; overflow: visible; border-radius: 24px; box-shadow: 0 12px 32px rgba(18,74,61,.07), inset 0 1px 0 rgba(255,255,255,.9); }
.factory-chrome .site-footer.footer--compact .footer-shell::after { display: none; }
.factory-chrome .site-footer.footer--compact .footer__top-grid { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr) minmax(0,1fr); gap: 24px; }
.factory-chrome .site-footer.footer--compact .footer__brand-block { gap: 10px; padding: 0; }
.factory-chrome .site-footer.footer--compact .footer__identity { gap: 10px; min-width: 0; align-items: flex-start; }
.factory-chrome .site-footer.footer--compact .footer__identity > div { flex: 1 1 0; min-width: 0; }
.factory-chrome .site-footer.footer--compact .footer__brand-mark { width: 40px; height: 40px; border-radius: 50%; box-shadow: none; }
.factory-chrome .site-footer.footer--compact .footer__brand-mark img { width: 32px; height: 32px; }
.factory-chrome .site-footer.footer--compact .footer__brand-name { margin: 0; font-size: 16px; line-height: 20px; font-weight: 700; letter-spacing: 0; white-space: normal; overflow-wrap: anywhere; }
.factory-chrome .site-footer.footer--compact .footer__eyebrow { margin-top: 3px; color: #577168; font-size: 10px; line-height: 14px; letter-spacing: .2px; white-space: normal; overflow-wrap: anywhere; text-transform: none; }
.factory-chrome .site-footer.footer--compact .footer__summary,
.factory-chrome .site-footer.footer--compact .footer__microcopy { margin: 0; max-width: none; font-size: 13px; line-height: 20px; color: #4d675e; }
.factory-chrome .site-footer.footer--compact .footer__offer-line { color: #13725f; font-size: 12px; line-height: 18px; font-weight: 700; }
.factory-chrome .site-footer.footer--compact .footer__section { gap: 10px; min-width: 0; border-top: 0; padding: 0 0 0 24px; border-left: 1px solid rgba(23,97,80,.12); }
.factory-chrome .site-footer.footer--compact .footer__section-title { font-size: 10px; line-height: 15px; letter-spacing: .8px; font-weight: 700; color: #41665d; }
.factory-chrome .site-footer.footer--compact .footer__contacts { gap: 2px; min-width: 0; justify-items: stretch; }
.factory-chrome .site-footer.footer--compact .footer__contacts a { width: 100%; min-width: 0; padding: 4px 0; min-height: 32px; border: 0; border-radius: 0; background: transparent; color: #13725f; font-size: 13px; line-height: 20px; justify-content: flex-start; gap: 8px; overflow-wrap: anywhere; }
.factory-chrome .site-footer.footer--compact .footer__contacts .footer-contact-phone { min-height: 36px; font-size: 18px; line-height: 24px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.factory-chrome .site-footer.footer--compact .footer__contacts .footer-contact-phone:hover,
.factory-chrome .site-footer.footer--compact .footer__contacts .footer-contact-phone:focus-visible { color: #0b554a; background: transparent; text-decoration: underline; }
.factory-chrome .site-footer.footer--compact .footer__contacts .footer-contact-email { font-size: 12px; }
.factory-chrome .site-footer.footer--compact .footer-company-key { display: grid; margin: 0; gap: 5px; font-size: 13px; line-height: 20px; }
.factory-chrome .site-footer.footer--compact .footer-company-key > div { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 10px; }
.factory-chrome .site-footer.footer--compact .footer-company-key dt { color: #577168; font-size: 10px; line-height: 20px; }
.factory-chrome .site-footer.footer--compact .footer-company-key dd { margin: 0; color: #173d36; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.factory-chrome .site-footer.footer--compact .footer-registration { font-size: 11px; line-height: 17px; color: #577168; }
.factory-chrome .site-footer.footer--compact .footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding-top: 10px; border-top: 1px solid rgba(23,97,80,.1); }
.factory-chrome .site-footer.footer--compact .chrome-footer-copyright { padding: 0; font-size: 10px; line-height: 16px; color: #577168; }
.factory-chrome .site-footer.footer--compact .footer-legal-links { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: center; }
.factory-chrome .site-footer.footer--compact .footer__link,
.factory-chrome .site-footer.footer--compact .footer__withdraw-button { width: auto; padding: 6px 0; min-height: 32px; font-size: 11px; line-height: 18px; text-align: left; }
.factory-chrome .site-footer.footer--compact .footer-legal-links .footer__link::after { content: none; }
@media (min-width: 768px) and (max-width: 1023px) {
  .factory-chrome .site-footer.footer--compact .footer-shell { padding: 20px 18px 10px; }
  .factory-chrome .site-footer.footer--compact .footer__top-grid { gap: 16px; }
  .factory-chrome .site-footer.footer--compact .footer__section { padding-left: 16px; }
  .factory-chrome .site-footer.footer--compact .footer__contacts .footer-contact-phone { font-size: 15px; }
}
@media (max-width: 767px) {
  .factory-chrome .site-footer.footer--compact { padding: 20px 0 16px; }
  .factory-chrome .site-footer.footer--compact .footer-shell { padding: 20px 18px 10px; gap: 10px; }
  .factory-chrome .site-footer.footer--compact .footer__top-grid { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .factory-chrome .site-footer.footer--compact .footer__brand-block { padding: 0; gap: 8px; }
  .factory-chrome .site-footer.footer--compact .footer__section { padding: 14px 0 0; border-left: 0; border-top: 1px solid rgba(23,97,80,.12); gap: 8px; }
  .factory-chrome .site-footer.footer--compact .footer__contacts { gap: 0; }
  .factory-chrome .site-footer.footer--compact .footer__contacts a { min-height: 44px; }
  .factory-chrome .site-footer.footer--compact .footer__contacts .footer-contact-phone { min-height: 44px; font-size: 18px; line-height: 24px; }
  .factory-chrome .site-footer.footer--compact .footer-company-key { display: flex; flex-wrap: wrap; gap: 4px 18px; }
  .factory-chrome .site-footer.footer--compact .footer-company-key > div { grid-template-columns: max-content max-content; gap: 6px; }
  .factory-chrome .site-footer.footer--compact .footer__bottom { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 6px; }
  .factory-chrome .site-footer.footer--compact .footer-legal-links { gap: 0 18px; }
  .factory-chrome .site-footer.footer--compact .footer-legal-links .footer__link,
  .factory-chrome .site-footer.footer--compact .footer-legal-links .footer__withdraw-button { min-height: 44px; }
}
/* CF-061: minimal company registration in the existing shared modal. */
.factory-chrome .site-header .header-capsule--public .header-workflow-button--continue[aria-disabled="true"] { background: #e1e4e6 !important; border-color: #d4d9dd !important; color: #5d666d !important; box-shadow: none !important; cursor: not-allowed; }
.factory-chrome .site-header .header-capsule--public .header-workflow-button--continue[aria-disabled="false"] { background: #fff0b8 !important; border-color: #d9b958 !important; color: #614914 !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 0 0 2px rgba(228,183,63,.18) !important; cursor: pointer; }
.factory-chrome .site-header .header-capsule--public .header-workflow-button--continue[aria-disabled="false"]:hover { background: #ffe69a !important; border-color: #cfa640 !important; }
.factory-chrome .site-header .header-capsule--public .header-workflow-button--continue[aria-disabled="false"]:focus-visible { outline: 2px solid #9b7418; outline-offset: 2px; }
#headerRegisterDialog{width:min(650px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow:auto}
.chrome-registration-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.chrome-registration-wide{grid-column:1/-1}
.factory-chrome .case-field select{width:100%;min-height:46px;border:1px solid #dce5dd;border-radius:8px;padding:10px 12px;background:#fff;color:#142216;font:inherit}
.chrome-organization-lookup{margin:12px 0 0}.chrome-organization-lookup p{margin:8px 0;color:#617168;font-size:12px;line-height:1.5}.chrome-organization-lookup button{border:1px solid #dce5dd;border-radius:8px;padding:10px 12px;background:#f4f7f4;color:#142216;font:inherit;cursor:pointer}
.chrome-organizations button{display:block;width:100%;text-align:left;white-space:normal;overflow-wrap:anywhere;margin:4px 0}
@media(max-width:480px){.chrome-registration-grid{grid-template-columns:1fr}.chrome-registration-wide{grid-column:auto}}
.chrome-registration-organization-row{grid-column:1/-1;display:grid;grid-template-columns:120px minmax(0,1fr) 150px;gap:16px;min-width:0}
.chrome-registration-organization-row .case-field{min-width:0}
@media(max-width:600px){.chrome-registration-organization-row{grid-template-columns:1fr;gap:0}}

/* D-107: only the registration organization-type control matches its neighbors. */
.factory-chrome #registerCompanyType {
  width: 100%;
  min-width: 0;
  min-height: 2.9rem;
  box-sizing: border-box;
  padding: 0.62rem 2.2rem 0.62rem 1rem;
  border: 1px solid rgba(20, 103, 87, 0.14);
  border-radius: 16px;
  color: #153f38;
  font: inherit;
  font-weight: 700;
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, rgba(20, 61, 54, 0.62) 50%) calc(100% - 1.1rem) 50% / 0.45rem 0.45rem no-repeat,
    linear-gradient(135deg, rgba(20, 61, 54, 0.62) 50%, transparent 50%) calc(100% - 0.82rem) 50% / 0.45rem 0.45rem no-repeat,
    rgba(255, 253, 248, 0.94);
}
.factory-chrome #registerCompanyType:focus {
  border-color: rgba(26, 95, 184, 0.36);
  box-shadow: 0 0 0 4px rgba(26, 95, 184, 0.08);
}
.factory-chrome #registerCompanyType:focus-visible {
  border-color: rgba(20, 126, 108, 0.48);
  box-shadow: 0 0 0 4px rgba(20, 126, 108, 0.12);
}
@media (forced-colors: active) {
  .factory-chrome #registerCompanyType {
    appearance: auto;
    background-image: none;
  }
}

/* D-115: only the three mobile utility buttons; capsule, desktop and footer stay frozen. */
@media (max-width: 767px) {
  .factory-chrome .site-header .header-meta-nav--geo { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; height: 44px; min-height: 44px; max-height: 44px; align-items: stretch; }
  .factory-chrome .site-header .header-telegram-meta-link,
  .factory-chrome .site-header .header-auth-meta-link,
  .factory-chrome .site-header .header-geo-summary { box-sizing: border-box; width: 100%; min-width: 0; height: 44px; min-height: 44px; padding: 0 6px; margin: 0; justify-content: center; text-align: center; font-size: 11.5px; line-height: 14px; white-space: normal; overflow-wrap: anywhere; }
  .factory-chrome .site-header .header-geo-trigger { width: 100%; max-width: 100%; height: 42px; min-height: 42px; justify-content: center; font-size: 11.5px; line-height: 14px; white-space: normal; }
  .factory-chrome .site-header .header-geo-trigger > span { max-width: 100%; max-height: 28px; white-space: normal; overflow-wrap: anywhere; overflow: hidden; }
}

/* D-117: one flat mobile utility style, without permanent borders, glare or shadows. */
@media (max-width: 767px) {
  .factory-chrome .site-header .header-meta-nav--geo { gap: 10px; }
  .factory-chrome .site-header .header-telegram-meta-link,
  .factory-chrome .site-header .header-auth-meta-link,
  .factory-chrome .site-header .header-geo-summary,
  .factory-chrome .site-header .header-telegram-meta-link:is(:hover, :focus-visible),
  .factory-chrome .site-header .header-auth-meta-link:is(:hover, :focus-visible),
  .factory-chrome .site-header .header-geo-summary:focus-within { background: #fffdf8; border-color: transparent; color: #173d36; box-shadow: none; text-shadow: none; }
  .factory-chrome .site-header .header-geo-trigger,
  .factory-chrome .site-header .header-geo-trigger:is(:hover, :focus-visible, [aria-expanded="true"]) { color: #173d36; text-shadow: none; }
  .factory-chrome .site-header .header-telegram-meta-link::before,
  .factory-chrome .site-header .header-telegram-meta-link::after,
  .factory-chrome .site-header .header-auth-meta-link::before,
  .factory-chrome .site-header .header-auth-meta-link::after,
  .factory-chrome .site-header .header-geo-trigger > span::after { content: none; }
  .factory-chrome .site-header .header-telegram-meta-link:focus-visible,
  .factory-chrome .site-header .header-auth-meta-link:focus-visible,
  .factory-chrome .site-header .header-geo-trigger:focus-visible { outline: 2px solid #13725f; outline-offset: 2px; }
}

/* D-125: 32px mobile utility surfaces inside unchanged 44px touch targets. */
@media (max-width: 767px) {
  .factory-chrome .site-header .header-telegram-meta-link,
  .factory-chrome .site-header .header-auth-meta-link,
  .factory-chrome .site-header .header-geo-summary,
  .factory-chrome .site-header .header-telegram-meta-link:is(:hover, :focus-visible),
  .factory-chrome .site-header .header-auth-meta-link:is(:hover, :focus-visible),
  .factory-chrome .site-header .header-geo-summary:focus-within { position: relative; top: auto; right: auto; left: auto; height: 44px; min-height: 44px; border: 0; background: transparent; color: #173d36; box-shadow: none; text-shadow: none; isolation: isolate; }
  .factory-chrome .site-header .header-telegram-meta-link::before,
  .factory-chrome .site-header .header-auth-meta-link::before,
  .factory-chrome .site-header .header-geo-summary::before { content: ""; position: absolute; inset: 6px 0; z-index: -1; border-radius: 999px; background: #fffdf8; opacity: 1; pointer-events: none; transform: none; transition: none; }
  .factory-chrome .site-header .header-geo-summary { padding: 0; }
  .factory-chrome .site-header .header-geo-trigger { box-sizing: border-box; width: 100%; height: 44px; min-height: 44px; padding: 0 6px; }
}

/* D-139: glass material only; all chrome geometry and inner controls stay unchanged. */
.factory-chrome .site-header .header-capsule--public {
  background: rgba(255, 253, 248, .94);
  border-color: rgba(255, 255, 255, .64);
  box-shadow: 0 6px 18px rgba(8, 30, 26, .12), inset 0 1px 0 rgba(255, 255, 255, .72), inset 0 -1px 0 rgba(255, 255, 255, .16);
}
.factory-chrome .site-header .header-telegram-meta-link,
.factory-chrome .site-header .header-auth-meta-link,
.factory-chrome .site-header .header-geo-summary,
.factory-chrome .site-header .header-telegram-meta-link:is(:hover, :focus-visible),
.factory-chrome .site-header .header-auth-meta-link:is(:hover, :focus-visible),
.factory-chrome .site-header .header-geo-summary:focus-within {
  background: rgba(255, 253, 248, .94);
  border-color: rgba(255, 255, 255, .64);
  color: #173d36;
  text-shadow: none;
  box-shadow: 0 3px 10px rgba(8, 30, 26, .08), inset 0 1px 0 rgba(255, 255, 255, .72);
}
.factory-chrome .site-header .header-geo-label,
.factory-chrome .site-header .header-geo-trigger,
.factory-chrome .site-header .header-geo-trigger:is(:hover, :focus-visible, [aria-expanded="true"]) { color: #173d36; text-shadow: none; }
.factory-chrome .site-header .header-telegram-meta-link:focus-visible,
.factory-chrome .site-header .header-auth-meta-link:focus-visible,
.factory-chrome .site-header .header-geo-trigger:focus-visible { outline: 2px solid #13725f; outline-offset: 2px; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .factory-chrome .site-header .header-capsule--public {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .factory-chrome .site-header .header-capsule--public::before {
    content: "";
    display: block;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
    overflow: hidden;
    clip-path: inset(0 round var(--shared-header-radius));
    background: linear-gradient(135deg, rgba(255, 253, 248, .38), rgba(241, 248, 244, .22));
    box-shadow: none;
    backdrop-filter: blur(20px) saturate(1.12);
    -webkit-backdrop-filter: blur(20px) saturate(1.12);
  }
  .factory-chrome .site-header .header-telegram-meta-link,
  .factory-chrome .site-header .header-auth-meta-link,
  .factory-chrome .site-header .header-geo-summary,
  .factory-chrome .site-header .header-telegram-meta-link:is(:hover, :focus-visible),
  .factory-chrome .site-header .header-auth-meta-link:is(:hover, :focus-visible),
  .factory-chrome .site-header .header-geo-summary:focus-within {
    background: transparent;
    isolation: isolate;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .factory-chrome .site-header .header-telegram-meta-link::before,
  .factory-chrome .site-header .header-auth-meta-link::before,
  .factory-chrome .site-header .header-geo-summary::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
    overflow: hidden;
    clip-path: inset(0 round 999px);
    opacity: 1;
    background: linear-gradient(135deg, rgba(255, 253, 248, .78), rgba(255, 253, 248, .72));
    backdrop-filter: blur(14px) saturate(1.08);
    -webkit-backdrop-filter: blur(14px) saturate(1.08);
  }
}
@media (max-width: 767px) {
  .factory-chrome .site-header .header-telegram-meta-link,
  .factory-chrome .site-header .header-auth-meta-link,
  .factory-chrome .site-header .header-geo-summary,
  .factory-chrome .site-header .header-telegram-meta-link:is(:hover, :focus-visible),
  .factory-chrome .site-header .header-auth-meta-link:is(:hover, :focus-visible),
  .factory-chrome .site-header .header-geo-summary:focus-within { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .factory-chrome .site-header .header-telegram-meta-link::before,
  .factory-chrome .site-header .header-auth-meta-link::before,
  .factory-chrome .site-header .header-geo-summary::before { inset: 6px 0; background: rgba(255, 253, 248, .94); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72), inset 0 0 0 1px rgba(255, 255, 255, .48), 0 3px 10px rgba(8, 30, 26, .08); }
  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .factory-chrome .site-header .header-telegram-meta-link::before,
    .factory-chrome .site-header .header-auth-meta-link::before,
    .factory-chrome .site-header .header-geo-summary::before { background: linear-gradient(135deg, rgba(255, 253, 248, .78), rgba(255, 253, 248, .72)); backdrop-filter: blur(14px) saturate(1.08); -webkit-backdrop-filter: blur(14px) saturate(1.08); }
  }
}
@media (prefers-reduced-transparency: reduce), (forced-colors: active) {
  .factory-chrome .site-header .header-capsule--public::before { display: none; }
  .factory-chrome .site-header .header-capsule--public,
  .factory-chrome .site-header .header-telegram-meta-link,
  .factory-chrome .site-header .header-auth-meta-link,
  .factory-chrome .site-header .header-geo-summary,
  .factory-chrome .site-header .header-telegram-meta-link:is(:hover, :focus-visible),
  .factory-chrome .site-header .header-auth-meta-link:is(:hover, :focus-visible),
  .factory-chrome .site-header .header-geo-summary:focus-within,
  .factory-chrome .site-header .header-telegram-meta-link::before,
  .factory-chrome .site-header .header-auth-meta-link::before,
  .factory-chrome .site-header .header-geo-summary::before { background: #fffdf8; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
  @media (max-width: 767px) {
    .factory-chrome .site-header .header-telegram-meta-link,
    .factory-chrome .site-header .header-auth-meta-link,
    .factory-chrome .site-header .header-geo-summary,
    .factory-chrome .site-header .header-telegram-meta-link:is(:hover, :focus-visible),
    .factory-chrome .site-header .header-auth-meta-link:is(:hover, :focus-visible),
    .factory-chrome .site-header .header-geo-summary:focus-within { background: transparent; }
  }
}

/* D-143: homepage footer material and decorative light only; frozen geometry and DOM stay unchanged. */
@media screen {
  #main.home-main + .factory-chrome--footer { position: relative; isolation: isolate; background: #141514; }
  #main.home-main + .factory-chrome--footer .site-footer.footer--compact { position: relative; z-index: 1; background: transparent; color: #f0f4f1; }
  #main.home-main + .factory-chrome--footer .site-footer.footer--compact .footer-shell { isolation: isolate; background: #292d2a; border-color: rgba(238,248,241,.18); box-shadow: 0 12px 32px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.14); }
  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    #main.home-main + .factory-chrome--footer .site-footer.footer--compact .footer-shell { background: transparent; }
    #main.home-main + .factory-chrome--footer .site-footer.footer--compact .footer-shell::after { content: ''; display: block; position: absolute; inset: 0; width: auto; height: auto; z-index: -1; pointer-events: none; border-radius: inherit; clip-path: inset(0 round 24px); background: linear-gradient(135deg, rgba(248,253,250,.12), rgba(241,248,244,.06)); backdrop-filter: blur(20px) saturate(1.12); -webkit-backdrop-filter: blur(20px) saturate(1.12); }
  }
  #main.home-main + .factory-chrome--footer .site-footer.footer--compact .footer__brand-name,
  #main.home-main + .factory-chrome--footer .site-footer.footer--compact .footer-company-key dd { color: #f0f4f1; }
  #main.home-main + .factory-chrome--footer .site-footer.footer--compact .footer__eyebrow,
  #main.home-main + .factory-chrome--footer .site-footer.footer--compact .footer__summary,
  #main.home-main + .factory-chrome--footer .site-footer.footer--compact .footer__microcopy,
  #main.home-main + .factory-chrome--footer .site-footer.footer--compact .footer__section-title,
  #main.home-main + .factory-chrome--footer .site-footer.footer--compact .footer-company-key dt,
  #main.home-main + .factory-chrome--footer .site-footer.footer--compact .footer-registration,
  #main.home-main + .factory-chrome--footer .site-footer.footer--compact .chrome-footer-copyright { color: #bfcac3; }
  #main.home-main + .factory-chrome--footer .site-footer.footer--compact .footer__offer-line,
  #main.home-main + .factory-chrome--footer .site-footer.footer--compact .footer__contacts a,
  #main.home-main + .factory-chrome--footer .site-footer.footer--compact .footer__link,
  #main.home-main + .factory-chrome--footer .site-footer.footer--compact .footer__withdraw-button { color: #d0e4d9; }
  #main.home-main + .factory-chrome--footer .site-footer.footer--compact .footer__contacts a:is(:hover, :focus-visible),
  #main.home-main + .factory-chrome--footer .site-footer.footer--compact .footer__link:is(:hover, :focus-visible, .is-active),
  #main.home-main + .factory-chrome--footer .site-footer.footer--compact .footer__withdraw-button:is(:hover, :focus-visible, :active) { color: #f4fff8; }
  #main.home-main + .factory-chrome--footer .site-footer.footer--compact .footer__contacts a:focus-visible,
  #main.home-main + .factory-chrome--footer .site-footer.footer--compact .footer__link:focus-visible,
  #main.home-main + .factory-chrome--footer .site-footer.footer--compact .footer__withdraw-button:focus-visible { outline-color: #b4dbc5; }
  #main.home-main + .factory-chrome--footer .site-footer.footer--compact .footer__section,
  #main.home-main + .factory-chrome--footer .site-footer.footer--compact .footer__bottom { border-color: rgba(238,248,241,.16); }
  #main.home-main + .factory-chrome--footer::before,
  #main.home-main + .factory-chrome--footer::after { content: ''; position: absolute; z-index: 0; pointer-events: none; border-radius: 50%; opacity: var(--home-ending-glow,.8); transition: opacity 900ms ease-out; animation-play-state: var(--home-ending-play,paused); }
  #main.home-main + .factory-chrome--footer::before { top: -160px; left: 7%; width: clamp(180px,30vw,420px); height: 320px; background: radial-gradient(closest-side, rgba(232,166,81,.2), rgba(212,138,56,.07) 52%, rgba(212,138,56,0)); animation: homeFooterWarmLight 22s ease-in-out infinite alternate; animation-play-state: var(--home-ending-play,paused); }
  #main.home-main + .factory-chrome--footer::after { top: -100px; right: 8%; width: clamp(160px,24vw,340px); height: 280px; background: radial-gradient(closest-side, rgba(248,207,140,.14), rgba(220,162,83,.04) 55%, rgba(220,162,83,0)); animation: homeFooterSoftLight 28s -9s ease-in-out infinite alternate; animation-play-state: var(--home-ending-play,paused); }
  @keyframes homeFooterWarmLight { from { transform: translate3d(-12px,-8px,0); } to { transform: translate3d(24px,12px,0); } }
  @keyframes homeFooterSoftLight { from { transform: translate3d(14px,8px,0); } to { transform: translate3d(-20px,-12px,0); } }
  @media (prefers-reduced-motion: reduce) {
    :where(html:not([data-home-motion="full"])) #main.home-main + .factory-chrome--footer::before,
    :where(html:not([data-home-motion="full"])) #main.home-main + .factory-chrome--footer::after { animation: none; transition: none; }
  }
  @media (forced-colors: active) {
    #main.home-main + .factory-chrome--footer::before,
    #main.home-main + .factory-chrome--footer::after { display: none; }
  }
  @media (prefers-reduced-transparency: reduce), (forced-colors: active) {
    #main.home-main + .factory-chrome--footer .site-footer.footer--compact .footer-shell { background: #292d2a; }
    #main.home-main + .factory-chrome--footer .site-footer.footer--compact .footer-shell::after { display: none; }
  }
}

/* D-170: the existing request button becomes amber only for a recoverable draft. */
#headerHomeActionButton[data-workflow-state="continue"] { background: #fff0b8; border-color: #d9b958; color: #614914; box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 0 0 2px rgba(228,183,63,.18); }
#headerHomeActionButton[data-workflow-state="continue"]:hover { background: #ffe69a; border-color: #cfa640; }
#headerHomeActionButton[data-workflow-state="continue"]:focus-visible { outline: 2px solid #9b7418; outline-offset: 2px; }

/* D-187: let the existing mobile row height animate in both directions. */
@media (max-width: 767px) {
  .factory-chrome .site-header .header-meta-nav--geo { min-height: 0; }
}

/* D-190: equal edge circles and equal middle actions on phones only. */
@media (max-width: 767px) {
  .factory-chrome .site-header .header-capsule { display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1fr) 44px; }
  .factory-chrome .site-header .brand { grid-column: 1; justify-self: start; }
  .factory-chrome .site-header .header-menu { grid-column: 4; justify-self: end; }
  .factory-chrome .site-header .header-capsule--public .header-workflow-button--continue { grid-column: 2; width: 100%; min-width: 0; max-width: none; }
  .factory-chrome .site-header .header-capsule--public .header-workflow-button.header-workflow-button--primary { grid-column: 3; width: 100%; min-width: 0; max-width: none; }
}

/* D-191: the utility surface moves while the sticky layout box stays constant. */
.factory-chrome .site-header,
.factory-chrome .site-header.site-header--meta-hidden { padding: 10px 0 12px; transition: none; pointer-events: none; }
.factory-chrome .site-header .header-shell,
.factory-chrome .site-header.site-header--meta-hidden .header-shell { --header-utility-offset: 30px; padding: 0; transform: translateY(0); transition: transform .32s cubic-bezier(.22, 1, .36, 1); pointer-events: none; }
.factory-chrome .site-header.site-header--meta-hidden .header-shell { transform: translateY(calc(-1 * var(--header-utility-offset))); }
.factory-chrome .site-header .header-shell > * { pointer-events: auto; }
.factory-chrome .site-header .header-meta-nav--geo,
.factory-chrome .site-header.site-header--meta-hidden .header-meta-nav--geo { height: 24px; min-height: 24px; max-height: 24px; transform: none; transition: opacity .22s ease, visibility 0s linear 0s; }
.factory-chrome .site-header.site-header--meta-hidden .header-meta-nav--geo { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .22s ease, visibility 0s linear .22s; }
.factory-chrome .site-header .header-menu-popover a:is(a, [class]) { width: 100%; min-width: 0; min-height: 44px; height: 44px; display: flex; flex: none; align-items: center; justify-content: flex-start; padding: 0 12px; border: 0; border-radius: 12px; background: transparent; color: #173d36; box-shadow: none; font-size: 14px; line-height: 20px; font-weight: 600; text-decoration: none; }
.factory-chrome .site-header .header-menu-popover a::before,
.factory-chrome .site-header .header-menu-popover a::after { content: none; }
.factory-chrome .site-header .header-menu-popover a:is(:hover, :focus-visible) { background: #eef1ed; color: #173d36; box-shadow: none; }
.factory-chrome .site-header .header-menu-popover a:is(.is-active, [aria-current]) { background: #e0eae3; color: #173d36; box-shadow: none; }
@media (max-width: 1023px) {
  .factory-chrome .site-header .header-main-nav,
  .factory-chrome .site-header .header-actions { display: none; }
  .factory-chrome .site-header .header-menu-popover :is(.header-case-button__icon, .header-store-button__icon, .header-inbox-counter) { display: none; }
}
@media (max-width: 767px) {
  .factory-chrome .site-header .header-shell,
  .factory-chrome .site-header.site-header--meta-hidden .header-shell { --header-utility-offset: 50px; }
  .factory-chrome .site-header .header-meta-nav--geo,
  .factory-chrome .site-header.site-header--meta-hidden .header-meta-nav--geo { height: 44px; min-height: 44px; max-height: 44px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .factory-chrome .site-header .header-shell { width: 760px; max-width: calc(100% - 24px); }
  .factory-chrome .site-header .header-capsule { grid-template-columns: minmax(0, 1fr) minmax(96px, 146px) minmax(96px, 146px) 44px; gap: 8px; }
  .factory-chrome .site-header .header-brand-case { display: contents; }
  .factory-chrome .site-header .brand { grid-column: 1; width: auto; max-width: 204px; justify-self: start; }
  .factory-chrome .site-header .header-capsule--public .header-workflow-button--continue { grid-column: 2; width: 100%; min-width: 0; max-width: none; }
  .factory-chrome .site-header .header-capsule--public .header-workflow-button.header-workflow-button--primary { grid-column: 3; width: 100%; min-width: 0; max-width: none; }
  .factory-chrome .site-header .header-menu { grid-column: 4; width: 44px; min-width: 44px; justify-self: end; }
  .factory-chrome .site-header .header-menu-button { width: 44px; min-width: 44px; height: 44px; padding: 0; justify-content: center; }
  .factory-chrome .site-header .header-menu-button__label { display: none; }
}

/* D-200: a complete compact tablet row, with the original green brand backing.
   Phone geometry and wide desktop remain unchanged. */
@media (min-width: 768px) and (max-width: 1023px) {
  .factory-chrome .site-header .header-shell { width: 100%; max-width: calc(100% - 24px); }
  .factory-chrome .site-header .header-capsule { grid-template-columns: minmax(0,1fr) 44px 124px 158px; gap: 4px; }
  .factory-chrome .site-header .header-brand-case { display: flex; grid-column: 1; height: 46px; padding: 0 3px; gap: 4px; }
  .factory-chrome .site-header .brand { width: 168px; max-width: 204px; flex: 1 1 auto; min-width: 148px; height: 44px; min-height: 44px; }
  .factory-chrome .site-header .brand-title,
  .factory-chrome .site-header .brand-subtitle { color: #fff; }
  .factory-chrome .site-header .header-capsule--public .header-workflow-button--continue { width: 92px; min-width: 92px; max-width: 92px; height: 44px; min-height: 44px; }
  .factory-chrome .site-header .header-capsule--public .header-workflow-button.header-workflow-button--primary { width: 76px; min-width: 76px; max-width: 76px; height: 44px; min-height: 44px; }
  .factory-chrome .site-header .header-menu { grid-column: 2; }
  .factory-chrome .site-header .header-main-nav { display: flex; grid-column: 3; height: 46px; padding: 0 1px; }
  .factory-chrome .site-header .header-actions { display: grid; grid-column: 4; width: 158px; grid-template-columns: 62px 92px; gap: 4px; }
  .factory-chrome .site-header .header-main-link { height: 44px; min-height: 44px; padding-inline: 3px; font-size: 12px; }
}

/* D-201: proportional tablet tracks; inset actions retain a 44px hit area. */
@media (min-width: 768px) and (max-width: 1279px) {
  .factory-chrome .site-header .header-shell { width: 100%; max-width: calc(100% - 24px); }
  .factory-chrome .site-header .header-capsule { grid-template-columns: minmax(362px,1.45fr) 46px minmax(124px,.55fr) minmax(158px,.65fr); gap: 6px; }
  .factory-chrome .site-header .header-brand-case { display: grid; grid-column: 1; grid-template-columns: minmax(176px,1.35fr) minmax(92px,1fr) minmax(76px,1fr); align-items: center; height: 46px; padding: 4px; gap: 4px; }
  .factory-chrome .site-header .brand { width: 100%; max-width: none; min-width: 0; height: 36px; min-height: 36px; position: relative; gap: 4px; padding-inline: 4px; }
  .factory-chrome .site-header .brand-mark { width: 26px; height: 26px; flex: 0 0 26px; }
  .factory-chrome .site-header .brand-title,
  .factory-chrome .site-header .brand-subtitle { color: #fff; }
  .factory-chrome .site-header .brand-title { font-size: 13px; }
  .factory-chrome .site-header .brand-subtitle { font-size: 10.5px; }
  .factory-chrome .site-header .header-capsule--public :is(.header-workflow-button--continue,.header-workflow-button.header-workflow-button--primary) { position: relative; width: 100%; min-width: 0; max-width: none; height: 36px; min-height: 36px; margin: 0; padding-inline: 7px; font-size: clamp(12px,1.2vw,14px); }
  .factory-chrome .site-header .brand::after,
  .factory-chrome .site-header .header-capsule--public .header-workflow-button::after { content: '' !important; display: block; position: absolute; inset: auto 0; top: 50%; height: 44px; transform: translateY(-50%); border-radius: inherit; background: transparent; pointer-events: auto; }
  .factory-chrome .site-header .header-menu { grid-column: 2; width: 46px; min-width: 46px; }
  .factory-chrome .site-header .header-menu-button { box-sizing: border-box; width: 46px; min-width: 46px; height: 46px; min-height: 46px; padding: 0; border-radius: 50%; justify-content: center; }
  .factory-chrome .site-header .header-menu-button__label { display: none; }
  .factory-chrome .site-header .header-main-nav { display: flex; grid-column: 3; height: 46px; padding: 0 1px; }
  .factory-chrome .site-header .header-main-link { width: auto; min-width: 0; flex: 1 1 0; height: 44px; min-height: 44px; padding-inline: 3px; font-size: clamp(12px,1.2vw,14px); }
  .factory-chrome .site-header .header-actions { display: grid; grid-column: 4; width: 100%; grid-template-columns: minmax(62px,1fr) minmax(92px,1.35fr); gap: 4px; }
  .factory-chrome .site-header .header-actions--catalog-case :is(.header-store-button,.header-case-button) { width: 100%; min-width: 0; height: 46px; min-height: 46px; padding-inline: 6px; font-size: clamp(12px,1.2vw,14px); }
  .factory-chrome .site-header :is(.header-store-button__icon,.header-case-button__icon) { display: none; }
}

/* D-230: Contacts occupy the former Continue position at every width. */
.factory-chrome .site-header .header-capsule--public #headerStoreButton.header-contacts { background: rgba(207,237,220,.28) !important; border-color: rgba(239,255,246,.34) !important; color: #08281e !important; box-shadow: none !important; -webkit-backdrop-filter: blur(14px) saturate(1.12); backdrop-filter: blur(14px) saturate(1.12); cursor: pointer; }
.factory-chrome .site-header .header-capsule--public #headerStoreButton.header-contacts:hover { background: rgba(207,237,220,.36) !important; border-color: rgba(244,255,249,.48) !important; }
.factory-chrome .site-header .header-capsule--public #headerStoreButton.header-contacts.is-active { background: rgba(185,226,202,.32) !important; border-color: rgba(227,251,236,.40) !important; }
.factory-chrome .site-header .header-capsule--public #headerStoreButton.header-contacts:focus-visible { outline: 2px solid #08281e; outline-offset: 2px; }
@media (min-width: 768px) and (max-width: 1279px) {
  .factory-chrome .site-header .header-capsule { grid-template-columns: minmax(362px,1.45fr) 46px minmax(124px,.55fr) minmax(108px,.45fr); }
  .factory-chrome .site-header .header-actions { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-transparency: reduce), (forced-colors: active) {
  .factory-chrome .site-header .header-capsule--public #headerStoreButton.header-contacts { background: #dceee5 !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* D-235: milk-white Contacts and thinner phone utilities on the header glass. */
.factory-chrome .site-header .header-capsule--public #headerStoreButton.header-contacts { background: rgba(255,253,248,.90) !important; border-color: rgba(255,255,255,.56) !important; color: #173d36 !important; }
.factory-chrome .site-header .header-capsule--public #headerStoreButton.header-contacts:hover { background: rgba(255,253,248,.96) !important; border-color: rgba(255,255,255,.70) !important; }
.factory-chrome .site-header .header-capsule--public #headerStoreButton.header-contacts.is-active { background: rgba(255,253,248,.94) !important; border-color: rgba(255,255,255,.64) !important; }
.factory-chrome .site-header .header-capsule--public #headerStoreButton.header-contacts:focus-visible { outline-color: #173d36; }
@media (max-width: 767px) {
  .factory-chrome .site-header .header-telegram-meta-link::before,
  .factory-chrome .site-header .header-auth-meta-link::before,
  .factory-chrome .site-header .header-geo-summary::before { inset: 10px 0; background: #fffdf8; box-shadow: none; }
  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .factory-chrome .site-header .header-telegram-meta-link::before,
    .factory-chrome .site-header .header-auth-meta-link::before,
    .factory-chrome .site-header .header-geo-summary::before { background: linear-gradient(135deg,rgba(255,253,248,.38),rgba(241,248,244,.22)); backdrop-filter: blur(20px) saturate(1.12); -webkit-backdrop-filter: blur(20px) saturate(1.12); }
  }
}
@media (max-width: 767px) and (prefers-reduced-transparency: reduce), (max-width: 767px) and (forced-colors: active) {
  .factory-chrome .site-header .header-telegram-meta-link::before,
  .factory-chrome .site-header .header-auth-meta-link::before,
  .factory-chrome .site-header .header-geo-summary::before { background: #fffdf8; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* D-236: navigation actions share Home's active/hover affordance. ::after keeps tablet touch targets. */
.factory-chrome .site-header .header-capsule--public :is(#headerHomeActionButton,#headerStoreButton,#headerInboxButton),
.factory-chrome .site-header .header-menu-popover a { position: relative; }
.factory-chrome .site-header .header-capsule--public :is(#headerHomeActionButton,#headerStoreButton).header-workflow-button { background: var(--shared-header-cta-bg) !important; border-color: var(--shared-header-cta-border) !important; color: var(--shared-header-cta-text) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.28), var(--shared-header-cta-shadow) !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
.factory-chrome .site-header .header-capsule--public :is(#headerHomeActionButton,#headerStoreButton).header-workflow-button:focus-visible { outline: 2px solid #0d594b; outline-offset: 2px; }
.factory-chrome .site-header .header-capsule--public :is(#headerHomeActionButton,#headerStoreButton,#headerInboxButton)::before,
.factory-chrome .site-header .header-menu-popover a::before { content: ''; display: block; position: absolute; inset: auto; left: 50%; bottom: 4px; width: 18px; height: 2px; border: 0; border-radius: 999px; background: linear-gradient(90deg,var(--shared-header-amber),var(--shared-header-emerald)); box-shadow: none; filter: none; opacity: 0; transform: translateX(-50%) scaleX(.7); transition: opacity .16s ease, transform .16s ease; pointer-events: none; z-index: 2; }
.factory-chrome .site-header .header-capsule--public :is(#headerHomeActionButton,#headerStoreButton)::before { width: clamp(24px, 42%, 72px); height: clamp(2px, .2em, 3px); }
.factory-chrome .site-header .header-capsule--public :is(#headerHomeActionButton,#headerStoreButton,#headerInboxButton):is(:hover,:focus-visible,.is-active,[aria-current])::before,
.factory-chrome .site-header .header-menu-popover a:is(:hover,:focus-visible,.is-active,[aria-current])::before { opacity: 1; transform: translateX(-50%) scaleX(1); }
.factory-chrome .site-header .header-capsule--public :is(#headerHomeActionButton,#headerStoreButton,#headerInboxButton):is(.header-workflow-button,.header-case-button):is(:hover,:focus-visible,.is-active,[aria-current]),
.factory-chrome .site-header .header-menu-popover a:is(a,[class]):is(:hover,:focus-visible,.is-active,[aria-current]) { background: var(--shared-header-paper) !important; border-color: rgba(255,255,255,.64) !important; color: #0d594b !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 7px 16px rgba(8,65,55,.07) !important; transform: none; }
.factory-chrome .site-header .header-menu-popover a:is(#headerMenuHomeLink,#headerMenuContactsLink,#headerFaqLink,#headerInboxButton)::before { left: 12px; bottom: 6px; transform: scaleX(.7); transform-origin: left center; }
.factory-chrome .site-header .header-menu-popover a:is(#headerMenuHomeLink,#headerMenuContactsLink,#headerFaqLink,#headerInboxButton):is(:hover,:focus-visible,.is-active,[aria-current])::before { transform: scaleX(1); }
@media (forced-colors: active) {
  .factory-chrome .site-header .header-capsule--public :is(#headerHomeActionButton,#headerStoreButton,#headerInboxButton)::before,
  .factory-chrome .site-header .header-menu-popover a::before { background: CanvasText; }
}

/* D-237: decorative navigation icons only in the desktop presentation. */
.factory-chrome .site-header .header-nav-icon { display: none; width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
@media (min-width: 768px) {
  .factory-chrome .site-header .header-capsule--public :is(#headerStoreButton,#headerHomeActionButton,#headerInboxButton) { gap: 6px; padding-inline: 8px; }
  .factory-chrome .site-header .header-capsule--public :is(#headerStoreButton,#headerHomeActionButton,#headerInboxButton) > .header-nav-icon { display: block; }
}

/* D-238: phone-only gift and FAQ shortcuts immediately before Menu. */
.factory-chrome .site-header .header-mobile-shortcut { display: none; }
@media (max-width: 767px) {
  .factory-chrome .site-header .header-capsule { grid-template-columns: 44px minmax(0,1fr) minmax(0,1fr) 44px 44px 44px; gap: 4px; }
  .factory-chrome .site-header .header-capsule--public :is(#headerStoreButton,#headerHomeActionButton) { padding-inline: 4px; }
  .factory-chrome .site-header .header-mobile-shortcut { position: relative; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 44px; min-width: 44px; height: 44px; min-height: 44px; margin: 0; padding: 0; border: 1px solid var(--shared-header-cta-border); border-radius: 50%; background: var(--shared-header-cta-bg); color: var(--shared-header-cta-text); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), var(--shared-header-cta-shadow); text-decoration: none; cursor: pointer; }
  .factory-chrome .site-header #headerMobileTrialLink { grid-column: 4; }
  .factory-chrome .site-header #headerMobileFaqLink { grid-column: 5; }
  .factory-chrome .site-header .header-menu { grid-column: 6; }
  .factory-chrome .site-header .header-shortcut-icon { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
  .factory-chrome .site-header .header-mobile-shortcut::before { content: ''; position: absolute; left: 50%; bottom: 4px; width: 18px; height: 2px; border-radius: 999px; background: linear-gradient(90deg,var(--shared-header-amber),var(--shared-header-emerald)); opacity: 0; transform: translateX(-50%) scaleX(.7); transition: opacity .16s ease, transform .16s ease; pointer-events: none; }
  .factory-chrome .site-header .header-mobile-shortcut:is(:hover,:focus-visible,.is-active,[aria-current]) { color: #0d594b; border-color: rgba(255,255,255,.64); background: var(--shared-header-paper); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 7px 16px rgba(8,65,55,.07); }
  .factory-chrome .site-header .header-mobile-shortcut:is(:hover,:focus-visible,.is-active,[aria-current])::before { opacity: 1; transform: translateX(-50%) scaleX(1); }
  .factory-chrome .site-header .header-mobile-shortcut:focus-visible { outline: 2px solid #13725f; outline-offset: 2px; }
}
@media (max-width: 360px) {
  .factory-chrome .site-header .header-shell { width: 100%; max-width: calc(100% - 8px); }
  .factory-chrome .site-header .header-capsule { gap: 2px; padding: 6px 0; }
  .factory-chrome .site-header .header-capsule--public :is(#headerStoreButton,#headerHomeActionButton) { padding-inline: 2px; }
}

/* D-245: footer continuity is independent of scene copy and decorative boxes. */
@media screen {
  #main.home-main #hero #homeSequence .home-sequence-screen::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: clamp(180px,32svh,300px);
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg,rgba(20,21,20,0),rgba(20,21,20,.18) 28%,rgba(20,21,20,.72) 66%,#141514 100%);
    opacity: 0;
    transition: opacity 650ms cubic-bezier(.22,1,.36,1);
  }
  #main.home-main #hero #homeSequence[data-sequence-state="6"] .home-sequence-screen::after,
  #main.home-main #hero #homeSequence:not(.is-story-hero-ready) .home-sequence-screen::after { opacity: 1; }
  #main.home-main:has(#homeSequence[data-sequence-state="6"]),
  #main.home-main #hero:has(#homeSequence[data-sequence-state="6"]),
  #main.home-main #hero #homeSequence[data-sequence-state="6"],
  #main.home-main:has(#homeSequence:not(.is-story-hero-ready)),
  #main.home-main #hero:has(#homeSequence:not(.is-story-hero-ready)) { background: #141514; }
  #main.home-main #hero #homeSequence:not(.is-story-hero-ready) .home-visit-scenario { background: linear-gradient(180deg,#173d36 50%,#141514); }
}
@media screen and (min-width:768px) {
  #contactsMain .contact-photo-grid { position: relative; }
  #contactsMain .contact-photo-grid::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: clamp(64px,8vw,120px);
    pointer-events: none;
    background: linear-gradient(180deg,rgba(238,242,238,0),rgba(238,242,238,.3) 38%,#eef2ee 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  :where(html:not([data-home-motion="full"])) #main.home-main #hero #homeSequence .home-sequence-screen::after { transition: none; }
}
@media (forced-colors: active), print {
  #main.home-main #hero #homeSequence .home-sequence-screen::after,
  #contactsMain .contact-photo-grid::after { display: none; }
}

/* D-261: decorative footer light enters gradually, without masking footer content. */
@media screen {
  body:not(.faq-page) main:not(.home-main) + .factory-chrome--footer .site-footer.footer--compact { isolation: isolate; background-image: none; }
  body:not(.faq-page) main:not(.home-main) + .factory-chrome--footer .site-footer.footer--compact::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at 84% 12%,rgba(200,139,56,.08),transparent 24%),radial-gradient(circle at 14% 76%,rgba(48,151,116,.08),transparent 30%),linear-gradient(180deg,rgba(244,250,247,0),rgba(237,247,242,.76) 52%,rgba(231,243,237,.92));
    -webkit-mask-image: linear-gradient(180deg,transparent,#000 32px);
    mask-image: linear-gradient(180deg,transparent,#000 32px);
  }
}

/* D-263: contain footer decoration and size the single public desktop action. */
@media screen {
  body:not(.faq-page) main:not(.home-main) + .factory-chrome--footer .site-footer.footer--compact { position: relative; }
}
@media screen and (min-width:1280px) {
  .factory-chrome .site-header .header-capsule--public { grid-template-columns: 452px 92px minmax(0,1fr) 156px; }
  .factory-chrome .site-header .header-capsule--public .header-actions { width: 100%; min-width: 0; grid-template-columns: minmax(0,1fr); }
  .factory-chrome .site-header .header-capsule--public .header-actions > .header-case-button { width: 100%; min-width: 0; }
}

/* D392: one story rim around the complete brand pill. */
@media screen {
  .factory-chrome .site-header #headerHomeLink[data-header-story] {
    position: relative;
    border-radius: 999px;
  }

  .factory-chrome .site-header #headerHomeLink[data-header-story]::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid #e7c181;
    border-radius: inherit;
    pointer-events: none;
  }

  @supports (mask-composite: exclude) {
    .factory-chrome .site-header #headerHomeLink[data-header-story]::before {
      padding: 1.5px;
      border: 0;
      background: linear-gradient(112deg,#a6dab8 2%,#f4d68f 26%,#c89f57 43%,#72b69c 65%,#f4d68f 87%,#a6dab8);
      background-size: 210% 100%;
      background-position: 47% 50%;
      mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
      mask-composite: exclude;
      background-color: #a6c2ae;
      animation: header-story-rim-in 1.55s cubic-bezier(.22,1,.36,1) both;
    }
  }

  @keyframes header-story-rim-in {
    from { opacity: .52; background-position: 100% 50%; }
    to { opacity: 1; background-position: 47% 50%; }
  }

  .factory-chrome .site-header #headerHomeLink[data-header-story][data-viewed]::before {
    border-color: #a6c2ae;
    background-image: none;
    animation: none;
  }

  .factory-chrome .site-header #headerHomeLink[data-header-story]:focus-visible {
    outline: 2px solid #fff8e6;
    outline-offset: 2px;
  }

  .factory-chrome .site-header .header-story-name { display: none; }

  @media (max-width: 767px) {
    .factory-chrome .site-header .header-capsule--public {
      grid-template-columns: clamp(54px,calc(100vw - 266px),79px) minmax(0,1.15fr) minmax(0,1fr) repeat(3,44px);
    }

    .factory-chrome .site-header #headerHomeLink {
      width: 100%;
      min-width: 0;
      padding-inline: 3px;
      justify-content: center;
      gap: 3px;
      border-radius: 999px;
    }

    .factory-chrome .site-header #headerHomeLink[data-header-story] {
      background: linear-gradient(135deg,#f8fbf3,#deeee3);
      color: #194f41;
    }

    .factory-chrome .site-header #headerHomeLink[data-header-story]:hover {
      background: linear-gradient(135deg,#fff9e8,#eaf3e3);
    }

    .factory-chrome .site-header #headerHomeLink[data-header-story]:focus-visible {
      outline-color: #174d40;
    }

    .factory-chrome .site-header #headerHomeLink .brand-mark {
      width: 24px;
      height: 24px;
      flex: 0 0 24px;
      border-color: transparent;
    }

    .factory-chrome .site-header #headerHomeLink .brand-mark__image {
      width: 100%;
      height: 100%;
    }

    .factory-chrome .site-header .header-story-name {
      display: block;
      font-size: 10px;
      font-weight: 750;
      line-height: 1;
      letter-spacing: -.025em;
      white-space: nowrap;
    }

    .factory-chrome .site-header .header-story-name__place { display: none; }
  }

  @media (min-width: 346px) and (max-width: 767px) {
    .factory-chrome .site-header .header-story-name__short { display: none; }
    .factory-chrome .site-header .header-story-name__place { display: block; font-size: 8.5px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .factory-chrome .site-header #headerHomeLink[data-header-story]::before { animation: none; }
  }

  @media (forced-colors: active) {
    .factory-chrome .site-header #headerHomeLink[data-header-story]::before {
      padding: 0;
      border: 1px solid LinkText;
      background: none;
      mask: none;
      animation: none;
    }
  }
}
