/* Xbid 디자인 체계 — 공개 사이트(.xb-site)와 회원 업무공간(.xb-app) 공통. 브랜드 가이드 2026-11: 네이비 #111827 · 라임 #C7F464 · 쿨화이트 #F7F9FC · 슬레이트 #64748B.
   라임은 주요 행동·중요한 기회 표시에만(바탕일 때 글자는 항상 네이비). 기본은 흰 바탕 + 짙은 글자. */
:root {
	--xb-navy: #111827;
	--xb-ink: #1F2937;
	--xb-ink-2: #334155;
	--xb-slate: #64748B;
	--xb-lime: #C7F464;
	--xb-lime-deep: #A3D93B;
	--xb-lime-soft: #F1FBDD;
	--xb-cool: #F7F9FC;
	--xb-mist: #E2E8F0;
	--xb-line: #E5E9F0;
	--xb-white: #FFFFFF;
	--xb-red: #B42318;   --xb-red-bg: #FEF3F2;
	--xb-amber: #B54708; --xb-amber-bg: #FFFAEB;
	--xb-blue: #1D4ED8;  --xb-blue-bg: #EFF4FF;
	--xb-green: #067647; --xb-green-bg: #ECFDF3;
	--xb-radius: 10px;
	--xb-radius-lg: 16px;
	--xb-font: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}

/* ---------- 공통 바탕 ---------- */
.xb-site, .xb-app { margin: 0; font-family: var(--xb-font); font-size: 16px; line-height: 1.6; color: var(--xb-ink); background: var(--xb-white); font-weight: 400; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: break-word; }
.xb-site *, .xb-app *, .xb-site *::before, .xb-app *::before, .xb-site *::after, .xb-app *::after { box-sizing: border-box; }
.xb-site img, .xb-app img { max-width: 100%; height: auto; display: block; }
.xb-site a, .xb-app a { color: inherit; }
.xb-num { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; white-space: nowrap; }
.xb-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.xb-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--xb-navy); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.xb-skip:focus { top: 12px; }
:where(.xb-site, .xb-app) :focus-visible { outline: 3px solid var(--xb-navy); outline-offset: 2px; border-radius: 6px; }

