:root {
  --tn-ink: #111714;
  --tn-ink-2: #26332d;
  --tn-paper: #f6f3ed;
  --tn-surface: #ffffff;
  --tn-surface-warm: #fbf7ef;
  --tn-line: rgba(17, 23, 20, 0.13);
  --tn-muted: rgba(17, 23, 20, 0.64);
  --tn-gold: #c69b4f;
  --tn-green: #3e5d4a;
  --tn-cyan: #3fa9ad;
  --tn-radius: 12px;
  --tn-shadow: 0 24px 70px rgba(17, 23, 20, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}


/* Page-specific visual CSS is loaded separately. */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--tn-ink);
  background: var(--tn-paper);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.tn-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 14px clamp(16px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--tn-line);
  backdrop-filter: blur(18px);
}

.tn-logo,
.tn-header-actions,
.tn-nav,
.tn-search__tabs,
.tn-card-actions,
.tn-footer__links {
  display: flex;
  align-items: center;
}

.tn-logo {
  gap: 12px;
  min-width: max-content;
}

.tn-logo__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--tn-ink);
  font-weight: 900;
  background: var(--tn-gold);
  border-radius: 10px;
}

.tn-logo__text strong,
.tn-logo__text small {
  display: block;
  line-height: 1;
}

.tn-logo__text small {
  margin-top: 5px;
  color: var(--tn-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.tn-nav {
  justify-content: center;
  gap: 18px;
  color: rgba(17, 23, 20, 0.72);
  font-size: 0.94rem;
}

.tn-nav a {
  padding: 10px 0;
  white-space: nowrap;
}

.tn-nav a:hover,
.tn-nav a.is-active {
  color: var(--tn-ink);
}

.tn-header-actions {
  gap: 10px;
}

.tn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.tn-btn--dark {
  color: #fff;
  background: var(--tn-ink);
}

.tn-btn--ghost {
  color: var(--tn-ink);
  background: transparent;
  border-color: var(--tn-line);
}

.tn-btn--accent {
  color: var(--tn-ink);
  background: var(--tn-gold);
}

.tn-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  background: #fff;
  border: 1px solid var(--tn-line);
  border-radius: 8px;
}

.tn-menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--tn-ink);
}

.tn-hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: #fff;
}

.tn-hero__media,
.tn-hero__shade {
  position: absolute;
  inset: 0;
}

.tn-hero__media {
  background-image: url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=2200&q=82");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.tn-hero__shade {
  background:
    linear-gradient(90deg, rgba(17, 23, 20, 0.9) 0%, rgba(17, 23, 20, 0.68) 42%, rgba(17, 23, 20, 0.18) 100%),
    linear-gradient(0deg, rgba(17, 23, 20, 0.76) 0%, rgba(17, 23, 20, 0) 44%);
}

.tn-hero__content {
  position: relative;
  z-index: 1;
  width: min(1060px, calc(100% - 32px));
  padding: clamp(78px, 11vw, 150px) 0 80px clamp(16px, 6vw, 72px);
}

.tn-kicker {
  margin: 0 0 14px;
  color: var(--tn-gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 20px;
  font-size: clamp(3.3rem, 8vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.tn-hero__intro {
  max-width: 760px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 2vw, 1.38rem);
  line-height: 1.55;
}

.tn-home-hero {
  min-height: 720px;
}

.tn-home-search {
  margin-top: 28px;
}

.tn-home-hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tn-home-hero__links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
}

.tn-home-scenarios {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--tn-line);
}

.tn-home-scenarios a {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
  color: var(--tn-ink);
  background: var(--tn-surface);
  text-decoration: none;
}

.tn-home-scenarios span {
  color: var(--tn-green);
  font-size: 0.8rem;
  font-weight: 900;
}

.tn-home-scenarios strong {
  font-size: 1.15rem;
}

.tn-home-scenarios small {
  color: var(--tn-muted);
  line-height: 1.45;
}

.tn-section__head--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  max-width: none;
}

.tn-home-featured {
  padding-bottom: 48px;
}

.tn-home-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(58px, 8vw, 96px) clamp(16px, 5vw, 72px);
  background: var(--tn-surface-warm);
}

.tn-home-split h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1;
}

.tn-home-split p {
  color: var(--tn-muted);
  line-height: 1.6;
}

.tn-owner-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tn-owner-steps article {
  display: grid;
  gap: 8px;
  min-width: 0;
  min-height: 180px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--tn-line);
  border-radius: 8px;
}

.tn-owner-steps span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--tn-ink);
  border-radius: 999px;
  font-weight: 900;
}

.tn-owner-steps strong {
  font-size: 1.2rem;
}

.tn-owner-steps small {
  color: var(--tn-muted);
  line-height: 1.45;
}

.tn-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.tn-btn--hero {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.48);
}

.tn-search {
  width: min(980px, 100%);
  color: var(--tn-ink);
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--tn-radius);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}

.tn-search__tabs {
  gap: 6px;
  padding: 10px 10px 0;
}

.tn-search__tabs button,
.tn-category-row button,
.tn-category-row a {
  min-height: 38px;
  padding: 0 15px;
  color: var(--tn-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.tn-search__tabs button.is-active,
.tn-category-row button.is-active,
.tn-category-row a.is-active {
  color: #fff;
  background: var(--tn-green);
}

.tn-search__grid {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(150px, 0.9fr) minmax(150px, 0.8fr) auto;
  gap: 12px;
  padding: 12px;
}

label span {
  display: block;
  margin-bottom: 6px;
  color: var(--tn-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--tn-ink);
  background: #fff;
  border: 1px solid var(--tn-line);
  border-radius: 8px;
  outline: none;
}

textarea {
  resize: vertical;
}

.tn-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--tn-cyan);
  box-shadow: 0 0 0 3px rgba(63, 169, 173, 0.16);
}

.tn-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--tn-line);
}

.tn-stats article {
  padding: clamp(24px, 4vw, 40px);
  background: var(--tn-surface-warm);
}

.tn-stats strong {
  display: block;
  margin-bottom: 8px;
  color: var(--tn-green);
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.tn-stats span,
.tn-section__head p,
.tn-property-card p,
.tn-map-section p,
.tn-ecosystem-grid p,
.tn-audience-grid p,
.tn-footer p {
  color: var(--tn-muted);
  line-height: 1.6;
}

.tn-section,
.tn-inbound-request {
  padding: clamp(58px, 8vw, 108px) clamp(16px, 5vw, 72px);
}

.tn-section__head {
  max-width: 860px;
  margin-bottom: 34px;
}

.tn-section__head h2,
.tn-map-section h2,
.tn-process h2 {
  margin-bottom: 14px;
  font-size: clamp(2.1rem, 4.6vw, 4.3rem);
  line-height: 1;
  letter-spacing: 0;
}

.tn-category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.tn-category-row button,
.tn-category-row a {
  display: inline-flex;
  align-items: center;
  color: var(--tn-ink);
  background: #fff;
  border-color: var(--tn-line);
}

.tn-property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.tn-property-card,
.tn-audience-grid article {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--tn-line);
  border-radius: var(--tn-radius);
  box-shadow: var(--tn-shadow);
}

