/* CPA NEXT v2 — components & layout. Tokens live in tokens.css. */

/* ============================================================ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 72px); }
html.locked { overflow: hidden; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: -0.01em;
  font-feature-settings: "tnum" 0;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; text-align: inherit; }
button:disabled { cursor: not-allowed; }
input, select, textarea { min-width: 0; }
kbd { font-family: inherit; }
b, strong { font-weight: 600; }
::selection { background: var(--lime); color: var(--on-lime); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.on-ink { --focus: var(--focus-on-ink); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--lime); color: var(--on-lime); padding: 12px 18px; border-radius: var(--r-sm); font-weight: 600; }
.skip-link:focus { top: 12px; }
.muted { color: var(--text-3); }
.small { font-size: var(--fs-sm); }
.center { text-align: center; }
.pre { white-space: pre-wrap; }
.ico { display: inline-flex; align-items: center; justify-content: center; }
.ico-svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-svg path[fill="currentColor"] { stroke: currentColor; }
#main { outline: none; min-height: 60vh; }

/* ============================================================ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--hit); padding: 0 20px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 15px; white-space: nowrap; letter-spacing: -0.02em;
  border: 1.5px solid transparent;
  transition: background var(--dur-2) var(--ease), color var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease), transform var(--dur-1) var(--ease);
}
.btn:disabled, .btn:disabled:hover {
  background: var(--surface-2);
  border-color: var(--line-strong);
  color: var(--text-2);
}
button[aria-busy="true"] { cursor: progress; }
.btn[aria-busy="true"]::before {
  content: "";
  width: 1em;
  height: 1em;
  flex: none;
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
}
@media (prefers-reduced-motion: no-preference) {
  .btn[aria-busy="true"]::before { animation: send-progress 1s linear infinite; }
}
@keyframes send-progress { to { transform: rotate(1turn); } }
.btn .ico-svg { width: 18px; height: 18px; }
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn-primary { background: var(--blue); color: var(--on-blue); }
.btn-primary:hover { background: var(--blue-hover); }
.btn-lime { background: var(--lime); color: var(--on-lime); }
.btn-lime:hover { background: var(--lime-press); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--text); background: var(--surface); }
.btn-danger { background: var(--warn); color: var(--on-warn); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.grow { flex: 1; }
.icon-btn {
  display: inline-grid; place-items: center; width: var(--hit); height: var(--hit); border-radius: var(--r-pill);
  color: inherit; transition: background var(--dur-2) var(--ease);
}
.icon-btn:hover { background: var(--surface); }
.link-btn {
  display: inline-flex; align-items: center; gap: 4px; min-height: var(--hit); padding: 0 6px;
  color: var(--text-2); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong);
}
.link-btn .ico-svg { width: 16px; height: 16px; }
.link-btn:hover { color: var(--text); text-decoration-color: currentColor; }
.link-arrow { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 14px; min-height: 32px; }
.link-arrow .ico-svg { width: 16px; height: 16px; transition: transform var(--dur-2) var(--ease); }
.link-arrow:hover .ico-svg { transform: translateX(3px); }
.link-arrow.back:hover .ico-svg { transform: translateX(-3px); }

/* ============================================================ badges */
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
  display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px; border-radius: var(--r-pill);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; border: 1.5px solid transparent;
}
.badge .ico-svg { width: 14px; height: 14px; stroke-width: 2.4; }
.badge-lime { background: var(--lime); color: var(--on-lime); }
.badge-ink { background: var(--text); color: var(--bg); }
.badge-outline { border-color: var(--text); color: var(--text); }
.badge-muted { background: var(--surface-2); color: var(--text-2); }
.badge-ghost { color: var(--text-3); border-color: var(--line); }

/* ============================================================ header */
.hdr {
  position: sticky; top: 0; z-index: 40;
  background: var(--ink); color: var(--on-ink);
  --focus: var(--focus-on-ink);
  border-bottom: 1px solid var(--hero-line);
}
.hdr-in { height: var(--hdr-h); display: flex; align-items: center; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: var(--hit); flex: none; }
.logo img { width: 34px; height: 34px; }
.logo-word { font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.logo-word b { color: var(--lime); font-weight: 700; margin-left: 2px; }
.beta {
  height: 26px; padding: 0 10px; border-radius: var(--r-pill); border: 1px solid #334155;
  color: var(--on-ink-2); font-size: 12px; font-weight: 600; position: relative;
}
.beta::after { content: ""; position: absolute; inset: -9px -4px; } /* 44px hit area */
.beta:hover { color: var(--on-ink); border-color: var(--on-ink-2); }
.nav { display: flex; gap: 4px; margin-left: 28px; }
.nav a {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 15px; color: var(--on-ink-2); transition: color var(--dur-2), background var(--dur-2);
}
.nav a:hover { color: var(--on-ink); background: var(--ink-3); }
.nav a[aria-current="page"] { background: var(--lime); color: var(--on-lime); }
.hdr-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.search-trigger {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 10px 0 16px; border-radius: var(--r-pill);
  background: var(--ink-2); border: 1px solid var(--ink-3); color: var(--on-ink-2); font-size: 14px; min-width: 260px;
  transition: border-color var(--dur-2), color var(--dur-2), opacity var(--dur-2), transform var(--dur-2) var(--ease);
}
.search-trigger:hover { border-color: #475569; color: var(--on-ink); }
.search-trigger .ico-svg { width: 18px; height: 18px; }
.search-trigger kbd { margin-left: auto; font-size: 12px; padding: 2px 8px; border-radius: 6px; background: var(--ink-3); color: var(--on-ink); }
/* One search at a time: on the jobs home, the hero field is the search. */
body.hero-visible[data-view="jobs"] .search-trigger { opacity: 0; pointer-events: none; transform: translateY(-4px); visibility: hidden; }
.bell { position: relative; color: var(--on-ink); }
.bell:hover { background: var(--ink-3); }
.bell-count {
  position: absolute; top: 4px; right: 2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: var(--r-pill);
  background: var(--lime); color: var(--on-lime); font-size: 11px; font-weight: 700; line-height: 20px; text-align: center;
  box-shadow: 0 0 0 2px var(--ink);
}

/* ============================================================ hero */
.hero { background: var(--hero-bg); color: var(--on-ink); overflow: hidden; position: relative; }
.hero::after { /* thin lime baseline */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--lime);
}
.hero-in { padding-block: 30px 26px; }
.hero h1 { font-size: clamp(30px, 3.4vw, 46px); line-height: var(--lh-tight); letter-spacing: var(--track-tight); font-weight: 700; }
.lime { color: var(--lime); }
.hero-search {
  margin-top: 18px; display: flex; align-items: center; gap: 8px; height: 60px; padding: 0 8px 0 20px;
  background: #fff; color: var(--ink); border-radius: var(--r-pill); max-width: 640px;
  box-shadow: 0 0 0 0 var(--lime); transition: box-shadow var(--dur-2) var(--ease);
  --focus: var(--ink);
}
.hero-search:focus-within { box-shadow: 0 0 0 4px var(--lime); }
.hero-search .ico-svg { width: 22px; height: 22px; color: #475569; }
.hero-search input { flex: 1; height: 100%; border: 0; background: transparent; font-size: 17px; font-weight: 500; outline: none; color: var(--ink); }
.hero-search input::placeholder { color: #64748b; }
.hero-search input::-webkit-search-cancel-button { display: none; }
.hero-kbd { font-size: 12px; padding: 3px 8px; border-radius: 6px; background: #e2e8f0; color: #475569; }
.hero-search .btn { min-height: 48px; padding: 0 24px; }
.hero-sub { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; font-size: 14px; color: var(--on-ink-2); min-height: 36px; }
.hero-sub > span { margin-right: 4px; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: var(--r-pill);
  border: 1px solid #334155; color: var(--on-ink); font-size: 14px; font-weight: 600; position: relative;
  transition: border-color var(--dur-2), background var(--dur-2), color var(--dur-2);
}
.hero-chip::after { content: ""; position: absolute; inset: -4px 0; }
.hero-chip .ico-svg { width: 16px; height: 16px; }
.hero-chip:hover { border-color: var(--lime); color: var(--lime); }
.hero-chip.ghost { border-color: transparent; color: var(--on-ink-2); text-decoration: underline; text-underline-offset: 3px; }


/* ============================================================ filter bar */
.fbar-wrap {
  position: sticky; top: var(--hdr-h); z-index: 30; background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.fbar { display: flex; align-items: center; gap: 8px; padding-block: 12px; min-width: 0; }
.fbar-toggles, .fbar-selects { display: flex; gap: 8px; flex: none; }
.fbar-sep { width: 1px; height: 28px; background: var(--line); margin: 0 4px; flex: none; }
.fchip {
  display: inline-flex; align-items: center; gap: 6px; height: var(--hit); padding: 0 8px 0 16px; border-radius: var(--r-pill);
  border: 1.5px solid var(--line); background: var(--card); font-weight: 600; font-size: 14px; white-space: nowrap; flex: none;
  transition: border-color var(--dur-2), background var(--dur-2), color var(--dur-2), transform var(--dur-1);
}
.fchip:hover:not(:disabled) { border-color: var(--text); }
.fchip:active:not(:disabled) { transform: scale(0.97); }
.fchip:disabled { opacity: 0.45; }
.fchip .count {
  min-width: 28px; height: 28px; padding: 0 8px; border-radius: var(--r-pill); background: var(--surface); color: var(--text-2);
  display: inline-grid; place-items: center; font-size: 13px; font-variant-numeric: tabular-nums;
}
.fchip.on { background: var(--text); border-color: var(--text); color: var(--bg); }
.fchip.on .count { background: var(--lime); color: var(--on-lime); }
.fchip.warn:not(.on) .count { color: var(--on-warn); background: var(--warn); }
.fchip-sheet { display: none; }
.count.dark { background: var(--lime) !important; color: var(--on-lime) !important; }
.fselect {
  position: relative; display: inline-flex; align-items: center; height: var(--hit); border-radius: var(--r-pill);
  border: 1.5px solid var(--line); background: var(--card); font-weight: 600; font-size: 14px; flex: none;
  transition: border-color var(--dur-2);
}
.fselect:hover { border-color: var(--text); }
.fselect > span:not(.sr-only) { padding-left: 16px; color: var(--text-3); font-weight: 600; pointer-events: none; }
.fselect select {
  appearance: none; -webkit-appearance: none; border: 0; background: transparent; height: 100%; padding: 0 38px 0 8px;
  font-weight: 600; cursor: pointer; border-radius: var(--r-pill);
}
.fselect select:focus-visible { outline: none; }
.fselect:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.fselect > .ico-svg { position: absolute; right: 12px; width: 16px; height: 16px; pointer-events: none; color: var(--text-3); }
.fselect.on { border-color: var(--text); background: var(--surface); }
.fsort { margin-left: auto; }
.fsort select { padding-left: 16px; }

/* ============================================================ results + layout */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; padding-block: 20px 72px; align-items: start; }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 14px; min-height: 44px; scroll-margin-top: calc(var(--hdr-h) + 84px); }
.results-count { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.results-count h2 { display: flex; align-items: baseline; gap: 4px; font-weight: 700; }
.results-count h2 b { font-size: 40px; line-height: 1; letter-spacing: -0.02em; font-weight: 700; font-variant-numeric: tabular-nums; }
.results-count h2 span { font-size: 18px; letter-spacing: -0.02em; }
.results-count p { font-size: var(--fs-sm); color: var(--text-3); }
.applied { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.achip {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px 0 14px; border-radius: var(--r-pill);
  background: var(--lime); color: var(--on-lime); font-weight: 600; font-size: 14px; position: relative;
}
.achip::after { content: ""; position: absolute; inset: -4px 0; }
.achip .ico-svg { width: 16px; height: 16px; stroke-width: 2.4; }
.achip:hover { background: var(--lime-press); }

.jgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

/* ============================================================ job card */
.jcard {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 20px;
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-1); min-width: 0;
  transition: border-color var(--dur-2) var(--ease), transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
  animation: rise var(--dur-3) var(--ease) both;
}
.jgrid > :nth-child(2) { animation-delay: 30ms; } .jgrid > :nth-child(3) { animation-delay: 60ms; } .jgrid > :nth-child(4) { animation-delay: 90ms; }
.jgrid > :nth-child(n+5) { animation-delay: 120ms; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.jcard:hover { border-color: var(--text); transform: translateY(-3px); box-shadow: var(--shadow-2); }
.jcard:has(.stretch:active) { transform: translateY(-1px) scale(0.995); }
.jcard:focus-within:has(.stretch:focus-visible) { border-color: var(--text); }
.jcard-top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.avatar {
  width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface-2); color: var(--text); font-size: 13px; font-weight: 700; letter-spacing: -0.02em;
}
.save-btn {
  position: relative; z-index: 2; width: var(--hit); height: var(--hit); border-radius: var(--r-pill); display: grid; place-items: center;
  color: var(--text-3); margin: -6px -8px 0 0; transition: color var(--dur-2), background var(--dur-2), transform var(--dur-1);
}
.save-btn:hover { background: var(--surface); color: var(--text); }
.save-btn:active { transform: scale(0.88); }
.save-btn.on { color: var(--text); }
.save-btn.on .ico-svg { animation: pop var(--dur-3) var(--ease); }
@keyframes pop { 40% { transform: scale(1.3); } }
.jcard-title { font-size: 20px; line-height: 1.32; font-weight: 700; letter-spacing: -0.02em; margin-top: 4px; }
.stretch { text-align: left; font-weight: inherit; }
.stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.jcard .stretch:focus-visible { outline: none; }
.jcard .stretch:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: var(--r-lg); }
.prow-meta i, .article-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }

/* ============================================================ aside */
.aside { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--hdr-h) + 88px); }
.acard { background: var(--surface); border-radius: var(--r-lg); padding: 20px; }
.acard-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.acard-head h2 { font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 8px; letter-spacing: -0.02em; }
.pill-count { min-width: 24px; height: 24px; padding: 0 7px; border-radius: var(--r-pill); background: var(--text); color: var(--bg); font-size: 12px; display: inline-grid; place-items: center; }
.ring {
  --p: 0; width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: conic-gradient(var(--lime) calc(var(--p) * 1%), var(--ink-3) 0);
  position: relative;
}
.ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--ink); }
.ring b { position: relative; font-size: 12px; font-weight: 700; color: var(--on-ink); }
.ring.big { width: 112px; height: 112px; }
.ring.big::before { inset: 10px; }
.ring.big b { font-size: 28px; letter-spacing: -0.02em; }
.mini-notes li + li, .mini-posts li + li { border-top: 1px solid var(--line); }
.mini-notes button, .mini-posts a { display: block; width: 100%; padding: 11px 0; font-size: 14px; font-weight: 600; line-height: 1.45; text-align: left; }
.mini-notes button:hover, .mini-posts a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mini-notes .nk, .mini-posts span { display: block; font-size: 12px; color: var(--text-3); font-weight: 600; }
.mini-notes .unread .nk::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--text); margin: 0 6px 1px 0; }

/* ============================================================ page heads, seg tabs */
.page { padding-block: 40px 80px; }
.page.narrow { max-width: 880px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: var(--text-3); margin-bottom: 8px; }
.page-head h1 { font-size: var(--fs-h1); line-height: 1.08; font-weight: 700; letter-spacing: var(--track-tight); }
.page-sub { margin-top: 10px; color: var(--text-2); font-size: 16px; }
.seg { display: flex; gap: 4px; padding: 4px; background: var(--surface); border-radius: var(--r-pill); width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; margin-bottom: 24px; }
.seg::-webkit-scrollbar { display: none; }
.seg > * {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 18px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 15px; color: var(--text-2); white-space: nowrap; flex: none; transition: background var(--dur-2), color var(--dur-2);
}
.seg > *:hover { color: var(--text); }
.seg > [aria-pressed="true"], .seg > [aria-current="page"] { background: var(--text); color: var(--bg); }
.seg > * span { font-size: 12px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--text-2); display: inline-grid; place-items: center; font-variant-numeric: tabular-nums; }
.seg > [aria-pressed="true"] span, .seg > [aria-current="page"] span { background: var(--lime); color: var(--on-lime); }

/* ============================================================ studies */
.sgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.scard {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--r-lg);
  background: var(--card); border: 1.5px solid var(--line); min-width: 0;
  transition: border-color var(--dur-2), transform var(--dur-2) var(--ease), box-shadow var(--dur-2);
  animation: rise var(--dur-3) var(--ease) both;
}
.scard:hover { border-color: var(--text); transform: translateY(-3px); box-shadow: var(--shadow-2); }
.scard.is-full { background: var(--surface); }
.scard-top { display: flex; flex-wrap: wrap; gap: 6px; }
.scard h3 { font-size: 21px; line-height: 1.3; font-weight: 700; letter-spacing: -0.02em; }
.scard .stretch:focus-visible { outline: none; }
.scard .stretch:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: var(--r-lg); }
.scard-meta { display: flex; flex-direction: column; gap: 6px; color: var(--text-2); font-size: 14px; }
.scard-meta li { display: flex; align-items: center; gap: 8px; }
.scard-meta .ico-svg { width: 16px; height: 16px; color: var(--text-3); }
.bar { height: 8px; border-radius: var(--r-pill); background: var(--surface-2); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--text); border-radius: inherit; }
.scard:not(.is-full) .bar i { background: linear-gradient(90deg, var(--text) 0 calc(100% - 10px), var(--lime) calc(100% - 10px)); }

/* ============================================================ community */
.notice-row {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--r-md); background: var(--surface);
  font-weight: 600; margin-bottom: 20px; min-height: var(--hit); transition: background var(--dur-2);
}
.notice-row span:nth-child(2) { flex: 1; }
.notice-row .ico-svg { width: 18px; height: 18px; color: var(--text-3); }
.notice-row:hover { background: var(--surface-2); }
.plist { border-top: 2px solid var(--text); }
.prow {
  position: relative; display: grid; grid-template-columns: 44px auto minmax(0, 1fr) auto auto 56px; align-items: center; gap: 14px;
  padding: 18px 8px; border-bottom: 1px solid var(--line); transition: background var(--dur-2);
}
.prow:hover { background: var(--surface); }
.prow-no { color: var(--text-3); font-size: 14px; text-align: center; font-variant-numeric: tabular-nums; }
.prow-title { font-weight: 600; font-size: 16px; line-height: 1.4; min-width: 0; }
.stretch-a::after { content: ""; position: absolute; inset: 0; }
.stretch-a:focus-visible { outline: none; }
.stretch-a:focus-visible::after { outline: 3px solid var(--focus); outline-offset: -3px; border-radius: 8px; }
.prow:hover .prow-title { text-decoration: underline; text-underline-offset: 3px; }
.saved-dot .ico-svg { width: 16px; height: 16px; }
.prow-meta { display: flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 13px; white-space: nowrap; }
.prow-cmt { display: inline-flex; align-items: center; justify-content: flex-end; gap: 4px; color: var(--text-3); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.prow-cmt .ico-svg { width: 16px; height: 16px; }
.prow-cmt.has { color: var(--text); }
.board-bottom { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 24px 0; flex-wrap: wrap; }
.pager { display: flex; gap: 4px; }
.pager button { width: var(--hit); height: var(--hit); border-radius: var(--r-pill); display: grid; place-items: center; font-weight: 600; }
.pager button .ico-svg { width: 18px; height: 18px; }
.pager button:hover:not(:disabled) { background: var(--surface); }
.pager button:disabled { opacity: 0.35; }
.pager [aria-current="page"] { background: var(--text); color: var(--bg); }

.crumb { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; color: var(--text-3); font-size: 14px; }
.crumb .link-arrow { color: var(--text); min-height: var(--hit); }
.article { padding-bottom: 8px; }
.article header { padding-bottom: 24px; border-bottom: 2px solid var(--text); }
.article-title { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.18; letter-spacing: var(--track-head); font-weight: 700; margin: 14px 0 12px; }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--text-3); font-size: 14px; }
.article-body { white-space: pre-wrap; font-size: 17px; line-height: 1.8; padding: 32px 0; color: var(--text); }
.article-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 8px 0 24px; }
.article-util { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 8px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-util > div { display: flex; flex-wrap: wrap; }
#board-inline-action:not(:empty) { margin-top: 16px; }
.comments { margin-top: 40px; }
.comments h2 { font-size: 22px; font-weight: 700; margin-bottom: 16px; letter-spacing: -0.02em; }
.comments h2 b { font-weight: 700; }
.clist { margin-bottom: 20px; }
.comment { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.comment-head small { color: var(--text-3); font-size: 13px; }
.comment-head .link-btn { margin-left: auto; font-size: 13px; }
.comment p { white-space: pre-wrap; margin-top: 4px; }
.comment-form { padding: 20px; background: var(--surface); border-radius: var(--r-lg); }
.adjacent { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
.adjacent a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: var(--r-md); font-weight: 600; transition: border-color var(--dur-2); min-width: 0; }
.adjacent a:hover { border-color: var(--text); }
.adjacent small { color: var(--text-3); font-weight: 600; font-size: 13px; }
.adjacent .next { text-align: right; }
.end-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.editor { padding: 8px 0; }
.editor .article-title { margin-top: 0; margin-bottom: 24px; }
.static { height: var(--hit); display: flex; align-items: center; color: var(--text-2); font-weight: 600; }
.guide-list { counter-reset: g; padding: 24px 0; display: flex; flex-direction: column; gap: 4px; }
.guide-list li { counter-increment: g; position: relative; padding: 16px 0 16px 64px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.7; }
.guide-list li::before { content: counter(g, decimal-leading-zero); position: absolute; left: 0; top: 10px; font-size: 32px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.guide-list b { display: block; font-size: 17px; }

/* ============================================================ MY */
.rows { border-top: 1.5px solid var(--text); }
.rows li { border-bottom: 1px solid var(--line); }
.row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 8px; text-align: left; min-height: 64px; transition: background var(--dur-2); }
.row:hover { background: var(--surface); }
.row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.4; }
.row-main strong { font-size: 16px; }
.row-main small { color: var(--text-3); font-size: 13px; }
.row-side { display: inline-flex; align-items: center; gap: 4px; color: var(--text-3); font-size: 14px; font-weight: 600; white-space: nowrap; }
.row-side .ico-svg { width: 18px; height: 18px; }

/* resume */
.resume-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.resume-form { display: flex; flex-direction: column; gap: 16px; }
.publish {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--r-lg);
  border: 2px solid var(--line); background: var(--card); transition: border-color var(--dur-2), background var(--dur-2);
}
.publish.is-public { border-color: var(--text); background: var(--surface); }
.publish-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--surface-2); flex: none; }
.publish.is-public .publish-icon { background: var(--lime); color: var(--on-lime); }
.publish-icon .ico-svg { width: 26px; height: 26px; }
.publish-text { flex: 1; min-width: 0; }
.publish-text h2 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.publish-text p { color: var(--text-2); font-size: 14px; margin-top: 2px; line-height: 1.5; }
.trial-line { display: flex; gap: var(--s2); align-items: flex-start; font-size: var(--fs-sm); color: var(--text-2); line-height: 1.5; }
.trial-line .ico-svg { width: 16px; height: 16px; margin-top: 2px; flex: none; }
.fs { border: 0; margin: 0; padding: 22px; border-radius: var(--r-lg); background: var(--surface); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.fs legend { float: left; width: 100%; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; padding: 0; margin-bottom: 2px; }
.fs legend + * { clear: both; }
.career-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 10px; align-items: end; }
.career-row + .career-row { margin-top: 10px; }
.career-row .icon-btn { color: var(--text-3); }
.career-row .icon-btn:hover { background: var(--surface-2); color: var(--text); }
.fs .btn-sm { align-self: flex-start; }
.sticky-foot { position: sticky; bottom: 0; z-index: 3; padding: 14px 0; background: var(--bg); border-top: 1px solid var(--line); }
.resume-preview { position: sticky; top: calc(var(--hdr-h) + 24px); display: flex; flex-direction: column; gap: 12px; }
.preview-card { background: var(--ink); color: var(--on-ink); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; border: 1px solid var(--hero-line); }
.preview-kicker { font-size: 12px; font-weight: 600; color: var(--on-ink-2); letter-spacing: 0.04em; margin-bottom: 10px; }
.preview-card h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin-top: 14px; }
.preview-line { color: var(--on-ink-2); font-size: 14px; }
.preview-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.preview-tags span { height: 26px; padding: 0 10px; border-radius: var(--r-pill); background: var(--lime); color: var(--on-lime); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; }
.preview-tags .dim { background: var(--ink-3); color: var(--on-ink-2); }
.preview-status { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--lime); }
.small-h { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.todo li { padding: 6px 0 6px 22px; position: relative; font-size: 14px; color: var(--text-2); }
.todo li::before { content: ""; position: absolute; left: 0; top: 12px; width: 12px; height: 12px; border-radius: 4px; border: 1.5px solid var(--line-strong); }

/* chips as checkboxes */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cchip { position: relative; display: inline-flex; }
.cchip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.cchip span {
  display: inline-flex; align-items: center; gap: 6px; height: var(--hit); padding: 0 18px; border-radius: var(--r-pill);
  border: 1.5px solid var(--line-strong); background: var(--card); font-weight: 600; font-size: 15px; transition: background var(--dur-2), color var(--dur-2), border-color var(--dur-2);
}
.cchip .ico-svg { width: 16px; height: 16px; stroke-width: 2.4; display: none; }
.cchip input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.cchip input:checked + span .ico-svg { display: block; color: var(--lime); }
:root:not([data-theme="light"]) .cchip input:checked + span .ico-svg { color: var(--lime); }
.cchip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.cchip:hover span { border-color: var(--text); }

/* switch */
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; cursor: pointer; }
.switch-text { display: flex; flex-direction: column; line-height: 1.4; }
.switch-text small { color: var(--text-3); font-size: 13px; }
.switch {
  appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 56px; height: 34px; margin: 0; border-radius: var(--r-pill);
  background: var(--line-strong); cursor: pointer; transition: background var(--dur-2) var(--ease);
}
.switch::before {
  content: ""; position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 50%; background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); transition: transform var(--dur-2) var(--ease), background var(--dur-2);
}
.switch:checked { background: var(--lime); }
.switch:checked::before { transform: translateX(22px); background: var(--ink); }
.switch-lg { width: 64px; height: 38px; }
.switch-lg::before { width: 30px; height: 30px; }
.switch-lg:checked::before { transform: translateX(26px); }
.switch:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* alerts */
.alerts-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.alerts-list h2 { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -0.02em; }
.alert-form { display: flex; flex-direction: column; gap: 14px; position: sticky; top: calc(var(--hdr-h) + 24px); padding: 24px; }
.alert-form h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.match-preview { padding: 14px 16px; border-radius: var(--r-md); background: var(--ink); color: var(--on-ink); font-weight: 600; }
.match-preview b { color: var(--lime); font-size: 24px; font-weight: 700; margin: 0 2px; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 12px; }
.drawer-head b { font-weight: 700; }
.notifs { display: flex; flex-direction: column; gap: 8px; }
.notif {
  position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: start; gap: 12px; width: 100%;
  padding: 16px; border-radius: var(--r-md); background: var(--card); border: 1.5px solid var(--line); text-align: left;
  transition: border-color var(--dur-2), background var(--dur-2);
}
.notif:hover { border-color: var(--text); }
.notif.unread { background: var(--surface); border-color: var(--surface); }
.notif.unread:hover { border-color: var(--text); }
.notif.unread { box-shadow: inset 4px 0 0 var(--text); }
.notif-kind { justify-self: start; height: 24px; padding: 0 9px; border-radius: var(--r-pill); background: var(--text); color: var(--bg); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; white-space: nowrap; }
.notif.warn .notif-kind { background: var(--warn); color: var(--on-warn); }
.notif-text { display: flex; flex-direction: column; line-height: 1.45; min-width: 0; }
.notif-text strong { font-size: 15px; }
.notif-text small { color: var(--text-3); font-size: 13px; }
.notif-when { font-size: 12px; color: var(--text-3); font-weight: 600; white-space: nowrap; }
.notif.warn .notif-when { color: var(--warn); }
.drawer-foot { margin-top: 16px; }
.drawer .notif { grid-template-columns: auto minmax(0, 1fr); gap: 8px 10px; }
.drawer .notif-kind { grid-row: 1; grid-column: 1; }
.drawer .notif-when { grid-row: 1; grid-column: 2; justify-self: end; align-self: center; }
.drawer .notif-text { grid-row: 2; grid-column: 1 / -1; }
.drawer .trial-line { padding: 12px 14px; border-radius: var(--r-md); background: var(--surface); margin-bottom: 8px; }