/* 버튼 — 라임 = 주요 행동 1개. 나머지는 외곽선/글자 */
.xb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent; font: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s; }
.xb-btn-primary { background: var(--xb-lime); color: var(--xb-navy); border-color: var(--xb-lime); }
.xb-btn-primary:hover { background: var(--xb-lime-deep); border-color: var(--xb-lime-deep); }
:where(.xb-site, .xb-app) a.xb-btn-primary, :where(.xb-site, .xb-app) a.xb-btn-primary:hover { color: var(--xb-navy); } /* 라임 바탕 = 항상 네이비 글자(.xb-site a 상속 덮음) */
:where(.xb-site, .xb-app) a.xb-btn-dark { color: #fff; }
.xb-btn-dark { background: var(--xb-navy); color: #fff; }
.xb-btn-dark:hover { background: #000; }
.xb-btn-line { background: #fff; color: var(--xb-navy); border-color: #CBD5E1; }
.xb-btn-line:hover { border-color: var(--xb-navy); }
.xb-btn-ink { background: #fff; color: var(--xb-navy); border-color: var(--xb-navy); }
.xb-btn-ink:hover { background: var(--xb-navy); color: #fff; }
.xb-btn-sm { min-height: 40px; padding: 0 14px; font-size: 15px; border-radius: 8px; }
.xb-link { color: var(--xb-navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* 배지 — 상태 4종 + 채널 */
.xb-badge { display: inline-flex; align-items: center; gap: 4px; min-height: 26px; padding: 2px 9px; border-radius: 6px; font-size: 13px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.xb-badge-due { color: var(--xb-red); background: var(--xb-red-bg); }
.xb-badge-apply { color: var(--xb-blue); background: var(--xb-blue-bg); }
.xb-badge-check { color: var(--xb-amber); background: var(--xb-amber-bg); }
.xb-badge-done { color: var(--xb-green); background: var(--xb-green-bg); }
.xb-badge-ready { color: var(--xb-navy); background: #fff; box-shadow: inset 0 0 0 1.5px var(--xb-navy); }
.xb-badge-plain { color: var(--xb-ink-2); background: #F1F5F9; }
.xb-ch { display: inline-block; font-size: 13px; font-weight: 600; color: var(--xb-slate); white-space: nowrap; }

.xb-sample-flag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 6px; background: #FFF; border: 1px dashed #94A3B8; color: var(--xb-ink-2); font-size: 13px; font-weight: 600; }

/* =====================================================================
   공개 사이트
   ===================================================================== */
.xb-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.xb-head { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--xb-line); }
.xb-head-in { display: flex; align-items: center; gap: 32px; height: 72px; }
.xb-logo { display: inline-flex; align-items: center; flex: none; }
.xb-logo img { height: 28px; width: auto; }
.xb-nav { display: flex; gap: 4px; margin-left: 8px; }
.xb-nav a { padding: 10px 12px; border-radius: 8px; text-decoration: none; font-size: 16px; font-weight: 500; color: var(--xb-ink-2); }
.xb-nav a:hover { color: var(--xb-navy); background: var(--xb-cool); }
.xb-nav a[aria-current="page"] { color: var(--xb-navy); font-weight: 700; box-shadow: inset 0 -3px 0 var(--xb-lime); border-radius: 0; }
.xb-head-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.xb-menu-btn { display: none; width: 48px; height: 48px; border: 1px solid var(--xb-line); border-radius: 10px; background: #fff; font: inherit; font-size: 15px; font-weight: 700; color: var(--xb-navy); cursor: pointer; }

/* 히어로 */
.xb-hero { position: relative; overflow: hidden; background: var(--xb-cool); border-bottom: 1px solid var(--xb-line); }
.xb-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.xb-hero-x { position: absolute; right: -120px; bottom: -140px; width: 620px; opacity: 1; pointer-events: none; z-index: 0; }
.xb-eyebrow { display: block; width: 56px; height: 6px; background: var(--xb-lime); margin: 0 0 28px; border-radius: 1px; }
.xb-kicker { margin: 0 0 14px; font-size: 15px; font-weight: 600; letter-spacing: .02em; color: var(--xb-slate); }
.xb-hero h1 { margin: 0; font-size: 60px; line-height: 1.18; font-weight: 800; letter-spacing: -0.035em; color: var(--xb-navy); }
.xb-hero h1 .xb-h1-logo { display: inline-block; height: 0.8em; width: auto; vertical-align: -0.06em; margin-top: 0.12em; }
.xb-keep { display: inline-block; }
.xb-hero-lead { margin: 22px 0 0; font-size: 22px; line-height: 1.5; font-weight: 700; color: var(--xb-navy); letter-spacing: -0.01em; }
.xb-hero-answer { margin: 16px 0 0; max-width: 34em; font-size: 17px; line-height: 1.75; color: var(--xb-ink-2); }
.xb-hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.xb-hero-note { margin: 14px 0 0; font-size: 14px; color: var(--xb-slate); }

/* 화면 미리보기 프레임(예시 데이터) */
.xb-shot { position: relative; background: #fff; border: 1px solid #D5DCE6; border-radius: 14px; box-shadow: 0 24px 48px -24px rgba(17,24,39,.28); overflow: hidden; }
.xb-shot-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--xb-line); background: #fff; }
.xb-shot-bar img { height: 18px; width: auto; }
.xb-shot-body { padding: 18px; }
.xb-shot-cap { margin: 10px 2px 0; font-size: 13px; color: var(--xb-slate); }

/* 섹션 공통 */
.xb-sec { padding: 104px 0; }
.xb-sec + .xb-sec { border-top: 1px solid var(--xb-line); }
.xb-sec-cool { background: var(--xb-cool); }
.xb-sec-label { margin: 0 0 16px; font-size: 14px; font-weight: 600; letter-spacing: .06em; color: var(--xb-slate); text-transform: uppercase; }
.xb-sec h2 { margin: 0; font-size: 40px; line-height: 1.28; font-weight: 800; letter-spacing: -0.03em; color: var(--xb-navy); }
.xb-sec-lead { margin: 16px 0 0; max-width: 40em; font-size: 18px; line-height: 1.7; color: var(--xb-ink-2); }
.xb-sec-head { margin-bottom: 56px; }

/* 찾다 → 판단하다 → 준비하다 : 단계별 한 줄(왼쪽 글, 오른쪽 실제 기능 조각) */
.xb-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.xb-flow-step { display: grid; grid-template-columns: 88px minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: start; padding: 40px 0; border-top: 1px solid var(--xb-line); }
.xb-flow-step:last-child { border-bottom: 1px solid var(--xb-line); }
.xb-flow-no { font-size: 15px; font-weight: 700; color: var(--xb-slate); padding-top: 8px; }
.xb-flow-step h3 { margin: 0; font-size: 30px; line-height: 1.3; font-weight: 800; color: var(--xb-navy); letter-spacing: -0.02em; }
.xb-flow-q { margin: 10px 0 0; font-size: 18px; font-weight: 700; color: var(--xb-navy); }
.xb-flow-txt { margin: 10px 0 0; color: var(--xb-ink-2); }
.xb-flow-arrow { display: inline-block; margin: 0 8px; color: var(--xb-slate); }
.xb-frag { background: #fff; border: 1px solid var(--xb-line); border-radius: 12px; padding: 18px 20px; }
.xb-sec-cool .xb-frag { border-color: #D9E0EA; }
.xb-frag-title { margin: 0 0 12px; font-size: 13px; font-weight: 700; color: var(--xb-slate); }
.xb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.xb-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid #CBD5E1; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--xb-ink-2); }
.xb-chip b { color: var(--xb-navy); }
.xb-chip.is-on { border-color: var(--xb-navy); background: var(--xb-navy); color: #fff; }
.xb-chip.is-on b { color: var(--xb-lime); }
.xb-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.xb-check li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--xb-line); font-size: 15px; }
.xb-check li:last-child { border-bottom: 0; }
.xb-kv { width: 100%; border-collapse: collapse; font-size: 15px; }
.xb-kv th { text-align: left; font-weight: 500; color: var(--xb-slate); padding: 8px 0; }
.xb-kv td { text-align: right; padding: 8px 0; font-weight: 600; color: var(--xb-navy); }
.xb-kv tr + tr { border-top: 1px solid var(--xb-line); }
.xb-kv .xb-kv-total td, .xb-kv .xb-kv-total th { font-size: 17px; font-weight: 800; color: var(--xb-navy); padding-top: 12px; }

/* 표(AEO용 비교·채널 표) */
.xb-table-wrap { overflow-x: auto; border: 1px solid var(--xb-line); border-radius: 12px; background: #fff; }
.xb-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.xb-table caption { text-align: left; padding: 0 0 12px; font-size: 14px; color: var(--xb-slate); caption-side: top; }
.xb-table th, .xb-table td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--xb-line); }
.xb-table thead th { font-size: 14px; font-weight: 700; color: var(--xb-slate); background: var(--xb-cool); white-space: nowrap; }
.xb-table tbody th { font-weight: 700; color: var(--xb-navy); white-space: nowrap; }
.xb-table tr:last-child > * { border-bottom: 0; }

/* 구분 설명(투찰 보조 · 개찰 1순위 · 낙찰 확정) */
.xb-terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--xb-navy); }
.xb-term { padding: 28px 28px 8px 0; }
.xb-term + .xb-term { padding-left: 28px; border-left: 1px solid var(--xb-line); }
.xb-term h3 { margin: 0 0 6px; font-size: 21px; font-weight: 800; color: var(--xb-navy); }
.xb-term .xb-term-who { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--xb-slate); }
.xb-term p { margin: 0; color: var(--xb-ink-2); }

/* 네이비 띠 */
.xb-band { background: var(--xb-navy); color: #fff; padding: 88px 0; position: relative; overflow: hidden; }
.xb-band h2 { margin: 0; font-size: 44px; line-height: 1.25; font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.xb-band p { margin: 18px 0 0; font-size: 18px; color: #CBD5E1; max-width: 32em; }
.xb-band .xb-hero-ctas { margin-top: 36px; }
.xb-band .xb-btn-line { background: transparent; color: #fff; border-color: #475569; }
.xb-band .xb-btn-line:hover { border-color: #fff; }
.xb-band-x { position: absolute; right: 48px; top: 50%; transform: translateY(-50%); width: 220px; opacity: .95; }

/* FAQ */
.xb-faq { display: grid; gap: 0; border-top: 1px solid var(--xb-line); }
.xb-faq-item { padding: 28px 0; border-bottom: 1px solid var(--xb-line); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px; }
.xb-faq-item h3 { margin: 0; font-size: 20px; line-height: 1.45; font-weight: 700; color: var(--xb-navy); }
.xb-faq-item p { margin: 0; color: var(--xb-ink-2); }

/* 하위 페이지 머리 */
.xb-page-head { background: var(--xb-cool); border-bottom: 1px solid var(--xb-line); padding: 72px 0 64px; position: relative; overflow: hidden; }
.xb-page-head h1 { margin: 0; font-size: 46px; line-height: 1.22; font-weight: 800; letter-spacing: -0.03em; color: var(--xb-navy); }
.xb-page-head .xb-hero-answer { font-size: 18px; max-width: 40em; }
.xb-crumb { margin: 0 0 20px; font-size: 14px; color: var(--xb-slate); }
.xb-crumb a { color: var(--xb-slate); }

/* 푸터 */
.xb-foot { background: #fff; border-top: 1px solid var(--xb-line); padding: 56px 0 40px; font-size: 15px; color: var(--xb-slate); }
.xb-foot-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.xb-foot img { height: 24px; width: auto; margin-bottom: 14px; }
.xb-foot h2 { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: var(--xb-navy); }
.xb-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.xb-foot a { text-decoration: none; }
.xb-foot a:hover { color: var(--xb-navy); text-decoration: underline; }
.xb-foot-biz { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--xb-line); font-size: 14px; line-height: 1.8; }

/* =====================================================================
   회원 업무공간
   ===================================================================== */
.xb-app { background: var(--xb-cool); }
.xb-app-shell { background: linear-gradient(90deg, #fff 247px, var(--xb-line) 247px, var(--xb-line) 248px, transparent 248px); display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.xb-side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: #fff; border-right: 1px solid var(--xb-line); overflow-y: auto; padding: 20px 14px; }
.xb-side-logo { display: flex; align-items: center; gap: 10px; padding: 4px 10px 20px; text-decoration: none; }
.xb-side-logo img { height: 24px; width: auto; }
.xb-side-logo span { font-size: 13px; font-weight: 700; color: var(--xb-slate); padding-left: 10px; border-left: 1px solid var(--xb-line); }
.xb-side-nav { display: grid; gap: 2px; }
.xb-side-nav a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 8px; text-decoration: none; font-size: 16px; font-weight: 500; color: var(--xb-ink-2); }
.xb-side-nav a:hover { background: var(--xb-cool); color: var(--xb-navy); }
.xb-side-nav a[aria-current="page"] { background: var(--xb-navy); color: #fff; font-weight: 700; }
.xb-side-nav a[aria-current="page"] .xb-side-count { background: var(--xb-lime); color: var(--xb-navy); }
.xb-side-count { min-width: 24px; padding: 1px 7px; border-radius: 999px; background: #EEF2F7; color: var(--xb-ink-2); font-size: 13px; font-weight: 700; text-align: center; }
.xb-side-sep { margin: 18px 12px 8px; font-size: 12px; font-weight: 700; color: var(--xb-slate); }
.xb-side-foot { margin-top: auto; padding: 14px 12px 0; border-top: 1px solid var(--xb-line); font-size: 14px; color: var(--xb-slate); }
.xb-side-foot strong { display: block; color: var(--xb-navy); font-size: 15px; }
.xb-side-foot a { display: inline-block; margin: 8px 12px 0 0; color: var(--xb-ink-2); }

.xb-main { min-width: 0; }
.xb-top { display: flex; align-items: center; gap: 16px; min-height: 72px; padding: 14px 32px; background: #fff; border-bottom: 1px solid var(--xb-line); }
.xb-top h1 { margin: 0; font-size: 24px; line-height: 1.3; font-weight: 800; color: var(--xb-navy); letter-spacing: -0.02em; }
.xb-top-sub { font-size: 14px; color: var(--xb-slate); }
.xb-top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.xb-mtop { display: none; }
.xb-mnav { display: none; }
.xb-content { padding: 24px 32px 64px; max-width: 1280px; }

/* 상태 요약: 오늘 마감 · 신청 필요 · 확인 필요 · 완료 — 눌러서 걸러보기 */
.xb-status { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid var(--xb-line); border-radius: 12px; overflow: hidden; }
.xb-status button { appearance: none; display: grid; gap: 2px; text-align: left; padding: 16px 20px; min-height: 84px; border: 0; border-right: 1px solid var(--xb-line); background: #fff; font: inherit; cursor: pointer; color: var(--xb-ink-2); position: relative; }
.xb-status button:last-child { border-right: 0; }
.xb-status button:hover { background: var(--xb-cool); }
.xb-status button[aria-pressed="true"] { background: #fff; box-shadow: inset 0 -4px 0 var(--xb-navy); }
.xb-status-label { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.xb-status-n { font-size: 30px; line-height: 1.15; font-weight: 800; color: var(--xb-navy); }
.xb-status-n small { font-size: 15px; font-weight: 600; color: var(--xb-slate); margin-left: 2px; }
.xb-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.xb-dot-due { background: var(--xb-red); } .xb-dot-apply { background: var(--xb-blue); } .xb-dot-check { background: #F79009; } .xb-dot-done { background: #12B76A; }

/* 검색·필터 줄 */
.xb-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 16px 0 12px; }
.xb-search { flex: 1 1 320px; display: flex; min-width: 0; }
.xb-search input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid #CBD5E1; border-right: 0; border-radius: 10px 0 0 10px; font: inherit; font-size: 16px; background: #fff; color: var(--xb-navy); }
.xb-search button { height: 44px; padding: 0 16px; border: 1px solid var(--xb-navy); border-radius: 0 10px 10px 0; background: var(--xb-navy); color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.xb-select { height: 44px; padding: 0 36px 0 12px; border: 1px solid #CBD5E1; border-radius: 10px; font: inherit; font-size: 15px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2364748B' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center; -webkit-appearance: none; appearance: none; color: var(--xb-navy); }
.xb-seg { display: inline-flex; background: #EEF2F7; border-radius: 10px; padding: 3px; gap: 2px; }
.xb-seg button { appearance: none; border: 0; background: transparent; min-height: 38px; padding: 0 12px; border-radius: 8px; font: inherit; font-size: 15px; font-weight: 600; color: var(--xb-ink-2); cursor: pointer; white-space: nowrap; }
.xb-seg button[aria-pressed="true"] { background: #fff; color: var(--xb-navy); box-shadow: 0 1px 2px rgba(17,24,39,.12); }
.xb-result-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 8px; font-size: 14px; color: var(--xb-slate); }

/* 공고 표(PC) */
.xb-grid { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--xb-line); border-radius: 12px; overflow: hidden; font-size: 15px; }
.xb-grid th { position: sticky; top: 0; background: #fff; text-align: left; font-size: 13px; font-weight: 700; color: var(--xb-slate); padding: 12px 14px; border-bottom: 1px solid var(--xb-line); white-space: nowrap; }
.xb-grid td { padding: 14px; border-bottom: 1px solid var(--xb-line); vertical-align: middle; }
.xb-grid tr:last-child td { border-bottom: 0; }
.xb-grid tbody tr:hover td { background: #FAFBFD; }
.xb-grid .xb-r { text-align: right; }
.xb-grid .xb-amt { font-size: 16px; font-weight: 700; color: var(--xb-navy); }
.xb-due { font-weight: 700; color: var(--xb-navy); }
.xb-due small { display: block; font-size: 13px; font-weight: 500; color: var(--xb-slate); }
.xb-due.is-today { color: var(--xb-red); }
.xb-title { font-weight: 700; color: var(--xb-navy); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.xb-meta { margin-top: 2px; font-size: 13px; color: var(--xb-slate); }
.xb-next { display: grid; gap: 4px; justify-items: end; }
.xb-next small { font-size: 12px; color: var(--xb-slate); }
.xb-empty { padding: 48px 20px; text-align: center; color: var(--xb-slate); background: #fff; border: 1px dashed #CBD5E1; border-radius: 12px; }
.xb-empty strong { display: block; color: var(--xb-navy); font-size: 18px; margin-bottom: 6px; }

/* 모바일 목록 */
.xb-list { display: none; list-style: none; margin: 0; padding: 0; }
.xb-item { background: #fff; border: 1px solid var(--xb-line); border-radius: 12px; padding: 14px 16px; }
.xb-item + .xb-item { margin-top: 10px; }
.xb-item-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.xb-item .xb-title { margin: 8px 0 2px; font-size: 16px; }
.xb-item-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--xb-line); }
.xb-item-row span { font-size: 13px; color: var(--xb-slate); }
.xb-item .xb-btn { width: 100%; margin-top: 12px; }

/* 고급(진단·도우미) — 기본 접힘 */
.xb-adv { margin-top: 28px; background: #fff; border: 1px solid var(--xb-line); border-radius: 12px; }
.xb-adv > summary { list-style: none; cursor: pointer; min-height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; font-weight: 700; color: var(--xb-ink-2); font-size: 15px; }
.xb-adv > summary::-webkit-details-marker { display: none; }
.xb-adv > summary::after { content: '열기'; font-size: 13px; font-weight: 600; color: var(--xb-slate); }
.xb-adv[open] > summary::after { content: '접기'; }
.xb-adv-body { padding: 0 18px 18px; color: var(--xb-ink-2); font-size: 15px; }

/* 대화상자 */
.xb-dialog { border: 0; padding: 0; border-radius: 16px; width: min(520px, calc(100vw - 24px)); box-shadow: 0 30px 60px -20px rgba(17,24,39,.45); color: var(--xb-ink); font-family: var(--xb-font); }
.xb-dialog::backdrop { background: rgba(17,24,39,.5); }
.xb-dialog-head { padding: 20px 22px 0; }
.xb-dialog-head h2 { margin: 0; font-size: 20px; color: var(--xb-navy); }
.xb-dialog-head p { margin: 4px 0 0; font-size: 14px; color: var(--xb-slate); }
.xb-dialog-body { padding: 16px 22px; }
.xb-dialog-foot { display: flex; gap: 8px; justify-content: flex-end; padding: 0 22px 20px; flex-wrap: wrap; }
.xb-field { display: grid; gap: 6px; margin-top: 12px; }
.xb-field label { font-size: 14px; font-weight: 600; color: var(--xb-ink-2); }
.xb-field input { height: 46px; padding: 0 12px; border: 1px solid #CBD5E1; border-radius: 10px; font: inherit; font-size: 17px; text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- 반응형 ---------- */
@media (max-width: 1080px) {
	.xb-nav { display: none; }
	.xb-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
	.xb-head-cta { margin-left: auto; }
	.xb-head.is-open .xb-nav { display: grid; position: absolute; left: 0; right: 0; top: 72px; background: #fff; border-bottom: 1px solid var(--xb-line); padding: 8px 20px 16px; margin: 0; }
	.xb-head.is-open .xb-nav a { min-height: 48px; display: flex; align-items: center; }
	.xb-hero-in { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.xb-flow-step { grid-template-columns: 56px minmax(0, 1fr); }
	.xb-flow-step .xb-frag { grid-column: 2; }
}
@media (max-width: 960px) {
	.xb-app-shell { grid-template-columns: minmax(0, 1fr); }
	.xb-side { display: none; }
	.xb-top { display: none; }
	.xb-mtop { display: flex; align-items: center; gap: 10px; position: sticky; top: 0; z-index: 10; height: 60px; padding: 0 16px; background: #fff; border-bottom: 1px solid var(--xb-line); }
	.xb-mtop img { height: 22px; width: auto; }
	.xb-mtop .xb-btn { margin-left: auto; }
	.xb-mnav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--xb-line); }
	.xb-mnav a { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 44px; padding: 0 6px; border-radius: 10px; border: 1px solid var(--xb-line); text-decoration: none; font-size: 14px; font-weight: 600; color: var(--xb-ink-2); text-align: center; line-height: 1.25; }
	.xb-mnav a[aria-current="page"] { background: var(--xb-navy); border-color: var(--xb-navy); color: #fff; }
	.xb-mhead { display: block; padding: 18px 0 4px; }
	.xb-mhead h1 { margin: 0; font-size: 22px; color: var(--xb-navy); }
	.xb-content { padding: 0 16px 48px; }
	.xb-app .xb-grid { display: none; }
	.xb-app .xb-list { display: block; }
}
@media (min-width: 961px) { .xb-mhead { display: none; } }
@media (max-width: 720px) {
	.xb-wrap { padding: 0 20px; }
	.xb-head-in { height: 64px; gap: 12px; }
	.xb-head.is-open .xb-nav { top: 64px; }
	.xb-logo img { height: 24px; }
	.xb-head-cta { gap: 6px; }
	.xb-head-cta .xb-btn { min-height: 44px; padding: 0 12px; font-size: 15px; }
	.xb-logo img { height: 22px; }
	.xb-hero-in { padding-top: 48px; padding-bottom: 56px; }
	.xb-hero h1 { font-size: 38px; }
	.xb-hero-lead { font-size: 19px; }
	.xb-hero-answer { font-size: 16px; }
	.xb-hero-ctas .xb-btn { flex: 1 1 100%; }
	.xb-hero-x { width: 360px; right: -140px; bottom: -90px; }
	.xb-sec { padding: 64px 0; }
	.xb-sec h2 { font-size: 28px; }
	.xb-sec-lead { font-size: 16px; }
	.xb-sec-head { margin-bottom: 32px; }
	.xb-flow-step { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 28px 0; }
	.xb-flow-step .xb-frag { grid-column: 1; }
	.xb-flow-no { padding: 0; }
	.xb-flow-step h3 { font-size: 24px; }
	.xb-terms { grid-template-columns: minmax(0, 1fr); }
	.xb-term, .xb-term + .xb-term { padding: 22px 0; border-left: 0; border-top: 1px solid var(--xb-line); }
	.xb-band { padding: 64px 0; }
	.xb-band h2 { font-size: 30px; }
	.xb-band-x { display: none; }
	.xb-faq-item { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 22px 0; }
	.xb-faq-item h3 { font-size: 18px; }
	.xb-page-head { padding: 44px 0 40px; }
	.xb-page-head h1 { font-size: 32px; }
	.xb-foot-in { grid-template-columns: minmax(0, 1fr); }
	.xb-table-wrap { border: 0; background: transparent; overflow: visible; }
	.xb-table, .xb-table tbody, .xb-table tr, .xb-table th, .xb-table td { display: block; width: 100%; }
	.xb-table thead { display: none; }
	.xb-table tr { background: #fff; border: 1px solid var(--xb-line); border-radius: 12px; padding: 6px 16px; }
	.xb-table tr + tr { margin-top: 10px; }
	.xb-table tbody th { padding: 12px 0 8px; font-size: 18px; border-bottom: 1px solid var(--xb-line); }
	.xb-table td { padding: 10px 0; font-size: 15px; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; }
	.xb-table td::before { content: attr(data-label); font-size: 13px; font-weight: 600; color: var(--xb-slate); }
	.xb-table tr > *:last-child { border-bottom: 0; }
	.xb-shot .xb-grid th:first-child, .xb-shot .xb-grid td:first-child { display: none; }
	.xb-shot-body { padding: 12px; }
	.xb-shot .xb-grid td, .xb-shot .xb-grid th { padding: 10px; }
	.xb-status { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.xb-status button { min-height: 72px; padding: 12px 14px; border-bottom: 1px solid var(--xb-line); }
	.xb-status button:nth-child(2n) { border-right: 0; }
	.xb-status button:nth-child(n+3) { border-bottom: 0; }
	.xb-status-n { font-size: 26px; }
	.xb-tools { gap: 8px; }
	.xb-search { flex-basis: 100%; }
	.xb-tools .xb-select { flex: 1 1 0; min-width: 0; }
	.xb-seg { width: 100%; overflow-x: auto; }
	.xb-seg button { flex: 1 0 auto; }
}
@media (prefers-reduced-motion: reduce) { .xb-btn { transition: none; } }
.xb-amt-wait { font-size: 13px; font-weight: 600; color: var(--xb-amber); }
