/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: Vazirmatn, ui-sans-serif, system-ui, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
    monospace;
    --color-red-700: oklch(50.5% 0.213 27.518);
    --color-orange-50: oklch(98% 0.016 73.684);
    --color-orange-700: oklch(55.3% 0.195 38.402);
    --color-amber-50: oklch(98.7% 0.022 95.277);
    --color-amber-900: oklch(41.4% 0.112 45.904);
    --color-lime-400: oklch(84.1% 0.238 128.85);
    --color-green-700: oklch(52.7% 0.154 150.069);
    --color-teal-600: oklch(60% 0.118 184.704);
    --color-cyan-500: oklch(71.5% 0.143 215.221);
    --color-blue-200: oklch(88.2% 0.059 254.128);
    --color-blue-900: oklch(37.9% 0.146 265.522);
    --color-slate-100: oklch(96.8% 0.007 247.896);
    --color-slate-200: oklch(92.9% 0.013 255.508);
    --color-slate-300: oklch(86.9% 0.022 252.894);
    --color-slate-500: oklch(55.4% 0.046 257.417);
    --color-slate-600: oklch(44.6% 0.043 257.281);
    --color-slate-900: oklch(20.8% 0.042 265.755);
    --color-gray-50: oklch(98.5% 0.002 247.839);
    --color-gray-100: oklch(96.7% 0.003 264.542);
    --color-gray-200: oklch(92.8% 0.006 264.531);
    --color-gray-300: oklch(87.2% 0.01 258.338);
    --color-gray-400: oklch(70.7% 0.022 261.325);
    --color-gray-500: oklch(55.1% 0.027 264.364);
    --color-gray-600: oklch(44.6% 0.03 256.802);
    --color-gray-700: oklch(37.3% 0.034 259.733);
    --color-gray-800: oklch(27.8% 0.033 256.848);
    --color-gray-900: oklch(21% 0.034 264.665);
    --color-black: #000;
    --color-white: #fff;
    --spacing: 0.25rem;
    --container-xs: 20rem;
    --container-md: 28rem;
    --container-xl: 36rem;
    --container-2xl: 42rem;
    --container-3xl: 48rem;
    --container-5xl: 64rem;
    --container-6xl: 72rem;
    --container-7xl: 80rem;
    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-base: 1rem;
    --text-base--line-height: calc(1.5 / 1);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --text-3xl: 1.875rem;
    --text-3xl--line-height: calc(2.25 / 1.875);
    --text-4xl: 2.25rem;
    --text-4xl--line-height: calc(2.5 / 2.25);
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --tracking-tight: -0.025em;
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    --default-font-family: Vazirmatn, ui-sans-serif, system-ui, sans-serif;
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji');
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type='button'], [type='reset'], [type='submit']), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden='until-found'])) {
    display: none !important;
  }
}
@layer utilities {
  .\@container {
    container-type: inline-size;
  }
  .pointer-events-auto {
    pointer-events: auto;
  }
  .pointer-events-none {
    pointer-events: none;
  }
  .collapse {
    visibility: collapse;
  }
  .invisible {
    visibility: hidden;
  }
  .visible {
    visibility: visible;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
  }
  .absolute {
    position: absolute;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .sticky {
    position: sticky;
  }
  .inset-x-3 {
    inset-inline: calc(var(--spacing) * 3);
  }
  .start-2 {
    inset-inline-start: calc(var(--spacing) * 2);
  }
  .end-0 {
    inset-inline-end: calc(var(--spacing) * 0);
  }
  .end-2 {
    inset-inline-end: calc(var(--spacing) * 2);
  }
  .top-14 {
    top: calc(var(--spacing) * 14);
  }
  .z-3 {
    z-index: 3;
  }
  .z-20 {
    z-index: 20;
  }
  .z-40 {
    z-index: 40;
  }
  .col-span-2 {
    grid-column: span 2 / span 2;
  }
  .col-span-full {
    grid-column: 1 / -1;
  }
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .m-1 {
    margin: var(--spacing);
  }
  .mx-auto {
    margin-inline: auto;
  }
  .-ms-4 {
    margin-inline-start: calc(var(--spacing) * -4);
  }
  .ms-4 {
    margin-inline-start: calc(var(--spacing) * 4);
  }
  .ms-auto {
    margin-inline-start: auto;
  }
  .mt-1 {
    margin-top: var(--spacing);
  }
  .mt-2 {
    margin-top: calc(var(--spacing) * 2);
  }
  .mt-3 {
    margin-top: calc(var(--spacing) * 3);
  }
  .mt-4 {
    margin-top: calc(var(--spacing) * 4);
  }
  .mt-5 {
    margin-top: calc(var(--spacing) * 5);
  }
  .mt-6 {
    margin-top: calc(var(--spacing) * 6);
  }
  .mt-7 {
    margin-top: calc(var(--spacing) * 7);
  }
  .mt-8 {
    margin-top: calc(var(--spacing) * 8);
  }
  .mt-10 {
    margin-top: calc(var(--spacing) * 10);
  }
  .mt-auto {
    margin-top: auto;
  }
  .mb-2 {
    margin-bottom: calc(var(--spacing) * 2);
  }
  .mb-3 {
    margin-bottom: calc(var(--spacing) * 3);
  }
  .mb-4 {
    margin-bottom: calc(var(--spacing) * 4);
  }
  .\!hidden {
    display: none !important;
  }
  .block {
    display: block;
  }
  .contents {
    display: contents;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .inline-block {
    display: inline-block;
  }
  .inline-flex {
    display: inline-flex;
  }
  .list-item {
    display: list-item;
  }
  .table {
    display: table;
  }
  .table-caption {
    display: table-caption;
  }
  .table-cell {
    display: table-cell;
  }
  .table-row {
    display: table-row;
  }
  .aspect-\[4\/3\] {
    aspect-ratio: 4/3;
  }
  .size-4 {
    width: calc(var(--spacing) * 4);
    height: calc(var(--spacing) * 4);
  }
  .size-5 {
    width: calc(var(--spacing) * 5);
    height: calc(var(--spacing) * 5);
  }
  .size-6 {
    width: calc(var(--spacing) * 6);
    height: calc(var(--spacing) * 6);
  }
  .size-11 {
    width: calc(var(--spacing) * 11);
    height: calc(var(--spacing) * 11);
  }
  .size-12 {
    width: calc(var(--spacing) * 12);
    height: calc(var(--spacing) * 12);
  }
  .h-1 {
    height: var(--spacing);
  }
  .h-3 {
    height: calc(var(--spacing) * 3);
  }
  .h-4 {
    height: calc(var(--spacing) * 4);
  }
  .h-16 {
    height: calc(var(--spacing) * 16);
  }
  .h-24 {
    height: calc(var(--spacing) * 24);
  }
  .h-\[calc\(100vh-4rem\)\] {
    height: calc(100vh - 4rem);
  }
  .h-full {
    height: 100%;
  }
  .max-h-56 {
    max-height: calc(var(--spacing) * 56);
  }
  .max-h-72 {
    max-height: calc(var(--spacing) * 72);
  }
  .min-h-0 {
    min-height: 0px;
  }
  .min-h-28 {
    min-height: calc(var(--spacing) * 28);
  }
  .min-h-screen {
    min-height: 100vh;
  }
  .w-1\/2 {
    width: calc(1 / 2 * 100%);
  }
  .w-2\/3 {
    width: calc(2 / 3 * 100%);
  }
  .w-5\/6 {
    width: calc(5 / 6 * 100%);
  }
  .w-20 {
    width: calc(var(--spacing) * 20);
  }
  .w-24 {
    width: calc(var(--spacing) * 24);
  }
  .w-32 {
    width: calc(var(--spacing) * 32);
  }
  .w-56 {
    width: calc(var(--spacing) * 56);
  }
  .w-\[min\(100vw-2rem\,18rem\)\] {
    width: min(100vw - 2rem, 18rem);
  }
  .w-full {
    width: 100%;
  }
  .max-w-2xl {
    max-width: var(--container-2xl);
  }
  .max-w-3xl {
    max-width: var(--container-3xl);
  }
  .max-w-5xl {
    max-width: var(--container-5xl);
  }
  .max-w-6xl {
    max-width: var(--container-6xl);
  }
  .max-w-7xl {
    max-width: var(--container-7xl);
  }
  .max-w-40 {
    max-width: calc(var(--spacing) * 40);
  }
  .max-w-md {
    max-width: var(--container-md);
  }
  .max-w-xl {
    max-width: var(--container-xl);
  }
  .max-w-xs {
    max-width: var(--container-xs);
  }
  .min-w-0 {
    min-width: 0px;
  }
  .flex-1 {
    flex: 1;
  }
  .flex-shrink {
    flex-shrink: 1;
  }
  .shrink {
    flex-shrink: 1;
  }
  .shrink-0 {
    flex-shrink: 0;
  }
  .grow {
    flex-grow: 1;
  }
  .basis-\[88\%\] {
    flex-basis: 88%;
  }
  .basis-full {
    flex-basis: 100%;
  }
  .border-collapse {
    border-collapse: collapse;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .animate-pulse {
    animation: var(--animate-pulse);
  }
  .cursor-pointer {
    cursor: pointer;
  }
  .resize {
    resize: both;
  }
  .list-disc {
    list-style-type: disc;
  }
  .grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .flex-col {
    flex-direction: column;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .place-items-center {
    place-items: center;
  }
  .items-baseline {
    align-items: baseline;
  }
  .items-center {
    align-items: center;
  }
  .items-end {
    align-items: flex-end;
  }
  .items-start {
    align-items: flex-start;
  }
  .justify-between {
    justify-content: space-between;
  }
  .justify-center {
    justify-content: center;
  }
  .gap-1 {
    gap: var(--spacing);
  }
  .gap-1\.5 {
    gap: calc(var(--spacing) * 1.5);
  }
  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }
  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }
  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }
  .gap-6 {
    gap: calc(var(--spacing) * 6);
  }
  .gap-8 {
    gap: calc(var(--spacing) * 8);
  }
  :where(.space-y-1 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(var(--spacing) * var(--tw-space-y-reverse));
    margin-block-end: calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)));
  }
  :where(.space-y-2 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));
  }
  :where(.space-y-3 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));
  }
  :where(.space-y-4 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
  }
  :where(.space-y-8 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));
  }
  :where(.space-y-12 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 12) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 12) * calc(1 - var(--tw-space-y-reverse)));
  }
  .gap-x-2 {
    column-gap: calc(var(--spacing) * 2);
  }
  .gap-x-3 {
    column-gap: calc(var(--spacing) * 3);
  }
  .gap-y-1 {
    row-gap: var(--spacing);
  }
  .gap-y-2 {
    row-gap: calc(var(--spacing) * 2);
  }
  .truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .overflow-auto {
    overflow: auto;
  }
  .overflow-hidden {
    overflow: hidden;
  }
  .rounded {
    border-radius: 0.25rem;
  }
  .rounded-card {
    border-radius: var(--radius-card);
  }
  .rounded-full {
    border-radius: calc(infinity * 1px);
  }
  .rounded-input {
    border-radius: var(--radius-input);
  }
  .rounded-lg {
    border-radius: var(--radius-input);
  }
  .rounded-xl {
    border-radius: var(--radius-card);
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .border-t {
    border-top-style: var(--tw-border-style);
    border-top-width: 1px;
  }
  .border-b {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
  }
  .border-dashed {
    --tw-border-style: dashed;
    border-style: dashed;
  }
  .border-border {
    border-color: var(--border);
  }
  .border-danger {
    border-color: var(--danger);
  }
  .border-slate-200 {
    border-color: var(--color-slate-200);
  }
  .border-slate-300 {
    border-color: var(--color-slate-300);
  }
  .bg-amber-50 {
    background-color: var(--color-amber-50);
  }
  .bg-border {
    background-color: var(--border);
  }
  .bg-brand {
    background-color: var(--brand);
  }
  .bg-brand-dark {
    background-color: var(--brand-dark);
  }
  .bg-canvas {
    background-color: var(--canvas);
  }
  .bg-danger {
    background-color: var(--danger);
  }
  .bg-danger\/10 {
    background-color: var(--danger);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--danger) 10%, transparent);
    }
  }
  .bg-muted {
    background-color: var(--muted);
  }
  .bg-slate-100 {
    background-color: var(--color-slate-100);
  }
  .bg-slate-900 {
    background-color: var(--color-slate-900);
  }
  .bg-success {
    background-color: var(--success);
  }
  .bg-surface {
    background-color: var(--surface);
  }
  .bg-surface\/95 {
    background-color: var(--surface);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--surface) 95%, transparent);
    }
  }
  .bg-text {
    background-color: var(--text);
  }
  .bg-white {
    background-color: var(--color-white);
  }
  .object-cover {
    object-fit: cover;
  }
  .p-2 {
    padding: calc(var(--spacing) * 2);
  }
  .p-3 {
    padding: calc(var(--spacing) * 3);
  }
  .p-4 {
    padding: calc(var(--spacing) * 4);
  }
  .p-5 {
    padding: calc(var(--spacing) * 5);
  }
  .px-3 {
    padding-inline: calc(var(--spacing) * 3);
  }
  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }
  .px-6 {
    padding-inline: calc(var(--spacing) * 6);
  }
  .py-1 {
    padding-block: var(--spacing);
  }
  .py-2 {
    padding-block: calc(var(--spacing) * 2);
  }
  .py-3 {
    padding-block: calc(var(--spacing) * 3);
  }
  .py-4 {
    padding-block: calc(var(--spacing) * 4);
  }
  .py-6 {
    padding-block: calc(var(--spacing) * 6);
  }
  .py-8 {
    padding-block: calc(var(--spacing) * 8);
  }
  .py-10 {
    padding-block: calc(var(--spacing) * 10);
  }
  .py-12 {
    padding-block: calc(var(--spacing) * 12);
  }
  .py-16 {
    padding-block: calc(var(--spacing) * 16);
  }
  .ps-4 {
    padding-inline-start: calc(var(--spacing) * 4);
  }
  .pe-4 {
    padding-inline-end: calc(var(--spacing) * 4);
  }
  .pt-2 {
    padding-top: calc(var(--spacing) * 2);
  }
  .pt-3 {
    padding-top: calc(var(--spacing) * 3);
  }
  .pt-4 {
    padding-top: calc(var(--spacing) * 4);
  }
  .pb-2 {
    padding-bottom: calc(var(--spacing) * 2);
  }
  .pb-6 {
    padding-bottom: calc(var(--spacing) * 6);
  }
  .pb-16 {
    padding-bottom: calc(var(--spacing) * 16);
  }
  .text-center {
    text-align: center;
  }
  .text-justify {
    text-align: justify;
  }
  .text-left {
    text-align: left;
  }
  .text-right {
    text-align: right;
  }
  .text-start {
    text-align: start;
  }
  .font-sans {
    font-family: Vazirmatn, ui-sans-serif, system-ui, sans-serif;
  }
  .text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
  }
  .text-3xl {
    font-size: var(--text-3xl);
    line-height: var(--tw-leading, var(--text-3xl--line-height));
  }
  .text-base {
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
  }
  .text-lg {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
  }
  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .text-xl {
    font-size: var(--text-xl);
    line-height: var(--tw-leading, var(--text-xl--line-height));
  }
  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }
  .leading-6 {
    --tw-leading: calc(var(--spacing) * 6);
    line-height: calc(var(--spacing) * 6);
  }
  .leading-7 {
    --tw-leading: calc(var(--spacing) * 7);
    line-height: calc(var(--spacing) * 7);
  }
  .leading-8 {
    --tw-leading: calc(var(--spacing) * 8);
    line-height: calc(var(--spacing) * 8);
  }
  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }
  .font-extrabold {
    --tw-font-weight: var(--font-weight-extrabold);
    font-weight: var(--font-weight-extrabold);
  }
  .font-medium {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }
  .font-normal {
    --tw-font-weight: var(--font-weight-normal);
    font-weight: var(--font-weight-normal);
  }
  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }
  .tracking-tight {
    --tw-tracking: var(--tracking-tight);
    letter-spacing: var(--tracking-tight);
  }
  .text-nowrap {
    text-wrap: nowrap;
  }
  .whitespace-pre-line {
    white-space: pre-line;
  }
  .text-amber-900 {
    color: var(--color-amber-900);
  }
  .text-brand {
    color: var(--brand);
  }
  .text-danger {
    color: var(--danger);
  }
  .text-muted {
    color: var(--muted);
  }
  .text-red-700 {
    color: var(--color-red-700);
  }
  .text-slate-500 {
    color: var(--color-slate-500);
  }
  .text-slate-600 {
    color: var(--color-slate-600);
  }
  .text-success {
    color: var(--success);
  }
  .text-text {
    color: var(--text);
  }
  .text-white {
    color: var(--color-white);
  }
  .text-white\/80 {
    color: color-mix(in srgb, #fff 80%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, var(--color-white) 80%, transparent);
    }
  }
  .lowercase {
    text-transform: lowercase;
  }
  .uppercase {
    text-transform: uppercase;
  }
  .italic {
    font-style: italic;
  }
  .underline {
    text-decoration-line: underline;
  }
  .antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  .shadow {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .ring {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .ring-2 {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-card {
    box-shadow: var(--shadow-card);
  }
  .ring-brand {
    --tw-ring-color: var(--brand);
  }
  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }
  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .invert {
    --tw-invert: invert(100%);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .\!filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,) !important;
  }
  .filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, cubic-bezier(0.4, 0, 0.2, 1));
    transition-duration: var(--tw-duration, var(--duration-fast));
  }
  .ease-in {
    --tw-ease: var(--ease-in);
    transition-timing-function: var(--ease-in);
  }
  .ease-in-out {
    --tw-ease: var(--ease-in-out);
    transition-timing-function: var(--ease-in-out);
  }
  .ease-out {
    --tw-ease: var(--ease-out);
    transition-timing-function: var(--ease-out);
  }
  .\[xml\:lang\] {
    xml: lang;
  }
  @media (hover: hover) {
    .hover\:bg-canvas:hover {
      background-color: var(--canvas);
    }
  }
  @media (width >= 861px) {
    .min-\[861px\]\:block {
      display: block;
    }
    .min-\[861px\]\:flex {
      display: flex;
    }
    .min-\[861px\]\:hidden {
      display: none;
    }
  }
  @media (width >= 40rem) {
    .sm\:col-span-3 {
      grid-column: span 3 / span 3;
    }
    .sm\:mt-10 {
      margin-top: calc(var(--spacing) * 10);
    }
    .sm\:hidden {
      display: none;
    }
    .sm\:inline {
      display: inline;
    }
    .sm\:inline-flex {
      display: inline-flex;
    }
    .sm\:basis-1\/2 {
      flex-basis: calc(1 / 2 * 100%);
    }
    .sm\:grid-cols-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .sm\:grid-cols-3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .sm\:grid-cols-4 {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .sm\:gap-3 {
      gap: calc(var(--spacing) * 3);
    }
    .sm\:p-6 {
      padding: calc(var(--spacing) * 6);
    }
    .sm\:px-6 {
      padding-inline: calc(var(--spacing) * 6);
    }
    .sm\:py-10 {
      padding-block: calc(var(--spacing) * 10);
    }
    .sm\:py-20 {
      padding-block: calc(var(--spacing) * 20);
    }
    .sm\:py-24 {
      padding-block: calc(var(--spacing) * 24);
    }
    .sm\:pb-24 {
      padding-bottom: calc(var(--spacing) * 24);
    }
    .sm\:text-3xl {
      font-size: var(--text-3xl);
      line-height: var(--tw-leading, var(--text-3xl--line-height));
    }
    .sm\:text-4xl {
      font-size: var(--text-4xl);
      line-height: var(--tw-leading, var(--text-4xl--line-height));
    }
  }
  @media (width >= 48rem) {
    .md\:grid-cols-3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .md\:grid-cols-6 {
      grid-template-columns: repeat(6, minmax(0, 1fr));
    }
  }
  @media (width >= 64rem) {
    .lg\:grid-cols-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .lg\:grid-cols-5 {
      grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    .lg\:grid-cols-8 {
      grid-template-columns: repeat(8, minmax(0, 1fr));
    }
    .lg\:px-8 {
      padding-inline: calc(var(--spacing) * 8);
    }
  }
}
:root {
  color-scheme: light;
  --brand: #0b7a68;
  --brand-dark: #086454;
  --brand-soft: #dcf0ea;
  --brand-contrast: #ffffff;
  --surface: #ffffff;
  --canvas: #ffffff;
  --text: #15231f;
  --muted: #5b6b65;
  --border: #dae2dc;
  --success: #15803d;
  --danger: #b91c1c;
  --heart: #d24a5c;
  --saffron: #e5a41c;
  --saffron-ink: #2b1f00;
  --map-land: #f3f1eb;
  --map-block: #e7e4da;
  --map-block-edge: #b7b2a4;
  --map-road: #ffffff;
  --map-road-edge: #dedace;
  --map-main: #f8e4ba;
  --map-path: #b6af9e;
  --map-park: #cde3cf;
  --map-park-label: #50785a;
  --map-water: #aed5e1;
  --map-label: #69766f;
  --map-label-strong: #344e47;
  --map-halo: #faf9f5;
  --map-shadow: 0 4px 16px rgba(25, 48, 39, 0.12), 0 1px 3px rgba(25, 48, 39, 0.08);
  --header-height: 3.5rem;
  --radius-card: 12px;
  --radius-input: 8px;
  --shadow-card: 0 1px 3px rgba(20, 35, 30, 0.1);
  --duration-fast: 150ms;
  --duration-base: 200ms;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --brand: #3fc4aa;
  --brand-dark: #72dcc5;
  --brand-soft: #14342d;
  --brand-contrast: #06211b;
  --surface: #16201d;
  --canvas: #0e1614;
  --text: #e7f0ec;
  --muted: #94a69f;
  --border: #25332e;
  --success: #4ade80;
  --danger: #f87171;
  --heart: #f0697a;
  --saffron: #edb43a;
  --map-land: #18231f;
  --map-block: #24362e;
  --map-block-edge: #41584c;
  --map-road: #304139;
  --map-road-edge: #14221c;
  --map-main: #59654d;
  --map-path: #536153;
  --map-park: #234734;
  --map-park-label: #9dbca3;
  --map-water: #203e4b;
  --map-label: #acbdb2;
  --map-label-strong: #d3e2d8;
  --map-halo: #18231f;
  --map-shadow: 0 4px 18px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.4);
}
@layer base {
  html {
    background: var(--canvas);
    color: var(--text);
    font-family: var(--font-sans);
  }
  :focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
  }
  ::selection {
    background: var(--brand);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--brand) 22%, var(--surface));
    }
    color: var(--text);
  }
  summary::-webkit-details-marker {
    display: none;
  }
  summary {
    list-style: none;
  }
  summary::marker {
    content: "";
  }
  input[type="checkbox"], input[type="range"] {
    accent-color: var(--brand);
  }
  [hidden] {
    display: none !important;
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }
}
@layer components {
  .skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .skip-link:focus {
    position: fixed;
    top: 1rem;
    inset-inline-start: 1rem;
    z-index: 60;
    width: auto;
    height: auto;
    margin: 0;
    clip: auto;
    overflow: visible;
    border-radius: var(--radius-input);
    background: var(--surface);
    color: var(--text);
    padding: 0.5rem 1rem;
    outline: 2px solid var(--brand);
    outline-offset: 2px;
  }
  .site-frame {
    min-height: 100dvh;
  }
  .site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    flex: none;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    padding-top: env(safe-area-inset-top, 0px);
  }
  .site-header__inner {
    height: var(--header-height);
    padding-inline: max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-left));
  }
  .site-logo {
    color: var(--brand);
  }
  .site-logo__mark {
    display: grid;
    width: 1.875rem;
    height: 1.875rem;
    place-items: center;
    border-radius: 9px;
    background: var(--brand);
    color: var(--brand-contrast);
  }
  .theme-switch {
    position: relative;
    flex: none;
  }
  .theme-switch > summary {
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-input);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
  }
  .theme-switch[open] > summary {
    border-color: var(--brand);
    color: var(--brand);
  }
  .theme-switch__panel {
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + 0.5rem);
    z-index: 50;
    display: grid;
    width: 12rem;
    max-width: calc(100vw - 2rem);
    gap: 0.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--surface);
    padding: 0.75rem;
    font-size: 0.8rem;
    box-shadow: var(--shadow-card);
  }
  .theme-switch__panel select {
    min-width: 0;
    min-height: 2.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-input);
    background: var(--surface);
    color: var(--text);
    padding-inline: 0.5rem;
  }
  .icon {
    width: 1.25rem;
    height: 1.25rem;
    flex: none;
  }
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    border-radius: var(--radius-input);
    padding-inline: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25rem;
    cursor: pointer;
    transition-property: background-color, color, border-color, opacity;
    transition-duration: var(--duration-fast);
  }
  .btn-sm {
    min-height: 2.25rem;
    padding-inline: 0.75rem;
  }
  .btn:disabled, .btn[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.5;
  }
  .btn-primary {
    background: var(--brand);
    color: var(--brand-contrast);
  }
  .btn-primary:hover {
    background: var(--brand-dark);
  }
  .btn-secondary {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
  }
  .btn-secondary:hover {
    background: var(--canvas);
  }
  .btn-ghost {
    background: transparent;
    color: var(--text);
  }
  .btn-ghost:hover {
    background: var(--canvas);
  }
  .btn-danger {
    background: var(--danger);
    color: var(--brand-contrast);
  }
  .btn-danger:hover {
    background: var(--danger);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--danger) 82%, black);
    }
  }
  .nav-link {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    border-radius: var(--radius-input);
    padding-inline: 0.75rem;
    font-size: 0.875rem;
    color: var(--text);
    transition-property: background-color, color;
    transition-duration: var(--duration-fast);
  }
  .nav-link:hover {
    background: var(--canvas);
  }
  .nav-link[aria-current="page"] {
    background: var(--brand-soft);
    color: var(--brand);
    font-weight: 700;
  }
  .field {
    width: 100%;
    min-height: 2.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-input);
    background: var(--surface);
    color: var(--text);
    padding: 0.5rem 0.75rem;
    transition: border-color var(--duration-fast) ease;
  }
  .field::placeholder {
    color: var(--muted);
  }
  .badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.5rem;
    border-radius: 999px;
    padding: 0.125rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.25rem;
  }
  .badge-neutral {
    background: var(--canvas);
    color: var(--text);
  }
  .badge-brand {
    background: var(--brand-soft);
    color: var(--brand-dark);
  }
  .badge-success {
    background: var(--success);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--success) 14%, var(--surface));
    }
    color: var(--success);
  }
  .badge-danger {
    background: var(--danger);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--danger) 12%, var(--surface));
    }
    color: var(--danger);
  }
  .precision {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    border-radius: 999px;
    padding-inline: 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.25rem;
  }
  .precision-exact {
    background: #dbeafe;
    color: #1e3a8a;
  }
  .precision-approx {
    background: #fef3c7;
    color: #92400e;
  }
  .precision-declared {
    background: #ede9fe;
    color: #5b21b6;
  }
  .precision-unknown {
    background: #e2e8f0;
    color: #334155;
  }
  .tooltip {
    position: absolute;
    z-index: 30;
    bottom: calc(100% + 0.5rem);
    inset-inline-start: 0;
    width: max-content;
    max-width: 16rem;
    border-radius: var(--radius-input);
    background: var(--text);
    color: var(--surface);
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.5;
    box-shadow: var(--shadow-card);
  }
  .tooltip:not(.is-open) {
    display: none !important;
  }
  .htmx-indicator {
    display: none;
  }
  .htmx-request.htmx-indicator, .htmx-request .htmx-indicator {
    display: block;
  }
  .search-layout .site-frame {
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }
  .search-layout #content, .search-page {
    display: flex;
    min-width: 0;
    min-height: 0;
    flex: 1;
  }
  .search-page {
    flex-direction: column;
  }
  .search-toolbar {
    display: grid;
    grid-template-columns: 17rem minmax(0, 1fr);
    flex: none;
    align-items: center;
    gap: 0.625rem;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    padding: 0.625rem max(1rem, env(safe-area-inset-right)) 0.625rem max(1rem, env(safe-area-inset-left));
  }
  .search-filters {
    display: contents;
  }
  .search-location {
    position: relative;
    min-width: 0;
  }
  .search-location > .icon {
    position: absolute;
    inset-inline-start: 0.7rem;
    top: 0.7rem;
    color: var(--muted);
    pointer-events: none;
  }
  .search-location input {
    width: 100%;
    min-height: 2.625rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-input);
    background: var(--canvas);
    padding: 0.5rem 2.4rem 0.5rem 0.6rem;
    font-size: 0.8rem;
  }
  .search-location input:focus {
    border-color: var(--brand);
    outline: 2px solid var(--brand-soft);
    outline-offset: 1px;
  }
  .search-location__suggestions {
    position: absolute;
    top: calc(100% + 0.5rem);
    inset-inline-end: 0;
    z-index: 60;
    width: 100%;
    max-height: 18rem;
    overflow: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-input);
    background: var(--surface);
    box-shadow: 0 8px 24px rgba(20, 35, 30, 0.15);
  }
  .search-location__suggestions:empty {
    display: none;
  }
  .search-location__suggestions button {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.5rem 0.75rem;
    text-align: start;
    font-size: 0.8rem;
  }
  .search-location__suggestions button:hover, .search-location__suggestions [aria-selected="true"] {
    background: var(--brand-soft);
    color: var(--brand-dark);
  }
  .filter-controls {
    min-width: 0;
  }
  .filter-pills {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 2px;
    scrollbar-width: none;
  }
  .filter-pills::-webkit-scrollbar {
    display: none;
  }
  .filter-pill {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 0.375rem;
    min-height: 2.375rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    padding-inline: 0.875rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    white-space: nowrap;
  }
  .filter-pill:hover {
    border-color: var(--muted);
  }
  .filter-pill .icon {
    width: 1rem;
    height: 1rem;
  }
  .filter-pill.is-active {
    border-color: var(--brand);
    background: var(--brand-soft);
    color: var(--brand);
  }
  .filter-count {
    display: inline-grid;
    min-width: 1.25rem;
    height: 1.25rem;
    place-items: center;
    border-radius: 999px;
    background: var(--brand);
    color: var(--brand-contrast);
    padding-inline: 0.25rem;
    font-size: 0.75rem;
  }
  .filter-popover {
    position: fixed;
    z-index: 60;
    width: 20.625rem;
    max-width: calc(100vw - 1rem);
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--surface);
    padding: 1rem;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
  }
  .filter-unknown, .filter-reset {
    display: inline-flex;
    min-height: 2.375rem;
    flex: none;
    align-items: center;
    gap: 0.4rem;
    color: var(--muted);
    padding-inline: 0.4rem;
    font-size: 0.75rem;
    white-space: nowrap;
  }
  .filter-reset {
    color: var(--brand);
    font-weight: 650;
  }
  .filter-drawer {
    position: fixed;
    inset: 0;
    z-index: 70;
  }
  .filter-drawer__panel {
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    display: flex;
    width: min(390px, 100%);
    flex-direction: column;
    overflow-y: auto;
    background: var(--surface);
    padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom));
    box-shadow: var(--shadow-card);
  }
  .search-shell {
    position: relative;
    display: grid;
    min-height: 0;
    flex: 1;
    grid-template-columns: minmax(0, 1fr);
  }
  .search-map {
    position: relative;
    isolation: isolate;
    display: none;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: var(--map-land);
  }
  .search-map.is-open {
    display: block;
  }
  .search-map-canvas, .search-map-canvas.maplibregl-map {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
  }
  .search-pane {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
  }
  .search-results-heading {
    position: sticky;
    top: 0;
    z-index: 3;
    display: grid;
    gap: 0.65rem;
    background: var(--canvas);
    padding: 1rem 1rem 0.65rem;
  }
  .search-results-heading__top {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
  }
  .search-results-heading h1 {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.5;
  }
  .search-result-count {
    margin-top: 0.25rem;
    color: var(--muted);
    font-size: 0.875rem;
  }
  .search-result-count strong {
    color: var(--text);
  }
  .search-sort {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--muted);
    font-size: 0.75rem;
  }
  .search-sort select {
    min-height: 2.25rem;
    max-width: 10rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-input);
    background: var(--surface);
    color: var(--text);
    padding-inline: 0.6rem;
    font-weight: 600;
  }
  .search-amenity-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.75rem;
    color: var(--muted);
    font-size: 0.7rem;
  }
  .search-amenity-legend > span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
  }
  .search-amenity-legend .amenity {
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 6px;
  }
  .search-results-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    padding: 0.375rem 1rem 1.75rem;
  }
  .search-map-tools {
    position: absolute;
    top: 1rem;
    inset-inline: 1rem;
    z-index: 5;
    display: grid;
    justify-items: start;
    gap: 0.625rem;
    pointer-events: none;
  }
  .search-map-toolbar, .search-map-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    max-width: 100%;
  }
  .search-map-chip, .search-map-action {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--surface) 96%, transparent);
    }
    color: var(--text);
    padding: 0.625rem 0.75rem;
    font-size: 0.75rem;
    line-height: 1.6;
    box-shadow: var(--map-shadow);
    backdrop-filter: blur(10px);
    pointer-events: auto;
  }
  .search-map-follow {
    min-height: 2.75rem;
    font-weight: 550;
    cursor: pointer;
  }
  .search-map-follow input {
    position: relative;
    appearance: none;
    flex: none;
    width: 2rem;
    height: 1.125rem;
    border: 1px solid var(--muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in srgb, var(--muted) 50%, var(--surface));
    }
    border-radius: 999px;
    background: var(--muted);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--muted) 25%, var(--surface));
    }
    cursor: pointer;
    transition: background var(--duration-fast), border-color var(--duration-fast);
  }
  .search-map-follow input::after {
    content: "";
    position: absolute;
    top: 1px;
    right: 1px;
    width: 0.875rem;
    height: 0.875rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: transform var(--duration-fast);
  }
  .search-map-follow input:checked {
    border-color: var(--brand);
    background: var(--brand);
  }
  .search-map-follow input:checked::after {
    transform: translateX(-0.875rem);
  }
  .search-map-action {
    justify-content: center;
    min-height: 2.75rem;
    gap: 0.5rem;
    font-weight: 650;
    cursor: pointer;
    transition: background var(--duration-fast), border-color var(--duration-fast), color var(--duration-fast);
  }
  .search-map-action .icon {
    width: 1.125rem;
    height: 1.125rem;
    flex: none;
    color: var(--brand-dark);
  }
  .search-map-action:hover, .search-map-action[aria-pressed="true"] {
    border-color: var(--brand);
    background: var(--brand-soft);
    color: var(--brand-dark);
  }
  .search-map-hint {
    max-width: min(22rem, 100%);
    line-height: 1.9;
  }
  .search-map-zoom {
    position: absolute;
    inset-inline-end: 1rem;
    bottom: 3rem;
    z-index: 5;
    display: grid;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--map-shadow);
  }
  .search-map-zoom button {
    display: grid;
    width: 2.75rem;
    min-height: 2.75rem;
    place-items: center;
    color: var(--text);
    padding: 0;
    cursor: pointer;
    transition: background var(--duration-fast), color var(--duration-fast);
  }
  .search-map-zoom button + button {
    border-top: 1px solid var(--border);
  }
  .search-map-zoom button:hover {
    background: var(--brand-soft);
    color: var(--brand-dark);
  }
  .search-map-zoom button:focus-visible {
    outline-offset: -4px;
  }
  .search-map-legend {
    position: absolute;
    inset-inline-start: 1rem;
    bottom: 3rem;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--surface) 94%, transparent);
    }
    padding: 0.5rem 0.75rem;
    font-size: 0.7rem;
    color: var(--muted);
    box-shadow: var(--map-shadow);
    pointer-events: none;
  }
  .search-map-legend span {
    width: 1rem;
    height: 1rem;
    border: 1.5px dashed var(--brand);
    border-radius: 50%;
    background: var(--brand-soft);
  }
  .search-map-legend span.is-exact {
    width: 0.55rem;
    height: 0.55rem;
    border: 1.5px solid var(--brand);
    border-radius: 50% 50% 50% 0;
    background: var(--surface);
    box-shadow: none;
    transform: rotate(-45deg);
  }
  .search-map-legend span.is-lot {
    width: 0.85rem;
    height: 0.65rem;
    border: 1.5px solid var(--brand);
    border-radius: 2px;
    background: var(--brand);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--brand) 18%, transparent);
    }
  }
  .search-map-legend span + span {
    margin-inline-start: 0.35rem;
  }
  .field {
    margin-top: 0.25rem;
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius-input);
    background: var(--surface);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
  .search-skeleton {
    position: absolute;
    inset: 0;
    z-index: 20;
    background: var(--canvas);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--canvas) 88%, transparent);
    }
    padding: 1rem;
  }
  .search-map-toggle {
    position: absolute;
    bottom: calc(1rem + env(safe-area-inset-bottom));
    left: 50%;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transform: translateX(-50%);
    border: 0;
    border-radius: 999px;
    background: var(--text);
    color: var(--canvas);
    min-height: 2.75rem;
    padding-inline: 1.25rem;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    cursor: pointer;
  }
  .search-sheet {
    position: absolute;
    inset-inline: 0.75rem;
    bottom: calc(6.25rem + env(safe-area-inset-bottom));
    z-index: 9;
    max-height: 48dvh;
    overflow: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--surface);
    padding: 0.625rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  }
  .search-sheet__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    margin-bottom: 0.3rem;
    font-size: 0.75rem;
  }
  .search-sheet__heading button {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
  }
  .map-pin {
    display: inline-flex;
    min-height: 2rem;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--brand);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1.5px solid color-mix(in srgb, var(--brand) 50%, var(--surface));
    }
    border-radius: 999px;
    background: var(--surface);
    color: var(--brand-dark);
    font: 750 12px/1.5 Vazirmatn, sans-serif;
    padding: 6px 12px;
    direction: rtl;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: var(--map-shadow);
    transition: background var(--duration-fast), border-color var(--duration-fast), color var(--duration-fast), box-shadow var(--duration-fast);
  }
  button.map-pin:not(.is-area):not(.is-cluster):not(.is-exact)::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 7px;
    height: 7px;
    transform: translateX(-50%) rotate(45deg);
    border-right: 1.5px solid;
    border-bottom: 1.5px solid;
    border-color: inherit;
    background: inherit;
  }
  .map-pin:hover, .map-pin:focus-visible {
    z-index: 3;
    border-color: var(--brand);
    background: var(--brand-soft);
    box-shadow: 0 0 0 4px var(--brand), var(--map-shadow);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent), var(--map-shadow);
    }
  }
  .map-pin.is-active {
    z-index: 4;
    border-color: var(--brand);
    background: var(--brand);
    color: var(--brand-contrast);
    box-shadow: 0 0 0 4px var(--brand), var(--map-shadow);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent), var(--map-shadow);
    }
  }
  .map-pin.is-cluster {
    min-width: 2.5rem;
    min-height: 2.5rem;
    border: 3px solid var(--surface);
    background: var(--brand);
    color: var(--brand-contrast);
    padding: 0.375rem 0.625rem;
    font-size: 13px;
    text-align: center;
    box-shadow: 0 0 0 5px var(--brand), var(--map-shadow);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand) 16%, transparent), var(--map-shadow);
    }
  }
  .map-pin.is-cluster:hover, .map-pin.is-cluster:focus-visible {
    background: var(--brand-dark);
  }
  .map-pin.is-exact {
    position: relative;
    display: inline-flex;
    min-height: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 6px 11px 15px;
    box-shadow: none;
    filter: drop-shadow(0 2px 3px rgba(20, 35, 30, 0.28));
  }
  .map-pin.is-exact .map-pin__shape {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
  }
  .map-pin.is-exact .map-pin__shape path {
    fill: var(--surface);
    stroke: var(--brand);
    @supports (color: color-mix(in lab, red, red)) {
      stroke: color-mix(in srgb, var(--brand) 65%, var(--surface));
    }
    stroke-width: 1.5;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
  }
  .map-pin.is-exact .map-pin__label {
    position: relative;
    z-index: 1;
    color: var(--brand-dark);
    line-height: 1.35;
  }
  .map-pin.is-exact:hover, .map-pin.is-exact:focus-visible, .map-pin.is-exact.is-active {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
  }
  .map-pin.is-exact:hover .map-pin__shape path, .map-pin.is-exact:focus-visible .map-pin__shape path {
    fill: var(--brand-soft);
    stroke: var(--brand);
  }
  .map-pin.is-exact.is-active {
    z-index: 4;
    filter: drop-shadow(0 3px 5px rgba(20, 35, 30, 0.32));
  }
  .map-pin.is-exact.is-active .map-pin__shape path {
    fill: var(--brand);
    stroke: var(--brand);
  }
  .map-pin.is-exact.is-active .map-pin__label {
    color: var(--brand-contrast);
  }
  .map-pin.is-area {
    border-style: dashed;
  }
  [data-drawing] .map-pin {
    pointer-events: none;
  }
  [data-gallery-dot][aria-current="true"] span {
    background: #fff;
  }
  .listing-card {
    position: relative;
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--surface);
    box-shadow: var(--shadow-card);
    container-type: inline-size;
    transition: border-color var(--duration-base), box-shadow var(--duration-base);
  }
  .listing-card:hover, .listing-card:focus-within {
    z-index: 1;
    border-color: var(--brand);
    box-shadow: 0 8px 20px rgba(20, 35, 30, 0.14);
  }
  .listing-card__media {
    position: relative;
    min-height: 9.5rem;
    max-height: 22rem;
    flex: none;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: calc(var(--radius-card) - 1px) calc(var(--radius-card) - 1px) 0 0;
    background: var(--canvas);
  }
  .listing-card__media[data-gallery]::after {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 35%;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.5));
    content: "";
    pointer-events: none;
  }
  .listing-card__empty {
    display: grid;
    width: 100%;
    height: 100%;
    align-content: center;
    justify-items: center;
    gap: 0.5rem;
    background: var(--canvas);
    color: var(--muted);
    font-size: 0.75rem;
  }
  .listing-card__photo-nav, .listing-card__save-button {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border-radius: 999px;
    background: var(--surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--surface) 92%, transparent);
    }
    color: var(--text);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
    cursor: pointer;
    transition: background-color var(--duration-fast), opacity var(--duration-fast);
  }
  .listing-card__photo-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
  }
  .listing-card__save {
    position: absolute;
    inset-inline-end: 0.5rem;
    top: 0.5rem;
    z-index: 3;
  }
  .listing-card__photo-nav:hover, .listing-card__save-button:hover {
    background: var(--brand-soft);
  }
  .listing-card__save-button[aria-pressed="true"] {
    color: var(--heart);
  }
  .listing-card__save-button .text-danger {
    color: var(--heart);
  }
  .listing-card__badges {
    position: absolute;
    inset-inline-start: 0.625rem;
    top: 0.625rem;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    max-width: calc(100% - 4rem);
  }
  .listing-card__new, .listing-card__complete {
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.7;
  }
  .listing-card__new {
    background: var(--saffron);
    color: var(--saffron-ink);
  }
  .listing-card__complete {
    background: var(--surface);
    color: var(--brand);
  }
  .listing-card__photo-count {
    position: absolute;
    inset-inline-end: 0.55rem;
    bottom: 0.55rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    border-radius: 6px;
    background: rgba(15, 25, 22, 0.72);
    color: #fff;
    padding: 1px 7px;
    font-size: 0.7rem;
  }
  .listing-card__photo-count .icon {
    width: 0.85rem;
    height: 0.85rem;
  }
  .listing-card__dots {
    position: absolute;
    inset-inline: 0.75rem 5rem;
    bottom: 0.4rem;
    z-index: 2;
    display: flex;
    justify-content: safe center;
    overflow: auto;
    scrollbar-width: none;
  }
  .listing-card__dots::-webkit-scrollbar {
    display: none;
  }
  .listing-card__dots button {
    display: grid;
    width: 1.5rem;
    height: 2rem;
    flex: none;
    place-items: center;
    cursor: pointer;
  }
  .listing-card__dots span {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.4);
  }
  .listing-card__dots [aria-current="true"] span {
    transform: scale(1.3);
  }
  .listing-card__body {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 0.375rem;
    padding: 0.625rem 0.75rem;
  }
  .listing-card__price {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.625rem;
  }
  .listing-card__rent, .listing-card__deposit {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.125rem;
    color: var(--muted);
    font-size: 0.75rem;
    line-height: 1.5;
  }
  .listing-card__rent {
    border-inline-start: 1px solid var(--border);
    padding-inline-start: 0.625rem;
  }
  .listing-card__price strong {
    color: var(--text);
    font-size: clamp(1.0625rem, 5.5cqi, 1.3125rem);
    font-weight: 800;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }
  .listing-card__convertible {
    align-self: start;
    border-radius: 6px;
    background: var(--brand-soft);
    color: var(--brand);
    padding: 1px 8px;
    font-size: 0.72rem;
    font-weight: 600;
  }
  .listing-card__convertible.is-negotiable {
    background: var(--canvas);
    color: var(--muted);
  }
  .listing-card__facts {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.5rem;
    font-size: 0.875rem;
  }
  .listing-card__facts li {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
  }
  .listing-card__facts li + li {
    border-inline-start: 1px solid var(--border);
    padding-inline-start: 0.5rem;
  }
  .listing-card__facts > .listing-card__convertible {
    align-self: center;
    border: 0;
    padding: 0 0.375rem;
  }
  .listing-card__facts .precision {
    min-height: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: transparent;
    color: var(--muted);
    padding-inline: 0.3rem;
    font-size: 0.65rem;
  }
  .listing-card__facts .tooltip {
    max-width: 100%;
  }
  .listing-card__location {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.35rem;
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 600;
    overflow-wrap: anywhere;
  }
  .listing-card__location a, .listing-card__location > span:not(.listing-card__approx) {
    display: block;
    min-width: 0;
    min-height: 1.75rem;
    flex: 1;
    overflow: hidden;
    border-radius: 0.25rem;
    line-height: 1.75rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .listing-card__location a:hover {
    color: var(--brand-dark);
    text-decoration: underline;
    text-underline-offset: 0.2rem;
  }
  .listing-card__approx {
    flex: none;
    border: 1px dashed var(--brand);
    border-radius: 5px;
    color: var(--brand);
    padding-inline: 0.3rem;
    font-size: 0.68rem;
    white-space: nowrap;
  }
  .listing-card__footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding-top: 0.375rem;
  }
  .listing-card__meta {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.125rem 0.625rem;
  }
  .listing-card__amenities {
    display: flex;
    gap: 0.375rem;
  }
  .amenity {
    position: relative;
    display: inline-grid;
    width: 1.75rem;
    height: 1.75rem;
    place-items: center;
    border-radius: 8px;
    background: var(--brand-soft);
    color: var(--brand);
  }
  .amenity .icon {
    width: 1rem;
    height: 1rem;
  }
  .amenity--no, .amenity--unknown {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--muted);
  }
  .amenity--no::after {
    position: absolute;
    inset: 5px 4px;
    background: linear-gradient(to top right, transparent calc(50% - 1px), var(--muted) calc(50% - 1px), var(--muted) calc(50% + 1px), transparent calc(50% + 1px));
    content: "";
  }
  .amenity--unknown {
    border: 1.5px dashed var(--muted);
  }
  .listing-card__completeness {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--muted);
    font-size: 0.75rem;
  }
  .listing-card__meter {
    width: 2.375rem;
    height: 4px;
    overflow: hidden;
    border-radius: 2px;
    background: var(--border);
  }
  .listing-card__meter > span {
    display: block;
    height: 100%;
    max-width: 100%;
    background: var(--brand);
  }
  .listing-card__age {
    color: var(--muted);
    font-size: 0.75rem;
    white-space: nowrap;
  }
  .search-sheet .listing-card {
    height: auto;
    flex-direction: row;
    gap: 0.75rem;
    border: 0;
    box-shadow: none;
    container-type: normal;
  }
  .search-sheet .listing-card__media {
    width: 6.5rem;
    height: 6.5rem;
    min-height: 0;
    border-radius: var(--radius-input);
  }
  .search-sheet .listing-card__body {
    padding: 0;
  }
  .search-sheet .listing-card__price {
    gap: 0.4rem;
    border: 0;
    background: transparent;
    padding: 0;
  }
  .search-sheet .listing-card__rent {
    border: 0;
    padding: 0;
  }
  .search-sheet .listing-card__price strong {
    font-size: 0.9rem;
  }
  .search-sheet .listing-card__footer, .search-sheet .listing-card__badges, .search-sheet .listing-card__save, .search-sheet .listing-card__photo-nav, .search-sheet .listing-card__photo-count, .search-sheet .listing-card__dots, .search-sheet .listing-card__convertible, .search-sheet .listing-card__approx {
    display: none;
  }
  .map-listing-preview {
    position: absolute;
    z-index: 6;
    width: min(17rem, calc(100% - 24px));
    max-height: calc(100% - 24px);
    overflow: auto;
    border-radius: var(--radius-card);
    color: var(--text);
    font: 400 0.75rem/1.6 Vazirmatn, sans-serif;
    white-space: normal;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  }
  .map-listing-preview .listing-card {
    height: auto;
    text-decoration: none;
  }
  .map-listing-preview .listing-card__media {
    height: 9rem;
    min-height: 0;
    aspect-ratio: auto;
  }
  .map-listing-preview .listing-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .map-listing-preview .listing-card__body {
    gap: 0.3rem;
    padding: 0.5rem 0.625rem;
  }
  .map-listing-preview .listing-card__price strong {
    font-size: 1rem;
  }
  .map-listing-preview .listing-card__facts, .map-listing-preview .listing-card__location {
    font-size: 0.75rem;
  }
  @media (hover: hover) and (pointer: fine) {
    .listing-card [data-gallery-ready] .listing-card__photo-nav {
      opacity: 0;
      pointer-events: none;
    }
    .listing-card:hover .listing-card__photo-nav, .listing-card:focus-within .listing-card__photo-nav {
      opacity: 1;
      pointer-events: auto;
    }
  }
  .home-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    z-index: 2;
    min-height: clamp(34rem, 75svh, 40rem);
    background: #123f35;
    color: #fff;
  }
  .home-hero__backdrop {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-position: center;
    background-size: cover;
  }
  .home-hero__backdrop--photo {
    transform: scale(1.015);
  }
  .home-hero__backdrop--photo::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 32, 24, 0.35) 0%, rgba(8, 32, 24, 0.6) 58%, rgba(8, 32, 24, 0.8) 100%), linear-gradient(90deg, rgba(11, 122, 104, 0.25), rgba(21, 35, 31, 0.12));
    content: "";
  }
  .home-hero__backdrop--fallback {
    overflow: hidden;
    background: radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.32) 0 4rem, transparent 4.1rem), radial-gradient(circle at 73% 20%, rgba(255, 255, 255, 0.14) 0 10rem, transparent 10.1rem), linear-gradient(150deg, #739f8d 0%, #306f5c 45%, #123f35 100%);
  }
  .home-hero__backdrop--fallback::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 25%, rgba(8, 32, 24, 0.24) 64%, rgba(8, 32, 24, 0.62));
    content: "";
  }
  .home-skyline {
    position: absolute;
    left: 50%;
    bottom: -1.5rem;
    display: flex;
    width: min(74rem, 96vw);
    height: 21rem;
    align-items: end;
    justify-content: center;
    gap: clamp(0.75rem, 2vw, 2rem);
    opacity: 0.42;
    transform: translateX(-50%);
  }
  .home-skyline__building, .home-skyline__house {
    position: relative;
    display: block;
    border: 3px solid rgba(255, 255, 255, 0.72);
    border-bottom: 0;
    background: rgba(18, 63, 53, 0.5);
  }
  .home-skyline__building::after {
    position: absolute;
    inset: 1.5rem 1rem;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.72) 0 3px, transparent 4px);
    background-size: 2rem 2rem;
    content: "";
  }
  .home-skyline__building--one {
    width: 9rem;
    height: 12rem;
  }
  .home-skyline__building--two {
    width: 11rem;
    height: 17rem;
  }
  .home-skyline__building--three {
    width: 10rem;
    height: 14rem;
  }
  .home-skyline__building--four {
    width: 8rem;
    height: 10rem;
  }
  .home-skyline__house {
    width: 16rem;
    height: 11rem;
  }
  .home-skyline__house::before {
    position: absolute;
    left: 50%;
    top: -7.2rem;
    width: 0;
    height: 0;
    border-inline: 9rem solid transparent;
    border-bottom: 7.2rem solid rgba(255, 255, 255, 0.72);
    content: "";
    transform: translateX(-50%);
  }
  .home-skyline__house::after {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 4rem;
    height: 6rem;
    border: 3px solid rgba(255, 255, 255, 0.72);
    border-bottom: 0;
    content: "";
    transform: translateX(-50%);
  }
  .home-hero__content {
    position: relative;
    z-index: 1;
    min-height: clamp(34rem, 75svh, 40rem);
    justify-content: center;
    padding-block: 3.5rem 2rem;
    text-align: center;
  }
  .home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(8, 24, 49, 0.28);
    padding: 0.45rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
  }
  .home-hero__title {
    max-width: 52rem;
    margin-top: 1rem;
    font-size: clamp(2.25rem, 4vw, 3.75rem);
    font-weight: 850;
    letter-spacing: -0.045em;
    line-height: 1.22;
    text-wrap: balance;
    text-shadow: 0 2px 18px rgba(8, 24, 49, 0.3);
  }
  .home-hero__lead {
    max-width: 44rem;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(0.95rem, 1.6vw, 1.15rem);
    line-height: 1.9;
    text-wrap: balance;
  }
  .home-search-panel {
    width: min(48rem, 100%);
    margin-top: 1.75rem;
  }
  .home-search-tabs {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(8, 24, 49, 0.32);
    padding: 0.25rem;
    backdrop-filter: blur(10px);
  }
  .home-search-tabs a {
    min-height: 2.35rem;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    transition: background-color var(--duration-fast), color var(--duration-fast);
  }
  .home-search-tabs a:hover, .home-search-tabs a[aria-current="page"] {
    background: var(--surface);
    color: var(--brand-dark);
  }
  .home-place-search__shell {
    display: flex;
    min-height: 4.5rem;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--surface);
    padding: 0.45rem;
    box-shadow: 0 1.5rem 4rem rgba(8, 24, 49, 0.3);
  }
  .home-place-search__marker {
    display: grid;
    width: 3rem;
    height: 3rem;
    flex: none;
    place-items: center;
    color: var(--brand);
  }
  .home-place-search__input {
    min-width: 0;
    flex: 1;
    border: 0;
    background: transparent;
    color: var(--text);
    padding: 0.65rem 0.15rem;
    font-size: 1rem;
    font-weight: 500;
    outline: 0;
  }
  .home-place-search__input::placeholder {
    color: var(--muted);
    opacity: 1;
  }
  .home-place-search__submit {
    display: inline-flex;
    min-height: 3.5rem;
    flex: none;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: 0;
    border-radius: 0.75rem;
    background: var(--brand);
    color: var(--brand-contrast);
    padding-inline: 1.45rem;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    transition: background-color var(--duration-fast), transform var(--duration-fast);
  }
  .home-place-search__submit:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
  }
  .home-place-search__results {
    position: absolute;
    z-index: 30;
    width: 100%;
    max-height: 20rem;
    margin-top: 0.55rem;
    overflow: auto;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: var(--surface);
    color: var(--text);
    padding-block: 0.4rem;
    text-align: start;
    box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, 0.2);
  }
  .home-place-search__option {
    display: flex;
    width: 100%;
    min-height: 2.75rem;
    align-items: center;
    padding-inline: 1rem;
    color: var(--text);
    font-size: 0.875rem;
    text-align: start;
  }
  .home-place-search__option:hover {
    background: var(--canvas);
  }
  .home-quick-links {
    display: flex;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
  }
  .home-quick-link {
    display: inline-flex;
    min-height: 2.5rem;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(8, 24, 49, 0.3);
    color: #fff;
    padding-inline: 0.85rem;
    font-size: 0.78rem;
    font-weight: 650;
    white-space: nowrap;
    backdrop-filter: blur(8px);
    transition: background-color var(--duration-fast), border-color var(--duration-fast);
  }
  .home-quick-link:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.16);
  }
  .home-trust-list {
    display: flex;
    width: min(46rem, 100%);
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: auto;
    padding-top: 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.78rem;
    font-weight: 600;
  }
  .home-trust-list li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }
  .home-trust-list li + li {
    border-inline-start: 1px solid rgba(255, 255, 255, 0.24);
    padding-inline-start: 1.25rem;
  }
  .home-trust-list span {
    display: grid;
    width: 1.35rem;
    height: 1.35rem;
    flex: none;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
  }
  .home-trust-list .icon {
    width: 0.85rem;
    height: 0.85rem;
  }
  .home-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
  }
  .home-eyebrow {
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
  }
  .home-section-title {
    margin-top: 0.4rem;
    color: var(--text);
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    font-weight: 820;
    letter-spacing: -0.035em;
    line-height: 1.35;
    text-wrap: balance;
  }
  .home-section-copy {
    max-width: 38rem;
    margin-top: 0.55rem;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.8;
  }
  .home-section-link {
    align-items: center;
    gap: 0.35rem;
    border-radius: var(--radius-input);
    color: var(--brand-dark);
    font-size: 0.875rem;
    font-weight: 750;
    white-space: nowrap;
  }
  .home-section-link:hover {
    text-decoration: underline;
    text-underline-offset: 0.25rem;
  }
  .home-carousel-button {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    flex: none;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    transition: border-color var(--duration-fast), color var(--duration-fast), transform var(--duration-fast);
  }
  .home-carousel-button:hover {
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-1px);
  }
  .home-empty-state {
    display: flex;
    min-height: 18rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 2.5rem;
    border: 1px dashed var(--brand);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px dashed color-mix(in srgb, var(--brand) 30%, var(--border));
    }
    border-radius: 1.5rem;
    background: var(--brand);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--brand) 3%, var(--surface));
    }
    padding: 2rem;
    text-align: center;
  }
  .home-empty-state > span {
    display: grid;
    width: 3.5rem;
    height: 3.5rem;
    place-items: center;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand);
  }
  .home-empty-state h3 {
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 750;
  }
  .home-empty-state p {
    margin-top: 0.35rem;
    color: var(--muted);
    font-size: 0.875rem;
  }
  .home-neighborhood-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
  .home-neighborhood-card {
    position: relative;
    display: block;
    height: 100%;
    min-height: 17rem;
    overflow: hidden;
    border-radius: var(--radius-card);
    background: #123f35;
    color: #fff;
    box-shadow: 0 0.5rem 1.5rem rgba(15, 23, 42, 0.1);
  }
  .home-neighborhood-card img, .home-neighborhood-card__placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .home-neighborhood-card img {
    object-fit: cover;
    transition: transform 450ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .home-neighborhood-card:hover img {
    transform: scale(1.055);
  }
  .home-neighborhood-card__placeholder {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 0.45rem;
    padding-inline: 1.5rem;
    background: linear-gradient(145deg, #8aaf98, #164b3e);
  }
  .home-neighborhood-card__placeholder.tone-two {
    background: linear-gradient(145deg, #b9b392, #596751);
  }
  .home-neighborhood-card__placeholder.tone-three {
    background: linear-gradient(145deg, #96baba, #2f5a53);
  }
  .home-neighborhood-card__placeholder.tone-four {
    background: linear-gradient(145deg, #a5b9a3, #425f50);
  }
  .home-neighborhood-card__placeholder span {
    width: 24%;
    height: 68%;
    border-radius: 0.25rem 0.25rem 0 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.68) 0 2px, transparent 3px) 0 0 / 1.4rem 1.4rem, rgba(15, 23, 42, 0.28);
  }
  .home-neighborhood-card__placeholder span:nth-child(2) {
    height: 88%;
  }
  .home-neighborhood-card__placeholder span:nth-child(3) {
    height: 52%;
  }
  .home-neighborhood-card__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 24, 49, 0.06) 25%, rgba(8, 24, 49, 0.88) 100%);
  }
  .home-neighborhood-card__content {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 1.25rem;
  }
  .home-neighborhood-card__city {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    font-weight: 650;
  }
  .home-neighborhood-card__name {
    margin-top: 0.15rem;
    font-size: 1.35rem;
    font-weight: 800;
  }
  .home-neighborhood-card__count {
    margin-top: 0.3rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
  }
  .home-neighborhood-card__arrow {
    position: absolute;
    inset-inline-end: 1.1rem;
    top: 1.1rem;
    display: grid;
    width: 2.3rem;
    height: 2.3rem;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    background: rgba(8, 24, 49, 0.22);
    backdrop-filter: blur(8px);
    transition: background-color var(--duration-fast), transform var(--duration-fast);
  }
  .home-neighborhood-card:hover .home-neighborhood-card__arrow {
    background: var(--surface);
    color: var(--brand-dark);
    transform: translateX(-2px);
  }
  .home-steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
  .home-step-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--canvas);
    padding: 1.5rem 1.5rem 1.75rem;
    text-align: center;
    transition: border-color var(--duration-base), transform var(--duration-base), box-shadow var(--duration-base);
  }
  .home-step-card:hover {
    border-color: var(--brand);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--brand) 45%, var(--border));
    }
    box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, 0.08);
    transform: translateY(-4px);
  }
  .home-step-card__number {
    position: absolute;
    inset-inline-start: 1.1rem;
    top: 1.1rem;
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 999px;
    background: var(--surface);
    color: var(--brand-dark);
    font-size: 0.75rem;
    font-weight: 850;
    box-shadow: 0 0.25rem 0.8rem rgba(15, 23, 42, 0.09);
  }
  .home-step-card__visual {
    width: min(11rem, 65%);
    height: 7.5rem;
    margin-inline: auto;
    color: var(--brand-dark);
  }
  .home-step-card__visual svg {
    width: 100%;
    height: 100%;
  }
  .home-step-card h3 {
    margin-top: 0.65rem;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 780;
  }
  .home-step-card p {
    margin-top: 0.5rem;
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.85;
  }
  .home-owner-card {
    position: relative;
    display: grid;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--brand-soft);
    color: var(--text);
  }
  .home-owner-card::before {
    position: absolute;
    inset-inline-start: -5rem;
    bottom: -8rem;
    width: 18rem;
    height: 18rem;
    border: 3.5rem solid var(--brand);
    @supports (color: color-mix(in lab, red, red)) {
      border: 3.5rem solid color-mix(in srgb, var(--brand) 8%, transparent);
    }
    border-radius: 999px;
    content: "";
  }
  .home-owner-card__content {
    position: relative;
    z-index: 1;
    padding: clamp(2rem, 6vw, 5rem);
  }
  .home-owner-card__eyebrow {
    font-size: 0.78rem;
    font-weight: 850;
  }
  .home-owner-card h2 {
    max-width: 34rem;
    margin-top: 0.55rem;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 850;
    letter-spacing: -0.04em;
    line-height: 1.25;
  }
  .home-owner-card__content > p:not(.home-owner-card__eyebrow) {
    max-width: 36rem;
    margin-top: 0.85rem;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.9;
  }
  .home-owner-card__primary {
    background: var(--brand);
    color: var(--brand-contrast);
  }
  .home-owner-card__primary:hover {
    background: var(--brand-dark);
  }
  .home-owner-card__secondary {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
  }
  .home-owner-card__secondary:hover {
    background: var(--canvas);
  }
  .home-owner-card__visual {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: end;
    justify-content: center;
    padding: 1rem 1.5rem 0;
    color: var(--brand-dark);
  }
  .home-owner-card__visual svg {
    width: min(100%, 28rem);
    height: auto;
  }
}
.maplibregl-map .maplibregl-ctrl-attrib.maplibregl-compact {
  border-radius: 6px;
  background: var(--surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--surface) 92%, transparent);
  }
  color: var(--muted);
  padding: 3px 24px 3px 8px;
  font: 10px/1.6 Vazirmatn, sans-serif;
  direction: ltr;
}
.maplibregl-map .maplibregl-ctrl-attrib-button {
  background-color: transparent;
}
:root[data-theme="dark"] .maplibregl-map .maplibregl-ctrl-attrib-button {
  filter: invert(1);
}
.search-map .maplibregl-ctrl-bottom-left {
  bottom: calc(0.5rem + env(safe-area-inset-bottom));
  left: 1rem;
}
.search-map .maplibregl-ctrl-bottom-left .maplibregl-ctrl-attrib {
  margin: 0;
}
[data-drawing] .maplibregl-canvas-container.maplibregl-interactive {
  cursor: crosshair;
}
@media (max-width: 639px) {
  .home-hero__content {
    padding-block: 3.5rem 1.5rem;
  }
  .home-hero__title {
    font-size: clamp(2.15rem, 11vw, 3.1rem);
  }
  .home-hero__lead {
    max-width: 30rem;
    font-size: 0.9rem;
    line-height: 1.75;
  }
  .home-search-tabs {
    width: 100%;
    justify-content: center;
  }
  .home-search-tabs a {
    flex: 1;
    padding-inline: 0.55rem;
    font-size: 0.7rem;
  }
  .home-place-search__shell {
    min-height: 4rem;
    border-radius: 0.85rem;
  }
  .home-place-search__marker {
    width: 2.25rem;
  }
  .home-place-search__input {
    font-size: 0.83rem;
  }
  .home-place-search__submit {
    width: 3.1rem;
    min-height: 3.1rem;
    padding: 0;
  }
  .home-place-search__submit span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
  .home-quick-links {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: start;
    overflow-x: auto;
    padding: 0.2rem;
    scrollbar-width: none;
  }
  .home-quick-links::-webkit-scrollbar {
    display: none;
  }
  .home-trust-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding-top: 1.5rem;
    font-size: 0.66rem;
  }
  .home-trust-list li {
    justify-content: center;
    line-height: 1.5;
  }
  .home-trust-list li + li {
    padding-inline-start: 0.5rem;
  }
  .home-trust-list span {
    display: none;
  }
  .home-section-heading {
    align-items: center;
  }
  .home-section-copy {
    font-size: 0.875rem;
  }
  .home-carousel-button {
    width: 2.5rem;
    height: 2.5rem;
  }
  .home-owner-card__visual {
    max-height: 14rem;
    overflow: hidden;
  }
}
@media (min-width: 640px) {
  .search-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-neighborhood-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 900px) {
  .home-owner-card {
    grid-template-columns: minmax(0, 1.15fr) minmax(22rem, 0.85fr);
    align-items: end;
  }
}
@media (min-width: 1024px) {
  .home-neighborhood-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .home-neighborhood-grid__featured, .home-neighborhood-grid > li:nth-child(2) {
    grid-column: span 2;
  }
}
@media (max-width: 380px) {
  .search-sheet .listing-card__price {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 959px) {
  .search-toolbar {
    grid-template-columns: minmax(0, 1fr);
  }
  .search-location {
    grid-column: 1 / -1;
  }
  .search-shell.is-map-view .search-pane {
    display: none;
  }
  .search-pane #search-results {
    padding-bottom: calc(4rem + env(safe-area-inset-bottom));
  }
  .search-map-zoom, .search-map-legend {
    bottom: calc(6rem + env(safe-area-inset-bottom));
  }
  .search-shell.is-map-view .search-map-toggle {
    bottom: calc(2.5rem + env(safe-area-inset-bottom));
  }
}
@media (min-width: 960px) {
  .search-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(640px, 50vw, 800px);
    direction: ltr;
  }
  .search-map {
    display: block;
    border-right: 1px solid var(--border);
    direction: rtl;
  }
  .search-pane {
    direction: rtl;
  }
  .search-map-toggle, .search-sheet {
    display: none !important;
  }
}
body:has(dialog[open]) {
  overflow: hidden;
}
.app-modal {
  width: min(28rem, calc(100vw - 2rem));
  max-height: min(90dvh, 40rem);
  margin: auto;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-card);
}
.app-modal::backdrop {
  background: rgb(21 35 31 / 45%);
}
.listing-light {
  color-scheme: light;
  --brand: #0b7a68;
  --brand-dark: #086454;
  --brand-soft: #dcf0ea;
  --brand-contrast: #fff;
  --surface: #fff;
  --canvas: #fff;
  --text: #15231f;
  --muted: #5b6b65;
  --border: #dae2dc;
  --success: #15803d;
  --danger: #b91c1c;
  --heart: #d24a5c;
  --detail-soft: #f5f7f5;
  --map-land: #f3f1eb;
  --map-block: #e7e4da;
  --map-block-edge: #b7b2a4;
  --map-road: #fff;
  --map-road-edge: #dedace;
  --map-main: #f8e4ba;
  --map-path: #b6af9e;
  --map-park: #cde3cf;
  --map-park-label: #50785a;
  --map-water: #aed5e1;
  --map-label: #69766f;
  --map-label-strong: #344e47;
  --map-halo: #faf9f5;
  --shadow-card: 0 1px 3px rgb(20 35 30 / 10%);
  background: var(--surface);
  color: var(--text);
}
.listing-detail-modal {
  width: min(76.5rem, calc(100vw - 4rem));
  height: min(94dvh, 64rem);
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 24px 80px rgb(10 25 20 / 24%);
}
.listing-detail-modal[open] {
  display: flex;
  flex-direction: column;
}
.listing-detail-modal::backdrop {
  background: rgb(13 25 21 / 52%);
  backdrop-filter: blur(3px);
}
.listing-modal-heading {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  min-height: 3.25rem;
  gap: 1rem;
  padding: 0.25rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.listing-modal-heading h2 {
  overflow: hidden;
  font-size: 0.875rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.listing-modal-close {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
  cursor: pointer;
}
.listing-modal-close:hover {
  background: var(--detail-soft);
}
.listing-modal-scroll {
  min-height: 0;
  flex: 1;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.listing-modal-state {
  display: flex;
  min-height: 22rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
  color: var(--muted);
}
.listing-modal-spinner {
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--border);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: listing-load 800ms linear infinite;
}
@keyframes listing-load {
  to {
    transform: rotate(360deg);
  }
}
.listing-detail {
  --detail-sticky-top: calc(var(--header-height) + env(safe-area-inset-top, 0px));
  max-width: 76rem;
  margin-inline: auto;
  padding: 0 1.5rem 2rem;
  font-size: 0.875rem;
  line-height: 1.7;
}
.listing-detail-modal .listing-detail {
  --detail-sticky-top: 0px;
}
.listing-detail :is(button, summary) {
  cursor: pointer;
}
.listing-card:has([data-listing-open]) {
  cursor: pointer;
}
.listing-detail-toolbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 0.9rem;
}
.listing-detail-back, .listing-detail-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.listing-detail-back {
  color: var(--brand);
  font-weight: 700;
}
.listing-detail-actions form button {
  border-color: var(--border);
  font-weight: 600;
}
.listing-share-status:empty {
  display: none;
}
.listing-share-status {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% - 0.4rem);
  z-index: 30;
  max-width: 100%;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  overflow-wrap: anywhere;
  box-shadow: var(--shadow-card);
}
.listing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 21.25rem;
  gap: 2rem;
  align-items: start;
}
.listing-body {
  min-width: 0;
}
.listing-section {
  padding-block: 1.75rem;
  border-top: 1px solid var(--border);
  scroll-margin-top: calc(var(--detail-sticky-top) + 4.5rem);
}
.listing-section:first-child {
  border-top: 0;
  padding-top: 1.25rem;
}
.listing-section-title {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
}
.nearby {
  margin-top: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.nearby__title {
  padding: 0.6rem 0.9rem;
  background: var(--detail-soft);
  font-size: 0.875rem;
  font-weight: 600;
}
.nearby__item {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-top: 1px dashed var(--border);
  font-size: 0.875rem;
}
.nearby__label {
  color: var(--muted);
}
.nearby__name {
  overflow: hidden;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nearby__time {
  font-weight: 700;
}
.nearby__grade {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.75rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.4;
  white-space: nowrap;
}
.metro-grade--A {
  background: var(--brand);
  color: var(--brand-contrast);
}
.metro-grade--B {
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.metro-grade--C {
  background: #f4e7c3;
  color: var(--saffron-ink);
}
.metro-grade--D {
  background: var(--danger);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--danger) 16%, var(--surface));
  }
  color: var(--danger);
}
.map-pin.is-unit {
  min-width: 2.25rem;
  min-height: 2.25rem;
  padding: 0;
  font-size: 1.15rem;
  line-height: 1;
}
.listing-section-intro {
  margin-bottom: 1rem;
  color: var(--muted);
  line-height: 1.8;
}
.analysis {
  display: grid;
  gap: 0.85rem;
  container-type: inline-size;
}
.analysis-empty, .analysis-stage, .analysis-meter, .analysis-block, .analysis-more, .analysis-compare {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
}
.analysis-empty {
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  padding: 1.6rem 1.3rem;
  text-align: center;
  background: radial-gradient(80% 80% at 50% 0%, var(--brand), transparent 70%), var(--surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(80% 80% at 50% 0%, color-mix(in srgb, var(--brand) 10%, white), transparent 70%), var(--surface);
  }
}
.analysis-empty-mark {
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.35rem;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 58%, transparent 28%, var(--brand) 30% 38%, transparent 40%), conic-gradient(from 210deg, #c2353c, #e7c56a, #0c7a64, #c2353c);
  box-shadow: inset 0 0 0 6px var(--brand);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: inset 0 0 0 6px color-mix(in srgb, var(--brand) 10%, white);
  }
}
.analysis-empty h3, .analysis-block h3, .analysis-meter h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
}
.analysis-empty p, .analysis-block > p, .analysis-note, .analysis-meter-head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.8;
}
.analysis-stage {
  --stage: #3d4f49;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(13.5rem, 0.9fr);
  gap: 0.4rem 1.25rem;
  align-items: center;
  padding: 1.25rem 1.3rem 1.15rem;
  overflow: hidden;
  background: radial-gradient(90% 130% at 100% 0%, var(--stage), transparent 62%), linear-gradient(180deg, #fff 0%, #f6faf8 100%);
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(90% 130% at 100% 0%, color-mix(in srgb, var(--stage) 16%, white), transparent 62%), linear-gradient(180deg, #fff 0%, #f6faf8 100%);
  }
  box-shadow: 0 16px 36px rgb(21 35 31 / 6%);
}
.analysis-stage.is-low {
  --stage: #0c7a64;
}
.analysis-stage.is-high {
  --stage: #c2353c;
}
.analysis-stage.is-fair {
  --stage: #086454;
}
.analysis-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}
.analysis-stage h3 {
  margin: 0.2rem 0 0;
  color: var(--stage);
  font-size: clamp(1.7rem, 3.4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.analysis-lead {
  margin: 0.55rem 0 0;
  max-width: 34rem;
  color: #3d4f49;
  font-size: 0.9rem;
  line-height: 1.9;
}
.analysis-dial {
  width: min(100%, 16.75rem);
  justify-self: center;
}
.analysis-gauge-arc {
  display: block;
  width: 100%;
  height: auto;
  direction: ltr;
  filter: drop-shadow(0 8px 10px rgb(21 35 31 / 8%));
}
.analysis-gauge-scale {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  direction: ltr;
  margin-top: -0.15rem;
  padding: 0.45rem 0.25rem 0.4rem;
  border-radius: 14px;
  background: rgb(255 255 255 / 78%);
  box-shadow: inset 0 0 0 1px var(--border);
  text-align: center;
}
.analysis-gauge-scale span {
  color: #8b9691;
}
.analysis-gauge-scale small {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
}
.analysis-gauge-scale b {
  display: block;
  margin-top: 0.05rem;
  color: #1c2422;
  font-size: 1.05rem;
  font-weight: 800;
}
.analysis-gauge-scale .is-on small, .analysis-gauge-scale .is-on b {
  color: var(--stage);
}
.analysis-confidence {
  display: inline-flex;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  background: var(--stage);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--stage) 12%, white);
  }
  color: var(--stage);
  font-size: 0.72rem;
  font-weight: 800;
}
.analysis-compare {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 0.95fr;
  overflow: hidden;
}
.analysis-compare article {
  padding: 1rem 1.05rem 0.95rem;
  background: transparent;
}
.analysis-compare article + article {
  border-inline-start: 1px solid var(--border);
}
.analysis-compare .is-low {
  background: color-mix(in srgb, #0c7a64 9%, white);
}
.analysis-compare .is-high {
  background: color-mix(in srgb, #c2353c 8%, white);
}
.analysis-compare .is-fair {
  background: var(--brand);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--brand) 8%, white);
  }
}
.analysis-compare span, .analysis-glance span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}
.analysis-compare strong, .analysis-glance strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.02em;
}
.analysis-compare small, .analysis-glance small {
  display: block;
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.74rem;
}
.analysis-compare .is-low strong {
  color: #0c7a64;
}
.analysis-compare .is-high strong {
  color: #c2353c;
}
.analysis-compare .is-fair strong {
  color: var(--brand-dark);
}
.analysis-meter, .analysis-block {
  padding: 1.05rem 1.15rem 1.1rem;
}
.analysis-meter-track {
  position: relative;
  height: 0.72rem;
  margin: 1.85rem 1.15rem 0;
  border-radius: 999px;
  background: linear-gradient(to left, #0c7a64 0%, #8fd4b8 32%, #e7c56a 52%, #f0a3a0 74%, #c2353c 100%);
  box-shadow: inset 0 1px 2px rgb(21 35 31 / 16%), 0 1px 0 rgb(255 255 255 / 70%);
}
.analysis-meter-dot {
  position: absolute;
  top: 50%;
  width: 1.2rem;
  height: 1.2rem;
  margin-inline-start: -0.6rem;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #15231f;
  box-shadow: 0 0 0 1px rgb(21 35 31 / 16%), 0 8px 16px rgb(21 35 31 / 18%);
  transform: translateY(-50%);
}
.analysis-meter-dot::before {
  content: "این آگهی";
  position: absolute;
  bottom: calc(100% + 0.4rem);
  left: 50%;
  padding: 0.08rem 0.5rem;
  border-radius: 999px;
  background: #15231f;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.6;
  white-space: nowrap;
  transform: translateX(-50%);
}
.analysis-meter-scale {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.7rem;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 800;
}
.analysis-meter-scale span {
  display: grid;
  gap: 0.05rem;
}
.analysis-meter-scale span:nth-child(2) {
  text-align: center;
}
.analysis-meter-scale span:last-child {
  text-align: end;
}
.analysis-meter-scale small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
}
.analysis-why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}
.analysis-why li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  background: var(--detail-soft);
  font-size: 0.84rem;
  font-weight: 700;
}
.analysis-why li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  flex: none;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, white);
  }
}
.analysis-comps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 0.8rem;
}
.analysis-comp {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.45rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.analysis-comp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgb(21 35 31 / 8%);
}
.analysis-comp img, .analysis-comp-photo {
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 12px;
  object-fit: cover;
  background: linear-gradient(145deg, var(--detail-soft), var(--brand));
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(145deg, var(--detail-soft), color-mix(in srgb, var(--brand) 12%, white));
  }
}
.analysis-comp b {
  display: block;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.analysis-comp b small {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
}
.analysis-comp span span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.65;
}
.analysis-glance {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 0.85rem;
  overflow: hidden;
  border-radius: 14px;
  background: var(--detail-soft);
}
.analysis-glance article {
  padding: 0.75rem 0.85rem;
}
.analysis-glance article + article {
  border-inline-start: 1px solid var(--border);
}
.analysis-more {
  overflow: hidden;
}
.analysis-more summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  list-style: none;
  font-weight: 800;
}
.analysis-more summary::-webkit-details-marker {
  display: none;
}
.analysis-more summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  flex: none;
  border-inline-end: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}
