@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap');

:root {
  --ink: #4d263d;
  --muted: #806274;
  --cream: #fff7fa;
  --paper: #fffdfd;
  --sage: #ffe1ec;
  --forest: #a83d70;
  --forest-dark: #812951;
  --clay: #ed6f9e;
  --clay-dark: #c94c7d;
  --gold: #f3b8cf;
  --line: #efd5df;
  --white: #fff;
  --shadow: 0 18px 50px rgba(115, 45, 79, .14);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #e2558b; outline-offset: 3px; }

.skip-link { position: absolute; left: -9999px; top: 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; background: white; padding: .75rem 1rem; border-radius: 8px; }
.container { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; }
.section { padding: 6rem 0; }
.section-sm { padding: 3rem 0; }
.eyebrow { color: var(--clay-dark); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { font-family: 'Fraunces', serif; line-height: 1.08; margin: 0 0 1rem; }
h1 { font-size: clamp(3.25rem, 7vw, 6.8rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2.2rem, 4vw, 4rem); letter-spacing: -.035em; }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1.25rem; }
.lede { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 44rem; }
.kicker { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .8rem; background: rgba(255,255,255,.72); border: 1px solid rgba(168,61,112,.16); border-radius: 99px; font-weight: 600; font-size: .84rem; }
.kicker::before { content: ''; width: .55rem; height: .55rem; background: var(--clay); border-radius: 50%; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,247,250,.92); border-bottom: 1px solid rgba(168,61,112,.1); backdrop-filter: blur(14px); }
.nav { height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; font-family: 'Fraunces', serif; font-size: 1.35rem; font-weight: 700; }
.brand-logo { width: 58px; height: 58px; flex: 0 0 auto; object-fit: contain; filter: drop-shadow(0 7px 12px rgba(168,61,112,.15)); }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .94rem; font-weight: 600; }
.nav-links a:hover, .nav-links a[aria-current='page'] { color: var(--forest); }
.nav-toggle { display: none; border: 0; background: none; padding: .5rem; color: var(--ink); }
.nav-signout { border: 0; padding: 0; color: var(--muted); background: none; font-size: .94rem; font-weight: 600; cursor: pointer; }
.nav-signout:hover { color: var(--forest); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .8rem 1.25rem; border: 0; border-radius: 99px; background: var(--forest); color: white !important; text-decoration: none; font-weight: 700; cursor: pointer; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); background: var(--forest-dark); }
.button-clay { background: var(--clay); }
.button-clay:hover { background: var(--clay-dark); }
.button-light { background: white; color: var(--forest) !important; }
.text-link { color: var(--forest); font-weight: 700; text-underline-offset: 4px; }

