/* Business portal (spec 14): loaded on /business/* only, after site.css. English only. */
.card input:not([type='checkbox']):not([type='file']):not([type='email']),
.card select,
.card textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.5rem 0.75rem;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--text-3);
  border-radius: 10px;
}
.card .field {
  margin-block-end: 0.75rem;
}
.button-light {
  background: var(--hero-text);
  color: var(--hero-to);
}
.link-button {
  min-height: 44px;
  padding: 0 0.5rem;
  border: 0;
  background: none;
  color: var(--primary);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.page > .card,
.page > section,
.listing {
  margin-block: 1rem;
}
.check {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.check input {
  width: 24px;
  height: 24px;
  flex: none;
  margin-block-start: 0.2rem;
}
.results,
.queue,
.status-list,
.photos {
  list-style: none;
  padding: 0;
}
.result,
.queue > li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
  border-block-end: 1px solid var(--border);
}
.status-list li {
  color: var(--text-2);
}
.status-list .status-active {
  color: var(--text);
  font-weight: 600;
}
.listing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.listing-actions .button {
  margin: 0;
}
.photos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.photos li,
.photo-review {
  display: grid;
  gap: 0.25rem;
  justify-items: start;
}
.photos img,
.photo-review img {
  border-radius: 10px;
  object-fit: cover;
  background: var(--surface-alt);
}
.stats {
  width: 100%;
  border-collapse: collapse;
}
.stats th,
.stats td {
  text-align: start;
  padding: 0.5rem;
  border-block-end: 1px solid var(--border);
}
.stats td {
  font-variant-numeric: tabular-nums;
}
.count {
  color: var(--text-2);
  font-weight: 400;
}

/* Short pages: the footer sits at the bottom of the window. */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
/* One container width on the business pages. */
.site-header .wrap,
main .wrap:not(.narrow),
.site-footer .wrap {
  max-width: 60rem;
}
.header-cta {
  margin: 0;
  min-height: 44px;
  padding-inline: 1rem;
}

/* ---- Landing hero with the partner preview -------------------------------------------- */
.hero-note {
  color: var(--hero-text-2);
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
}
.biz-hero .hero-copy .button {
  margin-block-end: 0.5rem;
}
.preview {
  margin: 0 auto;
  width: min(100%, 20rem);
}
.pv-phone {
  background: var(--bg);
  color: var(--text);
  border: 8px solid #10142a;
  border-block-end: 0;
  border-radius: 32px 32px 0 0;
  padding: 1rem 0.875rem 1.25rem;
  box-shadow: 0 -8px 40px rgb(0 0 0 / 0.35);
  font-size: 0.8125rem;
  line-height: 1.35;
}
.pv-phone p {
  margin: 0;
}
.pv-phone .pv-title {
  font-weight: 600;
  font-size: 1.0625rem;
  margin-block-end: 0.5rem;
}
.pv-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pv-row {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  padding-block: 0.5rem;
  border-block-end: 1px solid var(--border);
}
.pv-row svg {
  width: 20px;
  height: 25px;
  flex: none;
}
.pin-body {
  fill: var(--primary);
}
.pin-dot {
  fill: var(--surface);
}
.pv-name {
  font-weight: 600;
}
.pv-meta,
.pv-halal,
.pv-small,
.pv-note {
  color: var(--text-2);
}
.pv-phone .pv-note {
  font-size: 0.75rem;
  margin-block: 0.5rem 0.75rem;
}
.pv-badge {
  display: inline-block;
  padding: 0 0.375rem;
  border-radius: 6px;
  background: var(--primary-container);
  color: var(--on-primary-container);
  font-size: 0.6875rem;
  font-weight: 600;
  white-space: nowrap;
}
.pv-sheet {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.75rem;
  display: grid;
  gap: 0.5rem;
}
.pv-photos {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4px;
  height: 4.5rem;
}
.pv-photos span {
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 40%, rgb(242 167 116 / 0.65), transparent 60%),
    linear-gradient(135deg, #7a4a2a, #c98a52);
}
.pv-photos span + span {
  background:
    radial-gradient(circle at 60% 60%, rgb(255 255 255 / 0.35), transparent 55%),
    linear-gradient(135deg, #4d6b3a, #a9b86a);
}
.pv-photos span:last-child {
  background: linear-gradient(135deg, #8c3b2e, #e0a463);
}
.pv-card {
  background: var(--surface-alt);
  border-radius: 12px;
  padding: 0.5rem 0.625rem;
}
.pv-outlined {
  background: none;
  border: 1px solid var(--border);
}
.pv-overline {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-2);
}
.pv-small {
  font-size: 0.75rem;
}
@media (min-width: 52rem) {
  .biz-hero .wrap {
    grid-template-columns: 1.15fr 1fr;
  }
}

/* ---- Landing sections ------------------------------------------------------------------- */
.biz-cards .card::before {
  content: none;
}
.biz-cards h2 {
  font-size: 1.375rem;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ticks li {
  position: relative;
  padding-inline-start: 1.75rem;
  margin-block-end: 0.5rem;
}
.ticks li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0.25rem;
  top: 0.45em;
  width: 0.8rem;
  height: 0.45rem;
  border-inline-start: 2.5px solid var(--primary);
  border-block-end: 2.5px solid var(--primary);
  transform: rotate(-45deg);
}

/* ---- Claim: stepper, postcode, map ------------------------------------------------------ */
.stepper {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-2);
}
.stepper li {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding-block-start: 0.5rem;
  border-block-start: 4px solid var(--border);
}
.stepper li.done {
  border-color: var(--primary);
}
.stepper li[aria-current='step'] {
  border-color: var(--sun);
  color: var(--text);
  font-weight: 600;
}
.stepper-n {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--surface-alt);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.stepper li.done .stepper-n {
  background: var(--primary);
  color: var(--on-primary);
}
.stepper li[aria-current='step'] .stepper-n {
  background: var(--sun);
  color: var(--surface);
}
.inline-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}
.inline-row .button {
  margin: 0;
  flex: none;
}
details[data-new-place],
details[data-coords] {
  margin-block: 1rem;
}
details summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: var(--primary);
  font-weight: 600;
}
.map {
  position: relative;
  height: 18rem;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  margin-block-end: 0.75rem;
  touch-action: none;
}
.map-tiles {
  position: absolute;
  inset: 0;
  cursor: grab;
}
.map-tiles img {
  position: absolute;
  max-width: none;
  user-select: none;
}
/* Tiles are positioned in screen pixels: the map itself never mirrors. */
.map,
.map-tiles {
  direction: ltr;
}
.map-pin {
  position: absolute;
  width: 44px;
  height: 52px;
  margin: -52px 0 0 -22px;
  padding: 4px 6px 0;
  border: 0;
  background: none;
  cursor: grab;
  touch-action: none;
  filter: drop-shadow(0 2px 3px rgb(0 0 0 / 0.35));
}
.map-pin svg {
  width: 32px;
  height: 40px;
}
.map-pin .pin-body {
  fill: var(--sun);
}
.map-zoom {
  position: absolute;
  inset-inline-end: 0.5rem;
  top: 0.5rem;
  display: grid;
  gap: 4px;
}
.map-zoom button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 1.25rem;
  cursor: pointer;
}
.map-credit {
  position: absolute;
  inset-inline-end: 0;
  bottom: 0;
  margin: 0;
  padding: 0 0.375rem;
  font-size: 0.6875rem;
  background: var(--surface);
  color: var(--text-2);
  opacity: 0.9;
}

