body.native-inquiry { background: #faf7f8; color: var(--ink); }
.native-inquiry [hidden] { display: none !important; }
.native-bar { display: flex; justify-content: space-between; gap: 12px; align-items: center; background: white; padding: 10px var(--gutter); border-bottom: 1px solid var(--line); font-size: .88rem; }
.inside-viewer .native-bar { display: none; }
.native-main { width: min(940px, 100%); margin: 0 auto; padding: 18px clamp(14px, 3vw, 38px) 28px; }
.form-path { display: flex; align-items: center; gap: 15px; justify-content: space-between; margin: 0 0 12px; }
#step-label { font-weight: 650; color: var(--link); font-size: .86rem; }
.form-path progress { width: 27%; max-width: 130px; height: 6px; border: 0; border-radius: 8px; overflow: hidden; accent-color: var(--link); }
progress::-webkit-progress-bar { background: var(--line); } progress::-webkit-progress-value { background: var(--link); }
.form-step { padding: clamp(14px, 3vw, 30px); border: 1px solid var(--line); background: white; border-radius: 20px; }
.form-step h1, #inquiry-done h1 { font: 700 clamp(1.45rem, 3vw, 2rem)/1.4 var(--serif); margin-bottom: 15px; }
.question { border: 0; padding: 0; margin: 0; min-width: 0; }
.question + .question { margin-top: 25px; }
.question legend { padding: 0; margin-bottom: 11px; font: 700 clamp(1.18rem, 2.6vw, 1.58rem)/1.4 var(--serif); }
.choice-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
#board-question .choice-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.photo-choice { position: relative; display: flex; flex-direction: column; overflow: hidden; cursor: pointer; border: 1px solid #d9d8e2; border-radius: 12px; background: white; }
.photo-choice:hover { border-color: var(--blue); }
.photo-choice:has(input:checked) { box-shadow: 0 0 0 2px var(--link); border-color: var(--link); background: #f1f4ff; }
.photo-choice:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.photo-choice input { position: absolute; z-index: 1; top: 8px; right: 8px; width: 20px; height: 20px; margin: 0; accent-color: var(--link); }
.option-photo { position: relative; display: block; }
.option-photo img { width: 100%; aspect-ratio: 1.85; object-fit: cover; }
#board-question img { aspect-ratio: 1.48; object-position: 50% 59%; }
.option-photo small { position: absolute; bottom: 4px; left: 4px; border-radius: 4px; background: #142340dc; color: white; padding: 0 5px; font-size: .64rem; }
.option-copy { padding: 10px 12px 13px; line-height: 1.52; display: grid; gap: 4px; }
.option-copy b { font-size: 1.04rem; font-family: var(--serif); }
.option-copy > span { color: var(--sub); font-size: .86rem; }
.undecided { justify-content: center; background: var(--pink-soft); padding-right: 22px; }
.pay-choices, .input-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay-choices label, .extra-choice { display: flex; gap: 6px; align-items: center; cursor: pointer; min-height: 46px; }
.pay-choices label { border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; font-size: .85rem; }
.pay-choices label:has(:checked) { background: #edf1ff; border-color: var(--link); }
.native-main :is(select,input,textarea,button) { font: inherit; color: inherit; }
.native-main :is(select,input:not([type=radio],[type=checkbox]),textarea) { width: 100%; min-width: 0; max-width: 100%; min-height: 46px; padding: 8px 10px; border: 1px solid #a5a9bc; border-radius: 9px; background: white; font-size: max(16px,.94rem); }
.form-field { display: grid; align-content: start; gap: 4px; margin-bottom: 10px; font-size: .9rem; }
.form-fine { margin-block: 10px; color: var(--sub); font-size: .82rem; line-height: 1.6; }
.form-fine a { text-decoration: underline; }
#lesson-estimate, #form-review { display: block; border-radius: 12px; background: var(--pink-soft); padding: 12px 15px; margin-block: 15px; }
#form-review > div { display: grid; grid-template-columns: 5em 1fr; gap: 10px; padding: 4px 0; font-size: .9rem; }
#form-review dt { color: var(--sub); }
#form-review dd { overflow-wrap: anywhere; }
.form-actions { position: sticky; bottom: 0; display: flex; justify-content: flex-end; gap: 10px; padding: 9px 0 max(9px, env(safe-area-inset-bottom)); background: #faf7f8f5; }
.form-actions button, .native-line { min-height: 46px; cursor: pointer; border: 0; border-radius: 24px; padding: 8px 22px; font-weight: 650; background: var(--ink); color: white; }
#previous-step { background: white; color: var(--link); border: 1px solid var(--line); }
#next-step { min-width: 44%; }
.form-error:not(:empty) { color: #9e283a; background: #fff0f0; padding: 10px 13px; border-radius: 8px; }
#inquiry-done { margin-top: 6vh; display: grid; grid-template-columns: minmax(130px,.8fr) 1.2fr; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: white; }
#inquiry-done > img { width: 100%; height: 100%; max-height: 420px; object-fit: contain; object-position: center bottom; background: var(--pink); }
#inquiry-done > div { padding: 22px; } #receipt-text { font-weight: 700; }
.native-line { display: inline-flex; align-items: center; margin-top: 15px; color: white; background: #176642; text-decoration: none; }
.native-line:hover { color: white; background: #124e34; }
@media (max-width: 650px) {
 .native-main { padding: 12px 10px 16px; }
 .choice-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
 .form-step { padding: 13px 10px; border-radius: 14px; }
 .option-copy { padding: 8px 9px 10px; }
 .option-copy b { font-size: .97rem; } .option-copy > span { font-size: .81rem; }
 .option-photo img { aspect-ratio: 1.54; } #board-question img { aspect-ratio: 1.15; }
 .undecided { grid-column: 1/-1; }
 #inquiry-done { grid-template-columns: 1fr; margin-top: 0; }
 #inquiry-done > img { height: 24dvh; }
}
@media (max-width: 360px) { .input-grid { grid-template-columns: 1fr; } }
.staff-main h2 { margin-bottom: 9px; font-size: 1.35rem; }
.staff-main .form-step { margin-block: 14px; }
.staff-main button { min-height: 42px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--link); cursor: pointer; }
.staff-main table { border-collapse: collapse; width: 100%; font-size: .84rem; }
.staff-main td, .staff-main th { padding: 6px; border-bottom: 1px solid var(--line); text-align: start; }
#funnel, #recent { overflow-x: auto; }
#recent th, #recent td { white-space: nowrap; }
#case-detail > div { display: grid; grid-template-columns: 7em 1fr; }
#case-detail dd { overflow-wrap: anywhere; }
#case { margin-top: 18px; }
#case-detail { margin-block: 12px; }
.staff-actions { display: flex; gap: 10px; }
