/* ============================================================
   List page visual enhancement  (officeview / FastAdmin)
   ------------------------------------------------------------
   Pure style-only optimization for backend CRUD list pages.
   - Does NOT change any behavior / DOM / JS.
   - Loaded AFTER backend.min.css so it cleanly overrides.
   - Accent color follows the configured admin skin (系统配置),
     so the list pages stay consistent with the system theme.
   Scope: elements inside `.panel-intro` (the CRUD list wrapper)
   and `.bootstrap-table` generated markup.
   ============================================================ */

/* ---------- Theme tokens ---------- */
:root {
    --fa-accent: #4e73df;                       /* default = skin-blue */
    --fa-accent-soft: rgba(78, 115, 223, .08);
    --fa-accent-softer: rgba(78, 115, 223, .045);
    --fa-border: #eaeef3;
    --fa-border-strong: #e2e8f0;
    --fa-bg-subtle: #f8fafc;
    --fa-row-odd: #fbfcfe;
    --fa-radius: 4px;
    --fa-radius-sm: 4px;
    --fa-radius-pill: 999px;
    --fa-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06);
    --fa-shadow-sm: 0 1px 2px rgba(16, 24, 40, .05), 0 2px 6px rgba(16, 24, 40, .04);
    --fa-text: #475569;
    --fa-text-strong: #1e293b;
    --fa-text-muted: #94a3b8;
    /* spacing scale */
    --fa-s1: 4px;  --fa-s2: 8px;  --fa-s3: 12px; --fa-s4: 16px; --fa-s5: 20px; --fa-s6: 24px;
}

/* Accent follows the active admin skin (body.skin-*) */
.skin-blue, .skin-blue-light, .skin-black-blue, .skin-black-light {
    --fa-accent: #4e73df; --fa-accent-soft: rgba(78, 115, 223, .08); --fa-accent-softer: rgba(78, 115, 223, .045);
}
.skin-green, .skin-green-light, .skin-black-green {
    --fa-accent: #18bc9c; --fa-accent-soft: rgba(24, 188, 156, .08); --fa-accent-softer: rgba(24, 188, 156, .045);
}
.skin-purple, .skin-purple-light, .skin-black-purple {
    --fa-accent: #605ca8; --fa-accent-soft: rgba(96, 92, 168, .08); --fa-accent-softer: rgba(96, 92, 168, .045);
}
.skin-red, .skin-red-light, .skin-black-red {
    --fa-accent: #f75444; --fa-accent-soft: rgba(247, 84, 68, .08); --fa-accent-softer: rgba(247, 84, 68, .045);
}
.skin-yellow, .skin-yellow-light, .skin-black-yellow {
    --fa-accent: #f39c12; --fa-accent-soft: rgba(243, 156, 18, .08); --fa-accent-softer: rgba(243, 156, 18, .045);
}
.skin-black-pink {
    --fa-accent: #e6568b; --fa-accent-soft: rgba(230, 86, 139, .08); --fa-accent-softer: rgba(230, 86, 139, .045);
}

/* ---------- Panel card ---------- */
.panel-intro.panel {
    border: 1px solid var(--fa-border);
    border-radius: var(--fa-radius);
    box-shadow: var(--fa-shadow);
    background: #fff;
    /* visible：避免裁切筛选栏 selectpicker / selectpage 下拉浮层 */
    overflow: visible;
}
.panel-intro > .panel-body {
    padding: var(--fa-s5) var(--fa-s6);
}

/* Heading (build_heading) */
.panel-intro > .panel-heading {
    background: var(--fa-bg-subtle);
    border-bottom: 1px solid var(--fa-border);
    border-left: 3px solid var(--fa-accent);
    padding: var(--fa-s4) var(--fa-s6);
}
.panel-intro .panel-lead {
    font-size: 14px;
    color: var(--fa-text);
    line-height: 1.6;
}
.panel-intro .panel-lead em {
    font-style: normal;
    font-weight: 600;
    color: var(--fa-text-strong);
    font-size: 16px;
    letter-spacing: .3px;
    margin-right: var(--fa-s2);
}

/* ---------- Toolbar ---------- */
/* 头部操作按钮(刷新/添加/编辑/删除)间距统一 4px。
   做法：不给容器加 gap / font-size:0（那套容易因嵌套层级或规则覆盖退化成
   gap + 字符间隙 ≈ 8px），而是直接给 .btn 左右各 2px margin，
   相邻两按钮 = 2 + 2 = 4px，纯 margin 方案不依赖 flex gap，最稳；
   !important 防止 bootstrap 或其它规则用更高优先级覆盖掉这个间距。 */
