/* NIZO.UZ final premium layer, 2026-06-25 */
:root {
  --nizo-cream: #f7ead8;
  --nizo-paper: rgba(255, 248, 236, 0.88);
  --nizo-paper-soft: rgba(255, 248, 236, 0.68);
  --nizo-ink: #22160d;
  --nizo-ink-soft: rgba(34, 22, 13, 0.72);
  --nizo-gold: #c7954c;
  --nizo-gold-soft: rgba(199, 149, 76, 0.34);
  --nizo-wood: #4b260d;
  --nizo-wood-deep: #2b1408;
  --nizo-shadow: 0 24px 70px rgba(24, 12, 5, 0.22);
}

/* Checkpoint 2026-06-25: primary analysis must stay on the thinking scene. */
html body.home-page.is-intake-result-mode,
html body.home-page.is-nizo-thinking {
  background-color: #120804 !important;
  background-image:
    radial-gradient(circle at 50% 42%, rgba(255, 220, 150, 0.16), rgba(18, 8, 4, 0.12) 36%, rgba(18, 8, 4, 0.66) 78%),
    linear-gradient(180deg, rgba(12, 6, 3, 0.18), rgba(12, 6, 3, 0.46)),
    url("./assets/nizo-analysis-thinking-bg-20260625.jpg") !important;
  background-position: center center, center center, center center !important;
  background-size: cover, cover, cover !important;
  background-repeat: no-repeat, no-repeat, no-repeat !important;
  background-attachment: fixed, fixed, fixed !important;
  overflow: hidden !important;
}

html body.home-page.is-intake-result-mode .site-header {
  grid-template-columns: auto 1fr !important;
  min-height: 82px !important;
  padding: 22px clamp(22px, 4vw, 58px) 10px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

html body.home-page.is-intake-result-mode .site-header .brand,
html body.home-page.is-intake-result-mode .site-header .home-premium-brand {
  pointer-events: auto !important;
  color: #fff1d3 !important;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.74) !important;
}

html body.home-page.is-intake-result-mode .site-header .brand svg,
html body.home-page.is-intake-result-mode .site-header .home-premium-brand svg {
  stroke: currentColor !important;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.62)) !important;
}

html body.home-page.is-intake-result-mode .site-header .nav-links,
html body.home-page.is-intake-result-mode .site-header .header-actions {
  display: none !important;
}

html body.home-page.is-intake-result-mode .home-main,
html body.home-page.is-intake-result-mode .home-intake-hero,
html body.home-page.is-intake-result-mode .home-intake-hero .chat-home-layout,
html body.home-page.is-intake-result-mode .home-intake-hero .chat-home-stage {
  width: 100% !important;
  height: 100svh !important;
  min-height: 100svh !important;
  overflow: hidden !important;
  background: transparent !important;
}

html body.home-page.is-intake-result-mode .home-intake-hero .chat-home-stage {
  display: grid !important;
  align-items: center !important;
  padding: clamp(78px, 11vh, 104px) clamp(22px, 4vw, 58px) clamp(26px, 5vh, 44px) !important;
}

html body.home-page.is-intake-result-mode .home-intake-hero .legal-intake-shell,
html body.home-page.is-intake-result-mode .site-footer,
html body.home-page.is-intake-result-mode .floating-social-dock {
  display: none !important;
}

html body.home-page.is-intake-result-mode .chat-stage-results {
  display: grid !important;
  align-items: center !important;
  width: min(1080px, calc(100vw - 76px)) !important;
  height: calc(100svh - 128px) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: visible !important;
  animation: nizoResultRise 720ms ease both !important;
}

html body.home-page.is-intake-result-mode .home-intake-hero .legal-situation-map {
  width: 100% !important;
  height: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

html body.home-page.is-intake-result-mode .situation-map-card,
html body.home-page.is-intake-result-mode .situation-map-card.nizo-primary-result-sheet {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  grid-template-areas:
    "head head"
    "category count"
    "insights insights"
    "case action"
    "status status" !important;
  gap: clamp(10px, 1.4vh, 15px) clamp(16px, 2.2vw, 28px) !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: #fff0d2 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body.home-page.is-intake-result-mode .situation-map-head {
  grid-area: head !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin: 0 !important;
}

html body.home-page.is-intake-result-mode .situation-map-head h2 {
  max-width: 780px !important;
  margin: 0 !important;
  color: #fff0d2 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(26px, 3.05vw, 43px) !important;
  line-height: 1.02 !important;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.72) !important;
}

html body.home-page.is-intake-result-mode .situation-map-head .eyebrow {
  margin: 0 0 7px !important;
  color: #f4c27a !important;
  font-size: clamp(11px, 0.9vw, 13px) !important;
  letter-spacing: 0.08em !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.62) !important;
}

html body.home-page.is-intake-result-mode .risk-badge {
  flex: 0 0 auto !important;
  padding: 8px 15px !important;
  color: #40220d !important;
  background: rgba(255, 232, 188, 0.88) !important;
  border: 1px solid rgba(126, 70, 24, 0.22) !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18) !important;
}

html body.home-page.is-intake-result-mode .primary-category-line {
  grid-area: category !important;
  align-self: stretch !important;
  margin: 0 !important;
}

html body.home-page.is-intake-result-mode .primary-similar-count {
  grid-area: count !important;
  align-self: stretch !important;
  margin: 0 !important;
}

html body.home-page.is-intake-result-mode .situation-map-grid {
  grid-area: insights !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(12px, 1.6vw, 22px) !important;
  margin: 0 !important;
}

html body.home-page.is-intake-result-mode .anonymized-case-card {
  grid-area: case !important;
  margin: 0 !important;
}

html body.home-page.is-intake-result-mode .locked-action-section {
  grid-area: action !important;
  display: grid !important;
  align-content: center !important;
  justify-items: start !important;
  gap: 12px !important;
  margin: 0 !important;
}

html body.home-page.is-intake-result-mode .auth-status[data-map-action-status] {
  grid-area: status !important;
  min-height: 0 !important;
  margin: 0 !important;
}

html body.home-page.is-intake-result-mode .primary-category-line,
html body.home-page.is-intake-result-mode .primary-similar-count,
html body.home-page.is-intake-result-mode .situation-panel,
html body.home-page.is-intake-result-mode .anonymized-case-card,
html body.home-page.is-intake-result-mode .locked-action-section,
html body.home-page.is-intake-result-mode .law-compliance-preview {
  padding: clamp(10px, 1.45vh, 15px) clamp(12px, 1.7vw, 18px) !important;
  color: #fff0d2 !important;
  background: rgba(19, 9, 3, 0.34) !important;
  border: 1px solid rgba(242, 195, 119, 0.18) !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
}

html body.home-page.is-intake-result-mode .primary-similar-count strong {
  font-size: clamp(32px, 5vw, 60px) !important;
  line-height: 0.9 !important;
}

html body.home-page.is-intake-result-mode .situation-panel h3,
html body.home-page.is-intake-result-mode .anonymized-case-card h3,
html body.home-page.is-intake-result-mode .locked-action-section h2,
html body.home-page.is-intake-result-mode .law-compliance-preview h3 {
  margin: 0 0 7px !important;
  color: #fff3dc !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(16px, 1.45vw, 21px) !important;
  line-height: 1.12 !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.54) !important;
}

html body.home-page.is-intake-result-mode .situation-panel p,
html body.home-page.is-intake-result-mode .situation-panel li,
html body.home-page.is-intake-result-mode .anonymized-case-card p,
html body.home-page.is-intake-result-mode .anonymized-case-card dd,
html body.home-page.is-intake-result-mode .anonymized-case-card dt,
html body.home-page.is-intake-result-mode .locked-action-section p,
html body.home-page.is-intake-result-mode .law-compliance-preview p,
html body.home-page.is-intake-result-mode .law-compliance-preview li,
html body.home-page.is-intake-result-mode .primary-category-line,
html body.home-page.is-intake-result-mode .primary-similar-count p,
html body.home-page.is-intake-result-mode .primary-similar-count span {
  color: #f8ead2 !important;
  font-size: clamp(12px, 1.02vw, 15px) !important;
  line-height: 1.28 !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55) !important;
}

html body.home-page.is-intake-result-mode .situation-panel ul,
html body.home-page.is-intake-result-mode .law-compliance-preview ul {
  display: grid !important;
  gap: 5px !important;
  margin: 0 !important;
  padding-left: 18px !important;
}

html body.home-page.is-intake-result-mode .anonymized-case-details {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 10px 0 0 !important;
}

html body.home-page.is-intake-result-mode .anonymized-case-details div {
  min-width: 0 !important;
}

html body.home-page.is-intake-result-mode .deep-analysis-button {
  min-height: 46px !important;
  padding: 13px 22px !important;
  color: #fff7e9 !important;
  background: linear-gradient(135deg, #6b330f, #351506) !important;
  border: 1px solid rgba(255, 221, 160, 0.34) !important;
  border-radius: 16px !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28) !important;
}

html body.home-page.is-intake-result-mode .nizo-thinking-overlay,
html body.home-page .nizo-thinking-overlay {
  background-color: #120804 !important;
  background-image:
    radial-gradient(circle at 50% 42%, rgba(255, 220, 150, 0.12), rgba(18, 8, 4, 0.14) 36%, rgba(18, 8, 4, 0.58) 78%),
    linear-gradient(180deg, rgba(12, 6, 3, 0.14), rgba(12, 6, 3, 0.42)),
    url("./assets/nizo-analysis-thinking-bg-20260625.jpg") !important;
  background-position: center center, center center, center center !important;
  background-size: cover, cover, cover !important;
  background-repeat: no-repeat, no-repeat, no-repeat !important;
}

@media (max-width: 900px) {
  html body.home-page.is-intake-result-mode {
    overflow: auto !important;
  }

  html body.home-page.is-intake-result-mode .home-main,
  html body.home-page.is-intake-result-mode .home-intake-hero,
  html body.home-page.is-intake-result-mode .home-intake-hero .chat-home-layout,
  html body.home-page.is-intake-result-mode .home-intake-hero .chat-home-stage {
    height: auto !important;
    min-height: 100svh !important;
    overflow: visible !important;
  }

  html body.home-page.is-intake-result-mode .home-intake-hero .chat-home-stage {
    padding: 92px 16px 28px !important;
  }

  html body.home-page.is-intake-result-mode .chat-stage-results {
    width: min(100%, 620px) !important;
    height: auto !important;
    min-height: 0 !important;
  }

  html body.home-page.is-intake-result-mode .situation-map-card,
  html body.home-page.is-intake-result-mode .situation-map-card.nizo-primary-result-sheet,
  html body.home-page.is-intake-result-mode .situation-map-grid,
  html body.home-page.is-intake-result-mode .anonymized-case-details {
    grid-template-columns: 1fr !important;
    grid-template-areas: none !important;
    height: auto !important;
    overflow: visible !important;
  }

  html body.home-page.is-intake-result-mode .situation-map-head,
  html body.home-page.is-intake-result-mode .primary-category-line,
  html body.home-page.is-intake-result-mode .primary-similar-count,
  html body.home-page.is-intake-result-mode .situation-map-grid,
  html body.home-page.is-intake-result-mode .anonymized-case-card,
  html body.home-page.is-intake-result-mode .locked-action-section,
  html body.home-page.is-intake-result-mode .auth-status[data-map-action-status] {
    grid-area: auto !important;
  }
}

/* Last-mile polish for the primary answer screen. */
html body.home-page.is-intake-result-mode,
html body.home-page.is-nizo-thinking,
html body.home-page .nizo-thinking-overlay {
  background-size: cover, cover, cover !important;
  background-position: center center, center center, center center !important;
}

html body.home-page.is-intake-result-mode .home-main,
html body.home-page.is-intake-result-mode .home-intake-hero,
html body.home-page.is-intake-result-mode .chat-home-layout,
html body.home-page.is-intake-result-mode .chat-home-stage,
html body.home-page.is-intake-result-mode .chat-stage-results,
html body.home-page.is-intake-result-mode .legal-situation-map,
html body.home-page.is-intake-result-mode .situation-map-card,
html body.home-page.is-intake-result-mode .situation-map-card.nizo-primary-result-sheet,
html body.home-page.is-intake-result-mode .primary-result-card {
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  outline: 0 !important;
}

html body.home-page.is-intake-result-mode .home-main::before,
html body.home-page.is-intake-result-mode .home-main::after,
html body.home-page.is-intake-result-mode .home-intake-hero::before,
html body.home-page.is-intake-result-mode .home-intake-hero::after,
html body.home-page.is-intake-result-mode .chat-home-layout::before,
html body.home-page.is-intake-result-mode .chat-home-layout::after,
html body.home-page.is-intake-result-mode .chat-home-stage::before,
html body.home-page.is-intake-result-mode .chat-home-stage::after,
html body.home-page.is-intake-result-mode .chat-stage-results::before,
html body.home-page.is-intake-result-mode .chat-stage-results::after,
html body.home-page.is-intake-result-mode .legal-situation-map::before,
html body.home-page.is-intake-result-mode .legal-situation-map::after,
html body.home-page.is-intake-result-mode .situation-map-card::before,
html body.home-page.is-intake-result-mode .situation-map-card::after,
html body.home-page.is-intake-result-mode .primary-result-card::before,
html body.home-page.is-intake-result-mode .primary-result-card::after {
  content: none !important;
  display: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

@media (min-width: 901px) {
  html body.home-page.is-intake-result-mode .chat-stage-results {
    top: 86px !important;
    width: min(1120px, calc(100vw - 112px)) !important;
    height: calc(100svh - 116px) !important;
  }

  html body.home-page.is-intake-result-mode .situation-map-card,
  html body.home-page.is-intake-result-mode .situation-map-card.nizo-primary-result-sheet,
  html body.home-page.is-intake-result-mode .primary-result-card {
    padding: clamp(14px, 1.8vw, 26px) !important;
    box-sizing: border-box !important;
  }
}

/* Result overlay polish: keep the thinking scene full-screen and remove stray divider lines. */
html body.home-page.is-intake-result-mode,
html body.home-page.is-nizo-thinking {
  background-size: cover, cover, cover !important;
  background-position: center center, center center, center center !important;
}

html body.home-page .nizo-thinking-overlay {
  background-size: cover, cover, cover !important;
  background-position: center center, center center, center center !important;
}

html body.home-page.is-intake-result-mode .home-main,
html body.home-page.is-intake-result-mode .home-intake-hero,
html body.home-page.is-intake-result-mode .chat-home-layout,
html body.home-page.is-intake-result-mode .chat-home-stage,
html body.home-page.is-intake-result-mode .chat-stage-results,
html body.home-page.is-intake-result-mode .legal-situation-map,
html body.home-page.is-intake-result-mode .situation-map-card,
html body.home-page.is-intake-result-mode .situation-map-card.nizo-primary-result-sheet,
html body.home-page.is-intake-result-mode .primary-result-card {
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

html body.home-page.is-intake-result-mode .home-main::before,
html body.home-page.is-intake-result-mode .home-main::after,
html body.home-page.is-intake-result-mode .home-intake-hero::before,
html body.home-page.is-intake-result-mode .home-intake-hero::after,
html body.home-page.is-intake-result-mode .chat-home-layout::before,
html body.home-page.is-intake-result-mode .chat-home-layout::after,
html body.home-page.is-intake-result-mode .chat-home-stage::before,
html body.home-page.is-intake-result-mode .chat-home-stage::after,
html body.home-page.is-intake-result-mode .chat-stage-results::before,
html body.home-page.is-intake-result-mode .chat-stage-results::after,
html body.home-page.is-intake-result-mode .legal-situation-map::before,
html body.home-page.is-intake-result-mode .legal-situation-map::after,
html body.home-page.is-intake-result-mode .situation-map-card::before,
html body.home-page.is-intake-result-mode .situation-map-card::after,
html body.home-page.is-intake-result-mode .primary-result-card::before,
html body.home-page.is-intake-result-mode .primary-result-card::after {
  content: none !important;
  display: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

@media (min-width: 901px) {
  html body.home-page.is-intake-result-mode .chat-stage-results {
    top: 86px !important;
    width: min(1120px, calc(100vw - 112px)) !important;
    height: calc(100svh - 116px) !important;
  }

  html body.home-page.is-intake-result-mode .situation-map-card,
  html body.home-page.is-intake-result-mode .situation-map-card.nizo-primary-result-sheet,
  html body.home-page.is-intake-result-mode .primary-result-card {
    padding: clamp(14px, 1.8vw, 26px) !important;
    box-sizing: border-box !important;
  }
}

@media (min-width: 901px) {
  html body.home-page.is-intake-result-mode .chat-stage-results {
    position: fixed !important;
    top: 88px !important;
    left: 50% !important;
    z-index: 12 !important;
    width: calc(100vw - 72px) !important;
    max-width: 1080px !important;
    height: calc(100svh - 110px) !important;
    margin: 0 !important;
    transform: translateX(-50%) !important;
  }

  html body.home-page.is-intake-result-mode .home-intake-hero .legal-situation-map,
  html body.home-page.is-intake-result-mode .situation-map-card,
  html body.home-page.is-intake-result-mode .situation-map-card.nizo-primary-result-sheet,
  html body.home-page.is-intake-result-mode .primary-result-card {
    height: 100% !important;
    max-height: 100% !important;
  }

  html body.home-page.is-intake-result-mode .situation-map-card,
  html body.home-page.is-intake-result-mode .situation-map-card.nizo-primary-result-sheet,
  html body.home-page.is-intake-result-mode .primary-result-card {
    align-content: stretch !important;
  }
}

body.home-page,
body.about-page,
body.contact-page,
body.legal-document-page,
body.cabinet-page {
  font-family: "Georgia", "Times New Roman", serif !important;
  color: var(--nizo-ink);
}

body.home-page .header-theme-toggle,
body.about-page .header-theme-toggle,
body.contact-page .header-theme-toggle,
body.legal-document-page [data-theme-toggle],
body.cabinet-page .header-theme-toggle,
body.cabinet-page [data-theme-toggle] {
  display: none !important;
}

body.home-page > .site-header,
body.about-page > .site-header,
body.contact-page > .site-header,
body.legal-document-page > .site-header {
  position: fixed !important;
  z-index: 90 !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr) !important;
  align-items: center !important;
  min-height: 78px !important;
  padding: 18px clamp(22px, 4.4vw, 58px) !important;
  background: linear-gradient(180deg, rgba(255, 246, 234, 0.24), rgba(255, 246, 234, 0)) !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.home-page .home-premium-brand,
body.about-page .home-premium-brand,
body.contact-page .home-premium-brand,
body.legal-document-page .home-premium-brand,
body.legal-document-page .brand {
  justify-self: start !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  color: #2a160a !important;
  text-decoration: none !important;
  text-shadow: 0 1px 16px rgba(255, 229, 184, 0.72) !important;
}

body.home-page .home-premium-brand__icon,
body.about-page .home-premium-brand__icon,
body.contact-page .home-premium-brand__icon,
body.legal-document-page .home-premium-brand__icon {
  width: 38px !important;
  height: 38px !important;
  color: var(--nizo-gold) !important;
}

body.home-page .home-premium-brand__text,
body.about-page .home-premium-brand__text,
body.contact-page .home-premium-brand__text,
body.legal-document-page .home-premium-brand__text {
  font-size: clamp(28px, 2.5vw, 42px) !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
}

body.home-page .nav-links,
body.about-page .nav-links,
body.contact-page .nav-links,
body.legal-document-page .nav-links {
  justify-self: center !important;
  display: flex !important;
  align-items: center !important;
  gap: clamp(28px, 4.2vw, 70px) !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.home-page .nav-links a,
body.about-page .nav-links a,
body.contact-page .nav-links a,
body.legal-document-page .nav-links a {
  position: relative !important;
  padding: 7px 0 9px !important;
  color: #2a160a !important;
  font-size: clamp(15px, 1.25vw, 19px) !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-shadow: 0 1px 18px rgba(255, 237, 207, 0.9) !important;
  background: transparent !important;
}

body.home-page .nav-links a::after,
body.about-page .nav-links a::after,
body.contact-page .nav-links a::after,
body.legal-document-page .nav-links a::after {
  content: "" !important;
  position: absolute !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  height: 2px !important;
  transform: scaleX(0) !important;
  transform-origin: center !important;
  background: #3c210e !important;
  opacity: 0.95 !important;
  transition: transform 160ms ease !important;
}

body.home-page .nav-links a:hover::after,
body.home-page .nav-links a:focus-visible::after,
body.home-page .nav-links a[aria-current="page"]::after,
body.about-page .nav-links a:hover::after,
body.about-page .nav-links a:focus-visible::after,
body.about-page .nav-links a[aria-current="page"]::after,
body.contact-page .nav-links a:hover::after,
body.contact-page .nav-links a:focus-visible::after,
body.contact-page .nav-links a[aria-current="page"]::after,
body.legal-document-page .nav-links a:hover::after,
body.legal-document-page .nav-links a:focus-visible::after,
body.legal-document-page .nav-links a[aria-current="page"]::after {
  transform: scaleX(1) !important;
}

body.home-page .header-actions,
body.about-page .header-actions,
body.contact-page .header-actions,
body.legal-document-page .header-actions {
  justify-self: end !important;
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
}

body.home-page .header-login-button,
body.about-page .header-login-button,
body.contact-page .header-login-button,
body.legal-document-page .header-login-button,
body.home-page .language-trigger,
body.about-page .language-trigger,
body.contact-page .language-trigger,
body.legal-document-page .language-trigger {
  min-width: 0 !important;
  height: auto !important;
  padding: 6px 0 !important;
  color: #2a160a !important;
  font-size: clamp(15px, 1.22vw, 18px) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  text-shadow: 0 1px 18px rgba(255, 237, 207, 0.9) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.home-page .header-login-button:hover,
body.about-page .header-login-button:hover,
body.contact-page .header-login-button:hover,
body.legal-document-page .header-login-button:hover,
body.home-page .language-trigger:hover,
body.about-page .language-trigger:hover,
body.contact-page .language-trigger:hover,
body.legal-document-page .language-trigger:hover {
  color: #5b2e10 !important;
}

body.home-page .language-options,
body.about-page .language-options,
body.contact-page .language-options,
body.legal-document-page .language-options,
body.cabinet-page .language-options {
  background: rgba(255, 248, 236, 0.96) !important;
  border: 1px solid rgba(116, 73, 31, 0.18) !important;
  box-shadow: 0 18px 44px rgba(26, 12, 4, 0.2) !important;
  backdrop-filter: blur(10px) !important;
}

body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-intake-hero .legal-intake-shell {
  width: min(880px, calc(100vw - 44px)) !important;
  transform: translateY(-54px) !important;
}

body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-platform-kicker {
  width: min(860px, calc(100vw - 44px)) !important;
  margin: 0 auto 28px !important;
  color: #2a160a !important;
  font-size: clamp(34px, 5.1vw, 64px) !important;
  font-weight: 500 !important;
  line-height: 1.07 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-shadow: 0 2px 24px rgba(255, 235, 194, 0.86), 0 1px 0 rgba(255, 255, 255, 0.45) !important;
}

body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .legal-composer {
  min-height: 76px !important;
  padding: 12px 14px !important;
  background: rgba(255, 251, 244, 0.78) !important;
  border: 1px solid rgba(74, 43, 21, 0.24) !important;
  border-radius: 25px !important;
  box-shadow: 0 20px 44px rgba(36, 17, 7, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(10px) !important;
}

body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .legal-composer__textarea {
  color: #27170d !important;
  font-family: "Georgia", "Times New Roman", serif !important;
  font-size: clamp(16px, 1.35vw, 20px) !important;
}

body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .legal-composer__textarea::placeholder {
  color: rgba(60, 37, 21, 0.5) !important;
}

body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .composer-icon-button,
body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .intake-voice-button,
body.cabinet-page .cabinet-composer-icon {
  color: #4a2b15 !important;
}

body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .composer-submit-button,
body.cabinet-page .cabinet-send-button {
  min-width: 134px !important;
  height: 52px !important;
  color: #fff7e9 !important;
  background: linear-gradient(135deg, #5b2d10, #351706) !important;
  border: 1px solid rgba(255, 224, 170, 0.2) !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 25px rgba(44, 18, 4, 0.24) !important;
}

body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .case-materials-popover {
  top: calc(100% + 8px) !important;
  width: min(420px, calc(100vw - 44px)) !important;
  padding: 18px !important;
  color: #5a3b23 !important;
  background: rgba(255, 248, 236, 0.94) !important;
  border: 1px solid rgba(119, 78, 40, 0.22) !important;
  border-radius: 22px !important;
  box-shadow: var(--nizo-shadow) !important;
}

body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .case-materials-popover .file-upload-button,
body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .case-materials-popover .composer-file-picker {
  color: #44240e !important;
  font-weight: 700 !important;
  background: rgba(199, 149, 76, 0.18) !important;
  border: 1px solid rgba(95, 55, 22, 0.24) !important;
}

body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .privacy-consent-notice {
  margin-top: 14px !important;
}

body.home-page .privacy-consent-text,
body.home-page .privacy-consent-text a {
  color: rgba(43, 25, 12, 0.88) !important;
  font-family: "Georgia", "Times New Roman", serif !important;
  text-shadow: 0 1px 16px rgba(255, 238, 206, 0.82) !important;
}

body.home-page .privacy-consent-text a,
body.home-page .privacy-consent-text a:hover,
body.home-page .privacy-consent-text a:focus-visible {
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
  text-decoration-thickness: 1.4px !important;
}

body.home-page .site-footer,
body.about-page .site-footer,
body.contact-page .site-footer,
body.legal-document-page .site-footer {
  position: fixed !important;
  z-index: 76 !important;
  right: auto !important;
  bottom: 16px !important;
  left: clamp(18px, 3.5vw, 58px) !important;
  width: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  color: rgba(255, 237, 207, 0.9) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.home-page .site-footer .footer-context,
body.home-page .site-footer > nav:not(.floating-social-dock),
body.about-page .site-footer .footer-context,
body.about-page .site-footer > nav:not(.floating-social-dock),
body.contact-page .site-footer .footer-context,
body.contact-page .site-footer > nav:not(.floating-social-dock),
body.legal-document-page .site-footer .footer-context,
body.legal-document-page .site-footer > nav:not(.floating-social-dock) {
  display: none !important;
}

body.home-page .site-footer .footer-legal,
body.about-page .site-footer .footer-legal,
body.contact-page .site-footer .footer-legal,
body.legal-document-page .site-footer .footer-legal {
  margin: 0 !important;
  color: rgba(255, 237, 207, 0.9) !important;
  font-size: clamp(11px, 1vw, 14px) !important;
  line-height: 1.35 !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.52) !important;
}

body.home-page .floating-social-dock,
body.about-page .floating-social-dock,
body.contact-page .floating-social-dock,
body.legal-document-page .floating-social-dock,
body.cabinet-page .floating-social-dock {
  position: fixed !important;
  z-index: 78 !important;
  left: 50% !important;
  bottom: 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(15px, 3vw, 38px) !important;
  width: auto !important;
  padding: 0 !important;
  transform: translateX(-50%) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.home-page .floating-social-link,
body.about-page .floating-social-link,
body.contact-page .floating-social-link,
body.legal-document-page .floating-social-link,
body.cabinet-page .floating-social-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-width: 32px !important;
  height: 32px !important;
  padding: 4px 6px !important;
  color: #2a160a !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  text-shadow: 0 1px 14px rgba(255, 238, 205, 0.95) !important;
}

body.home-page .floating-social-link svg,
body.about-page .floating-social-link svg,
body.contact-page .floating-social-link svg,
body.legal-document-page .floating-social-link svg,
body.cabinet-page .floating-social-link svg {
  width: 26px !important;
  height: 26px !important;
  stroke-width: 1.85 !important;
  filter: drop-shadow(0 1px 8px rgba(255, 235, 196, 0.8)) !important;
}

.floating-social-link.is-telegram svg { color: #2a5f79 !important; }
.floating-social-link.is-instagram svg { color: #6b2f21 !important; }
.floating-social-link.is-youtube svg { color: #8c2f18 !important; }
.floating-social-link.is-x svg { color: #1d130b !important; }
.floating-social-link.is-app-store svg,
.floating-social-link.is-google-play svg { color: #26160a !important; }

.nizo-thinking-overlay {
  position: fixed;
  z-index: 240;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #fff4df;
  background:
    linear-gradient(180deg, rgba(20, 10, 5, 0.44), rgba(20, 10, 5, 0.66)),
    url("./assets/nizo-analysis-thinking-bg-20260625.jpg") center / cover no-repeat;
  opacity: 0;
  pointer-events: none;
  animation: nizoFadeIn 240ms ease forwards;
}

.nizo-thinking-card {
  display: grid;
  place-items: center;
  gap: 18px;
  max-width: min(520px, calc(100vw - 44px));
  text-align: center;
}

.nizo-thinking-orb {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(255, 235, 184, 0.5);
  border-top-color: #f2c377;
  box-shadow: 0 0 34px rgba(242, 195, 119, 0.35), inset 0 0 22px rgba(255, 245, 224, 0.16);
  animation: nizoSpin 900ms linear infinite;
}

.nizo-thinking-status {
  font-size: clamp(22px, 3.2vw, 40px);
  line-height: 1.15;
  letter-spacing: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.48);
}

body.home-page.is-intake-result-mode {
  background:
    linear-gradient(180deg, rgba(30, 14, 7, 0.58), rgba(30, 14, 7, 0.72)),
    url("./assets/nizo-analysis-thinking-bg-20260625.jpg") center / cover fixed no-repeat !important;
}

body.home-page.is-intake-result-mode .home-intake-hero,
body.home-page.is-intake-result-mode .home-main {
  min-height: 100svh !important;
  background: transparent !important;
}

body.home-page.is-intake-result-mode .chat-stage-results {
  width: min(1120px, calc(100vw - 48px)) !important;
  margin: 108px auto 84px !important;
  color: #fff2d8 !important;
}

body.home-page.is-intake-result-mode .situation-map-card {
  color: #fff2d8 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.home-page.is-intake-result-mode .situation-map-head h2 {
  color: #fff2d8 !important;
  font-size: clamp(32px, 4.6vw, 58px) !important;
  line-height: 1.05 !important;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.55) !important;
}

body.home-page.is-intake-result-mode .situation-map-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
}

body.home-page.is-intake-result-mode .situation-panel,
body.home-page.is-intake-result-mode .anonymized-case-card,
body.home-page.is-intake-result-mode .locked-action-section,
body.home-page.is-intake-result-mode .primary-similar-count,
body.home-page.is-intake-result-mode .law-compliance-preview {
  color: #fff2d8 !important;
  background: rgba(34, 18, 8, 0.26) !important;
  border: 1px solid rgba(242, 195, 119, 0.22) !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  backdrop-filter: blur(6px) !important;
}

body.about-page {
  overflow: hidden !important;
  background: #160c05 !important;
}

body.about-page .about-main,
body.about-page .about-company-hero {
  min-height: 100svh !important;
  height: 100svh !important;
  overflow: hidden !important;
}

body.about-page .about-company-hero {
  background:
    linear-gradient(90deg, rgba(14, 8, 4, 0.38), rgba(14, 8, 4, 0.08) 48%, rgba(14, 8, 4, 0.28)),
    url("./assets/nizo-about-premium-bg-20260624.png") center / cover no-repeat !important;
}

body.about-page .about-company-hero::before,
body.about-page .about-company-hero::after {
  display: none !important;
}

body.about-page .about-company-copy {
  position: fixed !important;
  z-index: 5 !important;
  top: clamp(92px, 12vh, 118px) !important;
  left: clamp(24px, 5.5vw, 96px) !important;
  width: min(600px, 45vw) !important;
  max-width: none !important;
  padding: 0 !important;
  color: #fff1d4 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  opacity: 0 !important;
  transform: translateY(52px) !important;
}

body.about-page.is-about-copy-visible .about-company-copy {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity 800ms ease, transform 800ms ease !important;
}

body.about-page .about-company-copy h1 {
  color: #fff1d4 !important;
  font-size: clamp(30px, 3.4vw, 52px) !important;
  line-height: 1.06 !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.62) !important;
}

body.about-page .about-company-text p {
  color: rgba(255, 241, 212, 0.9) !important;
  font-size: clamp(14px, 1.1vw, 18px) !important;
  line-height: 1.5 !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.62) !important;
}

body.about-page .about-video-stage {
  position: fixed !important;
  z-index: 6 !important;
  left: clamp(24px, 5.5vw, 96px) !important;
  bottom: clamp(70px, 11vh, 112px) !important;
  width: min(520px, 42vw) !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

body.about-page .about-video-frame {
  aspect-ratio: 16 / 9 !important;
  min-height: 0 !important;
  width: 100% !important;
  border: 1px solid rgba(242, 195, 119, 0.38) !important;
  border-radius: 18px !important;
  background: rgba(35, 18, 8, 0.36) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25) !important;
  backdrop-filter: blur(8px) !important;
}

body.contact-page {
  min-height: 100svh !important;
  overflow: hidden !important;
  background:
    linear-gradient(90deg, rgba(18, 9, 4, 0.62), rgba(18, 9, 4, 0.24) 48%, rgba(18, 9, 4, 0.62)),
    url("./assets/nizo-contact-premium-bg-20260624-v2.png") center / cover no-repeat fixed !important;
}

body.contact-page .legal-main,
body.contact-page .contact-main,
body.contact-page .contact-compact-hero {
  min-height: 100svh !important;
  background: transparent !important;
}

body.contact-page .contact-one-screen-grid {
  width: min(1120px, calc(100vw - 56px)) !important;
  min-height: auto !important;
  margin: clamp(118px, 18vh, 170px) auto 0 !important;
  display: grid !important;
  grid-template-columns: minmax(340px, 0.9fr) minmax(360px, 1.1fr) !important;
  gap: clamp(26px, 4vw, 64px) !important;
  opacity: 0 !important;
  transform: translateY(72px) !important;
  animation: nizoRise 900ms ease 3s forwards !important;
}

body.contact-page .contact-card,
body.contact-page .contact-map-card {
  color: #fff0d2 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.contact-page .contact-details-list dt {
  color: rgba(242, 195, 119, 0.92) !important;
  font-size: 12px !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

body.contact-page .contact-details-list dd,
body.contact-page .contact-details-list a {
  color: rgba(255, 241, 212, 0.95) !important;
  font-size: clamp(15px, 1.2vw, 19px) !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.62) !important;
}

body.contact-page .contact-map-live {
  height: min(46vh, 390px) !important;
  min-height: 290px !important;
  overflow: hidden !important;
  border: 1px solid rgba(242, 195, 119, 0.34) !important;
  border-radius: 16px !important;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.32) !important;
}

body.contact-page .contact-map-live iframe {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
}

body.contact-page .contact-map-link {
  display: inline-flex !important;
  margin-top: 14px !important;
  color: #fff1d4 !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-underline-offset: 5px !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.62) !important;
}

body.legal-document-page {
  min-height: 100svh !important;
  overflow: hidden !important;
  background:
    linear-gradient(90deg, rgba(12, 7, 4, 0.68), rgba(12, 7, 4, 0.26) 45%, rgba(12, 7, 4, 0.72)),
    url("./assets/nizo-documents-premium-bg-20260625.jpg") center / cover no-repeat fixed !important;
}

body.legal-document-page .legal-pdf-main {
  min-height: 100svh !important;
  padding: clamp(104px, 14vh, 142px) clamp(18px, 4vw, 58px) 42px !important;
  background: transparent !important;
}

body.legal-document-page .legal-pdf-layout {
  width: min(1220px, calc(100vw - 52px)) !important;
  height: min(74vh, 720px) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr) !important;
  gap: 24px !important;
  opacity: 0 !important;
  transform: translateY(76px) !important;
  animation: nizoRise 900ms ease 3.05s forwards !important;
}

body.legal-document-page .legal-library,
body.legal-document-page .legal-reader-viewer,
body.legal-document-page .legal-pdf-viewer {
  color: #fff0d2 !important;
  background: rgba(28, 16, 8, 0.5) !important;
  border: 1px solid rgba(242, 195, 119, 0.22) !important;
  border-radius: 22px !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.26) !important;
  backdrop-filter: blur(10px) !important;
}

body.legal-document-page .legal-library {
  overflow: auto !important;
  padding: 24px !important;
}

body.legal-document-page .legal-library h2,
body.legal-document-page .legal-document-titlebar h1 {
  color: #fff1d4 !important;
  font-size: clamp(20px, 2vw, 30px) !important;
  font-weight: 600 !important;
}

body.legal-document-page .legal-library-link {
  color: rgba(255, 241, 212, 0.82) !important;
  border-radius: 14px !important;
  background: transparent !important;
}

body.legal-document-page .legal-library-link.is-active,
body.legal-document-page .legal-library-link:hover {
  color: #2a160a !important;
  background: rgba(242, 195, 119, 0.86) !important;
}

body.legal-document-page .legal-reader-scroll {
  height: calc(100% - 74px) !important;
  overflow: auto !important;
  padding: clamp(22px, 3vw, 44px) !important;
}

body.legal-document-page .legal-reader-article {
  color: rgba(255, 241, 212, 0.92) !important;
  font-size: clamp(15px, 1.1vw, 18px) !important;
  line-height: 1.62 !important;
}

body.legal-document-page .legal-reader-article h2 {
  color: #ffd99b !important;
  font-size: clamp(23px, 2.2vw, 36px) !important;
  line-height: 1.18 !important;
}

body.legal-document-page .legal-document-pdf-link {
  color: #2a160a !important;
  background: rgba(242, 195, 119, 0.88) !important;
  border: 0 !important;
}

body.cabinet-page {
  min-height: 100svh !important;
  overflow: hidden !important;
  background: #170c06 !important;
}

body.cabinet-page .cabinet-chat-app {
  min-height: 100svh !important;
  background:
    linear-gradient(90deg, rgba(21, 11, 5, 0.2), rgba(21, 11, 5, 0.08)),
    url("./assets/nizo-cabinet-court-bg-20260625.png") center / cover no-repeat fixed !important;
}

body.cabinet-page .cabinet-chat-sidebar {
  width: clamp(250px, 21vw, 320px) !important;
  color: #2a160a !important;
  background: rgba(255, 244, 228, 0.82) !important;
  border-right: 1px solid rgba(76, 43, 18, 0.12) !important;
  box-shadow: 16px 0 48px rgba(24, 12, 5, 0.15) !important;
  backdrop-filter: blur(14px) !important;
}

body.cabinet-page .cabinet-sidebar-brand,
body.cabinet-page .cabinet-sidebar-nav button,
body.cabinet-page .cabinet-profile-trigger {
  color: #2a160a !important;
  font-family: "Georgia", "Times New Roman", serif !important;
  font-size: clamp(15px, 1vw, 18px) !important;
  background: transparent !important;
}

body.cabinet-page .cabinet-sidebar-nav button.is-active,
body.cabinet-page .cabinet-sidebar-nav button:hover,
body.cabinet-page .cabinet-case-nav-row.is-active,
body.cabinet-page .cabinet-dialog-list-button.is-active {
  background: rgba(80, 42, 16, 0.08) !important;
  border-radius: 16px !important;
}

body.cabinet-page .cabinet-case-nav-list,
body.cabinet-page .cabinet-sidebar-dialogs {
  padding-left: 0 !important;
}

body.cabinet-page .cabinet-case-nav-create,
body.cabinet-page .cabinet-case-nav-item,
body.cabinet-page .cabinet-dialog-list-button {
  width: 100% !important;
  min-height: 42px !important;
  padding: 8px 48px 8px 48px !important;
  color: #2a160a !important;
  font-size: clamp(15px, 1.05vw, 18px) !important;
  line-height: 1.2 !important;
  text-align: left !important;
}

body.cabinet-page .cabinet-case-nav-item span,
body.cabinet-page .cabinet-dialog-list-button span {
  display: block !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.cabinet-page .cabinet-case-nav-row,
body.cabinet-page .cabinet-dialog-list-item {
  position: relative !important;
  margin: 2px 0 !important;
}

body.cabinet-page .cabinet-case-nav-action,
body.cabinet-page .cabinet-dialog-actions-button {
  position: absolute !important;
  top: 50% !important;
  right: 8px !important;
  width: 34px !important;
  height: 34px !important;
  transform: translateY(-50%) !important;
  border-radius: 12px !important;
  background: transparent !important;
}

body.cabinet-page .cabinet-dialog-menu {
  color: #2a160a !important;
  background: rgba(255, 248, 236, 0.97) !important;
  border: 1px solid rgba(76, 43, 18, 0.16) !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 44px rgba(24, 12, 5, 0.22) !important;
}

body.cabinet-page .cabinet-chat-workspace {
  min-height: 100svh !important;
  background: transparent !important;
}

body.cabinet-page .cabinet-top-actions {
  position: fixed !important;
  top: 24px !important;
  right: 34px !important;
  z-index: 30 !important;
}

body.cabinet-page .cabinet-top-actions .language-trigger {
  color: #fff0d2 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.58) !important;
}

body.cabinet-page .cabinet-chat-center {
  min-height: 100svh !important;
  display: grid !important;
  place-items: center !important;
  padding: 86px clamp(22px, 5vw, 86px) 96px !important;
}

body.cabinet-page .cabinet-empty-state {
  width: min(840px, calc(100vw - 390px)) !important;
  margin: 0 auto 24px !important;
  text-align: center !important;
}

body.cabinet-page .cabinet-empty-state h1 {
  color: #fff0d2 !important;
  font-size: clamp(34px, 4.7vw, 64px) !important;
  font-weight: 500 !important;
  line-height: 1.08 !important;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.58) !important;
}

body.cabinet-page .cabinet-chat-composer {
  width: min(840px, calc(100vw - 390px)) !important;
  min-height: 76px !important;
  padding: 12px 14px !important;
  background: rgba(255, 251, 244, 0.82) !important;
  border: 1px solid rgba(242, 195, 119, 0.34) !important;
  border-radius: 25px !important;
  box-shadow: 0 24px 54px rgba(20, 9, 3, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.86) !important;
  backdrop-filter: blur(10px) !important;
}

body.cabinet-page .cabinet-chat-composer textarea {
  min-height: 42px !important;
  color: #27170d !important;
  font-family: "Georgia", "Times New Roman", serif !important;
  font-size: clamp(16px, 1.3vw, 20px) !important;
}

body.cabinet-page .cabinet-chat-composer textarea::placeholder {
  color: rgba(60, 37, 21, 0.52) !important;
}

body.cabinet-page .cabinet-model-pill {
  display: none !important;
}

.nizo-toast {
  position: fixed;
  z-index: 500;
  left: 50%;
  bottom: 92px;
  max-width: min(360px, calc(100vw - 38px));
  padding: 12px 18px;
  color: #fff2d8;
  font: 600 15px/1.35 Georgia, "Times New Roman", serif;
  text-align: center;
  background: rgba(42, 22, 10, 0.92);
  border: 1px solid rgba(242, 195, 119, 0.28);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, 12px);
  opacity: 0;
  animation: nizoToast 2.4s ease forwards;
}

@keyframes nizoFadeIn {
  to { opacity: 1; }
}

@keyframes nizoSpin {
  to { transform: rotate(360deg); }
}

@keyframes nizoRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes nizoToast {
  12%, 84% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
}

@media (max-width: 1024px) {
  body.home-page > .site-header,
  body.about-page > .site-header,
  body.contact-page > .site-header,
  body.legal-document-page > .site-header {
    grid-template-columns: auto 1fr auto !important;
    min-height: 70px !important;
    padding: 14px 18px !important;
  }

  body.home-page .nav-links,
  body.about-page .nav-links,
  body.contact-page .nav-links,
  body.legal-document-page .nav-links {
    gap: clamp(16px, 3vw, 32px) !important;
  }

  body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-intake-hero .legal-intake-shell {
    transform: translateY(-34px) !important;
  }

  body.about-page .about-company-copy {
    width: min(620px, calc(100vw - 44px)) !important;
  }

  body.about-page .about-video-stage {
    width: min(520px, calc(100vw - 44px)) !important;
  }

  body.contact-page .contact-one-screen-grid,
  body.legal-document-page .legal-pdf-layout {
    grid-template-columns: 1fr !important;
    height: auto !important;
    max-height: calc(100svh - 132px) !important;
    overflow: auto !important;
  }

  body.legal-document-page .legal-library {
    max-height: 210px !important;
  }

  body.legal-document-page .legal-reader-scroll {
    max-height: 48vh !important;
  }
}

@media (max-width: 760px) {
  body.home-page > .site-header,
  body.about-page > .site-header,
  body.contact-page > .site-header,
  body.legal-document-page > .site-header {
    grid-template-columns: 1fr auto !important;
    row-gap: 8px !important;
    min-height: 92px !important;
  }

  body.home-page .home-premium-brand__text,
  body.about-page .home-premium-brand__text,
  body.contact-page .home-premium-brand__text,
  body.legal-document-page .home-premium-brand__text {
    font-size: 28px !important;
  }

  body.home-page .nav-links,
  body.about-page .nav-links,
  body.contact-page .nav-links,
  body.legal-document-page .nav-links {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    justify-content: center !important;
    gap: 22px !important;
  }

  body.home-page .header-actions,
  body.about-page .header-actions,
  body.contact-page .header-actions,
  body.legal-document-page .header-actions {
    grid-column: 2 !important;
    grid-row: 1 !important;
    gap: 12px !important;
  }

  body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-intake-hero .legal-intake-shell {
    width: min(94vw, 620px) !important;
    transform: translateY(-14px) !important;
  }

  body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-platform-kicker {
    margin-bottom: 18px !important;
    font-size: clamp(28px, 8vw, 40px) !important;
  }

  body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .legal-composer,
  body.cabinet-page .cabinet-chat-composer {
    border-radius: 20px !important;
  }

  body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .composer-submit-button,
  body.cabinet-page .cabinet-send-button {
    min-width: 54px !important;
    width: 54px !important;
  }

  body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .composer-submit-button span {
    display: none !important;
  }

  body.home-page .site-footer,
  body.about-page .site-footer,
  body.contact-page .site-footer,
  body.legal-document-page .site-footer {
    left: 14px !important;
    bottom: 10px !important;
    max-width: 48vw !important;
  }

  body.home-page .floating-social-dock,
  body.about-page .floating-social-dock,
  body.contact-page .floating-social-dock,
  body.legal-document-page .floating-social-dock,
  body.cabinet-page .floating-social-dock {
    right: 12px !important;
    bottom: 10px !important;
    left: auto !important;
    gap: 10px !important;
    transform: none !important;
  }

  body.home-page .floating-social-link span,
  body.about-page .floating-social-link span,
  body.contact-page .floating-social-link span,
  body.legal-document-page .floating-social-link span,
  body.cabinet-page .floating-social-link span {
    display: none !important;
  }

  body.about-page {
    overflow: auto !important;
  }

  body.about-page .about-company-copy,
  body.about-page .about-video-stage {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    width: min(92vw, 620px) !important;
    margin: 0 auto !important;
  }

  body.about-page .about-company-copy {
    top: auto !important;
    padding-top: 118px !important;
  }

  body.about-page .about-video-stage {
    padding-top: 18px !important;
  }

  body.about-page .about-main,
  body.about-page .about-company-hero {
    min-height: 100svh !important;
    height: auto !important;
    overflow: visible !important;
  }

  body.contact-page {
    overflow: auto !important;
  }

  body.contact-page .contact-one-screen-grid {
    width: min(92vw, 620px) !important;
    margin-top: 130px !important;
  }

  body.contact-page .contact-map-live {
    height: 300px !important;
  }

  body.cabinet-page {
    overflow: auto !important;
  }

  body.cabinet-page .cabinet-chat-app {
    min-height: 100svh !important;
  }

  body.cabinet-page .cabinet-chat-sidebar {
    position: fixed !important;
    z-index: 80 !important;
    width: min(82vw, 300px) !important;
    height: 100svh !important;
    transform: translateX(-100%) !important;
    transition: transform 180ms ease !important;
  }

  body.cabinet-page .cabinet-chat-sidebar.is-expanded {
    transform: translateX(0) !important;
  }

  body.cabinet-page .cabinet-chat-center {
    padding: 118px 18px 92px !important;
  }

  body.cabinet-page .cabinet-empty-state,
  body.cabinet-page .cabinet-chat-composer {
    width: min(92vw, 620px) !important;
  }

  body.cabinet-page .cabinet-empty-state h1 {
    font-size: clamp(30px, 9vw, 44px) !important;
  }

  body.legal-document-page {
    overflow: auto !important;
  }

  body.legal-document-page .legal-pdf-main {
    padding-top: 132px !important;
  }

  body.legal-document-page .legal-pdf-layout {
    width: min(92vw, 640px) !important;
    max-height: none !important;
    overflow: visible !important;
  }
}

@media (max-width: 480px) {
  body.home-page .nav-links a,
  body.about-page .nav-links a,
  body.contact-page .nav-links a,
  body.legal-document-page .nav-links a {
    font-size: 14px !important;
  }

  body.home-page .header-login-button,
  body.about-page .header-login-button,
  body.contact-page .header-login-button,
  body.legal-document-page .header-login-button {
    font-size: 0 !important;
  }

  body.home-page .header-login-button::before,
  body.about-page .header-login-button::before,
  body.contact-page .header-login-button::before,
  body.legal-document-page .header-login-button::before {
    content: "Войти";
    font-size: 14px;
  }
}

/* Auth pages: the form remains the existing auth.js flow, only the shell is restyled. */
body.auth-page-shell {
  min-height: 100svh !important;
  overflow: hidden !important;
  background:
    linear-gradient(90deg, rgba(21, 10, 3, 0.36), rgba(255, 238, 214, 0.08), rgba(21, 10, 3, 0.34)),
    url("./assets/nizo-contact-premium-bg-20260624-v2.png") center / cover no-repeat fixed !important;
  color: var(--nizo-ink) !important;
  font-family: Georgia, "Times New Roman", serif !important;
}

body.auth-page-shell .auth-page {
  min-height: 100svh !important;
  display: grid !important;
  place-items: center !important;
  padding: 24px !important;
}

body.auth-page-shell .auth-page-brand {
  position: fixed !important;
  top: max(22px, env(safe-area-inset-top)) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 3 !important;
  color: #fff3d8 !important;
  text-decoration: none !important;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.42)) !important;
}

body.auth-page-shell .auth-page-panel {
  width: min(92vw, 760px) !important;
  margin-top: -1cm !important;
  padding: clamp(26px, 4vw, 44px) !important;
  border: 1px solid rgba(243, 203, 134, 0.34) !important;
  border-radius: 26px !important;
  background: rgba(255, 246, 232, 0.9) !important;
  box-shadow: 0 28px 70px rgba(25, 13, 6, 0.32) !important;
  backdrop-filter: blur(18px) saturate(116%) !important;
}

body.auth-page-shell .auth-mode-tabs {
  display: flex !important;
  gap: 18px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

body.auth-page-shell .auth-mode-tabs a,
body.auth-page-shell .auth-page-links a,
body.auth-page-shell .auth-exit-link,
body.auth-page-shell .auth-legal-note a {
  color: #4d270d !important;
  text-decoration: none !important;
  border-bottom: 1px solid transparent !important;
}

body.auth-page-shell .auth-mode-tabs a:hover,
body.auth-page-shell .auth-mode-tabs a.is-active,
body.auth-page-shell .auth-page-links a:hover,
body.auth-page-shell .auth-exit-link:hover,
body.auth-page-shell .auth-legal-note a:hover {
  border-bottom-color: currentColor !important;
}

body.auth-page-shell .auth-language-control select,
body.auth-page-shell .auth-page-form input {
  border: 1px solid rgba(80, 43, 18, 0.2) !important;
  border-radius: 14px !important;
  background: rgba(255, 252, 246, 0.86) !important;
  color: #2d1709 !important;
}

body.auth-page-shell .primary-button.full-width {
  border: 1px solid rgba(249, 206, 134, 0.35) !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #5a2d10, #321606) !important;
  color: #fff6df !important;
  box-shadow: 0 18px 40px rgba(62, 30, 10, 0.3) !important;
}

/* 2026-06-25 QA stabilizer: keep functions alive, make the premium skin consistent. */
body.home-page {
  min-height: 100svh !important;
  overflow: hidden !important;
  background:
    linear-gradient(90deg, rgba(255, 237, 211, 0.08), rgba(255, 239, 215, 0.2) 45%, rgba(255, 235, 201, 0.05)),
    url("./assets/nizo-main-premium-bg-20260624.jpg") center / cover no-repeat fixed !important;
}

body.home-page .home-main,
body.home-page .home-intake-hero,
body.home-page .chat-home-layout,
body.home-page .chat-home-stage {
  min-height: 100svh !important;
  background: transparent !important;
}

body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-intake-hero {
  display: grid !important;
  place-items: center !important;
  padding: 88px 18px 76px !important;
}

body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-intake-hero .legal-intake-shell {
  width: min(800px, calc(100vw - 44px)) !important;
  transform: translateY(-12px) !important;
}

body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-platform-kicker {
  width: min(780px, calc(100vw - 44px)) !important;
  margin-bottom: 22px !important;
  font-size: clamp(31px, 4.3vw, 54px) !important;
}

body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .legal-composer {
  min-height: 70px !important;
  border-radius: 22px !important;
}

body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .legal-composer__bar,
body.cabinet-page .cabinet-chat-composer {
  align-items: center !important;
}

body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .composer-icon-button,
body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .intake-voice-button,
body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .composer-submit-button {
  flex: 0 0 auto !important;
}

body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .privacy-consent-notice {
  width: min(820px, 100%) !important;
  margin: 11px auto 0 !important;
  text-align: center !important;
}

body.home-page .privacy-consent-text {
  margin: 0 !important;
  font-size: clamp(12px, 1.08vw, 16px) !important;
  line-height: 1.42 !important;
}

body.home-page .privacy-consent-text a {
  border-bottom: 1px solid currentColor !important;
  text-decoration: none !important;
}

body.home-page .privacy-consent-text a:hover,
body.home-page .privacy-consent-text a:focus-visible {
  color: #5d2f11 !important;
  border-bottom-width: 2px !important;
}

body.home-page .case-materials-popover {
  left: 0 !important;
  right: auto !important;
  transform: translateY(0) !important;
}

body.home-page .case-materials-popover .composer-file-picker {
  min-height: 48px !important;
  color: #4b260d !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 18px !important;
  background: linear-gradient(135deg, rgba(199, 149, 76, 0.23), rgba(91, 45, 16, 0.09)) !important;
  border-color: rgba(91, 45, 16, 0.28) !important;
}

body.home-page .case-materials-popover p {
  color: rgba(67, 43, 25, 0.7) !important;
  font-size: 14px !important;
  line-height: 1.38 !important;
  text-align: center !important;
}

body.home-page .header-login-button,
body.about-page .header-login-button,
body.contact-page .header-login-button,
body.legal-document-page .header-login-button {
  position: relative !important;
}

body.home-page .header-login-button::after,
body.about-page .header-login-button::after,
body.contact-page .header-login-button::after,
body.legal-document-page .header-login-button::after,
body.home-page .language-trigger::after,
body.about-page .language-trigger::after,
body.contact-page .language-trigger::after,
body.legal-document-page .language-trigger::after {
  content: "" !important;
  position: absolute !important;
  right: 0 !important;
  bottom: -1px !important;
  left: 0 !important;
  height: 1px !important;
  background: currentColor !important;
  opacity: 0 !important;
  transform: scaleX(0.7) !important;
  transition: opacity 160ms ease, transform 160ms ease !important;
}

body.home-page .header-login-button:hover::after,
body.about-page .header-login-button:hover::after,
body.contact-page .header-login-button:hover::after,
body.legal-document-page .header-login-button:hover::after,
body.home-page .language-trigger:hover::after,
body.about-page .language-trigger:hover::after,
body.contact-page .language-trigger:hover::after,
body.legal-document-page .language-trigger:hover::after {
  opacity: 0.78 !important;
  transform: scaleX(1) !important;
}

body.home-page .floating-social-link svg *,
body.about-page .floating-social-link svg *,
body.contact-page .floating-social-link svg *,
body.legal-document-page .floating-social-link svg *,
body.cabinet-page .floating-social-link svg * {
  fill: none !important;
  stroke: currentColor !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

body.home-page .floating-social-link.is-app-store span,
body.home-page .floating-social-link.is-google-play span,
body.about-page .floating-social-link.is-app-store span,
body.about-page .floating-social-link.is-google-play span,
body.contact-page .floating-social-link.is-app-store span,
body.contact-page .floating-social-link.is-google-play span,
body.legal-document-page .floating-social-link.is-app-store span,
body.legal-document-page .floating-social-link.is-google-play span,
body.cabinet-page .floating-social-link.is-app-store span,
body.cabinet-page .floating-social-link.is-google-play span {
  color: inherit !important;
  font: 600 14px/1.1 Georgia, "Times New Roman", serif !important;
  white-space: nowrap !important;
}

body.home-page .site-footer,
body.about-page .site-footer,
body.contact-page .site-footer,
body.legal-document-page .site-footer {
  bottom: 14px !important;
}

body.home-page .site-footer .footer-legal,
body.about-page .site-footer .footer-legal,
body.contact-page .site-footer .footer-legal,
body.legal-document-page .site-footer .footer-legal {
  max-width: min(48vw, 620px) !important;
  color: rgba(255, 235, 205, 0.88) !important;
}

body.home-page.is-nizo-thinking .chat-stage-results {
  opacity: 0 !important;
}

.nizo-thinking-overlay.is-leaving {
  animation: nizoFadeOut 420ms ease forwards !important;
}

.nizo-thinking-core {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 18px);
  gap: 11px;
  align-items: center;
  justify-content: center;
  width: 98px;
  height: 98px;
  border-radius: 50%;
  border: 1px solid rgba(242, 195, 119, 0.35);
  background: rgba(45, 24, 11, 0.36);
  box-shadow: 0 0 44px rgba(242, 195, 119, 0.25), inset 0 0 32px rgba(255, 245, 224, 0.08);
  backdrop-filter: blur(8px);
}

.nizo-thinking-core::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  border: 1px solid rgba(242, 195, 119, 0.18);
  animation: nizoPulseRing 1.4s ease-in-out infinite;
}

.nizo-thinking-core span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #f2c377;
  box-shadow: 0 0 16px rgba(242, 195, 119, 0.86);
  animation: nizoThinkingDot 1.05s ease-in-out infinite;
}

