/* 첫 화면 개편(2026-11-25, 홍보 세션 시안 v24 → 운영). home2.js가 채운다. DESIGN.md: 무채색 글자·초록 한 가지·상자보다 선. */
.home .h2-wrap { max-width: 1100px; margin: 0 auto; }
.home .h2-line { border: 0; border-top: 1px solid var(--line-strong); max-width: 1100px; margin: 72px auto 0; height: 0; background: none; }
.home .h2-sec { padding-top: 72px; }
.home .h2-sec[hidden] { display: none; }
.home .h2-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.home .h2-ttl { display: flex; align-items: center; gap: 12px; min-width: 0; }
.home .h2-head h2 { font-size: 20px; font-weight: 600; color: var(--text); margin: 0; }
.home .h2-sub { font-size: 12.5px; color: var(--muted); margin: 6px 0 28px; }
.home .h2-sido { font: inherit; font-size: 14px; font-weight: 500; color: var(--text); background: var(--card); border: 1px solid var(--line-strong); border-radius: 8px; height: 34px; padding: 0 30px 0 12px;
  appearance: none; -webkit-appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--sub) 50%), linear-gradient(135deg, var(--sub) 50%, transparent 50%);
  background-position: calc(100% - 15px) 15px, calc(100% - 10px) 15px; background-size: 5px 5px; background-repeat: no-repeat; }
.home .h2-tabs { display: flex; gap: 4px; padding: 3px; border-radius: 10px; background: var(--chip); height: 34px; box-sizing: border-box; }
.home .h2-tabs button { font: inherit; font-size: 13.5px; font-weight: 500; color: var(--sub); background: none; border: 0; border-radius: 8px; padding: 0 14px; cursor: pointer; }
.home .h2-tabs button.on { background: var(--card); color: var(--text); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.home .h2-two { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; }
.home .h2-k { font-size: 13.5px; color: var(--sub); margin: 0 0 4px; }
.home .h2-v { font-size: 30px; font-weight: 600; color: var(--text); margin: 0 0 14px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.home .h2-v small { font-size: 15px; font-weight: 500; color: var(--sub); margin-left: 2px; }
.home .h2-v em { font-style: normal; font-size: 14px; font-weight: 500; color: var(--sub); margin-left: 8px; }
.home .h2-v.sm { font-size: 22px; }
.home .h2-src { font-size: 12px; color: var(--muted); margin: 6px 0 0; }
.home .h2-k2 { margin-top: 32px; }
.home .h2-empty { font-size: 13.5px; color: var(--muted); padding: 24px 0; }
/* 막대 */
.home .h2-bars { display: block; width: 100%; height: 96px; overflow: visible; }
.home .h2-bars path { fill: var(--accent); }
.home .h2-bars .wk path { fill: color-mix(in srgb, var(--accent) 35%, var(--card)); }
.home .h2-bars g:hover path { fill: var(--accent-ink); }
.home .h2-bars line { stroke: var(--line-strong); stroke-width: 1; }
.home .h2-axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 6px; font-variant-numeric: tabular-nums; }
.home .h2-stack { display: flex; gap: 2px; height: 14px; margin-top: 6px; border-radius: 4px; overflow: hidden; }
.home .h2-legend { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.home .h2-legend li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--body); }
.home .h2-legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.home .h2-legend b { margin-left: auto; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.home .c0 { background: var(--accent); }
.home .c1 { background: color-mix(in srgb, var(--accent) 72%, var(--card)); }
.home .c2 { background: color-mix(in srgb, var(--accent) 50%, var(--card)); }
.home .c3 { background: color-mix(in srgb, var(--accent) 30%, var(--card)); }
.home .c4 { background: color-mix(in srgb, var(--muted) 40%, var(--card)); }
.h2-tip { position: fixed; z-index: 1000; pointer-events: none; background: var(--text); color: var(--card); font-size: 12.5px; font-weight: 500; padding: 6px 9px; border-radius: 8px; white-space: nowrap; transform: translate(-50%, calc(-100% - 10px)); display: none; }
/* 지역 칸 */
.home .h2-tm-g { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; grid-auto-rows: 58px; }
.home .h2-tm-g.sgg { grid-auto-rows: 52px; }
.home .h2-tm-t { position: relative; border-radius: 6px; padding: 6px 8px; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; text-decoration: none; font: inherit;
  border: 0; text-align: left; background: color-mix(in srgb, var(--accent) calc(var(--a) * 78%), var(--card)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--line) 70%, transparent); }
