@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',system-ui,-apple-system,Segoe UI,sans-serif;color:#142744;background:#f5f7fb}*{box-sizing:border-box}body{margin:0}a{color:#174e91;text-decoration:none}a:hover{text-decoration:none;color:#d91b2c}.wrap{max-width:1200px;margin:auto;padding:0 24px}.top{background:#fff;border-bottom:1px solid #e6ebf2;box-shadow:0 3px 22px #0b24400b}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:90px}.brand{display:block;flex:0 0 auto}.brand img{width:230px;height:77px;object-fit:contain;display:block}.top nav{display:flex;align-items:center;gap:26px;flex-wrap:wrap}.top nav a{color:#142744;font-weight:700;font-size:14px}.top nav a:hover{color:#df1d2b}.top nav .nav-cta{background:#e31d2b;color:#fff;padding:12px 18px;border-radius:11px}.main{padding:30px 24px 65px}.hero{background:radial-gradient(circle at 90% 18%,#24598e 0,transparent 33%),linear-gradient(120deg,#0c2447,#123e70);border-radius:24px;color:#fff;padding:58px 55px;display:flex;align-items:center;gap:35px;min-height:385px;overflow:hidden;position:relative}.hero-copy{flex:1;position:relative;z-index:1}.eyebrow,.section-kicker{font-size:12px;text-transform:uppercase;letter-spacing:2px;font-weight:800;color:#e51d2e}.hero .eyebrow{color:#ffb8c0}.hero h1{font-size:clamp(32px,4vw,53px);line-height:1.09;letter-spacing:-1.8px;max-width:690px;margin:16px 0}.hero h1 span{color:#ff5262}.hero p{font-size:17px;color:#d9e6f6;line-height:1.6;max-width:600px}.hero-search{display:flex;gap:8px;background:#fff;border-radius:13px;padding:7px;margin-top:25px;max-width:640px;box-shadow:0 12px 35px #051e3960}.hero-search input{border:0;min-width:0;flex:1;padding:12px 14px;outline:0}.hero-search button{white-space:nowrap}.hero-links{display:flex;gap:24px;flex-wrap:wrap;margin-top:21px}.hero-links a{color:#fff;font-size:14px;font-weight:700}.hero-symbol{flex:0 0 220px;display:grid;justify-items:center;gap:16px;text-align:center;color:#fff}.hero-symbol strong{font-size:19px;line-height:1.3}.target-mark{width:185px;height:185px;border-radius:50%;background:#e51d2e;border:14px solid #f8fbff;box-shadow:0 0 0 12px #d51a2b,0 0 0 24px #ffffff20;display:grid;place-items:center}.target-mark>div{width:108px;height:108px;border-radius:50%;background:#fff;display:grid;place-items:center}.target-mark>div>div{width:62px;height:62px;border-radius:50%;background:#e51d2e;display:grid;place-items:center}.target-mark span{font-size:35px;color:white}.quick-links{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:24px 0 48px}.quick-links a{background:white;border:1px solid #e2e9f2;border-radius:17px;padding:22px;display:flex;align-items:center;gap:14px;box-shadow:0 5px 22px #17345b08;color:#162c4c}.quick-links strong,.quick-links small{display:block}.quick-links small{color:#6b7b91;margin-top:4px;font-size:12px}.quick-links b{margin-left:auto;color:#e51d2e}.quick-icon{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;background:#fce9ec;border-radius:12px;color:#d81d2b;font-size:24px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:35px 0 18px}.section-heading h2{margin:7px 0 0;font-size:27px;letter-spacing:-.5px}.section-heading>a{font-weight:800;font-size:14px}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:18px}.card{background:white;border-radius:17px;overflow:hidden;border:1px solid #e1e8f0;box-shadow:0 6px 24px #1229450b;transition:transform .2s,box-shadow .2s}.card:hover{transform:translateY(-3px);box-shadow:0 12px 30px #12294516}.card img{width:100%;height:190px;object-fit:cover}.placeholder{height:190px;background:linear-gradient(135deg,#e1ebf8,#f3f6fa);display:grid;place-items:center;color:#7b92b0;font-size:46px}.card .content{padding:18px}.card h3{margin:0 0 9px;font-size:17px}.card h3 a{color:#162c4c}.muted{color:#69798e}.price{font-weight:800;color:#d71c2a}.empty-state{grid-column:1/-1;border:1px dashed #cad5e4;border-radius:16px;background:#fff;padding:32px;color:#65758a}.empty-state a{font-weight:800}.bottom-banner{margin-top:56px;background:#eaf0f9;border-radius:20px;padding:32px 38px;display:flex;align-items:center;justify-content:space-between;gap:20px}.bottom-banner h2{margin:8px 0;font-size:25px}.bottom-banner p{color:#64758a}.panel{background:white;padding:25px;border:1px solid #e0e7f0;border-radius:16px;margin:20px 0;box-shadow:0 5px 22px #11253b07}.filters,.formgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}label{display:block;font-weight:700;font-size:14px;margin-bottom:6px}input,select,textarea{width:100%;padding:12px;border:1px solid #b9c8d9;border-radius:10px;font:inherit;background:white}textarea{min-height:130px}.btn,button{display:inline-block;background:#e31d2b;color:white;border:0;border-radius:10px;padding:12px 18px;font:inherit;font-weight:700;cursor:pointer}.btn:hover,button:hover{background:#bf1422;color:#fff}.btn.secondary{background:#eaf0fa;color:#173d6b}.actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.alert{padding:12px 15px;background:#fff0dd;border-radius:8px;margin:16px 0}.success{background:#e4f7e8}.detailimg{width:100%;max-height:440px;object-fit:contain;background:#eef3f8;border-radius:12px}.footer{background:#0d2546;color:#d9e5f2;padding:34px 0}.footer a{color:white}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse}td,th{padding:12px;border-bottom:1px solid #e2e7ef;text-align:left}.small{font-size:13px}h2{margin-top:30px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:900px){.header-inner{flex-direction:column;padding-top:10px;padding-bottom:16px;gap:4px}.top nav{justify-content:center;gap:16px}.hero-symbol{display:none}.hero{padding:42px 30px}.quick-links{grid-template-columns:1fr}.brand img{width:205px;height:70px}}@media(max-width:560px){.wrap{padding-left:15px;padding-right:15px}.main{padding-top:16px}.top nav{gap:11px}.top nav a{font-size:12px}.hero{padding:30px 21px;border-radius:17px;min-height:0}.hero h1{font-size:32px;letter-spacing:-1px}.hero p{font-size:15px}.hero-search{flex-direction:column}.hero-search button{width:100%}.quick-links{gap:10px;margin-bottom:32px}.quick-links a{padding:15px}.section-heading h2{font-size:22px}.bottom-banner{padding:25px;flex-direction:column;align-items:flex-start}}

