/* =========================================================
   HUB THEME: NATURE V5
   Local background, restrained blur, glass UI
   ========================================================= */

:root {
  --nature-text: #f1f6f2;
  --nature-muted: #c0ccc3;
  --nature-accent: #c3e8ca;

  --nature-glass:
    rgba(10, 17, 13, 0.22);

  --nature-glass-hover:
    rgba(10, 18, 13, 0.30);

  --nature-border:
    rgba(245, 250, 246, 0.15);

  --nature-border-hover:
    rgba(245, 250, 246, 0.24);

  --nature-shadow:
    0 20px 55px rgba(0, 0, 0, 0.30);

  --nature-inset:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    inset 0 -1px 0 rgba(255, 255, 255, 0.025);
}

html {
  min-height: 100%;
  background: #07100b;
}

body.showcase-page {
  position: relative;
  isolation: isolate;

  min-height: 100vh;
  overflow-x: hidden;

  color: var(--nature-text);
  background: #07100b;
}

/* Локальный фон: слабый blur 5px. */

body.showcase-page::before {
  position: fixed;
  z-index: -3;
  inset: -12px;

  pointer-events: none;
  content: "";

  background:
    url("/media/67c10ae2bae25aef6c83a52d3c57f4cf386d07cd94c4269e79f9ba7cbe27a53a")
    center center /
    cover
    no-repeat;

  filter:
    blur(5px)
    brightness(0.59)
    saturate(0.91);

  transform: scale(1.025);
}

/* Общее затемнение, чтобы текст не терялся. */

body.showcase-page::after {
  position: fixed;
  z-index: -2;
  inset: 0;

  pointer-events: none;
  content: "";

  background:
    linear-gradient(
      180deg,
      rgba(3, 8, 5, 0.25) 0%,
      rgba(3, 8, 5, 0.18) 30%,
      rgba(3, 7, 5, 0.30) 70%,
      rgba(2, 6, 4, 0.48) 100%
    ),
    radial-gradient(
      circle at 50% 18%,
      rgba(210, 232, 215, 0.06),
      transparent 43%
    );
}

body.showcase-page > * {
  position: relative;
  z-index: 1;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */

body.showcase-page h1,
body.showcase-page h2,
body.showcase-page h3,
body.showcase-page strong {
  color: var(--nature-text);

  text-shadow:
    0 2px 20px rgba(0, 0, 0, 0.34);
}

body.showcase-page p,
body.showcase-page small,
body.showcase-page .guide-list-summary,
body.showcase-page .hub-link-description {
  color: var(--nature-muted);
}

body.showcase-page .showcase-eyebrow {
  color: var(--nature-accent);

  letter-spacing: 0.18em;

  text-shadow:
    0 0 16px rgba(196, 232, 204, 0.14);
}

body.showcase-page a {
  color: var(--nature-accent);
}

/* =========================================================
   TOPBAR
   30% transparency = 70% opaque
   ========================================================= */

body.showcase-page :is(
  .site-header,
  .site-header-inner,
  .site-header-shell,
  .site-topbar,
  .topbar
) {
  border-color:
    rgba(245, 250, 246, 0.10) !important;

  background:
    linear-gradient(
      180deg,
      rgba(10, 15, 12, 0.74),
      rgba(4, 8, 6, 0.70)
    ) !important;

  box-shadow:
    inset 0 -1px 0 rgba(255, 255, 255, 0.025),
    0 11px 38px rgba(0, 0, 0, 0.28);

  backdrop-filter:
    blur(14px)
    brightness(0.74)
    saturate(0.92);

  -webkit-backdrop-filter:
    blur(14px)
    brightness(0.74)
    saturate(0.92);
}

body.showcase-page :is(
  .site-header,
  .site-header-inner,
  .site-header-shell,
  .site-topbar,
  .topbar
) a {
  color: var(--nature-muted);
}

body.showcase-page :is(
  .site-header,
  .site-header-inner,
  .site-header-shell,
  .site-topbar,
  .topbar
) a:hover {
  color: #ffffff;

  background:
    rgba(255, 255, 255, 0.055);
}

body.showcase-page :is(
  .site-header,
  .site-header-inner,
  .site-header-shell,
  .site-topbar,
  .topbar
) :is(
  [aria-current="page"],
  .is-active
) {
  color: #ffffff;

  border-color:
    rgba(255, 255, 255, 0.15);

  background:
    rgba(255, 255, 255, 0.075);
}

/* =========================================================
   GLASS PANELS
   ========================================================= */

body.showcase-page :is(
  .showcase-card,
  .app-card,
  .infodump-card,
  .guide-list-item,
  .hub-link-item,
  .guide-detail-shell,
  .instruction-detail,
  .instruction-step,
  .guide-step,
  .guide-list-section,
  .instruction-shell,
  .showcase-panel,
  .guest-panel
),
body.showcase-page main
a[href^="/infodump/"]:not([href="/infodump/"]) {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  border:
    1px solid
    var(--nature-border) !important;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.075) 0%,
      rgba(255, 255, 255, 0.018) 36%,
      rgba(255, 255, 255, 0.005) 100%
    ),
    var(--nature-glass) !important;

  box-shadow:
    var(--nature-inset),
    var(--nature-shadow);

  backdrop-filter:
    blur(19px)
    saturate(1.10)
    brightness(0.94);

  -webkit-backdrop-filter:
    blur(19px)
    saturate(1.10)
    brightness(0.94);
}

body.showcase-page :is(
  .showcase-card,
  .app-card,
  .infodump-card,
  .guide-list-item,
  .hub-link-item
):hover,
body.showcase-page main
a[href^="/infodump/"]:not([href="/infodump/"]):hover {
  border-color:
    var(--nature-border-hover) !important;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.095) 0%,
      rgba(255, 255, 255, 0.025) 38%,
      rgba(255, 255, 255, 0.008) 100%
    ),
    var(--nature-glass-hover) !important;

  box-shadow:
    var(--nature-inset),
    0 23px 64px rgba(0, 0, 0, 0.36);
}

body.showcase-page :is(
  .showcase-card,
  .app-card,
  .infodump-card,
  .guide-list-item,
  .hub-link-item,
  .guide-detail-shell,
  .instruction-detail,
  .instruction-step,
  .guide-step
) > * {
  position: relative;
  z-index: 1;
}

/* =========================================================
   ICONS
   ========================================================= */

body.showcase-page :is(
  .showcase-card,
  .app-card,
  .infodump-card,
  .guide-list-item,
  .hub-link-item
) img {
  filter:
    drop-shadow(0 10px 17px rgba(0, 0, 0, 0.31));
}

body.showcase-page .hub-link-icon {
  border:
    1px solid
    rgba(255, 255, 255, 0.11);

  background:
    rgba(255, 255, 255, 0.045) !important;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 8px 22px rgba(0, 0, 0, 0.21);

  backdrop-filter:
    blur(12px)
    saturate(1.10);

  -webkit-backdrop-filter:
    blur(12px)
    saturate(1.10);
}

/* =========================================================
   LIQUID GLASS CTA
   Последний элемент Infodump-карточки.
   ========================================================= */

body.showcase-page :is(
  .showcase-card,
  .app-card,
  .infodump-card
) > :last-child,
body.showcase-page main
a[href^="/infodump/"]:not([href="/infodump/"])
> :last-child {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  box-sizing: border-box;

  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  width: auto !important;
  min-height: 43px;

  margin:
    14px
    16px
    16px !important;

  padding:
    0
    14px !important;

  border:
    1px solid
    rgba(255, 255, 255, 0.17) !important;

  border-radius:
    14px !important;

  color:
    #f4fbf5 !important;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.17) 0%,
      rgba(255, 255, 255, 0.06) 38%,
      rgba(255, 255, 255, 0.025) 70%,
      rgba(224, 246, 230, 0.08) 100%
    ),
    rgba(18, 28, 21, 0.15) !important;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    inset 0 -1px 0 rgba(255, 255, 255, 0.045),
    0 10px 25px rgba(0, 0, 0, 0.20) !important;

  backdrop-filter:
    blur(22px)
    saturate(1.22)
    brightness(1.04);

  -webkit-backdrop-filter:
    blur(22px)
    saturate(1.22)
    brightness(1.04);
}

