.logo {
  display: block;
  width: 148px;
  max-width: 100%;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: none;
  object-fit: contain;
}

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

.title {
  margin: 0 0 6px;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
  text-wrap: balance;
}

.numeral {
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -0.02em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding-inline: 4px;
  color: var(--p-muted);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
}

.text-link:hover {
  color: var(--p-ink);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 18px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: #0a0a0a;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 1px 0 #fff, 0 6px 16px #00000059;
  transition: transform 160ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 160ms ease, background-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 #fff, 0 10px 22px #00000073;
}

.btn:active {
  transform: translateY(0);
}

.btn.secondary,
.btn.brand {
  border-color: #ffffff29;
  background: linear-gradient(180deg, #ffffff1a, #ffffff08);
  color: var(--p-ink);
  box-shadow: inset 0 1px 0 #ffffff40, 0 6px 16px #00000040;
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
}

.btn.secondary:hover,
.btn.brand:hover {
  background: linear-gradient(180deg, #ffffff26, #ffffff10);
  box-shadow: inset 0 1px 0 #ffffff59, 0 10px 22px #00000059;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.btn .icon {
  width: 16px;
  height: 16px;
}

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

.confirm-note + .actions {
  margin-top: 18px;
}

.brand-mark {
  width: 16px;
  height: 16px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}

.brand-lockup {
  display: block;
  height: 20px;
  width: auto;
  padding: 3px 6px;
  border-radius: 5px;
  background: #fff;
}

.source-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--p-muted);
  font-size: 13px;
  font-weight: 400;
}

.source-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 12px 0 14px;
  border-top: 1px solid var(--p-border);
  color: var(--p-muted);
  font-size: 13px;
}

/* Icons */

.icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[data-icon] {
  display: inline-grid;
  place-items: center;
}

.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--icon-border);
  border-radius: 999px;
  background: var(--icon-bg);
  color: var(--p-ink);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease;
}

.icon-btn:hover {
  background: var(--p-soft);
}

.icon-btn.glass {
  background: var(--glass);
  border-color: var(--glass-border);
  box-shadow: var(--glass-inset), var(--glass-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.icon-btn.has-dot::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--attention);
  box-shadow: 0 0 0 2px var(--p-bg);
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: 1px solid var(--p-border);
  border-radius: 999px;
  background: var(--avatar-bg);
  color: var(--p-ink);
  font-size: 12px;
  font-weight: 500;
}

/* Status */

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border: 1px solid #ffffff29;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff14, #ffffff06);
  color: var(--p-ink);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: inset 0 1px 0 #ffffff33;
}

.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--p-ink);
}

.status.attention::before {
  background: var(--attention);
  box-shadow: 0 0 0 3px var(--attention-soft);
}

.stat {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid var(--p-border);
  border-radius: 12px;
  background: var(--p-surface);
}

.stat-label {
  color: var(--p-muted);
  font-size: 13px;
}

.stat strong {
  display: block;
  margin: 6px 0 14px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.progress {
  display: flex;
  gap: 4px;
  height: 6px;
}

.progress span {
  flex: 1;
  border-radius: 999px;
  background: var(--track);
}

.progress span.done {
  background: var(--p-ink);
}

.steps {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  color: var(--p-muted);
  font-size: 12px;
}

.steps li.done {
  color: var(--p-ink);
}

.stat-note {
  margin: 10px 0 0;
  color: var(--p-muted);
  font-size: 12px;
}

.stat-action {
  align-self: flex-start;
  margin-top: 16px;
  min-height: 38px;
  padding-inline: 14px;
  font-size: 13px;
}

/* Navigation */

.nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav a {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--p-muted);
  font-size: 14px;
  text-decoration: none;
}

.nav a:hover:not([aria-current="page"]) {
  color: var(--p-ink);
  background: var(--p-soft);
}

.nav a[aria-current="page"] {
  color: var(--p-ink);
  font-weight: 500;
}

.nav-pill {
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid var(--nav-current-border);
  border-radius: inherit;
  background: var(--nav-current-bg);
  pointer-events: none;
}

.bottom-nav {
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  gap: 2px;
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  background: var(--nav-glass);
  border-top: 1px solid var(--p-border);
  box-shadow: 0 -4px 18px #00000066;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.bottom-nav a {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 44px;
  min-height: 48px;
  padding: 4px;
  color: var(--p-muted);
  font-size: 11px;
  text-decoration: none;
}