.nizo-thinking-core span:nth-child(2) { animation-delay: 140ms; }
.nizo-thinking-core span:nth-child(3) { animation-delay: 280ms; }

body.home-page.is-intake-result-mode .chat-stage-results {
  animation: nizoResultRise 720ms ease 120ms both !important;
}

body.home-page.is-intake-result-mode .locked-action-section {
  grid-column: 1 / -1 !important;
}

body.home-page.is-intake-result-mode .deep-analysis-button {
  background: linear-gradient(135deg, #5b2d10, #351706) !important;
  border: 1px solid rgba(255, 224, 170, 0.2) !important;
  color: #fff7e9 !important;
}

/* Compact primary analysis: the first free answer should feel like one polished legal sheet. */
body.home-page.is-intake-result-mode .chat-stage-results {
  width: min(1180px, calc(100vw - 72px)) !important;
  margin: 100px auto 30px !important;
}

body.home-page.is-intake-result-mode .situation-map-card {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 18px !important;
  width: 100% !important;
  max-width: none !important;
  max-height: calc(100svh - 130px) !important;
  overflow: auto !important;
  padding: 0 !important;
}

body.home-page.is-intake-result-mode .situation-map-head,
body.home-page.is-intake-result-mode .primary-category-line,
body.home-page.is-intake-result-mode .primary-similar-count,
body.home-page.is-intake-result-mode .situation-map-grid,
body.home-page.is-intake-result-mode .auth-status {
  grid-column: 1 / -1 !important;
}

body.home-page.is-intake-result-mode .situation-map-head {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: end !important;
  min-height: 0 !important;
  gap: 10px 18px !important;
}

body.home-page.is-intake-result-mode .situation-map-head h2 {
  max-width: 780px !important;
  font-size: clamp(26px, 3.3vw, 42px) !important;
  line-height: 1.04 !important;
  margin: 0 !important;
}

body.home-page.is-intake-result-mode .situation-map-head .eyebrow,
body.home-page.is-intake-result-mode .situation-map-head p {
  margin: 0 !important;
}

body.home-page.is-intake-result-mode .primary-category-line {
  width: fit-content !important;
  margin: 0 !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  background: rgba(255, 244, 224, 0.08) !important;
  border: 1px solid rgba(242, 195, 119, 0.22) !important;
}

body.home-page.is-intake-result-mode .primary-similar-count {
  display: grid !important;
  grid-template-columns: minmax(120px, 0.45fr) auto 1fr !important;
  align-items: center !important;
  min-height: 0 !important;
}

body.home-page.is-intake-result-mode .primary-similar-count,
body.home-page.is-intake-result-mode .situation-panel,
body.home-page.is-intake-result-mode .anonymized-case-card,
body.home-page.is-intake-result-mode .locked-action-section,
body.home-page.is-intake-result-mode .law-compliance-preview {
  padding: 16px 18px !important;
  border-radius: 16px !important;
}

body.home-page.is-intake-result-mode .situation-panel h3,
body.home-page.is-intake-result-mode .anonymized-case-card h3,
body.home-page.is-intake-result-mode .locked-action-section h3,
body.home-page.is-intake-result-mode .law-compliance-preview h3 {
  margin: 0 0 8px !important;
  font-size: 19px !important;
}

body.home-page.is-intake-result-mode .situation-panel p,
body.home-page.is-intake-result-mode .situation-panel li,
body.home-page.is-intake-result-mode .anonymized-case-card p,
body.home-page.is-intake-result-mode .locked-action-section p,
body.home-page.is-intake-result-mode .law-compliance-preview p,
body.home-page.is-intake-result-mode .law-compliance-preview li {
  font-size: 14px !important;
  line-height: 1.38 !important;
}

body.home-page.is-intake-result-mode .anonymized-case-card,
body.home-page.is-intake-result-mode .locked-action-section {
  grid-column: auto !important;
}

/* Final about layout guard: founder photo first, text after delay, video below on the same page. */
body.about-page .about-company-copy {
  position: fixed !important;
  top: 106px !important;
  left: clamp(28px, 5.2vw, 86px) !important;
  width: min(560px, 42vw) !important;
  max-height: 44svh !important;
  overflow: visible !important;
}

body.about-page .about-company-copy h1 {
  margin: 0 0 14px !important;
}

body.about-page .about-company-text p {
  margin: 0 0 10px !important;
}

body.about-page .about-video-stage {
  position: fixed !important;
  top: min(62svh, 570px) !important;
  bottom: auto !important;
  left: clamp(28px, 5.2vw, 86px) !important;
  width: min(500px, 40vw) !important;
}

body.about-page .about-video-frame {
  border-radius: 18px !important;
  background: rgba(18, 10, 5, 0.3) !important;
}

body.about-page .about-main {
  position: relative !important;
}

body.about-page .about-company-copy {
  top: clamp(88px, 10vh, 104px) !important;
  width: min(610px, 44vw) !important;
}

body.about-page .about-video-stage {
  bottom: clamp(62px, 8vh, 88px) !important;
  width: min(500px, 39vw) !important;
  opacity: 0 !important;
  transform: translateY(58px) !important;
}

body.about-page.is-about-copy-visible .about-video-stage {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity 800ms ease 250ms, transform 800ms ease 250ms !important;
}

body.about-page .floating-social-dock {
  bottom: 16px !important;
}

body.contact-page .contact-one-screen-grid {
  align-items: start !important;
  margin-top: clamp(108px, 15vh, 142px) !important;
}

body.contact-page .contact-card,
body.contact-page .contact-map-card {
  padding: 0 !important;
}

body.contact-page .contact-map-live {
  height: min(48vh, 430px) !important;
  min-height: 320px !important;
  border: 0 !important;
  border-radius: 18px !important;
}

body.contact-page .contact-map-link {
  margin-top: 10px !important;
}

body.legal-document-page .legal-simple-header .legal-header-actions,
body.legal-document-page .legal-language-switch,
body.legal-document-page .legal-home-link {
  display: none !important;
}

body.legal-document-page .legal-pdf-layout {
  margin-top: clamp(4px, 1vh, 12px) !important;
}

body.legal-document-page .legal-library,
body.legal-document-page .legal-reader-viewer,
body.legal-document-page .legal-pdf-viewer {
  background: rgba(23, 12, 6, 0.42) !important;
  border-color: rgba(242, 195, 119, 0.2) !important;
}

body.legal-document-page .legal-document-titlebar {
  border-bottom: 1px solid rgba(242, 195, 119, 0.18) !important;
}

body.legal-document-page .legal-document-pdf-link {
  display: none !important;
}

body.legal-document-page .legal-reader-scroll {
  scrollbar-color: rgba(242, 195, 119, 0.55) rgba(255, 255, 255, 0.08) !important;
}

body.cabinet-page .cabinet-chat-app {
  background:
    linear-gradient(90deg, rgba(21, 11, 5, 0.13), rgba(21, 11, 5, 0.02)),
    url("./assets/nizo-cabinet-court-bg-20260625.png") center / cover no-repeat fixed !important;
}

body.cabinet-page .cabinet-sidebar-head {
  align-items: center !important;
}

body.cabinet-page .cabinet-sidebar-brand {
  min-width: 0 !important;
}

body.cabinet-page .cabinet-sidebar-nav {
  display: grid !important;
  gap: 8px !important;
}

body.cabinet-page .cabinet-sidebar-nav button {
  min-height: 46px !important;
  padding: 9px 12px !important;
  font-size: 17px !important;
}

body.cabinet-page .cabinet-case-nav-list {
  display: grid !important;
  gap: 6px !important;
  padding: 4px 6px 10px 12px !important;
}

body.cabinet-page .cabinet-case-nav-list[hidden] {
  display: none !important;
}

body.cabinet-page .cabinet-case-nav-create,
body.cabinet-page .cabinet-case-nav-item,
body.cabinet-page .cabinet-dialog-list-button {
  min-height: 38px !important;
  padding: 8px 40px 8px 36px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}

body.cabinet-page .cabinet-case-nav-create {
  font-weight: 500 !important;
  color: rgba(42, 22, 10, 0.78) !important;
}

body.cabinet-page .cabinet-case-nav-row.is-active .cabinet-case-nav-item,
body.cabinet-page .cabinet-dialog-list-button.is-active {
  background: rgba(80, 42, 16, 0.09) !important;
}

body.cabinet-page .cabinet-top-actions {
  top: 24px !important;
  right: 30px !important;
}

body.cabinet-page .cabinet-empty-state,
body.cabinet-page .cabinet-chat-composer {
  width: min(760px, calc(100vw - 390px)) !important;
}

body.cabinet-page .cabinet-empty-state h1 {
  margin-bottom: 14px !important;
  font-size: clamp(30px, 4.2vw, 54px) !important;
}

body.cabinet-page .cabinet-chat-composer {
  min-height: 70px !important;
  border-radius: 22px !important;
}

body.cabinet-page .cabinet-composer-icon {
  color: #4a2b15 !important;
}

body.cabinet-page .cabinet-send-button {
  min-width: 54px !important;
  width: 54px !important;
}

body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-chat-sidebar {
  width: 76px !important;
  overflow: hidden !important;
}

body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-court-brand__text,
body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-sidebar-nav span,
body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-profile-meta,
body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-nav-chevron,
body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-case-nav-list,
body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-sidebar-dialogs {
  display: none !important;
}

body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-empty-state,
body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-chat-composer {
  width: min(760px, calc(100vw - 160px)) !important;
}

body.auth-page-shell .auth-page {
  place-items: start center !important;
  padding-top: clamp(82px, 13vh, 122px) !important;
}

body.auth-page-shell .auth-page-brand {
  top: clamp(22px, 5vh, 42px) !important;
}

body.auth-page-shell .auth-page-panel {
  margin-top: 0 !important;
}

body.auth-page-shell .auth-page-form input:invalid {
  box-shadow: none !important;
}

@keyframes nizoFadeOut {
  to {
    opacity: 0;
  }
}

@keyframes nizoThinkingDot {
  0%, 100% {
    transform: translateY(5px) scale(0.82);
    opacity: 0.45;
  }
  50% {
    transform: translateY(-5px) scale(1);
    opacity: 1;
  }
}

@keyframes nizoPulseRing {
  0%, 100% {
    transform: scale(0.92);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.06);
    opacity: 0.9;
  }
}