.panel-intro .toolbar,
.panel-intro .fixed-table-toolbar .bs-bars {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: var(--fa-s4);
}
.panel-intro .toolbar .btn,
.panel-intro .fixed-table-toolbar .bs-bars .btn {
    margin: 0 2px !important;
    border-radius: var(--fa-radius-sm);
    box-shadow: var(--fa-shadow-sm);
    font-weight: 500;
    letter-spacing: .2px;
    transition: transform .14s ease, box-shadow .14s ease, filter .14s ease, background-color .14s ease;
}
.panel-intro .toolbar .btn:hover,
.panel-intro .fixed-table-toolbar .bs-bars .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 24, 40, .14);
    filter: brightness(1.03);
}
.panel-intro .toolbar .btn:active {
    transform: translateY(0);
}
.panel-intro .toolbar .btn:focus-visible {
    outline: 2px solid var(--fa-accent);
    outline-offset: 2px;
}
.panel-intro .fixed-table-toolbar {
    margin-bottom: var(--fa-s4);
}
/* toolbar search box with magnifier icon */
.panel-intro .fixed-table-toolbar .search .form-control,
.panel-intro .fixed-table-toolbar .search input {
    border-radius: var(--fa-radius-sm);
    border-color: var(--fa-border-strong);
    height: 34px;
    padding-left: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 11px center;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.panel-intro .fixed-table-toolbar .search .form-control:focus,
.panel-intro .fixed-table-toolbar .search input:focus {
    border-color: var(--fa-accent);
    box-shadow: 0 0 0 3px var(--fa-accent-soft);
}
/* column visibility / export dropdown button */
.panel-intro .fixed-table-toolbar .columns .btn {
    border-radius: var(--fa-radius-sm);
    border-color: var(--fa-border-strong);
}

/* WeChat merchant transfer balance (withdraw review toolbar) */
.panel-intro .wd-wx-balance {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 0 12px;
    padding: 4px 10px;
    min-height: 34px;
    border: 1px solid var(--fa-border-strong);
    border-radius: var(--fa-radius-sm);
    background: var(--fa-bg-subtle);
    white-space: nowrap;
}
.panel-intro .wd-wx-balance-label {
    font-size: 12px;
}
.panel-intro .wd-wx-balance-amt {
    font-size: 15px;
    color: var(--fa-text-strong);
}
.panel-intro .wd-wx-balance-time {
    font-size: 11px;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.panel-intro .wd-wx-balance .btn {
    margin: 0 !important;
    padding: 4px 8px;
}

/* ---------- Common search form (FastAdmin 默认搜索) ----------
   覆盖 Bootstrap 栅格 + form-horizontal，改为与自定义搜索一致的
   横向紧凑布局，一次优化全部默认 commonSearch 列表页。 */
.panel-intro .commonsearch-table {
    margin-bottom: var(--fa-s4);
}
.panel-intro .commonsearch-table form.form-commonsearch {
    background: #fff;
    border: 1px solid var(--fa-border);
    border-radius: var(--fa-radius);
    box-shadow: var(--fa-shadow-sm);
    padding: var(--fa-s3) var(--fa-s4) var(--fa-s2);
    margin-bottom: 0;
}
.panel-intro .form-commonsearch > fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}
.panel-intro .form-commonsearch > fieldset > legend {
    display: none;
}
.panel-intro .form-commonsearch > fieldset > .row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: var(--fa-s2) var(--fa-s4);
    margin-left: 0;
    margin-right: 0;
}
.panel-intro .form-commonsearch > fieldset > .row:before,
.panel-intro .form-commonsearch > fieldset > .row:after {
    display: none;
}
.panel-intro .form-commonsearch .form-group {
    float: none !important;
    flex: 0 0 auto;
    width: auto !important;
    max-width: 100%;
    margin: 0 0 var(--fa-s2) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.panel-intro .form-commonsearch .form-group:before,
.panel-intro .form-commonsearch .form-group:after {
    display: none;
}
.panel-intro .form-commonsearch .control-label {
    display: block;
    float: none !important;
    width: auto !important;
    max-width: none;
    margin: 0 0 4px;
    padding: 0 !important;
    text-align: left;
    font-weight: 500;
    font-size: 13px;
    color: var(--fa-text);
    white-space: nowrap;
    line-height: 1.4;
}
.panel-intro .form-commonsearch .form-group > [class*="col-"] {
    float: none !important;
    width: 160px !important;
    max-width: 100%;
    margin-left: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.panel-intro .form-commonsearch .form-group > [class*="col-"]:has(.datetimerange),
.panel-intro .form-commonsearch .form-group > [class*="col-"]:has(.row-between) {
    width: 220px !important;
}
/* 提交/重置按钮组：去掉栅格偏移，与字段底对齐 */
.panel-intro .form-commonsearch .form-group > .col-sm-8.col-xs-offset-4,
.panel-intro .form-commonsearch .form-group > .col-xs-offset-4 {
    width: auto !important;
    padding-top: 0;
}
.panel-intro .form-commonsearch .form-control {
    display: block;
    width: 100%;
    height: 34px;
    border-radius: var(--fa-radius-sm);
    border-color: var(--fa-border-strong);
    box-shadow: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.panel-intro .form-commonsearch select.form-control {
    padding-top: 0;
    padding-bottom: 0;
}
.panel-intro .form-commonsearch .form-control:focus {
    border-color: var(--fa-accent);
    box-shadow: 0 0 0 3px var(--fa-accent-soft);
}
.panel-intro .form-commonsearch .bootstrap-select {
    width: 100% !important;
}
.panel-intro .form-commonsearch .bootstrap-select > .dropdown-toggle {
    height: 34px;
    padding: 6px 12px;
    border-radius: var(--fa-radius-sm) !important;
    border-color: var(--fa-border-strong);
    background: #fff !important;
    box-shadow: none;
}
.panel-intro .form-commonsearch .bootstrap-select > .dropdown-toggle:focus,
.panel-intro .form-commonsearch .bootstrap-select.open > .dropdown-toggle {
    border-color: var(--fa-accent);
    box-shadow: 0 0 0 3px var(--fa-accent-soft);
    outline: none !important;
}
.panel-intro .form-commonsearch .row-between {
    display: flex;
    gap: 6px;
    margin-left: 0;
    margin-right: 0;
}
.panel-intro .form-commonsearch .row-between:before,
.panel-intro .form-commonsearch .row-between:after {
    display: none;
}
.panel-intro .form-commonsearch .row-between > [class*="col-"] {
    float: none !important;
    flex: 1 1 0;
    width: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.panel-intro .form-commonsearch .btn {
    margin-right: 6px;
    border-radius: var(--fa-radius-sm);
}
.panel-intro .form-commonsearch .btn:last-child {
    margin-right: 0;
}
@media (max-width: 767px) {
    .panel-intro .form-commonsearch .form-group {
        flex: 1 1 calc(50% - var(--fa-s4));
        min-width: 0;
    }
    .panel-intro .form-commonsearch .form-group > [class*="col-"] {
        width: 100% !important;
    }
    .panel-intro .form-commonsearch .form-group:has(button[type="submit"]),
    .panel-intro .form-commonsearch .form-group:has(button[type="reset"]) {
        flex: 1 1 100%;
    }
    .panel-intro .form-commonsearch .form-group > .col-sm-8.col-xs-offset-4,
    .panel-intro .form-commonsearch .form-group > .col-xs-offset-4 {
        width: auto !important;
    }
}

/* ---------- Custom search bar (table-custom-search) ----------
   横向紧凑布局：多字段一行排列，避免 Bootstrap .form-control{width:100%}
   把每个 form-group 撑满整行导致纵向堆叠。 */
.panel-intro .table-custom-search {
    margin: 0 0 var(--fa-s4);
    padding: var(--fa-s3) var(--fa-s4) var(--fa-s2);
    background: #fff;
    border: 1px solid var(--fa-border);
    border-radius: var(--fa-radius);
    box-shadow: var(--fa-shadow-sm);
    overflow: visible;
    position: relative;
    z-index: 3;
}
.panel-intro .table-custom-search form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: var(--fa-s2) var(--fa-s4);
}
.panel-intro .table-custom-search .form-group {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    margin-bottom: var(--fa-s2);
}
.panel-intro .table-custom-search .form-group > label {
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
    font-size: 13px;
    color: var(--fa-text);
    white-space: nowrap;
}
.panel-intro .table-custom-search .form-control {
    display: block;
    width: 160px;
    max-width: 100%;
    height: 34px;
    border-radius: var(--fa-radius-sm);
    border-color: var(--fa-border-strong);
    box-shadow: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.panel-intro .table-custom-search .form-control:focus {
    border-color: var(--fa-accent);
    box-shadow: 0 0 0 3px var(--fa-accent-soft);
}
.panel-intro .table-custom-search .datetimerange {
    width: 220px;
}
/* selectpage：关联下拉可输入搜索 */
.panel-intro .table-custom-search .selectpage,
.panel-intro .table-custom-search .sp_container {
    width: 180px !important;
    max-width: 100%;
}
/* 企业筛选：名称较长，输入框略宽；配合右侧图标留白后仍能看清主体 */
.panel-intro .table-custom-search .search-company-group .selectpage,
.panel-intro .table-custom-search .search-company-group .sp_container,
.panel-intro .table-custom-search .sp_container:has(input.sp_hidden[name="company_id"]) {
    width: 280px !important;
}
.panel-intro .table-custom-search .sp_container {
    display: block;
}
.panel-intro .table-custom-search .sp_container .sp_input {
    height: 34px !important;
    border-radius: var(--fa-radius-sm) !important;
    border-color: var(--fa-border-strong) !important;
    box-shadow: none !important;
    /* 右侧留给清除/下拉图标；有清除按钮时再加宽，避免长企业名重叠 */
    padding-right: 28px !important;
    text-overflow: ellipsis;
}
.panel-intro .table-custom-search .sp_container:has(> .sp_clear_btn) .sp_input {
    padding-right: 52px !important;
}
.panel-intro .table-custom-search select.form-control {
    padding-top: 0;
    padding-bottom: 0;
}
.panel-intro .table-custom-search,
.panel-intro .table-custom-search .form-group,
.panel-intro .table-custom-search .bootstrap-select {
    overflow: visible;
}
.panel-intro .table-custom-search .bootstrap-select {
    width: 160px !important;
    max-width: 100%;
    position: relative;
}
/* 菜单必须脱离文档流，否则会撑高整块搜索栏；
   注意：筛选栏实际走 container:body（见 require-form），此规则仅兜底未挂 body 的情况。
   挂到 body 的 .bs-container 定位由 admin-theme.css 统一处理，切勿给 bs-container 写 top:100%。 */
.panel-intro .table-custom-search .bootstrap-select > .dropdown-menu {
    position: absolute !important;
    top: 100%;
    left: 0;
    z-index: 1060;
    margin-top: 4px;
}
.panel-intro .table-custom-search .bootstrap-select > .dropdown-toggle {
    height: 34px;
    padding: 6px 12px;
    border-radius: var(--fa-radius-sm) !important;
    border-color: var(--fa-border-strong);
    background: #fff !important;
    box-shadow: none;
}
.panel-intro .table-custom-search .bootstrap-select > .dropdown-toggle:focus,
.panel-intro .table-custom-search .bootstrap-select.open > .dropdown-toggle {
    border-color: var(--fa-accent);
    box-shadow: 0 0 0 3px var(--fa-accent-soft);
    outline: none !important;
}
.panel-intro .table-custom-search .form-group-btns {
    display: flex;
    align-items: flex-end;
}
.panel-intro .table-custom-search .form-group-btns > label {
    display: none;
}
.panel-intro .table-custom-search .form-group-btns .btn {
    margin-right: 6px;
    border-radius: var(--fa-radius-sm);
}
.panel-intro .table-custom-search .form-group-btns .btn:last-child {
    margin-right: 0;
}
@media (max-width: 767px) {
    .panel-intro .table-custom-search .form-group {
        flex: 1 1 calc(50% - var(--fa-s4));
        min-width: 0;
    }
    .panel-intro .table-custom-search .form-group-btns {
        flex: 1 1 100%;
    }
    .panel-intro .table-custom-search .form-control,
    .panel-intro .table-custom-search .datetimerange,
    .panel-intro .table-custom-search .bootstrap-select,
    .panel-intro .table-custom-search .selectpage,
    .panel-intro .table-custom-search .sp_container {
        width: 100% !important;
    }
}

/* ---------- Table container ---------- */
/* 注意：这里不能再给容器加 overflow:hidden ——
   bootstrap-table 的 fixed-columns 插件会在容器内插入 .fixed-columns-right
   （右侧固定操作列的 absolute 克隆层），overflow:hidden 会把固定层一并裁掉，
   导致操作列按钮显示不全/超出。圆角裁剪改由 header/body 子元素各自承担。 */
.panel-intro .bootstrap-table .fixed-table-container {
    border: 1px solid var(--fa-border) !important;
    border-radius: var(--fa-radius) !important;
    box-shadow: var(--fa-shadow-sm);
}
.panel-intro .bootstrap-table .fixed-table-header {
    border-top-left-radius: var(--fa-radius);
    border-top-right-radius: var(--fa-radius);
    box-shadow: 0 1px 0 var(--fa-border);
}
.panel-intro .bootstrap-table .fixed-table-body {
    border-bottom-left-radius: var(--fa-radius);
    border-bottom-right-radius: var(--fa-radius);
    /* 列 min-width 合计超出视口时出现横条（原先表格被压成 100% 宽，永远不出滚动条） */
    overflow-x: auto;
}
/* ---------- 操作列（operate）固定在右侧 — 用 position: sticky 替代 fixed-columns 插件 ----------
   fixed-columns 插件走"克隆整张表 + scrollLeft(整表宽) + 裁剪"的路线，在刷新/翻页时
   clone(true) 与主表存在渲染时差（图片异步加载、行高不同步、scrollTop 漂移），导致操作列
   整列空白或错位（用户截图：刷新后只剩首行按钮、其余空白）。改用纯 CSS position: sticky：
   - 同一 DOM 元素，行高天然一致，不存在克隆失同步
   - 刷新/翻页只是重渲染 table 内容，sticky 自动跟随，不需要 JS 重初始化
   - 无 duplicate #table、无 scrollLeft 计算漂移、无 clone 事件绑定问题
   - 浏览器原生支持，零额外 JS
   实现要点：
   1) thead/tbody 的最后 th/td（即 operate 列）设 position:sticky + right:0，钉在 .fixed-table-body 右侧
   2) 给 sticky 单元格不透明白底（覆盖滚过来的内容），用 z-index 压在其他单元格之上
   3) 左缘加柔和阴影，明确"操作列是命令列"边界
   4) hover/斑马纹背景分别用更高优先级的选择器覆盖，确保 sticky 单元格背景跟随行状态 */
/* 至少撑满容器（sticky 操作列不悬空）；内容更宽时按列宽撑开，由 .fixed-table-body 出横条 */
.panel-intro .bootstrap-table .fixed-table-header table,
.panel-intro .bootstrap-table .fixed-table-body table {
    min-width: 100%;
    width: max-content !important;
}
/* 标题/内容列：约 20 汉字再折叠，避免多列挤窄后只剩 ~10 字 */
.panel-intro .bootstrap-table .table > thead > tr > th[data-field="content_brief"],
.panel-intro .bootstrap-table .table > tbody > tr > td[data-field="content_brief"],
.panel-intro .bootstrap-table .table > thead > tr > th[data-field="title"],
.panel-intro .bootstrap-table .table > tbody > tr > td[data-field="title"] {
    min-width: 280px;
    max-width: 280px;
}
.panel-intro .bootstrap-table .ov-post-content-cell {
    max-width: 280px;
}
/* 已用 sticky 固定操作列，关闭 fixed-columns 克隆层（避免双倍列宽/错位） */
.panel-intro .bootstrap-table .fixed-columns-right {
    display: none !important;
}
.panel-intro .bootstrap-table .table > thead > tr > th:last-child,
.panel-intro .bootstrap-table .table > tbody > tr > td:last-child {
    position: sticky;
    right: 0;
    background-color: #fff;
    z-index: 2;
    box-shadow: -4px 0 10px -4px rgba(0, 0, 0, .14);
    white-space: nowrap;
    /* 操作列随内容收缩，不把多余宽度摊在按钮左右 */
    width: 1% !important;
    min-width: 0 !important;
    max-width: none !important;
    padding-left: 4px !important;
    padding-right: 6px !important;
}
/* bootstrap-table 会给列头 .th-inner / .fht-cell 写死 width，覆盖掉会撑开操作列 */
.panel-intro .bootstrap-table .table > thead > tr > th:last-child .th-inner,
.panel-intro .bootstrap-table .table > thead > tr > th:last-child .fht-cell {
    width: auto !important;
    max-width: none !important;
}
/* 状态列：长文案（如「审核通过待支付」）不被 sticky 操作列挤窄截断 */
.panel-intro .bootstrap-table .table > thead > tr > th[data-field="status"],
.panel-intro .bootstrap-table .table > tbody > tr > td[data-field="status"] {
    min-width: 150px;
    white-space: nowrap;
}
.panel-intro .bootstrap-table .table > tbody > tr > td[data-field="status"] .label {
    display: inline-block;
    max-width: none;
    white-space: nowrap;
    font-size: 12px;
    padding: 4px 8px;
    vertical-align: middle;
}
/* 表头背景与主题一致（用 subtle 浅灰，与其他表头单元格统一） */
.panel-intro .bootstrap-table .table > thead > tr > th:last-child {
    background-color: var(--fa-bg-subtle);
}
/* 斑马纹：奇数行操作列背景 = 浅灰（与主行一致） */
.panel-intro .bootstrap-table .table-striped > tbody > tr:nth-of-type(odd) > td:last-child {
    background-color: var(--fa-row-odd);
}
/* hover：必须用【不透明】等价色。原 --fa-accent-softer 是 rgba(...,0.045) 半透明，
   sticky 单元格叠在滚动内容上会漏出其他列数据；这里用 rgba(78,115,223,0.045) 叠加白底的
   不透明等价 ≈ #f7f9fe（各皮肤在 4.5% 透明度下差异可忽略，统一用浅蓝白即可） */
.panel-intro .bootstrap-table .table-hover > tbody > tr:hover > td:last-child,
.panel-intro .bootstrap-table .table > tbody > tr:hover > td:last-child {
    background-color: #f7f9fe;
}
/* 选中态：backend.css 是 rgba(216,224,230,0.5) 半透明，叠加白底的不透明等价 ≈ #ecf0f3 */
.panel-intro .bootstrap-table .table > tbody > tr.selected > td:last-child {
    background-color: #ecf0f3;
}
/* 选中 + hover：更暗一档的不透明色 */
.panel-intro .bootstrap-table .table > tbody > tr.selected:hover > td:last-child {
    background-color: #e6ecf2;
}

/* ---------- Table ---------- */
.panel-intro .table {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
    color: var(--fa-text);
    font-size: 13.5px;
}
/* modern look: drop vertical borders, keep only horizontal hairlines */
.panel-intro .table.table-bordered {
    border: none;
}
.panel-intro .table.table-bordered > thead > th,
.panel-intro .table.table-bordered > tbody > td,
.panel-intro .table.table-bordered > tbody > tr > td {
    border-left: none;
    border-right: none;
}
.panel-intro .table > thead > th {
    background: var(--fa-bg-subtle);
    color: #64748b;
    font-weight: 600;
    font-size: 12.5px;
    letter-spacing: .4px;
    border-bottom: 1px solid var(--fa-border-strong);
    border-top: none;
    white-space: nowrap;
    padding: 13px 16px;
    transition: background-color .15s ease, color .15s ease;
}
.panel-intro .table > tbody > td {
    padding: 13px 16px;
    vertical-align: middle;
    border-top: 1px solid var(--fa-border);
    border-bottom: none;
    transition: background-color .15s ease;
}
/* breathing room at the card edges */
.panel-intro .table > thead > th:first-child,
.panel-intro .table > tbody > td:first-child {
    padding-left: 20px;
}
/* 末列（操作列）内边距在 sticky 规则中单独收紧，此处不再额外加大右侧留白 */
.panel-intro .table thead th.sortable {
    cursor: pointer;
}
.panel-intro .table thead th.sortable:hover {
    background: #eef2f7;
    color: var(--fa-accent);
}
.panel-intro .table-striped > tbody > tr:nth-of-type(odd) > td {
    background-color: var(--fa-row-odd);
}
.panel-intro .table-hover > tbody > tr:hover > td,
.panel-intro .table > tbody > tr:hover > td {
    background-color: var(--fa-accent-softer);
}
/* subtle accent indicator on the hovered row's first cell */
.panel-intro .table-hover > tbody > tr:hover > td:first-child,
.panel-intro .table > tbody > tr:hover > td:first-child {
    box-shadow: inset 3px 0 0 var(--fa-accent);
}

/* ---------- Id column de-emphasis (弱化 id 列) ----------
   所有 CRUD 列表的主键 id 列统一弱化：降低对比度、常规字重、数字右对齐，
   让其退居背景，把视觉重心让给业务字段。
   作用范围覆盖固定列克隆层（fixed-columns-*），避免右侧/左侧固定时漏掉。 */
.panel-intro .table th[data-field="id"],
.panel-intro .table td[data-field="id"],
.panel-intro .fixed-columns-left th[data-field="id"],
.panel-intro .fixed-columns-left td[data-field="id"],
.panel-intro .fixed-columns-right th[data-field="id"],
.panel-intro .fixed-columns-right td[data-field="id"] {
    color: var(--fa-text-muted);
    font-weight: 400;
    font-size: 12.5px;
    text-align: right;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
}
/* 表头 ID 同样降权：去掉加粗、用更安静的灰、右对齐 */
.panel-intro .table > thead > tr > th[data-field="id"] {
    color: #aab2bf;
    font-weight: 500;
    text-transform: none;
}
/* 行 hover 时 id 列不显示左侧强调条，保持安静（即便 id 恰好是首列） */
.panel-intro .table-hover > tbody > tr:hover > td[data-field="id"],
.panel-intro .table > tbody > tr:hover > td[data-field="id"] {
    box-shadow: none !important;
}

/* ---------- Status labels（实名认证 / 会员等）对比度优化 ----------
   主题 success 色 #18bc9c 配白字在 12px 标签上对比度约 2.5:1，几乎看不清。
   改为浅底 + 深色字（与会员编辑页 punish-tag 同套路），对比度明显提升。 */
.panel-intro .bootstrap-table .label,
.panel-intro .table .label {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    padding: .28em .7em;
    letter-spacing: .2px;
    border: 1px solid transparent;
    border-radius: 3px;
}
.panel-intro .bootstrap-table .label-success,
.panel-intro .table .label-success {
    color: #0f766e !important;
    background-color: #ccfbf1 !important;
    border-color: #99f6e4;
}
.panel-intro .bootstrap-table .label-info,
.panel-intro .table .label-info {
    color: #1d4ed8 !important;
    background-color: #dbeafe !important;
    border-color: #bfdbfe;
}
.panel-intro .bootstrap-table .label-warning,
.panel-intro .table .label-warning {
    color: #b45309 !important;
    background-color: #ffedd5 !important;
    border-color: #fed7aa;
}
.panel-intro .bootstrap-table .label-danger,
.panel-intro .table .label-danger {
    color: #b91c1c !important;
    background-color: #fee2e2 !important;
    border-color: #fecaca;
}
.panel-intro .bootstrap-table .label-primary,
.panel-intro .table .label-primary {
    color: #3730a3 !important;
    background-color: #e0e7ff !important;
    border-color: #c7d2fe;
}
.panel-intro .bootstrap-table .label-default,
.panel-intro .table .label-default,
.panel-intro .bootstrap-table .label-gray,
.panel-intro .table .label-gray {
    color: #475569 !important;
    background-color: #f1f5f9 !important;
    border-color: #e2e8f0;
}

/* Operate (action) buttons inside the table */
.panel-intro .table .btn-xs {
    border-radius: var(--fa-radius-sm);
    margin: 0 2px 2px 0;
    box-shadow: var(--fa-shadow-sm);
    transition: transform .14s ease, box-shadow .14s ease, filter .14s ease;
    font-weight: 600;
}
/* 操作列小按钮：加深底色，白字更易辨认 */
.panel-intro .table .btn-xs.btn-success {
    background-color: #0f9d82;
    border-color: #0e8f76;
}
.panel-intro .table .btn-xs.btn-info {
    background-color: #1270d0;
    border-color: #1063b8;
}
.panel-intro .table .btn-xs.btn-warning {
    background-color: #d97706;
    border-color: #c26a05;
    color: #fff;
}
.panel-intro .table .btn-xs.btn-danger {
    background-color: #dc2626;
    border-color: #c81e1e;
}
.panel-intro .table .btn-xs:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(16, 24, 40, .14);
    filter: brightness(1.04);
}

/* ---------- Pagination ---------- */
.panel-intro .fixed-table-pagination {
    margin-top: var(--fa-s4);
}
.panel-intro .fixed-table-pagination .pagination-detail,
.panel-intro .fixed-table-pagination .pagination-info {
    color: var(--fa-text-muted);
    font-size: 13px;
}
/* 分页详情（显示第 X 到第 Y 条记录...）不贴左，与表格内容对齐留白 */
.panel-intro .fixed-table-pagination .pagination-detail {
    padding-left: 10px;
}
.panel-intro .fixed-table-pagination .pagination > li > a,
.panel-intro .fixed-table-pagination .pagination > li > span {
    border-radius: var(--fa-radius-sm) !important;
    margin: 0 3px;
    min-width: 34px;
    text-align: center;
    border-color: var(--fa-border-strong);
    color: var(--fa-text);
    transition: background .14s ease, color .14s ease, border-color .14s ease, box-shadow .14s ease;
}
.panel-intro .fixed-table-pagination .pagination > li > a:hover,
.panel-intro .fixed-table-pagination .pagination > li > span:hover {
    background: var(--fa-accent-soft);
    color: var(--fa-accent);
    border-color: var(--fa-accent);
}
.panel-intro .fixed-table-pagination .pagination > .active > a,
.panel-intro .fixed-table-pagination .pagination > .active > a:hover,
.panel-intro .fixed-table-pagination .pagination > .active > a:focus {
    background: var(--fa-accent);
    border-color: var(--fa-accent);
    color: #fff;
    box-shadow: 0 2px 6px var(--fa-accent-soft);
}
.panel-intro .fixed-table-pagination .page-list .btn {
    border-radius: var(--fa-radius-sm);
    border-color: var(--fa-border-strong);
}

/* ---------- 限制处罚图标（用户管理列表） ----------
   用彩色小图标代替长文案；悬停 tooltip 展示「类型 · 截止时间」。
   配色与会员编辑页 punish-tag 一致。 */
.panel-intro .restrict-icons {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    vertical-align: middle;
}
.panel-intro .restrict-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1;
    cursor: default;
    transition: transform .12s ease, box-shadow .12s ease;
}
.panel-intro .restrict-icon:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(16, 24, 40, .12);
}
.panel-intro .restrict-icon > i {
    display: block;
}
.panel-intro .restrict-mute {
    color: #b88230;
    background: #faecd8;
}
.panel-intro .restrict-ban {
    color: #c45656;
    background: #fde2e2;
}
.panel-intro .restrict-limit_post {
    color: #337ecc;
    background: #d9ecff;
}
.panel-intro .restrict-limit_reply {
    color: #529b2e;
    background: #e1f3d8;
}

/* ---------- Empty / loading states ---------- */
.panel-intro .fixed-table-body .no-records-found td {
    padding: var(--fa-s6) 12px;
    color: var(--fa-text-muted);
    font-size: 14px;
    letter-spacing: .3px;
}

/* ---------- Tag 分类切换 Tab（/tag/tag，参考系统配置 tab 风格） ---------- */
.tag-nav-tabs.nav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-bottom: none;
    margin: 0 0 14px;
    padding: 0;
}
.tag-nav-tabs.nav-tabs > li {
    float: none;
    margin: 0;
}
.tag-nav-tabs.nav-tabs > li > a {
    display: inline-block;
    margin: 0;
    padding: 9px 18px;
    border: 1px solid #e5e9f2;
    border-radius: 8px 8px 0 0;
    background: #f8fafc;
    color: #606266;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    transition: all .2s ease;
}
.tag-nav-tabs.nav-tabs > li > a:hover {
    color: #409eff;
    background: #eef4fb;
    border-color: #dbe8ff;
}
.tag-nav-tabs.nav-tabs > li.active > a,
.tag-nav-tabs.nav-tabs > li.active > a:hover,
.tag-nav-tabs.nav-tabs > li.active > a:focus {
    color: #409eff;
    background: #fff;
    border-color: #dbe8ff;
    border-bottom-color: #fff;
    box-shadow: 0 -2px 10px rgba(64, 158, 255, .08);
}

