:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172633;
  background: #f2f7fa;
  font-size: 15px;
}
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 1160px; margin: auto; padding: 32px clamp(14px, 4vw, 44px); }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.page-heading p { margin: 0 0 6px; color: #00698e; font-weight: 650; }
h1 { margin: 0; font-size: clamp(2rem, 6vw, 2.85rem); letter-spacing: -.045em; }
h2 { margin: 0; font-size: 1.1rem; }
button, select { font: inherit; min-height: 38px; }
button {
  cursor: pointer; border: 1px solid #bdcbd4; border-radius: 5px;
  padding: 6px 13px; color: inherit; background: white;
}
button:disabled { cursor: default; opacity: .55; }
:focus-visible { outline: 2px solid #00698e; outline-offset: 3px; }
#status { margin: 12px 0; min-height: 1.4em; }
nav { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid #bdcbd4; }
nav button { border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: none; }
nav button[aria-pressed="true"] { border-bottom-color: #007ca6; color: #00698e; font-weight: 650; }
.record { margin: 14px 0; padding: 14px; background: white; border: 1px solid #d2dfe7; border-radius: 7px; }
summary { cursor: pointer; font-weight: 650; overflow-wrap: anywhere; }
summary span { color: #526575; font-weight: 400; margin-left: .65rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.primary { border-color: #00698e; background: #00698e; color: white; font-weight: 650; }
.diff { white-space: pre-wrap; overflow-wrap: anywhere; font: .84rem/1.6 ui-monospace, monospace; }
.diff div { padding: 1px 10px; min-height: 1.6em; }
.diff .removed { background: #ffe8e6; color: #831c28; }
.diff .added { background: #e1f6e9; color: #135835; }
.image-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.image-compare p { font-weight: 650; }
.image-compare img { width: min(118px, 48%); height: 96px; object-fit: contain; margin: 1%; border: 1px solid #d2dfe7; }
.more { color: #526575; }
.price-controls { display: grid; gap: 10px; max-width: 580px; }
.price-controls select { color: inherit; background: white; max-width: 100%; }
.admin-link { color: #00698e; }
.activity-changes { margin: 6px 0 0; padding-left: 22px; overflow-wrap: anywhere; }
@media (max-width: 460px) {
  nav button { padding-inline: .55rem; }
  summary span { display: block; margin: 4px 0 0 16px; }
  .image-compare img { width: 100%; }
}