/* ============================================================ forms */
.form { display: flex; flex-direction: column; gap: 14px; }
.form-title { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-grid.three { grid-template-columns: 1.2fr 1fr 0.8fr; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-size: 14px; font-weight: 600; color: var(--text-2); }
.field > span small { font-weight: 500; color: var(--text-3); margin-left: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: var(--hit); padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line-strong);
  background: var(--card); font-size: 16px; transition: border-color var(--dur-2);
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { resize: vertical; line-height: 1.6; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-2); cursor: pointer; min-height: var(--hit); padding-top: 10px; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--ink); flex: none; }
.form-error { padding: var(--s3) var(--s4); border-inline-start: 3px solid var(--warn); border-radius: var(--r-md); background: var(--warn-soft); color: var(--text); font-weight: 600; font-size: 14px; }
.form-error .btn { margin-block-start: var(--s2); display: flex; width: fit-content; }
.form-error[hidden] { display: none; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.callout { padding: 16px 18px; border-radius: var(--r-md); background: var(--surface); line-height: 1.6; }
p.callout[role="status"] { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s3); }
@media (pointer: coarse) {
  p.callout[role="status"] .link-inline { display: inline-flex; align-items: center; min-height: var(--hit); }
}
.callout h3 { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.callout h3 .ico-svg { width: 18px; height: 18px; }
.confirm { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 14px 16px; border-radius: var(--r-md); border: 2px solid var(--text); background: var(--card); }
.confirm > span { flex: 1 1 220px; font-weight: 600; }
.confirm p { flex-basis: 100%; }
.note { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--text-3); line-height: 1.55; }
.note .ico-svg { width: 16px; height: 16px; margin-top: 2px; flex: none; }

/* ============================================================ empty */
.empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s2); padding: var(--s7) var(--s4); border-radius: var(--r-md); border: 1px dashed var(--line-strong); }
.empty-mark { width: 48px; height: 48px; border-radius: 16px; background: var(--lime); color: var(--on-lime); display: grid; place-items: center; margin-bottom: 6px; }
.empty strong { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.empty p { color: var(--text-3); margin-bottom: 8px; }

/* ============================================================ dialogs */
dialog { color: var(--text); }
.modal {
  width: min(600px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: var(--r-lg);
  background: var(--bg); box-shadow: var(--shadow-pop); overflow: hidden;
}
.modal[open] { display: flex; flex-direction: column; animation: dialog-in var(--dur-3) var(--ease); }
.modal.wide { width: min(760px, calc(100% - 32px)); }
.modal::backdrop, .palette::backdrop { background: var(--scrim); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: fade var(--dur-3) var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
@keyframes fade { from { opacity: 0; } }
.modal-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 6px 28px; flex: none; }
.modal-bar strong { font-size: 18px; font-weight: 700; }
.modal-bar-tools { display: inline-flex; align-items: center; gap: 4px; flex: none; }
.drawer-settings { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--text-2, inherit); font: inherit; font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.drawer-settings:hover { background: var(--surface-2, rgba(0,0,0,.05)); }
.drawer-settings .ico svg { width: 16px; height: 16px; }
.modal-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--text-3); }
.modal-body { padding: 0 28px 28px; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 18px; }
.modal-h { font-size: 28px; line-height: 1.2; font-weight: 700; letter-spacing: var(--track-head); }
.modal-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; padding-top: 4px; }
.jd + .modal-actions { position: sticky; bottom: -28px; margin: 0 -28px -28px; padding: 14px 28px 20px; background: var(--bg); border-top: 1px solid var(--line); z-index: 2; }

/* job detail */
.jd { display: flex; flex-direction: column; gap: 16px; }
.jd-co { display: flex; align-items: center; gap: 12px; }
.jd-co > div { display: flex; flex-direction: column; line-height: 1.35; }
.jd-co small { color: var(--text-3); font-size: 13px; }
.jd-title { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; font-weight: 700; letter-spacing: var(--track-head); }
.jd-hero { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: end; padding: 22px 24px; border-radius: var(--r-lg); background: var(--ink); color: var(--on-ink); border: 1px solid var(--hero-line); }
.jd-hero > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.jd-label { font-size: 13px; color: var(--on-ink-2); font-weight: 600; }
.jd-dday { font-size: 76px; line-height: 0.85; font-weight: 700; letter-spacing: -0.02em; color: var(--lime); font-variant-numeric: tabular-nums; }
.jd-hero.urgent .jd-dday { color: var(--hero-warn); }
.jd-hero strong { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.jd-hero em { font-style: normal; align-self: flex-start; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: var(--r-pill); background: var(--hero-warn); color: var(--ink); }
.jd-info { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.jd-info > div { background: var(--bg); padding: 14px 16px; min-width: 0; }
.jd-info dt { font-size: 12px; color: var(--text-3); font-weight: 600; }
.jd-info dd { font-weight: 600; margin-top: 2px; }
.jd-desc { font-size: 16px; line-height: 1.75; color: var(--text-2); }

/* correction diff */
.diff { border: 2px solid var(--text); border-radius: var(--r-lg); padding: 20px 22px; display: flex; flex-direction: column; gap: 16px; }
.diff-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.diff-head h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; }
.diff-head h3 .ico-svg { width: 18px; height: 18px; }
.diff-head span { font-size: 13px; color: var(--text-3); font-weight: 600; }
.diff-row { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 12px; align-items: center; }
.diff-row dt { font-size: 14px; font-weight: 600; color: var(--text-2); }
.diff-row dd { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.diff del { color: var(--text-3); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--warn); font-size: 16px; font-weight: 600; }
.diff-arrow .ico-svg { width: 20px; height: 20px; color: var(--text-3); }
.diff ins { text-decoration: none; background: var(--lime); color: var(--on-lime); font-weight: 700; font-size: 18px; padding: 4px 12px; border-radius: 8px; }
.timeline { display: flex; flex-direction: column; gap: 0; padding-left: 4px; border-top: 1px solid var(--line); padding-top: 14px; }
.timeline li { position: relative; display: flex; gap: 14px; padding: 0 0 12px 22px; font-size: 14px; color: var(--text-2); }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--bg); }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 5px; top: 18px; bottom: 0; width: 1.5px; background: var(--line); }
.timeline li.now::before { border-color: var(--text); background: var(--lime); }
.timeline time { font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; min-width: 40px; }

/* drawer (notifications) */
.drawer { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(440px, 100%); border-radius: 0; }
.drawer[open] { animation: drawer-in var(--dur-3) var(--ease); }
@keyframes drawer-in { from { transform: translateX(40px); opacity: 0; } }
.drawer .modal-body { gap: 0; flex: 1; }

/* sheet (mobile filters) */
.sheet .modal-body { gap: 22px; padding-bottom: 0; }
.sheet-sec h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.sheet-foot { position: sticky; bottom: 0; display: flex; gap: 8px; padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); margin-top: 4px; }
.sheet .fchip { flex: none; }

/* palette */
.palette { width: min(680px, calc(100% - 32px)); margin: 10vh auto auto; padding: 0; border: 0; border-radius: var(--r-lg); background: var(--bg); box-shadow: var(--shadow-pop); max-height: 76vh; overflow: hidden; }
.palette[open] { display: flex; animation: dialog-in var(--dur-2) var(--ease); }
.palette-in { display: flex; flex-direction: column; width: 100%; min-height: 0; }
.palette-field { display: flex; align-items: center; gap: 12px; padding: 0 14px 0 22px; height: 68px; border-bottom: 1px solid var(--line); flex: none; }
.palette-field .ico-svg { width: 22px; height: 22px; color: var(--text-3); }
.palette-field input { flex: 1; height: 100%; border: 0; background: transparent; font-size: 19px; font-weight: 600; outline: none; }
.palette-field input::-webkit-search-cancel-button { display: none; }
.palette-esc { height: 32px; padding: 0 10px; border-radius: 8px; background: var(--surface); color: var(--text-2); font-size: 12px; font-weight: 600; position: relative; }
.palette-esc::after { content: ""; position: absolute; inset: -6px; }
.palette-results { overflow-y: auto; padding: 8px; flex: 1; min-height: 0; }
.pal-group + .pal-group { margin-top: 6px; }
.pal-label { font-size: 12px; font-weight: 700; color: var(--text-3); letter-spacing: 0.06em; padding: 10px 12px 6px; }
.pal-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; padding: 8px 12px; border-radius: var(--r-md); min-height: 56px; text-align: left; }
.pal-row[aria-selected="true"] { background: var(--surface); }
.pal-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; }
.pal-ico .ico-svg { width: 18px; height: 18px; }
.pal-row[aria-selected="true"] .pal-ico { background: var(--lime); color: var(--on-lime); }
.pal-text { display: flex; flex-direction: column; line-height: 1.4; min-width: 0; }
.pal-text strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pal-text small { font-size: 13px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pal-enter { color: var(--text-3); font-size: 14px; opacity: 0; }
.pal-row[aria-selected="true"] .pal-enter { opacity: 1; }
.pal-all { border: 1.5px dashed var(--line-strong); margin-bottom: 4px; }
.palette-help { display: flex; align-items: center; gap: 6px; padding: 12px 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-3); flex: none; }
.palette-help kbd { padding: 2px 7px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); font-size: 11px; font-weight: 600; color: var(--text-2); }
.palette-help kbd + kbd { margin-left: -2px; }
.palette .empty { margin: 8px; }

/* ============================================================ toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 200; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  width: max-content; max-width: min(520px, calc(100% - 32px)); padding: var(--s3) var(--s4); border-radius: var(--r-md); background: var(--ink); color: var(--on-ink);
  font-weight: 600; font-size: var(--fs-body); line-height: var(--lh-body); box-shadow: var(--shadow-pop); transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
  display: flex; align-items: center; gap: 10px; border: 1px solid var(--ink-3);
}
.toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); flex: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast:empty { display: none; }

/* ============================================================ footer + tabbar */
.tabbar { display: none; }


/* ============================================================ v2.1 restructure: dropdowns, cards, toolbars */
/* label: value dropdown — counts only inside the opened list */
.dd { position: relative; flex: none; }
.dd-btn {
  display: inline-flex; align-items: center; gap: 6px; height: var(--hit); padding: 0 14px 0 16px; border-radius: var(--r-pill);
  border: 1.5px solid var(--line); background: var(--card); font-size: 14px; white-space: nowrap;
  transition: border-color var(--dur-2), background var(--dur-2);
}
.dd-btn:hover { border-color: var(--text); }
.dd-btn .dd-label { color: var(--text-3); font-weight: 600; }
.dd-btn b { font-weight: 600; }
.dd-btn .ico-svg { width: 16px; height: 16px; color: var(--text-3); transition: transform var(--dur-2) var(--ease); }
.dd-btn[aria-expanded="true"] { border-color: var(--text); }
.dd-btn[aria-expanded="true"] .ico-svg { transform: rotate(180deg); }
.dd.on .dd-btn { border-color: var(--on-lime); background: var(--lime); }
.dd.on .dd-btn .dd-label, .dd.on .dd-btn b, .dd.on .dd-btn .ico-svg { color: var(--on-lime); }
.dd-menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 50; min-width: 200px; padding: 6px; border-radius: var(--r-md);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-pop); animation: dialog-in var(--dur-2) var(--ease);
}
.dd-menu[hidden] { display: none; }
.fsort .dd-menu, .toolbar-right .dd-menu { left: auto; right: 0; }
.dd-opt { display: flex; align-items: center; gap: 8px; width: 100%; min-height: var(--hit); padding: 0 12px 0 8px; border-radius: 10px; font-size: 15px; font-weight: 600; text-align: left; }
.dd-opt:hover:not(:disabled), .dd-opt:focus-visible { background: var(--surface); outline: none; }
.dd-opt:focus-visible { box-shadow: inset 0 0 0 2px var(--focus); }
.dd-opt:disabled { opacity: 0.4; }
.dd-opt[aria-selected="true"] { color: var(--on-lime); background: var(--lime); }
.dd-check { width: 18px; display: inline-grid; place-items: center; }
.dd-check .ico-svg { width: 16px; height: 16px; stroke-width: 2.6; }
.dd-text { flex: 1; }
.dd-count { font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.dd-opt[aria-selected="true"] .dd-count { color: var(--on-lime); }
.fsort { margin-left: auto; }

/* toggle chips: visible checkbox, filled when on */
.fchip { padding: 0 8px 0 12px; }
.fchip-box {
  width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--line-strong); display: inline-grid; place-items: center; flex: none;
  transition: background var(--dur-2), border-color var(--dur-2);
}
.fchip-box .ico-svg { width: 13px; height: 13px; stroke-width: 3; opacity: 0; }
.fchip.on .fchip-box { background: var(--bg); border-color: var(--bg); color: var(--text); }
.fchip.on .fchip-box .ico-svg { opacity: 1; }
.fchip:not(:has(.count)) { padding-right: 16px; }
.fchip-sheet .ico-svg { width: 16px; height: 16px; }

/* job card: company + D-day pill + bookmark / title / tags / deadline */
.jcard { cursor: pointer; gap: 12px; padding: 20px 20px 18px; }
.jcard-co { flex: 1; min-width: 0; font-weight: 600; font-size: 15px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avatar { width: 36px; height: 36px; border-radius: 10px; font-size: 12px; }
.dpill {
  flex: none; height: 28px; padding: 0 11px; border-radius: var(--r-pill); display: inline-flex; align-items: center;
  background: var(--surface-2); color: var(--text); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.dpill.urgent { background: var(--warn); color: var(--on-warn); }
.save-btn { margin: -6px -10px -6px -4px; }
.jcard-title { font-size: 21px; line-height: 1.32; margin-top: 2px; }
.jcard-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; font-size: 14px; color: var(--text-2); font-weight: 500; }
.jcard-tags > span:not(.badge):not(:first-child)::before, .jcard-tags > .badge + span::before { content: "·"; margin: 0 8px; color: var(--line-strong); }
.jcard-tags > .badge { margin-right: 2px; }
.tag-muted { color: var(--text-3); }
.jcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); font-weight: 600; }
.jcard-foot b { color: var(--text); font-weight: 600; }
.jcard-more { display: inline-flex; align-items: center; gap: 2px; color: var(--text-2); font-weight: 600; transition: color var(--dur-2), transform var(--dur-2) var(--ease); }
.jcard-more .ico-svg { width: 16px; height: 16px; }
.jcard:hover .jcard-more { color: var(--text); transform: translateX(3px); }
.jcard:hover .jcard-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* aside: light cards */
.acard-title { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.acard-guide { background: var(--card); border: 1.5px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.acard-guide .muted { line-height: 1.55; }
.acard-guide .link-btn { align-self: flex-start; padding: 0; }
.acard-guide .btn-block { white-space: normal; text-align: center; line-height: 1.35; padding-block: 10px; }
.progress-row { display: flex; align-items: center; gap: 10px; }
.progress-row .bar { flex: 1; }
.progress-row b { font-size: 15px; font-variant-numeric: tabular-nums; }
.acard-links { display: flex; gap: 8px; flex-wrap: wrap; }
.mini-study { position: relative; display: flex; flex-direction: column; gap: 4px; width: 100%; padding: 14px; border-radius: var(--r-md); background: var(--card); border: 1.5px solid transparent; text-align: left; transition: border-color var(--dur-2); }
.mini-study + .mini-study { margin-top: 8px; }
.mini-study:hover { border-color: var(--text); }
.mini-study strong { font-size: 15px; line-height: 1.35; }
.mini-study small { color: var(--text-3); font-size: 13px; }
.mini-study-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.mini-study-foot > span { display: inline-flex; align-items: center; color: var(--text); }
.mini-study-foot .ico-svg { width: 14px; height: 14px; }

/* study card footer */
.members { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.members-num { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 15px; color: var(--text-2); margin-bottom: 8px; }
.members-num b { color: var(--text); font-weight: 700; }
.members-num small { font-size: 13px; color: var(--text-3); }
.scard { cursor: pointer; }
.scard-cta { position: relative; z-index: 2; }
.scard:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* MY: one flat tab row, small empty state */
.page-head.compact { margin-bottom: 16px; }
.my-tabs > * span.hot { background: var(--warn); color: var(--on-warn); }
.empty-sm { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; padding: 18px 20px; border-radius: var(--r-md); background: var(--surface); }
.empty-sm p { flex: 1 1 16em; min-width: 0; color: var(--text-2); font-weight: 400; }
#my-body .jgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* community toolbar: search · sort · saved-only in one row */
.toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.board-search { display: flex; align-items: center; gap: 8px; flex: 1 1 420px; min-width: 0; }
.board-search-field { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; }
.board-search-field .ico-svg { position: absolute; left: 16px; width: 18px; height: 18px; color: var(--text-3); pointer-events: none; }
.board-search input { width: 100%; height: var(--hit); padding: 0 16px 0 44px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: var(--card); }
.board-search input:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--text); }
.toolbar-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.list-caption { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; color: var(--text-2); }
.list-caption strong { font-size: 16px; color: var(--text); }
.list-caption b { font-size: 20px; font-weight: 700; margin-left: 2px; }
.prow { grid-template-columns: 44px auto minmax(0, 1fr) auto 56px; }
.prow-title { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
.tag-sample, .tag-mine { font-size: 12px; font-weight: 600; color: var(--text-3); white-space: nowrap; }
.tag-mine { color: var(--on-lime); background: var(--lime); padding: 1px 7px; border-radius: 6px; }
.prow-title .saved-dot { position: relative; z-index: 2; color: var(--text); }


/* ============================================================ v3 layout: white header · LNB · list rows
   Information architecture follows the familiar Korean job-portal convention
   (search-first header, text GNB, left menu, detailed-search panel, dense list rows). Brand stays CPA NEXT. */

.mobile-only { display: none !important; }

/* header */
.hdr { position: relative; background: var(--bg); color: var(--text); border-bottom: 1px solid var(--line); }
.hdr-in { height: 76px; gap: 20px; }
.logo img { width: 32px; height: 32px; }
.logo-word { font-size: 22px; }
.logo-word b { color: var(--blue-text); }
.hsearch {
  position: relative; flex: 0 1 580px; margin-left: 28px; display: flex; align-items: center; height: 50px; padding: 0 5px 0 0;
  border: 2px solid var(--blue); border-radius: var(--r-pill); background: var(--card);
  transition: box-shadow var(--dur-2) var(--ease);
}
.hsearch:focus-within { box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.22); }
.hsearch-region { position: relative; display: flex; align-items: center; gap: 4px; height: 100%; padding: 0 6px 0 16px; border-right: 1px solid var(--line); flex: none; }
.hsearch-region .ico-svg { width: 16px; height: 16px; color: var(--blue-text); }
.hsearch-region select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; height: 100%; padding: 0 18px 0 2px; font-weight: 600; font-size: 14px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 9px) 52%, calc(100% - 5px) 52%; background-size: 4px 4px; background-repeat: no-repeat; }
.hsearch-region select:focus-visible { outline: 2px solid var(--focus); outline-offset: -4px; border-radius: 6px; }
.hsearch input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; padding: 0 14px; font-size: 15px; outline: none; }
.hsearch input::placeholder { color: var(--text-3); }
.hsearch input::-webkit-search-cancel-button { display: none; }
.hsearch-kbd { font-size: 11px; padding: 2px 7px; border-radius: 6px; background: var(--surface-2); color: var(--text-2); margin-right: 4px; }
.hsearch-go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: var(--on-blue); flex: none; }
.hsearch-go:hover { background: var(--blue-hover); }
.hsearch-go .ico-svg { width: 19px; height: 19px; stroke-width: 2.2; }
.hsuggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 60; max-height: min(60vh, 520px); overflow-y: auto; padding: 6px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-pop); }
.hsuggest[hidden] { display: none; }
.hsuggest .pal-row[aria-selected="true"] { background: var(--blue-soft); }
.hsuggest .pal-row[aria-selected="true"] .pal-ico { background: var(--blue); color: var(--on-blue); }
.hsuggest .pal-all { border: 0; border-bottom: 1px solid var(--line); border-radius: var(--r-md) var(--r-md) 0 0; margin-bottom: 4px; }
.hdr-actions { gap: 6px; }
.beta { border-color: var(--line-strong); color: var(--text-2); background: var(--card); }
.beta:hover { color: var(--text); border-color: var(--text-3); }
.bell { color: var(--text); }
.bell:hover { background: var(--surface); }
.bell-count { background: var(--warn); color: var(--on-warn); box-shadow: 0 0 0 2px var(--bg); }
.hdr-my { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); font-weight: 600; font-size: 14px; }
.hdr-my .ico-svg { width: 18px; height: 18px; }
.hdr-my:hover, .hdr-my[aria-current="page"] { border-color: var(--blue); color: var(--blue-text); }
.gnb { display: flex; gap: 32px; }
.gnb a { display: inline-flex; align-items: center; height: 54px; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; border-bottom: 3px solid transparent; margin-bottom: -1px; transition: color var(--dur-2); }
.gnb a:hover { color: var(--blue-text); }
.gnb a[aria-current="page"] { color: var(--blue-text); border-bottom-color: var(--blue); }

/* shell: LNB | main | side */
.shell { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; padding-block: 28px 72px; align-items: start; }
.shell-side { display: none; }
.lnb { position: sticky; top: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 12px 0 8px; }
.lnb-search {
  display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 12px 10px; min-height: var(--hit); border-radius: 10px;
  border: 1px solid var(--line-strong); font-weight: 600; font-size: 14px; background: var(--card); transition: border-color var(--dur-2), color var(--dur-2);
  width: calc(100% - 24px);
}
.lnb-search .ico-svg { width: 17px; height: 17px; color: var(--blue-text); }
.lnb-search:hover { border-color: var(--blue); color: var(--blue-text); }
.lnb-group { padding: 6px 0; }
.lnb-group + .lnb-group { border-top: 1px solid var(--line); }
.lnb-group h2 { font-size: 12px; font-weight: 700; color: var(--text-3); padding: 8px 16px 4px; letter-spacing: 0.02em; }
.lnb-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 40px; padding: 0 16px; font-size: 15px; font-weight: 600; color: var(--text); text-align: left; transition: background var(--dur-2), color var(--dur-2); }
.lnb-link:hover { background: var(--surface); color: var(--blue-text); }
.lnb-link[aria-current] { background: var(--blue-soft); color: var(--blue-text); font-weight: 700; box-shadow: inset 3px 0 0 var(--blue); }
.lnb-count { font-size: 13px; color: var(--text-3); font-weight: 600; font-variant-numeric: tabular-nums; }
.lnb-link[aria-current] .lnb-count { color: var(--blue-text); }

