/* Tool-specific reset + styles (cream/ink palette, matching existing site) */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  background: #f7f3ea;
  color: #1c1a17;
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  padding: 1.5rem;
  line-height: 1.6;
}
.ad { text-align: center; margin: 1rem auto; min-height: 60px; }
main { max-width: 640px; margin: 0 auto; padding: 2rem 0; }
h1 { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.5rem; }
.subtitle { color: #6f695f; font-size: 0.95rem; margin-bottom: 1.5rem; }
.field { margin-bottom: 1.25rem; }
label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.4rem; }
.input-group { display: flex; gap: 0.5rem; }
.input-group input {
  flex: 1; padding: 0.6rem 0.8rem; font-size: 1rem; border: 1px solid #ddd;
  border-radius: 6px; background: #fff; font-family: inherit;
}
.input-group select {
  padding: 0.5rem 0.8rem; font-size: 1rem; border: 1px solid #ddd;
  border-radius: 6px; background: #fff; cursor: pointer; font-family: inherit;
}
select { padding: 0.5rem 0.8rem; font-size: 1rem; border: 1px solid #ddd; border-radius: 6px; background: #fff; cursor: pointer; }
.result { text-align: center; margin: 1.5rem 0; padding: 1.25rem; background: #fff; border-radius: 10px; border: 1px solid #eee; }
.result-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: #6f695f; display: block; margin-bottom: 0.3rem; }
.result-value { font-size: 2.5rem; font-weight: 700; }
.result-unit { font-size: 1rem; color: #6f695f; margin-left: 0.3rem; }
.actions { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.actions button {
  flex: 1; padding: 0.6rem; font-size: 0.9rem; font-weight: 500;
  border: 1px solid #ddd; border-radius: 6px; cursor: pointer; background: #fff; font-family: inherit;
}
.actions button:hover { background: #f0edea; }
.tips h2 { font-size: 1.25rem; font-weight: 600; margin: 2rem 0 1rem; }
.tips dl dt { font-weight: 600; margin: 1rem 0 0.3rem; font-size: 0.95rem; }
.tips dl dd { color: #6f695f; font-size: 0.9rem; margin-bottom: 0.5rem; }
footer { text-align: center; margin-top: 2rem; font-size: 0.8rem; color: #6f695f; }

@media (max-width: 600px) {
  body { padding: 1rem; }
  .actions { flex-direction: column; }
}
