:root {
  color-scheme: light;
  --ink: #18231f;
  --muted: #5d6a63;
  --line: #dce4dd;
  --paper: #fbfbf7;
  --panel: #ffffff;
  --sage: #3f6d57;
  --sage-dark: #254b3b;
  --sky: #d8edf2;
  --clay: #c06f45;
  --gold: #f4c76a;
  --danger: #9a3412;
  --shadow: 0 24px 70px rgba(24, 35, 31, 0.16);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
  overscroll-behavior-y: none;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  -webkit-tap-highlight-color: rgba(63, 109, 87, 0.18);
}

.is-standalone body {
  min-height: 100dvh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
a,
input,
select,
textarea,
summary {
  touch-action: manipulation;
}

.site-header {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: #fff;
  background: linear-gradient(180deg, rgba(11, 22, 18, 0.74), rgba(11, 22, 18, 0));
}

.site-header.solid {
  position: sticky;
  background: var(--sage-dark);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: #f9f1df;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(8, 20, 16, 0.2);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: rgba(255, 255, 255, 0.78);
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-button {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

nav a:hover,
.nav-button:hover {
  text-decoration: underline;
}

.mobile-top-nav {
  display: none;
}

.mobile-more-sheet {
  display: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 112px clamp(18px, 5vw, 76px) 84px;
  overflow: hidden;
  color: #fff;
}

.hero picture,
.hero img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
  object-position: center 54%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 20, 16, 0.86), rgba(8, 20, 16, 0.52) 46%, rgba(8, 20, 16, 0.08)),
    linear-gradient(0deg, rgba(8, 20, 16, 0.46), rgba(8, 20, 16, 0.04) 42%);
}

.hero-content {
  position: relative;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.75rem, 7vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.02rem, 2vw, 1.25rem);
  line-height: 1.62;
}

.hero-actions,
.dashboard-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--sage);
  color: #fff;
  box-shadow: 0 14px 38px rgba(37, 75, 59, 0.24);
}

.hero .button.primary {
  background: var(--gold);
  color: #251f10;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--line);
  color: var(--sage-dark);
}

.button.secondary.danger {
  border-color: rgba(154, 52, 18, 0.28);
  color: var(--danger);
}

.button.small {
  min-height: 42px;
  padding-inline: 12px;
  font-size: 0.88rem;
}

.button.holiday {
  background: #c85d47;
  color: #fff;
  box-shadow: 0 14px 34px rgba(130, 45, 34, 0.24);
}

.wide {
  width: 100%;
}

.pwa-notice {
  position: fixed;
  z-index: 80;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(16px, calc(env(safe-area-inset-bottom, 0px) + 16px));
  width: min(420px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(24, 35, 31, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.pwa-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pwa-notice strong {
  display: block;
  margin-bottom: 3px;
  color: var(--sage-dark);
}

.pwa-notice p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.38;
}

.pwa-notice-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.pwa-notice-offline {
  border-color: rgba(154, 52, 18, 0.2);
}

.offline-page {
  min-height: 100dvh;
}

.offline-card {
  text-align: left;
}

.offline-logo {
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  border-color: rgba(63, 109, 87, 0.18);
}

.care-band,
.suite-band,
.gallery-section,
.staff-section,
.booking-section,
.portal-section,
.holiday-band {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 76px);
}

.care-band {
  background:
    linear-gradient(180deg, rgba(216, 237, 242, 0.88), rgba(216, 237, 242, 0.98)),
    #d8edf2;
}

.suite-band {
  background: #fbfbf7;
}

.suite-band .section-heading p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.65;
}

.suite-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: 18px;
  align-items: stretch;
}

.rate-panel,
.suite-feature-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 34px rgba(24, 35, 31, 0.08);
}

.rate-panel {
  display: grid;
  align-content: start;
  padding: clamp(24px, 4vw, 34px);
  background: var(--sage-dark);
  color: #fff;
}

.rate-panel h3 {
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  line-height: 0.95;
}

.rate-panel p,
.rate-panel li {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.6;
}

.rate-panel ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
}

.rate-panel li {
  font-weight: 800;
}

.suite-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.suite-feature-list article {
  padding: 24px;
}

.suite-feature-list p {
  color: var(--muted);
  line-height: 1.6;
}

.holiday-band {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 28px;
  align-items: center;
  background: #fff7e3;
  border-block: 1px solid #ead4a2;
}

.holiday-band h2 {
  max-width: 800px;
}

.holiday-band p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.65;
}

.holiday-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.care-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(340px, 1.22fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  margin-bottom: 28px;
}

.care-intro .section-heading {
  margin-bottom: 0;
}

.care-illustration {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(63, 109, 87, 0.2);
  border-radius: 8px;
  box-shadow: 0 18px 52px rgba(24, 35, 31, 0.16);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid article,
.portal-panel,
.login-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 34px rgba(24, 35, 31, 0.08);
}

.feature-grid article {
  padding: 26px;
}

.feature-grid p,
.booking-copy p,
.portal-section p,
.request-card p {
  color: var(--muted);
  line-height: 1.6;
}

.icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #f7efe0;
  color: var(--clay);
  font-weight: 900;
}

.booking-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.booking-copy {
  position: sticky;
  top: 96px;
}

.trust-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.trust-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.booking-form,
.dashboard {
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--sage-dark);
  font-size: 0.88rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cbd8cf;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: max(1rem, 16px);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(63, 109, 87, 0.18);
  border-color: var(--sage);
}

input[readonly] {
  background: #f5f7f4;
  color: var(--muted);
  cursor: not-allowed;
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--sage-dark);
  font-weight: 700;
  line-height: 1.45;
}

.form-status.error {
  color: var(--danger);
}

.account-choice-status {
  display: grid;
  gap: 10px;
}

.account-choice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.session-note {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(63, 109, 87, 0.28);
  border-radius: 8px;
  background: #eef7f1;
  color: var(--sage-dark);
  font-weight: 800;
  line-height: 1.45;
}

.portal-section {
  background: #eef1ed;
}

.customer-account-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
  padding: 22px;
  border: 1px solid rgba(63, 109, 87, 0.22);
  border-radius: 8px;
  background: #fff;
}

.customer-account-bar h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.portal-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.portal-panel,
.login-card {
  padding: 26px;
}

.panel-note {
  margin: 0 0 14px;
  color: var(--muted);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 5vw, 76px);
  color: #fff;
  background: var(--sage-dark);
}

.holiday-hero {
  min-height: 74vh;
  display: grid;
  align-items: end;
  padding: 150px clamp(18px, 5vw, 76px) 70px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(23, 39, 34, 0.9), rgba(23, 39, 34, 0.46)),
    url("assets/dog-yard-hero.png") center 42% / cover;
}

.holiday-hero-content {
  width: min(780px, 100%);
}

.gallery-hero {
  min-height: 74vh;
  display: grid;
  align-items: end;
  padding: 150px clamp(18px, 5vw, 76px) 70px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(23, 39, 34, 0.9), rgba(23, 39, 34, 0.48) 48%, rgba(23, 39, 34, 0.14)),
    url("assets/property-gallery-02.jpg") center 45% / cover;
}

.gallery-hero-content {
  width: min(780px, 100%);
}

.staff-hero {
  padding: 132px clamp(18px, 5vw, 76px) 68px;
  background:
    linear-gradient(90deg, rgba(37, 75, 59, 0.94), rgba(37, 75, 59, 0.68)),
    url("assets/woof-creek-cabin-cover-cropped.jpg") center 42% / cover;
  color: #fff;
}

.staff-hero .section-heading {
  margin-bottom: 0;
}

.staff-hero .eyebrow {
  color: var(--gold);
}

.staff-section {
  background: #fff;
}

.staff-section .section-heading p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.65;
}

.staff-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.staff-profile-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(24, 35, 31, 0.08);
}

.staff-profile-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.staff-profile-card div {
  padding: 22px;
}

.staff-profile-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.staff-profile-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.gallery-section {
  background: #fff;
}

.gallery-section .section-heading p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.65;
}

.property-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.property-gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(24, 35, 31, 0.08);
}

.property-gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.property-gallery-grid figcaption {
  padding: 14px 16px;
  color: var(--sage-dark);
  font-size: 0.92rem;
  font-weight: 900;
}

.holiday-detail {
  background: #fff;
}

.holiday-feature-grid {
  grid-template-columns: 1fr;
}

.dashboard-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(37, 75, 59, 0.1), rgba(37, 75, 59, 0) 220px),
    linear-gradient(135deg, #edf7f1, #f8f1e4 48%, #e8f5f8);
}

.dashboard-brand-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 44px);
  color: #fff;
  background: var(--sage-dark);
  box-shadow: 0 12px 34px rgba(24, 35, 31, 0.14);
}

.dashboard-brand-header .brand-logo {
  width: 48px;
  height: 48px;
}

.dashboard-brand-header .brand small {
  color: rgba(255, 255, 255, 0.76);
}

.dashboard-brand-header nav {
  gap: 18px;
}

.dashboard-brand-header a,
.dashboard-brand-header .nav-button {
  color: #fff;
}

.dashboard-brand-header [data-ops-panel-link] {
  border-radius: 8px;
  padding: 9px 10px;
}