.bottom-nav a[aria-current="page"] {
  color: var(--p-ink);
  font-weight: 500;
}

.bottom-nav a:hover {
  color: var(--p-ink);
}

.bottom-pill {
  position: absolute;
  top: -9px;
  left: 50%;
  width: 28px;
  height: 2px;
  margin-left: -14px;
  border-radius: 0 0 2px 2px;
  background: var(--p-ink);
  pointer-events: none;
}

/* Sections */

.section {
  min-width: 0;
  margin-bottom: 16px;
  scroll-margin-top: 84px;
  overflow: hidden;
  border: 1px solid var(--p-border);
  border-radius: 12px;
  background: var(--p-panel);
  box-shadow: var(--shadow-section);
}

.section-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  padding: 8px 16px;
  background: var(--p-soft);
  border-bottom: 1px solid var(--p-border);
  color: var(--p-ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.section-count {
  color: var(--p-muted);
  font-size: 13px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.section-body {
  padding: 4px 16px;
}

.file-row,
.update-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--p-border);
}

.file-row:last-child,
.update-row:last-child {
  border-bottom: 0;
}

.file-row > div:not(.file-actions),
.update-row > div {
  flex: 1;
  min-width: 0;
}

.file-row strong,
.update-row strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
}

.file-row small,
.update-row small {
  display: block;
  margin-top: 2px;
  color: var(--p-muted);
  font-size: 13px;
}

.file-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.file-actions .btn {
  min-height: 38px;
  padding-inline: 14px;
  font-size: 13px;
}

.update-row .btn {
  min-height: 36px;
  padding-inline: 14px;
  font-size: 13px;
}

.file-symbol,
.update-dot {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: 1px solid var(--p-border);
  border-radius: 10px;
  background: var(--file-symbol-bg);
  color: var(--p-muted);
}

.update-dot {
  border-radius: 999px;
}

.update-dot.done {
  color: var(--p-ink);
}

.update-row.attention .update-dot {
  border-color: var(--attention-border);
  background: var(--attention-soft);
  color: var(--attention);
}

.albums {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 0 12px;
}

.album {
  min-width: 0;
  color: var(--p-muted);
  text-decoration: none;
}

.album img,
.photo-pending {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.album img {
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.album:hover img {
  transform: scale(1.02);
}

.photo-pending {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px dashed var(--p-border);
  background: var(--photo-pending-bg);
  color: var(--p-muted);
  font-size: 12px;
}

.album > span:last-child {
  display: block;
  margin-top: 8px;
  color: var(--p-ink);
  font-size: 13px;
}

.recent-photo {
  display: block;
  margin: 14px 0;
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
}

.photo-frame {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: var(--photo-pending-bg);
}

.recent-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 240px;
  object-fit: cover;
}

.recent-photo-meta {
  display: block;
  margin-top: 10px;
}

.recent-photo-meta strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
}

.recent-photo-meta small {
  display: block;
  margin-top: 2px;
  color: var(--p-muted);
  font-size: 13px;
}

.week-bar {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  color: var(--p-ink);
}

.week-bar .icon-btn {
  width: 44px;
  height: 44px;
}

.week-label {
  text-align: center;
  font-weight: 500;
}

.week-days {
  display: grid;
  gap: 0;
  padding: 4px 8px 8px;
}

.day {
  min-width: 0;
  padding: 12px 8px;
  border-bottom: 1px solid var(--p-border);
}

.day:last-child {
  border-bottom: 0;
}

.day-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.day-head strong {
  font-size: 15px;
  font-weight: 500;
}

.day-head span {
  color: var(--p-muted);
  font-size: 13px;
}

.slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--p-border);
  border-radius: 999px;
  background: transparent;
  color: var(--p-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
}

.slot:hover {
  border-color: var(--p-ink);
}

.slot.proposed {
  border-color: var(--attention-border);
  background: var(--attention-soft);
}

.slot-tag {
  color: var(--attention);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.no-times {
  margin: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--p-muted);
  font-size: 14px;
}

.confirm-body {
  padding: 8px 8px 16px;
}

