:root {
  --lh-text: #171a21;
  --lh-muted: #5a6578;
  --lh-accent: #0a5cad;
  --lh-accent-soft: #e8f2fc;
  --lh-warn: #7a4a10;
  --lh-warn-bg: #fff8ed;
  --lh-bg: #f4f6fb;
  --lh-card: #fff;
  --lh-border: 1px solid rgba(22, 34, 56, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--lh-text);
  background: var(--lh-bg);
  line-height: 1.55;
  font-size: 1rem;
}

.lh-nav {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  background: var(--lh-card);
  border-bottom: var(--lh-border);
}

.lh-nav a {
  color: var(--lh-accent);
  text-decoration: none;
  font-weight: 600;
}

.lh-nav__sep {
  margin: 0 0.35rem;
  color: var(--lh-muted);
}

.lh-nav__here {
  color: var(--lh-muted);
}

.lh-page {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1rem 1rem 2.5rem;
}

.lh-header h1 {
  font-size: 1.45rem;
  margin: 0 0 0.35rem;
  line-height: 1.25;
}

.lh-subtitle {
  color: var(--lh-muted);
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.lh-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.lh-toolbar--search {
  margin: 0.85rem 0 0.75rem;
  align-items: end;
  gap: 0.75rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(10rem, 16rem);
}

.lh-search-wrap,
.lh-category-wrap {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.lh-search-wrap {
  flex: none;
}

.lh-category-wrap {
  flex: none;
  max-width: none;
}

.lh-search-label,
.lh-category-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--lh-text);
  letter-spacing: 0.01em;
}

.lh-input--search {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 1rem;
  font-size: 1.0625rem;
  border-width: 2px;
}

.lh-select--category {
  width: 100%;
  min-height: 2.85rem;
}

.lh-search-hint {
  font-size: 0.78rem;
  color: var(--lh-muted);
  margin: -0.2rem 0 0.65rem;
  line-height: 1.35;
}

.lh-search-clarify {
  margin: 0.15rem 0 0.85rem;
  padding: 0.75rem 0.85rem;
  border: var(--lh-border);
  border-radius: 12px;
  background: var(--lh-card);
}

.lh-search-clarify__message {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
  color: var(--lh-text);
  line-height: 1.4;
}

.lh-search-clarify__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.lh-clarify-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.25);
  background: var(--lh-accent-soft);
  color: var(--lh-accent);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.lh-clarify-chip:hover {
  border-color: var(--lh-accent);
}

.lh-actions--search {
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.lh-actions__hint {
  font-size: 0.82rem;
  color: var(--lh-muted);
  line-height: 1.35;
  flex: 1 1 12rem;
  max-width: 36rem;
}

.lh-input {
  flex: 1 1 12rem;
  min-width: 0;
  padding: 0.55rem 0.7rem;
  border: var(--lh-border);
  border-radius: 10px;
  font-size: 1rem;
}

.lh-select {
  padding: 0.55rem 0.7rem;
  border: var(--lh-border);
  border-radius: 10px;
  font-size: 0.95rem;
  background: var(--lh-card);
}

.lh-btn {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: var(--lh-border);
  background: var(--lh-card);
  color: var(--lh-accent);
  cursor: pointer;
}

.lh-btn--primary {
  background: var(--lh-accent);
  color: #fff;
  border-color: var(--lh-accent);
}

.lh-btn--secondary {
  background: var(--lh-accent-soft);
}

.lh-btn--danger {
  background: #fff5f5;
  color: #9b1c1c;
  border-color: rgba(155, 28, 28, 0.35);
}

.lh-btn--danger:hover {
  background: #fee2e2;
}

.lh-form--suggest {
  margin-bottom: 1rem;
}

.lh-form--suggest-advanced {
  margin-top: 0.75rem;
}

.lh-suggest-advanced {
  margin: 0.75rem 0 1rem;
  padding: 0.65rem 0.85rem;
  border: var(--lh-border);
  border-radius: 12px;
  background: var(--lh-card);
}

.lh-status--submit {
  margin-top: 1rem;
  font-size: 1rem;
}

.lh-card--public .lh-card__contrib {
  display: none;
}

[data-lh-admin-only] {
  display: none !important;
}

[data-lh-debug-panel] {
  display: none !important;
}

body.lh-admin-mode [data-lh-admin-only],
body.lh-admin-links-visible [data-lh-admin-only] {
  display: inline-flex !important;
}

body.lh-debug-panels-visible [data-lh-debug-panel] {
  display: block !important;
}

body.lh-admin-mode button[data-lh-admin-only],
body.lh-admin-mode a[data-lh-admin-only].lh-btn,
body.lh-admin-links-visible button[data-lh-admin-only],
body.lh-admin-links-visible a[data-lh-admin-only].lh-btn {
  display: inline-flex !important;
}

body.lh-admin-links-visible a[data-lh-admin-only].lh-footer__admin-link,
body.lh-admin-mode a[data-lh-admin-only].lh-footer__admin-link {
  display: inline !important;
}

body.lh-admin-mode #lhAdminSearchNote[data-lh-admin-only] {
  display: block !important;
}