/* headings */
.page-head { margin-bottom: 18px; align-items: center; }
.page-head h1 { font-size: var(--fs-h2); line-height: 1.3; letter-spacing: -0.02em; font-weight: 700; }
.page-sub { font-size: 14px; margin-top: 4px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.sec-head h1, .sec-head h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }

/* detailed search panel */
.dpanel { border: 1px solid var(--line-strong); border-radius: 12px; background: var(--card); }
.ptabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.ptab { display: flex; align-items: center; gap: 6px; min-width: 0; height: 54px; padding: 0 14px 0 16px; font-weight: 600; font-size: 15px; color: var(--text); border-right: 1px solid var(--line); transition: background var(--dur-2), color var(--dur-2); }
.ptab:last-child { border-right: 0; }
.ptab:first-child { border-top-left-radius: 11px; }
.ptab:last-child { border-top-right-radius: 11px; }
.ptab:hover { background: var(--surface); }
.ptab-name { flex: none; }
.ptab-val { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--blue-text); font-weight: 600; }
.ptab > .ico-svg { margin-left: auto; width: 16px; height: 16px; color: var(--text-3); flex: none; transition: transform var(--dur-2) var(--ease); }
.ptab[aria-selected="true"] { background: var(--blue); color: var(--on-blue); }
.ptab[aria-selected="true"] .ptab-val, .ptab[aria-selected="true"] > .ico-svg { color: var(--on-blue); }
.ptab[aria-selected="true"] > .ico-svg { transform: rotate(180deg); }
.pbody { padding: 14px 16px; border-bottom: 1px solid var(--line); animation: fade var(--dur-2) var(--ease); }
.pbody fieldset { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 2px 12px; }
.pcheck { display: flex; align-items: center; gap: 10px; min-height: var(--hit); padding: 0 10px; border-radius: 8px; cursor: pointer; font-size: 15px; font-weight: 600; }
.pcheck:hover { background: var(--surface); }
.pcheck input { width: 20px; height: 20px; margin: 0; accent-color: var(--blue); flex: none; }
.pcheck:has(input:checked) { color: var(--blue-text); font-weight: 700; }
.pcount { font-size: 13px; color: var(--text-3); font-weight: 600; font-variant-numeric: tabular-nums; }
.pcount::before { content: "("; } .pcount::after { content: ")"; }
.pcheck.zero { color: var(--text-3); }
.pfoot { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; padding: 12px 14px 12px 16px; background: var(--surface); border-radius: 0 0 11px 11px; }
.pchips { flex: 1 1 260px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.achip { height: 32px; padding: 0 8px 0 12px; background: var(--card); color: var(--blue-text); border: 1px solid var(--blue-line); font-size: 13px; }
.achip:hover { background: var(--blue-soft); }
.achip .ico-svg { width: 14px; height: 14px; }
.pactions { display: flex; align-items: center; gap: 8px; }
.pactions .link-btn { color: var(--text-2); text-decoration: none; font-size: 14px; }
.pactions .link-btn .ico-svg { width: 15px; height: 15px; }
.btn-count { font-weight: 600; opacity: 0.9; margin-left: 2px; padding: 1px 8px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.18); font-size: 13px; }
.pulse-once { animation: nudge var(--dur-3) var(--ease); }
@keyframes nudge { 50% { transform: scale(1.04); } }
.dsearch-mobile { display: none; }
.count-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--r-pill); background: var(--blue); color: var(--on-blue); font-size: 12px; margin-left: 2px; }
.count-badge:empty, .count-badge[hidden] { display: none; }

/* results + rows */
.results { margin-top: 28px; }
.rhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--text); scroll-margin-top: 16px; }
.rhead h2 { font-size: 17px; font-weight: 600; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 4px; min-width: 0; }
.rhead h2 b { color: var(--blue-text); font-weight: 700; }
.rhead-cond { margin-left: 8px; font-size: 13px; color: var(--text-3); font-weight: 500; }
.rhead .dd-btn { height: 38px; border-color: transparent; padding-right: 8px; }
.rhead .dd-btn:hover, .rhead .dd-btn[aria-expanded="true"] { border-color: var(--line-strong); }
.jrows { margin: 0; }
.jrow {
  position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr) 104px 40px; align-items: center; gap: 20px;
  padding: 18px 8px 18px 4px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background var(--dur-2);
}
.jrow:hover { background: var(--surface); }
.jrow:hover .jrow-title, .srow:hover .srow-title { color: var(--blue-text); text-decoration: underline; text-underline-offset: 3px; }
.jlogo { width: 112px; height: 58px; border: 1px solid var(--line); border-radius: 8px; display: grid; place-items: center; background: var(--card); font-size: 18px; font-weight: 700; color: var(--text-2); letter-spacing: -0.02em; }
.jrow-main { min-width: 0; }
.jrow-co { font-size: 13px; color: var(--text-2); font-weight: 600; }
.jrow-title { font-size: 17px; font-weight: 700; line-height: 1.4; letter-spacing: -0.02em; margin: 2px 0 6px; }
.jrow .stretch::after, .srow .stretch::after { border-radius: 0; }
.jrow .stretch:focus-visible::after, .srow .stretch:focus-visible::after, .hbox .stretch:focus-visible::after { outline: 3px solid var(--focus); outline-offset: -3px; border-radius: 8px; }
.jrow .stretch:focus-visible, .srow .stretch:focus-visible, .hbox .stretch:focus-visible { outline: none; }
.jrow-cond { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: 13px; color: var(--text-3); font-weight: 500; }
.jrow-cond > span + span::before { content: ""; display: inline-block; width: 1px; height: 10px; background: var(--line-strong); margin: 0 9px; vertical-align: -1px; }
.cond-hi { color: var(--blue-text); font-weight: 600; }
.jrow-cond > .cond-fix::before { display: none; }
.cond-fix { margin-left: 10px; padding: 0 6px; height: 20px; display: inline-flex; align-items: center; border: 1px solid currentColor; border-radius: 4px; color: var(--warn); font-size: 11px; font-weight: 700; }
.jrow-side { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.jrow-dday { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text); }
.jrow-dday.urgent { color: var(--warn); }
.jrow-date { font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.jrow .save-btn, .srow .save-btn { margin: 0; color: var(--text-3); }
.jrow .save-btn.on { color: var(--blue-text); }
.jrows-empty { padding: 16px 0; }

/* headline grid */
.headline { margin-top: 36px; }
.hgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.hbox { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; min-height: 124px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); cursor: pointer; transition: border-color var(--dur-2); }
.hbox:hover { border-color: var(--blue); }
.hbox-co { font-size: 13px; color: var(--text-2); font-weight: 600; }
.hbox-title { font-size: 15px; font-weight: 600; line-height: 1.45; letter-spacing: -0.02em; }
.hbox:hover .hbox-title { color: var(--blue-text); }
.hbox-foot { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: 13px; }

/* side column */
.shell-side { position: sticky; top: 16px; flex-direction: column; gap: 12px; }
.side-box { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: var(--card); display: flex; flex-direction: column; gap: 8px; }
.side-box h2 { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.side-head { display: flex; align-items: center; justify-content: space-between; }
.side-more { font-size: 13px; color: var(--text-3); font-weight: 600; min-height: 32px; display: inline-flex; align-items: center; }
.side-more:hover { color: var(--blue-text); }
.side-list li + li { border-top: 1px solid var(--line); }
.side-list a, .side-list button { display: block; width: 100%; padding: 9px 0; font-size: 14px; font-weight: 600; line-height: 1.45; text-align: left; }
.side-list a:hover, .side-list button:hover { color: var(--blue-text); }
.side-tag { display: block; font-size: 12px; color: var(--text-3); font-weight: 600; }
.side-list small { display: block; font-size: 12px; color: var(--blue-text); font-weight: 600; }
.side-link { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 600; color: var(--blue-text); }
.side-link .ico-svg { width: 15px; height: 15px; }
.progress-row .bar i { background: var(--blue); }

/* study rows */
.srows { border-top: 2px solid var(--text); }
.srow { grid-template-columns: 72px minmax(0, 1fr) 100px 112px; }
.srow-part { height: 34px; border: 1px solid var(--line-strong); border-radius: 8px; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.srow-title { font-size: 17px; font-weight: 700; line-height: 1.4; letter-spacing: -0.02em; margin-bottom: 6px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
.srow-seats { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.srow-seats b { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.srow-seats b small { font-size: 13px; color: var(--text-3); font-weight: 600; }
.srow-seats span { font-size: 13px; color: var(--text-3); font-weight: 600; }
.srow-seats .seat-left { color: var(--blue-text); font-weight: 600; }
.srow-cta { position: relative; z-index: 2; }
.srow.is-full .srow-title { color: var(--text-2); }
.shell-main .rhead + .jrows.srows { border-top: 0; }

/* community + MY inside the shell */
.narrow { max-width: 860px; }

/* light versions of formerly dark panels */
.jd-hero { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.jd-label { color: var(--text-3); }
.jd-dday { color: var(--text); font-size: 64px; }
.jd-hero.urgent .jd-dday { color: var(--warn); }
.jd-hero em { background: var(--warn); color: var(--on-warn); }
.jlogo + div strong { font-size: 16px; }
.jd-co .jlogo { width: 72px; height: 44px; font-size: 15px; }
.preview-card { background: var(--card); color: var(--text); border: 1px solid var(--line-strong); }
.preview-kicker, .preview-line { color: var(--text-3); }
.preview-tags .dim { background: var(--surface-2); color: var(--text-3); }
.preview-status { color: var(--blue-text); }
.ring::before { background: var(--card); }
.ring b { color: var(--text); }
.ring { background: conic-gradient(var(--blue) calc(var(--p) * 1%), var(--surface-2) 0); }
.match-preview { background: var(--blue-soft); color: var(--text); border: 1px solid var(--blue-line); }
.match-preview b { color: var(--blue-text); }
.switch:checked { background: var(--blue); }
.switch:checked::before { background: #fff; }
.cchip input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.cchip input:checked + span .ico-svg { color: var(--on-blue) !important; }
.seg > [aria-pressed="true"], .seg > [aria-current="page"] { background: var(--blue); color: var(--on-blue); }
.seg > [aria-pressed="true"] span, .seg > [aria-current="page"] span { background: var(--on-blue); color: var(--blue); }
.pager [aria-current="page"] { background: var(--blue); color: var(--on-blue); }
.fchip.on { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.dd.on .dd-btn { background: var(--blue-soft); border-color: var(--blue); }
.dd.on .dd-btn .dd-label, .dd.on .dd-btn b, .dd.on .dd-btn .ico-svg { color: var(--blue-text); }
.dd-opt[aria-selected="true"] { background: var(--blue-soft); color: var(--blue-text); }
.dd-opt[aria-selected="true"] .dd-count { color: var(--blue-text); }
.badge-lime { background: var(--blue-soft); color: var(--blue-text); }
.tag-mine { background: var(--blue-soft); color: var(--blue-text); }
.empty-mark { background: var(--blue-soft); color: var(--blue-text); }
.plist { border-top-color: var(--text); }

/* ============================================================ responsive */
@media (max-width: 1180px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-trigger { min-width: 0; }
  .search-trigger-label { display: none; }
  .sgrid, .my-sec .jgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resume-layout, .alerts-layout { grid-template-columns: minmax(0, 1fr); }
  .resume-preview, .alert-form { position: static; }
  .resume-preview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .resume-preview .btn { grid-column: 1 / -1; }
  .fbar-selects .fselect > span:not(.sr-only) { display: none; }
  .fbar-selects .fselect select { padding-left: 16px; }
}

@media (max-width: 960px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .fbar-selects, .fbar-sep, .fsort { display: none; }
  .fchip-sheet { display: inline-flex; padding-right: 12px; }
  .fbar { overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .fbar::-webkit-scrollbar { display: none; }
  .prow { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "cat . cmt" "title title title" "meta meta meta"; gap: 6px 10px; padding: 16px 4px; }
  .prow-no { display: none; }
  .prow > .badge { grid-area: cat; justify-self: start; }
  .prow-title { grid-area: title; }
  .prow-meta { grid-area: meta; }
  .prow-cmt { grid-area: cmt; }
}

@media (max-width: 720px) {
  body { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); font-size: 15px; }
  .nav { display: none; }
  .hdr-in { gap: 6px; }
  .logo-word { font-size: 19px; }
  .logo img { width: 30px; height: 30px; }
  .search-trigger { width: var(--hit); height: var(--hit); padding: 0; justify-content: center; background: transparent; border-color: transparent; color: var(--on-ink); }
  .search-trigger kbd { display: none; }
  body.hero-visible[data-view="jobs"] .search-trigger { opacity: 1; pointer-events: auto; transform: none; visibility: visible; }

  .hero-in { padding-block: 22px 18px; }
  .hero h1 { font-size: 30px; line-height: 1.2; }
  .hero-search { height: 56px; margin-top: 20px; padding-left: 16px; padding-right: 6px; }
  .hero-search input { font-size: 16px; }
  .hero-search .btn { min-height: 44px; padding: 0 18px; }
  .hero-kbd { display: none; }
  .hero-sub { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .hero-sub::-webkit-scrollbar { display: none; }
  .hero-sub > * { flex: none; }

  .layout { padding-block: 16px 40px; }
  .aside { display: none; }
  .results-count h2 b { font-size: 40px; }
  .results-count h2 span { font-size: 17px; }
  .jgrid, .my-sec .jgrid, .sgrid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .jcard { padding: 18px 18px 16px; }
  .jcard-title { font-size: 18px; }

  .page { padding-block: 24px 48px; }
  .page-head { margin-bottom: 20px; }
  .page-head .btn { min-height: var(--hit); }
  .seg { width: auto; max-width: none; margin-inline: calc(var(--gutter) * -1); border-radius: 0; padding-inline: var(--gutter); background: transparent; border-bottom: 1px solid var(--line); padding-block: 0 10px; }
  .seg > * { background: var(--surface); }
  .article-body { font-size: 16px; padding: 24px 0; }
  .adjacent { grid-template-columns: minmax(0, 1fr); }
  .adjacent .next { text-align: left; }
  .end-actions .btn { flex: 1; }
  .form-grid, .form-grid.three { grid-template-columns: minmax(0, 1fr); }
  .career-row { grid-template-columns: minmax(0, 1fr) auto; padding: 14px; border-radius: var(--r-md); background: var(--card); }
  .career-row .field:nth-child(1) { grid-column: 1 / -1; }
  .career-row .field:nth-child(2), .career-row .field:nth-child(3) { grid-column: 1 / -1; }
  .career-row .icon-btn { grid-column: 2; grid-row: 1; justify-self: end; align-self: start; }
  .career-row .field:nth-child(1) { grid-column: 1; }
  .fs { padding: 18px 16px; }
  .publish { padding: 16px; gap: 12px; flex-wrap: wrap; }
  .publish-icon { width: 44px; height: 44px; border-radius: 12px; }
  .publish-text { flex: 1 1 160px; }
  .resume-preview { grid-template-columns: minmax(0, 1fr); }
  .alert-form { padding: 20px 16px; }
  .notif { grid-template-columns: auto minmax(0, 1fr); gap: 8px 10px; padding: 14px; }
  .notif-kind { grid-row: 1; grid-column: 1; }
  .notif-when { grid-row: 1; grid-column: 2; justify-self: end; align-self: center; }
  .notif-text { grid-row: 2; grid-column: 1 / -1; }
  .sticky-foot { bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }

  .modal, .modal.wide, .sheet, .drawer {
    width: 100%; max-width: 100%; margin: auto 0 0; max-height: 92dvh; height: fit-content; border-radius: var(--r-lg) var(--r-lg) 0 0;
  }
  .modal[open], .drawer[open] { animation: sheet-in var(--dur-3) var(--ease); }
  @keyframes sheet-in { from { transform: translateY(40px); opacity: 0; } }
  .modal-bar { padding: 8px 8px 4px 20px; }
  .modal-body { padding: 0 20px calc(24px + env(safe-area-inset-bottom)); }
  .modal-h { font-size: var(--fs-h2); }
  .jd-hero { padding: 18px; gap: 18px; }
  .jd-dday { font-size: 60px; }
  .jd-hero strong { font-size: 17px; }
  .jd-info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diff { padding: 16px; }
  .diff-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .modal-actions .btn { flex: 1 1 100%; }
  .jd + .modal-actions { bottom: calc(-24px - env(safe-area-inset-bottom)); margin: 0 -20px calc(-24px - env(safe-area-inset-bottom)); padding: 12px 20px calc(16px + env(safe-area-inset-bottom)); }
  .jd + .modal-actions .btn { flex: 1 1 0; }
  .palette { width: calc(100% - 16px); margin-top: 8px; max-height: 85dvh; }
  .palette-field { height: 60px; padding-left: 16px; }
  .palette-field input { font-size: 17px; }
  .palette-help { display: none; }

  .toast { bottom: calc(var(--tabbar-h) + 16px + env(safe-area-inset-bottom)); }

  .tabbar {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: var(--ink); border-top: 1px solid var(--hero-line); --focus: var(--focus-on-ink);
  }
  .tabbar a {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    color: var(--on-ink-2); font-size: 11px; font-weight: 600; transition: color var(--dur-2);
  }
  .tabbar a .ico-svg { width: 22px; height: 22px; }
  .tabbar a[aria-current="page"] { color: var(--lime); }
  .tabbar a[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--lime); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .jcard:hover, .scard:hover { transform: none; }
}

@media (forced-colors: active) {
  .badge, .fchip, .btn, .stat { border: 1px solid CanvasText; }
}

@media (max-width: 1180px) {
  #my-body .jgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .fsort { display: none; }
}
@media (max-width: 720px) {
  #my-body .jgrid { grid-template-columns: minmax(0, 1fr); }
  .jcard-title { font-size: 18px; }
  .board-search { flex-basis: 100%; }
  .toolbar-right { margin-left: 0; width: 100%; justify-content: space-between; }
  .toolbar-right .dd-menu { right: auto; left: 0; }
  .empty-sm .btn { width: 100%; }
}

/* ============================================================ v3 responsive */
@media (min-width: 1280px) {
  .shell.has-side { grid-template-columns: 200px minmax(0, 1fr) 236px; }
  .shell.has-side .shell-side { display: flex; }
}
@media (max-width: 1100px) {
  .hgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jrow { grid-template-columns: 88px minmax(0, 1fr) 96px 40px; gap: 16px; }
  .jlogo { width: 88px; }
  .hsearch-kbd { display: none; }
}
@media (max-width: 960px) {
  .shell { grid-template-columns: minmax(0, 1fr); padding-block: 16px 48px; gap: 0; }
  .lnb { display: none; }
  .mobile-only { display: revert !important; }
  .seg.mobile-only { display: flex !important; }
  .btn.mobile-only { display: inline-flex !important; }
  .dsearch .dpanel { display: none; }
  .dsearch-mobile { display: inline-flex; width: 100%; }
  .dsearch .sec-head { margin-bottom: 10px; }
  .gnb { gap: 24px; }
  .hsearch { margin-left: 8px; }
  .hdr-my span:not(.ico) { display: none; }
  .hdr-my { width: var(--hit); padding: 0; justify-content: center; border-color: transparent; }
}
@media (max-width: 720px) {
  .hdr-in { flex-wrap: wrap; height: auto; padding-block: 10px 12px; gap: 10px 6px; }
  .logo-word { font-size: 20px; }
  .hsearch { order: 3; flex: 1 1 100%; margin: 0; height: 46px; }
  .hsearch-region { padding-left: 12px; }
  .hsearch-region .ico-svg { display: none; }
  .hsearch input { padding: 0 10px; font-size: 16px; }
  .hsearch-go { width: 36px; height: 36px; }
  .hdr-my { display: none; }
  .gnb-row { display: none; }
  .dsearch .sec-head h1 { font-size: 18px; }

  .jrow { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "main save" "main side"; gap: 4px 12px; padding: 14px 2px; align-items: start; }
  .jrow .jlogo { display: none; }
  .jrow-main { grid-area: main; }
  .jrow-side { grid-area: side; align-self: end; }
  .jrow .save-btn { grid-area: save; justify-self: end; margin: -8px -8px 0 0; }
  .jrow-title { font-size: 16px; }
  .jrow-cond { font-size: 12.5px; }
  .jrow-cond > span + span::before { margin: 0 7px; }
  .hgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .hbox { padding: 12px; min-height: 112px; }
  .hbox-title { font-size: 14px; }

  .srow { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "main main main" "part seats cta"; gap: 10px 10px; padding: 14px 2px; }
  .srow-main { grid-area: main; }
  .srow-part { grid-area: part; padding: 0 10px; }
  .srow-seats { grid-area: seats; flex-direction: row; align-items: baseline; gap: 8px; justify-self: start; }
  .srow-cta { grid-area: cta; }

  .page-head h1 { font-size: 22px; }
  .page-head { margin-bottom: 12px; }

  .tabbar { background: var(--bg); border-top: 1px solid var(--line); --focus: var(--blue); }
  .tabbar a { color: var(--text-3); }
  .tabbar a[aria-current="page"] { color: var(--blue-text); }
  .tabbar a[aria-current="page"]::before { background: var(--blue); }

  /* detailed search inside the bottom sheet */
  .dpanel.in-sheet { border: 0; border-radius: 0; background: transparent; }
  .in-sheet .ptabs { display: flex; overflow-x: auto; scrollbar-width: none; gap: 6px; border-bottom: 0; padding-bottom: 10px; }
  .in-sheet .ptabs::-webkit-scrollbar { display: none; }
  .in-sheet .ptab { flex: none; height: 40px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); padding: 0 14px; font-size: 14px; }
  .in-sheet .ptab[aria-selected="true"] { border-color: var(--blue); }
  .in-sheet .pbody { padding: 6px 0 12px; border-bottom: 1px solid var(--line); min-height: 220px; }
  .in-sheet .pbody fieldset { grid-template-columns: minmax(0, 1fr); }
  .in-sheet .pfoot { position: sticky; bottom: 0; margin: 0 -20px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-radius: 0; background: var(--bg); border-top: 1px solid var(--line); flex-direction: column; align-items: stretch; }
  .in-sheet .pactions { justify-content: space-between; }
  .in-sheet .pactions .btn { flex: 1; }
  .sheet .modal-body { padding-bottom: 0; }
}

/* v3 fixes */
#aside { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 720px) {
  .in-sheet .pchips { flex: none; }
  .in-sheet .pfoot { gap: 10px; }
}

/* ============================================================ 기업 모드 */
.biz-badge, .ops-badge { display: none; height: 24px; padding: 0 9px; border-radius: 6px; background: var(--blue); color: var(--on-blue); font-size: 12px; font-weight: 700; align-items: center; flex: none; }
body[data-mode="biz"] .biz-badge { display: inline-flex; }
.biz-firm { display: none; flex-direction: column; line-height: 1.3; margin-left: 12px; min-width: 0; }
.biz-firm b { font-size: 16px; }
.biz-firm span { font-size: 12px; color: var(--text-3); }
body[data-mode="biz"] .biz-firm { display: flex; }
body[data-mode="biz"] .hsearch, body[data-mode="biz"] .hdr-my { display: none; }
.mode-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--blue-line); background: var(--blue-soft); color: var(--blue-text); font-weight: 600; font-size: 14px; white-space: nowrap; }
.mode-btn .ico-svg { width: 17px; height: 17px; }
.mode-btn:hover { border-color: var(--blue); }
.ico-svg.flip { transform: rotate(180deg); }

.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 20px; }
.kpi { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); text-align: left; transition: border-color var(--dur-2); }
.kpi:hover { border-color: var(--blue); }
.kpi span { font-size: 13px; color: var(--text-2); font-weight: 600; }
.kpi b { font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.kpi b.hi { color: var(--blue-text); }
.kpi.warn b { color: var(--warn); }
.biz-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.biz-cols .side-list a { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.biz-cols .side-list .side-tag { flex-basis: 100%; }

/* 전형 단계 칩: 블루 한 계열 + 회색. 진행할수록 진해지고, 불합격·철회는 빨강이 아닌 회색 외곽선(경고색은 마감 임박 전용). */
.stage { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; border: 1px solid transparent; background: var(--surface-2); color: var(--text-2); vertical-align: middle; }
.stage-0 { background: var(--blue-soft); color: var(--blue-text); border-color: var(--blue-line); }
.stage-1 { background: var(--surface-2); color: var(--text); }
.stage-2 { background: var(--card); color: var(--blue-text); border-color: var(--blue); }
.stage-3 { background: var(--blue); color: var(--on-blue); }
.stage-4 { background: var(--card); color: var(--text-3); border-color: var(--line-strong); }
:root[data-theme="dark"] .stage-3 { color: var(--success-text); background: var(--success-soft); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .stage-3 { color: var(--success-text); background: var(--success-soft); } }
.stage-steps { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; }
.stage-steps li { position: relative; padding: 4px 10px; border-radius: 6px; background: var(--surface); color: var(--text-3); font-size: var(--fs-xs); font-weight: 600; }
.stage-steps li.done { color: var(--text-2); }
.stage-steps li.now { background: var(--blue); color: var(--on-blue); }
.stage-steps li.fail { background: var(--card); color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line-strong); }
.stage-steps.failed li:not(.fail) { opacity: 0.6; }

.brow { grid-template-columns: minmax(0, 1fr) 96px auto; }
.brow-actions { position: relative; z-index: 2; display: flex; align-items: center; gap: 6px; }
.brow-confirm { grid-column: 1 / -1; }
.brow-confirm:empty { display: none; }
.trow { grid-template-columns: 64px minmax(0, 1fr) auto; cursor: default; }
.trow .jlogo { width: 56px; height: 56px; border-radius: 50%; }
.trow .jlogo .ico-svg { width: 26px; height: 26px; color: var(--text-3); }
.trow-intro { font-size: 13px; color: var(--text-2); margin-top: 4px; }
.arow { grid-template-columns: minmax(0, 1fr) auto; }
.arow-stage { position: relative; z-index: 2; }
.cond-apply { color: var(--blue-text); font-weight: 600; }

.stepper { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0 0 16px; }
.stepper li > * { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 48px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--text-3); background: var(--card); text-align: left; }
.stepper b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2); font-size: 12px; flex: none; }
.stepper .done > * { color: var(--text); }
.stepper .done b { background: var(--blue-soft); color: var(--blue-text); }
.stepper .done button:hover { border-color: var(--blue); }
.stepper .now > * { border-color: var(--blue); color: var(--blue-text); background: var(--blue-soft); }
.stepper .now b { background: var(--blue); color: var(--on-blue); }
.wiz-card { display: flex; flex-direction: column; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.wiz-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 4px; flex-wrap: wrap; }
.wiz-fs { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.wiz-fs legend { font-size: 17px; font-weight: 700; margin-bottom: 8px; padding: 0; }
.wiz-fs legend small { font-size: 13px; font-weight: 600; color: var(--text-3); margin-left: 6px; }
.wiz-fs legend small.over { color: var(--warn); }
.q-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--text-2); }
.qlist { display: flex; flex-direction: column; gap: 10px; }
.qitem { border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 12px 12px 14px; display: flex; flex-direction: column; gap: 8px; background: var(--card); }
.qitem-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.qitem-top > b { font-size: 14px; color: var(--blue-text); }
.qlimit select { height: 34px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 0 8px; background: var(--card); font-size: 13px; font-weight: 600; }
.qitem-tools { margin-left: auto; display: flex; }
.qitem-tools .icon-btn { width: 36px; height: 36px; color: var(--text-3); }
.qitem-tools .icon-btn:disabled { opacity: 0.3; }
.qitem textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: 15px; line-height: 1.55; resize: vertical; background: var(--card); }
.qitem textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--blue); }
.qpreview { counter-reset: q; display: flex; flex-direction: column; gap: 8px; }
.qpreview li { counter-increment: q; padding-left: 26px; position: relative; line-height: 1.55; }
.qpreview li::before { content: counter(q) "."; position: absolute; left: 0; font-weight: 700; color: var(--blue-text); }
.qpreview small { color: var(--text-3); }
.preview-rows .jrow { cursor: default; border: 1px solid var(--line); border-radius: 10px; }
.kv { display: grid; gap: 0; border-top: 1px solid var(--line); }
.kv > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv dt { color: var(--text-3); font-weight: 600; }

