:root {
    --ink: #172033;
    --muted: #6e7890;
    --line: #e7eaf1;
    --surface: #ffffff;
    --soft: #f6f7fb;
    --primary: #596fd3;
    --primary-dark: #4057bb;
    --primary-soft: #eef0ff;
    --success: #2da576;
    --success-soft: #e8f7f1;
    --warning: #c38425;
    --warning-soft: #fff5df;
    --danger: #d75963;
    --danger-soft: #fff0f1;
    --info: #497ec9;
    --shadow: 0 22px 60px rgba(35, 46, 85, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: #f4f5f9;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.public-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 8% 4%, rgba(98, 116, 215, .10), transparent 27rem),
        radial-gradient(circle at 96% 78%, rgba(73, 160, 193, .08), transparent 32rem),
        #f6f7fa;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #fff;
    background: linear-gradient(145deg, #7488e3, #465cc1);
    border-radius: 13px 13px 13px 5px;
    box-shadow: 0 8px 20px rgba(78, 96, 194, .25);
    font: 800 22px/1 Georgia, serif;
}
.brand > span:last-child { display: flex; flex-direction: column; }
.brand strong { font-size: 19px; letter-spacing: -.25px; }
.brand small { margin-top: 2px; color: #9299aa; font-size: 10px; letter-spacing: 1.3px; }

.site-header { height: 78px; background: rgba(255,255,255,.9); border-bottom: 1px solid rgba(224,227,235,.8); backdrop-filter: blur(16px); }
.site-header-inner { max-width: 1120px; height: 100%; margin: auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; }
.account-strip { display: flex; align-items: center; gap: 16px; }
.code-identity { padding-right: 17px; border-right: 1px solid var(--line); display: flex; flex-direction: column; text-align: right; }
.code-identity small { font-size: 10px; color: #969dae; }
.code-identity strong { margin-top: 2px; font: 600 12px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; color: #555f75; letter-spacing: .4px; }
.balance-pill { display: flex; align-items: baseline; gap: 5px; padding: 9px 14px; color: #4b60bd; background: var(--primary-soft); border: 1px solid #dfe3ff; border-radius: 12px; }
.balance-pill span { font-size: 11px; color: #6e79ad; }
.balance-pill strong { font-size: 22px; line-height: 1; }
.balance-pill em { font-style: normal; font-size: 11px; }
.icon-btn { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 11px; color: #7d8598; background: #fff; cursor: pointer; transition: .2s; }
.icon-btn:hover { border-color: #cbd1e0; color: var(--primary); background: #fafaff; }

.portal-shell { width: min(100% - 36px, 1050px); margin: 0 auto; padding: 36px 0; }
.hero-copy { text-align: center; margin-bottom: 30px; }
.eyebrow { display: inline-block; color: rgba(255,255,255,.72); text-transform: uppercase; font-size: 11px; font-weight: 800; letter-spacing: 2px; }
.eyebrow.dark { color: var(--primary); }
.hero-copy h1 { margin: 10px 0 8px; font-size: clamp(27px, 4vw, 38px); letter-spacing: -1.2px; }
.hero-copy p { margin: 0; color: var(--muted); font-size: 14px; }

.portal-card { background: var(--surface); border: 1px solid #e9ebf2; border-radius: 19px; box-shadow: var(--shadow); overflow: hidden; }
.tabs { display: flex; height: 68px; padding: 0 28px; border-bottom: 1px solid var(--line); }
.tab { position: relative; min-width: 155px; padding: 0 20px; border: 0; color: #858da0; background: transparent; font-size: 14px; font-weight: 700; cursor: pointer; }
.tab > span { margin-right: 7px; font-size: 17px; }
.tab > em { margin-left: 5px; padding: 2px 7px; border-radius: 99px; color: #7f88a0; background: #eef0f4; font-size: 10px; font-style: normal; }
.tab::after { position: absolute; right: 16px; bottom: -1px; left: 16px; height: 3px; border-radius: 3px 3px 0 0; background: transparent; content: ""; }
.tab.active { color: var(--primary); }
.tab.active::after { background: var(--primary); }
.tab-panel { display: none; padding: 34px 40px 40px; }
.tab-panel.active { display: block; animation: panel-in .25s ease; }
@keyframes panel-in { from { opacity: 0; transform: translateY(4px); } }

.section-heading h2, .report-toolbar h2, .upload-block h2 { margin: 0; font-size: 16px; }
.section-heading p, .report-toolbar p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.version-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0 30px; }
.version-card { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px solid var(--line); border-radius: 13px; background: #fff; cursor: pointer; transition: .2s; }
.version-card:hover { border-color: #cdd3eb; }
.version-card.selected { border-color: #8b9be3; background: #f8f9ff; box-shadow: 0 0 0 3px rgba(91,111,211,.07); }
.version-card input { position: absolute; opacity: 0; pointer-events: none; }
.version-card > i { position: absolute; top: 12px; right: 12px; display: none; width: 18px; height: 18px; place-items: center; border-radius: 50%; color: #fff; background: var(--primary); font-size: 10px; font-style: normal; }
.version-card.selected > i { display: grid; }
.version-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px; color: #4e64c4; background: #e9edff; font-size: 11px; font-weight: 900; }
.version-icon.uk { color: #296d91; background: #e5f4f8; }
.version-card > span:nth-of-type(2) { display: flex; flex-direction: column; }
.version-card strong { font-size: 14px; }
.version-card small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.upload-block h2 span { color: var(--danger); }
.drop-zone { position: relative; display: flex; min-height: 210px; margin-top: 13px; flex-direction: column; align-items: center; justify-content: center; border: 1.5px dashed #aeb9ea; border-radius: 14px; background: #fafbff; cursor: pointer; transition: .2s; }
.drop-zone:hover, .drop-zone.dragging { border-color: var(--primary); background: #f5f7ff; }
.drop-zone.has-file { border-style: solid; border-color: #88cfb4; background: #f5fcf9; }
.drop-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-orb { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 13px; border-radius: 15px; color: var(--primary); background: #e9edff; font-size: 24px; font-weight: 300; }
.drop-zone > strong { font-size: 14px; }
.drop-zone > small { margin-top: 6px; color: var(--muted); font-size: 11px; }
.select-file { margin-top: 15px; padding: 7px 14px; border: 1px solid #dfe3f1; border-radius: 8px; color: #5666b5; background: #fff; font-size: 11px; font-weight: 700; }
.submit-bar { display: flex; justify-content: space-between; align-items: center; margin-top: 25px; padding-top: 24px; border-top: 1px solid var(--line); }
.submit-bar > div { display: flex; align-items: center; gap: 10px; }
.mini-shield { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--success); background: var(--success-soft); }
.submit-bar p { display: flex; margin: 0; flex-direction: column; }
.submit-bar p strong { font-size: 12px; }
.submit-bar p small { margin-top: 3px; color: var(--muted); font-size: 10px; }

.btn { display: inline-flex; min-height: 43px; padding: 0 20px; align-items: center; justify-content: center; gap: 14px; border: 0; border-radius: 10px; font-size: 13px; font-weight: 750; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s; }
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn-primary { color: #fff; background: linear-gradient(100deg, #687ddd, #4c62c7); box-shadow: 0 8px 20px rgba(82,101,198,.18); }
.btn-primary:hover:not(:disabled) { box-shadow: 0 11px 24px rgba(82,101,198,.26); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-block { width: 100%; }
.btn-ghost { color: #566079; background: #f4f5f8; box-shadow: none; }
.btn-small { min-height: 34px; padding: 0 13px; border-radius: 8px; font-size: 11px; white-space: nowrap; }
.form-message { margin-top: 18px; padding: 12px 14px; border-radius: 10px; font-size: 12px; }
.form-message.success { color: #247557; background: var(--success-soft); }
.form-message.danger { color: #a93e49; background: var(--danger-soft); }

.report-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.search-box { display: flex; width: 280px; height: 40px; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fafbfc; }
.search-box span { color: #9aa1b2; }
.search-box input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 12px; }
.reports-list { display: grid; gap: 11px; }
.report-card { display: grid; grid-template-columns: 45px minmax(0,1fr) auto; gap: 14px; align-items: center; padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: #fff; transition: .2s; }
.report-card:hover { border-color: #d7dced; box-shadow: 0 7px 20px rgba(42,51,87,.06); }
.file-type { display: grid; place-items: center; width: 43px; height: 50px; border-radius: 7px 12px 7px 7px; color: #5268c8; background: #edf0ff; font-size: 9px; font-weight: 900; }
.report-main { min-width: 0; }
.report-title-row { display: flex; align-items: center; gap: 10px; }
.report-title-row h3 { max-width: 430px; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.status { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 99px; font-size: 9px; font-weight: 700; white-space: nowrap; }
.status i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status.success { color: var(--success); background: var(--success-soft); }
.status.info { color: var(--info); background: #edf5ff; }
.status.warning { color: var(--warning); background: var(--warning-soft); }
.status.danger { color: var(--danger); background: var(--danger-soft); }
.status.muted { color: var(--muted); background: #f0f1f4; }
.report-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 7px; color: #9299a9; font-size: 9px; }
.report-meta span:not(:last-child)::after { margin-left: 16px; color: #d4d7df; content: "·"; }
.report-action { min-width: 116px; text-align: right; }
.report-downloads { display: flex; align-items: stretch; justify-content: flex-end; gap: 7px; flex-wrap: wrap; }
.btn-ai { color: #fff; background: linear-gradient(100deg, #2e9d80, #247d68); box-shadow: 0 8px 20px rgba(41,139,113,.16); }
.no-report-badge { display: inline-flex; min-height: 38px; padding: 0 13px; align-items: center; justify-content: center; border: 1px solid #e1e4ea; border-radius: 8px; color: #8e96a7; background: #f5f6f8; font-size: 12px; white-space: nowrap; }
.hide-record-btn { min-height: 38px; padding: 0 11px; border: 1px solid #f0d9dc; border-radius: 8px; color: #c5545f; background: #fff7f8; font-size: 12px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: .18s; }
.hide-record-btn:hover:not(:disabled) { color: #a73843; border-color: #e8c2c7; background: #fff0f1; }
.hide-record-btn:disabled { opacity: .55; cursor: wait; }
.report-card.removing { opacity: 0; transform: translateX(12px); }
.failure-note { margin-top: 8px; color: var(--danger); font-size: 10px; }
.muted-text { color: #999fad; font-size: 9px; }
.processing-dots { display: inline-flex; gap: 4px; }
.processing-dots i { width: 5px; height: 5px; border-radius: 50%; background: #8796dc; animation: dots 1.1s infinite; }
.processing-dots i:nth-child(2) { animation-delay: .15s; }
.processing-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 70%, 100% { opacity: .25; transform: translateY(0); } 35% { opacity: 1; transform: translateY(-3px); } }
.empty-state { padding: 62px 20px; text-align: center; color: var(--muted); }
.empty-state > span { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 13px; border-radius: 18px; color: #8190d5; background: var(--primary-soft); font-size: 26px; }
.empty-state h3 { margin: 0; color: var(--ink); font-size: 15px; }
.empty-state p { margin: 6px 0 0; font-size: 11px; }
.report-pagination { display: flex; min-height: 66px; margin-top: 18px; padding-top: 16px; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); }
.report-pagination[hidden] { display: none; }
.report-pagination-summary { color: var(--muted); font-size: 12px; }
.report-pagination-buttons { display: flex; align-items: center; gap: 6px; }
.report-pagination button, .report-pagination .ellipsis { display: grid; min-width: 36px; height: 36px; padding: 0 8px; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: #5f687b; background: #fff; font-size: 12px; font-weight: 700; }
.report-pagination button:not(:disabled) { cursor: pointer; }
.report-pagination button:not(:disabled):hover { color: var(--primary); border-color: #bdc6ee; background: #f7f8ff; }
.report-pagination button.active { color: #fff; border-color: var(--primary); background: var(--primary); }
.report-pagination button:disabled:not(.active) { color: #bdc2cc; background: #f6f7f9; }
.report-pagination .ellipsis { min-width: 23px; padding: 0; border-color: transparent; background: transparent; }
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 24px; padding: 0 14px; }
.feature-row > div { display: flex; align-items: center; justify-content: center; gap: 11px; color: #7c859a; }
.feature-row > div:not(:last-child) { border-right: 1px solid #dfe2e9; }
.feature-row > div > span { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; color: #6376ce; background: #eaedfb; }
.feature-row p { display: flex; margin: 0; flex-direction: column; }
.feature-row strong { color: #535d73; font-size: 11px; }
.feature-row small { margin-top: 2px; font-size: 9px; }
.site-footer { padding: 24px; text-align: center; color: #9ba1af; font-size: 10px; }

/* 登录与安装 */
.auth-page, .customer-login { min-height: 100vh; }
.auth-page { display: grid; place-items: center; padding: 28px; background: #eff1f7; }
.auth-shell { display: grid; width: min(100% - 40px, 980px); min-height: 610px; margin: 46px auto; grid-template-columns: .96fr 1.04fr; border-radius: 24px; background: #fff; box-shadow: 0 30px 80px rgba(30,40,78,.16); overflow: hidden; }
.auth-panel { padding: 50px; }
.auth-copy { position: relative; display: flex; flex-direction: column; color: #fff; background: linear-gradient(145deg, #596dcc, #384b9d); overflow: hidden; }
.auth-copy::before, .auth-copy::after { position: absolute; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; content: ""; }
.auth-copy::before { width: 420px; height: 420px; right: -220px; bottom: -150px; }
.auth-copy::after { width: 260px; height: 260px; right: -125px; bottom: -68px; }
.brand-light small { color: rgba(255,255,255,.6); }
.brand-light .brand-mark, .auth-copy .brand-mark { color: #5166bd; background: #fff; box-shadow: 0 8px 24px rgba(25,37,91,.25); }
.auth-intro { position: relative; z-index: 1; margin: auto 0; }
.auth-intro h1 { margin: 14px 0 18px; font-size: clamp(31px, 4vw, 43px); line-height: 1.25; letter-spacing: -1.4px; }
.auth-intro p { max-width: 390px; margin: 0; color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.8; }
.trust-row { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3,1fr); padding-top: 23px; border-top: 1px solid rgba(255,255,255,.14); }
.trust-row > div { display: flex; flex-direction: column; }
.trust-row strong { font-size: 18px; }
.trust-row span { margin-top: 4px; color: rgba(255,255,255,.55); font-size: 9px; }
.auth-form-panel { display: flex; flex-direction: column; justify-content: center; padding: 65px 66px; }
.auth-form-panel h2 { margin: 10px 0 8px; font-size: 27px; letter-spacing: -.6px; }
.form-lead { margin: 0 0 29px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.form-lead code { color: #4f61b9; }
.stack-form { display: grid; gap: 17px; }
.stack-form label { display: grid; gap: 7px; color: #4a5368; font-size: 11px; font-weight: 700; }
.stack-form input, .stack-form select, .stack-form textarea { width: 100%; min-height: 45px; padding: 0 13px; outline: 0; border: 1px solid #dfe2e9; border-radius: 9px; color: var(--ink); background: #fbfbfd; font-size: 13px; transition: .2s; }
.stack-form textarea { min-height: 90px; padding-top: 12px; resize: vertical; }
.stack-form input:focus, .stack-form select:focus, .stack-form textarea:focus { border-color: #8393dd; box-shadow: 0 0 0 3px rgba(94,114,208,.09); background: #fff; }
.input-with-icon { position: relative; display: flex; align-items: center; }
.input-with-icon > span { position: absolute; left: 13px; z-index: 1; color: #8a94aa; font-size: 15px; }
.input-with-icon input { padding-left: 39px; text-transform: uppercase; letter-spacing: 1px; }
.code-login-form .btn { min-height: 48px; margin-top: 3px; }
.safe-note { display: flex; gap: 11px; margin-top: 25px; padding: 15px; border-radius: 11px; background: #f5f8f7; }
.safe-note > span { display: grid; place-items: center; width: 27px; height: 27px; flex: 0 0 27px; border-radius: 9px; color: #388d6c; background: #e1f3eb; font-size: 11px; }
.safe-note p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.safe-note strong { color: #4c5966; }
.alert { margin: 0 0 18px; padding: 12px 14px; border-radius: 10px; font-size: 11px; line-height: 1.55; }
.alert.danger { color: #a13d47; background: var(--danger-soft); border: 1px solid #f5d9dc; }
.alert.success { color: #237054; background: var(--success-soft); border: 1px solid #ccebdd; }
.install-shell { margin: 0; min-height: 590px; }
.install-steps { position: relative; z-index: 1; display: flex; align-items: center; }
.install-steps span { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: rgba(255,255,255,.6); font-size: 10px; }
.install-steps span.done, .install-steps span.active { color: #4b5fb7; background: #fff; border-color: #fff; }
.install-steps b { height: 1px; flex: 1; background: rgba(255,255,255,.25); }
.install-labels { position: relative; z-index: 1; display: flex; justify-content: space-between; margin-top: 8px; color: rgba(255,255,255,.55); font-size: 8px; }
.success-orb { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 10px; border-radius: 20px; color: var(--success); background: var(--success-soft); font-size: 28px; }
.seed-code { display: flex; margin-bottom: 18px; padding: 15px; flex-direction: column; align-items: center; border: 1px dashed #aab4e5; border-radius: 11px; background: #f8f9ff; }
.seed-code small { color: var(--muted); font-size: 9px; }
.seed-code strong { margin-top: 5px; color: #4d60ba; font: 700 18px/1 ui-monospace, monospace; letter-spacing: 1.5px; }
.auth-form-panel > .btn + .btn { margin-top: 10px; }

@media (max-width: 780px) {
    .site-header { height: auto; }
    .site-header-inner { padding: 14px 18px; gap: 15px; }
    .site-header .brand small, .code-identity { display: none; }
    .account-strip { gap: 8px; }
    .balance-pill { padding: 8px 10px; }
    .balance-pill span { display: none; }
    .portal-shell { width: min(100% - 24px, 1050px); padding-top: 36px; }
    .tab-panel { padding: 25px 18px 26px; }
    .tabs { height: 62px; padding: 0 5px; }
    .tab { min-width: 0; flex: 1; padding: 0 6px; }
    .version-grid { grid-template-columns: 1fr; }
    .submit-bar { align-items: stretch; gap: 18px; flex-direction: column; }
    .submit-bar .btn { width: 100%; }
    .report-toolbar { align-items: stretch; flex-direction: column; }
    .search-box { width: 100%; }
    .report-pagination { align-items: stretch; flex-direction: column; }
    .report-pagination-summary { text-align: center; }
    .report-pagination-buttons { justify-content: center; flex-wrap: wrap; }
    .report-card { grid-template-columns: 43px minmax(0,1fr) auto; }
    .report-action { grid-column: 3; grid-row: 1; }
    .feature-row { gap: 10px; padding: 0; }
    .feature-row > div { flex-direction: column; text-align: center; }
    .feature-row p small { display: none; }
    .auth-shell { width: min(100% - 24px, 620px); margin: 18px auto; grid-template-columns: 1fr; }
    .auth-panel { padding: 34px 28px; }
    .auth-copy { min-height: 315px; }
    .auth-intro { margin: 45px 0; }
    .auth-intro h1 { font-size: 30px; }
    .auth-form-panel { padding: 42px 28px; }
    .install-shell .auth-copy { min-height: 365px; }
}

@media (max-width: 470px) {
    .site-header .brand strong { font-size: 15px; }
    .site-header .brand-mark { width: 34px; height: 34px; }
    .balance-pill strong { font-size: 18px; }
    .hero-copy h1 { font-size: 26px; }
    .drop-zone { min-height: 190px; }
    .report-card { grid-template-columns: 40px minmax(0,1fr); }
    .report-action { grid-column: 1 / -1; grid-row: auto; text-align: left; }
    .report-action .btn { width: 100%; }
    .report-meta span::after { display: none; }
    .feature-row strong { font-size: 9px; }
}

/* 可读性优化：统一放大主要文字层级 */
body { font-size: 15px; line-height: 1.5; }
.brand strong { font-size: 21px; }
.brand small { font-size: 11px; }
.code-identity small { font-size: 12px; }
.code-identity strong { font-size: 14px; }
.balance-pill span, .balance-pill em { font-size: 12px; }
.hero-copy .eyebrow { font-size: 12px; }
.hero-copy p { font-size: 15px; }
.tab { font-size: 16px; }
.tab > em { font-size: 11px; }
.section-heading h2, .report-toolbar h2, .upload-block h2 { font-size: 19px; }
.section-heading p, .report-toolbar p { font-size: 14px; }
.version-card { padding: 18px; }
.version-card strong { font-size: 16px; }
.version-card small { font-size: 13px; }
.version-icon { font-size: 12px; }
.drop-zone > strong { font-size: 16px; }
.drop-zone > small { font-size: 13px; }
.select-file { font-size: 13px; }
.submit-bar p strong { font-size: 14px; }
.submit-bar p small { font-size: 12px; }
.btn { min-height: 46px; font-size: 15px; }
.btn-small { min-height: 38px; font-size: 12px; }
.form-message { font-size: 14px; }
.search-box { height: 44px; }
.search-box input { font-size: 14px; }
.report-title-row h3 { font-size: 15px; }
.status { padding: 5px 9px; font-size: 11px; }
.report-meta { margin-top: 8px; font-size: 12px; }
.failure-note { font-size: 12px; }
.muted-text { font-size: 12px; }
.file-type { font-size: 10px; }
.feature-row strong { font-size: 14px; }
.feature-row small { font-size: 11px; }
.site-footer { font-size: 12px; }
.eyebrow { font-size: 12px; }
.auth-intro p { font-size: 15px; }
.trust-row strong { font-size: 21px; }
.trust-row span { font-size: 11px; }
.auth-form-panel h2 { font-size: 30px; }
.form-lead { font-size: 14px; }
.stack-form label { font-size: 13px; }
.stack-form input, .stack-form select, .stack-form textarea { min-height: 49px; font-size: 15px; }
.safe-note p { font-size: 12px; }
.alert { font-size: 13px; }
.seed-code small { font-size: 11px; }

@media (max-width: 780px) {
    .site-header .brand strong { font-size: 18px; }
    .tab { font-size: 15px; }
    .feature-row strong { font-size: 12px; }
}

@media (max-width: 470px) {
    .hero-copy p { font-size: 13px; }
    .section-heading h2, .report-toolbar h2, .upload-block h2 { font-size: 17px; }
    .version-card strong { font-size: 15px; }
    .version-card small, .drop-zone > small { font-size: 12px; }
    .report-meta { font-size: 11px; }
    .feature-row strong { font-size: 11px; }
}

/* 2026 用户端视觉重构：学术工作台 */
.public-page {
    --public-ink: #142421;
    --public-deep: #0c302b;
    --public-green: #08695d;
    --public-lime: #dff36b;
    --public-paper: #f3f0e8;
    --public-warm: #fffdf8;
    --public-line: #dcded5;
    --public-muted: #6b7470;
    min-height: 100vh;
    color: var(--public-ink);
    background-color: var(--public-paper);
    font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.public-page *, .public-page *::before, .public-page *::after { box-sizing: border-box; }
.public-page button:focus-visible,
.public-page a:focus-visible,
.public-page input:focus-visible {
    outline: 3px solid rgba(8, 105, 93, .22);
    outline-offset: 3px;
}

.public-page .brand { position: relative; z-index: 2; gap: 13px; }
.public-page .brand-mark {
    position: relative;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    overflow: visible;
    color: var(--public-lime);
    background: var(--public-deep);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    box-shadow: none;
    font: 800 20px/1 Georgia, serif;
}
.public-page .brand-mark::after {
    position: absolute;
    right: -2px;
    bottom: 0;
    width: 10px;
    height: 10px;
    border: 2px solid currentColor;
    border-radius: 50%;
    background: var(--public-lime);
    content: "";
}
.public-page .brand strong { color: var(--public-ink); font-size: 20px; font-weight: 760; letter-spacing: -.5px; }
.public-page .brand small { margin-top: 1px; color: #79817d; font-size: 10px; font-weight: 650; letter-spacing: 1.4px; }

/* 登录页 */
.public-page.login-page {
    display: grid;
    min-height: 100vh;
    padding: 32px;
    place-items: center;
    background:
        linear-gradient(rgba(20, 36, 33, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 36, 33, .035) 1px, transparent 1px),
        var(--public-paper);
    background-size: 30px 30px;
}
.public-page .customer-login {
    display: grid;
    width: min(1160px, 100%);
    min-height: 680px;
    margin: 0;
    grid-template-columns: 1.18fr .82fr;
    overflow: hidden;
    border: 1px solid rgba(12,48,43,.14);
    border-radius: 30px;
    background: var(--public-warm);
    box-shadow: 0 30px 80px rgba(27, 47, 43, .14);
}
.public-page .customer-copy {
    position: relative;
    min-height: 680px;
    padding: 54px 58px 46px;
    color: #fff;
    background:
        radial-gradient(circle at 82% 20%, rgba(223, 243, 107, .15), transparent 26%),
        linear-gradient(145deg, #123c35 0%, #071f1d 100%);
    isolation: isolate;
}
.public-page .customer-copy::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 38px 38px;
    content: "";
}
.public-page .customer-copy::after {
    position: absolute;
    right: -10px;
    bottom: -128px;
    z-index: -1;
    width: 410px;
    height: 410px;
    border: 1px solid rgba(223,243,107,.22);
    border-radius: 50%;
    content: "";
}
.public-page .brand-light .brand-mark { color: var(--public-deep); background: var(--public-lime); border-color: var(--public-lime); }
.public-page .brand-light .brand-mark::after { border-color: var(--public-deep); background: var(--public-lime); }
.public-page .brand-light strong { color: #fff; }
.public-page .brand-light small { color: rgba(255,255,255,.55); }
.public-page .auth-orbit { position: absolute; z-index: -1; border: 1px solid rgba(223,243,107,.28); border-radius: 50%; }
.public-page .auth-orbit-one { top: 87px; right: 62px; width: 24px; height: 24px; background: var(--public-lime); box-shadow: 0 0 0 9px rgba(223,243,107,.08); }
.public-page .auth-orbit-two { top: 188px; right: 154px; width: 9px; height: 9px; background: transparent; }
.public-page .auth-intro { margin: auto 0; }
.public-page .auth-intro .eyebrow {
    color: var(--public-lime);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.5px;
}
.public-page .auth-intro h1 {
    max-width: 590px;
    margin: 18px 0 22px;
    color: #fff;
    font-size: clamp(42px, 5vw, 66px);
    font-weight: 650;
    line-height: 1.13;
    letter-spacing: -3px;
}
.public-page .auth-intro p { max-width: 480px; margin: 0; color: rgba(255,255,255,.64); font-size: 15px; line-height: 1.8; }
.public-page .trust-row {
    position: relative;
    z-index: 2;
    display: grid;
    padding-top: 24px;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255,255,255,.12);
}
.public-page .trust-row > div { gap: 2px; }
.public-page .trust-row strong { color: var(--public-lime); font-size: 16px; font-weight: 750; }
.public-page .trust-row span { color: rgba(255,255,255,.48); font-size: 10px; letter-spacing: .4px; }
.public-page .auth-form-panel {
    position: relative;
    padding: 76px 64px;
    justify-content: center;
    background: var(--public-warm);
}
.public-page .auth-form-panel::before {
    position: absolute;
    top: 28px;
    right: 30px;
    color: #d8dbd2;
    content: "01";
    font: 700 13px/1 ui-monospace, monospace;
    letter-spacing: 2px;
}
.public-page .form-kicker { display: flex; align-items: center; gap: 8px; color: var(--public-green); font-size: 11px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; }
.public-page .form-kicker i { width: 19px; height: 2px; background: var(--public-green); }
.public-page .auth-form-panel h2 { margin: 18px 0 10px; color: var(--public-ink); font-size: 30px; font-weight: 720; letter-spacing: -1.1px; }
.public-page .form-lead { max-width: 350px; margin-bottom: 34px; color: var(--public-muted); font-size: 14px; line-height: 1.8; }
.public-page .stack-form label { gap: 9px; color: #394440; font-size: 13px; font-weight: 700; }
.public-page .stack-form input {
    min-height: 56px;
    padding: 0 16px;
    border: 1px solid #d6dad2;
    border-radius: 12px;
    color: var(--public-ink);
    background: #f9f8f3;
    font-size: 15px;
}
.public-page .stack-form input:hover { border-color: #bcc5bd; }
.public-page .stack-form input:focus { border-color: var(--public-green); background: #fff; box-shadow: 0 0 0 4px rgba(8,105,93,.08); }
.public-page .input-with-icon > span { left: 16px; color: var(--public-green); font: 800 17px/1 ui-monospace, monospace; }
.public-page .input-with-icon input { padding-left: 44px; }
.public-page .code-login-form .btn {
    min-height: 56px;
    margin-top: 6px;
    border: 1px solid var(--public-deep);
    border-radius: 12px;
    color: var(--public-deep);
    background: var(--public-lime);
    box-shadow: 0 10px 24px rgba(12,48,43,.12);
    font-size: 14px;
}
.public-page .code-login-form .btn:hover:not(:disabled) { background: #e7f98a; box-shadow: 0 14px 28px rgba(12,48,43,.17); }
.public-page .safe-note { margin-top: 26px; padding: 16px; gap: 12px; border: 1px solid #e0e3db; border-radius: 12px; background: #f5f5ef; }
.public-page .safe-note > span { color: var(--public-green); background: #dfeee8; border-radius: 50%; }
.public-page .safe-note p { color: #717a75; font-size: 11px; }
.public-page .safe-note strong { color: #40504a; }
.public-page .alert.danger { border-color: #f0cfca; color: #a74739; background: #fff2ef; }

/* 门户页 */
.public-page.portal-page {
    background:
        linear-gradient(rgba(20, 36, 33, .027) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 36, 33, .027) 1px, transparent 1px),
        var(--public-paper);
    background-size: 32px 32px;
}
.portal-page .site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    height: 86px;
    border-bottom: 1px solid rgba(20,36,33,.11);
    background: rgba(255,253,248,.91);
    box-shadow: 0 8px 30px rgba(20,36,33,.035);
    backdrop-filter: blur(16px);
}
.portal-page .site-header-inner { max-width: 1200px; padding: 0 26px; }
.portal-page .account-strip { gap: 13px; }
.portal-page .code-identity { padding-right: 18px; border-color: #d7dbd3; }
.portal-page .code-identity small { color: #7b8580; font-size: 10px; }
.portal-page .code-identity strong { color: #40504b; font-size: 12px; }
.portal-page .balance-pill {
    min-height: 43px;
    padding: 8px 14px;
    border: 1px solid #cfd7bd;
    border-radius: 12px;
    color: var(--public-deep);
    background: #edf3d5;
}
.portal-page .balance-pill span { color: #677357; font-size: 10px; }
.portal-page .balance-pill strong { font-size: 22px; }
.portal-page .balance-pill em { font-size: 10px; }
.portal-page .icon-btn {
    width: auto;
    min-width: 60px;
    height: 43px;
    padding: 0 12px;
    border-color: #d7dbd3;
    border-radius: 12px;
    color: #68726d;
    background: transparent;
    font-size: 11px;
    font-weight: 700;
}
.portal-page .icon-btn span { margin-right: 3px; }
.portal-page .icon-btn:hover { color: var(--public-deep); border-color: #9da9a2; background: #fff; }
.portal-page .portal-shell { width: min(calc(100% - 40px), 1180px); margin: 0 auto; padding: 48px 0 34px; }
.portal-page .portal-intro { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 25px; }
.portal-page .workspace-tag { display: inline-flex; align-items: center; gap: 8px; color: var(--public-green); font: 800 10px/1 ui-monospace, monospace; letter-spacing: 2px; }
.portal-page .workspace-tag::before { width: 20px; height: 2px; background: var(--public-green); content: ""; }
.portal-page .portal-intro h1 { margin: 12px 0 6px; color: var(--public-ink); font-size: clamp(30px, 4vw, 46px); font-weight: 680; line-height: 1.08; letter-spacing: -2px; }
.portal-page .portal-intro p { margin: 0; color: var(--public-muted); font-size: 13px; }
.portal-page .service-live { display: flex; min-width: 222px; align-items: center; gap: 11px; padding: 13px 15px; border: 1px solid #d9ded3; border-radius: 14px; background: rgba(255,253,248,.75); }
.portal-page .service-live > i { width: 9px; height: 9px; flex: 0 0 9px; border: 2px solid #eff8d4; border-radius: 50%; background: #5d9c48; box-shadow: 0 0 0 5px rgba(93,156,72,.1); }
.portal-page .service-live > span { display: flex; flex-direction: column; }
.portal-page .service-live strong { color: #34433d; font-size: 11px; }
.portal-page .service-live small { margin-top: 2px; color: #838b87; font-size: 9px; }

.portal-page .portal-card {
    display: grid;
    min-height: 625px;
    grid-template-columns: 224px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgba(20,36,33,.14);
    border-radius: 25px;
    background: var(--public-warm);
    box-shadow: 0 26px 60px rgba(26,47,42,.09);
}
.portal-page .tabs {
    display: flex;
    height: auto;
    min-height: 625px;
    padding: 28px 18px 20px;
    flex-direction: column;
    gap: 8px;
    border: 0;
    background: var(--public-deep);
}
.portal-page .tabs-label {
    display: inline-flex;
    width: fit-content;
    margin: 0 4px 12px;
    padding: 7px 10px;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(223,243,107,.26);
    border-radius: 99px;
    color: var(--public-lime);
    background: rgba(223,243,107,.09);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 1.5px;
}
.portal-page .tabs-label::before { width: 6px; height: 6px; border-radius: 50%; background: var(--public-lime); box-shadow: 0 0 0 4px rgba(223,243,107,.1); content: ""; }
.portal-page .tab {
    display: flex;
    min-width: 0;
    min-height: 52px;
    padding: 0 13px;
    align-items: center;
    gap: 11px;
    border: 1px solid rgba(223,243,107,.22);
    border-radius: 12px;
    color: #e9f5f0;
    background: rgba(255,255,255,.075);
    font-size: 13px;
    text-align: left;
}
.portal-page .tab > span { display: grid; width: 25px; height: 25px; margin: 0; place-items: center; border: 1px solid rgba(223,243,107,.4); border-radius: 7px; color: var(--public-lime); background: rgba(223,243,107,.1); font-size: 14px; }
.portal-page .tab b { font-weight: 680; }
.portal-page .tab > em { margin-left: auto; color: var(--public-deep); background: var(--public-lime); font-weight: 800; }
.portal-page .tab::after { display: none; }
.portal-page .tab:hover { color: #fff; border-color: rgba(223,243,107,.55); background: rgba(223,243,107,.14); }
.portal-page .tab.active { color: var(--public-deep); border-color: var(--public-lime); background: var(--public-lime); box-shadow: 0 8px 20px rgba(0,0,0,.14); }
.portal-page .tab.active > span { color: var(--public-deep); border-color: rgba(12,48,43,.2); background: rgba(255,255,255,.22); }
.portal-page .tab.active > em { color: #fff; background: var(--public-deep); }
.portal-page .tabs-help { display: flex; margin-top: auto; padding: 15px 12px; align-items: center; gap: 9px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.66); }
.portal-page .tabs-help > span { display: grid; width: 26px; height: 26px; flex: 0 0 26px; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; font-size: 11px; }
.portal-page .tabs-help p { display: flex; margin: 0; flex-direction: column; }
.portal-page .tabs-help strong { font-size: 10px; }
.portal-page .tabs-help small { margin-top: 2px; color: rgba(255,255,255,.38); font-size: 8px; }
.portal-page .tab-panel { grid-column: 2; grid-row: 1; padding: 42px 46px 44px; background: var(--public-warm); }
.portal-page .tab-panel.active { animation: public-panel-in .25s ease both; }
@keyframes public-panel-in { from { opacity: .35; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.portal-page .section-heading { display: flex; align-items: flex-start; gap: 14px; }
.portal-page .section-index { display: grid; width: 34px; height: 25px; flex: 0 0 34px; place-items: center; border-radius: 99px; color: var(--public-green); background: #e7eee8; font: 800 10px/1 ui-monospace, monospace; letter-spacing: .5px; }
.portal-page .section-heading h2,
.portal-page .report-toolbar h2,
.portal-page .upload-block h2 { margin: 0; color: var(--public-ink); font-size: 18px; font-weight: 720; letter-spacing: -.45px; }
.portal-page .section-heading p,
.portal-page .report-toolbar p { margin: 5px 0 0; color: var(--public-muted); font-size: 12px; line-height: 1.6; }
.portal-page .version-grid { gap: 12px; margin: 20px 0 33px 48px; }
.portal-page .version-card {
    min-height: 82px;
    padding: 15px 16px;
    border: 1px solid #d9ddd5;
    border-radius: 14px;
    background: #fbfaf6;
}
.portal-page .version-card:hover { border-color: #9dafa8; background: #fff; transform: translateY(-1px); }
.portal-page .version-card.selected { border-color: var(--public-green); background: #f2f7ee; box-shadow: 0 0 0 3px rgba(8,105,93,.06); }
.portal-page .version-icon { width: 46px; height: 46px; flex-basis: 46px; border-radius: 11px; color: var(--public-deep); background: #dfe9dc; }
.portal-page .version-icon.uk { color: #225b69; background: #dbecef; }
.portal-page .version-card strong { color: #24332e; font-size: 14px; }
.portal-page .version-card small { color: #78817d; font-size: 11px; }
.portal-page .version-card > i { color: var(--public-deep); background: var(--public-lime); }
.portal-page .version-recommend { position: absolute; top: 8px; right: 11px; color: #657050; font-size: 8px; font-style: normal; }
.portal-page .version-card.selected .version-recommend { display: none; }
.portal-page .upload-heading { margin-bottom: 14px; }
.portal-page .upload-block h2 span { color: #d45f49; }
.portal-page .drop-zone {
    min-height: 205px;
    margin: 0 0 0 48px;
    border: 1.5px dashed #9eb0a7;
    border-radius: 16px;
    background:
        linear-gradient(rgba(8,105,93,.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8,105,93,.028) 1px, transparent 1px),
        #f7f7f1;
    background-size: 24px 24px;
}
.portal-page .drop-zone:hover,
.portal-page .drop-zone.dragging { border-color: var(--public-green); background-color: #f0f5ec; }
.portal-page .drop-zone.has-file { border-style: solid; border-color: #62a081; background: #eff8f2; }
.portal-page .upload-orb { width: 52px; height: 52px; margin-bottom: 12px; border-radius: 50%; color: var(--public-deep); background: var(--public-lime); box-shadow: 0 0 0 8px rgba(223,243,107,.24); }
.portal-page .drop-zone > strong { color: #293732; font-size: 14px; }
.portal-page .drop-zone > small { color: #78817d; font-size: 11px; }
.portal-page .drop-zone #uploadHint { max-width: calc(100% - 32px); text-align: center; line-height: 1.6; }
.portal-page .select-file { padding: 7px 15px; border-color: #cbd3ca; border-radius: 99px; color: var(--public-green); background: #fff; font-size: 11px; }
.portal-page .submit-bar { margin: 27px 0 0 48px; padding-top: 22px; border-color: #e2e4dd; }
.portal-page .mini-shield { border-radius: 50%; color: var(--public-green); background: #e0eee7; }
.portal-page .submit-bar p strong { color: #36443f; font-size: 12px; }
.portal-page .submit-bar p small { color: #858d89; font-size: 10px; }
.portal-page .btn-primary { border: 1px solid var(--public-deep); border-radius: 11px; color: #fff; background: var(--public-green); box-shadow: 0 8px 18px rgba(8,105,93,.17); }
.portal-page .btn-primary:hover:not(:disabled) { background: var(--public-deep); box-shadow: 0 11px 23px rgba(8,105,93,.23); }
.portal-page .form-message { margin-left: 48px; }
.portal-page .form-message.success { color: #146345; background: #e3f3e9; }
.portal-page .form-message.danger { color: #a84538; background: #fff0ec; }

.portal-page .report-toolbar { margin-bottom: 24px; }
.portal-page .search-box { height: 43px; border-color: #d9ddd5; border-radius: 11px; background: #f7f7f2; }
.portal-page .search-box:focus-within { border-color: var(--public-green); box-shadow: 0 0 0 3px rgba(8,105,93,.07); }
.portal-page .search-box input { font-size: 12px; }
.portal-page .reports-list { gap: 10px; }
.portal-page .report-card { padding: 16px; border-color: #dde0d8; border-radius: 14px; background: #fbfaf6; }
.portal-page .report-card:hover { border-color: #aebcb5; box-shadow: 0 8px 20px rgba(20,36,33,.06); transform: translateY(-1px); }
.portal-page .file-type { color: var(--public-green); background: #e3ece4; border-radius: 7px 13px 7px 7px; }
.portal-page .report-title-row h3 { color: #283630; font-size: 13px; }
.portal-page .report-meta { color: #89908c; font-size: 9px; }
.portal-page .status.success { color: #287357; background: #e1f0e7; }
.portal-page .status.info { color: #376e7a; background: #e3f1f2; }
.portal-page .status.warning { color: #9a6a22; background: #f8edd7; }
.portal-page .status.danger { color: #b14c40; background: #fae5e1; }
.portal-page .btn-ai { border-radius: 9px; background: #3b746a; }
.portal-page .hide-record-btn { border-radius: 9px; }
.portal-page .report-pagination button { border-color: #d8ddd5; border-radius: 9px; }
.portal-page .report-pagination button.active { border-color: var(--public-green); background: var(--public-green); }
.portal-page .empty-state { padding: 82px 20px; }
.portal-page .empty-state > span { color: var(--public-green); background: #e4ece4; border-radius: 50%; }

.portal-page .feature-row { gap: 14px; margin-top: 18px; padding: 0; }
.portal-page .feature-row > div { padding: 17px 18px; justify-content: flex-start; border: 1px solid rgba(20,36,33,.1) !important; border-radius: 14px; background: rgba(255,253,248,.58); }
.portal-page .feature-row > div > span { width: 34px; height: 34px; border-radius: 50%; color: var(--public-green); background: #e2e9df; font: 800 9px/1 ui-monospace, monospace; }
.portal-page .feature-row strong { color: #394741; font-size: 11px; }
.portal-page .feature-row small { color: #818985; font-size: 9px; }
.portal-page .site-footer { display: flex; padding: 22px 24px 30px; align-items: center; justify-content: center; gap: 16px; color: #8a918d; font-size: 9px; }
.portal-page .site-footer span { color: #7b8580; font: 700 8px/1 ui-monospace, monospace; letter-spacing: 1.5px; }
.portal-page .site-footer p { margin: 0; }

/* 常见问题 */
.portal-page .faq-section {
    display: grid;
    margin-top: 18px;
    padding: 42px;
    grid-template-columns: minmax(220px, .68fr) minmax(0, 1.32fr);
    gap: 50px;
    scroll-margin-top: 108px;
    overflow: hidden;
    border: 1px solid rgba(20,36,33,.12);
    border-radius: 24px;
    background: var(--public-warm);
    box-shadow: 0 20px 45px rgba(26,47,42,.065);
}
.portal-page .faq-heading { position: relative; min-width: 0; padding: 6px 10px 0 0; }
.portal-page .faq-heading h2 { margin: 18px 0 10px; color: var(--public-ink); font-size: clamp(28px, 3.3vw, 42px); font-weight: 680; letter-spacing: -1.7px; }
.portal-page .faq-heading p { max-width: 270px; margin: 0; color: var(--public-muted); font-size: 12px; line-height: 1.75; }
.portal-page .faq-mark {
    display: grid;
    width: 126px;
    height: 126px;
    margin-top: 42px;
    place-items: center;
    border: 1px solid #d8ddd2;
    border-radius: 50%;
    color: var(--public-deep);
    background: var(--public-lime);
    box-shadow: 0 0 0 13px rgba(223,243,107,.18);
    font: 500 68px/1 Georgia, serif;
}
.portal-page .faq-list { display: grid; align-content: start; gap: 9px; }
.portal-page .faq-item { overflow: hidden; border: 1px solid #dde0d8; border-radius: 14px; background: #fbfaf6; transition: border-color .18s, background .18s; }
.portal-page .faq-item[open] { border-color: #a6b8ae; background: #f4f7ef; }
.portal-page .faq-item summary {
    display: grid;
    min-height: 66px;
    padding: 0 17px;
    grid-template-columns: 34px minmax(0,1fr) 24px;
    align-items: center;
    gap: 12px;
    color: #2c3a35;
    cursor: pointer;
    list-style: none;
}
.portal-page .faq-item summary::-webkit-details-marker { display: none; }
.portal-page .faq-item summary > span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; color: var(--public-green); background: #e5ece4; font: 800 9px/1 ui-monospace, monospace; }
.portal-page .faq-item summary strong { font-size: 13px; font-weight: 680; line-height: 1.45; }
.portal-page .faq-item summary > i { position: relative; width: 22px; height: 22px; border: 1px solid #cbd3ca; border-radius: 50%; transition: transform .2s, background .2s; }
.portal-page .faq-item summary > i::before,
.portal-page .faq-item summary > i::after { position: absolute; top: 50%; left: 50%; width: 8px; height: 1px; background: #64716b; transform: translate(-50%,-50%); content: ""; }
.portal-page .faq-item summary > i::after { transform: translate(-50%,-50%) rotate(90deg); transition: transform .2s; }
.portal-page .faq-item[open] summary > i { border-color: var(--public-deep); background: var(--public-deep); transform: rotate(180deg); }
.portal-page .faq-item[open] summary > i::before,
.portal-page .faq-item[open] summary > i::after { background: var(--public-lime); }
.portal-page .faq-item[open] summary > i::after { transform: translate(-50%,-50%) rotate(0); }
.portal-page .faq-item summary:hover strong { color: var(--public-green); }
.portal-page .faq-answer { padding: 0 53px 18px 63px; }
.portal-page .faq-answer p { margin: 0; color: #67726d; font-size: 12px; line-height: 1.8; }

/* AI 检测提交确认 */
.portal-page .ai-requirement-dialog {
    width: min(calc(100% - 32px), 560px);
    max-height: calc(100vh - 32px);
    padding: 0;
    overflow: auto;
    border: 0;
    border-radius: 24px;
    color: var(--public-ink);
    background: var(--public-warm);
    box-shadow: 0 32px 90px rgba(5,27,24,.32);
}
.portal-page .ai-requirement-dialog::backdrop { background: rgba(7,31,29,.68); backdrop-filter: blur(5px); }
.portal-page .ai-requirement-dialog[open] { animation: ai-dialog-in .2s ease both; }
@keyframes ai-dialog-in { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
.portal-page .ai-dialog-shell { position: relative; padding: 34px; }
.portal-page .ai-dialog-close { position: absolute; top: 18px; right: 18px; display: grid; width: 34px; height: 34px; padding: 0; place-items: center; border: 1px solid #d9ddd5; border-radius: 50%; color: #69736e; background: #f7f7f2; font-size: 21px; line-height: 1; cursor: pointer; }
.portal-page .ai-dialog-close:hover { color: var(--public-deep); border-color: #9daba3; background: #fff; }
.portal-page .ai-dialog-icon { display: grid; width: 58px; height: 58px; margin-bottom: 22px; place-items: center; border-radius: 18px; color: var(--public-deep); background: var(--public-lime); box-shadow: 0 0 0 8px rgba(223,243,107,.2); font: 800 15px/1 ui-monospace, monospace; letter-spacing: 1px; }
.portal-page .ai-dialog-heading > span { color: var(--public-green); font: 800 9px/1 ui-monospace, monospace; letter-spacing: 1.8px; }
.portal-page .ai-dialog-heading h2 { margin: 10px 0 7px; color: var(--public-ink); font-size: 26px; font-weight: 720; letter-spacing: -.8px; }
.portal-page .ai-dialog-heading p { margin: 0; color: var(--public-muted); font-size: 12px; }
.portal-page .ai-requirement-list { display: grid; margin: 24px 0 16px; padding: 0; gap: 9px; list-style: none; }
.portal-page .ai-requirement-list li { display: grid; min-height: 66px; padding: 13px 15px; grid-template-columns: 34px minmax(0,1fr); align-items: center; gap: 12px; border: 1px solid #dde1d8; border-radius: 13px; background: #f8f8f3; }
.portal-page .ai-requirement-list li > span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; color: var(--public-green); background: #e4ece4; font: 800 9px/1 ui-monospace, monospace; }
.portal-page .ai-requirement-list p { display: flex; margin: 0; flex-direction: column; }
.portal-page .ai-requirement-list strong { color: #34423d; font-size: 12px; }
.portal-page .ai-requirement-list small { margin-top: 3px; color: #757e79; font-size: 11px; line-height: 1.55; }
.portal-page .ai-dialog-note { display: flex; padding: 12px 14px; align-items: flex-start; gap: 10px; border: 1px solid #eadcb9; border-radius: 12px; color: #745b22; background: #fbf3df; }
.portal-page .ai-dialog-note > span { display: grid; width: 20px; height: 20px; flex: 0 0 20px; place-items: center; border-radius: 50%; color: #fff; background: #b68b2c; font-size: 10px; font-weight: 800; }
.portal-page .ai-dialog-note p { margin: 1px 0 0; font-size: 11px; line-height: 1.55; }
.portal-page .ai-dialog-actions { display: grid; margin-top: 22px; grid-template-columns: .8fr 1.2fr; gap: 10px; }
.portal-page .ai-dialog-actions .btn { min-height: 48px; }
.portal-page .ai-dialog-cancel { border: 1px solid #d9ddd5; color: #5f6964; background: #f6f6f1; }
.portal-page .ai-dialog-cancel:hover { border-color: #abb6af; background: #fff; }

@media (max-width: 920px) {
    .public-page .customer-login { grid-template-columns: 1fr 1fr; }
    .public-page .customer-copy { padding: 44px 38px 40px; }
    .public-page .auth-form-panel { padding: 64px 40px; }
    .public-page .auth-intro h1 { font-size: 45px; }
    .portal-page .portal-card { grid-template-columns: 190px minmax(0,1fr); }
    .portal-page .tab-panel { padding: 36px 30px 38px; }
    .portal-page .version-grid,
    .portal-page .drop-zone,
    .portal-page .submit-bar,
    .portal-page .form-message { margin-left: 0; }
    .portal-page .faq-section { grid-template-columns: 210px minmax(0,1fr); gap: 28px; padding: 34px 30px; }
    .portal-page .faq-mark { width: 100px; height: 100px; font-size: 54px; }
}

@media (max-width: 760px) {
    .public-page.login-page { padding: 16px; }
    .public-page .customer-login { width: min(100%, 620px); min-height: 0; grid-template-columns: 1fr; border-radius: 24px; }
    .public-page .customer-copy { min-height: 380px; padding: 35px 30px 30px; }
    .public-page .auth-intro { margin: 66px 0 50px; }
    .public-page .auth-intro h1 { margin: 14px 0 16px; font-size: 38px; letter-spacing: -2px; }
    .public-page .auth-form-panel { padding: 46px 30px 50px; }
    .portal-page .site-header { height: auto; }
    .portal-page .site-header-inner { padding: 14px 18px; }
    .portal-page .portal-shell { width: min(calc(100% - 24px), 720px); padding-top: 32px; }
    .portal-page .portal-intro { align-items: flex-start; }
    .portal-page .portal-intro h1 { font-size: 34px; }
    .portal-page .service-live { min-width: 195px; }
    .portal-page .portal-card { min-height: 0; grid-template-columns: 1fr; border-radius: 20px; }
    .portal-page .tabs { min-height: 0; padding: 10px; flex-direction: row; gap: 7px; background: var(--public-deep); }
    .portal-page .tabs-label,
    .portal-page .tabs-help { display: none; }
    .portal-page .tab { min-height: 50px; flex: 1; justify-content: center; }
    .portal-page .tab > em { margin-left: 0; }
    .portal-page .tab-panel { grid-column: 1; grid-row: 2; padding: 30px 24px 32px; }
    .portal-page .feature-row { grid-template-columns: repeat(3, 1fr); }
    .portal-page .feature-row > div { padding: 14px 8px; justify-content: center; }
    .portal-page .faq-section { padding: 30px 24px; grid-template-columns: 1fr; gap: 24px; border-radius: 20px; }
    .portal-page .faq-heading { display: flex; padding: 0; align-items: flex-end; justify-content: space-between; gap: 22px; }
    .portal-page .faq-heading h2 { margin: 13px 0 7px; }
    .portal-page .faq-heading p { max-width: 430px; }
    .portal-page .faq-mark { width: 72px; height: 72px; margin: 0 8px 7px 0; flex: 0 0 72px; box-shadow: 0 0 0 9px rgba(223,243,107,.16); font-size: 40px; }
}

@media (max-width: 540px) {
    .public-page .customer-copy { min-height: 350px; padding: 28px 24px 24px; }
    .public-page .auth-intro { margin: 54px 0 38px; }
    .public-page .auth-intro h1 { font-size: 32px; letter-spacing: -1.5px; }
    .public-page .auth-intro p { font-size: 13px; }
    .public-page .trust-row { gap: 12px; }
    .public-page .trust-row strong { font-size: 13px; }
    .public-page .trust-row span { font-size: 8px; }
    .public-page .auth-form-panel { padding: 42px 24px; }
    .public-page .auth-form-panel h2 { font-size: 26px; }
    .portal-page .site-header .brand small,
    .portal-page .code-identity { display: none; }
    .portal-page .site-header .brand strong { font-size: 17px; }
    .portal-page .site-header .brand-mark { width: 38px; height: 38px; }
    .portal-page .balance-pill span { display: none; }
    .portal-page .icon-btn { min-width: 42px; padding: 0 10px; }
    .portal-page .icon-btn span { display: none; }
    .portal-page .portal-intro { flex-direction: column; gap: 16px; }
    .portal-page .portal-intro h1 { font-size: 31px; }
    .portal-page .service-live { width: 100%; }
    .portal-page .tab { padding: 0 8px; gap: 7px; font-size: 12px; }
    .portal-page .tab > span { display: none; }
    .portal-page .tab-panel { padding: 26px 18px 28px; }
    .portal-page .version-grid { grid-template-columns: 1fr; margin-bottom: 28px; }
    .portal-page .drop-zone { min-height: 190px; }
    .portal-page .submit-bar { align-items: stretch; gap: 18px; flex-direction: column; }
    .portal-page .submit-bar .btn { width: 100%; }
    .portal-page .report-toolbar { align-items: stretch; flex-direction: column; }
    .portal-page .search-box { width: 100%; }
    .portal-page .report-card { grid-template-columns: 40px minmax(0,1fr); }
    .portal-page .report-action { grid-column: 1 / -1; grid-row: auto; text-align: left; }
    .portal-page .report-action .btn { width: 100%; }
    .portal-page .report-downloads { justify-content: stretch; }
    .portal-page .feature-row { gap: 8px; }
    .portal-page .feature-row > div { flex-direction: column; text-align: center; }
    .portal-page .feature-row p small { display: none; }
    .portal-page .feature-row strong { font-size: 10px; }
    .portal-page .site-footer { flex-direction: column; gap: 7px; }
    .portal-page .faq-section { padding: 26px 16px 18px; }
    .portal-page .faq-mark { display: none; }
    .portal-page .faq-item summary { min-height: 64px; padding: 0 13px; grid-template-columns: 30px minmax(0,1fr) 22px; gap: 9px; }
    .portal-page .faq-item summary > span { width: 28px; height: 28px; }
    .portal-page .faq-item summary strong { font-size: 12px; }
    .portal-page .faq-answer { padding: 0 44px 16px 52px; }
    .portal-page .faq-answer p { font-size: 11px; }
    .portal-page .ai-requirement-dialog { width: min(calc(100% - 20px), 560px); border-radius: 20px; }
    .portal-page .ai-dialog-shell { padding: 26px 18px 20px; }
    .portal-page .ai-dialog-close { top: 14px; right: 14px; }
    .portal-page .ai-dialog-icon { width: 50px; height: 50px; margin-bottom: 18px; border-radius: 15px; }
    .portal-page .ai-dialog-heading h2 { font-size: 23px; }
    .portal-page .ai-requirement-list { margin-top: 20px; }
    .portal-page .ai-requirement-list li { padding: 11px 12px; }
    .portal-page .ai-dialog-actions { grid-template-columns: 1fr; }
    .portal-page .ai-dialog-actions .btn-primary { grid-row: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .public-page *, .public-page *::before, .public-page *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* 用户端可读性增强：统一放大正文与辅助信息 */
.public-page { font-size: 16px; line-height: 1.6; }
.public-page .brand strong { font-size: 22px; }
.public-page .brand small { font-size: 12px; letter-spacing: 1.1px; }

.public-page .auth-intro .eyebrow { font-size: 12px; }
.public-page .auth-intro p { font-size: 16px; }
.public-page .trust-row strong { font-size: 18px; }
.public-page .trust-row span { font-size: 12px; }
.public-page .form-kicker { font-size: 13px; }
.public-page .form-lead { font-size: 16px; }
.public-page .stack-form label { font-size: 15px; }
.public-page .stack-form input { font-size: 16px; }
.public-page .safe-note p { font-size: 13px; line-height: 1.65; }

.portal-page .code-identity small { font-size: 12px; }
.portal-page .code-identity strong { font-size: 14px; }
.portal-page .balance-pill span,
.portal-page .balance-pill em { font-size: 12px; }
.portal-page .icon-btn { font-size: 13px; }
.portal-page .workspace-tag { font-size: 12px; }
.portal-page .portal-intro p { font-size: 15px; }
.portal-page .service-live strong { font-size: 13px; }
.portal-page .service-live small { font-size: 11px; }

.portal-page .tabs-label { font-size: 12px; }
.portal-page .tab { font-size: 15px; }
.portal-page .tab > em { font-size: 12px; }
.portal-page .tabs-help strong { font-size: 12px; }
.portal-page .tabs-help small { font-size: 10px; }

.portal-page .section-index { font-size: 11px; }
.portal-page .section-heading h2,
.portal-page .report-toolbar h2,
.portal-page .upload-block h2 { font-size: 21px; }
.portal-page .section-heading p,
.portal-page .report-toolbar p { font-size: 14px; }
.portal-page .version-icon { font-size: 13px; }
.portal-page .version-card strong { font-size: 16px; }
.portal-page .version-card small { font-size: 13px; }
.portal-page .version-recommend { font-size: 10px; }
.portal-page .drop-zone > strong { font-size: 16px; }
.portal-page .drop-zone > small { font-size: 13px; }
.portal-page .select-file { font-size: 13px; }
.portal-page .submit-bar p strong { font-size: 14px; }
.portal-page .submit-bar p small { font-size: 12px; }
.portal-page .form-message { font-size: 14px; }

.portal-page .search-box input { font-size: 14px; }
.portal-page .report-title-row h3 { font-size: 15px; }
.portal-page .status { font-size: 11px; }
.portal-page .report-meta { font-size: 11px; line-height: 1.55; }
.portal-page .failure-note,
.portal-page .muted-text { font-size: 12px; }
.portal-page .report-pagination-summary,
.portal-page .report-pagination button { font-size: 13px; }
.portal-page .empty-state h3 { font-size: 17px; }
.portal-page .empty-state p { font-size: 13px; }

.portal-page .feature-row strong { font-size: 13px; }
.portal-page .feature-row small { font-size: 11px; }
.portal-page .site-footer { font-size: 12px; }
.portal-page .site-footer span { font-size: 10px; }

.portal-page .faq-heading p { font-size: 14px; }
.portal-page .faq-item summary > span { font-size: 11px; }
.portal-page .faq-item summary strong { font-size: 15px; }
.portal-page .faq-answer p { font-size: 14px; line-height: 1.85; }

.portal-page .ai-dialog-heading > span { font-size: 11px; }
.portal-page .ai-dialog-heading p { font-size: 14px; }
.portal-page .ai-requirement-list li > span { font-size: 11px; }
.portal-page .ai-requirement-list strong { font-size: 14px; }
.portal-page .ai-requirement-list small { font-size: 13px; }
.portal-page .ai-dialog-note p { font-size: 13px; }

@media (max-width: 540px) {
    .public-page .brand strong { font-size: 19px; }
    .public-page .brand small { font-size: 11px; }
    .public-page .auth-intro p { font-size: 15px; }
    .public-page .trust-row span { font-size: 10px; }
    .portal-page .tab { font-size: 14px; }
    .portal-page .section-heading h2,
    .portal-page .report-toolbar h2,
    .portal-page .upload-block h2 { font-size: 19px; }
    .portal-page .section-heading p,
    .portal-page .report-toolbar p { font-size: 13px; }
    .portal-page .faq-item summary strong { font-size: 14px; }
    .portal-page .faq-answer p { font-size: 13px; }
}
