.mp-page { max-width: 1560px; margin: 0 auto; padding: 28px 30px 52px; color: #263238; }
.mp-page * { box-sizing: border-box; }
.mp-header { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 25px; }
.mp-eyebrow { color: #768388; font-size: 12px; margin: 0 0 8px; }
.mp-header h1 { font-size: 29px; letter-spacing: -.03em; margin: 0 0 8px; }
.mp-header p:last-child { color: #69777d; margin: 0; font-size: 14px; }
.mp-controls, .mp-toolbar, .mp-toolbar > div, .mp-section-head, .mp-pagination, .mp-form-actions { display: flex; align-items: center; gap: 10px; }
.mp-controls label { font-size: 13px; color: #5e6d73; display: grid; gap: 5px; }
.mp-controls input, .mp-field input, .mp-field textarea { font: inherit; border: 1px solid #d9e2e3; border-radius: 8px; background: #fff; color: #263238; padding: 9px 11px; min-width: 0; }
.mp-controls input:focus, .mp-field input:focus, .mp-field textarea:focus { outline: 2px solid #a9d3ce; border-color: #529c92; }
.mp-button { border: 1px solid #d5e0e0; border-radius: 8px; background: #fff; color: #32565a; padding: 9px 14px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.mp-toolbar a.mp-button { display: inline-flex; align-items: center; text-decoration: none; }
.mp-button:hover:not(:disabled) { border-color: #8fbeb7; background: #f3faf8; }
.mp-button:disabled { opacity: .45; cursor: default; }
.mp-button.primary { background: #196d66; color: #fff; border-color: #196d66; }
.mp-button.primary:hover:not(:disabled) { background: #12564f; }
.mp-button.subtle { border-color: transparent; background: transparent; }
.mp-tabs { border-bottom: 1px solid #dce4e5; display: flex; gap: 24px; margin-bottom: 20px; }
.mp-tabs button { border: 0; background: transparent; color: #6d7a80; font: inherit; font-size: 15px; padding: 12px 3px; cursor: pointer; border-bottom: 2px solid transparent; }
.mp-tabs button[aria-selected="true"] { border-color: #196d66; color: #145f59; font-weight: 700; }
.mp-toolbar { justify-content: space-between; margin-bottom: 18px; color: #607075; font-size: 13px; flex-wrap: wrap; }
.mp-notice { background: #edf7f5; color: #205b53; border: 1px solid #cae6df; padding: 10px 14px; border-radius: 8px; margin-bottom: 16px; font-size: 13px; }
.mp-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.mp-kpis > div { background: #fff; border: 1px solid #e0e7e8; border-radius: 12px; padding: 17px 18px; min-height: 90px; display: flex; flex-direction: column; justify-content: space-between; }
.mp-kpis span { font-size: 12px; color: #718086; }
.mp-kpis strong { color: #1c4142; font-size: 22px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.mp-warning { color: #935b13; background: #fff7e7; border-radius: 8px; padding: 10px 14px; font-size: 13px; }
.mp-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.mp-panel, .mp-editor, .mp-import-preview { background: #fff; border: 1px solid #e0e7e8; border-radius: 12px; padding: 20px; min-width: 0; }
.mp-original-panel, .mp-guide-panel { background: #fff; border: 1px solid #e0e7e8; border-radius: 12px; min-width: 0; margin-top: 16px; }
.mp-original-panel > summary, .mp-guide-panel > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; cursor: pointer; list-style: none; }
.mp-original-panel > summary::-webkit-details-marker, .mp-guide-panel > summary::-webkit-details-marker { display: none; }
.mp-original-panel > summary > span:first-child, .mp-guide-panel > summary > span:first-child { display: grid; gap: 4px; }
.mp-original-panel > summary strong, .mp-guide-panel > summary strong { font-size: 14px; color: #284a4d; }
.mp-original-panel > summary small, .mp-guide-panel > summary small { font-size: 12px; color: #738187; }
.mp-original-expand { color: #176f66; font-size: 12px; font-weight: 700; white-space: nowrap; }
.mp-original-panel[open] .mp-original-expand { font-size: 0; }
.mp-original-panel[open] .mp-original-expand::after { content: "收起文件"; font-size: 12px; }
.mp-original-content { padding: 0 20px 20px; }
.mp-guide-expand { color: #176f66; font-size: 12px; font-weight: 700; white-space: nowrap; }
.mp-guide-panel[open] .mp-guide-expand { font-size: 0; }
.mp-guide-panel[open] .mp-guide-expand::after { content: "收起口径"; font-size: 12px; }
.mp-guide-content { display: grid; gap: 22px; padding: 0 20px 20px; }
.mp-guide-section { display: grid; gap: 10px; }
.mp-guide-section h4 { margin: 0; font-size: 14px; color: #34595c; }
.mp-guide-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mp-guide-title span { color: #6d7b80; font-size: 11px; }
.mp-guide-list { display: grid; gap: 7px; }
.mp-guide-row { display: grid; grid-template-columns: 1.05fr 1.15fr 1.25fr 1.25fr 1.4fr; gap: 12px; padding: 12px 14px; border: 1px solid #e3eaeb; border-radius: 9px; background: #fbfcfc; }
.mp-guide-row > div { min-width: 0; }
.mp-guide-row span { display: block; margin-bottom: 4px; color: #849196; font-size: 10px; }
.mp-guide-row strong, .mp-guide-row p { margin: 0; color: #34494d; font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
.mp-check-status.ok { color: #19745b; }.mp-check-status.pending { color: #97620d; }
.mp-guide-note { margin: 0; color: #596c72; font-size: 12px; line-height: 1.6; }
.mp-guide-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.mp-guide-links a { color: #176f66; font-size: 11px; }
.mp-original-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.mp-original-card { display: grid; gap: 6px; min-width: 0; padding: 15px; border: 1px solid #dce6e7; border-radius: 9px; background: #fafcfc; }
.mp-original-card.is-selected { border-color: #7eb5ab; background: #f0f8f5; }
.mp-original-card strong { font-size: 14px; color: #225a56; }
.mp-original-card span { color: #728188; font-size: 12px; overflow-wrap: anywhere; }
.mp-original-card > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 5px; }
.mp-original-card a.mp-button { display: inline-flex; align-items: center; text-decoration: none; }
.mp-original-tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid #dce5e6; }
.mp-original-tabs button { border: 0; border-bottom: 2px solid transparent; padding: 10px 13px; color: #62747a; background: transparent; font: inherit; font-size: 13px; white-space: nowrap; cursor: pointer; }
.mp-original-tabs button[aria-selected="true"] { color: #155f58; border-color: #196d66; font-weight: 700; }
.mp-original-tabs button:focus-visible, .mp-original-card .mp-button:focus-visible { outline: 2px solid #196d66; outline-offset: 2px; }
.mp-original-scroll { max-height: 580px; overflow: auto; border: 1px solid #e4ebec; border-top: 0; }
.mp-original-table { border-collapse: collapse; width: max-content; min-width: 100%; table-layout: fixed; font-size: 12px; color: #263238; }
.mp-original-table td { border: 1px solid #dfe5e8; padding: 5px 8px; vertical-align: middle; white-space: pre-wrap; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.mp-original-table td.mp-original-dark { color: #fff; font-weight: 600; }
.mp-section-head { justify-content: space-between; margin-bottom: 17px; }
.mp-section-head h2, .mp-section-head h3 { margin: 0; font-size: 17px; }
.mp-section-head span { font-size: 12px; color: #7b898e; }
.mp-record-list { display: grid; gap: 8px; }
.mp-record { display: flex; align-items: center; min-width: 0; border: 1px solid #e0e7e8; border-radius: 10px; background: #fff; transition: border-color .15s ease, background .15s ease; }
.mp-record:hover { border-color: #a7c9c4; background: #f9fcfb; }
.mp-record.selected { border-color: #71afa5; background: #f1f8f6; box-shadow: inset 3px 0 #196d66; }
.mp-record-select { display: grid; flex: 1; gap: 8px; min-width: 0; padding: 13px 15px; border: 0; background: transparent; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.mp-record-select:focus-visible, .mp-original-panel > summary:focus-visible, .mp-guide-panel > summary:focus-visible { outline: 2px solid #196d66; outline-offset: 2px; }
.mp-record-identity { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; min-width: 0; }
.mp-record-identity strong { font-size: 14px; line-height: 1.35; }
.mp-record-identity small { color: #829096; font-size: 11px; }
.mp-record-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mp-record-metrics > span { display: grid; gap: 3px; min-width: 0; }
.mp-record-metrics small { color: #738187; font-size: 10px; }
.mp-record-metrics strong { overflow: hidden; color: #3f5c60; font-size: 13px; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.mp-record-metrics .mp-record-final strong { color: #196d66; }
.mp-record-actions { display: grid; justify-items: end; gap: 9px; flex: 0 0 auto; padding: 12px 14px; }
.mp-link { background: transparent; border: 0; color: #176f66; cursor: pointer; font: inherit; }
.mp-status { font-size: 12px; border-radius: 20px; padding: 4px 8px; }
.mp-status.ok { background: #e5f5ef; color: #19745b; }
.mp-status.pending { background: #fff4e3; color: #97620d; }
.mp-empty { color: #89979c; padding: 36px 12px !important; text-align: center !important; font-size: 13px; white-space: normal; }
.mp-pagination { justify-content: end; padding-top: 14px; font-size: 12px; color: #7c898f; }
.mp-bridge { max-height: none; overflow: visible; }
.mp-bridge-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.mp-bridge-head h3 { margin: 0; font-size: 15px; }
.mp-bridge-head small, .mp-bridge-head > span { color: #879399; font-size: 11px; font-weight: 400; }
.mp-detail-notice { margin: 10px 0 14px; padding: 9px 11px; border-radius: 7px; color: #76530f; background: #fff8e8; font-size: 11px; line-height: 1.5; }
.mp-profit-group { margin-top: 13px; border: 1px solid #e3eaeb; border-radius: 9px; overflow: hidden; }
.mp-profit-group h4 { margin: 0; padding: 8px 11px; color: #52676c; background: #f5f8f8; font-size: 11px; letter-spacing: .02em; }
.mp-profit-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; min-height: 49px; padding: 8px 11px; border-top: 1px solid #edf1f2; }
.mp-profit-copy { display: grid; gap: 3px; min-width: 0; }
.mp-profit-copy strong { color: #32484c; font-size: 12px; line-height: 1.35; }
.mp-profit-copy small { color: #839095; font-size: 10px; line-height: 1.4; }
.mp-profit-value { color: #34494d; font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mp-profit-row.subtotal { background: #fafcfc; }.mp-profit-row.subtotal .mp-profit-copy strong { font-weight: 700; }
.mp-profit-row.result { background: #f1f8f6; }.mp-profit-row.result .mp-profit-copy strong, .mp-profit-row.result .mp-profit-value { color: #195e58; font-weight: 700; }
.mp-profit-row.rate .mp-profit-copy strong, .mp-profit-row.rate .mp-profit-value { color: #496b6d; font-style: italic; }
.mp-note, .mp-hint, .mp-footnote { color: #738187; line-height: 1.6; font-size: 12px; }
.mp-footnote { margin: 22px 0 0; }
.mp-editor, .mp-import-preview { margin-bottom: 18px; }
.mp-editor h4 { margin: 20px 0 11px; color: #426267; font-size: 13px; }
.mp-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mp-field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: #5f7177; }
.mp-field input[readonly] { background: #f5f7f7; }
.mp-wide { margin-top: 16px; }
.mp-field textarea { resize: vertical; }
.mp-form-actions { justify-content: flex-end; }
.mp-import-preview p { font-size: 13px; color: #586d72; line-height: 1.5; }
.mp-preview-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.mp-preview-list span { background: #f2f7f7; border-radius: 6px; padding: 6px 9px; font-size: 12px; }
@media (max-width: 1080px) { .mp-kpis { grid-template-columns: repeat(3, 1fr); } .mp-fields { grid-template-columns: repeat(2, 1fr); } .mp-guide-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 650px) { .mp-page { padding: 18px 14px 42px; } .mp-header { display: block; } .mp-controls { margin-top: 16px; } .mp-original-cards { grid-template-columns: 1fr; } .mp-original-panel > summary, .mp-guide-panel > summary { padding: 14px; } .mp-original-content, .mp-guide-content { padding: 0 14px 14px; } .mp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mp-kpis strong { font-size: 18px; } .mp-fields { grid-template-columns: 1fr; } .mp-toolbar > div { flex-wrap: wrap; } .mp-record { align-items: stretch; } .mp-record-actions { padding: 12px 10px; } .mp-record-metrics { gap: 5px; } .mp-record-metrics strong { font-size: 11px; } .mp-guide-row { grid-template-columns: 1fr; } }