.confirm-wait {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 14px;
  min-height: 220px;
  padding: 36px 16px;
  text-align: center;
}

.confirm-wait p {
  margin: 0;
  color: var(--p-muted);
  font-size: 14px;
}

.spokes {
  position: relative;
  width: 22px;
  height: 22px;
  color: var(--p-ink);
}

.spokes span {
  position: absolute;
  left: 10px;
  top: 0;
  width: 2px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: 1px 11px;
  animation: spoke-fade 0.8s linear infinite;
}

.spokes span:nth-child(1) { transform: rotate(0deg); animation-delay: -0.7s; }
.spokes span:nth-child(2) { transform: rotate(45deg); animation-delay: -0.6s; }
.spokes span:nth-child(3) { transform: rotate(90deg); animation-delay: -0.5s; }
.spokes span:nth-child(4) { transform: rotate(135deg); animation-delay: -0.4s; }
.spokes span:nth-child(5) { transform: rotate(180deg); animation-delay: -0.3s; }
.spokes span:nth-child(6) { transform: rotate(225deg); animation-delay: -0.2s; }
.spokes span:nth-child(7) { transform: rotate(270deg); animation-delay: -0.1s; }
.spokes span:nth-child(8) { transform: rotate(315deg); animation-delay: 0s; }

@keyframes spoke-fade {
  0% { opacity: 0.9; }
  100% { opacity: 0.12; }
}

.status-stack {
  width: max-content;
  max-width: 100%;
  margin: 12px 0 4px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.status-stack li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--p-muted);
  font-size: 15px;
}

.status-stack li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 30px;
  width: 2px;
  height: 18px;
  background: var(--p-border);
}

.step-mark {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border: 2px solid var(--p-border);
  border-radius: 50%;
  background: transparent;
}

.status-stack .reached {
  color: var(--p-ink);
}

.status-stack .reached .step-mark {
  border-color: var(--p-ink);
  background: var(--p-ink);
}

.status-stack .current {
  color: var(--p-ink);
  font-weight: 500;
}

.status-stack .current .step-mark {
  border-color: var(--attention);
  background: var(--attention);
  box-shadow: 0 0 0 4px var(--attention-soft);
}

.status-stack .later {
  opacity: 0.45;
}

.status-stack .later .step-mark {
  border-style: dashed;
}

.tab-bar {
  text-transform: none;
  letter-spacing: 0;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tabs button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--p-muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.tabs button[aria-selected="true"] {
  border-color: #fff;
  background: #fff;
  color: #0a0a0a;
}

.gallery-body {
  display: grid;
  gap: 22px;
  padding: 20px 16px 18px;
}

.tile {
  min-width: 0;
  margin: 0;
}

.tile img,
.tile .photo-pending {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
}

.tile .photo-pending {
  min-height: 220px;
  gap: 10px;
  font-size: 14px;
}

.photo-pending .icon {
  width: 22px;
  height: 22px;
}

.tile figcaption {
  margin-top: 12px;
}

.tile strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
}

.tile small {
  display: block;
  margin-top: 2px;
  color: var(--p-muted);
  font-size: 13px;
}

.gallery-credit {
  padding: 4px 0 0;
  border-top: 0;
}

.request-form,
.request-result {
  padding: 16px;
}

