* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background: #f3f4f6;
  color: #111827;
  line-height: 1.5;
  text-rendering: geometricPrecision;
}
.topbar h1,
.card h2,
.card h3,
.modal-card h2,
.modal-card h3 {
  line-height: 1.15;
  letter-spacing: 0;
  color: #061a35;
}
.card h2,
.modal-card h2 { font-size: 26px; margin: 0 0 16px; font-weight: 850; }
.card h3,
.modal-card h3 { font-size: 22px; margin: 18px 0 12px; font-weight: 800; }
p { margin-top: 0; }
.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  background: #111827;
  color: #fff;
}
.topbar-spacer { min-width: 0; }
.topbar-center { text-align: center; }
.topbar h1 { margin: 0 0 6px 0; font-size: 31px; font-weight: 850; color: #fff; }
.subtitle { margin: 0; color: #d6deeb; font-size: 14px; line-height: 1.35; }
.hero-slogan { margin: 10px 0 0; color: #fff; font-size: 16px; line-height: 1.3; font-weight: 800; }
.topbar-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-self: end; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
.map-section { padding: 16px; position: relative; display: flex; flex-direction: column; gap: 16px; }
#map {
  width: 100%;
  min-height: 520px;
  height: calc(100vh - 210px);
  background: #dbeafe;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(17, 24, 39, 0.08);
}
.map-underlay-card { padding: 18px 20px; }
.map-underlay-card h2 { margin: 0 0 8px; font-size: 20px; }
.map-underlay-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.map-underlay-pill { background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 999px; padding: 10px 14px; font-size: 14px; }
.side-panel { padding: 16px 16px 16px 0; display: flex; flex-direction: column; gap: 16px; }
.card { background: #fff; border-radius: 16px; padding: 18px; box-shadow: 0 10px 25px rgba(17, 24, 39, 0.08); }
.stack { display: flex; flex-direction: column; gap: 12px; }
.muted { color: #607089; font-size: 18px; line-height: 1.38; }
.profile-name { font-weight: 700; margin-bottom: 10px; }
.btn { border: none; border-radius: 12px; padding: 11px 15px; cursor: pointer; font-size: 15px; }
.btn:disabled { opacity: .65; cursor: wait; }
.btn.primary { background: #22c55e; color: white; }
.btn.secondary { background: #2563eb; color: white; }
.btn.ghost { background: #374151; color: white; }
.hidden { display: none !important; }
.footer { padding: 14px 20px 18px; background: #fff; border-top: 1px solid #e5e7eb; }
.footer-links { display: flex; gap: 16px; margin-bottom: 10px; flex-wrap: wrap; }
.footer-links a { color: #2563eb; text-decoration: none; }
.footer-links-dark { justify-content:center; margin: 0 0 24px; }
.footer-links-dark a { color:#d1d5db; }
.footer-links-dark a:hover { color:#fff; }
.footer-logo-card { min-height: 112px; border: 1px solid #e5e7eb; border-radius: 18px; display: flex; align-items: center; justify-content: center; background: #fff; box-shadow: 0 18px 35px rgba(17, 24, 39, 0.08); overflow: hidden; }
.benchmap-logo { width: min(100%, 520px); height: auto; display: block; padding: 14px 18px; }
.benchmap-logo__soft { fill: #d9f6ef; }
.benchmap-logo__pin { fill: #28b889; }
.benchmap-logo__eye, .benchmap-logo__bench { fill: #1f2937; stroke: #1f2937; }
.benchmap-logo__smile { stroke: #1f2937; }
.benchmap-logo__tree, .benchmap-logo__tree-top { fill: #48c399; stroke: #1f2937; }
.benchmap-logo__text { fill: #202833; font-family: Arial, sans-serif; font-size: 58px; font-weight: 800; }
.benchmap-logo__text tspan { fill: #28b889; }
.modal { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.55); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 5000; }
.modal-card { position: relative; width: 100%; max-width: 420px; background: #fff; border-radius: 18px; padding: 24px; max-height: 90vh; overflow: auto; }
.modal-card.wide { max-width: 760px; }
.bench-modal-card { max-width: 900px; }
.close-x { position: absolute; right: 12px; top: 10px; border: none; background: transparent; font-size: 28px; cursor: pointer; }
.tabs { display: flex; gap: 10px; margin-bottom: 16px; }
.tab { border: none; background: #e5e7eb; border-radius: 10px; padding: 10px 12px; cursor: pointer; }
.tab.active { background: #111827; color: white; }
.modal-card input:not([type="checkbox"]):not([type="radio"]),
.modal-card textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid #d1d5db; font: inherit; font-size: 15px; }
.check input[type="checkbox"] { width: auto; padding: 0; }
.check { font-size: 14px; color: #374151; }
.check a { color: #2563eb; }
.message { margin-top: 12px; min-height: 18px; color: #1d4ed8; }
.preview { width: 100%; max-height: 260px; object-fit: cover; border-radius: 14px; border: 1px solid #d1d5db; }
.coords { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.submission-item, .notification-item { border: 1px solid #e5e7eb; border-radius: 14px; padding: 12px; background: #f9fafb; }
.submission-item img { width: 100%; height: 180px; object-fit: cover; border-radius: 10px; margin-bottom: 10px; }
.compact-item img { height: 120px; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.reason-box { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.status-pill { display: inline-block; padding: 5px 9px; border-radius: 999px; font-size: 12px; background: #e5e7eb; }
.status-pending { background: #fef3c7; color: #92400e; }
.status-approved { background: #dcfce7; color: #166534; }
.status-rejected { background: #fee2e2; color: #991b1b; }
.page-doc { max-width: 900px; margin: 0 auto; padding: 32px 20px 60px; line-height: 1.6; }
.page-doc h1, .page-doc h2 { color: #111827; }
.reason-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.reason-chip { border: 1px solid #d1d5db; background: #fff; color: #111827; border-radius: 999px; padding: 8px 12px; cursor: pointer; font-size: 13px; }
.reason-chip:hover { background: #eff6ff; border-color: #93c5fd; }
.toggle-line { display:block; margin-top:8px; }
.small-note { font-size: 13px; margin-top: 6px; }
.small-message { min-height: 16px; margin-top: 8px; }
.leader-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid #eef2f7; }
.leader-row:last-child { border-bottom: none; }
.bench-meta { margin: 8px 0 14px; color: #475569; }
.bench-modal-summary { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0 18px; }
.bench-modal-summary > span,
.bench-modal-rating { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 5px 9px; border-radius: 999px; background: #f1f5f9; color: #475569; font-size: 13px; font-weight: 750; }
.bench-modal-rating { background: #fff7ed; color: #9a3412; }
.bench-modal-rating .bench-balloon__stars { font-size: 14px; }
.bench-modal-rating b { color: #111827; font-size: 13px; }
.bench-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 18px; }
.bench-photo-btn { width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; display: block; border-radius: 14px; }
.bench-photo-btn img { width: 100%; height: 180px; object-fit: cover; border-radius: 14px; background: #e5e7eb; display: block; border: 1px solid #dbe7f4; transition: transform .15s ease, box-shadow .15s ease; }
.bench-photo-btn:hover img { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(17, 24, 39, 0.14); }
.photo-viewer { z-index: 8000; background: rgba(2, 6, 23, 0.88); padding: 18px; }
.photo-viewer__frame { position: relative; width: min(100%, 1100px); height: min(92vh, 760px); display: flex; align-items: center; justify-content: center; }
.photo-viewer__frame img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 16px; box-shadow: 0 24px 80px rgba(0,0,0,.45); background: #fff; }
.photo-viewer__close { color: #fff; background: rgba(15, 23, 42, .72); border-radius: 999px; width: 44px; height: 44px; right: 6px; top: 6px; z-index: 1; line-height: 1; }
.bench-section { margin-top: 18px; }
.rating-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.rating-btn { border: 1px solid #cbd5e1; background: #fff; padding: 10px 14px; border-radius: 10px; cursor: pointer; }
.rating-btn.active { background: #111827; color: #fff; border-color: #111827; }
.comments-list { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.comment-item { border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px; background: #f8fafc; }
.comment-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.small-btn { padding: 2px 8px !important; font-size: 12px !important; border-radius: 8px !important; }
.admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.admin-tab { border: 1px solid #d1d5db; background: #f3f4f6; color: #374151; border-radius: 10px; padding: 7px 12px; cursor: pointer; font-size: 13px; }
.admin-tab.active { background: #111827; color: white; border-color: #111827; }
.admin-bench-actions { border: 1px solid #fecaca; border-radius: 12px; padding: 12px; background: #fff5f5; }
.bench-balloon { width: 280px; font-family: "Segoe UI", Roboto, Arial, sans-serif; color: #111827; }
.bench-balloon__media { width: 100%; display: block; }
.bench-balloon__media img { width: 100%; height: 150px; object-fit: cover; border-radius: 14px; background: #dbeafe; display: block; border: 1px solid #dbe7f4; }
.bench-balloon__body { padding-top: 12px; }
.bench-balloon__title { font-size: 18px; font-weight: 800; line-height: 1.2; margin-bottom: 10px; }
.bench-balloon__rating { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.bench-balloon__stars { display: inline-flex; gap: 1px; font-size: 19px; line-height: 1; }
.star-filled { color: #f59e0b; text-shadow: 0 1px 0 rgba(17, 24, 39, 0.18); }
.star-empty { color: #cbd5e1; }
.bench-balloon__score { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; padding: 4px 8px; border-radius: 999px; background: #ecfdf5; color: #047857; font-weight: 800; font-size: 14px; }
.bench-balloon__stats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.bench-balloon__stats span { padding: 5px 9px; border-radius: 999px; background: #f1f5f9; color: #475569; font-size: 13px; font-weight: 700; }
.bench-balloon__open { width: 100%; border: 0; border-radius: 12px; background: #22c55e; color: #fff; padding: 11px 14px; font-size: 14px; font-weight: 800; cursor: pointer; box-shadow: 0 8px 18px rgba(34, 197, 94, 0.24); }
.bench-balloon__open:hover { background: #16a34a; }
@media (max-width: 1000px) {
  .topbar {
    grid-template-columns: 1fr;
  }
  .topbar-center {
    order: -1;
  }
  .topbar-actions {
    justify-self: center;
  }
  .subtitle {
    font-size: 13px;
  }
  .hero-slogan {
    font-size: 14px;
  }
  .layout { grid-template-columns: 1fr; }
  .side-panel { padding: 0 16px 16px; }
  #map { height: 60vh; }
}

.inline-row { display:flex; gap:10px; align-items:center; }
.inline-row input { flex:1; }
.verification-row button { white-space:nowrap; }
@media (max-width: 640px) {
  .inline-row { flex-direction:column; align-items:stretch; }
}


.site-footer{padding:56px 20px 42px;background:#0f0f10;color:#fff;text-align:center;margin-top:48px}
.footer-socials{display:flex;justify-content:center;gap:22px;margin-bottom:34px}
.social-circle{width:74px;height:74px;border-radius:999px;background:#fff;color:#111;display:flex;align-items:center;justify-content:center;text-decoration:none;transition:transform .15s ease,opacity .15s ease}
.social-circle:hover{transform:translateY(-2px);opacity:.92}
.social-circle svg{width:34px;height:34px}
.footer-copy{font-size:clamp(28px,6vw,72px);letter-spacing:.04em;font-weight:300;line-height:1.05}
@media (max-width: 640px){.site-footer{padding:42px 16px 34px}.social-circle{width:64px;height:64px}.footer-copy{font-size:48px}}


.cookie-banner{position:fixed;left:20px;bottom:20px;z-index:7000;background:#111827;color:#fff;border-radius:18px;padding:16px 18px;box-shadow:0 20px 40px rgba(0,0,0,.28);display:flex;gap:16px;align-items:center;justify-content:space-between;width:min(560px,calc(100% - 40px));border:1px solid rgba(255,255,255,.12)}.cookie-banner a{color:#93c5fd}.cookie-banner__text{font-size:14px;line-height:1.5;display:flex;flex-direction:column;gap:2px}.cookie-banner__text b{font-size:16px;color:#fff}.cookie-banner__actions{display:flex;align-items:center;gap:10px;flex-shrink:0}@media (max-width: 640px){.cookie-banner{left:12px;right:12px;bottom:12px;width:auto;flex-direction:column;align-items:stretch}.cookie-banner__actions{justify-content:stretch}.cookie-banner__actions .btn{width:100%}.bench-balloon{width:240px}.bench-balloon__media img{height:128px}}

.collapse-btn { border: none; background: transparent; cursor: pointer; color: #6b7280; font-size: 13px; padding: 2px 6px; border-radius: 6px; line-height: 1; }
.collapse-btn:hover { background: #f3f4f6; color: #111827; }
.my-submission-delete-btn { margin-top: 8px; }
