/* Approved reference boards 05–07: searchable rows and contact-led store details. */
.tnn-refresh .reference-search,.tnn-refresh .reference-store{color:var(--ink,#103b3b);padding-bottom:64px;min-width:0}
.tnn-refresh .reference-breadcrumb{padding-top:22px;margin:0;gap:8px;font-size:12px;align-items:center;line-height:1.8}
.tnn-refresh .reference-breadcrumb a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none;color:var(--muted,#687b78)}
.tnn-refresh .reference-breadcrumb a:hover{text-decoration:underline}
.tnn-refresh .reference-search-head{padding:34px 0 38px;max-width:900px}
.tnn-refresh .reference-search-head h1,.tnn-refresh .reference-store-head h1{font-size:clamp(32px,4vw,48px);letter-spacing:-.04em;line-height:1.35;margin:0 0 16px;overflow-wrap:anywhere}
.tnn-refresh .reference-search-head>p:last-child{font-size:15px;line-height:1.9;color:var(--muted,#687b78)}
.tnn-refresh .reference-search-shell{grid-template-columns:204px minmax(0,1fr);gap:44px;padding:0}
.tnn-refresh .reference-results{min-width:0}
.tnn-refresh .reference-filters{background:var(--surface-warm,#f8f5ee);padding:24px;margin-bottom:30px;border-radius:8px}
.tnn-refresh .reference-filter-main{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:end}
.tnn-refresh .reference-filters label{font-size:13px;font-weight:600;min-width:0;color:var(--ink,#103b3b)}
.tnn-refresh .reference-filters input[type=search],.tnn-refresh .reference-filters select{min-height:46px;width:100%;margin-top:8px;padding:10px 12px;background:white;border:1px solid var(--line,#dce7e2);border-radius:5px;color:var(--ink,#103b3b);font-size:15px}
.tnn-refresh .reference-filter-main>.button{white-space:nowrap;min-height:46px}
.tnn-refresh .reference-filters .reference-advanced{margin:17px 0 0;padding:0;border:0}
.tnn-refresh .reference-advanced>summary{min-height:44px;display:flex;justify-content:flex-start;flex-wrap:wrap;gap:8px;align-items:center;cursor:pointer;font-size:13px;color:var(--brand,#145451);font-weight:600;list-style:none}
.tnn-refresh .reference-advanced>summary:after{content:'＋';font-size:17px;font-weight:400}
.tnn-refresh .reference-advanced[open]>summary:after{content:'−'}
.tnn-refresh .reference-advanced summary::-webkit-details-marker{display:none}
.tnn-refresh .reference-filter-count{font-size:11px;font-weight:400;white-space:nowrap}
.tnn-refresh .reference-active-filters{font-size:12px;color:var(--brand,#145451);line-height:1.8;margin:0 0 4px;overflow-wrap:anywhere}
.tnn-refresh .reference-advanced-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:6px 0 12px}
.tnn-refresh .reference-advanced-fields label{display:flex;flex-direction:column;gap:0}
.tnn-refresh .reference-advanced-fields .check-control{flex-direction:row;align-items:center;align-self:end;gap:10px;min-height:46px;font-size:13px}
.tnn-refresh .reference-location-note{grid-column:1/-1;font-size:12px;color:var(--muted,#687b78);line-height:1.8;margin:0}
.tnn-refresh .reference-filter-foot{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-top:16px;padding-top:16px;border-top:1px solid var(--line,#dce7e2)}
.tnn-refresh .reference-filter-foot label{display:flex;align-items:center;gap:12px;width:auto;min-width:0;flex:0 1 auto;white-space:nowrap}
.tnn-refresh .reference-filter-foot select{width:145px;min-width:0;flex-shrink:0;margin:0}
.tnn-refresh .reference-filter-foot .text-button{font-size:13px;font-weight:400;padding:0;display:inline-flex;align-items:center;min-height:44px;white-space:nowrap}
.tnn-refresh .reference-filters .catalog-preserved-note{margin:15px 0 0}
.tnn-refresh .reference-search-shell .result-heading{display:flex;justify-content:space-between;gap:18px;align-items:baseline;margin:0 0 8px}
.tnn-refresh .reference-search-shell .result-heading h2{font-size:20px;line-height:1.5}
.tnn-refresh .reference-search-shell .result-heading .ranking-note{font-size:12px;line-height:1.8}
.tnn-refresh .reference-business-row{grid-template-columns:208px minmax(0,1fr) 142px;grid-template-rows:auto;gap:26px;padding:28px 0;align-items:center;border-bottom:1px solid var(--line,#dce7e2)}
.tnn-refresh .reference-business-row:first-child{padding-top:20px}
.tnn-refresh .reference-business-row .result-photo{grid-column:1;grid-row:1;width:100%;height:auto;aspect-ratio:4/3;overflow:hidden;border-radius:5px;background:#e8f2ed}
.tnn-refresh .reference-business-row .result-photo img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.tnn-refresh .reference-business-row .result-photo:hover img{transform:scale(1.025)}
.tnn-refresh .reference-business-row[data-category-id="7"] .result-photo img{object-fit:contain}
.tnn-refresh .reference-business-row .result-main{grid-column:2;grid-row:1;min-width:0}
.tnn-refresh .reference-business-row .row-category{font-size:12px;color:var(--brand,#145451);margin:0 0 6px;line-height:1.7}
.tnn-refresh .reference-business-row .result-main h3{font-size:24px;line-height:1.45;margin:0 0 8px;letter-spacing:-.025em}
.tnn-refresh .reference-business-row h3 a{color:var(--ink,#103b3b)}
.tnn-refresh .reference-business-row h3 a:hover{text-decoration:underline;text-underline-offset:5px}
.tnn-refresh .reference-business-row .row-services{margin:0 0 8px;font-size:12px}
.tnn-refresh .reference-business-row .row-services>span:first-child{display:none}
.tnn-refresh .reference-business-row .row-address{font-size:14px;line-height:1.8;margin:0;overflow-wrap:anywhere}
.tnn-refresh .reference-business-row .result-actions{grid-column:3;grid-row:1;display:flex;flex-direction:column;align-items:stretch;gap:10px}
.tnn-refresh .reference-business-row .result-actions .button{min-height:44px;padding:9px 15px;text-align:center;font-size:13px;white-space:nowrap}
.tnn-refresh .reference-business-row .row-phone{text-align:center;font-size:15px;line-height:1.8;overflow-wrap:anywhere}
.tnn-refresh .reference-business-row .row-phone a{justify-content:center;color:var(--brand,#145451);min-height:44px}
.tnn-refresh .reference-no-phone{font-size:11px;line-height:1.8;text-align:center;color:var(--muted,#687b78)}
.tnn-refresh .reference-search .sponsor-section{margin:0 0 18px;border:0;background:transparent;padding:0}
.tnn-refresh .reference-search .sponsor-title h2{color:var(--brand,#145451)}
.tnn-refresh .reference-listing-enrollment{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:42px;padding:28px;background:#fff1e8;border-radius:6px}
.tnn-refresh .reference-listing-enrollment h2{font-size:23px;margin:0 0 8px}
.tnn-refresh .reference-listing-enrollment p{font-size:13px;color:var(--muted,#687b78)}
.tnn-refresh .reference-listing-enrollment .button{background:#b13d19;border-color:#b13d19;flex:none;font-size:13px}
.tnn-refresh .reference-store-head{display:flex;justify-content:space-between;align-items:center;gap:32px;padding:30px 0 8px}
.tnn-refresh .reference-store-heading{min-width:0}
.tnn-refresh .reference-store-head h1{margin-bottom:12px}
.tnn-refresh .reference-store-heading>p:last-child{font-size:13px;color:var(--muted,#687b78);line-height:1.8}
.tnn-refresh .reference-store-primary-actions{display:flex;gap:10px;align-items:center;flex:none}
.tnn-refresh .reference-store-primary-actions .button{font-size:13px;white-space:nowrap}
.tnn-refresh .reference-store-gallery{display:grid;grid-template-columns:2fr 1fr;gap:10px;margin-top:22px}
.tnn-refresh .reference-store-gallery.single{grid-template-columns:1fr;max-width:860px}
.tnn-refresh .reference-gallery-lead,.tnn-refresh .reference-gallery-thumbnails{min-width:0}
.tnn-refresh .reference-gallery-thumbnails{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.tnn-refresh .reference-gallery-thumbnails>a:only-child{grid-column:1/-1}
.tnn-refresh .reference-gallery-image{display:block;position:relative;width:100%;height:100%;min-height:44px;overflow:hidden;background:var(--surface-warm,#f8f5ee);border-radius:5px;aspect-ratio:4/3}
.tnn-refresh .reference-gallery-lead>.reference-gallery-image{aspect-ratio:16/10;max-height:445px}
.tnn-refresh .reference-gallery-image img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.tnn-refresh .reference-gallery-image:hover img{transform:scale(1.025)}
.tnn-refresh .reference-store-gallery.medical img{object-fit:contain}
.tnn-refresh .reference-gallery-image>span{position:absolute;bottom:0;left:0;right:0;padding:13px 12px;background:rgba(16,59,59,.86);color:#fff;font-size:12px;line-height:1.5}
.tnn-refresh .reference-gallery-empty{aspect-ratio:16/10;max-height:445px;display:flex;align-items:center;justify-content:center;background:#e8f2ed;color:var(--muted,#687b78);padding:30px;font-size:14px;text-align:center}
.tnn-refresh .reference-store-tools{display:flex;flex-wrap:wrap;gap:4px 20px;justify-content:flex-end;margin-top:8px}
.tnn-refresh .reference-store-tools .text-button{font-size:12px;font-weight:400}
.tnn-refresh .reference-section-nav{margin:0 0 38px;gap:32px;overflow-x:auto;white-space:nowrap;border-bottom:1px solid var(--line,#dce7e2)}
.tnn-refresh .reference-section-nav a{padding:8px 0 15px;min-height:44px;font-size:14px;font-weight:650;color:var(--brand,#145451)}
.tnn-refresh .reference-store-content{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:55px;align-items:start}
.tnn-refresh .reference-store-main{min-width:0}
.tnn-refresh .reference-store-main>.detail-section{margin:0;padding:0;border:0}
.tnn-refresh .reference-store-main>.detail-section+section,.tnn-refresh .reference-store-main>.seo-text-ads+section{margin-top:42px}
.tnn-refresh .reference-store-main h2{font-size:25px;line-height:1.5;margin:0 0 20px;letter-spacing:-.02em}
.tnn-refresh .reference-store-main p{font-size:15px;line-height:1.95;margin:0 0 20px}
.tnn-refresh .reference-store-main .section-heading{margin-bottom:20px;align-items:baseline}
.tnn-refresh .reference-store-main .section-heading h2{margin-bottom:0}
.tnn-refresh .reference-store-main .section-heading a{display:inline-flex;align-items:center;min-height:44px}
.tnn-refresh .reference-store .reference-contact{display:block;background:var(--surface-warm,#f8f5ee);padding:28px;border:0;border-radius:7px;position:sticky;top:24px;scroll-margin-top:25px}
.tnn-refresh .reference-contact h2{font-size:21px;margin:0 0 20px}
.tnn-refresh .reference-contact .reference-store-facts{display:block;margin:0 0 24px}
.tnn-refresh .reference-store-facts>div{display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;margin-top:16px;font-size:13px;line-height:1.85}
.tnn-refresh .reference-store-facts dt{font-weight:650;color:var(--brand,#145451)}
.tnn-refresh .reference-store-facts dd{margin:0;overflow-wrap:anywhere;font-size:13px;font-weight:400}
.tnn-refresh .reference-store-facts a{color:var(--brand,#145451);display:inline-flex;min-height:44px;align-items:center}
.tnn-refresh .reference-contact-actions{display:flex;flex-direction:column;gap:10px}
.tnn-refresh .reference-contact-actions .button{min-height:46px;font-size:14px}
.tnn-refresh .reference-contact-note{font-size:11px;line-height:1.9;color:var(--muted,#687b78);margin:18px 0 0}
.tnn-refresh .reference-contact-links{display:flex;flex-wrap:wrap;gap:4px 16px;border-top:1px solid var(--line,#dce7e2);margin-top:18px;padding-top:12px}
.tnn-refresh .reference-contact-links a{display:inline-flex;align-items:center;min-height:44px;font-size:12px;color:var(--brand,#145451)}
.tnn-refresh .reference-store .reference-photo-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.tnn-refresh .reference-photo-strip .gallery-picture{background:var(--surface-warm,#f8f5ee);border-radius:5px}
.tnn-refresh .reference-photo-strip .gallery-item strong{font-size:12px;line-height:1.7}
.tnn-refresh .reference-photo-strip .gallery-item small{font-size:11px}
.tnn-refresh .reference-store .gallery-item{min-width:0;max-width:100%}
.tnn-refresh .reference-store .gallery-picture{width:100%;min-width:0;max-width:100%}
/* The legacy fallback's height:100% transfers its aspect ratio into width.
   Keep missing photos within their real gallery column on narrow phones. */
.tnn-refresh .reference-store .no-photo{width:100%;min-width:0;max-width:100%;height:auto;overflow-wrap:anywhere;white-space:normal}
.tnn-refresh .reference-store .gallery-picture.no-photo{padding:12px;font-size:12px;line-height:1.75;background:var(--mint,#e8f2ed)}
.tnn-refresh .reference-store .image-fallback{width:100%;min-width:0;max-width:100%;overflow-wrap:anywhere}
.tnn-refresh .reference-store-videos{margin-top:25px}
.tnn-refresh .reference-store-main>.reference-owner{display:flex;gap:24px;align-items:center;justify-content:space-between;border-top:1px solid var(--line,#dce7e2);padding-top:30px}
.tnn-refresh .reference-owner h2{font-size:21px;margin-bottom:10px}
.tnn-refresh .reference-owner p{font-size:13px;margin-bottom:0}
.tnn-refresh .reference-owner .button{flex:none;font-size:13px}
.tnn-refresh .reference-store-main .catalog-detail-help h2{font-size:21px}
.tnn-refresh .reference-store-main .catalog-detail-help p{font-size:13px}
.tnn-refresh .reference-store-main .catalog-detail-help .actions{margin:0 0 16px;gap:8px 18px;font-size:12px}
.tnn-refresh .reference-store .image-fallback{background:#e8f2ed;color:var(--muted,#687b78);min-height:44px;display:grid;place-items:center;padding:18px;text-align:center}
.tnn-refresh .reference-store [id]{scroll-margin-top:28px}
.tnn-refresh .reference-store:focus-visible,.tnn-refresh .reference-search:focus-visible{outline:3px solid #b13d19;outline-offset:4px}
@media(min-width:601px){.tnn-refresh .reference-gallery-thumbnails>.reference-gallery-image{height:100%;aspect-ratio:auto;min-height:0}}
@media(max-width:1100px){.tnn-refresh .reference-search-shell{grid-template-columns:178px minmax(0,1fr);gap:30px}.tnn-refresh .reference-business-row{grid-template-columns:172px minmax(0,1fr);gap:20px}.tnn-refresh .reference-business-row .result-actions{grid-column:2;grid-row:2;flex-direction:row;align-items:center;justify-content:flex-start;gap:20px;margin-top:-6px}.tnn-refresh .reference-business-row .result-actions .button{min-width:120px}.tnn-refresh .reference-no-phone{text-align:left}.tnn-refresh .reference-store-content{gap:32px;grid-template-columns:minmax(0,1fr) 290px}.tnn-refresh .reference-gallery-lead>.reference-gallery-image{max-height:390px}}
@media(max-width:820px){.tnn-refresh .reference-search-head{padding-block:26px}.tnn-refresh .reference-search-shell{grid-template-columns:1fr;gap:20px}.tnn-refresh .reference-search-shell>.industry-rail{display:none}.tnn-refresh .reference-search-shell .result-heading{display:block}.tnn-refresh .reference-search-shell .ranking-note{margin-top:6px}.tnn-refresh .reference-store-head{align-items:flex-start;gap:22px}.tnn-refresh .reference-store-primary-actions{flex-direction:column;align-items:stretch}.tnn-refresh .reference-store-heading{flex:1}.tnn-refresh .reference-store-content{grid-template-columns:1fr}.tnn-refresh .reference-store .reference-contact{grid-row:1;position:static;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 28px}.tnn-refresh .reference-contact h2{grid-column:1/-1}.tnn-refresh .reference-contact-actions{justify-content:center}.tnn-refresh .reference-contact-note,.tnn-refresh .reference-contact-links{grid-column:1/-1}.tnn-refresh .reference-gallery-lead>.reference-gallery-image{max-height:none}.tnn-refresh .reference-section-nav{gap:26px;margin-bottom:28px}}
@media(max-width:600px){.tnn-refresh .reference-search,.tnn-refresh .reference-store{padding-bottom:42px}.tnn-refresh .reference-breadcrumb{padding-top:16px;font-size:11px}.tnn-refresh .reference-search-head{padding:12px 0 18px}.tnn-refresh .reference-search-head h1,.tnn-refresh .reference-store-head h1{font-size:30px;line-height:1.4}.tnn-refresh .reference-search-head>p:last-child{font-size:14px}.tnn-refresh .reference-filters{padding:18px;margin-bottom:20px}.tnn-refresh .reference-filter-main{grid-template-columns:1fr;gap:14px}.tnn-refresh .reference-filters input[type=search],.tnn-refresh .reference-filters select{font-size:16px}.tnn-refresh .reference-advanced-fields{grid-template-columns:1fr;gap:15px}.tnn-refresh .reference-advanced-fields .check-control{margin-top:0}.tnn-refresh .reference-filter-foot{gap:10px}.tnn-refresh .reference-filter-foot label{gap:8px;font-size:12px}.tnn-refresh .reference-filter-foot select{width:122px}.tnn-refresh .reference-filter-foot .text-button{font-size:12px}.tnn-refresh .reference-active-filters{font-size:11px}.tnn-refresh .reference-search-shell .result-heading h2{font-size:19px}.tnn-refresh .reference-business-row{grid-template-columns:112px minmax(0,1fr);grid-template-rows:auto auto;gap:14px;padding-block:23px;align-items:start}.tnn-refresh .reference-business-row .result-photo{width:100%;height:auto;aspect-ratio:1/1;grid-row:1;margin-top:3px}.tnn-refresh .reference-business-row .row-category{font-size:10px;margin-bottom:6px;line-height:1.65}.tnn-refresh .reference-business-row .result-main h3{font-size:20px;margin-bottom:8px}.tnn-refresh .reference-business-row .row-address{font-size:12px;line-height:1.8}.tnn-refresh .reference-business-row .row-services{font-size:11px}.tnn-refresh .reference-business-row .result-actions{grid-column:1/-1;grid-row:2;justify-content:flex-end;margin-top:0;gap:16px}.tnn-refresh .reference-business-row .result-actions .button{min-width:112px}.tnn-refresh .reference-business-row .row-phone{font-size:14px}.tnn-refresh .reference-no-phone{font-size:10px}.tnn-refresh .reference-listing-enrollment{display:block;padding:23px}.tnn-refresh .reference-listing-enrollment h2{font-size:21px}.tnn-refresh .reference-listing-enrollment .button{margin-top:18px}.tnn-refresh .reference-store-head{display:block;padding:24px 0 10px}.tnn-refresh .reference-store-heading>p:last-child{font-size:12px}.tnn-refresh .reference-store-primary-actions{margin-top:20px;flex-direction:row;flex-wrap:wrap;gap:10px}.tnn-refresh .reference-store-primary-actions .button{flex:1;padding-inline:12px;text-align:center}.tnn-refresh .reference-store-gallery{grid-template-columns:1fr;gap:8px;margin-top:14px}.tnn-refresh .reference-gallery-thumbnails{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.tnn-refresh .reference-gallery-thumbnails>a:only-child{grid-column:auto}.tnn-refresh .reference-gallery-lead>.reference-gallery-image{aspect-ratio:4/3}.tnn-refresh .reference-gallery-image>span{font-size:11px;padding:8px 10px}.tnn-refresh .reference-section-nav{gap:22px;margin-bottom:24px}.tnn-refresh .reference-section-nav a{font-size:13px}.tnn-refresh .reference-store .reference-contact{display:block;padding:23px}.tnn-refresh .reference-contact-actions{margin-top:24px}.tnn-refresh .reference-store-content{gap:30px}.tnn-refresh .reference-store-main h2{font-size:24px}.tnn-refresh .reference-store-main p{font-size:14px}.tnn-refresh .reference-store-main>.detail-section+section{margin-top:34px}.tnn-refresh .reference-store .reference-photo-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.tnn-refresh .reference-store-main>.reference-owner{display:block}.tnn-refresh .reference-owner h2{font-size:21px}.tnn-refresh .reference-owner .button{margin-top:18px}.tnn-refresh .reference-store-tools{justify-content:flex-start}}
@media(max-width:350px){.tnn-refresh .reference-business-row{grid-template-columns:94px minmax(0,1fr);gap:12px}.tnn-refresh .reference-business-row .result-main h3{font-size:18px}.tnn-refresh .reference-filter-foot label{gap:6px}.tnn-refresh .reference-filter-foot select{width:110px}}
@media(prefers-reduced-motion:reduce){.tnn-refresh .reference-business-row .result-photo img,.tnn-refresh .reference-gallery-image img{transition:none}.tnn-refresh .reference-business-row .result-photo:hover img,.tnn-refresh .reference-gallery-image:hover img{transform:none}}
.tnn-refresh .reference-photo-page .gallery-grid{margin-top:32px;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 16px}
.tnn-refresh .reference-photo-page .gallery-picture{background:var(--surface-warm,#f8f5ee);border-radius:5px}
.tnn-refresh .reference-photo-page .reference-store-head{margin-bottom:28px}
.tnn-refresh .reference-photo-page .reference-store-head>div>p{color:var(--muted,#687b78);font-size:14px;margin-top:8px}
@media(max-width:820px){.tnn-refresh .reference-photo-page .gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.tnn-refresh .reference-photo-page .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.tnn-refresh .reference-photo-page .reference-store-head>a{margin-top:18px}}
