:root {
    --bg: #f4f7fc;
    --card: #ffffff;
    --ink: #16233b;
    --ink-soft: #3b4a66;
    --muted: #6d7b96;
    --line: #e2e9f5;
    --primary: #2563eb;
    --primary-dark: #1746b3;
    --primary-soft: #eaf1ff;
    --accent: #0ea5a4;
    --ok: #12a06a;
    --ok-soft: #e7f8f0;
    --warn: #c47a17;
    --warn-soft: #fff5e4;
    --danger: #d64545;
    --danger-soft: #ffeded;
    --radius: 14px;
    --shadow-sm: 0 2px 10px rgba(22, 35, 59, .05);
    --shadow: 0 14px 40px rgba(22, 35, 59, .08);
    --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 14px/1.7 var(--font);
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

button, input, select, textarea { font-family: inherit; }

.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.nowrap { white-space: nowrap; }

/* ---------- 顶栏 ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 66px;
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }

.brand-mark {
    width: 36px; height: 36px; border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 18px; font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 6px 14px rgba(37, 99, 235, .28);
}

.brand-name { font-size: 16px; letter-spacing: .2px; }

.site-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }

.site-nav a {
    padding: 8px 14px;
    border-radius: 9px;
    color: var(--ink-soft);
    font-size: 14px;
}

.site-nav a:hover { background: #f2f6ff; color: var(--primary-dark); }
.site-nav a.active { background: var(--primary-soft); color: var(--primary-dark); font-weight: 600; }

.header-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.user-email { font-size: 13px; color: var(--muted); max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .18s ease;
    white-space: nowrap;
}

.btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn:active { transform: none; }

.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 13px 30px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; }

.btn-ghost { background: #fff; color: var(--ink-soft); border-color: var(--line); }
.btn-ghost:hover { background: #f6f9ff; color: var(--primary-dark); border-color: #c9d8f5; }

.btn-soft { background: var(--primary-soft); color: var(--primary-dark); }
.btn-soft:hover { background: #dce8ff; color: var(--primary-dark); }

.btn-outline { background: transparent; color: var(--primary-dark); border-color: #b9cdf2; }
.btn-outline:hover { background: var(--primary-soft); }

.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.btn-link { background: none; border: 0; color: var(--primary); padding: 0; font-size: 13px; cursor: pointer; }

/* ---------- 通用卡片 ---------- */
.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.card-pad { padding: 24px; }

.page { padding: 32px 0 64px; }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.page-title { font-size: 24px; margin: 0 0 6px; letter-spacing: .2px; }
.page-sub { margin: 0; color: var(--muted); font-size: 13.5px; }

.section-title { font-size: 18px; margin: 0 0 4px; }
.section-desc { color: var(--muted); font-size: 13px; margin: 0 0 16px; }

/* ---------- 提示 ---------- */
.alert {
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 13.5px;
    margin: 16px 0;
    border: 1px solid transparent;
}

.alert-error { background: var(--danger-soft); border-color: #ffd6d6; color: #a92c2c; }
.alert-ok { background: var(--ok-soft); border-color: #c9efde; color: #0b7b52; }
.alert-info { background: #eef5ff; border-color: #d5e5ff; color: #24509c; }
.alert-warn { background: var(--warn-soft); border-color: #ffe4b8; color: #8f5a10; }

/* ---------- 状态标签 ---------- */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #eff2f8;
    color: #5a6680;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.chip-warn { background: var(--warn-soft); color: #9c6210; }
.chip-ok { background: var(--ok-soft); color: #0b7b52; }
.chip-danger { background: var(--danger-soft); color: #b02a2a; }
.chip-info { background: #e9f2ff; color: #1f57c9; }
.req-dot { color: var(--danger); margin-left: 2px; }

/* ---------- 首页 ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 62px 0 54px;
    background:
        radial-gradient(680px 360px at 12% 0%, #dce9ff 0%, transparent 62%),
        radial-gradient(560px 320px at 88% 10%, #dcf7f2 0%, transparent 60%),
        linear-gradient(180deg, #f7faff 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--line);
}

.hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px solid rgba(37, 99, 235, .12);
}

.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; z-index: 1; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #d7e4fb;
    color: var(--primary-dark);
    font-size: 12.5px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.hero-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.hero h1 { font-size: 40px; line-height: 1.24; margin: 18px 0 14px; letter-spacing: -.5px; }

.hero h1 em { font-style: normal; color: var(--primary); }

.hero-sub { font-size: 15.5px; color: var(--ink-soft); margin: 0 0 26px; max-width: 540px; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-points { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; color: var(--muted); font-size: 12.5px; }
.hero-points span { display: inline-flex; align-items: center; gap: 6px; }
.hero-points span::before { content: "✓"; color: var(--ok); font-weight: 700; }

.hero-visual { position: relative; }

.mock-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(22, 35, 59, .12);
    padding: 22px;
}

.mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mock-head strong { font-size: 14px; }
.mock-no { color: var(--muted); font-size: 12px; font-family: ui-monospace, Consolas, monospace; }

.mock-timeline { list-style: none; margin: 0; padding: 0; }

.mock-timeline li { position: relative; padding: 0 0 18px 30px; font-size: 13px; color: var(--ink-soft); }
.mock-timeline li:last-child { padding-bottom: 0; }
.mock-timeline li::before {
    content: "";
    position: absolute; left: 7px; top: 6px;
    width: 8px; height: 8px; border-radius: 50%;
    background: #cbd6e8;
}
.mock-timeline li::after {
    content: "";
    position: absolute; left: 10.5px; top: 18px; bottom: 2px;
    width: 1px; background: #dfe7f4;
}
.mock-timeline li:last-child::after { display: none; }
.mock-timeline li.done::before { background: var(--ok); }
.mock-timeline li.active::before { background: var(--primary); box-shadow: 0 0 0 4px rgba(37, 99, 235, .15); }
.mock-timeline li small { display: block; color: var(--muted); font-size: 11.5px; }

.mock-foot {
    margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line);
    display: flex; align-items: center; justify-content: space-between;
    font-size: 12px; color: var(--muted);
}

.mock-progress { height: 6px; border-radius: 999px; background: #eef2fa; overflow: hidden; width: 120px; }
.mock-progress i { display: block; height: 100%; width: 66%; background: linear-gradient(90deg, #3b82f6, #0ea5a4); }

.hero-float {
    position: absolute;
    right: -12px;
    bottom: -20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: var(--shadow);
    font-size: 12px;
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-float b { color: var(--ok); font-size: 15px; }

.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: -26px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-sm);
}

.stat-cell { background: #fff; padding: 20px 22px; }
.stat-cell b { display: block; font-size: 24px; letter-spacing: -.5px; }
.stat-cell span { color: var(--muted); font-size: 12.5px; }

.home-section { padding: 54px 0 0; }
.home-section-head { text-align: center; margin-bottom: 30px; }
.home-section-head h2 { font-size: 26px; margin: 0 0 8px; letter-spacing: -.3px; }
.home-section-head p { color: var(--muted); margin: 0; font-size: 14px; }

.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.flow-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    position: relative;
    transition: .2s ease;
}

.flow-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfdff8; }
.flow-num {
    width: 34px; height: 34px; border-radius: 10px;
    background: var(--primary-soft); color: var(--primary-dark);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px; margin-bottom: 14px;
}
.flow-card h3 { margin: 0 0 6px; font-size: 15px; }
.flow-card p { margin: 0; color: var(--muted); font-size: 13px; }

.type-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.type-group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.type-group-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.type-group-head h3 { margin: 0; font-size: 15px; }
.type-count { margin-left: auto; color: var(--muted); font-size: 12px; }

.type-links { display: flex; flex-wrap: wrap; gap: 8px; }

.type-link {
    padding: 7px 12px;
    border-radius: 8px;
    background: #f5f8fe;
    border: 1px solid #e8eefb;
    color: var(--ink-soft);
    font-size: 12.5px;
    transition: .15s ease;
}

.type-link:hover { background: var(--primary-soft); border-color: #c6daf9; color: var(--primary-dark); }

.cta-band {
    margin-top: 54px;
    border-radius: 18px;
    padding: 34px 38px;
    background: linear-gradient(120deg, #173a8f 0%, #2563eb 55%, #0e8f9b 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 20px 46px rgba(28, 68, 158, .22);
}

.cta-band h3 { margin: 0 0 6px; font-size: 21px; }
.cta-band p { margin: 0; color: #d7e3ff; font-size: 13.5px; }
.cta-band .btn { background: #fff; color: #1746b3; }
.cta-band .btn:hover { background: #eef4ff; }

/* ---------- 表单 ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 13px; font-weight: 600; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; }
.field-hint { font-size: 12px; color: var(--muted); }

.input, .select, .textarea {
    width: 100%;
    border: 1px solid #dbe4f3;
    border-radius: 10px;
    padding: 10px 13px;
    font-size: 14px;
    color: var(--ink);
    background: #fff;
    outline: none;
    transition: .15s ease;
}

.input::placeholder, .textarea::placeholder { color: #a6b1c4; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.textarea { resize: vertical; min-height: 92px; line-height: 1.7; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #8b98b0 50%), linear-gradient(135deg, #8b98b0 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 34px; }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }

.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.check-row { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--ink-soft); }
.check-row input { margin-top: 3px; accent-color: var(--primary); width: 15px; height: 15px; }

.radio-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.radio-card {
    border: 1px solid #dbe4f3;
    border-radius: 10px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    transition: .15s ease;
}
.radio-card input { accent-color: var(--primary); }
.radio-card:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-dark); font-weight: 600; }

.check-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.check-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 12px; border-radius: 999px;
    border: 1px solid #dbe4f3; background: #fff;
    font-size: 12.5px; color: var(--ink-soft); cursor: pointer;
}
.check-chip input { accent-color: var(--primary); }
.check-chip:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-dark); }

/* ---------- 认证页 ---------- */
.auth-shell {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    max-width: 920px;
    margin: 48px auto 70px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.auth-side {
    padding: 42px 38px;
    background:
        radial-gradient(420px 260px at 90% 0%, rgba(14, 165, 164, .35) 0%, transparent 60%),
        linear-gradient(150deg, #17336f 0%, #1f4fb5 55%, #0f7f8d 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
}

.auth-side .brand-mark { background: rgba(255, 255, 255, .16); box-shadow: none; backdrop-filter: blur(4px); }
.auth-side h2 { font-size: 25px; line-height: 1.35; margin: 26px 0 12px; }
.auth-side p { color: #cfdcff; font-size: 13.5px; margin: 0; }
.auth-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; font-size: 13px; color: #e6edff; }
.auth-points li { display: flex; gap: 9px; align-items: flex-start; }
.auth-points li::before { content: "✓"; color: #7deddd; font-weight: 700; }
.auth-side-foot { margin-top: auto; padding-top: 28px; font-size: 12px; color: #9fb8f0; }

.auth-card { padding: 40px 44px; }
.auth-card h1 { font-size: 22px; margin: 0 0 6px; }
.auth-card .sub { color: var(--muted); font-size: 13px; margin: 0 0 24px; }
.auth-form { display: grid; gap: 16px; }
.auth-foot { margin-top: 20px; font-size: 13px; color: var(--muted); text-align: center; }
.auth-foot a { color: var(--primary); font-weight: 600; }

.captcha-row { display: flex; gap: 10px; align-items: center; }
.captcha-row .input { flex: 1; }
.captcha-img { height: 44px; border-radius: 9px; border: 1px solid var(--line); cursor: pointer; background: #f3f7ff; }

/* ---------- 申诉列表 ---------- */
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.filter-tab {
    padding: 6px 13px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: 12.5px;
    color: var(--ink-soft);
}
.filter-tab:hover { border-color: #c6daf9; color: var(--primary-dark); }
.filter-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.filter-tab span { opacity: .75; margin-left: 4px; font-size: 11.5px; }

.appeal-list { display: grid; gap: 14px; }

.appeal-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    transition: .18s ease;
}

.appeal-item:hover { border-color: #cfdff8; box-shadow: var(--shadow); }
.appeal-main { flex: 1; min-width: 0; }
.appeal-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.appeal-no { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; color: var(--muted); }
.appeal-title { font-size: 15px; font-weight: 600; margin: 0 0 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.appeal-meta { color: var(--muted); font-size: 12.5px; display: flex; gap: 16px; flex-wrap: wrap; }
.appeal-side { display: flex; align-items: center; gap: 10px; }

.empty {
    text-align: center;
    padding: 54px 20px;
    color: var(--muted);
    background: #fff;
    border: 1px dashed #d8e2f3;
    border-radius: var(--radius);
}
.empty strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 6px; }

.pagination { display: flex; gap: 6px; list-style: none; padding: 0; margin: 24px 0 0; flex-wrap: wrap; justify-content: center; }
.pagination li a, .pagination li span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 34px; height: 34px; padding: 0 10px;
    border-radius: 8px; background: #fff; border: 1px solid var(--line);
    color: var(--ink-soft); font-size: 13px;
}
.pagination li.active span { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination li a:hover { border-color: #b9cdf2; color: var(--primary-dark); }

/* ---------- 六步表单 ---------- */
.wizard-head {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-sm);
    margin-bottom: 18px;
}
.wizard-head h1 { font-size: 20px; margin: 0; }
.wizard-head .meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12.5px; margin-top: 4px; flex-wrap: wrap; }
.wizard-head .actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.save-tip { font-size: 12px; color: var(--ok); min-height: 18px; }

.stepper {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px 12px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
}

.step-item {
    position: relative;
    text-align: center;
    padding: 0 4px;
    color: var(--muted);
    background: none;
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

.step-item::before {
    content: "";
    position: absolute;
    top: 15px;
    left: -50%;
    width: 100%;
    height: 2px;
    background: #e6edf8;
    z-index: 0;
}
.step-item:first-child::before { display: none; }
.step-item.done::before, .step-item.active::before { background: #bcd3f7; }

.step-num {
    position: relative;
    z-index: 1;
    width: 30px; height: 30px;
    margin: 0 auto 6px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #eff3fa;
    color: #7c8aa3;
    font-size: 13px;
    font-weight: 700;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #e2e9f5;
}
.step-item.active .step-num { background: var(--primary); color: #fff; box-shadow: 0 0 0 1px var(--primary), 0 0 0 5px rgba(37, 99, 235, .12); }
.step-item.done .step-num { background: var(--primary-soft); color: var(--primary-dark); box-shadow: 0 0 0 1px #bcd3f7; }
.step-label { font-size: 12px; white-space: nowrap; }
.step-item.active .step-label { color: var(--primary-dark); font-weight: 600; }

.wizard-body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step-panel { display: none; padding: 26px 28px; }
.step-panel.active { display: block; animation: fade .22s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.panel-head { margin-bottom: 20px; }
.panel-head h2 { font-size: 18px; margin: 0 0 4px; }
.panel-head p { margin: 0; color: var(--muted); font-size: 13px; }

.form-section + .form-section { margin-top: 24px; padding-top: 22px; border-top: 1px dashed var(--line); }
.form-section h3 { font-size: 14.5px; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.form-section h3::before { content: ""; width: 3px; height: 14px; border-radius: 2px; background: var(--primary); }

.type-group-block + .type-group-block { margin-top: 20px; }
.type-group-title { font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.type-group-title small { font-weight: 400; color: var(--muted); }

.type-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.type-card {
    display: flex;
    gap: 10px;
    padding: 13px 15px;
    border: 1px solid #dbe4f3;
    border-radius: 11px;
    cursor: pointer;
    background: #fff;
    transition: .15s ease;
    position: relative;
}
.type-card:hover { border-color: #b9cdf2; background: #fbfdff; }
.type-card input { margin-top: 3px; accent-color: var(--primary); flex: 0 0 auto; }
.type-card strong { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 2px; }
.type-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.type-card.selected { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 1px var(--primary) inset; }

.scene-box { background: #f8fbff; border: 1px solid #e4edfb; border-radius: 12px; padding: 16px 18px; }
.scene-box h4 { margin: 0 0 12px; font-size: 13px; color: var(--primary-dark); }
.scene-hidden { display: none !important; }

.repeat-block + .repeat-block { margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line); }
.repeat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.repeat-head h3 { margin: 0; font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.repeat-head h3::before { content: ""; width: 3px; height: 14px; border-radius: 2px; background: var(--accent); }
.repeat-head .hint { color: var(--muted); font-size: 12px; margin-left: 6px; font-weight: 400; }
.repeat-list { display: grid; gap: 12px; }
.repeat-row { border: 1px solid #e4ebf7; border-radius: 12px; padding: 14px 16px 16px; background: #fcfdff; }
.repeat-row .row-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.repeat-row .row-title { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.row-remove { border: 0; background: none; color: var(--danger); font-size: 12px; cursor: pointer; padding: 2px 4px; }
.row-remove:hover { text-decoration: underline; }

.upload-list { display: grid; gap: 12px; }
.upload-item { border: 1px solid #e4ebf7; border-radius: 12px; padding: 15px 17px; background: #fcfdff; }
.upload-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.upload-name { font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.upload-meta { color: var(--muted); font-size: 12px; margin-top: 2px; }
.scene-tag { font-size: 11px; font-weight: 500; padding: 1px 7px; border-radius: 999px; background: #e9f2ff; color: #1f57c9; }
.upload-item.is-hidden { display: none; }
.upload-item .file-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.upload-item .file-list:empty { display: none; }

.file-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 10px;
    border: 1px solid #e1e9f7;
    border-radius: 9px;
    background: #fff;
    max-width: 100%;
}
.file-item img, .file-ext {
    width: 34px; height: 34px; border-radius: 7px; object-fit: cover; flex: 0 0 auto;
    background: #eef3fb; color: var(--primary-dark);
    display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700;
}
.file-meta { min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.file-meta a { font-size: 12.5px; color: var(--ink-soft); max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-meta a:hover { color: var(--primary); }
.file-meta small { color: var(--muted); font-size: 11px; }
.file-del { border: 0; background: none; color: #9aa6ba; cursor: pointer; font-size: 16px; line-height: 1; padding: 4px; }
.file-del:hover { color: var(--danger); }

.upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 7px 14px;
    border-radius: 8px;
    border: 1px dashed #a9c3ec;
    background: #f4f8ff;
    color: var(--primary-dark);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.upload-btn:hover { background: #eaf2ff; border-color: var(--primary); }
.upload-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-btn.uploading { opacity: .65; pointer-events: none; }

.summary { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.summary-section + .summary-section { border-top: 1px solid var(--line); }
.summary-title { background: #f7faff; padding: 9px 16px; font-size: 12.5px; font-weight: 700; color: var(--ink-soft); }
.summary-body { padding: 12px 16px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 20px; }
.summary-line { font-size: 13px; display: flex; gap: 8px; }
.summary-line span { color: var(--muted); flex: 0 0 84px; }
.summary-line strong { font-weight: 500; color: var(--ink); word-break: break-all; }
.summary-line.full { grid-column: 1 / -1; }

.wizard-foot {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-top: 1px solid var(--line);
    background: #fbfcff;
    border-radius: 0 0 var(--radius) var(--radius);
}
.wizard-foot .spacer { margin-left: auto; }
.wizard-foot .step-tip { color: var(--muted); font-size: 12px; }

/* ---------- 详情 ---------- */
.detail-hero {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 28px;
    box-shadow: var(--shadow-sm);
}
.detail-hero-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.detail-hero h1 { font-size: 22px; margin: 8px 0 6px; }
.detail-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 12.5px; }

.progress-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 26px; }
.progress-step { position: relative; padding-top: 20px; text-align: center; }
.progress-step::before {
    content: ""; position: absolute; top: 8px; left: 0; right: 0; height: 2px; background: #e6edf8;
}
.progress-step:first-child::before { left: 50%; }
.progress-step:last-child::before { right: 50%; }
.progress-step.done::before, .progress-step.active::before { background: #bcd3f7; }
.progress-dot {
    position: absolute; top: 2px; left: 50%; transform: translateX(-50%);
    width: 14px; height: 14px; border-radius: 50%; background: #dfe7f4; border: 3px solid #fff; box-shadow: 0 0 0 1px #dfe7f4;
}
.progress-step.done .progress-dot { background: var(--ok); box-shadow: 0 0 0 1px var(--ok); }
.progress-step.active .progress-dot { background: var(--primary); box-shadow: 0 0 0 1px var(--primary), 0 0 0 5px rgba(37, 99, 235, .12); }
.progress-step strong { display: block; font-size: 13px; }
.progress-step small { color: var(--muted); font-size: 11.5px; }

.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.detail-cell { background: #fff; padding: 12px 16px; }
.detail-cell span { display: block; color: var(--muted); font-size: 11.5px; margin-bottom: 3px; }
.detail-cell strong { font-size: 13.5px; font-weight: 500; word-break: break-all; }

.detail-block { margin-top: 18px; }
.detail-block h3 { font-size: 14px; margin: 0 0 8px; }
.pre-text { white-space: pre-wrap; background: #f8fbff; border: 1px solid #e7eefb; border-radius: 10px; padding: 12px 14px; margin: 0; font-size: 13px; color: var(--ink-soft); }

.thumb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.thumb { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.thumb img { width: 100%; height: 110px; object-fit: cover; background: #eef3fb; }
.thumb .thumb-file { height: 110px; display: flex; align-items: center; justify-content: center; background: #eef3fb; color: var(--primary-dark); font-weight: 700; font-size: 12px; }
.thumb .thumb-info { padding: 7px 10px; font-size: 11.5px; }
.thumb .thumb-info a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thumb .thumb-info small { color: var(--muted); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 640px; }
.data-table th, .data-table td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { background: #f7faff; color: var(--muted); font-weight: 600; white-space: nowrap; }
.data-table tr:last-child td { border-bottom: 0; }

/* ---------- 页脚 ---------- */
.site-footer { margin-top: 64px; border-top: 1px solid var(--line); background: #fff; }
.footer-inner { padding: 30px 0; display: flex; gap: 20px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.footer-brand .brand-mark { width: 30px; height: 30px; border-radius: 9px; font-size: 15px; }
.footer-info { color: var(--muted); font-size: 12px; line-height: 1.8; max-width: 720px; }
.footer-links { display: flex; gap: 16px; font-size: 12.5px; color: var(--muted); }

/* ---------- Toast ---------- */
.toast {
    position: fixed;
    left: 50%;
    bottom: 34px;
    transform: translate(-50%, 20px);
    background: #16233b;
    color: #fff;
    padding: 11px 22px;
    border-radius: 10px;
    font-size: 13.5px;
    box-shadow: 0 12px 30px rgba(22, 35, 59, .24);
    opacity: 0;
    pointer-events: none;
    transition: .25s ease;
    z-index: 99;
    max-width: calc(100% - 40px);
    text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: #b62f2f; }
.toast.ok { background: #0e7a55; }

/* ---------- 用户中心 ---------- */
.msg-bell { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; color: var(--ink-soft); background: #f4f7ff; }
.msg-bell:hover { background: var(--primary-soft); color: var(--primary-dark); }
.msg-badge { position: absolute; top: -4px; right: -4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--danger); color: #fff; font-size: 11px; line-height: 17px; text-align: center; font-weight: 700; }

.uc-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 22px; padding: 28px 0 64px; align-items: start; }

.uc-side { position: sticky; top: 86px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 18px 14px; }
.uc-profile { display: flex; align-items: center; gap: 11px; padding: 4px 6px 16px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.uc-avatar { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, #60a5fa, #2563eb); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex: none; }
.uc-profile strong { display: block; font-size: 14px; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uc-profile small { display: block; color: var(--muted); font-size: 11.5px; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uc-group-title { font-size: 11.5px; color: #98a5bb; letter-spacing: .6px; padding: 12px 10px 6px; }
.uc-menu { display: flex; flex-direction: column; gap: 2px; }
.uc-menu a { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 9px; color: var(--ink-soft); font-size: 13.5px; }
.uc-menu a:hover { background: #f4f8ff; color: var(--primary-dark); }
.uc-menu a.active { background: var(--primary-soft); color: var(--primary-dark); font-weight: 600; }
.uc-menu .count { font-size: 11.5px; color: var(--muted); background: #f2f5fb; border-radius: 8px; padding: 0 7px; }

.uc-body { min-width: 0; }
.uc-head { margin-bottom: 16px; }
.uc-head h1 { font-size: 22px; margin: 0 0 4px; }
.uc-head p { margin: 0; color: var(--muted); font-size: 13px; }

.uc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.uc-stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow-sm); }
.uc-stat span { display: block; color: var(--muted); font-size: 12.5px; margin-bottom: 6px; }
.uc-stat b { font-size: 26px; letter-spacing: -.5px; }
.uc-stat small { color: var(--muted); font-size: 11.5px; }

.uc-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 20px 22px; margin-bottom: 18px; }
.uc-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.uc-panel-head h2 { font-size: 16px; margin: 0; }
.uc-panel-head a { font-size: 12.5px; color: var(--primary); }

.uc-list { display: flex; flex-direction: column; }
.uc-list-item { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.uc-list-item:last-child { border-bottom: 0; }
.uc-list-main { min-width: 0; }
.uc-list-main strong { display: block; font-size: 13.5px; margin-bottom: 2px; }
.uc-list-main span { color: var(--muted); font-size: 12px; }
.uc-list-meta { text-align: right; font-size: 12px; color: var(--muted); white-space: nowrap; }

.uc-trend { display: flex; align-items: flex-end; gap: 12px; height: 140px; padding: 6px 4px 0; }
.uc-trend-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.uc-trend-bar { width: 100%; max-width: 42px; border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, #60a5fa, #2563eb); min-height: 4px; }
.uc-trend-col small { color: var(--muted); font-size: 11.5px; }
.uc-trend-col b { font-size: 12px; color: var(--ink-soft); }

.uc-alert { border: 1px solid #ffe2b8; background: var(--warn-soft); color: #8a5a0c; border-radius: 12px; padding: 12px 16px; font-size: 13px; margin-bottom: 18px; display: flex; gap: 10px; align-items: flex-start; }
.uc-alert.danger { border-color: #ffd0d0; background: var(--danger-soft); color: #a92c2c; }

.uc-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.uc-tabs a { padding: 8px 14px; border-radius: 9px; font-size: 13px; color: var(--ink-soft); background: #fff; border: 1px solid var(--line); }
.uc-tabs a.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.uc-tabs a .num { font-size: 11.5px; opacity: .8; margin-left: 4px; }

.uc-filter { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 10px; align-items: end; margin-bottom: 16px; }
.uc-filter .field { gap: 4px; }
.uc-filter .input, .uc-filter .select { padding: 8px 11px; font-size: 13px; }

.uc-timeline { position: relative; padding-left: 22px; }
.uc-timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: #e4ebf8; }
.uc-tl-item { position: relative; padding: 0 0 18px; }
.uc-tl-item:last-child { padding-bottom: 0; }
.uc-tl-dot { position: absolute; left: -22px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #c9d7ef; border: 2px solid #fff; box-shadow: 0 0 0 2px #e4ebf8; }
.uc-tl-item.done .uc-tl-dot { background: var(--ok); box-shadow: 0 0 0 2px #c9eedd; }
.uc-tl-item.warn .uc-tl-dot { background: var(--warn); box-shadow: 0 0 0 2px #ffe6bf; }
.uc-tl-item.fail .uc-tl-dot { background: var(--danger); box-shadow: 0 0 0 2px #ffd7d7; }
.uc-tl-item.active .uc-tl-dot { background: var(--primary); box-shadow: 0 0 0 2px #d5e3ff; }
.uc-tl-item strong { font-size: 13.5px; display: block; }
.uc-tl-item p { margin: 2px 0 0; color: var(--muted); font-size: 12.5px; }
.uc-tl-item time { font-size: 11.5px; color: #9aa7bc; }

.uc-doc-group { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.uc-doc-group h4 { margin: 0 0 10px; font-size: 13.5px; display: flex; justify-content: space-between; align-items: center; }
.uc-doc-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px dashed var(--line); font-size: 13px; }
.uc-doc-row:first-of-type { border-top: 0; }
.uc-doc-row .muted { font-size: 12px; }

.uc-upload-item { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.uc-upload-item-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; margin-bottom: 8px; }
.uc-upload-item-head strong { font-size: 13.5px; }
.uc-upload-item-head small { color: var(--muted); font-size: 12px; }
.uc-file-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.uc-file { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; background: #f5f8ff; border: 1px solid #e4ecfb; font-size: 12px; }
.uc-file a { color: var(--primary-dark); }

.uc-wallet-hero { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: linear-gradient(135deg, #1d4ed8, #2563eb 55%, #0ea5a4); color: #fff; border-radius: var(--radius); padding: 24px 26px; margin-bottom: 18px; box-shadow: 0 16px 36px rgba(37, 99, 235, .24); }
.uc-wallet-hero .balance { font-size: 36px; font-weight: 700; letter-spacing: -.5px; }
.uc-wallet-hero small { opacity: .82; font-size: 12.5px; }
.uc-wallet-hero .quota { text-align: right; }
.uc-wallet-hero .quota b { font-size: 26px; }
.uc-wallet-hero .btn { background: #fff; color: var(--primary-dark); }
.uc-wallet-hero .btn:hover { background: #eef4ff; }

.uc-price { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.uc-price-card { border: 1px solid var(--line); border-radius: 12px; padding: 16px; text-align: center; }
.uc-price-card b { display: block; font-size: 22px; color: var(--primary-dark); margin-bottom: 2px; }
.uc-price-card span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 10px; }
.uc-price-card .price { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }

.uc-stars { display: inline-flex; gap: 4px; font-size: 22px; color: #d9e1ef; cursor: pointer; user-select: none; }
.uc-stars span.on { color: #f5a623; }
.uc-stars-static { font-size: 14px; color: #f5a623; letter-spacing: 1px; }

.uc-chat { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.uc-chat-row { display: flex; gap: 10px; align-items: flex-start; }
.uc-chat-row.mine { justify-content: flex-end; }
.uc-chat-bubble { max-width: 76%; border-radius: 12px; padding: 10px 14px; background: #f4f7fd; font-size: 13px; line-height: 1.75; }
.uc-chat-row.mine .uc-chat-bubble { background: var(--primary-soft); }
.uc-chat-meta { font-size: 11px; color: var(--muted); margin-top: 4px; }

.uc-msg-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.uc-msg-item:last-child { border-bottom: 0; }
.uc-msg-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); margin-top: 8px; flex: none; }
.uc-msg-dot.read { background: #d7dfec; }
.uc-msg-main { flex: 1; min-width: 0; }
.uc-msg-main strong { font-size: 13.5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.uc-msg-main p { margin: 4px 0 0; color: var(--muted); font-size: 12.5px; }
.uc-msg-time { font-size: 11.5px; color: #9aa7bc; white-space: nowrap; }

.uc-notice { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 12px; background: #fff; }
.uc-notice-head { display: flex; align-items: center; gap: 10px; justify-content: space-between; margin-bottom: 6px; }
.uc-notice-head strong { font-size: 14.5px; }
.uc-notice p { margin: 0; color: var(--ink-soft); font-size: 13px; white-space: pre-wrap; }

.uc-check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; }
.uc-check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; }
.uc-check .ico { width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #fff; flex: none; margin-top: 2px; }
.uc-check.ok .ico { background: var(--ok); }
.uc-check.bad .ico { background: var(--danger); }
.uc-check small { display: block; color: var(--muted); font-size: 11.5px; }

.uc-batch-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #f7faff; border: 1px solid var(--line); border-radius: 11px; padding: 10px 14px; margin-bottom: 14px; font-size: 13px; }
.uc-batch-bar .check-all { display: inline-flex; gap: 7px; align-items: center; }

.uc-form { display: grid; gap: 14px; }
.uc-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.uc-hint { color: var(--muted); font-size: 12px; }
.text-ok { color: #0b7b52; }
.text-danger { color: #b02a2a; }
.uc-sep { height: 1px; background: var(--line); margin: 20px 0; }

.uc-sub-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.uc-sub-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.uc-sub-card-head strong { font-size: 14px; }
.uc-sub-card p { margin: 6px 0 0; color: var(--muted); font-size: 12.5px; }

@media (max-width: 980px) {
    .uc-layout { grid-template-columns: 1fr; }
    .uc-side { position: static; }
    .uc-menu { flex-direction: row; flex-wrap: wrap; }
    .uc-group-title { display: none; }
    .uc-stats { grid-template-columns: repeat(2, 1fr); }
    .uc-filter { grid-template-columns: 1fr 1fr; }
    .uc-price { grid-template-columns: 1fr; }
    .uc-check-list { grid-template-columns: 1fr; }
    .uc-form-row { grid-template-columns: 1fr; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 34px; }
    .hero h1 { font-size: 34px; }
    .hero-visual { max-width: 560px; }
    .flow-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-grid { grid-template-columns: repeat(2, 1fr); }
    .type-card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .site-nav { display: none; }
    .header-inner { height: 60px; gap: 12px; }
    .brand-name { font-size: 15px; }
    .user-email { display: none; }
    .hero { padding: 42px 0; }
    .hero h1 { font-size: 30px; }
    .stat-strip { grid-template-columns: repeat(2, 1fr); }
    .type-groups { grid-template-columns: 1fr; }
    .auth-shell { grid-template-columns: 1fr; margin: 24px auto 50px; }
    .auth-side { display: none; }
    .auth-card { padding: 30px 24px; }
    .cta-band { flex-direction: column; align-items: flex-start; padding: 26px; }
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .span-3 { grid-column: span 2; }
    .stepper { grid-template-columns: repeat(6, minmax(92px, 1fr)); }
    .step-panel { padding: 20px 18px; }
    .wizard-foot { padding: 14px 18px; flex-wrap: wrap; }
    .summary-body { grid-template-columns: 1fr; }
    .progress-steps { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
    .progress-step:nth-child(3)::before { left: 50%; }
    .progress-step:nth-child(2)::before { right: 50%; }
}

@media (max-width: 620px) {
    .wrap { width: calc(100% - 28px); }
    .page { padding: 22px 0 46px; }
    .page-title { font-size: 21px; }
    .hero h1 { font-size: 27px; }
    .hero-points { gap: 12px; }
    .flow-grid { grid-template-columns: 1fr; }
    .radio-cards { grid-template-columns: 1fr; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .span-2, .span-3 { grid-column: auto; }
    .appeal-item { flex-direction: column; align-items: flex-start; gap: 12px; }
    .appeal-side { width: 100%; justify-content: flex-end; }
    .wizard-head .actions { margin-left: 0; width: 100%; }
    .wizard-head .actions .btn { flex: 1; }
    .detail-grid { grid-template-columns: 1fr; }
    .summary-line span { flex-basis: 72px; }
    .cta-band { padding: 22px; }
    .footer-inner { flex-direction: column; }
}
