:root {
  color-scheme: light;
  --ink: #272134;
  --muted: #5b5361;
  --accent: #803927;
  --rule: #ddd5ce;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: #faf7f2;
  line-height: 1.65;
}
* { box-sizing: border-box; }
body { margin: 0; }
header, footer { padding: 18px max(6vw, calc((100vw - 1080px) / 2)); }
header {
  background: #241d30;
  color: #fff6ed;
  display: flex;
  gap: 12px 30px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 1.18rem; }
.brand img { width: 38px; height: 38px; }
nav { display: flex; gap: 20px; flex-wrap: wrap; }
nav a { font-size: .93rem; color: #ede5e3; }
nav a[aria-current="page"] { color: #ffbea9; text-decoration: underline; }
a { color: var(--accent); text-underline-offset: .19em; }
:focus-visible { outline: 3px solid #99533a; outline-offset: 4px; }
main { margin: 0 auto; width: min(88%, 740px); padding: clamp(40px, 8vw, 80px) 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.12; }
h1 { margin: 0 0 12px; max-width: 18ch; font-size: clamp(2.55rem, 8vw, 4.35rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.55rem, 4vw, 2.05rem); margin: 0 0 12px; letter-spacing: -.025em; }
p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }
.date { color: var(--muted); font-size: .94rem; margin-bottom: 20px; }
.intro { font-size: 1.15rem; max-width: 57ch; }
section { border-top: 1px solid var(--rule); padding-top: 24px; margin-top: 30px; }
footer { border-top: 1px solid var(--rule); color: var(--muted); font-size: .92rem; }
.panel { padding: clamp(19px, 5vw, 36px); background: #fffcf8; border: 1px solid var(--rule); border-radius: 14px; }
.field { display: block; max-width: 29rem; font-weight: 600; margin: 14px 0; }
input:not([type="checkbox"]) { width: 100%; font: inherit; padding: 9px 12px; margin-top: 4px; background: white; color: var(--ink); border: 1px solid #988b8a; border-radius: 6px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 14px; }
button { font: inherit; font-weight: 600; border: 1px solid transparent; border-radius: 7px; padding: 9px 15px; cursor: pointer; background: #34283c; color: #fff; }
button.secondary { color: var(--accent); background: transparent; border-color: #c7b5aa; }
button.danger { background: #84382d; }
button:disabled { opacity: .55; cursor: default; }
.confirm { display: flex; align-items: flex-start; gap: .65em; }
.confirm input { margin: .4em 0 0; width: 1.1em; height: 1.1em; }
.status:not(:empty) { padding: 12px 0 0; margin: 0; font-weight: 600; }
.small { color: var(--muted); font-size: .94rem; }
.address { overflow-wrap: anywhere; }
noscript { display: block; padding: 10px 0; }
[hidden] { display: none !important; }
