/* ==========================================================================
   pro-suite.css — 职场 / 金融工具套件（「档案纸」风格，独立于 lab 实验台皮肤）
   设计语言：米白纸底 + 墨绿主色 + 铜金强调；结果区做成票据/凭证质感；
   标题用衬线字突出「正式文书」，正文用系统无衬线保证可读性。
   所有类名以 .pro 前缀隔离，避免与全站样式互相影响。
   ========================================================================== */

.pro {
    /* 明色（默认） */
    --p-bg: #f5f3ec;
    --p-card: #fffdf8;
    --p-card-2: #fbf9f2;
    --p-ink: #16211c;
    --p-sub: #4b5b53;
    --p-mute: #8b978f;
    --p-line: #e3ded1;
    --p-line-2: #efeade;
    --p-brand: #0e5c46;
    --p-brand-soft: #e8f0eb;
    --p-gold: #ab8340;
    --p-gold-soft: #f6efdf;
    --p-ok: #1a7a52;
    --p-ok-soft: #e6f3ec;
    --p-warn: #a2641a;
    --p-warn-soft: #fbf0dd;
    --p-danger: #b4362a;
    --p-danger-soft: #fbeae7;
    --p-slip: #0d332a;
    --p-slip-2: #13463a;
    --p-slip-ink: #f4efe1;
    --p-slip-sub: #b9cbc2;
    --p-num: "SFMono-Regular", "DIN Alternate", ui-monospace, Menlo, Consolas, monospace;
    --p-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
    --p-radius: 14px;
    --p-shadow: 0 16px 40px -30px rgba(20, 33, 28, .5);

    background:
        radial-gradient(900px 320px at 12% -8%, rgba(171, 131, 64, .10), transparent 70%),
        var(--p-bg);
    color: var(--p-ink);
    padding: 18px 16px 56px;
    font-size: 15px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

:root[data-theme="dark"] .pro {
    --p-bg: #0a1310;
    --p-card: #111d18;
    --p-card-2: #0e1814;
    --p-ink: #e9e6db;
    --p-sub: #a9b7ae;
    --p-mute: #7c8c83;
    --p-line: #26352c;
    --p-line-2: #1c2a22;
    --p-brand: #57c39c;
    --p-brand-soft: #14291f;
    --p-gold: #d8b46a;
    --p-gold-soft: #241f13;
    --p-ok: #5fd39f;
    --p-ok-soft: #12291e;
    --p-warn: #e0a95c;
    --p-warn-soft: #2a2011;
    --p-danger: #f0857a;
    --p-danger-soft: #2b1714;
    --p-slip: #123329;
    --p-slip-2: #1a4b3c;
    --p-slip-ink: #f2ecdc;
    --p-slip-sub: #a9c2b6;
    --p-shadow: 0 18px 44px -28px rgba(0, 0, 0, .8);

    background:
        radial-gradient(900px 320px at 12% -8%, rgba(216, 180, 106, .08), transparent 70%),
        var(--p-bg);
}

.pro * { box-sizing: border-box; }
.pro-wrap { max-width: 1160px; margin: 0 auto; }

/* ---------- 面包屑 ---------- */
.pro-crumb {
    display: flex; flex-wrap: wrap; align-items: center; gap: 7px;
    font-size: 12.5px; color: var(--p-mute); margin: 2px 0 16px;
}
.pro-crumb a { color: var(--p-mute); text-decoration: none; }
.pro-crumb a:hover { color: var(--p-brand); }
.pro-crumb .sep { opacity: .5; }

/* ---------- 首屏 ---------- */
.pro-hero {
    position: relative;
    padding: 26px 26px 24px;
    background: var(--p-card);
    border: 1px solid var(--p-line);
    border-radius: var(--p-radius);
    box-shadow: var(--p-shadow);
    overflow: hidden;
}
.pro-hero::before {
    content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
    background: linear-gradient(var(--p-gold), var(--p-brand));
}
.pro-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11.5px; font-weight: 800; letter-spacing: .16em;
    color: var(--p-gold); text-transform: uppercase;
}
.pro-eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--p-gold); }
.pro-h1 {
    margin: 10px 0 8px;
    font-family: var(--p-serif);
    font-size: clamp(26px, 3.6vw, 38px);
    line-height: 1.25;
    letter-spacing: .005em;
    font-weight: 800;
    color: var(--p-ink);
}
.pro-h1 em { font-style: normal; color: var(--p-brand); }
.pro-lead { margin: 0; max-width: 62ch; color: var(--p-sub); font-size: 15px; }
.pro-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pro-chip {
    font-size: 12px; font-weight: 700; color: var(--p-brand);
    background: var(--p-brand-soft);
    border: 1px solid rgba(14, 92, 70, .18);
    padding: 4px 10px; border-radius: 999px;
    font-family: var(--p-num);
}
.pro-hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* ---------- 按钮 ---------- */
.pro-btn {
    appearance: none; border: 1px solid var(--p-line);
    background: var(--p-card); color: var(--p-ink);
    font: inherit; font-size: 14px; font-weight: 700;
    padding: 10px 18px; border-radius: 10px; cursor: pointer;
    transition: transform .12s ease, background .18s ease, border-color .18s ease, box-shadow .18s;
    display: inline-flex; align-items: center; gap: 7px;
    text-decoration: none;
}
.pro-btn:hover { border-color: var(--p-brand); color: var(--p-brand); }
.pro-btn:active { transform: translateY(1px); }
.pro-btn[disabled] { opacity: .55; cursor: not-allowed; }
.pro-btn-main {
    background: linear-gradient(160deg, var(--p-brand), #0a4635);
    border-color: transparent; color: #fdfbf4;
    box-shadow: 0 10px 22px -14px rgba(14, 92, 70, .85);
}
.pro-btn-main:hover { color: #fff; filter: brightness(1.06); }
.pro-btn-sm { padding: 7px 13px; font-size: 13px; border-radius: 8px; }
.pro-btn-icon { padding: 7px 11px; font-size: 13px; border-radius: 8px; }

/* ---------- 主栅格 ---------- */
.pro-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 16px;
    margin-top: 16px;
    align-items: start;
}
.pro-card {
    background: var(--p-card);
    border: 1px solid var(--p-line);
    border-radius: var(--p-radius);
    box-shadow: var(--p-shadow);
    overflow: hidden;
}
.pro-head {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 13px 18px;
    border-bottom: 1px solid var(--p-line);
    background: var(--p-card-2);
}
.pro-head b { font-size: 14px; font-weight: 800; letter-spacing: .01em; }
.pro-head span { font-size: 12px; color: var(--p-mute); font-family: var(--p-num); }
.pro-body { padding: 16px 18px 18px; }

/* ---------- 表单 ---------- */
.pro-form { display: grid; gap: 12px; }
.pro-field.is-hidden { display: none; }
.pro-label {
    display: flex; align-items: baseline; gap: 6px;
    font-size: 12.5px; font-weight: 800; color: var(--p-sub);
    margin-bottom: 5px;
}
.pro-label i { font-style: normal; font-weight: 600; font-size: 11.5px; color: var(--p-mute); }
.pro-label .req { color: var(--p-danger); }
.pro-inline { display: flex; gap: 8px; align-items: stretch; }
.pro-inline > .pro-input { flex: 1 1 auto; min-width: 0; }
.pro-inline > .pro-select { flex: 0 0 auto; }
.pro-input, .pro-select, .pro-textarea {
    width: 100%;
    font: inherit; font-size: 15px;
    color: var(--p-ink);
    background: var(--p-card-2);
    border: 1px solid var(--p-line);
    border-radius: 9px;
    padding: 10px 12px;
    outline: none;
    transition: border-color .16s, box-shadow .16s, background .16s;
    font-variant-numeric: tabular-nums;
}
.pro-input:focus, .pro-select:focus, .pro-textarea:focus {
    border-color: var(--p-brand);
    background: var(--p-card);
    box-shadow: 0 0 0 3px rgba(14, 92, 70, .14);
}
.pro-input::placeholder, .pro-textarea::placeholder { color: var(--p-mute); }
.pro-input.is-bad { border-color: var(--p-danger); box-shadow: 0 0 0 3px var(--p-danger-soft); }
.pro-select { appearance: none; padding-right: 32px; cursor: pointer;
    background-image: linear-gradient(45deg, transparent 50%, var(--p-mute) 50%), linear-gradient(135deg, var(--p-mute) 50%, transparent 50%);
    background-position: calc(100% - 17px) 51%, calc(100% - 12px) 51%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}
.pro-hint { margin: 5px 0 0; font-size: 11.5px; color: var(--p-mute); line-height: 1.6; }
.pro-hint b { color: var(--p-sub); }
.pro-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* 分段 tab */
.pro-tabs {
    display: flex; flex-wrap: wrap; gap: 4px;
    grid-column: 1 / -1;
    padding: 4px; margin-bottom: 10px;
    background: var(--p-brand-soft);
    border: 1px solid var(--p-line-2);
    border-radius: 11px;
}
.pro-tab {
    appearance: none; border: 0; background: transparent;
    font: inherit; font-size: 13px; font-weight: 700; color: var(--p-sub);
    padding: 7px 13px; border-radius: 8px; cursor: pointer;
    transition: background .16s, color .16s, box-shadow .16s;
    white-space: nowrap;
}
.pro-tab:hover { color: var(--p-brand); }
.pro-tab.on {
    background: var(--p-card); color: var(--p-brand);
    box-shadow: 0 2px 8px -4px rgba(20, 33, 28, .35);
}

/* 动态行 */
.pro-rows { display: grid; gap: 8px; }
.pro-rows-head, .pro-row {
    display: grid; gap: 6px; align-items: center;
}
.pro-rows-head { font-size: 11px; font-weight: 800; color: var(--p-mute); letter-spacing: .04em; }
.pro-row .pro-input, .pro-row .pro-select { padding: 7px 9px; font-size: 13.5px; border-radius: 7px; }
.pro-row-del {
    appearance: none; border: 1px solid var(--p-line); background: var(--p-card);
    color: var(--p-mute); width: 28px; height: 28px; border-radius: 7px; cursor: pointer;
    font-size: 13px; line-height: 1;
}
.pro-row-del:hover { color: var(--p-danger); border-color: var(--p-danger); }
.pro-add { justify-self: start; margin-top: 2px; }
.pro-rows-empty { font-size: 12px; color: var(--p-mute); }

/* 操作区 */
.pro-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 15px; }
.pro-actions .pro-btn-main { flex: 1 1 160px; justify-content: center; }

