/* 공개 설문 페이지 전용 스타일 — 기관 포인트 컬러(주황) 기반 팔레트 */
:root {
    /* 랜딩 리디자인 토큰 (main_page_redesign_plan) */
    --orange-50:  #FFFBF5;
    --orange-100: #FFF7ED;
    --orange-200: #FFEDD5;
    --orange-300: #FED7AA;
    --orange-400: #FDBA74;
    --orange-500: #FB923C;
    --orange-600: #F97316;
    --orange-700: #E87722;
    --orange-800: #C2410C;
    --orange-900: #9A3412;
    --cream:      #FAF6F0;
    --cream-deep: #F2EBDF;
    --ink-900:    #1F2937;
    --ink-700:    #374151;
    --ink-500:    #6B7280;
    --ink-400:    #9CA3AF;
    --ink-300:    #D1D5DB;
    --ink-200:    #E5E7EB;
    --success:    #10B981;
    --warning-bg: #FEF3C7;
    --warning-bd: #F59E0B;
    --fs-h1: 34px;
    --fs-h2: 26px;
    --fs-h3: 19px;
    --fs-body: 16px;
    --fs-caption: 13px;
    --fs-micro: 12px;
    --fw-bold: 800;
    --fw-semi: 700;
    --fw-medium: 500;
    --fw-regular: 400;
    --sp-1: 4px;
    --sp-2: 8px;
    --sp-3: 12px;
    --sp-4: 16px;
    --sp-5: 20px;
    --sp-6: 24px;
    --sp-8: 32px;
    --sp-10: 40px;
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 20px;
    --r-2xl: 24px;
    --sh-sm: 0 1px 3px rgba(17, 24, 39, 0.06);
    --sh-md: 0 4px 10px rgba(17, 24, 39, 0.06), 0 10px 20px rgba(17, 24, 39, 0.04);
    --sh-lg: 0 10px 30px rgba(232, 119, 34, 0.18);
    --sh-cta: 0 8px 24px rgba(232, 119, 34, 0.35);

    --primary: var(--orange-700);
    --primary-dark: var(--orange-800);
    --primary-light: var(--orange-100);
    --accent: #5D3A1A;
    --accent-light: #8A5A30;
    --bg: var(--cream);
    --surface: #FFFFFF;
    --text: var(--ink-900);
    --text-mute: #6B5E52;
    --border: #E8DFD3;
    --error: #D94141;
    --radius: 10px;
    --shadow-sm: var(--sh-sm);
    --shadow-md: 0 6px 18px rgba(93, 58, 26, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* T11: 타이포 스케일 (랜딩·공통 유틸) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
h1, .type-h1, .hero-title {
    font-size: var(--fs-h2);
    font-weight: var(--fw-bold);
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: inherit;
}
h2, .type-h2 {
    font-size: var(--fs-h2);
    font-weight: var(--fw-semi);
    letter-spacing: -0.015em;
    line-height: 1.35;
    color: var(--ink-900);
}
h3, .type-h3, .preview-title {
    font-size: var(--fs-h3);
    font-weight: var(--fw-semi);
    line-height: 1.4;
    color: inherit;
}
p.type-body, .hero-sub {
    font-size: var(--fs-body);
    font-weight: var(--fw-regular);
    line-height: 1.6;
    color: inherit;
}
.type-caption { font-size: var(--fs-caption); color: var(--ink-500); }
@media (min-width: 1024px) {
    h1, .type-h1, .hero-title { font-size: var(--fs-h1); }
}

.survey-topbar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 10px 32px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.survey-topbar .brand-banner {
    display: block;
    height: 56px;
    width: auto;
    flex-shrink: 0;
}
.survey-topbar .subtitle {
    color: var(--accent); font-size: 13px; font-weight: 700;
    padding-left: 14px; margin-left: 4px;
    border-left: 2px solid var(--border);
}

.survey-container {
    max-width: 960px;
    margin: 32px auto 80px;
    padding: 0 20px;
}

.survey-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 32px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}
.survey-section h2 {
    font-size: 17px; margin-bottom: 4px; color: var(--text);
    display: flex; align-items: center; gap: 10px;
}
.survey-section .section-num {
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 12px; font-weight: 800;
    padding: 3px 10px; border-radius: 999px;
}
.survey-section .section-desc {
    color: var(--text-mute); font-size: 13px; margin-bottom: 20px; line-height: 1.6;
}
.survey-section .section-desc--tight {
    margin-top: 4px;
    margin-bottom: 14px;
    color: var(--text);
    font-weight: 600;
}
.ai-education-brief {
    margin: 0 0 20px;
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: linear-gradient(165deg, #f4faf6 0%, #f8faf8 100%);
    font-size: 13px;
    line-height: 1.6;
    color: var(--text);
}
.ai-education-brief h3 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}
.ai-education-brief > p {
    margin: 0 0 12px;
    color: #2f2a25;
}
.ai-education-brief__label {
    margin: 0 0 6px !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #64748b;
    text-transform: uppercase;
}
.ai-education-brief__schedule {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px dashed rgba(26, 77, 62, 0.2);
    padding-top: 10px;
}
.ai-education-brief__schedule li {
    padding: 6px 0;
    font-size: 13px;
    color: #3f3428;
    border-top: 1px dashed #e2e8e4;
}
.ai-education-brief__schedule li:first-child {
    border-top: none;
    padding-top: 0;
}
.ai-education-brief__sched-h {
    display: inline-block;
    min-width: 2.5em;
    font-weight: 800;
    color: var(--primary-dark);
    margin-right: 6px;
}

.form-row { margin-bottom: 18px; }
.form-row.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row label {
    display: block; font-size: 13px; font-weight: 700;
    color: var(--text); margin-bottom: 6px;
}
.form-row label .req { color: var(--error); margin-left: 3px; }

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row textarea,
.form-row select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    background: #fff;
    color: var(--text);
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 139, 69, 0.15);
}
.form-row textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.form-row .hint { font-size: 12px; color: var(--text-mute); margin-top: 4px; }
.form-row .field-error {
    font-size: 12px;
    line-height: 1.45;
    color: var(--error);
    margin: 6px 0 0;
}
.form-row .field-error:empty {
    display: none;
    margin: 0;
}
.form-row input.is-field-invalid {
    border-color: var(--error);
    box-shadow: 0 0 0 1px rgba(217, 65, 65, 0.25);
}

