:root{--green:#087831;--deep:#055825;--emerald:#15A340;--navy:#041325;--white:#FAFBFA;--grey:#D4DCD7;--soft:#EAF4ED;--gold:#D6AD35}*{box-sizing:border-box}body{margin:0;background:var(--white);color:var(--navy);font-family:Inter,system-ui,-apple-system,sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.brand{color:var(--green)}.btn{border:0;border-radius:12px;padding:12px 17px;background:var(--green);color:white;font-weight:700;cursor:pointer}.btn.secondary{background:var(--soft);color:var(--deep)}.panel{background:white;border:1px solid #e5ebe7;border-radius:18px;padding:18px;box-shadow:0 8px 28px #0413250a}.muted{color:#66756d}.pill{display:inline-block;background:var(--soft);color:var(--deep);padding:5px 10px;border-radius:99px;font-size:12px;font-weight:700}.field{width:100%;padding:12px 13px;border:1px solid var(--grey);border-radius:11px;background:white;margin:6px 0 12px}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}.wrap{max-width:1180px;margin:auto;padding:0 20px}.topbar{position:sticky;top:0;background:#fafbfaee;backdrop-filter:blur(14px);border-bottom:1px solid #e7ece8;z-index:5}.nav{height:68px;display:flex;align-items:center;justify-content:space-between;gap:15px}.hero{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(280px,.92fr);align-items:center;gap:clamp(22px,4vw,48px);background:linear-gradient(120deg,#eaf4ed,#f7faf7);border-radius:26px;padding:clamp(28px,5vw,58px);margin:26px 0}.hero-copy{min-width:0}.hero-search{display:flex;gap:8px;max-width:650px;margin-top:25px}.hero-search .field{flex:1;min-width:0}.hero-campus-photo{margin:0;min-width:0}.hero-campus-photo img{display:block;width:100%;aspect-ratio:1.42;object-fit:cover;object-position:center;border-radius:20px;box-shadow:0 14px 36px #04132520}.hero-campus-photo figcaption{font-size:11px;line-height:1.5;color:#66756d;margin-top:9px}.hero-campus-photo figcaption a{text-decoration:underline;text-underline-offset:2px}.hero-campus-photo figcaption span{padding:0 3px;color:var(--green)}.hero h1{font-size:clamp(34px,5vw,58px);line-height:1.05;max-width:700px;margin:12px 0}.section{padding:25px 0}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}.category{display:flex;align-items:center;gap:12px;min-height:82px}.category .ico{font-size:26px;background:var(--soft);padding:12px;border-radius:13px}.business-card{overflow:hidden}.business-card h3{margin:10px 0 5px}.verified{display:inline-flex;align-items:center;gap:4px;color:#087831;font-size:12px;font-weight:800;margin-left:6px}.logo{width:54px;height:54px;object-fit:cover;border-radius:14px;background:var(--soft)}.notice{padding:12px;border-radius:12px;background:var(--soft);margin:10px 0}.hide{display:none!important}footer{padding:35px 0;color:#66756d;border-top:1px solid #e5ebe7;margin-top:40px}@media(max-width:640px){.wrap{padding:0 15px}.nav{height:60px}.nav .desktop{display:none}.hero{grid-template-columns:1fr;gap:20px;margin:16px 0}.hero-campus-photo img{aspect-ratio:1.6;border-radius:15px}.hero-search{flex-direction:column;gap:9px}.hero-search .btn{width:100%}.grid{grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:10px}.panel{padding:14px}}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.form-grid label{display:block;font-weight:650}.form-grid .field{display:block}.form-grid .wide{grid-column:1/-1}.actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px}.btn.danger{background:#fff0ed;color:#9f2f20}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}.stat strong{display:block;font-size:27px;margin-top:8px;font-variant-numeric:tabular-nums}.table-wrap{overflow:auto;background:#fff;border:1px solid #e5ebe7;border-radius:16px;margin-top:14px}table{border-collapse:collapse;width:100%;min-width:720px}th,td{text-align:left;padding:12px 14px;border-bottom:1px solid #e8eee9;vertical-align:middle}th{font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:#65736a;background:#f7faf7}td small{display:block;color:#66756d;margin-top:4px;overflow-wrap:anywhere}.field.compact{min-width:110px;margin:0;padding:8px}.error-notice{background:#fff0ed;color:#9f2f20}
.brand-home{display:inline-flex;align-items:center;gap:10px;min-width:0}
.site-logo{display:block;width:clamp(54px,6vw,72px);height:clamp(54px,6vw,72px);object-fit:contain;border-radius:50%;background:#fff;flex:0 0 auto;box-shadow:0 2px 10px #04132512}.footer-logo{display:block;width:88px;height:88px;object-fit:contain;border-radius:50%;background:#fff}.brand-home{flex:0 0 auto}.nav{min-height:76px}.topbar .wrap{align-items:center}.footer-logo img{display:none}
.footer-logo{display:inline-flex;align-items:center}
.footer-logo img{display:block;width:86px;height:86px;object-fit:contain;border-radius:50%;background:#fff}
@media(max-width:640px){.site-logo{width:52px;height:52px}.footer-logo{width:76px;height:76px}}@media(max-width:640px){.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section-head{align-items:flex-start;flex-direction:column}}
/* Responsive polish: small phones, tablets and wide screens */
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{min-width:320px;overflow-x:hidden}
img,video,canvas,svg{max-width:100%;height:auto}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button,.btn{min-height:42px}
:focus-visible{outline:3px solid #d6ad35;outline-offset:2px}
.wrap{width:100%}
.nav>a:first-child{white-space:nowrap}
.nav .desktop{align-items:center}
.hero p{line-height:1.65}
.hero>div{width:100%}
.hero .field{min-width:0}
.grid>*{min-width:0}
.business-card,.category,.panel{overflow-wrap:anywhere}
.business-card img{max-width:100%}
.table-wrap{max-width:100%;-webkit-overflow-scrolling:touch}
table{white-space:normal}
.form-grid>*{min-width:0}
.field{min-width:0;max-width:100%}
.actions>*{max-width:100%}
.dash-tabs{overflow-x:auto;flex-wrap:nowrap!important;padding:2px 1px 8px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.dash-tabs .btn{flex:0 0 auto;white-space:nowrap}
#modal{overscroll-behavior:contain}
#modal .panel{width:min(100%,520px);max-height:90dvh;overflow-y:auto}
@media(max-width:900px){
 .wrap{padding-left:18px;padding-right:18px}
 .nav{gap:10px}
 .nav .desktop{gap:12px!important}
 .nav>div:last-child{gap:6px!important}
 .nav>div:last-child .btn{padding:10px 12px;font-size:13px}
 .grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,210px),1fr))}
}
@media(max-width:640px){
 .wrap{padding-left:14px;padding-right:14px}
 .topbar .nav{height:auto;min-height:58px;padding-top:9px;padding-bottom:9px;flex-wrap:wrap}
 .nav .desktop{display:none!important}
 .nav>div:last-child{width:100%;display:flex;flex-wrap:wrap;justify-content:flex-end}
 .nav>div:last-child .btn{flex:1 1 auto;min-width:0;padding:10px 9px;font-size:12px}
 .hero{grid-template-columns:1fr;padding:25px 19px;border-radius:19px;margin:14px 0}.hero-campus-photo img{aspect-ratio:1.6}
 .hero h1{font-size:clamp(34px,10vw,48px)}
 .hero>div{display:flex;flex-direction:column;gap:9px!important}
 .hero>div .btn{width:100%}
 .section{padding:18px 0}
 .section-head{gap:8px}
 .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .panel{padding:13px;border-radius:15px}
 .category{min-height:70px;gap:8px}
 .category .ico{font-size:21px;padding:9px}
 footer .wrap{display:flex;flex-direction:column;gap:12px}
 #modal{padding:10px!important}
 #modal .panel{margin:2vh auto!important;padding:15px}
 .form-grid{gap:9px}
 .stats-grid{gap:8px}
 .stat strong{font-size:23px}
 .actions{gap:6px}
 .actions .btn{flex:1 1 auto}
}
@media(max-width:380px){
 .wrap{padding-left:11px;padding-right:11px}
 .grid{grid-template-columns:1fr}
 .nav>a:first-child{font-size:19px!important}
 .nav>div:last-child .btn{font-size:11px;padding:9px 7px}
 .hero{padding:22px 15px}
 .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.settings-section{margin:14px 0}.settings-section h2{margin:0 0 6px}.settings-section form{margin-top:16px}.settings-toggles{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;margin:16px 0}.setting-toggle{display:flex;align-items:flex-start;gap:10px;padding:13px;border:1px solid #e5ebe7;border-radius:13px;background:#fbfdfb}.setting-toggle input{width:18px;height:18px;margin-top:2px;accent-color:var(--green)}.setting-toggle span{display:grid;gap:4px}.logo-settings{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:15px;background:#f7faf7;border-radius:14px;margin:14px 0}.logo-settings img{width:120px;height:120px;object-fit:contain;background:#fff;border:1px solid #e5ebe7;border-radius:14px;padding:6px}.logo-settings form{flex:1;min-width:min(100%,260px)}.site-announcement{padding:10px 16px;text-align:center;background:var(--green);color:white;font-weight:700}.site-contact,.site-policies{display:flex;gap:12px;flex-wrap:wrap;align-items:flex-start}.site-policies{width:100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));margin-top:12px}.site-policies details{padding:10px;border:1px solid #e5ebe7;border-radius:10px}.site-policies p{white-space:pre-wrap;line-height:1.6}.maintenance-overlay{position:fixed;inset:0;z-index:9999;background:#f7faf7;display:grid;place-items:center;padding:20px}.maintenance-panel{margin:10vh auto;max-width:680px;text-align:center;padding:clamp(24px,6vw,56px)}.maintenance-panel h1{font-size:clamp(30px,6vw,48px)}@media(max-width:600px){.logo-settings{align-items:flex-start}.settings-toggles{grid-template-columns:1fr}.settings-section .btn{width:100%}}
/* User-selectable light and dark themes */
:root{color-scheme:light;--page-bg:#fafbfa;--surface:#fff;--text:#041325;--muted:#66756d;--line:#e5ebe7;--field-bg:#fff;--soft-bg:#eaf4ed;--table-head:#f7faf7}
html[data-theme="dark"]{color-scheme:dark;--page-bg:#101814;--surface:#18231d;--text:#edf5ef;--muted:#a8b7ad;--line:#34443a;--field-bg:#111b15;--soft-bg:#20372a;--table-head:#202d25;--navy:#eaf3ed;--white:#101814;--grey:#46564b;--soft:#20372a}
html[data-theme="dark"] body{background:var(--page-bg);color:var(--text)}
html[data-theme="dark"] .topbar{background:#101814ed;border-color:var(--line)}
html[data-theme="dark"] .panel,html[data-theme="dark"] .table-wrap{background:var(--surface);border-color:var(--line);color:var(--text);box-shadow:0 8px 28px #00000025}
html[data-theme="dark"] .field,html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{background:var(--field-bg);color:var(--text);border-color:var(--line)}
html[data-theme="dark"] .field::placeholder,html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#8fa196}
html[data-theme="dark"] .muted,html[data-theme="dark"] footer{color:var(--muted)}
html[data-theme="dark"] .pill,html[data-theme="dark"] .btn.secondary,html[data-theme="dark"] .notice,html[data-theme="dark"] .category .ico{background:var(--soft-bg);color:#b9e8c7}
html[data-theme="dark"] .hero{background:linear-gradient(120deg,#1b3023,#17231c)}
html[data-theme="dark"] .hero-campus-photo figcaption{color:var(--muted)}
html[data-theme="dark"] footer{border-color:var(--line)}
html[data-theme="dark"] th{background:var(--table-head);color:#c0cec4}
html[data-theme="dark"] td{border-color:var(--line);color:var(--text)}
html[data-theme="dark"] .setting-toggle,html[data-theme="dark"] .logo-settings{background:#1b2921;border-color:var(--line);color:var(--text)}
html[data-theme="dark"] .site-policies details,html[data-theme="dark"] .table-wrap{border-color:var(--line)}
html[data-theme="dark"] .maintenance-overlay{background:var(--page-bg)}
html[data-theme="dark"] .verified{color:#83e6a3}
.theme-toggle{white-space:nowrap;min-width:88px}
.header-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
@media(max-width:640px){.header-actions{justify-content:flex-end}.theme-toggle{min-width:82px;padding:10px 11px}}
@media(max-width:640px){
 .topbar .nav{position:relative;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:8px;min-height:62px;padding-top:6px;padding-bottom:6px}
 .topbar .nav>.brand-home{flex:0 0 auto}
 .mobile-menu-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;padding:10px 14px;min-width:92px}
 .mobile-nav-panel{display:none;position:absolute;top:calc(100% + 1px);left:0;right:0;z-index:20;background:var(--surface);border-bottom:1px solid var(--line);box-shadow:0 14px 28px #04132520;padding:14px max(15px,calc((100vw - 520px)/2));gap:9px;grid-template-columns:1fr 1fr}
 .mobile-nav-panel.is-open{display:grid}
 .mobile-nav-panel .mobile-nav-link{display:flex;align-items:center;min-height:42px;padding:10px 12px;border-radius:10px;background:var(--soft-bg);color:var(--text);font-weight:650}
 .mobile-nav-panel .btn{width:100%;min-width:0;min-height:42px;padding:10px 8px;font-size:13px;white-space:normal}
 .mobile-nav-panel .pwa-install-btn{grid-column:1/-1;margin:0;width:100%}
 .mobile-nav-panel .theme-toggle{width:100%}
 .mobile-nav-panel #vendorBtn{grid-column:1/-1}
 .topbar .nav>.mobile-nav-panel{flex:initial}
}
@media(max-width:380px){.mobile-menu-toggle{min-width:82px;padding:9px 11px}.mobile-nav-panel{padding:12px 11px;gap:7px}.mobile-nav-panel .btn{font-size:12px}}
.mobile-menu-toggle{display:none}.mobile-nav-link{display:none}
@media(min-width:641px){.mobile-nav-panel{display:flex;align-items:center;gap:8px}.mobile-nav-panel .mobile-nav-link{display:inline-flex;font-weight:600;padding:8px 5px}}
@media(min-width:641px) and (max-width:900px){
 .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .nav{height:auto;min-height:68px;flex-wrap:wrap;padding-top:10px;padding-bottom:10px}
}
/* High-contrast campus business CTA, consistent in both themes */
.business-cta-banner{background:linear-gradient(115deg,#062b1b 0%,#064b2b 58%,#087831 100%);color:#fff;border:1px solid #267b4c;box-shadow:0 14px 34px #04132530;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:clamp(20px,4vw,32px)}
.business-cta-banner h2{color:#fff;margin:8px 0;font-size:clamp(22px,3vw,30px);line-height:1.2}
.business-cta-banner p{color:#e0eee5;margin:0;line-height:1.55}
.business-cta-eyebrow{color:#b9f2cb;font-weight:800;font-size:12px;letter-spacing:.09em}
.business-cta-button{background:#f0c64b;color:#142719;border:1px solid #ffdf78;font-weight:800;box-shadow:0 4px 12px #0003}
.business-cta-button:hover{background:#ffda70}
@media(max-width:640px){.business-cta-banner{align-items:stretch}.business-cta-button{width:100%}}

/* Ensure the mobile menu control is visible on phones; desktop keeps inline navigation. */
@media(max-width:640px){.mobile-menu-toggle{display:inline-flex!important}}
@media(min-width:641px){.mobile-menu-toggle{display:none!important}}

/* Public business ratings */
.business-rating{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:7px 0 3px;min-width:0;font-size:13px;line-height:1.35}
.business-rating .rating-stars{color:#d69b16;letter-spacing:1px;font-size:15px;white-space:nowrap}
.business-rating b{font-size:14px;color:var(--text,#142719)}
.business-rating small{font-size:11px;color:var(--muted,#66756d)}
.business-rating.no-rating{color:var(--muted,#66756d)}
html[data-theme=\"dark\"] .business-rating b{color:var(--text)}

/* Marketplace floating business/detail and account dialogs */
#modal{display:flex;align-items:center;justify-content:center;padding:20px;overscroll-behavior:contain}
#modal.hide{display:none!important}
#modal>.panel{width:min(100%,560px);max-height:min(90dvh,900px);overflow-y:auto;overscroll-behavior:contain;margin:0!important;padding:22px;position:relative;border:1px solid var(--line);background:var(--surface);color:var(--text);box-shadow:0 24px 70px #0005}
#modal #closeModal{position:sticky;top:0;z-index:3;float:right;min-height:40px;padding:9px 14px;margin:-8px -8px 8px 12px}
#modalContent{clear:both;padding-top:8px;min-width:0}
#modalContent h2{font-size:clamp(22px,5vw,30px);line-height:1.2;margin:12px 0 8px;overflow-wrap:anywhere}
#modalContent h3{margin:22px 0 12px}
#modalContent p{line-height:1.55;overflow-wrap:anywhere}
#modalContent .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
#modalContent .grid>.panel{min-width:0;padding:12px;overflow:hidden}
#modalContent .grid img{display:block;width:100%;height:150px;object-fit:cover;border-radius:10px;margin-bottom:9px}
#modalContent>a.btn,#modalContent>button.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;text-align:center;text-decoration:none;margin:6px 6px 6px 0;padding:11px 15px;white-space:normal}
@media(max-width:640px){
 #modal{align-items:flex-end;padding:0!important}
 #modal>.panel{width:100%;max-width:none;max-height:92dvh;border-radius:20px 20px 0 0;padding:17px 15px calc(18px + env(safe-area-inset-bottom));border-bottom:0;box-shadow:0 -12px 44px #0004}
 #modal #closeModal{margin:-5px -4px 10px 10px;min-width:72px}
 #modalContent{padding-top:5px}
 #modalContent>a.btn,#modalContent>button.btn{display:flex;width:100%;margin:8px 0;min-height:48px}
 #modalContent .grid{grid-template-columns:minmax(0,1fr);gap:10px}
 #modalContent .grid>.panel{padding:13px}
 #modalContent .grid img{height:190px}
 #modalContent form .btn{width:100%;min-height:46px}
 #modalContent .field{font-size:16px}
}
@media(min-width:641px) and (max-width:900px){#modal>.panel{width:min(94vw,560px)}}

/* Mobile dashboard navigation: compact header menu and one clear section picker */
.dashboard-nav-panel{align-items:center}
.mobile-dashboard-select,.mobile-tab-label{display:none}
@media(max-width:640px){
 .topbar .nav{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:8px;min-height:64px}
 .topbar .nav>.brand-home{flex:0 0 auto;max-width:calc(100% - 104px)}
 .topbar .nav>.brand-home .site-logo{width:44px;height:44px}
 .topbar .nav>.brand-home .pill{font-size:10px}
 .dashboard-nav-panel{display:none;position:absolute;top:calc(100% + 1px);left:0;right:0;z-index:30;background:var(--surface);border:1px solid var(--line);border-top:0;border-radius:0 0 16px 16px;box-shadow:0 14px 28px #04132525;padding:12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .dashboard-nav-panel.is-open{display:grid}
 .dashboard-nav-panel .mobile-nav-link{display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;padding:10px 9px;text-align:center;border:1px solid var(--line);background:var(--soft-bg);border-radius:11px;font-size:13px;overflow-wrap:anywhere}
 .dashboard-nav-panel .btn{width:100%;min-width:0;min-height:44px;padding:9px 8px;font-size:12px;white-space:normal}
 .dashboard-nav-panel .theme-toggle{grid-column:1/-1}
 .mobile-menu-toggle{display:inline-flex!important;min-width:88px;min-height:42px;justify-content:center;align-items:center;white-space:nowrap}
 .dash-tabs,.tabs{display:none!important}
 .mobile-tab-label{display:block;font-size:12px;font-weight:750;color:var(--muted);margin:16px 0 5px}
 .mobile-dashboard-select{display:block;margin:0 0 14px;min-height:48px;font-weight:700;border:1px solid var(--line);background:var(--surface);color:var(--text)}
 #stats{margin-top:12px}
 #content,#dashContent{min-width:0}
 .section-head{align-items:stretch}
 .section-head>.btn{width:100%}
}
@media(min-width:641px){
 .dashboard-nav-panel{display:flex;flex-wrap:wrap;gap:8px}
 .dashboard-nav-panel .mobile-nav-link{display:inline-flex}
 .mobile-menu-toggle,.mobile-dashboard-select,.mobile-tab-label{display:none!important}
}

/* Dashboard menu state must be closed unless explicitly opened */
@media(max-width:640px){
 .topbar .nav>.dashboard-nav-panel:not(.is-open),
 .dashboard-nav-panel[hidden]{display:none!important}
 .topbar .nav>.dashboard-nav-panel.is-open{display:grid!important}
}
@media(min-width:641px){
 .dashboard-nav-panel[hidden]{display:flex!important}
 .dashboard-nav-panel{display:flex!important}
}
/* Clean marketplace business and product cards */
.business-card{display:flex;flex-direction:column;gap:12px;min-width:0;padding:17px;height:100%;border:1px solid var(--line);border-radius:17px;background:var(--surface);box-shadow:0 5px 18px #0413250b;transition:transform .18s ease,box-shadow .18s ease}
.business-card:hover{transform:translateY(-2px);box-shadow:0 10px 26px #04132515}
.business-card-head{display:flex;align-items:center;gap:13px;min-width:0}
.business-card-logo{width:68px;height:68px;flex:0 0 68px;border-radius:15px;object-fit:cover;background:var(--soft-bg)}
.business-card-placeholder{display:grid;place-items:center;font-size:28px}
.business-card-identity{flex:1;min-width:0}
.business-card-tags{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.business-card-tags .pill{max-width:100%;overflow-wrap:anywhere}
.business-card-tags .verified{margin:0}
.business-card-identity h3{font-size:17px;line-height:1.3;margin:7px 0 2px;overflow-wrap:anywhere}
.business-card .business-rating{margin:5px 0 0;gap:5px}
.business-card-description{margin:0;color:var(--muted);font-size:13px;line-height:1.55;min-height:40px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.business-card-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding-top:9px;border-top:1px solid var(--line)}
.business-card-meta small{font-size:11px;line-height:1.4;overflow-wrap:anywhere}
.business-card-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:auto}
.business-card-actions .btn{display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;padding:10px 12px;white-space:normal}
.business-card-actions .btn.secondary{min-width:88px}
.product-card{display:flex;flex-direction:column;min-width:0;height:100%;padding:0;overflow:hidden;border:1px solid var(--line);border-radius:15px;background:var(--surface)}
.product-card-image,.product-card-placeholder{display:block;width:100%;height:clamp(150px,24vw,210px);object-fit:cover;background:var(--soft-bg)}
.product-card-placeholder{display:grid;place-items:center;font-size:42px;color:var(--muted)}
.product-card-content{display:flex;flex:1;flex-direction:column;gap:7px;padding:13px}
.product-card-content h4{font-size:15px;line-height:1.35;margin:0;overflow-wrap:anywhere}
.product-card-content p{font-size:12px;line-height:1.5;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.product-card-price{display:block;font-size:16px;margin-top:auto;padding-top:7px}
@media(max-width:640px){
 .business-card{padding:13px;gap:10px;border-radius:14px}
 .business-card-head{gap:10px;align-items:flex-start}
 .business-card-logo{width:58px;height:58px;flex-basis:58px;border-radius:13px}
 .business-card-identity h3{font-size:15px;margin-top:6px}
 .business-card-tags .pill{font-size:10px;padding:4px 7px}
 .business-card .business-rating{font-size:12px}
 .business-card-description{font-size:12px;min-height:37px}
 .business-card-meta{align-items:flex-start;flex-direction:column;gap:3px}
 .business-card-actions{grid-template-columns:minmax(0,1fr) auto;gap:6px}
 .business-card-actions .btn{font-size:12px;padding:9px 7px}
 .business-card-actions .btn.secondary{min-width:72px}
 .product-card-image,.product-card-placeholder{height:145px}
 .product-card-content{padding:11px}
}
@media(max-width:380px){.business-card-actions{grid-template-columns:1fr}.business-card-actions .btn.secondary{width:100%}}
html[data-theme="dark"] .business-card,html[data-theme="dark"] .product-card{background:var(--surface);border-color:var(--line);box-shadow:0 5px 18px #0002}
html[data-theme="dark"] .business-card-meta{border-color:var(--line)}
/* Search mode puts matching businesses first and keeps refinement controls close */
.search-results-tools{padding:10px 0 0}
.search-results-bar{display:flex;align-items:center;gap:9px}
.search-results-bar .field{flex:1;min-width:0;margin:0}
.search-results-bar .btn{flex:0 0 auto}
body.search-active .hero,body.search-active #importantUpdates,body.search-active #marketFeedPreview,body.search-active #categories,body.search-active #deals,body.search-active .business-cta-banner{display:none!important}
body.search-active #vendors{padding-top:12px;scroll-margin-top:82px}
body.search-active #vendors .section-head{margin-bottom:12px}
#searchResultsTools[hidden]{display:none!important}
@media(max-width:640px){.search-results-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.search-results-bar .field{grid-column:1/-1}.search-results-bar .btn{min-height:44px}body.search-active #vendors{padding-top:6px}}

/* Search results use a clear full-width list instead of cramped multi-column tiles */
body.search-active #businessGrid{display:grid;grid-template-columns:minmax(0,1fr);width:100%;gap:12px}
body.search-active #businessGrid>.business-card{width:100%;min-width:0;max-width:none}
body.search-active #businessGrid>.panel{width:100%;min-width:0}
body.search-active #businessGrid>.search-product-results{grid-column:1/-1;width:100%;min-width:0}
body.search-active .search-product-results>.grid{display:grid;grid-template-columns:minmax(0,1fr);width:100%;gap:12px}
body.search-active .search-product-results .product-card{width:100%;min-width:0;max-width:none;display:grid;grid-template-columns:minmax(110px,30%) minmax(0,1fr);align-items:stretch}
body.search-active .search-product-results .product-card-image,
body.search-active .search-product-results .product-card-placeholder{width:100%;height:100%;min-height:150px;max-height:220px;object-fit:cover}
body.search-active .search-product-results .product-card-content{min-width:0;padding:14px;gap:8px}
body.search-active .search-product-results .product-card-content .btn{align-self:flex-start;margin-top:5px}
@media(max-width:480px){
 body.search-active #businessGrid{gap:10px}
 body.search-active .search-product-results .product-card{grid-template-columns:112px minmax(0,1fr)}
 body.search-active .search-product-results .product-card-image,
 body.search-active .search-product-results .product-card-placeholder{min-height:138px;max-height:190px}
 body.search-active .search-product-results .product-card-content{padding:10px}
 body.search-active .search-product-results .product-card-content h4{font-size:14px}
 body.search-active .search-product-results .product-card-content .btn{width:100%;font-size:12px;padding:9px 8px}
}

/* Homepage directory: use full-width cards consistently, not narrow tiles */
#businessGrid{display:grid;grid-template-columns:minmax(0,1fr)!important;width:100%;gap:14px}
#businessGrid>.business-card{width:100%;min-width:0;max-width:none;box-sizing:border-box}
#businessGrid>.search-product-results{grid-column:1/-1;width:100%;min-width:0}
#businessGrid .search-product-results>.grid{display:grid;grid-template-columns:minmax(0,1fr);width:100%;gap:14px}
#businessGrid .search-product-results .product-card{display:grid;grid-template-columns:minmax(120px,25%) minmax(0,1fr);width:100%;min-width:0;max-width:none;min-height:150px;box-sizing:border-box}
#businessGrid .search-product-results .product-card-image,#businessGrid .search-product-results .product-card-placeholder{width:100%;height:100%;min-height:150px;max-height:230px;object-fit:cover}
#businessGrid .search-product-results .product-card-content{min-width:0;padding:14px;gap:8px}
@media(max-width:640px){
 #businessGrid{gap:11px}
 #businessGrid>.business-card{padding:15px;border-radius:14px}
 #businessGrid .search-product-results .product-card{grid-template-columns:112px minmax(0,1fr);min-height:140px}
 #businessGrid .search-product-results .product-card-image,#businessGrid .search-product-results .product-card-placeholder{min-height:140px;max-height:190px}
 #businessGrid .search-product-results .product-card-content{padding:11px;gap:7px}
}
@media(max-width:360px){#businessGrid .search-product-results .product-card{grid-template-columns:96px minmax(0,1fr)}}

/* Mobile navigation experiment reverted. */

/* Vendor business-status notification centre */
.vendor-notifications{margin:0 0 16px;scroll-margin-top:82px;background:var(--surface);border-color:var(--line)}
.vendor-notifications .section-head{align-items:center;flex-wrap:wrap}
.vendor-notifications h2{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.vendor-notifications .pill{font-size:11px}
.vendor-notice{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:13px 0;border-top:1px solid var(--line)}
.vendor-notice.is-unread{border-left:3px solid var(--brand);padding-left:12px}
.vendor-notice-copy{min-width:0;flex:1}
.vendor-notice-heading{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:var(--text)}
.vendor-notice-heading b{font-size:14px}
.vendor-notice-type{font-size:10px;font-weight:800;letter-spacing:.05em;color:var(--brand);background:var(--soft-bg);padding:4px 7px;border-radius:99px}
.vendor-notice-copy p{margin:6px 0;color:var(--text);font-size:13px;line-height:1.55;overflow-wrap:anywhere}
.vendor-notice-copy small{color:var(--muted);font-size:11px}
.vendor-notice-actions{display:flex;gap:7px;flex-wrap:wrap;flex:0 0 auto}
.vendor-notice-actions .btn{font-size:12px;padding:8px 11px;min-height:36px}
.vendor-notice-empty{padding:16px;border:1px dashed var(--line);border-radius:12px;color:var(--muted);font-size:13px;line-height:1.5}
@media(max-width:640px){.vendor-notice{display:block}.vendor-notice-actions{margin-top:10px}.vendor-notice-actions .btn{flex:1;justify-content:center;text-align:center}.vendor-notifications .section-head>.btn{width:auto;min-width:88px}}
html[data-theme="dark"] .vendor-notifications{background:var(--surface);color:var(--text)}