:root { color-scheme: light; --paper: #f8f3eb; --card: #fffdf8; --ink: #352b23; --muted: #635448; --line: #dfd2c2; --olive: #415135; --soft: #e8eddd; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 system-ui, "Microsoft YaHei", sans-serif; }
.masthead { background: #302820; color: #fff7e7; }
.masthead div { max-width: 1168px; margin: auto; padding: 16px 24px; }
.masthead strong { font: bold 25px Georgia, serif; }
.masthead span { margin-left: 12px; color: #e4d3ba; }
main { max-width: 1168px; margin: 0 auto; padding: 32px 24px; }
main.compact { max-width: 620px; padding-block: clamp(28px, 8vw, 76px); }
h1, h2, h3, p { margin: 0 0 10px; }
h1 { font-size: clamp(28px, 5vw, 42px); line-height: 1.2; }
h2 { font-size: 21px; }
h3 { font-size: 18px; overflow-wrap: anywhere; }
code, dd, label { overflow-wrap: anywhere; }
.muted { color: var(--muted); }
.workspace { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(0, 1.8fr); gap: 20px; align-items: start; margin-top: 18px; }
.panel, .order { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: clamp(16px, 4vw, 24px); }
.order { margin-top: 14px; }
.row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.row h1, .row h2, .row h3 { margin: 0; }
label { display: grid; gap: 5px; margin: 12px 0; font-weight: 600; }
input, select, textarea, button, .button { font: inherit; border-radius: 8px; min-height: 44px; padding: 8px 11px; }
input, select, textarea { width: 100%; min-width: 0; border: 1px solid #a89580; background: #fff; color: inherit; }
textarea { resize: vertical; }
button, .button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--olive); color: #fff; background: var(--olive); cursor: pointer; text-decoration: none; font-weight: 600; }
button:hover, .button:hover { background: #35442b; color: #fff; }
.secondary { color: var(--olive); background: transparent; }
:focus-visible { outline: 3px solid #90601e; outline-offset: 3px; }
.tag { background: var(--soft); color: #34432b; border-radius: 999px; padding: 4px 10px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 12px; }
.filters { display: grid; grid-template-columns: 1.2fr 1fr auto; align-items: end; gap: 8px; margin-block: 12px; }
.filters label { margin: 0; }
.notice { color: #784015; background: #faedde; border-radius: 8px; padding: 8px 12px; margin-block: 12px; }
.photo-list { max-height: 320px; overflow: auto; margin-bottom: 12px; }
.photo-list label { min-height: 44px; margin: 0; display: flex; align-items: center; gap: 10px; font-weight: normal; }
.photo-list input { width: 20px; min-height: 20px; margin: 0; flex-shrink: 0; }
summary { min-height: 44px; padding: 9px 0; cursor: pointer; font-weight: 600; }
.customer { padding: clamp(22px, 6vw, 42px); }
.customer h1 { font-family: Georgia, "Microsoft YaHei", serif; }
.language-switch { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-bottom: 12px; }
.language-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--olive); text-decoration: none; font-weight: 600; }
.language-switch a:hover { text-decoration: underline; }
.language-switch a[aria-current="page"] { background: var(--olive); border-color: var(--olive); color: #fff; }
.eyebrow { color: var(--muted); font-size: 14px; }
.progress { background: var(--soft); border-radius: 12px; padding: 16px; margin-block: 20px; }
.progress p:last-child { margin-bottom: 0; }
.upload-note { margin: 12px 0 0; font-size: 14px; }
.tracking { margin: 12px 0 0; }
.tracking div + div { margin-top: 8px; }
.tracking dt { font-size: 14px; }
.tracking dd { margin: 0; font-weight: 600; }
@media (max-width: 740px) { .workspace { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { main { padding-inline: 16px; } .filters { grid-template-columns: minmax(0, 1fr); } }