.tn-property-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.tn-property-card__body {
  padding: 20px;
}

.tn-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tn-card-tags span {
  padding: 6px 10px;
  color: var(--tn-green);
  font-size: 0.72rem;
  font-weight: 900;
  background: rgba(62, 93, 74, 0.1);
  border-radius: 999px;
}

.tn-property-card h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.tn-property-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--tn-line);
}

.tn-property-meta strong {
  font-size: 1.35rem;
}

.tn-property-meta span {
  color: var(--tn-muted);
  font-size: 0.9rem;
}

.tn-card-actions {
  gap: 10px;
  margin-top: 16px;
}

.tn-card-actions button,
.tn-card-actions a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  color: var(--tn-ink);
  background: #fff;
  border: 1px solid var(--tn-line);
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.tn-card-actions button.is-selected,
.tn-card-actions a.tn-btn--dark {
  color: #fff;
  background: var(--tn-ink);
  border-color: var(--tn-ink);
}

.tn-map-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  padding: clamp(58px, 8vw, 108px) clamp(16px, 5vw, 72px);
  background: var(--tn-surface-warm);
}

.tn-map-mock {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(63, 169, 173, 0.25) 1px, transparent 1px),
    linear-gradient(0deg, rgba(63, 169, 173, 0.22) 1px, transparent 1px),
    linear-gradient(135deg, #dfe9e2, #c6d8cc 45%, #8eaa99);
  background-size: 46px 46px, 46px 46px, auto;
  border: 1px solid var(--tn-line);
  border-radius: var(--tn-radius);
  box-shadow: var(--tn-shadow);
}

.tn-map-mock::before,
.tn-map-mock::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.62);
}

.tn-map-mock::before {
  inset: 18% 18% auto auto;
  width: 42%;
  height: 18%;
  transform: rotate(-18deg);
}

.tn-map-mock::after {
  inset: auto auto 16% 14%;
  width: 48%;
  height: 22%;
  transform: rotate(16deg);
}

.pin {
  position: absolute;
  z-index: 1;
  padding: 8px 11px;
  color: #fff;
  font-weight: 900;
  background: var(--tn-green);
  border: 3px solid #fff;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(17, 23, 20, 0.22);
}

.pin-a { left: 58%; top: 28%; }
.pin-b { left: 38%; top: 55%; }
.pin-c { left: 70%; top: 66%; }

.tn-section--dark {
  color: #fff;
  background: var(--tn-ink);
}

.tn-section--dark .tn-section__head p,
.tn-section--dark .tn-ecosystem-grid p {
  color: rgba(255, 255, 255, 0.64);
}

.tn-ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.tn-ecosystem-grid article {
  min-height: 250px;
  padding: 24px;
  background: #18211d;
}

.tn-ecosystem-grid span {
  display: block;
  margin-bottom: 42px;
  color: var(--tn-gold);
  font-weight: 900;
}

.tn-audience-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.tn-audience-grid article {
  padding: 22px;
  box-shadow: none;
}

.tn-process {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
  gap: clamp(24px, 6vw, 72px);
  padding: clamp(58px, 8vw, 108px) clamp(16px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(135deg, var(--tn-green), var(--tn-ink));
}

.tn-process ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.tn-process li {
  counter-increment: step;
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--tn-radius);
}

.tn-process li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 10px;
  color: var(--tn-gold);
  font-weight: 900;
}

.tn-inbound-request {
  background: #fff;
}

.tn-inbound-request-form {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  max-width: 1240px;
}

.tn-inbound-request-form .is-wide,
.tn-inbound-request-form button,
.tn-form-status {
  grid-column: 1 / -1;
}

.tn-inbound-request-form button {
  width: min(320px, 100%);
}

.tn-form-status {
  min-height: 24px;
  margin: 0;
  color: var(--tn-green);
  font-weight: 800;
}

.tn-mobile-dock {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 28;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  width: min(520px, calc(100% - 24px));
  overflow: hidden;
  background: rgba(17, 23, 20, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.tn-mobile-dock a {
  padding: 13px 8px;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  text-align: center;
}

.tn-mobile-dock a.is-active {
  background: rgba(255, 255, 255, 0.14);
}

.tn-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(16px, 5vw, 72px) 92px;
  color: #fff;
  background: #0d110f;
}

.tn-footer p {
  max-width: 640px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.64);
}

.tn-footer__links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

@media (max-width: 1240px) {
  .tn-header {
    grid-template-columns: auto auto;
  }

  .tn-menu-button {
    display: block;
    justify-self: end;
  }

  .tn-nav,
  .tn-header-actions {
    display: none;
  }

  .tn-header.is-open .tn-nav,
  .tn-header.is-open .tn-header-actions {
    display: flex;
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .tn-header.is-open .tn-nav {
    flex-wrap: wrap;
  }

  .tn-property-grid,
  .tn-ecosystem-grid,
  .tn-audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tn-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .tn-inbound-request-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .tn-header {
    padding: 12px 14px;
  }

  .tn-header.is-open .tn-nav,
  .tn-header.is-open .tn-header-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .tn-hero {
    min-height: 820px;
  }

  .tn-hero__content {
    width: 100%;
    padding: 58px 14px 56px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  .tn-search__grid,
  .tn-stats,
  .tn-home-scenarios,
  .tn-property-grid,
  .tn-map-section,
  .tn-ecosystem-grid,
  .tn-audience-grid,
  .tn-home-split,
  .tn-owner-steps,
  .tn-process,
  .tn-inbound-request-form {
    grid-template-columns: 1fr;
  }

  .tn-section,
  .tn-map-section,
  .tn-home-split,
  .tn-process,
  .tn-inbound-request {
    padding: 52px 14px;
  }

  .tn-map-mock {
    min-height: 320px;
  }

  .tn-mobile-dock {
    display: grid;
  }

  .tn-footer {
    flex-direction: column;
    padding: 30px 14px 90px;
  }

  .tn-footer__links {
    justify-content: flex-start;
  }
}

.tn-page {
  min-height: 70vh;
  background: var(--tn-paper);
}

.tn-page-hero,
.tn-property-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: end;
  padding: clamp(54px, 8vw, 96px) clamp(16px, 5vw, 72px) clamp(34px, 5vw, 68px);
}

.tn-presentation-page {
  background: var(--tn-paper);
}

.tn-presentation-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: stretch;
  padding: clamp(22px, 4vw, 54px) clamp(16px, 5vw, 72px) 28px;
}

.tn-presentation-hero__media {
  min-height: clamp(300px, 52vw, 660px);
  overflow: hidden;
  background: var(--tn-surface);
  border-radius: 8px;
}

.tn-presentation-hero__media img,
.tn-presentation-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.tn-presentation-hero__copy {
  display: grid;
  align-content: center;
  gap: 18px;
  min-width: 0;
  padding: clamp(20px, 4vw, 38px);
  background: var(--tn-surface);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
}

.tn-presentation-hero__copy h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
}

.tn-presentation-hero__copy p:not(.tn-kicker) {
  margin: 0;
  color: var(--tn-ink-muted);
  line-height: 1.55;
}

.tn-presentation-price {
  display: block;
  font-size: clamp(1.55rem, 3vw, 2.6rem);
  line-height: 1;
}

