@import url("https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700;9..40,800&family=Libre+Baskerville:wght@400;700&display=swap");

:root {
  color-scheme: light;
  --ink: #1f2f2b;
  --muted: #6b7772;
  --surface: #ffffff;
  --canvas: #f6f7f3;
  --line: #e1e7e1;
  --forest: #1f594a;
  --forest-light: #e4f0e9;
  --amber: #e9a23b;
  --amber-light: #fff2dc;
  --coral: #db7568;
  --coral-light: #fff0ed;
  --blue: #597dba;
  --blue-light: #eaf0fa;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; background: var(--canvas); color: var(--ink); }
.demo-notice .text-button { display: block; margin-top: 7px; }
.setup-copy { margin: -4px 0 4px; color: var(--muted); font-size: 13px; line-height: 1.5; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 27px 16px 18px; background: var(--forest); color: #eef7f1; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 10px 35px; color: inherit; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: #f5b951; font-size: 21px; }
.brand strong, .brand small { display: block; }.brand strong { font-size: 16px; }.brand small { margin-top: 2px; color: #b8d0c4; font-size: 11px; }
.nav-list { display: grid; gap: 7px; }.nav-link { border: 0; border-radius: 10px; padding: 12px 12px; text-align: left; color: #d9e8df; background: transparent; font-weight: 650; }.nav-link span { display: inline-block; width: 27px; font-size: 18px; }.nav-link:hover, .nav-link.is-active { background: rgba(255,255,255,.14); color: #fff; }
.sidebar-footer { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 10px; color: #b8d0c4; font-size: 12px; }.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #80d39f; }
.main-content { width: min(1280px, 100%); min-width: 0; margin: 0 auto; padding: 31px clamp(20px, 5vw, 60px) 60px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 25px; }.eyebrow { margin: 0 0 5px; color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }.topbar h1, h2 { margin: 0; letter-spacing: -.035em; }.topbar h1 { font-size: clamp(25px, 3vw, 34px); }.topbar h2, .section-heading h2 { font-size: 22px; }
.profile-chip { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 650; }.avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: var(--coral); font-size: 11px; font-weight: 800; }
.mobile-menu { display: none; border: 0; background: none; font-size: 24px; }.demo-notice { margin-bottom: 25px; padding: 12px 15px; border: 1px solid #f2d6a8; border-radius: 11px; color: #72521f; background: #fff9ec; font-size: 13px; line-height: 1.45; }
.view { display: none; }.view.is-visible { display: block; }.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }.summary-card { overflow: hidden; position: relative; padding: 22px; border-radius: 16px; }.summary-card::after { content: ""; position: absolute; right: -13px; bottom: -26px; width: 105px; height: 105px; border: 19px solid rgba(255,255,255,.31); border-radius: 50%; }.summary-card.teal { background: var(--forest-light); }.summary-card.amber { background: var(--amber-light); }.summary-card.coral { background: var(--coral-light); }.summary-label, .summary-card small { position: relative; z-index: 1; display: block; }.summary-label { color: var(--muted); font-size: 12px; font-weight: 700; }.summary-card strong { position: relative; z-index: 1; display: block; margin: 8px 0 3px; font-size: 34px; letter-spacing: -.05em; }.summary-card small { color: var(--muted); font-size: 12px; }
.section-heading, .panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }.section-heading { margin: 35px 0 18px; }.section-heading.compact { margin-bottom: 15px; }.legend, .calendar-key { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 12px; }.legend span, .calendar-key span { display: flex; align-items: center; gap: 5px; }.legend-dot, .key { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }.legend-dot.due { background: var(--amber); }.legend-dot.done { background: #75b98d; }
.heading-actions { display: flex; align-items: center; gap: 10px; }
.task-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }.task-card { display: flex; align-items: flex-start; gap: 11px; padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }.task-card.is-done { background: #f7fbf8; opacity: .76; }.task-check { flex: 0 0 auto; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 2px; border: 2px solid var(--forest); border-radius: 8px; color: #fff; background: #fff; }.task-card.is-done .task-check { background: var(--forest); }.task-info { min-width: 0; flex: 1; }.task-info strong, .task-info small { display: block; }.task-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }.task-info small { margin-top: 3px; color: var(--muted); font-size: 12px; }.task-badge { flex: 0 0 auto; padding: 4px 7px; border-radius: 6px; color: #a9650e; background: var(--amber-light); font-size: 10px; font-weight: 800; }.task-card.is-done .task-badge { color: #3e7e54; background: #e5f3e9; }
.split-grid, .handover-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .95fr); gap: 18px; margin-top: 24px; }.panel { padding: 21px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }.panel-heading h2, .checklist h2 { font-size: 17px; }.panel-heading p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }.text-button { padding: 0; border: 0; color: var(--forest); background: transparent; font-size: 12px; font-weight: 800; }.stay-list { display: grid; gap: 1px; margin-top: 11px; }.stay-item { display: grid; grid-template-columns: 37px 1fr auto; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }.stay-item:last-child { border: 0; }.dog-initial { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 12px; background: var(--blue-light); font-size: 18px; }.stay-item strong, .stay-item small { display: block; }.stay-item strong { font-size: 13px; }.stay-item small { margin-top: 3px; color: var(--muted); font-size: 11px; }.stay-date { color: var(--muted); font-size: 11px; text-align: right; }.handover-preview p { margin: 14px 0 7px; line-height: 1.55; font-size: 14px; }.handover-preview footer { color: var(--muted); font-size: 11px; }
.primary-button { border: 0; border-radius: 9px; padding: 11px 14px; color: #fff; background: var(--forest); font-size: 13px; font-weight: 800; }.primary-button:hover { background: #174438; }
.owner-location { display: grid; gap: 5px; padding: 11px 12px; border: 1px solid #b9dbbf; border-radius: 9px; color: #275941; background: #f1f9f3; }.owner-location span { color: #4e7965; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }.owner-location strong { font-size: 13px; line-height: 1.45; }
.dog-picker-field { position: relative; }.dog-picker-menu { position: absolute; z-index: 3; top: calc(100% - 1px); right: 0; left: 0; overflow: auto; max-height: 190px; border: 1px solid var(--line); border-radius: 0 0 8px 8px; background: #fff; box-shadow: 0 12px 24px rgba(22, 45, 36, .16); }.dog-picker-option { width: 100%; padding: 11px 12px; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); background: #fff; text-align: left; font-size: 13px; font-weight: 700; }.dog-picker-option:last-child { border-bottom: 0; }.dog-picker-option:hover { background: var(--forest-light); }.dog-picker-empty { margin: 0; padding: 11px 12px; color: var(--muted); font-size: 13px; font-weight: 650; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }.calendar-weekdays { padding: 0 8px 7px; color: var(--muted); font-size: 11px; font-weight: 750; text-align: center; text-transform: uppercase; }.calendar-grid { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--line); gap: 1px; }.calendar-day { min-height: 112px; padding: 9px; background: #fff; }.calendar-day.is-muted { color: #a1aaa6; background: #fafbf9; }.calendar-day.is-today { background: #f0f8f3; }.day-number { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 800; }.calendar-event { overflow: hidden; margin-top: 4px; padding: 4px 5px; border-radius: 5px; color: #2b4038; background: #d9eee2; font-size: 10px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }.calendar-event.pickup { background: #d9eee2; }.calendar-event.boarding { background: #e5ecfb; }.calendar-event.dropoff { color: #985245; background: #fee3df; }
.stay-checklist { margin-top: 17px; }.stay-checklist .panel-heading { align-items: flex-start; }.stay-check-row { display: grid; grid-template-columns: minmax(180px, .9fr) minmax(300px, 1.4fr); gap: 20px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }.stay-check-row:last-child { border-bottom: 0; padding-bottom: 0; }.stay-check-dog strong, .stay-check-dog small { display: block; }.stay-check-dog strong { font-size: 14px; }.stay-check-dog small { margin-top: 4px; color: var(--muted); font-size: 12px; }.stay-check-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }.stay-check-control { display: flex; align-items: flex-start; gap: 9px; min-height: 62px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; cursor: pointer; font-size: 12px; font-weight: 800; }.stay-check-control input { width: 18px; height: 18px; margin: 0; accent-color: var(--forest); }.stay-check-control span { display: grid; gap: 3px; }.stay-check-control small { color: var(--muted); font-size: 10px; font-weight: 650; line-height: 1.35; }.stay-check-control.is-done { border-color: #b9dbbf; background: #f1f9f3; color: #2f7045; }.stay-check-control:has(input:disabled):not(.is-done) { cursor: not-allowed; opacity: .58; }.empty-state { margin: 13px 0 0; color: var(--muted); font-size: 13px; }
.shared-stay-notes { margin-top: 17px; }.shared-stay-notes form { margin-top: 15px; }.stay-note-list { display: grid; gap: 0; margin-top: 18px; }.stay-note-entry { padding: 12px 0; border-top: 1px solid var(--line); }.stay-note-entry strong, .stay-note-entry small { display: block; }.stay-note-entry strong { font-size: 13px; }.stay-note-entry p { margin: 5px 0; font-size: 13px; line-height: 1.5; }.stay-note-entry small { color: var(--muted); font-size: 11px; }
.search-field { display: flex; align-items: center; gap: 8px; min-width: 210px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: #fff; }.search-field input { min-width: 0; width: 100%; border: 0; outline: 0; font-size: 13px; }.dog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }.dog-card { display: grid; grid-template-columns: 70px 1fr; gap: 15px; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }.dog-photo { display: grid; place-items: center; overflow: hidden; width: 70px; height: 70px; border-radius: 17px; background: var(--forest-light); font-size: 32px; }.dog-photo img { width: 100%; height: 100%; object-fit: cover; }.dog-card h3 { margin: 0; font-size: 19px; }.dog-card p { margin: 3px 0 11px; color: var(--muted); font-size: 12px; }.dog-meta { display: flex; flex-wrap: wrap; gap: 6px; }.tag { padding: 5px 7px; border-radius: 6px; color: #41665a; background: var(--forest-light); font-size: 10px; font-weight: 750; }.tag.alert { color: #9d4d43; background: var(--coral-light); font-size: 10px; font-weight: 750; }.dog-card button { justify-self: start; margin-top: 13px; }
.dog-card.is-current-boarding { border-color: #9ecfb0; background: #f1f9f3; box-shadow: inset 4px 0 0 #4f9b68; }.dog-card .dog-details { margin: 3px 0 2px; }.dog-card .boarding-status { display: inline-flex; margin: 0 0 11px; color: var(--muted); font-size: 11px; font-weight: 700; }.dog-card .boarding-status.is-current { padding: 4px 7px; border-radius: 6px; color: #2f7045; background: #dff1e4; }
.handover-list { display: grid; gap: 15px; margin-top: 18px; }.handover-item { padding: 0 0 15px; border-bottom: 1px solid var(--line); }.handover-item:last-child { padding-bottom: 0; border: 0; }.handover-item header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.handover-item strong { font-size: 13px; }.handover-item time { color: var(--muted); font-size: 11px; }.handover-item p { margin: 9px 0; line-height: 1.55; font-size: 14px; }.mentioned-dogs { color: var(--forest); font-size: 11px; font-weight: 750; }.checklist { height: fit-content; }.checklist label { display: flex; align-items: flex-start; gap: 9px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }.checklist label:last-child { border: 0; }.checklist input { accent-color: var(--forest); }
.modal { width: min(660px, calc(100vw - 32px)); max-height: min(760px, calc(100vh - 32px)); padding: 29px; border: 0; border-radius: 18px; color: var(--ink); box-shadow: 0 24px 65px rgba(22, 45, 36, .22); }.modal::backdrop { background: rgba(17, 31, 25, .55); }.modal.narrow { width: min(480px, calc(100vw - 32px)); }.modal-close { position: absolute; top: 11px; right: 14px; border: 0; color: var(--muted); background: transparent; font-size: 28px; }.profile-hero { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 16px; padding-right: 25px; }.profile-hero .dog-photo { width: 92px; height: 92px; font-size: 43px; }.profile-hero h2 { font-size: 29px; }.profile-hero p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }.alert-box { margin: 22px 0; padding: 13px; border-radius: 10px; color: #90463d; background: var(--coral-light); font-size: 13px; }.care-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 23px; }.care-columns h3 { margin: 0 0 9px; font-size: 14px; }.care-columns p, .care-columns li { color: var(--muted); font-size: 13px; line-height: 1.55; }.care-columns ul { margin: 0; padding-left: 17px; }.profile-notes { margin-top: 21px; padding-top: 18px; border-top: 1px solid var(--line); }.profile-notes h3 { font-size: 14px; }.note-entry { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }.note-entry small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }.note-photo { display: block; width: min(220px, 100%); max-height: 180px; margin: 0 0 9px; border-radius: 9px; object-fit: cover; }
form { display: grid; gap: 15px; } form h2 { margin-bottom: 4px; font-size: 25px; } form label { display: grid; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 750; } form input, form textarea, form select { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; } form textarea { resize: vertical; }.toast { position: fixed; right: 22px; bottom: 22px; transform: translateY(85px); z-index: 10; padding: 12px 15px; border-radius: 10px; color: #fff; background: var(--ink); box-shadow: 0 8px 25px rgba(0,0,0,.15); font-size: 13px; transition: transform .2s ease; }.toast.is-visible { transform: translateY(0); }
.form-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.sex-choice { display: flex; align-items: center; gap: 14px; min-height: 64px; margin: 0; padding: 10px; border: 1px solid var(--line); border-radius: 8px; }.sex-choice legend { padding: 0 4px; color: var(--muted); font-size: 12px; font-weight: 750; }.sex-choice label, .alert-toggle { display: flex; align-items: center; gap: 6px; color: var(--ink); font-size: 12px; font-weight: 650; }.sex-choice input, .alert-toggle input { width: auto; accent-color: var(--forest); }.alert-toggle { min-height: 64px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; }.log-intro { margin: 0 0 16px; color: var(--muted); font-size: 13px; }.observation-list { display: grid; gap: 0; }.observation-item { display: grid; grid-template-columns: 42px 1fr; gap: 11px; padding: 13px 0; border-bottom: 1px solid var(--line); }.observation-item:last-child { border-bottom: 0; }.observation-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--forest-light); font-size: 18px; }.observation-item strong, .observation-item small { display: block; }.observation-item strong { margin-bottom: 3px; font-size: 13px; }.observation-item p { margin: 0; font-size: 13px; line-height: 1.5; }.observation-item small { margin-top: 5px; color: var(--muted); font-size: 11px; }
.delete-observation { margin-top: 8px; padding: 0; border: 0; color: #a6483e; background: transparent; font-size: 11px; font-weight: 800; }
.profile-editor { margin-top: 14px; border: 1px solid var(--line); border-radius: 11px; background: #fbfcfa; }.profile-editor summary { padding: 13px 15px; cursor: pointer; color: var(--forest); font-size: 13px; font-weight: 800; }.profile-editor form { padding: 2px 15px 15px; border-top: 1px solid var(--line); }
.auth-gate { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; padding: 22px; background: linear-gradient(135deg, #e9f4ed, #f7f1e4); }.auth-gate[hidden] { display: none; }.auth-card { width: min(410px, 100%); padding: 34px; border: 1px solid var(--line); border-radius: 19px; background: #fff; box-shadow: 0 18px 50px rgba(32, 63, 48, .16); }.auth-card .brand-mark { margin-bottom: 21px; }.auth-card h1 { margin: 0; font-size: 29px; letter-spacing: -.04em; }.auth-card > p:not(.eyebrow):not(.form-error) { margin: 8px 0 21px; color: var(--muted); font-size: 14px; line-height: 1.5; }.auth-card .primary-button { width: 100%; }.form-error { min-height: 19px; margin: -5px 0 0; color: #a6483e; font-size: 12px; font-weight: 650; }

@media (max-width: 900px) { .app-shell { grid-template-columns: 1fr; }.sidebar { position: fixed; z-index: 5; width: 250px; transform: translateX(-100%); transition: transform .2s ease; }.sidebar.is-open { transform: translateX(0); }.main-content { padding-top: 22px; }.mobile-menu { display: block; }.topbar { justify-content: flex-start; }.profile-chip { margin-left: auto; }.task-grid { grid-template-columns: repeat(2, 1fr); }.calendar-day { min-height: 88px; padding: 6px; }.calendar-event { font-size: 9px; } }
@media (max-width: 620px) { .main-content { padding: 18px 14px 38px; }.topbar h1 { font-size: 24px; }.profile-chip span:last-child { display: none; }.summary-grid, .task-grid, .split-grid, .handover-layout, .dog-grid, .form-columns, .stay-check-row, .stay-check-actions { grid-template-columns: 1fr; }.summary-grid { gap: 10px; }.summary-card { padding: 16px; }.section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }.heading-actions { width: 100%; flex-direction: column; align-items: stretch; }.section-heading > .primary-button, .search-field { width: 100%; }.calendar-weekdays { padding: 0 1px 7px; font-size: 9px; }.calendar-day { min-height: 72px; padding: 4px; }.day-number { margin-bottom: 3px; }.calendar-event { margin-top: 2px; padding: 3px; font-size: 8px; }.calendar-key { gap: 8px; }.care-columns { grid-template-columns: 1fr; gap: 6px; }.modal { padding: 22px; }.profile-hero { grid-template-columns: 65px 1fr; }.profile-hero .dog-photo { width: 65px; height: 65px; font-size: 30px; } }

/* Garden-and-bandana visual system, based on the supplied dog photo. */
:root { --ink: #202a27; --muted: #69756f; --surface: #fffef9; --canvas: #f3f3eb; --line: #d9e1d8; --forest: #24533f; --forest-deep: #173a2e; --forest-light: #e4efe3; --amber: #c7984b; --amber-light: #f8efd9; --coral: #b64940; --coral-light: #fae7e4; --blue: #647a91; --blue-light: #e8eef1; }
body { background: radial-gradient(circle at 86% 0%, rgba(137, 174, 111, .13), transparent 26rem), var(--canvas); }
.app-shell { grid-template-columns: 266px minmax(0, 1fr); }
.sidebar { padding: 27px 16px 17px; background: linear-gradient(165deg, var(--forest-deep), var(--forest) 62%, #2d6149); box-shadow: inset -1px 0 rgba(255,255,255,.11); }
.brand { padding-bottom: 30px; }.brand-mark { border: 1px solid rgba(255,255,255,.35); border-radius: 15px; color: #20352a; background: #d5b465; box-shadow: 0 7px 16px rgba(0,0,0,.12); }.brand-logo { overflow: hidden; background: #d7e7d1; }.brand-logo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%; }.brand small, .sidebar-footer { color: #c5d9cb; }
.nav-list { gap: 6px; }.nav-link { border: 1px solid transparent; border-radius: 12px; transition: background .16s ease, border-color .16s ease, transform .16s ease; }.nav-link:hover { transform: translateX(2px); }.nav-link:hover, .nav-link.is-active { border-color: rgba(255,255,255,.13); background: rgba(229, 243, 224, .15); }.nav-link.is-active { box-shadow: inset 3px 0 #d8b455; }
.sidebar-close { display: none; }.sidebar-footer { padding-top: 14px; }
.main-content { padding-top: 36px; }.topbar { padding-bottom: 29px; border-bottom: 1px solid rgba(56, 86, 66, .12); }.topbar h1 { color: #19372c; }.avatar { color: #fff8f5; background: var(--coral); box-shadow: 0 3px 8px rgba(122, 45, 39, .17); }.demo-notice { border-color: #e6d39e; color: #69521e; background: #fff9e9; box-shadow: 0 6px 18px rgba(67, 76, 50, .04); }
.summary-card, .panel, .task-card, .dog-card { box-shadow: 0 7px 18px rgba(34, 58, 43, .045); }.summary-card { border: 1px solid rgba(58, 91, 67, .08); border-radius: 18px; }.summary-card.teal { background: #e2efe3; }.summary-card.amber { background: #f9efd7; }.summary-card.coral { background: #f8e5e1; }.panel { border-radius: 18px; }.task-card { border-radius: 14px; }.task-card:hover, .dog-card:hover { border-color: #b8cab9; box-shadow: 0 10px 22px rgba(34, 58, 43, .08); }.primary-button { min-height: 43px; border-radius: 10px; background: var(--forest); box-shadow: 0 4px 10px rgba(28, 76, 55, .16); }.primary-button:hover { background: var(--forest-deep); }.text-button { color: #315d47; }.dog-card { border-radius: 18px; }.dog-photo { border-radius: 18px; background: #e0ebdf; }.dog-card.is-current-boarding { border-color: #9dbe9e; background: #f0f7ec; box-shadow: inset 4px 0 #4d8d61, 0 7px 18px rgba(34, 58, 43, .045); }.dog-card .boarding-status.is-current { color: #276744; background: #d8ecd9; }.tag.alert, .alert-box { color: #934038; background: #fae7e4; }.calendar-grid { border-radius: 18px; box-shadow: 0 7px 18px rgba(34, 58, 43, .04); }.calendar-day.is-today { background: #edf6e9; }.calendar-event.pickup { background: #d5e8d4; }.calendar-event.boarding { color: #354c5c; background: #e2ebef; }.calendar-event.dropoff { color: #8e433b; background: #f8e1dc; }.stay-check-control.is-done { border-color: #a9c9ab; background: #f0f7ec; color: #2d724a; }.search-field, form input, form textarea, form select { border-color: #cfdacf; background: #fffefb; }.search-field:focus-within, form input:focus, form textarea:focus, form select:focus { outline: 3px solid rgba(103, 151, 114, .22); border-color: #77a47c; }

@media (max-width: 900px) { .app-shell { grid-template-columns: minmax(0, 1fr); }.sidebar { width: min(84vw, 326px); padding-top: 22px; box-shadow: 12px 0 30px rgba(20, 47, 36, .2); }.sidebar-close { position: absolute; top: 13px; right: 13px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(255,255,255,.22); border-radius: 11px; color: #fff; background: rgba(255,255,255,.11); font-size: 26px; line-height: 1; }.sidebar-close:hover { background: rgba(255,255,255,.2); }.main-content { padding-top: 24px; }.mobile-menu { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 12px; color: var(--forest-deep); background: var(--surface); font-size: 20px; }.topbar { gap: 12px; }.profile-chip { padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }.calendar-scroller { min-width: 0; overflow-x: auto; padding-bottom: 7px; scrollbar-color: #91ad93 transparent; scrollbar-width: thin; }.calendar-scroller .calendar-weekdays, .calendar-scroller .calendar-grid { min-width: 630px; } }
@media (max-width: 620px) { body { background: radial-gradient(circle at 100% 0%, rgba(137, 174, 111, .14), transparent 14rem), var(--canvas); }.main-content { padding: 16px 13px calc(34px + env(safe-area-inset-bottom)); }.topbar { position: sticky; z-index: 4; top: 0; margin: 0 -13px; padding: 13px; background: rgba(243,243,235,.94); backdrop-filter: blur(11px); }.topbar h1 { max-width: 195px; font-size: 23px; line-height: 1.07; }.eyebrow { font-size: 10px; }.summary-card { min-height: 105px; padding: 17px; }.section-heading { margin-top: 29px; }.panel { padding: 17px; border-radius: 16px; }.task-card { min-height: 76px; padding: 14px; }.dog-card { grid-template-columns: 62px 1fr; gap: 12px; padding: 15px; }.dog-photo { width: 62px; height: 62px; border-radius: 16px; font-size: 28px; }.dog-card h3 { font-size: 18px; }.heading-actions .primary-button, .heading-actions .search-field { min-height: 44px; }.calendar-scroller { margin: 0 -13px; padding: 0 13px 9px; }.calendar-scroller::after { content: "Swipe sideways to see all days"; display: block; width: 630px; margin: 8px 0 0; color: var(--muted); font-size: 11px; font-weight: 700; }.calendar-weekdays { padding-top: 1px; font-size: 10px; }.calendar-day { min-height: 87px; padding: 6px; }.calendar-event { font-size: 9px; }.stay-check-control { min-height: 58px; }.modal { width: min(660px, calc(100vw - 18px)); max-height: calc(100dvh - 18px); padding: 22px 18px; border-radius: 18px; }.modal-close { top: 8px; right: 10px; }.profile-hero { padding-right: 19px; }.profile-chip { margin-left: auto; }.toast { right: 13px; bottom: calc(13px + env(safe-area-inset-bottom)); left: 13px; text-align: center; } }

.calendar-help { margin: -7px 0 14px; color: var(--muted); font-size: 12px; line-height: 1.45; }

/* Multi-day boarding bars: similar to a Google Calendar all-day event, with one bar per stay. */
.calendar-grid { display: grid; grid-template-columns: 1fr; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--line); }
.calendar-week { --stay-lanes: 1; position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.calendar-week .calendar-day { position: relative; min-height: calc(101px + var(--stay-lanes) * 21px); padding: calc(33px + var(--stay-lanes) * 21px) 8px 9px; background: #fff; }
.calendar-week .calendar-day.is-muted { color: #a1aaa6; background: #fafbf9; }
.calendar-week .calendar-day.is-today { background: #edf6e9; }
.calendar-week .day-number { position: absolute; top: 9px; left: 9px; margin: 0; }
.calendar-stay-bars { position: absolute; z-index: 2; top: 31px; right: 5px; left: 5px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-template-rows: repeat(var(--stay-lanes), 18px); gap: 3px 1px; pointer-events: none; }
.calendar-stay-bar { display: flex; align-items: center; min-width: 0; padding: 0 6px; border-radius: 5px; box-shadow: inset 3px 0 rgba(22, 58, 46, .28); font-size: 10px; font-weight: 800; line-height: 18px; letter-spacing: .01em; }
.calendar-stay-bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calendar-stay-bar.is-booked { color: #3c5368; background: #dfe9ef; box-shadow: inset 3px 0 #718da0; }
.calendar-stay-bar.is-on-site { color: #235b3c; background: #d7ead9; box-shadow: inset 3px 0 #4f8b62; }
.calendar-week .calendar-event { position: relative; z-index: 1; margin-top: 3px; }
@media (max-width: 620px) { .calendar-week .calendar-day { min-height: calc(67px + var(--stay-lanes) * 20px); padding: calc(28px + var(--stay-lanes) * 20px) 4px 5px; }.calendar-week .day-number { top: 5px; left: 5px; }.calendar-stay-bars { top: 25px; right: 3px; left: 3px; grid-template-rows: repeat(var(--stay-lanes), 17px); gap: 2px 1px; }.calendar-stay-bar { padding: 0 3px; border-radius: 4px; font-size: 8px; line-height: 17px; } }

/* Booking controls and tap-to-view stay details. */
.form-help { margin: -4px 0 16px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.field-help { display: block; margin: 3px 0 5px; color: var(--muted); font-size: 11px; font-weight: 600; line-height: 1.35; }
.stay-manager-panel { margin-top: 17px; }.stay-manager-list { display: grid; gap: 0; margin-top: 13px; }.stay-manager-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 0; border-top: 1px solid var(--line); }.stay-manager-row strong, .stay-manager-row small { display: block; }.stay-manager-row strong { font-size: 13px; }.stay-manager-row small { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.4; }.stay-manager-actions, .stay-detail-actions, .stay-edit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }.stay-edit-actions .primary-button { flex: 1; }.delete-stay { padding: 7px 9px; border: 1px solid #e6b5af; border-radius: 8px; color: #9b4138; background: #fff8f7; font-size: 11px; font-weight: 800; }.delete-stay:hover { border-color: #cc8178; background: #fceae7; }
.stay-detail-grid { display: grid; gap: 1px; margin: 17px 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--line); }.stay-detail-grid div { display: grid; gap: 4px; padding: 11px 12px; background: #fffefb; }.stay-detail-grid span, .stay-detail-note > span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }.stay-detail-grid strong { font-size: 13px; line-height: 1.45; }.stay-detail-note { margin: 0 0 17px; padding: 12px; border-radius: 11px; background: #f3f7f1; }.stay-detail-note p { margin: 6px 0 0; font-size: 13px; line-height: 1.5; }
.maps-link { display: inline-flex; width: max-content; margin-top: 4px; color: #315d47; font-size: 12px; font-weight: 800; text-decoration: none; }.maps-link:hover { text-decoration: underline; }.missing-map-link { margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 600; }
.profile-tabs { display: flex; gap: 6px; margin: 24px 0 19px; padding: 5px; border: 1px solid var(--line); border-radius: 12px; background: #f4f7f1; }.profile-tab { flex: 1; min-height: 39px; padding: 8px 10px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-size: 12px; font-weight: 800; }.profile-tab.is-active { color: #fff; background: var(--forest); box-shadow: 0 3px 8px rgba(28, 76, 55, .16); }.profile-tab span { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: 3px; border-radius: 999px; color: inherit; background: rgba(255,255,255,.2); font-size: 10px; }.profile-tab:not(.is-active) span { color: var(--forest); background: #dce9db; }
.profile-observations-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 15px; }.profile-observations-heading h3 { margin: 0; font-size: 16px; }.profile-observations-heading p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }.profile-observations-heading > span { flex: 0 0 auto; padding: 5px 7px; border-radius: 999px; color: #315d47; background: var(--forest-light); font-size: 10px; font-weight: 800; }.profile-observation { padding: 14px 0; border-bottom: 1px solid var(--line); }.profile-observation:first-child { padding-top: 0; }.profile-observation header { display: flex; flex-direction: column; gap: 2px; margin-bottom: 9px; }.profile-observation header strong { font-size: 13px; }.profile-observation time { color: var(--muted); font-size: 11px; font-weight: 650; }.profile-observation p { margin: 0; color: var(--ink); font-size: 13px; line-height: 1.55; }.profile-observation .note-photo { margin: 0 0 10px; }
.calendar-stay-bars { pointer-events: auto; }.calendar-stay-bar { border: 0; cursor: pointer; text-align: left; }.calendar-stay-bar:hover { filter: brightness(.97); outline: 2px solid rgba(61, 105, 82, .22); outline-offset: 1px; }.calendar-week .calendar-event { width: 100%; border: 0; cursor: pointer; text-align: left; }.calendar-week .calendar-event:hover { filter: brightness(.97); outline: 2px solid rgba(61, 105, 82, .18); outline-offset: 1px; }
@media (max-width: 620px) { .stay-manager-row { align-items: flex-start; flex-direction: column; }.stay-manager-actions { width: 100%; }.profile-tabs { margin-top: 19px; }.profile-observations-heading { flex-direction: column; }.profile-observations-heading > span { align-self: flex-start; } }

/* Professional ocean, parchment, red, and gold palette inspired by One Piece. */
:root { --ink: #172d46; --muted: #607187; --surface: #fffdf7; --canvas: #f4ebdc; --line: #d6e0e7; --forest: #175d88; --forest-deep: #113651; --forest-light: #e2f0f7; --amber: #c79732; --amber-light: #fff0cf; --coral: #b9453d; --coral-light: #fae6e1; --blue: #477ca6; --blue-light: #e7eff5; }
body { font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: radial-gradient(circle at 87% 0%, rgba(35, 113, 159, .14), transparent 28rem), var(--canvas); }
h1, h2, h3, .brand strong { font-family: "Libre Baskerville", Georgia, serif; letter-spacing: -.025em; }
.sidebar { background: linear-gradient(165deg, #102f4c, var(--forest) 62%, #1d6c90); }.brand-mark { color: #172d46; background: #d5ad4a; }.brand-logo { background: #e4eff0; }.nav-link.is-active { box-shadow: inset 3px 0 #e3bd58; }.nav-link:hover, .nav-link.is-active { background: rgba(226, 240, 247, .15); }.brand small, .sidebar-footer { color: #d5e6ed; }
.topbar h1 { color: #153a5b; }.primary-button { background: var(--forest); box-shadow: 0 4px 10px rgba(17, 54, 81, .17); }.primary-button:hover { background: var(--forest-deep); }.text-button, .maps-link { color: #175d88; }.summary-card.teal { background: #e1f0f5; }.summary-card.amber { background: #fff0cf; }.summary-card.coral { background: #fae5e0; }.dog-photo { background: #e2f0f7; }.dog-card.is-current-boarding { border-color: #a9cddc; background: #eef7fa; box-shadow: inset 4px 0 #23759b, 0 7px 18px rgba(23, 57, 82, .045); }.dog-card .boarding-status.is-current { color: #155a7d; background: #dceef5; }.calendar-day.is-today { background: #edf6f8; }.calendar-event.pickup { background: #d9ecf3; }.calendar-event.boarding { color: #334f68; background: #e2edf4; }.calendar-event.dropoff { color: #963f3a; background: #fae2dd; }.calendar-stay-bar.is-on-site { color: #164f68; background: #d9edf3; box-shadow: inset 3px 0 #28799c; }.stay-check-control.is-done { border-color: #a7cedd; background: #edf7fa; color: #155a7d; }.profile-tabs { background: #f1f4ed; }.profile-tab.is-active { background: var(--forest); box-shadow: 0 3px 8px rgba(17, 54, 81, .16); }.profile-tab:not(.is-active) span, .profile-observations-heading > span { color: #175d88; background: #dceef5; }.tag.alert, .alert-box { color: #963f3a; background: #fae6e1; }.delete-stay { color: #963f3a; border-color: #e6b5af; background: #fff8f5; }
.stay-check-control strong { display: block; color: inherit; font-size: 12px; }.completion-badge { display: inline-block; margin-left: 4px; padding: 2px 5px; border-radius: 999px; color: #155a7d; background: #d6edf6; font-style: normal; font-size: 9px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }.stay-check-control.is-done input { cursor: default; }

/* The dog paw uses a single colour, so it stays clear against the blue sidebar. */
.nav-link .nav-paw { display: inline-block; width: 27px; height: 18px; vertical-align: -3px; color: inherit; }.nav-paw svg { display: block; width: 18px; height: 18px; fill: currentColor; }

/* A quiet top glimmer keeps the summary cards polished without a decorative object. */
.summary-card::after { content: none; }.summary-card::before { content: ""; position: absolute; z-index: 1; top: 0; right: 22px; left: 22px; height: 3px; border-radius: 0 0 999px 999px; background: rgba(255, 255, 255, .48); }
.medication-display strong { color: var(--ink); }.medication-display span { color: var(--muted); font-size: 12px; }.medication-editor { display: grid; gap: 12px; margin: 0; padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: #f8fbfc; }.medication-editor legend { padding: 0 4px; color: var(--forest); font-size: 13px; font-weight: 800; }.medication-toggle { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 13px; font-weight: 750; }.medication-toggle input, .medication-schedule input { width: auto; accent-color: var(--forest); }.medication-editor [data-medication-fields] { display: grid; gap: 12px; }.medication-schedule { display: flex; flex-wrap: wrap; gap: 10px 16px; margin: 0; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fffdf7; }.medication-schedule legend { color: var(--muted); font-size: 11px; font-weight: 800; }.medication-schedule label { display: flex; align-items: center; gap: 6px; color: var(--ink); font-size: 12px; font-weight: 650; }

/* Manager-only staff accounts. */
.nav-link .nav-staff { display: inline-block; width: 27px; height: 18px; vertical-align: -3px; color: inherit; }.nav-staff svg { display: block; width: 19px; height: 19px; fill: currentColor; }
.staff-page-intro { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }.staff-management-layout { display: grid; grid-template-columns: minmax(285px, .85fr) minmax(0, 1.35fr); gap: 18px; margin-top: 24px; }.staff-invite-panel h3, .staff-directory-panel h3 { margin: 5px 0 0; font-size: 18px; }.staff-invite-panel > p:not(.eyebrow), .staff-directory-panel .panel-heading p:not(.eyebrow) { margin: 7px 0 17px; color: var(--muted); font-size: 13px; line-height: 1.5; }.staff-directory { display: grid; gap: 1px; margin-top: 13px; border-top: 1px solid var(--line); }.staff-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }.staff-row.is-inactive { opacity: .68; }.staff-member-summary strong, .staff-member-summary small { display: block; }.staff-member-summary strong { font-size: 14px; }.staff-member-summary small { margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 650; }.staff-you { display: inline-block; margin-left: 5px; padding: 2px 5px; border-radius: 999px; color: #155a7d; background: #dceef5; font-family: "DM Sans", -apple-system, sans-serif; font-size: 9px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; vertical-align: 2px; }.staff-member-controls { display: flex; align-items: flex-end; gap: 10px; }.staff-member-controls > label { display: grid; gap: 5px; color: var(--muted); font-size: 10px; font-weight: 800; }.staff-member-controls select { min-width: 108px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fffefb; font-size: 12px; font-weight: 700; }.staff-active-toggle { display: flex !important; align-items: center; gap: 6px; min-height: 34px; padding: 0 9px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink) !important; background: #fffefb; font-size: 11px !important; font-weight: 750 !important; }.staff-active-toggle input { width: auto; margin: 0; accent-color: var(--forest); }.staff-member-controls select:disabled, .staff-active-toggle:has(input:disabled) { cursor: not-allowed; opacity: .58; }
@media (max-width: 780px) { .staff-management-layout { grid-template-columns: 1fr; }.staff-row { align-items: flex-start; flex-direction: column; }.staff-member-controls { width: 100%; justify-content: space-between; }.staff-member-controls select { min-width: 132px; } }