.analysis-more[open] summary::after {
  transform: rotate(-135deg);
}
.analysis-more-body {
  padding: 0 1rem 1rem;
}
@container (max-width: 720px) {
  .analysis-stage, .analysis-compare, .analysis-comps {
    grid-template-columns: 1fr;
  }
  .analysis-stage {
    text-align: center;
  }
  .analysis-kicker {
    justify-content: center;
  }
  .analysis-lead {
    margin-inline: auto;
  }
  .analysis-compare article + article {
    border-inline-start: 0;
    border-top: 1px solid var(--border);
  }
  .analysis-why {
    grid-template-columns: 1fr;
  }
  .analysis-glance {
    grid-template-columns: 1fr 1fr;
  }
  .analysis-glance article:nth-child(odd) {
    border-inline-start: 0;
  }
  .analysis-glance article:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }
  .analysis-meter-scale {
    display: grid;
    gap: 0.25rem;
  }
  .analysis-meter-scale span, .analysis-meter-scale span:nth-child(2), .analysis-meter-scale span:last-child {
    text-align: start;
  }
}
.listing-detail-title {
  margin: 0.75rem 0 1rem;
  font-size: 1.25rem;
  font-weight: 800;
}
.listing-detail-pills, .listing-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.listing-detail-pill {
  padding: 0.15rem 0.6rem;
  border-radius: 6px;
  background: var(--detail-soft);
  font-size: 0.75rem;
  font-weight: 600;
}
.listing-detail-pill.is-accent {
  background: var(--brand-soft);
  color: var(--brand);
}
.listing-overview-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}
.listing-detail-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.listing-detail-prices dt {
  font-size: 0.75rem;
  color: var(--muted);
}
.listing-detail-prices dd {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.5;
}
.listing-detail-prices small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
}
.listing-detail-stats {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  text-align: center;
}
.listing-detail-stats dd {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.5;
}
.listing-detail-stats dt {
  font-size: 0.75rem;
  color: var(--muted);
}
.listing-detail-address {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.listing-detail-area-source {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
}
.listing-detail .tooltip {
  max-width: min(16rem, 80vw);
}
.listing-cost {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.listing-cost-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.listing-cost-heading h2 {
  font-weight: 800;
}
.listing-cost-heading p {
  color: var(--muted);
  font-size: 0.8rem;
}
.listing-cost-icon {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  place-items: center;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
}
.listing-cost-slider label, .listing-cost-slider p {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}
.listing-cost-slider input {
  width: 100%;
  margin-block: 0.5rem;
}
.listing-cost-slider p {
  font-size: 0.75rem;
  color: var(--muted);
}
.listing-cost-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}
.listing-cost-summary > div {
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: var(--detail-soft);
}
.listing-cost-summary dt {
  font-size: 0.72rem;
  color: var(--muted);
}
.listing-cost-summary dd {
  margin-top: 0.2rem;
  font-size: 0.85rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.listing-cost-summary .is-total {
  background: var(--brand-soft);
  color: var(--brand);
}
.listing-detail-note {
  color: var(--muted);
  font-size: 0.78rem;
}
.listing-detail-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.listing-detail-facts > div {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem;
  border-radius: 10px;
  background: var(--detail-soft);
}
.listing-detail-facts svg {
  flex: none;
}
.listing-detail-facts dt, .listing-detail-conditions dt {
  color: var(--muted);
  font-size: 0.75rem;
}
.listing-detail-facts dd, .listing-detail-conditions dd {
  font-weight: 700;
}
.listing-detail-subtitle {
  margin: 1.5rem 0 0.6rem;
  font-size: 1rem;
  font-weight: 800;
}
.listing-detail-tags li {
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  background: var(--detail-soft);
  font-size: 0.8rem;
  font-weight: 600;
}
.listing-story {
  margin-top: 1.35rem;
  overflow: hidden;
  border: 1px solid var(--brand);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--border));
  }
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgb(11 122 104 / 7%);
}
.listing-story-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.listing-story-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.05rem;
  background: linear-gradient(to left, var(--brand-soft), var(--surface) 72%);
  border-bottom: 1px solid var(--brand);
  @supports (color: color-mix(in lab, red, red)) {
    border-bottom: 1px solid color-mix(in srgb, var(--brand) 14%, var(--border));
  }
}
.listing-story-mark {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  place-items: center;
  border-radius: 12px;
  background: var(--brand);
  color: var(--brand-contrast);
  box-shadow: 0 6px 14px rgb(11 122 104 / 28%);
}
.listing-story-head h3 {
  font-size: 1.02rem;
  font-weight: 800;
}
.listing-story-head p {
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.75rem;
}
.listing-story-copy {
  position: relative;
  padding: 0.95rem 1.15rem 0.85rem;
}
.listing-story-body {
  display: grid;
  gap: 0.28rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.85;
}
.listing-story-body.is-brief {
  position: relative;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.95;
}
.listing-story-body.is-brief::before {
  content: "«";
  position: absolute;
  inset-inline-start: -0.15rem;
  top: -0.85rem;
  color: var(--brand);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--brand) 20%, transparent);
  }
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}
.listing-story-body.is-brief p {
  position: relative;
  padding-inline-start: 1.7rem;
}
.listing-story:has(.listing-story-toggle:not(:checked)) .listing-story-body {
  max-height: 8.2rem;
  overflow: hidden;
}
.listing-story:has(.listing-story-toggle:not(:checked)) .listing-story-copy::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2.6rem;
  background: linear-gradient(to top, var(--surface), transparent);
  pointer-events: none;
}
.listing-story-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: calc(100% - 1.8rem);
  margin: 0 auto 0.9rem;
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}
.listing-story-more:hover {
  background: var(--brand);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--brand) 16%, white);
  }
}
.listing-story-more svg {
  transition: transform var(--duration-fast);
}
.listing-story:has(.listing-story-toggle:checked) .listing-story-more svg {
  transform: rotate(180deg);
}
.listing-story:has(.listing-story-toggle:checked) .when-closed, .listing-story:has(.listing-story-toggle:not(:checked)) .when-open {
  display: none;
}
.listing-story:has(.listing-story-toggle:focus-visible) .listing-story-more {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.listing-story-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  background: var(--detail-soft);
}
.listing-story-meta > div {
  min-width: 0;
  padding: 0.7rem 0.85rem;
}
.listing-story-meta > div + div {
  border-inline-start: 1px solid var(--border);
}
.listing-story-meta dt {
  color: var(--muted);
  font-size: 0.68rem;
}
.listing-story-meta dd {
  margin-top: 0.15rem;
  overflow-wrap: anywhere;
  font-size: 0.82rem;
  font-weight: 800;
}
.listing-detail-conditions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}
.listing-detail-conditions > div {
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  background: var(--detail-soft);
}
.listing-identity-group {
  overflow: visible;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.listing-identity-group h3 {
  padding: 0.6rem 0.9rem;
  border-radius: 12px 12px 0 0;
  background: var(--detail-soft);
  font-size: 0.875rem;
}
.listing-identity-group dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 0 1.5rem;
  padding: 0.25rem 0.9rem 0.65rem;
}
.listing-identity-group dl > div {
  border-bottom: 1px dashed var(--border);
}
.listing-identity-group dd {
  min-width: 0;
  flex-wrap: wrap;
}
.listing-detail-warning {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  background: #fbf0d3;
  color: #6e4e00;
  font-size: 0.8rem;
}
.listing-detail-warning svg {
  margin-top: 0.2rem;
  flex: none;
}
.listing-spaces-table {
  margin-top: 1rem;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.listing-spaces-table table {
  width: 100%;
  border-collapse: collapse;
  text-align: start;
}
.listing-spaces-table :is(td, th) {
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--border);
  text-align: start;
}
.listing-spaces-table thead {
  background: var(--detail-soft);
  color: var(--muted);
  font-size: 0.75rem;
}
.listing-spaces-table tbody tr:last-child > * {
  border-bottom: 0;
}
.listing-before-photos {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.8rem;
}
.listing-before-photos summary {
  display: inline-block;
  padding-block: 0.25rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.listing-contact {
  position: sticky;
  top: calc(var(--detail-sticky-top) + 4.5rem);
  padding-top: 1.25rem;
  scroll-margin-top: 5rem;
}
.listing-contact-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}
.listing-contact-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.listing-contact-heading > span {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
}
.listing-contact-heading h2 {
  font-weight: 800;
}
.listing-contact-heading p {
  color: var(--muted);
  font-size: 0.75rem;
}
.listing-contact-card .listing-detail-prices {
  gap: 1rem;
}
.listing-contact-card .listing-detail-prices dd {
  font-size: 1.2rem;
}
.listing-contact-conversion {
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  background: var(--brand-soft);
  color: #0a6758;
  font-size: 0.75rem;
  font-weight: 600;
}
:root[data-theme="dark"] .listing-contact-conversion {
  color: #3fc4aa;
}
.listing-phone a {
  display: block;
  margin-top: 0.75rem;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand);
}
.listing-contact-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}
.listing-contact-card form {
  margin-top: 0;
}
.listing-contact-card form h2 {
  font-size: 0.875rem;
  font-weight: 700;
}
.listing-contact-card form button[type="submit"] {
  width: 100%;
}
.listing-mobile-contact {
  display: none;
}
.listing-tabs {
  position: sticky;
  top: var(--detail-sticky-top);
  z-index: 20;
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  margin-top: 1rem;
  scrollbar-width: none;
}
.listing-tabs a {
  flex: none;
  border-bottom: 3px solid transparent;
  padding: 0.85rem 0.9rem 0.65rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}
