.ads-page .page-hero {
  padding-bottom: 1.5rem;
}
.ads-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 920px;
  margin: 1.5rem auto 0;
}
.ads-step {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: 14px;
  padding: 0.85rem 0.75rem 1rem;
  box-shadow: var(--shadow);
  text-align: center;
  opacity: 0.72;
  transition: opacity 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.ads-step.is-current {
  opacity: 1;
  border-color: rgba(47, 128, 237, 0.45);
  box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.12);
}
.ads-step.is-done {
  opacity: 1;
  border-color: rgba(10, 154, 82, 0.35);
}
.ads-step.is-done .ads-step-icon {
  background: rgba(10, 154, 82, 0.14) !important;
  color: #0a7a45 !important;
}
.ads-step.is-done b {
  color: #0a7a45;
}
.ads-step.is-upcoming {
  opacity: 0.55;
}
.ads-step.is-current b {
  color: var(--brand-blue);
}
.ads-step-icon {
  display: inline-flex;
  width: 2.1rem;
  height: 2.1rem;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(47, 128, 237, 0.12);
  color: var(--brand-blue);
  margin-bottom: 0.35rem;
}
.ads-step-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}
.ads-step:nth-child(1) .ads-step-icon { background: rgba(205,127,50,.15); color: #a05a20; }
.ads-step:nth-child(2) .ads-step-icon { background: rgba(47,128,237,.12); color: var(--brand-blue); }
.ads-step:nth-child(3) .ads-step-icon { background: rgba(37,105,173,.12); color: var(--navy-light); }
.ads-step:nth-child(4) .ads-step-icon { background: rgba(0,179,95,.12); color: #009a52; }
.ads-step b {
  display: block;
  color: var(--brand-blue);
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}
.ads-step span {
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
}
.ads-steps--form {
  margin: 1rem 0 0;
  max-width: none;
}
.ads-steps--form .ads-step {
  padding: 0.55rem 0.4rem 0.65rem;
}
.ads-steps--form .ads-step-icon {
  display: none;
}
@media (max-width: 800px) {
  .ads-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.ads-card {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  max-width: 480px;
  margin: 0 auto;
}
.ads-login-shell {
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
  padding: 1.25rem 1rem 2rem;
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.28);
  color: #1c3a55;
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.ads-login-overlay[hidden] {
  display: none !important;
}
.ads-login-overlay:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: flex !important;
  align-items: flex-start;
  justify-content: center;
  padding: calc(var(--header-h, 72px) + 0.75rem) 0.85rem 1.5rem;
  /* Solid dim — not a washout transparent sheet */
  background: #0f172a;
  opacity: 1;
  visibility: visible;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
body.ads-login-open {
  overflow: hidden;
}
.ads-login-close {
  position: static;
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid #d5dce3;
  border-radius: 999px;
  background: #ffffff;
  color: #1c3a55;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.ads-login-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}
.ads-login-card {
  max-width: none;
  margin: 0;
  padding: 0.35rem 0.15rem 0.25rem;
  border: 0;
  box-shadow: none;
  background: #ffffff !important;
  color: #1c3a55 !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative;
  z-index: 1;
}
.ads-login-card h2,
.ads-login-card .ads-hint,
.ads-login-card .ads-label,
.ads-login-card .ads-login-foot {
  color: #1c3a55;
  opacity: 1;
  visibility: visible;
}
.ads-login-card .ads-hint,
.ads-login-card .ads-login-foot {
  color: #5c6b7a;
}
@media (max-width: 720px) {
  .ads-login-overlay:not([hidden]) {
    padding: var(--header-h, 72px) 0 0;
    background: #ffffff;
    align-items: stretch;
  }
  .ads-login-shell {
    max-width: none;
    width: 100%;
    min-height: calc(100vh - var(--header-h, 72px));
    min-height: calc(100dvh - var(--header-h, 72px));
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 1.15rem 1.1rem 2.5rem;
  }
}
.ads-login-badge {
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(47, 128, 237, 0.12);
  color: var(--brand-blue);
  margin-bottom: 0.85rem;
}
.ads-login-badge svg {
  width: 1.4rem;
  height: 1.4rem;
}
.ads-login-plan {
  margin: 0 0 1rem;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  background: rgba(47, 128, 237, 0.08);
  color: var(--brand-blue-deep, #1d4ed8);
  font-weight: 700;
  font-size: 0.88rem;
}
.ads-login-plan:empty {
  display: none;
}
.ads-oauth {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.25rem;
}
.ads-login-form + .ads-login-divider {
  margin-top: 1.25rem;
}
.ads-login-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.15rem 0 0.85rem;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
}
.ads-login-divider::before,
.ads-login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--divider);
}
.ads-login-form {
  display: grid;
  gap: 0;
}
.ads-login-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 1.1rem;
}
.ads-login-back {
  width: 100%;
  min-height: 44px;
  margin-top: 0.7rem;
}
.ads-login-foot {
  margin: 1rem 0 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
}
.ads-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}
.ads-hint {
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
}
.ads-label {
  display: block;
  font-weight: 700;
  margin: 0.7rem 0 0.4rem;
}
.ads-input {
  width: 100%;
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  background: #f8fafc;
  color: var(--ink);
}
.ads-input:focus {
  outline: 2px solid rgba(47, 128, 237, 0.35);
  border-color: var(--brand-blue);
}
.ads-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.15rem;
  align-items: stretch;
}
.ads-actions .btn {
  flex: 1;
  min-width: 10rem;
}
.btn-apple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid #000;
  background: #000;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn-apple:hover {
  background: #1a1a1a;
}
.btn-apple:disabled {
  opacity: 0.7;
  cursor: wait;
}
.btn-apple .apple-mark {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #fff;
}
.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid #dadce0;
  background: #fff;
  color: #3c4043;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn-google:hover {
  background: #f8f9fa;
  border-color: #c6c9ce;
}
.btn-google:disabled {
  opacity: 0.7;
  cursor: wait;
}
.btn-google .google-g {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .ads-account-bar-guest {
    flex-direction: column;
    align-items: stretch;
  }
  .ads-account-bar-guest .btn {
    width: 100%;
    min-height: 44px;
  }
  .ads-account-bar-user {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }
  .ads-account-bar-copy {
    flex: 1;
    min-width: 0;
  }
  .ads-account-bar-actions {
    width: auto;
    flex-shrink: 0;
    gap: 0.35rem;
  }
  .ads-account-bar-actions .btn {
    flex: 0 0 auto;
    min-height: 40px;
    padding-inline: 0.65rem;
    font-size: 0.8rem;
  }
  .ads-account-bar-inner {
    padding: 0.5rem 0;
  }
}
.ads-error {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: #b91c1c;
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-weight: 600;
  margin-top: 0.85rem;
}
.ads-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.ads-user {
  font-weight: 700;
  color: var(--ink);
  word-break: break-all;
  font-size: 0.92rem;
}
.ads-account-bar {
  position: sticky;
  top: var(--header-h, 72px);
  left: 0;
  right: 0;
  z-index: 1800;
  margin-top: var(--header-h, 72px);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--divider);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 4px 18px rgba(28, 58, 85, 0.06);
}
.ads-account-bar-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.ads-account-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: #0a7a45;
  background: rgba(10, 154, 82, 0.1);
  border: 1px solid rgba(10, 154, 82, 0.22);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  width: fit-content;
}
.ads-account-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0a9a52;
  box-shadow: 0 0 0 2px rgba(10, 154, 82, 0.2);
}
.ads-account-bar .btn-primary.btn-sm {
  min-height: 40px;
  box-shadow: 0 3px 10px rgba(47, 128, 237, 0.22);
}
.ads-account-bar .btn-text {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-weight: 700;
  padding: 0.45rem 0.65rem;
  min-height: 40px;
  box-shadow: none;
}
.ads-account-bar .btn-text:hover,
.ads-account-bar .btn-text:focus-visible {
  color: #b91c1c;
  background: rgba(220, 38, 38, 0.06);
  border-color: rgba(220, 38, 38, 0.12);
}
body.ads-has-subbar {
  --subbar-h: 0px;
}
body.ads-page,
body.ads-form-page {
  --dock-h: 0px;
}
body.ads-page.ads-dock-open,
body.ads-form-page.ads-dock-open {
  --dock-h: 84px;
}
body.ads-page main,
body.ads-form-page main {
  padding-top: 0;
  padding-bottom: calc(var(--dock-h, 0px) + env(safe-area-inset-bottom, 0px));
}
body.ads-page:not(.ads-has-subbar) main,
body.ads-form-page:not(.ads-has-subbar) main {
  padding-top: var(--header-h, 72px);
}
body.ads-login-page main {
  padding-top: var(--header-h, 72px);
  padding-bottom: calc(var(--dock-h, 0px) + env(safe-area-inset-bottom, 0px));
}
.ads-account-bar .btn {
  position: relative;
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  cursor: pointer;
}
.ads-account-bar-inner {
  padding: 0.65rem 0;
}
.ads-account-bar-guest,
.ads-account-bar-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.ads-account-bar-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.ads-account-bar-copy span {
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.ads-account-hint-inline {
  display: none;
}
@media (min-width: 720px) {
  .ads-account-hint-inline {
    display: inline;
  }
}
.ads-account-bar-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.ads-account-bar-user .ads-user {
  font-size: 0.88rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(100%, 220px);
}
.page-hero-compact {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.ads-hero-login {
  margin: 0.85rem 0 1.1rem;
  text-align: center;
}
.ads-hero-login .btn {
  min-height: 48px;
  min-width: min(100%, 280px);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.package-panel-short {
  margin: 0.65rem 0 0;
  padding-top: 0.55rem;
  border-top: 1px dashed var(--divider);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-blue);
  line-height: 1.4;
}
.ads-account-card {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}
.ads-account-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.ads-account-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(47, 128, 237, 0.12);
  color: var(--brand-blue);
  flex-shrink: 0;
}
.ads-account-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}
.ads-account-title {
  font-weight: 800;
  color: var(--ink);
  font-size: 0.95rem;
}
.ads-account-hint {
  margin: 0.75rem 0 0.9rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
}
.ads-saved-actions {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}
.ads-saved-actions .btn {
  width: 100%;
  max-width: 28rem;
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.shop-card {
  background: var(--surface);
  border: 2px solid var(--divider);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  text-align: start;
  cursor: pointer;
  box-shadow: var(--shadow);
  width: 100%;
  color: inherit;
  font: inherit;
  position: relative;
}
.shop-card:hover {
  border-color: var(--brand-blue);
}
.shop-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.shop-meta {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
}
.shop-badge {
  display: inline-block;
  margin-top: 0.65rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}
.shop-badge.wait {
  background: rgba(47, 128, 237, 0.12);
  color: var(--brand-blue-deep);
}
.shop-badge.on {
  background: rgba(0, 179, 95, 0.12);
  color: #0a7a45;
}
.shop-badge.off {
  background: rgba(92, 107, 122, 0.12);
  color: var(--text-secondary);
}
.ads-section-title {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.85rem;
}
.plan-pick.package-card {
  cursor: pointer;
  text-align: start;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}
.plan-pick.package-card:not(.selected) {
  opacity: 0.92;
}
.plan-pick.package-card:not(.selected):hover {
  border-color: rgba(47, 128, 237, 0.45);
  transform: translateY(-2px);
}
.plan-pick .pick-mark {
  position: absolute;
  top: 0.85rem;
  inset-inline-end: 0.85rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--divider);
  background: #fff;
}
.plan-pick.selected .pick-mark {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}
.plan-pick.selected .pick-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #fff;
}
.ads-pay-bar {
  position: sticky;
  bottom: 0;
  background: rgba(232, 236, 239, 0.94);
  border-top: 1px solid var(--divider);
  padding: 0.9rem 0;
  margin-top: 1.5rem;
  z-index: 800;
}
.ads-pay-bar.ads-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  margin-top: 0;
  z-index: 1700;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 24px rgba(28, 58, 85, 0.08);
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--divider);
}
.ads-dock-copy {
  font-size: 0.88rem;
  color: var(--text-secondary);
  min-width: 0;
  flex: 1;
}
.ads-dock-copy strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
}
.ads-dock-copy span {
  display: block;
  font-size: 0.8rem;
  line-height: 1.35;
}
body.ads-auth-guest .ads-dock-copy span {
  color: #92600a;
}
body.ads-auth-user .ads-dock-copy span {
  color: var(--brand-blue-deep);
}
.ads-dock-btn {
  min-width: 148px;
  min-height: 48px;
  flex-shrink: 0;
}
.ads-dock-btn--signin {
  background: linear-gradient(180deg, #3b8ef0 0%, #2f80ed 100%);
}
.ads-dock-btn--form {
  background: linear-gradient(180deg, #0eb564 0%, #0a9a52 100%);
  border-color: #0a9a52;
  box-shadow: 0 4px 14px rgba(10, 154, 82, 0.28);
}
.ads-dock-btn--form:hover:not(:disabled) {
  background: linear-gradient(180deg, #0a9a52 0%, #087a42 100%);
  border-color: #087a42;
}
.plan-pick.selected {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.2), var(--shadow);
  opacity: 1;
}
.ads-inline-login {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.85rem 1rem;
  margin: 1rem 1.15rem 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(47,128,237,.1), rgba(10,154,82,.08));
  border: 1px solid rgba(47, 128, 237, 0.2);
}
  background: linear-gradient(135deg, rgba(47, 128, 237, 0.1), rgba(47, 128, 237, 0.04));
  border: 1px dashed rgba(47, 128, 237, 0.35);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
}
.ads-inline-login.is-hidden {
  display: none;
}
.ads-inline-login p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  flex: 1;
  min-width: 12rem;
}
.ads-inline-login .btn-primary {
  min-height: 44px;
  white-space: nowrap;
}
body.ads-auth-user .ads-inline-login {
  display: none;
}
.shop-card:not(.selected) {
  opacity: 0.94;
}
.shop-card.selected {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.2);
  opacity: 1;
}
.shop-card.selected::after {
  content: "✓";
  position: absolute;
  top: 0.75rem;
  inset-inline-end: 0.75rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shop-card {
  position: relative;
}
#pay-bar {
  z-index: 41;
}
.ads-pay-inner {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.ads-pay-inner .btn {
  min-width: 220px;
}
.ads-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-secondary);
  font-weight: 600;
}
.ads-form-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(47, 128, 237, 0.14);
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(28, 58, 85, 0.1);
  padding: 0 0 1.75rem;
  margin: 0 auto 5.5rem;
  max-width: 920px;
  scroll-margin-top: 5.5rem;
  overflow: hidden;
}
body.ads-form-page .ads-form-card {
  margin-bottom: 2rem;
}
body.ads-form-page #form-title {
  font-size: 1.55rem;
  margin: 0 0 0.5rem;
}
.ads-form-wait {
  text-align: center;
  font-weight: 700;
  padding: 2.75rem 1rem;
  color: var(--navy);
}
body.ads-form-page #gate-form {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
#gate-login,
#gate-app {
  scroll-margin-top: 5rem;
}
#gate-app:not([hidden]) {
  display: block;
  width: 100%;
}
#gate-form:not([hidden]) {
  display: block;
  visibility: visible;
  opacity: 1;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}
