﻿:root { --paper: #f8f6f1; --red: #8f1f2c; --red-deep: #6e1621; --risk: #b45309; --safe: #2f855a; --border: #c9c2b3; --gold: #9a7a3a; --dark-blue: #1f3a5f; --radius: 10px; }
        body { background: linear-gradient(180deg, #e7e1d4 0%, #ddd6c7 55%, #d4ccbc 100%); font-family: "PingFang SC", "Noto Serif SC", "Microsoft YaHei", serif; padding: 12px; color: #1f2937; line-height: 1.72; margin: 0; }
        /* 将整个命书区域包裹，用于截图 */
        .capture-wrapper { max-width: 1200px; margin: 0 auto; background: var(--paper); border: 1px solid var(--border); padding: 28px; box-shadow: 0 14px 30px rgba(30, 24, 14, 0.14); border-radius: calc(var(--radius) + 2px); }
        
        h1 { text-align: center; color: var(--red); border-bottom: 1px solid #d8cfbe; padding-bottom: 12px; letter-spacing: 1px; margin-top: 0; font-weight: 700; }
        .subtitle { text-align: center; font-size: 14px; color: #556070; margin-bottom: 18px; letter-spacing: 0.4px; }
        .report-meta { text-align: center; font-size: 12px; color: #667085; margin-bottom: 14px; }

        /* 顶部操作区 (截图时会隐藏) */
        .controls { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-bottom: 18px; background: rgba(255,255,255,0.62); padding: 16px; border-radius: var(--radius); border: 1px solid #d5cdbb; box-shadow: inset 0 1px 0 rgba(255,255,255,0.6); }
        .controls-note { width: 100%; margin-top: 2px; padding-top: 8px; border-top: 1px dashed #dfd6c3; color: #63543a; font-size: 12px; line-height: 1.7; text-align: center; }
        .privacy-link { margin-left: 8px; padding: 2px 8px; font-size: 12px; border: 1px solid #cbbf9f; background: #fffaf0; color: #7a5a1f; border-radius: 999px; cursor: pointer; }
        .privacy-link:hover { background: #fff3d6; }
        .input-group { display: flex; align-items: center; gap: 5px; }
        input, select, button { padding: 9px 10px; font-size: 14px; border: 1px solid #cfd4dc; outline: none; border-radius: calc(var(--radius) - 2px); background: #fff; color: #111827; }
        input:focus, select:focus { border-color: #6b8ab3; box-shadow: 0 0 0 2px rgba(31,58,95,0.12); }
        .btn-calc { background: linear-gradient(180deg, #9f2534, var(--red-deep)); color: white; border: none; cursor: pointer; font-weight: 600; padding: 10px 30px; transition: 0.2s; min-height: 42px; }
        .btn-calc:hover { filter: brightness(1.04); }
        .btn-export { background: linear-gradient(180deg, #a67c22, #7f5d11); color: white; border: none; cursor: pointer; font-weight: 600; padding: 10px 30px; transition: 0.2s; display: none; margin-left: 0; min-height: 42px; }
        .btn-export:hover { background: #996500; }

        .time-alert { background: #fff6ef; border: 1px dashed var(--risk); padding: 10px; text-align: center; margin-bottom: 20px; font-size: 14px; color: #9c3f10; font-weight: bold; display: none; }
        .pre-run-intro { margin-bottom: 16px; border: 1px solid #e7dcc7; border-radius: var(--radius); background: linear-gradient(180deg, #fffdf7 0%, #fff9ec 100%); padding: 14px; box-shadow: 0 8px 20px rgba(67,45,19,0.08); }
        .pre-run-title { font-size: 16px; color: #7f1420; font-weight: bold; margin-bottom: 8px; }
        .pre-run-list { font-size: 13px; color: #5c4a2a; line-height: 1.9; }
        .pre-run-tip { margin-top: 8px; font-size: 12px; color: #6b7280; }