.stage-tabs { margin-bottom: 12px; }
.bulkbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); margin-bottom: 10px; }
.check-inline { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; min-height: 40px; cursor: pointer; }
.check-inline input, .btable input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--blue); }
.bulkbar .fselect select { padding-left: 14px; }
.btable { width: 100%; border-collapse: collapse; font-size: 14px; border-top: 2px solid var(--text); }
.btable th { text-align: left; font-size: 13px; color: var(--text-3); font-weight: 600; padding: 10px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.btable td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.btable tr:hover td { background: var(--surface); }
.bt-name a { font-weight: 700; color: var(--blue-text); text-decoration: underline; text-underline-offset: 3px; margin-right: 6px; }
.biz-sec { padding: 18px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.biz-sec h2 { font-size: 17px; font-weight: 700; }
.biz-sec h2 small { font-size: 13px; font-weight: 600; }
.stage-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.answers { display: flex; flex-direction: column; gap: 14px; }
.answers li { padding: 14px; border-radius: 10px; background: var(--surface); }
.answer-q { font-weight: 600; margin-bottom: 6px; }
.answer-a { white-space: pre-wrap; line-height: 1.7; color: var(--text-2); }
.answers small { color: var(--text-3); font-size: 12px; }
.apply-sec { display: flex; flex-direction: column; gap: 8px; }
.counter { align-self: flex-end; font-size: 12px; color: var(--text-3); }

@media (max-width: 1100px) { .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) { .biz-firm span { display: none; } }
@media (max-width: 720px) {
  .mode-btn span { display: none; }
  .mode-btn { width: var(--hit); height: var(--hit); padding: 0; justify-content: center; }
  .biz-firm { margin-left: 4px; }
  .biz-firm b { font-size: 14px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .biz-cols { grid-template-columns: minmax(0, 1fr); }
  .stepper { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stepper li > * { flex-direction: column; justify-content: center; gap: 2px; padding: 6px 2px; font-size: 11px; text-align: center; }
  .wiz-card { padding: 16px; }
  .btable thead { display: none; }
  .btable, .btable tbody, .btable tr, .btable td { display: block; width: 100%; }
  .btable tr { position: relative; padding: 12px 0 12px 32px; border-bottom: 1px solid var(--line); }
  .btable td { border: 0; padding: 2px 0; }
  .btable td:first-child { position: absolute; left: 0; top: 14px; width: auto; }
  .btable td[data-label]::before { content: attr(data-label) " · "; color: var(--text-3); font-size: 12px; }
  .brow { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "main side" "act act"; }
  .brow .jrow-main { grid-area: main; } .brow .jrow-side { grid-area: side; } .brow-actions { grid-area: act; }
  .trow { grid-template-columns: minmax(0, 1fr); }
  .trow .jlogo { display: none; }
  .arow { grid-template-columns: minmax(0, 1fr); }
  .kv > div { grid-template-columns: 72px minmax(0, 1fr); }
}

/* ============================================================ 이력서 v2 */
.resume-top { position: sticky; top: 0; z-index: 5; display: flex; flex-direction: column; gap: 10px; padding: 12px 0; background: var(--bg); border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.rsec-nav { display: flex; flex-wrap: wrap; gap: 6px; }
.rsec-nav a { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); font-size: 13px; font-weight: 600; color: var(--text-2); }
.rsec-nav a.ok { border-color: var(--blue-line); background: var(--blue-soft); color: var(--blue-text); }
.rsec-nav .ico-svg { width: 14px; height: 14px; stroke-width: 2.6; }
.resume-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.privacy-line { padding: 10px 12px; border-radius: 10px; background: var(--blue-soft); color: var(--text); margin-bottom: 12px; }
.resume-form2 { display: flex; flex-direction: column; gap: 14px; }
.rsec { display: flex; flex-direction: column; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); scroll-margin-top: 140px; }
.rsec-head { display: flex; align-items: center; gap: 10px; }
.rsec-head h2 { font-size: 17px; font-weight: 700; scroll-margin-top: 150px; }
.rsec-done { font-size: 12px; font-weight: 600; color: var(--text-3); display: inline-flex; align-items: center; gap: 2px; }
.rsec-done.ok { color: var(--blue-text); }
.rsec-done .ico-svg { width: 14px; height: 14px; stroke-width: 2.6; }
.rgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 12px; align-items: end; }
.span2 { grid-column: span 2; } .span3 { grid-column: span 3; } .span4 { grid-column: 1 / -1; }
.general-grid { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 16px; align-items: start; }
.photo-box { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.photo-box img, .photo-empty { width: 120px; height: 160px; border: 1px solid var(--line-strong); border-radius: 6px; object-fit: cover; }
.photo-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--text-3); font-size: 13px; font-weight: 600; background: var(--surface); }
.photo-empty small { font-weight: 500; font-size: 11px; }
.photo-empty .ico-svg { width: 28px; height: 28px; }
.photo-up { cursor: pointer; }
.photo-up:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.entry { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 10px; background: var(--surface); }
.entry-head { display: flex; align-items: center; gap: 8px; }
.entry-head b { font-size: 14px; color: var(--blue-text); }
.entry-tools { margin-left: auto; display: flex; }
.entry-tools .icon-btn { width: 36px; height: 36px; color: var(--text-3); }
.entry-tools .icon-btn:disabled { opacity: 0.3; }
.entry .field input, .entry .field select { background-color: var(--card); }
.gpa { display: flex; align-items: center; gap: 6px; }
.gpa input { flex: 1; min-width: 0; }
.gpa select { width: 84px; flex: none; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.rchip { position: relative; }
.rchip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.rchip span { display: inline-flex; align-items: center; height: var(--hit); padding: 0 18px; border-radius: var(--r-pill); border: 1.5px solid var(--line-strong); font-weight: 600; background: var(--card); }
.rchip input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.rchip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.quick-certs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.qchip { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 12px; border-radius: var(--r-pill); border: 1px dashed var(--blue-line); color: var(--blue-text); font-size: 13px; font-weight: 600; background: var(--card); }
.qchip .ico-svg { width: 14px; height: 14px; }
.qchip:disabled { opacity: 0.4; border-style: solid; }
.qchip:hover:not(:disabled) { background: var(--blue-soft); }
.field-err { padding-inline-start: var(--s2); border-inline-start: 3px solid var(--warn); color: var(--text); font-size: 12px; font-weight: 600; }
.field-err[hidden] { display: none; }
.field input:disabled { opacity: 0.5; }
.publish h3 { font-size: 16px; font-weight: 700; }
@media (max-width: 720px) {
  .rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .span3, .span4 { grid-column: 1 / -1; }
  .general-grid { grid-template-columns: minmax(0, 1fr); }
  .photo-box { flex-direction: row; justify-content: flex-start; }
  .photo-box img, .photo-empty { width: 84px; height: 112px; }
  .rsec { padding: 14px; }
  .resume-top { top: 0; }
  body[data-mode="biz"] .biz-firm { display: none; }
}

/* ============================================================ modes · 문의 · 운영 */
.mode-badge { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px; font-size: 12px; font-weight: 700; flex: none; color: #fff; background: var(--blue); }
.mode-badge.ops { background: var(--text); color: var(--bg); }
.mode-badge[hidden] { display: none; }
body[data-mode="ops"] .biz-firm { display: flex; }
body[data-mode="ops"] .hsearch, body[data-mode="ops"] .hdr-my { display: none; }
.checked-at { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-3); }
.checked-at .ico-svg { width: 15px; height: 15px; }
.origin-doc { border: 1px solid var(--line-strong); border-radius: 10px; padding: 18px; background: var(--surface); display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.6; }
.origin-doc h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.link-inline { color: var(--blue-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cond-fix.repost { color: var(--blue-text); }
.seat-done { color: var(--blue-text); font-weight: 600; font-size: 13px; }
.brow-note { grid-column: 1 / -1; font-size: 12.5px; color: var(--text-3); margin: -4px 0 0; position: relative; z-index: 2; }
.inq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.inq-item { border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--card); }
.inq-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.inq-top .badge { min-height: 24px; height: auto; border-radius: 6px; white-space: normal; }
.inq-top .inq-date { margin-left: auto; font-variant-numeric: tabular-nums; }
.inq-text { white-space: pre-wrap; color: var(--text-2); line-height: 1.6; }
.inq-item .callout > b { display: flex; align-items: center; gap: var(--s2); font-weight: 700; }
.inq-item .callout > p { white-space: pre-line; }
.inq-target { display: flex; gap: 8px; align-items: center; }
.callout p { margin-top: 4px; }
.callout .stage-btns { margin-top: 10px; }
.faq { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.faq details { border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; background: var(--card); scroll-margin-top: 16px; }
.faq summary { min-height: 48px; display: flex; align-items: center; font-weight: 600; cursor: pointer; }
.faq details p { padding: 0 0 14px; color: var(--text-2); line-height: 1.6; }
.push-card { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.safeguard { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 14px; border-radius: 10px; background: var(--surface); margin-bottom: 12px; font-size: 13px; }
.safeguard > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.safeguard .ico-svg { width: 16px; height: 16px; }
.auto-state { font-weight: 600; }
.auto-state.on { color: var(--blue-text); }
.auto-state.off { color: var(--warn); }
.prio { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.prio-긴급 { background: var(--warn); color: var(--on-warn); }
.prio-중요 { background: var(--caution-soft); color: var(--caution); }
.prio-일반 { background: var(--surface-2); color: var(--text-2); }
.prio-ok { background: var(--blue-soft); color: var(--blue-text); }
.btable tr.overdue td { background: var(--warn-soft); }
.over { color: var(--warn); font-weight: 700; }
.side-list small.over-text { color: var(--warn); }
.change-card { border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--card); }
.diff-mini > div { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 4px 0; }
.diff-mini dt { font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.diff-mini del { color: var(--text-3); text-decoration-color: var(--warn); text-decoration-thickness: 2px; }
.diff-mini ins { text-decoration: none; background: var(--blue-soft); color: var(--blue-text); padding: 2px 8px; border-radius: 6px; font-weight: 700; }
.gauge { border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--card); margin-bottom: 12px; }
.gauge.compact { border: 0; padding: 0; margin: 0; }
.gauge-top { display: flex; align-items: baseline; gap: 8px; }
.gauge-top b { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gauge-top span { color: var(--text-3); font-size: 13px; }
.gauge-bar { position: relative; height: 12px; border-radius: var(--r-pill); background: var(--surface-2); overflow: hidden; }
.gauge-bar i { display: block; height: 100%; background: var(--blue); border-radius: inherit; }
.gauge-bar .tick { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--text-3); }
.gauge.warn .gauge-bar i { background: var(--caution-meter); }
.gauge.stop .gauge-bar i { background: var(--warn); }
.gauge-msg { font-size: 13px; font-weight: 600; color: var(--caution); }
.gauge.stop .gauge-msg { color: var(--warn); }
.warn-line { color: var(--warn); }
.hbars { display: flex; flex-direction: column; gap: 8px; }
.hbars li { display: grid; grid-template-columns: 96px minmax(0, 1fr) 28px; gap: 8px; align-items: center; font-size: 13px; }
.hb-track { height: 10px; border-radius: var(--r-pill); background: var(--surface-2); overflow: hidden; }
.hb-track i { display: block; height: 100%; background: var(--blue); border-radius: inherit; }
.hbars b { text-align: right; font-variant-numeric: tabular-nums; }
pre.draft { white-space: pre-wrap; font-family: var(--font); background: var(--surface); border-radius: 10px; padding: 14px; font-size: 14px; line-height: 1.6; }
.masked-text { padding: 12px 14px; border-radius: 10px; background: var(--surface); }
.hidden-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; border: 1px solid var(--warn); }
.ops-alerts { margin-top: 12px; }
.mrow { grid-template-columns: minmax(0, 1fr) auto; cursor: default; }
.mrow .jrow-title a:hover { color: var(--blue-text); text-decoration: underline; }
.kpi small { font-size: 12px; }
@media (max-width: 720px) {
  body[data-mode="ops"] .biz-firm { display: none; }
  .mrow { grid-template-columns: minmax(0, 1fr); }
  .hbars li { grid-template-columns: 80px minmax(0, 1fr) 24px; }
}
@media (max-width: 720px) {
  body[data-mode="biz"] .beta, body[data-mode="ops"] .beta { display: none; }
}

/* ============================================================ 기업 모드 v2 (기능용 최소 스타일 — 시각 다듬기는 디자인 단계에서) */
.badge-value { background: var(--blue-soft); color: var(--blue-text); border: 1px solid var(--blue-line); }
.value-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0; position: relative; z-index: 2; }
.rform-wrap { display: flex; flex-direction: column; gap: 6px; overflow-x: auto; }
.rf-h { font-size: 14px; font-weight: 700; margin-top: 8px; }
.rform { width: 100%; border-collapse: collapse; font-size: 14px; table-layout: fixed; }
.rform th, .rform td { border: 1px solid var(--line-strong); padding: 6px 8px; text-align: left; vertical-align: middle; overflow-wrap: anywhere; }
.rform th { background: var(--surface); font-weight: 600; text-align: center; width: 18%; }
.rf-photo { width: 110px; text-align: center; color: var(--text-3); }
.rf-photo img { width: 90px; height: 120px; object-fit: cover; }
.filterbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0; }
.filterbar .board-search-field { flex: 1 1 220px; min-width: 0; }
.filterbar .board-search-field input { width: 100%; height: var(--hit); padding: 0 16px 0 44px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: var(--card); }
.stars { display: inline-flex; gap: 1px; }
.star { color: var(--line-strong); font-size: 16px; line-height: 1; background: none; border: 0; padding: 0; }
button.star { width: 32px; height: 32px; font-size: 22px; cursor: pointer; }
.star-btn { position: relative; z-index: 2; width: var(--hit); height: var(--hit); font-size: 22px; color: var(--line-strong); }
.trow { grid-template-columns: 44px minmax(0, 1fr) auto; }
.funnel { display: flex; flex-direction: column; gap: 6px; }
.funnel li { display: grid; grid-template-columns: 72px minmax(0, 1fr) 28px; gap: 8px; align-items: center; font-size: 13px; }
.funnel-box { margin-bottom: 12px; }
.cmp-grid { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.cmp-col { border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cmp-col h2 { font-size: 15px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.iv-box { display: flex; align-items: center; gap: 6px; font-size: 13px; padding: 8px 10px; border-radius: 8px; background: var(--surface); margin-top: 6px; position: relative; z-index: 2; }
.iv-box .ico-svg { width: 15px; height: 15px; flex: none; }
.eval-row { display: flex; align-items: center; gap: 10px; }
.detail-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
@media (max-width: 720px) {
  .cmp-grid { grid-template-columns: minmax(0, 1fr); }
  .rform th { width: 26%; }
  .trow { grid-template-columns: 44px minmax(0, 1fr); }
  .trow .brow-actions { grid-column: 1 / -1; }
}

/* ============================================================ 기업 화면 디자인 정리 (DESIGN.md 10절) */
/* 본문으로 건너뛰기: 키보드 포커스일 때만 보인다(라우트 전환·대화상자 닫힘 후의 프로그램 포커스로는 보이지 않음). */
.skip-link:focus:not(:focus-visible) { top: -80px; }
.skip-link:focus-visible { top: 12px; outline: 3px solid var(--focus); outline-offset: 2px; }

/* 평점 별 · 관심 인재 별: 블루 한 색(주황 제거) */
.stars { gap: 0; vertical-align: middle; }
.star { color: var(--line-strong); font-size: 15px; }
.star.on, .star-btn.on { color: var(--blue-text); }
button.star { width: 40px; height: 40px; font-size: 24px; border-radius: 8px; display: inline-grid; place-items: center; }
button.star:hover { background: var(--surface); }
.star-btn { font-size: 20px; border-radius: 8px; }
.star-btn:hover { background: var(--surface); }

/* 인재상 배지: 다른 배지와 같은 높이·각, 줄 안에서만 차지 */
.badge-value { height: 24px; padding: 0 8px; border-radius: 6px; border-width: 1px; font-weight: 600; }
.field > .badge-value, .answers .badge-value, .qpreview .badge-value { align-self: flex-start; }
.answers .badge-value { margin-bottom: 6px; }
.value-row .muted.small { margin-right: 2px; }

/* 대시보드 KPI: 한 줄 띠(칸 구분선) + 누를 수 있다는 › 표시 */
.kpis { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--line); margin-bottom: 16px; }
.kpi { position: relative; border: 0; border-radius: 0; background: var(--card); padding: 14px 16px 12px; gap: 2px; min-height: 84px; }
.kpi:hover { background: var(--surface); }
.kpi::after { content: "›"; position: absolute; right: 14px; top: 12px; color: var(--text-3); font-size: 18px; line-height: 1; }
.kpi span { padding-right: 16px; }
.kpi b { font-size: 26px; line-height: 1.3; }
.biz-cols { align-items: start; }

/* 단계별 퍼널: 막대는 블루, 불합격만 회색. 숫자 오른쪽 정렬 */
.funnel li { grid-template-columns: 64px minmax(0, 1fr) 32px; font-size: 13px; color: var(--text-2); }
.funnel b { text-align: right; font-variant-numeric: tabular-nums; color: var(--text); }
.funnel .hb-track { height: 8px; }
.funnel li:last-child .hb-track i { background: var(--text-3); }
/* 지원자 관리의 퍼널은 가로 한 줄 요약(단계 탭 바로 위) */
.funnel-box { flex-direction: row; align-items: center; gap: 16px; padding: 12px 16px; margin: 12px 0; }
.funnel-box h2 { font-size: 14px; flex: none; white-space: nowrap; }
.funnel-box .funnel { flex-direction: row; flex: 1; gap: 0; min-width: 0; }
.funnel-box .funnel li { flex: 1; min-width: 0; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l n" "t t"; gap: 2px 6px; padding: 0 12px; border-left: 1px solid var(--line); }
.funnel-box .fn-label { grid-area: l; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.funnel-box .funnel b { grid-area: n; font-size: 15px; }
.funnel-box .hb-track { grid-area: t; height: 6px; }

/* 상세검색 상자: 잡코리아식 칸 나눔. 1줄 검색(3칸)+정렬, 아래 4열 칸에 필터 */
.filterbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0 0 8px; border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; background: var(--card); }
.filterbar > * { order: 2; min-width: 0; background: transparent; box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line); }
.filterbar .board-search-field { order: 0; grid-column: span 3; flex: none; }
.filterbar .fselect:has([data-bizf="sort"]), .filterbar .fselect:has([data-tf="sort"]) { order: 1; }
.filterbar .board-search-field input { height: 48px; border: 0; border-radius: 0; background: transparent; padding-left: 44px; }
.filterbar .board-search-field input:focus { outline: none; }
.filterbar .board-search-field:focus-within { outline: 2px solid var(--focus); outline-offset: -2px; }
.filterbar .fselect { display: flex; width: 100%; height: 48px; border: 0; border-radius: 0; font-size: 14px; background: transparent; }
.filterbar .fselect:hover { border: 0; }
.filterbar .fselect:hover select { color: var(--blue-text); }
.filterbar .fselect > span:not(.sr-only) { flex: none; padding-left: 14px; font-size: 13px; }
.filterbar .fselect select { flex: 1; min-width: 0; width: 100%; padding: 0 34px 0 8px; border-radius: 0; text-overflow: ellipsis; }
.filterbar .fselect:focus-within { outline: 2px solid var(--focus); outline-offset: -2px; }
.filterbar [data-bizf-reset] { order: 3; justify-content: flex-start; padding: 0 14px; min-height: 48px; display: inline-flex; align-items: center; }
.filterbar + .muted.small { margin: 0 0 10px; }
.filterbar + .rhead { margin-top: 20px; }
/* 값을 고른 필터 칸은 블루 글자 + 옅은 블루 면(무엇이 적용됐는지 한눈에) */
.filterbar .fselect:not(:has(option[value=""]:checked)):not(:has([data-bizf="sort"])):not(:has([data-tf="sort"])) { background: var(--blue-soft); box-shadow: inset 1px 1px 0 var(--line), 1px 0 0 var(--line), 0 1px 0 var(--line); }
.filterbar .fselect:not(:has(option[value=""]:checked)):not(:has([data-bizf="sort"])):not(:has([data-tf="sort"])) select,
.filterbar .fselect:not(:has(option[value=""]:checked)):not(:has([data-bizf="sort"])):not(:has([data-tf="sort"])) > span:not(.sr-only) { color: var(--blue-text); }

/* 일괄 처리 바: 선택 → 단계 → [단계 변경] | 보조 동작 */
.bulkbar { gap: 8px; padding: 8px 12px; background: var(--surface); }
.bulkbar .check-inline { margin-right: 2px; }
.bulkbar #bulk-count { min-width: 56px; }
.bulkbar .fselect { height: 40px; border-radius: 8px; }
.bulkbar .fselect select { border-radius: 8px; }
.bulkbar .btn-sm { min-height: 40px; padding: 0 14px; }
.bulkbar [data-bulk-compare] { margin-left: 8px; }
.bulkbar .btn:disabled { opacity: 0.45; }

/* 지원자 표: 숫자 오른쪽 정렬·줄바꿈 금지, 긴 텍스트 두 줄 말줄임, 열 폭 고정 */
.app-table { table-layout: auto; }
.app-table th, .app-table td { padding: 10px 8px; }
.app-table th:nth-child(1), .app-table td:nth-child(1) { width: 36px; padding-right: 0; }
.app-table th:nth-child(2) { width: 136px; }
.app-table th:nth-child(4), .app-table td:nth-child(4),
.app-table th:nth-child(7), .app-table td:nth-child(7) { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.app-table th:nth-child(6) { width: 104px; }
.app-table th:nth-child(8), .app-table td:nth-child(8) { width: 92px; white-space: nowrap; text-align: center; }
.app-table th:nth-child(9) { width: 150px; }
.app-table td:nth-child(3) { white-space: nowrap; }
.app-table td:nth-child(3) small, .app-table td:nth-child(9) small { display: block; font-size: 12px; margin-top: 2px; }
.app-table td:nth-child(9) small { max-width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-table td:nth-child(6) { font-size: 13px; color: var(--text-2); }
.app-table .bt-name { white-space: nowrap; }
.app-table .bt-name a { text-decoration: none; margin-right: 4px; }
.app-table .bt-name a:hover { text-decoration: underline; }
.app-table .bt-name small { display: block; white-space: normal; margin-top: 2px; }
.app-table .bt-name .tag-sample, .app-table .bt-name .tag-mine { display: inline-block; margin: 0 4px 0 0; }
.app-table td:nth-child(5) { max-width: 220px; font-size: 13px; }
.btable td[data-label="메시지"] { max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btable td[data-label="보낸 날"] { white-space: nowrap; font-variant-numeric: tabular-nums; }
.btable td[data-label="상태"] { white-space: nowrap; }

/* 지원서 상세: 단계 변경은 붙은 세그먼트, 면접·안내는 보조 버튼 */
.stage-btns [data-set-stage] { border-radius: 0; margin-left: -1px; min-height: 40px; padding: 0 14px; }
.stage-btns [data-set-stage]:first-child { border-radius: 8px 0 0 8px; margin-left: 0; }
.stage-btns [data-set-stage]:nth-child(5) { border-radius: 0 8px 8px 0; margin-right: 10px; }
.stage-btns [data-set-stage][aria-pressed="true"] { position: relative; z-index: 1; }
.stage-btns { gap: 6px 0; align-items: center; }
.stage-btns > :not([data-set-stage]) { margin-right: 6px; }
.stage-steps { gap: 2px; }
.stage-steps li { border-radius: 0; }
.stage-steps li:first-child { border-radius: 6px 0 0 6px; }
.stage-steps li:last-child { border-radius: 0 6px 6px 0; }
.stage-steps li.done { background: var(--blue-soft); color: var(--blue-text); }
.iv-box { background: var(--blue-soft); color: var(--text); }
.iv-box .ico-svg { color: var(--blue-text); }
.eval-row > span:first-child { font-size: 14px; font-weight: 600; color: var(--text-2); min-width: 64px; }
#memo-form textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 8px; padding: 10px 12px; font-size: 15px; line-height: 1.6; background: var(--card); resize: vertical; }
#memo-form textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--blue); }
.biz-sec .side-list li { font-size: 14px; padding: 8px 0; }
.detail-actions .stage { height: 28px; padding: 0 10px; font-size: 13px; }

/* 이력서 양식 표 */
.rf-h { font-size: 14px; margin-top: 12px; color: var(--text); }
.rform { font-size: 14px; }
.rform th, .rform td { padding: 8px 10px; border-color: var(--line-strong); }
.rform th { color: var(--text-2); font-size: 13px; }

/* 답변 비교: 질문은 회색 상자, 열 머리는 구분선 */
.seg + .answer-q { padding: 12px 14px; border-radius: 10px; background: var(--surface); margin: 0 0 4px; line-height: 1.55; }
.cmp-col { background: var(--card); padding: 14px; }
.cmp-col h2 { padding-bottom: 6px; }
.cmp-col > .muted.small { padding-bottom: 10px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.cmp-col .kv > div { grid-template-columns: 72px minmax(0, 1fr); }

/* 인재 목록: 행마다 같은 주 버튼이 반복되지 않게 '먼저 제안하기'는 블루 외곽선 */
.trow { align-items: center; }
.trow .brow-actions .btn-primary { background: var(--card); color: var(--blue-text); border-color: var(--blue-line); }
.trow .brow-actions .btn-primary:hover { background: var(--blue-soft); border-color: var(--blue); }
.trow .brow-actions .badge, .btable .badge { height: 24px; border-radius: 6px; padding: 0 8px; }

/* 공고 등록 마법사 */
.qlimit select { appearance: none; -webkit-appearance: none; height: 32px; padding: 0 28px 0 10px; border-radius: 6px; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 14px) 52%, calc(100% - 9px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
[data-q-add] { align-self: flex-start; }
.qpreview li { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.qpreview li:last-child { border-bottom: 0; }

.kv dd .badge-value { margin: 2px 4px 2px 0; }
.wiz-fs + .wiz-fs { padding-top: 18px; border-top: 1px solid var(--line); }
.detail-actions [data-fav][aria-pressed="true"] { color: var(--blue-text); border-color: var(--blue-line); background: var(--blue-soft); }
.arow-stage { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
/* 받은 제안 · 지원 현황 */
.inq-item .stage-btns { gap: 6px; }
.inq-item .stage-btns .btn-sm { min-height: 40px; }

@media (max-width: 720px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi:last-child:nth-child(odd) { grid-column: span 2; }
  .kpi { min-height: 76px; padding: 12px 14px; }
  .kpi b { font-size: 22px; }

  .funnel-box { flex-direction: column; align-items: stretch; gap: 8px; padding: 12px; }
  .funnel-box .funnel li { padding: 0 6px; }
  .funnel-box .funnel li:first-child { border-left: 0; padding-left: 0; }
  .funnel-box .fn-label { font-size: 12px; }

  .filterbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filterbar .board-search-field { grid-column: 1 / -1; }
  .filterbar .fselect, .filterbar .board-search-field input, .filterbar [data-bizf-reset] { height: 44px; min-height: 44px; }
  .filterbar .fselect > span:not(.sr-only) { padding-left: 12px; font-size: 12px; }

  .bulkbar { padding: 10px; }
  .bulkbar .btn-sm, .bulkbar .fselect { min-height: 44px; height: 44px; }
  .bulkbar [data-bulk-compare] { margin-left: 0; }
  .bulkbar [data-bulk-apply] { flex: 1; }
  .bulkbar [data-bulk-compare], .bulkbar [data-bulk-notice], .bulkbar [data-bulk-word] { flex: 1 1 40%; }

  /* 지원자 표 → 카드형 행: 이름·단계 / 학교·전공 / 학점·자격·병역 / 제출일·평점 */
  .app-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; padding: 12px 0 12px 36px; }
  .app-table td, .app-table td:nth-child(n) { display: block; width: auto; max-width: none; padding: 0; text-align: left; box-shadow: none; white-space: normal; font-size: 13px; color: var(--text-2); }
  .app-table td[data-label]::before { content: none; }
  .app-table td:first-child { position: absolute; left: 0; top: 10px; }
  .app-table td:first-child input { width: 22px; height: 22px; margin: 0; }
  .app-table td:first-child { width: 44px; height: 44px; left: -11px; top: 1px; display: grid; place-items: center; }
  .app-table .bt-name { grid-column: 1; grid-row: 1; font-size: 15px; white-space: normal; }
  .app-table td[data-label="단계"] { grid-column: 2; grid-row: 1; text-align: right; }
  .app-table td[data-label="단계"] small { max-width: 140px; margin-left: auto; }
  .app-table td[data-label="학교·전공"] { grid-column: 1 / -1; font-size: 14px; color: var(--text); }
  .app-table td[data-label="학교·전공"] small { display: inline; margin-left: 4px; }
  .app-table td[data-label="학점"] { grid-column: 1; }
  .app-table td[data-label="병역"] { grid-column: 2; text-align: right; }
  .app-table td[data-label="자격"] { grid-column: 1 / -1; order: 1; }
  .app-table td[data-label="제출일"], .app-table td[data-label="평점"] { order: 2; }
  .app-table td[data-label="학점"]::before { content: "학점 "; color: var(--text-3); }
  .app-table td[data-label="제출일"] { grid-column: 1; color: var(--text-3); font-size: 12px; align-self: center; }
  .app-table td[data-label="제출일"]::before { content: "제출 "; }
  .app-table td[data-label="평점"] { grid-column: 2; text-align: right; }

  .stage-btns [data-set-stage] { min-height: 44px; padding: 0 10px; flex: 1 1 18%; }
  .stage-btns [data-set-stage]:nth-child(5) { margin-right: 0; }
  .stage-btns > :not([data-set-stage]) { margin-top: 6px; flex: 1 1 45%; min-height: 44px; }
  .stage-btns > :not([data-set-stage]):last-child { margin-right: 0; }
  button.star { width: 44px; height: 44px; }

  /* 이력서 양식 표 → 라벨/값 두 칸 */
  .rform, .rform tbody { display: block; }
  .rform tr { display: grid; grid-template-columns: 34% minmax(0, 1fr); }
  .rform th, .rform td { width: auto !important; border-width: 0 0 1px; }
  .rform { border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong); }
  .rform th { text-align: left; }
  .rform td:nth-child(3):empty, .rform td:nth-child(3):empty + td:empty { display: none; }
  .rform td[colspan] { grid-column: 2; }
  .rf-photo { grid-column: 1 / -1; grid-row: 1; text-align: left !important; padding: 8px 10px; }
  .rf-photo img { width: 72px; height: 96px; }

  .trow .brow-actions { justify-content: flex-start; }
  .jrow.arow { grid-template-columns: minmax(0, 1fr); grid-template-areas: none; gap: 10px; }
  .arow .jrow-main, .arow .arow-stage, .arow .brow-confirm { grid-area: auto; grid-column: 1; }
  .arow-stage { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .btable td[data-label="메시지"] { max-width: none; white-space: normal; }
  .detail-actions { width: 100%; }
}

/* ============================================================ QA fixes: controls inside clickable rows sit above the row's stretched link */
.jrow :is(button, a, input, select, textarea, label):not(.stretch):not(.stretch-a),
.prow :is(button, a, input, select, textarea, label):not(.stretch):not(.stretch-a),
.hbox :is(button, a, input, select, textarea, label):not(.stretch):not(.stretch-a),
.jrow .brow-confirm, .jrow .confirm, .jrow .brow-actions, .jrow .arow-stage, .jrow .value-row, .jrow .iv-box, .jrow .brow-note {
  position: relative; z-index: 2;
}
@media (max-width: 720px) {
  /* card-style tables: only the applicant table has a leading checkbox column */
  .btable tr { padding: 12px 0; }
  .btable td:first-child { position: static; width: 100%; font-weight: 600; }
  .btable.app-table tr { padding-left: 32px; }
  .btable.app-table td:first-child { position: absolute; left: 0; top: 14px; width: auto; }
  .btable td { overflow-wrap: anywhere; }
  /* talent rows: star · text, actions below */
  .jrow.trow { grid-template-columns: 44px minmax(0, 1fr); grid-template-areas: "star main" "act act"; align-items: start; }
  .jrow.trow .star-btn { grid-area: star; }
  .jrow.trow .jrow-main { grid-area: main; min-width: 0; }
  .jrow.trow .brow-actions { grid-area: act; grid-column: auto; }
  .jrow.trow .jlogo { display: none; }
}
/* QA fixes: wrapped title links keep one clickable box; dark-mode contrast for counts, diff values and stars */
.jrow-title a:not(.stretch-a) { display: inline-block; max-width: 100%; }
.btn-count { background: var(--blue-hover); color: var(--on-blue); }
.star:not(.on), .star-btn:not(.on) { color: var(--text-3); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .diff ins { background: var(--blue-soft); color: var(--blue-text); }
}
:root[data-theme="dark"] .diff ins { background: var(--blue-soft); color: var(--blue-text); }

/* ---------------------------------------------------------------- 공개 이력서 실명 표시 */
.talent-who { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.talent-who b { color: var(--text); font-size: 15px; }
.talent-who > span:not(.talent-thumb) { color: var(--text-2); }
.talent-who > span:not(.talent-thumb)::before { content: '·'; margin-right: 6px; color: var(--text-3); }
.talent-thumb { width: 36px; height: 36px; border-radius: 50%; flex: none; object-fit: cover; display: inline-grid; place-items: center;
  background: var(--lime); color: var(--on-lime); font-weight: 600; font-size: 15px; }
.talent-thumb.lg { width: 64px; height: 80px; border-radius: 8px; font-size: 26px; }
.talent-contact { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; color: var(--text-2); margin-top: 4px; }
.talent-contact .ico-svg { width: 14px; height: 14px; }
.talent-contact span::before { content: '·'; margin: 0 6px 0 2px; color: var(--text-3); }
.talent-head { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.talent-head > div:first-of-type { flex: 1 1 240px; }
.publish-list { list-style: none; margin: 12px 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; }
.publish-list li { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.publish-list li:first-child { border-top: 0; }

.modal-actions .btn { min-height: 44px; }

/* ================================================================
   UI/UX Pro Max 점검 보정 (2026-11-27)
   1) 글자 최소 12px  2) 터치 기기에서 누를 곳 최소 44px
   3) 모바일 입력칸 16px(아이폰 확대 방지)  4) 터치 간격 8px
   ================================================================ */
.bell-count, .cond-fix, .photo-empty small, .hsearch-kbd, .palette-help kbd { font-size: 12px; }
.btable .muted, .btable small { font-size: max(12px, 0.85em); }

@media (max-width: 720px) {
  .tabbar a { font-size: 12px; }
  /* 단계별 인원: 5칸이 한 줄에 들어가지 않으면 '서류 …'로 잘림 → 3+2칸으로 줄바꿈 */
  .funnel-box .funnel { flex-wrap: wrap; row-gap: 10px; }
  .funnel-box .funnel li { flex: 1 1 30%; }
  .funnel-box .funnel li:nth-child(4) { border-left: 0; }
  .stepper li > * { font-size: 12px; }
  body { font-size: 16px; }
  input, select, textarea, .hsearch-region select, .fselect select, .qlimit select { font-size: 16px; }
}

@media (pointer: coarse) {
  .fselect select, .qlimit select { min-height: var(--hit); }
  @media (min-width: 768px) { .btn-sm, .dd-btn, .rhead .dd-btn, .seg > * { min-height: var(--hit); } }
  .hsearch-go { width: 44px; height: 44px; }
  .chip-row, .seg { gap: 8px; }
  /* 작은 체크박스: WCAG 최소 24px */
  .check-inline input, .btable input[type="checkbox"], .app-table td:first-child input, .check input { width: 24px; height: 24px; }
  /* 표 안 이름 링크: 위아래 여백으로 누르는 높이 확보 */
  .bt-name a { display: inline-block; padding: 12px 0; margin: -12px 0; }
  /* 이력서 항목 이동 칩 */
  .rsec-nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .rsec-nav { gap: 8px; }
}

/* ================================================================
   로그인(카카오) · 가입 동의 · 약관/처리방침 페이지
   ================================================================ */
.auth-btn { height: 40px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--card); color: var(--text); font-weight: 600; font-size: 14px; white-space: nowrap; max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.auth-btn:hover { border-color: var(--text-3); }
@media (pointer: coarse) { .auth-btn { min-height: 44px; } }
.kakao-btn { width: 100%; height: 52px; margin: 16px 0 12px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; background: var(--kakao-bg); color: var(--kakao-text); font-size: 16px; font-weight: 600; border: 0; cursor: pointer; }
.kakao-btn:hover { background: var(--kakao-hover); }
.consent-box { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); margin: 8px 0 4px; }
.consent-box .check:first-child { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.withdraw { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 12px; }
.withdraw summary { cursor: pointer; color: var(--text-3); font-size: 14px; }

.legal-page { padding: 32px var(--gutter) 64px; max-width: 880px; }
.legal h1 { font-size: var(--fs-h1); letter-spacing: var(--track-head); margin: 8px 0 12px; }
.legal-crumb { font-size: 14px; color: var(--text-3); }
.legal-crumb a { color: var(--text-2); text-decoration: underline; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--text-2); font-size: 14px; margin-bottom: 20px; }
.legal-toc { padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); margin-bottom: 28px; }
.legal-toc ol { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 6px 20px; font-size: 14px; }
.legal-toc a { color: var(--text-2); }
.legal-toc a:hover { color: var(--text); text-decoration: underline; }
.legal-sec { padding: 20px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.legal-sec h2 { font-size: 19px; margin-bottom: 10px; }
.legal-sec p, .legal-sec li { color: var(--text-2); line-height: 1.75; margin: 6px 0; }
.legal-sec ul { padding-left: 20px; list-style: disc; }
.legal-table-wrap { overflow-x: auto; margin: 10px 0; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.legal-table th, .legal-table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; line-height: 1.6; }
.legal-table th { background: var(--surface); color: var(--text); font-weight: 600; }
.legal-table td { color: var(--text-2); }

/* ============================================================ footer (사업자 정보형) */
.ftr { border-top: 1px solid var(--line); background: var(--surface); padding-block: 48px 36px; color: var(--text-2); }
.ftr-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px 56px; }
.ftr-brand { display: inline-flex; align-items: center; gap: 8px; min-height: var(--hit); }
.ftr-brand .logo-word { font-size: 20px; }
.ftr-info { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 6px 28px; font-size: 13px; line-height: 1.6; }
.ftr-info > div { display: flex; gap: 8px; }
.ftr-info .ftr-wide { grid-column: 1 / -1; }
.ftr-info dt { color: var(--text-3); white-space: nowrap; }
.ftr-info dd { margin: 0; color: var(--text-2); }
.ftr-sns { display: flex; gap: 10px; margin-top: 20px; }
.ftr-sns .sns { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); color: var(--text-3); }
.ftr-sns svg { width: 20px; height: 20px; }
.ftr-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ftr-col { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font-size: 14px; }
.ftr-col h2 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; letter-spacing: -0.02em; }
.ftr-hours { color: var(--text-3); font-size: 13px; }
.ftr-mail { color: var(--text-2); font-weight: 600; margin-top: 4px; }
.ftr-col a, .ftr-col .link-btn { padding: 0; background: none; border: 0; min-height: 36px; display: inline-flex; align-items: center; color: var(--text-2); font-weight: 600; font-size: 14px; }
.ftr-col a:hover, .ftr-col .link-btn:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.ftr-col .ftr-strong { color: var(--text); font-weight: 700; }
.ftr-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.ftr-copy { color: var(--text-3); }
@media (max-width: 900px) {
  .ftr-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .ftr { padding-block: 32px 28px; }
  .ftr-info { grid-template-columns: 1fr; }
  .ftr-cols { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .ftr-cols .ftr-col:last-child { grid-column: 1 / -1; }
  .ftr-col a, .ftr-col .link-btn { min-height: var(--hit); }
}

/* ============================================================ CPA:ON 로고 (토글 스위치형) */
.logo { gap: 8px; }
.logo .logo-word { font-family: Montserrat, var(--font); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; color: var(--logo-ink); line-height: 1; }
.logo-on {
  position: relative; display: inline-flex; align-items: center; height: 28px; width: 56px; padding-left: 9px; border-radius: 999px;
  background: var(--blue); color: var(--on-blue); font-family: Montserrat, var(--font); font-weight: 700; font-size: 12px; letter-spacing: 0; line-height: 1;
}
.logo-on i { position: absolute; right: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; }
.ftr-brand .logo-word { font-size: 22px; }
/* 테두리 없는 fieldset (첫 가입 회원 유형 등) */
fieldset.field { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
fieldset.field > legend { padding: 0; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.field[hidden] { display: none; }

/* ============================================================ 타이포 정리 (리걸크루 감도 참고: 굵기 600~700, 자간 완만, 차분한 크기) */
body { letter-spacing: -0.005em; }
.jcard-title, .scard h3 { font-size: var(--fs-h3); line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; }
.page-head h1 { font-size: var(--fs-h2); line-height: 1.35; font-weight: 700; letter-spacing: -0.02em; }
.sec-head h1, .sec-head h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.modal-h { font-size: var(--fs-h2); line-height: 1.3; font-weight: 700; letter-spacing: -0.02em; }
.comments h2 { font-size: 20px; }
.jd-hero strong { font-size: 18px; }
.results-count h2 b, .kpi b { letter-spacing: -0.01em; }
/* 로고는 그대로 */
.logo .logo-word { font-weight: 800; letter-spacing: -0.02em; }
.logo-on { font-weight: 800; }
@media (max-width: 640px) {
  .page-head h1 { font-size: 22px; }
  .modal-h { font-size: 22px; }
  .jcard-title, .scard h3 { font-size: 17px; }
}

/* ---------------------------------------------------------------- 메인(#home) */
.home-hero { background: linear-gradient(180deg, var(--blue-soft) 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.home-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: center; padding-block: 56px 48px; }
.home-en { font-family: 'Montserrat', var(--font, sans-serif); font-size: 14px; font-weight: 700; letter-spacing: .02em; color: var(--blue-text); margin: 0 0 10px; }
.home-hero h1 { font-family: 'Wanted Sans Variable', 'Wanted Sans', var(--font); font-size: 36px; font-weight: 700; line-height: 1.3; letter-spacing: -0.02em; margin: 0 0 24px; color: var(--text); }
.home-search { display: flex; align-items: center; gap: 10px; max-width: 620px; padding: 6px 6px 6px 18px; background: var(--card); border: 1.5px solid var(--blue-line); border-radius: var(--r-pill); box-shadow: 0 6px 20px rgba(37, 99, 235, .08); }
.home-search > svg { width: 20px; height: 20px; flex: none; color: var(--text-3); }
.home-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--text); padding: 10px 0; outline: none; }
/* 검색 입력칸과 검색 버튼의 키보드 포커스를 구분한다. */
.home-search input:focus-visible,
.hsearch input:focus-visible,
.palette-field input:focus-visible,
.filterbar .board-search-field input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: -3px;
}
.home-search .btn { border-radius: var(--r-pill); padding-inline: 22px; }
.home-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.home-chip { border: 1px solid var(--line-strong); background: var(--card); color: var(--text-2); border-radius: var(--r-pill); padding: 7px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.home-chip:hover { border-color: var(--blue); color: var(--blue-text); }
.home-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: 0 8px 24px rgba(15, 23, 42, .06); display: flex; flex-direction: column; gap: 16px; }
.home-card h2 { font-size: 18px; font-weight: 600; line-height: 1.45; margin: 0; }
.home-card .kakao-btn { width: 100%; margin: 0; }
.home-stats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; padding: 0; }
.home-stats a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 4px; border-radius: 12px; background: var(--surface); color: var(--text); text-decoration: none; }
.home-stats b { font-size: 20px; font-weight: 700; }
.home-stats span { font-size: 13px; color: var(--text-3); }
.home-body { padding-block: 40px 72px; display: flex; flex-direction: column; gap: 48px; }
.home-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.home-sec-head h2 { font-size: 20px; font-weight: 700; margin: 0; }
.home-more { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 600; color: var(--text-3); text-decoration: none; white-space: nowrap; }
.home-more svg { width: 14px; height: 14px; }
.home-more:hover { color: var(--blue-text); }
.home-jobs { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; }
.home-job { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); transition: border-color var(--dur-1), box-shadow var(--dur-1); }
.home-job:hover { border-color: var(--blue-line); box-shadow: 0 6px 18px rgba(15, 23, 42, .06); }
.home-job-co { font-size: 14px; color: var(--text-3); font-weight: 600; }
.home-job-title { text-align: left; background: none; border: 0; padding: 0; font: inherit; font-size: 17px; font-weight: 600; line-height: 1.45; color: var(--text); cursor: pointer; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.home-job-foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--text-3); margin-top: 6px; }
.home-empty { display: flex; flex-direction: column; align-items: center; gap: var(--s2); text-align: center; padding: var(--s7) var(--s4); border: 1px dashed var(--line-strong); border-radius: var(--r-md); background: var(--surface); }
.home-empty p { margin: 0; color: var(--text-2); font-size: 15px; }
.home-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.home-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.home-list li { border-bottom: 1px solid var(--line); }
.home-list a, .home-list button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 4px; background: none; border: 0; font: inherit; color: var(--text); text-align: left; text-decoration: none; cursor: pointer; }
.home-list .side-tag { flex: none; min-width: 52px; }
.home-list-t { flex: 1; min-width: 0; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-list small { flex: none; font-size: 13px; color: var(--text-3); }
.home-list a:hover .home-list-t, .home-list button:hover .home-list-t { color: var(--blue-text); }
.home-empty-line { margin: 0; padding: 20px 4px; color: var(--text-3); font-size: 15px; border-top: 1px solid var(--line); }
@media (max-width: 1024px) {
  .home-hero-in { grid-template-columns: 1fr; gap: 28px; }
  .home-jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .home-hero-in { padding-block: 32px 28px; }
  .home-hero h1 { font-size: 26px; margin-bottom: 18px; }
  .home-search .btn { padding-inline: 16px; }
  .home-jobs, .home-cols { grid-template-columns: 1fr; }
  .home-body { padding-block: 28px 96px; gap: 36px; }
  .home-cols { gap: 36px; }
}
/* 수집 공고 출처 표시 */
.jrow-cond .cond-src { color: var(--text-3); font-weight: 600; display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; flex: none; margin-left: 12px; }
.jrow-cond .cond-src svg { flex: none; }
/* 빅4 로고 */
.jlogo.has-img { background: #fff; padding: 10px 14px; display: flex; align-items: center; justify-content: center; overflow: hidden; box-sizing: border-box; }
.jlogo.has-img img { width: 100%; height: 100%; min-height: 0; object-fit: contain; display: block; }
.home-job-co { display: flex; align-items: center; gap: 8px; }
.home-job-logo { height: 18px; width: auto; max-width: 64px; object-fit: contain; }
/* 빅4 법인색 옅은 그라데이션 */
.firm-pwc { --firm: 208, 74, 2; }
.firm-kpmg { --firm: 0, 51, 141; }
.firm-deloitte { --firm: var(--green-rgb); }
.firm-ey { --firm: 255, 214, 0; }
.jrow.firm { background: linear-gradient(90deg, rgba(var(--firm), .09) 0%, rgba(var(--firm), .03) 45%, transparent 80%); }
.jrow.firm:hover { background: linear-gradient(90deg, rgba(var(--firm), .15) 0%, rgba(var(--firm), .05) 50%, var(--surface) 90%); }
.home-job.firm { background: linear-gradient(135deg, rgba(var(--firm), .11) 0%, rgba(var(--firm), .03) 55%, var(--card) 100%); border-color: rgba(var(--firm), .22); }
.home-job.firm:hover { border-color: rgba(var(--firm), .45); }
.jd-co.firm { padding: 14px 16px; border-radius: 12px; background: linear-gradient(90deg, rgba(var(--firm), .12) 0%, rgba(var(--firm), .03) 70%, transparent 100%); }
.firm-ey.jrow, .firm-ey.home-job, .firm-ey.jd-co { --firm: 245, 200, 0; }

/* ---------------------------------------------------------------- 한 줄 헤더 (LegalCrew 형식) */
.hdr-in { height: 72px; gap: 0; }
.hdr .logo { margin-right: 44px; }
.hdr .gnb { display: flex; align-items: center; gap: 36px; height: 100%; }
.hdr .gnb a { height: 100%; display: inline-flex; align-items: center; font-size: 17px; font-weight: 500; color: var(--text-3); border-bottom: 0; margin: 0; letter-spacing: -0.01em; }
.hdr .gnb a:hover { color: var(--text); }
.hdr .gnb a[aria-current="page"] { color: var(--text); font-weight: 700; border-bottom: 0; }
.hdr-actions { gap: 8px; }
.hdr-my { display: none !important; }
.hdr-search-btn, .hdr .bell { width: 44px; height: 44px; border-radius: 50%; color: var(--text); }
.hdr-search-btn .ico-svg, .hdr .bell .ico-svg { width: 24px; height: 24px; stroke-width: 1.8; }
.hdr-search-btn:hover { background: var(--surface); }
body.search-open .hdr-search-btn { background: var(--surface); color: var(--blue-text); }
/* 펼쳐지는 검색창 */
.hdr .hsearch { display: none; position: absolute; z-index: 55; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  width: min(680px, calc(100% - 32px)); margin: 0; height: 54px; box-shadow: 0 12px 32px rgba(15, 23, 42, .14); }
body.search-open .hdr .hsearch { display: flex; }
/* 계정 버튼: 아바타 + 이름 + 화살표 */
.auth-btn.is-user { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 6px 0 4px; border: 0; background: transparent; font-size: 16px; font-weight: 600; max-width: 180px; }
.auth-btn.is-user::before { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23a0aec0'%3E%3Ccircle cx='12' cy='9' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7z'/%3E%3C/svg%3E") center/22px no-repeat; }
.auth-btn.is-user::after { content: ""; flex: none; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); margin: 0 4px 0 2px; }
.auth-btn.is-user:hover { color: var(--blue-text); }
@media (max-width: 1100px) {
  .hdr .logo { margin-right: 28px; }
  .hdr .gnb { gap: 24px; }
  .hdr .gnb a { font-size: 16px; }
}
@media (max-width: 720px) {
  .hdr-in { flex-wrap: nowrap; height: 60px; padding-block: 0; gap: 0; }
  .hdr .gnb { display: none; }
  .hdr .hsearch { order: 0; flex: none; top: calc(100% + 8px); height: 50px; }
  .auth-btn.is-user { font-size: 14px; }
  .auth-btn.is-user::before { width: 30px; height: 30px; }
}

/* 법인·운영 라벨과 메뉴 사이 간격 */
.hdr .biz-firm:not(:empty) { margin-right: 24px; white-space: nowrap; }
.biz-firm > * { overflow: hidden; text-overflow: ellipsis; }
.hdr .gnb { flex: none; }
.hdr-actions { min-width: 0; }
.hdr-actions > .icon-btn { flex: none; }
.hdr-actions .auth-btn.is-user { min-width: var(--hit); overflow: hidden; text-overflow: ellipsis; }

/* 비로그인 홈 검색 */
.home-hero-in.solo { grid-template-columns: minmax(0, 760px); }

/* 회계사 취업 소식 */
.home-hero-in { align-items: start; }
.home-hero-main { padding-top: 12px; }
.home-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.home-news { gap: 12px; padding: 20px 20px 16px; }
.home-news-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.home-news-head h2 { font-size: 17px; font-weight: 700; }
.home-news-head span { font-size: 12px; color: var(--text-3); white-space: nowrap; }
.home-news-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.home-news-tabs button { height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--text-3); font-size: 12px; font-weight: 600; cursor: pointer; }
.home-news-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.home-news-list li + li { border-top: 1px solid var(--line); }
.home-news-list a { display: flex; flex-direction: column; gap: 3px; padding: 10px 0; color: var(--text); text-decoration: none; }
.home-news-t { font-size: 14px; font-weight: 500; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.home-news-list a:hover .home-news-t { color: var(--blue-text); text-decoration: underline; }
.home-news-m { font-size: 12px; color: var(--text-3); }
.home-news-src { margin: 0; font-size: 11px; color: var(--text-3); line-height: 1.5; }
.home-hero-in { align-items: center; }
.home-hero-main { padding-top: 0; }

.home-news-t { -webkit-line-clamp: 1; }
.home-hero-in { grid-template-columns: minmax(0, 1fr) 380px; }
@media (max-width: 960px) { .home-hero-in { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- 메인 히어로 다듬기 (UI/UX 점검 반영) */
.home-hero-in { grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: center; }
.home-news { padding: 20px 20px 8px; gap: 14px; }
.home-news-head { flex-direction: column; align-items: flex-start; gap: 2px; }
.home-news-head h2 { font-size: 18px; }
.home-news-sub { font-size: 13px; color: var(--text-3); }
/* 소식 분류 버튼의 간격과 선택 상태 */
.home-news-tabs { gap: 8px; }
.home-news-tabs button { height: 34px; padding: 0 14px; font-size: 13px; border-radius: var(--r-pill); transition: background-color var(--dur-1), color var(--dur-1), border-color var(--dur-1); }
.home-news-tabs button:hover { border-color: var(--text-3); color: var(--text); }
.home-news-tabs button[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--card); font-weight: 700; }
/* 기사 줄: 줄 전체가 눌리고, 새 창 아이콘으로 바깥 링크임을 알림 */
.home-news-list a { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 16px; column-gap: 10px; row-gap: 6px; padding: 12px 8px; margin: 0 -8px; border-radius: 10px; transition: background-color .15s; }
.home-news-list a:hover { background: var(--surface); }
.home-news-list a:hover .home-news-t { text-decoration: none; color: var(--text); }
.home-news-list a:focus-visible { outline-offset: 0; }
.home-news-t { grid-column: 1; font-size: 15px; font-weight: 600; line-height: 1.45; -webkit-line-clamp: 2; }
.home-news-m { grid-column: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 12px; color: var(--text-3); }
.home-news-ext { grid-column: 2; grid-row: 1; width: 16px; height: 16px; margin-top: 3px; fill: none; stroke: var(--text-3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .6; }
.home-news-list a:hover .home-news-ext { opacity: 1; stroke: var(--blue-text); }
.news-cat { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; font-size: 11px; font-weight: 700; background: var(--surface); color: var(--text-2, var(--text)); }
.news-cat.job { background: var(--news-job-bg); color: var(--news-job-text); }
.news-cat.exam { background: var(--amber-soft); color: var(--amber-text); }
.news-cat.biz { background: var(--news-biz-bg); color: var(--news-biz-text); }
.news-more { margin-left: 2px; padding: 0 6px; height: 20px; display: inline-flex; align-items: center; border-radius: 6px; border: 1px solid var(--line); font-size: 11px; }
/* 불러오는 동안 자리 */
.home-news.is-loading { min-height: 420px; }
.home-news-sk { height: 64px; border-radius: var(--r-sm); margin-block: var(--s1); background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%); background-size: 200% 100%; animation: news-sk 1.2s ease-in-out infinite; }
@keyframes news-sk { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .home-news-sk { animation: none; } .home-news-tabs button, .home-news-list a { transition: none; } }

@media (max-width: 960px) {
  .home-hero-in { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .home-news { padding: 16px 16px 6px; }
  .home-news-t { font-size: 15px; }
}
@media (min-width: 961px) {
  .home-news-t { -webkit-line-clamp: 1; }
  .home-news-list a { padding: 10px 8px; }
  .home-news.is-loading { min-height: 380px; }
}

/* ---------------------------------------------------------------- 취업 소식: 맨 아래, 박스 없는 순위 목록 */
.home-news.home-sec { background: none; border: 0; box-shadow: none; padding: 0; margin-top: 56px; display: block; }
.home-news .home-sec-head { flex-wrap: wrap; align-items: baseline; justify-content: flex-start; gap: 4px 12px; margin-bottom: 14px; }
.home-news .home-sec-head h2 { font-size: 20px; }
.home-news-sub { font-size: 13px; color: var(--text-3); }
.home-news-tabs { margin-bottom: 8px; }
.home-news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; list-style: none; margin: 0; padding: 0; counter-reset: none; }
.home-news-grid > li { border-top: 1px solid var(--line); }
.home-news-list a { display: flex; align-items: flex-start; gap: 14px; padding: 14px 8px; margin: 0 -8px; grid-template-columns: none; }
.home-news-rank { flex: none; width: 22px; font-size: 18px; font-weight: 800; line-height: 1.3; color: var(--text-3); font-variant-numeric: tabular-nums; text-align: center; }
.home-news-rank.top { color: var(--blue-text); }
.home-news-body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.home-news-t { -webkit-line-clamp: 1; font-size: 15px; }
.home-news-ext { display: none; }
.home-news.is-loading { min-height: 0; }
@media (max-width: 720px) {
  .home-news.home-sec { margin-top: 40px; }
  .home-news-grid { grid-template-columns: 1fr; }
  .home-news-t { -webkit-line-clamp: 2; }
}
.home-news-list a { flex-direction: row; }
@media (min-width: 721px) { .home-news-grid { grid-auto-flow: column; grid-template-rows: repeat(5, auto); } }

/* 영문 문구는 한글 제목 아래 */
.home-hero-main h1 { margin-bottom: 6px; }
.home-hero-main .home-en { margin: 0 0 24px; }

/* 근무형태 표시 */
.cond-work { color: var(--work-text); font-weight: 600; }

/* 경력 구분 표시 */
.cond-career { color: var(--text); font-weight: 600; }
.home-job-foot .cond-career { color: var(--text); }

/* ---------------------------------------------------------------- 헤더 오른쪽 조작 요소 */
.hdr-actions { gap: 4px; }
.hdr-search-btn, .hdr .bell { width: var(--hit); height: var(--hit); border-radius: 50%; }
.hdr-search-btn .ico-svg, .hdr .bell .ico-svg { width: 22px; height: 22px; stroke-width: 1.8; }
.hdr .bell .bell-count { top: 4px; right: 4px; }
.hdr-actions .auth-btn { margin-left: 8px; height: var(--hit); font-size: 15px; font-weight: 600; }
.hdr-actions .auth-btn:not(.is-user) { padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--card); }
.hdr-actions .auth-btn:not(.is-user):hover { border-color: var(--text); }
.auth-btn.is-user { height: var(--hit); display: block; padding: 0 10px 0 4px; border-radius: 999px; font-size: 15px; gap: 8px; }
.auth-btn.is-user::before { display: inline-block; vertical-align: middle; margin-right: 8px; width: 32px; height: 32px; background-size: 20px; }
.auth-btn.is-user::after { display: inline-block; vertical-align: middle; }
.auth-btn.is-user:hover { background: var(--surface); color: var(--text); }
@media (max-width: 720px) {
  .hdr .logo { flex: none; margin-right: 0; }
  .hdr-actions .auth-btn { margin-left: 4px; font-size: 14px; }
  .hdr-actions .auth-btn:not(.is-user) { padding: 0 14px; }
  .auth-btn.is-user::before, .auth-btn.is-user::after { display: none; }
}
@media (pointer: coarse) {
  .home-chip, .home-more,
  .home-news-tabs button, .home-news-list a, .home-job-title { min-height: var(--hit); }
}

/* ---------------------------------------------------------------- 조건으로 바로 찾기 (속성별 묶음) */
.home-quick { margin-top: 20px; }
.home-quick-title { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: var(--text); }
.home-quick-title span { margin-left: 8px; font-size: 13px; font-weight: 400; color: var(--text-3); }
.home-quick-grid { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 10px 32px; }
.home-quick-row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.home-quick-row dt { flex: none; width: 60px; font-size: 13px; font-weight: 600; color: var(--text-3); }
.home-quick-row dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.home-quick .home-chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; font-size: 14px; }
.home-chip-n { font-size: var(--fs-sm); font-weight: 600; color: var(--blue-text); font-variant-numeric: tabular-nums; }
.home-chip:hover .home-chip-n { color: inherit; }
@media (max-width: 960px) { .home-quick-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .home-quick-row { align-items: flex-start; } .home-quick-row dt { width: 56px; padding-top: 9px; } }

/* ---------------------------------------------------------------- 로그인 후: 지금 지원할 수 있는 공고 */
.home-fit .home-sec-head h2 b { color: var(--blue-text); }
.home-fit .home-more { border: 0; background: none; cursor: pointer; font: inherit; }
.home-fit-sub { margin: -8px 0 16px; font-size: 14px; color: var(--text-3); }
.home-fit-h { margin: 20px 0 10px; font-size: 15px; font-weight: 700; }
.home-fit-h:first-of-type { margin-top: 4px; }
.fit-why { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.fit-tag { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border-radius: 6px; background: var(--blue-soft); color: var(--blue-text); font-size: 12px; font-weight: 600; }
.fit-tag.warn { background: var(--amber-soft); color: var(--amber-text); }
.home-fit-check { margin-top: 16px; }
.home-fit-check summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--text-3); padding: 8px 0; }
.home-fit-check .home-jobs { margin-top: 8px; }
.home-fit-empty { overflow-wrap: anywhere; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; border-radius: 16px; background: var(--blue-soft); }
.home-fit-empty h2 { margin: 0 0 6px; font-size: 18px; }
.home-fit-empty p { margin: 0; font-size: 14px; color: var(--text-3); }
@media (max-width: 720px) { .home-fit-empty { flex-direction: column; align-items: stretch; padding: 20px; } }

/* 희망 조건 입력 */
.prefs-form { gap: 18px; }
.prefs-form legend .req { margin-left: 6px; font-size: 12px; color: var(--blue-text); font-weight: 600; }
.prefs-more summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--text-3); padding: 4px 0 10px; }
.prefs-more .field + .field { margin-top: 14px; }
@media (pointer: coarse) {
  .prefs-more summary, .home-fit-check summary { min-height: var(--hit); }
}

@media (max-width: 720px) {
  .legal-table { min-width: 0; table-layout: fixed; }
  .legal-table th, .legal-table td { padding: var(--s2) var(--s1); }
  .rform-wrap, .legal-table-wrap { min-width: 0; max-width: 100%; }
  .btn { max-width: 100%; white-space: normal; text-align: center; }
}

/* 인재 검색과 첫 이용 안내 */
.talent-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.talent-filters .board-search-field { grid-column: 1 / -1; }
.side-box > ol.side-list a { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); min-height: var(--hit); }
.side-box > ol.side-list small { margin-inline-start: auto; }
@media (max-width: 480px) {
  .talent-filters { grid-template-columns: minmax(0, 1fr); }
  .btable td[data-label="전→후"] { white-space: pre-line; }
}
.my-next-step { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s3); margin-block-end: var(--s4); }
.my-next-step .small-h { margin: 0; }

@media (min-width: 721px) and (max-width: 960px) {
  body[data-mode="ops"] .hdr .biz-firm { display: none; }
  body[data-mode="ops"] .hdr .logo { margin-right: var(--s3); }
  body[data-mode="ops"] .hdr .gnb { margin-inline-start: var(--s3); gap: var(--s3); }
}

/* 커뮤니티 작성자와 MY 닉네임 설정 */
.author-name {
  min-width: 0;
  max-width: 100%;
  color: var(--text-2);
  font-weight: 600;
  overflow-wrap: anywhere;
  white-space: normal;
}
.author-name.is-ops { color: var(--blue-text); font-weight: 700; }
.prow-meta:has(.author-name) { flex-wrap: wrap; }

.nickname-form {
  display: grid;
  gap: var(--s3);
  padding: var(--s4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--card);
}
.nickname-form .field { min-width: 0; }
.nickname-form input[aria-invalid="true"] { border-color: var(--warn); }
.nickname-form > .btn { justify-self: start; }

/* 게시글 전체 반응 수와 내 반응 상태 */
.reaction-count {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.prow-meta .reaction-count { font-size: var(--fs-sm); color: var(--text-2); }
.reaction-count .ico-svg { width: 1em; height: 1em; }
#board-helpful .reaction-count { font-weight: 700; }
#board-helpful[aria-pressed="true"]:enabled {
  color: var(--blue-text);
  background: var(--blue-soft);
  border-color: var(--blue-line);
}
#board-helpful[aria-pressed="true"]:enabled:hover { border-color: var(--blue-text); }

/* ---------------------------------------------------------------- 메인 히어로 배경: B6 빛 번짐 + ON 별자리 (2026-12-03) */
.home-hero { position: relative; background: #fff; border-bottom: 0; isolation: isolate; }
.home-hero::before {
  content: ""; position: absolute; inset: 0 0 -220px 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 460px at 80% 18%, rgba(147,197,253,.7), transparent 70%),
    radial-gradient(520px 420px at 58% 70%, rgba(196,181,253,.4), transparent 70%),
    radial-gradient(400px 360px at 98% 62%, rgba(147,197,253,.4), transparent 70%),
    radial-gradient(440px 380px at -6% 28%, rgba(191,219,254,.45), transparent 70%),
    #f5f8ff;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, rgba(0,0,0,.6) 70%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 45%, rgba(0,0,0,.6) 70%, transparent 100%);
}
.home-hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: max(4%, calc((100% - 1200px) / 2)); top: 48px; width: 360px; height: 240px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 240'><g fill='none' stroke='%232563eb' stroke-opacity='.45' stroke-width='1.3'><polyline points='60,40 120,40 140,120 125,200 65,195 40,110 60,40'/><polyline points='200,195 200,40 285,195 285,40'/></g><g fill='%232563eb'><circle cx='60' cy='40' r='5.5'/><circle cx='120' cy='40' r='5.5'/><circle cx='140' cy='120' r='4.5'/><circle cx='125' cy='200' r='5'/><circle cx='65' cy='195' r='5'/><circle cx='40' cy='110' r='4.5'/><circle cx='200' cy='40' r='5.5'/><circle cx='200' cy='195' r='5.5'/><circle cx='285' cy='195' r='5.5'/><circle cx='285' cy='40' r='5.5'/></g><g fill='%2393b4f5'><circle cx='330' cy='20' r='3'/><circle cx='250' cy='8' r='2.5'/><circle cx='12' cy='232' r='2.5'/><circle cx='345' cy='230' r='3'/></g></svg>") no-repeat center / contain;
}
.home-hero-main { background: transparent; }
.home-body { position: relative; z-index: 1; }
@media (max-width: 960px) {
  .home-hero::after { width: 220px; height: 150px; top: 24px; right: 0; opacity: .45; }
}
@media (max-width: 720px) {
  .home-hero::after { display: none; }
}