.lh-actions--top {
  margin-bottom: 0.75rem;
}

.lh-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.lh-disclaimer {
  background: var(--lh-warn-bg);
  border: 1px solid rgba(122, 74, 16, 0.2);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  color: var(--lh-warn);
  margin-bottom: 1rem;
}

.lh-disclaimer--emergency {
  background: transparent;
  border: none;
  padding: 0.35rem 0 0;
  margin: 1.25rem 0 0;
  font-size: 0.78rem;
  color: var(--lh-muted);
}

.lh-header--search .lh-subtitle {
  margin-bottom: 0.35rem;
}

.lh-source-note {
  font-size: 0.85rem;
  color: var(--lh-muted);
  margin-bottom: 1rem;
}

.lh-status {
  font-size: 0.9rem;
  color: var(--lh-muted);
  margin: 0 0 0.75rem;
}

.lh-status--sub {
  font-size: 0.82rem;
  margin: -0.5rem 0 0.75rem;
}

.lh-empty {
  text-align: center;
  padding: 1.25rem 1rem;
  color: var(--lh-muted);
  background: var(--lh-card);
  border-radius: 12px;
  border: var(--lh-border);
}

.lh-empty__message {
  margin: 0 0 0.65rem;
  line-height: 1.45;
}

.lh-empty__suggest {
  margin: 0;
  font-size: 0.9rem;
}

.lh-empty__suggest a {
  color: var(--lh-accent);
  font-weight: 600;
  text-decoration: none;
}

.lh-empty__suggest a:hover {
  text-decoration: underline;
}

.lh-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.lh-list-group {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
}

.lh-list-group:first-child {
  margin-top: 0;
}

.lh-list-group__title {
  margin: 0;
  padding: 0.35rem 0 0.15rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--lh-muted);
  letter-spacing: 0.02em;
  text-transform: none;
  border-bottom: 1px solid var(--lh-border);
}

.lh-card {
  background: var(--lh-card);
  border: var(--lh-border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: 0 4px 14px rgba(22, 34, 56, 0.05);
}

.lh-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.25rem;
}

.lh-card__title {
  margin: 0;
  font-size: 1.1rem;
  flex: 1 1 12rem;
}

.lh-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  white-space: nowrap;
}

.lh-badge--member {
  background: #e6f4ea;
  color: #1e6b3a;
}

.lh-badge--platform {
  background: #ede8f7;
  color: #4a3d8f;
}

.lh-badge--review {
  background: #fff3e0;
  color: #8a5a10;
}

.lh-badge--local {
  background: #e8f4ea;
  color: #1b5e20;
  border-color: #a5d6a7;
}

.lh-badge--sample {
  background: #f0f2f6;
  color: var(--lh-muted);
}

.lh-badge--member-submitted {
  background: #fff8e6;
  color: #7a5a12;
}

.lh-badge--verified {
  background: #e3f2fd;
  color: #1565c0;
}

.lh-badge--mixed {
  background: #fce4ec;
  color: #880e4f;
}

.lh-badge--hidden {
  background: #eceff1;
  color: #546e7a;
}