/* ---------- 列表图片单元格（ovImageView） ---------- */
.ov-img-cells {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ov-img-cell {
    text-align: center;
}
.ov-img-thumb {
    width: 72px;
    height: 72px;
    max-height: none;
    max-width: none;
    border: 1px solid #f0d9c0;
    border-radius: 10px;
    object-fit: cover;
    cursor: zoom-in;
    vertical-align: middle;
    background: #fdf6ec;
}
.ov-img-size {
    display: none;
}
/* 头像列：AdminLTE .img-sm 默认 float:left，会把头像顶到单元格上方 */
.panel-intro .table td[data-field="avatar"],
.panel-intro .bootstrap-table td[data-field="avatar"] {
    text-align: center;
    vertical-align: middle !important;
    line-height: normal;
}
.panel-intro .table td[data-field="avatar"] .ov-table-avatar,
.panel-intro .bootstrap-table td[data-field="avatar"] .ov-table-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    vertical-align: middle;
    line-height: 1;
}
.panel-intro .table td[data-field="avatar"] .ov-table-avatar > a,
.panel-intro .bootstrap-table td[data-field="avatar"] .ov-table-avatar > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    float: none;
    line-height: 0;
}
.panel-intro .table td[data-field="avatar"] .img-sm,
.panel-intro .table td[data-field="avatar"] img.img-circle,
.panel-intro .table td[data-field="avatar"] .ov-avatar-fallback,
.panel-intro .table td[data-field="avatar"] .ov-img-fail-avatar,
.panel-intro .bootstrap-table td[data-field="avatar"] .img-sm,
.panel-intro .bootstrap-table td[data-field="avatar"] img.img-circle,
.panel-intro .bootstrap-table td[data-field="avatar"] .ov-avatar-fallback,
.panel-intro .bootstrap-table td[data-field="avatar"] .ov-img-fail-avatar {
    float: none !important;
    display: block;
    margin: 0;
    vertical-align: middle;
}
.panel-intro .table td[data-field="avatar"] .ov-img-cells,
.panel-intro .bootstrap-table td[data-field="avatar"] .ov-img-cells {
    justify-content: center;
    align-items: center;
}
.panel-intro .table td[data-field="avatar"] .ov-img-thumb,
.panel-intro .bootstrap-table td[data-field="avatar"] .ov-img-thumb {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border-color: #e2e8f0;
    float: none;
}
.panel-intro .table td[data-field="avatar"] .ov-img-cell,
.panel-intro .bootstrap-table td[data-field="avatar"] .ov-img-cell {
    line-height: 0;
}
.ov-img-empty {
    display: inline-block;
    font-size: 12px;
    color: var(--fa-text-muted, #94a3b8);
    line-height: 1.4;
}
.ov-area-text {
    display: inline-block;
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
}
.panel-intro .table td[data-field="area"],
.panel-intro .bootstrap-table td[data-field="area"] {
    max-width: 180px;
    white-space: nowrap;
}
.ov-img-fail,
.ov-img-broken {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 64px;
    padding: 4px 6px;
    box-sizing: border-box;
    border: 1px dashed #f0c4a0;
    border-radius: 6px;
    background: #fff8f0;
    color: #c2410c;
    line-height: 1.2;
    vertical-align: middle;
    cursor: help;
}
.ov-img-fail-icon,
.ov-img-broken > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #ea580c;
    font-size: 14px;
}
.ov-img-fail-text {
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}
.ov-img-fail-sub {
    font-size: 10px;
    color: #9a3412;
    white-space: nowrap;
}
.ov-img-fail-avatar {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    padding: 0;
    border-radius: 50%;
    gap: 0;
    overflow: hidden;
    flex-direction: row;
}
.ov-img-fail-avatar .ov-img-fail-text,
.ov-img-fail-avatar .ov-img-fail-sub {
    display: none !important;
}
.ov-img-fail-avatar .ov-img-fail-icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #ffedd5;
    font-size: 12px;
}
.ov-avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50%;
    background: #e8eef5;
    color: #94a3b8;
    vertical-align: middle;
    box-sizing: border-box;
}
.ov-avatar-fallback > i {
    font-size: 13px;
    line-height: 1;
}