/* 운영자 계정 전용: 일반 화면 ↔ 운영 화면 진입 */
.mode-enter { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); font-size: 13px; font-weight: 700; white-space: nowrap; }
.mode-enter .ico-svg { width: 16px; height: 16px; }
.mode-enter.ops { background: var(--text); color: var(--bg); border-color: var(--text); }
.mode-enter:hover { border-color: var(--blue); }
.my-ops-entry { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); }
.my-ops-entry > span { flex: 1; display: grid; gap: 2px; }
.my-ops-entry small { color: var(--text-2); font-size: 13px; }
.my-ops-entry .ico-svg { width: 20px; height: 20px; flex: none; }
.my-ops-entry:hover { border-color: var(--blue); }
@media (max-width: 640px) { .mode-enter { width: var(--hit, 44px); height: var(--hit, 44px); padding: 0; justify-content: center; } .mode-enter span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* 법인 승인 상태와 운영 검토 목록 */
.badge.firm-pending-badge {
  min-height: 24px;
  height: auto;
  padding-inline: var(--s2);
  border-radius: 6px;
  background: var(--caution-soft);
  color: var(--caution);
}
.firm-lock {
  display: inline-flex;
  align-items: center;
  margin-inline-start: var(--s1);
  padding-inline: var(--s2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--text-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  white-space: nowrap;
}
.firm-review-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
.firm-review-list .inq-item { min-width: 0; overflow-wrap: anywhere; }

/* 로딩 스켈레톤: 실제 화면 모양의 회색 틀 */
.sk-screen { padding-bottom: 48px; }
.sk { display: block; height: 14px; border-radius: 6px; background: var(--surface-2); margin: 0 0 12px; max-width: 100%; }
.sk-sm { height: 12px; }
.sk-h1 { height: 32px; border-radius: 8px; margin-bottom: 16px; }
.sk-input { height: 56px; border-radius: var(--r-pill); margin: 24px 0 16px; }
.sk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sk-chip { width: 72px; height: 32px; border-radius: var(--r-pill); margin: 0; }
.sk-hero { padding-block: 56px 40px; }
.sk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sk-page { padding-top: 40px; }
.sk-list { display: grid; gap: 12px; margin-top: 24px; }
.sk-card { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.sk-card .sk:last-child { margin-bottom: 0; }
@media (max-width: 720px) { .sk-grid { grid-template-columns: 1fr; } .sk-hero { padding-block: 32px 24px; } .sk-h1 { height: 26px; } }
@media (prefers-reduced-motion: no-preference) {
  .sk { background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface) 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: sk-shine 1.4s ease-in-out infinite; }
}
@keyframes sk-shine { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* 부분 로딩 영역은 첫 화면과 같은 막대와 모션 설정을 사용한다. */
.sk-region .sk-list { margin-top: 0; gap: 0; }
.sk-region .sk-list .sk-card { padding: var(--s4) 0; border-width: 0 0 1px; border-radius: 0; background: transparent; }
.sk-region .sk-card > :first-child { width: 40%; }
.sk-region .sk-card > :nth-child(2) { width: 85%; }
.sk-region .sk-card > :last-child { width: 60%; }
.home-fit-links { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }

/* 교육·세미나: 공고 카드와 같은 면·테두리·간격 */
.event-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.event-card {
  min-width: 0; height: 100%; display: flex; flex-direction: column;
  align-items: flex-start; gap: var(--s2); padding: var(--s4);
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card);
  color: var(--text); overflow-wrap: anywhere;
}
.event-card:hover, .event-card:focus-visible { border-color: var(--blue-text); }
.event-meta { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s2); color: var(--text-2); font-size: var(--fs-sm); }
@media (max-width: 960px) {
  .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 721px) and (max-width: 960px) {
  body[data-mode="applicant"] .hdr .logo { margin-right: var(--s3); }
  body[data-mode="applicant"] .hdr .gnb { gap: var(--s2); }
}
@media (max-width: 640px) {
  .event-grid { grid-template-columns: minmax(0, 1fr); }
}

/* MY 계정 진입, 기본 이력서, 채용 목록 정렬 */
.hdr .auth-btn.is-user::after { display: none; }
.my-resume-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s3); margin-bottom: var(--s4); padding: var(--s4);
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card);
}
.resume-workspace {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start; gap: var(--s4);
}
.resume-editor-pane, .resume-preview-pane { min-width: 0; }
.resume-preview-pane { position: sticky; top: var(--s4); }
.resume-preview-pane iframe {
  display: block; width: 100%; height: 76vh; border: 1px solid var(--line);
  border-radius: var(--r-sm); background: var(--surface);
}
.resume-view-switch { display: none; }
.rhead:has(.job-sort) { flex-wrap: wrap; }
.job-sort {
  display: inline-flex; min-width: 0; max-width: 100%; overflow-x: auto;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--card);
}
.job-sort button {
  flex: none; min-height: var(--hit); padding-inline: var(--s3);
  color: var(--text-2); font-size: var(--fs-sm); white-space: nowrap;
}
.job-sort button[aria-pressed="true"] { background: var(--blue-soft); color: var(--blue-text); font-weight: 700; }
.job-sort button:focus-visible { outline-offset: -3px; }
@media (max-width: 960px) {
  .resume-workspace { grid-template-columns: minmax(0, 1fr); }
  .resume-view-switch { display: flex; flex-wrap: wrap; gap: var(--s2); }
  .resume-preview-pane { position: static; }
  .resume-workspace:not([data-pane="preview"]) .resume-preview-pane,
  .resume-workspace[data-pane="preview"] .resume-editor-pane { display: none; }
}
@media (max-width: 720px) {
  .job-sort { border: 0; border-radius: 0; gap: var(--s1); }
  .job-sort button { border: 1px solid var(--line); border-radius: var(--r-pill); }
}
.hdr .auth-btn.is-user[aria-current="page"] { color: var(--blue-text); }
.resume-editor-pane { container-type: inline-size; }
@container (max-width: 580px) {
  .resume-editor-pane .rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resume-editor-pane :is(.span3, .span4) { grid-column: 1 / -1; }
  .resume-editor-pane .general-grid { grid-template-columns: minmax(0, 1fr); }
}
.resume-view-switch button { min-height: var(--hit); padding-inline: var(--s4); border-radius: var(--r-pill); border: 1px solid var(--line); }
.resume-view-switch button[aria-pressed="true"] { background: var(--blue-soft); color: var(--blue-text); border-color: var(--blue-line); }
@media (min-width: 721px) and (max-width: 960px) {
  body[data-mode="biz"] .hdr .logo { margin-right: var(--s3); }
  body[data-mode="biz"] .hdr .gnb { gap: var(--s3); }
}

