:root { color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; background: #f7f4ee; color: #1c1915; font: 16px/1.45 Georgia, "Times New Roman", serif; }
header, main, footer { max-width: 42rem; margin: 0 auto; padding: 1.25rem; }
header, footer { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 1px solid #d9d2c5; }
footer { border-bottom: 0; border-top: 1px solid #d9d2c5; }
.mark { font-size: 1.6rem; letter-spacing: -0.02em; text-decoration: none; color: inherit; }
.eyebrow { font: 600 0.72rem/1 system-ui, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; }
h1 { font-size: clamp(2rem, 8vw, 3.1rem); font-weight: 500; line-height: 1.05; margin: 0.35rem 0 0.6rem; }
h2 { font-size: 1.7rem; font-weight: 500; margin: 0.2rem 0 0.6rem; }
p { margin: 0.4rem 0; }
section { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid #d9d2c5; }
.muted { color: #5c564c; }
button, input, select, a.btn { font: 500 0.95rem/1.2 system-ui, sans-serif; }
button, a.btn { cursor: pointer; background: #1c1915; color: #f7f4ee; border: 0; min-height: 2.75rem; padding: 0.6rem 0.9rem; text-align: left; text-decoration: none; display: inline-flex; align-items: center; }
a.btn.ghost, button.ghost { background: transparent; color: #1c1915; border: 1px solid #1c1915; }
.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
button.line { background: transparent; color: inherit; border: 0; border-bottom: 1px solid #d9d2c5; width: 100%; }
input, select { width: 100%; min-height: 2.75rem; border: 1px solid #1c1915; background: #fffdf8; padding: 0 0.7rem; }
ul { list-style: none; padding: 0; margin: 0.8rem 0; display: grid; gap: 0.5rem; }
ol { margin: 0.4rem 0 0; padding-left: 1.2rem; }
ol li { margin: 0.45rem 0; }
label { display: grid; gap: 0.35rem; }
.stack { display: grid; gap: 0.8rem; }
.row { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: end; }
.row button { width: auto; }
.file { margin-top: 1.2rem; border-top: 1px solid #d9d2c5; padding-top: 0.8rem; }
.status { font: 600 0.72rem/1 system-ui, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.line { width: 100%; display: flex; justify-content: space-between; gap: 1rem; padding: 0.8rem 0 0.2rem; }
.detail { display: block; padding: 0 0 1rem; font-size: 0.95rem; }
a { color: inherit; }
table { width: 100%; border-collapse: collapse; font: 0.85rem/1.35 system-ui, sans-serif; }
th, td { text-align: left; padding: 0.5rem 0.4rem; border-bottom: 1px solid #d9d2c5; vertical-align: top; }
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price td:last-child, .price th:last-child { text-align: right; white-space: nowrap; }
.notice { border: 1px solid #1c1915; padding: 0.7rem 0.8rem; background: #fffdf8; margin: 0.8rem 0; }
.err { color: #8a1c1c; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; }
.check input { width: 1.3rem; min-height: 1.3rem; margin-top: 0.15rem; }
.nav a { margin-left: 1rem; font: 600 0.72rem/1 system-ui, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; }
img, table, input, select { max-width: 100%; }
.detail, .muted, p { overflow-wrap: anywhere; }
@media (max-width: 480px) {
  header, footer { flex-wrap: wrap; }
  header, main, footer { padding: 1rem; }
  .row > label, .row > button { flex: 1 1 100% !important; min-width: 0 !important; }
  .row button, .actions a.btn, .actions button { width: 100%; }
  .line { flex-direction: column; gap: 0.3rem; }
  .nav a:first-child { margin-left: 0; }
}
details { border-bottom: 1px solid #d9d2c5; padding: 0.7rem 0; }
summary { cursor: pointer; font: 600 1rem/1.3 system-ui, sans-serif; }
