/* 前台独立样式；后台继续使用原有 app.css 与 Bootstrap。 */
.frontend {
    --navy: #122d55;
    --teal: #2463d9;
    --ink: #203953;
    --muted: #697c93;
    --line: #dce6f3;
    color: var(--ink);
    background: #f2f6fc;
    font-size: 14px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
.frontend a { color: inherit; text-decoration: none; }
.frontend a:focus-visible, .frontend button:focus-visible,
.frontend input:focus-visible, .frontend select:focus-visible,
.frontend .table-scroll:focus-visible { outline: 3px solid #438bff; outline-offset: 4px; }
.frontend [id] { scroll-margin-top: 24px; }
.frontend .skip-link { position: absolute; top: -90px; left: 20px; z-index: 10; padding: 12px 20px; background: white; }
.frontend .skip-link:focus { top: 12px; }
.site-header { background: #0a1d43; color: #f4f8ff; border-bottom: 1px solid #213e6b; }
.header-inner { max-width: 1280px; min-height: 84px; padding: 12px 32px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; gap: 12px; align-items: center; font-size: 19px; font-weight: 750; letter-spacing: .02em; min-width: 0; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; color: #103469; background: #71b9ff; border-radius: 12px 12px 12px 3px; font-size: 30px; font-weight: 400; flex-shrink: 0; }
.brand small { display: block; color: #a7bddf; font-size: 10px; font-weight: 400; letter-spacing: .1em; }
.site-nav { display: flex; gap: 28px; align-items: center; color: #b8c9e3; font-size: 13px; flex-shrink: 0; }
.site-nav a:hover { color: var(--teal); }
.site-nav .nav-current { color: #92c8ff; font-weight: 700; }
.site-nav .admin-link { padding: 8px 15px; border: 1px solid #426292; border-radius: 24px; color: #d3e7ff; }
.frontend .wrap { max-width: 1280px; padding: 32px 32px 28px; }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: center; background-color: #0a1d43; background-image: radial-gradient(ellipse at 85% 50%, #2657b8aa, transparent 60%), linear-gradient(#6b9cdd13 1px, transparent 1px), linear-gradient(90deg, #6b9cdd13 1px, transparent 1px); background-size: auto, 48px 48px, 48px 48px; color: #fff; border-radius: 18px; padding: 60px 46px 48px; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; width: 490px; height: 490px; right: -160px; top: -180px; border: 1px solid #7cb0ff40; box-shadow: 0 0 0 38px #4989e410, 0 0 0 82px #4989e408; border-radius: 50%; pointer-events: none; }
.hero-copy, .capabilities { position: relative; z-index: 1; min-width: 0; }
.eyebrow { display: flex; gap: 9px; align-items: center; color: #a4d2ff; font-size: 10px; letter-spacing: .13em; margin: 0 0 22px; }
.eyebrow > span { height: 6px; width: 6px; border-radius: 50%; background: #8cc6ff; flex-shrink: 0; }
.hero h1 { margin: 0 0 23px; font-size: clamp(32px, 3.6vw, 52px); font-weight: 750; line-height: 1.4; letter-spacing: -.02em; }
.hero h1 span { color: #88c5ff; }
.hero-description { color: #b7cbea; font-size: 13px; margin: 0 0 28px; line-height: 2; max-width: 440px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .hero-action, .hero-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 12px 20px; min-height: 46px; font-size: 12px; border-radius: 28px; }
.hero .hero-action { color: #0a2854; background: #71b9ff; font-weight: 700; }
.hero .hero-action:hover { background: #abd7ff; }
.hero-secondary { color: #e7f1ff; border: 1px solid #4d70a4; }
.hero-secondary:hover { background: #203e6c; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px 18px; color: #9cb6d9; font-size: 10px; margin: 25px 0 0; }
.hero-tags span::before { content: ''; display: inline-block; width: 5px; height: 5px; background: #71b9ff; border-radius: 50%; margin-right: 7px; vertical-align: middle; }
.capabilities { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.capability { border: 1px solid #365c91; border-radius: 10px; padding: 24px 18px; background: #102d55dd; }
.capability-number { color: #8dc4ff; font-size: 9px; letter-spacing: .09em; }
.capability h2 { margin: 9px 0 5px; font-size: 16px; font-weight: 600; }
.capability p { margin: 0; color: #aec6e7; font-size: 11px; line-height: 1.8; }
.workspace { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 32px; }
.analysis-sidebar { padding: 22px 8px 0 0; position: sticky; top: 24px; }
.section-kicker { color: var(--teal); font-size: 10px; font-weight: 700; letter-spacing: .12em; margin: 0 0 9px; }
.analysis-sidebar h2 { font-size: 23px; line-height: 1.6; margin: 0 0 14px; font-weight: 650; }
.sidebar-description { color: var(--muted); font-size: 12px; margin: 0 0 24px; max-width: 205px; }
.form-outline { padding: 0; margin: 0; list-style: none; }
.form-outline li { position: relative; padding-bottom: 25px; }
.form-outline li:not(:last-child)::after { content: ''; position: absolute; left: 15px; top: 34px; bottom: 3px; width: 1px; background: #d0dff2; }
.form-outline a { display: flex; gap: 12px; align-items: start; }
.form-outline a > span { display: grid; place-items: center; height: 32px; width: 32px; flex-shrink: 0; border: 1px solid #c8d9f3; border-radius: 50%; background: #edf4ff; color: var(--teal); font-size: 11px; font-weight: 600; }
.form-outline b { display: block; font-size: 13px; padding-top: 2px; }
.form-outline small { display: block; color: var(--muted); font-size: 11px; }
.form-outline em { font-style: normal; font-size: 10px; color: var(--muted); font-weight: 400; margin-left: 5px; }
.form-outline a:hover b { color: var(--teal); }
.reference-note { margin-top: 5px; padding-top: 20px; border-top: 1px solid var(--line); }
.reference-label { color: var(--teal); font-size: 11px; font-weight: 600; }
.reference-note p { font-size: 11px; color: var(--muted); margin: 8px 0 0; line-height: 1.9; }
.frontend .card { border: 1px solid var(--line); border-radius: 13px; padding: 30px; margin-bottom: 20px; box-shadow: 0 3px 12px #16354a03; }
.frontend .analysis-form { margin: 0; min-width: 0; }
.form-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.frontend .form-heading h2 { border: 0; margin: 0; padding: 0; font-size: 22px; font-weight: 650; }
.form-heading .section-kicker { margin-bottom: 4px; }
.required-note { color: var(--muted); font-size: 11px; white-space: nowrap; }
.frontend .req { color: #bd4542; }
.analysis-form fieldset { border: 0; border-bottom: 1px solid var(--line); padding: 25px 0 28px; margin: 0; min-width: 0; }
.analysis-form legend { float: left; width: 100%; padding: 0; margin: 0 0 8px; font-size: 16px; font-weight: 650; display: flex; gap: 9px; align-items: center; }
.analysis-form legend + * { clear: both; }
.section-number { font-size: 11px; font-weight: 600; color: var(--teal); background: #eaf2ff; border-radius: 5px; padding: 2px 7px; }
.section-description { margin: 0 0 19px; color: var(--muted); font-size: 12px; }
.frontend .grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin-bottom: 0; }
.frontend .company-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.frontend .grid > label { font-size: 12px; font-weight: 500; color: #40576a; min-width: 0; }
.frontend input[type=text], .frontend select { min-height: 44px; width: 100%; max-width: 100%; padding: 10px 11px; margin-top: 7px; border: 1px solid #cdd9e1; border-radius: 6px; font-size: 12px; background: #fff; color: #203953; line-height: 1.5; }
.frontend select { padding-right: 6px; text-overflow: ellipsis; }
.frontend input::placeholder { color: #7a8a97; font-size: 11px; }
.frontend input[type=text]:focus, .frontend select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px #2463d918; }
.frontend label small { font-size: 10px; color: var(--muted); margin-top: 6px; line-height: 1.7; font-weight: 400; }
.field-optional { color: var(--muted); font-size: 10px; font-weight: 400; margin-left: 4px; }
.frontend .why { background: #edf4ff; border-left: 3px solid #4c87d9; color: #42638d; border-radius: 0 6px 6px 0; padding: 12px 14px; font-size: 11px; line-height: 1.9; margin: 18px 0; }
.frontend .why b { font-weight: 650; }
.frontend .grid > label.chk { display: flex; font-size: 12px; align-items: center; padding-top: 17px; font-weight: 400; gap: 8px; }
.frontend input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--teal); flex-shrink: 0; margin: 0; }
.submit-area { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-top: 23px; }
.submit-area p { font-size: 10px; line-height: 1.8; color: var(--muted); margin: 0; }
.frontend .btn { margin: 0; display: inline-flex; justify-content: center; align-items: center; gap: 22px; padding: 13px 20px; min-height: 48px; border: 1px solid var(--teal); border-radius: 7px; background: var(--teal); font-size: 13px; font-weight: 600; white-space: nowrap; }
.frontend .btn:hover { background: #1a4eaf; border-color: #1a4eaf; }
.frontend .alert { border-radius: 7px; font-size: 12px; line-height: 1.9; padding: 13px 16px; overflow-wrap: anywhere; }
.frontend .market-overlap-note { background: #fff3db; border: 1px solid #e8c77c; border-left: 3px solid #b87618; color: #624a1b; margin: 0 0 14px; }
.frontend .success-banner { display: flex; align-items: center; gap: 16px; background: #e7f5ee; color: #245b45; border: 1px solid #bcdcca; margin: 24px 0 0; padding: 18px 24px; }
.success-symbol { width: 30px; height: 30px; display: grid; place-items: center; background: #2b8665; color: white; border-radius: 50%; flex-shrink: 0; }
.success-banner b { font-size: 14px; }
.success-banner p { font-size: 11px; margin: 2px 0 0; }
.success-banner a { margin-left: auto; white-space: nowrap; font-weight: 600; font-size: 12px; }
.report-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 52px; }
.report-heading h2 { font-size: 25px; margin: 0 0 5px; }
.report-heading p:not(.section-kicker) { color: var(--muted); font-size: 12px; margin: 0; }
.report-heading > a { color: var(--teal); font-size: 12px; white-space: nowrap; }
.report-nav { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0; }
.report-nav a { background: #fff; color: #3b5b70; border: 1px solid var(--line); border-radius: 6px; padding: 9px 18px; font-size: 12px; }
.report-nav a:hover { color: var(--teal); border-color: #8ab7b0; }
.report-sections > .card { min-width: 0; }
.frontend .report-sections h2 { font-size: 18px; color: var(--navy); padding: 0 0 17px; margin: 0 0 18px; border-color: var(--line); }
.frontend .report-sections h3 { font-size: 13px; }
.data-caption { margin: 0 0 18px; padding: 9px 12px; background: #edf4ff; border-left: 3px solid #4b87df; border-radius: 0 5px 5px 0; color: #49668b; font-size: 11px; line-height: 1.9; overflow-wrap: anywhere; }
.next-step { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px; background: #e8f1ff; border: 1px solid #c4d7f5; border-radius: 13px; }
.next-step h2 { font-size: 22px; margin: 0 0 9px; color: #193a6b; }
.next-step p:not(.section-kicker) { margin: 0; color: #4b668b; font-size: 12px; max-width: 640px; }
.frontend .next-step .btn { color: #fff; }
.table-scroll { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
/* C6：窄屏下表格横向滚动没有可见提示，右侧列会被硬裁切，补一行说明（仅窄屏显示）。 */
.table-scroll-hint { display: none; margin: 0 0 6px; font-size: 11px; color: #7b8ba1; }
@media (max-width: 760px) { .table-scroll-hint { display: block; } }
.frontend table { min-width: 620px; font-size: 12px; }
.frontend th { padding: 11px 14px; background: #f0f5f7; color: #4c6678; font-size: 11px; }
.frontend td { padding: 12px 14px; border-color: #e5edf1; }
.frontend tr.row-top td { background: #f1f6ff; }
.frontend .kv { gap: 8px 24px; font-size: 11px; }
.frontend .pill.hot { background: var(--teal); }
.frontend .pill { font-size: 12px; }
.frontend .rate { color: var(--teal); font-size: 28px; }
.frontend .disc { background: #fffaf5; border-color: #e8daca; }
.frontend .disc ol { color: #725a45; font-size: 12px; }
.frontend .ft { display: flex; justify-content: space-between; align-items: start; gap: 24px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.ft > div { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 10px; }
.ft b { font-size: 14px; color: var(--navy); white-space: nowrap; }
.ft p { margin: 0; font-size: 10px; text-align: right; line-height: 1.9; overflow-wrap: anywhere; }
@media (max-width: 1100px) {
    .hero { gap: 28px; padding: 36px 30px; }
    .workspace { grid-template-columns: 190px minmax(0, 1fr); gap: 22px; }
    .frontend .company-grid { grid-template-columns: 1fr; }
    .frontend .card { padding: 26px; }
    .submit-area { align-items: start; flex-direction: column; }
    .submit-area .btn { width: 100%; }
}
@media (max-width: 760px) {
    .header-inner { min-height: 74px; padding: 12px 20px; }
    .site-nav { gap: 18px; }
    .site-nav > a:not(.admin-link) { display: none; }
    .brand { font-size: 13px; gap: 8px; }
    .brand small { font-size: 9px; letter-spacing: 0; }
    .brand-mark { width: 35px; height: 35px; font-size: 26px; }
    .site-nav .admin-link { font-size: 11px; padding: 6px 11px; }
    .frontend .wrap { padding: 20px; }
    .hero { grid-template-columns: 1fr; padding: 28px; gap: 26px; border-radius: 13px; }
    .hero h1 { font-size: clamp(29px, 7.7vw, 42px); }
    .hero-description { font-size: 12px; margin-bottom: 17px; }
    .eyebrow { font-size: 9px; }
    .capabilities { gap: 10px; }
    .capability { padding: 14px 12px; }
    .capability h2 { font-size: 14px; margin: 6px 0 4px; }
    .capability-number { font-size: 8px; letter-spacing: 0; }
    .capability p { font-size: 10px; }
    .workspace { grid-template-columns: 1fr; gap: 18px; margin-top: 24px; }
    .analysis-sidebar { position: static; padding: 0; }
    .analysis-sidebar > .section-kicker, .analysis-sidebar > h2, .sidebar-description { display: none; }
    .form-outline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
    .form-outline li { padding: 0; }
    .form-outline li:not(:last-child)::after { display: none; }
    .form-outline a { flex-direction: column; align-items: center; text-align: center; gap: 6px; }
    .form-outline b { font-size: 11px; }
    .form-outline small, .form-outline em, .reference-note { display: none; }
    .frontend .card { padding: 22px; border-radius: 10px; }
    .frontend .form-heading h2 { font-size: 19px; }
    .form-heading { align-items: start; padding-bottom: 20px; }
    .required-note { font-size: 10px; padding-top: 5px; }
    .frontend .grid, .frontend .company-grid { grid-template-columns: 1fr; gap: 16px; }
    .analysis-form legend { font-size: 15px; }
    .analysis-form fieldset { padding: 22px 0; }
    .frontend input[type=text], .frontend select { font-size: 14px; min-height: 46px; }
    .frontend .grid > label.chk { padding-top: 2px; }
    .frontend .grid:has(> label.chk) { gap: 12px; margin-top: 15px; }
    .frontend .success-banner { padding: 16px; gap: 12px; flex-wrap: wrap; }
    .success-banner a { margin-left: 42px; }
    .report-heading { align-items: start; flex-direction: column; padding-top: 32px; }
    .report-heading h2 { font-size: 22px; }
    .report-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0; }
    .report-nav a { padding: 9px 12px; text-align: center; font-size: 11px; }
    .frontend .ft { flex-direction: column; gap: 12px; }
    .ft p { text-align: left; }
    .next-step { padding: 22px; flex-direction: column; align-items: start; gap: 18px; }
    .frontend .next-step .btn { width: 100%; }
}
@media (max-width: 380px) {
    .frontend .wrap { padding: 14px; }
    .header-inner { padding: 12px 14px; }
    .header-inner { gap: 8px; }
    .brand { font-size: 11px; }
    .brand-mark { width: 29px; height: 29px; font-size: 23px; }
    .site-nav .admin-link { padding: 6px 8px; font-size: 10px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero { padding: 24px 20px; }
    .frontend .card { padding: 18px; }
    .form-heading { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: no-preference) {
    .frontend { scroll-behavior: smooth; }
    .frontend a, .frontend .btn { transition: background-color .15s, border-color .15s, color .15s; }
}

/* 四板块工作台；目录按顺序显现，右侧整页切换时一秒淡入。 */
.frontend { background-color:#f3f7fd; background-image:radial-gradient(ellipse at 10% 10%,#d7e8ff80,transparent 48%),radial-gradient(ellipse at 92% 65%,#e1edff90,transparent 45%); }
.frontend [hidden] { display:none!important; }
.frontend .wrap { max-width:1440px; }
.app-workspace { margin-top:0; grid-template-columns:220px minmax(0,1fr); gap:28px; }
.workspace-main { min-width:0; }
.analysis-sidebar { top:20px; padding-top:18px; }
.analysis-sidebar h2 { color:var(--navy); font-size:24px; }
.stage-nav { list-style:none; padding:0; margin:0 0 26px; }
.stage-nav li { margin:7px 0; }
.stage-nav a { display:flex; align-items:center; gap:12px; padding:13px 10px; border:1px solid transparent; border-radius:10px; }
.stage-nav a>span { display:grid; place-items:center; width:33px; height:33px; border:1px solid #d0def0; border-radius:50%; font-size:11px; flex-shrink:0; color:#7085a1; background:#fff; }
.stage-nav b { display:block; font-size:13px; }
.stage-nav small { display:block; font-size:10px; color:var(--muted); margin-top:2px; }
.stage-nav a[aria-selected=true] { background:#e7f0ff; border-color:#ccddf8; color:#1d53ad; }
.stage-nav a[aria-selected=true]>span { background:#2463d9; border-color:#2463d9; color:white; }
.stage-nav a:hover { background:#ecf3ff; }
.directory-reveal { animation:directory-appear 1s ease-out both; }
@keyframes directory-appear { from { opacity:0; transform:translateY(7px); } to { opacity:1; transform:translateY(0); } }
.stage-panel { min-width:0; outline:none; }
.stage-panel.panel-reveal { animation:panel-appear 1s ease-out both; }
@keyframes panel-appear { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
.stage-panel .hero { padding:46px 32px; gap:24px; min-height:610px; grid-template-columns:1.05fr 1fr; }
.stage-panel .hero h1 { font-size:clamp(30px,3.1vw,45px); }
.stage-panel .hero-description { font-size:12px; }
.stage-panel .capability { padding:22px 15px; }
.stage-panel .capability h2 { font-size:15px; }
.stage-panel .capability p { font-size:10px; }
.stage-panel .report-heading { padding-top:0; margin-bottom:24px; }
.reference-note a { text-decoration:underline; text-underline-offset:3px; color:#45668f; overflow-wrap:anywhere; }
.reference-note .reference-group { font-size:10px; color:#8a9bb2; margin-top:14px; }
.reference-note p { margin-top:6px; }
.panel-next { text-align:right; margin:24px 0; }
.frontend button:disabled { cursor:wait; opacity:.6; }
.submission-dialog { border:1px solid #d2e0f3; border-radius:18px; padding:36px; width:min(460px,calc(100% - 32px)); color:#203953; box-shadow:0 24px 100px #0c2c5b38; text-align:center; }
.submission-dialog::backdrop { background:#0c234d88; backdrop-filter:blur(4px); }
.submission-dialog .success-symbol { width:54px; height:54px; font-size:28px; margin:0 auto 16px; background:#249967; }
.submission-dialog h2 { font-size:23px; margin:0 0 10px; }
.submission-dialog>p { min-height:48px; margin:0 0 24px; color:#697c93; font-size:13px; }
.progress-heading { display:flex; justify-content:space-between; font-size:11px; margin-bottom:8px; color:#5b7190; }
.progress-heading b { color:#2463d9; font-size:13px; }
.submission-dialog progress { display:block; width:100%; height:8px; border:0; border-radius:8px; background:#e5edf9; overflow:hidden; accent-color:#3b82f6; }
.submission-dialog progress::-webkit-progress-bar { background:#e5edf9; border-radius:8px; }
.submission-dialog progress::-webkit-progress-value { background:linear-gradient(90deg,#2463d9,#78b9ff); border-radius:8px; }
.submission-dialog progress::-moz-progress-bar { background:#4389ef; border-radius:8px; }
.frontend .submission-dialog .btn { width:100%; margin-top:28px; }
@media (max-width:1200px) {
 .stage-panel .hero { grid-template-columns:1fr; min-height:0; padding:36px; }
 .stage-panel .hero h1 { font-size:42px; }
 .stage-panel .hero-description { max-width:560px; }
 .stage-panel .capabilities { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .stage-panel .capability { padding:18px; }
}
@media (max-width:760px) {
 .app-workspace { grid-template-columns:1fr; gap:20px; margin-top:0; }
 .stage-nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; margin:0; }
 .stage-nav li { margin:0; min-width:0; }
 .stage-nav a { padding:10px; gap:8px; height:100%; background:#ffffffaa; }
 .stage-nav a>span { width:27px; height:27px; font-size:10px; }
 .stage-nav b { font-size:12px; }
 .stage-nav small { font-size:9px; }
 .reference-note { display:block; padding-top:12px; margin-top:12px; line-height:1.5; }
 .reference-note .reference-label { display:block; font-size:10px; }
 .reference-note p { display:inline; margin:0 10px 0 0; font-size:9px; }
 .reference-note .reference-group { display:inline; font-size:9px; margin:0 4px 0 0; }
 .stage-panel .hero { padding:28px; gap:24px; }
 .stage-panel .hero h1 { font-size:clamp(28px,8vw,40px); }
 .stage-panel .capability { padding:14px 12px; }
 .stage-panel .capability h2 { font-size:13px; }
 .frontend .ft { margin-top:24px; }
 .submission-dialog { padding:28px 22px; }
}
@media (max-width:380px) {
 .stage-nav a { padding:8px 6px; }
 .stage-nav small { display:none; }
 .stage-panel .hero { padding:24px 20px; }
}
@media (prefers-reduced-motion:reduce) { .directory-reveal, .stage-panel.panel-reveal { animation:none; } }

/* 首页利益前置布局 */
#home-panel .hero { grid-template-columns:minmax(0, .9fr) minmax(0, 1.1fr); min-height:0; padding:36px; gap:28px; }
#home-panel .hero-copy { align-self:center; }
#home-panel .hero h1 { margin-bottom:16px; }
#home-panel .hero-description { margin-bottom:20px; max-width:400px; }
#home-panel .home-benefits { position:relative; z-index:1; min-width:0; }
#home-panel .hook-buttons { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-bottom:18px; }
#home-panel .hook-buttons button { min-width:0; min-height:44px; padding:8px 6px; border:1px solid #5679ab; border-radius:6px; background:#102d55; color:#f5f8ff; font:inherit; font-size:12px; cursor:pointer; }
#home-panel .hook-buttons button:hover { background:#214779; }
#home-panel .home-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; padding:17px 0; border-top:1px solid #ffffff30; border-bottom:1px solid #ffffff30; }
#home-panel .home-stat { min-width:0; padding:0 9px; border-right:1px solid #ffffff25; }
#home-panel .home-stat:first-child { padding-left:0; }
#home-panel .home-stat:last-child { padding-right:0; border:0; }
#home-panel .home-stat strong { display:block; color:#fff; font-size:clamp(20px,2vw,28px); line-height:1.2; white-space:nowrap; }
#home-panel .home-stat span { display:block; margin-top:5px; color:#bed0e9; font-size:10px; line-height:1.45; }
#home-panel .industry-ticker { display:flex; align-items:center; gap:12px; min-width:0; margin-top:13px; }
#home-panel .ticker-label { flex:none; color:#9fc9f5; font-size:10px; }
#home-panel .ticker-track { display:flex; min-width:0; flex:1; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; overscroll-behavior-x:contain; }
#home-panel .ticker-track::-webkit-scrollbar { display:none; }
#home-panel .ticker-item { display:flex; align-items:baseline; gap:8px; flex:0 0 100%; min-width:0; scroll-snap-align:start; white-space:nowrap; }
#home-panel .ticker-item strong { color:#fff; font-size:12px; }
#home-panel .ticker-item span { color:#bfe1ff; font-size:12px; font-weight:700; }
#home-panel .ticker-item small { min-width:0; overflow:hidden; color:#9bb4d5; font-size:9px; text-overflow:ellipsis; }
#home-panel > .capabilities { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-top:12px; }
#home-panel > .capabilities .capability { display:grid; grid-template-columns:22px minmax(0,1fr); align-items:center; column-gap:8px; min-width:0; min-height:78px; padding:12px; border-color:#dce6f3; background:#fff; color:#203953; border-radius:6px; }
#home-panel > .capabilities .capability > span { grid-row:span 2; display:grid; place-items:center; width:22px; height:22px; color:#2463d9; font-size:19px; }
#home-panel > .capabilities .capability h2 { margin:0; font-size:12px; }
#home-panel > .capabilities .capability p { grid-column:2; color:#697c93; font-size:9px; line-height:1.4; }
@media (max-width:1200px) {
 #home-panel .hero { grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); padding:30px; }
 #home-panel .hero h1 { font-size:36px; }
}
@media (max-width:760px) {
 #home-panel .hero { grid-template-columns:1fr; gap:19px; padding:22px; }
 #home-panel .hero h1 { margin-bottom:10px; font-size:32px; line-height:1.3; }
 #home-panel .hero-description { margin-bottom:13px; font-size:12px; line-height:1.7; }
 #home-panel .hero .hero-action { min-height:42px; padding:9px 16px; }
 #home-panel .hook-buttons { grid-template-columns:1fr; gap:6px; margin-bottom:12px; }
 #home-panel .hook-buttons button { min-height:38px; text-align:left; padding:7px 12px; }
 #home-panel .home-stats { padding:12px 0; }
 #home-panel .home-stat { padding:0 5px; }
 #home-panel .home-stat strong { font-size:20px; }
 #home-panel .home-stat span { font-size:9px; }
 #home-panel .industry-ticker { margin-top:9px; }
 #home-panel > .capabilities { gap:6px; margin-top:8px; }
 #home-panel > .capabilities .capability { grid-template-columns:1fr; align-content:start; gap:3px; min-height:88px; padding:8px 6px; text-align:center; }
 #home-panel > .capabilities .capability > span { grid-row:auto; margin:auto; }
 #home-panel > .capabilities .capability h2 { font-size:10px; }
 #home-panel > .capabilities .capability p { grid-column:auto; font-size:8px; }
}
@media (max-width:380px) {
 #home-panel .hero { padding:18px; }
 #home-panel .home-stat strong { font-size:18px; }
}
@media (prefers-reduced-motion:reduce) { #home-panel .ticker-track { scroll-behavior:auto; } }

/* 方案2：候选信息分层、区域市场卡片与锁定咨询入口。 */
.hs-candidate-list { display:grid; gap:16px; min-width:0; }
.hs-candidate { min-width:0; padding:20px; background:#f9fbff; border:1px solid #dce7f6; border-radius:10px; }
.candidate-header { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.candidate-header>div { display:flex; flex-wrap:wrap; align-items:center; gap:10px; min-width:0; }
.candidate-index { font-size:10px; color:#7186a2; }
.candidate-code { font-size:16px; color:#173f7c; letter-spacing:.04em; }
.candidate-match { color:#5b7190; font-size:10px; white-space:nowrap; }
.candidate-match b { color:#2463d9; font-size:13px; }
.frontend .report-sections .hs-candidate h3 { font-size:15px; line-height:1.8; margin:12px 0; }
.candidate-description { font-size:11px; color:#617897; }
.hs-candidate h3, .candidate-description, .candidate-facts dd, .candidate-details { overflow-wrap:anywhere; word-break:normal; }
.candidate-facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px 20px; margin:16px 0; }
.candidate-facts>div { min-width:0; }
.candidate-facts dt { font-size:10px; color:#7487a2; }
.candidate-facts dd { margin:2px 0 0; font-size:12px; color:#28486e; overflow-wrap:anywhere; }
.candidate-detail-request { margin:12px 0; }
.candidate-detail-request .btn { max-width:100%; white-space:normal; }
.candidate-detail-request .candidate-detail-state { margin:0 0 8px; font-size:11px; color:#7086a3; }
.frontend .candidate-detail-fetch { min-height:36px; padding:8px 12px; gap:8px; font-size:12px; }
.declaration-block { border-top:1px solid #e1eaf5; padding-top:14px; }
.declaration-block>b { display:block; font-size:11px; color:#3c5e88; margin-bottom:8px; }
.declaration-tags { display:flex; flex-wrap:wrap; gap:6px; }
.declaration-tags span { font-size:10px; background:#eaf1fc; color:#4b6c98; padding:3px 8px; border-radius:4px; overflow-wrap:anywhere; }
.candidate-details { font-size:10px; color:#7086a3; margin-top:14px; }
.candidate-details summary { cursor:pointer; width:fit-content; }
.candidate-details p { overflow-wrap:anywhere; margin:8px 0; }
.match-source { display:inline-block; max-width:100%; padding:2px 6px; border-radius:3px; white-space:normal; overflow-wrap:anywhere; }
.match-source-name { color:#315f4a; background:#e8f3ec; }
.match-source-alias { color:#78602b; background:#f5f0df; }
.candidate-details a { text-decoration:underline; }
.locked-feature { font:inherit; display:flex; align-items:center; gap:10px; width:100%; text-align:left; margin-top:22px; border:1px solid #dce1e9; border-radius:8px; background:#f2f4f7; color:#68788f; padding:15px 16px; cursor:pointer; font-size:12px; }
.locked-feature:hover { background:#e9edf3; border-color:#c2cddd; }
.lock-label { margin-left:auto; font-size:10px; white-space:nowrap; }
.lock-icon { width:13px; height:11px; border:1.5px solid currentColor; border-radius:2px; position:relative; display:inline-block; margin:5px 2px 0; flex-shrink:0; }
.lock-icon::before { content:''; position:absolute; width:7px; height:7px; border:1.5px solid currentColor; border-bottom:0; border-radius:6px 6px 0 0; left:1.5px; top:-7px; }
.market-region-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:18px 0; }
.market-region { background:linear-gradient(140deg,#f7faff,#edf4ff); border:1px solid #dae7fa; border-radius:9px; padding:18px; }
.market-rank { font-size:10px; color:#6d8bb5; }
.frontend .report-sections .market-region h3 { font-size:19px; color:#1c477e; margin:7px 0 9px; }
.market-region p { font-size:10px; color:#6d82a0; margin:0; }
.market-region .market-amount { color:#295896; font-size:18px; font-weight:600; }
.market-amount small { display:block; color:#7189aa; font-size:10px; font-weight:400; }
.market-share-track { height:4px; background:#dce8fa; border-radius:4px; overflow:hidden; margin:15px 0 7px; }
.market-share-track span { display:block; height:100%; background:#5a9bf2; }
.contact-dialog { width:min(410px,calc(100% - 32px)); padding:32px; border:1px solid #d6e1f0; border-radius:14px; color:#234165; box-shadow:0 20px 80px #102e5633; }
.contact-dialog::backdrop { background:#102e5677; }
.contact-dialog h2 { margin:0 0 16px; font-size:21px; }
.contact-dialog p { font-size:13px; color:#657e9f; }
.frontend .contact-dialog .btn { width:100%; margin-top:14px; }
@media(max-width:760px){
 .hs-candidate { padding:15px; }
 .candidate-header { align-items:start; flex-direction:column; gap:5px; }
 .candidate-code { font-size:15px; }
 .candidate-facts { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 .market-region-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
 .market-region { padding:13px; }
 .frontend .report-sections .market-region h3 { font-size:17px; }
 .locked-feature { font-size:11px; padding:13px 11px; gap:8px; }
 .lock-label { font-size:9px; }
}

/* ===== 2026-11-08 需求批次：页头数据来源、联系弹窗二维码、候选卡视觉 ===== */
/* 数据来源改为页头品牌右侧的固定文字，不再跳转外部链接。 */
.header-inner > .header-sources { margin-right:auto; display:flex; align-items:baseline; gap:10px; min-width:0; }
.header-sources-label { color:#8fb6ea; font-size:10px; letter-spacing:.14em; white-space:nowrap; flex-shrink:0; }
.header-sources p { margin:0; color:#ffffff; font-size:11px; line-height:1.6; letter-spacing:.02em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
@media (max-width:1080px){ .header-inner > .header-sources { display:none; } }

/* 2026-11-12 market country layout */
.market-data-overview,.market-side-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; }
.market-data-overview { margin:18px 0 12px; padding:16px 18px; border-left:3px solid #BA7517; background:#FFFFFF; }
.market-data-overview h3,.market-side-heading h3 { margin:4px 0; color:#2C2C2A; font-size:16px; }
.market-data-overview p,.market-side-heading p { margin:0; color:#5F5E5A; font-size:11px; line-height:1.6; }
.market-data-kicker { color:#888780!important; font-size:11px!important; font-weight:500; }
.market-total-figure { display:flex; align-items:baseline; flex-wrap:wrap; gap:7px; color:#2C2C2A; }
.market-total-figure small,.market-total-figure span { color:#5F5E5A; font-size:11px; }
.market-total-figure strong { color:#BA7517; font-size:20px; font-weight:500; font-variant-numeric:tabular-nums; }
.market-total-figure [data-market-overview-total] { display:grid; gap:4px; }
.market-total-figure [data-market-overview-total][hidden] { display:none; }
.market-side-tabs { display:flex; gap:18px; border-bottom:.5px solid #F1EFE8; }
.market-side-tabs [role="tab"] { padding:10px 4px; border:0; border-bottom:2px solid transparent; color:#5F5E5A; background:#FFFFFF; font:inherit; font-size:13px; cursor:pointer; }
.market-side-tabs [role="tab"][aria-selected="true"] { border-bottom-color:#BA7517; color:#2C2C2A; }
.market-side-tabs [role="tab"]:focus-visible,.market-region-card:focus-visible,.market-country-row:focus-visible,.market-expand-close:focus-visible,.market-expand-cta:focus-visible { outline:2px solid #BA7517; outline-offset:2px; }
.market-side-panel { padding-top:14px; }
.market-side-panel[hidden] { display:none; }
.market-side-heading { margin-bottom:12px; }
.market-side-total { display:grid; gap:4px; color:#5F5E5A; font-size:11px; text-align:right; }
.market-side-total strong { color:#2C2C2A; font-size:16px; font-weight:500; white-space:nowrap; }
.market-side-total small { font-size:11px; font-weight:400; }
.market-region-primary { display:grid; gap:0; margin-bottom:12px; }
.market-region-row { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:start; gap:12px; margin-bottom:12px; }
.market-region-card { box-sizing:border-box; display:flex; flex-direction:column; align-items:stretch; min-width:0; min-height:150px; padding:18px 20px; border:.5px solid #E5E2D9; border-radius:12px; color:#2C2C2A; background:#FFFFFF; text-align:left; font:inherit; cursor:pointer; }
.market-region-primary-card { min-height:200px; padding:20px; }
.market-region-card[aria-expanded="true"] { border-left:3px solid #BA7517; border-radius:12px 12px 0 0; }
.market-region-rank { display:flex; justify-content:space-between; gap:8px; color:#5F5E5A; font-size:11px; }
.market-region-rank span:last-child { color:#888780; }
.market-region-name { margin-top:12px; color:#2C2C2A; font-size:15px; font-weight:500; }
.market-region-primary-card .market-region-name { font-size:19px; }
.market-region-amount { margin-top:7px; color:#2C2C2A; font-size:19px; font-variant-numeric:tabular-nums; }
.market-region-amount small { color:#5F5E5A; font-size:11px; }
.market-region-primary-card .market-region-amount { font-size:24px; }
.market-region-share-track { display:block; height:6px; margin:12px 0 6px; overflow:hidden; border-radius:3px; background:#E8EDF3; }
.market-region-share-track span { display:block; height:100%; border-radius:3px; background:#BA7517; }
.market-region-share-label { color:#5F5E5A; font-size:11px; }
.market-terminal-note { margin-top:6px; color:#854F0B; font-size:11px; }
.market-terminal-note[hidden] { display:none; }
.market-card-action { display:flex; justify-content:space-between; gap:8px; margin-top:auto; padding-top:10px; color:#854F0B; font-size:11px; }
.market-region-expand { box-sizing:border-box; grid-column:1/-1; grid-row:2; min-width:0; min-height:0; max-height:0; overflow:hidden; border:.5px solid transparent; border-radius:0 12px 12px 12px; opacity:0; transition:max-height .2s ease,opacity .2s ease,border-color .2s ease; }
.market-region-primary>.market-region-expand { grid-column:auto; grid-row:auto; }
.market-region-expand.is-open { border-color:#E5E2D9; border-left:3px solid #BA7517; opacity:1; }
.market-expand-toolbar { display:flex; align-items:center; gap:14px; min-height:42px; padding:6px 20px; border-bottom:.5px solid #F1EFE8; background:#FFFFFF; }
.market-expand-heading { margin:0 auto 0 0; color:#2C2C2A; font-size:13px; font-weight:500; }
.market-expand-close,.market-entrepot-toggle { display:inline-flex; align-items:center; gap:7px; padding:5px 0; border:0; color:#5F5E5A; background:transparent; font:inherit; font-size:11px; cursor:pointer; white-space:nowrap; }
.market-entrepot-toggle { color:#854F0B; }
.switch-track { display:inline-flex; width:30px; height:16px; align-items:center; padding:2px; border-radius:10px; background:#F1EFE8; }
.switch-track span { width:12px; height:12px; border-radius:50%; background:#888780; transition:transform .2s,background .2s; }
.market-entrepot-toggle[aria-checked="true"] .switch-track { background:#BA7517; }
.market-entrepot-toggle[aria-checked="true"] .switch-track span { background:#FFFFFF; transform:translateX(14px); }
.market-country-state[hidden] { display:none; }
.market-expand-conclusion { margin:10px 20px; padding:9px 12px; border-radius:6px; color:#633806; background:#FAEEDA; font-size:12px; line-height:1.5; }
.market-country-list { padding:0 0 2px; }
.market-country-row { display:grid; width:100%; min-width:0; gap:2px; padding:4px 20px; border:0; border-bottom:.5px solid #F1EFE8; color:#2C2C2A; background:#FFFFFF; text-align:left; font:inherit; cursor:pointer; }
.market-country-main { display:grid; grid-template-columns:26px minmax(0,1fr) auto; align-items:center; gap:8px; min-height:24px; }
.row-rank { color:#888780; font-size:12px; font-variant-numeric:tabular-nums; }
.row-name { display:flex; min-width:0; align-items:baseline; gap:6px; color:#2C2C2A; font-size:13px; font-weight:400; }
.row-name strong { overflow:hidden; font-weight:400; text-overflow:ellipsis; white-space:nowrap; }
.row-name small { overflow:hidden; color:#5F5E5A; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.row-amount { color:#5F5E5A; font-size:12px; font-variant-numeric:tabular-nums; white-space:nowrap; }
.market-entrepot-badge { flex:none; padding:0 6px; border-radius:8px; color:#5F5E5A; background:#F1EFE8; font-size:10px; line-height:16px; }
.market-country-metrics { display:grid; grid-template-columns:150px 52px 110px minmax(90px,auto); align-items:center; gap:10px; min-height:12px; padding-left:34px; }
.row-bar { display:block; width:150px; height:6px; overflow:hidden; border-radius:3px; background:#E8EDF3; }
.row-bar span { display:block; height:100%; border-radius:3px; background:#BA7517; }
.row-share,.row-china,.row-action { color:#5F5E5A; font-size:11px; white-space:nowrap; }
.row-action { color:#854F0B; text-align:right; }
.row-insight { display:block; padding:2px 0 2px 34px; color:#5F5E5A; font-size:12px; }
.market-country-other { border-bottom:.5px solid #F1EFE8; }
.market-country-other summary { padding:8px 20px 8px 54px; color:#5F5E5A; font-size:11px; cursor:pointer; }
.market-expand-footer { position:sticky; bottom:0; display:flex; justify-content:space-between; align-items:center; gap:12px; padding:10px 20px; border-top:.5px solid #F1EFE8; background:#FFFFFF; color:#888780; font-size:11px; }
.market-expand-cta { padding:7px 10px; border:.5px solid #BA7517; border-radius:6px; color:#854F0B; background:#FFFFFF; font:inherit; font-size:11px; cursor:pointer; white-space:nowrap; }
.market-more-markets { margin-top:2px; border:.5px solid #E5E2D9; border-radius:8px; }
.market-more-markets>summary { padding:12px 16px; color:#5F5E5A; font-size:12px; cursor:pointer; }
.market-more-markets[open]>summary { border-bottom:.5px solid #F1EFE8; }
.market-more-grid { margin:12px 12px 0; }
.market-unassigned-entry { display:flex; justify-content:space-between; align-items:center; gap:10px; margin:12px; padding:12px 10px; border-top:.5px solid #F1EFE8; color:#5F5E5A; font-size:11px; }
.market-unassigned-open { border:0; color:#854F0B; background:transparent; font:inherit; font-size:11px; cursor:pointer; }
.market-source-note { margin-top:12px; color:#5F5E5A; font-size:11px; }
@media(max-width:760px) {
    .market-data-overview,.market-side-heading { align-items:flex-start; flex-direction:column; gap:10px; }
    .market-data-overview { padding:13px 14px; }
    .market-total-figure { align-items:baseline; }
    .market-total-figure strong { font-size:18px; }
    .market-side-total { text-align:left; }
    .market-region-row { grid-template-columns:minmax(0,1fr); gap:0; }
    .market-region-row>[data-market-open] { grid-column:1; grid-row:calc(var(--market-slot)*2 + 1); }
    .market-region-row>[data-market-panel] { grid-column:1; grid-row:calc(var(--market-slot)*2 + 2); }
    .market-region-card { min-height:120px; padding:14px; }
    .market-region-primary-card { min-height:180px; padding:16px; }
    .market-region-expand.is-open { border-radius:0 0 8px 8px; }
    .market-expand-toolbar { flex-wrap:wrap; gap:8px 12px; padding:6px 10px; }
    .market-expand-heading { width:100%; }
    .market-expand-conclusion { margin:8px 10px; padding:8px; }
    .market-country-row { min-height:60px; grid-template-rows:27px 23px; gap:0; padding:4px 8px; }
    .market-country-main { grid-template-columns:20px minmax(0,1fr) auto; gap:5px; min-height:27px; }
    .row-name { gap:4px; font-size:12px; }
    .row-name small { max-width:35vw; }
    .row-amount { font-size:11px; }
    .market-country-metrics { grid-template-columns:minmax(55px,1fr) 48px auto; gap:7px; min-height:23px; padding-left:25px; }
    .row-bar { width:100%; }
    .row-share { text-align:right; }
    .row-china { font-size:11px; }
    .row-action,.row-insight { display:none; }
    .market-country-other summary { padding-left:34px; }
    .market-expand-footer { position:sticky; flex-direction:column; align-items:stretch; padding:8px 10px; }
    .market-expand-cta { min-height:40px; }
    .market-unassigned-entry { align-items:flex-start; flex-direction:column; margin:8px; }
}

/* 联系弹窗：联系方式待补充占位 */
.contact-dialog .contact-lock-name { min-height:0; margin:0 0 6px; font-size:12px; color:#8098b4; }
.contact-dialog .contact-lock-name:empty { display:none; }
.contact-placeholder { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:12px 0 16px; }
.contact-placeholder-item { min-height:86px; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:6px; border:1px dashed #c7c7c4; border-radius:8px; color:#777; font-size:13px; text-align:center; }
.contact-placeholder-item.is-pending { color:#777; background:#f7f7f6; }
.contact-placeholder-item small { color:#888; font-size:11px; }
.contact-dialog .contact-note { margin:0; color:#334e70; font-size:13px; font-weight:600; line-height:1.8; }
.contact-dialog h2 { text-align:center; }
.quota-inline { display:flex; align-items:center; justify-content:space-between; gap:12px; width:min(100%,520px); padding:12px; border-left:3px solid #BA7517; background:rgba(186,117,23,0.06); color:#5F5E5A; font-size:12px; line-height:1.6; }
.quota-inline .btn { flex:none; padding:9px 14px; min-height:40px; }
.quota-inline .btn-secondary { border-color:#c7c7c4; color:#5F5E5A; background:#f7f7f6; }
.free-quota-note { display:block; margin-top:8px; color:#5F5E5A; font-size:11px; }

.submission-dialog .progress-heading b { color:#BA7517; }
.submission-dialog .progress-heading b.is-error { color:#bd4542; }
.submission-dialog progress { accent-color:#BA7517; }
.submission-dialog progress::-webkit-progress-value { background:#BA7517; }
.submission-dialog progress::-moz-progress-bar { background:#BA7517; }
.submission-dialog .progress-comfort { min-height:0; margin:-14px 0 16px; color:#5F5E5A; font-size:11px; line-height:1.5; }
.submission-dialog .progress-checklist { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 12px; margin:14px 0 0; padding:0; list-style:none; text-align:left; }
.submission-dialog .progress-checklist li { box-sizing:border-box; display:flex; align-items:center; gap:7px; min-width:0; padding:3px 5px; border-radius:4px; color:#888780; font-size:11px; line-height:1.4; }
.submission-dialog .progress-checklist-marker { display:inline-flex; flex:0 0 14px; align-items:center; justify-content:center; width:14px; height:14px; border:1px solid #E5E2D9; border-radius:50%; color:transparent; font-size:10px; }
.submission-dialog .progress-checklist li.is-complete { color:#1F6F4A; }
.submission-dialog .progress-checklist li.is-complete .progress-checklist-marker { border-color:#1F6F4A; color:#1F6F4A; }
.submission-dialog .progress-checklist li.is-complete .progress-checklist-marker::before { content:'✓'; }
.submission-dialog .progress-checklist li.is-current { color:#2C2C2A; background:rgba(186,117,23,0.06); font-weight:600; }
.submission-dialog .progress-checklist li.is-current .progress-checklist-marker { border-color:#BA7517; background:rgba(186,117,23,0.06); }
@media(max-width:760px) {
    .quota-inline { align-items:stretch; flex-direction:column; }
    .quota-inline .btn { width:100%; }
}

/* 2026-11-13 market and channel conversion */
.market-side-tabs [role="tab"] { order:initial; }
.channel-guide { margin:16px 0 8px; padding:10px 14px; border-left:3px solid #BA7517; color:#5F5E5A; background:rgba(186,117,23,0.06); font-size:12px; line-height:1.6; }
.channel-priority-row { background:rgba(186,117,23,0.06); box-shadow:inset 3px 0 0 #BA7517; }
.channel-priority-row td:first-child { position:relative; padding-right:62px; }
.channel-recommended-badge { position:absolute; top:7px; right:8px; padding:2px 6px; border-radius:4px; color:#1F6F4A; background:#FFFFFF; font-size:10px; white-space:nowrap; }
.next-step-market-anchor { margin:10px 0 0; color:#BA7517; font-size:14px; font-weight:600; }
.next-step>[data-contact-lock] { display:inline-flex; align-items:center; justify-content:center; gap:6px; }
.next-step>[data-contact-lock] svg { display:block; flex:none; }
.market-expand-title { min-width:0; }
.market-expand-title>p { margin:3px 0 0; color:#5F5E5A; font-size:11px; }
.market-country-row[aria-label] { cursor:pointer; }
.market-preview-dialog { box-sizing:border-box; width:min(520px,calc(100% - 28px)); max-width:none; max-height:min(88vh,760px); padding:0; overflow:auto; border:1px solid #E5E2D9; border-radius:10px; color:#2C2C2A; background:#FFFFFF; }
.market-preview-dialog::backdrop { background:rgba(44,44,42,0.55); }
.market-preview-shell { position:relative; padding:24px; }
.market-preview-close { position:absolute; top:14px; right:16px; padding:4px 0; border:0; color:#5F5E5A; background:transparent; font:inherit; font-size:12px; cursor:pointer; }
.market-preview-shell h2 { margin:0 70px 4px 0; color:#2C2C2A; font-size:20px; }
.market-preview-region { margin:0 0 16px; color:#5F5E5A; font-size:12px; }
.market-preview-items { position:relative; display:grid; gap:10px; }
.market-preview-item { margin:0; padding:12px; border:1px solid #E5E2D9; border-radius:6px; color:#2C2C2A; background:#FFFFFF; font-size:13px; line-height:1.6; filter:blur(4px); user-select:none; }
.market-preview-actions { margin-top:12px; color:#5F5E5A; font-size:11px; }
.frontend .market-preview-dialog .market-preview-unlock { width:100%; margin-top:16px; border-color:#BA7517; color:#FFFFFF; background:#BA7517; box-shadow:none; }
.frontend .market-preview-dialog .market-preview-unlock:hover { border-color:#BA7517; color:#FFFFFF; background:#BA7517; }
@media(max-width:760px) {
    .channel-guide { margin-top:12px; padding:9px 10px; }
    .channel-priority-row td:first-child { padding-right:54px; }
    .market-preview-shell { padding:22px 16px 16px; }
    .market-preview-shell h2 { font-size:18px; }
    .market-preview-item { padding:10px; font-size:12px; }
}

/* 候选卡：白底、轻阴影，首条略微强调，弱化"内部调试面板"的观感 */
.hs-candidate { background:#fff; border:1px solid #e4edf9; border-radius:12px; box-shadow:0 2px 10px #16354a08; }
.hs-candidate-list > .hs-candidate:first-child { border-color:#c6dbf7; box-shadow:0 5px 20px #16354a12; }
.frontend .hs-candidate .badge { background:#f0f4fa; color:#5b7190; font-size:10px; padding:2px 8px; border-radius:20px; }
.frontend .hs-candidate .badge.ok { background:#e8f6ee; color:#1a7f4b; }
.candidate-code { padding:3px 9px; background:#f3f7fe; border:1px solid #dfe9f8; border-radius:6px; font-size:15px; }
.candidate-match { font-size:10px; color:#7b8fa8; }
.candidate-match b { font-size:14px; }
.declaration-tags span { background:#f1f5fb; color:#4d6b92; border-radius:6px; }
.match-hint { margin:0 0 16px; padding:10px 13px; background:#f6f9fe; border:1px dashed #d3e0f2; border-radius:7px; color:#5a7290; font-size:11px; line-height:1.8; }
.market-reason { margin:8px 0 0; font-size:11px; color:#54708f; line-height:1.8; }
.market-focus { margin:8px 0 0; font-size:10px; color:#8199b4; line-height:1.7; }

/* 候选区提示：去掉蓝/黄色告警框，改成一段引导文字 + 中性提示块 */
.hs-lead { margin:0 0 16px; color:#6b819c; font-size:11px; line-height:1.9; }
.hs-notes { margin:0 0 18px; padding:12px 15px; background:#f7f9fc; border:1px solid #e6edf7; border-radius:8px; color:#5a7290; font-size:11px; }
.hs-notes b { display:block; margin:0 0 6px; color:#8199b4; font-size:10px; font-weight:600; letter-spacing:.1em; }
.hs-notes ul { margin:0; padding-left:15px; }
.hs-notes li { margin:4px 0; line-height:1.85; }

/* 说明行统一改成细线引导，不再用填充色块，减少"告警框"观感 */
.data-caption { background:transparent; border-left:2px solid #cfe0f5; border-radius:0; padding:0 0 0 11px; color:#7089a6; }

/* 退税测算：把抽象的退税率换成老板能感知的金额 */
.rebate-calc { margin:18px 0 4px; padding:18px 20px; background:#f5f9ff; border:1px solid #dbe8fa; border-radius:10px; }
.rebate-calc-title { margin:0 0 12px; font-size:12px; font-weight:700; color:#1f4a86; letter-spacing:.02em; }
.rebate-calc-input { display:flex; align-items:center; gap:8px; font-size:12px; color:#4b6c92; flex-wrap:wrap; }
.rebate-calc-input input { width:120px; min-height:40px; padding:8px 10px; margin:0; border:1px solid #cdd9e1; border-radius:6px; font-size:14px; font-weight:600; color:#173f7c; background:#fff; }
.rebate-calc-result { margin:12px 0 6px; font-size:13px; color:#3d5c80; }
.rebate-calc-result b { font-size:24px; color:#0f62d6; font-weight:800; letter-spacing:-.01em; }

/* ===== 首页 C 版：大数字 + 行业滚动窗 + 四板块 ===== */
.hero-panel { display:flex; flex-direction:column; gap:10px; justify-content:center; min-width:0; }
.hook-chips { display:flex; gap:7px; flex-wrap:wrap; }
.hook-chips button { font:inherit; font-size:11px; color:#bcd6f5; background:#ffffff0a; border:1px solid #3a5f96; border-radius:20px; padding:5px 11px; cursor:pointer; }
.hook-chips button:hover, .hook-chips button:focus-visible { border-color:#71b9ff; color:#fff; background:#71b9ff1f; }
.hero-big strong { display:block; font-size:40px; font-weight:800; letter-spacing:-.03em; line-height:1.06; color:#fff; }
.hero-big strong small { font-size:14px; font-weight:600; color:#8cc6ff; margin-left:6px; letter-spacing:0; }
.hero-big p { margin:6px 0 0; font-size:10px; color:#a9c6ea; }
.code-window { border:1px solid #2a4d7d; border-radius:10px; background:#06152b; overflow:hidden; }
.code-bar { display:flex; align-items:center; gap:5px; padding:6px 10px; background:#0a1f3d; border-bottom:1px solid #17324f; }
.code-bar i { width:6px; height:6px; border-radius:50%; background:#2f4b6e; }
.code-bar i:nth-child(1) { background:#d9695f; }
.code-bar i:nth-child(2) { background:#d7b25a; }
.code-bar i:nth-child(3) { background:#5aa77c; }
.code-bar em { font-style:normal; margin-left:6px; font-family:Consolas,"Courier New",monospace; font-size:9px; color:#7c96b8; letter-spacing:.04em; }
.code-bar span { margin-left:auto; font-size:9px; color:#5d7fa6; }
.code-body { height:126px; overflow:hidden; position:relative;
  -webkit-mask-image:linear-gradient(#0000,#000 12%,#000 86%,#0000);
  mask-image:linear-gradient(#0000,#000 12%,#000 86%,#0000); }
.code-track { display:flex; flex-direction:column; animation:code-scroll 46s linear infinite; }
.code-window:hover .code-track, .code-window:focus-within .code-track { animation-play-state:paused; }
@keyframes code-scroll { from { transform:translateY(0); } to { transform:translateY(-50%); } }
.code-row { display:flex; align-items:baseline; gap:6px; height:26px; line-height:26px; padding:0 12px;
  font-family:Consolas,"Courier New",monospace; font-size:11px; color:#9db8da; white-space:nowrap; }
.code-row b { color:#7dd3a8; font-weight:600; font-size:11px; }
.code-row i { font-style:normal; font-size:9px; color:#5d7fa6; }
.code-row em { font-style:normal; font-size:9px; color:#3f628c; }
.code-line { flex:1; min-width:8px; border-bottom:1px dotted #1e3b5e; transform:translateY(-3px); }
.hero-stats { display:flex; border:1px solid #ffffff14; border-radius:10px; background:#ffffff08; padding:9px 0; }
.hero-stat { flex:1; text-align:center; border-right:1px solid #ffffff12; }
.hero-stat:last-child { border:0; }
.hero-stat strong { display:block; font-size:17px; font-weight:700; color:#fff; letter-spacing:-.01em; }
.hero-stat span { font-size:9px; color:#8fa9cc; }
.hero-tiles { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px; }
.hero-tile { background:#ffffff0d; border:1px solid #7cb0ff30; border-radius:9px; padding:9px 6px; text-align:center; }
.hero-tile i { display:block; font-style:normal; color:#8cc6ff; font-size:13px; margin-bottom:4px; }
.hero-tile b { display:block; font-size:11px; font-weight:600; color:#eaf3ff; }
.hero-tile small { display:block; font-size:9px; color:#8fa9cc; margin-top:2px; }
@media (max-width:760px){
  .hero-big strong { font-size:34px; }
  .code-body { height:110px; }
  .hero-tiles { gap:6px; }
  .hero-tile { padding:8px 4px; }
  .hero-tile b { font-size:10px; }
}
@media (prefers-reduced-motion: reduce){
  .code-track { animation:none; }
  .code-body { overflow-y:auto; }
}

/* 手机端：强制单列，避免 .stage-panel .hero 的双列规则压过媒体查询 */
@media (max-width:760px){
  .stage-panel .hero { grid-template-columns:1fr; min-height:0; padding:26px 20px; }
  .hero-panel { width:100%; }
  .code-row { padding:0 9px; font-size:10px; }
  .code-row b { font-size:10px; }
  .hero-stat strong { font-size:15px; }
  .hero-stat span { font-size:8px; }
}

/* 首页：钩子移到数字右侧，“你能得到”标签 */
.hero-big { display:flex; align-items:flex-end; justify-content:space-between; gap:14px; }
.hero-big-main { min-width:0; }
.hook-chips { flex-direction:column; align-items:flex-end; gap:6px; flex-shrink:0; }
.hook-chips button { padding:4px 10px; font-size:10px; white-space:nowrap; }
.tiles-label { display:flex; align-items:center; gap:8px; margin:2px 0 0; font-size:10px; color:#8cc6ff; letter-spacing:.16em; }
.tiles-label span { white-space:nowrap; }
.tiles-label::after { content:''; flex:1; height:1px; background:linear-gradient(90deg,#71b9ff55,#71b9ff00); }
@media (max-width:760px){
  .hero-big { flex-wrap:wrap; align-items:flex-start; }
  .hook-chips { flex-direction:row; flex-wrap:wrap; align-items:center; gap:6px; }
}

/* 金额金色财富版 + 钩子平铺一行 */
.hero-big { position:relative; display:block; }
.hero-big::before { content:''; position:absolute; left:-8px; top:-16px; width:330px; height:150px; background:radial-gradient(rgba(255,180,63,.18),transparent 70%); pointer-events:none; }
.hero-big strong { display:flex; align-items:baseline; gap:8px; font-size:46px; font-weight:800; letter-spacing:-.035em; line-height:1.04;
  background:linear-gradient(180deg,#fffdf6 0%,#ffeab2 32%,#ffc85f 64%,#ffab2e 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  filter:drop-shadow(0 6px 14px rgba(255,180,63,.45)) drop-shadow(0 0 36px rgba(255,180,63,.22)); }
.hero-big strong small { -webkit-text-fill-color:#ffd782; color:#ffd782; background:none;
  border:1px solid rgba(255,200,95,.45); border-radius:20px; padding:3px 10px; font-size:13px; font-weight:600; letter-spacing:0; }
.hero-up { color:#ffd782; font-weight:700; }
.hook-chips { flex-direction:row; align-items:center; justify-content:flex-start; gap:6px; margin-top:9px; }
@media (max-width:760px){
  .hero-big strong { font-size:40px; }
}

/* 钩子行留出呼吸，不与说明文字挤在一起 */
.hook-chips { margin-top:12px; }
.hook-chips button { padding:5px 12px; font-size:10.5px; color:#cfe2fa; }

/* 钩子点击后的引导箭头 + CTA 脉冲 */
.guide-arrow { position:fixed; inset:0; width:100%; height:100%; pointer-events:none; z-index:80; }
.guide-arrow .guide-line { stroke-dasharray:2000; stroke-dashoffset:2000; animation:guide-draw .6s ease-out forwards; filter:drop-shadow(0 0 6px rgba(255,215,130,.55)); }
@keyframes guide-draw { from { stroke-dashoffset:2000; } to { stroke-dashoffset:0; } }
.guide-arrow .guide-head { opacity:0; animation:guide-head .35s ease-out .55s forwards; }
@keyframes guide-head { from { opacity:0; } to { opacity:1; } }
.hero-action.is-guided { animation:cta-pulse 1.15s ease-in-out 3; }
@keyframes cta-pulse {
  0%,100% { box-shadow:0 0 0 0 rgba(255,215,130,.55); transform:translateY(0); }
  50% { box-shadow:0 0 0 14px rgba(255,215,130,0); transform:translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-action.is-guided { animation:none; outline:2px solid #ffd782; outline-offset:3px; }
  .guide-arrow .guide-line { animation:none; stroke-dashoffset:0; }
}

/* CTA 做成金色工具入口：更大、更亮、带扫光 */
.hero .hero-action { padding:15px 30px; min-height:54px; font-size:14px; font-weight:800; letter-spacing:.01em; color:#3d2700;
  background:linear-gradient(135deg,#ffe9b5 0%,#ffcd68 46%,#ffb43f 100%);
  border:1px solid rgba(255,214,140,.95);
  box-shadow:0 12px 30px rgba(255,180,63,.38), inset 0 1px 0 rgba(255,255,255,.7);
  border-radius:32px; position:relative; overflow:hidden; gap:22px; }
.hero .hero-action:hover { background:linear-gradient(135deg,#fff2c9,#ffd67f 46%,#ffc05a); box-shadow:0 16px 38px rgba(255,180,63,.5), inset 0 1px 0 rgba(255,255,255,.85); }
.hero .hero-action::after { content:''; position:absolute; top:0; left:-60%; width:42%; height:100%;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.8),transparent); transform:skewX(-18deg);
  animation:cta-shine 3.8s ease-in-out infinite; pointer-events:none; }
@keyframes cta-shine { 0%,52% { left:-60%; } 86%,100% { left:132%; } }

/* 四个板块做成"奖励卡"：渐变底、内高光、错峰扫光、悬停上浮 */
.hero-tile { position:relative; overflow:hidden;
  background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.04));
  border:1px solid rgba(150,200,255,.32);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18), 0 8px 18px rgba(3,12,26,.35);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.hero-tile:hover { transform:translateY(-3px); border-color:rgba(255,215,130,.55);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.26), 0 14px 26px rgba(3,12,26,.45), 0 0 0 1px rgba(255,215,130,.22); }
.hero-tile::after { content:''; position:absolute; top:-70%; left:-45%; width:42%; height:240%;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.45),transparent);
  transform:rotate(16deg); animation:tile-sheen 5.6s ease-in-out infinite; pointer-events:none; }
.hero-tile:nth-child(2)::after { animation-delay:1.2s; }
.hero-tile:nth-child(3)::after { animation-delay:2.4s; }
.hero-tile:nth-child(4)::after { animation-delay:3.6s; }
@keyframes tile-sheen { 0%,58% { left:-45%; } 88%,100% { left:138%; } }
.hero-tile:hover i { color:#ffd782; }
@media (prefers-reduced-motion: reduce) {
  .hero .hero-action::after, .hero-tile::after { animation:none; opacity:0; }
}

/* 扫光收一点，避免看起来像灰块 */
.hero-tile::after { width:30%; background:linear-gradient(100deg,transparent,rgba(255,255,255,.26),transparent); }

/* ==== v0.9.0 移动端改造：板块分段导航 / 金色主按钮 / 常驻浮层 ==== */
@keyframes ea-cta-shine {
    0% { transform: translateX(-160%) skewX(-18deg); }
    55% { transform: translateX(340%) skewX(-18deg); }
    100% { transform: translateX(340%) skewX(-18deg); }
}

.frontend .next-step .btn.cta-gold {
    position: relative;
    overflow: hidden;
    color: #2b1f00;
    border-color: #b8860b;
    background: linear-gradient(135deg, #f6d97a 0%, #c9971f 58%, #e8b83f 100%);
    font-weight: 700;
    letter-spacing: .02em;
    box-shadow: 0 2px 0 #a8761a, 0 6px 16px rgba(201, 151, 31, .28);
}
.frontend .next-step .btn.cta-gold:hover { filter: brightness(1.05); }
.frontend .next-step .btn.cta-gold::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 38%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.78), rgba(255,255,255,0));
    transform: skewX(-18deg);
    animation: ea-cta-shine 2.6s ease-in-out infinite;
    pointer-events: none;
}

.cta-float { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: stretch; gap: 6px; }
.cta-float[hidden] { display: none; }
.cta-float-main { position: relative; overflow: hidden; flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 6px 14px; border: 1px solid #8f1a2c; border-radius: 12px; background: linear-gradient(135deg, #d81e35 0%, #b3243b 100%); color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; box-shadow: 0 6px 20px rgba(179, 36, 59, .35); }
.cta-float-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; line-height: 1.3; }
.cta-float-copy b { font-size: 15px; font-weight: 700; }
.cta-float-copy small { font-size: 11px; font-weight: 400; opacity: .88; }
.cta-float-arrow { font-size: 17px; font-weight: 400; }
.cta-float-main::after { content: ""; position: absolute; top: 0; left: 0; width: 34%; height: 100%; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.55), rgba(255,255,255,0)); transform: skewX(-18deg); animation: ea-cta-shine 2.6s ease-in-out infinite; pointer-events: none; }
.cta-float-close { flex: 0 0 42px; width: 42px; border: 1px solid #e0c8cd; border-radius: 12px; background: #fff; color: #8a5b64; font-size: 20px; line-height: 1; cursor: pointer; }
.cta-float-close:hover { background: #fdf3f4; }

@media (min-width: 761px) { .cta-float { display: none; } }
@media (max-width: 760px) {
    body.has-cta-float { padding-bottom: 84px; }
    .stage-nav { display: flex; gap: 3px; margin: 0; padding: 4px; background: #e6eefa; border: 1px solid #d3e1f4; border-radius: 12px; }
    .stage-nav li { flex: 1; min-width: 0; margin: 0; }
    .stage-nav a { display: flex; align-items: center; justify-content: center; height: 100%; padding: 10px 4px; border: 1px solid transparent; border-radius: 9px; background: transparent; text-align: center; }
    .stage-nav a > span { display: none; }
    .stage-nav b { font-size: 12px; font-weight: 600; }
    .stage-nav small { display: none; }
    .stage-nav a[aria-selected="true"] { background: #fff; border-color: #c9d9f0; color: #1d53ad; box-shadow: 0 1px 3px rgba(16, 45, 85, .10); }
    .frontend .next-step .btn.cta-gold { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .frontend .next-step .btn.cta-gold::after,
    .cta-float-main::after { animation: none; display: none; }
}
