.lxr-auth-wrap { max-width: 480px; margin: 0 auto; }
.lxr-auth-form .lxr-field { display: block; margin-bottom: 16px; }
.lxr-auth-form .btn-primary { width: 100%; margin-top: 8px; }
.lxr-auth-switch { text-align: center; margin-top: 20px; color: var(--muted); }

.lxr-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.lxr-auth-divider::before,
.lxr-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.lxr-google-auth { margin: 4px 0 0; }
.lxr-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  border: 1px solid #dadce0;
  background: #fff;
  color: #3c4043;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(60,64,67,.08);
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.lxr-google-btn:hover {
  background: #f8f9fa;
  border-color: #c6c9cc;
  box-shadow: 0 1px 3px rgba(60,64,67,.12);
  color: #202124;
}
.lxr-google-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.lxr-google-btn-label { flex: 0 1 auto; }
.lxr-google-icon { display: block; flex-shrink: 0; }

.lxr-plan-picker { margin-bottom: 20px; }
.lxr-plan-picker-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.lxr-plan-picker-card {
  position: relative;
  border: 1.5px solid var(--border); border-radius: var(--r-md); padding: 14px 12px;
  display: flex; flex-direction: column; gap: 4px; cursor: pointer; text-align: center;
  min-height: 88px; justify-content: center;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.lxr-plan-picker-card strong { font-size: 15px; color: var(--navy); }
.lxr-plan-picker-card span { font-size: 13px; color: var(--muted); line-height: 1.35; }
.lxr-plan-picker-card:has(input:checked) {
  border-color: var(--violet);
  background: rgba(123,82,207,.06);
  box-shadow: 0 0 0 1px rgba(123,82,207,.12);
}
.lxr-plan-picker-card input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.lxr-field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.lxr-dash-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.lxr-dash-header-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.lxr-dash-plan-card {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: var(--white); border: 1.5px solid var(--border); border-radius: var(--r-lg);
  padding: 24px; margin-bottom: 32px; flex-wrap: wrap;
}
.lxr-dash-plan-features { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.lxr-dash-section-title { margin-bottom: 20px; }
.lxr-dash-empty { text-align: center; padding: 48px 24px; background: var(--off); border-radius: var(--r-lg); }

.lxr-dash-business-list { display: flex; flex-direction: column; gap: 14px; }
.lxr-dash-business-card {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center;
  background: var(--white); border: 1.5px solid var(--border); border-radius: var(--r-lg); padding: 18px;
}
.lxr-dash-business-thumb {
  width: 72px; height: 72px; border-radius: var(--r-md); overflow: hidden;
  background: var(--off); display: flex; align-items: center; justify-content: center;
}
.lxr-dash-business-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lxr-dash-business-body h3 { margin: 0 0 4px; font-size: 18px; }
.lxr-dash-business-body p { margin: 0; color: var(--muted); font-size: 14px; }
.lxr-dash-status { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 100px; }
.lxr-dash-status-publish { background: rgba(34,197,94,.12); color: #15803d; }
.lxr-dash-status-pending { background: rgba(245,158,11,.12); color: #b45309; }
.lxr-dash-business-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.lxr-dash-delete { color: #b91c1c; font-size: 13px; font-weight: 600; }

.lxr-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: 24px;
  align-items: start;
  max-width: 100%;
  min-width: 0;
}

@media (min-width: 961px) {
  .lxr-dash-info { grid-column: 1; grid-row: 1; }
  .lxr-dash-contact { grid-column: 1; grid-row: 2; }
  .lxr-dash-hours { grid-column: 1; grid-row: 3; }
  .lxr-dash-location { grid-column: 2; grid-row: 1; }
  .lxr-dashboard-side { grid-column: 2; grid-row: 2; }
}

.lxr-dashboard-side {
  min-width: 0;
  max-width: 100%;
}

.lxr-dash-location .lxr-map-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 12px;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1.5px solid var(--border);
}

.lxr-dash-location .lxr-map-wrap .lxr-map,
.lxr-dash-location .lxr-map-wrap .lxr-form-map {
  width: 100%;
  max-width: 100%;
  margin-top: 0;
  border: none;
  border-radius: 0;
}

.lxr-dash-card {
  background: var(--white); border: 1.5px solid var(--border); border-radius: var(--r-lg);
  padding: 24px; margin-bottom: 20px;
}
.lxr-dash-card h2 { margin: 0 0 16px; font-size: 18px; }
.lxr-plan-notice {
  background: rgba(123,82,207,.08); border: 1px solid rgba(123,82,207,.2);
  border-radius: var(--r-md); padding: 12px 16px; margin-bottom: 20px; font-size: 14px;
}
.lxr-dash-media { margin-bottom: 16px; }
.lxr-dash-media-preview {
  height: 120px; border-radius: var(--r-md); background-size: cover; background-position: center;
  margin: 8px 0; border: 1px solid var(--border);
}
.lxr-dash-media-preview.is-logo { width: 120px; height: 120px; }
.lxr-dash-gallery-existing { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lxr-dash-gallery-item {
  position: relative; border: 1px solid var(--border); border-radius: var(--r-md); padding: 8px; text-align: center; font-size: 12px;
}
.lxr-dash-gallery-thumb { display: block; height: 72px; background-size: cover; background-position: center; border-radius: 6px; margin-bottom: 6px; }
.lxr-dash-gallery-remove {
  position: absolute; top: 4px; right: 6px; border: none; background: rgba(0,0,0,.55); color: #fff;
  width: 22px; height: 22px; border-radius: 50%; cursor: pointer; line-height: 1;
}
.lxr-dash-actions { display: flex; flex-direction: column; gap: 10px; }
.lxr-dash-actions .btn-primary, .lxr-dash-actions .btn-ghost { width: 100%; text-align: center; }
.lxr-field input[type="radio"],
.lxr-field input[type="checkbox"] {
  width: auto; min-width: 16px; padding: 0; margin: 0;
  border: none; box-shadow: none; flex-shrink: 0;
}
.lxr-radio {
  display: flex; align-items: center; gap: 10px;
  margin: 0; cursor: pointer; font-size: 14px; font-weight: 400; color: var(--navy);
}
.lxr-radio-group { display: flex; flex-direction: column; gap: 10px; }
.lxr-address-autocomplete { position: relative; }
.lxr-address-suggest {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 1000;
  margin: 4px 0 0; padding: 0; list-style: none;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--r-sm); box-shadow: 0 8px 24px rgba(0,0,0,.12);
  max-height: 240px; overflow-y: auto;
}
.lxr-address-suggest[hidden] { display: none !important; }
.lxr-address-suggest li {
  padding: 10px 14px; font-size: 13px; line-height: 1.4;
  cursor: pointer; border-bottom: 1px solid var(--border);
}
.lxr-address-suggest li:last-child { border-bottom: none; }
.lxr-address-suggest li:hover,
.lxr-address-suggest li.is-active { background: var(--off); }
.lxr-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
}
@media (max-width: 640px) {
  .lxr-field-row { grid-template-columns: 1fr; }
}
.lxr-check { display: flex; align-items: center; gap: 8px; font-size: 14px; margin: 8px 0; }

.lxr-dashboard-form input[type="file"],
.lxr-dash-card input[type="file"] {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1.5px dashed var(--border);
  border-radius: var(--r-md);
  background: var(--off);
  color: var(--navy);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}

.lxr-dashboard-form input[type="file"]::file-selector-button,
.lxr-dash-card input[type="file"]::file-selector-button {
  margin-right: 14px;
  padding: 9px 16px;
  border: none;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--purple), var(--violet));
  color: var(--white);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.lxr-dashboard-form input[type="file"]::file-selector-button:hover,
.lxr-dash-card input[type="file"]::file-selector-button:hover {
  opacity: 0.92;
}

.lxr-dash-media input[type="file"],
.lxr-field input[type="file"] {
  margin-top: 8px;
}

.lxr-checkout-wrap { max-width: 520px; margin: 0 auto; }
.lxr-checkout-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--r-lg); padding: 28px; }
.lxr-checkout-price { font-family: var(--font-heading); font-size: 36px; font-weight: 800; margin: 12px 0 20px; }
.lxr-checkout-price span { font-size: 16px; font-weight: 500; color: var(--muted); }
.lxr-checkout-pay-btn { width: 100%; margin-top: 16px; text-align: center; }