.form-row .row-disabled-note {
    display: none;
    margin-top: 6px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 12px;
}
.form-row.inactive {
    opacity: .55;
}
.form-row.inactive > label { color: var(--text-mute); }
.form-row.inactive input[type="text"],
.form-row.inactive input[type="email"],
.form-row.inactive input[type="tel"],
.form-row.inactive textarea,
.form-row.inactive select {
    background: #f5f7fb;
    color: #94a3b8;
    cursor: not-allowed;
}
.form-row.inactive .file-zone {
    pointer-events: none;
    background: #f5f7fb;
    border-style: solid;
    color: #94a3b8;
}
.form-row.inactive .file-zone .file-msg { color: #94a3b8; }
.form-row.inactive .file-zone .file-msg strong { color: #94a3b8; }
.form-row.inactive .hint { display: none; }
.form-row.inactive .row-disabled-note { display: block; }
.form-row.inactive .req { display: none !important; }

.consent-box {
    background: var(--primary-light);
    border: 1px solid #C6E6CB;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 13px; color: #234C2A;
    line-height: 1.65;
    margin-bottom: 12px;
}
.consent-row {
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 700; color: var(--text);
}
.consent-row input[type="checkbox"] {
    width: 18px; height: 18px; accent-color: var(--primary);
}

.radio-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.radio-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px;
    cursor: pointer;
    background: #fff;
    transition: all 0.15s;
    font-size: 14px; font-weight: 600; color: var(--text);
    text-align: center;
    user-select: none;
}
.radio-card:hover { border-color: var(--primary); }
.radio-card input[type="radio"] { display: none; }
.radio-card.selected {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary-dark);
    box-shadow: inset 0 0 0 1px var(--primary);
}

.file-zone {
    border: 2px dashed var(--border);
    border-radius: 8px;
    padding: 22px;
    text-align: center;
    background: #FAFBFA;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}
.file-zone:hover { border-color: var(--primary); background: var(--primary-light); }
.file-zone input[type="file"] { display: none; }
.file-zone .file-icon { font-size: 24px; margin-bottom: 6px; }
.file-zone .file-msg { font-size: 13px; color: var(--text-mute); }
.file-zone .file-msg strong { color: var(--primary-dark); }

.file-list { list-style: none; margin-top: 10px; padding: 0; }
.file-list li {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 12px; background: #fff; border: 1px solid var(--border);
    border-radius: 6px; margin-bottom: 6px; font-size: 13px;
}
.file-list .size { color: var(--text-mute); font-size: 12px; margin-left: 10px; }
.file-list .remove-btn {
    background: none; border: none; color: var(--error);
    font-size: 13px; cursor: pointer; padding: 0 6px;
}

.submit-bar {
    display: flex; justify-content: flex-end; gap: 10px;
    padding: 12px 0;
}
.btn {
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    padding: 12px 22px;
    font-size: 14px; font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--bg); }
.btn.primary {
    background: var(--primary); color: #fff; border-color: var(--primary);
}
.btn.primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn.primary:disabled { opacity: 0.6; cursor: not-allowed; }

.error-banner {
    background: #FDECEC;
    border: 1px solid #F4C4C4;
    color: #8C2323;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px; font-weight: 600;
    margin-bottom: 16px;
}

.done-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
    margin-top: 40px;
}
.done-card .check {
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--primary-light); color: var(--primary-dark);
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; margin: 0 auto 16px;
}
.done-card h2 { font-size: 22px; margin-bottom: 8px; color: var(--text); }
.done-card p { color: var(--text-mute); font-size: 14px; line-height: 1.6; margin-bottom: 24px; }
.done-card .btn-row { display: flex; gap: 10px; justify-content: center; }

