:root{
  --bg:#f5f7fb;--card:#fff;--text:#1b2430;--muted:#64748b;--line:#d8e0ea;
  --accent:#1d4ed8;--accent-soft:#dbeafe;--danger:#b91c1c;
}
*{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,sans-serif;background:var(--bg);color:var(--text)}
.wrap{width:min(1200px,calc(100% - 2rem));margin:0 auto}
.site-header{background:#0f172a;color:#fff;padding:1rem 0;margin-bottom:1rem}
.topbar{display:flex;justify-content:space-between;gap:1rem;align-items:center;flex-wrap:wrap}
.nav{display:flex;gap:1rem;flex-wrap:wrap}
.nav a{color:#fff;text-decoration:none}
.card,.subcard{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:1rem;box-shadow:0 10px 30px rgba(15,23,42,.05);margin-bottom:1rem}
.subcard{margin-bottom:0}
.hero{display:flex;align-items:center}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.form-grid label,.stack label{display:grid;gap:.4rem;font-weight:600}
input,select,textarea,button{font:inherit}
input,select,textarea{width:100%;padding:.8rem .9rem;border-radius:12px;border:1px solid var(--line);background:#fff}
textarea{min-height:120px}
button{border:0}
.actions,.inline{display:flex;gap:.7rem;flex-wrap:wrap;align-items:center}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:.85rem 1.1rem;border-radius:12px;background:var(--accent);color:#fff;text-decoration:none;cursor:pointer}
.btn.alt{background:var(--accent-soft);color:var(--accent)}
.btn.danger{background:var(--danger)}
.stack{display:grid;gap:.8rem}
.flash-stack{display:grid;gap:.6rem;margin-bottom:1rem}
.flash{padding:.8rem 1rem;border-radius:12px}
.flash.success{background:#dcfce7;color:#166534}
.flash.error{background:#fee2e2;color:#991b1b}
.badge{display:inline-block;padding:.4rem .7rem;border-radius:999px;background:#e2e8f0}
.badge.danger{background:#fee2e2;color:#991b1b}
.muted{color:var(--muted)}
#map{height:65vh;border-radius:16px}
.list-item{border:1px solid var(--line);border-radius:14px;padding:.8rem}
.table-wrap{overflow:auto}
table{width:100%;border-collapse:collapse}
th,td{text-align:left;padding:.75rem;border-bottom:1px solid var(--line);vertical-align:top}
.cookie-banner{position:fixed;left:1rem;right:1rem;bottom:1rem;background:#111827;color:#fff;border-radius:18px;padding:1rem;display:flex;gap:1rem;justify-content:space-between;align-items:center;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.hidden{display:none}
.narrow{max-width:560px;margin:0 auto 1rem}
.hr-title{grid-column:1/-1;padding-top:.4rem;font-weight:700}
.full{grid-column:1/-1}
.prose p{line-height:1.65}
.hub-image-wrap{position:relative;margin:.8rem 0}
.hub-image{width:100%;border-radius:14px;border:1px solid var(--line)}
.admin-preview{max-height:260px;object-fit:cover}
.hub-dot{position:absolute;width:14px;height:14px;border-radius:50%;background:#ef4444;border:2px solid #fff;transform:translate(-50%,-50%);box-shadow:0 0 0 2px rgba(239,68,68,.25)}
.mt{margin-top:1rem}.mb{margin-bottom:.75rem}
.danger-zone{border-color:#fecaca}
@media (max-width:900px){
  .grid2,.form-grid{grid-template-columns:1fr}
  #map{height:52vh}
  .cookie-banner{flex-direction:column;align-items:flex-start}
}
.brand-link{color:#fff;text-decoration:none}
.brand-link:hover{text-decoration:underline}
.site-footer{padding:0 0 2rem;color:var(--muted)}
.footer-flex{display:flex;gap:1rem;flex-wrap:wrap;justify-content:space-between}
.footer-flex a{color:inherit}
.soft{background:#f8fafc}
.wizard-nav{display:flex;gap:.6rem;flex-wrap:wrap}
.wizard-pill{border:1px solid var(--line);background:#fff;color:var(--text);padding:.65rem .9rem;border-radius:999px;cursor:pointer}
.wizard-pill.active{background:var(--accent);color:#fff;border-color:var(--accent)}
.step-hidden{display:none}
.wizard-inline-note{display:flex;align-items:end;color:var(--muted)}
.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem}
.category-chip{display:flex !important;align-items:center;gap:.55rem;padding:.75rem;border:1px solid var(--line);border-radius:14px;background:#fff;font-weight:500}
.category-chip input{width:auto}
.emoji{font-size:1.2rem;line-height:1}
.summary-card{border:1px solid var(--line);border-radius:14px;padding:.8rem}
.map-compact{height:320px;border-radius:16px;overflow:hidden}
.stand-card h3,.stand-detail-card h3{margin-top:0}
.actions form{margin:0}
@media (max-width:900px){
  .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:520px){
  .category-grid{grid-template-columns:1fr}
}
