/* 급여 계산기 웹(/calc/) 공용 스타일 — 급여봉투 색(#0F766E) */
:root { --ink: #1d2433; --bg: #f6f7fb; --paper: #fff; --brand: #0F766E; --muted: #6b7280; --line: #e6e8ef; --soft: #ecf6f5; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink);
       font-family: -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", sans-serif; }
.top { max-width: 760px; margin: 0 auto; padding: 14px 16px 0; font-size: 13px; }
.top a { color: var(--muted); text-decoration: none; font-weight: 700; }
.top a:hover { color: var(--brand); }
main { max-width: 760px; margin: 0 auto; padding: 8px 16px 64px; }
h1 { font-size: 26px; margin: 18px 0 8px; }
h2 { font-size: 18px; margin: 0 0 12px; }
h3 { font-size: 15px; margin: 18px 0 6px; }
p, li { font-size: 15px; line-height: 1.8; }
p { margin: 0 0 12px; }
ul { padding-left: 20px; margin: 0 0 12px; }
.def { font-size: 15px; margin-bottom: 18px; }
.card, .cta { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin: 0 0 16px; }
.cta { background: var(--soft); border-color: #cfe6e3; }
form { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
form label.chk { display: flex; gap: 8px; align-items: center; font-weight: 600; grid-column: 1 / -1; }
form input[type=number], form input[type=date] { width: 100%; font-size: 17px; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
form input:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
form input[type=checkbox], form input[type=radio] { width: 19px; height: 19px; accent-color: var(--brand); }
.seg { grid-column: 1 / -1; display: flex; gap: 16px; font-size: 15px; font-weight: 700; }
.seg label { display: flex; gap: 6px; align-items: center; }
.out { margin-top: 18px; border-top: 1px dashed var(--line); padding-top: 16px; }
.big { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.big span { font-size: 15px; color: var(--muted); font-weight: 700; }
.big b { font-size: 30px; color: var(--brand); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
.grid div { background: var(--bg); border-radius: 10px; padding: 10px 12px; }
.grid span { display: block; font-size: 12.5px; color: var(--muted); }
.grid b { font-size: 16px; }
.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; }
th, td { border-bottom: 1px solid var(--line); padding: 8px 6px; font-size: 14px; text-align: left; vertical-align: top; }
td.amt { text-align: right; white-space: nowrap; font-weight: 700; }
td.how { color: var(--muted); font-size: 12.5px; }
.method { font-size: 13.5px; color: var(--muted); margin: 8px 0; }
.notes { margin: 10px 0 0; }
.notes li { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.bad { color: #b91c1c; font-weight: 700; }
.btn { display: inline-block; padding: 11px 18px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 800; text-decoration: none; font-size: 15px; }
.sub { margin-left: 10px; color: var(--brand); font-weight: 700; font-size: 14px; }
.list { list-style: none; padding: 0; display: grid; gap: 10px; }
.list a { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; color: var(--ink); text-decoration: none; }
.list a:hover { border-color: var(--brand); }
.list b { display: block; font-size: 17px; color: var(--brand); margin-bottom: 4px; }
.list span { font-size: 14px; color: var(--muted); line-height: 1.6; }
.others { font-size: 14px; line-height: 1.9; }
.others a { color: var(--brand); font-weight: 700; }
.updated, .biz { font-size: 12.5px; color: var(--muted); line-height: 1.7; }
@media (max-width: 520px) {
  form { grid-template-columns: 1fr; }
  .big b { font-size: 26px; }
}
