:root {
  color-scheme: light;
  --green: #164c3b;
  --green-dark: #164c3b;
  --green-2: #21634f;
  --mint: #e7f3eb;
  --mint-2: #f3faf5;
  --cream: #fff9ed;
  --paper: #fffdf8;
  --coral: #f26f50;
  --coral-2: #fff0ea;
  --ink: #17352d;
  --muted: #5f766f;
  --line: rgba(22, 76, 59, 0.14);
  --shadow: 0 22px 60px rgba(22, 76, 59, 0.12);
  --radius: 8px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(242, 111, 80, 0.12), transparent 31rem),
    linear-gradient(180deg, #fffefa 0%, #f5fbf6 49%, #fffefa 100%);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}


.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(22, 76, 59, 0.08);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(18px);
}

.nav {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  width: min(1180px, calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: max-content;
  color: var(--green);
  font-weight: 850;
  letter-spacing: 0.01em;
}

.brand img {
  display: block;
  width: 46px;
  height: 46px;
}

.brand-text,
.nav-menu-brand .brand-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
  line-height: 1.05;
}

.brand-name,
.nav-menu-brand .brand-name {
  font-size: 1.18rem;
  font-weight: 780;
}

.brand-slogan,
.nav-menu-brand .brand-slogan {
  color: rgba(22, 76, 59, 0.6);
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.008em;
  text-transform: none;
  white-space: nowrap;
}

.nav-menu-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  min-height: 42px;
  border: 1px solid rgba(22, 76, 59, 0.16);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  padding: 0.58rem 0.82rem;
  font-weight: 850;
}

.nav-menu-icon,
.nav-menu-icon::before,
.nav-menu-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.nav-menu-icon {
  position: relative;
}

.nav-menu-icon::before,
.nav-menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-menu-icon::before {
  top: -6px;
}

.nav-menu-icon::after {
  top: 6px;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  min-width: 0;
  grid-column: 2 / 4;
}

.nav-menu-head,
.nav-menu-brand,
.nav-mobile-footer,
.nav-mobile-add-bottom,
.nav-mobile-create,
.nav-mobile-create-bottom {
  display: none;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown > summary {
  list-style: none;
}

.nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown-trigger,
.nav-user-summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 42px;
  border: 1px solid rgba(22, 76, 59, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--green);
  padding: 0.58rem 0.88rem;
  font-size: 0.94rem;
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.nav-dropdown-trigger:hover,
.nav-dropdown-trigger:focus-visible,
.nav-user-summary:hover,
.nav-user-summary:focus-visible,
.nav-dropdown.has-active > .nav-dropdown-trigger,
.nav-dropdown.has-active > .nav-user-summary {
  border-color: rgba(22, 76, 59, 0.2);
  background: var(--mint);
  box-shadow: 0 10px 24px rgba(22, 76, 59, 0.08);
  outline: none;
}

.nav-dropdown[open]:not(.has-active) > .nav-dropdown-trigger,
.nav-dropdown[open]:not(.has-active) > .nav-user-summary {
  box-shadow: none;
}

.nav-caret {
  width: 0.46rem;
  height: 0.46rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 160ms ease;
}

.nav-dropdown[open] .nav-caret {
  transform: rotate(-135deg) translateY(-1px);
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 0.34rem);
  left: 0;
  z-index: 35;
  display: none;
  min-width: 230px;
  grid-template-columns: 1fr;
  gap: 0.28rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 22px 54px rgba(22, 76, 59, 0.15);
  padding: 0.55rem;
}

.nav-dropdown[open] > .nav-dropdown-panel {
  display: grid;
}


.nav-item,
.nav-action-chip,
.nav-logout {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 42px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 0.62rem 0.78rem;
  font-size: 0.93rem;
  font-weight: 780;
  line-height: 1.15;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.nav-mobile-create {
  display: none !important;
}

.nav-item:hover,
.nav-item:focus-visible,
.nav-action-chip:hover,
.nav-action-chip:focus-visible,
.nav-logout:hover,
.nav-logout:focus-visible,
.nav-item.is-active,
.nav-action-chip.is-active {
  background: var(--mint);
  color: var(--green);
  outline: none;
}

.nav-item-create {
  justify-content: center;
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 12px 26px rgba(22, 76, 59, 0.14);
  color: #fff !important;
}

.nav-main-search {
  width: auto;
  min-width: max-content;
  justify-content: center;
  border-color: rgba(22, 76, 59, 0.16);
  background: rgba(233, 246, 239, 0.76);
  color: var(--green);
  padding-right: 1rem;
  padding-left: 1rem;
}

.nav-main-search:hover,
.nav-main-search:focus-visible,
.nav-main-search.is-active {
  border-color: rgba(22, 76, 59, 0.22);
  background: var(--mint);
  box-shadow: 0 10px 24px rgba(22, 76, 59, 0.08);
}

.nav-desktop-create {
  width: auto;
  min-width: max-content;
  align-self: center;
  padding-right: 1rem;
  padding-left: 1rem;
}

.nav-dropdown-panel .nav-desktop-only {
  display: inline-flex;
}

.nav-dropdown-panel .nav-logout-form.nav-desktop-only {
  display: block;
}

.nav-dropdown-panel .nav-logout-form {
  width: 100%;
  margin: 0;
}

.nav-item-create:hover,
.nav-item-create:focus-visible,
.nav-item-create.is-active {
  background: #0f3f30;
  color: #fff !important;
}

.nav-user-summary {
  justify-content: flex-start;
  gap: 0.55rem;
  min-width: 0;
  max-width: 220px;
  padding: 0.28rem 0.62rem 0.28rem 0.34rem;
}

.nav-user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 900;
}

.nav-user-text {
  display: grid;
  min-width: 0;
  gap: 0.02rem;
  text-align: left;
  line-height: 1.1;
}

.nav-user-text > span {
  overflow: hidden;
  max-width: 122px;
  text-overflow: ellipsis;
}

.nav-user-text small {
  overflow: hidden;
  max-width: 122px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-logout-form {
  margin: 0;
}

.nav-logout {
  cursor: pointer;
  color: #8e3a28;
}

.nav-user-panel .nav-logout-form,
.nav-mobile-footer .nav-logout-form {
  width: 100%;
}

.nav-links,
.nav-cta {
  display: none;
}

.hero {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 54px;
}

.hero-photo {
  display: grid;
  align-items: center;
  width: 100%;
  min-height: clamp(620px, 82vh, 760px);
  margin: 0;
  padding: clamp(54px, 7vw, 96px) 0;
  background-image:
    linear-gradient(90deg, rgba(12, 39, 31, 0.84) 0%, rgba(12, 39, 31, 0.67) 35%, rgba(12, 39, 31, 0.2) 68%, rgba(12, 39, 31, 0.08) 100%),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}

.hero-content {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-photo .eyebrow {
  background: rgba(255, 240, 234, 0.94);
}

.hero-slogan {
  width: fit-content;
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.8vw, 1.28rem);
  font-weight: 850;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
}

.home-latest-section {
  padding-top: clamp(24px, 3vw, 38px);
}

.hero-photo h1 {
  max-width: 760px;
  color: #fff;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
}

.hero-photo .hero-copy {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.86);
}

.hero-photo .btn-primary {
  background: #fff;
  color: var(--green);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);
}

.hero-photo .btn-secondary {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  backdrop-filter: blur(12px);
}

.hero-photo .trust-item {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.hero-photo .trust-item strong {
  color: #fff;
}

.hero-photo .trust-item span {
  color: rgba(255, 255, 255, 0.78);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.88fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  border: 1px solid rgba(242, 111, 80, 0.3);
  border-radius: 999px;
  background: var(--coral-2);
  color: #8e3a28;
  padding: 0.45rem 0.72rem;
  font-size: 0.88rem;
  font-weight: 750;
}

.eyebrow::before {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: var(--coral);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 760px;
  margin-top: 1.15rem;
  color: var(--green);
  font-size: clamp(2.45rem, 6vw, 5.65rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.82rem 1.15rem;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.btn-primary {
  background: var(--green);
  box-shadow: 0 15px 34px rgba(22, 76, 59, 0.2);
  color: #fff;
}

.btn-secondary {
  border-color: rgba(22, 76, 59, 0.16);
  background: #fff;
  color: var(--green);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  max-width: 650px;
  margin-top: 2rem;
}

.trust-item,
.scenario,
.feature,
.faq-item,
.step,
.check,
.prototype {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
}

.trust-item {
  padding: 0.9rem;
}

.trust-item strong {
  display: block;
  color: var(--green);
  font-size: 1.02rem;
}

.trust-item span {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-board {
  position: relative;
  border: 1px solid rgba(22, 76, 59, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 249, 237, 0.9)),
    radial-gradient(circle at top right, rgba(242, 111, 80, 0.15), transparent 18rem);
  box-shadow: var(--shadow);
  padding: clamp(16px, 2.5vw, 24px);
}

.board-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}

.board-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.board-title img {
  width: 58px;
  height: 58px;
  filter: drop-shadow(0 8px 18px rgba(22, 76, 59, 0.12));
}

.board-title strong,
.animal-body strong,
.check strong {
  display: block;
  color: var(--green);
}

.board-title span,
.check span,
.animal-body span {
  display: block;
  color: var(--muted);
}

.board-title span {
  font-size: 0.9rem;
}

.status-pill,
.tag {
  border-radius: 999px;
  background: var(--mint);
  color: var(--green);
  font-weight: 800;
}

.status-pill {
  padding: 0.45rem 0.7rem;
  font-size: 0.82rem;
  white-space: nowrap;
}

.pet-stack {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.pet-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  border: 1px solid rgba(22, 76, 59, 0.1);
  border-radius: var(--radius);
  background: #fff;
  padding: 0.75rem;
}

.pet-photo {
  display: grid;
  place-items: center;
  width: 76px;
  aspect-ratio: 1;
  border-radius: 8px;
  background: linear-gradient(145deg, #dff0e5, #fff2ec);
  color: var(--green);
  font-size: 2.1rem;
  font-weight: 900;
}

.pet-card h3 {
  color: var(--green);
  font-size: 1rem;
}

.pet-card p {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.tag {
  background: var(--mint-2);
  padding: 0.28rem 0.48rem;
  font-size: 0.76rem;
}

.match-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  border-radius: var(--radius);
  background: var(--green);
  color: #fff;
  padding: 1rem;
}

.match-box span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.match-box strong {
  display: block;
  margin-top: 0.1rem;
}

.match-box button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  padding: 0.65rem 0.85rem;
  font-weight: 850;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.58fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.kicker {
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2 {
  margin-top: 0.45rem;
  color: var(--green);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-head p,
.scenario p,
.feature p,
.faq-item p,
.step p {
  color: var(--muted);
}

.scenario-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.scenario,
.feature,
.faq-item {
  padding: 1.1rem;
}

.link-card {
  display: block;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.link-card:hover,
.link-card:focus-visible {
  border-color: rgba(22, 76, 59, 0.34);
  box-shadow: 0 14px 32px rgba(22, 76, 59, 0.1);
  transform: translateY(-1px);
  outline: none;
}

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--green);
  font-weight: 900;
}

.scenario h3,
.feature h3,
.faq-item h3 {
  margin-top: 0.85rem;
  color: var(--green);
  font-size: 1.08rem;
}

.scenario p,
.feature p,
.faq-item p {
  margin-top: 0.45rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: steps;
}

.step {
  position: relative;
  background: #fff;
  padding: 1.15rem;
  counter-increment: steps;
}

.step::before {
  content: counter(steps);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 850;
}

.step h3 {
  margin-top: 1rem;
  color: var(--green);
  font-size: 1.02rem;
}

.step p {
  margin-top: 0.45rem;
  font-size: 0.95rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
}

.note-panel {
  border-radius: var(--radius);
  background: var(--green);
  color: #fff;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.note-panel .kicker {
  color: #ffd1c5;
}

.note-panel h2 {
  color: #fff;
}

.note-panel p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.78);
}

.check-list {
  display: grid;
  gap: 0.75rem;
}

.check {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  background: #fff;
  padding: 0.9rem;
}

.check::before {
  content: "";
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, transparent 45%, var(--green) 46% 54%, transparent 55%),
    var(--mint);
}

.check span {
  margin-top: 0.15rem;
}

.prototype {
  background: #fff;
  box-shadow: var(--shadow);
  padding: clamp(1rem, 2vw, 1.35rem);
}

.filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.filter-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  padding: 0.62rem 0.7rem;
  font-weight: 800;
  text-align: center;
}

.filter-chip.is-active {
  background: var(--green);
  color: #fff;
}

.animal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.animal {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}

.animal-art {
  position: relative;
  min-height: 150px;
  background:
    radial-gradient(circle at 55% 45%, rgba(255, 255, 255, 0.95) 0 3.2rem, transparent 3.25rem),
    radial-gradient(circle at 42% 38%, rgba(22, 76, 59, 0.92) 0 2rem, transparent 2.05rem),
    radial-gradient(circle at 66% 38%, rgba(22, 76, 59, 0.92) 0 2rem, transparent 2.05rem),
    linear-gradient(145deg, #dcefe4, #fff1e9);
}

.animal-art.cat {
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.96) 0 3.1rem, transparent 3.15rem),
    conic-gradient(from 45deg at 40% 34%, transparent 0 70deg, rgba(22, 76, 59, 0.92) 71deg 112deg, transparent 113deg),
    conic-gradient(from 220deg at 62% 34%, transparent 0 70deg, rgba(22, 76, 59, 0.92) 71deg 112deg, transparent 113deg),
    linear-gradient(145deg, #e9f5ed, #fff5ec);
}

.animal-art.small {
  background:
    radial-gradient(ellipse at 50% 51%, rgba(255, 255, 255, 0.96) 0 4.2rem, transparent 4.25rem),
    radial-gradient(ellipse at 38% 31%, rgba(22, 76, 59, 0.92) 0 1.35rem, transparent 1.4rem),
    radial-gradient(ellipse at 62% 31%, rgba(22, 76, 59, 0.92) 0 1.35rem, transparent 1.4rem),
    linear-gradient(145deg, #e3f4eb, #fff2ec);
}

.animal-body {
  padding: 0.9rem;
}

.animal-body span {
  margin-top: 0.2rem;
  font-size: 0.9rem;
}

.launch {
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(22, 76, 59, 0.94), rgba(33, 99, 79, 0.94)),
    radial-gradient(circle at top left, rgba(242, 111, 80, 0.32), transparent 24rem);
  color: #fff;
  padding: clamp(1.25rem, 4vw, 2.2rem);
}

.launch-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.launch h2 {
  color: #fff;
}

.launch p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.78);
}

.launch-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.launch-list span {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.85rem;
}

.form-card {
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 1rem;
}

.form-grid {
  display: grid;
  gap: 0.75rem;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(22, 76, 59, 0.16);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0.72rem 0.78rem;
}

.field textarea {
  min-height: 92px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(22, 76, 59, 0.12);
}

.submit-note {
  min-height: 22px;
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 750;
}

.submit-note.is-error {
  color: #9f2f1f;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner strong {
  color: var(--green);
}

.info-hero {
  background:
    radial-gradient(circle at 82% 26%, rgba(242, 111, 80, 0.13), transparent 22rem),
    linear-gradient(135deg, #fff9ed 0%, #edf8f0 100%);
  padding: clamp(46px, 7vw, 90px) 0;
}

.info-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) 280px;
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.info-hero h1 {
  max-width: 840px;
}

.info-logo {
  display: grid;
  place-items: center;
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.info-logo img {
  width: min(210px, 70%);
  height: auto;
}

.info-logo-animal {
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.info-logo-animal img {
  width: min(300px, 84%);
}

.public-hero-media-animal {
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-mobile-animal {
  display: none;
}

.hero-mobile-animal img {
  display: block;
  width: min(220px, 100%);
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.info-hero-mobile-animal,
.public-hero-mobile-animal {
  justify-content: center;
  margin: 14px 0 10px;
}

.compact-section {
  padding-top: 34px;
  padding-bottom: 34px;
}

.text-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: clamp(1.1rem, 3vw, 1.7rem);
  color: var(--muted);
  font-size: 1.08rem;
}

.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(22, 76, 59, 0.08);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.compare-table th,
.compare-table td {
  width: 50%;
  border-bottom: 1px solid var(--line);
  padding: 1rem;
  text-align: left;
  vertical-align: top;
}

.compare-table th {
  background: var(--green);
  color: #fff;
  font-size: 1rem;
}

.compare-table tr:last-child td {
  border-bottom: 0;
}

.compare-table td:first-child {
  color: var(--muted);
}

.compare-table td:last-child {
  color: var(--green);
  font-weight: 700;
}

.content-stack {
  display: grid;
  gap: 1rem;
}

.content-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  padding: clamp(1.1rem, 3vw, 1.5rem);
}

.content-block h2 {
  margin-top: 0;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.content-block p {
  margin-top: 0.7rem;
  color: var(--muted);
}

.account-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(34px, 5vw, 64px) 0;
}

.account-shell.narrow {
  width: min(560px, calc(100% - 32px));
}

.account-card,
.empty-state,
.form-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(22, 76, 59, 0.08);
}

.account-card,
.empty-state {
  padding: clamp(1.1rem, 3vw, 1.6rem);
}

.account-card h1,
.account-title-row h1 {
  color: var(--green);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
}

.account-muted {
  margin-top: 0.65rem;
  color: var(--muted);
}

.account-muted.small {
  font-size: 0.95rem;
}

.account-muted a {
  color: var(--green);
  font-weight: 800;
}

.account-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.alert {
  border: 1px solid rgba(22, 76, 59, 0.16);
  border-radius: var(--radius);
  background: var(--mint-2);
  color: var(--green);
  padding: 0.85rem 1rem;
  margin: 1rem 0;
  font-weight: 750;
}

.alert.error {
  border-color: rgba(159, 47, 31, 0.24);
  background: #fff0ea;
  color: #9f2f1f;
}

.field-error {
  color: #9f2f1f;
  font-size: 0.88rem;
}

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

.cabinet-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(22, 76, 59, 0.08);
}

.cabinet-cover {
  display: grid;
  place-items: center;
  min-height: 220px;
  background: var(--mint-2);
}

.cabinet-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cabinet-card-body {
  padding: 1rem;
}

.cabinet-card h2 {
  margin-top: 0.65rem;
  color: var(--green);
  font-size: 1.35rem;
}

.cabinet-card p {
  margin-top: 0.35rem;
  color: var(--muted);
}

.expiry {
  width: fit-content;
  margin-top: 0.8rem;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green);
  padding: 0.42rem 0.65rem;
  font-size: 0.88rem;
  font-weight: 800;
}

.expiry.soon {
  background: #fff0d9;
  color: #8c5a13;
}

.expiry.expired {
  background: #fff0ea;
  color: #9f2f1f;
}

.card-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-top: 1rem;
}

.card-actions form {
  margin: 0;
}

.empty-state {
  text-align: center;
}

.empty-state h2 {
  margin-top: 0;
}

.empty-state p {
  max-width: 620px;
  margin: 0.75rem auto 1.1rem;
  color: var(--muted);
}

.account-form {
  display: grid;
  gap: 1rem;
}

.form-section {
  padding: clamp(1rem, 2.4vw, 1.35rem);
}

.form-section h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
}

.progressive-section {
  transition: opacity 160ms ease, transform 160ms ease;
}

.progressive-section.is-locked {
  opacity: 0.42;
  pointer-events: none;
  transform: translateY(4px);
}

.progressive-section.is-locked::after {
  content: attr(data-locked-message);
  display: block;
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.progressive-section.is-hidden {
  display: none;
}

.situation-hint {
  margin-top: 0.85rem;
  border: 1px solid rgba(22, 76, 59, 0.12);
  border-radius: var(--radius);
  background: var(--mint-2);
  color: var(--green);
  padding: 0.78rem 0.9rem;
  font-weight: 700;
}

.form-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.form-two .full {
  grid-column: 1 / -1;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.photo-tile {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.photo-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.photo-tile form {
  margin: 0;
}

.photo-tile button {
  width: 100%;
  border: 0;
  background: #fff;
  color: #9f2f1f;
  padding: 0.48rem;
  font-weight: 750;
}

.profile-head {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.profile-avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 150px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mint-2);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.field-button {
  align-self: end;
}

.friends-list {
  margin-top: 1rem;
}

@media (max-width: 1120px) {
  body.nav-lock {
    overflow: hidden;
  }

  .nav {
    grid-template-columns: auto auto;
    min-height: auto;
    padding: 0.75rem 0;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .nav-menu-toggle {
    display: inline-flex;
    justify-self: end;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
  }

  .nav-menu {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    min-width: 0;
    width: 100%;
    height: 100dvh;
    grid-column: auto;
    align-items: stretch;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.9rem;
    overflow-y: auto;
    border: 0;
    border-radius: 0;
    background:
      radial-gradient(circle at top left, rgba(242, 111, 80, 0.11), transparent 20rem),
      #fffdf8;
    box-shadow: none;
    padding: max(1rem, env(safe-area-inset-top)) 1rem max(1.1rem, env(safe-area-inset-bottom));
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.2rem;
  }

  .nav-menu-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--green);
    font-size: 1.08rem;
    font-weight: 900;
  }

  .nav-menu-brand img {
    width: 40px;
    height: 40px;
  }

  .nav-menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 96px;
    height: 44px;
    border: 1px solid rgba(22, 76, 59, 0.16);
    border-radius: 999px;
    background: #fff;
    color: var(--green);
    padding: 0 0.76rem;
    font-weight: 850;
  }

  .nav-menu-close-icon,
  .nav-menu-close-icon::after {
    display: block;
    width: 17px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    content: "";
  }

  .nav-menu-close-icon {
    position: relative;
    transform: rotate(45deg);
  }

  .nav-menu-close-icon::after {
    position: absolute;
    left: 0;
    transform: rotate(90deg);
  }

  .nav-dropdown {
    display: block;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
    padding: 0.6rem;
  }

  .nav-dropdown.has-active {
    border-color: rgba(22, 76, 59, 0.16);
    background: rgba(233, 246, 239, 0.72);
  }

  .nav-dropdown-trigger,
  .nav-user-summary {
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 18px;
    background: transparent;
    padding: 0.72rem 0.85rem;
    font-size: 1rem;
    box-shadow: none !important;
  }

  .nav-dropdown.has-active > .nav-dropdown-trigger {
    background: var(--mint);
  }

  .nav-dropdown[open]:not(.has-active) > .nav-dropdown-trigger {
    background: transparent;
  }

  .nav-dropdown-panel {
    position: static;
    min-width: 0;
    margin-top: 0.28rem;
    border: 0;
    border-radius: 18px;
    background: transparent;
    box-shadow: none;
    padding: 0.18rem;
  }


  .nav-item,
  .nav-action-chip,
  .nav-logout {
    justify-content: flex-start;
    min-height: 48px;
    border-radius: 17px;
    padding: 0.75rem 0.82rem;
    white-space: normal;
  }

  .nav-main-search {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    justify-content: center;
    border-radius: 999px;
    background: var(--green);
    color: #fff !important;
  }

  .nav-item-create {
    justify-content: center;
    border-radius: 999px;
  }


  .nav-desktop-create,
  .nav-desktop-only,
  .nav-dropdown-panel .nav-desktop-only,
  .nav-dropdown-panel .nav-logout-form.nav-desktop-only {
    display: none !important;
  }

  .nav-mobile-add-bottom {
    display: block;
    margin-top: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
  }

  .nav-mobile-create-bottom {
    display: inline-flex !important;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    border-radius: 999px;
    text-align: center;
  }

  .nav-mobile-footer {
    display: none;
  }

  .nav-user-text small {
    max-width: none;
  }

  .nav-logout-form {
    width: 100%;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-photo {
    min-height: auto;
    padding: 58px 0;
    background-position: 63% center;
  }

  .hero-grid,
  .section-head,
  .split,
  .launch-grid,
  .info-hero-inner {
    grid-template-columns: 1fr;
  }

  .info-logo {
    display: none;
  }

  .info-hero-mobile-animal {
    display: flex;
  }

  .info-hero-mobile-animal img {
    width: min(180px, 58vw);
  }

  .hero-board {
    order: -1;
  }

  .trust-strip,
  .scenario-grid,
  .feature-grid,
  .steps,
  .filters,
  .cabinet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .cabinet-cover {
    min-height: 240px;
  }

  .photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .profile-head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 1.08rem;
  }

  .brand-slogan {
    font-size: 0.63rem;
    letter-spacing: 0.01em;
  }

  .hero,
  .section {
    width: min(100% - 24px, 1180px);
  }

  .hero-photo {
    width: 100%;
    min-height: 690px;
    padding: 42px 0;
    background-image:
      linear-gradient(180deg, rgba(12, 39, 31, 0.88) 0%, rgba(12, 39, 31, 0.68) 48%, rgba(12, 39, 31, 0.24) 100%),
      var(--hero-image);
    background-position: 62% center;
  }

  .hero-content {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    font-size: 2.6rem;
  }

  .hero-photo {
    min-height: auto;
    padding: 46px 0 44px;
  }

  .hero-actions,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .btn,
  .match-box button {
    width: 100%;
  }

  .trust-strip,
  .scenario-grid,
  .feature-grid,
  .steps,
  .filters,
  .animal-grid,
  .faq-grid,
  .cabinet-grid,
  .form-two {
    grid-template-columns: 1fr;
  }

  .account-title-row {
    align-items: stretch;
    flex-direction: column;
  }

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

  .pet-card,
  .match-box {
    grid-template-columns: 1fr;
  }

  .status-pill {
    display: none;
  }
}

.time-range {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
}

.time-range span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.field small {
  display: block;
  margin-top: 0.38rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.field input:disabled,
.field textarea:disabled,
.field select:disabled {
  cursor: not-allowed;
  opacity: 0.68;
  background: #f4eee4;
}

.contact-time-field .field-error {
  margin-top: 0.45rem;
}

.profile-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.profile-form-grid .form-section:first-of-type {
  grid-column: 1 / -1;
}

.profile-form-grid .form-section {
  align-self: start;
}

.field {
  align-content: start;
}

.field input,
.field select {
  display: flex;
  align-items: center;
}

@media (max-width: 820px) {
  .profile-form-grid {
    grid-template-columns: 1fr;
  }

  .profile-form-grid .form-section:first-of-type {
    grid-column: auto;
  }
}

.public-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.52fr) minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 2rem);
  align-items: stretch;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(34px, 6vw, 76px) 0 clamp(24px, 5vw, 48px);
}

.public-hero-media,
.public-side-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(22, 76, 59, 0.08);
}

.public-hero-media {
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 320px;
  background: var(--mint-2);
}

.public-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-hero-media .public-logo-image {
  width: min(220px, 70%);
  height: auto;
  object-fit: contain;
}

.public-hero-media .public-animal-image {
  width: min(320px, 84%);
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.public-hero-body {
  align-self: center;
}

.public-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1rem;
  align-items: start;
}

.public-side-card {
  position: sticky;
  top: 96px;
  padding: clamp(1rem, 2.4vw, 1.35rem);
}

.public-side-card h2 {
  margin-top: 1rem;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
}

.public-side-card h2:first-child {
  margin-top: 0;
}

.info-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.info-list p {
  margin: 0;
  color: var(--muted);
}

.info-list strong {
  color: var(--green);
}

.public-photo-grid {
  margin-bottom: 0;
}

.public-post-grid {
  margin-top: 1rem;
}

.public-post-card {
  box-shadow: none;
}

@media (max-width: 960px) {
  .public-hero,
  .public-layout {
    grid-template-columns: 1fr;
  }

  .public-side-card {
    position: static;
  }
}

/* V0.1.19 refinements */
.nav-action-chip {
  width: auto;
  justify-content: center;
  border-color: rgba(22, 76, 59, 0.12);
  background: rgba(255, 255, 255, 0.76);
  color: var(--green);
  padding-right: 0.98rem;
  padding-left: 0.98rem;
}

.nav-action-chip.is-active {
  border-color: rgba(22, 76, 59, 0.2);
  background: var(--mint);
  box-shadow: 0 10px 24px rgba(22, 76, 59, 0.08);
}

.nav-guest-create {
  width: auto;
  min-width: max-content;
  padding-right: 1rem;
  padding-left: 1rem;
}

.section-head {
  align-items: center;
}

.section-head-centered {
  align-items: center;
}

.section-head-centered > p {
  align-self: center;
}

.catalog-empty-panel,
.donation-panel {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
}

.catalog-empty-panel h3,
.donation-panel h2 {
  margin: 0;
  color: var(--green);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  line-height: 1.1;
}

.catalog-empty-panel p,
.donation-panel p {
  margin-top: 0.65rem;
  color: var(--muted);
}

.catalog-empty-panel .form-actions {
  margin-top: 1rem;
}

.donation-card-number {
  width: fit-content;
  margin-top: 0.95rem;
  border: 1px solid rgba(22, 76, 59, 0.18);
  border-radius: 999px;
  background: var(--mint);
  color: var(--green);
  padding: 0.68rem 1rem;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 900;
  letter-spacing: 0.045em;
}

.account-title-row > div {
  flex: 1 1 auto;
  min-width: 0;
}

.account-back-link {
  flex: 0 0 auto;
  min-width: 150px;
  white-space: nowrap;
}

.account-title-row .card-actions {
  display: none;
}

.mini-icon,
.icon[class*="icon-"] {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(22, 76, 59, 0.16);
  background: var(--mint);
  color: var(--green);
}

.mini-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
}

.icon[class*="icon-"] {
  font-size: 0;
}

.mini-icon::before,
.mini-icon::after,
.icon[class*="icon-"]::before,
.icon[class*="icon-"]::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.check::before {
  display: none;
}

.check {
  grid-template-columns: 34px minmax(0, 1fr);
}

.icon-doc::before,
.mini-icon-doc::before {
  width: 15px;
  height: 19px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.icon-doc::after,
.mini-icon-doc::after {
  width: 8px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor;
}

.icon-calendar::before,
.mini-icon-calendar::before {
  width: 19px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.icon-calendar::after,
.mini-icon-calendar::after {
  top: 13px;
  width: 19px;
  height: 2px;
  background: currentColor;
}

.icon-link::before,
.mini-icon-link::before {
  width: 18px;
  height: 9px;
  border: 2px solid currentColor;
  border-radius: 999px;
  transform: rotate(-25deg);
}

.icon-link::after,
.mini-icon-link::after {
  width: 18px;
  height: 9px;
  border: 2px solid currentColor;
  border-radius: 999px;
  transform: rotate(-25deg) translate(7px, 1px);
}

.icon-user::before,
.mini-icon-user::before {
  top: 10px;
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.icon-user::after,
.mini-icon-user::after {
  bottom: 9px;
  width: 20px;
  height: 10px;
  border: 2px solid currentColor;
  border-top-left-radius: 999px;
  border-top-right-radius: 999px;
  border-bottom: 0;
}

.icon-pin::before,
.mini-icon-pin::before {
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 999px 999px 999px 0;
  transform: rotate(-45deg);
}

.icon-pin::after,
.mini-icon-pin::after {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: currentColor;
}

.icon-modules::before,
.mini-icon-modules::before {
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 3px;
  box-shadow: 12px 0 0 -2px var(--mint), 12px 0 0 0 currentColor, 0 12px 0 -2px var(--mint), 0 12px 0 0 currentColor, 12px 12px 0 -2px var(--mint), 12px 12px 0 0 currentColor;
  transform: translate(-6px, -6px);
}

.icon-shield::before,
.mini-icon-shield::before {
  width: 18px;
  height: 21px;
  border: 2px solid currentColor;
  border-radius: 9px 9px 10px 10px;
  clip-path: polygon(50% 0, 100% 20%, 88% 78%, 50% 100%, 12% 78%, 0 20%);
}

.icon-shield::after,
.mini-icon-shield::after {
  width: 9px;
  height: 5px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg) translate(0, 1px);
}

.icon-clock::before,
.mini-icon-clock::before {
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.icon-clock::after,
.mini-icon-clock::after {
  width: 7px;
  height: 7px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translate(2px, -2px);
}

.icon-wallet::before,
.mini-icon-wallet::before {
  width: 21px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.icon-wallet::after,
.mini-icon-wallet::after {
  right: 8px;
  width: 8px;
  height: 7px;
  border: 2px solid currentColor;
  border-radius: 4px;
  background: var(--mint);
}

@media (max-width: 1120px) {
  .nav-action-chip,
  .nav-guest-create {
    width: 100%;
    justify-content: center;
    min-height: 52px;
    border-radius: 18px;
  }

  .nav-guest-create {
    border-radius: 999px;
  }
}

@media (max-width: 640px) {
  .catalog-empty-panel,
  .donation-panel {
    grid-template-columns: 1fr;
  }

  .account-back-link {
    width: 100%;
  }
}

/* V0.1.20 layout and donation refinements */
@media (min-width: 1121px) {
  .nav {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .nav-menu {
    grid-column: 2;
    justify-self: end;
    justify-content: flex-end;
    width: auto;
    margin-left: auto;
  }

  .nav-dropdown,
  .nav-action-chip,
  .nav-desktop-create,
  .nav-guest-create {
    flex: 0 0 auto;
  }

  .nav-dropdown-trigger,
  .nav-action-chip {
    min-width: 106px;
    min-height: 44px;
    padding-right: 0.98rem;
    padding-left: 0.98rem;
  }

  .nav-desktop-create,
  .nav-guest-create {
    width: auto !important;
    min-width: 220px;
    max-width: 300px;
    min-height: 44px;
    padding-right: 1.35rem;
    padding-left: 1.35rem;
  }
}

.nav-caret {
  flex: 0 0 auto;
}

.nav-item-create {
  background: var(--green);
  color: #fff !important;
}

.section-head {
  align-items: center;
}

.section-head > p {
  align-self: center;
  margin: 0;
}

.feature-grid-balanced .feature {
  min-height: 178px;
}

.icon,
.mini-icon {
  flex: 0 0 auto;
  border-color: rgba(22, 76, 59, 0.16);
  background: var(--mint);
}

.icon[class*="icon-"]::before,
.icon[class*="icon-"]::after,
.mini-icon::before,
.mini-icon::after {
  top: 50%;
  left: 50%;
}

.icon-doc::before,
.mini-icon-doc::before,
.icon-calendar::before,
.mini-icon-calendar::before,
.icon-shield::before,
.mini-icon-shield::before,
.icon-clock::before,
.mini-icon-clock::before,
.icon-wallet::before,
.mini-icon-wallet::before,
.icon-user::before,
.mini-icon-user::before,
.icon-pin::before,
.mini-icon-pin::before {
  transform: translate(-50%, -50%);
}

.icon-doc::after,
.mini-icon-doc::after {
  transform: translate(-50%, -50%);
}

.icon-calendar::after,
.mini-icon-calendar::after {
  top: calc(50% - 4px);
  transform: translate(-50%, -50%);
}

.icon-link::before,
.mini-icon-link::before {
  transform: translate(-62%, -50%) rotate(-25deg);
}

.icon-link::after,
.mini-icon-link::after {
  transform: translate(-28%, -50%) rotate(-25deg);
}

.icon-shield::after,
.mini-icon-shield::after {
  transform: translate(-50%, -45%) rotate(-45deg);
}

.icon-clock::after,
.mini-icon-clock::after {
  transform: translate(-28%, -72%);
}

.icon-wallet::after,
.mini-icon-wallet::after {
  left: calc(50% + 4px);
  transform: translate(-50%, -50%);
}

.icon-user::before,
.mini-icon-user::before {
  top: calc(50% - 7px);
}

.icon-user::after,
.mini-icon-user::after {
  top: calc(50% + 8px);
  left: 50%;
  transform: translate(-50%, -50%);
}

.icon-pin::after,
.mini-icon-pin::after {
  transform: translate(-50%, -50%);
}

.icon-modules::before,
.mini-icon-modules::before {
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border: 2px solid currentColor;
  border-radius: 3px;
  background: var(--mint);
  box-shadow:
    11px 0 0 -2px var(--mint), 11px 0 0 0 currentColor,
    0 11px 0 -2px var(--mint), 0 11px 0 0 currentColor,
    11px 11px 0 -2px var(--mint), 11px 11px 0 0 currentColor;
  transform: translate(-11px, -11px);
}

.safety-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
  align-items: stretch;
}

.safety-layout .note-panel {
  display: grid;
  align-content: center;
  min-height: 100%;
}

.safety-layout .check-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.safety-layout .check {
  min-width: 0;
  height: 100%;
  align-content: start;
  padding: 1rem;
}

.safety-layout .check > div {
  min-width: 0;
}

.safety-layout .check strong,
.safety-layout .check span {
  overflow-wrap: normal;
  word-break: normal;
}

.donation-panel-live {
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  box-shadow: 0 16px 44px rgba(22, 76, 59, 0.08);
}

.donation-content {
  min-width: 0;
}

.donation-lead {
  margin-top: 0.7rem;
}

.donation-copy-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100%, 620px);
  margin-top: 1rem;
  border: 1px solid rgba(22, 76, 59, 0.16);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(231, 243, 235, 0.88), rgba(255, 253, 248, 0.95));
  padding: 0.82rem 0.9rem 0.82rem 1rem;
}

.donation-copy-label {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.donation-copy-card .donation-card-number {
  display: block;
  width: auto;
  margin: 0.18rem 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: var(--green);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  letter-spacing: 0.055em;
}

.donation-copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  min-height: 42px;
  border: 1px solid rgba(22, 76, 59, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  padding: 0.6rem 0.9rem;
  font-weight: 850;
  white-space: nowrap;
}

.copy-icon {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 18px;
}

.copy-icon::before,
.copy-icon::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.copy-icon::before {
  top: 0;
  right: 0;
  opacity: 0.45;
}

.copy-icon::after {
  left: 0;
  bottom: 0;
  background: #fff;
}

.donation-note {
  max-width: 760px;
}

@media (max-width: 1120px) {
  .safety-layout {
    grid-template-columns: 1fr;
  }

  .safety-layout .check-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .safety-layout .check-list {
    grid-template-columns: 1fr;
  }

  .donation-panel-live,
  .donation-copy-card {
    grid-template-columns: 1fr;
  }

  .donation-copy-card {
    display: grid;
  }

  .donation-copy-button {
    width: 100%;
  }
}

.donation-copy-button.is-copied {
  border-color: rgba(22, 76, 59, 0.28);
  background: var(--mint);
}

/* V0.1.21 fixed navigation and SVG icon card system */
:root {
  --header-height: 78px;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1200;
}

.page-shell {
  padding-top: var(--header-height);
}

.nav {
  min-height: var(--header-height);
}

@media (min-width: 1121px) {
  .nav-menu {
    justify-content: flex-end;
  }

  .nav-dropdown,
  .nav-action-chip,
  .nav-desktop-create,
  .nav-guest-create {
    width: auto !important;
    flex: 0 0 auto;
  }

  .nav-action-chip {
    min-width: 116px;
  }

  .nav-desktop-create,
  .nav-guest-create {
    min-width: 210px;
  }
}

.ui-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(22, 76, 59, 0.15);
  border-radius: 14px;
  background: var(--mint);
  color: var(--green);
  padding: 0.62rem;
  flex: 0 0 auto;
}

.ui-icon-sm {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  padding: 0.5rem;
}

.ui-icon use {
  pointer-events: none;
}

.scenario,
.feature,
.step,
.faq-item,
.check {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 0.9rem;
  row-gap: 0.62rem;
  align-items: center;
  align-content: start;
}

.scenario > .ui-icon,
.feature > .ui-icon,
.step > .ui-icon,
.faq-item > .ui-icon,
.check > .ui-icon {
  grid-column: 1;
  grid-row: 1;
}

.scenario h3,
.feature h3,
.step h3,
.faq-item h3,
.check strong {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin: 0;
}

.scenario p,
.feature p,
.step p,
.faq-item p,
.check span {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 0;
  color: var(--muted);
}

.check > div {
  display: contents;
}

.step::before,
.check::before {
  display: none !important;
}

.step {
  counter-increment: none;
}

.feature.link-card {
  display: grid;
}

.catalog-empty-panel {
  align-items: start;
}

.catalog-empty-panel > .ui-icon,
.donation-panel-live > .ui-icon {
  align-self: start;
}

.section-head {
  align-items: center !important;
}

.section-head > p {
  align-self: center !important;
  display: flex;
  min-height: 100%;
  align-items: center;
}

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

.safety-layout .check-list {
  align-content: stretch;
}

.safety-layout .check {
  min-height: 126px;
}

@media (max-width: 1120px) {
  :root {
    --header-height: 70px;
  }

  .nav {
    min-height: var(--header-height);
  }

  .nav-menu {
    top: 0;
  }

  .section-head > p {
    display: block;
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .scenario,
  .feature,
  .step,
  .faq-item,
  .check {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .ui-icon {
    width: 42px;
    height: 42px;
    padding: 0.56rem;
  }

  .ui-icon-sm {
    width: 36px;
    height: 36px;
    padding: 0.48rem;
  }
}

.copy-ui-icon {
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: currentColor;
}

.content-block-icon {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 0.9rem;
  row-gap: 0.62rem;
  align-items: center;
}

.content-block-icon > .ui-icon {
  grid-column: 1;
  grid-row: 1;
}

.content-block-icon > h2 {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin: 0;
}

.content-block-icon > p {
  grid-column: 1 / -1;
  grid-row: 2;
}

@media (max-width: 640px) {
  .content-block-icon {
    grid-template-columns: 42px minmax(0, 1fr);
  }
}

/* V0.1.22 catalog and public links */
.public-animal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.public-animal-grid-catalog {
  margin-top: 1rem;
}

.public-animal-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 42px rgba(22, 76, 59, 0.08);
}

.public-animal-cover {
  display: grid;
  place-items: center;
  min-height: 190px;
  background: linear-gradient(135deg, var(--mint), var(--cream));
}

.public-animal-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-animal-cover img[src*="zoodomik-mark"] {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.public-animal-body {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  padding: 1rem;
}

.public-animal-body h3 {
  margin: 0;
  color: var(--green);
  font-size: 1.18rem;
  line-height: 1.18;
}

.public-animal-body p {
  margin: 0;
  color: var(--muted);
}

.public-animal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.8rem;
  align-items: center;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.public-animal-meta a {
  color: var(--green);
  font-weight: 850;
}

.catalog-actions {
  justify-content: center;
  margin-top: 1.2rem;
}

.catalog-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  padding: 0.85rem 1rem;
  color: var(--muted);
}

.catalog-summary strong {
  color: var(--green);
}

@media (max-width: 960px) {
  .public-animal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .public-animal-card {
    grid-template-columns: 1fr;
  }

  .public-animal-cover {
    min-height: 210px;
  }
}

/* V0.1.24 public contact gate */
html.modal-open,
html.modal-open body {
  overflow: hidden;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(8, 33, 25, 0.58);
  backdrop-filter: blur(8px);
}

.modal-backdrop[hidden] {
  display: none !important;
}

.modal-card {
  position: relative;
  width: min(620px, 100%);
  max-height: min(760px, calc(100vh - 2.5rem));
  overflow: auto;
  border: 1px solid rgba(22, 76, 59, 0.18);
  border-radius: 28px;
  background: #fffdf8;
  box-shadow: 0 28px 90px rgba(8, 33, 25, 0.28);
  padding: clamp(1.2rem, 3vw, 2rem);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.contact-gate-form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-result {
  margin-top: 1rem;
  color: var(--muted);
}

.contact-result.is-error {
  color: #9b1c1c;
  font-weight: 800;
}

.contact-result.is-success {
  color: var(--ink);
}

.contact-reveal {
  display: grid;
  gap: 1rem;
}

.contact-reveal h3 {
  margin: 0.5rem 0 0;
  color: var(--green);
  font-size: 1.15rem;
}

.public-contact-actions {
  display: grid;
  gap: 0.7rem;
}

/* V0.1.25 footer, support, progressive form and modal notifications */
html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
}

.page-shell {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  overflow: visible;
}

.page-shell > main {
  flex: 1 0 auto;
}

.site-header {
  box-shadow: 0 8px 24px rgba(22, 76, 59, 0.06);
}

@media (min-width: 1121px) {
  .nav {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .nav-menu {
    grid-column: 2;
    justify-content: flex-end;
  }

  .nav-dropdown-panel {
    top: calc(100% + 0.2rem);
  }
}

.progressive-section.is-locked {
  display: none;
}

.progressive-section.is-locked::after {
  content: none;
}

.footer {
  flex-shrink: 0;
  background: #fffdf8;
}

.footer-inner-rich {
  display: grid;
  align-items: start;
  gap: clamp(1.4rem, 3vw, 2.4rem);
}

.footer-brand-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}

.footer-link-group {
  display: grid;
  align-content: start;
  gap: 0.42rem;
}

.footer-link-group strong {
  color: var(--green);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-link-group a {
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-link-group a:hover,
.footer-link-group a:focus-visible {
  color: var(--green);
  text-decoration: underline;
  outline: none;
}

.tech-support-panel {
  width: min(1180px, calc(100% - 32px));
  margin: clamp(2.2rem, 5vw, 4rem) auto 1.25rem;
}

.tech-support-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(22, 76, 59, 0.18);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(231, 243, 235, 0.95), rgba(255, 253, 248, 0.98));
  box-shadow: 0 16px 42px rgba(22, 76, 59, 0.08);
  padding: clamp(1rem, 2vw, 1.25rem);
}

.tech-support-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #fff;
}

.tech-support-copy {
  display: grid;
  gap: 0.18rem;
}

.tech-support-copy h2 {
  margin: 0;
  color: var(--green);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.tech-support-copy p,
.tech-support-copy span {
  margin: 0;
  color: var(--muted);
}

.tech-support-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem;
}

.floating-actions {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 1050;
  display: grid;
  gap: 0.7rem;
}

.floating-action {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(22, 76, 59, 0.24);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  box-shadow: 0 12px 30px rgba(22, 76, 59, 0.14);
}

.floating-action:first-child {
  background: var(--green);
  color: #fff;
}

.floating-icon {
  width: 22px;
  height: 22px;
}

.notice-modal-card.is-success {
  border-color: rgba(22, 76, 59, 0.22);
}

.notice-modal-card.is-error {
  border-color: rgba(159, 47, 31, 0.32);
}

.support-form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.support-modal-card textarea {
  min-height: 150px;
}

.support-offhours-card {
  max-width: 620px;
}

.support-offhours-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.support-offhours-actions .btn {
  min-width: 190px;
}

@media (max-width: 900px) {
  .tech-support-inner {
    grid-template-columns: 1fr;
  }

  .tech-support-actions {
    justify-content: stretch;
  }

  .tech-support-actions .btn {
    width: 100%;
  }

  .support-offhours-actions {
    display: grid;
  }

  .support-offhours-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .footer-brand-line {
    display: grid;
    gap: 0.3rem;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .footer-links {
    grid-template-columns: 1fr;
  }

  .floating-actions {
    right: 14px;
    bottom: 14px;
  }

  .floating-action {
    width: 48px;
    height: 48px;
  }
}

.modal-backdrop {
  z-index: 3000;
}

@media (max-width: 1120px) {
  .nav-menu {
    z-index: 2500;
  }
}

/* V0.1.26 auth, footer and scroll refinements */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(22, 76, 59, 0.58) rgba(231, 243, 235, 0.72);
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track {
  background: rgba(231, 243, 235, 0.72);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(22, 76, 59, 0.82), rgba(33, 99, 79, 0.72));
  border: 3px solid rgba(231, 243, 235, 0.72);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--green);
}

.modal-card::-webkit-scrollbar,
.nav-menu::-webkit-scrollbar {
  width: 10px;
}

.modal-card::-webkit-scrollbar-track,
.nav-menu::-webkit-scrollbar-track {
  margin: 18px 0;
  background: rgba(231, 243, 235, 0.58);
}

.required-mark {
  color: var(--coral);
  font-weight: 950;
}

.footer {
  padding: clamp(28px, 5vw, 46px) 0 24px;
  border-top: 1px solid rgba(22, 76, 59, 0.12);
  background:
    radial-gradient(circle at 8% 0%, rgba(242, 111, 80, 0.08), transparent 24rem),
    linear-gradient(180deg, #fffdf8 0%, #f5fbf6 100%);
}

.footer-inner-rich {
  grid-template-columns: 1fr;
  gap: clamp(1.6rem, 3vw, 2.2rem);
}

.footer-brand-line {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(280px, 1.3fr);
  align-items: center;
  gap: clamp(1.2rem, 4vw, 4rem);
  width: 100%;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(22, 76, 59, 0.1);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: max-content;
  color: var(--green);
  font-weight: 950;
  letter-spacing: 0.01em;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  display: block;
}

.footer-brand span {
  font-size: 1.2rem;
}

.footer-brand-line p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  text-align: right;
}

.footer-links {
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: clamp(1.3rem, 4vw, 4rem);
  justify-content: space-between;
}

.footer-link-group {
  gap: 0.5rem;
  min-width: 0;
}

.footer-link-group strong {
  margin-bottom: 0.2rem;
  font-weight: 950;
}

.footer-link-group a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  width: fit-content;
}

.footer-bottom-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding-top: 1rem;
  border-top: 1px solid rgba(22, 76, 59, 0.1);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .footer-brand-line {
    grid-template-columns: 1fr;
  }

  .footer-brand-line p {
    text-align: left;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom-line {
    display: grid;
  }
}

@media (max-width: 640px) {
  .footer-links {
    grid-template-columns: 1fr;
  }
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 3.15rem;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 0.45rem;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(22, 76, 59, 0.14);
  border-radius: 999px;
  background: rgba(232, 245, 237, 0.72);
  color: var(--green);
  transform: translateY(-50%);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  border-color: rgba(22, 76, 59, 0.28);
  background: #fff;
  outline: none;
}

.password-toggle:active {
  transform: translateY(-50%) scale(0.96);
}

.password-toggle-icon {
  width: 19px;
  height: 19px;
  stroke-width: 2;
}

.password-toggle-icon-hide {
  display: none;
}

.password-field.is-visible .password-toggle-icon-show {
  display: none;
}

.password-field.is-visible .password-toggle-icon-hide {
  display: block;
}

/* V0.1.28 concise modal notifications and softer placeholders */
input::placeholder,
textarea::placeholder {
  color: rgba(95, 118, 111, 0.52);
  opacity: 1;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: rgba(95, 118, 111, 0.52);
}

.notice-modal-card {
  width: min(360px, calc(100vw - 48px));
  min-height: 182px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.85rem;
  padding: clamp(1.4rem, 5vw, 2rem);
  text-align: center;
  border-radius: 28px;
}

.notice-modal-card .kicker,
.notice-modal-card h2,
.notice-modal-card p,
.notice-modal-card .form-actions,
.notice-modal-card .modal-close {
  display: none !important;
}

.notice-status-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 999px;
  background: rgba(231, 243, 235, 0.92);
  color: var(--green);
}

.notice-modal-card.is-error .notice-status-icon {
  background: rgba(255, 240, 234, 0.96);
  color: #9f2f1f;
}

.notice-icon {
  width: 42px;
  height: 42px;
}

.notice-status-text {
  color: var(--green);
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  font-weight: 950;
  line-height: 1.18;
}

.notice-modal-card.is-error .notice-status-text {
  color: #9f2f1f;
}

@media (max-width: 480px) {
  .notice-modal-card {
    width: min(320px, calc(100vw - 34px));
    min-height: 164px;
  }

  .notice-status-icon {
    width: 66px;
    height: 66px;
  }

  .notice-icon {
    width: 38px;
    height: 38px;
  }
}

/* V0.1.29 public photo gallery and title refinements */
.gallery-hero-button {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-hero-button img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.public-photo-button {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  padding: 0;
  background: var(--paper);
  text-align: left;
  cursor: zoom-in;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.public-photo-button:hover,
.public-photo-button:focus-visible,
.gallery-hero-button:hover,
.gallery-hero-button:focus-visible {
  outline: none;
}

.public-photo-button:hover,
.public-photo-button:focus-visible {
  border-color: rgba(22, 76, 59, 0.28);
  box-shadow: 0 12px 28px rgba(22, 76, 59, 0.12);
  transform: translateY(-1px);
}

.photo-gallery-card {
  width: min(1040px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
}

.photo-gallery-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding-right: 3.2rem;
}

.photo-gallery-head h2 {
  margin: 0.2rem 0 0;
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  line-height: 1.18;
}

.photo-gallery-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--mint-2);
  color: var(--green);
  font-weight: 900;
}

.photo-gallery-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(68vh, 680px);
  overflow: hidden;
  border: 1px solid rgba(22, 76, 59, 0.12);
  border-radius: 22px;
  background: #0f2f25;
}

.photo-gallery-stage img {
  display: block;
  max-width: 100%;
  max-height: min(68vh, 680px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.photo-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.92);
  color: var(--green);
  font-size: 2rem;
  line-height: 1;
  font-weight: 900;
  transform: translateY(-50%);
  box-shadow: 0 12px 28px rgba(8, 33, 25, 0.22);
}

.photo-gallery-nav:hover,
.photo-gallery-nav:focus-visible {
  background: #fff;
  outline: none;
}

.photo-gallery-nav[hidden] {
  display: none;
}

.js-gallery-prev {
  left: 1rem;
}

.js-gallery-next {
  right: 1rem;
}

@media (max-width: 640px) {
  .photo-gallery-card {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    border-radius: 22px;
  }

  .photo-gallery-head {
    display: grid;
    padding-right: 3rem;
  }

  .photo-gallery-stage {
    min-height: 58vh;
  }

  .photo-gallery-stage img {
    max-height: 58vh;
  }

  .photo-gallery-nav {
    width: 42px;
    height: 42px;
    font-size: 1.7rem;
  }
}

/* V0.1.30 sharing, catalog filters and public status refinements */
.btn-sm {
  min-height: 42px;
  padding: 0.58rem 0.9rem;
  font-size: 0.92rem;
}

.btn-with-icon,
.share-copy-row .btn,
.share-actions-grid .btn {
  gap: 0.55rem;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.upd-label {
  display: inline-flex;
  margin-left: 0.55rem;
  color: var(--muted);
  font-weight: 850;
}

.tag-status {
  background: var(--green);
  color: #fff;
}

.public-animal-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.36rem 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.public-animal-facts strong {
  color: var(--green);
}

.public-animal-actions {
  margin-top: 0.45rem;
}

.public-animal-actions .btn {
  text-decoration: none;
}

.share-modal-card {
  width: min(560px, calc(100vw - 36px));
}

.share-copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  margin-top: 1rem;
}

.share-copy-row input {
  min-height: 50px;
  border: 1px solid rgba(22, 76, 59, 0.16);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 0.82rem 1rem;
  font-weight: 750;
}

.share-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.catalog-toolbar {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.catalog-filter-mobile-open {
  display: none;
  width: 100%;
}

.catalog-filter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  padding: 1rem;
}

.catalog-filter-fields {
  display: grid;
  grid-template-columns: minmax(180px, 1.05fr) minmax(160px, 0.95fr) minmax(150px, 0.85fr) minmax(220px, 1.55fr);
  gap: 0.85rem;
  align-items: end;
}

.catalog-filter-field {
  min-width: 0;
}

.catalog-filter-field select {
  width: 100%;
}

.catalog-filter-actions {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  justify-content: flex-end;
}

.catalog-filter-actions .btn {
  white-space: nowrap;
}

.catalog-filter-modal-card {
  width: min(560px, calc(100vw - 32px));
}

.catalog-filter-form-modal {
  grid-template-columns: 1fr;
  border: 0;
  padding: 0;
  background: transparent;
}

.catalog-filter-form-modal .catalog-filter-fields {
  grid-template-columns: 1fr;
}

.catalog-filter-form-modal .catalog-filter-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.catalog-empty-panel[hidden],
.catalog-summary[hidden],
.catalog-actions[hidden] {
  display: none !important;
}

@media (min-width: 641px) {
  .public-animal-grid-catalog .public-animal-card {
    grid-template-columns: 210px minmax(0, 1fr);
  }
}

@media (max-width: 920px) {
  .catalog-filter-form {
    grid-template-columns: 1fr 1fr;
  }

  .catalog-filter-form-modal {
    grid-template-columns: 1fr;
  }

  .catalog-filter-form-desktop .catalog-filter-fields {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }

  .catalog-filter-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .catalog-filter-form-desktop {
    display: none;
  }

  .catalog-filter-mobile-open {
    display: inline-flex;
  }

  .public-animal-facts {
    grid-template-columns: 1fr;
  }

  .share-copy-row,
  .share-actions-grid,
  .catalog-filter-form-modal .catalog-filter-actions {
    grid-template-columns: 1fr;
  }

}

/* V0.1.31 archive workflow */
.cabinet-card.is-archived {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.cabinet-card.is-archived .cabinet-cover img {
  filter: saturate(0.72) opacity(0.82);
}

.tag-archived,
.expiry.archived {
  background: #eef1ee;
  color: #526860;
}

.pet-archive-modal-card {
  width: min(620px, calc(100vw - 36px));
}

.pet-archive-modal-card .account-form {
  margin-top: 1rem;
}

.modal-actions-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.modal-actions-two .btn {
  width: 100%;
}

.archived-public-notice {
  border-color: rgba(22, 76, 59, 0.26);
  background: linear-gradient(135deg, #fffdf8 0%, #eef8f3 100%);
  box-shadow: 0 18px 44px rgba(22, 76, 59, 0.08);
}

.archived-public-notice h2 {
  max-width: 900px;
}

@media (max-width: 640px) {
  .modal-actions-two {
    grid-template-columns: 1fr;
  }
}

/* V0.1.33 archive visibility and scroll refinements */
.archived-only-section {
  display: grid;
  min-height: clamp(340px, 52vh, 560px);
  align-items: center;
}

.archived-only-notice {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.archived-only-notice h1 {
  margin: 0.35rem 0 0.5rem;
}

.archive-upd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.45rem 0.95rem;
  margin: 0.25rem auto 0.9rem;
  border: 1px solid rgba(22, 76, 59, 0.16);
  border-radius: 999px;
  background: rgba(231, 243, 235, 0.78);
  color: var(--muted);
  font-weight: 800;
}

body::-webkit-scrollbar,
html::-webkit-scrollbar {
  width: 15px;
  height: 15px;
}

body::-webkit-scrollbar-track,
html::-webkit-scrollbar-track {
  background: rgba(231, 243, 235, 0.44);
  border: 5px solid #fffefa;
  border-radius: 999px;
  background-clip: padding-box;
}

body::-webkit-scrollbar-thumb,
html::-webkit-scrollbar-thumb {
  background: rgba(22, 76, 59, 0.78);
  border: 5px solid #fffefa;
  border-radius: 999px;
  background-clip: padding-box;
}

body::-webkit-scrollbar-thumb:hover,
html::-webkit-scrollbar-thumb:hover {
  background: var(--green);
}

.modal-card,
.nav-menu {
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(22, 76, 59, 0.66) transparent;
}

.modal-card::-webkit-scrollbar,
.nav-menu::-webkit-scrollbar {
  width: 16px;
}

.modal-card::-webkit-scrollbar-track,
.nav-menu::-webkit-scrollbar-track {
  margin: 24px 8px;
  background: rgba(231, 243, 235, 0.5);
  border: 5px solid #fffdf8;
  border-radius: 999px;
  background-clip: padding-box;
}

.modal-card::-webkit-scrollbar-thumb,
.nav-menu::-webkit-scrollbar-thumb {
  background: rgba(22, 76, 59, 0.76);
  border: 5px solid #fffdf8;
  border-radius: 999px;
  background-clip: padding-box;
}

.modal-card::-webkit-scrollbar-thumb:hover,
.nav-menu::-webkit-scrollbar-thumb:hover {
  background: var(--green);
}

@media (max-width: 640px) {
  .archived-only-section {
    min-height: 44vh;
  }
}

/* V0.1.35/V0.1.36 mobile navigation, profile repeaters, modal lock and scroll actions */
.nav-menu-toggle-text {
  display: inline-flex;
  align-items: center;
  font-weight: 850;
}

@media (max-width: 1120px) {
  .nav-menu-toggle {
    width: auto;
    min-width: 92px;
    padding: 0 0.85rem;
  }

  .nav-support-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin-top: 0.65rem;
    border: 1px solid rgba(22, 76, 59, 0.16);
    border-radius: 999px;
    background: #fff;
    color: var(--green);
    font-weight: 850;
  }
}

@media (min-width: 1121px) {
  .nav-menu-toggle-text,
  .nav-support-button,
  .nav-mobile-add-bottom .nav-support-button {
    display: none !important;
  }
}

html.modal-open,
body.modal-open-body {
  overflow: hidden !important;
  overscroll-behavior: contain;
}

.floating-action.js-scroll-top {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.floating-action.js-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.repeat-list {
  display: grid;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.repeat-item {
  border: 1px solid rgba(22, 76, 59, 0.12);
  border-radius: 12px;
  background: rgba(247, 252, 248, 0.72);
  padding: 0.95rem;
}

.repeat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
  color: var(--green);
}

.repeat-list .repeat-item:only-child .js-repeat-remove {
  display: none;
}

.btn-sm {
  min-height: 40px;
  padding: 0.58rem 0.85rem;
  font-size: 0.9rem;
}

.security-card-note {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.contact-data-block {
  display: grid;
  gap: 0.22rem;
  border: 1px solid rgba(22, 76, 59, 0.12);
  border-radius: 12px;
  background: rgba(247, 252, 248, 0.72);
  padding: 0.85rem;
}

.contact-data-block + .contact-data-block {
  margin-top: 0.65rem;
}

/* V0.1.39 — mobile header menu button cleanup
   Keep the mobile menu trigger as a compact icon button so it does not appear
   as a second text button under/near the Cabinet action on small screens. */
@media (max-width: 1120px) {
  .nav-menu-toggle {
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    padding: 0 !important;
    gap: 0 !important;
  }

  .nav-menu-toggle-text {
    display: none !important;
  }
}

/* V0.1.40 — mobile header actions cleanup
   Keep the menu trigger readable on mobile and remove the duplicated top
   "Додати анкету" action near "Кабінет" in the mobile menu. The main
   add-profile CTA remains at the bottom of the mobile menu. */
@media (max-width: 1120px) {
  .nav-menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 92px !important;
    height: 46px !important;
    padding: 0 0.85rem !important;
    gap: 0.55rem !important;
  }

  .nav-menu-toggle-text {
    display: inline-flex !important;
    align-items: center;
    order: 1;
    font-weight: 850;
  }

  .nav-menu-icon {
    order: 2;
    flex: 0 0 auto;
  }

  .nav-guest-create {
    display: none !important;
  }
}

/* V0.1.41 cabinet tabs, admin panel and compact profile records */
.cabinet-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.1rem 0 1.25rem;
}

.cabinet-tabs,
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cabinet-tab,
.admin-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  border: 1px solid rgba(22, 76, 59, 0.15);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  padding: 0.45rem 0.78rem;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.cabinet-tab b,
.admin-tab b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(22, 76, 59, 0.1);
  font-size: 0.86rem;
}

.cabinet-tab.is-active,
.admin-tab.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.cabinet-tab.is-active b,
.admin-tab.is-active b {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.cabinet-card.is-draft {
  background: rgba(255, 253, 248, 0.94);
}

.tag-draft,
.expiry.draft {
  background: #fff4df;
  color: #8c5a13;
}

.cabinet-filter-empty {
  margin-top: 1rem;
}

.cabinet-status-notice {
  display: grid;
  gap: 0.25rem;
  margin: -0.35rem 0 1rem;
  border: 1px solid rgba(22, 76, 59, 0.14);
  border-radius: 18px;
  background: rgba(241, 250, 245, 0.82);
  color: var(--green);
  padding: 0.85rem 1rem;
  line-height: 1.45;
}

.cabinet-status-notice strong {
  font-weight: 900;
}

.cabinet-status-notice span {
  color: var(--muted);
}

.profile-record-headline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.profile-record-list {
  gap: 0.75rem;
}

.profile-record-item {
  padding: 0;
  overflow: hidden;
}

.profile-record-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.88rem 0.95rem;
}

.profile-record-summary strong,
.profile-record-summary span,
.profile-record-summary small {
  display: block;
}

.profile-record-summary strong {
  color: var(--green);
  font-size: 1rem;
}

.profile-record-summary span {
  margin-top: 0.18rem;
  color: var(--ink);
  font-weight: 750;
}

.profile-record-summary small {
  margin-top: 0.2rem;
  color: var(--muted);
}

.profile-record-actions {
  display: inline-flex;
  gap: 0.45rem;
  flex-shrink: 0;
}

.icon-action {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(22, 76, 59, 0.14);
  border-radius: 14px;
  background: #fff;
  color: var(--green);
  cursor: pointer;
}

.icon-action.danger {
  color: #9f2f1f;
}

.profile-record-modal-card,
.profile-delete-modal-card {
  width: min(720px, calc(100vw - 36px));
}

.admin-shell .account-title-row {
  margin-bottom: 1rem;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.admin-stat {
  display: block;
  border: 1px solid rgba(22, 76, 59, 0.13);
  border-radius: var(--radius);
  background: #fff;
  padding: 1rem;
  text-decoration: none;
  color: var(--green);
  box-shadow: 0 14px 34px rgba(22, 76, 59, 0.07);
}

.admin-stat span,
.admin-stat strong {
  display: block;
}

.admin-stat strong {
  margin-top: 0.25rem;
  font-size: 2rem;
}

.admin-table-wrap {
  margin-top: 1rem;
  overflow-x: auto;
  border: 1px solid rgba(22, 76, 59, 0.12);
  border-radius: var(--radius);
  background: #fff;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.admin-table th,
.admin-table td {
  padding: 0.82rem 0.9rem;
  border-bottom: 1px solid rgba(22, 76, 59, 0.08);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--green);
  background: rgba(231, 243, 235, 0.56);
  font-size: 0.9rem;
}

.admin-table small {
  display: block;
  margin-top: 0.18rem;
  color: var(--muted);
}

.admin-message-cell {
  max-width: 360px;
}

.admin-help-card {
  margin-top: 1rem;
}

.admin-danger-form {
  display: grid;
  gap: 0.45rem;
  min-width: 180px;
}

.admin-confirm-input {
  width: 150px;
  min-height: 40px;
  border: 1px solid rgba(159, 47, 31, 0.24);
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  font-weight: 800;
  color: #7d2519;
}

.admin-support-form {
  min-width: 240px;
  gap: 0.55rem;
}

.compact-field {
  gap: 0.25rem;
}

.compact-field textarea {
  min-height: 74px;
}

.checkbox-card {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem;
  border: 1px solid rgba(22, 76, 59, 0.14);
  border-radius: 14px;
  background: rgba(247, 252, 248, 0.78);
  color: var(--ink);
  font-weight: 700;
}

.checkbox-card input {
  margin-top: 0.18rem;
  width: auto;
}

@media (max-width: 760px) {
  .cabinet-toolbar,
  .profile-record-headline {
    align-items: stretch;
    flex-direction: column;
  }

  .cabinet-toolbar > .btn,
  .profile-record-headline > .btn {
    width: 100%;
  }

  .admin-stat-grid {
    grid-template-columns: 1fr;
  }

  .profile-record-summary {
    align-items: flex-start;
  }
}


/* V0.1.42 cabinet tab visibility and profile verification layout. */
.cabinet-card[hidden],
.cabinet-filter-empty[hidden],
.cabinet-status-notice[hidden] {
  display: none !important;
}

.profile-record-add {
  width: 100%;
  margin-top: 0.85rem;
  justify-content: center;
}

.profile-record-help {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
}

.profile-verify-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.9rem;
}

.verify-card {
  border: 1px solid rgba(22, 76, 59, 0.13);
  border-radius: 18px;
  background: rgba(247, 252, 248, 0.78);
  padding: 1rem;
}

.verify-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.verify-card-head strong {
  color: var(--green);
  font-size: 1.05rem;
}

.tag-verified {
  background: #e3f6eb;
  color: var(--green);
}

.verify-actions {
  margin-top: 0.8rem;
}

.verify-actions .btn,
.inline-action-field .btn {
  white-space: nowrap;
}

.verify-code-field {
  margin-top: 0.9rem;
}

.inline-action-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
}

.notification-settings {
  margin-top: 1.05rem;
}

.notification-settings h3 {
  margin: 0 0 0.75rem;
  color: var(--green);
}

.notify-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (max-width: 760px) {
  .profile-verify-grid,
  .notify-grid,
  .inline-action-field {
    grid-template-columns: 1fr;
  }

  .inline-action-field .btn,
  .verify-actions .btn {
    width: 100%;
  }
}

/* V0.1.43 — profile page inner tabs and modal record save behavior. */
.profile-tabbed {
  grid-template-columns: 1fr;
}

.profile-tabs {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.15rem 0 0.45rem;
}

.profile-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(22, 76, 59, 0.15);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  padding: 0.52rem 0.86rem;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(22, 76, 59, 0.05);
}

.profile-tab.is-active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.profile-tab-section,
.profile-verification-section {
  grid-column: 1 / -1;
  width: 100%;
}

.profile-tab-section[hidden] {
  display: none !important;
}

.profile-verification-section .profile-verify-grid,
.profile-verification-section .notify-grid {
  width: 100%;
}

.profile-record-add {
  min-height: 52px;
}

@media (max-width: 760px) {
  .profile-tabs {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    overflow: visible;
  }

  .profile-tab {
    width: 100%;
    border-radius: 18px;
  }
}

/* V0.1.44 — separated contact verification and notifications tabs. */
.profile-notifications-section,
.profile-verification-section {
  grid-column: 1 / -1;
  width: 100%;
}

.profile-verify-grid.single,
.notify-grid.single {
  grid-template-columns: 1fr;
}

.verified-contact-value {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.7rem 0.95rem;
  border-radius: 16px;
  background: rgba(22, 76, 59, 0.06);
  color: var(--green);
  font-weight: 900;
  overflow-wrap: anywhere;
  margin: 0.15rem 0 0.9rem;
}

.verification-code-pair {
  margin-top: 0.9rem;
}

.notification-settings-single {
  margin-top: 0.85rem;
}

input[readonly] {
  background: rgba(22, 76, 59, 0.045);
  cursor: default;
}

.pending-email-change {
  margin: 0.9rem 0 0.2rem;
  padding: 0.75rem 0.95rem;
  border-radius: 16px;
  background: rgba(245, 119, 47, 0.08);
  color: var(--green);
  font-weight: 750;
  overflow-wrap: anywhere;
}

/* V0.1.46 password reset help block */
.account-help-card {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(22, 76, 59, 0.16);
  border-radius: 1.25rem;
  background: rgba(246, 252, 248, 0.9);
  display: grid;
  gap: 0.6rem;
}

.account-help-card .btn {
  justify-self: start;
}

@media (max-width: 640px) {
  .account-help-card .btn {
    width: 100%;
  }
}

/* V0.1.50 animal item cards and calculated age inputs */
.age-pair {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.pet-items-section .form-section-headline {
  margin-bottom: 1rem;
}

.pet-item-list,
.public-pet-item-list {
  display: grid;
  gap: 1rem;
}

.pet-item-card,
.public-pet-item-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mint-2);
  padding: clamp(0.95rem, 2.3vw, 1.2rem);
}

.pet-item-card-head,
.public-pet-item-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.pet-item-card-head h3,
.public-pet-item-head h3 {
  margin: 0.45rem 0 0;
  color: var(--green);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
}

.pet-item-status-field {
  min-width: 190px;
}

.pet-item-photo-grid,
.public-pet-item-photos {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 0.85rem;
}

.public-pet-item-cover {
  overflow: hidden;
  border-radius: calc(var(--radius) - 6px);
  background: #fff;
}

.public-pet-item-cover img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.public-pet-item-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.public-pet-item-facts span {
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  padding: 0.35rem 0.55rem;
  font-size: 0.9rem;
  font-weight: 800;
}

@media (max-width: 720px) {
  .age-pair,
  .pet-item-card-head,
  .public-pet-item-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .pet-item-status-field {
    min-width: 0;
  }

  .pet-item-photo-grid,
  .public-pet-item-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* V0.1.52 lost/found quick actions */
.lost-found-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.lost-found-action {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(22,76,59,.14);
  box-shadow: 0 14px 34px rgba(19, 56, 45, .12);
  text-decoration: none;
  color: var(--color-ink, #12382d);
}
.lost-found-action strong {
  font-size: 1.02rem;
}
.lost-found-action span {
  color: var(--color-muted, #50645d);
  line-height: 1.45;
}
.lost-action {
  border-color: rgba(188, 82, 58, .24);
}
.found-action {
  border-color: rgba(52, 126, 91, .24);
}
@media (max-width: 720px) {
  .lost-found-quick-actions {
    grid-template-columns: 1fr;
  }
}

/* V0.1.53 clearer hero quick actions */
.hero-quick-actions {
  margin-top: 1.55rem;
  gap: 0.9rem;
}
.hero-secondary-actions {
  margin-top: 0.85rem;
}
.hero-photo .hero-lost-btn,
.hero-photo .hero-found-btn {
  min-height: 58px;
  padding: 0.95rem 1.35rem;
  border: 2px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  color: #fff;
  text-shadow: none;
}
.hero-photo .hero-lost-btn {
  background: #bf5139;
}
.hero-photo .hero-found-btn {
  background: #0b6b4c;
}
.hero-photo .hero-secondary-actions .btn-secondary {
  background: rgba(255,255,255,.14);
}
@media (max-width: 720px) {
  .hero-quick-actions,
  .hero-secondary-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero-photo .hero-lost-btn,
  .hero-photo .hero-found-btn {
    width: 100%;
  }
}


/* V0.1.54 lost/found intent pages, mobile hero contrast and form wording */
.hero-photo .hero-quick-actions .btn {
  position: relative;
  z-index: 1;
  color: #fff !important;
  text-decoration: none;
  text-shadow: none !important;
}
.hero-photo .hero-quick-actions .btn:hover,
.hero-photo .hero-quick-actions .btn:focus-visible {
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.3);
}
.hero-photo .hero-secondary-actions .btn-secondary {
  color: #fff !important;
}
.situation-hint {
  margin-top: 0.75rem;
  border: 1px solid rgba(22, 76, 59, 0.12);
  border-radius: 18px;
  background: rgba(241, 250, 245, 0.78);
  color: var(--green);
  padding: 0.78rem 0.9rem;
  font-size: 0.96rem;
  line-height: 1.45;
}

.mode-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.mode-choice-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: flex-start;
  border: 1px solid rgba(22, 76, 59, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.9rem 1rem;
  cursor: pointer;
}

.mode-choice-card:has(input:checked) {
  border-color: rgba(22, 76, 59, 0.42);
  background: rgba(231, 243, 235, 0.76);
  box-shadow: 0 14px 30px rgba(22, 76, 59, 0.08);
}

.mode-choice-card input {
  margin-top: 0.2rem;
}

.mode-choice-card strong,
.mode-choice-card small {
  display: block;
}

.mode-choice-card strong {
  color: var(--green);
}

.mode-choice-card small {
  margin-top: 0.25rem;
  color: var(--muted);
  line-height: 1.4;
}

.js-pet-form.is-quick-mode [data-mode-only="detailed"],
.js-pet-form.is-detailed-mode [data-mode-only="quick"] {
  display: none !important;
}

@media (max-width: 720px) {
  .mode-choice-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .hero-photo {
    min-height: auto;
    padding: 38px 0 48px;
    background-image:
      linear-gradient(180deg, rgba(12, 39, 31, 0.92) 0%, rgba(12, 39, 31, 0.76) 54%, rgba(12, 39, 31, 0.5) 100%),
      var(--hero-image);
  }
  .hero-photo h1 {
    font-size: clamp(2.2rem, 12vw, 3.7rem);
  }
  .hero-photo .hero-copy {
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 4px 16px rgba(0,0,0,.25);
  }
  .hero-quick-actions,
  .hero-secondary-actions {
    gap: 0.75rem;
  }
  .hero-photo .hero-lost-btn,
  .hero-photo .hero-found-btn,
  .hero-photo .hero-secondary-actions .btn-secondary {
    width: 100%;
    min-height: 56px;
    border-radius: 999px;
    font-size: 1rem;
  }
}


/* V0.1.56 typography balance, warmer search naming and innovation cards */
body {
  font-weight: 400;
}

.brand,
.nav-menu-toggle,
.nav-dropdown-trigger,
.nav-user-summary,
.nav-item,
.nav-action-chip,
.nav-support-button,
.btn,
.footer-link-group strong {
  font-weight: 680;
}

.nav-dropdown-panel .nav-item,
.footer-link-group a,
.hero-copy,
.section-head p,
.text-panel p,
.scenario p,
.feature p,
.faq-item p,
.step p,
.trust-item span {
  font-weight: 400;
}

.hero-photo h1 {
  font-weight: 780;
  letter-spacing: -0.035em;
}

h2 {
  font-weight: 720;
  letter-spacing: -0.025em;
}

h3,
.scenario h3,
.feature h3,
.faq-item h3,
.innovation-card h3 {
  font-weight: 650;
}

.kicker,
.eyebrow {
  font-weight: 620;
}

.hero-photo .hero-lost-btn,
.hero-photo .hero-found-btn {
  font-weight: 720;
}

.hero-photo .hero-secondary-actions .btn-secondary {
  font-weight: 620;
}

.trust-item strong {
  font-weight: 650;
}

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

.innovation-card {
  display: grid;
  gap: 0.62rem;
  border: 1px solid rgba(22, 76, 59, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(243, 250, 245, 0.86));
  padding: 1.2rem;
  box-shadow: 0 18px 42px rgba(22, 76, 59, 0.07);
}

.innovation-card h3 {
  color: var(--green);
  font-size: 1.12rem;
}

.innovation-card p {
  color: var(--muted);
  line-height: 1.62;
}

.error-page {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 7rem) 0;
  min-height: 48vh;
  display: grid;
  place-items: center;
}

.error-card {
  width: min(760px, 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(243, 250, 245, 0.92));
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 4vw, 2.4rem);
}

.error-code {
  display: inline-grid;
  place-items: center;
  min-width: 4.5rem;
  min-height: 2.4rem;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.error-card h1 {
  max-width: 12ch;
  margin: 0.25rem 0 0.75rem;
  color: var(--green);
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.error-copy {
  max-width: 44rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

@media (max-width: 900px) {
  .innovation-grid {
    grid-template-columns: 1fr;
  }
}



/* V0.1.59 — Telegram alert settings in user cabinet. */
.telegram-settings-panel {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(22, 76, 59, 0.13);
  border-radius: 20px;
  background: rgba(247, 252, 248, 0.78);
}

.telegram-settings-head,
.telegram-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.telegram-settings-head h3 {
  margin: 0 0 0.25rem;
  color: var(--green);
}

.telegram-linked-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin: 0.85rem 0;
  padding: 0.8rem 0.9rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(22, 76, 59, 0.11);
}

.telegram-linked-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.telegram-preference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.telegram-filter-fields {
  margin-top: 0.9rem;
}

@media (max-width: 760px) {
  .telegram-actions-row .btn,
  .telegram-preference-grid,
  .telegram-linked-card {
    width: 100%;
  }

  .telegram-preference-grid {
    grid-template-columns: 1fr;
  }

  .telegram-linked-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* V0.1.60 — universal alert cards in cabinet. */
.alert-cards-headline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(22, 76, 59, 0.1);
}

.alert-cards-headline h4 {
  margin: 0 0 0.25rem;
  color: var(--green);
  font-size: 1.06rem;
}

.alert-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.alert-rule-card {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid rgba(22, 76, 59, 0.12);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(22, 76, 59, 0.055);
}

.alert-rule-card-new {
  background: rgba(255, 255, 255, 0.62);
  border-style: dashed;
}

.alert-rule-card-top,
.alert-rule-summary,
.alert-choice-group {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  align-items: center;
}

.alert-rule-card-top {
  justify-content: space-between;
}

.alert-delete-toggle {
  color: var(--muted);
  font-size: 0.9rem;
}

.alert-choice-group {
  padding: 0.72rem 0.8rem;
  border-radius: 15px;
  background: rgba(244, 250, 246, 0.85);
}

.alert-choice-group strong {
  flex-basis: 100%;
  color: var(--green);
  font-weight: 640;
}

.alert-choice-group label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text);
  font-size: 0.93rem;
}

.alert-compact-checkbox {
  padding: 0.72rem 0.8rem;
}

.alert-rule-summary {
  border-top: 1px solid rgba(22, 76, 59, 0.1);
  padding-top: 0.72rem;
}

.alert-rule-summary span {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.32rem 0.58rem;
  background: rgba(22, 76, 59, 0.07);
  color: var(--green);
  font-size: 0.82rem;
}

@media (max-width: 860px) {
  .alert-card-grid {
    grid-template-columns: 1fr;
  }

  .alert-cards-headline .btn {
    width: 100%;
  }
}

/* V0.1.61 robust auto-closing system notice */
.notice-modal-close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: rgba(5, 77, 54, 0.72);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}

.notice-modal-close:hover,
.notice-modal-close:focus-visible {
  background: rgba(231, 243, 235, 0.96);
  color: var(--green);
  outline: none;
}

/* V0.1.62 — photo import via URL / clipboard */
.photo-import-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.photo-import-field textarea {
  min-height: 96px;
  resize: vertical;
}

.photo-import-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.btn.btn-small {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 0.92rem;
}

.photo-import-hint {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0, 85, 58, 0.08);
  color: var(--color-ink, #064833);
  font-size: 0.92rem;
}

.photo-import-hint.is-error {
  background: rgba(194, 68, 42, 0.1);
  color: #8b2614;
}

@media (max-width: 760px) {
  .photo-import-row {
    grid-template-columns: 1fr;
  }
}

/* V0.1.68 — generic choice chips for contact messenger flags */
.choice-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.45rem;
}
.choice-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: var(--green);
  padding: .45rem .65rem;
  font-size: .92rem;
  line-height: 1.2;
  cursor: pointer;
}
.choice-chip input { width: 1rem; height: 1rem; margin: 0; accent-color: var(--green); }
.choice-chip:has(input:checked) { border-color: rgba(0,93,70,.55); background: rgba(230,246,238,.95); box-shadow: 0 0 0 3px rgba(0,93,70,.08); }


/* V0.1.69 — safe care flags stored inside existing health text */
.pet-care-field { margin-top: .2rem; }
.pet-care-chip-grid { align-items: flex-start; }
.public-care-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: .65rem 0 .35rem;
}

/* V0.1.71 — Telegram code activation */
.telegram-activation-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}
.telegram-code-box {
  min-width: 180px;
  padding: .85rem 1rem;
  border-radius: 18px;
  background: rgba(22, 76, 59, .08);
  text-align: center;
}
.telegram-code-box span,
.telegram-code-box small {
  display: block;
  color: var(--muted);
  font-size: .86rem;
}
.telegram-code-box strong {
  display: block;
  margin: .2rem 0;
  color: var(--green);
  font-size: 1.65rem;
  letter-spacing: .16em;
}
@media (max-width: 760px) {
  .telegram-activation-card { grid-template-columns: 1fr; }
  .telegram-code-box { width: 100%; }
}

/* V0.1.73 — public contact reveal profile details */
.contact-profile-details h4 {
  margin: 0 0 0.35rem;
  color: var(--green);
  font-size: 1rem;
}

/* V0.1.98 — stable floating actions on account edit pages */
.floating-actions {
  z-index: 2400;
  pointer-events: none;
}

.floating-action {
  appearance: none;
  pointer-events: auto;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 180ms ease, visibility 180ms ease;
}

.floating-action:hover,
.floating-action:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(22, 76, 59, 0.2);
}

.floating-action.js-support-open {
  opacity: 1;
  visibility: visible;
}

.floating-action.js-scroll-top {
  display: inline-grid;
}

.floating-actions-fallback .floating-action {
  font-size: 1.25rem;
  font-weight: 950;
  line-height: 1;
}

.photo-tile button[disabled],
.photo-import-row input[disabled] {
  opacity: 0.65;
  cursor: wait;
}

.photo-grid:empty {
  display: none;
}

/* V0.1.140 lighter home hero: faster path to current listings */
.hero-photo {
  min-height: clamp(500px, 66vh, 620px);
  padding: clamp(38px, 5.2vw, 68px) 0 clamp(34px, 4.8vw, 58px);
}
.hero-photo h1 {
  max-width: 690px;
}
.hero-photo .hero-copy {
  max-width: 610px;
}
.hero-photo .hero-quick-actions {
  margin-top: 1.25rem;
}
.hero-photo .hero-catalog-btn {
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.16);
  color: #fff !important;
}
.home-latest-section {
  padding-top: clamp(24px, 3vw, 38px);
}
@media (max-width: 640px) {
  .hero-photo {
    min-height: auto;
    padding: 34px 0 38px;
  }
  .hero-photo .hero-quick-actions {
    grid-template-columns: 1fr;
  }
  .hero-photo .hero-catalog-btn {
    width: 100%;
  }
}


/* V0.1.141 home photo wall: more listings above the fold */
.home-latest-head {
  margin-bottom: 1.05rem;
}
.home-photo-wall {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}
.home-photo-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(22, 76, 59, 0.16);
  border-radius: 22px;
  background: linear-gradient(135deg, var(--mint), var(--cream));
  box-shadow: 0 14px 34px rgba(22, 76, 59, 0.1);
  isolation: isolate;
}
.home-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}
.home-photo-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 56%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(9, 47, 35, 0.74));
  opacity: 0.82;
  z-index: 1;
}
.home-photo-caption {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.62rem;
  z-index: 2;
  display: grid;
  gap: 0.12rem;
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.12;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.42);
}
.home-photo-caption strong,
.home-photo-caption small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-photo-card:hover img,
.home-photo-card:focus-visible img {
  transform: scale(1.045);
}
.home-photo-card:focus-visible {
  outline: 3px solid rgba(255, 109, 63, 0.75);
  outline-offset: 3px;
}
@media (max-width: 1080px) {
  .home-photo-wall {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .home-photo-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
  }
  .home-photo-card {
    border-radius: 16px;
  }
  .home-photo-caption {
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
    font-size: 0.68rem;
  }
}
@media (max-width: 480px) {
  .home-photo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* V0.1.142 preview mode and form photo preview */
.preview-banner {
  max-width: 1180px;
  margin: 22px auto 0;
  padding: 14px 18px;
  border: 1px solid rgba(22, 76, 59, 0.2);
  border-radius: 18px;
  background: rgba(255, 248, 226, 0.96);
  color: var(--green-dark);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.preview-banner strong {
  font-weight: 900;
}

.photo-tile img.js-form-photo-preview-open {
  cursor: zoom-in;
}

.photo-tile img.js-form-photo-preview-open:focus-visible {
  outline: 3px solid rgba(22, 76, 59, 0.45);
  outline-offset: 3px;
}

.form-photo-preview-card {
  max-width: min(920px, calc(100vw - 32px));
}

.form-photo-preview-stage {
  min-height: min(68vh, 620px);
}

.form-photo-preview-stage img {
  max-width: 100%;
  max-height: min(68vh, 620px);
  object-fit: contain;
}

@media (max-width: 720px) {
  .preview-banner {
    margin: 14px 16px 0;
    align-items: flex-start;
  }
}

/* ZooDomik v0.1.38 — adaptive pet form, photo editor and location map */
.pet-form-shell {
  max-width: 1180px;
  margin: 0 auto;
}

.pet-form-title-row {
  align-items: flex-start;
}

.pet-adaptive-form {
  display: grid;
  gap: 22px;
}

.pet-form-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(22, 76, 59, 0.22);
  border-bottom: 1px solid rgba(22, 76, 59, 0.22);
  background: #fff;
}

.pet-form-progress span {
  min-height: 68px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-right: 1px solid rgba(22, 76, 59, 0.14);
  color: #5c6862;
  font-size: 0.9rem;
}

.pet-form-progress span:last-child {
  border-right: 0;
}

.pet-form-progress b {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(22, 76, 59, 0.28);
  border-radius: 50%;
  color: var(--green-dark);
}

.pet-form-progress .is-active {
  color: var(--green-dark);
  background: rgba(22, 76, 59, 0.055);
}

.pet-form-progress .is-active b {
  border-color: var(--coral);
  background: var(--coral-2);
  color: var(--coral);
  font-weight: 700;
}

.form-section-headline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.form-section-headline h2 {
  margin-bottom: 5px;
}

.pet-situation-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: rgba(22, 76, 59, 0.18);
  border: 1px solid rgba(22, 76, 59, 0.18);
}

.pet-situation-card {
  position: relative;
  display: block;
  min-height: 142px;
  padding: 20px 16px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--green-dark);
  text-align: left;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.pet-situation-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.pet-situation-card-body {
  display: block;
  min-height: 100%;
}

.pet-situation-card:hover {
  background: #f4f8f5;
  box-shadow: inset 0 0 0 2px rgba(22, 76, 59, 0.42);
}

.pet-situation-card:has(.pet-situation-radio:focus-visible) {
  outline: 3px solid rgba(242, 111, 80, 0.48);
  outline-offset: -3px;
}

.pet-situation-card.is-selected,
.pet-situation-card:has(.pet-situation-radio:checked) {
  background: var(--green-dark);
  color: #fff;
  box-shadow: inset 0 0 0 2px var(--green-dark);
}

.pet-situation-card strong,
.pet-situation-card span {
  display: block;
}

.pet-situation-card strong {
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.25;
}

.pet-situation-card span {
  font-size: 0.84rem;
  line-height: 1.45;
  opacity: .78;
}

.situation-hint {
  min-height: 24px;
  margin-top: 12px;
  color: var(--green-dark);
  font-size: .9rem;
}

.progressive-section.is-locked {
  position: relative;
  opacity: .56;
}

.progressive-section.is-locked::after {
  content: attr(data-locked-message);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(255, 255, 255, .76);
  color: var(--green-dark);
  text-align: center;
  z-index: 4;
}

.progressive-section.is-hidden {
  display: none !important;
}

/* Native radio selection keeps the form usable even before the page scripts finish loading. */
.pet-adaptive-form:has(.pet-situation-radio:checked) .progressive-section.is-locked {
  opacity: 1;
}

.pet-adaptive-form:has(.pet-situation-radio:checked) .progressive-section.is-locked::after {
  display: none;
}

.required-mark {
  color: var(--coral);
  font-weight: 700;
}

.pet-submit-control {
  display: grid;
  gap: 7px;
  justify-items: start;
}

.pet-submit-button:disabled {
  border-color: #cdd8d2;
  background: #dfe7e2;
  color: #718078;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 1;
}

.pet-submit-button.is-ready {
  cursor: pointer;
}

.pet-submit-hint {
  max-width: 420px;
  color: #6b7972;
  font-size: .84rem;
  line-height: 1.4;
}

.pet-submit-hint.is-ready {
  color: var(--green-dark);
}

.pet-item-list {
  display: grid;
  gap: 18px;
}

.pet-item-card {
  padding: 22px;
  border: 1px solid rgba(22, 76, 59, .2);
  border-radius: 0;
  background: #fff;
}

.pet-item-card-head {
  padding-bottom: 15px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(22, 76, 59, .14);
}

.pet-additional-details {
  margin-top: 18px;
  border-top: 1px solid rgba(22, 76, 59, .14);
  border-bottom: 1px solid rgba(22, 76, 59, .14);
}

.pet-additional-details summary {
  padding: 15px 0;
  color: var(--green-dark);
  cursor: pointer;
  font-weight: 600;
}

.pet-additional-details > .form-two {
  padding: 0 0 18px;
}

.pet-photo-uploader {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding: 15px;
  border: 1px dashed rgba(22, 76, 59, .34);
  background: rgba(22, 76, 59, .035);
}

.pet-photo-upload-status {
  min-height: 20px;
  color: var(--green-dark);
  font-size: .84rem;
}

.pet-location-state {
  padding: 7px 10px;
  border: 1px solid rgba(22, 76, 59, .22);
  color: var(--green-dark);
  font-size: .8rem;
  white-space: nowrap;
}

.location-autocomplete-field {
  position: relative;
}

.location-suggestions {
  position: absolute;
  z-index: 950;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 320px;
  overflow-y: auto;
  border: 1px solid rgba(22, 76, 59, .28);
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 44, 35, .16);
}

.location-suggestion-item {
  width: 100%;
  padding: 13px 14px;
  border: 0;
  border-bottom: 1px solid rgba(22, 76, 59, .11);
  background: #fff;
  color: #26352f;
  text-align: left;
  cursor: pointer;
}

.location-suggestion-item:hover,
.location-suggestion-item:focus-visible {
  background: #edf5f0;
  outline: none;
}

.location-suggestion-empty {
  padding: 14px;
  color: #64706a;
  font-size: .86rem;
}

.pet-location-map {
  width: 100%;
  height: 430px;
  margin-top: 18px;
  border: 1px solid rgba(22, 76, 59, .24);
  background: #edf1ee;
  overflow: hidden;
}

.pet-location-map > p {
  margin: 0;
  padding: 22px;
}

.pet-location-map .leaflet-control-attribution {
  font-size: 10px;
}

.pet-location-privacy {
  margin-top: 18px;
}

.photo-editor-modal[hidden] {
  display: none !important;
}

.photo-editor-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.photo-editor-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 16, 12, .84);
}

.photo-editor-dialog {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  max-height: calc(100vh - 40px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .35);
}

.photo-editor-head,
.photo-editor-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(22, 76, 59, .16);
}

.photo-editor-foot {
  border-top: 1px solid rgba(22, 76, 59, .16);
  border-bottom: 0;
}

.photo-editor-foot > div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.photo-editor-body {
  min-height: 0;
  overflow-y: auto;
  padding: 16px 20px;
  background: #f5f7f5;
}

.photo-editor-toolbar,
.photo-editor-controls {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px;
  border: 1px solid rgba(22, 76, 59, .16);
  background: #fff;
}

.photo-editor-toolbar label,
.photo-editor-controls label {
  display: grid;
  gap: 5px;
  min-width: 135px;
  color: #405048;
  font-size: .78rem;
}

.photo-editor-tool-group {
  display: flex;
  gap: 6px;
}

.photo-editor-tool.is-active {
  background: var(--green-dark);
  color: #fff;
}

.photo-editor-grid-toggle {
  grid-template-columns: auto auto !important;
  align-items: center;
  min-width: auto !important;
}

.photo-editor-stage {
  min-height: 360px;
  margin: 12px 0;
  display: grid;
  place-items: center;
  overflow: auto;
  background-image: linear-gradient(45deg, #202823 25%, transparent 25%), linear-gradient(-45deg, #202823 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #202823 75%), linear-gradient(-45deg, transparent 75%, #202823 75%);
  background-size: 24px 24px;
  background-position: 0 0, 0 12px, 12px -12px, -12px 0;
  background-color: #151b17;
}

.photo-editor-stage canvas {
  display: block;
  max-width: 100%;
  max-height: min(58vh, 760px);
  width: auto;
  height: auto;
  touch-action: none;
  cursor: grab;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .2);
}

.photo-editor-stage canvas:active {
  cursor: grabbing;
}

.photo-editor-controls input[type="range"] {
  width: min(220px, 42vw);
}

.photo-editor-counter {
  color: var(--green-dark);
  font-weight: 600;
}

@media (max-width: 980px) {
  .pet-situation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pet-situation-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .pet-form-progress {
    display: flex;
    overflow-x: auto;
  }

  .pet-form-progress span {
    min-width: 190px;
  }

  .pet-situation-grid {
    grid-template-columns: 1fr;
  }

  .pet-situation-card,
  .pet-situation-card:last-child {
    grid-column: auto;
    min-height: 112px;
  }

  .pet-item-card {
    padding: 16px;
  }

  .pet-location-map {
    height: 360px;
  }

  .photo-editor-modal {
    padding: 0;
  }

  .photo-editor-dialog {
    width: 100%;
    height: 100%;
    max-height: none;
  }

  .photo-editor-head,
  .photo-editor-body,
  .photo-editor-foot {
    padding-left: 14px;
    padding-right: 14px;
  }

  .photo-editor-foot {
    align-items: flex-start;
  }

  .photo-editor-foot > div {
    width: 100%;
  }

  .photo-editor-foot .btn {
    flex: 1 1 150px;
  }

  .photo-editor-stage {
    min-height: 300px;
  }

  .photo-editor-stage canvas {
    max-height: 48vh;
  }
}


/* ZooDomik v0.1.38.2: reliable form actions and built-in map fallback */
.pet-form-actions {
  align-items: flex-start;
}

.pet-form-actions > .btn,
.pet-form-actions > .pet-submit-control > .btn {
  margin-top: 0;
}

.pet-simple-map {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(22, 76, 59, .2);
  background: #e8efe9;
}

.pet-simple-map-viewport {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  background: #e8efe9;
}

.pet-simple-map-viewport:active { cursor: grabbing; }
.pet-simple-map-tiles { position: absolute; inset: 0; overflow: hidden; }
.pet-simple-map-tiles img {
  position: absolute;
  width: 256px;
  height: 256px;
  max-width: none;
  user-select: none;
  pointer-events: none;
}

.pet-simple-map-marker {
  position: absolute;
  z-index: 4;
  width: 30px;
  height: 30px;
  margin: -27px 0 0 -15px;
  padding: 0;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: var(--coral, #f05d4f);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .28);
  transform: rotate(-45deg);
  cursor: move;
  touch-action: none;
}

.pet-simple-map-marker::after {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #fff;
}

.pet-simple-map-controls {
  position: absolute;
  z-index: 5;
  top: 14px;
  left: 14px;
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(22, 76, 59, .25);
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .12);
}

.pet-simple-map-controls button {
  width: 42px;
  height: 42px;
  border: 0;
  border-bottom: 1px solid rgba(22, 76, 59, .15);
  background: #fff;
  color: var(--green-dark, #0f3e31);
  font-size: 1.45rem;
  font-weight: 700;
  cursor: pointer;
}
.pet-simple-map-controls button:last-child { border-bottom: 0; }
.pet-simple-map-controls button:hover { background: #f2f8f4; }

.pet-simple-map-note {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  padding: 8px 12px;
  border: 1px solid rgba(22, 76, 59, .14);
  background: rgba(255, 255, 255, .93);
  color: var(--green-dark, #0f3e31);
  font-size: .84rem;
  text-align: center;
  pointer-events: none;
}

.pet-simple-map-attribution {
  position: absolute;
  z-index: 6;
  right: 6px;
  bottom: 4px;
  padding: 2px 4px;
  background: rgba(255, 255, 255, .85);
  color: #36554a;
  font-size: 10px;
}

@media (max-width: 640px) {
  .pet-simple-map,
  .pet-simple-map-viewport { min-height: 340px; height: 340px; }
  .pet-form-actions { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .pet-form-actions .pet-submit-control { min-width: 0; }
  .pet-form-actions .btn { width: 100%; justify-content: center; }
  .pet-submit-hint { grid-column: 1 / -1; }
}

/* ZooDomik v0.1.39.0 — full pet form runtime */
.pet-simple-map-viewport {
  background-color: #e6eee8;
  background-image:
    linear-gradient(rgba(22, 76, 59, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 76, 59, .055) 1px, transparent 1px);
  background-size: 32px 32px;
}

.pet-simple-map-tiles img.is-tile-error {
  display: none;
}

.photo-url-modal-card {
  width: min(620px, calc(100vw - 32px));
}

.photo-url-modal-card textarea {
  min-height: 130px;
  resize: vertical;
}

.photo-url-modal-status {
  min-height: 22px;
  margin: 8px 0 0;
  color: var(--green-dark);
}

.photo-url-modal-status.is-error {
  color: #9b2f20;
}

.pet-photo-uploader .btn {
  min-height: 42px;
}

@media (max-width: 640px) {
  .pet-photo-uploader {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .pet-photo-uploader .btn,
  .pet-photo-uploader label.btn {
    width: 100%;
    justify-content: center;
  }
}

/* ZooDomik v0.1.40.0 — bounded photo crop, scoped upload groups, progressive address */
.pet-item-specific-note {
  margin: 16px 0 0;
  padding: 11px 13px;
  border-left: 3px solid var(--coral, #f05d4f);
  background: rgba(240, 93, 79, .055);
  color: var(--green-dark, #0f3e31);
  font-size: .88rem;
  line-height: 1.45;
}

.pet-photo-uploader[data-photo-uploader-scope="item"] {
  border-style: solid;
  border-color: rgba(22, 76, 59, .2);
  background: rgba(231, 243, 235, .42);
}

.pet-photo-uploader[data-photo-uploader-scope="general"] {
  border-color: rgba(240, 93, 79, .3);
  background: rgba(255, 248, 242, .72);
}

.pet-photo-uploader .btn,
.pet-photo-uploader label.btn {
  min-height: 42px;
  align-items: center;
}

.photo-clipboard-modal-card {
  width: min(620px, calc(100vw - 32px));
}

.photo-clipboard-paste-zone {
  display: grid;
  place-items: center;
  min-height: 160px;
  margin: 18px 0 8px;
  border: 2px dashed rgba(22, 76, 59, .35);
  background: rgba(231, 243, 235, .45);
  color: var(--green-dark, #0f3e31);
  padding: 20px;
  text-align: center;
  outline: none;
  cursor: text;
}

.photo-clipboard-paste-zone:empty::before {
  content: attr(data-placeholder);
  color: #718079;
  pointer-events: none;
}

.photo-clipboard-paste-zone:focus {
  border-color: var(--green, #164c3b);
  box-shadow: 0 0 0 3px rgba(22, 76, 59, .1);
}

.pet-location-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.pet-location-step {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  min-width: 0;
  border: 1px solid rgba(22, 76, 59, .18);
  background: #fff;
  padding: 14px;
  transition: opacity .18s ease, border-color .18s ease, background-color .18s ease;
}

.pet-location-step.is-complete {
  border-color: rgba(22, 76, 59, .42);
  background: rgba(231, 243, 235, .38);
}

.pet-location-step.is-locked {
  opacity: .58;
  background: #f4f6f4;
}

.pet-location-step-number {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(22, 76, 59, .25);
  border-radius: 50%;
  background: #fff;
  color: var(--green-dark, #0f3e31);
  font-size: .84rem;
  font-weight: 700;
}

.pet-location-step.is-complete .pet-location-step-number {
  border-color: var(--green, #164c3b);
  background: var(--green, #164c3b);
  color: #fff;
}

.pet-location-step .field {
  min-width: 0;
}

.pet-location-step .field > small {
  display: block;
  margin-top: 7px;
  color: #68756f;
  font-size: .76rem;
  line-height: 1.35;
}

.pet-location-extra-fields {
  margin-top: 16px;
}

.location-suggestion-item {
  display: grid;
  gap: 3px;
}

.location-suggestion-item small {
  color: #718079;
  font-size: .75rem;
  font-weight: 400;
}

.location-suggestion-manual {
  background: #f3f8f5;
  color: var(--green-dark, #0f3e31);
}

.location-suggestion-manual:hover,
.location-suggestion-manual:focus-visible {
  background: #e4f1e9;
}

.photo-editor-stage canvas {
  background: transparent;
}

@media (max-width: 980px) {
  .pet-location-flow {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pet-location-step {
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 12px;
  }

  .photo-clipboard-paste-zone {
    min-height: 130px;
  }
}

/* ZooDomik v0.1.42.0 — full breeds, resilient address directory, URL editor and global shell */
button:disabled,
.btn:disabled,
[aria-disabled="true"] {
  cursor: not-allowed;
}

.page-shell {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  overflow: visible;
}

.page-shell > main {
  flex: 1 0 auto;
}

.footer {
  flex: 0 0 auto;
  margin-top: auto;
}

.pet-photo-uploader .btn,
.pet-photo-uploader label.btn,
.pet-photo-upload-trigger,
.js-general-photo-select-label,
.pet-photo-uploader--item label[for^="item_photos_"] {
  cursor: pointer;
}

.pet-photo-uploader .btn:hover,
.pet-photo-uploader label.btn:hover {
  transform: translateY(-1px);
}

.breed-autocomplete-field {
  position: relative;
}

.breed-suggestions {
  position: absolute;
  z-index: 980;
  top: calc(100% - 18px);
  left: 0;
  right: 0;
  max-height: 300px;
  overflow: auto;
  border: 1px solid rgba(22, 76, 59, .25);
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 44, 35, .16);
}

.breed-suggestion-option {
  display: block;
  width: 100%;
  padding: 11px 13px;
  border: 0;
  border-bottom: 1px solid rgba(22, 76, 59, .1);
  background: #fff;
  color: var(--green-dark, #0f3e31);
  text-align: left;
  cursor: pointer;
}

.breed-suggestion-option:hover,
.breed-suggestion-option:focus-visible {
  background: #edf5f0;
  outline: 0;
}

.photo-editor-primary-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 14px;
}

.photo-editor-primary-tools .btn.is-active,
.photo-format-button.is-active {
  border-color: var(--green, #164c3b);
  background: var(--green, #164c3b);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(22, 76, 59, .12);
}

.photo-editor-tool-panel {
  margin-top: 14px;
  padding: 15px;
  border: 1px solid rgba(22, 76, 59, .18);
  background: rgba(231, 243, 235, .38);
}

.photo-editor-panel-head {
  display: grid;
  gap: 3px;
  margin-bottom: 13px;
}

.photo-editor-panel-head strong {
  color: var(--green-dark, #0f3e31);
  font-size: .98rem;
}

.photo-editor-panel-head span {
  color: #68756f;
  font-size: .82rem;
}

.photo-editor-format-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.photo-format-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 12px;
  border: 1px solid rgba(22, 76, 59, .24);
  background: #fff;
  color: var(--green-dark, #0f3e31);
  font-weight: 700;
  cursor: pointer;
}

.photo-format-icon {
  display: block;
  border: 2px solid currentColor;
  background: rgba(22, 76, 59, .08);
}

.photo-format-icon.is-landscape { width: 34px; height: 25px; }
.photo-format-icon.is-portrait { width: 25px; height: 34px; }

.photo-editor-range {
  display: grid;
  grid-template-columns: auto minmax(130px, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
}

.photo-editor-range output {
  min-width: 48px;
  color: var(--green-dark, #0f3e31);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.photo-editor-blur-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.photo-editor-history-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}

.photo-editor-stage canvas {
  cursor: default;
}

.photo-editor-stage canvas.is-crop-active {
  cursor: grab;
}
.photo-editor-stage canvas.is-crop-active:active { cursor: grabbing; }
.photo-editor-stage canvas.is-blur-active { cursor: crosshair; }

.legacy-location-notice {
  display: grid;
  gap: 4px;
  margin: 14px 0;
  padding: 12px 14px;
  border-left: 3px solid var(--coral, #f05d4f);
  background: rgba(240, 93, 79, .06);
  color: var(--green-dark, #0f3e31);
}

.location-search-status {
  min-height: 19px;
  margin: 6px 0 0;
  color: #68756f;
  font-size: .77rem;
}

.location-suggestion-option {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid rgba(22, 76, 59, .11);
  background: #fff;
  color: #26352f;
  text-align: left;
  cursor: pointer;
}

.location-suggestion-option small {
  color: #718079;
  font-size: .75rem;
  font-weight: 400;
}

.location-suggestion-option:hover,
.location-suggestion-option:focus-visible {
  background: #edf5f0;
  outline: 0;
}

.location-suggestion-option.is-manual {
  background: #f4f8f5;
}

.location-manual-create {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid rgba(22, 76, 59, .16);
  background: #fafcfb;
}

.location-manual-create > p {
  margin: 0 0 10px;
  color: #53635d;
  font-size: .82rem;
}

.location-skip-street {
  margin-top: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--green, #164c3b);
  font-size: .78rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.pet-location-map-wrap {
  position: relative;
  min-height: 118px;
  margin-top: 18px;
  border: 1px solid rgba(22, 76, 59, .2);
  background: #eef2ef;
}

.pet-location-map-wrap:not(.is-ready) .pet-location-map {
  display: none;
}

.pet-location-map-placeholder {
  display: grid;
  place-items: center;
  min-height: 116px;
  margin: 0;
  padding: 20px;
  color: #68756f;
  text-align: center;
}

.pet-simple-map-grid {
  position: absolute;
  inset: 0;
  background-color: #e6eee8;
  background-image:
    linear-gradient(rgba(22, 76, 59, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 76, 59, .07) 1px, transparent 1px);
  background-size: 32px 32px;
}

.pet-simple-map-tiles {
  z-index: 1;
}

.pet-simple-map-marker,
.pet-simple-map-controls,
.pet-simple-map-note,
.pet-simple-map-attribution {
  z-index: 4;
}

@media (max-width: 640px) {
  .photo-editor-format-choice,
  .photo-editor-blur-controls {
    grid-template-columns: 1fr;
  }
  .photo-editor-range {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .photo-editor-range output { text-align: left; }
  .photo-editor-primary-tools .btn,
  .photo-editor-history-actions .btn { flex: 1 1 140px; }
}

/* ZooDomik v0.1.43.0 — compact editor, wide system modals and invisible reCAPTCHA forms */
.hp-field {
  position: fixed !important;
  left: -10000px !important;
  top: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.modal-backdrop {
  width: 100vw;
  min-height: 100dvh;
  padding: clamp(10px, 2vw, 24px);
}

.modal-card {
  width: min(760px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  margin: auto;
}

.modal-card-wide,
.support-modal-card,
.contact-modal-card {
  width: min(980px, calc(100vw - 24px));
}

.support-modal-card {
  padding: clamp(1.15rem, 2.2vw, 1.7rem);
}

.support-modal-card h2 {
  max-width: calc(100% - 56px);
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.02;
}

.support-modal-card .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-modal-card textarea {
  min-height: 112px;
}

.contact-modal-card .contact-gate-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.contact-modal-card .contact-result:not(:empty) {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(22, 76, 59, .14);
}

/* Keep platform actions above the Google reCAPTCHA badge. */
.floating-actions {
  bottom: max(112px, calc(env(safe-area-inset-bottom) + 112px));
}

.photo-editor-modal {
  padding: 8px;
}

.photo-editor-dialog {
  width: min(1240px, calc(100vw - 16px));
  height: min(900px, calc(100dvh - 16px));
  max-height: calc(100dvh - 16px);
  border-radius: 22px;
}

.photo-editor-head,
.photo-editor-foot {
  flex: 0 0 auto;
  padding: 10px 18px;
}

.photo-editor-head .kicker {
  margin-bottom: 2px;
  font-size: .75rem;
}

.photo-editor-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.5vw, 2.55rem);
  line-height: 1.02;
}

.photo-editor-head p {
  margin: 4px 0 0;
  font-size: .88rem;
}

.photo-editor-body {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 310px);
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 10px 14px;
  overflow: hidden;
  padding: 10px 18px;
}

.photo-editor-primary-tools {
  grid-column: 1 / -1;
  grid-row: 1;
  margin: 0;
}

.photo-editor-stage {
  grid-column: 1;
  grid-row: 2 / 5;
  min-width: 0;
  min-height: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.photo-editor-stage canvas {
  max-width: 100%;
  max-height: 100%;
}

.photo-editor-tool-panel {
  grid-column: 2;
  grid-row: 2;
  min-height: 0;
  margin: 0;
  padding: 12px;
}

.photo-editor-history-actions {
  grid-column: 2;
  grid-row: 3;
  align-content: end;
  margin: 0;
}

.photo-editor-help {
  grid-column: 2;
  grid-row: 4;
  align-self: end;
  margin: 0;
  font-size: .78rem;
  line-height: 1.35;
}

.photo-editor-panel-head {
  margin-bottom: 9px;
}

.photo-editor-format-choice {
  gap: 7px;
  margin-bottom: 9px;
}

.photo-format-button {
  min-height: 46px;
  padding: 7px 9px;
}

.photo-editor-range {
  gap: 8px;
  margin: 7px 0;
}

.photo-editor-blur-controls {
  grid-template-columns: 1fr;
  gap: 5px;
}

.photo-editor-foot .btn {
  min-height: 44px;
}

@media (max-width: 900px) {
  .support-modal-card .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-modal-card .contact-gate-form {
    grid-template-columns: 1fr;
  }

  .photo-editor-dialog {
    width: calc(100vw - 8px);
    height: calc(100dvh - 8px);
    max-height: calc(100dvh - 8px);
    border-radius: 14px;
  }

  .photo-editor-body {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr) auto auto auto;
    gap: 7px;
    padding: 8px 10px;
  }

  .photo-editor-primary-tools { grid-column: 1; grid-row: 1; }
  .photo-editor-stage { grid-column: 1; grid-row: 2; min-height: 0; }
  .photo-editor-tool-panel { grid-column: 1; grid-row: 3; }
  .photo-editor-history-actions { grid-column: 1; grid-row: 4; }
  .photo-editor-help { grid-column: 1; grid-row: 5; }

  .photo-editor-head,
  .photo-editor-foot {
    padding: 8px 10px;
  }

  .photo-editor-head p,
  .photo-editor-help {
    display: none;
  }

  .photo-editor-primary-tools .btn,
  .photo-editor-history-actions .btn {
    min-height: 38px;
    padding: .48rem .66rem;
    font-size: .82rem;
  }
}

@media (max-width: 640px) {
  .modal-backdrop {
    padding: 6px;
  }

  .modal-card,
  .modal-card-wide,
  .support-modal-card,
  .contact-modal-card {
    width: calc(100vw - 12px);
    max-height: calc(100dvh - 12px);
    border-radius: 18px;
    padding: 1rem;
  }

  .floating-actions {
    right: 12px;
    bottom: max(104px, calc(env(safe-area-inset-bottom) + 104px));
  }

  .photo-editor-head h2 {
    font-size: 1.45rem;
  }

  .photo-editor-foot {
    align-items: center;
  }

  .photo-editor-foot > div {
    flex-wrap: nowrap;
  }

  .photo-editor-foot .btn {
    min-width: 0;
    padding-left: .7rem;
    padding-right: .7rem;
    font-size: .8rem;
  }
}

/* ZooDomik v0.1.44.0 — address synchronization, publication actions and full-screen modal stage */
.location-input-wrap {
  position: relative;
  min-width: 0;
}

.location-input-wrap .location-suggestions {
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  z-index: 1200;
  margin: 0;
}

.pet-location-step,
.location-autocomplete-field {
  overflow: visible;
}

.pet-location-step:focus-within {
  z-index: 30;
}

.location-suggestion-option,
.location-suggestion-item {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 11px 13px;
  border: 0;
  border-bottom: 1px solid rgba(22, 76, 59, .11);
  background: #fff;
  color: #26352f;
  text-align: left;
  cursor: pointer;
}

.location-suggestion-option:last-child,
.location-suggestion-item:last-child {
  border-bottom: 0;
}

.location-suggestion-option:hover,
.location-suggestion-option:focus-visible,
.location-suggestion-item:hover,
.location-suggestion-item:focus-visible {
  background: #edf5f0;
  outline: none;
}

.location-suggestion-option small,
.location-suggestion-item small {
  color: #718079;
  font-size: .75rem;
  font-weight: 400;
}

.location-suggestion-option.is-manual {
  background: #f3f8f5;
  color: var(--green-dark, #0f3e31);
}

.pet-location-extra-fields {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.required-mark {
  display: inline;
  margin-left: .22em;
  color: #d64032;
  font-weight: 700;
}

.pet-submit-control {
  width: 100%;
}

.pet-submit-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pet-submit-buttons .btn[disabled] {
  cursor: not-allowed;
  opacity: .54;
}

.pet-form-actions {
  display: block;
}

/* The backdrop owns the full viewport; the functional content remains centered in a generous container. */
.modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  min-height: 100dvh;
  padding: clamp(10px, 2vw, 28px);
  place-items: center;
}

.modal-card,
.modal-card-wide,
.support-modal-card,
.contact-modal-card,
.share-modal-card,
.photo-url-modal-card,
.photo-clipboard-modal-card {
  width: min(1160px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
}

.notice-modal-card {
  width: min(640px, calc(100vw - 32px));
}

@media (max-width: 900px) {
  .pet-location-extra-fields {
    grid-template-columns: 1fr;
  }
  .pet-submit-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .pet-submit-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .modal-backdrop {
    padding: 8px;
  }
  .modal-card,
  .modal-card-wide,
  .support-modal-card,
  .contact-modal-card,
  .share-modal-card,
  .photo-url-modal-card,
  .photo-clipboard-modal-card,
  .notice-modal-card {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
  }
  .pet-submit-buttons {
    grid-template-columns: 1fr;
  }
}

/* ZooDomik v0.1.45: the map is always available; never render the old placeholder below it. */
.pet-location-map-placeholder[hidden] {
  display: none !important;
}


/* ZooDomik v0.1.47.0 — explicit manual address resolution */
.pet-address-resolve-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 0 12px;
  padding: 12px 14px;
  border: 1px solid #d5e1dc;
  background: #f6faf8;
}
.pet-address-resolve-row small {
  color: #60756c;
  line-height: 1.45;
}
.pet-address-resolve-row .btn:disabled {
  cursor: not-allowed;
  opacity: .55;
}
@media (max-width: 720px) {
  .pet-address-resolve-row { align-items: stretch; flex-direction: column; }
  .pet-address-resolve-row .btn { width: 100%; }
}


/* ZooDomik v0.1.49.0 — region-first address flow, mobile form and true full-screen modal stage */
.pet-location-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.pet-location-step {
  min-width: 0;
  padding: 18px;
}
.pet-location-step .field,
.pet-location-step .location-input-wrap,
.pet-location-step input,
.pet-location-step select {
  min-width: 0;
  width: 100%;
}
.location-suggestions {
  top: calc(100% + 1px) !important;
  margin-top: 0 !important;
}

/* Every system modal owns the complete viewport; only its inner content is constrained. */
.modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  display: grid !important;
  width: 100vw !important;
  height: 100dvh !important;
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
  place-items: center !important;
  overflow: auto !important;
  background: rgba(9, 29, 23, .72) !important;
}
.modal-backdrop[hidden] { display: none !important; }
.modal-card,
.modal-card-wide,
.support-modal-card,
.contact-modal-card,
.share-modal-card,
.photo-url-modal-card,
.photo-clipboard-modal-card,
.notice-modal-card,
.pet-archive-modal-card,
.catalog-filter-modal-card {
  position: relative;
  width: min(1160px, calc(100vw - 48px)) !important;
  max-width: none !important;
  max-height: calc(100dvh - 48px) !important;
  margin: 24px auto !important;
  overflow: auto;
}
.notice-modal-card { width: min(680px, calc(100vw - 48px)) !important; }
.modal-close { position: absolute; top: 18px; right: 18px; z-index: 5; }

@media (max-width: 980px) {
  .pet-location-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .pet-form-shell,
  .pet-form-shell .account-form,
  .pet-form-shell .form-section {
    min-width: 0;
  }
  .pet-form-title-row,
  .form-section-headline {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .account-back-link,
  .pet-location-state {
    align-self: stretch;
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .pet-form-progress {
    gap: 0;
    margin-inline: -2px;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
  }
  .pet-form-progress span {
    min-width: 160px;
    padding: 12px 10px;
    scroll-snap-align: start;
  }
  .form-section {
    padding: 18px 14px;
  }
  .pet-location-flow { grid-template-columns: 1fr; gap: 12px; }
  .pet-location-step { padding: 14px 12px; }
  .pet-location-extra-fields,
  .form-two,
  .form-grid,
  .pet-item-fields {
    grid-template-columns: 1fr !important;
  }
  .pet-photo-uploader,
  .pet-address-resolve-row,
  .pet-submit-buttons {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px;
  }
  .pet-photo-uploader .btn,
  .pet-photo-uploader label.btn,
  .pet-submit-buttons .btn,
  .pet-address-resolve-row .btn {
    width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }
  .pet-simple-map,
  .pet-simple-map-viewport,
  .pet-location-map { height: 320px !important; min-height: 320px !important; }
  .location-suggestions { max-height: min(42dvh, 320px); }
  .modal-card,
  .modal-card-wide,
  .support-modal-card,
  .contact-modal-card,
  .share-modal-card,
  .photo-url-modal-card,
  .photo-clipboard-modal-card,
  .notice-modal-card,
  .pet-archive-modal-card,
  .catalog-filter-modal-card {
    width: calc(100vw - 20px) !important;
    max-height: calc(100dvh - 20px) !important;
    margin: 10px auto !important;
    border-radius: 18px;
    padding: 18px 14px;
  }
  .modal-close { top: 10px; right: 10px; }
}


.pet-adaptive-form > .form-section { margin-top: 0; }
.pet-adaptive-form { display: grid; gap: 26px; }
.pet-adaptive-form .form-section-headline { margin-bottom: 20px; }
.pet-adaptive-form .field > label { line-height: 1.35; overflow-wrap: anywhere; }
.pet-location-step .location-search-status { min-height: 2.5em; margin-bottom: 0; }
@media (max-width: 720px) {
  .pet-adaptive-form { gap: 18px; }
  .pet-adaptive-form .form-section-headline { margin-bottom: 16px; }
  .pet-situation-card { padding: 16px 14px; }
  .pet-situation-card strong, .pet-situation-card span { overflow-wrap: anywhere; }
}

/* ZooDomik v0.1.50.0 — strict address wizard and optional map modal */
.pet-location-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid #d5e1dc;
  background: #f6faf8;
}
.pet-location-actions .btn { cursor: pointer; }
.pet-location-actions .btn:disabled {
  cursor: not-allowed;
  opacity: .52;
}
.pet-location-action-status {
  flex: 1 1 280px;
  color: #60756c;
  line-height: 1.45;
}
.pet-location-step.is-locked {
  background: #f7f8f7;
  border-color: #dfe6e2;
  opacity: .72;
}
.pet-location-step.is-locked input,
.pet-location-step.is-locked select,
.pet-location-step.is-locked button {
  cursor: not-allowed;
}
.location-map-modal-card {
  width: min(1180px, calc(100vw - 40px)) !important;
  height: min(900px, calc(100dvh - 40px));
  max-height: calc(100dvh - 40px) !important;
  padding: 0 !important;
  overflow: hidden !important;
}
.location-map-modal-content {
  display: grid;
  grid-template-rows: auto auto auto minmax(320px, 1fr) auto auto;
  gap: 14px;
  height: 100%;
  min-height: 0;
  padding: 28px;
}
.location-map-modal-content > h2 { margin: 0; padding-right: 48px; }
.location-map-modal-content > p { margin: 0; }
.location-map-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.location-map-summary > div {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #d5e1dc;
  background: #f6faf8;
}
.location-map-summary span,
.location-map-summary strong {
  display: block;
  overflow-wrap: anywhere;
}
.location-map-summary span {
  margin-bottom: 4px;
  color: #6a7d75;
  font-size: .82rem;
}
.location-map-modal-card .pet-location-map-wrap {
  min-height: 0;
  height: 100%;
  margin: 0;
}
.location-map-modal-card .pet-location-map,
.location-map-modal-card .pet-simple-map,
.location-map-modal-card .pet-simple-map-viewport {
  width: 100%;
  height: 100% !important;
  min-height: 320px !important;
}
.location-map-modal-status {
  min-height: 1.4em;
  margin: 0;
  color: #60756c;
}
.location-map-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
}
@media (max-width: 900px) {
  .location-map-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .pet-location-actions {
    display: grid;
    grid-template-columns: 1fr;
    padding: 14px;
  }
  .pet-location-actions .btn { width: 100%; }
  .pet-location-action-status { flex-basis: auto; }
  .location-map-modal-card {
    width: 100vw !important;
    height: 100dvh;
    max-height: 100dvh !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }
  .location-map-modal-content {
    grid-template-rows: auto auto auto minmax(260px, 1fr) auto auto;
    gap: 10px;
    padding: 18px 12px 12px;
  }
  .location-map-summary { grid-template-columns: 1fr 1fr; }
  .location-map-summary > div { padding: 8px 10px; }
  .location-map-modal-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .location-map-modal-actions .btn { width: 100%; }
  .location-map-modal-card .pet-location-map,
  .location-map-modal-card .pet-simple-map,
  .location-map-modal-card .pet-simple-map-viewport {
    min-height: 260px !important;
  }
}

/* ZooDomik v0.1.51.0 — clean location module: settlement -> street */
.location-simple-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.location-simple-step {
  position: relative;
  min-width: 0;
  padding: 24px 24px 24px 68px;
  border: 1px solid var(--border, #cbd9d4);
  background: #fff;
}
.location-simple-step.is-locked {
  opacity: .58;
  background: #f6f8f7;
}
.location-simple-number {
  position: absolute;
  top: 24px;
  left: 22px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #bfd0ca;
  border-radius: 50%;
  font-weight: 700;
  color: #0f5847;
  background: #fff;
}
.location-simple-step.is-active .location-simple-number,
.location-simple-step:not(.is-locked):first-child .location-simple-number {
  color: #fff;
  border-color: #0f5847;
  background: #0f5847;
}
.location-simple-grid .location-input-wrap { position: relative; }
.location-simple-grid .location-suggestions {
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 80;
  max-height: 320px;
  overflow-y: auto;
}
.location-simple-grid .location-suggestion-item {
  width: 100%;
  padding: 13px 15px;
  text-align: left;
  cursor: pointer;
}
.location-simple-grid .location-suggestion-item span { display: block; font-weight: 600; }
.location-simple-grid .location-suggestion-item small { display: block; margin-top: 4px; color: #607770; }
.location-simple-grid .location-suggestion-item:hover,
.location-simple-grid .location-suggestion-item:focus-visible { background: #edf7f3; }
@media (max-width: 760px) {
  .location-simple-grid { grid-template-columns: 1fr; gap: 16px; }
  .location-simple-step { padding: 20px 18px 20px 58px; }
  .location-simple-number { top: 20px; left: 16px; }
  .location-simple-grid .location-suggestions { max-height: 260px; }
}


/* ZooDomik v0.1.52.0 — reliable settlement and street autocomplete */
.location-simple-step:focus-within { position: relative; z-index: 220; }
.location-simple-grid .location-suggestions {
  z-index: 2600;
  min-height: 48px;
  border: 1px solid rgba(22, 76, 59, .3);
  background: #fff;
}
.location-suggestion-loading {
  padding: 14px 15px;
  color: #607770;
  background: #fff;
  font-size: .9rem;
}


/* ZooDomik v0.1.55.0 — full-screen modal shell and exact location actions */
.modal-backdrop[hidden],
.modal-backdrop-fullscreen[hidden] {
  display: none !important;
}

.modal-backdrop,
.modal-backdrop-fullscreen {
  position: fixed !important;
  inset: 0 !important;
  z-index: 30000 !important;
  width: 100vw !important;
  height: 100dvh !important;
  min-height: 100vh;
  display: grid !important;
  place-items: center !important;
  padding: clamp(16px, 3vw, 42px) !important;
  overflow: auto !important;
  overscroll-behavior: contain;
  background: rgba(5, 24, 18, .78) !important;
  backdrop-filter: blur(5px);
}

.modal-backdrop > .modal-card,
.modal-backdrop-fullscreen > .modal-card {
  position: relative;
  width: min(1160px, 100%) !important;
  max-width: 1160px !important;
  max-height: calc(100dvh - clamp(32px, 6vw, 84px)) !important;
  margin: auto !important;
  overflow: auto !important;
  background: #fff;
  border: 1px solid rgba(22, 76, 59, .18);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .34);
}

.modal-backdrop > .modal-card > .modal-close,
.modal-backdrop-fullscreen > .modal-card > .modal-close {
  position: fixed !important;
  top: max(16px, env(safe-area-inset-top)) !important;
  right: max(16px, env(safe-area-inset-right)) !important;
  z-index: 30020 !important;
  width: 46px !important;
  height: 46px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid rgba(22, 76, 59, .24) !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #0e5947 !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .2);
  cursor: pointer;
}

.location-map-action-card {
  display: grid;
  align-content: start;
  gap: 18px;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--border, #cbd9d4);
  background: #f5faf7;
}
.location-map-action-card h3 {
  margin: 0 0 8px;
  color: #0b4f40;
  font-size: 1.08rem;
}
.location-map-action-card p {
  margin: 0;
  color: #607770;
  line-height: 1.5;
}
.location-map-action-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.location-map-action-buttons .btn {
  width: 100%;
  justify-content: center;
  cursor: pointer;
}
.location-map-action-status {
  min-height: 1.4em;
  font-size: .9rem;
}

.location-map-modal-card {
  width: calc(100vw - clamp(24px, 4vw, 72px)) !important;
  max-width: none !important;
  height: calc(100dvh - clamp(24px, 4vw, 72px));
  max-height: none !important;
  padding: 0 !important;
  overflow: hidden !important;
}
.location-map-modal-container {
  width: min(1240px, 100%);
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 38px);
  display: grid;
  grid-template-rows: auto auto minmax(300px, 1fr) auto auto;
  gap: 16px;
}
.location-map-modal-head h2 {
  margin: 4px 58px 8px 0;
}
.location-map-modal-head p {
  margin: 0;
}
.location-map-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.location-map-summary > div {
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid #d5e1dc;
  background: #f6faf8;
}
.location-map-summary span,
.location-map-summary strong {
  display: block;
  overflow-wrap: anywhere;
}
.location-map-summary span {
  margin-bottom: 4px;
  color: #6a7d75;
  font-size: .82rem;
}
.location-map-modal-card .pet-location-map-wrap,
.location-map-modal-card .pet-location-map,
.location-map-modal-card .pet-simple-map,
.location-map-modal-card .pet-simple-map-viewport {
  width: 100%;
  height: 100% !important;
  min-height: 300px !important;
}
.location-map-modal-card .pet-location-map-wrap {
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(22, 76, 59, .22);
}
.location-map-modal-status {
  min-height: 1.4em;
  margin: 0;
  color: #607770;
}
.location-map-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

@media (max-width: 900px) {
  .location-map-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .modal-backdrop,
  .modal-backdrop-fullscreen {
    padding: 0 !important;
    place-items: stretch !important;
  }
  .modal-backdrop > .modal-card,
  .modal-backdrop-fullscreen > .modal-card {
    width: 100vw !important;
    max-width: none !important;
    min-height: 100dvh;
    max-height: 100dvh !important;
    border: 0;
    border-radius: 0 !important;
  }
  .location-map-modal-card {
    width: 100vw !important;
    height: 100dvh;
  }
  .location-map-modal-container {
    padding: 18px 12px 12px;
    grid-template-rows: auto auto minmax(260px, 1fr) auto auto;
    gap: 12px;
  }
  .location-map-summary { grid-template-columns: 1fr 1fr; }
  .location-map-summary > div { padding: 8px 10px; }
  .location-map-modal-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .location-map-modal-actions .btn { width: 100%; }
  .location-map-action-card { padding: 20px 18px; }
}

/* ZooDomik v0.1.56.0 — explicit address fields and true full-screen white modals */
.location-simple-step[data-simple-location-step="house"],
.location-simple-step[data-simple-location-step="landmark"] {
  min-height: 100%;
}
.location-simple-step[data-simple-location-step="house"] .field,
.location-simple-step[data-simple-location-step="landmark"] .field {
  min-width: 0;
}

/* The overlay itself is the full-screen white modal surface. */
.modal-backdrop,
.modal-backdrop-fullscreen {
  display: block !important;
  padding: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  background: #fff !important;
  backdrop-filter: none !important;
}
.modal-backdrop[hidden],
.modal-backdrop-fullscreen[hidden] {
  display: none !important;
}

.modal-backdrop > .modal-card,
.modal-backdrop-fullscreen > .modal-card {
  width: 100vw !important;
  max-width: none !important;
  min-height: 100dvh !important;
  max-height: none !important;
  margin: 0 !important;
  padding: clamp(76px, 8vh, 116px) clamp(18px, 5vw, 72px) clamp(40px, 7vh, 88px) !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

/* Keep the information in a centered readable container. */
.modal-backdrop > .modal-card > :not(.modal-close),
.modal-backdrop-fullscreen > .modal-card > :not(.modal-close) {
  width: min(1160px, 100%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.modal-backdrop > .modal-card > .modal-close,
.modal-backdrop-fullscreen > .modal-card > .modal-close {
  position: fixed !important;
  top: max(18px, env(safe-area-inset-top)) !important;
  right: max(18px, env(safe-area-inset-right)) !important;
  z-index: 30020 !important;
  width: 44px !important;
  height: 44px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #f5f8f7 !important;
  color: #0e5947 !important;
  box-shadow: none !important;
}

/* Map modal uses the same white full-screen shell and a centered work area. */
.location-map-modal-card {
  width: 100vw !important;
  height: auto !important;
  min-height: 100dvh !important;
  padding: 0 !important;
}
.location-map-modal-card > .location-map-modal-container {
  width: min(1240px, calc(100% - clamp(24px, 8vw, 144px))) !important;
  min-height: 100dvh;
  height: auto;
  margin: 0 auto !important;
  padding: clamp(76px, 8vh, 116px) 0 clamp(32px, 6vh, 72px) !important;
  grid-template-rows: auto auto minmax(420px, 62vh) auto auto;
}

@media (max-width: 760px) {
  .modal-backdrop > .modal-card,
  .modal-backdrop-fullscreen > .modal-card {
    padding: 72px 14px 28px !important;
  }
  .location-map-modal-card > .location-map-modal-container {
    width: calc(100% - 24px) !important;
    padding: 70px 0 20px !important;
    grid-template-rows: auto auto minmax(300px, 56vh) auto auto;
  }
}

/* ZooDomik v0.1.57.0 — scenario-first form, top-aligned work modals and mobile menu groups */
.pet-form-progress { display: none !important; }

.pet-scenario-fields-section {
  padding-top: clamp(24px, 3vw, 38px);
  padding-bottom: clamp(24px, 3vw, 38px);
}
.pet-scenario-fields[hidden] { display: none !important; }
.scenario-fields-grid { gap: 20px 24px; }
.scenario-field { min-width: 0; }
.scenario-field-label {
  display: block;
  margin-bottom: 10px;
  color: var(--green-dark, #164c3b);
  font-weight: 750;
}
.scenario-choice-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.scenario-single-check { width: fit-content; max-width: 100%; }
.pet-species-specific-fields {
  padding-top: 4px;
  border-top: 1px solid rgba(22, 76, 59, .12);
}
.species-fields-panel {
  margin-top: 12px;
  padding: 16px;
  border: 1px solid rgba(22, 76, 59, .16);
  background: #f7fbf9;
}
.species-fields-panel[hidden] { display: none !important; }
.species-fields-panel > strong { display: block; margin-bottom: 12px; }

.js-location-group.is-settlement-only .location-simple-step:not([data-simple-location-step="settlement"]),
.js-location-group.is-settlement-only .location-map-action-card {
  display: none !important;
}
.js-location-group.is-settlement-only .location-simple-grid {
  grid-template-columns: minmax(0, 1fr);
}

/* Full-screen white work surfaces begin near the top of the viewport. */
.modal-backdrop,
.modal-backdrop-fullscreen {
  align-items: start !important;
}
.modal-backdrop > .modal-card:not(.notice-modal-card),
.modal-backdrop-fullscreen > .modal-card:not(.notice-modal-card) {
  padding-top: max(62px, calc(env(safe-area-inset-top) + 44px)) !important;
}
.location-map-modal-card > .location-map-modal-container {
  padding-top: max(58px, calc(env(safe-area-inset-top) + 42px)) !important;
}

/* Compact notifications stay centered; the emergency close remains top-right. */
.modal-backdrop.js-system-modal {
  display: grid !important;
  place-items: center !important;
  padding: 20px !important;
  overflow: hidden !important;
  background: #fff !important;
}
.modal-backdrop.js-system-modal > .notice-modal-card {
  width: min(460px, calc(100vw - 32px)) !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: auto !important;
  padding: 34px 28px !important;
  border: 1px solid rgba(22, 76, 59, .15) !important;
  border-radius: 22px !important;
  box-shadow: 0 20px 55px rgba(22, 76, 59, .13) !important;
}
.notice-modal-close,
.modal-backdrop.js-system-modal .modal-close {
  position: fixed !important;
  top: max(16px, env(safe-area-inset-top)) !important;
  right: max(16px, env(safe-area-inset-right)) !important;
}

/* The photo editor is a white full-screen work surface, aligned from the top. */
.photo-editor-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 30000 !important;
  display: block !important;
  width: 100vw !important;
  height: 100dvh !important;
  overflow-y: auto !important;
  background: #fff !important;
}
.photo-editor-modal[hidden] { display: none !important; }
.photo-editor-backdrop { display: none !important; }
.photo-editor-dialog {
  width: 100vw !important;
  max-width: none !important;
  min-height: 100dvh !important;
  max-height: none !important;
  margin: 0 !important;
  padding: max(58px, calc(env(safe-area-inset-top) + 42px)) clamp(16px, 4vw, 64px) 32px !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}
.photo-editor-head,
.photo-editor-body,
.photo-editor-foot {
  width: min(1160px, 100%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.photo-editor-head .modal-close {
  position: fixed !important;
  top: max(16px, env(safe-area-inset-top)) !important;
  right: max(16px, env(safe-area-inset-right)) !important;
  z-index: 30020 !important;
}

/* Mobile menu: primary actions, cabinet and project are visually separated. */
.nav-mobile-section-label,
.nav-mobile-create-top { display: none; }

@media (max-width: 1120px) {
  .nav-mobile-section-label {
    display: block;
    width: 100%;
    margin: 4px 0 -2px;
    padding: 0 6px;
    color: #6a7d75;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .nav-mobile-create-top {
    display: inline-flex !important;
    width: 100%;
    min-height: 52px;
    justify-content: center;
    border-radius: 999px;
  }
  .nav-main-label { order: 10; }
  .nav-main-search { order: 11; }
  .nav-mobile-create-top { order: 12; }
  .nav-mobile-cabinet-label { order: 20; }
  .nav-dropdown-cabinet,
  .nav-guest-cabinet { order: 21; }
  .nav-mobile-project-label { order: 30; }
  .nav-dropdown-project { order: 31; }
  .nav-desktop-create { order: 40; }
  .nav-mobile-add-bottom { order: 100; }
  .nav-menu { gap: 12px; }
  .nav-dropdown { border-radius: 18px; }
  .nav-mobile-add-bottom .nav-support-button {
    width: 100%;
    min-height: 50px;
    border-radius: 999px;
  }
}

@media (max-width: 760px) {
  .scenario-choice-grid { grid-template-columns: 1fr; }
  .pet-scenario-fields-section,
  .form-section { padding-left: 18px; padding-right: 18px; }
  .photo-editor-dialog { padding: 62px 10px 18px !important; }
  .photo-editor-head,
  .photo-editor-body,
  .photo-editor-foot { width: 100% !important; }
  .location-map-modal-card > .location-map-modal-container {
    padding-top: 58px !important;
  }
}

/* ZooDomik v0.1.57.0 final refinements */
.public-pet-species-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 12px 0;
}
.public-pet-species-details p {
  margin: 0;
  color: #46665b;
}

/* Scenario sections should read as a calm sequence, not a stack of equal cards. */
.pet-adaptive-form > .form-section {
  margin-top: clamp(22px, 3vw, 34px);
}
.pet-adaptive-form > .pet-scenario-section { margin-top: 0; }
.pet-scenario-fields-section {
  border-color: rgba(22, 76, 59, .22);
  background: #fbfdfc;
}
.pet-scenario-fields-section .form-section-headline {
  margin-bottom: 22px;
}

/* Work modals are top-aligned full-screen surfaces. */
.modal-backdrop:not(.js-system-modal) > .modal-card,
.modal-backdrop-fullscreen:not(.js-system-modal) > .modal-card {
  padding-top: max(28px, calc(env(safe-area-inset-top) + 20px)) !important;
}
.location-map-modal-card > .location-map-modal-container,
.photo-editor-dialog {
  padding-top: max(28px, calc(env(safe-area-inset-top) + 20px)) !important;
}

/* Notifications remain centered, while the emergency close is always top-right. */
.modal-backdrop.js-system-modal {
  position: fixed !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  min-height: 100dvh !important;
  padding: 24px !important;
  background: #fff !important;
}
.modal-backdrop.js-system-modal > .notice-modal-card {
  width: min(440px, calc(100vw - 32px)) !important;
  min-height: auto !important;
  padding: 30px 26px !important;
  background: #fff !important;
  border: 1px solid rgba(22, 76, 59, .18) !important;
  border-radius: 20px !important;
  box-shadow: 0 22px 60px rgba(22, 76, 59, .12) !important;
  text-align: center;
}
.modal-backdrop.js-system-modal .notice-modal-close,
.modal-backdrop.js-system-modal .modal-close {
  position: fixed !important;
  top: max(16px, env(safe-area-inset-top)) !important;
  right: max(16px, env(safe-area-inset-right)) !important;
}

@media (max-width: 1120px) {
  .nav-menu {
    align-content: start;
  }
  .nav-mobile-section-label {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(22, 76, 59, .12);
  }
  .nav-mobile-main-label {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }
  .nav-guest-create { display: none !important; }
  .nav-mobile-add-bottom {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(22, 76, 59, .12);
  }
}

@media (max-width: 760px) {
  .pet-adaptive-form > .form-section {
    margin-top: 18px;
  }
  .scenario-fields-grid,
  .species-fields-panel .form-two {
    grid-template-columns: 1fr;
  }
  .modal-backdrop:not(.js-system-modal) > .modal-card,
  .modal-backdrop-fullscreen:not(.js-system-modal) > .modal-card,
  .location-map-modal-card > .location-map-modal-container,
  .photo-editor-dialog {
    padding-top: max(18px, calc(env(safe-area-inset-top) + 12px)) !important;
  }
}
.location-map-modal-card { padding: 0 !important; }

/* ZooDomik v0.1.57.1 — reliable service notice close and exact required marks */
html body .modal-backdrop[hidden],
html body .modal-backdrop-fullscreen[hidden],
html body .photo-editor-modal[hidden] {
  display: none !important;
}

.required-mark {
  margin-left: 0 !important;
  color: #d64032 !important;
  font-weight: 700;
}

/* ZooDomik v0.1.57.2 — complete required marks and a scroll-free photo editor */
.required-mark {
  display: inline !important;
  margin-left: .25em !important;
  color: #d64032 !important;
  font-weight: 800 !important;
  line-height: 1;
}
.scenario-field-label .required-mark,
.scenario-single-check .required-mark {
  margin-left: .25em !important;
}

html.modal-open,
body.modal-open,
body.modal-open-body {
  width: 100% !important;
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

.photo-editor-modal {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 100dvh !important;
  min-width: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  overscroll-behavior: none !important;
}
.photo-editor-dialog {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 100dvh !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: 100dvh !important;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) auto !important;
  overflow: hidden !important;
}
.photo-editor-head,
.photo-editor-body,
.photo-editor-foot {
  box-sizing: border-box !important;
  min-width: 0 !important;
  max-width: min(1160px, 100%) !important;
}
.photo-editor-body {
  position: relative !important;
  min-width: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
.photo-editor-stage {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: 100% !important;
  overflow: hidden !important;
  contain: layout paint size;
}
.photo-editor-stage canvas {
  display: block !important;
  flex: 0 0 auto;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: auto !important;
}
.photo-editor-primary-tools,
.photo-editor-history-actions,
.photo-editor-tool-panel,
.photo-editor-foot,
.photo-editor-foot > div {
  min-width: 0 !important;
  max-width: 100% !important;
}
.photo-editor-primary-tools,
.photo-editor-history-actions,
.photo-editor-foot > div {
  flex-wrap: wrap !important;
}

@media (max-width: 900px) {
  .photo-editor-dialog {
    padding: max(48px, calc(env(safe-area-inset-top) + 38px)) 8px max(8px, env(safe-area-inset-bottom)) !important;
  }
  .photo-editor-head,
  .photo-editor-body,
  .photo-editor-foot {
    width: 100% !important;
  }
  .photo-editor-head {
    padding: 4px 8px 7px !important;
  }
  .photo-editor-head h2 {
    font-size: clamp(1.35rem, 7vw, 1.85rem) !important;
  }
  .photo-editor-head p,
  .photo-editor-help {
    display: none !important;
  }
  .photo-editor-body {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto minmax(0, 1fr) auto !important;
    gap: 6px !important;
    padding: 6px 8px !important;
  }
  .photo-editor-primary-tools {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  .photo-editor-history-actions {
    grid-column: 1 !important;
    grid-row: 2 !important;
    margin: 0 !important;
  }
  .photo-editor-stage {
    grid-column: 1 !important;
    grid-row: 3 !important;
  }
  .photo-editor-tool-panel {
    grid-column: 1 !important;
    grid-row: 4 !important;
    margin: 0 !important;
    padding: 7px 9px !important;
  }
  .photo-editor-panel-head {
    display: none !important;
  }
  .photo-editor-format-choice {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    margin: 0 0 4px !important;
  }
  .photo-editor-range,
  .photo-editor-blur-controls {
    margin: 3px 0 !important;
  }
  .photo-editor-primary-tools .btn,
  .photo-editor-history-actions .btn {
    min-height: 34px !important;
    padding: .38rem .58rem !important;
    font-size: .76rem !important;
  }
  .photo-editor-foot {
    padding: 7px 8px !important;
    gap: 6px !important;
  }
  .photo-editor-foot > div {
    flex-wrap: nowrap !important;
  }
  .photo-editor-foot .btn {
    min-height: 38px !important;
    padding: .46rem .62rem !important;
    font-size: .76rem !important;
  }
}

@media (max-height: 720px) {
  .photo-editor-dialog {
    padding-top: max(42px, calc(env(safe-area-inset-top) + 34px)) !important;
  }
  .photo-editor-head .kicker,
  .photo-editor-head p,
  .photo-editor-help {
    display: none !important;
  }
  .photo-editor-head h2 {
    font-size: 1.35rem !important;
  }
  .photo-editor-head,
  .photo-editor-foot {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
  }
  .photo-editor-body {
    gap: 5px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
  }
  .photo-editor-primary-tools .btn,
  .photo-editor-history-actions .btn,
  .photo-editor-foot .btn {
    min-height: 32px !important;
  }
  .photo-editor-tool-panel {
    padding: 6px 8px !important;
  }
}

/* Required mark spacing is provided by one literal text space in the label. */
.required-mark,
.scenario-field-label .required-mark,
.scenario-single-check .required-mark {
  margin-left: 0 !important;
}

/* V0.1.58.0 AJAX same-page validation. */
.has-ajax-error input, .has-ajax-error select, .has-ajax-error textarea { border-color: #b13b28 !important; }
.ajax-field-error { margin-top: 8px; color: #a93421; font-size: .88rem; }

/* V0.1.59.0 — власна аналітика адміністратора. */
.analytics-period-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.analytics-period-form {
  display: grid;
  gap: 6px;
  min-width: 180px;
}
.analytics-period-form label {
  font-size: .82rem;
  font-weight: 600;
}
.analytics-period-form select {
  width: 100%;
}
.analytics-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.analytics-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.analytics-section-card {
  margin-top: 18px;
  min-width: 0;
}
.analytics-two-column .analytics-section-card {
  margin-top: 0;
}
.compact-admin-section-head {
  align-items: flex-start;
  margin-bottom: 16px;
}
.compact-admin-section-head h2 {
  margin-bottom: 0;
}
.analytics-table th,
.analytics-table td {
  white-space: normal;
  vertical-align: top;
}
.analytics-table td strong,
.analytics-table td small {
  display: block;
}
.analytics-table td small {
  margin-top: 4px;
  color: var(--muted, #64746d);
  overflow-wrap: anywhere;
}
@media (max-width: 1100px) {
  .analytics-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .analytics-two-column {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 720px) {
  .analytics-period-row {
    align-items: stretch;
    flex-direction: column;
  }
  .analytics-period-form {
    min-width: 0;
  }
  .analytics-stat-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* v0.1.60.0 — SEO summary on public pet pages */
.seo-summary-block {
  border-left: 4px solid var(--accent, #28745b);
}
.seo-summary-intro {
  margin: .65rem 0 1rem;
  font-size: 1.05rem;
  line-height: 1.65;
}
.seo-section-list {
  display: grid;
  gap: 1rem;
}
.seo-section-item {
  padding-top: 1rem;
  border-top: 1px solid rgba(22, 76, 59, .14);
}
.seo-section-item:first-child {
  padding-top: 0;
  border-top: 0;
}
.seo-section-item h2 {
  margin: 0 0 .35rem;
  font-size: 1.05rem;
}
.seo-section-item p {
  margin: 0;
}

/* v0.1.60.0 — admin SEO control */
.admin-subtabs {
  margin-top: 1rem;
}
.admin-seo-list {
  margin-top: 1rem;
}
.admin-seo-card {
  display: grid;
  gap: .8rem;
}
.admin-seo-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
.admin-seo-head h3 {
  margin: .55rem 0 .2rem;
}
.admin-seo-manual-form {
  padding-top: .9rem;
  border-top: 1px solid rgba(22, 76, 59, .14);
}
.form-field-wide {
  grid-column: 1 / -1;
}
@media (max-width: 760px) {
  .admin-seo-head {
    display: grid;
  }
}

/* v0.1.60.0 — live generated introduction in the questionnaire */
.pet-seo-draft-preview {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green-2);
  background: var(--mint-2);
}
.pet-seo-draft-preview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.pet-seo-draft-preview-head h3 {
  margin: 3px 0 0;
  font-size: 1.08rem;
}
.pet-seo-draft-preview-state {
  flex: 0 0 auto;
  font-size: .82rem;
  color: var(--muted);
}
.pet-seo-draft-preview-state[data-state="ready"] {
  color: var(--green);
  font-weight: 600;
}
.pet-seo-draft-preview-state[data-state="error"] {
  color: #a93421;
}
.pet-seo-draft-preview-intro,
.pet-seo-draft-preview-note {
  margin: 0;
}
.pet-seo-draft-preview-intro {
  font-size: 1rem;
  line-height: 1.65;
}
.pet-seo-draft-preview-note {
  color: var(--muted);
  font-size: .86rem;
}
.pet-seo-draft-preview-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.pet-seo-draft-preview-section {
  display: grid;
  gap: 3px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.pet-seo-draft-preview-section strong {
  font-size: .88rem;
}
.pet-seo-draft-preview-section span {
  color: var(--muted);
  font-size: .88rem;
}
@media (max-width: 720px) {
  .pet-seo-draft-preview-head {
    display: grid;
  }
  .pet-seo-draft-preview-sections {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* v0.1.64.2 — symmetrical card zones and bottom-aligned material actions */
.info-related-section {
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: clamp(42px, 5vw, 64px);
}

.info-related-section .section-heading {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.info-related-section .section-heading h2 {
  margin-bottom: 0;
}

.info-related-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
  gap: clamp(1.2rem, 2.4vw, 1.75rem);
}

.info-related-card,
.info-guide-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-rows: minmax(46px, auto) minmax(0, 1fr) auto;
  align-content: stretch;
  height: 100%;
  min-width: 0;
}

.info-related-card {
  padding: clamp(1.15rem, 2.2vw, 1.45rem);
  transition: border-color .18s ease, transform .18s ease;
}

.info-related-card > .ui-icon,
.info-guide-card > .ui-icon {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}

.info-related-card > h3,
.info-guide-card > h3 {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  display: flex;
  align-items: center;
  min-height: 46px;
  margin: 0;
}

.info-related-card > p,
.info-guide-card > p {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: start;
  min-width: 0;
  margin: 0;
}

.info-related-card:hover,
.info-related-card:focus-visible {
  border-color: rgba(22, 76, 59, .35);
  transform: translateY(-2px);
}

.info-related-link {
  grid-column: 1 / -1;
  grid-row: 3;
  align-self: end;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  width: 100%;
  min-width: 0;
  min-height: 3.2rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--green);
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.35;
}

.info-related-link::after {
  content: "→";
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 1.05em;
  transition: transform .18s ease;
}

.info-related-card:hover .info-related-link::after,
.info-related-card:focus-visible .info-related-link::after,
.info-guide-card:hover .info-related-link::after,
.info-guide-card:focus-visible .info-related-link::after {
  transform: translateX(3px);
}

@media (max-width: 640px) {
  .info-related-section {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .info-related-section .section-heading {
    margin-bottom: 1.35rem;
  }

  .info-related-grid {
    grid-auto-rows: auto;
    gap: 1rem;
  }

  .info-related-card {
    padding: 1.15rem;
  }

  .info-related-card,
  .info-guide-card {
    grid-template-rows: minmax(46px, auto) auto auto;
  }
}

/* v0.1.60.0 — contextual links from the home page to scenario pages */
.scenario-link {
  display: grid;
  align-content: start;
  color: inherit;
  transition: border-color .18s ease, transform .18s ease;
}
.scenario-link:hover,
.scenario-link:focus-visible {
  border-color: rgba(22, 76, 59, .35);
  transform: translateY(-2px);
}
.scenario-link-more {
  margin-top: auto;
  padding-top: 12px;
  color: var(--green);
  font-size: .9rem;
  font-weight: 600;
}

/* ZooDomik v0.1.60.1 — stable public post reference below the unique H1. */
.pet-reference {
  margin: -0.15rem 0 0.8rem;
  font-size: 0.88rem;
  color: var(--muted, #66736d);
  letter-spacing: 0.01em;
}

.pet-reference strong {
  color: inherit;
  font-weight: 600;
}

/* v0.1.60.2 — scenario-based public pet page */
.public-pet-page {
  --case-accent: #28745b;
  --case-accent-dark: #164c3b;
  --case-soft: #edf7f1;
  --case-line: rgba(40, 116, 91, 0.22);
}
.public-pet-page.public-case-lost,
.public-case-lost {
  --case-accent: #b96722;
  --case-accent-dark: #71380c;
  --case-soft: #fff4e5;
  --case-line: rgba(185, 103, 34, 0.24);
}
.public-pet-page.public-case-found,
.public-case-found {
  --case-accent: #34789a;
  --case-accent-dark: #174b64;
  --case-soft: #edf7fb;
  --case-line: rgba(52, 120, 154, 0.23);
}
.public-pet-page.public-case-help,
.public-case-help {
  --case-accent: #b64b41;
  --case-accent-dark: #742b25;
  --case-soft: #fff1ef;
  --case-line: rgba(182, 75, 65, 0.23);
}
.public-pet-page.public-case-adopt,
.public-case-adopt {
  --case-accent: #75609b;
  --case-accent-dark: #49376c;
  --case-soft: #f5f1fb;
  --case-line: rgba(117, 96, 155, 0.23);
}
.public-pet-page .public-pet-hero {
  grid-template-columns: minmax(300px, 0.48fr) minmax(0, 1fr);
  gap: clamp(1.35rem, 4vw, 3rem);
  padding-top: clamp(26px, 4.5vw, 54px);
  padding-bottom: clamp(24px, 4vw, 44px);
}
.public-pet-page .public-hero-media {
  min-height: 390px;
  border-color: var(--case-line);
  border-radius: 6px;
  background: var(--case-soft);
  box-shadow: none;
}
.public-pet-page .public-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 5px solid transparent;
  border-left-color: var(--case-accent);
  pointer-events: none;
}
.public-pet-page .public-hero-media {
  position: relative;
}
.public-pet-page .public-hero-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.public-case-eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .8rem;
  align-items: center;
  color: var(--case-accent-dark);
  font-size: .84rem;
  font-weight: 750;
  letter-spacing: .025em;
  text-transform: uppercase;
}
.public-case-eyebrow span + span::before {
  content: "·";
  margin-right: .8rem;
  color: var(--case-accent);
}
.public-pet-page .public-hero-body h1 {
  max-width: 780px;
  margin-top: .75rem;
  color: var(--case-accent-dark);
  font-size: clamp(1.95rem, 3.4vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: -.025em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.public-hero-context {
  margin-top: .8rem;
  color: var(--case-accent-dark);
  font-size: clamp(1rem, 1.75vw, 1.18rem);
  font-weight: 720;
}
.public-pet-page .public-hero-body .hero-copy {
  max-width: 720px;
  margin-top: 1rem;
  font-size: clamp(.98rem, 1.45vw, 1.1rem);
  line-height: 1.65;
}
.public-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  align-items: center;
  margin-top: 1.15rem;
}
.public-pet-page .expiry {
  border-color: var(--case-line);
  background: var(--case-soft);
  color: var(--case-accent-dark);
}
.public-pet-page .pet-reference {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}
.public-case-content {
  padding-top: 0;
}
.public-pet-page .public-layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
  gap: clamp(1rem, 2.5vw, 1.6rem);
}
.public-pet-page .content-stack {
  gap: 1rem;
}
.public-pet-page .content-block,
.public-pet-page .public-side-card {
  border-radius: 6px;
  border-color: var(--line);
  box-shadow: none;
}
.public-case-summary {
  position: relative;
  overflow: hidden;
  border-color: var(--case-line) !important;
  background: linear-gradient(135deg, var(--case-soft), #fff 70%);
}
.public-case-summary::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--case-accent);
}
.public-case-summary .kicker {
  color: var(--case-accent-dark);
}
.public-case-summary-copy {
  max-width: 880px;
  margin-top: .65rem;
  font-size: 1.04rem;
  line-height: 1.68;
}
.public-case-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0;
  margin: 1.15rem 0 0;
  border-top: 1px solid var(--case-line);
  border-left: 1px solid var(--case-line);
}
.public-case-fact {
  min-width: 0;
  padding: .8rem .9rem;
  border-right: 1px solid var(--case-line);
  border-bottom: 1px solid var(--case-line);
  background: rgba(255, 255, 255, .68);
}
.public-case-fact dt {
  margin: 0 0 .2rem;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 720;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.public-case-fact dd {
  margin: 0;
  color: var(--case-accent-dark);
  font-size: .96rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.public-detail-block h2,
.public-animal-section h2,
.public-description-block h2,
.public-photos-block h2 {
  color: var(--case-accent-dark);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}
.public-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: .9rem 0 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.public-detail-row {
  min-width: 0;
  padding: .78rem .9rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.public-detail-row dt {
  margin: 0 0 .2rem;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 720;
}
.public-detail-row dd {
  margin: 0;
  color: var(--ink);
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.public-pet-page .public-pet-item-list {
  margin-top: .85rem;
}
.public-pet-page .public-pet-item-card {
  border-color: var(--case-line);
  border-radius: 5px;
  background: #fff;
  padding: clamp(.9rem, 2vw, 1.15rem);
}
.public-pet-page .public-pet-item-head {
  margin-bottom: .7rem;
}
.public-pet-page .public-pet-item-title h3 {
  margin-top: .35rem;
  color: var(--case-accent-dark);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}
.public-pet-page .public-pet-item-cover {
  width: 84px;
  min-width: 84px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.public-pet-page .public-pet-item-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 1px;
  margin-top: .8rem;
  background: var(--line);
  border: 1px solid var(--line);
}
.public-pet-page .public-pet-item-facts span {
  display: grid;
  gap: .12rem;
  min-width: 0;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  padding: .62rem .72rem;
  font-size: .92rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.public-pet-page .public-pet-item-facts small {
  color: var(--muted);
  font-size: .71rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.public-pet-page .public-pet-species-details {
  margin-top: .85rem;
}
.public-item-copy {
  display: grid;
  gap: .25rem;
  margin-top: .85rem;
  line-height: 1.6;
}
.public-item-copy strong {
  color: var(--case-accent-dark);
}
.public-description-list {
  display: grid;
  gap: 1rem;
  margin-top: .85rem;
}
.public-description-item + .public-description-item {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.public-description-item h3 {
  margin: 0 0 .3rem;
  color: var(--case-accent-dark);
  font-size: 1rem;
}
.public-description-item p {
  line-height: 1.68;
}
.public-case-contact-card {
  border-top: 4px solid var(--case-accent) !important;
}
.public-side-status-row {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: center;
  margin-bottom: .85rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--line);
}
.public-side-status {
  color: var(--case-accent-dark);
  font-size: .86rem;
  font-weight: 800;
}
.public-side-code {
  color: var(--muted);
  font-size: .82rem;
}
.public-case-contact-card h2 {
  color: var(--case-accent-dark);
  font-size: 1.35rem;
}
.public-case-guidance {
  margin-top: 1rem;
  border-left: 3px solid var(--case-accent);
  background: var(--case-soft);
  color: var(--case-accent-dark);
  padding: .78rem .85rem;
  font-size: .9rem;
  line-height: 1.55;
}
.public-case-contact-card .btn-primary {
  background: var(--case-accent-dark);
}
.public-case-contact-card .btn-primary:hover {
  background: var(--case-accent);
}
.public-pet-page .public-contact-actions {
  margin-top: 1rem;
}
.public-pet-page .public-contact-actions .btn {
  width: 100%;
}
@media (max-width: 960px) {
  .public-pet-page .public-pet-hero {
    grid-template-columns: minmax(240px, .75fr) minmax(0, 1fr);
  }
  .public-pet-page .public-layout {
    grid-template-columns: 1fr;
  }
  .public-case-contact-card {
    position: static;
  }
}
@media (max-width: 760px) {
  .public-pet-page .public-pet-hero {
    grid-template-columns: 1fr;
    width: min(100% - 24px, 1180px);
    gap: 1.15rem;
    padding-top: 18px;
  }
  .public-pet-page .public-hero-media {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }
  .public-pet-page .public-hero-body h1 {
    margin-top: .6rem;
    font-size: clamp(1.75rem, 8vw, 2.35rem);
    line-height: 1.08;
  }
  .public-case-eyebrow {
    font-size: .76rem;
  }
  .public-case-facts,
  .public-detail-grid {
    grid-template-columns: 1fr;
  }
  .public-pet-page .public-pet-item-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .public-pet-page .public-pet-item-facts {
    grid-template-columns: 1fr;
  }
  .public-hero-meta {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ZooDomik v0.1.60.3 — concise, search-friendly public questionnaire layout */
.public-pet-page .public-pet-hero {
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(1.35rem, 3.5vw, 2.6rem);
  align-items: start;
  padding-top: clamp(24px, 4vw, 46px);
  padding-bottom: clamp(22px, 3.5vw, 38px);
}
.public-pet-page .public-hero-media {
  min-height: 0;
  max-height: 520px;
  aspect-ratio: 4 / 5;
}
.public-pet-page .gallery-hero-button,
.public-pet-page .gallery-hero-button img {
  min-height: 0;
}
.public-pet-page .public-hero-body {
  justify-content: flex-start;
  padding-top: .2rem;
}
.public-pet-page .public-hero-body h1 {
  max-width: 690px;
  margin-top: .65rem;
  font-size: clamp(1.8rem, 2.7vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -.018em;
  text-wrap: pretty;
}
.public-pet-page .public-hero-context {
  margin-top: .7rem;
  font-size: clamp(.96rem, 1.45vw, 1.08rem);
  font-weight: 680;
  line-height: 1.45;
}
.public-pet-page .public-hero-body .hero-copy {
  max-width: 700px;
  margin-top: .85rem;
  font-size: clamp(.95rem, 1.2vw, 1.02rem);
  line-height: 1.58;
}
.public-hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 720px;
  margin: 1rem 0 0;
  border-top: 1px solid var(--case-line);
  border-left: 1px solid var(--case-line);
}
.public-hero-fact {
  min-width: 0;
  padding: .65rem .75rem;
  border-right: 1px solid var(--case-line);
  border-bottom: 1px solid var(--case-line);
  background: var(--case-soft);
  background: color-mix(in srgb, var(--case-soft) 62%, #fff);
}
.public-hero-fact dt {
  margin: 0 0 .16rem;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 720;
  letter-spacing: .025em;
  text-transform: uppercase;
}
.public-hero-fact dd {
  margin: 0;
  color: var(--case-accent-dark);
  font-size: .93rem;
  font-weight: 680;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.public-pet-page .public-hero-meta {
  margin-top: 1rem;
}
.public-pet-page .public-case-content {
  padding-top: .25rem;
}
.public-pet-page .content-block {
  padding: clamp(.95rem, 2.3vw, 1.3rem);
}

@media (max-width: 960px) {
  .public-pet-page .public-pet-hero {
    grid-template-columns: minmax(230px, 320px) minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .public-pet-page .public-pet-hero {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .public-pet-page .public-hero-media {
    max-height: none;
    aspect-ratio: 4 / 3;
  }
  .public-hero-media-animal {
    display: none;
  }
  .public-hero-mobile-animal {
    display: flex;
  }
  .public-hero-mobile-animal img {
    width: min(180px, 56vw);
  }
  .public-pet-page .public-hero-body h1 {
    margin-top: .55rem;
    font-size: clamp(1.65rem, 7vw, 2.05rem);
    line-height: 1.14;
  }
  .public-hero-facts {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .public-hero-facts {
    grid-template-columns: 1fr;
  }
}

/* ZooDomik v0.1.60.5 — desktop + mobile footer pet strip */
.footer {
  padding-top: 0;
  overflow: hidden;
}

.footer-pets-strip {
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #fffdfa 0%, #fffdf9 100%);
  line-height: 0;
}

.footer-pets-strip picture,
.footer-pets-strip img {
  display: block;
  width: 100%;
}

.footer-pets-strip img {
  height: auto;
}

.footer-inner-rich {
  padding-top: clamp(1.1rem, 2.4vw, 1.6rem);
}

@media (max-width: 760px) {
  .footer-pets-strip {
    background: #fffdfa;
  }

  .footer-inner-rich {
    padding-top: 1rem;
  }
}

/* ZooDomik v0.1.60.7 — mobile pet strip uncropped + no pale seam */
.footer {
  border-top: none;
  background: #ffffff;
}

.footer-pets-strip {
  margin-top: clamp(1.6rem, 3.2vw, 2.2rem);
  background: #ffffff;
}

.footer-pets-strip::after {
  display: none;
}

.footer-pets-strip picture,
.footer-pets-strip img {
  background: #ffffff;
}

.footer-inner-rich {
  padding-top: clamp(1.1rem, 2.4vw, 1.5rem);
}

@media (max-width: 760px) {
  .footer-pets-strip {
    margin-top: 2.2rem;
    background: #ffffff;
  }

  .footer-inner-rich {
    padding-top: 1.15rem;
  }
}

@media (max-width: 480px) {
  .footer-pets-strip {
    margin-top: 2.35rem;
  }

  .footer-inner-rich {
    padding-top: 1.1rem;
  }
}

/* ZooDomik v0.1.60.8 — final uncropped footer artwork and seamless backgrounds */
.footer {
  padding: clamp(2.2rem, 5vw, 4.2rem) 0 24px;
  border-top: 0;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    #f5fbf6 0,
    #faf8f6 clamp(2.2rem, 5vw, 4.2rem),
    #fcf9f7 clamp(2.2rem, 5vw, 4.2rem),
    #fcf9f7 100%
  );
}

.footer-pets-strip {
  width: 100%;
  margin: 0;
  overflow: visible;
  background: #fcf9f7;
  line-height: 0;
}

.footer-pets-strip::after {
  display: none;
}

.footer-pets-strip picture,
.footer-pets-strip img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  background: #fcf9f7;
}

.footer-inner-rich {
  padding-top: clamp(1.1rem, 2.2vw, 1.6rem);
  background: #fcf9f7;
}

@media (max-width: 760px) {
  .footer {
    padding-top: 2.65rem;
    background: linear-gradient(
      180deg,
      #f5fbf6 0,
      #faf8f6 2.65rem,
      #fcf9f7 2.65rem,
      #fcf9f7 100%
    );
  }

  .footer-pets-strip,
  .footer-pets-strip picture,
  .footer-pets-strip img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    background: #fcf9f7;
  }

  .footer-inner-rich {
    padding-top: 1.15rem;
  }
}



/* ZooDomik v0.1.60.10 — compact footer artwork without excessive canvas */
.footer-pets-strip {
  margin-top: clamp(1.15rem, 2.2vw, 1.65rem);
  background: #fffdf8;
}

.footer-pets-strip picture,
.footer-pets-strip img {
  background: #fffdf8;
}

.footer-inner-rich {
  padding-top: clamp(.9rem, 1.8vw, 1.25rem);
}

@media (max-width: 760px) {
  .footer-pets-strip {
    margin-top: 1.45rem;
  }

  .footer-inner-rich {
    padding-top: .95rem;
  }
}

/* ZooDomik v0.1.60.11 — remove visible green seam above footer artwork */
.footer {
  border-top: 0 !important;
  box-shadow: none !important;
  background: linear-gradient(
    180deg,
    #f5fbf6 0%,
    #f8fbf8 18%,
    #fffdf8 46%,
    #fffdf8 100%
  ) !important;
}

.footer::before,
.footer::after,
.footer-pets-strip::before,
.footer-pets-strip::after {
  content: none !important;
  display: none !important;
}

.footer-pets-strip,
.footer-pets-strip picture,
.footer-pets-strip img,
.footer-inner-rich {
  border: 0 !important;
  box-shadow: none !important;
  background-color: #fffdf8 !important;
}

@media (max-width: 760px) {
  .footer {
    background: linear-gradient(
      180deg,
      #f5fbf6 0%,
      #f8fbf8 14%,
      #fffdf8 38%,
      #fffdf8 100%
    ) !important;
  }
}

/* ZooDomik v0.1.60.12 — remove the green band above the footer image */
.footer {
  padding-top: 0 !important;
  border-top: 0 !important;
  box-shadow: none !important;
  background: #fffdf8 !important;
}

.footer-pets-strip {
  margin-top: 0 !important;
  padding-top: clamp(1.15rem, 2.2vw, 1.65rem);
  border: 0 !important;
  background: #fffdf8 !important;
}

.footer-pets-strip picture,
.footer-pets-strip img,
.footer-inner-rich {
  border: 0 !important;
  box-shadow: none !important;
  background: #fffdf8 !important;
}

@media (max-width: 760px) {
  .footer {
    padding-top: 0 !important;
    background: #fffdf8 !important;
  }

  .footer-pets-strip {
    margin-top: 0 !important;
    padding-top: 1.45rem;
  }
}

/* ZooDomik v0.1.60.13 — remove residual color band before footer pets */
.footer {
  padding-top: 0 !important;
  margin-top: 0 !important;
  border-top: 0 !important;
  background: #fffdf8 !important;
}

.footer-pets-strip {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
  background: #fffdf8 !important;
}

.footer-pets-strip::before,
.footer-pets-strip::after {
  display: none !important;
  content: none !important;
}

.tech-support-panel {
  margin-bottom: 0 !important;
}

@media (max-width: 760px) {
  .footer,
  .footer-pets-strip {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .tech-support-panel {
    margin-bottom: 0 !important;
  }
}

/* ZooDomik v0.1.60.14 — exact artwork/footer background match */
.footer,
.footer-pets-strip,
.footer-pets-strip picture,
.footer-pets-strip img,
.footer-inner-rich {
  background: #fcfaf8 !important;
  background-color: #fcfaf8 !important;
}

.footer-pets-strip {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.footer-pets-strip picture,
.footer-pets-strip img {
  vertical-align: top;
}



/* ZooDomik v0.1.60.15 — real upper transition blended into artwork */
.footer-pets-strip {
  background: #f5fbf6 !important;
}

.footer-pets-strip picture,
.footer-pets-strip img {
  background: transparent !important;
}

.footer-inner-rich {
  background: #fcfaf8 !important;
}

/* ZooDomik v0.1.60.16 — true cross-fade from page background into footer artwork */
.footer-pets-strip {
  position: relative !important;
  isolation: isolate;
  overflow: hidden !important;
  background: #fcfaf8 !important;
}

.footer-pets-strip::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: clamp(62px, 7vw, 112px);
  pointer-events: none;
  background: linear-gradient(
    180deg,
    #f5fbf6 0%,
    rgba(245, 251, 246, 0.96) 14%,
    rgba(247, 250, 247, 0.72) 42%,
    rgba(250, 249, 247, 0.32) 72%,
    rgba(252, 250, 248, 0) 100%
  );
}

.footer-pets-strip::after {
  content: none !important;
  display: none !important;
}

.footer-pets-strip picture,
.footer-pets-strip img {
  position: relative;
  z-index: 1;
}

@media (max-width: 760px) {
  .footer-pets-strip::before {
    height: 76px;
    background: linear-gradient(
      180deg,
      #f5fbf6 0%,
      rgba(245, 251, 246, 0.96) 16%,
      rgba(247, 250, 247, 0.70) 46%,
      rgba(250, 249, 247, 0.28) 76%,
      rgba(252, 250, 248, 0) 100%
    );
  }
}

/* ZooDomik v0.1.60.17 — transition belongs to the photo background, not over the animals */
.footer-pets-strip {
  position: relative !important;
  isolation: auto !important;
  overflow: hidden !important;
  background: #fcfaf8 !important;
}

.footer-pets-strip::before {
  content: "" !important;
  display: block !important;
  position: static !important;
  width: 100%;
  height: clamp(34px, 3.8vw, 58px);
  pointer-events: none;
  background: linear-gradient(
    180deg,
    #f5fbf6 0%,
    #f7faf7 38%,
    #faf9f7 72%,
    #fcfaf8 100%
  ) !important;
}

.footer-pets-strip::after {
  content: none !important;
  display: none !important;
}

.footer-pets-strip picture,
.footer-pets-strip img {
  position: static !important;
  z-index: auto !important;
  background: #fcfaf8 !important;
}

@media (max-width: 760px) {
  .footer-pets-strip::before {
    height: 38px;
    background: linear-gradient(
      180deg,
      #f5fbf6 0%,
      #f7faf7 42%,
      #faf9f7 74%,
      #fcfaf8 100%
    ) !important;
  }
}

/* ZooDomik v0.1.60.19 — use the selected v1614 pet photos unchanged and adapt the site background around them */
.footer,
.footer::before,
.footer::after,
.footer-pets-strip,
.footer-pets-strip::before,
.footer-pets-strip::after,
.footer-pets-strip picture,
.footer-pets-strip img,
.footer-inner-rich {
  border: 0 !important;
  box-shadow: none !important;
}

.tech-support-panel {
  margin-bottom: 0 !important;
}

.footer {
  padding-top: 0 !important;
  margin-top: 0 !important;
  background: linear-gradient(
    180deg,
    #f5fbf6 0%,
    #f6fbf7 14%,
    #f8fbf8 24%,
    #fbfbf9 38%,
    #fcfaf8 54%,
    #fcfaf8 100%
  ) !important;
}

.footer-pets-strip {
  margin: 0 !important;
  padding: clamp(0.95rem, 2vw, 1.35rem) 0 0 !important;
  background: transparent !important;
}

.footer-pets-strip::before,
.footer-pets-strip::after,
.footer::before,
.footer::after {
  content: none !important;
  display: none !important;
}

.footer-pets-strip picture,
.footer-pets-strip img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  background: transparent !important;
}

.footer-inner-rich {
  padding-top: .95rem !important;
  background: #fcfaf8 !important;
}

@media (max-width: 760px) {
  .footer {
    background: linear-gradient(
      180deg,
      #f5fbf6 0%,
      #f6fbf7 16%,
      #f8fbf8 28%,
      #fbfbf9 42%,
      #fcfaf8 58%,
      #fcfaf8 100%
    ) !important;
  }

  .footer-pets-strip {
    padding-top: 1rem !important;
  }

  .footer-inner-rich {
    padding-top: .9rem !important;
  }
}

/* ZooDomik v0.1.60.20 — remove the stripe before the footer pets photo by eliminating the top padding/background band */
.footer,
.footer::before,
.footer::after,
.footer-pets-strip,
.footer-pets-strip::before,
.footer-pets-strip::after {
  border: 0 !important;
  box-shadow: none !important;
}

.tech-support-panel {
  margin-bottom: 0 !important;
}

.footer {
  padding-top: 0 !important;
  margin-top: 0 !important;
  background: #fcfaf8 !important;
}

.footer-pets-strip {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  line-height: 0 !important;
}

.footer-pets-strip::before,
.footer-pets-strip::after,
.footer::before,
.footer::after {
  content: none !important;
  display: none !important;
}

.footer-pets-strip picture,
.footer-pets-strip img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: top;
  background: transparent !important;
}

.footer-inner-rich {
  padding-top: .95rem !important;
  background: #fcfaf8 !important;
}

@media (max-width: 760px) {
  .footer,
  .footer-pets-strip,
  .footer-pets-strip picture,
  .footer-pets-strip img {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .footer-inner-rich {
    padding-top: .9rem !important;
  }
}

/* ZooDomik v0.1.60.21 — make the support panel bridge the background transition intentionally */
.tech-support-panel {
  position: relative;
  z-index: 4;
  margin-bottom: clamp(-2.35rem, -3.4vw, -1.6rem) !important;
}

.footer {
  position: relative;
  z-index: 1;
  padding-top: clamp(2.4rem, 3.6vw, 3.1rem) !important;
  margin-top: 0 !important;
  background: linear-gradient(
    180deg,
    #f5fbf6 0%,
    #f6fbf7 28%,
    #f8fbf8 52%,
    #fbfbf9 76%,
    #fcfaf8 100%
  ) !important;
}

.footer-pets-strip {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.footer-pets-strip::before,
.footer-pets-strip::after,
.footer::before,
.footer::after {
  content: none !important;
  display: none !important;
}

.footer-pets-strip picture,
.footer-pets-strip img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.footer-inner-rich {
  padding-top: .92rem !important;
}

@media (max-width: 760px) {
  .tech-support-panel {
    margin-bottom: -1.7rem !important;
  }

  .footer {
    padding-top: 1.75rem !important;
    background: linear-gradient(
      180deg,
      #f5fbf6 0%,
      #f7faf7 34%,
      #faf9f7 68%,
      #fcfaf8 100%
    ) !important;
  }

  .footer-inner-rich {
    padding-top: .88rem !important;
  }
}



/* V0.1.61.0 SEO catalogue landing pages */
.catalog-landing-nav {
  display: flex;
  gap: clamp(1rem, 2.4vw, 2rem);
  align-items: center;
  overflow-x: auto;
  margin: 0 0 1.25rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.15rem 0;
  scrollbar-width: thin;
}

.catalog-landing-nav a {
  flex: 0 0 auto;
  border-bottom: 2px solid transparent;
  padding: 0.9rem 0 0.78rem;
  color: var(--muted);
  font-weight: 750;
  text-decoration: none;
}

.catalog-landing-nav a:hover,
.catalog-landing-nav a:focus-visible,
.catalog-landing-nav a[aria-current="page"] {
  border-bottom-color: var(--green);
  color: var(--green);
}

.catalog-filter-fields-count-3 {
  grid-template-columns: repeat(3, minmax(170px, 1fr));
}

.catalog-filter-fields-count-2 {
  grid-template-columns: repeat(2, minmax(190px, 1fr));
}

.catalog-seo-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
  margin-top: clamp(2.2rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  padding-top: clamp(1.4rem, 3vw, 2.2rem);
}

.catalog-seo-copy h2 {
  margin: 0.35rem 0 0;
  color: var(--green);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.16;
}

.catalog-seo-copy p {
  max-width: 780px;
  margin: 0.8rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.catalog-seo-actions {
  display: grid;
  gap: 0.75rem;
}

.catalog-seo-actions .btn {
  width: 100%;
}

@media (max-width: 920px) {
  .catalog-seo-copy {
    grid-template-columns: 1fr;
  }

  .catalog-seo-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .catalog-landing-nav {
    margin-right: calc(var(--page-pad, 20px) * -1);
    padding-right: var(--page-pad, 20px);
  }

  .catalog-seo-actions {
    grid-template-columns: 1fr;
  }
}

/* V0.1.62.0 local SEO pages and contextual internal links */
.catalog-city-links,
.catalog-local-context {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  align-items: center;
  margin: -.35rem 0 1.25rem;
  border-bottom: 1px solid var(--line);
  padding: 0 0 1rem;
}

.catalog-city-links-label,
.catalog-local-context > span {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
}

.catalog-city-links a,
.catalog-local-context a {
  display: inline-flex;
  gap: .55rem;
  align-items: center;
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.catalog-city-links a:hover,
.catalog-city-links a:focus-visible,
.catalog-local-context a:hover,
.catalog-local-context a:focus-visible {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.catalog-city-links small {
  display: inline-grid;
  place-items: center;
  min-width: 1.65rem;
  min-height: 1.65rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  font-size: .78rem;
}

.public-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .55rem;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 1.15rem auto -1.15rem;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.45;
}

.public-breadcrumbs a {
  color: var(--green);
  text-decoration: none;
}

.public-breadcrumbs a:hover,
.public-breadcrumbs a:focus-visible {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.public-breadcrumbs b {
  color: var(--line-strong, #aebbb5);
  font-weight: 400;
}

.public-breadcrumbs span[aria-current="page"] {
  overflow: hidden;
  max-width: min(58ch, 100%);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-seo-discovery {
  padding-top: 0;
}

.public-seo-discovery-panel {
  border-top: 1px solid var(--line);
  padding-top: clamp(1.4rem, 3vw, 2.25rem);
}

.public-seo-discovery-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 420px);
  gap: 1rem 2rem;
  align-items: end;
  margin-bottom: 1.25rem;
}

.public-seo-discovery-head h2 {
  max-width: 760px;
  margin: .35rem 0 0;
  color: var(--green);
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  line-height: 1.16;
}

.public-seo-discovery-links {
  display: grid;
  gap: .55rem;
  justify-items: start;
}

.public-seo-discovery-links a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.public-seo-discovery-links a::after {
  content: " →";
}

.public-seo-discovery-links a:hover,
.public-seo-discovery-links a:focus-visible {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.public-related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 920px) {
  .public-seo-discovery-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .public-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .catalog-city-links,
  .catalog-local-context {
    align-items: flex-start;
  }

  .public-breadcrumbs {
    margin-top: .85rem;
    margin-bottom: -.65rem;
    font-size: .82rem;
  }

  .public-related-grid {
    grid-template-columns: 1fr;
  }
}

.catalog-filter-fields-count-1 {
  grid-template-columns: minmax(220px, 1fr);
}

/* v0.1.64.0 — SEO guides and article metadata */
.info-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1rem;
  margin-top: .85rem;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.45;
}

.info-article-meta span + span::before {
  content: "•";
  margin-right: 1rem;
  color: var(--line-strong, #aebbb5);
}

.info-guide-card {
  color: inherit;
  text-decoration: none;
}

.info-guide-card:hover,
.info-guide-card:focus-visible {
  border-color: rgba(22, 76, 59, .35);
  transform: translateY(-2px);
}

.info-guide-card .info-related-link {
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .info-article-meta {
    display: grid;
    gap: .25rem;
  }

  .info-article-meta span + span::before {
    content: none;
  }
}

/* v0.1.64.3 — unified informational card structure across desktop and mobile */
.scenario-grid,
.feature-grid,
.innovation-grid,
.info-related-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
  gap: clamp(1.15rem, 2.2vw, 1.6rem);
}

.scenario,
.feature,
.innovation-card,
.info-related-card,
.info-guide-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-rows: minmax(46px, auto) minmax(0, 1fr) auto;
  column-gap: 1rem;
  row-gap: .85rem;
  align-items: start;
  align-content: stretch;
  height: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .88);
  padding: clamp(1.15rem, 2.1vw, 1.35rem);
}

.innovation-card {
  box-shadow: none;
}

.scenario > .ui-icon,
.feature > .ui-icon,
.innovation-card > .ui-icon,
.info-related-card > .ui-icon,
.info-guide-card > .ui-icon {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}

.scenario > h3,
.feature > h3,
.innovation-card > h3,
.info-related-card > h3,
.info-guide-card > h3 {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  color: var(--green);
  font-size: 1.08rem;
  line-height: 1.35;
}

.scenario > p,
.feature > p,
.innovation-card > p,
.info-related-card > p,
.info-guide-card > p {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: start;
  min-width: 0;
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.scenario-link,
.feature.link-card,
.info-related-card,
.info-guide-card {
  color: inherit;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.scenario-link:hover,
.scenario-link:focus-visible,
.feature.link-card:hover,
.feature.link-card:focus-visible,
.info-related-card:hover,
.info-related-card:focus-visible,
.info-guide-card:hover,
.info-guide-card:focus-visible {
  border-color: rgba(22, 76, 59, .34);
  box-shadow: 0 14px 32px rgba(22, 76, 59, .08);
  transform: translateY(-2px);
  outline: none;
}

.card-action,
.scenario-link-more,
.info-related-link {
  grid-column: 1 / -1;
  grid-row: 3;
  align-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: .55rem;
  width: 100%;
  min-width: 0;
  min-height: 3rem;
  margin-top: .2rem;
  padding-top: .95rem;
  border-top: 1px solid var(--line);
  color: var(--green);
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}

.card-action::after,
.scenario-link-more::after,
.info-related-link::after {
  content: "→";
  flex: 0 0 auto;
  display: inline-block;
  margin-left: 0;
  font-size: 1.04em;
  line-height: 1;
  transition: transform .18s ease;
}

.scenario-link:hover .card-action::after,
.scenario-link:focus-visible .card-action::after,
.feature.link-card:hover .card-action::after,
.feature.link-card:focus-visible .card-action::after,
.info-related-card:hover .card-action::after,
.info-related-card:focus-visible .card-action::after,
.info-guide-card:hover .card-action::after,
.info-guide-card:focus-visible .card-action::after {
  transform: translateX(3px);
}

@media (max-width: 640px) {
  .scenario-grid,
  .feature-grid,
  .innovation-grid,
  .info-related-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
    gap: 1rem;
  }

  .scenario,
  .feature,
  .innovation-card,
  .info-related-card,
  .info-guide-card {
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: minmax(44px, auto) auto auto;
    column-gap: .85rem;
    row-gap: .75rem;
    height: auto;
    padding: 1.1rem;
  }

  .scenario > h3,
  .feature > h3,
  .innovation-card > h3,
  .info-related-card > h3,
  .info-guide-card > h3 {
    min-height: 44px;
    font-size: 1.02rem;
  }

  .card-action,
  .scenario-link-more,
  .info-related-link {
    min-height: 2.85rem;
    margin-top: .1rem;
    padding-top: .85rem;
    white-space: nowrap;
  }
}

/* ZooDomik v0.1.67.1 — content-height hero spacing fix */
.home-hero-carousel {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  outline: none;
}

.home-hero-stage {
  position: relative;
  isolation: isolate;
  min-height: 0;
  overflow: hidden;
  background: #123a2e;
}

.home-hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 35, 27, 0.84) 0%, rgba(8, 35, 27, 0.76) 18%, rgba(8, 35, 27, 0.56) 34%, rgba(8, 35, 27, 0.28) 46%, rgba(8, 35, 27, 0.09) 57%, transparent 68%),
    linear-gradient(180deg, rgba(8, 35, 27, 0.08) 0%, rgba(8, 35, 27, 0.04) 100%);
}

.home-hero-slides,
.home-hero-slide,
.home-hero-slide picture,
.home-hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 620ms ease, visibility 620ms ease;
}

.home-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.home-hero-slide img {
  display: block;
  object-fit: cover;
  object-position: var(--hero-desktop-position, center center);
}

.home-hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1240px, calc(100% - 40px));
  min-height: 0;
  margin: 0 auto;
  padding: clamp(38px, 4.4vw, 60px) 0 clamp(34px, 3.8vw, 50px);
  color: #fff;
}

.home-hero-copy-rail {
  width: min(560px, 44vw);
  max-width: 100%;
}

.home-hero-heading {
  max-width: 560px;
}

.home-hero-panels {
  position: relative;
  max-width: 560px;
  margin-top: 1rem;
}

.home-hero-panel {
  display: none;
}

.home-hero-panel.is-active {
  display: block;
  animation: homeHeroPanelIn 420ms ease both;
}

.home-hero-scenario-eyebrow {
  margin-bottom: 0.72rem;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 248, 241, 0.93);
  color: #9a3b28;
}

.home-hero-scenario-title {
  max-width: 560px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.05rem, 3.7vw, 3.85rem);
  font-weight: 780;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.home-hero-panel .hero-copy {
  max-width: 520px;
  margin-top: 0.95rem;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(1.02rem, 1.28vw, 1.16rem);
  line-height: 1.62;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.home-hero-panel .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  max-width: 540px;
  margin-top: 1.35rem;
}

.home-hero-panel .btn {
  width: auto;
  min-height: 56px;
  padding: 0.88rem 1.22rem;
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.76);
  color: #fff !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.home-hero-panel .hero-lost-btn {
  background: #c9563e;
}

.home-hero-panel .hero-found-btn {
  background: #0b6b4c;
}

.home-hero-panel .hero-catalog-btn {
  background: #f3ede1;
  border-color: rgba(243, 237, 225, 0.96);
  color: #174536 !important;
  box-shadow: 0 18px 38px rgba(7, 24, 18, 0.16);
}

.home-hero-panel .hero-catalog-btn:hover,
.home-hero-panel .hero-catalog-btn:focus-visible {
  background: #fff7ea;
  border-color: #fff7ea;
  color: #123a2e !important;
}

.home-hero-controls {
  display: none;
}

.home-hero-dots {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.05rem;
  opacity: 0;
  pointer-events: none;
}

.home-hero-carousel.is-ready .home-hero-dots {
  opacity: 1;
  pointer-events: auto;
}

.home-hero-dots {
  justify-content: flex-start;
}

.home-hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: width 180ms ease, border-radius 180ms ease, background 180ms ease;
}

.home-hero-dot.is-active {
  width: 30px;
  border-radius: 999px;
  background: #f26f50;
}

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

@media (max-width: 700px) {
  .home-hero-stage {
    display: grid;
    grid-template-areas:
      "title"
      "media"
      "panels"
      "dots";
    min-height: 0;
    padding: 30px 12px 26px;
    background:
      radial-gradient(circle at 85% 12%, rgba(242, 111, 80, 0.14), transparent 18rem),
      linear-gradient(145deg, #fff9ed 0%, #eef8f1 100%);
  }

  .home-hero-stage::after {
    display: none;
  }

  .home-hero-content {
    display: contents;
  }

  .home-hero-copy-rail {
    display: contents;
  }

  .home-hero-heading {
    grid-area: title;
    width: min(100%, 680px);
    margin: 0 auto;
    text-align: center;
  }

  .home-hero-heading .home-hero-scenario-eyebrow {
    justify-self: center;
    margin-inline: auto;
  }

  .home-hero-slides {
    position: relative;
    grid-area: media;
    width: min(100%, 620px);
    aspect-ratio: 3 / 2;
    margin: 22px auto 0;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 18px 42px rgba(22, 76, 59, 0.14);
  }

  .home-hero-slide,
  .home-hero-slide picture,
  .home-hero-slide img {
    position: absolute;
    inset: 0;
  }

  .home-hero-slide img {
    object-position: var(--hero-mobile-position, center center);
  }

  .home-hero-panels {
    grid-area: panels;
    width: min(100%, 680px);
    max-width: none;
    margin: 18px auto 0;
  }

  .home-hero-panel {
    text-align: center;
  }

  .home-hero-scenario-eyebrow {
    justify-self: center;
    margin-inline: auto;
  }

  .home-hero-scenario-title {
    margin-inline: auto;
    color: var(--green);
    font-size: clamp(1.8rem, 7vw, 2.45rem);
    font-weight: 780;
    line-height: 1.06;
    text-shadow: none;
  }

  .home-hero-panel .hero-copy {
    margin-inline: auto;
    color: rgba(32, 56, 48, 0.78);
    font-size: 1.03rem;
    line-height: 1.65;
    text-shadow: none;
  }

  .home-hero-panel .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
    margin-top: 1.15rem;
  }

  .home-hero-panel .btn {
    width: 100%;
    min-height: 56px;
  }

  .home-hero-panel .hero-catalog-btn {
    background: #f3ede1;
    border-color: rgba(223, 210, 186, 0.92);
    color: var(--green) !important;
  }

  .home-hero-controls {
    display: none;
  }

  .home-hero-dots {
    position: relative;
    grid-area: dots;
    width: min(100%, 680px);
    left: auto;
    bottom: auto;
    justify-content: center;
    margin: 16px auto 0;
    transform: none;
  }

  .home-hero-dot {
    border-color: rgba(22, 76, 59, 0.55);
    background: rgba(22, 76, 59, 0.16);
  }

  .home-hero-dot.is-active {
    background: #f26f50;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-slide,
  .home-hero-panel.is-active,
  .home-hero-arrow,
  .home-hero-dot {
    animation: none !important;
    transition: none !important;
  }
}


/* ZooDomik v0.1.67.4 — taller equal-height carousel and grid rhythm */
@media (min-width: 701px) {
  .home-hero-stage {
    height: clamp(600px, 45vw, 680px);
    min-height: 0;
    max-height: none;
  }

  .home-hero-content {
    min-height: 100%;
    height: 100%;
    padding-top: clamp(34px, 3.4vw, 50px);
    padding-bottom: clamp(32px, 3.2vw, 46px);
  }

  .home-hero-slides,
  .home-hero-slide,
  .home-hero-slide picture,
  .home-hero-slide img {
    width: 100%;
    height: 100%;
  }

  .home-hero-slide img {
    object-fit: cover;
  }

  main > .home-hero-carousel + .home-latest-section {
    min-height: 0;
    margin-top: 0;
    padding-top: clamp(28px, 2.8vw, 40px);
  }
}

@media (max-width: 700px) {
  main > .home-hero-carousel + .home-latest-section {
    min-height: 0;
    margin-top: 0;
    padding-top: 24px;
  }
}


/* ZooDomik v0.1.67.5 — full-width taller desktop hero composition */
@media (min-width: 901px) {
  .home-hero-stage {
    height: clamp(680px, 42vw, 820px);
    min-height: 680px;
    max-height: 820px;
  }

  .home-hero-content {
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 100%;
    margin: 0;
    padding:
      clamp(44px, 4.5vw, 74px)
      clamp(30px, 4.5vw, 88px)
      clamp(42px, 4.2vw, 68px);
  }

  .home-hero-copy-rail {
    width: min(520px, 36vw);
    max-width: 520px;
  }

  .home-hero-slides,
  .home-hero-slide,
  .home-hero-slide picture,
  .home-hero-slide img {
    width: 100%;
    height: 100%;
  }

  .home-hero-slide img {
    object-fit: cover;
    object-position: center center;
  }

  .home-hero-stage::after {
    background:
      linear-gradient(90deg,
        rgba(8, 35, 27, 0.9) 0%,
        rgba(8, 35, 27, 0.82) 16%,
        rgba(8, 35, 27, 0.64) 30%,
        rgba(8, 35, 27, 0.36) 42%,
        rgba(8, 35, 27, 0.12) 52%,
        transparent 64%),
      linear-gradient(180deg, rgba(8, 35, 27, 0.06) 0%, rgba(8, 35, 27, 0.03) 100%);
  }

  main > .home-hero-carousel + .home-latest-section {
    margin-top: 0;
    padding-top: clamp(28px, 2.5vw, 38px);
  }
}

@media (min-width: 701px) and (max-width: 900px) {
  .home-hero-stage {
    height: 620px;
    min-height: 620px;
    max-height: 620px;
  }

  .home-hero-content {
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 100%;
    margin: 0;
    padding: 38px 34px 36px;
  }

  .home-hero-copy-rail {
    width: min(500px, 54vw);
    max-width: 500px;
  }

  .home-hero-slide img {
    object-fit: cover;
    object-position: center center;
  }
}

/* ZooDomik v0.1.67.6 — viewport-height hero with centered content container */
@media (min-width: 901px) {
  .home-hero-stage {
    height: calc(100vh - var(--header-height));
    height: calc(100svh - var(--header-height));
    min-height: 640px;
    max-height: none;
  }

  .home-hero-content {
    width: min(1180px, calc(100% - 32px));
    max-width: 1180px;
    height: 100%;
    min-height: 0;
    margin: 0 auto;
    padding: clamp(42px, 4.2vw, 72px) 0;
    justify-content: center;
  }

  .home-hero-copy-rail {
    width: min(520px, 42vw);
    max-width: 520px;
  }

  .home-hero-slides,
  .home-hero-slide,
  .home-hero-slide picture,
  .home-hero-slide img {
    width: 100%;
    height: 100%;
  }

  .home-hero-slide img {
    object-fit: cover;
    object-position: var(--hero-desktop-position, center center);
  }

  .home-hero-stage::after {
    background:
      linear-gradient(90deg,
        rgba(8, 35, 27, 0.91) 0%,
        rgba(8, 35, 27, 0.82) 17%,
        rgba(8, 35, 27, 0.62) 31%,
        rgba(8, 35, 27, 0.32) 44%,
        rgba(8, 35, 27, 0.10) 55%,
        transparent 66%),
      linear-gradient(180deg, rgba(8, 35, 27, 0.05) 0%, rgba(8, 35, 27, 0.02) 100%);
  }

  main > .home-hero-carousel + .home-latest-section {
    margin-top: 0;
    padding-top: clamp(28px, 2.6vw, 40px);
  }
}

@media (min-width: 901px) and (max-height: 760px) {
  .home-hero-stage {
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
  }

  .home-hero-content {
    padding-top: 32px;
    padding-bottom: 32px;
  }
}

/* ZooDomik v0.1.69.0 — SEO landing clusters and internal linking */
.catalog-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.65rem;
  align-items: center;
  margin: 0 0 clamp(1.15rem, 2.4vw, 1.8rem);
  color: rgba(32, 56, 48, 0.62);
  font-size: 0.86rem;
  line-height: 1.45;
}

.catalog-breadcrumbs a {
  color: var(--green);
  font-weight: 650;
  text-decoration: none;
}

.catalog-breadcrumbs a:hover,
.catalog-breadcrumbs a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.catalog-breadcrumbs [aria-current="page"] {
  color: rgba(32, 56, 48, 0.72);
}

.catalog-related-section {
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  border-top: 1px solid var(--line);
  padding-top: clamp(1.6rem, 3.2vw, 2.5rem);
}

.catalog-related-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 430px);
  gap: 1.25rem clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
  margin-bottom: clamp(1.15rem, 2.5vw, 1.8rem);
}

.catalog-related-heading h2 {
  margin: 0.35rem 0 0;
  color: var(--green);
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
  line-height: 1.08;
}

.catalog-related-heading > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.catalog-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.8vw, 1.35rem);
}

.catalog-related-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(1rem, 2vw, 1.35rem);
  background: rgba(255, 255, 255, 0.78);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(22, 76, 59, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.catalog-related-card:hover,
.catalog-related-card:focus-visible {
  border-color: rgba(22, 76, 59, 0.34);
  box-shadow: 0 20px 42px rgba(22, 76, 59, 0.1);
  transform: translateY(-2px);
}

.catalog-related-card-top {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  color: var(--coral-dark, #c9523d);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.catalog-related-card-top small {
  display: inline-grid;
  min-width: 2rem;
  min-height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--mint, #eaf5ef);
  color: var(--green);
  font-size: 0.78rem;
  letter-spacing: 0;
}

.catalog-related-card h3 {
  margin: 1rem 0 0;
  color: var(--green);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.25;
}

.catalog-related-card p {
  margin: 0.65rem 0 1.25rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.catalog-related-card strong {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  margin-top: auto;
  color: var(--green);
  font-size: 0.94rem;
}

@media (max-width: 1080px) {
  .catalog-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .catalog-related-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .catalog-related-grid {
    grid-template-columns: 1fr;
  }

  .catalog-related-card {
    border-radius: 15px;
  }
}

/* V0.1.70.3 — password recovery spacing, aligned with account service pages */
.account-password-forgot > .account-muted:first-of-type {
  margin-top: 0.8rem;
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.account-password-forgot .account-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.15rem;
}

.account-password-forgot .account-tabs .btn {
  width: auto;
  min-width: 128px;
}

.account-password-forgot > .form-grid {
  gap: 0.9rem;
}

.account-password-forgot > .form-grid > .btn {
  margin-top: 0.15rem;
}

.account-password-forgot .account-help-card {
  margin-top: 1.35rem;
  padding: 1.15rem 1rem;
  gap: 0.75rem;
}

.account-password-forgot .account-help-card p {
  margin: 0;
  line-height: 1.6;
}

.account-password-forgot .account-help-card .btn {
  margin-top: 0.1rem;
}

.account-password-forgot > .account-muted:last-child {
  margin-top: 1.15rem;
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .account-password-forgot .account-tabs {
    gap: 0.45rem;
  }

  .account-password-forgot .account-tabs .btn {
    flex: 1 1 calc(50% - 0.45rem);
    min-width: 0;
  }

  .account-password-forgot .account-help-card {
    padding: 1rem;
  }
}

/* ZooDomik Design 2.0 — home page experiment v0.1.71.0 */
body.zd-home-v2 { background:#f7f8f5; }
.zd-home-v2 .page-shell { max-width:1440px; margin:0 auto; background:#fff; box-shadow:0 0 0 1px rgba(22,76,59,.05); }
.zd-home-v2 .home-hero-carousel { border-radius:0 0 30px 30px; overflow:hidden; margin-bottom:0; }
.zd-home-v2 .home-hero-content { max-width:1180px; margin:0 auto; }
.zd-home-v2 .home-hero-copy-rail { max-width:620px; }
.zd-home-v2 .home-hero-scenario-title { max-width:15ch; font-size:clamp(2.35rem,5vw,4.8rem); line-height:.98; letter-spacing:-.045em; }
.zd-home-v2 .hero-copy { max-width:52ch; font-size:1.05rem; }
.zd-home-v2 .hero-quick-actions .btn { min-height:48px; border-radius:14px; }
.zd-home-v2 .home-latest-section { padding-top:42px; }
.zd-home-v2 .home-latest-head { align-items:end; }
.zd-home-v2 .home-latest-head h2 { max-width:15ch; font-size:clamp(1.9rem,3vw,3rem); letter-spacing:-.03em; }
.zd-home-v2 .home-photo-wall { grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
.zd-home-v2 .home-photo-card { border-radius:18px; min-height:220px; overflow:hidden; box-shadow:none; border:1px solid rgba(22,76,59,.10); }
.zd-home-v2 .home-photo-card img { transition:transform .25s ease; }
.zd-home-v2 .home-photo-card:hover img { transform:scale(1.025); }
.zd-home-v2 .home-photo-caption { background:linear-gradient(180deg,transparent,rgba(7,31,24,.82)); padding:40px 12px 12px; }
.zd-home-v2 .zd-home-path { margin:20px auto 0; max-width:1180px; padding:0 24px 52px; }
.zd-home-v2 .zd-home-path-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.zd-home-v2 .zd-home-path-card { display:flex; gap:14px; align-items:flex-start; padding:20px; border:1px solid #dfe8e2; border-radius:20px; background:#fff; color:inherit; text-decoration:none; }
.zd-home-v2 .zd-home-path-card:hover { border-color:#8fb7a5; transform:translateY(-1px); }
.zd-home-v2 .zd-home-path-card .ui-icon { flex:0 0 auto; }
.zd-home-v2 .zd-home-path-card h3 { margin:0 0 5px; font-size:1.05rem; }
.zd-home-v2 .zd-home-path-card p { margin:0; color:#617069; font-size:.92rem; line-height:1.45; }
.zd-home-v2 .zd-home-compact { max-width:1180px; margin:0 auto; padding:48px 24px; }
.zd-home-v2 .zd-home-compact-head { display:flex; justify-content:space-between; gap:32px; align-items:end; margin-bottom:20px; }
.zd-home-v2 .zd-home-compact-head h2 { margin:.25rem 0 0; font-size:clamp(1.65rem,2.7vw,2.55rem); letter-spacing:-.025em; }
.zd-home-v2 .zd-home-compact-head p { max-width:560px; margin:0; color:#617069; }
.zd-home-v2 .zd-home-steps { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; counter-reset:step; }
.zd-home-v2 .zd-home-step { padding:18px; border-radius:18px; background:#f4f7f4; counter-increment:step; }
.zd-home-v2 .zd-home-step:before { content:"0" counter(step); display:block; margin-bottom:22px; color:#168253; font-weight:800; }
.zd-home-v2 .zd-home-step h3 { margin:0 0 6px; font-size:1rem; }
.zd-home-v2 .zd-home-step p { margin:0; color:#617069; font-size:.9rem; line-height:1.45; }
.zd-home-v2 .zd-home-bottom-cta { margin:0 24px 48px; padding:28px; border-radius:24px; background:#164c3b; color:#fff; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.zd-home-v2 .zd-home-bottom-cta h2 { margin:0 0 5px; color:#fff; }
.zd-home-v2 .zd-home-bottom-cta p { margin:0; color:rgba(255,255,255,.78); }
.zd-home-v2 .zd-home-bottom-cta .btn { background:#fff; color:#164c3b; border-color:#fff; white-space:nowrap; }
@media (max-width:900px){
 .zd-home-v2 .home-photo-wall{grid-template-columns:repeat(4,minmax(0,1fr));}
 .zd-home-v2 .zd-home-steps{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:700px){
 body.zd-home-v2{background:#fff;}
 .zd-home-v2 .page-shell{box-shadow:none;}
 .zd-home-v2 .home-hero-carousel{border-radius:0 0 22px 22px;}
 .zd-home-v2 .home-hero-scenario-title{font-size:clamp(2rem,10vw,3.15rem);max-width:12ch;}
 .zd-home-v2 .home-latest-section{padding-top:28px;}
 .zd-home-v2 .home-latest-head p{display:none;}
 .zd-home-v2 .home-photo-wall{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
 .zd-home-v2 .home-photo-card{min-height:190px;}
 .zd-home-v2 .home-photo-card:nth-child(n+7){display:none;}
 .zd-home-v2 .zd-home-path{padding:0 16px 36px;}
 .zd-home-v2 .zd-home-path-grid{grid-template-columns:1fr;}
 .zd-home-v2 .zd-home-path-card{padding:16px;border-radius:16px;}
 .zd-home-v2 .zd-home-compact{padding:36px 16px;}
 .zd-home-v2 .zd-home-compact-head{display:block;margin-bottom:16px;}
 .zd-home-v2 .zd-home-compact-head p{margin-top:8px;}
 .zd-home-v2 .zd-home-steps{grid-template-columns:1fr 1fr;gap:8px;}
 .zd-home-v2 .zd-home-step{padding:14px;border-radius:15px;}
 .zd-home-v2 .zd-home-step:before{margin-bottom:12px;}
 .zd-home-v2 .zd-home-bottom-cta{margin:0 16px 32px;padding:22px;display:block;}
 .zd-home-v2 .zd-home-bottom-cta .btn{margin-top:16px;width:100%;}
}

/* ZooDomik Design 2.0 — v0.1.71.1 accessibility + UX system */
.zd-home-v211 {
  --zd-green-900:#123d31;
  --zd-green-800:#164c3b;
  --zd-green-700:#1b624b;
  --zd-green-100:#e9f4ee;
  --zd-surface:#fffefa;
  --zd-surface-soft:#f5f8f5;
  --zd-text:#17352d;
  --zd-muted:#536a62;
  --zd-border:rgba(18,61,49,.16);
  --zd-focus:#0b6fd3;
  --zd-danger:#a33f2e;
  --zd-radius-sm:14px;
  --zd-radius-md:20px;
  --zd-radius-lg:28px;
  background:var(--zd-surface);
  color:var(--zd-text);
  font-size:16px;
  line-height:1.6;
  text-rendering:optimizeLegibility;
}
.zd-home-v211 .page-shell{max-width:none;box-shadow:none;background:transparent}
.zd-skip-link{position:fixed;top:10px;left:10px;z-index:9999;padding:.75rem 1rem;border-radius:10px;background:#fff;color:var(--zd-green-900);font-weight:800;box-shadow:0 8px 24px rgba(0,0,0,.2);transform:translateY(-150%)}
.zd-skip-link:focus{transform:none;outline:3px solid var(--zd-focus);outline-offset:3px}
.zd-home-v211 :where(a,button,input,select,textarea):focus-visible{outline:3px solid var(--zd-focus)!important;outline-offset:3px!important}
.zd-home-v211 .btn{min-height:48px;border-radius:14px;padding:.78rem 1.12rem;line-height:1.2}
.zd-home-v211 .site-header{background:rgba(255,254,250,.96);border-color:var(--zd-border)}
.zd-home-v211 .home-hero-carousel{border-radius:0;}
.zd-home-v211 .home-hero-content{width:min(1180px,calc(100% - 40px));padding-block:clamp(44px,5vw,72px)}
.zd-home-v211 .home-hero-copy-rail{width:min(610px,49vw)}
.zd-home-v211 .home-hero-scenario-title{max-width:14ch;font-size:clamp(2.35rem,4.6vw,4.45rem);font-weight:800;line-height:1.01;letter-spacing:-.035em;text-wrap:balance}
.zd-home-v211 .home-hero-panel .hero-copy{max-width:54ch;font-size:clamp(1rem,1.15vw,1.13rem);line-height:1.65}
.zd-home-v211 .home-hero-panel .btn{min-height:50px;border-width:1px;box-shadow:0 12px 28px rgba(0,0,0,.16)}
.zd-home-v211 .home-hero-dot{width:24px;height:24px;border:0;background:transparent;position:relative}
.zd-home-v211 .home-hero-dot::after{content:"";position:absolute;inset:7px;border:2px solid rgba(255,255,255,.9);border-radius:999px;background:rgba(255,255,255,.3)}
.zd-home-v211 .home-hero-dot.is-active{width:36px;background:transparent}
.zd-home-v211 .home-hero-dot.is-active::after{inset:7px 5px;background:#f26f50;border-color:#fff}
.zd-home-v211 .home-latest-section{padding-top:clamp(38px,5vw,64px);padding-bottom:clamp(34px,4vw,52px)}
.zd-home-v211 .home-latest-head{max-width:1180px;margin-inline:auto}
.zd-home-v211 .home-latest-head h2{max-width:18ch;font-size:clamp(1.85rem,3vw,2.75rem);line-height:1.08;letter-spacing:-.025em;text-wrap:balance}
.zd-home-v211 .home-latest-head p{max-width:54ch;color:var(--zd-muted);line-height:1.65}
.zd-home-v211 .home-photo-wall{max-width:1180px;margin-inline:auto;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.zd-home-v211 .home-photo-card{min-height:220px;border-radius:var(--zd-radius-sm);border:1px solid var(--zd-border);background:#eef3ef;box-shadow:none}
.zd-home-v211 .home-photo-card:hover{transform:translateY(-2px)}
.zd-home-v211 .home-photo-card:hover img{transform:scale(1.02)}
.zd-home-v211 .home-photo-caption{padding:46px 13px 13px;background:linear-gradient(180deg,transparent,rgba(7,31,24,.88))}
.zd-home-v211 .home-photo-caption strong{font-size:.9rem}.zd-home-v211 .home-photo-caption small{font-size:.8rem}
.zd-home-v211 .zd-home-search-action{justify-content:center;margin-top:22px}
.zd-home-v211 .zd-home-path{max-width:1180px;margin:0 auto;padding:clamp(44px,6vw,76px) 24px;border-top:1px solid var(--zd-border)}
.zd-home-v211 .zd-home-compact-head{align-items:start;margin-bottom:24px}
.zd-home-v211 .zd-home-compact-head h2{max-width:18ch;font-size:clamp(1.8rem,3vw,2.7rem);line-height:1.08;letter-spacing:-.025em;text-wrap:balance}
.zd-home-v211 .zd-home-compact-head>p{max-width:50ch;color:var(--zd-muted);line-height:1.65}
.zd-home-v211 .zd-home-path-grid{gap:16px}
.zd-home-v211 .zd-home-path-card{position:relative;min-height:164px;padding:22px;border:1px solid var(--zd-border);border-radius:var(--zd-radius-md);background:#fff;box-shadow:0 10px 30px rgba(18,61,49,.055);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.zd-home-v211 .zd-home-path-card::before{content:"";position:absolute;inset:0 auto 0 0;width:5px;border-radius:var(--zd-radius-md) 0 0 var(--zd-radius-md);background:var(--zd-green-700)}
.zd-home-v211 .zd-home-path-card--urgent::before{background:var(--zd-danger)}
.zd-home-v211 .zd-home-path-card--found::before{background:#166a8b}
.zd-home-v211 .zd-home-path-card--family::before{background:#6b5b9a}
.zd-home-v211 .zd-home-path-card:hover{transform:translateY(-2px);border-color:rgba(18,61,49,.34);box-shadow:0 16px 36px rgba(18,61,49,.09)}
.zd-home-v211 .zd-home-path-card h3{font-size:1.12rem;line-height:1.3}.zd-home-v211 .zd-home-path-card p{color:var(--zd-muted);line-height:1.55}
.zd-home-v211 .zd-home-how{max-width:none;padding:clamp(48px,6vw,78px) max(24px,calc((100% - 1180px)/2));background:var(--zd-surface-soft);border-block:1px solid var(--zd-border)}
.zd-home-v211 .zd-home-steps{gap:14px}
.zd-home-v211 .zd-home-step{min-height:190px;padding:22px;border:1px solid rgba(18,61,49,.09);border-radius:var(--zd-radius-md);background:#fff}
.zd-home-v211 .zd-home-step::before{margin-bottom:30px;color:var(--zd-green-700);font-size:.82rem;letter-spacing:.08em}
.zd-home-v211 .zd-home-step h3{font-size:1.04rem}.zd-home-v211 .zd-home-step p{color:var(--zd-muted);line-height:1.55}
.zd-home-v211 .zd-home-bottom-cta{max-width:1180px;margin:clamp(44px,6vw,76px) auto;padding:clamp(26px,4vw,42px);border-radius:var(--zd-radius-lg);background:var(--zd-green-900);box-shadow:0 20px 55px rgba(18,61,49,.16)}
.zd-home-v211 .zd-home-bottom-cta .kicker{color:#d8efe4}.zd-home-v211 .zd-home-bottom-cta h2{max-width:24ch;font-size:clamp(1.55rem,2.6vw,2.35rem);line-height:1.12}.zd-home-v211 .zd-home-bottom-cta p{max-width:58ch;line-height:1.6}
.zd-home-v211 .zd-home-bottom-cta .form-actions{flex-wrap:wrap;justify-content:flex-end}
.zd-home-v211 .zd-home-bottom-cta .btn{min-width:170px;background:#fff;color:var(--zd-green-900);border-color:#fff}
.zd-home-v211 .zd-home-bottom-cta .btn:last-child{background:transparent;color:#fff;border-color:rgba(255,255,255,.72)}
@media(max-width:900px){.zd-home-v211 .home-photo-wall{grid-template-columns:repeat(4,minmax(0,1fr))}.zd-home-v211 .zd-home-bottom-cta{margin-inline:24px}}
@media(max-width:700px){
 .zd-home-v211{font-size:16px}.zd-home-v211 .home-hero-stage{padding:28px 16px 24px}.zd-home-v211 .home-hero-heading{padding-inline:4px}.zd-home-v211 .home-hero-scenario-title{max-width:14ch;margin-inline:auto;font-size:clamp(2rem,9.6vw,3rem);line-height:1.04}.zd-home-v211 .home-hero-slides{margin-top:18px;border-radius:18px}.zd-home-v211 .home-hero-panels{padding-inline:2px}.zd-home-v211 .home-hero-panel .hero-copy{font-size:1rem;line-height:1.6}.zd-home-v211 .home-hero-panel .hero-actions{gap:10px}.zd-home-v211 .home-hero-panel .btn{width:100%;min-height:48px}.zd-home-v211 .home-hero-dots{margin-top:16px;justify-content:center}
 .zd-home-v211 .home-latest-section{padding:32px 16px 38px}.zd-home-v211 .home-latest-head h2{font-size:clamp(1.7rem,8vw,2.2rem)}.zd-home-v211 .home-latest-head p{display:block;font-size:.94rem}.zd-home-v211 .home-photo-wall{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.zd-home-v211 .home-photo-card{min-height:180px}.zd-home-v211 .home-photo-card:nth-child(n+7){display:none}
 .zd-home-v211 .zd-home-path{padding:40px 16px}.zd-home-v211 .zd-home-compact-head{display:block}.zd-home-v211 .zd-home-compact-head>p{margin-top:10px}.zd-home-v211 .zd-home-path-grid{grid-template-columns:1fr;gap:10px}.zd-home-v211 .zd-home-path-card{min-height:0;padding:17px 17px 17px 20px;border-radius:16px}
 .zd-home-v211 .zd-home-how{padding:40px 16px}.zd-home-v211 .zd-home-steps{grid-template-columns:1fr;gap:10px}.zd-home-v211 .zd-home-step{min-height:0;padding:18px}.zd-home-v211 .zd-home-step::before{margin-bottom:12px}
 .zd-home-v211 .zd-home-bottom-cta{margin:36px 16px;padding:24px;border-radius:20px}.zd-home-v211 .zd-home-bottom-cta .form-actions{display:grid;grid-template-columns:1fr;gap:10px}.zd-home-v211 .zd-home-bottom-cta .btn{width:100%;min-width:0;margin:0}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.zd-home-v211 *, .zd-home-v211 *::before,.zd-home-v211 *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
@media(prefers-contrast:more){.zd-home-v211{--zd-border:rgba(18,61,49,.4);--zd-muted:#334c43}.zd-home-v211 .zd-home-path-card,.zd-home-v211 .zd-home-step,.zd-home-v211 .home-photo-card{border-width:2px}}

/* ZooDomik Design 2.0 — v0.1.71.2 home refinement */
.zd-home-v212 .home-hero-stage{min-height:560px;height:min(760px,calc(100svh - var(--header-height)));}
.zd-home-v212 .home-hero-content{justify-content:center;}
.zd-home-v212 .home-hero-stage::after{background:linear-gradient(90deg,rgba(8,35,27,.90) 0%,rgba(8,35,27,.77) 22%,rgba(8,35,27,.48) 40%,rgba(8,35,27,.15) 57%,transparent 70%);}
.zd-home-v212 .home-hero-scenario-title{font-size:clamp(2.45rem,4.25vw,4.15rem);line-height:1.03;}
.zd-home-v212 .home-hero-panel .hero-copy{font-size:clamp(1rem,1.05vw,1.1rem);}
.zd-home-v212 .home-hero-panel .btn:first-child{background:#fff;color:var(--zd-green-900);border-color:#fff;}
.zd-home-v212 .home-hero-panel .btn:first-child:hover{background:#f3f7f4;}
.zd-home-orientation{width:min(1180px,calc(100% - 48px));margin:0 auto;padding:22px 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid var(--zd-border);}
.zd-home-orientation-item{padding:4px 28px;border-right:1px solid var(--zd-border);}
.zd-home-orientation-item:first-child{padding-left:0}.zd-home-orientation-item:last-child{padding-right:0;border-right:0}
.zd-home-orientation-item strong{display:block;color:var(--zd-green-900);font-size:.96rem;line-height:1.3;margin-bottom:5px}
.zd-home-orientation-item span{display:block;color:var(--zd-muted);font-size:.88rem;line-height:1.5}
.zd-home-v212 .home-latest-section{padding-top:clamp(34px,4.4vw,54px)}
.zd-home-v212 .home-photo-card{aspect-ratio:4/5;min-height:0;overflow:hidden}
.zd-home-v212 .home-photo-card img{width:100%;height:100%;object-fit:cover}
.zd-home-v212 .home-photo-caption strong{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.94);color:var(--zd-green-900);font-size:.78rem;line-height:1.2;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.zd-home-v212 .home-photo-caption small{margin-top:6px;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.65)}
.zd-home-v212 .zd-home-path-card svg{flex:0 0 auto;width:28px;height:28px}
.zd-home-v212 .zd-home-path-card{align-items:flex-start}
.zd-home-v212 .zd-home-path-card h3{margin-top:1px}
.zd-home-v212 .zd-home-step{position:relative;padding-top:24px}
.zd-home-v212 .zd-home-step p{font-size:.94rem}
.zd-home-v212 .zd-home-bottom-cta .zd-home-cta-primary{background:#fff;color:var(--zd-green-900);border-color:#fff;font-weight:800}
.zd-home-v212 .zd-home-bottom-cta .zd-home-cta-secondary{background:transparent;color:#fff;border-color:rgba(255,255,255,.72)}
@media(min-width:901px){.zd-home-v212 .home-photo-card:nth-child(n+11){display:none}}
@media(max-width:900px){.zd-home-orientation{width:calc(100% - 32px);grid-template-columns:1fr;padding:10px 0 18px}.zd-home-orientation-item,.zd-home-orientation-item:first-child,.zd-home-orientation-item:last-child{padding:12px 0;border-right:0;border-bottom:1px solid var(--zd-border)}.zd-home-orientation-item:last-child{border-bottom:0}}
@media(max-width:700px){
 .zd-home-v212 .home-hero-stage{height:auto;min-height:0;padding-top:24px}
 .zd-home-v212 .home-hero-scenario-title{font-size:clamp(1.9rem,9vw,2.75rem);max-width:15ch}
 .zd-home-v212 .home-hero-slides{aspect-ratio:4/3;min-height:0}
 .zd-home-v212 .home-hero-panel .hero-copy{font-size:.96rem}
 .zd-home-v212 .home-latest-section{padding-top:26px}
 .zd-home-v212 .home-photo-card{aspect-ratio:4/5;min-height:0}
 .zd-home-v212 .home-photo-caption{padding:42px 9px 9px}
 .zd-home-v212 .home-photo-caption strong{font-size:.72rem;padding:4px 6px}
 .zd-home-v212 .home-photo-caption small{font-size:.75rem}
}
@media(max-width:360px){.zd-home-v212 .home-photo-wall{grid-template-columns:1fr 1fr;gap:8px}.zd-home-v212 .home-photo-caption small{display:none}.zd-home-v212 .zd-home-path-card{padding-right:14px}}

/* ZooDomik Design 2.0 — v0.1.71.3 task-first home */
.zd-home-v213 .zd-task-hero{position:relative;isolation:isolate;min-height:610px;display:grid;align-items:center;overflow:hidden;background:#123d31;color:#fff}
.zd-home-v213 .zd-task-hero__media,.zd-home-v213 .zd-task-hero__overlay{position:absolute;inset:0;z-index:-2}.zd-home-v213 .zd-task-hero__media picture,.zd-home-v213 .zd-task-hero__media img{display:block;width:100%;height:100%}.zd-home-v213 .zd-task-hero__media img{object-fit:cover;object-position:center}
.zd-home-v213 .zd-task-hero__overlay{z-index:-1;background:linear-gradient(90deg,rgba(8,35,27,.96) 0%,rgba(8,35,27,.90) 40%,rgba(8,35,27,.58) 67%,rgba(8,35,27,.30) 100%)}
.zd-home-v213 .zd-task-hero__content{width:min(1180px,calc(100% - 48px));margin:auto;padding:56px 0;display:grid;grid-template-columns:minmax(280px,.8fr) minmax(420px,1.2fr);gap:clamp(32px,5vw,72px);align-items:center}
.zd-home-v213 .zd-task-hero__intro{max-width:510px}.zd-home-v213 .zd-task-hero__intro .eyebrow{color:#d9eee6}.zd-home-v213 .zd-task-hero__intro h1{margin:.35rem 0 .8rem;font-size:clamp(2.7rem,5.2vw,5rem);line-height:.98;letter-spacing:-.045em;text-wrap:balance}.zd-home-v213 .zd-task-hero__intro p{margin:0;max-width:42ch;font-size:clamp(1rem,1.2vw,1.15rem);line-height:1.65;color:#edf7f2}
.zd-home-v213 .zd-task-actions{display:grid;gap:10px}.zd-home-v213 .zd-task-action{display:grid;grid-template-columns:48px 1fr auto;gap:14px;align-items:center;min-height:86px;padding:14px 16px;border:1px solid rgba(255,255,255,.28);border-radius:18px;background:rgba(255,255,255,.94);color:#123d31;text-decoration:none;box-shadow:0 12px 34px rgba(0,0,0,.12);transition:transform .16s ease,box-shadow .16s ease,background .16s ease}.zd-home-v213 .zd-task-action:hover{transform:translateY(-2px);background:#fff;box-shadow:0 18px 38px rgba(0,0,0,.18)}.zd-home-v213 .zd-task-action:focus-visible{outline:3px solid #fff;outline-offset:3px}.zd-home-v213 .zd-task-action__icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#e7f1ec}.zd-home-v213 .zd-task-action__icon svg{width:24px;height:24px}.zd-home-v213 .zd-task-action strong,.zd-home-v213 .zd-task-action small{display:block}.zd-home-v213 .zd-task-action strong{font-size:1.04rem;line-height:1.25}.zd-home-v213 .zd-task-action small{margin-top:4px;color:#52675f;font-size:.88rem;line-height:1.35}.zd-home-v213 .zd-task-action__arrow{font-size:1.45rem;font-weight:800}.zd-home-v213 .zd-task-action--lost .zd-task-action__icon{background:#fbe9e7;color:#8d2d23}.zd-home-v213 .zd-task-action--found .zd-task-action__icon{background:#e4f1f6;color:#155e79}.zd-home-v213 .zd-task-action--family .zd-task-action__icon{background:#eeeaf8;color:#5d4b8a}
.zd-home-v213 .zd-task-hero__search{grid-column:2;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:2px;padding:12px 4px;color:#eef7f3}.zd-home-v213 .zd-task-hero__search .btn{min-height:44px;background:transparent;color:#fff;border-color:rgba(255,255,255,.65)}
.zd-home-v213 .home-latest-section{padding-top:clamp(38px,5vw,64px)}.zd-home-v213 .home-latest-head .kicker{color:#52675f}.zd-home-v213 .home-latest-head h2{max-width:20ch}.zd-home-v213 .home-photo-card{border-radius:16px}.zd-home-v213 .zd-home-how{margin-top:0}.zd-home-v213 .zd-home-bottom-cta{margin-top:48px}
@media(max-width:900px){.zd-home-v213 .zd-task-hero__content{grid-template-columns:1fr;gap:24px}.zd-home-v213 .zd-task-hero__intro{max-width:650px}.zd-home-v213 .zd-task-hero__search{grid-column:1}}
@media(max-width:700px){.zd-home-v213 .zd-task-hero{min-height:0}.zd-home-v213 .zd-task-hero__overlay{background:linear-gradient(180deg,rgba(8,35,27,.90),rgba(8,35,27,.96))}.zd-home-v213 .zd-task-hero__content{width:calc(100% - 32px);padding:32px 0 28px;gap:20px}.zd-home-v213 .zd-task-hero__intro{text-align:left}.zd-home-v213 .zd-task-hero__intro h1{font-size:clamp(2.35rem,12vw,3.25rem)}.zd-home-v213 .zd-task-hero__intro p{font-size:.96rem}.zd-home-v213 .zd-task-action{grid-template-columns:44px 1fr auto;min-height:76px;padding:12px;border-radius:15px}.zd-home-v213 .zd-task-action__icon{width:44px;height:44px;border-radius:12px}.zd-home-v213 .zd-task-action strong{font-size:.98rem}.zd-home-v213 .zd-task-action small{font-size:.82rem}.zd-home-v213 .zd-task-hero__search{display:grid;grid-template-columns:1fr;gap:9px;padding:4px 0 0}.zd-home-v213 .zd-task-hero__search .btn{width:100%;min-height:48px}.zd-home-v213 .home-latest-section{padding-top:32px}}
@media(max-width:360px){.zd-home-v213 .zd-task-action{grid-template-columns:40px 1fr}.zd-home-v213 .zd-task-action__icon{width:40px;height:40px}.zd-home-v213 .zd-task-action__arrow{display:none}}

/* ZooDomik Design 2.0 — v0.1.71.4 visual quality + user-first refinement */
.zd-home-v214{
  --zd-brand:#164c3b;
  --zd-brand-strong:#103c2f;
  --zd-brand-soft:#eaf3ef;
  --zd-text:#17231f;
  --zd-muted:#56675f;
  --zd-surface:#fff;
  --zd-line:#dce6e1;
  --zd-lost:#9a3d35;
  --zd-lost-bg:#f8ecea;
  --zd-found:#21657b;
  --zd-found-bg:#eaf3f6;
  --zd-family:#67548e;
  --zd-family-bg:#f0edf7;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Arial,sans-serif;
  color:var(--zd-text);
}
.zd-home-v214 .zd-task-hero{min-height:520px;background:var(--zd-brand-strong)}
.zd-home-v214 .zd-task-hero__overlay{background:linear-gradient(90deg,rgba(7,31,24,.95) 0%,rgba(7,31,24,.86) 44%,rgba(7,31,24,.46) 72%,rgba(7,31,24,.24) 100%)}
.zd-home-v214 .zd-task-hero__content{padding:48px 0;grid-template-columns:minmax(300px,.92fr) minmax(430px,1.08fr);gap:clamp(34px,5vw,68px)}
.zd-home-v214 .zd-task-hero__intro{max-width:560px}
.zd-home-v214 .zd-task-hero__intro .eyebrow{font-size:.78rem;font-weight:800;letter-spacing:.075em;text-transform:uppercase;color:#d5ebe2}
.zd-home-v214 .zd-task-hero__intro h1{max-width:12ch;margin:.55rem 0 1rem;font-size:clamp(2.35rem,4.4vw,4.25rem);line-height:1.02;letter-spacing:-.035em}
.zd-home-v214 .zd-task-hero__intro p{max-width:43ch;font-size:clamp(1rem,1.1vw,1.1rem);line-height:1.6;color:#edf5f2}
.zd-home-v214 .zd-task-actions{gap:12px}
.zd-home-v214 .zd-task-action{grid-template-columns:52px 1fr 26px;min-height:84px;padding:14px 17px;border:1px solid rgba(255,255,255,.7);border-radius:17px;background:rgba(255,255,255,.97);box-shadow:0 10px 26px rgba(5,24,18,.16);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.zd-home-v214 .zd-task-action:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(5,24,18,.20);border-color:#fff}
.zd-home-v214 .zd-task-action__icon{width:50px;height:50px;border-radius:14px;border:1px solid currentColor;background:transparent!important}
.zd-home-v214 .zd-task-action__icon svg{width:25px;height:25px;stroke-width:1.8}
.zd-home-v214 .zd-task-action--lost .zd-task-action__icon{color:var(--zd-lost);background:var(--zd-lost-bg)!important;border-color:#efd2ce}
.zd-home-v214 .zd-task-action--found .zd-task-action__icon{color:var(--zd-found);background:var(--zd-found-bg)!important;border-color:#cfe4eb}
.zd-home-v214 .zd-task-action--family .zd-task-action__icon{color:var(--zd-family);background:var(--zd-family-bg)!important;border-color:#ddd5ed}
.zd-home-v214 .zd-task-action strong{font-size:1.03rem;font-weight:760;letter-spacing:-.01em;color:var(--zd-text)}
.zd-home-v214 .zd-task-action small{margin-top:3px;font-size:.86rem;line-height:1.4;color:var(--zd-muted)}
.zd-home-v214 .zd-task-action__arrow{display:grid;place-items:center;width:26px;height:26px;color:#557067;transform:rotate(90deg)}
.zd-home-v214 .zd-task-action__arrow svg{width:18px;height:18px}
.zd-home-v214 .zd-task-hero__search{padding:10px 2px 0;color:#f3f8f6}
.zd-home-v214 .zd-task-hero__search>span{display:grid;gap:2px}
.zd-home-v214 .zd-task-hero__search strong{font-size:.92rem}.zd-home-v214 .zd-task-hero__search small{font-size:.78rem;color:#cfe0da}
.zd-home-v214 .zd-task-hero__search .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding-inline:17px;border-radius:12px;font-weight:750}
.zd-home-v214 .zd-task-hero__search .btn:hover{background:#fff;color:var(--zd-brand-strong)}
.zd-home-v214 .home-latest-section{padding-top:52px}
.zd-home-v214 .home-latest-head h2{max-width:23ch;font-size:clamp(1.8rem,3vw,2.65rem);letter-spacing:-.025em;line-height:1.08}
.zd-home-v214 .home-latest-head p{max-width:48ch;color:var(--zd-muted);line-height:1.6}
.zd-home-v214 .home-photo-wall{gap:14px}
.zd-home-v214 .home-photo-card{border-radius:18px;border:1px solid var(--zd-line);box-shadow:0 5px 18px rgba(18,61,49,.08);transition:transform .16s ease,box-shadow .16s ease}
.zd-home-v214 .home-photo-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(18,61,49,.13)}
.zd-home-v214 .home-photo-caption{background:linear-gradient(180deg,transparent 0%,rgba(8,24,18,.82) 100%)}
.zd-home-v214 .home-photo-caption strong{border:1px solid rgba(255,255,255,.68);box-shadow:none;font-weight:750}
.zd-home-v214 .zd-home-search-action .btn{display:inline-flex;align-items:center;gap:8px}
.zd-home-v214 .zd-home-how{padding-top:52px;padding-bottom:52px}
.zd-home-v214 .zd-home-step{border-color:var(--zd-line);box-shadow:none}
.zd-home-v214 .zd-home-step h3{letter-spacing:-.01em}.zd-home-v214 .zd-home-step p{color:var(--zd-muted);line-height:1.55}
.zd-home-v214 .zd-home-bottom-cta{border-radius:22px;background:linear-gradient(135deg,var(--zd-brand-strong),#1b5a46);box-shadow:0 16px 40px rgba(16,60,47,.15)}
.zd-home-v214 .btn:focus-visible,.zd-home-v214 a:focus-visible{outline:3px solid #f3b640;outline-offset:3px}
@media(max-width:900px){.zd-home-v214 .zd-task-hero__content{grid-template-columns:1fr;padding:40px 0}.zd-home-v214 .zd-task-hero__intro h1{max-width:15ch}.zd-home-v214 .zd-task-hero__search{grid-column:1}}
@media(max-width:700px){
 .zd-home-v214 .zd-task-hero__content{padding:28px 0 26px;gap:18px}.zd-home-v214 .zd-task-hero__intro .eyebrow{font-size:.72rem}.zd-home-v214 .zd-task-hero__intro h1{max-width:13ch;margin:.4rem 0 .7rem;font-size:clamp(2rem,10vw,2.75rem);line-height:1.04}.zd-home-v214 .zd-task-hero__intro p{font-size:.94rem;line-height:1.5}
 .zd-home-v214 .zd-task-actions{gap:9px}.zd-home-v214 .zd-task-action{grid-template-columns:46px 1fr 22px;min-height:72px;padding:11px 12px;border-radius:14px}.zd-home-v214 .zd-task-action__icon{width:44px;height:44px;border-radius:12px}.zd-home-v214 .zd-task-action__icon svg{width:22px;height:22px}.zd-home-v214 .zd-task-action strong{font-size:.96rem}.zd-home-v214 .zd-task-action small{font-size:.79rem}
 .zd-home-v214 .zd-task-hero__search{align-items:stretch;gap:10px;padding-top:4px}.zd-home-v214 .zd-task-hero__search>span{display:none}.zd-home-v214 .zd-task-hero__search .btn{width:100%;min-height:48px;background:rgba(255,255,255,.08)}
 .zd-home-v214 .home-latest-section{padding-top:34px}.zd-home-v214 .home-latest-head h2{font-size:1.75rem}.zd-home-v214 .home-photo-wall{gap:9px}.zd-home-v214 .home-photo-card{border-radius:13px}.zd-home-v214 .zd-home-how{padding-top:38px;padding-bottom:38px}.zd-home-v214 .zd-home-bottom-cta{border-radius:18px}
}
@media(max-width:360px){.zd-home-v214 .zd-task-action{grid-template-columns:42px 1fr}.zd-home-v214 .zd-task-action__arrow{display:none}.zd-home-v214 .zd-task-action small{font-size:.77rem}}

/* ZooDomik Design 2.0 — v0.1.71.5 visual correction after rendered-page review */
.zd-home-v215{
  --zd-brand:#155743;
  --zd-brand-dark:#0e3f31;
  --zd-text:#17231f;
  --zd-muted:#5a6c64;
  --zd-line:#d8e3dd;
  --zd-surface-soft:#f5f8f6;
  font-family:Inter,"Noto Sans","Segoe UI",Roboto,Arial,sans-serif;
  color:var(--zd-text);
}
/* Home should end where its content ends; don't stretch a decorative void before support/footer. */
.zd-home-v215 .page-shell>main{flex:0 0 auto}

/* Hero: readable first, decorative second. */
.zd-home-v215 .zd-task-hero{min-height:500px;background:var(--zd-brand-dark)}
.zd-home-v215 .zd-task-hero__overlay{background:linear-gradient(90deg,rgba(5,28,21,.92) 0%,rgba(5,28,21,.82) 45%,rgba(5,28,21,.48) 72%,rgba(5,28,21,.28) 100%)}
.zd-home-v215 .zd-task-hero__content{width:min(1120px,calc(100% - 48px));grid-template-columns:minmax(320px,.9fr) minmax(430px,1.1fr);gap:clamp(36px,5vw,64px);padding:46px 0}
.zd-home-v215 .zd-task-hero__intro .eyebrow{padding:0;border:0;border-radius:0;background:transparent;color:#d9ebe4;font-size:.76rem;font-weight:750;letter-spacing:.09em;text-transform:uppercase}
.zd-home-v215 .zd-task-hero__intro .eyebrow::before{display:none}
.zd-home-v215 .zd-task-hero__intro h1{max-width:12ch;color:#fff!important;font-size:clamp(2.45rem,4.2vw,4.05rem);font-weight:780;line-height:1.02;letter-spacing:-.035em;text-shadow:0 2px 18px rgba(0,0,0,.16)}
.zd-home-v215 .zd-task-hero__intro p{color:#f1f6f4;font-size:1.02rem;line-height:1.55}

/* Scenario cards: one icon language, no nested icon boxes. */
.zd-home-v215 .zd-task-action{grid-template-columns:46px minmax(0,1fr) 20px;min-height:78px;padding:13px 16px;border-color:rgba(255,255,255,.58);border-radius:16px;box-shadow:0 8px 22px rgba(4,25,18,.14)}
.zd-home-v215 .zd-task-action__icon{width:42px;height:42px;border:0;border-radius:12px;background:#edf5f1!important}
.zd-home-v215 .zd-task-action--lost .zd-task-action__icon{background:#f8ecea!important;color:#913d35}
.zd-home-v215 .zd-task-action--found .zd-task-action__icon{background:#e9f3f6!important;color:#1e6076}
.zd-home-v215 .zd-task-action--family .zd-task-action__icon{background:#f0edf7!important;color:#64518a}
.zd-home-v215 .zd-task-glyph{display:block;width:21px;height:21px;padding:0;border:0;border-radius:0;background:none;fill:none;color:currentColor}
.zd-home-v215 .zd-task-action__arrow{width:20px;height:20px;color:#6c7e76;transform:rotate(90deg)}
.zd-home-v215 .zd-task-arrow-icon{display:block;width:17px;height:17px;padding:0;border:0;background:none;color:currentColor}
.zd-home-v215 .zd-task-action strong{font-size:1rem;font-weight:720;letter-spacing:0}
.zd-home-v215 .zd-task-action small{font-size:.84rem;color:#5c6d65}

/* Button glyphs are glyphs, not a second button inside the button. */
.zd-home-v215 .zd-btn-glyph{display:block;width:20px;height:20px;flex:0 0 20px;padding:0;border:0;border-radius:0;background:none;color:currentColor}
.zd-home-v215 .zd-task-hero__search .btn,.zd-home-v215 .zd-home-search-action .btn{gap:9px;font-weight:700}

/* Content rhythm and typography. */
.zd-home-v215 .home-latest-section{width:min(1120px,calc(100% - 48px));padding:48px 0 50px}
.zd-home-v215 .home-latest-head{grid-template-columns:minmax(0,.9fr) minmax(300px,.55fr);gap:48px;margin-bottom:22px}
.zd-home-v215 .home-latest-head .kicker,.zd-home-v215 .zd-home-how .kicker{color:#5d756b;font-size:.76rem;letter-spacing:.09em}
.zd-home-v215 .home-latest-head h2,.zd-home-v215 .zd-home-how h2{color:var(--zd-brand-dark);font-weight:760;letter-spacing:-.025em}
.zd-home-v215 .home-photo-wall{max-width:none;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.zd-home-v215 .home-photo-card{min-height:210px;border-radius:16px;box-shadow:0 4px 14px rgba(18,61,49,.07)}
.zd-home-v215 .zd-home-search-action{margin-top:20px}
.zd-home-v215 .zd-home-search-action .btn{min-height:46px;padding-inline:18px;border-radius:13px}

/* How it works: informative, not four oversized decorative tiles. */
.zd-home-v215 .zd-home-how{padding:48px max(24px,calc((100% - 1120px)/2));background:#f5f8f6}
.zd-home-v215 .zd-home-compact-head{gap:48px;margin-bottom:22px}
.zd-home-v215 .zd-home-steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.zd-home-v215 .zd-home-step{min-height:154px;padding:18px;border-radius:16px;background:#fff}
.zd-home-v215 .zd-home-step::before{margin-bottom:18px;font-size:.76rem}
.zd-home-v215 .zd-home-step h3{font-size:1rem;font-weight:720;color:var(--zd-text)}
.zd-home-v215 .zd-home-step p{font-size:.9rem;line-height:1.5}

.zd-home-v215 .zd-home-bottom-cta{width:min(1120px,calc(100% - 48px));margin:42px auto 34px;padding:28px 30px;border-radius:20px;background:var(--zd-brand-dark);box-shadow:none}
.zd-home-v215 .zd-home-bottom-cta h2{font-weight:760}

/* Support panel icon: remove the accidental icon-inside-icon rendering. */
.zd-home-v215~* .support-glyph,.zd-home-v215 .support-glyph{display:block;width:24px;height:24px;padding:0;border:0;border-radius:0;background:none;color:var(--zd-brand)}
body.zd-home-v215 .tech-support-panel{margin-top:28px!important;margin-bottom:0!important}
body.zd-home-v215 .tech-support-inner{border-radius:18px;box-shadow:none}
body.zd-home-v215 .tech-support-icon{width:46px;height:46px;border-radius:13px;background:#edf5f1;color:var(--zd-brand)}
body.zd-home-v215 .tech-support-icon .support-glyph{width:22px;height:22px}

/* Footer artwork should support the page, not dominate it. */
@media(min-width:761px){body.zd-home-v215 .footer-pets-strip{max-height:330px;overflow:hidden}body.zd-home-v215 .footer-pets-strip img{height:330px!important;object-fit:cover;object-position:center bottom}}

@media(max-width:900px){
 .zd-home-v215 .zd-task-hero__content{grid-template-columns:1fr;width:min(680px,calc(100% - 40px));gap:24px}
 .zd-home-v215 .home-latest-section{width:min(680px,calc(100% - 40px))}
}
@media(max-width:700px){
 .zd-home-v215 .zd-task-hero__overlay{background:linear-gradient(180deg,rgba(6,31,24,.72) 0%,rgba(6,31,24,.91) 42%,rgba(6,31,24,.97) 100%)}
 .zd-home-v215 .zd-task-hero__content{width:calc(100% - 32px);padding:26px 0 24px;gap:17px}
 .zd-home-v215 .zd-task-hero__intro .eyebrow{font-size:.7rem}
 .zd-home-v215 .zd-task-hero__intro h1{max-width:15ch;margin:.45rem 0 .65rem;font-size:clamp(2rem,9.2vw,2.55rem);line-height:1.05}
 .zd-home-v215 .zd-task-hero__intro p{font-size:.94rem;line-height:1.5}
 .zd-home-v215 .zd-task-actions{gap:8px}
 .zd-home-v215 .zd-task-action{grid-template-columns:42px minmax(0,1fr) 18px;min-height:70px;padding:10px 12px;border-radius:14px}
 .zd-home-v215 .zd-task-action__icon{width:40px;height:40px;border-radius:11px}.zd-home-v215 .zd-task-glyph{width:20px;height:20px}
 .zd-home-v215 .zd-task-action strong{font-size:.95rem}.zd-home-v215 .zd-task-action small{font-size:.79rem;margin-top:2px}
 .zd-home-v215 .zd-task-hero__search{padding-top:2px}.zd-home-v215 .zd-task-hero__search .btn{border-radius:13px}
 .zd-home-v215 .home-latest-section{width:auto;padding:32px 16px 36px}
 .zd-home-v215 .home-latest-head{display:block;margin-bottom:18px}.zd-home-v215 .home-latest-head p{margin-top:12px;font-size:.92rem;line-height:1.55}
 .zd-home-v215 .home-latest-head h2{max-width:16ch;font-size:1.72rem;line-height:1.08}
 .zd-home-v215 .home-photo-wall{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.zd-home-v215 .home-photo-card{min-height:170px;border-radius:13px}
 .zd-home-v215 .zd-home-how{padding:34px 16px}.zd-home-v215 .zd-home-compact-head{margin-bottom:18px}.zd-home-v215 .zd-home-compact-head>p{font-size:.92rem}
 .zd-home-v215 .zd-home-steps{display:grid;grid-template-columns:1fr;gap:0;border-top:1px solid var(--zd-line)}
 .zd-home-v215 .zd-home-step{position:relative;display:grid;grid-template-columns:36px 1fr;column-gap:10px;min-height:0;padding:16px 0;border:0;border-bottom:1px solid var(--zd-line);border-radius:0;background:transparent}
 .zd-home-v215 .zd-home-step::before{grid-row:1/3;margin:1px 0 0;font-size:.74rem}.zd-home-v215 .zd-home-step h3{grid-column:2;margin:0 0 3px}.zd-home-v215 .zd-home-step p{grid-column:2;font-size:.88rem}
 .zd-home-v215 .zd-home-bottom-cta{width:auto;margin:28px 16px 24px;padding:22px 18px;border-radius:18px}
 body.zd-home-v215 .tech-support-panel{margin-top:20px!important}
 body.zd-home-v215 .tech-support-inner{grid-template-columns:44px 1fr;padding:16px;border-radius:16px}
 body.zd-home-v215 .tech-support-inner>.btn{grid-column:1/-1;width:100%;margin-top:4px}
 body.zd-home-v215 .tech-support-icon{width:42px;height:42px}
}

/* ZooDomik Design 2.0 — v0.1.71.6 responsive composition refinement */
.zd-home-v216{
  --zd-content:1120px;
  --zd-radius:16px;
  --zd-space-section:44px;
}

/* Latest profiles: keep real cards prominent without creating an empty exhibition hall. */
.zd-home-v216 .home-latest-section{padding-top:42px;padding-bottom:42px}
.zd-home-v216 .home-latest-head{align-items:end;margin-bottom:20px}
.zd-home-v216 .home-latest-head h2{max-width:18ch;font-size:clamp(2rem,3vw,2.65rem);line-height:1.05}
.zd-home-v216 .home-latest-head p{max-width:46ch;margin:0;color:var(--zd-muted);font-size:.96rem;line-height:1.55}
.zd-home-v216 .home-photo-wall{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,210px));justify-content:start;gap:14px}
.zd-home-v216 .home-photo-card{width:100%;min-height:0;aspect-ratio:4/5}
.zd-home-v216 .home-photo-caption{padding:12px}
.zd-home-v216 .zd-home-search-action{justify-content:flex-start;margin-top:18px}

/* How it works: compact reference strip, not the visual centre of the page. */
.zd-home-v216 .zd-home-how{padding-top:40px;padding-bottom:40px}
.zd-home-v216 .zd-home-compact-head{align-items:end;margin-bottom:18px}
.zd-home-v216 .zd-home-compact-head h2{font-size:clamp(2rem,3vw,2.55rem);line-height:1.04}
.zd-home-v216 .zd-home-compact-head>p{max-width:48ch;color:var(--zd-muted);font-size:.94rem;line-height:1.55}
.zd-home-v216 .zd-home-step{min-height:138px;padding:16px}
.zd-home-v216 .zd-home-step::before{margin-bottom:14px}

/* Final CTA: actions remain visible, but the block no longer feels like a second hero. */
.zd-home-v216 .zd-home-bottom-cta{margin-top:34px;margin-bottom:28px;padding:24px 28px;gap:28px}
.zd-home-v216 .zd-home-bottom-cta h2{max-width:22ch;font-size:clamp(1.65rem,2.5vw,2.15rem);line-height:1.08}
.zd-home-v216 .zd-home-bottom-cta p{max-width:56ch;line-height:1.5}
.zd-home-v216 .zd-home-bottom-cta .form-actions{flex-wrap:nowrap}

/* Footer artwork is a transition, not another hero image. */
@media(min-width:761px){
 body.zd-home-v216 .footer-pets-strip{height:210px!important;max-height:210px!important}
 body.zd-home-v216 .footer-pets-strip picture,
 body.zd-home-v216 .footer-pets-strip img{height:210px!important;min-height:210px!important;object-fit:cover!important;object-position:center bottom!important}
 body.zd-home-v216 .footer-inner-rich{padding-top:26px}
}

/* Tablet */
@media(max-width:900px) and (min-width:701px){
 .zd-home-v216 .home-photo-wall{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}
 .zd-home-v216 .zd-home-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
 .zd-home-v216 .zd-home-step{min-height:132px}
}

/* Mobile is designed as its own reading flow. */
@media(max-width:700px){
 .zd-home-v216 .zd-task-hero__content{padding-top:24px;padding-bottom:22px}
 .zd-home-v216 .zd-task-hero__intro h1{font-size:clamp(2rem,9vw,2.45rem);max-width:14ch}
 .zd-home-v216 .zd-task-action{min-height:68px}

 .zd-home-v216 .home-latest-section{padding:28px 16px 30px}
 .zd-home-v216 .home-latest-head{margin-bottom:16px}
 .zd-home-v216 .home-latest-head h2{max-width:15ch;font-size:1.7rem}
 .zd-home-v216 .home-latest-head p{font-size:.9rem}
 .zd-home-v216 .home-photo-wall{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .zd-home-v216 .home-photo-card{aspect-ratio:4/5}
 .zd-home-v216 .home-photo-card:only-child{max-width:210px}
 .zd-home-v216 .zd-home-search-action{margin-top:16px}
 .zd-home-v216 .zd-home-search-action .btn{width:100%}

 .zd-home-v216 .zd-home-how{padding:30px 16px}
 .zd-home-v216 .zd-home-compact-head{margin-bottom:14px}
 .zd-home-v216 .zd-home-compact-head h2{font-size:1.72rem;max-width:13ch}
 .zd-home-v216 .zd-home-compact-head>p{font-size:.89rem;line-height:1.5}
 .zd-home-v216 .zd-home-step{grid-template-columns:34px 1fr;padding:13px 0}
 .zd-home-v216 .zd-home-step h3{font-size:.96rem}
 .zd-home-v216 .zd-home-step p{font-size:.84rem;line-height:1.45}

 .zd-home-v216 .zd-home-bottom-cta{margin:22px 16px 20px;padding:20px 18px;gap:16px}
 .zd-home-v216 .zd-home-bottom-cta h2{font-size:1.55rem}
 .zd-home-v216 .zd-home-bottom-cta p{font-size:.9rem}
 .zd-home-v216 .zd-home-bottom-cta .form-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}
 .zd-home-v216 .zd-home-bottom-cta .btn{min-width:0;padding-inline:10px;font-size:.9rem}

 body.zd-home-v216 .tech-support-panel{width:auto;margin:18px 16px 0!important}
 body.zd-home-v216 .tech-support-inner{grid-template-columns:40px 1fr;gap:10px;padding:14px}
 body.zd-home-v216 .tech-support-inner p{font-size:.86rem;line-height:1.45}
 body.zd-home-v216 .tech-support-inner>.btn{min-height:44px}
 body.zd-home-v216 .footer-pets-strip{height:128px!important;max-height:128px!important;overflow:hidden}
 body.zd-home-v216 .footer-pets-strip picture,
 body.zd-home-v216 .footer-pets-strip img{height:128px!important;min-height:128px!important;object-fit:cover!important;object-position:center bottom!important}
 body.zd-home-v216 .footer-inner-rich{gap:18px;padding-top:20px}
 body.zd-home-v216 .footer-brand-line{display:grid;gap:8px}
 body.zd-home-v216 .footer-brand-line p{font-size:.86rem;line-height:1.45}
 body.zd-home-v216 .footer-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 18px}
 body.zd-home-v216 .footer-link-group{gap:7px}
 body.zd-home-v216 .footer-link-group strong{font-size:.76rem;line-height:1.3}
 body.zd-home-v216 .footer-link-group a{font-size:.82rem;line-height:1.35}
 body.zd-home-v216 .footer-bottom-line{gap:8px;font-size:.78rem;line-height:1.4}

 /* Keep our floating controls away from the reCAPTCHA badge on narrow screens. */
 body.zd-home-v216 .floating-actions{left:16px!important;right:auto!important;bottom:18px!important;gap:8px}
 body.zd-home-v216 .floating-action{width:46px;height:46px}
}

@media(max-width:380px){
 .zd-home-v216 .zd-home-bottom-cta .form-actions{grid-template-columns:1fr}
 body.zd-home-v216 .footer-links{grid-template-columns:1fr 1fr;gap:20px 14px}
}

/* ZooDomik Design 2.0 — v0.1.71.7 focused home corrections */
.zd-home-v217 .home-latest-section{padding-block:38px}
.zd-home-v217 .home-photo-wall:has(.home-photo-card:only-child){grid-template-columns:minmax(240px,300px);}
.zd-home-v217 .home-photo-wall:has(.home-photo-card:only-child) .home-photo-card{max-width:300px;aspect-ratio:4/5}
.zd-home-v217 .zd-home-search-action{margin-top:16px}

@media(max-width:700px){
  .zd-home-v217 .home-latest-section{padding:26px 16px 28px}
  .zd-home-v217 .home-photo-wall:has(.home-photo-card:only-child){grid-template-columns:minmax(0,1fr)}
  .zd-home-v217 .home-photo-wall:has(.home-photo-card:only-child) .home-photo-card{width:min(100%,220px);max-width:220px}

  /* Four steps stay scannable instead of consuming almost a full phone screen. */
  .zd-home-v217 .zd-home-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;border:0}
  .zd-home-v217 .zd-home-step{display:block;min-height:0;padding:14px;border:1px solid var(--zd-line);border-radius:14px;background:#fff}
  .zd-home-v217 .zd-home-step::before{display:block;margin:0 0 9px;font-size:.72rem}
  .zd-home-v217 .zd-home-step h3{margin:0 0 6px;font-size:.9rem;line-height:1.25}
  .zd-home-v217 .zd-home-step p{margin:0;font-size:.78rem;line-height:1.4}

  /* Footer groups remain available, but use one horizontal rail instead of a very tall directory. */
  body.zd-home-v217 .footer-links{display:flex;gap:10px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;padding:2px 0 12px;scrollbar-width:thin}
  body.zd-home-v217 .footer-link-group{flex:0 0 min(76vw,270px);min-width:0;padding:14px;border:1px solid var(--zd-line);border-radius:14px;background:#fbfdfc;scroll-snap-align:start}
  body.zd-home-v217 .footer-link-group strong{margin-bottom:3px}
  body.zd-home-v217 .footer-link-group a{padding-block:3px}

  /* Keep floating controls in a predictable right-side safe zone above reCAPTCHA. */
  body.zd-home-v217 .floating-actions{left:auto!important;right:14px!important;bottom:92px!important;gap:8px}
  body.zd-home-v217 .floating-action{width:44px;height:44px;box-shadow:0 8px 22px rgba(13,55,43,.14)}
}
@media(max-width:380px){
  .zd-home-v217 .zd-home-steps{grid-template-columns:1fr}
  body.zd-home-v217 .footer-link-group{flex-basis:82vw}
}

/* ZooDomik Design 2.0 — v0.1.71.8 resolved homepage composition */
.zd-home-v218 .home-latest-section{padding-block:44px 48px}
.zd-home-v218 .home-latest-head{margin-bottom:22px}
.zd-home-v218 .home-photo-wall:has(.home-photo-card--featured){display:block;max-width:1120px}
.zd-home-v218 .home-photo-card--featured{display:grid;grid-template-columns:minmax(250px,320px) minmax(0,1fr);width:min(100%,760px);max-width:760px;aspect-ratio:auto;min-height:300px;overflow:hidden;border:1px solid var(--zd-line);border-radius:20px;background:#fff;box-shadow:0 16px 44px rgba(18,61,49,.08)}
.zd-home-v218 .home-photo-card--featured .home-photo-media{display:block;min-height:300px;overflow:hidden;background:#eaf1ed}
.zd-home-v218 .home-photo-card--featured .home-photo-media img{width:100%;height:100%;min-height:300px;object-fit:cover}
.zd-home-v218 .home-featured-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:30px;color:var(--zd-text)}
.zd-home-v218 .home-featured-eyebrow{display:inline-flex;margin-bottom:12px;padding:6px 10px;border-radius:999px;background:#e8f3ed;color:var(--zd-green-900);font-size:.75rem;font-weight:800;line-height:1.1}
.zd-home-v218 .home-featured-copy>strong{max-width:18ch;font-size:clamp(1.45rem,2.4vw,2rem);line-height:1.08;letter-spacing:-.02em}
.zd-home-v218 .home-featured-copy>small{margin-top:10px;color:var(--zd-muted);font-size:.95rem}
.zd-home-v218 .home-featured-link{display:inline-flex;align-items:center;gap:8px;margin-top:28px;color:var(--zd-green-900);font-weight:800}
.zd-home-v218 .home-featured-link svg{width:18px;height:18px;transform:rotate(45deg)}
.zd-home-v218 .home-photo-card:not(.home-photo-card--featured) .home-photo-media{position:absolute;inset:0;display:block}
.zd-home-v218 .home-photo-card:not(.home-photo-card--featured) .home-photo-media img{width:100%;height:100%;object-fit:cover}

/* The footer is navigation, not a second sitemap. */
.footer-mobile-nav{display:none}
@media(max-width:700px){
 .zd-home-v218 .home-latest-section{padding:28px 16px 30px}
 .zd-home-v218 .home-photo-card--featured{grid-template-columns:1fr;width:100%;min-height:0;border-radius:16px}
 .zd-home-v218 .home-photo-card--featured .home-photo-media{height:240px;min-height:240px}
 .zd-home-v218 .home-photo-card--featured .home-photo-media img{min-height:240px}
 .zd-home-v218 .home-featured-copy{padding:18px}
 .zd-home-v218 .home-featured-copy>strong{font-size:1.35rem}
 .zd-home-v218 .home-featured-link{margin-top:18px}
 .zd-home-v218 .zd-home-search-action{margin-top:12px}
 .zd-home-v218 .zd-home-how{padding-block:28px}
 .zd-home-v218 .zd-home-bottom-cta{margin-top:18px}

 body.zd-home-v218 .footer-inner-rich{gap:14px;padding:20px 16px 22px}
 body.zd-home-v218 .footer-brand-line{gap:6px;padding-bottom:14px;border-bottom:1px solid var(--zd-line)}
 body.zd-home-v218 .footer-brand-line p{margin:0;max-width:36ch;font-size:.82rem}
 body.zd-home-v218 .footer-links--wide{display:none!important}
 body.zd-home-v218 .footer-mobile-nav{display:flex;flex-wrap:wrap;gap:0 16px;padding:2px 0 14px;border-bottom:1px solid var(--zd-line)}
 body.zd-home-v218 .footer-mobile-nav a,
 body.zd-home-v218 .footer-mobile-support{display:inline-flex;align-items:center;min-height:40px;padding:7px 0;border:0;background:transparent;color:var(--zd-green-900);font:inherit;font-size:.84rem;font-weight:700;text-decoration:none;cursor:pointer}
 body.zd-home-v218 .footer-mobile-nav a:focus-visible,
 body.zd-home-v218 .footer-mobile-support:focus-visible{outline:3px solid var(--zd-focus);outline-offset:3px;border-radius:4px}
 body.zd-home-v218 .footer-bottom-line{display:block;padding-top:0;font-size:.75rem}
 body.zd-home-v218 .footer-bottom-line span{display:block}
 body.zd-home-v218 .footer-bottom-line span+span{margin-top:5px}
 body.zd-home-v218 .footer-pets-strip{height:104px!important;max-height:104px!important}
 body.zd-home-v218 .footer-pets-strip picture,
 body.zd-home-v218 .footer-pets-strip img{height:104px!important;min-height:104px!important}

 /* One floating helper is enough on mobile; the support panel and footer already expose support. */
 body.zd-home-v218 .floating-actions{right:14px!important;bottom:88px!important}
 body.zd-home-v218 .floating-actions .js-support-open{display:none}
 body.zd-home-v218 .floating-actions .js-scroll-top{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(8px)}
 body.zd-home-v218 .floating-actions .js-scroll-top.is-visible{opacity:1;visibility:visible;pointer-events:auto;transform:none}
}

/* ZooDomik Design 2.0 — v0.1.71.9 navigation + media correction */
body.zd-home-v219 .footer-pets-strip{height:auto!important;max-height:none!important;overflow:visible!important}
body.zd-home-v219 .footer-pets-strip picture{display:block!important;width:100%!important;height:auto!important}
body.zd-home-v219 .footer-pets-strip img{display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;object-fit:contain!important;object-position:center bottom!important}

@media(min-width:1121px){
 body.zd-home-v219 .nav{width:min(1240px,calc(100% - 32px))}
 body.zd-home-v219 .nav-menu{gap:.38rem}
 body.zd-home-v219 .nav-direct{display:inline-flex;width:auto;min-height:42px;justify-content:center;padding:.58rem .72rem;color:var(--green);font-size:.88rem}
 body.zd-home-v219 .nav-direct-family{display:none}
 body.zd-home-v219 .nav-main-search{order:-2}
 body.zd-home-v219 .nav-direct-lost{order:-1}
 body.zd-home-v219 .nav-direct-found{order:0}
 body.zd-home-v219 .nav-dropdown-project{order:1}
 body.zd-home-v219 .nav-dropdown-cabinet,body.zd-home-v219 .nav-guest-cabinet{order:2}
 body.zd-home-v219 .nav-desktop-create{order:3}
}

@media(max-width:1120px){
 body.zd-home-v219 .nav-menu{gap:0;padding: max(.85rem,env(safe-area-inset-top)) 1rem max(1rem,env(safe-area-inset-bottom))}
 body.zd-home-v219 .nav-menu-head{margin-bottom:16px}
 body.zd-home-v219 .nav-mobile-section-label{display:block;margin:12px 4px 8px;padding:0;color:var(--muted);font-size:.72rem;font-weight:850;letter-spacing:.09em;text-transform:uppercase}
 body.zd-home-v219 .nav-mobile-main-label{order:10}
 body.zd-home-v219 .nav-direct,body.zd-home-v219 .nav-main-search{order:11;display:flex;width:100%;min-height:50px;justify-content:space-between;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent!important;box-shadow:none!important;color:var(--green)!important;padding:11px 4px;font-size:1rem;font-weight:780}
 body.zd-home-v219 .nav-direct::after,body.zd-home-v219 .nav-main-search::after{content:'›';font-size:1.35rem;font-weight:500;color:var(--muted)}
 body.zd-home-v219 .nav-dropdown-project{order:20;margin-top:12px;padding:0;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent}
 body.zd-home-v219 .nav-dropdown-project>.nav-dropdown-trigger{min-height:52px;padding:12px 4px;border-radius:0;font-size:1rem}
 body.zd-home-v219 .nav-dropdown-project .nav-dropdown-panel{padding:0 0 8px 12px}
 body.zd-home-v219 .nav-dropdown-project .nav-item{min-height:44px;padding:9px 4px;border-radius:0}
 body.zd-home-v219 .nav-mobile-cabinet-label{order:30;margin-top:14px;border-top:1px solid var(--line);padding-top:16px}
 body.zd-home-v219 .nav-dropdown-cabinet,body.zd-home-v219 .nav-guest-cabinet{order:31;width:100%;margin:0;padding:0;border:0;border-radius:0;background:transparent}
 body.zd-home-v219 .nav-dropdown-cabinet>.nav-dropdown-trigger,body.zd-home-v219 .nav-guest-cabinet{min-height:48px;padding:10px 4px;border-radius:0;justify-content:space-between;font-size:1rem}
 body.zd-home-v219 .nav-desktop-create{display:flex!important;order:40;width:100%;min-height:52px;margin-top:18px;border-radius:14px}
 body.zd-home-v219 .nav-mobile-add-bottom{display:block;order:50;margin:10px 0 0}
 body.zd-home-v219 .nav-mobile-add-bottom .nav-support-button{min-height:48px;border-radius:14px}
}

@media(max-width:700px){
 body.zd-home-v219 .footer-pets-strip{height:auto!important;max-height:none!important;overflow:hidden!important}
 body.zd-home-v219 .footer-pets-strip img{height:auto!important;min-height:0!important;object-fit:contain!important}
}
/* Featured listing must override legacy single-card width rules from v217. */
.zd-home-v219 .home-photo-wall:has(.home-photo-card--featured){display:block!important;max-width:none!important}
.zd-home-v219 .home-photo-wall:has(.home-photo-card--featured) .home-photo-card--featured{display:grid!important;grid-template-columns:minmax(280px,360px) minmax(0,1fr)!important;width:min(100%,900px)!important;max-width:900px!important;min-height:330px!important;aspect-ratio:auto!important}
.zd-home-v219 .home-photo-card--featured .home-featured-copy{display:flex!important;position:relative!important;z-index:2}
@media(max-width:700px){
 .zd-home-v219 .home-photo-wall:has(.home-photo-card--featured) .home-photo-card--featured{grid-template-columns:1fr!important;width:100%!important;max-width:100%!important;min-height:0!important}
 .zd-home-v219 .home-photo-card--featured .home-photo-media{height:auto!important;min-height:0!important;aspect-ratio:4/3}
 .zd-home-v219 .home-photo-card--featured .home-photo-media img{height:100%!important;min-height:0!important}
}


/* ZooDomik Design 2.0 — v0.1.71.10 final home polish */
/* Keep the desktop featured listing calm and content-led. */
.zd-home-v220 .home-photo-wall:has(.home-photo-card--featured){max-width:900px!important}
.zd-home-v220 .home-photo-card--featured{background:#fff!important;box-shadow:0 14px 38px rgba(18,61,49,.075)!important}
.zd-home-v220 .home-photo-card--featured .home-featured-copy{background:linear-gradient(135deg,#fff 0%,#f7faf8 100%)!important;padding:32px!important}
.zd-home-v220 .home-photo-card--featured .home-featured-link{margin-top:24px!important}

/* Desktop navigation: actions have hierarchy, secondary routes stay quiet. */
@media(min-width:1121px){
 body.zd-home-v220 .nav-menu{gap:.18rem}
 body.zd-home-v220 .nav-direct{padding:.58rem .62rem;font-size:.86rem;font-weight:720}
 body.zd-home-v220 .nav-main-search{padding-inline:1rem;border:1px solid #cfe0d8;border-radius:999px;background:#edf7f2;color:var(--green);font-weight:800}
 body.zd-home-v220 .nav-direct-lost,body.zd-home-v220 .nav-direct-found{background:transparent;border-color:transparent;box-shadow:none}
 body.zd-home-v220 .nav-dropdown-project>.nav-dropdown-trigger{padding-inline:.8rem}
}

/* Mobile: one real listing must not consume a whole screen. */
@media (min-width:390px) and (max-width:700px){
 .zd-home-v220 .home-photo-wall:has(.home-photo-card--featured) .home-photo-card--featured{grid-template-columns:44% 56%!important;align-items:stretch!important;min-height:196px!important}
 .zd-home-v220 .home-photo-card--featured .home-photo-media{height:auto!important;min-height:196px!important;aspect-ratio:auto!important}
 .zd-home-v220 .home-photo-card--featured .home-photo-media img{height:100%!important;min-height:196px!important;object-fit:cover!important}
 .zd-home-v220 .home-photo-card--featured .home-featured-copy{justify-content:center!important;padding:16px!important;background:#fff!important}
 .zd-home-v220 .home-featured-eyebrow{margin-bottom:8px!important;padding:5px 8px!important;font-size:.68rem!important}
 .zd-home-v220 .home-featured-copy>strong{font-size:1.08rem!important;line-height:1.12!important}
 .zd-home-v220 .home-featured-copy>small{margin-top:7px!important;font-size:.82rem!important}
 .zd-home-v220 .home-featured-link{margin-top:14px!important;font-size:.86rem!important}
}
@media(max-width:389px){
 .zd-home-v220 .home-photo-card--featured .home-photo-media{height:190px!important;min-height:190px!important;aspect-ratio:auto!important}
 .zd-home-v220 .home-photo-card--featured .home-featured-copy{padding:15px!important;background:#fff!important}
 .zd-home-v220 .home-featured-copy>strong{font-size:1.15rem!important}
 .zd-home-v220 .home-featured-link{margin-top:12px!important}
}

/* Mobile menu: cabinet + creation are one personal/action zone, support stays last. */
@media(max-width:1120px){
 body.zd-home-v220 .nav-mobile-cabinet-label{margin-top:12px!important;padding-top:14px!important}
 body.zd-home-v220 .nav-desktop-create{margin-top:8px!important}
 body.zd-home-v220 .nav-mobile-add-bottom{margin-top:16px!important;padding-top:16px!important;border-top:1px solid var(--line)}
}

/* Floating UI: one helper on mobile, kept clear of the reCAPTCHA corner. */
@media(max-width:700px){
 body.zd-home-v220 .floating-actions{left:auto!important;right:86px!important;bottom:18px!important;gap:0!important}
 body.zd-home-v220 .floating-actions .js-support-open{display:none!important}
 body.zd-home-v220 .floating-actions .js-scroll-top{width:44px;height:44px}
 body.zd-home-v220 .footer-pets-strip picture,body.zd-home-v220 .footer-pets-strip img{width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}
}
@media(min-width:701px){
 body.zd-home-v220 .floating-actions{right:18px!important;bottom:86px!important}
}

/* ZooDomik Design 2.0 — v0.1.71.11 navigation, neutral hero, reCAPTCHA attribution, floating actions */
/* Navigation: one visual language for navigation, one unmistakable primary action. */
@media(min-width:1121px){
 body.zd-home-v221 .nav{width:min(1180px,calc(100% - 32px))}
 body.zd-home-v221 .nav-menu{gap:6px;align-items:center}
 body.zd-home-v221 .nav-mobile-section-label{display:none!important}
 body.zd-home-v221 .nav-main-search{order:10!important;min-height:44px;padding:10px 12px!important;border:0!important;border-radius:10px!important;background:transparent!important;box-shadow:none!important;color:var(--green)!important;font-size:.9rem;font-weight:750}
 body.zd-home-v221 .nav-dropdown-situations{order:20;position:relative}
 body.zd-home-v221 .nav-dropdown-project{order:30!important;position:relative}
 body.zd-home-v221 .nav-dropdown-situations>.nav-dropdown-trigger,
 body.zd-home-v221 .nav-dropdown-project>.nav-dropdown-trigger{min-height:44px;padding:10px 12px;border:0;border-radius:10px;background:transparent;color:var(--green);font-size:.9rem;font-weight:750}
 body.zd-home-v221 .nav-dropdown-situations>.nav-dropdown-trigger:hover,
 body.zd-home-v221 .nav-dropdown-project>.nav-dropdown-trigger:hover,
 body.zd-home-v221 .nav-main-search:hover{background:#f2f7f4!important}
 body.zd-home-v221 .nav-dropdown-cabinet,body.zd-home-v221 .nav-guest-cabinet{order:40!important}
 body.zd-home-v221 .nav-dropdown-cabinet>.nav-dropdown-trigger,body.zd-home-v221 .nav-guest-cabinet{min-height:44px;padding:10px 13px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--green);font-size:.9rem;font-weight:750}
 body.zd-home-v221 .nav-desktop-create{order:50!important;display:inline-flex!important;width:auto!important;min-height:44px;margin:0!important;padding:10px 20px!important;border-radius:10px!important;background:var(--green)!important;color:#fff!important;font-size:.9rem;font-weight:800}
 body.zd-home-v221 .nav-mobile-add-bottom{display:none!important}
}
/* Mobile menu: primary choices are visible; secondary destinations are grouped by meaning. */
@media(max-width:1120px){
 body.zd-home-v221 .nav-menu{display:flex;flex-direction:column}
 body.zd-home-v221 .nav-mobile-main-label{order:10;margin-top:2px}
 body.zd-home-v221 .nav-main-search{order:11!important}
 body.zd-home-v221 .nav-desktop-create{order:12!important;display:flex!important;width:100%!important;min-height:52px!important;margin:8px 0 12px!important;border-radius:14px!important;background:var(--green)!important;color:#fff!important;justify-content:center!important;font-weight:800!important}
 body.zd-home-v221 .nav-main-search{display:flex!important;width:100%!important;min-height:52px!important;padding:12px 4px!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:transparent!important;color:var(--green)!important;justify-content:space-between!important;font-size:1rem!important;font-weight:780!important}
 body.zd-home-v221 .nav-main-search::after{content:'›';font-size:1.35rem;font-weight:500;color:var(--muted)}
 body.zd-home-v221 .nav-dropdown-situations{order:20;width:100%;margin-top:4px;border-top:1px solid var(--line)}
 body.zd-home-v221 .nav-dropdown-project{order:21!important;width:100%;margin:0!important;border-top:1px solid var(--line)!important}
 body.zd-home-v221 .nav-dropdown-situations>.nav-dropdown-trigger,
 body.zd-home-v221 .nav-dropdown-project>.nav-dropdown-trigger{width:100%;min-height:52px;padding:12px 4px;border:0;border-radius:0;background:transparent;justify-content:space-between;font-size:1rem;font-weight:760;color:var(--green)}
 body.zd-home-v221 .nav-dropdown-situations .nav-dropdown-panel,
 body.zd-home-v221 .nav-dropdown-project .nav-dropdown-panel{padding:0 0 10px 12px}
 body.zd-home-v221 .nav-dropdown-situations .nav-item,
 body.zd-home-v221 .nav-dropdown-project .nav-item{min-height:44px;padding:9px 4px;border-radius:0}
 body.zd-home-v221 .nav-mobile-cabinet-label{order:30;margin-top:8px!important;padding-top:14px!important;border-top:1px solid var(--line)}
 body.zd-home-v221 .nav-dropdown-cabinet,body.zd-home-v221 .nav-guest-cabinet{order:31!important}
 body.zd-home-v221 .nav-mobile-add-bottom{order:40!important;margin-top:auto!important;padding-top:16px!important;border-top:1px solid var(--line)}
}
/* Hero: the interface is the focus; no narrative photograph hidden behind controls. */
body.zd-home-v221 .zd-task-hero{background:radial-gradient(circle at 78% 24%,rgba(77,135,112,.34),transparent 32%),linear-gradient(135deg,#092d23 0%,#123f32 56%,#1c5846 100%)}
body.zd-home-v221 .zd-task-hero__media{display:none!important}
body.zd-home-v221 .zd-task-hero__overlay{background:linear-gradient(90deg,rgba(4,25,19,.24),rgba(4,25,19,0))!important}
body.zd-home-v221 .zd-task-actions{filter:drop-shadow(0 16px 30px rgba(0,0,0,.10))}
@media(max-width:700px){
 body.zd-home-v221 .zd-task-hero{background:linear-gradient(160deg,#0a3025 0%,#123f32 62%,#194f3f 100%)}
 body.zd-home-v221 .zd-task-hero__overlay{display:none}
}
/* reCAPTCHA v3 attribution replaces the intrusive badge. */
.grecaptcha-badge{visibility:hidden!important}
.recaptcha-disclosure,.recaptcha-site-disclosure{font-size:.72rem;line-height:1.45;color:var(--muted)}
.recaptcha-disclosure{margin:12px 0 0;max-width:64ch}
.recaptcha-site-disclosure{margin:10px 0 0;text-align:center}
.recaptcha-disclosure a,.recaptcha-site-disclosure a{color:inherit;text-decoration:underline;text-underline-offset:2px}
/* Mobile floating actions: both helpers stay visible at the right edge as a compact vertical stack. */
@media(max-width:700px){
 body.zd-home-v221 .floating-actions{position:fixed!important;left:auto!important;right:12px!important;bottom:calc(18px + env(safe-area-inset-bottom))!important;display:flex!important;flex-direction:column!important;gap:8px!important;z-index:70!important;align-items:center!important}
 body.zd-home-v221 .floating-actions .js-support-open{display:inline-flex!important;order:1!important;width:46px!important;height:46px!important}
 body.zd-home-v221 .floating-actions .js-scroll-top{order:2!important;width:46px!important;height:46px!important}
 body.zd-home-v221 .floating-actions .js-scroll-top:not(.is-visible){opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translateY(8px)!important}
 body.zd-home-v221 .floating-actions .js-scroll-top.is-visible{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:none!important}
}

/* ZooDomik Design 2.0 — v0.1.71.12 clear navigation + scene-aware hero */
/* One rule for the header: navigation looks like navigation; only creation is a filled CTA. */
@media (min-width:1121px){
  body.zd-home-v222 .nav{width:min(1240px,calc(100% - 40px));min-height:72px;gap:14px}
  body.zd-home-v222 .brand img{width:42px;height:42px}
  body.zd-home-v222 .brand-name{font-size:1.08rem}
  body.zd-home-v222 .brand-slogan{font-size:.66rem}
  body.zd-home-v222 .nav-menu{grid-column:2/4;gap:2px;justify-content:flex-end}
  body.zd-home-v222 .nav-mobile-section-label{display:none!important}
  body.zd-home-v222 .nav-route-meta{display:none!important}
  body.zd-home-v222 .nav-primary-route,
  body.zd-home-v222 .nav-dropdown-project>.nav-dropdown-trigger,
  body.zd-home-v222 .nav-dropdown-cabinet>.nav-dropdown-trigger,
  body.zd-home-v222 .nav-guest-cabinet{
    position:relative;display:inline-flex;width:auto;min-width:max-content;min-height:44px;
    align-items:center;justify-content:center;margin:0;padding:10px 9px;border:0;border-radius:8px;
    background:transparent;box-shadow:none;color:#173f34;font-size:.87rem;font-weight:720;line-height:1.15;
  }
  body.zd-home-v222 .nav-primary-route:hover,
  body.zd-home-v222 .nav-primary-route:focus-visible,
  body.zd-home-v222 .nav-dropdown-project>.nav-dropdown-trigger:hover,
  body.zd-home-v222 .nav-dropdown-project>.nav-dropdown-trigger:focus-visible,
  body.zd-home-v222 .nav-dropdown-cabinet>.nav-dropdown-trigger:hover,
  body.zd-home-v222 .nav-dropdown-cabinet>.nav-dropdown-trigger:focus-visible,
  body.zd-home-v222 .nav-guest-cabinet:hover,
  body.zd-home-v222 .nav-guest-cabinet:focus-visible{
    background:#f2f7f4;color:#123f33;outline:none;box-shadow:none;
  }
  body.zd-home-v222 .nav-primary-route.is-active{
    background:transparent;color:#0e4938;box-shadow:inset 0 -2px #155743;
  }
  body.zd-home-v222 .nav-dropdown-project{order:20;margin-left:3px}
  body.zd-home-v222 .nav-dropdown-cabinet,
  body.zd-home-v222 .nav-guest-cabinet{order:30!important;margin-left:3px}
  body.zd-home-v222 .nav-desktop-create{
    order:40!important;display:inline-flex!important;width:auto!important;min-width:max-content;min-height:44px;
    margin:0 0 0 6px!important;padding:10px 18px!important;border:1px solid #155743!important;border-radius:10px!important;
    background:#155743!important;box-shadow:none!important;color:#fff!important;font-size:.88rem;font-weight:800;
  }
  body.zd-home-v222 .nav-desktop-create:hover,
  body.zd-home-v222 .nav-desktop-create:focus-visible{background:#0f4435!important;border-color:#0f4435!important;box-shadow:0 8px 20px rgba(21,87,67,.14)!important}
  body.zd-home-v222 .nav-primary-search{order:10}
  body.zd-home-v222 .nav-primary-lost{order:11}
  body.zd-home-v222 .nav-primary-found{order:12}
  body.zd-home-v222 .nav-primary-family{order:13}
  body.zd-home-v222 .nav-dropdown-panel{top:calc(100% + 8px);min-width:224px;border-radius:14px;padding:6px;background:#fff;box-shadow:0 16px 40px rgba(20,58,47,.14)}
  body.zd-home-v222 .nav-dropdown-project>.nav-dropdown-panel,
  body.zd-home-v222 .nav-dropdown-cabinet>.nav-dropdown-panel{left:auto;right:0}
  body.zd-home-v222 .nav-dropdown-panel .nav-item,
  body.zd-home-v222 .nav-dropdown-panel .nav-logout{min-height:42px;padding:10px 12px;border-radius:9px;font-size:.88rem}
}

/* Mobile menu: the four things people most often need are visible immediately. */
@media (max-width:1120px){
  body.zd-home-v222 .nav{width:calc(100% - 28px);padding:9px 0}
  body.zd-home-v222 .brand img{width:40px;height:40px}
  body.zd-home-v222 .nav-menu-toggle{width:auto;height:44px;padding:0 13px;border-radius:12px;gap:9px}
  body.zd-home-v222 .nav-menu{gap:0;padding:max(12px,env(safe-area-inset-top)) 16px max(18px,env(safe-area-inset-bottom));background:#fffdf9}
  body.zd-home-v222 .nav-menu-head{margin:0 0 14px;padding-bottom:12px;border-bottom:1px solid #e0e8e3}
  body.zd-home-v222 .nav-menu-close{min-width:0;height:42px;padding:0 12px;border-radius:12px}
  body.zd-home-v222 .nav-mobile-section-label{margin:0;padding:8px 4px 7px;border:0;color:#6a7b74;font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
  body.zd-home-v222 .nav-mobile-main-label{order:10}
  body.zd-home-v222 .nav-primary-route{
    order:11;position:relative;display:grid!important;grid-template-columns:minmax(0,1fr) 24px;grid-template-rows:auto auto;
    width:100%!important;min-height:64px;margin:0;padding:11px 4px!important;border:0!important;border-bottom:1px solid #e4ebe7!important;
    border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#153f34!important;text-align:left;white-space:normal;
  }
  body.zd-home-v222 .nav-primary-route::after{content:'›';grid-column:2;grid-row:1/3;align-self:center;justify-self:end;color:#6f837a;font-size:1.35rem;font-weight:500}
  body.zd-home-v222 .nav-primary-lost{order:12}
  body.zd-home-v222 .nav-primary-found{order:13}
  body.zd-home-v222 .nav-primary-family{order:14}
  body.zd-home-v222 .nav-route-title{grid-column:1;grid-row:1;font-size:1rem;font-weight:800;line-height:1.2}
  body.zd-home-v222 .nav-route-meta{display:block;grid-column:1;grid-row:2;margin-top:4px;color:#687b73;font-size:.79rem;font-weight:500;line-height:1.3}
  body.zd-home-v222 .nav-primary-route.is-active .nav-route-title{color:#0f513d}
  body.zd-home-v222 .nav-desktop-create{
    order:15!important;display:flex!important;width:100%!important;min-height:50px;margin:14px 0 10px!important;padding:12px 16px!important;
    justify-content:center;border:1px solid #155743!important;border-radius:12px!important;background:#155743!important;color:#fff!important;font-size:.96rem;font-weight:800;
  }
  body.zd-home-v222 .nav-dropdown-project{order:20!important;width:100%;margin-top:8px!important;border-top:1px solid #dfe8e3!important}
  body.zd-home-v222 .nav-dropdown-project>.nav-dropdown-trigger,
  body.zd-home-v222 .nav-dropdown-cabinet>.nav-dropdown-trigger{
    width:100%;min-height:52px;padding:12px 4px;border:0;border-radius:0;background:transparent;justify-content:space-between;color:#153f34;font-size:.98rem;font-weight:780;
  }
  body.zd-home-v222 .nav-dropdown-project>.nav-dropdown-panel,
  body.zd-home-v222 .nav-dropdown-cabinet>.nav-dropdown-panel{padding:0 0 8px 10px;border:0;background:transparent;box-shadow:none}
  body.zd-home-v222 .nav-dropdown-project .nav-item,
  body.zd-home-v222 .nav-dropdown-cabinet .nav-item,
  body.zd-home-v222 .nav-dropdown-cabinet .nav-logout{min-height:44px;padding:10px 8px;border-radius:8px;font-size:.9rem}
  body.zd-home-v222 .nav-mobile-cabinet-label{order:30;margin:4px 0 0!important;padding:12px 4px 5px!important;border-top:1px solid #dfe8e3!important}
  body.zd-home-v222 .nav-dropdown-cabinet,
  body.zd-home-v222 .nav-guest-cabinet{order:31!important;width:100%!important}
  body.zd-home-v222 .nav-guest-cabinet{display:flex!important;min-height:48px;padding:10px 4px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#153f34!important;font-size:.98rem;font-weight:780}
  body.zd-home-v222 .nav-mobile-add-bottom{order:40!important;margin-top:auto!important;padding-top:16px!important;border-top:1px solid #dfe8e3!important}
  body.zd-home-v222 .nav-mobile-add-bottom .nav-support-button{min-height:48px;border-radius:12px}
}

/* Hero: keep the story visible. Controls live only on the empty side of the desktop photo. */
body.zd-home-v222 .zd-task-hero{min-height:560px;background:#0d3b2e;color:#fff}
body.zd-home-v222 .zd-task-hero__media{display:block!important}
body.zd-home-v222 .zd-task-hero__media img{object-fit:cover;object-position:center center}
body.zd-home-v222 .zd-task-hero__overlay{
  display:block!important;background:linear-gradient(90deg,rgba(6,29,22,.94) 0%,rgba(6,29,22,.90) 34%,rgba(6,29,22,.70) 49%,rgba(6,29,22,.22) 68%,rgba(6,29,22,.05) 100%)!important
}
body.zd-home-v222 .zd-task-hero__content{
  width:min(1180px,calc(100% - 48px));padding:48px 0 44px;grid-template-columns:minmax(0,560px) 1fr;gap:13px 48px;align-content:center;align-items:start
}
body.zd-home-v222 .zd-task-hero__intro,
body.zd-home-v222 .zd-task-actions,
body.zd-home-v222 .zd-task-hero__search{grid-column:1!important;width:100%;max-width:560px}
body.zd-home-v222 .zd-task-hero__intro{margin-bottom:6px}
body.zd-home-v222 .zd-task-hero__intro h1{max-width:11ch;margin:.42rem 0 .75rem;font-size:clamp(2.65rem,4.4vw,4.25rem);line-height:.99;letter-spacing:-.038em;text-wrap:balance}
body.zd-home-v222 .zd-task-hero__intro p{max-width:43ch;margin:0;color:#eef7f3;font-size:1.02rem;line-height:1.55}
body.zd-home-v222 .zd-task-actions{gap:9px;filter:none}
body.zd-home-v222 .zd-task-action{
  grid-template-columns:44px 1fr 22px;min-height:70px;padding:10px 13px;border:1px solid rgba(255,255,255,.76);border-radius:14px;
  background:rgba(255,255,255,.96);box-shadow:0 8px 24px rgba(0,0,0,.11)
}
body.zd-home-v222 .zd-task-action:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(0,0,0,.16)}
body.zd-home-v222 .zd-task-action__icon{width:42px;height:42px;border-radius:11px}
body.zd-home-v222 .zd-task-action__icon svg{width:21px;height:21px}
body.zd-home-v222 .zd-task-action strong{font-size:.98rem;line-height:1.18}
body.zd-home-v222 .zd-task-action small{margin-top:3px;font-size:.79rem;line-height:1.3}
body.zd-home-v222 .zd-task-action__arrow{width:22px;height:22px}
body.zd-home-v222 .zd-task-hero__search{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:2px;padding:7px 1px 0;color:#eef7f3}
body.zd-home-v222 .zd-task-hero__search>span{display:grid;gap:1px}
body.zd-home-v222 .zd-task-hero__search strong{font-size:.86rem}
body.zd-home-v222 .zd-task-hero__search small{font-size:.74rem;color:#cfe0da}
body.zd-home-v222 .zd-task-hero__search .btn{min-height:42px;padding:9px 14px;border-radius:10px;background:rgba(7,38,29,.20);border-color:rgba(255,255,255,.7);color:#fff;font-size:.86rem}

@media (max-width:900px){
  body.zd-home-v222 .zd-task-hero{min-height:0;background:linear-gradient(155deg,#0b3529 0%,#134a39 100%)}
  body.zd-home-v222 .zd-task-hero__media{display:none!important}
  body.zd-home-v222 .zd-task-hero__overlay{display:none!important}
  body.zd-home-v222 .zd-task-hero__content{grid-template-columns:1fr;width:min(680px,calc(100% - 40px));padding:38px 0 34px;gap:16px}
  body.zd-home-v222 .zd-task-hero__intro,
  body.zd-home-v222 .zd-task-actions,
  body.zd-home-v222 .zd-task-hero__search{max-width:none}
}
@media (max-width:700px){
  body.zd-home-v222 .zd-task-hero{background:linear-gradient(160deg,#0b3428 0%,#124536 64%,#17513f 100%)}
  body.zd-home-v222 .zd-task-hero__content{width:calc(100% - 28px);padding:27px 0 25px;gap:14px}
  body.zd-home-v222 .zd-task-hero__intro .eyebrow{font-size:.68rem;letter-spacing:.085em}
  body.zd-home-v222 .zd-task-hero__intro h1{max-width:14ch;margin:.35rem 0 .6rem;font-size:clamp(2rem,9.2vw,2.55rem);line-height:1.03}
  body.zd-home-v222 .zd-task-hero__intro p{font-size:.91rem;line-height:1.46}
  body.zd-home-v222 .zd-task-actions{gap:8px}
  body.zd-home-v222 .zd-task-action{grid-template-columns:42px 1fr 20px;min-height:66px;padding:9px 11px;border-radius:13px}
  body.zd-home-v222 .zd-task-action__icon{width:40px;height:40px;border-radius:10px}
  body.zd-home-v222 .zd-task-action strong{font-size:.94rem}
  body.zd-home-v222 .zd-task-action small{font-size:.76rem}
  body.zd-home-v222 .zd-task-hero__search{display:grid;grid-template-columns:1fr;gap:7px;padding-top:2px}
  body.zd-home-v222 .zd-task-hero__search>span{display:none}
  body.zd-home-v222 .zd-task-hero__search .btn{width:100%;min-height:46px;background:transparent}
}

/* Invisible reCAPTCHA: preserve Google attribution without a floating third-party badge. */
body.zd-home-v222 .recaptcha-site-disclosure{margin:12px 0 0;color:#77867f;font-size:.68rem;line-height:1.45;text-align:left}
@media(max-width:700px){body.zd-home-v222 .recaptcha-site-disclosure{text-align:center}}

/* Floating helpers sit on the edge and never compete with content. */
@media(max-width:700px){
  body.zd-home-v222 .floating-actions{right:12px!important;bottom:calc(92px + env(safe-area-inset-bottom))!important;gap:8px!important}
  body.zd-home-v222 .floating-action{width:44px!important;height:44px!important;border:1px solid rgba(21,87,67,.20)!important;background:#fff!important;box-shadow:0 8px 22px rgba(18,61,49,.14)!important;color:#155743!important}
  body.zd-home-v222 .floating-actions .js-scroll-top{order:1!important}
  body.zd-home-v222 .floating-actions .js-support-open{order:2!important}
}
@media(max-width:1120px){
  body.zd-home-v222 .nav-menu{display:none!important}
  body.zd-home-v222 .nav-menu.is-open{display:flex!important}
}
@media(min-width:901px){
  body.zd-home-v222 .zd-task-hero__intro h1{max-width:560px;font-size:clamp(2.6rem,3.6vw,3.55rem);line-height:1.01}
  body.zd-home-v222 .zd-task-action{min-height:64px;padding:8px 12px}
  body.zd-home-v222 .zd-task-action__icon{width:38px;height:38px}
  body.zd-home-v222 .zd-task-action__icon svg{width:20px;height:20px}
}


/* ZooDomik Design 2.0 — v0.1.71.13 visual cleanup after real-device review */
/* Desktop: a single live profile should look intentional, not stranded inside a wide section. */
@media (min-width:901px){
  body.zd-home-v223 .home-photo-wall:has(.home-photo-card--featured){max-width:980px!important;margin-inline:auto!important}
  body.zd-home-v223 .home-photo-wall:has(.home-photo-card--featured) .home-photo-card--featured{
    width:100%!important;max-width:980px!important;grid-template-columns:minmax(320px,390px) minmax(0,1fr)!important;min-height:320px!important
  }
  body.zd-home-v223 .home-photo-card--featured .home-featured-copy{padding:34px 40px!important;background:#fff!important}
  body.zd-home-v223 .home-photo-card--featured .home-featured-link{margin-top:22px!important}
  body.zd-home-v223 .zd-home-search-action{width:min(980px,100%);margin-inline:auto!important}
}

/* Mobile: headline and cards must stay readable at 360–453 px. */
@media (max-width:700px){
  body.zd-home-v223 .zd-task-hero__content{padding:24px 0 24px!important}
  body.zd-home-v223 .zd-task-hero__intro h1{
    max-width:18ch!important;font-size:clamp(1.92rem,8.2vw,2.28rem)!important;line-height:1.04!important;letter-spacing:-.025em!important
  }
  body.zd-home-v223 .zd-task-hero__intro p{max-width:36ch;font-size:.9rem!important}

  body.zd-home-v223 .home-latest-section{padding:28px 14px 30px!important}
  body.zd-home-v223 .home-latest-head h2{max-width:19ch!important;font-size:1.58rem!important;line-height:1.08!important}
  body.zd-home-v223 .home-latest-head p{margin-top:9px!important;font-size:.88rem!important;line-height:1.5!important}

  body.zd-home-v223 .home-photo-wall:has(.home-photo-card--featured) .home-photo-card--featured{
    display:grid!important;grid-template-columns:1fr!important;width:100%!important;min-height:0!important;border-radius:15px!important
  }
  body.zd-home-v223 .home-photo-card--featured .home-photo-media{height:178px!important;min-height:178px!important;aspect-ratio:auto!important}
  body.zd-home-v223 .home-photo-card--featured .home-photo-media img{height:178px!important;min-height:178px!important;object-fit:cover!important;object-position:center 52%!important}
  body.zd-home-v223 .home-photo-card--featured .home-featured-copy{padding:15px 16px 16px!important;background:#fff!important}
  body.zd-home-v223 .home-featured-eyebrow{margin-bottom:7px!important;padding:4px 7px!important;font-size:.65rem!important}
  body.zd-home-v223 .home-featured-copy>strong{max-width:none!important;font-size:1.13rem!important;line-height:1.14!important}
  body.zd-home-v223 .home-featured-copy>small{margin-top:6px!important;font-size:.8rem!important}
  body.zd-home-v223 .home-featured-link{margin-top:11px!important;font-size:.84rem!important}
  body.zd-home-v223 .zd-home-search-action{margin-top:10px!important}
  body.zd-home-v223 .zd-home-search-action .btn{width:100%!important}

  /* The old 2×2 grid made explanatory copy too small. Steps become a readable sequence. */
  body.zd-home-v223 .zd-home-how{padding:30px 14px!important}
  body.zd-home-v223 .zd-home-compact-head{margin-bottom:15px!important}
  body.zd-home-v223 .zd-home-compact-head h2{font-size:1.6rem!important;line-height:1.08!important}
  body.zd-home-v223 .zd-home-compact-head>p{font-size:.88rem!important;line-height:1.5!important}
  body.zd-home-v223 .zd-home-steps{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;border:0!important}
  body.zd-home-v223 .zd-home-step{
    display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:10px!important;
    min-height:0!important;padding:13px 14px!important;border:1px solid var(--zd-line)!important;border-radius:13px!important;background:#fff!important
  }
  body.zd-home-v223 .zd-home-step::before{grid-column:1!important;grid-row:1/3!important;margin:1px 0 0!important;font-size:.72rem!important}
  body.zd-home-v223 .zd-home-step h3{grid-column:2!important;grid-row:1!important;margin:0 0 3px!important;font-size:.95rem!important;line-height:1.25!important}
  body.zd-home-v223 .zd-home-step p{grid-column:2!important;grid-row:2!important;margin:0!important;font-size:.84rem!important;line-height:1.44!important}

  body.zd-home-v223 .zd-home-bottom-cta{margin:22px 14px 20px!important;padding:20px 17px!important;border-radius:17px!important}
  body.zd-home-v223 .zd-home-bottom-cta h2{font-size:1.46rem!important;line-height:1.08!important}
  body.zd-home-v223 .zd-home-bottom-cta p{font-size:.88rem!important;line-height:1.48!important}
  body.zd-home-v223 .zd-home-bottom-cta .form-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;width:100%!important}
  body.zd-home-v223 .zd-home-bottom-cta .btn{width:100%!important;min-height:46px!important;margin:0!important}

  /* Support is part of the menu flow, not a detached footer at the bottom of a blank drawer. */
  body.zd-home-v223 .nav-mobile-add-bottom{margin-top:10px!important;padding-top:12px!important;border-top:1px solid #dfe8e3!important}
  body.zd-home-v223 .nav-menu{padding-bottom:max(18px,env(safe-area-inset-bottom))!important}

  /* Edge rail: visible, consistent, and no longer sitting on top of CTA/footer controls. */
  body.zd-home-v223 .floating-actions{
    right:0!important;top:58vh!important;bottom:auto!important;transform:translateY(-50%)!important;gap:6px!important;align-items:flex-end!important
  }
  body.zd-home-v223 .floating-action{
    width:40px!important;height:44px!important;border-radius:12px 0 0 12px!important;border-right:0!important;
    box-shadow:0 7px 18px rgba(18,61,49,.12)!important
  }

  /* Compact mobile footer: two stable columns instead of an uneven inline word cloud. */
  body.zd-home-v223 .footer-mobile-nav{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0 18px!important;padding:4px 0 14px!important}
  body.zd-home-v223 .footer-mobile-nav a,
  body.zd-home-v223 .footer-mobile-nav button{display:flex!important;align-items:center!important;min-height:40px!important;padding:7px 0!important;border:0!important;border-bottom:1px solid rgba(18,61,49,.08)!important;background:transparent!important;text-align:left!important;font-size:.84rem!important;line-height:1.25!important}
}

@media (max-width:389px){
  body.zd-home-v223 .zd-task-hero__intro h1{font-size:1.86rem!important}
  body.zd-home-v223 .home-photo-card--featured .home-photo-media,
  body.zd-home-v223 .home-photo-card--featured .home-photo-media img{height:164px!important;min-height:164px!important}
  body.zd-home-v223 .home-latest-head h2{font-size:1.5rem!important}
}

/* ZooDomik Design 2.0 — v0.1.71.14 final mobile polish after live screenshots */
@media (max-width:700px){
  /* Keep floating actions on the edge and out of reading flow. */
  body.zd-home-v224 .floating-actions{
    right:8px!important;top:auto!important;bottom:calc(16px + env(safe-area-inset-bottom))!important;
    transform:none!important;gap:8px!important;align-items:flex-end!important
  }
  body.zd-home-v224 .floating-action{
    width:44px!important;height:44px!important;border-radius:13px!important;border:1px solid rgba(21,87,67,.18)!important;
    background:rgba(255,255,255,.97)!important;box-shadow:0 8px 22px rgba(18,61,49,.14)!important
  }
  body.zd-home-v224 .floating-actions .js-scroll-top{order:1!important}
  body.zd-home-v224 .floating-actions .js-support-open{order:2!important}

  /* Main actions stay at the top; account/support form a deliberate utility zone at the bottom. */
  body.zd-home-v224 .nav-mobile-cabinet-label{margin-top:auto!important;padding-top:14px!important}
  body.zd-home-v224 .nav-mobile-add-bottom{margin-top:8px!important;padding-top:10px!important}

  /* Reserve a clean landing area for fixed actions at the real page end. */
  body.zd-home-v224 .footer-inner{padding-bottom:92px!important}

  /* Slightly calm the support panel so it reads as utility, not another primary CTA. */
  body.zd-home-v224 .tech-support-panel{padding-inline:14px!important}
  body.zd-home-v224 .tech-support-inner{border-radius:15px!important}
}

@media (max-width:389px){
  body.zd-home-v224 .floating-actions{right:6px!important}
  body.zd-home-v224 .floating-action{width:42px!important;height:42px!important}
}

/* ZooDomik Design 2.0 — v0.1.71.15 navigation affordance + unified floating controls */
/* Desktop: every navigation target reads as an interactive control without turning the header into a wall of heavy pills. */
@media (min-width:1121px){
  body.zd-home-v225 .nav-menu{gap:5px!important}
  body.zd-home-v225 .nav-primary-route,
  body.zd-home-v225 .nav-dropdown-project>.nav-dropdown-trigger,
  body.zd-home-v225 .nav-dropdown-cabinet>.nav-dropdown-trigger,
  body.zd-home-v225 .nav-guest-cabinet{
    min-height:40px!important;
    padding:8px 10px!important;
    border:1px solid #dce7e2!important;
    border-radius:10px!important;
    background:#fff!important;
    color:#25483e!important;
    font-size:.84rem!important;
    font-weight:600!important;
    box-shadow:0 1px 0 rgba(18,61,49,.02)!important;
    transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease!important;
  }
  body.zd-home-v225 .nav-route-title{font-weight:600!important}
  body.zd-home-v225 .nav-primary-route:hover,
  body.zd-home-v225 .nav-primary-route:focus-visible,
  body.zd-home-v225 .nav-dropdown-project>.nav-dropdown-trigger:hover,
  body.zd-home-v225 .nav-dropdown-project>.nav-dropdown-trigger:focus-visible,
  body.zd-home-v225 .nav-dropdown-cabinet>.nav-dropdown-trigger:hover,
  body.zd-home-v225 .nav-dropdown-cabinet>.nav-dropdown-trigger:focus-visible,
  body.zd-home-v225 .nav-guest-cabinet:hover,
  body.zd-home-v225 .nav-guest-cabinet:focus-visible{
    background:#f4f8f6!important;
    border-color:#b8cec4!important;
    color:#103f32!important;
    box-shadow:0 4px 12px rgba(18,61,49,.07)!important;
    outline:none!important;
  }
  body.zd-home-v225 .nav-primary-route.is-active{
    background:#edf5f1!important;
    border-color:#a9c7bb!important;
    color:#0f4b39!important;
    box-shadow:none!important;
  }
  body.zd-home-v225 .nav-desktop-create{
    min-height:40px!important;
    padding:8px 16px!important;
    border-radius:10px!important;
    font-size:.85rem!important;
    font-weight:700!important;
  }
  body.zd-home-v225 .nav-caret{opacity:.72}
}

/* Mobile drawer: shape communicates clickability; typography no longer has to do all the work. */
@media (max-width:1120px){
  body.zd-home-v225 .nav-menu{gap:0!important;justify-content:flex-start!important}
  body.zd-home-v225 .nav-mobile-section-label{font-weight:650!important}
  body.zd-home-v225 .nav-primary-route{
    min-height:64px!important;
    margin:0 0 8px!important;
    padding:10px 12px!important;
    border:1px solid #dbe6e1!important;
    border-radius:12px!important;
    background:#fff!important;
    box-shadow:0 1px 0 rgba(18,61,49,.02)!important;
  }
  body.zd-home-v225 .nav-primary-route::after{right:12px!important;color:#6f837a!important}
  body.zd-home-v225 .nav-primary-route:hover,
  body.zd-home-v225 .nav-primary-route:focus-visible{
    background:#f5f9f7!important;
    border-color:#b9cfc5!important;
    outline:none!important;
  }
  body.zd-home-v225 .nav-primary-route.is-active{
    background:#eff6f2!important;
    border-color:#b3ccc1!important;
  }
  body.zd-home-v225 .nav-route-title{font-size:.98rem!important;font-weight:650!important;color:#173f34!important}
  body.zd-home-v225 .nav-route-meta{margin-top:3px!important;color:#5f746b!important;font-size:.78rem!important;font-weight:450!important}
  body.zd-home-v225 .nav-desktop-create{
    margin:4px 0 10px!important;
    min-height:48px!important;
    border-radius:12px!important;
    font-weight:700!important;
  }
  body.zd-home-v225 .nav-dropdown-project{
    margin:4px 0 0!important;
    padding-top:10px!important;
    border-top:1px solid #e1e9e5!important;
  }
  body.zd-home-v225 .nav-dropdown-project>.nav-dropdown-trigger,
  body.zd-home-v225 .nav-dropdown-cabinet>.nav-dropdown-trigger{
    min-height:48px!important;
    padding:10px 12px!important;
    border:1px solid #dbe6e1!important;
    border-radius:12px!important;
    background:#fff!important;
    color:#21483d!important;
    font-size:.94rem!important;
    font-weight:600!important;
  }
  body.zd-home-v225 .nav-dropdown-project[open]>.nav-dropdown-trigger,
  body.zd-home-v225 .nav-dropdown-cabinet[open]>.nav-dropdown-trigger{
    background:#f1f7f4!important;
    border-color:#b8d0c5!important;
  }
  body.zd-home-v225 .nav-dropdown-project>.nav-dropdown-panel,
  body.zd-home-v225 .nav-dropdown-cabinet>.nav-dropdown-panel{
    padding:6px 4px 2px 12px!important;
  }
  body.zd-home-v225 .nav-dropdown-project .nav-item,
  body.zd-home-v225 .nav-dropdown-cabinet .nav-item,
  body.zd-home-v225 .nav-dropdown-cabinet .nav-logout{
    font-weight:500!important;
  }
  body.zd-home-v225 .nav-mobile-cabinet-label{
    margin-top:12px!important;
    padding-top:12px!important;
  }
  body.zd-home-v225 .nav-guest-cabinet{
    min-height:46px!important;
    margin-top:2px!important;
    padding:10px 12px!important;
    border:1px solid #dbe6e1!important;
    border-radius:12px!important;
    background:#fff!important;
    color:#21483d!important;
    font-size:.94rem!important;
    font-weight:600!important;
    justify-content:flex-start!important;
  }
  body.zd-home-v225 .nav-guest-cabinet:hover,
  body.zd-home-v225 .nav-guest-cabinet:focus-visible{background:#f5f9f7!important;border-color:#b9cfc5!important;outline:none!important}
  body.zd-home-v225 .nav-mobile-add-bottom{
    margin-top:10px!important;
    padding-top:10px!important;
  }
  body.zd-home-v225 .nav-support-button{font-weight:600!important}
}

/* One floating-control language on every breakpoint: same circles, same hierarchy, same icon treatment. */
body.zd-home-v225 .floating-actions{
  right:max(18px,env(safe-area-inset-right))!important;
  bottom:max(22px,env(safe-area-inset-bottom))!important;
  gap:8px!important;
  align-items:center!important;
}
body.zd-home-v225 .floating-action{
  width:50px!important;
  height:50px!important;
  border:1px solid rgba(21,87,67,.20)!important;
  border-radius:999px!important;
  box-shadow:0 10px 26px rgba(18,61,49,.14)!important;
  transform:none!important;
}
body.zd-home-v225 .floating-actions .js-scroll-top{
  order:1!important;
  background:#155743!important;
  border-color:#155743!important;
  color:#fff!important;
}
body.zd-home-v225 .floating-actions .js-support-open{
  order:2!important;
  display:inline-grid!important;
  background:#fff!important;
  color:#155743!important;
}
body.zd-home-v225 .floating-action:hover,
body.zd-home-v225 .floating-action:focus-visible{box-shadow:0 12px 30px rgba(18,61,49,.20)!important;outline:2px solid rgba(21,87,67,.18)!important;outline-offset:2px!important}

@media (max-width:700px){
  body.zd-home-v225 .floating-actions{
    right:10px!important;
    bottom:calc(14px + env(safe-area-inset-bottom))!important;
  }
  body.zd-home-v225 .floating-action{width:44px!important;height:44px!important}
  body.zd-home-v225 .footer-inner{padding-bottom:86px!important}
}

@media (max-width:389px){
  body.zd-home-v225 .floating-actions{right:8px!important}
  body.zd-home-v225 .floating-action{width:42px!important;height:42px!important}
}


/* ZooDomik Design 2.0 — v0.1.71.16 final navigation balance */
/* Desktop: controls stay obviously interactive, but permanent outlines no longer compete with the primary CTA. */
@media (min-width:1121px){
  body.zd-home-v226 .nav-menu{gap:4px!important}
  body.zd-home-v226 .nav-primary-route,
  body.zd-home-v226 .nav-dropdown-project>.nav-dropdown-trigger,
  body.zd-home-v226 .nav-dropdown-cabinet>.nav-dropdown-trigger,
  body.zd-home-v226 .nav-guest-cabinet{
    min-height:40px!important;
    padding:8px 10px!important;
    border:1px solid transparent!important;
    border-radius:9px!important;
    background:#f8faf9!important;
    color:#31564b!important;
    font-size:.84rem!important;
    font-weight:500!important;
    box-shadow:none!important;
    transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease!important;
  }
  body.zd-home-v226 .nav-route-title{font-weight:500!important}
  body.zd-home-v226 .nav-primary-route:hover,
  body.zd-home-v226 .nav-primary-route:focus-visible,
  body.zd-home-v226 .nav-dropdown-project>.nav-dropdown-trigger:hover,
  body.zd-home-v226 .nav-dropdown-project>.nav-dropdown-trigger:focus-visible,
  body.zd-home-v226 .nav-dropdown-cabinet>.nav-dropdown-trigger:hover,
  body.zd-home-v226 .nav-dropdown-cabinet>.nav-dropdown-trigger:focus-visible,
  body.zd-home-v226 .nav-guest-cabinet:hover,
  body.zd-home-v226 .nav-guest-cabinet:focus-visible{
    background:#eef5f2!important;
    border-color:#c2d7ce!important;
    color:#103f32!important;
    box-shadow:0 3px 10px rgba(18,61,49,.055)!important;
    outline:none!important;
  }
  body.zd-home-v226 .nav-primary-route.is-active,
  body.zd-home-v226 .nav-dropdown-project[open]>.nav-dropdown-trigger,
  body.zd-home-v226 .nav-dropdown-cabinet[open]>.nav-dropdown-trigger{
    background:#e8f2ee!important;
    border-color:#b6cec4!important;
    color:#0f4b39!important;
    box-shadow:inset 0 0 0 1px rgba(21,87,67,.025)!important;
  }
  body.zd-home-v226 .nav-guest-cabinet{
    background:#fff!important;
    border-color:#dce7e2!important;
  }
  body.zd-home-v226 .nav-desktop-create{
    min-height:40px!important;
    padding:8px 16px!important;
    border-radius:9px!important;
    font-size:.85rem!important;
    font-weight:650!important;
    box-shadow:0 2px 8px rgba(18,61,49,.08)!important;
  }
  body.zd-home-v226 .nav-desktop-create:hover,
  body.zd-home-v226 .nav-desktop-create:focus-visible{
    box-shadow:0 5px 14px rgba(18,61,49,.14)!important;
  }
  body.zd-home-v226 .nav-caret{opacity:.66!important}
}

/* Mobile: button shape communicates action; typography stays calm and consistent. */
@media (max-width:1120px){
  body.zd-home-v226 .nav-route-title{font-weight:600!important}
  body.zd-home-v226 .nav-route-meta{font-weight:400!important;color:#667b72!important}
  body.zd-home-v226 .nav-mobile-section-label{font-weight:600!important;letter-spacing:.055em!important}
  body.zd-home-v226 .nav-dropdown-project>.nav-dropdown-trigger,
  body.zd-home-v226 .nav-dropdown-cabinet>.nav-dropdown-trigger,
  body.zd-home-v226 .nav-guest-cabinet{font-weight:500!important}
  body.zd-home-v226 .nav-support-button{font-weight:500!important}
  body.zd-home-v226 .nav-desktop-create{font-weight:650!important}
}

/* ZooDomik Design 2.0 — v0.1.71.17 footer finish + local auth test safety */
@media (max-width:700px){
  /* A calmer footer: one structural divider instead of a line under every link. */
  body.zd-home-v227 .footer-brand-line{
    padding-bottom:8px!important;
    border-bottom:0!important;
  }
  body.zd-home-v227 .footer-mobile-nav{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:2px 16px!important;
    padding:4px 0 10px!important;
    border-bottom:0!important;
  }
  body.zd-home-v227 .footer-mobile-nav a,
  body.zd-home-v227 .footer-mobile-nav button{
    min-height:36px!important;
    padding:5px 0!important;
    border:0!important;
    border-bottom:0!important;
    background:transparent!important;
    font-weight:560!important;
  }
  body.zd-home-v227 .footer-bottom-line{
    margin-top:2px!important;
    padding-top:12px!important;
    border-top:1px solid rgba(18,61,49,.10)!important;
  }
  body.zd-home-v227 .recaptcha-site-disclosure{margin-top:8px!important}

  /* Make support -> pets artwork -> footer read as one intentional surface. */
  body.zd-home-v227 .tech-support-panel{
    margin-bottom:0!important;
    padding-bottom:0!important;
  }
  body.zd-home-v227 .footer{
    margin-top:0!important;
    padding-top:24px!important;
    background:linear-gradient(180deg,#f5fbf6 0%,#f7fbf8 18%,#f8fbf8 40%,#fafbf9 68%,#fcfaf8 100%)!important;
  }
  body.zd-home-v227 .footer-pets-strip{
    margin:0!important;
    padding:0!important;
    background:#f7fbf8!important;
  }
  body.zd-home-v227 .footer-pets-strip picture,
  body.zd-home-v227 .footer-pets-strip img{
    display:block!important;
    width:100%!important;
    margin:0!important;
    background:#f7fbf8!important;
  }
  body.zd-home-v227 .footer-inner-rich{
    padding-top:16px!important;
    background:#fcfaf8!important;
  }
}

/* ZooDomik Design 2.0 — v0.1.71.18 mobile footer buttons + authenticated cabinet clarity */
@media (max-width:700px){
  /* Footer navigation: shape, not boldness, communicates that every item is actionable. */
  body.zd-home-v228 .footer-mobile-nav{
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    padding:8px 0 14px!important;
  }
  body.zd-home-v228 .footer-mobile-nav a,
  body.zd-home-v228 .footer-mobile-nav button{
    justify-content:center!important;
    min-height:42px!important;
    padding:8px 10px!important;
    border:1px solid #dce7e2!important;
    border-radius:10px!important;
    background:#fff!important;
    color:#31564b!important;
    font-size:.82rem!important;
    font-weight:500!important;
    line-height:1.2!important;
    text-align:center!important;
    box-shadow:none!important;
    transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease!important;
  }
  body.zd-home-v228 .footer-mobile-nav a:hover,
  body.zd-home-v228 .footer-mobile-nav a:focus-visible,
  body.zd-home-v228 .footer-mobile-nav button:hover,
  body.zd-home-v228 .footer-mobile-nav button:focus-visible{
    background:#eef5f2!important;
    border-color:#c2d7ce!important;
    color:#103f32!important;
    outline:none!important;
    box-shadow:0 3px 10px rgba(18,61,49,.055)!important;
  }
  /* The create route is important, but remains quieter here than the page's primary CTA. */
  body.zd-home-v228 .footer-mobile-nav a:nth-child(2){
    background:#f2f7f5!important;
    border-color:#c8dbd2!important;
    color:#174d3d!important;
  }

  /* Authenticated cabinet: its children must look like destinations, not loose text. */
  body.zd-home-v228 .nav-dropdown-cabinet>.nav-dropdown-panel{
    display:grid!important;
    gap:6px!important;
    padding:8px 0 2px!important;
  }
  body.zd-home-v228 .nav-dropdown-cabinet .nav-item,
  body.zd-home-v228 .nav-dropdown-cabinet .nav-logout{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:100%!important;
    min-height:42px!important;
    margin:0!important;
    padding:9px 11px!important;
    border:1px solid #dce7e2!important;
    border-radius:10px!important;
    background:#fff!important;
    color:#31564b!important;
    font-size:.88rem!important;
    font-weight:500!important;
    line-height:1.25!important;
    text-align:left!important;
    box-shadow:none!important;
  }
  body.zd-home-v228 .nav-dropdown-cabinet .nav-item:hover,
  body.zd-home-v228 .nav-dropdown-cabinet .nav-item:focus-visible,
  body.zd-home-v228 .nav-dropdown-cabinet .nav-logout:hover,
  body.zd-home-v228 .nav-dropdown-cabinet .nav-logout:focus-visible{
    background:#f3f8f5!important;
    border-color:#bdd3ca!important;
    color:#123f33!important;
    outline:none!important;
  }
  body.zd-home-v228 .nav-dropdown-cabinet .nav-item.is-active,
  body.zd-home-v228 .nav-dropdown-cabinet .nav-item:first-child{
    background:#eef6f2!important;
    border-color:#bfd5cb!important;
    color:#104b39!important;
  }
  body.zd-home-v228 .nav-dropdown-cabinet .nav-logout{
    color:#9b4038!important;
    border-color:#efd9d5!important;
    background:#fffafa!important;
  }
  body.zd-home-v228 .nav-dropdown-cabinet .nav-logout:hover,
  body.zd-home-v228 .nav-dropdown-cabinet .nav-logout:focus-visible{
    background:#fff3f1!important;
    border-color:#e6c2bc!important;
    color:#842f29!important;
  }
  body.zd-home-v228 .nav-logout-form{margin:0!important}
}

@media (max-width:389px){
  body.zd-home-v228 .footer-mobile-nav{gap:7px!important}
  body.zd-home-v228 .footer-mobile-nav a,
  body.zd-home-v228 .footer-mobile-nav button{min-height:40px!important;padding:7px 8px!important;font-size:.79rem!important}
}

/* V0.1.72.0 Design 2.0 — public catalog/search */
body.zd-catalog-v2{background:#f7faf8}
body.zd-catalog-v2 .catalog-page{width:min(1120px,calc(100% - 32px));padding-top:28px;padding-bottom:56px}
body.zd-catalog-v2 .catalog-breadcrumbs{margin:0 0 22px;color:#667a73;font-size:.86rem}
body.zd-catalog-v2 .catalog-breadcrumbs a{color:#365f52;text-decoration:none}
body.zd-catalog-v2 .catalog-breadcrumbs a:hover,body.zd-catalog-v2 .catalog-breadcrumbs a:focus-visible{color:#123d31;text-decoration:underline;text-underline-offset:3px}
body.zd-catalog-v2 .catalog-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:30px;align-items:end;margin-bottom:24px;padding:30px 32px;border:1px solid rgba(18,61,49,.10);border-radius:24px;background:linear-gradient(135deg,#eef7f2 0%,#fbfcfa 72%)}
body.zd-catalog-v2 .catalog-hero-copy{max-width:760px}
body.zd-catalog-v2 .catalog-hero .kicker,body.zd-catalog-v2 .catalog-search-head .kicker,body.zd-catalog-v2 .catalog-results-head .kicker{margin-bottom:8px;color:#477166;font-size:.76rem;font-weight:700;letter-spacing:.10em;text-transform:uppercase}
body.zd-catalog-v2 .catalog-hero h1{max-width:17ch;margin:0;color:#123d31;font-size:clamp(2.2rem,4.3vw,3.6rem);line-height:1.02;letter-spacing:-.035em}
body.zd-catalog-v2 .catalog-hero p{max-width:680px;margin:16px 0 0;color:#526e65;font-size:1rem;line-height:1.65}
body.zd-catalog-v2 .catalog-hero-action{min-width:160px;justify-content:center}
body.zd-catalog-v2 .catalog-section-label{margin:0 0 10px;color:#60766e;font-size:.82rem;font-weight:650}
body.zd-catalog-v2 .catalog-landing-nav{display:flex;gap:8px;align-items:center;overflow-x:auto;margin:0 0 18px;border:0;padding:0 0 6px;scrollbar-width:thin}
body.zd-catalog-v2 .catalog-landing-nav a{display:inline-flex;align-items:center;min-height:42px;flex:0 0 auto;border:1px solid rgba(18,61,49,.14);border-radius:12px;background:rgba(255,255,255,.76);padding:9px 13px;color:#355f52;font-weight:520;line-height:1.2;text-decoration:none;transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease}
body.zd-catalog-v2 .catalog-landing-nav a:hover,body.zd-catalog-v2 .catalog-landing-nav a:focus-visible{border-color:rgba(18,61,49,.30);background:#fff;color:#123d31;box-shadow:0 5px 16px rgba(18,61,49,.06)}
body.zd-catalog-v2 .catalog-landing-nav a[aria-current="page"]{border-color:#164c3b;background:#164c3b;color:#fff;font-weight:650}
body.zd-catalog-v2 .catalog-city-links,body.zd-catalog-v2 .catalog-local-context{margin:0 0 20px;border:0;border-radius:14px;background:#f1f6f3;padding:11px 14px}
body.zd-catalog-v2 .catalog-search-panel{margin:22px 0 28px;border:1px solid rgba(18,61,49,.12);border-radius:20px;background:#fff;padding:22px;box-shadow:0 12px 34px rgba(18,61,49,.05)}
body.zd-catalog-v2 .catalog-search-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,420px);gap:24px;align-items:end;margin-bottom:16px}
body.zd-catalog-v2 .catalog-search-head h2,body.zd-catalog-v2 .catalog-results-head h2{margin:0;color:#123d31;font-size:clamp(1.45rem,2.7vw,2rem);line-height:1.1;letter-spacing:-.025em}
body.zd-catalog-v2 .catalog-search-head p{margin:0;color:#60766e;line-height:1.55}
body.zd-catalog-v2 .catalog-toolbar{margin:0}
body.zd-catalog-v2 .catalog-filter-form{border:0;border-radius:0;background:transparent;padding:0}
body.zd-catalog-v2 .catalog-filter-fields{gap:12px}
body.zd-catalog-v2 .catalog-filter-field label{display:block;margin-bottom:7px;color:#47675d;font-size:.83rem;font-weight:600}
body.zd-catalog-v2 .catalog-filter-field select{min-height:48px;border:1px solid rgba(18,61,49,.16);border-radius:12px;background:#fbfcfb;color:#17352d;padding-inline:12px 38px}
body.zd-catalog-v2 .catalog-filter-field select:hover{border-color:rgba(18,61,49,.30);background:#fff}
body.zd-catalog-v2 .catalog-filter-field select:focus-visible{outline:3px solid rgba(33,99,79,.17);outline-offset:2px;border-color:#21634f}
body.zd-catalog-v2 .catalog-filter-actions{gap:8px}
body.zd-catalog-v2 .catalog-filter-actions .btn{min-height:48px;border-radius:12px;font-weight:650}
body.zd-catalog-v2 .catalog-results-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:end;margin:0 0 14px;border:0;border-radius:0;background:transparent;padding:0}
body.zd-catalog-v2 .catalog-results-head[hidden]{display:none!important}
body.zd-catalog-v2 .catalog-summary-meta{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px 14px;color:#62776f;font-size:.86rem}
body.zd-catalog-v2 .catalog-summary-meta strong{color:#123d31;font-size:1rem;font-weight:720}
body.zd-catalog-v2 .public-animal-grid-catalog{margin-top:0;gap:14px}
body.zd-catalog-v2 .public-animal-card{grid-template-columns:minmax(180px,210px) minmax(0,1fr);border-color:rgba(18,61,49,.12);border-radius:18px;box-shadow:0 12px 34px rgba(18,61,49,.065);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
body.zd-catalog-v2 .public-animal-card:hover{transform:translateY(-2px);border-color:rgba(18,61,49,.22);box-shadow:0 18px 38px rgba(18,61,49,.09)}
body.zd-catalog-v2 .public-animal-cover{min-height:230px;background:#eaf2ee}
body.zd-catalog-v2 .public-animal-body{gap:10px;padding:18px}
body.zd-catalog-v2 .public-animal-body .tag-row{gap:6px;margin:0}
body.zd-catalog-v2 .public-animal-body .tag{padding:5px 8px;border-radius:999px;background:#eef5f1;color:#355f52;font-size:.70rem;font-weight:650}
body.zd-catalog-v2 .public-animal-body .tag-status{background:#164c3b;color:#fff}
body.zd-catalog-v2 .public-animal-body h3{margin:2px 0 0;color:#123d31;font-size:1.22rem;line-height:1.18;letter-spacing:-.015em}
body.zd-catalog-v2 .public-animal-facts{gap:5px 12px;color:#657a72;font-size:.82rem}
body.zd-catalog-v2 .public-animal-facts strong{color:#47675d;font-weight:650}
body.zd-catalog-v2 .public-animal-body>p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;color:#5e736b;font-size:.90rem;line-height:1.5}
body.zd-catalog-v2 .public-animal-actions{margin-top:auto}
body.zd-catalog-v2 .public-animal-actions .btn{min-height:40px;border-radius:11px;font-weight:620}
body.zd-catalog-v2 .catalog-actions{margin-top:20px}
body.zd-catalog-v2 .catalog-actions .btn{min-width:190px}
body.zd-catalog-v2 .catalog-empty-panel{border-radius:18px;background:#fff;box-shadow:0 12px 34px rgba(18,61,49,.05)}
body.zd-catalog-v2 .catalog-seo-copy{gap:28px;margin-top:44px;border-top-color:rgba(18,61,49,.10)}
body.zd-catalog-v2 .catalog-seo-copy h2{color:#123d31;font-size:clamp(1.45rem,2.4vw,1.9rem)}
body.zd-catalog-v2 .catalog-seo-copy p{color:#60766e;line-height:1.65}
body.zd-catalog-v2 .catalog-related-section{margin-top:42px}
body.zd-catalog-v2 .catalog-related-card{border-radius:16px;background:#fff;box-shadow:none}
body.zd-catalog-v2 .catalog-filter-modal-card{border-radius:22px;background:#fff}
body.zd-catalog-v2 .catalog-filter-modal-lead{margin:8px 0 18px;color:#60766e;font-size:.92rem;line-height:1.5}
@media(max-width:1040px){body.zd-catalog-v2 .catalog-hero{grid-template-columns:1fr;align-items:start}body.zd-catalog-v2 .catalog-hero-action{width:max-content}body.zd-catalog-v2 .catalog-search-head{grid-template-columns:1fr;gap:8px}body.zd-catalog-v2 .public-animal-grid{grid-template-columns:1fr}}
@media(max-width:700px){body.zd-catalog-v2 .catalog-page{width:min(100%,620px);padding:18px 14px 34px}body.zd-catalog-v2 .catalog-breadcrumbs{margin-bottom:14px;font-size:.78rem}body.zd-catalog-v2 .catalog-breadcrumbs [aria-current="page"]{display:none}body.zd-catalog-v2 .catalog-hero{gap:18px;margin-bottom:18px;padding:22px 18px;border-radius:18px}body.zd-catalog-v2 .catalog-hero h1{max-width:15ch;font-size:clamp(2rem,10vw,2.55rem)}body.zd-catalog-v2 .catalog-hero p{margin-top:12px;font-size:.92rem;line-height:1.55}body.zd-catalog-v2 .catalog-hero-action{width:100%}body.zd-catalog-v2 .catalog-section-label{margin-left:2px}body.zd-catalog-v2 .catalog-landing-nav{margin-right:-14px;padding-right:14px}body.zd-catalog-v2 .catalog-landing-nav a{min-height:40px;padding:8px 11px;font-size:.86rem}body.zd-catalog-v2 .catalog-city-links,body.zd-catalog-v2 .catalog-local-context{margin-bottom:16px}body.zd-catalog-v2 .catalog-search-panel{margin:16px 0 24px;padding:16px;border-radius:16px}body.zd-catalog-v2 .catalog-search-head{margin-bottom:12px}body.zd-catalog-v2 .catalog-search-head h2{font-size:1.42rem}body.zd-catalog-v2 .catalog-search-head p{font-size:.86rem}body.zd-catalog-v2 .catalog-filter-mobile-open{min-height:48px;justify-content:center;border-radius:12px}body.zd-catalog-v2 .catalog-results-head{grid-template-columns:1fr;gap:7px;margin-bottom:12px}body.zd-catalog-v2 .catalog-results-head h2{font-size:1.5rem}body.zd-catalog-v2 .catalog-summary-meta{justify-content:flex-start;font-size:.80rem}body.zd-catalog-v2 .catalog-summary-visible{display:none}body.zd-catalog-v2 .public-animal-card{grid-template-columns:1fr;border-radius:16px}body.zd-catalog-v2 .public-animal-cover{min-height:0;height:auto;aspect-ratio:16/10}body.zd-catalog-v2 .public-animal-body{padding:15px}body.zd-catalog-v2 .public-animal-body h3{font-size:1.12rem}body.zd-catalog-v2 .public-animal-body>p{-webkit-line-clamp:2;font-size:.86rem}body.zd-catalog-v2 .public-animal-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}body.zd-catalog-v2 .public-animal-actions .btn{width:100%;justify-content:center}body.zd-catalog-v2 .catalog-actions .btn{width:100%}body.zd-catalog-v2 .catalog-seo-copy{margin-top:34px;padding-top:24px}}


/* ZooDomik v0.1.72.1 — catalog shell integration and responsive cleanup */
/* The catalog now uses the same header/footer interaction language as the finished home page. */
@media (min-width:1121px){
  body.zd-catalog-v21 .nav{width:min(1240px,calc(100% - 40px));min-height:72px;gap:14px}
  body.zd-catalog-v21 .brand img{width:42px;height:42px}
  body.zd-catalog-v21 .brand-name{font-size:1.08rem}
  body.zd-catalog-v21 .brand-slogan{font-size:.66rem}
  body.zd-catalog-v21 .nav-menu{grid-column:2/4;gap:4px!important;justify-content:flex-end;align-items:center}
  body.zd-catalog-v21 .nav-mobile-section-label{display:none!important}
  body.zd-catalog-v21 .nav-route-meta{display:none!important}
  body.zd-catalog-v21 .nav-primary-route,
  body.zd-catalog-v21 .nav-dropdown-project>.nav-dropdown-trigger,
  body.zd-catalog-v21 .nav-dropdown-cabinet>.nav-dropdown-trigger,
  body.zd-catalog-v21 .nav-guest-cabinet{
    position:relative!important;display:inline-flex!important;width:auto!important;min-width:max-content!important;min-height:40px!important;
    align-items:center!important;justify-content:center!important;margin:0!important;padding:8px 10px!important;
    border:1px solid transparent!important;border-radius:9px!important;background:#f8faf9!important;
    color:#31564b!important;font-size:.84rem!important;font-weight:500!important;line-height:1.15!important;
    box-shadow:none!important;transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease!important;
  }
  body.zd-catalog-v21 .nav-route-title{font-weight:500!important}
  body.zd-catalog-v21 .nav-primary-route:hover,
  body.zd-catalog-v21 .nav-primary-route:focus-visible,
  body.zd-catalog-v21 .nav-dropdown-project>.nav-dropdown-trigger:hover,
  body.zd-catalog-v21 .nav-dropdown-project>.nav-dropdown-trigger:focus-visible,
  body.zd-catalog-v21 .nav-dropdown-cabinet>.nav-dropdown-trigger:hover,
  body.zd-catalog-v21 .nav-dropdown-cabinet>.nav-dropdown-trigger:focus-visible,
  body.zd-catalog-v21 .nav-guest-cabinet:hover,
  body.zd-catalog-v21 .nav-guest-cabinet:focus-visible{
    background:#eef5f2!important;border-color:#c2d7ce!important;color:#103f32!important;box-shadow:0 3px 10px rgba(18,61,49,.055)!important;outline:none!important
  }
  body.zd-catalog-v21 .nav-primary-route.is-active,
  body.zd-catalog-v21 .nav-dropdown-project[open]>.nav-dropdown-trigger,
  body.zd-catalog-v21 .nav-dropdown-cabinet[open]>.nav-dropdown-trigger{
    background:#e8f2ee!important;border-color:#b6cec4!important;color:#0f4b39!important
  }
  body.zd-catalog-v21 .nav-primary-search{order:10!important}
  body.zd-catalog-v21 .nav-primary-lost{order:11!important}
  body.zd-catalog-v21 .nav-primary-found{order:12!important}
  body.zd-catalog-v21 .nav-primary-family{order:13!important}
  body.zd-catalog-v21 .nav-dropdown-project{order:20!important;position:relative!important;margin-left:3px!important}
  body.zd-catalog-v21 .nav-dropdown-cabinet,
  body.zd-catalog-v21 .nav-guest-cabinet{order:30!important;position:relative!important;margin-left:3px!important}
  body.zd-catalog-v21 .nav-guest-cabinet{background:#fff!important;border-color:#dce7e2!important}
  body.zd-catalog-v21 .nav-desktop-create{
    order:40!important;display:inline-flex!important;width:auto!important;min-width:max-content!important;min-height:40px!important;
    margin:0 0 0 6px!important;padding:8px 16px!important;border:1px solid #155743!important;border-radius:9px!important;
    background:#155743!important;color:#fff!important;font-size:.85rem!important;font-weight:650!important;box-shadow:0 2px 8px rgba(18,61,49,.08)!important
  }
  body.zd-catalog-v21 .nav-desktop-create:hover,
  body.zd-catalog-v21 .nav-desktop-create:focus-visible{background:#0f4435!important;border-color:#0f4435!important;box-shadow:0 5px 14px rgba(18,61,49,.14)!important}
  body.zd-catalog-v21 .nav-dropdown-panel{top:calc(100% + 8px)!important;min-width:224px!important;border-radius:14px!important;padding:6px!important;background:#fff!important;box-shadow:0 16px 40px rgba(20,58,47,.14)!important}
  body.zd-catalog-v21 .nav-dropdown-project>.nav-dropdown-panel,
  body.zd-catalog-v21 .nav-dropdown-cabinet>.nav-dropdown-panel{left:auto!important;right:0!important}
  body.zd-catalog-v21 .nav-dropdown-panel .nav-item,
  body.zd-catalog-v21 .nav-dropdown-panel .nav-logout{min-height:42px!important;padding:10px 12px!important;border-radius:9px!important;font-size:.88rem!important}
  body.zd-catalog-v21 .nav-caret{opacity:.66!important}
}

@media (max-width:1120px){
  body.zd-catalog-v21 .nav{width:calc(100% - 28px);padding:9px 0}
  body.zd-catalog-v21 .brand img{width:40px;height:40px}
  body.zd-catalog-v21 .nav-menu-toggle{width:auto;height:44px;padding:0 13px;border-radius:12px;gap:9px}
  body.zd-catalog-v21 .nav-menu{display:flex!important;flex-direction:column!important;gap:0!important;justify-content:flex-start!important;padding:max(12px,env(safe-area-inset-top)) 16px max(18px,env(safe-area-inset-bottom))!important;background:#fffdf9!important}
  body.zd-catalog-v21 .nav-menu-head{margin:0 0 14px!important;padding-bottom:12px!important;border-bottom:1px solid #e0e8e3!important}
  body.zd-catalog-v21 .nav-menu-close{min-width:0;height:42px;padding:0 12px;border-radius:12px}
  body.zd-catalog-v21 .nav-mobile-section-label{margin:0!important;padding:8px 4px 7px!important;border:0!important;color:#6a7b74!important;font-size:.72rem!important;font-weight:600!important;letter-spacing:.055em!important;text-transform:uppercase!important}
  body.zd-catalog-v21 .nav-mobile-main-label{order:10!important}
  body.zd-catalog-v21 .nav-primary-route{
    position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) 24px!important;grid-template-rows:auto auto!important;
    width:100%!important;min-height:64px!important;margin:0 0 8px!important;padding:10px 12px!important;
    border:1px solid #dbe6e1!important;border-radius:12px!important;background:#fff!important;box-shadow:0 1px 0 rgba(18,61,49,.02)!important;
    color:#153f34!important;text-align:left!important;white-space:normal!important
  }
  body.zd-catalog-v21 .nav-primary-search{order:11!important}
  body.zd-catalog-v21 .nav-primary-lost{order:12!important}
  body.zd-catalog-v21 .nav-primary-found{order:13!important}
  body.zd-catalog-v21 .nav-primary-family{order:14!important}
  body.zd-catalog-v21 .nav-primary-route::after{content:'›';grid-column:2;grid-row:1/3;align-self:center;justify-self:end;color:#6f837a;font-size:1.35rem;font-weight:500}
  body.zd-catalog-v21 .nav-primary-route:hover,
  body.zd-catalog-v21 .nav-primary-route:focus-visible{background:#f5f9f7!important;border-color:#b9cfc5!important;outline:none!important}
  body.zd-catalog-v21 .nav-primary-route.is-active{background:#eff6f2!important;border-color:#b3ccc1!important}
  body.zd-catalog-v21 .nav-route-title{grid-column:1;grid-row:1;font-size:.98rem!important;font-weight:600!important;line-height:1.2!important;color:#173f34!important}
  body.zd-catalog-v21 .nav-route-meta{display:block!important;grid-column:1;grid-row:2;margin-top:3px!important;color:#667b72!important;font-size:.78rem!important;font-weight:400!important;line-height:1.3!important}
  body.zd-catalog-v21 .nav-desktop-create{
    order:15!important;display:flex!important;width:100%!important;min-height:48px!important;margin:4px 0 10px!important;padding:12px 16px!important;
    justify-content:center!important;border:1px solid #155743!important;border-radius:12px!important;background:#155743!important;color:#fff!important;font-size:.96rem!important;font-weight:650!important
  }
  body.zd-catalog-v21 .nav-dropdown-project{order:20!important;width:100%!important;margin:4px 0 0!important;padding-top:10px!important;border-top:1px solid #e1e9e5!important}
  body.zd-catalog-v21 .nav-dropdown-project>.nav-dropdown-trigger,
  body.zd-catalog-v21 .nav-dropdown-cabinet>.nav-dropdown-trigger{
    width:100%!important;min-height:48px!important;padding:10px 12px!important;border:1px solid #dbe6e1!important;border-radius:12px!important;
    background:#fff!important;justify-content:space-between!important;color:#21483d!important;font-size:.94rem!important;font-weight:500!important
  }
  body.zd-catalog-v21 .nav-dropdown-project[open]>.nav-dropdown-trigger,
  body.zd-catalog-v21 .nav-dropdown-cabinet[open]>.nav-dropdown-trigger{background:#f1f7f4!important;border-color:#b8d0c5!important}
  body.zd-catalog-v21 .nav-dropdown-project>.nav-dropdown-panel,
  body.zd-catalog-v21 .nav-dropdown-cabinet>.nav-dropdown-panel{padding:8px 0 2px!important;border:0!important;background:transparent!important;box-shadow:none!important}
  body.zd-catalog-v21 .nav-mobile-cabinet-label{order:30!important;margin-top:12px!important;padding-top:12px!important;border-top:1px solid #dfe8e3!important}
  body.zd-catalog-v21 .nav-dropdown-cabinet,
  body.zd-catalog-v21 .nav-guest-cabinet{order:31!important;width:100%!important}
  body.zd-catalog-v21 .nav-guest-cabinet{display:flex!important;min-height:46px!important;margin-top:2px!important;padding:10px 12px!important;border:1px solid #dbe6e1!important;border-radius:12px!important;background:#fff!important;color:#21483d!important;font-size:.94rem!important;font-weight:500!important;justify-content:flex-start!important}
  body.zd-catalog-v21 .nav-dropdown-cabinet>.nav-dropdown-panel{display:grid!important;gap:6px!important}
  body.zd-catalog-v21 .nav-dropdown-cabinet .nav-item,
  body.zd-catalog-v21 .nav-dropdown-cabinet .nav-logout{
    display:flex!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;min-height:42px!important;margin:0!important;padding:9px 11px!important;
    border:1px solid #dce7e2!important;border-radius:10px!important;background:#fff!important;color:#31564b!important;font-size:.88rem!important;font-weight:500!important;line-height:1.25!important;text-align:left!important
  }
  body.zd-catalog-v21 .nav-dropdown-cabinet .nav-item:hover,
  body.zd-catalog-v21 .nav-dropdown-cabinet .nav-item:focus-visible{background:#f3f8f5!important;border-color:#bdd3ca!important;color:#123f33!important;outline:none!important}
  body.zd-catalog-v21 .nav-dropdown-cabinet .nav-item.is-active,
  body.zd-catalog-v21 .nav-dropdown-cabinet .nav-item:first-child{background:#eef6f2!important;border-color:#bfd5cb!important;color:#104b39!important}
  body.zd-catalog-v21 .nav-dropdown-cabinet .nav-logout{color:#9b4038!important;border-color:#efd9d5!important;background:#fffafa!important}
  body.zd-catalog-v21 .nav-logout-form{margin:0!important}
  body.zd-catalog-v21 .nav-mobile-add-bottom{order:40!important;margin-top:10px!important;padding-top:10px!important;border-top:1px solid #dfe8e3!important}
  body.zd-catalog-v21 .nav-support-button{font-weight:500!important}
}

/* Footer and floating helpers keep the home-page Design 2.0 language. */
body.zd-catalog-v21 .floating-actions{right:max(18px,env(safe-area-inset-right))!important;bottom:max(22px,env(safe-area-inset-bottom))!important;gap:8px!important;align-items:center!important}
body.zd-catalog-v21 .floating-action{width:50px!important;height:50px!important;border:1px solid rgba(21,87,67,.20)!important;border-radius:999px!important;box-shadow:0 10px 26px rgba(18,61,49,.14)!important;transform:none!important}
body.zd-catalog-v21 .floating-actions .js-scroll-top{order:1!important;background:#155743!important;border-color:#155743!important;color:#fff!important}
body.zd-catalog-v21 .floating-actions .js-support-open{order:2!important;display:inline-grid!important;background:#fff!important;color:#155743!important}
body.zd-catalog-v21 .floating-action:hover,
body.zd-catalog-v21 .floating-action:focus-visible{box-shadow:0 12px 30px rgba(18,61,49,.20)!important;outline:2px solid rgba(21,87,67,.18)!important;outline-offset:2px!important}

@media (max-width:700px){
  body.zd-catalog-v21 .floating-actions{right:10px!important;bottom:calc(14px + env(safe-area-inset-bottom))!important}
  body.zd-catalog-v21 .floating-action{width:44px!important;height:44px!important}
  body.zd-catalog-v21 .footer{margin-top:0!important;padding-top:24px!important;background:linear-gradient(180deg,#f5fbf6 0%,#f7fbf8 18%,#f8fbf8 40%,#fafbf9 68%,#fcfaf8 100%)!important}
  body.zd-catalog-v21 .footer-pets-strip{margin:0!important;padding:0!important;background:#f7fbf8!important}
  body.zd-catalog-v21 .footer-pets-strip picture,
  body.zd-catalog-v21 .footer-pets-strip img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;margin:0!important;background:#f7fbf8!important;object-fit:contain!important}
  body.zd-catalog-v21 .footer-inner-rich{padding-top:16px!important;padding-bottom:86px!important;background:#fcfaf8!important}
  body.zd-catalog-v21 .footer-brand-line{padding-bottom:8px!important;border-bottom:0!important}
  body.zd-catalog-v21 .footer-mobile-nav{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;padding:8px 0 14px!important;border-bottom:0!important}
  body.zd-catalog-v21 .footer-mobile-nav a,
  body.zd-catalog-v21 .footer-mobile-nav button{
    display:flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;padding:8px 10px!important;border:1px solid #dce7e2!important;border-radius:10px!important;
    background:#fff!important;color:#31564b!important;font-size:.82rem!important;font-weight:500!important;line-height:1.2!important;text-align:center!important;box-shadow:none!important
  }
  body.zd-catalog-v21 .footer-mobile-nav a:nth-child(2){background:#f2f7f5!important;border-color:#c8dbd2!important;color:#174d3d!important}
  body.zd-catalog-v21 .footer-bottom-line{margin-top:2px!important;padding-top:12px!important;border-top:1px solid rgba(18,61,49,.10)!important}
  body.zd-catalog-v21 .recaptcha-site-disclosure{margin-top:8px!important}
}
@media (max-width:389px){
  body.zd-catalog-v21 .floating-actions{right:8px!important}
  body.zd-catalog-v21 .floating-action{width:42px!important;height:42px!important}
  body.zd-catalog-v21 .footer-mobile-nav{gap:7px!important}
  body.zd-catalog-v21 .footer-mobile-nav a,
  body.zd-catalog-v21 .footer-mobile-nav button{min-height:40px!important;padding:7px 8px!important;font-size:.79rem!important}
}

/* Catalog polish: no desktop horizontal scroller and clearer filter proportions. */
@media (min-width:701px){
  body.zd-catalog-v21 .catalog-landing-nav{flex-wrap:wrap!important;overflow:visible!important;padding-bottom:0!important;scrollbar-width:none!important}
  body.zd-catalog-v21 .catalog-landing-nav::-webkit-scrollbar{display:none!important}
}
@media (min-width:921px){
  body.zd-catalog-v21 .catalog-filter-fields{grid-template-columns:minmax(205px,1.15fr) minmax(145px,.82fr) minmax(130px,.72fr) minmax(205px,1.15fr)!important}
}
@media (max-width:700px){
  body.zd-catalog-v21 .catalog-landing-nav{scroll-padding-left:0}
  body.zd-catalog-v21 .catalog-seo-copy{gap:18px!important}
  body.zd-catalog-v21 .catalog-related-section{margin-top:34px!important}
}

/* ZooDomik v0.1.72.2 — shared shell + robust catalog navigation/filter layout */

/* Shared reCAPTCHA disclosure: one placement on every page/template. */
html body .footer .zd-shared-recaptcha{
  width:100%!important;
  max-width:760px!important;
  margin:10px auto 0!important;
  text-align:center!important;
}

/* The shared floating controls use one visual language everywhere. */
html body .zd-shared-floating-actions{
  right:max(18px,env(safe-area-inset-right))!important;
  bottom:max(22px,env(safe-area-inset-bottom))!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  gap:8px!important;
}
html body .zd-shared-floating-actions .floating-action{
  width:50px!important;
  height:50px!important;
  border:1px solid rgba(21,87,67,.20)!important;
  border-radius:999px!important;
  box-shadow:0 10px 26px rgba(18,61,49,.14)!important;
}
html body .zd-shared-floating-actions .js-scroll-top{
  order:1!important;
  background:#155743!important;
  border-color:#155743!important;
  color:#fff!important;
}
html body .zd-shared-floating-actions .js-support-open{
  order:2!important;
  display:inline-grid!important;
  background:#fff!important;
  color:#155743!important;
}
html body .zd-shared-floating-actions .floating-action:hover,
html body .zd-shared-floating-actions .floating-action:focus-visible{
  outline:2px solid rgba(21,87,67,.18)!important;
  outline-offset:2px!important;
  box-shadow:0 12px 30px rgba(18,61,49,.20)!important;
}

/* Mobile shell is intentionally global: every template gets the same menu. */
@media (max-width:1120px){
  html body .nav .zd-shared-nav-menu{
    display:none!important;
    position:fixed!important;
    inset:0!important;
    z-index:1000!important;
    width:100%!important;
    height:100dvh!important;
    min-width:0!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:0!important;
    overflow-y:auto!important;
    border:0!important;
    border-radius:0!important;
    background:#fffdf9!important;
    box-shadow:none!important;
    padding:max(12px,env(safe-area-inset-top)) 16px max(18px,env(safe-area-inset-bottom))!important;
  }
  html body .nav .zd-shared-nav-menu.is-open{display:flex!important}
  html body.nav-lock{overflow:hidden!important}

  html body .nav .zd-shared-nav-menu .nav-menu-head{
    margin:0 0 14px!important;
    padding-bottom:12px!important;
    border-bottom:1px solid #e0e8e3!important;
  }
  html body .nav .zd-shared-nav-menu .nav-menu-close{
    min-width:0!important;
    height:42px!important;
    padding:0 12px!important;
    border-radius:12px!important;
  }
  html body .nav .zd-shared-nav-menu .nav-mobile-section-label{
    margin:0!important;
    padding:8px 4px 7px!important;
    border:0!important;
    color:#6a7b74!important;
    font-size:.72rem!important;
    font-weight:600!important;
    letter-spacing:.055em!important;
    text-transform:uppercase!important;
  }
  html body .nav .zd-shared-nav-menu .nav-mobile-main-label{order:10!important}
  html body .nav .zd-shared-nav-menu .nav-primary-search{order:11!important}
  html body .nav .zd-shared-nav-menu .nav-primary-lost{order:12!important}
  html body .nav .zd-shared-nav-menu .nav-primary-found{order:13!important}
  html body .nav .zd-shared-nav-menu .nav-primary-family{order:14!important}
  html body .nav .zd-shared-nav-menu .nav-primary-route{
    position:relative!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 24px!important;
    grid-template-rows:auto auto!important;
    width:100%!important;
    min-height:64px!important;
    margin:0 0 8px!important;
    padding:10px 12px!important;
    border:1px solid #dbe6e1!important;
    border-radius:12px!important;
    background:#fff!important;
    color:#153f34!important;
    text-align:left!important;
    white-space:normal!important;
    box-shadow:0 1px 0 rgba(18,61,49,.02)!important;
  }
  html body .nav .zd-shared-nav-menu .nav-primary-route::after{
    content:'›';
    grid-column:2;
    grid-row:1/3;
    align-self:center;
    justify-self:end;
    color:#6f837a;
    font-size:1.35rem;
    font-weight:500;
  }
  html body .nav .zd-shared-nav-menu .nav-route-title{
    grid-column:1;
    grid-row:1;
    color:#173f34!important;
    font-size:.98rem!important;
    font-weight:600!important;
    line-height:1.2!important;
  }
  html body .nav .zd-shared-nav-menu .nav-route-meta{
    display:block!important;
    grid-column:1;
    grid-row:2;
    margin-top:3px!important;
    color:#667b72!important;
    font-size:.78rem!important;
    font-weight:400!important;
    line-height:1.3!important;
  }
  html body .nav .zd-shared-nav-menu .nav-primary-route:hover,
  html body .nav .zd-shared-nav-menu .nav-primary-route:focus-visible{
    background:#f5f9f7!important;
    border-color:#b9cfc5!important;
    outline:none!important;
  }
  html body .nav .zd-shared-nav-menu .nav-primary-route.is-active{
    background:#eff6f2!important;
    border-color:#b3ccc1!important;
  }
  html body .nav .zd-shared-nav-menu .nav-desktop-create{
    order:15!important;
    display:flex!important;
    width:100%!important;
    min-height:48px!important;
    margin:4px 0 10px!important;
    padding:12px 16px!important;
    justify-content:center!important;
    border:1px solid #155743!important;
    border-radius:12px!important;
    background:#155743!important;
    color:#fff!important;
    font-size:.96rem!important;
    font-weight:650!important;
  }
  html body .nav .zd-shared-nav-menu .nav-dropdown-project{
    order:20!important;
    width:100%!important;
    margin:4px 0 0!important;
    padding-top:10px!important;
    border-top:1px solid #e1e9e5!important;
  }
  html body .nav .zd-shared-nav-menu .nav-dropdown-project>.nav-dropdown-trigger,
  html body .nav .zd-shared-nav-menu .nav-dropdown-cabinet>.nav-dropdown-trigger{
    width:100%!important;
    min-height:48px!important;
    padding:10px 12px!important;
    border:1px solid #dbe6e1!important;
    border-radius:12px!important;
    background:#fff!important;
    justify-content:space-between!important;
    color:#21483d!important;
    font-size:.94rem!important;
    font-weight:500!important;
  }
  html body .nav .zd-shared-nav-menu .nav-dropdown-project[open]>.nav-dropdown-trigger,
  html body .nav .zd-shared-nav-menu .nav-dropdown-cabinet[open]>.nav-dropdown-trigger{
    background:#f1f7f4!important;
    border-color:#b8d0c5!important;
  }
  html body .nav .zd-shared-nav-menu .nav-dropdown-project>.nav-dropdown-panel,
  html body .nav .zd-shared-nav-menu .nav-dropdown-cabinet>.nav-dropdown-panel{
    padding:8px 0 2px!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  html body .nav .zd-shared-nav-menu .nav-mobile-cabinet-label{
    order:30!important;
    margin-top:12px!important;
    padding-top:12px!important;
    border-top:1px solid #dfe8e3!important;
  }
  html body .nav .zd-shared-nav-menu .nav-dropdown-cabinet,
  html body .nav .zd-shared-nav-menu .nav-guest-cabinet{
    order:31!important;
    width:100%!important;
  }
  html body .nav .zd-shared-nav-menu .nav-guest-cabinet{
    display:flex!important;
    min-height:46px!important;
    margin-top:2px!important;
    padding:10px 12px!important;
    border:1px solid #dbe6e1!important;
    border-radius:12px!important;
    background:#fff!important;
    color:#21483d!important;
    font-size:.94rem!important;
    font-weight:500!important;
    justify-content:flex-start!important;
  }
  html body .nav .zd-shared-nav-menu .nav-dropdown-cabinet>.nav-dropdown-panel{
    display:grid!important;
    gap:6px!important;
  }
  html body .nav .zd-shared-nav-menu .nav-dropdown-cabinet .nav-item,
  html body .nav .zd-shared-nav-menu .nav-dropdown-cabinet .nav-logout{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:100%!important;
    min-height:42px!important;
    margin:0!important;
    padding:9px 11px!important;
    border:1px solid #dce7e2!important;
    border-radius:10px!important;
    background:#fff!important;
    color:#31564b!important;
    font-size:.88rem!important;
    font-weight:500!important;
    line-height:1.25!important;
    text-align:left!important;
  }
  html body .nav .zd-shared-nav-menu .nav-dropdown-cabinet .nav-item:hover,
  html body .nav .zd-shared-nav-menu .nav-dropdown-cabinet .nav-item:focus-visible,
  html body .nav .zd-shared-nav-menu .nav-dropdown-cabinet .nav-logout:hover,
  html body .nav .zd-shared-nav-menu .nav-dropdown-cabinet .nav-logout:focus-visible{
    background:#f3f8f5!important;
    border-color:#bdd3ca!important;
    color:#123f33!important;
    outline:none!important;
  }
  html body .nav .zd-shared-nav-menu .nav-dropdown-cabinet .nav-item.is-active,
  html body .nav .zd-shared-nav-menu .nav-dropdown-cabinet .nav-item:first-child{
    background:#eef6f2!important;
    border-color:#bfd5cb!important;
    color:#104b39!important;
  }
  html body .nav .zd-shared-nav-menu .nav-dropdown-cabinet .nav-logout{
    color:#9b4038!important;
    border-color:#efd9d5!important;
    background:#fffafa!important;
  }
  html body .nav .zd-shared-nav-menu .nav-logout-form{margin:0!important}
  html body .nav .zd-shared-nav-menu .nav-mobile-add-bottom{
    order:40!important;
    margin-top:10px!important;
    padding-top:10px!important;
    border-top:1px solid #dfe8e3!important;
  }
  html body .nav .zd-shared-nav-menu .nav-support-button{font-weight:500!important}
}

/* Shared mobile support/footer surface across every template. */
@media (max-width:700px){
  html body .zd-shared-support-panel{
    width:auto!important;
    margin:18px 14px 0!important;
    padding:0!important;
  }
  html body .zd-shared-support-panel .tech-support-inner{
    grid-template-columns:40px minmax(0,1fr)!important;
    gap:10px!important;
    padding:14px!important;
    border-radius:15px!important;
    box-shadow:none!important;
  }
  html body .zd-shared-support-panel .tech-support-icon{
    width:40px!important;
    height:40px!important;
    border-radius:12px!important;
  }
  html body .zd-shared-support-panel .tech-support-inner p{
    font-size:.86rem!important;
    line-height:1.45!important;
  }
  html body .zd-shared-support-panel .tech-support-inner>.btn{
    grid-column:1/-1!important;
    width:100%!important;
    min-height:44px!important;
    margin-top:4px!important;
  }
  html body .zd-shared-footer{
    margin-top:0!important;
    padding-top:24px!important;
    background:linear-gradient(180deg,#f5fbf6 0%,#f7fbf8 18%,#f8fbf8 40%,#fafbf9 68%,#fcfaf8 100%)!important;
  }
  html body .zd-shared-footer .footer-pets-strip{
    margin:0!important;
    padding:0!important;
    background:#f7fbf8!important;
  }
  html body .zd-shared-footer .footer-pets-strip picture,
  html body .zd-shared-footer .footer-pets-strip img{
    display:block!important;
    width:100%!important;
    height:auto!important;
    max-height:none!important;
    margin:0!important;
    background:#f7fbf8!important;
    object-fit:contain!important;
  }
  html body .zd-shared-footer .footer-inner-rich{
    padding-top:16px!important;
    padding-bottom:86px!important;
    background:#fcfaf8!important;
  }
  html body .zd-shared-footer .footer-brand-line{
    padding-bottom:8px!important;
    border-bottom:0!important;
  }
  html body .zd-shared-footer .zd-shared-footer-nav{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    padding:8px 0 14px!important;
    border-bottom:0!important;
  }
  html body .zd-shared-footer .zd-shared-footer-nav a,
  html body .zd-shared-footer .zd-shared-footer-nav button{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:42px!important;
    padding:8px 10px!important;
    border:1px solid #dce7e2!important;
    border-radius:10px!important;
    background:#fff!important;
    color:#31564b!important;
    font-size:.82rem!important;
    font-weight:500!important;
    line-height:1.2!important;
    text-align:center!important;
    box-shadow:none!important;
  }
  html body .zd-shared-footer .zd-shared-footer-nav a:hover,
  html body .zd-shared-footer .zd-shared-footer-nav a:focus-visible,
  html body .zd-shared-footer .zd-shared-footer-nav button:hover,
  html body .zd-shared-footer .zd-shared-footer-nav button:focus-visible{
    background:#eef5f2!important;
    border-color:#c2d7ce!important;
    color:#103f32!important;
    outline:none!important;
  }
  html body .zd-shared-footer .zd-shared-footer-nav a:nth-child(2){
    background:#f2f7f5!important;
    border-color:#c8dbd2!important;
    color:#174d3d!important;
  }
  html body .zd-shared-footer .footer-bottom-line{
    margin-top:2px!important;
    padding-top:12px!important;
    border-top:1px solid rgba(18,61,49,.10)!important;
  }
  html body .zd-shared-floating-actions{
    right:10px!important;
    bottom:calc(14px + env(safe-area-inset-bottom))!important;
  }
  html body .zd-shared-floating-actions .floating-action{
    width:44px!important;
    height:44px!important;
  }
}
@media (max-width:389px){
  html body .zd-shared-footer .zd-shared-footer-nav{gap:7px!important}
  html body .zd-shared-footer .zd-shared-footer-nav a,
  html body .zd-shared-footer .zd-shared-footer-nav button{
    min-height:40px!important;
    padding:7px 8px!important;
    font-size:.79rem!important;
  }
  html body .zd-shared-floating-actions{right:8px!important}
  html body .zd-shared-floating-actions .floating-action{width:42px!important;height:42px!important}
}

/* Catalog filters reserve space for real-world long labels and values. */
@media (min-width:921px){
  body.zd-catalog-v22 .catalog-filter-form-desktop{
    grid-template-columns:minmax(0,1fr)!important;
    align-items:stretch!important;
  }
  body.zd-catalog-v22 .catalog-filter-form-desktop .catalog-filter-fields{
    grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;
    width:100%!important;
  }
  body.zd-catalog-v22 .catalog-filter-form-desktop .catalog-filter-actions{
    justify-content:flex-end!important;
    grid-column:auto!important;
  }
}
body.zd-catalog-v22 .catalog-filter-field select{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body.zd-catalog-v22 .catalog-filter-field label{
  min-height:1.35em;
  overflow-wrap:anywhere;
}

/* Navigation directions reflect actual active cards; wrapping stays clean at every width. */
body.zd-catalog-v22 .catalog-landing-nav{
  align-items:stretch!important;
}
body.zd-catalog-v22 .catalog-landing-nav a{
  white-space:normal!important;
  text-align:center!important;
  justify-content:center!important;
}

/* ZooDomik v0.1.72.3 — search-first catalog, no carousel, compact contextual copy */
body.zd-catalog-v23 .catalog-page{padding-bottom:42px}
body.zd-catalog-v23 .catalog-hero-search{
  display:block;
  margin-bottom:18px;
  padding:0 0 4px;
  border:0;
  border-radius:0;
  background:transparent;
}
body.zd-catalog-v23 .catalog-hero-search .catalog-hero-copy{max-width:760px}
body.zd-catalog-v23 .catalog-hero-search h1{font-size:clamp(2.2rem,4.1vw,3.35rem)}
body.zd-catalog-v23 .catalog-hero-search p{max-width:660px;margin-top:12px}

body.zd-catalog-v23 .catalog-directions{margin:0 0 20px}
body.zd-catalog-v23 .catalog-direction-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;
  gap:8px!important;
  overflow:visible!important;
  margin:0!important;
  padding:0!important;
}
body.zd-catalog-v23 .catalog-direction-grid a{
  display:flex!important;
  min-width:0!important;
  min-height:46px!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  padding:10px 12px!important;
  border:1px solid rgba(18,61,49,.14)!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#31564b!important;
  text-align:left!important;
  white-space:normal!important;
  font-size:.88rem!important;
  font-weight:520!important;
  line-height:1.25!important;
}
body.zd-catalog-v23 .catalog-direction-grid a small{
  display:grid;
  flex:0 0 auto;
  min-width:24px;
  height:24px;
  place-items:center;
  padding:0 6px;
  border-radius:999px;
  background:#edf5f1;
  color:#47675d;
  font-size:.72rem;
  font-weight:650;
}
body.zd-catalog-v23 .catalog-direction-grid a:hover,
body.zd-catalog-v23 .catalog-direction-grid a:focus-visible{
  border-color:#b9cfc5!important;
  background:#f6faf8!important;
  color:#123f33!important;
  outline:none!important;
}
body.zd-catalog-v23 .catalog-direction-grid a[aria-current="page"]{
  border-color:#155743!important;
  background:#155743!important;
  color:#fff!important;
  font-weight:620!important;
}
body.zd-catalog-v23 .catalog-direction-grid a[aria-current="page"] small{
  background:rgba(255,255,255,.15);
  color:#fff;
}

body.zd-catalog-v23 .catalog-search-panel{margin:0 0 26px;padding:20px}
body.zd-catalog-v23 .catalog-search-head{grid-template-columns:minmax(0,1fr) auto;gap:18px;margin-bottom:14px;align-items:end}
body.zd-catalog-v23 .catalog-search-head h2{font-size:1.55rem}
body.zd-catalog-v23 .catalog-search-head p{max-width:440px;font-size:.90rem}
body.zd-catalog-v23 .catalog-filter-form-desktop{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
body.zd-catalog-v23 .catalog-filter-form-desktop .catalog-filter-fields{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important;
  gap:10px!important;
  width:100%!important;
}
body.zd-catalog-v23 .catalog-filter-form-desktop .catalog-filter-field{min-width:0!important}
body.zd-catalog-v23 .catalog-filter-form-desktop .catalog-filter-actions{
  display:flex!important;
  justify-content:flex-end!important;
  gap:8px!important;
  width:100%!important;
}
body.zd-catalog-v23 .catalog-filter-field select{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  text-overflow:ellipsis!important;
}

body.zd-catalog-v23 .catalog-results-head{margin-bottom:12px}
body.zd-catalog-v23 .catalog-results-head .kicker{margin-bottom:5px}
body.zd-catalog-v23 .catalog-summary-meta{align-items:center}
body.zd-catalog-v23 .public-animal-grid-catalog{gap:16px}
body.zd-catalog-v23 .public-animal-card{background:#fff!important}
body.zd-catalog-v23 .public-animal-cover{background:#edf4f0!important}
body.zd-catalog-v23 .public-animal-cover img{display:block!important}
body.zd-catalog-v23 .public-animal-body{position:relative!important;z-index:1!important;background:#fff!important}

body.zd-catalog-v23 .catalog-end-cta{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:22px;
  align-items:center;
  margin-top:34px;
  padding:22px 24px;
  border:1px solid rgba(18,61,49,.11);
  border-radius:18px;
  background:#f1f7f4;
}
body.zd-catalog-v23 .catalog-end-cta .kicker{margin-bottom:6px;color:#55756a;font-size:.74rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
body.zd-catalog-v23 .catalog-end-cta h2{margin:0;color:#123d31;font-size:1.35rem;line-height:1.15}
body.zd-catalog-v23 .catalog-end-cta p{margin:7px 0 0;color:#60766e;font-size:.90rem;line-height:1.5}
body.zd-catalog-v23 .catalog-end-cta-actions{display:flex;gap:8px;align-items:center}
body.zd-catalog-v23 .catalog-end-cta-actions .btn{min-height:44px;justify-content:center}

/* Shared footer must be identical to the finished home shell on every mobile template. */
@media(max-width:700px){
  html body .zd-shared-footer .footer-links--wide{display:none!important}
  html body .zd-shared-footer .zd-shared-footer-nav{display:grid!important}

  body.zd-catalog-v23 .catalog-page{width:min(100%,620px);padding:16px 12px 30px}
  body.zd-catalog-v23 .catalog-breadcrumbs{margin-bottom:12px}
  body.zd-catalog-v23 .catalog-hero-search{margin-bottom:16px;padding:0}
  body.zd-catalog-v23 .catalog-hero-search .kicker{margin-bottom:6px}
  body.zd-catalog-v23 .catalog-hero-search h1{max-width:none;font-size:2.05rem;line-height:1.04}
  body.zd-catalog-v23 .catalog-hero-search p{margin-top:10px;font-size:.90rem;line-height:1.5}
  body.zd-catalog-v23 .catalog-directions{margin-bottom:16px}
  body.zd-catalog-v23 .catalog-section-label{margin:0 0 8px 1px}
  body.zd-catalog-v23 .catalog-direction-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
    margin:0!important;
    padding:0!important;
  }
  body.zd-catalog-v23 .catalog-direction-grid a{
    min-height:52px!important;
    padding:9px 10px!important;
    font-size:.82rem!important;
  }
  body.zd-catalog-v23 .catalog-direction-grid a small{min-width:22px;height:22px;font-size:.68rem}
  body.zd-catalog-v23 .catalog-search-panel{margin:0 0 22px;padding:14px;border-radius:15px}
  body.zd-catalog-v23 .catalog-search-head{grid-template-columns:1fr;gap:4px;margin-bottom:10px}
  body.zd-catalog-v23 .catalog-search-head .kicker{margin-bottom:4px}
  body.zd-catalog-v23 .catalog-search-head h2{font-size:1.32rem}
  body.zd-catalog-v23 .catalog-search-head p{font-size:.82rem;line-height:1.45}
  body.zd-catalog-v23 .catalog-filter-mobile-open{min-height:46px}
  body.zd-catalog-v23 .catalog-results-head{margin-top:0;margin-bottom:10px}
  body.zd-catalog-v23 .catalog-results-head h2{font-size:1.42rem}

  /* Mobile cards are strictly stacked: image, then a solid information panel. */
  body.zd-catalog-v23 .public-animal-grid-catalog{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
  body.zd-catalog-v23 .public-animal-card{
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
    min-width:0!important;
    border-radius:15px!important;
    background:#fff!important;
  }
  body.zd-catalog-v23 .public-animal-cover{
    display:block!important;
    flex:0 0 auto!important;
    width:100%!important;
    height:218px!important;
    min-height:218px!important;
    aspect-ratio:auto!important;
    overflow:hidden!important;
    background:#edf4f0!important;
  }
  body.zd-catalog-v23 .public-animal-cover img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
  }
  body.zd-catalog-v23 .public-animal-cover img[src*="zoodomik-mark"]{
    width:92px!important;
    height:92px!important;
    margin:63px auto!important;
    object-fit:contain!important;
  }
  body.zd-catalog-v23 .public-animal-body{
    display:grid!important;
    position:relative!important;
    z-index:2!important;
    gap:9px!important;
    width:100%!important;
    padding:13px!important;
    background:#fff!important;
    color:#17352d!important;
  }
  body.zd-catalog-v23 .public-animal-body .tag-row{display:flex!important;flex-wrap:wrap!important;gap:5px!important}
  body.zd-catalog-v23 .public-animal-body h3{margin:0!important;font-size:1.06rem!important;line-height:1.22!important}
  body.zd-catalog-v23 .public-animal-facts{display:grid!important;grid-template-columns:1fr 1fr!important;gap:4px 10px!important;font-size:.80rem!important}
  body.zd-catalog-v23 .public-animal-body>p{margin:0!important;-webkit-line-clamp:2!important;font-size:.83rem!important;line-height:1.45!important}
  body.zd-catalog-v23 .public-animal-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;margin-top:1px!important}
  body.zd-catalog-v23 .public-animal-actions .btn{min-height:42px!important}

  body.zd-catalog-v23 .catalog-end-cta{
    grid-template-columns:1fr;
    gap:14px;
    margin-top:26px;
    padding:17px 14px;
    border-radius:15px;
  }
  body.zd-catalog-v23 .catalog-end-cta h2{font-size:1.22rem}
  body.zd-catalog-v23 .catalog-end-cta p{font-size:.85rem}
  body.zd-catalog-v23 .catalog-end-cta-actions{display:grid;grid-template-columns:1fr;gap:7px}
  body.zd-catalog-v23 .catalog-end-cta-actions .btn{width:100%}
}

@media(max-width:370px){
  body.zd-catalog-v23 .catalog-direction-grid{grid-template-columns:1fr!important}
  body.zd-catalog-v23 .public-animal-cover{height:205px!important;min-height:205px!important}
  body.zd-catalog-v23 .public-animal-cover img[src*="zoodomik-mark"]{margin:56px auto!important}
}

/* ZooDomik v0.1.72.4 — shared mobile navigation + modal-only mobile filters + express card galleries */
#catalog-list{scroll-margin-top:calc(var(--header-height,70px) + 16px)}

/* One mobile drawer design for every template using render_site_nav(). */
@media (max-width:1120px){
  html body .zd-shared-nav .nav-menu{gap:0!important;justify-content:flex-start!important}
  html body .zd-shared-nav .nav-mobile-section-label{font-weight:600!important;letter-spacing:.055em!important}
  html body .zd-shared-nav .nav-primary-route{
    min-height:64px!important;margin:0 0 8px!important;padding:10px 12px!important;
    border:1px solid #dbe6e1!important;border-radius:12px!important;background:#fff!important;
    box-shadow:0 1px 0 rgba(18,61,49,.02)!important
  }
  html body .zd-shared-nav .nav-primary-route::after{right:12px!important;color:#6f837a!important}
  html body .zd-shared-nav .nav-primary-route:hover,
  html body .zd-shared-nav .nav-primary-route:focus-visible{background:#f5f9f7!important;border-color:#b9cfc5!important;outline:none!important}
  html body .zd-shared-nav .nav-primary-route.is-active{background:#eff6f2!important;border-color:#b3ccc1!important}
  html body .zd-shared-nav .nav-route-title{font-size:.98rem!important;font-weight:600!important;color:#173f34!important}
  html body .zd-shared-nav .nav-route-meta{margin-top:3px!important;color:#667b72!important;font-size:.78rem!important;font-weight:400!important}
  html body .zd-shared-nav .nav-desktop-create{
    margin:4px 0 10px!important;min-height:48px!important;border-radius:12px!important;font-weight:650!important
  }
  html body .zd-shared-nav .nav-dropdown-project{margin:4px 0 0!important;padding-top:10px!important;border-top:1px solid #e1e9e5!important}
  html body .zd-shared-nav .nav-dropdown-project>.nav-dropdown-trigger,
  html body .zd-shared-nav .nav-dropdown-cabinet>.nav-dropdown-trigger{
    min-height:48px!important;padding:10px 12px!important;border:1px solid #dbe6e1!important;border-radius:12px!important;
    background:#fff!important;color:#21483d!important;font-size:.94rem!important;font-weight:500!important
  }
  html body .zd-shared-nav .nav-dropdown-project[open]>.nav-dropdown-trigger,
  html body .zd-shared-nav .nav-dropdown-cabinet[open]>.nav-dropdown-trigger{background:#f1f7f4!important;border-color:#b8d0c5!important}
  html body .zd-shared-nav .nav-dropdown-project>.nav-dropdown-panel,
  html body .zd-shared-nav .nav-dropdown-cabinet>.nav-dropdown-panel{padding:6px 4px 2px 12px!important}
  html body .zd-shared-nav .nav-mobile-cabinet-label{margin-top:12px!important;padding-top:12px!important}
  html body .zd-shared-nav .nav-guest-cabinet{
    min-height:46px!important;margin-top:2px!important;padding:10px 12px!important;border:1px solid #dbe6e1!important;
    border-radius:12px!important;background:#fff!important;color:#21483d!important;font-size:.94rem!important;font-weight:500!important;
    justify-content:flex-start!important
  }
  html body .zd-shared-nav .nav-mobile-add-bottom{margin-top:10px!important;padding-top:10px!important}
  html body .zd-shared-nav .nav-support-button{font-weight:500!important}
  html body .zd-shared-nav .nav-dropdown-cabinet>.nav-dropdown-panel{display:grid!important;gap:6px!important;padding:8px 0 2px!important}
  html body .zd-shared-nav .nav-dropdown-cabinet .nav-item,
  html body .zd-shared-nav .nav-dropdown-cabinet .nav-logout{
    display:flex!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;min-height:42px!important;
    margin:0!important;padding:9px 11px!important;border:1px solid #dce7e2!important;border-radius:10px!important;background:#fff!important;
    color:#31564b!important;font-size:.88rem!important;font-weight:500!important;line-height:1.25!important;text-align:left!important;box-shadow:none!important
  }
  html body .zd-shared-nav .nav-dropdown-cabinet .nav-item:hover,
  html body .zd-shared-nav .nav-dropdown-cabinet .nav-item:focus-visible,
  html body .zd-shared-nav .nav-dropdown-cabinet .nav-logout:hover,
  html body .zd-shared-nav .nav-dropdown-cabinet .nav-logout:focus-visible{background:#f3f8f5!important;border-color:#bdd3ca!important;color:#123f33!important;outline:none!important}
  html body .zd-shared-nav .nav-dropdown-cabinet .nav-item.is-active,
  html body .zd-shared-nav .nav-dropdown-cabinet .nav-item:first-child{background:#eef6f2!important;border-color:#bfd5cb!important;color:#104b39!important}
  html body .zd-shared-nav .nav-dropdown-cabinet .nav-logout{color:#9b4038!important;border-color:#efd9d5!important;background:#fffafa!important}
}

/* Express gallery inside search cards. It never opens a large photo modal. */
body.zd-catalog-v24 .public-animal-media{position:relative!important;overflow:hidden!important}
body.zd-catalog-v24 .public-animal-slides{
  display:flex!important;width:100%!important;height:100%!important;overflow-x:auto!important;overflow-y:hidden!important;
  scroll-snap-type:x mandatory!important;scroll-behavior:smooth!important;overscroll-behavior-inline:contain!important;
  scrollbar-width:none!important;-ms-overflow-style:none!important;touch-action:pan-x pan-y!important
}
body.zd-catalog-v24 .public-animal-slides::-webkit-scrollbar{display:none!important}
body.zd-catalog-v24 .public-animal-slide{
  display:block!important;flex:0 0 100%!important;width:100%!important;height:100%!important;scroll-snap-align:start!important;
  scroll-snap-stop:always!important;background:#edf4f0!important
}
body.zd-catalog-v24 .public-animal-slide img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;margin:0!important}
body.zd-catalog-v24 .public-animal-media.is-placeholder .public-animal-slide{display:grid!important;place-items:center!important}
body.zd-catalog-v24 .public-animal-media.is-placeholder .public-animal-slide img{width:92px!important;height:92px!important;object-fit:contain!important}
body.zd-catalog-v24 .public-animal-slide-count{
  position:absolute;right:10px;top:10px;z-index:3;display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:28px;
  padding:0 8px;border:1px solid rgba(255,255,255,.45);border-radius:999px;background:rgba(15,55,43,.74);color:#fff;
  font-size:.74rem;font-weight:650;line-height:1;backdrop-filter:blur(4px)
}
body.zd-catalog-v24 .public-animal-slide-nav{
  position:absolute;top:50%;z-index:3;display:grid;width:36px;height:36px;place-items:center;padding:0;border:1px solid rgba(21,87,67,.18);
  border-radius:999px;background:rgba(255,255,255,.92);color:#155743;font:600 1.5rem/1 sans-serif;box-shadow:0 6px 18px rgba(18,61,49,.12);
  transform:translateY(-50%);cursor:pointer
}
body.zd-catalog-v24 .public-animal-slide-prev{left:9px}
body.zd-catalog-v24 .public-animal-slide-next{right:9px}
body.zd-catalog-v24 .public-animal-slide-nav:disabled{opacity:.35;cursor:default}

@media(max-width:700px){
  /* On phones the form exists only in the modal; the page keeps one clear filter action. */
  body.zd-catalog-v24 .catalog-search-panel{
    margin:0 0 20px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important
  }
  body.zd-catalog-v24 .catalog-search-head{display:none!important}
  body.zd-catalog-v24 .catalog-toolbar{display:block!important}
  body.zd-catalog-v24 .catalog-filter-form-desktop{display:none!important}
  body.zd-catalog-v24 .catalog-filter-mobile-open{
    display:flex!important;width:100%!important;min-height:46px!important;justify-content:center!important;border-radius:12px!important;background:#fff!important
  }

  /* Swipe is the mobile control; arrows are desktop-only so cards stay clean. */
  body.zd-catalog-v24 .public-animal-slide-nav{display:none!important}
  body.zd-catalog-v24 .public-animal-cover{height:218px!important;min-height:218px!important}
  body.zd-catalog-v24 .public-animal-media.is-placeholder .public-animal-slide img{width:88px!important;height:88px!important}
  body.zd-catalog-v24 .public-animal-slide-count{right:9px;top:9px;height:26px;min-width:40px;font-size:.71rem}
}

@media(max-width:370px){
  body.zd-catalog-v24 .public-animal-cover{height:205px!important;min-height:205px!important}
}

/* ZooDomik v0.1.72.5 — canonical mobile navigation: identical to the approved home menu */
@media (max-width:1120px){
  /* The shared drawer must not inherit page-template typography. The home page is the canonical shell. */
  html body .nav .zd-shared-nav-menu{
    font-family:Inter,"Noto Sans","Segoe UI",Roboto,Arial,sans-serif!important;
    line-height:1.6!important;
    color:#17231f!important;
  }
  html body .nav .zd-shared-nav-menu .nav-menu-head,
  html body .nav .zd-shared-nav-menu .nav-menu-close,
  html body .nav .zd-shared-nav-menu .nav-mobile-section-label,
  html body .nav .zd-shared-nav-menu .nav-primary-route,
  html body .nav .zd-shared-nav-menu .nav-desktop-create,
  html body .nav .zd-shared-nav-menu .nav-dropdown-project,
  html body .nav .zd-shared-nav-menu .nav-dropdown-project>.nav-dropdown-trigger,
  html body .nav .zd-shared-nav-menu .nav-mobile-cabinet-label,
  html body .nav .zd-shared-nav-menu .nav-dropdown-cabinet,
  html body .nav .zd-shared-nav-menu .nav-dropdown-cabinet>.nav-dropdown-trigger,
  html body .nav .zd-shared-nav-menu .nav-dropdown-panel,
  html body .nav .zd-shared-nav-menu .nav-item,
  html body .nav .zd-shared-nav-menu .nav-logout,
  html body .nav .zd-shared-nav-menu .nav-mobile-add-bottom,
  html body .nav .zd-shared-nav-menu .nav-support-button{
    font-family:inherit!important;
  }
  /* On the approved home drawer support is a 48px rounded rectangle, not the 50px pill inherited by catalog pages. */
  html body .nav .zd-shared-nav-menu .nav-support-button{
    min-height:48px!important;
    height:48px!important;
    border-radius:12px!important;
    line-height:1.6!important;
  }
}

/* ZooDomik v0.1.72.6 — canonical mobile drawer copied from the approved home-page menu.
   One component for every page; only .is-active may differ by current route. */
@media (max-width:1120px){
  html body .nav.zd-shared-nav{width:calc(100% - 28px)!important;padding:9px 0!important}
  html body .nav.zd-shared-nav .brand img{width:40px!important;height:40px!important}
  html body .nav.zd-shared-nav .nav-menu-toggle{width:auto!important;height:44px!important;padding:0 13px!important;border-radius:12px!important;gap:9px!important}

  html body .nav.zd-shared-nav .zd-shared-nav-menu{
    display:none!important;
    position:fixed!important;
    inset:0!important;
    z-index:1000!important;
    width:100%!important;
    min-width:0!important;
    height:100dvh!important;
    overflow-y:auto!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:0!important;
    padding:max(12px,env(safe-area-inset-top)) 16px max(18px,env(safe-area-inset-bottom))!important;
    border:0!important;
    border-radius:0!important;
    background:#fffdf9!important;
    box-shadow:none!important;
    font-family:Inter,"Noto Sans","Segoe UI",Roboto,Arial,sans-serif!important;
    line-height:1.6!important;
    color:#17231f!important;
  }
  html body .nav.zd-shared-nav .zd-shared-nav-menu.is-open{display:flex!important}

  html body .nav.zd-shared-nav .nav-menu-head{
    order:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:1rem!important;
    margin:0 0 14px!important;
    padding-bottom:12px!important;
    border-bottom:1px solid #e0e8e3!important;
  }
  html body .nav.zd-shared-nav .nav-menu-brand{display:inline-flex!important;align-items:center!important;gap:.65rem!important}
  html body .nav.zd-shared-nav .nav-menu-brand img{width:40px!important;height:40px!important}
  html body .nav.zd-shared-nav .nav-menu-close{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:.5rem!important;
    min-width:0!important;height:42px!important;padding:0 12px!important;border:1px solid rgba(22,76,59,.16)!important;
    border-radius:12px!important;background:#fff!important;color:#164c3b!important;font-weight:700!important
  }

  html body .nav.zd-shared-nav .nav-mobile-section-label{
    display:block!important;margin:0!important;padding:8px 4px 7px!important;border:0!important;
    color:#6a7b74!important;font-size:.72rem!important;font-weight:600!important;letter-spacing:.055em!important;text-transform:uppercase!important
  }
  html body .nav.zd-shared-nav .nav-mobile-main-label{order:10!important}

  html body .nav.zd-shared-nav .nav-primary-route{
    position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) 24px!important;grid-template-rows:auto auto!important;
    width:100%!important;min-height:64px!important;margin:0 0 8px!important;padding:10px 12px!important;
    border:1px solid #dbe6e1!important;border-radius:12px!important;background:#fff!important;box-shadow:0 1px 0 rgba(18,61,49,.02)!important;
    color:#153f34!important;text-align:left!important;white-space:normal!important
  }
  html body .nav.zd-shared-nav .nav-primary-search{order:11!important}
  html body .nav.zd-shared-nav .nav-primary-lost{order:12!important}
  html body .nav.zd-shared-nav .nav-primary-found{order:13!important}
  html body .nav.zd-shared-nav .nav-primary-family{order:14!important}
  html body .nav.zd-shared-nav .nav-primary-route::after{
    content:'›'!important;grid-column:2!important;grid-row:1/3!important;align-self:center!important;justify-self:end!important;
    color:#6f837a!important;font-size:1.35rem!important;font-weight:500!important
  }
  html body .nav.zd-shared-nav .nav-primary-route:hover,
  html body .nav.zd-shared-nav .nav-primary-route:focus-visible{background:#f5f9f7!important;border-color:#b9cfc5!important;outline:none!important}
  html body .nav.zd-shared-nav .nav-primary-route.is-active{background:#eff6f2!important;border-color:#b3ccc1!important;color:#0f4b39!important}
  html body .nav.zd-shared-nav .nav-route-title{
    grid-column:1!important;grid-row:1!important;color:#173f34!important;font-size:.98rem!important;font-weight:600!important;line-height:1.2!important
  }
  html body .nav.zd-shared-nav .nav-route-meta{
    display:block!important;grid-column:1!important;grid-row:2!important;margin-top:3px!important;color:#667b72!important;
    font-size:.78rem!important;font-weight:400!important;line-height:1.3!important
  }

  html body .nav.zd-shared-nav .nav-desktop-create{
    order:15!important;display:flex!important;width:100%!important;min-height:48px!important;margin:4px 0 10px!important;padding:12px 16px!important;
    align-items:center!important;justify-content:center!important;border:1px solid #155743!important;border-radius:12px!important;
    background:#155743!important;color:#fff!important;font-size:.96rem!important;font-weight:650!important;line-height:1.25!important
  }

  html body .nav.zd-shared-nav .nav-dropdown-project{
    order:20!important;width:100%!important;margin:4px 0 0!important;padding-top:10px!important;border:0!important;border-top:1px solid #e1e9e5!important;
    border-radius:0!important;background:transparent!important
  }
  html body .nav.zd-shared-nav .nav-dropdown-project>.nav-dropdown-trigger,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet>.nav-dropdown-trigger{
    display:flex!important;width:100%!important;min-height:48px!important;padding:10px 12px!important;align-items:center!important;justify-content:space-between!important;
    border:1px solid #dbe6e1!important;border-radius:12px!important;background:#fff!important;color:#21483d!important;
    font-size:.94rem!important;font-weight:500!important;line-height:1.25!important
  }
  html body .nav.zd-shared-nav .nav-dropdown-project[open]>.nav-dropdown-trigger,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet[open]>.nav-dropdown-trigger{background:#f1f7f4!important;border-color:#b8d0c5!important}
  html body .nav.zd-shared-nav .nav-dropdown-project>.nav-dropdown-panel{
    position:static!important;min-width:0!important;margin:0!important;padding:6px 4px 2px 12px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important
  }
  html body .nav.zd-shared-nav .nav-dropdown-project .nav-item{
    display:flex!important;align-items:center!important;min-height:44px!important;padding:9px 4px!important;border:0!important;border-radius:0!important;background:transparent!important;
    color:#60766e!important;font-size:.90rem!important;font-weight:500!important;line-height:1.25!important
  }

  html body .nav.zd-shared-nav .nav-mobile-cabinet-label{
    order:30!important;margin-top:12px!important;padding-top:12px!important;border-top:1px solid #dfe8e3!important
  }
  html body .nav.zd-shared-nav .nav-dropdown-cabinet,
  html body .nav.zd-shared-nav .nav-guest-cabinet{order:31!important;width:100%!important;margin:0!important}
  html body .nav.zd-shared-nav .nav-guest-cabinet{
    display:flex!important;min-height:46px!important;margin-top:2px!important;padding:10px 12px!important;align-items:center!important;justify-content:flex-start!important;
    border:1px solid #dbe6e1!important;border-radius:12px!important;background:#fff!important;color:#21483d!important;font-size:.94rem!important;font-weight:500!important
  }
  html body .nav.zd-shared-nav .nav-dropdown-cabinet>.nav-dropdown-panel{
    position:static!important;display:grid!important;min-width:0!important;gap:6px!important;margin:0!important;padding:8px 0 2px!important;
    border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important
  }
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-item,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-logout{
    display:flex!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;min-height:42px!important;
    margin:0!important;padding:9px 11px!important;border:1px solid #dce7e2!important;border-radius:10px!important;background:#fff!important;
    color:#31564b!important;font-size:.88rem!important;font-weight:500!important;line-height:1.25!important;text-align:left!important;box-shadow:none!important
  }
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-item:hover,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-item:focus-visible,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-logout:hover,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-logout:focus-visible{
    background:#f3f8f5!important;border-color:#bdd3ca!important;color:#123f33!important;outline:none!important
  }
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-item.is-active,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-item:first-child{background:#eef6f2!important;border-color:#bfd5cb!important;color:#104b39!important}
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-logout{color:#9b4038!important;border-color:#efd9d5!important;background:#fffafa!important}
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-logout:hover,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-logout:focus-visible{background:#fff3f1!important;border-color:#e6c2bc!important;color:#842f29!important}
  html body .nav.zd-shared-nav .nav-logout-form{margin:0!important}

  html body .nav.zd-shared-nav .nav-mobile-add-bottom{
    display:block!important;order:40!important;width:100%!important;margin-top:10px!important;padding-top:10px!important;
    border:0!important;border-top:1px solid #dfe8e3!important;background:transparent!important
  }
  html body .nav.zd-shared-nav .nav-support-button{
    display:flex!important;width:100%!important;height:48px!important;min-height:48px!important;align-items:center!important;justify-content:center!important;
    padding:0 12px!important;border:1px solid #dbe6e1!important;border-radius:12px!important;background:#fff!important;color:#21483d!important;
    font-size:.90rem!important;font-weight:500!important;line-height:1.25!important
  }
  html body .nav.zd-shared-nav .nav-support-button:hover,
  html body .nav.zd-shared-nav .nav-support-button:focus-visible{background:#f5f9f7!important;border-color:#b9cfc5!important;outline:none!important}
}

/* ZooDomik v0.1.72.7 — unified mobile accordion language.
   Canonical rule: details themselves stay visually free; summary is the control;
   nested destinations look like quiet desktop-style buttons; only current route is stronger. */
@media (max-width:1120px){
  html body .nav.zd-shared-nav .nav-dropdown-project,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet{
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible!important;
  }

  html body .nav.zd-shared-nav .nav-dropdown-project>.nav-dropdown-trigger,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet>.nav-dropdown-trigger{
    min-height:46px!important;
    padding:9px 12px!important;
    border:1px solid #dbe6e1!important;
    border-radius:12px!important;
    background:#fff!important;
    color:#31564b!important;
    font-size:.92rem!important;
    font-weight:500!important;
    line-height:1.25!important;
    box-shadow:none!important;
  }
  html body .nav.zd-shared-nav .nav-dropdown-project[open]>.nav-dropdown-trigger,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet[open]>.nav-dropdown-trigger{
    background:#f5f9f7!important;
    border-color:#c5d9d0!important;
    color:#21483d!important;
  }
  html body .nav.zd-shared-nav .nav-dropdown-project.has-active>.nav-dropdown-trigger,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet.has-active>.nav-dropdown-trigger{
    background:#eff6f2!important;
    border-color:#b8d0c5!important;
    color:#174d3d!important;
  }

  html body .nav.zd-shared-nav .nav-dropdown-project>.nav-dropdown-panel,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet>.nav-dropdown-panel{
    position:static!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:6px!important;
    min-width:0!important;
    margin:0!important;
    padding:8px 0 2px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  html body .nav.zd-shared-nav .nav-dropdown-project .nav-item,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-item,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-logout{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:100%!important;
    min-height:42px!important;
    margin:0!important;
    padding:9px 11px!important;
    border:1px solid #dce7e2!important;
    border-radius:10px!important;
    background:#fff!important;
    color:#31564b!important;
    font-size:.88rem!important;
    font-weight:500!important;
    line-height:1.25!important;
    text-align:left!important;
    box-shadow:none!important;
    text-decoration:none!important;
  }

  html body .nav.zd-shared-nav .nav-dropdown-project .nav-item:hover,
  html body .nav.zd-shared-nav .nav-dropdown-project .nav-item:focus-visible,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-item:hover,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-item:focus-visible,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-logout:hover,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-logout:focus-visible{
    background:#f4f8f6!important;
    border-color:#bdd3ca!important;
    color:#123f33!important;
    outline:none!important;
  }

  html body .nav.zd-shared-nav .nav-dropdown-project .nav-item.is-active,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-item.is-active{
    background:#dfeee7!important;
    border-color:#9fc6b5!important;
    color:#0e4b39!important;
    font-weight:600!important;
    box-shadow:inset 3px 0 0 #2a735d!important;
  }

  /* Never infer the current destination from order. Only server-side .is-active may accent it. */
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-item:first-child:not(.is-active),
  html body .nav.zd-shared-nav .nav-dropdown-project .nav-item:first-child:not(.is-active){
    background:#fff!important;
    border-color:#dce7e2!important;
    color:#31564b!important;
    font-weight:500!important;
    box-shadow:none!important;
  }

  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-logout{
    color:#9b4038!important;
    border-color:#efd9d5!important;
    background:#fffafa!important;
    box-shadow:none!important;
  }
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-logout:hover,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-logout:focus-visible{
    background:#fff3f1!important;
    border-color:#e6c2bc!important;
    color:#842f29!important;
  }
}

/* ZooDomik v0.1.73.0 — public pet page Design 2.0 */
body.zd-pet-v2{
  --pet-shell:1120px;
  --pet-radius:18px;
  background:#f7faf8;
}
body.zd-pet-v2 main{overflow:clip}
body.zd-pet-v2 .public-breadcrumbs,
body.zd-pet-v2 .public-pet-hero,
body.zd-pet-v2 .public-case-content,
body.zd-pet-v2 .public-seo-discovery{width:min(var(--pet-shell),calc(100% - 32px));margin-inline:auto}
body.zd-pet-v2 .public-breadcrumbs{padding-top:20px;margin-bottom:0;color:#6c8179;font-size:.83rem}
body.zd-pet-v2 .public-breadcrumbs a{font-weight:560}
body.zd-pet-v2 .public-pet-hero{
  grid-template-columns:minmax(300px,420px) minmax(0,1fr);
  gap:clamp(22px,4vw,52px);
  align-items:start;
  padding:24px 0 26px;
}
body.zd-pet-v2 .public-pet-media-column{display:grid;gap:10px;min-width:0}
body.zd-pet-v2 .public-hero-media{
  aspect-ratio:4/3;
  max-height:none;
  min-height:0;
  border:1px solid rgba(22,76,59,.12);
  border-radius:var(--pet-radius);
  background:#edf4f0;
  box-shadow:0 14px 34px rgba(18,61,49,.07);
}
body.zd-pet-v2 .public-hero-media::after{display:none}
body.zd-pet-v2 .gallery-hero-button{width:100%;height:100%;border:0;background:transparent}
body.zd-pet-v2 .gallery-hero-button img{width:100%;height:100%;object-fit:cover}
body.zd-pet-v2 .public-pet-hero-thumbs{display:flex;gap:8px;align-items:center;overflow-x:auto;padding:1px 1px 4px;scrollbar-width:thin}
body.zd-pet-v2 .public-pet-hero-thumb{flex:0 0 64px;width:64px;height:52px;padding:0;overflow:hidden;border:1px solid rgba(22,76,59,.14);border-radius:10px;background:#fff;cursor:pointer}
body.zd-pet-v2 .public-pet-hero-thumb img{width:100%;height:100%;object-fit:cover}
body.zd-pet-v2 .public-pet-hero-thumb.is-current{border-color:var(--case-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--case-accent) 18%,transparent)}
body.zd-pet-v2 .public-pet-more-photos{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:999px;background:#fff;color:var(--case-accent-dark);font-size:.78rem;font-weight:700;border:1px solid rgba(22,76,59,.12)}
body.zd-pet-v2 .public-hero-body{padding-top:2px}
body.zd-pet-v2 .public-case-eyebrow{gap:6px 10px;font-size:.72rem;letter-spacing:.04em}
body.zd-pet-v2 .public-case-eyebrow span+span::before{margin-right:10px}
body.zd-pet-v2 .public-hero-body h1{max-width:720px;margin-top:10px;font-size:clamp(2rem,3.2vw,3rem);line-height:1.05;letter-spacing:-.03em}
body.zd-pet-v2 .public-hero-context{margin-top:10px;font-size:1rem;line-height:1.45}
body.zd-pet-v2 .public-hero-body .hero-copy{max-width:690px;margin-top:10px;color:#5c7169;font-size:.96rem;line-height:1.58}
body.zd-pet-v2 .public-hero-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-width:690px;margin-top:16px;border:0}
body.zd-pet-v2 .public-hero-fact{padding:11px 12px;border:1px solid rgba(22,76,59,.11);border-radius:12px;background:#fff}
body.zd-pet-v2 .public-hero-fact dt{font-size:.68rem;letter-spacing:.04em}
body.zd-pet-v2 .public-hero-fact dd{font-size:.92rem;line-height:1.35}
body.zd-pet-v2 .public-hero-meta{gap:8px 12px;margin-top:14px}
body.zd-pet-v2 .expiry{border-radius:999px;padding:7px 10px;font-size:.78rem}
body.zd-pet-v2 .pet-reference{font-size:.78rem}

body.zd-pet-v2 .public-case-content{padding:8px 0 34px}
body.zd-pet-v2 .public-layout{grid-template-columns:minmax(0,1fr) minmax(286px,320px);gap:18px}
body.zd-pet-v2 .content-stack{gap:12px}
body.zd-pet-v2 .content-block,
body.zd-pet-v2 .public-side-card{border:1px solid rgba(22,76,59,.11);border-radius:16px;background:#fff;box-shadow:0 10px 28px rgba(18,61,49,.045)}
body.zd-pet-v2 .content-block{padding:20px}
body.zd-pet-v2 .public-detail-block h2,
body.zd-pet-v2 .public-animal-section h2,
body.zd-pet-v2 .public-description-block h2,
body.zd-pet-v2 .public-photos-block h2{margin:0;color:#123d31;font-size:1.25rem;line-height:1.2}
body.zd-pet-v2 .public-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px;border:0}
body.zd-pet-v2 .public-detail-row{padding:11px 12px;border:1px solid rgba(22,76,59,.1);border-radius:11px;background:#f9fbfa}
body.zd-pet-v2 .public-detail-row dt{font-size:.72rem}
body.zd-pet-v2 .public-detail-row dd{font-size:.91rem;line-height:1.48}
body.zd-pet-v2 .public-description-list{gap:12px;margin-top:13px}
body.zd-pet-v2 .public-description-item+ .public-description-item{padding-top:12px}
body.zd-pet-v2 .public-description-item h3{font-size:.92rem}
body.zd-pet-v2 .public-description-item p{color:#526961;font-size:.93rem;line-height:1.6}
body.zd-pet-v2 .public-pet-item-card{border:1px solid rgba(22,76,59,.1);border-radius:13px;padding:14px}
body.zd-pet-v2 .public-pet-item-facts{gap:8px;margin-top:12px;border:0;background:transparent}
body.zd-pet-v2 .public-pet-item-facts span{border:1px solid rgba(22,76,59,.09);border-radius:10px;background:#f9fbfa;padding:9px 10px;font-size:.86rem}
body.zd-pet-v2 .public-pet-item-facts small{font-size:.66rem}
body.zd-pet-v2 .public-pet-item-cover{width:90px;min-width:90px;height:76px;border-radius:11px;overflow:hidden}
body.zd-pet-v2 .public-pet-item-cover img{width:100%;height:100%;object-fit:cover}
body.zd-pet-v2 .public-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}
body.zd-pet-v2 .public-photo-button{aspect-ratio:4/3;border-radius:11px;overflow:hidden}
body.zd-pet-v2 .public-photo-button img{width:100%;height:100%;object-fit:cover}

body.zd-pet-v2 .public-case-contact-card{top:86px;padding:18px;border-top:1px solid rgba(22,76,59,.11)!important}
body.zd-pet-v2 .public-contact-kicker{margin-bottom:8px;color:#6b7e76;font-size:.68rem;font-weight:750;letter-spacing:.08em;text-transform:uppercase}
body.zd-pet-v2 .public-side-status-row{margin-bottom:12px;padding-bottom:10px}
body.zd-pet-v2 .public-side-status{font-size:.78rem}
body.zd-pet-v2 .public-side-code{font-size:.75rem}
body.zd-pet-v2 .public-case-contact-card h2{margin:0;font-size:1.28rem;line-height:1.2}
body.zd-pet-v2 .public-case-contact-card .account-muted{margin-top:8px;color:#5b7068;font-size:.88rem;line-height:1.5}
body.zd-pet-v2 .public-case-guidance{margin-top:12px;padding:10px 11px;border-left:0;border-radius:10px;background:var(--case-soft);font-size:.82rem;line-height:1.48}
body.zd-pet-v2 .public-contact-actions{gap:8px;margin-top:13px}
body.zd-pet-v2 .public-contact-actions .btn{min-height:44px;border-radius:11px;font-size:.88rem}

body.zd-pet-v2 .public-seo-discovery{padding:0 0 44px}
body.zd-pet-v2 .public-seo-discovery-panel{padding:20px;border:1px solid rgba(22,76,59,.1);border-radius:16px;background:#fff}
body.zd-pet-v2 .public-seo-discovery-head{align-items:end;gap:16px}
body.zd-pet-v2 .public-seo-discovery-head h2{margin-top:4px;font-size:1.45rem}
body.zd-pet-v2 .public-seo-discovery-links{gap:8px}
body.zd-pet-v2 .public-seo-discovery-links a{padding:8px 10px;border:1px solid rgba(22,76,59,.1);border-radius:10px;background:#f9fbfa;font-size:.82rem}
body.zd-pet-v2 .public-related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}

@media(max-width:960px){
  body.zd-pet-v2 .public-pet-hero{grid-template-columns:minmax(250px,330px) minmax(0,1fr);gap:24px}
  body.zd-pet-v2 .public-layout{grid-template-columns:1fr}
  body.zd-pet-v2 .public-case-contact-card{position:static;order:-1}
}
@media(max-width:700px){
  body.zd-pet-v2 .public-breadcrumbs,
  body.zd-pet-v2 .public-pet-hero,
  body.zd-pet-v2 .public-case-content,
  body.zd-pet-v2 .public-seo-discovery{width:min(100%,620px);padding-left:14px;padding-right:14px}
  body.zd-pet-v2 .public-breadcrumbs{padding-top:14px;font-size:.75rem}
  body.zd-pet-v2 .public-breadcrumbs b,
  body.zd-pet-v2 .public-breadcrumbs span[aria-current="page"]{display:none}
  body.zd-pet-v2 .public-pet-hero{grid-template-columns:1fr;gap:14px;padding-top:12px;padding-bottom:18px}
  body.zd-pet-v2 .public-hero-media{aspect-ratio:16/10;border-radius:15px}
  body.zd-pet-v2 .public-pet-hero-thumbs{gap:7px;margin-right:-14px;padding-right:14px}
  body.zd-pet-v2 .public-pet-hero-thumb{flex-basis:58px;width:58px;height:46px;border-radius:9px}
  body.zd-pet-v2 .public-hero-body h1{margin-top:7px;font-size:clamp(1.72rem,8.5vw,2.25rem);line-height:1.07}
  body.zd-pet-v2 .public-hero-context{margin-top:8px;font-size:.94rem}
  body.zd-pet-v2 .public-hero-body .hero-copy{margin-top:8px;font-size:.9rem;line-height:1.5}
  body.zd-pet-v2 .public-hero-facts{grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}
  body.zd-pet-v2 .public-hero-fact{padding:9px 10px}
  body.zd-pet-v2 .public-hero-fact dd{font-size:.86rem}
  body.zd-pet-v2 .public-hero-meta{margin-top:11px}
  body.zd-pet-v2 .public-case-content{padding-top:0;padding-bottom:26px}
  body.zd-pet-v2 .public-layout{gap:12px}
  body.zd-pet-v2 .content-stack{gap:10px}
  body.zd-pet-v2 .content-block,
  body.zd-pet-v2 .public-side-card{border-radius:14px}
  body.zd-pet-v2 .content-block{padding:16px}
  body.zd-pet-v2 .public-case-contact-card{padding:16px}
  body.zd-pet-v2 .public-detail-grid{grid-template-columns:1fr;gap:7px;margin-top:11px}
  body.zd-pet-v2 .public-pet-item-facts{grid-template-columns:1fr 1fr;gap:7px}
  body.zd-pet-v2 .public-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.zd-pet-v2 .public-seo-discovery{padding-bottom:30px}
  body.zd-pet-v2 .public-seo-discovery-panel{padding:16px}
  body.zd-pet-v2 .public-seo-discovery-head{grid-template-columns:1fr;gap:10px}
  body.zd-pet-v2 .public-seo-discovery-head h2{font-size:1.3rem}
  body.zd-pet-v2 .public-related-grid{grid-template-columns:1fr}
}
@media(max-width:420px){
  body.zd-pet-v2 .public-hero-facts{grid-template-columns:1fr}
  body.zd-pet-v2 .public-pet-item-facts{grid-template-columns:1fr}
}

/* ZooDomik v0.1.73.1 — public pet page progressive disclosure */
body.zd-pet-v2 .public-pet-more-photos{
  appearance:none;
  padding:0 10px;
  min-width:64px;
  border:1px solid rgba(22,76,59,.14);
  background:#fff;
  cursor:pointer;
  font:inherit;
  white-space:nowrap;
}
body.zd-pet-v2 .public-pet-more-photos:hover,
body.zd-pet-v2 .public-pet-more-photos:focus-visible{border-color:rgba(22,76,59,.34);background:#f6faf8}

body.zd-pet-v2 .public-disclosure{padding:0;overflow:hidden}
body.zd-pet-v2 .public-disclosure-summary{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:62px;
  padding:17px 20px;
  cursor:pointer;
  user-select:none;
}
body.zd-pet-v2 .public-disclosure-summary::-webkit-details-marker{display:none}
body.zd-pet-v2 .public-disclosure-title{color:#123d31;font-size:1rem;font-weight:720;line-height:1.25}
body.zd-pet-v2 .public-disclosure-hint{
  display:inline-flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
  color:#5f756d;
  font-size:.78rem;
  font-weight:650;
}
body.zd-pet-v2 .public-disclosure-hint::after{content:'+';display:grid;place-items:center;width:22px;height:22px;border:1px solid rgba(22,76,59,.14);border-radius:50%;font-size:1rem;line-height:1}
body.zd-pet-v2 .public-disclosure[open] .public-disclosure-hint::after{content:'−'}
body.zd-pet-v2 .public-disclosure[open] .public-disclosure-summary{border-bottom:1px solid rgba(22,76,59,.09)}
body.zd-pet-v2 .public-disclosure-body{padding:0 20px 20px}
body.zd-pet-v2 .public-disclosure .public-detail-grid{margin-top:16px}
body.zd-pet-v2 .public-disclosure .public-description-list{margin-top:16px}

body.zd-pet-v2 .public-animal-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
body.zd-pet-v2 .public-animal-section-head .account-muted{margin:6px 0 0;max-width:620px}
body.zd-pet-v2 .public-animal-count{display:grid;place-items:center;min-width:34px;height:34px;padding:0 10px;border-radius:999px;background:#eef7f2;color:#164c3b;font-size:.82rem;font-weight:750}
body.zd-pet-v2 .public-pet-item-list{gap:10px;margin-top:14px}
body.zd-pet-v2 .public-pet-item-card{padding:14px 14px 12px}
body.zd-pet-v2 .public-pet-item-head{align-items:flex-start}
body.zd-pet-v2 .public-pet-item-title h3{margin-top:7px;font-size:1.1rem}
body.zd-pet-v2 .public-pet-item-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin:12px 0 0;
}
body.zd-pet-v2 .public-pet-item-summary>div{min-width:0;padding:9px 10px;border:1px solid rgba(22,76,59,.09);border-radius:10px;background:#f9fbfa}
body.zd-pet-v2 .public-pet-item-summary dt{margin:0;color:#6a7f77;font-size:.64rem;font-weight:750;letter-spacing:.04em;text-transform:uppercase}
body.zd-pet-v2 .public-pet-item-summary dd{margin:4px 0 0;color:#153f33;font-size:.84rem;font-weight:650;line-height:1.35;overflow-wrap:anywhere}
body.zd-pet-v2 .public-pet-item-feature{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin:11px 0 0;padding:9px 10px;border-radius:10px;background:#f4f8f6;color:#526961;font-size:.84rem;line-height:1.45}
body.zd-pet-v2 .public-pet-item-feature strong{color:#264d40;font-size:.72rem;white-space:nowrap}
body.zd-pet-v2 .public-pet-item-feature span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}

body.zd-pet-v2 .public-item-disclosure{margin-top:10px;border-top:1px solid rgba(22,76,59,.09)}
body.zd-pet-v2 .public-item-disclosure>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 2px 1px;color:#15513f;font-size:.82rem;font-weight:700;cursor:pointer}
body.zd-pet-v2 .public-item-disclosure>summary::-webkit-details-marker{display:none}
body.zd-pet-v2 .public-item-disclosure>summary::after{content:'+';display:grid;place-items:center;flex:0 0 22px;width:22px;height:22px;border:1px solid rgba(22,76,59,.14);border-radius:50%;font-size:1rem}
body.zd-pet-v2 .public-item-disclosure[open]>summary::after{content:'−'}
body.zd-pet-v2 .public-item-disclosure-body{display:grid;gap:11px;padding:12px 0 2px}
body.zd-pet-v2 .public-item-secondary-fact{display:grid;gap:4px;padding:10px 11px;border:1px solid rgba(22,76,59,.09);border-radius:10px;background:#f9fbfa}
body.zd-pet-v2 .public-item-secondary-fact small{color:#6a7f77;font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
body.zd-pet-v2 .public-item-secondary-fact strong{font-size:.88rem;line-height:1.4}
body.zd-pet-v2 .public-item-copy{margin:0;padding-top:0;border-top:0}
body.zd-pet-v2 .public-item-copy>strong{display:block;margin-bottom:5px;color:#163f33;font-size:.83rem}
body.zd-pet-v2 .public-item-copy>p{margin:0;color:#566d64;font-size:.88rem;line-height:1.55}
body.zd-pet-v2 .public-item-disclosure .public-pet-species-details{margin-top:0}

body.zd-pet-v2 .public-photos-compact{display:flex;align-items:center;justify-content:space-between;gap:16px}
body.zd-pet-v2 .public-photos-compact h2{margin:0;font-size:1.05rem}
body.zd-pet-v2 .public-photos-compact .account-muted{margin:5px 0 0}
body.zd-pet-v2 .public-photos-compact .btn{flex:0 0 auto}

@media (max-width:780px){
  body.zd-pet-v2 .public-disclosure-summary{min-height:58px;padding:15px 16px;gap:10px}
  body.zd-pet-v2 .public-disclosure-title{font-size:.94rem}
  body.zd-pet-v2 .public-disclosure-hint{font-size:0;gap:0}
  body.zd-pet-v2 .public-disclosure-body{padding:0 16px 16px}
  body.zd-pet-v2 .public-pet-item-summary{grid-template-columns:1fr 1fr;gap:7px}
  body.zd-pet-v2 .public-pet-item-feature{grid-template-columns:1fr;gap:4px}
  body.zd-pet-v2 .public-pet-item-feature strong{white-space:normal}
  body.zd-pet-v2 .public-animal-section-head .account-muted{font-size:.84rem;line-height:1.45}
  body.zd-pet-v2 .public-pet-item-cover{width:76px;min-width:76px;height:66px}
  body.zd-pet-v2 .public-photos-compact{align-items:stretch;flex-direction:column}
  body.zd-pet-v2 .public-photos-compact .btn{width:100%}
}

@media (max-width:430px){
  body.zd-pet-v2 .public-pet-item-summary{grid-template-columns:1fr 1fr}
  body.zd-pet-v2 .public-pet-item-summary>div{padding:8px 9px}
}

/* ZooDomik v0.1.73.2 — shared navigation + pet page usability polish */

/* One desktop navigation language on every public template. */
@media (min-width:1121px){
  html body .nav.zd-shared-nav{
    width:min(1240px,calc(100% - 40px))!important;
    min-height:68px!important;
    gap:14px!important;
  }
  html body .nav.zd-shared-nav .zd-shared-nav-menu{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:4px!important;
    min-width:0!important;
  }
  html body .nav.zd-shared-nav .nav-menu-head,
  html body .nav.zd-shared-nav .nav-mobile-section-label,
  html body .nav.zd-shared-nav .nav-mobile-add-bottom,
  html body .nav.zd-shared-nav .nav-route-meta,
  html body .nav.zd-shared-nav .nav-guest-mobile{
    display:none!important;
  }
  html body .nav.zd-shared-nav .nav-primary-route,
  html body .nav.zd-shared-nav .nav-dropdown-project,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet,
  html body .nav.zd-shared-nav .nav-guest-desktop{
    width:auto!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  html body .nav.zd-shared-nav .nav-primary-route,
  html body .nav.zd-shared-nav .nav-dropdown-project>.nav-dropdown-trigger,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet>.nav-dropdown-trigger,
  html body .nav.zd-shared-nav .nav-guest-desktop{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:40px!important;
    padding:8px 10px!important;
    border:1px solid transparent!important;
    border-radius:9px!important;
    background:#f8faf9!important;
    color:#31564b!important;
    font-size:.84rem!important;
    font-weight:500!important;
    line-height:1.2!important;
    white-space:nowrap!important;
    text-decoration:none!important;
    box-shadow:none!important;
    cursor:pointer!important;
    transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease!important;
  }
  html body .nav.zd-shared-nav .nav-route-title{font-weight:500!important}
  html body .nav.zd-shared-nav .nav-primary-route:hover,
  html body .nav.zd-shared-nav .nav-primary-route:focus-visible,
  html body .nav.zd-shared-nav .nav-dropdown-project>.nav-dropdown-trigger:hover,
  html body .nav.zd-shared-nav .nav-dropdown-project>.nav-dropdown-trigger:focus-visible,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet>.nav-dropdown-trigger:hover,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet>.nav-dropdown-trigger:focus-visible,
  html body .nav.zd-shared-nav .nav-guest-desktop:hover,
  html body .nav.zd-shared-nav .nav-guest-desktop:focus-visible{
    background:#eef5f2!important;
    border-color:#c2d7ce!important;
    color:#103f32!important;
    box-shadow:0 3px 10px rgba(18,61,49,.055)!important;
    outline:none!important;
  }
  html body .nav.zd-shared-nav .nav-primary-route.is-active,
  html body .nav.zd-shared-nav .nav-dropdown-project[open]>.nav-dropdown-trigger,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet[open]>.nav-dropdown-trigger{
    background:#e8f2ee!important;
    border-color:#b6cec4!important;
    color:#0f4b39!important;
  }
  html body .nav.zd-shared-nav .nav-desktop-create{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    min-height:40px!important;
    margin:0 0 0 3px!important;
    padding:8px 16px!important;
    border:1px solid #155743!important;
    border-radius:9px!important;
    background:#155743!important;
    color:#fff!important;
    font-size:.85rem!important;
    font-weight:600!important;
    line-height:1.2!important;
    white-space:nowrap!important;
    box-shadow:0 2px 8px rgba(18,61,49,.08)!important;
  }
  html body .nav.zd-shared-nav .nav-dropdown-project,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet{position:relative!important}
  html body .nav.zd-shared-nav .nav-dropdown-panel{
    position:absolute!important;
    top:calc(100% + 8px)!important;
    right:0!important;
    z-index:80!important;
    display:grid!important;
    gap:5px!important;
    min-width:224px!important;
    padding:8px!important;
    border:1px solid #dce7e2!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:0 18px 44px rgba(18,61,49,.14)!important;
  }
  html body .nav.zd-shared-nav .nav-dropdown-panel .nav-item,
  html body .nav.zd-shared-nav .nav-dropdown-panel .nav-logout{
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    min-height:40px!important;
    margin:0!important;
    padding:8px 10px!important;
    border:0!important;
    border-radius:9px!important;
    background:#fff!important;
    color:#31564b!important;
    font-size:.84rem!important;
    font-weight:500!important;
    text-align:left!important;
    text-decoration:none!important;
  }
  html body .nav.zd-shared-nav .nav-dropdown-panel .nav-item:hover,
  html body .nav.zd-shared-nav .nav-dropdown-panel .nav-item:focus-visible,
  html body .nav.zd-shared-nav .nav-dropdown-panel .nav-logout:hover,
  html body .nav.zd-shared-nav .nav-dropdown-panel .nav-logout:focus-visible{
    background:#eef5f2!important;
    color:#103f32!important;
    outline:none!important;
  }
  html body .nav.zd-shared-nav .nav-dropdown-panel .nav-item.is-active{
    background:#dfeee7!important;
    color:#0e4b39!important;
    font-weight:600!important;
  }
  html body .nav.zd-shared-nav .nav-dropdown-panel .nav-logout{color:#9b4038!important}
  html body .nav.zd-shared-nav .nav-caret{opacity:.66!important}
}

/* One mobile drawer language regardless of authentication state or page. */
@media (max-width:1120px){
  html body .nav.zd-shared-nav .nav-menu-toggle,
  html body .nav.zd-shared-nav .nav-menu-close{font-weight:500!important}
  html body .nav.zd-shared-nav .nav-desktop-create{font-weight:500!important}
  html body .nav.zd-shared-nav .nav-route-title{font-weight:600!important}
  html body .nav.zd-shared-nav .nav-route-meta{font-weight:400!important}

  html body .nav.zd-shared-nav .nav-dropdown-project,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet{
    width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  html body .nav.zd-shared-nav .nav-dropdown-project{padding-top:10px!important}
  html body .nav.zd-shared-nav .nav-dropdown-cabinet{padding:0!important}
  html body .nav.zd-shared-nav .nav-dropdown-project>.nav-dropdown-trigger,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet>.nav-dropdown-trigger{
    position:relative!important;
    width:100%!important;
    justify-content:center!important;
    text-align:center!important;
    font-weight:500!important;
  }
  html body .nav.zd-shared-nav .nav-dropdown-project>.nav-dropdown-trigger .nav-caret,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet>.nav-dropdown-trigger .nav-caret{
    position:absolute!important;
    right:14px!important;
  }
  html body .nav.zd-shared-nav .nav-dropdown-project>.nav-dropdown-panel,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet>.nav-dropdown-panel{
    width:100%!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  html body .nav.zd-shared-nav .nav-guest-desktop{display:none!important}
  html body .nav.zd-shared-nav .nav-guest-mobile{display:block!important;order:31!important;width:100%!important}
  html body .nav.zd-shared-nav .nav-dropdown-cabinet-guest>.nav-dropdown-panel .nav-item{justify-content:flex-start!important}
}

/* Pet page: fewer competing blocks, short questionnaires stay compact. */
body.zd-pet-v2 .public-case-contact-card{align-self:start}
body.zd-pet-v2 .public-contact-guidance-disclosure{
  margin-top:10px;
  border:1px solid rgba(22,76,59,.10);
  border-radius:10px;
  background:#f5f9f7;
  overflow:hidden;
}
body.zd-pet-v2 .public-contact-guidance-disclosure>summary{
  list-style:none;
  position:relative;
  min-height:42px;
  padding:10px 34px 10px 11px;
  color:#31564b;
  font-size:.82rem;
  font-weight:600;
  cursor:pointer;
}
body.zd-pet-v2 .public-contact-guidance-disclosure>summary::-webkit-details-marker{display:none}
body.zd-pet-v2 .public-contact-guidance-disclosure>summary::after{
  content:'+';
  position:absolute;
  top:50%;right:11px;
  transform:translateY(-50%);
  font-size:1rem;
}
body.zd-pet-v2 .public-contact-guidance-disclosure[open]>summary::after{content:'−'}
body.zd-pet-v2 .public-contact-guidance-disclosure p{margin:0;padding:0 11px 11px;color:#5b7068;font-size:.82rem;line-height:1.5}
body.zd-pet-v2 .public-contact-reference{margin:10px 0 0;color:#788982;font-size:.74rem;text-align:center}

body.zd-pet-v2 .public-pet-item-summary:empty{display:none}
body.zd-pet-v2 .public-pet-item-summary{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}
body.zd-pet-v2 .public-pet-item-feature{grid-template-columns:minmax(110px,auto) 1fr}

body.zd-pet-v2 .public-seo-discovery-panel.is-links-only{
  padding:12px 14px;
  border-radius:14px;
  background:transparent;
  box-shadow:none;
}
body.zd-pet-v2 .public-seo-discovery-links-only{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px;
}
body.zd-pet-v2 .public-seo-discovery-links-only a{background:#fff}

/* Contact reveal is a compact dialog on desktop and a calm bottom sheet on mobile. */
body.zd-pet-v2 .js-contact-modal{
  padding:20px!important;
  place-items:center!important;
  background:rgba(9,29,23,.64)!important;
}
body.zd-pet-v2 .contact-modal-card{
  width:min(560px,calc(100vw - 40px))!important;
  min-height:0!important;
  max-height:calc(100dvh - 40px)!important;
  margin:auto!important;
  padding:24px!important;
  border-radius:18px!important;
  overflow:auto!important;
  background:#fff!important;
}
body.zd-pet-v2 .contact-modal-card .modal-close{position:absolute!important;top:14px!important;right:14px!important}
body.zd-pet-v2 .contact-modal-card h2{margin:5px 48px 8px 0;font-size:1.5rem;line-height:1.16}
body.zd-pet-v2 .contact-modal-card>.account-muted{margin:0 40px 14px 0;font-size:.88rem;line-height:1.5}
body.zd-pet-v2 .contact-modal-card .contact-gate-form{margin:0}
body.zd-pet-v2 .contact-modal-card .contact-gate-form .btn{width:100%;min-height:46px}
body.zd-pet-v2 .contact-modal-card .contact-result:not(:empty){margin-top:12px}
body.zd-pet-v2 .contact-modal-card .contact-reveal{display:grid;gap:8px}
body.zd-pet-v2 .contact-modal-card .contact-reveal h3{margin:4px 0 6px;font-size:1rem}
body.zd-pet-v2 .contact-modal-card .contact-reveal p{margin:0;line-height:1.5}
body.zd-pet-v2 .contact-modal-card .contact-reveal .form-actions{margin-top:12px}

/* The photo viewer stays immersive, but the photo owns the viewport instead of a large letterboxed card. */
body.zd-pet-v2 .js-photo-gallery{
  padding:0!important;
  background:#0a211a!important;
  overflow:hidden!important;
}
body.zd-pet-v2 .photo-gallery-card{
  display:grid!important;
  grid-template-rows:auto minmax(0,1fr)!important;
  gap:0!important;
  width:100vw!important;
  height:100dvh!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:#0a211a!important;
  overflow:hidden!important;
}
body.zd-pet-v2 .photo-gallery-card>.modal-close{
  position:fixed!important;
  top:max(12px,env(safe-area-inset-top))!important;
  right:max(12px,env(safe-area-inset-right))!important;
  z-index:8!important;
  background:rgba(255,255,255,.94)!important;
}
body.zd-pet-v2 .photo-gallery-head{
  min-height:84px;
  padding:max(14px,env(safe-area-inset-top)) 76px 12px 20px!important;
  align-items:center!important;
  color:#fff;
}
body.zd-pet-v2 .photo-gallery-head .kicker{color:#b7d2c7}
body.zd-pet-v2 .photo-gallery-head h2{color:#fff;font-size:1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.zd-pet-v2 .photo-gallery-count{
  min-height:32px;
  border-color:rgba(255,255,255,.18);
  background:rgba(255,255,255,.10);
  color:#fff;
  font-weight:600;
}
body.zd-pet-v2 .photo-gallery-stage{
  min-height:0!important;
  height:100%!important;
  border:0!important;
  border-radius:0!important;
  background:#0a211a!important;
  touch-action:pan-y;
}
body.zd-pet-v2 .photo-gallery-stage img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
}
body.zd-pet-v2 .photo-gallery-nav{
  width:46px;
  height:46px;
  border-color:rgba(255,255,255,.18);
  background:rgba(255,255,255,.92);
  font-weight:500;
}

@media (max-width:700px){
  body.zd-pet-v2 .public-pet-item-summary{grid-template-columns:1fr 1fr}
  body.zd-pet-v2 .public-pet-item-feature{grid-template-columns:1fr}
  body.zd-pet-v2 .public-case-contact-card{padding:14px}
  body.zd-pet-v2 .public-seo-discovery-panel.is-links-only{padding:8px 0}
  body.zd-pet-v2 .public-seo-discovery-links-only{display:grid;grid-template-columns:1fr;gap:6px}
  body.zd-pet-v2 .public-seo-discovery-links-only a{width:100%;min-height:42px;display:flex;align-items:center}

  body.zd-pet-v2 .js-contact-modal{place-items:end center!important;padding:0!important}
  body.zd-pet-v2 .contact-modal-card{
    width:100%!important;
    max-height:min(82dvh,720px)!important;
    margin:0!important;
    padding:20px 16px calc(18px + env(safe-area-inset-bottom))!important;
    border-radius:20px 20px 0 0!important;
  }
  body.zd-pet-v2 .contact-modal-card h2{font-size:1.3rem}
  body.zd-pet-v2 .contact-modal-card>.account-muted{font-size:.84rem}

  body.zd-pet-v2 .photo-gallery-head{
    min-height:76px;
    padding:max(12px,env(safe-area-inset-top)) 62px 10px 14px!important;
  }
  body.zd-pet-v2 .photo-gallery-head>div{min-width:0}
  body.zd-pet-v2 .photo-gallery-head .kicker{font-size:.68rem}
  body.zd-pet-v2 .photo-gallery-head h2{font-size:.92rem}
  body.zd-pet-v2 .photo-gallery-count{position:absolute;top:max(50px,calc(env(safe-area-inset-top) + 48px));left:50%;z-index:4;transform:translateX(-50%)}
  body.zd-pet-v2 .photo-gallery-nav{width:42px;height:42px;font-size:1.55rem}
  body.zd-pet-v2 .js-gallery-prev{left:10px}
  body.zd-pet-v2 .js-gallery-next{right:10px}
}

@media (max-width:430px){
  body.zd-pet-v2 .public-pet-item-summary{grid-template-columns:1fr 1fr}
  body.zd-pet-v2 .public-pet-item-summary>div{padding:8px 9px}
}

@media (prefers-reduced-motion:reduce){
  body.zd-pet-v2 .photo-gallery-stage img{transition:none!important}
}

/* ZooDomik v0.1.73.3 — canonical desktop navigation + pet-page visual cleanup */

/*
 * The desktop shell is global. Page templates must not change the order or
 * width of the primary navigation. Mobile intentionally keeps the approved
 * task-first drawer order from the shared markup.
 */
@media (min-width:1121px){
  html body .nav.zd-shared-nav .nav-primary-search{order:10!important}
  html body .nav.zd-shared-nav .nav-primary-lost{order:11!important}
  html body .nav.zd-shared-nav .nav-primary-found{order:12!important}
  html body .nav.zd-shared-nav .nav-primary-family{order:13!important}
  html body .nav.zd-shared-nav .nav-dropdown-project{order:20!important}
  html body .nav.zd-shared-nav .nav-dropdown-cabinet,
  html body .nav.zd-shared-nav .nav-guest-desktop{order:30!important}
  html body .nav.zd-shared-nav .nav-desktop-create{order:40!important}

  html body .nav.zd-shared-nav .nav-primary-route,
  html body .nav.zd-shared-nav .nav-dropdown-project>.nav-dropdown-trigger,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet>.nav-dropdown-trigger,
  html body .nav.zd-shared-nav .nav-guest-desktop,
  html body .nav.zd-shared-nav .nav-desktop-create{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
  }

  html body .nav.zd-shared-nav .nav-desktop-create{
    margin-left:3px!important;
    padding-left:16px!important;
    padding-right:16px!important;
  }
}

/* Prevent the desktop navigation from becoming cramped just above the mobile breakpoint. */
@media (min-width:1121px) and (max-width:1240px){
  html body .nav.zd-shared-nav{width:min(100% - 24px,1240px)!important;gap:8px!important}
  html body .nav.zd-shared-nav .zd-shared-nav-menu{gap:3px!important}
  html body .nav.zd-shared-nav .nav-primary-route,
  html body .nav.zd-shared-nav .nav-dropdown-project>.nav-dropdown-trigger,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet>.nav-dropdown-trigger,
  html body .nav.zd-shared-nav .nav-guest-desktop{
    padding-left:8px!important;
    padding-right:8px!important;
    font-size:.78rem!important;
  }
  html body .nav.zd-shared-nav .nav-desktop-create{
    padding-left:12px!important;
    padding-right:12px!important;
    font-size:.79rem!important;
  }
}

/* Pet-page thumbnail row is scrollable, but a browser scrollbar is visual noise. */
body.zd-pet-v2 .public-pet-hero-thumbs{
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
}
body.zd-pet-v2 .public-pet-hero-thumbs::-webkit-scrollbar{display:none!important}

/* Links-only discovery should read as navigation, not as an empty content card. */
body.zd-pet-v2 .public-seo-discovery-panel.is-links-only{
  border:0!important;
  padding-left:0!important;
  padding-right:0!important;
}

/* Keep the gallery header readable at every mobile width. The counter belongs
 * to the header flow and must never sit on top of the title. */
@media (max-width:700px){
  body.zd-pet-v2 .photo-gallery-head{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    align-content:start!important;
    gap:7px!important;
    min-height:96px!important;
    padding:max(12px,env(safe-area-inset-top)) 64px 10px 14px!important;
  }
  body.zd-pet-v2 .photo-gallery-head>div{min-width:0!important}
  body.zd-pet-v2 .photo-gallery-head h2{
    max-width:100%!important;
    margin-top:2px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.zd-pet-v2 .photo-gallery-count{
    position:static!important;
    justify-self:start!important;
    min-width:58px!important;
    min-height:28px!important;
    padding:3px 10px!important;
    transform:none!important;
    font-size:.78rem!important;
  }
}

/* A compact public pet page should not repeat the technical reference in the
 * primary action card. It remains visible once in the hero/meta area. */
body.zd-pet-v2 .public-case-contact-card .public-contact-reference{display:none!important}

/* ZooDomik v0.1.73.4 — calm pet profile, reliable contact sheet and canonical mobile type */
@media (max-width:1120px){
  /* Text controls must read like calm navigation, not bold CTAs. */
  html body .nav.zd-shared-nav .nav-menu-toggle-text,
  html body .nav.zd-shared-nav .nav-menu-close-text{
    font-weight:500!important;
    letter-spacing:0!important;
  }
}

/* The automatic contact gate must disappear after a successful reveal even
   when older generic form styles declare display:grid. */
body.zd-pet-v2 .contact-gate-form[hidden]{display:none!important}
body.zd-pet-v2 .contact-modal-card{overscroll-behavior:contain}
body.zd-pet-v2 .contact-modal-card .contact-result:not(:empty){
  margin-top:14px;
  padding-top:14px;
}
body.zd-pet-v2 .contact-primary-list{display:grid;gap:8px}
body.zd-pet-v2 .contact-primary-row{
  display:grid;
  grid-template-columns:minmax(92px,.65fr) minmax(0,1.35fr);
  gap:5px 12px;
  align-items:center;
  min-width:0;
  padding:11px 12px;
  border:1px solid rgba(22,76,59,.10);
  border-radius:12px;
  background:#f8fbf9;
  color:#173f34;
  text-decoration:none;
}
body.zd-pet-v2 .contact-primary-label{
  color:#6a7f77;
  font-size:.72rem;
  font-weight:650;
  letter-spacing:.035em;
  text-transform:uppercase;
}
body.zd-pet-v2 .contact-primary-row strong{
  min-width:0;
  color:#163f33;
  font-size:.96rem;
  font-weight:650;
  line-height:1.35;
  overflow-wrap:anywhere;
}
body.zd-pet-v2 .contact-primary-action:hover,
body.zd-pet-v2 .contact-primary-action:focus-visible{
  border-color:#b7cfc4;
  background:#f1f7f4;
  outline:none;
}
body.zd-pet-v2 .contact-primary-note{
  grid-column:2;
  color:#2f6a58;
  font-size:.76rem;
  font-weight:500;
}
body.zd-pet-v2 .contact-profile-disclosure{
  margin-top:10px;
  border-top:1px solid rgba(22,76,59,.10);
}
body.zd-pet-v2 .contact-profile-disclosure>summary{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:46px;
  padding:12px 2px 6px;
  color:#31564b;
  font-size:.86rem;
  font-weight:600;
  cursor:pointer;
}
body.zd-pet-v2 .contact-profile-disclosure>summary::-webkit-details-marker{display:none}
body.zd-pet-v2 .contact-profile-disclosure>summary::after{
  content:'+';
  display:grid;
  place-items:center;
  flex:0 0 22px;
  width:22px;
  height:22px;
  border:1px solid rgba(22,76,59,.14);
  border-radius:50%;
  font-size:.95rem;
  font-weight:500;
}
body.zd-pet-v2 .contact-profile-disclosure[open]>summary::after{content:'−'}
body.zd-pet-v2 .contact-profile-disclosure-body{display:grid;gap:7px;padding:6px 0 2px}
body.zd-pet-v2 .contact-profile-disclosure-body p{margin:0;color:#536b62;font-size:.86rem;line-height:1.5}
body.zd-pet-v2 .contact-profile-action{margin-top:12px}
body.zd-pet-v2 .contact-profile-action .btn{width:100%;min-height:44px}

/* Progressive disclosure: first scan stays short. */
body.zd-pet-v2 .public-animal-section-head{align-items:center}
body.zd-pet-v2 .public-pet-item-card{padding:13px}
body.zd-pet-v2 .public-pet-item-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:10px}
body.zd-pet-v2 .public-item-disclosure{margin-top:9px}
body.zd-pet-v2 .public-item-disclosure>summary{min-height:38px;padding:9px 2px 0;font-weight:600}
body.zd-pet-v2 .public-case-contact-card h2{margin-bottom:7px}
body.zd-pet-v2 .public-case-contact-card>.account-muted{margin-bottom:10px;line-height:1.48}
body.zd-pet-v2 .public-contact-guidance-disclosure{margin-top:8px}
body.zd-pet-v2 .public-contact-actions{margin-top:10px}
body.zd-pet-v2 .public-disclosure-summary{font-weight:600}
body.zd-pet-v2 .public-seo-discovery-links-only a{font-weight:600}

@media (max-width:700px){
  /* A real bottom sheet: never clipped at the top, scrolls internally if a
     profile contains extra contact fields. */
  body.zd-pet-v2 .js-contact-modal{
    display:flex!important;
    align-items:flex-end!important;
    justify-content:center!important;
    padding:0!important;
  }
  body.zd-pet-v2 .contact-modal-card{
    align-self:flex-end!important;
    width:100%!important;
    max-height:calc(100dvh - max(14px,env(safe-area-inset-top)))!important;
    margin:0!important;
    padding:20px 16px calc(18px + env(safe-area-inset-bottom))!important;
    border-radius:20px 20px 0 0!important;
    overflow-y:auto!important;
  }
  body.zd-pet-v2 .contact-modal-card h2{margin-top:4px;margin-bottom:7px;font-size:1.24rem;line-height:1.2}
  body.zd-pet-v2 .contact-modal-card>.account-muted{margin-bottom:12px;line-height:1.45}
  body.zd-pet-v2 .contact-modal-card .contact-result:not(:empty){margin-top:10px;padding-top:10px}
  body.zd-pet-v2 .contact-primary-row{
    grid-template-columns:1fr;
    gap:3px;
    padding:10px 11px;
  }
  body.zd-pet-v2 .contact-primary-note{grid-column:1}

  /* Keep the pet page readable at a glance. Identity/status remain visible;
     secondary attributes live behind Details. */
  body.zd-pet-v2 .public-hero-body .hero-copy{margin-top:7px}
  body.zd-pet-v2 .pet-reference{display:none!important}
  body.zd-pet-v2 .public-case-content{padding-bottom:22px}
  body.zd-pet-v2 .public-layout{gap:10px}
  body.zd-pet-v2 .content-stack{gap:9px}
  body.zd-pet-v2 .public-case-contact-card{padding:14px}
  body.zd-pet-v2 .public-contact-actions{gap:7px}
  body.zd-pet-v2 .public-contact-actions .btn{min-height:44px}
  body.zd-pet-v2 .public-animal-section{padding:14px}
  body.zd-pet-v2 .public-animal-section-head h2{font-size:1.08rem;line-height:1.25}
  body.zd-pet-v2 .public-animal-count{min-width:30px;height:30px;font-size:.76rem}
  body.zd-pet-v2 .public-pet-item-list{gap:8px;margin-top:11px}
  body.zd-pet-v2 .public-pet-item-card{padding:12px}
  body.zd-pet-v2 .public-pet-item-title h3{margin-top:6px;font-size:1rem}
  body.zd-pet-v2 .public-pet-item-summary{grid-template-columns:1fr 1fr;gap:6px;margin-top:9px}
  body.zd-pet-v2 .public-pet-item-summary>div{padding:8px 9px}
  body.zd-pet-v2 .public-pet-item-feature{margin-top:8px;padding:8px 9px}
  body.zd-pet-v2 .public-item-disclosure>summary{font-size:.80rem}
  body.zd-pet-v2 .public-disclosure-summary{min-height:54px;padding:13px 14px}
  body.zd-pet-v2 .public-disclosure-body{padding:0 14px 14px}
  body.zd-pet-v2 .public-seo-discovery-panel.is-links-only{padding:6px 0}
  body.zd-pet-v2 .public-seo-discovery-links-only a{min-height:40px;padding:8px 10px;font-size:.80rem}
}
body.zd-pet-v2 .contact-result.is-loading{
  margin-top:8px!important;
  padding:10px 12px!important;
  border:1px solid rgba(22,76,59,.09);
  border-radius:12px;
  background:#f7faf8;
  color:#5c7169;
  font-size:.86rem;
  line-height:1.4;
}

/* ZooDomik v0.1.73.5 — calm controls, exact circular alignment, desktop account priority */

/* Buttons are actions, not headings. Keep their label weight calm across the site. */
.btn,
button,
.nav-item,
.nav-action-chip,
.nav-logout,
.nav-support-button,
html body .nav.zd-shared-nav .nav-menu-toggle,
html body .nav.zd-shared-nav .nav-menu-close,
html body .nav.zd-shared-nav .nav-desktop-create,
html body .nav.zd-shared-nav .nav-dropdown-trigger,
html body .nav.zd-shared-nav .nav-route-title{
  font-weight:500!important;
}

/* Statuses/chips should be legible without visually competing with titles. */
.status-pill,
.tag,
.expiry,
.upd-label,
.public-side-status,
body.zd-pet-v2 .public-case-eyebrow,
body.zd-pet-v2 .public-animal-count,
body.zd-catalog-v23 .catalog-direction-grid a small{
  font-weight:500!important;
}

/* Any symbol/number placed in a real circle sits exactly in its geometric centre. */
body.zd-pet-v2 .public-animal-count{
  display:grid!important;
  place-items:center!important;
  width:34px!important;
  min-width:34px!important;
  height:34px!important;
  padding:0!important;
  line-height:1!important;
  text-align:center!important;
  aspect-ratio:1/1!important;
  box-sizing:border-box!important;
}
body.zd-pet-v2 .public-disclosure-hint::after,
body.zd-pet-v2 .public-item-disclosure>summary::after,
body.zd-pet-v2 .contact-profile-disclosure>summary::after{
  display:grid!important;
  place-items:center!important;
  width:22px!important;
  min-width:22px!important;
  height:22px!important;
  padding:0!important;
  line-height:1!important;
  text-align:center!important;
  box-sizing:border-box!important;
}
body.zd-catalog-v23 .catalog-direction-grid a small{
  display:grid!important;
  place-items:center!important;
  width:24px!important;
  min-width:24px!important;
  height:24px!important;
  padding:0!important;
  line-height:1!important;
  text-align:center!important;
  aspect-ratio:1/1!important;
  box-sizing:border-box!important;
}

/* Desktop priority: primary creation action first, account immediately after it,
   then the informational utility menu. */
@media (min-width:1121px){
  html body .nav.zd-shared-nav .nav-primary-search{order:10!important}
  html body .nav.zd-shared-nav .nav-primary-lost{order:11!important}
  html body .nav.zd-shared-nav .nav-primary-found{order:12!important}
  html body .nav.zd-shared-nav .nav-primary-family{order:13!important}
  html body .nav.zd-shared-nav .nav-desktop-create{order:20!important}
  html body .nav.zd-shared-nav .nav-dropdown-cabinet,
  html body .nav.zd-shared-nav .nav-guest-desktop{order:21!important}
  html body .nav.zd-shared-nav .nav-dropdown-project{order:30!important}

  html body .nav.zd-shared-nav .nav-dropdown-cabinet>.nav-dropdown-trigger{
    border-color:#155743!important;
    background:#fff!important;
    color:#155743!important;
    box-shadow:none!important;
    font-weight:500!important;
  }
  html body .nav.zd-shared-nav .nav-dropdown-cabinet>.nav-dropdown-trigger:hover,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet>.nav-dropdown-trigger:focus-visible,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet[open]>.nav-dropdown-trigger{
    border-color:#155743!important;
    background:#edf5f1!important;
    color:#103f32!important;
    box-shadow:0 3px 10px rgba(18,61,49,.055)!important;
  }

  /* Guest login occupies the same secondary position without competing with Add. */
  html body .nav.zd-shared-nav .nav-guest-desktop{
    border-color:#155743!important;
    background:#fff!important;
    color:#155743!important;
    font-weight:500!important;
  }
}

@media (max-width:700px){
  body.zd-pet-v2 .public-animal-count{
    width:30px!important;
    min-width:30px!important;
    height:30px!important;
  }
}

/* Active/expanded controls keep the same medium weight; state is communicated by
   background/border, not by a sudden jump to bold text. */
html body .nav.zd-shared-nav .nav-dropdown-panel .nav-item.is-active,
html body .nav.zd-shared-nav .nav-dropdown-panel .nav-logout,
body.zd-catalog-v23 .catalog-direction-grid a[aria-current="page"],
body.zd-pet-v2 .public-contact-guidance-disclosure>summary,
body.zd-pet-v2 .public-item-disclosure>summary,
body.zd-pet-v2 .public-disclosure-summary,
body.zd-pet-v2 .public-disclosure-hint,
body.zd-pet-v2 .public-seo-discovery-links-only a{
  font-weight:500!important;
}

/* ZooDomik v0.1.73.6 — international-ready pet metadata + optical control alignment */

/* Shared navigation priority. Keep the utility section before the primary create
   action, while Cabinet remains the visible secondary account action. */
@media (min-width:1121px){
  html body .nav.zd-shared-nav .nav-primary-search{order:10!important}
  html body .nav.zd-shared-nav .nav-primary-lost{order:11!important}
  html body .nav.zd-shared-nav .nav-primary-found{order:12!important}
  html body .nav.zd-shared-nav .nav-primary-family{order:13!important}
  html body .nav.zd-shared-nav .nav-dropdown-project{order:20!important}
  html body .nav.zd-shared-nav .nav-desktop-create{order:30!important}
  html body .nav.zd-shared-nav .nav-dropdown-cabinet,
  html body .nav.zd-shared-nav .nav-guest-desktop{order:40!important}
}

/* Circular controls: use CSS geometry rather than font glyph baselines. This keeps
   X / chevrons / plus / minus exactly centred in every font and locale. */
html body .modal-close{
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  line-height:1!important;
  font-size:0!important;
  text-align:center!important;
  box-sizing:border-box!important;
}
html body .modal-close::before,
html body .modal-close::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:13px;
  height:1.5px;
  border-radius:999px;
  background:currentColor;
  transform-origin:center;
}
html body .modal-close::before{transform:translate(-50%,-50%) rotate(45deg)}
html body .modal-close::after{transform:translate(-50%,-50%) rotate(-45deg)}

body.zd-pet-v2 .photo-gallery-nav{
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  line-height:1!important;
  font-size:0!important;
  text-align:center!important;
  box-sizing:border-box!important;
}
body.zd-pet-v2 .photo-gallery-nav::before{
  content:"";
  width:10px;
  height:10px;
  border-top:2px solid currentColor;
  border-right:2px solid currentColor;
  box-sizing:border-box;
}
body.zd-pet-v2 .js-gallery-prev::before{transform:translateX(1px) rotate(-135deg)}
body.zd-pet-v2 .js-gallery-next::before{transform:translateX(-1px) rotate(45deg)}

body.zd-pet-v2 .public-disclosure-hint::after,
body.zd-pet-v2 .public-item-disclosure>summary::after,
body.zd-pet-v2 .public-contact-guidance-disclosure>summary::after,
body.zd-pet-v2 .contact-profile-disclosure>summary::after{
  content:""!important;
  display:grid!important;
  place-items:center!important;
  width:22px!important;
  min-width:22px!important;
  height:22px!important;
  padding:0!important;
  border:1px solid rgba(22,76,59,.14)!important;
  border-radius:50%!important;
  line-height:1!important;
  font-size:0!important;
  text-align:center!important;
  box-sizing:border-box!important;
  background:
    linear-gradient(currentColor,currentColor) center/8px 1.25px no-repeat,
    linear-gradient(currentColor,currentColor) center/1.25px 8px no-repeat!important;
}
body.zd-pet-v2 .public-disclosure[open] .public-disclosure-hint::after,
body.zd-pet-v2 .public-item-disclosure[open]>summary::after,
body.zd-pet-v2 .public-contact-guidance-disclosure[open]>summary::after,
body.zd-pet-v2 .contact-profile-disclosure[open]>summary::after{
  background:linear-gradient(currentColor,currentColor) center/8px 1.25px no-repeat!important;
}

body.zd-pet-v2 .public-animal-count,
body.zd-pet-v2 .photo-gallery-count{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  line-height:1!important;
  box-sizing:border-box!important;
}

/* Micro-labels identify data. Values and descriptive copy should stay calm. */
body.zd-pet-v2 .public-hero-fact dt,
body.zd-pet-v2 .public-pet-item-summary dt,
body.zd-pet-v2 .public-item-secondary-fact small,
body.zd-pet-v2 .public-detail-row dt,
body.zd-pet-v2 .public-pet-item-feature strong{
  color:#6a7f77!important;
  font-weight:600!important;
  letter-spacing:.055em!important;
  text-transform:uppercase!important;
}
body.zd-pet-v2 .public-hero-fact dd,
body.zd-pet-v2 .public-pet-item-summary dd,
body.zd-pet-v2 .public-item-secondary-fact strong,
body.zd-pet-v2 .public-detail-row dd,
body.zd-pet-v2 .public-pet-item-feature span,
body.zd-pet-v2 .public-item-copy>p,
body.zd-pet-v2 .public-description-item p,
body.zd-pet-v2 .public-hero-body .hero-copy,
body.zd-pet-v2 .public-case-contact-card>.account-muted{
  font-weight:400!important;
}
body.zd-pet-v2 .public-pet-item-summary dd,
body.zd-pet-v2 .public-item-secondary-fact strong,
body.zd-pet-v2 .public-detail-row dd{
  color:#173f34!important;
}

/* Status / update / reference are one compact information row. The boxes may grow
   with translated text; no fixed inline width is used. */
body.zd-pet-v2 .public-hero-meta{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:7px!important;
  margin-top:13px!important;
}
body.zd-pet-v2 .public-meta-item{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:0!important;
  min-height:32px!important;
  padding:6px 10px!important;
  border:1px solid rgba(22,76,59,.10)!important;
  border-radius:999px!important;
  line-height:1.2!important;
  text-align:center!important;
  font-size:.76rem!important;
  font-weight:500!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
}
body.zd-pet-v2 .public-meta-status{
  background:var(--case-soft)!important;
  color:var(--case-accent-dark)!important;
}
body.zd-pet-v2 .public-meta-updated{
  background:#f7faf8!important;
  color:#48665b!important;
}
body.zd-pet-v2 .public-meta-reference{
  gap:4px!important;
  margin:0!important;
  background:#fff!important;
  color:#657b72!important;
}
body.zd-pet-v2 .public-meta-reference strong{
  color:#31564b!important;
  font-weight:500!important;
}
body.zd-pet-v2 .pet-reference{display:inline-flex!important}

/* Long translations must wrap in content blocks instead of forcing a wider card. */
body.zd-pet-v2 .public-disclosure-title,
body.zd-pet-v2 .public-item-disclosure>summary,
body.zd-pet-v2 .public-pet-item-title,
body.zd-pet-v2 .public-pet-item-summary>div,
body.zd-pet-v2 .public-item-secondary-fact,
body.zd-pet-v2 .public-detail-row{
  min-width:0!important;
  overflow-wrap:anywhere;
}

@media (max-width:700px){
  body.zd-pet-v2 .public-hero-meta{
    align-items:center!important;
    gap:6px!important;
  }
  body.zd-pet-v2 .public-meta-item{
    min-height:30px!important;
    padding:5px 9px!important;
    font-size:.72rem!important;
  }
  body.zd-pet-v2 .pet-reference{display:inline-flex!important}
  body.zd-pet-v2 .photo-gallery-card>.modal-close,
  body.zd-pet-v2 .contact-modal-card>.modal-close{
    width:42px!important;
    height:42px!important;
  }
}

/* ZooDomik v0.1.73.7 — navigation rhythm, exact circular geometry, clearer breadcrumbs */

/* Mobile drawer follows one predictable action order:
   Useful -> Add listing -> Cabinet -> Support. Quick routes remain above it. */
@media (max-width:1120px){
  html body .nav.zd-shared-nav .nav-mobile-cabinet-label{display:none!important}

  html body .nav.zd-shared-nav .nav-dropdown-project{
    order:20!important;
    margin:4px 0 0!important;
    padding:0!important;
    border:0!important;
  }
  html body .nav.zd-shared-nav .nav-desktop-create{
    order:21!important;
    margin:8px 0 0!important;
  }
  html body .nav.zd-shared-nav .nav-dropdown-cabinet,
  html body .nav.zd-shared-nav .nav-guest-mobile{
    order:22!important;
    margin:8px 0 0!important;
    padding:0!important;
    border:0!important;
  }
  html body .nav.zd-shared-nav .nav-mobile-add-bottom{
    order:23!important;
    margin:8px 0 0!important;
    padding:0!important;
    border:0!important;
  }

  /* Useful is another clear destination group, not a centred anonymous bar. */
  html body .nav.zd-shared-nav .nav-dropdown-project>.nav-dropdown-trigger{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 24px!important;
    min-height:64px!important;
    padding:10px 12px!important;
    align-items:center!important;
    justify-content:stretch!important;
    text-align:left!important;
  }
  html body .nav.zd-shared-nav .nav-dropdown-project>.nav-dropdown-trigger .nav-dropdown-copy{
    display:grid!important;
    min-width:0!important;
    gap:3px!important;
    text-align:left!important;
  }
  html body .nav.zd-shared-nav .nav-dropdown-project>.nav-dropdown-trigger .nav-route-title,
  html body .nav.zd-shared-nav .nav-dropdown-project>.nav-dropdown-trigger .nav-route-meta{
    display:block!important;
    grid-column:auto!important;
    grid-row:auto!important;
    margin:0!important;
    text-align:left!important;
  }
  html body .nav.zd-shared-nav .nav-dropdown-project>.nav-dropdown-trigger .nav-route-title{
    font-size:.98rem!important;
    font-weight:500!important;
    line-height:1.2!important;
  }
  html body .nav.zd-shared-nav .nav-dropdown-project>.nav-dropdown-trigger .nav-route-meta{
    color:#667b72!important;
    font-size:.78rem!important;
    font-weight:400!important;
    line-height:1.3!important;
  }
  html body .nav.zd-shared-nav .nav-dropdown-project>.nav-dropdown-trigger .nav-caret{
    position:static!important;
    grid-column:2!important;
    justify-self:end!important;
    align-self:center!important;
  }

  /* Cabinet stays visually secondary and centred. */
  html body .nav.zd-shared-nav .nav-dropdown-cabinet>.nav-dropdown-trigger{
    position:relative!important;
    justify-content:center!important;
    text-align:center!important;
  }
  html body .nav.zd-shared-nav .nav-dropdown-cabinet>.nav-dropdown-trigger .nav-caret{
    position:absolute!important;
    right:14px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
  }
}

/* Breadcrumbs are navigation, not decoration. Clickable ancestors look clickable,
   the current page stays quiet, and long titles do not compete with H1. */
body.zd-pet-v2 .public-breadcrumbs{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  padding-top:20px!important;
  color:#6c8179!important;
}
body.zd-pet-v2 .public-breadcrumb-item{
  display:inline-flex!important;
  align-items:center!important;
  min-width:0!important;
  gap:6px!important;
}
body.zd-pet-v2 .public-breadcrumbs a{
  display:inline-flex!important;
  align-items:center!important;
  min-height:30px!important;
  padding:5px 9px!important;
  border:1px solid rgba(22,76,59,.10)!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#28594b!important;
  font-weight:500!important;
  line-height:1.2!important;
  text-decoration:none!important;
}
body.zd-pet-v2 .public-breadcrumbs a:hover,
body.zd-pet-v2 .public-breadcrumbs a:focus-visible{
  border-color:#b9d0c5!important;
  background:#eef6f2!important;
  color:#124837!important;
  outline:none!important;
}
body.zd-pet-v2 .public-breadcrumb-separator{
  position:relative!important;
  display:block!important;
  width:7px!important;
  height:11px!important;
  flex:0 0 7px!important;
}
body.zd-pet-v2 .public-breadcrumb-separator::before{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  width:6px!important;
  height:6px!important;
  border-top:1.5px solid #8ca098!important;
  border-right:1.5px solid #8ca098!important;
  transform:translate(-65%,-50%) rotate(45deg)!important;
}
body.zd-pet-v2 .public-breadcrumb-current{
  color:#73877f!important;
  font-weight:400!important;
  overflow-wrap:anywhere!important;
}
@media (max-width:700px){
  body.zd-pet-v2 .public-breadcrumbs{gap:4px!important;padding-top:14px!important;font-size:.76rem!important}
  body.zd-pet-v2 .public-breadcrumbs a{min-height:28px!important;padding:4px 8px!important}
  body.zd-pet-v2 .public-breadcrumb-item.is-current{display:none!important}
}

/* Animal-card scan pattern: name first on the left, status at the right edge. */
body.zd-pet-v2 .public-pet-item-title{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:start!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
}
body.zd-pet-v2 .public-pet-item-title h3{
  grid-column:1!important;
  grid-row:1!important;
  min-width:0!important;
  margin:0!important;
}
body.zd-pet-v2 .public-pet-item-title .tag-status{
  grid-column:2!important;
  grid-row:1!important;
  align-self:start!important;
  justify-self:end!important;
  max-width:100%!important;
  margin:0!important;
  text-align:center!important;
  white-space:normal!important;
  line-height:1.2!important;
}

/* Status / update / reference share the exact same vertical geometry. */
body.zd-pet-v2 .public-hero-meta{
  display:flex!important;
  flex-flow:row nowrap!important;
  align-items:stretch!important;
  gap:6px!important;
}
body.zd-pet-v2 .public-meta-item{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:32px!important;
  min-height:32px!important;
  padding:0 10px!important;
  line-height:1!important;
  vertical-align:middle!important;
}
body.zd-pet-v2 .public-meta-item>span,
body.zd-pet-v2 .public-meta-item>strong{
  display:inline-flex!important;
  align-items:center!important;
  min-height:100%!important;
  line-height:1!important;
}
body.zd-pet-v2 .public-meta-reference{gap:4px!important}
@media (max-width:700px){
  body.zd-pet-v2 .public-hero-meta{gap:4px!important}
  body.zd-pet-v2 .public-meta-item{
    height:30px!important;
    min-height:30px!important;
    padding:0 7px!important;
    font-size:.68rem!important;
  }
}
@media (max-width:350px){
  body.zd-pet-v2 .public-hero-meta{flex-wrap:wrap!important}
}

/* Gallery navigation chevrons are centred by their own bounding box instead of
   relying on a font glyph baseline or an optical translate. */
body.zd-pet-v2 .photo-gallery-nav{
  position:absolute!important;
  display:block!important;
  padding:0!important;
  line-height:1!important;
  font-size:0!important;
  text-align:center!important;
}
body.zd-pet-v2 .photo-gallery-nav::before{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  width:9px!important;
  height:9px!important;
  box-sizing:border-box!important;
  border-top:2px solid currentColor!important;
  border-right:2px solid currentColor!important;
  transform-origin:center!important;
}
body.zd-pet-v2 .js-gallery-prev::before{transform:translate(-50%,-50%) rotate(-135deg)!important}
body.zd-pet-v2 .js-gallery-next::before{transform:translate(-50%,-50%) rotate(45deg)!important}

/* Every circular + / - uses drawn geometry and the icon box itself is centred in
   the row. This removes font-dependent vertical drift. */
body.zd-pet-v2 .public-disclosure-hint::after,
body.zd-pet-v2 .public-item-disclosure>summary::after,
body.zd-pet-v2 .public-contact-guidance-disclosure>summary::after,
body.zd-pet-v2 .contact-profile-disclosure>summary::after{
  flex:0 0 22px!important;
  align-self:center!important;
  margin-left:auto!important;
  background-color:#fff!important;
  background-position:50% 50%,50% 50%!important;
}
body.zd-pet-v2 .public-item-disclosure>summary,
body.zd-pet-v2 .public-disclosure-summary,
body.zd-pet-v2 .public-contact-guidance-disclosure>summary,
body.zd-pet-v2 .contact-profile-disclosure>summary{
  align-items:center!important;
}

/* ZooDomik v0.1.73.8 — canonical account menu, aligned metadata, semantic breadcrumbs, status colour states */

/* Brand rendering is one component on desktop and mobile. Only available width changes. */
html body .nav.zd-shared-nav .brand,
html body .nav.zd-shared-nav .nav-menu-brand{
  display:inline-flex!important;
  align-items:center!important;
  gap:10px!important;
  color:#155743!important;
  text-decoration:none!important;
}
html body .nav.zd-shared-nav .brand img,
html body .nav.zd-shared-nav .nav-menu-brand img{
  display:block!important;
  width:40px!important;
  height:40px!important;
  flex:0 0 40px!important;
  object-fit:contain!important;
}
html body .nav.zd-shared-nav .brand-text,
html body .nav.zd-shared-nav .nav-menu-brand .brand-text{
  display:grid!important;
  align-content:center!important;
  gap:1px!important;
  min-width:0!important;
  line-height:1!important;
}
html body .nav.zd-shared-nav .brand-name,
html body .nav.zd-shared-nav .nav-menu-brand .brand-name{
  color:#155743!important;
  font-size:1rem!important;
  font-weight:600!important;
  line-height:1.05!important;
  letter-spacing:.005em!important;
}
html body .nav.zd-shared-nav .brand-slogan,
html body .nav.zd-shared-nav .nav-menu-brand .brand-slogan{
  color:#71857d!important;
  font-size:.62rem!important;
  font-weight:400!important;
  line-height:1.15!important;
  letter-spacing:.01em!important;
}

/* Guest desktop uses the same Cabinet dropdown as an authenticated shell.
   The trigger stays secondary to Add listing, while its children explain the choice. */
@media (min-width:1121px){
  html body .nav.zd-shared-nav .nav-dropdown-cabinet-guest{display:block!important;order:40!important}
  html body .nav.zd-shared-nav .nav-dropdown-cabinet-guest>.nav-dropdown-trigger{
    border:1px solid #155743!important;
    background:#fff!important;
    color:#155743!important;
    font-weight:500!important;
  }
  html body .nav.zd-shared-nav .nav-dropdown-cabinet-guest>.nav-dropdown-trigger:hover,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet-guest>.nav-dropdown-trigger:focus-visible,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet-guest[open]>.nav-dropdown-trigger{
    background:#edf5f1!important;
    border-color:#155743!important;
    color:#103f32!important;
  }
}

/* A caret is geometry, not a font glyph. A centred triangle avoids the broken L-like shape. */
html body .nav.zd-shared-nav .nav-caret{
  position:relative!important;
  display:block!important;
  width:16px!important;
  min-width:16px!important;
  height:16px!important;
  padding:0!important;
  border:0!important;
  transform:none!important;
  transition:none!important;
  box-sizing:border-box!important;
}
html body .nav.zd-shared-nav .nav-caret::before{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  width:0!important;
  height:0!important;
  border-left:4px solid transparent!important;
  border-right:4px solid transparent!important;
  border-top:5px solid currentColor!important;
  transform:translate(-50%,-42%)!important;
  transform-origin:center!important;
}
html body .nav.zd-shared-nav details[open]>.nav-dropdown-trigger .nav-caret::before{
  transform:translate(-50%,-58%) rotate(180deg)!important;
}

/* One breadcrumb component across pet, search/catalog and information pages.
   Ancestors are actionable; the current page stays quiet. Markup remains semantic for SEO. */
.zd-breadcrumbs{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  color:#6c8179!important;
  font-size:.82rem!important;
  line-height:1.25!important;
}
.zd-breadcrumb-item{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  min-width:0!important;
}
.zd-breadcrumbs a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:30px!important;
  padding:5px 9px!important;
  border:1px solid rgba(22,76,59,.10)!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#28594b!important;
  font-weight:500!important;
  text-decoration:none!important;
  white-space:normal!important;
}
.zd-breadcrumbs a:hover,
.zd-breadcrumbs a:focus-visible{
  border-color:#b9d0c5!important;
  background:#eef6f2!important;
  color:#124837!important;
  outline:none!important;
}
.zd-breadcrumb-separator{
  position:relative!important;
  display:block!important;
  width:8px!important;
  min-width:8px!important;
  height:12px!important;
}
.zd-breadcrumb-separator::before{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  width:6px!important;
  height:6px!important;
  border-top:1.5px solid #8ca098!important;
  border-right:1.5px solid #8ca098!important;
  transform:translate(-65%,-50%) rotate(45deg)!important;
}
.zd-breadcrumb-current{
  color:#73877f!important;
  font-weight:400!important;
  overflow-wrap:anywhere!important;
}
@media (max-width:700px){
  .zd-breadcrumbs{gap:4px!important;font-size:.75rem!important}
  .zd-breadcrumbs a{min-height:28px!important;padding:4px 8px!important}
  .zd-breadcrumb-item.is-current{display:none!important}
}

/* Pet hero metadata: same geometry, no inherited margins from legacy .expiry/.upd/.pet-reference. */
body.zd-pet-v2 .public-hero-meta{
  display:flex!important;
  flex-flow:row nowrap!important;
  align-items:center!important;
  gap:7px!important;
  margin-top:13px!important;
}
body.zd-pet-v2 .public-hero-meta .public-meta-item{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:center!important;
  height:32px!important;
  min-height:32px!important;
  margin:0!important;
  padding:0 10px!important;
  border-radius:999px!important;
  line-height:1!important;
  vertical-align:middle!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
}
body.zd-pet-v2 .public-hero-meta .public-meta-item>span,
body.zd-pet-v2 .public-hero-meta .public-meta-item>strong{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:100%!important;
  margin:0!important;
  line-height:1!important;
}
@media (max-width:700px){
  body.zd-pet-v2 .public-hero-meta{gap:5px!important}
  body.zd-pet-v2 .public-hero-meta .public-meta-item{
    height:30px!important;
    min-height:30px!important;
    padding:0 8px!important;
    font-size:.70rem!important;
  }
}
@media (max-width:390px){
  body.zd-pet-v2 .public-hero-meta{flex-wrap:wrap!important}
}

/* Recognition cards: name and state share one centre line. Data labels are identifiers;
   values remain normal weight so translation length does not make the cards visually heavy. */
body.zd-pet-v2 .public-pet-item-title{align-items:center!important}
body.zd-pet-v2 .public-pet-item-title h3{align-self:center!important;margin:0!important;line-height:1.2!important}
body.zd-pet-v2 .public-pet-item-title .pet-item-status{align-self:center!important}
body.zd-pet-v2 .public-pet-item-summary>div,
body.zd-pet-v2 .public-hero-fact,
body.zd-pet-v2 .public-item-secondary-fact,
body.zd-pet-v2 .public-detail-row{
  align-content:center!important;
}
body.zd-pet-v2 .public-pet-item-summary dt,
body.zd-pet-v2 .public-hero-fact dt,
body.zd-pet-v2 .public-item-secondary-fact small,
body.zd-pet-v2 .public-detail-row dt{
  text-transform:uppercase!important;
  font-weight:500!important;
}
body.zd-pet-v2 .public-pet-item-summary dd,
body.zd-pet-v2 .public-hero-fact dd,
body.zd-pet-v2 .public-item-secondary-fact strong,
body.zd-pet-v2 .public-detail-row dd{
  font-weight:400!important;
}

/* Animal state is communicated by colour as a secondary cue; the text label remains the source of truth. */
body.zd-pet-v2 .pet-item-status-seeking_family{
  background:#155743!important;
  border-color:#155743!important;
  color:#fff!important;
}
body.zd-pet-v2 .pet-item-status-reserved{
  background:#fff4d8!important;
  border:1px solid #ead59b!important;
  color:#6e4a0e!important;
}
body.zd-pet-v2 .pet-item-status-adopted{
  background:#e9f4ee!important;
  border:1px solid #bcd8ca!important;
  color:#245b47!important;
}
body.zd-pet-v2 .pet-item-status-not_actual{
  background:#eef1ef!important;
  border:1px solid #d3dcd7!important;
  color:#5e6d66!important;
}

/* Gallery arrows use a centred vector-like chevron, independent of glyph baseline. */
body.zd-pet-v2 .photo-gallery-nav{
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  line-height:1!important;
  font-size:0!important;
  text-align:center!important;
  box-sizing:border-box!important;
}
body.zd-pet-v2 .photo-gallery-nav::before{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  width:12px!important;
  height:14px!important;
  border:0!important;
  background:currentColor!important;
  clip-path:polygon(26% 4%,38% 0,86% 50%,38% 100%,26% 96%,66% 50%)!important;
  transform:translate(-50%,-50%)!important;
  transform-origin:center!important;
}
body.zd-pet-v2 .js-gallery-prev::before{transform:translate(-50%,-50%) scaleX(-1)!important}
body.zd-pet-v2 .js-gallery-next::before{transform:translate(-50%,-50%)!important}

/* Home lower flow: white content gradually reaches the exact #f7fbf8 tone used by
   the first row of the pets artwork, so Next step -> Support -> animals reads as one surface. */
body.zd-home-v229 #main-content{
  padding-bottom:30px!important;
  background:linear-gradient(180deg,rgba(255,255,255,0) 0%,rgba(255,255,255,0) calc(100% - 330px),#f2f8f4 calc(100% - 130px),#f7fbf8 100%)!important;
}
body.zd-home-v229 .zd-home-bottom-cta{margin-bottom:0!important}
body.zd-home-v229 .tech-support-panel{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:26px max(16px,calc((100% - 1120px)/2)) 24px!important;
  background:linear-gradient(180deg,#f7fbf8 0%,#f7fbf8 100%)!important;
  box-sizing:border-box!important;
}
body.zd-home-v229 .footer-pets-strip{background:#f7fbf8!important}
body.zd-home-v229 .footer-pets-strip picture,
body.zd-home-v229 .footer-pets-strip img{background:#f7fbf8!important}
@media (max-width:700px){
  body.zd-home-v229 #main-content{
    padding-bottom:20px!important;
    background:linear-gradient(180deg,rgba(255,255,255,0) 0%,rgba(255,255,255,0) calc(100% - 260px),#f2f8f4 calc(100% - 105px),#f7fbf8 100%)!important;
  }
  body.zd-home-v229 .tech-support-panel{padding:20px 14px 18px!important}
}


/* ZooDomik v0.1.73.9 — restore animated navigation caret and unify the brand lockup in header/drawer/footer */

/* The approved caret is the original light chevron. Keep its 160 ms rotation,
   but animate an inner shape so absolute positioning never shifts the icon off-centre. */
html body .nav.zd-shared-nav .nav-caret{
  position:relative!important;
  display:block!important;
  flex:0 0 16px!important;
  width:16px!important;
  min-width:16px!important;
  height:16px!important;
  padding:0!important;
  border:0!important;
  opacity:.72!important;
  transform:none!important;
  box-sizing:border-box!important;
}
html body .nav.zd-shared-nav .nav-caret::before{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  width:.46rem!important;
  height:.46rem!important;
  padding:0!important;
  border:0!important;
  border-right:2px solid currentColor!important;
  border-bottom:2px solid currentColor!important;
  background:transparent!important;
  clip-path:none!important;
  transform:translate(-50%,-58%) rotate(45deg)!important;
  transform-origin:50% 50%!important;
  transition:transform 160ms ease!important;
  box-sizing:border-box!important;
}
html body .nav.zd-shared-nav details[open]>.nav-dropdown-trigger .nav-caret::before{
  transform:translate(-50%,-42%) rotate(-135deg)!important;
}
@media (prefers-reduced-motion:reduce){
  html body .nav.zd-shared-nav .nav-caret::before{transition:none!important}
}
@media (max-width:1120px){
  /* Useful owns the right grid column; Cabinet is centred text with a fixed right caret.
     Both use exactly the same animated icon. */
  html body .nav.zd-shared-nav .nav-dropdown-project>.nav-dropdown-trigger .nav-caret{
    position:relative!important;
    right:auto!important;
    top:auto!important;
    transform:none!important;
    justify-self:end!important;
    align-self:center!important;
  }
  html body .nav.zd-shared-nav .nav-dropdown-cabinet>.nav-dropdown-trigger .nav-caret{
    position:absolute!important;
    right:14px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
  }
}

/* The ZooDomik lockup is a single component everywhere it is shown:
   same badge, same name, same secondary slogan and comfortable readable scale. */
html body .nav.zd-shared-nav .brand,
html body .nav.zd-shared-nav .nav-menu-brand,
html body .zd-shared-footer .footer-brand.zd-brand-lockup{
  display:inline-flex!important;
  align-items:center!important;
  gap:10px!important;
  width:max-content!important;
  color:#155743!important;
  text-decoration:none!important;
  font-weight:400!important;
  letter-spacing:0!important;
}
html body .nav.zd-shared-nav .brand img,
html body .nav.zd-shared-nav .nav-menu-brand img,
html body .zd-shared-footer .footer-brand.zd-brand-lockup img{
  display:block!important;
  width:40px!important;
  height:40px!important;
  flex:0 0 40px!important;
  object-fit:contain!important;
}
html body .nav.zd-shared-nav .brand-text,
html body .nav.zd-shared-nav .nav-menu-brand .brand-text,
html body .zd-shared-footer .footer-brand.zd-brand-lockup .brand-text{
  display:grid!important;
  align-content:center!important;
  gap:2px!important;
  min-width:0!important;
  margin:0!important;
  font-size:inherit!important;
  line-height:1!important;
}
html body .nav.zd-shared-nav .brand-name,
html body .nav.zd-shared-nav .nav-menu-brand .brand-name,
html body .zd-shared-footer .footer-brand.zd-brand-lockup .brand-name{
  display:block!important;
  margin:0!important;
  color:#155743!important;
  font-size:1.02rem!important;
  font-weight:600!important;
  line-height:1.04!important;
  letter-spacing:.004em!important;
}
html body .nav.zd-shared-nav .brand-slogan,
html body .nav.zd-shared-nav .nav-menu-brand .brand-slogan,
html body .zd-shared-footer .footer-brand.zd-brand-lockup .brand-slogan{
  display:block!important;
  margin:0!important;
  color:#687d75!important;
  font-size:.68rem!important;
  font-weight:400!important;
  line-height:1.15!important;
  letter-spacing:.008em!important;
}
@media (max-width:390px){
  html body .nav.zd-shared-nav .brand,
  html body .nav.zd-shared-nav .nav-menu-brand,
  html body .zd-shared-footer .footer-brand.zd-brand-lockup{gap:8px!important}
  html body .nav.zd-shared-nav .brand img,
  html body .nav.zd-shared-nav .nav-menu-brand img,
  html body .zd-shared-footer .footer-brand.zd-brand-lockup img{
    width:38px!important;
    height:38px!important;
    flex-basis:38px!important;
  }
  html body .nav.zd-shared-nav .brand-name,
  html body .nav.zd-shared-nav .nav-menu-brand .brand-name,
  html body .zd-shared-footer .footer-brand.zd-brand-lockup .brand-name{font-size:.98rem!important}
  html body .nav.zd-shared-nav .brand-slogan,
  html body .nav.zd-shared-nav .nav-menu-brand .brand-slogan,
  html body .zd-shared-footer .footer-brand.zd-brand-lockup .brand-slogan{font-size:.66rem!important}
}

/* ZooDomik v0.1.74.0 — guided pet questionnaire */
.pet-form-shell {
  --pet-form-border: rgba(22, 76, 59, .14);
  --pet-form-soft: #f4f8f5;
  --pet-form-softer: #f8faf9;
}

.pet-form-title-row {
  margin-bottom: 18px;
}

.pet-form-title-row > div {
  max-width: 720px;
}

.pet-form-title-row .account-muted {
  max-width: 680px;
  margin-top: 8px;
  font-weight: 400;
  line-height: 1.55;
}

.pet-form-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 22px;
  padding: 8px;
  border: 1px solid var(--pet-form-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 12px 30px rgba(22, 76, 59, .045);
}

.pet-form-progress .pet-form-progress-item {
  min-width: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 11px;
  color: #557067;
  text-decoration: none;
  transition: background-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.pet-form-progress .pet-form-progress-item:hover,
.pet-form-progress .pet-form-progress-item:focus-visible {
  background: var(--pet-form-soft);
  color: var(--green-dark);
}

.pet-form-progress .pet-form-progress-item.is-current {
  background: #e9f3ee;
  color: var(--green-dark);
  box-shadow: inset 0 0 0 1px rgba(22, 76, 59, .12);
}

.pet-form-progress .pet-form-progress-item span {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(22, 76, 59, .2);
  border-radius: 50%;
  background: #fff;
  color: var(--green-dark);
  font-size: .78rem;
  line-height: 1;
  font-weight: 500;
}

.pet-form-progress .pet-form-progress-item strong {
  min-width: 0;
  font-size: .88rem;
  line-height: 1.2;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.pet-adaptive-form {
  gap: 16px;
}

.pet-adaptive-form > .form-section {
  border: 1px solid var(--pet-form-border);
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 30px rgba(22, 76, 59, .035);
}

.pet-adaptive-form > .pet-form-stage {
  scroll-margin-top: calc(var(--header-height, 78px) + 18px);
}

.pet-adaptive-form .form-section-headline {
  margin-bottom: 16px;
}

.pet-adaptive-form .form-section-headline h2 {
  margin: 0 0 4px;
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  line-height: 1.25;
}

.pet-adaptive-form .form-section-headline .account-muted {
  max-width: 720px;
  margin: 0;
  font-weight: 400;
  line-height: 1.5;
}

.pet-situation-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
}

.pet-situation-card {
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--pet-form-border);
  border-radius: 13px;
  background: #fff;
}

.pet-situation-card strong {
  margin-bottom: 7px;
  font-weight: 600;
}

.pet-situation-card span {
  font-weight: 400;
}

.pet-item-card {
  padding: 18px;
  border-radius: 14px;
  background: #fff;
}

.pet-item-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.pet-item-fields {
  align-items: start;
}

.pet-match-details,
.pet-additional-details,
.pet-form-secondary-disclosure,
.location-map-disclosure {
  margin-top: 14px;
  border: 1px solid var(--pet-form-border);
  border-radius: 12px;
  background: var(--pet-form-softer);
  overflow: visible;
}

.pet-match-details > summary,
.pet-additional-details > summary,
.pet-form-secondary-disclosure > summary,
.location-map-disclosure > summary {
  position: relative;
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 11px 48px 11px 14px;
  color: var(--green-dark);
  cursor: pointer;
  list-style: none;
  font-size: .9rem;
  line-height: 1.35;
  font-weight: 500;
}

.pet-match-details > summary::-webkit-details-marker,
.pet-additional-details > summary::-webkit-details-marker,
.pet-form-secondary-disclosure > summary::-webkit-details-marker,
.location-map-disclosure > summary::-webkit-details-marker {
  display: none;
}

.pet-match-details > summary::after,
.pet-additional-details > summary::after,
.pet-form-secondary-disclosure > summary::after,
.location-map-disclosure > summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 13px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(22, 76, 59, .18);
  border-radius: 50%;
  background: #fff;
  color: var(--green-dark);
  font-size: 15px;
  line-height: 1;
  font-weight: 400;
  transform: translateY(-50%);
}

.pet-match-details[open] > summary::after,
.pet-additional-details[open] > summary::after,
.pet-form-secondary-disclosure[open] > summary::after,
.location-map-disclosure[open] > summary::after {
  content: '−';
}

.pet-match-details-grid,
.pet-additional-details > .form-two {
  padding: 4px 14px 16px;
}

.pet-match-details .breed-suggestions {
  z-index: 980;
}

.pet-item-specific-note {
  margin: 12px 0 0;
  color: #63766f;
  font-size: .84rem;
  line-height: 1.45;
}

.location-map-disclosure {
  grid-column: 1 / -1;
}

.location-map-disclosure .location-map-action-card {
  margin: 0;
  padding: 2px 14px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.location-map-disclosure .location-map-action-card > p:first-child {
  margin: 0 0 12px;
  color: #60756d;
  font-size: .86rem;
  font-weight: 400;
}

.location-map-action-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pet-form-secondary-disclosure .pet-seo-draft-preview {
  margin: 0;
  padding: 2px 14px 16px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.pet-form-secondary-disclosure .pet-seo-draft-preview-note {
  display: none;
}

.pet-form-actions {
  margin-top: 2px;
  padding: 16px;
  border: 1px solid var(--pet-form-border);
  border-radius: 16px;
  background: #edf6f1;
}

.pet-submit-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pet-submit-control {
  width: 100%;
}

.pet-submit-hint {
  max-width: none;
  margin-top: 2px;
  font-weight: 400;
}

@media (max-width: 980px) {
  .pet-situation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pet-situation-card:last-child {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .pet-form-title-row {
    display: grid;
    gap: 12px;
    margin-bottom: 14px;
  }

  .pet-form-title-row .account-back-link {
    width: 100%;
    min-height: 42px;
    justify-content: center;
  }

  .pet-form-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 14px;
    padding: 6px;
    overflow: visible;
  }

  .pet-form-progress .pet-form-progress-item {
    min-height: 44px;
    padding: 7px 8px;
    gap: 8px;
  }

  .pet-form-progress .pet-form-progress-item span {
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
  }

  .pet-adaptive-form {
    gap: 12px;
  }

  .pet-adaptive-form > .form-section {
    padding: 16px 14px;
    border-radius: 14px;
  }

  .pet-situation-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pet-situation-card,
  .pet-situation-card:last-child {
    min-height: 88px;
    padding: 14px;
  }

  .pet-item-card {
    padding: 14px 12px;
  }

  .pet-item-card-head {
    gap: 10px;
  }

  .pet-match-details-grid,
  .pet-additional-details > .form-two {
    padding: 2px 12px 14px;
  }

  .location-map-action-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .location-map-action-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .pet-form-actions {
    padding: 14px;
  }

  .pet-submit-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pet-submit-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ZooDomik v0.1.74.1 — minimum-first pet form */
.pet-form-level-label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin: 0 0 6px;
  color: #557067;
  font-size: .72rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pet-form-essential-headline {
  margin-bottom: 14px !important;
}

.scenario-fields-grid--core {
  gap: 14px 18px;
}

.pet-form-detail-disclosure {
  margin-top: 16px;
  border: 1px solid rgba(22, 76, 59, .14);
  border-radius: 13px;
  background: #f8faf9;
  overflow: visible;
}

.pet-form-detail-disclosure > summary {
  position: relative;
  min-height: 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 11px 52px 11px 14px;
  color: var(--green-dark, #164c3b);
  cursor: pointer;
  list-style: none;
}

.pet-form-detail-disclosure > summary::-webkit-details-marker { display: none; }

.pet-form-detail-disclosure > summary > span {
  font-size: .91rem;
  line-height: 1.3;
  font-weight: 500;
}

.pet-form-detail-disclosure > summary > small {
  color: #687c74;
  font-size: .79rem;
  line-height: 1.35;
  font-weight: 400;
}

.pet-form-detail-disclosure > summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 14px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(22, 76, 59, .18);
  border-radius: 50%;
  background: #fff;
  color: var(--green-dark, #164c3b);
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
  transform: translateY(-50%);
}

.pet-form-detail-disclosure[open] > summary::after { content: '−'; }

.scenario-fields-grid--extra,
.pet-form-detail-body,
.pet-location-more-body {
  padding: 2px 14px 16px;
}

.pet-form-detail-body > .field { margin: 0; }

.pet-form-more-context .pet-form-secondary-disclosure {
  margin-top: 12px;
}

.pet-location-more {
  grid-column: 1 / -1;
}

.pet-location-more-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pet-location-more-body .location-map-disclosure {
  grid-column: 1 / -1;
  margin-top: 0;
}

.pet-location-more-body .location-simple-step {
  min-height: 100%;
}

.pet-form-short-description textarea {
  min-height: 112px;
}

.pet-submit-extra {
  margin: 8px 0 0;
  color: #687c74;
  font-size: .82rem;
  line-height: 1.45;
  font-weight: 400;
}

.pet-adaptive-form.is-ready-to-submit .pet-form-actions {
  border-color: rgba(22, 76, 59, .22);
  background: #e8f4ed;
}

.pet-adaptive-form.is-ready-to-submit .pet-submit-hint {
  color: #164c3b;
}

.pet-situation-card {
  min-height: 98px;
}

.pet-situation-card strong {
  margin-bottom: 5px;
  font-weight: 500;
}

.pet-situation-card span {
  line-height: 1.4;
}

.pet-adaptive-form .scenario-field-label,
.pet-adaptive-form .field > label {
  font-weight: 500;
}

@media (max-width: 720px) {
  .pet-form-title-row .account-muted {
    margin-top: 5px;
    line-height: 1.45;
  }

  .pet-situation-card,
  .pet-situation-card:last-child {
    min-height: 72px;
    padding: 11px 12px;
  }

  .pet-situation-card strong {
    margin-bottom: 3px;
    font-size: .95rem;
    line-height: 1.25;
  }

  .pet-situation-card span {
    font-size: .79rem;
    line-height: 1.3;
  }

  .pet-form-detail-disclosure {
    margin-top: 12px;
  }

  .pet-form-detail-disclosure > summary {
    min-height: 54px;
    padding: 10px 46px 10px 12px;
  }

  .pet-form-detail-disclosure > summary::after {
    right: 11px;
    width: 24px;
    height: 24px;
  }

  .scenario-fields-grid--extra,
  .pet-form-detail-body,
  .pet-location-more-body {
    padding: 2px 10px 12px;
  }

  .pet-location-more-body {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .pet-location-more-body .location-simple-step {
    padding: 16px 12px 16px 50px;
  }

  .pet-location-more-body .location-simple-number {
    top: 16px;
    left: 12px;
  }

  .pet-form-short-description textarea {
    min-height: 96px;
  }

  .pet-submit-extra {
    font-size: .78rem;
  }
}

.js-location-group.is-settlement-only .pet-location-more {
  display: none !important;
}


/* ZooDomik v0.1.74.2 — form usability corrections after mobile review */

/* Hidden means hidden even when older component rules define display:flex/grid. */
.pet-adaptive-form .js-multi-animal-only[hidden] {
  display: none !important;
}

/* A general photo uploader is a neutral work area, not an error state. */
.pet-adaptive-form .pet-photo-uploader[data-photo-uploader-scope="general"] {
  border-color: rgba(22, 76, 59, .22);
  background: #f8fbf9;
}

.pet-adaptive-form .photo-count-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Keep the editor queue counter readable and aligned with the two actions. */
.photo-editor-counter {
  flex: 0 0 auto;
  min-width: 46px;
  white-space: nowrap;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

@media (max-width: 640px) {
  .photo-editor-foot {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center !important;
    gap: 8px !important;
  }

  .photo-editor-foot > div {
    width: auto !important;
    min-width: 0;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px !important;
  }

  .photo-editor-foot .btn {
    width: 100%;
    min-width: 0 !important;
    white-space: normal;
    line-height: 1.2;
  }

  .pet-submit-buttons {
    gap: 8px;
  }
}

/* ZooDomik v0.1.74.3 — clearer form hierarchy, calmer typography, guided photo review and readable notices */
.pet-form-shell {
  --pet-section-accent: #a5533f;
  --pet-section-muted: #667a72;
  --pet-section-soft: #f7faf8;
  --pet-section-soft-strong: #eef6f1;
}

/* Restore the compact journey: it helps users understand a long questionnaire without turning it into a wizard. */
.pet-form-shell .pet-form-progress {
  display: grid !important;
  margin-bottom: 26px;
  border-color: rgba(22, 76, 59, .12);
  background: rgba(250, 252, 250, .94);
  box-shadow: none;
}

.pet-form-progress .pet-form-progress-item {
  min-height: 46px;
  color: #62746d;
}

.pet-form-progress .pet-form-progress-item strong {
  font-weight: 520;
}

.pet-form-progress .pet-form-progress-item.is-current {
  background: #eaf4ee;
  box-shadow: inset 0 0 0 1px rgba(22, 76, 59, .13);
}

.pet-form-progress .pet-form-progress-item.is-current span {
  border-color: rgba(22, 76, 59, .36);
  background: var(--green-dark, #164c3b);
  color: #fff;
}

/* One visible typographic language for section labels. */
.pet-form-section-kicker,
.pet-form-level-label {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin: 0 0 7px;
  color: var(--pet-section-accent);
  font-size: .7rem;
  line-height: 1;
  font-weight: 650;
  letter-spacing: .085em;
  text-transform: uppercase;
}

.pet-adaptive-form {
  gap: 20px;
}

.pet-adaptive-form > .form-section {
  position: relative;
  padding: clamp(20px, 2.5vw, 26px);
  border-color: rgba(22, 76, 59, .13);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(22, 76, 59, .035);
}

/* Major stages carry a little more contrast than supporting blocks. */
.pet-adaptive-form > .pet-form-stage {
  border-color: rgba(22, 76, 59, .18);
  background: rgba(255, 255, 255, .98);
}

.pet-adaptive-form > .pet-form-stage-secondary {
  border-color: rgba(22, 76, 59, .11);
  background: rgba(253, 254, 253, .96);
  box-shadow: 0 8px 22px rgba(22, 76, 59, .025);
}

.pet-adaptive-form .form-section-headline {
  margin-bottom: 18px;
}

.pet-adaptive-form .form-section-headline h2 {
  max-width: 820px;
  margin: 0 0 6px;
  color: #0f513f;
  font-size: clamp(1.28rem, 1.65vw, 1.55rem);
  line-height: 1.2;
  font-weight: 680;
  letter-spacing: -.012em;
}

.pet-adaptive-form > .pet-form-stage-secondary .form-section-headline h2 {
  font-size: clamp(1.2rem, 1.45vw, 1.4rem);
}

.pet-adaptive-form .form-section-headline .account-muted {
  max-width: 800px;
  color: #62766e;
  font-size: .92rem;
  line-height: 1.52;
  font-weight: 400;
}

.pet-adaptive-form .field > label,
.pet-adaptive-form .scenario-field-label {
  color: #194f40;
  font-size: .86rem;
  line-height: 1.35;
  font-weight: 520;
}

/* Situation cards should read as choices, not five identical paragraphs. */
.pet-situation-card {
  position: relative;
  padding-right: 44px;
  border-color: rgba(22, 76, 59, .15);
  box-shadow: 0 4px 14px rgba(22, 76, 59, .025);
}

.pet-situation-card strong {
  color: inherit;
  font-weight: 620;
}

.pet-situation-card span {
  font-weight: 400;
}

.pet-situation-card.is-selected::after,
.pet-situation-card:has(.pet-situation-radio:checked)::after {
  content: '✓';
  position: absolute;
  top: 14px;
  right: 14px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
}

/* Supporting disclosures look lighter when closed and become clearer when opened. */
.pet-form-detail-disclosure,
.pet-match-details,
.pet-additional-details,
.pet-form-secondary-disclosure,
.location-map-disclosure {
  border-color: rgba(22, 76, 59, .13);
  background: #f8faf9;
  box-shadow: none;
}

.pet-form-detail-disclosure[open],
.pet-match-details[open],
.pet-additional-details[open],
.pet-form-secondary-disclosure[open],
.location-map-disclosure[open] {
  border-color: rgba(22, 76, 59, .2);
  background: #f5f9f7;
}

.pet-form-detail-disclosure > summary > span,
.pet-match-details > summary,
.pet-additional-details > summary,
.pet-form-secondary-disclosure > summary,
.location-map-disclosure > summary {
  font-weight: 540;
}

.pet-form-detail-disclosure > summary > small {
  color: #6a7d76;
  font-weight: 400;
}

.pet-care-chip-grid .choice-chip {
  min-height: 42px;
  padding: .48rem .68rem;
  color: #174f40;
  font-size: .86rem;
  font-weight: 450;
}

.pet-care-chip-grid .choice-chip:has(input:checked) {
  border-color: rgba(22, 76, 59, .36);
  background: #eaf4ee;
  box-shadow: inset 0 0 0 1px rgba(22, 76, 59, .06);
}

/* Photo area: one obvious primary route, alternatives stay available but quieter. */
.pet-adaptive-form .pet-photo-uploader[data-photo-uploader-scope="general"] {
  display: grid;
  grid-template-columns: auto auto auto minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 16px;
  border: 1px dashed rgba(22, 76, 59, .24);
  border-radius: 13px;
  background: #f7faf8;
}

.pet-photo-upload-trigger {
  border-color: rgba(22, 76, 59, .32) !important;
  background: #eaf4ee !important;
  color: #0f513f !important;
  font-weight: 600 !important;
}

.pet-photo-guidance {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  color: #64776f;
  font-size: .82rem;
  line-height: 1.45;
  font-weight: 400;
}

.pet-photo-storage-note {
  display: block;
  margin-top: 8px;
  color: #71827b;
  font-size: .76rem;
  line-height: 1.45;
  font-weight: 400;
}

.photo-count-label {
  padding: 0 9px;
  border: 1px solid rgba(22, 76, 59, .14);
  border-radius: 999px;
  background: #f6faf8;
  color: #315f51;
  font-size: .8rem;
}

/* Final actions read as a conclusion, not another form card. */
.pet-form-actions {
  padding: 18px;
  border-color: rgba(22, 76, 59, .17);
  background: #edf6f1;
  box-shadow: 0 12px 28px rgba(22, 76, 59, .035);
}

.pet-submit-hint {
  color: #315f51;
  font-size: .86rem;
  line-height: 1.45;
  font-weight: 500;
}

.pet-submit-extra {
  max-width: 900px;
  color: #6d7e77;
  font-size: .79rem;
  font-weight: 400;
}

/* Photo review is a guided decision: image first, tools second. */
.photo-editor-head,
.photo-editor-body,
.photo-editor-foot {
  width: min(1180px, calc(100% - 36px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.photo-editor-head {
  padding-top: 16px !important;
  padding-bottom: 13px !important;
}

.photo-editor-head h2 {
  color: #0f513f;
  font-weight: 680;
  letter-spacing: -.015em;
}

.photo-editor-head p {
  max-width: 720px;
  color: #667a72;
  font-weight: 400;
  line-height: 1.45;
}

.photo-editor-body {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 330px) !important;
  grid-template-rows: auto auto auto minmax(0, 1fr) !important;
  gap: 12px 16px !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  background: #f8faf9 !important;
}

.photo-editor-stage {
  grid-column: 1 !important;
  grid-row: 1 / -1 !important;
  min-height: 0 !important;
  border: 1px solid rgba(22, 76, 59, .15);
  border-radius: 14px;
  background-color: #e9efeb !important;
  background-image:
    linear-gradient(45deg, rgba(22, 76, 59, .035) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(22, 76, 59, .035) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(22, 76, 59, .035) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(22, 76, 59, .035) 75%) !important;
  background-size: 24px 24px !important;
  background-position: 0 0, 0 12px, 12px -12px, -12px 0 !important;
}

.photo-editor-stage canvas {
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(15, 48, 38, .12) !important;
}

.photo-editor-primary-tools {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: grid !important;
  gap: 11px !important;
  align-content: start;
  margin: 0 !important;
  padding: 14px;
  border: 1px solid rgba(22, 76, 59, .14);
  border-radius: 13px;
  background: #fff;
}

.photo-editor-question {
  display: grid;
  gap: 3px;
}

.photo-editor-question strong {
  color: #154e3f;
  font-size: .93rem;
  line-height: 1.3;
  font-weight: 620;
}

.photo-editor-question span {
  color: #6b7c75;
  font-size: .79rem;
  line-height: 1.4;
  font-weight: 400;
}

.photo-editor-tool-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.photo-editor-tool-buttons .btn {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  justify-content: center;
  white-space: normal;
  line-height: 1.2;
}

.photo-editor-tool-panel {
  grid-column: 2 !important;
  grid-row: 2 !important;
  margin: 0 !important;
  border-radius: 13px;
  background: #f3f8f5;
}

.photo-editor-panel-head strong {
  font-weight: 620;
}

.photo-format-button {
  border-radius: 10px;
  font-weight: 520;
}

.photo-editor-history-actions {
  grid-column: 2 !important;
  grid-row: 3 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px !important;
  margin: 0 !important;
}

.photo-editor-history-actions .js-photo-editor-reset {
  grid-column: 1 / -1;
}

.photo-editor-history-actions .btn {
  width: 100%;
  min-width: 0;
  white-space: normal;
  font-weight: 500;
}

.photo-editor-help {
  grid-column: 2 !important;
  grid-row: 4 !important;
  align-self: end;
  margin: 0 !important;
  padding: 11px 12px;
  border-radius: 10px;
  background: #eef6f1;
  color: #5e736b !important;
  font-size: .78rem !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
}

.photo-editor-foot {
  padding-top: 11px !important;
  padding-bottom: 12px !important;
}

.photo-editor-foot .btn {
  font-weight: 560;
}

/* System notices: concise status + readable explanation, with colour used semantically. */
.modal-backdrop.js-system-modal > .notice-modal-card {
  width: min(560px, calc(100vw - 32px)) !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr) !important;
  align-items: center !important;
  justify-items: stretch !important;
  gap: 15px !important;
  padding: 24px 28px !important;
  text-align: left !important;
  border-radius: 18px !important;
}

.modal-backdrop.js-system-modal > .notice-modal-card.is-success {
  border-color: rgba(22, 76, 59, .2) !important;
  background: #fbfdfc !important;
}

.modal-backdrop.js-system-modal > .notice-modal-card.is-error {
  border-color: rgba(169, 69, 46, .24) !important;
  background: #fffaf8 !important;
}

.notice-status-icon {
  width: 54px !important;
  height: 54px !important;
  align-self: start;
  background: #eaf4ee;
}

.notice-status-icon--fallback {
  font-size: 1.35rem;
  font-weight: 650;
}

.notice-modal-card.is-error .notice-status-icon {
  background: #fff0ea;
  color: #a13d2b;
}

.notice-status-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
  padding-right: 18px;
}

.notice-status-text {
  color: #154e3f;
  font-size: clamp(1.08rem, 2vw, 1.28rem) !important;
  line-height: 1.25 !important;
  font-weight: 650 !important;
}

.notice-modal-card.is-error .notice-status-text {
  color: #933523;
}

.notice-modal-card .notice-status-detail:not([hidden]) {
  display: block !important;
  margin: 0 !important;
  color: #60736c;
  font-size: .91rem;
  line-height: 1.5;
  font-weight: 400;
}

.notice-modal-card.is-error .notice-status-detail:not([hidden]) {
  color: #76534b;
}

.notice-modal-card .notice-status-detail[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .photo-editor-head,
  .photo-editor-body,
  .photo-editor-foot {
    width: 100% !important;
  }

  .photo-editor-head {
    padding: 6px 10px 9px !important;
  }

  .photo-editor-head p,
  .photo-editor-help {
    display: block !important;
  }

  .photo-editor-head p {
    margin-top: 4px !important;
    font-size: .78rem !important;
    line-height: 1.35 !important;
  }

  .photo-editor-body {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto minmax(0, 1fr) auto auto auto !important;
    gap: 7px !important;
    padding: 7px 10px !important;
  }

  .photo-editor-primary-tools {
    grid-column: 1 !important;
    grid-row: 1 !important;
    padding: 10px !important;
  }

  .photo-editor-stage {
    grid-column: 1 !important;
    grid-row: 2 !important;
    min-height: 220px !important;
  }

  .photo-editor-tool-panel {
    grid-column: 1 !important;
    grid-row: 3 !important;
    padding: 9px 10px !important;
  }

  .photo-editor-panel-head {
    display: grid !important;
    margin-bottom: 7px !important;
  }

  .photo-editor-history-actions {
    grid-column: 1 !important;
    grid-row: 4 !important;
  }

  .photo-editor-help {
    grid-column: 1 !important;
    grid-row: 5 !important;
    padding: 8px 10px !important;
    font-size: .74rem !important;
  }

  .photo-editor-tool-buttons {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .photo-editor-tool-buttons .btn {
    min-height: 36px !important;
    padding: .4rem .45rem !important;
    font-size: .73rem !important;
  }
}

@media (max-width: 720px) {
  .pet-form-shell .pet-form-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 18px;
  }

  .pet-form-progress .pet-form-progress-item {
    min-height: 42px;
    padding: 7px 8px;
  }

  .pet-adaptive-form {
    gap: 14px;
  }

  .pet-adaptive-form > .form-section {
    padding: 17px 14px;
    border-radius: 15px;
  }

  .pet-adaptive-form .form-section-headline h2,
  .pet-adaptive-form > .pet-form-stage-secondary .form-section-headline h2 {
    font-size: 1.2rem;
  }

  .pet-adaptive-form .form-section-headline .account-muted {
    font-size: .84rem;
    line-height: 1.45;
  }

  .pet-form-section-kicker,
  .pet-form-level-label {
    margin-bottom: 6px;
    font-size: .66rem;
  }

  .pet-adaptive-form .pet-photo-uploader[data-photo-uploader-scope="general"] {
    grid-template-columns: 1fr !important;
    padding: 12px;
  }

  .pet-photo-guidance {
    font-size: .78rem;
  }

  .pet-form-actions {
    padding: 14px;
  }

  .modal-backdrop.js-system-modal > .notice-modal-card {
    grid-template-columns: 46px minmax(0, 1fr) !important;
    gap: 12px !important;
    padding: 20px 18px !important;
  }

  .notice-status-icon {
    width: 44px !important;
    height: 44px !important;
  }

  .notice-status-copy {
    padding-right: 8px;
  }

  .notice-modal-card .notice-status-detail:not([hidden]) {
    font-size: .84rem;
  }
}

@media (max-width: 560px) {
  .photo-editor-tool-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-editor-question span {
    font-size: .75rem;
  }

  .photo-editor-history-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-height: 720px) and (max-width: 900px) {
  .photo-editor-head p {
    display: block !important;
    font-size: .7rem !important;
    line-height: 1.25 !important;
  }

  .photo-editor-help {
    display: none !important;
  }

  .photo-editor-primary-tools {
    padding: 7px !important;
  }

  .photo-editor-tool-buttons .btn {
    min-height: 32px !important;
  }
}

/* v0.1.74.3 final rhythm corrections */
.pet-adaptive-form > .form-section {
  margin-top: 0 !important;
}

.notice-modal-card .notice-modal-close {
  display: grid !important;
}


/* ZooDomik v0.1.74.4 — calm checkbox chips and final form polish */
.pet-adaptive-form .choice-chip,
.pet-adaptive-form .choice-chip span {
  font-weight: 400;
}

.pet-adaptive-form .scenario-choice-grid .choice-chip,
.pet-adaptive-form .scenario-choice-grid .choice-chip span,
.pet-adaptive-form .pet-care-chip-grid .choice-chip,
.pet-adaptive-form .pet-care-chip-grid .choice-chip span {
  font-weight: 400 !important;
}

.pet-adaptive-form .choice-chip {
  letter-spacing: 0;
}

.pet-adaptive-form .scenario-choice-grid .choice-chip {
  color: #184d3e;
}

.pet-adaptive-form .scenario-choice-grid .choice-chip:has(input:checked),
.pet-adaptive-form .pet-care-chip-grid .choice-chip:has(input:checked) {
  box-shadow: inset 0 0 0 1px rgba(22, 76, 59, .08);
}

.pet-adaptive-form .form-section-explainer,
.pet-adaptive-form .pet-photo-storage-note,
.pet-adaptive-form .pet-photo-guidance {
  font-weight: 400;
}


/* ZooDomik v0.1.74.5 — compact form photo preview and editor wording consistency */
.modal-backdrop > .form-photo-preview-card {
  display: grid !important;
  grid-template-rows: auto auto !important;
  align-content: start !important;
  gap: 16px !important;
}

.form-photo-preview-stage {
  min-height: 0 !important;
  height: auto !important;
  padding: 10px;
  border-color: rgba(22, 76, 59, .14);
  border-radius: 18px;
  background: #f4f8f6 !important;
}

.form-photo-preview-stage img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: min(76dvh, 820px) !important;
  object-fit: contain;
  border-radius: 12px;
}

@media (max-width: 720px) {
  .modal-backdrop > .form-photo-preview-card {
    gap: 12px !important;
  }

  .form-photo-preview-stage {
    min-height: 0 !important;
    padding: 6px;
    border-radius: 14px;
  }

  .form-photo-preview-stage img {
    max-height: calc(100dvh - 190px) !important;
    border-radius: 10px;
  }
}

/* ZooDomik v0.1.74.6 — form photo thumbnails show the full processed crop without a second visual crop */
.pet-adaptive-form .photo-grid .photo-tile {
  align-self: start;
  background: #f4f8f6;
}

.pet-adaptive-form .photo-grid .photo-tile img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background: #f4f8f6;
}

.pet-adaptive-form .photo-grid .photo-tile button {
  background: #fff;
}

/* ZooDomik v0.1.74.7 — processed master photo pipeline, smart photo check and edit-page visibility controls */
.photo-editor-auto-check {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid rgba(22, 76, 59, .16);
  border-radius: 12px;
  background: #f3f8f5;
  color: #164c3b;
}

.photo-editor-auto-check .photo-editor-auto-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e3f2e9;
  font-size: .88rem;
  font-weight: 700;
}

.photo-editor-auto-check > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.photo-editor-auto-check strong {
  font-size: .9rem;
  line-height: 1.25;
  font-weight: 620;
}

.photo-editor-auto-check span:not(.photo-editor-auto-mark) {
  color: #63766f;
  font-size: .79rem;
  line-height: 1.38;
  font-weight: 400;
}

.photo-editor-auto-check[data-state="warning"],
.photo-editor-auto-check[data-state="suggest"] {
  border-color: rgba(176, 116, 20, .22);
  background: #fff9ed;
  color: #76520f;
}

.photo-editor-auto-check[data-state="warning"] .photo-editor-auto-mark,
.photo-editor-auto-check[data-state="suggest"] .photo-editor-auto-mark {
  background: #f9e8bd;
}

.pet-photo-live-note {
  margin-top: 10px;
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1px solid rgba(22, 76, 59, .16);
  border-radius: 12px;
  background: #f4f8f6;
  color: #405f55;
  font-size: .8rem;
  line-height: 1.45;
  font-weight: 400;
}

.pet-photo-live-note.is-live {
  background: #f5faf7;
}

.pet-photo-live-note.is-hidden-state {
  background: #f7f8f7;
  color: #687872;
}

.pet-photo-live-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: #15533f;
}

.pet-form-visibility-state {
  display: block;
  margin-top: 9px;
  color: #566f66;
  font-size: .8rem;
  line-height: 1.45;
  font-weight: 400;
}

.pet-form-visibility-state[hidden] {
  display: none !important;
}

.pet-form-actions .pet-submit-buttons .btn-with-icon {
  gap: 7px;
}

.pet-form-actions .pet-submit-buttons .btn-icon {
  width: 17px;
  height: 17px;
}

@media (max-width: 720px) {
  .photo-editor-auto-check {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
    padding: 9px 10px;
  }
  .photo-editor-auto-check .photo-editor-auto-mark {
    width: 26px;
    height: 26px;
  }
  .pet-photo-live-note {
    font-size: .76rem;
    padding: 9px 10px;
  }
  .pet-form-actions .pet-submit-buttons .btn-with-icon {
    justify-content: center;
  }
}

.pet-form-title-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  align-items: center;
}

@media (max-width: 720px) {
  .pet-form-title-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .pet-form-title-actions .btn,
  .pet-form-title-actions .account-back-link {
    width: 100%;
    justify-content: center;
  }
  .pet-form-title-actions > :only-child {
    grid-column: 1 / -1;
  }
}


.pet-form-title-row > .pet-form-title-actions {
  flex: 0 0 auto;
  max-width: none;
}


/* ZooDomik v0.1.74.8 — safer live-photo actions and mobile form polish */
.pet-hide-live-action {
  border-color: rgba(184, 112, 61, .30) !important;
  background: #fff9f4 !important;
  color: #8a4d2e !important;
}
.pet-hide-live-action:hover,
.pet-hide-live-action:focus-visible {
  border-color: rgba(184, 112, 61, .46) !important;
  background: #fff3e9 !important;
  color: #713b24 !important;
}

.pet-photo-delete-confirm-card {
  width: min(92vw, 470px);
}
.pet-photo-delete-confirm-card .account-muted {
  margin-top: 8px;
  font-weight: 400;
  line-height: 1.55;
}
.pet-photo-delete-confirm-card .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 18px;
}
.pet-photo-delete-confirm-card .btn-danger {
  background: #b44332;
  border-color: #b44332;
  color: #fff;
}
.pet-photo-delete-confirm-card .btn-danger:hover,
.pet-photo-delete-confirm-card .btn-danger:focus-visible {
  background: #963628;
  border-color: #963628;
  color: #fff;
}

@media (max-width: 720px) {
  /* The form already has support in the mobile menu and at the bottom.
     Keeping a second floating support button over photo/location controls causes accidental overlap. */
  body:has(.pet-form-shell) .zd-shared-floating-actions .js-support-open {
    display: none !important;
  }
  body:has(.pet-form-shell) .zd-shared-floating-actions {
    right: 8px !important;
    bottom: calc(16px + env(safe-area-inset-bottom)) !important;
    gap: 0 !important;
  }
  body:has(.pet-form-shell) .zd-shared-floating-actions .js-scroll-top {
    width: 40px !important;
    height: 40px !important;
  }
  .pet-photo-delete-confirm-card .modal-actions {
    flex-direction: column;
  }
  .pet-photo-delete-confirm-card .modal-actions .btn {
    width: 100%;
  }
}


/* ZooDomik v0.1.74.9 — unobtrusive autosave state for the pet editor */
.pet-autosave-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  margin-top: 10px;
  color: #61756d;
  font-size: .78rem;
  line-height: 1.45;
  font-weight: 400;
}
.pet-autosave-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  color: #507068;
}
.pet-autosave-status[data-state="saving"] .pet-autosave-icon {
  animation: zd-autosave-spin .9s linear infinite;
}
.pet-autosave-status[data-state="saved"] {
  color: #315f50;
}
.pet-autosave-status[data-state="waiting"] {
  color: #87602c;
}
.pet-autosave-status[data-state="error"] {
  color: #a34234;
}
@keyframes zd-autosave-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .pet-autosave-status[data-state="saving"] .pet-autosave-icon { animation: none; }
}
@media (max-width: 720px) {
  .pet-autosave-status {
    width: 100%;
    margin-top: 9px;
    padding: 0 2px;
    font-size: .75rem;
  }
}

/* ZooDomik v0.1.75.0 — catalog Design 2.0: visual-first cards, clearer filters and preserved photo framing */
body.zd-catalog-v25 .catalog-hero-search{
  margin-bottom:20px;
}
body.zd-catalog-v25 .catalog-hero-search .kicker{
  color:#d7604d;
  font-weight:650;
  letter-spacing:.085em;
}
body.zd-catalog-v25 .catalog-hero-search h1{
  max-width:19ch;
  color:#123f33;
  letter-spacing:-.035em;
}
body.zd-catalog-v25 .catalog-hero-search p{
  color:#62776f;
  font-weight:400;
}

body.zd-catalog-v25 .catalog-section-label{
  color:#315d50;
  font-size:.78rem;
  font-weight:600;
  letter-spacing:.03em;
}
body.zd-catalog-v25 .catalog-direction-grid{
  gap:9px!important;
}
body.zd-catalog-v25 .catalog-direction-grid a{
  min-height:48px!important;
  border-color:rgba(18,61,49,.13)!important;
  border-radius:13px!important;
  box-shadow:0 2px 8px rgba(18,61,49,.025)!important;
  font-weight:500!important;
}
body.zd-catalog-v25 .catalog-direction-grid a[aria-current="page"]{
  box-shadow:0 7px 18px rgba(21,87,67,.12)!important;
}

body.zd-catalog-v25 .catalog-search-panel{
  border:1px solid rgba(18,61,49,.11);
  border-radius:18px;
  background:rgba(247,250,248,.92);
  box-shadow:0 10px 28px rgba(18,61,49,.045);
}
body.zd-catalog-v25 .catalog-search-head h2{
  color:#123f33;
  letter-spacing:-.02em;
}
body.zd-catalog-v25 .catalog-search-head p{
  color:#687b74;
  font-weight:400;
}
body.zd-catalog-v25 .catalog-filter-field label{
  color:#315d50;
  font-weight:500;
}
body.zd-catalog-v25 .catalog-filter-field select{
  background:#fff;
}
body.zd-catalog-v25 .catalog-filter-actions .btn{
  min-height:46px;
}
body.zd-catalog-v25 .js-catalog-filter-submit.is-zero-results{
  opacity:.78;
}

body.zd-catalog-v25 .catalog-results-head{
  align-items:center;
  margin-top:2px;
  margin-bottom:12px;
}
body.zd-catalog-v25 .catalog-results-head h2{
  color:#123f33;
  letter-spacing:-.02em;
}
body.zd-catalog-v25 .catalog-summary-meta{
  align-items:center;
}
body.zd-catalog-v25 .catalog-summary-total{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:5px 10px;
  border:1px solid rgba(18,61,49,.10);
  border-radius:999px;
  background:#f3f8f5;
  color:#587068;
}
body.zd-catalog-v25 .catalog-summary-total strong{
  margin-right:4px;
  color:#155743;
}

body.zd-catalog-v25 .catalog-active-filters{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin:0 0 14px;
  padding:10px 12px;
  border:1px solid rgba(18,61,49,.10);
  border-radius:13px;
  background:#fbfcfb;
}
body.zd-catalog-v25 .catalog-active-filters-label{
  color:#63786f;
  font-size:.80rem;
  font-weight:500;
}
body.zd-catalog-v25 .catalog-active-filter-list{
  display:flex;
  flex:1 1 300px;
  flex-wrap:wrap;
  gap:6px;
}
body.zd-catalog-v25 .catalog-active-filter{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:5px 9px;
  border-radius:999px;
  background:#eaf4ee;
  color:#245445;
  font-size:.78rem;
  font-weight:450;
  line-height:1.2;
}
body.zd-catalog-v25 .catalog-active-filters-clear{
  display:inline-flex;
  align-items:center;
  gap:5px;
  color:#315d50;
  font-size:.79rem;
  font-weight:500;
  text-decoration:none;
}
body.zd-catalog-v25 .catalog-active-filters-clear:hover,
body.zd-catalog-v25 .catalog-active-filters-clear:focus-visible{
  color:#123f33;
  text-decoration:underline;
}

/* A catalogue is scanned visually: two balanced cards on wide screens, one on narrow screens. */
body.zd-catalog-v25 .public-animal-grid-catalog{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px!important;
  align-items:stretch!important;
}
body.zd-catalog-v25 .public-animal-card{
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  overflow:hidden!important;
  border:1px solid rgba(18,61,49,.11)!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 10px 30px rgba(18,61,49,.055)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease!important;
}
body.zd-catalog-v25 .public-animal-card:hover{
  transform:translateY(-2px)!important;
  border-color:rgba(18,61,49,.20)!important;
  box-shadow:0 16px 36px rgba(18,61,49,.085)!important;
}
body.zd-catalog-v25 .public-animal-cover{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:4/3!important;
  border-radius:0!important;
  background:linear-gradient(145deg,#edf5f1,#f7faf8)!important;
}
body.zd-catalog-v25 .public-animal-slide{
  background:linear-gradient(145deg,#edf5f1,#f7faf8)!important;
}
/* Never crop a crop: the catalogue must respect the framing the user approved in the photo master. */
body.zd-catalog-v25 .public-animal-media.has-real-photos .public-animal-slide img{
  object-fit:contain!important;
  background:transparent!important;
}
body.zd-catalog-v25 .public-animal-media.is-placeholder .public-animal-slide img{
  width:88px!important;
  height:88px!important;
  object-fit:contain!important;
}
body.zd-catalog-v25 .public-animal-slide-count{
  top:10px;
  right:10px;
  border-color:rgba(255,255,255,.56);
  background:rgba(12,57,44,.74);
  font-weight:550;
}
body.zd-catalog-v25 .public-animal-slide-nav{
  width:38px;
  height:38px;
  border-color:rgba(18,61,49,.14);
  box-shadow:0 6px 16px rgba(18,61,49,.10);
}

body.zd-catalog-v25 .public-animal-body{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  gap:10px!important;
  padding:16px!important;
  background:#fff!important;
}
body.zd-catalog-v25 .public-animal-card-topline{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
body.zd-catalog-v25 .public-animal-card-topline .tag-row{
  display:flex!important;
  min-width:0;
  flex-wrap:wrap!important;
  gap:5px!important;
}
body.zd-catalog-v25 .public-animal-body .tag{
  padding:5px 8px;
  font-size:.69rem;
  font-weight:500;
}
body.zd-catalog-v25 .public-animal-body .tag-status{
  font-weight:600;
}
body.zd-catalog-v25 .public-animal-card-updated{
  flex:0 0 auto;
  padding-top:4px;
  color:#798a84;
  font-size:.72rem;
  font-weight:400;
  white-space:nowrap;
}
body.zd-catalog-v25 .public-animal-card-title-row{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
}
body.zd-catalog-v25 .public-animal-card-title-row h3{
  min-width:0;
  margin:0!important;
  color:#123f33!important;
  font-size:1.22rem!important;
  line-height:1.22!important;
  letter-spacing:-.02em!important;
}
body.zd-catalog-v25 .public-animal-card-title-row h3 a{
  color:inherit;
  text-decoration:none;
}
body.zd-catalog-v25 .public-animal-card-title-row h3 a:hover,
body.zd-catalog-v25 .public-animal-card-title-row h3 a:focus-visible{
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
body.zd-catalog-v25 .public-animal-card-type{
  flex:0 0 auto;
  color:#5d756c;
  font-size:.80rem;
  font-weight:450;
}
body.zd-catalog-v25 .public-animal-card-location{
  display:flex;
  align-items:center;
  gap:6px;
  min-width:0;
  color:#315d50;
  font-size:.86rem;
  font-weight:500;
}
body.zd-catalog-v25 .public-animal-card-location .ui-icon{
  flex:0 0 auto;
  color:#5f8276;
}
body.zd-catalog-v25 .public-animal-card-location span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.zd-catalog-v25 .public-animal-facts{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:7px!important;
  margin:0!important;
}
body.zd-catalog-v25 .public-animal-facts>span{
  display:inline-flex!important;
  align-items:baseline!important;
  gap:5px!important;
  min-height:30px;
  padding:5px 9px;
  border:1px solid rgba(18,61,49,.09);
  border-radius:999px;
  background:#f8faf9;
  color:#315d50!important;
  font-size:.78rem!important;
  font-weight:500!important;
}
body.zd-catalog-v25 .public-animal-facts small{
  color:#7b8c86;
  font-size:.68rem;
  font-weight:400;
}
body.zd-catalog-v25 .public-animal-body>p{
  margin:0!important;
  color:#61766e!important;
  font-size:.87rem!important;
  font-weight:400!important;
  line-height:1.52!important;
  -webkit-line-clamp:3!important;
}
body.zd-catalog-v25 .public-animal-actions{
  display:grid!important;
  grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)!important;
  gap:8px!important;
  margin-top:auto!important;
  padding-top:2px;
}
body.zd-catalog-v25 .public-animal-actions .btn{
  width:100%;
  min-height:43px!important;
  justify-content:center;
  border-radius:11px!important;
  font-weight:550!important;
}
body.zd-catalog-v25 .public-animal-actions .btn-primary{
  box-shadow:none;
}

body.zd-catalog-v25 .catalog-empty-panel{
  border:1px solid rgba(18,61,49,.10);
  box-shadow:0 10px 28px rgba(18,61,49,.04);
}
body.zd-catalog-v25 .catalog-end-cta{
  background:linear-gradient(145deg,#edf7f2,#f8fbf9);
}
body.zd-catalog-v25 .catalog-end-cta .kicker{
  color:#d7604d;
}
body.zd-catalog-v25 .catalog-filter-modal-card{
  width:min(620px,calc(100% - 28px));
  max-height:calc(100svh - 28px);
  overflow:auto;
  border:1px solid rgba(18,61,49,.10);
  box-shadow:0 20px 60px rgba(18,61,49,.16);
}

@media(max-width:960px){
  body.zd-catalog-v25 .public-animal-grid-catalog{
    grid-template-columns:1fr!important;
    gap:14px!important;
  }
  body.zd-catalog-v25 .public-animal-card{
    display:grid!important;
    grid-template-columns:minmax(220px,38%) minmax(0,1fr)!important;
    flex-direction:initial!important;
  }
  body.zd-catalog-v25 .public-animal-cover{
    height:100%!important;
    min-height:280px!important;
    aspect-ratio:auto!important;
  }
}

@media(max-width:700px){
  body.zd-catalog-v25 .catalog-hero-search{
    margin-bottom:15px!important;
  }
  body.zd-catalog-v25 .catalog-hero-search h1{
    max-width:none!important;
    font-size:1.95rem!important;
    line-height:1.06!important;
  }
  body.zd-catalog-v25 .catalog-hero-search p{
    margin-top:8px!important;
    font-size:.88rem!important;
  }
  body.zd-catalog-v25 .catalog-direction-grid{
    gap:7px!important;
  }
  body.zd-catalog-v25 .catalog-direction-grid a{
    min-height:50px!important;
    font-weight:500!important;
  }
  body.zd-catalog-v25 .catalog-filter-mobile-open{
    min-height:48px!important;
    border:1px solid rgba(18,61,49,.14)!important;
    background:#f8fbf9!important;
    font-weight:550!important;
  }
  body.zd-catalog-v25 .catalog-results-head{
    gap:8px!important;
  }
  body.zd-catalog-v25 .catalog-summary-meta{
    display:flex!important;
  }
  body.zd-catalog-v25 .catalog-summary-total{
    min-height:30px;
    padding:4px 9px;
    font-size:.77rem;
  }
  body.zd-catalog-v25 .catalog-active-filters{
    display:grid;
    grid-template-columns:1fr auto;
    gap:7px 10px;
    padding:10px;
    border-radius:12px;
  }
  body.zd-catalog-v25 .catalog-active-filters-label{
    grid-column:1 / -1;
  }
  body.zd-catalog-v25 .catalog-active-filter-list{
    gap:5px;
  }
  body.zd-catalog-v25 .catalog-active-filter{
    min-height:28px;
    padding:4px 8px;
    font-size:.74rem;
  }

  body.zd-catalog-v25 .public-animal-grid-catalog{
    grid-template-columns:1fr!important;
    gap:13px!important;
  }
  body.zd-catalog-v25 .public-animal-card{
    display:flex!important;
    flex-direction:column!important;
    border-radius:16px!important;
  }
  body.zd-catalog-v25 .public-animal-cover{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:4/3!important;
  }
  body.zd-catalog-v25 .public-animal-body{
    gap:9px!important;
    padding:13px!important;
  }
  body.zd-catalog-v25 .public-animal-card-topline{
    gap:8px;
  }
  body.zd-catalog-v25 .public-animal-card-updated{
    font-size:.68rem;
  }
  body.zd-catalog-v25 .public-animal-card-title-row h3{
    font-size:1.10rem!important;
  }
  body.zd-catalog-v25 .public-animal-card-type{
    font-size:.75rem;
  }
  body.zd-catalog-v25 .public-animal-card-location{
    font-size:.82rem;
  }
  body.zd-catalog-v25 .public-animal-facts{
    gap:5px!important;
  }
  body.zd-catalog-v25 .public-animal-facts>span{
    min-height:28px;
    padding:4px 8px;
    font-size:.75rem!important;
  }
  body.zd-catalog-v25 .public-animal-body>p{
    font-size:.82rem!important;
    line-height:1.46!important;
    -webkit-line-clamp:2!important;
  }
  body.zd-catalog-v25 .public-animal-actions{
    grid-template-columns:1fr 1fr!important;
    gap:7px!important;
  }
  body.zd-catalog-v25 .public-animal-actions .btn{
    min-height:42px!important;
    padding-inline:10px;
    font-size:.82rem;
  }
  body.zd-catalog-v25 .catalog-filter-modal-card{
    width:calc(100% - 16px);
    max-height:calc(100svh - 16px);
    padding:18px 14px 14px;
    border-radius:18px;
  }
}

@media(max-width:390px){
  body.zd-catalog-v25 .public-animal-card-title-row{
    display:block;
  }
  body.zd-catalog-v25 .public-animal-card-type{
    display:block;
    margin-top:3px;
  }
  body.zd-catalog-v25 .public-animal-card-updated{
    white-space:normal;
    text-align:right;
  }
  body.zd-catalog-v25 .public-animal-actions{
    grid-template-columns:1fr!important;
  }
}


/* ZooDomik v0.1.75.1 — search UX polish: human labels, reliable CTA, compact no-photo state */
body.zd-catalog-v25 .public-animal-actions a.btn-primary,
body.zd-catalog-v25 .public-animal-actions a.btn-primary:visited {
  color:#fff!important;
}

body.zd-catalog-v25 .public-animal-card-title-row {
  display:block;
}

body.zd-catalog-v25 .public-animal-media.is-placeholder {
  aspect-ratio:16/7!important;
  min-height:190px!important;
}
body.zd-catalog-v25 .public-animal-media.is-placeholder .public-animal-slide {
  display:flex!important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
}
body.zd-catalog-v25 .public-animal-media.is-placeholder .public-animal-slide img {
  width:68px!important;
  height:68px!important;
  opacity:.82;
}
body.zd-catalog-v25 .public-animal-placeholder-label {
  color:#62776f;
  font-size:.78rem;
  font-weight:450;
}

@media(min-width:961px){
  body.zd-catalog-v25 .public-animal-grid-catalog > .public-animal-card:last-child:nth-child(odd){
    grid-column:1 / -1;
    width:calc(50% - 9px);
    justify-self:center;
  }
}

@media(max-width:700px){
  body.zd-catalog-v25 .zd-shared-floating-actions .js-support-open{
    display:none!important;
  }
  body.zd-catalog-v25 .zd-shared-floating-actions{
    right:8px!important;
    bottom:calc(16px + env(safe-area-inset-bottom))!important;
    gap:0!important;
  }
  body.zd-catalog-v25 .zd-shared-floating-actions .js-scroll-top{
    width:40px!important;
    height:40px!important;
  }
  body.zd-catalog-v25 .public-animal-media.is-placeholder{
    aspect-ratio:16/8!important;
    min-height:170px!important;
  }
}

/* ZooDomik v0.1.75.2 — discoverable card gallery, centered media and consistent floating support */
body.zd-catalog-v25 .public-animal-media.has-real-photos .public-animal-slide img{
  object-position:50% 50%!important;
}

/* Keep the user-approved framing: portrait photos stay portrait and are calmly centered,
   rather than being stretched or cropped again by the search card. */
body.zd-catalog-v25 .public-animal-media.has-real-photos,
body.zd-catalog-v25 .public-animal-media.has-real-photos .public-animal-slide{
  background:#f1f6f3!important;
}

/* The empty state is one centered unit, so the label never drifts to the bottom of the media area. */
body.zd-catalog-v25 .public-animal-media.is-placeholder .public-animal-slide{
  display:grid!important;
  place-items:center!important;
}
body.zd-catalog-v25 .public-animal-placeholder-content{
  display:grid!important;
  justify-items:center!important;
  align-content:center!important;
  gap:10px!important;
  width:max-content;
  max-width:80%;
  margin:auto;
  text-align:center;
}
body.zd-catalog-v25 .public-animal-placeholder-content img{
  margin:0!important;
}
body.zd-catalog-v25 .public-animal-placeholder-label{
  display:block;
  margin:0!important;
  line-height:1.35;
}

/* Icons are helpers, not glued decorations: give them a little breathing room. */
body.zd-catalog-v25 .public-animal-actions .btn,
body.zd-catalog-v25 .catalog-end-cta-actions .btn,
body.zd-catalog-v25 .catalog-filter-mobile-open{
  gap:.55rem!important;
}

@media(max-width:700px){
  /* A gesture must not be the only way to discover the gallery. Keep swipe, but restore small arrows. */
  body.zd-catalog-v25 .public-animal-media.has-slides .public-animal-slide-nav{
    display:grid!important;
    width:34px!important;
    height:34px!important;
    background:rgba(255,255,255,.94)!important;
    box-shadow:0 5px 14px rgba(18,61,49,.12)!important;
  }
  body.zd-catalog-v25 .public-animal-media.has-slides .public-animal-slide-prev{left:7px!important}
  body.zd-catalog-v25 .public-animal-media.has-slides .public-animal-slide-next{right:7px!important}

  /* Restore the canonical support control under scroll-to-top; keep both compact on a narrow viewport. */
  body.zd-catalog-v25 .zd-shared-floating-actions{
    gap:6px!important;
  }
  body.zd-catalog-v25 .zd-shared-floating-actions .js-support-open{
    display:inline-grid!important;
    width:40px!important;
    height:40px!important;
  }
  body.zd-catalog-v25 .zd-shared-floating-actions .js-scroll-top{
    width:40px!important;
    height:40px!important;
  }
}


/* ZooDomik v0.1.75.3 — exact animal wording and truly centered no-photo state */
body.zd-catalog-v25 .public-animal-media.is-placeholder .public-animal-slide{
  position:relative!important;
  display:block!important;
}
body.zd-catalog-v25 .public-animal-media.is-placeholder .public-animal-placeholder-content{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  max-width:none!important;
  height:100%!important;
  margin:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  text-align:center!important;
}
body.zd-catalog-v25 .public-animal-media.is-placeholder .public-animal-placeholder-content img{
  flex:0 0 auto!important;
  margin:0!important;
}
body.zd-catalog-v25 .public-animal-media.is-placeholder .public-animal-placeholder-label{
  position:static!important;
  display:block!important;
  margin:0!important;
  flex:0 0 auto!important;
}


/* ZooDomik v0.1.75.4 — equal media rhythm for photo and no-photo cards */
/* Search cards must keep one visual grid regardless of whether a photo exists.
   The no-photo state uses exactly the same media geometry as a real image. */
body.zd-catalog-v25 .public-animal-media.is-placeholder{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:4/3!important;
  background:linear-gradient(145deg,#edf5f1,#f7faf8)!important;
}
body.zd-catalog-v25 .public-animal-media.is-placeholder .public-animal-slides,
body.zd-catalog-v25 .public-animal-media.is-placeholder .public-animal-slide{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
}

/* Keep the content block directly below the same media baseline for paired desktop cards. */
@media(min-width:961px){
  body.zd-catalog-v25 .public-animal-grid-catalog{
    grid-auto-rows:auto!important;
  }
  body.zd-catalog-v25 .public-animal-card{
    height:100%!important;
  }
}

@media(max-width:700px){
  body.zd-catalog-v25 .public-animal-media.is-placeholder{
    min-height:0!important;
    aspect-ratio:4/3!important;
  }
}


/* ZooDomik v0.1.76.0 — public pet page Design 2.0 trust + media pass */
body.zd-pet-v2 .public-hero-media{
  display:grid;
  place-items:center;
  overflow:hidden;
  background:linear-gradient(180deg,#f2f7f4 0%,#edf4f0 100%);
}
body.zd-pet-v2 .gallery-hero-button{
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
  padding:0;
  overflow:hidden;
}
body.zd-pet-v2 .gallery-hero-button img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain!important;
  object-position:center!important;
  background:transparent;
}
body.zd-pet-v2 .public-pet-no-photo{
  display:grid;
  place-items:center;
  align-content:center;
  gap:10px;
  width:100%;
  height:100%;
  padding:24px;
  color:#6c8179;
  text-align:center;
}
body.zd-pet-v2 .public-pet-no-photo img{
  width:58px;
  height:58px;
  object-fit:contain;
  opacity:.82;
}
body.zd-pet-v2 .public-pet-no-photo span{
  font-size:.84rem;
  line-height:1.35;
  font-weight:400;
}
body.zd-pet-v2 .public-pet-hero-thumb{
  display:grid;
  place-items:center;
  background:#f5f8f6;
}
body.zd-pet-v2 .public-pet-hero-thumb img{
  width:100%;
  height:100%;
  object-fit:contain!important;
  object-position:center!important;
}
body.zd-pet-v2 .public-pet-item-cover{
  display:grid;
  place-items:center;
  background:#f4f8f6;
  border:1px solid rgba(22,76,59,.10);
}
body.zd-pet-v2 .public-pet-item-cover img{
  width:100%;
  height:100%;
  object-fit:contain!important;
  object-position:center!important;
}
body.zd-pet-v2 .public-contact-actions .btn,
body.zd-pet-v2 .contact-modal-card .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px!important;
}
body.zd-pet-v2 .public-contact-actions .btn .btn-icon,
body.zd-pet-v2 .contact-modal-card .btn .btn-icon{
  flex:0 0 auto;
}
body.zd-pet-v2 .public-contact-guidance-disclosure{
  margin-top:12px;
  border:1px solid rgba(22,76,59,.09);
  border-radius:11px;
  background:#f7faf8;
  overflow:hidden;
}
body.zd-pet-v2 .public-contact-guidance-disclosure>summary{
  min-height:42px;
  padding:9px 11px;
  color:#28594b;
}
body.zd-pet-v2 .public-contact-guidance-disclosure>p{
  margin:0;
  padding:0 11px 11px;
  color:#60756d;
  font-size:.83rem;
  line-height:1.5;
}
body.zd-pet-v2 .public-case-contact-card{
  align-self:start;
}
@media(min-width:961px){
  body.zd-pet-v2 .public-case-contact-card{
    position:sticky;
    top:86px;
  }
}
@media(max-width:700px){
  body.zd-pet-v2 .public-hero-media{
    aspect-ratio:4/3!important;
  }
  body.zd-pet-v2 .public-pet-no-photo{
    min-height:220px;
    padding:20px;
  }
  body.zd-pet-v2 .public-pet-no-photo img{
    width:52px;
    height:52px;
  }
  body.zd-pet-v2 .public-contact-actions .btn{
    width:100%;
  }
}


/* ZooDomik v0.1.76.1 — public profile clarity pass */
body.zd-pet-v2 .public-hero-meta .public-meta-reference{display:none!important}
body.zd-pet-v2 .public-animal-section-head h2{max-width:calc(100% - 52px)}
body.zd-pet-v2 .public-hero-body .hero-copy{max-width:650px}
@media(max-width:700px){
  body.zd-pet-v2 .public-case-contact-card{margin-top:2px}
  body.zd-pet-v2 .public-animal-section-head{align-items:center}
  body.zd-pet-v2 .public-animal-section-head h2{max-width:calc(100% - 44px)}
}

/* ZooDomik v0.1.77.0 — share brochure, numeric search code, print layout */
.public-meta-reference {
  background: rgba(22, 76, 59, 0.08);
  color: #164c3b;
  border: 1px solid rgba(22, 76, 59, 0.16);
}

.public-reference-box {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(22, 76, 59, 0.08), rgba(22, 76, 59, 0.03));
  border: 1px solid rgba(22, 76, 59, 0.12);
  margin: 0 0 1rem;
}

.public-reference-box small {
  color: #4a6158;
  font-size: 0.82rem;
}

.public-reference-box strong {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1;
  letter-spacing: 0.08em;
  color: #164c3b;
}

.public-reference-box p {
  margin: 0;
  color: #26443a;
}

.share-reference {
  display: grid;
  gap: 0.25rem;
  margin: 0.9rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(22, 76, 59, 0.08);
  border: 1px solid rgba(22, 76, 59, 0.12);
}

.share-reference small {
  color: #4a6158;
}

.share-reference strong {
  font-size: 1.3rem;
  line-height: 1;
  letter-spacing: 0.08em;
  color: #164c3b;
}

.pet-brochure-page {
  margin: 0;
  background: #eef4f0;
  color: #1b3129;
}

.pet-brochure-toolbar {
  max-width: 980px;
  margin: 0 auto;
  padding: 1rem 1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.pet-brochure-sheet {
  max-width: 980px;
  margin: 1rem auto 2rem;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 18px 48px rgba(24, 52, 42, 0.12);
  padding: 2rem;
}

.pet-brochure-sheet-empty {
  min-height: 60vh;
  display: grid;
  place-items: center;
}

.pet-brochure-empty {
  max-width: 32rem;
  text-align: center;
}

.pet-brochure-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18rem;
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

.pet-brochure-brand {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  background: #164c3b;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.8rem;
}

.pet-brochure-kicker {
  color: #4a6158;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.pet-brochure-head h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.08;
}

.pet-brochure-summary {
  margin: 0;
  color: #2d443b;
  font-size: 1.03rem;
}

.pet-brochure-code-card {
  display: grid;
  gap: 0.45rem;
  align-content: start;
  padding: 1.2rem;
  border-radius: 1.25rem;
  background: linear-gradient(180deg, #164c3b, #1c6149);
  color: #fff;
}

.pet-brochure-code-card small,
.pet-brochure-code-card span {
  color: rgba(255, 255, 255, 0.88);
}

.pet-brochure-code-card strong {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  letter-spacing: 0.08em;
  line-height: 1;
}

.pet-brochure-body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.pet-brochure-visual img,
.pet-brochure-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pet-brochure-visual img {
  min-height: 25rem;
  max-height: 34rem;
  border-radius: 1.35rem;
}

.pet-brochure-placeholder {
  min-height: 25rem;
  border-radius: 1.35rem;
  background: linear-gradient(180deg, rgba(22, 76, 59, 0.08), rgba(22, 76, 59, 0.03));
  border: 1px solid rgba(22, 76, 59, 0.1);
  display: grid;
  place-items: center;
  text-align: center;
  gap: 1rem;
  padding: 1.5rem;
}

.pet-brochure-placeholder img {
  width: 7rem;
  height: 7rem;
  object-fit: contain;
}

.pet-brochure-info {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.pet-brochure-facts {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pet-brochure-fact {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(22, 76, 59, 0.05);
  border: 1px solid rgba(22, 76, 59, 0.08);
}

.pet-brochure-fact small {
  display: block;
  color: #587066;
  margin-bottom: 0.35rem;
}

.pet-brochure-fact strong {
  color: #1b3129;
  font-size: 1.02rem;
}

.pet-brochure-howto,
.pet-brochure-detail-card {
  padding: 1.2rem;
  border-radius: 1.2rem;
  background: #f6f9f7;
  border: 1px solid rgba(22, 76, 59, 0.1);
}

.pet-brochure-howto h2,
.pet-brochure-detail-card h2 {
  margin: 0 0 0.8rem;
  font-size: 1.15rem;
}

.pet-brochure-howto ol {
  margin: 0 0 0.75rem 1.2rem;
  padding: 0;
}

.pet-brochure-howto p,
.pet-brochure-copy-item p,
.pet-brochure-footer p {
  margin: 0;
  color: #334a41;
}

.pet-brochure-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.pet-brochure-gallery-item {
  min-height: 8.5rem;
  border-radius: 1rem;
  overflow: hidden;
  background: #dfe9e4;
}

.pet-brochure-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.pet-brochure-detail-card dl,
.pet-brochure-copy-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
}

.pet-brochure-detail-card dl div {
  display: grid;
  gap: 0.25rem;
}

.pet-brochure-detail-card dt {
  font-weight: 700;
  color: #234439;
}

.pet-brochure-detail-card dd {
  margin: 0;
  color: #3d564d;
}

.pet-brochure-copy-item {
  display: grid;
  gap: 0.25rem;
}

.pet-brochure-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(22, 76, 59, 0.12);
}

.pet-brochure-footer strong {
  display: block;
  margin-bottom: 0.35rem;
}

@media (max-width: 900px) {
  .pet-brochure-sheet {
    padding: 1.25rem;
    margin: 0.75rem;
  }

  .pet-brochure-head,
  .pet-brochure-body,
  .pet-brochure-detail-grid,
  .pet-brochure-footer {
    grid-template-columns: 1fr;
  }

  .pet-brochure-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .pet-brochure-toolbar {
    justify-content: stretch;
  }

  .pet-brochure-toolbar .btn {
    flex: 1 1 100%;
  }

  .pet-brochure-facts,
  .pet-brochure-gallery {
    grid-template-columns: 1fr;
  }
}

@media print {
  @page {
    size: A4 portrait;
    margin: 10mm;
  }

  .no-print,
  .pet-brochure-toolbar,
  .site-header,
  .footer,
  .footer-mobile-nav,
  .floating-actions,
  .tech-support-panel {
    display: none !important;
  }

  html,
  body,
  .pet-brochure-page {
    background: #fff !important;
  }

  .pet-brochure-sheet {
    max-width: none;
    margin: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .pet-brochure-head,
  .pet-brochure-body,
  .pet-brochure-detail-grid,
  .pet-brochure-footer {
    break-inside: avoid;
  }

  .pet-brochure-visual img,
  .pet-brochure-placeholder {
    min-height: 90mm;
    max-height: 110mm;
  }

  .pet-brochure-gallery-item {
    min-height: 40mm;
  }
}

/* ZooDomik v0.1.77.1 — A4 brochure render fix and one-page print composition */
.pet-brochure-page,
.pet-brochure-page * {
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.pet-brochure-sheet {
  width: min(210mm, calc(100% - 2rem));
  min-height: 280mm;
  box-sizing: border-box;
}

.pet-brochure-visual {
  min-width: 0;
  border-radius: 1.35rem;
  overflow: hidden;
  background: linear-gradient(180deg, #edf4f0, #f7faf8);
  border: 1px solid rgba(22, 76, 59, 0.1);
  display: grid;
  place-items: center;
}

.pet-brochure-visual img {
  width: 100%;
  height: 100%;
  min-height: 25rem;
  max-height: 34rem;
  object-fit: contain;
  object-position: 50% 50%;
  background: #edf4f0;
}

.pet-brochure-gallery-item {
  background: #edf4f0;
}

.pet-brochure-gallery-item img {
  object-fit: contain;
  object-position: 50% 50%;
}

.pet-brochure-code-card {
  box-shadow: 0 12px 26px rgba(22, 76, 59, 0.16);
}

.pet-brochure-howto strong {
  color: #164c3b;
}

@media print {
  @page {
    size: A4 portrait;
    margin: 8mm;
  }

  html,
  body,
  .pet-brochure-page {
    width: 100%;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
  }

  .pet-brochure-sheet {
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    overflow: visible !important;
  }

  .pet-brochure-head {
    grid-template-columns: minmax(0, 1fr) 54mm;
    gap: 6mm;
    margin-bottom: 5mm;
  }

  .pet-brochure-brand {
    font-size: 10pt;
    margin-bottom: 3mm;
  }

  .pet-brochure-kicker {
    margin-bottom: 2mm;
    font-size: 9pt;
  }

  .pet-brochure-head h1 {
    font-size: 21pt;
    line-height: 1.05;
    margin-bottom: 3mm;
  }

  .pet-brochure-summary {
    font-size: 9.5pt;
    line-height: 1.35;
  }

  .pet-brochure-code-card {
    padding: 5mm;
    border-radius: 5mm;
    box-shadow: none;
  }

  .pet-brochure-code-card strong {
    font-size: 24pt;
  }

  .pet-brochure-code-card small,
  .pet-brochure-code-card span {
    font-size: 8pt;
  }

  .pet-brochure-body {
    grid-template-columns: minmax(0, 1.15fr) minmax(56mm, 0.85fr);
    gap: 6mm;
    margin-bottom: 5mm;
    align-items: stretch;
  }

  .pet-brochure-visual,
  .pet-brochure-visual img,
  .pet-brochure-placeholder {
    min-height: 104mm !important;
    height: 104mm !important;
    max-height: 104mm !important;
    border-radius: 5mm;
  }

  .pet-brochure-visual img {
    object-fit: contain !important;
  }

  .pet-brochure-info {
    gap: 4mm;
  }

  .pet-brochure-facts {
    grid-template-columns: 1fr;
    gap: 2.5mm;
  }

  .pet-brochure-fact {
    padding: 3mm 3.5mm;
    border-radius: 3mm;
  }

  .pet-brochure-fact small {
    font-size: 7.5pt;
    margin-bottom: 1mm;
  }

  .pet-brochure-fact strong {
    font-size: 9pt;
  }

  .pet-brochure-howto {
    padding: 4mm;
    border-radius: 4mm;
  }

  .pet-brochure-howto h2 {
    margin-bottom: 2mm;
    font-size: 10pt;
  }

  .pet-brochure-howto ol,
  .pet-brochure-howto p {
    font-size: 8pt;
    line-height: 1.3;
  }

  .pet-brochure-howto ol {
    margin: 0 0 2mm 4mm;
  }

  /* Extra web preview details are useful on screen, but the printable flyer is always one A4 sheet. */
  .pet-brochure-gallery,
  .pet-brochure-detail-grid {
    display: none !important;
  }

  .pet-brochure-footer {
    grid-template-columns: 1fr 1fr;
    gap: 6mm;
    margin-top: 0;
    padding-top: 4mm;
  }

  .pet-brochure-footer strong {
    font-size: 9pt;
  }

  .pet-brochure-footer p {
    font-size: 7.5pt;
    line-height: 1.3;
  }
}

/* ZooDomik v0.1.77.2 — print flyer uses the whole A4 sheet */
.print-only {
  display: none !important;
}

@media print {
  .pet-brochure-page {
    font-size: 10pt;
  }

  .pet-brochure-head h1 {
    font-size: 23pt;
  }

  .pet-brochure-summary {
    font-size: 10pt;
    line-height: 1.38;
  }

  .pet-brochure-body {
    margin-bottom: 4mm;
  }

  .pet-brochure-visual,
  .pet-brochure-visual img,
  .pet-brochure-placeholder {
    min-height: 98mm !important;
    height: 98mm !important;
    max-height: 98mm !important;
  }

  .pet-brochure-print-extra {
    display: block !important;
    margin-top: 3mm;
    break-inside: avoid;
  }

  .pet-brochure-print-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3mm;
    margin-bottom: 4mm;
  }

  .pet-brochure-print-gallery-item {
    height: 31mm;
    border-radius: 3mm;
    overflow: hidden;
    background: #edf4f0;
    border: 0.35mm solid rgba(22, 76, 59, 0.12);
  }

  .pet-brochure-print-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: 50% 50%;
    background: #edf4f0;
  }

  .pet-brochure-print-details {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4mm;
    margin-bottom: 4mm;
  }

  .pet-brochure-print-details article {
    padding: 3.5mm 4mm;
    border-radius: 3.5mm;
    background: #f6f9f7;
    border: 0.35mm solid rgba(22, 76, 59, 0.12);
  }

  .pet-brochure-print-details h2 {
    margin: 0 0 2mm;
    font-size: 9.5pt;
    color: #164c3b;
  }

  .pet-brochure-print-details dl {
    margin: 0;
    display: grid;
    gap: 1.25mm;
  }

  .pet-brochure-print-details dl div {
    display: grid;
    grid-template-columns: 28mm minmax(0, 1fr);
    gap: 2mm;
  }

  .pet-brochure-print-details dt {
    font-size: 7.4pt;
    font-weight: 700;
    color: #4b6259;
  }

  .pet-brochure-print-details dd,
  .pet-brochure-print-details p {
    margin: 0;
    font-size: 7.8pt;
    line-height: 1.32;
    color: #263d35;
  }

  .pet-brochure-print-cta {
    display: grid;
    grid-template-columns: 1fr 1fr 1.6fr;
    gap: 4mm;
    align-items: center;
    padding: 4mm 5mm;
    border-radius: 4mm;
    background: #164c3b;
    color: #fff;
  }

  .pet-brochure-print-cta div {
    display: grid;
    gap: 0.6mm;
  }

  .pet-brochure-print-cta small {
    font-size: 7pt;
    color: rgba(255, 255, 255, 0.78);
  }

  .pet-brochure-print-cta strong {
    font-size: 12pt;
    line-height: 1.05;
    color: #fff;
  }

  .pet-brochure-print-cta div:nth-child(2) strong {
    font-size: 17pt;
    letter-spacing: 0.08em;
  }

  .pet-brochure-print-cta p {
    margin: 0;
    font-size: 7.7pt;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.92);
  }

  .pet-brochure-footer {
    margin-top: 3mm;
    padding-top: 3mm;
  }

  .pet-brochure-footer p {
    font-size: 6.8pt;
  }
}


/* ZooDomik v0.1.77.3 — contact card spacing and single-page A4 tuning */
.public-reference-box {
  margin-top: 0.85rem;
}

@media (max-width: 700px) {
  .public-reference-box {
    margin-top: 0.9rem;
  }
}

@media print {
  @page {
    size: A4 portrait;
    margin: 6mm;
  }

  .pet-brochure-page {
    font-size: 9.2pt;
  }

  .pet-brochure-sheet {
    min-height: 0 !important;
  }

  .pet-brochure-head {
    grid-template-columns: minmax(0, 1fr) 47mm;
    gap: 4mm;
    margin-bottom: 4mm;
  }

  .pet-brochure-brand {
    margin-bottom: 2mm;
    font-size: 9pt;
  }

  .pet-brochure-kicker {
    margin-bottom: 1.5mm;
    font-size: 8pt;
  }

  .pet-brochure-head h1 {
    font-size: 19pt;
    line-height: 1.03;
    margin-bottom: 2mm;
  }

  .pet-brochure-summary {
    font-size: 8.5pt;
    line-height: 1.28;
  }

  .pet-brochure-code-card {
    padding: 4mm;
    border-radius: 4mm;
  }

  .pet-brochure-code-card strong {
    font-size: 21pt;
  }

  .pet-brochure-code-card small,
  .pet-brochure-code-card span {
    font-size: 7.2pt;
  }

  .pet-brochure-body {
    grid-template-columns: minmax(0, 1.1fr) minmax(50mm, 0.9fr);
    gap: 4mm;
    margin-bottom: 3mm;
  }

  .pet-brochure-visual,
  .pet-brochure-visual img,
  .pet-brochure-placeholder {
    min-height: 84mm !important;
    height: 84mm !important;
    max-height: 84mm !important;
  }

  .pet-brochure-info {
    gap: 3mm;
  }

  .pet-brochure-facts {
    gap: 2mm;
  }

  .pet-brochure-fact {
    padding: 2.4mm 2.8mm;
    border-radius: 2.8mm;
  }

  .pet-brochure-fact:nth-child(n+5) {
    display: none;
  }

  .pet-brochure-fact small {
    font-size: 6.9pt;
    margin-bottom: 0.8mm;
  }

  .pet-brochure-fact strong {
    font-size: 8.2pt;
  }

  .pet-brochure-howto {
    padding: 3.2mm;
    border-radius: 3.2mm;
  }

  .pet-brochure-howto h2 {
    margin-bottom: 1.5mm;
    font-size: 8.8pt;
  }

  .pet-brochure-howto ol,
  .pet-brochure-howto p {
    font-size: 7.2pt;
    line-height: 1.24;
  }

  .pet-brochure-howto ol {
    margin: 0 0 1.5mm 3.6mm;
  }

  .pet-brochure-print-extra {
    margin-top: 2mm;
    break-inside: auto !important;
    page-break-inside: auto !important;
  }

  .pet-brochure-print-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.4mm;
    margin-bottom: 3mm;
  }

  .pet-brochure-print-gallery-item {
    height: 22mm;
    border-radius: 2.6mm;
  }

  .pet-brochure-print-details {
    gap: 3mm;
    margin-bottom: 3mm;
  }

  .pet-brochure-print-details article {
    padding: 3mm 3.4mm;
    border-radius: 3mm;
  }

  .pet-brochure-print-details h2 {
    margin: 0 0 1.5mm;
    font-size: 8.6pt;
  }

  .pet-brochure-print-details dl {
    gap: 1mm;
  }

  .pet-brochure-print-details dl div {
    grid-template-columns: 24mm minmax(0, 1fr);
    gap: 1.6mm;
  }

  .pet-brochure-print-details dt {
    font-size: 6.9pt;
  }

  .pet-brochure-print-details dd,
  .pet-brochure-print-details p {
    font-size: 7.1pt;
    line-height: 1.24;
  }

  .pet-brochure-print-cta {
    grid-template-columns: 0.95fr 0.95fr 1.35fr;
    gap: 3mm;
    padding: 3mm 4mm;
    border-radius: 3.2mm;
  }

  .pet-brochure-print-cta strong {
    font-size: 10.4pt;
  }

  .pet-brochure-print-cta div:nth-child(2) strong {
    font-size: 14.5pt;
  }

  .pet-brochure-print-cta small {
    font-size: 6.6pt;
  }

  .pet-brochure-print-cta p {
    font-size: 7pt;
    line-height: 1.22;
  }

  .pet-brochure-footer {
    gap: 4mm;
    margin-top: 2mm;
    padding-top: 2mm;
  }

  .pet-brochure-footer strong {
    font-size: 8pt;
    margin-bottom: 0.8mm;
  }

  .pet-brochure-footer p {
    font-size: 6.2pt;
    line-height: 1.18;
  }
}


/* ZooDomik v0.1.77.4 — brochure content clarity, distinct photo selection, stronger one-page print guard */
.public-reference-box {
  margin-top: 1rem;
  display: grid;
  gap: 0.35rem;
}

body.zd-pet-v2 .public-contact-guidance-disclosure + .public-reference-box {
  margin-top: 1rem;
}

@media (max-width: 700px) {
  .public-reference-box {
    margin-top: 1rem;
  }
}

.pet-brochure-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media print {
  @page {
    size: A4 portrait;
    margin: 6mm;
  }

  .pet-brochure-page {
    font-size: 9pt;
  }

  .pet-brochure-sheet {
    min-height: 0 !important;
    padding: 6mm 6.5mm !important;
  }

  .pet-brochure-head {
    margin-bottom: 3mm !important;
  }

  .pet-brochure-head h1 {
    font-size: 15.2pt !important;
    line-height: 1.08 !important;
  }

  .pet-brochure-summary {
    font-size: 7.5pt !important;
    line-height: 1.28 !important;
    margin-top: 1.8mm !important;
  }

  .pet-brochure-body {
    grid-template-columns: minmax(0, 1.05fr) minmax(46mm, 0.95fr) !important;
    gap: 3.4mm !important;
    margin-bottom: 3mm !important;
  }

  .pet-brochure-visual,
  .pet-brochure-visual img,
  .pet-brochure-placeholder {
    min-height: 78mm !important;
    height: 78mm !important;
    max-height: 78mm !important;
  }

  .pet-brochure-info {
    gap: 2.8mm !important;
  }

  .pet-brochure-facts {
    gap: 2mm !important;
  }

  .pet-brochure-fact {
    padding: 2.2mm 2.6mm !important;
    border-radius: 2.6mm !important;
  }

  .pet-brochure-fact:nth-child(n+5) {
    display: none !important;
  }

  .pet-brochure-howto {
    padding: 3mm !important;
    border-radius: 3mm !important;
  }

  .pet-brochure-howto h2 {
    margin-bottom: 1.4mm !important;
    font-size: 8.6pt !important;
  }

  .pet-brochure-howto ol,
  .pet-brochure-howto p {
    font-size: 7pt !important;
    line-height: 1.22 !important;
  }

  .pet-brochure-howto ol {
    margin: 0 0 1.4mm 3.4mm !important;
  }

  .pet-brochure-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 2.4mm !important;
    margin-bottom: 3mm !important;
  }

  .pet-brochure-gallery-item {
    height: 20mm !important;
    border-radius: 2.6mm !important;
  }

  .pet-brochure-detail-grid {
    grid-template-columns: 0.9fr 1.1fr !important;
    gap: 3mm !important;
    margin-bottom: 3mm !important;
  }

  .pet-brochure-detail-card {
    padding: 3mm 3.2mm !important;
    border-radius: 3mm !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .pet-brochure-detail-card h2 {
    margin: 0 0 1.4mm !important;
    font-size: 8.5pt !important;
  }

  .pet-brochure-detail-card dl {
    gap: 1mm !important;
  }

  .pet-brochure-detail-card dl div {
    grid-template-columns: 25mm minmax(0, 1fr) !important;
    gap: 1.4mm !important;
  }

  .pet-brochure-detail-card dt {
    font-size: 6.8pt !important;
  }

  .pet-brochure-detail-card dd,
  .pet-brochure-copy-item p {
    font-size: 7pt !important;
    line-height: 1.22 !important;
  }

  .pet-brochure-copy-item + .pet-brochure-copy-item {
    margin-top: 1.8mm !important;
  }

  .pet-brochure-footer {
    gap: 4mm !important;
    margin-top: 2mm !important;
    padding-top: 2mm !important;
  }

  .pet-brochure-footer strong {
    font-size: 7.8pt !important;
    margin-bottom: 0.8mm !important;
  }

  .pet-brochure-footer p {
    font-size: 6.4pt !important;
    line-height: 1.2 !important;
  }
}

/* ZooDomik v0.1.77.5 — printable brochure restores compact details and labels individual animals */
.pet-brochure-gallery-item {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
}

.pet-brochure-gallery-item figcaption {
  display: grid;
  gap: 0.12rem;
  padding: 0.55rem 0.65rem 0.6rem;
  background: #fff;
  border-top: 1px solid rgba(22, 76, 59, 0.08);
}

.pet-brochure-gallery-item figcaption strong {
  color: #164c3b;
  font-size: 0.82rem;
  line-height: 1.15;
}

.pet-brochure-gallery-item figcaption span {
  color: #61756d;
  font-size: 0.72rem;
  line-height: 1.2;
}

@media print {
  /* v0.1.77.1 hid these blocks; v0.1.77.5 explicitly restores them in a compact one-page form. */
  .pet-brochure-gallery,
  .pet-brochure-detail-grid {
    display: grid !important;
  }

  .pet-brochure-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 2.2mm !important;
    margin-bottom: 2.6mm !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .pet-brochure-gallery-item {
    height: auto !important;
    min-height: 0 !important;
    grid-template-rows: 18mm auto !important;
    border-radius: 2.4mm !important;
    border: 0.3mm solid rgba(22, 76, 59, 0.12) !important;
  }

  .pet-brochure-gallery-item img {
    width: 100% !important;
    height: 18mm !important;
    min-height: 18mm !important;
    max-height: 18mm !important;
    object-fit: contain !important;
  }

  .pet-brochure-gallery-item figcaption {
    gap: 0.3mm !important;
    padding: 1.2mm 1.6mm 1.4mm !important;
  }

  .pet-brochure-gallery-item figcaption strong {
    font-size: 6.8pt !important;
  }

  .pet-brochure-gallery-item figcaption span {
    font-size: 6pt !important;
  }

  .pet-brochure-detail-grid {
    grid-template-columns: 0.88fr 1.12fr !important;
    gap: 2.6mm !important;
    margin-bottom: 2.6mm !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .pet-brochure-detail-card {
    padding: 2.6mm 3mm !important;
  }

  .pet-brochure-detail-card h2 {
    margin-bottom: 1.2mm !important;
    font-size: 8pt !important;
  }

  .pet-brochure-detail-card dl {
    gap: 0.7mm !important;
  }

  .pet-brochure-detail-card dl div {
    grid-template-columns: 22mm minmax(0, 1fr) !important;
    gap: 1.2mm !important;
  }

  .pet-brochure-detail-card dt {
    font-size: 6.2pt !important;
  }

  .pet-brochure-detail-card dd,
  .pet-brochure-copy-item p {
    font-size: 6.45pt !important;
    line-height: 1.17 !important;
  }

  .pet-brochure-copy-item + .pet-brochure-copy-item {
    margin-top: 1mm !important;
  }

  .pet-brochure-footer {
    margin-top: 1.8mm !important;
    padding-top: 1.8mm !important;
  }
}


/* ZooDomik v0.1.77.6 — group brochure uses general hero + one labelled photo per animal */
.pet-brochure-visual {
  position: relative;
}

.pet-brochure-hero-caption {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  display: grid;
  gap: 0.12rem;
  padding: 0.65rem 0.8rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(22, 76, 59, 0.12);
  box-shadow: 0 8px 22px rgba(22, 76, 59, 0.12);
}

.pet-brochure-hero-caption strong {
  color: #164c3b;
  font-size: 0.92rem;
  line-height: 1.15;
}

.pet-brochure-hero-caption span {
  color: #5f756c;
  font-size: 0.78rem;
  line-height: 1.2;
}

.pet-brochure-gallery-wrap {
  margin-bottom: 1.5rem;
}

.pet-brochure-gallery-wrap .pet-brochure-gallery {
  margin-bottom: 0;
}

.pet-brochure-gallery-more {
  margin: 0.7rem 0 0;
  color: #516a61;
  font-size: 0.82rem;
  text-align: center;
}

@media print {
  .pet-brochure-hero-caption {
    left: 2.2mm !important;
    right: 2.2mm !important;
    bottom: 2.2mm !important;
    gap: 0.25mm !important;
    padding: 1.5mm 1.8mm !important;
    border-radius: 2.2mm !important;
    box-shadow: none !important;
  }

  .pet-brochure-hero-caption strong {
    font-size: 7pt !important;
  }

  .pet-brochure-hero-caption span {
    font-size: 6.1pt !important;
  }

  .pet-brochure-gallery-wrap {
    margin-bottom: 2.6mm !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .pet-brochure-gallery-wrap .pet-brochure-gallery {
    margin-bottom: 0 !important;
  }

  .pet-brochure-gallery-more {
    margin: 1.2mm 0 0 !important;
    font-size: 6.2pt !important;
    line-height: 1.15 !important;
  }
}

/* ZooDomik v0.1.77.8 — adaptive A4 density for short and content-rich brochures */
@media print {
  /* Short brochures use the page as a real poster instead of clustering at the top. */
  .pet-brochure-density-light {
    min-height: 270mm !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .pet-brochure-density-light .pet-brochure-head {
    grid-template-columns: minmax(0, 1fr) 50mm !important;
    gap: 5mm !important;
    margin-bottom: 5mm !important;
  }

  .pet-brochure-density-light .pet-brochure-brand {
    font-size: 10pt !important;
  }

  .pet-brochure-density-light .pet-brochure-kicker {
    font-size: 9pt !important;
  }

  .pet-brochure-density-light .pet-brochure-head h1 {
    font-size: 22pt !important;
    line-height: 1.05 !important;
    margin-bottom: 3mm !important;
  }

  .pet-brochure-density-light .pet-brochure-summary {
    font-size: 10pt !important;
    line-height: 1.35 !important;
  }

  .pet-brochure-density-light .pet-brochure-code-card {
    padding: 5mm !important;
  }

  .pet-brochure-density-light .pet-brochure-code-card strong {
    font-size: 25pt !important;
  }

  .pet-brochure-density-light .pet-brochure-body {
    grid-template-columns: minmax(0, 1.18fr) minmax(52mm, 0.82fr) !important;
    gap: 5mm !important;
    margin-bottom: 5mm !important;
  }

  .pet-brochure-density-light .pet-brochure-visual,
  .pet-brochure-density-light .pet-brochure-visual img,
  .pet-brochure-density-light .pet-brochure-placeholder {
    min-height: 116mm !important;
    height: 116mm !important;
    max-height: 116mm !important;
  }

  .pet-brochure-density-light .pet-brochure-facts {
    gap: 3mm !important;
  }

  .pet-brochure-density-light .pet-brochure-fact {
    padding: 3.3mm 3.8mm !important;
  }

  .pet-brochure-density-light .pet-brochure-fact small {
    font-size: 7.5pt !important;
  }

  .pet-brochure-density-light .pet-brochure-fact strong {
    font-size: 9.4pt !important;
  }

  .pet-brochure-density-light .pet-brochure-howto {
    padding: 4mm !important;
  }

  .pet-brochure-density-light .pet-brochure-howto h2 {
    font-size: 10pt !important;
  }

  .pet-brochure-density-light .pet-brochure-howto ol,
  .pet-brochure-density-light .pet-brochure-howto p {
    font-size: 8pt !important;
    line-height: 1.3 !important;
  }

  .pet-brochure-density-light .pet-brochure-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 4mm !important;
    margin-bottom: 4mm !important;
  }

  .pet-brochure-density-light .pet-brochure-detail-card {
    padding: 4mm 4.5mm !important;
  }

  .pet-brochure-density-light .pet-brochure-detail-card h2 {
    font-size: 10pt !important;
    margin-bottom: 2mm !important;
  }

  .pet-brochure-density-light .pet-brochure-detail-card dt,
  .pet-brochure-density-light .pet-brochure-detail-card dd,
  .pet-brochure-density-light .pet-brochure-copy-item p {
    font-size: 8pt !important;
    line-height: 1.28 !important;
  }

  .pet-brochure-density-light .pet-brochure-footer {
    margin-top: auto !important;
    padding-top: 4mm !important;
    gap: 7mm !important;
  }

  .pet-brochure-density-light .pet-brochure-footer strong {
    font-size: 9pt !important;
  }

  .pet-brochure-density-light .pet-brochure-footer p {
    font-size: 7.4pt !important;
    line-height: 1.28 !important;
  }

  /* Medium amount of content can grow a little, but keeps enough safety for 1/1 printing. */
  .pet-brochure-density-balanced .pet-brochure-head h1 {
    font-size: 18pt !important;
  }

  .pet-brochure-density-balanced .pet-brochure-summary {
    font-size: 8.5pt !important;
  }

  .pet-brochure-density-balanced .pet-brochure-visual,
  .pet-brochure-density-balanced .pet-brochure-visual img,
  .pet-brochure-density-balanced .pet-brochure-placeholder {
    min-height: 94mm !important;
    height: 94mm !important;
    max-height: 94mm !important;
  }

  .pet-brochure-density-balanced .pet-brochure-fact strong {
    font-size: 8.8pt !important;
  }

  .pet-brochure-density-balanced .pet-brochure-howto ol,
  .pet-brochure-density-balanced .pet-brochure-howto p {
    font-size: 7.5pt !important;
  }

  /* Dense brochures intentionally keep the compact v0.1.77.7 geometry. */
  .pet-brochure-density-dense {
    min-height: 0 !important;
  }
}

/* ZooDomik v0.1.77.9 — poster-like A4 space distribution for light/balanced brochures */
@media print {
  /* Light: one pet / very little text. Use the sheet as a poster, not a compact card. */
  .pet-brochure-density-light {
    min-height: 273mm !important;
  }

  .pet-brochure-density-light .pet-brochure-head {
    margin-bottom: 6mm !important;
  }

  .pet-brochure-density-light .pet-brochure-head h1 {
    font-size: 24pt !important;
    line-height: 1.04 !important;
  }

  .pet-brochure-density-light .pet-brochure-code-card {
    padding: 6mm !important;
  }

  .pet-brochure-density-light .pet-brochure-code-card strong {
    font-size: 28pt !important;
  }

  .pet-brochure-density-light .pet-brochure-body {
    grid-template-columns: minmax(0, 1.22fr) minmax(50mm, 0.78fr) !important;
    gap: 6mm !important;
    margin-bottom: 6mm !important;
    min-height: 136mm !important;
  }

  .pet-brochure-density-light .pet-brochure-visual,
  .pet-brochure-density-light .pet-brochure-visual img,
  .pet-brochure-density-light .pet-brochure-placeholder {
    min-height: 136mm !important;
    height: 136mm !important;
    max-height: 136mm !important;
  }

  .pet-brochure-density-light .pet-brochure-info {
    align-content: start !important;
    gap: 4mm !important;
  }

  .pet-brochure-density-light .pet-brochure-fact {
    padding: 4mm 4.4mm !important;
  }

  .pet-brochure-density-light .pet-brochure-fact small {
    font-size: 8pt !important;
  }

  .pet-brochure-density-light .pet-brochure-fact strong {
    font-size: 10.2pt !important;
  }

  .pet-brochure-density-light .pet-brochure-howto {
    padding: 5mm !important;
  }

  .pet-brochure-density-light .pet-brochure-howto h2 {
    font-size: 11pt !important;
  }

  .pet-brochure-density-light .pet-brochure-howto ol,
  .pet-brochure-density-light .pet-brochure-howto p {
    font-size: 8.6pt !important;
    line-height: 1.34 !important;
  }

  .pet-brochure-density-light .pet-brochure-detail-grid {
    margin-top: 0 !important;
    margin-bottom: 6mm !important;
  }

  .pet-brochure-density-light .pet-brochure-detail-card {
    padding: 5mm 5.5mm !important;
  }

  .pet-brochure-density-light .pet-brochure-detail-card h2 {
    font-size: 11pt !important;
  }

  .pet-brochure-density-light .pet-brochure-detail-card dt,
  .pet-brochure-density-light .pet-brochure-detail-card dd,
  .pet-brochure-density-light .pet-brochure-copy-item p {
    font-size: 8.7pt !important;
    line-height: 1.32 !important;
  }

  .pet-brochure-density-light .pet-brochure-footer {
    padding-top: 5mm !important;
    margin-top: auto !important;
  }

  /* Balanced: use more height than dense, but keep reserve for moderate text. */
  .pet-brochure-density-balanced {
    min-height: 273mm !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .pet-brochure-density-balanced .pet-brochure-head {
    margin-bottom: 4.5mm !important;
  }

  .pet-brochure-density-balanced .pet-brochure-head h1 {
    font-size: 19pt !important;
    line-height: 1.05 !important;
  }

  .pet-brochure-density-balanced .pet-brochure-code-card strong {
    font-size: 23pt !important;
  }

  .pet-brochure-density-balanced .pet-brochure-body {
    min-height: 108mm !important;
    margin-bottom: 4.5mm !important;
  }

  .pet-brochure-density-balanced .pet-brochure-visual,
  .pet-brochure-density-balanced .pet-brochure-visual img,
  .pet-brochure-density-balanced .pet-brochure-placeholder {
    min-height: 108mm !important;
    height: 108mm !important;
    max-height: 108mm !important;
  }

  .pet-brochure-density-balanced .pet-brochure-fact {
    padding: 2.8mm 3.2mm !important;
  }

  .pet-brochure-density-balanced .pet-brochure-detail-grid {
    margin-bottom: 4.5mm !important;
  }

  .pet-brochure-density-balanced .pet-brochure-detail-card {
    padding: 3.5mm 3.8mm !important;
  }

  .pet-brochure-density-balanced .pet-brochure-footer {
    margin-top: auto !important;
    padding-top: 3.5mm !important;
  }
}


/* ZooDomik v0.1.77.10 — full-page vertical rhythm for light/balanced A4 flyers */
@media print {
  .pet-brochure-density-light,
  .pet-brochure-density-balanced {
    min-height: 273mm !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }

  .pet-brochure-density-light .pet-brochure-head,
  .pet-brochure-density-light .pet-brochure-body,
  .pet-brochure-density-light .pet-brochure-gallery-wrap,
  .pet-brochure-density-light .pet-brochure-detail-grid,
  .pet-brochure-density-light .pet-brochure-footer,
  .pet-brochure-density-balanced .pet-brochure-head,
  .pet-brochure-density-balanced .pet-brochure-body,
  .pet-brochure-density-balanced .pet-brochure-gallery-wrap,
  .pet-brochure-density-balanced .pet-brochure-detail-grid,
  .pet-brochure-density-balanced .pet-brochure-footer {
    flex: 0 0 auto !important;
  }

  .pet-brochure-density-light .pet-brochure-footer,
  .pet-brochure-density-balanced .pet-brochure-footer {
    margin-top: 0 !important;
  }

  .pet-brochure-density-light .pet-brochure-body {
    min-height: 128mm !important;
    margin-bottom: 0 !important;
  }

  .pet-brochure-density-light .pet-brochure-visual,
  .pet-brochure-density-light .pet-brochure-visual img,
  .pet-brochure-density-light .pet-brochure-placeholder {
    min-height: 124mm !important;
    height: 124mm !important;
    max-height: 124mm !important;
  }

  .pet-brochure-density-light .pet-brochure-detail-grid {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .pet-brochure-density-light .pet-brochure-detail-card {
    min-height: 30mm !important;
  }

  .pet-brochure-density-balanced .pet-brochure-body {
    min-height: 114mm !important;
    margin-bottom: 0 !important;
  }

  .pet-brochure-density-balanced .pet-brochure-visual,
  .pet-brochure-density-balanced .pet-brochure-visual img,
  .pet-brochure-density-balanced .pet-brochure-placeholder {
    min-height: 114mm !important;
    height: 114mm !important;
    max-height: 114mm !important;
  }

  .pet-brochure-density-balanced .pet-brochure-detail-grid {
    margin-bottom: 0 !important;
  }

  .pet-brochure-density-light .pet-brochure-footer,
  .pet-brochure-density-balanced .pet-brochure-footer {
    padding-top: 4mm !important;
  }
}

/* ZooDomik v0.1.77.11 — true full-height A4 layout for light/balanced brochures */
@media print {
  /*
   * The printable A4 area with @page margin:6mm is 285mm high.
   * Use that height directly and let the hero/body absorb spare room instead
   * of leaving one large empty block above the footer.
   */
  .pet-brochure-density-light,
  .pet-brochure-density-balanced {
    height: 284mm !important;
    min-height: 284mm !important;
    max-height: 284mm !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
  }

  .pet-brochure-density-light .pet-brochure-head,
  .pet-brochure-density-balanced .pet-brochure-head {
    flex: 0 0 auto !important;
  }

  .pet-brochure-density-light .pet-brochure-body,
  .pet-brochure-density-balanced .pet-brochure-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin-bottom: 4mm !important;
    align-items: stretch !important;
  }

  .pet-brochure-density-light .pet-brochure-visual,
  .pet-brochure-density-light .pet-brochure-visual img,
  .pet-brochure-density-light .pet-brochure-placeholder,
  .pet-brochure-density-balanced .pet-brochure-visual,
  .pet-brochure-density-balanced .pet-brochure-visual img,
  .pet-brochure-density-balanced .pet-brochure-placeholder {
    min-height: 0 !important;
    height: 100% !important;
    max-height: none !important;
  }

  .pet-brochure-density-light .pet-brochure-info,
  .pet-brochure-density-balanced .pet-brochure-info {
    align-content: start !important;
    align-self: stretch !important;
  }

  .pet-brochure-density-light .pet-brochure-gallery-wrap,
  .pet-brochure-density-light .pet-brochure-detail-grid,
  .pet-brochure-density-balanced .pet-brochure-gallery-wrap,
  .pet-brochure-density-balanced .pet-brochure-detail-grid {
    flex: 0 0 auto !important;
  }

  .pet-brochure-density-light .pet-brochure-detail-grid,
  .pet-brochure-density-balanced .pet-brochure-detail-grid {
    margin-bottom: 4mm !important;
  }

  .pet-brochure-density-light .pet-brochure-footer,
  .pet-brochure-density-balanced .pet-brochure-footer {
    flex: 0 0 auto !important;
    margin-top: auto !important;
    padding-top: 3mm !important;
  }

  /* Short brochure: allow the main photo to become the visual anchor of the page. */
  .pet-brochure-density-light .pet-brochure-body {
    gap: 6mm !important;
  }

  .pet-brochure-density-light .pet-brochure-visual {
    min-height: 132mm !important;
  }

  /* Balanced brochure keeps a little more reserve for descriptive blocks. */
  .pet-brochure-density-balanced .pet-brochure-visual {
    min-height: 106mm !important;
  }

  /* Dense mode intentionally keeps the compact, already verified 1/1 layout. */
  .pet-brochure-density-dense {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
}

/* ZooDomik v0.1.77.12 — print media-frame polish for light/balanced brochures */
@media print {
  /*
   * v0.1.77.11 correctly distributes short brochures over the A4 height,
   * but allowing the main visual to absorb every spare millimetre makes
   * landscape photos look as if they have huge empty bands. Keep the photo
   * frame substantial, then let the remaining breathing room sit between
   * meaningful sections instead of inside the image frame.
   */
  .pet-brochure-density-light .pet-brochure-body,
  .pet-brochure-density-balanced .pet-brochure-body {
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .pet-brochure-density-light .pet-brochure-visual {
    height: 104mm !important;
    min-height: 104mm !important;
    max-height: 104mm !important;
  }

  .pet-brochure-density-balanced .pet-brochure-visual {
    height: 94mm !important;
    min-height: 94mm !important;
    max-height: 94mm !important;
  }

  .pet-brochure-density-light .pet-brochure-visual > img,
  .pet-brochure-density-balanced .pet-brochure-visual > img {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    object-fit: contain !important;
  }

  /* Never stretch the no-photo badge to the dimensions of the hero. */
  .pet-brochure-density-light .pet-brochure-placeholder img,
  .pet-brochure-density-balanced .pet-brochure-placeholder img,
  .pet-brochure-placeholder img {
    width: 38mm !important;
    height: 38mm !important;
    min-width: 38mm !important;
    min-height: 38mm !important;
    max-width: 38mm !important;
    max-height: 38mm !important;
    object-fit: contain !important;
  }

  .pet-brochure-density-light .pet-brochure-placeholder,
  .pet-brochure-density-balanced .pet-brochure-placeholder {
    align-content: center !important;
    justify-items: center !important;
    gap: 4mm !important;
  }

  .pet-brochure-density-light .pet-brochure-detail-grid {
    margin-top: 10mm !important;
  }

  .pet-brochure-density-balanced .pet-brochure-detail-grid {
    margin-top: 7mm !important;
  }

  .pet-brochure-density-light .pet-brochure-footer,
  .pet-brochure-density-balanced .pet-brochure-footer {
    margin-top: auto !important;
  }
}

/* ZooDomik v0.1.78.0 — QR + social share image tools */
.share-pet-tools {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.share-pet-tools[hidden] {
  display: none !important;
}

.share-qr-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(22, 76, 59, 0.12);
  border-radius: 1rem;
  background: #fff;
}

.share-qr-canvas {
  display: block;
  width: 116px;
  height: 116px;
  padding: 6px;
  border-radius: 0.85rem;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(22, 76, 59, 0.09);
}

.share-qr-card small {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--muted);
}

.share-qr-card strong {
  display: block;
  color: var(--green);
  font-size: 1rem;
}

.share-qr-card p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.share-social-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.share-social-tools .btn[hidden] {
  display: none !important;
}

.share-social-preview {
  display: block;
  width: min(100%, 430px);
  height: auto;
  aspect-ratio: 4 / 5;
  justify-self: center;
  border: 1px solid rgba(22, 76, 59, 0.12);
  border-radius: 1rem;
  background: #eef4f0;
  box-shadow: 0 14px 34px rgba(18, 61, 49, 0.12);
}

.share-social-preview[hidden] {
  display: none !important;
}

.pet-brochure-footer-has-qr {
  position: relative;
  padding-right: 92px;
}

.pet-brochure-footer-qr {
  position: absolute;
  top: 0.35rem;
  right: 0;
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  width: 78px;
}

.pet-brochure-footer-qr canvas {
  display: block;
  width: 72px;
  height: 72px;
  padding: 3px;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(22, 76, 59, 0.12);
}

.pet-brochure-footer-qr small {
  color: #52675f;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

@media (max-width: 620px) {
  .share-qr-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 0.8rem;
  }
  .share-qr-canvas {
    width: 92px;
    height: 92px;
  }
  .share-social-tools {
    grid-template-columns: 1fr;
  }
}

@media print {
  .pet-brochure-footer-has-qr {
    padding-right: 24mm !important;
  }

  .pet-brochure-footer-qr {
    top: 1mm !important;
    right: 0 !important;
    width: 20mm !important;
    gap: 0.6mm !important;
  }

  .pet-brochure-footer-qr canvas {
    width: 19mm !important;
    height: 19mm !important;
    padding: 0.7mm !important;
    border-radius: 1.5mm !important;
  }

  .pet-brochure-footer-qr small {
    font-size: 5.8pt !important;
  }
}


/* ZooDomik v0.1.78.1 — share flow polish */
.share-social-tools {
  align-items: stretch;
}

.share-social-tools .btn {
  min-height: 46px;
}

.share-social-preview-shell {
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  padding: 0.8rem;
  border: 1px solid rgba(22, 76, 59, 0.10);
  border-radius: 1.05rem;
  background: linear-gradient(180deg, rgba(237, 244, 240, 0.66), rgba(255, 253, 248, 0.92));
}

.share-social-preview-shell[hidden] {
  display: none !important;
}

.share-social-preview-head {
  width: min(100%, 430px);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.share-social-preview-head strong,
.share-social-preview-head small {
  display: block;
}

.share-social-preview-head strong {
  color: var(--green);
  font-size: 0.95rem;
}

.share-social-preview-head small {
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.share-social-preview {
  width: min(100%, 400px);
  box-shadow: 0 10px 26px rgba(18, 61, 49, 0.10);
}

.js-share-social-generate[aria-busy="true"] {
  cursor: progress;
  opacity: 0.72;
}

.js-share-social-download:not([hidden]) {
  box-shadow: 0 10px 22px rgba(22, 76, 59, 0.14);
}

.share-qr-card {
  min-height: 132px;
}

@media (max-width: 620px) {
  .share-social-preview-shell {
    padding: 0.65rem;
  }
  .share-social-preview-head {
    width: 100%;
  }
  .share-social-preview {
    width: min(100%, 360px);
  }
}

/* ZooDomik v0.1.79.0 — calmer auth typography and universal registration contact */
.account-auth-card .field > label {
  font-weight: 500;
}

.account-auth-card .btn,
.account-auth-card .password-toggle {
  font-weight: 500;
}

.account-auth-card .account-muted a,
.account-auth-card .checkbox-card a {
  font-weight: 400;
}

.account-auth-card .checkbox-card,
.account-auth-card .checkbox-card span {
  font-weight: 400;
}

.account-register-card .register-contact-field small {
  color: var(--muted);
  font-weight: 400;
  line-height: 1.45;
}

.account-register-card .register-terms-confirm {
  line-height: 1.5;
}

.account-register-card .register-terms-confirm a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

.account-register-card .register-terms-confirm a:hover,
.account-register-card .register-terms-confirm a:focus-visible {
  text-decoration-thickness: 2px;
}

@media (max-width: 640px) {
  .account-register-card .register-contact-field input {
    font-size: 16px;
  }
}

.account-auth-card .field > label.checkbox-card {
  font-weight: 400;
}


/* ZooDomik v0.1.79.1 — calmer service typography and content-aware catalog filters */
.account-login-card .field > label,
.account-password-forgot .field > label,
.support-design-v2 .field > label {
  font-weight: 400 !important;
}

.account-login-card .btn,
.account-password-forgot .btn,
.support-design-v2 .btn {
  font-weight: 500 !important;
}

.account-login-card .account-muted a,
.account-password-forgot .account-muted a,
.account-password-forgot .account-help-card a,
.support-design-v2 a {
  font-weight: 400 !important;
}

.account-password-forgot .recovery-contact-field small,
.support-design-v2 .field-help {
  display: block;
  margin-top: .38rem;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 400;
  line-height: 1.45;
}

.account-password-forgot .account-help-card strong {
  font-weight: 600;
}

.support-design-v2 .support-form {
  font-weight: 400;
}

.support-design-v2 .recaptcha-disclosure,
.support-design-v2 .recaptcha-disclosure a {
  font-weight: 400 !important;
}

/* Search filters are sized by realistic value length, not equal columns. */
@media (min-width: 921px) {
  body.zd-catalog-v2 .catalog-filter-form-desktop .catalog-filter-fields {
    display: flex !important;
    align-items: end !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
  }

  body.zd-catalog-v2 .catalog-filter-form-desktop .catalog-filter-field-reference {
    flex: 0 1 145px;
    min-width: 110px;
    max-width: 150px;
  }
  body.zd-catalog-v2 .catalog-filter-form-desktop .catalog-filter-field-settlement {
    flex: 2.15 1 320px;
    min-width: 210px;
  }
  body.zd-catalog-v2 .catalog-filter-form-desktop .catalog-filter-field-animal {
    flex: .82 1 155px;
    min-width: 120px;
  }
  body.zd-catalog-v2 .catalog-filter-form-desktop .catalog-filter-field-gender {
    flex: .76 1 145px;
    min-width: 115px;
  }
  body.zd-catalog-v2 .catalog-filter-form-desktop .catalog-filter-field-situation {
    flex: 1.25 1 220px;
    min-width: 170px;
  }

  body.zd-catalog-v2 .catalog-filter-field-reference input {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 150px !important;
  }
}

body.zd-catalog-v2 .catalog-filter-field label {
  font-weight: 500 !important;
}

body.zd-catalog-v2 .catalog-filter-actions .btn {
  font-weight: 500 !important;
}

body.zd-catalog-v2 .catalog-filter-field-reference input {
  min-height: 48px;
}

@media (max-width: 920px) {
  body.zd-catalog-v2 .catalog-filter-form-desktop .catalog-filter-fields {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 640px) {
  .account-login-card input,
  .account-password-forgot input,
  .support-design-v2 input,
  .support-design-v2 textarea,
  .support-design-v2 select {
    font-size: 16px;
  }
}

/* ZooDomik v0.1.79.4 — explicit confirmation before any paid password-reset SMS */
.account-password-forgot .password-sms-confirm {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--border, #d9e3de);
  border-radius: 18px;
  background: var(--surface-soft, #f6faf8);
}

.account-password-forgot .password-sms-confirm-copy h2 {
  margin: .2rem 0 .55rem;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.2;
}

.account-password-forgot .password-sms-confirm-copy p {
  margin: .4rem 0;
  font-weight: 400;
}

.account-password-forgot .password-sms-confirm-number {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin: .35rem 0;
  padding: .65rem .85rem;
  border: 1px solid var(--border-strong, #bdcec5);
  border-radius: 12px;
  background: #fff;
  color: var(--brand-deep, #123f31);
  font-size: clamp(1.15rem, 3vw, 1.4rem);
  font-weight: 650;
  letter-spacing: .02em;
}

.account-password-forgot .password-sms-confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
  margin-top: .9rem;
}

.account-password-forgot .password-sms-confirm-actions form,
.account-password-forgot .password-sms-confirm-actions .btn {
  width: 100%;
  margin: 0;
}

@media (max-width: 640px) {
  .account-password-forgot .password-sms-confirm {
    padding: .9rem;
    border-radius: 16px;
  }
  .account-password-forgot .password-sms-confirm-actions {
    grid-template-columns: 1fr;
  }
  .account-password-forgot .password-sms-confirm-number {
    display: flex;
    width: 100%;
    justify-content: center;
  }
}

/* ZooDomik v0.1.80.0 — calm, reading-first information pages */
.info-page-shell {
  background: #fff;
}

.info-page-reading {
  width: min(860px, calc(100% - 40px));
  margin-inline: auto;
}

.info-page-shell .info-breadcrumbs {
  padding-top: 1rem;
  padding-bottom: .25rem;
}

.info-page-header {
  padding: clamp(2.1rem, 5vw, 4.4rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  background: linear-gradient(180deg, #fbfdfb 0%, #fff 100%);
  border-bottom: 1px solid rgba(22, 76, 59, .08);
}

.info-page-eyebrow {
  margin-bottom: .72rem;
  color: var(--green);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.info-page-header h1 {
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4.3vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.info-page-lead {
  max-width: 760px;
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  font-weight: 400;
  line-height: 1.72;
}

.info-page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 400;
}

.info-page-content {
  padding-top: clamp(1.8rem, 4vw, 3rem);
  padding-bottom: clamp(3.2rem, 6vw, 5.5rem);
}

.info-page-intro {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.06rem, 1.65vw, 1.18rem);
  font-weight: 400;
  line-height: 1.78;
}

.info-page-comparison,
.info-point-list,
.info-donation,
.info-prose-flow,
.info-page-actions,
.info-related-simple {
  margin-top: clamp(2rem, 4.5vw, 3.4rem);
}

.info-compare-wrap {
  border-radius: 14px;
  box-shadow: none;
  border-color: rgba(22, 76, 59, .12);
}

.info-compare-table th {
  background: #f2f7f3;
  color: var(--ink);
  font-weight: 600;
}

.info-compare-table td {
  color: var(--muted);
  font-weight: 400;
  line-height: 1.6;
}

.info-compare-table td:last-child {
  color: var(--ink);
  font-weight: 400;
}

.info-point-list {
  display: grid;
  border-top: 1px solid rgba(22, 76, 59, .11);
}

.info-point {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: .9rem;
  align-items: start;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(22, 76, 59, .11);
  background: transparent;
  color: inherit;
  text-decoration: none;
}

.info-point--link {
  transition: background-color .16s ease, padding .16s ease;
}

.info-point--link:hover,
.info-point--link:focus-visible {
  padding-inline: .8rem;
  background: #f8fbf8;
  outline: none;
}

.info-point-icon,
.info-prose-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #eef6f0;
  color: var(--green);
}

.info-point-icon .ui-icon,
.info-prose-icon .ui-icon {
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: currentColor;
}

.info-point-copy {
  min-width: 0;
}

.info-point-title {
  display: block;
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.42;
}

.info-point-text {
  display: block;
  margin: .38rem 0 0;
  color: var(--muted);
  font-size: .98rem;
  font-weight: 400;
  line-height: 1.68;
}

.info-point-action {
  display: inline-block;
  margin-top: .55rem;
  color: var(--green);
  font-size: .9rem;
  font-weight: 400;
}

.info-donation {
  padding: clamp(1.25rem, 3vw, 1.7rem);
  border: 1px solid rgba(22, 76, 59, .13);
  border-radius: 16px;
  background: #fbfdfb;
}

.info-donation-heading {
  display: flex;
  gap: .9rem;
  align-items: center;
}

.info-donation-heading h2 {
  margin: .2rem 0 0;
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  line-height: 1.25;
}

.info-donation .donation-lead,
.info-donation .donation-note {
  color: var(--muted);
  font-weight: 400;
  line-height: 1.65;
}

.info-donation-copy {
  margin-top: 1rem;
  box-shadow: none;
}

.info-donation .donation-card-number {
  font-weight: 500;
}

.info-donation .donation-copy-button {
  font-weight: 400;
}

.info-prose-flow {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(22, 76, 59, .11);
}

.info-prose-section {
  padding: clamp(1.55rem, 3vw, 2rem) 0;
  border-bottom: 1px solid rgba(22, 76, 59, .11);
}

.info-prose-heading {
  display: flex;
  gap: .85rem;
  align-items: center;
}

.info-prose-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  font-weight: 600;
  line-height: 1.28;
}

.info-prose-section > p {
  margin: .8rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
}

.info-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  padding-top: .25rem;
}

.info-page-actions .btn {
  min-height: 44px;
  font-weight: 400;
}

.info-related-simple {
  padding-top: 1.55rem;
  border-top: 1px solid rgba(22, 76, 59, .12);
}

.info-related-simple h2 {
  margin: 0 0 .65rem;
  font-size: 1.12rem;
  font-weight: 600;
}

.info-related-simple ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-related-simple li + li {
  border-top: 1px solid rgba(22, 76, 59, .08);
}

.info-related-simple a {
  display: grid;
  gap: .2rem;
  padding: .85rem 0;
  color: inherit;
  text-decoration: none;
}

.info-related-simple a:hover .info-related-simple-title,
.info-related-simple a:focus-visible .info-related-simple-title {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: .18em;
}

.info-related-simple-title {
  color: var(--ink);
  font-size: .98rem;
  font-weight: 500;
}

.info-related-simple-desc {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 400;
  line-height: 1.55;
}

@media (max-width: 720px) {
  .info-page-reading {
    width: min(100% - 28px, 860px);
  }

  .info-page-shell .info-breadcrumbs {
    padding-top: .8rem;
  }

  .info-page-header {
    padding-top: 1.8rem;
    padding-bottom: 1.4rem;
  }

  .info-page-header h1 {
    font-size: clamp(1.85rem, 9vw, 2.55rem);
  }

  .info-page-content {
    padding-top: 1.45rem;
  }

  .info-point {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: .75rem;
    padding: 1.15rem 0;
  }

  .info-point-icon,
  .info-prose-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .info-point--link:hover,
  .info-point--link:focus-visible {
    padding-inline: .55rem;
  }

  .info-prose-heading {
    align-items: flex-start;
  }

  .info-page-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .info-page-actions .btn {
    width: 100%;
  }
}

/* ZooDomik v0.1.81.0 — Admin Workspace foundation */
.admin-body {
  margin: 0;
  background: #f7faf8;
  color: var(--ink);
}

.admin-app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid rgba(22, 76, 59, .1);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
}

.admin-topbar-inner {
  width: min(1480px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.admin-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  text-decoration: none;
  font-weight: 500;
}

.admin-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.admin-brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1.1;
}

.admin-brand-copy > span {
  font-size: 1rem;
  font-weight: 600;
}

.admin-brand-copy small {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 400;
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-topbar-actions form {
  margin: 0;
}

.admin-topbar-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(22, 76, 59, .14);
  border-radius: 12px;
  background: #fff;
  color: var(--green);
  padding: .5rem .78rem;
  font: inherit;
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.admin-logout {
  background: transparent;
}

.admin-app-main {
  flex: 1 0 auto;
}

.admin-workspace-shell {
  width: min(1480px, calc(100% - 32px));
  margin: 28px auto 44px;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.admin-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

.admin-nav-group {
  display: grid;
  gap: 5px;
}

.admin-nav-group-label {
  padding: 0 10px 5px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-nav-item {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: 12px;
  color: #284b40;
  padding: .58rem .72rem;
  font-size: .93rem;
  font-weight: 500;
  text-decoration: none;
}

.admin-nav-item:hover {
  background: rgba(22, 76, 59, .055);
}

.admin-nav-item.is-active {
  background: #eaf4ef;
  color: var(--green);
}

.admin-nav-count {
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(22, 76, 59, .08);
  padding: 0 7px;
  font-size: .78rem;
  font-weight: 500;
}

.admin-nav-item.is-active .admin-nav-count {
  background: #fff;
}

.admin-mobile-nav {
  display: none;
}

.admin-workspace-main {
  min-width: 0;
}

.admin-section-intro {
  margin: 0 0 22px;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(22, 76, 59, .1);
}

.admin-section-intro .kicker {
  margin-bottom: 8px;
}

.admin-section-intro h1 {
  margin: 0;
  color: var(--green);
  font-size: clamp(1.65rem, 2.8vw, 2.45rem);
  line-height: 1.08;
}

.admin-section-intro p {
  max-width: 760px;
  margin: .48rem 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 400;
}

.admin-dashboard-stats {
  margin-top: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-workspace-main .admin-stat {
  box-shadow: none;
  border-radius: 16px;
  padding: 16px 18px;
}

.admin-workspace-main .admin-stat span {
  color: var(--muted);
  font-size: .88rem;
  font-weight: 400;
}

.admin-workspace-main .admin-stat strong {
  margin-top: .35rem;
  color: var(--green);
  font-size: 1.75rem;
  font-weight: 650;
}

.admin-dashboard-guide {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(22, 76, 59, .1);
}

.admin-dashboard-guide h2 {
  margin: 0 0 .42rem;
  color: var(--green);
  font-size: 1.15rem;
}

.admin-dashboard-guide p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 400;
}

.admin-workspace-main .account-card,
.admin-workspace-main .admin-table-wrap {
  box-shadow: none;
}

.admin-workspace-main .admin-help-card {
  padding: 18px 20px;
}

.admin-workspace-main .admin-help-card h2,
.admin-workspace-main .analytics-section-card h2 {
  font-weight: 650;
}

.admin-workspace-main .btn,
.admin-workspace-main button,
.admin-workspace-main label,
.admin-workspace-main .form-field > span,
.admin-workspace-main .admin-tab,
.admin-workspace-main .tag {
  font-weight: 500;
}

.admin-workspace-main .admin-table th {
  font-weight: 550;
}

.admin-workspace-main .admin-table td,
.admin-workspace-main .admin-table td strong {
  font-weight: 400;
}

.admin-workspace-main .admin-table td strong {
  color: var(--green);
}

.admin-workspace-main .admin-confirm-input {
  font-weight: 500;
}

.admin-app-footer {
  width: min(1480px, calc(100% - 32px));
  margin: auto auto 0;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(22, 76, 59, .08);
  color: var(--muted);
  font-size: .82rem;
  font-weight: 400;
}

@media (max-width: 1050px) {
  .admin-workspace-shell {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 22px;
  }

  .admin-dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .admin-topbar-inner,
  .admin-workspace-shell,
  .admin-app-footer {
    width: min(100% - 24px, 1480px);
  }

  .admin-topbar-inner {
    min-height: 60px;
  }

  .admin-brand img {
    width: 34px;
    height: 34px;
  }

  .admin-workspace-shell {
    margin-top: 16px;
    display: block;
  }

  .admin-sidebar {
    display: none;
  }

  .admin-mobile-nav {
    display: block;
    margin-bottom: 18px;
    border: 1px solid rgba(22, 76, 59, .12);
    border-radius: 14px;
    background: #fff;
  }

  .admin-mobile-nav > summary {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 14px;
    color: var(--muted);
    cursor: pointer;
    list-style: none;
    font-size: .82rem;
    font-weight: 400;
  }

  .admin-mobile-nav > summary::-webkit-details-marker {
    display: none;
  }

  .admin-mobile-nav > summary strong {
    color: var(--green);
    font-size: .92rem;
    font-weight: 600;
  }

  .admin-mobile-nav[open] > summary {
    border-bottom: 1px solid rgba(22, 76, 59, .09);
  }

  .admin-mobile-nav-panel {
    display: grid;
    gap: 12px;
    padding: 12px;
  }

  .admin-mobile-nav-panel .admin-nav-group-label {
    padding-left: 4px;
  }

  .admin-section-intro {
    margin-bottom: 16px;
  }

  .admin-dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-table-wrap {
    max-width: calc(100vw - 24px);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  .admin-table {
    min-width: 720px;
  }
}

@media (max-width: 560px) {
  .admin-topbar-actions {
    gap: 5px;
  }

  .admin-topbar-link {
    min-height: 38px;
    padding: .44rem .62rem;
    font-size: .84rem;
  }

  .admin-brand-copy small {
    display: none;
  }

  .admin-dashboard-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .admin-workspace-main .admin-stat {
    padding: 13px 14px;
  }

  .admin-workspace-main .admin-stat strong {
    font-size: 1.45rem;
  }

  .admin-workspace-main .admin-stat span {
    font-size: .8rem;
  }

  .admin-section-intro h1 {
    font-size: 1.65rem;
  }

  .admin-section-intro p {
    font-size: .92rem;
  }
}

/* ZooDomik v0.1.81.1 — Admin role identity + mobile navigation affordance */
.admin-brand-copy {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.admin-brand-name {
  color: var(--green);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
}

.admin-role-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid rgba(22, 76, 59, .14);
  border-radius: 999px;
  background: #eef6f2;
  color: #31594d;
  padding: 3px 8px;
  font-size: .7rem;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.admin-role-badge--moderator {
  background: #f7f4eb;
  border-color: rgba(126, 99, 43, .18);
  color: #715a2d;
}

.admin-mobile-nav-current {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
}

.admin-mobile-nav-chevron {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transform-origin: center;
  transition: transform .22s ease;
}

.admin-mobile-nav[open] .admin-mobile-nav-chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}

.admin-mobile-nav[open] > summary {
  background: #f8fbf9;
}

/* The admin workspace intentionally has no public support shortcut.
   Only the scroll-to-top helper may be created on long admin pages. */
.admin-body .floating-actions .js-support-open {
  display: none !important;
}

/* Foundation for the next stage: compact in-row actions and expandable tools. */
.admin-row-actions {
  position: relative;
  display: inline-block;
}

.admin-row-actions > summary {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(22, 76, 59, .14);
  border-radius: 10px;
  background: #fff;
  color: var(--green);
  padding: 6px 10px;
  font-size: .84rem;
  font-weight: 400;
  cursor: pointer;
  list-style: none;
}

.admin-row-actions > summary::-webkit-details-marker {
  display: none;
}

.admin-row-actions > summary::after {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .18s ease;
}

.admin-row-actions[open] > summary::after {
  transform: rotate(225deg) translateY(-1px);
}

.admin-row-actions-panel {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid rgba(22, 76, 59, .12);
  border-radius: 12px;
  background: #fff;
}

@media (max-width: 820px) {
  .admin-mobile-nav > summary {
    transition: background .18s ease, border-color .18s ease;
  }

  .admin-mobile-nav-current strong {
    font-weight: 500;
  }
}

@media (max-width: 560px) {
  .admin-brand-copy small {
    display: inline-flex;
  }

  .admin-brand-copy {
    gap: 6px;
  }

  .admin-brand-name {
    font-size: .92rem;
  }

  .admin-role-badge {
    min-height: 22px;
    padding-inline: 7px;
    font-size: .64rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .admin-mobile-nav-chevron,
  .admin-row-actions > summary::after {
    transition: none;
  }
}

.admin-brand-copy > .admin-role-badge {
  font-size: .7rem;
  font-weight: 400;
}

@media (max-width: 560px) {
  .admin-brand-copy > .admin-role-badge {
    font-size: .64rem;
    font-weight: 400;
  }
}

/* ZooDomik v0.1.81.2 — compact Admin Pets workspace */
.admin-list-toolbar {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.admin-filter-form {
  display: grid;
  grid-template-columns: minmax(260px, 1.55fr) minmax(170px, .75fr) minmax(210px, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.admin-filter-form > label {
  min-width: 0;
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 400;
}

.admin-filter-form input,
.admin-filter-form select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(22, 76, 59, .14);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  padding: .58rem .72rem;
  font: inherit;
  font-weight: 400;
}

.admin-filter-form input:focus,
.admin-filter-form select:focus {
  outline: 2px solid rgba(22, 76, 59, .13);
  border-color: rgba(22, 76, 59, .32);
}

.admin-filter-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-bottom: 1px;
}

.admin-list-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 400;
}

.admin-pets-table {
  table-layout: fixed;
}

.admin-pets-table th:nth-child(1) { width: 38%; }
.admin-pets-table th:nth-child(2) { width: 23%; }
.admin-pets-table th:nth-child(3) { width: 15%; }
.admin-pets-table th:nth-child(4) { width: 13%; }
.admin-pets-table th:nth-child(5) { width: 11%; }

.admin-pets-table td {
  vertical-align: middle;
}

.admin-primary-cell,
.admin-pets-table td:nth-child(2) {
  min-width: 0;
}

.admin-record-title {
  display: block;
  overflow: hidden;
  color: var(--green);
  font-weight: 500;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-record-title:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.admin-pets-table small,
.admin-mobile-record small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 400;
  line-height: 1.35;
}

.admin-date-main {
  display: block;
  white-space: nowrap;
}

.admin-actions-cell {
  text-align: right;
  overflow: visible;
}

.admin-actions-cell .admin-row-actions {
  text-align: left;
}

.admin-pets-desktop .admin-row-actions-panel {
  position: absolute;
  right: 0;
  z-index: 35;
  min-width: 220px;
  box-shadow: 0 16px 34px rgba(22, 76, 59, .12);
}

.admin-row-actions-panel > a,
.admin-danger-disclosure > summary {
  min-height: 38px;
  display: flex;
  align-items: center;
  border-radius: 9px;
  color: var(--green);
  padding: .5rem .62rem;
  font-size: .84rem;
  font-weight: 400;
  text-decoration: none;
}

.admin-row-actions-panel > a:hover,
.admin-danger-disclosure > summary:hover {
  background: #f2f7f4;
}

.admin-danger-disclosure {
  border-top: 1px solid rgba(22, 76, 59, .08);
  padding-top: 4px;
}

.admin-danger-disclosure > summary {
  color: #a13e35;
  cursor: pointer;
  list-style: none;
}

.admin-danger-disclosure > summary::-webkit-details-marker {
  display: none;
}

.admin-danger-compact-form {
  display: grid;
  gap: 8px;
  margin-top: 6px;
  padding: 10px;
  border-radius: 10px;
  background: #fff7f5;
}

.admin-danger-compact-form label {
  display: grid;
  gap: 5px;
  color: #7c4a45;
  font-size: .74rem;
  font-weight: 400;
}

.admin-danger-compact-form input {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(161, 62, 53, .22);
  border-radius: 9px;
  background: #fff;
  padding: .48rem .58rem;
  font: inherit;
  font-size: .82rem;
  font-weight: 400;
}

.admin-workspace-main .btn-danger {
  border-color: #a9473d;
  background: #a9473d;
  color: #fff;
  font-weight: 500;
}

.admin-mobile-records {
  display: none;
}

.admin-empty-state {
  padding: 28px 0;
  border-top: 1px solid rgba(22, 76, 59, .08);
  border-bottom: 1px solid rgba(22, 76, 59, .08);
}

.admin-empty-state h2 {
  margin: 0 0 6px;
  color: var(--green);
  font-size: 1.05rem;
  font-weight: 600;
}

.admin-empty-state p {
  margin: 0;
  color: var(--muted);
  font-weight: 400;
}

.admin-pagination {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.admin-pagination a,
.admin-pagination span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(22, 76, 59, .13);
  border-radius: 10px;
  background: #fff;
  color: var(--green);
  padding: .45rem .72rem;
  font-size: .82rem;
  font-weight: 400;
  text-decoration: none;
}

.admin-pagination span {
  background: #f4f8f6;
  color: var(--muted);
}

@media (max-width: 1120px) {
  .admin-filter-form {
    grid-template-columns: minmax(220px, 1.4fr) minmax(150px, .8fr) minmax(180px, 1fr);
  }

  .admin-filter-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .admin-filter-form {
    grid-template-columns: 1fr 1fr;
  }

  .admin-filter-search {
    grid-column: 1 / -1;
  }

  .admin-filter-actions {
    grid-column: 1 / -1;
  }

  .admin-pets-desktop {
    display: none;
  }

  .admin-mobile-records {
    display: grid;
    gap: 10px;
  }

  .admin-mobile-record {
    display: grid;
    gap: 12px;
    border: 1px solid rgba(22, 76, 59, .12);
    border-radius: 15px;
    background: #fff;
    padding: 14px;
  }

  .admin-mobile-record-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
  }

  .admin-record-eyebrow {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 400;
  }

  .admin-mobile-record h2 {
    margin: 0;
    color: var(--green);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
  }

  .admin-mobile-record-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 14px;
    margin: 0;
  }

  .admin-mobile-record-meta > div {
    min-width: 0;
  }

  .admin-mobile-record-meta dt,
  .admin-mobile-record-owner > span {
    margin-bottom: 2px;
    color: var(--muted);
    font-size: .7rem;
    font-weight: 400;
  }

  .admin-mobile-record-meta dd {
    margin: 0;
    color: var(--ink);
    font-size: .86rem;
    font-weight: 400;
    overflow-wrap: anywhere;
  }

  .admin-mobile-record-owner {
    padding-top: 10px;
    border-top: 1px solid rgba(22, 76, 59, .08);
  }

  .admin-mobile-record-owner strong {
    display: block;
    color: var(--ink);
    font-size: .88rem;
    font-weight: 500;
  }

  .admin-mobile-actions {
    display: block;
  }

  .admin-mobile-actions > summary {
    width: 100%;
    justify-content: space-between;
  }

  .admin-mobile-actions .admin-row-actions-panel {
    position: static;
    min-width: 0;
    box-shadow: none;
  }
}

@media (max-width: 520px) {
  .admin-filter-form {
    grid-template-columns: 1fr;
  }

  .admin-filter-search,
  .admin-filter-actions {
    grid-column: 1;
  }

  .admin-filter-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .admin-filter-actions .btn {
    width: 100%;
  }

  .admin-mobile-record-meta {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 821px) {
  .admin-pets-desktop.admin-table-wrap {
    overflow: visible;
  }
}


/* ZooDomik v0.1.81.3 — real pet visibility state in admin + historical public pages */
.admin-pet-state-cell {
  min-width: 168px;
}

.admin-pet-state-cell small {
  display: block;
  max-width: 220px;
  margin-top: .35rem;
  line-height: 1.35;
  font-weight: 400;
}

.admin-visibility-tag.is-renewal_required,
.admin-visibility-tag.is-renewal-required {
  background: #fff4dc;
  color: #7b5618;
  border-color: #ead5a7;
}

.admin-visibility-tag.is-archived_unconfirmed,
.admin-visibility-tag.is-archived-unconfirmed,
.admin-visibility-tag.is-archived {
  background: #f2f4f3;
  color: #55635e;
  border-color: #dbe2df;
}

.admin-mobile-meta-wide {
  grid-column: 1 / -1;
}

.archived-only-notice.is-awaiting-confirmation {
  border-color: #e5d5b5;
  background: #fffdf8;
}

.archive-history-note {
  margin-top: .8rem;
  color: var(--muted);
  font-weight: 400;
}

/* ZooDomik v0.1.81.4 — operational pet list: newest first, compact facts, owner details and admin renewal */
.admin-pets-ops-table {
  font-size: .84rem;
}

.admin-pets-ops-table th:nth-child(1) { width: 16%; }
.admin-pets-ops-table th:nth-child(2) { width: 25%; }
.admin-pets-ops-table th:nth-child(3) { width: 13%; }
.admin-pets-ops-table th:nth-child(4) { width: 10%; }
.admin-pets-ops-table th:nth-child(5) { width: 10%; }
.admin-pets-ops-table th:nth-child(6) { width: 17%; }
.admin-pets-ops-table th:nth-child(7) { width: 9%; }

.admin-pets-ops-table th,
.admin-pets-ops-table td {
  padding-top: .62rem;
  padding-bottom: .62rem;
}

.admin-pet-code {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 400;
}

.admin-pet-core,
.admin-pet-mobile-core {
  display: block;
  color: var(--green);
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.3;
}

.admin-pet-location-cell {
  overflow: hidden;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-date-cell {
  white-space: nowrap;
}

.admin-pet-actions-panel {
  min-width: 270px;
}

.admin-inline-disclosure {
  border-top: 1px solid rgba(22, 76, 59, .08);
  padding-top: 4px;
}

.admin-inline-disclosure > summary {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: 9px;
  color: var(--green);
  padding: .5rem .62rem;
  cursor: pointer;
  font-size: .84rem;
  font-weight: 400;
  list-style: none;
}

.admin-inline-disclosure > summary::-webkit-details-marker {
  display: none;
}

.admin-inline-disclosure > summary::after {
  content: '';
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform .18s ease;
}

.admin-inline-disclosure[open] > summary::after {
  transform: rotate(225deg) translateY(-1px);
}

.admin-inline-disclosure > summary:hover {
  background: #f2f7f4;
}

.admin-owner-card {
  display: grid;
  gap: 7px;
  margin: 4px 0 6px;
  padding: 10px;
  border-radius: 10px;
  background: #f7faf8;
}

.admin-owner-card > div {
  min-width: 0;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
}

.admin-owner-card span,
.admin-owner-card strong {
  min-width: 0;
  font-size: .76rem;
  line-height: 1.35;
}

.admin-owner-card span {
  color: var(--muted);
  font-weight: 400;
}

.admin-owner-card strong {
  color: var(--ink);
  font-weight: 400;
  overflow-wrap: anywhere;
}

.admin-confirm-compact-form {
  display: grid;
  gap: 8px;
  margin-top: 6px;
  padding: 10px;
  border-radius: 10px;
  background: #f3f8f5;
}

.admin-confirm-compact-form p {
  margin: 0;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 400;
  line-height: 1.4;
}

.admin-confirm-compact-form label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 400;
}

.admin-confirm-compact-form input {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(22, 76, 59, .18);
  border-radius: 9px;
  background: #fff;
  padding: .48rem .58rem;
  font: inherit;
  font-size: .82rem;
  font-weight: 400;
}

.admin-pet-mobile-record {
  gap: 10px;
}

.admin-pet-mobile-meta .admin-mobile-meta-wide {
  grid-column: 1 / -1;
}

@media (max-width: 1120px) and (min-width: 821px) {
  .admin-pets-ops-table th:nth-child(2) { width: 22%; }
  .admin-pets-ops-table th:nth-child(3) { width: 14%; }
  .admin-pets-ops-table th:nth-child(6) { width: 19%; }
  .admin-pets-ops-table {
    font-size: .8rem;
  }
}

@media (max-width: 820px) {
  .admin-pet-mobile-core {
    font-size: .94rem;
  }

  .admin-pet-actions-panel {
    min-width: 0;
  }

  .admin-owner-card > div {
    grid-template-columns: 82px minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .admin-pet-mobile-meta {
    grid-template-columns: 1fr 1fr;
  }

  .admin-owner-card > div {
    grid-template-columns: 70px minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .admin-inline-disclosure > summary::after {
    transition: none;
  }
}

/* ZooDomik v0.1.81.5 — priority-first admin pet list + compact operation modals */
.admin-pets-priority-table {
  table-layout: fixed;
  font-size: .84rem;
}

.admin-pets-priority-table th:nth-child(1) { width: 13%; }
.admin-pets-priority-table th:nth-child(2) { width: 27%; }
.admin-pets-priority-table th:nth-child(3) { width: 31%; }
.admin-pets-priority-table th:nth-child(4) { width: 18%; }
.admin-pets-priority-table th:nth-child(5) { width: 11%; }

.admin-pets-priority-table th,
.admin-pets-priority-table td {
  padding-top: .52rem;
  padding-bottom: .52rem;
  vertical-align: middle;
}

.admin-pet-code-cell,
.admin-pet-until-cell {
  white-space: nowrap;
}

.admin-pet-code-primary,
.admin-pet-code-mobile {
  color: var(--green);
  font-weight: 500;
  letter-spacing: .03em;
}

.admin-pet-code-primary {
  font-size: .9rem;
}

.admin-pet-code-mobile {
  font-size: 1rem;
}

.admin-pet-state-priority-cell .tag {
  max-width: 100%;
  white-space: nowrap;
}

.admin-pet-situation-cell {
  overflow: hidden;
  color: var(--ink);
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-pet-until-cell {
  color: var(--ink);
  font-weight: 400;
}

.admin-pet-until-cell.is-past,
.admin-pet-priority-meta dd.is-past {
  color: #93623c;
}

.admin-pet-actions-simple {
  min-width: 222px;
}

.admin-row-action-button {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--green);
  padding: .5rem .62rem;
  font: inherit;
  font-size: .84rem;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
}

.admin-row-action-button:hover,
.admin-row-action-button:focus-visible {
  background: #f2f7f4;
  outline: none;
}

.admin-row-action-button.is-danger {
  border-top: 1px solid rgba(22, 76, 59, .08);
  border-radius: 0 0 9px 9px;
  color: #a13e35;
}

.admin-pet-mobile-priority {
  gap: 10px;
  padding: 12px 13px;
}

.admin-pet-priority-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(112px, .62fr);
  gap: 8px 14px;
  margin: 0;
}

.admin-pet-priority-meta > div {
  min-width: 0;
}

.admin-pet-priority-meta dt {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: .69rem;
  font-weight: 400;
}

.admin-pet-priority-meta dd {
  margin: 0;
  color: var(--ink);
  font-size: .86rem;
  font-weight: 400;
  line-height: 1.35;
}

.admin-operation-modal[hidden] {
  display: none !important;
}

.admin-operation-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  overflow: auto;
  background: rgba(24, 41, 34, .38);
  padding: 22px;
}

.admin-operation-modal-card {
  position: relative;
  width: min(620px, 100%);
  max-height: calc(100vh - 44px);
  overflow: auto;
  border: 1px solid rgba(22, 76, 59, .14);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(22, 76, 59, .18);
  padding: 22px;
}

.admin-operation-modal-card-small {
  width: min(470px, 100%);
}

.admin-operation-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(22, 76, 59, .12);
  border-radius: 50%;
  background: #f7faf8;
  color: var(--green);
  font: inherit;
  font-size: 1.2rem;
  font-weight: 400;
  cursor: pointer;
}

.admin-operation-modal-kicker {
  margin: 0 44px 5px 0;
  color: var(--coral);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.admin-operation-modal-card h2 {
  margin: 0 44px 14px 0;
  color: var(--green);
  font-size: 1.35rem;
  line-height: 1.2;
}

.admin-operation-copy,
.admin-pet-detail-note {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 400;
  line-height: 1.5;
}

.admin-pet-detail-note {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff8ec;
  color: #7f633e;
}

.admin-pet-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
}

.admin-pet-detail-grid > div {
  min-width: 0;
  display: grid;
  gap: 2px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(22, 76, 59, .08);
}

.admin-pet-detail-grid > div.is-wide {
  grid-column: 1 / -1;
}

.admin-pet-detail-grid span {
  color: var(--muted);
  font-size: .7rem;
  font-weight: 400;
}

.admin-pet-detail-grid strong {
  min-width: 0;
  color: var(--ink);
  font-size: .86rem;
  font-weight: 400;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.admin-operation-section {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(22, 76, 59, .1);
}

.admin-operation-section h3 {
  margin: 0 0 5px;
  color: var(--green);
  font-size: 1rem;
  font-weight: 600;
}

.admin-operation-confirm-form {
  display: grid;
  gap: 12px;
}

.admin-operation-confirm-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 400;
}

.admin-operation-confirm-form input[type="text"] {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(22, 76, 59, .18);
  border-radius: 10px;
  background: #fff;
  padding: .55rem .68rem;
  font: inherit;
  font-size: .88rem;
  font-weight: 400;
}

.admin-operation-confirm-form.is-danger input[type="text"] {
  border-color: rgba(161, 62, 53, .22);
}

.admin-operation-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}

html.admin-operation-open,
body.admin-operation-open {
  overflow: hidden;
}

@media (max-width: 1120px) and (min-width: 821px) {
  .admin-pets-priority-table th:nth-child(1) { width: 13%; }
  .admin-pets-priority-table th:nth-child(2) { width: 30%; }
  .admin-pets-priority-table th:nth-child(3) { width: 27%; }
  .admin-pets-priority-table th:nth-child(4) { width: 19%; }
  .admin-pets-priority-table th:nth-child(5) { width: 11%; }
}

@media (max-width: 820px) {
  .admin-pet-mobile-priority .admin-mobile-record-head {
    align-items: center;
  }

  .admin-pet-mobile-priority .admin-row-actions > summary {
    min-height: 40px;
  }

  .admin-pet-actions-simple {
    min-width: 0;
  }

  .admin-operation-modal {
    align-items: end;
    padding: 12px;
  }

  .admin-operation-modal-card,
  .admin-operation-modal-card-small {
    width: 100%;
    max-height: calc(100vh - 24px);
    border-radius: 17px;
    padding: 18px;
  }
}

@media (max-width: 520px) {
  .admin-pet-priority-meta {
    grid-template-columns: 1fr 112px;
  }

  .admin-pet-detail-grid {
    grid-template-columns: 1fr;
  }

  .admin-pet-detail-grid > div.is-wide {
    grid-column: 1;
  }

  .admin-operation-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .admin-operation-modal-actions .btn {
    width: 100%;
  }
}

/* ZooDomik v0.1.81.6 — admin pet inspector drawer and clearer mobile workflow */
.admin-pets-priority-table th:nth-child(1) { width: 13%; }
.admin-pets-priority-table th:nth-child(2) { width: 26%; }
.admin-pets-priority-table th:nth-child(3) { width: 30%; }
.admin-pets-priority-table th:nth-child(4) { width: 18%; }
.admin-pets-priority-table th:nth-child(5) { width: 13%; }

.admin-pets-priority-table tbody tr {
  transition: background .16s ease;
}

.admin-pets-priority-table tbody tr:hover {
  background: #fbfdfc;
}

.admin-pet-open-button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(22, 76, 59, .14);
  border-radius: 10px;
  background: #fff;
  color: var(--green);
  padding: .42rem .62rem;
  font: inherit;
  font-size: .8rem;
  font-weight: 400;
  white-space: nowrap;
  cursor: pointer;
}

.admin-pet-open-button:hover,
.admin-pet-open-button:focus-visible {
  border-color: rgba(22, 76, 59, .28);
  background: #f4f8f6;
  outline: none;
}

.admin-pet-open-chevron,
.admin-inspector-section-chevron {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
}

.admin-pet-open-chevron {
  transform: rotate(-45deg);
}

.admin-pet-open-button-mobile {
  width: 100%;
  justify-content: space-between;
  min-height: 42px;
  padding-inline: .75rem;
}

.admin-pet-inspector-modal {
  place-items: stretch end;
  overflow: hidden;
  background: rgba(24, 41, 34, .26);
  padding: 0;
}

.admin-pet-inspector-card {
  width: min(470px, 100%);
  height: 100dvh;
  max-height: none;
  overflow: auto;
  border-width: 0 0 0 1px;
  border-radius: 18px 0 0 18px;
  box-shadow: -18px 0 46px rgba(22, 76, 59, .14);
  padding: 26px 24px;
  animation: adminInspectorIn .18s ease-out both;
}

@keyframes adminInspectorIn {
  from { transform: translateX(18px); opacity: .82; }
  to { transform: translateX(0); opacity: 1; }
}

.admin-pet-inspector-head {
  padding: 2px 44px 18px 0;
  border-bottom: 1px solid rgba(22, 76, 59, .1);
}

.admin-pet-inspector-head .admin-operation-modal-kicker {
  margin-right: 0;
}

.admin-pet-inspector-head h2 {
  margin: 0 0 12px;
  font-size: 1.75rem;
  letter-spacing: .035em;
}

.admin-pet-inspector-state-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  color: var(--ink);
  font-size: .88rem;
  font-weight: 400;
  line-height: 1.4;
}

.admin-pet-inspector-until {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 400;
}

.admin-pet-inspector-until strong {
  color: var(--ink);
  font-size: .95rem;
  font-weight: 500;
  white-space: nowrap;
}

.admin-pet-inspector-card .admin-pet-detail-note {
  margin: 14px 0 0;
}

.admin-pet-inspector-sections {
  margin-top: 14px;
  border-top: 1px solid rgba(22, 76, 59, .08);
}

.admin-inspector-section {
  border-bottom: 1px solid rgba(22, 76, 59, .09);
}

.admin-inspector-section > summary {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--green);
  font-size: .9rem;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}

.admin-inspector-section > summary::-webkit-details-marker {
  display: none;
}

.admin-inspector-section-chevron {
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform .18s ease;
}

.admin-inspector-section[open] .admin-inspector-section-chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}

.admin-inspector-section-body {
  padding: 0 0 14px;
}

.admin-pet-inspector-card .admin-pet-detail-grid {
  gap: 4px 16px;
}

.admin-pet-inspector-card .admin-pet-detail-grid > div {
  padding: 7px 0;
}

.admin-pet-inspector-actions {
  display: grid;
  gap: 8px;
}

.admin-pet-inspector-actions .btn {
  width: 100%;
  min-height: 42px;
  justify-content: center;
  font-weight: 400;
}

.admin-pet-inspector-actions .admin-inspector-danger {
  border-color: rgba(161, 62, 53, .22);
  color: #9a4037;
}

.admin-pet-inspector-actions .admin-inspector-danger:hover,
.admin-pet-inspector-actions .admin-inspector-danger:focus-visible {
  background: #fff7f5;
}

@media (max-width: 820px) {
  .admin-pet-inspector-card {
    width: min(430px, 100%);
    border-radius: 0;
    padding: 20px 18px;
  }

  .admin-pet-mobile-priority {
    gap: 9px;
  }

  .admin-pet-open-button-mobile {
    margin-top: 1px;
  }
}

@media (max-width: 520px) {
  .admin-filter-form {
    grid-template-columns: 1fr 1fr;
  }

  .admin-filter-search,
  .admin-filter-actions {
    grid-column: 1 / -1;
  }

  .admin-filter-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .admin-filter-actions .btn:only-child {
    grid-column: 1 / -1;
  }

  .admin-pet-inspector-card {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    padding: 18px 16px;
  }

  .admin-pet-inspector-head {
    padding-right: 42px;
  }

  .admin-pet-inspector-head h2 {
    font-size: 1.55rem;
  }

  .admin-pet-inspector-state-line {
    align-items: flex-start;
  }

  .admin-pet-inspector-until {
    align-items: flex-start;
  }

  .admin-pet-inspector-card .admin-pet-detail-grid {
    grid-template-columns: 1fr;
  }

  .admin-pet-inspector-card .admin-pet-detail-grid > div.is-wide {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .admin-pet-inspector-card {
    animation: none;
  }

  .admin-inspector-section-chevron,
  .admin-pets-priority-table tbody tr {
    transition: none;
  }
}

/* ZooDomik v0.1.81.7 — Support workspace: priority list + inspector */
.admin-support-filter-form {
  grid-template-columns: minmax(260px, 1.45fr) minmax(170px, .72fr) minmax(230px, 1fr) auto;
}

.admin-support-table {
  table-layout: fixed;
}

.admin-support-table th:nth-child(1) { width: 10%; }
.admin-support-table th:nth-child(2) { width: 17%; }
.admin-support-table th:nth-child(3) { width: 42%; }
.admin-support-table th:nth-child(4) { width: 19%; }
.admin-support-table th:nth-child(5) { width: 12%; }

.admin-support-id {
  color: var(--green);
  font-weight: 500;
  white-space: nowrap;
}

.admin-support-state {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid rgba(22, 76, 59, .1);
  border-radius: 999px;
  background: #f3f6f4;
  color: #4d5f59;
  padding: 4px 9px;
  font-size: .75rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.admin-support-state.is-new {
  border-color: #ead5a7;
  background: #fff4dc;
  color: #7b5618;
}

.admin-support-state.is-in-progress {
  border-color: #b9d7ca;
  background: #edf7f2;
  color: #1e654f;
}

.admin-support-state.is-answered {
  border-color: #bdd4e8;
  background: #f0f6fb;
  color: #355f7c;
}

.admin-support-state.is-closed {
  background: #f2f4f3;
  color: #596660;
}

.admin-support-state.is-spam {
  border-color: #ead0cd;
  background: #fff4f2;
  color: #94483f;
}

.admin-support-inspector-card {
  width: min(560px, calc(100vw - 32px));
}

.admin-support-created {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 400;
}

.admin-support-created strong {
  color: var(--ink);
  font-weight: 500;
}

.admin-support-message {
  margin-top: 18px;
  border: 1px solid rgba(22, 76, 59, .1);
  border-radius: 14px;
  background: #f8fbf9;
  padding: 14px 16px;
}

.admin-support-message-label {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.admin-support-message p {
  margin: 0;
  color: var(--ink);
  font-size: .94rem;
  font-weight: 400;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.admin-support-user-agent {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.admin-support-inspector-form {
  display: grid;
  gap: 12px;
}

.admin-support-inspector-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 400;
}

.admin-support-inspector-form select,
.admin-support-inspector-form textarea {
  width: 100%;
  border: 1px solid rgba(22, 76, 59, .14);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  padding: .6rem .7rem;
  font: inherit;
  font-weight: 400;
}

.admin-support-inspector-form textarea {
  min-height: 104px;
  resize: vertical;
}

.admin-support-inspector-form .btn {
  justify-self: start;
}

@media (max-width: 1120px) {
  .admin-support-filter-form {
    grid-template-columns: minmax(220px, 1.3fr) minmax(160px, .7fr) minmax(190px, 1fr);
  }
}

@media (max-width: 820px) {
  .admin-support-desktop {
    display: none;
  }

  .admin-support-mobile-record .admin-mobile-record-meta {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  }

  .admin-support-inspector-card {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .admin-support-filter-form {
    grid-template-columns: 1fr 1fr;
  }

  .admin-support-filter-form .admin-filter-search,
  .admin-support-filter-form .admin-filter-actions {
    grid-column: 1 / -1;
  }

  .admin-support-message {
    margin-top: 14px;
    padding: 12px 13px;
  }

  .admin-support-inspector-form .btn {
    width: 100%;
  }
}

/* ZooDomik v0.1.81.8 — support email replies */
.support-profile-email-note {
  padding: .78rem .9rem;
  border: 1px solid rgba(22, 76, 59, .12);
  border-radius: 12px;
  background: rgba(22, 76, 59, .045);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.45;
}

.support-profile-email-note span {
  color: var(--green);
  overflow-wrap: anywhere;
}

.admin-support-reply-form {
  display: grid;
  gap: 12px;
}

.admin-support-reply-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 400;
}

.admin-support-reply-form input,
.admin-support-reply-form textarea {
  width: 100%;
  border: 1px solid rgba(22, 76, 59, .14);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  padding: .65rem .72rem;
  font: inherit;
  font-weight: 400;
}

.admin-support-reply-form textarea {
  min-height: 132px;
  resize: vertical;
}

.admin-support-reply-to {
  display: grid;
  gap: 4px;
  padding: .7rem .8rem;
  border-radius: 10px;
  background: rgba(22, 76, 59, .045);
}

.admin-support-reply-to span,
.admin-support-reply-hint {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 400;
}

.admin-support-reply-to strong {
  font-weight: 400;
  overflow-wrap: anywhere;
}

.admin-support-reply-hint {
  margin: 0;
  line-height: 1.45;
}

.admin-support-reply-unavailable {
  padding: .8rem .9rem;
  border-radius: 10px;
  background: rgba(176, 76, 58, .06);
  color: var(--muted);
  font-weight: 400;
  line-height: 1.45;
}

@media (max-width: 520px) {
  .admin-support-reply-form .btn {
    width: 100%;
  }
}

/* ZooDomik v0.1.82.0 — Users workspace: priority list + inspector */
.admin-user-filter {
  margin-bottom: 12px;
}

.admin-users-priority-table {
  table-layout: fixed;
}

.admin-users-priority-table th:nth-child(1) { width: 9%; }
.admin-users-priority-table th:nth-child(2) { width: 29%; }
.admin-users-priority-table th:nth-child(3) { width: 17%; }
.admin-users-priority-table th:nth-child(4) { width: 12%; }
.admin-users-priority-table th:nth-child(5) { width: 20%; }
.admin-users-priority-table th:nth-child(6) { width: 13%; }

.admin-users-priority-table td {
  vertical-align: middle;
}

.admin-user-id-cell {
  color: var(--green);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.admin-user-name-cell {
  min-width: 0;
}

.admin-user-name {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-user-name-cell small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 400;
}

.admin-user-state.is-active {
  border-color: rgba(22, 76, 59, .12);
  background: #eaf4ef;
  color: var(--green);
}

.admin-user-state.is-blocked {
  border-color: rgba(161, 62, 53, .16);
  background: #fff1ee;
  color: #9a433b;
}

.admin-table-action-cell {
  text-align: right;
}

.admin-user-mobile-record {
  gap: 10px;
}

.admin-mobile-record-label {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: .69rem;
  font-weight: 400;
}

.admin-user-mobile-record .admin-mobile-record-head strong {
  display: block;
  color: var(--green);
  font-size: .98rem;
  font-weight: 500;
  line-height: 1.3;
}

.admin-user-mobile-meta {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 8px 16px;
  margin: 0;
}

.admin-user-mobile-meta > div {
  min-width: 0;
}

.admin-user-mobile-meta dt {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 400;
}

.admin-user-mobile-meta dd {
  margin: 0;
  color: var(--ink);
  font-size: .84rem;
  font-weight: 400;
}

.admin-user-inspector-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 400;
}

.admin-user-inspector-primary {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px 18px;
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(22, 76, 59, .09);
}

.admin-user-inspector-primary dt {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: .69rem;
  font-weight: 400;
}

.admin-user-inspector-primary dd {
  margin: 0;
  color: var(--ink);
  font-size: .88rem;
  font-weight: 400;
}

.admin-user-pet-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.admin-user-pet-stats > div {
  display: grid;
  gap: 3px;
  border: 1px solid rgba(22, 76, 59, .09);
  border-radius: 11px;
  background: #f8fbf9;
  padding: 10px;
}

.admin-user-pet-stats span {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 400;
}

.admin-user-pet-stats strong {
  color: var(--green);
  font-size: 1.02rem;
  font-weight: 600;
}

.admin-user-inspector-card .admin-inspector-section-body > .btn {
  width: 100%;
  margin-top: 2px;
}

.admin-user-inspector-card .admin-inspector-danger {
  border-color: rgba(161, 62, 53, .18);
  color: #9a433b;
}

.admin-user-inspector-card .admin-inspector-danger:hover,
.admin-user-inspector-card .admin-inspector-danger:focus-visible {
  border-color: rgba(161, 62, 53, .28);
  background: #fff5f2;
}

@media (max-width: 1120px) and (min-width: 821px) {
  .admin-users-priority-table th:nth-child(1) { width: 9%; }
  .admin-users-priority-table th:nth-child(2) { width: 27%; }
  .admin-users-priority-table th:nth-child(3) { width: 18%; }
  .admin-users-priority-table th:nth-child(4) { width: 12%; }
  .admin-users-priority-table th:nth-child(5) { width: 21%; }
  .admin-users-priority-table th:nth-child(6) { width: 13%; }
}

@media (max-width: 820px) {
  .admin-users-desktop {
    display: none;
  }

  .admin-users-mobile {
    display: grid;
  }

  .admin-user-inspector-card {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .admin-user-inspector-primary {
    grid-template-columns: 90px 1fr;
  }

  .admin-user-pet-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.admin-user-filter > .btn {
  min-height: 42px;
  align-self: end;
}

@media (max-width: 820px) {
  .admin-user-filter > .btn {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* ZooDomik v0.1.82.1 — SEO workspace: compact list + inspector */
.admin-seo-summary-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 400;
}

.admin-seo-summary-line span {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.admin-seo-summary-line strong {
  color: var(--green);
  font-size: .95rem;
  font-weight: 600;
}

.admin-seo-filter-form {
  grid-template-columns: minmax(280px, 1.7fr) minmax(190px, .8fr) auto;
  margin-bottom: 10px;
}

.admin-seo-list-meta {
  align-items: center;
}

.admin-quiet-action {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--green);
  padding: 0;
  font: inherit;
  font-size: .8rem;
  font-weight: 400;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(22, 76, 59, .2);
  text-underline-offset: 3px;
}

.admin-quiet-action:hover,
.admin-quiet-action:focus-visible {
  text-decoration-color: currentColor;
}

.admin-seo-priority-table {
  table-layout: fixed;
}

.admin-seo-priority-table th:nth-child(1) { width: 13%; }
.admin-seo-priority-table th:nth-child(2) { width: 19%; }
.admin-seo-priority-table th:nth-child(3) { width: 31%; }
.admin-seo-priority-table th:nth-child(4) { width: 22%; }
.admin-seo-priority-table th:nth-child(5) { width: 15%; }

.admin-seo-priority-table td {
  vertical-align: middle;
}

.admin-seo-code {
  color: var(--green);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  white-space: nowrap;
}

.admin-seo-index-state,
.admin-seo-health {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  border: 1px solid rgba(22, 76, 59, .1);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: .72rem;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}

.admin-seo-index-state.is-index {
  background: #eaf4ef;
  color: var(--green);
}

.admin-seo-index-state.is-noindex {
  background: #f3f4f3;
  color: #66746f;
}

.admin-seo-health.is-ready {
  background: #edf6f1;
  color: var(--green);
}

.admin-seo-health.is-manual {
  background: #eef3f8;
  color: #466478;
}

.admin-seo-health.is-old,
.admin-seo-health.is-missing {
  border-color: rgba(176, 122, 32, .16);
  background: #fff5de;
  color: #916619;
}

.admin-seo-health.is-duplicate {
  border-color: rgba(161, 62, 53, .15);
  background: #fff0ed;
  color: #99443b;
}

.admin-seo-mobile-record {
  gap: 10px;
}

.admin-seo-mobile-record .admin-mobile-record-head strong {
  color: var(--green);
  font-size: 1rem;
  font-weight: 500;
}

.admin-seo-mobile-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(100px, .75fr);
  gap: 10px 14px;
  margin: 0;
}

.admin-seo-mobile-meta dt {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 400;
}

.admin-seo-mobile-meta dd {
  margin: 0;
  color: var(--ink);
  font-size: .83rem;
  font-weight: 400;
}

.admin-seo-inspector-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.admin-seo-inspector-primary {
  grid-template-columns: 100px 1fr;
}

.admin-seo-generated-fields {
  display: grid;
  gap: 14px;
}

.admin-seo-generated-fields > div {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(22, 76, 59, .08);
}

.admin-seo-generated-fields > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.admin-seo-generated-fields span,
.admin-seo-manual-inspector-form label > span {
  color: var(--muted);
  font-size: .7rem;
  font-weight: 400;
}

.admin-seo-generated-fields p {
  margin: 0;
  color: var(--ink);
  font-size: .86rem;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.admin-seo-manual-inspector-form {
  display: grid;
  gap: 12px;
}

.admin-seo-manual-inspector-form label {
  display: grid;
  gap: 5px;
}

.admin-seo-manual-inspector-form input,
.admin-seo-manual-inspector-form textarea {
  width: 100%;
  border: 1px solid rgba(22, 76, 59, .14);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  padding: .62rem .7rem;
  font: inherit;
  font-size: .84rem;
  font-weight: 400;
}

.admin-seo-manual-inspector-form textarea {
  resize: vertical;
  min-height: 110px;
}

.admin-seo-manual-inspector-form .btn,
.admin-seo-regenerate-form .btn {
  width: 100%;
}

@media (max-width: 1120px) {
  .admin-seo-filter-form {
    grid-template-columns: minmax(220px, 1.5fr) minmax(180px, .8fr);
  }

  .admin-seo-filter-form .admin-filter-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .admin-seo-desktop {
    display: none;
  }

  .admin-seo-mobile {
    display: grid;
  }

  .admin-seo-summary-line {
    gap: 7px 14px;
    margin-bottom: 12px;
  }

  .admin-seo-filter-form {
    grid-template-columns: 1fr;
  }

  .admin-seo-filter-form .admin-filter-search,
  .admin-seo-filter-form .admin-filter-actions {
    grid-column: auto;
  }

  .admin-seo-filter-form .btn {
    width: 100%;
  }

  .admin-seo-list-meta {
    row-gap: 6px;
  }

  .admin-quiet-action {
    margin-left: 0;
    width: 100%;
    text-align: left;
  }
}

.admin-seo-list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 400;
}

/* ZooDomik v0.1.82.2 — Analytics workspace: compact overview + on-demand details */
.admin-analytics-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-analytics-privacy {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 400;
  line-height: 1.45;
}

.admin-analytics-privacy-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin-top: .38rem;
  border-radius: 999px;
  background: #4f8f78;
}

.admin-analytics-period-form {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-analytics-period-form label {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 400;
}

.admin-analytics-period-form select {
  min-width: 112px;
  min-height: 40px;
  border: 1px solid rgba(22, 76, 59, .14);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  padding: .45rem 2rem .45rem .7rem;
  font: inherit;
  font-size: .88rem;
  font-weight: 400;
}

.admin-inline-alert {
  margin: 0 0 16px;
  border: 1px solid rgba(22, 76, 59, .12);
  border-radius: 13px;
  padding: 11px 13px;
  background: #fff;
  color: var(--ink);
  font-size: .86rem;
  line-height: 1.45;
}

.admin-inline-alert-warning {
  border-color: rgba(176, 116, 24, .24);
  background: #fffaf0;
}

.admin-analytics-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.admin-analytics-kpi {
  min-width: 0;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid rgba(22, 76, 59, .11);
  border-radius: 14px;
  background: #fff;
  padding: 13px 15px;
}

.admin-analytics-kpi span {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 400;
  line-height: 1.3;
}

.admin-analytics-kpi strong {
  color: var(--green);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1;
}

.admin-analytics-status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 400;
}

.admin-analytics-status-line span {
  white-space: nowrap;
}

.admin-analytics-status-line strong {
  color: var(--green);
  font-weight: 600;
}

.admin-analytics-status-line .has-warning,
.admin-analytics-panel-meta.has-warning {
  color: #a45f25;
}

.admin-analytics-status-line .has-warning strong {
  color: #a45f25;
}

.admin-analytics-sections {
  display: grid;
  gap: 9px;
}

.admin-analytics-panel {
  border: 1px solid rgba(22, 76, 59, .11);
  border-radius: 14px;
  background: #fff;
  overflow: clip;
}

.admin-analytics-panel > summary {
  min-height: 68px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 14px;
  align-items: center;
  gap: 16px;
  padding: 12px 15px;
  list-style: none;
  cursor: pointer;
}

.admin-analytics-panel > summary::-webkit-details-marker {
  display: none;
}

.admin-analytics-panel > summary > span:first-child {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.admin-analytics-panel > summary small {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .03em;
}

.admin-analytics-panel > summary strong {
  color: var(--green);
  font-size: .98rem;
  font-weight: 550;
  line-height: 1.25;
}

.admin-analytics-panel-meta {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 400;
  text-align: right;
  white-space: nowrap;
}

.admin-analytics-panel-chevron {
  width: 9px;
  height: 9px;
  border-right: 2px solid #5e7a71;
  border-bottom: 2px solid #5e7a71;
  transform: rotate(45deg) translate(-1px, -1px);
  transform-origin: center;
  transition: transform .2s ease;
}

.admin-analytics-panel[open] > summary {
  background: #f7faf8;
  border-bottom: 1px solid rgba(22, 76, 59, .09);
}

.admin-analytics-panel[open] .admin-analytics-panel-chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}

.admin-analytics-panel-body {
  padding: 12px 15px 15px;
}

.admin-analytics-panel-copy,
.admin-analytics-empty {
  margin: 0;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 400;
  line-height: 1.5;
}

.admin-analytics-panel-copy {
  margin-bottom: 10px;
}

.admin-analytics-list {
  display: grid;
}

.admin-analytics-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(180px, .75fr) minmax(0, 1.25fr);
  gap: 18px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid rgba(22, 76, 59, .08);
}

.admin-analytics-list .admin-analytics-row:first-child {
  border-top: 0;
}

.admin-analytics-row-title {
  min-width: 0;
  color: var(--ink);
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.admin-analytics-row-title > small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 400;
}

.admin-analytics-page-title > small {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-analytics-metrics {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.admin-analytics-metrics-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-analytics-metrics-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-analytics-metrics > span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.admin-analytics-metrics small {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 400;
  line-height: 1.2;
}

.admin-analytics-metrics strong,
.admin-analytics-count {
  color: var(--green);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.25;
}

.admin-analytics-date {
  font-size: .78rem !important;
  font-weight: 500 !important;
}

.admin-analytics-row-outcome {
  grid-template-columns: minmax(160px, .75fr) minmax(0, 1.25fr) 60px;
}

.admin-analytics-outcome-reason {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 400;
  line-height: 1.35;
}

.admin-analytics-count {
  text-align: right;
}

@media (max-width: 900px) {
  .admin-analytics-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-analytics-row {
    grid-template-columns: minmax(140px, .65fr) minmax(0, 1.35fr);
  }
}

@media (max-width: 560px) {
  .admin-analytics-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .admin-analytics-period-form {
    justify-content: space-between;
  }

  .admin-analytics-period-form select {
    flex: 0 0 132px;
  }

  .admin-analytics-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .admin-analytics-kpi {
    min-height: 82px;
    padding: 11px 12px;
  }

  .admin-analytics-kpi strong {
    font-size: 1.25rem;
  }

  .admin-analytics-status-line {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
  }

  .admin-analytics-panel > summary {
    min-height: 64px;
    grid-template-columns: minmax(0, 1fr) 14px;
    gap: 10px;
    padding: 11px 12px;
  }

  .admin-analytics-panel-meta {
    grid-column: 1 / 2;
    grid-row: 2;
    text-align: left;
  }

  .admin-analytics-panel-chevron {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .admin-analytics-panel-body {
    padding: 10px 12px 12px;
  }

  .admin-analytics-row,
  .admin-analytics-row-outcome {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 0;
  }

  .admin-analytics-metrics,
  .admin-analytics-metrics-4,
  .admin-analytics-metrics-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
  }

  .admin-analytics-metrics > span {
    border-top: 1px solid rgba(22, 76, 59, .06);
    padding-top: 6px;
  }

  .admin-analytics-count {
    text-align: left;
  }
}

/* ZooDomik v0.1.82.3 — Telegram admin workspace */
.admin-telegram-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 10px;
}

.admin-telegram-kpi {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.admin-telegram-kpi span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 400;
}

.admin-telegram-kpi strong {
  display: block;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.2;
}

.admin-telegram-kpi strong.is-ok { color: var(--green); }
.admin-telegram-kpi strong.is-warning { color: #9a6416; }

.admin-telegram-status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0 0 16px;
  padding: 0 2px;
  color: var(--muted);
  font-size: .83rem;
}

.admin-telegram-status-line strong {
  color: var(--ink);
  font-weight: 500;
}

.admin-telegram-sections {
  display: grid;
  gap: 10px;
}

.admin-telegram-panel {
  overflow: clip;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.admin-telegram-panel > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 18px;
  gap: 14px;
  align-items: center;
  min-height: 58px;
  padding: 12px 16px;
  cursor: pointer;
  list-style: none;
}

.admin-telegram-panel > summary::-webkit-details-marker { display: none; }

.admin-telegram-panel > summary > span:first-child {
  min-width: 0;
}

.admin-telegram-panel > summary small {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 400;
}

.admin-telegram-panel > summary strong {
  display: block;
  color: var(--ink);
  font-size: .98rem;
  font-weight: 500;
}

.admin-telegram-panel-meta {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 400;
  text-align: right;
}

.admin-telegram-panel-chevron {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--green);
  border-bottom: 1.5px solid var(--green);
  transform: rotate(45deg);
  transition: transform .18s ease;
}

.admin-telegram-panel[open] > summary {
  border-bottom: 1px solid var(--line);
  background: rgba(22, 76, 59, .025);
}

.admin-telegram-panel[open] .admin-telegram-panel-chevron {
  transform: rotate(225deg);
}

.admin-telegram-panel-body {
  padding: 16px;
}

.admin-telegram-config-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-telegram-config-grid > div {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
}

.admin-telegram-config-grid > div.is-wide { grid-column: 1 / -1; }

.admin-telegram-config-grid span,
.admin-telegram-mobile-card span,
.admin-telegram-log-row span,
.admin-telegram-service-form label > span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 400;
}

.admin-telegram-config-grid strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-weight: 500;
}

.admin-telegram-help,
.admin-telegram-empty,
.admin-telegram-service-grid p,
.admin-telegram-unlinked {
  color: var(--muted);
  font-weight: 400;
}

.admin-telegram-help {
  margin: 12px 0 0;
  font-size: .86rem;
}

.admin-telegram-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.admin-telegram-actions form,
.admin-telegram-inspector-card form {
  margin: 0;
}

.admin-telegram-table th,
.admin-telegram-table td {
  vertical-align: middle;
}

.admin-telegram-chat-name {
  color: var(--ink);
  font-weight: 500;
}

.admin-telegram-state {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 500;
  white-space: nowrap;
}

.admin-telegram-state.is-active {
  color: var(--green);
  background: rgba(22, 76, 59, .09);
}

.admin-telegram-state.is-paused {
  color: #6f776f;
  background: #f0f2f0;
}

.admin-telegram-mobile { display: none; }

.admin-telegram-log-list {
  display: grid;
}

.admin-telegram-log-row {
  display: grid;
  grid-template-columns: minmax(180px, .85fr) minmax(110px, .45fr) minmax(220px, 1fr);
  gap: 16px;
  align-items: center;
  padding: 11px 2px;
  border-bottom: 1px solid var(--line);
}

.admin-telegram-log-row:last-child { border-bottom: 0; }

.admin-telegram-log-row strong {
  color: var(--ink);
  font-weight: 500;
  overflow-wrap: anywhere;
}

.admin-telegram-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-telegram-service-grid > section {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--cream);
}

.admin-telegram-service-grid h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
}

.admin-telegram-service-grid p {
  margin: 0 0 12px;
  font-size: .84rem;
}

.admin-telegram-service-form {
  display: grid;
  gap: 10px;
}

.admin-telegram-service-form label {
  display: grid;
  gap: 4px;
}

.admin-telegram-service-form input {
  width: 100%;
}

.admin-telegram-inspector-primary {
  margin-bottom: 4px;
}

.admin-telegram-schema-warning {
  margin-bottom: 14px;
}

@media (max-width: 1100px) {
  .admin-telegram-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .admin-telegram-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .admin-telegram-kpi {
    padding: 12px;
  }

  .admin-telegram-kpi span {
    margin-bottom: 5px;
    font-size: .72rem;
  }

  .admin-telegram-kpi strong {
    font-size: .95rem;
  }

  .admin-telegram-status-line {
    display: grid;
    gap: 5px;
    margin-bottom: 12px;
  }

  .admin-telegram-panel > summary {
    grid-template-columns: minmax(0, 1fr) 18px;
    gap: 8px;
    min-height: 54px;
    padding: 11px 12px;
  }

  .admin-telegram-panel-meta { display: none; }

  .admin-telegram-panel-body {
    padding: 12px;
  }

  .admin-telegram-config-grid,
  .admin-telegram-service-grid {
    grid-template-columns: 1fr;
  }

  .admin-telegram-config-grid > div.is-wide { grid-column: auto; }

  .admin-telegram-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-telegram-actions .btn,
  .admin-telegram-service-grid .btn {
    width: 100%;
  }

  .admin-telegram-desktop { display: none; }
  .admin-telegram-mobile { display: grid; }

  .admin-telegram-mobile-card {
    gap: 10px;
  }

  .admin-telegram-mobile-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
  }

  .admin-telegram-mobile-head strong,
  .admin-telegram-mobile-meta strong {
    display: block;
    color: var(--ink);
    font-weight: 500;
  }

  .admin-telegram-log-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 11px 0;
  }

  .admin-telegram-log-row > div:first-child {
    grid-column: 1 / -1;
  }

  .admin-telegram-inspector-card {
    width: 100%;
    max-width: none;
  }
}

/* ZooDomik v0.1.82.4 — Security workspace: compact monitoring + inspector */
.admin-security-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

.admin-security-kpi {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid rgba(22, 76, 59, .11);
  border-radius: 14px;
  background: #fff;
  padding: 14px 16px;
}

.admin-security-kpi span {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 400;
}

.admin-security-kpi strong {
  color: var(--green);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
}

.admin-security-kpi strong.has-warning {
  color: #a36b18;
}

.admin-security-privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0 14px;
  color: var(--muted);
  font-size: .77rem;
  font-weight: 400;
  line-height: 1.45;
}

.admin-security-privacy-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: .38rem;
  border-radius: 50%;
  background: #4b9b79;
}

.admin-security-filter-form {
  grid-template-columns: minmax(280px, 1.5fr) minmax(170px, .75fr) minmax(180px, .78fr) auto;
  margin-bottom: 10px;
}

.admin-security-filter-form > .btn {
  min-height: 42px;
  align-self: end;
}

.admin-security-list-meta {
  align-items: center;
}

.admin-security-priority-table {
  table-layout: fixed;
}

.admin-security-priority-table th:nth-child(1) { width: 27%; }
.admin-security-priority-table th:nth-child(2) { width: 22%; }
.admin-security-priority-table th:nth-child(3) { width: 12%; }
.admin-security-priority-table th:nth-child(4) { width: 25%; }
.admin-security-priority-table th:nth-child(5) { width: 14%; }

.admin-security-priority-table td {
  vertical-align: middle;
}

.admin-security-action-title {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-security-priority-table td small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: .69rem;
  font-weight: 400;
}

.admin-security-state {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  border: 1px solid rgba(22, 76, 59, .1);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: .72rem;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}

.admin-security-state.is-ok {
  background: #eaf4ef;
  color: var(--green);
}

.admin-security-state.is-warning {
  border-color: rgba(176, 122, 32, .18);
  background: #fff5de;
  color: #916619;
}

.admin-security-state.is-locked {
  border-color: rgba(161, 62, 53, .17);
  background: #fff0ed;
  color: #99443b;
}

.admin-security-state.is-neutral {
  background: #f3f5f4;
  color: #66746f;
}

.admin-security-count {
  font-variant-numeric: tabular-nums;
}

.admin-security-mobile {
  display: none;
}

.admin-security-mobile-record {
  gap: 10px;
}

.admin-security-mobile-record .admin-mobile-record-head strong {
  color: var(--green);
  font-size: .96rem;
  font-weight: 500;
}

.admin-security-mobile-meta {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px 16px;
  margin: 0;
}

.admin-security-mobile-meta dt {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 400;
}

.admin-security-mobile-meta dd {
  margin: 0;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 400;
}

.admin-security-inspector-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 400;
}

.admin-security-inspector-primary {
  grid-template-columns: minmax(110px, 1fr) minmax(110px, 1fr);
}

.admin-security-no-action {
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 400;
  line-height: 1.45;
}

.admin-security-cleanup-form .btn {
  width: 100%;
}

.admin-security-tools-card {
  max-width: 480px;
}

@media (max-width: 1120px) {
  .admin-security-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-security-filter-form {
    grid-template-columns: minmax(220px, 1.4fr) minmax(160px, .8fr) minmax(170px, .85fr);
  }

  .admin-security-filter-form > .btn {
    grid-column: 1 / -1;
    width: fit-content;
  }
}

@media (max-width: 820px) {
  .admin-security-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-security-kpi {
    padding: 12px 13px;
  }

  .admin-security-kpi strong {
    font-size: 1.12rem;
  }

  .admin-security-filter-form {
    grid-template-columns: 1fr 1fr;
  }

  .admin-security-filter-form .admin-filter-search {
    grid-column: 1 / -1;
  }

  .admin-security-filter-form > .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .admin-security-desktop {
    display: none;
  }

  .admin-security-mobile {
    display: grid;
    gap: 10px;
  }

  .admin-security-list-meta {
    row-gap: 6px;
  }

  .admin-security-list-meta .admin-quiet-action {
    flex-basis: 100%;
    margin-left: 0;
    text-align: left;
  }

  .admin-security-inspector-card {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .admin-security-overview {
    gap: 8px;
  }

  .admin-security-kpi span {
    font-size: .69rem;
  }

  .admin-security-filter-form {
    grid-template-columns: 1fr 1fr;
  }

  .admin-security-inspector-primary {
    grid-template-columns: 1fr;
  }
}

/* ZooDomik v0.1.83.0 — user cabinet workspace and task-first pet list */
.user-workspace-body {
  background: #f7faf8;
}

.user-workspace-nav-shell {
  border-bottom: 1px solid rgba(22, 76, 59, 0.10);
  background: rgba(255, 255, 255, 0.94);
}

.user-workspace-nav-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.user-workspace-nav-copy {
  display: grid;
  gap: 0.1rem;
  min-width: 150px;
}

.user-workspace-nav-kicker {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.user-workspace-nav-name {
  color: var(--green);
  font-size: 0.98rem;
  font-weight: 600;
}

.user-workspace-nav-desktop {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.user-workspace-nav-link,
.user-workspace-nav-add {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 12px;
  padding: 0.55rem 0.72rem;
  color: var(--green);
  text-decoration: none;
  font-weight: 500;
}

.user-workspace-nav-link:hover,
.user-workspace-nav-link:focus-visible {
  background: var(--mint-2);
}

.user-workspace-nav-link.is-active {
  background: var(--mint);
}

.user-workspace-nav-add {
  margin-left: 0.35rem;
  border: 1px solid var(--green);
  background: var(--green);
  color: #fff;
}

.user-workspace-nav-mobile {
  display: none;
}

.user-workspace-main .account-shell {
  padding-top: clamp(28px, 4vw, 48px);
}

.user-dashboard-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.2rem;
}

.user-dashboard-head h1 {
  margin: 0.2rem 0 0;
  color: var(--green);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
}

.user-dashboard-add {
  flex: 0 0 auto;
  font-weight: 500;
}

.user-dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.user-dashboard-metric {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 0.9rem 1rem;
}

.user-dashboard-metric span {
  color: var(--muted);
  font-size: 0.88rem;
}

.user-dashboard-metric strong {
  color: var(--green);
  font-size: 1.65rem;
  font-weight: 650;
}

.user-dashboard-metric.needs-attention {
  border-color: rgba(183, 119, 22, 0.30);
  background: #fffaf0;
}

.user-dashboard-metric.needs-attention strong {
  color: #9a6214;
}

.user-dashboard-attention {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(183, 119, 22, 0.25);
  border-radius: 14px;
  background: #fffaf0;
  padding: 0.78rem 0.95rem;
  color: #71501d;
}

.user-dashboard-attention > div {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.user-dashboard-attention strong {
  font-weight: 600;
}

.user-dashboard-toolbar {
  margin: 0.9rem 0;
}

.user-dashboard-toolbar .cabinet-tab {
  min-height: 40px;
  padding: 0.4rem 0.68rem;
  font-weight: 500;
}

.user-dashboard-toolbar .cabinet-tab b {
  min-width: 23px;
  height: 23px;
  font-weight: 600;
}

.user-pet-list {
  display: grid;
  gap: 0.7rem;
}

.user-pet-row {
  display: grid;
  grid-template-columns: 86px minmax(180px, 1.35fr) minmax(190px, 0.9fr) minmax(170px, auto);
  align-items: center;
  gap: 1rem;
  min-height: 106px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 0.7rem;
}

.user-pet-row.needs-renewal {
  border-color: rgba(183, 119, 22, 0.28);
  background: #fffdfa;
}

.user-pet-thumb {
  width: 86px;
  height: 86px;
  border-radius: 13px;
  overflow: hidden;
  background: var(--mint-2);
  display: grid;
  place-items: center;
}

.user-pet-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-pet-thumb img.is-placeholder {
  width: 52%;
  height: 52%;
  object-fit: contain;
  opacity: 0.55;
}

.user-pet-main,
.user-pet-state {
  min-width: 0;
}

.user-pet-reference {
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.user-pet-title {
  color: var(--green);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.user-pet-location {
  margin-top: 0.22rem;
  color: var(--muted);
  font-size: 0.86rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-pet-state {
  display: grid;
  justify-items: start;
  gap: 0.34rem;
}

.user-pet-state-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0.3rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 550;
  background: var(--mint);
  color: var(--green);
}

.user-pet-state-chip.is-warning {
  background: #fff0d7;
  color: #8a5712;
}

.user-pet-state-chip.is-muted {
  background: #f0f3f2;
  color: #5b6c66;
}

.user-pet-state-note {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.3;
}

.user-pet-primary-action {
  min-width: 160px;
  display: grid;
  justify-items: stretch;
  gap: 0.4rem;
  position: relative;
}

.user-pet-renew-button {
  width: 100%;
  min-height: 38px;
  padding: 0.45rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 500;
}

.user-pet-actions {
  position: relative;
}

.user-pet-actions > summary {
  list-style: none;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  padding: 0.45rem 0.7rem;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
}

.user-pet-actions > summary::-webkit-details-marker {
  display: none;
}

.user-pet-actions-caret {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

.user-pet-actions[open] .user-pet-actions-caret {
  transform: rotate(225deg) translate(-1px, -1px);
}

.user-pet-actions-panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  right: 0;
  width: min(240px, 80vw);
  display: grid;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(22, 76, 59, 0.14);
  padding: 0.35rem;
}

.user-pet-actions-panel a,
.user-pet-actions-panel button {
  width: 100%;
  min-height: 39px;
  display: flex;
  align-items: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--green);
  padding: 0.5rem 0.65rem;
  text-align: left;
  text-decoration: none;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 450;
  cursor: pointer;
}

.user-pet-actions-panel a:hover,
.user-pet-actions-panel button:hover,
.user-pet-actions-panel a:focus-visible,
.user-pet-actions-panel button:focus-visible {
  background: var(--mint-2);
}

.user-pet-actions-panel .user-pet-action-archive {
  color: #a13d2f;
}

.user-dashboard-empty h2,
.cabinet-status-notice strong {
  font-weight: 600;
}

@media (max-width: 900px) {
  .user-workspace-nav-inner {
    min-height: 58px;
  }

  .user-workspace-nav-copy,
  .user-workspace-nav-desktop {
    display: none;
  }

  .user-workspace-nav-mobile {
    display: block;
    width: 100%;
    position: relative;
  }

  .user-workspace-nav-mobile > summary {
    list-style: none;
    min-height: 44px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    padding: 0.55rem 0.72rem;
    cursor: pointer;
  }

  .user-workspace-nav-mobile > summary::-webkit-details-marker {
    display: none;
  }

  .user-workspace-mobile-label {
    color: var(--muted);
    font-size: 0.8rem;
  }

  .user-workspace-mobile-current {
    justify-self: end;
    color: var(--green);
    font-weight: 550;
  }

  .user-workspace-mobile-caret {
    width: 9px;
    height: 9px;
    border-right: 1.5px solid var(--green);
    border-bottom: 1.5px solid var(--green);
    transform: rotate(45deg) translateY(-2px);
    transition: transform 160ms ease;
  }

  .user-workspace-nav-mobile[open] .user-workspace-mobile-caret {
    transform: rotate(225deg) translate(-1px, -1px);
  }

  .user-workspace-mobile-panel {
    position: absolute;
    z-index: 80;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    display: grid;
    gap: 0.18rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(22, 76, 59, 0.14);
    padding: 0.42rem;
  }

  .user-workspace-mobile-panel a {
    min-height: 42px;
    display: flex;
    align-items: center;
    border-radius: 9px;
    padding: 0.55rem 0.68rem;
    color: var(--green);
    text-decoration: none;
    font-weight: 450;
  }

  .user-workspace-mobile-panel a.is-active {
    background: var(--mint);
  }

  .user-workspace-mobile-panel .user-workspace-mobile-add {
    margin-top: 0.2rem;
    background: var(--green);
    color: #fff;
  }

  .user-dashboard-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .user-pet-row {
    grid-template-columns: 72px minmax(0, 1fr) minmax(150px, auto);
  }

  .user-pet-thumb {
    width: 72px;
    height: 72px;
  }

  .user-pet-state {
    grid-column: 2;
  }

  .user-pet-primary-action {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 620px) {
  .user-workspace-nav-inner {
    width: min(100% - 20px, 1180px);
  }

  .user-dashboard-head {
    align-items: stretch;
  }

  .user-dashboard-add {
    display: none;
  }

  .user-dashboard-metrics {
    gap: 0.55rem;
  }

  .user-dashboard-metric {
    min-height: 68px;
    padding: 0.72rem 0.78rem;
  }

  .user-dashboard-metric strong {
    font-size: 1.35rem;
  }

  .user-dashboard-attention > div {
    display: grid;
    gap: 0.18rem;
  }

  .user-dashboard-toolbar {
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: thin;
  }

  .user-dashboard-toolbar .cabinet-tabs {
    flex-wrap: nowrap;
    width: max-content;
  }

  .user-pet-row {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 0.65rem 0.75rem;
    padding: 0.72rem;
  }

  .user-pet-thumb {
    width: 64px;
    height: 64px;
  }

  .user-pet-main {
    align-self: center;
  }

  .user-pet-title {
    font-size: 0.94rem;
  }

  .user-pet-state {
    grid-column: 1 / -1;
    grid-row: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .user-pet-primary-action {
    grid-column: 1 / -1;
    grid-row: auto;
    min-width: 0;
  }

  .user-pet-actions-panel {
    position: static;
    width: 100%;
    margin-top: 0.35rem;
    box-shadow: none;
  }

  .user-pet-renew-button,
  .user-pet-actions > summary {
    min-height: 42px;
  }
}


/* ZooDomik v0.1.83.1 — task-first user cabinet: one canonical create action, edit-first cards */
.user-workspace-nav-add,
.user-workspace-mobile-add,
.user-dashboard-add,
.user-dashboard-metrics {
  display: none !important;
}

.user-dashboard-head {
  align-items: flex-start;
  margin-bottom: .9rem;
}

.user-dashboard-toolbar {
  margin: .75rem 0 .85rem;
}

.user-dashboard-toolbar .cabinet-tabs {
  gap: .38rem;
}

.user-dashboard-toolbar .cabinet-tab {
  min-height: 38px;
  padding: .38rem .66rem;
  font-weight: 450;
}

.user-dashboard-toolbar .cabinet-tab b {
  font-weight: 550;
}

.user-pet-row {
  grid-template-columns: 72px minmax(190px, 1.35fr) minmax(175px, .85fr) minmax(280px, auto);
  min-height: 92px;
  gap: .8rem;
  padding: .6rem .7rem;
}

.user-pet-thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
}

.user-pet-title {
  font-weight: 550;
}

.user-pet-primary-action {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(96px, 1fr) minmax(96px, 1fr) minmax(72px, .72fr);
  align-items: stretch;
  gap: .4rem;
}

.user-pet-primary-action > form,
.user-pet-primary-action > a,
.user-pet-primary-action > details {
  min-width: 0;
}

.user-pet-edit-button,
.user-pet-renew-button,
.user-pet-actions > summary {
  width: 100%;
  min-height: 38px;
  padding: .43rem .62rem;
  font-size: .82rem;
  font-weight: 450;
}

.user-pet-renew-form:only-of-type {
  grid-column: auto;
}

.user-pet-actions-panel {
  width: min(220px, 80vw);
}

@media (max-width: 980px) {
  .user-pet-row {
    grid-template-columns: 68px minmax(0, 1fr) minmax(250px, auto);
  }

  .user-pet-thumb {
    width: 68px;
    height: 68px;
  }

  .user-pet-state {
    grid-column: 2;
  }

  .user-pet-primary-action {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 620px) {
  .user-workspace-main .account-shell {
    padding-top: 22px;
  }

  .user-dashboard-head {
    margin-bottom: .7rem;
  }

  .user-dashboard-head h1 {
    font-size: clamp(1.8rem, 9vw, 2.35rem);
  }

  .user-dashboard-toolbar {
    margin-top: .65rem;
  }

  .user-pet-row {
    grid-template-columns: 58px minmax(0, 1fr);
    min-height: 0;
    gap: .55rem .7rem;
    padding: .68rem;
  }

  .user-pet-thumb {
    width: 58px;
    height: 58px;
  }

  .user-pet-reference {
    font-size: .72rem;
  }

  .user-pet-title {
    font-size: .92rem;
  }

  .user-pet-location {
    font-size: .8rem;
  }

  .user-pet-state {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: .42rem;
  }

  .user-pet-primary-action {
    grid-column: 1 / -1;
    grid-row: auto;
    grid-template-columns: 1fr 1fr auto;
    gap: .38rem;
  }

  .user-pet-primary-action > .user-pet-actions:last-child {
    min-width: 74px;
  }

  .user-pet-actions-panel {
    position: absolute;
    right: 0;
    left: auto;
    width: min(260px, calc(100vw - 36px));
    margin-top: .35rem;
    box-shadow: 0 16px 34px rgba(22, 76, 59, 0.14);
  }

  .user-pet-edit-button,
  .user-pet-renew-button,
  .user-pet-actions > summary {
    min-height: 40px;
  }
}


/* ZooDomik v0.1.83.2 — stable user cabinet navigation and useful-only filters */
.user-pet-row[hidden],
.js-cabinet-card.is-filter-hidden {
  display: none !important;
}

.user-dashboard-toolbar {
  overflow: visible !important;
  padding-bottom: 0 !important;
}

.user-dashboard-toolbar .cabinet-tabs {
  width: 100% !important;
  display: flex;
  flex-wrap: wrap !important;
  gap: .42rem;
}

.user-dashboard-toolbar .cabinet-tab {
  flex: 0 0 auto;
  max-width: 100%;
}

@media (max-width: 620px) {
  .user-dashboard-toolbar {
    overflow: visible !important;
  }

  .user-dashboard-toolbar .cabinet-tabs {
    width: 100% !important;
    flex-wrap: wrap !important;
  }

  .user-dashboard-toolbar .cabinet-tab {
    min-height: 38px;
    padding-inline: .65rem;
  }
}

/* ZooDomik v0.1.83.4 — user profile workspace: stable section rail, mobile selector, calm typography */
.user-profile-workspace {
  width: min(1180px, calc(100% - 32px));
}

.user-profile-title-row {
  margin-bottom: 1rem;
}

.user-profile-title-row h1 {
  margin-bottom: 0;
}

.user-profile-workspace .profile-tabbed {
  display: grid;
  grid-template-columns: minmax(190px, 220px) minmax(0, 1fr);
  gap: 1rem 1.15rem;
  align-items: start;
}

.user-profile-workspace .profile-tabs {
  grid-column: 1;
  grid-row: 1 / span 30;
  position: sticky;
  top: calc(var(--header-height, 78px) + 18px);
  display: block;
  margin: 0;
  padding: 0.38rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(22, 76, 59, 0.05);
}

.user-profile-workspace .profile-tab-buttons {
  display: grid;
  gap: 0.12rem;
}

.user-profile-workspace .profile-tab {
  width: 100%;
  min-height: 48px;
  display: grid;
  justify-items: start;
  gap: 0.08rem;
  border: 0;
  border-radius: 11px;
  background: transparent;
  box-shadow: none;
  padding: 0.58rem 0.68rem;
  color: var(--green);
  text-align: left;
  font-weight: 450;
}

.user-profile-workspace .profile-tab > span {
  font-size: 0.91rem;
  font-weight: 500;
  line-height: 1.25;
}

.user-profile-workspace .profile-tab > small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 400;
  line-height: 1.3;
}

.user-profile-workspace .profile-tab:hover,
.user-profile-workspace .profile-tab:focus-visible {
  background: var(--mint-2);
}

.user-profile-workspace .profile-tab.is-active {
  background: var(--mint);
  color: var(--green);
}

.user-profile-workspace .profile-tab.is-active > small {
  color: #587067;
}

.user-profile-workspace .profile-tab-select-wrap {
  display: none;
}

.user-profile-workspace .profile-tab-section,
.user-profile-workspace .profile-verification-section,
.user-profile-workspace .profile-notifications-section,
.user-profile-workspace .profile-save-bar {
  grid-column: 2;
  min-width: 0;
}

.user-profile-workspace .form-section {
  box-shadow: none;
  padding: clamp(1rem, 2vw, 1.35rem);
}

.user-profile-workspace .form-section h2 {
  margin-top: 0;
  color: var(--green);
  font-weight: 650;
}

.user-profile-workspace .field > label,
.user-profile-workspace .checkbox-card,
.user-profile-workspace .checkbox-card span,
.user-profile-workspace .alert-choice-group label,
.user-profile-workspace .alert-delete-toggle,
.user-profile-workspace .profile-record-help,
.user-profile-workspace .field small,
.user-profile-workspace .account-muted,
.user-profile-workspace .btn,
.user-profile-workspace .icon-action {
  font-weight: 400;
}

.user-profile-workspace .field > label {
  font-weight: 450;
}

.user-profile-workspace .alert-choice-group > strong,
.user-profile-workspace .profile-record-summary strong {
  font-weight: 550;
}

.user-profile-workspace .profile-record-summary span,
.user-profile-workspace .profile-record-summary small {
  font-weight: 400;
}

.user-profile-workspace .profile-save-bar {
  position: sticky;
  bottom: 12px;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.15rem;
  border: 1px solid rgba(22, 76, 59, 0.14);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.95);
  box-shadow: 0 14px 30px rgba(22, 76, 59, 0.10);
  padding: 0.65rem 0.72rem 0.65rem 0.9rem;
  backdrop-filter: blur(10px);
}

.user-profile-workspace .profile-save-hint {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.35;
}

.user-profile-workspace .profile-save-bar .btn {
  flex: 0 0 auto;
  min-width: 150px;
  min-height: 40px;
  font-weight: 500;
}

@media (max-width: 820px) {
  .user-profile-workspace {
    width: min(100% - 20px, 1180px);
  }

  .user-profile-workspace .profile-tabbed {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .user-profile-workspace .profile-tabs {
    grid-column: 1;
    grid-row: auto;
    position: sticky;
    top: calc(var(--header-height, 70px) + 6px);
    z-index: 50;
    padding: 0.5rem;
    border-radius: 14px;
  }

  .user-profile-workspace .profile-tab-buttons {
    display: none;
  }

  .user-profile-workspace .profile-tab-select-wrap {
    display: grid;
    gap: 0.28rem;
  }

  .user-profile-workspace .profile-tab-select-wrap > span {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 400;
  }

  .user-profile-workspace .profile-tab-select {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--green);
    padding: 0.55rem 0.68rem;
    font: inherit;
    font-size: 0.94rem;
    font-weight: 450;
  }

  .user-profile-workspace .profile-tab-section,
  .user-profile-workspace .profile-verification-section,
  .user-profile-workspace .profile-notifications-section,
  .user-profile-workspace .profile-save-bar {
    grid-column: 1;
  }

  .user-profile-workspace .profile-save-bar {
    bottom: 8px;
    padding: 0.55rem;
  }

  .user-profile-workspace .profile-save-hint {
    display: none;
  }

  .user-profile-workspace .profile-save-bar .btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 620px) {
  .user-profile-workspace .account-title-row {
    margin-bottom: 0.8rem;
  }

  .user-profile-workspace .account-title-row h1 {
    font-size: clamp(1.9rem, 9vw, 2.35rem);
  }

  .user-profile-workspace .form-section {
    border-radius: 14px;
    padding: 0.85rem;
  }

  .user-profile-workspace .profile-head {
    gap: 0.85rem;
  }

  .user-profile-workspace .profile-avatar {
    width: 82px;
    height: 82px;
  }
}

/* ZooDomik v0.1.83.5 — profile settings rebuilt as one compact workspace */
.user-workspace-body .page-shell > main {
  flex: 0 0 auto;
}

.user-workspace-body .footer {
  margin-top: 0;
}

.user-profile-workspace {
  width: min(1060px, calc(100% - 32px));
}

.user-profile-workspace .profile-tabbed {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .85rem;
  align-items: start;
}

.user-profile-workspace .profile-tabs {
  grid-column: 1;
  grid-row: auto;
  position: static;
  display: block;
  margin: 0;
  padding: .42rem;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(22, 76, 59, .045);
}

.user-profile-workspace .profile-tab-current {
  display: none;
}

.user-profile-workspace .profile-tab-buttons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .34rem;
}

.user-profile-workspace .profile-tab {
  min-height: 58px;
  padding: .62rem .72rem;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  text-align: left;
  font-weight: 400;
}

.user-profile-workspace .profile-tab > span {
  font-size: .89rem;
  font-weight: 500;
}

.user-profile-workspace .profile-tab > small {
  margin-top: .08rem;
  font-size: .72rem;
  font-weight: 400;
}

.user-profile-workspace .profile-tab.is-active {
  border-color: rgba(22, 76, 59, .09);
  background: var(--mint);
}

.user-profile-workspace .profile-tab-section,
.user-profile-workspace .profile-verification-section,
.user-profile-workspace .profile-notifications-section,
.user-profile-workspace .profile-save-bar {
  grid-column: 1;
  width: 100%;
  min-width: 0;
}

.user-profile-workspace .form-section {
  margin: 0;
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  box-shadow: none;
}

.user-profile-workspace .form-section h2 {
  margin: 0 0 .85rem;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 620;
}

.user-profile-workspace .profile-head {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.user-profile-workspace .profile-avatar {
  width: 116px;
  height: 116px;
  border-radius: 16px;
}

.user-profile-workspace .profile-head > .form-two {
  min-width: 0;
}

.user-profile-workspace .form-two {
  gap: .85rem .9rem;
}

.user-profile-workspace .field {
  min-width: 0;
}

.user-profile-workspace .field > label,
.user-profile-workspace .contact-time-field > label {
  font-weight: 450;
}

.user-profile-workspace .choice-chip,
.user-profile-workspace .choice-chip span,
.user-profile-workspace .checkbox-card,
.user-profile-workspace .checkbox-card span,
.user-profile-workspace .btn,
.user-profile-workspace .profile-record-help,
.user-profile-workspace .account-muted,
.user-profile-workspace small {
  font-weight: 400;
}

.user-profile-workspace .profile-secondary-tool {
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdfc;
  overflow: hidden;
}

.user-profile-workspace .profile-secondary-tool > summary {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  padding: .62rem .72rem;
  color: var(--green);
  font-size: .86rem;
  font-weight: 450;
}

.user-profile-workspace .profile-secondary-tool > summary::-webkit-details-marker {
  display: none;
}

.user-profile-workspace .profile-secondary-tool > summary::after {
  content: '⌄';
  transition: transform .18s ease;
}

.user-profile-workspace .profile-secondary-tool[open] > summary::after {
  transform: rotate(180deg);
}

.user-profile-workspace .profile-secondary-tool-body {
  padding: .72rem;
  border-top: 1px solid var(--line);
}

.user-profile-workspace .profile-save-bar {
  position: static;
  z-index: auto;
  justify-content: flex-end;
  margin: 0;
  padding: .7rem 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.user-profile-workspace .profile-save-bar .btn {
  min-width: 170px;
  min-height: 42px;
  font-weight: 500;
}

@media (max-width: 920px) {
  .user-profile-workspace .profile-tab-buttons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .user-profile-workspace {
    width: min(100% - 20px, 1060px);
  }

  .user-profile-workspace .profile-tabbed {
    gap: .7rem;
  }

  .user-profile-workspace .profile-tabs {
    position: relative;
    padding: 0;
    border-radius: 13px;
    overflow: visible;
  }

  .user-profile-workspace .profile-tab-current {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    border: 0;
    border-radius: 13px;
    background: #fff;
    color: var(--green);
    padding: .62rem .76rem;
    text-align: left;
    font: inherit;
    font-weight: 400;
  }

  .user-profile-workspace .profile-tab-current-copy {
    display: grid;
    gap: .08rem;
  }

  .user-profile-workspace .profile-tab-current-copy small {
    color: var(--muted);
    font-size: .7rem;
    font-weight: 400;
  }

  .user-profile-workspace .profile-tab-current-copy > span {
    font-size: .95rem;
    font-weight: 500;
  }

  .user-profile-workspace .profile-tab-current-caret {
    font-size: 1.15rem;
    line-height: 1;
    transition: transform .18s ease;
  }

  .user-profile-workspace .profile-tabs.is-open .profile-tab-current-caret {
    transform: rotate(180deg);
  }

  .user-profile-workspace .profile-tab-buttons {
    display: none;
    position: absolute;
    z-index: 90;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    grid-template-columns: 1fr;
    gap: .18rem;
    max-height: min(62vh, 440px);
    overflow-y: auto;
    padding: .42rem;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(22, 76, 59, .14);
  }

  .user-profile-workspace .profile-tabs.is-open .profile-tab-buttons {
    display: grid;
  }

  .user-profile-workspace .profile-tab {
    min-height: 46px;
    padding: .55rem .65rem;
  }

  .user-profile-workspace .profile-tab > small {
    display: none;
  }

  .user-profile-workspace .profile-head {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: .75rem;
  }

  .user-profile-workspace .profile-avatar {
    width: 82px;
    height: 82px;
  }

  .user-profile-workspace .form-section {
    padding: .9rem;
    border-radius: 13px;
  }

  .user-profile-workspace .form-two {
    grid-template-columns: 1fr;
    gap: .72rem;
  }

  .user-profile-workspace .profile-secondary-tool {
    grid-column: 1;
  }

  .user-profile-workspace .profile-save-bar {
    padding-top: 0;
  }

  .user-profile-workspace .profile-save-bar .btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .user-profile-workspace .profile-head {
    grid-template-columns: 1fr;
  }

  .user-profile-workspace .profile-avatar {
    width: 74px;
    height: 74px;
  }

  .user-profile-workspace .time-range {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }
}

/* ZooDomik v0.1.83.6 — simplified cabinet/profile information architecture. */
.user-profile-workspace .profile-simple-form {
  display: grid;
  gap: 16px;
}

.user-profile-workspace .profile-simple-form > .form-section,
.user-profile-workspace .profile-disclosure {
  margin: 0;
}

.user-profile-workspace .profile-disclosure {
  border: 1px solid var(--line, #d7e1dc);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.user-profile-workspace .profile-disclosure > summary {
  min-height: 74px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  color: var(--green-dark, #164c3b);
}

.user-profile-workspace .profile-disclosure > summary::-webkit-details-marker {
  display: none;
}

.user-profile-workspace .profile-disclosure > summary > span:first-child {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.user-profile-workspace .profile-disclosure > summary strong {
  font-size: 16px;
  font-weight: 650;
}

.user-profile-workspace .profile-disclosure > summary small {
  color: var(--muted, #5f766f);
  font-size: 13px;
  font-weight: 400;
}

.user-profile-workspace .profile-disclosure-caret {
  width: 11px;
  height: 11px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .18s ease;
  flex: 0 0 auto;
}

.user-profile-workspace .profile-disclosure[open] .profile-disclosure-caret {
  transform: rotate(225deg);
}

.user-profile-workspace .profile-disclosure-body {
  border-top: 1px solid var(--line, #d7e1dc);
}

.user-profile-workspace .profile-disclosure-body.form-section {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.user-profile-workspace .profile-disclosure-stack {
  display: grid;
  gap: 0;
}

.user-profile-workspace .profile-disclosure-stack > .form-section {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
}

.user-profile-workspace .profile-disclosure-stack > .form-section + .form-section {
  border-top: 1px solid var(--line, #d7e1dc);
}

.user-profile-workspace .profile-save-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 2px;
}

.user-profile-workspace .profile-save-status {
  color: var(--muted, #5f766f);
  font-size: 13px;
  opacity: 0;
  transition: opacity .18s ease;
}

.user-profile-workspace .js-profile-dirty-form.is-dirty .profile-save-status {
  opacity: 1;
}

.account-security-workspace,
.user-notifications-workspace {
  max-width: 940px;
}

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

.security-setting-card {
  min-width: 0;
  align-self: start;
}

.security-card-head,
.telegram-settings-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.security-card-head h2,
.notification-page-form h2,
.notification-page-form h3 {
  margin-top: 0;
}

.security-current-value,
.security-pending-note {
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid var(--line, #d7e1dc);
  border-radius: 14px;
  background: var(--mint-2, #f7fbf8);
  display: grid;
  gap: 3px;
}

.security-current-value span,
.security-pending-note span {
  color: var(--muted, #5f766f);
  font-size: 13px;
}

.security-inline-actions {
  justify-content: flex-start;
}

.notification-page-form {
  display: grid;
  gap: 16px;
}

.notification-page-form > .form-section {
  margin: 0;
}

.notification-master-toggle {
  max-width: 620px;
}

.notification-telegram-section {
  display: grid;
  gap: 16px;
}

.notification-rules-headline {
  margin-top: 8px;
}

.notification-save-bar {
  justify-content: flex-end;
  margin-top: 2px;
}

@media (max-width: 760px) {
  .security-settings-grid {
    grid-template-columns: 1fr;
  }

  .security-card-head,
  .telegram-settings-head {
    gap: 10px;
  }

  .user-profile-workspace .profile-disclosure > summary {
    min-height: 66px;
    padding: 14px 15px;
  }

  .user-profile-workspace .profile-save-bar {
    display: none;
    position: sticky;
    bottom: 10px;
    z-index: 12;
    padding: 10px;
    border: 1px solid rgba(22, 76, 59, .16);
    border-radius: 16px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 34px rgba(22, 76, 59, .16);
    backdrop-filter: blur(10px);
  }

  .user-profile-workspace .js-profile-dirty-form.is-dirty .profile-save-bar {
    display: flex;
  }

  .user-profile-workspace .profile-save-status {
    display: none;
  }

  .user-profile-workspace .profile-save-bar .btn {
    width: 100%;
  }

  .notification-save-bar .btn,
  .security-inline-actions .btn {
    width: 100%;
  }
}

.user-profile-workspace .profile-simple-form {
  grid-template-columns: minmax(0, 1fr);
}

.user-profile-workspace .profile-simple-form > * {
  grid-column: 1;
  min-width: 0;
}

/* ZooDomik v0.1.83.8 — cabinet context navigation
   While the user works inside /kabinet/*, keep the global header familiar but
   remove public-site navigation from the menu. Desktop uses one compact
   Cabinet dropdown; mobile opens directly into the cabinet actions. */
.nav-cabinet-mobile-only {
  display: none;
}

.nav-cabinet-mode .nav-cabinet-panel {
  min-width: 270px;
}

.nav-cabinet-mode .nav-cabinet-secondary-start {
  margin-top: 0.32rem;
  border-top: 1px solid rgba(22, 76, 59, 0.10);
  border-radius: 0 0 12px 12px;
  padding-top: 0.76rem;
}

.nav-cabinet-mode .nav-cabinet-back {
  color: var(--green);
}

@media (max-width: 1120px) {
  .nav-cabinet-mode .nav-cabinet-desktop-only {
    display: none !important;
  }

  .nav-cabinet-mode .nav-cabinet-mobile-only {
    display: grid;
    width: 100%;
    gap: 8px;
  }

  .nav-cabinet-mode .nav-cabinet-mobile-only .nav-mobile-section-label {
    margin: 2px 2px 2px;
    padding: 0 4px;
  }

  .nav-cabinet-mode .nav-cabinet-mobile-only > .nav-item,
  .nav-cabinet-mode .nav-cabinet-mobile-only > .nav-logout-form .nav-item {
    min-height: 50px;
    border: 1px solid rgba(22, 76, 59, 0.12);
    border-radius: 14px;
    background: #fff;
    padding: 0.72rem 0.85rem;
    color: var(--green);
    font-weight: 650;
  }

  .nav-cabinet-mode .nav-cabinet-mobile-only > .nav-item:hover,
  .nav-cabinet-mode .nav-cabinet-mobile-only > .nav-item:focus-visible,
  .nav-cabinet-mode .nav-cabinet-mobile-only > .nav-item.is-active {
    border-color: rgba(22, 76, 59, 0.18);
    background: var(--mint);
  }

  .nav-cabinet-mode .nav-cabinet-mobile-only > .nav-item-create,
  .nav-cabinet-mode .nav-cabinet-mobile-only > .nav-item-create:hover,
  .nav-cabinet-mode .nav-cabinet-mobile-only > .nav-item-create:focus-visible,
  .nav-cabinet-mode .nav-cabinet-mobile-only > .nav-item-create.is-active {
    justify-content: center;
    border-color: var(--green);
    background: var(--green);
    color: #fff !important;
  }

  .nav-cabinet-mode .nav-cabinet-mobile-only .nav-cabinet-secondary-start {
    margin-top: 5px;
    border-top-color: rgba(22, 76, 59, 0.16);
  }

  .nav-cabinet-mode .nav-cabinet-mobile-only > .nav-logout-form {
    width: 100%;
  }

  .nav-cabinet-mode .nav-cabinet-mobile-only > .nav-logout-form .nav-logout {
    width: 100%;
    border-color: rgba(180, 71, 52, 0.18);
    background: #fff9f7;
    color: #9a4434;
  }

  .nav-cabinet-mode .nav-mobile-add-bottom {
    margin-top: 10px;
  }
}

@media (min-width: 1121px) {
  .nav-cabinet-mode .nav-cabinet-desktop-only > .nav-dropdown-panel {
    right: 0;
    left: auto;
  }
}

/* ZooDomik v0.1.83.9 — cabinet menu continuity
   Keep the canonical mobile menu mechanics inside /kabinet/*: public routes
   remain discoverable under one collapsed "Швидкі дії" group, while the
   cabinet group is the active/open working context. No DB changes. */
.nav-cabinet-mode .nav-cabinet-quick-actions,
.nav-cabinet-mode .nav-cabinet-public-actions {
  width: 100%;
}

.nav-cabinet-mode .nav-cabinet-quick-actions > summary,
.nav-cabinet-mode .nav-cabinet-public-actions > summary {
  list-style: none;
  cursor: pointer;
}

.nav-cabinet-mode .nav-cabinet-quick-actions > summary::-webkit-details-marker,
.nav-cabinet-mode .nav-cabinet-public-actions > summary::-webkit-details-marker {
  display: none;
}

.nav-cabinet-mode .nav-cabinet-quick-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-cabinet-mode .nav-cabinet-quick-actions[open] > .nav-cabinet-quick-trigger .nav-caret,
.nav-cabinet-mode .nav-cabinet-public-actions[open] > .nav-cabinet-public-trigger .nav-caret {
  transform: rotate(180deg);
}

.nav-cabinet-mode .nav-cabinet-quick-panel {
  display: grid;
  gap: 5px;
  padding: 6px 0 2px 10px;
}

.nav-cabinet-mode .nav-cabinet-quick-panel .nav-item {
  min-height: 38px;
  font-size: 0.84rem;
}

@media (max-width: 1120px) {
  .nav-cabinet-mode .nav-cabinet-mobile-only {
    display: grid;
    gap: 8px;
  }

  /* Versioned global rules give .nav-desktop-create an order value. In this
     cabinet grid DOM order is intentional: quick actions -> add -> cabinet. */
  .nav-cabinet-mode .nav-cabinet-mobile-only > * {
    order: 0 !important;
  }

  .nav-cabinet-mode .nav-cabinet-public-actions {
    margin: 0 0 2px;
  }

  .nav-cabinet-mode .nav-cabinet-public-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 56px !important;
    padding: 9px 12px !important;
    border: 1px solid #dbe6e1 !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #21483d !important;
  }

  .nav-cabinet-mode .nav-cabinet-public-actions[open] > .nav-cabinet-public-trigger {
    border-color: #b8d0c5 !important;
    background: #f1f7f4 !important;
  }

  .nav-cabinet-mode .nav-cabinet-public-trigger .nav-dropdown-copy {
    min-width: 0;
  }

  .nav-cabinet-mode .nav-cabinet-public-trigger .nav-route-title {
    display: block;
  }

  .nav-cabinet-mode .nav-cabinet-public-trigger .nav-route-meta {
    display: block;
  }

  .nav-cabinet-mode .nav-cabinet-public-panel {
    display: grid;
    gap: 8px;
    padding: 8px 0 2px;
  }

  .nav-cabinet-mode .nav-cabinet-public-panel .nav-primary-route {
    display: flex !important;
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100% !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 9px 38px 9px 12px !important;
    text-align: left;
  }

  .nav-cabinet-mode .nav-cabinet-mobile-only > .nav-desktop-create {
    display: flex !important;
    width: 100% !important;
    min-height: 50px !important;
    margin: 0 !important;
    justify-content: center !important;
  }

  .nav-cabinet-mode .nav-cabinet-mobile-details {
    width: 100%;
    margin: 0 !important;
  }

  .nav-cabinet-mode .nav-cabinet-mobile-details > .nav-dropdown-trigger {
    min-height: 50px !important;
  }

  .nav-cabinet-mode .nav-cabinet-mobile-details > .nav-dropdown-panel {
    display: grid !important;
    gap: 6px !important;
    padding: 8px 0 2px !important;
  }

  .nav-cabinet-mode .nav-cabinet-mobile-details .nav-cabinet-secondary-start {
    margin-top: 5px !important;
  }
}

/* ZooDomik v0.1.83.10 — one mobile navigation, context-sensitive priority
   The site and the user cabinet keep exactly the same navigation model.
   On public pages "Швидкі дії" opens first; inside /kabinet/* the same block
   stays collapsed and "Кабінет" opens first. No routes disappear or move to
   a second cabinet-only menu. */
.nav-mobile-quick-actions {
  display: none;
}

.nav-desktop-public-actions {
  display: contents;
}

@media (max-width: 1120px) {
  html body .nav.zd-shared-nav .nav-desktop-public-actions {
    display: none !important;
  }

  html body .nav.zd-shared-nav .nav-mobile-quick-actions {
    display: block !important;
    order: 10 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  html body .nav.zd-shared-nav .nav-mobile-quick-actions > .nav-mobile-quick-trigger {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 48px !important;
    padding: 10px 42px 10px 14px !important;
    border: 1px solid #dbe6e1 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #153f34 !important;
    font-size: .9rem !important;
    font-weight: 750 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    cursor: pointer !important;
    list-style: none !important;
  }

  html body .nav.zd-shared-nav .nav-mobile-quick-actions > .nav-mobile-quick-trigger::-webkit-details-marker {
    display: none !important;
  }

  html body .nav.zd-shared-nav .nav-mobile-quick-actions > .nav-mobile-quick-trigger .nav-caret {
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }

  html body .nav.zd-shared-nav .nav-mobile-quick-actions[open] > .nav-mobile-quick-trigger {
    border-color: #b8d0c5 !important;
    background: #edf5f1 !important;
  }

  html body .nav.zd-shared-nav .nav-mobile-quick-panel {
    display: grid !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 8px 0 0 !important;
  }

  html body .nav.zd-shared-nav .nav-mobile-quick-panel > .nav-primary-route {
    order: 0 !important;
    width: 100% !important;
    margin: 0 !important;
  }

  html body .nav.zd-shared-nav .nav-mobile-quick-panel > .nav-mobile-quick-useful {
    order: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Keep the canonical hierarchy: Quick actions -> Add listing -> Cabinet -> Support. */
  html body .nav.zd-shared-nav .nav-desktop-create {
    order: 21 !important;
  }

  html body .nav.zd-shared-nav .nav-dropdown-cabinet,
  html body .nav.zd-shared-nav .nav-guest-mobile {
    order: 22 !important;
  }

  html body .nav.zd-shared-nav .nav-mobile-add-bottom {
    order: 23 !important;
  }
}

@media (min-width: 1121px) {
  html body .nav.zd-shared-nav .nav-mobile-quick-actions {
    display: none !important;
  }

  html body .nav.zd-shared-nav .nav-desktop-public-actions {
    display: contents !important;
  }
}

/* ZooDomik v0.1.83.11 — mobile menu hierarchy and quiet typography
   Keep one familiar menu, but make its hierarchy readable without bold text:
   equal spacing inside a group, slightly larger spacing between peer groups,
   cabinet destinations get the same title + description language as quick
   actions, and only the active destination (plus its top-level group) receives
   the green active treatment. No DB changes. */
@media (max-width: 1120px) {
  /* Group headings: visible hierarchy without bold typography. */
  html body .nav.zd-shared-nav .nav-mobile-quick-actions > .nav-mobile-quick-trigger,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-trigger,
  html body .nav.zd-shared-nav .nav-dropdown-project > .nav-dropdown-trigger {
    font-weight: 500 !important;
  }

  /* Leaf destinations stay regular; hierarchy comes from spacing, borders and state. */
  html body .nav.zd-shared-nav .nav-mobile-quick-panel .nav-route-title,
  html body .nav.zd-shared-nav .nav-dropdown-project .nav-item,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-item,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-logout,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-route-title {
    font-weight: 400 !important;
  }

  html body .nav.zd-shared-nav .nav-route-meta,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-route-meta {
    font-weight: 400 !important;
  }

  html body .nav.zd-shared-nav .nav-desktop-create,
  html body .nav.zd-shared-nav .nav-support-button {
    font-weight: 500 !important;
  }

  /* One rhythm inside each thematic group. */
  html body .nav.zd-shared-nav .nav-mobile-quick-panel,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-panel,
  html body .nav.zd-shared-nav .nav-mobile-quick-useful > .nav-dropdown-panel {
    gap: 6px !important;
  }

  html body .nav.zd-shared-nav .nav-mobile-quick-panel {
    padding-top: 6px !important;
  }

  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-panel {
    padding-top: 6px !important;
  }

  /* Slightly larger separation between peer blocks: Quick actions / CTA / Cabinet / Support. */
  html body .nav.zd-shared-nav .nav-mobile-quick-actions {
    margin: 0 0 10px !important;
  }

  html body .nav.zd-shared-nav .nav-desktop-create {
    margin: 0 0 10px !important;
  }

  html body .nav.zd-shared-nav .nav-dropdown-cabinet,
  html body .nav.zd-shared-nav .nav-guest-mobile {
    margin: 0 0 12px !important;
  }

  html body .nav.zd-shared-nav .nav-mobile-add-bottom {
    margin-top: 2px !important;
  }

  /* Cabinet destinations use the same two-line language as Quick actions. */
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-item,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-logout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    align-content: center !important;
    align-items: start !important;
    justify-items: start !important;
    min-height: 54px !important;
    padding: 8px 11px !important;
    text-align: left !important;
  }

  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-route-title {
    display: block !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    color: inherit !important;
    font-size: .90rem !important;
    line-height: 1.22 !important;
  }

  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-route-meta {
    display: block !important;
    grid-column: 1 !important;
    grid-row: 2 !important;
    margin-top: 3px !important;
    color: #6b7f76 !important;
    font-size: .74rem !important;
    line-height: 1.28 !important;
  }

  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-logout .nav-route-meta {
    color: #9b6b64 !important;
  }

  /* Opening a group is not the same as choosing a destination. */
  html body .nav.zd-shared-nav .nav-mobile-quick-actions[open] > .nav-mobile-quick-trigger {
    background: #fff !important;
    border-color: #c5d9d0 !important;
    color: #21483d !important;
  }

  /* The top-level heading is accented only when the current route belongs to it. */
  html body .nav.zd-shared-nav .nav-mobile-quick-actions.has-active > .nav-mobile-quick-trigger {
    background: #eff6f2 !important;
    border-color: #b8d0c5 !important;
    color: #174d3d !important;
  }

  /* Neutral siblings: no chain of green cards when Quick actions is open. */
  html body .nav.zd-shared-nav .nav-mobile-quick-panel > .nav-primary-route {
    background: #fff !important;
    border-color: #dbe6e1 !important;
    color: #31564b !important;
    box-shadow: 0 1px 0 rgba(18, 61, 49, .02) !important;
  }

  html body .nav.zd-shared-nav .nav-mobile-quick-panel > .nav-primary-route .nav-route-title {
    color: #173f34 !important;
  }

  html body .nav.zd-shared-nav .nav-mobile-quick-panel > .nav-primary-route:hover,
  html body .nav.zd-shared-nav .nav-mobile-quick-panel > .nav-primary-route:focus-visible {
    background: #f4f8f6 !important;
    border-color: #bdd3ca !important;
  }

  /* Same active language as Cabinet: only the current destination is stronger. */
  html body .nav.zd-shared-nav .nav-mobile-quick-panel > .nav-primary-route.is-active {
    background: #dfeee7 !important;
    border-color: #9fc6b5 !important;
    color: #0e4b39 !important;
    font-weight: 400 !important;
    box-shadow: inset 3px 0 0 #2a735d !important;
  }

  html body .nav.zd-shared-nav .nav-mobile-quick-panel > .nav-primary-route.is-active .nav-route-title {
    color: #0e4b39 !important;
    font-weight: 400 !important;
  }

  /* Nested "Корисне" stays neutral when merely opened; active state is explicit. */
  html body .nav.zd-shared-nav .nav-mobile-quick-useful[open] > .nav-dropdown-trigger {
    background: #fff !important;
    border-color: #c5d9d0 !important;
    color: #21483d !important;
  }

  html body .nav.zd-shared-nav .nav-mobile-quick-useful.has-active > .nav-dropdown-trigger {
    background: #eff6f2 !important;
    border-color: #b8d0c5 !important;
    color: #174d3d !important;
  }

  /* Active items in Cabinet keep the same visual pattern but not bold text. */
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-item.is-active {
    background: #dfeee7 !important;
    border-color: #9fc6b5 !important;
    color: #0e4b39 !important;
    font-weight: 400 !important;
    box-shadow: inset 3px 0 0 #2a735d !important;
  }

  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-item.is-active .nav-route-title {
    font-weight: 400 !important;
  }
}

@media (min-width: 1121px) {
  /* Cabinet descriptions are a mobile navigation aid; keep the desktop dropdown compact. */
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-route-meta {
    display: none !important;
  }
}

/* ZooDomik v0.1.83.12 — one visual language for mobile navigation
   Quick actions and Cabinet keep the same component language. Only the primary
   "Додати анкету" CTA is intentionally different. Active state uses a quiet
   green side accent instead of a filled green card. No DB changes. */
@media (max-width: 1120px) {
  /* Top-level accordion buttons use exactly the same geometry and typography. */
  html body .nav.zd-shared-nav .nav-mobile-quick-actions > .nav-mobile-quick-trigger,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-trigger {
    min-height: 44px !important;
    padding: 9px 42px 9px 12px !important;
    border: 1px solid #dbe6e1 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #274d42 !important;
    box-shadow: none !important;
    font-size: .90rem !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    text-align: center !important;
  }

  html body .nav.zd-shared-nav .nav-mobile-quick-actions > .nav-mobile-quick-trigger:hover,
  html body .nav.zd-shared-nav .nav-mobile-quick-actions > .nav-mobile-quick-trigger:focus-visible,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-trigger:hover,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-trigger:focus-visible {
    background: #f8fbf9 !important;
    border-color: #c8d9d1 !important;
    color: #17483a !important;
  }

  /* Open means expanded, not active: do not fill the button. */
  html body .nav.zd-shared-nav .nav-mobile-quick-actions[open] > .nav-mobile-quick-trigger,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet[open] > .nav-dropdown-trigger {
    background: #fff !important;
    border-color: #d1dfd8 !important;
    color: #274d42 !important;
    box-shadow: none !important;
  }

  /* Current thematic group gets only a quiet left accent. */
  html body .nav.zd-shared-nav .nav-mobile-quick-actions.has-active > .nav-mobile-quick-trigger,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet.has-active > .nav-dropdown-trigger {
    background: #fff !important;
    border-color: #b8d0c5 !important;
    color: #17483a !important;
    box-shadow: inset 3px 0 0 #2a735d !important;
    font-weight: 400 !important;
  }

  /* Quick actions and Cabinet leaves share one card geometry. */
  html body .nav.zd-shared-nav .nav-mobile-quick-panel > .nav-primary-route,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-panel > .nav-item,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-panel > .nav-logout-form > .nav-item {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    align-content: center !important;
    align-items: start !important;
    justify-items: start !important;
    width: 100% !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 8px 11px !important;
    border: 1px solid #dbe6e1 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #274d42 !important;
    box-shadow: none !important;
    text-align: left !important;
    font-size: .90rem !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
  }

  html body .nav.zd-shared-nav .nav-mobile-quick-panel .nav-route-title,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-route-title {
    display: block !important;
    margin: 0 !important;
    color: #274d42 !important;
    font-size: .90rem !important;
    font-weight: 400 !important;
    line-height: 1.24 !important;
  }

  html body .nav.zd-shared-nav .nav-mobile-quick-panel .nav-route-meta,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-route-meta {
    display: block !important;
    margin-top: 3px !important;
    color: #6b7f76 !important;
    font-size: .74rem !important;
    font-weight: 400 !important;
    line-height: 1.28 !important;
  }

  html body .nav.zd-shared-nav .nav-mobile-quick-panel > .nav-primary-route:hover,
  html body .nav.zd-shared-nav .nav-mobile-quick-panel > .nav-primary-route:focus-visible,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-panel > .nav-item:hover,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-panel > .nav-item:focus-visible,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-panel > .nav-logout-form > .nav-item:hover,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-panel > .nav-logout-form > .nav-item:focus-visible {
    background: #f8fbf9 !important;
    border-color: #c8d9d1 !important;
    color: #17483a !important;
  }

  /* Active leaf: no filled card, only a small green side accent. */
  html body .nav.zd-shared-nav .nav-mobile-quick-panel > .nav-primary-route.is-active,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-panel > .nav-item.is-active {
    background: #fff !important;
    border-color: #b8d0c5 !important;
    color: #17483a !important;
    box-shadow: inset 3px 0 0 #2a735d !important;
    font-weight: 400 !important;
  }

  html body .nav.zd-shared-nav .nav-mobile-quick-panel > .nav-primary-route.is-active .nav-route-title,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-panel > .nav-item.is-active .nav-route-title {
    color: #17483a !important;
    font-weight: 400 !important;
  }

  /* "Корисне" follows the same card language as all other destinations. */
  html body .nav.zd-shared-nav .nav-mobile-quick-useful > .nav-dropdown-trigger {
    min-height: 54px !important;
    padding: 8px 40px 8px 11px !important;
    border: 1px solid #dbe6e1 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #274d42 !important;
    box-shadow: none !important;
    font-size: .90rem !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
  }

  html body .nav.zd-shared-nav .nav-mobile-quick-useful > .nav-dropdown-trigger .nav-route-title {
    color: #274d42 !important;
    font-size: .90rem !important;
    font-weight: 400 !important;
    line-height: 1.24 !important;
  }

  html body .nav.zd-shared-nav .nav-mobile-quick-useful > .nav-dropdown-trigger .nav-route-meta {
    color: #6b7f76 !important;
    font-size: .74rem !important;
    font-weight: 400 !important;
    line-height: 1.28 !important;
  }

  html body .nav.zd-shared-nav .nav-mobile-quick-useful[open] > .nav-dropdown-trigger {
    background: #fff !important;
    border-color: #d1dfd8 !important;
    color: #274d42 !important;
    box-shadow: none !important;
  }

  html body .nav.zd-shared-nav .nav-mobile-quick-useful.has-active > .nav-dropdown-trigger {
    background: #fff !important;
    border-color: #b8d0c5 !important;
    color: #17483a !important;
    box-shadow: inset 3px 0 0 #2a735d !important;
  }

  html body .nav.zd-shared-nav .nav-mobile-quick-useful > .nav-dropdown-panel .nav-item {
    background: #fff !important;
    border-color: #dbe6e1 !important;
    color: #274d42 !important;
    font-size: .90rem !important;
    font-weight: 400 !important;
  }

  html body .nav.zd-shared-nav .nav-mobile-quick-useful > .nav-dropdown-panel .nav-item.is-active {
    background: #fff !important;
    border-color: #b8d0c5 !important;
    color: #17483a !important;
    box-shadow: inset 3px 0 0 #2a735d !important;
    font-weight: 400 !important;
  }

  /* Logout remains semantically a logout, but visually belongs to the same menu. */
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-logout,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-logout:hover,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-logout:focus-visible {
    background: #fff !important;
    border-color: #dbe6e1 !important;
    color: #274d42 !important;
  }

  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-logout .nav-route-title,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet .nav-logout .nav-route-meta {
    color: inherit !important;
  }

  /* Support belongs to the same secondary menu language; Create listing stays the sole green CTA. */
  html body .nav.zd-shared-nav .nav-support-button {
    min-height: 44px !important;
    border: 1px solid #dbe6e1 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #274d42 !important;
    box-shadow: none !important;
    font-size: .90rem !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
  }

  html body .nav.zd-shared-nav .nav-support-button:hover,
  html body .nav.zd-shared-nav .nav-support-button:focus-visible {
    background: #f8fbf9 !important;
    border-color: #c8d9d1 !important;
    color: #17483a !important;
  }

  html body .nav.zd-shared-nav .nav-desktop-create,
  html body .nav.zd-shared-nav .nav-desktop-create:hover,
  html body .nav.zd-shared-nav .nav-desktop-create:focus-visible {
    font-size: .90rem !important;
    font-weight: 600 !important;
  }
}

/* Support modal: shorter heading and calmer mobile scale so it does not break awkwardly. */
.support-modal-card h2#support-modal-title {
  max-width: calc(100% - 58px) !important;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem) !important;
  line-height: 1.08 !important;
}

@media (max-width: 640px) {
  .support-modal-card h2#support-modal-title {
    max-width: calc(100% - 50px) !important;
    font-size: 1.55rem !important;
    line-height: 1.1 !important;
  }
}

/* ZooDomik v0.1.83.13 — mobile navigation + separate bottom action dock
   Navigation stays only navigation: “Швидкі дії” and “Кабінет” remain the
   two peer accordion groups. Global actions are separated into a persistent
   bottom zone so “Додати анкету” and support no longer split the hierarchy. */
.nav-global-actions {
  display: contents;
}

@media (max-width: 1120px) {
  /* Reserve space for the persistent action zone so long accordion content
     never disappears underneath it. */
  html body .nav .zd-shared-nav-menu {
    padding-bottom: calc(138px + env(safe-area-inset-bottom)) !important;
  }

  /* The two navigation groups now read as one coherent navigation system. */
  html body .nav.zd-shared-nav .nav-mobile-quick-actions {
    margin: 0 0 8px !important;
  }

  html body .nav.zd-shared-nav .nav-dropdown-cabinet,
  html body .nav.zd-shared-nav .nav-guest-mobile {
    margin: 0 !important;
  }

  /* Global actions live outside the navigation hierarchy and remain reachable
     even when one of the accordion groups is long. */
  html body .nav.zd-shared-nav .nav-global-actions {
    position: fixed !important;
    left: 16px !important;
    right: 16px !important;
    bottom: max(10px, env(safe-area-inset-bottom)) !important;
    z-index: 1002 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 10px 0 0 !important;
    border-top: 1px solid #dfe8e3 !important;
    background: #fffdf9 !important;
    box-shadow: 0 -10px 18px rgba(18, 61, 49, .035) !important;
  }

  html body .nav.zd-shared-nav .nav-global-actions .nav-global-create {
    order: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 10px 16px !important;
    border: 1px solid #155743 !important;
    border-radius: 10px !important;
    background: #155743 !important;
    color: #fff !important;
    box-shadow: none !important;
    font-size: .90rem !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    text-align: center !important;
  }

  html body .nav.zd-shared-nav .nav-global-actions .nav-global-create:hover,
  html body .nav.zd-shared-nav .nav-global-actions .nav-global-create:focus-visible {
    border-color: #0f4435 !important;
    background: #0f4435 !important;
    color: #fff !important;
    outline: none !important;
  }

  html body .nav.zd-shared-nav .nav-global-actions .nav-mobile-add-bottom {
    order: 2 !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  html body .nav.zd-shared-nav .nav-global-actions .nav-support-button {
    width: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 9px 14px !important;
    border: 1px solid #dbe6e1 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #274d42 !important;
    box-shadow: none !important;
    font-size: .90rem !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
  }

  html body .nav.zd-shared-nav .nav-global-actions .nav-support-button:hover,
  html body .nav.zd-shared-nav .nav-global-actions .nav-support-button:focus-visible {
    background: #f8fbf9 !important;
    border-color: #c8d9d1 !important;
    color: #17483a !important;
    outline: none !important;
  }
}

@media (min-width: 1121px) {
  /* On desktop the wrapper is layout-transparent, so the established header
     order and spacing continue to be controlled by the existing child rules. */
  html body .nav.zd-shared-nav .nav-global-actions {
    display: contents !important;
  }
}

/* ZooDomik v0.1.83.14 — true bottom action zone in mobile drawer
   The drawer itself is a flex column. Global actions stay in normal document
   flow and use margin-top:auto, so they sit at the bottom when the navigation
   is short and naturally follow it when an opened accordion becomes taller
   than the viewport. Avoid position:fixed here: the fullscreen drawer is a
   fixed/scrolling context and fixed descendants can be visually misplaced. */
@media (max-width: 1120px) {
  html body .nav .zd-shared-nav-menu {
    padding-bottom: max(18px, env(safe-area-inset-bottom)) !important;
  }

  html body .nav.zd-shared-nav .nav-global-actions {
    position: static !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    z-index: auto !important;
    order: 30 !important;
    flex: 0 0 auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    margin: auto 0 0 !important;
    padding: 16px 0 0 !important;
    border-top: 1px solid #dfe8e3 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  /* Keep the floating helpers in their normal page state here.
     v0.1.83.15 hides the support shortcut only while the mobile drawer is open. */
}


/* ZooDomik v0.1.83.15 — hide duplicate floating support only while mobile navigation is open
   The drawer already exposes “Написати у підтримку”. Outside the drawer the canonical floating
   support shortcut keeps its normal page-specific behavior. Covers both shared and fallback controls. */
@media (max-width: 1120px) {
  html body.nav-lock .floating-actions .js-support-open,
  html body.nav-lock .zd-shared-floating-actions .js-support-open,
  html body.nav-lock .floating-actions-fallback .js-support-open {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}
/* ZooDomik v0.1.83.16 — support title alignment + owner public-profile Cabinet context
   Keep the support heading aligned with the kicker/body even when fullscreen modal
   rules center other direct children. The navigation-context change itself lives in
   app/layout.php; this CSS only fixes the heading geometry. */
.support-modal-card h2#support-modal-title {
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}


/* ZooDomik v0.1.83.17 — canonical mobile navigation active state: no green fills
   Expanded, hovered and active navigation items stay white. Route/context is
   communicated only by border colour + a slim green inset marker. The sole
   filled green control in the drawer remains “Додати анкету”. */
@media (max-width: 1120px) {
  /* Peer group headings: open/active is never a filled state. */
  html body .nav.zd-shared-nav .nav-mobile-quick-actions > .nav-mobile-quick-trigger,
  html body .nav.zd-shared-nav .nav-mobile-quick-actions[open] > .nav-mobile-quick-trigger,
  html body .nav.zd-shared-nav .nav-mobile-quick-actions.has-active > .nav-mobile-quick-trigger,
  html body .nav.zd-shared-nav .nav-mobile-quick-actions > .nav-mobile-quick-trigger:hover,
  html body .nav.zd-shared-nav .nav-mobile-quick-actions > .nav-mobile-quick-trigger:focus-visible,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-trigger,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet[open] > .nav-dropdown-trigger,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet.has-active > .nav-dropdown-trigger,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-trigger:hover,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-trigger:focus-visible {
    background: #fff !important;
  }

  /* Every Quick Actions leaf remains white in normal/hover/focus/active states. */
  html body .nav.zd-shared-nav .nav-mobile-quick-panel > .nav-primary-route,
  html body .nav.zd-shared-nav .nav-mobile-quick-panel > .nav-primary-route:hover,
  html body .nav.zd-shared-nav .nav-mobile-quick-panel > .nav-primary-route:focus-visible,
  html body .nav.zd-shared-nav .nav-mobile-quick-panel > .nav-primary-route.is-active {
    background: #fff !important;
  }

  /* “Корисне” and its nested destinations use the same white surface. */
  html body .nav.zd-shared-nav .nav-mobile-quick-useful > .nav-dropdown-trigger,
  html body .nav.zd-shared-nav .nav-mobile-quick-useful[open] > .nav-dropdown-trigger,
  html body .nav.zd-shared-nav .nav-mobile-quick-useful.has-active > .nav-dropdown-trigger,
  html body .nav.zd-shared-nav .nav-mobile-quick-useful > .nav-dropdown-trigger:hover,
  html body .nav.zd-shared-nav .nav-mobile-quick-useful > .nav-dropdown-trigger:focus-visible,
  html body .nav.zd-shared-nav .nav-mobile-quick-useful > .nav-dropdown-panel .nav-item,
  html body .nav.zd-shared-nav .nav-mobile-quick-useful > .nav-dropdown-panel .nav-item:hover,
  html body .nav.zd-shared-nav .nav-mobile-quick-useful > .nav-dropdown-panel .nav-item:focus-visible,
  html body .nav.zd-shared-nav .nav-mobile-quick-useful > .nav-dropdown-panel .nav-item.is-active {
    background: #fff !important;
  }

  /* Cabinet leaves follow exactly the same rule. */
  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-panel > .nav-item,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-panel > .nav-item:hover,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-panel > .nav-item:focus-visible,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-panel > .nav-item.is-active,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-panel > .nav-logout-form > .nav-item,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-panel > .nav-logout-form > .nav-item:hover,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-panel > .nav-logout-form > .nav-item:focus-visible {
    background: #fff !important;
  }

  /* Context group = quiet green left marker, no fill. */
  html body .nav.zd-shared-nav .nav-mobile-quick-actions.has-active > .nav-mobile-quick-trigger,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet.has-active > .nav-dropdown-trigger,
  html body .nav.zd-shared-nav .nav-mobile-quick-useful.has-active > .nav-dropdown-trigger {
    border-color: #b8d0c5 !important;
    box-shadow: inset 3px 0 0 #2a735d !important;
  }

  /* Exact current route = same language, slightly clearer border only. */
  html body .nav.zd-shared-nav .nav-mobile-quick-panel > .nav-primary-route.is-active,
  html body .nav.zd-shared-nav .nav-mobile-quick-useful > .nav-dropdown-panel .nav-item.is-active,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-panel > .nav-item.is-active {
    border-color: #9fc6b5 !important;
    box-shadow: inset 3px 0 0 #2a735d !important;
    color: #17483a !important;
    font-weight: 400 !important;
  }
}

/* ZooDomik v0.1.83.18 — remove residual green surfaces behind mobile navigation lists
   v0.1.83.17 made the actual buttons white, but legacy .nav-dropdown.has-active
   still painted the parent <details> surface mint. That surface remained visible
   through grid gaps around Quick Actions / Useful items. Navigation containers are
   now always transparent; only the trigger/current item keeps the green border/side marker. */
@media (max-width: 1120px) {
  html body .nav.zd-shared-nav .nav-mobile-quick-actions,
  html body .nav.zd-shared-nav .nav-mobile-quick-actions[open],
  html body .nav.zd-shared-nav .nav-mobile-quick-actions.has-active,
  html body .nav.zd-shared-nav .nav-mobile-quick-panel,
  html body .nav.zd-shared-nav .nav-mobile-quick-useful,
  html body .nav.zd-shared-nav .nav-mobile-quick-useful[open],
  html body .nav.zd-shared-nav .nav-mobile-quick-useful.has-active,
  html body .nav.zd-shared-nav .nav-mobile-quick-useful > .nav-dropdown-panel,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet[open],
  html body .nav.zd-shared-nav .nav-dropdown-cabinet.has-active,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-panel {
    background: transparent !important;
    box-shadow: none !important;
  }

  /* Nested “Корисне” must not expose the generic mobile .nav-dropdown card
     around its white children. Geometry belongs to its trigger/items, not wrapper. */
  html body .nav.zd-shared-nav .nav-mobile-quick-useful,
  html body .nav.zd-shared-nav .nav-mobile-quick-useful[open],
  html body .nav.zd-shared-nav .nav-mobile-quick-useful.has-active {
    border: 0 !important;
    padding: 0 !important;
  }

  /* Same principle for the two top peer groups: parent wrappers never indicate
     state by fill. State remains on the heading/leaf via border + inset marker. */
  html body .nav.zd-shared-nav .nav-mobile-quick-actions,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet {
    border-color: transparent !important;
  }
}

/* ZooDomik v0.1.83.20 — Cabinet route arrows + muted logout action
   Mobile Cabinet destinations mirror Quick Actions with a right chevron.
   Logout remains part of the same geometry but is visually distinguished by
   a calm muted-red text/border treatment, without a strong filled surface. */
@media (max-width: 1120px) {
  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-panel > .nav-item,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-panel > .nav-logout-form > .nav-item {
    grid-template-columns: minmax(0, 1fr) 24px !important;
  }

  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-panel > .nav-item::after,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-panel > .nav-logout-form > .nav-item::after {
    content: '›' !important;
    grid-column: 2 !important;
    grid-row: 1 / 3 !important;
    align-self: center !important;
    justify-self: end !important;
    color: #6f837a !important;
    font-size: 1.35rem !important;
    font-weight: 500 !important;
    line-height: 1 !important;
  }

  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-panel > .nav-item .nav-route-title,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-panel > .nav-item .nav-route-meta,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-panel > .nav-logout-form > .nav-item .nav-route-title,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-panel > .nav-logout-form > .nav-item .nav-route-meta {
    grid-column: 1 !important;
  }

  /* Logout: noticeable, but intentionally quiet. No saturated red fill. */
  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-panel > .nav-logout-form > .nav-logout,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-panel > .nav-logout-form > .nav-logout:hover,
  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-panel > .nav-logout-form > .nav-logout:focus-visible {
    background: #fff !important;
    border-color: #e3c7c3 !important;
    color: #985a52 !important;
    box-shadow: none !important;
  }

  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-panel > .nav-logout-form > .nav-logout .nav-route-title {
    color: #925249 !important;
    font-weight: 400 !important;
  }

  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-panel > .nav-logout-form > .nav-logout .nav-route-meta {
    color: #a87770 !important;
    font-weight: 400 !important;
  }

  html body .nav.zd-shared-nav .nav-dropdown-cabinet > .nav-dropdown-panel > .nav-logout-form > .nav-logout::after {
    color: #b17972 !important;
  }
}

/* ZooDomik v0.1.83.22 — verified account contacts, profile photo AJAX and profile location */
.contact-verification-banner {
  position: fixed;
  top: var(--header-height, 78px);
  left: 0;
  right: 0;
  z-index: 1185;
  min-height: 50px;
  border-top: 1px solid rgba(177, 113, 72, .18);
  border-bottom: 1px solid rgba(177, 113, 72, .22);
  background: #fff8f1;
  color: #714a37;
}
.contact-verification-banner-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 50px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
}
.contact-verification-banner-inner strong { font-weight: 600; color: #8b4e35; }
.contact-verification-banner-inner a {
  flex: 0 0 auto;
  color: var(--green, #164c3b);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  font-weight: 500;
}
html.has-contact-verification-banner .page-shell { padding-top: calc(var(--header-height, 78px) + 50px); }
body.nav-lock .contact-verification-banner { visibility: hidden; }

.security-identity-note {
  display: grid;
  gap: 4px;
  margin: 0 0 16px;
  padding: 13px 15px;
  border: 1px solid rgba(22, 76, 59, .14);
  border-radius: 14px;
  background: #f7fbf8;
  color: var(--ink, #17352d);
}
.security-identity-note strong { font-weight: 600; }
.security-identity-note span { color: var(--muted, #5f766f); font-size: 14px; }
.security-password-card { grid-column: 1 / -1; }

.profile-photo-upload-status {
  min-height: 1.2em;
  margin: 6px 0 0;
  color: var(--muted, #5f766f);
  font-size: 13px;
}
.profile-photo-upload-status.is-success { color: var(--green, #164c3b); }
.profile-photo-upload-status.is-error { color: #985a52; }
.profile-account-contact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
.profile-account-contact-row input[readonly] {
  background: #f7f8f6;
  color: #52655f;
}
.profile-account-contact-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(22, 76, 59, .20);
  border-radius: 12px;
  color: var(--green, #164c3b);
  text-decoration: none;
  background: #fff;
  white-space: nowrap;
}
.profile-location-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.profile-location-head h2 { margin-bottom: 6px; }
.profile-location-head .account-muted { margin: 0; }
.profile-location-simple-grid { margin-top: 0; }
.profile-location-privacy-note {
  margin: 12px 0 0;
  color: var(--muted, #5f766f);
  font-size: 13px;
}

@media (max-width: 760px) {
  .contact-verification-banner { min-height: 64px; }
  .contact-verification-banner-inner {
    width: min(100% - 24px, 620px);
    min-height: 64px;
    gap: 10px;
    font-size: 12.5px;
    line-height: 1.35;
  }
  html.has-contact-verification-banner .page-shell { padding-top: calc(var(--header-height, 70px) + 64px); }
  .security-password-card { grid-column: auto; }
  .profile-location-head { display: grid; }
  .profile-location-head .btn { width: 100%; }
  .profile-account-contact-row { grid-template-columns: 1fr; }
  .profile-account-contact-link { width: 100%; }
}

/* ZooDomik v0.1.83.25 — calm Security workspace + verification UX.
   Security follows the same Design 2.0 language as Profile: restrained type,
   one hierarchy, progressive disclosure and no oversized settings cards. */
.site-header .nav.zd-shared-nav {
  position: relative;
  z-index: 3;
}
.contact-verification-banner {
  z-index: 2;
}

.account-security-workspace {
  width: min(1060px, calc(100% - 32px));
  max-width: none;
}
.account-security-workspace .security-title-row {
  margin-bottom: 1rem;
}
.account-security-workspace .security-title-row h1 {
  margin: 0.22rem 0 0;
  color: var(--green, #164c3b);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.account-security-workspace .security-title-row .account-muted {
  max-width: 900px;
  margin-top: .55rem;
  font-size: .98rem;
  font-weight: 400;
  line-height: 1.55;
}
.account-security-workspace .security-live {
  display: grid;
  gap: 14px;
}
.account-security-workspace .form-section {
  margin: 0;
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  box-shadow: none;
}
.account-security-workspace .security-section-head {
  margin-bottom: .85rem;
}
.account-security-workspace .security-section-head h2 {
  margin: 0;
  color: var(--green, #164c3b);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 550;
  line-height: 1.2;
}
.account-security-workspace .security-section-head .account-muted {
  margin: .35rem 0 0;
  max-width: 780px;
  font-size: .9rem;
  font-weight: 400;
  line-height: 1.5;
}
.account-security-workspace .security-contact-list {
  display: grid;
  gap: 10px;
}
.account-security-workspace .security-contact-disclosure,
.account-security-workspace .security-password-disclosure {
  border: 1px solid var(--line, #d7e1dc);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.account-security-workspace .security-contact-disclosure > summary,
.account-security-workspace .security-password-disclosure > summary {
  list-style: none;
  min-height: 68px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  cursor: pointer;
  color: var(--ink, #17352d);
  background: #fff;
}
.account-security-workspace .security-password-disclosure > summary {
  grid-template-columns: minmax(0, 1fr) 18px;
}
.account-security-workspace summary::-webkit-details-marker {
  display: none;
}
.account-security-workspace .security-contact-disclosure > summary:hover,
.account-security-workspace .security-contact-disclosure > summary:focus-visible,
.account-security-workspace .security-password-disclosure > summary:hover,
.account-security-workspace .security-password-disclosure > summary:focus-visible {
  background: #fbfdfc;
  outline: none;
}
.account-security-workspace .security-contact-summary-copy,
.account-security-workspace .security-password-disclosure > summary > span:first-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.account-security-workspace .security-contact-name {
  color: var(--green, #164c3b);
  font-size: .98rem;
  font-weight: 500;
  line-height: 1.3;
}
.account-security-workspace .security-contact-value {
  min-width: 0;
  color: var(--muted, #5f766f);
  font-size: .82rem;
  font-weight: 400;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.account-security-workspace .security-contact-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid #dce5e1;
  border-radius: 999px;
  background: #f7f9f8;
  color: #60716b;
  font-size: .72rem;
  font-weight: 450;
  line-height: 1.2;
  white-space: nowrap;
}
.account-security-workspace .security-contact-status.is-verified {
  border-color: rgba(22, 76, 59, .17);
  background: #f2f8f5;
  color: #2f6655;
}
.account-security-workspace .security-contact-status.is-pending,
.account-security-workspace .security-contact-status.is-unverified {
  border-color: rgba(177, 113, 72, .20);
  background: #fff9f2;
  color: #8a5b3e;
}
.account-security-workspace .security-disclosure-caret {
  width: 8px;
  height: 8px;
  justify-self: end;
  border-right: 1.5px solid #547168;
  border-bottom: 1.5px solid #547168;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}
.account-security-workspace details[open] > summary .security-disclosure-caret {
  transform: rotate(225deg) translate(-1px, -1px);
}
.account-security-workspace .security-contact-body,
.account-security-workspace .security-password-body {
  display: grid;
  gap: 14px;
  padding: 15px;
  border-top: 1px solid var(--line, #d7e1dc);
  background: #fff;
}
.account-security-workspace .security-pending-inline {
  display: grid;
  gap: 3px;
  padding: 11px 13px;
  border: 1px solid rgba(22, 76, 59, .13);
  border-radius: 12px;
  background: #f7fbf8;
}
.account-security-workspace .security-pending-inline > span,
.account-security-workspace .security-pending-inline > small {
  color: var(--muted, #5f766f);
  font-size: .8rem;
  font-weight: 400;
  line-height: 1.4;
}
.account-security-workspace .security-pending-inline > strong {
  color: var(--green, #164c3b);
  font-size: .94rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.account-security-workspace .security-action-copy {
  max-width: 760px;
  margin: 0;
  color: var(--muted, #5f766f);
  font-size: .88rem;
  font-weight: 400;
  line-height: 1.5;
}
.account-security-workspace .security-code-grid {
  display: grid;
  grid-template-columns: minmax(0, 360px);
  gap: 12px;
}
.account-security-workspace .security-code-grid.has-two-codes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.account-security-workspace .security-contact-request {
  max-width: 620px;
}
.account-security-workspace .field,
.account-security-workspace .field > label,
.account-security-workspace .field small,
.account-security-workspace .btn,
.account-security-workspace .security-text-action,
.account-security-workspace .security-contact-change > summary {
  font-weight: 400;
}
.account-security-workspace .field > label {
  font-weight: 450;
}
.account-security-workspace .btn {
  font-weight: 500;
}
.account-security-workspace .security-inline-actions {
  margin-top: .2rem;
  justify-content: flex-start;
}
.account-security-workspace .security-inline-actions .btn {
  min-height: 42px;
}
.account-security-workspace .security-quiet-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: -2px;
}
.account-security-workspace .security-quiet-actions form {
  margin: 0;
}
.account-security-workspace .security-text-action,
.account-security-workspace .security-contact-change > summary {
  border: 0;
  background: transparent;
  color: var(--green, #164c3b);
  padding: 0;
  font: inherit;
  font-size: .84rem;
  text-decoration: underline;
  text-decoration-color: rgba(22, 76, 59, .28);
  text-underline-offset: 3px;
  cursor: pointer;
}
.account-security-workspace .security-contact-change {
  margin-top: 2px;
  padding-top: 11px;
  border-top: 1px solid rgba(22, 76, 59, .09);
}
.account-security-workspace .security-contact-change > summary {
  list-style: none;
  width: fit-content;
}
.account-security-workspace .security-contact-change[open] > summary {
  margin-bottom: 12px;
}
.account-security-workspace .security-password-disclosure {
  padding: 0;
  box-shadow: none;
}
.account-security-workspace .security-password-body > .account-muted {
  margin: 0;
  font-size: .88rem;
  font-weight: 400;
}
.account-security-workspace .security-password-body .form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.account-security-workspace .security-password-body .form-actions {
  grid-column: 1 / -1;
}

@media (max-width: 760px) {
  .account-security-workspace {
    width: min(100% - 20px, 1060px);
  }
  .account-security-workspace .security-title-row {
    margin-bottom: .8rem;
  }
  .account-security-workspace .security-title-row h1 {
    font-size: clamp(1.9rem, 9vw, 2.35rem);
  }
  .account-security-workspace .security-title-row .account-muted {
    font-size: .9rem;
  }
  .account-security-workspace .form-section {
    padding: .85rem;
    border-radius: 14px;
  }
  .account-security-workspace .security-contact-disclosure > summary,
  .account-security-workspace .security-password-disclosure > summary {
    min-height: 64px;
    gap: 9px;
    padding: 11px 12px;
  }
  .account-security-workspace .security-contact-status {
    padding-inline: 7px;
    font-size: .68rem;
  }
  .account-security-workspace .security-contact-body,
  .account-security-workspace .security-password-body {
    padding: 13px 12px;
  }
  .account-security-workspace .security-code-grid,
  .account-security-workspace .security-code-grid.has-two-codes,
  .account-security-workspace .security-password-body .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .account-security-workspace .security-inline-actions .btn {
    width: 100%;
  }
}

/* ZooDomik v0.1.83.26 — calm, task-first “Мої анкети” workspace.
   The dashboard keeps lifecycle/status functionality intact and only makes
   the next user action clearer. No DB/schema changes. */
.user-dashboard-shell {
  width: min(1120px, calc(100% - 32px));
}

.user-dashboard-head {
  margin-bottom: 1rem;
}

.user-dashboard-head h1 {
  margin-top: .25rem;
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 520;
  letter-spacing: -.025em;
}

.user-dashboard-head .account-muted {
  max-width: 720px;
  margin-top: .45rem;
  line-height: 1.55;
}

.user-dashboard-empty {
  padding: clamp(1.4rem, 4vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  text-align: left;
}

.user-dashboard-empty h2 {
  margin: 0 0 .35rem;
  font-size: 1.25rem;
  font-weight: 500;
}

.user-dashboard-empty p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.user-dashboard-empty-action {
  margin-top: 1rem;
  width: fit-content;
  font-weight: 500;
}

.user-dashboard-attention {
  margin: 0 0 .9rem;
  border: 1px solid rgba(174, 111, 24, .34);
  border-left: 3px solid #ad711f;
  border-radius: 13px;
  background: #fff;
  padding: .75rem .85rem;
  color: #654a26;
}

.user-dashboard-attention > div {
  display: flex;
  align-items: baseline;
  gap: .45rem;
  flex-wrap: wrap;
}

.user-dashboard-attention-title {
  color: #875818;
  font-weight: 500;
}

.user-dashboard-toolbar {
  margin: .7rem 0 .9rem;
}

.user-dashboard-toolbar .cabinet-tabs {
  gap: .38rem;
}

.user-dashboard-toolbar .cabinet-tab {
  min-height: 38px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--green);
  font-weight: 400;
}

.user-dashboard-toolbar .cabinet-tab:hover,
.user-dashboard-toolbar .cabinet-tab:focus-visible {
  border-color: rgba(22, 99, 76, .42);
  background: #fff;
}

.user-dashboard-toolbar .cabinet-tab.is-active {
  border-color: var(--green);
  box-shadow: inset 3px 0 0 var(--green);
  background: #fff;
  color: var(--green);
}

.user-dashboard-toolbar .cabinet-tab b {
  font-weight: 450;
}

.user-pet-list {
  gap: .65rem;
}

.user-pet-row,
.user-pet-row.needs-renewal {
  border: 1px solid var(--line);
  background: #fff;
}

.user-pet-row.needs-renewal {
  border-color: rgba(174, 111, 24, .42);
  box-shadow: inset 3px 0 0 #ad711f;
}

.user-pet-reference {
  font-size: .75rem;
  font-weight: 400;
}

.user-pet-title {
  font-size: .98rem;
  font-weight: 500;
}

.user-pet-state-chip {
  min-height: 27px;
  border: 1px solid rgba(22, 99, 76, .26);
  background: #fff;
  color: var(--green);
  font-size: .77rem;
  font-weight: 450;
}

.user-pet-state-chip.is-warning {
  border-color: rgba(174, 111, 24, .38);
  background: #fff;
  color: #875818;
}

.user-pet-state-chip.is-muted {
  border-color: #dce3e0;
  background: #fff;
  color: #61716b;
}

.user-pet-state-note {
  font-size: .78rem;
}

.user-pet-primary-action {
  grid-template-columns: minmax(104px, 1fr) minmax(92px, .8fr);
}

.user-pet-row.has-renew-action .user-pet-primary-action {
  grid-template-columns: minmax(104px, .8fr) minmax(160px, 1.25fr) minmax(92px, .75fr);
}

.user-pet-edit-button,
.user-pet-renew-button,
.user-pet-actions > summary {
  font-weight: 450;
}

.user-pet-actions > summary {
  justify-content: space-between;
}

.user-pet-actions-panel a,
.user-pet-actions-panel button {
  font-weight: 400;
}

.user-pet-archive-confirm {
  min-height: 42px;
  border: 1px solid rgba(161, 61, 47, .38);
  border-radius: 999px;
  background: #fff;
  color: #9a493d;
  padding: .65rem 1rem;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.user-pet-archive-confirm:hover,
.user-pet-archive-confirm:focus-visible {
  border-color: #9a493d;
  background: #fff;
}

@media (max-width: 760px) {
  .user-dashboard-shell {
    width: min(100% - 20px, 1120px);
  }

  .user-dashboard-head h1 {
    font-size: clamp(1.85rem, 8.5vw, 2.25rem);
  }

  .user-dashboard-attention > div {
    display: grid;
    gap: .18rem;
  }

  .user-dashboard-toolbar .cabinet-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .user-dashboard-toolbar .cabinet-tab {
    width: 100%;
    justify-content: space-between;
  }

  .user-pet-row,
  .user-pet-row.needs-renewal {
    padding: .68rem;
  }

  .user-pet-primary-action,
  .user-pet-row.has-renew-action .user-pet-primary-action {
    grid-template-columns: 1fr 1fr;
  }

  .user-pet-row.has-renew-action .user-pet-renew-form {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .user-pet-row.has-renew-action .user-pet-edit-button {
    grid-column: 1;
  }

  .user-pet-row.has-renew-action .user-pet-actions {
    grid-column: 2;
  }

  .user-pet-actions > summary {
    justify-content: center;
  }
}

@media (max-width: 430px) {
  .user-dashboard-toolbar .cabinet-tabs {
    grid-template-columns: 1fr;
  }
}


/* ZooDomik v0.1.83.27 — My Pets route + readable tab counters */
.user-dashboard-toolbar .cabinet-tab b {
  min-width: 22px;
  height: 22px;
  padding: 0 .38rem;
  border-radius: 999px;
  background: #eef5f1;
  color: var(--green);
  font-size: .78rem;
  line-height: 1;
  font-weight: 450;
}

.user-dashboard-toolbar .cabinet-tab.is-active b {
  background: #e4f0e9;
  color: var(--green);
}

.user-dashboard-toolbar .cabinet-tab:hover b,
.user-dashboard-toolbar .cabinet-tab:focus-visible b {
  background: #e8f2ed;
  color: var(--green);
}

/* ZooDomik v0.1.83.28 — Notifications Design 2.0: channel first, rules on demand. */
.notifications-v2-workspace {
  max-width: 940px;
}

.notifications-v2-head {
  margin-bottom: 16px;
}

.notifications-v2-head h1 {
  margin: .18rem 0 .25rem;
  font-size: clamp(2rem, 4vw, 2.55rem);
  line-height: 1.06;
  font-weight: 500;
  letter-spacing: -.025em;
}

.notifications-v2-form {
  display: grid;
  gap: 14px;
}

.notifications-v2-section {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line, #d7e1dc);
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
}

.notifications-v2-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 13px;
}

.notifications-v2-section-head h2 {
  margin: 0 0 3px;
  color: var(--green, #164c3b);
  font-size: 1.12rem;
  line-height: 1.25;
  font-weight: 500;
}

.notifications-v2-section-head p,
.notifications-v2-help,
.notifications-v2-inline-note {
  margin: 0;
  color: var(--muted, #5f766f);
  font-size: .88rem;
  line-height: 1.5;
  font-weight: 400;
}

.notifications-v2-channel-list,
.notifications-v2-rule-list {
  display: grid;
  gap: 9px;
}

.notifications-v2-channel-row,
.notifications-v2-channel-disclosure,
.notifications-v2-rule {
  border: 1px solid var(--line, #d7e1dc);
  border-radius: 14px;
  background: #fff;
  overflow: clip;
}

.notifications-v2-channel-row {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
}

.notifications-v2-channel-row.is-attention {
  border-color: rgba(174, 111, 24, .28);
  box-shadow: inset 3px 0 0 #ad711f;
}

.notifications-v2-channel-disclosure > summary,
.notifications-v2-rule > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.notifications-v2-channel-disclosure > summary::-webkit-details-marker,
.notifications-v2-rule > summary::-webkit-details-marker {
  display: none;
}

.notifications-v2-channel-disclosure > summary {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
}

.notifications-v2-channel-disclosure[open] > summary,
.notifications-v2-rule[open] > summary {
  border-bottom: 1px solid var(--line, #d7e1dc);
}

.notifications-v2-channel-copy,
.notifications-v2-rule-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.notifications-v2-channel-name,
.notifications-v2-rule-title {
  color: var(--green, #164c3b);
  font-size: .96rem;
  line-height: 1.3;
  font-weight: 450;
}

.notifications-v2-channel-detail,
.notifications-v2-rule-summary {
  color: var(--muted, #5f766f);
  font-size: .78rem;
  line-height: 1.35;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.notifications-v2-channel-action,
.notifications-v2-summary-side {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.notifications-v2-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green, #164c3b);
  font-size: .84rem;
  font-weight: 450;
  cursor: pointer;
}

.notifications-v2-toggle input,
.notifications-v2-check-row input,
.notifications-v2-choice-block input,
.notifications-v2-delete-row input {
  accent-color: var(--green, #164c3b);
}

.notifications-v2-link {
  color: var(--green, #164c3b);
  font-size: .84rem;
  font-weight: 450;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.notifications-v2-status,
.notifications-v2-rules-count {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: .28rem .58rem;
  border: 1px solid var(--line, #d7e1dc);
  border-radius: 999px;
  background: #fff;
  color: var(--muted, #5f766f);
  font-size: .75rem;
  line-height: 1;
  font-weight: 450;
  white-space: nowrap;
}

.notifications-v2-status.is-ready {
  border-color: rgba(22, 99, 76, .28);
  color: var(--green, #164c3b);
}

.notifications-v2-status.is-muted {
  color: #6d7a76;
}

.notifications-v2-chevron {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  color: var(--green, #164c3b);
  transition: transform .16s ease;
}

.notifications-v2-channel-disclosure[open] .notifications-v2-chevron,
.notifications-v2-rule[open] .notifications-v2-chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}

.notifications-v2-channel-body,
.notifications-v2-rule-body {
  padding: 14px;
}

.notifications-v2-channel-body {
  display: grid;
  gap: 12px;
}

.notifications-v2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}

.notifications-v2-actions .btn,
.notifications-v2-save-bar .btn {
  font-weight: 500;
}

.notifications-v2-code {
  width: fit-content;
  min-width: 210px;
  display: grid;
  gap: 3px;
  padding: 11px 13px;
  border: 1px solid rgba(22, 99, 76, .22);
  border-radius: 13px;
  background: #fff;
}

.notifications-v2-code span,
.notifications-v2-code small {
  color: var(--muted, #5f766f);
  font-size: .76rem;
  font-weight: 400;
}

.notifications-v2-code strong {
  color: var(--green, #164c3b);
  font-size: 1.32rem;
  line-height: 1.1;
  letter-spacing: .12em;
  font-weight: 500;
}

.notifications-v2-rules-head {
  align-items: center;
}

.notifications-v2-inline-note {
  margin: -1px 0 11px;
  padding: 9px 11px;
  border-left: 3px solid rgba(22, 99, 76, .5);
  background: #fafcfb;
}

.notifications-v2-rule > summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 14px;
}

.notifications-v2-rule.is-new {
  border-style: dashed;
}

.notifications-v2-rule.is-new .notifications-v2-rule-title {
  font-weight: 500;
}

.notifications-v2-rule-body {
  display: grid;
  gap: 13px;
}

.notifications-v2-rule-body label,
.notifications-v2-rule-body legend,
.notifications-v2-rule-body .field > label {
  font-weight: 450;
}

.notifications-v2-field-full {
  margin: 0;
}

.notifications-v2-check-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 12px;
  border: 1px solid var(--line, #d7e1dc);
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
}

.notifications-v2-check-row > span {
  display: grid;
  gap: 2px;
  color: var(--green, #164c3b);
  font-size: .88rem;
  font-weight: 450;
}

.notifications-v2-check-row small {
  color: var(--muted, #5f766f);
  font-size: .75rem;
  font-weight: 400;
  line-height: 1.4;
}

.notifications-v2-rule-grid,
.notifications-v2-location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.notifications-v2-choice-block {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px 14px;
  flex-wrap: wrap;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid var(--line, #d7e1dc);
  border-radius: 13px;
  background: #fff;
}

.notifications-v2-choice-block legend {
  width: 100%;
  padding: 0;
  color: var(--green, #164c3b);
  font-size: .82rem;
}

.notifications-v2-choice-block label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text, #17352d);
  font-size: .84rem;
  font-weight: 400;
}

.notifications-v2-delete-row {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  color: #9a493d;
  font-size: .82rem;
  font-weight: 400 !important;
}

.notifications-v2-save-bar {
  justify-content: flex-end;
  margin: 0;
}

@media (max-width: 760px) {
  .notifications-v2-workspace {
    width: min(100% - 20px, 940px);
  }

  .notifications-v2-head h1 {
    font-size: clamp(1.85rem, 8.5vw, 2.25rem);
  }

  .notifications-v2-section {
    padding: 14px;
    border-radius: 16px;
  }

  .notifications-v2-section-head,
  .notifications-v2-rules-head {
    display: grid;
    gap: 8px;
  }

  .notifications-v2-channel-row,
  .notifications-v2-channel-disclosure > summary,
  .notifications-v2-rule > summary {
    align-items: flex-start;
  }

  .notifications-v2-channel-row {
    display: grid;
  }

  .notifications-v2-channel-action {
    justify-content: flex-start;
  }

  .notifications-v2-summary-side {
    margin-top: 1px;
  }

  .notifications-v2-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .notifications-v2-actions .btn,
  .notifications-v2-save-bar .btn {
    width: 100%;
  }

  .notifications-v2-code {
    width: 100%;
    min-width: 0;
  }

  .notifications-v2-rule-grid,
  .notifications-v2-location-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .notifications-v2-channel-disclosure > summary,
  .notifications-v2-rule > summary {
    gap: 8px;
    padding: 11px 12px;
  }

  .notifications-v2-status {
    display: none;
  }

  .notifications-v2-rule-summary {
    max-width: 250px;
  }
}

/* ZooDomik v0.1.83.29 — Public profile Design 2.0
   Public user pages use the same calm hierarchy as the cabinet: one clear identity,
   one contact path, familiar pet cards, and no technical/profile-admin vocabulary. */
.public-profile-v2-page .public-profile-v2-hero-section {
  padding-top: clamp(34px, 5vw, 58px);
  padding-bottom: 18px;
}

.public-profile-v2-page .public-profile-v2-content-section {
  padding-top: 18px;
  padding-bottom: clamp(42px, 7vw, 74px);
}

.public-profile-v2-hero {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: clamp(1.1rem, 3vw, 1.75rem);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  padding: clamp(1.1rem, 3vw, 1.65rem);
  box-shadow: 0 14px 36px rgba(22, 76, 59, 0.055);
}

.public-profile-v2-avatar {
  width: 132px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(22, 76, 59, 0.16);
  border-radius: 28px;
  background: var(--mint-2);
  display: grid;
  place-items: center;
}

.public-profile-v2-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-profile-v2-avatar.is-placeholder img {
  width: 58%;
  height: 58%;
  object-fit: contain;
  opacity: 0.9;
}

.public-profile-v2-intro {
  min-width: 0;
}

.public-profile-v2-intro .kicker,
.public-profile-v2-section-head .kicker,
.public-profile-v2-side-card .public-contact-kicker,
.public-profile-v2-contact-modal .kicker {
  font-weight: 500;
}

.public-profile-v2-intro h1 {
  margin: 0.28rem 0 0;
  color: var(--green);
  font-size: clamp(2rem, 4.1vw, 3.35rem);
  line-height: 1.04;
  font-weight: 520;
  letter-spacing: -0.025em;
}

.public-profile-v2-summary {
  max-width: 760px;
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.public-profile-v2-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin-top: 1rem;
  color: #496b62;
  font-size: 0.9rem;
}

.public-profile-v2-meta > span,
.public-profile-v2-contact-time {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.public-profile-v2-meta .ui-icon,
.public-profile-v2-contact-time .ui-icon {
  color: var(--green);
  flex: 0 0 auto;
}

.public-profile-v2-hero-actions {
  margin-top: 1.15rem;
  gap: 0.65rem;
}

.public-profile-v2-hero-actions .btn,
.public-profile-v2-side-actions .btn {
  font-weight: 500;
}

.public-profile-v2-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 318px);
  gap: clamp(1rem, 2.5vw, 1.4rem);
  align-items: start;
}

.public-profile-v2-main {
  min-width: 0;
}

.public-profile-v2-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.public-profile-v2-section-head h2 {
  margin: 0.18rem 0 0;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.1;
  font-weight: 500;
}

.public-profile-v2-count {
  min-width: 34px;
  min-height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(22, 76, 59, 0.14);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 500;
}

.public-profile-v2-pet-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 0;
}

.public-profile-v2-pet-card {
  height: 100%;
}

.public-profile-v2-side {
  display: grid;
  gap: 0.85rem;
  position: sticky;
  top: calc(var(--header-height, 78px) + 18px);
}

.public-profile-v2-side-card,
.public-profile-v2-empty {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  padding: clamp(1rem, 2.4vw, 1.25rem);
}

.public-profile-v2-side-card {
  box-shadow: 0 10px 28px rgba(22, 76, 59, 0.045);
}

.public-profile-v2-side-card.is-secondary {
  box-shadow: none;
}

.public-profile-v2-side-card h2,
.public-profile-v2-empty h3 {
  margin: 0.22rem 0 0;
  color: var(--green);
  font-size: 1.22rem;
  line-height: 1.24;
  font-weight: 500;
}

.public-profile-v2-side-card p,
.public-profile-v2-empty p {
  margin: 0.62rem 0 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.public-profile-v2-side-card .form-actions,
.public-profile-v2-empty .btn {
  margin-top: 1rem;
}

.public-profile-v2-side-card .form-actions {
  display: grid;
}

.public-profile-v2-side-card .btn {
  width: 100%;
  justify-content: center;
}

.public-profile-v2-contact-time {
  width: 100%;
  margin-top: 0.8rem;
  border-top: 1px solid rgba(22, 76, 59, 0.09);
  padding-top: 0.8rem;
  color: #496b62;
  font-size: 0.88rem;
  line-height: 1.45;
}

.public-profile-v2-empty {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.public-profile-v2-contact-modal h2 {
  margin: 0.28rem 0 0;
  font-size: clamp(1.55rem, 4vw, 2rem);
  font-weight: 500;
}

.public-profile-v2-contact-modal .account-muted {
  margin-top: 0.55rem;
}

.public-profile-v2-not-found .account-card h1 {
  font-weight: 520;
}

@media (max-width: 1080px) {
  .public-profile-v2-layout {
    grid-template-columns: 1fr;
  }

  .public-profile-v2-side {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .public-profile-v2-pet-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .public-profile-v2-page .public-profile-v2-hero-section {
    padding-top: 24px;
  }

  .public-profile-v2-hero {
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: start;
    border-radius: 18px;
    padding: 0.95rem;
  }

  .public-profile-v2-avatar {
    width: 76px;
    border-radius: 18px;
  }

  .public-profile-v2-intro h1 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }

  .public-profile-v2-summary,
  .public-profile-v2-meta,
  .public-profile-v2-hero-actions {
    grid-column: 1 / -1;
  }

  .public-profile-v2-intro {
    display: contents;
  }

  .public-profile-v2-intro .kicker,
  .public-profile-v2-intro h1 {
    grid-column: 2;
  }

  .public-profile-v2-summary {
    margin-top: 0.75rem;
  }

  .public-profile-v2-meta {
    display: grid;
    gap: 0.5rem;
  }

  .public-profile-v2-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .public-profile-v2-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .public-profile-v2-side {
    grid-template-columns: 1fr;
  }

  .public-profile-v2-section-head {
    align-items: center;
  }
}

@media (max-width: 430px) {
  .public-profile-v2-page .section {
    width: min(100% - 24px, 1180px);
  }

  .public-profile-v2-hero {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 0.8rem;
  }

  .public-profile-v2-avatar {
    width: 68px;
  }

  .public-profile-v2-section-head h2 {
    font-size: 1.55rem;
  }
}

/* ZooDomik v0.1.83.30 — Profile title scale + public profile pet list balance */
.user-profile-title-row h1 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* On a public user page a single/two-column catalog grid made cards too narrow.
   A profile is easier to scan as a readable one-column list. */
.public-profile-v2-pet-grid {
  grid-template-columns: 1fr;
}

@media (max-width: 620px) {
  .user-profile-workspace .account-title-row h1,
  .user-profile-title-row h1 {
    font-size: clamp(1.85rem, 7.5vw, 2.15rem);
    line-height: 1.1;
  }
}

/* ZooDomik v0.1.83.31 — final cabinet contact model. */
.public-contact-phone-field {
  position: relative;
}
.public-contact-phone-state {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem .75rem;
  margin-top: .55rem;
}
.public-contact-phone-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: .3rem .62rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 400;
  line-height: 1.3;
}
.public-contact-phone-badge.is-verified {
  border-color: rgba(22, 100, 75, .28);
  color: var(--green-dark);
}
.public-contact-phone-modal-card {
  width: min(520px, calc(100vw - 32px));
}
.public-contact-phone-modal-card h2 {
  margin: .2rem 2.6rem .55rem 0;
  font-size: clamp(1.35rem, 2.8vw, 1.7rem);
  font-weight: 500;
  line-height: 1.15;
}
.public-contact-phone-code-field {
  margin-top: 1rem;
}
.public-contact-phone-code-field input {
  max-width: 220px;
  letter-spacing: .14em;
  font-variant-numeric: tabular-nums;
}
.public-contact-phone-modal-status {
  min-height: 1.4em;
  margin: .6rem 0 0;
  color: var(--muted);
  font-size: .88rem;
}
.public-contact-phone-modal-status[data-state="success"] { color: var(--green-dark); }
.public-contact-phone-modal-status[data-state="error"] { color: #9b4b43; }
.profile-account-contact-note {
  grid-column: 1 / -1;
  padding: .75rem .85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(247, 250, 248, .72);
}
.profile-account-contact-note > span {
  display: block;
  margin-bottom: .18rem;
  color: var(--ink);
  font-size: .86rem;
  font-weight: 500;
}
.profile-account-contact-note p {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.5;
}
.profile-account-contact-note a {
  color: var(--green-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.user-profile-workspace .profile-location-simple-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 760px) {
  .public-contact-phone-state {
    align-items: stretch;
  }
  .public-contact-phone-state .btn {
    width: 100%;
    justify-content: center;
  }
  .user-profile-workspace .profile-location-simple-grid {
    grid-template-columns: 1fr;
  }
  .public-contact-phone-modal-card .modal-actions-two {
    grid-template-columns: 1fr;
  }
}

/* ZooDomik v0.1.83.34 — verified phone library for questionnaires */
.profile-phone-library {
  display: grid;
  gap: 16px;
}
.profile-phone-library-list {
  display: grid;
  gap: 8px;
}
.profile-phone-library-empty {
  padding: 14px 16px;
  border: 1px dashed var(--line, #d7e3df);
  border-radius: 14px;
  color: var(--muted, #5f766f);
  background: #fff;
}
.profile-phone-library-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line, #d7e3df);
  border-radius: 14px;
  background: #fff;
}
.profile-phone-library-item > div:first-child {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.profile-phone-library-item strong {
  font-weight: 500;
  color: var(--ink, #17352d);
}
.profile-phone-library-item small {
  color: var(--muted, #5f766f);
}
.profile-phone-library-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.profile-phone-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid #ead9ba;
  border-radius: 999px;
  color: #8a6425;
  background: #fffaf0;
  font-size: 12px;
  font-weight: 400;
}
.profile-phone-status.is-verified {
  border-color: #c9ded6;
  color: #285f4f;
  background: #f7fbf9;
}
.profile-phone-delete {
  color: #9a5149;
  border-color: #e8c9c5;
  background: #fff;
}
.profile-phone-library-add {
  padding-top: 4px;
}
.profile-phone-add-form {
  display: grid;
  gap: 12px;
}
.profile-phone-add-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}
.profile-phone-code-row {
  display: grid;
  grid-template-columns: minmax(0, 220px) auto;
  gap: 10px;
  align-items: end;
}
.profile-phone-library-status {
  min-height: 20px;
  margin: 8px 0 0;
  color: var(--muted, #5f766f);
}
.profile-phone-library-status[data-state="error"] { color: #a34d44; }
.profile-phone-library-status[data-state="success"] { color: #25634f; }
.profile-phone-limit-note { margin: 0; }

.public-contact-phone-presets {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.public-contact-phone-presets-label {
  color: var(--muted, #5f766f);
  font-size: 13px;
}
.public-contact-phone-preset {
  border: 1px solid var(--line, #d7e3df);
  border-radius: 999px;
  background: #fff;
  color: var(--ink, #17352d);
  padding: 7px 10px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.public-contact-phone-preset:hover,
.public-contact-phone-preset:focus-visible {
  border-color: var(--green, #1d6a54);
  outline: none;
}
.public-contact-phone-preset.is-current {
  border-color: var(--green, #1d6a54);
  box-shadow: inset 3px 0 0 var(--green, #1d6a54);
}

@media (max-width: 700px) {
  .profile-phone-library-item {
    align-items: flex-start;
    flex-direction: column;
  }
  .profile-phone-library-actions {
    justify-content: flex-start;
  }
  .profile-phone-add-row,
  .profile-phone-code-row {
    grid-template-columns: 1fr;
  }
  .profile-phone-add-row .btn,
  .profile-phone-code-row .btn {
    width: 100%;
  }
}

/* ZooDomik v0.1.83.35 — support alignment, profile photo editor and per-phone messengers */
.support-modal-card .support-modal-content {
  width: min(960px, 100%);
  margin: 0 auto;
  text-align: left;
}
.support-modal-card .support-modal-content > .kicker,
.support-modal-card .support-modal-content > h2,
.support-modal-card .support-modal-content > p,
.support-modal-card .support-modal-content > .support-form {
  width: 100%;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}
.support-modal-card .support-modal-content > h2#support-modal-title {
  max-width: calc(100% - 58px) !important;
}

.profile-avatar-actions {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-top: 8px;
}
.profile-avatar-actions .btn {
  white-space: normal;
  text-align: center;
}
.profile-photo-editor-dialog .photo-editor-stage {
  aspect-ratio: 1 / 1;
  min-height: min(62vh, 760px);
}
.profile-photo-editor-dialog .photo-editor-stage canvas {
  max-width: 100%;
  max-height: min(62vh, 760px);
}

.profile-phone-library-main {
  min-width: 0;
  display: grid;
  gap: 9px;
  flex: 1 1 auto;
}
.profile-phone-library-meta {
  display: grid;
  gap: 3px;
}
.profile-phone-messengers {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.profile-phone-messengers > span {
  color: var(--muted, #5f766f);
  font-size: 12px;
}
.profile-phone-messenger-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 4px 9px;
  border: 1px solid var(--line, #d7e3df);
  border-radius: 999px;
  background: #fff;
  color: var(--ink, #17352d);
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
}
.profile-phone-messenger-chip:has(input:checked) {
  border-color: #9fc8b8;
  box-shadow: inset 2px 0 0 var(--green, #1d6a54);
}
.profile-phone-messenger-chip input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--green, #1d6a54);
}
.profile-phone-messenger-chip:has(input:disabled) {
  opacity: .55;
  cursor: default;
}
.profile-phone-messenger-status {
  min-height: 16px;
  color: var(--muted, #5f766f);
  font-size: 11px;
}

@media (max-width: 700px) {
  .support-modal-card .support-modal-content {
    width: 100%;
  }
  .support-modal-card .support-modal-content > h2#support-modal-title {
    max-width: calc(100% - 50px) !important;
  }
  .profile-avatar-actions {
    justify-content: flex-start;
  }
  .profile-phone-messengers {
    align-items: flex-start;
  }
}
.user-profile-workspace .profile-avatar-column {
  width: 116px;
  display: grid;
  gap: 8px;
  justify-items: stretch;
}
@media (max-width: 700px) {
  .user-profile-workspace .profile-avatar-column { width: 82px; }
}
@media (max-width: 520px) {
  .user-profile-workspace .profile-avatar-column { width: 100%; justify-items: start; }
}

/* ZooDomik v0.1.83.36 — instant messenger toggles + one-pass profile photo replacement */
.user-profile-workspace .profile-photo-manager {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--line, #d7e3df);
  border-radius: 14px;
  background: #fbfdfc;
}
.user-profile-workspace .profile-photo-current {
  display: grid;
  align-content: start;
  justify-items: stretch;
  gap: 8px;
}
.user-profile-workspace .profile-photo-manager-label {
  color: var(--muted, #5f766f);
  font-size: 12px;
  font-weight: 400;
}
.user-profile-workspace .profile-photo-current .profile-avatar {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
}
.user-profile-workspace .profile-photo-replace {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 10px;
}
.user-profile-workspace .profile-photo-replace-copy {
  display: grid;
  gap: 3px;
}
.user-profile-workspace .profile-photo-replace-copy strong {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink, #17352d);
}
.user-profile-workspace .profile-photo-replace-copy p {
  margin: 0;
  color: var(--muted, #5f766f);
  font-size: 13px;
  line-height: 1.55;
}
.user-profile-workspace .profile-photo-source-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}
.user-profile-workspace .profile-photo-file-button {
  position: relative;
  overflow: hidden;
}
.user-profile-workspace .profile-photo-native-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.user-profile-workspace .profile-photo-url-tool {
  min-width: min(100%, 280px);
}
.user-profile-workspace .profile-photo-url-tool > summary {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid var(--line, #d7e3df);
  border-radius: 999px;
  background: #fff;
  color: var(--ink, #17352d);
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
  list-style: none;
}
.user-profile-workspace .profile-photo-url-tool > summary::-webkit-details-marker { display: none; }
.user-profile-workspace .profile-photo-url-tool-body {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid var(--line, #d7e3df);
  border-radius: 12px;
  background: #fff;
}
.user-profile-workspace .profile-photo-url-tool-body label {
  font-size: 12px;
  font-weight: 400;
}
.user-profile-workspace .profile-photo-url-tool-body textarea {
  min-height: 64px;
}
.user-profile-workspace .profile-contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.user-profile-workspace .profile-contact-grid .profile-account-contact-note {
  min-width: 0;
}

.profile-photo-view-card {
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  overflow: auto;
}
.profile-photo-view-card h2 {
  margin-bottom: 12px;
}
.profile-photo-view-card img {
  display: block;
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border: 1px solid var(--line, #d7e3df);
  border-radius: 14px;
  background: #f5f8f6;
}
.profile-photo-view-card .account-muted {
  margin: 12px 0 0;
}

/* A checkbox is the immediate feedback. Routine AJAX saves stay visually
   quiet; only a real error is shown below the row. */
.profile-phone-messenger-status {
  display: none;
  flex-basis: 100%;
  min-height: 0;
  margin: 0;
}
.profile-phone-messenger-status.is-error {
  display: block;
  color: #a64a3c;
  font-size: 11px;
}
.profile-phone-library-item.is-saving-messengers .profile-phone-messenger-chip {
  pointer-events: auto;
}
.profile-phone-messenger-chip,
.profile-phone-messenger-chip input {
  transition: none;
}

@media (max-width: 700px) {
  .user-profile-workspace .profile-photo-manager {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }
  .user-profile-workspace .profile-contact-grid {
    grid-template-columns: 1fr;
  }
  .user-profile-workspace .profile-photo-source-actions {
    align-items: stretch;
  }
  .user-profile-workspace .profile-photo-source-actions > .btn,
  .user-profile-workspace .profile-photo-source-actions > label.btn,
  .user-profile-workspace .profile-photo-url-tool {
    width: 100%;
  }
  .user-profile-workspace .profile-photo-url-tool > summary {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .user-profile-workspace .profile-photo-manager {
    grid-template-columns: 1fr;
  }
  .user-profile-workspace .profile-photo-current {
    width: 104px;
  }
}

/* ZooDomik v0.1.83.37 — compact profile photo card + source chooser */
.user-profile-workspace .profile-photo-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--line, #d7e3df);
  border-radius: 14px;
  background: #fbfdfc;
}
.user-profile-workspace .profile-photo-preview {
  display: block;
  width: 128px;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 1px solid var(--line, #d7e3df);
  border-radius: 14px;
  overflow: hidden;
  background: #f4f8f6;
  cursor: default;
}
.user-profile-workspace .profile-photo-preview.has-photo {
  cursor: pointer;
}
.user-profile-workspace .profile-photo-preview.has-photo:hover,
.user-profile-workspace .profile-photo-preview.has-photo:focus-visible {
  border-color: var(--green, #164c3b);
  box-shadow: 0 0 0 2px rgba(22, 76, 59, .08);
  outline: none;
}
.user-profile-workspace .profile-photo-preview:disabled {
  opacity: 1;
}
.user-profile-workspace .profile-photo-preview .profile-avatar,
.user-profile-workspace .profile-photo-preview .profile-avatar img {
  display: block;
  width: 100%;
  height: 100%;
}
.user-profile-workspace .profile-photo-preview .profile-avatar img {
  object-fit: cover;
}
.user-profile-workspace .profile-photo-card-body {
  min-width: 0;
  display: grid;
  gap: 10px;
  align-content: center;
}
.user-profile-workspace .profile-photo-card-body strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink, #17352d);
  font-size: 15px;
  font-weight: 500;
}
.user-profile-workspace .profile-photo-card-body p {
  margin: 0;
  color: var(--muted, #5f766f);
  font-size: 13px;
  line-height: 1.55;
}
.user-profile-workspace .profile-photo-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.profile-photo-delete-action,
.profile-photo-delete-confirm {
  border: 1px solid #e7c7c1;
  background: #fffaf9;
  color: #9b4c43;
  font-weight: 500;
}
.profile-photo-delete-action:hover,
.profile-photo-delete-action:focus-visible,
.profile-photo-delete-confirm:hover,
.profile-photo-delete-confirm:focus-visible {
  border-color: #dbaaa2;
  background: #fff5f3;
  color: #873c34;
}
.profile-photo-source-card {
  width: min(680px, calc(100vw - 32px));
}
.profile-photo-source-card h2,
.profile-photo-delete-card h2 {
  margin: 2px 0 8px;
}
.profile-photo-source-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.profile-photo-source-choice {
  min-width: 0;
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 14px;
  text-align: left;
  border: 1px solid var(--line, #d7e3df);
  border-radius: 14px;
  background: #fff;
  color: var(--ink, #17352d);
  cursor: pointer;
}
.profile-photo-source-choice:hover,
.profile-photo-source-choice:focus-visible,
.profile-photo-source-choice[aria-expanded="true"] {
  border-color: var(--green, #164c3b);
  box-shadow: inset 3px 0 0 var(--green, #164c3b);
  outline: none;
}
.profile-photo-source-choice-title {
  font-size: 14px;
  font-weight: 500;
}
.profile-photo-source-choice small,
.profile-photo-source-note {
  color: var(--muted, #5f766f);
  font-size: 12px;
  line-height: 1.45;
}
.profile-photo-source-url {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line, #d7e3df);
  border-radius: 12px;
  background: #fbfdfc;
}
.profile-photo-source-url[hidden] { display: none !important; }
.profile-photo-source-url label {
  font-size: 12px;
  font-weight: 400;
}
.profile-photo-source-url-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.profile-photo-source-note {
  display: block;
  margin-top: 12px;
}
.profile-photo-delete-card {
  width: min(520px, calc(100vw - 32px));
}
.profile-photo-view-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.profile-photo-view-card img {
  cursor: default;
}

@media (max-width: 700px) {
  .user-profile-workspace .profile-photo-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }
  .user-profile-workspace .profile-photo-preview {
    width: 96px;
  }
  .profile-photo-source-choices {
    grid-template-columns: 1fr;
  }
  .profile-photo-source-choice {
    min-height: 76px;
  }
}
@media (max-width: 520px) {
  .user-profile-workspace .profile-photo-card {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .user-profile-workspace .profile-photo-preview {
    width: 112px;
  }
  .profile-photo-source-url-row {
    grid-template-columns: 1fr;
  }
  .profile-photo-view-actions > .btn,
  .profile-photo-card-actions > .btn {
    width: 100%;
  }
}

/* ZooDomik v0.1.83.38 — profile phone limit + technical support attachments */
.profile-phone-limit-state {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--line, #d7e3df);
  border-radius: 14px;
  background: #fff;
}
.profile-phone-limit-state strong {
  font-weight: 500;
  color: var(--ink, #17352d);
}
.profile-phone-limit-state p {
  margin: 0;
  color: var(--muted, #5f766f);
}
.profile-phone-add-form[hidden] { display: none !important; }

.support-attachment-field {
  padding-top: 2px;
}
.support-attachment-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.support-attachment-head > div { min-width: 0; }
.support-attachment-head label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.support-attachment-counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 24px;
  padding: 2px 8px;
  border: 1px solid var(--line, #d7e3df);
  border-radius: 999px;
  color: var(--muted, #5f766f);
  background: #fff;
  font-size: 12px;
  font-weight: 400;
}
.support-attachment-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.support-attachment-item {
  position: relative;
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line, #d7e3df);
  border-radius: 12px;
  background: #fff;
}
.support-attachment-preview {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: #f4f7f5;
}
.support-attachment-meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.support-attachment-meta strong {
  overflow: hidden;
  color: var(--ink, #17352d);
  font-size: 12px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.support-attachment-meta small {
  color: var(--muted, #5f766f);
  font-size: 11px;
}
.support-attachment-remove {
  justify-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9a5149;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.support-attachment-remove:hover,
.support-attachment-remove:focus-visible { text-decoration: underline; }
.support-attachment-status {
  min-height: 18px;
  margin: 7px 0 0;
  color: var(--muted, #5f766f);
  font-size: 12px;
}
.support-attachment-status[data-state="error"] { color: #a34d44; }
.support-attachment-status[data-state="success"] { color: #25634f; }

.admin-support-attachments-panel {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--admin-line, #d8e1de);
  border-radius: 14px;
  background: #fff;
}
.admin-support-attachments-panel[hidden] { display: none !important; }
.admin-support-attachments-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.admin-support-attachment {
  display: grid;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}
.admin-support-attachment img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--admin-line, #d8e1de);
  border-radius: 10px;
  background: #f4f7f5;
}
.admin-support-attachment span {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .support-attachment-head {
    display: grid;
  }
  .support-attachment-head .btn { width: 100%; }
  .support-attachment-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-support-attachments-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ZooDomik v0.1.83.39 — single support photo picker + gallery */
.js-support-attachment-input[hidden] {
  display: none !important;
}
.js-support-attachment-pick[hidden] {
  display: none !important;
}
.support-attachment-preview-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: zoom-in;
}
.support-attachment-preview-button:focus-visible {
  outline: 2px solid var(--green, #14643b);
  outline-offset: 3px;
}
html.support-gallery-open,
html.support-gallery-open body {
  overflow: hidden !important;
}
.support-attachment-gallery {
  position: fixed;
  inset: 0;
  z-index: 12050;
  display: grid;
  place-items: center;
  padding: 24px;
}
.support-attachment-gallery[hidden] {
  display: none !important;
}
.support-attachment-gallery-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(20, 38, 32, .72);
  cursor: zoom-out;
}
.support-attachment-gallery-panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1040px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  padding: 18px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
}
.support-attachment-gallery-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line, #d7e3df);
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--ink, #17352d);
  font: inherit;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}
.support-attachment-gallery-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 280px;
  overflow: hidden;
  border-radius: 12px;
  background: #eef3f0;
}
.support-attachment-gallery-image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 150px);
  object-fit: contain;
}
.support-attachment-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--ink, #17352d);
  font: inherit;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,.14);
}
.support-attachment-gallery-nav[hidden] { display: none !important; }
.support-attachment-gallery-prev { left: 14px; }
.support-attachment-gallery-next { right: 14px; }
.support-attachment-gallery-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 2px 0;
  color: var(--muted, #5f766f);
  font-size: 13px;
}
.support-attachment-gallery-caption .js-support-gallery-name {
  overflow: hidden;
  color: var(--ink, #17352d);
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .support-attachment-gallery {
    padding: 10px;
  }
  .support-attachment-gallery-panel {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    padding: 10px;
    border-radius: 14px;
  }
  .support-attachment-gallery-stage {
    min-height: 220px;
  }
  .support-attachment-gallery-image {
    max-height: calc(100vh - 105px);
  }
  .support-attachment-gallery-nav {
    width: 40px;
    height: 40px;
  }
  .support-attachment-gallery-prev { left: 8px; }
  .support-attachment-gallery-next { right: 8px; }
  .support-attachment-gallery-caption {
    padding: 9px 2px 0;
  }
}

/* ZooDomik v0.1.83.40 — isolated support drafts + unsent warning */
.support-draft-confirm {
  z-index: 30120 !important;
  background: rgba(5, 24, 18, .62) !important;
}
.support-draft-confirm > .support-draft-confirm-card {
  width: min(560px, 100%) !important;
  max-width: 560px !important;
  padding: clamp(22px, 4vw, 34px) !important;
  border-radius: 22px;
}
.support-draft-confirm-card h2 {
  margin: 4px 0 10px;
  color: var(--green, #14643b);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.12;
}
.support-draft-confirm-card .account-muted {
  margin: 0;
  line-height: 1.55;
}
.support-draft-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}
.support-draft-confirm-actions .btn {
  min-height: 44px;
  font-weight: 500;
}
.support-draft-discard {
  border: 1px solid rgba(163, 77, 68, .32) !important;
  background: #fff !important;
  color: #984a42 !important;
}
.support-draft-discard:hover,
.support-draft-discard:focus-visible {
  border-color: rgba(163, 77, 68, .58) !important;
  background: #fff8f6 !important;
}
@media (max-width: 640px) {
  .support-draft-confirm-actions {
    display: grid;
  }
  .support-draft-confirm-actions .btn {
    width: 100%;
  }
}

/* ZooDomik v0.1.83.41 — support gallery above fullscreen support modal + true full-window discard decision */
.support-attachment-gallery {
  position: fixed !important;
  inset: 0 !important;
  z-index: 30420 !important;
  width: 100vw !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  display: grid !important;
  place-items: center !important;
  padding: clamp(10px, 2vw, 24px) !important;
  overflow: hidden !important;
}
.support-attachment-gallery[hidden] {
  display: none !important;
}
.support-attachment-gallery-backdrop {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(5, 24, 18, .86) !important;
  backdrop-filter: blur(4px);
}
.support-attachment-gallery-panel {
  position: relative !important;
  z-index: 1 !important;
  width: min(1280px, calc(100vw - clamp(20px, 4vw, 56px))) !important;
  max-width: 1280px !important;
  max-height: calc(100dvh - clamp(20px, 4vw, 56px)) !important;
  margin: auto !important;
  padding: clamp(10px, 1.6vw, 18px) !important;
  overflow: hidden !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 28px 90px rgba(0,0,0,.42) !important;
}
.support-attachment-gallery-stage {
  min-height: min(68dvh, 640px) !important;
  max-height: calc(100dvh - 108px) !important;
}
.support-attachment-gallery-image {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: calc(100dvh - 118px) !important;
  object-fit: contain !important;
}

/* The discard decision is a second, full-window modal layer rather than a
   narrow full-height column inherited from the generic work-modal shell. */
.support-draft-confirm {
  position: fixed !important;
  inset: 0 !important;
  z-index: 30320 !important;
  width: 100vw !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  display: grid !important;
  place-items: center !important;
  padding: clamp(18px, 4vw, 44px) !important;
  overflow: auto !important;
  overscroll-behavior: contain;
  background: #fff !important;
  backdrop-filter: none !important;
}
.support-draft-confirm[hidden] {
  display: none !important;
}
.support-draft-confirm > .support-draft-confirm-card {
  position: relative !important;
  width: min(680px, 100%) !important;
  max-width: 680px !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: calc(100dvh - clamp(36px, 8vw, 88px)) !important;
  margin: auto !important;
  padding: clamp(28px, 4vw, 44px) !important;
  overflow: auto !important;
  border: 1px solid rgba(22, 76, 59, .16) !important;
  border-radius: 24px !important;
  background: #fff !important;
  box-shadow: 0 24px 72px rgba(22, 76, 59, .14) !important;
}
.support-draft-confirm > .support-draft-confirm-card > * {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.support-draft-confirm-card h2 {
  margin-top: 6px !important;
}
.support-draft-confirm-actions {
  width: 100% !important;
}

@media (max-width: 760px) {
  .support-attachment-gallery {
    padding: 8px !important;
  }
  .support-attachment-gallery-panel {
    width: calc(100vw - 16px) !important;
    max-height: calc(100dvh - 16px) !important;
    padding: 8px !important;
    border-radius: 14px !important;
  }
  .support-attachment-gallery-stage {
    min-height: 62dvh !important;
    max-height: calc(100dvh - 82px) !important;
  }
  .support-attachment-gallery-image {
    max-height: calc(100dvh - 92px) !important;
  }
  .support-draft-confirm {
    padding: 16px !important;
  }
  .support-draft-confirm > .support-draft-confirm-card {
    width: 100% !important;
    max-width: 620px !important;
    max-height: calc(100dvh - 32px) !important;
    padding: 24px 18px !important;
    border-radius: 18px !important;
  }
}

/* ZooDomik v0.1.83.42 — compact responsive support form composition */
.support-design-v2 .support-form {
  gap: 14px;
  margin-top: 14px;
}

.support-design-v2 .support-form-grid {
  display: grid;
  grid-template-columns: minmax(280px, .92fr) minmax(360px, 1.28fr);
  grid-template-areas:
    "category message"
    "name message"
    "contact message"
    "attachments attachments";
  column-gap: 18px;
  row-gap: 12px;
  align-items: start;
}

.support-design-v2 .support-field-category { grid-area: category; }
.support-design-v2 .support-field-name { grid-area: name; }
.support-design-v2 .support-field-contact { grid-area: contact; }
.support-design-v2 .support-field-message { grid-area: message; align-self: stretch; }
.support-design-v2 .support-attachment-field { grid-area: attachments; }

.support-design-v2 .support-field-message textarea {
  min-height: 214px;
  height: 100%;
  resize: vertical;
}

.support-design-v2 .support-profile-email-note {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
}

.support-design-v2 .support-attachment-field {
  margin-top: 2px;
  padding-top: 14px;
  border-top: 1px solid var(--line, #d7e3df);
}

.support-design-v2 .support-attachment-head {
  align-items: center;
}

.support-design-v2 .support-attachment-head .field-help {
  max-width: 720px;
  margin-top: 5px;
}

.support-design-v2 .support-attachment-list:not(:empty) {
  margin-top: 12px;
}

.support-design-v2 .support-form > .btn[type="submit"] {
  width: 100%;
  min-height: 46px;
  margin-top: 0;
}

.support-modal-card .support-modal-content > h2#support-modal-title {
  font-size: clamp(1.7rem, 2.8vw, 2.25rem);
  line-height: 1.08;
}

.support-modal-card .support-modal-content > p {
  margin-top: 7px;
  margin-bottom: 0;
}

.support-modal-card .support-modal-content > p + p {
  margin-top: 6px;
}

@media (max-width: 900px) {
  .support-design-v2 .support-form-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "category"
      "name"
      "contact"
      "message"
      "attachments";
    gap: 13px;
  }

  .support-design-v2 .support-field-message textarea {
    min-height: 150px;
    height: auto;
  }

  .support-design-v2 .support-attachment-field {
    margin-top: 1px;
    padding-top: 12px;
  }
}

@media (max-width: 640px) {
  .support-modal-card.support-design-v2 {
    padding: 14px 12px 18px;
  }

  .support-modal-card .support-modal-content > h2#support-modal-title {
    font-size: clamp(1.55rem, 7vw, 1.9rem);
  }

  .support-design-v2 .support-form {
    margin-top: 12px;
  }

  .support-design-v2 .support-form-grid {
    gap: 12px;
  }

  .support-design-v2 .support-attachment-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
  }

  .support-design-v2 .support-attachment-head .btn {
    width: auto;
    min-width: 112px;
    align-self: start;
  }

  .support-design-v2 .support-attachment-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .support-design-v2 .support-form > .btn[type="submit"] {
    min-height: 48px;
  }
}

@media (max-width: 390px) {
  .support-design-v2 .support-attachment-head {
    grid-template-columns: 1fr;
  }

  .support-design-v2 .support-attachment-head .btn {
    width: 100%;
  }
}

/* ZooDomik v0.1.83.43 — support reply email note wrapping hotfix */
.support-design-v2 .support-profile-email-note {
  display: block;
  min-height: 58px;
  padding: 10px 12px;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.support-design-v2 .support-profile-email-note span {
  display: inline;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

/* ZOODOMIK_CONTACT_VERIFY_HIDDEN
 * A verified contact phone must not show the SMS verification button.
 * JS removes the hidden attribute again when the user enters
 * another, unverified phone number.
 */
.js-public-contact-phone-verify[hidden] {
    display: none !important;
}

/* ZOODOMIK_UNIFIED_IMAGE_PIPELINE_CSS 2026.09.29-1 */
/* ZooDomik Unified Image Upload Pipeline — 2026.09.29-1 */
.zdu-image-status {
  margin-top: 8px;
  font-size: .875rem;
  line-height: 1.4;
}
.zdu-image-status[data-type="working"] {
  opacity: .78;
}
.zdu-image-status[data-type="success"] {
  opacity: .9;
}
.zdu-image-status[data-type="error"] {
  font-weight: 600;
}
form[data-zd-image-processing="1"] {
  cursor: progress;
}

/* ZooDomik v0.1.85.0 — faster questionnaire and owner action lifecycle */
.btn-preview {
  border-color: #a9c7d8;
  background: #eef7fb;
  color: #174f6a;
  box-shadow: 0 10px 24px rgba(23, 79, 106, .08);
}

.btn-preview:hover,
.btn-preview:focus-visible {
  border-color: #7fa9bf;
  background: #e5f2f8;
}

.btn-warning,
.btn-owner-hide {
  border-color: #e6ae88;
  background: #fff4ec;
  color: #93491f;
  box-shadow: 0 10px 24px rgba(147, 73, 31, .08);
}

.btn-warning:hover,
.btn-warning:focus-visible,
.btn-owner-hide:hover,
.btn-owner-hide:focus-visible {
  border-color: #d98c59;
  background: #ffeadc;
}

.pet-item-essential-fields {
  align-items: end;
}

.pet-animal-wording {
  min-height: 1.25em;
  margin: 6px 2px 0;
  color: #56736a;
  font-size: .82rem;
  line-height: 1.4;
}

.pet-animal-wording:empty {
  display: none;
}

.pet-item-more-body {
  padding: 2px 14px 16px;
}

.pet-form-optional-hub {
  border: 1px solid rgba(22, 76, 59, .18);
  border-radius: 18px;
  background: #f6faf8;
  box-shadow: 0 12px 30px rgba(22, 76, 59, .05);
  overflow: clip;
}

.pet-form-optional-hub-summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 18px;
  align-items: center;
  min-height: 76px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  color: var(--green-dark, #164c3b);
}

.pet-form-optional-hub-summary::-webkit-details-marker {
  display: none;
}

.pet-form-optional-hub-summary > span:first-child {
  font-size: 1rem;
  font-weight: 750;
}

.pet-form-optional-hub-action {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(22, 76, 59, .16);
  border-radius: 999px;
  background: #fff;
  color: var(--green, #164c3b);
  font-size: .82rem;
  font-weight: 700;
}


.pet-form-optional-hub-body {
  display: grid;
  gap: 16px;
  padding: 0 16px 16px;
}

.pet-form-optional-hub-body > .form-section {
  margin: 0;
}

.pet-submit-issues {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #e6b9b4;
  border-radius: 12px;
  background: #fff6f5;
  color: #8b2f2a;
  font-size: .84rem;
  line-height: 1.42;
}

.pet-submit-issues[hidden],
.pet-submit-issues:empty {
  display: none;
}

.pet-submit-issues > strong {
  display: block;
  margin-bottom: 5px;
  font-weight: 750;
}

.pet-submit-issue-links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
}

.pet-submit-issue-link {
  color: #9f302b;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a.pet-submit-issue-link:hover,
a.pet-submit-issue-link:focus-visible {
  color: #6f1f1b;
}

.owner-pet-actions {
  max-width: 1180px;
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(22, 76, 59, .18);
  border-radius: 18px;
  background: rgba(247, 251, 249, .98);
  box-shadow: 0 14px 36px rgba(22, 76, 59, .07);
}

.owner-pet-actions-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  color: #516d64;
}

.owner-pet-actions-copy strong {
  color: var(--green-dark, #164c3b);
}

.owner-pet-actions-copy small {
  margin-top: 2px;
  color: #71857e;
  font-size: .78rem;
}

.owner-pet-actions-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.owner-pet-action-form {
  margin: 0;
}

.btn-owner-edit {
  border-color: #aac5d6;
  background: #eef6fa;
  color: #174f6a;
}

.btn-owner-save,
.btn-owner-publish {
  border-color: var(--green, #164c3b);
  background: var(--green, #164c3b);
  color: #fff;
  box-shadow: 0 12px 26px rgba(22, 76, 59, .16);
}

@media (max-width: 720px) {
  .pet-form-optional-hub-summary {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 14px;
  }

  .pet-form-optional-hub-action {
    width: max-content;
  }

  .pet-form-optional-hub-body,
  .pet-item-more-body {
    padding-left: 12px;
    padding-right: 12px;
  }

  .pet-submit-issue-links {
    display: grid;
    gap: 6px;
  }

  .owner-pet-actions {
    margin: 12px 14px 0;
    display: grid;
    align-items: stretch;
  }

  .owner-pet-actions-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .owner-pet-actions-buttons .btn,
  .owner-pet-action-form,
  .owner-pet-action-form .btn {
    width: 100%;
  }
}
.pet-form-optional-hub-summary > span:first-child {
  display: grid;
  gap: 3px;
}

.pet-form-optional-hub-summary > span:first-child > strong {
  font-size: 1rem;
  line-height: 1.3;
}

.pet-form-optional-hub-summary > span:first-child > small {
  color: #687c74;
  font-size: .82rem;
  line-height: 1.4;
  font-weight: 400;
}


/* ZooDomik v0.1.86.0 — questionnaire usability, renewal and public-card polish */
.pet-count-compact-grid { align-items: end; }
.pet-count-compact-grid .js-animal-count-field { max-width: 260px; }
.pet-contact-time-pair { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); gap:.55rem; align-items:center; }
.pet-contact-time-pair > span { color:var(--muted); }
.pet-contact-photo-body { padding-top:.9rem; }
.user-pet-renew-form { display:grid; gap:.35rem; }
.user-pet-renew-note { color:var(--muted); font-size:.78rem; line-height:1.35; text-align:center; }
.user-pet-renew-button:disabled { opacity:.62; cursor:not-allowed; }
.public-seo-discovery-panel, .public-profile-v2-main { min-width:0; }
.public-related-grid .pet-card, .public-profile-v2-pet-card { align-items:stretch; }
.public-related-grid .pet-card .btn, .public-profile-v2-pet-card .btn { min-height:42px; line-height:1.25; }
.public-related-grid .pet-card .btn-icon, .public-profile-v2-pet-card .btn-icon { flex:0 0 auto; margin-right:.38rem; }
.public-related-grid .pet-card p, .public-profile-v2-pet-card p { line-height:1.48; }
@media (max-width: 620px) {
  .pet-form-actions .pet-submit-buttons { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem; }
  .pet-form-actions .pet-submit-buttons .btn { width:100%; min-width:0; padding-inline:.7rem; white-space:normal; text-align:center; line-height:1.25; }
  .pet-form-actions .pet-submit-buttons .btn span { min-width:0; }
  .pet-contact-time-pair { grid-template-columns:1fr; gap:.4rem; }
  .pet-contact-time-pair > span { display:none; }
}
@media (max-width: 390px) {
  .pet-form-actions .pet-submit-buttons { grid-template-columns:1fr; }
}

/* ZooDomik v0.1.86.1 — calmer account UX, separate photos, resilient form rhythm */
.pet-form-shell,
.user-dashboard-shell,
.user-profile-workspace {
  width: min(1120px, calc(100% - 32px));
}

.pet-form-title-row h1,
.user-dashboard-head h1,
.user-profile-workspace h1 {
  color: var(--green-dark, #164c3b);
  font-weight: 560;
  letter-spacing: -.02em;
}

.pet-form-title-row .account-muted,
.user-dashboard-shell .account-muted,
.user-profile-workspace .account-muted {
  color: #687b74;
  font-weight: 400;
}

.pet-form-progress .pet-form-progress-item strong,
.pet-adaptive-form .form-section-headline h2,
.pet-item-card h3,
.pet-form-detail-disclosure > summary > span,
.pet-form-optional-hub-summary > span:first-child > strong {
  font-weight: 560;
}

.pet-form-section-kicker,
.pet-form-level-label {
  font-weight: 560;
}

.pet-adaptive-form .field > label,
.pet-adaptive-form .scenario-field-label,
.pet-adaptive-form .field > small,
.pet-contact-more-body label {
  font-weight: 450;
}

.pet-adaptive-form > .form-section,
.pet-form-optional-hub,
.user-dashboard-shell .user-pet-row,
.user-profile-workspace .form-section,
.user-profile-workspace .profile-section,
.user-profile-workspace .profile-card {
  border-color: rgba(22, 76, 59, .13);
  background: #fff;
  box-shadow: 0 8px 24px rgba(22, 76, 59, .028);
}

.pet-adaptive-form > .pet-form-stage-secondary {
  background: #fff;
}

/* Contact options are a simple two-row grid: identity/channel, then time/comment. */
.pet-contact-more-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  padding-top: 5px;
}

.pet-contact-more-body .field {
  min-width: 0;
  margin: 0;
}

.pet-contact-more-body .field > label {
  margin-bottom: 7px;
}

.pet-contact-more-body .field > small {
  display: block;
  margin-top: 7px;
  color: #6d7f78;
  font-size: .78rem;
  line-height: 1.4;
}

.pet-contact-time-pair {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 8px;
}

.pet-contact-more-body textarea {
  min-height: 96px;
}

/* General photos are a real standalone section again, not nested in contacts. */
.pet-form-photo-section .pet-photo-section-headline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.pet-form-photo-section .photo-count-label {
  flex: 0 0 auto;
  margin-top: 2px;
}

.pet-form-photo-section .photo-grid:empty {
  display: none;
}

.pet-adaptive-form .pet-photo-uploader--general {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  padding: 16px;
  border: 1px dashed rgba(22, 76, 59, .24);
  border-radius: 13px;
  background: #f8fbf9;
}

.pet-adaptive-form .pet-photo-uploader--general .pet-photo-upload-trigger {
  min-height: 42px;
  padding-inline: 16px;
}

.pet-adaptive-form .pet-photo-uploader--general .pet-photo-guidance,
.pet-adaptive-form .pet-photo-uploader--general .pet-photo-upload-status {
  flex-basis: 100%;
}

.pet-adaptive-form .pet-photo-uploader--general .pet-photo-guidance {
  margin: 2px 0 0;
}

/* Location should feel like one calm task, not a technical address wizard. */
.js-location-group .location-simple-grid {
  gap: 12px;
}

.js-location-group .location-simple-step {
  padding: 16px 16px 16px 52px;
  border-color: rgba(22, 76, 59, .13);
  border-radius: 13px;
  background: #fbfcfb;
  box-shadow: none;
}

.js-location-group .location-simple-number {
  top: 17px;
  left: 14px;
  width: 26px;
  height: 26px;
  font-size: .76rem;
  font-weight: 500;
}

.js-location-group .location-search-status {
  margin-top: 6px;
  color: #6c7e77;
  font-size: .77rem;
  line-height: 1.4;
}

.js-location-group .location-suggestion-item span {
  font-weight: 500;
}

/* The renewal action always has a reserved, predictable place in My Pets. */
.user-pet-renew-form--disabled .user-pet-renew-note {
  color: #74857f;
}

.user-pet-renew-note {
  margin: 0;
  font-weight: 400;
}

.user-pet-primary-action .btn,
.user-pet-actions > summary {
  min-height: 40px;
  font-size: .82rem;
}

/* Account-related pages use one calm visual language. */
.user-dashboard-shell,
.user-profile-workspace,
.account-security-workspace {
  color: #1d4439;
}

.user-dashboard-shell h2,
.user-dashboard-shell h3,
.user-profile-workspace h2,
.user-profile-workspace h3,
.account-security-workspace h2,
.account-security-workspace h3 {
  font-weight: 540;
  letter-spacing: -.01em;
}

.user-dashboard-shell .btn,
.user-profile-workspace .btn,
.account-security-workspace .btn {
  font-weight: 500;
}

.user-profile-workspace label,
.account-security-workspace label {
  font-weight: 450;
}

@media (max-width: 760px) {
  .pet-form-shell,
  .user-dashboard-shell,
  .user-profile-workspace {
    width: min(100% - 20px, 1120px);
  }

  .pet-adaptive-form > .form-section {
    padding: 15px 12px;
  }

  .pet-contact-more-body {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .pet-contact-time-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .pet-contact-time-pair > span {
    display: none;
  }

  .pet-form-photo-section .pet-photo-section-headline {
    align-items: center;
  }

  .pet-adaptive-form .pet-photo-uploader--general {
    display: grid;
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .pet-adaptive-form .pet-photo-uploader--general .btn,
  .pet-adaptive-form .pet-photo-uploader--general label.btn {
    width: 100%;
    justify-content: center;
  }

  .js-location-group .location-simple-step {
    padding: 14px 12px 14px 48px;
  }

  .js-location-group .location-simple-number {
    top: 15px;
    left: 12px;
  }
}

/* ZooDomik v0.1.86.2 — unified create/edit UX + local location directory */
.pet-form-shell {
  width: min(1060px, calc(100% - 32px));
}

.pet-form-title-row {
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.pet-form-title-row h1 {
  margin: 3px 0 6px;
  font-size: clamp(2rem, 4vw, 2.65rem);
  line-height: 1.06;
  font-weight: 540;
  letter-spacing: -.025em;
}

.pet-form-title-row .account-muted {
  max-width: 720px;
  margin: 0;
  font-size: .94rem;
  line-height: 1.55;
}

.pet-adaptive-form {
  display: grid;
  gap: 16px;
}

.pet-adaptive-form > .form-section,
.pet-form-optional-hub,
.pet-form-actions {
  border-radius: 16px;
}

.pet-adaptive-form > .form-section {
  padding: 21px 22px;
}

.pet-adaptive-form .form-section-headline {
  margin-bottom: 15px;
}

.pet-adaptive-form .form-section-headline h2 {
  margin: 2px 0 4px;
  font-size: clamp(1.22rem, 2vw, 1.42rem);
  line-height: 1.18;
  font-weight: 540;
  letter-spacing: -.012em;
}

.pet-adaptive-form .form-section-headline .account-muted,
.pet-adaptive-form .field > small,
.pet-form-detail-disclosure > summary > small,
.pet-form-optional-hub-summary > span:first-child > small {
  color: #687a74;
  font-weight: 400;
}

.pet-adaptive-form .field > label,
.pet-adaptive-form .scenario-field-label {
  margin-bottom: 7px;
  color: #214f41;
  font-size: .86rem;
  line-height: 1.35;
  font-weight: 500;
}

.pet-adaptive-form input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.pet-adaptive-form select,
.pet-adaptive-form textarea {
  border-radius: 10px;
  border-color: rgba(22, 76, 59, .18);
  background: #fff;
  font-size: .94rem;
}

.pet-adaptive-form input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.pet-adaptive-form select {
  min-height: 45px;
}

.pet-adaptive-form textarea {
  min-height: 104px;
  line-height: 1.5;
}

.pet-adaptive-form input:focus,
.pet-adaptive-form select:focus,
.pet-adaptive-form textarea:focus {
  border-color: rgba(22, 76, 59, .55);
  box-shadow: 0 0 0 3px rgba(22, 76, 59, .07);
}

.pet-form-section-kicker,
.pet-form-level-label {
  font-size: .69rem;
  letter-spacing: .075em;
  font-weight: 560;
}

.pet-item-card {
  border-radius: 14px;
  border-color: rgba(22, 76, 59, .13);
  box-shadow: none;
}

.pet-item-card h3 {
  font-weight: 540;
}

.pet-form-detail-disclosure,
.pet-form-secondary-disclosure,
.pet-form-optional-hub {
  border-color: rgba(22, 76, 59, .13);
  background: #fafcfb;
  box-shadow: none;
}

.pet-form-detail-disclosure > summary,
.pet-form-optional-hub-summary {
  min-height: 54px;
  padding-top: 11px;
  padding-bottom: 11px;
}

.pet-form-detail-disclosure > summary > span,
.pet-form-optional-hub-summary > span:first-child > strong {
  font-weight: 520;
}

/* Location: settlement first; district and street are independent optional searches. */
.js-location-group .location-simple-grid {
  display: grid;
  gap: 12px;
}

.js-location-group .location-simple-step {
  min-width: 0;
  padding: 14px 14px 14px 48px;
  border-radius: 12px;
  background: #fbfcfb;
}

.js-location-group .location-simple-step[data-simple-location-step="settlement"] {
  background: #fff;
}

.pet-location-more {
  overflow: visible;
}

.pet-location-more-body {
  padding: 14px;
}

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

.pet-location-detail-grid .location-simple-step {
  height: 100%;
}

.pet-location-detail-grid .location-autocomplete-field,
.pet-location-detail-grid .location-input-wrap {
  min-width: 0;
}

.js-location-group .location-suggestions {
  z-index: 420;
  max-height: 300px;
  border-radius: 11px;
  border-color: rgba(22, 76, 59, .18);
  box-shadow: 0 16px 38px rgba(22, 76, 59, .14);
}

.js-location-group .location-suggestion-item {
  padding: 10px 12px;
}

.js-location-group .location-suggestion-item span {
  font-weight: 500;
}

.js-location-group .location-suggestion-item small {
  margin-top: 3px;
  font-size: .76rem;
  line-height: 1.35;
}

.js-location-group .location-simple-step.is-locked {
  opacity: .66;
  background: #f7f9f8;
}

.js-location-group .location-search-status {
  margin: 6px 0 0;
  min-height: 0;
  font-size: .75rem;
}

.location-map-disclosure {
  margin-top: 12px;
}

/* Contacts follow the same rhythm as the rest of the form. */
.pet-contact-essential,
.pet-contact-more-body {
  gap: 13px 16px;
}

.pet-contact-more-body {
  padding-top: 12px;
}

.pet-contact-time-pair input {
  min-width: 0;
}

.public-contact-phone-presets {
  margin-top: 9px;
}

.public-contact-phone-state {
  margin-top: 9px;
}

/* Photo section stays separate and visually familiar. */
.pet-form-photo-section .pet-photo-section-headline {
  margin-bottom: 12px;
}

.pet-adaptive-form .pet-photo-uploader--general {
  margin-top: 8px;
  padding: 14px;
  border-radius: 12px;
  background: #fbfcfb;
}

/* Bottom actions: clear hierarchy without a heavy technical panel. */
.pet-form-actions {
  padding: 14px;
  background: #f4f8f5;
  box-shadow: none;
}

.pet-submit-buttons {
  gap: 9px;
}

.pet-form-actions .pet-submit-buttons .btn-with-icon {
  min-height: 44px;
  font-weight: 500;
}

.pet-submit-hint,
.pet-autosave-status,
.pet-form-visibility-state {
  font-size: .79rem;
  line-height: 1.45;
}

/* Renewal is always visible in My Pets. Edit/other actions stay on the first row. */
.user-pet-row.has-renew-action .user-pet-primary-action {
  grid-template-columns: minmax(105px, 1fr) minmax(105px, 1fr);
  gap: 7px;
}

.user-pet-row.has-renew-action .user-pet-edit-button {
  grid-column: 1;
  grid-row: 1;
}

.user-pet-row.has-renew-action .user-pet-actions {
  grid-column: 2;
  grid-row: 1;
}

.user-pet-row.has-renew-action .user-pet-renew-form,
.user-pet-renew-form--disabled {
  display: grid !important;
  visibility: visible !important;
  grid-column: 1 / -1;
  grid-row: 2;
  gap: 4px;
}

.user-pet-renew-button {
  min-height: 40px;
}

.user-pet-renew-note {
  text-align: left;
  padding-inline: 3px;
  font-size: .74rem;
}

@media (max-width: 760px) {
  .pet-form-shell {
    width: min(100% - 16px, 1060px);
  }

  .pet-form-title-row {
    margin-bottom: 13px;
  }

  .pet-form-title-row h1 {
    font-size: clamp(1.8rem, 8vw, 2.2rem);
  }

  .pet-form-title-row .account-muted {
    font-size: .88rem;
    line-height: 1.48;
  }

  .pet-adaptive-form {
    gap: 12px;
  }

  .pet-adaptive-form > .form-section {
    padding: 14px 12px;
    border-radius: 14px;
  }

  .pet-adaptive-form .form-section-headline {
    margin-bottom: 12px;
  }

  .pet-adaptive-form .form-section-headline h2 {
    font-size: 1.2rem;
  }

  .pet-item-card {
    padding: 12px;
    border-radius: 12px;
  }

  .pet-form-detail-disclosure > summary,
  .pet-form-optional-hub-summary {
    min-height: 50px;
    padding: 10px 11px;
  }

  .pet-location-more-body {
    padding: 10px;
  }

  .pet-location-detail-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .js-location-group .location-simple-step {
    padding: 12px 10px 12px 43px;
  }

  .js-location-group .location-simple-number {
    top: 13px;
    left: 10px;
    width: 25px;
    height: 25px;
  }

  .js-location-group .location-suggestions {
    max-height: min(42vh, 300px);
  }

  .pet-contact-more-body {
    grid-template-columns: 1fr;
  }

  .pet-contact-time-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pet-form-actions {
    padding: 11px;
    border-radius: 14px;
  }

  .pet-form-actions .pet-submit-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .pet-form-actions .pet-submit-buttons .btn {
    min-height: 44px;
    padding: 8px 10px;
    font-size: .82rem;
  }

  .user-pet-row.has-renew-action .user-pet-primary-action {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 370px) {
  .pet-form-shell {
    width: min(100% - 12px, 1060px);
  }

  .pet-form-actions .pet-submit-buttons {
    grid-template-columns: 1fr;
  }
}

/* ZooDomik v0.1.86.3 — desktop/mobile form geometry polish */
/*
 * Keep the form visually calm while giving real-world addresses and contact
 * details enough room to wrap. These rules intentionally override older
 * nested-grid rules that squeezed the location cards into half of the panel.
 */
.pet-location-more-body {
  display: block;
  padding: 18px 18px 16px;
}

.js-location-group .location-simple-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

.js-location-group .location-simple-step[data-simple-location-step="settlement"] {
  grid-column: 1 / -1;
  width: 100%;
  padding: 17px 18px 16px 54px;
}

.js-location-group .location-simple-step[data-simple-location-step="settlement"] .location-autocomplete-field {
  width: min(100%, 720px);
}

.pet-location-detail-grid {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  align-items: stretch;
}

.pet-location-detail-grid .location-simple-step {
  min-height: 166px;
  padding: 18px 18px 16px 54px;
  border-color: rgba(22, 76, 59, .14);
  background: #fff;
}

.pet-location-detail-grid .location-simple-number {
  top: 18px;
  left: 16px;
  width: 28px;
  height: 28px;
  font-size: .8rem;
}

.pet-location-detail-grid .field > label {
  display: block;
  min-height: 2.35rem;
  margin-bottom: 8px;
  font-size: .88rem;
  line-height: 1.32;
}

.pet-location-detail-grid input:not([type="hidden"]) {
  width: 100%;
  min-height: 48px;
  padding-inline: 13px;
}

.pet-location-detail-grid .location-search-status {
  margin-top: 8px;
  max-width: 36rem;
  font-size: .78rem;
  line-height: 1.42;
}

.pet-location-more .location-map-disclosure {
  width: 100%;
  margin-top: 16px;
}

.pet-location-more .location-map-disclosure > summary {
  min-height: 50px;
  padding: 12px 14px;
  font-size: .88rem;
  font-weight: 500;
}

/* Contact details use a balanced 5/7 split instead of four visually equal boxes. */
.pet-contact-more-body {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px 22px;
  padding: 18px 2px 5px;
  align-items: start;
}

.pet-contact-more-body .pet-contact-field--person,
.pet-contact-more-body .pet-contact-field--time {
  grid-column: span 5;
}

.pet-contact-more-body .pet-contact-field--messenger,
.pet-contact-more-body .pet-contact-field--comment {
  grid-column: span 7;
}

.pet-contact-more-body .field > label {
  margin-bottom: 8px;
  color: #214f41;
  font-size: .87rem;
  line-height: 1.35;
  font-weight: 500;
}

.pet-contact-more-body input,
.pet-contact-more-body textarea {
  width: 100%;
}

.pet-contact-more-body input:not([type="hidden"]) {
  min-height: 48px;
}

.pet-contact-time-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.pet-contact-time-pair > span {
  display: block;
  color: #7a8b85;
  text-align: center;
  font-size: .9rem;
}

.pet-contact-more-body textarea {
  min-height: 118px;
  resize: vertical;
}

.pet-contact-more-body .field > small {
  margin-top: 8px;
  max-width: 34rem;
  font-size: .78rem;
  line-height: 1.45;
}

.pet-contact-more[open] > summary,
.pet-location-more[open] > summary {
  border-bottom: 1px solid rgba(22, 76, 59, .09);
}

.pet-contact-more > summary,
.pet-location-more > summary {
  padding-inline: 15px 52px;
}

.pet-contact-more > summary > span,
.pet-location-more > summary > span {
  font-size: .92rem;
  line-height: 1.3;
}

.pet-contact-more > summary > small,
.pet-location-more > summary > small {
  max-width: 720px;
  margin-top: 3px;
  font-size: .79rem;
  line-height: 1.4;
}

/* Inputs should feel consistent across create/edit, without oversized typography. */
.pet-adaptive-form input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.pet-adaptive-form select,
.pet-adaptive-form textarea {
  padding: 11px 13px;
  font-size: .93rem;
  line-height: 1.42;
}

.pet-adaptive-form .form-section-headline {
  gap: 14px;
}

.pet-adaptive-form .form-section-headline .account-muted {
  max-width: 760px;
  line-height: 1.48;
}

@media (max-width: 900px) {
  .pet-location-detail-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .pet-location-detail-grid .location-simple-step {
    min-height: 0;
  }

  .pet-location-detail-grid .field > label {
    min-height: 0;
  }

  .pet-contact-more-body {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .pet-contact-more-body .pet-contact-field--person,
  .pet-contact-more-body .pet-contact-field--messenger,
  .pet-contact-more-body .pet-contact-field--time,
  .pet-contact-more-body .pet-contact-field--comment {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .pet-location-more-body {
    padding: 11px;
  }

  .js-location-group .location-simple-step[data-simple-location-step="settlement"],
  .pet-location-detail-grid .location-simple-step {
    padding: 13px 11px 13px 46px;
  }

  .pet-location-detail-grid .location-simple-number,
  .js-location-group .location-simple-step[data-simple-location-step="settlement"] .location-simple-number {
    top: 14px;
    left: 11px;
    width: 25px;
    height: 25px;
  }

  .pet-location-detail-grid input:not([type="hidden"]),
  .pet-contact-more-body input:not([type="hidden"]) {
    min-height: 46px;
  }

  .pet-contact-more-body {
    padding: 13px 0 3px;
  }

  .pet-contact-time-pair {
    grid-template-columns: minmax(0, 1fr) 14px minmax(0, 1fr);
    gap: 5px;
  }

  .pet-contact-time-pair > span {
    display: block;
  }

  .pet-contact-more-body textarea {
    min-height: 106px;
  }

  .pet-contact-more > summary,
  .pet-location-more > summary {
    padding: 11px 46px 11px 12px;
  }

  .pet-contact-more > summary > small,
  .pet-location-more > summary > small {
    font-size: .76rem;
  }
}

@media (max-width: 420px) {
  .pet-location-more-body {
    padding-inline: 8px;
  }

  .js-location-group .location-simple-step[data-simple-location-step="settlement"],
  .pet-location-detail-grid .location-simple-step {
    padding-right: 9px;
  }

  .pet-contact-time-pair {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .pet-contact-time-pair > span {
    display: none;
  }
}

/* ZooDomik v0.1.86.4 — contact disclosure spacing + consistent nested form style */
.pet-contact-more-body {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
  align-items: stretch;
}

.pet-contact-more-body .pet-contact-field--person,
.pet-contact-more-body .pet-contact-field--messenger,
.pet-contact-more-body .pet-contact-field--time,
.pet-contact-more-body .pet-contact-field--comment {
  grid-column: auto;
}

.pet-contact-more-body .pet-contact-field {
  min-width: 0;
  margin: 0;
  padding: 15px 16px 14px;
  border: 1px solid rgba(22, 76, 59, .12);
  border-radius: 12px;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.pet-contact-more-body .pet-contact-field > label {
  display: block;
  margin: 0 0 9px;
  color: #214f41;
  font-size: .86rem;
  line-height: 1.34;
  font-weight: 500;
}

.pet-contact-more-body .pet-contact-field input:not([type="hidden"]),
.pet-contact-more-body .pet-contact-field textarea {
  width: 100%;
  margin: 0;
  border-color: rgba(22, 76, 59, .17);
  background: #fff;
}

.pet-contact-more-body .pet-contact-field input:not([type="hidden"]) {
  min-height: 48px;
}

.pet-contact-more-body .pet-contact-field--time,
.pet-contact-more-body .pet-contact-field--comment {
  min-height: 154px;
}

.pet-contact-more-body .pet-contact-time-pair {
  margin-top: 0;
}

.pet-contact-more-body .pet-contact-field > small {
  display: block;
  margin: 9px 0 0;
  color: #6f817a;
  font-size: .77rem;
  line-height: 1.43;
  font-weight: 400;
}

.pet-contact-more-body .pet-contact-field--comment textarea {
  min-height: 94px;
  flex: 1 1 auto;
}

.pet-contact-more[open] .pet-contact-more-body {
  border-top: 0;
}

@media (max-width: 900px) {
  .pet-contact-more-body {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 13px;
  }

  .pet-contact-more-body .pet-contact-field--time,
  .pet-contact-more-body .pet-contact-field--comment {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .pet-contact-more-body {
    padding: 10px;
    gap: 10px;
  }

  .pet-contact-more-body .pet-contact-field {
    padding: 13px 12px 12px;
    border-radius: 11px;
  }

  .pet-contact-more-body .pet-contact-field > label {
    margin-bottom: 7px;
    font-size: .84rem;
  }

  .pet-contact-more-body .pet-contact-time-pair {
    grid-template-columns: minmax(0, 1fr) 14px minmax(0, 1fr);
    gap: 5px;
  }

  .pet-contact-more-body .pet-contact-time-pair > span {
    display: block;
  }
}

@media (max-width: 370px) {
  .pet-contact-more-body .pet-contact-time-pair {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .pet-contact-more-body .pet-contact-time-pair > span {
    display: none;
  }
}


/* v0.1.86.6 — quiet attribution shown only when Geoapify autocomplete is enabled. */
.location-data-attribution {
  margin: 10px 4px 0;
  font-size: .78rem;
  line-height: 1.45;
  color: var(--muted, #58766f);
}
.location-data-attribution a { color: inherit; text-underline-offset: 2px; }

/* ZooDomik v0.1.88.3 — map street reference marker */
.pet-simple-map-reference-marker {
  position: absolute;
  z-index: 3;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: rgba(15, 94, 69, .72);
  box-shadow: 0 3px 12px rgba(0, 0, 0, .22);
  pointer-events: none;
}

.pet-simple-map-reference-marker::after {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #fff;
  opacity: .9;
}


/* ZooDomik v0.1.88.4 — address reference marker */
.pet-simple-map-reference-marker[data-reference-kind="address"] {
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  background: #0f5e45;
  border-width: 3px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .24);
}

.pet-simple-map-reference-marker[data-reference-kind="address"]::after {
  inset: 7px;
}

.pet-simple-map-reference-label {
  position: absolute;
  left: 31px;
  top: 50%;
  transform: translateY(-50%);
  min-width: 30px;
  padding: 4px 7px;
  border: 1px solid rgba(15, 94, 69, .24);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .16);
  color: #0f5e45;
  font-size: .76rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

/* ZOODOMIK_PUBLIC_CONTACT_PROFILE_UX_V042
 * Scope: public user page and animal-contact reveal only.
 * Prevent unreadable labels and inline icon/text collisions.
 */
body.public-profile-v2-page .public-profile-v2-hero,
body.public-profile-v2-page .public-profile-v2-layout {
  color: #184b3c;
}
body.public-profile-v2-page :is(a, button).btn:not([hidden]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 44px;
  max-width: 100%;
  padding: .7rem 1rem;
  font-size: .95rem !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
  letter-spacing: normal !important;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  text-decoration: none;
}
body.public-profile-v2-page :is(a, button).btn.btn-primary,
body.public-profile-v2-page :is(a, button).btn.btn-primary:visited {
  background-color: #174d3c !important;
  border-color: #174d3c !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
body.public-profile-v2-page :is(a, button).btn.btn-primary:is(:hover, :focus-visible) {
  background-color: #0f3b2e !important;
  border-color: #0f3b2e !important;
  color: #ffffff !important;
}
body.public-profile-v2-page :is(a, button).btn.btn-secondary,
body.public-profile-v2-page :is(a, button).btn.btn-secondary:visited {
  background-color: #ffffff !important;
  border-color: #c4d5ce !important;
  color: #174d3c !important;
  -webkit-text-fill-color: #174d3c !important;
}
body.public-profile-v2-page :is(a, button).btn.btn-secondary:is(:hover, :focus-visible) {
  background-color: #eef6f1 !important;
  color: #103c30 !important;
}
body.public-profile-v2-page :is(a, button).btn span {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  font: inherit !important;
  visibility: visible !important;
  opacity: 1 !important;
}
body.public-profile-v2-page :is(a, button).btn svg,
body.public-profile-v2-page :is(a, button).btn .btn-icon {
  color: inherit !important;
  width: 1.15rem;
  height: 1.15rem;
  min-width: 1.15rem;
  flex: 0 0 auto;
  vertical-align: middle;
}
body.public-profile-v2-page .public-profile-v2-hero-actions,
body.public-profile-v2-page .public-profile-v2-layout .form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: .65rem;
}
body.public-profile-v2-page :is(a, button).btn:focus-visible {
  outline: 3px solid #d68131 !important;
  outline-offset: 3px;
}
body.zd-pet-v2 .contact-reveal-pet .contact-primary-role-row .contact-primary-value {
  color: #174d3c;
  font-weight: 650;
}
body.zd-pet-v2 .contact-profile-action .btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  white-space: normal;
  line-height: 1.4;
  min-height: 44px;
  padding: .7rem 1rem;
}
@media (max-width: 640px) {
  body.public-profile-v2-page .public-profile-v2-hero-actions .btn {
    width: 100%;
  }
  body.public-profile-v2-page :is(a, button).btn:not([hidden]) {
    font-size: .95rem !important;
  }
}
