/* =========================================================
   SCREW ZONE CUSTOMER PROFILE PORTAL
   ========================================================= */

.sz-profile-page {
    min-height: 72vh;
    padding: 34px 0 76px;
    background:
        linear-gradient(
            180deg,
            rgba(var(--sz-primary-rgb, 255, 107, 0), 0.035),
            #f7f8fa 300px
        );
}

.sz-profile-layout {
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    align-items: start;
    gap: 26px;
}

.sz-profile-sidebar {
    position: sticky;
    top: 104px;
    overflow: hidden;
    border: 1px solid var(--sz-border, #e7e9ed);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 32px rgba(18, 24, 40, 0.07);
}

.sz-profile-identity {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 19px;
    border-bottom: 1px solid var(--sz-border, #e7e9ed);
}

.sz-profile-identity > span {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: var(--sz-primary, #ff6b00);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 900;
}

.sz-profile-identity div {
    min-width: 0;
}

.sz-profile-identity strong,
.sz-profile-identity small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sz-profile-identity strong {
    color: var(--sz-heading, #17191d);
    font-size: 0.69rem;
    font-weight: 850;
}

.sz-profile-identity small {
    margin-top: 3px;
    color: var(--sz-muted, #68707d);
    font-size: 0.55rem;
}

.sz-profile-sidebar nav {
    display: grid;
    gap: 4px;
    padding: 12px;
}

.sz-profile-sidebar nav a {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 11px;
    border-radius: 10px;
    color: var(--sz-muted, #68707d);
    font-size: 0.64rem;
    font-weight: 780;
    text-decoration: none;
}

.sz-profile-sidebar nav a i {
    width: 20px;
    font-size: 0.85rem;
    text-align: center;
}

.sz-profile-sidebar nav a:hover,
.sz-profile-sidebar nav a:focus-visible,
.sz-profile-sidebar nav a.is-active {
    background: var(--sz-primary-light, #fff2e8);
    color: var(--sz-primary, #ff6b00);
}

.sz-profile-logout {
    padding: 12px;
    border-top: 1px solid var(--sz-border, #e7e9ed);
}

.sz-profile-logout button {
    width: 100%;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #efc5ca;
    border-radius: 10px;
    background: #fff4f5;
    color: #b8323f;
    font-size: 0.62rem;
    font-weight: 820;
}

.sz-profile-content {
    min-width: 0;
}

.sz-profile-alert {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 15px;
    padding: 11px 13px;
    border-radius: 11px;
    font-size: 0.62rem;
    font-weight: 730;
}

.sz-profile-alert--success {
    border: 1px solid #bde3ca;
    background: #edf9f1;
    color: #197843;
}

.sz-profile-alert--error {
    border: 1px solid #f0c5ca;
    background: #fff2f3;
    color: #b8323f;
}

.sz-profile-header {
    margin-bottom: 25px;
}

.sz-profile-header > span,
.sz-profile-header > div > span {
    display: block;
    margin-bottom: 7px;
    color: var(--sz-primary, #ff6b00);
    font-size: 0.6rem;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.sz-profile-header h1 {
    margin: 0;
    color: var(--sz-heading, #17191d);
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    font-weight: 920;
    line-height: 1.1;
    letter-spacing: -0.045em;
}

.sz-profile-header p {
    max-width: 720px;
    margin: 12px 0 0;
    color: var(--sz-muted, #68707d);
    font-size: 0.76rem;
    line-height: 1.72;
}

.sz-profile-header--actions {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.sz-profile-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
    margin-bottom: 18px;
}

.sz-profile-stats article {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 17px;
    border: 1px solid var(--sz-border, #e7e9ed);
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 7px 24px rgba(18, 24, 40, 0.05);
}

.sz-profile-stats article > span {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: var(--sz-primary-light, #fff2e8);
    color: var(--sz-primary, #ff6b00);
}

.sz-profile-stats small,
.sz-profile-stats strong,
.sz-profile-stats p {
    display: block;
}

.sz-profile-stats small {
    color: var(--sz-muted, #68707d);
    font-size: 0.55rem;
    font-weight: 720;
}

.sz-profile-stats strong {
    margin-top: 5px;
    color: var(--sz-heading, #17191d);
    font-size: 1.08rem;
    font-weight: 920;
}

.sz-profile-stats p {
    margin: 4px 0 0;
    color: var(--sz-muted, #68707d);
    font-size: 0.52rem;
    line-height: 1.4;
}

.sz-profile-panel {
    padding: 21px;
    border: 1px solid var(--sz-border, #e7e9ed);
    border-radius: 17px;
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(18, 24, 40, 0.055);
}

.sz-profile-dashboard-grid,
.sz-profile-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 18px;
    margin-bottom: 18px;
}

.sz-profile-settings-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
}

.sz-profile-panel__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 17px;
}

.sz-profile-panel__heading span {
    display: block;
    margin-bottom: 4px;
    color: var(--sz-primary, #ff6b00);
    font-size: 0.53rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.sz-profile-panel__heading h2 {
    margin: 0;
    color: var(--sz-heading, #17191d);
    font-size: 0.92rem;
    font-weight: 880;
}

.sz-profile-panel__heading > a {
    color: var(--sz-primary, #ff6b00);
    font-size: 0.58rem;
    font-weight: 820;
    text-decoration: none;
}

.sz-profile-list {
    display: grid;
}

.sz-profile-list > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--sz-border, #e7e9ed);
    color: inherit;
    text-decoration: none;
}

.sz-profile-list > a:last-child {
    border-bottom: 0;
}

.sz-profile-list div:last-child {
    text-align: right;
}

.sz-profile-list strong,
.sz-profile-list small {
    display: block;
}

.sz-profile-list strong {
    color: var(--sz-heading, #17191d);
    font-size: 0.63rem;
    font-weight: 830;
}

.sz-profile-list small {
    margin-top: 3px;
    color: var(--sz-muted, #68707d);
    font-size: 0.53rem;
}

.sz-profile-account-card {
    margin-top: 18px;
}

.sz-profile-account-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.sz-profile-account-grid div {
    padding: 13px;
    border-radius: 11px;
    background: #f7f8fa;
}

.sz-profile-account-grid small,
.sz-profile-account-grid strong {
    display: block;
}

.sz-profile-account-grid small {
    color: var(--sz-muted, #68707d);
    font-size: 0.54rem;
}

.sz-profile-account-grid strong {
    margin-top: 5px;
    color: var(--sz-heading, #17191d);
    font-size: 0.65rem;
    font-weight: 830;
}

.sz-profile-form {
    display: grid;
    gap: 15px;
}

.sz-profile-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.sz-profile-form label {
    display: block;
}

.sz-profile-form label > span {
    display: block;
    margin-bottom: 6px;
    color: var(--sz-heading, #17191d);
    font-size: 0.61rem;
    font-weight: 790;
}

.sz-profile-form input,
.sz-profile-form textarea {
    width: 100%;
    min-height: 43px;
    padding: 0 11px;
    border: 1px solid var(--sz-border, #e7e9ed);
    border-radius: 10px;
    outline: 0;
    background: #ffffff;
    color: var(--sz-heading, #17191d);
    font-size: 0.68rem;
}

.sz-profile-form input:focus,
.sz-profile-form textarea:focus {
    border-color: var(--sz-primary, #ff6b00);
    box-shadow:
        0 0 0 3px
        rgba(var(--sz-primary-rgb, 255, 107, 0), 0.11);
}

.sz-profile-form input.is-invalid {
    border-color: #c63c49;
}

.sz-profile-form label > small {
    display: block;
    margin-top: 6px;
    color: #b8323f;
    font-size: 0.54rem;
    font-weight: 700;
}

.sz-profile-hint {
    color: var(--sz-muted, #68707d) !important;
}

.sz-profile-form-full {
    grid-column: 1 / -1;
}

.sz-profile-checkboxes {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    color: var(--sz-muted, #68707d);
    font-size: 0.59rem;
    font-weight: 720;
}

.sz-profile-primary,
.sz-profile-secondary,
.sz-profile-danger {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 0.62rem;
    font-weight: 830;
    text-decoration: none;
}

.sz-profile-primary {
    border: 1px solid var(--sz-primary, #ff6b00);
    background: var(--sz-primary, #ff6b00);
    color: #ffffff;
}

.sz-profile-secondary {
    border: 1px solid var(--sz-border, #e7e9ed);
    background: #ffffff;
    color: var(--sz-heading, #17191d);
}

.sz-profile-danger {
    border: 1px solid #d84a57;
    background: #fff2f3;
    color: #b8323f;
}

.sz-address-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.sz-address-card {
    padding: 16px;
    border: 1px solid var(--sz-border, #e7e9ed);
    border-radius: 14px;
    background: #fafbfc;
}

.sz-address-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.sz-address-card__top strong,
.sz-address-card__top span {
    display: block;
}

.sz-address-card__top strong {
    color: var(--sz-heading, #17191d);
    font-size: 0.69rem;
    font-weight: 850;
}

.sz-address-card__top > div > span {
    margin-top: 3px;
    color: var(--sz-muted, #68707d);
    font-size: 0.55rem;
}

.sz-address-badges {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 4px;
}

.sz-address-badges span {
    padding: 4px 6px;
    border-radius: 6px;
    background: var(--sz-primary-light, #fff2e8);
    color: var(--sz-primary, #ff6b00);
    font-size: 0.48rem;
    font-weight: 780;
}

.sz-address-card p {
    margin: 13px 0 0;
    color: var(--sz-muted, #68707d);
    font-size: 0.59rem;
    line-height: 1.62;
}

.sz-address-card > small {
    display: block;
    margin-top: 8px;
    color: var(--sz-heading, #17191d);
    font-size: 0.55rem;
    font-weight: 740;
}

.sz-address-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.sz-address-actions button {
    min-height: 30px;
    padding: 0 8px;
    border: 1px solid var(--sz-border, #e7e9ed);
    border-radius: 7px;
    background: #ffffff;
    color: var(--sz-heading, #17191d);
    font-size: 0.5rem;
    font-weight: 770;
}

.sz-address-actions button.is-danger {
    color: #b8323f;
}

.sz-history-table__head,
.sz-history-table article {
    display: grid;
    grid-template-columns:
        minmax(130px, 1.2fr)
        minmax(90px, 0.8fr)
        70px
        105px
        minmax(100px, 0.8fr)
        50px;
    align-items: center;
    gap: 13px;
}

.sz-history-table__head {
    padding: 0 10px 10px;
    color: var(--sz-muted, #68707d);
    font-size: 0.51rem;
    font-weight: 800;
    text-transform: uppercase;
}

.sz-history-table article {
    min-height: 58px;
    padding: 10px;
    border-top: 1px solid var(--sz-border, #e7e9ed);
}

.sz-history-table article strong,
.sz-history-table article span,
.sz-history-table article a {
    font-size: 0.6rem;
}

.sz-history-table article strong {
    color: var(--sz-heading, #17191d);
    font-weight: 830;
}

.sz-history-table article span {
    color: var(--sz-muted, #68707d);
}

.sz-history-table article a {
    color: var(--sz-primary, #ff6b00);
    font-weight: 820;
    text-decoration: none;
}

.sz-status-badge {
    justify-self: start;
    padding: 5px 7px;
    border-radius: 7px;
    background: #f1f3f5;
    color: var(--sz-heading, #17191d) !important;
    font-weight: 760;
}

.sz-detail-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
    margin-bottom: 18px;
}

.sz-detail-summary-grid article {
    padding: 15px;
    border: 1px solid var(--sz-border, #e7e9ed);
    border-radius: 13px;
    background: #ffffff;
}

.sz-detail-summary-grid small,
.sz-detail-summary-grid strong {
    display: block;
}

.sz-detail-summary-grid small {
    color: var(--sz-muted, #68707d);
    font-size: 0.54rem;
}

.sz-detail-summary-grid strong {
    margin-top: 5px;
    color: var(--sz-heading, #17191d);
    font-size: 0.68rem;
    font-weight: 850;
}

.sz-line-items {
    display: grid;
}

.sz-line-items article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid var(--sz-border, #e7e9ed);
}

.sz-line-items article:last-child {
    border-bottom: 0;
}

.sz-line-items strong,
.sz-line-items small {
    display: block;
}

.sz-line-items strong {
    color: var(--sz-heading, #17191d);
    font-size: 0.64rem;
    font-weight: 830;
}

.sz-line-items small {
    margin-top: 4px;
    color: var(--sz-muted, #68707d);
    font-size: 0.53rem;
}

.sz-detail-address {
    margin: 0;
    color: var(--sz-muted, #68707d);
    font-size: 0.64rem;
    line-height: 1.72;
}

.sz-detail-totals {
    margin: 0;
}

.sz-detail-totals > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
}

.sz-detail-totals dt,
.sz-detail-totals dd {
    margin: 0;
    font-size: 0.6rem;
}

.sz-detail-totals dt {
    color: var(--sz-muted, #68707d);
}

.sz-detail-totals dd {
    color: var(--sz-heading, #17191d);
    font-weight: 820;
}

.sz-attachment-list {
    display: grid;
    gap: 10px;
}

.sz-attachment-list > div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    background: #f7f8fa;
}

.sz-attachment-list i {
    color: var(--sz-primary, #ff6b00);
}

.sz-attachment-list strong,
.sz-attachment-list small {
    display: block;
}

.sz-attachment-list strong {
    color: var(--sz-heading, #17191d);
    font-size: 0.58rem;
}

.sz-attachment-list small {
    margin-top: 3px;
    color: var(--sz-muted, #68707d);
    font-size: 0.5rem;
}

.sz-quotation-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.sz-profile-empty {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 34px 15px;
    text-align: center;
}

.sz-profile-empty i {
    margin-bottom: 10px;
    color: var(--sz-primary, #ff6b00);
    font-size: 1.35rem;
}

.sz-profile-empty p {
    margin: 0;
    color: var(--sz-muted, #68707d);
    font-size: 0.64rem;
}

.sz-profile-empty a {
    margin-top: 9px;
    color: var(--sz-primary, #ff6b00);
    font-size: 0.58rem;
    font-weight: 820;
    text-decoration: none;
}

@media (max-width: 1199.98px) {
    .sz-profile-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .sz-profile-layout {
        grid-template-columns: 1fr;
    }

    .sz-profile-sidebar {
        position: static;
    }

    .sz-profile-sidebar nav {
        grid-template-columns: repeat(5, minmax(130px, 1fr));
        overflow-x: auto;
    }

    .sz-profile-logout {
        display: none;
    }

    .sz-profile-settings-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .sz-profile-page {
        padding-top: 24px;
    }

    .sz-profile-dashboard-grid,
    .sz-profile-account-grid,
    .sz-address-grid,
    .sz-detail-summary-grid,
    .sz-profile-form-grid {
        grid-template-columns: 1fr;
    }

    .sz-profile-form-full {
        grid-column: auto;
    }

    .sz-profile-header--actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .sz-history-table__head {
        display: none;
    }

    .sz-history-table article {
        grid-template-columns: 1fr auto;
    }

    .sz-history-table article > *:nth-child(2),
    .sz-history-table article > *:nth-child(3),
    .sz-history-table article > *:nth-child(5) {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .sz-profile-stats {
        grid-template-columns: 1fr;
    }

    .sz-profile-panel {
        padding: 17px;
    }
}

/* =========================================================
   ADDRESS BOOK STABILIZATION
   ========================================================= */
.sz-address-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.sz-address-hero__count {
    min-width: 112px;
    display: grid;
    grid-template-columns: 36px 1fr;
    align-items: center;
    gap: 3px 10px;
    padding: 14px 16px;
    border: 1px solid var(--sz-border, #e7e9ed);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(18, 24, 40, 0.06);
}

.sz-address-hero__count i {
    grid-row: 1 / 3;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: var(--sz-primary-light, #fff2e8);
    color: var(--sz-primary, #ff6b00);
}

.sz-address-hero__count strong {
    color: var(--sz-heading, #17191d);
    font-size: 1rem;
    line-height: 1;
}

.sz-address-hero__count span {
    color: var(--sz-muted, #68707d);
    font-size: 0.55rem;
    font-weight: 750;
}

.sz-address-create-panel {
    margin-bottom: 18px;
}

.sz-address-primary-action,
.sz-address-edit-form .sz-profile-primary {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sz-address-card {
    position: relative;
    overflow: hidden;
    padding: 18px;
    border: 1px solid var(--sz-border, #e7e9ed);
    border-radius: 15px;
    background: linear-gradient(180deg, #fff, #fbfbfc);
    box-shadow: 0 7px 24px rgba(18, 24, 40, 0.05);
}

.sz-address-card.is-editing {
    border-color: rgba(var(--sz-primary-rgb, 255, 107, 0), 0.45);
    box-shadow: 0 12px 32px rgba(var(--sz-primary-rgb, 255, 107, 0), 0.11);
}

.sz-address-card__top,
.sz-address-card__identity,
.sz-address-badges,
.sz-address-action-row {
    display: flex;
    align-items: flex-start;
}

.sz-address-card__top {
    justify-content: space-between;
    gap: 15px;
}

.sz-address-card__identity {
    gap: 10px;
    min-width: 0;
}

.sz-address-card__icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: var(--sz-primary-light, #fff2e8);
    color: var(--sz-primary, #ff6b00);
}

.sz-address-card__identity strong,
.sz-address-card__identity span {
    display: block;
}

.sz-address-card__identity strong {
    color: var(--sz-heading, #17191d);
    font-size: 0.72rem;
    font-weight: 880;
}

.sz-address-card__identity span {
    margin-top: 3px;
    color: var(--sz-muted, #68707d);
    font-size: 0.59rem;
}

.sz-address-badges {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.sz-address-badges span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 8px;
    border-radius: 999px;
    background: #edf9f1;
    color: #197843;
    font-size: 0.51rem;
    font-weight: 790;
}

.sz-address-card__body {
    margin: 15px 0 0;
    color: var(--sz-muted, #68707d);
    font-size: 0.63rem;
    font-style: normal;
    line-height: 1.7;
}

.sz-address-card__phone {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    color: var(--sz-heading, #17191d);
    font-size: 0.59rem;
    font-weight: 760;
}

.sz-address-actions {
    display: grid;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--sz-border, #e7e9ed);
}

.sz-address-editor > summary,
.sz-address-action-row button {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 11px;
    border: 1px solid var(--sz-border, #e7e9ed);
    border-radius: 9px;
    background: #fff;
    color: var(--sz-heading, #17191d);
    font-size: 0.56rem;
    font-weight: 800;
    cursor: pointer;
}

.sz-address-editor > summary {
    width: fit-content;
    list-style: none;
}

.sz-address-editor > summary::-webkit-details-marker {
    display: none;
}

.sz-address-editor[open] > summary {
    border-color: var(--sz-primary, #ff6b00);
    background: var(--sz-primary-light, #fff2e8);
    color: var(--sz-primary, #ff6b00);
}

.sz-address-edit-form {
    margin-top: 14px;
    padding: 16px;
    border-radius: 13px;
    background: #f7f8fa;
}

.sz-address-action-row {
    flex-wrap: wrap;
    gap: 8px;
}

.sz-address-action-row form {
    margin: 0;
}

.sz-address-action-row button:hover,
.sz-address-action-row button:focus-visible,
.sz-address-editor > summary:hover,
.sz-address-editor > summary:focus-visible {
    border-color: var(--sz-primary, #ff6b00);
    color: var(--sz-primary, #ff6b00);
}

.sz-address-action-row button.is-danger {
    border-color: #efc5ca;
    background: #fff4f5;
    color: #b8323f;
}

.sz-address-empty span {
    display: block;
    margin-top: 5px;
    color: var(--sz-muted, #68707d);
    font-size: 0.56rem;
}

@media (max-width: 767.98px) {
    .sz-address-hero {
        align-items: flex-start;
    }

    .sz-address-hero__count {
        min-width: 96px;
    }

    .sz-address-card__top {
        display: grid;
    }

    .sz-address-badges {
        justify-content: flex-start;
    }

    .sz-address-primary-action,
    .sz-address-edit-form .sz-profile-primary,
    .sz-address-editor > summary,
    .sz-address-action-row form,
    .sz-address-action-row button {
        width: 100%;
    }
}

@media (max-width: 479.98px) {
    .sz-address-hero {
        display: grid;
    }

    .sz-address-hero__count {
        width: 100%;
    }
}