/* 홈 화면 앱의 상태 표시줄과 가로 방향 센서 영역 */
@media (display-mode: standalone) {
  .hdr {
    padding-top: env(safe-area-inset-top, 0px);
    padding-inline: env(safe-area-inset-left, 0px) env(safe-area-inset-right, 0px);
  }
  .hdr::before {
    content: ""; position: absolute; inset: 0 0 auto;
    height: env(safe-area-inset-top, 0px); background: var(--app-status-bg); pointer-events: none;
  }
  .tabbar { padding-inline: env(safe-area-inset-left, 0px) env(safe-area-inset-right, 0px); }
}
.home-install-diagram { display: block; width: min(100%, 312px); height: auto; margin-block: var(--s3); }

/* 모바일 MY: 계정 요약, 활동·설정 목록과 이력서 전환 */
@media (max-width: 767px) {
  .my-mobile-hub { display: grid; gap: var(--s5); min-width: 0; }
  .my-mobile-hub, .my-mobile-sub { padding-block: var(--s4) var(--s5); }
  .my-hub-head p { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2); }
  .my-row-label { flex: 1; min-width: 0; }
  .my-hub-row small { text-align: end; }
  .my-hub-head, .my-sub-head { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2); }
  .my-hub-head h1, .my-sub-head h1 { margin: 0; font-size: var(--fs-h2); }
  .my-hub-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); }
  .my-hub-summary a { display: grid; place-content: center; justify-items: center; gap: var(--s1); min-height: 72px; padding: var(--s2); color: var(--text-2); font-size: var(--fs-sm); text-align: center; }
  .my-hub-summary a + a { border-inline-start: 1px solid var(--line); }
  .my-hub-summary b { font-size: var(--fs-h2); color: var(--blue-text); font-variant-numeric: tabular-nums; }
  .my-hub-group h2, .my-hub-resume h2 { margin: 0 0 var(--s2); font-size: var(--fs-h3); }
  .my-hub-row { display: flex; align-items: center; gap: var(--s2); min-height: 48px; padding: var(--s2); border-bottom: 1px solid var(--line); color: var(--text); }
  .my-hub-row .ico-svg { flex: none; color: var(--text-2); }
  .my-hub-row small { margin-inline-start: auto; color: var(--text-2); font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
  .my-hub-row:hover, .my-hub-row:focus-visible { background: var(--surface); }
  .my-hub-resume { padding: var(--s4); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); }
  .my-hub-resume { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s2); }
  .my-hub-resume h2 { margin: 0; }
  .my-hub-resume progress, .my-hub-resume .btn { grid-column: 1 / -1; }
  .my-hub-resume progress { width: 100%; height: 8px; accent-color: var(--blue); }
  .my-hub-logout { justify-self: start; min-height: var(--hit); color: var(--text-2); }
  .my-sub-head { margin-bottom: var(--s3); }
  .my-sub-head a { display: inline-flex; align-items: center; min-height: var(--hit); padding-inline: var(--s2); color: var(--blue-text); }
  .resume-mobile-tools { display: flex; align-items: start; flex-wrap: wrap; gap: var(--s2); }
  .resume-mobile-tools details { min-width: 0; }
  .resume-mobile-tools summary, .resume-privacy summary { min-height: var(--hit); align-content: center; cursor: pointer; color: var(--text-2); }
  .resume-privacy { margin-bottom: var(--s2); font-size: var(--fs-sm); }
  #my-body .resume-top { position: static; gap: var(--s1); margin-bottom: var(--s2); padding-block: var(--s1); }
  #my-body .rsec-nav { flex-wrap: nowrap; overflow-x: auto; min-width: 0; }
  #my-body .rsec-nav a { flex: none; }
  #my-body:has(.resume-view-switch) { padding-bottom: calc(var(--hit) + var(--s4)); }
  #my-body .resume-view-switch {
    position: fixed; z-index: 40; inset-inline: 0; bottom: env(safe-area-inset-bottom, 0px);
    justify-content: center; flex-wrap: nowrap; margin: 0; padding: var(--s1) max(var(--s2), env(safe-area-inset-right, 0px)) var(--s1) max(var(--s2), env(safe-area-inset-left, 0px));
    background: var(--bg); border-top: 1px solid var(--line);
  }
}
@media (max-width: 720px) {
  #my-body .resume-view-switch { bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px)); }
}