.dashboard-brand-header [data-ops-panel-link].is-active {
  background: rgba(255, 255, 255, 0.14);
  text-decoration: none;
}

.dashboard-shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 48px;
}

.login-card {
  width: min(460px, 100%);
  margin: 12vh auto 0;
}

.login-card h1 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 7vw, 3.55rem);
  line-height: 1.03;
}

.dashboard-top {
  justify-content: space-between;
  margin-bottom: 22px;
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--sage-dark);
  font-weight: 800;
}

.back-link:hover {
  text-decoration: underline;
}

.dashboard-top h1 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.ops-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.ops-sidebar {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 18px;
  align-content: start;
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
}

.ops-sidebar h1 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1.05;
}

.ops-menu {
  display: grid;
  gap: 10px;
  font-size: 0.94rem;
}

.ops-menu-group {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(63, 109, 87, 0.14);
  border-radius: 8px;
  background: #fff;
}

.ops-menu-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 11px 12px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.ops-menu-group summary::-webkit-details-marker {
  display: none;
}

.ops-menu-group summary::after {
  content: "+";
  color: var(--sage-dark);
  font-size: 1rem;
  line-height: 1;
}

.ops-menu-group[open] summary::after {
  content: "-";
}

.ops-menu-items {
  display: grid;
  gap: 4px;
  padding: 0 8px 8px;
}

.ops-menu a {
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--sage-dark);
  font-weight: 900;
}

.ops-menu a:hover,
.ops-menu a.is-active {
  background: var(--sage);
  color: #fff;
  text-decoration: none;
}

.ops-panel-select-label {
  display: none;
}

.ops-workspace {
  min-width: 0;
}

.ops-panel {
  display: none;
}

.ops-panel.is-active {
  display: block;
}

.ops-command-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.ops-command {
  display: grid;
  align-content: start;
  gap: 3px;
  min-width: 0;
  min-height: 74px;
  padding: 12px 14px;
  border-left: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

.ops-command:first-child {
  border-left: 0;
}

.ops-command:hover,
.ops-command:focus-visible,
.ops-command.is-active {
  background: #f2f7f4;
  color: var(--sage-dark);
  text-decoration: none;
}

.ops-command.is-primary {
  background: #edf5f0;
}

.ops-command span,
.ops-command b,
.ops-command small {
  display: block;
  min-width: 0;
}

.ops-command b {
  color: var(--sage-dark);
  font-size: 0.78rem;
  line-height: 1.15;
}

.ops-command small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.15;
}

.occupancy-summary-card {
  display: grid;
  gap: 12px;
  margin: -4px 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fbfcf8;
}

.occupancy-summary-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.occupancy-summary-card .eyebrow {
  margin: 0 0 5px;
}

.occupancy-summary-counts {
  margin: 0;
}

.occupancy-summary-card strong,
.occupancy-summary-card span {
  display: inline-block;
  margin-right: 12px;
}

.occupancy-summary-card strong {
  color: var(--sage-dark);
}

.occupancy-summary-card span {
  color: var(--muted);
  font-weight: 800;
}

.occupancy-room-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 8px;
}

.occupancy-room-item {
  appearance: none;
  display: grid;
  gap: 3px;
  width: 100%;
  border: 1px solid rgba(24, 35, 31, 0.1);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.occupancy-room-item:hover,
.occupancy-room-item:focus-visible {
  border-color: rgba(47, 92, 72, 0.34);
  box-shadow: 0 10px 26px rgba(24, 35, 31, 0.1);
  transform: translateY(-1px);
}

.occupancy-room-item strong,
.occupancy-room-item span {
  display: block;
  margin: 0;
}

.occupancy-room-item strong {
  color: var(--ink);
  font-size: 0.88rem;
}

.occupancy-room-item span {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.25;
}

.occupancy-room-occupants {
  display: grid;
  gap: 4px;
  margin-top: 3px;
}

.occupancy-room-occupant {
  display: block;
  border-top: 1px solid rgba(24, 35, 31, 0.08);
  padding-top: 5px;
}

.occupancy-room-occupant b,
.occupancy-room-occupant small {
  display: block;
}

.occupancy-room-occupant b {
  color: var(--ink);
  font-size: 0.8rem;
  line-height: 1.18;
}

.occupancy-room-occupant small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.18;
}

.occupancy-room-item.is-available {
  background: #f4fbf8;
}

.occupancy-room-item.is-occupied {
  background: #fff7df;
}

.occupancy-room-item.is-overdue {
  background: #fde9df;
}

.room-schedule-panel {
  display: none;
}

.room-schedule-list {
  display: grid;
  gap: 16px;
}

.room-schedule-section {
  display: grid;
  gap: 10px;
}

.room-schedule-section .eyebrow {
  margin: 0;
}

.room-schedule-card {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
}

.room-schedule-card strong,
.room-schedule-card span {
  display: block;
}

