:root { --gp-ink: #19362e; --gp-muted: #476359; --gp-paper: #f5f3e9; --gp-line: #c7d3c5; --gp-accent: #20664d; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--gp-ink); background: radial-gradient(ellipse at 90% 0, #d6e8d9, transparent 55%), var(--gp-paper); font-family: "Noto Sans SC", "Source Han Sans SC", sans-serif; line-height: 1.6; }
header, main, footer { width: min(1120px, calc(100% - 32px)); margin: auto; }
header { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center; padding: 32px 0 16px; border-bottom: 2px solid var(--gp-ink); }
h1 { margin: 0; font: 700 36px Georgia, serif; letter-spacing: -.04em; }
h2 { font-size: 23px; margin-top: 0; }
h3 { font-size: 18px; }
section { background: #fffdf8; border: 1px solid var(--gp-line); border-radius: 12px; padding: 24px; margin: 20px 0; min-width: 0; }
p { color: var(--gp-muted); overflow-wrap: anywhere; }
label { display: block; margin: 12px 0; }
input, textarea, select, button { font: inherit; }
input:not([type=checkbox]), textarea, select { width: 100%; border: 1px solid var(--gp-line); padding: 10px; border-radius: 6px; background: #fff; color: var(--gp-ink); }
textarea { min-height: 128px; resize: vertical; }
button { color: #fff; background: var(--gp-accent); border: 1px solid var(--gp-accent); padding: 9px 15px; border-radius: 6px; cursor: pointer; margin: 6px 8px 6px 0; }
button:disabled { opacity: .45; cursor: default; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #a98930; outline-offset: 3px; }
.gp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gp-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.gp-check { display: flex; align-items: flex-start; gap: 8px; }
fieldset { border: 1px solid var(--gp-line); border-radius: 6px; min-width: 0; }
#gp-status { width: min(1120px, calc(100% - 32px)); margin: 12px auto; font-weight: 600; }
#gp-status[data-error=true] { color: #8c3321; }
article { padding: 18px 0; border-bottom: 1px solid var(--gp-line); overflow-wrap: anywhere; }
.gp-body { white-space: pre-wrap; }
.gp-photo { max-width: 100%; max-height: 380px; object-fit: contain; display: block; margin: 12px 0; }
#gp-export-result { white-space: pre-wrap; }
[hidden] { display: none !important; }
footer { padding: 24px 0; color: var(--gp-muted); font-size: 14px; }
@media (max-width: 700px) { .gp-grid { grid-template-columns: 1fr; gap: 0; } section { padding: 18px; } h1 { font-size: 30px; } }
