:root {
  color-scheme: light dark;
  font: 16px/1.5 "Segoe UI", sans-serif;
  background: #eeeee3;
  color: #203730;
  --paper: #fafaf0;
  --muted: #56665e;
  --line: #c9d1c4;
  --accent: #174f3d;
  --active: #d4e6d8;
}
* { box-sizing: border-box }
[hidden] { display: none !important }
body { margin: 0 }
main { max-width: 680px; margin-inline: auto; padding: max(32px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)) }
header { display: flex; justify-content: space-between; align-items: end; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line) }
.product { color: var(--accent); font-size: 13px; font-weight: 700; margin: 0 0 5px }
h1 { margin: 0; font: 400 clamp(32px, 9vw, 48px)/1.08 Georgia, serif; letter-spacing: -.045em }
#status { color: var(--muted); margin: 15px 0 0; font-size: 14px }
ul { padding: 0; margin: 14px 0 0; list-style: none; display: grid; gap: 8px }
li { min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 15px 16px 10px }
.title { display: flex; align-items: start; justify-content: space-between; gap: 10px }
h2 { font-size: 17px; line-height: 1.35; margin: 0; overflow-wrap: anywhere }
.state { margin: 4px 0 0; font-size: 14px; color: var(--muted) }
.current { flex: none; padding: 3px 7px; border-radius: 5px; background: var(--active); color: var(--accent); font-size: 12px; font-weight: 650 }
button, .visit { min-height: 42px; display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 14px; font-weight: 600; color: var(--accent); cursor: pointer }
button { background: var(--paper); border: 1px solid var(--line); border-radius: 7px; padding: 0 10px }
.visit { text-underline-offset: 4px }
button:focus-visible, .visit:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px }
button:disabled { opacity: .65 }
@media (prefers-color-scheme: dark) {
  :root { background: #14221e; color: #eef1e5; --paper: #1e3029; --muted: #b9c7bd; --line: #3b5147; --accent: #b4e1c8; --active: #305447 }
}
