/* 공개 접수(public intake): 구형 Safari 호환을 위해 여백은 margin으로 배치한다. */
* { box-sizing: border-box; }
body { margin: 0; color: #17332d; background: #eff6f3; font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; font-size: 17px; line-height: 1.6; }
[hidden] { display: none !important; }
.brand { max-width: 650px; margin: auto; padding: 22px 18px; display: flex; align-items: center; }
.brand-mark { padding: 7px 12px; margin-right: 12px; border-radius: 13px; color: white; background: #1b574b; font-weight: 800; }
.brand strong, .brand small { display: block; }
.brand small { color: #61766f; font-size: 14px; }
.card { max-width: 650px; min-height: 70vh; margin: 0 auto; padding: 25px 18px 45px; background: white; border-radius: 24px 24px 0 0; }
h1 { margin: 0; font-size: 30px; line-height: 1.3; letter-spacing: -.04em; }
.step { margin: 0 0 12px; color: #378572; font-size: 14px; font-weight: 800; }
.help { margin: 12px 0 27px; color: #61766f; }
.field { display: block; margin: 22px 0 8px; font-weight: 700; }
.field span { color: #61766f; font-size: 14px; font-weight: 400; }
input, select, textarea { width: 100%; min-height: 54px; padding: 12px 14px; border: 1px solid #aabfb8; border-radius: 13px; color: #17332d; background: white; font: inherit; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus { outline: 2px solid #378572; outline-offset: 2px; }
small { display: block; margin-top: 6px; color: #61766f; font-size: 14px; }
button { min-height: 54px; cursor: pointer; font: inherit; font-weight: 700; }
.primary, .secondary { display: block; width: 100%; margin-top: 24px; padding: 14px; border: 0; border-radius: 15px; color: white; background: #1b574b; }
.secondary { margin-top: 12px; color: #1b574b; background: #edf8f4; border: 1px solid #aacbc2; }
button:disabled { opacity: .55; cursor: default; }
.back { padding: 8px 0; margin: 0 0 16px; border: 0; color: #41675b; background: transparent; }
#change-phone { margin-top: 18px; }
.shop-question { margin-top: 24px; padding: 18px; border-radius: 15px; background: #edf8f4; font-weight: 700; overflow-wrap: break-word; }
fieldset { margin: 0; padding: 0; border: 0; }
legend { color: #41675b; font-size: 16px; }
/* 허니팟(honeypot)은 화면 밖에 두되 자동 입력 도구가 접근할 수 있게 유지한다. */
.honeypot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.error { padding: 13px 15px; border: 1px solid #efc4b9; border-radius: 12px; color: #923323; background: #fff2ee; }
#progress { color: #41675b; font-size: 15px; }
.done { text-align: center; }
.done-icon { display: block; width: 88px; height: 88px; margin: 10px auto 22px; border-radius: 50%; background: #def3ec; color: #27745f; font-size: 45px; line-height: 88px; }
.receipt { margin: 28px 0; padding: 22px; border-radius: 16px; background: #f2f7f5; }
.receipt strong { display: block; font-size: 24px; overflow-wrap: break-word; }
@media (min-width: 700px) { .card { margin: 12px auto 70px; padding: 34px; border: 1px solid #d9e6e2; border-radius: 25px; box-shadow: 0 18px 45px rgba(20,66,56,.09); } }
/* 승인된 폼(form)의 필드·사진·안내·행동 순서와 기존 브랜드 스타일을 함께 사용한다. */
.m1-form-grid { display: flex; flex-wrap: wrap; margin: 0 -8px; }
.m1-field { width: calc(50% - 16px); margin: 0 8px 18px; display: block; min-width: 0; }
.m1-field > span { display: block; margin-bottom: 7px; font-weight: 700; }
.m1-field.full { width: calc(100% - 16px); }
.m1-field legend { padding: 0; margin-bottom: 7px; font-weight: 700; color: inherit; }
.purchase-selects, .m1-actions, .photo-buttons, .locale-controls { display: flex; }
.purchase-selects select { width: calc(50% - 4px); }
.purchase-selects select + select { margin-left: 8px; }
.m1-actions button { width: calc(50% - 6px); margin-top: 22px; }
.m1-actions button + button { margin-left: 12px; }
.m1-guidance { margin-top: 22px; padding: 18px; border-radius: 13px; background: #edf8f4; }
.guidance-copy { white-space: pre-wrap; overflow-wrap: break-word; margin-bottom: 0; }
.inline-error, #photo-error { color: #923323; font-size: 14px; }
[aria-invalid="true"] { border-color: #923323; }
.m1-photo-area h2 { font-size: 20px; }
.m1-photo-area h2 small { display: inline; margin-left: 8px; font-weight: 400; }
.file-button { position: relative; padding: 10px 20px; border-radius: 10px; border: 1px solid #aacbc2; cursor: pointer; background: #edf8f4; }
.file-button + .file-button { margin-left: 12px; }
.photo-thumbnails { display: flex; flex-wrap: wrap; }
.photo-thumbnails figure { width: 94px; margin: 10px 10px 0 0; }
.photo-thumbnails img { width: 94px; height: 94px; object-fit: cover; border-radius: 8px; }
.photo-thumbnails button { width: 100%; min-height: 32px; font-size: 14px; }
.locale-controls { justify-content: flex-end; margin-bottom: 24px; }
.locale-controls label { font-size: 13px; margin-left: 12px; }
.locale-controls select { min-height: 38px; padding: 5px; font-size: 14px; }
.mobile-receipt { padding: 18px; background: #edf8f4; border-radius: 13px; margin: 20px 0; }
@media (max-width: 500px) { .m1-field { width: calc(100% - 16px); } .card { border-radius: 0; } }