body.showcase-page :is(
  .showcase-card,
  .app-card,
  .infodump-card
) > :last-child::before,
body.showcase-page main
a[href^="/infodump/"]:not([href="/infodump/"])
> :last-child::before {
  position: absolute;
  z-index: -1;

  top: -28px;
  left: 8%;

  width: 70%;
  height: 44px;

  pointer-events: none;
  content: "";

  border-radius: 50%;

  background:
    rgba(255, 255, 255, 0.12);

  filter:
    blur(14px);
}

body.showcase-page :is(
  .showcase-card,
  .app-card,
  .infodump-card
) > :last-child:hover,
body.showcase-page main
a[href^="/infodump/"]:not([href="/infodump/"])
> :last-child:hover {
  border-color:
    rgba(255, 255, 255, 0.25) !important;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.21) 0%,
      rgba(255, 255, 255, 0.075) 40%,
      rgba(255, 255, 255, 0.03) 72%,
      rgba(224, 246, 230, 0.11) 100%
    ),
    rgba(20, 31, 23, 0.18) !important;
}

/* =========================================================
   CODE / QUOTES
   ========================================================= */

body.showcase-page pre {
  border:
    1px solid
    rgba(255, 255, 255, 0.10);

  background:
    rgba(4, 8, 6, 0.56) !important;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03);

  backdrop-filter:
    blur(11px);

  -webkit-backdrop-filter:
    blur(11px);
}

body.showcase-page code {
  color: #ddf1e1;
}

