/* ==========================================================================
   WB 内容层样式（Apple 设计语言）
   范围：仅作用于 .content 业务区 + 弹层 + AI 面板
   不在范围内（保持原型对齐）：登录页 / 页标题 / 顶端标签 / 左侧栏字体
   栅格：4px 基准，区块间距统一 20px，卡间距 16px，卡内边距 18px 20px
   ========================================================================== */

:root {
    --c-canvas:#FFFFFF;
    --c-surface:#FFFFFF;
    --c-tile:#F7F6F2;
    --c-line:#EAE7DF;
    --c-line-2:#E1DED4;
    --c-text:#1D1D1F;
    --c-text-2:#5F5B54;
    --c-text-3:#918C82;
    --c-blue:#085BFF;
    --c-blue-d:#0A4BD4;
    --r-card:12px;
    --r-ctl:8px;
    --r-pill:999px;
    --gap:16px;
    --block:20px;
}

/* ---------------- 画布与排版 ---------------- */
.content {
    background: var(--c-canvas);
    padding: 20px 24px 44px;
}
.content,
.content * {
    -webkit-font-smoothing: antialiased;
}
.content .page,
.content > .page {
    max-width: 1560px;
}

/* 页头：标题单行，副信息收回为次要灰字 */
.page-h {
    align-items: flex-start;
    margin: 0 0 var(--block);
    gap: 12px;
    min-height: 34px;
}
.page-h h2 {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -.2px;
    color: var(--c-text);
}
.page-h .sub {
    font-size: 13px;
    color: var(--c-text-3);
    margin-top: 3px;
    line-height: 1.4;
}
.page-h .actions {
    margin-left: auto;
    align-items: flex-start;
    padding-top: 2px;
    gap: 8px;
}

/* 区块标题 */
h3.sec {
    margin: var(--block) 0 12px;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text);
    letter-spacing: 0;
}
h3.sec::before { display: none; }
h3.sec .more {
    font-size: 12.5px;
    color: var(--c-blue);
    font-weight: 500;
}
h3.sec .muted { color: var(--c-text-3); font-weight: 400; }

/* ---------------- 卡片 ---------------- */
.card {
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--r-card);
    padding: 18px 20px;
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.content .card:hover {
    border-color: var(--c-line-2);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
    transform: none;
}
.card-h {
    margin-bottom: 14px;
    min-height: 22px;
}
.card-h .t {
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text);
    gap: 7px;
}
.card-h .t::before { display: none; }
.card-h .more {
    font-size: 12.5px;
    color: var(--c-blue);
    font-weight: 500;
}
.card-h .more:hover { text-decoration: none; }

/* ---------------- 统计块 ---------------- */
.grid.g4,
.grid.g3,
.grid.g2,
.grid.g-2-1 { gap: var(--gap); }

