:root{font-family:"Microsoft YaHei",system-ui,sans-serif;color:#24334b;background:#f3f6fb;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #d3deed;border-radius:7px;background:white;padding:9px 15px;color:#284466}button:hover{background:#edf3fb}button.primary{background:#1666c7;color:white;border-color:#1666c7}button.danger{color:#b12525}button:disabled{opacity:.55;cursor:wait}input,select,textarea{border:1px solid #ccd7e5;border-radius:6px;padding:9px;background:white;max-width:100%}input[type=number]{width:120px}textarea{width:100%;min-height:72px}h1{font-size:24px;margin:0 0 8px}h2{font-size:18px;margin:0 0 16px}h3{font-size:15px}small,.muted{color:#64758c}.login{max-width:950px;margin:8vh auto;display:grid;grid-template-columns:1fr 1fr;background:white;border-radius:16px;overflow:hidden;box-shadow:0 12px 50px #142c4815}.login-intro{background:#163d68;color:white;padding:40px}.login-intro p{line-height:1.8;color:#dae7f5}.login-form{padding:40px}.login-form label{display:block;margin-bottom:16px}.login-form input,.login-form select{width:100%;margin-top:8px}.header{background:#163d68;color:white;padding:18px 28px;display:flex;justify-content:space-between;align-items:center}.header strong{font-size:20px}.header small{color:#c9dcf2}.shell{display:grid;grid-template-columns:205px 1fr;min-height:calc(100vh - 77px)}.sidebar{background:white;padding:20px 12px;border-right:1px solid #e0e8f3}.sidebar button{display:block;width:100%;text-align:left;border:0;padding:13px;margin-bottom:5px}.sidebar button.active{background:#e8f1fd;color:#125ba8;font-weight:bold}.main{padding:25px;max-width:1600px;min-width:0}.banner{border-left:4px solid #d89926;background:#fff7e4;padding:12px 15px;line-height:1.7;margin-bottom:20px;color:#765614}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.card{background:white;border:1px solid #e0e7f0;border-radius:10px;padding:20px;margin-bottom:16px}.metric{font-size:28px;font-weight:700;margin-top:10px}.toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 16px}.toolbar input{min-width:180px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:13px}th{background:#f5f8fc;font-weight:600;color:#596b82}th,td{padding:11px 12px;border-bottom:1px solid #e7edf5}tr:hover td{background:#fafcff}.badge{display:inline-block;border-radius:5px;background:#eef4fd;color:#1764ae;padding:4px 8px}.badge.warn{background:#fff1cf;color:#916115}.badge.ok{background:#e6f7ed;color:#217b4c}.fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:18px}.fields label{display:flex;flex-direction:column;gap:7px}.detail-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.timeline{display:flex;flex-wrap:wrap;gap:12px}.timeline span{border:1px solid #dce5ef;border-radius:7px;padding:12px}.tabs{display:flex;gap:10px;margin-bottom:15px;flex-wrap:wrap}a{color:#1666c7;text-decoration:none}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f6f8fb;padding:14px;border-radius:7px;font-size:12px}.help p,.help li{line-height:1.9}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:13px 22px;background:#193651;color:white;border-radius:8px;display:none;max-width:90vw;z-index:10}.error{color:#b82929}.num{font-variant-numeric:tabular-nums}.empty{text-align:center;padding:40px;color:#72849c}@media(max-width:850px){.shell{grid-template-columns:1fr}.sidebar{display:flex;overflow-x:auto;padding:8px}.sidebar button{white-space:nowrap;width:auto;margin:0}.main{padding:14px}.grid{grid-template-columns:repeat(2,1fr)}.fields{grid-template-columns:1fr}.login{margin:15px;grid-template-columns:1fr}.login-intro,.login-form{padding:24px}.header{padding:15px}.header strong{font-size:16px}}@media print{.sidebar,.header,.banner,.no-print,#toast,button{display:none!important}.shell{display:block}.main{padding:0}.card{border:0;padding:10px}.table-wrap{overflow:visible}table{white-space:normal;font-size:11px}body{background:white}.print-title{display:block!important}.grid{display:none}}

/* The shared amount table wraps CJK text and keeps cost breakdowns visible. */
.financial-view{margin:20px 0;padding:16px;border:1px solid #dce5ef;border-radius:8px;background:#fcfdff}.financial-caption{display:flex;align-items:center;justify-content:space-between;gap:12px}.financial-caption h2{margin-bottom:8px}.financial-table table{white-space:normal;table-layout:fixed}.financial-table th,.financial-table td{vertical-align:top;overflow-wrap:anywhere;line-height:1.6}.financial-table th:nth-child(1){width:22%}.financial-table th:nth-child(2){width:12%}.financial-table th:nth-child(3){width:5%}.financial-table th:nth-child(4){width:8%}.financial-table th:nth-child(5){width:10%}.financial-table th:nth-child(6){width:22%}.financial-table th:nth-child(7){width:11%}.financial-table th:nth-child(8){width:10%}.financial-totals{padding:8px 12px;background:#edf4fc;margin-top:12px}.financial-totals p{margin:6px 0}.financial-version{font-size:12px;overflow-wrap:anywhere;color:#596b82}.financial-estimate{margin-top:20px}.cost-components{font-size:12px;overflow-wrap:anywhere}.cost-components summary{cursor:pointer}.cost-components .table-wrap{margin-top:8px}.cost-components table{table-layout:auto;font-size:11px}.cost-components th,.cost-components td{padding:5px}.cost-components code{white-space:normal;overflow-wrap:anywhere}.document-print{background:white;max-width:1100px;margin:0 auto;padding:24px;border:1px solid #dce5ef}.print-document-head{text-align:center;border-bottom:2px solid #24334b;padding-bottom:10px}.print-document-head h1{font-size:24px}.print-meta{margin:18px 0;line-height:1.6;overflow-wrap:anywhere}.print-meta p{margin:6px 0}.print-approval{line-height:1.7}.print-signatures{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:28px;line-height:2.5}.print-note{font-size:12px;line-height:1.6;margin-top:24px;border-top:1px solid #ccd7e5;padding-top:8px}
@media(max-width:850px){.financial-table table{min-width:950px}.print-signatures{grid-template-columns:1fr}.document-print{padding:14px}.financial-caption{align-items:flex-start;flex-direction:column}}
@page{size:A4 portrait;margin:12mm}
@media print{
 .document-print{width:100%;max-width:none;padding:0;border:0;color:#111;font-size:10pt}.main{max-width:none;width:100%}.print-document-head h1{font-size:18pt}.print-meta{font-size:10pt}.financial-view{border:0;border-radius:0;background:white;padding:0;margin:12px 0}.financial-caption h2{font-size:12pt}.financial-caption .badge{font-size:9pt;border:1px solid #888;background:white;color:#111}.financial-table table{min-width:0;table-layout:fixed;font-size:8pt}.financial-table th,.financial-table td{padding:4px 3px;line-height:1.4;border-bottom:1px solid #aaa;word-break:normal;overflow-wrap:anywhere}.financial-table th{background:#eee;color:#111}.cost-components table{font-size:7pt;table-layout:fixed}.cost-components th,.cost-components td{padding:3px 2px}.financial-totals{background:white;border:1px solid #999;padding:5px 8px}.financial-version{font-size:8pt;color:#333}.document-print table thead{display:table-header-group}.document-print table tfoot{display:table-footer-group}.document-print tr{break-inside:avoid;page-break-inside:avoid}.print-document-head,.print-meta,.financial-caption,.financial-totals,.print-approval,.print-signatures,.print-note{break-inside:avoid;page-break-inside:avoid}.print-signatures{display:grid;grid-template-columns:repeat(3,1fr);font-size:9pt;gap:10px;line-height:2.3}.print-note{font-size:8pt}.document-print .muted{color:#333}.document-print .table-wrap{overflow:visible}.document-print details[open] summary{display:none}.document-print h2{break-after:avoid;page-break-after:avoid}
}

.financial-breakdowns{margin-top:12px}.financial-breakdowns>.cost-components{margin:10px 0;padding:8px;border:1px solid #dce5ef}.financial-breakdowns h3{margin:4px 0 8px}.financial-breakdowns th{width:auto!important}
@media print{.financial-breakdowns>.cost-components{border:0;padding:0;margin:10px 0}.financial-breakdowns h3{break-after:avoid;page-break-after:avoid}.financial-breakdowns th{width:auto!important}}

.workflow-notice{border-left:4px solid #d89926;background:#fff7e4;padding:12px 15px;line-height:1.7}.execution-quantities{margin:18px 0}.execution-quantities table{white-space:normal}.execution-quantities th,.execution-quantities td{overflow-wrap:anywhere;vertical-align:top}.return-limit{display:block;margin-top:5px}
@media print{.execution-quantities{margin:12px 0}.execution-quantities table{font-size:8pt;table-layout:fixed}.execution-quantities th,.execution-quantities td{padding:4px 3px}.execution-quantities h2{font-size:12pt}}

/* Issue paper defaults to a compact selected region; financial detail pages are unchanged. */
.compact-issue-print{max-width:900px;padding:22px;font-size:14px;line-height:1.45}.compact-issue-print .print-document-head{padding-bottom:7px}.compact-issue-print .print-document-head h1{font-size:23px}.compact-issue-print .print-document-head p{margin:4px 0}.compact-meta{margin:12px 0;overflow-wrap:anywhere}.compact-meta p{margin:4px 0}.compact-issue-print table{table-layout:fixed;white-space:normal}.compact-issue-print th,.compact-issue-print td{padding:7px 5px;vertical-align:top;overflow-wrap:anywhere}.compact-issue-print th:nth-child(1){width:23%}.compact-issue-print th:nth-child(2){width:11%}.compact-issue-print th:nth-child(3){width:6%}.compact-issue-print th:nth-child(4){width:23%}.compact-issue-print th:nth-child(5){width:12%}.compact-issue-print th:nth-child(6){width:25%}.compact-issue-print td small{display:block;color:#333;margin-top:3px}.compact-total{margin:9px 0 4px;padding:7px 8px;border:1px solid #555}.compact-basis,.compact-reminder,.compact-version{font-size:12px;line-height:1.4;margin:5px 0;overflow-wrap:anywhere;color:#333}.compact-note{margin:7px 0;overflow-wrap:anywhere}.compact-issue-print .print-signatures{margin-top:14px;line-height:2;gap:12px}.compact-version{font-size:11px}
@media print{.compact-issue-print{padding:0;width:100%;max-width:none;font-size:10pt;line-height:1.35}.compact-issue-print .print-document-head h1{font-size:17pt}.compact-issue-print .print-document-head p{font-size:9pt}.compact-meta{margin:8px 0;font-size:9pt}.compact-issue-print table{font-size:9pt;table-layout:fixed}.compact-issue-print th,.compact-issue-print td{padding:5px 4px;line-height:1.35;border-bottom:1px solid #888}.compact-issue-print td small{font-size:8pt}.compact-bottom{break-inside:avoid;page-break-inside:avoid}.compact-total{margin:7px 0 4px;padding:5px 6px}.compact-basis,.compact-reminder{font-size:8pt}.compact-issue-print .print-signatures{grid-template-columns:repeat(3,1fr);margin-top:12px;font-size:9pt;line-height:2;gap:8px}.compact-version{font-size:7pt}.compact-note{font-size:9pt;margin:6px 0}.compact-issue-print .table-wrap{overflow:visible}}

.compact-issue-print .compact-footer-cell{padding:0;border:0}.compact-issue-print .compact-footer-cell p{white-space:normal}.compact-issue-print .compact-footer-cell:hover{background:white}
@media print{html:has(.compact-issue-print),html:has(.compact-issue-print) body{background:white}.shell:has(.compact-issue-print){min-height:0}.compact-final-group{break-inside:avoid;page-break-inside:avoid}.compact-issue-print .compact-footer-cell{padding:0;border:0}}
