:root { color-scheme: light; --wine: #4a1728; --line: #ded8da; --muted: #62575b; --paper: #fff; }
* { box-sizing: border-box; }
body { margin: 0; color: #271e21; background: #f5f3f4; font: 15px/1.5 system-ui, sans-serif; }
[hidden] { display: none !important; }
a { color: inherit; }
header { display: flex; justify-content: space-between; align-items: center; padding: 10px max(20px, 5vw); background: var(--wine); color: var(--paper); }
header a { font: 28px Georgia, serif; text-decoration: none; }
header button { background: var(--paper); color: var(--wine); }
main { width: min(100% - 32px, 940px); margin: 32px auto 72px; }
h1, h2, p { margin: 0 0 12px; }
h1 { color: var(--wine); font: 42px Georgia, serif; }
h2 { font-size: 21px; }
#status { color: var(--wine); font-weight: 600; }
#status:empty { display: none; }
.card { margin-top: 18px; padding: clamp(16px, 3vw, 28px); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.login { max-width: 390px; }
nav, .section-title { display: flex; align-items: center; gap: 12px; }
nav { margin-top: 10px; color: var(--wine); gap: 20px; }
.section-title { justify-content: space-between; flex-wrap: wrap; margin-bottom: 12px; }
.section-title h2 { margin: 0; }
label { display: grid; gap: 5px; margin: 10px 0 15px; }
input, select, textarea, button { max-width: 100%; min-height: 42px; padding: 8px 11px; color: inherit; background: var(--paper); border: 1px solid var(--line); border-radius: 7px; font: inherit; }
button { color: var(--paper); background: var(--wine); cursor: pointer; }
button:disabled { opacity: .65; cursor: wait; }
:focus-visible { outline: 2px solid #a45370; outline-offset: 3px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 15px; }
.wide { grid-column: 1 / -1; }
fieldset { min-width: 0; border: 1px solid var(--line); border-radius: 8px; margin: 0 0 16px; }
fieldset p { color: var(--muted); font-size: 13px; }
.photos { display: flex; flex-wrap: wrap; gap: 10px; }
.photo { display: grid; gap: 5px; width: 112px; }
.photo img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #f5f3f4; border-radius: 6px; }
.photo button { color: var(--wine); background: var(--paper); font-size: 12px; }
details { padding: 11px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
summary { cursor: pointer; font-weight: 600; }
details dl { display: grid; grid-template-columns: auto 1fr; gap: 5px 12px; }
details dt { color: var(--muted); }
details dd { margin: 0; }
#more-orders { margin-top: 12px; }
@media (max-width: 490px) { .fields { grid-template-columns: 1fr; } }