.tn-presentation-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.tn-presentation-gallery img {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
}

.tn-page-hero h1,
.tn-property-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 0.95;
}

.tn-page-hero p,
.tn-property-hero p,
.tn-property-detail p,
.tn-agent-card p {
  color: var(--tn-muted);
}

.tn-page-hero__meta {
  justify-self: end;
  width: min(100%, 260px);
  padding: 24px;
  color: #fff;
  background: var(--tn-ink);
  border-radius: 8px;
}

.tn-page-hero__meta strong {
  display: block;
  font-size: 3rem;
  line-height: 1;
}

.tn-page-hero__actions {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.tn-page-hero__actions .tn-btn {
  width: 100%;
  justify-content: center;
  padding: 10px 12px;
  font-size: 0.84rem;
}

.tn-page-hero__actions .tn-btn--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

.tn-catalog-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  padding: 0 clamp(16px, 5vw, 72px) 72px;
}

.tn-filter-panel,
.tn-agent-card,
.tn-empty-state {
  background: var(--tn-surface);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(17, 23, 20, 0.08);
}

.tn-filter-panel {
  position: sticky;
  top: 88px;
  align-self: start;
  padding: 20px;
}

.tn-filter-panel form,
.tn-object-form {
  display: grid;
  gap: 14px;
}

.tn-filter-panel label,
.tn-object-form label {
  display: grid;
  gap: 7px;
  color: var(--tn-muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.tn-filter-panel input,
.tn-filter-panel select,
.tn-object-form input,
.tn-object-form textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--tn-ink);
  background: #fff;
  border: 1px solid var(--tn-line);
  border-radius: 8px;
}

.tn-filter-panel__range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.tn-filter-panel__reset {
  color: var(--tn-muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.tn-property-grid--catalog {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tn-property-card__image {
  display: block;
  overflow: hidden;
}

.tn-property-card h2 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.15;
}

.tn-property-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tn-property-facts span {
  padding: 7px 10px;
  color: var(--tn-ink-2);
  font-size: 0.82rem;
  font-weight: 800;
  background: rgba(62, 93, 74, 0.1);
  border-radius: 999px;
}

.tn-empty-state {
  padding: 28px;
  margin-bottom: 24px;
}

.tn-empty-state--page {
  width: min(760px, calc(100% - 32px));
  margin: 72px auto;
}

.tn-gallery {
  display: grid;
  gap: 12px;
}

.tn-gallery__stage {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.tn-gallery__main,
.tn-gallery__thumbs img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.tn-gallery__main {
  display: block;
  aspect-ratio: 4 / 3;
  min-height: 360px;
}

.tn-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.tn-gallery__thumbs button {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
}

.tn-gallery__thumbs button.is-active {
  border-color: var(--tn-green);
}

.tn-gallery__thumbs img {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
}

.tn-gallery__counter,
.tn-gallery__open {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  color: #fff;
  background: rgba(17, 23, 20, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.tn-gallery__counter {
  left: 12px;
  bottom: 12px;
}

.tn-gallery__open {
  right: 12px;
  bottom: 12px;
}

.tn-gallery__empty {
  display: grid;
  gap: 6px;
  padding: 16px;
  color: var(--tn-muted);
  background: var(--tn-surface);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
}

.tn-gallery__empty strong {
  color: var(--tn-ink);
}

.tn-property-hero__price {
  margin: 22px 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1;
}

.tn-property-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.tn-property-summary div {
  min-width: 0;
  padding: 13px 14px;
  background: #fff;
  border: 1px solid var(--tn-line);
  border-radius: 8px;
}

.tn-property-summary span,
.tn-agent-card__request span {
  display: block;
  margin-bottom: 4px;
  color: var(--tn-muted);
  font-size: 0.82rem;
}

.tn-property-summary strong,
.tn-agent-card__request strong {
  display: block;
  color: var(--tn-ink);
  line-height: 1.25;
}

.tn-property-hero__note {
  max-width: 620px;
  margin: 12px 0 0;
  font-size: 0.95rem;
}

.tn-gallery__price {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  max-width: calc(100% - 24px);
  padding: 8px 12px;
  color: var(--tn-ink);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(17, 23, 20, 0.16);
  font-weight: 900;
}

.tn-property-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 30px;
  align-items: start;
  padding: 0 clamp(16px, 5vw, 72px) 72px;
}

.tn-property-detail,
.tn-agent-card {
  min-width: 0;
}

.tn-property-detail {
  display: grid;
  gap: 28px;
}

.tn-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tn-detail-groups {
  display: grid;
  gap: 18px;
}

.tn-detail-group {
  display: grid;
  gap: 10px;
}

.tn-detail-group h2 {
  margin: 0;
  font-size: 1.05rem;
}

.tn-detail-grid div {
  padding: 18px;
  background: var(--tn-surface);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
}

.tn-detail-grid span {
  display: block;
  color: var(--tn-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.tn-detail-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 1.35rem;
}

.tn-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tn-feature-list span {
  padding: 10px 12px;
  background: var(--tn-surface-warm);
  border: 1px solid var(--tn-line);
  border-radius: 999px;
}

.tn-tour-placeholder {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(17, 23, 20, 0.9), rgba(62, 93, 74, 0.88)),
    url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=1400&q=80") center/cover;
  border-radius: 8px;
}

.tn-tour-placeholder p {
  color: rgba(255, 255, 255, 0.72);
}

.tn-tour-placeholder__badge {
  min-width: 120px;
  padding: 14px 18px;
  font-weight: 900;
  text-align: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
}

.tn-location-photo-editor {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: var(--tn-surface-warm);
  border: 1px solid var(--tn-line);
  border-radius: var(--tn-radius);
}

.tn-location-photo-editor .tn-gallery__stage {
  min-height: 220px;
  max-height: 320px;
}

.tn-location-photo-editor .tn-gallery__main {
  min-height: 220px;
  max-height: 320px;
  object-fit: cover;
}

.tn-agent-card {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 14px;
  padding: 22px;
}

.tn-agent-card a {
  font-weight: 900;
}

.tn-agent-card__request {
  display: grid;
  gap: 4px;
  padding: 14px;
  background: var(--tn-bg);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
}

.tn-agent-card__request span {
  margin-bottom: 0;
  line-height: 1.45;
}

.tn-form-status.is-visible {
  display: block;
  margin: 0;
}

.tn-page-hero--submit {
  align-items: end;
}

.tn-submit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
  padding: 0 clamp(16px, 5vw, 72px) 72px;
}

.tn-submit-form {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.tn-submit-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 22px;
  background: var(--tn-surface);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
}

.tn-submit-form legend {
  padding: 0 8px;
  color: var(--tn-green);
  font-weight: 900;
}

.tn-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tn-form-grid .is-wide {
  grid-column: 1 / -1;
}

.tn-form-note {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  color: var(--tn-ink-muted);
  background: var(--tn-surface-warm);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
}

.tn-form-note strong {
  color: var(--tn-ink);
}

.tn-checkbox {
  display: flex;
  grid-column: 1 / -1;
  gap: 10px;
  align-items: center;
  min-height: 44px;
}

.tn-checkbox input {
  width: 18px;
  height: 18px;
}

.tn-submit-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.tn-support-panel {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 16px;
  padding: 22px;
  color: #fff;
  background: var(--tn-ink);
  border-radius: 8px;
}

.tn-support-panel ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.76);
}

.tn-support-panel .tn-btn {
  justify-self: start;
  background: #fff;
  color: var(--tn-ink);
}

.tn-view-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tn-view-switch a {
  padding: 10px 12px;
  font-weight: 900;
  background: var(--tn-surface);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
}

.tn-view-switch a.is-active {
  color: #fff;
  background: var(--tn-ink);
}

.tn-listing-panel,
.tn-compare-workspace,
.tn-favourite-workspace,
.tn-map-workspace {
  min-width: 0;
}

.tn-listing-table-wrap {
  overflow-x: auto;
  background: var(--tn-surface);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(17, 23, 20, 0.08);
}

.tn-listing-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}

