.address-feature .row { align-items: start; }
.address-feature__text, .address-feature__demo { min-width: 0; flex: 1 1 0; }
.address-feature__demo { align-self: stretch; align-items: flex-start; }
.address-feature__text > h2 { margin-bottom: 20px; }
.address-feature__text > p { margin-bottom: 30px; }
.address-demo {
    box-sizing: border-box; width: 100%; max-width: 540px; padding: clamp(14px, 2vw, 26px);
    border: 1px solid #d8e2ec; border-radius: 16px; background: #fff; color: #2c4364;
    text-align: left; box-shadow: 0 12px 36px #2c43640c;
}
.address-demo *, .address-demo *::after { box-sizing: border-box; }
.address-demo [hidden] { display: none !important; }
.address-demo__header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.address-demo .address-demo__header h3 { margin: 0; font-size: clamp(17px, 2vw, 22px); line-height: 1.2; text-transform: uppercase; }
.address-demo__control {
    display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0;
    border: 1px solid #c4d4df; border-radius: 50%; background: white; color: #2c4364; cursor: pointer;
}
.address-demo__control:hover { background: #edf6ff; }
.address-demo__control:focus-visible { outline: 2px solid #2670ab; outline-offset: 2px; }
.address-demo__control svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.address-demo__control[data-playing] [data-play], .address-demo__control:not([data-playing]) [data-pause] { display: none; }
.address-demo__sheet {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: clamp(12px, 2vw, 22px);
    border: 1px solid #e2e8ef; border-radius: 10px; background: #f7f9fb;
}
.address-demo__field { position: relative; min-width: 0; }
.address-demo__label { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 600; }
.address-demo__box {
    display: flex; align-items: center; justify-content: space-between; gap: 5px; min-height: 40px;
    padding: 7px 10px; border: 1px solid #cbd5e1; border-radius: 5px; background: #fff; font-size: 14px; line-height: 1.35;
}
.address-demo__value { overflow-wrap: anywhere; }
.address-demo__field[data-active] .address-demo__box { outline: 2px solid #2c4364; outline-offset: 1px; }
.address-demo__field[data-active] .address-demo__value::after { content: ''; display: inline-block; width: 1px; height: 1em; margin-left: 1px; background: currentColor; vertical-align: -.12em; }
.address-demo__check { width: 19px; height: 19px; flex: none; fill: none; stroke: #258047; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.address-demo[data-animated] .address-demo__field:not([data-valid]) .address-demo__check { visibility: hidden; }
.address-demo__suggestions, .address-demo__hint {
    position: absolute; z-index: 2; inset: calc(100% + 3px) 0 auto; padding: 5px; margin: 0;
    list-style: none; background: white; border: 1px solid #ccd9e5; border-radius: 6px; box-shadow: 0 8px 20px #21395421;
    font-size: 13px; line-height: 1.45;
}
.address-demo__suggestions li { position: relative; padding: 8px 10px; border-radius: 4px; }
.address-demo__hint { padding: 10px 12px; overflow-wrap: anywhere; }
.address-demo__hint strong { color: #2466a6; text-decoration: underline; text-underline-offset: 2px; }
.address-demo [data-target] { background-color: #e4f1fd; }
.address-demo [data-target]::after {
    content: ''; position: absolute; right: 12%; bottom: -6px; width: 19px; height: 23px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 25'%3E%3Cpath d='M2 2l15 11-7 1 4 8-4 2-4-9-4 4Z' fill='%232c4364' stroke='white' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.address-demo [data-clicked] { background-color: #bfdef8; }
.address-demo [data-clicked]::after { transform: scale(.82); }
