/* Free preview: start with the map; offer full access when a limit is reached. */
.header-actions{display:flex;align-items:center;gap:22px}
.preview-label,.offer-eyebrow{font-size:var(--text-small);font-weight:600;letter-spacing:1.4px;color:#7d8677}
.unlock-button{color:var(--green);font-size:var(--text-small);padding:9px 0;background:none}
.unlock-button span{margin-left:8px}.unlock-button:hover{text-decoration:underline;text-underline-offset:4px}
.search-panel h1{font-size:27px;line-height:1.15;max-width:290px;margin-bottom:10px}
.search-panel .intro{font-size:var(--text-small);line-height:1.8;margin:0 0 17px;max-width:280px;color:#738075}
.filter-row{display:grid;grid-template-columns:1fr;gap:6px;margin:0 0 12px}
.filter-label{font-size:var(--text-small);color:#65766a;margin:3px 0 0}
.filter-row select{height:36px;font-size:var(--text-small)}
.search-box input{font-size:var(--text-small)}
.preview-intro{padding:12px 0 0;margin:0}
.free-allowance{font-size:var(--text-small);line-height:1.7;color:#7b867b;margin:0 0 3px}
.filter-options{min-height:22px}.filter-options .text-button{min-height:22px;font-size:var(--text-small);padding:0}
.list-actions{gap:13px}.list-actions .text-button{font-size:var(--text-small)}
.list-tabs{gap:16px}.list-toolbar{gap:10px}
.locked-profile{margin:23px 0 14px;border:1px solid #dde5d8;background:#f5f7f1;border-radius:7px}
.locked-message{padding:19px 18px}
.detail-panel .locked-message h3{font:21px/1.25 Georgia,serif;letter-spacing:-.3px;margin:11px 0 9px}
.locked-message p{font-size:var(--text-small);line-height:1.8;color:var(--muted);margin:0 0 15px}
.unlock-profile{background:var(--green);color:var(--paper);border-radius:5px;font-size:var(--text-small);padding:11px 15px;line-height:1.5}
.unlock-profile:hover,.membership-cta:hover{background:#285b46}
.upgrade-dialog{padding:0;border:1px solid #e0e5d9;border-radius:12px;width:calc(100% - 40px);max-width:530px;max-height:90dvh;overflow:auto;box-shadow:0 25px 120px #0c2b2940}
.upgrade-dialog::backdrop{background:#183a3260;backdrop-filter:blur(4px)}
.upgrade-dialog>.close-button{z-index:2;top:15px;right:15px;background:transparent;width:30px;height:30px}
.upgrade-content{padding:35px 36px 25px}
.upgrade-content>.offer-eyebrow{color:#8a805b}
.upgrade-dialog h2{font:34px/1.15 Georgia,serif;letter-spacing:-.7px;margin:20px 20px 15px 0}
.upgrade-dialog .upgrade-description{font-size:var(--text-small);line-height:1.8;color:#69796c;margin:0 0 20px}
.offer-features{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}
.offer-features li{font-size:var(--text-small);line-height:1.7;position:relative;padding-left:17px;color:#445d4a}
.offer-features li::before{content:'✓';position:absolute;left:0;top:0;color:#80966c;font-size:var(--text-small)}
.upgrade-dialog .offer-proof{font-size:var(--text-small);line-height:1.7;color:#879080;margin:20px 0}
.offer-price{display:flex;gap:14px;align-items:center;border-top:1px solid var(--line);padding-top:18px}
.offer-price strong{font:39px/1.1 Georgia,serif;letter-spacing:-1px}
.offer-price>span{font-size:var(--text-small);color:#65765f;line-height:1.6}
.upgrade-dialog .offer-billing{font-size:var(--text-small);line-height:1.7;color:#8a9081;margin:8px 0 19px}
.membership-cta{display:block;text-align:center;background:var(--green);border:1px solid var(--green);border-radius:5px;color:var(--paper);width:100%;min-height:47px;padding:13px 18px;font-size:var(--text-small);font-weight:500}
.keep-exploring{display:block;margin:13px auto 0;padding:7px 0;font-size:var(--text-small);color:#75816f}
.keep-exploring:hover{text-decoration:underline;text-underline-offset:4px}
.upgrade-dialog .checkout-status{font-size:var(--text-small);line-height:1.7;border-left:2px solid #a6b894;padding-left:10px;margin:15px 0 0}
@media(max-width:1000px){.preview-label{display:none}.header-actions{gap:20px}.search-panel h1{font-size:25px}.list-toolbar{padding-left:20px;padding-right:20px}.list-tabs{gap:12px}.list-actions{gap:10px}.list-actions .text-button{font-size:var(--text-small)}}
@media(max-width:700px){
 .header-actions{gap:0}.header-actions #about-open,.preview-label{display:none}.site-header{padding:0 16px;gap:8px}.brand{font-size:16px;gap:5px}.brand-symbol{width:22px}.unlock-button{font-size:var(--text-small);padding:9px 0;white-space:nowrap}.unlock-button span{margin-left:5px}
 .search-panel{padding-top:20px}.search-panel h1{font-size:25px;max-width:280px}.search-panel .intro{font-size:var(--text-small);margin-bottom:12px;max-width:310px}.filter-row{gap:5px;margin-bottom:10px}.filter-label{font-size:var(--text-small)}.filter-row select{font-size:var(--text-small);height:38px}.search-box input{font-size:16px}.preview-intro{padding-top:10px}.free-allowance{font-size:var(--text-small)}
 .list-actions .text-button{font-size:var(--text-small)}.list-actions{gap:15px}.locked-message p{font-size:var(--text-small)}
 .upgrade-dialog{width:calc(100% - 28px);max-height:92dvh}.upgrade-content{padding:30px 25px 20px}.upgrade-dialog h2{font-size:31px;margin:23px 15px 14px 0}.upgrade-dialog .upgrade-description{font-size:var(--text-small);margin-bottom:18px}.offer-features li{font-size:var(--text-small)}.upgrade-dialog .offer-proof{margin:18px 0}.offer-price strong{font-size:37px}.offer-price>span{font-size:var(--text-small)}.membership-cta{min-height:46px}.keep-exploring{min-height:38px}.upgrade-dialog>.close-button{top:12px;right:12px}
}
@media(prefers-reduced-motion:no-preference){.upgrade-dialog[open]{animation:offer-in .15s ease-out}@keyframes offer-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}}


/* Keep the original atlas layout and visible filters. */
.search-panel .filter-row{grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.header-actions{display:flex;align-items:center;gap:18px}
.unlock-button{border:1px solid var(--line);border-radius:5px;padding:9px 12px}
.trial-unlocked-label{font-size:var(--text-small);color:#386147;margin-right:8px}
.profile-top{display:flex;justify-content:flex-end;min-height:20px}
.profile-top .close-button{position:absolute}
.locked-action{border:1px solid var(--line);background:transparent;border-radius:4px;padding:9px 12px}
.unlock-balance,.unlock-cost-note,.unlocked-note{font-size:var(--text-small);color:var(--muted);line-height:1.5;margin-top:10px}
.trial-error{font-size:var(--text-small);color:#963b2a;line-height:1.5}
.trial-secondary{background:transparent;color:var(--muted);width:100%;padding:12px}
#unlock-dialog{width:calc(100% - 32px);max-width:420px;padding:30px}
#unlock-dialog p{font-size:var(--text-small);line-height:1.6}
#unlock-confirm{background:var(--green);color:var(--paper);width:100%;padding:12px;border-radius:5px;margin-top:14px}
.secure-payment{font-size:var(--text-small);color:var(--muted);text-align:center;margin:9px 0 0}
.list-toolbar{height:auto;min-height:50px;flex-wrap:wrap;row-gap:4px;padding-top:6px;padding-bottom:6px}
.list-tabs{gap:14px;flex-shrink:0}
.list-actions{margin-left:auto}
@media(max-width:700px){.header-actions{gap:10px}.unlock-button{font-size:var(--text-small)}.brand{font-size:14px}.search-panel .filter-row{grid-template-columns:1fr 1fr}}

/* Shortlist interactions */
#saved-count,#unlocked-count{display:inline-block;transform-origin:center}
.bookmark[aria-pressed=true]{background:#edf3e8;border-radius:6px;color:#947027}
.shortlist-tray{position:fixed;inset:auto 0 0;z-index:1000;height:var(--shortlist-height,140px);padding:0 22px 10px;background:#f8faf3;border-top:1px solid #d7e0d2;box-shadow:0 -5px 22px #233e2710}
.tray-heading{display:flex;align-items:center;gap:18px;height:43px}
.tray-heading h2{font-size:var(--text-small);font-weight:600;margin:0;white-space:nowrap}
.tray-heading h2 span{font-size:var(--text-small);color:var(--muted);margin-left:5px}
.tray-heading p{font-size:var(--text-small);color:var(--muted);margin:0}
#tray-toggle{font-size:var(--text-small);color:var(--muted);margin-left:auto;min-height:35px;white-space:nowrap}
.shortlist-cards{display:flex;gap:10px;list-style:none;padding:1px 2px 6px;margin:0;height:91px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#b7c9ae transparent}
.shortlist-card{position:relative;flex:0 0 220px;min-width:0;height:82px;padding:7px 11px 8px;background:#fffefa;border:1px solid #d5dfce;border-radius:8px;box-shadow:0 2px 3px #23432d08}
.tray-card-top{display:flex;align-items:center;height:20px;gap:6px}
.tray-position{font-size:var(--text-small);font-variant-numeric:tabular-nums;color:#8b957f}
.tray-grip{font-size:20px;line-height:1;color:#809177;cursor:grab;touch-action:none;padding:0 8px;min-width:30px;height:24px}
.tray-grip:active{cursor:grabbing}
.tray-remove{margin-left:auto;font-size:18px;color:#87937f;line-height:1;width:25px;min-height:24px}
.tray-remove:hover{color:var(--ink);background:var(--soft);border-radius:4px}
.tray-open{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;font-size:var(--text-small);font-weight:600;padding:2px 0;line-height:1.4}
.tray-open:hover{text-decoration:underline;text-underline-offset:3px}
.tray-location{display:block;font-size:var(--text-small);color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:3px}
.shortlist-card.is-dragging{opacity:.45;border-style:dashed}
.shortlist-card.drop-before::before,.shortlist-card.drop-after::after{content:'';position:absolute;top:0;bottom:0;width:3px;background:#537d57;border-radius:3px}
.shortlist-card.drop-before::before{left:-7px}
.shortlist-card.drop-after::after{right:-7px}
.shortlist-tray.is-collapsed{padding-bottom:0}
.shortlist-tray.is-collapsed .tray-heading p{display:none}
body.has-shortlist-tray .atlas{height:calc(100dvh - 76px - var(--shortlist-height));min-height:300px}
.save-toast{position:fixed;z-index:1500;left:50%;bottom:calc(var(--shortlist-height,0px) + 18px);transform:translateX(-50%);display:flex;align-items:center;gap:14px;padding:11px 13px 11px 16px;max-width:calc(100% - 30px);border-radius:9px;background:#234c3e;color:#fffefa;box-shadow:0 6px 24px #16352b25;font-size:var(--text-small)}
body:not(.has-shortlist-tray) .save-toast{bottom:18px}
#save-toast-message{max-width:340px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#undo-save{color:#e3efc7;text-decoration:underline;text-underline-offset:3px;padding:5px 0}
#dismiss-save-toast{color:#e2eadf;font-size:20px;line-height:1;padding:4px}
@media(max-width:700px){
 body.has-shortlist-tray .atlas{height:calc(100dvh - 64px - var(--shortlist-height));min-height:240px}
 .shortlist-tray{padding-left:14px;padding-right:14px}
 .shortlist-card{flex-basis:200px}
 .tray-heading{gap:9px}
 .tray-heading p{font-size:var(--text-small);max-width:155px}
 .save-toast{gap:10px;font-size:var(--text-small)}
 #save-toast-message{max-width:220px}
}
@media(prefers-reduced-motion:no-preference){
 .tray-open,.tray-grip{transition:color .15s}
 .shortlist-card{transition:border-color .15s,box-shadow .15s}
 .shortlist-card:hover{border-color:#a6b99c;box-shadow:0 3px 8px #23432d12}
}

/* Larger controls and clearer guidance */
.list-toolbar{padding-top:10px;padding-bottom:10px;gap:8px}
.list-tabs{width:100%;height:auto;justify-content:space-between;gap:12px}
.list-tabs button{font-size:16px;min-height:44px;line-height:1.4}
.list-tabs span{font-size:14px;margin-left:5px}
.list-actions{width:100%;justify-content:flex-end;gap:16px}
.list-actions .text-button{font-size:14px;min-height:35px}
.result-summary{font-size:14px;line-height:1.5;min-height:42px;padding-top:10px;padding-bottom:10px}
.employer-name{font-size:16px;line-height:1.4}
.employer-meta{font-size:var(--text-small);line-height:1.6}
.directory-footer .text-button{font-size:var(--text-small)}
.header-actions{margin-left:auto}
.header-actions #about-open{font-size:15px;padding:10px 5px}
.header-actions .unlock-button{background:var(--green);color:#fffefa;border:1px solid var(--green);font-size:16px;font-weight:650;min-height:46px;padding:11px 19px;border-radius:8px;box-shadow:0 3px 8px #17493b25}
.header-actions .unlock-button:hover{background:#25614d;text-decoration:none;box-shadow:0 5px 12px #17493b30}
#about-dialog{width:calc(100% - 32px);max-width:580px;padding:32px;max-height:90dvh;overflow:auto}
#about-dialog h2{font:32px/1.15 Georgia,serif;letter-spacing:-.5px;margin:8px 35px 24px 0}
.map-help-steps{padding:0;margin:0;list-style:none;counter-reset:map-help;display:grid;gap:20px}
.map-help-steps li{counter-increment:map-help;position:relative;padding-left:43px}
.map-help-steps li::before{content:counter(map-help);position:absolute;left:0;top:-1px;width:29px;height:29px;display:grid;place-items:center;border-radius:50%;background:#e8f0e4;color:var(--green);font-size:15px;font-weight:700}
.map-help-steps strong{font-size:16px;line-height:1.4}
#about-dialog .map-help-steps p{font-size:15px;line-height:1.55;color:#56695d;margin:5px 0 0}
.tray-heading{height:48px}
.tray-heading h2{font-size:15px}
.tray-heading h2 span,.tray-heading p,#tray-toggle{font-size:var(--text-small)}
.shortlist-cards{height:107px}
.shortlist-card{flex-basis:250px;height:99px;padding:9px 12px}
.tray-card-top{height:24px}
.tray-position{font-size:var(--text-small)}
.tray-open{font-size:15px;line-height:1.45}
.tray-location{font-size:var(--text-small);margin-top:4px}
.tray-grip{font-size:24px;min-width:34px;height:29px}
.tray-remove{font-size:23px;min-height:28px}
.shortlist-card.is-dragging{opacity:.25;border-style:dashed;background:#eaf0e5}
.dragged-shortlist-card{position:fixed;z-index:2500;pointer-events:none;list-style:none;margin:0;opacity:1;border-color:#769675;box-shadow:0 15px 35px #193d333d;transform-origin:center;will-change:transform}
.dragged-shortlist-card .tray-grip{cursor:grabbing}
@media(max-width:700px){
 .header-actions .unlock-button{font-size:15px;padding:10px 13px;min-height:43px;white-space:nowrap}
 .site-header .brand{font-size:14px;white-space:normal;line-height:1.15;gap:8px}
 .site-header .brand>span:last-child{max-width:155px}
 .site-header .brand-symbol{flex-shrink:0}
 .list-tabs button{font-size:16px}
 .list-actions .text-button{font-size:14px}
 .tray-heading{gap:10px}
 .tray-heading p{max-width:155px;font-size:var(--text-small);line-height:1.25}
 .shortlist-card{flex-basis:230px}
 #about-dialog{padding:25px}
 #about-dialog h2{font-size:29px}
}

/* Shared type scale across the map, profiles and payment flow. */
:root{--text-small:14px;--text-body:16px;--text-emphasis:18px}
body{font-size:var(--text-body)}
.search-panel .intro,.search-box input,.search-panel .filter-row select{font-size:var(--text-body);line-height:1.5}
.search-box{height:48px}
.search-box input{height:44px}
.search-panel .filter-row select{height:44px}
.preview-label,.offer-eyebrow,.eyebrow{font-size:var(--text-small);letter-spacing:.05em}
.employer-name,.list-tabs button{font-size:var(--text-body)}
.employer-meta,.list-tabs span,.result-summary,.directory-footer .text-button{font-size:var(--text-small);line-height:1.55}
.list-actions .text-button,.bulk-save,.select-shown,.load-more{font-size:var(--text-small);min-height:40px}
.empty-state,.empty-state strong{font-size:var(--text-body);line-height:1.6}
.detail-panel .profile-location,.detail-panel .detail-body,.detail-panel .detail-address,.detail-panel .contact-line{font-size:var(--text-body);line-height:1.65}
.detail-panel .location-hint,.detail-panel .eyebrow,.detail-panel .focus-tags span,.detail-panel .focus-more{font-size:var(--text-small);line-height:1.5}
.detail-panel h3{font-size:var(--text-body);line-height:1.4}
.detail-panel .action-link,.detail-panel .save-detail,.detail-panel .company-links .action-link,.profile-contact,.read-more{font-size:var(--text-small);line-height:1.5;min-height:40px}
.unlock-balance,.unlock-cost-note,.unlocked-note,.trial-unlocked-label,.trial-error{font-size:var(--text-small);line-height:1.55}
.locked-message p,.unlock-profile,.trial-secondary,#unlock-dialog p,#unlock-confirm{font-size:var(--text-body);line-height:1.55}
.detail-panel .locked-message h3{font-size:24px}
dialog p,.upgrade-dialog .upgrade-description,.offer-features li{font-size:var(--text-body);line-height:1.6}
.upgrade-dialog .offer-proof,.offer-price>span,.upgrade-dialog .offer-billing,.upgrade-dialog .checkout-status,.secure-payment{font-size:var(--text-small);line-height:1.55}
.membership-cta,.keep-exploring{font-size:var(--text-body);min-height:44px}
#about-dialog .map-help-steps p{font-size:var(--text-body)}
.map-help-steps strong{font-size:var(--text-emphasis)}
.leaflet-tooltip,.cluster-icon,.map-footnote,.area-filter,#map-error{font-size:var(--text-small);line-height:1.5}
.cluster-icon{line-height:1}
.leaflet-control-attribution{font-size:var(--text-small)!important;line-height:1.45!important}
.map-footnote{bottom:60px;padding:7px 10px}
.area-filter{max-width:calc(100% - 28px);white-space:normal;text-align:center}
.save-toast{font-size:var(--text-small);line-height:1.5}
.tray-heading h2{font-size:var(--text-body)}
.tray-heading h2 span,.tray-heading p,#tray-toggle{font-size:var(--text-small);line-height:1.4}
.shortlist-cards{height:140px}
.shortlist-card{height:128px;flex-basis:280px;padding:8px 12px}
.tray-card-top{display:grid;grid-template-columns:auto 1fr;align-content:start;align-items:center;column-gap:8px;row-gap:1px;width:100%;height:65px;padding:0 28px 4px 0;text-align:left;cursor:grab;touch-action:none;user-select:none;border-radius:4px}
.tray-card-top:active{cursor:grabbing}
.tray-card-top:hover .tray-name{color:#2b755a}
.tray-position{font-size:var(--text-small)}
.tray-grip{display:inline-block;padding:0;min-width:0;height:24px;font-size:24px;line-height:1;color:#809177;cursor:inherit}
.tray-name{grid-column:1/-1;min-width:0;font-size:var(--text-body);font-weight:600;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tray-remove{position:absolute;top:6px;right:7px;width:32px;height:32px;padding:0}
.tray-location{font-size:var(--text-small);line-height:1.5;margin-top:0}
.tray-open{font-size:var(--text-small);font-weight:500;min-height:27px;padding:2px 0;line-height:1.5;color:var(--green)}
.shortlist-tray.is-collapsed .tray-heading{height:50px}
@media(max-width:700px){
 .site-header .brand{font-size:var(--text-body)}
 .header-actions .unlock-button{font-size:var(--text-body)}
 .tray-heading p{display:none}
 .tray-heading h2{font-size:var(--text-body)}
 .shortlist-card{flex-basis:255px}
 .list-actions .text-button,.directory-footer .text-button,.detail-panel .action-link,.detail-panel .save-detail{font-size:var(--text-small)}
 .map-footnote{bottom:146px}
 .leaflet-control-attribution{max-width:100%;max-height:62px;overflow:auto}
}
.map-footnote{top:67px;bottom:auto;max-width:calc(100% - 115px)}
@media(min-width:701px) and (max-width:1000px){.atlas{grid-template-columns:360px minmax(0,1fr)}}
@media(max-width:700px){.map-footnote{top:66px;bottom:auto;max-width:calc(100% - 100px)}}
@media(max-width:700px){.site-header .brand>span:last-child{max-width:125px}}

/* Keep the directory focused on its results. */
.search-panel{padding:16px 20px 10px;flex-shrink:0}
.search-panel h1{font-size:25px;line-height:1.2;margin:0 0 12px;max-width:none}
.search-controls{display:flex;align-items:center;gap:8px}
.search-controls .search-box{flex:1;min-width:0;height:44px}
.search-controls .search-box input{font-size:var(--text-body);height:42px}
.filters-button{flex-shrink:0;border:1px solid #bdcdbf;background:#f0f5eb;color:var(--green);border-radius:7px;min-height:44px;padding:9px 12px;font-size:var(--text-small);font-weight:600}
.filters-button:hover{background:#e5efdf}
.active-filters{font-size:var(--text-small);line-height:1.4;color:#536a59;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin:9px 0 0}
.list-toolbar{padding:0 20px;min-height:48px;gap:0}
.list-tabs{height:48px;gap:12px}
.list-tabs button{min-height:44px}
.results-bar{display:flex;align-items:center;gap:8px;padding:0 14px 0 20px;min-height:42px;flex-shrink:0}
.results-bar .result-summary{padding:9px 0;min-height:0;flex:1}
.actions-menu{position:relative;flex-shrink:0}
.actions-menu summary{display:grid;place-items:center;list-style:none;cursor:pointer;width:36px;height:36px;font-size:18px;letter-spacing:1px;color:#4a6555;border-radius:6px}
.actions-menu summary::-webkit-details-marker{display:none}
.actions-menu summary:hover,.actions-menu[open] summary{background:var(--soft)}
.actions-menu .list-actions{position:absolute;right:0;top:100%;z-index:750;display:flex;flex-direction:column;align-items:stretch;gap:0;background:var(--paper);border:1px solid #cedacc;box-shadow:0 6px 22px #1d3e2826;border-radius:8px;padding:5px;width:205px}
.actions-menu .list-actions .text-button{text-align:left;padding:10px 12px;font-size:var(--text-small);min-height:42px}
.actions-menu .list-actions .text-button:hover{background:var(--soft);border-radius:4px}
.directory-footer{flex-shrink:0}
#filters-dialog{max-width:430px;padding:28px}
#filters-dialog h2{font-size:28px;margin:4px 32px 22px 0}
#filters-dialog .filter-row{display:grid;grid-template-columns:1fr;gap:8px;margin:0}
#filters-dialog label{font-size:var(--text-body);font-weight:600;margin-top:5px}
#filters-dialog select{font-size:var(--text-body);height:46px;padding:0 12px;border:1px solid #bdcdbf}
#filters-dialog .filter-options{min-height:0;margin:14px 0}
#filters-dialog .reset{font-size:var(--text-small);min-height:36px}
.filters-apply{background:var(--green);color:white;min-height:46px;padding:10px 16px;border-radius:6px;width:100%;font-size:var(--text-body);margin-top:12px}
@media(max-width:700px){
 .search-panel{padding:14px 18px 10px}
 .search-panel h1{font-size:25px}
 .list-toolbar{padding:0 18px}
 .results-bar{padding-left:18px}
}

/* Map movement offers an explicit search without replacing the current list. */
.area-search-controls{position:absolute;z-index:430;left:50%;bottom:65px;transform:translateX(-50%);display:flex;align-items:center;gap:8px;max-width:calc(100% - 24px)}
.area-search-controls .area-filter{position:static;transform:none;max-width:none;min-height:44px;white-space:nowrap;background:var(--green);color:white;border-color:var(--green);font-size:var(--text-small)}
.area-search-controls .secondary-area{background:var(--paper);color:var(--green);border-color:#bdcdbf}
@media(max-width:700px){.area-search-controls{bottom:100px}.area-search-controls .area-filter{padding:10px 14px}}

/* Phone layouts keep browsing primary and actions within thumb reach. */
.profile-back-label,#mobile-help{display:none}
@media(max-width:700px){
 .site-header{padding:0 12px;gap:8px}
 .site-header .brand{min-width:0;flex:1;gap:6px;letter-spacing:-.5px}
 .site-header .brand>span:last-child{white-space:normal;max-width:125px;line-height:1.2}
 .site-header .brand b{display:block;white-space:nowrap}
 .header-actions{flex-shrink:0}
 .header-actions .unlock-button{padding:10px;min-height:44px}
 .list-tabs{width:100%;gap:8px;justify-content:space-between}
 .list-tabs button{padding:0 3px;min-height:46px}
 .actions-menu summary{width:44px;height:44px}
 .directory-footer{padding:4px 14px;gap:12px;min-height:56px}
 .directory-footer .text-button{min-height:44px}
 #mobile-help{display:block}
 .directory-footer #mobile-map{padding:9px 14px;border-radius:24px;background:var(--green);color:white;font-weight:600}
 .map-tools button{width:46px;height:46px}
 .mobile-list{bottom:72px;min-height:46px;font-size:var(--text-body);padding:10px 18px}
 .area-search-controls{bottom:130px;gap:6px}
 .area-search-controls .area-filter{padding:10px 12px}
 .detail-panel{inset:0;width:100%;border:0;border-radius:0;padding:0 20px 24px}
 .profile-top{position:sticky;top:0;margin:0 -20px 18px;padding:6px 14px;background:var(--paper);border-bottom:1px solid var(--line);z-index:2;justify-content:flex-start}
 .profile-top .close-button{position:static;border:0;border-radius:6px;display:flex;align-items:center;justify-content:flex-start;min-height:44px;width:auto;max-width:100%;padding:8px 6px;font-size:var(--text-body);font-weight:600;color:var(--green);line-height:1.4}
 .profile-back-label{display:inline}
 .profile-close-icon{display:none}
 .detail-panel .action-link,.detail-panel .save-detail,.detail-panel .company-links .action-link,.read-more,.profile-contact summary{min-height:44px}
 .detail-panel .profile-content{padding-bottom:env(safe-area-inset-bottom,0px)}
 body.profile-open .shortlist-tray{display:none!important}
 body.profile-open.has-shortlist-tray .atlas{height:calc(100dvh - 64px)}
 .tray-remove{width:44px;height:44px;top:0;right:0}
 .tray-card-top{padding-right:34px}
 .tray-open{min-height:44px;padding:8px 0}
 .shortlist-card{height:148px}
 .shortlist-cards{height:160px}
 body.has-shortlist-tray:not(.profile-open) .shortlist-tray:not(.is-collapsed){height:218px}
 body.has-shortlist-tray:not(.profile-open):has(.shortlist-tray:not(.is-collapsed)) .atlas{height:calc(100dvh - 64px - 218px)}
 #tray-toggle{min-height:44px;padding:8px 0}
 dialog{max-width:calc(100% - 24px);max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain}
 dialog>.close-button{width:44px;height:44px;top:10px;right:10px}
 #filters-dialog{width:calc(100% - 24px);padding:24px 20px}
 #filters-dialog h2{font-size:26px;margin-right:40px}
 #filters-dialog .filter-options{margin:8px 0}
 #filters-dialog .reset{min-height:44px}
}
@media(max-width:700px){.atlas,body.has-shortlist-tray .atlas{min-height:0}}

/* Upgrade invitations follow research and shortlist actions. */
.journey-card{margin:20px 16px;padding:18px;background:#f2f5ed;border:1px solid #d8e2d1;border-radius:10px;color:var(--ink)}
.journey-card>strong{display:block;font:23px/1.2 Georgia,serif;letter-spacing:-.3px}
.journey-card p{font-size:var(--text-small);line-height:1.6;margin:10px 0;color:#53675b}
.journey-card .journey-progress{font-size:var(--text-small);color:var(--muted);border-top:1px solid #dbe3d5;padding-top:10px}
.journey-upgrade{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:var(--text-small);font-weight:650;color:var(--green);padding:8px 0;text-align:left;line-height:1.5}
.journey-upgrade:hover{text-decoration:underline;text-underline-offset:4px}
.journey-terms{display:block;font-size:var(--text-small);color:var(--muted);line-height:1.5}
.profile-content>.journey-card{margin:24px 0 0}
.profile-upgrade-path{border-top:1px solid #dbe3d5;margin-top:18px;padding-top:15px}
.profile-upgrade-path p{font-size:var(--text-small);line-height:1.6;margin-bottom:2px}
.upgrade-dialog{max-width:610px;max-height:90dvh}
.upgrade-dialog[open]{display:flex;flex-direction:column}
.upgrade-content{padding:0;display:flex;flex-direction:column;overflow:hidden;min-height:0}
.offer-story{padding:30px 32px 24px;overflow:auto;overscroll-behavior:contain;min-height:0}
.upgrade-dialog h2{font-size:34px;margin:15px 26px 13px 0;max-width:450px}
.upgrade-dialog .upgrade-description{font-size:var(--text-body);line-height:1.55;margin-bottom:22px}
.offer-features{gap:15px}
.offer-features li{padding-left:25px;font-size:var(--text-body);line-height:1.5}
.offer-features li::before{font-size:16px;color:var(--green);font-weight:700}
.offer-features strong{display:block;font-weight:650;color:var(--ink)}
.offer-features li>span{display:block;font-size:var(--text-small);color:#5c7064;margin-top:3px;line-height:1.55}
.upgrade-dialog .offer-proof{margin:20px 0;font-size:var(--text-small);line-height:1.55}
.free-plan-note{border:1px solid #dce4d6;border-radius:8px;padding:14px;background:#f4f7ef}
.free-plan-note strong{font-size:var(--text-small);font-weight:650}
.free-plan-note p{margin:6px 0 0;font-size:var(--text-small);line-height:1.55;color:#5c7064}
.offer-purchase{flex-shrink:0;padding:16px 32px 14px;background:var(--paper);border-top:1px solid var(--line);box-shadow:0 -4px 15px #203c3408}
.offer-price{border:0;padding:0;align-items:center}
.offer-price strong{font-size:34px}
.upgrade-dialog .offer-billing{margin:5px 0 12px;font-size:var(--text-small)}
.membership-cta{min-height:48px;font-size:var(--text-body);font-weight:650}
.keep-exploring{min-height:44px;margin:3px auto 0;padding:8px;font-size:var(--text-small)}
.secure-payment{font-size:var(--text-small);margin-top:8px}
.upgrade-dialog>.close-button{width:44px;height:44px;right:10px;top:10px;background:var(--paper)}
@media(max-width:700px){
 .upgrade-dialog{max-height:calc(100dvh - 24px);width:calc(100% - 24px)}
 .offer-story{padding:24px 20px 20px}
 .upgrade-dialog h2{font-size:29px;margin-right:20px}
 .offer-eyebrow{display:block;padding-right:35px;line-height:1.5}
 .offer-purchase{padding:12px 20px 8px}
 .offer-price strong{font-size:30px}
 .journey-card{margin:16px 12px;padding:16px}
 .profile-content>.journey-card{margin:24px 0 0}
 .journey-card>strong{font-size:22px}
}

/* Frosted preview uses decorative placeholders, never protected profile data. */
.frosted-preview{position:relative;overflow:hidden;margin-top:8px;background:linear-gradient(155deg,#f3f6ed,#e9f0e7);border-radius:14px}
.preview-sheets{padding:20px 20px 0}
.preview-description{filter:blur(3px);opacity:.42;margin-bottom:14px}
.preview-sheets i{display:block;height:8px;border-radius:5px;background:#8fa798;width:85%;margin:9px 0}
.preview-description i:nth-child(2){width:96%}.preview-description i:nth-child(3){width:65%}
.preview-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 0;border-top:1px solid #d9e2d5;font-size:var(--text-small);color:#53675b}
.preview-row i{width:28%;filter:blur(4px);opacity:.55}
.frosted-preview .locked-message{position:relative;margin-top:-10px;padding:20px;background:linear-gradient(#f2f6edd9,#f2f6ed 32%);text-align:center}
.preview-lock{display:none}
.detail-panel .frosted-preview h3{margin:0 0 10px;font-size:25px;line-height:1.2}
.frosted-preview .preview-benefits{font-size:var(--text-small);line-height:1.65;margin-bottom:18px}
.frosted-preview .unlock-profile{width:100%;min-height:48px}
.frosted-preview .unlock-balance{margin:10px 0 3px;font-size:var(--text-small)}
.frosted-preview .journey-upgrade{justify-content:center;font-size:var(--text-small)}
.frosted-preview .unlock-cost-note{margin:6px 0 0;font-size:var(--text-small)}
.profile-about:has(+.frosted-preview){margin-bottom:0}
@media(max-width:700px){.frosted-preview .locked-message{padding:20px 16px}.detail-panel .frosted-preview h3{font-size:24px}}
