.address-lead {
    margin: 0 0 18px;
    color: var(--site-muted);
    line-height: 1.6;
}
.address-controls {
    display: grid;
    grid-template-columns: minmax(0, 26rem) auto;
    justify-content: start;
    gap: 12px 16px;
    align-items: end;
}
.address-controls > * {
    min-width: 0;
}
.address-controls select {
    width: 100%;
    min-height: 46px;
    appearance: none;
    padding-inline-end: 34px;
    background-image: var(--site-select-arrow);
    background-position: right 11px center;
    background-repeat: no-repeat;
    background-size: 14px 14px;
}
.address-result {
    margin-top: 24px;
    padding: 16px;
    border: 1px solid var(--site-border);
    border-radius: 10px;
    background: var(--site-surface-muted);
}
.address-result-heading {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.address-result-heading h2 {
    font-size: 16px;
    font-weight: 700;
}
.address-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.address-copy-feedback {
    margin: 0;
    color: var(--site-muted);
}
.address-copy-feedback:not(:empty) {
    margin-bottom: 12px;
}
.address-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.address-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 10px;
    padding: 9px 10px;
    border: 1px solid var(--site-border);
    border-radius: 8px;
    background: var(--site-surface);
}
.address-field dt {
    grid-column: 1;
    color: var(--site-muted);
    font-size: 13px;
}
.address-field-value {
    grid-column: 1;
    text-align: start;
    overflow-wrap: anywhere;
    font-weight: 600;
}
.address-sales-tax:not([hidden]) {
    display: block;
    margin-top: 2px;
    color: var(--site-muted);
    font-size: 12px;
    font-weight: 400;
}
.address-region-links {
    margin: 0 0 24px;
}
.address-region-links a[aria-current="page"] {
    border-color: var(--site-accent);
    color: var(--site-accent);
}
.address-region-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
    gap: 16px;
}
.address-region-groups h3 {
    margin-bottom: 6px;
    color: var(--site-text);
    font-size: 14px;
    font-weight: 650;
}
.address-region-groups ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.address-region-groups li {
    min-width: 0;
    max-width: 100%;
}
.address-field dd:last-child {
    grid-column: 2;
    grid-row: 1 / span 2;
}
.address-field-copy {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--site-muted);
    cursor: pointer;
}
.address-field-copy:is(:hover, :focus-visible, [data-copied]) {
    background: var(--site-surface-muted);
    color: var(--site-accent);
}
.address-field-copy:focus-visible {
    outline: 2px solid var(--site-accent);
    outline-offset: 2px;
}
.address-field-copy svg {
    width: 20px;
    height: 20px;
}
.address-copy-check,
.address-field-copy[data-copied] .address-copy-glyph {
    display: none;
}
.address-field-copy[data-copied] .address-copy-check {
    display: block;
}
.address-field-copy-error {
    display: block;
    margin-top: 4px;
    color: var(--site-muted);
    font-size: 13px;
    font-weight: 400;
}
.address-guide {
    margin-top: 24px;
}
.address-guide h2 {
    margin-bottom: 8px;
}
.address-example {
    width: fit-content;
    max-width: 100%;
    margin-top: 12px;
    padding: 12px 16px;
    border: 1px solid var(--site-border);
    border-radius: 8px;
    background: var(--site-surface-muted);
    color: var(--site-text);
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
.address-uses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.address-uses article {
    padding: 14px;
    border: 1px solid var(--site-border);
    border-radius: 8px;
}
.address-uses h3 {
    margin-bottom: 4px;
    font-weight: 650;
}
@media (max-width: 650px) {
    .address-controls {
        grid-template-columns: minmax(0, 1fr) auto;
        justify-content: stretch;
    }
    .address-fields, .address-uses {
        grid-template-columns: 1fr;
    }
    .address-result {
        padding: 12px;
    }
}
@media (max-width: 440px) {
    .address-controls {
        grid-template-columns: 1fr;
    }
}