body.showcase-page blockquote {
  border-left-color:
    rgba(201, 229, 207, 0.52);

  background:
    rgba(255, 255, 255, 0.045);

  color:
    var(--nature-muted);
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {
  body.showcase-page::before {
    inset: -9px;

    filter:
      blur(4px)
      brightness(0.59)
      saturate(0.91);

    transform:
      scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.showcase-page *,
  body.showcase-page *::before,
  body.showcase-page *::after {
    transition-duration:
      0.001ms !important;

    animation-duration:
      0.001ms !important;

    animation-iteration-count:
      1 !important;
  }
}

/* HUB NATURE V6 OVERRIDES START */

/* =========================================================
   FOREST ACCENT
   ========================================================= */

:root {
  --nature-v6-accent: #79b887;
  --nature-v6-accent-light: #c8e8cf;
  --nature-v6-accent-dark: #173b24;
  --nature-v6-surface: rgba(10, 26, 16, 0.30);
  --nature-v6-surface-hover: rgba(14, 36, 22, 0.40);
  --nature-v6-border: rgba(190, 229, 199, 0.18);
  --nature-v6-border-hover: rgba(190, 229, 199, 0.30);
}

/* =========================================================
   REAL GLOBAL TOPBAR
   ========================================================= */

body.showcase-page .global-header {
  border-bottom:
    1px solid
    rgba(185, 224, 194, 0.10) !important;

  background:
    linear-gradient(
      180deg,
      rgba(9, 26, 16, 0.76),
      rgba(5, 17, 10, 0.70)
    ) !important;

  box-shadow:
    0 11px 38px rgba(0, 0, 0, 0.28),
    inset 0 -1px 0 rgba(218, 241, 223, 0.035) !important;

  backdrop-filter:
    blur(14px)
    brightness(0.76)
    saturate(1.04) !important;

  -webkit-backdrop-filter:
    blur(14px)
    brightness(0.76)
    saturate(1.04) !important;
}

body.showcase-page .global-header-inner {
  background:
    transparent !important;
}

body.showcase-page .global-header a {
  color:
    #bdcec1;
}

body.showcase-page .global-header a:hover {
  color:
    #f3fff6;

  background:
    rgba(121, 184, 135, 0.09) !important;
}

body.showcase-page .global-header :is(
  [aria-current="page"],
  .is-active
) {
  color:
    #f4fff6;

  border-color:
    rgba(164, 215, 176, 0.22) !important;

  background:
    rgba(88, 155, 104, 0.15) !important;
}

/* =========================================================
   HUB ICON IN TOPBAR
   ========================================================= */

body.showcase-page .global-thumbnail {
  display:
    grid !important;

  place-items:
    center !important;

  overflow:
    hidden;

  border:
    1px solid
    rgba(181, 226, 191, 0.22) !important;

  background:
    linear-gradient(
      145deg,
      rgba(96, 171, 113, 0.32),
      rgba(18, 56, 31, 0.80)
    ) !important;

  box-shadow:
    inset 0 1px 0 rgba(235, 250, 238, 0.12),
    0 9px 23px rgba(0, 0, 0, 0.25),
    0 0 22px rgba(76, 151, 93, 0.08) !important;
}

body.showcase-page .global-thumbnail-icon {
  display:
    block;

  width:
    30px;

  height:
    30px;

  object-fit:
    contain;

  filter:
    drop-shadow(0 5px 10px rgba(0, 0, 0, 0.30));
}

/* =========================================================
   GREEN ICON SURFACES
   ========================================================= */

body.showcase-page :is(
  .showcase-card-icon,
  .hub-link-icon
) {
  border:
    1px solid
    rgba(181, 225, 191, 0.19) !important;

  background:
    linear-gradient(
      145deg,
      rgba(93, 168, 109, 0.24),
      rgba(18, 53, 30, 0.50)
    ) !important;

  box-shadow:
    inset 0 1px 0 rgba(232, 248, 235, 0.10),
    0 9px 23px rgba(0, 0, 0, 0.23) !important;
}

body.showcase-page .instruction-step-number {
  border:
    1px solid
    rgba(178, 225, 189, 0.22) !important;

  color:
    #d9f2df !important;

  background:
    linear-gradient(
      145deg,
      rgba(94, 169, 111, 0.27),
      rgba(20, 60, 34, 0.52)
    ) !important;

  box-shadow:
    inset 0 1px 0 rgba(235, 249, 238, 0.10),
    0 7px 20px rgba(0, 0, 0, 0.20) !important;
}

body.showcase-page :is(
  .showcase-eyebrow,
  .guide-list-arrow
) {
  color:
    var(--nature-v6-accent-light) !important;
}

/* =========================================================
   REMOVE OUTER LIST GLASS
   ========================================================= */

/*
  Instructions и Links:
  внешний контейнер с заголовком больше не является
  отдельной стеклянной карточкой.
*/

body.showcase-page :is(
  .guide-list-section,
  .guide-list-section-heading
) {
  overflow:
    visible !important;

  border:
    0 !important;

  background:
    transparent !important;

  box-shadow:
    none !important;

  backdrop-filter:
    none !important;

  -webkit-backdrop-filter:
    none !important;
}

/*
  Внутри открытой инструкции:
  убираем общий пузырь вокруг всех шагов.
  Каждый отдельный шаг остаётся glass-баблом.
*/

body.showcase-page :is(
  .instruction-shell,
  .instruction-detail,
  .instruction-steps
) {
  overflow:
    visible !important;

  border:
    0 !important;

  background:
    transparent !important;

  box-shadow:
    none !important;

  backdrop-filter:
    none !important;

  -webkit-backdrop-filter:
    none !important;
}

/* =========================================================
   KEEP INNER LIST GLASS
   ========================================================= */

body.showcase-page .guide-list-scroll {
  overflow:
    auto;

  border:
    1px solid
    var(--nature-v6-border) !important;

  border-radius:
    18px !important;

  background:
    linear-gradient(
      145deg,
      rgba(232, 249, 236, 0.065),
      rgba(232, 249, 236, 0.012) 40%,
      rgba(8, 23, 14, 0.19)
    ),
    rgba(8, 23, 14, 0.24) !important;

  box-shadow:
    inset 0 1px 0 rgba(235, 250, 239, 0.08),
    inset 0 -1px 0 rgba(235, 250, 239, 0.018),
    0 20px 52px rgba(0, 0, 0, 0.28) !important;

  backdrop-filter:
    blur(19px)
    saturate(1.08) !important;

  -webkit-backdrop-filter:
    blur(19px)
    saturate(1.08) !important;
}

/* =========================================================
   KEEP STEP BUBBLES
   ========================================================= */

body.showcase-page .instruction-step {
  overflow:
    hidden;

  border:
    1px solid
    var(--nature-v6-border) !important;

  background:
    linear-gradient(
      145deg,
      rgba(235, 250, 239, 0.075),
      rgba(235, 250, 239, 0.014) 38%,
      rgba(8, 22, 14, 0.20)
    ),
    rgba(8, 23, 14, 0.27) !important;

  box-shadow:
    inset 0 1px 0 rgba(237, 251, 240, 0.09),
    inset 0 -1px 0 rgba(237, 251, 240, 0.02),
    0 19px 48px rgba(0, 0, 0, 0.29) !important;

  backdrop-filter:
    blur(18px)
    saturate(1.08) !important;

  -webkit-backdrop-filter:
    blur(18px)
    saturate(1.08) !important;
}

/* =========================================================
   FULL LIQUID-GLASS "УЗНАТЬ БОЛЬШЕ"
   ========================================================= */

/*
  Glass применяется ко всей строке:
  тексту, свободному пространству и стрелке.
*/

body.showcase-page .showcase-card
> .showcase-card-link {
  position:
    relative;

  isolation:
    isolate;

  overflow:
    hidden;

  box-sizing:
    border-box;

  display:
    flex !important;

  align-items:
    center !important;

  justify-content:
    space-between !important;

  gap:
    12px !important;

  width:
    calc(100% - 32px) !important;

  min-height:
    45px;

  margin:
    0 16px 16px !important;

  padding:
    0 15px !important;

  border:
    1px solid
    rgba(222, 243, 227, 0.19) !important;

  border-radius:
    15px !important;

  color:
    #f0faf2 !important;

  text-decoration:
    none !important;

  background:
    linear-gradient(
      135deg,
      rgba(235, 250, 239, 0.16) 0%,
      rgba(235, 250, 239, 0.055) 34%,
      rgba(235, 250, 239, 0.018) 70%,
      rgba(111, 185, 128, 0.085) 100%
    ),
    rgba(15, 36, 22, 0.25) !important;

  box-shadow:
    inset 0 1px 0 rgba(244, 253, 246, 0.18),
    inset 0 -1px 0 rgba(244, 253, 246, 0.035),
    0 10px 25px rgba(0, 0, 0, 0.21) !important;

  backdrop-filter:
    blur(19px)
    saturate(1.18)
    brightness(1.03) !important;

  -webkit-backdrop-filter:
    blur(19px)
    saturate(1.18)
    brightness(1.03) !important;
}

body.showcase-page .showcase-card
> .showcase-card-link::before {
  position:
    absolute;

  z-index:
    -1;

  top:
    -28px;

  left:
    10%;

  width:
    68%;

  height:
    43px;

  pointer-events:
    none;

  content:
    "";

  border-radius:
    50%;

  background:
    rgba(245, 253, 247, 0.12);

  filter:
    blur(14px);
}

body.showcase-page .showcase-card
> .showcase-card-link:hover {
  border-color:
    rgba(218, 244, 225, 0.29) !important;

  background:
    linear-gradient(
      135deg,
      rgba(239, 252, 242, 0.20) 0%,
      rgba(239, 252, 242, 0.072) 36%,
      rgba(239, 252, 242, 0.024) 71%,
      rgba(117, 195, 135, 0.12) 100%
    ),
    rgba(17, 43, 25, 0.30) !important;

  box-shadow:
    inset 0 1px 0 rgba(246, 254, 248, 0.21),
    inset 0 -1px 0 rgba(246, 254, 248, 0.045),
    0 13px 30px rgba(0, 0, 0, 0.24),
    0 0 24px rgba(94, 169, 111, 0.07) !important;
}

/* HUB NATURE V6 OVERRIDES END */

/* HUB NATURE V7 OVERRIDES START */

/* =========================================================
   TOPBAR: FOREST GREEN INSTEAD OF NAVY
   ========================================================= */

:root {
  --nature-v7-deep: #07170e;
  --nature-v7-control: rgba(18, 49, 29, 0.62);
  --nature-v7-control-hover: rgba(27, 70, 41, 0.72);
  --nature-v7-control-active: rgba(42, 98, 57, 0.70);
  --nature-v7-border: rgba(158, 211, 170, 0.18);
  --nature-v7-border-hover: rgba(179, 229, 190, 0.29);
  --nature-v7-accent: #a7dbb2;
}

body.showcase-page .global-header {
  background:
    linear-gradient(
      180deg,
      rgba(7, 27, 16, 0.78),
      rgba(4, 18, 10, 0.72)
    ) !important;

  border-bottom-color:
    rgba(148, 205, 160, 0.12) !important;
}

/*
  Настоящие элементы управления topbar.
  Убираем оставшийся тёмно-синий фон.
*/

body.showcase-page .global-header
:is(a, button) {
  border-color:
    var(--nature-v7-border) !important;

  color:
    #c6d9ca !important;

  background:
    var(--nature-v7-control) !important;

  box-shadow:
    inset 0 1px 0 rgba(230, 247, 234, 0.055),
    0 7px 19px rgba(0, 0, 0, 0.18) !important;
}

body.showcase-page .global-header
:is(a, button):hover {
  border-color:
    var(--nature-v7-border-hover) !important;

  color:
    #f3fff5 !important;

  background:
    var(--nature-v7-control-hover) !important;
}

body.showcase-page .global-header
:is(
  [aria-current="page"],
  .is-active
) {
  border-color:
    rgba(188, 233, 197, 0.31) !important;

  color:
    #f5fff7 !important;

  background:
    var(--nature-v7-control-active) !important;

  box-shadow:
    inset 0 1px 0 rgba(240, 252, 243, 0.10),
    0 0 22px rgba(76, 153, 94, 0.10) !important;
}

/* =========================================================
   SITE ICON: NO LARGE COLOURED TILE
   ========================================================= */

body.showcase-page .global-header
.global-thumbnail {
  width:
    38px !important;

  height:
    38px !important;

  padding:
    4px !important;

  border:
    1px solid
    rgba(161, 214, 173, 0.10) !important;

  border-radius:
    10px !important;

  background:
    rgba(11, 31, 18, 0.20) !important;

  box-shadow:
    none !important;

  backdrop-filter:
    blur(8px);

  -webkit-backdrop-filter:
    blur(8px);
}

body.showcase-page .global-header
.global-thumbnail:hover {
  border-color:
    rgba(177, 228, 188, 0.19) !important;

  background:
    rgba(20, 52, 31, 0.28) !important;
}

body.showcase-page .global-thumbnail-icon {
  width:
    28px !important;

  height:
    28px !important;

  filter:
    drop-shadow(0 3px 8px rgba(0, 0, 0, 0.26));
}

/* =========================================================
   PAGE HEADERS: SAME STRUCTURE AS INFODUMP
   ========================================================= */

/*
  Слева: eyebrow + большой заголовок.
  Справа: краткое описание.
*/

body.showcase-page .guide-list-header,
body.showcase-page .instruction-shell > header,
body.showcase-page .instruction-header {
  display:
    grid !important;

  grid-template-columns:
    minmax(0, 1.25fr)
    minmax(270px, 0.75fr) !important;

  grid-template-rows:
    auto
    auto !important;

  column-gap:
    clamp(42px, 8vw, 150px) !important;

  row-gap:
    9px !important;

  align-items:
    end !important;

  width:
    100% !important;
}

body.showcase-page .guide-list-header
> .showcase-eyebrow,
body.showcase-page .instruction-shell > header
> .showcase-eyebrow,
body.showcase-page .instruction-header
> .showcase-eyebrow {
  grid-column:
    1 !important;

  grid-row:
    1 !important;

  align-self:
    end;

  margin:
    0 !important;
}

body.showcase-page .guide-list-header
> h1,
body.showcase-page .instruction-shell > header
> h1,
body.showcase-page .instruction-header
> h1 {
  grid-column:
    1 !important;

  grid-row:
    2 !important;

  align-self:
    start;

  max-width:
    12ch;

  margin:
    0 !important;
}

body.showcase-page .guide-list-header
> p:last-child,
body.showcase-page .instruction-shell > header
> p:last-child,
body.showcase-page .instruction-header
> p:last-child {
  grid-column:
    2 !important;

  grid-row:
    1 / 3 !important;

  align-self:
    end !important;

  max-width:
    42ch;

  margin:
    0 0 5px !important;

  line-height:
    1.55;
}

/* =========================================================
   INSTRUCTION STEPS: PREDICTABLE TITLE FLOW
   ========================================================= */

/*
  Шаг, заголовок и текст идут строго сверху вниз.
  Никаких случайных grid-позиций.
*/

body.showcase-page .instruction-step {
  display:
    flex !important;

  flex-direction:
    column !important;

  align-items:
    stretch !important;

  justify-content:
    flex-start !important;

  gap:
    0 !important;
}

body.showcase-page .instruction-step-number {
  align-self:
    flex-start !important;

  flex:
    0 0 auto;

  margin:
    0 0 15px !important;
}

body.showcase-page .instruction-step
> h2,
body.showcase-page .instruction-step
.instruction-step-title {
  display:
    block !important;

  width:
    100% !important;

  margin:
    0 0 15px !important;

  padding:
    0 !important;

  line-height:
    1.2 !important;

  text-align:
    left !important;
}

body.showcase-page .instruction-step-text {
  display:
    block !important;

  width:
    100% !important;

  margin:
    0 !important;
}

body.showcase-page .instruction-step-media {
  width:
    100% !important;

  margin-top:
    18px !important;
}

/* =========================================================
   COMPACT FULL-GLASS CTA
   ========================================================= */

/*
  Одна небольшая glass-плашка вокруг всего содержимого:
  и текста, и стрелки. Отдельный квадрат стрелки убран.
*/

body.showcase-page .showcase-card
> .showcase-card-link {
  position:
    relative;

  isolation:
    isolate;

  overflow:
    hidden;

  display:
    inline-flex !important;

  align-items:
    center !important;

  justify-content:
    center !important;

  gap:
    11px !important;

  width:
    fit-content !important;

  max-width:
    calc(100% - 32px) !important;

  min-width:
    0 !important;

  min-height:
    39px !important;

  margin:
    0 16px 16px !important;

  padding:
    0 14px !important;

  border:
    1px solid
    rgba(224, 243, 228, 0.20) !important;

  border-radius:
    13px !important;

  color:
    #f1faf3 !important;

  background:
    linear-gradient(
      140deg,
      rgba(239, 251, 242, 0.18) 0%,
      rgba(239, 251, 242, 0.065) 38%,
      rgba(239, 251, 242, 0.025) 72%,
      rgba(111, 180, 126, 0.10) 100%
    ),
    rgba(13, 34, 20, 0.34) !important;

  box-shadow:
    inset 0 1px 0 rgba(247, 254, 248, 0.19),
    inset 0 -1px 0 rgba(247, 254, 248, 0.035),
    0 8px 22px rgba(0, 0, 0, 0.21) !important;

  backdrop-filter:
    blur(18px)
    saturate(1.16)
    brightness(1.03) !important;

  -webkit-backdrop-filter:
    blur(18px)
    saturate(1.16)
    brightness(1.03) !important;
}

/*
  Внутренние span больше не получают отдельный тёмный
  квадрат. Фон принадлежит всей ссылке целиком.
*/

body.showcase-page .showcase-card
> .showcase-card-link
> span {
  display:
    inline-flex !important;

  align-items:
    center !important;

  width:
    auto !important;

  min-width:
    0 !important;

  margin:
    0 !important;

  padding:
    0 !important;

  border:
    0 !important;

  border-radius:
    0 !important;

  color:
    inherit !important;

  background:
    transparent !important;

  box-shadow:
    none !important;

  backdrop-filter:
    none !important;

  -webkit-backdrop-filter:
    none !important;
}

body.showcase-page .showcase-card
> .showcase-card-link
> span:last-child {
  justify-content:
    center;

  font-size:
    1.08rem;

  line-height:
    1;
}

body.showcase-page .showcase-card
> .showcase-card-link:hover {
  border-color:
    rgba(226, 247, 231, 0.30) !important;

  background:
    linear-gradient(
      140deg,
      rgba(243, 253, 245, 0.22) 0%,
      rgba(243, 253, 245, 0.08) 38%,
      rgba(243, 253, 245, 0.03) 72%,
      rgba(117, 192, 134, 0.14) 100%
    ),
    rgba(17, 44, 26, 0.39) !important;
}

/* =========================================================
   MOBILE PAGE HEADERS
   ========================================================= */

@media (max-width: 760px) {
  body.showcase-page .guide-list-header,
  body.showcase-page .instruction-shell > header,
  body.showcase-page .instruction-header {
    grid-template-columns:
      minmax(0, 1fr) !important;

    grid-template-rows:
      auto !important;

    gap:
      8px !important;
  }

  body.showcase-page .guide-list-header
  > .showcase-eyebrow,
  body.showcase-page .guide-list-header
  > h1,
  body.showcase-page .guide-list-header
  > p:last-child,
  body.showcase-page .instruction-shell > header
  > .showcase-eyebrow,
  body.showcase-page .instruction-shell > header
  > h1,
  body.showcase-page .instruction-shell > header
  > p:last-child,
  body.showcase-page .instruction-header
  > .showcase-eyebrow,
  body.showcase-page .instruction-header
  > h1,
  body.showcase-page .instruction-header
  > p:last-child {
    grid-column:
      1 !important;

    grid-row:
      auto !important;

    max-width:
      none;

    margin:
      0 !important;
  }

  body.showcase-page .guide-list-header
  > p:last-child,
  body.showcase-page .instruction-shell > header
  > p:last-child,
  body.showcase-page .instruction-header
  > p:last-child {
    margin-top:
      7px !important;
  }
}

/* HUB NATURE V7 OVERRIDES END */

/* HUB NATURE V8 CTA START */

/* =========================================================
   CTA: lower position, plain text, bubble only for arrow
   ========================================================= */

body.showcase-page .showcase-card > .showcase-card-link {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;

  width: calc(100% - 32px) !important;
  max-width: none !important;

  height: 38px !important;
  min-height: 38px !important;

  margin: 18px 16px 4px !important;
  padding: 0 6px 0 14px !important;

  border: 1px solid rgba(218, 240, 223, 0.17) !important;
  border-radius: 12px !important;

  background:
    linear-gradient(
      140deg,
      rgba(235, 249, 238, 0.08),
      rgba(235, 249, 238, 0.018) 48%,
      rgba(93, 166, 110, 0.04)
    ),
    rgba(9, 25, 15, 0.24) !important;

  box-shadow:
    inset 0 1px 0 rgba(244, 253, 246, 0.10),
    inset 0 -1px 0 rgba(244, 253, 246, 0.022),
    0 7px 19px rgba(0, 0, 0, 0.18) !important;

  backdrop-filter: blur(15px) saturate(1.10) !important;
  -webkit-backdrop-filter: blur(15px) saturate(1.10) !important;
}

/* текст без отдельного бабла */
body.showcase-page .showcase-card > .showcase-card-link > span:first-child {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex: 1 1 auto !important;

  height: 100% !important;
  min-height: 0 !important;
  width: auto !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;

  color: #f1faf3 !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-align: left !important;
  white-space: nowrap !important;
}

/* стрелка остаётся в своём glass bubble */
body.showcase-page .showcase-card > .showcase-card-link > span:last-child {
  box-sizing: border-box !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 28px !important;

  width: 28px !important;
  min-width: 28px !important;
  height: 28px !important;
  min-height: 28px !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 1px solid rgba(226, 244, 230, 0.18) !important;
  border-radius: 9px !important;

  color: #effaf2 !important;

  background:
    linear-gradient(
      145deg,
      rgba(246, 253, 248, 0.17),
      rgba(246, 253, 248, 0.045) 50%,
      rgba(112, 186, 129, 0.08)
    ),
    rgba(16, 39, 23, 0.36) !important;

  box-shadow:
    inset 0 1px 0 rgba(249, 255, 250, 0.16),
    inset 0 -1px 0 rgba(249, 255, 250, 0.025),
    0 4px 12px rgba(0, 0, 0, 0.17) !important;

  backdrop-filter: blur(14px) saturate(1.14) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.14) !important;

  font-size: 1rem !important;
  line-height: 1 !important;
}

body.showcase-page .showcase-card > .showcase-card-link:hover {
  border-color: rgba(224, 246, 229, 0.25) !important;

  background:
    linear-gradient(
      140deg,
      rgba(240, 252, 243, 0.11),
      rgba(240, 252, 243, 0.025) 48%,
      rgba(104, 183, 122, 0.07)
    ),
    rgba(12, 32, 19, 0.29) !important;
}

body.showcase-page .showcase-card > .showcase-card-link:hover > span:first-child {
  color: #f6fff8 !important;
}

body.showcase-page .showcase-card > .showcase-card-link:hover > span:last-child {
  border-color: rgba(231, 249, 235, 0.25) !important;

  background:
    linear-gradient(
      145deg,
      rgba(249, 255, 250, 0.21),
      rgba(249, 255, 250, 0.07) 45%,
      rgba(121, 202, 140, 0.11)
    ),
    rgba(19, 47, 28, 0.42) !important;
}

/* HUB NATURE V8 CTA END */

/* HUB NATURE CARD SPACING V9 */

body.showcase-page .showcase-card
> .showcase-card-link {
  margin:
    18px
    16px
    0 !important;
}

/* HUB NATURE CARD SPACING V10 */

body.showcase-page .showcase-card {
  padding:
    20px
    20px
    8px !important;
}

body.showcase-page .showcase-card
> .showcase-card-link {
  margin:
    18px
    16px
    8px !important;
}

/* HUB NATURE V11 DETAIL START */

/* =========================================================
   TOPBAR LOGO: ONLY THE SVG, NO OUTER BUBBLES
   ========================================================= */

body.showcase-page .global-header .global-thumbnail,
body.showcase-page .global-header .global-thumbnail:hover,
body.showcase-page .global-header .global-thumbnail:focus-visible,
body.showcase-page .global-header .global-thumbnail:active {
  display: grid !important;
  place-items: center !important;

  width: 34px !important;
  min-width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  border-radius: 0 !important;

  background: transparent !important;

  box-shadow: none !important;

  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;

  outline-offset: 4px;
}

body.showcase-page .global-header .global-thumbnail-icon {
  display: block !important;

  width: 30px !important;
  height: 30px !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  border-radius: 0 !important;

  background: transparent !important;

  box-shadow: none !important;

  object-fit: contain;

  filter:
    drop-shadow(0 4px 8px rgba(0, 0, 0, 0.30));
}

/* =========================================================
   INFODUMP DETAIL: DARK GLASS TEXT SHELL
   /infodump/{id}
   ========================================================= */

body.showcase-page .detail-content {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  box-sizing: border-box;

  width: min(980px, calc(100% - 40px));

  margin-left: auto;
  margin-right: auto;

  padding:
    clamp(26px, 4vw, 44px)
    clamp(24px, 4.5vw, 48px) !important;

  border:
    1px solid
    rgba(190, 229, 199, 0.17) !important;

  border-radius:
    22px !important;

  background:
    linear-gradient(
      145deg,
      rgba(238, 250, 241, 0.075) 0%,
      rgba(238, 250, 241, 0.018) 35%,
      rgba(7, 21, 12, 0.08) 100%
    ),
    rgba(5, 17, 10, 0.48) !important;

  box-shadow:
    inset 0 1px 0 rgba(241, 252, 244, 0.10),
    inset 0 -1px 0 rgba(241, 252, 244, 0.02),
    0 26px 72px rgba(0, 0, 0, 0.38) !important;

  backdrop-filter:
    blur(20px)
    brightness(0.74)
    saturate(1.02) !important;

  -webkit-backdrop-filter:
    blur(20px)
    brightness(0.74)
    saturate(1.02) !important;
}

body.showcase-page .detail-content::before {
  position: absolute;
  z-index: -1;

  inset: 0;

  pointer-events: none;
  content: "";

  background:
    radial-gradient(
      circle at 18% 0%,
      rgba(124, 196, 140, 0.10),
      transparent 42%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.02),
      rgba(0, 0, 0, 0.15)
    );
}