/* ---- Dashboard: state, hours ------------------------------------------------------------ */
.state {
  border-radius: 12px;
  padding: 0.875rem 1rem;
  margin-block: 1rem;
  background: var(--surface-alt);
  border-inline-start: 4px solid var(--text-3);
}
.state p {
  margin-block-end: 0.5rem;
}
.state-title {
  font-weight: 600;
}
.state-approved {
  background: var(--primary-container);
  border-color: var(--primary);
}
.state-live {
  border-color: var(--primary);
}
.state-retrying,
.state-paused {
  background: var(--warning-container);
  border-color: var(--warning);
}
.state-rejected {
  background: var(--error-container);
  border-color: var(--error);
}
.price-inline {
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}
.hours {
  border: 0;
  padding: 0;
  margin: 0 0 0.75rem;
}
.hours legend {
  font-weight: 600;
  padding: 0;
}
.hours-grid {
  width: 100%;
  border-collapse: collapse;
}
.hours-grid th,
.hours-grid td {
  text-align: start;
  padding: 0.25rem 0.375rem 0.25rem 0;
  font-weight: 400;
}
.hours-grid thead th {
  font-size: 0.8125rem;
  color: var(--text-2);
}
.hours-grid input[type='checkbox'] {
  width: 24px;
  height: 24px;
}
.card .hours-grid input[type='time'] {
  min-height: 44px;
  padding: 0.25rem 0.5rem;
  font-variant-numeric: tabular-nums;
}
.hours-grid input:disabled {
  opacity: 0.45;
}
.stats th:not(:first-child),
.stats td {
  text-align: end;
}
