/* ============================================================
   fin-suite.css — 家庭金融工作台风格
   默认：浅色"日间金融终端"；<html data-theme="dark"> 时切换为深色夜间版
   两套主题共用同一套语义变量，颜色随站点白天/黑夜自动切换
   ============================================================ */

:root {
    /* 语义变量：默认白天（浅色）取值 */
    --fs-bg: #f2f5fb;
    --fs-bg-2: #e9eef7;
    --fs-panel: #ffffff;
    --fs-panel-2: #f7f9fd;
    --fs-line: #dde4f0;
    --fs-line-soft: #e8edf6;
    --fs-text: #18233a;
    --fs-text-dim: #5a6b8c;
    --fs-text-faint: #94a3c0;
    --fs-gold: #d68f12;
    --fs-gold-soft: rgba(214, 143, 18, .12);
    --fs-teal: #0fa386;
    --fs-teal-soft: rgba(15, 163, 134, .12);
    --fs-red: #dc4f4f;
    --fs-red-soft: rgba(220, 79, 79, .11);
    --fs-blue: #2f74e0;
    --fs-blue-soft: rgba(47, 116, 224, .11);
    --fs-purple: #7c5cf0;
    --fs-radius: 14px;
    --fs-mono: "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;
    /* 环形图内圈底色（跟随面板） */
    --fs-donut-hole: #ffffff;
    --fs-track: #e9eef7;
    /* 白色微染色：浅色下为淡灰蓝，深色下为近白透明（覆盖在深色面板上） */
    --fs-tint: rgba(24, 35, 58, .035);
    --fs-tint-2: rgba(24, 35, 58, .06);
    /* 开关滑块钮 */
    --fs-knob: #ffffff;
    --fs-knob-ring: #c3cede;
}

/* 黑夜：深色"金融终端/仪表盘"取值 */
:root[data-theme="dark"] {
    --fs-bg: #0d1420;
    --fs-bg-2: #111c2e;
    --fs-panel: #16233a;
    --fs-panel-2: #1b2b47;
    --fs-line: #26395c;
    --fs-line-soft: #1e2f4b;
    --fs-text: #e8eef8;
    --fs-text-dim: #93a5c4;
    --fs-text-faint: #5f739a;
    --fs-gold: #f5b544;
    --fs-gold-soft: rgba(245, 181, 68, .14);
    --fs-teal: #37d3b2;
    --fs-teal-soft: rgba(55, 211, 178, .13);
    --fs-red: #f06d6d;
    --fs-red-soft: rgba(240, 109, 109, .13);
    --fs-blue: #5ea2ff;
    --fs-blue-soft: rgba(94, 162, 255, .13);
    --fs-purple: #a78bfa;
    --fs-donut-hole: #16233a;
    --fs-track: #0d1420;
    --fs-tint: rgba(255, 255, 255, .02);
    --fs-tint-2: rgba(255, 255, 255, .055);
    --fs-knob: #c9d6ec;
    --fs-knob-ring: transparent;
}

/* 仅在金融工具容器内接管，避免污染页头页脚 */
.finsuite {
    --fs-wrap-bg:
        radial-gradient(1200px 500px at 85% -10%, rgba(94, 162, 255, .10), transparent 60%),
        radial-gradient(900px 420px at -10% 0%, rgba(245, 181, 68, .08), transparent 55%),
        var(--fs-bg);
    background: var(--fs-wrap-bg);
    color: var(--fs-text);
    padding: 28px 0 56px;
    margin-top: -1px;
    font-size: 15px;
    line-height: 1.65;
}
.finsuite *,
.finsuite *::before,
.finsuite *::after { box-sizing: border-box; }

