/* Prețurile reale (views/preturi-reale/*.ejs, views/utile/pretul-real-pe-strada.ejs, caseta din ghidul cartierului). */
.pr-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pr-table { width: 100%; }
.pr-table td, .pr-table th { white-space: nowrap; }
.pr-table th[scope="row"] { white-space: normal; min-width: 9rem; }
.pr-list { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.pr-search { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 6px; }
.pr-search input { flex: 1 1 240px; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid #cbd5e1; border-radius: 12px; font-size: 1rem; background: #fff; color: #0f172a; }
.pr-search input:focus { outline: 2px solid #93c5fd; border-color: #2563eb; }
.pr-chips { list-style: none; margin: 8px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pr-chips a { display: inline-flex; gap: 6px; align-items: baseline; padding: 7px 12px; border: 1px solid #e2e8f0; border-radius: 999px; background: #fff; color: #0f172a; text-decoration: none; font-weight: 600; font-size: .92rem; }
.pr-chips a:hover { border-color: #93c5fd; }
.pr-chips span { color: #64748b; font-weight: 500; font-size: .84rem; }
/* caseta din ghidul cartierului */
.pr-box { margin: 0 0 8px; padding: 16px 18px; border: 1px solid #bfdbfe; border-radius: 16px; background: linear-gradient(180deg, #eff6ff, #fff); }
.pr-box__v { margin: 4px 0 2px; font-size: 1.5rem; font-weight: 800; color: #0f172a; }
.pr-box p { margin: 6px 0 0; }
/* instrumentul de căutare pe stradă */
.prt-results { display: grid; gap: 8px; margin-top: 10px; }
.prt-hit { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; text-align: left; cursor: pointer; font: inherit; color: #0f172a; width: 100%; }
.prt-hit:hover, .prt-hit[aria-pressed="true"] { border-color: #2563eb; background: #eff6ff; }
.prt-hit small { color: #64748b; display: block; }
.prt-hit b { white-space: nowrap; }
.prt-card { margin-top: 14px; padding: 18px; border: 1px solid #bfdbfe; border-radius: 16px; background: #fff; }
.prt-card h3 { margin: 0 0 4px; font-size: 1.2rem; color: #0f172a; }
.prt-big { font-size: 1.8rem; font-weight: 800; color: #0f172a; margin: 6px 0 0; }
.prt-card table { width: 100%; margin-top: 10px; border-collapse: collapse; font-size: .93rem; }
.prt-card th, .prt-card td { padding: 7px 8px; border-top: 1px solid #e2e8f0; text-align: left; }
.prt-card thead th { border-top: 0; color: #64748b; font-size: .82rem; }
.prt-links { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; font-size: .93rem; }
.prt-note { color: #64748b; font-size: .86rem; margin-top: 8px; }
/* pe telefon, celulele tabelelor se rup pe rânduri, iar butoanele cu text lung la fel */
@media (max-width: 560px) {
  .pr-table td, .pr-table th { white-space: normal; }
  .pr-table th[scope="row"] { min-width: 0; }
  .pr-table th, .pr-table td { padding-left: 6px; padding-right: 6px; }
}
.prt-wrap .ut-btn { white-space: normal; height: auto; min-height: 44px; text-align: left; }
/* anul construcției: bara pe perioade (views/partials/vechime-card.ejs, caseta din ghidul cartierului) */
.vb-bar { display: flex; height: 14px; margin-top: 12px; border-radius: 999px; overflow: hidden; background: #f1f5f9; }
.vb-bar__s { display: block; height: 100%; }
.vb-bar__s--0 { background: #7c2d12; }
.vb-bar__s--1 { background: #c2410c; }
.vb-bar__s--2 { background: #f59e0b; }
.vb-bar__s--3 { background: #60a5fa; }
.vb-bar__s--4 { background: #2563eb; }
.vb-legend { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .84rem; color: #334155; }
.vb-legend li { display: inline-flex; align-items: center; gap: 6px; }
.vb-key { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.prt-links a { color: #1d4ed8; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* raportul anual pentru presă (views/preturi-reale/raport.ejs) */
.prr-fig { margin: 0 0 22px; }
.prr-fig svg { display: block; width: 100%; height: auto; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; }
.prr-fig figcaption { margin-top: 8px; }
.prr-text summary { cursor: pointer; font-weight: 700; color: #1d4ed8; margin-top: 12px; }
.prr-text pre { white-space: pre-wrap; overflow-wrap: anywhere; font-family: inherit; font-size: .93rem; line-height: 1.6; margin: 10px 0; padding: 14px; border: 1px solid #e2e8f0; border-radius: 12px; background: #f8fafc; }
.prr-dl { background: #fff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.prr-dl:hover { background: #eff6ff; border-color: #93c5fd; }