.request-form .btn {
  min-height: 44px;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.field span {
  color: var(--p-ink);
  font-size: 14px;
  font-weight: 500;
}

.field input,
.field textarea {
  transition: border-color var(--dur, 220ms) ease, box-shadow var(--dur, 220ms) ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #6f6f6f;
}

.field input:hover,
.field textarea:hover {
  border-color: var(--nav-current-border);
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--p-ink);
  box-shadow: 0 0 0 3px #ffffff1f;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--p-border);
  border-radius: 10px;
  background: #000;
  color: var(--p-ink);
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.request-result[hidden],
[hidden] {
  display: none !important;
}

.request-result {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 20px 16px;
}

.result-title {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.request-summary {
  margin: 0;
  padding-left: 12px;
  border-left: 2px solid var(--p-border);
  color: var(--p-muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.request-summary strong {
  display: block;
  color: var(--p-ink);
  font-weight: 500;
}

.request-result .btn {
  margin-top: 6px;
  min-height: 44px;
}

.icon-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-body {
  padding: 16px;
}

.contact-body p {
  margin: 0 0 14px;
  font-size: 14px;
}

.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Map */

.map {
  position: relative;
  isolation: isolate;
  min-height: 250px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--map-bg);
  color: var(--p-muted);
}

.map-canvas {
  position: absolute;
  inset: 0;
}

.map .leaflet-container {
  width: 100%;
  height: 100%;
  background: #111;
  font-family: inherit;
}

.map-pin-source {
  display: none;
}

.map-pin-wrap {
  display: grid !important;
  place-items: center;
  width: 30px !important;
  height: 30px !important;
  margin: 0 !important;
  border: 3px solid #fff !important;
  border-radius: 50%;
  background: #fff !important;
  color: #111;
  box-shadow: 0 0 0 6px #ffffff33, 0 4px 12px #000000a6;
}

.map-pin-wrap .icon {
  width: 14px;
  height: 14px;
}

.map-caption,
.map-credit {
  z-index: 500;
}

.map-caption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  background: var(--glass);
  box-shadow: var(--glass-inset), var(--glass-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.map-caption > div {
  flex: 1;
  min-width: 0;
}

.map-caption strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--p-ink);
}

.map-caption small {
  display: block;
  margin-top: 1px;
  font-size: 12px;
  color: var(--p-muted);
}

.map-caption a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: var(--p-ink);
}

.map-caption a:hover {
  background: #ffffff1a;
}

.map-credit {
  position: absolute;
  right: 8px;
  bottom: 6px;
  padding: 1px 4px;
  border-radius: 3px;
  background: var(--map-credit-bg);
  font-size: 10px;
  line-height: 1.4;
}

.map-credit a {
  color: inherit;
  text-decoration: none;
}

.confirm-note {
  display: block;
  max-width: 44ch;
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--p-muted);
  text-wrap: pretty;
}

.sample-note {
  margin: 0;
  font-size: 13px;
  color: var(--p-muted);
}

.section > .sample-note {
  padding: 12px 16px 14px;
  border-top: 1px solid var(--p-border);
}

/* Quiet footer shared by every page */

.page-foot {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--p-border);
  color: var(--p-muted);
  font-size: 13px;
  line-height: 1.5;
}

.page-foot p {
  max-width: 68ch;
  margin: 0;
  text-wrap: pretty;
}

.foot-tag {
  flex-shrink: 0;
  padding: 1px 8px;
  border: 1px solid var(--p-border);
  border-radius: 999px;
  color: var(--p-ink);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

/* Numbers that should line up */

.stat-note,
.file-row small,
.update-row small,
.visit-when,
.week-label,
.day-head span,
.slot,
.recent-photo-meta strong,
.tile strong,
.map-caption small,
.contact-actions .btn {
  font-variant-numeric: tabular-nums;
}

p,
small,
figcaption {
  text-wrap: pretty;
}

/* Light appearance */

:root[data-theme="light"] .btn {
  border-color: var(--p-accent);
  background: var(--p-accent);
  color: var(--p-on-accent);
  box-shadow: inset 0 1px 0 #ffffff33, 0 6px 14px #21304420;
}

:root[data-theme="light"] .btn.secondary,
:root[data-theme="light"] .btn.brand {
  border-color: var(--p-border);
  background: linear-gradient(180deg, #fff, #f6f7f9);
  color: var(--p-ink);
  box-shadow: inset 0 1px 0 #fff, 0 4px 12px #4d647014;
}

:root[data-theme="light"] .status {
  border-color: var(--p-border);
  background: #fff;
  box-shadow: none;
}

:root[data-theme="light"] .map-caption a:hover {
  background: #0000000d;
}

:root[data-theme="light"] .tabs button[aria-selected="true"] {
  border-color: var(--p-accent);
  background: var(--p-accent);
  color: var(--p-on-accent);
}

:root[data-theme="light"] .field input,
:root[data-theme="light"] .field textarea {
  background: #fff;
}

:root[data-theme="light"] .field input:focus-visible,
:root[data-theme="light"] .field textarea:focus-visible {
  box-shadow: 0 0 0 3px #3039441f;
}

:root[data-theme="light"] .field input::placeholder,
:root[data-theme="light"] .field textarea::placeholder {
  color: #8a8d93;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
