.sfh-address-book {margin-top:2rem}
.sfh-book-toolbar {display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:1.5rem 0 1rem;flex-wrap:wrap}
.sfh-book-toolbar h3 {margin:0}
.sfh-book-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:1rem}
.sfh-book-card {border:1px solid #d9dce1;padding:1.25rem;background:var(--nv-site-bg,#fff);overflow-wrap:anywhere;font-style:normal;margin:0}
.sfh-book-card .sfh-book-card-title {margin:0 0 .75rem;font-size:1.125rem;font-weight:700}
.sfh-book-card .sfh-book-card-name {margin:0 0 1rem;font-weight:600}
.sfh-book-card .sfh-book-contact-details {margin:0 0 1.25rem}
.sfh-book-contact-details > div {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.7fr);gap:.25rem .75rem;padding:.35rem 0;border-bottom:1px solid #e8e9eb}
.sfh-book-contact-details dt {font-weight:400;font-size:.875em;color:#60656d}
.sfh-book-contact-details dd {margin:0;min-width:0;overflow-wrap:anywhere}
.sfh-book-contact-details a {text-decoration:underline;text-underline-offset:2px}
@media(max-width:480px){.sfh-book-contact-details > div{grid-template-columns:1fr;gap:.15rem}}
.sfh-book-form {border:1px solid #d9dce1;padding:1.25rem;margin:1.5rem 0}
.sfh-book-copy-result:empty {display:none}
.sfh-book-live:empty {display:none}
.sfh-book-pending {font-size:.9em;color:#725811;background:#fff8de;padding:.5rem .75rem}
.sfh-book-modal {box-sizing:border-box;width:min(720px,calc(100vw - 2rem));max-width:none;max-height:calc(100dvh - 2rem);margin:auto;padding:0;border:1px solid #d9dce1;background:var(--nv-site-bg,#fff);color:var(--nv-text-color,#282b30);overflow:auto;box-shadow:0 12px 50px #0003}
.sfh-book-modal::backdrop {background:rgb(0 0 0 / .5)}
/* Explicit open state: account/theme modal defaults must never hide a modal top-layer element. */
html body dialog.sfh-book-modal[open] {display:block !important;visibility:visible !important;opacity:1 !important;position:fixed !important;inset:0 !important;transform:none !important;pointer-events:auto !important;z-index:2147483647;float:none;width:min(720px,calc(100vw - 2rem));height:fit-content;min-height:150px;max-height:calc(100dvh - 2rem);margin:auto !important;padding:0 !important;background:var(--nv-site-bg,#fff);overflow:auto !important}
html body dialog.sfh-book-modal:not([open]) {display:none !important}
.sfh-book-modal .sfh-book-form {display:block !important;visibility:visible !important;opacity:1 !important}
.sfh-book-modal input:not([type=checkbox]),.sfh-book-modal select,.sfh-book-modal textarea {width:100%;box-sizing:border-box;font:inherit}
.sfh-book-modal .button {background:#d4af37;color:#181818;border:1px solid #a48626;padding:.7rem 1rem;font:inherit;cursor:pointer}
.sfh-book-modal .sfh-book-form {border:0;margin:0;padding:1.75rem;max-width:none}
.sfh-book-role-modal h2 {padding-right:2rem;margin-top:0;font-size:1.35rem}
.sfh-book-role-cancel {margin:0;padding:0 1.75rem 1.5rem}
.sfh-book-role-modal .woocommerce-notices-wrapper {margin-bottom:1rem}
.sfh-book-role-modal .select2-container {max-width:100%}
.sfh-book-modal h3 {padding-right:2rem;margin:0 0 1.5rem}
.sfh-book-modal .sfh-book-modal-close {position:absolute;right:.5rem;top:.5rem;width:2.5rem;height:2.5rem;padding:0;border:0;background:transparent;color:inherit;font-size:1.8rem;line-height:1;cursor:pointer}
.sfh-book-modal .form-row {float:none;width:100%;box-sizing:border-box}
.sfh-book-modal .sfh-book-form-actions {display:flex;align-items:center;gap:1rem;flex-wrap:wrap;clear:both;margin:1.5rem 0 0}
.sfh-book-modal .sfh-book-form-actions > button,.sfh-book-modal .sfh-book-form-actions > input[type=submit],.sfh-book-modal .sfh-book-form-actions > a {width:auto;margin:0}
.sfh-book-modal-open {overflow:hidden}
/* WooCommerce address-i18n can regenerate the suffix after a country change. */
.woocommerce .form-row.sfh-book-no-optional label .optional {display:none}
.sfh-book-modal :focus-visible {outline:2px solid #a48626;outline-offset:3px}
@media(max-width:480px){.sfh-book-modal .sfh-book-form{padding:1.25rem}.sfh-book-modal{max-height:calc(100dvh - 1rem);width:calc(100vw - 1rem)}}