/* 모바일 정보 위계와 손가락 조작 영역 */
@media (max-width: 767px) {
  body { font-size: var(--fs-body); line-height: var(--lh-body); }
  .home-hero h1, .article-title, .jd-title, .my-hub-head h1, .my-sub-head h1,
  .page-head h1, .modal-h { font-size: var(--fs-h1); line-height: 1.3; }
  .home-sec-head h2, .sec-head h2, .sec-head h1, .biz-sec h2, .my-hub-group h2,
  .my-hub-resume h2, .comments h2 { font-size: var(--fs-h2); font-weight: 600; }
  .jcard-title, .home-job-title, .scard h3, .event-card h2, .event-card h3 { font-size: var(--fs-h3); font-weight: 600; }
  .article-body, .jd-desc { font-size: var(--fs-body); line-height: var(--lh-body); }
  small, .field small, .check small, .check-inline small { font-size: var(--fs-xs); }
  .badge { font-weight: 600; }
  .prefs-more summary, .pcheck,
  .bt-name a, details:has([data-phone-push]) > summary, .jd .note a { min-height: var(--hit); }
  .jd .note a, .bt-name a { display: inline-flex; align-items: center; }
  .jd { gap: var(--s3); }
  .jd-co.firm { padding: var(--s2) var(--s3); }
  .jd-hero { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s2) var(--s4); padding: var(--s3) 0; border: 0; border-block: 1px solid var(--line); border-radius: 0; background: transparent; }
  .jd-hero > div { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: var(--s1); }
  .jd-hero .jd-dday { font-size: var(--fs-deadline); line-height: 1.1; }
  .jd-hero strong { font-size: var(--fs-body); font-weight: 500; }
  .jd-label, .jd-info dt { font-size: var(--fs-sm); font-weight: 500; color: var(--text-2); }
  .jd-info { display: block; border: 0; border-radius: 0; background: transparent; overflow: visible; }
  .jd-info > div { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); align-items: baseline; gap: var(--s2); padding: var(--s2) 0; border-bottom: 1px solid var(--line); background: transparent; }
  .jd-info dd { margin: 0; font-size: var(--fs-body); font-weight: 500; overflow-wrap: anywhere; }
  .modal-body:has(> .jd) { gap: var(--s3); padding: 0 var(--gutter); }
  .jd + .modal-actions {
    bottom: 0; margin: 0 calc(-1 * var(--gutter)); padding: var(--s2) var(--gutter) calc(var(--s2) + env(safe-area-inset-bottom, 0px));
    align-items: center; gap: var(--s2); justify-content: flex-start;
  }
  .jd + .modal-actions .btn { flex: 1 0 auto; padding-inline: var(--s2); white-space: nowrap; font-size: var(--fs-sm); }
  .jd + .modal-actions .btn-primary { flex-grow: 2; }
  .page-head > *, .toolbar > *, .home-quick-row dd { min-width: 0; }
  .home-hero { background-color: var(--bg); }
  :root[data-theme="dark"] .home-hero::before { background: linear-gradient(150deg, var(--blue-soft), var(--bg)); }
}
@media (max-width: 767px) and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .home-hero::before { background: linear-gradient(150deg, var(--blue-soft), var(--bg)); }
}
@media (max-width: 767px) {
  html[data-keyboard-open] .tabbar { display: none; }
  html[data-keyboard-open] #my-body .resume-view-switch { bottom: var(--keyboard-inset, 0px); }
  html[data-keyboard-open] .sticky-foot { bottom: var(--keyboard-inset, 0px); }
}

.jd .note .jd-secondary-mobile, .modal-actions .jd-secondary-mobile { display: none; }
@media (max-width: 767px) {
  .jd .note .jd-secondary-mobile, .modal-actions .jd-secondary-mobile { display: inline-flex; align-items: center; }
  .jd + .modal-actions .jd-secondary-desktop { display: none; }
  .toolbar-right { max-width: 100%; flex-wrap: wrap; }
  .side-head .side-more { display: inline-flex; align-items: center; min-height: var(--hit); }
}
@media (max-width: 480px) {
  .hdr-in:has(.mode-badge:not([hidden])) .logo-word { display: none; }
}
@media (max-width: 767px) {
  .home-more, .board-edit-nickname, .cond-src.link-inline,
  .entry-tools .icon-btn, .drawer-foot .btn, .qchip {
    display: inline-flex; align-items: center; justify-content: center; min-height: var(--hit);
  }
  .entry-tools .icon-btn { min-width: var(--hit); }
  .withdraw summary { min-height: var(--hit); align-content: center; }
  .btable.app-table tr { padding-left: calc(var(--hit) + var(--s1)); }
  .btable.app-table td:first-child { top: var(--s1); width: var(--hit); }
  .app-select-target { display: grid; place-items: center; width: var(--hit); height: var(--hit); }
}
@media (display-mode: standalone) and (max-width: 767px) {
  .modal[open]:has(.jd) { animation: none; }
}
@media (max-width: 767px) {
  html.locked { overscroll-behavior: none; }
  html[data-keyboard-open] dialog[open] {
    bottom: var(--keyboard-inset, 0px); margin-block: auto 0;
    max-height: calc(var(--keyboard-height, 100dvh) - env(safe-area-inset-top, 0px));
  }
}
@media (max-width: 767px) { #rs-profile { display: inline-flex; align-items: center; min-height: 44px; } }

/* 공고별 나의 상태 */
.job-mark-bar, .job-mark-chips, .job-mark-hide, .jd-mark, .my-mark-record {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2);
}
.job-mark-bar { padding-block: var(--s3); border-bottom: 1px solid var(--line); }
.job-mark-bar[hidden] { display: none; }
.job-mark-chips strong, .jd-mark { font-size: var(--fs-sm); font-weight: 600; }
.job-mark-chips button, .job-mark-select, .home-mark {
  border: 1px solid var(--line); border-radius: var(--r-pill); white-space: nowrap;
  font: inherit; font-size: var(--fs-sm); font-weight: 600;
}
.job-mark-chips button { min-height: 32px; padding-inline: var(--s3); background: var(--card); color: var(--text-2); }
.job-mark-chips button[aria-pressed="true"] { background: var(--blue-hover); color: var(--on-blue); border-color: transparent; }
.job-mark-hide { margin-inline-start: auto; font-size: var(--fs-sm); color: var(--text-2); cursor: pointer; }
.job-mark-hide input { accent-color: var(--blue); }
.job-mark-select, .home-mark { color: var(--text-2); background-color: var(--surface); }
.job-mark-select[data-mark="unread"] { color: var(--on-lime); background-color: var(--lime); }
:is(.job-mark-select, .home-mark)[data-mark="planned"] { color: var(--caution); background-color: var(--caution-soft); }
:is(.job-mark-select, .home-mark)[data-mark="applied"] {
  color: var(--success-text, var(--text)); background-color: var(--success-soft, color-mix(in srgb, rgb(var(--green-rgb)) 22%, var(--card)));
}
:is(.job-mark-select, .home-mark)[data-mark="skipped"] { background-color: var(--surface-2); }
.job-mark-select {
  appearance: none; -webkit-appearance: none; width: 7.8em; min-height: 34px;
  padding-inline: var(--s3) var(--s6); cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 15px) center, calc(100% - 10px) center;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.job-mark-select option { color: var(--text); background: var(--card); }
.home-mark { display: inline-flex; padding: 2px var(--s2); font-size: var(--fs-xs); }
.jrow[data-mark] { grid-template-columns: auto minmax(0, 1fr) auto auto 44px; }
.jrow[data-mark] .jrow-side { min-width: 6em; }
.jrow[data-mark]:not([data-mark="unread"]) .jrow-title { font-weight: 500; }
.jrow:is([data-mark="applied"], [data-mark="skipped"]) { background: var(--surface); }
.jrow:is([data-mark="applied"], [data-mark="skipped"]) :is(.jrow-title, .jrow-dday, .jlogo) { color: var(--text-2); }
.jd-mark { justify-content: space-between; padding-block: var(--s2); border-block-end: 1px solid var(--line); }
.my-mark-record { padding: var(--s2) var(--s4); color: var(--text-2); }
.my-mark-record strong { margin-inline-end: auto; color: var(--text); }
.my-mark-record a { display: inline-flex; align-items: center; min-height: var(--hit); color: var(--blue-text); }
@media (max-width: 767px), (pointer: coarse) {
  .job-mark-select, .job-mark-chips button, .job-mark-hide { min-height: var(--hit); }
}
@media (max-width: 767px) {
  .jrow[data-mark] { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "main save" "main side" "main mark"; align-items: start; gap: var(--s1) var(--s2); }
  .jrow[data-mark] .jlogo { display: none; }
  .jrow[data-mark] .jrow-main { grid-area: main; }
  .jrow[data-mark] .save-btn { grid-area: save; justify-self: end; }
  .jrow[data-mark] .jrow-side { grid-area: side; }
  .jrow[data-mark] .job-mark-select { grid-area: mark; justify-self: end; }
}
:root[data-theme="dark"] .home-hero { background: var(--bg); }
:root[data-theme="dark"] .home-hero::before { background: linear-gradient(150deg, var(--surface), var(--bg)); }
:root[data-theme="dark"] :is(.hsearch, .home-search) { border: 1px solid var(--line-strong); box-shadow: none; }
:root[data-theme="dark"] :is(.hsearch, .home-search):focus-within { outline: 2px solid var(--focus); box-shadow: none; }
:root[data-theme="dark"] :is(.modal, .jd + .modal-actions, .sheet-foot, .in-sheet .pfoot) { background-color: var(--sheet-bg); }
:root[data-theme="dark"] :is(.palette, .hsuggest, .dd-menu, .toast) { background-color: var(--popover-bg); }
:root[data-theme="dark"] .home-quick .home-chip:not([aria-pressed="true"]) { background: var(--surface); border-color: var(--line); }
:root[data-theme="dark"] .mode-badge:not(.ops) { color: var(--on-blue); }
:root[data-theme="dark"] .prio-긴급 { background: var(--warn-soft); color: var(--warn); }
:root[data-theme="dark"] .home-install-diagram { color-scheme: dark; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .home-hero { background: var(--bg); }
  :root:not([data-theme="light"]) .home-hero::before { background: linear-gradient(150deg, var(--surface), var(--bg)); }
  :root:not([data-theme="light"]) :is(.hsearch, .home-search) { border: 1px solid var(--line-strong); box-shadow: none; }
  :root:not([data-theme="light"]) :is(.hsearch, .home-search):focus-within { outline: 2px solid var(--focus); box-shadow: none; }
  :root:not([data-theme="light"]) :is(.modal, .jd + .modal-actions, .sheet-foot, .in-sheet .pfoot) { background-color: var(--sheet-bg); }
  :root:not([data-theme="light"]) :is(.palette, .hsuggest, .dd-menu, .toast) { background-color: var(--popover-bg); }
  :root:not([data-theme="light"]) .home-quick .home-chip:not([aria-pressed="true"]) { background: var(--surface); border-color: var(--line); }
  :root:not([data-theme="light"]) .mode-badge:not(.ops) { color: var(--on-blue); }
  :root:not([data-theme="light"]) .prio-긴급 { background: var(--warn-soft); color: var(--warn); }
  :root:not([data-theme="light"]) .home-install-diagram { color-scheme: dark; }
}

/* 모바일에서는 버튼 면 위아래의 투명한 여백도 같은 컨트롤에 속한다. */
.study-seminar-switch { display: none; }
@media (min-width: 768px) { .stage-btns > .work-choice-row { display: contents; } }
@media (max-width: 767px) {
  .btn { border-radius: var(--r-md); }
  :root :is(.btn-primary, .kakao-btn) { min-height: var(--btn-h-primary); }
  .kakao-btn, #kakao-login { height: 48px; }
  :root :is(.btn-ghost, .btn-danger.btn-sm, [data-app-filter-panel] > summary, [data-app-bulk-panel] > summary) {
    --face-h: var(--btn-h-secondary);
    font-size: 14px; font-weight: 500; padding-inline: var(--s3); border-radius: var(--r-md);
    width: fit-content; max-width: 100%; justify-self: start; align-self: center; flex: 0 1 auto;
  }
  :root :is(.home-quick .home-chip, .chip:is(button,a), .fchip, .job-sort button, .job-mark-chips button,
    .seg > :is(button,a), .in-sheet .ptab, .rsec-nav a, .qchip, .dd-btn, .resume-view-switch button,
    .work-choice-row .btn, .stage-tabs button, .study-seminar-switch a, .brow-actions .btn-sm,
    .entry-tools .icon-btn, .qitem-tools .icon-btn, .icon-btn, .save-btn, .pager button, #board-bookmark) {
    --face-h: var(--chip-h);
    font-size: var(--fs-sm); padding-inline: 10px; white-space: nowrap;
  }
  :root :is(.btn-ghost, .btn-danger.btn-sm, [data-app-filter-panel] > summary, [data-app-bulk-panel] > summary,
    .home-quick .home-chip, .chip:is(button,a), .fchip, .job-sort button, .job-mark-chips button,
    .seg > :is(button,a), .in-sheet .ptab, .rsec-nav a, .qchip, .dd-btn, .resume-view-switch button,
    .work-choice-row .btn, .stage-tabs button, .study-seminar-switch a, .brow-actions .btn-sm,
    .entry-tools .icon-btn, .qitem-tools .icon-btn, .icon-btn, .save-btn, .pager button, #board-bookmark) {
    --hit-pad: calc((var(--hit) - var(--face-h)) / 2);
    position: relative; height: auto; min-height: var(--face-h); min-width: var(--hit);
    margin-block: var(--hit-pad); padding-block: 0; line-height: 1.35;
    &::after {
      content: ""; position: absolute; inset-inline: 0; top: 50%;
      height: max(100%, var(--hit)); transform: translateY(-50%);
    }
  }
  :root :is(.icon-btn, .save-btn, .pager button) { padding-inline: 0; }
  .fchip .count { min-width: 20px; height: 20px; padding-inline: var(--s1); }
  .link-btn, .link-arrow, .link-inline:not(.stretch) { min-height: var(--hit); }
  .cchip, .rchip { min-height: var(--hit); display: inline-flex; align-items: center; }
  .cchip > span, .rchip > span { min-height: var(--chip-h); height: auto; padding: var(--s1) 10px; font-size: var(--fs-sm); }
  .job-mark-select {
    min-height: var(--hit); height: var(--hit); border-block: calc((var(--hit) - var(--chip-h)) / 2) solid transparent;
    border-inline: 0; background-clip: padding-box; width: 7.4em; font-weight: 500;
  }
  .job-mark-select[data-mark="unread"] { background-color: var(--surface); color: var(--text-2); }
  .dsearch .dsearch-mobile { width: fit-content; }
  .study-seminar-switch, .job-mark-chips, .job-sort, .home-quick-row dd,
  .event-filter-row, .work-choice-row, .stage-tabs {
    display: flex; min-width: 0; max-width: 100%; flex-wrap: nowrap; align-items: center;
    gap: var(--s2); overflow-x: auto; scrollbar-width: none;
  }
  :is(.job-mark-chips, .job-sort, .home-quick-row dd, .event-filter-row, .work-choice-row, .stage-tabs) > * { flex: none; }
  :is(.job-mark-chips, .job-sort, .home-quick-row dd, .event-filter-row, .work-choice-row, .stage-tabs)::-webkit-scrollbar { display: none; }
  .job-mark-chips { width: 100%; }
  .job-mark-chips strong { white-space: nowrap; }
  .home-quick-grid { grid-template-columns: minmax(0,1fr); }
  .home-quick-row dt { align-self: center; padding-top: 0; }
  .study-seminar-switch a { display: inline-flex; align-items: center; border-radius: var(--r-pill); background: var(--surface); color: var(--text-2); }
  .study-seminar-switch a[aria-current="page"] { color: var(--on-blue); background: var(--blue); }
  .tabbar [data-nav="studies"] { white-space: nowrap; letter-spacing: -.03em; }
}
@media (max-width: 767px) {
  .jrow.trow .brow-actions { grid-column: 1 / -1; flex-wrap: wrap; }
  :root .trow .brow-actions .btn, :root .stage-btns .work-choice-row .btn, :root .stage-btns.work-choice-row .btn { width: max-content; flex: none; }
  .stage-btns > .work-choice-row { flex: 1 1 100%; min-width: 0; margin: 0; }
  .home-more, .board-edit-nickname { min-width: var(--hit); justify-content: center; }
  #resume-public { position: relative; margin-block: 4px; }
  #resume-public::after { content: ""; position: absolute; inset-inline: 0; top: 50%; height: var(--hit); transform: translateY(-50%); }
}
@media (max-width: 720px) {
  html:has(.tabbar:not([hidden])) { scroll-padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 767px) {
  .side-more, .brow-actions .link-btn, .check-inline, .cchip, .rchip { min-width: var(--hit); min-height: var(--hit); }
  .side-more, .brow-actions .link-btn { justify-content: center; }
  .bt-name .work-record-link { display: inline-flex; align-items: center; min-height: var(--hit); margin: 0; padding-block: 0; }
  #my-body .btn-primary[data-offer-accept] {
    position: relative; height: auto; min-height: 40px; margin-block: 2px;
  }
  #my-body .btn-primary[data-offer-accept]::after {
    content: ""; position: absolute; inset-inline: 0; top: 50%;
    height: max(100%, var(--hit)); transform: translateY(-50%);
  }
  .modal-actions .btn-primary, [data-offer-accept] { min-height: var(--btn-h-primary); flex-shrink: 0; }
  /* 시트가 나타나는 동안에도 하단 행동을 화면 안에서 누를 수 있게 한다. */
  #drawer[open], .modal[open]:has(#study-form) { animation-name: fade; }

}

/* 구분자 라벨의 투명 여백도 연결된 학점 입력란으로 포커스를 보낸다. */
@media (max-width: 767px) {
  .gpa > label[for].gpa-hit { position: relative; cursor: text; }
  .gpa > label[for].gpa-hit::before {
    content: ""; position: absolute; inset-inline: -6px; top: 50%;
    height: var(--hit); transform: translateY(-50%);
  }
}

/* 모바일의 같은 묶음·그룹·섹션 간격 */
@media (max-width: 767px) {
  :root .btn-primary, .jd + .modal-actions .btn-primary, .kakao-btn {
    font-size: var(--fs-action); font-weight: 600;
  }
  :root .btn-ghost { font-size: var(--fs-secondary-action); font-weight: 500; }
  :root :is(.fchip, .home-chip, .seg > button, .seg > a, .qchip, .job-mark-chips button,
    .job-mark-select, .study-seminar-switch a, .work-choice-row .btn, .stage-tabs button,
    .brow-actions .btn, .resume-view-switch button, .in-sheet .ptab) { font-size: var(--fs-control); font-weight: 500; }
  :is(.btn, .fchip, .icon-btn, .save-btn, .dd-btn) .ico-svg { width: 16px; height: 16px; }
  .home-hero-in { padding-block: var(--gap-group) var(--s2); }
  .home-hero-main h1 { margin-bottom: var(--s1); }
  .home-hero-main .home-en, .page-head { margin-bottom: var(--gap-group); }

  .home-quick { margin-top: var(--gap-group); }

  .home-quick-title { margin-bottom: var(--s1); }
  .home-quick-grid, .home-quick-row, .home-jobs { gap: var(--gap-related); }
  .home-quick-row { align-items: flex-start; }
  .home-quick-row dt { flex: 0 0 4.6em; width: 4.6em; white-space: nowrap; font-size: 12px; line-height: 1.3; align-self: flex-start; padding-top: 12px; }
  .home-quick-row dd { flex-wrap: wrap; row-gap: 0; overflow: visible; }
  .home-body { padding-top: var(--gap-group); gap: var(--gap-section); }
  .home-cols { gap: var(--gap-section); }
  .home-sec-head, .sec-head { margin-bottom: var(--gap-related); align-items: center; gap: var(--gap-related); }
  .home-job, .home-card, .kpi { padding: var(--card-inset); gap: var(--gap-related); }
  .home-job.firm, .home-job.firm:hover { border-color: var(--line); }
  .home-job .home-job-title { min-height: 0; }
  .home-job-foot { margin-top: 0; }
  .form, .prefs-form { gap: var(--gap-group); }
  .field { gap: var(--gap-related); }
  .form.comment-form { padding: var(--card-inset); }
  .modal-body { padding-inline: var(--gutter); }
  .sheet .modal-body { gap: var(--gap-group); }
  .modal-bar { padding-inline: var(--gutter); }
  .jd .jd-trainee-desktop { display: none; }
  .jd-mark { padding-block: 0; gap: var(--gap-related); }
  .modal-body:has(> .jd) { gap: var(--gap-group); }
  .page-head-with-action { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: var(--s1) var(--gap-related); align-items: center; }
  .page-head-with-action > div:first-child { display: contents; }
  .page-head-with-action h1 { grid-column: 1; grid-row: 1; margin: 0; }
  .page-head-with-action > :is(a,button) { grid-column: 2; grid-row: 1; }
  .page-head-with-action .page-sub { grid-column: 1 / -1; margin: 0; }
  .dsearch + .results { margin-top: var(--gap-group); }
  #results-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--gap-related); padding-block: var(--s1); }
  #results-title { flex: 1; min-width: 0; }
  #results-head #open-sheet { width: fit-content; }
  .jobs-list-tools { width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--gap-related); }
  .jobs-list-tools select { min-height: var(--hit); max-width: 100%; border: 0; background: var(--bg); color: var(--text); font: inherit; font-size: var(--fs-control); font-weight: 500; }
  .job-mark-bar { padding-block: var(--s1); }
  #job-list .jrow { padding: var(--s3) 0; column-gap: var(--gap-related); }
  #job-list .jrow[data-mark] { grid-template-areas: "main save side" "main mark mark"; grid-template-columns: minmax(0,1fr) auto auto; row-gap: 0; align-content: start; }
  #job-list .jrow-side { min-width: 0; align-self: start; }
  #job-list .save-btn { margin-inline: 0; }
  #job-list .jrow-cond { align-items: baseline; column-gap: var(--s1); }
  #job-list .jrow-cond > span + span::before { margin-inline: 0 var(--s1); }
  #job-list .jrow-cond .cond-src { margin-inline-start: 0; }
}

