/* =========================================
   수출 가이드 (export-guide.html)
   기본 변수·헤더·푸터는 styles.css, 히어로·하단 상담(.pf-cta)은 policy-finance.css 를 공유한다.
   ========================================= */

.eg-warn {
    margin: 28px auto 0;
    max-width: 860px;
    background: #fff8e6;
    border: 2px solid #d4a853;
    border-left-width: 6px;
    border-radius: 10px;
    padding: 14px 18px;
    line-height: 1.7;
    color: #3d3320;
}
.eg-warn i { color: #8a6a1f; margin-right: 4px; }
.eg-warn strong { color: var(--primary-color); }

.eg-section { padding: 36px 0 70px; }

.eg-app {
    max-width: 860px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e6e1d4;
    border-top: 5px solid var(--secondary-color);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(13, 30, 56, 0.08);
    padding: 34px 38px;
    overflow-anchor: none;
}
.eg-app .btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.eg-app .btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}
.eg-app .btn[disabled] { opacity: 0.45; cursor: not-allowed; }

.eg-h, .eg-q-title {
    color: var(--primary-color);
    font-size: 1.45rem;
    line-height: 1.45;
    margin-bottom: 10px;
}
.eg-h:focus, .eg-q-title:focus { outline: none; }
.eg-lead { color: #444; line-height: 1.7; margin-bottom: 14px; }

.eg-steps-preview {
    counter-reset: egs;
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.eg-steps-preview li {
    counter-increment: egs;
    background: var(--accent-color);
    border-radius: 8px;
    padding: 10px 12px 10px 44px;
    position: relative;
    color: #333;
    line-height: 1.5;
}
.eg-steps-preview li::before {
    content: counter(egs);
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eg-consent {
    background: #f4f6fa;
    border: 1px solid #dfe4ee;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 18px;
}
.eg-check { display: flex; gap: 10px; align-items: flex-start; line-height: 1.6; font-size: 0.93rem; color: #333; cursor: pointer; }
.eg-check input { margin-top: 5px; width: 18px; height: 18px; flex: none; accent-color: var(--primary-color); }
.eg-check a { color: var(--primary-color); text-decoration: underline; }

.eg-begin { font-size: 1.05rem; padding: 14px 34px; }
.eg-begin i { margin-left: 6px; }

.eg-history { margin-top: 26px; padding-top: 18px; border-top: 1px dashed #d8d2c2; }
.eg-history h4 { color: var(--primary-color); font-size: 1rem; margin-bottom: 10px; }
.eg-history ul { list-style: none; padding: 0; margin: 0 0 10px; }
.eg-history li + li { margin-top: 6px; }
.eg-hist-item {
    width: 100%;
    text-align: left;
    background: #fff;
    border: 1px solid #e0dccf;
    border-radius: 8px;
    padding: 9px 12px;
    font: inherit;
    font-size: 0.92rem;
    color: #333;
    cursor: pointer;
}
.eg-hist-item:hover { border-color: var(--secondary-color); }

.eg-link-btn {
    background: none;
    border: none;
    color: var(--gold-text, #8a6a1f);
    text-decoration: underline;
    font: inherit;
    font-size: 0.92rem;
    cursor: pointer;
    padding: 6px 4px;
}
.eg-note { font-size: 0.88rem; color: #666; line-height: 1.6; margin-top: 6px; }

/* 진행 막대 */
.eg-progress { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.eg-step { font-weight: 700; color: var(--gold-text, #8a6a1f); font-size: 0.9rem; white-space: nowrap; }
.eg-progress progress {
    flex: 1;
    height: 8px;
    appearance: none;
    -webkit-appearance: none;
    border: none;
    border-radius: 6px;
    background: #ece8dc;
    overflow: hidden;
}
.eg-progress progress::-webkit-progress-bar { background: #ece8dc; border-radius: 6px; }
.eg-progress progress::-webkit-progress-value { background: var(--secondary-color); border-radius: 6px; }
.eg-progress progress::-moz-progress-bar { background: var(--secondary-color); border-radius: 6px; }

.eg-help { color: #555; line-height: 1.7; margin-bottom: 16px; font-size: 0.95rem; }

/* 보기 단추 */
.eg-opts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.eg-opt {
    text-align: left;
    background: #fff;
    border: 2px solid #e0dccf;
    border-radius: 10px;
    padding: 13px 14px 13px 42px;
    font: inherit;
    font-size: 0.97rem;
    line-height: 1.45;
    color: #222;
    cursor: pointer;
    position: relative;
    transition: border-color 0.15s, background 0.15s;
}
.eg-opt::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #b9b2a0;
    border-radius: 50%;
    background: #fff;
}
.eg-opts[role="group"] .eg-opt::before { border-radius: 4px; }
.eg-opt:hover { border-color: var(--secondary-color); }
.eg-opt.is-on {
    background: var(--primary-color);
    border-color: var(--secondary-color);
    color: #fff;
}
.eg-opt.is-on::before {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    box-shadow: inset 0 0 0 3px var(--primary-color);
}
.eg-opt-has-sub {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}
.eg-opt-main { font-weight: 600; line-height: 1.3; }
.eg-opt-sub { font-size: 0.78rem; color: #666; line-height: 1.3; font-weight: 400; }
.eg-opt.is-on .eg-opt-sub { color: rgba(255, 255, 255, 0.85); }

.eg-opts.eg-opts-grouped { display: block; }
.eg-grp-h { font-weight: 700; color: var(--primary-color); font-size: 0.92rem; margin: 4px 0 8px; }
.eg-opts-grouped .eg-grp-h:not(:first-child) { margin-top: 16px; }
.eg-grp-note { margin: 7px 0 0 2px; font-size: 0.72rem; line-height: 1.48; color: #6b7280; }
.eg-grp-note p { margin: 0; }
/* 다른 어려움 더 보기 (눈에 띄는 강조 펼침 바 + 미확인 주의 안내, 2026-11-28) */
.eg-more {
    margin-top: 18px;
    border-radius: 12px;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.eg-more > summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    padding: 15px 18px;
    border: 2px solid var(--secondary-color, #c5a059);
    border-radius: 12px;
    background: linear-gradient(135deg, #fffdf4 0%, #fef3d0 100%);
    box-shadow: 0 4px 14px rgba(197, 160, 89, 0.22);
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.eg-more > summary::-webkit-details-marker { display: none; }
.eg-more > summary::marker { content: ""; }
.eg-more > summary:hover {
    background: linear-gradient(135deg, #fff9e0 0%, #fce8ad 100%);
    border-color: #a88228;
    box-shadow: 0 6px 18px rgba(197, 160, 89, 0.32);
    transform: translateY(-1px);
}
.eg-more > summary:focus-visible {
    outline: 3px solid var(--primary-color, #0d1e38);
    outline-offset: 2px;
}
.eg-more[open] > summary {
    background: #f4f6fa;
    border-color: var(--primary-color, #0d1e38);
    box-shadow: none;
    transform: none;
}
.eg-more-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.eg-more-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.eg-more-badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--primary-color, #0d1e38);
    color: #f6e3a8;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.45;
    white-space: nowrap;
}
.eg-more-title {
    color: var(--primary-color, #0d1e38);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
}
.eg-more-sub {
    color: #5c4b1f;
    font-size: 0.84rem;
    line-height: 1.45;
}
.eg-more[open] .eg-more-sub { color: #555; }
.eg-more-cta {
    flex: none;
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--primary-color, #0d1e38);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 700;
    white-space: nowrap;
}
.eg-more-cta i { margin-left: 5px; font-size: 0.78rem; }
.eg-more .eg-more-close-lbl { display: none; }
.eg-more[open] .eg-more-open-lbl { display: none; }
.eg-more[open] .eg-more-close-lbl { display: inline; }
.eg-more[open] .eg-more-cta {
    background: #fff;
    color: var(--primary-color, #0d1e38);
    border: 1.5px solid #c5cfe0;
}
.eg-more .eg-opts { margin-top: 12px; }
.eg-more-warn {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 12px;
    padding: 12px 14px;
    border: 1.5px solid #d97706;
    border-left: 5px solid #d97706;
    border-radius: 8px;
    background: #fffbeb;
    color: #5c3a06;
    font-size: 0.9rem;
    line-height: 1.6;
}
.eg-more-warn[hidden] { display: none; }
.eg-more-warn > i {
    color: #d97706;
    font-size: 1.08rem;
    margin-top: 3px;
    flex: none;
}
.eg-more-warn strong { color: #7c2d12; }
.eg-more-warn p { margin: 3px 0 0; }
.eg-more.is-warn-open > summary {
    border-color: #d97706;
    background: #fffbeb;
}
@media (max-width: 600px) {
    .eg-more > summary {
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        gap: 10px;
    }
    .eg-more-cta {
        justify-content: center;
        width: 100%;
    }
}

.eg-msg { min-height: 1.5em; color: #b3261e; font-size: 0.9rem; margin-top: 10px; }
.eg-nav { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.eg-nav #egNext { margin-left: auto; min-width: 130px; }

/* 결과 */
.eg-summary {
    background: var(--primary-color);
    color: #fff;
    border-radius: 10px;
    padding: 16px 18px;
    line-height: 1.75;
    margin-bottom: 8px;
}
.eg-save { font-size: 0.88rem; color: #2e6b3a; min-height: 1.3em; margin-bottom: 14px; }
.eg-sub {
    color: var(--primary-color);
    font-size: 1.08rem;
    margin: 18px 0 12px;
    padding-left: 10px;
    border-left: 4px solid var(--secondary-color);
}
.eg-cards { display: grid; gap: 12px; }
.eg-card {
    display: flex;
    gap: 14px;
    border: 1px solid #e6e1d4;
    border-radius: 12px;
    padding: 16px 18px;
    background: #fffdf8;
}
.eg-card-n {
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.eg-card-body { min-width: 0; }
.eg-card-t { color: var(--primary-color); font-size: 1.05rem; margin-bottom: 4px; }
.eg-card-why { color: var(--gold-text, #8a6a1f); font-size: 0.88rem; font-weight: 500; margin-bottom: 4px; }
.eg-card-d { color: #444; line-height: 1.65; font-size: 0.95rem; margin-bottom: 8px; }
.eg-card-go {
    display: inline-block;
    font-weight: 700;
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 1px;
}
.eg-card-go:hover { color: var(--gold-text, #8a6a1f); }

.eg-more-list { list-style: none; padding: 0; margin: 0; }
.eg-more-list li { padding: 8px 0; border-bottom: 1px dashed #e3ded0; line-height: 1.6; }
.eg-more-link { color: var(--primary-color); font-weight: 500; text-decoration: underline; text-decoration-color: var(--secondary-color); }
.eg-more-why { color: #777; font-size: 0.88rem; }
.eg-prog-d { display: block; color: #555; font-size: 0.88rem; line-height: 1.55; margin-top: 2px; }
.eg-prog-note { margin: -4px 0 6px; }

.eg-consult {
    margin: 24px 0 8px;
    background: #f4f6fa;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 18px 20px;
}
.eg-consult h4 { color: var(--primary-color); font-size: 1.1rem; margin-bottom: 6px; }
.eg-consult > p { color: #444; line-height: 1.65; font-size: 0.95rem; }
.eg-consult-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 4px; }
.eg-consult-btns .btn-kakao { display: inline-flex; }
.eg-copy-msg { color: #2e6b3a; font-size: 0.88rem; min-height: 1.2em; }

.eg-res-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.eg-res-btns .btn { padding: 10px 18px; font-size: 0.93rem; }

.eg-disclaimer {
    border: 2px solid #c0392b;
    background: #fdf2f1;
    border-radius: 10px;
    padding: 14px 16px;
    color: #5a1d17;
    line-height: 1.7;
    font-size: 0.9rem;
}

.eg-copy-ta { position: fixed; left: -9999px; top: 0; }

@media (max-width: 768px) {
    .eg-section { padding: 24px 0 50px; }
    .eg-app { padding: 22px 16px; border-radius: 12px; }
    .eg-h, .eg-q-title { font-size: 1.2rem; }
    .eg-steps-preview, .eg-opts { grid-template-columns: minmax(0, 1fr); }
    .eg-opts-grouped .eg-opts, .eg-opts.eg-opts-grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .eg-opts-grouped .eg-opt { padding: 11px 8px 11px 36px; font-size: 0.92rem; }
    .eg-opts-grouped .eg-opt::before { left: 10px; }
    .eg-opts.eg-opts-grid2 .eg-opt { padding: 10px 8px 10px 32px; font-size: 0.88rem; line-height: 1.3; }
    .eg-opts.eg-opts-grid2 .eg-opt::before { left: 9px; width: 16px; height: 16px; }
    .eg-opts.eg-opts-grid2 .eg-opt-sub { font-size: 0.72rem; }
    .eg-grp-note { font-size: 0.7rem; }
    .eg-begin { width: 100%; }
    .eg-card { padding: 14px; gap: 10px; }
    .eg-consult-btns > * { flex: 1 1 100%; justify-content: center; text-align: center; }
    .eg-res-btns .btn { flex: 1 1 auto; }
}

@media print {
    header, nav, .pf-hero, .eg-warn, .pf-cta, .main-footer, .pf-floatnav, .pf-floatnav-r,
    .eg-consult, .eg-res-btns, #egStart, #egQ { display: none !important; }
    .eg-app { box-shadow: none; border: none; padding: 0; }
    .eg-summary { background: #fff; color: #000; border: 1px solid #000; }
}

/* 후순위 '더 찾아볼 곳'·맨 아래 고정 줄 (2026-11-22) */
.eg-extra { list-style: none; padding: 0; margin: 0; }
.eg-extra-g { margin-top: 10px; }
.eg-extra-t { display: block; color: var(--primary-color, #1a2a4a); font-size: 0.95rem; margin-bottom: 2px; }
.eg-foot-links { margin: 18px 0 0; font-size: 0.92rem; color: #555; line-height: 1.8; }
.eg-foot-links strong { margin-right: 6px; }

/* Q6 '전체 선택'(안내문 끝, 2026-11-22) */
.eg-all { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; font-weight: 700; color: var(--primary-color, #1a2a4a); cursor: pointer; white-space: nowrap; }
.eg-all input { width: 18px; height: 18px; accent-color: var(--secondary-color, #c9a227); cursor: pointer; }

/* Q6·Q2 '기타' 입력칸(2026-11-22, 2026-11-26) */
.eg-etc { margin-top: 12px; }
.eg-q2-etc { margin-top: 12px; padding: 12px 14px; background: #faf8f2; border: 1px solid #e6dfc8; border-radius: 10px; }
.eg-etc-l { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 4px; color: var(--primary-color, #1a2a4a); }
.eg-etc input { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #cfc8b4; border-radius: 8px; font-size: 1rem; background: #fff; }
.eg-etc input::placeholder { color: #9a9a9a; }
.eg-etc input:focus { outline: 2px solid var(--secondary-color, #c9a227); outline-offset: 1px; }
.eg-etc .eg-note { margin-top: 6px; }
.eg-etc-nomatch { background: #fff8e6; border-left: 3px solid var(--secondary-color, #c9a227); padding: 8px 10px; border-radius: 4px; font-size: 0.92rem; }
.eg-consult.is-urgent { border-color: #c0392b; background: #fff7f6; }
.eg-consult.is-urgent h4 { color: #9b1c1c; }
.eg-urgent-msg { background: #fdecec; border-left: 4px solid #c0392b; color: #5a1d17; padding: 10px 12px; border-radius: 6px; font-size: 0.92rem; line-height: 1.65; margin: 8px 0 10px; }
.eg-urgent-msg i { color: #c0392b; margin-right: 4px; }

/* Q2 '혁신·녹색·우수조달제품' 세부 선택 칩 (2026-11-26) */
.eg-subbox { margin-top: 10px; padding: 12px 14px; background: #f6f8fc; border: 1px solid #d9e2f2; border-radius: 10px; }
.eg-subbox-l { margin: 0 0 8px; font-size: 0.88rem; font-weight: 600; color: var(--primary-color, #1a2a4a); line-height: 1.5; }
.eg-sub-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.eg-sub-opt { padding: 8px 14px; border: 1.5px solid #c5cfe0; border-radius: 999px; background: #fff; color: #222; font: inherit; font-size: 0.92rem; font-weight: 600; cursor: pointer; transition: border-color 0.15s, background 0.15s, color 0.15s; }
.eg-sub-opt:hover { border-color: var(--secondary-color, #c9a227); }
.eg-sub-opt.is-on { background: var(--primary-color, #0d1e38); border-color: var(--secondary-color, #c9a227); color: #fff; }

/* 결과 화면 '수출 5단계 로드맵' 한 줄 (2026-11-22) */
.eg-roadmap { margin: 0 0 14px; padding: 12px 14px; background: #fff8e6; border: 1px solid #e8d49c; border-radius: 8px; font-size: 0.93rem; line-height: 1.7; color: #3d3320; }
.eg-roadmap:empty { display: none; }
.eg-roadmap > i { color: #8a6a1f; }
.eg-roadmap-main { font-weight: 700; color: var(--primary-color, #0d1e38); text-decoration: underline; text-decoration-color: var(--secondary-color, #c5a059); text-underline-offset: 3px; }
.eg-roadmap-rel { color: #555; }
.eg-start-roadmap { margin: 4px 0 14px; }
.eg-start-roadmap i { color: #8a6a1f; }

/* 최우선 추천 배지 및 건수 표시 (2026-11-23) */
.eg-pri-badge {
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #fef3c7;
    border: 1px solid #d4a853;
    color: #7c580a;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.4;
}
.eg-card.is-featured {
    border: 1.5px solid #c5a059;
    border-left: 5px solid #c5a059;
    background: linear-gradient(135deg, #fffdf5 0%, #faf5e4 100%);
    box-shadow: 0 6px 18px rgba(13, 30, 56, 0.08);
}
.eg-card.is-featured .eg-card-n {
    background: var(--secondary-color);
    color: var(--primary-color);
}
.eg-pri-badge.is-featured {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #f6e3a8;
}
.eg-prog-cnt {
    margin-left: 6px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--gold-text, #8a6a1f);
}

/* 질문 화면에서는 떠 있는 이전 화면·맨 위로·홈 단추를 숨긴다(export-guide.js의 show()가 body.eg-asking을 붙인다) */
body.eg-asking .pf-floatnav { display: none; }

/* 결과 화면 하단: 지원사업 연간 캘린더 연결 배너 (2026-11-24) */
.eg-cal-banner { display: flex; align-items: center; gap: 14px; margin: 18px 0 0; padding: 14px 16px; border-radius: 10px; background: linear-gradient(135deg, #0d1e38 0%, #1a3a6c 100%); color: #fff; text-decoration: none; }
.eg-cal-banner:hover { box-shadow: 0 6px 16px rgba(13, 30, 56, 0.25); color: #fff; }
.eg-cal-ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; background: rgba(197, 160, 89, 0.18); color: #c5a059; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.eg-cal-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.eg-cal-txt strong { color: #f6e3a8; font-size: 1rem; }
.eg-cal-txt small { font-size: 0.86rem; opacity: 0.9; line-height: 1.5; }
.eg-cal-go { flex: 0 0 auto; font-weight: 700; color: #c5a059; white-space: nowrap; }
@media print { .eg-cal-banner { display: none; } }

/* Q1 보조 '진행 거래'의 꼬리 질문(계약금액, 2026-11-24): 위 보기와 구분되게 위쪽 선 */
.eg-follow { margin-top: 16px; padding-top: 14px; border-top: 1px dashed #d5dcea; }
.eg-follow-help { margin: -4px 0 10px; font-size: 0.86rem; color: #555; line-height: 1.55; }

/* '먼저 볼 곳' 아래 컴팩트 정보 사이트(KOTRA AI·KATI·화장품·목표 시장 3종 묶음, 2026-11-30) */
.eg-ai { margin: 14px 0 4px; padding: 13px 15px; background: #f3f6fb; border: 1px solid #c9d4e6; border-radius: 10px; }
.eg-ai-t { margin: 0 0 9px; font-weight: 700; font-size: 0.95rem; color: var(--primary-color, #1a2a4a); }
.eg-ai-t i { color: var(--secondary-color, #c9a227); }
.eg-ai-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.eg-ai-card { padding: 10px 12px; background: #fff; border: 1px solid #dce4f0; border-radius: 8px; }
.eg-ai-card.is-wide { grid-column: 1 / -1; background: #fafcff; }
.eg-ai-link { font-weight: 700; font-size: 0.93rem; color: var(--primary-color, #1a2a4a); text-decoration: underline; text-decoration-color: var(--secondary-color, #c9a227); text-underline-offset: 3px; }
.eg-ai-why { margin: 3px 0 0; color: #7a6220; font-size: 0.8rem; font-weight: 600; line-height: 1.45; }
.eg-ai-d { margin: 3px 0 0; color: #555; font-size: 0.83rem; line-height: 1.5; }
.eg-ai-mhead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-bottom: 8px; }
.eg-ai-mtitle { font-size: 0.92rem; color: var(--primary-color, #0d1e38); }
.eg-ai-mhead .eg-ai-why { margin: 0; }
.eg-ai-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.eg-ai-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 11px;
    border-radius: 999px;
    background: #fff;
    border: 1.5px solid #c5d1e3;
    color: var(--primary-color, #0d1e38);
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
}
.eg-ai-chip:hover { border-color: var(--secondary-color, #c5a059); background: #fffdf5; color: var(--primary-color, #0d1e38); }
.eg-ai-note { margin: 8px 0 0; font-size: 0.8rem; color: #666; }
/* 수출실적 0 + 수출계약 보유 기업 전용 자금 안내 (#egDealFund, 2026-11-24 작가님) */
.eg-df { margin: 0 0 22px; padding: 18px 18px 20px; border: 2px solid #c5a059; border-radius: 12px; background: #fffdf6; }
.eg-df[hidden] { display: none; }
.eg-df-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.eg-df-badge { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: #0d1e38; color: #f6e3a8; font-size: 0.78rem; font-weight: 700; }
.eg-df-title { margin: 0; font-size: 1.18rem; color: #0d1e38; line-height: 1.45; }
.eg-df-intro { margin: 0 0 10px; font-size: 0.95rem; line-height: 1.7; color: #333; }
.eg-df-notes { margin: 0 0 6px; padding-left: 20px; font-size: 0.88rem; line-height: 1.65; color: #555; }
.eg-df-notes li { margin-bottom: 4px; }
.eg-df-notes li.is-strong { color: #7c2d12; font-weight: 600; }
.eg-df-sub { margin: 18px 0 10px; font-size: 1.02rem; color: #0d1e38; }
.eg-df-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.eg-df-card { display: flex; flex-direction: column; padding: 14px; border: 1px solid #e2e6ee; border-left-width: 5px; border-radius: 10px; background: #fff; }
.eg-df-card.is-ok { border-left-color: #15803d; }
.eg-df-card.is-cond { border-left-color: #c5a059; }
.eg-df-card.is-alt { border-left-color: #94a3b8; }
.eg-df-card.is-deal { border-left-color: #1a3a6c; }
.eg-df-card.is-fit { box-shadow: 0 0 0 2px #f2d98c; }
.eg-df-card-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; }
.eg-df-org { font-size: 0.98rem; color: #0d1e38; }
.eg-df-st { padding: 2px 9px; border-radius: 999px; font-size: 0.76rem; font-weight: 700; line-height: 1.5; }
.eg-df-st.is-ok { background: #dcfce7; color: #14532d; }
.eg-df-st.is-cond { background: #fef3c7; color: #7c580a; }
.eg-df-st.is-alt { background: #eef1f5; color: #475569; }
.eg-df-st.is-deal { background: #e0e9f7; color: #1a3a6c; }
.eg-df-prod { margin: 6px 0 4px; font-weight: 700; font-size: 0.92rem; color: #333; line-height: 1.5; }
.eg-df-fit { margin: 2px 0 4px; font-size: 0.84rem; color: #15803d; font-weight: 600; }
.eg-df-fit.is-wait { color: #1a3a6c; }
.eg-df-pts { margin: 4px 0 8px; padding-left: 18px; font-size: 0.87rem; line-height: 1.6; color: #444; }
.eg-df-pts li { margin-bottom: 4px; }
.eg-df-me { color: #0d1e38; }
.eg-df-chk, .eg-df-wait { display: inline-block; padding: 0 7px; border-radius: 4px; font-size: 0.72rem; font-weight: 700; line-height: 1.6; vertical-align: 1px; white-space: nowrap; }
.eg-df-chk { background: #fff4e5; border: 1px solid #f0b46a; color: #9a4a00; }
.eg-df-wait { background: #e0e9f7; color: #1a3a6c; }
.eg-df-where { margin: auto 0 6px; font-size: 0.84rem; color: #555; line-height: 1.55; }
.eg-df-where i { color: #8a6a1f; }
.eg-df-go { align-self: flex-start; font-size: 0.88rem; font-weight: 700; color: #1a3a6c; }
.eg-df-steps { margin: 0; padding-left: 0; list-style: none; counter-reset: dfstep; }
.eg-df-steps > li { position: relative; padding: 10px 12px 10px 46px; margin-bottom: 8px; background: #fff; border: 1px solid #e8d49c; border-radius: 10px; counter-increment: dfstep; }
.eg-df-steps > li::before { content: counter(dfstep); position: absolute; left: 12px; top: 10px; width: 24px; height: 24px; border-radius: 50%; background: #c5a059; color: #fff; font-weight: 700; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; }
.eg-df-step-h { font-size: 0.95rem; color: #0d1e38; line-height: 1.5; }
.eg-df-why { margin: 4px 0 0; font-size: 0.87rem; line-height: 1.65; color: #444; }
.eg-df-other { margin: 4px 0 0; }
.eg-df-other > summary { cursor: pointer; font-size: 0.9rem; font-weight: 600; color: #1a3a6c; padding: 6px 0; }
.eg-df-other[open] > summary { margin-bottom: 8px; }
.eg-df-docs { margin: 0 0 6px; padding-left: 20px; font-size: 0.9rem; line-height: 1.7; color: #333; }
.eg-df-disc { margin: 16px 0 12px; padding: 12px 14px; border: 1px solid #f3b4b4; border-left: 5px solid #c0392b; border-radius: 8px; background: #fff5f5; color: #7f1d1d; font-size: 0.87rem; line-height: 1.65; font-weight: 600; }
@media (max-width: 768px) {
    .eg-df { padding: 14px 12px 16px; }
    .eg-df-grid { grid-template-columns: minmax(0, 1fr); }
    .eg-df-title { font-size: 1.08rem; }
}
@media print { .eg-df { break-inside: auto; } .eg-df-card, .eg-df-steps > li { break-inside: avoid; } .eg-df-other:not([open]) > :not(summary) { display: block; } }

/* 품목별 핵심 체크·추천 기관 (#egItemGuide, 2026-11-24) */
.eg-item-guide { margin: 18px 0; }
.eg-item-guide[hidden] { display: none; }
.eg-ig-alert {
    margin: 0 0 10px;
    padding: 11px 14px;
    border: 1px solid #f3b4b4;
    border-left: 4px solid #c0392b;
    border-radius: 8px;
    background: #fff5f5;
    color: #7f1d1d;
    font-size: 0.91rem;
    line-height: 1.6;
    font-weight: 600;
}
.eg-ig-tip {
    margin: 0 0 10px;
    padding: 10px 14px;
    border: 1px solid #e8d49c;
    border-left: 4px solid var(--secondary-color, #c5a059);
    border-radius: 8px;
    background: #fffaf0;
    color: #3d3320;
    font-size: 0.9rem;
    line-height: 1.6;
}
.eg-ig-tips {
    list-style: none;
    margin: 0 0 12px;
    padding: 12px 14px;
    background: #f7f9fc;
    border: 1px solid #d5dcea;
    border-radius: 8px;
}
.eg-ig-tips li { padding: 5px 0; line-height: 1.6; font-size: 0.92rem; color: #2a3342; border-top: 1px dashed #d5dcea; }
.eg-ig-tips li:first-child { border-top: 0; padding-top: 0; }
.eg-ig-tips li:last-child { padding-bottom: 0; }
.eg-ig-badge {
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--primary-color, #0d1e38);
    color: #f6e3a8;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.5;
}
.eg-ig-pin {
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
    padding: 1px 7px;
    border-radius: 999px;
    background: #fef3c7;
    border: 1px solid #d4a853;
    color: #7c580a;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.45;
}

/* 결과 화면 강약 개편: 한눈에 보는 우선순위 · 3단계 정책금융 · 접기 아코디언 (2026-11-30) */
#egActionPlan { scroll-margin-top: calc(var(--eg-sbar-top, 70px) + 14px); }
#egTopWrap, #egDealFund, #egProgBox, #egItemGuide, #egMoreBox, #egConsult { scroll-margin-top: calc(var(--eg-sbar-top, 70px) + 58px); }

.eg-plan {
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: 12px;
    background: linear-gradient(180deg, #f8fafd 0%, #f1f5fb 100%);
    border: 1.5px solid #cfd9e8;
}
.eg-plan[hidden] { display: none; }
.eg-plan-h {
    margin: 0 0 10px;
    font-weight: 700;
    font-size: 0.96rem;
    color: var(--primary-color, #0d1e38);
}
.eg-plan-h i { color: var(--secondary-color, #c5a059); margin-right: 2px; }
.eg-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.eg-plan-step {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 12px 13px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #d9e2ef;
    border-top: 3px solid var(--secondary-color, #c5a059);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.eg-plan-step:hover {
    border-color: var(--primary-color, #0d1e38);
    box-shadow: 0 4px 12px rgba(13, 30, 56, 0.08);
    transform: translateY(-1px);
}
.eg-plan-step.is-urgent { border-top-color: #c0392b; background: #fff9f9; }
.eg-plan-top { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.eg-plan-n {
    display: inline-block;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--primary-color, #0d1e38);
    color: #f6e3a8;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.5;
}
.eg-plan-step.is-urgent .eg-plan-n { background: #c0392b; color: #fff; }
.eg-plan-t { font-size: 0.92rem; color: var(--primary-color, #0d1e38); line-height: 1.35; }
.eg-plan-d { font-size: 0.82rem; color: #4a5568; line-height: 1.5; flex: 1 1 auto; }
.eg-plan-go { font-size: 0.8rem; font-weight: 700; color: var(--gold-text, #8a6a1f); margin-top: 2px; }
.eg-plan-go i { font-size: 0.72rem; }

/* 정책금융·지원사업 핵심 티어(Tier 1, 기본 펼침) */
.eg-tier {
    margin: 10px 0 12px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1.5px solid #d9c388;
    border-left: 5px solid var(--secondary-color, #c5a059);
    background: #fffdf7;
}
.eg-tier[hidden] { display: none; }
.eg-tier-head {
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.95rem;
    color: var(--primary-color, #0d1e38);
}
.eg-tier-badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--primary-color, #0d1e38);
    color: #f6e3a8;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.45;
}
.eg-tier-cnt { font-size: 0.84rem; color: var(--gold-text, #8a6a1f); font-weight: 600; }
.eg-tier-list { list-style: none; padding: 0; margin: 0; }
.eg-tier-item {
    padding: 9px 0;
    border-top: 1px dashed #e5dab8;
    line-height: 1.6;
}
.eg-tier-item:first-child { border-top: 0; padding-top: 4px; }
.eg-tier-item:last-child { padding-bottom: 2px; }

/* 결과 화면 접기 아코디언 (Tier 2·Tier 3·더 찾아볼 곳) */
.eg-fold {
    margin: 10px 0 0;
    border: 1px solid #d5dcea;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}
.eg-fold[hidden] { display: none; }
.eg-fold.is-ref { border-color: #e2e5eb; background: #fafbfc; }
.eg-fold > summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    padding: 13px 15px;
    background: #f5f7fb;
    transition: background 0.15s;
}
.eg-fold.is-ref > summary { background: #f3f4f6; }
.eg-fold > summary::-webkit-details-marker { display: none; }
.eg-fold > summary::marker { content: ""; }
.eg-fold > summary:hover { background: #edf2f9; }
.eg-fold.is-ref > summary:hover { background: #eaedf2; }
.eg-fold > summary:focus-visible { outline: 2px solid var(--primary-color, #0d1e38); outline-offset: -2px; }
.eg-fold[open] > summary { border-bottom: 1px solid #dce3ee; }
.eg-fold-head { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.eg-fold-top { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.eg-fold-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    background: #e2e9f5;
    color: var(--primary-color, #0d1e38);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.45;
    white-space: nowrap;
}
.eg-fold.is-ref .eg-fold-badge { background: #e5e7eb; color: #4b5563; }
.eg-fold-title { font-size: 0.96rem; color: var(--primary-color, #0d1e38); line-height: 1.35; }
.eg-fold.is-ref .eg-fold-title { color: #374151; }
.eg-fold-sub { font-size: 0.82rem; color: #5b6575; line-height: 1.45; }
.eg-fold-cta {
    flex: none;
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #c5cfe0;
    color: var(--primary-color, #0d1e38);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}
.eg-fold-cta i { margin-left: 4px; font-size: 0.72rem; }
.eg-fold .eg-fold-close { display: none; }
.eg-fold[open] .eg-fold-open { display: none; }
.eg-fold[open] .eg-fold-close { display: inline; }
.eg-fold-body { padding: 10px 15px 14px; background: #fff; }
.eg-fold-note { margin: 0 0 8px; }

/* 스크롤 시 상단에 나타나는 1줄 단계 이동 바 (#egStickyBar, 2026-11-30) */
.eg-sbar {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--eg-sbar-top, 0px);
    z-index: 950;
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1.5px solid #d5dcea;
    box-shadow: 0 4px 14px rgba(13, 30, 56, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}
.eg-sbar[hidden] { display: none; }
.eg-sbar.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.eg-sbar-in {
    max-width: 820px;
    margin: 0 auto;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
}
.eg-sbar-in::-webkit-scrollbar { display: none; }
.eg-sbar-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 999px;
    border: 1px solid #cfd9e8;
    background: #f6f8fc;
    color: var(--primary-color, #0d1e38);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.eg-sbar-btn:hover { border-color: var(--secondary-color, #c5a059); background: #fffdf5; color: var(--primary-color, #0d1e38); }
.eg-sbar-btn.is-active {
    background: var(--primary-color, #0d1e38);
    border-color: var(--primary-color, #0d1e38);
    color: #fff;
}
.eg-sbar-btn.is-urgent:not(.is-active) { border-color: #e6a8a3; background: #fff6f5; color: #9b1c1c; }
.eg-sbar-btn.is-top {
    margin-left: auto;
    background: #fffdf5;
    border-color: #d9c388;
    color: var(--gold-text, #8a6a1f);
}
.eg-sbar-btn.is-top:hover { background: #fef7e0; border-color: var(--secondary-color, #c5a059); }
.eg-sbar-n {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--primary-color, #0d1e38);
    color: #f6e3a8;
    font-size: 0.7rem;
    font-weight: 700;
}
.eg-sbar-btn.is-active .eg-sbar-n { background: var(--secondary-color, #c5a059); color: var(--primary-color, #0d1e38); }
.eg-sbar-btn.is-urgent .eg-sbar-n { background: #c0392b; color: #fff; }

/* 각 단계 섹션 끝 이동 줄 (.eg-step-nav, 2026-11-30) */
.eg-step-nav {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid #e6e1d4;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
}
.eg-step-next {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 13px;
    border-radius: 999px;
    background: #f2f6fc;
    border: 1px solid #c9d6ea;
    color: var(--primary-color, #0d1e38);
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}
.eg-step-next:hover { background: #e6eefb; border-color: var(--primary-color, #0d1e38); color: var(--primary-color, #0d1e38); }
.eg-step-next i { font-size: 0.74rem; color: var(--gold-text, #8a6a1f); }
.eg-step-up {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.83rem;
    font-weight: 600;
    color: #5b6575;
    text-decoration: none;
}
.eg-step-up:hover { color: var(--primary-color, #0d1e38); text-decoration: underline; }
.eg-step-up i { font-size: 0.74rem; }

/* 단계별 구획 박스 및 선택 단계 색상 강조 (2026-11-30) */
.eg-plan-step.is-selected {
    border: 2px solid var(--primary-color, #0d1e38);
    border-top: 3px solid var(--primary-color, #0d1e38);
    background: #edf4fd;
    box-shadow: 0 4px 14px rgba(13, 30, 56, 0.13);
}
.eg-plan-step.is-selected.is-urgent { border-color: #c0392b; background: #fff1f0; }

.eg-step-sec:not(.eg-df) {
    margin: 18px 0;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1.5px solid #e4e8f0;
    background: #fff;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.eg-step-sec:not(.eg-df) > .eg-sub:first-child { margin-top: 0; }
.eg-step-sec.is-selected:not(.eg-df) {
    background: #edf4fd;
    border: 2px solid var(--primary-color, #0d1e38);
    box-shadow: 0 8px 24px rgba(13, 30, 56, 0.11);
}
.eg-step-sec.is-selected .eg-step-nav { border-top-color: #c4d5ee; }
.eg-df.eg-step-sec.is-selected {
    border-color: var(--primary-color, #0d1e38);
    box-shadow: 0 0 0 3px rgba(13, 30, 56, 0.18), 0 8px 24px rgba(13, 30, 56, 0.1);
}
.eg-step-tag {
    display: inline-block;
    vertical-align: middle;
    margin-right: 7px;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--primary-color, #0d1e38);
    color: #f6e3a8;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.45;
}
.eg-step-tag.is-urgent { background: #c0392b; color: #fff; }
.eg-step-picked {
    display: none;
    vertical-align: middle;
    margin-left: 8px;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--secondary-color, #c5a059);
    color: var(--primary-color, #0d1e38);
    font-size: 0.73rem;
    font-weight: 700;
    line-height: 1.45;
}
.eg-step-sec.is-selected .eg-step-picked { display: inline-block; }

@media (max-width: 768px) {
    .eg-plan-grid { grid-template-columns: minmax(0, 1fr); }
    .eg-ai-grid { grid-template-columns: minmax(0, 1fr); }
    .eg-tier { padding: 12px 13px; }
    .eg-fold > summary { flex-direction: column; align-items: stretch; gap: 8px; padding: 12px 13px; }
    .eg-fold-cta { align-self: flex-start; }
    .eg-fold-body { padding: 8px 13px 12px; }
    .eg-sbar-in { padding: 7px 12px; gap: 5px; }
    .eg-sbar-btn { padding: 5px 9px; font-size: 0.78rem; }
    .eg-step-nav { justify-content: flex-start; }
    .eg-step-up { margin-left: auto; }
    .eg-step-sec:not(.eg-df) { padding: 14px 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .eg-sbar, .eg-step-sec { transition: none; }
}
@media print {
    .eg-plan, .eg-sbar, .eg-step-nav, .eg-step-picked { display: none !important; }
    .eg-step-sec:not(.eg-df) { border: 0; padding: 0; background: #fff; box-shadow: none; }
    .eg-fold:not([open]) > :not(summary) { display: block; }
    .eg-fold-cta { display: none; }
}