.room-schedule-card span {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.room-schedule-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.room-schedule-meta span {
  border: 1px solid rgba(24, 35, 31, 0.1);
  border-radius: 999px;
  padding: 4px 8px;
  background: #fbfcf8;
  color: var(--sage-dark);
  font-size: 0.75rem;
  line-height: 1.1;
}

.ops-tabs {
  display: none;
}

.ops-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.ops-overview-grid a {
  border-radius: 8px;
  padding: 16px;
  background: #eef7f1;
  color: var(--sage-dark);
  font-weight: 900;
}

.overview-priority-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.overview-priority-card {
  margin-top: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.overview-priority-card .panel-heading {
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: #fbfcf8;
}

.overview-priority-card .empty-state {
  margin: 0;
  padding: 14px 16px;
}

.overview-compact-list {
  display: grid;
  gap: 0;
}

.overview-compact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.overview-compact-item:first-child {
  border-top: 0;
}

.overview-compact-item.has-inline-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.overview-compact-item div,
.overview-compact-item strong,
.overview-compact-item span {
  min-width: 0;
}

.overview-compact-item strong,
.overview-compact-item span {
  display: block;
}

.overview-compact-item span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.overview-compact-actions {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.overview-checkout-form {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(154, 52, 18, 0.16);
}

.overview-checkout-form label {
  margin: 0;
}

.overview-checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.overview-compact-item.is-due-today {
  border-color: rgba(188, 94, 43, 0.34);
  background: #fff8ef;
}

.overview-compact-item.is-overdue {
  border-color: rgba(154, 52, 18, 0.36);
  background: #fff2e8;
}

.overview-compact-item.is-overdue strong {
  color: var(--danger);
}

.overview-compact-item.is-overdue .button.primary {
  background: var(--clay);
  color: #fff;
  box-shadow: none;
}

.calendar-card {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.calendar-card h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.calendar-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.calendar-controls .button {
  min-width: 42px;
}

.calendar-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.calendar-header h3 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.calendar-header span {
  color: var(--muted);
  font-weight: 900;
}

.compact-calendar-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(220px, 0.9fr);
  gap: 16px;
  align-items: start;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.calendar-grid > strong {
  padding: 10px 8px;
  background: #eef7f1;
  color: var(--sage-dark);
  font-size: 0.78rem;
  text-align: center;
  text-transform: uppercase;
}

.calendar-day {
  min-height: 108px;
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 8px;
  background: #fff;
}

.calendar-day > span:not(.calendar-chip) {
  width: fit-content;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
}

.calendar-day.muted {
  background: #f6f7f3;
}

.calendar-day.muted > span:not(.calendar-chip) {
  color: #9aa49d;
}

.calendar-day.today > span:not(.calendar-chip) {
  display: grid;
  place-items: center;
  min-width: 28px;
  min-height: 28px;
  border-radius: 999px;
  background: var(--sage);
  color: #fff;
}

.calendar-day small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.calendar-chip {
  overflow: hidden;
  border-left: 3px solid var(--clay);
  border-radius: 6px;
  padding: 5px 6px;
  color: var(--sage-dark);
  background: #fff4df;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-chip.approved {
  border-left-color: var(--sage);
  background: #e9f7ef;
}

.calendar-chip.checked-in {
  border-left-color: #2f7d6f;
  background: #dff6f1;
}

.calendar-chip.reviewing,
.calendar-chip.new {
  border-left-color: var(--gold);
  background: #fff8df;
}

.calendar-grid.compact .calendar-day {
  min-height: 58px;
  gap: 3px;
  padding: 6px;
}

.calendar-grid.compact > strong {
  padding: 8px 4px;
  font-size: 0.68rem;
}

.calendar-grid.compact .calendar-chip {
  padding: 4px 5px;
  font-size: 0.66rem;
}

.calendar-grid.compact .calendar-day.today > span:not(.calendar-chip) {
  min-width: 24px;
  min-height: 24px;
}

.calendar-agenda {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.calendar-mobile-agenda {
  display: none;
}

.compact-calendar-layout .calendar-agenda {
  margin-top: 0;
}

.calendar-agenda h3 {
  margin-bottom: 2px;
}

.calendar-agenda-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
}

.calendar-agenda-item div,
.calendar-agenda-item strong,
.calendar-agenda-item span {
  min-width: 0;
}

.calendar-agenda-item strong,
.calendar-agenda-item span {
  display: block;
}

.calendar-agenda-item strong {
  color: var(--ink);
}

.calendar-agenda-item span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.calendar-agenda-item .status-pill {
  display: inline-block;
  margin-top: 6px;
  color: var(--sage-dark);
}

.status-pill.new,
.status-pill.reviewing {
  background: #fff3cd;
  color: #7a4d00;
}

.empty-state {
  margin: 0;
  padding: 14px;
  border: 1px dashed #cbd8cf;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.account-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.account-panel.full {
  margin-top: 18px;
}

.ops-panel.account-panel.full {
  margin-top: 0;
}

.document-form {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.account-panel h2 {
  margin-bottom: 18px;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

.report-card-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: 18px;
  margin-bottom: 18px;
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(135deg, rgba(216, 237, 242, 0.72), rgba(255, 247, 227, 0.84)),
    #fff;
}

.report-card-main {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(190px, 0.74fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 28px);
  align-items: center;
}

.report-card-main.is-multi-dog {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.report-dog-photo {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(63, 109, 87, 0.24);
  border-radius: 8px;
  background: #f8efe0;
  color: var(--sage-dark);
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 900;
}

.report-dog-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.report-dog-summary {
  min-width: 0;
}

.report-dog-roster {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.report-dog-roster-header h2 {
  margin: 0;
  font-size: 2.6rem;
  line-height: 1;
  overflow-wrap: anywhere;
}

.report-dog-roster-header .report-status-row {
  margin-bottom: 0;
}

.report-dog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.report-dog-card {
  display: grid;
  grid-template-columns: minmax(96px, 128px) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(63, 109, 87, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.report-dog-card-photo {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(63, 109, 87, 0.2);
  border-radius: 8px;
  background: #f8efe0;
  color: var(--sage-dark);
  font-size: 2rem;
  font-weight: 900;
}

.report-dog-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.report-dog-card-body {
  min-width: 0;
}

.report-dog-card-body h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.report-dog-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.report-dog-card .report-status-row {
  margin: 10px 0;
}

.report-mini-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.report-mini-stat-grid span {
  min-width: 0;
  padding: 9px;
  border: 1px solid rgba(63, 109, 87, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.report-mini-stat-grid strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.report-dog-summary h2,
.report-empty h2 {
  margin-bottom: 12px;
  font-size: clamp(2.15rem, 5vw, 4.2rem);
  line-height: 0.98;
}

.report-dog-summary p,
.report-empty p {
  color: var(--muted);
  line-height: 1.55;
}

.report-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.report-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.report-stat-grid span {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(63, 109, 87, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.report-stat-grid strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.report-card-side {
  display: grid;
  gap: 14px;
  align-content: start;
}

.report-card-panel {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(63, 109, 87, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.report-card-panel h2 {
  font-size: 1.15rem;
}

.report-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.report-photo-tile {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #f5f7f4;
}

.report-photo-tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.report-photo-tile span {
  position: absolute;
  right: 6px;
  top: 6px;
  left: 6px;
  overflow: hidden;
  border-radius: 6px;
  padding: 5px 7px;
  color: #fff;
  background: rgba(24, 35, 31, 0.72);
  font-size: 0.72rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-photo-tile strong {
  position: absolute;
  right: 6px;
  bottom: 6px;
  left: 6px;
  display: block;
  max-height: 3.2em;
  overflow: hidden;
  border-radius: 6px;
  padding: 6px 7px;
  color: #fff;
  background: rgba(24, 35, 31, 0.78);
  font-size: 0.78rem;
  line-height: 1.25;
}

.care-update-list {
  display: grid;
  gap: 10px;
}

.care-update-item {
  padding: 12px;
  border: 1px solid rgba(24, 35, 31, 0.09);
  border-radius: 8px;
  background: #fff;
}

.care-update-item strong,
.care-update-item span {
  display: block;
}

.care-update-item span {
  margin-top: 3px;
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.care-update-item p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.report-empty {
  max-width: 620px;
}

.customer-support-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.profile-details-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  list-style: none;
}

.profile-details-panel summary::-webkit-details-marker {
  display: none;
}

.profile-details-panel summary strong,
.profile-details-panel summary small {
  display: block;
}

.profile-details-panel summary small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.profile-details-panel form {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* Signed-in app surfaces. Public marketing pages keep the warmer site styling above. */
.dashboard-page {
  --app-bg: #f4f6f7;
  --app-surface: #ffffff;
  --app-surface-soft: #f8faf9;
  --app-border: #d8dee2;
  --app-ink: #15201c;
  --app-muted: #65716b;
  --app-accent: #2f6653;
  --app-accent-strong: #1f473b;
  --app-accent-soft: #e8f1ee;
  --app-warm: #b46834;
  --app-shadow: 0 12px 34px rgba(25, 36, 32, 0.08);
  --app-shadow-soft: 0 8px 22px rgba(25, 36, 32, 0.06);
  color: var(--app-ink);
  background:
    linear-gradient(180deg, #eaf0ed 0, rgba(234, 240, 237, 0) 300px),
    var(--app-bg);
}

.dashboard-page .dashboard-brand-header {
  border-bottom: 1px solid var(--app-border);
  color: var(--app-ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(25, 36, 32, 0.08);
  backdrop-filter: blur(14px);
}

.dashboard-page .dashboard-brand-header .brand-logo {
  width: 40px;
  height: 40px;
  border-color: var(--app-border);
  box-shadow: none;
}

.dashboard-page .dashboard-brand-header .brand small,
.dashboard-page .dashboard-brand-header a,
.dashboard-page .dashboard-brand-header .nav-button {
  color: var(--app-muted);
}

.dashboard-page .dashboard-brand-header .brand strong,
.dashboard-page .dashboard-brand-header a:hover,
.dashboard-page .dashboard-brand-header .nav-button:hover {
  color: var(--app-ink);
}

.dashboard-page .dashboard-brand-header [data-ops-panel-link].is-active {
  background: var(--app-accent-soft);
  color: var(--app-accent-strong);
}

.dashboard-page .dashboard-shell {
  width: min(1180px, calc(100% - 32px));
  padding: 26px 0 56px;
}

.dashboard-page .dashboard {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.dashboard-page .dashboard-top {
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  border: 1px solid var(--app-border);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--app-shadow-soft);
}

.dashboard-page .dashboard-top h1 {
  margin: 2px 0 0;
  color: var(--app-ink);
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  line-height: 1.05;
}

.dashboard-page .eyebrow {
  color: var(--app-warm);
  font-size: 0.72rem;
}

.dashboard-page .dashboard-actions {
  gap: 8px;
}

.dashboard-page .button {
  min-height: 42px;
  border-color: var(--app-border);
  border-radius: 8px;
  padding-inline: 14px;
  box-shadow: none;
  font-size: 0.92rem;
}

.dashboard-page .button.primary {
  border-color: var(--app-accent);
  background: var(--app-accent);
  color: #fff;
}

.dashboard-page .button.secondary {
  background: #fff;
  color: var(--app-accent-strong);
}

.dashboard-page .button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(25, 36, 32, 0.08);
}

.dashboard-page .account-panel,
.dashboard-page .calendar-card,
.dashboard-page .request-card,
.dashboard-page .login-card {
  border-color: var(--app-border);
  border-radius: 8px;
  background: var(--app-surface);
  box-shadow: var(--app-shadow-soft);
}

.dashboard-page .account-panel {
  padding: 18px;
}

.dashboard-page .report-card-panel h2,
.dashboard-page .panel-heading h2 {
  color: var(--app-ink);
  font-size: 1.15rem;
  line-height: 1.2;
}

.dashboard-page .report-card-hero {
  gap: 14px;
  border-color: var(--app-border);
  padding: 16px;
  background: var(--app-surface);
  box-shadow: var(--app-shadow);
}

.dashboard-page .report-card-main {
  align-items: start;
  gap: 18px;
}

.dashboard-page .report-dog-roster {
  gap: 12px;
}

.dashboard-page .report-dog-roster-header {
  display: grid;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--app-border);
}

.dashboard-page .report-dog-roster-header h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.45rem);
}

.dashboard-page .report-dog-roster-header .report-status-row {
  margin: 0;
}

.dashboard-page .report-dog-grid {
  gap: 10px;
}

.dashboard-page .report-dog-card {
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: start;
  border-color: var(--app-border);
  padding: 12px;
  background: var(--app-surface-soft);
  box-shadow: none;
}

.dashboard-page .report-dog-card-photo,
.dashboard-page .report-dog-photo {
  border-color: var(--app-border);
  background: #eef1ed;
  color: var(--app-accent-strong);
}

.dashboard-page .report-dog-card-photo {
  aspect-ratio: 1;
}

.dashboard-page .report-dog-card-body h3 {
  font-size: 1.2rem;
}

.dashboard-page .report-dog-card-body p,
.dashboard-page .report-dog-summary p,
.dashboard-page .report-empty p {
  color: var(--app-muted);
}

.dashboard-page .report-dog-card .report-status-row {
  margin: 9px 0;
}

.dashboard-page .report-mini-stat-grid span,
.dashboard-page .report-stat-grid span {
  border-color: var(--app-border);
  background: #fff;
  color: var(--app-muted);
}

.dashboard-page .report-mini-stat-grid strong,
.dashboard-page .report-stat-grid strong {
  color: var(--app-ink);
}

.dashboard-page .report-card-side {
  gap: 12px;
}

.dashboard-page .report-card-panel {
  border-color: var(--app-border);
  background: var(--app-surface-soft);
}

.dashboard-page .care-update-item,
.dashboard-page .overview-compact-item,
.dashboard-page .compact-pet-row,
.dashboard-page .checkin-summary-grid article,
.dashboard-page .ops-command,
.dashboard-page .occupancy-summary-card {
  border-color: var(--app-border);
  background: var(--app-surface);
}

.dashboard-page .ops-command:hover,
.dashboard-page .ops-command:focus-visible,
.dashboard-page .ops-command.is-active,
.dashboard-page .ops-command.is-primary {
  background: var(--app-surface-soft);
}

.dashboard-page .status-pill {
  background: var(--app-accent-soft);
  color: var(--app-accent-strong);
  font-size: 0.7rem;
}

.dashboard-page .status-pill.checked-in,
.dashboard-page .status-pill.active,
.dashboard-page .status-pill.ready-to-approve {
  background: #ddf3ec;
  color: #1f6659;
}

.dashboard-page .ops-layout {
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 18px;
}

.dashboard-page .ops-sidebar {
  border-color: var(--app-border);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--app-shadow-soft);
}

.dashboard-page .ops-menu-group {
  border-color: var(--app-border);
  background: var(--app-surface);
}

.dashboard-page .ops-menu-group summary {
  color: var(--app-muted);
}

.dashboard-page .ops-menu a {
  color: var(--app-muted);
}

.dashboard-page .ops-menu a:hover,
.dashboard-page .ops-menu a.is-active {
  background: var(--app-accent-soft);
  color: var(--app-accent-strong);
}

.dashboard-page label {
  color: var(--app-accent-strong);
}

.dashboard-page input,
.dashboard-page select,
.dashboard-page textarea {
  border-color: var(--app-border);
  background: #fff;
}

.dashboard-page input:focus,
.dashboard-page select:focus,
.dashboard-page textarea:focus {
  outline: 2px solid rgba(47, 102, 83, 0.18);
  border-color: var(--app-accent);
}

.staff-app-page {
  --app-bg: #f4f6f7;
  --app-surface: #ffffff;
  --app-surface-soft: #f8faf9;
  --app-border: #d8dee2;
  --app-accent: #2f6653;
  --app-accent-strong: #1f473b;
  --app-accent-soft: #e8f1ee;
  --app-warm: #965f36;
}

.customer-app-page {
  --app-bg: #f6f7f2;
  --app-surface: #ffffff;
  --app-surface-soft: #fbfcf8;
  --app-border: #d9e2da;
  --app-ink: #17231f;
  --app-muted: #68746d;
  --app-accent: #3b735d;
  --app-accent-strong: #244f40;
  --app-accent-soft: #e8f4ee;
  --app-warm: #bd6c35;
  --app-shadow: 0 16px 42px rgba(35, 54, 46, 0.1);
  --app-shadow-soft: 0 9px 24px rgba(35, 54, 46, 0.07);
  background:
    linear-gradient(180deg, #edf5ee 0, rgba(237, 245, 238, 0) 320px),
    var(--app-bg);
}

.customer-app-page .dashboard-shell {
  width: min(980px, calc(100% - 32px));
}

.customer-app-page .dashboard-top {
  align-items: center;
  border-color: rgba(59, 115, 93, 0.18);
  background:
    linear-gradient(135deg, rgba(232, 244, 238, 0.86), rgba(255, 255, 255, 0.96)),
    #fff;
}

.customer-app-page .dashboard-top h1 {
  font-size: clamp(1.9rem, 4vw, 2.65rem);
}

.customer-app-page .dashboard-actions .button.secondary {
  border-color: rgba(59, 115, 93, 0.18);
  background: rgba(255, 255, 255, 0.76);
}

.customer-app-page .report-card-hero {
  grid-template-columns: minmax(0, 1.22fr) minmax(260px, 0.78fr);
  border-color: rgba(59, 115, 93, 0.18);
  background:
    linear-gradient(135deg, rgba(239, 248, 243, 0.92), rgba(255, 255, 255, 0.98)),
    #fff;
}

.customer-app-page .report-dog-roster-header {
  border-bottom-color: rgba(59, 115, 93, 0.16);
}

.customer-app-page .report-dog-roster-header h2,
.customer-app-page .report-dog-summary h2 {
  color: #101b17;
}

.customer-app-page .report-dog-grid {
  grid-template-columns: 1fr;
}

.customer-app-page .report-dog-card {
  grid-template-columns: 118px minmax(0, 1fr);
  border-color: rgba(59, 115, 93, 0.18);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 8px 22px rgba(35, 54, 46, 0.06);
}

.customer-app-page .report-dog-card-photo {
  aspect-ratio: 4 / 3.6;
  background: #eef4ee;
}

.customer-app-page .report-mini-stat-grid span,
.customer-app-page .report-stat-grid span {
  border-color: rgba(59, 115, 93, 0.15);
}

.customer-app-page .report-card-panel {
  border-color: rgba(59, 115, 93, 0.16);
  background: rgba(255, 255, 255, 0.74);
}

.customer-app-page .care-update-item {
  border-color: rgba(59, 115, 93, 0.14);
}

.customer-app-page .care-update-item strong {
  color: var(--app-accent-strong);
}

.customer-app-page .customer-support-grid {
  grid-template-columns: minmax(0, 1fr);
}

.customer-app-page .pet-summary-panel,
.customer-app-page .profile-details-panel,
.customer-app-page #customerRequests {
  border-color: rgba(59, 115, 93, 0.16);
}

.customer-app-page .profile-details-panel {
  box-shadow: none;
}

.customer-app-page .status-pill.checked-in,
.customer-app-page .status-pill.active {
  background: #dff5ec;
  color: #19594c;
}

.customer-app-page .mobile-top-nav a,
.customer-app-page .mobile-top-nav button {
  color: var(--app-accent-strong);
}

.customer-app-page .mobile-top-nav .is-active {
  background: var(--app-accent);
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.panel-heading h2 {
  margin: 0;
}

.panel-heading > .eyebrow {
  margin-bottom: 0;
}

.staff-search-label {
  margin: 0 0 16px;
}

.staff-search-label input {
  min-height: 44px;
}

.reservation-queue-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -6px 0 14px;
}

.reservation-queue-filter button {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  background: #fbfcf8;
  color: var(--sage-dark);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.reservation-queue-filter button.is-active {
  border-color: rgba(63, 109, 87, 0.62);
  background: #e8f5eb;
  color: #276140;
}

.reservation-queue-filter span {
  min-width: 22px;
  border-radius: 999px;
  padding: 2px 7px;
  background: rgba(255, 255, 255, 0.72);
  color: inherit;
  font-size: 0.72rem;
  text-align: center;
}

.reservation-intake-section {
  margin-bottom: 16px;
}

.reservation-section-heading {
  margin-bottom: 10px;
}

.reservation-section-heading h3 {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 1.05rem;
}

.reservation-pending-section {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.reservation-pending-section[hidden] {
  display: none;
}

.reservation-entry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.reservation-entry-grid.single {
  grid-template-columns: minmax(0, 320px);
}

.reservation-entry-card {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 124px;
  border: 1px solid rgba(63, 109, 87, 0.2);
  border-radius: 8px;
  padding: 16px;
  background: #fbfcf8;
  color: var(--sage-dark);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.reservation-entry-card:hover,
.reservation-entry-card.is-active {
  transform: translateY(-1px);
  border-color: rgba(63, 109, 87, 0.56);
  background: #eef7f1;
  box-shadow: 0 12px 28px rgba(37, 75, 59, 0.12);
}

.reservation-entry-card strong,
.reservation-entry-card span,
.reservation-entry-card small {
  display: block;
  min-width: 0;
}

.reservation-entry-card strong {
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.1;
}

.reservation-entry-card span {
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.reservation-entry-card small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.manual-entry-card {
  min-height: 96px;
}

.reservation-flow-status {
  min-height: 1.2em;
  margin: 0 0 12px;
}

.compact-heading {
  align-items: flex-start;
}

.pet-summary-panel.has-customer-pets {
  align-content: start;
}

.pet-summary-panel.has-customer-pets .panel-heading {
  justify-content: flex-end;
}

.compact-pet-list {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.pet-summary-panel .compact-pet-list:empty {
  margin-bottom: 0;
}

.compact-pet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
}

.compact-pet-row strong,
.compact-pet-row span {
  display: block;
}

.compact-pet-row span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.compact-pet-row > .status-pill {
  margin-top: 0;
}

.pet-create-form[hidden] {
  display: none;
}

.request-list {
  display: grid;
  gap: 14px;
}

.request-group-list {
  display: grid;
  gap: 22px;
}

.request-status-group {
  display: grid;
  gap: 14px;
}

.request-status-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 0 0 10px;
}

.request-status-heading h3 {
  margin: 0;
  font-size: 1.08rem;
}

.request-status-heading span {
  border-radius: 999px;
  padding: 4px 9px;
  background: #eef7f1;
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.pet-list,
.document-list,
.readiness-list,
.operations-list {
  display: grid;
  gap: 14px;
}

.request-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.compact-staff-requests {
  gap: 10px;
}

.staff-request-family-group {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(63, 109, 87, 0.34);
  border-left: 5px solid var(--sage);
  border-radius: 8px;
  padding: 10px;
  background: #f7fbf7;
}

.staff-request-family-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 4px 6px 0;
}

.staff-request-family-heading strong,
.staff-request-family-heading small {
  display: block;
}

.staff-request-family-heading small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.grouped-staff-requests {
  padding-left: 8px;
}

.compact-request-card {
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.compact-request-card.is-expanded {
  border-color: rgba(197, 148, 62, 0.72);
  background: #fffaf0;
  box-shadow: 0 14px 34px rgba(197, 148, 62, 0.16);
}

.compact-request-card.is-pending {
  border-color: rgba(227, 132, 31, 0.7);
  border-left: 5px solid #e3841f;
  background: #fff7df;
  box-shadow: 0 10px 26px rgba(227, 132, 31, 0.14);
}

.compact-request-card.is-ready-approval {
  border-color: rgba(47, 125, 111, 0.58);
  border-left-color: #2f7d6f;
  background: #fff9df;
  box-shadow: 0 12px 28px rgba(47, 125, 111, 0.14);
}

.compact-request-card.is-upcoming-approved {
  border-color: rgba(47, 125, 111, 0.36);
  border-left: 5px solid #7ca58f;
  background: #f8fbf7;
}

.compact-request-card.is-pending.is-expanded {
  border-color: rgba(197, 112, 22, 0.82);
  background: #fff1c7;
  box-shadow: 0 14px 34px rgba(227, 132, 31, 0.2);
}

.compact-request-card.is-on-property {
  border-color: rgba(47, 125, 111, 0.5);
  border-left: 5px solid #2f7d6f;
  background: #f4fbf8;
}

.compact-request-card.is-on-property.is-expanded {
  border-color: rgba(47, 125, 111, 0.65);
  background: #f1fbf8;
  box-shadow: 0 14px 34px rgba(47, 125, 111, 0.16);
}

.staff-request-summary {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  border: 0;
  padding: 12px 16px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.staff-request-summary:hover,
.staff-request-summary[aria-expanded="true"] {
  background: #fff7e8;
}

.compact-request-card.is-pending .staff-request-summary:hover,
.compact-request-card.is-pending .staff-request-summary[aria-expanded="true"] {
  background: #ffeab3;
}

.compact-request-card.is-on-property .staff-request-summary:hover,
.compact-request-card.is-on-property .staff-request-summary[aria-expanded="true"] {
  background: #e9f8f3;
}

.staff-request-summary strong,
.staff-request-summary small {
  display: block;
}

.staff-request-summary-primary {
  display: grid;
  gap: 2px;
}

.staff-request-summary small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.18;
}

.staff-request-summary .staff-request-date {
  color: var(--sage-dark);
  font-size: 0.88rem;
  font-weight: 900;
}

.staff-request-summary-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  align-items: center;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.queue-card-detail {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  border: 1px solid rgba(63, 109, 87, 0.14);
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.54);
  white-space: nowrap;
}

.queue-card-detail strong {
  display: inline;
  color: var(--sage-dark);
  font-size: 0.66rem;
  text-transform: uppercase;
}

.checkin-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.checkin-summary-grid article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
}

.checkin-summary-grid strong,
.checkin-summary-grid span {
  display: block;
}

.checkin-summary-grid strong {
  color: var(--sage-dark);
  font-size: 2rem;
  line-height: 1;
}

.checkin-summary-grid span {
  margin-top: 7px;
  color: var(--muted);
  font-weight: 900;
}

.checkin-list,
.checkin-group {
  display: grid;
  gap: 14px;
}

.checkin-card.is-checked-in {
  border-color: rgba(47, 125, 111, 0.42);
  background: #f4fbf8;
}

.checkin-card.is-overdue {
  border-color: rgba(154, 52, 18, 0.42);
  background: #fff2e8;
}

.checkin-card.is-targeted {
  outline: 3px solid rgba(192, 111, 69, 0.34);
  outline-offset: 3px;
}

.on-property-banner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(47, 125, 111, 0.34);
  border-radius: 8px;
  background: #e9f8f3;
  color: #22675d;
  font-weight: 900;
}

.on-property-banner strong,
.on-property-banner span {
  display: block;
}

.on-property-banner span {
  color: var(--muted);
  font-size: 0.86rem;
}

.on-property-banner.is-completed {
  border-color: rgba(80, 91, 87, 0.22);
  background: #f1f4ef;
  color: var(--sage-dark);
}

.customer-drilldown-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.checkin-details,
.checkin-record {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.checkin-details span,
.checkin-record p {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
  color: var(--muted);
  font-weight: 800;
}

.checkin-details strong,
.checkin-record strong {
  display: block;
  margin-bottom: 4px;
  color: var(--sage-dark);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.checkin-form {
  display: grid;
  gap: 12px;
}

.active-stay-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.active-stay-form {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
}

.stay-action-title strong,
.stay-action-title span {
  display: block;
}

.stay-action-title strong {
  color: var(--sage-dark);
  font-size: 0.9rem;
}

.stay-action-title span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.checkin-checkboxes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.checkin-checkboxes label {
  min-height: 52px;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
  font-weight: 900;
}

.staff-dog-summary-title {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.staff-member-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(63, 109, 87, 0.24);
  border-left: 5px solid var(--sage);
  border-radius: 8px;
  background: linear-gradient(135deg, #fbfcf8, #fff);
  box-shadow: 0 12px 28px rgba(24, 35, 31, 0.07);
}

.staff-member-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.staff-member-avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(63, 109, 87, 0.28);
  border-radius: 8px;
  background: #eef7f1;
  color: var(--sage-dark);
  font-size: 1.05rem;
  font-weight: 900;
}

.staff-member-title {
  min-width: 0;
}

.staff-member-title h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.12rem;
}

.staff-member-title a {
  display: inline-block;
  max-width: 100%;
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-weight: 700;
}

.staff-member-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.staff-member-meta span {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 0.9rem;
}

.staff-member-meta strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.staff-dog-photo,
.staff-dog-photo-placeholder {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef7f1;
}

.staff-dog-photo {
  object-fit: cover;
}

.staff-dog-photo-placeholder {
  display: grid;
  place-items: center;
  color: var(--sage-dark);
  font-size: 1.25rem;
  font-weight: 900;
}

.staff-dog-photo.large,
.staff-dog-photo-placeholder.large {
  width: min(220px, 100%);
  height: auto;
  aspect-ratio: 1;
}

.staff-dog-photo-panel {
  margin-bottom: 14px;
}

.staff-dog-photo-upload {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(63, 109, 87, 0.24);
  border-radius: 8px;
  background: #eef7f1;
}

.staff-dog-photo-upload h3,
.staff-dog-photo-upload p {
  margin: 0;
}

.staff-dog-photo-upload p {
  color: var(--muted);
  line-height: 1.45;
}

.staff-dog-photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.staff-dog-photo-actions input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.staff-medication-panel {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(192, 111, 69, 0.28);
  border-radius: 8px;
  background: #fffaf0;
}

.staff-medication-panel h3,
.staff-medication-panel h4 {
  margin: 0;
}

.staff-medication-list {
  display: grid;
  gap: 12px;
}

.staff-medication-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(197, 148, 62, 0.34);
  border-radius: 8px;
  background: #fff;
}

.staff-medication-card strong,
.staff-medication-card span {
  display: block;
}

.staff-medication-card span {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
}

.staff-medication-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.staff-medication-history {
  display: grid;
  gap: 8px;
  padding-top: 2px;
}

.staff-medication-history article {
  padding: 10px 12px;
  border: 1px solid rgba(24, 35, 31, 0.1);
  border-radius: 8px;
  background: #fff;
}

.staff-medication-history strong,
.staff-medication-history span {
  display: block;
}

.staff-medication-history span {
  margin-top: 3px;
  color: var(--sage-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.staff-medication-history p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.4;
}

.dog-vaccination-status {
  display: grid;
  gap: 10px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcf8;
}

.dog-vaccination-status legend {
  padding-inline: 6px;
  color: var(--sage-dark);
  font-size: 0.84rem;
  font-weight: 900;
}

.dog-vaccination-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin: 0;
}

.dog-vaccination-row span:first-child {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.dog-vaccination-row input[type="checkbox"] {
  width: auto;
}

.dog-vaccination-expiration {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-align: right;
}

.dog-vaccine-badge {
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.75rem;
  font-weight: 900;
}

.dog-vaccine-badge.approved {
  background: #e8f5eb;
  color: #276140;
}

.dog-vaccine-badge.pending {
  background: #fff3cd;
  color: #7a4d00;
}

.dog-vaccine-badge.rejected {
  background: #fde8df;
  color: var(--danger);
}

.staff-request-detail {
  border-top: 1px solid var(--line);
  padding: 0 16px 16px;
}

.staff-request-detail > .request-card {
  border: 0;
  border-radius: 0;
  padding: 14px 0 0;
  background: transparent;
}

.staff-dog-detail {
  padding-top: 16px;
}

.staff-customer-detail {
  padding-top: 16px;
}

.staff-room-detail {
  padding-top: 16px;
}

.staff-create-panel {
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
}

.staff-create-panel summary {
  padding: 14px 16px;
  color: var(--sage-dark);
  font-weight: 900;
  cursor: pointer;
}

.staff-create-panel[open] summary {
  border-bottom: 1px solid var(--line);
}

.staff-create-panel .feature-request-form {
  margin: 0;
  padding: 16px;
  border-bottom: 0;
}

.staff-readiness-detail,
.staff-document-detail {
  padding-top: 16px;
}

.staff-customer-form,
.staff-room-form,
.staff-dog-form {
  display: grid;
  gap: 14px;
}

.staff-document-review-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(260px, 0.85fr);
  gap: 18px;
  align-items: start;
}

.staff-document-review {
  display: grid;
  gap: 14px;
}

.staff-document-review-layout .document-preview {
  width: 100%;
  min-height: 420px;
  aspect-ratio: auto;
  background: #fff;
}

.staff-document-review-layout .document-preview img {
  object-fit: contain;
}

.staff-document-review-layout .document-preview-frame {
  height: 520px;
}

.approval-process-workspace {
  display: grid;
  gap: 18px;
}

.approval-summary-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid rgba(63, 109, 87, 0.2);
  border-radius: 8px;
  padding: 16px;
  background: #fbfcf8;
}

.approval-summary-card strong,
.approval-summary-card span {
  display: block;
}

.approval-summary-card strong {
  color: var(--ink);
  font-size: 1.18rem;
}

.approval-summary-card span {
  margin-top: 3px;
  color: var(--muted);
  font-weight: 800;
}

.approval-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.approval-checklist article {
  display: grid;
  gap: 10px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.approval-checklist article.is-needed {
  border-color: rgba(227, 132, 31, 0.42);
  background: #fff7df;
}

.approval-checklist article.is-complete {
  border-color: rgba(47, 125, 111, 0.28);
  background: #f4fbf8;
}

.approval-checklist strong,
.approval-checklist span {
  display: block;
}

.approval-checklist span {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.approval-upload-panel {
  display: grid;
  gap: 10px;
  margin-top: 2px;
}

.approval-upload-panel strong,
.approval-upload-panel span {
  display: block;
}

.approval-upload-panel span {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.approval-upload-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.approval-review-files-button {
  width: fit-content;
  margin-top: 2px;
}

.approval-workspace-actions,
.approval-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.approval-note {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.approval-documents {
  display: grid;
  gap: 14px;
}

.approval-documents h3 {
  margin: 0;
  color: var(--ink);
}

.approval-document-list,
.approval-document-card {
  display: grid;
  gap: 14px;
}

.document-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.vaccination-review-fields {
  display: grid;
  gap: 10px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.vaccination-review-fields legend {
  padding-inline: 6px;
  color: var(--sage-dark);
  font-size: 0.84rem;
  font-weight: 900;
}

.vaccination-review-row {
  display: grid;
  grid-template-columns: minmax(135px, 0.8fr) minmax(150px, 1fr);
  gap: 10px;
  align-items: center;
  margin: 0;
}

.vaccination-review-row span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.vaccination-review-row input[type="checkbox"] {
  width: auto;
}

.request-card header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.request-card-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}

.request-card-title h3,
.request-card-title p {
  margin: 0;
}

.request-card-title p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.request-card-contact {
  display: grid;
  gap: 2px;
}

.request-card-body {
  display: grid;
  gap: 12px;
}

.request-notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.request-notes-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.request-notes-grid strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.customer-request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.customer-request-actions .form-status {
  margin: 0;
}

.recent-request-card {
  border-color: rgba(197, 148, 62, 0.62);
  background: #fffaf0;
  box-shadow: 0 12px 34px rgba(197, 148, 62, 0.16);
}

.pet-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.pet-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pet-card-button {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.pet-file-button {
  flex: 0 0 auto;
}

.pet-card-button:hover h3 {
  text-decoration: underline;
}

.pet-card-button[aria-expanded="true"] h3 {
  color: var(--sage-dark);
  text-decoration: underline;
}

.pet-summary-panel .pet-card {
  gap: 12px;
  padding: 14px;
  background: #fbfcf8;
}

.pet-summary-panel .request-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  font-size: 0.84rem;
}

.pet-avatar {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: #f5f7f4;
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.pet-edit-panel {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.pet-edit-panel summary {
  width: fit-content;
  color: var(--sage-dark);
  font-weight: 900;
  cursor: pointer;
}

.pet-edit-panel[open] {
  display: grid;
  gap: 16px;
}

.pet-card .pet-edit-panel:not([hidden]) {
  display: grid;
  gap: 14px;
}

.compact-document-form h3 {
  margin: 0;
  font-size: 1.02rem;
}

.pet-edit-form,
.compact-document-form {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
}

.pet-document-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pet-document-strip.compact {
  margin-top: -2px;
}

.pet-document-strip a,
.pet-document-strip p,
.pet-inline-file-button {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--sage-dark);
  background: #fff;
  font-size: 0.86rem;
  font-weight: 800;
}

.pet-inline-file-button {
  cursor: pointer;
  font: inherit;
}

.pet-document-strip span {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.pet-document-panel {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.pet-document-panel h3,
.pet-document-panel p {
  margin: 0;
}

.pet-document-panel h3 {
  font-size: 1.02rem;
}

.pet-document-panel p {
  color: var(--muted);
}

.pet-document-list {
  display: grid;
  gap: 8px;
}

.pet-document-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pet-document-row strong,
.pet-document-row span {
  display: block;
}

.pet-document-row span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.dog-photo-cropper {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(24, 35, 31, 0.72);
}

.dog-photo-cropper[hidden] {
  display: none;
}

.dog-photo-cropper-dialog {
  width: min(100%, 520px);
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: clamp(16px, 3vw, 22px);
  background: #fff;
  box-shadow: 0 24px 70px rgba(8, 20, 16, 0.34);
}

.dog-photo-crop-frame {
  position: relative;
  width: min(100%, 390px);
  justify-self: center;
  aspect-ratio: 1;
  border: 1px solid rgba(63, 109, 87, 0.34);
  border-radius: 8px;
  overflow: hidden;
  background: #18231f;
  cursor: grab;
}

.dog-photo-crop-frame::after {
  content: "";
  position: absolute;
  inset: 8%;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  box-shadow: 0 0 0 999px rgba(8, 20, 16, 0.18);
  pointer-events: none;
}

.dog-photo-crop-canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}

.dog-photo-crop-frame:active {
  cursor: grabbing;
}

.status-pill {
  align-self: start;
  border-radius: 999px;
  padding: 6px 10px;
  background: #eef7f1;
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status-pill.approved {
  background: #e9f7ef;
  color: #276140;
}

.status-pill.checked-in {
  background: #dff6f1;
  color: #22675d;
}

.status-pill.overdue {
  background: #fde9df;
  color: #8a2f17;
}

.status-pill.active {
  background: #dff6f1;
  color: #22675d;
}

.status-pill.completed {
  background: #eef1ed;
  color: #40524b;
}

.status-pill.declined,
.status-pill.cancelled {
  background: #f4e5df;
  color: #8a2f17;
}

.status-pill.recent {
  background: #fff3cd;
  color: #7a4d00;
}

.status-pill.pending {
  background: #fff3cd;
  color: #7a4d00;
}

.status-pill.ready-to-approve {
  background: #dff6f1;
  color: #22675d;
}

.status-pill.upcoming {
  background: #e8f5eb;
  color: #276140;
}

.status-pill.rejected {
  background: #fde9df;
  color: #8a2f17;
}

.status-pill.duplicate {
  background: #eef1ed;
  color: #40524b;
}

.request-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.staff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.room-assignment-form {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(110px, 1fr);
  align-items: center;
  gap: 10px;
}

.room-assignment-form .form-status {
  margin: 0;
}

.room-create-form {
  margin: 18px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 0;
  padding-top: 18px;
  padding-bottom: 0;
}

.staff-actions .button {
  min-height: 40px;
  padding-inline: 12px;
  font-size: 0.88rem;
}

.request-meta strong {
  display: block;
  color: var(--ink);
}

.document-card {
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: start;
}

.document-preview {
  display: grid;
  place-items: center;
  width: 96px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f5f7f4;
  color: var(--sage-dark);
  font-size: 0.82rem;
  font-weight: 900;
  overflow: hidden;
}

.document-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.document-link {
  width: fit-content;
  min-height: 40px;
  margin-top: 4px;
  padding-inline: 12px;
  font-size: 0.9rem;
}

.staff-documents-panel {
  margin-top: 22px;
}

.staff-document-review {
  display: grid;
  gap: 12px;
}

.staff-document-review .button {
  width: fit-content;
  min-height: 40px;
  padding-inline: 14px;
  font-size: 0.9rem;
}

.readiness-card {
  background: #fbfcf8;
}

.feature-request-form {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.feature-request-card.done {
  background: #f5f7f4;
}

.feature-request-card.done h3,
.feature-request-card.done p {
  color: var(--muted);
}

.feature-done-toggle {
  width: fit-content;
  min-height: 40px;
  padding-inline: 14px;
  font-size: 0.9rem;
}

.staff-guide-panel {
  display: none;
}

.staff-guide-panel.is-active {
  display: block;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.customer-help-heading {
  margin-top: 28px;
}

.guide-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
}

.guide-card.priority {
  grid-row: span 2;
  background: #eef7f1;
  border-color: rgba(63, 109, 87, 0.26);
}

.guide-card h3 {
  margin-bottom: 8px;
}

.guide-card p,
.guide-card li,
.faq-list p {
  color: var(--muted);
  line-height: 1.58;
}

.guide-card ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.faq-list summary {
  padding: 14px 16px;
  color: var(--sage-dark);
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  margin: 0;
  padding: 0 16px 16px;
}

.staff-changelog-panel {
  gap: 18px;
}

.staff-changelog-panel.is-active,
#opsOverviewPanel.is-active ~ .staff-changelog-panel {
  display: grid;
}

.staff-changelog-hero {
  min-height: 220px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(63, 109, 87, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(20, 39, 33, 0.9), rgba(20, 39, 33, 0.54), rgba(20, 39, 33, 0.08)),
    url("assets/woof-creek-cabin-cover-cropped.jpg") center 42% / cover;
  box-shadow: 0 18px 44px rgba(24, 35, 31, 0.14);
}

.staff-changelog-hero-copy {
  width: 100%;
  display: grid;
  align-content: center;
  padding: clamp(20px, 4vw, 34px);
}

.staff-changelog-hero .eyebrow {
  color: var(--gold);
}

.staff-changelog-hero h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.03;
}

.staff-changelog-hero p:last-child {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.55;
}

.changelog-content,
.changelog-list {
  display: grid;
  gap: 16px;
}

.changelog-entry,
.changelog-empty {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
}

.changelog-entry {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.changelog-empty {
  padding: 18px;
}

.changelog-entry-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.changelog-entry-date {
  margin: 0 0 8px;
  color: var(--sage-dark);
  font-size: 0.88rem;
  font-weight: 900;
}

.changelog-entry h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.2;
}

.changelog-entry-type {
  flex: 0 0 auto;
  border: 1px solid rgba(63, 109, 87, 0.22);
  border-radius: 999px;
  padding: 5px 10px;
  background: #eef7f1;
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.changelog-type-added {
  border-color: rgba(47, 125, 111, 0.28);
  background: #e9f8f3;
  color: #22675d;
}

.changelog-type-changed {
  border-color: rgba(197, 148, 62, 0.34);
  background: #fff3cd;
  color: #7a4d00;
}

.changelog-type-fixed,
.changelog-type-security {
  border-color: rgba(63, 109, 87, 0.28);
  background: #eef7f1;
  color: var(--sage-dark);
}

.changelog-type-database,
.changelog-type-setup-deployment,
.changelog-type-follow-ups {
  border-color: rgba(24, 35, 31, 0.14);
  background: #eef1ed;
  color: #40524b;
}

.changelog-summary,
.changelog-empty p,
.changelog-items {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.changelog-items {
  display: grid;
  gap: 7px;
  padding-left: 22px;
}

.changelog-content code,
.staff-changelog-panel code {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 5px;
  background: #fff;
  color: var(--sage-dark);
  font-size: 0.92em;
  overflow-wrap: anywhere;
}

@media (max-width: 700px) {
  .staff-changelog-hero {
    min-height: 260px;
    background:
      linear-gradient(180deg, rgba(20, 39, 33, 0.92), rgba(20, 39, 33, 0.62), rgba(20, 39, 33, 0.18)),
      url("assets/woof-creek-cabin-cover-cropped.jpg") center 42% / cover;
  }

  .changelog-entry-header {
    display: grid;
  }

  .changelog-entry-type {
    justify-self: start;
  }
}

.operation-card details {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.operation-card summary {
  width: fit-content;
  color: var(--sage-dark);
  font-weight: 900;
  cursor: pointer;
}

.operation-card details[open] {
  display: grid;
  gap: 14px;
}

.check-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-label input {
  width: auto;
}

@media (max-width: 820px) {
  body {
    padding-top: calc(66px + env(safe-area-inset-top, 0px));
  }

  .site-header {
    position: absolute;
    top: calc(66px + env(safe-area-inset-top, 0px));
    align-items: flex-start;
  }

  .site-header nav {
    display: none;
  }

  .dashboard-brand-header {
    position: static;
    padding: 12px 16px;
  }

  .dashboard-brand-header nav {
    display: none;
  }

  .mobile-top-nav {
    position: fixed;
    z-index: 30;
    top: 0;
    right: 0;
    left: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 6px;
    padding: calc(8px + env(safe-area-inset-top, 0px)) 10px 8px;
    border: 0;
    border-bottom: 1px solid rgba(24, 35, 31, 0.14);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 34px rgba(24, 35, 31, 0.16);
    backdrop-filter: blur(14px);
  }

  .mobile-top-nav a,
  .mobile-top-nav button {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 42px;
    border: 0;
    border-radius: 8px;
    padding: 7px 6px;
    color: var(--sage-dark);
    background: transparent;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    cursor: pointer;
  }

  .mobile-top-nav .is-active {
    background: var(--sage);
    color: #fff;
  }

  .mobile-top-nav [hidden] {
    display: none;
  }

  .mobile-top-nav [data-ops-panel-link] {
    display: none;
  }

  .dashboard-page {
    padding-top: 0;
    padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  }

  .dashboard-page .mobile-top-nav {
    top: auto;
    bottom: 0;
    grid-auto-columns: minmax(0, 1fr);
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(24, 35, 31, 0.14);
    border-bottom: 0;
    box-shadow: 0 -12px 34px rgba(24, 35, 31, 0.16);
  }

  .dashboard-page .mobile-top-nav a,
  .dashboard-page .mobile-top-nav button {
    gap: 3px;
    min-height: 54px;
    padding: 6px 4px;
    text-decoration: none;
  }

  .dashboard-page .mobile-top-nav span {
    max-width: 100%;
    font-size: 0.68rem;
    line-height: 1.05;
    overflow: hidden;
    text-overflow: clip;
  }

  .dashboard-page .mobile-top-nav svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
  }

  .dashboard-page .mobile-top-nav [data-ops-panel-link] {
    display: grid;
  }

  .dashboard-page .mobile-top-nav [hidden] {
    display: none;
  }

  .mobile-more-sheet {
    position: fixed;
    inset: 0;
    z-index: 29;
    display: grid;
    align-items: end;
    padding: 18px 12px calc(88px + env(safe-area-inset-bottom, 0px));
    background: rgba(24, 35, 31, 0.24);
  }

  .mobile-more-sheet[hidden] {
    display: none;
  }

  .mobile-more-panel {
    display: grid;
    gap: 14px;
    border: 1px solid rgba(24, 35, 31, 0.14);
    border-radius: 8px;
    padding: 14px;
    max-height: min(72vh, 640px);
    overflow: auto;
    background: #fff;
    box-shadow: 0 18px 54px rgba(24, 35, 31, 0.22);
  }

  .mobile-more-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .mobile-more-heading strong {
    color: var(--sage-dark);
    font-size: 1.05rem;
  }

  .mobile-more-sections {
    display: grid;
    gap: 10px;
  }

  .mobile-more-group {
    display: grid;
    gap: 9px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    background: #fffdf7;
  }

  .mobile-more-group > strong {
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .mobile-more-heading button,
  .mobile-more-grid button,
  .mobile-more-grid a {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    color: var(--sage-dark);
    background: #fbfcf8;
    font: inherit;
    font-weight: 900;
    text-align: left;
    text-decoration: none;
  }

  .mobile-more-heading button {
    width: auto;
    padding: 8px 12px;
  }

  .mobile-more-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .mobile-more-grid a.is-active {
    border-color: rgba(63, 109, 87, 0.24);
    background: #e6f0eb;
    color: var(--sage-dark);
  }

  .mobile-more-grid [hidden] {
    display: none;
  }

  .dashboard-page .ops-command-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 14px;
  }

  .dashboard-page .ops-command {
    display: grid;
    align-content: start;
    gap: 3px;
    min-height: 68px;
    padding: 9px 10px;
    border-top: 1px solid var(--app-border);
    border-left: 0;
  }

  .dashboard-page .ops-command:nth-child(-n + 2) {
    border-top: 0;
  }

  .dashboard-page .ops-command:nth-child(2n) {
    border-left: 1px solid var(--app-border);
  }

  .dashboard-page .ops-command b {
    min-width: 0;
    font-size: 0.76rem;
    line-height: 1.15;
  }

  .dashboard-page .ops-command small {
    font-size: 0.66rem;
  }

  .dashboard-page .occupancy-summary-card {
    margin-top: -2px;
    padding: 11px 12px;
  }

  .dashboard-page .occupancy-summary-heading {
    align-items: flex-start;
  }

  .pwa-notice {
    right: 10px;
    bottom: max(10px, calc(env(safe-area-inset-bottom, 0px) + 10px));
    left: 10px;
    width: auto;
    grid-template-columns: 1fr;
  }

  .dashboard-page .pwa-notice {
    bottom: max(92px, calc(82px + env(safe-area-inset-bottom, 0px)));
    border-color: var(--app-border);
    border-radius: 8px;
    box-shadow: 0 16px 42px rgba(25, 36, 32, 0.16);
  }

  .pwa-notice-actions {
    justify-content: stretch;
  }

  .pwa-notice-actions .button {
    flex: 1 1 0;
  }

  .hero {
    min-height: 720px;
  }

  .feature-grid,
  .suite-layout,
  .property-gallery-grid,
  .staff-profile-grid,
  .booking-section,
  .portal-panels,
  .care-intro,
  .report-card-hero,
  .report-card-main,
  .reservation-entry-grid,
  .account-grid,
  .checkin-summary-grid,
  .checkin-checkboxes,
  .active-stay-actions,
  .approval-checklist,
  .overview-priority-grid,
  .ops-overview-grid,
  .compact-calendar-layout,
  .guide-grid,
  .ops-layout,
  .holiday-band {
    grid-template-columns: 1fr;
  }

  .dashboard-page .ops-layout,
  .staff-app-page .ops-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-page .ops-workspace,
  .staff-app-page .ops-workspace {
    width: 100%;
  }

  .dashboard-page .report-card-hero,
  .customer-app-page .report-card-hero,
  .dashboard-page .report-card-main,
  .customer-app-page .report-card-main {
    grid-template-columns: 1fr;
  }

  .customer-app-page .report-card-hero {
    gap: 12px;
  }

  .customer-app-page .report-card-side {
    width: 100%;
  }

  .customer-app-page .report-dog-card {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .dashboard-page .reservation-entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
  }

  .dashboard-page .reservation-entry-grid.single {
    grid-template-columns: 1fr;
  }

  .dashboard-page .reservation-entry-card {
    min-height: 88px;
    gap: 4px;
    padding: 11px;
  }

  .dashboard-page .reservation-entry-card strong {
    font-size: 0.98rem;
    line-height: 1.08;
  }

  .dashboard-page .reservation-entry-card span {
    font-size: 0.66rem;
  }

  .dashboard-page .reservation-entry-card small {
    font-size: 0.72rem;
    line-height: 1.22;
  }

  .dashboard-page .dashboard-top {
    align-items: flex-start;
    padding: 14px;
  }

  .dashboard-page .dashboard-actions {
    width: 100%;
  }

  .dashboard-page .dashboard-actions .button {
    flex: 1 1 0;
    min-width: min(100%, 96px);
  }

  .guide-card.priority {
    grid-row: auto;
  }

  .suite-feature-list {
    grid-template-columns: 1fr;
  }

  .ops-sidebar {
    position: static;
    max-height: none;
    gap: 10px;
    padding: 14px;
  }

  .dashboard-page .ops-sidebar {
    display: none;
  }

  .ops-menu {
    display: none;
  }

  .ops-panel-select-label {
    display: grid;
    gap: 6px;
    color: var(--sage-dark);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .ops-panel-select {
    min-height: 44px;
    font-size: 1rem;
    font-weight: 800;
  }

  .holiday-actions {
    justify-content: flex-start;
  }

  .customer-account-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .booking-copy {
    position: static;
  }

  .form-grid.two,
  .form-grid.three,
  .report-stat-grid,
  .report-mini-stat-grid,
  .request-meta,
  .request-notes-grid,
  .checkin-details,
  .checkin-record {
    grid-template-columns: 1fr;
  }

  .pet-document-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .room-assignment-form {
    grid-template-columns: 1fr;
  }

  .staff-request-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .staff-request-summary-meta {
    justify-content: flex-start;
  }

  .staff-member-main {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .staff-member-main .status-pill {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .staff-member-meta {
    grid-template-columns: 1fr;
  }

  .staff-document-review-layout {
    grid-template-columns: 1fr;
  }

  .staff-document-review-layout .document-preview {
    min-height: 320px;
  }

  .staff-document-review-layout .document-preview-frame {
    height: 420px;
  }

  .dog-vaccination-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .overview-compact-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .overview-compact-item.has-inline-action {
    grid-template-columns: 1fr;
  }

  .overview-compact-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .on-property-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .dog-vaccination-expiration {
    text-align: left;
  }

  .vaccination-review-row {
    grid-template-columns: 1fr;
  }

  .calendar-day {
    min-height: 86px;
    padding: 6px;
  }

  .calendar-chip {
    font-size: 0.66rem;
  }

  #staffCalendar {
    display: grid;
    gap: 14px;
  }

  #staffCalendar .calendar-header {
    margin-bottom: 0;
  }

  #staffCalendar .calendar-grid:not(.compact) > strong {
    padding: 8px 2px;
    font-size: 0.62rem;
  }

  #staffCalendar .calendar-grid:not(.compact) .calendar-day {
    min-height: 58px;
    gap: 3px;
    padding: 5px 4px;
  }

  #staffCalendar .calendar-grid:not(.compact) .calendar-day > span:not(.calendar-chip) {
    font-size: 0.72rem;
  }

  #staffCalendar .calendar-grid:not(.compact) .calendar-day.today > span:not(.calendar-chip) {
    min-width: 22px;
    min-height: 22px;
  }

  #staffCalendar .calendar-grid:not(.compact) .calendar-chip {
    width: 9px;
    min-width: 9px;
    height: 9px;
    border: 0;
    border-radius: 999px;
    padding: 0;
    background: var(--clay);
    font-size: 0;
    line-height: 0;
    justify-self: start;
  }

  #staffCalendar .calendar-grid:not(.compact) .calendar-chip.approved {
    background: var(--sage);
  }

  #staffCalendar .calendar-grid:not(.compact) .calendar-chip.checked-in {
    background: #2f7d6f;
  }

  #staffCalendar .calendar-grid:not(.compact) .calendar-chip.reviewing,
  #staffCalendar .calendar-grid:not(.compact) .calendar-chip.new {
    background: var(--gold);
  }

  #staffCalendar .calendar-grid:not(.compact) .calendar-day small {
    font-size: 0.58rem;
    line-height: 1;
    white-space: nowrap;
  }

  .calendar-mobile-agenda {
    display: grid;
    gap: 10px;
  }

  .staff-calendar-agenda {
    display: none;
  }

  .calendar-mobile-day {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfcf8;
  }

  .calendar-mobile-day time {
    display: grid;
    place-items: center;
    align-content: center;
    min-height: 52px;
    border-radius: 8px;
    background: #eef7f1;
    color: var(--sage-dark);
    font-weight: 900;
  }

  .calendar-mobile-day time span {
    font-size: 0.62rem;
    line-height: 1;
    text-transform: uppercase;
  }

  .calendar-mobile-day time strong {
    font-size: 1.18rem;
    line-height: 1.05;
  }

  .calendar-mobile-day-list {
    display: grid;
    gap: 8px;
    min-width: 0;
  }

  .calendar-mobile-stay {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    min-width: 0;
  }

  .calendar-mobile-stay div,
  .calendar-mobile-stay strong,
  .calendar-mobile-stay span {
    min-width: 0;
  }

  .calendar-mobile-marker {
    display: inline-block;
    border-radius: 6px;
    padding: 5px 6px;
    color: var(--sage-dark);
    background: #e9f7ef;
    font-size: 0.62rem;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
  }

  .calendar-mobile-stay.staying .calendar-mobile-marker {
    background: #dff6f1;
    color: #24574f;
  }

  .calendar-mobile-stay.departing .calendar-mobile-marker {
    background: #fff4df;
    color: #8a4820;
  }

  .calendar-mobile-stay.turnover .calendar-mobile-marker {
    background: #fff8df;
    color: #7a4d00;
  }

  .calendar-mobile-stay strong,
  .calendar-mobile-stay div > span {
    display: block;
    overflow-wrap: anywhere;
  }

  .calendar-mobile-stay strong {
    color: var(--ink);
    font-size: 0.9rem;
    line-height: 1.14;
  }

  .calendar-mobile-stay div > span {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1.2;
  }

  .calendar-agenda-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .document-card {
    grid-template-columns: 1fr;
  }

  .pet-edit-form,
  .compact-document-form {
    padding: 14px;
  }

  .report-dog-photo {
    max-height: 420px;
  }

  .report-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .brand small {
    display: none;
  }

  h1 {
    font-size: 2.7rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .dashboard-shell {
    width: min(100% - 24px, 1120px);
    padding: 28px 0;
  }

  .dashboard {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .account-panel,
  .portal-panel,
  .login-card,
  .request-card {
    padding: 16px;
  }

  .report-card-hero {
    padding: 16px;
  }

  .dashboard-page .report-card-hero {
    padding: 14px;
  }

  .report-dog-roster-header h2 {
    font-size: 1.9rem;
  }

  .dashboard-page .report-dog-roster-header {
    gap: 8px;
    padding-bottom: 10px;
  }

  .report-dog-card {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 11px;
    padding: 11px;
  }

  .dashboard-page .report-dog-card {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .customer-app-page .report-dog-card {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .report-dog-card-photo {
    font-size: 1.65rem;
  }

  .report-dog-card-body h3 {
    font-size: 1.15rem;
  }

  .report-dog-card-body p,
  .report-mini-stat-grid span {
    font-size: 0.74rem;
  }

  .report-dog-card .status-pill {
    padding: 5px 7px;
    font-size: 0.66rem;
  }

  .dashboard-page .reservation-entry-card {
    min-height: 84px;
  }

  .report-photo-grid {
    grid-template-columns: 1fr;
  }

  .profile-details-panel summary {
    align-items: flex-start;
    flex-direction: column;
  }
}
