:root {
  --bg: #f5f5f2;
  --surface: #fff;
  --surface-2: #f0f0ed;
  --text: #11110f;
  --muted: #71716c;
  --line: #dcdcd6;
  --primary: #11110f;
  --accent: #315efb;
  --danger: #b42318;
  --warn: #b54708;
  --success: #087a55;
  --radius: 4px;
  --max: 1480px;
  --base-font-size: 16px;
  --font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--bg); font: var(--base-font-size)/1.55 var(--font-family); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .55em; font-weight: 600; line-height: 1.08; letter-spacing: -.045em; }
p { margin: 0 0 1em; }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.page { min-height: calc(100vh - 280px); }
.site-header { position: sticky; z-index: 30; top: 0; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); }
.nav { display: grid; grid-template-columns: minmax(180px,1fr) auto minmax(180px,1fr); align-items: center; min-height: 76px; gap: 28px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; width: fit-content; font-size: 18px; font-weight: 700; letter-spacing: -.035em; }
.wordmark-mark { display: grid; place-items: center; width: 32px; height: 32px; color: #fff; background: var(--text); border-radius: 3px; font-size: 14px; }
.nav-center, .nav-actions, .nav-links { display: flex; align-items: center; gap: 25px; }
.nav-center { justify-content: center; }
.nav-center a, .nav-actions > a { color: var(--muted); font-size: 13px; font-weight: 500; }
.nav-center a:hover, .nav-actions > a:hover { color: var(--text); }
.nav-actions { justify-content: flex-end; }
.nav-actions .btn { color: #fff; }
.nav-toggle { display: none; border: 0; background: transparent; font-size: 24px; }
.mobile-nav-extra { display: none; }
.language-menu { position: relative; }
.language-menu summary { display: flex; align-items: center; gap: 7px; cursor: pointer; list-style: none; font-size: 12px; }
.language-menu summary span { font-weight: 700; }
.language-menu summary small { color: var(--muted); }
.language-popover { position: absolute; z-index: 40; top: calc(100% + 16px); right: 0; width: 190px; padding: 7px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 18px 45px rgba(0,0,0,.1); }
.language-popover a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 2px; font-size: 13px; }
.language-popover a:hover, .language-popover a.active { background: var(--surface-2); }
.language-popover span { width: 25px; color: var(--muted); font-size: 10px; font-weight: 700; }
.discovery-hero { background: #fff; border-bottom: 1px solid var(--line); }
.hero-split { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 620px; border-inline: 1px solid var(--line); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 80px clamp(35px,6vw,105px); border-right: 1px solid var(--line); }
.section-kicker { display: block; margin-bottom: 18px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { display: inline-flex; margin-bottom: 18px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero-copy h1 { max-width: 700px; font-size: clamp(52px,6vw,94px); font-weight: 500; letter-spacing: -.075em; }
.hero-copy > p { max-width: 620px; margin-top: 19px; color: var(--muted); font-size: 19px; }
.search-box { position: relative; display: flex; max-width: 680px; margin-top: 40px; border-bottom: 1px solid var(--text); background: #fff; }
.search-box input { width: 100%; min-height: 55px; padding: 0 5px; border: 0; outline: 0; background: transparent; font-size: 17px; }
.search-box .btn { margin-bottom: 6px; }
.search-results { position: absolute; z-index: 40; top: calc(100% + 8px); right: 0; left: 0; display: none; max-height: 370px; overflow: auto; border: 1px solid var(--line); background: #fff; box-shadow: 0 18px 44px rgba(0,0,0,.1); }
.search-results.open { display: block; }
.search-result { display: flex; align-items: center; gap: 13px; padding: 13px 14px; border-bottom: 1px solid var(--line); }
.search-result:hover { background: var(--surface-2); }
.search-result small { display: block; color: var(--muted); }
.hero-links { display: flex; gap: 25px; margin-top: 24px; color: var(--muted); font-size: 13px; }
.hero-links a:hover { color: var(--accent); }
.hero-directory { display: flex; flex-direction: column; justify-content: flex-end; padding: 55px; background: var(--surface-2); }
.directory-label { display: flex; justify-content: space-between; padding-bottom: 16px; color: var(--muted); border-bottom: 1px solid #cecec8; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.directory-list a { display: grid; grid-template-columns: 40px 1fr auto 25px; align-items: center; gap: 12px; min-height: 76px; border-bottom: 1px solid #cecec8; transition: padding .16s, background .16s; }
.directory-list a:hover { padding-inline: 10px; background: #fff; }
.directory-list strong { font-size: 20px; font-weight: 500; }
.directory-list small, .directory-index { color: var(--muted); font-size: 12px; }
.stats-strip { background: #fff; border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4,1fr); border-inline: 1px solid var(--line); }
.stat { padding: 27px 35px; border-right: 1px solid var(--line); }
.stat:last-child { border: 0; }
.stat strong { display: block; font-size: 28px; font-weight: 500; letter-spacing: -.05em; }
.stat span { color: var(--muted); font-size: 12px; }
.section { padding: 90px 0; }
.section.white { background: #fff; }
.hero { padding: 95px 0; border-bottom: 1px solid var(--line); background: #fff; }
.hero-inner { max-width: 900px; margin: auto; text-align: center; }
.hero-inner h1 { font-size: clamp(48px,7vw,88px); font-weight: 500; }
.hero-inner > p { max-width: 680px; margin: 18px auto; color: var(--muted); font-size: 18px; }
.section-muted { background: var(--surface-2); border-block: 1px solid var(--line); }
.section-lined { background: #fff; border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 35px; }
.section-head h2 { margin: 0; font-size: clamp(36px,4vw,58px); font-weight: 500; }
.section-head p { max-width: 620px; color: var(--muted); }
.text-link { padding-bottom: 3px; border-bottom: 1px solid var(--text); font-size: 13px; font-weight: 600; }
.business-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.business-tile { min-width: 0; background: #fff; }
.business-tile-visual { position: relative; display: grid; place-items: center; min-height: 235px; overflow: hidden; background: #f1f1ee; }
.business-tile-visual .business-logo { width: 104px; height: 104px; font-size: 27px; }
.tile-arrow { position: absolute; top: 18px; right: 18px; font-size: 18px; }
.verified-mark { position: absolute; bottom: 16px; left: 16px; padding: 4px 7px; color: var(--success); background: #fff; border: 1px solid var(--line); border-radius: 2px; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.business-tile-body { display: flex; justify-content: space-between; gap: 14px; padding: 20px; }
.business-tile h3 { margin: 0 0 3px; font-size: 19px; font-weight: 600; }
.business-tile small { color: var(--muted); font-size: 11px; }
.tile-rating { flex: 0 0 auto; text-align: right; }
.tile-rating > b { display: block; font-size: 19px; }
.tile-rating .stars { display: block; font-size: 11px; }
.reviews-feature { display: grid; grid-template-columns: minmax(250px,.55fr) minmax(0,1fr); gap: clamp(45px,8vw,130px); align-items: start; }
.reviews-intro { position: sticky; top: 115px; }
.reviews-intro h2 { font-size: clamp(40px,5vw,72px); font-weight: 500; }
.reviews-intro p { max-width: 420px; color: var(--muted); }
.review-stack-list { display: grid; gap: 22px; }
.review-paper { position: relative; z-index: 1; display: block; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.review-paper::before, .review-paper::after { position: absolute; z-index: -1; right: 10px; bottom: -6px; left: 10px; height: 10px; content: ""; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); background: #f8f8f6; }
.review-paper::after { right: 20px; bottom: -11px; left: 20px; height: 5px; background: #ecece8; }
.review-paper.compact { padding: 25px; }
.review-paper.compact:hover { border-color: #9c9c96; }
.review-paper-top { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.review-paper-top > div { display: flex; align-items: center; gap: 12px; }
.review-paper-top small, .review-author small { display: block; color: var(--muted); font-size: 11px; }
.review-paper h3 { font-size: 25px; font-weight: 550; }
.review-paper > p { color: #444440; }
.review-more, .review-footer > a { display: inline-block; margin-top: 8px; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 12px; }
.review-author { display: flex; align-items: center; gap: 11px; }
.avatar-small { width: 42px; height: 42px; flex: 0 0 42px; object-fit: cover; border-radius: 50%; background: var(--surface-2); }
.avatar-fallback { display: grid; place-items: center; font-weight: 700; }
.review-images { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; margin-top: 20px; }
.review-images button, .side-gallery button { padding: 0; overflow: hidden; border: 0; background: transparent; }
.review-images img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .2s; }
.review-images button:hover img { transform: scale(1.025); }
.reply { margin-top: 24px; padding: 18px; border-left: 2px solid var(--accent); background: #f1f3fb; }
.reply b { font-size: 12px; }
.reply p { margin: 6px 0 0; }
.review-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.review-footer form { margin: 0; }
.link-danger { padding: 0; border: 0; color: var(--danger); background: transparent; font-size: 12px; }
.report-menu { position: relative; color: var(--muted); font-size: 12px; }
.report-menu summary { cursor: pointer; }
.report-menu form { position: absolute; z-index: 5; right: 0; display: flex; width: 360px; padding: 10px; border: 1px solid var(--line); background: #fff; }
.editorial-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px; }
.editorial-card { position: relative; padding-top: 15px; border-top: 1px solid var(--text); }
.editorial-card img { width: 100%; aspect-ratio: 16/10; margin-bottom: 18px; object-fit: cover; filter: saturate(.8); }
.editorial-card > small { color: var(--muted); }
.editorial-card h3 { margin-top: 11px; font-size: 24px; }
.editorial-card p { color: var(--muted); font-size: 13px; }
.editorial-card > span { position: absolute; top: 12px; right: 0; }
.page-head { padding: 70px 0 42px; border-bottom: 1px solid var(--line); background: #fff; }
.page-head h1 { max-width: 950px; font-size: clamp(42px,6vw,82px); font-weight: 500; }
.page-head p { max-width: 720px; color: var(--muted); }
.narrow-head { max-width: 1050px; }
.back-link { display: block; margin-bottom: 30px; color: var(--muted); font-size: 12px; }
.business-profile-head { padding: 65px 0; border-bottom: 1px solid var(--line); background: #fff; }
.business-profile-grid { display: grid; grid-template-columns: 180px minmax(0,1fr) auto; gap: 40px; align-items: center; }
.business-profile-mark { display: grid; place-items: center; width: 180px; height: 180px; background: var(--surface-2); }
.business-profile-mark .business-logo { width: 105px; height: 105px; font-size: 27px; }
.business-logo { width: 48px; height: 48px; flex: 0 0 48px; object-fit: cover; border: 1px solid var(--line); border-radius: 3px; background: var(--surface-2); }
.text-logo { display: grid; place-items: center; color: hsl(var(--logo-hue) 48% 23%); background: hsl(var(--logo-hue) 38% 89%); font-weight: 750; letter-spacing: -.05em; }
.business-profile-copy h1 { margin: 5px 0 8px; font-size: clamp(48px,6vw,86px); font-weight: 500; }
.business-profile-copy > p { max-width: 660px; color: var(--muted); }
.meta-line { display: flex; gap: 15px; color: var(--muted); font-size: 11px; font-weight: 600; text-transform: uppercase; }
.profile-rating { display: flex; align-items: center; gap: 13px; margin-top: 23px; }
.profile-rating > strong { font-size: 37px; font-weight: 500; }
.profile-rating small { display: block; color: var(--muted); font-size: 11px; }
.business-profile-actions { display: grid; gap: 9px; width: 180px; }
.detail-grid { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: clamp(35px,6vw,100px); }
.profile-about { padding-bottom: 70px; border-bottom: 1px solid var(--line); }
.profile-about h2 { font-size: clamp(34px,4vw,54px); font-weight: 500; }
.prose { color: #343431; font-size: 1.06em; line-height: 1.8; }
.prose img { margin: 25px auto; }
.prose h2, .prose h3 { margin-top: 1.5em; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.tag-list span { padding: 5px 9px; border: 1px solid var(--line); border-radius: 2px; color: var(--muted); font-size: 11px; }
.review-section-head { margin-top: 70px; }
.detail-sidebar { display: grid; align-content: start; gap: 18px; }
.side-panel { padding: 25px; border: 1px solid var(--line); background: #fff; }
.side-panel h3 { font-size: 22px; }
.side-panel dl { margin: 25px 0; }
.side-panel dl > div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.side-panel dt { color: var(--muted); font-size: 11px; }
.side-panel dd { margin: 0; overflow-wrap: anywhere; font-size: 13px; font-weight: 550; }
.location-list { display: grid; }
.location-list > div { padding: 11px 0; border-top: 1px solid var(--line); }
.location-list small { display: block; color: var(--muted); }
.side-gallery { display: grid; grid-template-columns: repeat(2,1fr); gap: 5px; }
.side-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.review-detail-grid { display: grid; grid-template-columns: minmax(0,900px) 350px; justify-content: center; gap: 50px; align-items: start; }
.review-detail { padding: clamp(30px,5vw,65px); }
.review-body { margin-top: 35px; font-size: 1.15em; }
.detail-images { grid-template-columns: repeat(2,minmax(0,1fr)); }
.review-business-card { position: sticky; top: 110px; }
.review-business-identity { display: flex; align-items: center; gap: 14px; }
.review-business-identity h2 { margin: 3px 0 0; font-size: 22px; }
.review-business-identity small { color: var(--muted); }
.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; }
.toolbar form { display: flex; flex: 1; gap: 10px; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
.card { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
a.card { transition: border-color .16s, transform .16s; }
a.card:hover { border-color: #a8a8a2; transform: translateY(-2px); }
.category-card { display: flex; justify-content: space-between; align-items: center; }
.category-card small { color: var(--muted); }
.business-card { display: flex; min-height: 220px; flex-direction: column; }
.business-card-top, .business-identity { display: flex; align-items: center; gap: 14px; }
.business-card .rating { margin-top: auto; }
.review { padding: 22px 0; border-bottom: 1px solid var(--line); }
.review:last-child { border-bottom: 0; }
.review-head { display: flex; justify-content: space-between; gap: 18px; }
.review .author { color: var(--muted); font-size: 12px; }
.sidebar-list { display: grid; gap: 7px; }
.sidebar-list > a, .sidebar-list > div, .sidebar-list > span { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.sidebar-list small { color: var(--muted); }
.form-container { max-width: 850px; }
.clean-form { padding: clamp(25px,5vw,55px); }
.form-control { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 3px; outline: 0; color: var(--text); background: #fff; }
.form-control:focus { border-color: #888883; box-shadow: 0 0 0 3px rgba(17,17,15,.05); }
textarea.form-control { min-height: 135px; resize: vertical; }
.form-group { margin-bottom: 19px; }
.form-group label, .upload-editor > label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 650; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 18px; }
.form-span { grid-column: 1/-1; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 17px; border: 1px solid var(--primary); border-radius: 3px; color: #fff; background: var(--primary); font-size: 13px; font-weight: 600; }
.btn:hover { opacity: .84; }
.btn-secondary { border-color: var(--line); color: var(--text); background: #fff; }
.btn-accent { border-color: var(--accent); background: var(--accent); }
.btn-danger { border-color: #fecdca; color: var(--danger); background: #fff; }
.btn-sm { min-height: 34px; padding: 5px 10px; font-size: 12px; }
.btn-block { width: 100%; }
.badge { display: inline-flex; padding: 3px 7px; border: 1px solid var(--line); border-radius: 2px; background: var(--surface-2); font-size: 11px; font-weight: 650; }
.badge.success { color: var(--success); background: #ecfdf3; border-color: #abefc6; }
.badge.warn { color: var(--warn); background: #fffaeb; border-color: #fedf89; }
.stars { color: #f2a900; letter-spacing: 1px; white-space: nowrap; }
.rating small { margin-left: 7px; color: var(--muted); }
.meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: 12px; }
.alert { margin-top: 15px; padding: 12px 15px; border: 1px solid var(--line); background: #fff; }
.alert-success { color: var(--success); border-color: #abefc6; background: #ecfdf3; }
.alert-error { color: var(--danger); border-color: #fecdca; background: #fef3f2; }
.empty { padding: 50px 22px; border: 1px dashed #aaa9a3; color: var(--muted); text-align: center; }
.pagination { display: flex; justify-content: center; gap: 5px; margin-top: 30px; }
.pagination a { display: grid; place-items: center; min-width: 38px; height: 38px; border: 1px solid var(--line); background: #fff; }
.pagination a.active { color: #fff; background: var(--primary); border-color: var(--primary); }
.avatar { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--surface-2); font-weight: 700; }
.profile-head { display: flex; align-items: center; gap: 18px; }
.auth-wrap { display: grid; place-items: center; min-height: calc(100vh - 160px); padding: 50px 16px; }
.auth-card { width: min(100%,520px); padding: 35px; border: 1px solid var(--line); background: #fff; }
.auth-card h1 { font-size: 32px; }
.auth-links { display: flex; justify-content: space-between; margin-top: 18px; color: var(--muted); font-size: 12px; }
.upload-editor { margin-bottom: 20px; }
.upload-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.upload-dropzone { display: grid; place-items: center; width: 100%; min-height: 145px; padding: 24px; border: 1px dashed #aaa9a3; border-radius: 3px; color: var(--text); background: #fafaf8; text-align: center; }
.upload-dropzone.is-dragging { border-color: var(--accent); background: #f0f3ff; }
.upload-dropzone small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.upload-icon { display: grid; place-items: center; width: 31px; height: 31px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 50%; font-size: 18px; }
.upload-previews { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin-top: 9px; }
.upload-preview { position: relative; min-width: 0; padding: 6px; border: 1px solid var(--line); background: #fff; }
.upload-preview img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.upload-preview span { display: block; overflow: hidden; padding: 5px 2px 0; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.upload-actions { display: flex; gap: 3px; margin-top: 5px; }
.upload-actions button { flex: 1; padding: 4px; border: 1px solid var(--line); background: #fff; font-size: 10px; }
.lightbox { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 40px; background: rgba(0,0,0,.88); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1200px,95vw); max-height: 88vh; object-fit: contain; }
.lightbox button { position: absolute; top: 20px; right: 25px; border: 0; color: #fff; background: transparent; font-size: 38px; }
.site-footer { padding: 65px 0 25px; color: #aaa9a3; background: #11110f; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 55px; }
.footer-wordmark { margin-bottom: 18px; color: #fff; }
.site-footer h3 { color: #fff; font-size: 15px; letter-spacing: -.02em; }
.site-footer p, .site-footer a { color: #aaa9a3; font-size: 13px; }
.footer-links { display: grid; gap: 8px; }
.newsletter { display: flex; gap: 7px; }
.newsletter input { border-color: #353532; color: #fff; background: #1b1b19; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 45px; padding-top: 20px; border-top: 1px solid #353532; color: #777772; font-size: 11px; }
.dashboard-shell { display: grid; grid-template-columns: 245px minmax(0,1fr); min-height: 100vh; }
.dashboard-sidebar { position: sticky; top: 0; height: 100vh; padding: 24px 16px; overflow: auto; color: #c7c7c2; background: #11110f; }
.dashboard-sidebar .wordmark { margin: 0 10px 28px; color: #fff; }
.dashboard-nav { display: grid; gap: 3px; }
.dashboard-nav a, .dashboard-nav summary { display: block; padding: 9px 11px; border-radius: 3px; color: #aaa9a3; cursor: pointer; }
.dashboard-nav a:hover, .dashboard-nav a.active { color: #fff; background: #292925; }
.dashboard-nav details[open] summary { color: #fff; }
.dashboard-subnav { display: grid; padding: 4px 0 8px 12px; }
.dashboard-subnav a { font-size: 12px; }
.dashboard-main { min-width: 0; }
.dashboard-top { display: flex; align-items: center; justify-content: space-between; height: 68px; padding: 0 28px; border-bottom: 1px solid var(--line); background: #fff; }
.dashboard-content { padding: 28px; }
.metric-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.metric { padding: 20px; border: 1px solid var(--line); background: #fff; }
.metric strong { display: block; font-size: 28px; }
.metric span { color: var(--muted); font-size: 12px; }
.table-wrap { overflow: auto; border: 1px solid var(--line); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 12px; }
.table th, .table td { padding: 11px 13px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { color: var(--muted); background: #fafaf8; font-size: 11px; white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table-actions { display: flex; gap: 6px; }
.code { padding: 15px; overflow: auto; border: 1px solid #333; background: #111; color: #eee; font: 13px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace; }
.settings-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; margin-bottom: 24px; }
.settings-grid .card h2 { font-size: 22px; }
.setting-check { display: flex; align-items: flex-start; gap: 9px; margin: 12px 0; font-size: 13px; }
.setting-check input { width: 17px; height: 17px; accent-color: var(--primary); }
.translation-progress { height: 9px; overflow: hidden; margin: 18px 0; background: var(--surface-2); }
.translation-progress span { display: block; width: 0; height: 100%; background: var(--accent); transition: width .2s; }
.install-page { min-height: 100vh; padding: 50px 16px; background: var(--surface-2); }
.install-card { width: min(100%,900px); margin: auto; padding: 34px; border: 1px solid var(--line); background: #fff; }
.requirements { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; margin: 20px 0; }
.requirement { display: flex; justify-content: space-between; padding: 9px 11px; background: var(--surface-2); }
.check-row { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 26px; padding: 16px; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; }
.check-row input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--primary); }
.check-row span, .check-row small { display: block; }
.check-row small { color: var(--muted); }
.article-card { overflow: hidden; padding-top: 0; }
.article-thumb { width: calc(100% + 50px); height: 160px; margin: 0 -25px 20px; object-fit: cover; }
.visual-rating { padding: 0; border: 0; }
.visual-rating legend { margin-bottom: 13px; font-size: 15px; font-weight: 650; }
.rating-choice-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 7px; }
.rating-choice-grid label { min-width: 0; cursor: pointer; text-align: center; }
.rating-choice-grid input { position: absolute; opacity: 0; pointer-events: none; }
.rating-box { display: flex; justify-content: center; gap: 2px; padding: 15px 5px; border: 1px solid var(--line); background: #fff; transition: border-color .15s, background .15s, transform .15s; }
.rating-box b { color: #d4d4ce; font-size: clamp(13px,2vw,20px); }
.rating-box b.filled { color: #fff; }
.rating-choice-grid label:nth-child(1) .rating-box { background: #d6382f; }
.rating-choice-grid label:nth-child(2) .rating-box { background: #e76c31; }
.rating-choice-grid label:nth-child(3) .rating-box { background: #e9aa22; }
.rating-choice-grid label:nth-child(4) .rating-box { background: #73a93c; }
.rating-choice-grid label:nth-child(5) .rating-box { background: #087a55; }
.rating-choice-grid label:hover .rating-box, .rating-choice-grid label.is-selected .rating-box, .rating-choice-grid input:focus-visible + .rating-box { outline: 3px solid rgba(17,17,15,.18); outline-offset: 2px; transform: translateY(-2px); }
.rating-choice-grid small { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; }
.rating-live { min-height: 24px; margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.review-filter-bar, .community-search, .editorial-search { display: grid; grid-template-columns: minmax(220px,1fr) auto auto auto; gap: 8px; margin-bottom: 28px; }
.review-filter-bar select, .community-search select { min-height: 46px; padding: 0 10px; border: 1px solid var(--line); background: #fff; }
.review-search-field, .community-search label, .editorial-search label { display: flex; align-items: center; min-height: 46px; border: 1px solid var(--line); background: #fff; }
.review-search-field span, .community-search label span, .editorial-search label span { padding-left: 13px; color: var(--muted); }
.review-search-field input, .community-search input, .editorial-search input { width: 100%; height: 44px; padding: 0 12px; border: 0; outline: 0; background: transparent; }
.rating-distribution { display: grid; gap: 8px; }
.rating-distribution a { display: grid; grid-template-columns: 34px 1fr 33px; align-items: center; gap: 8px; font-size: 11px; }
.rating-distribution i { height: 7px; overflow: hidden; background: var(--surface-2); }
.rating-distribution i b { display: block; height: 100%; background: #087a55; }
.rating-distribution small { color: var(--muted); text-align: right; }
.reply-thread { margin-top: 25px; border: 1px solid #dfe4f6; background: #f7f8fc; }
.reply-thread-title, .reply-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.reply-thread-title { padding: 12px 16px; border-bottom: 1px solid #dfe4f6; font-size: 12px; }
.reply-thread-title span, .reply-meta small { color: var(--muted); font-size: 10px; }
.reply-thread .reply { margin: 0; border: 0; border-bottom: 1px solid #dfe4f6; background: transparent; }
.reply-thread .reply:last-child { border: 0; }
.review-community-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; padding-top: 15px; border-top: 1px solid var(--line); }
.review-community-actions form { margin: 0; }
.reaction-button { display: inline-flex; align-items: center; gap: 6px; min-height: 35px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 3px; color: #494945; background: #fff; font-size: 11px; font-weight: 600; }
.reaction-button:hover, .reaction-button.is-active { color: var(--accent); border-color: #b8c3fb; background: #f1f3ff; }
.reaction-button.danger { color: var(--danger); }
.review-business-link { display: flex; align-items: center; gap: 11px; margin: -10px 0 24px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.review-business-link .business-logo { width: 38px; height: 38px; flex-basis: 38px; }
.review-business-link small { display: block; color: var(--muted); font-size: 10px; }
.community-prompt { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 45px; padding: 30px; border: 1px solid var(--line); background: var(--surface-2); }
.community-prompt h3 { margin: 0; font-size: 25px; }
.community-head { padding-bottom: 60px; }
.community-head p { font-size: 18px; }
.community-search { max-width: 1050px; margin: 34px 0 0; }
.community-layout { display: grid; grid-template-columns: minmax(0,900px) 330px; justify-content: center; gap: 55px; align-items: start; }
.community-count { margin-bottom: 18px; color: var(--muted); font-size: 12px; }
.community-guide { position: sticky; top: 110px; }
.community-guide h2 { font-size: 31px; }
.community-guide ol { padding-left: 18px; color: var(--muted); font-size: 13px; }
.community-guide li { margin-bottom: 10px; padding-left: 5px; }
.editorial-head { padding-bottom: 60px; }
.editorial-search { grid-template-columns: minmax(260px,700px) auto; max-width: 850px; margin: 32px 0 0; }
.editorial-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: clamp(35px,6vw,90px); align-items: start; }
.editorial-result-head { display: flex; justify-content: space-between; margin-bottom: 24px; color: var(--muted); font-size: 12px; }
.article-list-rich { display: grid; border-top: 1px solid var(--line); }
.article-row { display: grid; grid-template-columns: minmax(200px,34%) minmax(0,1fr); gap: 30px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.article-row-image { min-height: 220px; overflow: hidden; background: var(--surface-2); }
.article-row-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.article-row-image:hover img { transform: scale(1.025); }
.article-row-image span { display: grid; height: 100%; place-items: center; font-size: 60px; }
.article-row h2 { font-size: clamp(26px,3vw,39px); font-weight: 500; }
.article-row p { color: var(--muted); }
.article-meta, .article-byline { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 15px; color: var(--muted); font-size: 11px; }
.article-meta a { color: var(--accent); font-weight: 650; }
.article-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 17px 0; }
.article-tags a { padding: 4px 8px; border: 1px solid var(--line); border-radius: 2px; color: var(--muted); background: #fff; font-size: 10px; }
.article-tags a:hover, .article-tags a.active { color: var(--text); border-color: #999994; }
.editorial-sidebar { display: grid; gap: 16px; }
.topic-list { display: grid; }
.topic-list a { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.topic-list a.active { color: var(--text); font-weight: 700; }
.tag-cloud { margin: 0; }
.article-hero { padding: 70px 0 60px; border-bottom: 1px solid var(--line); background: #fff; }
.article-hero .container { max-width: 1100px; }
.article-hero h1 { max-width: 1050px; font-size: clamp(48px,7vw,92px); font-weight: 500; }
.article-hero > .container > p { max-width: 850px; color: var(--muted); font-size: 20px; }
.article-breadcrumb { display: flex; gap: 10px; margin-bottom: 38px; color: var(--muted); font-size: 11px; }
.article-byline { margin: 27px 0 0; }
.article-layout { display: grid; grid-template-columns: 240px minmax(0,850px); justify-content: center; gap: clamp(35px,6vw,90px); align-items: start; }
.article-toc-panel { position: sticky; top: 110px; }
.article-toc-panel nav { display: grid; margin: 15px 0 20px; }
.article-toc-panel nav a { padding: 8px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.article-toc-panel nav a.sub { padding-left: 14px; }
.article-cover { width: 100%; max-height: 560px; margin-bottom: 45px; object-fit: cover; }
.article-body { font-size: 1.11em; }
.article-body h2 { margin-top: 2.1em; font-size: clamp(31px,4vw,48px); }
.article-body h3 { font-size: 26px; }
.article-body table { display: block; width: 100%; overflow: auto; border-collapse: collapse; }
.article-body th, .article-body td { padding: 10px 13px; border: 1px solid var(--line); text-align: left; }
.article-body blockquote { margin: 32px 0; padding: 20px 26px; border-left: 3px solid var(--accent); background: #f1f3fb; font-size: 1.12em; }
.article-related-businesses, .article-discussion { margin-top: 70px; }
.article-newsletter { display: grid; grid-template-columns: 1fr minmax(260px,.8fr); gap: 35px; align-items: end; margin-top: 65px; padding: 35px; color: #fff; background: #11110f; }
.article-newsletter h2 { font-size: 34px; }
.article-newsletter p { color: #aaa9a3; }
.article-newsletter form { display: flex; gap: 7px; }
.compact-business-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.article-comment { padding: 20px 0; border-bottom: 1px solid var(--line); }
.article-comment > p { margin: 12px 0 0 53px; color: #444440; }
.contact-layout { display: grid; grid-template-columns: .7fr 1fr; gap: clamp(40px,8vw,120px); align-items: start; max-width: 1150px; }
.contact-layout > div h2 { font-size: clamp(35px,4vw,56px); }
.contact-layout > div > p { color: var(--muted); }
.contact-points { display: grid; margin-top: 30px; }
.contact-points div { display: grid; grid-template-columns: 35px 1fr; gap: 13px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 13px; }
.contact-points b { color: var(--muted); font-size: 11px; }
.choice-grid { display: flex; flex-wrap: wrap; gap: 7px; }
.choice-pill { margin: 0 !important; }
.choice-pill input { position: absolute; opacity: 0; }
.choice-pill span { display: block; padding: 6px 9px; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); background: #fff; font-size: 11px; cursor: pointer; }
.choice-pill input:checked + span { color: #fff; border-color: var(--text); background: var(--text); }
.relation-select { min-height: 190px; }
.native-editor { border: 1px solid var(--line); background: #fff; }
.native-editor-toolbar { position: sticky; z-index: 2; top: 0; display: flex; flex-wrap: wrap; gap: 4px; padding: 7px; border-bottom: 1px solid var(--line); background: #fafaf8; }
.native-editor-toolbar button { min-height: 32px; padding: 4px 9px; border: 1px solid var(--line); background: #fff; font-size: 11px; }
.native-editor-surface { min-height: 520px; padding: 28px; outline: 0; }
.review-card { display: flex; flex-direction: column; gap: 12px; min-height: 280px; }
.review-card-head { display: flex; align-items: center; gap: 12px; }
.review-card-head small, .review-card > small { color: var(--muted); }
.hidden { display: none !important; }
body.theme-basic { --accent: #8b6414; --radius: 2px; }
@media (max-width: 1120px) {
  .nav { display: flex; }
  .nav-center { display: none; }
  .nav-actions { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-links.open { position: absolute; top: 76px; right: 0; left: 0; display: grid; justify-content: stretch; gap: 0; padding: 12px; border-bottom: 1px solid var(--line); background: #fff; }
  .nav-links.open > a { padding: 11px; }
  .nav-links.open .mobile-nav-extra { display: grid; border-top: 1px solid var(--line); }
  .mobile-languages { display: flex; gap: 6px; padding: 10px 7px; }
  .nav-links.open .mobile-languages a { padding: 5px 8px; border: 1px solid var(--line); font-size: 11px; }
  .mobile-languages a.active { color: #fff; background: var(--text); }
  .business-grid, .editorial-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .settings-grid { grid-template-columns: 1fr 1fr; }
  .editorial-layout { grid-template-columns: minmax(0,1fr) 270px; }
  .article-layout { grid-template-columns: 200px minmax(0,1fr); }
}
@media (max-width: 900px) {
  .container { width: min(calc(100% - 30px),var(--max)); }
  .hero-split { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { min-height: 530px; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-directory { padding: 35px; }
  .reviews-feature { grid-template-columns: 1fr; }
  .reviews-intro { position: static; }
  .business-profile-grid { grid-template-columns: 130px 1fr; }
  .business-profile-mark { width: 130px; height: 130px; }
  .business-profile-actions { grid-column: 1/-1; grid-template-columns: 1fr 1fr; width: auto; }
  .detail-grid, .review-detail-grid { grid-template-columns: 1fr; }
  .community-layout, .editorial-layout, .article-layout, .contact-layout { grid-template-columns: 1fr; }
  .community-guide, .article-toc-panel { position: static; }
  .article-toc-panel { order: 2; }
  .review-business-card { position: static; }
  .dashboard-shell { grid-template-columns: 1fr; }
  .dashboard-sidebar { position: static; height: auto; }
  .dashboard-nav { grid-template-columns: repeat(2,1fr); }
  .metric-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 680px) {
  .container { width: min(calc(100% - 22px),var(--max)); }
  .nav { display: flex; min-height: 66px; }
  .nav-links.open { position: absolute; top: 66px; right: 0; left: 0; display: grid; justify-content: stretch; gap: 0; padding: 12px; border-bottom: 1px solid var(--line); background: #fff; }
  .nav-links.open a { padding: 11px; }
  .nav-links.open .mobile-nav-extra { display: grid; border-top: 1px solid var(--line); }
  .mobile-languages { display: flex; gap: 6px; padding: 10px 7px; }
  .nav-links.open .mobile-languages a { padding: 5px 8px; border: 1px solid var(--line); font-size: 11px; }
  .mobile-languages a.active { color: #fff; background: var(--text); }
  .hero-copy { min-height: 490px; padding: 55px 24px; }
  .hero-copy h1 { font-size: 48px; }
  .search-box { display: grid; border: 0; }
  .search-box input { border-bottom: 1px solid var(--text); }
  .search-box .btn { width: 100%; margin-top: 8px; }
  .stats, .business-grid, .editorial-grid, .grid-4, .grid-3, .grid-2, .form-grid, .settings-grid, .footer-grid, .requirements { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .business-tile-visual { min-height: 210px; }
  .section { padding: 65px 0; }
  .section-head, .toolbar, .toolbar form { align-items: stretch; flex-direction: column; }
  .business-profile-grid { grid-template-columns: 1fr; }
  .business-profile-mark { width: 110px; height: 110px; }
  .business-profile-copy h1 { font-size: 45px; }
  .business-profile-actions { grid-template-columns: 1fr; }
  .review-paper { padding: 21px; }
  .review-paper-top { align-items: flex-start; flex-direction: column; }
  .review-images, .upload-previews { grid-template-columns: repeat(2,1fr); }
  .review-footer { align-items: flex-start; flex-direction: column; }
  .report-menu form { right: auto; left: 0; width: min(320px,80vw); }
  .rating-choice-grid { gap: 3px; }
  .rating-box { padding: 12px 2px; }
  .rating-box b { font-size: 11px; }
  .rating-choice-grid small { font-size: 9px; }
  .review-filter-bar, .community-search, .editorial-search { grid-template-columns: 1fr; }
  .community-prompt { align-items: flex-start; flex-direction: column; }
  .article-row { grid-template-columns: 1fr; }
  .article-row-image { min-height: 200px; }
  .article-hero h1 { font-size: 45px; }
  .compact-business-grid { grid-template-columns: 1fr; }
  .article-newsletter { grid-template-columns: 1fr; padding: 25px; }
  .article-newsletter form { align-items: stretch; flex-direction: column; }
  .dashboard-content { padding: 18px 11px; }
  .dashboard-top { padding: 0 15px; }
  .dashboard-nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom { gap: 10px; flex-direction: column; }
  .auth-card, .install-card { padding: 24px 18px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