.stat-card {
    background: var(--c-tile);
    border: none;
    border-radius: var(--r-card);
    padding: 15px 18px;
    gap: 12px;
    align-items: center;
    box-shadow: none;
}
.stat-card:hover {
    background: #F3F1EA;
    box-shadow: none;
    transform: none;
}
.stat-icon {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
    background: #FFFFFF !important;
    color: var(--c-text-2) !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
.stat-icon svg { width: 17px; height: 17px; }
.stat-label {
    font-size: 12.5px;
    color: var(--c-text-3);
    font-weight: 500;
    letter-spacing: 0;
}
.content .stat-label { color: var(--c-text-3); }
.stat-value {
    font-size: 25px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -.4px;
    color: var(--c-text);
    margin-top: 2px;
}
.stat-value small {
    font-size: 13px;
    font-weight: 500;
    color: var(--c-text-3);
    margin-left: 2px;
}
.stat-trend {
    font-size: 11.5px;
    color: var(--c-text-3);
    margin-top: 3px;
}

/* 深色驾驶舱头部 */
.hero-dark {
    margin: -20px -24px var(--block);
    padding: 20px 24px;
    border-radius: 0;
    background: #16171A;
}
.hero-dark .hd-head {
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.hero-dark .hd-t {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0;
    color: #fff;
}
.hero-dark .hd-s {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .45);
    margin-top: 2px;
}
.hero-dark .stat-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 10px;
    padding: 14px 16px;
}
.hero-dark .stat-card:hover { background: rgba(255, 255, 255, .09); transform: none; }
.hero-dark .stat-icon { background: rgba(255, 255, 255, .10) !important; color: #CFE0FF !important; box-shadow: none; }
.hero-dark .stat-label { color: rgba(255, 255, 255, .55); }
.hero-dark .stat-value { color: #fff; text-shadow: none; font-size: 24px; }
.hero-dark .stat-value small { color: rgba(255, 255, 255, .5); }
.hero-dark .stat-trend { color: rgba(255, 255, 255, .45); }
.hero-dark .btn.soft { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #fff; }
.hero-dark .btn.soft:hover { background: rgba(255, 255, 255, .14); }

/* ---------------- 按钮 ---------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 34px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: var(--r-ctl);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    background: var(--c-blue);
    color: #fff;
    box-shadow: none;
    transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.btn svg { width: 14px; height: 14px; }
.btn:hover { background: var(--c-blue-d); transform: none; box-shadow: none; }
.btn.pri { background: var(--c-blue); color: #fff; }
.btn.pri:hover { background: var(--c-blue-d); }
.btn.ghost { background: #fff; color: var(--c-text); border-color: var(--c-line-2); }
.btn.ghost:hover { background: var(--c-tile); border-color: var(--c-text-3); color: var(--c-text); }
.btn.soft { background: var(--c-tile); color: var(--c-text-2); border-color: transparent; }
.btn.soft:hover { background: var(--c-line); color: var(--c-text); }
.btn.danger { background: #E5484D; color: #fff; }
.btn.danger:hover { background: #CF3B40; }
.btn.sm {
    height: 28px;
    padding: 0 10px;
    font-size: 12px;
    border-radius: 7px;
    box-shadow: none;
}
.btn.sm svg { width: 13px; height: 13px; }
ai-btn, .ai-btn { border-radius: var(--r-ctl); }

/* ---------------- 徽章 / 分段器 ---------------- */
.bdg {
    gap: 4px;
    padding: 2px 8px;
    border-radius: var(--r-pill);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0;
}
.bdg .dot { width: 5px; height: 5px; }
.bdg.blue { background: #EDF3FF; color: #0A53D1; }
.bdg.green { background: #E6F5ED; color: #0C8A55; }
.bdg.orange { background: #FDF0E4; color: #B96A20; }
.bdg.red { background: #FDECEC; color: #C43A3E; }
.bdg.purple { background: #F2EDFF; color: #6D4CE0; }
.bdg.teal { background: #E4F5F7; color: #0B8289; }
.bdg.gray { background: var(--c-tile); color: var(--c-text-3); }
tbody tr:hover .bdg { transform: none; }

.seg {
    display: inline-flex;
    gap: 2px;
    padding: 2px;
    background: var(--c-tile);
    border-radius: 10px;
    flex-wrap: nowrap;
}
.seg > span {
    padding: 5px 14px;
    border: none;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--c-text-3);
    background: transparent;
    transition: color .16s ease, background .16s ease;
    white-space: nowrap;
}
.seg > span:hover { color: var(--c-text-2); background: rgba(0, 0, 0, .03); }
.seg > span.on {
    background: #fff;
    color: var(--c-text);
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .07);
}
.seg > span .cnt {
    margin-left: 5px;
    font-size: 11.5px;
    color: var(--c-text-3);
    font-weight: 500;
}

/* ---------------- 表格 ---------------- */
.tbl-wrap {
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--r-card);
    padding: 0;
    overflow: hidden;
}
.tbl { width: 100%; }
.tbl thead th {
    height: 38px;
    padding: 0 16px;
    font-size: 12px;
    font-weight: 500;
    color: var(--c-text-3);
    letter-spacing: 0;
    background: var(--c-tile);
    border-bottom: 1px solid var(--c-line);
    vertical-align: middle;
    white-space: nowrap;
}
.tbl tbody td {
    height: 48px;
    padding: 0 16px;
    font-size: 13px;
    color: var(--c-text-2);
    border-bottom: 1px solid var(--c-line);
    vertical-align: middle;
    max-width: 260px;
}
.tbl tbody tr:last-child td { border-bottom: none; }
.tbl tbody tr:hover td { background: #FAF9F6; }
.td-main {
    font-size: 13px;
    font-weight: 500;
    color: var(--c-text);
    line-height: 1.35;
}
.td-sub {
    font-size: 11.5px;
    color: var(--c-text-3);
    margin-top: 2px;
    line-height: 1.3;
}
.td-time { color: var(--c-text-3); font-size: 12px; }
.num { font-variant-numeric: tabular-nums; }
.link { color: var(--c-blue); font-weight: 500; }
.link:hover { text-decoration: none; opacity: .8; }

/* ---------------- 键值 / 进度 / 空态 / 时间线 ---------------- */
.kv { gap: 0; display: grid; grid-template-columns: 1fr; }
.kv-row {
    gap: 16px;
    padding: 9px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--c-line);
    align-items: baseline;
}
.kv-row:last-child { border-bottom: none; }
.kv-row > span { width: 108px; flex: none; color: var(--c-text-3); font-size: 12.5px; }
.kv-row > b { font-weight: 500; color: var(--c-text); min-width: 0; }

.progress { height: 5px; background: var(--c-line); border-radius: var(--r-pill); }
.progress > i { border-radius: var(--r-pill); background: var(--c-blue); }

.empty { padding: 44px 20px; color: var(--c-text-3); font-size: 13px; }
.empty .e-ico { color: var(--c-line-2); margin-bottom: 8px; }

.divider { height: 1px; background: var(--c-line); margin: 16px 0; border: none; }

.timeline { gap: 0; }
.tl-item { padding: 10px 10px 10px 22px; border-radius: 10px; }
.tl-item::before { left: 6px; top: 15px; width: 7px; height: 7px; background: var(--c-blue); box-shadow: 0 0 0 3px rgba(8, 91, 255, .10); }
.tl-item.done::before { background: #fff; border: 2px solid #0FA968; width: 6px; height: 6px; }
.tl-item::after { left: 9px; top: 26px; bottom: -4px; background: var(--c-line); }
.tl-t { font-size: 13px; font-weight: 500; color: var(--c-text); }
.tl-s { font-size: 11.5px; color: var(--c-text-3); margin-top: 2px; line-height: 1.4; }

/* ---------------- 表单 ---------------- */
.field { margin-bottom: 14px; }
.field > label {
    font-size: 12.5px;
    color: var(--c-text-2);
    margin-bottom: 6px;
    font-weight: 500;
    letter-spacing: 0;
}
.inp, .sel, .txa {
    width: 100%;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--c-line-2);
    border-radius: var(--r-ctl);
    background: #fff;
    color: var(--c-text);
    font-size: 13.5px;
    transition: border-color .16s ease, box-shadow .16s ease;
}
.txa { height: auto; min-height: 84px; padding: 9px 12px; line-height: 1.6; }
.inp:focus, .sel:focus, .txa:focus {
    border-color: var(--c-blue);
    box-shadow: 0 0 0 3px rgba(8, 91, 255, .12);
    background: #fff;
}
.sel { background-position: right 12px center; padding-right: 30px; }
.hint { font-size: 12px; color: var(--c-text-3); margin-top: 6px; line-height: 1.5; }

.role-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-card {
    padding: 12px 14px;
    border: 1px solid var(--c-line-2);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color .16s ease, background .16s ease;
}
.role-card:hover { border-color: var(--c-text-3); }
.role-card.on { border-color: var(--c-blue); background: rgba(8, 91, 255, .05); }
.role-card b { display: block; font-size: 13px; font-weight: 600; color: var(--c-text); }
.role-card span { display: block; font-size: 11.5px; color: var(--c-text-3); margin-top: 3px; }

/* ---------------- 新闻 ---------------- */
.news-head {
    align-items: center;
    gap: 8px;
    margin: var(--block) 0 10px;
}
.news-head .cnt { font-size: 12px; color: var(--c-text-3); }
.news-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 12px;
}
.news-card {
    padding: 16px 18px;
    gap: 7px;
    border-radius: var(--r-card);
    border: 1px solid var(--c-line);
}
.news-card:hover { transform: none; box-shadow: 0 1px 3px rgba(0, 0, 0, .05); border-color: var(--c-line-2); }
.news-card h3 { font-size: 13.5px; font-weight: 600; line-height: 1.5; color: var(--c-text); }
.news-card .info { font-size: 11.5px; color: var(--c-text-3); }
.news-card .summary { font-size: 12.5px; color: var(--c-text-2); line-height: 1.6; }

/* ---------------- AI 能力中心 ---------------- */
.ai-hero {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    border: 1px solid var(--c-line);
    border-radius: var(--r-card);
    background: linear-gradient(180deg, #FBFAF8 0%, var(--c-tile) 100%);
    margin-bottom: var(--block);
}
.ai-hero .t { font-size: 15px; font-weight: 600; color: var(--c-text); }
.ai-hero .s { font-size: 12.5px; color: var(--c-text-3); margin-top: 4px; }
.ai-hero .r { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.ai-grp {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 22px 0 12px;
}
.ai-grp:first-child { margin-top: 0; }
.ai-grp .doti { width: 7px; height: 7px; border-radius: 50%; background: var(--c-blue); flex: none; }
.ai-grp b { font-size: 14px; font-weight: 600; color: var(--c-text); }
.ai-grp span { font-size: 12px; color: var(--c-text-3); }

.ai-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1080px) { .ai-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.ai-item {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 13px 15px 12px;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.ai-item:hover {
    border-color: var(--c-line-2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
    transform: translateY(-1px);
}
.ai-item .ico {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-tile);
    color: var(--c-text-2);
    margin-bottom: 10px;
    flex: none;
}
.ai-item .ico svg { width: 15px; height: 15px; }
.ai-item .nm {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-text);
    line-height: 1.35;
    margin-bottom: 4px;
}
.ai-item .ds {
    font-size: 11.5px;
    color: var(--c-text-3);
    line-height: 1.5;
    min-height: 34px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ai-item .ft {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding-top: 9px;
    border-top: 1px solid var(--c-line);
    font-size: 11px;
    color: var(--c-text-3);
}
.ai-item .ft .s { margin-left: auto; color: var(--c-blue); }

/* 带外部系统入口的能力卡（创意精灵 / 商业化评估）：右上角标出"打开系统" */
.ai-item.has-ext::after {
    content: '打开系统 ↗';
    position: absolute;
    right: 10px;
    top: 10px;
    padding: 3px 7px;
    border-radius: 999px;
    font-size: 10.5px;
    line-height: 1.2;
    background: var(--c-tile);
    color: var(--c-blue);
    opacity: .8;
    transition: opacity .18s ease;
}
/* V1.27 智能体市场：同一能力群的卡片统一底色，不同群不同色（6 色循环） */
.ai-item.gi-0 { background: #EFF4FF; border-color: #D9E4FB; }
.ai-item.gi-1 { background: #F4F0FF; border-color: #E2DAFA; }
.ai-item.gi-2 { background: #ECF9F5; border-color: #D2EDE4; }
.ai-item.gi-3 { background: #FFF6EA; border-color: #F5E2C8; }
.ai-item.gi-4 { background: #EEF8EE; border-color: #D7EBD7; }
.ai-item.gi-5 { background: #FDF1F5; border-color: #F2DAE2; }
.ai-item.gi-0:hover, .ai-item.gi-1:hover, .ai-item.gi-2:hover,
.ai-item.gi-3:hover, .ai-item.gi-4:hover, .ai-item.gi-5:hover { filter: brightness(.985); }
.ai-item[class*="gi-"] .ico { background: rgba(255, 255, 255, .82); }
.ai-item[class*="gi-"] .ft { border-top-color: rgba(15, 35, 60, .09); }

.ai-item.has-ext:hover { border-color: var(--c-blue); }
.ai-item.has-ext:hover::after { opacity: 1; }

/* ---------------- 筛选条（项目） ---------------- */
.fbar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: var(--gap);
}
.fsel {
    width: auto;
    min-width: 116px;
    height: 32px;
    font-size: 12.5px;
    padding: 0 30px 0 11px;
    background: var(--c-surface);
    border-color: var(--c-line-2);
}
.fclear {
    margin-left: auto;
    font-size: 12.5px;
    color: var(--c-text-3);
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 7px;
}
.fclear:hover { background: var(--c-tile); color: var(--c-text); }

/* 汇总行 */
.sumline {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 2px 12px;
    font-size: 12.5px;
    color: var(--c-text-3);
}
.sumline > span { display: inline-flex; align-items: center; gap: 6px; }
.sumline b { color: var(--c-text); font-weight: 600; }
.sumline .sl i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.sumline .sl.red i { background: #E5484D; }
.sumline .sl.orange i { background: #E8853C; }
.sumline .sl.green i { background: #0FA968; }

/* 转化进程点阵 */
.fline { display: flex; align-items: center; gap: 3px; }
.fline .seg {
    width: 22px;
    height: 6px;
    border-radius: 3px;
    background: var(--c-line);
    transition: background .18s ease;
}
.fline .seg.done { background: var(--c-blue); }
.fline .seg.cur { background: var(--c-blue); opacity: .55; }
.fline .seg.cur.red { background: #E5484D; opacity: 1; }
.fline .seg.cur.yellow { background: #E8853C; opacity: 1; }
.fline .seg.od { background: #E5484D; }
.flabel { font-size: 11.5px; color: var(--c-text-3); margin-top: 5px; }
.flabel em { font-style: normal; color: #C43A3E; }

/* 红绿灯 */
.lg { display: inline-flex; align-items: center; gap: 8px; }
.lg > i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex: none;
}
.lg > i.red { background: #E5484D; box-shadow: 0 0 0 3px rgba(229, 72, 77, .13); }
.lg > i.orange { background: #E8853C; box-shadow: 0 0 0 3px rgba(232, 133, 60, .13); }
.lg > i.green { background: #0FA968; box-shadow: 0 0 0 3px rgba(15, 169, 104, .13); }
.lg > span { display: flex; flex-direction: column; line-height: 1.25; }
.lg > span b { font-size: 12.5px; font-weight: 600; color: var(--c-text); }
.lg > span em { font-style: normal; font-size: 11px; color: var(--c-text-3); }

/* ---------------- 弹层（抽屉 / 弹窗 / Toast） ---------------- */
.drawer {
    width: 560px;
    background: var(--c-surface);
    box-shadow: -20px 0 60px rgba(0, 0, 0, .10);
    border-radius: 0;
}
.layer-h { padding: 18px 22px 14px; }
.layer-h .t { font-size: 15.5px; font-weight: 600; color: var(--c-text); gap: 8px; }
.layer-h .x { width: 28px; height: 28px; border-radius: 8px; color: var(--c-text-3); }
.layer-h .x:hover { background: var(--c-tile); color: var(--c-text); }
.layer-b { padding: 0 22px 20px; }
.layer-f { padding: 13px 22px; background: var(--c-tile); gap: 8px; border-top: 1px solid var(--c-line); }

.modal {
    width: 560px;
    border-radius: 14px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .16);
}
.toast {
    padding: 9px 16px;
    border-radius: 10px;
    background: rgba(22, 23, 26, .94);
    font-size: 12.5px;
    backdrop-filter: blur(10px);
}

/* ---------------- AI 助手面板 ---------------- */
.ai-panel { width: 420px; box-shadow: -16px 0 50px rgba(0, 0, 0, .10); }
.ai-head { padding: 16px 18px; gap: 10px; }
.ai-head .t1 { font-size: 14px; font-weight: 600; color: var(--c-text); }
.ai-head .t2 { font-size: 11.5px; color: var(--c-text-3); margin-top: 2px; }
.ai-head .logo { width: 32px; height: 32px; border-radius: 9px; }
.ai-sugg { padding: 12px 16px; gap: 6px; }
.ai-sugg span {
    padding: 5px 11px;
    border: 1px solid var(--c-line-2);
    border-radius: var(--r-pill);
    font-size: 12px;
    color: var(--c-text-2);
}
.ai-sugg span:hover { border-color: var(--c-blue); color: var(--c-blue); background: rgba(8, 91, 255, .05); }
.ai-body { padding: 14px 16px; gap: 10px; background: var(--c-tile); }
.ai-msg { gap: 8px; margin-bottom: 10px; }
.ai-msg .head { width: 26px; height: 26px; font-size: 11px; }
.ai-msg .bubble {
    padding: 10px 13px;
    border-radius: 12px;
    font-size: 12.5px;
    line-height: 1.7;
    border: 1px solid var(--c-line);
}
.ai-in { padding: 12px 14px; gap: 8px; }
.ai-in input { height: 36px; border-radius: var(--r-ctl); border: 1px solid var(--c-line-2); background: #fff; }
.ai-in button { height: 36px; border-radius: var(--r-ctl); padding: 0 16px; background: var(--c-blue); }

/* ---------------- 漏斗阶梯 ---------------- */
.fnl { display: flex; flex-direction: column; gap: 7px; padding-top: 4px; }
.fnl-r {
    height: 40px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    width: var(--p);
    color: #fff;
    transition: width .5s cubic-bezier(.3, .7, .3, 1), filter .18s ease;
}
.fnl-r:hover { filter: brightness(1.06); }
.fnl-n { font-size: 13px; font-weight: 500; opacity: .95; }
.fnl-v { margin-left: auto; font-size: 16px; font-weight: 700; letter-spacing: -.3px; }
.fnl-p { font-style: normal; font-size: 11.5px; font-weight: 600; opacity: .7; min-width: 40px; text-align: right; }
.fnl-r.f1 { background: linear-gradient(90deg, #0A4BD4, #085BFF); }
.fnl-r.f2 { background: linear-gradient(90deg, #085BFF, #2E74FF); }
.fnl-r.f3 { background: linear-gradient(90deg, #2E74FF, #5E94FF); }
.fnl-r.f4 { background: linear-gradient(90deg, #5E94FF, #8FB5FF); }
.fnl-r.f5 { background: linear-gradient(90deg, #8FB5FF, #BBD1FF); color: #1F3A73; }
.fnl-r.f5 .fnl-p { opacity: .8; }

/* ---------------- 工具类纠偏 ---------------- */
.muted { color: var(--c-text-3); }
.fs12 { font-size: 12px; }
.fs13 { font-size: 13px; }
.content .card:hover { cursor: default; }
.content .card[onclick], .content .card[data-open], .content .card[data-proj], .content .card[data-agent] { cursor: pointer; }

/* 快捷入口行（工作台） */
.sn-item {
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 13px;
    color: var(--c-text-2);
}
.sn-item:hover { background: var(--c-tile); color: var(--c-text); }
.sn-item .sn-ico { width: 16px; color: var(--c-text-3); }

/* ---------------- 合同台账（字号统一 + 窄屏横向滚动兜底） ---------------- */
.ct-tbl { overflow-x: auto; }
.ct-tbl .tbl-wrap { min-width: 840px; }
.ct-tbl .tbl tbody td { font-size: 12.5px; }
.ct-tbl .ct-1 { font-size: 12.5px; line-height: 1.45; color: var(--c-text); }
.ct-tbl .ct-2 { font-size: 12.5px; line-height: 1.45; color: var(--c-text-3); margin-top: 1px; }
.ct-tbl .tbl thead th { font-size: 12px; }
