/* 普通商品资料列表（React，frontend/src/goods-list）。尺寸按参考页实测：检索区 8 列网格、控件高 24、表头 32。 */
.gl-host { padding: 16px 16px 0 !important; background: #fff; }
.gl-page { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 12px; line-height: 1.5715; color: var(--jl-text); display: flex; flex-direction: column; min-height: calc(100vh - 120px); }
.gl-page *, .gl-page *::before, .gl-page *::after { box-sizing: border-box; }
.gl-page a { color: var(--jl-primary); text-decoration: none; cursor: pointer; }
.gl-top { position: relative; margin-bottom: 10px; background: #f7f8fa; border-radius: 4px; }
.gl-search { padding: 8px; border-radius: 4px; background: #f7f8fa; min-width: 818px; }
.gl-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.gl-grid > div { min-width: 0; }
.gl-grid .jl-input-affix-wrapper, .gl-grid .jl-input, .gl-grid .jl-select, .gl-grid .jl-input-number { width: 100%; }
.gl-grid .jl-select-multiple .jl-select-selection-overflow { flex-wrap: nowrap; overflow: hidden; }
.gl-mode { display: flex; width: 100%; }
.gl-mode .jl-radio-button-wrapper { flex: 1; text-align: center; }
.gl-mode .jl-radio-button-wrapper-checked { font-weight: 600; }
.gl-range, .gl-combo { display: flex; align-items: center; }
.gl-range .jl-input-number { flex: 1; min-width: 0; }
.gl-combo > .jl-select { flex: none; }
.gl-combo > .jl-select .jl-select-selector { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }
.gl-combo > :not(:first-child) { margin-left: -1px; }
.gl-combo > .jl-input-number, .gl-combo > .jl-input, .gl-combo > .jl-picker { flex: 1; min-width: 0; border-radius: 0; }
.gl-combo > :last-child { border-top-right-radius: 2px; border-bottom-right-radius: 2px; }
.gl-dash { flex: none; padding: 0 4px; color: #86909c; }
.gl-combo .gl-dash { align-self: stretch; display: flex; align-items: center; border-top: 1px solid var(--jl-border); border-bottom: 1px solid var(--jl-border); background: #fff; }
.gl-buttons { display: flex; }
.gl-suggest { display: flex; align-items: center; margin: 0 8px; padding: 8px 0; border-top: 1px solid var(--jl-border); }
.gl-badge-img { display: inline-flex; flex-direction: column; justify-content: center; width: 34px; height: 28px; margin-right: -4px; padding-left: 4px; border-radius: 2px 0 0 2px; background: linear-gradient(135deg, #ffe7d6, #ffd8bf); color: #d4380d; font-size: 10px; font-style: italic; font-weight: 700; line-height: 11px; }
.gl-badge-move { margin-left: 8px; background: linear-gradient(135deg, #dbe8ff, #c4d8ff); color: #1d39c4; }
.gl-chip { display: inline-flex; align-items: center; height: 28px; margin-left: 4px; padding: 4px 8px; border: 1px solid var(--jl-border); border-radius: 2px; background: #fff; cursor: pointer; font: inherit; }
.gl-chip:hover { border-color: var(--jl-primary); }
.gl-chip-text { color: #4e5769; font-size: 14px; font-weight: 500; line-height: 20px; }
.gl-chip-num { margin-left: 4px; color: #f53f3f; font-size: 14px; font-weight: 600; }
.gl-chip-num-0 { color: #4e5769; font-weight: 400; }
.gl-chip-set { margin-left: 6px; padding-left: 6px; border-left: 1px solid #e5e6eb; color: var(--jl-primary); }
.gl-trigger { position: relative; height: 16px; }
.gl-trigger-bg { position: absolute; inset: 0; background-image: linear-gradient(#f7f8fa, var(--jl-primary)); border-radius: 0 0 6px 6px; opacity: .1; }
.gl-trigger-wrap { position: absolute; right: 0; bottom: 0; left: 0; display: flex; align-items: center; transform: translateY(50%); }
.gl-line-l, .gl-line-r { flex: 1; height: 2px; }
.gl-line-l { background: linear-gradient(-90deg, var(--jl-primary), #f7f8fa); }
.gl-line-r { background: linear-gradient(90deg, var(--jl-primary), #f7f8fa); }
.gl-trigger-btn { display: flex; align-items: center; gap: 5px; height: 20px; padding: 5px; border: .5px solid var(--jl-primary); background: var(--jl-primary); color: #f7f8fa; font-size: 12px; cursor: pointer; }
.gl-trigger-btn:first-of-type { border-radius: 4px 0 0 4px; }
.gl-trigger-set { position: relative; border-radius: 0 4px 4px 0; padding-left: 8px; }
.gl-trigger-set::before { content: ""; position: absolute; left: 0; top: 4px; height: 12px; border-left: 1px solid #fff; }
.gl-trigger-btn .anticon { font-size: 10px; }
.gl-quick { margin: -4px 0 6px; color: #4e5969; }
.gl-ops { display: flex; align-items: flex-start; justify-content: space-between; margin-top: 16px; padding-bottom: 16px; }
.gl-ops-left { margin-top: -7px; }
.gl-ops-left .jl-space-item { margin-top: 8px; }
.gl-ops .jl-btn-sm { height: 28px; }
.gl-ghost { color: var(--jl-primary) !important; border-color: var(--jl-primary) !important; }
.gl-new-wrap { position: relative; display: inline-block; }
.gl-new-badge { position: absolute; top: -10px; right: -4px; padding: 0 4px; border-radius: 8px 8px 8px 0; background: linear-gradient(90deg, #ff7d00, #f53f3f); color: #fff; font-size: 10px; line-height: 14px; font-weight: 600; }
.gl-icon-btn { padding: 0 10px !important; }
.gl-dd { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px; color: var(--jl-text) !important; border-radius: 4px; }
.gl-dd:hover { background: #f7f8fa; color: var(--jl-primary-hover) !important; }
.gl-dd .anticon { font-size: 10px; }
.gl-split .jl-btn { height: 24px !important; color: var(--jl-text); }
.gl-link-btn { color: var(--jl-text) !important; padding: 0 10px !important; height: 24px !important; }
.gl-link-btn:hover { background: #f7f8fa; color: var(--jl-primary-hover) !important; }
.gl-ops-right { display: flex; align-items: center; gap: 2px; margin-right: 8px; }
.gl-view { font-weight: 500; white-space: nowrap; }
.gl-split { white-space: nowrap; }
.gl-split .jl-btn + .jl-btn { position: relative; width: 20px; padding: 0 !important; }
.gl-split .jl-btn + .jl-btn::before { content: ""; position: absolute; left: 0; top: 6px; height: 12px; border-left: 1px solid #e5e6eb; }
.gl-split .jl-btn + .jl-btn .anticon { font-size: 10px; }
.gl-table .jl-table-column-sorter-down:not(.active) { display: none; }
.gl-table .jl-table-column-sorter-inner:has(.jl-table-column-sorter-down.active) .jl-table-column-sorter-up { display: none; }
.gl-table .jl-table-column-sorter { color: #c9cdd4; }
.gl-table th.gl-sort-hover .jl-table-column-sorter { display: none; }
.gl-table th.gl-sort-hover:hover .jl-table-column-sorter, .gl-table th.gl-sort-hover .jl-table-column-sorter:has(.active) { display: inline-block; }
.gl-table .jl-table-selection { display: inline-flex; flex-direction: row; align-items: center; }
.gl-table .jl-table-selection-extra .anticon { font-size: 10px; color: #86909c; }
.gl-table .jl-table-selection-extra { position: static; margin-left: 2px; }
.gl-tool { padding: 6px; font-size: 18px; color: rgba(0,0,0,.85); border-radius: 4px; cursor: pointer; }
.gl-tool:hover { background: #f2f3f5; }
.gl-table { flex: 1; min-height: 0; }
.gl-table .jl-table { font-size: 12px; color: var(--jl-text); }
.gl-table .jl-table-thead > tr > th { height: 32px; padding: 0 4px !important; background: #f2f3f5; color: var(--jl-text); font-weight: 600; white-space: nowrap; }
.gl-table .jl-table-tbody > tr > td { height: 48px; padding: 0 5px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-color: #e5e6eb; }
.gl-compact .gl-table .jl-table-tbody > tr > td { height: 32px; }
.gl-table .jl-table.jl-table-bordered > .jl-table-container, .gl-table .jl-table-bordered .jl-table-thead > tr > th, .gl-table .jl-table-bordered .jl-table-tbody > tr > td, .gl-table .jl-table-bordered .jl-table-summary > tr > td { border-color: #e5e6eb; }
.gl-table .jl-table-tbody > tr.jl-table-row:hover > td { background: #f7f8fa; }
.gl-table .jl-table-tbody > tr.jl-table-row-selected > td { background: var(--jl-primary-1); }
.gl-table .jl-table-column-sorters { justify-content: flex-start; }
.gl-table .jl-table-column-title { flex: none; }
.gl-th { display: inline-flex; align-items: center; gap: 2px; }
.gl-th-tip { color: #86909c; font-size: 11px; cursor: help; }
.gl-img { display: block; width: 80px; height: 80px; margin: 4px auto; object-fit: contain; cursor: zoom-in; }
.gl-table .jl-table-tbody > tr > td:has(.gl-img) { height: 88px; }
.gl-noimg { display: inline-block; width: 40px; height: 40px; border: 1px dashed #d5d9e0; color: #c9cdd4; font-size: 10px; line-height: 12px; text-align: center; padding-top: 7px; }
.gl-none { color: #c9cdd4; }
.gl-more-arrow { font-size: 9px; }
.gl-mark { padding: 0; background: #ffe58f; }
.gl-sum > td { font-weight: 600; background: #fafafa !important; }
.gl-empty { padding: 32px 0; color: #86909c; }
.gl-footer { position: sticky; bottom: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; height: 40px; padding: 8px 10px; background: #fff; border-top: 1px solid #f0f0f0; }
.gl-count { position: relative; display: flex; align-items: center; justify-content: space-between; width: 270px; height: 24px; padding: 0 12px 0 6px; overflow: hidden; border-radius: 4px; background: #f2f3f5; }
.gl-count-bar { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, var(--jl-primary-2), var(--jl-primary-1)); border-left: 6px solid var(--jl-primary); }
.gl-count-text, .gl-count a { position: relative; }
.gl-count b { color: var(--jl-primary); font-weight: 600; }
.gl-find { width: 260px; }
.gl-find-arrows { display: inline-flex; gap: 8px; color: #c9cdd4; font-size: 10px; }
.gl-pager { display: flex; align-items: center; gap: 0; }
.gl-pg { width: 24px; min-width: 24px; padding: 0 !important; border-color: #d5dce0; }
.gl-pg:first-child { margin-right: 4px; }
.gl-pg-input { width: 70px; margin-right: 4px; }
.gl-pg-total { margin-right: 4px; }
.gl-pg-text { margin-left: 8px; }
.gl-pg-size { width: 56px; min-width: 56px; margin: 0 4px; }
/* 列设置 */
.gl-colset .jl-drawer-body { padding: 0 24px; }
.gl-colset-body { display: flex; height: 100%; }
.gl-colset-col { flex: 1; min-width: 0; display: flex; flex-direction: column; padding-top: 16px; }
.gl-colset-arrow { display: flex; align-items: center; justify-content: center; width: 40px; margin: 0 10px; border-left: 1px solid #f0f0f0; border-right: 1px solid #f0f0f0; color: #c9cdd4; }
.gl-colset-label { margin: 16px 0 4px; color: #86909c; font-weight: 600; }
.gl-colset-list { flex: 1; overflow: auto; }
.gl-colset-group { display: flex; align-items: center; gap: 8px; height: 28px; }
.gl-colset-gname { flex: 1; padding-left: 6px; border-left: 2px solid var(--jl-primary); font-weight: 600; line-height: 14px; }
.gl-colset-fold { color: #86909c; cursor: pointer; padding: 0 4px; }
.gl-colset-item { position: relative; display: flex; align-items: center; height: 28px; }
.gl-colset-drag { position: absolute; left: -16px; color: #4e5969; cursor: grab; }
.gl-colset-none { margin-left: 6px; color: #c9cdd4; font-size: 11px; }
.gl-colset-foot { display: flex; align-items: center; justify-content: space-between; }
.gl-colset-tip { margin-left: 6px; color: #86909c; }
/* 隔离外层 :where(#app) 基础样式（min-height:30px 等），保持 antd 控件原尺寸 */
.gl-page input:not([type="checkbox"]):not([type="radio"]), .gl-page select, .gl-colset input:not([type="checkbox"]):not([type="radio"]) { min-height: 0; }
.gl-page .jl-input-affix-wrapper > input.jl-input { border: 0; border-radius: 0; background: transparent; }
.gl-page .jl-input-number-input { border: 0; border-radius: 0; }
.gl-page .jl-select-selection-search-input { border: 0; }
