:root {
  --ink: #17212b;
  --muted: #65717d;
  --line: #dfe4e8;
  --soft: #f5f7f8;
  --white: #ffffff;
  --orange: #f7931a;
  --orange-dark: #c96e00;
  --teal: #087f78;
  --red: #b42318;
  --green: #147d4f;
  --yellow: #fff3cd;
  --max: 1180px;
  --shadow: 0 12px 36px rgba(23, 33, 43, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0;
}

body,
button,
input,
select,
textarea {
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font-size: 1rem;
}

button,
a,
input,
select,
textarea {
  outline-offset: 3px;
}

:focus-visible {
  outline: 3px solid rgba(247, 147, 26, 0.42);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Manrope, Inter, sans-serif;
  line-height: 1.15;
  letter-spacing: 0;
}

p {
  margin: 0;
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.setup-banner {
  color: #5c4300;
  background: var(--yellow);
  border-bottom: 1px solid #ead48f;
}

.setup-banner-inner {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

.setup-banner a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.setup-banner svg {
  width: 16px;
  height: 16px;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  min-height: 70px;
  align-items: center;
  gap: 24px;
}

.brand img {
  width: 142px;
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.primary-nav a {
  position: relative;
  padding: 23px 0;
  color: #3c4853;
  font-weight: 600;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: var(--ink);
}

.primary-nav a.active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--orange);
  content: "";
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  transition: background 160ms ease, border 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button svg {
  width: 18px;
  height: 18px;
}

.button-small {
  min-height: 40px;
  padding-inline: 14px;
  font-size: 14px;
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.button-dark:hover {
  background: #000;
}

.button-orange {
  color: #291500;
  background: var(--orange);
}

.button-orange:hover {
  background: #ffab40;
}

.button-ghost {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.button-ghost:hover {
  border-color: #aab4bd;
}

.button-danger {
  color: var(--red);
  background: #fff;
  border-color: #f1b8b3;
}

.button-block {
  width: 100%;
}

.icon-button {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.icon-button:hover {
  background: var(--soft);
}

.icon-button svg {
  width: 20px;
  height: 20px;
}

.mobile-menu-toggle {
  display: none;
}

.avatar-button {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  font-weight: 800;
}

.flash-wrap {
  position: relative;
  z-index: 80;
}

.flash {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 10px 12px 10px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.flash-success {
  color: #075f3c;
  background: #edf9f3;
  border-color: #a5dfc5;
}

.flash-error {
  color: #8f1811;
  background: #fff3f2;
  border-color: #f2b8b5;
}

.flash-info {
  color: #244a69;
  background: #eef6fc;
  border-color: #bad8ed;
}

.site-footer {
  margin-top: 80px;
  padding-top: 54px;
  color: #d8e0e6;
  background: #121b23;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
}

.footer-grid h2 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 14px;
}

.footer-grid a:not(.brand) {
  display: block;
  margin: 10px 0;
  color: #b9c3cb;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-grid p {
  max-width: 340px;
  margin-top: 14px;
  color: #9faab3;
}

.footer-brand img {
  filter: brightness(0) invert(1);
}

.admin-sample-panel {
  display: flex;
  margin-bottom: 34px;
  padding: 22px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #eef5f4;
  border: 1px solid #c8dfdc;
  border-radius: 7px;
}

.admin-sample-panel h2 {
  margin: 5px 0 8px;
  font-size: 22px;
}

.admin-sample-panel p {
  max-width: 760px;
  margin-bottom: 8px;
  color: #45535e;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

.demo-inquiry-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 14px;
  color: #244a69;
  background: #eef6fc;
  border: 1px solid #bad8ed;
  border-radius: 6px;
}

.demo-inquiry-note svg {
  width: 18px;
  flex: 0 0 auto;
}

.footer-bottom {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  color: #8e9ba5;
  border-top: 1px solid #2a353e;
  font-size: 13px;
}

.section {
  padding-block: 64px;
}

.section-soft {
  background: var(--soft);
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-header h2 {
  font-size: clamp(25px, 3vw, 36px);
}

.section-header p {
  max-width: 640px;
  margin-top: 8px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-weight: 700;
}

.text-link svg {
  width: 17px;
  height: 17px;
}

.badge {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 4px;
  color: #3c4853;
  background: #eef1f3;
  font-size: 12px;
  font-weight: 700;
}

.badge svg {
  width: 14px;
  height: 14px;
}

.badge-verified {
  color: #075f59;
  background: #e6f6f4;
}

.badge-crypto {
  color: #754300;
  background: #fff0d6;
}

.badge-sponsored {
  color: #4b5560;
  background: #f3f4f5;
}

.empty-state {
  padding: 48px 24px;
  text-align: center;
  border: 1px dashed #bcc5cc;
  border-radius: 6px;
}

.empty-state svg {
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  color: var(--muted);
}

.empty-state h2,
.empty-state h3 {
  margin-bottom: 8px;
}

.empty-state p {
  margin-bottom: 20px;
  color: var(--muted);
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: #2c3842;
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cbd3d9;
  border-radius: 5px;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(247, 147, 26, 0.12);
}

.field-help {
  color: var(--muted);
  font-size: 12px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.panel {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.panel h2 {
  margin-bottom: 18px;
  font-size: 20px;
}

.divider {
  height: 1px;
  margin-block: 22px;
  background: var(--line);
}

.status {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: capitalize;
}

.status-published,
.status-approved,
.status-active {
  color: #075f3c;
  background: #e7f6ef;
}

.status-pending,
.status-draft {
  color: #795500;
  background: #fff3d2;
}

.status-rejected,
.status-suspended {
  color: #8f1811;
  background: #feeceb;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 36px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  min-width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.pagination .current {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.market-hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  color: var(--white);
  background: #0f1820;
}

.market-hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 21, 28, 0.98) 0%, rgba(13, 21, 28, 0.82) 46%, rgba(13, 21, 28, 0.25) 100%),
    url("../images/world-map.png") center / cover no-repeat;
  opacity: 0.96;
}

.market-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 650px;
  padding-block: 88px 46px;
  justify-content: center;
  flex-direction: column;
}

.hero-copy {
  max-width: 700px;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-kicker svg {
  width: 17px;
  height: 17px;
}

.hero-copy h1 {
  max-width: 690px;
  font-size: clamp(48px, 7vw, 82px);
  line-height: 0.98;
}

.hero-copy p {
  max-width: 680px;
  margin-top: 24px;
  color: #dce3e8;
  font-size: 18px;
}

.market-search {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr auto;
  max-width: 1080px;
  margin-top: 42px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 7px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.search-field {
  position: relative;
  display: grid;
  min-width: 0;
  padding: 12px 16px 12px 45px;
  border-right: 1px solid var(--line);
}

.search-field > svg {
  position: absolute;
  top: 22px;
  left: 17px;
  width: 19px;
  height: 19px;
  color: var(--teal);
}

.search-field label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.search-field input,
.search-field select {
  width: 100%;
  min-width: 0;
  height: 28px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: none;
  font-weight: 600;
}

.search-submit {
  display: inline-flex;
  min-width: 120px;
  margin: 7px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #2c1800;
  background: var(--orange);
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 800;
}

.search-submit:hover {
  background: #ffac44;
}

.search-submit svg {
  width: 20px;
  height: 20px;
}

.hero-trust {
  display: flex;
  margin-top: 28px;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  color: #c8d1d8;
  font-size: 13px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust svg {
  width: 17px;
  height: 17px;
  color: var(--orange);
}

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

.listing-card {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.listing-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.listing-card-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #d9e0e4;
}

.listing-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.listing-card:hover .listing-card-image img {
  transform: scale(1.025);
}

.listing-intent,
.listing-sponsored {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 8px;
  color: var(--white);
  background: rgba(18, 27, 35, 0.88);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.listing-sponsored {
  right: 12px;
  left: auto;
  color: #2c1800;
  background: var(--orange);
}

.listing-card-body {
  padding: 17px;
}

.listing-card-meta {
  display: flex;
  min-height: 25px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.listing-card h3 {
  min-height: 48px;
  margin-top: 8px;
  font-size: 18px;
}

.listing-card h3 a:hover {
  color: var(--teal);
}

.listing-facts {
  display: flex;
  min-height: 36px;
  margin-top: 12px;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
}

.listing-facts span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.listing-facts svg {
  width: 15px;
  height: 15px;
}

.listing-card-footer {
  display: flex;
  min-height: 50px;
  margin-top: 12px;
  padding-top: 13px;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
}

.listing-price strong {
  display: block;
  font-family: Manrope, Inter, sans-serif;
  font-size: 18px;
}

.listing-price span,
.crypto-assets {
  color: var(--muted);
  font-size: 11px;
}

.crypto-assets {
  padding: 4px 6px;
  color: #704400;
  background: #fff2de;
  border-radius: 4px;
  font-weight: 700;
  text-align: right;
}

.intent-band {
  padding-block: 0;
  border-block: 1px solid var(--line);
}

.intent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.intent-item {
  display: grid;
  min-height: 190px;
  padding: 34px 28px;
  align-items: center;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  border-right: 1px solid var(--line);
}

.intent-item:first-child {
  border-left: 1px solid var(--line);
}

.intent-item:hover {
  background: var(--white);
}

.intent-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  background: #e6f6f4;
  border-radius: 50%;
}

.intent-icon svg {
  width: 23px;
  height: 23px;
}

.intent-item > svg {
  width: 20px;
  height: 20px;
}

.intent-item span {
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.intent-item h2 {
  margin-top: 3px;
  font-size: 20px;
}

.intent-item p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.how-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 90px;
}

.how-intro h2 {
  max-width: 520px;
  font-size: clamp(30px, 4vw, 46px);
}

.how-intro > p {
  margin-block: 20px 26px;
  color: var(--muted);
  font-size: 16px;
}

.how-steps {
  border-top: 1px solid var(--line);
}

.how-step {
  display: grid;
  min-height: 126px;
  padding-block: 26px;
  align-items: start;
  grid-template-columns: 55px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.how-step > span {
  color: var(--orange-dark);
  font-family: Manrope, sans-serif;
  font-weight: 800;
}

.how-step h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.how-step p {
  color: var(--muted);
}

.owner-cta {
  color: var(--white);
  background: var(--teal);
}

.owner-cta-inner {
  display: flex;
  min-height: 310px;
  padding-block: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.owner-cta h2 {
  max-width: 760px;
  font-size: clamp(32px, 5vw, 50px);
}

.owner-cta p {
  max-width: 680px;
  margin-top: 14px;
  color: #d9f1ee;
}

.search-page {
  min-height: 600px;
  padding-block: 50px 72px;
}

.search-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.search-title h1 {
  font-size: clamp(32px, 5vw, 52px);
}

.result-count {
  color: var(--muted);
  font-weight: 600;
}

.filter-bar {
  display: grid;
  margin-block: 30px;
  padding: 10px;
  grid-template-columns: 1.35fr 0.8fr 0.8fr 0.55fr 0.55fr auto;
  gap: 8px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.filter-field {
  position: relative;
}

.filter-field input,
.filter-field select {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  background: var(--white);
  border: 1px solid #cbd3d9;
  border-radius: 5px;
}

.filter-location input {
  padding-left: 40px;
}

.filter-location svg {
  position: absolute;
  z-index: 1;
  top: 13px;
  left: 13px;
  width: 18px;
  height: 18px;
  color: var(--teal);
}

.search-empty {
  margin-top: 48px;
}

@media (max-width: 1000px) {
  .market-search {
    grid-template-columns: 1fr 1fr;
  }

  .search-field:nth-child(2) {
    border-right: 0;
  }

  .search-field:nth-child(3) {
    border-top: 1px solid var(--line);
  }

  .search-submit {
    min-height: 54px;
  }

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

  .intent-grid {
    grid-template-columns: 1fr;
  }

  .intent-item,
  .intent-item:first-child {
    min-height: 130px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .how-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .filter-bar {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

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

  .mobile-menu-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
  }

  .primary-nav {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    display: none;
    padding: 12px 16px 18px;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .primary-nav.open {
    display: flex;
  }

  .primary-nav a {
    padding: 13px 8px;
  }

  .primary-nav a.active::after {
    display: none;
  }

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

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 24px), var(--max));
  }

  .header-inner {
    min-height: 64px;
    grid-template-columns: 1fr auto auto;
    gap: 6px;
  }

  .brand img {
    width: 118px;
    height: 36px;
  }

  .primary-nav {
    top: 64px;
  }

  .header-actions .button-ghost {
    display: none;
  }

  .button-small span {
    display: none;
  }

  .market-hero,
  .market-hero-content {
    min-height: 690px;
  }

  .market-hero-content {
    padding-block: 64px 34px;
  }

  .hero-copy h1 {
    font-size: 49px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .market-search {
    margin-top: 30px;
    grid-template-columns: 1fr;
  }

  .search-field {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .search-field:nth-child(3) {
    border-top: 0;
  }

  .search-submit {
    min-height: 52px;
  }

  .hero-trust {
    display: none;
  }

  .listing-grid {
    grid-template-columns: 1fr;
  }

  .listing-card h3 {
    min-height: auto;
  }

  .intent-item {
    padding: 24px 18px;
    grid-template-columns: auto 1fr auto;
  }

  .owner-cta-inner {
    min-height: 360px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .search-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }

  .price-filter {
    display: none;
  }

  .setup-banner-inner {
    padding-block: 8px;
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .section {
    padding-block: 48px;
  }

  .section-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    padding-block: 18px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

/* Application pages */
.page-hero,
.dashboard-head {
  padding-block: 58px;
  background: #eef5f4;
  border-bottom: 1px solid var(--line);
}

.page-hero-compact {
  padding-block: 44px;
}

.page-hero h1,
.dashboard-head h1 {
  max-width: 820px;
  margin-top: 8px;
  font-size: clamp(32px, 5vw, 52px);
}

.page-hero p,
.dashboard-head p {
  max-width: 760px;
  margin-top: 12px;
  color: #4f6167;
  font-size: 17px;
}

.eyebrow {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.field label,
.field-label {
  color: #34424d;
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea,
.admin-table select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #c7d0d7;
  border-radius: 5px;
}

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

.field input[type="file"] {
  padding: 8px;
}

.field-help {
  color: var(--muted);
  font-size: 12px;
}

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

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

.field-full {
  grid-column: 1 / -1;
}

.form-shell {
  max-width: 940px;
}

.property-form {
  display: grid;
  gap: 34px;
}

.property-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0 0 34px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.property-form legend {
  margin-bottom: 20px;
  font-family: Manrope, Inter, sans-serif;
  font-size: 21px;
  font-weight: 800;
}

.fieldset-intro {
  max-width: 720px;
  margin: -8px 0 24px;
  color: var(--muted);
  line-height: 1.6;
}

.amenity-picker {
  display: grid;
  gap: 28px;
}

.amenity-picker-group h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 800;
}

.choice-grid,
.check-grid,
.check-row {
  display: grid;
  gap: 10px;
}

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

.choice-item,
.check-grid label,
.check-row label {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.choice-item:has(input:checked),
.check-grid label:has(input:checked),
.check-row label:has(input:checked) {
  background: #edf8f6;
  border-color: var(--teal);
}

.check-row {
  grid-template-columns: repeat(3, 1fr);
}

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

.check-grid svg {
  width: 18px;
  color: var(--teal);
}

.terms-check,
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #3f4c56;
}

.terms-check a,
.checkbox-row a {
  color: var(--teal);
  font-weight: 700;
}

.form-errors,
.form-notice,
.legal-alert {
  padding: 15px 17px;
  border-radius: 6px;
}

.form-errors {
  margin-bottom: 24px;
  color: #8f1811;
  background: #fff3f2;
  border: 1px solid #f2b8b5;
}

.form-errors ul {
  margin: 6px 0 0;
  padding-left: 20px;
}

.form-notice,
.legal-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #244a69;
  background: #eef6fc;
  border: 1px solid #bad8ed;
}

.form-notice {
  margin-top: 18px;
}

.form-notice svg,
.legal-alert svg {
  width: 19px;
  flex: 0 0 auto;
}

.auth-page {
  padding: 72px 16px;
  background: var(--soft);
}

.auth-shell {
  display: grid;
  width: min(100%, 980px);
  margin: auto;
  grid-template-columns: 1fr 440px;
  align-items: center;
  gap: 80px;
}

.auth-intro h1 {
  margin-top: 10px;
  font-size: clamp(32px, 4vw, 48px);
}

.auth-intro > p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
}

.auth-points {
  display: grid;
  margin-top: 28px;
  gap: 12px;
}

.auth-points span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
}

.auth-points svg {
  width: 18px;
  color: var(--green);
}

.panel,
.auth-form {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: var(--shadow);
}

.auth-form h2 {
  margin-bottom: 22px;
  font-size: 25px;
}

.auth-form form {
  display: grid;
  gap: 17px;
}

.field-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.field-label-row a {
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
}

.form-success {
  padding: 14px 16px;
  color: #155e4b;
  background: #edf8f6;
  border: 1px solid #a9d9cf;
  border-radius: 6px;
  line-height: 1.55;
}

.auth-switch {
  margin-top: 20px;
  color: var(--muted);
  text-align: center;
}

.auth-switch a {
  color: var(--teal);
  font-weight: 700;
}

.listing-detail {
  padding-top: 42px;
}

.listing-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.listing-heading h1 {
  max-width: 850px;
  margin-top: 12px;
  font-size: clamp(30px, 4vw, 46px);
}

.listing-heading p,
.detail-badges {
  display: flex;
  align-items: center;
  gap: 8px;
}

.listing-heading p {
  margin-top: 10px;
  color: var(--muted);
}

.listing-heading p svg,
.detail-badges svg {
  width: 16px;
}

.detail-favorite {
  border: 1px solid var(--line);
}

.detail-favorite.active {
  color: var(--red);
  background: #fff2f1;
}

.detail-media {
  display: grid;
  min-height: 480px;
  margin-top: 30px;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 12px;
}

.detail-main-image,
.detail-map {
  overflow: hidden;
  border-radius: 7px;
}

.detail-main-image img,
.detail-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-media-side {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 12px;
}

.detail-map {
  position: relative;
  min-height: 300px;
  background: #dcebea;
}

.detail-map span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 5px;
  font-weight: 700;
}

.detail-map svg {
  width: 18px;
}

.detail-trust-tile {
  display: flex;
  min-height: 96px;
  align-items: center;
  gap: 14px;
  padding: 18px;
  color: #075f3c;
  background: #edf9f3;
  border: 1px solid #a5dfc5;
  border-radius: 7px;
}

.detail-trust-tile > svg {
  width: 28px;
  height: 28px;
}

.detail-trust-tile span {
  display: block;
  font-size: 13px;
}

.detail-layout {
  display: grid;
  margin-top: 44px;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
  gap: 64px;
}

.detail-overview {
  display: grid;
  padding-bottom: 30px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  border-bottom: 1px solid var(--line);
}

.detail-fact {
  display: grid;
  gap: 4px;
}

.detail-fact svg {
  width: 22px;
  margin-bottom: 5px;
  color: var(--teal);
}

.detail-fact span,
.payment-readiness span,
.owner-profile span {
  color: var(--muted);
  font-size: 12px;
}

.detail-section {
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
}

.detail-section h2 {
  margin-bottom: 14px;
  font-size: 22px;
}

.detail-section > p {
  color: #45535e;
}

.payment-readiness {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.payment-readiness > div {
  display: grid;
  gap: 5px;
}

.payment-readiness svg {
  width: 21px;
  color: var(--orange-dark);
}

.detail-note {
  margin-top: 18px;
  font-size: 13px;
}

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}

.amenity-grid span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.amenity-grid svg {
  width: 18px;
  color: var(--teal);
}

.owner-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.owner-avatar {
  display: flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  font-weight: 800;
}

.owner-profile h2 {
  margin: 2px 0;
}

.inquiry-panel {
  position: sticky;
  top: 94px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: var(--shadow);
}

.inquiry-price strong {
  font-size: 25px;
}

.inquiry-panel > p {
  margin: 10px 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.inquiry-panel form {
  display: grid;
  gap: 15px;
}

.inquiry-safety {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 18px;
  color: #725100;
  font-size: 12px;
}

.inquiry-safety svg {
  width: 17px;
  flex: 0 0 auto;
}

.dashboard-head-inner,
.dashboard-actions,
.section-heading-row,
.account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.dashboard-head h1 {
  font-size: clamp(30px, 4vw, 44px);
}

.dashboard-tabs {
  position: sticky;
  z-index: 50;
  top: 70px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.dashboard-tabs .container {
  display: flex;
  overflow-x: auto;
  gap: 28px;
}

.dashboard-tabs a {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-weight: 700;
}

.dashboard-tabs a span {
  padding: 1px 7px;
  background: var(--soft);
  border-radius: 10px;
  font-size: 11px;
}

.dashboard-section {
  padding-block: 48px;
  scroll-margin-top: 130px;
}

.dashboard-section-alt {
  background: var(--soft);
}

.dashboard-section h2 {
  margin-bottom: 6px;
  font-size: 27px;
}

.section-heading-row p,
.muted {
  color: var(--muted);
}

.dashboard-list {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.dashboard-listing {
  display: grid;
  min-height: 100px;
  padding-block: 14px;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.dashboard-listing img {
  width: 120px;
  height: 78px;
  object-fit: cover;
  border-radius: 5px;
}

.dashboard-listing h3 {
  margin: 4px 0;
  font-size: 17px;
}

.dashboard-listing div > span {
  color: var(--muted);
  font-size: 12px;
}

.status {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 3px 9px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 800;
}

.status-published {
  color: #075f3c;
  background: #dff4ea;
}

.status-pending {
  color: #725100;
  background: #fff0bd;
}

.status-rejected,
.status-suspended {
  color: #8f1811;
  background: #fee5e3;
}

.empty-state {
  padding: 50px 20px;
  text-align: center;
  border: 1px dashed #b9c4cb;
  border-radius: 7px;
}

.empty-state > svg {
  width: 32px;
  height: 32px;
  color: var(--teal);
}

.empty-state h3 {
  margin: 12px 0 4px;
}

.empty-state p {
  margin-bottom: 18px;
  color: var(--muted);
}

.inquiry-columns {
  display: grid;
  margin-top: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.inquiry-columns h3 {
  margin-bottom: 12px;
  font-size: 17px;
}

.inquiry-item {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.inquiry-item > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.inquiry-item > div span,
.inquiry-item p {
  color: var(--muted);
  font-size: 13px;
}

.inquiry-item > a {
  display: inline-block;
  margin: 6px 0;
  color: var(--teal);
  font-weight: 700;
}

.inquiry-item p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.wallet-layout {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 60px;
}

.wallet-list {
  margin-top: 20px;
}

.wallet-list > div {
  display: grid;
  padding-block: 12px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
}

.wallet-list svg {
  width: 18px;
}

.wallet-list code {
  overflow: hidden;
  text-overflow: ellipsis;
}

.wallet-form {
  display: grid;
  gap: 12px;
}

.wallet-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.stat-grid {
  display: grid;
  margin-bottom: 36px;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.stat-grid > div {
  display: grid;
  min-height: 110px;
  padding: 20px;
  align-content: center;
  border-right: 1px solid var(--line);
}

.stat-grid > div:last-child {
  border-right: 0;
}

.stat-grid span {
  color: var(--muted);
  font-size: 12px;
}

.stat-grid strong {
  font-family: Manrope, Inter, sans-serif;
  font-size: 29px;
}

.admin-table-wrap {
  overflow-x: auto;
}

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

.admin-table th,
.admin-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  color: var(--muted);
  background: var(--soft);
  font-size: 12px;
}

.admin-table td > span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.admin-table td form {
  display: flex;
  align-items: center;
  gap: 5px;
}

.admin-table select {
  min-width: 120px;
}

.legal-page {
  padding-block: 58px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 720px);
  gap: 68px;
}

.legal-nav {
  position: sticky;
  top: 100px;
  display: grid;
  align-self: start;
}

.legal-nav a {
  padding: 10px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.legal-nav a:hover {
  color: var(--teal);
}

.legal-content section,
.legal-single section {
  padding: 0 0 32px;
  scroll-margin-top: 100px;
}

.legal-content section > svg {
  width: 26px;
  margin-bottom: 10px;
  color: var(--teal);
}

.legal-content h2,
.legal-single h2 {
  margin-bottom: 10px;
  font-size: 23px;
}

.legal-content p,
.legal-single p {
  color: #45535e;
  line-height: 1.75;
}

.legal-content a,
.legal-single a {
  color: var(--teal);
  font-weight: 700;
}

.legal-single {
  max-width: 780px;
}

.legal-alert {
  margin-bottom: 34px;
}

.not-found {
  display: flex;
  min-height: 560px;
  align-items: center;
  text-align: center;
}

.not-found span {
  color: var(--orange-dark);
  font-family: Manrope, Inter, sans-serif;
  font-size: 72px;
  font-weight: 800;
}

.not-found h1 {
  margin-top: 4px;
  font-size: clamp(30px, 5vw, 48px);
}

.not-found p {
  margin: 12px 0 24px;
  color: var(--muted);
}

.not-found .container > div {
  display: flex;
  justify-content: center;
  gap: 8px;
}

@media (max-width: 1000px) {
  .form-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-layout,
  .wallet-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .inquiry-panel {
    position: static;
  }

  .auth-shell {
    gap: 40px;
  }
}

@media (max-width: 800px) {
  .auth-shell,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .auth-intro {
    max-width: 580px;
  }

  .legal-nav {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-media {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .detail-main-image {
    aspect-ratio: 16 / 10;
  }

  .detail-media-side {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .detail-map {
    min-height: 160px;
  }

  .inquiry-columns {
    grid-template-columns: 1fr;
  }

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

  .stat-grid > div:nth-child(2) {
    border-right: 0;
  }

  .stat-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .page-hero,
  .dashboard-head {
    padding-block: 38px;
  }

  .page-hero h1 {
    font-size: 34px;
  }

  .form-grid,
  .form-grid-4,
  .choice-grid-3,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .check-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .auth-page {
    padding: 42px 12px;
  }

  .auth-shell {
    gap: 30px;
  }

  .panel,
  .auth-form {
    padding: 22px;
  }

  .listing-heading,
  .dashboard-head-inner,
  .account-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-badges {
    flex-wrap: wrap;
  }

  .detail-media-side,
  .payment-readiness,
  .amenity-grid {
    grid-template-columns: 1fr;
  }

  .detail-overview {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .dashboard-actions,
  .wallet-actions {
    width: 100%;
  }

  .dashboard-actions .button,
  .wallet-actions .button {
    flex: 1;
  }

  .dashboard-tabs {
    top: 64px;
  }

  .dashboard-listing {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .dashboard-listing img {
    width: 88px;
    height: 70px;
  }

  .dashboard-listing > .status {
    grid-column: 2;
    justify-self: start;
  }

  .wallet-list > div {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .wallet-list .status {
    grid-column: 2;
    justify-self: start;
  }

  .legal-nav {
    grid-template-columns: 1fr;
  }

  .not-found .container > div {
    flex-direction: column;
  }

  .admin-sample-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-sample-panel .button {
    width: 100%;
  }
}