.finsuite .fs-container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部终端条 ---------- */
.fs-topbar {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 18px;
    background: linear-gradient(180deg, var(--fs-panel-2), var(--fs-panel));
    border: 1px solid var(--fs-line);
    border-radius: var(--fs-radius);
    margin-bottom: 22px;
}
.fs-topbar .fs-dots { display: flex; gap: 7px; }
.fs-topbar .fs-dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.fs-topbar .fs-dots i:nth-child(1) { background: #f06d6d; }
.fs-topbar .fs-dots i:nth-child(2) { background: #f5b544; }
.fs-topbar .fs-dots i:nth-child(3) { background: #37d3b2; }
.fs-topbar .fs-route {
    font-family: var(--fs-mono); font-size: 13px; color: var(--fs-text-dim);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.fs-topbar .fs-route b { color: var(--fs-teal); font-weight: 600; }
.fs-topbar .fs-live {
    margin-left: auto; display: flex; align-items: center; gap: 7px;
    font-family: var(--fs-mono); font-size: 12px; color: var(--fs-text-dim);
}
.fs-topbar .fs-live i {
    width: 8px; height: 8px; border-radius: 50%; background: var(--fs-teal);
    box-shadow: 0 0 0 0 rgba(55, 211, 178, .55);
    animation: fsPulse 1.8s infinite;
}
@keyframes fsPulse {
    0%   { box-shadow: 0 0 0 0 rgba(55, 211, 178, .5); }
    70%  { box-shadow: 0 0 0 9px rgba(55, 211, 178, 0); }
    100% { box-shadow: 0 0 0 0 rgba(55, 211, 178, 0); }
}

/* ---------- 页头 ---------- */
.fs-hero {
    display: flex; align-items: flex-start; gap: 18px; flex-wrap: wrap;
    padding: 6px 2px 24px;
}
.fs-hero .fs-hero-icon {
    width: 58px; height: 58px; flex: 0 0 58px;
    display: grid; place-items: center; font-size: 28px;
    background: var(--fs-gold-soft);
    border: 1px solid rgba(245, 181, 68, .35);
    border-radius: 14px;
}
.fs-hero h1 {
    margin: 2px 0 6px; font-size: 27px; font-weight: 800; letter-spacing: .5px;
}
.fs-hero p { margin: 0; color: var(--fs-text-dim); max-width: 760px; }
.fs-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.fs-tag {
    font-size: 12px; padding: 3px 11px; border-radius: 999px;
    border: 1px solid var(--fs-line); color: var(--fs-text-dim);
    background: var(--fs-tint);
}
.fs-tag.gold { color: var(--fs-gold); border-color: rgba(245, 181, 68, .4); background: var(--fs-gold-soft); }
.fs-tag.teal { color: var(--fs-teal); border-color: rgba(55, 211, 178, .4); background: var(--fs-teal-soft); }

/* ---------- 网格布局 ---------- */
.fs-grid {
    display: grid; grid-template-columns: 380px 1fr; gap: 20px; align-items: start;
}
.fs-grid.fs-grid-rev { grid-template-columns: 1fr 380px; }
.fs-grid-full { display: block; }
@media (max-width: 920px) {
    .fs-grid, .fs-grid.fs-grid-rev { grid-template-columns: 1fr; }
}

/* ---------- 面板 ---------- */
.fs-panel {
    background: linear-gradient(180deg, var(--fs-panel), var(--fs-bg-2));
    border: 1px solid var(--fs-line);
    border-radius: var(--fs-radius);
    overflow: hidden;
}
.fs-panel + .fs-panel { margin-top: 20px; }
.fs-panel-head {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--fs-line-soft);
    background: var(--fs-tint);
}
.fs-panel-head h2 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: .5px; }
.fs-panel-head .fs-sub { margin-left: auto; font-size: 12px; color: var(--fs-text-faint); font-family: var(--fs-mono); }
.fs-panel-head .fs-bar {
    width: 4px; height: 16px; border-radius: 2px; background: var(--fs-gold);
}
.fs-panel-head .fs-bar.teal { background: var(--fs-teal); }
.fs-panel-head .fs-bar.red { background: var(--fs-red); }
.fs-panel-head .fs-bar.blue { background: var(--fs-blue); }
.fs-panel-body { padding: 18px; }
.fs-panel-body.tight { padding: 12px 18px; }

/* ---------- 表单 ---------- */
.fs-field { margin-bottom: 16px; }
.fs-field:last-child { margin-bottom: 0; }
.fs-field > label {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 13px; color: var(--fs-text-dim); margin-bottom: 7px; font-weight: 600;
}
.fs-field > label .fs-hint { font-weight: 400; color: var(--fs-text-faint); font-size: 12px; }

.fs-input, .fs-select {
    width: 100%;
    background: var(--fs-bg);
    border: 1px solid var(--fs-line);
    color: var(--fs-text);
    border-radius: 10px;
    padding: 11px 13px;
    font-size: 15px;
    font-family: var(--fs-mono);
    transition: border-color .15s, box-shadow .15s;
    outline: none;
    -webkit-appearance: none; appearance: none;
}
.fs-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2393a5c4' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 13px center;
    padding-right: 34px; cursor: pointer;
}
.fs-input:focus, .fs-select:focus {
    border-color: var(--fs-gold);
    box-shadow: 0 0 0 3px rgba(245, 181, 68, .16);
}
.fs-input::placeholder { color: var(--fs-text-faint); }
.fs-input-wrap { position: relative; }
.fs-input-wrap .fs-unit {
    position: absolute; right: 13px; top: 50%; transform: translateY(-50%);
    color: var(--fs-text-faint); font-size: 13px; pointer-events: none;
}
.fs-input-wrap .fs-input { padding-right: 44px; }

.fs-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fs-row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .fs-row2, .fs-row3 { grid-template-columns: 1fr; } }

