body.support-owner-page {
  --support-action: #c74612;
  --support-action-end: #b83b10;
  --support-action-hover: #96320f;
  min-height: 100vh;
  color: #263454;
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 190, 128, 0.2), transparent 24%),
    radial-gradient(circle at 92% 18%, rgba(80, 161, 219, 0.15), transparent 26%),
    #fffaf6;
}

body.support-owner-page [hidden] {
  display: none !important;
}

.support-view-nav {
  width: min(34rem, calc(100% - 40px));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 16px auto 0;
  gap: 8px;
}

.support-view-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid var(--pb-color-border, #dce3eb);
  border-radius: 999px;
  color: var(--pb-color-ink, #172743);
  background: var(--pb-color-surface, #fffdfb);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.support-view-nav a:hover,
.support-view-nav a[aria-current="page"] {
  border-color: var(--pb-color-primary, #0f5fab);
  color: var(--pb-color-primary, #0f5fab);
  background: var(--pb-color-primary-soft, #eaf3fb);
}

.support-view-nav a:focus-visible {
  outline: 3px solid var(--pb-color-focus, #0b579e);
  outline-offset: 3px;
}

.support-owner-header {
  position: relative;
  z-index: 20;
}

.support-owner-shell {
  width: min(1380px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 78px;
}

.support-owner-shell > .pb-page-path { margin-bottom: 16px; }

.support-owner-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  align-items: center;
  gap: clamp(18px, 3vw, 32px);
  overflow: hidden;
  overflow: clip;
  padding: clamp(26px, 4vw, 42px);
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 12%, rgba(255, 255, 255, 0.22), transparent 23%),
    linear-gradient(118deg, #b83b10 0%, #bb4a1d 47%, #185f91 100%);
  box-shadow: 0 28px 58px rgba(102, 63, 60, 0.18);
}

.support-owner-hero::after {
  position: absolute;
  right: -180px;
  bottom: -260px;
  width: 530px;
  height: 530px;
  border: 64px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.support-owner-hero > * {
  position: relative;
  z-index: 1;
}

.support-owner-hero .page-eyebrow {
  color: #fff1d9;
}

.support-owner-hero h1 {
  max-width: 760px;
  margin: 7px 0 13px;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.support-owner-hero-copy > p:not(.page-eyebrow) {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.96rem, 1.35vw, 1.12rem);
  line-height: 1.55;
}

.support-owner-hero-actions,
.support-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.support-owner-hero-actions {
  margin-top: 27px;
}

.support-owner-hero-actions--detached {
  margin-top: 14px;
}

.support-primary-button,
.support-secondary-button,
.support-calm-button,
.support-danger-button,
.support-grant-button,
.support-small-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.support-primary-button {
  color: #fff;
  background: linear-gradient(118deg, var(--support-action), var(--support-action-end));
  box-shadow: 0 12px 24px rgba(179, 62, 14, 0.24);
}

.support-owner-hero .support-primary-button {
  color: var(--support-action);
  background: #fff;
  box-shadow: 0 13px 26px rgba(84, 45, 38, 0.2);
}

.support-secondary-button,
.support-calm-button {
  border: 1px solid rgba(34, 62, 107, 0.15);
  color: #26598d;
  background: #f2f8fd;
}

.support-owner-hero .support-secondary-button {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
}

.support-danger-button {
  border: 1px solid rgba(199, 64, 51, 0.2);
  color: #b93d33;
  background: #fff4f1;
}

.support-primary-button:hover,
.support-secondary-button:hover,
.support-calm-button:hover,
.support-danger-button:hover,
.support-grant-button:hover,
.support-small-button:hover {
  transform: translateY(-2px);
}

.support-primary-button:hover {
  background: linear-gradient(118deg, var(--support-action-end), var(--support-action-hover));
}

.support-owner-hero .support-primary-button:hover {
  color: var(--support-action-hover);
  background: #fff;
}

.support-owner-primary-cta {
  min-width: min(100%, 22rem);
  min-height: 52px;
  border: 1px solid #0f5fab;
  border-radius: var(--pb-radius-sm, 12px);
  color: #fff;
  background: linear-gradient(135deg, #0f5fab 0%, #137aa8 100%);
  box-shadow: 0 10px 22px rgba(15, 95, 171, 0.2);
}

.support-owner-primary-cta:hover {
  border-color: #0b4f90;
  color: #fff;
  background: linear-gradient(135deg, #0b4f90 0%, #116f9c 100%);
}

.support-owner-shell :where(button, a[href], input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--pb-color-focus, #0b579e);
  outline-offset: 3px;
}

.support-owner-hero :where(button, a[href]):focus-visible {
  outline-color: #fff;
  box-shadow: 0 0 0 6px var(--pb-color-focus, #0b579e);
}

.support-source-options label:has(input:focus-visible),
.support-consent:has(input:focus-visible) {
  outline: 3px solid var(--pb-color-focus, #0b579e);
  outline-offset: 3px;
}

:where(.support-primary-button, .support-secondary-button, .support-calm-button, .support-danger-button, .support-grant-button, .support-small-button):disabled {
  opacity: 0.52;
  cursor: wait;
  transform: none;
}

:where(.support-primary-button, .support-secondary-button, .support-calm-button, .support-danger-button, .support-grant-button, .support-small-button)[aria-busy="true"] {
  opacity: 1;
  cursor: wait;
  transform: none;
}

.support-safety-stack {
  display: grid;
  gap: 11px;
}

.support-safety-stack article {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(10px);
}

.support-safety-stack article > span {
  display: grid;
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  place-items: center;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.17);
  font-size: 1.2rem;
  font-weight: 900;
}

.support-safety-stack strong,
.support-safety-stack small {
  display: block;
}

.support-safety-stack strong {
  margin-bottom: 3px;
  font-size: 0.93rem;
}

.support-safety-stack small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.75rem;
  line-height: 1.45;
}

.support-composer,
.owner-request-detail {
  margin-top: 22px;
  padding: clamp(22px, 3vw, 34px);
}

.support-composer[hidden],
.owner-request-detail[hidden] {
  display: none;
}

.support-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.support-section-heading h2 {
  margin: 3px 0 0;
  color: var(--blue-dark);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.support-section-heading-meta {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.support-icon-button {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid rgba(31, 55, 95, 0.12);
  border-radius: 50%;
  color: #5e6b82;
  background: #f8fafc;
  font: inherit;
  font-size: 1.45rem;
  cursor: pointer;
}

.support-refresh-button {
  color: var(--pb-color-primary, #0f5fab);
  background: var(--pb-color-primary-soft, #eaf3fb);
}

.support-refresh-button:hover {
  border-color: rgba(15, 95, 171, 0.35);
  color: var(--pb-color-primary-hover, #0b4f90);
  background: #d9ebfa;
}

.support-refresh-button:disabled {
  opacity: 0.56;
  cursor: wait;
}

.support-refresh-button[aria-busy="true"] > span {
  display: inline-block;
  animation: support-refresh-spin 850ms linear infinite;
}

@keyframes support-refresh-spin {
  to { transform: rotate(360deg); }
}

.support-composer-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: 24px;
  align-items: stretch;
}

.support-request-form {
  display: grid;
  align-content: start;
  gap: 17px;
}

.support-field {
  display: grid;
  gap: 7px;
}

.support-field > span,
.support-source-options legend {
  color: #243659;
  font-size: 0.8rem;
  font-weight: 850;
}

.support-field :where(select, input),
.support-inline-form :where(select, input) {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid var(--pb-color-control-border, #7889a0);
  border-radius: 13px;
  color: #253556;
  background: #fff;
  font: inherit;
  font-size: 0.84rem;
}

.support-field small {
  color: #626d80;
  font-size: 0.75rem;
}

.support-source-options {
  display: grid;
  margin: 0;
  padding: 0;
  border: 0;
  gap: 9px;
}

.support-source-options legend {
  margin-bottom: 8px;
}

.support-source-options label {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 13px;
  border: 1px solid rgba(40, 67, 108, 0.12);
  border-radius: 14px;
  background: #fbfcfe;
  cursor: pointer;
}

.support-source-options label:has(input:checked) {
  border-color: rgba(255, 90, 22, 0.4);
  background: #fff8f2;
  box-shadow: 0 0 0 3px rgba(255, 90, 22, 0.08);
}

.support-source-options input,
.support-consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: var(--orange);
}

.support-source-options b,
.support-source-options small {
  display: block;
}

.support-source-options b {
  color: #26395c;
  font-size: 0.78rem;
}

.support-source-options small {
  margin-top: 2px;
  color: #56657a;
  font-size: 0.75rem;
}

.support-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px;
  border-radius: 14px;
  color: #53617a;
  background: #f3f8fc;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
}

.support-consent input {
  margin-top: 2px;
}

.support-form-error {
  margin: 0;
  padding: 11px 13px;
  border: 1px solid rgba(205, 65, 49, 0.16);
  border-radius: 12px;
  color: #af3e33;
  background: #fff2ef;
  font-size: 0.76rem;
  font-weight: 750;
}

.support-submit-button {
  width: 100%;
  border-radius: 14px;
}

.support-location-picker {
  min-width: 0;
  overflow: hidden;
  padding: 15px;
  border: 1px solid rgba(42, 70, 111, 0.12);
  border-radius: 20px;
  background: #f7fafc;
}

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

.support-map-heading strong,
.support-map-heading small {
  display: block;
}

.support-map-heading strong {
  color: #21365b;
  font-size: 0.9rem;
}

.support-map-heading small {
  margin-top: 2px;
  color: #56657a;
  font-size: 0.75rem;
  line-height: 1.45;
}

.support-small-button {
  min-height: 44px;
  padding: 8px 13px;
  color: #236aa4;
  background: #eaf5fc;
  font-size: 0.8125rem;
}

.support-manual-coordinates {
  margin-bottom: 12px;
  border: 1px solid rgba(42, 70, 111, 0.14);
  border-radius: 14px;
  background: #fff;
}

.support-manual-coordinates summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  padding: 9px 12px;
  color: #3f5f7d;
  font-size: 0.76rem;
  font-weight: 850;
  cursor: pointer;
}

.support-manual-coordinates summary:focus-visible {
  outline: 3px solid var(--pb-color-focus, #0b579e);
  outline-offset: 3px;
}

.support-coordinate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 9px;
  padding: 0 12px 12px;
}

.support-map-privacy {
  display: flex;
  margin-bottom: 12px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(35, 106, 164, 0.14);
  border-radius: 14px;
  background: #edf6fc;
}

.support-map-privacy p {
  margin: 0;
  color: #435c74;
  font-size: 0.75rem;
  font-weight: 680;
  line-height: 1.5;
}

.support-map-privacy .support-secondary-button {
  flex: 0 0 auto;
}

#support-request-map,
.support-meeting-map,
.support-last-seen-map {
  height: 390px;
  overflow: hidden;
  border: 1px solid rgba(35, 60, 98, 0.14);
  border-radius: 16px;
  background: #e9f1f6;
}

.support-meeting-map,
.support-last-seen-map {
  height: 250px;
}

.support-meeting-map.is-private-base,
.support-last-seen-map.is-private-base {
  background-color: #edf4f8;
  background-image:
    linear-gradient(rgba(42, 101, 143, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 101, 143, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}

body.support-owner-page .leaflet-control-zoom a {
  width: 44px !important;
  height: 44px !important;
  line-height: 44px !important;
}

body.support-owner-page .support-exact-marker-target {
  width: 44px !important;
  height: 44px !important;
  display: grid;
  border: 0;
  background: transparent;
  place-items: center;
}

body.support-owner-page .support-exact-marker-target span {
  width: 24px;
  height: 24px;
  display: block;
  border: 4px solid #ffffff;
  border-radius: 50%;
  background: var(--support-action);
  box-shadow: 0 0 0 2px #8d2e0d, 0 7px 15px rgba(35, 52, 84, 0.24);
}

body.support-owner-page .leaflet-control-attribution {
  max-width: calc(100% - 12px);
  white-space: normal;
}

.support-map-status {
  margin: 10px 2px 0;
  color: #67748b;
  font-size: 0.75rem;
  font-weight: 720;
}

.support-map-status.is-ready {
  color: #27815c;
}

.support-location-picker.is-gps-mode {
  display: grid;
  min-height: 280px;
  place-items: center;
  text-align: center;
}

.support-location-picker.is-gps-mode > :not(.support-map-status) {
  display: none;
}

.support-location-picker.is-gps-mode .support-map-status {
  max-width: 420px;
  margin: 0;
  padding: 22px;
  border-radius: 18px;
  color: #2c5f8c;
  background: #eaf5fd;
  font-size: 0.84rem;
  line-height: 1.6;
}

.support-owner-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.34fr);
  gap: 20px;
  align-items: start;
  margin-top: 26px;
}

.support-owner-layout--tasks {
  grid-template-columns: minmax(0, 1fr);
}

.support-task-priority {
  min-width: 0;
  padding: clamp(20px, 3vw, 30px);
}

.support-request-center {
  min-width: 0;
}

.support-last-updated {
  color: #626d80;
  font-size: 0.7rem;
  font-weight: 720;
}

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

.support-loading-card,
.support-empty-card,
.owner-request-card {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(42, 65, 104, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(66, 51, 64, 0.07);
}

.support-loading-card > span {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border: 4px solid #e4edf4;
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: support-spin 800ms linear infinite;
}

.support-loading-card b,
.support-loading-card small,
.support-empty-card b,
.support-empty-card small {
  display: block;
}

.support-loading-card b,
.support-empty-card b {
  color: #22365a;
  font-size: 0.9rem;
}

.support-loading-card small,
.support-empty-card small {
  margin-top: 3px;
  color: #56657a;
  font-size: 0.75rem;
}

.support-empty-card {
  border-style: dashed;
}

.support-empty-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 16px;
  color: #e45217;
  background: #fff0e4;
  font-size: 1.25rem;
}

.owner-request-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.owner-request-card.is-active {
  border-color: rgba(255, 90, 22, 0.2);
  background: linear-gradient(135deg, #fff, #fff9f4);
}

.owner-request-paw {
  position: relative;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 20px;
  background: #fff2e7;
  box-shadow: 0 9px 20px rgba(52, 54, 81, 0.12);
}

.owner-request-paw img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.owner-request-copy {
  min-width: 0;
}

.owner-request-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.owner-request-title-row h3 {
  margin: 0;
  color: #20375d;
  font-size: 1.03rem;
}

.support-status-pill,
.support-location-precision,
.support-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #2f6c9b;
  background: #eaf5fc;
  font-size: 0.75rem;
  font-weight: 850;
  line-height: 1.1;
}

.support-status-pill.is-warm {
  color: #9a4c26;
  background: #fff1df;
}

.support-status-pill.is-success {
  color: #277b59;
  background: #eaf8f1;
}

.support-status-pill.is-danger {
  color: #8b2f27;
  background: #ffe8e3;
}

.support-status-pill.is-closed {
  color: #56657a;
  background: #eef1f5;
}

.owner-request-copy > p {
  margin: 7px 0 0;
  color: #5e6d85;
  font-size: 0.76rem;
  font-weight: 720;
  line-height: 1.45;
}

.owner-request-copy > .owner-request-attention {
  padding: 7px 9px;
  border-radius: 10px;
  color: #8b342b;
  background: #fff0ec;
  font-weight: 850;
}

.support-custody-assistance {
  border: 2px solid rgba(179, 66, 48, 0.27);
  background: linear-gradient(145deg, #fff7f3, #fff);
  box-shadow: 0 15px 32px rgba(112, 50, 42, 0.08);
}

.support-custody-assistance > h3 {
  color: #78392f;
}

.support-custody-assistance.is-resolved {
  border-color: rgba(69, 111, 101, 0.2);
  background: linear-gradient(145deg, #f4faf7, #fff);
  box-shadow: none;
}

.support-custody-assistance.is-resolved > h3 {
  color: #315f54;
}

.support-custody-presence-summary small {
  display: block;
  margin-top: 6px;
  color: #60728b;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.45;
}

.support-custody-reason {
  display: grid;
  margin-top: 13px;
  padding: 13px 14px;
  gap: 4px;
  border: 1px solid rgba(179, 66, 48, 0.17);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
}

.support-custody-reason > span {
  color: #8b5c55;
  font-size: 0.63rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.support-custody-reason > strong {
  color: #74362e;
  font-size: 0.9rem;
}

.support-custody-reason > p {
  margin: 2px 0 0;
  color: #645d60;
  font-size: 0.75rem;
  line-height: 1.5;
}

.support-custody-status {
  margin-top: 11px;
}

.support-custody-action-note {
  margin: 9px 0 0;
  color: #6a6070;
  font-size: 0.75rem;
  font-weight: 720;
  line-height: 1.5;
}

.support-custody-action-note.is-blocked {
  padding: 10px 12px;
  border-radius: 12px;
  color: #803a32;
  background: #fff0ec;
}

.support-custody-assistance .support-secondary-button.is-unavailable:disabled {
  cursor: not-allowed;
}

.owner-request-meta {
  display: flex;
  margin-top: 7px;
  flex-wrap: wrap;
  gap: 6px 13px;
  color: #626d7c;
  font-size: 0.75rem;
}

.owner-request-open {
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 90, 22, 0.18);
  border-radius: 999px;
  color: #b74714;
  background: #fff;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 850;
  cursor: pointer;
}

.support-history {
  margin-top: 14px;
  border: 1px solid rgba(37, 62, 101, 0.09);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.62);
}

.support-history summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 14px 17px;
  color: #617087;
  font-size: 0.75rem;
  font-weight: 850;
  cursor: pointer;
}

.support-history summary span {
  display: inline-grid;
  min-width: 24px;
  min-height: 24px;
  margin-left: 5px;
  place-items: center;
  border-radius: 999px;
  background: #eef2f6;
}

.owner-history-list {
  padding: 0 12px 12px;
}

.owner-history-list .owner-request-card {
  box-shadow: none;
}

.support-guidance-card {
  padding: 24px;
}

.support-form-safety-note {
  margin: 0;
  padding: 13px 15px;
  border: 1px solid rgba(185, 83, 32, 0.26);
  border-radius: 14px;
  color: #87431f;
  background: #fff3e8;
  font-size: 0.75rem;
  line-height: 1.55;
}

.support-form-safety-note strong {
  color: #753719;
}

.support-guidance-disclosure {
  margin-top: 22px;
  overflow: hidden;
}

.support-guidance-disclosure > summary {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  color: #244d78;
  cursor: pointer;
  list-style: none;
}

.support-guidance-disclosure > summary::-webkit-details-marker {
  display: none;
}

.support-guidance-disclosure > summary::after {
  content: "+";
  flex: 0 0 auto;
  color: #12679e;
  font-size: 1.25rem;
  font-weight: 850;
  line-height: 1;
}

.support-guidance-disclosure[open] > summary::after {
  content: "−";
}

.support-guidance-disclosure > summary span,
.support-guidance-disclosure > summary small {
  display: block;
}

.support-guidance-disclosure > summary span {
  font-size: 0.92rem;
  font-weight: 850;
}

.support-guidance-disclosure > summary small {
  margin-left: auto;
  color: #56657a;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: right;
}

.support-guidance-disclosure[open] > summary {
  border-bottom: 1px solid rgba(37, 62, 101, 0.11);
  background: #f5f9fc;
}

.support-guidance-disclosure > summary:focus-visible {
  outline: 3px solid var(--pb-color-focus, #0b579e);
  outline-offset: -3px;
}

.support-guidance-disclosure__content {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(17rem, 0.75fr);
  gap: 20px;
  padding: 20px;
}

.support-safety-stack--light {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.support-safety-stack--light article {
  min-width: 0;
  align-items: flex-start;
  border-color: rgba(34, 77, 120, 0.12);
  color: #263d61;
  background: #f4f8fb;
  backdrop-filter: none;
}

.support-safety-stack--light article > span {
  color: #12679e;
  background: #e4f1f8;
}

.support-safety-stack--light small {
  color: #56657a;
}

.support-guidance-copy {
  padding: 0;
}

.support-guidance-copy > p:last-child {
  margin-top: 14px;
}

.support-guidance-card h2 {
  margin: 4px 0 17px;
  color: var(--blue-dark);
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.support-guidance-card ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 10px;
  list-style: none;
}

.support-guidance-card li {
  position: relative;
  padding-left: 24px;
  color: #5d6a80;
  font-size: 0.75rem;
  line-height: 1.52;
}

.support-guidance-card li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #2f9c6b;
  content: "✓";
  font-size: 0.58rem;
  font-weight: 900;
}

.support-guidance-card > p:last-child {
  margin: 18px 0 0;
  padding: 13px;
  border-radius: 14px;
  color: #9a4c26;
  background: #fff3e8;
  font-size: 0.75rem;
  font-weight: 720;
  line-height: 1.55;
}

.owner-detail-heading {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(36, 59, 97, 0.1);
}

.owner-detail-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(116deg, #263e69, #2576ae);
}

.owner-detail-paw {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
}

.owner-detail-paw img {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border: 3px solid rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  object-fit: cover;
}

.owner-detail-paw h3,
.owner-detail-paw p {
  margin: 0;
}

.owner-detail-paw h3 {
  font-size: 1.25rem;
}

.owner-detail-paw p {
  margin-top: 5px;
  color: #fff;
  font-size: 0.75rem;
}

.owner-detail-state {
  text-align: right;
}

.owner-detail-state strong,
.owner-detail-state small {
  display: block;
}

.owner-detail-state strong {
  font-size: 1rem;
}

.owner-detail-state small {
  margin-top: 5px;
  color: #fff;
  font-size: 0.75rem;
}

.support-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-top: 17px;
}

.support-detail-panel {
  min-width: 0;
  padding: 19px;
  border: 1px solid rgba(38, 62, 101, 0.1);
  border-radius: 19px;
  background: #fbfcfe;
}

.support-detail-panel-wide {
  grid-column: 1 / -1;
}

.support-detail-panel > h3,
.support-handoff-card h4 {
  margin: 0 0 13px;
  color: #22395e;
  font-size: 0.98rem;
}

.support-panel-note {
  margin: -6px 0 13px;
  color: #53667f;
  font-size: 0.75rem;
  line-height: 1.5;
}

.support-location-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.support-location-summary p {
  margin: 0;
  color: #58667d;
  font-size: 0.75rem;
  line-height: 1.5;
}

.support-location-coordinate {
  margin: -4px 0 12px;
  color: #3f5872;
  font-size: 0.75rem;
  font-weight: 720;
  line-height: 1.5;
}

.support-participant-list,
.support-report-list,
.support-timeline,
.support-arrival-list {
  display: grid;
  gap: 9px;
}

.support-participant-card,
.support-report-card,
.support-arrival-card,
.support-timeline-item,
.support-proposal {
  padding: 13px;
  border: 1px solid rgba(39, 63, 101, 0.1);
  border-radius: 14px;
  background: #fff;
}

.support-participant-heading,
.support-report-heading,
.support-arrival-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.support-participant-heading strong,
.support-report-heading strong,
.support-arrival-heading strong {
  color: #263a5d;
  font-size: 0.78rem;
}

.support-participant-heading small,
.support-report-heading small,
.support-arrival-heading small {
  color: #53667f;
  font-size: 0.75rem;
}

.support-grant-row {
  display: flex;
  margin-top: 10px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.support-grant-note {
  margin: 0;
  color: #53667f;
  font-size: 0.75rem;
  line-height: 1.4;
}

.support-grant-button {
  min-height: 44px;
  padding: 8px 12px;
  color: #246e9f;
  background: #eaf5fc;
  font-size: 0.8125rem;
}

.support-grant-button.is-revoke {
  color: #a64b37;
  background: #fff0eb;
}

.support-report-tags {
  display: flex;
  margin-top: 9px;
  flex-wrap: wrap;
  gap: 5px;
}

.support-tag {
  color: #52637a;
  background: #eef3f7;
}

.support-tag-critical {
  color: #ad3d33;
  background: #fff0ed;
}

.support-tag-warning {
  color: #9a5c18;
  background: #fff6df;
}

.support-report-location {
  margin: 9px 0 0;
  color: #66748a;
  font-size: 0.75rem;
}

.support-handoff-card {
  display: grid;
  gap: 13px;
}

.support-proposal.is-emergency {
  border-color: rgba(207, 62, 49, 0.2);
  background: #fff3f0;
}

.support-proposal h5,
.support-proposal p {
  margin: 0;
}

.support-proposal h5 {
  color: #23395e;
  font-size: 0.87rem;
}

.support-proposal p {
  margin-top: 6px;
  color: #657187;
  font-size: 0.75rem;
  line-height: 1.52;
}

.support-action-row {
  margin-top: 12px;
}

.support-action-row > * {
  flex: 0 1 auto;
}

.support-inline-form {
  display: grid;
  grid-template-columns: minmax(150px, 0.75fr) minmax(180px, 1fr) auto;
  gap: 8px;
  align-items: end;
}

.support-inline-form label {
  display: grid;
  gap: 5px;
  color: #5e6b80;
  font-size: 0.75rem;
  font-weight: 800;
}

.support-arrival-card p {
  margin: 6px 0 0;
  color: #67758a;
  font-size: 0.75rem;
}

.delivery-code-box {
  display: grid;
  margin-top: 12px;
  padding: 18px;
  place-items: center;
  border: 2px dashed rgba(255, 90, 22, 0.35);
  border-radius: 17px;
  text-align: center;
  background: #fff8f2;
}

.delivery-code-box small,
.delivery-code-box span {
  display: block;
}

.delivery-code-box small {
  color: #8a654f;
  font-size: 0.75rem;
}

.support-code-value {
  margin: 7px 0;
  color: #d84e15;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 0.18em;
}

.support-timeline-item {
  position: relative;
  padding-left: 35px;
}

.support-timeline-item::before {
  position: absolute;
  top: 14px;
  left: 13px;
  width: 10px;
  height: 10px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #2e86bf;
  box-shadow: 0 0 0 2px rgba(46, 134, 191, 0.18);
  content: "";
}

.support-timeline-item strong,
.support-timeline-item small {
  display: block;
}

.support-timeline-item strong {
  color: #2a3e60;
  font-size: 0.75rem;
}

.support-timeline-item small {
  margin-top: 3px;
  color: #56657a;
  font-size: 0.75rem;
}

.support-terminal-actions {
  padding-top: 3px;
  border-top: 1px solid rgba(40, 62, 98, 0.1);
}

.support-no-paw {
  display: flex;
  margin-top: 25px;
  align-items: center;
  gap: 16px;
  padding: 26px;
}

.support-no-paw > span {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  place-items: center;
  border-radius: 19px;
  background: #fff0e3;
  font-size: 1.5rem;
}

.support-no-paw h2,
.support-no-paw p {
  margin: 0;
}

.support-no-paw h2 {
  color: #22375c;
  font-size: 1.15rem;
}

.support-no-paw p {
  margin-top: 5px;
  color: #56657a;
  font-size: 0.75rem;
}

.support-no-paw .support-primary-button {
  margin-left: auto;
}

.support-error-state {
  padding: 18px;
  border: 1px solid rgba(200, 60, 48, 0.15);
  border-radius: 17px;
  color: #a94236;
  background: #fff3f0;
  font-size: 0.78rem;
  font-weight: 730;
  line-height: 1.55;
}

.support-history summary:focus-visible {
  outline: 3px solid var(--pb-color-focus, #0b579e);
  outline-offset: 3px;
}

@keyframes support-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1080px) {
  .support-owner-hero,
  .support-composer-layout,
  .support-owner-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .support-safety-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .support-safety-stack article {
    align-items: flex-start;
  }

  .support-guidance-disclosure__content {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .support-view-nav {
    width: calc(100% - 24px);
    margin-top: 12px;
  }

  .support-view-nav a {
    min-width: 0;
    padding-inline: 8px;
  }

  body.support-owner-page .support-owner-header {
    min-height: 0;
    flex-wrap: wrap;
    gap: 6px 12px;
    padding: max(8px, env(safe-area-inset-top)) 12px 9px;
  }

  body.support-owner-page .support-owner-header .app-brand .brand-mark.brand-mark-legacy {
    width: 70px;
    height: 70px;
    flex-basis: 70px;
  }

  body.support-owner-page .support-owner-header .workspace-actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  body.support-owner-page .support-owner-header .header-action {
    min-height: 44px;
    padding: 8px 10px;
    font-size: 0.8125rem;
  }

  body.support-owner-page .support-owner-header .logout-wordmark {
    width: 82px;
  }

  .support-owner-shell {
    width: calc(100% - 14px);
    padding: 10px 0 52px;
  }

  .support-owner-hero {
    min-height: 0;
    padding: 28px 22px;
    border-radius: 25px;
  }

  .support-owner-hero h1 {
    font-size: clamp(2.2rem, 13vw, 3.35rem);
  }

  body.support-owner-page:not(.support-volunteer-page) .support-owner-shell {
    width: calc(100% - 32px);
  }

  body.support-owner-page:not(.support-volunteer-page) .support-owner-hero {
    padding: var(--pb-space-4, 16px);
    border-radius: var(--pb-radius-lg, 20px);
  }

  body.support-owner-page:not(.support-volunteer-page) .support-owner-hero h1 {
    margin: 0 0 var(--pb-space-3, 12px);
    font-size: clamp(2rem, 7vw, 3.25rem);
    font-weight: var(--pb-font-weight-medium, 500);
    letter-spacing: normal;
    line-height: 1.2;
    text-wrap: balance;
  }

  body.support-owner-page:not(.support-volunteer-page) .support-owner-hero-actions {
    margin-top: var(--pb-space-3, 12px);
  }

  body.support-owner-page:not(.support-volunteer-page) .support-owner-primary-cta {
    width: 100%;
  }

  .support-safety-stack {
    grid-template-columns: minmax(0, 1fr);
  }

  .support-task-priority {
    padding: 18px 14px;
    border-radius: 21px;
  }

  .support-guidance-disclosure > summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 15px 14px;
  }

  .support-guidance-disclosure > summary small {
    margin-left: 0;
    text-align: left;
  }

  .support-guidance-disclosure__content {
    padding: 14px;
  }

  .support-owner-hero-actions > *,
  .support-action-row > * {
    width: 100%;
  }

  .support-composer,
  .owner-request-detail {
    padding: 18px 14px;
    border-radius: 21px;
  }

  .support-section-heading {
    align-items: flex-start;
  }

  .support-section-heading-meta {
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  body.support-owner-page:not(.support-volunteer-page)
    .support-task-priority
    > .support-section-heading {
    flex-wrap: wrap;
  }

  .support-map-heading,
  .support-map-privacy,
  .support-location-summary,
  .support-grant-row {
    align-items: stretch;
    flex-direction: column;
  }

  #support-request-map {
    height: 330px;
  }

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

  .support-coordinate-grid .support-small-button,
  .support-map-privacy .support-secondary-button {
    width: 100%;
  }

  .owner-request-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .owner-request-open {
    grid-column: 1 / -1;
    width: 100%;
  }

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

  .support-detail-panel-wide {
    grid-column: auto;
  }

  .owner-detail-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .owner-detail-state {
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    text-align: left;
  }

  .support-inline-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .support-no-paw {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .support-no-paw .support-primary-button {
    width: 100%;
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-loading-card > span {
    animation-duration: 1.8s;
  }

  :where(.support-primary-button, .support-secondary-button, .support-calm-button, .support-danger-button, .support-grant-button, .support-small-button) {
    transition: none;
  }

  .support-refresh-button[aria-busy="true"] > span {
    animation: none;
  }
}

@media (forced-colors: active) {
  .support-guidance-disclosure,
  .support-safety-stack--light article,
  .support-form-safety-note,
  .support-task-priority {
    border-color: CanvasText;
    forced-color-adjust: auto;
  }

  .support-guidance-disclosure > summary::after {
    color: CanvasText;
  }
}
