/* 2026-10-22 고도화 페이지 보정(봇2 소유). template-next에서 마지막 로드. gp.css 토큰 재사용, 새 섹션(problems·value·targets·gov-support·admin-support·trust·bottom)만 */

/* 첫 화면 3번째 CTA「바로 상담하기」: 주·보조 버튼과 위계 구분(텍스트 링크형, 터치 44px+) */
.gp-btn--text { background: none; border-color: transparent; color: var(--gp-green) !important; padding: 0 4px; text-decoration: underline !important; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.gp-btn--text:hover { text-decoration-thickness: 2px; }

/* 2 고객 문제 — 내 상황 선택 카드(전체가 링크) */
.gp-problems { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 16px; }
.gp-problems > li { display: flex; }
.gp-problem {
  flex: 1; display: flex; flex-direction: column; gap: 10px; min-height: 44px;
  padding: 24px 22px 22px; background: var(--gp-white); border: 1px solid var(--gp-line); border-radius: var(--gp-radius);
  text-decoration: none !important; color: var(--gp-ink); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.gp-problem:hover { border-color: var(--gp-green); box-shadow: 0 14px 30px -24px rgba(20, 53, 42, .45); transform: translateY(-2px); }
.gp-problem:focus-visible { outline: 2px solid var(--gp-green); outline-offset: 3px; }
.gp-problem-no { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--gp-gold-ink); }
.gp-problem-t { font-size: 18px; line-height: 1.4; color: var(--gp-green); letter-spacing: -.02em; }
.gp-problem-d { font-size: 15px; line-height: 1.65; color: var(--gp-muted); flex: 1; }
.gp-problem-go { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--gp-line); font-size: 15px; font-weight: 600; color: var(--gp-green); }
.gp-problem-go::after { content: " →" / ""; }
@media (prefers-reduced-motion: reduce) { .gp-problem:hover { transform: none; } }

/* 3 핵심 가치 표: 첫 열 강조 */
.gp-table--value tbody th { font-size: 17px; }

/* targets: 지역 서비스업 별도 블록 + 업종 탭(기존 industries 기능 유지, 제목만 H3/H4로 한 단계 내림) */
.gp-local { margin-top: clamp(32px, 4vw, 48px); padding: 24px 28px; background: var(--gp-white); border: 1px solid var(--gp-line); border-left: 3px solid var(--gp-gold); border-radius: 0 var(--gp-radius) var(--gp-radius) 0; }
.gp-local h3 { font-size: clamp(1.125rem, 1rem + .4vw, 1.3rem); margin-bottom: 8px; }
.gp-local p { margin: 0; color: var(--gp-muted); max-width: 52em; }
.gp-ind { margin-top: clamp(56px, 7vw, 96px); }
.gp-ind-h, .gp-sub-h { font-size: clamp(1.375rem, 1rem + 1vw, 1.875rem); margin-bottom: 12px; }
.gp-ind-intro, .gp-sub-intro { color: var(--gp-muted); max-width: 44em; margin-bottom: 32px; }
.gp-ind-panel > h4 { grid-column: 1; font-size: clamp(1.25rem, 1rem + .8vw, 1.625rem); }

/* 공통 목록(점 + 헤어라인) */
.gp-points { max-width: 52em; }
.gp-points li { position: relative; padding: 14px 0 14px 22px; border-bottom: 1px solid var(--gp-line); }
.gp-points li:first-child { border-top: 1px solid var(--gp-line); }
.gp-points li::before { content: ""; position: absolute; left: 0; top: calc(14px + .8em); width: 8px; height: 2px; background: var(--gp-gold); }

/* 4 정부지원 활용 */
#gov-support .gp-cta-row { margin: 28px 0 0; }
.gp-sub { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--gp-line-2); }

/* 5 행정업무 지원: 번호형 5항목 */
.gp-admin-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 0 28px; border-top: 1px solid var(--gp-line-2); }
.gp-admin-items li { padding: 22px 0 20px; border-bottom: 1px solid var(--gp-line); }
.gp-admin-no { display: block; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--gp-gold-ink); margin-bottom: 8px; }
.gp-admin-items h3 { font-size: 18px; line-height: 1.4; margin-bottom: 8px; }
.gp-admin-items p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--gp-muted); }
.gp-cta-row--after { margin: clamp(32px, 4vw, 48px) 0 0; }

