/* NB-STATUSI (prijedlog, 2. 12. 2026): ista boja stanja na TELEFONU i TABLETU kao u bloku „Pronađite svoj stan“ na računaru (mdh-nb-r13.css).
   Jezik (iz R13/C42): Slobodno = maslinasta svijetla #e7ebdf + puna linija #5b6b4e · Rezervisano = šampanj #f8efe3 + šrafura + isprekidana bronza #996a37 ·
   Prodato = brend-neutralna #5a6170 puna, bijeli tekst, precrtan broj (bilo #3a3f4b / #4b5160 – tamnoplavo-sivo, brend ga ne dozvoljava).
   Samo boje, ivice, kontrast; bez novih elemenata i bez promjene ponašanja. Učitava se uz mdh-status.css (partials/status-css). WCAG AA: bijelo na #5a6170 = 6,2 : 1. */
:root { --nbs-free-bg: #e7ebdf; --nbs-free-line: #5b6b4e; --nbs-free-ink: #3f4d34; --nbs-res-bg: #f8efe3; --nbs-res-line: #996a37; --nbs-res-ink: #85592c; --nbs-sold: #5a6170; --nbs-soon-line: #c9a57a; }
@media (max-width: 1279.98px) {

/* ---- izbor stana (telefon + tablet 768): pločice stanova ---- */
html body .nbi .nbi-tile:not(.is-sel) { border: 1.5px solid var(--nbs-free-line); background-color: var(--nbs-free-bg); }
html body .nbi .nbi-tile:not(.is-sel) b { color: #161e2d; }
html body .nbi .nbi-tile:not(.is-sel) span { color: #3d434e; }
html body .nbi .nbi-tile:not(.is-sel) em { color: var(--nbs-free-ink); background: #fff; border-radius: 999px; padding: 2px 9px; line-height: 1.35; margin-top: 4px; }
html body .nbi .nbi-tile.st-reserved:not(.is-sel) { border: 1.5px dashed var(--nbs-res-line); background-color: var(--nbs-res-bg); background-image: repeating-linear-gradient(135deg, rgba(173, 124, 70, .28) 0 1.5px, transparent 1.5px 6px); }
html body .nbi .nbi-tile.st-reserved:not(.is-sel) em { color: var(--nbs-res-ink); }
html body .nbi .nbi-tile.st-sold:not(.is-sel) { border: 1.5px solid var(--nbs-sold); background-color: var(--nbs-sold); background-image: none; }
html body .nbi .nbi-tile.st-sold:not(.is-sel) b { color: #fff; text-decoration: line-through; text-decoration-thickness: 1.5px; text-decoration-color: rgba(255, 255, 255, .85); }
html body .nbi .nbi-tile.st-sold:not(.is-sel) span, html body .nbi .nbi-tile.st-sold:not(.is-sel) em { color: #fff; }
html body .nbi .nbi-tile.st-sold:not(.is-sel) em { background: transparent; padding: 2px 0; }
html body .nbi .nbi-tile.st-off:not(.is-sel) { border: 1.5px dashed var(--nbs-soon-line); background-color: #fff; background-image: none; }
html body .nbi .nbi-tile.st-off:not(.is-sel) b, html body .nbi .nbi-tile.st-off:not(.is-sel) span, html body .nbi .nbi-tile.st-off:not(.is-sel) em { color: var(--nbs-sold); }
html body .nbi .nbi-tile.st-off:not(.is-sel) em { background: transparent; padding: 2px 0; }

/* ---- izbor stana: legenda i oznake na tlocrtu (isti znakovi kao R13 legenda) ---- */
html body .nbi .nbi-leg i { box-sizing: border-box; border-radius: 5px; }
html body .nbi .nbi-leg i.a { background: rgba(91, 107, 78, .35); border: 1.5px solid var(--nbs-free-line); }
html body .nbi .nbi-leg i.r { background: var(--nbs-res-bg) repeating-linear-gradient(135deg, rgba(153, 106, 55, .5) 0 1.5px, transparent 1.5px 4px); border: 1.5px dashed var(--nbs-res-line); }
html body .nbi .nbi-leg i.s { background: var(--nbs-sold); border: 1.5px solid var(--nbs-sold); }
html body .nbi .nbi-leg i.c { background: repeating-linear-gradient(45deg, var(--nbs-sold) 0 3px, #fff 3px 5px); border: 1.5px solid var(--nbs-sold); }
html body .nbi .nbi-u.st-available { fill: rgba(91, 107, 78, .35); fill-opacity: 1; stroke: var(--nbs-free-line); stroke-width: 1.5; }
html body .nbi .nbi-u.st-reserved { fill: rgba(248, 239, 227, .62); fill-opacity: 1; stroke: var(--nbs-res-line); stroke-width: 1.5; stroke-dasharray: 6 4; }
html body .nbi .nbi-u.st-sold, html body .nbi .nbi-u.st-off { fill: rgba(90, 97, 112, .45); fill-opacity: 1; stroke: var(--nbs-sold); stroke-width: 1.5; }
html body .nbi .nbi-u.is-far { fill-opacity: .45; }
html body .nbz-badge.nbi-ub rect { fill: rgba(90, 97, 112, .92); }

/* ---- izbor stana, korak 1: broj slobodnih po spratu ---- */
html body .nbi .nbi-fl .fr { background: var(--nbs-free-bg); color: var(--nbs-free-ink); box-shadow: inset 0 0 0 1px var(--nbs-free-line); }
html body .nbi .nbi-fl.is-none .fr { background: var(--nbs-sold); color: #fff; box-shadow: none; }

/* ---- stranica projekta: lista spratova (tablet + telefon) ---- */
html body .nbe-frows a span, html body .nbe-tw a span { color: #4a5840; }
html body .nbe-frows a span.is-none, html body .nbe-tw a span.is-none { color: var(--nbs-sold); font-weight: 600; }

/* ---- stranica stana (telefon + tablet): oznaka u zaglavlju kao mdh-st na računaru (bez zelene/crvene/žute) ---- */
html body .ms-article__meta .ms-badge { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; letter-spacing: .01em; }
html body .ms-article__meta .ms-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
html body .ms-article__meta .ms-badge--ok { background: #e7ebdf; color: #5b6b4e; }
html body .ms-article__meta .ms-badge--wait { background: var(--nbs-res-bg); color: var(--nbs-res-ink); box-shadow: inset 0 0 0 1px #e9d4b8; }
html body .ms-article__meta .ms-badge--no { background: #ece4d8; color: #5a6170; }
}