.tn-listing-table th,
.tn-listing-table td {
  padding: 14px;
  border-bottom: 1px solid var(--tn-line);
  text-align: left;
  vertical-align: middle;
}

.tn-listing-table th {
  color: var(--tn-muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tn-listing-table td {
  font-size: 0.94rem;
}

.tn-listing-title {
  display: block;
  max-width: 320px;
  font-weight: 900;
}

.tn-listing-title + span {
  display: block;
  margin-top: 5px;
  color: var(--tn-muted);
  font-size: 0.82rem;
}

.tn-status-pill {
  display: inline-flex;
  padding: 7px 10px;
  color: var(--tn-green);
  font-weight: 900;
  background: rgba(62, 93, 74, 0.12);
  border-radius: 999px;
}

.tn-listing-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.tn-listing-actions a,
.tn-listing-actions button,
.tn-compare-table button,
.tn-card-actions button {
  color: var(--tn-ink);
  font-weight: 900;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.tn-listing-actions button.is-selected,
.tn-compare-table button.is-selected,
.tn-card-actions button.is-selected {
  color: var(--tn-green);
}

.tn-listing-actions .tn-manager-row-cta {
  padding: 7px 9px;
  background: var(--tn-surface-warm);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
  text-decoration: none;
}

.tn-listing-actions .tn-manager-row-cta.is-warning {
  color: var(--tn-ink);
  border-color: color-mix(in srgb, var(--tn-gold) 48%, var(--tn-line));
}

.tn-listing-actions .tn-manager-row-cta.is-ready {
  color: var(--tn-green);
  border-color: color-mix(in srgb, var(--tn-green) 36%, var(--tn-line));
}

.tn-map-workspace,
.tn-compare-workspace,
.tn-favourite-workspace {
  padding: 0 clamp(16px, 5vw, 72px) 72px;
}

.tn-map-canvas {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(63, 169, 173, 0.22), rgba(62, 93, 74, 0.34)),
    url("https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=1800&q=80") center/cover;
  border: 1px solid var(--tn-line);
  border-radius: 8px;
  box-shadow: var(--tn-shadow);
}

.tn-map-pin {
  position: absolute;
  display: grid;
  gap: 4px;
  min-width: 128px;
  padding: 10px 12px;
  color: #fff;
  background: rgba(17, 23, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  transform: translate(-50%, -50%);
}

.tn-map-pin strong {
  font-size: 0.9rem;
}

.tn-map-pin span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.tn-map-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.tn-map-list article {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  background: var(--tn-surface);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
}

.tn-map-list h2 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.tn-map-list p:not(.tn-kicker) {
  margin: 0;
  color: var(--tn-muted);
}

.tn-admin-workspace,
.tn-admin-detail {
  padding: 0 clamp(16px, 5vw, 72px) 72px;
}

.tn-admin-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.tn-admin-card {
  min-width: 0;
  padding: 24px;
  background: var(--tn-surface);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(17, 23, 20, 0.08);
}

.tn-admin-card h2 {
  margin: 22px 0 12px;
  font-size: 1.25rem;
}

.tn-admin-card h2:first-child {
  margin-top: 0;
}

.tn-admin-card--side {
  position: sticky;
  top: 88px;
}

.tn-moderation-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.tn-moderation-form label {
  display: grid;
  gap: 8px;
  color: var(--tn-muted);
  font-weight: 800;
}

.tn-moderation-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--tn-line);
  border-radius: 8px;
  resize: vertical;
}

.tn-media-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tn-media-review-grid article {
  min-width: 0;
  padding: 10px;
  background: var(--tn-surface-warm);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
}

.tn-media-review-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.tn-media-review-grid span {
  display: block;
  margin-top: 8px;
  color: var(--tn-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.tn-admin-card__head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.tn-manager-hint {
  padding: 18px 20px;
}

.tn-manager-hint .tn-admin-card__head {
  align-items: center;
  margin-bottom: 10px;
}

.tn-manager-hint h2 {
  margin: 4px 0 0;
  font-size: 1.08rem;
}

.tn-manager-hint p {
  margin: 0;
  max-width: 920px;
  color: var(--tn-ink-muted);
  line-height: 1.45;
}

.tn-manager-hint > .tn-admin-card__head > strong {
  display: inline-flex;
  min-width: 44px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  background: var(--tn-surface-warm);
  border: 1px solid var(--tn-line);
  border-radius: 999px;
  font-size: 0.9rem;
}

.tn-manager-hint.is-ok {
  border-color: color-mix(in srgb, var(--tn-green) 22%, var(--tn-line));
}

.tn-manager-hint.is-warning {
  border-color: color-mix(in srgb, var(--tn-gold) 36%, var(--tn-line));
}

.tn-manager-todo {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tn-manager-todo li {
  padding: 8px 11px;
  background: #fff;
  border: 1px solid var(--tn-line);
  border-radius: 999px;
  color: var(--tn-ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.tn-manager-todo li::before {
  content: "+";
  margin-right: 6px;
  color: var(--tn-gold);
  font-weight: 900;
}

.tn-manager-next {
  display: grid;
  gap: 14px;
}

.tn-manager-next__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.tn-manager-next__grid a {
  min-width: 0;
  padding: 13px 14px;
  color: var(--tn-ink);
  background: var(--tn-surface-warm);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
}

.tn-manager-next__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tn-manager-next__actions form {
  margin: 0;
}

.tn-manager-next__forms {
  display: grid;
  gap: 10px;
}

.tn-manager-quick-form {
  display: grid;
  grid-template-columns: minmax(130px, 0.8fr) minmax(180px, 1fr) minmax(170px, 0.9fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
}

.tn-location-admin-list {
  display: grid;
  gap: 12px;
}

.tn-location-admin-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
}

.tn-location-admin-item strong,
.tn-location-admin-item span,
.tn-location-admin-item small {
  display: block;
}

.tn-location-admin-item span,
.tn-location-admin-item small {
  color: var(--tn-muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.tn-location-admin-item small {
  max-width: 72ch;
  margin-top: 6px;
  line-height: 1.45;
}

.tn-location-admin-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.tn-location-admin-item__meta span {
  min-width: 100%;
  text-align: right;
}

.tn-location-admin-item__meta a {
  padding: 8px 10px;
  color: var(--tn-ink);
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid var(--tn-line);
  border-radius: 8px;
}

.tn-manager-quick-form label {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.tn-manager-quick-form label > span {
  color: var(--tn-muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.tn-manager-quick-form input {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--tn-line);
  border-radius: 8px;
  font: inherit;
}

.tn-manager-quick-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tn-admin-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.tn-admin-metrics a {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 18px;
  background: var(--tn-surface);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(17, 23, 20, 0.08);
}

.tn-admin-metrics span,
.tn-admin-metrics small {
  color: var(--tn-muted);
  font-weight: 800;
}

.tn-admin-metrics strong {
  font-size: 2rem;
  line-height: 1;
}

.tn-admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}

.tn-admin-dashboard-grid--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tn-dashboard-list {
  display: grid;
  gap: 10px;
}

.tn-dashboard-list a,
.tn-dashboard-bars div {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--tn-line);
}

.tn-dashboard-list a:last-child,
.tn-dashboard-bars div:last-child {
  border-bottom: 0;
}

.tn-dashboard-list strong {
  min-width: 0;
  font-size: 0.96rem;
}

.tn-dashboard-list span,
.tn-dashboard-bars span {
  color: var(--tn-muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.tn-dashboard-list a {
  display: grid;
  gap: 5px;
  justify-content: stretch;
}

.tn-dashboard-bars {
  display: grid;
  margin-top: 12px;
}

.tn-property-edit-form,
.tn-media-manager {
  display: grid;
  gap: 22px;
}

.tn-property-edit-form label,
.tn-property-edit-form .tn-checkbox {
  min-width: 0;
}

.tn-property-edit-form label > span,
.tn-media-manager label > span {
  display: block;
  margin-bottom: 7px;
  color: var(--tn-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.tn-property-edit-form input[type="text"],
.tn-property-edit-form input[type="number"],
.tn-property-edit-form input[type="url"],
.tn-property-edit-form select,
.tn-property-edit-form textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 13px;
  color: var(--tn-ink);
  background: #fff;
  border: 1px solid var(--tn-line);
  border-radius: 8px;
  font: inherit;
}

.tn-property-edit-form textarea {
  resize: vertical;
  line-height: 1.55;
}

.tn-dropzone-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.tn-property-edit-form .tn-dropzone,
.tn-media-manager .tn-dropzone {
  position: relative;
  display: grid;
  min-height: 220px;
  padding: 18px;
  align-content: center;
  gap: 8px;
  color: var(--tn-ink);
  background: #fff;
  border: 1px dashed color-mix(in srgb, var(--tn-green) 45%, var(--tn-line));
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.tn-property-edit-form .tn-dropzone:hover,
.tn-media-manager .tn-dropzone:hover,
.tn-property-edit-form .tn-dropzone.is-dragover,
.tn-media-manager .tn-dropzone.is-dragover {
  background: color-mix(in srgb, var(--tn-green) 7%, #fff);
  border-color: var(--tn-green);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tn-green) 20%, transparent);
}

.tn-dropzone input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.tn-dropzone strong {
  font-size: 1.02rem;
}

.tn-dropzone small {
  color: var(--tn-muted);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
}

.tn-dropzone__preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.tn-dropzone__file {
  min-width: 0;
  display: grid;
  gap: 5px;
  align-content: start;
  padding: 6px;
  background: var(--tn-surface-warm);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
  color: var(--tn-muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.tn-dropzone__file img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.tn-dropzone__file small {
  overflow: hidden;
  color: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tn-property-edit-form .tn-checkbox {
  align-self: end;
  margin: 0;
  padding: 10px 12px;
  background: var(--tn-surface-warm);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
}

.tn-manage-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(140px, 1fr));
  gap: 14px;
  align-items: end;
}

.tn-manage-filters label {
  min-width: 0;
}

.tn-manage-filters label > span {
  display: block;
  margin-bottom: 7px;
  color: var(--tn-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.tn-manage-filters input,
.tn-manage-filters select {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  color: var(--tn-ink);
  background: #fff;
  border: 1px solid var(--tn-line);
  border-radius: 8px;
  font: inherit;
}

.tn-manage-filters__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.tn-manage-object {
  display: grid;
  grid-template-columns: 64px minmax(180px, 1fr);
  gap: 12px;
  align-items: center;
}

.tn-manage-thumb {
  display: block;
  width: 64px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--tn-surface-warm);
  border: 1px solid var(--tn-line);
  border-radius: 6px;
}

.tn-manage-thumb--empty {
  display: grid;
  place-items: center;
  color: var(--tn-green);
  font-weight: 900;
}

.tn-manage-table td span {
  display: block;
  margin-top: 4px;
  color: var(--tn-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.tn-inline-status-form {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.tn-inline-status-form select {
  width: 100%;
  min-width: 0;
  padding: 8px 9px;
  background: #fff;
  border: 1px solid var(--tn-line);
  border-radius: 8px;
}

.tn-inline-status-form button {
  min-width: 40px;
  min-height: 36px;
  color: #fff;
  background: var(--tn-green);
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.tn-media-manager-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tn-admin-card__note {
  margin: 6px 0 0;
  color: var(--tn-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.tn-media-card {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 12px;
  background: var(--tn-surface-warm);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
  cursor: grab;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

.tn-media-card.is-dragging {
  opacity: 0.58;
  border-color: var(--tn-gold);
  box-shadow: var(--tn-shadow-soft);
}

.tn-media-card.is-marked-delete {
  border-color: color-mix(in srgb, var(--tn-red) 42%, var(--tn-line));
  opacity: 0.72;
}

.tn-media-card.is-marked-delete img {
  filter: grayscale(0.75);
}

.tn-media-card__preview {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
}

.tn-media-manager-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.tn-media-card__drag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 5px 8px;
  color: #fff;
  background: rgba(17, 24, 20, 0.72);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
}

.tn-media-card__controls {
  display: grid;
  gap: 10px;
}

.tn-media-manager-grid label,
.tn-radio-row,
.tn-checkbox-row {
  display: grid;
  gap: 6px;
  color: var(--tn-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.tn-radio-row,
.tn-checkbox-row {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.tn-checkbox-row--danger {
  width: fit-content;
  padding: 8px 10px;
  color: var(--tn-red);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--tn-red) 22%, var(--tn-line));
  border-radius: 8px;
}

.tn-media-manager-grid input[type="text"] {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid var(--tn-line);
  border-radius: 8px;
}

.tn-auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 34px;
  align-items: start;
  padding: clamp(56px, 8vw, 96px) clamp(16px, 5vw, 72px) 72px;
}

.tn-auth-copy h1 {
  font-size: clamp(3rem, 7vw, 6rem);
}

.tn-auth-copy p {
  max-width: 680px;
  color: var(--tn-muted);
  font-size: 1.1rem;
}

.tn-auth-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--tn-surface);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
  box-shadow: var(--tn-shadow);
}

.tn-auth-form label {
  display: grid;
  gap: 7px;
  color: var(--tn-muted);
  font-weight: 800;
}

.tn-auth-form input,
.tn-auth-form select {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--tn-line);
  border-radius: 8px;
}

.tn-auth-form__note {
  margin: 0;
  color: var(--tn-muted);
}

.tn-auth-form__note a {
  color: var(--tn-green);
  font-weight: 900;
}

.tn-cabinet-workspace {
  display: grid;
  gap: 24px;
  padding: 0 clamp(16px, 5vw, 72px) 72px;
}

.tn-cabinet-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
}

.tn-cabinet-actions {
  display: grid;
  gap: 10px;
}

.tn-row-link {
  font-weight: 900;
}

.tn-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 24px clamp(16px, 5vw, 72px) 0;
  color: var(--tn-muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.tn-breadcrumbs a {
  color: var(--tn-ink);
  text-decoration: none;
}

.tn-hero-search {
  max-width: 760px;
  margin-top: 24px;
}

.tn-hero-search form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(17, 23, 20, 0.08);
}

.tn-hero-search input {
  min-width: 0;
  width: 100%;
  padding: 13px 14px;
  border: 0;
  background: transparent;
  color: var(--tn-ink);
  font: inherit;
}

.tn-catalog-insights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0 clamp(16px, 5vw, 72px) 28px;
}

.tn-catalog-insights div {
  min-width: 0;
  padding: 18px;
  background: var(--tn-surface);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
}

.tn-catalog-insights span,
.tn-results-bar .tn-kicker {
  display: block;
  color: var(--tn-muted);
}

.tn-catalog-insights strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.tn-catalog-command {
  display: grid;
  gap: 18px;
  margin: 0 clamp(16px, 5vw, 72px) 22px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--tn-line);
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(17, 23, 20, 0.08);
}

.tn-catalog-command__head {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  justify-content: space-between;
}

.tn-catalog-command__head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.tn-catalog-command__head strong {
  white-space: nowrap;
  color: var(--tn-green);
  font-size: 1rem;
}

.tn-deal-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.tn-deal-switch label {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  color: var(--tn-ink);
  background: var(--tn-surface-warm);
  border: 1px solid var(--tn-line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
}

.tn-deal-switch label.is-active {
  color: #fff;
  background: var(--tn-ink);
  border-color: var(--tn-ink);
}

.tn-deal-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tn-catalog-command__grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(150px, 0.8fr) minmax(150px, 0.8fr) auto;
  gap: 10px;
}

.tn-catalog-command__grid input,
.tn-catalog-command__grid select {
  min-width: 0;
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  color: var(--tn-ink);
  background: var(--tn-paper);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
  font: inherit;
}

.tn-catalog-viewbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 clamp(16px, 5vw, 72px) 22px;
}

.tn-catalog-viewbar a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  color: var(--tn-ink);
  background: var(--tn-surface);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
}

.tn-catalog-viewbar a.is-active {
  color: #fff;
  background: var(--tn-ink);
  border-color: var(--tn-ink);
}

.tn-catalog-section-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  padding: 0 clamp(16px, 5vw, 72px) 28px;
}

.tn-mobile-catalog-actions {
  display: none;
  gap: 8px;
  padding: 0 14px 14px;
}

.tn-mobile-catalog-actions a {
  flex: 1 1 0;
  min-width: 0;
  padding: 10px 12px;
  color: var(--tn-ink);
  background: var(--tn-surface);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.tn-catalog-section-nav > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
}

.tn-catalog-section-nav span {
  color: var(--tn-muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tn-catalog-section-nav a {
  color: var(--tn-ink);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
}

.tn-results-bar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.tn-results-bar h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.tn-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.tn-active-filters span,
.tn-card-badge,
.tn-seo-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  background: var(--tn-surface-warm);
  border: 1px solid var(--tn-line);
  border-radius: 999px;
  color: var(--tn-ink);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.tn-property-card__image {
  position: relative;
  display: block;
  overflow: hidden;
}

.tn-property-card h2 {
  margin: 12px 0 8px;
  font-size: 1.25rem;
  line-height: 1.15;
}

.tn-property-card h2 a {
  color: inherit;
  text-decoration: none;
}

.tn-property-card p {
  display: -webkit-box;
  min-height: 3.1em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tn-property-card__body {
  display: grid;
  gap: 10px;
}

.tn-property-meta {
  align-items: flex-end;
}

.tn-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.92);
}

.tn-card-media-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  color: #fff;
  background: rgba(17, 23, 20, 0.78);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.tn-card-price-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 128px);
  padding: 8px 11px;
  color: var(--tn-ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(17, 23, 20, 0.16);
}

.tn-filter-panel__head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.tn-filter-panel__head h2,
.tn-filter-panel__head p {
  margin: 0;
}

.tn-filter-panel__head a {
  color: var(--tn-muted);
  font-size: 0.84rem;
  font-weight: 900;
}

.tn-service-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0 clamp(16px, 5vw, 72px) 42px;
}

.tn-service-strip article {
  min-width: 0;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--tn-line);
  border-radius: 8px;
}

.tn-service-strip span {
  color: var(--tn-green);
  font-size: 0.82rem;
  font-weight: 900;
}

.tn-service-strip h2 {
  margin: 8px 0;
  font-size: 1.22rem;
}

.tn-service-strip p {
  margin: 0;
  color: var(--tn-muted);
}

.tn-catalog-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tn-catalog-quick-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  color: var(--tn-ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--tn-line);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 900;
  text-decoration: none;
}

.tn-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.tn-hero-actions button {
  min-height: 44px;
  padding: 0 16px;
  background: #fff;
  border: 1px solid var(--tn-line);
  border-radius: 8px;
  color: var(--tn-ink);
  font-weight: 900;
  cursor: pointer;
}

.tn-contact-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.tn-sales-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tn-sales-cta-grid article,
.tn-location-panel,
.tn-property-seo-copy {
  min-width: 0;
  padding: 22px;
  background: var(--tn-surface);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
}

.tn-property-fit {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 18px;
  align-items: start;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--tn-line);
  border-radius: 8px;
}

.tn-property-fit h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.tn-property-fit ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tn-property-fit li {
  position: relative;
  padding: 12px 14px 12px 34px;
  color: var(--tn-muted);
  background: var(--tn-bg);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
}

.tn-property-fit li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 18px;
  width: 8px;
  height: 8px;
  background: var(--tn-green);
  border-radius: 999px;
}

.tn-sales-cta-grid h2,
.tn-location-panel h2,
.tn-property-seo-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.tn-location-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
  align-items: stretch;
}

.tn-location-panel__map {
  min-height: 280px;
  overflow: hidden;
  background: var(--tn-surface-warm);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
}

.tn-location-panel__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
}

.tn-location-panel__placeholder {
  display: grid;
  min-height: 280px;
  place-items: center;
  padding: 24px;
  color: var(--tn-muted);
  font-size: 1.5rem;
  font-weight: 900;
}

.tn-related-section,
.tn-seo-panel {
  padding: 0 clamp(16px, 5vw, 72px) 72px;
}

.tn-related-section .tn-section__head {
  margin-bottom: 22px;
}

.tn-seo-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: start;
}

.tn-seo-panel > div,
.tn-seo-panel > p {
  min-width: 0;
  padding: 22px;
  background: var(--tn-surface);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
}

.tn-seo-panel h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 3rem);
}