/* 6 신뢰: 확인된 운영 정보만 */
.gp-trust { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 6vw, 96px); align-items: start; }
.gp-trust .gp-sec-head { margin-bottom: 24px; }
.gp-trust-missing { margin: 0 0 20px; padding: 16px 18px; background: var(--gp-ivory); border-radius: 8px; color: var(--gp-ink); font-weight: 600; }
.gp-trust-dl { margin: 0 0 24px; }
.gp-trust-dl div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--gp-line); }
.gp-trust-dl dt { color: var(--gp-muted); font-size: 15px; }
.gp-trust-dl dd { margin: 0; font-weight: 600; }
@media (max-width: 768px) { .gp-trust { grid-template-columns: 1fr; } }

/* 8 하단 안내(그린 틴트 띠) */
.gp-sec--tint { background: var(--gp-green-tint); }
.gp-bottom { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 6vw, 96px); align-items: start; }
.gp-bottom .gp-sec-head { margin-bottom: 24px; }
.gp-bottom .gp-points li { border-color: var(--gp-line-2); }
.gp-next-steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 28px; counter-reset: nx; }
.gp-next-steps li { counter-increment: nx; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; background: var(--gp-white); border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--gp-green); }
.gp-next-steps li::before { content: counter(nx, decimal-leading-zero); font-size: 13px; color: var(--gp-gold-ink); }
.gp-bottom .gp-btn--ghost { background: var(--gp-white); }
@media (max-width: 768px) { .gp-bottom { grid-template-columns: 1fr; } }

/* 지원사업 표 첫 열 링크(공식 경로): 터치 타깃 44px */
.gp-table tbody th a { display: inline-flex; align-items: center; min-height: 44px; }
.gp-bottom .gp-h2 { font-size: clamp(1.75rem, 1.1rem + 1.8vw, 2.5rem); }