@media (min-width: 768px) { .page-head > .work-head-actions { display: contents; } }
@media (max-width: 767px) {
  .work-head-actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--gap-related); }
  .jobs-list-tools .fselect { border: 0; background: transparent; }
  .jobs-list-tools .fselect select {
    appearance: none; -webkit-appearance: none; height: var(--hit);
    padding-inline: var(--s2) var(--s6); border-radius: var(--r-md);
    background: var(--surface); background-clip: padding-box;
    border-block: 6px solid transparent; font-size: var(--fs-control); font-weight: 500;
  }
  .jobs-list-tools .fselect:focus-within { outline: 2px solid var(--focus); outline-offset: -2px; }
}
@media (max-width: 767px) {
  .page-head > .work-head-actions { margin-inline-start: auto; justify-content: flex-end; }
  .seg.stage-tabs { margin-inline: 0; padding: 0; }
  .inq-table tbody tr {
    display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: baseline;
    gap: var(--s1) var(--gap-related); padding: var(--s3) 0;
  }
  .inq-table tbody td { min-width: 0; padding: 0; overflow-wrap: anywhere; }
  .inq-table tbody td:first-child { position: static; }
  .inq-table tbody td:last-child { grid-area: 1 / 2; }
}
@media (max-width: 767px) {
  fieldset.wiz-fs, .wiz-fs fieldset { min-inline-size: 0; }
}

/* 모바일 채용 탐색 */
.jd-summary { display: none; }
@media (max-width: 767px) {
  :root { --font: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif; }
  .logo .logo-word, .logo-on, .home-hero h1, .home-en { font-family: var(--font); }
  .home > #home-search {
    position: sticky; top: env(safe-area-inset-top, 0px); z-index: 32;
    margin: 0; max-width: none; min-height: var(--hit); padding: 0 var(--gutter);
    border: 0; border-radius: 0;
    background: var(--bg); box-shadow: inset 0 -1px var(--line);
  }
  .home > #home-search input { min-height: var(--hit); padding-block: 0; }
  .home > #home-search .btn { min-width: var(--hit); padding-inline: var(--s2); color: var(--blue-text); background: transparent; }
  .home-shortcuts { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); padding: var(--s3) var(--gutter); gap: var(--s1); }
  .home-shortcuts > * { display: grid; place-items: center; align-content: start; gap: var(--s1); min-height: var(--hit); min-width: 0; font-size: var(--fs-xs); font-weight: 500; text-align: center; }
  .shortcut-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface); color: var(--blue-text); }
  .shortcut-icon .ico-svg { width: 18px; height: 18px; }
  .home-shortcuts { position: relative; z-index: 1; }
  .home-hero::before { top: -128px; -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.35) 0, #000 30%, #000 50%, rgba(0,0,0,.6) 72%, transparent 100%); mask-image: linear-gradient(to bottom, rgba(0,0,0,.35) 0, #000 30%, #000 50%, rgba(0,0,0,.6) 72%, transparent 100%); }
  .home > #home-search { position: sticky; z-index: 32; background: transparent; box-shadow: none; transition: background-color .15s ease, box-shadow .15s ease; }
  body.home-scrolled .home > #home-search { background: var(--bg); box-shadow: inset 0 -1px var(--line); }
  .home-hero-in { padding-block: var(--s2); }
  .home-hero-main .home-en { margin-bottom: var(--s2); }
  .home .home-news-sk, .sk-screen .sk { animation: none; background: var(--surface-2); }
  .jobs-quick-filters { display: flex; align-items: center; gap: var(--s2); overflow-x: auto; scrollbar-width: none; }
  .jobs-quick-filters::-webkit-scrollbar { display: none; }
  .jobs-quick-filters > * { flex: none; }
  .jobs-list-tools { justify-content: flex-end; }
  .jobs-list-tools .job-mark-hide { margin-inline-start: 0; }
  #job-list .jrow[data-mark] { grid-template-areas: "main side save" "main mark mark"; }
  #job-list .jrow-title { font-size: 16px; line-height: 1.4; }
  #job-list .jrow[data-mark="unread"] .jrow-title { font-weight: 600; }
  #job-list .jrow-title > button { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  #job-list .jrow-cond { gap: var(--s1); }
  #job-list .jrow-cond > span { background: var(--surface); color: var(--text-2); font-size: var(--fs-xs); border-radius: var(--r-sm); margin: 0; padding: 2px var(--s1); }
  #job-list .jrow-cond > span + span::before { display: none; }
  .jd-summary { display: block; color: var(--text-2); font-size: var(--fs-sm); }
  .jd-hero { border: 0; padding: 0; }
  .jd-hero > div + div { display: none; }
  .jd-hero .jd-dday { font-size: var(--fs-body); line-height: 1.55; background: var(--surface); color: var(--text); padding: 0 var(--s2); border-radius: var(--r-sm); }
  .jd-hero.urgent .jd-dday { background: var(--warn-soft); color: var(--warn); }
  .jd + .modal-actions:has(.btn:not(.jd-save, .jd-secondary-desktop)) .jd-save {
    order: -1; flex: 0 0 var(--hit); width: var(--hit); min-height: var(--hit); margin-block: 0;
  }
  .jd + .modal-actions:has(.btn:not(.jd-save, .jd-secondary-desktop)) .jd-save-text {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  #main:empty, #main:has(> .sk-screen) { min-height: calc(100svh - var(--hdr-h)); }
  .modal[open]:has(.jd) { animation-name: fade; }
  .jrow .job-mark-select { overflow: clip; }
  .hdr .auth-btn.is-user { border-radius: 0; }
  .hdr .mode-enter { position: relative; }
  .hdr .mode-enter::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: var(--hit); height: var(--hit);
    transform: translate(-50%, -50%);
  }
  .fbar-wrap { background: var(--bg); }
  .fbar-wrap, .modal::backdrop, .palette::backdrop {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* 모바일 홈: 바로 아래 검색창이 있으므로 헤더 돋보기는 숨긴다 */
@media (max-width: 767px) {
  body:has(.home > #home-search) #search-toggle { display: none; }
}

/* 모바일 홈 넘겨 보는 배너 */
.home-banners { display: none; }
@media (max-width: 767px) {
  .home-banners { display: block; position: relative; z-index: 1; padding: 0 0 var(--s2); }
  .hbn-track { display: flex; gap: var(--s2); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--gutter); scroll-padding-inline: var(--gutter); margin: 0; list-style: none; }
  .hbn-track::-webkit-scrollbar { display: none; }
  .hbn-item { flex: 0 0 100%; scroll-snap-align: start; }
  .hbn-slide { display: flex; align-items: center; gap: var(--s2); width: 100%; min-height: 64px; padding: var(--s3) var(--s4); border-radius: var(--r-lg, 14px); border: 0; text-align: left; font: inherit; color: inherit; text-decoration: none; cursor: pointer; }
  .hbn-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
  .hbn-text strong { font-size: var(--fs-body, 15px); font-weight: 700; line-height: 1.35; }
  .hbn-text span { font-size: var(--fs-xs, 12px); line-height: 1.4; opacity: .88; }
  .hbn-slide .ico-svg { width: 18px; height: 18px; flex: none; }
  .hbn-ad { font-size: 11px; padding: 2px 6px; border-radius: 4px; background: rgba(255,255,255,.2); flex: none; }
  .hbn-blue .hbn-slide { background: #2563eb; color: #fff; }
  .hbn-navy .hbn-slide { background: #0b2a5b; color: #fff; }
  .hbn-plain .hbn-slide { background: var(--card, #fff); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
  .hbn-plain .hbn-text span { color: var(--text-2); opacity: 1; }
  .hbn-slide:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
  .hbn-dots { display: flex; justify-content: center; gap: 4px; padding-top: var(--s2); }
  .hbn-dots i { width: 5px; height: 5px; border-radius: 3px; background: var(--line-2, #c4cfdf); transition: width .2s ease; }
  .hbn-dots i.on { width: 14px; background: var(--blue); }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) { .hbn-dots i { transition: none; } }
@media (max-width: 767px) {
  .home-hero:has(#home-title.sr-only) .home-hero-in { padding-block: 0; }
}

/* 모바일 홈 배경: 히어로가 아니라 홈 맨 위에 고정해, 위에 무엇이 끼어도 검색줄부터 이어지게 한다 */
@media (max-width: 767px) {
  .home { position: relative; isolation: isolate; }
  .home::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 560px; z-index: -1; pointer-events: none;
    background:
      radial-gradient(600px 460px at 80% 18%, rgba(147,197,253,.7), transparent 70%),
      radial-gradient(520px 420px at 58% 70%, rgba(196,181,253,.4), transparent 70%),
      radial-gradient(400px 360px at 98% 62%, rgba(147,197,253,.4), transparent 70%),
      radial-gradient(440px 380px at -6% 28%, rgba(191,219,254,.45), transparent 70%),
      #f5f8ff;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 50%, rgba(0,0,0,.6) 75%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 0%, #000 50%, rgba(0,0,0,.6) 75%, transparent 100%);
  }
  :root[data-theme="dark"] .home::before { background: linear-gradient(150deg, var(--surface), var(--bg)); }
  .home .home-hero { background: transparent; }
  .home .home-hero::before { content: none; }
}
@media (max-width: 767px) and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .home::before { background: linear-gradient(150deg, var(--surface), var(--bg)); }
}

/* 알림 탭: 홈 화면에 추가 안내 */
.install-card { margin-bottom: var(--s3); display: grid; gap: var(--s2); }
.install-card h2 { font-size: var(--fs-body, 15px); font-weight: 700; margin: 0; }
.install-card p { margin: 0; font-size: var(--fs-sm, 13px); }
.install-card ol { margin: 0; padding-left: 1.2em; display: grid; gap: 2px; font-size: var(--fs-sm, 13px); color: var(--text-2); }
.install-card .btn { justify-self: start; }
.install-card [hidden] { display: none !important; }
.install-card ol { list-style: decimal; }
.install-card ol li { display: list-item; }

/* 모바일 스터디·세미나·게시판 목록 */
@media (max-width: 767px) {
  .shell-main:has(> #study-results) > .page-head .page-sub,
  .board > .page-head .page-sub,
  #study-results .empty :is(.empty-mark, p, [data-new-study]),
  .board .notice-row > .badge,
  .board-bottom:has(.pager > :first-child:disabled):has(.pager > :last-child:disabled),
  .board-bottom > .small { display: none; }

  /* 활성 탭에 제목이 보이므로 같은 단독 제목은 읽기 순서에만 둔다. */
  .wrap > .page-head:has(> h1:only-child):has(+ .study-seminar-switch) {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  .board > .page-head, .page-head:has(+ .study-seminar-switch) {
    margin-bottom: var(--s2);
  }
  .board .notice-row {
    min-height: var(--hit); padding: 0; margin: 0;
    background: transparent; border: 0; color: var(--text-2); font-size: var(--fs-sm);
  }
  .board .board-search .btn { background: var(--surface); color: var(--text); }
  .study-seminar-switch a {
    min-height: var(--hit); color: var(--text-2); background: transparent; border-radius: 0;
  }
  .study-seminar-switch a[aria-current="page"] {
    color: var(--text); background: transparent; box-shadow: inset 0 -2px var(--blue-text);
  }
  .event-filter-row + .event-grid { gap: 0; }
  .event-filter-row + .event-grid .event-card {
    height: auto; padding: var(--s3) 0; gap: var(--s1);
    border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent;
  }
}

/* 모바일: 대형 법인 카드도 다른 카드와 같은 흰 바탕(법인 색 그라데이션 없음) */
@media (max-width: 767px) {
  .home-job.firm, .home-job.firm:hover { background: var(--card); border-color: var(--line); }
  .jrow.firm, .jrow.firm:hover { background: var(--card); }
}

/* 빅4 법인 색: 소스 이름(samil·samjong·anjin·hanyoung)에 색을 연결하고, 법인명 앞 작은 점으로만 표시한다 */
.firm-samil { --firm: 208, 74, 2; }
.firm-samjong { --firm: 0, 51, 141; }
.firm-anjin { --firm: 38, 137, 13; }
.firm-hanyoung { --firm: 230, 184, 0; }
.firm .jrow-co, .firm .home-job-co { display: inline-flex; align-items: center; gap: 6px; }
.firm .jrow-co::before, .firm .home-job-co::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--firm)); flex: none; }

/* 모바일 채용 목록: 칩 줄과 공고 줄을 화면 양끝까지 */
@media (max-width: 767px) {
  .jobs-quick-filters, .job-mark-chips { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  #job-list { margin-inline: calc(-1 * var(--gutter)); }
  #job-list .jrow { padding-inline: var(--gutter); }
  .rhead { border-bottom-width: 1px; border-bottom-color: var(--line); }
}

/* 22차: 새로고침 아이콘 하나, 커뮤니티 머리 단순화 */
.reload-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-left: auto; border: 0; border-radius: 50%; background: transparent; color: var(--text-2); cursor: pointer; }
.reload-btn svg { width: 18px; height: 18px; }
.reload-btn:hover { background: var(--bg-2, rgba(0,0,0,.05)); color: var(--text); }
.reload-btn[aria-busy="true"] svg { animation: reload-spin .8s linear infinite; }
@keyframes reload-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .reload-btn[aria-busy="true"] svg { animation: none; } }
.list-caption { align-items: center; }
.list-caption strong { font-size: 15px; font-weight: 600; }
.list-caption b { font-size: 15px; }
@media (max-width: 767px) {
  .page-head h1 { font-size: 20px; }
  .page-head { margin-bottom: 12px; }
  .page-head .btn { min-height: 36px; padding-inline: 14px; font-size: 14px; }
  .rhead h2 { font-size: 15px; font-weight: 600; }
  .rhead h2 b { font-size: 15px; }
  .board-notice, .board-scope, .board-search-btn { display: none !important; }
  .seg.mobile-only { margin-bottom: 12px; }
  .board .toolbar { display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding-top: 12px; margin-bottom: 4px; }
  .board .board-search { display: flex; gap: 0; }
  .board .board-search-field { flex: 1; min-width: 0; }
  .board .board-search-field input { font-size: 15px; }
  .board .toolbar-right { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .board .list-caption { margin: 8px 0 0; }
  .board .plist { border-top: 1px solid var(--line); }
}

/* 커뮤니티 말머리도 스터디·세미나처럼 밑줄 탭 */
@media (max-width: 767px) {
  .seg.mobile-only { display: flex; gap: 20px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; background: transparent; padding: 0; border: 0; border-radius: 0; margin-bottom: 4px; }
  .seg.mobile-only::-webkit-scrollbar { display: none; }
  .seg.mobile-only button { flex: none; min-height: var(--hit); padding: 0 2px; gap: 4px; border: 0; border-radius: 0; background: transparent; color: var(--text-2); font-size: 15px; font-weight: 500; box-shadow: none; }
  .seg.mobile-only button[aria-pressed="true"] { color: var(--text); font-weight: 600; background: transparent; box-shadow: inset 0 -2px var(--blue-text); }
  .seg.mobile-only button span { min-width: 0; padding: 0; background: transparent; color: inherit; font-size: 13px; font-weight: 500; opacity: .7; }
  .seg.mobile-only button[aria-pressed="true"] span { color: var(--blue-text); opacity: 1; }
}

/* 커뮤니티: 정렬은 새로고침 옆 글자 버튼 */
.list-caption .caption-tools { display: inline-flex; align-items: center; gap: 2px; margin-left: auto; }
.caption-tools .reload-btn { margin-left: 0; }
.dd-plain .dd-btn { min-height: 36px; padding: 0 6px; border: 0; background: transparent; box-shadow: none; color: var(--text-2); font-size: 14px; }
.dd-plain .dd-label { display: none; }
.dd-plain .dd-btn b { font-weight: 500; }
.dd-plain .dd-menu { left: auto; right: 0; }
@media (max-width: 767px) {
  .seg.mobile-only { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
}

/* 채용공고 모바일: 개수 + 상태·정렬 글자 선택 한 줄 */
.plain-select { position: relative; display: inline-flex; align-items: center; }
.plain-select select { field-sizing: content; appearance: none; -webkit-appearance: none; border: 0; background: transparent; min-height: 36px; padding: 0 20px 0 6px; font: inherit; font-size: 14px; color: var(--text-2); cursor: pointer; }
.plain-select svg { position: absolute; right: 2px; width: 14px; height: 14px; color: var(--text-3, var(--text-2)); pointer-events: none; }
.plain-select select:focus-visible { outline: 2px solid var(--blue-text); border-radius: 6px; }
@media (max-width: 767px) {
  .jobs-caption { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0 6px; }
  .jobs-caption strong { font-size: 15px; font-weight: 600; color: var(--text); }
  .jobs-caption b { color: var(--blue-text); }
  .jobs-caption-tools { display: inline-flex; align-items: center; gap: 4px; }
  #results-head.rhead { display: block; border-bottom: 1px solid var(--line); padding-bottom: 0; margin-bottom: 0; }
  .dsearch .sec-head { margin-bottom: 8px; }
}

/* 채용공고: 조건 설정 버튼 하나 */
.cond-btn { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 8px; border: 0; background: transparent; color: var(--text-2); font: inherit; font-size: 14px; cursor: pointer; }
.cond-btn svg { width: 16px; height: 16px; }
.cond-btn.on { color: var(--blue-text); font-weight: 600; }
.cond-n { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--blue); color: var(--on-blue); font-size: 12px; font-weight: 600; }
.pnote { margin: 0 0 8px; font-size: 13px; color: var(--text-2); }
@media (max-width: 767px) { .jobs-caption-tools { gap: 0; } .jobs-caption strong { white-space: nowrap; } }
/* 채용공고 모바일: 제목과 개수 줄 붙이기 */
@media (max-width: 767px) {
  .dsearch .sec-head { margin-bottom: 0; }
  .dsearch + .results { margin-top: 2px; }
  #results-head.rhead { padding-top: 0; }
  .jobs-caption { padding: 0 0 4px; }
}

/* 공고 목록 상태 표시: 북마크 아래 작은 글자 (지원 예정·완료·안 함만) */
.jrow { position: relative; }
.jrow > .jmark { position: absolute; top: auto; bottom: 18px; right: 0; width: 64px; text-align: center; font-size: 11px; font-weight: 600; line-height: 1.2; pointer-events: none; }
#job-list .jrow > .jmark { right: calc(var(--gutter) - 10px); }
.jmark-planned { color: var(--caution); }
.jmark-applied { color: var(--success-text, rgb(var(--green-rgb))); }
.jmark-skipped { color: var(--text-2); font-weight: 500 !important; }

/* 커뮤니티 글 목록: 분류는 아래 회색 글자로, 제목이 맨 위 */
.prow-cat, .prow-cat-dot { display: none; }
@media (max-width: 767px) {
  .prow { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title title" "meta cmt"; gap: 6px 12px; }
  .prow > .badge { display: none; }
  .prow-cat, .prow-meta i.prow-cat-dot { display: inline-block; }
  .prow-meta { min-width: 0; }
  .prow-meta .reaction-count { margin-left: auto; }
}

/* 게시글 댓글란: 한 줄 입력 + 등록 */
.comments h2 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.comment-form.simple { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px; margin-top: 12px; padding: 0; background: none; border: 0; }
.comment-form.simple textarea { min-height: 44px; max-height: 160px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); font: inherit; font-size: 15px; line-height: 1.4; resize: none; overflow-y: auto; }
.comment-form.simple textarea:focus { outline: none; border-color: var(--blue-text); }
.comment-form.simple .btn { min-height: 44px; border-radius: 22px; padding-inline: 16px; }
.comment-form.simple .form-error, .comment-form.simple .comment-by { grid-column: 1 / -1; margin: 0; }
.comment-form.simple .comment-by { font-size: 12px; color: var(--text-2); padding-left: 14px; }
.comment-login { display: block; width: 100%; min-height: 44px; margin-top: 12px; padding: 0 14px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); color: var(--text-2); font: inherit; font-size: 15px; text-align: left; cursor: pointer; }
.comment-login:hover { border-color: var(--line-strong); }
@media (max-width: 767px) {
  .article-actions { gap: 6px; }
  .article-actions .btn { min-height: 36px; padding-inline: 12px; font-size: 13px; }
  .article-util { border: 0; padding-top: 4px; justify-content: flex-end; }
}
@media (max-width: 767px) {
  .article-util { margin: 0; min-height: 0; }
  .article + .comments, article + .comments { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
  .comments + .adjacent + .end-actions { display: none; }
}

/* 이전 글·다음 글: 상자 없이 두 줄 목록 */
.adjacent { display: block; margin-top: 24px; border-top: 1px solid var(--line); }
.adjacent > span:empty { display: none; }
.adjacent > a, .adjacent > a.next { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 12px; min-height: 48px; padding: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; font-size: 14px; font-weight: 500; color: var(--text); text-align: left; }
.adjacent > a > span.adj-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adjacent > a small { flex: none; width: 48px; margin: 0; font-size: 13px; color: var(--text-2); }
.adjacent > a:hover, .adjacent > a:focus-visible { background: none; border-color: var(--line); color: var(--blue-text); }

/* 게시글: 스크랩은 작성자 줄 오른쪽 아이콘 */
.article-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.icon-toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-right: -8px; border: 0; border-radius: 50%; background: transparent; color: var(--text-2); cursor: pointer; flex: none; }
.icon-toggle svg { width: 20px; height: 20px; }
.icon-toggle:hover { background: var(--surface); }
.icon-toggle.on { color: var(--blue-text); }
/* 게시글: 작성자 줄과 본문 사이 좁히기 */
.article > header { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.article .article-body { padding-top: 16px; }
.article-meta-row .icon-toggle { margin-block: -4px; }
/* 게시글: 좋아요 왼쪽, 신고 오른쪽 한 줄 */
.article .article-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 8px 0 0; padding: 0; }
.article .report-btn { color: var(--text-2); font-size: 13px; text-decoration: none; }
.article .article-util:not(:has(a, button)) { display: none; }
@media (max-width: 767px) { .article + .comments, article + .comments { margin-top: 16px; } }
.article .article-actions { display: grid; grid-template-columns: 1fr auto 1fr; }
.article .article-actions > #board-helpful { grid-column: 2; }
.article .article-actions > .report-btn { grid-column: 3; justify-self: end; }
/* 커뮤니티 목록: 촘촘하게 */
@media (max-width: 767px) {
  .board .prow { padding: 11px 0; gap: 3px 12px; }
  .board .prow-title { font-size: 15px; line-height: 1.35; }
  .board .prow-meta, .board .prow-cmt { font-size: 12px; gap: 6px; }
  .board .prow-cmt .ico-svg, .board .prow-meta .ico-svg { width: 14px; height: 14px; }
  .board .prow:hover .prow-title { text-decoration: none; }
}

/* 면접스터디 목록: 제목 + 한 줄 정보 + 오른쪽 인원 */
.srows .srow { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: none; align-items: center; gap: 4px 12px; padding: 12px 0; background: none; }
.srows .srow .srow-main { min-width: 0; grid-area: auto; grid-column: 1; text-align: left; }
.srows .srow .srow-n { grid-area: auto; grid-column: 2; }
.srows .srow .srow-title { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.35; }
.srow-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; margin: 3px 0 0; font-size: 12px; color: var(--text-2); }
.srow-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }
.srow-n { font-size: 13px; color: var(--text-2); white-space: nowrap; }
.srow-n b { color: var(--blue-text); font-size: 15px; font-weight: 700; }
.srow-n.is-applied { color: var(--blue-text); font-weight: 600; }
.srows .srow.is-full .srow-title, .srows .srow.is-full .srow-meta { color: var(--text-2); }
.srows .srow:hover .srow-title button { text-decoration: none; }
.srows { border-top: 1px solid var(--line); }
.rhead:has(#study-reload) { align-items: center; border-bottom: 0; }
.rhead:has(#study-reload) h2 { font-size: 15px; font-weight: 600; }
.rhead:has(#study-reload) h2 b { color: var(--blue-text); }
/* 목록 제목 굵기 낮추기 */
.board .prow-title, .board .prow-title a, .srows .srow .srow-title, .srows .srow .srow-title button { font-weight: 500; }
.board .prow-meta .author-name { font-weight: 500; }
.list-caption strong, .rhead:has(#study-reload) h2 { font-weight: 500; }
/* 채용공고 모바일: 하단 메뉴에 '채용'이 있으니 큰 제목은 화면 읽기용으로만 */
@media (max-width: 767px) {
  .dsearch .sec-head { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .dsearch + .results { margin-top: 0; }
}
/* 면접스터디 모바일: 큰 제목 숨기고, 모집글 쓰기는 개수 줄로 */
.rhead .rhead-new { display: none; }
@media (max-width: 767px) {
  .page-head:has(+ .study-seminar-switch):has([data-new-study]) { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .page-head:has(+ .study-seminar-switch):has([data-new-study]) [data-new-study] { display: none; }
  .rhead .rhead-new { margin-left: auto; display: inline-flex; flex-direction: row; white-space: nowrap; width: auto; align-items: center; gap: 4px; min-height: 36px; color: var(--blue-text); font-size: 14px; font-weight: 600; text-decoration: none; }
  .rhead .rhead-new svg { width: 16px; height: 16px; }
  .rhead .rhead-new + .reload-btn { margin-left: 0; }
}
/* 스터디·세미나 탭: 두 화면에서 같은 위치, 위 여백 없앰 */
@media (max-width: 767px) {
  .wrap:has(.study-seminar-switch) { padding-top: 0; }
  .study-seminar-switch { margin: 4px 0 0; }
  .study-seminar-switch + .seg.mobile-only { margin-top: 2px; }
}
/* 모바일: 상단 돋보기는 모든 화면에서 숨김 (검색은 홈 검색창·각 화면 검색) */
@media (max-width: 767px) { #search-toggle { display: none !important; } }
