@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:opsz,wght@10..144,500;10..144,600;10..144,700&family=Manrope:wght@400;500;600;700;800&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, #45131d, #7b2531 62%, #a84948); }.brand-mark { color: #3d1720; background: #d5ad4a; }.brand-logo { background: #f2e5df; }.nav-link.is-active { box-shadow: inset 3px 0 #e3bd58; }.nav-link:hover, .nav-link.is-active { background: rgba(255, 243, 238, .15); }.brand small, .sidebar-footer { color: #f0d4cd; }
.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 crimson 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; }
.care-medication-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.care-medication-heading h3 { margin: 0; }.medication-admin-status, .medication-admin-check { display: inline-flex; align-items: center; gap: 5px; min-height: 24px; padding: 3px 7px; border: 1px solid #d8d1c4; border-radius: 999px; color: #736b5d; background: #fffdf8; font-family: "Manrope", sans-serif; font-size: 9px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }.medication-admin-status.is-given, .medication-admin-check.is-given { border-color: #b7c8b4; color: #46604c; background: #edf4eb; }.medication-admin-check { cursor: pointer; }.medication-admin-check input { width: 13px; height: 13px; margin: 0; accent-color: #586d5b; cursor: pointer; }

/* 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; }
.today-task-groups { display: grid; grid-template-columns: 1fr; gap: 18px; }.today-task-group { display: grid; gap: 10px; }.today-task-group-heading h3, .summary-task-section h3 { margin: 2px 0 0; font-size: 17px; }.facility-task-create-panel, .facility-task-panel, .boarding-task-panel { margin-top: 18px; }.facility-task-form { display: grid; gap: 14px; margin: 18px 0 0; }.facility-task-list, .boarding-task-list, .dog-task-stack, .summary-task-list { display: grid; gap: 10px; margin-top: 14px; }.boarding-task-group { padding: 16px 0; border-bottom: 1px solid var(--line); }.boarding-task-group:first-child { padding-top: 2px; }.boarding-task-group:last-child { padding-bottom: 0; border-bottom: 0; }.boarding-task-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }.boarding-task-header h3 { margin: 2px 0 0; font-size: 17px; }.summary-task-section { margin-top: 20px; }.summary-task-section:first-of-type { margin-top: 14px; }.summary-task-section > h3 { margin-bottom: 10px; }.summary-task-list .task-card { box-shadow: none; }.facility-task-card .task-info strong { color: #315d47; }
@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; } }

/* Clickable daily summaries and the care-profile task list. */
button.summary-card { width: 100%; border: 1px solid rgba(58, 91, 67, .08); color: var(--ink); text-align: left; appearance: none; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease; }
button.summary-card:hover, button.summary-card:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(23, 57, 82, .12); outline: none; }
button.summary-card:focus-visible { outline: 3px solid rgba(23, 93, 136, .32); outline-offset: 3px; }
.summary-dialog-copy { margin: 8px 0 19px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.today-summary-list { display: grid; gap: 9px; }
.today-attention-row { display: flex; align-items: center; gap: 9px; }.today-attention-row .today-summary-row { flex: 1; }.today-attention-row .medication-admin-check { flex: 0 0 auto; }
.today-summary-row { display: grid; grid-template-columns: 43px minmax(0, 1fr) auto; align-items: center; gap: 11px; width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fffefb; text-align: left; }
.today-summary-row:hover { border-color: #a9cddc; background: #f6fbfd; }.today-summary-row strong, .today-summary-row small { display: block; }.today-summary-row strong { font-size: 13px; }.today-summary-row small { margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.35; }.today-summary-arrow { color: var(--forest); font-size: 24px; line-height: 1; }
.today-summary-photo { display: grid; place-items: center; overflow: hidden; width: 43px; height: 43px; border-radius: 12px; background: var(--forest-light); font-size: 20px; }.today-summary-photo img, .dog-initial img { width: 100%; height: 100%; object-fit: cover; }
.profile-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 15px; }.profile-section-heading h3 { margin: 0; font-size: 16px; }.profile-section-heading p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }.profile-section-heading > span { flex: 0 0 auto; padding: 5px 7px; border-radius: 999px; color: #175d88; background: #dceef5; font-size: 10px; font-weight: 800; }
.profile-task-list { display: grid; gap: 9px; }.profile-task { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: #fffefb; }.profile-task.is-done { opacity: .7; background: #f4faf6; }.profile-task > div { min-width: 0; }.profile-task strong { display: block; font-size: 13px; }.profile-task p { margin: 3px 0 0; color: var(--muted); font-size: 11px; line-height: 1.35; }.profile-task .task-badge { white-space: nowrap; }
@media (max-width: 620px) { .today-summary-row { padding: 9px; }.profile-task { grid-template-columns: auto minmax(0, 1fr); }.profile-task .task-badge { grid-column: 2; justify-self: start; }.profile-tabs { gap: 3px; padding: 4px; }.profile-tab { min-height: 42px; padding: 7px 5px; font-size: 11px; } }

/* Boutique boarding house — final visual system. */
:root { --ink: #292820; --muted: #767165; --surface: #fffdf8; --canvas: #f3eee5; --line: #e1d8c9; --forest: #263d31; --forest-deep: #182a21; --forest-light: #e8eee8; --amber: #ae9057; --amber-light: #f4ecdc; --coral: #a65d50; --coral-light: #f5e8e3; --blue: #607883; --blue-light: #e7eeee; font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body { background: radial-gradient(circle at 100% 0%, rgba(175, 144, 87, .10), transparent 27rem), var(--canvas); letter-spacing: -.012em; }
.sidebar { padding: 31px 17px 22px; background: linear-gradient(170deg, #202820, #2b4033 55%, #1f3127); box-shadow: inset -1px 0 rgba(255, 255, 255, .08); }
.brand { padding: 2px 10px 39px; gap: 12px; }.brand-mark { width: 46px; height: 46px; border: 1px solid rgba(224, 203, 158, .45); border-radius: 50%; background: #efe4ca; box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }.brand strong { font-family: "Cormorant Garamond", Georgia, serif; font-size: 23px; font-weight: 700; letter-spacing: -.035em; }.brand small { margin-top: 0; color: #d4dbcf; font-family: "Manrope", sans-serif; font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.nav-list { gap: 5px; }.nav-link { padding: 12px 13px; border: 1px solid transparent; border-radius: 9px; color: #d9e0d6; font-size: 12px; font-weight: 700; letter-spacing: .01em; }.nav-link span { width: 29px; color: #d7bd84; font-size: 17px; }.nav-link:hover { border-color: rgba(231, 216, 179, .13); background: rgba(255, 255, 255, .06); }.nav-link.is-active { border-color: rgba(224, 201, 147, .24); background: rgba(224, 201, 147, .13); box-shadow: inset 2px 0 #cfb071; color: #fffdf7; }.nav-link.is-active span { color: #e7c982; }.brand small, .sidebar-footer { color: #cbd4c9; }.sidebar-footer { padding: 15px 10px 3px; font-size: 10px; letter-spacing: .04em; text-transform: uppercase; }.status-dot { background: #c9ad73; box-shadow: 0 0 0 4px rgba(201, 173, 115, .13); }
.main-content { width: min(1340px, 100%); padding-top: 39px; }.topbar { padding-bottom: 31px; }.eyebrow { color: #908572; font-size: 9px; font-weight: 800; letter-spacing: .17em; }.topbar h1, h2, .section-heading h2, .panel-heading h2, .auth-card h1, form h2, .profile-hero h2 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 700; letter-spacing: -.035em; }.topbar h1 { color: var(--ink); font-size: clamp(34px, 4vw, 46px); line-height: .95; }.topbar h2, .section-heading h2 { font-size: 30px; }.profile-chip { gap: 10px; padding: 5px 11px 5px 5px; border: 1px solid rgba(176, 151, 106, .22); border-radius: 999px; color: #615d52; background: rgba(255, 253, 248, .72); font-size: 11px; }.avatar { width: 31px; height: 31px; color: #fffdf8; background: #877149; font-size: 10px; }
.summary-grid { gap: 14px; }.summary-card, button.summary-card { min-height: 151px; padding: 25px; border: 1px solid rgba(121, 101, 65, .16); border-radius: 13px; box-shadow: 0 10px 26px rgba(63, 50, 30, .055); }.summary-card::before { right: 25px; left: 25px; height: 2px; background: rgba(139, 112, 68, .24); }.summary-card.teal, .summary-card.amber, .summary-card.coral { background: rgba(255, 253, 248, .78); }.summary-card.amber { background: #fbf5e9; }.summary-card.coral { background: #f9efea; }.summary-label { color: #827967; font-size: 10px; font-weight: 800; letter-spacing: .10em; text-transform: uppercase; }.summary-card strong { margin: 13px 0 4px; color: #2e3028; font-family: "Cormorant Garamond", Georgia, serif; font-size: 47px; font-weight: 700; line-height: .8; letter-spacing: -.055em; }.summary-card small { color: #746f64; font-size: 11px; }.summary-card:hover, button.summary-card:hover { border-color: rgba(174, 144, 87, .42); box-shadow: 0 16px 28px rgba(63, 50, 30, .09); }
.section-heading { margin: 43px 0 18px; }.section-heading.compact { margin-bottom: 17px; }.panel { padding: 25px; border: 1px solid rgba(121, 101, 65, .16); border-radius: 14px; background: rgba(255, 253, 248, .9); box-shadow: 0 10px 28px rgba(63, 50, 30, .045); }.panel-heading h2, .checklist h2 { font-size: 24px; }.panel-heading p, .staff-page-intro { color: #777164; font-size: 12px; line-height: 1.6; }.text-button, .maps-link { color: #74603b; font-size: 11px; letter-spacing: .01em; }.primary-button { min-height: 44px; padding: 11px 17px; border: 1px solid #253b30; border-radius: 8px; color: #fffdf8; background: linear-gradient(180deg, #344f40, #263d31); box-shadow: 0 7px 15px rgba(34, 48, 38, .15); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }.primary-button:hover { background: #1d3026; transform: translateY(-1px); }
.task-grid { gap: 13px; }.task-card, .profile-task { border-color: rgba(121, 101, 65, .16); border-radius: 11px; background: rgba(255, 253, 248, .9); box-shadow: 0 6px 17px rgba(63, 50, 30, .035); }.task-card { padding: 17px; }.task-card:hover { border-color: rgba(174, 144, 87, .40); box-shadow: 0 10px 22px rgba(63, 50, 30, .07); }.task-card.is-done, .profile-task.is-done { background: #f3f6f0; }.task-check { border-color: #586d5b; border-radius: 50%; }.task-card.is-done .task-check { background: #586d5b; }.task-info strong { color: #35342d; font-size: 13px; }.task-info small { color: #7c766b; }.task-badge { color: #78613a; background: #f1e7d3; font-size: 9px; letter-spacing: .04em; }.task-card.is-done .task-badge { color: #46604c; background: #e2eade; }
.stay-item { padding: 14px 0; }.dog-initial, .today-summary-photo, .observation-icon { border-radius: 50%; background: #e9eee6; }.stay-date { color: #837b6d; }.dog-card { padding: 21px; border-color: rgba(121, 101, 65, .16); border-radius: 14px; background: rgba(255, 253, 248, .9); box-shadow: 0 9px 25px rgba(63, 50, 30, .045); }.dog-card:hover { border-color: rgba(174, 144, 87, .42); }.dog-photo { border-radius: 50%; background: #e8eee7; }.dog-card h3 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 27px; line-height: .85; }.dog-card.is-current-boarding { border-color: rgba(105, 132, 106, .38); background: #f5f8f1; box-shadow: inset 3px 0 #789174, 0 9px 25px rgba(63, 50, 30, .045); }.dog-card .boarding-status.is-current { color: #415f47; background: #e4ece0; }.tag { border-radius: 999px; color: #576c59; background: #e7eee4; font-size: 9px; letter-spacing: .04em; }.tag.alert, .alert-box { color: #8d5046; background: #f5e5e0; }
.search-field, form input, form textarea, form select { border-color: #ded5c6; border-radius: 8px; background: #fffdf8; }.search-field { padding: 10px 12px; }.search-field:focus-within, form input:focus, form textarea:focus, form select:focus { border-color: #b29867; outline: 3px solid rgba(174, 144, 87, .16); }.calendar-grid { border-color: #ddd4c6; border-radius: 14px; background: #e6dfd2; box-shadow: 0 9px 22px rgba(63, 50, 30, .045); }.calendar-day { background: #fffdf8; }.calendar-day.is-muted { background: #f8f5ee; }.calendar-day.is-today { background: #f3f0e7; }.day-number { color: #5e594e; }.calendar-event { border-radius: 4px; color: #48584e; background: #e5ede3; }.calendar-event.pickup { background: #e5ede3; }.calendar-event.boarding { color: #53616a; background: #e8edef; }.calendar-event.dropoff { color: #8a5048; background: #f4e6e1; }.calendar-stay-bar.is-on-site { color: #415f48; background: #e2ebdf; box-shadow: inset 3px 0 #708d70; }
.profile-tabs { padding: 4px; border-color: #e1d8c9; border-radius: 10px; background: #f2eee5; }.profile-tab { border-radius: 7px; font-size: 11px; }.profile-tab.is-active { background: #304a3a; box-shadow: 0 3px 9px rgba(34, 48, 38, .14); }.profile-tab:not(.is-active) span, .profile-observations-heading > span { color: #6f5d3c; background: #e9dfca; }.profile-editor, .medication-editor { border-color: #e1d8c9; border-radius: 10px; background: #fbf8f1; }.profile-editor summary { color: #455e4a; }.medication-editor legend { color: #526e56; }.today-summary-row { border-color: #e0d7c8; border-radius: 11px; background: #fffdf8; }.today-summary-row:hover { border-color: #b89b66; background: #fbf7ee; }.today-summary-arrow { color: #8c7242; }
.auth-gate { background: radial-gradient(circle at 25% 0%, rgba(222, 198, 146, .45), transparent 29rem), linear-gradient(135deg, #eae4d8, #f6f2e9); }.auth-card { padding: 39px; border-color: rgba(121, 101, 65, .20); border-radius: 16px; background: #fffdf8; box-shadow: 0 24px 60px rgba(54, 43, 26, .16); }.auth-card h1 { font-size: 40px; line-height: .95; }.auth-card .brand-mark { width: 54px; height: 54px; }
@media (max-width: 620px) { body { background: radial-gradient(circle at 100% 0%, rgba(175, 144, 87, .12), transparent 16rem), var(--canvas); }.topbar { background: rgba(243, 238, 229, .92); }.topbar h1 { font-size: 32px; }.profile-chip { background: rgba(255, 253, 248, .86); }.summary-card { min-height: 122px; }.summary-card strong { font-size: 42px; }.panel { padding: 19px; }.dog-card h3 { font-size: 25px; } }
.calendar-actions { flex-wrap: wrap; justify-content: flex-end; }.calendar-view-switch { display: inline-flex; padding: 3px; border: 1px solid #ded5c6; border-radius: 9px; background: rgba(255, 253, 248, .82); box-shadow: 0 4px 12px rgba(63, 50, 30, .035); }.calendar-view-button { min-height: 34px; padding: 0 11px; border: 0; border-radius: 6px; color: #797266; background: transparent; font-family: "Manrope", sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }.calendar-view-button.is-active { color: #fffdf8; background: #304a3a; box-shadow: 0 2px 6px rgba(34, 48, 38, .16); }.calendar-weekdays.is-week-view { display: none; }.calendar-grid.is-week-view .calendar-week.is-week-view .calendar-day { min-height: calc(250px + var(--stay-lanes) * 22px); padding: calc(58px + var(--stay-lanes) * 22px) 10px 12px; }.calendar-grid.is-week-view .calendar-week.is-week-view .day-number { top: 12px; left: 11px; display: grid; gap: 2px; color: #555246; font-family: "Cormorant Garamond", Georgia, serif; font-size: 24px; font-weight: 700; line-height: .8; }.calendar-grid.is-week-view .calendar-week.is-week-view .day-number small { color: #908572; font-family: "Manrope", sans-serif; font-size: 8px; font-weight: 800; letter-spacing: .10em; text-transform: uppercase; }.calendar-grid.is-week-view .calendar-stay-bars { top: 48px; }.calendar-grid.is-week-view .calendar-event { padding: 6px 7px; font-size: 10px; line-height: 1.35; white-space: normal; }
@media (max-width: 620px) { .calendar-actions { width: 100%; justify-content: space-between; }.calendar-actions .primary-button { width: auto; }.calendar-grid.is-week-view .calendar-week.is-week-view .calendar-day { min-height: calc(162px + var(--stay-lanes) * 21px); padding: calc(47px + var(--stay-lanes) * 21px) 5px 7px; }.calendar-grid.is-week-view .calendar-week.is-week-view .day-number { top: 7px; left: 6px; font-size: 18px; }.calendar-grid.is-week-view .calendar-stay-bars { top: 39px; }.calendar-grid.is-week-view .calendar-event { padding: 4px; font-size: 8px; } }
.calendar-week-navigation { display: inline-flex; align-items: center; overflow: hidden; border: 1px solid #ded5c6; border-radius: 9px; background: rgba(255, 253, 248, .82); box-shadow: 0 4px 12px rgba(63, 50, 30, .035); }.calendar-nav-button, .calendar-today-button { min-height: 34px; border: 0; color: #6f685b; background: transparent; font-family: "Manrope", sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }.calendar-nav-button { width: 32px; color: #5f5a4e; font-family: Georgia, serif; font-size: 23px; font-weight: 400; line-height: 1; }.calendar-nav-button:hover, .calendar-today-button:hover { background: #f3ecdf; }.calendar-today-button { padding: 0 10px; border-right: 1px solid #e4dccc; border-left: 1px solid #e4dccc; font-size: 9px; }

/* Phone calendar: keep every day on screen instead of forcing a sideways scroll. */
@media (max-width: 900px) {
  .calendar-scroller { width: 100%; min-width: 0; margin: 0; padding: 0; overflow-x: clip; }
  .calendar-scroller .calendar-weekdays, .calendar-scroller .calendar-grid { width: 100%; min-width: 0; }
  .calendar-week, .calendar-week .calendar-day { min-width: 0; }
}
@media (max-width: 620px) {
  .calendar-scroller { padding: 0; }
  .calendar-scroller::after { display: none; content: none; }
  .calendar-weekdays { padding: 1px 0 7px; font-size: 8px; letter-spacing: -.02em; }
  .calendar-week .calendar-day { min-width: 0; }
  .calendar-week .calendar-event { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  .calendar-grid.is-week-view .calendar-week.is-week-view { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}

/* One chronological stay-notes timeline keeps observations, team notes, and medication together. */
.care-record-list { display: grid; gap: 0; }.care-record-entry { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: start; gap: 11px; padding: 13px 0; border-bottom: 1px solid var(--line); }.care-record-entry:last-child { border-bottom: 0; }.care-record-icon { display: grid; place-items: center; overflow: hidden; width: 42px; height: 42px; border-radius: 12px; background: var(--forest-light); font-size: 18px; }.care-record-entry.is-medication .care-record-icon { background: #f2eadc; }.care-record-icon img { width: 100%; height: 100%; object-fit: cover; }.care-record-content { min-width: 0; }.care-record-content header { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }.care-record-content strong, .care-record-content small { display: block; }.care-record-content strong { font-size: 13px; }.care-record-kind, .medication-record-status { display: inline-flex; align-items: center; min-height: 19px; padding: 3px 7px; border-radius: 999px; color: #716d63; background: #f1eee7; font-size: 9px; font-weight: 800; letter-spacing: .02em; text-align: center; }.care-record-entry.is-medication .care-record-kind, .care-record-entry.is-medication .medication-record-status { color: #776849; background: #f2eadc; }.care-record-entry.is-taken .medication-record-status { color: #46604c; background: #e2eade; }.care-record-content p { margin: 4px 0; color: var(--ink); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }.care-record-content small { color: var(--muted); font-size: 11px; line-height: 1.4; }
@media (max-width: 620px) { .today-attention-row { align-items: stretch; flex-direction: column; }.today-attention-row .medication-admin-check { align-self: flex-end; }.care-record-entry { grid-template-columns: 38px minmax(0, 1fr); }.care-record-icon { width: 38px; height: 38px; }.care-record-entry .medication-record-status { grid-column: 2; justify-self: start; } }

/* Keep task cards contained on every screen size, especially narrow phones. */
html, body { max-width: 100%; overflow-x: clip; }
.main-content, .view, .panel, .facility-task-list, .summary-task-list, .task-grid, .task-card, .profile-task, .task-info { min-width: 0; max-width: 100%; }
.task-card, .profile-task { overflow: hidden; }
.task-info strong, .task-info small, .profile-task strong, .profile-task p { overflow-wrap: anywhere; word-break: break-word; }
.task-info strong { white-space: normal; }
.task-badge { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: normal; text-align: right; }
@media (max-width: 620px) {
  .task-card { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; }
  .task-card .task-badge { grid-column: 2; justify-self: start; margin-top: 2px; text-align: left; }
  .facility-task-list, .summary-task-list { min-width: 0; max-width: 100%; }
}

/* Full-page dog profiles keep each dog's care routine, stay work, and history together. */
#dog-profile-view { max-width: 1020px; margin: 0 auto; }
.profile-page { min-width: 0; }
.profile-back { display: inline-flex; align-items: center; min-height: 34px; margin-bottom: 15px; padding: 0 2px; font-size: 12px; }
.profile-page .profile-hero { padding: 23px; border: 1px solid rgba(121, 101, 65, .16); border-radius: 16px; background: rgba(255, 253, 248, .78); box-shadow: 0 8px 23px rgba(63, 50, 30, .04); }
.profile-page .profile-hero h2 { margin-top: 2px; font-size: clamp(32px, 5vw, 42px); }
.profile-page .profile-hero p { overflow-wrap: anywhere; }
.profile-tasks, .profile-notes { min-width: 0; }
.routine-task-list { display: grid; gap: 9px; margin-bottom: 13px; }
.routine-task-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 0; padding: 13px 14px; border: 1px solid rgba(121, 101, 65, .16); border-radius: 11px; background: rgba(255, 253, 248, .9); }
.routine-task-row > div { min-width: 0; }
.routine-task-row strong { display: block; font-size: 13px; }
.routine-task-row p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.routine-task-remove { flex: 0 0 auto; color: #934038; }
.profile-task-create { margin-top: 12px; }
.profile-stay-task-section { margin-top: 27px; padding-top: 24px; border-top: 1px solid var(--line); }
.stay-note-composer { display: grid; gap: 12px; margin: 0 0 24px; padding: 18px; border: 1px solid rgba(121, 101, 65, .16); border-radius: 14px; background: #fbf7ef; box-shadow: 0 7px 18px rgba(63, 50, 30, .035); }
.stay-note-composer h3 { margin: 0; font-size: 18px; }
.stay-note-composer > p { margin: -6px 0 1px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.stay-note-composer .primary-button { justify-self: start; }
.stay-note-days { display: grid; gap: 18px; }
.stay-note-day { padding: 18px; border: 1px solid rgba(121, 101, 65, .16); border-radius: 14px; background: rgba(255, 253, 248, .86); box-shadow: 0 6px 17px rgba(63, 50, 30, .03); }
.stay-note-day > header { margin-bottom: 15px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.stay-note-day > header .eyebrow { margin-bottom: 4px; }
.stay-note-day > header h3 { margin: 0; font-size: 20px; }
.stay-note-day .profile-observation { padding: 14px 0; }
.stay-note-day .profile-observation:last-child { padding-bottom: 0; border-bottom: 0; }
.stay-medication-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.stay-medication-row:first-of-type { padding-top: 0; }
.stay-medication-row:last-child { padding-bottom: 0; border-bottom: 0; }
.stay-medication-row > div { min-width: 0; }
.stay-medication-row strong { display: block; color: #78613a; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.stay-medication-row p { margin: 4px 0; color: var(--ink); font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.stay-medication-row small { display: block; color: var(--muted); font-size: 11px; line-height: 1.4; }
.stay-medication-row.is-given { background: linear-gradient(90deg, rgba(229, 238, 224, .68), transparent); }

@media (max-width: 620px) {
  .profile-back { margin-bottom: 10px; }
  .profile-page .profile-hero { padding: 17px; }
  .profile-page .profile-hero h2 { font-size: 32px; }
  .routine-task-row, .stay-medication-row { align-items: flex-start; flex-direction: column; gap: 9px; }
  .routine-task-remove { align-self: flex-start; }
  .stay-note-composer, .stay-note-day { padding: 15px; border-radius: 12px; }
  .stay-note-composer .primary-button { width: 100%; }
}

/* Weekly calendar: a compact, real-time schedule in Eastern time. */
.calendar-grid.is-week-view { display: block; overflow: hidden; border: 1px solid #ddd4c6; background: #e6dfd2; }
.calendar-grid.is-week-view .week-timeline { display: block; background: #fffdf8; }
.week-day-headings, .week-all-day-row, .week-time-grid { display: grid; grid-template-columns: 62px minmax(0, 1fr); }
.week-day-headings { border-bottom: 1px solid #ddd4c6; background: #f8f5ee; }
.week-time-header, .week-all-day-label { display: flex; align-items: center; justify-content: flex-end; padding: 0 9px; color: #827967; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.week-day-heading-grid, .week-all-day-bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); min-width: 0; }
.week-day-heading { display: grid; place-items: center; min-height: 58px; padding: 7px 3px; border-left: 1px solid #e6dfd2; color: #5e594e; text-align: center; }
.week-day-heading small { color: #908572; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.week-day-heading strong { margin-top: 1px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 25px; line-height: .85; }
.week-day-heading.is-today { background: #f3f0e7; }
.week-all-day-row { min-height: calc(32px + var(--stay-lanes) * 22px); border-bottom: 1px solid #ddd4c6; background: #fffdf8; }
.week-all-day-label { align-items: flex-start; padding-top: 10px; border-right: 1px solid #e6dfd2; }
.week-all-day-bars { grid-template-rows: repeat(var(--stay-lanes), 19px); align-content: start; gap: 3px 1px; padding: 7px 4px; }
.week-time-grid { min-height: calc(var(--week-time-rows) * 62px); }
.week-time-labels { display: grid; grid-template-rows: repeat(var(--week-time-rows), 62px); border-right: 1px solid #ddd4c6; background: #f8f5ee; }
.week-time-label { display: flex; align-items: flex-start; justify-content: flex-end; padding: 5px 9px 0 3px; color: #827967; font-size: 10px; font-weight: 750; }
.week-time-columns { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.week-time-day { position: relative; min-width: 0; border-left: 1px solid #e6dfd2; background-color: #fffdf8; background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 61px, #e6dfd2 61px, #e6dfd2 62px); }
.week-time-day.is-today { background-color: #f3f0e7; }
.week-timeline-event { position: absolute !important; z-index: 2; top: var(--event-top); right: 3px; left: 3px; display: block; min-height: 33px; margin: 0 !important; padding: 5px 5px !important; border: 0; border-left: 3px solid currentColor; border-radius: 4px; box-shadow: 0 2px 5px rgba(63, 50, 30, .08); color: #48584e; font-size: 9px !important; line-height: 1.25 !important; text-align: left; white-space: normal; }
.week-timeline-event strong, .week-timeline-event span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.week-timeline-event strong { font-size: 9px; }
.week-timeline-event span { margin-top: 2px; font-size: 8px; font-weight: 650; }
.week-all-day-bars .calendar-stay-bar { min-height: 19px; line-height: 19px; }

/* Each dog keeps a reliable, muted calendar colour that does not copy the current-day highlight. */
.calendar-event.dog-accent-sage, .calendar-stay-bar.dog-accent-sage { color: #345843 !important; background: #e2ece2 !important; box-shadow: inset 3px 0 #86a98a; }
.calendar-event.dog-accent-clay, .calendar-stay-bar.dog-accent-clay { color: #7a4c3e !important; background: #f2e4dc !important; box-shadow: inset 3px 0 #c68f7e; }
.calendar-event.dog-accent-indigo, .calendar-stay-bar.dog-accent-indigo { color: #465a77 !important; background: #e3e8f1 !important; box-shadow: inset 3px 0 #8898b3; }
.calendar-event.dog-accent-honey, .calendar-stay-bar.dog-accent-honey { color: #755d27 !important; background: #f3ead4 !important; box-shadow: inset 3px 0 #c6a55d; }
.calendar-event.dog-accent-rose, .calendar-stay-bar.dog-accent-rose { color: #774454 !important; background: #f0e0e4 !important; box-shadow: inset 3px 0 #bb7a8c; }
.calendar-event.dog-accent-slate, .calendar-stay-bar.dog-accent-slate { color: #3f6267 !important; background: #e3eaeb !important; box-shadow: inset 3px 0 #73979b; }
.calendar-event.dog-accent-plum, .calendar-stay-bar.dog-accent-plum { color: #654b68 !important; background: #ece2ec !important; box-shadow: inset 3px 0 #a17b9f; }
.calendar-event.dog-accent-moss, .calendar-stay-bar.dog-accent-moss { color: #56633c !important; background: #e7ebd8 !important; box-shadow: inset 3px 0 #a0ad73; }

/* Manager controls and an organized completed-task record. */
.task-card-side { display: grid; flex: 0 1 auto; justify-items: end; gap: 6px; min-width: 0; }
.task-manage-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.task-manage-actions .text-button { padding: 1px 0; font-size: 10px; white-space: nowrap; }
.task-manage-actions .task-delete-button { color: #9b4138; }
.completed-task-panel { margin-top: 18px; }
.completed-task-history { display: grid; gap: 20px; margin-top: 16px; }
.completed-task-day { overflow: hidden; border: 1px solid rgba(121, 101, 65, .16); border-radius: 12px; background: rgba(255, 253, 248, .72); }
.completed-task-day > header { padding: 14px 16px 12px; border-bottom: 1px solid var(--line); background: #fbf7ef; }
.completed-task-day > header .eyebrow { margin: 0 0 3px; }
.completed-task-day > header h3 { margin: 0; font-size: 19px; }
.completed-task-list { display: grid; }
.completed-task-record { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 15px 16px; border-bottom: 1px solid var(--line); }
.completed-task-record:last-child { border-bottom: 0; }
.completed-task-record > div { min-width: 0; }
.completed-task-record .eyebrow { margin: 0 0 3px; }
.completed-task-record strong { display: block; color: var(--ink); font-size: 13px; }
.completed-task-record p { margin: 4px 0; color: var(--muted); font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.completed-task-record small { display: block; color: #7c766b; font-size: 10px; line-height: 1.4; }

@media (max-width: 620px) {
  .week-day-headings, .week-all-day-row, .week-time-grid { grid-template-columns: 39px minmax(0, 1fr); }
  .week-time-header, .week-all-day-label { padding-right: 4px; font-size: 7px; letter-spacing: 0; }
  .week-day-heading { min-height: 46px; padding: 5px 1px; }
  .week-day-heading small { font-size: 7px; letter-spacing: 0; }
  .week-day-heading strong { font-size: 19px; }
  .week-all-day-row { min-height: calc(26px + var(--stay-lanes) * 19px); }
  .week-all-day-label { padding-top: 8px; }
  .week-all-day-bars { grid-template-rows: repeat(var(--stay-lanes), 16px); gap: 2px 1px; padding: 5px 2px; }
  .week-all-day-bars .calendar-stay-bar { min-height: 16px; padding: 0 2px; font-size: 7px; line-height: 16px; }
  .week-time-grid { min-height: calc(var(--week-time-rows) * 52px); }
  .week-time-labels { grid-template-rows: repeat(var(--week-time-rows), 52px); }
  .week-time-label { padding: 4px 3px 0 1px; font-size: 8px; }
  .week-time-day { background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 51px, #e6dfd2 51px, #e6dfd2 52px); }
  .week-timeline-event { right: 1px; left: 1px; min-height: 25px; padding: 3px 2px !important; border-left-width: 2px; font-size: 7px !important; }
  .week-timeline-event strong { font-size: 7px; }
  .week-timeline-event span { display: none; }
  .task-card-side { grid-column: 2; justify-items: start; }
  .task-manage-actions { justify-content: flex-start; }
  .completed-task-record { align-items: stretch; flex-direction: column; gap: 9px; }
  .completed-task-record .task-manage-actions { align-self: flex-start; }
}

/* A small pause between the daily summary and the active-stay panel, with a quiet paw signature. */
#today-view > .summary-grid { margin-bottom: 38px; }
.summary-paw { position: absolute; z-index: 1; right: 22px; bottom: 16px; width: 42px; height: 42px; color: #8d7a53; opacity: .3; }
.summary-paw svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
@media (max-width: 620px) { #today-view > .summary-grid { margin-bottom: 29px; }.summary-paw { right: 17px; bottom: 15px; width: 36px; height: 36px; } }

/* Active-stay portraits are square, evenly cropped, and softly framed. */
.stay-item .dog-initial { overflow: hidden; border: 1px solid rgba(121, 101, 65, .16); border-radius: 12px; background: #e9eee6; }
.stay-item .dog-initial img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.dog-card .dog-photo, .profile-page .profile-hero .dog-photo { overflow: hidden; aspect-ratio: 1; }
.dog-card .dog-photo img, .profile-page .profile-hero .dog-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* High-priority tasks rise to the top with a gentle red cue that fits the care palette. */
.priority-toggle { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 10px 12px; border: 1px solid #e4c4be; border-radius: 8px; color: #86463f; background: #fff6f3; font-size: 12px; font-weight: 750; }
.priority-toggle input { width: auto; accent-color: #ad5a51; }
.task-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; min-width: 0; }
.task-title-row strong { min-width: 0; }
.priority-tag { display: inline-flex; flex: 0 0 auto; align-items: center; min-height: 18px; padding: 3px 6px; border: 1px solid #e5c0ba; border-radius: 999px; color: #8b453e; background: #fae8e4; font-size: 8px; font-weight: 800; letter-spacing: .04em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.task-card.is-priority:not(.is-done) { border-color: #e3bcb6; background: #fff8f6; box-shadow: inset 3px 0 #bd685d, 0 7px 18px rgba(110, 58, 50, .06); }
.task-card.is-priority:not(.is-done) .task-check { border-color: #d8a39b; background: #fffaf9; }
.routine-task-row .priority-tag, .profile-task .priority-tag { margin-top: 5px; }
@media (max-width: 620px) { .task-title-row { align-items: flex-start; flex-direction: column; gap: 4px; }.priority-tag { font-size: 7px; } }

/* Manager-only profile actions are deliberately separated from ordinary care edits. */
.profile-danger-zone { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 17px 0 0; padding: 14px 0 0; border-top: 1px solid #ead4ce; }
.profile-danger-zone strong { display: block; color: #87463f; font-size: 12px; }
.profile-danger-zone p { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.today-summary-row small strong { color: #5d332d; font-weight: 850; }
@media (max-width: 620px) { .profile-danger-zone { align-items: flex-start; flex-direction: column; }.profile-danger-zone .delete-stay { width: 100%; } }

/* Vaccination records stay private to the staff workspace and live with each dog’s care details. */
.vaccination-file-card { margin-top: 20px; padding: 15px 16px; border: 1px solid rgba(121, 101, 65, .16); border-radius: 12px; background: #fbf7ef; }
.vaccination-file-card h3 { margin: 0; font-size: 14px; }.vaccination-file-card p { margin: 4px 0 10px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.vaccination-file-card.is-empty { background: rgba(255, 253, 248, .72); }.vaccination-file-card.is-empty p { margin-bottom: 0; }
.vaccination-file-link { display: inline-flex; align-items: center; color: #665433; font-size: 12px; font-weight: 800; line-height: 1.35; overflow-wrap: anywhere; }
.vaccination-upload { display: grid; align-content: start; gap: 5px; padding: 10px 11px; border: 1px solid #ded5c6; border-radius: 8px; background: #fffdf8; }.vaccination-upload > strong { color: var(--ink); font-size: 12px; }.vaccination-upload > small { color: var(--muted); font-size: 10px; line-height: 1.35; }.vaccination-upload label { margin-top: 4px; }

/* A clear session exit is always available without crowding the navigation. */
.sidebar-footer { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 9px; align-items: center; }
.sidebar-sign-out { grid-column: 1 / -1; min-height: 34px; padding: 8px 10px; border: 1px solid rgba(231, 216, 179, .2); border-radius: 8px; color: #e3d3ac; background: rgba(255, 255, 255, .055); font: inherit; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-align: left; text-transform: uppercase; cursor: pointer; }
.sidebar-sign-out:hover { border-color: rgba(231, 216, 179, .36); color: #fffdf7; background: rgba(255, 255, 255, .11); }
.sidebar-sign-out:disabled { opacity: .55; cursor: wait; }
