.nst-card { max-width: 52rem; margin-block: 1.25rem; color: inherit; }
.nst-card dl { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,16rem),1fr)); gap: .85rem 2rem; }
.nst-card dt { font-size: .9em; color: inherit; }
.nst-card dd { margin: .2rem 0 0; font-weight: 600; overflow-wrap: anywhere; }
.nst-card details { margin-top: .8rem; border-top: 1px solid #ccc; padding-top: .75rem; }
.nst-card summary { cursor: pointer; font-weight: 600; }
.nst-card form label, .nst-card small { display: block; margin-block: .7rem; }
.nst-card form input:not([type=checkbox]), .nst-card select { display: block; width: 100%; max-width: 30rem; box-sizing: border-box; }

.nst-woo-security .woocommerce-form-row:has(#account_first_name),
.nst-woo-security .woocommerce-form-row:has(#account_last_name),
.nst-woo-security .woocommerce-form-row:has(#account_display_name),
.nst-woo-security .woocommerce-form-row:has(#account_email) { display: none; }

.nst-card-group { padding: 1.15rem clamp(.8rem,3vw,1.6rem); margin-block: 1rem; border: 1px solid #d0d7da; border-radius: .6rem; }
.nst-card-group h3 { margin-block: 0 1rem; }
.nst-card-group dl { margin: 0 0 1rem; }
.nst-card-group dt { font-weight: 400; }
.nst-card-group form input:not([type=checkbox]), .nst-card-group select { padding: .55rem; min-height: 2.6rem; }
.nst-card-heading { display: flex; align-items: center; gap: .75rem; }
.nst-card-heading h2 { margin: 0; }
.nst-card-edit { display: inline-grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; font-size: 1.5rem; }
.nst-card-group:has(.nst-section-editor) { position: relative; }
.nst-card-group:has(.nst-section-editor) h3 { padding-inline-end: 3rem; min-height: 2.75rem; }
.nst-card .nst-section-editor { margin: 0; padding: 0; border: 0; }
.nst-section-editor > summary { position: absolute; inset-block-start: .8rem; inset-inline-end: clamp(.8rem,3vw,1.6rem); list-style: none; }
.nst-section-editor > summary::-webkit-details-marker { display: none; }
.nst-section-editor > summary:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.woocommerce input#billing_state::placeholder { color: #73777a; opacity: 1; }
.nst-card .nst-cancel { margin-inline-start: .4rem; }
.nst-card [hidden] { display: none !important; }
.nst-options { max-width: 30rem; max-height: 15rem; overflow: auto; border: 1px solid #a9b0b5; background: white; color: #202124; }
.nst-options > * { display: block; padding: .45rem .65rem; }
.nst-options [role=option] { cursor: pointer; }
.nst-options [role=option]:hover, .nst-options [aria-selected=true] { background: #e7edf4; }
.nst-card input[data-nst-search]::placeholder { color: #73777a; opacity: 1; }
.nst-card label:has(> [name=manual_city]:not(:checked)) + [data-nst-own] { display: none; }
.nst-card .nst-section-editor .nst-manual-choice {
    display: flex; align-items: center; gap: .45rem; min-height: 1.75rem;
    font-size: .875rem; font-weight: 400; color: #586168;
}
.nst-manual-choice input { margin: 0; accent-color: #59666f; }
.nst-card .nst-section-editor input[data-nst-search=city]:disabled {
    background: #edf0f2; color: #626a70; border-color: #c9ced2; opacity: 1; cursor: not-allowed;
}

.nst-workplace { position: relative; border-top: 1px solid #d0d7da; padding-block: .9rem .2rem; }
.nst-workplace h4 { margin: 0 2.8rem .75rem 0; }
.nst-workplace summary, .nst-workplace-add > summary { list-style: none; }
.nst-workplace summary::-webkit-details-marker, .nst-workplace-add > summary::-webkit-details-marker { display: none; }
.nst-card .nst-workplace-edit { margin: 0; padding: 0; border: 0; }
.nst-workplace-edit > summary { position: absolute; top: .4rem; right: 0; padding: .45rem; font-size: 1.5rem; }
.nst-workplace-add > summary { width: fit-content; padding-block: .45rem; }
.nst-workplace-add > summary span { margin-inline-end: .2rem; }
.nst-address-note { margin-block: -.35rem .9rem; }

.woocommerce-checkout .nst-locale-field:not(.validate-required) { display: none; }