.lh-badge--negative {
  background: #fff3e0;
  color: #b45309;
  text-transform: none;
  letter-spacing: 0;
}

.lh-card--negative-experience {
  border-color: #f0c36d;
  background: #fffdf8;
}

.lh-card__negative-warning {
  margin: 0.5rem 0 0.35rem;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid #f0c36d;
  background: #fff8eb;
}

.lh-card__negative-warning-title {
  margin: 0 0 0.25rem;
  font-weight: 700;
  color: #9a3412;
}

.lh-card__negative-warning-text,
.lh-card__negative-warning-comment {
  margin: 0;
  font-size: 0.92rem;
  color: #7c2d12;
}

.lh-card__negative-warning-label {
  font-weight: 600;
}

.lh-card--admin-hidden {
  opacity: 0.88;
  border-style: dashed;
}

.lh-card--admin-recovery {
  background: #fafafa;
}

.lh-field-hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: var(--lh-muted);
  line-height: 1.35;
}

.lh-category-review-notice {
  margin: 0.35rem 0 0.75rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  background: #fff8e8;
  border: 1px solid rgba(124, 90, 16, 0.28);
  color: #6b4e0e;
  font-size: 0.9rem;
}

.lh-admin-card__flag {
  margin: 0.35rem 0;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

.lh-admin-card__flag--category {
  background: #fff8e8;
  border: 1px solid rgba(124, 90, 16, 0.28);
  color: #6b4e0e;
}

.lh-admin-categories {
  margin: 1rem 0 1.25rem;
}

.lh-admin-category-list {
  margin: 0.5rem 0;
  padding-left: 1.1rem;
}

.lh-card__admin {
  margin-top: 0.65rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  background: #f6f8fb;
  border: 1px dashed rgba(84, 110, 122, 0.35);
}

.lh-card__admin-label {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--lh-muted);
}

.lh-card__admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.lh-bulk-toolbar {
  margin: 0.75rem 0 1rem;
  padding: 0.75rem;
  border: 1px dashed rgba(84, 110, 122, 0.35);
  border-radius: 8px;
  background: #f6f8fb;
}

body.lh-admin-mode #lhBulkToolbar[data-lh-admin-only] {
  display: block !important;
}

.lh-bulk-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.lh-bulk-toolbar__select-all {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.lh-bulk-toolbar__count {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--lh-muted);
}

.lh-bulk-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.lh-bulk-toolbar__category {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
}

.lh-bulk-toolbar__category .lh-input--sm {
  min-width: 9rem;
  padding: 0.35rem 0.5rem;
  font-size: 0.88rem;
}

.lh-card__head--admin {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
}

.lh-card__bulk-select {
  display: inline-flex;
  margin-top: 0.15rem;
  flex: 0 0 auto;
}

.lh-card__head-main {
  flex: 1 1 auto;
  min-width: 0;
}

.lh-modal__dialog--wide {
  max-width: 36rem;
}

.lh-form--admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 0.75rem;
}

.lh-form__full {
  grid-column: 1 / -1;
}

.lh-form__actions {
  display: flex;
  gap: 0.5rem;
}

@media (max-width: 640px) {
  .lh-form--admin-grid {
    grid-template-columns: 1fr;
  }
}

.lh-card--review {
  border-color: rgba(138, 90, 16, 0.25);
}

.lh-card__review-note {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--lh-warn);
  margin: 0 0 0.5rem;
}

.lh-card__business,
.lh-card__person {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  color: var(--lh-muted);
}

.lh-card__meta {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
  color: var(--lh-muted);
}

.lh-card__area {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
}

.lh-card__notes {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
}

.lh-card__sample {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lh-warn);
  margin: 0 0 0.5rem;
}

.lh-card__rec {
  font-size: 0.82rem;
  color: var(--lh-muted);
  margin: 0 0 0.5rem;
}

.lh-card__verify {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--lh-muted);
  margin: 0 0 0.35rem;
}

.lh-card__tags {
  font-size: 0.82rem;
  color: var(--lh-muted);
  margin: 0 0 0.5rem;
}

.lh-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.65rem;
}