/* 列表用户列：昵称/真名 + ID/手机号 两行 */
.panel-intro .bootstrap-table .ov-user-cell {
    line-height: 1.35;
    white-space: normal;
    min-width: 120px;
}
.panel-intro .bootstrap-table .ov-user-cell-name {
    color: var(--fa-text-strong);
    font-weight: 500;
}
.panel-intro .bootstrap-table .ov-user-cell-sub {
    margin-top: 2px;
    font-size: 12px;
    color: var(--fa-text-muted);
}

/* 列表用户列：头像 + 昵称/ID 横向排列 */
.panel-intro .bootstrap-table .ov-user-cell-with-avatar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 240px;
    min-width: 132px;
    white-space: normal;
    vertical-align: middle;
    padding: 2px 0;
}
.panel-intro .bootstrap-table .ov-user-cell-with-avatar .ov-table-avatar {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
}
.panel-intro .bootstrap-table .ov-user-cell-with-avatar .ov-table-avatar > a,
.panel-intro .bootstrap-table .ov-user-cell-with-avatar .ov-table-avatar > .ov-avatar-fallback {
    width: 36px;
    height: 36px;
}
.panel-intro .bootstrap-table .ov-user-cell-with-avatar .ov-table-avatar img,
.panel-intro .bootstrap-table .ov-user-cell-with-avatar .ov-table-avatar .ov-avatar-fallback {
    width: 36px !important;
    height: 36px !important;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.06);
    object-fit: cover;
}
.panel-intro .bootstrap-table .ov-user-cell-with-avatar .ov-user-cell {
    flex: 1;
    min-width: 0;
    line-height: 1.3;
}
.panel-intro .bootstrap-table .ov-user-cell-with-avatar .ov-user-cell-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--fa-text-strong, #1e293b);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 168px;
}
.panel-intro .bootstrap-table .ov-user-cell-with-avatar .ov-user-cell-id {
    display: inline-block;
    margin-top: 3px;
    padding: 1px 6px;
    font-size: 11px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-weight: 500;
    color: #64748b;
    background: #f1f5f9;
    border-radius: 4px;
    letter-spacing: 0.02em;
    line-height: 1.45;
}
.panel-intro .bootstrap-table td[data-field="user_nickname_show"] {
    vertical-align: middle !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

/* ---------- 锁定帖行高亮（post/post 列表） ----------
   纯视觉区分，不改 DOM / 行为。
   bootstrap-table 通过 rowStyle 给 is_locked=1 / status='locked' 的行打 .row-locked。
   配色用警示橙（与"锁帖"按钮 btn-warning 同色系），与列表蓝调 hover / 斑马纹明显区分。
   选择器带 !important 是为了盖过上面的 zebra(.table-striped) / hover(.table-hover) / 选中(.selected)
   以及右固定操作列克隆层的不透明白底。 */
/* 整行浅橙底（盖过 zebra / hover 默认背景） */
.panel-intro .bootstrap-table .table > tbody > tr.row-locked > td {
    background-color: #fff8ec !important;
}
/* 左缘强调条：一眼识别"这是锁定行" */
.panel-intro .bootstrap-table .table > tbody > tr.row-locked > td:first-child {
    box-shadow: inset 3px 0 0 #f5a623 !important;
}
/* 右固定操作列（含 fixed-columns 克隆层）：同步橙底，且不透白底漏出其他列 */
.panel-intro .bootstrap-table .table > tbody > tr.row-locked > td:last-child,
.panel-intro .fixed-columns-right tr.row-locked > td,
.panel-intro .fixed-columns-right tr.row-locked > td:last-child {
    background-color: #fff8ec !important;
}
/* 左固定列（checkbox 克隆层）同步橙底 */
.panel-intro .fixed-columns-left tr.row-locked > td {
    background-color: #fff8ec !important;
}
/* hover：锁定行保持橙调加深，不被蓝 hover 覆盖 */
.panel-intro .bootstrap-table .table-hover > tbody > tr.row-locked:hover > td,
.panel-intro .bootstrap-table .table > tbody > tr.row-locked:hover > td {
    background-color: #fef0db !important;
}
.panel-intro .bootstrap-table .table-hover > tbody > tr.row-locked:hover > td:first-child,
.panel-intro .bootstrap-table .table > tbody > tr.row-locked:hover > td:first-child {
    box-shadow: inset 3px 0 0 #ef9c12 !important;
}
.panel-intro .bootstrap-table .table-hover > tbody > tr.row-locked:hover > td:last-child,
.panel-intro .fixed-columns-right tr.row-locked:hover > td,
.panel-intro .fixed-columns-right tr.row-locked:hover > td:last-child {
    background-color: #fef0db !important;
}
/* 选中态：锁定行仍保持橙调（不被蓝灰选中态覆盖） */
.panel-intro .bootstrap-table .table > tbody > tr.row-locked.selected > td,
.panel-intro .fixed-columns-left tr.row-locked.selected > td,
.panel-intro .fixed-columns-right tr.row-locked.selected > td {
    background-color: #fdeed6 !important;
}

/* ---------- 财务概览 (finance/overview) ---------- */
.ov-finance {
    --ov-fin-text: #1e293b;
    --ov-fin-muted: #64748b;
    --ov-fin-border: #e6ebf2;
    --ov-fin-bg: #f8fafc;
}
.ov-finance-kpi {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}
.ov-finance-card {
    position: relative;
    display: block;
    background: #fff;
    border: 1px solid var(--ov-fin-border);
    border-radius: 10px;
    padding: 16px 18px 16px 20px;
    box-shadow: 0 1px 2px rgba(31, 42, 55, .04);
    overflow: hidden;
    text-decoration: none !important;
    color: inherit;
    transition: box-shadow .2s ease, transform .2s ease;
    min-height: 92px;
}
a.ov-finance-card:hover {
    box-shadow: 0 8px 22px rgba(31, 42, 55, .1);
    transform: translateY(-2px);
    color: inherit;
}
.ov-finance-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
}
.ov-finance-card.tone-blue::before { background: #339af0; }
.ov-finance-card.tone-amber::before { background: #f59f00; }
.ov-finance-card.tone-teal::before { background: #12b886; }
.ov-finance-card.tone-rose::before { background: #fa5252; }
.ov-finance-card.tone-blue { background: linear-gradient(135deg, #f7fbff 0%, #fff 60%); }
.ov-finance-card.tone-amber { background: linear-gradient(135deg, #fffbf2 0%, #fff 60%); }
.ov-finance-card.tone-teal { background: linear-gradient(135deg, #f3fbf8 0%, #fff 60%); }
.ov-finance-card.tone-rose { background: linear-gradient(135deg, #fff7f7 0%, #fff 60%); }
.ov-finance-card-label {
    font-size: 13px;
    color: var(--ov-fin-muted);
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.3;
}
.ov-finance-card-hint {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    font-size: 11px;
    font-weight: 500;
    border-radius: 10px;
    background: #fff0f0;
    color: #e03131;
}
.ov-finance-card-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--ov-fin-text);
    line-height: 1.25;
    letter-spacing: -0.02em;
    word-break: break-all;
}

.ov-finance-section {
    background: #fff;
    border: 1px solid var(--ov-fin-border);
    border-radius: 10px;
    padding: 14px 16px 6px;
    margin-bottom: 14px;
    box-shadow: 0 1px 2px rgba(31, 42, 55, .04);
}
.ov-finance-section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--ov-fin-text);
    margin: 0 0 12px;
    padding-left: 2px;
}
.ov-finance-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 8px;
}
.ov-finance-metric {
    background: var(--ov-fin-bg);
    border: 1px solid #eef2f7;
    border-radius: 8px;
    padding: 12px 14px;
    min-height: 72px;
}
.ov-finance-metric.accent {
    background: #f4f8ff;
    border-color: #e4ecfa;
}
.ov-finance-metric-label {
    font-size: 12px;
    color: var(--ov-fin-muted);
    margin-bottom: 6px;
}
.ov-finance-metric-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--ov-fin-text);
    line-height: 1.35;
    word-break: break-all;
}

.ov-finance-scene {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px 10px;
    background: #fff;
    border: 1px solid var(--ov-fin-border);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 16px;
    box-shadow: 0 1px 2px rgba(31, 42, 55, .04);
}
.ov-finance-scene-label {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 600;
    color: var(--ov-fin-text);
    line-height: 26px;
    margin-right: 4px;
}
.ov-finance-scene-body {
    flex: 1 1 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
    color: var(--ov-fin-muted);
    font-size: 13px;
    line-height: 26px;
}
.ov-finance-scene-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--ov-fin-bg);
    border: 1px solid #e8edf4;
    color: var(--ov-fin-text);
    font-size: 12px;
    line-height: 1.5;
    font-weight: 500;
}
.ov-finance-scene-chip em {
    font-style: normal;
    color: var(--ov-fin-muted);
    font-weight: 400;
}
.ov-finance-scene-empty {
    color: #94a3b8;
}

.ov-finance-table-wrap {
    background: #fff;
    border: 1px solid var(--ov-fin-border);
    border-radius: 10px;
    padding: 14px 16px 8px;
    box-shadow: 0 1px 2px rgba(31, 42, 55, .04);
}
.ov-finance-table-wrap > .ov-finance-section-title {
    margin-bottom: 10px;
}
.ov-finance-table-wrap .bootstrap-table,
.ov-finance-table-wrap .fixed-table-container {
    border: none !important;
}

@media (max-width: 1199px) {
    .ov-finance-kpi,
    .ov-finance-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .ov-finance-kpi,
    .ov-finance-grid {
        grid-template-columns: 1fr;
    }
    .ov-finance-card-value {
        font-size: 20px;
    }
}

/* ---------- Compact dialog forms (few fields) ---------- */
body.is-dialog form.ov-dialog-compact {
    padding: 20px 24px 16px;
    margin: 0;
    color: rgba(0, 0, 0, 0.88);
}
body.is-dialog form.ov-dialog-compact > .form-group {
    margin-bottom: 16px;
}
body.is-dialog form.ov-dialog-compact > .form-group:last-child {
    margin-bottom: 0;
}
body.is-dialog form.ov-dialog-compact .control-label {
    padding-top: 8px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.65);
    text-align: left;
    padding-right: 0;
}
body.is-dialog form.ov-dialog-compact .form-control {
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    box-shadow: none;
    transition: border-color .2s, box-shadow .2s;
}
body.is-dialog form.ov-dialog-compact .form-control:focus {
    border-color: #4096ff;
    box-shadow: 0 0 0 2px rgba(5, 145, 255, 0.1);
}
body.is-dialog form.ov-dialog-compact .help-block {
    color: rgba(0, 0, 0, 0.45);
    font-size: 12px;
}
body.is-dialog form.ov-dialog-compact textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

body.is-dialog.ov-compact-page .content {
    padding: 0;
}

/* 弹窗内 selectpicker（container:body）浮层需压过表单内容 */
body.is-dialog .bootstrap-select.bs-container {
    z-index: 2000;
}

/* ---------- Task order edit / arbitrate dialog ---------- */
body.is-dialog form.ov-order-edit .ov-order-summary {
    margin: 0 0 16px;
    padding: 14px 16px;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    background: #fafafa;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
body.is-dialog form.ov-order-edit .ov-order-summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}
body.is-dialog form.ov-order-edit .ov-order-summary-id {
    font-weight: 600;
    color: rgba(0, 0, 0, 0.88);
    font-size: 15px;
}
body.is-dialog form.ov-order-edit .ov-order-summary-status {
    border-radius: 6px;
    font-weight: 500;
    font-size: 12px;
    padding: 3px 8px;
}
body.is-dialog form.ov-order-edit .ov-order-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
}
body.is-dialog form.ov-order-edit .ov-order-summary-item {
    font-size: 13px;
    line-height: 1.45;
    color: #334155;
    min-width: 0;
}
body.is-dialog form.ov-order-edit .ov-order-summary-item em {
    display: block;
    font-style: normal;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 2px;
}
body.is-dialog form.ov-order-edit .ov-order-summary-item span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.is-dialog form.ov-order-edit .ov-order-summary-item--wide {
    grid-column: 1 / -1;
}
body.is-dialog form.ov-order-edit .ov-order-summary-grid--wide {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
body.is-dialog form.ov-order-edit .ov-order-section {
    margin: 0 0 14px;
    padding: 14px 16px;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    background: #fff;
}
body.is-dialog form.ov-order-edit .ov-order-section--reject {
    border-color: #fecaca;
    background: #fef2f2;
}
body.is-dialog form.ov-order-edit .ov-order-section--appeal {
    border-color: #fde68a;
    background: #fffbeb;
}
body.is-dialog form.ov-order-edit .ov-order-section--arbitrate {
    border-color: #bfdbfe;
    background: #eff6ff;
}
body.is-dialog form.ov-order-edit .ov-order-section--fund {
    border-color: #bbf7d0;
    background: #f0fdf4;
}
body.is-dialog form.ov-order-edit .ov-order-section--fund .ov-order-section-title {
    color: #15803d;
}
body.is-dialog form.ov-order-edit .ov-fund-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
body.is-dialog form.ov-order-edit .ov-fund-card {
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
}
body.is-dialog form.ov-order-edit .ov-fund-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}
body.is-dialog form.ov-order-edit .ov-fund-card-head strong {
    font-size: 14px;
    color: #1e293b;
}
body.is-dialog form.ov-order-edit .ov-fund-detail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 10px;
    margin-bottom: 10px;
}
body.is-dialog form.ov-order-edit .ov-fund-detail-item em {
    display: block;
    font-style: normal;
    font-size: 11px;
    color: #64748b;
}
body.is-dialog form.ov-order-edit .ov-fund-detail-item span {
    font-size: 13px;
    color: #334155;
    font-weight: 500;
}
body.is-dialog form.ov-order-edit .ov-fund-total {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}
body.is-dialog form.ov-order-edit .ov-fund-fee {
    color: #64748b;
}
body.is-dialog form.ov-order-edit .ov-fund-hl {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 700;
    line-height: 1.4;
}
body.is-dialog form.ov-order-edit .ov-fund-pending {
    color: #b45309 !important;
    background: #fff7ed;
}
body.is-dialog form.ov-order-edit .ov-fund-refunded {
    color: #0369a1 !important;
    background: #e0f2fe;
}
body.is-dialog form.ov-order-edit .ov-fund-settled {
    color: #15803d !important;
    background: #dcfce7;
}
body.is-dialog form.ov-order-edit .ov-fund-deducted {
    color: #b91c1c !important;
    background: #fee2e2;
}
body.is-dialog form.ov-order-edit .ov-fund-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
body.is-dialog form.ov-order-edit .ov-fund-deduct-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: 100%;
}
body.is-dialog form.ov-order-edit .ov-fund-deduct-row .input-group {
    width: 160px;
    flex-shrink: 0;
}
body.is-dialog form.ov-order-edit .ov-fund-no-action {
    font-size: 12px;
}
body.is-dialog form.ov-order-edit .ov-fund-deposit-hint {
    line-height: 1.45;
    color: #64748b;
}
body.is-dialog form.ov-order-edit .ov-fund-footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #d1d5db;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
body.is-dialog form.ov-order-edit .ov-fund-footer .text-muted {
    font-size: 12px;
}
body.is-dialog form.ov-order-edit .ov-order-section-title {
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
    font-size: 14px;
}
body.is-dialog form.ov-order-edit .ov-order-section--reject .ov-order-section-title {
    color: #b91c1c;
}
body.is-dialog form.ov-order-edit .ov-order-section--appeal .ov-order-section-title {
    color: #92400e;
}
body.is-dialog form.ov-order-edit .ov-order-section--arbitrate .ov-order-section-title {
    color: #1d4ed8;
}
body.is-dialog form.ov-order-edit .ov-order-evidence-meta {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 6px;
}
body.is-dialog form.ov-order-edit .ov-order-task-content {
    margin-bottom: 8px;
}
body.is-dialog form.ov-order-edit .ov-order-task-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
    font-size: 12px;
    color: #64748b;
}
body.is-dialog form.ov-order-edit .ov-order-task-meta-region {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 4px;
    background: #e8f1ff;
    color: #1d4ed8;
    font-weight: 600;
}
body.is-dialog form.ov-order-edit .ov-order-task-meta-region i {
    font-size: 12px;
}
body.is-dialog form.ov-order-edit .ov-order-actions {
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
    overflow-x: hidden;
    max-width: 100%;
}
/* 弹窗内 form-horizontal 负边距易撑出横向滚动条 */
body.is-dialog form.ov-order-edit {
    overflow-x: hidden;
    max-width: 100%;
}
body.is-dialog form.ov-order-edit .form-group {
    margin-left: 0;
    margin-right: 0;
}
body.is-dialog form.ov-order-edit .form-group > [class*="col-"] {
    min-width: 0;
    max-width: 100%;
}
body.is-dialog form.ov-order-edit .ov-deposit-deduct {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    max-width: 100%;
}
body.is-dialog form.ov-order-edit .ov-deposit-deduct-input {
    width: 180px;
    max-width: 100%;
    flex: 0 1 180px;
}
body.is-dialog form.ov-order-edit .ov-deposit-deduct .btn {
    flex: 0 0 auto;
    white-space: nowrap;
}
body.is-dialog form.ov-order-edit .msg-box {
    position: static !important;
    display: block;
    margin-top: 4px;
    white-space: normal;
}
body.is-dialog form.ov-order-edit .ov-order-media-item--file {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    color: #64748b;
    text-decoration: none;
    font-size: 11px;
    line-height: 1.3;
    text-align: center;
}
body.is-dialog form.ov-order-edit .ov-order-media-item--file i {
    font-size: 22px;
    margin-bottom: 4px;
}
body.is-dialog form.ov-order-edit .ov-order-media-item--file span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-all;
}
body.is-dialog form.ov-order-edit .ov-order-evidence-body {
    color: #475569;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 13px;
}
body.is-dialog form.ov-order-edit .ov-order-evidence--appeal .ov-order-evidence-body {
    color: #78350f;
}
body.is-dialog form.ov-order-edit .ov-order-evidence-empty {
    font-size: 13px;
    color: #94a3b8;
}
body.is-dialog form.ov-order-edit .ov-order-evidence-time {
    margin-top: 8px;
    font-size: 12px;
    color: #a16207;
}
body.is-dialog form.ov-order-edit .ov-order-media-group {
    margin-top: 10px;
}
body.is-dialog form.ov-order-edit .ov-order-media-group:first-of-type {
    margin-top: 4px;
}
body.is-dialog form.ov-order-edit .ov-order-media-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 6px;
}
body.is-dialog form.ov-order-edit .ov-order-media-label i {
    margin-right: 4px;
}
body.is-dialog form.ov-order-edit .ov-order-media {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 0;
}
body.is-dialog form.ov-order-edit .ov-order-media-item {
    display: block;
    width: 88px;
    height: 88px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #f0d9c0;
    background: #fdf6ec;
    cursor: zoom-in;
}
body.is-dialog form.ov-order-edit .ov-order-media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
body.is-dialog form.ov-order-edit .ov-order-media-item--video {
    display: block;
    width: 220px;
    height: 160px;
    color: #64748b;
    font-size: 24px;
    cursor: default;
    padding: 0;
    background: #0f172a;
    border-color: #334155;
}
body.is-dialog form.ov-order-edit .ov-order-media-item--video video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #0f172a;
}
body.is-dialog form.ov-order-edit .ov-order-media-play {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
body.is-dialog form.ov-order-edit .ov-arbitrate-choices {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
body.is-dialog form.ov-order-edit .ov-arbitrate-choice {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    background: #fff;
    transition: border-color .2s, background-color .2s, box-shadow .2s;
}
body.is-dialog form.ov-order-edit .ov-arbitrate-choice strong {
    display: block;
    color: rgba(0, 0, 0, 0.88);
    font-size: 14px;
    margin-bottom: 4px;
}
body.is-dialog form.ov-order-edit .ov-arbitrate-choice span {
    display: block;
    color: rgba(0, 0, 0, 0.45);
    font-size: 12px;
    line-height: 1.5;
}
body.is-dialog form.ov-order-edit .ov-arbitrate-choice:hover {
    border-color: #4096ff;
    background: #f0f7ff;
}
body.is-dialog form.ov-order-edit .ov-arbitrate-choice.active {
    border-color: #1677ff;
    background: #e6f4ff;
    box-shadow: 0 0 0 2px rgba(5, 145, 255, 0.12);
}
body.is-dialog form.ov-order-edit .ov-arbitrate-choice[data-status="completed"].active {
    border-color: #52c41a;
    background: #f6ffed;
    box-shadow: 0 0 0 2px rgba(82, 196, 26, 0.12);
}
body.is-dialog form.ov-order-edit .ov-arbitrate-choice[data-status="rejected"].active {
    border-color: #faad14;
    background: #fffbe6;
    box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.12);
}
body.is-dialog form.ov-order-edit .ov-arbitrate-preview {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.65);
    word-break: break-word;
    overflow-wrap: anywhere;
}
body.is-dialog form.ov-order-edit .ov-order-readonly-result {
    margin: 0;
    line-height: 1.6;
    padding-top: 7px;
}
body.is-dialog form.ov-order-edit .ov-order-arbitrate-tip {
    margin: 0 0 12px;
    padding: 10px 12px;
    font-size: 13px;
}
body.is-dialog form.ov-order-edit .ov-order-arbitrate-tip ul {
    margin: 6px 0 0;
    padding-left: 18px;
    line-height: 1.6;
}
body.is-dialog form.ov-order-edit .ov-order-appeal {
    margin: 0 0 12px;
    padding: 10px 12px;
    border: 1px solid #fde68a;
    border-radius: 6px;
    background: #fffbeb;
}
body.is-dialog form.ov-order-edit .ov-order-appeal-title {
    font-weight: 600;
    color: #92400e;
    margin-bottom: 6px;
}
body.is-dialog form.ov-order-edit .ov-order-appeal-body {
    color: #78350f;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}
body.is-dialog form.ov-order-edit .ov-order-appeal-time {
    margin-top: 6px;
    font-size: 12px;
    color: #a16207;
}
@media (max-width: 991px) {
    body.is-dialog form.ov-order-edit .ov-order-summary-grid--wide {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body.is-dialog form.ov-order-edit .ov-fund-grid {
        grid-template-columns: 1fr;
    }
    body.is-dialog form.ov-order-edit .ov-arbitrate-choices {
        grid-template-columns: 1fr;
    }
}

/* Layer.photos 放大预览：左右旋转（fast.js 注入工具条，样式双保险） */
.layui-layer-photos .layui-layer-content {
    overflow: visible !important;
}
.ov-photos-rotate-bar {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    z-index: 19891015;
    display: flex;
    gap: 12px;
    padding: 6px 10px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.55);
    white-space: nowrap;
    pointer-events: auto;
}
.ov-photos-rotate-bar a {
    color: #fff;
    font-size: 18px;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    display: inline-block;
    text-decoration: none;
}
.ov-photos-rotate-bar a:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}
