/* Sprint157 companion styles for financial result router. Kept small to avoid theme conflicts. */
.s155-financial-result{display:block;}
.s155-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-top:12px;}
.s155-kpi{border:1px solid var(--line,#d8e0ec);background:var(--surface-2,#f1f5f9);border-radius:14px;padding:12px;min-width:0;}
.s155-kpi span{display:block;font-size:12px;font-weight:800;color:var(--muted,#64748b);margin-bottom:6px;}
.s155-kpi strong{display:block;font-size:16px;font-weight:950;color:var(--text,#0b1220);word-break:keep-all;overflow-wrap:anywhere;}
.s155-kpi small{display:block;margin-top:5px;font-size:11px;color:var(--muted,#64748b);line-height:1.35;}
.s155-head,.s155-subhead{display:flex;flex-direction:column;gap:4px;}
.s155-head strong{font-size:16px;font-weight:950;color:var(--text,#0b1220);}
.s155-head span,.s155-subhead span{font-size:12px;font-weight:700;color:var(--muted,#64748b);line-height:1.45;}
.s155-subhead b{font-size:14px;font-weight:950;color:var(--text,#0b1220);}
.s155-empty,.s155-detail-notice,.s155-note{margin-top:12px;border:1px solid var(--line,#d8e0ec);background:var(--surface-2,#f1f5f9);border-radius:14px;padding:12px;font-size:12px;font-weight:750;color:var(--muted,#64748b);line-height:1.55;}
.s155-diagnosis{margin-top:12px;display:grid;gap:8px;}
.s155-diagnosis p{margin:0;border:1px solid var(--line,#d8e0ec);background:var(--surface-2,#f1f5f9);border-radius:14px;padding:10px 12px;font-size:12px;font-weight:750;color:var(--text,#0b1220);line-height:1.5;}
.s155-debug{margin-top:12px;border:1px dashed var(--line,#d8e0ec);border-radius:14px;background:var(--surface,#fff);overflow:hidden;}
.s155-debug summary{cursor:pointer;padding:10px 12px;font-weight:900;color:var(--text,#0b1220);}
.s155-debug div{padding:0 12px 12px;display:grid;gap:6px;}
.s155-debug p{margin:0;display:flex;justify-content:space-between;gap:10px;border-top:1px solid var(--line,#d8e0ec);padding-top:6px;color:var(--muted,#64748b);font-size:11px;}
.s155-error{display:block;color:#dc2626;font-weight:900;}
html[data-theme="dark"] .s155-kpi,body[data-theme="dark"] .s155-kpi,html.dark .s155-kpi,body.dark .s155-kpi,
html[data-theme="dark"] .s155-empty,body[data-theme="dark"] .s155-empty,html.dark .s155-empty,body.dark .s155-empty,
html[data-theme="dark"] .s155-detail-notice,body[data-theme="dark"] .s155-detail-notice,html.dark .s155-detail-notice,body.dark .s155-detail-notice,
html[data-theme="dark"] .s155-note,body[data-theme="dark"] .s155-note,html.dark .s155-note,body.dark .s155-note,
html[data-theme="dark"] .s155-diagnosis p,body[data-theme="dark"] .s155-diagnosis p,html.dark .s155-diagnosis p,body.dark .s155-diagnosis p,
html[data-theme="dark"] .s155-debug,body[data-theme="dark"] .s155-debug,html.dark .s155-debug,body.dark .s155-debug{background:#14243a;border-color:#334155;color:#cbd5e1;}
html[data-theme="dark"] .s155-kpi strong,body[data-theme="dark"] .s155-kpi strong,html.dark .s155-kpi strong,body.dark .s155-kpi strong,
html[data-theme="dark"] .s155-head strong,body[data-theme="dark"] .s155-head strong,html.dark .s155-head strong,body.dark .s155-head strong,
html[data-theme="dark"] .s155-subhead b,body[data-theme="dark"] .s155-subhead b,html.dark .s155-subhead b,body.dark .s155-subhead b,
html[data-theme="dark"] .s155-diagnosis p,body[data-theme="dark"] .s155-diagnosis p,html.dark .s155-diagnosis p,body.dark .s155-diagnosis p,
html[data-theme="dark"] .s155-debug summary,body[data-theme="dark"] .s155-debug summary,html.dark .s155-debug summary,body.dark .s155-debug summary{color:#f8fafc;}
html[data-theme="dark"] .s155-kpi span,body[data-theme="dark"] .s155-kpi span,html.dark .s155-kpi span,body.dark .s155-kpi span,
html[data-theme="dark"] .s155-kpi small,body[data-theme="dark"] .s155-kpi small,html.dark .s155-kpi small,body.dark .s155-kpi small,
html[data-theme="dark"] .s155-head span,body[data-theme="dark"] .s155-head span,html.dark .s155-head span,body.dark .s155-head span,
html[data-theme="dark"] .s155-subhead span,body[data-theme="dark"] .s155-subhead span,html.dark .s155-subhead span,body.dark .s155-subhead span{color:#cbd5e1;}
