.fc-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:13px;min-width:0;align-content:start;color:var(--fi-ink,#1d2b45)}
.fc-tab-content{min-width:0;max-width:100%}
.fc-dialog .fc-check{display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:1.7}
.fc-dialog .fc-check input{width:16px;min-height:16px;height:16px;flex:0 0 16px;margin:3px 0}
.fc-mapping-editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px;border:1px solid #e1e7f5;border-radius:9px;background:#f8faff}
.fc-mapping-editor label{display:grid;gap:6px;font-size:12px}
.fc-mapping-editor .fc-inline-note,.fc-mapping-editor .fc-check{grid-column:1/-1;margin:0}
.fc-mapping-editor input,.fc-mapping-editor select{min-width:0;width:100%;box-sizing:border-box}
.fc-workspace .fc-danger{color:#b9514e}
.fc-file-copy{overflow:hidden}
.fc-spu{position:relative}
.finance-workspace .fc-image-button,.fc-dialog .fc-image-button{padding:0;border:1px solid var(--fi-border,#e8edf5);border-radius:6px;background:#f3f5fb;overflow:hidden;cursor:zoom-in;flex-shrink:0}
.fc-image-button img{display:block;width:100%;height:100%;object-fit:contain}
.finance-workspace .fc-spu-image{position:absolute;z-index:1;top:13px;left:13px;width:44px;height:44px;min-height:0}
.fc-spu.has-image .fc-spu-copy{padding-left:54px}
.fc-sku-image{width:42px;height:42px;min-height:0}
.fc-image-view{width:min(900px,94vw)}
.fc-image-view .fi-dialog-body{display:flex;flex-direction:column;align-items:center;gap:12px}
.fc-image-view .fi-dialog-body>img{display:block;width:auto;height:auto;max-width:100%;max-height:65vh;object-fit:contain}
.fc-image-caption{margin:0;text-align:center;line-height:1.6;color:var(--fi-muted,#8190a8)}
@media(max-width:600px){.fc-mapping-editor{grid-template-columns:minmax(0,1fr)}}
.fc-preview-note{display:flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid #e3e8f6;border-radius:9px;background:#f5f7fd;color:#627091;font-size:11px;line-height:1.6}
.fc-preview-label{font-weight:700;white-space:nowrap;color:#4263c4}
.fc-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 20px;background:linear-gradient(110deg,#f1f4fe,#fafbff 58%,#f5f7fc);border:1px solid #e1e7f5;border-radius:14px}
.fc-eyebrow{font-size:9px;font-weight:750;letter-spacing:1.8px;color:#7e8cb2}
.fc-hero h2{font-size:19px;letter-spacing:-.5px;margin:7px 0 6px;font-weight:650}
.fc-hero p{font-size:12px;color:#79869d;margin:0;line-height:1.6}
.fc-shop-select{min-width:230px;display:grid;gap:8px}
.fc-shop-select label{display:grid;gap:7px;font-size:11px;color:#7c88a2}
.fc-shop-select select{min-width:230px;font-size:13px;font-weight:600;max-width:100%}
.fc-shop-meta{display:flex;align-items:center;gap:8px;font-size:10px;color:#7c88a2}
.fc-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.fc-metric{padding:12px 17px;border:1px solid var(--fi-border,#e8edf5);border-radius:11px;background:var(--fi-surface,#fff)}
.fc-metric>span{font-size:11px;color:var(--fi-muted,#8190a8)}
.fc-metric strong{display:block;font-size:23px;font-weight:650;letter-spacing:-.6px;margin:5px 0}
.fc-metric:last-child strong{font-size:21px;color:#8290ac}
.fc-metric small{display:block;font-size:10px;color:var(--fi-muted,#8190a8);line-height:1.5}
.fc-tabs{display:flex;gap:5px;border-bottom:1px solid var(--fi-border,#e8edf5)}
.finance-workspace .fc-tabs button{display:flex;align-items:center;gap:9px;padding:12px 18px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#8490a8;min-height:44px}
.fc-tabs button span{font-size:10px;opacity:.7;font-variant-numeric:tabular-nums}
.fc-tabs button strong{font-size:13px;font-weight:550}
.finance-workspace .fc-tabs button[aria-selected=true]{border-bottom-color:#4263eb;color:#4263d9;background:#f5f7ff}
.fc-feedback{margin:0;font-size:11px;color:#5672bc;min-height:0;line-height:1.6}
.fc-feedback:empty{display:none}
.fc-panel .fi-card-head{padding:18px 20px 0}
.fc-file{display:flex;align-items:center;gap:12px;margin:12px 20px 0;padding:10px 13px;border:1px solid var(--fi-border,#e8edf5);border-radius:9px;background:var(--fi-soft,#f8faff)}
.fc-file-icon{font-size:9px;font-weight:750;color:#5a76bc;background:#e8eefb;display:grid;place-items:center;min-width:39px;height:43px;border-radius:6px}
.fc-file>div{min-width:0;flex:1}
.fc-file strong{font-size:12px;font-weight:600;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fc-file small{display:block;margin-top:6px;font-size:10px;color:var(--fi-muted,#8190a8)}
.fc-tag{display:inline-flex;align-items:center;white-space:nowrap;padding:3px 7px;border-radius:5px;background:#eef2f8;color:#748198;font-size:10px;font-weight:500;line-height:1.5}
.fc-tag.warn{color:#a37c39;background:#fff6e5}.fc-tag.danger{color:#b9514e;background:#fff0ed}.fc-tag.good{color:#4267bf;background:#edf2ff}
.fc-inline-note{font-size:10px;color:var(--fi-muted,#8190a8);margin:12px 20px;line-height:1.8}
.fc-table-tools{display:flex;align-items:center;flex-wrap:wrap;gap:11px;margin:17px 20px 0}
.fc-table-tools label{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--fi-muted,#8190a8)}
.fc-table-tools input{min-width:220px;flex:1}
.fc-table-tools select{max-width:175px}
.fc-order-amount-summary{display:grid;gap:3px;margin-left:auto;padding:8px 12px;min-width:190px;border:1px solid var(--fi-border,#e8edf5);border-radius:8px;background:var(--fi-soft,#f8faff)}
.fc-order-amount-summary>span,.fc-order-amount-summary>small{font-size:10px;color:var(--fi-muted,#8190a8);line-height:1.5}
.fc-order-amount-summary>strong{font-size:20px;font-weight:650;font-variant-numeric:tabular-nums;color:var(--fi-ink,#1d2b45)}
@media(max-width:650px){.fc-order-amount-summary{margin-left:0;width:100%;min-width:0;box-sizing:border-box}}
.fc-table{font-size:11px}
.fc-table th{padding:9px 14px}
.fc-table td{padding:9px 14px;vertical-align:middle}
.fc-table .fi-record-link{font-size:11px!important}
.fc-code{display:inline-block;max-width:220px;white-space:normal;overflow-wrap:anywhere;font-size:11px;line-height:1.5;font-variant-numeric:tabular-nums}
.fc-bundle-quantity{display:block;margin-top:3px;font-size:10px;color:var(--fi-muted,#8190a8)}
.fc-product{display:flex;align-items:center;gap:10px;min-width:210px;max-width:290px}
.fc-product img,.fc-product-placeholder{width:42px;height:42px;flex-shrink:0;border-radius:6px;border:1px solid var(--fi-border,#e8edf5);object-fit:cover;background:#f3f5fb}
.fc-product-placeholder{display:grid;place-items:center;color:#8c9abd;font-size:9px;font-weight:700}
.fc-product>div{min-width:0}
.fc-product strong{display:block;max-width:230px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;font-weight:550}
.fc-product small{font-size:10px;line-height:1.45;white-space:normal;max-width:230px}
.fc-shop-tree{margin:16px 20px 20px;border:1px solid var(--fi-border,#e8edf5);border-radius:10px;overflow:hidden}
.fc-shop-branch+.fc-shop-branch{border-top:1px solid var(--fi-border,#e8edf5)}
.finance-workspace .fc-shop-parent{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:0;border-radius:0;padding:14px 16px;background:var(--fi-surface,#fff);color:var(--fi-ink,#1d2b45)}
.finance-workspace .fc-shop-parent:hover,.fc-shop-branch.is-expanded>.fc-shop-parent{background:var(--fi-soft,#f5f7fd)}
.fc-shop-chevron{font-size:13px;color:var(--fi-muted,#8190a8)}
.fc-shop-title{display:grid;gap:5px;min-width:0;flex:1}
.fc-shop-title strong{font-size:13px;overflow-wrap:anywhere}
.fc-shop-title small,.fc-shop-counts small{font-size:10px;color:var(--fi-muted,#8190a8);font-weight:400}
.fc-shop-counts{display:grid;justify-items:end;gap:5px}
.fc-shop-children{border-top:1px solid var(--fi-border,#e8edf5);border-left:3px solid #d8e2fb;margin-left:21px;padding-bottom:1px}
.fc-shop-children[hidden]{display:none}
.fc-shop-source{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:16px 20px 12px;font-size:11px;color:var(--fi-muted,#8190a8)}
.fc-shop-source strong{font-size:11px;font-weight:550;color:var(--fi-ink,#1d2b45);overflow-wrap:anywhere}
.fc-shop-sku-info{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 20px;font-size:11px;color:var(--fi-muted,#8190a8)}
.fc-shop-loading{display:block;padding:10px 20px;color:var(--fi-muted,#8190a8);font-size:11px}
.fc-cost-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
.fc-spu-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 20px}
.fc-spu{min-width:0;border:1px solid var(--fi-border,#e8edf5);border-left:3px solid #559d7e;border-radius:8px;overflow:hidden}
.fc-spu.danger{border-left-color:#d9776b}.fc-spu.warn{border-left-color:#d2a14d}
.fc-spu.is-expanded{box-shadow:0 0 0 1px #91a6e6}
.finance-workspace .fc-spu-parent{position:relative;display:flex;align-items:flex-start;flex-wrap:wrap;align-content:space-between;gap:10px;width:100%;height:100%;min-height:144px;padding:13px;border:0;border-radius:0;text-align:left;background:var(--fi-surface,#fff);color:var(--fi-ink,#1d2b45)}
.finance-workspace .fc-spu-parent:hover,.fc-spu.is-expanded .fc-spu-parent{background:var(--fi-soft,#f5f7fd)}
.fc-spu-parent>.fc-shop-chevron{position:absolute;right:10px;top:12px}
.fc-spu-copy{display:grid;gap:7px;flex:1;min-width:0;padding-right:8px}
.fc-spu-copy strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:12px;line-height:1.5;height:36px;overflow:hidden;white-space:normal}
.fc-spu-copy small{font-size:10px;color:var(--fi-muted,#8190a8);font-weight:400;overflow-wrap:anywhere;line-height:1.6}
.fc-spu-image{height:44px;width:44px;object-fit:cover;border-radius:6px;flex-shrink:0}
.fc-spu-counts{display:flex;gap:5px;flex-wrap:wrap;flex-basis:100%;margin-top:auto;justify-content:flex-start}
.fc-spu-detail{grid-column:1/-1;min-width:0;border:1px solid var(--fi-border,#e8edf5);border-radius:8px;overflow:hidden}
.fc-spu-detail-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:var(--fi-soft,#f5f7fd);font-size:12px}
.fc-spu-detail-head strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fc-spu-detail-head button{flex-shrink:0}
.fc-spu-detail[hidden]{display:none}
.fc-spu-detail .fi-table-wrap{margin:0}
.fc-spu-detail .fc-product{min-width:150px;max-width:250px}
.fc-shop-tree .fc-tag.good{color:#367757;background:#eaf6ef}
[data-theme=dark] .fc-shop-tree .fc-tag.good{color:#a6d8b9;background:#1d3e32}
@media(max-width:1100px){.fc-spu-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.fc-spu-list{grid-template-columns:minmax(0,1fr);margin:14px 10px}.finance-workspace .fc-spu-parent{min-height:140px}.fc-cost-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
.fc-order-links{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:0 20px 24px}
.finance-workspace .fi-expense-sections{margin:0 0 18px;gap:18px}
.finance-workspace .fi-expense-sections button{flex-direction:column;align-items:flex-start;gap:5px;padding:12px 16px}
.finance-workspace .fi-expense-sections button[aria-pressed=true]{border-bottom-color:#4263eb;color:#4263d9;background:var(--fi-soft,#f5f7ff)}
@media(max-width:650px){.fc-shop-tree{margin:14px 10px}.finance-workspace .fc-shop-parent{gap:8px;padding:12px 10px}.fc-shop-children{margin-left:10px}.fc-shop-parent>.fc-tag{display:none}.fc-shop-counts .fc-tag{font-size:9px}.fc-shop-sku-info{align-items:flex-start;flex-direction:column}}
.fc-rule-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:16px;align-items:start}
.fc-form{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:20px}
.fc-form label{display:grid;gap:8px;font-size:11px;color:var(--fi-muted,#8190a8)}
.fc-form select{width:100%;max-width:none}
.fc-form button{justify-self:start;align-self:end}
.fc-expense{padding:18px 20px;border-bottom:1px solid var(--fi-border,#e8edf5)}
.fc-expense strong{font-size:12px}
.fc-expense p{font-size:11px;line-height:1.8;color:var(--fi-muted,#8190a8);margin:8px 0}
.fc-secondary{margin:16px 20px}
.fc-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:22px 20px}
.fc-flow>div{display:grid;gap:7px;border:1px solid var(--fi-border,#e8edf5);border-radius:10px;padding:14px}
.fc-flow i{font-style:normal;font-size:10px;color:#5d7bcb;width:22px;height:22px;border-radius:7px;background:#eff3ff;display:grid;place-items:center}
.fc-flow strong{font-size:12px;font-weight:550}.fc-flow small{font-size:10px;line-height:1.6;color:var(--fi-muted,#8190a8)}
.fc-empty{padding:35px 20px;text-align:center;font-size:12px;color:var(--fi-muted,#8190a8);line-height:1.8}
.fc-order-notes{margin:0 20px 20px;padding:12px 16px;border-radius:9px;background:var(--fi-soft,#f7f9fc)}
.fc-order-notes p{font-size:11px;line-height:1.7;margin:4px 0;color:var(--fi-muted,#8190a8)}
.fc-upload{padding:20px;border:1px dashed #b9c7e6;border-radius:10px;background:#f6f8fe}.fc-upload strong{font-size:12px;line-height:1.8}.fc-upload p{font-size:11px;color:#8190a8;line-height:1.8}
.fc-alert{font-size:12px;color:#bd6551;line-height:1.7}.fc-dialog .fi-table-wrap{margin-top:0}.fc-dialog .fi-table th,.fc-dialog .fi-table td{padding:8px}
[data-theme=dark] .fc-hero{background:linear-gradient(110deg,#1b2845,#182236);border-color:#2d3d5e}
[data-theme=dark] .fc-preview-note{background:#1b2740;border-color:#2d3d5e;color:#a7b4ce}
[data-theme=dark] .fc-preview-label{color:#a4b9f8}
[data-theme=dark] .fc-tabs button[aria-selected=true]{background:#202e50;color:#adc1ff}
[data-theme=dark] .fc-tag{background:#26324b;color:#b2bfd7}
[data-theme=dark] .fc-tag.warn{background:#382f23;color:#dcc08d}
[data-theme=dark] .fc-tag.danger{background:#482d35;color:#ecb1aa}
[data-theme=dark] .fc-tag.good{background:#253a63;color:#b8ceff}
[data-theme=dark] .fc-file-icon,[data-theme=dark] .fc-flow i{background:#25375b;color:#b1c4f6}
[data-theme=dark] .fc-upload{background:#202e50;border-color:#425b89}
@media(max-width:1050px){.fc-hero{align-items:flex-start}.fc-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.fc-rule-grid{grid-template-columns:1fr}.fc-flow{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.fc-hero{flex-direction:column;padding:18px}.fc-hero h2{font-size:20px}.fc-shop-select{width:100%}.fc-tabs{gap:0;overflow:auto}.finance-workspace .fc-tabs button{padding:10px;gap:5px;flex-shrink:0}.fc-file{flex-wrap:wrap}.fc-file>div{flex-basis:70%}.fc-form{grid-template-columns:1fr}.fc-table-tools input{min-width:100%;box-sizing:border-box}.fc-metric{padding:14px}.fc-metric strong{font-size:22px}.fc-preview-note{align-items:flex-start}}
.fc-order-status{margin:16px 0}.fc-cost-state{display:grid;gap:5px;max-width:220px;white-space:normal}.fc-cost-state small{color:var(--muted,#667085);font-size:12px;line-height:1.5}
.fc-mapping-image{display:block;width:88px;height:88px;object-fit:contain;border-radius:8px;margin:12px 0}
.fl-content .fi-table td small{display:block;margin-top:4px;max-width:270px;white-space:normal;line-height:1.5}
.fl-content .fi-table td{vertical-align:top}
.fl-content .fc-tag{white-space:normal}
.fl-content .fc-metrics{margin:16px 0}
.fl-processing{display:flex;align-items:center;gap:12px;padding:12px 16px;margin:12px 0;border-radius:8px;background:var(--fi-soft,#f2f5ff);color:var(--fi-text,#3a5181)}
.fl-processing progress{width:120px;height:6px;accent-color:#4968d8}
.fl-content .fq-section{margin-top:22px}
.fl-status-filters{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.fl-status-filters button[aria-pressed="true"]{background:#e9efff;color:#244dad;border-color:#b9c9f5;font-weight:600}
.fl-read-progress[hidden]{display:none}