.home .h2-tm-t b { font-size: 12.5px; font-weight: 500; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home .h2-tm-t span { font-size: 13px; color: var(--sub); font-variant-numeric: tabular-nums; text-align: right; }
.home .h2-tm-t.dk b, .home .h2-tm-t.dk span { color: var(--on-accent); }
.home .h2-tm-t.etc { background: var(--chip); }
.home button.h2-tm-t, .home a.h2-tm-t { cursor: pointer; transition: background-color .15s; }
.home button.h2-tm-t:hover, .home a.h2-tm-t:hover, .home button.h2-tm-t:focus-visible, .home a.h2-tm-t:focus-visible { background: var(--accent-ink); outline: none; }
.home button.h2-tm-t:hover *, .home a.h2-tm-t:hover *, .home button.h2-tm-t:focus-visible *, .home a.h2-tm-t:focus-visible * { color: var(--on-accent); }
.home .h2-back { display: inline-block; margin: 0 0 8px; font: inherit; font-size: 13px; font-weight: 500; color: var(--sub); background: var(--card); border: 1px solid var(--line-strong); border-radius: 8px; height: 30px; padding: 0 10px; cursor: pointer; }
.home .h2-back:hover { color: var(--accent-ink); border-color: var(--accent); }
.home .h2-more { margin: 28px 0 0; text-align: right; }
.home .h2-more a { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; color: var(--accent-ink); text-decoration: none; }
.home .h2-more a:hover { text-decoration: underline; }
/* 마감 가까운 공고 */
.home .h2-blh { display: flex; justify-content: space-between; align-items: baseline; }
.home .h2-live { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.home .h2-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: h2blink 1.6s ease-in-out infinite; }
@keyframes h2blink { 50% { opacity: .25; } }
.home .h2-tick { --rh: 63px; list-style: none; margin: 6px 0 0; padding: 0; border-top: 1px solid var(--line-strong); height: calc(5 * var(--rh)); overflow: hidden; }
.home .h2-tick li { height: calc(var(--rh) - 1px); border-bottom: 1px solid var(--line); transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .6s; }
.home .h2-tick.roll li { transform: translateY(calc(-1 * var(--rh))); }
.home .h2-tick li.out { opacity: 0; }
.home .h2-tick a { display: grid; grid-template-columns: 1fr auto 92px; align-items: center; gap: 14px; height: 100%; padding: 0 4px; text-decoration: none; }
.home .h2-tick .bt { min-width: 0; }
.home .h2-tick .bt b { display: block; font-size: 14.5px; font-weight: 400; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home .h2-tick .bt small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home .h2-tick a:hover .bt b { color: var(--accent-ink); }
.home .h2-tick .ba { font-size: 14px; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.home .h2-tick .bc { font-size: 13px; color: var(--sub); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.home .h2-tick .bc.soon { color: var(--warn); font-weight: 600; }
.home .h2-tick .bc.done { color: var(--muted); }
.home .h2-tick li.none { display: flex; align-items: center; font-size: 13.5px; color: var(--muted); padding: 0 4px; }
/* 업무 도구 버튼 */
.home .h2-qth { font-size: 13.5px; color: var(--sub); margin: 36px 0 10px; }
.home .h2-qt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.home .h2-qt a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; min-width: 0; transition: box-shadow .2s, transform .2s; }
.home .h2-qt a:hover { box-shadow: inset 0 0 0 1.5px var(--accent); transform: translateY(-1px); }
.home .h2-qt a.x { display: none; }
.home .h2-qt.open a.x { display: flex; animation: h2in .35s ease both; }
@keyframes h2in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.home .h2-qi { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--accent-weak); display: flex; align-items: center; justify-content: center; }
.home .h2-qi svg { width: 20px; height: 20px; fill: none; stroke: var(--accent-ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.home .h2-qtt { min-width: 0; }
.home .h2-qtt b { display: block; font-size: 14.5px; font-weight: 500; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home .h2-qtt small { display: block; font-size: 12.5px; color: var(--sub); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home .h2-qtmore { display: flex; justify-content: center; align-items: center; gap: 18px; margin: 14px 0 0; }
.home .h2-qtg { display: inline-flex; align-items: center; gap: 4px; font: inherit; font-size: 13.5px; font-weight: 500; color: var(--sub); background: none; border: 0; padding: 6px 4px; cursor: pointer; }
.home .h2-qtg:hover { color: var(--accent-ink); }
.home .h2-qtg svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.home .h2-qtg[aria-expanded="true"] svg { transform: rotate(180deg); }
.home .h2-qtall { display: none; font-size: 13.5px; color: var(--accent-ink); text-decoration: none; font-weight: 500; }
.home .h2-qt.open ~ .h2-qtmore .h2-qtall { display: inline; }
/* 최근 본 회사: 가로 줄 */
.home .h2-rh { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.home .h2-rh h2 { font-size: 20px; font-weight: 600; color: var(--text); margin: 0; }
.home .h2-clear { font: inherit; font-size: 13px; color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer; }
.home .h2-clear:hover { color: var(--text); }
.home .h2-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.home .h2-card { position: relative; }
.home .h2-card a { display: grid; grid-template-columns: 190px 1fr; column-gap: 20px; align-items: center; padding: 16px 50px 12px 20px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: inherit; }
.home .h2-card a:hover { box-shadow: inset 0 0 0 1px var(--line-strong), 0 4px 14px color-mix(in srgb, var(--text) 6%, transparent); }
.home .h2-cn { font-size: 16px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home .h2-card a:hover .h2-cn { color: var(--accent-ink); }
.home .h2-cst { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 9px; color: var(--ok); background: color-mix(in srgb, var(--ok) 10%, var(--card)); }
.home .h2-cst.warn { color: var(--warn); background: color-mix(in srgb, var(--warn) 12%, var(--card)); }
.home .h2-cst.no { color: var(--danger); background: color-mix(in srgb, var(--danger) 10%, var(--card)); }
.home .h2-cm { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; line-height: 1.45; }
.home .h2-sg { grid-column: 2; grid-row: 1 / 3; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-self: stretch; }
.home .h2-sg li { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 3px; border-left: 1px solid var(--line); padding: 2px 0 2px 16px; min-width: 0; }
.home .h2-sg .k { font-size: 12.5px; color: var(--sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.home .h2-sg .v { display: flex; align-items: baseline; gap: 2px 6px; flex-wrap: wrap; }
.home .h2-sg .v b { font-size: 17px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.home .h2-sg .v em { font-style: normal; font-size: 12.5px; color: var(--sub); }
.home .h2-sg li.warn .v b { color: var(--warn); }
.home .h2-sg svg { width: 100%; max-width: 150px; height: 24px; margin-top: 4px; overflow: visible; }
.home .h2-sg .sp { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.home .h2-sg li.warn .sp { stroke: var(--warn); }
.home .h2-sg .bl { stroke: var(--line-strong); stroke-width: 1; vector-effect: non-scaling-stroke; }
.home .h2-sg rect { fill: color-mix(in srgb, var(--accent) 35%, var(--card)); }
.home .h2-sg rect.now { fill: var(--accent); }
.home .h2-sg rect.neg { fill: color-mix(in srgb, var(--warn) 70%, var(--card)); }
.home .h2-cb { grid-column: 1 / 3; font-size: 11.5px; color: var(--muted); margin: 12px 0 0; padding-top: 8px; border-top: 1px solid var(--line); }
.home .h2-x { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 8px; border: 0; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.home .h2-x:hover { background: var(--chip); color: var(--text); }
.home .h2-x svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.home .h2-card.gone { animation: h2gone .35s ease forwards; }
@keyframes h2gone { to { opacity: 0; transform: translateX(16px); } }
.home .h2-cards .h2-skel { height: 96px; border-radius: 14px; background: var(--chip); }
/* 토스 띠 */
.home .h2-toss { padding: 56px 0 72px; }
.home .h2-toss-in { display: flex; align-items: center; gap: 24px; }
.home .h2-tqr { flex: none; width: 76px; height: 76px; border-radius: 10px; background: #fff; padding: 6px; box-shadow: inset 0 0 0 1px var(--line); }
.home .h2-tt { flex: 1; min-width: 0; display: flex; align-items: center; gap: 18px; }
.home .h2-tb { flex: none; line-height: 0; } .home .h2-tb img { width: 112px; height: auto; }
.home .h2-tb-d { display: none; }
:root[data-theme="dark"] .home .h2-tb-l { display: none; } :root[data-theme="dark"] .home .h2-tb-d { display: inline; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .home .h2-tb-l { display: none; } :root:not([data-theme="light"]) .home .h2-tb-d { display: inline; } }
.home .h2-tt p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--body); word-break: keep-all; }
.home .h2-tt p b { display: block; font-size: 15.5px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.home .h2-tt i { font-style: normal; color: var(--muted); }
.home .h2-tgo { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 16px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--accent-ink); background: var(--accent-weak); text-decoration: none; }
.home .h2-tgo:hover { background: color-mix(in srgb, var(--accent) 16%, var(--card)); }
/* 처음 움직임 + 잔잔한 움직임 */
.home .h2-anim .h2-bars path { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 30ms); }
.home .h2-anim.in .h2-bars path { transform: scaleY(1); }
.home .h2-anim .h2-stack { clip-path: inset(0 100% 0 0); transition: clip-path 1s cubic-bezier(.2,.7,.2,1) .25s; }
.home .h2-anim.in .h2-stack { clip-path: inset(0 0 0 0); }
.home .h2-anim.live .h2-bars .last path { animation: h2breath 2.4s ease-in-out infinite; }
@keyframes h2breath { 50% { opacity: .55; } }
.home .h2-anim .h2-tm-t { opacity: 0; transition: opacity .4s; transition-delay: calc(var(--i, 0) * 20ms); }
.home .h2-anim.in .h2-tm-t { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .home .h2-anim .h2-bars path, .home .h2-anim .h2-stack, .home .h2-anim .h2-tm-t, .home .h2-tick li { transition: none !important; transform: none !important; clip-path: none !important; opacity: 1 !important; }
  .home .h2-live i, .home .h2-anim.live .h2-bars .last path { animation: none !important; }
}
@media (max-width: 900px) {
  .home .h2-card a { grid-template-columns: 1fr; padding: 16px 48px 16px 16px; }
  .home .h2-sg { grid-column: 1; grid-row: auto; grid-template-columns: 1fr; margin-top: 10px; }
  .home .h2-sg li { border-left: 0; border-top: 1px solid var(--line); padding: 10px 0; }
  .home .h2-cb { grid-column: 1; }
}
@media (max-width: 760px) {
  .home .h2-line { margin: 48px auto 0; }
  .home .h2-sec { padding-top: 48px; }
  .home .h2-two { grid-template-columns: 1fr; gap: 40px; }
  .home .h2-bars { height: 80px; }
  .home .h2-tick a { grid-template-columns: 1fr 80px; } .home .h2-tick .ba { display: none; }
  .home .h2-qt { grid-template-columns: 1fr; gap: 8px; }
  .home .h2-qt:not(.open) a:nth-child(n+2) { display: none; }
  .home .h2-qtt small { display: none; }
  .home .h2-toss { padding: 40px 0 48px; }
  .home .h2-tqr, .home .h2-tpc { display: none; }
  .home .h2-toss-in { flex-direction: column; align-items: stretch; gap: 14px; }
  .home .h2-tt { align-items: flex-start; gap: 12px; } .home .h2-tb img { width: 88px; }
  .home .h2-tgo { justify-content: center; height: 46px; }
}
.home .h2-recent[hidden] + .h2-tools .h2-qth { display: none; }
.home .h2-recent:not([hidden]) + .h2-tools { margin-top: 0; }
/* 휴대폰은 기존 기능 모음처럼 컬러 아이콘(2026-11-25 사용자) — 색은 app.css의 .ic-* 변수 */
.home .h2-qc { display: none; flex: none; width: 40px; height: 40px; border-radius: 12px; place-items: center; background: var(--ic-bg); color: var(--ic-c); }
.home .h2-qc svg { width: 26px; height: 26px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .home .h2-qc { background: color-mix(in srgb, var(--ic-c) 20%, var(--card)); } }
:root[data-theme="dark"] .home .h2-qc { background: color-mix(in srgb, var(--ic-c) 20%, var(--card)); }
@media (max-width: 760px) { .home .h2-qi { display: none; } .home .h2-qc { display: grid; } }