.listing-tabs a[aria-current] {
  border-bottom-color: var(--brand);
  color: var(--brand);
  font-weight: 700;
}
.photo-mosaic-wrap {
  position: relative;
}
.photo-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 11.75rem 11.75rem;
  gap: 6px;
  border-radius: 12px;
  overflow: hidden;
}
.photo-mosaic .is-lead {
  grid-row: 1 / span 2;
}
.photo-mosaic .photo-tile {
  border-radius: 0;
}
.photo-mosaic[data-photo-count="1"] {
  grid-template-columns: 1fr;
}
.photo-mosaic[data-photo-count="2"] {
  grid-template-columns: 1.5fr 1fr;
}
.photo-mosaic[data-photo-count="2"] .photo-tile {
  grid-row: 1 / span 2;
}
.photo-mosaic[data-photo-count="3"] {
  grid-template-columns: 2fr 1fr;
}
.photo-mosaic[data-photo-count="4"] .photo-tile:last-child {
  grid-column: 2 / span 2;
}
.photo-caption {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  padding: 2rem 0.75rem 0.6rem;
  background: linear-gradient(transparent, rgb(10 20 17 / 65%));
  color: #fff;
  text-align: start;
  font-size: 0.75rem;
}
.photo-caption span {
  font-size: 0.68rem;
  opacity: 0.85;
}
.photo-all {
  position: absolute;
  inset-inline-end: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  box-shadow: var(--shadow-card);
}
.photo-tile {
  position: relative;
  display: block;
  min-height: 7rem;
  overflow: hidden;
  border-radius: var(--radius-input);
  background: var(--canvas);
}
.photo-tile img, .photo-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-tile img {
  position: absolute;
  inset: 0;
}
.photo-stale, .photo-more {
  position: absolute;
  z-index: 1;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
}
.photo-stale {
  top: 0.5rem;
  inset-inline-start: 0.5rem;
  background: #fef3c7;
  color: #92400e;
}
.photo-more {
  inset: auto 0.5rem 0.5rem auto;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
}
.photo-empty {
  display: grid;
  min-height: 15rem;
  align-content: center;
  justify-items: center;
  gap: 0.75rem;
  border-radius: var(--radius-card);
  border: 1px dashed var(--border);
  color: var(--muted);
}
.photo-disclaimer {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.6;
}
.photo-dialog {
  width: min(60rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  border: 0;
  border-radius: var(--radius-card);
  background: var(--surface);
  color: var(--text);
  padding: 1rem;
  margin: auto;
}
.photo-dialog::backdrop {
  background: rgba(15, 23, 42, 0.72);
}
.photo-stage {
  position: relative;
  height: min(70dvh, 36rem);
  overflow: hidden;
  border-radius: var(--radius-input);
  background: #0f172a;
}
.photo-stage img {
  object-fit: contain;
}
.photo-overlay {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: grid;
  gap: 0.15rem;
  padding: 2.5rem 1rem 0.75rem;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.82));
  color: #fff;
}
.photo-overlay .photo-stale {
  position: static;
  justify-self: start;
}
.photo-nav {
  position: absolute;
  top: 50%;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
}
.photo-nav.is-prev {
  inset-inline-start: 0.75rem;
}
.photo-nav.is-next {
  inset-inline-end: 0.75rem;
}
.photo-chip[aria-pressed="true"] {
  background: var(--brand);
  color: var(--brand-contrast);
}
.floorplan-stage {
  height: 22rem;
  overflow: hidden;
  border-radius: var(--radius-input);
  background: var(--canvas);
  touch-action: none;
  cursor: grab;
}
.floorplan-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center center;
}
.plan-badge {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--canvas);
  padding: 0.15rem 0.6rem;
  font-size: 0.75rem;
}
.access-map {
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--canvas);
}
.signal-meter {
  display: inline-flex;
  gap: 3px;
  align-items: flex-end;
}
.signal-meter i {
  display: block;
  width: 6px;
  height: 14px;
  border-radius: 2px;
  background: var(--border);
}
.signal-meter i.is-on {
  background: var(--brand);
}
[data-space-target][aria-pressed="true"] {
  background: var(--brand);
  color: var(--brand-contrast);
}
@media (max-width: 980px) {
  .listing-detail-modal {
    width: 100%;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }
  .listing-modal-heading {
    padding-top: max(0.25rem, env(safe-area-inset-top, 0px));
  }
  .listing-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .listing-contact {
    position: static;
    padding-top: 0;
  }
  .listing-detail {
    padding-bottom: 7rem;
  }
  .listing-mobile-contact {
    position: fixed;
    inset: auto 0 0;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-top: 1px solid var(--border);
    padding: 0.75rem max(1rem, env(safe-area-inset-right, 0px)) calc(0.75rem + env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px));
    background: var(--surface);
  }
  .listing-mobile-contact > div {
    flex: 1;
    min-width: 0;
  }
  .listing-mobile-contact span {
    display: block;
    color: var(--muted);
    font-size: 0.7rem;
  }
  .listing-mobile-contact b {
    display: block;
    font-size: 0.85rem;
  }
  .listing-mobile-contact .btn {
    flex: none;
    font-size: 0.8rem;
  }
}
@media (max-width: 700px) {
  .listing-detail {
    padding-inline: max(1rem, env(safe-area-inset-right, 0px)) max(1rem, env(safe-area-inset-left, 0px));
  }
  .listing-detail-toolbar {
    gap: 0.6rem;
  }
  .listing-detail-back {
    font-size: 0.75rem;
  }
  .listing-detail-actions .btn {
    gap: 0.35rem;
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
  }
  .listing-tabs {
    margin-inline: -1rem;
    padding-inline: 0.5rem;
  }
  .listing-tabs a {
    padding-inline: 0.65rem;
    font-size: 0.8rem;
  }
  .photo-mosaic, .photo-mosaic[data-photo-count] {
    grid-template-columns: 1fr;
    grid-template-rows: 15rem;
  }
  .photo-mosaic .photo-tile:not(.is-lead) {
    display: none;
  }
  .photo-mosaic .photo-tile.is-lead {
    grid-row: 1;
  }
  .photo-caption {
    padding-bottom: 3.5rem;
  }
  .listing-detail-prices {
    gap: 1.25rem;
  }
  .listing-detail-prices dd {
    font-size: 1.45rem;
  }
  .listing-cost-summary {
    grid-template-columns: minmax(0, 1fr);
  }
  .listing-cost-summary > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.4rem;
  }
  .listing-cost-summary dd {
    margin: 0;
  }
  .listing-detail-facts, .listing-detail-conditions {
    gap: 0.5rem;
  }
  .listing-detail-facts > div {
    gap: 0.5rem;
    padding: 0.65rem;
  }
  .listing-detail-facts dd {
    font-size: 0.8rem;
  }
  .listing-story-meta {
    grid-template-columns: 1fr;
  }
  .listing-story-meta > div + div {
    border-inline-start: 0;
    border-top: 1px solid var(--border);
  }
  .listing-story-body.is-brief {
    font-size: 0.98rem;
  }
}
.account-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.account-bar .account-nav {
  flex: 1;
  min-width: 0;
}
.account-nav {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
}
.account-link {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.875rem;
  white-space: nowrap;
}
.account-link.is-current {
  background: var(--brand);
  color: var(--brand-contrast);
}
.wizard-steps {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  overflow-x: auto;
}
.wizard-step {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.875rem;
  white-space: nowrap;
}
.wizard-step.is-current {
  background: var(--brand);
  color: var(--brand-contrast);
}
.progress-ring {
  width: 4.5rem;
  height: 4.5rem;
  flex: none;
  transform: rotate(-90deg);
}
.progress-ring-track, .progress-ring-value {
  fill: none;
  stroke-width: 3;
}
.progress-ring-track {
  stroke: var(--border);
}
.progress-ring-value {
  stroke: var(--brand);
  stroke-linecap: round;
}
.form-row {
  display: grid;
  gap: 0.5rem;
}
.uploader-drop {
  border: 1px dashed var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  cursor: pointer;
}
.uploader-drop.is-over {
  border-color: var(--brand);
  color: var(--text);
}
.photo-row {
  display: grid;
  gap: 0.5rem;
  align-items: center;
}
.photo-row img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  border-radius: 0.75rem;
}
.photo-row [data-issues] {
  grid-column: 1 / -1;
}
[data-precision][aria-pressed="true"] {
  background: var(--brand);
  color: var(--brand-contrast);
}
@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  }
  .photo-row {
    grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1fr);
  }
}
.search-page {
  overflow-x: clip;
}
.search-toolbar {
  display: block;
  padding: 0;
}
.search-filters {
  display: flex;
  min-width: 0;
  flex-direction: column;
}
.search-mobile-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 56px;
  height: 56px;
  padding-inline: max(0.75rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-left));
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.search-icon-button, .search-mobile-query, .filter-pill, .filter-choice, .filter-text-button, .search-active-chip, .search-sort {
  min-height: 44px;
}
.search-icon-button {
  display: inline-grid;
  width: 44px;
  flex: none;
  place-items: center;
  border-radius: 999px;
}
.search-mobile-query {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--canvas);
  padding-inline: 0.875rem;
  color: var(--muted);
  font-size: 16px;
  text-align: start;
}
.search-mobile-bar .search-map-toggle {
  position: static;
  left: auto;
  bottom: auto;
  transform: none;
  flex: none;
  min-height: 44px;
  padding-inline: 0.75rem;
}
.filter-chip-row, .search-active-row {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem max(0.75rem, env(safe-area-inset-right)) 0.625rem max(0.75rem, env(safe-area-inset-left));
  scrollbar-width: none;
}
.filter-chip-row::-webkit-scrollbar, .search-active-row::-webkit-scrollbar {
  display: none;
}
.filter-pill, .search-active-chip {
  scroll-snap-align: start;
}
.search-active-chip, .search-active-clear {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  padding-inline: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.search-suggest {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--surface);
  padding-top: env(safe-area-inset-top);
}
.search-suggest__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 56px;
  padding-inline: 0.75rem;
}
.search-suggest .search-location {
  flex: 1;
}
.search-suggest .search-location input {
  font-size: 16px;
  min-height: 44px;
}
.filter-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.filter-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 14, 0.45);
}
.filter-sheet__panel {
  position: relative;
  display: flex;
  height: 92dvh;
  min-width: 0;
  flex-direction: column;
  border-radius: 1rem 1rem 0 0;
  background: var(--surface);
  padding-bottom: env(safe-area-inset-bottom);
}
.filter-sheet__panel--sort {
  height: auto;
  max-height: 70dvh;
}
.filter-sheet__handle {
  width: 3rem;
  height: 44px;
  margin-inline: auto;
  border: 0;
  background: transparent;
}
.filter-sheet__handle::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 0.25rem;
  margin-inline: auto;
  border-radius: 999px;
  background: var(--border);
}
.filter-sheet__body {
  min-height: 0;
  overflow: auto;
  padding-inline: 1rem;
}
.filter-section {
  border-bottom: 1px solid var(--border);
}
.filter-section summary {
  min-height: 44px;
  padding-block: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}