/* ──────────────── 랜딩 페이지 진입 카드 ──────────────── */
.entry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}
.entry-grid .entry-card.survey-go {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border-color: transparent;
}
.entry-grid .entry-card.survey-go .entry-desc,
.entry-grid .entry-card.survey-go .entry-cta { color: rgba(255, 255, 255, 0.92); }
.entry-card {
    display: block;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.entry-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.entry-card .entry-badge {
    display: inline-block;
    font-size: 11px; font-weight: 800; letter-spacing: 0.3px;
    padding: 3px 10px; border-radius: 999px;
    background: var(--primary-light); color: var(--primary-dark);
    margin-bottom: 12px;
}
.entry-card .entry-badge.highlight {
    background: rgba(255, 255, 255, 0.25); color: #fff;
}
.entry-card .entry-title {
    font-size: 17px; font-weight: 800; margin-bottom: 4px; color: inherit;
    line-height: 1.35;
}
.entry-card.survey-go .entry-title { color: #fff; font-size: 19px; }
.entry-card .entry-target {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 4px 10px;
    margin-bottom: 10px;
    letter-spacing: -0.1px;
}
.entry-card.survey-go .entry-target {
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
}
.entry-card .entry-desc {
    font-size: 13px; color: var(--text-mute); line-height: 1.55; margin-bottom: 16px;
}
.entry-card .entry-cta {
    font-size: 13px; font-weight: 700; color: var(--primary-dark);
}
/* ─────────────── 랜딩 페이지 (리디자인) — hero · flow · preview · CTA · sector-guide ─────────────── */
body.page-landing {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow-x: clip;
    -webkit-tap-highlight-color: rgba(232, 119, 34, 0.15);
}
body.page-landing .survey-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 1200px;
    width: 100%;
    margin: 20px auto 40px;
    padding: 20px 24px;
    gap: var(--sp-6);
}
body.page-landing .hero-banner,
body.page-landing .flow-steps,
body.page-landing .preview-section,
body.page-landing .tier-info,
body.page-landing .landing-notice,
body.page-landing .legal-note { margin: 0; }

/* T1: 히어로 배너 */
body.page-landing .hero-banner {
    position: relative;
    padding: 40px 48px 48px;
    background:
        radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.2), transparent 55%),
        linear-gradient(135deg, var(--orange-500) 0%, var(--orange-700) 55%, var(--orange-800) 100%);
    color: #fff;
    border-radius: var(--r-2xl);
    overflow: hidden;
    box-shadow: var(--sh-lg);
}
body.page-landing .hero-banner::before {
    content: '';
    position: absolute;
    top: -100px; right: -80px;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
    pointer-events: none;
}
body.page-landing .hero-title {
    position: relative;
    z-index: 1;
    max-width: 60%;
    margin: 0 0 var(--sp-3);
    color: #fff;
}
body.page-landing .hero-sub {
    position: relative;
    z-index: 1;
    max-width: 55%;
    margin: 0;
    opacity: 0.92;
    color: #fff;
}
body.page-landing .hero-illust {
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: auto;
    pointer-events: none;
    z-index: 1;
}

/* T8: 플로우 스텝 */
.flow-steps { width: 100%; }
.flow-steps__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-3);
    list-style: none;
    padding: 0;
    margin: 0;
}
.flow-step {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 14px 16px;
    background: #fff;
    border: 1.5px solid var(--cream-deep);
    border-radius: var(--r-md);
    position: relative;
    touch-action: manipulation;
}
.flow-step--current {
    border-color: var(--orange-400);
    background: var(--orange-50);
}
.flow-step__num {
    flex-shrink: 0;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--ink-200);
    color: var(--ink-500);
    display: flex; align-items: center; justify-content: center;
    font-weight: var(--fw-bold);
    font-size: 13px;
}
.flow-step--current .flow-step__num {
    background: var(--orange-700);
    color: #fff;
}
.flow-step__body strong { display: block; font-size: 13px; color: var(--ink-900); }
.flow-step__body > span { font-size: var(--fs-micro); color: var(--ink-500); }
.flow-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -14px; top: 50%;
    transform: translateY(-50%);
    color: var(--ink-300);
    z-index: 1;
    font-size: 14px;
}

