/* Metric comparison, responsive table and full-width PNG export. */
.cmp-box{margin-top:22px;background:#172333;border:1px solid #34465b;border-radius:12px;padding:18px}
.cmp-head{text-align:left;margin-bottom:14px}.cmp-head h3{font:700 21px "Barlow Condensed",sans-serif;color:#f8fafc;margin:0 0 5px}.cmp-head p{margin:0;color:#a9bbce;font-size:13px}
.cmp-scroll{overflow-x:auto}.cmp{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums}
.cmp th,.cmp td{padding:11px 10px;border-bottom:1px solid #2c3b4e;text-align:right;vertical-align:top;color:#e2e8f0}.cmp thead th{color:#a9bbce;font-weight:600;font-size:12px}
.cmp th:first-child{text-align:left;white-space:nowrap}.cmp th:last-child,.cmp td.why{text-align:left;width:42%}.cmp tbody th{font-weight:700}.cmp td small{display:block;color:#a9bbce;font-size:11px;font-weight:400;margin-top:4px}.cmp td.fix{color:#34d399;font-weight:700}.cmp .cmp-difference{font-weight:700;white-space:nowrap}
.cmp .cmp-source.estimated{color:#f8c765}.cmp .cmp-source.actual{color:#9cdec8}.cmp td.why{font-size:12px;line-height:1.5}
.cmp-sum{margin:14px 0 0;font-size:14px;color:#f8fafc;font-weight:600}.cmp-note,.cmp-saved{margin:12px 0 0;font-size:12px;line-height:1.5;color:#a9bbce}.cmp-saved{font-size:11px}
.cmp-manual{margin:14px 0;font-size:14px;color:var(--steel,#a9bbce)}.cmp-manual summary{cursor:pointer;color:#d6e5f3}.cmp-manual p{font-size:12px;line-height:1.5}
.cmp-inputs{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin-top:12px}.cmp-inputs label{display:flex;flex-direction:column;gap:5px;font-size:12px}.cmp-inputs input{width:110px;padding:8px 10px;border:1px solid var(--line,#34465b);border-radius:8px;background:var(--bg,#0b1724);color:var(--ink,#f8fafc);font:600 16px "Barlow",sans-serif}.cmp-inputs input[aria-invalid=true]{border-color:#f87171}.cmp-inputs input:focus-visible,.cmp-manual summary:focus-visible{outline:2px solid #34d399;outline-offset:3px}
.pf-export-image .cmp-scroll{overflow:visible}.pf-export-image .cmp{min-width:0}
.cmp-original{margin:0 0 30px;padding-bottom:24px;border-bottom:1px solid #34465b}.cmp-original>h3{font:700 21px "Barlow Condensed",sans-serif;color:#dbe8f6;margin:0 0 14px}.cmp-original-image{display:block;width:100%;height:auto;border-radius:10px;background:#111827}.cmp-original-caption{font-size:11px;line-height:1.5;color:#a9bbce;margin:10px 0 0}.cmp-original-empty{padding:24px;border:1px dashed #4b6076;border-radius:10px;color:#a9bbce;text-align:center;font-size:14px;line-height:1.6}
.cmp-upload{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.cmp-upload input[type=file]{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.cmp-upload label{cursor:pointer}.cmp-upload:focus-within label{outline:2px solid #34d399;outline-offset:3px}.cmp-private{font-size:11px;color:#a9bbce}#cmpImportStatus{min-height:18px;color:#f8c765}
@media(max-width:620px){.cmp-box{padding:12px}.cmp{min-width:710px}.cmp th:last-child,.cmp td.why{width:260px}.cmp-inputs input{width:120px}}