.lh-btn--sm {
  font-size: 0.82rem;
  padding: 0.35rem 0.65rem;
}

.lh-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.lh-card__links a {
  font-size: 0.88rem;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  background: var(--lh-accent-soft);
  color: var(--lh-accent);
  text-decoration: none;
  font-weight: 600;
}

.lh-footer {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1rem 2rem;
  font-size: 0.82rem;
  color: var(--lh-muted);
}

.lh-version-footer {
  margin: 0.65rem 0 0;
}

.lh-version-details {
  display: inline-block;
}

.lh-version-summary {
  cursor: pointer;
  list-style: none;
  color: var(--lh-muted);
  font-size: 0.76rem;
}

.lh-version-summary::-webkit-details-marker {
  display: none;
}

.lh-version-summary::after {
  content: " ▾";
  font-size: 0.7rem;
}

.lh-version-details[open] .lh-version-summary::after {
  content: " ▴";
}

.lh-version-meta {
  margin: 0.45rem 0 0;
  padding: 0.55rem 0.65rem;
  border: var(--lh-border);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
}

.lh-version-meta dt {
  margin: 0.25rem 0 0;
  font-weight: 600;
  color: var(--lh-text);
}

.lh-version-meta dd {
  margin: 0.05rem 0 0.35rem;
}

.lh-footer__admin-link {
  font-size: 0.78rem;
  color: var(--lh-muted);
}

.lh-btn.lh-footer__admin-link {
  font-size: 0.82rem;
  padding: 0.35rem 0.65rem;
}

.lh-form {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.lh-form label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.lh-form input,
.lh-form textarea,
.lh-form select {
  font: inherit;
  padding: 0.5rem 0.65rem;
  border: var(--lh-border);
  border-radius: 8px;
}

.lh-form textarea {
  min-height: 4rem;
  resize: vertical;
}

.lh-pending-banner {
  margin: 0.75rem 0 0.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: #fff8e6;
  border: 1px solid #e6c200;
  font-size: 0.92rem;
}

.lh-pending-banner--empty {
  background: var(--lh-accent-soft);
  border-color: var(--lh-border);
}

.lh-pending-section {
  margin: 0.75rem 0 1rem;
  padding: 0.75rem;
  border: 1px dashed #c9a227;
  border-radius: 12px;
  background: #fffdf5;
}

.lh-pending-section__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.lh-card--pending {
  border-color: #d4a017;
  background: #fffdf8;
}

.lh-card__notes--muted {
  color: var(--lh-muted);
  font-size: 0.85rem;
}

.lh-pending-edit {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.5rem;
}

.lh-pending-edit label {
  display: grid;
  gap: 0.2rem;
  font-size: 0.85rem;
}

.lh-pending-edit input,
.lh-pending-edit textarea {
  font: inherit;
  padding: 0.35rem 0.5rem;
  border: var(--lh-border);
  border-radius: 8px;
}

.lh-pending-list {
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}

.lh-pending-list li {
  background: var(--lh-card);
  border: var(--lh-border);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
}

.lh-muted {
  color: var(--lh-muted);
  font-size: 0.85rem;
}

.lh-card__feedback-summary {
  background: var(--lh-accent-soft);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
}

.lh-card__feedback-line {
  margin: 0 0 0.25rem;
}

.lh-card__feedback-empty {
  margin: 0;
  color: var(--lh-muted);
  font-style: italic;
}

.lh-card__score-note {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  color: var(--lh-muted);
}

.lh-card__feedback-latest {
  margin: 0.35rem 0 0;
  font-size: 0.84rem;
}

.lh-card__feedback-detail {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: var(--lh-border);
}

.lh-card__feedback-list {
  margin: 0;
  padding: 0 0 0 1rem;
  font-size: 0.86rem;
}

.lh-card__feedback-list li {
  margin-bottom: 0.5rem;
}

.lh-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
}

.lh-modal[hidden] {
  display: none !important;
}

body.lh-modal-open {
  overflow: hidden;
}

.lh-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 22, 36, 0.45);
}

