/* Podpowiedzi adresu — style z prefiksem .addr- (dziedziczą font strony) */
.addr-w { margin: 0 0 12px; position: relative; }
.addr-label { display: block; font-weight: 600; margin: 0 0 6px; }
.addr-box { position: relative; }
.addr-q { width: 100%; box-sizing: border-box; padding: 12px 14px; font: inherit; font-size: 16px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: inherit; }
.addr-q:focus { outline: 2px solid #2563eb; outline-offset: 1px; border-color: #2563eb; }
.addr-list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 1000; margin: 0; padding: 4px; list-style: none; background: #fff; border: 1px solid #cbd5e1; border-radius: 10px; box-shadow: 0 10px 28px rgba(15,23,42,.15); max-height: 300px; overflow-y: auto; }
.addr-list[hidden] { display: none; }
.addr-opt { padding: 10px 12px; border-radius: 7px; cursor: pointer; font-size: 15px; line-height: 1.35; color: #0f172a; }
.addr-opt:hover, .addr-opt.is-active { background: #eff6ff; }
.addr-opt.is-verified::before { content: "✓ "; color: #16a34a; font-weight: 700; }
.addr-status { font-size: 13px; min-height: 0; margin-top: 4px; }
.addr-status:empty { display: none; }
.addr-status--ok { color: #15803d; }
.addr-status--warn { color: #b45309; }
.addr-status--muted { color: #64748b; }
.addr-manual { background: none; border: 0; padding: 4px 0; margin-top: 2px; color: #2563eb; text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; }
.addr-manual[hidden] { display: none; }
.addr-confirm { margin: 12px 0; }
.addr-confirm[hidden] { display: none; }
.addr-confirm-label { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; font-size: 15px; line-height: 1.4; }
.addr-confirm-label input { width: 20px; height: 20px; margin: 1px 0 0; flex-shrink: 0; }
.addr-confirm-msg { color: #b91c1c; font-size: 13px; margin-top: 6px; font-weight: 600; }
.addr-confirm-msg[hidden] { display: none; }

/* kod pocztowy z najbliższego numeru — do sprawdzenia */
.addr-postal-warn{margin-top:4px;font-size:12px;line-height:1.35;color:#b45309}
.addr-postal-warn[hidden]{display:none}

/* „Nr mieszkania” obok wyszukiwarki adresu */
.addr-row { display: flex; gap: 10px; align-items: flex-end; }
.addr-main { flex: 3 1 0; min-width: 0; }
.addr-flatcol { flex: 1 1 0; min-width: 72px; max-width: 180px; }
.addr-flat-label { display: block; font-weight: 600; margin: 0 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 319px) { .addr-row { flex-direction: column; align-items: stretch; } .addr-flatcol { max-width: none; } }
.addr-flat { width: 100%; box-sizing: border-box; padding: 12px 14px; font: inherit; font-size: 16px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: inherit; }
.addr-flat:focus { outline: 2px solid #2563eb; outline-offset: 1px; border-color: #2563eb; }
