/* Profile pages for the 7 non-breeder types (vet, shelter, groomer, boarding, trainer, walker, aftercare).
   Loads after /business/business.css. Same tokens, same cards; only the type slots live here. */

/* ---------- services ---------- */
.svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.svc > div { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 14px; align-content: start; padding: 16px; border: 1px solid var(--b-line); border-radius: 10px; background: var(--b-panel); }
.svc .ic { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--white); border: 1px solid var(--b-line); color: var(--red); }
.svc .ic svg { width: 18px; height: 18px; }
.svc h3 { font-weight: 600; font-size: 15px; line-height: 20px; color: var(--b-ink); }
.svc p { font-size: 12px; line-height: 18px; color: var(--b-muted); }
.vchips { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 20px; align-items: center; }
.vchips > b { margin-right: 4px; font-weight: 500; font-size: 12px; color: var(--b-muted); }
.vchips span { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: var(--pill); background: var(--white); border: 1px solid var(--b-line-2); font-size: 12px; color: var(--b-ink-2); }
.vchips span svg { width: 14px; height: 14px; color: var(--b-green); }
.vchips + .vchips { margin-top: 10px; }

/* ---------- hours ---------- */
.hours { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 32px; align-items: start; }
.hours .now { display: flex; align-items: center; gap: 10px; padding-top: 14px; }
.hours .now i { width: 10px; height: 10px; border-radius: 50%; background: var(--b-green); box-shadow: 0 0 0 4px var(--b-green-bg); }
.hours .now b { font-weight: 600; font-size: 24px; line-height: 32px; letter-spacing: -.8px; color: var(--b-ink); }
.hours .now span { font-size: 14px; color: var(--b-muted); }
.hours .now.closed i { background: #9AA1A9; box-shadow: 0 0 0 4px #F2F4F7; }
.week { list-style: none; margin: 0; padding: 0; border: 1px solid var(--b-line); border-radius: 10px; overflow: hidden; }
.week li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 14px; font-size: 13px; line-height: 18px; color: var(--b-ink-2); border-top: 1px solid var(--b-line); }
.week li:first-child { border-top: 0; }
.week li span:last-child { color: var(--b-muted); }
.week li.today { background: var(--b-green-bg); font-weight: 600; }
.week li.today span:last-child { color: var(--b-green); }
.er { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: center; margin-top: 22px; padding: 14px 16px; border-radius: 10px; background: #FDF1F2; border: 1px solid #F6D5DA; }
.er .ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: var(--red); }
.er .ic svg { width: 18px; height: 18px; }
.er h3 { font-weight: 600; font-size: 14px; line-height: 20px; color: var(--b-ink); }
.er p { font-size: 12px; line-height: 18px; color: var(--b-muted); }
.er a.lnk { grid-column: 2; justify-self: start; font-size: 13px; }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.team > div { display: grid; gap: 4px; align-content: start; padding: 16px; border: 1px solid var(--b-line); border-radius: 10px; }
.team .ph { width: 64px; height: 64px; margin-bottom: 10px; border-radius: 50%; overflow: hidden; background: var(--sky-2); display: grid; place-items: center; font-weight: 600; font-size: 18px; color: var(--blue); }
.team .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.team h3 { font-weight: 600; font-size: 15px; line-height: 20px; color: var(--b-ink); }
.team .role { font-size: 12px; line-height: 17px; color: var(--b-muted); }
.team .lic { display: inline-flex; align-items: center; gap: 4px; justify-self: start; margin-top: 8px; height: 22px; padding: 0 8px; border-radius: 5px; background: var(--b-green-bg); font-weight: 700; font-size: 10px; color: var(--b-green); white-space: nowrap; }
.team .lic svg { width: 12px; height: 12px; }
.team .lic.own { background: #F2F4F7; color: var(--body); font-weight: 500; }
.team .source { margin-top: 2px; }

/* proof: "clinic says" status next to Matched */
.rec .st.says { background: var(--sky-2); color: var(--blue); }

/* ---------- review bar: type switch ---------- */
.review-bar .alt { background: transparent; color: rgba(255, 255, 255, .7); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hours { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 640px) {
  .svc, .team { grid-template-columns: 1fr; }
}

/* score card: 4 bars instead of 6, keep room for the dog sketch under the tier text */
@media (min-width: 901px) { .sc { min-height: 330px; } }

/* ---------- side card: open now / today, next to Call ---------- */
.nowbox { display: grid; gap: 8px; padding: 12px 14px; border: 1px solid var(--b-line); border-radius: 10px; background: var(--white); }
.nowbox .nb { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: 13px; line-height: 18px; color: var(--b-muted); }
.nowbox .nb i { width: 8px; height: 8px; border-radius: 50%; background: var(--b-green); box-shadow: 0 0 0 3px var(--b-green-bg); flex: none; }
.nowbox .nb b { font-weight: 600; color: var(--b-green); }
.nowbox .nb a { margin-left: auto; font-weight: 500; font-size: 12px; color: var(--red); white-space: nowrap; }
.nowbox .nb2 { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; line-height: 17px; color: var(--b-muted); }
.nowbox .nb2 svg { width: 14px; height: 14px; color: var(--b-ink-2); flex: none; margin-top: 1px; }
.nowbox .nb2 a { color: var(--b-ink); font-weight: 500; }
.nowbox .nb2.urgent { padding: 8px 10px; border-radius: 8px; background: #FDF1F2; border: 1px solid #F6D5DA; }
.nowbox .nb2.urgent svg { color: var(--red); }
.nowbox .source { margin: 0; }
.nowbox.off .nb i { background: #9AA1A9; box-shadow: 0 0 0 3px #F2F4F7; }
.nowbox.off .nb b { color: var(--b-ink-2); }

/* ---------- review bar: type row + version row ---------- */
.review-bar.rb2 { flex-direction: column; align-items: stretch; gap: 6px; padding: 8px 10px; border-radius: var(--r); max-width: calc(100vw - 32px); }
.review-bar.rb2 .rb-row { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.review-bar.rb2 .rb-row::-webkit-scrollbar { display: none; }
.review-bar.rb2 .rb-row > span { min-width: 52px; color: rgba(255, 255, 255, .7); }
@media (max-width: 480px) { .review-bar.rb2 { left: 8px; right: 8px; } .review-bar.rb2 .rb-row > span { display: none; } }

/* ---------- price tables (groomer, boarding, walker, aftercare, shelter fees) ---------- */
.ptwrap { margin-top: 20px; overflow-x: auto; }
.ptable { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--b-line); border-radius: 10px; overflow: hidden; font-size: 13px; line-height: 18px; }
.ptable th, .ptable td { padding: 12px 14px; text-align: left; border-top: 1px solid var(--b-line); vertical-align: top; }
.ptable thead th { border-top: 0; background: var(--b-panel); font-weight: 600; font-size: 12px; color: var(--b-ink); }
.ptable tbody th { font-weight: 500; color: var(--b-ink); }
.ptable small { display: block; margin-top: 2px; font-weight: 400; font-size: 12px; color: var(--b-muted); }
.ptable td { color: var(--b-ink-2); }
.ptable .n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- checklists (boarding rules, shelter needs) ---------- */
.checks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 20px; color: var(--b-ink-2); }
.checks li svg { width: 16px; height: 16px; color: var(--b-green); flex: none; margin-top: 2px; }
.checks li small { display: block; font-size: 12px; line-height: 17px; color: var(--b-muted); }
.checks li.opt svg { color: var(--b-muted); }

/* ---------- steps with times (a day at boarding) and the next-date card without the puppy hand ---------- */
.steps.times .step { grid-template-columns: 64px minmax(0, 1fr); }
.steps.times .step > b { font-size: 13px; line-height: 16px; white-space: nowrap; }
.litter.nohand .in { padding-right: 40px; justify-content: space-between; }

/* ---------- service area (walkers: city only, never a home address) ---------- */
.area-note { display: inline-flex; align-items: flex-start; gap: 6px; margin-top: 12px; font-size: 12px; color: var(--b-muted); }
.area-note svg { width: 14px; height: 14px; color: var(--b-green); }
.map .zone { position: absolute; left: 50%; top: 50%; width: 62%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(217, 63, 83, .12); border: 2px dashed rgba(217, 63, 83, .55); }

/* ---------- plain note card (thin listed pages: "no state license for this type") ---------- */
.nonote { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; margin-top: 20px; padding: 14px 16px; border-radius: 10px; background: var(--b-panel); border: 1px solid var(--b-line); }
.nonote .ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--white); border: 1px solid var(--b-line); color: var(--b-ink-2); }
.nonote .ic svg { width: 18px; height: 18px; }
.nonote h3 { font-weight: 600; font-size: 14px; line-height: 20px; color: var(--b-ink); }
.nonote p { font-size: 12px; line-height: 18px; color: var(--b-muted); }

@media (max-width: 640px) {
  .checks { grid-template-columns: 1fr; }
  .ptable th, .ptable td { padding: 10px; }
  .litter.nohand .in { flex-direction: column; align-items: flex-start; padding: 28px 24px 28px 56px; }
}
/* r4:icon-first-line */
.area-note svg { flex: none; }
/* /r4:icon-first-line */