.lh-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 28rem;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--lh-card);
  border-radius: 16px 16px 12px 12px;
  padding: 1rem 1.1rem 1.25rem;
  box-shadow: 0 12px 40px rgba(22, 34, 56, 0.2);
}

.lh-modal__close {
  position: absolute;
  top: 0.5rem;
  right: 0.6rem;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--lh-muted);
}

.lh-modal__title {
  margin: 0 2rem 0.25rem 0;
  font-size: 1.1rem;
}

.lh-modal__hint {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  color: var(--lh-muted);
}

.lh-feedback-status {
  margin-top: 0.5rem;
}

.lh-status--error {
  color: #a32020;
}

@media (min-width: 520px) {
  .lh-modal {
    align-items: center;
  }

  .lh-modal__dialog {
    border-radius: 14px;
  }
}

/* —— Hub & coming-soon sections —— */
.lh-hub__heading {
  font-size: 1.1rem;
  margin: 1.25rem 0 0.65rem;
}

.lh-hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 0.5rem;
}

.lh-hub-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 560px) {
  .lh-hub-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.lh-hub-card {
  background: var(--lh-card);
  border: var(--lh-border);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
}

.lh-hub-card--coming-soon {
  border-color: rgba(122, 74, 16, 0.22);
  background: linear-gradient(165deg, #fffdf8 0%, #fff 55%);
}

.lh-hub-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.35rem;
}

.lh-hub-card__title {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.3;
}

.lh-hub-card__title a {
  color: var(--lh-text);
  text-decoration: none;
  font-weight: 700;
}

.lh-hub-card__title a:hover {
  color: var(--lh-accent);
  text-decoration: underline;
}

.lh-hub-card__badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  white-space: nowrap;
}

.lh-hub-card__badge--active {
  background: #e8f5ee;
  color: #1b5e3a;
}

.lh-hub-card__badge--soon {
  background: #fff3d6;
  color: #7c5a10;
}

.lh-hub-card__short {
  margin: 0 0 0.35rem;
  color: var(--lh-muted);
  font-size: 0.92rem;
}

.lh-hub-card__count {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--lh-text);
}

.lh-hub-card__chips {
  margin: 0 0 0.45rem;
  font-size: 0.84rem;
  line-height: 1.35;
  color: var(--lh-muted);
}

.lh-group-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(27, 94, 58, 0.22);
  border-radius: 12px;
  background: linear-gradient(165deg, #f3faf6 0%, #fff 70%);
}

.lh-group-banner__body {
  flex: 1 1 14rem;
  min-width: 0;
}

.lh-group-banner__body strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 0.2rem;
}

.lh-group-banner__sub {
  margin: 0;
  color: var(--lh-muted);
  font-size: 0.9rem;
}

.lh-hub-card__desc {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  color: var(--lh-muted);
  line-height: 1.45;
}

.lh-hub-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.lh-btn--sm {
  padding: 0.4rem 0.65rem;
  font-size: 0.85rem;
}

.lh-section-soon {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: #fff8ed;
  border: 1px solid rgba(122, 74, 16, 0.25);
  color: #5c4a0a;
  font-weight: 600;
  font-size: 0.92rem;
}

.lh-section-body {
  margin: 0 0 1rem;
  line-height: 1.55;
  color: var(--lh-text);
}

/* —— My Profile —— */
.lh-profile-privacy {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: #f0f6ff;
  border: 1px solid rgba(10, 92, 173, 0.15);
  font-size: 0.9rem;
  line-height: 1.5;
}

.lh-profile-privacy p {
  margin: 0.35rem 0;
}

.lh-profile-form fieldset {
  border: var(--lh-border);
  border-radius: 10px;
  padding: 0.65rem 0.85rem 0.75rem;
  margin: 0 0 0.85rem;
}

.lh-profile-interests legend {
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0 0.25rem;
}

.lh-profile-check {
  display: block;
  margin: 0.25rem 0;
  font-weight: 500;
  font-size: 0.9rem;
}

/* Trusted Helpers pilot */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lh-pilot-hero__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--lh-accent);
}