body.showcase-page .detail-content > * {
  position: relative;
  z-index: 1;
}

body.showcase-page .detail-content .detail-title-row {
  align-items: center;
}

body.showcase-page .detail-content .detail-icon {
  border:
    1px solid
    rgba(186, 226, 195, 0.18);

  background:
    rgba(8, 25, 14, 0.40);

  box-shadow:
    inset 0 1px 0 rgba(240, 252, 243, 0.08),
    0 10px 28px rgba(0, 0, 0, 0.28);
}

body.showcase-page .detail-content h1 {
  text-shadow:
    0 3px 25px rgba(0, 0, 0, 0.50);
}

body.showcase-page .detail-content > p,
body.showcase-page .detail-content .detail-description {
  color: #d0ddd3 !important;

  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.40);
}

@media (max-width: 700px) {
  body.showcase-page .detail-content {
    width: calc(100% - 24px);

    padding:
      22px
      20px !important;

    border-radius:
      18px !important;
  }
}

/* HUB NATURE V11 DETAIL END */

/* HUB NATURE V12 START */

/* =========================================================
   TOPBAR BRAND: ONE GLASS BUBBLE
   ========================================================= */

body.showcase-page .global-header
.global-thumbnail,
body.showcase-page .global-header
.global-thumbnail:hover,
body.showcase-page .global-header
.global-thumbnail:focus-visible,
body.showcase-page .global-header
.global-thumbnail:active {
  box-sizing:
    border-box !important;

  display:
    inline-flex !important;

  align-items:
    center !important;

  justify-content:
    flex-start !important;

  gap:
    8px !important;

  width:
    auto !important;

  min-width:
    0 !important;

  height:
    40px !important;

  min-height:
    40px !important;

  margin:
    0 !important;

  padding:
    4px
    11px
    4px
    5px !important;

  border:
    1px solid
    rgba(165, 218, 177, 0.17) !important;

  border-radius:
    11px !important;

  color:
    inherit !important;

  text-decoration:
    none !important;

  background:
    linear-gradient(
      145deg,
      rgba(164, 222, 177, 0.10),
      rgba(164, 222, 177, 0.025) 42%,
      rgba(8, 31, 17, 0.20)
    ),
    rgba(8, 29, 16, 0.48) !important;

  box-shadow:
    inset 0 1px 0 rgba(235, 250, 239, 0.09),
    inset 0 -1px 0 rgba(235, 250, 239, 0.018),
    0 8px 22px rgba(0, 0, 0, 0.20) !important;

  backdrop-filter:
    blur(13px)
    saturate(1.08) !important;

  -webkit-backdrop-filter:
    blur(13px)
    saturate(1.08) !important;
}

