.dogs-admin-page {
  --dogs-ink: #1d1a16;
  --dogs-muted: rgba(29, 26, 22, 0.6);
  --dogs-soft: rgba(29, 26, 22, 0.09);
  --dogs-panel: #fffdf9;
  --dogs-wash: #f8f0e8;
  --dogs-action: #bd6544;
  --dogs-action-strong: #9e482e;
  --dogs-action-soft: #fff0e7;
  --dogs-success: #4d7158;
  --dogs-danger: #84231a;
  background: #f7f2ec;
}

.dogs-workspace {
  display: grid;
  grid-template-columns: minmax(270px, 330px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.dogs-directory,
.dog-profile {
  border: 1px solid rgba(29, 26, 22, 0.07);
  border-radius: 8px;
  background: var(--dogs-panel);
  box-shadow: 0 18px 58px rgba(82, 58, 42, 0.055);
}

.dogs-directory {
  position: sticky;
  top: 22px;
  display: grid;
  gap: 16px;
  max-height: calc(100vh - 44px);
  padding: 20px 18px;
  overflow: hidden;
}

.dogs-directory-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.dogs-directory-heading h2 {
  margin: 2px 0 0;
  color: var(--dogs-ink);
  font-size: 2rem;
  font-weight: 760;
  line-height: 1.08;
}

.dogs-count {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--dogs-action-soft);
  color: var(--dogs-action);
  font-size: 1.15rem;
  font-weight: 850;
}

.dogs-search {
  display: grid;
  gap: 7px;
}

.dogs-search > span {
  color: var(--dogs-muted);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.dogs-search input {
  width: 100%;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid rgba(29, 26, 22, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--dogs-ink);
  font: inherit;
  font-size: 1.08rem;
  outline: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.dogs-search input:focus {
  border-color: rgba(189, 101, 68, 0.58);
  box-shadow: 0 0 0 3px rgba(189, 101, 68, 0.1);
}

.dogs-status-filter,
.dog-walk-filter-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dogs-status-filter label,
.dog-walk-filter-choices label {
  position: relative;
}

.dogs-status-filter input,
.dog-walk-filter-choices input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dogs-status-filter span,
.dog-walk-filter-choices span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(29, 26, 22, 0.1);
  border-radius: 8px;
  background: #fff;
  color: var(--dogs-muted);
  font-size: 0.94rem;
  font-weight: 750;
  cursor: pointer;
}

.dogs-status-filter input:checked + span,
.dog-walk-filter-choices input:checked + span {
  border-color: var(--dogs-action);
  background: var(--dogs-action-soft);
  color: var(--dogs-action-strong);
}

.dogs-directory-status {
  margin: -2px 0 0;
  color: var(--dogs-muted);
  font-size: 0.98rem;
}

.dogs-list {
  display: grid;
  gap: 7px;
  min-height: 0;
  padding-right: 3px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.dog-list-item {
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.dog-list-item-inner {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  min-height: 62px;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.dog-list-item:hover .dog-list-item-inner {
  border-color: rgba(189, 101, 68, 0.14);
  background: #fbf5ee;
  transform: translateX(2px);
}

.dog-list-item.is-selected .dog-list-item-inner {
  border-color: rgba(189, 101, 68, 0.26);
  background: var(--dogs-action-soft);
}

.dog-list-avatar,
.dog-profile-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #eaded3;
  color: #6b4c3c;
  font-weight: 850;
  text-transform: uppercase;
}

.dog-list-avatar {
  width: 42px;
  height: 42px;
  font-size: 1.18rem;
}

.dog-list-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.dog-list-copy strong,
.dog-list-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dog-list-copy strong {
  color: var(--dogs-ink);
  font-size: 1.08rem;
  font-weight: 780;
}

.dog-list-copy span {
  color: var(--dogs-muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.dog-list-next {
  color: var(--dogs-action);
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
}

.dogs-list-empty {
  display: grid;
  min-height: 160px;
  place-items: center;
  padding: 20px;
  color: var(--dogs-muted);
  text-align: center;
}

.dog-profile {
  min-height: 620px;
  overflow: hidden;
}

.dog-profile-empty {
  display: grid;
  min-height: 620px;
  align-content: center;
  justify-items: center;
  gap: 9px;
  padding: 32px;
  color: var(--dogs-muted);
  text-align: center;
}

.dog-profile-empty strong {
  color: var(--dogs-ink);
  font-size: 1.7rem;
}

.dog-profile-empty p {
  max-width: 320px;
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.45;
}

.dog-profile-content {
  display: grid;
  animation: dog-profile-enter 0.22s ease both;
}

@keyframes dog-profile-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dog-profile-hero {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  width: auto;
  min-height: auto;
  overflow: visible;
  padding: 30px 32px 26px;
  border-bottom: 1px solid var(--dogs-soft);
  background: linear-gradient(135deg, #fff8f1, #fffdf9 62%);
}

.dog-profile-avatar {
  position: relative;
  isolation: isolate;
  width: 76px;
  height: 76px;
  font-size: 2rem;
}

.dog-profile-avatar-fallback {
  position: relative;
  z-index: 0;
}

.dog-profile-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  opacity: 0;
  animation: dog-photo-reveal 0.24s ease forwards;
}

@keyframes dog-photo-reveal {
  to {
    opacity: 1;
  }
}

.dog-profile-avatar.has-photo::after {
  position: absolute;
  right: -2px;
  bottom: 1px;
  width: 18px;
  height: 18px;
  border: 3px solid #fffdf9;
  border-radius: 50%;
  background: var(--dogs-success);
  content: "";
  z-index: 2;
}

.dog-profile-title {
  min-width: 0;
}

.dog-profile-title .admin-eyebrow {
  color: var(--dogs-action);
}

.dog-profile-title h2 {
  margin: 4px 0 8px;
  color: var(--dogs-ink);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 760;
  line-height: 0.98;
}

.dog-owner-link {
  color: var(--dogs-muted);
  font-size: 1.05rem;
  font-weight: 650;
}

.dog-owner-link:hover {
  color: var(--dogs-action);
}

.dog-profile-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.dog-back-button {
  display: none;
}

.dog-status-pill,
.dog-walk-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dog-status-pill {
  background: #eaf2e8;
  color: #4d7158;
}

.dog-status-pill.is-inactive {
  background: #ececea;
  color: rgba(29, 26, 22, 0.58);
}

.dog-profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--dogs-soft);
}

.dog-stat {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 18px 24px;
}

.dog-stat + .dog-stat {
  border-left: 1px solid var(--dogs-soft);
}

.dog-stat span {
  color: var(--dogs-muted);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dog-stat strong {
  overflow: hidden;
  color: var(--dogs-ink);
  font-size: 1.16rem;
  font-weight: 780;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dog-profile-body {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 30px;
  padding: 28px 32px 34px;
}

.dog-profile-aside,
.dog-walks-panel {
  display: grid;
  gap: 24px;
  align-content: start;
}

.dog-info-section,
.dog-recurrence-section {
  display: grid;
  gap: 14px;
}

.dog-info-section + .dog-info-section,
.dog-recurrence-section {
  padding-top: 22px;
  border-top: 1px solid var(--dogs-soft);
}

.dog-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.dog-section-heading h3,
.dog-walks-heading h3 {
  margin: 0;
  color: var(--dogs-ink);
  font-size: 1.42rem;
  font-weight: 760;
  line-height: 1.2;
}

.dog-section-heading p,
.dog-walks-heading p {
  margin: 4px 0 0;
  color: var(--dogs-muted);
  font-size: 0.96rem;
  line-height: 1.45;
}

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

.dog-info-item {
  display: grid;
  gap: 4px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(29, 26, 22, 0.06);
}

.dog-info-item span {
  color: var(--dogs-muted);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dog-info-item strong {
  color: var(--dogs-ink);
  font-size: 1.04rem;
  font-weight: 720;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.dog-info-item strong.is-missing {
  color: rgba(29, 26, 22, 0.38);
  font-weight: 620;
}

.dog-notes {
  margin: 0;
  padding: 13px 14px;
  border-left: 3px solid rgba(189, 101, 68, 0.52);
  background: #fbf5ee;
  color: var(--dogs-ink);
  font-size: 1rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

.dog-recurrence {
  display: grid;
  gap: 7px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(29, 26, 22, 0.06);
}

.dog-recurrence strong {
  color: var(--dogs-ink);
  font-size: 1.03rem;
}

.dog-recurrence span {
  color: var(--dogs-muted);
  font-size: 0.94rem;
  line-height: 1.4;
}

.dog-inline-link {
  color: var(--dogs-action);
  font-size: 0.94rem;
  font-weight: 800;
}

.dog-walks-panel {
  min-width: 0;
}

.dog-walks-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.dog-walk-filter-bar {
  display: grid;
  gap: 12px;
  margin: 18px 0 24px;
  padding: 14px 0;
  border-top: 1px solid var(--dogs-soft);
  border-bottom: 1px solid var(--dogs-soft);
}

.dog-walk-filter-group {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.dog-walk-filter-label {
  color: var(--dogs-muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dog-walk-groups {
  display: grid;
  gap: 24px;
}

.dog-walk-group {
  display: grid;
  gap: 9px;
}

.dog-walk-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  color: var(--dogs-muted);
  font-size: 0.88rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.dog-walk-group-title span {
  display: grid;
  min-width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 8px;
  background: #f1ece6;
  color: var(--dogs-ink);
  font-size: 0.84rem;
  letter-spacing: 0;
}

.dog-walk-list {
  display: grid;
  gap: 8px;
}

.dog-walk-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid rgba(29, 26, 22, 0.08);
  border-radius: 8px;
  background: #fff;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.dog-walk-row:hover {
  border-color: rgba(189, 101, 68, 0.2);
  box-shadow: 0 10px 30px rgba(82, 58, 42, 0.07);
  transform: translateY(-1px);
}

.dog-walk-row.is-next {
  border-color: rgba(189, 101, 68, 0.32);
  background: #fffaf5;
}

.dog-walk-date {
  display: grid;
  justify-items: center;
  gap: 1px;
  padding-right: 12px;
  border-right: 1px solid var(--dogs-soft);
}

.dog-walk-date strong {
  color: var(--dogs-ink);
  font-size: 1.5rem;
  line-height: 1;
}

.dog-walk-date span {
  color: var(--dogs-muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dog-walk-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.dog-walk-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.dog-walk-title strong {
  color: var(--dogs-ink);
  font-size: 1.06rem;
  font-weight: 760;
}

.dog-walk-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  color: var(--dogs-muted);
  font-size: 0.9rem;
  font-weight: 620;
}

.dog-walk-badge.is-planned {
  background: #eef1ea;
  color: #5c6b54;
}

.dog-walk-badge.is-done {
  background: #eaf2e8;
  color: #4d7158;
}

.dog-walk-badge.is-absent,
.dog-walk-badge.is-cancelled {
  background: #f3e9e7;
  color: #84231a;
}

.dog-walk-actions {
  position: relative;
}

.dog-walk-actions summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 38px;
  border: 1px solid rgba(29, 26, 22, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--dogs-ink);
  font-size: 0.92rem;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.dog-walk-actions summary::after {
  margin-left: 7px;
  color: var(--dogs-muted);
  content: "⌄";
  font-size: 0.9rem;
  transition: transform 0.18s ease;
}

.dog-walk-actions[open] summary {
  border-color: rgba(189, 101, 68, 0.35);
  background: var(--dogs-action-soft);
  color: var(--dogs-action-strong);
}

.dog-walk-actions[open] summary::after {
  transform: rotate(180deg);
}

.dog-walk-actions summary::-webkit-details-marker {
  display: none;
}

.dog-walk-actions-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 10;
  display: grid;
  gap: 6px;
  width: 190px;
  padding: 9px;
  border: 1px solid rgba(29, 26, 22, 0.1);
  border-radius: 8px;
  background: #fffdf9;
  box-shadow: 0 18px 50px rgba(43, 31, 24, 0.18);
}

.dog-walk-action,
.dog-walk-actions-menu a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 37px;
  padding: 0 10px;
  border: 1px solid rgba(29, 26, 22, 0.1);
  border-radius: 7px;
  background: #fff;
  color: var(--dogs-ink);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 760;
  cursor: pointer;
}

.dog-walk-action:hover,
.dog-walk-actions-menu a:hover {
  border-color: rgba(189, 101, 68, 0.28);
  color: var(--dogs-action);
}

.dog-walk-action.is-danger {
  color: var(--dogs-danger);
}

.dog-walk-action:disabled {
  cursor: wait;
  opacity: 0.55;
}

.dog-walks-empty {
  display: grid;
  min-height: 180px;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 24px;
  border: 1px dashed rgba(29, 26, 22, 0.14);
  border-radius: 8px;
  background: #fbf8f4;
  color: var(--dogs-muted);
  text-align: center;
}

.dog-walks-empty strong {
  color: var(--dogs-ink);
  font-size: 1.2rem;
}

.dog-walks-empty p {
  margin: 0;
}

.dogs-notice {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 110;
  max-width: min(360px, calc(100vw - 32px));
  margin: 0;
  padding: 12px 15px;
  border-radius: 8px;
  background: #2e2924;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  box-shadow: 0 18px 50px rgba(29, 26, 22, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

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

.dogs-notice.is-warning {
  background: var(--dogs-danger);
}

.dog-edit-dialog {
  width: min(720px, calc(100vw - 28px));
  max-width: none;
  max-height: min(860px, calc(100vh - 28px));
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(29, 26, 22, 0.12);
  border-radius: 10px;
  background: #fffdf9;
  box-shadow: 0 28px 90px rgba(29, 26, 22, 0.25);
}

.dog-edit-dialog::backdrop {
  background: rgba(29, 26, 22, 0.42);
  backdrop-filter: blur(3px);
}

.dog-edit-form {
  display: grid;
}

.dog-edit-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px 22px;
  border-bottom: 1px solid var(--dogs-soft);
  background: linear-gradient(135deg, #fff8f1, #fffdf9 68%);
}

.dog-edit-header h2 {
  margin: 4px 0 7px;
  color: var(--dogs-ink);
  font-size: 2.2rem;
  line-height: 1.05;
}

.dog-edit-header p:last-child {
  margin: 0;
  color: var(--dogs-muted);
  font-weight: 680;
}

.dog-edit-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(29, 26, 22, 0.12);
  border-radius: 8px;
  background: #fffdf9;
  color: var(--dogs-ink);
  font: inherit;
  font-size: 1.55rem;
  cursor: pointer;
}

.dog-edit-photo-section {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  margin: 24px 30px 0;
  padding: 18px;
  border: 1px solid rgba(189, 101, 68, 0.18);
  border-radius: 10px;
  background: #fbf5ee;
}

.dog-edit-photo-preview {
  position: relative;
  display: grid;
  width: 104px;
  height: 104px;
  overflow: hidden;
  border: 1px solid rgba(189, 101, 68, 0.22);
  border-radius: 24px;
  background: #f0e2d4;
  color: var(--dogs-action-strong);
  place-items: center;
  font-size: 2rem;
  font-weight: 850;
}

.dog-edit-photo-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dog-edit-photo-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.dog-edit-photo-copy h3,
.dog-edit-photo-copy p {
  margin: 0;
}

.dog-edit-photo-copy h3 {
  color: var(--dogs-ink);
  font-size: 1.16rem;
}

.dog-edit-photo-copy p {
  color: var(--dogs-muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.dog-edit-photo-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 4px;
}

#dogEditPhotoInput {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.dog-edit-photo-remove {
  min-height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--dogs-danger);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 780;
  cursor: pointer;
}

.dog-edit-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  padding: 26px 30px;
}

.dog-edit-fields label {
  display: grid;
  gap: 7px;
  color: var(--dogs-muted);
  font-size: 0.82rem;
  font-weight: 820;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.dog-edit-fields input,
.dog-edit-fields select,
.dog-edit-fields textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(29, 26, 22, 0.14);
  border-radius: 8px;
  background: #fff;
  color: var(--dogs-ink);
  font: inherit;
  font-weight: 620;
  letter-spacing: normal;
  text-transform: none;
}

.dog-edit-fields textarea {
  min-height: 104px;
  resize: vertical;
}

.dog-edit-fields input:focus,
.dog-edit-fields select:focus,
.dog-edit-fields textarea:focus {
  border-color: var(--dogs-action);
  outline: 3px solid rgba(189, 101, 68, 0.12);
}

.dog-edit-notes {
  grid-column: 1 / -1;
}

.dog-edit-feedback {
  min-height: 22px;
  margin: -8px 30px 14px;
  color: var(--dogs-danger);
  font-weight: 700;
}

.dog-edit-actions {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 30px 24px;
  border-top: 1px solid var(--dogs-soft);
  background: rgba(255, 253, 249, 0.97);
  box-shadow: 0 -12px 30px rgba(29, 26, 22, 0.05);
  backdrop-filter: blur(8px);
}

.dog-confirm-dialog {
  width: min(460px, calc(100vw - 28px));
  max-width: none;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(29, 26, 22, 0.12);
  border-radius: 10px;
  background: #fffdf9;
  box-shadow: 0 28px 90px rgba(29, 26, 22, 0.25);
}

.dog-confirm-dialog::backdrop {
  background: rgba(29, 26, 22, 0.42);
  backdrop-filter: blur(3px);
}

.dog-confirm-content {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  padding: 26px 26px 22px;
}

.dog-confirm-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3e9e7;
  color: var(--dogs-danger);
  font-weight: 850;
}

.dog-confirm-dialog h2 {
  margin: 2px 0 8px;
  color: var(--dogs-ink);
  font-size: 1.55rem;
  font-weight: 760;
}

.dog-confirm-dialog p {
  margin: 0;
  color: var(--dogs-muted);
  font-size: 1rem;
  line-height: 1.5;
}

.dog-confirm-context {
  margin-top: 13px !important;
  padding: 11px 12px;
  border-radius: 8px;
  background: #f7f2ec;
  color: var(--dogs-ink) !important;
  font-weight: 720;
}

.dog-confirm-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 8px;
  padding: 14px 26px 22px;
  border-top: 1px solid var(--dogs-soft);
}

.dog-confirm-submit {
  border-color: var(--dogs-danger);
  background: var(--dogs-danger);
  color: #fff;
}

@media only screen and (max-width: 1360px) {
  .dog-profile-body {
    grid-template-columns: 1fr;
  }

  .dog-profile-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dog-recurrence-section {
    grid-column: 1 / -1;
  }
}

@media only screen and (max-width: 860px) {
  .dogs-workspace {
    grid-template-columns: 1fr;
  }

  .dogs-directory {
    position: static;
    max-height: none;
  }

  .dogs-list {
    max-height: none;
  }

  .dog-profile {
    display: none;
  }

  .dogs-admin-page.has-selected-dog .dogs-directory {
    display: none;
  }

  .dogs-admin-page.has-selected-dog .dog-profile {
    display: block;
  }

  .dog-back-button {
    display: inline-flex;
  }

  .dog-profile-hero {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .dog-profile-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media only screen and (max-width: 620px) {
  .dog-edit-header,
  .dog-edit-fields,
  .dog-edit-actions {
    padding-right: 18px;
    padding-left: 18px;
  }

  .dog-edit-fields {
    grid-template-columns: 1fr;
  }

  .dog-edit-photo-section {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
    margin: 18px 18px 0;
    padding: 14px;
  }

  .dog-edit-photo-preview {
    width: 76px;
    height: 76px;
    border-radius: 18px;
    font-size: 1.55rem;
  }

  .dog-edit-notes {
    grid-column: auto;
  }

  .dog-edit-feedback {
    margin-right: 18px;
    margin-left: 18px;
  }

  .dog-edit-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .dog-profile-hero {
    gap: 14px;
    padding: 22px 18px 20px;
  }

  .dog-profile-avatar {
    width: 58px;
    height: 58px;
    font-size: 1.55rem;
  }

  .dog-profile-title h2 {
    font-size: 2.45rem;
  }

  .dog-profile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .dog-profile-actions .admin-button {
    width: 100%;
  }

  .dog-profile-stats {
    grid-template-columns: 1fr;
  }

  .dog-stat + .dog-stat {
    border-top: 1px solid var(--dogs-soft);
    border-left: 0;
  }

  .dog-stat {
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
    padding: 13px 18px;
  }

  .dog-profile-body {
    gap: 26px;
    padding: 22px 18px 28px;
  }

  .dog-profile-aside {
    grid-template-columns: 1fr;
  }

  .dog-recurrence-section {
    grid-column: auto;
  }

  .dog-walks-heading {
    display: grid;
  }

  .dog-walk-filter-group {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .dog-walk-filter-choices {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .dog-walk-filter-choices::-webkit-scrollbar {
    display: none;
  }

  .dog-walk-filter-choices span {
    white-space: nowrap;
  }

  .dog-walk-row {
    grid-template-columns: 50px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px 10px;
  }

  .dog-walk-meta {
    display: grid;
    gap: 3px;
  }

  .dog-walk-actions-menu {
    position: fixed;
    right: 14px;
    bottom: 14px;
    top: auto;
    width: calc(100vw - 28px);
  }

  .dog-confirm-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dog-profile-content,
  .dog-profile-photo,
  .dog-list-item-inner,
  .dog-walk-row,
  .dogs-notice {
    animation: none;
    transition: none;
  }
}