.lh-pilot-hero h1 {
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

.lh-pilot-hero__sub {
  font-size: 1rem;
  line-height: 1.55;
}

.lh-pilot-note {
  margin: 0 0 1rem;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  font-size: 0.88rem;
  line-height: 1.5;
  background: #f0f6ff;
  border: 1px solid rgba(10, 92, 173, 0.18);
  color: #2a4560;
}

.lh-supabase-panel {
  margin: 0 0 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px dashed rgba(10, 92, 173, 0.28);
  font-size: 0.88rem;
  line-height: 1.5;
}

.lh-supabase-panel__title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  color: #2a4560;
}

.lh-supabase-panel__status {
  margin: 0;
  font-weight: 650;
  color: #5a6578;
}

.lh-supabase-panel__status--connected {
  color: #0a6b3a;
}

.lh-supabase-panel__status--fallback,
.lh-supabase-panel__status--setup {
  color: #7a4a10;
}

.lh-supabase-panel__detail {
  margin: 0.25rem 0 0;
  color: var(--lh-muted);
}

.lh-supabase-panel__setup {
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(22, 34, 56, 0.08);
  color: #3a4452;
}

.lh-supabase-panel__setup code {
  font-size: 0.82rem;
}

.lh-supabase-panel__list-wrap {
  margin-top: 0.65rem;
}

.lh-supabase-panel__list-label {
  margin: 0 0 0.35rem;
  font-weight: 600;
  color: #2a4560;
}

.lh-supabase-panel__list {
  margin: 0;
  padding-left: 1.1rem;
  columns: 2;
  column-gap: 1rem;
}

.lh-supabase-panel__list li {
  break-inside: avoid;
  margin-bottom: 0.2rem;
}

.lh-supabase-panel__slug {
  color: var(--lh-muted);
  font-weight: 400;
  font-size: 0.82rem;
}

.lh-card__source {
  margin: 0.15rem 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: #0a6b3a;
}

.lh-card__source--kb {
  color: #0a6b3a;
}

.lh-card__source--fallback {
  color: var(--lh-muted);
  font-weight: 600;
  font-style: italic;
}

.lh-kb-list {
  margin-top: 0.75rem;
}

.lh-kb-item {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(22, 34, 56, 0.08);
}

.lh-kb-item__meta {
  margin: 0.2rem 0 0.45rem;
  color: var(--lh-muted);
  font-size: 0.86rem;
}

.lh-kb-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.lh-kb-edit-panel {
  margin: 1rem 0;
  padding: 0.85rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(10, 92, 173, 0.15);
}

.lh-pilot-ask {
  margin: 0 0 1.25rem;
  padding: 1rem;
  border-radius: 14px;
  background: var(--lh-card);
  border: 2px solid rgba(10, 92, 173, 0.22);
  box-shadow: 0 8px 24px rgba(10, 92, 173, 0.08);
}

.lh-pilot-ask__title {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  line-height: 1.35;
}

.lh-pilot-ask__form {
  display: grid;
  gap: 0.65rem;
}

.lh-pilot-ask__hint {
  margin: 0;
  font-size: 0.84rem;
  color: var(--lh-muted);
  line-height: 1.4;
}

.lh-pilot-ask__submit-wrap {
  margin-top: 0.15rem;
}