@keyframes nizoResultRise {
  from {
    opacity: 0;
    transform: translateY(42px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  body.home-page {
    background-position: 46% center !important;
  }

  body.cabinet-page .cabinet-chat-app {
    background-position: center center !important;
  }

  body.cabinet-page .cabinet-empty-state,
  body.cabinet-page .cabinet-chat-composer {
    width: min(720px, calc(100vw - 340px)) !important;
  }
}

@media (max-width: 760px) {
  body.home-page {
    overflow: auto !important;
    background-position: 50% center !important;
  }

  body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-intake-hero {
    min-height: 100svh !important;
    padding: 122px 14px 122px !important;
  }

  body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-intake-hero .legal-intake-shell {
    width: min(94vw, 560px) !important;
    transform: none !important;
  }

  body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .legal-composer {
    min-height: 72px !important;
    padding: 11px !important;
  }

  body.home-page .site-footer,
  body.about-page .site-footer,
  body.contact-page .site-footer,
  body.legal-document-page .site-footer {
    right: 12px !important;
    bottom: 52px !important;
    left: 12px !important;
    max-width: none !important;
    text-align: center !important;
  }

  body.home-page .site-footer .footer-legal,
  body.about-page .site-footer .footer-legal,
  body.contact-page .site-footer .footer-legal,
  body.legal-document-page .site-footer .footer-legal {
    max-width: none !important;
    font-size: 11px !important;
  }

  body.home-page .floating-social-dock,
  body.about-page .floating-social-dock,
  body.contact-page .floating-social-dock,
  body.legal-document-page .floating-social-dock,
  body.cabinet-page .floating-social-dock {
    right: 0 !important;
    left: 0 !important;
    bottom: 10px !important;
    justify-content: center !important;
    transform: none !important;
  }

  body.home-page .floating-social-link svg,
  body.about-page .floating-social-link svg,
  body.contact-page .floating-social-link svg,
  body.legal-document-page .floating-social-link svg,
  body.cabinet-page .floating-social-link svg {
    width: 22px !important;
    height: 22px !important;
  }

  body.about-page .about-company-hero {
    padding: 0 0 124px !important;
    background-position: 58% center !important;
  }

  body.about-page .about-company-copy {
    padding-top: 116px !important;
    width: min(90vw, 540px) !important;
  }

  body.about-page .about-video-stage {
    width: min(90vw, 540px) !important;
  }

  body.contact-page {
    background-position: 52% center !important;
  }

  body.contact-page .contact-one-screen-grid {
    width: min(90vw, 560px) !important;
    margin-top: 126px !important;
    padding-bottom: 112px !important;
  }

  body.legal-document-page {
    background-position: 64% center !important;
  }

  body.legal-document-page .legal-pdf-layout {
    grid-template-columns: 1fr !important;
    width: min(92vw, 620px) !important;
  }

  body.legal-document-page .legal-library {
    max-height: 176px !important;
    padding: 18px !important;
  }

  body.legal-document-page .legal-reader-scroll {
    max-height: 50svh !important;
  }

  body.cabinet-page .cabinet-chat-app {
    background-position: center center !important;
  }

  body.cabinet-page .cabinet-chat-sidebar {
    background: rgba(255, 244, 228, 0.9) !important;
  }

  body.cabinet-page .cabinet-chat-center {
    min-height: 100svh !important;
    padding: 112px 16px 104px !important;
  }

  body.cabinet-page .cabinet-empty-state,
  body.cabinet-page .cabinet-chat-composer,
  body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-empty-state,
  body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-chat-composer {
    width: min(92vw, 560px) !important;
  }

  body.cabinet-page .cabinet-top-actions {
    top: 18px !important;
    right: 16px !important;
  }

  body.auth-page-shell {
    overflow: auto !important;
  }

  body.auth-page-shell .auth-page {
    min-height: 100svh !important;
    padding: 88px 14px 32px !important;
  }

  body.auth-page-shell .auth-page-panel {
    width: min(94vw, 560px) !important;
    padding: 24px 18px !important;
  }
}

@media (max-width: 480px) {
  body.home-page > .site-header,
  body.about-page > .site-header,
  body.contact-page > .site-header,
  body.legal-document-page > .site-header {
    min-height: 96px !important;
  }

  body.home-page .home-premium-brand__icon,
  body.about-page .home-premium-brand__icon,
  body.contact-page .home-premium-brand__icon,
  body.legal-document-page .home-premium-brand__icon {
    width: 28px !important;
    height: 28px !important;
  }

  body.home-page .home-premium-brand__text,
  body.about-page .home-premium-brand__text,
  body.contact-page .home-premium-brand__text,
  body.legal-document-page .home-premium-brand__text {
    font-size: 24px !important;
  }

  body.home-page .nav-links,
  body.about-page .nav-links,
  body.contact-page .nav-links,
  body.legal-document-page .nav-links {
    gap: 18px !important;
  }

  body.home-page .header-actions,
  body.about-page .header-actions,
  body.contact-page .header-actions,
  body.legal-document-page .header-actions {
    gap: 10px !important;
  }

  body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-platform-kicker {
    font-size: clamp(26px, 8.5vw, 34px) !important;
  }

  body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .composer-submit-button,
  body.cabinet-page .cabinet-send-button {
    height: 48px !important;
    width: 48px !important;
    min-width: 48px !important;
    border-radius: 16px !important;
  }

  body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .legal-composer__textarea,
  body.cabinet-page .cabinet-chat-composer textarea {
    font-size: 15px !important;
  }

  body.home-page .case-materials-popover {
    left: 50% !important;
    width: min(92vw, 360px) !important;
    transform: translateX(-50%) !important;
  }
}

/* 2026-06-25 final checkpoint guard: premium layout, adaptive pages and connected controls. */
body.home-page > .site-header,
body.about-page > .site-header,
body.contact-page > .site-header,
body.legal-document-page > .site-header {
  padding: 18px clamp(22px, 4vw, 58px) !important;
}

body.home-page .nav-links a,
body.about-page .nav-links a,
body.contact-page .nav-links a,
body.legal-document-page .nav-links a {
  padding-bottom: 6px !important;
  color: rgba(47, 25, 10, 0.92) !important;
  text-decoration: none !important;
  background-image: linear-gradient(currentColor, currentColor) !important;
  background-repeat: no-repeat !important;
  background-position: 50% 100% !important;
  background-size: 0 1px !important;
  transition: background-size 160ms ease, color 160ms ease !important;
}

body.home-page .nav-links a:hover,
body.home-page .nav-links a[aria-current="page"],
body.about-page .nav-links a:hover,
body.about-page .nav-links a[aria-current="page"],
body.contact-page .nav-links a:hover,
body.contact-page .nav-links a[aria-current="page"],
body.legal-document-page .nav-links a:hover,
body.legal-document-page .nav-links a[aria-current="page"] {
  background-size: 100% 1px !important;
}

body.home-page .header-login-button,
body.about-page .header-login-button,
body.contact-page .header-login-button,
body.legal-document-page .header-login-button,
body.home-page .language-trigger,
body.about-page .language-trigger,
body.contact-page .language-trigger,
body.legal-document-page .language-trigger {
  color: #2b160a !important;
  background: rgba(255, 243, 226, 0.5) !important;
  border: 1px solid rgba(95, 55, 22, 0.2) !important;
  border-radius: 15px !important;
  box-shadow: 0 10px 26px rgba(43, 19, 6, 0.09) !important;
  backdrop-filter: blur(8px) !important;
}

body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-intake-hero .legal-intake-shell {
  width: min(760px, calc(100vw - 46px)) !important;
  transform: translateY(-42px) !important;
}

body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-platform-kicker {
  width: min(800px, calc(100vw - 46px)) !important;
  margin-bottom: 18px !important;
  font-size: clamp(30px, 4.25vw, 54px) !important;
}

body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .legal-composer {
  min-height: 66px !important;
  padding: 9px 12px !important;
  border-radius: 22px !important;
}

body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .composer-submit-button {
  min-width: 118px !important;
  height: 48px !important;
  border-radius: 16px !important;
}

body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .privacy-consent-notice {
  margin-top: 10px !important;
}

body.home-page .privacy-consent-text {
  max-width: 780px !important;
  font-size: clamp(12px, 1.05vw, 15px) !important;
  line-height: 1.45 !important;
}

body.home-page .privacy-consent-text a {
  text-decoration-line: underline !important;
  text-decoration-thickness: 1.25px !important;
  text-underline-offset: 4px !important;
}

body.home-page .site-footer,
body.about-page .site-footer,
body.contact-page .site-footer,
body.legal-document-page .site-footer {
  position: fixed !important;
  z-index: 76 !important;
  left: clamp(16px, 3vw, 46px) !important;
  right: auto !important;
  bottom: 18px !important;
  display: block !important;
  width: min(42vw, 560px) !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  color: rgba(255, 236, 203, 0.94) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.home-page .site-footer .footer-legal,
body.about-page .site-footer .footer-legal,
body.contact-page .site-footer .footer-legal,
body.legal-document-page .site-footer .footer-legal {
  display: block !important;
  max-width: 100% !important;
  white-space: normal !important;
}

body.home-page .floating-social-dock,
body.about-page .floating-social-dock,
body.contact-page .floating-social-dock,
body.legal-document-page .floating-social-dock,
body.cabinet-page .floating-social-dock {
  bottom: 16px !important;
  gap: clamp(12px, 2.7vw, 34px) !important;
}

body.home-page .floating-social-link,
body.about-page .floating-social-link,
body.contact-page .floating-social-link,
body.legal-document-page .floating-social-link,
body.cabinet-page .floating-social-link {
  color: #241208 !important;
  opacity: 1 !important;
}

body.home-page .floating-social-link.is-telegram svg,
body.about-page .floating-social-link.is-telegram svg,
body.contact-page .floating-social-link.is-telegram svg,
body.legal-document-page .floating-social-link.is-telegram svg,
body.cabinet-page .floating-social-link.is-telegram svg {
  color: #2f6780 !important;
}

body.about-page {
  overflow: hidden !important;
}

body.about-page .about-company-copy {
  top: 104px !important;
  left: clamp(24px, 5vw, 76px) !important;
  width: min(560px, 42vw) !important;
  max-height: 43svh !important;
  overflow: auto !important;
  padding-right: 6px !important;
}

body.about-page .about-company-copy h1 {
  font-size: clamp(26px, 3.1vw, 44px) !important;
  margin-bottom: 10px !important;
}

body.about-page .about-company-text p {
  font-size: clamp(13px, 1vw, 16px) !important;
  line-height: 1.42 !important;
  margin-bottom: 8px !important;
}

body.about-page .about-video-stage {
  top: auto !important;
  bottom: clamp(70px, 9vh, 94px) !important;
  left: clamp(24px, 5vw, 76px) !important;
  width: min(460px, 38vw) !important;
  max-height: 25svh !important;
}

body.about-page .about-video-frame {
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
}

body.contact-page .contact-one-screen-grid {
  display: grid !important;
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr) !important;
  align-items: start !important;
  gap: clamp(28px, 5vw, 72px) !important;
  width: min(1180px, calc(100vw - 92px)) !important;
  margin: clamp(112px, 16vh, 148px) auto 0 !important;
}

body.contact-page .contact-details-card,
body.contact-page .contact-location-card,
body.contact-page .contact-map-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.contact-page .contact-details-list {
  color: #fff0d2 !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7) !important;
}

body.contact-page .contact-details-list dt {
  color: rgba(255, 219, 163, 0.84) !important;
}

body.contact-page .contact-details-list dd,
body.contact-page .contact-details-list a {
  color: rgba(255, 244, 223, 0.96) !important;
}

body.contact-page .contact-map-live {
  height: clamp(320px, 45vh, 440px) !important;
  min-height: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(242, 195, 119, 0.28) !important;
  border-radius: 18px !important;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.34) !important;
}

body.contact-page .contact-map-live iframe {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
}

body.contact-page .contact-map-link {
  display: inline-flex !important;
  margin-top: 12px !important;
  color: #fff0d2 !important;
  text-decoration: underline !important;
  text-underline-offset: 5px !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.64) !important;
}

body.legal-document-page {
  overflow: hidden !important;
}

body.legal-document-page .legal-document-main,
body.legal-document-page .legal-pdf-main {
  min-height: 100svh !important;
  padding: clamp(104px, 14vh, 132px) clamp(20px, 4vw, 72px) 84px !important;
}

body.legal-document-page .legal-pdf-layout {
  width: min(1320px, 100%) !important;
  max-height: calc(100svh - 190px) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: minmax(240px, 330px) minmax(0, 1fr) !important;
  gap: 24px !important;
  animation: nizoResultRise 850ms ease 2.8s both !important;
}

body.legal-document-page .legal-library,
body.legal-document-page .legal-reader-viewer,
body.legal-document-page .legal-pdf-viewer {
  color: #fff0d2 !important;
  background: rgba(22, 11, 5, 0.62) !important;
  border: 1px solid rgba(242, 195, 119, 0.22) !important;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28) !important;
  backdrop-filter: blur(10px) !important;
}

body.legal-document-page .legal-reader-scroll {
  max-height: calc(100svh - 274px) !important;
}

body.legal-document-page .legal-reader-article,
body.legal-document-page .legal-reader-article p,
body.legal-document-page .legal-reader-article li {
  color: rgba(255, 241, 216, 0.92) !important;
  font-family: "Georgia", "Times New Roman", serif !important;
}

body.legal-document-page .legal-reader-article h2,
body.legal-document-page .legal-document-titlebar h1,
body.legal-document-page .legal-library h2,
body.legal-document-page .legal-library-link span {
  color: #fff2d8 !important;
  font-family: "Georgia", "Times New Roman", serif !important;
}

body.cabinet-page .cabinet-chat-center {
  min-height: 100svh !important;
  padding: 0 !important;
}

body.cabinet-page .cabinet-empty-state,
body.cabinet-page .cabinet-chat-composer {
  position: fixed !important;
  left: calc(302px + ((100vw - 302px) / 2)) !important;
  transform: translateX(-50%) !important;
  width: min(760px, calc(100vw - 390px)) !important;
}

body.cabinet-page .cabinet-empty-state {
  top: calc(50svh - 112px) !important;
  margin: 0 !important;
}

body.cabinet-page .cabinet-chat-composer {
  top: calc(50svh - 18px) !important;
}

body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-empty-state,
body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-chat-composer {
  left: calc(76px + ((100vw - 76px) / 2)) !important;
  width: min(760px, calc(100vw - 160px)) !important;
}

body.cabinet-page .cabinet-composer-icon.is-recording {
  color: #a65a1e !important;
  filter: drop-shadow(0 0 8px rgba(196, 126, 52, 0.72)) !important;
}

body.auth-page-shell .auth-page {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-height: 100svh !important;
  padding-top: clamp(86px, 11vh, 108px) !important;
}

body.auth-page-shell .auth-page-brand {
  top: clamp(24px, 4vh, 36px) !important;
}

body.auth-page-shell .auth-page-panel {
  position: relative !important;
  top: auto !important;
  transform: none !important;
}

@media (max-width: 980px) {
  body.home-page > .site-header,
  body.about-page > .site-header,
  body.contact-page > .site-header,
  body.legal-document-page > .site-header {
    gap: 12px !important;
    min-height: 88px !important;
    padding: 14px 18px !important;
  }

  body.home-page .nav-links,
  body.about-page .nav-links,
  body.contact-page .nav-links,
  body.legal-document-page .nav-links {
    gap: clamp(16px, 3vw, 34px) !important;
  }

  body.home-page .header-actions,
  body.about-page .header-actions,
  body.contact-page .header-actions,
  body.legal-document-page .header-actions {
    gap: 8px !important;
  }

  body.about-page .about-company-copy {
    top: 104px !important;
    width: min(620px, calc(100vw - 40px)) !important;
    max-height: 42svh !important;
  }

  body.about-page .about-video-stage {
    left: clamp(20px, 5vw, 40px) !important;
    bottom: 74px !important;
    width: min(440px, calc(100vw - 40px)) !important;
    max-height: 24svh !important;
  }

  body.contact-page {
    overflow: auto !important;
  }

  body.contact-page .contact-one-screen-grid {
    grid-template-columns: 1fr !important;
    width: min(680px, calc(100vw - 40px)) !important;
    margin-top: 112px !important;
    padding-bottom: 112px !important;
  }

  body.legal-document-page {
    overflow: auto !important;
  }

  body.legal-document-page .legal-pdf-layout {
    grid-template-columns: 1fr !important;
    max-height: none !important;
  }

  body.legal-document-page .legal-library {
    max-height: 180px !important;
    overflow: auto !important;
  }

  body.legal-document-page .legal-reader-scroll {
    max-height: 54svh !important;
  }

  body.cabinet-page .cabinet-empty-state,
  body.cabinet-page .cabinet-chat-composer,
  body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-empty-state,
  body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-chat-composer {
    left: 50% !important;
    width: min(620px, calc(100vw - 46px)) !important;
  }

  body.cabinet-page .cabinet-empty-state {
    top: calc(50svh - 100px) !important;
  }

  body.cabinet-page .cabinet-chat-composer {
    top: calc(50svh - 8px) !important;
  }
}

@media (max-width: 760px) {
  body.home-page,
  body.about-page,
  body.contact-page,
  body.legal-document-page,
  body.cabinet-page {
    background-attachment: scroll !important;
  }

  body.home-page > .site-header,
  body.about-page > .site-header,
  body.contact-page > .site-header,
  body.legal-document-page > .site-header {
    align-items: center !important;
    min-height: 88px !important;
  }

  body.home-page .home-premium-brand__text,
  body.about-page .home-premium-brand__text,
  body.contact-page .home-premium-brand__text,
  body.legal-document-page .home-premium-brand__text {
    font-size: 22px !important;
  }

  body.home-page .nav-links,
  body.about-page .nav-links,
  body.contact-page .nav-links,
  body.legal-document-page .nav-links {
    order: 3 !important;
    width: 100% !important;
    justify-content: center !important;
    gap: 22px !important;
    font-size: 14px !important;
  }

  body.home-page .header-login-button,
  body.about-page .header-login-button,
  body.contact-page .header-login-button,
  body.legal-document-page .header-login-button {
    padding: 8px 10px !important;
    font-size: 13px !important;
  }

  body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-intake-hero {
    padding: 132px 14px 112px !important;
  }

  body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-intake-hero .legal-intake-shell {
    width: min(94vw, 520px) !important;
    transform: translateY(-10px) !important;
  }

  body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-platform-kicker {
    font-size: clamp(25px, 7.5vw, 34px) !important;
  }

  body.home-page .site-footer,
  body.about-page .site-footer,
  body.contact-page .site-footer,
  body.legal-document-page .site-footer {
    left: 12px !important;
    right: 12px !important;
    bottom: 46px !important;
    width: auto !important;
    text-align: center !important;
  }

  body.home-page .floating-social-dock,
  body.about-page .floating-social-dock,
  body.contact-page .floating-social-dock,
  body.legal-document-page .floating-social-dock,
  body.cabinet-page .floating-social-dock {
    bottom: 8px !important;
    gap: 11px !important;
    max-width: calc(100vw - 16px) !important;
  }

  body.home-page .floating-social-link span,
  body.about-page .floating-social-link span,
  body.contact-page .floating-social-link span,
  body.legal-document-page .floating-social-link span,
  body.cabinet-page .floating-social-link span {
    display: none !important;
  }

  body.about-page {
    overflow: auto !important;
  }

  body.about-page .about-company-hero {
    min-height: 100svh !important;
    padding-bottom: 0 !important;
  }

  body.about-page .about-company-copy,
  body.about-page .about-video-stage {
    position: absolute !important;
    left: 18px !important;
    width: calc(100vw - 36px) !important;
  }

  body.about-page .about-company-copy {
    top: 108px !important;
    max-height: 46svh !important;
  }

  body.about-page .about-video-stage {
    top: calc(108px + 48svh) !important;
    bottom: auto !important;
    max-height: 24svh !important;
  }

  body.contact-page .contact-one-screen-grid {
    width: calc(100vw - 32px) !important;
    margin-top: 118px !important;
  }

  body.contact-page .contact-map-live {
    height: 310px !important;
  }

  body.legal-document-page .legal-document-main,
  body.legal-document-page .legal-pdf-main {
    padding: 118px 14px 78px !important;
  }

  body.legal-document-page .legal-reader-scroll {
    max-height: 48svh !important;
  }

  body.cabinet-page .cabinet-chat-sidebar {
    position: fixed !important;
    top: 0 !important;
    right: auto !important;
    bottom: auto !important;
    left: 0 !important;
    z-index: 85 !important;
    width: min(300px, 84vw) !important;
    height: 100svh !important;
    transform: translateX(-100%) !important;
    transition: transform 180ms ease, width 180ms ease !important;
  }

  body.cabinet-page .cabinet-chat-sidebar.is-expanded:not(.is-collapsed) {
    transform: translateX(0) !important;
  }

  body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-chat-sidebar {
    width: 66px !important;
    transform: translateX(0) !important;
  }

  body.cabinet-page .cabinet-empty-state,
  body.cabinet-page .cabinet-chat-composer,
  body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-empty-state,
  body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-chat-composer {
    left: 50% !important;
    width: min(92vw, 560px) !important;
  }

  body.cabinet-page .cabinet-empty-state {
    top: calc(50svh - 88px) !important;
  }

  body.cabinet-page .cabinet-empty-state h1 {
    font-size: clamp(25px, 7vw, 34px) !important;
  }

  body.cabinet-page .cabinet-chat-composer {
    top: calc(50svh - 4px) !important;
    min-height: 64px !important;
  }

  body.auth-page-shell .auth-page {
    padding: 84px 14px 30px !important;
  }
}

@media (max-width: 480px) {
  body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .legal-composer,
  body.cabinet-page .cabinet-chat-composer {
    border-radius: 20px !important;
  }

  body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .composer-submit-button {
    min-width: 48px !important;
    width: 48px !important;
    color: transparent !important;
  }

  body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .composer-submit-button svg {
    color: #fff7e9 !important;
  }

  body.home-page .privacy-consent-text {
    font-size: 11.5px !important;
  }

  body.about-page .about-company-copy {
    max-height: 50svh !important;
  }

  body.about-page .about-video-stage {
    top: calc(108px + 52svh) !important;
  }

  body.cabinet-page .cabinet-chat-sidebar {
    width: min(292px, 88vw) !important;
  }
}

/* Absolute last overrides: beat legacy html/body high-specificity layout rules. */
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) footer#help.site-footer,
html body.about-page footer#help.site-footer,
html body.contact-page footer#help.site-footer,
html body.legal-document-page footer#help.site-footer {
  position: fixed !important;
  left: clamp(16px, 3vw, 46px) !important;
  right: auto !important;
  bottom: 18px !important;
  display: block !important;
  width: min(42vw, 560px) !important;
  height: auto !important;
  min-height: 22px !important;
  max-height: none !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) footer#help.site-footer .footer-legal,
html body.about-page footer#help.site-footer .footer-legal,
html body.contact-page footer#help.site-footer .footer-legal,
html body.legal-document-page footer#help.site-footer .footer-legal {
  position: static !important;
  display: block !important;
  margin: 0 !important;
  width: auto !important;
  height: auto !important;
  min-height: 18px !important;
  color: rgba(255, 237, 207, 0.92) !important;
  font-size: clamp(11px, 1vw, 14px) !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.58) !important;
}

html body.about-page .about-company-copy {
  position: fixed !important;
  top: 104px !important;
  bottom: auto !important;
  left: clamp(24px, 5vw, 76px) !important;
  width: min(560px, 42vw) !important;
  max-height: 38svh !important;
  overflow: auto !important;
  transform: translateY(52px) !important;
}

html body.about-page.is-about-copy-visible .about-company-copy {
  transform: translateY(0) !important;
}

html body.about-page .about-video-stage {
  position: fixed !important;
  top: auto !important;
  bottom: clamp(74px, 8vh, 96px) !important;
  left: clamp(24px, 5vw, 76px) !important;
  width: min(440px, 36vw) !important;
  max-height: 23svh !important;
}

html body.legal-document-page .legal-pdf-layout {
  width: min(1240px, calc(100vw - 80px)) !important;
}

@media (max-width: 980px) {
  html body.about-page .about-company-copy {
    position: absolute !important;
    top: 104px !important;
    left: 20px !important;
    width: calc(100vw - 40px) !important;
    max-height: 42svh !important;
  }

  html body.about-page .about-video-stage {
    position: absolute !important;
    top: calc(112px + 44svh) !important;
    bottom: auto !important;
    left: 20px !important;
    width: min(440px, calc(100vw - 40px)) !important;
    max-height: 24svh !important;
  }

  html body.legal-document-page .legal-pdf-layout {
    width: min(680px, calc(100vw - 36px)) !important;
  }
}

@media (max-width: 760px) {
  html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) footer#help.site-footer,
  html body.about-page footer#help.site-footer,
  html body.contact-page footer#help.site-footer,
  html body.legal-document-page footer#help.site-footer {
    left: 12px !important;
    right: 12px !important;
    bottom: 46px !important;
    width: auto !important;
    text-align: center !important;
  }

  html body.about-page .about-company-copy {
    top: 108px !important;
    max-height: 45svh !important;
  }

  html body.about-page .about-video-stage {
    top: calc(112px + 47svh) !important;
  }
}

@media (max-width: 480px) {
  html body.about-page .about-company-copy {
    max-height: 48svh !important;
  }

  html body.about-page .about-video-stage {
    top: calc(110px + 50svh) !important;
  }
}

/* Checkpoint 2026-06-25: final premium legal layout and responsive stability. */
html body.home-page,
html body.about-page,
html body.contact-page,
html body.legal-document-page,
html body.cabinet-page,
html body.auth-page-shell {
  --nizo-final-ink: #241407;
  --nizo-final-gold: #d6a456;
  --nizo-final-cream: #fff2dd;
  --nizo-final-wood: #4a250d;
  --nizo-final-shadow: 0 24px 70px rgba(17, 8, 3, 0.34);
  font-family: Georgia, "Times New Roman", serif !important;
}

html body.home-page .header-theme-toggle,
html body.about-page .header-theme-toggle,
html body.contact-page .header-theme-toggle,
html body.legal-document-page .header-theme-toggle,
html body.legal-document-page [data-theme-toggle],
html body.cabinet-page [data-theme-toggle],
html body.cabinet-page .header-theme-toggle {
  display: none !important;
}

