/* 재난 대비 키트 — 앱 전용 스타일(공통은 css/site.css 사본 · 손대지 않음) */
:root { --accent: #c2410c; --accent-soft: #fdeee4; }
.steppers { display: grid; gap: 6px; margin-bottom: 12px; }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.stepper > span { font-size: .92rem; }
.stepper > div { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.stepper button { border: 0; background: #fff; width: 34px; height: 32px; font-size: 1.1rem; cursor: pointer; }
.stepper button:hover { background: var(--soft); }
.stepper b { min-width: 30px; text-align: center; font-family: var(--mono); }
#where.seg, #days.seg { display: flex; flex-wrap: wrap; }
#where.seg button, #days.seg button { flex: 1 1 auto; white-space: nowrap; }
.progress-card { display: flex; align-items: center; gap: 14px; padding: 12px 16px; }
.progress-card .bar { flex: 1; }
.cat-card h3 { display: flex; align-items: center; gap: 8px; font-size: 1rem; margin-bottom: 6px; }
.cat-card h3 .chip { margin-left: auto; }
.item { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 6px 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.item.done .it-name { color: var(--muted); text-decoration: line-through; }
.item input[type="checkbox"] { width: 18px; height: 18px; margin: 0; }
.it-name { font-size: .95rem; }
.it-name small { display: block; color: var(--muted); font-size: .78rem; }
.it-ctrl { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.it-ctrl input[type="number"] { width: 70px; min-height: 32px; padding: 4px 6px; text-align: right; font-family: var(--mono); }
.it-ctrl input[type="date"] { width: 150px; min-height: 32px; padding: 4px 6px; font-size: .85rem; }
.it-ctrl .unit { font-size: .82rem; color: var(--muted); min-width: 24px; }
.it-ctrl .chip { white-space: nowrap; }
.chip.bag { background: #e0f2fe; color: #0369a1; } .chip.stock { background: #ecfccb; color: #4d7c0f; }
.links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px 14px; }
.links a { display: flex; gap: 8px; align-items: baseline; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.links a small { color: var(--muted); margin-left: auto; font-size: .78rem; }
@media (max-width: 600px) {
  .item { grid-template-columns: 24px minmax(0, 1fr); }
  .it-ctrl { grid-column: 2; justify-content: flex-start; }
}
/* 인쇄: 연락 카드 2장(명함 85.6×54mm) + 체크리스트 표 */
.pr-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid #000; padding-bottom: 4px; margin-bottom: 8px; }
.pr-head h2 { margin: 0; font-size: 16pt; }
.pr-cards { display: flex; gap: 8mm; margin-bottom: 8px; }
.pr-card { width: 85.6mm; height: 54mm; border: 1px dashed #666; border-radius: 3mm; padding: 3mm 4mm; font-size: 7.5pt; line-height: 1.3; overflow: hidden; }
.pr-card h4 { margin: 0 0 2mm; font-size: 9pt; border-bottom: 1px solid #000; padding-bottom: 1mm; }
.pr-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.5mm 2mm; }
.pr-card dt { font-weight: 700; } .pr-card dd { margin: 0; white-space: pre-line; }
.pr-list { columns: 2; column-gap: 8mm; font-size: 8.5pt; }
.pr-cat { break-inside: avoid; margin-bottom: 3mm; }
.pr-cat h3 { font-size: 10pt; margin: 0 0 1mm; border-bottom: 1px solid #000; }
.pr-row { display: flex; gap: 2mm; padding: .6mm 0; border-bottom: 1px dotted #bbb; }
.pr-row .box { width: 3.2mm; height: 3.2mm; border: 1px solid #000; flex: none; margin-top: .6mm; }
.pr-row .box.on { background: #000; }
.pr-row .nm { flex: 1; } .pr-row .q { white-space: nowrap; } .pr-row .w { color: #555; font-size: 7pt; }