.tn-seo-panel p {
  color: var(--tn-muted);
}

.tn-seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.tn-admin-page {
  min-width: 0;
  overflow-x: hidden;
}

.tn-listing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  gap: 24px;
  align-items: end;
  padding: clamp(34px, 6vw, 72px) clamp(16px, 5vw, 72px) 28px;
}

.tn-listing-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4.2rem);
  line-height: 1;
}

.tn-listing-hero p:not(.tn-kicker) {
  max-width: 820px;
  color: var(--tn-muted);
}

.tn-hero-metric {
  min-width: 0;
  padding: 20px;
  color: #fff;
  background: var(--tn-ink);
  border-radius: 8px;
}

.tn-hero-metric span,
.tn-hero-metric strong {
  display: block;
}

.tn-hero-metric strong {
  margin-top: 8px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1;
}

.tn-admin-panel {
  min-width: 0;
  margin: 0 clamp(16px, 5vw, 72px) 22px;
  padding: 22px;
  background: var(--tn-surface);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(17, 23, 20, 0.06);
}

.tn-admin-panel h2 {
  margin: 0 0 14px;
  font-size: 1.2rem;
}

.tn-admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 clamp(16px, 5vw, 72px) 18px;
}

.tn-admin-tabs a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 7px 11px;
  color: var(--tn-ink);
  background: var(--tn-surface);
  border: 1px solid var(--tn-line);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.tn-admin-tabs a.is-active {
  color: #fff;
  background: var(--tn-ink);
  border-color: var(--tn-ink);
}