/* T2+T5: 시안 3열 + CTA */
.preview-section { display: flex; flex-direction: column; gap: var(--sp-8); width: 100%; }
.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-5);
}
.preview-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--sp-4);
    text-decoration: none;
    color: inherit;
    box-shadow: var(--sh-sm);
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
    min-height: 0;
    touch-action: manipulation;
}
.preview-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--sh-md);
    border-color: var(--orange-300);
}
.preview-card:focus {
    outline: none;
}
.preview-card:focus-visible {
    box-shadow: var(--sh-md);
    border-color: var(--orange-500);
    outline: 2px solid var(--orange-400);
    outline-offset: 2px;
}
.preview-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--orange-50), var(--orange-100));
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--sp-4);
}
.preview-thumbnail__svg {
    width: 60%;
    max-width: 100px;
    height: auto;
    color: var(--orange-700);
}
.preview-label {
    display: inline-block;
    font-size: var(--fs-micro);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--orange-800);
    margin-bottom: 6px;
}
.preview-title { margin: 0 0 8px; color: var(--ink-900); }
.preview-target {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--r-sm);
    font-size: var(--fs-micro);
    font-weight: var(--fw-semi);
    margin: 0 0 10px;
}
.target-decision { background: var(--orange-100); color: var(--orange-800); }
.target-support  { background: var(--orange-200); color: var(--orange-900); }
.target-handler  { background: var(--orange-300); color: var(--orange-900); }
.preview-desc {
    font-size: var(--fs-body);
    color: var(--ink-700);
    line-height: 1.55;
    margin: 0 0 12px;
    flex: 1;
}
.preview-link {
    font-size: var(--fs-body);
    font-weight: 700;
    color: var(--orange-800);
    margin-top: auto;
}

/* 독립 CTA 배너 */
.cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-6);
    padding: 28px 40px;
    background: linear-gradient(135deg, var(--orange-700) 0%, var(--orange-800) 100%);
    border-radius: var(--r-xl);
    box-shadow: var(--sh-cta);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-banner-text { flex: 1; min-width: 0; }
.cta-banner-title {
    font-size: 22px;
    font-weight: var(--fw-bold);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
    color: #fff;
}
.cta-banner-desc {
    font-size: var(--fs-body);
    margin: 0;
    opacity: 0.92;
    line-height: 1.55;
    color: #fff;
}
.cta-banner-desc strong {
    background: rgba(255, 255, 255, 0.22);
    padding: 2px 8px;
    border-radius: 999px;
    margin: 0 2px;
}
a.cta-banner-button,
a.cta-banner-button:visited {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    min-height: 48px;
    background: #fff;
    color: var(--orange-800) !important;
    border: none;
    border-radius: var(--r-md);
    font: inherit;
    font-size: 15px;
    font-weight: var(--fw-bold);
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a.cta-banner-button:hover { transform: translateY(-2px); color: var(--orange-800) !important; }
a.cta-banner-button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

body.page-landing .landing-notice { padding: 14px 22px; font-size: 13.5px; }

@media (min-width: 1800px) {
    body.page-landing .survey-container { max-width: 1200px; }
    body.page-landing .hero-banner { padding: 44px 56px 52px; }
    body.page-landing .hero-title { font-size: 34px; }
    body.page-landing .hero-sub { font-size: 16px; }
}

@media (max-width: 1023px) {
    .flow-steps__list { grid-template-columns: 1fr; }
    .flow-step:not(:last-child)::after { display: none; }
}

@media (max-width: 900px) {
    .preview-grid { grid-template-columns: 1fr; }
    body.page-landing .hero-title,
    body.page-landing .hero-sub { max-width: 100%; }
    body.page-landing .hero-illust {
        width: 100px;
        opacity: 0.35;
        right: 10px;
    }
    .cta-banner { flex-direction: column; align-items: stretch; padding: 24px; }
    a.cta-banner-button { justify-content: center; width: 100%; }
}

@media (max-width: 767px) {
    body.page-landing .hero-banner { padding: 28px 20px 32px; border-radius: var(--r-lg); }
    body.page-landing .hero-title { font-size: 22px; }
    body.page-landing .survey-container { padding: 16px; gap: 16px; }
}

@media (max-height: 820px) {
    body.page-landing .survey-container { margin: 14px auto; padding: 14px; gap: 12px; }
    body.page-landing .hero-banner { padding: 24px 28px; }
}

.landing-notice {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 24px 0 12px;
    padding: 12px 20px;
    border-radius: 14px;
    background: #FFF8E1;
    border: 1px solid #F3D77A;
    color: #6B4A00;
    font-size: 13px;
    font-weight: 600;
    width: 100%;
    text-align: left;
}
.landing-notice .landing-notice-line {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
}
.landing-notice .landing-notice-icon { font-size: 15px; line-height: 1; flex-shrink: 0; }

.legal-note {
    font-size: 12px; color: var(--text-mute);
    text-align: center;
}

/* ──────────────── 스테퍼 ──────────────── */
.stepper {
    display: flex; align-items: center; justify-content: center;
    margin: 8px 0 28px;
    gap: 4px;
}
.stepper-item {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    min-width: 120px;
}
.stepper-dot {
    width: 36px; height: 36px; border-radius: 50%;
    background: #fff; border: 2px solid var(--border);
    color: var(--text-mute);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 14px;
    transition: all 0.2s;
}
.stepper-label {
    font-size: 12px; color: var(--text-mute); font-weight: 600;
    text-align: center;
}
.stepper-item.active .stepper-dot {
    background: var(--primary); border-color: var(--primary); color: #fff;
    box-shadow: 0 0 0 4px rgba(45, 139, 69, 0.18);
}
.stepper-item.active .stepper-label { color: var(--primary-dark); }
.stepper-item.done .stepper-dot {
    background: var(--primary-light); border-color: var(--primary); color: var(--primary-dark);
}
.stepper-line {
    flex: 0 0 40px; height: 2px; background: var(--border);
    margin: 0 4px 20px;
    transition: background 0.2s;
}
.stepper-line.done { background: var(--primary); }

/* ──────────────── 단계 네비게이션 바 ──────────────── */
.nav-bar {
    display: flex; justify-content: space-between; gap: 10px;
    padding: 12px 0;
}

/* ──────────────── step2 시안 빠른 링크 ──────────────── */
.mockup-quick-links {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    padding: 10px 14px;
    background: #fff; border: 1px solid var(--border); border-radius: 8px;
    margin-bottom: 16px;
    font-size: 12px; color: var(--text-mute);
}
.mockup-quick-links .chip {
    display: inline-block;
    padding: 5px 10px; border-radius: 999px;
    background: var(--primary-light); color: var(--primary-dark);
    font-size: 12px; font-weight: 700; text-decoration: none;
    border: 1px solid transparent;
    transition: background 0.15s, border-color 0.15s;
}
.mockup-quick-links .chip:hover {
    background: #fff; border-color: var(--primary);
}

.mockup-opinion-grid {
    display: grid;
    gap: 14px;
}
.mockup-opinion-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.mockup-opinion-card:focus-within {
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(37,99,235,.08);
}
.mockup-opinion-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 14px 16px;
    background: #f9fbff;
    border-bottom: 1px solid var(--border);
}
.mockup-opinion-head strong {
    display: block;
    font-size: 14px;
    color: var(--text);
}
.mockup-opinion-head p {
    margin-top: 2px;
    font-size: 12px;
    color: var(--text-mute);
}
.mockup-opinion-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.mockup-opinion-body {
    display: block;
    padding: 14px 16px 16px;
}

