:root { color-scheme: light; --green: #25a768; --green-dark: #188b53; --gold: #b89646; --ink: #1e2b24; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #edf4ef; color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #7accaa; outline-offset: 3px; }
.page { width: 100%; max-width: 480px; min-height: 100vh; min-height: 100svh; margin: 0 auto; padding-bottom: max(14px, env(safe-area-inset-bottom)); background: var(--green); }
.header { padding: max(15px, env(safe-area-inset-top)) 16px 15px; text-align: center; color: white; }
.header h1 { font-size: 19px; font-weight: 600; margin: 0; letter-spacing: .5px; }
main { padding: 0 16px; }
.card { background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 28px #08623712; }
.intro { padding: 23px 20px 0; text-align: center; }
h2 { margin: 0; font-size: 26px; font-weight: 600; }
.eligibility-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 9px 0 0; color: var(--gold); font-size: 16px; }
.gold-badge { width: 23px; height: 23px; flex-shrink: 0; }
.instructions { text-align: left; font-size: 14px; line-height: 1.65; margin: 17px 0 16px; color: #4f5f55; }
.primary { display: block; width: 100%; min-height: 46px; border: 0; border-radius: 7px; color: white; background: var(--green); font-size: 17px; font-weight: 500; letter-spacing: 1px; }
.primary:active { background: var(--green-dark); }
.primary:disabled { opacity: .65; cursor: wait; }
.consent-row { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 0 2px; margin: 8px -12px 0; min-height: 34px; font-size: 12px; color: #7c8580; }
.consent-label { display: inline-flex; align-items: center; cursor: pointer; min-height: 34px; }
input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--green); margin: 0 6px 0 0; }
.text-button { padding: 8px 0; background: none; border: 0; color: #517a9d; font-size: inherit; }
.error { color: #c63f36; font-size: 13px; line-height: 1.5; margin: 5px 0 0; }
.error:empty { display: none; }
#consent-error { padding-bottom: 10px; }
.order { background: #fafbf9; margin-top: 9px; padding: 13px 20px 15px; }
.order h3 { font-size: 14px; font-weight: 400; color: #929a94; margin: 0 0 6px; }
.order .draft-note { color: #9a6c28; font-size: 12px; }
dl { margin: 0; }
dl > div { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 8px; padding: 8px 0; font-size: 14px; line-height: 1.55; }
dt { color: #929a94; }
dd { margin: 0; overflow-wrap: anywhere; }
.eligibility-row { border-bottom: 1px solid #e9ede8; padding-bottom: 10px; margin-bottom: 5px; }
.deposit-row { border-top: 1px solid #e9ede8; margin-top: 4px; padding-top: 10px; }
.gold { color: var(--gold); font-size: 17px; }
.deposit-value { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 8px; }
.deposit-value s { color: #a6a49c; font-size: 14px; text-decoration-thickness: 1px; }
.deposit-value span { white-space: nowrap; }
body.modal-open { position: fixed; width: 100%; overflow: hidden; }
dialog { position: fixed; border: 0; padding: 0; color: var(--ink); background: white; width: min(100%, 480px); max-width: 100%; }
dialog::backdrop { background: #0a261d75; }
.sheet { inset: auto 0 0; margin: 0 auto; max-height: calc(var(--viewport-height, 100dvh) - 12px); border-radius: 18px 18px 0 0; overflow-y: auto; overscroll-behavior: contain; }
.sheet-heading { display: flex; align-items: center; justify-content: space-between; padding: 8px 18px; border-bottom: 1px solid #edf0ed; }
.sheet-heading h2 { font-size: 19px; font-weight: 600; }
.close { width: 40px; height: 40px; padding: 0; border: 0; background: none; color: #87918b; font-size: 29px; font-weight: 300; }
.form-fields { padding: 2px 20px 0; }
.field { display: block; margin: 12px 0; font-size: 14px; font-weight: 500; }
.field input, .field textarea { display: block; width: 100%; border: 1px solid #e4e9e5; border-radius: 6px; background: #fbfcfb; margin-top: 6px; padding: 10px 12px; font-size: 16px; color: var(--ink); outline-offset: 1px; }
.field textarea { resize: vertical; min-height: 70px; height: 70px; }
::placeholder { color: #a6afa8; font-size: 14px; }
.region { padding: 0; margin: 14px 0; border: 0; min-width: 0; }
.region legend { padding: 0; font-size: 14px; font-weight: 500; margin-bottom: 7px; }
.region-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.region-controls label { min-width: 0; }
select { width: 100%; min-height: 46px; border: 1px solid #e4e9e5; border-radius: 6px; background: #fbfcfb; padding: 0 5px; color: #425448; font-size: 14px; text-overflow: ellipsis; }
select:disabled { color: #9ca69e; opacity: 1; }
.form-note { font-size: 12px; color: #8c978f; margin: 0 0 5px; line-height: 1.6; }
.submit-area { padding: 10px 20px max(14px, env(safe-area-inset-bottom)); background: white; }
.privacy { max-height: 85dvh; border-radius: 14px; margin: auto; width: min(calc(100% - 32px), 440px); }
.privacy-content { padding: 2px 22px 10px; font-size: 14px; line-height: 1.8; }
.privacy-content h3 { font-size: 15px; margin: 20px 0 4px; }
.privacy-content p { margin: 8px 0; }
.version { font-size: 12px; color: #8c978f; }
.success { text-align: center; padding: 58px 25px 35px; }
.success-icon { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; color: white; background: var(--green); font-size: 40px; margin: 0 auto 25px; }
.success h2 { font-size: 27px; }
.success-subtitle { margin: 11px 0 0; font-size: 20px; }
.success-detail { color: #7c8980; font-size: 14px; line-height: 1.8; margin-top: 27px; }
.receipt { color: #99a39c; font-size: 11px; overflow-wrap: anywhere; margin: 15px 0 30px; line-height: 1.6; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
@media (min-width: 600px) { .page { margin-top: 16px; min-height: calc(100svh - 32px); border-radius: 18px; } .sheet { inset: 0; margin: auto; border-radius: 16px; } }
@media (max-width: 350px) { main { padding: 0 13px; } .intro, .order { padding-left: 18px; padding-right: 18px; } .consent-row { font-size: 11px; } dl > div { grid-template-columns: 67px minmax(0,1fr); font-size: 13px; } }
@media (max-height: 620px) { .header { padding-top: max(10px, env(safe-area-inset-top)); padding-bottom: 10px; } .intro { padding-top: 16px; } .instructions { margin-top: 12px; margin-bottom: 12px; } .order { padding-top: 10px; padding-bottom: 10px; } dl > div { padding-top: 6px; padding-bottom: 6px; } }
