.postal-ux, .postal-ux * { box-sizing: border-box; }
.postal-ux .postal-results { margin-block: 0 1.5rem; }
.postal-ux .postal-result-tools, .postal-ux .postal-pager { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; }
.postal-ux .postal-result-tools { justify-content: space-between; margin-bottom: 1rem; }
.postal-ux .postal-action { margin: 0; max-width: 100%; }
.postal-ux :is(.btn, summary, .postal-new-search) { min-height: 2.75rem; }
.postal-ux :is(.btn, a, summary) { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.postal-ux .postal-new-search { display: inline-flex; align-items: center; padding-block: .5rem; }
.postal-ux .postal-selection { border-inline-start: .3rem solid #ffc107; padding: .25rem 1rem; margin-bottom: 1rem; }
.postal-ux .postal-selected-place { margin: 0; }
.postal-ux .postal-selected-place strong { display: block; font-size: 1.2rem; line-height: 1.4; }
.postal-ux .postal-selected-place span, .postal-ux .postal-country-note { color: #343a40; }
.postal-ux .postal-country-note { margin-bottom: .75rem; }
.postal-ux .postal-shared-outcome { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; padding: 1rem; border: 1px solid #bd8e00; border-radius: .35rem; background: #fff3bf; color: #171717; margin-bottom: 1.25rem; }
.postal-ux .postal-shared-outcome > div { min-width: 0; }
.postal-ux .postal-code-label { display: block; font-size: .875rem; }
.postal-ux .postal-shared-outcome .postal-code { display: block; font-size: clamp(1.75rem, 6vw, 2.4rem); letter-spacing: .025em; }
.postal-ux .postal-list-title { margin-block: 1rem .5rem; font-weight: 700; }
.postal-ux .postal-registry-note { color: #454545; font-size: .875rem; margin-block: .5rem 1rem; }
.postal-ux .postal-rows { margin-block: .5rem 1rem; }
.postal-ux .postal-row { min-width: 0; background: #fff; }
.postal-ux .postal-facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: .35rem; margin: 0; }
.postal-ux .postal-facts > div, .postal-ux .postal-facts dd { min-width: 0; }
.postal-ux .postal-place-detail, .postal-ux .postal-scope-code { display: block; font-size: .875rem; color: #343a40; margin-top: .15rem; }
.postal-ux .postal-unit { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .5rem; font-size: .875rem; }
.postal-ux .postal-unit dt { font-weight: 400; color: #454545; }
.postal-ux .postal-unit dd { font-weight: 600; }
.postal-ux .postal-outcome { gap: .4rem .65rem; margin: 0; }
.postal-ux .postal-outcome .postal-code { font-size: 1.1rem; }
.postal-ux .postal-code--candidate { font-weight: 500; }
.postal-ux .postal-flag { color: #2b2100; background: #fff1b8; border-inline-start: .2rem solid #946c00; padding: .35rem .5rem; font-size: .875rem; }
.postal-ux .postal-flag--note { color: #454545; background: transparent; border: 0; padding: 0; }
.postal-ux .postal-rows--houses { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 7.5rem), 1fr)); gap: .5rem; align-items: start; }
.postal-ux .postal-rows--houses > li { padding: .75rem; border: 1px solid #c9c9c9; border-radius: .25rem; }
.postal-ux .postal-house dd { font-size: 1.25rem; line-height: 1.35; font-variant-numeric: tabular-nums; }
.postal-ux .postal-rows--houses .postal-outcome { margin-top: .5rem; }
.postal-ux .postal-rows--houses [data-copy] { padding: .375rem .5rem; min-height: 2.25rem; font-size: .8rem; }
.postal-ux .postal-rows--houses > .postal-row--warning { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7rem) minmax(0, 1fr); gap: .5rem 1rem; border-inline-start: .25rem solid #946c00; background: #fffbed; }
.postal-ux .postal-rows--houses > .postal-row--warning .postal-outcome { margin: 0; }
.postal-ux .postal-rows--addresses > li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto); align-items: start; gap: .65rem 1.25rem; padding-block: .85rem; }
.postal-ux .postal-rows--addresses .postal-outcome, .postal-ux .postal-row-actions { max-width: 20rem; }
.postal-ux .postal-rows--addresses .postal-outcome { justify-content: flex-end; }
.postal-ux .postal-rows--addresses > .postal-row--warning { border-inline-start: .25rem solid #946c00; padding-inline-start: .75rem; }
.postal-ux .postal-row-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .4rem .75rem; }
.postal-ux .postal-whole-street { font-size: .875rem; }
.postal-ux .postal-pager { margin-block: 1rem; }
.postal-ux [data-postal-status]:empty { margin: 0; }
.postal-ux .postal-alert { color: #332600; background: #fff3bf; border-inline-start: .3rem solid #946c00; padding: 1rem; }
.postal-ux .postal-edit { border-top: 1px solid #c9c9c9; padding-top: .75rem; }
.postal-ux .postal-edit > summary { padding-block: .5rem; font-weight: 700; cursor: pointer; }
.postal-ux .postal-intro { margin-block: .75rem; }
.postal-ux .postal-search :is(input, select) { min-width: 0; max-width: 100%; }
@media (max-width: 35.99rem) {
    .postal-ux .postal-rows--addresses > li, .postal-ux .postal-rows--houses > .postal-row--warning { grid-template-columns: minmax(0, 1fr); }
    .postal-ux .postal-rows--addresses .postal-outcome, .postal-ux .postal-row-actions { justify-content: flex-start; max-width: 100%; }
    .postal-ux .postal-shared-outcome { gap: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
    .postal-ux *, .postal-ux *::before, .postal-ux *::after { scroll-behavior: auto; transition: none; }
}