.filter-section__body {
  display: grid;
  gap: 0.75rem;
  padding-bottom: 1rem;
}
.filter-section__body > label:not(.filter-check) {
  display: grid;
  gap: 0.35rem;
}
.filter-section__body input, .filter-section__body select, .search-mobile-query {
  font-size: 16px;
}
.filter-choice-row {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
}
.filter-choice {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding-inline: 0.75rem;
  background: var(--canvas);
}
.filter-choice input {
  width: 1rem;
  height: 1rem;
}
.filter-choice.is-active, .filter-choice:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.filter-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  font-size: 1rem;
}
.filter-helper, .filter-note {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.7;
}
.filter-sheet__footer {
  display: grid;
  gap: 0.5rem;
  border-top: 1px solid var(--border);
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
}
.filter-sheet__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.filter-sheet__actions .btn {
  min-height: 44px;
  flex: 1;
}
.filter-text-button {
  color: var(--brand);
  font-weight: 700;
}
.filter-relax {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.filter-relax a {
  color: var(--brand-dark);
  text-decoration: underline;
}
.listing-card__scenario {
  margin-top: 0.35rem;
  color: var(--brand-dark);
  font-size: 0.875rem;
  font-weight: 700;
}
.listing-card__verified {
  color: var(--brand-dark);
  font-weight: 700;
}
.search-sort {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding-inline: 0.875rem;
  background: var(--surface);
  font-weight: 700;
}
@media (min-width: 960px) {
  .search-page > .px-4 {
    display: none;
  }
  .search-toolbar {
    position: relative;
    z-index: 30;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
  }
  .search-filters {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    padding: 0.625rem 1rem;
  }
  .search-filters > input {
    display: none;
  }
  .search-mobile-bar {
    display: none;
  }
  .search-suggest {
    display: block !important;
    position: relative;
    inset: auto;
    z-index: 5;
    order: -1;
    flex: 0 0 22rem;
    width: 22rem;
    height: auto;
    padding: 0;
    background: transparent;
  }
  .search-suggest__bar {
    min-height: 0;
    padding: 0;
  }
  .search-suggest .search-icon-button {
    display: none;
  }
  .search-suggest .search-location input {
    min-height: 2.75rem;
    border-radius: 999px;
    background: var(--canvas);
    padding-inline-start: 2.35rem;
    font-size: 0.875rem;
  }
  .filter-chip-row, .search-active-row {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    scroll-snap-type: none;
  }
  .search-active-row {
    flex-basis: 100%;
    padding-bottom: 0.25rem;
  }
  .filter-sheet {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 7.25rem 1rem 1.5rem;
  }
  .filter-sheet__backdrop {
    background: rgba(8, 16, 14, 0.28);
  }
  .filter-sheet__panel {
    height: auto;
    max-height: min(72dvh, 40rem);
    width: min(26rem, calc(100vw - 2rem));
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 1rem;
    box-shadow: 0 18px 50px rgba(20, 35, 30, 0.18);
  }
  .filter-sheet__panel--sort {
    width: min(18rem, calc(100vw - 2rem));
    max-height: none;
  }
  .filter-sheet__handle {
    display: flex;
    width: auto;
    height: auto;
    align-items: center;
    align-self: flex-end;
    margin: 0;
    padding: 0.85rem 1rem 0.15rem;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
  }
  .filter-sheet__handle::before {
    width: auto;
    height: auto;
    margin: 0;
    border-radius: 0;
    background: transparent;
    content: "بستن";
  }
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-leading {
  syntax: "*";
  inherits: false;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-tracking {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@property --tw-ease {
  syntax: "*";
  inherits: false;
}
@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-space-y-reverse: 0;
      --tw-border-style: solid;
      --tw-leading: initial;
      --tw-font-weight: initial;
      --tw-tracking: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-outline-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-ease: initial;
    }
  }
}