/* ── 만족도 2단계 선택 ─────────────────────────────── */
.satisfaction-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.satisfaction-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}
.satisfaction-label em,
.opinion-textarea-label em {
    font-style: normal;
    color: #dc2626;
    font-weight: 700;
    margin-left: 2px;
}
.satisfaction-scale {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
}
.satisfaction-option {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    padding: 10px 18px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    font-size: 13.5px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.satisfaction-option::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid #cbd5e1;
    background: #fff;
    margin-right: 8px;
    flex-shrink: 0;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.satisfaction-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.satisfaction-option:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}
.satisfaction-option:has(input:focus-visible) {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .18);
}
/* 선택 시 — 2단계 톤 */
.satisfaction-option.level-satisfied:has(input:checked) {
    background: #dcfce7; border-color: #4ade80; color: #15803d;
}
.satisfaction-option.level-satisfied:has(input:checked)::before {
    background: #16a34a; border-color: #16a34a;
    box-shadow: inset 0 0 0 3px #fff;
}
.satisfaction-option.level-improve:has(input:checked) {
    background: #fef3c7; border-color: #fbbf24; color: #b45309;
}
.satisfaction-option.level-improve:has(input:checked)::before {
    background: #d97706; border-color: #d97706;
    box-shadow: inset 0 0 0 3px #fff;
}

/* ── 개선의견 텍스트 영역 (조건부) ─────────────────────────── */
.opinion-textarea-wrap {
    display: none; /* 기본은 숨김 — JS 가 개선의견 선택 시 display:block 로 전환 */
    margin-top: 4px;
    padding: 14px;
    border: 1px dashed #fbbf24;
    background: #fffbeb;
    border-radius: 10px;
}
.mockup-opinion-card.show-opinion .opinion-textarea-wrap {
    display: block;
}
.opinion-textarea-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #92400e;
}
.mockup-opinion-card textarea {
    width: 100%;
    min-height: 128px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fcfdff;
    color: var(--text);
    font-size: 14px;
    line-height: 1.65;
    font-family: inherit;
    resize: vertical;
    box-shadow: inset 0 1px 0 rgba(15, 23, 42, .02);
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}
.mockup-opinion-card textarea::placeholder {
    color: #9aa5b6;
    font-size: 13.5px;
}
.mockup-opinion-card textarea:hover {
    border-color: #cbd5e1;
    background: #fff;
}
.mockup-opinion-card textarea:focus {
    border-color: #60a5fa;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}

.mockup-opinion-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-mute);
}
.mockup-opinion-footer .count {
    font-variant-numeric: tabular-nums;
}
.mockup-opinion-footer .count strong {
    color: var(--text);
    font-weight: 600;
}
.mockup-opinion-footer .count.over strong {
    color: #dc2626;
}

