@font-face { font-family: Pretendard; src: url('/assets/fonts/PretendardVariable.woff2') format('woff2'); font-weight: 45 920; font-style: normal; font-display: swap; }
:root { color-scheme: light; --bg:#f6f7f2; --paper:#fff; --ink:#24342c; --muted:#667269; --green:#315d42; --light:#eaf0e6; --line:#dde3d9; --amber:#8b6526; --radius:20px; }
* { box-sizing:border-box; }
body { margin:0; color:var(--ink); background:var(--bg); font-family:Pretendard,-apple-system,BlinkMacSystemFont,sans-serif; font-size:16px; line-height:1.55; -webkit-font-smoothing:antialiased; }
button,input,select,textarea { font:inherit; }
button { color:inherit; cursor:pointer; -webkit-tap-highlight-color:transparent; }
button:disabled { cursor:wait; opacity:.55; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible { outline:3px solid #729b4b; outline-offset:3px; }
button { touch-action:manipulation; }
h1,h2,h3,p { margin:0; }
h1 { font-size:28px; line-height:1.3; letter-spacing:-.9px; font-weight:750; text-wrap:balance; }
h2 { font-size:23px; line-height:1.35; letter-spacing:-.6px; }
small { font-size:13px; }
.shell { max-width:560px; min-height:100dvh; margin:auto; padding:0 22px max(28px,env(safe-area-inset-bottom)); }
.header { display:flex; align-items:center; justify-content:space-between; padding:25px 0 22px; gap:12px; }
.brand { display:flex; gap:9px; align-items:center; font-size:17px; font-weight:750; letter-spacing:-.5px; }
.brand-mark { width:25px; height:25px; display:grid; place-items:center; border:2px solid var(--green); border-radius:7px; color:var(--green); font-size:16px; line-height:1; }
.badge { font-size:12px; padding:5px 10px; border:1px solid var(--line); border-radius:30px; color:var(--muted); white-space:nowrap; }
.meta { font-size:13px; color:var(--muted); }
.eyebrow { font-size:12px; letter-spacing:1.7px; color:var(--green); font-weight:700; margin-bottom:12px; }
.lead { color:var(--muted); font-size:15px; margin-top:13px; line-height:1.7; }
.entry { padding-top:44px; }
.entry h1 { font-size:33px; }
.stack { position:relative; margin:38px auto 30px; height:182px; max-width:320px; }
.sample { position:absolute; width:150px; height:160px; background:#e0e6d7; border:5px solid #fff; border-radius:15px; box-shadow:0 6px 24px #24342c0a; transform:rotate(-12deg); left:18px; top:9px; }
.sample:nth-child(2) { background:#d3ddc8; transform:rotate(10deg); left:151px; top:10px; }
.sample:last-child { background:#eff2e9; transform:none; left:85px; top:0; display:grid; place-content:center; text-align:center; }
.sample strong { font-size:48px; line-height:1.1; font-weight:650; color:var(--green); }
.sample span { font-size:13px; color:var(--muted); margin-top:9px; }
.entry-points { padding:22px 0; border-top:1px solid var(--line); margin-top:22px; display:grid; gap:12px; font-size:14px; }
.entry-points span { color:var(--green); margin-right:10px; }
.btn { border:1px solid var(--line); border-radius:13px; min-height:52px; padding:12px 18px; background:white; font-weight:650; }
.btn.primary { background:var(--green); color:white; border-color:var(--green); }
.btn.soft { background:var(--light); color:var(--green); border-color:transparent; }
.btn.full { width:100%; }
.hint { color:var(--muted); font-size:12px; line-height:1.6; }
.center { text-align:center; }
.entry .hint { margin-top:16px; }
.demo { color:#7b5a27; background:#f4eddd; border-radius:9px; padding:9px 12px; font-size:12px; margin-bottom:18px; }
.progress-head { display:flex; justify-content:space-between; align-items:center; font-size:13px; color:var(--muted); margin-bottom:10px; }
.progress-head b { color:var(--green); font-weight:700; }
.steps { display:flex; gap:7px; margin-bottom:26px; }
.step { min-height:36px; flex:1; border:0; border-radius:7px; background:#e6e9e0; color:#62705f; font-size:12px; font-weight:600; }
.step.current { background:var(--green); color:white; }
.step.done:not(.current) { background:#dce8d8; color:var(--green); }
.step.held:not(.current) { background:#efe6d3; color:var(--amber); }
.question { margin-bottom:19px; }
.question h1 { font-size:26px; }
.question .meta { margin-top:8px; }
.photo-card { background:white; border:1px solid var(--line); border-radius:var(--radius); padding:8px; }
.photo-button { display:block; width:100%; border:0; padding:0; background:#e4e6df; border-radius:14px; overflow:hidden; position:relative; }
.photo-button img { display:block; width:100%; height:auto; max-height:350px; aspect-ratio:1; object-fit:contain; }
.zoom-tag { position:absolute; bottom:10px; right:10px; color:white; background:#1c292bbd; border-radius:6px; padding:5px 9px; font-size:11px; }
.photo-caption { display:flex; align-items:center; justify-content:space-between; padding:9px 6px 2px; gap:8px; }
.text-btn { border:0; background:none; color:var(--green); font-size:13px; font-weight:600; padding:9px 0; min-height:42px; }
.proposal { padding:22px 2px 18px; }
.proposal-label { display:flex; justify-content:space-between; gap:10px; align-items:center; color:var(--muted); font-size:12px; }
.proposal h2 { font-size:27px; margin-top:5px; }
.proposal .hint { margin-top:7px; }
.scope { background:#eef1e9; border:1px solid #e5e9df; padding:12px 14px; border-radius:12px; display:flex; align-items:flex-start; gap:10px; font-size:13px; }
.scope input { accent-color:var(--green); width:18px; height:18px; flex-shrink:0; margin-top:2px; }
.scope small { display:block; color:var(--muted); font-size:12px; margin-top:2px; }
.minor-summary { font-size:13px; padding:12px 2px; color:var(--muted); }
.actions { position:sticky; bottom:0; padding:16px 0 max(8px,env(safe-area-inset-bottom)); background:var(--bg); margin-top:8px; }
.action-row { display:grid; grid-template-columns:1fr 1.3fr; gap:10px; }
.secondary-actions { display:flex; justify-content:space-around; margin-top:6px; }
.secondary-actions button { border:0; padding:12px 8px; background:none; font-size:13px; min-height:44px; color:var(--muted); }
.saved { padding:10px 13px; border-radius:10px; font-size:13px; background:var(--light); color:var(--green); margin:12px 0; }
.saved.pending { background:#f2ead9; color:#805e27; }
.connection { font-size:13px; background:#fff0d5; color:#775421; padding:10px 14px; border-radius:10px; margin-bottom:15px; }
.error { font-size:14px; background:#faeae6; color:#8d3728; padding:13px; border-radius:12px; margin:14px 0; }
.done-icon { width:68px; height:68px; border-radius:50%; background:#dfead7; display:grid; place-items:center; font-size:30px; color:var(--green); margin:22px 0; }
.summary { margin:28px 0 22px; border-top:1px solid var(--line); }
.summary-item { display:flex; gap:13px; align-items:center; border-bottom:1px solid var(--line); padding:14px 0; }
.summary-item img { width:54px; height:54px; border-radius:9px; object-fit:cover; }
.summary-item div { flex:1; min-width:0; }
.summary-item strong { font-size:14px; display:block; }
.summary-item small { color:var(--muted); display:block; }
.summary-item button { font-size:12px; border:0; background:none; padding:12px 3px; color:var(--green); text-decoration:underline; }
.summary-stats { display:flex; gap:10px; margin-top:20px; }
.summary-stats span { border-radius:10px; background:#e8ede2; padding:8px 13px; font-size:13px; }
.summary-stats .held { background:#efe7d7; color:var(--amber); }
#notice { position:fixed; z-index:20; left:50%; transform:translateX(-50%); bottom:max(24px,env(safe-area-inset-bottom)); max-width:90vw; padding:12px 20px; border-radius:12px; color:white; background:#22392eee; font-size:14px; box-shadow:0 4px 20px #0002; pointer-events:none; }
#notice:empty { display:none; }
dialog { border:0; border-radius:24px; padding:0; color:var(--ink); background:var(--paper); width:min(540px,calc(100% - 24px)); max-height:92dvh; }
dialog::backdrop { background:#14251bc4; backdrop-filter:blur(3px); }
.dialog-inner { padding:23px; }
.dialog-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:17px; }
.close-btn { border:0; background:#f0f2ed; border-radius:50%; width:40px; height:40px; font-size:22px; flex-shrink:0; }
.form-label { display:block; font-size:14px; font-weight:650; margin:20px 0 7px; }
select,textarea { background:white; color:var(--ink); border:1px solid var(--line); border-radius:10px; width:100%; padding:13px 12px; font-size:16px; }
textarea { min-height:85px; resize:vertical; }
.form-actions { position:sticky; bottom:-23px; background:white; padding:18px 0 0; margin-top:12px; }
.choices { display:grid; grid-template-columns:1fr 1fr; gap:7px; }
.choice { background:#f7f8f4; border:1px solid var(--line); border-radius:9px; padding:10px; min-height:46px; display:flex; align-items:center; gap:7px; font-size:13px; }
.choice input { accent-color:var(--green); width:17px; height:17px; flex-shrink:0; }
.choice:has(input:checked) { background:var(--light); border-color:#8ba680; }
.expand { margin-top:18px; }
.expand summary { color:var(--green); cursor:pointer; font-size:14px; min-height:44px; padding:12px 0; }
.zoom-image { display:block; max-width:100%; max-height:72dvh; margin:auto; object-fit:contain; }
.loading { text-align:center; padding:100px 24px; color:var(--muted); }
@media (min-width:700px) { .shell { margin:28px auto; background:var(--bg); border:1px solid var(--line); border-radius:26px; min-height:calc(100dvh - 56px); padding-left:30px; padding-right:30px; } body { background:#e9ede5; } }
@media (max-width:360px) { .shell { padding-left:16px; padding-right:16px; } h1,.question h1 { font-size:24px; } .entry h1 { font-size:29px; } .dialog-inner { padding:17px; } }
@media (prefers-reduced-motion:no-preference) { .btn { transition:background .15s,transform .15s; } .btn:active { transform:scale(.985); } }
/* 작은 휴대전화에서도 제안 라벨과 확인 버튼을 함께 읽을 수 있게 한다. */
@media (max-width:699px) {
  .header { padding:18px 0 14px; }
  .demo { padding:7px 10px; margin-bottom:12px; }
  .steps { margin-bottom:18px; }
  .question { margin-bottom:12px; }
  .question h1 { font-size:24px; }
  .photo-button img { max-height:clamp(200px,29svh,270px); }
  .photo-caption { padding-top:3px; }
  .proposal { padding:13px 2px 12px; }
  .proposal h2 { font-size:25px; }
  .scope { padding:10px 12px; }
  .actions { padding-top:12px; }
}