/* ---------- 结果（票据质感） ---------- */
.pro-slip {
    position: relative;
    padding: 18px 20px 16px;
    background:
        radial-gradient(600px 180px at 88% -20%, rgba(216, 180, 106, .22), transparent 70%),
        linear-gradient(158deg, var(--p-slip-2), var(--p-slip));
    color: var(--p-slip-ink);
    border-radius: var(--p-radius) var(--p-radius) 0 0;
    overflow: hidden;
}
.pro-slip::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 8px;
    background-image: radial-gradient(circle at 6px 8px, transparent 5px, var(--p-card) 5.5px);
    background-size: 12px 8px; background-repeat: repeat-x;
    opacity: .96;
}
.pro-slip-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.pro-slip-k { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--p-slip-sub); text-transform: uppercase; }
.pro-badge {
    font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .22); color: #f6f1e2;
    background: rgba(255, 255, 255, .08); white-space: nowrap;
}
.pro-badge.ok { background: rgba(95, 211, 159, .16); border-color: rgba(95, 211, 159, .4); color: #b7f0d3; }
.pro-badge.warn { background: rgba(224, 169, 92, .16); border-color: rgba(224, 169, 92, .42); color: #f3d5a6; }
.pro-badge.bad { background: rgba(240, 133, 122, .16); border-color: rgba(240, 133, 122, .42); color: #f8c3bd; }
.pro-main { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.pro-main .v {
    font-family: var(--p-num);
    font-size: clamp(32px, 5vw, 46px);
    font-weight: 800; line-height: 1.06;
    letter-spacing: -.02em;
    color: #f2d9a4;
    font-variant-numeric: tabular-nums;
    word-break: break-all;
}
.pro-main .u { font-size: 14px; font-weight: 700; color: var(--p-slip-sub); padding-bottom: 4px; }
.pro-sub { margin: 6px 0 0; font-size: 12.5px; color: var(--p-slip-sub); }
.pro-slip-note {
    margin-top: 10px; padding-top: 9px; border-top: 1px dashed rgba(255, 255, 255, .16);
    font-size: 12px; color: var(--p-slip-sub); line-height: 1.7;
}

/* 键值区 */
.pro-kv {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    background: var(--p-card);
    border-bottom: 1px solid var(--p-line);
}
.pro-kv > div {
    padding: 11px 14px;
    border-right: 1px solid var(--p-line-2);
    border-bottom: 1px solid var(--p-line-2);
    min-width: 0;
}
.pro-kv .k { font-size: 11.5px; color: var(--p-mute); font-weight: 700; margin-bottom: 3px; }
.pro-kv .v {
    font-family: var(--p-num); font-size: 14.5px; font-weight: 700;
    color: var(--p-ink); word-break: break-word;
    font-variant-numeric: tabular-nums;
}
.pro-kv .v.good { color: var(--p-ok); }
.pro-kv .v.bad { color: var(--p-danger); }

/* 步骤时间线 */
.pro-steps { padding: 14px 18px 16px; }
.pro-steps-title {
    font-size: 11.5px; font-weight: 900; letter-spacing: .12em; color: var(--p-mute);
    text-transform: uppercase; margin-bottom: 9px;
}
.pro-steps ol { margin: 0; padding: 0; list-style: none; counter-reset: pstep; }
.pro-steps li {
    position: relative; counter-increment: pstep;
    padding: 0 0 11px 30px;
    font-size: 13px; line-height: 1.8; color: var(--p-sub);
    word-break: break-word;
}
.pro-steps li::before {
    content: counter(pstep);
    position: absolute; left: 0; top: 3px;
    width: 19px; height: 19px; border-radius: 50%;
    border: 1px solid var(--p-line);
    background: var(--p-card-2);
    color: var(--p-mute); font-size: 10.5px; font-weight: 800;
    font-family: var(--p-num);
    display: grid; place-items: center;
}
.pro-steps li::after {
    content: ""; position: absolute; left: 9px; top: 24px; bottom: 1px;
    width: 1px; background: var(--p-line-2);
}
.pro-steps li:last-child { padding-bottom: 0; }
.pro-steps li:last-child::after { display: none; }
.pro-steps li b, .pro-steps li strong { color: var(--p-ink); font-weight: 800; }
.pro-steps li code {
    font-family: var(--p-num); font-size: 12.5px;
    background: var(--p-brand-soft); color: var(--p-brand);
    padding: 1px 5px; border-radius: 4px;
}

/* 数据表 */
.pro-table-wrap { padding: 12px 18px 16px; overflow-x: auto; }
.pro-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.pro-table th {
    text-align: left; font-size: 10.5px; font-weight: 900; letter-spacing: .06em;
    text-transform: uppercase; color: var(--p-mute);
    padding: 7px 9px; border-bottom: 1px solid var(--p-line); white-space: nowrap;
}
.pro-table td {
    padding: 7px 9px; border-bottom: 1px solid var(--p-line-2);
    color: var(--p-sub); font-family: var(--p-num); font-variant-numeric: tabular-nums;
}
.pro-table tr:last-child td { border-bottom: 0; }
.pro-table td.first, .pro-table th.first { font-family: inherit; }
.pro-table tr.is-highlight td { background: var(--p-gold-soft); color: var(--p-ink); font-weight: 700; }

/* 提示块 */
.pro-callout {
    margin: 12px 18px 16px; padding: 11px 13px;
    border-radius: 10px; font-size: 12.5px; line-height: 1.75;
    border: 1px solid var(--p-line);
    background: var(--p-card-2); color: var(--p-sub);
}
.pro-callout b { color: var(--p-ink); }
.pro-callout.warn { background: var(--p-warn-soft); border-color: rgba(162, 100, 26, .26); color: var(--p-warn); }
.pro-callout.ok { background: var(--p-ok-soft); border-color: rgba(26, 122, 82, .26); color: var(--p-ok); }
.pro-callout.bad { background: var(--p-danger-soft); border-color: rgba(180, 54, 42, .26); color: var(--p-danger); }
.pro-callout a { color: inherit; font-weight: 700; }

.pro-notes { margin: 12px 18px 16px; padding: 0; list-style: none; display: grid; gap: 5px; }
.pro-notes li { position: relative; padding-left: 14px; font-size: 12.5px; color: var(--p-mute); line-height: 1.7; }
.pro-notes li::before { content: "·"; position: absolute; left: 3px; color: var(--p-gold); font-weight: 900; }

.pro-result-empty { padding: 26px 18px; text-align: center; color: var(--p-mute); font-size: 13px; }

/* ---------- AI 区 ---------- */
.pro-ai { border-top: 1px solid var(--p-line); background: var(--p-card-2); padding: 14px 18px 16px; }
.pro-ai-head { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.pro-ai-head b { font-size: 13px; font-weight: 800; }
.pro-ai-head .dot {
    width: 7px; height: 7px; border-radius: 50%; background: var(--p-gold);
    box-shadow: 0 0 0 3px var(--p-gold-soft);
}
.pro-ai-head span { margin-left: auto; font-size: 11px; color: var(--p-mute); }
.pro-ai-hint { margin: 0 0 9px; font-size: 12px; color: var(--p-mute); line-height: 1.7; }
.pro-ai textarea { min-height: 62px; resize: vertical; font-size: 13.5px; }
.pro-ai-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.pro-ai-status { font-size: 12px; color: var(--p-mute); }
.pro-ai-status.is-err { color: var(--p-danger); }
.pro-ai-status.is-ok { color: var(--p-ok); }
.pro-ai-out {
    margin-top: 10px; font-size: 13.5px; line-height: 1.9; color: var(--p-sub);
    white-space: pre-wrap; word-break: break-word;
    max-height: 340px; overflow-y: auto;
    border-left: 2px solid var(--p-line); padding-left: 12px;
}
.pro-ai-out:empty { display: none; }
.pro-ai-out strong { color: var(--p-ink); }
.pro-ai-out.lab-in { animation: proFadeIn .3s ease-out both; }

/* 工具自定义扩展区（清单 / 话术 / 模板） */
.pro-extra { padding: 14px 18px 16px; border-top: 1px dashed var(--p-line); }
.pro-extra h3 { margin: 0 0 8px; font-size: 13px; font-weight: 800; color: var(--p-ink); }
.pro-extra h4 { margin: 12px 0 6px; font-size: 12.5px; font-weight: 800; color: var(--p-sub); }
.pro-extra ul, .pro-extra ol { margin: 0 0 8px; padding-left: 18px; font-size: 12.8px; line-height: 1.85; color: var(--p-sub); }
.pro-extra p { margin: 6px 0; font-size: 12.8px; color: var(--p-sub); line-height: 1.8; }
.pro-check { display: flex; gap: 8px; align-items: flex-start; padding: 5px 0; font-size: 13px; color: var(--p-sub); line-height: 1.6; }
.pro-check input { margin-top: 3px; accent-color: var(--p-brand); width: 15px; height: 15px; flex: 0 0 auto; }
.pro-check.done span { color: var(--p-mute); text-decoration: line-through; }
.pro-copy-src { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 正文 ---------- */
.pro-content { margin-top: 26px; display: grid; gap: 16px; }
.pro-sec {
    background: var(--p-card);
    border: 1px solid var(--p-line);
    border-radius: var(--p-radius);
    padding: 20px 22px;
}
.pro-sec > h2 {
    margin: 0 0 10px; font-family: var(--p-serif);
    font-size: 20px; font-weight: 800; letter-spacing: .005em; color: var(--p-ink);
    padding-left: 11px; border-left: 3px solid var(--p-gold);
    line-height: 1.4;
}
.pro-sec h3 { margin: 16px 0 6px; font-size: 15px; font-weight: 800; color: var(--p-ink); }
.pro-sec p { margin: 8px 0; color: var(--p-sub); font-size: 14.2px; line-height: 1.9; }
.pro-sec ul, .pro-sec ol { margin: 8px 0; padding-left: 20px; color: var(--p-sub); font-size: 14.2px; line-height: 1.9; }
.pro-sec li { margin: 3px 0; }
.pro-sec li::marker { color: var(--p-gold); }
.pro-sec b, .pro-sec strong { color: var(--p-ink); }
.pro-sec code {
    font-family: var(--p-num); font-size: 13px; color: var(--p-brand);
    background: var(--p-brand-soft); padding: 1px 6px; border-radius: 4px;
}
.pro-sec a { color: var(--p-brand); font-weight: 600; }

.pro-faq { border-bottom: 1px solid var(--p-line-2); padding: 9px 0; }
.pro-faq:last-child { border-bottom: 0; }
.pro-faq summary {
    cursor: pointer; font-size: 14px; font-weight: 700; color: var(--p-ink);
    list-style: none; position: relative; padding-right: 22px;
}
.pro-faq summary::-webkit-details-marker { display: none; }
.pro-faq summary::after {
    content: "+"; position: absolute; right: 2px; top: -2px;
    color: var(--p-gold); font-size: 18px; font-weight: 700; transition: transform .2s;
}
.pro-faq[open] summary::after { content: "−"; }
.pro-faq p { margin: 7px 0 2px; font-size: 13.6px; color: var(--p-sub); line-height: 1.85; }

.pro-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pro-links a {
    font-size: 12.5px; font-weight: 700; text-decoration: none;
    color: var(--p-sub); background: var(--p-card-2);
    border: 1px solid var(--p-line); border-radius: 999px;
    padding: 6px 12px; transition: all .16s;
}
.pro-links a:hover { color: var(--p-brand); border-color: var(--p-brand); background: var(--p-brand-soft); }

.pro-disclaimer { font-size: 12px; color: var(--p-mute); line-height: 1.8; }

/* ---------- 动画 ---------- */
@keyframes proRise { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes proFadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
    .pro-slip { animation: proFadeIn .3s ease-out both; }
    .pro-kv > div { animation: proRise .32s cubic-bezier(.22, 1, .36, 1) both; }
    .pro-steps li { animation: proRise .32s cubic-bezier(.22, 1, .36, 1) both; }
}
@media (prefers-reduced-motion: reduce) {
    .pro-slip, .pro-kv > div, .pro-steps li, .pro-ai-out.lab-in { animation: none !important; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
    .pro-grid { grid-template-columns: minmax(0, 1fr); }
    .pro-hero { padding: 20px 18px; }
    .pro-sec { padding: 16px 16px; }
}
@media (max-width: 560px) {
    .pro { padding: 12px 10px 42px; font-size: 14.5px; }
    .pro-h1 { font-size: 24px; }
    .pro-body { padding: 14px 14px 16px; }
    .pro-head { padding: 11px 14px; }
    .pro-kv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pro-row2 { grid-template-columns: 1fr; }
    .pro-main .v { font-size: 34px; }
    .pro-steps, .pro-table-wrap { padding-left: 14px; padding-right: 14px; }
    .pro-callout, .pro-notes { margin-left: 14px; margin-right: 14px; }
}

/* ---------- 打印（只输出报销/结果单） ---------- */
.pro-print-area { display: none; }
@media print {
    @page { size: A4; margin: 14mm; }
    body > *:not(.pro-print-area) { display: none !important; }
    .pro-print-area { display: block !important; }
    body { background: #fff !important; }
    .pro-print-sheet { color: #000; font-family: "Times New Roman", "Songti SC", "SimSun", serif; }
    .pro-print-sheet h1 { font-size: 20px; text-align: center; margin: 0 0 4px; letter-spacing: 2px; }
    .pro-print-sheet h2 { font-size: 14px; margin: 16px 0 6px; border-bottom: 1px solid #000; padding-bottom: 3px; }
    .pro-print-sheet .ps-meta {
        display: flex; justify-content: space-between; flex-wrap: wrap;
        font-size: 11.5px; color: #333; margin-bottom: 8px;
    }
    .pro-print-sheet table { width: 100%; border-collapse: collapse; font-size: 12px; }
    .pro-print-sheet th, .pro-print-sheet td { border: 1px solid #555; padding: 5px 6px; text-align: left; }
    .pro-print-sheet th { background: #f0f0f0; }
    .pro-print-sheet .ps-main { font-size: 15px; font-weight: 700; margin: 6px 0; }
    .pro-print-sheet ol { padding-left: 20px; font-size: 12px; line-height: 1.8; }
    .pro-print-sheet .ps-foot { margin-top: 14px; font-size: 10.5px; color: #555; line-height: 1.6; }
    .pro-print-sheet .ps-sign { margin-top: 22px; font-size: 12px; display: flex; justify-content: space-between; }
}