.hero { position: relative; overflow: hidden; padding: 5.5rem 0 6rem; }
.hero::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: linear-gradient(145deg, #ffd5e6, #f9bfd5); right: -180px; top: -190px; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 5rem; }
.hero h1 em { color: var(--clay); font-style: normal; }
.hero-actions { display: flex; align-items: center; gap: 1.25rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-visual { position: relative; min-height: 560px; }
.hero-photo { position: absolute; inset: 0 0 35px 25px; display: grid; place-items: center; }
.hero-photo img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 22px 30px rgba(115,45,79,.2)); }
.sunburst { position: absolute; right: -20px; bottom: 15px; width: 110px; height: 110px; border-radius: 50%; background: #ffd1e1; z-index: -1; }
.sunburst::before { content: '♥'; position: absolute; inset: 0; display: grid; place-items: center; color: var(--clay-dark); font-size: 2rem; transform: rotate(-10deg); }

.trust-strip { border-block: 1px solid var(--line); background: var(--paper); }
.trust-items { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.trust-item { padding: 1.35rem; font-size: .92rem; font-weight: 700; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.5rem; }
.section-heading p { max-width: 34rem; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.15rem; }
.card { position: relative; background: var(--paper); padding: 1.7rem; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(168,61,112,.06); }
.card::after { content: '✦'; position: absolute; top: 1rem; right: 1.15rem; color: #ef9cbb; font-size: .9rem; }
.card-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 2.5rem; border-radius: 14px; color: var(--forest); background: var(--sage); font-weight: 800; }
.card p { color: var(--muted); font-size: .94rem; }
.price { color: var(--clay-dark); font-weight: 700; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
.step { position: relative; padding-top: 4rem; counter-increment: step; }
.step::before { content: '0' counter(step); position: absolute; top: 0; left: 0; color: var(--clay); font-family: 'Fraunces', serif; font-size: 2.6rem; font-weight: 700; }
.testimonial { display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: 4rem; padding: 4rem; background: var(--forest); color: white; border-radius: 32px; }
.testimonial-art { aspect-ratio: 1; border-radius: 50% 50% 42% 58%; background: linear-gradient(145deg, #ffd3e3, var(--clay)); position: relative; }
.testimonial-art::after { content: 'WOOF'; position: absolute; inset: 0; display: grid; place-items: center; font-family: 'Fraunces', serif; font-size: clamp(2rem,5vw,4rem); transform: rotate(-8deg); }
.quote { font-family: 'Fraunces', serif; font-size: clamp(1.6rem, 3vw, 2.7rem); line-height: 1.25; }
.cta-band { padding: 4rem; background: var(--clay); color: white; border-radius: 32px; display: flex; justify-content: space-between; align-items: center; gap: 2rem; }

.page-hero { padding: 5rem 0 4rem; text-align: center; }
.page-hero h1 { font-size: clamp(3.2rem, 7vw, 6rem); max-width: 900px; margin-inline: auto; }
.page-hero .lede { margin-inline: auto; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 5rem; align-items: center; }
.portrait-placeholder { min-height: 610px; position: relative; border-radius: 180px 180px 28px 28px; background: linear-gradient(155deg, #ffdce9, #e784aa); overflow: hidden; }
.portrait-placeholder::after { content: '♥  ✦'; position: absolute; top: 12%; right: 10%; color: white; font-size: 2rem; letter-spacing: .35rem; transform: rotate(10deg); }
.portrait-placeholder::before { content: 'JR'; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.68); font-family: 'Fraunces', serif; font-size: 9rem; }
.portrait-label { position: absolute; inset: auto 1rem 1rem; background: rgba(255,255,255,.9); padding: 1rem; border-radius: 16px; text-align: center; font-weight: 700; }
.portrait-placeholder.has-photo::before { display: none; }
.about-owner-photo { width: 100%; height: 100%; min-height: 610px; object-fit: cover; }
.home-owner-section { background: linear-gradient(180deg,var(--cream),#fff8fb); }
.home-owner-contact { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; margin:1.5rem 0; }
.home-owner-contact a { display:flex; flex-direction:column; gap:.2rem; padding:.9rem 1rem; color:var(--ink); background:#fff; border:1px solid var(--line); border-radius:14px; text-decoration:none; overflow-wrap:anywhere; }
.home-owner-contact a:hover { border-color:var(--clay); transform:translateY(-1px); }
.home-owner-contact span { color:var(--muted); font-size:.76rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; }
.about-photo-editor { display: grid; grid-template-columns: minmax(220px,.7fr) minmax(280px,1.3fr); gap: 2rem; align-items: start; }
.owner-photo-preview { min-height: 320px; display: grid; place-items: center; overflow: hidden; border-radius: 24px; background: #fff0f6; color: var(--muted); text-align: center; }
.owner-photo-preview img { width: 100%; height: 320px; object-fit: cover; }
.service-list { display: grid; gap: 1rem; }
.service-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 1.5rem; align-items: center; padding: 1.5rem; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); }
.service-number { font-family: 'Fraunces', serif; color: var(--clay); font-size: 1.65rem; }
.service-row h3, .service-row p { margin: 0; }
.service-row p { color: var(--muted); }
.service-price { font-family: 'Fraunces', serif; font-size: 1.35rem; white-space: nowrap; }
.fine-print { color: var(--muted); font-size: .9rem; text-align: center; margin-top: 1.5rem; }

.gallery-hero { padding-bottom: 2.5rem; }
.gallery-section { padding-top: 1rem; }
.gallery-shell { width: min(calc(100% - 2.5rem), 820px); }
.gallery-editor { margin-bottom: 2.5rem; }
.gallery-post-form { display: grid; gap: 1.2rem; }
.gallery-form-heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.gallery-form-heading h2 { margin: .25rem 0 0; font-size: clamp(2rem,4vw,3rem); }
.gallery-feed { display: grid; gap: 2rem; }
.gallery-post { overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.gallery-collage { display: grid; gap: 3px; height: min(68vw, 610px); min-height: 360px; background: #f5dce6; }
.gallery-collage img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: cover; }
.gallery-collage-1 { grid-template-columns: 1fr; }
.gallery-collage-2 { grid-template-columns: repeat(2,1fr); }
.gallery-collage-3 { grid-template-columns: 1.35fr .65fr; grid-template-rows: repeat(2,1fr); }
.gallery-collage-3 img:first-child { grid-row: 1 / 3; }
.gallery-collage-4 { grid-template-columns: repeat(2,1fr); grid-template-rows: repeat(2,1fr); }
.gallery-collage-5, .gallery-collage-6 { grid-template-columns: repeat(3,1fr); grid-template-rows: repeat(2,1fr); }
.gallery-collage-5 img:first-child { grid-column: span 2; }
.gallery-post-body { padding: 1.5rem 1.7rem 1.7rem; }
.gallery-post-body time { display: block; margin-bottom: .5rem; color: var(--clay-dark); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.gallery-post-body p { margin: 0; white-space: pre-wrap; }
.gallery-post-actions { display: flex; gap: 1rem; margin-top: 1.15rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.gallery-action-button { padding: 0; border: 0; background: none; cursor: pointer; }
.gallery-delete-button { color: #9f3444; }
.gallery-edit-photos { display: grid; gap: .7rem; }
.gallery-edit-photo-grid, .gallery-file-preview { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: .65rem; }
.gallery-edit-photo { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 12px; }
.gallery-edit-photo img, .gallery-file-preview img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.gallery-edit-photo button { position: absolute; inset: auto .3rem .3rem; padding: .3rem .45rem; color: white; background: rgba(77,38,61,.88); border: 0; border-radius: 7px; font-size: .7rem; cursor: pointer; }

.form-shell { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; align-items: start; }
.form-aside { position: sticky; top: 110px; }
.form-aside .mini-list { list-style: none; padding: 0; }
.form-aside li { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.booking-form { background: var(--paper); padding: clamp(1.4rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.form-section { border: 0; padding: 0; margin: 0 0 2.5rem; }
.form-section legend { width: 100%; margin-bottom: 1.25rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line); font-family: 'Fraunces', serif; font-size: 1.55rem; font-weight: 700; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.15rem; }
.field { display: flex; flex-direction: column; gap: .42rem; }
.field-full { grid-column: 1 / -1; }
label { font-size: .87rem; font-weight: 700; }
input, select, textarea { width: 100%; padding: .85rem 1rem; color: var(--ink); background: white; border: 1px solid #e5c8d4; border-radius: 11px; }
input:focus, select:focus, textarea:focus { border-color: var(--forest); outline: 2px solid rgba(168,61,112,.15); }
textarea { min-height: 105px; resize: vertical; }
.hint { color: var(--muted); font-size: .78rem; }
.form-status { display: none; margin-top: 1rem; padding: 1rem; border-radius: 12px; }
.form-status.success { display: block; color: #174632; background: #dcf1e6; }
.form-status.error { display: block; color: #7a2e24; background: #f8dfd8; }
.button[disabled] { opacity: .65; cursor: wait; transform: none; }

.admin-login { max-width: 520px; margin: 3rem auto; padding: 2rem; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.admin-toolbar { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: 1.5rem; }
.admin-panel[hidden], .admin-login[hidden] { display: none; }
.appointments { display: grid; gap: 1rem; }
.appointment-card { padding: 1.5rem; background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: 18px; }
.appointment-card[data-status='Confirmed'] { border-left-color: var(--forest); }
.appointment-card[data-status='Completed'] { border-left-color: #85908a; }
.appointment-card[data-status='Cancelled'] { border-left-color: var(--clay); opacity: .75; }
.appointment-head { display: flex; align-items: start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.appointment-date { font-family: 'Fraunces', serif; font-size: 1.35rem; }
.appointment-meta { color: var(--muted); }
.appointment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.owner-booking-tools { display: grid; grid-template-columns: minmax(0,1fr); gap: 2rem; align-items: start; margin-bottom: 2.25rem; }
.owner-calendar-panel { min-width: 0; padding: 1.4rem; overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.owner-calendar-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.owner-calendar-toolbar h3 { margin: 0; text-align: center; }
.calendar-nav-button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; color: var(--forest); background: white; font-size: 1.15rem; cursor: pointer; }
.booking-legend { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: 1rem; }
.legend-item { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .75rem; font-weight: 700; }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--booking-color); }
.owner-month-calendar { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.calendar-weekday { padding: .55rem .25rem; text-align: center; color: var(--muted); background: #fff0f6; font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.owner-calendar-day { min-width: 0; min-height: 105px; padding: .45rem; background: white; border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.owner-calendar-day:nth-child(7n) { border-right: 0; }
.owner-calendar-day.is-empty { background: #fffafd; }
.calendar-day-number { display: block; margin-bottom: .35rem; color: var(--muted); font-size: .72rem; font-weight: 800; }
.owner-calendar-day.is-today { position: relative; z-index: 1; background: #fff4f8; box-shadow: inset 0 0 0 3px #df2b70; }
.owner-calendar-day.is-today .calendar-day-number { display: grid; width: 26px; height: 26px; margin-bottom: .2rem; place-items: center; color: white; background: #df2b70; border-radius: 50%; }
.owner-calendar-today-label { display: block; margin-bottom: .35rem; color: #b41f5d; font-size: .58rem; font-weight: 900; letter-spacing: .06em; line-height: 1; text-transform: uppercase; }
.owner-calendar-event { display: block; width: 100%; margin-bottom: .3rem; padding: .35rem .4rem; overflow: hidden; color: #472238; background: color-mix(in srgb, var(--booking-color) 24%, white); border-left: 4px solid var(--booking-color); border-radius: 6px; font-size: .66rem; font-weight: 700; line-height: 1.25; text-overflow: ellipsis; }
.owner-list-heading { margin: 0 0 1rem; }
.owner-request-inbox { margin-top: 1rem; }
.request-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem; margin-top: 1rem; }
.request-actions .button { padding: .7rem 1rem; text-decoration: none; }
.owner-view-switch { width: fit-content; margin: 0 auto 1rem; }
.owner-calendar-toolbar > div { text-align: center; }
.owner-calendar-toolbar .eyebrow { margin-bottom: .15rem; }
.owner-calendar-zoom { cursor: zoom-in; }
.owner-calendar-zoom:hover, .owner-calendar-zoom:focus-visible { background: #fff6fa; outline: 2px solid var(--forest); outline-offset: -2px; }
.owner-calendar-block { display: block; width: 100%; margin-bottom: .3rem; padding: .35rem .4rem; color: #6a4b22; background: #fff0d9; border-left: 4px solid #c27623; border-radius: 6px; font-size: .62rem; font-weight: 700; line-height: 1.25; }
.blocked-dot { background: #c27623; }
.owner-availability-tools { display: grid; grid-template-columns: minmax(0,1fr); gap: 2rem; align-items: start; margin: 2.25rem 0; padding-top: 2.25rem; border-top: 1px solid var(--line); }
.owner-week-calendar { display: grid; grid-template-columns: repeat(7,minmax(150px,1fr)); gap: .65rem; min-width: 1070px; }
.owner-week-day { display: flex; min-height: 330px; padding: .75rem; flex-direction: column; gap: .55rem; background: #fffafd; border: 1px solid var(--line); border-radius: 14px; }
.owner-week-day-heading { display: flex; padding-bottom: .65rem; flex-direction: column; align-items: center; border-bottom: 1px solid var(--line); }
.owner-week-day-heading span { color: var(--muted); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.owner-week-day-heading strong { font-family: 'Fraunces',serif; font-size: 1rem; }
.owner-week-day .owner-calendar-event { white-space: normal; }
.owner-week-open { color: #24704f; font-size: .7rem; text-align: center; }
.owner-week-block { padding: .5rem; color: #6a4b22; background: #fff0d9; border-radius: 8px; font-size: .66rem; font-weight: 700; }
.owner-week-day .week-day-action { margin-top: auto; }
.owner-overnight-calendar .owner-calendar-day { min-height: 90px; }
.overnight-event { color: #55233d; background: #fbe2ee; }
.booking-color-0 { --booking-color: #e75480; }
.booking-color-1 { --booking-color: #8b5cf6; }
.booking-color-2 { --booking-color: #2aa198; }
.booking-color-3 { --booking-color: #f59e0b; }
.booking-color-4 { --booking-color: #3b82f6; }
.booking-color-5 { --booking-color: #d946ef; }
.detail-block { padding: 1rem; background: var(--cream); border-radius: 12px; }
.detail-block strong { display: block; margin-bottom: .3rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.care-alert { grid-column: 1 / -1; background: #fff0f6; }
.status-control { display: flex; align-items: center; gap: .6rem; }
.status-control select { min-width: 130px; padding: .55rem .75rem; }
.empty-state { padding: 4rem 2rem; text-align: center; background: var(--paper); border: 1px dashed var(--line); border-radius: 20px; color: var(--muted); }

.schedule-shell, .contact-grid, .profile-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; align-items: start; }
.filter-card, .contact-card, .panel-form, .review-card, .auth-card { padding: 2rem; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.filter-card { display: grid; gap: 1rem; position: sticky; top: 110px; }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.slot { padding: 1rem; text-align: center; color: var(--forest); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-weight: 700; }
.slot:hover { color: white; background: var(--forest); }
.calendar-heading { margin-bottom: 1.25rem; }
.calendar-heading h2 { margin-top: .25rem; }
.calendar-day { margin-bottom: 1.75rem; padding: 1.4rem; background: rgba(255,255,255,.62); border: 1px solid var(--line); border-radius: 20px; }
.calendar-day h3 { margin-bottom: 1rem; }
.year-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.calendar-month { display: grid; gap: .35rem; min-height: 115px; padding: 1.2rem; text-align: left; color: var(--forest); background: var(--paper); border: 1px solid var(--line); border-radius: 18px; cursor: pointer; }
.calendar-month strong { font-family: 'Fraunces', serif; font-size: 1.25rem; }
.calendar-month span { color: var(--muted); font-size: .8rem; }
.calendar-month:hover { color: white; background: var(--forest); }
.calendar-month:hover span { color: white; }
.calendar-month:disabled { opacity: .45; cursor: not-allowed; }
.booking-help { margin-top: 1.25rem; padding: 1.2rem 1.35rem; color: var(--muted); background: #fff0f6; border-radius: 16px; }
.booking-help a { color: var(--forest); font-weight: 700; }
.availability-page { display: grid; gap: 1.25rem; }
.availability-controls { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.25rem; padding: 1.35rem 1.5rem; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.availability-service-field { width: min(100%, 620px); }
.control-label { color: var(--ink); font-size: .82rem; font-weight: 700; }
.calendar-view-switch { display: flex; gap: .3rem; padding: .3rem; background: #fff0f6; border: 1px solid var(--line); border-radius: 999px; }
.calendar-view-button { min-width: 82px; padding: .55rem .9rem; color: var(--muted); background: transparent; border: 0; border-radius: 999px; font-weight: 700; cursor: pointer; }
.calendar-view-button:hover, .calendar-view-button:focus-visible { color: var(--forest); }
.calendar-view-button.active { color: white; background: var(--forest); }
.public-calendar-panel { min-width: 0; padding: clamp(1rem,3vw,1.5rem); background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.public-calendar-panel[hidden] { display: none !important; }
.public-calendar-toolbar { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.public-calendar-toolbar .calendar-heading { margin: 0; text-align: center; }
.public-calendar-toolbar .calendar-heading h2 { margin-bottom: 0; }
.public-month-calendar { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.public-calendar-day { display: flex; min-width: 0; min-height: 102px; padding: .65rem; flex-direction: column; align-items: flex-start; gap: .4rem; color: var(--ink); background: white; border: 0; border-top: 1px solid var(--line); border-right: 1px solid var(--line); cursor: pointer; }
.public-calendar-day:nth-child(7n) { border-right: 0; }
.public-calendar-day strong { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; font-size: .86rem; }
.public-calendar-day span { color: var(--muted); font-size: .68rem; font-weight: 700; }
.public-calendar-day:hover:not(:disabled), .public-calendar-day:focus-visible { background: #fff0f6; outline: 2px solid var(--forest); outline-offset: -2px; }
.public-calendar-day.is-today strong { color: white; background: var(--forest); }
.public-calendar-day.is-selected { background: #fbe2ee; box-shadow: inset 0 0 0 2px var(--forest); }
.public-calendar-day.has-openings span { color: #24704f; }
.public-calendar-day.has-openings span::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: .3rem; background: #4aa977; border-radius: 50%; }
.public-calendar-day:disabled { color: #a99ba3; background: #faf6f8; cursor: not-allowed; }
.public-calendar-day.is-empty { background: #fffafd; cursor: default; }
.public-week-scroll { overflow-x: auto; padding: .15rem 0 .55rem; scrollbar-color: var(--gold) transparent; }
.public-week-schedule { display: grid; grid-template-columns: repeat(7,minmax(145px,1fr)); min-width: 1015px; gap: .65rem; }
.week-day-column { display: flex; min-height: 270px; padding: .75rem; flex-direction: column; background: #fffafd; border: 1px solid var(--line); border-radius: 15px; }
.week-day-column.is-today { border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }
.week-day-column.is-past { opacity: .58; }
.week-day-heading { display: flex; padding: .35rem; flex-direction: column; align-items: center; color: var(--ink); background: transparent; border: 0; border-radius: 10px; cursor: pointer; }
.week-day-heading span { color: var(--muted); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.week-day-heading strong { font-family: 'Fraunces', serif; font-size: 1.05rem; }
.week-day-heading:hover:not(:disabled), .week-day-heading:focus-visible { color: var(--forest); background: #fff0f6; }
.week-taken-label { margin: .75rem 0 .4rem; color: var(--muted); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.week-taken-list { display: grid; gap: .4rem; margin-bottom: .75rem; }
.week-all-open { padding: .55rem; color: #24704f; background: #edf8f2; border-radius: 9px; font-size: .7rem; font-weight: 700; text-align: center; }
.week-taken-time { display: grid; gap: .05rem; padding: .45rem .5rem; color: var(--muted); background: #f1edef; border-radius: 9px; font-size: .62rem; }
.week-taken-time.booked { color: #8a315c; background: #fbe2ee; }
.week-taken-time span { font-weight: 800; text-transform: uppercase; }
.week-taken-time strong { color: inherit; font-size: .7rem; }
.week-day-action { width: 100%; margin-top: auto; padding: .6rem .45rem; color: var(--forest); background: white; border: 1px solid var(--line); border-radius: 10px; font-size: .68rem; font-weight: 800; cursor: pointer; }
.week-day-action:hover:not(:disabled), .week-day-action:focus-visible { color: white; background: var(--forest); }
.week-day-action:disabled, .week-day-heading:disabled { cursor: not-allowed; }
.day-schedule { margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--line); scroll-margin-top: 95px; }
.day-schedule-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.day-schedule-heading h2 { margin: .25rem 0; }
.schedule-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .65rem; color: var(--muted); font-size: .72rem; font-weight: 700; }
.schedule-legend span { display: inline-flex; align-items: center; gap: .3rem; }
.schedule-legend i { width: 10px; height: 10px; border-radius: 50%; }
.schedule-legend .available { background: #4aa977; }
.schedule-legend .booked { background: var(--forest); }
.schedule-legend .unavailable { background: #a99ba3; }
.schedule-period { margin-bottom: 1.5rem; }
.schedule-period h3 { margin-bottom: .75rem; font-size: 1.05rem; }
.timeline-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .55rem; }
.timeline-slot { display: flex; min-width: 0; padding: .7rem .55rem; flex-direction: column; gap: .15rem; color: var(--muted); background: #faf6f8; border: 1px solid var(--line); border-radius: 10px; font-size: .7rem; text-decoration: none; }
.timeline-slot strong { color: var(--ink); font-size: .8rem; }
.timeline-slot.booked { color: #8a315c; background: #fbe2ee; border-color: #edbfd3; }
.timeline-slot.unavailable { background: #f1edef; opacity: .78; }
.timeline-slot.is-bookable { color: #24704f; background: #edf8f2; border-color: #b8dec9; }
.timeline-slot.is-bookable:hover, .timeline-slot.is-bookable:focus-visible { color: white; background: var(--forest); outline: 2px solid var(--forest); }
.timeline-slot.is-bookable:hover strong, .timeline-slot.is-bookable:focus-visible strong { color: white; }
.overnight-date-choice { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem; background: #fff0f6; border-radius: 15px; }
.overnight-date-choice p { margin: 0; }
.overnight-range-form { display: grid; gap: 1.25rem; padding: 1.5rem; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.overnight-range-form h2 { margin: .25rem 0 .5rem; }
.overnight-range-form p { margin: 0; color: var(--muted); }
.overnight-range-fields { display: grid; grid-template-columns: repeat(2,minmax(170px,1fr)) auto; gap: 1rem; align-items: end; }
.overnight-range-result { padding: 1.15rem; background: #fff0f6; border-radius: 14px; }
.overnight-range-result h3 { margin-bottom: .35rem; }
.overnight-range-result p { margin-bottom: 1rem; }
.overnight-range-result.is-available { background: #edf8f2; border: 1px solid #b8dec9; }
.overnight-range-result.has-conflict { background: #fff3e6; border: 1px solid #efc995; }
.overnight-range-form[hidden], .overnight-range-result[hidden] { display: none !important; }
.public-calendar-day.is-overnight-range { background: #edf8f2; }
.public-calendar-day.has-conflict { background: #fff3e6; box-shadow: inset 0 0 0 2px #c27623; }
.public-calendar-day.has-conflict span { color: #8b4d12; }
.owner-customer-tools { align-items: start; }
.owner-customer-card { padding: 1.2rem; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.owner-customer-card h3 { margin-bottom: .25rem; }
.owner-customer-contact { margin: 0 0 .85rem; color: var(--muted); font-size: .82rem; overflow-wrap: anywhere; }
.registered-dog-list { display: grid; gap: .5rem; }
.registered-dog { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .65rem .75rem; background: #fff0f6; border-radius: 10px; }
.registered-dog strong { font-size: .88rem; }
.registered-dog span { color: var(--muted); font-size: .75rem; text-align: right; }
.overnight-default-note, .overnight-schedule-fields { padding: 1rem; background: #fff0f6; border-radius: 14px; }
.overnight-default-note span { color: var(--muted); font-size: .84rem; }
.field[hidden], .overnight-default-note[hidden], .overnight-schedule-fields[hidden], .panel-form[hidden] { display: none !important; }
.contact-card .footer-links { gap: 1.25rem; }
.contact-card a { color: var(--forest); }
.contact-location-links { display:grid; gap:.35rem; }
.contact-location-links > span { color:var(--muted); }
.contact-location-links a { display:block; width:max-content; }
.contact-grid { align-items: stretch; }
.contact-intro { color: var(--ink); font-size: clamp(1.65rem, 2.4vw, 2.25rem); line-height: 1.2; letter-spacing: -.025em; }
.contact-map-card { position: relative; height: 100%; min-height: 430px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.contact-map-card iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; pointer-events: none; }
.contact-service-overlay { position:absolute; inset:0; z-index:1; pointer-events:none; }
.service-area-caption,.service-area-outline strong { position:absolute; padding:.35rem .6rem; color:#6f2048; background:rgba(255,255,255,.94); border:1px solid rgba(178,56,112,.45); border-radius:999px; box-shadow:0 4px 14px rgba(87,39,67,.12); font-size:.72rem; }
.service-area-caption { top:.8rem; left:50%; transform:translateX(-50%); font-weight:800; white-space:nowrap; }
.service-area-outline { position:absolute; border:3px dashed #b23870; border-radius:18px; background:rgba(231,132,170,.11); box-shadow:0 0 0 1px rgba(255,255,255,.75) inset; }
.service-area-outline strong { top:.55rem; left:.55rem; }
.service-area-outline.is-delray { top:8%; left:20%; width:70%; height:36%; clip-path:polygon(7% 0,100% 0,96% 100%,0 100%,0 38%); }
.service-area-outline.is-boca { top:49%; left:18%; width:73%; height:35%; clip-path:polygon(4% 0,100% 0,96% 100%,10% 100%,0 72%,0 18%); }
.contact-map-link { position: absolute; inset: 0; z-index:2; display: flex; align-items: flex-end; justify-content: center; padding: 1.25rem; color: var(--forest); text-decoration: none; }
.contact-map-link > span { padding: .8rem 1.1rem; background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); font-weight: 800; }
.contact-map-link:hover > span, .contact-map-link:focus-visible > span { color: white; background: var(--forest); }
.link-button { border: 0; padding: .5rem .2rem; color: var(--forest); background: transparent; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-button.danger { color: #a8325d; margin-left: .65rem; }
.check-field { display: flex; align-items: center; gap: .6rem; margin: 1rem 0; }
.check-field input { width: auto; }
.review-card { margin-top: 1.5rem; }
.review-card dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.review-card dl div { padding: 1rem; background: var(--cream); border-radius: 12px; }
.review-card dt { color: var(--muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.review-card dd { margin: .25rem 0 0; font-weight: 600; }

.auth-shell { display: grid; grid-template-columns: 1fr .8fr; gap: 5rem; align-items: center; }
.auth-copy h1 { font-size: clamp(3rem, 6vw, 5.6rem); }
.auth-card { max-width: 560px; width: 100%; }
.tabs { display: flex; gap: .5rem; margin-bottom: 2rem; padding: .35rem; background: var(--cream); border-radius: 99px; }
.tab { flex: 1; border: 0; padding: .75rem; color: var(--muted); background: transparent; border-radius: 99px; font-weight: 700; cursor: pointer; }
.tab.active { color: white; background: var(--forest); }
.auth-panel { display: grid; gap: 1rem; }
.auth-panel[hidden] { display: none; }
.password-input { position: relative; }
.password-input input { padding-right: 3.25rem; }
.password-toggle { position: absolute; top: 50%; right: .55rem; display: grid; width: 2.25rem; height: 2.25rem; transform: translateY(-50%); place-items: center; border: 0; padding: 0; color: var(--forest); background: transparent; border-radius: 50%; cursor: pointer; }
.password-toggle:hover, .password-toggle:focus-visible { color: #a8325d; background: var(--sage); }
.password-icon { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.password-icon-hide, .password-toggle[aria-pressed="true"] .password-icon-show { display: none; }
.password-toggle[aria-pressed="true"] .password-icon-hide { display: block; }
.auth-divider { display: flex; align-items: center; gap: 1rem; margin: 1.25rem 0; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
#google-signin { display: flex; justify-content: center; min-height: 44px; }
.google-placeholder { width: 100%; min-height: 44px; color: #5f6368; background: white; border: 1px solid #dadce0; border-radius: 4px; font-weight: 600; }
#google-signin-wrap .hint { margin: .45rem 0 0; text-align: center; }

.dashboard-hero { padding: 4rem 0; background: linear-gradient(140deg, var(--sage), #fff7fa); }
.dashboard-hero h1 { font-size: clamp(3rem, 7vw, 5.5rem); }
.owner-hero { background: linear-gradient(140deg, #f6c4d7, #fff4f8); }
.dashboard-layout { display: grid; grid-template-columns: 220px 1fr; gap: 3rem; align-items: start; }
.dashboard-nav { position: sticky; top: 110px; display: grid; padding: 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.dashboard-nav a { padding: .75rem; color: var(--muted); text-decoration: none; font-weight: 700; border-radius: 10px; }
.dashboard-nav a:hover { color: var(--forest); background: var(--sage); }
.dashboard-content { min-width: 0; }
.dashboard-section { padding: 2.5rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.dashboard-section:first-of-type { padding-top: 0; }
.mini-card-list { display: grid; gap: 1rem; }
.mini-card { padding: 1.25rem; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.mini-card h3 { margin-bottom: .35rem; }
.mini-card p { color: var(--muted); }
.panel-form { display: grid; gap: 1rem; }
.panel-form.narrow { max-width: 620px; }
.status-badge { display: inline-flex; padding: .3rem .7rem; border-radius: 99px; font-size: .78rem; font-weight: 800; }
.status-pending { color: #7b4a00; background: #ffe8b7; }
.status-confirmed { color: #6f1740; background: #ffd5e6; }
.status-completed { color: #315f4c; background: #d9eee5; }
.status-cancelled, .status-declined { color: #7a2530; background: #f5d9dd; }

.site-footer { padding: 4rem 0 2rem; background: #4d263d; color: white; }
.site-footer .brand-logo { width: 76px; height: 76px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; }
.footer-grid p, .footer-grid a { color: #e7cbd7; }
.footer-links { display: grid; gap: .6rem; }
.footer-links a { text-decoration: none; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); color: #caa5b5; font-size: .85rem; }

@media (max-width: 900px) {
  .hero-grid, .about-grid, .form-shell, .testimonial { grid-template-columns: 1fr; }
  .hero-visual { min-height: 470px; max-width: 540px; width: 100%; margin: auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .form-aside { position: static; }
  .appointment-grid { grid-template-columns: 1fr; }
  .care-alert { grid-column: auto; }
  .schedule-shell, .contact-grid, .profile-grid, .auth-shell, .about-photo-editor, .overnight-range-fields { grid-template-columns: 1fr; }
  .filter-card { position: static; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .owner-booking-tools, .owner-availability-tools { grid-template-columns: 1fr; }
  .dashboard-nav { position: static; grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 721px) and (max-width: 1120px) {
  .nav-links { gap: .8rem; }
  .nav-links a, .nav-signout { font-size: .82rem; }
}

@media (max-width: 720px) {
  .section { padding: 4rem 0; }
  .nav-toggle { display: block; }
  .site-header .brand { font-size: 1.05rem; }
  .site-header .brand-logo { width: 50px; height: 50px; }
  .nav-links { display: none; position: absolute; left: 1rem; right: 1rem; top: 74px; padding: 1.2rem; flex-direction: column; align-items: stretch; gap: .3rem; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .7rem; }
  .nav-links .button { margin-top: .4rem; }
  h1 { font-size: clamp(3.1rem, 16vw, 4.5rem); }
  .hero { padding-top: 3.5rem; }
  .hero-grid { gap: 2.5rem; }
  .hero-visual { min-height: 390px; }
  .hero-photo { inset-left: 0; }
  .trust-items, .steps, .footer-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .cards, .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .section-heading, .cta-band, .admin-toolbar, .appointment-head { align-items: flex-start; flex-direction: column; }
  .cta-band, .testimonial { padding: 2rem; }
  .service-row { grid-template-columns: 44px 1fr; }
  .service-price { grid-column: 2; }
  .portrait-placeholder { min-height: 450px; }
  .about-owner-photo { min-height: 450px; }
  .slot-grid { grid-template-columns: 1fr 1fr; }
  .year-grid { grid-template-columns: 1fr 1fr; }
  .review-card dl { grid-template-columns: 1fr; }
  .dashboard-nav { display: flex; overflow-x: auto; }
  .dashboard-nav a { white-space: nowrap; }
  .owner-calendar-panel { padding: .75rem; overflow-x: auto; }
  .owner-month-calendar { min-width: 680px; }
  .owner-week-calendar { min-width: 1070px; }
  .timeline-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .gallery-collage { height: min(82vw,560px); min-height: 300px; }
  .gallery-edit-photo-grid, .gallery-file-preview { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 520px) {
  .service-list { width: 92%; max-width: 340px; margin-inline: auto; gap: .75rem; }
  .service-row { grid-template-columns: 36px minmax(0,1fr); gap: .75rem; padding: 1rem; border-radius: 16px; }
  .service-number { font-size: 1.35rem; }
  .service-row h3 { font-size: 1.2rem; }
  .service-row p { font-size: .82rem; line-height: 1.45; }
  .service-price { grid-column: 2; font-size: 1.15rem; }
  .availability-controls { align-items: stretch; flex-direction: column; padding: 1rem; }
  .availability-service-field { width: 100%; }
  .calendar-view-switch, .calendar-view-button { width: 100%; }
  .public-calendar-panel { padding: .8rem; }
  .public-calendar-toolbar { grid-template-columns: 38px 1fr 38px; gap: .45rem; }
  .public-calendar-day { min-height: 64px; padding: .35rem; }
  .public-calendar-day strong { width: 25px; height: 25px; font-size: .75rem; }
  .public-calendar-day span { font-size: .56rem; }
  .day-schedule-heading { align-items: flex-start; flex-direction: column; }
  .schedule-legend { justify-content: flex-start; }
  .timeline-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .overnight-date-choice { align-items: stretch; flex-direction: column; }
  .gallery-shell { width: min(calc(100% - 1.5rem),820px); }
  .gallery-collage { height: 95vw; min-height: 280px; }
  .gallery-collage-2, .gallery-collage-3, .gallery-collage-4, .gallery-collage-5, .gallery-collage-6 { grid-template-columns: repeat(2,1fr); grid-template-rows: repeat(2,1fr); }
  .gallery-collage-2 img { grid-row: 1 / 3; }
  .gallery-collage-5, .gallery-collage-6 { grid-template-rows: repeat(3,1fr); }
  .gallery-post-body { padding: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Account approval, private profiles, and team */
.dashboard-owner-intro { display:grid; grid-template-columns:minmax(0,.8fr) minmax(340px,1.2fr); gap:2rem; align-items:center; }
.dashboard-owner-card { display:grid; grid-template-columns:150px 1fr; gap:1.25rem; align-items:center; padding:1.25rem; background:rgba(255,255,255,.8); border:1px solid var(--line); border-radius:22px; box-shadow:var(--shadow); }
.dashboard-owner-card img { width:150px; height:180px; object-fit:cover; border-radius:16px; }
.dashboard-owner-card h2 { margin:.2rem 0 .5rem; }
.dashboard-owner-card p { margin:0; }
.approval-banner { margin-bottom:1.5rem; padding:1rem 1.2rem; border-radius:14px; font-weight:700; }
.approval-banner.pending { color:#7b4a00; background:#ffe8b7; }
.approval-banner.declined { color:#7a2530; background:#f5d9dd; }
.status-approved { color:#315f4c; background:#d9eee5; }
.dog-profile-card { overflow:hidden; }
.dog-profile-photo,.customer-profile-photo,.content-thumbnail { display:block; width:100%; height:180px; margin-bottom:1rem; object-fit:cover; border-radius:12px; }
.customer-profile-photo { width:72px; height:72px; float:right; margin:0 0 .6rem 1rem; border-radius:50%; }
.profile-photo-form { align-content:start; }
.profile-photo-form img { width:180px; height:180px; object-fit:cover; border-radius:50%; }
.public-content-list { grid-template-columns:repeat(3,minmax(0,1fr)); margin:2rem 0; }
.team-intro { padding:4.5rem 0 1rem; background:linear-gradient(180deg,#fff7fa 0,#fff 100%); }
.team-intro-grid { display:grid; grid-template-columns:minmax(0,.85fr) minmax(440px,1.15fr); gap:4rem; align-items:center; }
.team-intro-copy { padding-left:clamp(0rem,4vw,4rem); }
.team-intro-copy h1 { max-width:700px; margin:.3rem 0 1rem; }
.team-intro-copy .lede { margin:0; }
.team-owner-section { min-width:0; }
.team-owner-section > .eyebrow { display:block; margin-bottom:.65rem; }
.team-owner-card { display:grid; grid-template-columns:140px minmax(0,1fr); column-gap:1.25rem; align-items:center; border-top:3px solid var(--forest) !important; }
.team-owner-card img,.team-owner-card .team-photo-placeholder { grid-row:1 / span 4; width:140px; height:140px; aspect-ratio:1; margin:0; font-size:3rem; }
.team-owner-card h2 { font-size:1.5rem; margin-bottom:.35rem; }
.team-owner-card p { white-space:pre-line; overflow-wrap:anywhere; margin-bottom:.75rem; }
.team-owner-card .owner-card-controls { grid-column:1 / -1; }
.team-scroll-cue { display:flex; width:max-content; margin:2.75rem auto 0; flex-direction:column; align-items:center; gap:.15rem; color:var(--forest); font-size:.78rem; font-weight:800; letter-spacing:.08em; text-decoration:none; text-transform:uppercase; }
.team-scroll-arrow { display:grid; width:46px; height:46px; place-items:center; color:white; background:var(--forest); border-radius:50%; font-size:1.55rem; line-height:1; box-shadow:0 10px 24px rgba(168,61,112,.22); transition:transform .2s,background .2s; }
.team-scroll-cue:hover .team-scroll-arrow,.team-scroll-cue:focus-visible .team-scroll-arrow { background:var(--forest-dark); transform:translateY(4px); }
.team-assistants { scroll-margin-top:90px; }
.team-members-heading { margin-bottom:1.5rem; }
.team-members-heading h2 { margin:.25rem 0 0; font-size:clamp(2.1rem,4vw,3.5rem); }
.team-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.5rem; }
.team-card { padding:1.25rem; background:var(--paper); border:1px solid var(--line); border-radius:20px; box-shadow:var(--shadow); }
.team-card img,.team-photo-placeholder { width:100%; aspect-ratio:4/5; object-fit:cover; margin-bottom:1.25rem; border-radius:15px; }
.team-photo-placeholder { display:grid; place-items:center; color:white; background:var(--forest); font-family:'Fraunces',serif; font-size:5rem; }
.owner-team-layout { grid-template-columns:minmax(280px,.7fr) minmax(0,1.3fr); }
.owner-team-preview { grid-template-columns:repeat(2,minmax(0,1fr)); }
.owner-team-card { align-self:start; }
.owner-team-card .link-button { margin-top:.75rem; }
.owner-inline-controls { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:1rem; margin-bottom:1rem; padding:.75rem 1rem; background:#fff7fa; border:1px dashed #d99ab7; border-radius:12px; }
.owner-inline-controls::before { content:'Owner editing'; margin-right:auto; color:var(--muted); font-size:.72rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.owner-inline-controls[data-message]::after { content:attr(data-message); color:var(--forest); font-size:.75rem; font-weight:700; }
.owner-inline-edit { padding:.2rem 0; color:var(--forest); background:transparent; border:0; font:inherit; font-size:.82rem; font-weight:800; text-decoration:underline; text-underline-offset:4px; cursor:pointer; }
.owner-inline-edit:hover,.owner-inline-edit:focus-visible { color:#a8325d; }
.owner-inline-edit.danger { color:#a8325d; }
.owner-card-controls { display:flex; flex-wrap:wrap; gap:1rem; margin-top:1rem; padding-top:.85rem; border-top:1px solid var(--line); }
.owner-team-toolbar { grid-column:1 / -1; margin:0; }
.owner-service-toolbar { margin:0 0 .5rem; }
.owner-service-inactive { opacity:.78; background:#f8f3f5; }
.owner-service-inactive .status-badge { margin:.35rem 0; }
.owner-service-controls { grid-column:2 / -1; margin-top:0; }
.owner-edit-dialog { width:min(820px,calc(100% - 2rem)); max-height:90vh; padding:0; overflow:auto; background:var(--paper); border:1px solid var(--line); border-radius:22px; box-shadow:0 30px 90px rgba(77,38,61,.25); }
.owner-edit-dialog::backdrop { background:rgba(50,25,39,.55); backdrop-filter:blur(3px); }
.owner-inline-form { border:0; box-shadow:none; }
.owner-dialog-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; }
.owner-dialog-heading h2 { margin:.15rem 0 0; }
.owner-dialog-close { width:38px; height:38px; flex:0 0 auto; color:var(--forest); background:#fff0f6; border:0; border-radius:50%; font-size:1.5rem; cursor:pointer; }
.owner-dialog-actions { display:flex; align-items:center; gap:1rem; }
.owner-dialog-actions .form-status { margin:0; flex:1; }

@media (max-width:900px){.dashboard-owner-intro,.dashboard-owner-card,.owner-team-layout,.team-intro-grid { grid-template-columns:1fr; }.dashboard-owner-card img { width:100%; height:300px; }.team-intro-grid { gap:2.5rem; }.team-intro-copy { padding-left:0; }.public-content-list,.team-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }}
@media (max-width:600px){.team-grid,.owner-team-preview { grid-template-columns:1fr; }}
@media (max-width:600px){.team-intro { padding-top:3rem; }.team-owner-card { grid-template-columns:92px minmax(0,1fr); column-gap:1rem; }.team-owner-card img,.team-owner-card .team-photo-placeholder { width:92px; height:92px; font-size:2.25rem; }.team-scroll-cue { margin-top:2rem; }}
@media (max-width:600px){.home-owner-contact { grid-template-columns:1fr; }}
@media (max-width:600px){.owner-inline-controls { align-items:flex-start; flex-direction:column; }.owner-inline-controls::before { margin-right:0; }.owner-dialog-actions { align-items:stretch; flex-direction:column; }.owner-dialog-actions .button { width:100%; }}
@media (max-width:600px){.owner-service-controls { grid-column:1 / -1; }}

/* Compact customer profile */
.customer-profile-page { min-height:calc(100vh - 90px); background:linear-gradient(180deg,#fff7fa 0,#fff 360px); }
.customer-profile-shell { max-width:1180px; }
.customer-profile-summary { display:grid; grid-template-columns:auto 1fr auto; gap:1.5rem; align-items:center; margin-bottom:1.5rem; padding:1.5rem; background:rgba(255,255,255,.9); border:1px solid var(--line); border-radius:24px; box-shadow:var(--shadow); }
.customer-profile-summary h1 { margin:.15rem 0 .25rem; font-size:clamp(2.2rem,5vw,3.8rem); }
.customer-profile-summary p { margin:0; color:var(--muted); }
.customer-profile-avatar { display:grid; width:100px; height:100px; place-items:center; overflow:hidden; color:white; background:linear-gradient(145deg,var(--forest),#b43b70); border:5px solid #fff; border-radius:50%; box-shadow:0 8px 28px rgba(77,38,61,.2); font-family:'Fraunces',serif; font-size:2.7rem; }
.customer-profile-avatar img { width:100%; height:100%; object-fit:cover; }
.customer-profile-layout { display:grid; min-width:0; grid-template-columns:minmax(260px,.7fr) minmax(0,1.5fr); gap:1.5rem; align-items:start; }
.profile-settings-menu { display:grid; overflow:hidden; background:var(--paper); border:1px solid var(--line); border-radius:20px; box-shadow:var(--shadow); }
.profile-setting-button { display:flex; align-items:center; justify-content:space-between; gap:1rem; width:100%; padding:1.1rem 1.2rem; color:var(--forest); background:transparent; border:0; border-bottom:1px solid var(--line); text-align:left; cursor:pointer; }
.profile-setting-button:last-child { border-bottom:0; }
.profile-setting-button:hover,.profile-setting-button:focus-visible,.profile-setting-button.active { background:#fff0f6; }
.profile-setting-button.active { box-shadow:inset 4px 0 #b43b70; }
.profile-setting-button strong,.profile-setting-button small { display:block; }
.profile-setting-button small { margin-top:.2rem; color:var(--muted); line-height:1.35; }
.profile-setting-button > span:last-child { color:#b43b70; font-size:1.8rem; line-height:1; }
.profile-panel,.profile-panel-area { min-width:0; }
.profile-panel { min-height:520px; padding:2rem; background:var(--paper); border:1px solid var(--line); border-radius:22px; box-shadow:var(--shadow); }
.profile-panel[hidden] { display:none !important; }
.profile-panel-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; margin-bottom:1.75rem; padding-bottom:1.25rem; border-bottom:1px solid var(--line); }
.profile-panel-heading h2 { margin:.2rem 0 .35rem; }
.profile-panel-heading p { margin:0; color:var(--muted); }
.profile-overview-grid,.dog-card-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.profile-overview-booking { margin-top:2rem; }
.profile-subheading { margin-top:2rem; }
.profile-inner-form { margin-top:1.5rem; box-shadow:none; }
.profile-inner-form[hidden] { display:none !important; }

.owner-profile-shell { max-width:1440px; }
.owner-profile-avatar { font-size:1.25rem; letter-spacing:.04em; }
.owner-profile-layout { grid-template-columns:minmax(220px,.4fr) minmax(0,1.85fr); }
.owner-hourly-calendar { min-width:0; width:100%; border:1px solid var(--line); border-radius:14px; overflow:hidden; }
.hourly-header,.hourly-body { display:grid; grid-template-columns:52px repeat(var(--day-count),minmax(0,1fr)); }
.hourly-header { background:#fff0f6; }
.hourly-header button { min-width:0; padding:16px 5px; border:0; border-left:1px solid var(--line); background:#fff7fb; color:#b52d70; font-size:16px; font-weight:800; line-height:1.4; cursor:pointer; }
.hourly-header button:nth-child(odd) { background:#f8e3ee; }
.hourly-header button:hover, .hourly-header button:focus-visible { background:#f1cadf; color:#842052; }
.hourly-scroll { max-height:640px; overflow-y:auto; }
.hourly-body { height:1536px; }
.hourly-axis { display:grid; grid-template-rows:repeat(24,64px); font-size:10px; color:var(--muted); }
.hourly-axis span { padding:3px; }
.hourly-day { position:relative; min-width:0; border-left:1px solid var(--line); background:#fffafd repeating-linear-gradient(to bottom,transparent 0,transparent 63px,var(--line) 63px,var(--line) 64px); }
.hourly-day:nth-child(odd) { background-color:#f8eaf2; }
.hourly-event,.hourly-block { position:absolute; left:2px; right:2px; overflow:auto; border-radius:5px; padding:3px; font-size:11px; line-height:1.2; overflow-wrap:anywhere; }
.hourly-event { background:color-mix(in srgb,var(--booking-color) 25%,white); color:var(--ink); border:1px solid var(--booking-color); text-align:left; cursor:pointer; z-index:1; }
.hourly-block { background:#fff0d9; color:#6a4b22; }
@media(max-width:720px){ .owner-profile-page .profile-panel { padding:.75rem; } .hourly-header,.hourly-body { grid-template-columns:42px repeat(var(--day-count),minmax(0,1fr)); } .hourly-event { font-size:12px; } }
.owner-wide-panel { min-width:0; }
.owner-stat-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.owner-stat-card { display:flex; min-height:130px; padding:1.25rem; flex-direction:column; align-items:flex-start; justify-content:center; color:var(--forest); background:linear-gradient(145deg,#fff7fa,#fff); border:1px solid var(--line); border-radius:18px; cursor:pointer; text-align:left; }
.owner-stat-card:hover,.owner-stat-card:focus-visible { border-color:#d77ba4; box-shadow:0 10px 30px rgba(87,39,67,.1); transform:translateY(-2px); }
.owner-stat-card strong { font-family:'Fraunces',serif; font-size:2.4rem; line-height:1; }
.owner-stat-card span { margin-top:.5rem; color:var(--muted); font-weight:700; }
.owner-quick-links { display:grid; gap:.75rem; }
.owner-quick-links a { display:flex; align-items:center; justify-content:space-between; padding:1rem 1.1rem; color:var(--forest); background:#fff7fa; border:1px solid var(--line); border-radius:14px; font-weight:800; text-decoration:none; }
.owner-quick-links a:hover,.owner-quick-links a:focus-visible { color:#a8325d; border-color:#d77ba4; }
.owner-history-summary { display:flex; flex-wrap:wrap; gap:.75rem; margin-bottom:1.25rem; }
.owner-history-summary span { padding:.75rem 1rem; color:var(--muted); background:#fff7fa; border:1px solid var(--line); border-radius:999px; }
.owner-history-summary strong { color:var(--forest); }
.owner-profile-page .owner-availability-tools { margin:0; padding-top:0; border-top:0; }
.owner-profile-page .owner-booking-tools { margin-bottom:2rem; }
.owner-profile-page .owner-booking-tools > *,
.owner-profile-page .owner-availability-tools > *,
.owner-profile-page .owner-customer-tools > * { width:100%; min-width:0; }
.owner-profile-page .owner-customer-tools { grid-template-columns:minmax(0,1fr); gap:2rem; }
.owner-profile-page .owner-booking-tools .profile-inner-form,
.owner-profile-page .owner-availability-tools .profile-inner-form,
.owner-profile-page .owner-customer-tools .profile-inner-form { margin-top:0; }

@media (max-width:850px){
  .customer-profile-summary { grid-template-columns:auto 1fr; }
  .customer-profile-summary .button { grid-column:1 / -1; width:100%; text-align:center; }
  .customer-profile-layout { grid-template-columns:1fr; }
  .profile-settings-menu { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .profile-setting-button { border-right:1px solid var(--line); }
  .owner-profile-layout { grid-template-columns:1fr; }
}
@media (max-width:600px){
  .customer-profile-summary { grid-template-columns:1fr; text-align:center; }
  .customer-profile-avatar { margin:auto; }
  .profile-settings-menu,.profile-overview-grid,.dog-card-grid { grid-template-columns:1fr; }
  .profile-panel { min-height:0; padding:1.25rem; }
  .profile-panel-heading { flex-direction:column; }
  .owner-stat-grid { grid-template-columns:1fr; }
}

@media (max-width:720px){
  .owner-profile-page .owner-profile-shell { width:min(calc(100% - 1.5rem),1440px); }
  .owner-profile-page .owner-profile-layout,
  .owner-profile-page .profile-panel-area,
  .owner-profile-page .profile-settings-menu,
  .owner-profile-page .profile-panel,
  .owner-profile-page .owner-calendar-panel,
  .owner-profile-page .panel-form,
  .owner-profile-page .mini-card,
  .owner-profile-page .appointment-card,
  .owner-profile-page .owner-stat-card,
  .owner-profile-page .owner-quick-links a { width:100%; max-width:100%; min-width:0; }
  .owner-profile-page .profile-panel { padding:.5rem; border-radius:18px; }
  .owner-profile-page .profile-panel-heading { padding:.75rem .5rem 1rem; }
  .owner-profile-page .owner-calendar-panel { padding:.65rem; overflow:hidden; border-radius:16px; }
  .owner-profile-page .owner-view-switch { width:100%; }
  .owner-profile-page .owner-view-switch .calendar-view-button { width:auto; min-width:0; flex:1; }
  .owner-profile-page .owner-calendar-toolbar { display:grid; grid-template-columns:38px minmax(0,1fr) 38px; gap:.45rem; }
  .owner-profile-page .owner-calendar-toolbar h3 { min-width:0; margin:0; overflow-wrap:anywhere; font-size:clamp(1.25rem,6vw,1.65rem); }
  .owner-profile-page .calendar-nav-button { width:38px; height:38px; }
  .owner-profile-page .booking-legend { gap:.35rem .65rem; margin-bottom:.65rem; }
  .owner-profile-page .legend-item { min-width:0; font-size:.62rem; overflow-wrap:anywhere; }
  .owner-profile-page .owner-month-calendar { width:100%; min-width:0; grid-template-columns:repeat(7,minmax(0,1fr)); }
  .owner-profile-page .calendar-weekday { min-width:0; padding:.45rem .05rem; overflow:hidden; font-size:.52rem; }
  .owner-profile-page .owner-calendar-day { min-width:0; min-height:82px; padding:.28rem; overflow:hidden; }
  .owner-profile-page .calendar-day-number { margin-bottom:.2rem; font-size:.65rem; }
  .owner-profile-page .owner-calendar-day.is-today .calendar-day-number { width:23px; height:23px; }
  .owner-profile-page .owner-calendar-today-label { margin-bottom:.2rem; font-size:.47rem; letter-spacing:.02em; }
  .owner-profile-page .owner-calendar-event,
  .owner-profile-page .owner-calendar-block { width:100%; max-width:100%; margin-bottom:.2rem; padding:.22rem .18rem; overflow:hidden; border-left-width:3px; font-size:.54rem; line-height:1.2; overflow-wrap:anywhere; white-space:normal; }
  .owner-profile-page .panel-form { padding:1rem; }
  .owner-profile-page .panel-form > label { display:grid; width:100%; min-width:0; gap:.42rem; }
  .owner-profile-page .panel-form > label > input,
  .owner-profile-page .panel-form > label > select,
  .owner-profile-page .panel-form > label > textarea,
  .owner-profile-page .field > input,
  .owner-profile-page .field > select,
  .owner-profile-page .field > textarea { display:block; width:100%; max-width:none; min-width:0; }
  .owner-profile-page .panel-form > .button { width:100%; }
  .owner-profile-page #owner-working-hours-panel { padding:1rem; }
  .owner-profile-page #owner-working-hours-panel > .panel-form { padding:0; background:transparent; border:0; border-radius:0; box-shadow:none; }
  .owner-profile-page .form-grid { width:100%; min-width:0; }
  .owner-profile-page .appointment-card { padding:1rem; }
}

/* Emergency requests remain distinct from regular bookings. */
.calendar-emergency-note { margin: 0 0 1.25rem; padding: 1rem; border-radius: 12px; color: #714615; background: #fff3da; }
.schedule-legend .emergency { background: #bd7b21; }
.timeline-slot.emergency, .week-taken-time.emergency { color: #714615; background: #fff3da; border-color: #dfb777; }
.timeline-slot.emergency:hover, .timeline-slot.emergency:focus-visible { background: #714615; color: white; outline-color: #714615; }
[data-owner-panel-name="schedule"] > .owner-calendar-panel { margin-bottom: 2rem; }

/* Assistant account management */
.assistant-day { display:flex; align-items:center; gap:1rem; flex-wrap:wrap; padding:.7rem 0; border-bottom:1px solid #eadde1; }
.assistant-day > label:first-child { min-width:145px; }
.assistant-day input[type="checkbox"] { width:auto; }
.assistant-day.is-overnight { min-height:58px; }
.assistant-day.is-overnight > label:first-child { min-width:0; font-size:1rem; }
.assistant-avatar { width:80px; height:80px; object-fit:cover; border-radius:50%; }
.assistant-sitters { display:flex; flex-wrap:wrap; gap:1rem; margin:1rem 0; }
.assistant-sitter { display:flex; align-items:center; gap:.5rem; padding:.6rem; border:1px solid #eadde1; border-radius:12px; }
.assistant-sitter input { width:auto; }
.assistant-sitter img { width:44px; height:44px; object-fit:cover; border-radius:50%; }
#assistant-workspace { display:grid; grid-template-columns:minmax(0,1fr); gap:1.5rem; }
.assistant-availability-stack { display:grid; grid-template-columns:minmax(0,1fr); gap:2rem; }
.availability-editor > h2 { margin-bottom:.35rem; }
.availability-editor > h3:first-of-type { margin-top:0; }
.availability-subsection + .availability-subsection { margin-top:2rem; padding-top:2rem; border-top:1px solid var(--line); }
#owner-assistant-list,#owner-assistant-list .profile-panel,#owner-assistant-list details { min-width:0; }
#owner-assistant-list details { margin-top:1rem; }
#assistant-workspace[hidden], .assistant-avatar[hidden] { display:none !important; }
#assistant-workspace .profile-panel, #owner-assistant-list .profile-panel { min-height:0; }
.assistant-weekly { margin-bottom:2rem; }

.assistant-calendar-shell { min-width:0; margin-top:1rem; padding-top:1rem; border-top:1px solid var(--line); }
.assistant-calendar-toolbar { display:grid; grid-template-columns:42px 1fr 42px; align-items:center; gap:.75rem; margin-bottom:.75rem; }
.assistant-calendar-toolbar > div { text-align:center; }
.assistant-calendar-toolbar h4 { margin:.15rem 0 0; }
.assistant-calendar-legend { display:flex; flex-wrap:wrap; gap:.8rem; margin-bottom:.75rem; color:var(--muted); font-size:.78rem; font-weight:700; }
.assistant-calendar-legend span { display:flex; align-items:center; gap:.35rem; }
.assistant-calendar-legend i { width:11px; height:11px; border-radius:3px; }
.assistant-calendar-legend .is-available { background:#ccebd9; border:1px solid #4a9b6c; }
.assistant-calendar-legend .is-taken { background:#f4cade; border:1px solid #b43b70; }
.assistant-calendar-legend .is-blocked { background:#ffe1b5; border:1px solid #c27623; }
.assistant-calendar-grid { min-width:690px; border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.assistant-calendar-header,.assistant-calendar-body { display:grid; grid-template-columns:48px repeat(7,minmax(82px,1fr)); }
.assistant-calendar-header { background:#fff0f6; }
.assistant-calendar-day-heading { padding:.7rem .25rem; border-left:1px solid var(--line); color:#a8325d; text-align:center; font-size:.72rem; font-weight:800; }
.assistant-calendar-scroll { max-height:520px; overflow-y:auto; }
.assistant-calendar-body { height:1152px; }
.assistant-calendar-axis { display:grid; grid-template-rows:repeat(24,48px); color:var(--muted); font-size:9px; }
.assistant-calendar-axis span { padding:2px; }
.assistant-calendar-day { position:relative; min-width:0; border-left:1px solid var(--line); background:#fffafd repeating-linear-gradient(to bottom,transparent 0,transparent 47px,var(--line) 47px,var(--line) 48px); }
.assistant-calendar-day:nth-child(odd) { background-color:#fdf2f7; }
.assistant-calendar-segment { position:absolute; left:2px; right:2px; min-height:14px; overflow:hidden; padding:2px 3px; border-radius:4px; font-size:9px; font-weight:800; line-height:1.15; overflow-wrap:anywhere; }
.assistant-calendar-segment.is-available { z-index:1; color:#185739; background:rgba(204,235,217,.82); border:1px solid #4a9b6c; }
.assistant-calendar-segment.is-taken { z-index:3; color:#702044; background:#f4cade; border:1px solid #b43b70; }
.assistant-calendar-segment.is-blocked { z-index:2; color:#704414; background:#ffe1b5; border:1px solid #c27623; }
#owner-assistant-list details > div { overflow-x:auto; }

.assistant-intervals { display:flex; flex-direction:column; gap:.6rem; }
.assistant-interval { display:flex; align-items:center; gap:1rem; flex-wrap:wrap; }