/* 分段选择 */
.fs-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.fs-seg button {
    border: 1px solid var(--fs-line); background: var(--fs-bg);
    color: var(--fs-text-dim); padding: 8px 14px; border-radius: 9px;
    font-size: 13.5px; cursor: pointer; transition: all .15s;
}
.fs-seg button:hover { border-color: var(--fs-text-faint); color: var(--fs-text); }
.fs-seg button.active {
    background: var(--fs-gold-soft); border-color: rgba(245, 181, 68, .55);
    color: var(--fs-gold); font-weight: 600;
}
.fs-seg.teal button.active { background: var(--fs-teal-soft); border-color: rgba(55,211,178,.55); color: var(--fs-teal); }
.fs-seg.red button.active { background: var(--fs-red-soft); border-color: rgba(240,109,109,.55); color: var(--fs-red); }
.fs-seg.blue button.active { background: var(--fs-blue-soft); border-color: rgba(94,162,255,.55); color: var(--fs-blue); }

/* 开关 */
.fs-switch { display: flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.fs-switch input { display: none; }
.fs-switch .fs-sw {
    width: 42px; height: 23px; border-radius: 999px; background: var(--fs-line);
    position: relative; transition: background .15s; flex: 0 0 42px;
}
.fs-switch .fs-sw::after {
    content: ""; position: absolute; top: 3px; left: 3px;
    width: 17px; height: 17px; border-radius: 50%; background: var(--fs-knob);
    border: 1px solid var(--fs-knob-ring);
    transition: transform .15s;
}
.fs-switch input:checked + .fs-sw { background: var(--fs-teal); }
.fs-switch input:checked + .fs-sw::after { transform: translateX(19px); background: #fff; }
.fs-switch .fs-sw-label { font-size: 13.5px; color: var(--fs-text-dim); }

/* 滑块 */
.fs-range { display: flex; align-items: center; gap: 12px; }
.fs-range input[type=range] { flex: 1; accent-color: var(--fs-gold); }
.fs-range .fs-range-val {
    min-width: 74px; text-align: right; font-family: var(--fs-mono);
    color: var(--fs-gold); font-size: 14px;
}

/* ---------- 按钮 ---------- */
.fs-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: none; cursor: pointer; border-radius: 10px;
    padding: 12px 20px; font-size: 15px; font-weight: 700;
    transition: transform .08s, filter .15s, background .15s;
}
.fs-btn:active { transform: translateY(1px); }
.fs-btn-primary {
    width: 100%;
    background: linear-gradient(135deg, var(--fs-gold), #e89b1e);
    color: #241800;
    box-shadow: 0 6px 20px rgba(245, 181, 68, .25);
}
.fs-btn-primary:hover { filter: brightness(1.06); }
.fs-btn-ghost {
    background: transparent; border: 1px solid var(--fs-line); color: var(--fs-text-dim);
}
.fs-btn-ghost:hover { color: var(--fs-text); border-color: var(--fs-text-faint); }
.fs-btn-teal { background: var(--fs-teal); color: #03251e; }
.fs-btn-sm { padding: 7px 13px; font-size: 13px; border-radius: 8px; }
.fs-btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- 核心结果 ---------- */
.fs-result-hero {
    padding: 24px; text-align: center;
    background:
        radial-gradient(420px 180px at 50% 0%, rgba(245, 181, 68, .14), transparent 70%),
        var(--fs-panel);
    border: 1px solid var(--fs-line);
    border-radius: var(--fs-radius);
    margin-bottom: 20px;
}
.fs-result-hero .fs-rh-label {
    font-size: 13px; color: var(--fs-text-dim); letter-spacing: 2px; margin-bottom: 8px;
}
.fs-result-hero .fs-rh-num {
    font-family: var(--fs-mono); font-size: 44px; font-weight: 800;
    color: var(--fs-gold); line-height: 1.15; word-break: break-all;
}
.fs-result-hero .fs-rh-num small { font-size: 17px; color: var(--fs-text-dim); font-weight: 500; margin-left: 4px; }
.fs-result-hero .fs-rh-num.teal { color: var(--fs-teal); }
.fs-result-hero .fs-rh-num.red { color: var(--fs-red); }
.fs-result-hero .fs-rh-num.blue { color: var(--fs-blue); }
.fs-result-hero .fs-rh-sub { margin-top: 8px; font-size: 13.5px; color: var(--fs-text-dim); }

/* ---------- 指标瓦片 ---------- */
.fs-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.fs-tile {
    background: var(--fs-panel); border: 1px solid var(--fs-line-soft);
    border-radius: 12px; padding: 14px 15px;
    position: relative; overflow: hidden;
}
.fs-tile::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: var(--fs-gold);
}
.fs-tile.teal::before { background: var(--fs-teal); }
.fs-tile.red::before { background: var(--fs-red); }
.fs-tile.blue::before { background: var(--fs-blue); }
.fs-tile.purple::before { background: var(--fs-purple); }
.fs-tile .fs-tile-label { font-size: 12px; color: var(--fs-text-faint); margin-bottom: 5px; }
.fs-tile .fs-tile-num { font-family: var(--fs-mono); font-size: 21px; font-weight: 700; color: var(--fs-text); }
.fs-tile .fs-tile-num small { font-size: 12px; color: var(--fs-text-dim); font-weight: 400; }
.fs-tile .fs-tile-sub { font-size: 11.5px; color: var(--fs-text-faint); margin-top: 3px; }

/* ---------- 进度条 ---------- */
.fs-progress { height: 9px; background: var(--fs-track); border-radius: 999px; overflow: hidden; border: 1px solid var(--fs-line-soft); }
.fs-progress > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--fs-gold), #ffd37a); transition: width .4s ease; }
.fs-progress.teal > span { background: linear-gradient(90deg, #2bb599, var(--fs-teal)); }
.fs-progress.red > span { background: linear-gradient(90deg, #d34f4f, var(--fs-red)); }
.fs-progress.blue > span { background: linear-gradient(90deg, #3f7fd6, var(--fs-blue)); }

.fs-meter-row { margin-bottom: 14px; }
.fs-meter-row:last-child { margin-bottom: 0; }
.fs-meter-row .fs-meter-top {
    display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px;
}
.fs-meter-row .fs-meter-top .v { font-family: var(--fs-mono); color: var(--fs-text); }
.fs-meter-row .fs-meter-top .k { color: var(--fs-text-dim); }

/* ---------- 表格 ---------- */
.fs-table-wrap { overflow-x: auto; border-radius: 10px; border: 1px solid var(--fs-line-soft); }
table.fs-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 480px; }
.fs-table th {
    text-align: left; padding: 11px 14px; color: var(--fs-text-faint); font-weight: 600;
    background: var(--fs-tint); font-size: 12.5px; letter-spacing: .5px;
    border-bottom: 1px solid var(--fs-line);
    white-space: nowrap;
}
.fs-table td { padding: 11px 14px; border-bottom: 1px solid var(--fs-line-soft); color: var(--fs-text); }
.fs-table tbody tr:last-child td { border-bottom: none; }
.fs-table tbody tr:hover { background: var(--fs-tint); }
.fs-table .num { font-family: var(--fs-mono); text-align: right; white-space: nowrap; }
.fs-table tfoot td {
    padding: 11px 14px; font-weight: 700; border-top: 1px solid var(--fs-line);
    background: var(--fs-tint);
}
.fs-table .pos { color: var(--fs-teal); }
.fs-table .neg { color: var(--fs-red); }

/* ---------- 徽标/结论 ---------- */
.fs-badge {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 12px; padding: 2px 10px; border-radius: 999px; font-weight: 600;
}
.fs-badge.gold { background: var(--fs-gold-soft); color: var(--fs-gold); }
.fs-badge.teal { background: var(--fs-teal-soft); color: var(--fs-teal); }
.fs-badge.red { background: var(--fs-red-soft); color: var(--fs-red); }
.fs-badge.blue { background: var(--fs-blue-soft); color: var(--fs-blue); }
.fs-badge.gray { background: var(--fs-tint-2); color: var(--fs-text-dim); }

/* ---------- 建议清单 ---------- */
.fs-advice { list-style: none; margin: 0; padding: 0; }
.fs-advice li {
    display: flex; gap: 12px; padding: 13px 0;
    border-bottom: 1px dashed var(--fs-line-soft);
}
.fs-advice li:last-child { border-bottom: none; padding-bottom: 0; }
.fs-advice li:first-child { padding-top: 0; }
.fs-advice .fs-adv-icon {
    flex: 0 0 30px; width: 30px; height: 30px; border-radius: 8px;
    display: grid; place-items: center; font-size: 15px;
    background: var(--fs-gold-soft);
}
.fs-advice .fs-adv-icon.teal { background: var(--fs-teal-soft); }
.fs-advice .fs-adv-icon.red { background: var(--fs-red-soft); }
.fs-advice .fs-adv-icon.blue { background: var(--fs-blue-soft); }
.fs-advice .fs-adv-body { flex: 1; font-size: 13.8px; color: var(--fs-text); }
.fs-advice .fs-adv-body .t { font-weight: 700; margin-bottom: 2px; }
.fs-advice .fs-adv-body .d { color: var(--fs-text-dim); font-size: 13px; }

/* ---------- 动态明细行（可增删） ---------- */
.fs-line-item {
    display: grid; grid-template-columns: 1fr 120px 34px; gap: 8px; align-items: center;
    margin-bottom: 8px;
}
.fs-line-item.fs-line-3 { grid-template-columns: 104px 1fr 120px 34px; }
.fs-line-item .fs-del {
    width: 32px; height: 38px; border-radius: 8px; border: 1px solid var(--fs-line);
    background: transparent; color: var(--fs-text-faint); cursor: pointer; font-size: 15px;
}
.fs-line-item .fs-del:hover { color: var(--fs-red); border-color: rgba(240,109,109,.5); }
.fs-add-row {
    width: 100%; margin-top: 4px; padding: 9px;
    background: var(--fs-tint); border: 1px dashed var(--fs-line);
    border-radius: 9px; color: var(--fs-text-dim); cursor: pointer; font-size: 13px;
}
.fs-add-row:hover { border-color: var(--fs-gold); color: var(--fs-gold); }

/* ---------- 空状态 ---------- */
.fs-empty {
    padding: 46px 24px; text-align: center; color: var(--fs-text-faint);
    border: 1px dashed var(--fs-line); border-radius: var(--fs-radius);
    background: var(--fs-tint);
}
.fs-empty .fs-empty-icon { font-size: 40px; margin-bottom: 12px; opacity: .8; }
.fs-empty p { margin: 0; font-size: 13.8px; max-width: 460px; margin: 0 auto; }

/* ---------- 说明/FAQ ---------- */
.fs-note {
    margin-top: 22px; padding: 16px 18px;
    background: rgba(94, 162, 255, .05);
    border: 1px solid var(--fs-line-soft);
    border-left: 3px solid var(--fs-blue);
    border-radius: 10px;
    font-size: 13px; color: var(--fs-text-dim);
}
.fs-note b { color: var(--fs-text); }

.fs-faq { margin-top: 20px; }
.fs-faq details {
    border: 1px solid var(--fs-line-soft); border-radius: 10px;
    margin-bottom: 10px; background: var(--fs-panel); overflow: hidden;
}
.fs-faq summary {
    padding: 13px 16px; cursor: pointer; font-size: 14px; font-weight: 600;
    list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.fs-faq summary::-webkit-details-marker { display: none; }
.fs-faq summary::after { content: "+"; color: var(--fs-gold); font-size: 18px; }
.fs-faq details[open] summary::after { content: "−"; }
.fs-faq details > div { padding: 0 16px 14px; color: var(--fs-text-dim); font-size: 13.5px; }

/* ---------- 简单条形分布（CSS 图表） ---------- */
.fs-barchart { display: flex; flex-direction: column; gap: 11px; }
.fs-barchart .fs-bc-row { display: grid; grid-template-columns: 96px 1fr 92px; gap: 10px; align-items: center; font-size: 12.5px; }
.fs-barchart .fs-bc-row .k { color: var(--fs-text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fs-barchart .fs-bc-row .bar { height: 16px; background: var(--fs-track); border-radius: 5px; overflow: hidden; border: 1px solid var(--fs-line-soft); }
.fs-barchart .fs-bc-row .bar i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #3f7fd6, var(--fs-blue)); }
.fs-barchart .fs-bc-row .bar i.gold { background: linear-gradient(90deg, #d98f16, var(--fs-gold)); }
.fs-barchart .fs-bc-row .bar i.teal { background: linear-gradient(90deg, #2bb599, var(--fs-teal)); }
.fs-barchart .fs-bc-row .bar i.red { background: linear-gradient(90deg, #d34f4f, var(--fs-red)); }
.fs-barchart .fs-bc-row .v { font-family: var(--fs-mono); color: var(--fs-text); text-align: right; }

/* 环形图（conic-gradient） */
.fs-donut-wrap { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.fs-donut {
    width: 150px; height: 150px; border-radius: 50%; flex: 0 0 150px;
    display: grid; place-items: center; position: relative;
}
.fs-donut::before {
    content: ""; position: absolute; inset: 17px; border-radius: 50%; background: var(--fs-donut-hole);
}
.fs-donut .fs-donut-center { position: relative; text-align: center; }
.fs-donut .fs-donut-center b { font-family: var(--fs-mono); font-size: 19px; display: block; }
.fs-donut .fs-donut-center span { font-size: 11px; color: var(--fs-text-faint); }
.fs-legend { display: flex; flex-direction: column; gap: 8px; font-size: 13px; flex: 1; min-width: 160px; }
.fs-legend .lg-row { display: flex; align-items: center; gap: 9px; color: var(--fs-text-dim); }
.fs-legend .lg-row i { width: 11px; height: 11px; border-radius: 3px; flex: 0 0 11px; }
.fs-legend .lg-row .v { margin-left: auto; font-family: var(--fs-mono); color: var(--fs-text); }

/* 面包屑覆盖 */
.finsuite .fs-crumb { font-size: 12.5px; color: var(--fs-text-faint); margin-bottom: 16px; font-family: var(--fs-mono); }
.finsuite .fs-crumb a { color: var(--fs-text-dim); text-decoration: none; }
.finsuite .fs-crumb a:hover { color: var(--fs-gold); }

/* 打印优化 */
@media print {
    .finsuite { background: #fff; color: #111; }
    .fs-panel, .fs-tile, .fs-result-hero { border-color: #ccc; background: #fff; }
}