body.showcase-page .global-header
.global-thumbnail:hover {
  border-color:
    rgba(180, 231, 191, 0.27) !important;

  background:
    linear-gradient(
      145deg,
      rgba(172, 229, 185, 0.14),
      rgba(172, 229, 185, 0.04) 42%,
      rgba(10, 39, 21, 0.25)
    ),
    rgba(10, 38, 21, 0.56) !important;
}

body.showcase-page .global-thumbnail-icon {
  display:
    block !important;

  flex:
    0 0 30px !important;

  width:
    30px !important;

  height:
    30px !important;

  margin:
    0 !important;

  padding:
    0 !important;

  border:
    0 !important;

  border-radius:
    0 !important;

  background:
    transparent !important;

  box-shadow:
    none !important;

  object-fit:
    contain;

  filter:
    drop-shadow(0 4px 9px rgba(0, 0, 0, 0.28));
}

body.showcase-page .global-brand-domain {
  display:
    inline-flex;

  align-items:
    baseline;

  gap:
    0;

  min-width:
    0;

  white-space:
    nowrap;

  line-height:
    1;
}

body.showcase-page .global-brand-subdomain {
  color:
    #708f77;

  font-size:
    0.70rem;

  font-weight:
    650;

  letter-spacing:
    0.01em;
}