button.lh-pilot-ask__submit,
.lh-pilot-ask__submit {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  min-height: 3.25rem;
  margin: 0;
  padding: 0.9rem 1.2rem;
  border: 2px solid #084a8f;
  border-radius: 12px;
  background-color: #0a5cad;
  background-image: linear-gradient(180deg, #1173c9 0%, #0a5cad 100%);
  color: #ffffff;
  font: inherit;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(10, 92, 173, 0.38);
  touch-action: manipulation;
}

button.lh-pilot-ask__submit:hover,
.lh-pilot-ask__submit:hover {
  background-color: #084a8f;
  background-image: linear-gradient(180deg, #0f67b8 0%, #084a8f 100%);
}

button.lh-pilot-ask__submit:active,
.lh-pilot-ask__submit:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(10, 92, 173, 0.32);
}

button.lh-pilot-ask__submit:focus-visible,
.lh-pilot-ask__submit:focus-visible {
  outline: 3px solid rgba(10, 92, 173, 0.45);
  outline-offset: 2px;
}

button.lh-pilot-ask__submit:disabled,
.lh-pilot-ask__submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.lh-pilot-ask__input {
  width: 100%;
  min-height: 5.5rem;
  padding: 0.65rem 0.75rem;
  border: var(--lh-border);
  border-radius: 10px;
  font: inherit;
  line-height: 1.45;
  resize: vertical;
}

.lh-btn--lg {
  padding: 0.65rem 1rem;
  font-size: 1rem;
}

.lh-btn--ghost {
  background: transparent;
  border-color: transparent;
  color: var(--lh-muted);
}

.lh-pilot-ask__examples {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.lh-pilot-ask__example {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.45rem 0.55rem;
  border: 1px dashed rgba(10, 92, 173, 0.25);
  border-radius: 8px;
  background: var(--lh-accent-soft);
  color: var(--lh-text);
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.lh-pilot-ask__example:hover {
  border-color: var(--lh-accent);
}

.lh-pilot-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  margin: 0 0 1.15rem;
  color: var(--lh-accent);
}

.lh-pilot-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: var(--lh-card);
  border: var(--lh-border);
}

.lh-hub-actions--secondary {
  margin-bottom: 1.25rem;
}

.lh-hub--pilot .lh-hub__heading {
  font-size: 1rem;
  color: var(--lh-muted);
  margin-top: 0.5rem;
}

/* Compact helper cards */
.lh-card--compact {
  padding: 0.85rem 0.9rem;
}

.lh-card__meta--glance {
  margin: 0.15rem 0 0.35rem;
  font-size: 0.9rem;
  color: var(--lh-muted);
}

.lh-card__phone {
  margin: 0.2rem 0;
  font-size: 1rem;
  font-weight: 600;
}

.lh-card__phone a {
  color: var(--lh-accent);
  text-decoration: none;
}

.lh-card__social {
  margin: 0.25rem 0;
  font-size: 0.88rem;
  color: #3a5248;
  font-weight: 600;
}

.lh-card__notes--short {
  margin: 0.35rem 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--lh-text);
}

.lh-card__contrib {
  margin: 0.65rem 0 0.5rem;
  padding: 0.6rem 0.65rem;
  border-radius: 10px;
  background: #f7faf5;
  border: 1px solid rgba(58, 82, 72, 0.12);
}

.lh-card__contrib p {
  margin: 0 0 0.45rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #3a4638;
}

.lh-card__actions--primary,
.lh-card__actions--detail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.lh-card__details {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px dashed rgba(22, 34, 56, 0.12);
}

.lh-contrib-banner {
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  font-size: 0.88rem;
  line-height: 1.45;
  background: #f7faf5;
  border: 1px solid rgba(58, 82, 72, 0.12);
}

.lh-card__details[hidden] {
  display: none;
}

.lh-pilot-ask__results {
  margin: 0 0 1.25rem;
}

.lh-pilot-ask__results[hidden] {
  display: none;
}

.lh-pilot-ask__results .ask-card {
  margin-top: 0.75rem;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(22, 34, 56, 0.12);
  background: #fff;
}

.home-ask-understanding {
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
}

.home-ask-understanding--understanding {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.home-ask-understanding--confirm {
  background: #fffbeb;
  border: 1px solid #fcd34d;
}

.home-ask-understanding--danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
}

@media (max-width: 720px) {
  .lh-toolbar--search {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .lh-search-wrap,
  .lh-category-wrap {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
  }

  .lh-input--search,
  .lh-select--category {
    width: 100%;
    max-width: none;
    border-radius: 12px;
    min-height: 3.35rem;
  }

  .lh-select--category {
    font-size: 0.92rem;
  }

  .lh-status {
    margin-top: 0.35rem;
    margin-bottom: 0.65rem;
  }

  .lh-list {
    margin-top: 0.15rem;
  }

  .lh-header h1 {
    font-size: 1.45rem;
  }

  .lh-pilot-note,
  .lh-disclaimer {
    font-size: 0.88rem;
  }
}
