/* Business owner dashboard. */
.business-home-page { max-width: 1280px; }
.business-home-card {
  margin-bottom: 26px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce4ec;
  border-radius: 20px;
  box-shadow: 0 10px 32px rgba(24,36,51,.07);
}
.business-home-hero {
  position: relative;
  padding: 24px 30px 28px;
  background: radial-gradient(ellipse at 100% 0, rgba(245,158,11,.14), transparent 55%), linear-gradient(120deg,#162332,#293b4e);
  color: #fff;
}
.business-home-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.business-home-heading > p {
  margin: 0;
  color: #bcc9d7;
  font-size: .65rem;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.business-home-edit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e2eaf3;
  font-size: .76rem;
  font-weight: 650;
  text-decoration: none;
}
.business-home-edit:hover { color: #ffcc73; }
.business-home-edit svg { width: 14px; height: 14px; }
.business-home-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.business-home-identity {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}
.business-home-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 86px;
  width: 86px;
  height: 86px;
  overflow: hidden;
  color: #fff;
  background: #182433;
  border: 3px solid rgba(255,255,255,.9);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  font-size: 1.6rem;
  font-weight: 800;
}
.business-home-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; background: #fff; }
.business-home-name { min-width: 0; }
.business-home-name h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.4rem,2.2vw,2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
.business-home-username { margin: 0 0 3px; color: #ffcc73; font-size: .78rem; font-weight: 600; overflow-wrap: anywhere; }
.business-home-location {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 6px 0 0;
  color: #c5d1df;
  font-size: .8rem;
  overflow-wrap: anywhere;
}
.business-home-registration { display: flex; flex-wrap: wrap; gap: 3px 7px; margin: 4px 0 0; color: #c5d1df; font-size: .76rem; overflow-wrap: anywhere; }
.business-home-abn { color: #aebed0; font-variant-numeric: tabular-nums; }
.business-home-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.business-home-badges .public-profile-business-badge {
  padding: 3px 8px;
  border: 1px solid rgba(255,197,94,.32);
  background: rgba(255,197,94,.1);
  color: #ffcc73;
  font-size: .62rem;
}
.business-home-badges .public-profile-verified-badge {
  padding: 3px 8px;
  border: 1px solid rgba(130,223,165,.2);
  background: rgba(53,161,99,.16);
  color: #a7efc0;
  font-size: .66rem;
}
.business-home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex-shrink: 0;
  max-width: 350px;
}
.business-home-actions .button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 46px;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: .8rem;
  font-weight: 750;
  box-shadow: none;
}
.business-home-actions .button svg { width: 17px; height: 17px; flex-shrink: 0; }
.business-home-actions .business-home-list {
  color: #172433;
  background: #ffb52e;
  border: 1px solid #ffb52e;
}
.business-home-actions .business-home-list:hover { color: #172433; background: #ffc65a; border-color: #ffc65a; }
.business-home-actions .business-home-browse {
  color: #f1f5f9;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.28);
}
.business-home-actions .business-home-browse:hover { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); }
.business-home-body { padding: 20px 24px 16px; }
.business-home-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #eef1f5;
}
.business-home-info {
  min-width: 0;
  margin-bottom: 0;
  border: 0;
  background: transparent;
}
.business-home-info-title {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 36px;
  padding: 0;
  margin: 0 0 14px;
  color: #243447;
  font-size: .87rem;
  font-weight: 750;
}
.business-home-info-title > span { flex: 1; }
.business-home-info-title svg { box-sizing: content-box; width: 17px; height: 17px; flex-shrink: 0; padding: 8px; color: #a76b13; background: #fff4df; border-radius: 50%; }
.business-home-details { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.business-home-contact-card { display: grid; grid-template-columns: 38px minmax(0,1fr) 16px; align-items: center; gap: 12px; min-width: 0; min-height: 92px; padding: 18px; color: #243b53; background: linear-gradient(145deg,#fff,#f9fbfd); border: 1px solid #e4eaf1; border-radius: 12px; box-shadow: 0 2px 5px rgba(24,36,51,.025); text-decoration: none; }
.business-home-contact-card:not(.is-unavailable):hover { color: #243b53; border-color: #b6c8da; background: #f7faff; box-shadow: 0 4px 12px rgba(24,36,51,.06); }
.business-home-contact-icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: #eaf1f8; color: #577596; border-radius: 11px; }
.business-home-contact-icon svg { width: 19px; height: 19px; }
.business-home-contact-card--phone .business-home-contact-icon { color: #337963; background: #eaf6f0; }
.business-home-contact-card--website .business-home-contact-icon { color: #78619c; background: #f0edf8; }
.business-home-contact-card--reviews .business-home-contact-icon { color: #a76b13; background: #fff4df; }
.business-home-contact-copy { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.business-home-contact-label { color: #64748b; font-size: .68rem; font-weight: 600; }
.business-home-contact-copy strong { color: #243b53; font-size: .9rem; font-weight: 750; line-height: 1.4; overflow-wrap: anywhere; }
.business-home-contact-arrow { color: #7f92a8; font-size: 1.1rem; }
.business-home-contact-review-count { color: #728096; font-size: .68rem; }
.business-home-description { margin: 14px 0 0; padding: 14px 16px; background: #fafbfd; border-left: 3px solid #f4d39b; border-radius: 0 9px 9px 0; color: #64748b; font-size: .84rem; overflow-wrap: anywhere; white-space: pre-line; }
.business-home-meta { display: flex; flex-wrap: wrap; justify-content: space-between; width: 100%; gap: 5px 14px; color: #728096; font-size: .71rem; }
.business-home-meta p { margin: 0; }
.business-home-page .profile-section ,
.business-home-page .public-profile-section { padding: 24px; background: #fff; border: 1px solid #dce4ec; border-radius: 18px; box-shadow: 0 4px 18px rgba(24,36,51,.04); }
.business-home-page .profile-section-heading .title ,
.business-home-page .public-profile-section-heading .title { margin-bottom: 4px; color: #243447; font-size: 1.35rem !important; font-weight: 750; }
.business-home-page .profile-section-heading p ,
.business-home-page .public-profile-section-heading p { color: #728096; font-size: .8rem; }
.business-home-page .profile-listing-tabs ,
.business-home-page .public-profile-listing-tabs { width: fit-content; max-width: 100%; padding: 5px; background: #f1f4f8; border: 1px solid #e8edf3; border-radius: 12px; gap: 4px; margin-top: 18px; margin-bottom: 20px; }
.business-home-page .profile-listing-tab ,
.business-home-page .public-profile-listing-tab { min-width: 112px; min-height: 40px; padding: 7px 16px; border: 0; border-radius: 8px; background: transparent; color: #697b90; font-size: .78rem; font-weight: 700; }
.business-home-page .profile-listing-tab.is-active ,
.business-home-page .public-profile-listing-tab.is-active { background: #fff; color: #243447; box-shadow: 0 2px 6px rgba(24,36,51,.08); }
.business-home-page .profile-listing-tab-count ,
.business-home-page .public-profile-listing-tab span { background: #e5ebf2; color: #5b718a; }
.business-home-page .profile-listing-tab.is-active .profile-listing-tab-count ,
.business-home-page .public-profile-listing-tab.is-active span { background: #fff2d8; color: #9a630e; }
.business-home-page .profile-empty-state { padding: 34px 16px; text-align: center; background: #fafbfd; border: 1px dashed #d5deea; border-radius: 14px; }
.business-home-page .profile-empty-state .title { margin-bottom: 8px; font-weight: 700; }
.business-home-page .profile-empty-state p { color: #728096; font-size: .84rem; }
@media (max-width: 1050px) {
  .business-home-top { align-items: flex-start; flex-direction: column; gap: 20px; }
  .business-home-actions { justify-content: flex-start; max-width: none; }
}
@media (max-width: 768px) {
  .section:has(.business-home-page) { padding-top: 16px; }
  .business-home-page { margin-top: 0; }
  .business-home-card { margin-bottom: 18px; border-radius: 16px; }
  .business-home-hero { padding: 16px 16px 18px; }
  .business-home-heading { margin-bottom: 16px; }
  .business-home-heading > p { font-size: .58rem; letter-spacing: .12em; }
  .business-home-edit { font-size: .69rem; }
  .business-home-identity { align-items: flex-start; gap: 12px; width: 100%; }
  .business-home-avatar { flex-basis: 62px; width: 62px; height: 62px; border-radius: 16px; font-size: 1.2rem; border-width: 2px; }
  .business-home-name { flex: 1; }
  .business-home-name h1 { font-size: 1.25rem; }
  .business-home-username { font-size: .67rem; }
  .business-home-location { font-size: .72rem; margin-top: 4px; gap: 2px 6px; }
  .business-home-badges { margin-top: 8px; gap: 5px; }
  .business-home-badges .public-profile-business-badge { font-size: .55rem; }
  .business-home-badges .public-profile-verified-badge { font-size: .58rem; }
  .business-home-top { gap: 18px; }
  .business-home-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; width: 100%; }
  .business-home-actions .button { justify-content: center; width: 100%; min-width: 0; min-height: 44px; padding: 8px 6px; font-size: .7rem; gap: 5px; }
  .business-home-actions .button svg { width: 15px; height: 15px; }
  .business-home-body { padding: 14px 12px 12px; }
  .business-home-footer { flex-direction: column; gap: 10px; margin-top: 12px; padding-top: 12px; }
  .business-home-info { width: 100%; margin-bottom: 0; }
  .business-home-info-title { padding: 0; margin-bottom: 12px; font-size: .8rem; }
  .business-home-info-title svg { width: 15px; height: 15px; padding: 6px; }
  .business-home-details { grid-template-columns: 1fr; gap: 8px; }
  .business-home-contact-card { min-height: 70px; padding: 13px 14px; gap: 11px; border-radius: 11px; }
  .business-home-contact-copy strong { font-size: .84rem; }
  .business-home-contact-label { font-size: .65rem; }
  .business-home-registration { font-size: .68rem; margin-top: 3px; gap: 3px 5px; }
  .business-home-description { margin: 12px 0 0; padding: 12px; font-size: .76rem; }
  .business-home-meta { justify-content: space-between; width: 100%; font-size: .64rem; }
  .business-home-page .profile-section ,
.business-home-page .public-profile-section { padding: 16px 12px; border-radius: 16px; }
  .business-home-page .profile-section-heading .title ,
.business-home-page .public-profile-section-heading .title { font-size: 1.2rem !important; }
  .business-home-page .profile-section-heading p ,
.business-home-page .public-profile-section-heading p { font-size: .73rem; }
  .business-home-page .profile-listing-tabs ,
.business-home-page .public-profile-listing-tabs { display: grid; width: 100%; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 14px; gap: 3px; padding: 4px; }
  .business-home-page .profile-listing-tab ,
.business-home-page .public-profile-listing-tab { min-width: 0; padding: 8px 4px; gap: 5px; min-height: 44px; font-size: .73rem; }
  .business-home-page .profile-empty-state { padding: 26px 12px; }
}
@media (max-width: 360px) {
  .business-home-hero { padding-left: 12px; padding-right: 12px; }
  .business-home-actions .button { font-size: .65rem; }
}

/* Keep contact actions prominent and account controls discreet. */
.business-home-visitor-actions { flex-shrink: 0; max-width: 350px; }
.business-home-visitor-controls { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.business-home-primary-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.business-home-primary-actions:not(:has(a)) { display: none; }
.business-home-primary-actions .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 17px; border-radius: 10px;
  font-size: .8rem; font-weight: 750; box-shadow: none;
}
.business-home-primary-actions .button svg { width: 17px; height: 17px; flex-shrink: 0; }
.business-home-primary-actions .business-home-message { color: #172433; background: #ffb52e; border: 1px solid #ffb52e; }
.business-home-primary-actions .business-home-message:hover { color: #172433; background: #ffc65a; border-color: #ffc65a; }
.business-home-primary-actions .business-home-review { color: #f1f5f9; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.28); }
.business-home-primary-actions .business-home-review:hover { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); }
.business-home-safety-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.business-home-safety-actions form { display: flex; margin: 0; padding: 0; }
.business-home-safety-actions .button {
  min-height: 36px; height: auto; padding: 7px 11px; border: 1px solid transparent;
  border-radius: 8px; color: #bdcad8; background: transparent;
  font-size: .7rem; font-weight: 600; box-shadow: none;
}
.business-home-safety-actions .button:hover { color: #fff; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); }
.business-home-safety-actions .business-home-report:hover { color: #ffd4ce; }
.business-home-visitor-controls .button:focus-visible { outline: 2px solid #ffcc73; outline-offset: 3px; }
.business-home-contact-card.is-unavailable { box-shadow: none; background: #f8fafc; }
.business-home-contact-card.is-unavailable strong { color: #728096; font-weight: 600; }
@media (max-width: 1050px) {
  .business-home-visitor-actions { max-width: none; width: 100%; }
  .business-home-visitor-controls { align-items: flex-start; }
  .business-home-primary-actions, .business-home-safety-actions { justify-content: flex-start; }
}
@media (max-width: 768px) {
  .business-home-visitor-controls { gap: 4px; }
  .business-home-primary-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; gap: 8px; }
  .business-home-primary-actions .button { width: 100%; min-width: 0; min-height: 44px; padding: 8px 6px; font-size: .7rem; gap: 6px; }
  .business-home-primary-actions .button:only-child { grid-column: 1 / -1; }
  .business-home-primary-actions .button svg { width: 15px; height: 15px; }
  .business-home-safety-actions { justify-content: flex-end; width: 100%; gap: 4px; }
  .business-home-safety-actions .button { min-height: 44px; font-size: .67rem; }
}