body.showcase-page .global-brand-root {
  color:
    #d4e9d9;

  font-size:
    0.88rem;

  font-weight:
    750;

  letter-spacing:
    0.005em;

  text-shadow:
    0 1px 11px rgba(0, 0, 0, 0.30);
}

/* =========================================================
   INSTRUCTION STEP NUMBER: WIDE SHARP STRIP
   ========================================================= */

body.showcase-page .instruction-step-number {
  box-sizing:
    border-box !important;

  display:
    flex !important;

  align-items:
    center !important;

  align-self:
    stretch !important;

  justify-content:
    flex-start !important;

  width:
    100% !important;

  max-width:
    none !important;

  min-height:
    36px !important;

  margin:
    0
    0
    16px !important;

  padding:
    8px
    12px !important;

  border:
    1px solid
    rgba(174, 224, 185, 0.20) !important;

  border-radius:
    3px !important;

  color:
    #dff4e4 !important;

  background:
    linear-gradient(
      90deg,
      rgba(77, 149, 93, 0.34),
      rgba(31, 83, 45, 0.22) 60%,
      rgba(15, 49, 27, 0.12)
    ),
    rgba(11, 40, 22, 0.42) !important;

  box-shadow:
    inset 0 1px 0 rgba(238, 251, 241, 0.09),
    inset 0 -1px 0 rgba(238, 251, 241, 0.018),
    0 7px 19px rgba(0, 0, 0, 0.17) !important;

  backdrop-filter:
    blur(12px)
    saturate(1.10) !important;

  -webkit-backdrop-filter:
    blur(12px)
    saturate(1.10) !important;

  font-size:
    0.82rem !important;

  font-weight:
    750 !important;

  line-height:
    1 !important;

  letter-spacing:
    0.055em;

  text-align:
    left !important;

  text-transform:
    uppercase;
}

/* HUB NATURE V12 END */

/* HUB NATURE V13 START */

/* =========================================================
   PAGE TITLES: INFODUMP STRUCTURE EVERYWHERE
   ========================================================= */

body.showcase-page :is(
  .guide-list-header,
  .instruction-header
) {
  box-sizing:
    border-box !important;

  display:
    grid !important;

  grid-template-columns:
    minmax(0, 1.25fr)
    minmax(270px, 0.75fr) !important;

  grid-template-rows:
    auto !important;

  align-items:
    end !important;

  column-gap:
    clamp(48px, 8vw, 150px) !important;

  width:
    100% !important;

  margin:
    0
    0
    clamp(30px, 4vw, 46px) !important;

  padding:
    0 !important;

  border:
    0 !important;

  background:
    transparent !important;

  box-shadow:
    none !important;

  backdrop-filter:
    none !important;

  -webkit-backdrop-filter:
    none !important;
}

body.showcase-page :is(
  .guide-list-header,
  .instruction-header
) > .showcase-header-copy {
  display:
    flex;

  flex-direction:
    column;

  align-items:
    flex-start;

  justify-content:
    flex-end;

  min-width:
    0;
}

body.showcase-page :is(
  .guide-list-header,
  .instruction-header
) .showcase-eyebrow {
  margin:
    0
    0
    12px !important;
}

body.showcase-page :is(
  .guide-list-header,
  .instruction-header
) h1 {
  max-width:
    13ch !important;

  margin:
    0 !important;
}

body.showcase-page :is(
  .guide-list-header,
  .instruction-header
) > p {
  align-self:
    end !important;

  max-width:
    42ch !important;

  margin:
    0
    0
    6px !important;

  color:
    var(--nature-muted) !important;

  line-height:
    1.55 !important;
}

/* =========================================================
   INSTRUCTION STEP: SAME GLASS AS INFODUMP DETAIL
   ========================================================= */

body.showcase-page .instruction-step {
  position:
    relative;

  isolation:
    isolate;

  overflow:
    hidden;

  box-sizing:
    border-box;

  width:
    100% !important;

  padding:
    clamp(24px, 3.4vw, 38px)
    clamp(22px, 3.8vw, 42px) !important;

  border:
    1px solid
    rgba(190, 229, 199, 0.17) !important;

  border-radius:
    22px !important;

  background:
    linear-gradient(
      145deg,
      rgba(238, 250, 241, 0.075) 0%,
      rgba(238, 250, 241, 0.018) 35%,
      rgba(7, 21, 12, 0.08) 100%
    ),
    rgba(5, 17, 10, 0.48) !important;

  box-shadow:
    inset 0 1px 0 rgba(241, 252, 244, 0.10),
    inset 0 -1px 0 rgba(241, 252, 244, 0.02),
    0 26px 72px rgba(0, 0, 0, 0.38) !important;

  backdrop-filter:
    blur(20px)
    brightness(0.74)
    saturate(1.02) !important;

  -webkit-backdrop-filter:
    blur(20px)
    brightness(0.74)
    saturate(1.02) !important;
}

body.showcase-page .instruction-step::before {
  position:
    absolute;

  z-index:
    -1;

  inset:
    0;

  pointer-events:
    none;

  content:
    "";

  background:
    radial-gradient(
      circle at 18% 0%,
      rgba(124, 196, 140, 0.10),
      transparent 42%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.02),
      rgba(0, 0, 0, 0.15)
    );
}

body.showcase-page .instruction-step > * {
  position:
    relative;

  z-index:
    1;
}

/*
  Плашку ШАГ N не скругляем вместе с большим баблом.
  Она остаётся широкой и почти прямоугольной.
*/