.pin-tools {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
  align-items: start;
  margin: 0 0 0.65rem;
}
.pin-search-wrap {
  position: relative;
  min-width: 0;
}
.pin-search-results {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: 12px;
  box-shadow: var(--shadow);
  max-height: 220px;
  overflow: auto;
}
.pin-search-item {
  display: block;
  width: 100%;
  text-align: start;
  border: 0;
  background: transparent;
  padding: 0.7rem 0.85rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--divider);
}
.pin-search-item:last-child {
  border-bottom: 0;
}
.pin-search-item:hover,
.pin-search-item:focus {
  background: rgba(47, 128, 237, 0.1);
  outline: none;
}
.pin-search-item small {
  display: block;
  color: var(--text-secondary);
  font-weight: 600;
  margin-top: 0.15rem;
}
.pin-locate-btn {
  white-space: nowrap;
  min-height: 44px;
  padding-inline: 0.9rem;
}
@media (max-width: 700px) {
  .pin-tools {
    grid-template-columns: 1fr;
  }
  .pin-locate-btn {
    width: 100%;
  }
}
#shop-map {
  height: 360px;
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--divider);
  z-index: 1;
  background: #d9e4ef;
}
.shop-map-wrap {
  position: relative;
  margin-bottom: 0.35rem;
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
}
.btn-load-map {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  min-height: 48px;
  white-space: nowrap;
}
.shop-map-wrap.is-ready .btn-load-map {
  display: none !important;
}
.shop-map-wrap.is-ready .btn-map-fullscreen {
  display: inline-flex !important;
}
.btn-map-fullscreen {
  display: none;
  position: absolute;
  z-index: 6;
  top: 0.65rem;
  left: 0.65rem;
  right: auto;
  min-height: 40px;
  padding: 0.45rem 0.75rem;
  gap: 0.35rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
  font-size: 0.82rem;
  font-weight: 700;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn-map-fullscreen svg {
  flex-shrink: 0;
}
.shop-map-wrap.is-fullscreen {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  max-height: none !important;
  z-index: 5000 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}
body.ads-form-page .shop-map-wrap.is-fullscreen {
  max-height: none !important;
}
.shop-map-wrap.is-fullscreen #shop-map {
  height: 100% !important;
  min-height: 100dvh !important;
  max-height: none !important;
  border-radius: 0 !important;
}
.shop-map-wrap.is-fullscreen .shop-map-center-pin {
  z-index: 3;
}
.shop-map-wrap.is-fullscreen .btn-map-fullscreen {
  top: calc(0.65rem + env(safe-area-inset-top, 0px));
  left: calc(0.65rem + env(safe-area-inset-left, 0px));
  right: auto;
  background: #fff;
}
body.shop-map-fullscreen {
  overflow: hidden;
}
body.shop-map-fullscreen .site-header,
body.shop-map-fullscreen .ads-account-bar,
body.shop-map-fullscreen .site-footer,
body.shop-map-fullscreen .nav-mobile,
body.shop-map-fullscreen .nav-backdrop,
body.shop-map-fullscreen .ads-dock {
  visibility: hidden;
}
body.ads-form-page .ads-account-bar {
  transform: none;
}
@media (max-width: 900px) {
  body.ads-form-page .ads-form-card {
    margin: 0 auto 2rem;
    padding: 1rem 0.9rem 1.35rem;
  }
  #shop-map {
    height: 240px;
  }
  .ads-dock-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .ads-dock-btn {
    width: 100%;
  }
}
.shop-map-center-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin: -28px 0 0 -9px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: #2f80ed;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(15, 40, 80, 0.35);
  pointer-events: none;
  z-index: 2;
}
.shop-map-center-pin::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: #fff;
}
.user-loc-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2f80ed;
  border: 3px solid #fff;
  box-shadow: 0 0 0 6px rgba(47, 128, 237, 0.28), 0 2px 8px rgba(15, 40, 80, 0.35);
  pointer-events: none;
}
.map-style-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.55rem;
}
.map-style-btn {
  border: 1px solid var(--divider);
  background: var(--surface);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
}
.map-style-btn.active {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background: rgba(47, 128, 237, 0.12);
}
.pin-coords {
  font-weight: 700;
  color: var(--brand-blue);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  direction: ltr;
  text-align: start;
}
.form-hero-panel {
  position: relative;
  padding: 1.5rem 1.35rem 1.35rem;
  background: linear-gradient(135deg, #1a4e8c 0%, #2f80ed 52%, #0a9a52 100%);
  color: #fff;
  margin-bottom: 0.25rem;
}
.form-hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(255,255,255,.22), transparent 45%);
  pointer-events: none;
}
.form-hero-panel h1,
.form-hero-panel .ads-hint,
.form-hero-panel .form-plan-pill,
.form-hero-panel .ads-steps {
  position: relative;
  z-index: 1;
}
.form-hero-panel .ads-step {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: none;
}
.form-hero-panel .ads-step b,
.form-hero-panel .ads-step span {
  color: #fff;
}
.form-hero-panel .ads-step.is-current {
  background: rgba(255, 255, 255, 0.24);
  border-color: #fff;
}
body.ads-form-page #form-title {
  font-size: 1.55rem;
  margin: 0 0 0.5rem;
  color: #fff;
}
.form-hero-panel .ads-hint {
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 0.75rem;
  line-height: 1.55;
}
.form-plan-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  backdrop-filter: blur(6px);
}
.form-hero-panel + .form-section,
#form-login-banner + .form-hero-panel + .form-section,
#form-login-banner + .form-section {
  border-top: none;
  padding-top: 1.35rem;
}
#form-login-banner {
  margin: 1rem 1.15rem 0;
}
.form-section {
  margin: 0;
  padding: 1.35rem 1.35rem 0;
  border-top: none;
  position: relative;
}
.form-section::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 1.15rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--divider), transparent);
}
.form-section-compact {
  padding-bottom: 0.35rem;
}
.form-section-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--navy);
}
.form-section-title::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.15);
}
.form-section--identity .form-section-title::before { background: #2f80ed; }
.form-section--contact .form-section-title::before { background: #0a9a52; }
.form-section--map .form-section-title::before { background: #8b5cf6; }
.form-section--hours .form-section-title::before { background: #f59e0b; }
.form-section--media .form-section-title::before { background: #ec4899; }
.form-section--links .form-section-title::before { background: #06b6d4; }
.form-section--branch .form-section-title::before { background: #64748b; }
.form-section-lead {
  margin: 0 0 1rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.55;
}
.name-audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.audience-field {
  border-radius: 16px;
  padding: 0.85rem 0.9rem 0.95rem;
  border: 2px solid transparent;
  background: #fff;
  box-shadow: 0 4px 16px rgba(28, 58, 85, 0.06);
}
.audience-field--ar {
  border-color: rgba(47, 128, 237, 0.28);
  background: linear-gradient(180deg, rgba(47,128,237,.06) 0%, #fff 55%);
}
.audience-field--en {
  border-color: rgba(10, 154, 82, 0.28);
  background: linear-gradient(180deg, rgba(10,154,82,.06) 0%, #fff 55%);
}
.audience-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
}
.audience-chip--ar {
  background: rgba(47, 128, 237, 0.14);
  color: #1a4e8c;
}
.audience-chip--en {
  background: rgba(10, 154, 82, 0.14);
  color: #087a42;
}
.audience-chip-icon {
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.65);
}
.audience-chip--ar .audience-chip-icon {
  color: #1a4e8c;
}
.audience-chip--en .audience-chip-icon {
  color: #087a42;
}
.ads-input--ar {
  border-color: rgba(47, 128, 237, 0.35);
}
.ads-input--en {
  border-color: rgba(10, 154, 82, 0.35);
}
.ads-field-note {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
}
.form-grid--category {
  margin-top: 0.15rem;
}
.ads-actions {
  padding: 0.85rem 1.35rem 1.15rem;
  margin-top: 1.25rem;
  position: sticky;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff 28%);
  z-index: 5;
}
#form-error,
#form-progress {
  margin-inline: 1.35rem;
}
.hours-toolbar {
  margin: 0 0 0.85rem;
}
.btn-hours-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: linear-gradient(180deg, rgba(245,158,11,.12), rgba(245,158,11,.06));
  color: #b45309;
  font-weight: 800;
  font-size: 0.78rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-hours-copy:hover {
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.2);
}
.btn-hours-copy.is-flash {
  transform: scale(1.02);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
}
.hours-wrap {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}
.hours-day-card {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: 14px;
  padding: 0.7rem 0.85rem;
  box-shadow: 0 2px 10px rgba(28, 58, 85, 0.04);
  border-inline-start: 4px solid #2f80ed;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.hours-day-card[data-day="sat"] { border-inline-start-color: #2f80ed; }
.hours-day-card[data-day="sun"] { border-inline-start-color: #0a9a52; }
.hours-day-card[data-day="mon"] { border-inline-start-color: #8b5cf6; }
.hours-day-card[data-day="tue"] { border-inline-start-color: #f59e0b; }
.hours-day-card[data-day="wed"] { border-inline-start-color: #ec4899; }
.hours-day-card[data-day="thu"] { border-inline-start-color: #06b6d4; }
.hours-day-card[data-day="fri"] { border-inline-start-color: #ef4444; }
.hours-day-card.is-closed {
  opacity: 0.72;
  background: #f8fafc;
}
.hours-day-card.is-closed .hours-day-times {
  opacity: 0.4;
  pointer-events: none;
}
.hours-day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
}
.hours-day-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}
.hours-day-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}
.hours-day-badge--sat { background: linear-gradient(135deg, #2f80ed, #1a4e8c); }
.hours-day-badge--sun { background: linear-gradient(135deg, #0eb564, #087a42); }
.hours-day-badge--mon { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.hours-day-badge--tue { background: linear-gradient(135deg, #fbbf24, #d97706); }
.hours-day-badge--wed { background: linear-gradient(135deg, #f472b6, #db2777); }
.hours-day-badge--thu { background: linear-gradient(135deg, #22d3ee, #0891b2); }
.hours-day-badge--fri { background: linear-gradient(135deg, #f87171, #dc2626); }
.hours-day-name {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--navy);
}
.hours-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  flex-shrink: 0;
}
.hours-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.hours-toggle-track {
  width: 2.5rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #cbd5e1;
  position: relative;
  transition: background 0.2s ease;
}
.hours-toggle-thumb {
  position: absolute;
  top: 2px;
  inset-inline-start: 2px;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.18);
  transition: transform 0.2s ease;
}
.hours-toggle input:checked + .hours-toggle-track {
  background: #ef4444;
}
.hours-toggle input:checked + .hours-toggle-track .hours-toggle-thumb {
  transform: translateX(1.15rem);
}
[dir="rtl"] .hours-toggle input:checked + .hours-toggle-track .hours-toggle-thumb {
  transform: translateX(-1.15rem);
}
.hours-toggle-text {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-secondary);
}
.hours-day-times {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.hours-time-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.55rem;
  border-radius: 10px;
  background: rgba(47, 128, 237, 0.08);
  border: 1px solid rgba(47, 128, 237, 0.15);
}
.hours-time-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brand-blue);
}
.hours-time-input {
  border: 0;
  background: transparent;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--navy);
  padding: 0;
  min-width: 5.5rem;
}
.hours-time-input:disabled {
  opacity: 0.5;
}
.hours-time-sep {
  color: #94a3b8;
  font-weight: 900;
  font-size: 0.9rem;
}
.hours-row {
  display: none;
}
.hours-closed {
  display: none;
}
.logo-preview {
  width: 152px;
  height: 112px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--divider);
  margin: 0.5rem 0 0;
  display: block;
}
.media-split {
  display: grid;
  gap: 1rem;
  margin-top: 0.75rem;
}
@media (min-width: 720px) {
  .media-split {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}
.media-card {
  margin: 0;
  padding: 1rem 1.1rem 1.15rem;
  border: 1px solid var(--divider);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}
.media-card--logo {
  border-color: #93c5fd;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 55%);
}
.media-card--gallery {
  border-color: #f9a8d4;
  background: linear-gradient(180deg, #fff7fb 0%, #fff 55%);
}
.media-card-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #64748b;
  text-transform: none;
}
.media-card--logo .media-card-kicker { color: #1d4ed8; }
.media-card--gallery .media-card-kicker { color: #be185d; }
.gallery-preview-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.65rem;
}
.gallery-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--divider);
  background: #f1f5f9;
}
.plans-public-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 0.35rem;
}
.plans-public-head .ads-section-title {
  margin-bottom: 0.35rem;
}
.plans-public-head .ads-hint {
  margin: 0;
}
.ads-check {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-weight: 700;
  margin: 1rem 0;
}
.ads-meta {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.85rem;
}
#f-logo, #f-gallery {
  margin-bottom: 0.5rem;
}
.plans-public-wrap {
  margin: 0 0 2.5rem;
  padding-top: 0;
}
.plans-public-wrap .ads-hint {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 1.25rem;
}
.package-panel-block {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--divider);
  text-align: start;
}
.package-panel-block strong {
  display: block;
  font-size: 0.78rem;
  color: var(--brand-blue);
  margin-bottom: 0.35rem;
}
.package-panel-features {
  margin: 0;
  font-size: 0.78rem;
}
.ads-panel-promo {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.35rem 1.5rem 1.5rem;
  max-width: 820px;
  margin: 0 auto;
}
.ads-panel-promo-list {
  margin: 0.5rem 0 0.75rem;
  padding-inline-start: 1.2rem;
  color: var(--text-secondary);
  font-weight: 600;
  line-height: 1.55;
}
.ads-dashboard {
  background: var(--surface);
  border: 1px solid var(--brand-blue);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.35rem 1.4rem;
  margin: 0 0 1.5rem;
}
.ads-dash-locked {
  background: rgba(255, 152, 0, 0.1);
  border: 1px solid rgba(255, 152, 0, 0.35);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  color: var(--text-secondary);
  font-weight: 600;
  line-height: 1.45;
}
.ads-dash-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.ads-dash-head h3 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  color: var(--navy);
}
.ads-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.ads-metric {
  background: rgba(47, 128, 237, 0.08);
  border-radius: 12px;
  padding: 0.85rem 0.6rem;
  text-align: center;
}
.ads-metric b {
  display: block;
  font-size: 1.35rem;
  color: var(--brand-blue);
}
.ads-metric span {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 700;
}
.ads-metric--apts {
  background: rgba(10, 154, 82, 0.1);
  cursor: pointer;
}
.ads-metric--apts:hover,
.ads-metric--apts:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(10, 154, 82, 0.35);
}
.ads-dash-apts-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0.35rem 0 0.65rem;
}
.ads-dash-apts-head .ads-dash-sub {
  margin: 0;
}
.ads-appointments.is-highlight {
  outline: 2px solid var(--brand-blue);
  outline-offset: 4px;
  border-radius: 12px;
}
.ads-apt-row--unread {
  border-color: var(--brand-blue);
  background: rgba(47, 128, 237, 0.08);
}
.ads-apt-row--upcoming strong {
  color: #0a7a45;
}
.plan-pick-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.45rem 0.85rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 800;
  background: rgba(47, 128, 237, 0.1);
  color: var(--brand-blue);
}
.plan-pick.selected .plan-pick-cta {
  background: var(--brand-blue);
  color: #fff;
}
.shop-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--divider);
}
.shop-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.3rem 0.7rem;
  border-radius: 10px;
  background: rgba(47, 128, 237, 0.1);
  color: var(--brand-blue);
  font-size: 0.75rem;
  font-weight: 800;
}
.shop-card-link:hover {
  background: rgba(47, 128, 237, 0.18);
}
.shop-card-link--pay,
.shop-card-link--dash,
.shop-card-link--apts {
  background: rgba(10, 154, 82, 0.12);
  color: #0a7a45;
}
.pin-confirm-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.65rem;
}
.pin-confirm-row .btn.is-needed {
  animation: pin-confirm-pulse 1.4s ease-in-out infinite;
  box-shadow: 0 0 0 3px rgba(10, 154, 82, 0.28);
}
@keyframes pin-confirm-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
.ads-dash-sub {
  margin: 0.5rem 0 0.55rem;
  font-size: 0.95rem;
  color: var(--brand-blue);
}
.ads-appointments {
  display: grid;
  gap: 0.45rem;
}
.ads-apt-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--divider);
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.ads-apt-row strong {
  color: var(--navy);
}
.ads-field-hint {
  margin: 0.2rem 0 0.45rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
  font-weight: 600;
}
.ads-plan-note {
  margin: 0.25rem 0 0.5rem;
  padding: 0.45rem 0.65rem;
  background: rgba(255, 152, 0, 0.12);
  border-radius: 8px;
  font-size: 0.78rem;
  color: #b45309;
  font-weight: 700;
}
.plan-gated.is-locked {
  opacity: 0.72;
}
.plan-gated.is-locked input,
.plan-gated.is-locked select {
  pointer-events: none;
}
.ads-dash-details {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
}
.ads-dash-details strong {
  color: var(--navy);
}
.ads-dash-features {
  margin: 0 0 1rem;
  padding-inline-start: 1.15rem;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.5;
}
.ads-dash-features-title {
  list-style: none;
  margin-inline-start: -1.15rem;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 0.35rem;
}
.ads-dash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.shop-card-top {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-align: start;
  width: 100%;
}
.shop-card-logo {
  width: 56px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--divider);
  flex-shrink: 0;
  background: #f1f5f9;
}
.shop-card-logo--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 800;
  color: #94a3b8;
  text-align: center;
  padding: 0.25rem;
}
.shop-card-copy {
  flex: 1;
  min-width: 0;
}
.shop-card-copy h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
}
.shop-addr {
  font-size: 0.78rem !important;
  opacity: 0.9;
}
.shop-tag {
  display: inline-block;
  margin-inline-start: 0.25rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  background: rgba(47, 128, 237, 0.12);
  color: var(--brand-blue);
  vertical-align: middle;
}
.shop-card--active {
  border-color: rgba(10, 154, 82, 0.4);
  box-shadow: 0 0 0 2px rgba(10, 154, 82, 0.1);
}
body.ads-login-page {
  background: var(--scaffold);
}
.login-page-wrap {
  width: min(100% - 1.75rem, 440px);
  margin: 1.25rem auto 2.5rem;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--divider);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 1.5rem 1.35rem 1.6rem;
}
.login-page-wrap h1 {
  font-size: 1.35rem;
  margin: 1rem 0 0.5rem;
}
.ads-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}
.branch-controls {
  display: grid;
  gap: 0.75rem;
}
#branch-parent-wrap {
  margin-top: 0.35rem;
}
@media (max-width: 800px) {
  .form-grid, .hours-row {
    grid-template-columns: 1fr;
  }
  .name-audience-grid {
    grid-template-columns: 1fr;
  }
  .hours-day-head {
    flex-wrap: wrap;
  }
  .hours-day-times {
    width: 100%;
  }
  .ads-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .ads-apt-row {
    grid-template-columns: 1fr;
  }
}