html body.home-page > .site-header,
html body.about-page > .site-header,
html body.contact-page > .site-header,
html body.legal-document-page > .site-header,
html body.legal-document-page > .site-header.nizo-legal-premium-header {
  grid-template-columns: minmax(172px, 1fr) auto minmax(172px, 1fr) !important;
  min-height: 76px !important;
  padding: 18px clamp(24px, 4.2vw, 62px) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body.home-page .home-premium-brand__icon,
html body.about-page .home-premium-brand__icon,
html body.contact-page .home-premium-brand__icon,
html body.legal-document-page .home-premium-brand__icon {
  width: clamp(30px, 2.6vw, 42px) !important;
  height: clamp(30px, 2.6vw, 42px) !important;
  color: var(--nizo-final-gold) !important;
  filter: drop-shadow(0 2px 9px rgba(0, 0, 0, 0.28)) !important;
}

html body.home-page .home-premium-brand__text,
html body.about-page .home-premium-brand__text,
html body.contact-page .home-premium-brand__text,
html body.legal-document-page .home-premium-brand__text {
  font-size: clamp(26px, 2.65vw, 42px) !important;
  color: #271305 !important;
  text-shadow: 0 2px 16px rgba(255, 226, 177, 0.62), 0 1px 0 rgba(255, 255, 255, 0.38) !important;
}

html body.home-page .nav-links,
html body.about-page .nav-links,
html body.contact-page .nav-links,
html body.legal-document-page .nav-links {
  gap: clamp(28px, 4.2vw, 68px) !important;
}

html body.home-page .nav-links a,
html body.about-page .nav-links a,
html body.contact-page .nav-links a,
html body.legal-document-page .nav-links a,
html body.home-page .header-login-button,
html body.about-page .header-login-button,
html body.contact-page .header-login-button,
html body.legal-document-page .header-login-button,
html body.home-page .language-trigger,
html body.about-page .language-trigger,
html body.contact-page .language-trigger,
html body.legal-document-page .language-trigger {
  color: #291305 !important;
  font-size: clamp(15px, 1.16vw, 18px) !important;
  font-weight: 700 !important;
  text-shadow: 0 2px 15px rgba(255, 228, 180, 0.84), 0 1px 7px rgba(0, 0, 0, 0.18) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body.home-page .header-login-button,
html body.about-page .header-login-button,
html body.contact-page .header-login-button,
html body.legal-document-page .header-login-button {
  padding: 8px 0 !important;
  min-width: 0 !important;
}

html body.home-page .header-login-button::after,
html body.about-page .header-login-button::after,
html body.contact-page .header-login-button::after,
html body.legal-document-page .header-login-button::after,
html body.home-page .language-trigger::after,
html body.about-page .language-trigger::after,
html body.contact-page .language-trigger::after,
html body.legal-document-page .language-trigger::after {
  bottom: 0 !important;
  height: 2px !important;
  background: currentColor !important;
}

html body.home-page .flag-circle,
html body.about-page .flag-circle,
html body.contact-page .flag-circle,
html body.legal-document-page .flag-circle,
html body.cabinet-page .flag-circle {
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  font-size: clamp(20px, 1.7vw, 25px) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body.home-page .language-trigger-text,
html body.about-page .language-trigger-text,
html body.contact-page .language-trigger-text,
html body.legal-document-page .language-trigger-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
}

html body.home-page {
  overflow: hidden !important;
  background:
    linear-gradient(90deg, rgba(255, 226, 183, 0.06), rgba(255, 226, 183, 0.03)),
    url("./assets/nizo-main-premium-bg-20260624.jpg") center / cover no-repeat fixed !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-main,
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-intake-hero {
  min-height: 100svh !important;
  background: transparent !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-intake-hero .legal-intake-shell {
  position: fixed !important;
  z-index: 5 !important;
  top: 42.5svh !important;
  left: 50% !important;
  width: min(790px, calc(100vw - 54px)) !important;
  margin: 0 !important;
  transform: translate(-50%, -50%) !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-platform-kicker {
  width: min(760px, 100%) !important;
  margin: 0 auto 22px !important;
  color: #251205 !important;
  font-size: clamp(30px, 4.2vw, 52px) !important;
  line-height: 1.12 !important;
  text-shadow: 0 2px 24px rgba(255, 223, 170, 0.86), 0 1px 0 rgba(255, 255, 255, 0.45) !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .legal-composer {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 68px !important;
  padding: 10px 12px 10px 18px !important;
  background: rgba(255, 250, 242, 0.82) !important;
  border: 1px solid rgba(77, 43, 18, 0.34) !important;
  border-radius: 24px !important;
  box-shadow: 0 20px 50px rgba(32, 13, 4, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.86) !important;
  backdrop-filter: blur(9px) !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .legal-composer__textarea {
  min-height: 40px !important;
  padding-top: 9px !important;
  color: #2b1708 !important;
  font-size: clamp(15px, 1.25vw, 18px) !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .composer-icon-button,
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .voice-button {
  width: 38px !important;
  height: 38px !important;
  color: #4b260d !important;
  background: transparent !important;
  border: 0 !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .composer-submit-button {
  min-width: 118px !important;
  height: 46px !important;
  padding: 0 22px !important;
  color: #fff2dd !important;
  font-size: 17px !important;
  background: linear-gradient(135deg, #5b2b0e, #2f1304) !important;
  border: 1px solid rgba(255, 221, 160, 0.3) !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 26px rgba(35, 15, 4, 0.28) !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .legal-intake-files-popover {
  top: calc(100% + 8px) !important;
  left: 0 !important;
  width: min(520px, calc(100vw - 54px)) !important;
  color: #34200f !important;
  background: rgba(255, 247, 235, 0.94) !important;
  border: 1px solid rgba(121, 75, 29, 0.24) !important;
  border-radius: 22px !important;
  box-shadow: 0 22px 58px rgba(25, 10, 3, 0.28) !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .legal-intake-files-popover label,
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .legal-intake-file-button {
  color: #fff3df !important;
  background: linear-gradient(135deg, #7b4a1e, #4a240d) !important;
  border: 1px solid rgba(255, 219, 157, 0.34) !important;
  border-radius: 17px !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .privacy-consent-notice {
  width: min(760px, calc(100vw - 54px)) !important;
  margin: 16px auto 0 !important;
  color: rgba(43, 23, 8, 0.88) !important;
  text-align: center !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body.home-page .privacy-consent-text {
  color: rgba(43, 23, 8, 0.82) !important;
  font-size: clamp(12px, 1.08vw, 15px) !important;
  line-height: 1.45 !important;
  text-shadow: 0 1px 12px rgba(255, 235, 194, 0.72) !important;
}

html body.home-page .privacy-consent-text a {
  color: #2a1405 !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 4px !important;
}

html body.home-page .privacy-consent-text a:hover,
html body.home-page .privacy-consent-text a:focus-visible {
  color: #6a3a14 !important;
  text-decoration-thickness: 2px !important;
}

html body.home-page footer#help.site-footer,
html body.about-page footer#help.site-footer,
html body.contact-page footer#help.site-footer,
html body.legal-document-page footer#help.site-footer {
  position: fixed !important;
  z-index: 15 !important;
  left: clamp(18px, 3.4vw, 58px) !important;
  right: auto !important;
  bottom: 16px !important;
  width: min(520px, 42vw) !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  color: rgba(255, 239, 213, 0.9) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

html body.home-page footer#help.site-footer .footer-context,
html body.home-page footer#help.site-footer > nav:not(.floating-social-dock),
html body.about-page footer#help.site-footer .footer-context,
html body.about-page footer#help.site-footer > nav:not(.floating-social-dock),
html body.contact-page footer#help.site-footer .footer-context,
html body.contact-page footer#help.site-footer > nav:not(.floating-social-dock),
html body.legal-document-page footer#help.site-footer .footer-context,
html body.legal-document-page footer#help.site-footer > nav:not(.floating-social-dock) {
  display: none !important;
}

html body.home-page footer#help.site-footer .footer-legal,
html body.about-page footer#help.site-footer .footer-legal,
html body.contact-page footer#help.site-footer .footer-legal,
html body.legal-document-page footer#help.site-footer .footer-legal {
  margin: 0 !important;
  color: rgba(255, 238, 211, 0.9) !important;
  font-size: clamp(10px, 0.92vw, 13px) !important;
  line-height: 1.35 !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72) !important;
}

html body.home-page .floating-social-dock,
html body.about-page .floating-social-dock,
html body.contact-page .floating-social-dock,
html body.legal-document-page .floating-social-dock,
html body.cabinet-page .floating-social-dock {
  position: fixed !important;
  z-index: 18 !important;
  left: 50% !important;
  right: auto !important;
  bottom: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(14px, 2.2vw, 34px) !important;
  width: auto !important;
  max-width: min(92vw, 720px) !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: translateX(-50%) !important;
}

html body.home-page .floating-social-link,
html body.about-page .floating-social-link,
html body.contact-page .floating-social-link,
html body.legal-document-page .floating-social-link,
html body.cabinet-page .floating-social-link {
  width: auto !important;
  min-width: 30px !important;
  height: 34px !important;
  padding: 0 5px !important;
  color: rgba(255, 238, 211, 0.95) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 2px 9px rgba(0, 0, 0, 0.65)) !important;
}

html body.home-page .floating-social-link svg,
html body.about-page .floating-social-link svg,
html body.contact-page .floating-social-link svg,
html body.legal-document-page .floating-social-link svg,
html body.cabinet-page .floating-social-link svg {
  width: 25px !important;
  height: 25px !important;
  stroke-width: 1.9 !important;
}

html body.home-page .floating-social-link.is-telegram,
html body.about-page .floating-social-link.is-telegram,
html body.contact-page .floating-social-link.is-telegram,
html body.legal-document-page .floating-social-link.is-telegram,
html body.cabinet-page .floating-social-link.is-telegram {
  color: #f9d9a2 !important;
}

html body.home-page .floating-social-link span,
html body.about-page .floating-social-link span,
html body.contact-page .floating-social-link span,
html body.legal-document-page .floating-social-link span,
html body.cabinet-page .floating-social-link span {
  display: inline !important;
  margin-left: 7px !important;
  font-size: 13px !important;
  color: currentColor !important;
}

html body.home-page.is-intake-result-mode {
  overflow: hidden !important;
}

html body.home-page.is-intake-result-mode .chat-stage-results {
  width: min(1120px, calc(100vw - 72px)) !important;
  margin: clamp(88px, 12vh, 118px) auto 26px !important;
  animation: nizoResultRise 760ms ease both !important;
}

html body.home-page.is-intake-result-mode .situation-map-card.nizo-primary-result-sheet,
html body.home-page.is-intake-result-mode .situation-map-card {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px 22px !important;
  max-height: calc(100svh - 148px) !important;
  overflow: auto !important;
  color: #fff0d2 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.nizo-thinking-overlay {
  position: fixed !important;
  z-index: 260 !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  gap: 18px !important;
  align-content: center !important;
  color: #fff2dd !important;
  background:
    linear-gradient(180deg, rgba(13, 7, 4, 0.44), rgba(13, 7, 4, 0.72)),
    url("./assets/nizo-analysis-thinking-bg-20260625.jpg") center / cover no-repeat !important;
}

.nizo-thinking-core {
  position: relative !important;
  width: 82px !important;
  height: 82px !important;
}

.nizo-thinking-core span {
  position: absolute !important;
  inset: 0 !important;
  border: 2px solid transparent !important;
  border-top-color: rgba(246, 202, 126, 0.95) !important;
  border-radius: 999px !important;
  animation: nizoSpin 1.2s linear infinite !important;
  filter: drop-shadow(0 0 12px rgba(246, 202, 126, 0.48)) !important;
}

.nizo-thinking-core span:nth-child(2) {
  inset: 11px !important;
  animation-duration: 1.65s !important;
  animation-direction: reverse !important;
}

.nizo-thinking-core span:nth-child(3) {
  inset: 23px !important;
  animation-duration: 1.05s !important;
}

.nizo-thinking-status {
  margin: 0 !important;
  color: #fff2dd !important;
  font-size: clamp(20px, 2.4vw, 34px) !important;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.72) !important;
}

html body.about-page {
  overflow: hidden !important;
  background:
    linear-gradient(90deg, rgba(11, 6, 3, 0.26), rgba(11, 6, 3, 0.06) 54%, rgba(11, 6, 3, 0.34)),
    url("./assets/nizo-about-premium-bg-20260624.png") center / cover no-repeat fixed !important;
}

html body.about-page .about-main,
html body.about-page .about-company-hero {
  min-height: 100svh !important;
  height: 100svh !important;
  background: transparent !important;
}

html body.about-page .about-company-hero {
  background: transparent !important;
}

html body.about-page .about-company-copy {
  position: fixed !important;
  z-index: 6 !important;
  top: clamp(86px, 10vh, 102px) !important;
  left: clamp(22px, 4.5vw, 74px) !important;
  width: min(600px, 43vw) !important;
  max-height: 47svh !important;
  overflow: hidden !important;
  padding: 0 !important;
  color: #fff0d2 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  opacity: 0 !important;
  transform: translateY(58px) !important;
}

html body.about-page.is-about-copy-visible .about-company-copy {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity 850ms ease, transform 850ms ease !important;
}

html body.about-page .about-company-copy h1 {
  margin: 0 0 12px !important;
  color: #fff0d2 !important;
  font-size: clamp(28px, 3vw, 46px) !important;
  line-height: 1.08 !important;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.78) !important;
}

html body.about-page .about-company-text p {
  margin: 0 0 9px !important;
  color: rgba(255, 242, 220, 0.94) !important;
  font-size: clamp(13px, 1.03vw, 17px) !important;
  line-height: 1.45 !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.78) !important;
}

html body.about-page .about-video-stage {
  position: fixed !important;
  z-index: 6 !important;
  left: clamp(22px, 4.5vw, 74px) !important;
  top: auto !important;
  bottom: clamp(64px, 8.5vh, 92px) !important;
  width: min(500px, 39vw) !important;
  opacity: 0 !important;
  transform: translateY(58px) !important;
}

html body.about-page.is-about-copy-visible .about-video-stage {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity 850ms ease 260ms, transform 850ms ease 260ms !important;
}

html body.about-page .about-video-frame {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  min-height: 0 !important;
  border: 1px solid rgba(232, 190, 119, 0.42) !important;
  border-radius: 16px !important;
  background: rgba(25, 12, 5, 0.44) !important;
}

html body.contact-page {
  overflow: hidden !important;
  background:
    linear-gradient(90deg, rgba(10, 5, 3, 0.56), rgba(10, 5, 3, 0.24) 52%, rgba(10, 5, 3, 0.62)),
    url("./assets/nizo-contact-premium-bg-20260624-v2.png") center / cover no-repeat fixed !important;
}

html body.contact-page .contact-one-screen-grid {
  position: relative !important;
  z-index: 4 !important;
  width: min(1120px, calc(100vw - 68px)) !important;
  margin: clamp(116px, 16vh, 150px) auto 0 !important;
  grid-template-columns: minmax(310px, 0.88fr) minmax(360px, 1.12fr) !important;
  gap: clamp(26px, 4vw, 64px) !important;
  align-items: start !important;
  opacity: 0 !important;
  transform: translateY(72px) !important;
  animation: nizoRise 900ms ease 3s forwards !important;
}

html body.contact-page .contact-card,
html body.contact-page .contact-map-card {
  padding: 0 !important;
  color: #fff0d2 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body.contact-page .contact-details-list {
  display: grid !important;
  gap: 12px !important;
}

html body.contact-page .contact-map-live {
  height: min(46vh, 430px) !important;
  min-height: 320px !important;
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: var(--nizo-final-shadow) !important;
}

html body.legal-document-page {
  overflow: hidden !important;
  background:
    linear-gradient(90deg, rgba(7, 4, 2, 0.74), rgba(7, 4, 2, 0.24) 45%, rgba(7, 4, 2, 0.78)),
    url("./assets/nizo-documents-premium-bg-20260625.jpg") center / cover no-repeat fixed !important;
}

html body.legal-document-page .legal-pdf-main {
  padding: clamp(98px, 12vh, 128px) clamp(18px, 4vw, 56px) 32px !important;
  background: transparent !important;
}

html body.legal-document-page .legal-pdf-layout {
  width: min(1220px, calc(100vw - 70px)) !important;
  height: min(76svh, 730px) !important;
  grid-template-columns: minmax(250px, 320px) minmax(0, 1fr) !important;
  gap: 22px !important;
  opacity: 0 !important;
  transform: translateY(76px) !important;
  animation: nizoRise 900ms ease 3s forwards !important;
}

html body.legal-document-page .legal-library,
html body.legal-document-page .legal-reader-viewer,
html body.legal-document-page .legal-pdf-viewer {
  color: #fff0d2 !important;
  background: rgba(20, 10, 4, 0.48) !important;
  border: 1px solid rgba(232, 190, 119, 0.22) !important;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34) !important;
}

html body.legal-document-page .legal-reader-scroll {
  max-height: none !important;
  height: calc(100% - 70px) !important;
}

html body.legal-document-page .legal-document-pdf-link {
  display: none !important;
}

html body.cabinet-page {
  overflow: hidden !important;
  background:
    linear-gradient(90deg, rgba(12, 6, 2, 0.22), rgba(12, 6, 2, 0.06)),
    url("./assets/nizo-cabinet-court-bg-20260625.png") center / cover no-repeat fixed !important;
}

html body.cabinet-page .cabinet-chat-app,
html body.cabinet-page .cabinet-chat-workspace {
  min-height: 100svh !important;
  background: transparent !important;
}

html body.cabinet-page .cabinet-chat-sidebar {
  width: clamp(250px, 21vw, 318px) !important;
  max-width: 88vw !important;
  background: rgba(255, 242, 222, 0.84) !important;
  border-right: 1px solid rgba(77, 43, 18, 0.14) !important;
  box-shadow: 16px 0 58px rgba(19, 8, 3, 0.22) !important;
  backdrop-filter: blur(16px) !important;
}

html body.cabinet-page .cabinet-sidebar-head {
  min-height: 86px !important;
  padding: 20px 18px 12px !important;
}

html body.cabinet-page .cabinet-sidebar-nav {
  gap: 8px !important;
  padding: 8px 14px !important;
}

html body.cabinet-page .cabinet-sidebar-nav button {
  display: grid !important;
  grid-template-columns: 28px minmax(0, 1fr) auto !important;
  align-items: center !important;
  min-height: 46px !important;
  padding: 8px 10px !important;
  color: #2a160a !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  border-radius: 14px !important;
}

html body.cabinet-page .cabinet-sidebar-nav button svg {
  width: 23px !important;
  height: 23px !important;
}

html body.cabinet-page .cabinet-case-nav-list {
  padding: 4px 18px 10px 58px !important;
}

html body.cabinet-page .cabinet-case-nav-create,
html body.cabinet-page .cabinet-case-nav-item,
html body.cabinet-page .cabinet-dialog-list-button {
  min-height: 34px !important;
  padding: 7px 38px 7px 0 !important;
  font-size: 16px !important;
  line-height: 1.18 !important;
}

html body.cabinet-page .cabinet-dialog-list-button small,
html body.cabinet-page .cabinet-case-nav-item small {
  display: none !important;
}

html body.cabinet-page .cabinet-case-nav-action,
html body.cabinet-page .cabinet-dialog-actions-button {
  right: 0 !important;
}

html body.cabinet-page .cabinet-top-actions {
  top: 22px !important;
  right: 28px !important;
  z-index: 35 !important;
}

html body.cabinet-page .cabinet-top-actions .language-trigger {
  color: #fff0d2 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body.cabinet-page .cabinet-chat-center {
  min-height: 100svh !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 20px !important;
  padding: 88px 42px 96px calc(clamp(250px, 21vw, 318px) + 44px) !important;
}

html body.cabinet-page .cabinet-empty-state,
html body.cabinet-page .cabinet-chat-composer,
html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-empty-state,
html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-chat-composer {
  width: min(780px, calc(100vw - 420px)) !important;
  margin: 0 !important;
}

html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-chat-center {
  padding-left: 118px !important;
}

html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-empty-state,
html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-chat-composer {
  width: min(780px, calc(100vw - 180px)) !important;
}

html body.cabinet-page .cabinet-empty-state h1 {
  margin: 0 !important;
  color: #fff0d2 !important;
  font-size: clamp(30px, 4vw, 54px) !important;
  line-height: 1.08 !important;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.72) !important;
}

html body.cabinet-page .cabinet-chat-composer {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto auto !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 68px !important;
  padding: 10px 12px 10px 18px !important;
  background: rgba(255, 250, 242, 0.84) !important;
  border: 1px solid rgba(232, 190, 119, 0.38) !important;
  border-radius: 24px !important;
}

html body.cabinet-page .cabinet-chat-composer textarea {
  min-height: 40px !important;
  padding-top: 9px !important;
  font-size: clamp(15px, 1.2vw, 18px) !important;
}

html body.cabinet-page .cabinet-composer-icon {
  width: 38px !important;
  height: 38px !important;
  color: #4b260d !important;
  background: transparent !important;
  border: 0 !important;
}

html body.cabinet-page .cabinet-send-button {
  width: 50px !important;
  min-width: 50px !important;
  height: 50px !important;
  color: #fff2dd !important;
  background: linear-gradient(135deg, #5b2b0e, #2f1304) !important;
  border: 1px solid rgba(255, 221, 160, 0.3) !important;
  border-radius: 16px !important;
}

html body.cabinet-page .cabinet-model-pill {
  display: none !important;
}

html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-chat-sidebar {
  width: 74px !important;
}

html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-court-brand__text,
html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-sidebar-nav span,
html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-profile-meta,
html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-profile-chevron,
html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-nav-chevron,
html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-case-nav-list,
html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-sidebar-dialogs {
  display: none !important;
}

html body.auth-page-shell {
  background:
    linear-gradient(90deg, rgba(11, 6, 3, 0.5), rgba(11, 6, 3, 0.12), rgba(11, 6, 3, 0.58)),
    url("./assets/auth-legal-court-bg-20260623.png") center / cover no-repeat fixed !important;
}

html body.auth-page-shell .auth-page {
  min-height: 100svh !important;
  padding-top: clamp(70px, 10vh, 102px) !important;
}

html body.auth-page-shell .auth-page-panel {
  margin-top: 0 !important;
  background: rgba(255, 248, 236, 0.88) !important;
  border: 1px solid rgba(93, 54, 23, 0.22) !important;
  box-shadow: 0 28px 78px rgba(18, 8, 3, 0.32) !important;
}

html body.auth-page-shell .auth-page-panel .primary-button,
html body.auth-page-shell .auth-page-panel button[type="submit"] {
  background: linear-gradient(135deg, #5b2b0e, #2f1304) !important;
  border-color: rgba(255, 221, 160, 0.32) !important;
}

@media (max-width: 1100px) {
  html body.home-page > .site-header,
  html body.about-page > .site-header,
  html body.contact-page > .site-header,
  html body.legal-document-page > .site-header,
  html body.legal-document-page > .site-header.nizo-legal-premium-header {
    grid-template-columns: auto 1fr auto !important;
    gap: 16px !important;
    padding: 14px 18px !important;
  }

  html body.home-page .nav-links,
  html body.about-page .nav-links,
  html body.contact-page .nav-links,
  html body.legal-document-page .nav-links {
    gap: clamp(18px, 3vw, 36px) !important;
  }

  html body.contact-page .contact-one-screen-grid,
  html body.legal-document-page .legal-pdf-layout {
    width: min(900px, calc(100vw - 42px)) !important;
  }

  html body.cabinet-page .cabinet-chat-center {
    padding-left: calc(clamp(236px, 28vw, 292px) + 28px) !important;
    padding-right: 24px !important;
  }

  html body.cabinet-page .cabinet-empty-state,
  html body.cabinet-page .cabinet-chat-composer {
    width: min(700px, calc(100vw - 360px)) !important;
  }
}

@media (max-width: 900px) {
  html body.home-page {
    background-position: center !important;
  }

  html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-intake-hero .legal-intake-shell {
    top: 44svh !important;
    width: min(680px, calc(100vw - 34px)) !important;
  }

  html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-platform-kicker {
    font-size: clamp(28px, 6vw, 46px) !important;
  }

  html body.about-page {
    overflow: auto !important;
  }

  html body.about-page .about-main,
  html body.about-page .about-company-hero {
    min-height: 100svh !important;
    height: auto !important;
  }

  html body.about-page .about-company-copy,
  html body.about-page .about-video-stage {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    bottom: auto !important;
    width: min(620px, calc(100vw - 36px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  html body.about-page .about-company-copy {
    margin-top: 104px !important;
    max-height: none !important;
    overflow: visible !important;
  }

  html body.about-page .about-video-stage {
    margin-top: 24px !important;
    margin-bottom: 90px !important;
  }

  html body.contact-page {
    overflow: auto !important;
  }

  html body.contact-page .contact-one-screen-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    margin-top: 106px !important;
    margin-bottom: 92px !important;
  }

  html body.contact-page .contact-map-live {
    height: 330px !important;
  }

  html body.legal-document-page {
    overflow: auto !important;
  }

  html body.legal-document-page .legal-pdf-layout {
    height: auto !important;
    grid-template-columns: 1fr !important;
    margin-bottom: 88px !important;
  }

  html body.legal-document-page .legal-library {
    max-height: 220px !important;
  }

  html body.legal-document-page .legal-reader-scroll {
    height: min(58svh, 560px) !important;
  }

  html body.cabinet-page .cabinet-chat-sidebar {
    width: min(292px, 84vw) !important;
  }

  html body.cabinet-page .cabinet-chat-center,
  html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-chat-center {
    padding: 96px 18px 92px 92px !important;
  }

  html body.cabinet-page .cabinet-empty-state,
  html body.cabinet-page .cabinet-chat-composer,
  html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-empty-state,
  html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-chat-composer {
    width: min(640px, calc(100vw - 118px)) !important;
  }
}

@media (max-width: 680px) {
  html body.home-page > .site-header,
  html body.about-page > .site-header,
  html body.contact-page > .site-header,
  html body.legal-document-page > .site-header,
  html body.legal-document-page > .site-header.nizo-legal-premium-header {
    grid-template-columns: 1fr auto !important;
    row-gap: 8px !important;
    min-height: 88px !important;
    padding: 12px 14px !important;
  }

  html body.home-page .nav-links,
  html body.about-page .nav-links,
  html body.contact-page .nav-links,
  html body.legal-document-page .nav-links {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    justify-self: center !important;
    gap: 22px !important;
  }

  html body.home-page .header-actions,
  html body.about-page .header-actions,
  html body.contact-page .header-actions,
  html body.legal-document-page .header-actions {
    grid-column: 2 !important;
    grid-row: 1 !important;
    gap: 12px !important;
  }

  html body.home-page .home-premium-brand__text,
  html body.about-page .home-premium-brand__text,
  html body.contact-page .home-premium-brand__text,
  html body.legal-document-page .home-premium-brand__text {
    font-size: 25px !important;
  }

  html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-intake-hero .legal-intake-shell {
    top: 47svh !important;
    width: calc(100vw - 24px) !important;
  }

  html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .legal-composer {
    grid-template-columns: auto minmax(0, 1fr) auto auto !important;
    min-height: 62px !important;
  }

  html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .composer-submit-button {
    min-width: 48px !important;
    width: 48px !important;
    padding: 0 !important;
    color: transparent !important;
  }

  html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .composer-submit-button svg {
    color: #fff2dd !important;
  }

  html body.home-page footer#help.site-footer,
  html body.about-page footer#help.site-footer,
  html body.contact-page footer#help.site-footer,
  html body.legal-document-page footer#help.site-footer {
    left: 10px !important;
    right: 10px !important;
    bottom: 44px !important;
    width: auto !important;
    text-align: center !important;
  }

  html body.home-page .floating-social-dock,
  html body.about-page .floating-social-dock,
  html body.contact-page .floating-social-dock,
  html body.legal-document-page .floating-social-dock,
  html body.cabinet-page .floating-social-dock {
    bottom: 10px !important;
    gap: 12px !important;
  }

  html body.home-page .floating-social-link span,
  html body.about-page .floating-social-link span,
  html body.contact-page .floating-social-link span,
  html body.legal-document-page .floating-social-link span,
  html body.cabinet-page .floating-social-link span {
    display: none !important;
  }

  html body.home-page.is-intake-result-mode .situation-map-card,
  html body.home-page.is-intake-result-mode .situation-map-card.nizo-primary-result-sheet {
    grid-template-columns: 1fr !important;
    max-height: calc(100svh - 126px) !important;
  }

  html body.cabinet-page .cabinet-chat-sidebar {
    transform: translateX(-100%) !important;
  }

  html body.cabinet-page .cabinet-chat-sidebar.is-expanded:not(.is-collapsed) {
    transform: translateX(0) !important;
  }

  html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-chat-sidebar {
    width: 66px !important;
    transform: translateX(0) !important;
  }

  html body.cabinet-page .cabinet-chat-center,
  html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-chat-center {
    padding-left: 84px !important;
    padding-right: 12px !important;
  }

  html body.cabinet-page .cabinet-empty-state,
  html body.cabinet-page .cabinet-chat-composer,
  html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-empty-state,
  html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-chat-composer {
    width: calc(100vw - 102px) !important;
  }

  html body.cabinet-page .cabinet-empty-state h1 {
    font-size: clamp(24px, 7vw, 34px) !important;
  }

  html body.cabinet-page .cabinet-chat-composer {
    grid-template-columns: auto minmax(0, 1fr) auto auto !important;
    min-height: 62px !important;
  }
}

/* Checkpoint 2026-06-25: audit fixes after browser pass */
html body.cabinet-page .cabinet-chat-app {
  background:
    linear-gradient(90deg, rgba(24, 14, 7, 0.18), rgba(24, 14, 7, 0.04)),
    linear-gradient(180deg, rgba(255, 246, 232, 0.08), rgba(36, 18, 6, 0.12)),
    url("./assets/nizo-cabinet-court-bg-20260625.png") center / cover no-repeat fixed !important;
}

html body.cabinet-page .cabinet-chat-workspace {
  background: transparent !important;
}

html body.contact-page .contact-one-screen-grid {
  animation-delay: 2.85s !important;
}

html body.contact-page.is-contact-content-visible .contact-one-screen-grid {
  opacity: 1 !important;
  transform: translateY(0) !important;
  animation: none !important;
  transition: opacity 850ms ease, transform 850ms ease !important;
}

html body.home-page.is-intake-result-mode .situation-map-card,
html body.home-page.is-intake-result-mode .situation-map-card.nizo-primary-result-sheet,
html body.home-page.is-intake-result-mode .situation-panel,
html body.home-page.is-intake-result-mode .situation-card,
html body.home-page.is-intake-result-mode .situation-card--wide {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body.home-page.is-intake-result-mode .situation-panel,
html body.home-page.is-intake-result-mode .situation-card,
html body.home-page.is-intake-result-mode .situation-card--wide {
  padding: 0 !important;
}

html body.home-page.is-intake-result-mode .situation-card h2,
html body.home-page.is-intake-result-mode .situation-card h3,
html body.home-page.is-intake-result-mode .situation-card p,
html body.home-page.is-intake-result-mode .situation-card li,
html body.home-page.is-intake-result-mode .situation-panel h2,
html body.home-page.is-intake-result-mode .situation-panel h3,
html body.home-page.is-intake-result-mode .situation-panel p,
html body.home-page.is-intake-result-mode .situation-panel li {
  color: #f8ead2 !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45) !important;
}

html body.home-page .case-materials-popover {
  border-color: rgba(218, 181, 111, 0.42) !important;
  background: linear-gradient(145deg, rgba(255, 247, 232, 0.94), rgba(234, 209, 171, 0.9)) !important;
  color: #4b2a12 !important;
}

html body.home-page .composer-file-picker {
  border-color: rgba(114, 66, 24, 0.36) !important;
  background: rgba(76, 39, 13, 0.10) !important;
  color: #4f2a0f !important;
}

html body.cabinet-page.cabinet-chat-page > div.cabinet-chat-app[data-cabinet-page] {
  background:
    linear-gradient(90deg, rgba(24, 14, 7, 0.18), rgba(24, 14, 7, 0.04)),
    linear-gradient(180deg, rgba(255, 246, 232, 0.08), rgba(36, 18, 6, 0.12)),
    url("./assets/nizo-cabinet-court-bg-20260625.png") center / cover no-repeat fixed !important;
}

/* Checkpoint 2026-06-25: make the last premium layer win over old reference skins. */
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) {
  background-color: #ead4b8 !important;
  background-image:
    linear-gradient(90deg, rgba(255, 230, 190, 0.08), rgba(255, 232, 196, 0.03)),
    url("./assets/nizo-main-premium-bg-20260624.jpg") !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-main,
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-intake-hero,
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .chat-home-layout,
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .chat-home-stage {
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-intake-hero::before,
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-intake-hero::after,
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .chat-home-stage::before,
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .chat-home-stage::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .site-footer .footer-legal {
  color: rgba(54, 28, 9, 0.9) !important;
  text-shadow: 0 1px 12px rgba(255, 230, 188, 0.85) !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .floating-social-link,
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .floating-social-link span {
  color: #2d1708 !important;
  text-shadow: 0 1px 12px rgba(255, 230, 188, 0.8) !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .floating-social-link.is-telegram {
  color: #1f7da1 !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .floating-social-link.is-instagram {
  color: #7a2b17 !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .floating-social-link.is-youtube {
  color: #8a1f14 !important;
}

html body.cabinet-page .floating-social-dock,
html body.cabinet-page .floating-social-dock.is-cabinet {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body.cabinet-page .floating-social-dock::before,
html body.cabinet-page .floating-social-dock::after,
html body.cabinet-page .floating-social-link::before,
html body.cabinet-page .floating-social-link::after {
  content: none !important;
  display: none !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-chat-workspace,
html body.cabinet-page.cabinet-chat-page main.cabinet-chat-workspace {
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-chat-workspace::before,
html body.cabinet-page.cabinet-chat-page .cabinet-chat-workspace::after {
  content: none !important;
  display: none !important;
  background: none !important;
  box-shadow: none !important;
}

/* Checkpoint 2026-06-25: legal documents header cleanup */
html body.legal-document-page > .site-header.nizo-legal-premium-header,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header,
html body.legal-reader-page > .site-header.nizo-legal-premium-header {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  z-index: 90 !important;
  display: grid !important;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr) !important;
  align-items: center !important;
  justify-content: stretch !important;
  gap: clamp(18px, 3vw, 46px) !important;
  min-height: 78px !important;
  padding: 18px clamp(26px, 4.4vw, 68px) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body.legal-document-page > .site-header.nizo-legal-premium-header .home-premium-brand,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header .home-premium-brand,
html body.legal-reader-page > .site-header.nizo-legal-premium-header .home-premium-brand {
  grid-column: 1 !important;
  justify-self: start !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  color: #fff5df !important;
}

html body.legal-document-page > .site-header.nizo-legal-premium-header .home-premium-brand::before,
html body.legal-document-page > .site-header.nizo-legal-premium-header .home-premium-brand::after,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header .home-premium-brand::before,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header .home-premium-brand::after,
html body.legal-reader-page > .site-header.nizo-legal-premium-header .home-premium-brand::before,
html body.legal-reader-page > .site-header.nizo-legal-premium-header .home-premium-brand::after {
  content: none !important;
  display: none !important;
}

html body.legal-document-page > .site-header.nizo-legal-premium-header .home-premium-brand__icon,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header .home-premium-brand__icon,
html body.legal-reader-page > .site-header.nizo-legal-premium-header .home-premium-brand__icon {
  color: #e6b66b !important;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.68)) !important;
}

html body.legal-document-page > .site-header.nizo-legal-premium-header .home-premium-brand__text,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header .home-premium-brand__text,
html body.legal-reader-page > .site-header.nizo-legal-premium-header .home-premium-brand__text {
  color: #fff7e7 !important;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.78), 0 0 18px rgba(214, 164, 86, 0.24) !important;
}

html body.legal-document-page > .site-header.nizo-legal-premium-header .nav-links,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header .nav-links,
html body.legal-reader-page > .site-header.nizo-legal-premium-header .nav-links {
  grid-column: 2 !important;
  justify-self: center !important;
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(30px, 4vw, 62px) !important;
  min-width: max-content !important;
  max-width: none !important;
  transform: none !important;
}

html body.legal-document-page > .site-header.nizo-legal-premium-header .nav-links a,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header .nav-links a,
html body.legal-reader-page > .site-header.nizo-legal-premium-header .nav-links a {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 7px 0 10px !important;
  color: #fff3dc !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(15px, 1.18vw, 18px) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.76), 0 0 14px rgba(218, 181, 111, 0.22) !important;
}

html body.legal-document-page > .site-header.nizo-legal-premium-header .nav-links a::after,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header .nav-links a::after,
html body.legal-reader-page > .site-header.nizo-legal-premium-header .nav-links a::after {
  content: "" !important;
  position: absolute !important;
  right: 0 !important;
  bottom: 1px !important;
  left: 0 !important;
  height: 2px !important;
  background: currentColor !important;
  border-radius: 999px !important;
  opacity: 0.92 !important;
  transform: scaleX(0) !important;
  transform-origin: center !important;
  transition: transform 160ms ease !important;
}

html body.legal-document-page > .site-header.nizo-legal-premium-header .nav-links a:hover::after,
html body.legal-document-page > .site-header.nizo-legal-premium-header .nav-links a:focus-visible::after,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header .nav-links a:hover::after,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header .nav-links a:focus-visible::after,
html body.legal-reader-page > .site-header.nizo-legal-premium-header .nav-links a:hover::after,
html body.legal-reader-page > .site-header.nizo-legal-premium-header .nav-links a:focus-visible::after {
  transform: scaleX(1) !important;
}

html body.legal-document-page > .site-header.nizo-legal-premium-header .header-actions,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header .header-actions,
html body.legal-reader-page > .site-header.nizo-legal-premium-header .header-actions {
  grid-column: 3 !important;
  justify-self: end !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

html body.legal-document-page > .site-header.nizo-legal-premium-header .language-menu,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header .language-menu,
html body.legal-reader-page > .site-header.nizo-legal-premium-header .language-menu {
  position: relative !important;
}

html body.legal-document-page > .site-header.nizo-legal-premium-header .language-trigger,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header .language-trigger,
html body.legal-reader-page > .site-header.nizo-legal-premium-header .language-trigger {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  width: auto !important;
  height: auto !important;
  padding: 7px 0 9px !important;
  color: #fff3dc !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body.legal-document-page > .site-header.nizo-legal-premium-header .language-trigger::after,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header .language-trigger::after,
html body.legal-reader-page > .site-header.nizo-legal-premium-header .language-trigger::after {
  bottom: 0 !important;
  background: currentColor !important;
}

html body.legal-document-page > .site-header.nizo-legal-premium-header .language-options,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header .language-options,
html body.legal-reader-page > .site-header.nizo-legal-premium-header .language-options {
  right: 0 !important;
  left: auto !important;
  top: calc(100% + 10px) !important;
  background: rgba(28, 14, 5, 0.9) !important;
  border-color: rgba(232, 184, 104, 0.32) !important;
  color: #fff3dc !important;
}

html body.legal-document-page > .site-header.nizo-legal-premium-header .language-options button,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header .language-options button,
html body.legal-reader-page > .site-header.nizo-legal-premium-header .language-options button {
  color: #fff3dc !important;
  background: transparent !important;
  border-color: transparent !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.62) !important;
}

html body.legal-document-page > .site-header.nizo-legal-premium-header .language-options button:hover,
html body.legal-document-page > .site-header.nizo-legal-premium-header .language-options button:focus-visible,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header .language-options button:hover,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header .language-options button:focus-visible,
html body.legal-reader-page > .site-header.nizo-legal-premium-header .language-options button:hover,
html body.legal-reader-page > .site-header.nizo-legal-premium-header .language-options button:focus-visible {
  color: #ffe2a8 !important;
  background: rgba(232, 184, 104, 0.14) !important;
}

html body.legal-document-page .legal-pdf-layout,
html body.legal-pdf-page .legal-pdf-layout,
html body.legal-reader-page .legal-pdf-layout {
  width: min(1160px, calc(100vw - 96px)) !important;
}

html body.legal-document-page .floating-social-dock,
html body.legal-pdf-page .floating-social-dock,
html body.legal-reader-page .floating-social-dock {
  bottom: 4px !important;
}

@media (max-width: 820px) {
  html body.legal-document-page > .site-header.nizo-legal-premium-header,
  html body.legal-pdf-page > .site-header.nizo-legal-premium-header,
  html body.legal-reader-page > .site-header.nizo-legal-premium-header {
    grid-template-columns: 1fr auto !important;
    row-gap: 8px !important;
    min-height: 92px !important;
    padding: 12px 16px !important;
  }

  html body.legal-document-page > .site-header.nizo-legal-premium-header .nav-links,
  html body.legal-pdf-page > .site-header.nizo-legal-premium-header .nav-links,
  html body.legal-reader-page > .site-header.nizo-legal-premium-header .nav-links {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    gap: clamp(18px, 7vw, 34px) !important;
  }

  html body.legal-document-page > .site-header.nizo-legal-premium-header .header-actions,
  html body.legal-pdf-page > .site-header.nizo-legal-premium-header .header-actions,
  html body.legal-reader-page > .site-header.nizo-legal-premium-header .header-actions {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
}

/* Final intake-result scene: keep the free answer on the thinking background. */
html body.home-page.is-intake-result-mode,
html body.home-page.is-nizo-thinking {
  background-color: #120804 !important;
  background-image:
    radial-gradient(circle at 50% 42%, rgba(255, 220, 150, 0.16), rgba(18, 8, 4, 0.14) 35%, rgba(18, 8, 4, 0.64) 78%),
    linear-gradient(180deg, rgba(12, 6, 3, 0.18), rgba(12, 6, 3, 0.46)),
    url("./assets/nizo-analysis-thinking-bg-20260625.jpg") !important;
  background-position: center center, center center, center center !important;
  background-size: cover, cover, cover !important;
  background-repeat: no-repeat, no-repeat, no-repeat !important;
  background-attachment: fixed, fixed, fixed !important;
  overflow: hidden !important;
}

html body.home-page.is-intake-result-mode .site-header {
  position: fixed !important;
  inset: 0 0 auto 0 !important;
  z-index: 80 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-height: 76px !important;
  padding: 18px clamp(20px, 4vw, 58px) 8px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

html body.home-page.is-intake-result-mode .site-header .brand,
html body.home-page.is-intake-result-mode .site-header .home-premium-brand {
  pointer-events: auto !important;
  color: #fff1d3 !important;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.78), 0 0 18px rgba(221, 168, 86, 0.22) !important;
}

html body.home-page.is-intake-result-mode .site-header .nav-links,
html body.home-page.is-intake-result-mode .site-header .header-actions {
  display: none !important;
}

html body.home-page.is-intake-result-mode .home-main,
html body.home-page.is-intake-result-mode .home-intake-hero,
html body.home-page.is-intake-result-mode .home-intake-hero .chat-home-layout,
html body.home-page.is-intake-result-mode .home-intake-hero .chat-home-stage {
  width: 100% !important;
  height: 100svh !important;
  min-height: 100svh !important;
  overflow: hidden !important;
  background: transparent !important;
}

html body.home-page.is-intake-result-mode .home-intake-hero .chat-home-stage {
  display: grid !important;
  align-items: center !important;
  justify-items: center !important;
  padding: 78px clamp(18px, 4vw, 56px) 26px !important;
}

html body.home-page.is-intake-result-mode .home-intake-hero .legal-intake-shell,
html body.home-page.is-intake-result-mode .site-footer,
html body.home-page.is-intake-result-mode .floating-social-dock {
  display: none !important;
}

html body.home-page.is-intake-result-mode .chat-stage-results {
  display: grid !important;
  align-items: center !important;
  justify-items: center !important;
  width: min(1080px, calc(100vw - 72px)) !important;
  height: calc(100svh - 112px) !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: visible !important;
  animation: nizoResultRise 720ms ease both !important;
}

html body.home-page.is-intake-result-mode .home-intake-hero .legal-situation-map {
  width: 100% !important;
  height: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: visible !important;
}

html body.home-page.is-intake-result-mode .situation-map-card,
html body.home-page.is-intake-result-mode .situation-map-card.nizo-primary-result-sheet,
html body.home-page.is-intake-result-mode .primary-result-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  grid-template-areas:
    "head head"
    "category count"
    "insights insights"
    "case action"
    "status status" !important;
  gap: clamp(8px, 1.15vh, 13px) clamp(14px, 2vw, 24px) !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  margin: 0 auto !important;
  padding: clamp(14px, 1.8vw, 26px) !important;
  overflow: hidden !important;
  color: #fff0d2 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body.home-page.is-intake-result-mode .situation-map-head {
  grid-area: head !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin: 0 !important;
}

html body.home-page.is-intake-result-mode .situation-map-head h2 {
  max-width: 760px !important;
  margin: 0 !important;
  color: #fff0d2 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(25px, 2.9vw, 39px) !important;
  line-height: 1.02 !important;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.74) !important;
}

html body.home-page.is-intake-result-mode .situation-map-head .eyebrow {
  margin: 0 0 6px !important;
  color: #f4c27a !important;
  font-size: clamp(10px, 0.82vw, 12px) !important;
  letter-spacing: 0.08em !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.66) !important;
}

html body.home-page.is-intake-result-mode .risk-badge {
  flex: 0 0 auto !important;
  padding: 7px 14px !important;
  color: #3d210e !important;
  background: rgba(255, 232, 188, 0.86) !important;
  border: 1px solid rgba(126, 70, 24, 0.22) !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18) !important;
}

html body.home-page.is-intake-result-mode .primary-category-line {
  grid-area: category !important;
  align-self: stretch !important;
  margin: 0 !important;
}

html body.home-page.is-intake-result-mode .primary-similar-count {
  grid-area: count !important;
  align-self: stretch !important;
  margin: 0 !important;
}

html body.home-page.is-intake-result-mode .situation-map-grid {
  grid-area: insights !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(10px, 1.45vw, 18px) !important;
  margin: 0 !important;
}

html body.home-page.is-intake-result-mode .anonymized-case-card {
  grid-area: case !important;
  margin: 0 !important;
}

html body.home-page.is-intake-result-mode .locked-action-section {
  grid-area: action !important;
  display: grid !important;
  align-content: center !important;
  justify-items: start !important;
  gap: 10px !important;
  margin: 0 !important;
}

html body.home-page.is-intake-result-mode .auth-status[data-map-action-status] {
  grid-area: status !important;
  min-height: 0 !important;
  margin: 0 !important;
}

html body.home-page.is-intake-result-mode .primary-category-line,
html body.home-page.is-intake-result-mode .primary-similar-count,
html body.home-page.is-intake-result-mode .situation-panel,
html body.home-page.is-intake-result-mode .anonymized-case-card,
html body.home-page.is-intake-result-mode .locked-action-section,
html body.home-page.is-intake-result-mode .law-compliance-preview {
  padding: clamp(8px, 1.15vh, 13px) clamp(11px, 1.55vw, 17px) !important;
  color: #fff0d2 !important;
  background: rgba(19, 9, 3, 0.34) !important;
  border: 1px solid rgba(242, 195, 119, 0.18) !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
}

html body.home-page.is-intake-result-mode .primary-similar-count strong {
  display: block !important;
  font-size: clamp(30px, 4.4vw, 54px) !important;
  line-height: 0.92 !important;
}

html body.home-page.is-intake-result-mode .situation-panel h3,
html body.home-page.is-intake-result-mode .anonymized-case-card h3,
html body.home-page.is-intake-result-mode .locked-action-section h2,
html body.home-page.is-intake-result-mode .law-compliance-preview h3 {
  margin: 0 0 6px !important;
  color: #fff3dc !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(15px, 1.32vw, 19px) !important;
  line-height: 1.1 !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.54) !important;
}

html body.home-page.is-intake-result-mode .situation-panel p,
html body.home-page.is-intake-result-mode .situation-panel li,
html body.home-page.is-intake-result-mode .anonymized-case-card p,
html body.home-page.is-intake-result-mode .anonymized-case-card dd,
html body.home-page.is-intake-result-mode .anonymized-case-card dt,
html body.home-page.is-intake-result-mode .locked-action-section p,
html body.home-page.is-intake-result-mode .law-compliance-preview p,
html body.home-page.is-intake-result-mode .law-compliance-preview li,
html body.home-page.is-intake-result-mode .primary-category-line,
html body.home-page.is-intake-result-mode .primary-similar-count p,
html body.home-page.is-intake-result-mode .primary-similar-count span {
  color: #f8ead2 !important;
  font-size: clamp(11px, 0.94vw, 14px) !important;
  line-height: 1.22 !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55) !important;
}

html body.home-page.is-intake-result-mode .situation-panel ul,
html body.home-page.is-intake-result-mode .law-compliance-preview ul {
  display: grid !important;
  gap: 4px !important;
  margin: 0 !important;
  padding-left: 17px !important;
}

html body.home-page.is-intake-result-mode .anonymized-case-details {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 7px !important;
  margin: 8px 0 0 !important;
}

html body.home-page.is-intake-result-mode .deep-analysis-button {
  min-height: 44px !important;
  padding: 12px 20px !important;
  color: #fff7e9 !important;
  background: linear-gradient(135deg, #6b330f, #351506) !important;
  border: 1px solid rgba(255, 221, 160, 0.34) !important;
  border-radius: 15px !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28) !important;
}

html body.home-page .nizo-thinking-overlay {
  background-color: #120804 !important;
  background-image:
    radial-gradient(circle at 50% 42%, rgba(255, 220, 150, 0.12), rgba(18, 8, 4, 0.14) 36%, rgba(18, 8, 4, 0.58) 78%),
    linear-gradient(180deg, rgba(12, 6, 3, 0.14), rgba(12, 6, 3, 0.42)),
    url("./assets/nizo-analysis-thinking-bg-20260625.jpg") !important;
  background-position: center center, center center, center center !important;
  background-size: cover, cover, cover !important;
  background-repeat: no-repeat, no-repeat, no-repeat !important;
}

@media (max-width: 900px) {
  html body.home-page.is-intake-result-mode {
    overflow: auto !important;
  }

  html body.home-page.is-intake-result-mode .home-main,
  html body.home-page.is-intake-result-mode .home-intake-hero,
  html body.home-page.is-intake-result-mode .home-intake-hero .chat-home-layout,
  html body.home-page.is-intake-result-mode .home-intake-hero .chat-home-stage {
    height: auto !important;
    min-height: 100svh !important;
    overflow: visible !important;
  }

  html body.home-page.is-intake-result-mode .home-intake-hero .chat-home-stage {
    padding: 88px 16px 28px !important;
  }

  html body.home-page.is-intake-result-mode .chat-stage-results {
    width: min(100%, 620px) !important;
    height: auto !important;
    min-height: 0 !important;
  }

  html body.home-page.is-intake-result-mode .situation-map-card,
  html body.home-page.is-intake-result-mode .situation-map-card.nizo-primary-result-sheet,
  html body.home-page.is-intake-result-mode .situation-map-grid,
  html body.home-page.is-intake-result-mode .anonymized-case-details {
    grid-template-columns: 1fr !important;
    grid-template-areas: none !important;
    height: auto !important;
    overflow: visible !important;
  }

  html body.home-page.is-intake-result-mode .situation-map-head,
  html body.home-page.is-intake-result-mode .primary-category-line,
  html body.home-page.is-intake-result-mode .primary-similar-count,
  html body.home-page.is-intake-result-mode .situation-map-grid,
  html body.home-page.is-intake-result-mode .anonymized-case-card,
  html body.home-page.is-intake-result-mode .locked-action-section,
  html body.home-page.is-intake-result-mode .auth-status[data-map-action-status] {
    grid-area: auto !important;
  }
}

/* Final result-scene framing: keep the people/AI background full-screen,
   but do not crop the NIZO.UZ sign above the table. */
html body.home-page.is-intake-result-mode,
html body.home-page.is-nizo-thinking {
  background-position: center 42%, center center, center 18% !important;
  background-size: cover, cover, cover !important;
}

html body.home-page.is-intake-result-mode .nizo-thinking-overlay,
html body.home-page.is-nizo-thinking .nizo-thinking-overlay,
html body.home-page.is-nizo-thinking.is-intake-result-mode .nizo-thinking-overlay,
html body.home-page .nizo-thinking-overlay {
  background-image:
    linear-gradient(180deg, rgba(13, 7, 4, 0.40), rgba(13, 7, 4, 0.68)),
    url("./assets/nizo-analysis-thinking-bg-20260625.jpg") !important;
  background-position: center center, center 18% !important;
  background-size: cover, cover !important;
  background-repeat: no-repeat, no-repeat !important;
}

/* Contacts final polish: keep requisites readable and separate footer from social links. */
html body.contact-page .contact-details-card {
  box-sizing: border-box !important;
  padding: clamp(18px, 2vw, 26px) clamp(20px, 2.6vw, 34px) !important;
  max-height: min(660px, calc(100svh - 190px)) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  border: 1px solid rgba(237, 188, 108, 0.22) !important;
  border-radius: 22px !important;
  background: linear-gradient(135deg, rgba(38, 16, 6, 0.78), rgba(86, 42, 14, 0.58)) !important;
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.32) !important;
  backdrop-filter: blur(10px) !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(238, 190, 116, 0.38) transparent !important;
}

html body.contact-page .contact-details-list {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: clamp(9px, 1.15vh, 12px) !important;
}

html body.contact-page .contact-details-list > div {
  min-width: 0 !important;
  padding: 0 0 clamp(8px, 1vh, 11px) !important;
  border-bottom: 1px solid rgba(255, 224, 168, 0.12) !important;
}

html body.contact-page .contact-details-list > div:last-child {
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

html body.contact-page .contact-details-list dt {
  display: block !important;
  margin: 0 0 6px !important;
  font-size: clamp(11px, 0.92vw, 14px) !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

html body.contact-page .contact-details-list dd,
html body.contact-page .contact-details-list a {
  max-width: 100% !important;
  margin: 0 !important;
  font-size: clamp(15px, 1.25vw, 20px) !important;
  line-height: 1.32 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  hyphens: auto !important;
}

html body.contact-page footer#help.site-footer {
  left: clamp(28px, 3.4vw, 66px) !important;
  bottom: clamp(18px, 2.4vh, 28px) !important;
  width: min(300px, 26vw) !important;
  max-width: 300px !important;
  z-index: 19 !important;
}

html body.contact-page footer#help.site-footer .footer-legal {
  display: block !important;
  max-width: 100% !important;
  color: rgba(255, 238, 211, 0.92) !important;
  font-size: clamp(10px, 0.82vw, 12px) !important;
  line-height: 1.45 !important;
  text-align: left !important;
}

html body.contact-page .floating-social-dock {
  bottom: clamp(18px, 2.3vh, 28px) !important;
}

@media (max-width: 900px) {
  html body.contact-page {
    overflow: auto !important;
  }

  html body.contact-page .contact-one-screen-grid {
    width: min(100% - 28px, 620px) !important;
    margin: 96px auto 96px !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  html body.contact-page .contact-details-card {
    padding: 18px !important;
  }

  html body.contact-page footer#help.site-footer {
    left: 14px !important;
    right: 14px !important;
    bottom: 46px !important;
    width: auto !important;
    max-width: none !important;
  }

  html body.contact-page footer#help.site-footer .footer-legal {
    text-align: center !important;
  }
}

/* UX stabilization 2026-06-26: auth centering, cabinet sidebar, cases flow. */
html body.auth-page-shell {
  overflow: auto !important;
  background-position: center center !important;
}

html body.auth-page-shell .auth-page {
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-rows: auto auto !important;
  place-content: center !important;
  justify-items: center !important;
  gap: clamp(18px, 3.2vh, 30px) !important;
  min-height: 100svh !important;
  padding: clamp(24px, 4vw, 48px) !important;
}

html body.auth-page-shell .auth-page-brand {
  position: static !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  justify-self: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  text-align: center !important;
}

html body.auth-page-shell .auth-page-panel {
  box-sizing: border-box !important;
  width: min(100%, 560px) !important;
  margin: 0 auto !important;
  padding: clamp(24px, 3.4vw, 40px) !important;
}

html body.auth-page-shell .auth-page-toolbar {
  align-items: center !important;
}

html body.auth-page-shell .auth-exit-link {
  white-space: nowrap !important;
}

html body.cabinet-page {
  --nizo-cabinet-sidebar-open: clamp(238px, 19vw, 286px);
  --nizo-cabinet-sidebar-closed: 74px;
  overflow: hidden !important;
  background:
    linear-gradient(90deg, rgba(24, 14, 7, 0.18), rgba(24, 14, 7, 0.04)),
    linear-gradient(180deg, rgba(255, 246, 232, 0.08), rgba(36, 18, 6, 0.12)),
    url("./assets/nizo-cabinet-court-bg-20260625.png") center center / cover no-repeat fixed !important;
}

html body.cabinet-page .cabinet-chat-app {
  display: grid !important;
  grid-template-columns: var(--nizo-cabinet-sidebar-open) minmax(0, 1fr) !important;
  width: 100vw !important;
  min-height: 100svh !important;
  background: transparent !important;
  transition: grid-template-columns 220ms ease !important;
}

html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-chat-app {
  grid-template-columns: var(--nizo-cabinet-sidebar-closed) minmax(0, 1fr) !important;
}

html body.cabinet-page .cabinet-chat-sidebar,
html body.cabinet-page .cabinet-chat-sidebar.is-expanded,
html body.cabinet-page .cabinet-chat-sidebar.is-collapsed {
  box-sizing: border-box !important;
  position: relative !important;
  inset: auto !important;
  width: var(--nizo-cabinet-sidebar-open) !important;
  max-width: none !important;
  height: 100svh !important;
  padding: 20px 14px 18px !important;
  transform: none !important;
  overflow: hidden !important;
  background: linear-gradient(180deg, rgba(255, 247, 236, 0.91), rgba(245, 231, 211, 0.82)) !important;
  border-right: 1px solid rgba(77, 43, 18, 0.14) !important;
  box-shadow: 14px 0 46px rgba(19, 8, 3, 0.18) !important;
}

html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-chat-sidebar,
html body.cabinet-page .cabinet-chat-sidebar.is-collapsed {
  width: var(--nizo-cabinet-sidebar-closed) !important;
  padding-inline: 10px !important;
}

html body.cabinet-page .cabinet-sidebar-head {
  grid-template-columns: minmax(0, 1fr) 38px !important;
  min-height: 66px !important;
  margin: 0 0 26px !important;
  padding: 0 !important;
}

html body.cabinet-page .cabinet-sidebar-brand.cabinet-court-brand {
  min-width: 0 !important;
}

html body.cabinet-page .cabinet-court-brand__mark {
  width: 30px !important;
  min-width: 30px !important;
  height: 30px !important;
}

html body.cabinet-page .cabinet-court-brand__text {
  font-size: clamp(25px, 1.9vw, 32px) !important;
  white-space: nowrap !important;
}

html body.cabinet-page .cabinet-sidebar-toggle {
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
}

html body.cabinet-page .cabinet-sidebar-nav {
  gap: 8px !important;
  padding: 0 !important;
}

html body.cabinet-page .cabinet-sidebar-nav button {
  grid-template-columns: 26px minmax(0, 1fr) 18px !important;
  column-gap: 12px !important;
  min-height: 42px !important;
  padding: 8px 9px !important;
  font-size: 15px !important;
}

html body.cabinet-page .cabinet-sidebar-nav span {
  min-width: 0 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  text-overflow: clip !important;
}

html body.cabinet-page .cabinet-case-nav-list {
  margin: 2px 0 10px 0 !important;
  padding: 7px 0 6px 38px !important;
  border-left: 1px solid rgba(109, 70, 31, 0.16) !important;
}

html body.cabinet-page .cabinet-case-nav-create,
html body.cabinet-page .cabinet-case-nav-item {
  min-height: 36px !important;
  padding: 8px 10px !important;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.32) !important;
  color: #35200d !important;
  font-size: 14px !important;
  font-weight: 650 !important;
}

html body.cabinet-page .cabinet-case-nav-create {
  border-color: rgba(116, 73, 28, 0.2) !important;
  background: linear-gradient(135deg, rgba(255, 250, 241, 0.78), rgba(232, 207, 171, 0.44)) !important;
}

html body.cabinet-page .cabinet-case-nav-row.is-active .cabinet-case-nav-item,
html body.cabinet-page .cabinet-case-nav-item:hover,
html body.cabinet-page .cabinet-case-nav-create:hover {
  border-color: rgba(122, 73, 24, 0.26) !important;
  background: rgba(255, 248, 235, 0.76) !important;
}

html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-court-brand__text,
html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-sidebar-nav span,
html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-profile-meta,
html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-profile-chevron,
html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-nav-chevron,
html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-case-nav-list,
html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-sidebar-dialogs {
  display: none !important;
}

html body.cabinet-page .cabinet-chat-workspace,
html body.cabinet-page.cabinet-chat-page main.cabinet-chat-workspace {
  min-width: 0 !important;
  background: transparent !important;
}

html body.cabinet-page .cabinet-chat-center,
html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-chat-center {
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 100svh !important;
  padding: 86px clamp(24px, 4vw, 58px) 92px !important;
  align-items: center !important;
  justify-content: center !important;
}

html body.cabinet-page .cabinet-empty-state,
html body.cabinet-page .cabinet-chat-composer,
html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-empty-state,
html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-chat-composer {
  width: min(780px, 100%) !important;
  margin-inline: auto !important;
}

html body.cabinet-page .cabinet-chat-composer[hidden],
html body.cabinet-page .cabinet-dialog-thread[hidden],
html body.cabinet-page .cabinet-cases-panel[hidden],
html body.cabinet-page .cabinet-profile-panel[hidden] {
  display: none !important;
}

html body.cabinet-page .cabinet-cases-panel {
  width: min(980px, 100%) !important;
}

html body.cabinet-page .cabinet-cases-shell {
  padding: clamp(26px, 4vw, 48px) !important;
}

html body.cabinet-page .cabinet-cases-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 18px !important;
  margin-bottom: 22px !important;
}

html body.cabinet-page .cabinet-cases-head .eyebrow {
  display: none !important;
}

html body.cabinet-page .cabinet-cases-head h1 {
  margin: 0 !important;
  font-size: clamp(34px, 4.8vw, 58px) !important;
}

html body.cabinet-page .cabinet-cases-paywall-card,
html body.cabinet-page .cabinet-case-card {
  border: 1px solid rgba(117, 73, 31, 0.18) !important;
  border-radius: 22px !important;
  background: linear-gradient(145deg, rgba(255, 251, 243, 0.86), rgba(235, 214, 184, 0.64)) !important;
  box-shadow: 0 22px 58px rgba(83, 48, 15, 0.12) !important;
}

@media (max-width: 900px) {
  html body.auth-page-shell .auth-page {
    padding: 22px 16px !important;
  }

  html body.auth-page-shell .auth-page-panel {
    width: min(100%, 520px) !important;
  }

  html body.cabinet-page {
    --nizo-cabinet-sidebar-open: 258px;
    --nizo-cabinet-sidebar-closed: 66px;
  }

  html body.cabinet-page .cabinet-chat-center,
  html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-chat-center {
    padding: 80px 18px 88px !important;
  }
}

@media (max-width: 640px) {
  html body.cabinet-page .cabinet-chat-app,
  html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-chat-app {
    display: block !important;
  }

  html body.cabinet-page .cabinet-chat-sidebar,
  html body.cabinet-page .cabinet-chat-sidebar.is-expanded,
  html body.cabinet-page .cabinet-chat-sidebar.is-collapsed,
  html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-chat-sidebar {
    position: fixed !important;
    right: 12px !important;
    bottom: 12px !important;
    left: 12px !important;
    z-index: 40 !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 10px !important;
    border: 1px solid rgba(82, 52, 23, 0.16) !important;
    border-radius: 22px !important;
  }

  html body.cabinet-page .cabinet-sidebar-head,
  html body.cabinet-page .cabinet-sidebar-spacer,
  html body.cabinet-page .cabinet-sidebar-bottom {
    display: none !important;
  }

  html body.cabinet-page .cabinet-sidebar-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
  }

  html body.cabinet-page .cabinet-sidebar-nav button {
    display: grid !important;
    flex: 1 1 0 !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    min-width: 0 !important;
    min-height: 48px !important;
    padding: 8px 4px !important;
  }

  html body.cabinet-page .cabinet-sidebar-nav span,
  html body.cabinet-page .cabinet-nav-chevron,
  html body.cabinet-page .cabinet-case-nav-list {
    display: none !important;
  }

  html body.cabinet-page .cabinet-chat-center,
  html body.cabinet-page.is-cabinet-sidebar-collapsed .cabinet-chat-center {
    padding: 76px 14px 104px !important;
  }

  html body.cabinet-page .cabinet-empty-state h1 {
    font-size: clamp(28px, 8vw, 38px) !important;
    text-align: center !important;
  }

  html body.cabinet-page .cabinet-chat-composer {
    width: min(100%, 360px) !important;
  }
}

/* Hard specificity lock: beat older responsive skins that include body.cabinet-chat-page. */
html body.cabinet-page.cabinet-chat-page > div.cabinet-chat-app[data-cabinet-page] {
  display: grid !important;
  grid-template-columns: var(--nizo-cabinet-sidebar-open) minmax(0, 1fr) !important;
  width: 100vw !important;
  min-height: 100svh !important;
  background:
    linear-gradient(90deg, rgba(24, 14, 7, 0.18), rgba(24, 14, 7, 0.04)),
    linear-gradient(180deg, rgba(255, 246, 232, 0.08), rgba(36, 18, 6, 0.12)),
    url("./assets/nizo-cabinet-court-bg-20260625.png") center center / cover no-repeat fixed !important;
}

html body.cabinet-page.cabinet-chat-page > div.cabinet-chat-app[data-cabinet-page]:has(> aside.cabinet-chat-sidebar.is-expanded[data-cabinet-sidebar]) {
  grid-template-columns: var(--nizo-cabinet-sidebar-open) minmax(0, 1fr) !important;
}

html body.cabinet-page.cabinet-chat-page.is-cabinet-sidebar-collapsed > div.cabinet-chat-app[data-cabinet-page],
html body.cabinet-page.cabinet-chat-page > div.cabinet-chat-app[data-cabinet-page]:has(.cabinet-chat-sidebar.is-collapsed) {
  grid-template-columns: var(--nizo-cabinet-sidebar-closed) minmax(0, 1fr) !important;
}

html body.cabinet-page.cabinet-chat-page > div.cabinet-chat-app[data-cabinet-page] > aside.cabinet-chat-sidebar[data-cabinet-sidebar] {
  width: var(--nizo-cabinet-sidebar-open) !important;
  padding: 20px 14px 18px !important;
}

html body.cabinet-page.cabinet-chat-page > div.cabinet-chat-app[data-cabinet-page] > aside.cabinet-chat-sidebar.is-expanded[data-cabinet-sidebar],
html body.cabinet-page.cabinet-chat-page > div.cabinet-chat-app[data-cabinet-page] > aside.cabinet-chat-sidebar.is-expanded:not(.is-collapsed)[data-cabinet-sidebar] {
  box-sizing: border-box !important;
  inline-size: var(--nizo-cabinet-sidebar-open) !important;
  width: var(--nizo-cabinet-sidebar-open) !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 20px 14px 18px !important;
}

html body.cabinet-page.cabinet-chat-page.is-cabinet-sidebar-collapsed > div.cabinet-chat-app[data-cabinet-page] > aside.cabinet-chat-sidebar[data-cabinet-sidebar],
html body.cabinet-page.cabinet-chat-page > div.cabinet-chat-app[data-cabinet-page] > aside.cabinet-chat-sidebar.is-collapsed[data-cabinet-sidebar] {
  box-sizing: border-box !important;
  inline-size: var(--nizo-cabinet-sidebar-closed) !important;
  width: var(--nizo-cabinet-sidebar-closed) !important;
  min-width: 0 !important;
  max-width: var(--nizo-cabinet-sidebar-closed) !important;
  padding-inline: 10px !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-chat-composer[hidden],
html body.cabinet-page.cabinet-chat-page [data-cabinet-chat-form][hidden],
html body.cabinet-page.cabinet-chat-page .cabinet-chat-workspace .cabinet-chat-center .cabinet-chat-composer[hidden],
html body.cabinet-page.cabinet-chat-page .cabinet-chat-workspace .cabinet-chat-center [data-cabinet-chat-form][hidden] {
  display: none !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-case-nav-row {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 32px !important;
  align-items: center !important;
  gap: 4px !important;
  min-width: 0 !important;
  width: 100% !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-sidebar-nav .cabinet-case-nav-item {
  grid-column: 1 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-sidebar-nav .cabinet-case-nav-action {
  grid-column: 2 !important;
  position: relative !important;
  z-index: 1 !important;
  inline-size: 32px !important;
  width: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  block-size: 32px !important;
  height: 32px !important;
  padding: 0 !important;
}

@media (max-width: 640px) {
  html body.cabinet-page.cabinet-chat-page > div.cabinet-chat-app[data-cabinet-page],
  html body.cabinet-page.cabinet-chat-page.is-cabinet-sidebar-collapsed > div.cabinet-chat-app[data-cabinet-page],
  html body.cabinet-page.cabinet-chat-page > div.cabinet-chat-app[data-cabinet-page]:has(.cabinet-chat-sidebar.is-collapsed) {
    display: block !important;
    grid-template-columns: none !important;
  }
}

/* Cabinet polish 2026-06-26: NIZO parchment skin, compact cases, calmer sidebars. */
html body.cabinet-page {
  --nizo-ink: #20150d;
  --nizo-ink-soft: rgba(44, 32, 21, 0.76);
  --nizo-wood: #5a3219;
  --nizo-brass: #a97835;
  --nizo-teal: #2f7f84;
  --nizo-paper: rgba(246, 238, 222, 0.94);
  --nizo-paper-strong: rgba(250, 244, 233, 0.97);
  --nizo-paper-soft: rgba(237, 222, 197, 0.78);
}

html body.cabinet-page.cabinet-chat-page > div.cabinet-chat-app[data-cabinet-page] {
  background:
    linear-gradient(90deg, rgba(26, 13, 5, 0.12), rgba(26, 13, 5, 0.03) 34%, rgba(26, 13, 5, 0.18)),
    radial-gradient(circle at 66% 18%, rgba(250, 232, 196, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(255, 245, 228, 0.08), rgba(22, 10, 3, 0.22)),
    url("./assets/nizo-cabinet-court-bg-20260625.png") center center / cover no-repeat fixed !important;
}

html body.cabinet-page .cabinet-chat-workspace {
  position: relative !important;
  isolation: isolate !important;
}

html body.cabinet-page .cabinet-chat-workspace::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background:
    radial-gradient(ellipse at 50% 28%, rgba(255, 248, 236, 0.5), rgba(255, 248, 236, 0.08) 42%, transparent 68%),
    linear-gradient(90deg, rgba(255, 248, 236, 0.06), rgba(34, 17, 7, 0.18)) !important;
}

html body.cabinet-page .cabinet-chat-center,
html body.cabinet-page .cabinet-top-actions {
  position: relative !important;
  z-index: 1 !important;
}

html body.cabinet-page .cabinet-chat-sidebar,
html body.cabinet-page .cabinet-chat-sidebar.is-expanded,
html body.cabinet-page .cabinet-chat-sidebar.is-collapsed {
  background:
    linear-gradient(180deg, rgba(246, 237, 219, 0.91), rgba(222, 205, 177, 0.84)),
    radial-gradient(circle at 24% 10%, rgba(255, 248, 235, 0.78), transparent 34%) !important;
  border-right-color: rgba(90, 50, 25, 0.18) !important;
  color: var(--nizo-ink) !important;
  backdrop-filter: blur(18px) saturate(1.08) !important;
}

html body.cabinet-page .cabinet-court-brand__text,
html body.cabinet-page .cabinet-sidebar-nav button,
html body.cabinet-page .cabinet-sidebar-dialogs-title,
html body.cabinet-page .cabinet-profile-meta strong {
  color: var(--nizo-ink) !important;
  text-shadow: none !important;
}

html body.cabinet-page .cabinet-sidebar-nav button {
  border: 1px solid transparent !important;
  background: transparent !important;
  font-weight: 680 !important;
}

html body.cabinet-page .cabinet-sidebar-nav button:hover,
html body.cabinet-page .cabinet-sidebar-nav button:focus-visible,
html body.cabinet-page .cabinet-sidebar-nav button.is-active,
html body.cabinet-page .cabinet-sidebar-nav button.is-expanded {
  border-color: rgba(122, 82, 39, 0.18) !important;
  background: linear-gradient(135deg, rgba(247, 235, 213, 0.76), rgba(209, 185, 151, 0.46)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 249, 238, 0.7), 0 8px 22px rgba(75, 42, 17, 0.08) !important;
}

html body.cabinet-page .cabinet-sidebar-dialogs {
  max-height: min(28svh, 230px) !important;
  overflow: auto !important;
  padding-right: 4px !important;
  scrollbar-width: thin !important;
}

html body.cabinet-page .cabinet-sidebar-dialogs-title {
  margin-bottom: 10px !important;
  color: rgba(55, 39, 25, 0.82) !important;
  font-size: 14px !important;
  letter-spacing: 0.01em !important;
}

html body.cabinet-page .cabinet-dialog-list-button {
  min-height: 42px !important;
  padding: 8px 36px 8px 10px !important;
  border-radius: 12px !important;
  color: rgba(45, 32, 20, 0.88) !important;
}

html body.cabinet-page .cabinet-dialog-list-button span {
  font-size: 13px !important;
  font-weight: 620 !important;
}

html body.cabinet-page .cabinet-dialog-list-button small {
  display: none !important;
}

html body.cabinet-page .cabinet-dialog-actions-button {
  width: 30px !important;
  height: 30px !important;
}

html body.cabinet-page .cabinet-dialog-menu,
html body.cabinet-page .cabinet-case-nav-menu {
  width: 184px !important;
  min-width: 184px !important;
  padding: 7px !important;
  border: 1px solid rgba(97, 60, 28, 0.18) !important;
  border-radius: 16px !important;
  background:
    linear-gradient(145deg, rgba(249, 241, 226, 0.98), rgba(229, 209, 178, 0.96)) !important;
  box-shadow: 0 18px 42px rgba(31, 17, 7, 0.2) !important;
  color: var(--nizo-ink) !important;
}

html body.cabinet-page .cabinet-case-nav-menu {
  top: -4px !important;
  right: auto !important;
  left: calc(100% + 10px) !important;
  z-index: 80 !important;
}

html body.cabinet-page .cabinet-dialog-menu button,
html body.cabinet-page .cabinet-case-nav-menu button {
  min-height: 34px !important;
  padding: 7px 10px !important;
  border-radius: 10px !important;
  color: rgba(39, 26, 15, 0.9) !important;
  font-size: 13px !important;
  font-weight: 650 !important;
}

html body.cabinet-page .cabinet-dialog-menu button:hover,
html body.cabinet-page .cabinet-dialog-menu button:focus-visible,
html body.cabinet-page .cabinet-case-nav-menu button:hover,
html body.cabinet-page .cabinet-case-nav-menu button:focus-visible {
  background: rgba(122, 82, 39, 0.12) !important;
}

html body.cabinet-page .cabinet-dialog-menu button.is-danger,
html body.cabinet-page .cabinet-case-nav-menu button.is-danger {
  color: #9b2f24 !important;
}

html body.cabinet-page.cabinet-chat-page > div.cabinet-chat-app[data-cabinet-page] > aside.cabinet-chat-sidebar[data-cabinet-sidebar],
html body.cabinet-page.cabinet-chat-page > div.cabinet-chat-app[data-cabinet-page] > aside.cabinet-chat-sidebar.is-expanded[data-cabinet-sidebar] {
  overflow: visible !important;
}

html body.cabinet-page .cabinet-sidebar-spacer {
  overflow: hidden !important;
}

html body.cabinet-page.cabinet-chat-page main.cabinet-chat-workspace::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255, 246, 230, 0.46), rgba(255, 246, 230, 0.08) 44%, transparent 70%),
    linear-gradient(90deg, rgba(255, 248, 236, 0.04), rgba(37, 19, 8, 0.2)) !important;
}

html body.cabinet-page .cabinet-top-actions .language-trigger,
html body.cabinet-page .cabinet-top-language .language-trigger {
  width: 56px !important;
  min-width: 56px !important;
  height: 46px !important;
  border: 1px solid rgba(133, 90, 45, 0.22) !important;
  border-radius: 18px !important;
  background:
    linear-gradient(145deg, rgba(239, 224, 199, 0.92), rgba(167, 110, 54, 0.28)) !important;
  color: var(--nizo-ink) !important;
  box-shadow: 0 12px 32px rgba(47, 25, 9, 0.18) !important;
  opacity: 1 !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-top-actions .language-menu.cabinet-top-language > button.language-trigger[data-language-toggle] {
  width: 56px !important;
  min-width: 56px !important;
  height: 46px !important;
  border: 1px solid rgba(133, 90, 45, 0.24) !important;
  border-radius: 18px !important;
  background-color: rgba(235, 216, 185, 0.94) !important;
  background-image: linear-gradient(145deg, rgba(246, 235, 215, 0.96), rgba(169, 112, 55, 0.34)) !important;
  color: var(--nizo-ink) !important;
  box-shadow: 0 12px 32px rgba(47, 25, 9, 0.18), inset 0 1px 0 rgba(255, 249, 238, 0.72) !important;
}

html body.cabinet-page .cabinet-top-actions .language-trigger::after,
html body.cabinet-page .cabinet-top-language .language-trigger::after {
  color: rgba(43, 27, 15, 0.72) !important;
  font-weight: 760 !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-top-actions .language-menu.cabinet-top-language > button.language-trigger[data-language-toggle]::after,
html body.cabinet-page.cabinet-chat-page .cabinet-top-actions .language-menu.cabinet-top-language > button.language-trigger[data-language-toggle] .flag-circle {
  color: var(--nizo-ink) !important;
}

html body.cabinet-page.has-cabinet-cases .cabinet-chat-center {
  align-items: start !important;
  justify-content: center !important;
  padding-top: clamp(54px, 7svh, 90px) !important;
  padding-bottom: clamp(28px, 4svh, 54px) !important;
}

html body.cabinet-page .cabinet-cases-panel {
  width: min(1040px, calc(100vw - var(--nizo-cabinet-sidebar-open) - 120px)) !important;
  max-height: min(72svh, 650px) !important;
  overflow: hidden !important;
}

html body.cabinet-page .cabinet-cases-shell,
html body.cabinet-page .cabinet-case-project,
html body.cabinet-page .cabinet-case-detail {
  border: 1px solid rgba(112, 76, 38, 0.22) !important;
  border-radius: 28px !important;
  background:
    linear-gradient(145deg, rgba(247, 239, 224, 0.96), rgba(229, 210, 180, 0.9)),
    radial-gradient(circle at 12% 0%, rgba(255, 249, 237, 0.82), transparent 38%) !important;
  box-shadow:
    0 28px 76px rgba(28, 14, 5, 0.28),
    inset 0 1px 0 rgba(255, 250, 241, 0.82) !important;
  color: var(--nizo-ink) !important;
}

html body.cabinet-page .cabinet-cases-shell {
  grid-template-rows: auto minmax(0, 1fr) !important;
  gap: 16px !important;
  max-height: inherit !important;
  padding: clamp(22px, 2.5vw, 34px) !important;
  overflow: hidden !important;
}

html body.cabinet-page .cabinet-cases-head {
  align-items: start !important;
  gap: 16px !important;
  margin-bottom: 4px !important;
}

html body.cabinet-page .cabinet-cases-head h1 {
  color: var(--nizo-ink) !important;
  font-size: clamp(34px, 4.1vw, 52px) !important;
  font-weight: 520 !important;
  letter-spacing: -0.035em !important;
}

html body.cabinet-page .cabinet-cases-head p,
html body.cabinet-page .cabinet-case-detail-head p,
html body.cabinet-page .cabinet-case-project-title small,
html body.cabinet-page .cabinet-case-side-card p,
html body.cabinet-page .cabinet-case-side-card small,
html body.cabinet-page .cabinet-case-card p,
html body.cabinet-page .cabinet-case-card small {
  color: var(--nizo-ink-soft) !important;
}

html body.cabinet-page .cabinet-cases-head .primary-button,
html body.cabinet-page .cabinet-case-card button,
html body.cabinet-page .cabinet-case-project-share,
html body.cabinet-page .cabinet-case-project-edit,
html body.cabinet-page .cabinet-case-project-search button,
html body.cabinet-page .cabinet-case-ask-button {
  border: 1px solid rgba(42, 24, 12, 0.2) !important;
  background:
    linear-gradient(145deg, #573018, #2e1a0f) !important;
  color: #f4e7cf !important;
  box-shadow: 0 12px 30px rgba(45, 23, 9, 0.24) !important;
  text-shadow: none !important;
}

html body.cabinet-page .cabinet-cases-head .primary-button:hover,
html body.cabinet-page .cabinet-case-card button:hover,
html body.cabinet-page .cabinet-case-project-share:hover,
html body.cabinet-page .cabinet-case-project-edit:hover,
html body.cabinet-page .cabinet-case-project-search button:hover,
html body.cabinet-page .cabinet-case-ask-button:hover {
  background:
    linear-gradient(145deg, #70411f, #3b2111) !important;
}

html body.cabinet-page .cabinet-case-list {
  grid-template-columns: repeat(2, minmax(260px, 1fr)) !important;
  gap: 14px !important;
  max-height: min(390px, calc(72svh - 180px)) !important;
  overflow: auto !important;
  padding: 2px 6px 8px 0 !important;
  scrollbar-width: thin !important;
}

html body.cabinet-page .cabinet-case-card {
  align-content: start !important;
  min-height: 190px !important;
  padding: 18px !important;
  border-color: rgba(121, 82, 42, 0.18) !important;
  background:
    linear-gradient(145deg, rgba(250, 243, 231, 0.88), rgba(226, 205, 173, 0.7)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 250, 241, 0.8), 0 16px 38px rgba(76, 43, 16, 0.1) !important;
}

html body.cabinet-page .cabinet-case-card span {
  color: var(--nizo-teal) !important;
  font-size: 12px !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

html body.cabinet-page .cabinet-case-card h3 {
  color: var(--nizo-ink) !important;
  font-size: clamp(18px, 1.6vw, 23px) !important;
  font-weight: 720 !important;
  line-height: 1.16 !important;
}

html body.cabinet-page .cabinet-case-card button {
  align-self: end !important;
  margin-top: auto !important;
}

html body.cabinet-page .cabinet-case-project {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.32fr) !important;
  gap: 16px !important;
  width: min(1180px, 100%) !important;
  max-height: min(78svh, 720px) !important;
  padding: clamp(18px, 2.4vw, 28px) !important;
  overflow: hidden !important;
}

html body.cabinet-page .cabinet-case-project-main,
html body.cabinet-page .cabinet-case-side-card,
html body.cabinet-page .cabinet-case-project-composer,
html body.cabinet-page .cabinet-case-project-search {
  border-color: rgba(121, 82, 42, 0.18) !important;
  background:
    linear-gradient(145deg, rgba(251, 245, 235, 0.78), rgba(230, 211, 181, 0.58)) !important;
  color: var(--nizo-ink) !important;
}

html body.cabinet-page .cabinet-case-project-main,
html body.cabinet-page .cabinet-case-project-aside {
  min-height: 0 !important;
  overflow: auto !important;
  scrollbar-width: thin !important;
}

html body.cabinet-page .cabinet-case-project-title h1,
html body.cabinet-page .cabinet-case-side-card h2,
html body.cabinet-page .cabinet-case-recent h2 {
  color: var(--nizo-ink) !important;
}

html body.cabinet-page .cabinet-case-project-title p,
html body.cabinet-page .cabinet-cases-head .eyebrow {
  color: var(--nizo-teal) !important;
}

html body.cabinet-page .cabinet-case-project-composer textarea,
html body.cabinet-page .cabinet-case-project-search input,
html body.cabinet-page .cabinet-chat-composer textarea {
  color: var(--nizo-ink) !important;
}

html body.cabinet-page .cabinet-case-project-composer textarea::placeholder,
html body.cabinet-page .cabinet-case-project-search input::placeholder,
html body.cabinet-page .cabinet-chat-composer textarea::placeholder {
  color: rgba(81, 62, 43, 0.48) !important;
}

html body.cabinet-page.has-cabinet-cases .cabinet-chat-composer,
html body.cabinet-page.has-cabinet-cases .cabinet-chat-composer:not([hidden]) {
  opacity: 0.26 !important;
  filter: saturate(0.72) !important;
  pointer-events: none !important;
}

html body.cabinet-page.has-cabinet-cases .cabinet-chat-composer[hidden] {
  display: none !important;
}

@media (max-width: 1180px) {
  html body.cabinet-page .cabinet-cases-panel {
    width: min(100%, calc(100vw - var(--nizo-cabinet-sidebar-open) - 56px)) !important;
  }

  html body.cabinet-page .cabinet-case-project {
    grid-template-columns: 1fr !important;
    max-height: 78svh !important;
  }

  html body.cabinet-page .cabinet-case-project-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 820px) {
  html body.cabinet-page .cabinet-case-list {
    grid-template-columns: 1fr !important;
  }

  html body.cabinet-page .cabinet-cases-head {
    grid-template-columns: 1fr !important;
  }

  html body.cabinet-page .cabinet-case-nav-menu {
    right: 0 !important;
    left: auto !important;
    top: calc(100% + 6px) !important;
  }
}

/* Cabinet polish v9: premium legal workspace, analysis units, stable modal/card layout. */
html body.cabinet-page {
  --nizo-paper-warm: #efe5d4;
  --nizo-paper-soft: #f8f1e6;
  --nizo-border-warm: rgba(92, 57, 27, 0.22);
  --nizo-shadow-warm: 0 28px 76px rgba(24, 12, 5, 0.32);
  --nizo-button-wood: linear-gradient(145deg, #432515, #25140b);
  --nizo-button-wood-hover: linear-gradient(145deg, #5a331b, #301a0d);
}

html body.cabinet-page .floating-social-dock.is-cabinet,
html body.cabinet-page .floating-social-dock {
  display: none !important;
}

html body.cabinet-page.cabinet-chat-page nav.floating-social-dock.is-cabinet,
html body.cabinet-page.cabinet-chat-page .floating-social-dock.is-cabinet,
html body.cabinet-page.cabinet-chat-page > .floating-social-dock {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html body.cabinet-page .cabinet-top-actions .language-trigger,
html body.cabinet-page .cabinet-top-language .language-trigger {
  width: 48px !important;
  min-width: 48px !important;
  height: 42px !important;
  min-height: 42px !important;
  border-radius: 18px !important;
  background: linear-gradient(145deg, rgba(235, 216, 188, 0.92), rgba(193, 154, 103, 0.72)) !important;
  box-shadow: 0 14px 34px rgba(35, 17, 7, 0.22) !important;
  font-size: 13px !important;
}

html body.cabinet-page .cabinet-plans-modal {
  align-items: center !important;
  justify-content: center !important;
  padding: clamp(18px, 4vw, 44px) !important;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 244, 222, 0.18), transparent 38%),
    rgba(20, 11, 5, 0.5) !important;
  backdrop-filter: blur(8px) saturate(0.88) !important;
}

html body.cabinet-page .cabinet-plans-sheet {
  box-sizing: border-box !important;
  width: min(1120px, calc(100vw - 44px)) !important;
  max-height: min(92svh, 1040px) !important;
  overflow: auto !important;
  scrollbar-width: thin !important;
  padding: clamp(24px, 3vw, 42px) !important;
  border: 1px solid var(--nizo-border-warm) !important;
  border-radius: clamp(24px, 2.8vw, 36px) !important;
  background:
    linear-gradient(145deg, rgba(248, 241, 229, 0.98), rgba(229, 214, 190, 0.96)),
    radial-gradient(circle at 12% 0%, rgba(255, 252, 244, 0.82), transparent 40%) !important;
  box-shadow: var(--nizo-shadow-warm), inset 0 1px 0 rgba(255, 251, 242, 0.9) !important;
  color: var(--nizo-ink, #20150d) !important;
}

html body.cabinet-page .cabinet-plans-close {
  top: 18px !important;
  right: 18px !important;
  width: 42px !important;
  height: 42px !important;
  border: 1px solid rgba(87, 54, 27, 0.16) !important;
  border-radius: 50% !important;
  background: rgba(255, 248, 236, 0.72) !important;
  color: rgba(44, 28, 15, 0.78) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66) !important;
}

html body.cabinet-page .cabinet-plans-sheet > .eyebrow,
html body.cabinet-page .cabinet-plans-sheet > p:first-of-type {
  color: var(--nizo-teal, #408d91) !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

html body.cabinet-page .cabinet-plans-sheet > p:not(.eyebrow):not(.cabinet-plans-status) {
  max-width: 680px !important;
  margin: 0 0 24px !important;
  color: rgba(42, 29, 19, 0.64) !important;
  font-size: clamp(17px, 1.45vw, 22px) !important;
  line-height: 1.35 !important;
}

html body.cabinet-page .cabinet-plans-list {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin: 22px 0 24px !important;
}

html body.cabinet-page .cabinet-plan-card {
  position: relative !important;
  display: grid !important;
  grid-template-rows: auto minmax(76px, 1fr) auto !important;
  gap: 12px !important;
  min-height: 196px !important;
  padding: 20px !important;
  border: 1px solid rgba(94, 60, 31, 0.18) !important;
  border-radius: 22px !important;
  background:
    linear-gradient(145deg, rgba(255, 250, 241, 0.88), rgba(235, 220, 197, 0.72)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 14px 34px rgba(54, 30, 12, 0.08) !important;
  color: var(--nizo-ink, #20150d) !important;
}

html body.cabinet-page .cabinet-plan-card.is-current {
  border-color: rgba(64, 141, 145, 0.38) !important;
  background:
    linear-gradient(145deg, rgba(236, 246, 243, 0.92), rgba(216, 232, 225, 0.82)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74), 0 18px 42px rgba(37, 95, 99, 0.14) !important;
}

html body.cabinet-page .cabinet-plan-badge {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  background: rgba(56, 135, 139, 0.14) !important;
  color: #2f7e82 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

html body.cabinet-page .cabinet-plan-card h3 {
  max-width: calc(100% - 72px) !important;
  margin: 0 0 8px !important;
  color: var(--nizo-ink, #20150d) !important;
  font-size: clamp(20px, 1.75vw, 27px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.02em !important;
}

html body.cabinet-page .cabinet-plan-card strong {
  display: block !important;
  color: #20150d !important;
  font-size: clamp(22px, 2vw, 31px) !important;
  font-weight: 620 !important;
  letter-spacing: -0.025em !important;
}

html body.cabinet-page .cabinet-plan-card p {
  margin: 0 !important;
  color: rgba(46, 33, 22, 0.66) !important;
  font-size: 15px !important;
  line-height: 1.38 !important;
}

html body.cabinet-page .cabinet-plan-card button,
html body.cabinet-page .cabinet-promo-row button {
  min-height: 48px !important;
  border: 1px solid rgba(43, 24, 12, 0.16) !important;
  border-radius: 999px !important;
  background: var(--nizo-button-wood) !important;
  color: #f7ead3 !important;
  box-shadow: 0 14px 32px rgba(39, 20, 8, 0.2) !important;
  font-size: 16px !important;
  font-weight: 750 !important;
}

html body.cabinet-page .cabinet-plan-card button:hover,
html body.cabinet-page .cabinet-promo-row button:hover {
  background: var(--nizo-button-wood-hover) !important;
}

html body.cabinet-page .cabinet-plan-card button:disabled {
  background: linear-gradient(145deg, rgba(209, 215, 210, 0.88), rgba(187, 197, 192, 0.78)) !important;
  color: rgba(53, 64, 60, 0.62) !important;
  box-shadow: none !important;
}

html body.cabinet-page .cabinet-promo-form {
  display: grid !important;
  gap: 10px !important;
  padding-top: 4px !important;
}

html body.cabinet-page .cabinet-promo-form label {
  color: var(--nizo-ink, #20150d) !important;
  font-size: 17px !important;
  font-weight: 800 !important;
}

html body.cabinet-page .cabinet-promo-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 176px) !important;
  gap: 12px !important;
}

html body.cabinet-page .cabinet-promo-row input {
  min-height: 50px !important;
  border: 1px solid rgba(89, 57, 31, 0.22) !important;
  border-radius: 999px !important;
  background: rgba(255, 252, 246, 0.7) !important;
  color: var(--nizo-ink, #20150d) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
}

html body.cabinet-page .cabinet-neuron-footnote,
html body.cabinet-page .cabinet-promo-form small {
  color: rgba(46, 33, 22, 0.56) !important;
  line-height: 1.38 !important;
}

html body.cabinet-page .cabinet-dialog-thread {
  width: min(980px, calc(100vw - var(--nizo-cabinet-sidebar-open) - 140px)) !important;
  max-height: min(58svh, 560px) !important;
  overflow: auto !important;
  padding: 0 !important;
  scrollbar-width: thin !important;
}

html body.cabinet-page .cabinet-chat-message.is-nizo {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: clamp(22px, 2.6vw, 34px) !important;
  border: 1px solid rgba(92, 57, 27, 0.24) !important;
  border-radius: 28px !important;
  background:
    linear-gradient(145deg, rgba(242, 233, 218, 0.94), rgba(221, 204, 177, 0.88)),
    radial-gradient(circle at 0% 0%, rgba(255, 252, 244, 0.7), transparent 40%) !important;
  color: var(--nizo-ink, #20150d) !important;
  box-shadow: 0 24px 62px rgba(24, 12, 5, 0.25), inset 0 1px 0 rgba(255, 250, 241, 0.72) !important;
}

html body.cabinet-page .cabinet-answer-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 14px !important;
  align-items: start !important;
  margin-bottom: 14px !important;
}

html body.cabinet-page .cabinet-answer-head > span {
  color: #327f83 !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

html body.cabinet-page .cabinet-answer-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  gap: 8px !important;
}

html body.cabinet-page .cabinet-answer-meta b {
  padding: 7px 10px !important;
  border: 1px solid rgba(66, 122, 124, 0.2) !important;
  border-radius: 999px !important;
  background: rgba(246, 241, 231, 0.68) !important;
  color: rgba(37, 31, 25, 0.72) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}

html body.cabinet-page .cabinet-answer-summary,
html body.cabinet-page .cabinet-answer-next {
  max-width: 900px !important;
  margin: 0 !important;
  color: rgba(36, 25, 17, 0.82) !important;
  font-size: clamp(17px, 1.25vw, 20px) !important;
  line-height: 1.55 !important;
}

html body.cabinet-page .cabinet-answer-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin: 22px 0 !important;
}

html body.cabinet-page .cabinet-answer-grid section {
  min-height: 112px !important;
  padding: 18px !important;
  border: 1px solid rgba(97, 63, 33, 0.14) !important;
  border-radius: 18px !important;
  background: rgba(255, 250, 242, 0.62) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62) !important;
}

html body.cabinet-page .cabinet-answer-grid h3 {
  margin: 0 0 10px !important;
  color: var(--nizo-ink, #20150d) !important;
  font-size: 16px !important;
  line-height: 1.18 !important;
  font-weight: 850 !important;
}

html body.cabinet-page .cabinet-answer-grid ul {
  display: grid !important;
  gap: 6px !important;
  margin: 0 !important;
  padding-left: 18px !important;
}

html body.cabinet-page .cabinet-answer-grid li {
  color: rgba(44, 31, 21, 0.68) !important;
  font-size: 14px !important;
  line-height: 1.32 !important;
}

html body.cabinet-page .cabinet-answer-next {
  padding-top: 14px !important;
  border-top: 1px solid rgba(92, 57, 27, 0.16) !important;
}

html body.cabinet-page .cabinet-chat-message.is-user {
  margin-left: auto !important;
  max-width: min(620px, 72%) !important;
  border: 1px solid rgba(92, 57, 27, 0.18) !important;
  border-radius: 22px !important;
  background: rgba(244, 233, 216, 0.82) !important;
  color: var(--nizo-ink, #20150d) !important;
  box-shadow: 0 12px 28px rgba(24, 12, 5, 0.12) !important;
}

html body.cabinet-page .cabinet-chat-composer {
  z-index: 8 !important;
  width: min(820px, calc(100vw - var(--nizo-cabinet-sidebar-open) - 160px)) !important;
  border: 1px solid rgba(88, 55, 30, 0.22) !important;
  background: rgba(250, 243, 232, 0.88) !important;
  box-shadow: 0 18px 44px rgba(24, 12, 5, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.66) !important;
}

html body.cabinet-page .cabinet-chat-composer textarea {
  font-size: 16px !important;
}

html body.cabinet-page .cabinet-send-button {
  background: linear-gradient(145deg, #67360f, #3d1d06) !important;
  color: #fff0d8 !important;
}

html body.cabinet-page .cabinet-sidebar-dialogs {
  gap: 8px !important;
}

html body.cabinet-page .cabinet-dialog-list-button {
  min-height: 42px !important;
  border-radius: 14px !important;
  background: rgba(245, 232, 211, 0.36) !important;
}

html body.cabinet-page .cabinet-dialog-list-button span {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

@media (max-width: 1180px) {
  html body.cabinet-page .cabinet-plans-list,
  html body.cabinet-page .cabinet-answer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.cabinet-page .cabinet-dialog-thread,
  html body.cabinet-page .cabinet-chat-composer {
    width: min(880px, calc(100vw - var(--nizo-cabinet-sidebar-open) - 70px)) !important;
  }
}

@media (max-width: 820px) {
  html body.cabinet-page .cabinet-plans-list,
  html body.cabinet-page .cabinet-answer-grid {
    grid-template-columns: 1fr !important;
  }

  html body.cabinet-page .cabinet-promo-row {
    grid-template-columns: 1fr !important;
  }

  html body.cabinet-page .cabinet-answer-head {
    grid-template-columns: 1fr !important;
  }

  html body.cabinet-page .cabinet-answer-meta {
    justify-content: flex-start !important;
  }

  html body.cabinet-page .cabinet-dialog-thread,
  html body.cabinet-page .cabinet-chat-composer {
    width: min(100%, calc(100vw - 28px)) !important;
  }
}

/* Cabinet workspace v10: documents/profile are standalone work modules, not chat overlays. */
html body.cabinet-page {
  --nizo-warm-panel: rgba(231, 222, 209, 0.94);
  --nizo-warm-panel-strong: rgba(241, 234, 223, 0.97);
  --nizo-warm-field: rgba(255, 249, 238, 0.74);
  --nizo-warm-ink: #23170f;
  --nizo-warm-muted: rgba(54, 43, 34, 0.64);
}

html body.cabinet-page.cabinet-chat-page .floating-social-dock,
html body.cabinet-page.cabinet-chat-page .floating-social-dock.is-cabinet,
html body.cabinet-page.cabinet-chat-page nav.floating-social-dock.is-cabinet {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html body.cabinet-page.has-cabinet-profile .cabinet-chat-composer,
html body.cabinet-page.has-cabinet-documents .cabinet-chat-composer {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html body.cabinet-page.has-cabinet-documents .cabinet-chat-workspace,
html body.cabinet-page.has-cabinet-profile .cabinet-chat-workspace {
  place-items: center stretch !important;
  padding: clamp(24px, 3vw, 42px) !important;
}

html body.cabinet-page.has-cabinet-documents .cabinet-chat-center,
html body.cabinet-page.has-cabinet-profile .cabinet-chat-center {
  width: min(1040px, calc(100vw - var(--nizo-cabinet-sidebar-open, 300px) - 96px)) !important;
  min-height: auto !important;
  justify-items: stretch !important;
  align-content: center !important;
  transform: none !important;
  margin: 0 auto !important;
}

html body.cabinet-page.is-cabinet-sidebar-collapsed.has-cabinet-documents .cabinet-chat-center,
html body.cabinet-page.is-cabinet-sidebar-collapsed.has-cabinet-profile .cabinet-chat-center {
  width: min(1080px, calc(100vw - var(--nizo-cabinet-sidebar-collapsed, 96px) - 120px)) !important;
}

html body.cabinet-page.has-cabinet-documents .cabinet-cases-panel,
html body.cabinet-page.has-cabinet-profile .cabinet-profile-panel {
  display: grid !important;
  width: 100% !important;
  justify-items: center !important;
}

html body.cabinet-page.has-cabinet-documents .cabinet-documents-shell,
html body.cabinet-page.has-cabinet-profile .cabinet-profile-page {
  box-sizing: border-box !important;
  width: 100% !important;
  max-height: min(76svh, 720px) !important;
  overflow: auto !important;
  scrollbar-width: thin !important;
  border: 1px solid rgba(117, 82, 45, 0.22) !important;
  border-radius: clamp(22px, 2.8vw, 34px) !important;
  background:
    linear-gradient(145deg, var(--nizo-warm-panel-strong), var(--nizo-warm-panel)),
    radial-gradient(circle at 12% 0%, rgba(255, 249, 235, 0.82), transparent 42%) !important;
  box-shadow: 0 30px 76px rgba(19, 9, 4, 0.32), inset 0 1px 0 rgba(255, 250, 241, 0.76) !important;
  color: var(--nizo-warm-ink) !important;
}

html body.cabinet-page.has-cabinet-documents .cabinet-documents-shell {
  min-height: 0 !important;
  margin: 0 !important;
  padding: clamp(30px, 5vw, 64px) !important;
  align-content: center !important;
}

html body.cabinet-page.has-cabinet-documents .cabinet-documents-compose-area {
  width: min(830px, 100%) !important;
  margin: 0 auto !important;
  gap: 14px !important;
}

html body.cabinet-page.has-cabinet-documents .cabinet-documents-compose-area h2 {
  max-width: 780px !important;
  color: var(--nizo-warm-ink) !important;
  font-size: clamp(34px, 4vw, 54px) !important;
  font-weight: 520 !important;
  letter-spacing: -0.035em !important;
}

html body.cabinet-page.has-cabinet-documents .cabinet-document-prompt-hint {
  color: rgba(52, 40, 30, 0.62) !important;
  font-size: clamp(15px, 1.25vw, 18px) !important;
}

html body.cabinet-page.has-cabinet-documents .cabinet-document-composer {
  width: min(780px, 100%) !important;
  min-height: 66px !important;
  border-color: rgba(58, 126, 130, 0.2) !important;
  background: rgba(255, 250, 241, 0.82) !important;
  box-shadow: 0 20px 52px rgba(43, 23, 10, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
}

html body.cabinet-page.has-cabinet-documents .cabinet-document-composer textarea {
  color: var(--nizo-warm-ink) !important;
  font-size: 16px !important;
}

html body.cabinet-page.has-cabinet-documents .cabinet-document-send {
  background: linear-gradient(145deg, #3f9293, #257276) !important;
  box-shadow: 0 14px 32px rgba(31, 111, 114, 0.2) !important;
}

html body.cabinet-page.has-cabinet-profile .cabinet-profile-page {
  display: grid !important;
  gap: 16px !important;
  padding: clamp(24px, 3.2vw, 38px) !important;
}

html body.cabinet-page.has-cabinet-profile .cabinet-profile-page-head,
html body.cabinet-page.has-cabinet-profile .cabinet-profile-summary,
html body.cabinet-page.has-cabinet-profile .cabinet-profile-fields {
  gap: 14px !important;
}

html body.cabinet-page.has-cabinet-profile .cabinet-profile-page-copy,
html body.cabinet-page.has-cabinet-profile .cabinet-profile-photo-card,
html body.cabinet-page.has-cabinet-profile .cabinet-profile-summary article,
html body.cabinet-page.has-cabinet-profile .cabinet-profile-details-form {
  border-color: rgba(116, 82, 46, 0.18) !important;
  background: rgba(255, 249, 238, 0.58) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58) !important;
}

html body.cabinet-page.has-cabinet-profile .cabinet-profile-page h1,
html body.cabinet-page.has-cabinet-profile .cabinet-profile-page h2,
html body.cabinet-page.has-cabinet-profile .cabinet-profile-photo-card h2 {
  color: var(--nizo-warm-ink) !important;
}

html body.cabinet-page.has-cabinet-profile .cabinet-profile-page h1 {
  font-size: clamp(42px, 4.6vw, 64px) !important;
  letter-spacing: -0.04em !important;
}

html body.cabinet-page.has-cabinet-profile .cabinet-profile-page p,
html body.cabinet-page.has-cabinet-profile .cabinet-profile-photo-card p,
html body.cabinet-page.has-cabinet-profile .cabinet-profile-photo-card small,
html body.cabinet-page.has-cabinet-profile .cabinet-profile-form-intro p {
  color: var(--nizo-warm-muted) !important;
}

html body.cabinet-page.has-cabinet-profile .cabinet-profile-page .eyebrow,
html body.cabinet-page.has-cabinet-profile .cabinet-profile-summary span,
html body.cabinet-page.has-cabinet-profile .cabinet-profile-fields label {
  color: rgba(50, 127, 131, 0.9) !important;
}

html body.cabinet-page.has-cabinet-profile .cabinet-profile-photo-preview {
  background: linear-gradient(145deg, rgba(53, 133, 137, 0.14), rgba(145, 111, 64, 0.12)) !important;
  color: #2f7e82 !important;
}

html body.cabinet-page.has-cabinet-profile .cabinet-profile-fields input,
html body.cabinet-page.has-cabinet-profile .cabinet-profile-fields textarea {
  border-color: rgba(113, 80, 45, 0.18) !important;
  background: var(--nizo-warm-field) !important;
  color: var(--nizo-warm-ink) !important;
}

html body.cabinet-page.has-cabinet-profile .cabinet-profile-form-actions .primary-button,
html body.cabinet-page.has-cabinet-profile .cabinet-profile-photo-actions .ghost-button {
  border-color: rgba(61, 34, 16, 0.12) !important;
  background: var(--nizo-button-wood) !important;
  color: #f7ead3 !important;
}

@media (max-width: 1120px) {
  html body.cabinet-page.has-cabinet-documents .cabinet-chat-center,
  html body.cabinet-page.has-cabinet-profile .cabinet-chat-center,
  html body.cabinet-page.is-cabinet-sidebar-collapsed.has-cabinet-documents .cabinet-chat-center,
  html body.cabinet-page.is-cabinet-sidebar-collapsed.has-cabinet-profile .cabinet-chat-center {
    width: min(100%, calc(100vw - 38px)) !important;
  }

  html body.cabinet-page.has-cabinet-profile .cabinet-profile-page-head,
  html body.cabinet-page.has-cabinet-profile .cabinet-profile-summary {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 720px) {
  html body.cabinet-page.has-cabinet-documents .cabinet-documents-shell,
  html body.cabinet-page.has-cabinet-profile .cabinet-profile-page {
    max-height: calc(100svh - 116px) !important;
    padding: 22px !important;
  }

  html body.cabinet-page.has-cabinet-documents .cabinet-documents-compose-area h2,
  html body.cabinet-page.has-cabinet-profile .cabinet-profile-page h1 {
    font-size: clamp(30px, 11vw, 42px) !important;
  }

  html body.cabinet-page.has-cabinet-documents .cabinet-document-composer {
    grid-template-columns: 38px minmax(0, 1fr) 38px 48px !important;
    min-height: 60px !important;
    padding: 7px 8px 7px 12px !important;
  }

  html body.cabinet-page.has-cabinet-profile .cabinet-profile-photo-card,
  html body.cabinet-page.has-cabinet-profile .cabinet-profile-fields {
    grid-template-columns: 1fr !important;
  }
}

/* Home final composition, 2026-06-26: only the public main page. */
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) {
  min-height: 100svh !important;
  overflow: hidden !important;
  background: #1a0d05 !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-main,
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-intake-hero,
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .chat-home-layout,
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .chat-home-stage {
  width: 100% !important;
  height: 100svh !important;
  min-height: 100svh !important;
  overflow: hidden !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-intake-hero {
  position: relative !important;
  padding: 0 !important;
  background:
    linear-gradient(90deg, rgba(20, 9, 3, 0.08), rgba(255, 238, 204, 0.06) 48%, rgba(20, 9, 3, 0.12)),
    url("./assets/legal-premium-bg-composed-clean-20260623.png") center / cover no-repeat !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) > .site-header {
  position: fixed !important;
  inset: 0 0 auto 0 !important;
  z-index: 120 !important;
  display: grid !important;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr) !important;
  align-items: center !important;
  gap: clamp(18px, 3vw, 42px) !important;
  height: clamp(70px, 9.6vh, 96px) !important;
  min-height: 0 !important;
  padding: 0 clamp(22px, 4vw, 58px) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-premium-brand {
  justify-self: start !important;
  gap: 12px !important;
  color: #fff1d2 !important;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.68) !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-premium-brand__icon {
  width: clamp(30px, 3vw, 40px) !important;
  height: clamp(30px, 3vw, 40px) !important;
  color: #f2c37a !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-premium-brand__text {
  color: #fff1d2 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(28px, 3.1vw, 44px) !important;
  font-weight: 600 !important;
  line-height: 1 !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .nav-links {
  justify-self: center !important;
  display: flex !important;
  align-items: center !important;
  gap: clamp(34px, 5vw, 72px) !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .nav-links a,
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .header-login-button,
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .language-trigger {
  position: relative !important;
  min-width: 0 !important;
  padding: 7px 0 8px !important;
  color: #fff1d2 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(15px, 1.2vw, 19px) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.68) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .nav-links a::after,
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .header-login-button::after {
  content: "" !important;
  position: absolute !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  height: 2px !important;
  transform: scaleX(0) !important;
  transform-origin: center !important;
  background: currentColor !important;
  opacity: 0.9 !important;
  transition: transform 160ms ease !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .nav-links a:hover::after,
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .nav-links a:focus-visible::after,
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .nav-links a[aria-current="page"]::after,
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .header-login-button:hover::after,
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .header-login-button:focus-visible::after {
  transform: scaleX(1) !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .header-actions {
  justify-self: end !important;
  display: flex !important;
  align-items: center !important;
  gap: clamp(16px, 2.2vw, 28px) !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .language-trigger {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: auto !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .language-options {
  right: 0 !important;
  top: calc(100% + 12px) !important;
  min-width: 168px !important;
  color: #27170c !important;
  background: rgba(255, 244, 226, 0.96) !important;
  border: 1px solid rgba(194, 143, 78, 0.32) !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 42px rgba(14, 7, 3, 0.34) !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .legal-intake-shell {
  position: absolute !important;
  top: clamp(158px, 28vh, 245px) !important;
  left: 50% !important;
  display: grid !important;
  justify-items: center !important;
  width: min(790px, calc(100vw - 46px)) !important;
  margin: 0 !important;
  transform: translateX(-50%) !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-platform-kicker {
  width: min(760px, 100%) !important;
  margin: 0 auto clamp(18px, 2.4vh, 28px) !important;
  color: #fff0d0 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(30px, 4.2vw, 58px) !important;
  font-weight: 600 !important;
  line-height: 1.08 !important;
  text-align: center !important;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.7), 0 0 24px rgba(242, 195, 119, 0.22) !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .legal-intake-panel {
  position: relative !important;
  display: grid !important;
  justify-items: center !important;
  width: 100% !important;
  margin: 0 !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .legal-composer {
  position: relative !important;
  display: grid !important;
  grid-template-rows: minmax(38px, auto) 42px !important;
  width: 100% !important;
  min-height: 92px !important;
  padding: 12px 14px 10px !important;
  background: rgba(255, 248, 236, 0.86) !important;
  border: 1px solid rgba(242, 195, 119, 0.38) !important;
  border-radius: 20px !important;
  box-shadow: 0 24px 55px rgba(24, 11, 4, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(10px) !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .legal-composer__textarea {
  min-height: 38px !important;
  padding: 4px 14px !important;
  color: #24150b !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(16px, 1.35vw, 20px) !important;
  line-height: 1.35 !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .legal-composer__bar {
  display: grid !important;
  grid-template-columns: auto 1fr !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 42px !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .legal-composer__actions {
  justify-self: end !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .composer-icon-button,
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .intake-voice-button {
  width: 40px !important;
  height: 40px !important;
  color: #4b260d !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .composer-icon-button svg,
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .intake-voice-button svg {
  width: 24px !important;
  height: 24px !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .composer-submit-button {
  min-width: 118px !important;
  height: 44px !important;
  padding: 0 18px !important;
  color: #fff4df !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  background: linear-gradient(135deg, #6a3612, #321304) !important;
  border: 1px solid rgba(255, 226, 176, 0.28) !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 28px rgba(31, 12, 3, 0.28) !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .case-materials-popover {
  position: absolute !important;
  z-index: 130 !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  width: min(360px, 100%) !important;
  padding: 14px !important;
  color: #f6e7cb !important;
  text-align: center !important;
  background: rgba(66, 33, 12, 0.9) !important;
  border: 1px solid rgba(242, 195, 119, 0.44) !important;
  border-radius: 18px !important;
  box-shadow: 0 22px 54px rgba(13, 6, 2, 0.46) !important;
  backdrop-filter: blur(12px) !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .case-materials-popover .composer-file-picker {
  width: 100% !important;
  min-height: 50px !important;
  color: #fff2d3 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  background: linear-gradient(135deg, rgba(129, 76, 29, 0.88), rgba(78, 37, 12, 0.92)) !important;
  border: 1px solid rgba(255, 224, 166, 0.42) !important;
  border-radius: 14px !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .case-materials-popover p {
  margin: 10px auto 0 !important;
  color: rgba(255, 239, 210, 0.82) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .composer-support-row,
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .voice-status-line,
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .voice-permission-help {
  width: min(760px, 100%) !important;
  margin: 10px auto 0 !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .voice-permission-help {
  padding: 12px 14px !important;
  color: #fff0d0 !important;
  background: rgba(62, 28, 10, 0.72) !important;
  border: 1px solid rgba(242, 195, 119, 0.24) !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 36px rgba(10, 4, 1, 0.24) !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .privacy-consent-notice {
  width: min(700px, calc(100vw - 48px)) !important;
  margin: clamp(14px, 2vh, 22px) auto 0 !important;
  color: rgba(255, 238, 206, 0.88) !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .privacy-consent-text,
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .privacy-consent-text a {
  color: rgba(255, 238, 206, 0.9) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(13px, 1.05vw, 16px) !important;
  line-height: 1.42 !important;
  text-align: center !important;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.72) !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .privacy-consent-text a {
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .site-footer {
  position: fixed !important;
  z-index: 82 !important;
  left: clamp(18px, 3.3vw, 56px) !important;
  right: auto !important;
  bottom: clamp(14px, 2.2vh, 24px) !important;
  width: min(560px, calc(50vw - 52px)) !important;
  color: rgba(255, 238, 206, 0.88) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .site-footer .footer-legal {
  margin: 0 !important;
  color: rgba(255, 238, 206, 0.9) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(11px, 0.95vw, 14px) !important;
  line-height: 1.35 !important;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.72) !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .floating-social-dock {
  position: fixed !important;
  z-index: 84 !important;
  right: clamp(18px, 3.3vw, 56px) !important;
  bottom: clamp(11px, 1.9vh, 22px) !important;
  left: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: clamp(14px, 2vw, 28px) !important;
  width: min(660px, calc(50vw - 52px)) !important;
  transform: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .floating-social-link {
  min-width: 32px !important;
  height: 34px !important;
  padding: 4px !important;
  color: #fff0d0 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 700 !important;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.72) !important;
  background: transparent !important;
  border: 0 !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .floating-social-link svg {
  width: 26px !important;
  height: 26px !important;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.68)) !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .floating-social-link.is-telegram svg { color: #3db2e2 !important; }
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .floating-social-link.is-instagram svg { color: #e06b48 !important; }
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .floating-social-link.is-youtube svg { color: #e8412d !important; }
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .floating-social-link.is-x svg { color: #fff4df !important; }
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .floating-social-link.is-app-store svg,
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .floating-social-link.is-google-play svg { color: #f6c16f !important; }

html body.home-page .nizo-thinking-overlay {
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  background:
    linear-gradient(180deg, rgba(14, 7, 3, 0.28), rgba(14, 7, 3, 0.58)),
    url("./assets/nizo-analysis-thinking-bg-20260625.jpg") center / cover no-repeat !important;
}

html body.home-page .nizo-thinking-brand {
  position: fixed !important;
  z-index: 2 !important;
  top: clamp(22px, 4vh, 42px) !important;
  left: clamp(22px, 4vw, 58px) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  color: #fff0d0 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(30px, 3vw, 46px) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.72) !important;
}

html body.home-page .nizo-thinking-brand svg {
  width: clamp(30px, 3vw, 40px) !important;
  height: clamp(30px, 3vw, 40px) !important;
  stroke: #f2c37a !important;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.62)) !important;
}

html body.home-page.is-intake-result-mode {
  min-height: 100svh !important;
  overflow: auto !important;
  background:
    linear-gradient(180deg, rgba(14, 7, 3, 0.3), rgba(14, 7, 3, 0.64)),
    url("./assets/nizo-analysis-thinking-bg-20260625.jpg") center / cover fixed no-repeat !important;
}

html body.home-page.is-intake-result-mode > .site-header {
  position: fixed !important;
  inset: 0 0 auto 0 !important;
  z-index: 110 !important;
  height: 86px !important;
  min-height: 0 !important;
  padding: 0 clamp(22px, 4vw, 58px) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body.home-page.is-intake-result-mode .home-main,
html body.home-page.is-intake-result-mode .home-intake-hero,
html body.home-page.is-intake-result-mode .chat-home-layout,
html body.home-page.is-intake-result-mode .chat-home-stage {
  width: 100% !important;
  min-height: 100svh !important;
  height: auto !important;
  overflow: visible !important;
  background: transparent !important;
}

html body.home-page.is-intake-result-mode .chat-home-stage {
  display: block !important;
  padding: 0 !important;
}

html body.home-page.is-intake-result-mode .legal-intake-shell,
html body.home-page.is-intake-result-mode .site-footer,
html body.home-page.is-intake-result-mode .floating-social-dock,
html body.home-page.is-intake-result-mode .nav-links,
html body.home-page.is-intake-result-mode .header-actions {
  display: none !important;
}

html body.home-page.is-intake-result-mode .chat-stage-results {
  display: block !important;
  width: min(1200px, calc(100vw - 72px)) !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 104px auto 42px !important;
  padding: 0 !important;
  overflow: visible !important;
  transform: none !important;
}

html body.home-page.is-intake-result-mode .legal-situation-map {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  overflow: visible !important;
}

html body.home-page.is-intake-result-mode .situation-map-card,
html body.home-page.is-intake-result-mode .primary-result-card,
html body.home-page.is-intake-result-mode .situation-map-card.nizo-primary-result-sheet {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  grid-template-areas:
    "head count"
    "category count"
    "insights insights"
    "case action"
    "status status" !important;
  gap: clamp(12px, 1.7vw, 22px) !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: visible !important;
  color: #fff0d0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body.home-page.is-intake-result-mode .situation-map-head {
  grid-area: head !important;
  align-items: start !important;
  min-width: 0 !important;
}

html body.home-page.is-intake-result-mode .situation-map-head h2 {
  max-width: 690px !important;
  margin: 0 !important;
  color: #fff0d0 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(30px, 4vw, 54px) !important;
  line-height: 1.05 !important;
  overflow-wrap: anywhere !important;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.72) !important;
}

html body.home-page.is-intake-result-mode .situation-map-head .eyebrow {
  margin: 0 0 8px !important;
  color: #f2c37a !important;
  font-size: clamp(11px, 0.95vw, 13px) !important;
  letter-spacing: 0.08em !important;
}

html body.home-page.is-intake-result-mode .risk-badge {
  justify-self: end !important;
  margin-top: 4px !important;
  color: #3a1f0c !important;
  background: rgba(255, 232, 188, 0.9) !important;
}

html body.home-page.is-intake-result-mode .primary-category-line { grid-area: category !important; }
html body.home-page.is-intake-result-mode .primary-similar-count { grid-area: count !important; }
html body.home-page.is-intake-result-mode .situation-map-grid { grid-area: insights !important; }
html body.home-page.is-intake-result-mode .anonymized-case-card { grid-area: case !important; }
html body.home-page.is-intake-result-mode .locked-action-section { grid-area: action !important; }
html body.home-page.is-intake-result-mode .auth-status[data-map-action-status] { grid-area: status !important; }

html body.home-page.is-intake-result-mode .primary-category-line,
html body.home-page.is-intake-result-mode .primary-similar-count,
html body.home-page.is-intake-result-mode .situation-panel,
html body.home-page.is-intake-result-mode .anonymized-case-card,
html body.home-page.is-intake-result-mode .locked-action-section,
html body.home-page.is-intake-result-mode .law-compliance-preview {
  min-width: 0 !important;
  padding: clamp(13px, 1.6vw, 20px) !important;
  color: #fff0d0 !important;
  background: rgba(26, 12, 4, 0.36) !important;
  border: 1px solid rgba(242, 195, 119, 0.22) !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2) !important;
  backdrop-filter: blur(5px) !important;
}

html body.home-page.is-intake-result-mode .situation-panel p,
html body.home-page.is-intake-result-mode .situation-panel li,
html body.home-page.is-intake-result-mode .anonymized-case-card p,
html body.home-page.is-intake-result-mode .anonymized-case-card dd,
html body.home-page.is-intake-result-mode .locked-action-section p,
html body.home-page.is-intake-result-mode .primary-category-line,
html body.home-page.is-intake-result-mode .primary-similar-count p {
  color: rgba(255, 239, 214, 0.92) !important;
  font-size: clamp(14px, 1.05vw, 17px) !important;
  line-height: 1.4 !important;
}

html body.home-page.is-intake-result-mode .primary-similar-count strong {
  color: #f2c37a !important;
  font-size: clamp(42px, 6vw, 78px) !important;
}

@media (max-width: 920px) {
  html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) {
    overflow: auto !important;
  }

  html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) > .site-header {
    grid-template-columns: 1fr auto !important;
    height: auto !important;
    min-height: 72px !important;
    padding: 14px 18px !important;
  }

  html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .nav-links {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    gap: 28px !important;
    margin: 4px auto 0 !important;
  }

  html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .header-actions {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .legal-intake-shell {
    top: clamp(142px, 24vh, 190px) !important;
    width: min(720px, calc(100vw - 30px)) !important;
  }

  html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-platform-kicker {
    font-size: clamp(28px, 6.5vw, 42px) !important;
  }

  html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .site-footer,
  html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .floating-social-dock {
    left: 16px !important;
    right: 16px !important;
    width: auto !important;
    justify-content: center !important;
  }

  html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .site-footer {
    bottom: 58px !important;
    text-align: center !important;
  }

  html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .floating-social-dock {
    bottom: 16px !important;
  }

  html body.home-page.is-intake-result-mode .chat-stage-results {
    width: min(680px, calc(100vw - 28px)) !important;
    margin-top: 94px !important;
  }

  html body.home-page.is-intake-result-mode .situation-map-card,
  html body.home-page.is-intake-result-mode .primary-result-card,
  html body.home-page.is-intake-result-mode .situation-map-card.nizo-primary-result-sheet,
  html body.home-page.is-intake-result-mode .situation-map-grid,
  html body.home-page.is-intake-result-mode .anonymized-case-details {
    grid-template-columns: 1fr !important;
    grid-template-areas: none !important;
  }

  html body.home-page.is-intake-result-mode .situation-map-head,
  html body.home-page.is-intake-result-mode .primary-category-line,
  html body.home-page.is-intake-result-mode .primary-similar-count,
  html body.home-page.is-intake-result-mode .situation-map-grid,
  html body.home-page.is-intake-result-mode .anonymized-case-card,
  html body.home-page.is-intake-result-mode .locked-action-section,
  html body.home-page.is-intake-result-mode .auth-status[data-map-action-status] {
    grid-area: auto !important;
  }
}

@media (max-width: 560px) {
  html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-premium-brand__text {
    font-size: 28px !important;
  }

  html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .nav-links {
    gap: 18px !important;
  }

  html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .nav-links a,
  html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .header-login-button {
    font-size: 14px !important;
  }

  html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .legal-composer {
    min-height: 88px !important;
    border-radius: 18px !important;
  }

  html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .composer-submit-button {
    min-width: 48px !important;
    width: 48px !important;
    padding: 0 !important;
  }

  html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .composer-submit-button span {
    display: none !important;
  }

  html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .floating-social-link span {
    display: none !important;
  }

  html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .floating-social-dock {
    gap: 12px !important;
  }
}

/* Home precision pass, 2026-06-26: main page only. */
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .case-materials-popover {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  box-sizing: border-box !important;
  top: calc(100% + 8px) !important;
  left: 50% !important;
  width: min(640px, 100%) !important;
  max-width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  transform: translateX(-50%) !important;
  padding: 14px 16px 15px !important;
  overflow: hidden !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .case-materials-popover .file-upload-button,
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .case-materials-popover .composer-file-picker {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 18px !important;
  white-space: nowrap !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .case-materials-popover p {
  display: block !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 520px !important;
  margin: 10px auto 0 !important;
  padding: 0 !important;
  color: rgba(255, 239, 210, 0.82) !important;
  text-align: center !important;
  white-space: normal !important;
}

html body.home-page.is-intake-result-mode {
  overflow-x: hidden !important;
}

html body.home-page.is-intake-result-mode .chat-stage-results {
  position: relative !important;
  inset: auto !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  width: min(1160px, calc(100vw - 64px)) !important;
  max-width: calc(100vw - 64px) !important;
  margin: 86px auto 34px !important;
  transform: none !important;
}

html body.home-page.is-intake-result-mode .situation-map-card,
html body.home-page.is-intake-result-mode .primary-result-card,
html body.home-page.is-intake-result-mode .situation-map-card.nizo-primary-result-sheet {
  gap: clamp(10px, 1.25vw, 18px) !important;
}

html body.home-page.is-intake-result-mode .situation-map-head h2 {
  max-width: 560px !important;
  font-size: clamp(28px, 3.15vw, 45px) !important;
  line-height: 1.03 !important;
}

html body.home-page.is-intake-result-mode .primary-category-line,
html body.home-page.is-intake-result-mode .primary-similar-count,
html body.home-page.is-intake-result-mode .situation-panel,
html body.home-page.is-intake-result-mode .anonymized-case-card,
html body.home-page.is-intake-result-mode .locked-action-section,
html body.home-page.is-intake-result-mode .law-compliance-preview {
  padding: clamp(11px, 1.2vw, 16px) !important;
}

html body.home-page.is-intake-result-mode .situation-panel p,
html body.home-page.is-intake-result-mode .situation-panel li,
html body.home-page.is-intake-result-mode .anonymized-case-card p,
html body.home-page.is-intake-result-mode .anonymized-case-card dd,
html body.home-page.is-intake-result-mode .locked-action-section p,
html body.home-page.is-intake-result-mode .primary-category-line,
html body.home-page.is-intake-result-mode .primary-similar-count p {
  font-size: clamp(13px, 0.95vw, 15px) !important;
  line-height: 1.32 !important;
}

html body.home-page.is-intake-result-mode .primary-similar-count strong {
  font-size: clamp(38px, 5vw, 64px) !important;
}

@media (max-width: 920px) {
  html body.home-page.is-intake-result-mode .chat-stage-results {
    width: min(680px, calc(100vw - 28px)) !important;
    max-width: calc(100vw - 28px) !important;
    margin-top: 86px !important;
  }
}

/* Legal documents final pass, 2026-06-26. */
html body.legal-document-page,
html body.legal-pdf-page,
html body.legal-reader-page {
  min-height: 100svh !important;
  overflow: hidden !important;
  color: #fff1d5 !important;
  background:
    radial-gradient(circle at 52% 36%, rgba(230, 179, 99, 0.14), rgba(13, 7, 3, 0.1) 34%, rgba(8, 4, 2, 0.68) 100%),
    linear-gradient(90deg, rgba(7, 4, 2, 0.72), rgba(7, 4, 2, 0.28) 48%, rgba(7, 4, 2, 0.78)),
    url("./assets/nizo-documents-premium-bg-20260625.jpg") center / cover no-repeat fixed !important;
  font-family: Georgia, "Times New Roman", serif !important;
}

html body.legal-document-page::before,
html body.legal-pdf-page::before,
html body.legal-reader-page::before {
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background:
    linear-gradient(180deg, rgba(10, 5, 2, 0.16), rgba(10, 5, 2, 0.24)),
    radial-gradient(circle at 21% 18%, rgba(255, 215, 142, 0.11), transparent 28%) !important;
}

html body.legal-document-page > .site-header.nizo-legal-premium-header,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header,
html body.legal-reader-page > .site-header.nizo-legal-premium-header {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  z-index: 80 !important;
  display: grid !important;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr) !important;
  align-items: center !important;
  gap: clamp(18px, 3vw, 48px) !important;
  min-height: 82px !important;
  padding: 18px clamp(28px, 4.6vw, 72px) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body.legal-document-page > .site-header.nizo-legal-premium-header .home-premium-brand,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header .home-premium-brand,
html body.legal-reader-page > .site-header.nizo-legal-premium-header .home-premium-brand {
  grid-column: 1 !important;
  justify-self: start !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: max-content !important;
  color: #fff5df !important;
  text-decoration: none !important;
}

html body.legal-document-page > .site-header.nizo-legal-premium-header .home-premium-brand__icon,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header .home-premium-brand__icon,
html body.legal-reader-page > .site-header.nizo-legal-premium-header .home-premium-brand__icon {
  width: clamp(30px, 2.45vw, 40px) !important;
  height: clamp(30px, 2.45vw, 40px) !important;
  color: #e5b369 !important;
  filter: drop-shadow(0 2px 13px rgba(0, 0, 0, 0.68)) !important;
}

html body.legal-document-page > .site-header.nizo-legal-premium-header .home-premium-brand__text,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header .home-premium-brand__text,
html body.legal-reader-page > .site-header.nizo-legal-premium-header .home-premium-brand__text {
  color: #fff2d6 !important;
  font-size: clamp(28px, 2.7vw, 42px) !important;
  line-height: 1 !important;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.78), 0 0 20px rgba(222, 170, 85, 0.25) !important;
}

html body.legal-document-page > .site-header.nizo-legal-premium-header .nav-links,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header .nav-links,
html body.legal-reader-page > .site-header.nizo-legal-premium-header .nav-links {
  grid-column: 2 !important;
  justify-self: center !important;
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(32px, 4.2vw, 68px) !important;
  min-width: max-content !important;
  transform: none !important;
}

html body.legal-document-page > .site-header.nizo-legal-premium-header .nav-links a,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header .nav-links a,
html body.legal-reader-page > .site-header.nizo-legal-premium-header .nav-links a {
  position: relative !important;
  display: inline-flex !important;
  padding: 7px 0 10px !important;
  color: #fff2d6 !important;
  font-size: clamp(15px, 1.16vw, 18px) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.78) !important;
}

html body.legal-document-page > .site-header.nizo-legal-premium-header .nav-links a::after,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header .nav-links a::after,
html body.legal-reader-page > .site-header.nizo-legal-premium-header .nav-links a::after {
  content: "" !important;
  position: absolute !important;
  right: 0 !important;
  bottom: 1px !important;
  left: 0 !important;
  height: 2px !important;
  background: currentColor !important;
  border-radius: 999px !important;
  transform: scaleX(0) !important;
  transform-origin: center !important;
  transition: transform 160ms ease !important;
}

html body.legal-document-page > .site-header.nizo-legal-premium-header .nav-links a:hover::after,
html body.legal-document-page > .site-header.nizo-legal-premium-header .nav-links a:focus-visible::after,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header .nav-links a:hover::after,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header .nav-links a:focus-visible::after,
html body.legal-reader-page > .site-header.nizo-legal-premium-header .nav-links a:hover::after,
html body.legal-reader-page > .site-header.nizo-legal-premium-header .nav-links a:focus-visible::after {
  transform: scaleX(1) !important;
}

html body.legal-document-page > .site-header.nizo-legal-premium-header .header-actions,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header .header-actions,
html body.legal-reader-page > .site-header.nizo-legal-premium-header .header-actions {
  grid-column: 3 !important;
  justify-self: end !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

html body.legal-document-page > .site-header.nizo-legal-premium-header .language-menu,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header .language-menu,
html body.legal-reader-page > .site-header.nizo-legal-premium-header .language-menu {
  position: relative !important;
  display: inline-flex !important;
}

html body.legal-document-page > .site-header.nizo-legal-premium-header .language-trigger,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header .language-trigger,
html body.legal-reader-page > .site-header.nizo-legal-premium-header .language-trigger {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 7px 0 10px !important;
  color: #fff2d6 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body.legal-document-page > .site-header.nizo-legal-premium-header .language-options,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header .language-options,
html body.legal-reader-page > .site-header.nizo-legal-premium-header .language-options {
  top: calc(100% + 10px) !important;
  right: 0 !important;
  left: auto !important;
  min-width: 178px !important;
  padding: 8px !important;
  color: #fff2d6 !important;
  background: rgba(25, 12, 5, 0.92) !important;
  border: 1px solid rgba(225, 178, 97, 0.34) !important;
  border-radius: 16px !important;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.34) !important;
  backdrop-filter: blur(12px) !important;
}

html body.legal-document-page > .site-header.nizo-legal-premium-header .language-options button,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header .language-options button,
html body.legal-reader-page > .site-header.nizo-legal-premium-header .language-options button {
  width: 100% !important;
  color: #fff2d6 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 10px !important;
  text-align: left !important;
}

html body.legal-document-page > .site-header.nizo-legal-premium-header .language-options button:hover,
html body.legal-document-page > .site-header.nizo-legal-premium-header .language-options button:focus-visible,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header .language-options button:hover,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header .language-options button:focus-visible,
html body.legal-reader-page > .site-header.nizo-legal-premium-header .language-options button:hover,
html body.legal-reader-page > .site-header.nizo-legal-premium-header .language-options button:focus-visible {
  color: #ffe1a1 !important;
  background: rgba(226, 178, 97, 0.14) !important;
}

html body.legal-document-page .legal-simple-header .legal-header-actions,
html body.legal-document-page .legal-simple-header .legal-language-switch,
html body.legal-document-page .legal-simple-header .legal-home-link {
  display: none !important;
}

html body.legal-document-page .legal-document-main,
html body.legal-document-page .legal-pdf-main,
html body.legal-pdf-page .legal-pdf-main,
html body.legal-reader-page .legal-pdf-main {
  position: relative !important;
  z-index: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 100svh !important;
  padding: 102px clamp(18px, 4vw, 56px) 82px !important;
  background: transparent !important;
}

html body.legal-document-page .legal-pdf-layout,
html body.legal-pdf-page .legal-pdf-layout,
html body.legal-reader-page .legal-pdf-layout {
  display: grid !important;
  grid-template-columns: minmax(240px, 310px) minmax(0, 1fr) !important;
  gap: clamp(16px, 2vw, 24px) !important;
  width: min(1180px, calc(100vw - 92px)) !important;
  height: min(74svh, 700px) !important;
  min-height: 420px !important;
  margin: 0 auto !important;
  opacity: 0 !important;
  transform: translateY(72px) !important;
  animation: none !important;
  transition: opacity 820ms ease, transform 820ms ease !important;
}

html body.legal-document-page.is-legal-documents-visible .legal-pdf-layout,
html body.legal-pdf-page.is-legal-documents-visible .legal-pdf-layout,
html body.legal-reader-page.is-legal-documents-visible .legal-pdf-layout {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

html body.legal-document-page .legal-library,
html body.legal-document-page .legal-reader-viewer,
html body.legal-document-page .legal-pdf-viewer,
html body.legal-pdf-page .legal-library,
html body.legal-pdf-page .legal-reader-viewer,
html body.legal-pdf-page .legal-pdf-viewer,
html body.legal-reader-page .legal-library,
html body.legal-reader-page .legal-reader-viewer,
html body.legal-reader-page .legal-pdf-viewer {
  min-width: 0 !important;
  color: #fff0d2 !important;
  background: rgba(22, 10, 4, 0.58) !important;
  border: 1px solid rgba(232, 190, 119, 0.25) !important;
  border-radius: 24px !important;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 231, 177, 0.13) !important;
  backdrop-filter: blur(14px) saturate(1.05) !important;
}

html body.legal-document-page .legal-library,
html body.legal-pdf-page .legal-library,
html body.legal-reader-page .legal-library {
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
  height: 100% !important;
  padding: 18px !important;
  overflow: auto !important;
}

html body.legal-document-page .legal-library h2,
html body.legal-pdf-page .legal-library h2,
html body.legal-reader-page .legal-library h2 {
  margin: 0 0 8px !important;
  color: #ffe0a0 !important;
  font-size: 18px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

html body.legal-document-page .legal-library-link,
html body.legal-pdf-page .legal-library-link,
html body.legal-reader-page .legal-library-link {
  display: block !important;
  padding: 11px 12px !important;
  color: rgba(255, 239, 213, 0.82) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 14px !important;
  text-decoration: none !important;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease !important;
}

html body.legal-document-page .legal-library-link span,
html body.legal-pdf-page .legal-library-link span,
html body.legal-reader-page .legal-library-link span {
  display: block !important;
  color: inherit !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.18 !important;
}

html body.legal-document-page .legal-library-link:hover,
html body.legal-document-page .legal-library-link:focus-visible,
html body.legal-document-page .legal-library-link.is-active,
html body.legal-pdf-page .legal-library-link:hover,
html body.legal-pdf-page .legal-library-link:focus-visible,
html body.legal-pdf-page .legal-library-link.is-active,
html body.legal-reader-page .legal-library-link:hover,
html body.legal-reader-page .legal-library-link:focus-visible,
html body.legal-reader-page .legal-library-link.is-active {
  color: #ffe4aa !important;
  background: rgba(232, 190, 119, 0.14) !important;
  transform: translateX(2px) !important;
}

html body.legal-document-page .legal-reader-viewer,
html body.legal-document-page .legal-pdf-viewer,
html body.legal-pdf-page .legal-reader-viewer,
html body.legal-pdf-page .legal-pdf-viewer,
html body.legal-reader-page .legal-reader-viewer,
html body.legal-reader-page .legal-pdf-viewer {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  overflow: hidden !important;
}

html body.legal-document-page .legal-document-titlebar,
html body.legal-pdf-page .legal-document-titlebar,
html body.legal-reader-page .legal-document-titlebar {
  display: flex !important;
  align-items: center !important;
  min-height: 64px !important;
  padding: 16px clamp(18px, 2.5vw, 30px) !important;
  border-bottom: 1px solid rgba(232, 190, 119, 0.18) !important;
}

html body.legal-document-page .legal-document-titlebar h1,
html body.legal-pdf-page .legal-document-titlebar h1,
html body.legal-reader-page .legal-document-titlebar h1 {
  margin: 0 !important;
  color: #ffe0a0 !important;
  font-size: clamp(21px, 2.2vw, 32px) !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

html body.legal-document-page .legal-reader-scroll,
html body.legal-pdf-page .legal-reader-scroll,
html body.legal-reader-page .legal-reader-scroll {
  flex: 1 1 auto !important;
  height: auto !important;
  max-height: none !important;
  padding: clamp(18px, 2.5vw, 30px) !important;
  overflow: auto !important;
  scrollbar-color: rgba(232, 190, 119, 0.46) rgba(255, 255, 255, 0.08) !important;
}

html body.legal-document-page .legal-reader-article,
html body.legal-pdf-page .legal-reader-article,
html body.legal-reader-page .legal-reader-article {
  max-width: 840px !important;
  margin: 0 auto !important;
  color: rgba(255, 241, 218, 0.9) !important;
}

html body.legal-document-page .legal-reader-article h2,
html body.legal-pdf-page .legal-reader-article h2,
html body.legal-reader-page .legal-reader-article h2 {
  margin: 1.15em 0 0.45em !important;
  color: #ffe0a0 !important;
  font-size: clamp(20px, 1.8vw, 28px) !important;
  line-height: 1.15 !important;
}

html body.legal-document-page .legal-reader-article p,
html body.legal-document-page .legal-reader-article li,
html body.legal-pdf-page .legal-reader-article p,
html body.legal-pdf-page .legal-reader-article li,
html body.legal-reader-page .legal-reader-article p,
html body.legal-reader-page .legal-reader-article li {
  color: rgba(255, 241, 218, 0.88) !important;
  font-size: clamp(15px, 1.12vw, 18px) !important;
  line-height: 1.52 !important;
}

html body.legal-document-page .legal-reader-intro,
html body.legal-document-page .legal-reader-contact,
html body.legal-document-page .legal-reader-note,
html body.legal-pdf-page .legal-reader-intro,
html body.legal-pdf-page .legal-reader-contact,
html body.legal-pdf-page .legal-reader-note,
html body.legal-reader-page .legal-reader-intro,
html body.legal-reader-page .legal-reader-contact,
html body.legal-reader-page .legal-reader-note {
  color: rgba(255, 226, 184, 0.78) !important;
}

html body.legal-document-page .legal-document-pdf-link,
html body.legal-pdf-page .legal-document-pdf-link,
html body.legal-reader-page .legal-document-pdf-link {
  display: none !important;
}

html body.legal-document-page .floating-social-dock,
html body.legal-pdf-page .floating-social-dock,
html body.legal-reader-page .floating-social-dock {
  bottom: 12px !important;
  z-index: 70 !important;
}

html body.legal-document-page footer#help.site-footer,
html body.legal-pdf-page footer#help.site-footer,
html body.legal-reader-page footer#help.site-footer {
  bottom: 14px !important;
  z-index: 65 !important;
}

@media (max-width: 980px) {
  html body.legal-document-page .legal-pdf-layout,
  html body.legal-pdf-page .legal-pdf-layout,
  html body.legal-reader-page .legal-pdf-layout {
    width: min(760px, calc(100vw - 32px)) !important;
    height: min(76svh, 720px) !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: minmax(112px, 170px) minmax(0, 1fr) !important;
  }

  html body.legal-document-page .legal-library,
  html body.legal-pdf-page .legal-library,
  html body.legal-reader-page .legal-library {
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 8px !important;
    padding: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }

  html body.legal-document-page .legal-library h2,
  html body.legal-pdf-page .legal-library h2,
  html body.legal-reader-page .legal-library h2 {
    position: sticky !important;
    left: 0 !important;
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 4px 0 0 !important;
    padding-right: 8px !important;
    background: rgba(22, 10, 4, 0.86) !important;
  }

  html body.legal-document-page .legal-library-link,
  html body.legal-pdf-page .legal-library-link,
  html body.legal-reader-page .legal-library-link {
    flex: 0 0 min(210px, 58vw) !important;
  }
}

@media (max-width: 820px) {
  html body.legal-document-page > .site-header.nizo-legal-premium-header,
  html body.legal-pdf-page > .site-header.nizo-legal-premium-header,
  html body.legal-reader-page > .site-header.nizo-legal-premium-header {
    grid-template-columns: 1fr auto !important;
    min-height: 96px !important;
    padding: 12px 16px !important;
    row-gap: 8px !important;
  }

  html body.legal-document-page > .site-header.nizo-legal-premium-header .nav-links,
  html body.legal-pdf-page > .site-header.nizo-legal-premium-header .nav-links,
  html body.legal-reader-page > .site-header.nizo-legal-premium-header .nav-links {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    gap: clamp(18px, 7vw, 34px) !important;
  }

  html body.legal-document-page > .site-header.nizo-legal-premium-header .header-actions,
  html body.legal-pdf-page > .site-header.nizo-legal-premium-header .header-actions,
  html body.legal-reader-page > .site-header.nizo-legal-premium-header .header-actions {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  html body.legal-document-page .legal-document-main,
  html body.legal-document-page .legal-pdf-main,
  html body.legal-pdf-page .legal-pdf-main,
  html body.legal-reader-page .legal-pdf-main {
    padding: 112px 12px 74px !important;
  }

  html body.legal-document-page .legal-pdf-layout,
  html body.legal-pdf-page .legal-pdf-layout,
  html body.legal-reader-page .legal-pdf-layout {
    width: calc(100vw - 24px) !important;
    height: calc(100svh - 198px) !important;
    min-height: 430px !important;
  }
}

@media (max-width: 560px) {
  html body.legal-document-page > .site-header.nizo-legal-premium-header .home-premium-brand__text,
  html body.legal-pdf-page > .site-header.nizo-legal-premium-header .home-premium-brand__text,
  html body.legal-reader-page > .site-header.nizo-legal-premium-header .home-premium-brand__text {
    font-size: 26px !important;
  }

  html body.legal-document-page > .site-header.nizo-legal-premium-header .nav-links a,
  html body.legal-pdf-page > .site-header.nizo-legal-premium-header .nav-links a,
  html body.legal-reader-page > .site-header.nizo-legal-premium-header .nav-links a {
    font-size: 14px !important;
  }

  html body.legal-document-page .legal-pdf-layout,
  html body.legal-pdf-page .legal-pdf-layout,
  html body.legal-reader-page .legal-pdf-layout {
    grid-template-rows: minmax(98px, 146px) minmax(0, 1fr) !important;
  }

  html body.legal-document-page .legal-document-titlebar,
  html body.legal-pdf-page .legal-document-titlebar,
  html body.legal-reader-page .legal-document-titlebar {
    min-height: 56px !important;
    padding: 13px 16px !important;
  }

  html body.legal-document-page .legal-reader-scroll,
  html body.legal-pdf-page .legal-reader-scroll,
  html body.legal-reader-page .legal-reader-scroll {
    padding: 16px !important;
  }
}

/* Legal documents polish: logo drawing and compact mobile strip. */
html body.legal-document-page > .site-header.nizo-legal-premium-header .home-premium-brand__icon svg *,
html body.legal-pdf-page > .site-header.nizo-legal-premium-header .home-premium-brand__icon svg *,
html body.legal-reader-page > .site-header.nizo-legal-premium-header .home-premium-brand__icon svg * {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

@media (max-width: 980px) {
  html body.legal-document-page .legal-pdf-layout,
  html body.legal-pdf-page .legal-pdf-layout,
  html body.legal-reader-page .legal-pdf-layout {
    grid-template-rows: 104px minmax(0, 1fr) !important;
  }

  html body.legal-document-page .legal-library,
  html body.legal-pdf-page .legal-library,
  html body.legal-reader-page .legal-library {
    align-items: center !important;
    height: 104px !important;
    padding: 10px !important;
  }

  html body.legal-document-page .legal-library h2,
  html body.legal-pdf-page .legal-library h2,
  html body.legal-reader-page .legal-library h2 {
    height: 64px !important;
    min-width: 104px !important;
    padding: 0 12px !important;
    color: #ffe0a0 !important;
    font-size: 16px !important;
    background: rgba(28, 12, 4, 0.46) !important;
    border-radius: 14px !important;
  }

  html body.legal-document-page .legal-library-link,
  html body.legal-pdf-page .legal-library-link,
  html body.legal-reader-page .legal-library-link {
    flex: 0 0 170px !important;
    min-height: 64px !important;
    padding: 10px 12px !important;
  }

  html body.legal-document-page .legal-library-link span,
  html body.legal-pdf-page .legal-library-link span,
  html body.legal-reader-page .legal-library-link span {
    font-size: 14px !important;
  }
}

@media (max-width: 560px) {
  html body.legal-document-page .legal-pdf-layout,
  html body.legal-pdf-page .legal-pdf-layout,
  html body.legal-reader-page .legal-pdf-layout {
    grid-template-rows: 88px minmax(0, 1fr) !important;
    height: calc(100svh - 184px) !important;
    min-height: 420px !important;
  }

  html body.legal-document-page .legal-library,
  html body.legal-pdf-page .legal-library,
  html body.legal-reader-page .legal-library {
    height: 88px !important;
    padding: 8px !important;
  }

  html body.legal-document-page .legal-library h2,
  html body.legal-pdf-page .legal-library h2,
  html body.legal-reader-page .legal-library h2,
  html body.legal-document-page .legal-library-link,
  html body.legal-pdf-page .legal-library-link,
  html body.legal-reader-page .legal-library-link {
    min-height: 54px !important;
    height: 54px !important;
  }

  html body.legal-document-page .legal-library h2,
  html body.legal-pdf-page .legal-library h2,
  html body.legal-reader-page .legal-library h2 {
    min-width: 92px !important;
    font-size: 14px !important;
  }

  html body.legal-document-page .legal-library-link,
  html body.legal-pdf-page .legal-library-link,
  html body.legal-reader-page .legal-library-link {
    flex-basis: 146px !important;
    padding: 8px 10px !important;
  }

  html body.legal-document-page .legal-library-link span,
  html body.legal-pdf-page .legal-library-link span,
  html body.legal-reader-page .legal-library-link span {
    font-size: 13px !important;
    line-height: 1.12 !important;
  }
}

/* Auth final pass: simple login/registration form, 2026-06-26. */
html body.auth-page-shell {
  --auth-wood: #4a230b;
  --auth-wood-dark: #221006;
  --auth-gold: #d9ad69;
  --auth-cream: #fff1dc;
  min-height: 100svh !important;
  overflow: hidden !important;
  color: #2b190b !important;
  background:
    linear-gradient(90deg, rgba(18, 8, 3, 0.58), rgba(18, 8, 3, 0.12), rgba(18, 8, 3, 0.58)),
    linear-gradient(180deg, rgba(255, 238, 203, 0.08), rgba(32, 15, 5, 0.22)),
    url("./assets/auth-legal-court-bg-20260623.png") center center / cover no-repeat fixed !important;
  font-family: Georgia, "Times New Roman", serif !important;
}

html body.auth-page-shell .auth-page {
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-rows: auto auto !important;
  align-content: center !important;
  justify-items: center !important;
  gap: clamp(14px, 2.5vh, 24px) !important;
  width: 100% !important;
  min-height: 100svh !important;
  padding: clamp(18px, 3vh, 30px) clamp(16px, 4vw, 52px) clamp(58px, 9vh, 92px) !important;
}

html body.auth-page-shell .auth-page-brand {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: max-content !important;
  margin: 0 auto !important;
  color: var(--auth-cream) !important;
  text-decoration: none !important;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.46) !important;
  transform: none !important;
}

html body.auth-page-shell .auth-page-brand:hover,
html body.auth-page-shell .auth-page-brand:focus-visible {
  color: #ffe2a2 !important;
  outline: none !important;
}

html body.auth-page-shell .auth-page-brand .home-premium-brand__icon {
  width: 34px !important;
  height: 34px !important;
  color: currentColor !important;
}

html body.auth-page-shell .auth-page-brand .home-premium-brand__icon svg * {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

html body.auth-page-shell .auth-page-brand .home-premium-brand__text {
  color: currentColor !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(34px, 4.2vw, 48px) !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

html body.auth-page-shell .auth-page-panel {
  box-sizing: border-box !important;
  width: min(100%, 620px) !important;
  max-height: calc(100svh - 140px) !important;
  margin: 0 auto !important;
  overflow: auto !important;
  border: 1px solid rgba(230, 185, 111, 0.34) !important;
  border-radius: 24px !important;
  background:
    linear-gradient(145deg, rgba(255, 246, 232, 0.93), rgba(239, 216, 182, 0.82)) !important;
  box-shadow: 0 30px 84px rgba(18, 8, 3, 0.38) !important;
  padding: clamp(26px, 4vw, 42px) !important;
}

html body.auth-page-shell .auth-page-toolbar {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: start !important;
  gap: 16px !important;
  margin: 0 0 24px !important;
}

html body.auth-page-shell .auth-mode-tabs {
  display: inline-flex !important;
  align-items: center !important;
  gap: clamp(18px, 4vw, 30px) !important;
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.auth-page-shell .auth-mode-tabs a {
  position: relative !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(58, 39, 23, 0.62) !important;
  padding: 0 0 8px !important;
  font-size: clamp(17px, 2.1vw, 21px) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

html body.auth-page-shell .auth-mode-tabs a::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 2px !important;
  border-radius: 99px !important;
  background: currentColor !important;
  opacity: 0 !important;
  transform: scaleX(0.45) !important;
  transition: opacity 160ms ease, transform 160ms ease !important;
}

html body.auth-page-shell .auth-mode-tabs a.is-active,
html body.auth-page-shell .auth-mode-tabs a:hover,
html body.auth-page-shell .auth-mode-tabs a:focus-visible {
  color: var(--auth-wood) !important;
  outline: none !important;
}

html body.auth-page-shell .auth-mode-tabs a.is-active::after,
html body.auth-page-shell .auth-mode-tabs a:hover::after,
html body.auth-page-shell .auth-mode-tabs a:focus-visible::after {
  opacity: 1 !important;
  transform: scaleX(1) !important;
}

html body.auth-page-shell .auth-toolbar-actions {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
}

html body.auth-page-shell .auth-exit-link {
  display: none !important;
}

html body.auth-page-shell .auth-language-control select {
  min-width: 132px !important;
  height: 38px !important;
  margin: 0 !important;
  border: 1px solid rgba(87, 51, 20, 0.18) !important;
  border-radius: 10px !important;
  background: rgba(255, 248, 238, 0.72) !important;
  color: var(--auth-wood-dark) !important;
  padding: 0 12px !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

html body.auth-page-shell .auth-page-form {
  gap: 16px !important;
}

html body.auth-page-shell .auth-page-form label:not(.auth-checkbox),
html body.auth-page-shell .auth-step-note,
html body.auth-page-shell .auth-status {
  color: rgba(45, 28, 13, 0.74) !important;
  font-size: 15px !important;
  font-weight: 650 !important;
}

html body.auth-page-shell .auth-page-form input,
html body.auth-page-shell .phone-prefix-field .phone-input-shell {
  min-height: 58px !important;
  border: 1px solid rgba(87, 51, 20, 0.18) !important;
  border-radius: 14px !important;
  background: rgba(255, 253, 247, 0.82) !important;
  color: #211207 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62) !important;
}

html body.auth-page-shell .phone-prefix-field .phone-input-shell {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 8px !important;
  padding: 0 16px !important;
}

html body.auth-page-shell .phone-prefix-field .phone-input-shell input {
  min-height: 56px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.auth-page-shell .phone-prefix {
  color: #1f1207 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}

html body.auth-page-shell .auth-page-form input::placeholder {
  color: rgba(43, 25, 11, 0.36) !important;
  font-weight: 500 !important;
}

html body.auth-page-shell .auth-page-form input:focus,
html body.auth-page-shell .phone-prefix-field .phone-input-shell:focus-within,
html body.auth-page-shell .auth-language-control select:focus {
  border-color: rgba(130, 72, 20, 0.55) !important;
  box-shadow: 0 0 0 4px rgba(205, 151, 76, 0.16) !important;
  outline: none !important;
}

html body.auth-page-shell .primary-button.full-width,
html body.auth-page-shell .auth-done .primary-button {
  min-height: 58px !important;
  border: 1px solid rgba(255, 221, 160, 0.26) !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #6b3714, #321406) !important;
  color: #fff4dd !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 22px !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
  box-shadow: 0 18px 42px rgba(62, 29, 10, 0.24) !important;
}

html body.auth-page-shell .primary-button.full-width:hover,
html body.auth-page-shell .primary-button.full-width:focus-visible,
html body.auth-page-shell .auth-done .primary-button:hover,
html body.auth-page-shell .auth-done .primary-button:focus-visible {
  background: linear-gradient(135deg, #7a4219, #3b1808) !important;
  outline: none !important;
  transform: translateY(-1px) !important;
}

html body.auth-page-shell .auth-page-links {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 14px 22px !important;
  margin-top: 22px !important;
}

html body.auth-page-shell .auth-page-links a,
html body.auth-page-shell .auth-legal-note a {
  color: #5b2b0e !important;
  font-weight: 650 !important;
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
}

html body.auth-page-shell .auth-page-links a:hover,
html body.auth-page-shell .auth-page-links a:focus-visible,
html body.auth-page-shell .auth-legal-note a:hover,
html body.auth-page-shell .auth-legal-note a:focus-visible {
  color: #8b551e !important;
  outline: none !important;
}

html body.auth-page-shell .auth-legal-note.compact {
  margin: 2px 0 0 !important;
  color: rgba(45, 28, 13, 0.62) !important;
  font-size: 14px !important;
  line-height: 1.58 !important;
}

html body.auth-page-shell .auth-step-title {
  margin: 0 !important;
  color: #251407 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(30px, 4vw, 42px) !important;
  font-weight: 700 !important;
}

html body.auth-page-shell .auth-done strong {
  display: block !important;
  color: #251407 !important;
  font-size: 24px !important;
  margin-bottom: 8px !important;
}

html body.auth-page-shell .floating-social-dock,
html body.auth-page-shell .site-footer {
  opacity: 0.42 !important;
}

@media (max-width: 680px) {
  html body.auth-page-shell {
    overflow: auto !important;
    background-position: center center !important;
  }

  html body.auth-page-shell .auth-page {
    align-content: start !important;
    gap: 12px !important;
    padding: 18px 12px 30px !important;
  }

  html body.auth-page-shell .auth-page-panel {
    width: 100% !important;
    max-height: none !important;
    border-radius: 18px !important;
    padding: 20px !important;
  }

  html body.auth-page-shell .auth-page-toolbar {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  html body.auth-page-shell .auth-mode-tabs {
    justify-content: space-between !important;
    gap: 16px !important;
    width: 100% !important;
  }

  html body.auth-page-shell .auth-mode-tabs a {
    flex: 0 1 auto !important;
    text-align: left !important;
  }

  html body.auth-page-shell .auth-toolbar-actions,
  html body.auth-page-shell .auth-language-control,
  html body.auth-page-shell .auth-language-control select {
    width: 100% !important;
  }

html body.auth-page-shell .auth-page-form input,
  html body.auth-page-shell .phone-prefix-field .phone-input-shell,
  html body.auth-page-shell .primary-button.full-width {
    min-height: 52px !important;
    font-size: 16px !important;
  }

  html body.auth-page-shell .auth-page-brand .home-premium-brand__text {
    font-size: 30px !important;
  }

  html body.auth-page-shell .floating-social-dock,
  html body.auth-page-shell .site-footer {
    display: none !important;
  }
}

/* Cabinet final pass 2026-06-26: stable clean workspace. Keep this block last. */
html body.cabinet-page.cabinet-chat-page {
  --nizo-cabinet-sidebar-open: clamp(278px, 21vw, 316px);
  --nizo-cabinet-sidebar-closed: 76px;
  --nizo-cabinet-ink: #21150c;
  --nizo-cabinet-ink-muted: rgba(48, 34, 21, 0.72);
  --nizo-cabinet-wood: #4c2711;
  --nizo-cabinet-brass: #b4843e;
  --nizo-cabinet-paper: rgba(247, 237, 219, 0.9);
  min-height: 100svh !important;
  overflow: hidden !important;
  background:
    linear-gradient(90deg, rgba(25, 12, 5, 0.16), rgba(25, 12, 5, 0.03) 44%, rgba(25, 12, 5, 0.24)),
    url("./assets/nizo-cabinet-court-bg-20260625.png") center center / cover no-repeat fixed !important;
}

html body.cabinet-page.cabinet-chat-page > .cabinet-chat-app[data-cabinet-page] {
  display: grid !important;
  grid-template-columns: var(--nizo-cabinet-sidebar-open) minmax(0, 1fr) !important;
  width: 100vw !important;
  min-height: 100svh !important;
  overflow: hidden !important;
  background:
    linear-gradient(90deg, rgba(29, 15, 7, 0.12), rgba(29, 15, 7, 0.02) 48%, rgba(29, 15, 7, 0.2)),
    url("./assets/nizo-cabinet-court-bg-20260625.png") center center / cover no-repeat fixed !important;
}

html body.cabinet-page.cabinet-chat-page.is-cabinet-sidebar-collapsed > .cabinet-chat-app[data-cabinet-page],
html body.cabinet-page.cabinet-chat-page > .cabinet-chat-app[data-cabinet-page]:has(.cabinet-chat-sidebar.is-collapsed) {
  grid-template-columns: var(--nizo-cabinet-sidebar-closed) minmax(0, 1fr) !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-chat-sidebar[data-cabinet-sidebar],
html body.cabinet-page.cabinet-chat-page .cabinet-chat-sidebar.is-expanded[data-cabinet-sidebar],
html body.cabinet-page.cabinet-chat-page .cabinet-chat-sidebar.is-collapsed[data-cabinet-sidebar] {
  position: relative !important;
  inset: auto !important;
  display: flex !important;
  flex-direction: column !important;
  width: var(--nizo-cabinet-sidebar-open) !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 100svh !important;
  padding: 18px 14px 16px !important;
  overflow: visible !important;
  color: var(--nizo-cabinet-ink) !important;
  border-right: 1px solid rgba(91, 57, 27, 0.2) !important;
  background:
    linear-gradient(180deg, rgba(250, 242, 228, 0.9), rgba(226, 206, 176, 0.82)),
    radial-gradient(circle at 20% 0%, rgba(255, 251, 241, 0.8), transparent 38%) !important;
  box-shadow: 20px 0 60px rgba(31, 16, 6, 0.14) !important;
  backdrop-filter: blur(18px) saturate(1.08) !important;
  transition: width 180ms ease, padding 180ms ease !important;
}

html body.cabinet-page.cabinet-chat-page.is-cabinet-sidebar-collapsed .cabinet-chat-sidebar[data-cabinet-sidebar],
html body.cabinet-page.cabinet-chat-page .cabinet-chat-sidebar.is-collapsed[data-cabinet-sidebar] {
  width: var(--nizo-cabinet-sidebar-closed) !important;
  max-width: var(--nizo-cabinet-sidebar-closed) !important;
  padding-inline: 10px !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-sidebar-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 38px !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 0 22px !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-sidebar-brand {
  display: inline-grid !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #f4dfb9 !important;
  box-shadow: none !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-court-brand__mark {
  display: grid !important;
  place-items: center !important;
  width: 42px !important;
  height: 42px !important;
  color: #b9873c !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-court-brand__mark svg {
  width: 34px !important;
  height: 34px !important;
  stroke: currentColor !important;
  stroke-width: 1.7 !important;
  fill: none !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-court-brand__text {
  overflow: hidden !important;
  color: var(--nizo-cabinet-ink) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 31px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

html body.cabinet-page.cabinet-chat-page.is-cabinet-sidebar-collapsed .cabinet-sidebar-head,
html body.cabinet-page.cabinet-chat-page .cabinet-chat-sidebar.is-collapsed .cabinet-sidebar-head {
  grid-template-columns: 1fr !important;
  justify-items: center !important;
  gap: 12px !important;
}

html body.cabinet-page.cabinet-chat-page.is-cabinet-sidebar-collapsed .cabinet-sidebar-brand,
html body.cabinet-page.cabinet-chat-page .cabinet-chat-sidebar.is-collapsed .cabinet-sidebar-brand {
  grid-template-columns: 1fr !important;
  justify-items: center !important;
}

html body.cabinet-page.cabinet-chat-page.is-cabinet-sidebar-collapsed .cabinet-court-brand__text,
html body.cabinet-page.cabinet-chat-page .cabinet-chat-sidebar.is-collapsed .cabinet-court-brand__text,
html body.cabinet-page.cabinet-chat-page.is-cabinet-sidebar-collapsed .cabinet-sidebar-nav span,
html body.cabinet-page.cabinet-chat-page .cabinet-chat-sidebar.is-collapsed .cabinet-sidebar-nav span,
html body.cabinet-page.cabinet-chat-page.is-cabinet-sidebar-collapsed .cabinet-nav-chevron,
html body.cabinet-page.cabinet-chat-page .cabinet-chat-sidebar.is-collapsed .cabinet-nav-chevron,
html body.cabinet-page.cabinet-chat-page.is-cabinet-sidebar-collapsed .cabinet-profile-meta,
html body.cabinet-page.cabinet-chat-page .cabinet-chat-sidebar.is-collapsed .cabinet-profile-meta,
html body.cabinet-page.cabinet-chat-page.is-cabinet-sidebar-collapsed .cabinet-profile-chevron,
html body.cabinet-page.cabinet-chat-page .cabinet-chat-sidebar.is-collapsed .cabinet-profile-chevron {
  display: none !important;
}

html body.cabinet-page.cabinet-chat-page.is-cabinet-sidebar-collapsed .cabinet-court-brand__mark,
html body.cabinet-page.cabinet-chat-page .cabinet-chat-sidebar.is-collapsed .cabinet-court-brand__mark {
  width: 42px !important;
  height: 42px !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-sidebar-toggle {
  display: grid !important;
  place-items: center !important;
  width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: rgba(35, 25, 16, 0.78) !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-sidebar-toggle:hover,
html body.cabinet-page.cabinet-chat-page .cabinet-sidebar-toggle:focus-visible {
  background: rgba(90, 57, 27, 0.12) !important;
  outline: none !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-sidebar-nav {
  display: grid !important;
  gap: 8px !important;
  overflow: visible !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-sidebar-nav > button {
  display: grid !important;
  grid-template-columns: 30px minmax(0, 1fr) 18px !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  min-height: 48px !important;
  padding: 0 13px !important;
  overflow: hidden !important;
  border: 1px solid transparent !important;
  border-radius: 14px !important;
  background: transparent !important;
  color: var(--nizo-cabinet-ink) !important;
  font-size: 16px !important;
  font-weight: 680 !important;
  line-height: 1.15 !important;
  text-align: left !important;
  white-space: nowrap !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-sidebar-nav > button svg:first-child {
  width: 24px !important;
  height: 24px !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-sidebar-nav > button span {
  display: block !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-sidebar-nav > button:hover,
html body.cabinet-page.cabinet-chat-page .cabinet-sidebar-nav > button:focus-visible,
html body.cabinet-page.cabinet-chat-page .cabinet-sidebar-nav > button.is-active,
html body.cabinet-page.cabinet-chat-page .cabinet-sidebar-nav > button.is-expanded {
  border-color: rgba(111, 70, 32, 0.18) !important;
  background: rgba(88, 57, 30, 0.1) !important;
  box-shadow: none !important;
  outline: none !important;
}

html body.cabinet-page.cabinet-chat-page.is-cabinet-sidebar-collapsed .cabinet-sidebar-nav > button,
html body.cabinet-page.cabinet-chat-page .cabinet-chat-sidebar.is-collapsed .cabinet-sidebar-nav > button {
  grid-template-columns: 1fr !important;
  justify-items: center !important;
  min-height: 48px !important;
  padding: 0 !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-case-nav-list {
  display: grid !important;
  gap: 7px !important;
  margin: 4px 0 10px !important;
  padding: 0 0 0 0 !important;
  overflow: visible !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-case-nav-list[hidden],
html body.cabinet-page.cabinet-chat-page.is-cabinet-sidebar-collapsed .cabinet-case-nav-list,
html body.cabinet-page.cabinet-chat-page .cabinet-chat-sidebar.is-collapsed .cabinet-case-nav-list {
  display: none !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-case-nav-create,
html body.cabinet-page.cabinet-chat-page .cabinet-case-nav-item {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 40px !important;
  padding: 0 40px 0 44px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: rgba(38, 27, 17, 0.9) !important;
  font-size: 15px !important;
  font-weight: 660 !important;
  line-height: 1.2 !important;
  text-align: left !important;
  white-space: nowrap !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-case-nav-create {
  padding-right: 12px !important;
  font-size: 15.5px !important;
  font-weight: 520 !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-case-nav-item span {
  display: block !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-case-nav-row {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-case-nav-row.is-active .cabinet-case-nav-item,
html body.cabinet-page.cabinet-chat-page .cabinet-case-nav-row:hover .cabinet-case-nav-item {
  background: rgba(88, 57, 30, 0.12) !important;
  color: var(--nizo-cabinet-ink) !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-case-nav-action,
html body.cabinet-page.cabinet-chat-page .cabinet-dialog-actions-button {
  position: absolute !important;
  top: 50% !important;
  right: 6px !important;
  z-index: 5 !important;
  display: grid !important;
  place-items: center !important;
  width: 32px !important;
  min-width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: rgba(36, 26, 17, 0.7) !important;
  transform: translateY(-50%) !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-case-nav-action:hover,
html body.cabinet-page.cabinet-chat-page .cabinet-case-nav-action:focus-visible,
html body.cabinet-page.cabinet-chat-page .cabinet-case-nav-action[aria-expanded="true"],
html body.cabinet-page.cabinet-chat-page .cabinet-dialog-actions-button:hover,
html body.cabinet-page.cabinet-chat-page .cabinet-dialog-actions-button:focus-visible,
html body.cabinet-page.cabinet-chat-page .cabinet-dialog-actions-button[aria-expanded="true"] {
  background: rgba(88, 57, 30, 0.12) !important;
  outline: none !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-sidebar-spacer {
  min-height: 0 !important;
  overflow: visible !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-sidebar-dialogs {
  display: grid !important;
  gap: 7px !important;
  max-height: min(30svh, 260px) !important;
  margin-top: 18px !important;
  padding-right: 2px !important;
  overflow: auto !important;
  scrollbar-width: thin !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-sidebar-dialogs[hidden],
html body.cabinet-page.cabinet-chat-page.is-cabinet-sidebar-collapsed .cabinet-sidebar-dialogs,
html body.cabinet-page.cabinet-chat-page .cabinet-chat-sidebar.is-collapsed .cabinet-sidebar-dialogs {
  display: none !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-sidebar-dialogs-title {
  display: grid !important;
  grid-template-columns: 30px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 13px !important;
  color: rgba(43, 31, 20, 0.68) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-dialog-list-item {
  position: relative !important;
  min-width: 0 !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-dialog-list-button {
  display: grid !important;
  align-content: center !important;
  gap: 2px !important;
  width: 100% !important;
  min-height: 46px !important;
  padding: 7px 42px 7px 44px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: var(--nizo-cabinet-ink) !important;
  text-align: left !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-dialog-list-button:hover,
html body.cabinet-page.cabinet-chat-page .cabinet-dialog-list-button:focus-visible,
html body.cabinet-page.cabinet-chat-page .cabinet-dialog-list-button.is-active {
  background: rgba(88, 57, 30, 0.12) !important;
  outline: none !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-dialog-list-button span,
html body.cabinet-page.cabinet-chat-page .cabinet-dialog-list-button small {
  display: block !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-dialog-list-button span {
  font-size: 14px !important;
  font-weight: 700 !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-dialog-list-button small {
  color: rgba(60, 46, 32, 0.52) !important;
  font-size: 11.5px !important;
  font-weight: 520 !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-dialog-menu,
html body.cabinet-page.cabinet-chat-page .cabinet-case-nav-menu {
  position: absolute !important;
  top: 50% !important;
  left: calc(100% + 10px) !important;
  right: auto !important;
  z-index: 120 !important;
  display: grid !important;
  gap: 4px !important;
  width: 188px !important;
  min-width: 188px !important;
  padding: 8px !important;
  border: 1px solid rgba(92, 57, 27, 0.2) !important;
  border-radius: 16px !important;
  background: linear-gradient(145deg, rgba(252, 245, 233, 0.98), rgba(232, 211, 181, 0.98)) !important;
  box-shadow: 0 22px 54px rgba(29, 14, 5, 0.24) !important;
  transform: translateY(-50%) !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-dialog-menu[hidden],
html body.cabinet-page.cabinet-chat-page .cabinet-case-nav-menu[hidden] {
  display: none !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-dialog-menu button,
html body.cabinet-page.cabinet-chat-page .cabinet-case-nav-menu button {
  display: block !important;
  width: 100% !important;
  min-height: 36px !important;
  padding: 8px 10px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: rgba(39, 26, 15, 0.92) !important;
  font-size: 14px !important;
  font-weight: 620 !important;
  text-align: left !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-dialog-menu button:hover,
html body.cabinet-page.cabinet-chat-page .cabinet-dialog-menu button:focus-visible,
html body.cabinet-page.cabinet-chat-page .cabinet-case-nav-menu button:hover,
html body.cabinet-page.cabinet-chat-page .cabinet-case-nav-menu button:focus-visible {
  background: rgba(88, 57, 30, 0.12) !important;
  outline: none !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-dialog-menu button.is-danger,
html body.cabinet-page.cabinet-chat-page .cabinet-case-nav-menu button.is-danger {
  color: #a53628 !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-chat-workspace {
  position: relative !important;
  min-width: 0 !important;
  min-height: 100svh !important;
  overflow: hidden !important;
  background: transparent !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-chat-workspace::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background:
    radial-gradient(ellipse at 50% 31%, rgba(255, 237, 202, 0.35), rgba(255, 237, 202, 0.05) 38%, transparent 68%),
    linear-gradient(180deg, rgba(34, 18, 8, 0.04), rgba(18, 8, 2, 0.12)) !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-top-actions {
  position: absolute !important;
  top: 22px !important;
  right: 24px !important;
  z-index: 4 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  width: auto !important;
  pointer-events: auto !important;
}

html body.cabinet-page.cabinet-chat-page [data-theme-toggle],
html body.cabinet-page.cabinet-chat-page .theme-toggle,
html body.cabinet-page.cabinet-chat-page .cabinet-theme-toggle {
  display: none !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-top-language,
html body.cabinet-page.cabinet-chat-page .cabinet-top-actions .language-menu {
  position: relative !important;
  display: inline-flex !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-top-actions .language-trigger {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  min-width: 48px !important;
  height: 42px !important;
  border: 1px solid rgba(255, 238, 205, 0.34) !important;
  border-radius: 14px !important;
  background: rgba(241, 222, 190, 0.78) !important;
  box-shadow: 0 14px 34px rgba(31, 16, 6, 0.2) !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-chat-center {
  position: relative !important;
  z-index: 2 !important;
  display: grid !important;
  grid-template-rows: auto auto !important;
  align-content: center !important;
  justify-items: center !important;
  min-height: 100svh !important;
  padding: clamp(80px, 11svh, 132px) clamp(24px, 4vw, 64px) clamp(76px, 9svh, 120px) !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-empty-state {
  display: block !important;
  width: min(880px, 100%) !important;
  margin: 0 0 24px !important;
  text-align: center !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-empty-state[hidden] {
  display: none !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-empty-state h1 {
  margin: 0 !important;
  color: #fff2d7 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(38px, 5vw, 68px) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
  text-shadow: 0 4px 24px rgba(21, 10, 3, 0.58) !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-chat-composer {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) auto 40px 52px !important;
  align-items: center !important;
  gap: 10px !important;
  width: min(820px, 100%) !important;
  min-height: 62px !important;
  margin: 0 auto !important;
  padding: 8px 10px !important;
  border: 1px solid rgba(238, 210, 168, 0.68) !important;
  border-radius: 999px !important;
  background: rgba(255, 248, 236, 0.86) !important;
  box-shadow:
    0 30px 80px rgba(28, 14, 5, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.74) !important;
  backdrop-filter: blur(16px) saturate(1.05) !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-chat-composer[hidden] {
  display: none !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-composer-icon,
html body.cabinet-page.cabinet-chat-page .cabinet-send-button {
  display: grid !important;
  place-items: center !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: rgba(42, 25, 12, 0.82) !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-composer-icon:hover,
html body.cabinet-page.cabinet-chat-page .cabinet-composer-icon:focus-visible {
  background: rgba(94, 52, 22, 0.1) !important;
  outline: none !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-composer-icon.is-recording {
  color: #9d3a28 !important;
  background: rgba(157, 58, 40, 0.12) !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-composer-icon svg,
html body.cabinet-page.cabinet-chat-page .cabinet-send-button svg {
  width: 23px !important;
  height: 23px !important;
  stroke: currentColor !important;
  stroke-width: 1.9 !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-chat-composer textarea {
  min-width: 0 !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 132px !important;
  padding: 4px 0 !important;
  border: 0 !important;
  outline: none !important;
  resize: none !important;
  background: transparent !important;
  color: var(--nizo-cabinet-ink) !important;
  font-size: 17px !important;
  line-height: 1.35 !important;
  box-shadow: none !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-chat-composer textarea::placeholder {
  color: rgba(55, 38, 23, 0.42) !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-model-pill {
  min-width: 0 !important;
  max-width: 132px !important;
  height: 38px !important;
  padding: 0 12px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(94, 52, 22, 0.08) !important;
  color: rgba(43, 30, 19, 0.68) !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-send-button {
  width: 52px !important;
  height: 46px !important;
  border-radius: 999px !important;
  background: linear-gradient(145deg, #5b3015, #291306) !important;
  color: #fff1d6 !important;
  box-shadow: 0 12px 26px rgba(36, 17, 5, 0.24) !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-send-button:hover,
html body.cabinet-page.cabinet-chat-page .cabinet-send-button:focus-visible {
  background: linear-gradient(145deg, #704019, #351708) !important;
  outline: none !important;
}

html body.cabinet-page.cabinet-chat-page.has-cabinet-cases .cabinet-chat-center,
html body.cabinet-page.cabinet-chat-page.has-cabinet-documents .cabinet-chat-center,
html body.cabinet-page.cabinet-chat-page.has-cabinet-profile .cabinet-chat-center {
  align-content: start !important;
  justify-items: center !important;
  padding-top: clamp(70px, 8svh, 106px) !important;
  overflow: auto !important;
}

html body.cabinet-page.cabinet-chat-page.has-cabinet-cases .cabinet-chat-composer,
html body.cabinet-page.cabinet-chat-page.has-cabinet-documents .cabinet-chat-composer,
html body.cabinet-page.cabinet-chat-page.has-cabinet-profile .cabinet-chat-composer {
  display: none !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-cases-panel,
html body.cabinet-page.cabinet-chat-page .cabinet-dialog-thread,
html body.cabinet-page.cabinet-chat-page .cabinet-profile-panel {
  position: relative !important;
  z-index: 2 !important;
  width: min(1120px, calc(100vw - var(--nizo-cabinet-sidebar-open) - 92px)) !important;
  max-width: 100% !important;
}

html body.cabinet-page.cabinet-chat-page.is-cabinet-sidebar-collapsed .cabinet-cases-panel,
html body.cabinet-page.cabinet-chat-page.is-cabinet-sidebar-collapsed .cabinet-dialog-thread,
html body.cabinet-page.cabinet-chat-page.is-cabinet-sidebar-collapsed .cabinet-profile-panel {
  width: min(1120px, calc(100vw - var(--nizo-cabinet-sidebar-closed) - 92px)) !important;
}

html body.cabinet-page.cabinet-chat-page [data-social-soon] {
  cursor: pointer !important;
}

@media (max-width: 1180px) {
  html body.cabinet-page.cabinet-chat-page {
    --nizo-cabinet-sidebar-open: 270px;
  }

  html body.cabinet-page.cabinet-chat-page .cabinet-sidebar-nav > button {
    font-size: 15px !important;
  }

  html body.cabinet-page.cabinet-chat-page .cabinet-cases-panel,
  html body.cabinet-page.cabinet-chat-page .cabinet-dialog-thread,
  html body.cabinet-page.cabinet-chat-page .cabinet-profile-panel {
    width: min(100%, calc(100vw - var(--nizo-cabinet-sidebar-open) - 48px)) !important;
  }
}

@media (max-width: 860px) {
  html body.cabinet-page.cabinet-chat-page {
    overflow: auto !important;
    background-attachment: scroll !important;
    background-position: center center !important;
  }

  html body.cabinet-page.cabinet-chat-page > .cabinet-chat-app[data-cabinet-page],
  html body.cabinet-page.cabinet-chat-page.is-cabinet-sidebar-collapsed > .cabinet-chat-app[data-cabinet-page] {
    display: grid !important;
    grid-template-columns: 1fr !important;
    min-height: 100svh !important;
    overflow: visible !important;
    background-attachment: scroll !important;
  }

  html body.cabinet-page.cabinet-chat-page .cabinet-chat-sidebar[data-cabinet-sidebar],
  html body.cabinet-page.cabinet-chat-page .cabinet-chat-sidebar.is-expanded[data-cabinet-sidebar],
  html body.cabinet-page.cabinet-chat-page .cabinet-chat-sidebar.is-collapsed[data-cabinet-sidebar],
  html body.cabinet-page.cabinet-chat-page.is-cabinet-sidebar-collapsed .cabinet-chat-sidebar[data-cabinet-sidebar] {
    position: sticky !important;
    top: 0 !important;
    z-index: 20 !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 12px 12px 10px !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(91, 57, 27, 0.2) !important;
    overflow: visible !important;
  }

  html body.cabinet-page.cabinet-chat-page .cabinet-sidebar-head,
  html body.cabinet-page.cabinet-chat-page.is-cabinet-sidebar-collapsed .cabinet-sidebar-head {
    grid-template-columns: minmax(0, 1fr) 38px !important;
    justify-items: stretch !important;
    margin-bottom: 10px !important;
  }

  html body.cabinet-page.cabinet-chat-page .cabinet-sidebar-brand,
  html body.cabinet-page.cabinet-chat-page.is-cabinet-sidebar-collapsed .cabinet-sidebar-brand {
    grid-template-columns: 36px minmax(0, 1fr) !important;
    justify-items: start !important;
  }

  html body.cabinet-page.cabinet-chat-page .cabinet-court-brand__text,
  html body.cabinet-page.cabinet-chat-page.is-cabinet-sidebar-collapsed .cabinet-court-brand__text {
    display: block !important;
    font-size: 26px !important;
  }

  html body.cabinet-page.cabinet-chat-page .cabinet-sidebar-nav {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    padding-bottom: 2px !important;
  }

  html body.cabinet-page.cabinet-chat-page .cabinet-sidebar-nav > button,
  html body.cabinet-page.cabinet-chat-page.is-cabinet-sidebar-collapsed .cabinet-sidebar-nav > button {
    grid-template-columns: 24px minmax(0, auto) !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-height: 42px !important;
    padding: 0 12px !important;
  }

  html body.cabinet-page.cabinet-chat-page .cabinet-sidebar-nav > button span,
  html body.cabinet-page.cabinet-chat-page.is-cabinet-sidebar-collapsed .cabinet-sidebar-nav > button span {
    display: block !important;
    max-width: 150px !important;
  }

  html body.cabinet-page.cabinet-chat-page .cabinet-nav-chevron,
  html body.cabinet-page.cabinet-chat-page.is-cabinet-sidebar-collapsed .cabinet-nav-chevron {
    display: none !important;
  }

  html body.cabinet-page.cabinet-chat-page .cabinet-case-nav-list,
  html body.cabinet-page.cabinet-chat-page .cabinet-sidebar-dialogs {
    display: none !important;
  }

  html body.cabinet-page.cabinet-chat-page .cabinet-chat-center {
    min-height: calc(100svh - 92px) !important;
    padding: 76px 16px 56px !important;
  }

  html body.cabinet-page.cabinet-chat-page .cabinet-top-actions {
    top: 14px !important;
    right: 14px !important;
  }

  html body.cabinet-page.cabinet-chat-page .cabinet-empty-state h1 {
    font-size: clamp(30px, 8vw, 42px) !important;
  }

  html body.cabinet-page.cabinet-chat-page .cabinet-chat-composer {
    grid-template-columns: 38px minmax(0, 1fr) 38px 46px !important;
    min-height: 56px !important;
    padding: 7px 8px !important;
  }

  html body.cabinet-page.cabinet-chat-page .cabinet-model-pill {
    display: none !important;
  }

  html body.cabinet-page.cabinet-chat-page .cabinet-cases-panel,
  html body.cabinet-page.cabinet-chat-page .cabinet-dialog-thread,
  html body.cabinet-page.cabinet-chat-page .cabinet-profile-panel {
    width: min(100%, calc(100vw - 24px)) !important;
  }
}

@media (max-width: 560px) {
  html body.cabinet-page.cabinet-chat-page .cabinet-sidebar-nav > button span {
    display: none !important;
  }

  html body.cabinet-page.cabinet-chat-page .cabinet-sidebar-nav > button {
    grid-template-columns: 1fr !important;
    width: 42px !important;
    padding: 0 !important;
    justify-items: center !important;
  }

  html body.cabinet-page.cabinet-chat-page .cabinet-chat-center {
    padding-inline: 12px !important;
  }

  html body.cabinet-page.cabinet-chat-page .cabinet-chat-composer textarea {
    font-size: 15px !important;
  }
}

/* UX polish 2026-06-27: growing composers, readable language menus, clean cabinet lists. */
html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-intake-hero .legal-composer {
  grid-template-rows: minmax(44px, auto) 44px !important;
  height: auto !important;
  min-height: 104px !important;
  max-height: 238px !important;
  overflow: visible !important;
}

html body.home-page:not(.is-intake-question-mode):not(.is-intake-result-mode) .home-intake-hero .legal-composer .legal-composer__textarea {
  height: auto !important;
  min-height: 44px !important;
  max-height: 174px !important;
  overflow-y: hidden !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(121, 73, 31, 0.42) transparent !important;
}

html body.home-page .site-footer .footer-legal {
  max-width: min(430px, 32vw) !important;
  line-height: 1.35 !important;
}

html body.home-page .floating-social-dock {
  left: auto !important;
  right: clamp(34px, 7vw, 128px) !important;
  transform: none !important;
}

html body.about-page > .site-header .language-trigger,
html body.contact-page > .site-header .language-trigger,
html body.cabinet-page .cabinet-top-language .language-trigger {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(255, 229, 184, 0.98) !important;
  text-decoration: none !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.62) !important;
}

html body.about-page > .site-header .language-trigger:hover,
html body.about-page > .site-header .language-trigger:focus-visible,
html body.contact-page > .site-header .language-trigger:hover,
html body.contact-page > .site-header .language-trigger:focus-visible,
html body.cabinet-page .cabinet-top-language .language-trigger:hover,
html body.cabinet-page .cabinet-top-language .language-trigger:focus-visible {
  background: rgba(255, 226, 178, 0.10) !important;
  color: #fff3cf !important;
  outline: none !important;
}

html body.about-page > .site-header .language-options,
html body.contact-page > .site-header .language-options,
html body.cabinet-page .cabinet-top-language .language-options {
  right: 0 !important;
  left: auto !important;
  min-width: 178px !important;
  border: 1px solid rgba(236, 188, 112, 0.48) !important;
  border-radius: 16px !important;
  background: rgba(43, 24, 12, 0.92) !important;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.34) !important;
  backdrop-filter: blur(14px) saturate(1.05) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.05) !important;
}

html body.about-page > .site-header .language-options button,
html body.contact-page > .site-header .language-options button,
html body.cabinet-page .cabinet-top-language .language-options button {
  color: rgba(255, 231, 191, 0.98) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 700 !important;
}

html body.about-page > .site-header .language-options button:hover,
html body.about-page > .site-header .language-options button:focus-visible,
html body.contact-page > .site-header .language-options button:hover,
html body.contact-page > .site-header .language-options button:focus-visible,
html body.cabinet-page .cabinet-top-language .language-options button:hover,
html body.cabinet-page .cabinet-top-language .language-options button:focus-visible {
  background: rgba(236, 188, 112, 0.16) !important;
  color: #fff7df !important;
}

html body.cabinet-page .cabinet-top-language .language-trigger {
  min-width: 46px !important;
  width: 46px !important;
  padding: 0 !important;
}

html body.cabinet-page .cabinet-top-language .language-trigger::after {
  content: none !important;
  display: none !important;
}

html body.cabinet-page .cabinet-top-language .flag-circle {
  width: 28px !important;
  height: 28px !important;
  font-size: 20px !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-chat-composer {
  grid-template-columns: 42px minmax(0, 1fr) auto 38px 56px !important;
  align-items: end !important;
  height: auto !important;
  min-height: 74px !important;
  max-height: 178px !important;
  border-radius: 32px !important;
  overflow: visible !important;
}

html body.cabinet-page.cabinet-chat-page .cabinet-chat-composer textarea {
  height: auto !important;
  min-height: 34px !important;
  max-height: 116px !important;
  overflow-y: hidden !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(121, 73, 31, 0.42) transparent !important;
}

html body.cabinet-page .cabinet-case-nav-list {
  gap: 6px !important;
  margin: 4px 0 12px 0 !important;
  padding: 0 0 0 42px !important;
}

html body.cabinet-page .cabinet-case-nav-row {
  grid-template-columns: minmax(0, 1fr) 32px !important;
  width: 100% !important;
  min-width: 0 !important;
  border-radius: 14px !important;
}

html body.cabinet-page .cabinet-sidebar-nav .cabinet-case-nav-create,
html body.cabinet-page .cabinet-sidebar-nav .cabinet-case-nav-item {
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
  width: 100% !important;
  min-height: 34px !important;
  padding: 7px 42px 7px 44px !important;
  font-size: 14px !important;
  line-height: 1.22 !important;
  text-align: left !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  hyphens: none !important;
}

html body.cabinet-page .cabinet-sidebar-nav .cabinet-case-nav-item span {
  display: block !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  hyphens: none !important;
}

html body.cabinet-page .cabinet-case-nav-menu {
  right: 0 !important;
  top: 34px !important;
}

html body.cabinet-page .cabinet-dialog-thread {
  align-self: start !important;
  margin-top: clamp(78px, 10svh, 112px) !important;
}

html body.cabinet-page .cabinet-chat-transcript {
  width: min(620px, 46vw) !important;
  max-height: min(50svh, 460px) !important;
  overflow: auto !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 0 !important;
  transform: translateY(18px) !important;
  animation: nizoCabinetAnswerIn 720ms cubic-bezier(.2, .72, .2, 1) 3s forwards !important;
}

html body.cabinet-page .cabinet-chat-message,
html body.cabinet-page .cabinet-imported-case {
  border-color: rgba(236, 188, 112, 0.24) !important;
  background: rgba(34, 18, 8, 0.46) !important;
  color: rgba(255, 241, 213, 0.96) !important;
  box-shadow: none !important;
}

html body.cabinet-page .cabinet-chat-message p,
html body.cabinet-page .cabinet-dialog-message p,
html body.cabinet-page .cabinet-imported-case-lead {
  color: rgba(255, 241, 213, 0.94) !important;
}

html body.cabinet-page .cabinet-chat-message span,
html body.cabinet-page .cabinet-dialog-message span,
html body.cabinet-page .cabinet-imported-case .eyebrow {
  color: rgba(255, 218, 156, 0.96) !important;
}

@keyframes nizoCabinetAnswerIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  html body.home-page .site-footer .footer-legal {
    max-width: calc(100vw - 36px) !important;
    text-align: center !important;
  }

  html body.home-page .floating-social-dock {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
  }

  html body.cabinet-page .cabinet-chat-transcript {
    width: min(100%, calc(100vw - 30px)) !important;
    max-height: 48svh !important;
  }
}
