/* Shared shell for InsureCompare production and design preview. */
.site-header .site-nav{height:90px;width:min(1380px,calc(100% - 64px));gap:24px}
.site-header .brand{font-size:28px;letter-spacing:-1.25px}
.site-header .desktop-nav{gap:21px;font-size:12px}
.site-header .desktop-nav .button{font-size:12px;white-space:nowrap;padding:11px 18px}
.desktop-nav a[aria-current=page]:not(.button){color:var(--green);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:7px}
.site-header .nav-dropdown summary::after{content:'+';font-size:16px;line-height:1;font-weight:500}
.site-header .nav-dropdown[open] summary::after{content:'−'}
.site-header .full-cover-menu{width:650px;right:-160px;top:38px;padding:20px;border-radius:22px;gap:14px;box-shadow:0 20px 60px #17382b1a}
.cover-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 10px 10px;border-bottom:1px solid var(--border)}
.cover-menu-heading>span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:var(--muted)}
.site-header .cover-menu-heading>a{width:auto;padding:5px 0;font-size:12px;color:var(--green)}
.cover-menu-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
.site-header .cover-menu-links>a{font-size:12px;line-height:1.4;padding:11px 10px}
.site-header .menu-toggle{flex-shrink:0}
.mobile-nav{max-height:calc(100dvh - 100px);overflow-y:auto;overscroll-behavior:contain}
.mobile-cover-menu summary{display:flex;justify-content:space-between;align-items:center;padding:12px 0;font-weight:700;cursor:pointer;list-style:none}
.mobile-cover-menu summary::-webkit-details-marker{display:none}
.mobile-cover-menu summary::after{content:'+';font-size:20px;line-height:1}
.mobile-cover-menu[open] summary::after{content:'−'}
.mobile-cover-links{display:grid;grid-template-columns:1fr 1fr;gap:3px 12px;background:var(--mint);padding:12px;border-radius:14px;margin-bottom:9px}
.mobile-nav .mobile-cover-links a{font-size:12px;font-weight:600;line-height:1.45;padding:10px 5px}
.site-footer .footer-main{grid-template-columns:1.5fr 1fr 1fr 1.1fr 1fr;gap:28px}
.site-footer .footer-brand .brand{font-size:23px}
.site-footer .footer-brand .brand img{width:45px;height:45px}
.footer-help-link{border:0;border-bottom:1px solid #a0baaa;padding:3px 0;margin-top:14px;background:none;font-size:12px;font-weight:800;color:var(--deep)}
.site-footer .footer-col :is(h2,h3){line-height:1.4}
.site-footer .footer-col a{line-height:1.6;margin:1px 0}
.site-footer .footer-bottom p{max-width:760px}
.site-footer .footer-preview-note{max-width:210px}
.quote-dialog{width:min(570px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:34px 0 0;border:0;border-radius:26px;background:#fff;color:var(--ink);box-shadow:0 18px 80px #103b2840;overflow-y:auto;overscroll-behavior:contain}
.quote-dialog::backdrop,.help-dialog::backdrop{background:#092a2477;backdrop-filter:blur(4px)}
.quote-dialog>.dialog-close{z-index:2;right:12px;top:5px;width:36px;height:36px;padding:3px}
.quote-dialog .enquiry-card{border-top:0;border-radius:0;padding:20px 30px 28px;box-shadow:none}
.quote-dialog .enquiry-choices{grid-template-columns:repeat(3,minmax(0,1fr))}
.quote-dialog .enquiry-choice{font-size:12px}
.quote-dialog .enquiry-choice-group{min-width:0}
.help-dialog .help-contact-details{display:grid;gap:12px;margin:0 0 24px;padding:17px 18px;background:var(--mint);border-radius:14px}
.help-contact-details div{display:grid;gap:2px}
.help-contact-details dt{font-size:10px;line-height:1.5;color:var(--muted);font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.help-contact-details dd{margin:0;font-size:14px;line-height:1.5;font-weight:700;overflow-wrap:anywhere}
.help-dismiss{display:block;border:0;border-radius:10px;padding:10px;margin:10px auto 0;background:none;color:var(--deep);font-size:12px;font-weight:750}
html:has(.quote-dialog[open]),html:has(.help-dialog[open]){overflow:hidden}
.floating-help.hide-help{visibility:hidden}
.floating-help img{bottom:calc(100% - 9px)}
.directory-filter-section{padding:16px 0 0}
.directory-filters{display:flex;align-items:flex-end;gap:16px;padding:24px;border:1px solid var(--border);border-radius:20px;background:#fff}
.directory-search-field{flex:1.6}.directory-type-field{flex:1;min-width:210px}
.directory-filters label{display:block;margin-bottom:7px;font-size:12px;font-weight:800;line-height:1.4}
.directory-filters input,.directory-filters select{width:100%;min-height:48px;border:1px solid var(--control-border);border-radius:12px;background:#fff;color:var(--ink);padding:11px 14px;font-size:14px}
.directory-filters .button{min-height:48px;white-space:nowrap}
.directory-results-count{font-size:12px;color:var(--muted);padding:12px 2px 0}
.directory-empty{padding:35px 0 16px;max-width:680px}.directory-empty h2{font-size:27px;margin-bottom:12px}.directory-empty p{font-size:14px;color:var(--muted);margin-bottom:22px}
.content-filter-status{margin:18px 0;padding:18px 20px;background:var(--mint);border-radius:14px;color:var(--deep);font-size:14px}
.table-sort-button{display:block;border:0;padding:0;background:none;color:inherit;font:inherit;font-weight:800;text-align:left;cursor:pointer;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:4px}
th[aria-sort=ascending] .table-sort-button::after{content:' (A–Z)';font-size:.8em;font-weight:500}th[data-sort=num][aria-sort=ascending] .table-sort-button::after{content:' (low–high)'}
th[aria-sort=descending] .table-sort-button::after{content:' (Z–A)';font-size:.8em;font-weight:500}th[data-sort=num][aria-sort=descending] .table-sort-button::after{content:' (high–low)'}
@media(min-width:901px) and (max-width:1080px){.site-header .desktop-nav{display:none}.site-header .menu-toggle{display:block}}
@media(max-width:1200px){.site-header .site-nav{width:calc(100% - 48px);gap:18px}.site-header .brand{font-size:24px}.site-header .brand img{width:52px;height:52px}.site-header .desktop-nav{gap:16px}.site-header .full-cover-menu{right:-220px}.site-footer .footer-main{grid-template-columns:1.5fr 1fr 1fr;gap:28px}.site-footer .footer-col:last-child{grid-column:auto}}
@media(max-width:1080px){.site-header .site-nav{height:78px}.site-header .menu-toggle{display:block}.site-footer .footer-main{grid-template-columns:1.5fr 1fr 1fr}}
@media(max-width:680px){.site-header .site-nav{width:calc(100% - 32px);height:74px;gap:12px}.site-header .brand{font-size:25px;letter-spacing:-1.1px}.site-header .brand img{width:50px;height:50px}.site-footer .footer-main{grid-template-columns:1fr 1fr;gap:26px 22px}.site-footer .footer-brand{grid-column:1/-1}.site-footer .footer-brand .brand{font-size:25px}.site-footer .footer-brand p{max-width:340px}.site-footer .footer-preview-note{max-width:none}.quote-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 24px);border-radius:22px;padding-top:34px}.quote-dialog .enquiry-card{padding:16px 20px 22px}.quote-dialog .enquiry-choices{grid-template-columns:1fr}.quote-dialog .enquiry-choice{font-size:13px}.help-dialog{max-height:calc(100dvh - 24px);overflow-y:auto}.mobile-nav{padding:8px 20px 20px}.mobile-nav>a{font-size:14px}.mobile-cover-menu summary{font-size:14px}.floating-help img{display:block;width:58px;right:19px;bottom:calc(100% - 8px)}.floating-help button{font-size:11px;min-height:44px;padding:11px 16px}}
@media(max-width:360px){.site-header .brand{font-size:22px}.site-header .brand img{width:45px;height:45px}.site-header .site-nav{gap:8px}.mobile-cover-links{grid-template-columns:1fr}}
@media(max-width:680px){.directory-filters{display:grid;grid-template-columns:1fr;padding:20px;gap:14px}.directory-filters input,.directory-filters select{font-size:16px}.directory-filters .button{width:100%;margin-top:3px}.directory-search-field,.directory-type-field{min-width:0}.directory-empty h2{font-size:24px}}

/* Compact help affordance; its footer/form visibility is managed in site.js. */
.floating-help{right:18px;bottom:18px}
.floating-help img{width:54px;right:20px;bottom:calc(100% - 19px)}
.floating-help button{min-height:46px;padding:11px 17px}
@media(max-width:680px){
 .floating-help{right:12px;bottom:max(12px,env(safe-area-inset-bottom))}
 .floating-help img{width:44px;right:auto;left:2px;bottom:calc(100% - 27px)}
 .floating-help button{font-size:12px;min-height:44px;padding:10px 14px 10px 39px}
 .floating-help button svg{width:18px;height:18px}
}

/* Analytics choices have equal prominence and do not move page content. */
.analytics-preferences{position:fixed;inset:auto 18px max(18px,env(safe-area-inset-bottom));z-index:70;color:var(--ink);max-width:1100px;margin-inline:auto;border:1px solid var(--control-border);border-radius:18px;background:#fff;box-shadow:0 8px 36px #12382928}
.analytics-preferences-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:28px;align-items:center;padding:22px 24px}
.analytics-preferences h2{font-size:20px;line-height:1.3;letter-spacing:-.02em;margin:0 0 7px;grid-column:1}
.analytics-preferences p{font-size:13px;line-height:1.65;color:var(--muted);grid-column:1;max-width:700px;margin:0}
.analytics-preferences p a{text-decoration:underline;text-underline-offset:3px;color:var(--deep)}
.analytics-preferences-actions{display:flex;gap:10px;align-items:center;grid-column:2;grid-row:1}
.analytics-preferences-actions .button{min-height:46px;background:white;color:var(--deep);border:1px solid var(--control-border);font-size:13px;padding:12px 17px;white-space:nowrap}
.analytics-preferences-actions .button:hover{background:var(--mint)}
.analytics-preferences-visible .floating-help{opacity:0;visibility:hidden;pointer-events:none}
@media(max-width:900px){.analytics-preferences-inner{grid-template-columns:1fr;gap:12px}.analytics-preferences-actions{grid-column:1;grid-row:auto}.analytics-preferences h2{margin:0}}
@media(max-width:680px){.analytics-preferences{inset-inline:10px;bottom:max(10px,env(safe-area-inset-bottom));border-radius:16px}.analytics-preferences-inner{padding:17px;gap:10px}.analytics-preferences h2{font-size:18px}.analytics-preferences p{font-size:12px;line-height:1.55}.analytics-preferences-actions{gap:9px;flex-wrap:wrap}.analytics-preferences-actions .button{flex:1;white-space:normal;font-size:12px;padding:10px 12px}.analytics-preferences-actions .button[data-analytics-close]{flex-basis:100%}}

.analytics-preferences-inner>div:first-child{min-width:0}
