/* Harta PUZ-urilor aprobate (views/orase/puz.ejs, public/js/puz-harta.js). Culoarea categoriei vine din --pc. */
.pz-card { background: var(--or-card); border: 1px solid var(--or-line); border-radius: 20px; box-shadow: var(--or-shadow); overflow: hidden; }
.pz-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 16px; background: linear-gradient(180deg, var(--or-primary-50), #fff 80%); border-bottom: 1px solid var(--or-line); }
@media (min-width: 900px) { .pz-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; padding: 18px 20px; } }
.pz-search__row { display: flex; gap: 6px; }
.pz-search input { flex: 1; min-width: 0; padding: 11px 12px; border: 1px solid var(--or-line); border-radius: 10px; font: inherit; font-size: 1rem; background: #fff; }
.pz-search input:focus-visible { outline: 3px solid var(--or-primary-100); border-color: var(--or-primary); }
.pz-search .or-btn { padding: 10px 14px; }
.pz-search .or-btn svg { width: 16px; height: 16px; }
.pz-hint { margin: 6px 0 0; font-size: .82rem; color: var(--or-muted); }
.pz-res { list-style: none; margin: 6px 0 0; padding: 4px; border: 1px solid var(--or-line); border-radius: 10px; background: #fff; box-shadow: 0 8px 20px -12px rgba(15, 23, 42, .3); }
.pz-res button { display: block; width: 100%; text-align: left; padding: 8px 10px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: .9rem; cursor: pointer; color: var(--or-ink); }
.pz-res button:hover { background: var(--or-soft); }
.pz-res__m { padding: 8px 10px; font-size: .88rem; color: var(--or-muted); }
.pz-filters { display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start; }
.pz-chip { position: relative; cursor: pointer; }
.pz-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pz-chip span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--or-line); background: #fff; font-size: .85rem; font-weight: 650; color: var(--or-text); transition: background-color .15s, border-color .15s; }
.pz-chip span i { width: 10px; height: 10px; border-radius: 50%; background: var(--pc); }
.pz-chip span em { font-style: normal; font-weight: 800; color: var(--or-muted); }
.pz-chip input:checked + span { border-color: var(--pc); background: color-mix(in srgb, var(--pc) 10%, #fff); color: var(--or-ink); }
.pz-chip input:not(:checked) + span { opacity: .55; text-decoration: line-through; }
.pz-chip input:focus-visible + span { outline: 3px solid var(--or-primary-100); }
.pz-mapwrap { position: relative; }
.pz-map { position: relative; height: 520px; background: var(--or-soft); }
@media (max-width: 640px) { .pz-map { height: 420px; } }
.pz-legend { position: absolute; z-index: 500; left: 10px; bottom: 10px; display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 6px 10px; border-radius: 10px; background: rgba(255, 255, 255, .94); box-shadow: 0 2px 8px rgba(15, 23, 42, .15); font-size: .76rem; color: var(--or-text); }
.pz-legend span { display: inline-flex; align-items: center; gap: 6px; }
.pz-lg { display: inline-block; }
.pz-lg--pin { width: 12px; height: 12px; border-radius: 50%; background: #334155; border: 2px solid #fff; box-shadow: 0 0 0 1px #334155; }
.pz-lg--circle { width: 14px; height: 14px; border-radius: 50%; border: 2px dashed #334155; }
.pz-lg--street { width: 20px; height: 0; border-top: 4px dashed #334155; }
.pz-near { padding: 14px 16px 16px; border-top: 1px solid var(--or-line); }
.pz-near__h { margin: 0 0 8px; color: var(--or-text); }
.pz-near__h strong { color: var(--or-ink); }
.pz-near__l { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pz-near__l button { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 9px 10px; border: 1px solid var(--or-line); border-radius: 12px; background: #fff; text-align: left; font: inherit; cursor: pointer; color: inherit; }
.pz-near__l button:hover { border-color: var(--pc); }
.pz-near__d { flex: none; min-width: 64px; font-weight: 800; color: var(--or-ink); font-variant-numeric: tabular-nums; }
.pz-near__t { min-width: 0; font-weight: 650; color: var(--or-ink); }
.pz-near__t i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--pc); margin-right: 6px; }
.pz-near__t small { display: block; font-weight: 500; font-size: .8rem; color: var(--or-muted); margin-top: 2px; }
.pz-near__n { margin: 8px 0 0; font-size: .8rem; color: var(--or-muted); }
.pz-pop { display: flex; flex-direction: column; gap: 3px; font: 13px/1.4 Inter, system-ui, sans-serif; color: #0f172a; }
.pz-pop strong { font-size: 14px; }
.pz-pop span { color: #475569; }
.pz-pop__c { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #0f172a !important; }
.pz-pop__c i { width: 9px; height: 9px; border-radius: 50%; background: var(--pc); }
.pz-pop__p { font-size: 12px; font-style: italic; }
.pz-pop__l { margin-top: 2px; }

.pz-year { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 10px; font-size: 1.2rem; font-weight: 800; color: var(--or-ink); }
.pz-year small { font-size: .85rem; font-weight: 600; color: var(--or-muted); }
.pz-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pz-item { position: relative; padding: 14px 16px 12px 20px; border: 1px solid var(--or-line); border-radius: 14px; background: var(--or-card); scroll-margin-top: 90px; }
.pz-item::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 4px; border-radius: 0 4px 4px 0; background: var(--pc); }
.pz-item:target { box-shadow: 0 0 0 3px var(--or-primary-100); }
.pz-item__h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin-bottom: 4px; }
.pz-cat { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--or-text); }
.pz-cat i { width: 9px; height: 9px; border-radius: 50%; background: var(--pc); }
.pz-prec { font-size: .74rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.pz-prec--ok { background: var(--or-up-bg); color: var(--or-up); }
.pz-prec--mid { background: var(--or-warn-bg); color: var(--or-warn); }
.pz-prec--low { background: #f1f5f9; color: #475569; }
.pz-prec--off { background: #f8fafc; color: #64748b; border: 1px dashed #cbd5e1; }
.pz-item__t { margin: 0 0 4px; font-weight: 700; color: var(--or-ink); line-height: 1.35; }
.pz-item__a { display: flex; gap: 6px; align-items: flex-start; margin: 0 0 4px; font-size: .88rem; color: var(--or-text); }
.pz-item__a svg { flex: none; width: 14px; height: 14px; margin-top: 3px; color: var(--or-muted); }
.pz-item__f { margin: 0; font-size: .86rem; }
.pz-item__f small { color: var(--or-muted); }
.pz-show { padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--or-primary-700); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.pz-item__how { margin: 6px 0 0; font-size: .78rem; color: var(--or-muted); line-height: 1.45; }
.pz-pending { margin: 0 0 10px; padding-left: 20px; display: grid; gap: 4px; }
.pz-top > * { min-width: 0; }
.pz-near__l button, .pz-near__l button * { text-decoration: none !important; }

/* PUZ-uri în dezbatere (neaprobate) */
.pz-lg--draft { width: 14px; height: 12px; border: 2px dashed #d97706; background: rgba(217, 119, 6, .25); border-radius: 3px; }
.pz-draft { margin: 12px 0 16px; padding: 16px 18px; border: 2px dashed #f59e0b; border-radius: 16px; background: #fffbeb; scroll-margin-top: 90px; }
.pz-draft:target { box-shadow: 0 0 0 3px #fde68a; }
.pz-draft__t { margin: 4px 0 6px; font-size: 1.08rem; font-weight: 800; color: var(--or-ink); line-height: 1.35; }
.pz-draft__f { margin: 8px 0; padding-left: 20px; display: grid; gap: 4px; font-size: .9rem; color: var(--or-text); }
.pz-draft__s { margin: 8px 0; font-size: .88rem; color: var(--or-text); }