.tn-crm-filters,
.tn-crm-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.tn-crm-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.tn-crm-filters label,
.tn-crm-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--tn-muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tn-crm-filters input,
.tn-crm-filters select,
.tn-crm-form input,
.tn-crm-form select,
.tn-crm-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 10px 11px;
  color: var(--tn-ink);
  background: #fff;
  border: 1px solid var(--tn-line);
  border-radius: 8px;
  font: inherit;
  text-transform: none;
}

.tn-crm-form textarea {
  resize: vertical;
}

.tn-crm-form .is-wide {
  grid-column: 1 / -1;
}

.tn-crm-form .tn-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--tn-ink);
  text-transform: none;
}

.tn-crm-form .tn-checkbox input {
  width: 18px;
  min-height: 18px;
}

.tn-crm-grid,
.tn-crm-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  padding: 0 clamp(16px, 5vw, 72px) 22px;
}

.tn-crm-grid > *,
.tn-crm-detail-grid > * {
  min-width: 0;
}

.tn-crm-detail-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
}

.tn-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  margin-bottom: 16px;
}

.tn-section-heading h2,
.tn-section-heading p {
  margin: 0;
}

.tn-crm-table td > span,
.tn-listing-table td > span {
  display: block;
  margin-top: 4px;
  color: var(--tn-muted);
  font-size: 0.82rem;
}