/* Mobile-first enhancements: desktop styles above retained */
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}body{min-width:320px}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,.btn{min-height:44px}input,select,textarea{font-size:16px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #f04b56;outline-offset:3px}.mobile-bottom-nav{display:none}
@media(max-width:700px){
 body{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
 .wrap{padding-left:14px;padding-right:14px}
 .top{position:sticky;top:0;z-index:30;box-shadow:0 2px 12px #0b244018}
 .header-inner{min-height:60px;padding-top:4px;padding-bottom:5px;flex-direction:row;gap:8px}
 .brand img{width:154px;height:52px}
 .top nav{justify-content:flex-end;gap:8px;flex-wrap:nowrap;max-width:calc(100vw - 184px);overflow-x:auto;scrollbar-width:none}
 .top nav::-webkit-scrollbar{display:none}
 .top nav a{font-size:12px;white-space:nowrap;padding:10px 3px}
 .top nav a[href*="listings"],.top nav a[href*="businesses"],.top nav a[href*="dashboard"],.top nav a[href*="admin"],.top nav a[href*="logout"]{display:none}
 .top nav .nav-cta{padding:9px 11px;border-radius:9px}
 .main{padding-top:12px;padding-bottom:35px}
 .hero{padding:25px 19px;border-radius:18px;min-height:auto;margin:0}
 .hero h1{font-size:clamp(27px,7.7vw,38px);line-height:1.12;letter-spacing:-.7px;margin:12px 0}
 .hero p{font-size:14px;line-height:1.5}
 .hero-search{margin-top:17px;box-shadow:none;flex-direction:column;padding:7px}
 .hero-search input{width:100%;min-height:46px}
 .hero-search button{width:100%;min-height:46px}
 .hero-links{gap:12px;margin-top:16px}
 .quick-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:15px 0 26px}
 .quick-links a{padding:12px 10px;gap:8px;min-width:0;min-height:72px}
 .quick-links .quick-icon{width:35px;height:35px;flex-basis:35px;font-size:19px}
 .quick-links strong{font-size:12px}.quick-links small{font-size:10px;line-height:1.25}.quick-links b{display:none}
 .section-heading{margin:23px 0 13px;align-items:center}.section-heading h2{font-size:20px}.section-heading>a{font-size:12px}
 .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .card{border-radius:13px;min-width:0}.card img,.placeholder{height:auto;aspect-ratio:4/3;object-fit:cover}.card .content{padding:11px}.card h3{font-size:13px;line-height:1.35;margin-bottom:5px;overflow-wrap:anywhere}.card .muted{font-size:11px;margin:5px 0}.card .price{font-size:13px;margin:7px 0}
 .panel{padding:15px;margin:14px 0}.filters,.formgrid{grid-template-columns:1fr;gap:10px}.filters button{width:100%}
 .bottom-banner{padding:19px;gap:10px;margin-top:30px}.bottom-banner h2{font-size:20px}
 .actions .btn{flex:1 1 auto;text-align:center}
 .mobile-bottom-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;z-index:50;background:#fff;border-top:1px solid #dbe4ef;box-shadow:0 -5px 22px #0d254614;padding:6px 4px calc(6px + env(safe-area-inset-bottom,0px));min-height:69px}
 .mobile-bottom-nav a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1px;min-width:0;color:#17375f;font-weight:700;min-height:53px}
 .mobile-bottom-nav a span{font-size:25px;line-height:1.15}.mobile-bottom-nav a small{font-size:10px}
 .mobile-bottom-nav .mobile-add span{width:42px;height:42px;border-radius:14px;background:#e31d2b;color:#fff;display:grid;place-items:center;font-size:29px;box-shadow:0 4px 12px #e31d2b44}
 .footer{padding:22px 0;font-size:12px}.tablewrap{overflow-x:auto;-webkit-overflow-scrolling:touch}table{min-width:460px}
}
@media(max-width:365px){.brand img{width:130px}.top nav{max-width:calc(100vw - 152px)}.quick-links{grid-template-columns:1fr}.cards{gap:7px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
