/* 전국인력사무소 — 모바일 우선 스타일 */
:root {
  --navy: #0f2a44;
  --navy-2: #163a5c;
  --sea: #0e7c86;
  --sea-dark: #0a5f67;
  --sand: #f2b134;
  --ink: #1b2430;
  --muted: #5d6b7a;
  --line: #dfe6ee;
  --bg: #f6f8fb;
  --card: #ffffff;
  --ok: #0f7a4d;
  --ok-bg: #e7f6ee;
  --wait: #8a5a00;
  --wait-bg: #fff4d6;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(16, 42, 67, 0.06);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  word-break: keep-all;
}

a { color: var(--sea-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.3; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: 1.6rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 0.8em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
dl { margin: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff;
  padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

:focus-visible { outline: 3px solid var(--sand); outline-offset: 2px; }

/* ── 헤더 ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(15, 42, 68, 0.98);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; gap: 14px;
}
.brand { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark {
  background: var(--sand); color: var(--navy); font-size: 0.72rem; font-weight: 800;
  padding: 4px 7px; border-radius: 7px; letter-spacing: 0.04em;
}
.brand-text { font-size: 1.02rem; letter-spacing: -0.02em; }
.main-nav { display: none; gap: 4px; margin-left: 10px; flex: 1; }
.main-nav a {
  color: #d6e2ee; font-size: 0.9rem; padding: 8px 10px; border-radius: 8px; text-decoration: none;
}
.main-nav a:hover, .main-nav a.active { background: rgba(255, 255, 255, 0.1); color: #fff; text-decoration: none; }
.header-auth { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-auth a { color: #e8f0f8; font-size: 0.88rem; text-decoration: none; }
.header-auth .nav-cta {
  background: var(--sand); color: var(--navy); font-weight: 700; padding: 7px 12px; border-radius: 9px;
}
.header-auth .nav-signup { border: 1px solid rgba(255,255,255,0.4); padding: 6px 10px; border-radius: 9px; }
.nav-user { font-weight: 600; }
.link-btn {
  background: none; border: 0; color: #cfe0f0; font: inherit; font-size: 0.86rem; cursor: pointer; padding: 6px 4px;
}
.link-btn:hover { color: #fff; text-decoration: underline; }
.inline-form { display: inline; }
.menu-toggle {
  display: inline-flex; background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px; padding: 6px 10px; font: inherit; font-size: 0.82rem; cursor: pointer;
}
.mobile-nav { display: grid; gap: 2px; padding: 8px 16px 14px; background: var(--navy-2); }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { color: #dbe7f3; padding: 9px 4px; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
.mobile-nav .mobile-logout { border-bottom: 1px solid rgba(255,255,255,0.07); }
.mobile-nav .mobile-logout .link-btn { color: #dbe7f3; width: 100%; text-align: left; padding: 9px 4px; font-size: 0.9rem; }

/* ── 히어로 ───────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(1200px 400px at 85% -10%, rgba(14, 124, 134, 0.55), transparent 60%),
    linear-gradient(160deg, #0f2a44 0%, #14395a 60%, #0c243a 100%);
  color: #fff;
  padding: 42px 16px 34px;
}
.hero-inner { max-width: var(--max); margin: 0 auto; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; letter-spacing: 0.04em; color: #ffd98a;
  border: 1px solid rgba(242, 177, 52, 0.45); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px;
}
.hero h1 { font-size: 1.85rem; color: #fff; max-width: 18em; }
.hero-lead { color: #cfdcea; max-width: 46em; font-size: 0.98rem; }
.hero-lead strong { color: #ffe2a3; }
.lead-compact { display: none; }
.searchbar { display: flex; gap: 8px; margin: 18px 0 10px; max-width: 640px; }
.searchbar input {
  flex: 1; min-width: 0; border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.96);
  border-radius: 10px; padding: 12px 14px; font: inherit; color: var(--ink);
}
.hero-links { font-size: 0.86rem; color: #a9c0d6; }
.hero-links a { color: #bfe3e6; }
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 22px; }
.hero-stats div {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px; padding: 10px 12px;
}
.hero-stats strong { display: block; font-size: 1.35rem; color: #fff; }
.hero-stats span { font-size: 0.8rem; color: #b9cbdc; }

/* ── 실시간 매칭 퀵 센터 (첫 화면) ─────────────────────── */
.hero-center { padding-top: 30px; }
.hero-top { max-width: 780px; }
.seeker-panel .hero-links a { color: var(--sea-dark); font-weight: 700; }
.quick-center { display: grid; gap: 14px; margin: 20px 0 6px; align-items: start; }
.quick-card, .live-board { border-radius: 18px; padding: 16px; }
.quick-card {
  background: linear-gradient(180deg, #ffffff 0%, #f2f8fb 100%);
  color: var(--ink); box-shadow: 0 16px 38px rgba(3, 14, 26, 0.34);
}
.live-board {
  background: rgba(5, 22, 37, 0.92); border: 1px solid rgba(255, 255, 255, 0.14);
  color: #eaf2f9; box-shadow: 0 16px 38px rgba(3, 14, 26, 0.34);
  backdrop-filter: blur(4px);
}
.quick-card-head, .live-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.quick-card-head h2, .live-head h2 { margin: 0; font-size: 1.05rem; letter-spacing: -0.02em; }
.quick-card-head h2 { color: var(--navy); }
.live-head h2 { color: #fff; }
.live-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 800; color: #0a5f67; background: #dff4f5; white-space: nowrap;
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #16b892; animation: livePulse 1.8s ease-out infinite; }
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 184, 146, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(22, 184, 146, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 184, 146, 0); }
}
.quick-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.quick-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 5px; background: #e6eef4; border-radius: 12px; }
.quick-tab {
  display: block; text-align: center; padding: 9px 6px; border-radius: 9px;
  font-size: 0.9rem; font-weight: 800; color: #5a6b7c; cursor: pointer; line-height: 1.25; user-select: none;
}
.quick-tab small { display: block; font-size: 0.68rem; font-weight: 600; color: #8695a5; }
#qt-hire:checked ~ .quick-tabs label[for="qt-hire"],
#qt-work:checked ~ .quick-tabs label[for="qt-work"] { background: var(--navy); color: #fff; box-shadow: 0 4px 12px rgba(15, 42, 68, 0.28); }
#qt-hire:checked ~ .quick-tabs label[for="qt-hire"] small,
#qt-work:checked ~ .quick-tabs label[for="qt-work"] small { color: #ffd98a; }
.quick-radio:focus-visible ~ .quick-tabs { outline: 3px solid var(--sand); outline-offset: 2px; }
.quick-panel { display: none; margin-top: 12px; }
#qt-hire:checked ~ #quick-panel-hire, #qt-work:checked ~ #quick-panel-work { display: block; }
.quick-form { display: grid; gap: 10px; }
.quick-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.quick-row label { display: grid; gap: 4px; font-size: 0.78rem; font-weight: 700; color: #46586b; }
.quick-row select, .quick-row input {
  width: 100%; min-width: 0; padding: 12px 10px; border: 1px solid #d3dee8; border-radius: 10px;
  font: inherit; font-size: 0.95rem; background: #fff; color: var(--ink);
}
.quick-row select:focus, .quick-row input:focus { border-color: var(--sea); outline: 2px solid rgba(14, 124, 134, 0.15); }
.quick-actions { display: grid; gap: 6px; margin-top: 2px; }
.quick-actions .btn-block { padding: 14px 16px; font-size: 1rem; border-radius: 12px; }
.quick-note { margin: 9px 0 0; font-size: 0.76rem; color: #5d6b7a; }
.quick-note strong { color: var(--sea-dark); }
.quick-call { margin: 10px 0 0; padding-top: 9px; border-top: 1px dashed #dbe4ec; font-size: 0.78rem; color: #5d6b7a; }
.quick-call a { font-weight: 800; color: var(--navy); }

.live-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 13px; }
.live-kpi { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 11px; padding: 9px 5px; text-align: center; }
.live-kpi strong { display: block; font-size: 1.32rem; line-height: 1.15; color: #fff; }
.live-kpi span { font-size: 0.7rem; color: #a9c0d6; }
.live-title { margin: 0 0 7px; font-size: 0.74rem; letter-spacing: 0.03em; color: #8fb0c9; font-weight: 700; }
.live-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.live-row {
  display: flex; align-items: center; gap: 7px; background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 11px; padding: 9px 10px;
  font-size: 0.84rem; color: #eaf2f9;
}
.live-row-link { display: flex; align-items: center; gap: 7px; width: 100%; min-width: 0; color: inherit; text-decoration: none; }
.live-row-link:hover { text-decoration: none; background: none; }
.live-name { font-weight: 800; color: #fff; white-space: nowrap; }
.live-meta { flex: 1; min-width: 0; color: #a9c0d6; font-size: 0.76rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-chev { color: #7f97ad; font-weight: 800; }
.live-badge { font-size: 0.68rem; font-weight: 800; padding: 3px 7px; border-radius: 999px; white-space: nowrap; }
.live-badge-wait { background: #40340f; color: #ffd98a; }
.live-badge-ok { background: #0d3f2c; color: #7ff0b8; }
.live-badge-muted, .live-badge-soft { background: rgba(255, 255, 255, 0.12); color: #c4d4e2; }
.live-empty {
  padding: 16px 10px; text-align: center; font-size: 0.84rem; color: #a9c0d6;
  background: rgba(255, 255, 255, 0.05); border: 1px dashed rgba(255, 255, 255, 0.16); border-radius: 11px;
}
.live-empty strong { color: #ffe2a3; }
.live-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 11px; }
.live-foot .btn-ghost { border-color: rgba(255, 255, 255, 0.3); color: #eaf2f9; }
.live-foot .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.live-updated { margin-left: auto; font-size: 0.7rem; color: #8fb0c9; }

/* ── 공통 섹션 ────────────────────────────────────────── */
.section { max-width: var(--max); margin: 0 auto; padding: 34px 16px; }
.section-alt { background: #eef3f8; border-radius: 18px; }
.section-head { margin-bottom: 16px; }
.section-head h2 { margin-bottom: 6px; }
.section-head p { color: var(--muted); font-size: 0.93rem; }
.section-link { margin: 0; font-size: 0.9rem; }
.sub-h { font-size: 1.02rem; margin-top: 26px; }
.page-head { max-width: var(--max); margin: 0 auto; padding: 28px 16px 6px; }
.page-head p { color: var(--muted); max-width: 60em; }
.breadcrumb { font-size: 0.82rem; color: var(--muted); margin-bottom: 8px; }
.breadcrumb a { color: var(--muted); }

/* ── 버튼·배지 ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  padding: 10px 15px; border-radius: 10px; font: inherit; font-size: 0.92rem; font-weight: 600;
  cursor: pointer; text-decoration: none; transition: transform 0.04s ease, background 0.15s ease;
}
.btn:hover { background: #f2f6fa; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--sea); border-color: var(--sea); color: #fff; }
.btn-primary:hover { background: var(--sea-dark); }
.btn-ghost { background: transparent; }
.btn-block { display: flex; width: 100%; }
.btn-sm { padding: 6px 10px; font-size: 0.82rem; }
.btn-sand { background: var(--sand); border-color: #d99a1c; color: #16233a; font-weight: 800; }
.btn-sand:hover { background: #f7c25a; }
.btn-xs { padding: 5px 9px; font-size: 0.76rem; border-radius: 8px; }
.btn.disabled { opacity: 0.45; pointer-events: none; }

.badge {
  display: inline-block; font-size: 0.72rem; font-weight: 700; padding: 3px 8px; border-radius: 999px;
  background: #e8eef5; color: #35485c; white-space: nowrap;
}
.badge-cat { background: #e3f1f2; color: var(--sea-dark); }
.badge-soft { background: #eef2f7; color: #46586b; }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-wait { background: var(--wait-bg); color: var(--wait); }
.badge-muted { background: #eceff3; color: #6a7787; }
.badge-danger { background: #fdeaea; color: #b42318; }

/* ── 카드·그리드 ──────────────────────────────────────── */
.job-grid { display: grid; gap: 12px; }
.job-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px;
}
.job-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.job-card .pay { font-weight: 800; color: var(--navy); font-size: 0.95rem; }
.job-title { margin: 2px 0 0; font-size: 1.04rem; }
.job-title a { color: var(--ink); }
.job-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--muted); font-size: 0.84rem; margin: 0; }
.job-meta span::before { content: ""; }
.job-desc { color: #4a5b6d; font-size: 0.9rem; margin: 2px 0 0; }
.job-foot {
  display: flex; justify-content: space-between; align-items: center; margin-top: auto;
  padding-top: 10px; border-top: 1px dashed var(--line); font-size: 0.8rem; color: var(--muted);
}
.job-company { font-weight: 600; color: #35485c; }

.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.category-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px;
  display: flex; flex-direction: column; gap: 4px; color: var(--ink); box-shadow: var(--shadow);
}
.category-card:hover { border-color: #b9d2d6; text-decoration: none; }
.category-icon { font-size: 1.4rem; }
.category-name { font-weight: 700; font-size: 0.98rem; }
.category-subs { font-size: 0.78rem; color: var(--muted); }
.category-count { margin-top: 4px; font-size: 0.78rem; color: var(--sea-dark); font-weight: 700; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip {
  display: inline-block; padding: 7px 12px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); font-size: 0.86rem; color: #2c4358;
}
.chip:hover { border-color: var(--sea); text-decoration: none; }
.chip-muted { background: #f2f5f9; color: var(--muted); }
.chip-label { margin: 2px 0 8px; font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.chip-row-sido { padding-bottom: 2px; }
.chip-check {
  display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 0.84rem; background: #fff;
}
.chip-check:has(input:checked) { border-color: var(--sea); background: #eef8f9; color: var(--sea-dark); font-weight: 600; }
.chip-check input { margin: 0; }
.region-box { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 10px; }
.region-box legend { font-size: 0.88rem; font-weight: 700; padding: 0 4px; }
.region-grid-field { gap: 6px; }
.region-grid-label { margin: 0; font-size: 0.86rem; font-weight: 600; }
.region-grid { display: flex; flex-wrap: wrap; gap: 6px; }

.trust-grid { display: grid; gap: 12px; }
.trust-card {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--sea);
  border-radius: 12px; padding: 16px; box-shadow: var(--shadow);
}
.trust-icon { font-size: 1.3rem; }
.trust-card h3 { font-size: 1rem; margin: 6px 0 4px; }
.trust-card p { margin: 0; font-size: 0.9rem; color: var(--muted); }

.empty {
  background: #fff; border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 28px 18px; text-align: center; color: var(--muted);
}

.seeker-panel {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 18px;
  display: grid; gap: 16px; box-shadow: var(--shadow);
}
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: 0.9rem; }
.check-list li { padding-left: 22px; position: relative; color: #42536a; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--sea); font-weight: 800; }

/* ── 목록 필터 ────────────────────────────────────────── */
.filter-bar {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: #fff; padding: 12px;
  border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px;
}
.filter-bar input, .filter-bar select {
  width: 100%; min-width: 0; padding: 10px 11px; border: 1px solid var(--line); border-radius: 9px;
  font: inherit; font-size: 0.9rem; background: #fff; color: var(--ink);
}
.filter-bar input[type="search"] { grid-column: 1 / -1; }
.filter-bar .btn { grid-column: 1 / -1; }
.result-count { color: var(--muted); font-size: 0.9rem; }
.result-count strong { color: var(--ink); }
.pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; font-size: 0.9rem; }

/* ── 상세 ─────────────────────────────────────────────── */
.detail-layout, .post-layout, .match-layout { display: grid; gap: 16px; }
.detail-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow); margin-bottom: 14px;
}
.detail-box h2 { font-size: 1.06rem; margin-bottom: 10px; }
.detail-box h3 { font-size: 0.98rem; margin: 14px 0 8px; }
.spec-list { display: grid; grid-template-columns: 82px 1fr; gap: 8px 12px; font-size: 0.92rem; }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; }
.prose { font-size: 0.94rem; color: #34465a; }
.company { font-weight: 700; margin-bottom: 4px; }
.hint { color: var(--muted); font-size: 0.84rem; }
.hint-inline { color: var(--muted); font-size: 0.8rem; font-weight: 400; }
.aside-cta { display: grid; gap: 8px; margin: 12px 0; }
.mini-trust { border-top: 1px dashed var(--line); padding-top: 10px; font-size: 0.84rem; color: #42536a; }
.mini-trust p { margin: 0 0 4px; }
.job-detail-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: 0.9rem; }

.apply-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.apply-form h2 { font-size: 1.05rem; }
.apply-form label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; }
.apply-form textarea { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 9px; font: inherit; margin-bottom: 10px; }

.notice {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--navy);
  border-radius: 12px; padding: 14px 16px; margin-bottom: 14px;
}
.notice p:last-child { margin-bottom: 0; }
.notice-info { border-left-color: var(--sea); background: #f2fafb; }
.notice-ok { border-left-color: var(--ok); background: var(--ok-bg); }

.seo-copy { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }

/* ── 인력풀 ───────────────────────────────────────────── */
.talent-grid { display: grid; gap: 12px; }
.talent-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.talent-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.propose-form { display: grid; gap: 8px; margin-top: 10px; }
.propose-form select, .propose-form input {
  width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 9px; font: inherit; font-size: 0.88rem;
}

/* ── 폼 ───────────────────────────────────────────────── */
.stack-form { display: grid; gap: 14px; }
.card-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.field { display: grid; gap: 5px; }
.field label { font-size: 0.88rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 0.94rem;
  background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sea); outline: 2px solid rgba(14,124,134,0.15); }
.field-row { display: grid; gap: 12px; }
.req { color: #c0392b; }
.alert {
  background: #fdecec; border: 1px solid #f5c2c0; color: #8c2318;
  border-radius: 10px; padding: 11px 14px; font-size: 0.9rem; margin-bottom: 14px;
}
.consent-box, .role-select {
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 8px;
}
.consent-box legend, .role-select legend { font-size: 0.88rem; font-weight: 700; padding: 0 4px; }
.check, .role-option { display: flex; gap: 8px; font-size: 0.87rem; align-items: flex-start; line-height: 1.45; }
.check input, .role-option input { margin-top: 4px; }
.role-option { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.role-option:has(input:checked) { border-color: var(--sea); background: #f2fafb; }
.role-sub { display: block; font-size: 0.78rem; color: var(--muted); }

.auth-wrap { display: flex; justify-content: center; padding: 34px 16px 54px; }
.auth-card {
  width: 100%; max-width: 560px; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 24px 20px; box-shadow: 0 8px 24px rgba(16,42,67,0.07);
}
.auth-lead { color: var(--muted); font-size: 0.9rem; }
.auth-foot { margin-top: 14px; font-size: 0.88rem; color: var(--muted); }
.fee-banner {
  background: #f2fafb; border: 1px solid #cfe8ea; border-radius: 12px; padding: 14px 16px; font-size: 0.88rem;
}
.fee-banner p { margin: 0 0 3px; }

/* ── 마이페이지 ───────────────────────────────────────── */
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 22px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-align: center; }
.stat strong { display: block; font-size: 1.5rem; color: var(--navy); }
.stat span { font-size: 0.82rem; color: var(--muted); }
.dash-block { margin-bottom: 26px; }
.dash-block .section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.data-table th, .data-table td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table th { background: #f4f7fa; color: var(--muted); font-weight: 600; font-size: 0.82rem; }
.data-table tr:last-child td { border-bottom: 0; }

.match-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow); margin-bottom: 12px;
}
.match-card.is-accepted { border-color: #b8e0c8; }
.match-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; }
.match-title { font-size: 1rem; margin: 0; flex: 1 1 200px; }
.match-title a { color: var(--ink); }
.masked-box, .contact-box { border-radius: 10px; padding: 12px; margin-top: 8px; }
.masked-box { background: #f6f8fb; border: 1px dashed var(--line); }
.contact-box { background: var(--ok-bg); border: 1px solid #c6e7d5; }
.masked-list { display: grid; grid-template-columns: 68px 1fr; gap: 5px 10px; font-size: 0.88rem; }
.masked-list dt { color: var(--muted); }
.masked-list dd { margin: 0; }
.masked-list .locked { color: #8c2318; font-weight: 600; }
.contact-name { margin-bottom: 6px; }
.contact-line { margin: 0 0 3px; font-size: 0.9rem; }
.contact-msg { margin: 8px 0 0; font-size: 0.88rem; color: #34465a; }
.match-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }

.success-box { background: var(--ok-bg); border: 1px solid #c6e7d5; border-radius: var(--radius); padding: 20px; margin-bottom: 14px; }
.success-mark { font-size: 2rem; color: var(--ok); margin: 0 0 4px; }
.success-box h2 { color: #0b5c3b; }
.tel-link { font-weight: 800; font-size: 1.05rem; }
.step-list { font-size: 0.9rem; color: #42536a; }
.replacement-form { display: grid; gap: 8px; margin-top: 14px; border-top: 1px dashed var(--line); padding-top: 14px; }
.replacement-form select, .replacement-form textarea {
  width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 9px; font: inherit; font-size: 0.9rem;
}
.guarantee-box { border-left: 4px solid var(--sand); }

.policy-grid { display: grid; gap: 14px; }
.legal-prose { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.legal-prose h2 { font-size: 1.02rem; margin-top: 20px; }
.legal-prose h3 { font-size: 0.98rem; }

/* ── 푸터 ─────────────────────────────────────────────── */
.site-footer { background: #0c2134; color: #b7c9da; margin-top: 40px; padding: 28px 16px 30px; font-size: 0.85rem; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 18px; }
.footer-brand strong { color: #fff; font-size: 1rem; }
.footer-info { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; margin-top: 8px; font-size: 0.8rem; }
.footer-info dt { color: #7f97ad; }
.footer-info dd { margin: 0; color: #c9d8e6; }
.footer-info a { color: #cfe3ee; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-links a { color: #a9c2d6; }
.footer-notice { max-width: var(--max); margin: 20px auto 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.78rem; color: #90a8bd; }
.footer-notice strong { color: #d3e2ee; }
.footer-copy { margin-top: 10px; color: #7d93a8; }

/* ── 반응형 ───────────────────────────────────────────── */
@media (min-width: 720px) {
  h1 { font-size: 1.9rem; }
  .hero h1 { font-size: 2.4rem; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .job-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .filter-bar { grid-template-columns: repeat(4, 1fr); }
  .filter-bar input[type="search"] { grid-column: span 3; }
  .filter-bar .btn { grid-column: span 1; }
  .field-row { grid-template-columns: repeat(3, 1fr); }
  .field-row:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(4, 1fr); }
  .detail-layout, .post-layout, .match-layout { grid-template-columns: minmax(0, 7fr) minmax(260px, 4fr); align-items: start; }
  .sticky { position: sticky; top: 78px; }
  .seeker-panel { grid-template-columns: 1.4fr 1fr; }
  .talent-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1.6fr 1fr; }
  .policy-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 860px) {
  .quick-center { grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); gap: 16px; }
}

@media (min-width: 980px) {
  .main-nav { display: flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none; }
  .job-grid { grid-template-columns: repeat(3, 1fr); }
  .talent-grid { grid-template-columns: repeat(3, 1fr); }
}

/* 모바일(≤719px) 헤더: '구인 등록' 한 줄 유지 + 메뉴 버튼 잘림 방지 */
@media (max-width: 719px) {
  .header-inner { gap: 8px; padding: 9px 12px; }
  .brand { flex: 0 1 auto; min-width: 0; }
  .brand-text { font-size: 0.94rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .header-auth { gap: 6px; flex: 0 0 auto; margin-left: auto; }
  .header-auth > a:not(.nav-cta), .header-auth > .nav-user, .header-auth > .inline-form { display: none; }
  .header-auth .nav-cta { padding: 7px 10px; font-size: 0.8rem; white-space: nowrap; }
  .menu-toggle { flex: 0 0 auto; white-space: nowrap; padding: 6px 9px; }
  .quick-actions .btn-block { font-size: 0.96rem; }
  .lead-full { display: none; }
  .lead-compact { display: inline; }
  .hero-center { padding-top: 22px; }
  .hero-lead { font-size: 0.94rem; }
  .quick-card, .live-board { padding: 14px; }
  .quick-actions .btn-block { padding: 13px 14px; }
  .quick-call { font-size: 0.74rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