.tn-users-table input,
.tn-users-table select {
  width: 100%;
  min-width: 150px;
  min-height: 38px;
  padding: 9px 10px;
  border: 1px solid var(--tn-line);
  border-radius: 8px;
  background: #fff;
  color: var(--tn-ink);
  font: inherit;
}

.tn-users-table input + span,
.tn-users-table span + input {
  margin-top: 8px;
}

.tn-users-table td:first-child {
  min-width: 260px;
}

.tn-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.tn-funnel-panel {
  overflow: hidden;
  margin-bottom: 22px;
}

.tn-case-funnel {
  display: grid;
  grid-auto-columns: minmax(230px, 1fr);
  grid-auto-flow: column;
  gap: 12px;
  width: 100%;
  min-width: 0;
  margin-top: 18px;
  overflow-x: auto;
  padding-bottom: 6px;
  overscroll-behavior-inline: contain;
}

.tn-case-funnel__column {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 240px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
}

.tn-case-funnel__column header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tn-case-funnel__column header strong {
  min-width: 0;
  font-size: 0.9rem;
}

.tn-case-funnel__column header span,
.tn-case-funnel__more {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  min-height: 28px;
  padding: 4px 8px;
  color: #fff;
  background: var(--tn-ink);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.tn-case-funnel__empty {
  margin: 0;
  color: var(--tn-muted);
  font-size: 0.86rem;
}

.tn-case-card {
  min-width: 0;
  padding: 11px;
  background: #fff;
  border: 1px solid var(--tn-line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(17, 23, 20, 0.06);
}

.tn-case-card a {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: var(--tn-ink);
  text-decoration: none;
}

.tn-case-card strong,
.tn-case-card span,
.tn-case-card small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.tn-case-card span,
.tn-case-card small {
  color: var(--tn-muted);
  font-size: 0.8rem;
}

.tn-quick-case-form {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(112px, 0.85fr) minmax(112px, 0.85fr) minmax(140px, 1fr) auto;
  gap: 6px;
  min-width: 660px;
  margin-top: 8px;
}

.tn-quick-case-form select,
.tn-quick-case-form button {
  min-width: 0;
  min-height: 34px;
  padding: 7px 9px;
  border: 1px solid var(--tn-line);
  border-radius: 8px;
  font: inherit;
}

.tn-quick-case-form button {
  color: #fff;
  background: var(--tn-ink);
  border-color: var(--tn-ink);
  font-weight: 900;
  cursor: pointer;
}

.tn-crm-inbound-stack,
.tn-crm-timeline,
.tn-crm-stack {
  display: grid;
  gap: 10px;
}

.tn-inbox-list {
  display: grid;
  gap: 14px;
}

.tn-inbox-card {
  min-width: 0;
  display: grid;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--tn-line);
  border-radius: 8px;
}

.tn-inbox-card header {
  display: flex;
  gap: 14px;
  align-items: start;
  justify-content: space-between;
}

.tn-inbox-card h2 {
  margin: 4px 0;
  font-size: 1.18rem;
}

.tn-inbox-card header p,
.tn-inbox-card__body p {
  margin: 0;
  color: var(--tn-muted);
}

.tn-inbox-card header > strong {
  flex: 0 0 auto;
  padding: 7px 10px;
  background: var(--tn-surface-warm);
  border: 1px solid var(--tn-line);
  border-radius: 999px;
  font-size: 0.82rem;
}

.tn-inbox-card__body {
  display: grid;
  gap: 10px;
}

.tn-inbox-context {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tn-inbox-context span {
  min-width: 0;
  padding: 7px 10px;
  background: var(--tn-surface);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
  color: var(--tn-muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.tn-inbox-context a {
  color: var(--tn-ink);
}

.tn-inbox-actions {
  display: grid;
  gap: 12px;
}

.tn-inbound-workflow-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 10px;
  align-items: end;
  padding: 12px;
  background: var(--tn-surface-warm);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
}

.tn-inbound-workflow-form label {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.tn-inbound-workflow-form label > span {
  color: var(--tn-muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.tn-inbound-workflow-form .is-wide {
  grid-column: span 2;
}

.tn-inbound-workflow-form select,
.tn-inbound-workflow-form input,
.tn-inbound-workflow-form textarea {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--tn-line);
  border-radius: 8px;
  font: inherit;
}

.tn-inbound-workflow-form button {
  min-height: 38px;
  padding: 8px 12px;
  color: #fff;
  background: var(--tn-ink);
  border: 1px solid var(--tn-ink);
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.tn-crm-inbound-stack > div,
.tn-crm-timeline > div,
.tn-crm-stack > a,
.tn-crm-stack > div {
  min-width: 0;
  padding: 13px;
  color: var(--tn-ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
  text-decoration: none;
}

.tn-crm-stack > div > a {
  color: var(--tn-ink);
  text-decoration: none;
}

.tn-crm-inbound-stack strong,
.tn-crm-timeline strong,
.tn-crm-stack strong {
  display: block;
}

.tn-crm-inbound-stack span,
.tn-crm-inbound-stack small,
.tn-crm-timeline span,
.tn-crm-stack span {
  display: block;
  margin-top: 4px;
  color: var(--tn-muted);
  font-size: 0.84rem;
}

.tn-inbound-actions {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.tn-inbound-actions form {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(110px, 0.7fr) auto;
  gap: 8px;
  min-width: 0;
}

.tn-inbound-actions__link {
  grid-template-columns: minmax(0, 1fr) auto;
}

.tn-inbound-actions select,
.tn-inbound-actions button {
  min-width: 0;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--tn-line);
  border-radius: 8px;
  font: inherit;
}

.tn-inbound-actions button {
  color: #fff;
  background: var(--tn-ink);
  border-color: var(--tn-ink);
  font-weight: 900;
  cursor: pointer;
}

.tn-crm-timeline p {
  margin: 8px 0 0;
  color: var(--tn-muted);
}

.tn-muted {
  color: var(--tn-muted);
}

.tn-card-crm-form,
.tn-match-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 10px;
}

.tn-card-crm-form select,
.tn-card-crm-form button,
.tn-match-form select,
.tn-match-form input,
.tn-match-form button,
.tn-property-crm-form input,
.tn-property-crm-form select {
  min-width: 0;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--tn-line);
  border-radius: 8px;
  font: inherit;
}

.tn-card-crm-form button,
.tn-match-form button {
  color: #fff;
  background: var(--tn-ink);
  border-color: var(--tn-ink);
  font-weight: 900;
  cursor: pointer;
}

.tn-match-form {
  grid-template-columns: minmax(120px, 0.8fr) minmax(78px, 0.45fr) minmax(0, 1fr) auto;
}

.tn-property-crm-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--tn-line);
  border-radius: 8px;
}

.tn-property-crm-form label {
  display: grid;
  gap: 6px;
  color: var(--tn-muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tn-property-crm-form .is-wide,
.tn-property-crm-form button {
  grid-column: 1 / -1;
}

@media (max-width: 980px) {
  .tn-page-hero,
  .tn-listing-hero,
  .tn-property-hero,
  .tn-presentation-hero,
  .tn-catalog-layout,
  .tn-property-detail-layout,
  .tn-submit-layout,
  .tn-admin-detail,
  .tn-auth-layout,
  .tn-cabinet-grid {
    grid-template-columns: 1fr;
  }

  .tn-page-hero__meta,
  .tn-filter-panel,
  .tn-agent-card,
  .tn-support-panel,
  .tn-admin-card--side {
    position: static;
    justify-self: stretch;
  }

  .tn-property-grid--catalog,
  .tn-detail-grid,
  .tn-home-scenarios,
  .tn-home-split,
  .tn-owner-steps,
  .tn-property-summary,
  .tn-property-fit,
  .tn-form-grid,
  .tn-map-list,
  .tn-manage-filters,
  .tn-media-manager-grid,
  .tn-catalog-insights,
  .tn-seo-panel,
  .tn-sales-cta-grid,
  .tn-location-panel,
  .tn-crm-filters,
  .tn-crm-grid,
  .tn-crm-detail-grid,
  .tn-admin-metrics,
  .tn-admin-dashboard-grid,
  .tn-admin-dashboard-grid--compact,
  .tn-manager-next__grid,
  .tn-manager-quick-form,
  .tn-inbound-workflow-form {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .tn-mobile-catalog-actions {
    position: sticky;
    top: 70px;
    z-index: 8;
    display: flex;
    background: var(--tn-paper);
  }

  .tn-page-hero,
  .tn-listing-hero,
  .tn-property-hero,
  .tn-presentation-hero,
  .tn-catalog-layout,
  .tn-property-detail-layout,
  .tn-submit-layout {
    padding-left: 14px;
    padding-right: 14px;
  }

  .tn-property-grid--catalog,
  .tn-detail-grid,
  .tn-presentation-gallery,
  .tn-home-scenarios,
  .tn-home-split,
  .tn-owner-steps,
  .tn-property-summary,
  .tn-property-fit,
  .tn-filter-panel__range,
  .tn-gallery__thumbs,
  .tn-form-grid,
  .tn-map-list,
  .tn-manage-filters,
  .tn-media-review-grid,
  .tn-media-manager-grid,
  .tn-catalog-insights,
  .tn-seo-panel,
  .tn-hero-search form,
  .tn-catalog-command__grid,
  .tn-sales-cta-grid,
  .tn-location-panel,
  .tn-catalog-section-nav,
  .tn-service-strip,
  .tn-crm-filters,
  .tn-crm-form,
  .tn-crm-grid,
  .tn-crm-detail-grid,
  .tn-card-crm-form,
  .tn-quick-case-form,
  .tn-inbound-actions form,
  .tn-inbound-actions__link,
  .tn-match-form,
  .tn-property-crm-form,
  .tn-admin-metrics,
  .tn-admin-dashboard-grid,
  .tn-admin-dashboard-grid--compact,
  .tn-manager-next__grid,
  .tn-manager-quick-form,
  .tn-inbound-workflow-form {
    grid-template-columns: 1fr;
  }

  .tn-location-admin-item {
    grid-template-columns: 1fr;
  }

  .tn-location-admin-item__meta {
    justify-content: flex-start;
  }

  .tn-location-admin-item__meta span {
    min-width: 0;
    text-align: left;
  }

  .tn-inbound-workflow-form .is-wide {
    grid-column: auto;
  }

  .tn-inbox-card header {
    display: grid;
  }

  .tn-admin-panel {
    margin-left: 14px;
    margin-right: 14px;
    padding: 16px;
  }

  .tn-results-bar {
    display: grid;
  }

  .tn-active-filters {
    justify-content: flex-start;
  }

  .tn-map-workspace,
  .tn-compare-workspace,
  .tn-favourite-workspace,
  .tn-admin-workspace,
  .tn-admin-detail,
  .tn-auth-layout,
  .tn-cabinet-workspace {
    padding-left: 14px;
    padding-right: 14px;
  }

  .tn-map-canvas {
    min-height: 420px;
  }

  .tn-map-pin {
    min-width: 112px;
  }

  .tn-submit-form fieldset,
  .tn-support-panel {
    padding: 18px;
  }

  .tn-submit-form__actions {
    display: grid;
  }

  .tn-gallery__main {
    min-height: 280px;
  }

  .tn-property-hero__copy {
    order: 2;
  }

  .tn-gallery {
    order: 1;
  }

  .tn-tour-placeholder {
    display: grid;
  }
}