/* ──────────────── 이벤트 Tier 버튼/배지/배너 ──────────────── */
.nav-bar-right {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

.btn.tier-submit {
    background: #fff;
    color: #B45309;
    border-color: #fbbf24;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}
.btn.tier-submit:hover {
    background: #FFFBEB;
    border-color: #d97706;
    color: #92400e;
}
.btn.tier-submit .tier-badge {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fbbf24;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .2px;
}
/* Tier1 버튼 상태(AI교육 Y) */
.btn.tier-submit.tier-t1 {
    background: #EFF6FF; border-color: #93c5fd; color: #1d4ed8;
}
.btn.tier-submit.tier-t1 .tier-badge {
    background: #dbeafe; color: #1e40af; border-color: #93c5fd;
}
/* Tier0 버튼 상태(AI교육 N) — 이벤트 미참여 */
.btn.tier-submit.tier-t0 {
    background: #f8fafc; border-color: #cbd5e1; color: #475569;
}
.btn.tier-submit.tier-t0 .tier-badge {
    background: #e2e8f0; color: #475569; border-color: #cbd5e1;
}
/* Tier3 제출 버튼(Step3) */
.btn.primary.tier-t3 {
    background: linear-gradient(135deg, #0ea5e9 0%, #1d4ed8 100%);
    border-color: #1d4ed8;
    color: #fff;
}
.btn.primary.tier-t3:hover {
    background: linear-gradient(135deg, #0284c7 0%, #1e3a8a 100%);
}
.btn.primary.tier-t2 {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* 상단 Sector 안내 배너 (step2/step3 공용) */
.tier-hint-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e3a8a;
    font-size: 13px;
    line-height: 1.55;
}
.tier-hint-banner b { color: #1d4ed8; }
.tier-hint-banner--lead {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}
.tier-hint-banner--lead > p { margin: 0; }
.tier-hint-sub {
    font-size: 12.5px;
    color: #334155;
    border-top: 1px dashed #bfdbfe;
    padding-top: 8px;
    margin-top: 2px !important;
}
.tier3-notice-box {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #9a3412;
    font-size: 13px;
    line-height: 1.55;
}
.tier3-notice-box__title {
    font-weight: 800;
    margin-bottom: 6px;
    font-size: 13px;
}
.tier3-notice-box p { margin: 0; }
.tier-chip {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    background: #1d4ed8;
    color: #fff;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .3px;
    flex-shrink: 0;
}

/* AI 교육 라디오 카드 행 — 2열로 넓게 */
.radio-group.ai-training-group { grid-template-columns: 1fr 1fr; }

/* ──────────────── 완료 페이지 Tier 표시 ──────────────── */
.done-card .tier-result-badge {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    padding: 14px 28px;
    border-radius: 14px;
    margin: 0 auto 18px;
    border: 1px solid var(--border);
    background: #f8fafc;
    box-shadow: var(--shadow-sm);
}
.done-card .tier-result-label {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .6px;
    color: #64748b;
    text-transform: uppercase;
}
.done-card .tier-result-value {
    font-size: 30px;
    font-weight: 900;
    color: #1e293b;
    letter-spacing: -0.5px;
}
.done-card .tier-result-badge.tier-result-t0 { background: #f1f5f9; }
.done-card .tier-result-badge.tier-result-t0 .tier-result-value { color: #475569; }
.done-card .tier-result-badge.tier-result-t1 {
    background: #eff6ff; border-color: #bfdbfe;
}
.done-card .tier-result-badge.tier-result-t1 .tier-result-value { color: #1d4ed8; }
.done-card .tier-result-badge.tier-result-t2 {
    background: #ecfdf5; border-color: #a7f3d0;
}
.done-card .tier-result-badge.tier-result-t2 .tier-result-value { color: #047857; }
.done-card .tier-result-badge.tier-result-t3 {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-color: #fdba74;
}
.done-card .tier-result-badge.tier-result-t3 .tier-result-value {
    background: linear-gradient(135deg, #ea580c 0%, #b91c1c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ──────────────── 랜딩 — Sector 안내 + tier-calc (톤온톤) ──────────────── */
.tier-info {
    margin: 4px 0 18px;
    padding: 22px 24px;
    background: var(--orange-50);
    border: 1px solid var(--orange-200);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-sm);
}
.tier-info-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.tier-info-head h2 { margin: 0; }
.tier-info-head .tier-info-sub {
    width: 100%;
    font-size: var(--fs-caption);
    color: var(--ink-500);
    font-weight: 600;
    line-height: 1.5;
}
.tier-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.tier-info-item {
    background: var(--surface);
    border: 1.5px solid var(--orange-200);
    border-radius: var(--r-md);
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.tier-info-item .tier-info-num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--orange-500);
    color: #fff;
    font-size: 13px;
    font-weight: var(--fw-bold);
}
.tier-info-item.sector-2 .tier-info-num { background: var(--orange-700); }
.tier-info-item.sector-3 .tier-info-num {
    background: linear-gradient(145deg, var(--orange-600) 0%, var(--orange-800) 100%);
    box-shadow: 0 2px 8px rgba(194, 65, 12, 0.35);
}
.tier-info-item .tier-info-body { min-width: 0; }
.tier-info-item .tier-info-body strong {
    display: block;
    font-size: 13.5px;
    color: var(--ink-900);
    margin-bottom: 4px;
}
.tier-info-item .tier-info-body > span:first-of-type {
    display: block;
    font-size: var(--fs-caption);
    color: var(--ink-500);
    line-height: 1.55;
}

/* T6: Sector 3 전용 경고 (hero와 중복 문구는 제거됨) */
.sector-warn {
    margin-top: 10px;
    padding: 9px 11px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: var(--warning-bg);
    border: 1px solid var(--warning-bd);
    border-radius: var(--r-sm);
    font-size: var(--fs-micro);
    line-height: 1.5;
    color: var(--ink-900);
}
.sector-warn__icon { flex-shrink: 0; margin-top: 1px; }
.sector-warn strong { color: var(--orange-800); }

.guide-divider {
    border: none;
    height: 1px;
    margin: 18px 0;
    background: linear-gradient(90deg, transparent, var(--orange-300), transparent);
}

/* T10: Tier 산정 — 수평 칩 + 연결선 */
.tier-calc {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    flex-wrap: wrap;
    padding: 4px 0 8px;
}
.tier-calc__step {
    flex: 1 1 0;
    min-width: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}
.tier-connector {
    flex: 0 0 24px;
    max-width: 40px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--orange-200), var(--orange-400));
    align-self: center;
}
@media (min-width: 901px) {
    .tier-calc { flex-wrap: nowrap; }
}
.tier-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: var(--fw-bold);
    letter-spacing: -0.01em;
}
.tier-chip--t1 {
    background: var(--orange-200);
    color: var(--orange-900);
    border: 1px solid var(--orange-300);
}
.tier-chip--t2 {
    background: var(--orange-300);
    color: var(--orange-900);
    border: 1px solid var(--orange-400);
}
.tier-calc__step--t3 .tier-chip--t3,
.tier-chip--t3 {
    background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-800) 100%);
    color: #fff;
    border: 1px solid var(--orange-800);
    box-shadow: 0 4px 12px rgba(194, 65, 12, 0.35);
}
.tier-crown { font-size: 12px; line-height: 1; }
.tier-calc__label {
    font-size: var(--fs-micro);
    color: var(--ink-500);
    font-weight: 600;
}

.tier-guide-foot {
    margin: 12px 0 0;
    font-size: var(--fs-caption);
    color: var(--ink-500);
    text-align: center;
    line-height: 1.55;
}
.tier-guide-foot--agri {
    margin-top: 10px;
    padding: 12px 14px;
    text-align: left;
    background: var(--orange-100);
    border: 1px solid var(--orange-300);
    border-radius: var(--r-md);
    color: var(--ink-700);
    line-height: 1.55;
    font-size: var(--fs-caption);
}
.tier-guide-foot--agri strong { color: var(--orange-800); }

@media (max-width: 900px) {
    .tier-info-grid { grid-template-columns: 1fr; }
    .tier-calc { flex-direction: column; }
    .tier-connector {
        width: 3px;
        height: 20px;
        max-width: none;
        margin: 0;
        align-self: center;
        background: linear-gradient(180deg, var(--orange-200), var(--orange-400));
    }
    .tier-calc__step { min-width: 0; }
}

/* 32" 등 초고해상도 — Sector 안내 확대 */
@media (min-width: 1800px) {
    .tier-info { padding: 24px 30px; }
    .tier-info-head .tier-info-sub { font-size: 13.5px; }
    .tier-info-grid { gap: 16px; }
    .tier-info-item { padding: 16px 18px; }
    .tier-info-item .tier-info-num { width: 38px; height: 38px; font-size: 14px; }
    .tier-info-item .tier-info-body strong { font-size: 15px; }
    .tier-info-item .tier-info-body > span:first-of-type { font-size: 13px; }
    .tier-chip { font-size: 13.5px; padding: 9px 16px; }
    .tier-guide-foot { font-size: 13px; }
}

@media (max-width: 720px) {
    .form-row.row-2 { grid-template-columns: 1fr; }
    .radio-group { grid-template-columns: 1fr; }
    .radio-group.ai-training-group { grid-template-columns: 1fr; }
    .survey-container { margin: 16px auto 60px; }
    .survey-section { padding: 20px; }
    body.page-landing .hero-banner { padding: 20px; }
    body.page-landing .hero-title { font-size: 18px; }
    .preview-grid { grid-template-columns: 1fr; }
    .stepper-line { flex-basis: 16px; }
    .stepper-item { min-width: 84px; }
    .stepper-label { font-size: 11px; }
    .nav-bar { flex-direction: column-reverse; }
    .nav-bar .btn { width: 100%; text-align: center; }
    .nav-bar-right { flex-direction: column-reverse; width: 100%; }
    .nav-bar-right .btn { width: 100%; }
}

/* ─────────────────────────────────────────────────────────────── */
/* Hub (Sector 선택 허브 화면)                                      */
/* ─────────────────────────────────────────────────────────────── */

.page-hub .survey-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    /* 스텝퍼·히어로·3 Sector·제출·주의문구 사이 세로 리듬 (gap 은 flex 컨테이너에서만 동작) */
    gap: 36px;
    max-width: 1200px;
    margin: 28px auto 72px;
    padding: 0 24px;
}

.page-hub .stepper {
    margin: 0; /* 기본 8px/28px margin 제거 — 컨테이너 gap 으로만 간격 */
}

@media (min-width: 1100px) {
    .page-hub .survey-container { gap: 44px; }
}

.hub-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 28px 32px;
    background: linear-gradient(135deg, #fffaf3 0%, #fff6e6 100%);
    border: 1px solid #f2d7a6;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(217, 158, 56, 0.08);
}
.hub-hero-text h1 {
    margin: 0 0 8px;
    font-size: 22px;
    color: #1f2a44;
    letter-spacing: -0.01em;
}
.hub-hero-tier3-note {
    margin: 12px 0 0 0;
    font-size: 13px;
    line-height: 1.55;
    color: #334155;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}
.hub-card-desc--sub {
    margin-top: 8px;
    font-size: 12.5px;
    color: #64748b;
}
.hub-hero-text p {
    margin: 0;
    color: #4a5b7a;
    font-size: 14px;
    line-height: 1.7;
}
.hub-hero-aside {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    flex: 0 0 auto;
}
.hub-user-pill {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    padding: 10px 16px;
    background: #ffffff;
    border: 1px solid #e5e9f2;
    border-radius: 12px;
    min-width: 220px;
}
.hub-user-name {
    font-weight: 700;
    color: #1f2a44;
    font-size: 14px;
}
.hub-user-email {
    color: #6b7a99;
    font-size: 12px;
    margin-top: 2px;
}
.hub-user-edit {
    margin-top: 6px;
    font-size: 12px;
    color: #d97706;
    text-decoration: none;
    font-weight: 600;
}
.hub-user-edit:hover { text-decoration: underline; }

.hub-tier-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 22px;
    border-radius: 12px;
    color: #ffffff;
    background: #64748b;
    min-width: 160px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}
.hub-tier-preview.tier-result-t0 { background: linear-gradient(135deg, #94a3b8, #64748b); }
.hub-tier-preview.tier-result-t1 { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.hub-tier-preview.tier-result-t2 { background: linear-gradient(135deg, #34d399, #059669); }
.hub-tier-preview.tier-result-t3 { background: linear-gradient(135deg, #f59e0b, #b45309); }
.hub-tier-label {
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.85;
}
.hub-tier-value {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    /* 열(카드 사이) 간격을 충분히 — 한 줄 3칸이 붙어 보이지 않도록 */
    column-gap: 32px;
    row-gap: 24px;
}
@media (min-width: 1200px) {
    .hub-grid {
        column-gap: 40px;
        row-gap: 28px;
    }
}
@media (min-width: 1600px) {
    .hub-grid {
        column-gap: 48px;
    }
}
.hub-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px 22px 18px;
    background: #ffffff;
    border: 1px solid #e5e9f2;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.hub-card.joined {
    border-color: #10b981;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.18);
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 60%);
}
.hub-card.pending {
    border-color: #f59e0b;
    background: linear-gradient(180deg, #fffbeb 0%, #ffffff 60%);
}
.hub-card.answered {
    border-color: #94a3b8;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 60%);
}
.hub-card.notjoined {
    opacity: 1;
}
.hub-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hub-card-num {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #2563eb;
    padding: 4px 10px;
    background: #dbeafe;
    border-radius: 999px;
}
.hub-card.sector2 .hub-card-num { color: #0d9488; background: #ccfbf1; }
.hub-card.sector3 .hub-card-num { color: #b45309; background: #fef3c7; }

.hub-status-pill {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    background: #dcfce7;
    color: #047857;
}
.hub-status-pill.muted {
    background: #f1f5f9;
    color: #64748b;
}
.hub-status-pill.warn {
    background: #fef3c7;
    color: #b45309;
}

.hub-card-title {
    margin: 2px 0 0;
    font-size: 16px;
    font-weight: 700;
    color: #1f2a44;
}
.hub-card-desc {
    margin: 0;
    font-size: 13px;
    color: #566480;
    line-height: 1.7;
    flex: 1;
}
.hub-desc-warn {
    display: block;
    margin-top: 6px;
    color: #b45309;
    font-weight: 600;
}
.hub-card-foot {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}
.hub-card-foot .btn.sm {
    padding: 8px 14px;
    font-size: 13px;
    border-radius: 8px;
}
.hub-card-foot .btn.ghost {
    background: transparent;
    border: 1px solid #e5e9f2;
    color: #475569;
}
.hub-card-foot .btn.ghost:hover { background: #f8fafc; }

.tier-hint-banner.existing-attach {
    border-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
}
.tier-hint-banner.existing-attach .tier-chip.ok {
    background: #10b981;
    color: #ffffff;
}

.done-hint {
    margin: 10px 0 0;
    font-size: 12px;
    color: #64748b;
    text-align: center;
}

@media (max-width: 960px) {
    .page-hub .survey-container { gap: 28px; padding: 0 16px; }
    .hub-grid { grid-template-columns: 1fr; }
    .hub-hero { flex-direction: column; align-items: stretch; }
    .hub-hero-aside { align-items: stretch; }
    .hub-user-pill, .hub-tier-preview { min-width: 0; width: 100%; align-items: flex-start; }
    .hub-tier-preview { align-items: center; }
}