/* ---- 2026-10-23 수정 B (audit10) ---- */
/* B03-2: '·' 줄머리 방지(template $h 가 앞 글자+· 를 감쌈). 부모 span 스타일(.gp-step-out span 등) 상속 차단 */
.gp .gp-nw { all: unset; white-space: nowrap; }
/* B03-4: 제목 크기 계층(섹션 하위 H3 > 카드 H3/H4) */
.gp-ind-panel > h4 { font-size: 20px; }
.gp-never h3 { font-size: 20px; }
/* B03-5: 진행 절차 — PC 에서는 번호 카드만(원형 스테퍼 중복 숨김), 번호 스타일 통일 */
@media (min-width: 900px) { .gp-process-visual { display: none; } }
.gp-step-no { font-size: 40px; font-weight: 600; }
/* B03-7: 하단 안내 제목 줄바꿈 완화 */
.gp-bottom { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.gp-bottom .gp-h2 { font-size: clamp(1.75rem, 1.1rem + 1.6vw, 2.25rem); }
@media (max-width: 768px) { .gp-bottom { grid-template-columns: 1fr; } }
/* B03-3: 운영 정보 미설정 시 신뢰 섹션 1열·짧은 안내 */
.gp-trust--min { display: block; }
.gp-trust--min .gp-trust-missing { padding: 0; background: none; font-weight: 400; color: var(--gp-muted); }
/* B09-13: 개인정보 dialog 제목(p) — 기존 h2 모양 유지 */
.gp-dialog-in > .gp-dialog-title { margin: 0; font-size: 22px; font-weight: 700; color: var(--gp-green); letter-spacing: -.025em; line-height: 1.25; padding: 24px 88px 20px clamp(20px, 4vw, 40px); border-bottom: 1px solid var(--gp-line); flex: none; }
.gp-dialog-body .gp-table-wrap { margin: 0 0 12px; }
.gp-table--privacy { font-size: 14px; }
.gp-table--privacy th, .gp-table--privacy td { font-size: 14px; }
.gp-project-name small { font-size: inherit; opacity: .85; }

/* ---- 2026-10-23 봇4: 기업마당 API 실시간 보드·진단 퍼널·D-day·접수 완료 공고 (계약 /tmp/gp-live-contract.md 5절) ---- */
/* #live 보드: 아이보리 띠 + 상단 바(소재지 선택·갱신 스탬프) */
.gp-live { background: var(--gp-ivory); }
.gp-live-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 20px; }
.gp-live-bar label { font-size: 15px; font-weight: 600; color: var(--gp-green); }
.gp-live-sido { min-height: 44px; padding: 8px 36px 8px 14px; border: 1px solid var(--gp-line-2); border-radius: 10px; background-color: var(--gp-white); color: var(--gp-ink); font: 500 16px/1.4 var(--gp-font); }
.gp-live-sido:focus-visible { outline: 2px solid var(--gp-green); outline-offset: 2px; }
.gp-live-stamp { margin: 0 0 0 auto; font-size: 14px; color: var(--gp-muted); font-variant-numeric: tabular-nums; }
.gp-live-stamp::before { content: ""; display: inline-block; vertical-align: middle; margin: -2px 8px 0 2px; width: 8px; height: 8px; border-radius: 50%; background: #1F8A4C; box-shadow: 0 0 0 0 rgba(31, 138, 76, .5); animation: gp-live-pulse 2s ease-out infinite; }
.gp-live-stamp time { font-weight: 600; color: var(--gp-ink); }
@keyframes gp-live-pulse { 70% { box-shadow: 0 0 0 8px rgba(31, 138, 76, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 138, 76, 0); } }
@media (max-width: 600px) { .gp-live-stamp { margin-left: 0; flex-basis: 100%; } .gp-live-sido { flex: 1; } }

/* 숫자 3칸 카드: <table> 의미 유지(thead 는 화면에서만 숨김, caption·th 는 보임). 숫자(td)를 위로 */
.gp-live-stats { display: block; width: 100%; margin: 0 0 32px; border-collapse: collapse; }
.gp-live-stats caption { display: block; margin: 0 0 10px; text-align: left; font-size: 14px; color: var(--gp-muted); }
.gp-live-stats thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.gp-live-stats tbody { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; }
.gp-live-stats tr { display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 20px; background: var(--gp-white); border: 1px solid var(--gp-line); border-top: 3px solid var(--gp-green); border-radius: var(--gp-radius); }
.gp-live-stats tr[hidden] { display: none; } /* JS 가 new7=null 일 때 숨김 */
.gp-live-stats tr:nth-child(2) { border-top-color: var(--gp-error); }
.gp-live-stats tr:nth-child(3) { border-top-color: var(--gp-gold); }
.gp-live-stats th, .gp-live-stats td { display: block; padding: 0; border: 0; text-align: left; }
.gp-live-stats td { order: -1; font-size: clamp(2.25rem, 1.6rem + 2vw, 3rem); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; color: var(--gp-green); font-variant-numeric: tabular-nums; }
.gp-live-stats tr:nth-child(2) td { color: var(--gp-error); }
.gp-live-stats th { font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--gp-ink); }
@media (max-width: 720px) {
  .gp-live-stats tbody { grid-auto-flow: row; grid-template-columns: 1fr; gap: 8px; }
  .gp-live-stats tr { flex-direction: row; align-items: center; gap: 16px; padding: 14px 16px; border-top-width: 1px; border-left: 3px solid var(--gp-green); }
  .gp-live-stats tr:nth-child(2) { border-left-color: var(--gp-error); }
  .gp-live-stats tr:nth-child(3) { border-left-color: var(--gp-gold); }
  .gp-live-stats td { flex: none; min-width: 3.6em; font-size: 28px; }
}

/* 공고 리스트: D-day 칩 + 제목 + 메타 */
.gp-live-list { margin: 0 0 16px; padding: 0; list-style: none; background: var(--gp-white); border: 1px solid var(--gp-line); border-radius: var(--gp-radius); }
.gp-live-item { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 2px 16px; align-items: start; padding: 14px 20px; border-top: 1px solid var(--gp-line); }
.gp-live-item:first-child { border-top: 0; }
.gp-live-dday { grid-row: span 2; justify-self: start; margin-top: 2px; padding: 3px 10px; border-radius: 999px; background: var(--gp-green-tint); color: var(--gp-green); font-size: 13px; font-weight: 700; line-height: 1.5; max-width: 100%; font-variant-numeric: tabular-nums; }
.gp-live-title { display: inline-flex; align-items: center; min-height: 32px; font-size: 16px; font-weight: 600; line-height: 1.45; color: var(--gp-ink); text-decoration: none; overflow-wrap: anywhere; }
.gp-live-title:hover { color: var(--gp-green); text-decoration: underline; }
.gp-live-meta { font-size: 14px; line-height: 1.5; color: var(--gp-muted); }
@media (max-width: 560px) {
  .gp-live-item { grid-template-columns: 1fr; padding: 14px 16px; }
  .gp-live-dday { grid-row: auto; }
}
.gp-live-empty { margin: 0 0 16px; padding: 16px 20px; background: var(--gp-white); border: 1px dashed var(--gp-line-2); border-radius: var(--gp-radius); color: var(--gp-muted); }
.gp-live-empty[hidden] { display: none; }
.gp-live-note { margin: 0 0 24px; font-size: 14px; color: var(--gp-muted); max-width: 52em; }
.gp-live .gp-cta-row { margin-bottom: 0; }

