:root {
  --navy: #12263a;
  --flame: #ff6b2c;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #12263a;
  --muted: #5a6b7c;
  --line: #d9dee4;
  --error: #b3261e;
  --link: #12263a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1a28;
    --surface: #12263a;
    --text: #eef2f6;
    --muted: #9fb0c0;
    --line: #26405a;
    --error: #ff8a80;
    --link: #ff9a6b;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem; line-height: 1.5;
}
h1, h2, h3, .nh-brand {
  font-family: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  font-weight: 800; line-height: 1.15; letter-spacing: -0.01em;
}
h1 { font-size: 1.75rem; margin: 0 0 .75rem; }
a { color: var(--link); }

.nh-top {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .5rem 1rem; background: var(--navy); color: #fff; min-height: 56px;
}
.nh-brand { color: #fff; text-decoration: none; font-size: 1.4rem; display: inline-flex; align-items: center; min-height: 44px; }
.nh-brand span { color: var(--flame); }
.nh-nav { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.nh-nav a, .nh-link {
  color: #fff; background: none; border: 0; font: inherit; cursor: pointer;
  min-height: 44px; padding: 0 .75rem; display: inline-flex; align-items: center; text-decoration: none;
}
.nh-nav a:hover, .nh-link:hover { color: var(--flame); }
.nh-inline { display: inline; margin: 0; }

.nh-main { max-width: 64rem; margin: 0 auto; padding: 1.25rem 1rem 3rem; }
.nh-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.25rem;
}
.nh-narrow { max-width: 26rem; margin: 1.5rem auto; }
.nh-muted { color: var(--muted); }
.nh-error {
  color: var(--error); border: 1px solid var(--error); border-radius: 10px;
  padding: .6rem .8rem; margin: 0 0 1rem;
}

.nh-form { display: grid; gap: 1rem; }
.nh-form label { display: grid; gap: .3rem; font-weight: 600; }
.nh-form input, .nh-form select, .nh-form textarea {
  font: inherit; color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: .6rem .75rem; min-height: 44px; width: 100%;
}
.nh-form input:focus-visible, .nh-btn:focus-visible, a:focus-visible, .nh-link:focus-visible {
  outline: 3px solid var(--flame); outline-offset: 2px;
}

.nh-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 1.25rem; border: 0; border-radius: 999px;
  background: var(--flame); color: var(--navy); /* navy text on flame, always */
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}
.nh-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.nh-btn:active { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .nh-btn:hover { transform: none; }
}

/* office + agent pages */
h2 { font-size: 1.2rem; margin: 1.5rem 0 .6rem; }
.nh-row { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.nh-grow { flex: 1 1 14rem; margin: 0; }
.nh-card + .nh-card, .nh-card + h2 { margin-top: 1rem; }
.nh-btn-quiet { background: transparent; color: var(--text); border: 1px solid var(--line); }
.nh-tabs { display: flex; gap: .25rem; flex-wrap: wrap; margin: 1rem 0; }
.nh-tabs a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 .9rem; border-radius: 999px; text-decoration: none; border: 1px solid var(--line); }
.nh-tabs a[aria-current="page"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.nh-tablewrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.nh-table { width: 100%; border-collapse: collapse; }
.nh-table th, .nh-table td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.nh-table tr:last-child td { border-bottom: 0; }
.nh-badge { display: inline-block; padding: .1rem .6rem; border-radius: 999px; border: 1px solid var(--line); font-size: .85rem; }
.nh-badge-ok { border-color: #2e7d32; color: #2e7d32; }
.nh-badge-warn { border-color: var(--flame); color: var(--flame); }
.nh-facts { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1rem; margin: 0 0 1rem; }
.nh-facts dt { color: var(--muted); } .nh-facts dd { margin: 0; }
.nh-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: .75rem; margin-bottom: 1rem; }
.nh-photo { padding: .5rem; margin: 0; }
.nh-photo img, .nh-phone img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; }
.nh-photo figcaption { justify-content: space-between; margin-top: .25rem; }
.nh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; }
.nh-grid .nh-card { margin: 0; } .nh-phone h2 { margin-top: .75rem; }
.nh-price { font-weight: 600; font-size: 1.2rem; margin: .25rem 0; }
.nh-filter { max-width: 22rem; margin-bottom: 1rem; }
.nh-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: .75rem; margin-top: 1rem; }
.nh-stats .nh-card { margin: 0; display: grid; } .nh-stats strong { font-size: 1.4rem; }
.nh-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.nh-list .nh-card { margin: 0; }
.nh-share { overflow-wrap: anywhere; margin: .5rem 0; }
code { overflow-wrap: anywhere; }

/* public shop (buyers, mostly on phones) */
.nh-wide { width: 100%; min-height: 52px; font-size: 1.1rem; }
.nh-tile { display: block; text-decoration: none; color: inherit; }
.nh-tile.nh-reserved { opacity: .55; filter: grayscale(.6); }
.nh-bigprice { font-family: "Bricolage Grotesque", "Figtree", system-ui, sans-serif; font-weight: 800; font-size: 2.2rem; line-height: 1.1; margin: .25rem 0 .5rem; }
.nh-detail { max-width: 40rem; margin: 0 auto; }
.nh-gallery {
  display: flex; gap: .5rem; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; margin: 0 -1rem; padding: 0 1rem; scrollbar-width: thin;
}
.nh-gallery img {
  flex: 0 0 92%; scroll-snap-align: center; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 14px; background: var(--surface);
}
.nh-gallery img:only-child { flex-basis: 100%; }
.nh-swipe { margin: .25rem 0 0; font-size: .9rem; }
.nh-buy { padding-top: .75rem; }
.nh-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1rem; }
.nh-chips li { border: 1px solid var(--line); border-radius: 999px; padding: .15rem .75rem; background: var(--surface); }
.nh-note { margin-bottom: 1rem; }
.nh-reserve, .nh-order { max-width: 34rem; margin: 0 auto; }
.nh-summary { display: flex; gap: .75rem; align-items: center; margin: 0 0 1rem; }
.nh-summary img { width: 5.5rem; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.nh-choice { border: 1px solid var(--line); border-radius: 10px; padding: .5rem .75rem; display: grid; gap: .25rem; }
.nh-choice legend { font-weight: 600; padding: 0 .25rem; }
.nh-choice label { display: flex; align-items: center; gap: .6rem; min-height: 44px; }
.nh-choice input { width: 1.25rem; min-height: 0; }
.nh-status { border-radius: 10px; padding: .75rem 1rem; border: 1px solid var(--line); background: var(--surface); }
.nh-status-wait { border-color: var(--flame); }
.nh-status-ok { border-color: #2e7d32; }
.nh-status-bad { border-color: var(--error); }
.nh-bank h2 { margin-top: 0; }
.nh-copylist { margin: 0 0 1rem; display: grid; gap: .1rem; }
.nh-copylist div { display: flex; justify-content: space-between; align-items: center; gap: .75rem; min-height: 48px; border-bottom: 1px solid var(--line); }
.nh-copylist dt { color: var(--muted); }
.nh-copylist dd { margin: 0; display: flex; align-items: center; gap: .6rem; font-size: 1.1rem; text-align: right; overflow-wrap: anywhere; }
.nh-copy { min-height: 44px; min-width: 4.5rem; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); font: inherit; cursor: pointer; }
@media (min-width: 40rem) { .nh-gallery img { flex-basis: 70%; } }
.nh-row-late td { background: color-mix(in srgb, var(--flame) 14%, transparent); }

/* bank numbers must not break across lines */
.nw{white-space:nowrap;font-variant-numeric:tabular-nums}
