body { background: #f5f7f8; }
body::before { display: none; }
* { letter-spacing: 0 !important; }
h1 { font-size: 32px; line-height: 1.2; overflow-wrap: anywhere; }
h2 { font-size: 22px; line-height: 1.3; }
h3 { font-size: 18px; }
input, select, textarea { min-width: 0; max-width: 100%; }
button, .button { box-shadow: none; font-weight: 650; }
button:hover, .button:hover { transform: none; box-shadow: none; }
button:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 3px solid #3985c5; outline-offset: 3px; }
.site-header { background: white; gap: 18px; }
.site-header .brand { font-size: 18px; max-width: 360px; }
.site-header nav { flex-wrap: wrap; }
.site-header .brand span { overflow-wrap: anywhere; }
.site-footer { background: #fff; }
.page-title { padding-top: 30px; margin-bottom: 20px; }
.page-title h1 { max-width: 100%; }
.workspace-section, .public-profile { width: min(100% - 40px, var(--max)); margin: 24px auto 48px; }
.workspace-section > h2, .profile-section > h2 { margin-top: 30px; }
.subnav { width: min(100% - 40px, var(--max)); margin: 0 auto 24px; display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.subnav a { border-radius: 4px; padding: 9px 12px; }
.subnav a[aria-current="page"], .category-nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; }
.page-title .subnav, .form-page .subnav { width: 100%; }
.editor-form { display: grid; gap: 18px; max-width: 720px; margin: 24px 0; }
.editor-form label, .inline-editor label, .plan-settings label { display: grid; gap: 6px; font-weight: 600; }
.editor-form input:not([type="checkbox"]):not([type="hidden"]), .editor-form select, .editor-form textarea, .inline-editor input, .inline-editor select { width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 4px; background: white; color: var(--ink); }
.editor-form input[type="file"] { font-size: 14px; }
.editor-form button { justify-self: start; }
.editor-form fieldset { display: grid; gap: 12px; border: 1px solid var(--line-strong); border-radius: 4px; padding: 16px; min-width: 0; }
.editor-form legend { font-weight: 650; padding: 0 6px; }
.editor-form textarea { min-height: 150px; }
.editor-form .checkbox-row { display: flex; align-items: center; gap: 10px; font-weight: 400; }
.checkbox-row input { width: 18px; height: 18px; min-height: 18px; flex-shrink: 0; }
.inline-editor { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 20px 0; }
.inline-editor label { min-width: 150px; flex: 1; }
.inline-editor button { flex-shrink: 0; }
input[type="hidden"] { display: none; }
label:has(> input[type="hidden"]) { display: none; }
.notice { background: #eaf3fb; color: #244b6c; border-left: 4px solid #4d8db8; padding: 12px 16px; border-radius: 4px; }
.success, .error { font-weight: 500; }
.plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 24px 0; }
.plan-card { background: white; border: 1px solid var(--line); border-radius: 6px; padding: 20px; display: flex; flex-direction: column; min-width: 0; }
.plan-card h2 { font-size: 21px; margin: 0 0 12px; }
.plan-price { font-size: 25px; font-weight: 700; min-height: 38px; overflow-wrap: anywhere; }
.plan-price small { font-size: 13px; font-weight: 400; }
.plan-card ul { list-style: none; padding: 0; margin: 12px 0 24px; }
.plan-card li { border-top: 1px solid #edf0f2; display: flex; justify-content: space-between; align-items: start; gap: 10px; font-size: 13px; padding: 10px 0; }
.plan-card li strong { flex-shrink: 0; font-weight: 650; }
.plan-card .button { margin-top: auto; font-size: 14px; }
.current-plan { margin-top: auto; text-align: center; padding: 10px; font-weight: 650; color: var(--brand-dark); background: var(--brand-soft); border-radius: 4px; }
.security-page { max-width: 760px; overflow-wrap: anywhere; }
.mfa-qr { display: block; width: 240px; height: 240px; max-width: 100%; object-fit: contain; background: white; border: 1px solid var(--line); border-radius: 4px; }
.security-page code { overflow-wrap: anywhere; }
.recovery-code-list { display: grid; gap: 10px; padding: 20px; list-style-position: inside; background: white; border: 1px solid var(--line); border-radius: 4px; font-size: 14px; }
.plan-settings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.editor-form:has(.plan-settings) { max-width: none; }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 20px 0; }
.stats-row > div { display: flex; flex-direction: column; gap: 3px; }
.stats-row strong { font-size: 28px; font-weight: 700; }
.stats-row span { font-size: 13px; color: var(--muted); text-transform: capitalize; }
.member-badge { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 4px; background: #e8eff6; color: #335571; font-size: 12px; font-weight: 600; }
.listing-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.business-card { box-shadow: none; background: white; }
.membership-listing { display: flex; gap: 20px; align-items: start; }
.membership-listing > div:first-of-type { flex: 1; min-width: 0; }
.membership-listing h3, .admin-list-row h3 { margin: 0 0 8px; overflow-wrap: anywhere; }
.membership-listing p { margin: 0 0 12px; }
.business-logo { width: 64px; height: 64px; object-fit: contain; flex-shrink: 0; border: 1px solid var(--line); border-radius: 4px; }
.listing-contact { font-size: 13px; width: 150px; flex-shrink: 0; }
.directory-content > h2 { margin-top: 28px; }
.sidebar h2 { font-size: 18px; }
.sidebar { box-shadow: none; background: transparent; }
.business-description { white-space: pre-line; font-size: 17px; max-width: 780px; overflow-wrap: anywhere; }
.profile-heading { display: flex; gap: 20px; align-items: center; }
.profile-logo { width: 100px; height: 100px; object-fit: contain; background: white; border: 1px solid var(--line); border-radius: 6px; padding: 8px; }
.profile-section { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 12px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin: 20px 0; }
.photo-grid figure { margin: 0; min-width: 0; }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; background: #e6ebee; }
.photo-grid figcaption { padding: 8px 0; font-size: 13px; overflow-wrap: anywhere; }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.offer { padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.offer h3 { margin-top: 0; }
.hours-list { max-width: 450px; }
.hours-list > div { display: flex; justify-content: space-between; gap: 24px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.hours-list dd { margin: 0; }
.table-scroll { max-width: 100%; overflow-x: auto; margin: 20px 0; }
.table-scroll table { min-width: 680px; }
[hidden] { display: none !important; }
table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 650; background: #edf1f4; text-transform: capitalize; white-space: nowrap; }
td { min-width: 75px; overflow-wrap: anywhere; }
.admin-list-row { box-shadow: none; margin: 12px 0; }
.review-item, .inquiry { padding: 22px 0; border-bottom: 1px solid var(--line-strong); }
.review-item dl { display: grid; gap: 12px; }
.review-item dt { font-weight: 650; }
.review-item dd { margin: 4px 0; overflow-wrap: anywhere; white-space: pre-line; }
.review-form > button, .checkout-form > button { display: none; }
.membership-summary { border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.membership-summary h2 { margin-bottom: 8px; }
.empty-state { color: var(--muted); padding: 28px 0; }
.honey { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.brand-preview { background: var(--brand-soft); border-left: 5px solid var(--brand-dark); color: var(--brand); }
@media (max-width: 1050px) {
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-header { flex-direction: column; align-items: start; }
}
@media (max-width: 640px) {
  h1 { font-size: 27px; }
  .plan-grid, .plan-settings { grid-template-columns: 1fr; }
  .workspace-section, .public-profile, .subnav { width: calc(100% - 28px); }
  .membership-listing { flex-wrap: wrap; gap: 12px; }
  .listing-contact { width: 100%; }
  .plan-card { padding: 18px; }
  .inline-editor { align-items: stretch; }
  .inline-editor label { min-width: 100%; }
  .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-header nav { gap: 4px; }
  .site-header nav a { font-size: 13px; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-list-row { grid-template-columns: 1fr; }
  .hours-list { font-size: 14px; }
  .hero h1 { font-size: 32px; }
}