/* 공통 D-day 칩: 7일 이하 경고색(#B42318 on #FEF3F2 ≈ 5.9:1) */
.gp-badge--dday { background: var(--gp-green-tint); color: var(--gp-green); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gp-badge + .gp-badge--dday { margin-left: 6px; }
.gp-badge--dday.is-urgent, .gp-live-dday.is-urgent { background: var(--gp-error-bg); color: var(--gp-error); box-shadow: inset 0 0 0 1px rgba(180, 35, 24, .35); }

/* 진단 퍼널: 가로 쉐브론 단계 → 모바일 세로, 마지막 단계(지금 신청 가능) 강조 */
.gp-funnel { display: flex; margin: 0 0 8px; padding: 0; list-style: none; counter-reset: none; }
.gp-funnel-step { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 12px 26px; background: var(--gp-green-tint); color: var(--gp-green); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 14px 50%); margin-left: -8px; }
.gp-funnel-step:first-child { margin-left: 0; padding-left: 16px; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%); border-radius: 10px 0 0 10px; }
.gp-funnel-step strong { font-size: 20px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.gp-funnel-step span { font-size: 13px; line-height: 1.4; color: var(--gp-ink); }
.gp-funnel-step:last-child { background: var(--gp-green); color: #fff; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 14px 50%); border-radius: 0 10px 10px 0; }
.gp-funnel-step:last-child span { color: #fff; }
.gp-funnel-split { margin: 0 0 6px; font-size: 14px; line-height: 1.6; color: var(--gp-ink); word-break: keep-all; }
.gp-funnel-stamp { margin: 0 0 16px; font-size: 13px; color: var(--gp-muted); }
@media (max-width: 600px) {
  .gp-funnel { flex-direction: column; gap: 14px; }
  .gp-funnel-step, .gp-funnel-step:first-child, .gp-funnel-step:last-child { margin: 0; padding: 10px 16px; flex-direction: row; align-items: baseline; gap: 10px; clip-path: none; border-radius: 10px; }
  .gp-funnel-step:not(:last-child)::after { content: "↓" / ""; position: absolute; left: 50%; bottom: -15px; transform: translateX(-50%); font-size: 12px; line-height: 1; color: var(--gp-gold-ink); }
}

/* 접수 완료 화면: 흰 카드 안 아이보리 상자 + 골드 선 */
.gp-done-picks { margin: 24px 0 0; padding: 20px 22px; background: var(--gp-ivory); border-left: 3px solid var(--gp-gold); border-radius: 0 var(--gp-radius) var(--gp-radius) 0; text-align: left; }
.gp-result .gp-done-h, .gp-done-h { margin: 0 0 10px; font-size: 18px; color: var(--gp-green); }
.gp-done-list { margin: 0; padding: 0; list-style: none; }
.gp-done-item { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 10px 0; border-top: 1px solid var(--gp-line); }
.gp-done-item:first-child { border-top: 0; padding-top: 0; }
.gp-done-item a { flex: 1 1 14em; min-width: 0; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.gp-done-src { font-size: 13px; color: var(--gp-gold-ink); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) { .gp-live-stamp::before { animation: none; } }

/* ---- 2026-10-23 봇4 v2: 보드 탭·공고 상세(details)·시·도별 표·모집 예정 공고 (계약 /tmp/gp-live-contract-v2.md 5절) ---- */
/* 탭: 다크그린 밑줄 + 선택 시 흰 바탕. 390px 에선 3등분 */
.gp-live-tabs { display: flex; gap: 4px; margin: 0 0 -1px; padding: 0; border-bottom: 1px solid var(--gp-line-2); overflow-x: auto; scrollbar-width: none; }
.gp-live-tabs::-webkit-scrollbar { display: none; }
.gp-live-tab { flex: 0 0 auto; min-height: 44px; padding: 8px 18px; border: 1px solid transparent; border-bottom: 0; border-radius: 10px 10px 0 0; background: transparent; color: var(--gp-muted); font: 600 15px/1.3 var(--gp-font); letter-spacing: -.01em; cursor: pointer; position: relative; white-space: nowrap; }
.gp-live-tab:hover { color: var(--gp-green); background: var(--gp-ivory-2); }
.gp-live-tab[aria-selected="true"] { background: var(--gp-white); color: var(--gp-green); border-color: var(--gp-line); }
.gp-live-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--gp-green); }
.gp-live-tab:focus-visible { outline: 2px solid var(--gp-green); outline-offset: -2px; border-radius: 10px 10px 0 0; }
.gp-live-tabs + .gp-live-list { border-top-left-radius: 0; }
@media (max-width: 560px) {
  .gp-live-tabs { gap: 2px; }
  .gp-live-tab { flex: 1 1 0; min-width: 0; padding: 8px 6px; font-size: 14px; white-space: normal; text-align: center; word-break: keep-all; }
  .gp-live-tabs + .gp-live-list { border-top-right-radius: 0; }
}

/* 공고 상세: 요약 줄(화살표) → dl 2열(모바일 1열) → 버튼 줄 */
.gp-live-item > .gp-live-more { grid-column: 2; }
@media (max-width: 560px) { .gp-live-item > .gp-live-more { grid-column: 1; } }
.gp-live-more { margin: 6px 0 0; min-width: 0; }
.gp-live-more > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 2px; list-style: none; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--gp-green); border-radius: 6px; }
.gp-live-more > summary::-webkit-details-marker { display: none; }
.gp-live-more > summary::after { content: ""; width: 7px; height: 7px; margin: -3px 0 0 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.gp-live-more[open] > summary::after { margin-top: 3px; transform: rotate(-135deg); }
.gp-live-more > summary:hover { text-decoration: underline; text-underline-offset: .2em; }
.gp-live-more > summary:focus-visible { outline: 2px solid var(--gp-green); outline-offset: 2px; }
.gp-live-dl { display: grid; grid-template-columns: minmax(0, 7em) minmax(0, 1fr); margin: 4px 0 0; padding: 4px 16px; background: var(--gp-ivory); border-left: 3px solid var(--gp-gold); border-radius: 0 10px 10px 0; }
.gp-live-dl > div { display: contents; }
.gp-live-dl dt, .gp-live-dl dd { margin: 0; padding: 9px 0; border-top: 1px solid var(--gp-line); font-size: 14px; line-height: 1.6; }
.gp-live-dl dt { padding-right: 12px; font-weight: 600; color: var(--gp-green); }
.gp-live-dl dd { color: var(--gp-ink); overflow-wrap: anywhere; white-space: pre-line; }
.gp-live-dl dt:first-of-type, .gp-live-dl dt:first-of-type + dd, .gp-live-dl > div:first-child > * { border-top: 0; }
.gp-live-dl ul { margin: 0; padding-left: 1.2em; list-style: disc; }
.gp-live-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.gp-live-acts .gp-btn { text-decoration: none; }
@media (max-width: 560px) {
  .gp-live-dl { grid-template-columns: 1fr; padding: 4px 14px; }
  .gp-live-dl dt { padding-bottom: 0; font-size: 13px; }
  .gp-live-dl dd { padding-top: 2px; border-top: 0; }
  .gp-live-acts .gp-btn { flex: 1 1 100%; }
}
/* 진단 카드 안: 카드 하단 구분선 위로 */
.gp-mcard .gp-live-more { margin: 4px 0 8px; padding-top: 4px; border-top: 1px solid var(--gp-line); }

/* 시·도별 현황 표: 흰 카드, 지역명은 버튼처럼, 선택 행 다크그린 강조 */
.gp-live-sido-table { width: 100%; margin: 32px 0 24px; border-collapse: separate; border-spacing: 0; background: var(--gp-white); border: 1px solid var(--gp-line); border-radius: var(--gp-radius); overflow: hidden; font-variant-numeric: tabular-nums; }
.gp-live-sido-table caption { caption-side: top; margin: 0 0 10px; text-align: left; font-size: 16px; font-weight: 700; color: var(--gp-green); }
.gp-live-sido-table th, .gp-live-sido-table td { padding: 6px 16px; border-top: 1px solid var(--gp-line); text-align: right; font-size: 15px; line-height: 1.4; }
.gp-live-sido-table thead th { border-top: 0; padding: 12px 16px; background: var(--gp-green); color: #fff; font-size: 14px; font-weight: 600; }
.gp-live-sido-table thead th:first-child, .gp-live-sido-table tbody th { text-align: left; }
.gp-live-sido-table tbody th { padding: 4px 8px; font-weight: 400; }
.gp-live-sido-table tbody tr:nth-child(even) { background: var(--gp-ivory); }
.gp-live-sido-table td:last-child { color: var(--gp-error); font-weight: 600; }
.gp-live-sido-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--gp-green); font: 600 15px/1.3 var(--gp-font); text-align: left; cursor: pointer; text-decoration: underline; text-decoration-color: var(--gp-line-2); text-underline-offset: .25em; }
.gp-live-sido-btn:hover { border-color: var(--gp-line-2); background: var(--gp-white); text-decoration-color: currentColor; }
.gp-live-sido-btn:focus-visible { outline: 2px solid var(--gp-green); outline-offset: 1px; }
.gp-live-sido-table tr.is-current { background: var(--gp-green-tint); box-shadow: inset 4px 0 0 var(--gp-gold); }
.gp-live-sido-table tr.is-current td { font-weight: 700; color: var(--gp-green); }
.gp-live-sido-table tr.is-current .gp-live-sido-btn { text-decoration: none; }
.gp-live-sido-table tr.is-current .gp-live-sido-btn::after { content: "선택됨" / ""; padding: 1px 8px; border-radius: 999px; background: var(--gp-green); color: #fff; font-size: 12px; font-weight: 600; }
@media (max-width: 560px) {
  .gp-live-sido-table th, .gp-live-sido-table td { padding: 4px 10px; font-size: 14px; }
  .gp-live-sido-table thead th { padding: 10px; font-size: 13px; }
  .gp-live-sido-table tbody th { padding: 2px 4px; }
  .gp-live-sido-btn { padding: 0 6px; font-size: 14px; }
  .gp-live-sido-table tr.is-current .gp-live-sido-btn::after { content: none; }
}

/* 진단 결과: 곧 접수가 시작되는 공고 (아이보리 + 골드 선, 접수 완료 상자와 같은 톤) */
.gp-upcoming { margin: 24px 0 16px; padding: 20px 22px; background: var(--gp-ivory); border-left: 3px solid var(--gp-gold); border-radius: 0 var(--gp-radius) var(--gp-radius) 0; }
.gp-upcoming > h3, .gp-upcoming > h4, .gp-result .gp-upcoming > h4 { margin: 0 0 10px; font-size: 18px; color: var(--gp-green); }
.gp-upcoming-list { margin: 0 0 14px; padding: 0; list-style: none; }
.gp-upcoming-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 10px 0; border-top: 1px solid var(--gp-line); font-size: 15px; line-height: 1.5; }
.gp-upcoming-list li:first-child { border-top: 0; padding-top: 0; }
.gp-upcoming-list a { flex: 1 1 14em; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.gp-upcoming-list time, .gp-upcoming-start { font-size: 14px; font-weight: 600; color: var(--gp-gold-ink); white-space: nowrap; }
@media (max-width: 480px) { .gp-upcoming { padding: 16px; } .gp-upcoming .gp-btn { width: 100%; } }

@media (prefers-reduced-motion: reduce) { .gp-live-more > summary::after { transition: none; } }

/* 1024 SEO: H1 = title(긴 문구) → 크기 조정, 기존 히어로 문구는 보조 제목 */
.gp .gp-hero .gp-h1, .gp-hero-in--film .gp-h1 { font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3.1rem); line-height: 1.22; margin-bottom: 14px; word-break: keep-all; }
.gp-tagline { margin: 0 0 18px; font-size: clamp(1.15rem, 1rem + .9vw, 1.6rem); font-weight: 700; line-height: 1.4; color: var(--gp-green); word-break: keep-all; }
.gp-nb { white-space: nowrap; }
