/* 피툴피툴 공통 스타일 — 도구 페이지가 함께 쓴다. 색은 tailwind 설정(site.js)과 맞춘다. */
body { font-family: "Pretendard", system-ui, sans-serif; background: #f2f4f6; color: #191f28; -webkit-font-smoothing: antialiased; word-break: keep-all; }

.card { background: #fff; border-radius: 24px; box-shadow: 0 10px 30px rgba(0,0,0,0.04); border: 1px solid #f1f3f5; }
.label { display: block; font-size: 14px; font-weight: 700; color: #191f28; margin-bottom: 8px; }
.hint { font-size: 12px; color: #8b95a1; margin-top: 8px; line-height: 1.6; }

/* 입력칸: .field 안에 input/select, 단위는 .unit */
.field { position: relative; }
.field input, .field select, .textarea {
  width: 100%; border-radius: 14px; border: 1px solid #e5e8eb; background: #fafbfc;
  font-size: 17px; font-weight: 700; color: #191f28; outline: none; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.field input, .field select { height: 52px; padding: 0 52px 0 16px; }
.field select { padding-right: 16px; font-size: 15px; }
.field input[type="date"] { padding-right: 16px; font-size: 16px; }
.textarea { padding: 14px 16px; font-size: 16px; font-weight: 500; line-height: 1.7; resize: vertical; }
.field input:focus, .field select:focus, .textarea:focus { border-color: #3182f6; background: #fff; box-shadow: 0 0 0 4px rgba(49,130,246,.08); }
.field .unit { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 14px; font-weight: 600; color: #8b95a1; pointer-events: none; }

/* 선택 칩 · 버튼 */
.chip { height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #e5e8eb; background: #fff; font-size: 14px; font-weight: 700; color: #4e5968; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: #3182f6; border-color: #3182f6; color: #fff; }
.btn { height: 52px; padding: 0 20px; border-radius: 16px; font-size: 16px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: background-color .15s ease, color .15s ease; }
.btn-primary { background: #3182f6; color: #fff; }
.btn-primary:hover:not(:disabled) { background: #1b64da; }
.btn:disabled, .chip:disabled { opacity: .4; cursor: not-allowed; }
.btn-ghost { background: #f2f4f6; color: #4e5968; }
.btn-ghost:hover { background: #e5e8eb; }

/* 결과 */
.stat { border-radius: 18px; background: #f9fafb; padding: 16px; }
.stat .k { font-size: 13px; font-weight: 600; color: #8b95a1; }
.stat .v { font-size: 26px; font-weight: 700; color: #191f28; margin-top: 4px; font-variant-numeric: tabular-nums; }
.stat .v small { font-size: 14px; font-weight: 600; color: #8b95a1; margin-left: 2px; }
.stat.main { background: #f5f9ff; border: 2px solid #3182f6; }
.stat.main .v { color: #3182f6; }

/* 본문 · FAQ */
.doc h2 { font-size: 18px; font-weight: 700; color: #191f28; margin-bottom: 12px; }
.doc p, .doc li, .doc dd { font-size: 14px; line-height: 1.8; color: #4e5968; }
.doc dt { font-size: 15px; font-weight: 700; color: #191f28; }
.doc a { color: #3182f6; text-decoration: underline; }
.doc table { width: 100%; font-size: 13px; }
.doc th { background: #f9fafb; text-align: left; padding: 8px 12px; color: #191f28; }
.doc td { padding: 8px 12px; border-top: 1px solid #f2f4f6; color: #4e5968; }

/* 복사 알림 */
.toast { position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 20px); opacity: 0; background: #191f28; color: #fff; font-size: 14px; font-weight: 600; padding: 12px 20px; border-radius: 999px; transition: opacity .2s ease, transform .2s ease; pointer-events: none; z-index: 60; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
