/* TownHub dashboard structure, adapted to AhiBizz's existing guarded controls.
   Theme surfaces follow the existing light/dark/system preference resolver. */
body.ahi-townhub .ahi-townhub-app {
  --th-panel-page:var(--ahi-surface-page,#f7f8fa);
  --th-panel-surface:var(--ahi-surface,#fff);
  --th-panel-raised:var(--ahi-surface-raised,#f4f6f8);
  --th-panel-input:var(--ahi-surface-input,#fff);
  --th-panel-ink:var(--ahi-text,#142540);
  --th-panel-muted:var(--ahi-muted,#627084);
  --th-panel-line:var(--ahi-line,#e1e6ec);
  --th-panel-warm:var(--ahi-warm,#fbf6e9);
  --th-panel-gold:#d7aa43;
  --th-panel-gold-text:var(--ahi-gold-text,#775615);
  --th-panel-navy:#142540;
  --th-panel-navy-soft:#203c5c;
  --th-panel-shadow:0 6px 24px #14254006;
}

/* One restrained workspace rhythm across the original owner/admin modules. */
body.ahi-townhub .ahi-townhub-app :is(.ahi-dir-dashboard,.ahi-admin-page,.ahi-business-page,.ahi-account-page,.ahi-management,.ahi-review-admin,.ahi-verification-page,.ahi-taxonomy-page,.ahi-approval-page,.ahi-content-workspace,.ahi-content-admin) {
  color:var(--th-panel-ink);
  min-inline-size:0;
  overflow-wrap:anywhere;
}
body.ahi-townhub .ahi-townhub-app :is(.ahi-admin-page,.ahi-business-page,.ahi-account-page,.ahi-approval-page) {
  background:var(--th-panel-page);
}
body.ahi-townhub .ahi-townhub-app :is(.ahi-admin-page,.ahi-business-shell,.ahi-management,.ahi-review-admin) {
  max-inline-size:1240px;
  box-sizing:border-box;
}
body.ahi-townhub .ahi-townhub-app :is(.ahi-admin-page,.ahi-management,.ahi-review-admin) {
  margin-inline:auto;
  padding:32px 24px 72px;
}
body.ahi-townhub .ahi-townhub-app .ahi-business-page {padding:32px 24px 80px}
body.ahi-townhub .ahi-townhub-app :is(.ahi-admin-page,.ahi-business-page,.ahi-account-page,.ahi-management,.ahi-review-admin,.ahi-verification-page,.ahi-taxonomy-page,.ahi-approval-page,.ahi-content-workspace,.ahi-content-admin) :is(h1,h2,h3,h4,legend) {
  color:var(--th-panel-ink);
  letter-spacing:-.02em;
}
body.ahi-townhub .ahi-townhub-app :is(.ahi-admin-header h1,.ahi-business-page-head h1,.ahi-management h1,.ahi-verification-page h1,.ahi-taxonomy-page h1,.ahi-approval-page h1,.ahi-content-workspace h1,.ahi-content-admin h1) {
  font-size:clamp(25px,3.1vw,34px);
  line-height:1.25;
  margin-block:0 12px;
}
body.ahi-townhub .ahi-townhub-app :is(.ahi-admin-header,.ahi-business-page-head,.ahi-content-heading) {margin-block-end:26px}
body.ahi-townhub .ahi-townhub-app :is(.ahi-admin-panel,.ahi-admin-detail,.ahi-admin-upcoming,.ahi-business-panel,.ahi-management-card,.ahi-review-card,.ahi-verification-card,.ahi-taxonomy-card,.ahi-approval-card,.ahi-res-card,.ahi-content-editor,.ahi-content-metadata) {
  min-inline-size:0;
  background:var(--th-panel-surface);
  border:1px solid var(--th-panel-line);
  border-radius:12px;
  box-shadow:var(--th-panel-shadow);
  color:var(--th-panel-ink);
}
body.ahi-townhub .ahi-townhub-app :is(.ahi-admin-panel,.ahi-admin-detail,.ahi-admin-upcoming,.ahi-business-panel,.ahi-management-card,.ahi-review-card,.ahi-verification-card,.ahi-taxonomy-card,.ahi-res-card,.ahi-content-editor,.ahi-content-metadata) {
  padding:clamp(18px,2.7vw,28px);
}
body.ahi-townhub .ahi-townhub-app :is(.ahi-business-panel-head,.ahi-business-hours-row,.ahi-business-repeat-content,.ahi-business-summary,.ahi-admin-businesses li,.ahi-admin-upcoming li,.ahi-account-back,.ahi-profile-avatar,.ahi-profile-password) {border-color:var(--th-panel-line)}
body.ahi-townhub .ahi-townhub-app :is(.ahi-business-page-head p,.ahi-business-panel-head p,.ahi-business-hint,.ahi-business-check,.ahi-business-coordinates,.ahi-business-quota p,.ahi-business-profile-body>p,.ahi-admin-header p,.ahi-admin-help,.ahi-admin-asof,.ahi-admin-cell-note,.ahi-admin-totals,.ahi-admin-definitions dt,.ahi-account-description,.ahi-account-address,.ahi-own-profile-hint,.ahi-management-fact dt,.ahi-content-note) {
  color:var(--th-panel-muted);
  line-height:1.7;
}

/* Owner overview: existing links become the TownHub-style navigation rail. */
body.ahi-townhub .ahi-townhub-app .ahi-dir-dashboard {
  display:grid;
  grid-template-columns:240px minmax(0,1fr);
  gap:24px;
  align-items:start;
  max-inline-size:1240px;
  padding-block:32px 72px;
}
body.ahi-townhub .ahi-townhub-app .ahi-dir-dashboard>.ahi-dir-section-title {
  grid-column:1/-1;
  margin:0;
  padding:28px 30px;
  border:1px solid #314761;
  border-radius:12px;
  background:linear-gradient(115deg,#142540,#203c5c);
  color:#fff;
  gap:20px;
}
body.ahi-townhub .ahi-townhub-app .ahi-dir-dashboard>.ahi-dir-section-title h1 {
  color:#fff;
  font-size:clamp(23px,3vw,32px);
  line-height:1.3;
  margin:0;
  letter-spacing:-.025em;
}
body.ahi-townhub .ahi-townhub-app .ahi-dir-dashboard>.ahi-dir-section-title .ahi-dir-text-button {
  flex:none;
  min-block-size:44px;
  border:1px solid #ffffff45;
  border-radius:6px;
  background:#ffffff0a;
  color:#fff;
  padding:10px 16px;
  font-size:12px;
  text-decoration:none;
}
body.ahi-townhub .ahi-townhub-app .ahi-dir-dashboard>.ahi-dir-dashboard-grid {
  grid-column:1;
  grid-row:2 / span 2;
  display:flex;
  flex-direction:column;
  gap:0;
  margin:0;
  padding:8px;
  border:1px solid var(--th-panel-line);
  border-radius:12px;
  background:var(--th-panel-surface);
  box-shadow:var(--th-panel-shadow);
}
body.ahi-townhub .ahi-townhub-app .ahi-dir-dashboard .ahi-dir-dashboard-card {
  display:flex;
  gap:13px;
  align-items:center;
  min-inline-size:0;
  min-block-size:52px;
  padding:13px 15px;
  border:0;
  border-radius:6px;
  background:transparent;
  color:var(--th-panel-ink);
  box-shadow:none;
  text-decoration:none;
  transform:none;
}
body.ahi-townhub .ahi-townhub-app .ahi-dir-dashboard .ahi-dir-dashboard-card>svg {
  flex:0 0 21px;
  inline-size:21px;
  block-size:21px;
  padding:0;
  margin:0;
  border-radius:0;
  background:transparent;
  color:var(--th-panel-gold-text);
}
body.ahi-townhub .ahi-townhub-app .ahi-dir-dashboard .ahi-dir-dashboard-card h2 {
  font-size:12px;
  font-weight:650;
  line-height:1.6;
  letter-spacing:0;
  margin:0;
  color:inherit;
}
body.ahi-townhub .ahi-townhub-app .ahi-dir-dashboard .ahi-dir-dashboard-card:hover {
  background:var(--th-panel-warm);
  color:var(--th-panel-gold-text);
  transform:none;
}
body.ahi-townhub .ahi-townhub-app .ahi-dir-dashboard>.ahi-owner-analytics {
  grid-column:2;
  margin:0;
  padding:26px;
  border:1px solid var(--th-panel-line);
  border-radius:12px;
  background:var(--th-panel-surface);
  box-shadow:var(--th-panel-shadow);
}
body.ahi-townhub .ahi-townhub-app .ahi-owner-analytics h2 {font-size:19px;line-height:1.4}
body.ahi-townhub .ahi-townhub-app .ahi-owner-analytics-grid {gap:14px;margin-block:24px 20px}
body.ahi-townhub .ahi-townhub-app .ahi-owner-analytics-grid>div {
  min-inline-size:0;
  border:1px solid var(--th-panel-line);
  border-block-start:3px solid var(--th-panel-gold);
  border-radius:8px;
  padding:19px 16px;
  background:var(--th-panel-raised);
}
body.ahi-townhub .ahi-townhub-app .ahi-owner-analytics dt {font-size:12px;color:var(--th-panel-muted)}
body.ahi-townhub .ahi-townhub-app .ahi-owner-analytics dd {font-size:29px;line-height:1.2;color:var(--th-panel-ink);margin-block-start:12px}
body.ahi-townhub .ahi-townhub-app .ahi-dir-dashboard>.ahi-social-dashboard-link {grid-column:2;margin:0;font-size:13px}
body.ahi-townhub .ahi-townhub-app .ahi-dir-dashboard>.ahi-dir-section {grid-column:1/-1;padding:8px 0 0}
body.ahi-townhub .ahi-townhub-app .ahi-dir-dashboard>.ahi-dir-section>h2 {font-size:21px;margin-block:0 18px}
body.ahi-townhub .ahi-townhub-app .ahi-dir-dashboard>.ahi-dir-section .ahi-dir-dashboard-grid {
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:0;
}
body.ahi-townhub .ahi-townhub-app .ahi-dir-dashboard>.ahi-dir-section .ahi-dir-dashboard-card {
  border:1px solid var(--th-panel-line);
  background:var(--th-panel-surface);
  padding:18px;
}

/* The admin links remain route-aware; no duplicate navigation or synthetic KPI. */
body.ahi-townhub .ahi-townhub-app .ahi-admin-workspace {
  inline-size:calc(100% - 48px);
  max-inline-size:1192px;
  margin:28px auto 0;
  padding:20px;
  border:1px solid #314761;
  border-radius:12px;
  background:var(--th-panel-navy);
  color:#fff;
  box-shadow:none;
}
body.ahi-townhub .ahi-townhub-app .ahi-admin-workspace-heading {margin-block-end:16px;gap:18px}
body.ahi-townhub .ahi-townhub-app .ahi-admin-workspace-heading strong {color:#fff;font-size:18px}
body.ahi-townhub .ahi-townhub-app .ahi-admin-workspace-heading p {color:#c4cfdf;font-size:12px}
body.ahi-townhub .ahi-townhub-app .ahi-admin-workspace-account {color:#ecd097;font-size:12px;white-space:normal;text-align:end}
body.ahi-townhub .ahi-townhub-app .ahi-admin-workspace-nav {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:7px;
}
body.ahi-townhub .ahi-townhub-app .ahi-admin-workspace-nav a {
  min-block-size:47px;
  border:1px solid #ffffff18;
  border-radius:6px;
  background:#ffffff08;
  color:#e2e8f1;
  padding:10px 12px;
  font-size:11px;
  font-weight:600;
  line-height:1.55;
  box-shadow:none;
}
body.ahi-townhub .ahi-townhub-app .ahi-admin-workspace-nav a:hover {background:#ffffff12;border-color:#d7aa4370;color:#fff}
body.ahi-townhub .ahi-townhub-app .ahi-admin-workspace-nav :is(a.is-current,a[aria-current=page]) {
  background:#d7aa43;
  border-color:#ecd097;
  color:#142540;
  font-weight:750;
  box-shadow:none;
}
body.ahi-townhub .ahi-townhub-app .ahi-admin-verification-note {background:#ffffff0a;color:#e9d7ad;border:1px solid #d7aa4350;border-radius:6px}
body.ahi-townhub .ahi-townhub-app .ahi-admin-verification-note a {color:#ecd097}
body.ahi-townhub .ahi-townhub-app .ahi-admin-cards {gap:16px;margin-block-end:18px}
body.ahi-townhub .ahi-townhub-app .ahi-admin-card {
  gap:15px;
  padding:23px;
  border:1px solid var(--th-panel-line);
  border-block-start:3px solid var(--th-panel-gold);
  border-radius:9px;
  background:var(--th-panel-surface);
  box-shadow:var(--th-panel-shadow);
  color:var(--th-panel-ink);
}
body.ahi-townhub .ahi-townhub-app .ahi-admin-card>span {font-size:12px;line-height:1.6;color:var(--th-panel-muted);min-block-size:38px}
body.ahi-townhub .ahi-townhub-app .ahi-admin-card>strong {font-size:34px;line-height:1.15;color:var(--th-panel-ink)}
body.ahi-townhub .ahi-townhub-app .ahi-admin-card>a {font-size:12px;color:var(--th-panel-gold-text)}
body.ahi-townhub .ahi-townhub-app .ahi-admin-deadlines .ahi-admin-card {background:var(--th-panel-warm)}
body.ahi-townhub .ahi-townhub-app .ahi-admin-filters {gap:16px;padding-block-end:22px;border-block-end:1px solid var(--th-panel-line)}
body.ahi-townhub .ahi-townhub-app .ahi-admin-filters label {font-size:12px;color:var(--th-panel-muted)}
body.ahi-townhub .ahi-townhub-app :is(.ahi-admin-shortcuts,.ahi-admin-quicklinks,.ahi-management-nav) {gap:8px}
body.ahi-townhub .ahi-townhub-app .ahi-admin-page>.ahi-admin-quicklinks a {border-radius:6px;font-size:12px;padding:9px 14px;min-block-size:42px}
body.ahi-townhub .ahi-townhub-app .ahi-admin-table-wrap {
  max-inline-size:100%;
  min-inline-size:0;
  overflow:auto;
  overscroll-behavior-inline:contain;
  border:1px solid var(--th-panel-line);
  border-radius:8px;
  scrollbar-width:thin;
  scrollbar-color:#91a0b4 transparent;
}
body.ahi-townhub .ahi-townhub-app .ahi-admin-table {inline-size:100%;border-collapse:collapse;text-align:start;font-size:12px}
body.ahi-townhub .ahi-townhub-app .ahi-admin-table th {background:var(--th-panel-raised);color:var(--th-panel-muted);font-size:11px;padding:15px 14px}
body.ahi-townhub .ahi-townhub-app .ahi-admin-table td {padding:17px 14px;border-color:var(--th-panel-line);line-height:1.7;min-inline-size:104px;color:var(--th-panel-ink)}
body.ahi-townhub .ahi-townhub-app .ahi-admin-table td:first-child {min-inline-size:180px}
body.ahi-townhub .ahi-townhub-app .ahi-admin-table tr:last-child td {border-block-end:0}
body.ahi-townhub .ahi-townhub-app .ahi-admin-table tbody tr:hover {background:var(--th-panel-raised)}
body.ahi-townhub .ahi-townhub-app .ahi-admin-cell-note {font-size:11px}
body.ahi-townhub .ahi-townhub-app .ahi-admin-pagination {flex-wrap:wrap;gap:12px}
body.ahi-townhub .ahi-townhub-app .ahi-admin-definitions {grid-template-columns:minmax(140px,1fr) minmax(0,2fr);gap:12px 24px;line-height:1.65}

/* Original business editor rail and real hash targets. */
body.ahi-townhub .ahi-townhub-app .ahi-business-editor-grid {grid-template-columns:225px minmax(0,1fr);gap:25px}
body.ahi-townhub .ahi-townhub-app .ahi-business-editor-nav {
  position:sticky;
  top:calc(var(--ahi-th-header-height,80px) + 20px);
  padding:18px 8px;
  border-radius:10px;
  border:1px solid #314761;
  background:var(--th-panel-navy);
  color:#fff;
  overflow:visible;
}
body.ahi-townhub .ahi-townhub-app .ahi-business-editor-nav>strong {padding:4px 12px 17px;font-size:12px;color:#fff}
body.ahi-townhub .ahi-townhub-app .ahi-business-editor-nav a {
  min-block-size:45px;
  padding:11px 12px;
  gap:12px;
  border:0;
  border-radius:6px;
  color:#dce5f1;
  font-size:11px;
  line-height:1.65;
  white-space:normal;
}
body.ahi-townhub .ahi-townhub-app .ahi-business-editor-nav a span {font-size:10px;color:#ecd097;flex:none}
body.ahi-townhub .ahi-townhub-app .ahi-business-editor-nav a:hover {background:#ffffff0e;color:#ecd097}
body.ahi-townhub .ahi-townhub-app .ahi-business-editor-nav a:focus-visible {outline-offset:-2px}
body.ahi-townhub .ahi-townhub-app .ahi-business-panel:target {border-color:#d7aa43;box-shadow:0 0 0 2px #d7aa4320}
body.ahi-townhub .ahi-townhub-app .ahi-business-editor-nav :is(a[aria-current],a.is-current) {background:#d7aa43;color:#142540}
body.ahi-townhub .ahi-townhub-app .ahi-business-editor-nav :is(a[aria-current],a.is-current) span {color:#142540}
body.ahi-townhub .ahi-townhub-app .ahi-business-editor-grid:has(#business-basic:target) a[href="#business-basic"],
body.ahi-townhub .ahi-townhub-app .ahi-business-editor-grid:has(#business-contact:target) a[href="#business-contact"],
body.ahi-townhub .ahi-townhub-app .ahi-business-editor-grid:has(#business-location:target) a[href="#business-location"],
body.ahi-townhub .ahi-townhub-app .ahi-business-editor-grid:has(#business-logo:target) a[href="#business-logo"],
body.ahi-townhub .ahi-townhub-app .ahi-business-editor-grid:has(#business-gallery:target) a[href="#business-gallery"],
body.ahi-townhub .ahi-townhub-app .ahi-business-editor-grid:has(#business-hours:target) a[href="#business-hours"],
body.ahi-townhub .ahi-townhub-app .ahi-business-editor-grid:has(#business-menu:target) a[href="#business-menu"],
body.ahi-townhub .ahi-townhub-app .ahi-business-editor-grid:has(#business-vehicles:target) a[href="#business-vehicles"],
body.ahi-townhub .ahi-townhub-app .ahi-business-editor-grid:has(#business-publish:target) a[href="#business-publish"] {background:#d7aa43;color:#142540}
body.ahi-townhub .ahi-townhub-app .ahi-business-editor-grid:has(#business-basic:target) a[href="#business-basic"] span,
body.ahi-townhub .ahi-townhub-app .ahi-business-editor-grid:has(#business-contact:target) a[href="#business-contact"] span,
body.ahi-townhub .ahi-townhub-app .ahi-business-editor-grid:has(#business-location:target) a[href="#business-location"] span,
body.ahi-townhub .ahi-townhub-app .ahi-business-editor-grid:has(#business-logo:target) a[href="#business-logo"] span,
body.ahi-townhub .ahi-townhub-app .ahi-business-editor-grid:has(#business-gallery:target) a[href="#business-gallery"] span,
body.ahi-townhub .ahi-townhub-app .ahi-business-editor-grid:has(#business-hours:target) a[href="#business-hours"] span,
body.ahi-townhub .ahi-townhub-app .ahi-business-editor-grid:has(#business-menu:target) a[href="#business-menu"] span,
body.ahi-townhub .ahi-townhub-app .ahi-business-editor-grid:has(#business-vehicles:target) a[href="#business-vehicles"] span,
body.ahi-townhub .ahi-townhub-app .ahi-business-editor-grid:has(#business-publish:target) a[href="#business-publish"] span {color:#142540}
body.ahi-townhub .ahi-townhub-app :is(.ahi-business-menu-section,.ahi-business-repeat-card,.ahi-business-attachment,.ahi-business-upload,.ahi-own-profile-email,.ahi-account-status,.ahi-account-profile,.ahi-content-repeat) {
  border:1px solid var(--th-panel-line);
  border-radius:8px;
  background:var(--th-panel-raised);
  color:var(--th-panel-ink);
}
body.ahi-townhub .ahi-townhub-app .ahi-business-upload {border-style:dashed;padding:22px}
body.ahi-townhub .ahi-townhub-app .ahi-business-upload small {color:var(--th-panel-muted)}
body.ahi-townhub .ahi-townhub-app .ahi-business-fields {gap:0 20px}
body.ahi-townhub .ahi-townhub-app .ahi-business-field {gap:8px;margin-block-end:22px;font-size:12px}
body.ahi-townhub .ahi-townhub-app .ahi-business-profile-card {
  background:var(--th-panel-surface);
  border:1px solid var(--th-panel-line);
  border-radius:10px;
  box-shadow:var(--th-panel-shadow);
}
body.ahi-townhub .ahi-townhub-app .ahi-business-profile-body {padding:22px}
body.ahi-townhub .ahi-townhub-app .ahi-business-profile-body h2 {font-size:18px}
body.ahi-townhub .ahi-townhub-app .ahi-business-profile-placeholder {background:var(--th-panel-raised);color:var(--th-panel-muted)}

/* Form hierarchy is shared; validation, disabling and decision tones stay intact. */
body.ahi-townhub .ahi-townhub-app :is(.ahi-admin-page,.ahi-business-page,.ahi-account-page,.ahi-management,.ahi-review-admin,.ahi-verification-page,.ahi-taxonomy-page,.ahi-approval-page,.ahi-content-workspace,.ahi-content-admin) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden]):not([type=color]),select,textarea) {
  box-sizing:border-box;
  min-inline-size:0;
  max-inline-size:100%;
  min-block-size:46px;
  border:1px solid var(--th-panel-line);
  border-radius:6px;
  background:var(--th-panel-input);
  color:var(--th-panel-ink);
  padding:11px 13px;
  font:inherit;
  font-size:14px;
  line-height:1.5;
  box-shadow:none;
}
body.ahi-townhub .ahi-townhub-app :is(.ahi-admin-page,.ahi-business-page,.ahi-account-page,.ahi-management,.ahi-review-admin,.ahi-verification-page,.ahi-taxonomy-page,.ahi-approval-page,.ahi-content-workspace,.ahi-content-admin) textarea {min-block-size:120px;resize:vertical}
body.ahi-townhub .ahi-townhub-app :is(.ahi-admin-page,.ahi-business-page,.ahi-account-page,.ahi-management,.ahi-review-admin,.ahi-verification-page,.ahi-taxonomy-page,.ahi-approval-page,.ahi-content-workspace,.ahi-content-admin) :is(input,textarea)::placeholder {color:var(--th-panel-muted);opacity:.85}
body.ahi-townhub .ahi-townhub-app :is(.ahi-admin-page,.ahi-business-page,.ahi-account-page,.ahi-management,.ahi-review-admin,.ahi-verification-page,.ahi-taxonomy-page,.ahi-approval-page,.ahi-content-workspace,.ahi-content-admin) :is(input,select,textarea):disabled {background:var(--th-panel-raised);color:var(--th-panel-muted);cursor:not-allowed;opacity:.75}
body.ahi-townhub .ahi-townhub-app :is(.ahi-admin-page,.ahi-business-page,.ahi-account-page,.ahi-management,.ahi-review-admin,.ahi-verification-page,.ahi-taxonomy-page,.ahi-approval-page,.ahi-content-workspace,.ahi-content-admin) :is(input[type=checkbox],input[type=radio]) {accent-color:#b58a2e;flex:none}
body.ahi-townhub .ahi-townhub-app :is(.ahi-admin-page,.ahi-business-page,.ahi-account-page,.ahi-management,.ahi-review-admin,.ahi-verification-page,.ahi-taxonomy-page,.ahi-approval-page,.ahi-content-workspace,.ahi-content-admin) [aria-invalid=true] {border-color:var(--ahi-error-text,#b42318)}
body.ahi-townhub .ahi-townhub-app :is(.ahi-business-field,.ahi-account-field,.ahi-res-field,.ahi-content-field) :is(label,span):first-child {font-size:12px;font-weight:650;line-height:1.55}
body.ahi-townhub .ahi-townhub-app :is(.ahi-admin-page button,.ahi-admin-shortcuts a,.ahi-admin-actions a,.ahi-business-button,.ahi-account-button,.ahi-management button,.ahi-review-admin button,.ahi-verification-page button,.ahi-taxonomy-page button,.ahi-content-workspace button,.ahi-content-admin button) {
  box-sizing:border-box;
  min-block-size:44px;
  max-inline-size:100%;
  border-radius:6px;
  padding:10px 16px;
  font:inherit;
  font-size:12px;
  font-weight:700;
  line-height:1.5;
  white-space:normal;
  overflow-wrap:anywhere;
  text-decoration:none;
  touch-action:manipulation;
}
body.ahi-townhub .ahi-townhub-app :is(.ahi-business-button:not(.is-secondary),.ahi-account-button:not(.ahi-account-secondary):not(.ahi-profile-secondary),.ahi-admin-actions button[type=submit],.ahi-taxonomy-page button[type=submit]) {
  border:1px solid #203c5c;
  background:#203c5c;
  color:#fff;
}
body.ahi-townhub .ahi-townhub-app :is(.ahi-business-button.is-secondary,.ahi-account-secondary,.ahi-profile-secondary,.ahi-admin-page button,.ahi-admin-actions a,.ahi-content-workspace button,.ahi-content-admin button) {
  border:1px solid var(--th-panel-line);
  background:var(--th-panel-surface);
  color:var(--th-panel-ink);
}
body.ahi-townhub .ahi-townhub-app .ahi-admin-actions button[type=submit] {border-color:#203c5c;background:#203c5c;color:#fff}
body.ahi-townhub .ahi-townhub-app :is(.ahi-business-button,.ahi-account-button,.ahi-admin-page button,.ahi-admin-actions a,.ahi-content-workspace button,.ahi-content-admin button):hover:not(:disabled) {border-color:#d7aa43}
body.ahi-townhub .ahi-townhub-app :is(.ahi-business-button:not(.is-secondary),.ahi-account-button:not(.ahi-account-secondary):not(.ahi-profile-secondary),.ahi-admin-actions button[type=submit]):hover:not(:disabled) {background:#142540;color:#fff}
body.ahi-townhub .ahi-townhub-app :is(.ahi-business-button,.ahi-account-button,.ahi-admin-page button,.ahi-management button,.ahi-review-admin button,.ahi-content-workspace button,.ahi-content-admin button):disabled {opacity:.5;cursor:not-allowed}
body.ahi-townhub .ahi-townhub-app :is(.ahi-business-link,.ahi-account-link,.ahi-admin-workspace-account) {text-underline-offset:4px}
body.ahi-townhub .ahi-townhub-app :is(.ahi-business-link,.ahi-account-link) {color:var(--ahi-link,#294f79);font-size:12px}
body.ahi-townhub .ahi-townhub-app :is(.ahi-business-actions,.ahi-business-inline-actions,.ahi-profile-actions,.ahi-content-actions,.ahi-content-sticky-actions,.ahi-res-actions) {gap:10px;flex-wrap:wrap}
body.ahi-townhub .ahi-townhub-app :is(.ahi-business-page,.ahi-account-page,.ahi-admin-page,.ahi-admin-workspace,.ahi-dir-dashboard,.ahi-management,.ahi-review-admin,.ahi-verification-page,.ahi-taxonomy-page,.ahi-approval-page,.ahi-content-workspace,.ahi-content-admin) :focus-visible {outline:3px solid #d7aa43;outline-offset:3px}

/* Original tabs use their own aria/class state, including appointment workflows. */
body.ahi-townhub .ahi-townhub-app :is(.ahi-appointment-tabs,.ahi-content-workspace-tabs,.ahi-content-admin .ahi-content-tabs) {gap:6px;padding:6px;border:1px solid var(--th-panel-line);border-radius:8px;background:var(--th-panel-raised)}
body.ahi-townhub .ahi-townhub-app :is(.ahi-appointment-tabs .ahi-business-button,.ahi-content-workspace-tabs button,.ahi-content-admin .ahi-content-tabs button) {border:1px solid transparent;background:transparent;color:var(--th-panel-muted);box-shadow:none;border-radius:5px}
body.ahi-townhub .ahi-townhub-app :is(.ahi-appointment-tabs .ahi-business-button:not(.is-secondary),.ahi-content-workspace-tabs [aria-current=page],.ahi-content-workspace-tabs [aria-selected=true],.ahi-content-admin .ahi-content-tabs [aria-current=page]) {background:#d7aa43;border-color:#d7aa43;color:#142540;font-weight:750}
body.ahi-townhub .ahi-townhub-app :is(.ahi-appointment-card,.ahi-appointment-confirm,.ahi-appointment-draft-guard) {border-radius:9px}
body.ahi-townhub .ahi-townhub-app .ahi-appointment-card {border-color:var(--th-panel-line);background:var(--th-panel-surface);color:var(--th-panel-ink)}
body.ahi-townhub .ahi-townhub-app .ahi-appointment-form-grid {gap:18px}
body.ahi-townhub .ahi-townhub-app .ahi-appointment-panel .ahi-business-actions {gap:10px}
body.ahi-townhub .ahi-townhub-app .ahi-content-sticky-actions {border-radius:8px;background:var(--th-panel-surface);border-color:var(--th-panel-line);box-shadow:0 8px 24px #14254012}
body.ahi-townhub .ahi-townhub-app .ahi-content-workspace .ahi-content-sticky-actions button:first-child,
body.ahi-townhub .ahi-townhub-app .ahi-content-admin .ahi-content-sticky-actions button:first-child {background:#d7aa43;border-color:#d7aa43;color:#142540}

body.ahi-townhub .ahi-townhub-app .ahi-account-page {padding:44px 24px 72px}
body.ahi-townhub .ahi-townhub-app .ahi-account-card {max-inline-size:540px;padding:36px;border:1px solid var(--th-panel-line);border-radius:12px;background:var(--th-panel-surface);color:var(--th-panel-ink);box-shadow:var(--th-panel-shadow)}
body.ahi-townhub .ahi-townhub-app .ahi-account-card h1 {font-size:28px;line-height:1.3;letter-spacing:-.025em}
body.ahi-townhub .ahi-townhub-app .ahi-own-profile .ahi-own-profile-card {max-inline-size:720px}
body.ahi-townhub .ahi-townhub-app .ahi-account-field {margin-block-end:22px}
body.ahi-townhub .ahi-townhub-app .ahi-account-field label {font-size:12px}
body.ahi-townhub .ahi-townhub-app .ahi-own-profile-email {padding:22px}
body.ahi-townhub .ahi-townhub-app .ahi-own-profile .ahi-profile-avatar-current img,
body.ahi-townhub .ahi-townhub-app .ahi-own-profile .ahi-profile-avatar-empty {border-radius:12px;border-color:var(--th-panel-line)}
body.ahi-townhub .ahi-townhub-app .ahi-own-profile .ahi-profile-avatar-empty {background:var(--th-panel-raised);color:var(--th-panel-ink)}
body.ahi-townhub .ahi-townhub-app .ahi-own-profile input::file-selector-button,
body.ahi-townhub .ahi-townhub-app .ahi-business-upload input::file-selector-button {min-block-size:44px;border:1px solid var(--th-panel-line);border-radius:5px;background:var(--th-panel-surface);color:var(--th-panel-ink);padding:9px 12px;margin-inline:0 12px;font:inherit}
body.ahi-townhub .ahi-townhub-app .ahi-content-admin .ahi-content-table-wrap {max-inline-size:100%;overflow:auto;overscroll-behavior-inline:contain;border-radius:8px}
body.ahi-townhub .ahi-townhub-app .ahi-content-admin .ahi-content-table-wrap table {inline-size:100%;border-collapse:collapse;text-align:start;font-size:12px}
body.ahi-townhub .ahi-townhub-app .ahi-content-admin .ahi-content-table-wrap :is(th,td) {padding:14px;border-block-end:1px solid var(--th-panel-line);overflow-wrap:anywhere}
body.ahi-townhub .ahi-townhub-app .ahi-content-admin .ahi-content-table-wrap th {background:var(--th-panel-raised);color:var(--th-panel-muted);font-size:11px}

@media (max-width:1050px) {
  body.ahi-townhub .ahi-townhub-app .ahi-admin-workspace-nav {grid-template-columns:repeat(4,minmax(0,1fr))}
  body.ahi-townhub .ahi-townhub-app .ahi-dir-dashboard {grid-template-columns:215px minmax(0,1fr);gap:18px}
  body.ahi-townhub .ahi-townhub-app .ahi-dir-dashboard>.ahi-owner-analytics {padding:22px}
  body.ahi-townhub .ahi-townhub-app .ahi-owner-analytics-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  body.ahi-townhub .ahi-townhub-app .ahi-dir-dashboard>.ahi-dir-section .ahi-dir-dashboard-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
  body.ahi-townhub .ahi-townhub-app .ahi-admin-cards {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:780px) {
  body.ahi-townhub .ahi-townhub-app .ahi-dir-dashboard {display:block;padding-block:22px 60px}
  body.ahi-townhub .ahi-townhub-app .ahi-dir-dashboard>.ahi-dir-section-title {padding:24px;margin-block-end:18px}
  body.ahi-townhub .ahi-townhub-app .ahi-dir-dashboard>.ahi-dir-dashboard-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:6px;margin-block-end:18px}
  body.ahi-townhub .ahi-townhub-app .ahi-dir-dashboard .ahi-dir-dashboard-card {padding:12px;min-block-size:63px;gap:10px}
  body.ahi-townhub .ahi-townhub-app .ahi-dir-dashboard>.ahi-social-dashboard-link {margin-block:18px}
  body.ahi-townhub .ahi-townhub-app .ahi-dir-dashboard>.ahi-dir-section {padding-block-start:28px}
  body.ahi-townhub .ahi-townhub-app .ahi-admin-workspace {inline-size:calc(100% - 32px);margin-block-start:20px;padding:18px}
  body.ahi-townhub .ahi-townhub-app .ahi-admin-workspace-nav {grid-template-columns:repeat(3,minmax(0,1fr))}
  body.ahi-townhub .ahi-townhub-app .ahi-business-editor-grid {display:block}
  body.ahi-townhub .ahi-townhub-app .ahi-business-editor-nav {position:static;display:flex;flex-direction:row;flex-wrap:wrap;gap:4px;padding:6px;margin-block-end:20px}
  body.ahi-townhub .ahi-townhub-app .ahi-business-editor-nav a {flex:1 1 145px;min-inline-size:0;white-space:normal;padding:10px 12px;min-block-size:44px}
  body.ahi-townhub .ahi-townhub-app .ahi-business-editor-nav>strong,
  body.ahi-townhub .ahi-townhub-app .ahi-business-editor-nav>p,
  body.ahi-townhub .ahi-townhub-app .ahi-business-editor-nav>.ahi-business-badge {display:none}
  body.ahi-townhub .ahi-townhub-app .ahi-admin-filters {grid-template-columns:repeat(2,minmax(0,1fr))}
  body.ahi-townhub .ahi-townhub-app .ahi-business-list-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:560px) {
  body.ahi-townhub .ahi-townhub-app :is(.ahi-admin-page,.ahi-management,.ahi-review-admin) {padding:26px 16px 76px}
  body.ahi-townhub .ahi-townhub-app .ahi-business-page {padding:26px 16px 80px}
  body.ahi-townhub .ahi-townhub-app .ahi-dir-dashboard>.ahi-dir-section-title {align-items:flex-start;flex-direction:column;gap:16px;padding:23px 20px}
  body.ahi-townhub .ahi-townhub-app .ahi-dir-dashboard>.ahi-dir-dashboard-grid,
  body.ahi-townhub .ahi-townhub-app .ahi-dir-dashboard>.ahi-dir-section .ahi-dir-dashboard-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  body.ahi-townhub .ahi-townhub-app .ahi-dir-dashboard .ahi-dir-dashboard-card {padding:12px 10px;gap:9px}
  body.ahi-townhub .ahi-townhub-app .ahi-dir-dashboard .ahi-dir-dashboard-card h2 {font-size:11px}
  body.ahi-townhub .ahi-townhub-app .ahi-dir-dashboard>.ahi-owner-analytics {padding:20px 16px}
  body.ahi-townhub .ahi-townhub-app .ahi-owner-analytics-grid {gap:10px}
  body.ahi-townhub .ahi-townhub-app .ahi-owner-analytics-grid>div {padding:15px 12px}
  body.ahi-townhub .ahi-townhub-app .ahi-owner-analytics dd {font-size:26px}
  body.ahi-townhub .ahi-townhub-app .ahi-admin-workspace {padding:16px;inline-size:calc(100% - 32px)}
  body.ahi-townhub .ahi-townhub-app .ahi-admin-workspace-nav {grid-template-columns:repeat(2,minmax(0,1fr))}
  body.ahi-townhub .ahi-townhub-app .ahi-admin-workspace-nav a {font-size:11px;padding:10px 8px}
  body.ahi-townhub .ahi-townhub-app .ahi-admin-workspace-heading {align-items:flex-start}
  body.ahi-townhub .ahi-townhub-app .ahi-admin-workspace-heading strong {font-size:17px}
  body.ahi-townhub .ahi-townhub-app .ahi-admin-card {padding:18px 15px;gap:12px}
  body.ahi-townhub .ahi-townhub-app .ahi-admin-card>strong {font-size:29px}
  body.ahi-townhub .ahi-townhub-app .ahi-admin-card>span {min-block-size:38px;font-size:11px}
  body.ahi-townhub .ahi-townhub-app .ahi-admin-filters {grid-template-columns:1fr}
  body.ahi-townhub .ahi-townhub-app .ahi-admin-search,
  body.ahi-townhub .ahi-townhub-app .ahi-admin-actions {grid-column:auto}
  body.ahi-townhub .ahi-townhub-app .ahi-admin-definitions {grid-template-columns:minmax(0,1fr);gap:5px}
  body.ahi-townhub .ahi-townhub-app .ahi-admin-definitions dd {margin-block-end:12px}
  body.ahi-townhub .ahi-townhub-app .ahi-admin-table td {min-inline-size:100px}
  body.ahi-townhub .ahi-townhub-app .ahi-business-fields,
  body.ahi-townhub .ahi-townhub-app .ahi-business-list-grid,
  body.ahi-townhub .ahi-townhub-app .ahi-own-profile-names {grid-template-columns:minmax(0,1fr)}
  body.ahi-townhub .ahi-townhub-app .ahi-business-field.is-wide {grid-column:auto}
  body.ahi-townhub .ahi-townhub-app .ahi-business-editor-nav a {flex-basis:calc(50% - 4px);font-size:10px;gap:8px;padding:10px}
  body.ahi-townhub .ahi-townhub-app .ahi-account-page {padding:28px 16px 64px}
  body.ahi-townhub .ahi-townhub-app .ahi-account-card {padding:26px 20px}
  body.ahi-townhub .ahi-townhub-app .ahi-account-card h1 {font-size:26px}
  body.ahi-townhub .ahi-townhub-app :is(.ahi-admin-page,.ahi-business-page,.ahi-account-page,.ahi-management,.ahi-review-admin,.ahi-verification-page,.ahi-taxonomy-page,.ahi-approval-page,.ahi-content-workspace,.ahi-content-admin) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden]):not([type=color]),select,textarea) {font-size:16px}
  body.ahi-townhub .ahi-townhub-app .ahi-content-sticky-actions {position:static;margin-block-start:20px}
  body.ahi-townhub .ahi-townhub-app :is(.ahi-profile-actions,.ahi-business-actions)>.ahi-business-button {flex:1 1 140px}
}
@media (prefers-reduced-motion:reduce) {
  body.ahi-townhub .ahi-townhub-app :is(.ahi-dir-dashboard,.ahi-admin-workspace,.ahi-admin-page,.ahi-business-page,.ahi-account-page,.ahi-management,.ahi-review-admin,.ahi-content-workspace,.ahi-content-admin) *,
  body.ahi-townhub .ahi-townhub-app :is(.ahi-dir-dashboard,.ahi-admin-workspace,.ahi-admin-page,.ahi-business-page,.ahi-account-page,.ahi-management,.ahi-review-admin,.ahi-content-workspace,.ahi-content-admin) *::before,
  body.ahi-townhub .ahi-townhub-app :is(.ahi-dir-dashboard,.ahi-admin-workspace,.ahi-admin-page,.ahi-business-page,.ahi-account-page,.ahi-management,.ahi-review-admin,.ahi-content-workspace,.ahi-content-admin) *::after {transition:none!important;animation:none!important;scroll-behavior:auto!important}
}

/* R82 native dashboard: one sidebar, one analytics reader, one read-only activity preview. */
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-dashboard{display:grid;grid-template-columns:250px minmax(0,1fr);align-items:start;gap:28px;inline-size:min(1280px,calc(100% - 64px));margin-inline:auto;padding-block:32px 72px;color:var(--th-panel-ink);min-inline-size:0}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-sidebar{position:sticky;inset-block-start:calc(var(--ahi-th-header-height,80px) + 20px);max-block-size:calc(100dvh - var(--ahi-th-header-height,80px) - 40px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#63738b transparent;border:1px solid #314761;border-radius:12px;background:#142540;color:#fff;box-shadow:0 8px 28px #1425400b}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-sidebar-identity{display:flex;align-items:center;gap:12px;padding:22px 18px;border-block-end:1px solid #ffffff12}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-initials{display:grid;place-items:center;flex:none;inline-size:44px;block-size:44px;border:1px solid #ecd09755;border-radius:12px;background:#d7aa4318;color:#ecd097;font-size:16px;font-weight:750}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-sidebar-identity>div{min-inline-size:0;display:grid;gap:4px}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-sidebar-identity strong{color:#fff;font-size:12px;font-weight:700;line-height:1.6}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-sidebar-identity>div>span{font-size:11px;color:#bdc9da;line-height:1.55;overflow-wrap:anywhere}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-sidebar nav{display:block;padding:12px 8px 16px}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-nav-label{margin:20px 12px 9px;color:#9aaec6;font-size:9px;font-weight:750;letter-spacing:.12em;text-transform:uppercase}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-sidebar nav>.ahi-th-owner-nav-label:first-child{margin-block-start:5px}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-nav-link{display:flex;align-items:center;gap:12px;min-block-size:45px;padding:11px 12px;border:1px solid transparent;border-radius:6px;color:#d8e2ef;font-size:11px;font-weight:600;line-height:1.6;text-decoration:none;overflow-wrap:anywhere}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-nav-link>svg{flex:none;color:#c0ccdc}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-nav-link:hover{background:#ffffff09;color:#ecd097}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-nav-link.is-current{background:#d7aa43;border-color:#ecd097;color:#142540;font-weight:750}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-nav-link.is-current>svg{color:#142540}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-native-nav:empty{display:none}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-native-nav :is(a,.ahi-notification-menu-link){display:flex;align-items:center;gap:9px;min-block-size:44px;padding:11px 12px;border-radius:6px;color:#d8e2ef;font-size:11px;font-weight:600;line-height:1.6;text-decoration:none}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-native-nav a:hover{background:#ffffff09;color:#ecd097}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-native-nav .ahi-management-nav{display:block;margin:0;padding:0}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-native-nav .ahi-notification-menu-count{margin-inline-start:auto;background:#d7aa43;color:#142540}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-logout{display:flex;align-items:center;gap:12px;inline-size:100%;min-block-size:44px;padding:12px;margin-block-start:18px;border:1px solid #ffffff22;border-radius:6px;background:#ffffff06;color:#ecd097;font:inherit;font-size:11px;font-weight:650;text-align:start;cursor:pointer}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-logout:hover:not(:disabled){border-color:#d7aa43}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-logout:disabled{opacity:.5;cursor:wait}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-logout-error{padding:8px 12px 0;color:#f0d1c7;font-size:11px;line-height:1.6}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-menu-toggle{display:none}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-main{display:grid;gap:24px;min-inline-size:0}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-welcome{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:28px 30px;border:1px solid var(--th-panel-line);border-radius:12px;background:var(--th-panel-surface);box-shadow:var(--th-panel-shadow)}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-eyebrow{display:block;margin-block-end:8px;color:var(--th-panel-gold-text);font-size:10px;font-weight:750;line-height:1.5;letter-spacing:.09em;text-transform:uppercase}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-welcome h1{margin:0;color:var(--th-panel-ink);font-size:clamp(23px,2.5vw,31px);font-weight:750;line-height:1.3;letter-spacing:-.025em;text-wrap:balance}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-welcome p{max-inline-size:57ch;margin:12px 0 0;color:var(--th-panel-muted);font-size:12px;line-height:1.75}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-welcome .ahi-dir-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;flex:none;border:1px solid #d7aa43;border-radius:6px;background:#d7aa43;color:#142540!important;font-size:11px;padding:12px 16px}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-analytics{display:grid;gap:24px;min-inline-size:0}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:16px}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-stat{display:flex;align-items:center;gap:16px;min-inline-size:0;padding:22px 18px;border:1px solid var(--th-panel-line);border-radius:10px;background:var(--th-panel-surface);box-shadow:var(--th-panel-shadow)}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-stat-icon{display:grid;place-items:center;flex:none;inline-size:42px;block-size:42px;border-radius:10px;background:var(--th-panel-warm);color:var(--th-panel-gold-text)}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-stat dl{margin:0;min-inline-size:0}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-stat dt{color:var(--th-panel-muted);font-size:10px;font-weight:550;line-height:1.6}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-stat dd{margin:6px 0 0;color:var(--th-panel-ink);font-size:29px;font-weight:750;line-height:1.2;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
body.ahi-townhub .ahi-townhub-app :is(.ahi-th-owner-overview,.ahi-th-owner-activity){padding:26px 28px;border:1px solid var(--th-panel-line);border-radius:12px;background:var(--th-panel-surface);box-shadow:var(--th-panel-shadow);min-inline-size:0}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-card-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-block-end:24px}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-card-heading h2{margin:0;color:var(--th-panel-ink);font-size:18px;font-weight:700;line-height:1.5}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-card-heading p{margin:6px 0 0;color:var(--th-panel-muted);font-size:11px;line-height:1.7}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-text-action{flex:none;min-block-size:44px;border:1px solid var(--th-panel-line);border-radius:6px;background:var(--th-panel-surface);color:var(--th-panel-ink);padding:9px 12px;font:inherit;font-size:11px;font-weight:650;cursor:pointer}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-text-action:hover:not(:disabled){border-color:#d7aa43}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-text-action:disabled{opacity:.5;cursor:wait}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-state{margin:14px 0;color:var(--th-panel-muted);font-size:13px;line-height:1.75}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-chart{margin:0}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-chart-bar{display:flex;inline-size:100%;block-size:24px;overflow:hidden;border-radius:7px;background:var(--th-panel-raised)}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-chart-bar>span{display:block;block-size:100%;min-inline-size:0}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-chart .is-approved{background:#346a8a}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-chart .is-pending{background:#d7aa43}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-chart .is-draft{background:#94a4b9}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-chart .is-other{background:#66748a}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-chart-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 30px;margin:24px 0 0}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-chart-legend>div{display:flex;align-items:center;justify-content:space-between;gap:14px;border-block-end:1px solid var(--th-panel-line);padding-block-end:14px;min-inline-size:0}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-chart-legend dt{display:flex;align-items:center;gap:10px;color:var(--th-panel-muted);font-size:12px;line-height:1.6}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-chart-legend dt>span{flex:none;inline-size:9px;block-size:9px;border-radius:2px}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-chart-legend dd{margin:0;color:var(--th-panel-ink);font-size:18px;font-weight:750;font-variant-numeric:tabular-nums}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-data-note{margin:20px 0 0;color:var(--th-panel-muted);font-size:11px;line-height:1.7}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-definitions{margin-block-start:14px;border-block-start:1px solid var(--th-panel-line)}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-definitions summary{min-block-size:44px;padding-block:13px;color:var(--th-panel-gold-text);font-size:11px;font-weight:650;cursor:pointer}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-definitions p{margin:0 0 12px;color:var(--th-panel-muted);font-size:11px;line-height:1.8}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-activity-list{list-style:none;margin:0;padding:0}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-activity-list>li{display:flex;align-items:flex-start;gap:14px;padding:18px 0;border-block-end:1px solid var(--th-panel-line)}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-activity-list>li:first-child{padding-block-start:0}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-activity-dot{flex:none;inline-size:10px;block-size:10px;border:2px solid var(--th-panel-line);border-radius:50%;margin-block-start:6px}
body.ahi-townhub .ahi-townhub-app .is-unread>.ahi-th-owner-activity-dot{border-color:#d7aa43;background:#d7aa43}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-activity-list>li>div{display:grid;gap:7px;min-inline-size:0}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-activity-status{color:var(--th-panel-muted);font-size:9px;line-height:1.4;text-transform:uppercase;letter-spacing:.06em}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-activity-list a{color:var(--th-panel-ink);font-size:12px;font-weight:600;line-height:1.7;text-decoration:none;overflow-wrap:anywhere}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-activity-list a:hover{color:var(--th-panel-gold-text);text-decoration:underline;text-underline-offset:3px}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-activity-list time{color:var(--th-panel-muted);font-size:10px;line-height:1.6}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-all-activity{display:inline-flex;align-items:center;gap:10px;min-block-size:44px;margin-block-start:12px;color:var(--th-panel-gold-text);font-size:11px;font-weight:700;text-decoration:none}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-social{font-size:12px;line-height:1.7}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-denied{inline-size:min(100% - 32px,1000px);margin:40px auto 70px;padding:28px;border:1px solid var(--th-panel-line);border-radius:12px;background:var(--th-panel-surface);color:var(--th-panel-ink)}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-denied h1{font-size:25px;margin-block:0 22px}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-dashboard :focus-visible{outline:3px solid #d7aa43;outline-offset:3px}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-sidebar :focus-visible{outline-offset:-3px}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-dashboard[dir=rtl] .ahi-th-owner-all-activity svg{transform:scaleX(-1)}
body.ahi-townhub .ahi-townhub-app .ahi-th-owner-dashboard[dir=rtl] :is(.ahi-th-owner-eyebrow,.ahi-th-owner-nav-label,.ahi-th-owner-activity-status){letter-spacing:0}
@media(max-width:1050px){body.ahi-townhub .ahi-townhub-app .ahi-th-owner-dashboard{grid-template-columns:225px minmax(0,1fr);gap:22px}body.ahi-townhub .ahi-townhub-app .ahi-th-owner-welcome{align-items:flex-start;flex-direction:column;padding:25px}body.ahi-townhub .ahi-townhub-app .ahi-th-owner-stats{grid-template-columns:repeat(2,minmax(0,1fr))}body.ahi-townhub .ahi-townhub-app .ahi-th-owner-stat{padding:18px 15px;gap:12px}body.ahi-townhub .ahi-townhub-app .ahi-th-owner-stat dd{font-size:26px}}
@media(max-width:900px){body.ahi-townhub .ahi-townhub-app .ahi-th-owner-dashboard{grid-template-columns:minmax(0,1fr);gap:22px}body.ahi-townhub .ahi-townhub-app .ahi-th-owner-sidebar{position:static;max-block-size:none;overflow:visible}body.ahi-townhub .ahi-townhub-app .ahi-th-owner-sidebar-identity{padding:18px 20px}body.ahi-townhub .ahi-townhub-app .ahi-th-owner-menu-toggle{display:flex;align-items:center;gap:10px;inline-size:calc(100% - 16px);min-block-size:46px;margin:8px;padding:11px 14px;border:1px solid #ffffff22;border-radius:6px;background:#ffffff08;color:#ecd097;font:inherit;font-size:12px;font-weight:650;cursor:pointer}body.ahi-townhub .ahi-townhub-app .ahi-th-owner-sidebar nav{display:none;padding-top:4px}body.ahi-townhub .ahi-townhub-app .ahi-th-owner-sidebar.is-open nav{display:block}body.ahi-townhub .ahi-townhub-app .ahi-th-owner-welcome{align-items:center;flex-direction:row}}
@media(max-width:600px){body.ahi-townhub .ahi-townhub-app .ahi-th-owner-dashboard{inline-size:calc(100% - 32px);padding-block:22px 70px;gap:18px}body.ahi-townhub .ahi-townhub-app .ahi-th-owner-main,body.ahi-townhub .ahi-townhub-app .ahi-th-owner-analytics{gap:18px}body.ahi-townhub .ahi-townhub-app .ahi-th-owner-sidebar-identity{padding:17px 18px}body.ahi-townhub .ahi-townhub-app .ahi-th-owner-welcome{align-items:flex-start;flex-direction:column;padding:24px 20px;gap:18px}body.ahi-townhub .ahi-townhub-app .ahi-th-owner-welcome .ahi-dir-button{inline-size:100%}body.ahi-townhub .ahi-townhub-app .ahi-th-owner-welcome h1{font-size:25px}body.ahi-townhub .ahi-townhub-app :is(.ahi-th-owner-overview,.ahi-th-owner-activity){padding:22px 18px}body.ahi-townhub .ahi-townhub-app .ahi-th-owner-card-heading{align-items:flex-start;gap:12px;margin-block-end:21px}body.ahi-townhub .ahi-townhub-app .ahi-th-owner-card-heading h2{font-size:17px}body.ahi-townhub .ahi-townhub-app .ahi-th-owner-text-action{font-size:10px;padding:9px 10px}body.ahi-townhub .ahi-townhub-app .ahi-th-owner-stats{gap:12px}body.ahi-townhub .ahi-townhub-app .ahi-th-owner-stat{align-items:flex-start;flex-direction:column;gap:12px;padding:18px 15px}body.ahi-townhub .ahi-townhub-app .ahi-th-owner-stat dt{font-size:11px}body.ahi-townhub .ahi-townhub-app .ahi-th-owner-stat dd{font-size:28px}body.ahi-townhub .ahi-townhub-app .ahi-th-owner-chart-legend{gap:16px 18px}body.ahi-townhub .ahi-townhub-app .ahi-th-owner-chart-legend dt{font-size:10px;gap:7px}body.ahi-townhub .ahi-townhub-app .ahi-th-owner-chart-legend dd{font-size:16px}}
@media(prefers-reduced-motion:reduce){body.ahi-townhub .ahi-townhub-app .ahi-th-owner-dashboard *,body.ahi-townhub .ahi-townhub-app .ahi-th-owner-dashboard *::before,body.ahi-townhub .ahi-townhub-app .ahi-th-owner-dashboard *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