body.showcase-page .instruction-step-number {
  border-radius:
    3px !important;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {
  body.showcase-page :is(
    .guide-list-header,
    .instruction-header
  ) {
    grid-template-columns:
      minmax(0, 1fr) !important;

    gap:
      14px !important;
  }

  body.showcase-page :is(
    .guide-list-header,
    .instruction-header
  ) > p {
    align-self:
      start !important;

    max-width:
      none !important;

    margin:
      0 !important;
  }

  body.showcase-page .instruction-step {
    padding:
      22px
      19px !important;

    border-radius:
      18px !important;
  }
}

/* HUB NATURE V13 END */

/* HUB NATURE V14 INSTRUCTION FLOW START */

/* =========================================================
   INSTRUCTION PAGE: RESTORE NORMAL DOCUMENT FLOW
   ========================================================= */

body.showcase-page .instruction-shell {
  display:
    block !important;

  height:
    auto !important;

  min-height:
    0 !important;

  overflow:
    visible !important;
}

/*
  Заголовок всегда занимает свою реальную высоту.
  Шаги больше не могут визуально наехать на него.
*/

body.showcase-page .instruction-shell
> .instruction-header {
  position:
    relative !important;

  inset:
    auto !important;

  transform:
    none !important;

  float:
    none !important;

  clear:
    both !important;

  box-sizing:
    border-box !important;

  height:
    auto !important;

  min-height:
    0 !important;

  overflow:
    visible !important;

  margin:
    34px
    0
    46px !important;
}

/*
  Размер такой же, как у заголовков страниц
  Instructions и Links, без огромного detail-title.
*/

body.showcase-page :is(
  .guide-list-header,
  .instruction-header
) h1 {
  font-size:
    clamp(2.75rem, 4.2vw, 4rem) !important;

  line-height:
    1.02 !important;

  letter-spacing:
    -0.035em !important;

  max-width:
    13ch !important;

  margin:
    0 !important;

  padding:
    0 !important;
}

/*
  Контейнер шагов начинается только после полного
  завершения заголовка.
*/

body.showcase-page .instruction-steps {
  position:
    relative !important;

  inset:
    auto !important;

  transform:
    none !important;

  float:
    none !important;

  clear:
    both !important;

  display:
    grid !important;

  height:
    auto !important;

  min-height:
    0 !important;

  margin:
    0 !important;

  padding:
    0 !important;
}

/* =========================================================
   BACK LINK: SECONDARY, DARKER THAN INSTRUCTION MARKER
   ========================================================= */

body.showcase-page .instruction-shell
a[href="/usr/guides"],
body.showcase-page .instruction-shell
a[href="/usr/guides/"] {
  display:
    inline-flex !important;

  align-items:
    center !important;

  width:
    fit-content !important;

  margin:
    0
    0
    26px !important;

  color:
    rgba(174, 198, 180, 0.60) !important;

  text-shadow:
    0 1px 9px rgba(0, 0, 0, 0.34) !important;

  background:
    transparent !important;

  border:
    0 !important;

  box-shadow:
    none !important;

  text-decoration:
    none !important;
}

body.showcase-page .instruction-shell
a[href="/usr/guides"]:hover,
body.showcase-page .instruction-shell
a[href="/usr/guides/"]:hover {
  color:
    rgba(211, 232, 216, 0.82) !important;

  background:
    transparent !important;
}

/*
  INSTRUCTION остаётся более заметным маркером.
*/

body.showcase-page .instruction-header
.showcase-eyebrow {
  color:
    #b8dfc0 !important;

  opacity:
    1 !important;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {
  body.showcase-page .instruction-shell
  > .instruction-header {
    margin:
      26px
      0
      32px !important;
  }

  body.showcase-page :is(
    .guide-list-header,
    .instruction-header
  ) h1 {
    font-size:
      clamp(2.3rem, 11vw, 3.2rem) !important;

    max-width:
      none !important;
  }

  body.showcase-page .instruction-shell
  a[href="/usr/guides"],
  body.showcase-page .instruction-shell
  a[href="/usr/guides/"] {
    margin-bottom:
      21px !important;
  }
}

/* HUB NATURE V14 INSTRUCTION FLOW END */

/* === MOBILE HEADER GRID V2 === */
@media (max-width: 900px) {
  body.showcase-page .global-header,
  body.showcase-page .site-header {
    position: relative;
    z-index: 20;
  }

  body.showcase-page .global-header-inner,
  body.showcase-page .site-header-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    grid-template-areas:
      "brand settings edit account"
      "nav nav nav nav";
    align-items: center;
    column-gap: 10px;
    row-gap: 12px;
  }

  /* левая часть: Hub */
  body.showcase-page .global-thumbnail,
  body.showcase-page .showcase-brand,
  body.showcase-page .infodump-brand,
  body.showcase-page .brand {
    grid-area: brand;
    min-width: 0;
    max-width: 100%;
  }

  /* settings справа от hub */
  body.showcase-page a[href="/admin/settings"],
  body.showcase-page a[href="/admin/editstate"],
  body.showcase-page [data-settings-link] {
    grid-area: settings;
    justify-self: start;
  }

  /* edit */
  body.showcase-page a[href="/admin/editinfodump"],
  body.showcase-page a[href="/admin"],
  body.showcase-page [data-admin-link] {
    grid-area: edit;
    justify-self: end;
  }

  /* account */
  body.showcase-page a[href="/app/entry"],
  body.showcase-page a[href="/app/me"],
  body.showcase-page [data-account-link] {
    grid-area: account;
    justify-self: end;
  }

  /* второй ярус: основная навигация */
  body.showcase-page .global-nav,
  body.showcase-page .site-nav,
  body.showcase-page nav[aria-label="Основная навигация"],
  body.showcase-page nav[aria-label="Main navigation"],
  body.showcase-page .topbar-nav {
    grid-area: nav;
    width: 100%;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
  }

  body.showcase-page .global-nav > a,
  body.showcase-page .site-nav > a,
  body.showcase-page nav[aria-label="Основная навигация"] > a,
  body.showcase-page nav[aria-label="Main navigation"] > a,
  body.showcase-page .topbar-nav > a {
    width: 100%;
    min-width: 0;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 560px) {
  body.showcase-page .global-header-inner,
  body.showcase-page .site-header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    grid-template-areas:
      "brand settings edit account"
      "nav nav nav nav";
    column-gap: 8px;
    row-gap: 10px;
    padding-left: 12px;
    padding-right: 12px;
  }

  body.showcase-page .global-thumbnail,
  body.showcase-page .showcase-brand,
  body.showcase-page .infodump-brand,
  body.showcase-page .brand {
    transform: scale(0.98);
    transform-origin: left center;
  }

  body.showcase-page .global-nav,
  body.showcase-page .site-nav,
  body.showcase-page nav[aria-label="Основная навигация"],
  body.showcase-page nav[aria-label="Main navigation"],
  body.showcase-page .topbar-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body.showcase-page .global-nav > a,
  body.showcase-page .site-nav > a,
  body.showcase-page nav[aria-label="Основная навигация"] > a,
  body.showcase-page nav[aria-label="Main navigation"] > a,
  body.showcase-page .topbar-nav > a {
    min-height: 48px;
    padding: 10px 12px;
    font-size: 0.98rem;
  }
}

/* HUB MOBILE GUIDES FLOW START */
@media (max-width: 760px) {
  body.hub-guides-page .hub-guides-hero {
    box-sizing: border-box;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin-bottom: 0 !important;

    padding-bottom:
      clamp(
        30px,
        8vw,
        46px
      ) !important;

    overflow: visible !important;

    position: relative !important;
    inset: auto !important;

    transform: none !important;
  }

  body.hub-guides-page
  .hub-guides-hero > * {
    position: relative;
    z-index: 1;
  }

  body.hub-guides-page
  .hub-guides-hero h1 {
    margin-top: 0 !important;

    margin-bottom:
      clamp(
        18px,
        5vw,
        28px
      ) !important;

    line-height: 0.96 !important;
  }

  body.hub-guides-page
  .hub-guides-hero p {
    max-width: 100%;

    margin-top: 0 !important;
    margin-bottom: 0 !important;

    line-height: 1.38 !important;
  }

  body.hub-guides-page .hub-guides-list {
    box-sizing: border-box;

    position: relative !important;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    clear: both;

    height: auto !important;
    min-height: 0 !important;

    margin-top: 0 !important;

    padding-top:
      clamp(
        24px,
        7vw,
        40px
      ) !important;

    transform: none !important;
  }

  body.hub-guides-page
  .hub-guides-list h2 {
    margin-top: 0 !important;
    margin-bottom: 12px !important;

    line-height: 1.08 !important;
  }

  body.hub-guides-page
  .hub-guides-list > p {
    margin-top: 0 !important;
    margin-bottom: 24px !important;

    line-height: 1.42 !important;
  }
}

@media (max-width: 480px) {
  body.hub-guides-page
  .hub-guides-hero {
    padding-bottom: 34px !important;
  }

  body.hub-guides-page
  .hub-guides-hero h1 {
    font-size:
      clamp(
        3.1rem,
        15vw,
        4.4rem
      ) !important;
  }

  body.hub-guides-page
  .hub-guides-list {
    padding-top: 26px !important;
  }

  body.hub-guides-page
  .hub-guides-list h2 {
    font-size:
      clamp(
        1.55rem,
        7vw,
        2rem
      ) !important;
  }
}
/* HUB MOBILE GUIDES FLOW END */

/* HUB MOBILE LINKS ARROW V2 START */
@media (max-width: 760px) {
  .hub-link-list
  .hub-link-item {
    position: relative !important;

    grid-template-columns:
      auto
      minmax(0, 1fr) !important;

    grid-template-areas:
      "icon copy" !important;

    padding-right: 58px !important;
  }

  .hub-link-list
  .hub-link-item
  .hub-link-icon {
    grid-area: icon !important;
  }

  .hub-link-list
  .hub-link-item
  .hub-link-copy {
    grid-area: copy !important;

    min-width: 0 !important;
    padding-right: 0 !important;
  }

  .hub-link-list
  .hub-link-item
  .guide-list-arrow {
    position: absolute !important;

    top: 50% !important;
    right: 20px !important;
    bottom: auto !important;
    left: auto !important;

    grid-area: auto !important;
    grid-column: auto !important;
    grid-row: auto !important;

    align-self: auto !important;
    justify-self: auto !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    line-height: 1 !important;

    transform:
      translateY(-50%) !important;

    pointer-events: none;
  }
}

@media (max-width: 480px) {
  .hub-link-list
  .hub-link-item {
    padding-right: 50px !important;
  }

  .hub-link-list
  .hub-link-item
  .guide-list-arrow {
    right: 16px !important;
  }
}
/* HUB MOBILE LINKS ARROW V2 END */

/* HUB NATURE ATMOSPHERE COLORS V8 START */
:root {
  --hub-atmosphere-shade-color: #020805;
  --hub-atmosphere-sun-color: #e7d89d;
  --hub-atmosphere-moon-color: #cfe0d9;
  --hub-atmosphere-star-color: #c9e3d2;
  --hub-atmosphere-rain-color: rgba(164, 198, 184, 0.62);
  --hub-atmosphere-lightning-color: rgba(219, 239, 227, 0.82);
}
/* HUB NATURE ATMOSPHERE COLORS V8 END */

/* =========================================================
   HUB ADMIN EDITORS: ACTIVE THEME V2.1.2.4
   All /admin/edit* list and form pages use the same local
   background, glass surfaces and control palette as Hub.
   ========================================================= */

body.hub-admin-edit-page {
  --editor-panel: rgba(7, 24, 13, 0.58);
  --editor-panel-strong: rgba(6, 20, 11, 0.74);
  --editor-control: rgba(4, 17, 9, 0.68);
  --editor-border: rgba(190, 226, 198, 0.17);
  --editor-border-hover: rgba(190, 226, 198, 0.31);
  --editor-muted: rgba(196, 216, 201, 0.70);
  --editor-danger: #ef9b94;
}

body.hub-admin-edit-page :is(
  .card-form,
  .hub-link-form,
  .admin-guide-item,
  .admin-guide-create,
  .instruction-editor-card,
  .instruction-step-editor,
  .instruction-media-item,
  .instruction-media-upload,
  .hub-links-admin-item,
  .hub-links-admin-empty,
  .hub-link-icon-editor,
  .hub-link-access-editor,
  .card-icon-editor,
  .video-manager,
  .video-row
) {
  border-color: var(--editor-border) !important;
  background:
    linear-gradient(
      145deg,
      rgba(238, 249, 241, 0.075),
      rgba(238, 249, 241, 0.015) 42%
    ),
    var(--editor-panel) !important;
  box-shadow:
    inset 0 1px 0 rgba(247, 255, 249, 0.07),
    0 18px 48px rgba(0, 0, 0, 0.23) !important;
  backdrop-filter: blur(17px) saturate(1.06);
  -webkit-backdrop-filter: blur(17px) saturate(1.06);
}

body.hub-admin-edit-page :is(
  .card-form,
  .hub-link-form
) {
  box-sizing: border-box;
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid var(--editor-border);
  border-radius: 20px;
}

body.hub-admin-edit-page :is(
  .admin-guide-item,
  .hub-links-admin-item,
  .video-row
) {
  transition:
    transform 145ms ease,
    border-color 145ms ease,
    background 145ms ease,
    box-shadow 145ms ease;
}

body.hub-admin-edit-page :is(
  .admin-guide-item,
  .hub-links-admin-item,
  .video-row
):hover {
  transform: translateY(-1px);
  border-color: var(--editor-border-hover) !important;
  background:
    linear-gradient(
      145deg,
      rgba(238, 249, 241, 0.105),
      rgba(238, 249, 241, 0.022) 42%
    ),
    rgba(8, 29, 16, 0.66) !important;
}

body.hub-admin-edit-page :is(
  input[type="text"],
  input[type="url"],
  input[type="number"],
  input[type="password"],
  input[type="file"],
  textarea,
  select
) {
  border-color: var(--editor-border) !important;
  color: var(--nature-text) !important;
  background: var(--editor-control) !important;
  box-shadow: inset 0 1px 0 rgba(247, 255, 249, 0.035);
}

body.hub-admin-edit-page :is(
  input[type="text"],
  input[type="url"],
  input[type="number"],
  input[type="password"],
  input[type="file"],
  textarea,
  select
):focus {
  border-color: rgba(174, 226, 185, 0.46) !important;
  outline: 2px solid rgba(121, 206, 140, 0.14) !important;
}

body.hub-admin-edit-page :is(
  label > span,
  small,
  .admin-guide-heading > p:last-child,
  .instruction-editor-steps-heading p,
  .hub-links-admin-copy code,
  .hub-links-admin-copy small,
  .hub-link-form small,
  .card-form small
) {
  color: var(--editor-muted) !important;
}

body.hub-admin-edit-page :is(
  .hub-link-primary-button,
  .hub-link-edit-button,
  .hub-link-form-actions a,
  .hub-link-form-actions button,
  .card-form-actions a,
  .card-form-actions button,
  .admin-guide-actions a,
  .admin-guide-actions button,
  .instruction-add-step,
  .instruction-add-step-bottom,
  .instruction-editor-submit button,
  .instruction-step-editor > header button,
  .instruction-format-toolbar button,
  .hub-links-admin-actions button,
  .hub-media-open-button,
  .admin-sortable-save-button
) {
  border-color: var(--editor-border) !important;
  color: var(--nature-text) !important;
  background: rgba(20, 62, 34, 0.68) !important;
  box-shadow: inset 0 1px 0 rgba(247, 255, 249, 0.055);
}

body.hub-admin-edit-page :is(
  .hub-link-primary-button,
  .hub-link-edit-button,
  .hub-link-form-actions a,
  .hub-link-form-actions button,
  .card-form-actions a,
  .card-form-actions button,
  .admin-guide-actions a,
  .admin-guide-actions button,
  .instruction-add-step,
  .instruction-add-step-bottom,
  .instruction-editor-submit button,
  .instruction-step-editor > header button,
  .instruction-format-toolbar button,
  .hub-links-admin-actions button,
  .hub-media-open-button,
  .admin-sortable-save-button
):hover {
  border-color: var(--editor-border-hover) !important;
  background: rgba(31, 85, 48, 0.78) !important;
  transform: translateY(-1px);
}

body.hub-admin-edit-page :is(
  .hub-link-delete-button,
  .danger,
  .video-delete
) {
  color: var(--editor-danger) !important;
}

body.hub-admin-edit-page :is(
  .card-form-error,
  .instruction-editor-error,
  .hub-link-form-error
) {
  border-color: rgba(231, 133, 124, 0.35) !important;
  color: #ffc1bb !important;
  background: rgba(78, 29, 27, 0.58) !important;
}

body.hub-admin-edit-page :is(
  .hub-links-admin-icon,
  .hub-link-icon-preview,
  .card-icon-preview,
  .instruction-media-preview
) {
  border: 1px solid var(--editor-border);
  background: rgba(184, 225, 194, 0.075) !important;
  box-shadow: inset 0 1px 0 rgba(247, 255, 249, 0.055);
}

body.hub-admin-edit-page .admin-guide-create {
  color: var(--editor-muted);
}

body.hub-admin-edit-page .instruction-format-toolbar {
  border-color: var(--editor-border) !important;
  background: var(--editor-panel-strong) !important;
}

@media (max-width: 700px) {
  body.hub-admin-edit-page :is(
    .card-form,
    .hub-link-form
  ) {
    padding: 16px;
    border-radius: 16px;
  }
}
/* HUB ADMIN EDITORS: ACTIVE THEME V2.1.2.4 END */
