:root { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #18302b; background: #f5f7f2; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; }
main { width: min(960px, 100%); margin: 0 auto; padding: 56px 24px 28px; }
header { margin-bottom: 32px; }
.eyebrow { color: #53776a; font-size: 11px; letter-spacing: .18em; font-weight: 700; }
h1 { font-size: clamp(26px, 4vw, 38px); letter-spacing: -.04em; line-height: 1.3; margin: 14px 0; }
header p { color: #66766e; line-height: 1.7; margin: 0; font-size: 14px; }
.panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.card { min-width: 0; background: #fff; padding: 24px; border: 1px solid #dfe6dc; border-radius: 18px; box-shadow: 0 5px 22px #26493205; }
.section-title { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.step { font-size: 11px; background: #eaf2e8; color: #44765f; border-radius: 7px; padding: 7px; font-weight: 700; }
h2 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
label { display: block; font-size: 13px; color: #5c6b63; margin-bottom: 9px; }
textarea, input { font: inherit; color: inherit; border: 1px solid #dce4d9; background: #fcfdfb; border-radius: 10px; padding: 13px; width: 100%; min-width: 0; outline: none; }
textarea { min-height: 180px; resize: vertical; line-height: 1.65; font-size: 14px; }
textarea::placeholder, input::placeholder { color: #9aa59d; }
textarea:focus, input:focus { border-color: #6b9875; box-shadow: 0 0 0 3px #89ad6c20; }
.field-note { display: flex; justify-content: space-between; color: #88938c; font-size: 11px; margin: 7px 0 18px; }
button { font: inherit; cursor: pointer; border: 0; border-radius: 9px; min-height: 44px; padding: 11px 15px; background: #285b45; color: #fff; font-size: 13px; font-weight: 600; transition: background .15s; }
form > button { width: 100%; }
button:hover { background: #1d4634; }
button:focus-visible { outline: 3px solid #9fbbaa; outline-offset: 3px; }
button:disabled { opacity: .55; cursor: wait; }
.quiet-button { background: transparent; color: #47745d; padding: 8px 0; }
.quiet-button:hover { background: transparent; color: #173f2c; }
.secondary-button { background: #eef4ed; color: #315e44; }
.secondary-button:hover { background: #e1edde; }
.code-box { margin-top: 20px; padding: 18px; border-radius: 12px; background: #f0f5eb; }
.small-label { color: #758770; font-size: 11px; }
#saved-code { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(28px, 6vw, 38px); font-weight: 600; letter-spacing: .16em; margin: 10px 0; overflow-wrap: anywhere; }
.code-footer { display: flex; gap: 10px; justify-content: space-between; align-items: center; font-size: 12px; }
.note { font-size: 11px; color: #84907f; line-height: 1.6; margin: 10px 0 0; }
#pickup-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .2em; font-size: 28px; text-align: center; padding: 20px 10px; }
#load-form > button { margin-top: 24px; }
#result-box { margin-top: 24px; }
.result-actions { display: flex; gap: 20px; margin-top: 10px; }
.status { font-size: 12px; min-height: 19px; color: #47745d; line-height: 1.6; margin: 14px 0 0; overflow-wrap: anywhere; }
.status.error { color: #ad513f; }
footer { text-align: center; font-size: 11px; color: #9aa496; margin-top: 32px; letter-spacing: .04em; }
[hidden] { display: none !important; }
@media (max-width: 680px) { main { padding: 30px 16px 24px; } .panels { grid-template-columns: 1fr; } .card { padding: 20px; } header { margin-bottom: 24px; } }