.lxr-dash-plan-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.lxr-dash-subscription { margin-top: 12px; font-size: 14px; }
.lxr-dash-subscription-status { margin: 0 0 4px; }
.lxr-dash-subscription-renewal { margin: 0; color: var(--muted); }

@media (max-width: 960px) {
  .lxr-dashboard-grid { grid-template-columns: 1fr; }
  .lxr-dash-info,
  .lxr-dash-contact,
  .lxr-dash-location,
  .lxr-dash-hours,
  .lxr-dashboard-side {
    grid-column: auto;
    grid-row: auto;
  }
  .lxr-dash-business-card { grid-template-columns: 1fr; }
  .lxr-plan-picker-grid { grid-template-columns: 1fr; }
  .lxr-dash-header { flex-direction: column; align-items: stretch; }
  .lxr-dash-header-actions { width: 100%; }
  .lxr-dash-header-actions .btn-primary,
  .lxr-dash-header-actions .btn-ghost { flex: 1; justify-content: center; }
  .lxr-dash-plan-card { flex-direction: column; align-items: stretch; }
  .lxr-dash-plan-actions { align-items: stretch; width: 100%; }
  .lxr-dash-business-actions { flex-direction: column; align-items: stretch; }
  .lxr-dash-business-actions .btn-primary,
  .lxr-dash-business-actions .btn-ghost { width: 100%; justify-content: center; }
  .lxr-checkout-card { padding: 22px 18px; }
}
