/* TP2: page-specific form geometry. Shared ordering and global controls are unchanged. */
.fm-parity-quote-editor.el-dialog { position: fixed; inset: 102px 0 0 68px; margin: 0 !important; width: auto; max-width: none; height: auto; border-radius: 0; background: #eaeaea; padding: 0 10px; display: flex; flex-direction: column; box-shadow: none; }
.fm-parity-quote-editor .el-dialog__header { padding: 8px 20px; flex-shrink: 0; background: #fff; margin-bottom: 8px; }
.fm-parity-quote-editor .el-dialog__body { padding: 0; flex: 1; min-height: 0; overflow: auto; }
.fm-parity-quote-editor .el-dialog__footer { background: #fff; padding: 10px; text-align: left; }
.fm-parity-quote-editor .el-dialog__footer .el-button--primary { background: #d70029; border-color: #d70029; }
.fm-parity-quote-editor .fm-quote-overview { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 18px; align-items: start; }
.fm-parity-quote-editor .fm-trade-form-card { margin: 0; }
.fm-parity-quote-editor .fm-trade-form-card h4 { margin: 0 0 18px; padding: 14px 0 4px; font-size: 14px; color: #303133; }
.fm-parity-quote-editor .quote-head-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0 20px; }
.fm-parity-quote-editor .quote-head-grid .el-form-item { min-width: 0; margin: 0 0 24px; }
.fm-parity-quote-editor .quote-head-grid .el-form-item__label { padding: 0; margin-bottom: 6px; line-height: 16px; color: #606266; font-size: 12px; }
.fm-parity-quote-editor .quote-head-grid .el-input__wrapper,
.fm-parity-quote-editor .quote-head-grid .el-textarea__inner { border: 0; box-shadow: 0 0 0 1px #d4d8df inset; border-radius: 3px; padding-left: 10px; }
.fm-parity-quote-editor .quote-head-grid .el-select,
.fm-parity-quote-editor .quote-head-grid .el-input-number,
.fm-parity-quote-editor .quote-head-grid .el-date-editor { width: 100%; }
.fm-quote-order-summary { background: #fff; padding: 0 12px 16px; color: #303133; }
.fm-quote-order-summary h3 { padding: 14px 0; margin: 0 0 12px; border-bottom: 1px dashed #d4d8df; text-align: center; font-size: 16px; }
.fm-quote-order-summary dl { margin: 0; }
.fm-quote-order-summary dl > div { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14px; }
.fm-quote-order-summary dd { margin: 0; font-variant-numeric: tabular-nums; }
.fm-quote-settings { border-top: 1px solid #eee; margin-top: 2px; padding: 10px 0; }
.fm-quote-settings summary { color: #606266; cursor: pointer; margin-bottom: 10px; }
.fm-parity-quote-editor .quote-bulk-toolbar { background: #fff; padding: 10px; margin: 16px 0 0; border-radius: 0; }
.fm-parity-quote-editor .quote-empty,
.fm-parity-quote-editor .el-empty { background: #fff; min-height: 240px; }
@media (max-width: 1000px) {
  .fm-parity-quote-editor .fm-quote-overview { grid-template-columns: minmax(0,1fr) 230px; gap: 10px; }
  .fm-parity-quote-editor .quote-head-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .fm-parity-quote-editor.el-dialog { inset: 100px 0 0; }
  .fm-parity-quote-editor .fm-quote-overview { grid-template-columns: 1fr; }
  .fm-parity-quote-editor .quote-head-grid { grid-template-columns: 1fr; }
  .fm-quote-empty-field { display: none; }
}
.fm-quote-picker.el-dialog { padding: 16px 20px 0; display: flex; flex-direction: column; }
.fm-quote-picker.el-dialog.is-fullscreen { width: 100vw !important; max-width: none !important; height: 100vh; max-height: 100vh !important; margin: 0 !important; border-radius: 0; }
.fm-quote-picker .el-dialog__body { display: flex; flex-direction: column; min-height: 0; flex: 1; overflow: hidden; padding-top: 0; }
.fm-quote-picker .el-dialog__header { padding-bottom: 8px; }
.fm-quote-picker .el-dialog__footer { padding: 12px; text-align: center; }
.fm-picker-tabs { display: flex; justify-content: center; margin: 6px 0 16px; position:relative; }
.fm-picker-tabs>.fm-picker-new-product { position:absolute; right:0; top:2px; width:100px; height:28px; padding:0; border-radius:3px; font-size:12px; }
@media(max-width:520px){.fm-picker-tabs{padding-right:112px;justify-content:flex-start}.fm-picker-tabs>.el-button:not(.fm-picker-new-product){padding-left:10px;padding-right:10px}}
.fm-quote-picker .el-table__header-wrapper th.el-table__cell { height:32px; padding:0; font-size:12px; font-weight:700; color:#606266; }
.fm-quote-picker .el-table__header-wrapper th.el-table__cell .cell { font-size:12px; font-weight:700; line-height:22px; }
.fm-picker-tabs .el-button { margin: 0; border-radius: 0; }
.fm-picker-tabs .active { color: #fff; background: #d70029; border-color: #d70029; }
.fm-picker-tabs b { margin-left: 5px; font-weight: 400; }
.fm-picker-search { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.fm-picker-search > .el-input { width: 195px; }
.fm-picker-search > .el-pagination { margin-left: auto; }
.fm-picker-search > .el-button--primary { background: #d70029; border-color: #d70029; }
.fm-picker-body-quote { display: flex; flex: 1; min-height: 0; border: 1px solid #eee; }
.fm-picker-groups { flex: 0 0 250px; overflow: auto; border-right: 1px solid #eee; }
.fm-picker-groups h4 { margin: 0; padding: 12px 0; text-align: center; font-weight: 400; color: #d70029; }
.fm-picker-groups button { display: block; width: 100%; padding: 10px 20px; text-align: left; border: 0; background: #fff; color: #606266; cursor: pointer; }
.fm-picker-groups button.active { color: #d70029; background: #fbf1f3; }
.fm-picker-groups .fm-picker-subgroup { padding-left: 40px; }
.fm-picker-results { min-width: 0; flex: 1; }
.fm-picker-body-quote .fm-picker-results { display: flex; flex-direction: column; min-height: 0; }
.fm-picker-body-quote .el-table { flex: 1; height: 100%; }
.fm-picker-image { width: 50px; height: 44px; object-fit: contain; display: block; margin: auto; }
.fm-picker-no-image { display: block; text-align: center; color: #c0c4cc; }
.fm-quote-picker .el-dialog__footer .el-button--primary { background: #d70029; border-color: #d70029; }
@media (max-width: 720px) {
  .fm-picker-groups { flex-basis: 120px; }
  .fm-picker-search { flex-wrap: wrap; }
  .fm-picker-search > .el-pagination { width: 100%; overflow: auto; margin-left: 0; }
}

.fm-parity-quote-editor .fm-parity-span-2 { grid-column: span 2; }
.fm-quotation-customer-fees { background:#fff; padding:12px; margin:12px 0; }
.fm-quotation-customer-fees header { display:flex; align-items:center; gap:20px; margin-bottom:12px; }
.fm-quotation-customer-fees h4 { margin:0; }
.fm-quotation-customer-fees .el-input-number { width:100%; }
.fm-parity-quote-editor .fm-quote-section-card { background:#fff; padding:16px; margin:12px 0; min-width:0; }
.fm-parity-quote-editor .fm-quote-section-card article + article { margin-top:20px; }
.fm-parity-quote-editor [data-testid="quotation-header-attachments"] .custom-field-media { min-width:0; width:100%; overflow-wrap:anywhere; }
.fm-parity-quote-editor [data-testid="quotation-header-attachments"] input[type="file"] { max-width:100%; }
.fm-quotation-report-dialog.el-dialog { background:#fff; padding:0; display:flex; flex-direction:column; height:100dvh!important; max-height:100dvh!important; width:100vw!important; max-width:100vw!important; margin:0!important; border-radius:0; overflow:hidden; }
.fm-quote-output-overlay:has(.fm-quotation-report-dialog) .el-overlay-dialog { display:block; padding:0; overflow:hidden; }
body:has(.fm-quote-reference-layout .el-form) #pwa-action-card { display:none!important; }
.fm-quotation-report-dialog .el-dialog__header { padding:0; margin:0; height:50px; flex:0 0 50px; }
.fm-quotation-report-dialog .el-dialog__body { padding:0; flex:1; min-height:0; overflow:auto; }
.fm-quotation-viewer-header { position:relative; height:50px; background:#336699; color:#fff; display:flex; align-items:center; }
.fm-quotation-viewer-header>.el-dropdown { z-index:1; margin-left:5px; }
.fm-quotation-viewer-header .el-button { background:#5b84ad; border:0; height:32px; padding:0 13px; font-size:14px; color:#fff; }
.fm-quotation-viewer-title { position:absolute; left:0; right:0; text-align:center; font-size:14px; pointer-events:none; }
.fm-quotation-viewer-close { margin-left:auto; width:150px; height:50px; border:0; background:#336699; color:#fff; cursor:pointer; font-size:14px; z-index:1; }
.fm-quotation-report-toolbar { position:relative; min-width:540px; height:60px; box-sizing:border-box; z-index:1; background:#f8f8f8; padding:10px 0; display:flex; align-items:center; gap:5px; border-top:1px solid #ddd; }
.fm-quotation-report-toolbar .el-button { background:none; color:#444; border:0; padding:0 12px; height:40px; margin:0; }
.fm-quotation-page-count { min-width:90px; text-align:center; }
.fm-quotation-report-toolbar .el-select { width:200px; }
.fm-quotation-report-options { z-index:3102!important; }
/* Background actions must not cover the quotation output modal. They return on close. */
body:has(.fm-quote-output-overlay:not([style*="display: none"])) .workspace-tab-bar,
body:has(.fm-quote-output-overlay:not([style*="display: none"])) .pwa-action-card { visibility:hidden; pointer-events:none; }
.quote-preview-dialog .quote-preview-card { --nav:#23324a; }
.fm-quotations { position:relative; }
.fm-quotation-select-follow { display:flex; align-items:center; justify-content:center; gap:8px; height:32px; }
.fm-quotation-select-follow button { display:flex; align-items:center; padding:0; border:0; background:transparent; color:#909399; cursor:pointer; }
.fm-quotation-select-follow button[aria-pressed="true"] { color:#f3b337; }
.fm-quotation-select-follow button:disabled { opacity:.5; cursor:wait; }
.fm-quotation-select-follow .el-checkbox { margin:0; }
.fm-quotation-operation-cell>.cell { overflow:visible!important; padding:0!important; }
.fm-quotation-operation-cell .fm-quotation-inline-actions { position:absolute; right:0; top:0; min-height:40px; display:flex; align-items:center; background:var(--el-bg-color,#fff); z-index:2; }
.fm-quotation-hover-actions { position:absolute; right:12px; min-width:156px; display:flex; align-items:center; background:var(--el-bg-color,#fff); z-index:8; }
.fm-quotations[data-action-mode="hover"] .fm-quotation-operation-cell { padding:0; }
.fm-quotation-inline-actions .quote-row-actions,.fm-quotation-hover-actions .quote-row-actions { width:156px; height:40px; padding:4px 8px; gap:8px; display:flex; align-items:center; justify-content:flex-end; background:#fff; }
.fm-quotation-inline-actions .quote-row-actions>.el-button,.fm-quotation-inline-actions .quote-row-actions>.el-dropdown,.fm-quotation-hover-actions .quote-row-actions>.el-button,.fm-quotation-hover-actions .quote-row-actions>.el-dropdown { flex:0 0 20px; width:20px; margin:0; padding:0; }
.fm-quotation-tags-dialog.el-dialog { position:absolute; left:50%; top:15%; transform:translateX(-50%); margin:0 0 50px!important; width:820px!important; max-width:calc(100vw - 24px)!important; padding:0; border-radius:4px; }
.fm-quotation-tags-dialog .el-dialog__header { box-sizing:border-box; height:48px; margin:0 16px; padding:18px 0 12px; }
.fm-quotation-tags-dialog .el-dialog__title { font-size:18px; line-height:18px; font-weight:400; color:#222; }
.fm-quotation-tags-dialog .el-dialog__body { padding:15px 20px; }
.fm-quotation-tags-body { display:flex; height:402px; box-sizing:border-box; border:1px solid #f6f7f9; margin-bottom:20px; }
.fm-quotation-tags-left { min-width:0; flex:1; padding:14px 16px 18px; border-right:1px solid #f6f7f9; overflow:auto; }
.fm-quotation-tags-left>.el-input { width:240px; max-width:100%; height:32px; margin-bottom:4px; }
.fm-quotation-tags-group { margin-top:24px; }
.fm-quotation-tags-personal { margin-top:18px; }
.fm-quotation-tags-group header { display:flex; align-items:center; height:26px; color:#111; }
.fm-quotation-tags-group header>button:first-child { border:0; padding:0; background:none; font-size:14px; line-height:22px; color:#111; cursor:pointer; }
.fm-quotation-tags-group header small { margin-left:6px; color:#aaa; font-size:12px; }
.fm-quotation-tags-group header .el-button { height:26px; padding:0 12px; margin-left:auto; }
.fm-quotation-tags-personal header .el-button { border-style:dashed; background:#fbfbfb; }
.fm-quotation-tag-chips { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-content:flex-start; gap:8px 10px; margin-top:12px; }
.fm-quotation-tag-chips>button,.fm-quotation-public-tag>button:first-child,.fm-quotation-personal-tag>button:first-child { display:flex; flex:1; align-items:center; text-align:left; min-width:0; max-width:100%; border:1px solid #d4d7d9; border-radius:5px; padding:5px 12px; font-size:14px; line-height:16.8px; cursor:pointer; background:#f7f7f7; overflow-wrap:anywhere; }
.fm-quotation-tag-chips button.selected { outline:1px solid currentColor; }
.fm-quotation-public-tag,.fm-quotation-personal-tag { min-width:0; display:inline-flex; align-items:center; gap:2px; }
.fm-quotation-public-tag>button:not(:first-child),.fm-quotation-personal-tag>button:not(:first-child) { display:flex; visibility:hidden; pointer-events:none; border:0; background:none; padding:0; cursor:pointer; }
.fm-quotation-public-tag:hover>button:not(:first-child),.fm-quotation-public-tag:focus-within>button:not(:first-child),.fm-quotation-personal-tag:hover>button:not(:first-child),.fm-quotation-personal-tag:focus-within>button:not(:first-child) { visibility:visible; pointer-events:auto; }
.fm-quotation-public-tag .fm-quotation-list-icon,.fm-quotation-personal-tag .fm-quotation-list-icon { font-size:14px; line-height:16px; }
.fm-quotation-personal-tag-edit { display:flex; flex-wrap:wrap; gap:6px; width:100%; grid-column:1/-1; }
.fm-quotation-personal-tag-edit>.el-input { width:200px; }.fm-quotation-personal-tag-edit>.el-select { width:100px; }
.fm-quotation-tag-color-anchor { width:24px; height:24px; padding:0; border:1px solid #d4d7d9; border-radius:4px; cursor:pointer; }
.fm-quotation-tag-palette { display:flex; flex-wrap:wrap; gap:8px; }.fm-quotation-tag-palette>button { width:24px; height:24px; border:1px solid transparent; border-radius:4px; cursor:pointer; }.fm-quotation-tag-palette>button[aria-pressed="true"] { outline:2px solid #286ef6; outline-offset:2px; }
.fm-quotation-tags-left>.el-radio-group { display:flex; margin-bottom:8px; }
.fm-quotation-tags-right { box-sizing:border-box; width:200px; flex:0 0 200px; display:flex; flex-direction:column; padding:20px 14px 16px; background:#f7f7f7; }
.fm-quotation-tags-right header { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; height:22px; }
.fm-quotation-tags-right header button { border:0; padding:0; background:none; color:#286ef6; cursor:pointer; }
.fm-quotation-tags-right>div { flex:1; min-height:0; overflow:auto; }
.fm-quotation-tags-right>div>button { display:block; max-width:100%; margin-bottom:8px; padding:5px 12px; border:1px solid #d4d7d9; border-radius:4px; background:#fff; overflow-wrap:anywhere; cursor:pointer; }
.fm-quotation-tags-footer { box-sizing:border-box; display:flex; justify-content:flex-end; align-items:flex-start; height:44px; padding-top:4px; }
.fm-quotation-tags-footer>.el-button { width:88px; height:32px; padding:8px 15px; margin-left:10px; }
.fm-quotation-tags-footer>.el-button--primary { background:#d0011b; border-color:#d0011b; }
.fm-quotation-comment-overlay>.el-overlay-dialog { display:flex; align-items:center; justify-content:center; }
.fm-quotation-comments-dialog.el-dialog { width:600px!important; max-width:calc(100vw - 24px)!important; padding:0; margin:0!important; border-radius:4px; }
.fm-quotation-comments-dialog .el-dialog__header { box-sizing:border-box; height:48px; margin:0 16px; padding:18px 0 12px; }
.fm-quotation-comments-dialog .el-dialog__title { font-size:18px; line-height:18px; font-weight:400; }
.fm-quotation-comments-dialog .el-dialog__body { padding:15px 20px; max-height:calc(100dvh - 80px); overflow:auto; }
.fm-quotation-comment-form { display:flex; flex-direction:column; margin-top:-10px; }
.fm-quotation-comment-subject { box-sizing:border-box; height:35px; padding-left:100px; line-height:35px; }
.fm-quotation-comment-mark-row { display:flex; height:37px; margin-bottom:15px; }
.fm-quotation-comment-mark-row>label { box-sizing:border-box; width:100px; flex:0 0 100px; padding:11px 12px 11px 0; text-align:right; font-size:14px; line-height:14px; }
.fm-quotation-comment-text-row { margin:-10px 0 15px; padding-left:100px; }
.fm-quotation-comment-text-row .el-textarea__inner { height:54px; min-height:54px!important; padding:5px 7px; font-size:14px; line-height:21px; font-weight:400; }
.fm-quotation-comment-schedule-row { height:35px; margin:-10px 0 15px; padding-left:100px; }
.fm-quotation-comment-schedule-row .el-checkbox { height:35px; line-height:35px; margin:0; }
.fm-quotation-comment-schedule-row .el-checkbox__inner { width:16px; height:16px; }
.fm-quotation-comment-schedule-row .el-checkbox__label { padding-left:5px; font-size:14px; }
.fm-quotation-comment-footer { display:flex; align-items:flex-start; justify-content:center; height:32px; }
.fm-quotation-comment-footer>.el-button { width:60px; height:32px; margin:0; padding:8px 15px; font-size:14px; line-height:14px; }
.fm-quotation-comment-footer>.el-button+.el-button { margin-left:14px; }
.fm-quotation-comment-footer>.el-button--primary { background:#d0011b; border-color:#d0011b; }
.fm-quotation-comment-schedule { display:grid; gap:12px; padding:12px 0; }.fm-quotation-comment-schedule label { display:flex; align-items:center; gap:12px; }
.fm-quotation-comment-notify { display:flex; align-items:center; gap:12px; margin:16px 0; }.fm-quotation-comment-notify>.el-select { flex:1; }
.fm-quotation-comment-colors { display:flex; gap:6px; margin-top:2px; }
.fm-quotation-comment-colors button { width:25px; height:25px; font-size:19px; line-height:23px; border:1px solid transparent; padding:0; background:none; cursor:pointer; }
.fm-quotation-comment-colors button[aria-pressed="true"] { border-color:currentColor; border-radius:50%; }
.fm-quotation-list-comment { display:block; white-space:normal; overflow-wrap:anywhere; }
.fm-quotation-annotation-receipt { padding:8px; border:1px solid #e6a23c; margin-bottom:12px; }
@media(max-width:600px) { .fm-quotation-tags-dialog .el-dialog__body { overflow:auto; }.fm-quotation-tags-body { min-width:540px; }.fm-quotation-tags-footer { position:sticky; right:0; bottom:0; background:#fff; } }
.fm-quotation-context-menu { position:fixed; z-index:3200; width:314px; max-width:calc(100vw - 16px); padding:8px; border:1px solid #dcdfe6; border-radius:4px; background:#fff; box-shadow:0 4px 16px #0002; }
.fm-quotation-context-menu .quote-row-actions { display:flex; flex-wrap:wrap; gap:6px; }
.fm-quotation-list-settings .order-list-item>.el-input { width:70px!important; }
.fm-quotation-import-overlay .el-overlay-dialog { display:flex!important; align-items:center; justify-content:center; overflow:auto; }
.fm-quotation-import-dialog.el-dialog { width:30vw!important; max-width:calc(100vw - 24px)!important; max-height:calc(100dvh - 24px); margin:0!important; padding:0; border-radius:3px; }
.fm-quotation-import-dialog .el-dialog__header { margin:0; padding:20px 20px 10px; }
.fm-quotation-import-dialog .el-dialog__title { font-size:18px; line-height:24px; }
.fm-quotation-import-dialog .el-dialog__body { padding:12px 20px 8px; }
.fm-quotation-import-dialog .el-dialog__footer { padding:12px 20px 25px; }
.fm-quotation-import-dialog .el-dialog__footer .el-button { height:28px; padding:0 15px; font-size:14px; }
.fm-quotation-import-drop { border:1px dashed #d9d9d9; border-radius:6px; height:180px; text-align:center; }
.fm-quotation-import-drop:hover { border-color:#d70029; }
.fm-quotation-import-drop label { display:flex; flex-direction:column; align-items:center; cursor:pointer; width:100%; }
.fm-quotation-import-drop input { display:none; }
.fm-quotation-import-icon { display:block; width:67px; height:50px; color:#c0c4cc; margin:40px 0 0; }
.fm-quotation-import-drop p { margin:16px 0 0; font-size:14px; line-height:18px; color:#c0c4cc; }
.fm-quotation-import-link { color:#d70029; }
.fm-quotation-import-drop>.el-button { margin:8px 0 0; }
.fm-quotation-import-tips { font-size:12px; line-height:16px; color:#a0a4ab; padding-top:8px; }
.fm-quotation-import-tips p { margin:0; }
.fm-quotation-import-tips p:first-child { color:#d0021b; }
.fm-quotation-import-file { display:flex; align-items:center; gap:8px; font-size:13px; margin:10px 0; }
.fm-quotation-import-file>span:nth-child(2) { flex:1; overflow-wrap:anywhere; }
.fm-quotation-report-copy { position:sticky; top:0; z-index:2; display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:8px 12px; background:#fff; border-bottom:1px solid #ddd; }
.fm-quotation-report-copy .el-button + .el-button { margin-left:0; }
.fm-quotation-report-copy [role="status"] { color:#374151; font-size:14px; }
.fm-quotation-report-paper { width:793.6875px; margin:0 auto 26px; background:#fff; }
.fm-quotation-report-paper.fm-report-fit { width:min(100%,793.6875px); }
.fm-quotation-report-paper img { display:block; width:100%; height:auto; }
.fm-quotation-cost-fields header { display:flex; gap:8px; margin-bottom:12px; flex-wrap:wrap; }
.fm-quotation-cost-fields .el-input-number { width:100%; }
.fm-parity-quote-editor .fm-trade-form-card { padding: 4px 20px 6px; border-radius: 5px; background: #fff; }
@media (max-width:720px) { .fm-parity-quote-editor .fm-parity-span-2 { grid-column: auto; } }
/* Quotation-only public line grid: keep source columns legible and scrollable. */
.fm-parity-quote-editor .fm-quotation-lines .el-input-number{width:100%;min-width:0}
.fm-parity-quote-editor .fm-quotation-lines .el-input__wrapper{box-shadow:none;padding:1px 5px}
.fm-parity-quote-editor .fm-quotation-lines .el-table__cell{padding:4px 0}
.fm-parity-quote-editor .fm-quotation-lines .quote-line-thumb{width:64px;height:54px;object-fit:contain}
.fm-parity-quote-editor [data-testid="quotation-header-attachments"] .custom-field-media{position:relative;width:100%;min-height:32px}
.fm-parity-quote-editor [data-testid="quotation-header-attachments"] .custom-field-media>p{display:none}
.fm-parity-quote-editor [data-testid="quotation-header-attachments"] .custom-field-media:before{content:'♧ 上传附件';position:absolute;top:0;left:0;width:100%;height:32px;display:flex;align-items:center;padding:0 10px;border:1px solid #d4d8df;border-radius:3px;color:#4d80b5;background:#fff;box-sizing:border-box}
.fm-parity-quote-editor [data-testid="quotation-header-attachments"] input[type=file]{position:relative;z-index:1;width:100%;height:32px;opacity:0;cursor:pointer}
.fm-parity-quote-editor [data-testid="quotation-header-attachments"] ul{padding:0;margin:4px 0 0;list-style:none}
.fm-parity-quote-editor .fm-quote-public-toolbar>div{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.fm-parity-quote-editor .fm-quote-public-toolbar .el-button{margin-left:0;padding:8px 12px}
.fm-parity-quote-editor .quote-head-grid .el-form-item:has([aria-label="报价新增客户"]) .el-select{width:calc(100% - 52px);flex:1}
.fm-parity-quote-editor [aria-label="报价新增客户"]{width:46px;margin-left:6px}

/* T03-Q001: observed 1237px form geometry; retain the dialog's accessible title. */
.fm-quote-reference-layout.el-dialog{top:89px!important;left:68px!important;right:21px!important;bottom:0!important;height:calc(100dvh - 89px)!important;max-height:none!important}
.fm-quote-reference-layout .el-dialog__header{position:absolute;width:1px;height:1px;padding:0;margin:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.fm-quote-reference-layout .el-dialog__body{max-height:none!important}
.fm-quote-reference-layout .fm-quote-overview{grid-template-columns:minmax(0,1fr) 306px}
.fm-quote-reference-layout .fm-trade-form-card{position:relative}
.fm-quote-reference-layout .fm-trade-form-card>.quote-head-grid>.el-form-item:nth-last-child(-n+2){margin-bottom:4px}
.fm-quote-reference-layout .fm-quote-order-summary h3{margin-bottom:8px}
.fm-quote-reference-layout .fm-quote-order-summary dl>div{padding:4.5px 0}
.fm-quote-reference-layout .fm-quote-settings{position:absolute;top:15px;right:20px;padding:0;margin:0;border:0;z-index:3}
.fm-quote-reference-layout .fm-quote-settings summary{font-size:12px;margin:0;list-style:none}
.fm-quote-reference-layout .fm-quote-settings[open]>.quote-head-grid{position:absolute;right:0;top:24px;width:min(760px,calc(100vw - 120px));max-height:calc(100vh - 220px);overflow:auto;padding:18px;background:#fff;border:1px solid #d4d8df;box-shadow:0 4px 16px #0002}
.fm-quote-reference-layout .el-dialog__footer{display:flex;justify-content:flex-start!important;gap:8px;padding:10px!important;margin:0 -10px;height:52px;box-sizing:border-box;flex-shrink:0}
.fm-quote-reference-layout .el-dialog__footer .el-button{margin-left:0}
.fm-quote-reference-layout .quote-bulk-toolbar{margin-top:0;padding-top:6px;padding-bottom:6px}
.fm-quote-reference-layout .fm-quote-editor-tabs .active{color:#d70029;border-bottom-color:#d70029}
.fm-quote-reference-layout .fm-quote-editor-tabs{background:#fff;padding:0 16px;gap:32px}
.fm-quote-reference-layout .fm-quote-editor-tabs button{height:39px;color:#909399}
.fm-quote-reference-layout .fm-quote-editor-tabs button.active{color:#d70029}
.fm-quote-reference-layout .fm-quote-public-toolbar{position:relative;padding:10px 40px 10px 24px}
.fm-quote-reference-layout .fm-quotation-lines .fm-quote-quick-active{box-shadow:inset 0 0 0 1px #409eff}
.fm-quote-reference-layout .fm-quote-public-toolbar>div{gap:4px}
.fm-quote-reference-layout .fm-quote-public-toolbar .el-button{font-size:14px;border-radius:2px;color:#303133;border-color:#dcdfe6}
.fm-quote-reference-layout .fm-quote-public-toolbar .el-button-group{display:inline-flex;vertical-align:middle}
.fm-quote-reference-layout .fm-quote-public-toolbar .el-button-group>.el-button:first-child{padding-left:9px;padding-right:9px}
.fm-quote-reference-layout .fm-quote-public-toolbar .el-dropdown__caret-button{padding:8px}
.fm-quote-reference-layout .fm-quote-public-toolbar [aria-label="显示设置"]{position:absolute;right:10px;top:10px;width:28px;padding:8px 4px}
.fm-quote-reference-layout .fm-quotation-lines th.el-table__cell{background:#f3f3f3;color:#303133;font-size:13px;font-weight:600}
.fm-quote-reference-layout .fm-quotation-lines .el-table__empty-block{min-height:260px}
.fm-quote-columns-dialog.el-dialog{margin:40px auto!important;height:calc(100dvh - 80px);max-height:calc(100dvh - 80px);max-width:calc(100vw - 32px)}
.fm-quote-columns-dialog .el-dialog__body{display:flex;flex-direction:column;flex:1;min-height:0;padding:6px 4px 12px}
.fm-quote-column-panels{display:grid;grid-template-columns:340px minmax(0,1fr);gap:20px;flex:1;min-height:0;color:#303133}
.fm-quote-column-panels>section{display:flex;flex-direction:column;min-height:0;border:1px solid #d4d4d4;border-radius:4px;overflow:hidden}
.fm-quote-column-panels header{display:flex;justify-content:space-between;padding:12px 20px;background:#ddd;font-size:13px;font-weight:600}
.fm-quote-column-scroll{overflow:auto;min-height:0;flex:1}
.fm-quote-column-scroll>.fm-quote-column-option{display:flex;align-items:center;justify-content:space-between;padding:0 20px;height:36px;font-size:13px}
.fm-quote-column-row{display:grid;grid-template-columns:22px minmax(70px,1fr) 140px 60px 20px;align-items:center;gap:5px;padding:0 10px;height:36px;font-size:13px}
.fm-quote-column-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.fm-quote-column-row>button{border:0;background:none;color:#999;cursor:grab;font-size:18px}
.fm-quote-column-row>.fm-quote-column-remove{cursor:pointer;font-size:20px}
.fm-quotation-approval-view .el-dialog__body{max-height:calc(84dvh - 140px);overflow:auto;min-height:80px}
.fm-quotation-approval-summary,.fm-quotation-approval-history header{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px}
.fm-quotation-approval-summary{margin-bottom:18px}
.fm-quotation-approval-nodes{padding-left:24px}
.fm-quotation-approval-nodes li{padding:10px 8px;display:flex;align-items:center;flex-wrap:wrap;gap:12px;border-bottom:1px solid #eee}
.fm-quotation-approval-nodes .is-current{background:#fff8f4}
.fm-quotation-approval-history{border-top:1px solid #eee;padding:14px 0}
.fm-quotation-approval-history li{display:flex;flex-wrap:wrap;gap:8px 16px;padding:7px 0;overflow-wrap:anywhere}
.fm-quotation-approval-history time{color:#909399}
.fm-quotation-approval-empty{color:#909399;text-align:center;padding:20px}
body:has(.fm-quotation-approval-view section) #pwa-action-card{visibility:hidden;pointer-events:none}
.fm-quotation-owner-transfer .el-dialog__body{max-height:70dvh;overflow:auto}
.fm-quotation-owner-transfer .el-select{width:100%;min-width:0}
.fm-quotation-owner-transfer section>p{overflow-wrap:anywhere}
body:has(.fm-quotation-owner-transfer section) #pwa-action-card{visibility:hidden;pointer-events:none}
body:has(.fm-quotation-calendar section) #pwa-action-card{visibility:hidden;pointer-events:none}
.fm-quote-column-row .el-input-number{width:68px}
.fm-quote-column-fixed{display:flex;align-items:center}
.fm-quote-column-fixed .el-checkbox{height:18px;margin-right:6px}
.fm-quote-column-fixed .el-checkbox__label{font-size:12px;padding-left:4px}
.fm-quote-columns-dialog .el-dialog__footer{justify-content:center}
.fm-quote-columns-dialog .el-button--primary{background:#d70029;border-color:#d70029}
@media(max-width:720px){.fm-quote-column-panels{grid-template-columns:1fr 1.5fr;gap:8px}.fm-quote-column-row{grid-template-columns:20px minmax(60px,1fr) 60px 20px}.fm-quote-column-fixed{grid-column:2}.fm-quote-column-row .el-input-number{grid-column:3;grid-row:1/3}.fm-quote-column-row>.fm-quote-column-remove{grid-column:4;grid-row:1/3}.fm-quote-column-scroll>label{padding:0 8px}.fm-quote-column-panels header{padding:10px 8px}}
@media(max-width:720px){.fm-quote-column-row{height:auto;min-height:54px}.fm-quote-column-fixed{flex-direction:column;align-items:flex-start}.fm-quote-column-scroll>.fm-quote-column-option{padding:0 8px}}
.fm-quote-reference-layout [data-testid="quotation-paymentMethod"]>.el-form-item__label:before,
.fm-quote-reference-layout .el-form-item:has([aria-label="报价所属部门"])>.el-form-item__label:before{content:'*';color:#d70029;margin-right:4px}
@media(max-width:1000px){.fm-quote-reference-layout .fm-quote-overview{grid-template-columns:minmax(0,1fr) 230px}}
@media(max-width:720px){.fm-quote-reference-layout.el-dialog{top:89px!important;left:0!important;right:0!important}.fm-quote-reference-layout .fm-quote-overview{grid-template-columns:1fr}.fm-quote-reference-layout .fm-quote-settings[open]>.quote-head-grid{width:calc(100vw - 80px)}.fm-quote-reference-layout .el-dialog__footer{flex-wrap:wrap}}
.fm-quote-quick-paste.el-dialog { padding:0; margin:0!important; width:100vw!important; max-width:none!important; height:100dvh!important; max-height:100dvh!important; display:flex; flex-direction:column; border-radius:0; background:#fff; font-family:-apple-system,"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","WenQuanYi Micro Hei",Arial,sans-serif; }
.fm-quote-output-overlay:has(.fm-quote-quick-paste) .el-overlay-dialog { display:block; padding:0; overflow:hidden; }
.fm-quote-quick-paste .el-dialog__header { flex:none; height:48px; box-sizing:border-box; margin:0 16px; padding:18px 0 12px; }
.fm-quote-quick-paste .el-dialog__title { font-size:18px; font-weight:400; line-height:18px; }
.fm-quote-quick-paste .el-dialog__headerbtn { top:18px; right:16px; width:10px; height:11px; font-size:10px; line-height:10px; }
.fm-quote-quick-paste .el-dialog__body { flex:1; min-height:0; box-sizing:border-box; padding:15px 20px; display:flex; overflow:hidden; }
.fm-quote-paste-main { padding:0 15px; flex:1; min-width:0; min-height:0; display:flex; flex-direction:column; outline:none; }
.fm-quote-paste-title { height:40px; flex:none; display:flex; align-items:center; justify-content:space-between; font-size:16px; font-weight:400; line-height:40px; }
.fm-quote-paste-title .el-button { font-size:14px; font-weight:400; }
.fm-quote-paste-mode { flex:none; display:flex; align-items:center; min-height:20.375px; margin-bottom:25px; white-space:nowrap; }
.fm-quote-paste-mode .el-radio-group { display:inline-flex; flex-wrap:nowrap; height:20.375px; }
.fm-quote-paste-mode .el-radio { height:20.375px; margin-right:18.890625px; font-size:14px; font-weight:400; }
.fm-quote-paste-mode .el-radio:last-child { margin-right:3px; }
.fm-quote-paste-mode .el-radio__inner { width:14px; height:14px; }
.fm-quote-paste-mode .el-radio__label { padding-left:5px; font-size:14px; font-weight:400; }
.fm-quote-paste-mode>.el-input { width:150px; height:32px; flex:none; }
.fm-quote-paste-mode>.el-input .el-input__wrapper { padding:3px 10px; border:1px solid rgb(212,215,217); box-shadow:none; border-radius:3px; }
.fm-quote-paste-mode>.el-input .el-input__inner { font-size:14px; line-height:14px; }
.fm-quote-paste-grid { flex:1; min-height:0; border:1px solid #ddd; overflow:auto; }
.fm-quote-paste-grid table { table-layout:fixed; width:2185.703125px; border-collapse:collapse; font-size:14px; line-height:30px; color:rgb(72,87,106); }
.fm-quote-paste-grid th { height:46px; box-sizing:border-box; padding:8px 12px; background:rgb(241 241 241); font-weight:700; text-align:left; border-right:1px solid #ddd; border-bottom:1px solid #ddd; }
.fm-quote-paste-grid th>div { line-height:30px; white-space:nowrap; }
.fm-quote-paste-grid td { height:31px; box-sizing:border-box; padding:0 5px; border:1px solid #ddd; font-weight:400; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; position:relative; }
.fm-quote-paste-grid td.fm-quote-paste-selected { outline:1px solid #20821b; outline-offset:-1px; }
.fm-quote-paste-cell-input { position:absolute; inset:0; width:100%; height:100%; box-sizing:border-box; padding:0 5px; border:0; outline:none; border-radius:0; font:inherit; color:inherit; background:#fff; }
.fm-quote-quick-paste .el-dialog__footer { flex:none; height:72px; box-sizing:border-box; padding:25px 20px 15px; text-align:center; }
.fm-quote-quick-paste .el-dialog__footer .el-button { min-width:63.890625px; height:32px; padding:8px 15px; border-radius:3px; font-size:14px; font-weight:400; line-height:14px; }
.fm-quote-quick-paste .el-dialog__footer .el-button+.el-button { margin-left:14px; }
.fm-quote-quick-paste .el-dialog__footer .el-button--primary { background:rgb(32,130,27); border-color:rgb(32,130,27); }
/* Original inline Element icon font; exact data-URI bytes and glyphs are recorded in ELEMENT-ICONS-SOURCE.json. */
@font-face { font-family:YoonshanQuotationElementIcons; src:url('../assets/quotation/element-icons.woff') format('woff'); font-weight:400; font-style:normal; }
.fm-quotation-source-close { font-family:YoonshanQuotationElementIcons!important; font-size:10px; font-style:normal; font-weight:400; line-height:10px; color:#909399; }
.fm-quotation-import-dialog.el-dialog { font-family:-apple-system,"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","WenQuanYi Micro Hei",Arial,sans-serif; }
.fm-quotation-import-dialog .el-dialog__header { height:48px; box-sizing:border-box; margin:0 16px; padding:18px 0 12px; }
.fm-quotation-import-dialog .el-dialog__title { font-size:18px; font-weight:400; line-height:18px; }
.fm-quotation-import-dialog .el-dialog__headerbtn { top:18px; right:16px; height:11px; width:10px; padding:0; font-size:10px; }
.fm-quotation-import-dialog .el-dialog__body { padding:15px 20px; font-size:14px; color:rgb(72,87,106); line-height:normal; }
.fm-quotation-import-dialog .el-dialog__footer { padding:10px 20px 15px; }
.fm-quotation-import-dialog .el-dialog__footer .el-button { height:32px; padding:8px 15px; font-size:14px; line-height:14px; border-radius:3px; font-weight:400; }
.fm-quotation-import-dialog .el-dialog__footer .el-button+.el-button { margin-left:10px; }
.fm-quotation-import-dialog .el-dialog__footer .el-button--primary.is-disabled { color:rgb(223,226,228); border-color:rgb(223,226,228); background:rgb(242 242 242); }
.fm-quotation-import-icon { display:block; font-family:YoonshanQuotationElementIcons!important; font-size:67px; font-style:normal; font-weight:400; line-height:50px; width:67px; height:50px; margin:40px 0 16px; color:rgb(192,196,205); }
.fm-quotation-import-drop { box-sizing:border-box; }
.fm-quotation-import-drop p { margin:0; width:100%; font-size:14px; line-height:normal; color:rgb(192,196,205); }
.fm-quotation-import-drop>.el-button { display:inline-flex; height:30px; margin:0; padding:8px 0; font-size:14px; line-height:14px; color:rgb(208,2,27); }
.fm-quotation-import-link { color:rgb(208,2,27); }
.fm-quotation-import-tips { padding:0; margin-top:10px; font-size:12px; line-height:normal; color:rgb(144,147,153); }
.fm-quotation-import-dialog .el-dialog__header,.fm-quotation-import-dialog .el-dialog__footer { border:0; }
.fm-quotation-import-tips p { font-family:inherit; font-size:12px; line-height:normal; }
/* VL01 create form: page padding, 79px field cells and the separate 306px sticky ticket. */
.fm-quote-reference-layout.el-dialog { top:79px!important; left:69px!important; right:15px!important; height:calc(100dvh - 79px)!important; padding:0; background:#e9e9e9; }
.fm-quote-reference-layout .record-form { min-width:1056px; margin:0; padding:0; }
.fm-quote-reference-layout .fm-quote-overview { display:block; position:relative; padding:10px 340px 16px 10px; box-sizing:border-box; }
.fm-quote-reference-layout .fm-trade-form-card { box-sizing:border-box; padding:16px 0 0; border-radius:5px; }
.fm-quote-reference-layout .fm-trade-form-card>h4 { margin:0; padding:0 20px; min-height:20px; font-size:14px; font-weight:400; line-height:20px; }
.fm-quote-reference-layout .fm-trade-form-card>.quote-head-grid { padding:10px 10px 0; gap:0; grid-template-columns:repeat(4,minmax(0,1fr)); }
.fm-quote-reference-layout .fm-trade-form-card>.quote-head-grid>.el-form-item { box-sizing:border-box; min-height:79px; margin:0; padding:12px 10px; }
.fm-quote-reference-layout .fm-trade-form-card>.quote-head-grid>.el-form-item.fm-parity-span-2 { min-height:78px; grid-column:span 2; }
.fm-quote-reference-layout .fm-trade-form-card>.quote-head-grid>.el-form-item:nth-last-child(-n+2) { margin:0; }
.fm-quote-reference-layout .fm-trade-form-card>.quote-head-grid .el-form-item__label { display:flex; height:17px; min-height:17px; margin:0 0 6px; padding:0; font-size:12px; font-weight:400; line-height:17px; white-space:nowrap; }
.fm-quote-reference-layout .fm-trade-form-card>.quote-head-grid .el-form-item__content { min-height:32px; line-height:normal; }
.fm-quote-reference-layout .fm-trade-form-card>.quote-head-grid .el-input__wrapper,.fm-quote-reference-layout .fm-trade-form-card>.quote-head-grid .el-select__wrapper { box-sizing:border-box; min-height:32px; height:32px; padding:3px 10px; border-radius:3px; }
.fm-quote-reference-layout .fm-trade-form-card>.quote-head-grid .el-textarea__inner { box-sizing:border-box; min-height:31px!important; height:31px; padding:3px 10px; font-size:14px; line-height:normal; }
.fm-quote-reference-layout .fm-quote-summary-holder { position:absolute; top:10px; right:10px; height:98%; margin:0 6px 0 16px; width:306px; }
.fm-quote-reference-layout .fm-quote-order-summary { box-sizing:border-box; position:sticky; top:0; width:306px; padding:12px 10px; }
.fm-quote-reference-layout .fm-quote-order-summary h3 { box-sizing:border-box; min-height:37px; padding:0 0 12px; margin:0 0 16px; border-bottom:1px dashed #ccc; font-size:16px; font-weight:700; line-height:24px; }
.fm-quote-reference-layout .fm-quote-order-summary dl>div { display:flex; align-items:center; min-height:20px; padding:0; margin:0 0 8px; font-size:14px; line-height:normal; }

.fm-quote-reference-layout .fm-quote-order-summary dt { width:116px; margin-right:10px; flex:none; }
.fm-quote-reference-layout .fm-quote-order-summary dd { width:160px; text-align:right; }
.fm-quote-reference-layout .fm-trade-form-card>.quote-head-grid { display:flex; flex-wrap:wrap; align-items:flex-start; }
.fm-quote-reference-layout .fm-trade-form-card>.quote-head-grid>.el-form-item { flex:0 0 auto; padding:4px 10px 12px; }
.fm-quote-reference-layout .fm-trade-form-card>.quote-head-grid .el-form-item__label { margin:8px 0 6px; }
.fm-quote-reference-layout [data-testid="quotation-header-attachments"] input[type=file] { display:block; }
.fm-quote-reference-layout [data-testid="quotation-header-attachments"] ul:empty { display:none; }
.fm-quotation-list-print-menu { z-index:3201!important; }
.fm-quote-reference-layout,.fm-quotations,.fm-quotation-detail,.fm-quotation-list-settings,.fm-quote-columns-dialog { font-family:-apple-system,"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","WenQuanYi Micro Hei",Arial,sans-serif; }
.fm-quotations .fm-quotation-table th.el-table__cell,.fm-quotations .fm-quotation-table td.el-table__cell { padding:0; color:rgb(13,13,13); font-family:"PingFang SC","PingFang SC-400"; font-size:14px; font-weight:450; line-height:18px; }
.fm-quotations .fm-quotation-table th.el-table__cell { height:40px; }
.fm-quotations .fm-quotation-table td.el-table__cell { height:42px; }
.fm-quotations .fm-quotation-table .cell { line-height:18px; }

/* Original FieldDialog plain column-width input is 60px; raw width and table minimum remain separate. */
.fm-quote-column-row>.el-input { width:60px; }
@media(max-width:720px){.fm-quote-column-row>.el-input{grid-column:3;grid-row:1/3}}

/* Keep the quotation shell inside its declared inset even under the shared mobile dialog rule. */
.fm-quote-reference-layout.el-dialog { width:auto!important; max-width:none!important; }

/* VL01 contact/company/bank BlockForm groups and their measured field cells. */
.fm-quote-reference-layout .fm-quote-section-card:has(>.fm-quotation-contact-editor){padding:0 20px;background:transparent;margin:12px 0;}
.fm-quotation-contact-group{padding:16px 0 10px;margin:0 0 16px;background:#fff;}
.fm-quotation-contact-group>h4{box-sizing:border-box;margin:0;padding:0 20px;height:20px;font-size:14px;font-weight:700;line-height:20px;}
.fm-quotation-contact-grid{display:flex;flex-wrap:wrap;align-items:flex-start;box-sizing:border-box;padding:10px 10px 0;}
.fm-quotation-contact-grid>.el-form-item{box-sizing:border-box;flex:0 0 auto;min-height:79px;margin:0;padding:4px 10px 12px;}
.fm-quotation-contact-grid>.el-form-item.fm-parity-span-2{min-height:78px;}
.fm-quotation-contact-grid .el-form-item__label{display:flex;height:17px;margin:8px 0 6px;padding:0;font-size:12px;line-height:17px;}
.fm-quotation-contact-grid .el-form-item__content{min-height:32px;line-height:normal;}
.fm-quotation-contact-grid .el-input,.fm-quotation-contact-grid .el-select{width:100%;}
.fm-quotation-contact-grid .el-input__wrapper,.fm-quotation-contact-grid .el-select__wrapper{box-sizing:border-box;height:32px;min-height:32px;padding:3px 10px;border-radius:3px;}
.fm-quotation-contact-grid .el-textarea__inner{box-sizing:border-box;height:31px;min-height:31px!important;padding:3px 10px;font-size:14px;line-height:normal;}
.fm-quotation-contact-grid>.fm-parity-span-2 .el-form-item__content{min-height:31px;}

/* Same-CSS-version packaged original list glyphs; scoped family avoids global icon collisions. */
@font-face{font-family:"YoonshanQuotationListIcons";src:url("../assets/quotation/list-icons.woff") format("woff");font-style:normal;font-weight:100 900;font-display:block;}
.fm-quotation-list-icon{font-family:"YoonshanQuotationListIcons"!important;font-size:20px;font-style:normal;font-weight:450;line-height:24px;-webkit-font-smoothing:antialiased;display:inline-block;}

/* VL01 main-list FieldDialog: 900px body, 48px header and 340/500px field panels. */
.fm-quotation-list-settings.el-dialog{width:900px!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 48px)!important;margin:40px auto 0!important;padding:0;border-radius:3px;}
.fm-quotation-list-settings .el-dialog__header{box-sizing:border-box;margin:0 16px;padding:18px 0 12px;height:48px;border:0;}
.fm-quotation-list-settings .el-dialog__title{font-size:14px;line-height:18px;font-weight:400;}
.fm-quotation-list-settings .el-dialog__body{padding:15px 20px;overflow:auto;min-height:0;}
.fm-quotation-list-settings .el-dialog__footer{display:flex;align-items:center;gap:0;padding:13px 20px 20px;border:0;}
.fm-quotation-list-settings .el-dialog__footer .el-button{height:32px;padding:8px 15px;font-size:14px;line-height:14px;border-radius:3px;}
.fm-quotation-list-settings .el-dialog__footer .el-button+.el-button{margin-left:14px;}
.fm-quotation-list-settings .el-dialog__footer .el-button.is-link{padding:0 0 0 15px;color:#333;}
.fm-quotation-settings-content{min-width:860px;}
.fm-quotation-settings-form{height:106px;}
.fm-quotation-settings-form-row{display:flex;min-height:36px;align-items:center;}
.fm-quotation-settings-form-row>label{box-sizing:border-box;flex:0 0 100px;width:100px;line-height:36px;color:#606266;}
.fm-quotation-settings-form-row>.el-radio-group{display:flex;flex:1;}
.fm-quotation-settings-form-row .el-radio{box-sizing:border-box;flex:1;margin:0;height:35px;}
.fm-quotation-settings-display{align-items:flex-start;}
.fm-quotation-settings-switches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));flex:1;}
.fm-quotation-settings-switches>label{display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;flex:1;padding-right:36px;height:35px;color:#606266;}
.fm-quotation-settings-switches .el-switch{height:35px;}
.fm-quotation-settings-panels{display:grid;grid-template-columns:340px 500px;gap:20px;margin-top:15px;}
.fm-quotation-settings-panels>section{box-sizing:border-box;height:527px;min-width:0;border:1px solid #d4d7d9;}
.fm-quotation-settings-panels h6{box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;height:40px;margin:0;padding:10px 20px;font-size:14px;line-height:20px;font-weight:700;color:#111;}
.fm-quotation-settings-scroll{height:486px;overflow:auto;}
.fm-quotation-settings-scroll>.el-checkbox{display:flex;flex-direction:row-reverse;justify-content:space-between;box-sizing:border-box;height:36px;margin:0;padding:0 20px;color:#48576a;font-weight:400;}
.fm-quotation-settings-scroll>.el-checkbox .el-checkbox__label{flex:1;padding:0;}
.fm-quotation-source-setting-row{display:grid;grid-template-columns:26px 150px 1fr 60px 26px;align-items:center;box-sizing:border-box;height:36px;font-size:14px;color:#48576a;}
.fm-quotation-source-setting-row>button{border:0;background:none;color:#999;cursor:pointer;padding:0;}
.fm-quotation-source-setting-row>button[draggable]{cursor:grab;}
.fm-quotation-source-setting-row>button .fm-quotation-list-icon{font-size:16px;}
.fm-quotation-source-setting-row>.el-input{width:60px;}
.fm-quotation-source-setting-row .el-input__wrapper{height:28px;min-height:28px;padding:0 6px;border-radius:3px;}
.fm-quotation-source-setting-row .el-checkbox{height:36px;margin:0;}
.fm-quotation-list-settings .el-dialog__headerbtn .el-icon{display:none;}
.fm-quotation-list-settings .el-dialog__headerbtn::after{content:"\e60c";font-family:"YoonshanQuotationElementIcons";font-size:10px;color:#909399;}

.fm-quotation-list-settings{--el-color-primary:#d0021b;--el-checkbox-checked-text-color:#111;--el-radio-checked-text-color:#111;--el-checkbox-input-height:16px;--el-checkbox-input-width:16px;--el-font-size-base:14px;}
.fm-quotation-list-settings .el-radio__label,.fm-quotation-list-settings .el-checkbox__label{color:#111!important;font-weight:400;}
.fm-quotation-list-settings .el-radio__label{padding-left:5px;line-height:35px;}
.fm-quotation-list-settings .el-checkbox__inner{border-color:#dde2e9;}
.fm-quotation-list-settings .el-checkbox__input.is-checked .el-checkbox__inner{border-color:#dde2e9;background:#d0021b;}
.fm-quotation-settings-scroll>.el-checkbox .el-checkbox__label{padding-left:5px;line-height:36px;}
.fm-quotation-source-setting-row{grid-template-columns:3fr 10fr 5fr 4fr 2fr;color:#111;}
.fm-quotation-source-setting-row>.el-input{justify-self:center;}
.fm-quotation-source-setting-row>button:not([draggable]) .fm-quotation-list-icon{font-size:12px;}
.fm-quotation-settings-scroll::-webkit-scrollbar{width:5px;height:5px;}
.fm-quotation-settings-switches>label{justify-content:flex-start;gap:8px;padding-right:0;color:#111;}
.fm-quotation-settings-switches .el-switch__core{width:32px;min-width:32px;height:18px;border-color:#dfe2e4;background:#e2e2e2;}
.fm-quotation-settings-switches .el-switch__action{width:14px;height:14px;left:1px;}
.fm-quotation-settings-switches .el-switch.is-checked .el-switch__core{border-color:#d0021b;background:#d0021b;}
.fm-quotation-settings-switches .el-switch.is-checked .el-switch__action{left:calc(100% - 15px);}
.fm-quotation-list-settings .el-dialog__headerbtn{right:16px;top:18px;width:10px;height:11px;padding:0;line-height:normal;}
.fm-quotation-list-settings .el-dialog__footer{overflow-x:auto;}

.fm-quotation-list-settings .el-checkbox__inner{width:16px;height:16px;}
.fm-quotation-settings-form{position:relative;}
.fm-quotation-business-fields-link.el-button{position:absolute;right:0;bottom:-10px;height:30px;margin:0;padding:0;font-size:14px;color:#606266;background:none;border:0;}
.fm-quotation-settings-scroll>.el-checkbox,.fm-quotation-source-setting-row{width:calc(100% - 5px);}

.fm-quotation-footer-lines { display:flex; flex-direction:column; font-size:12px; font-weight:400; }
.fm-quotation-footer-line { min-height:28px; line-height:28px; white-space:nowrap; }

.fm-quotation-bom-toolbar { display:flex; flex-wrap:nowrap; gap:4px; height:43px; min-width:790px; align-items:flex-start; }
.fm-quotation-bom-toolbar .el-button { height:32px; margin:0; padding:0 12px; }
.fm-quotation-bom-toolbar>.el-button:first-child { margin-right:8px; }
.fm-quotation-bom-toolbar>.el-button:nth-child(3) { margin-right:29px; }
.fm-quotation-bom-toolbar>.el-button:last-child { margin-left:29px; }
.fm-aux-row-index { border:0; background:none; color:inherit; min-width:40px; cursor:pointer; }
.fm-aux-selected-row { --el-table-tr-bg-color:#f4f4f4; }
.fm-quotation-bom-table .el-table__footer-wrapper td { height:49px; }

.fm-quotation-fee-toolbar { display:flex; gap:4px; align-items:flex-start; height:43px; min-width:600px; }
.fm-quotation-fee-toolbar .el-button { height:32px; margin:0; padding:0 12px; }
.fm-quotation-fee-toolbar>.el-button:first-child { margin-right:29px; }
.fm-quotation-customer-fees .el-table__footer-wrapper td { height:49px; }

.fm-quotation-cost-toolbar { display:flex; gap:4px; align-items:flex-start; height:43px; min-width:500px; }
.fm-quotation-cost-toolbar .el-button { height:32px; margin:0; padding:0 12px; }
.fm-quotation-cost-toolbar>.el-button:first-child { margin-right:29px; }
.fm-quotation-cost-fields .el-table__footer-wrapper td { height:49px; }
.fm-quotation-cost-record-controls { display:flex; gap:8px; margin-bottom:8px; }
.fm-quotation-cost-history { margin-top:12px; }

.fm-quotation-bom-toolbar { box-sizing:border-box; padding-left:156px; min-width:880px; }
.fm-quotation-bom-toolbar>.el-button:last-child { margin-left:0; }
.fm-quotation-bom-toolbar>.el-button:nth-child(1) { width:100px; }
.fm-quotation-bom-toolbar>.el-button:nth-child(2) { width:86px; }
.fm-quotation-bom-toolbar>.el-button:nth-child(3) { width:64px; }
.fm-quotation-bom-toolbar>.el-button:nth-child(4),.fm-quotation-bom-toolbar>.el-button:nth-child(5) { width:58px; }
.fm-quotation-bom-toolbar>.el-button:nth-child(6) { width:72px; }
.fm-quotation-bom-toolbar>.el-button:last-child { width:114px; }
.fm-quotation-fee-toolbar,.fm-quotation-cost-toolbar { box-sizing:border-box; padding-left:12px; }
.fm-quotation-fee-toolbar>.el-button:nth-child(1),.fm-quotation-cost-toolbar>.el-button:nth-child(1) { width:64px; }
.fm-quotation-fee-toolbar>.el-button:nth-child(2),.fm-quotation-fee-toolbar>.el-button:nth-child(3),.fm-quotation-cost-toolbar>.el-button:nth-child(2),.fm-quotation-cost-toolbar>.el-button:nth-child(3) { width:58px; }
.fm-quotation-fee-toolbar>.el-button:nth-child(4) { width:86px; }
.fm-quotation-fee-toolbar>.el-button:nth-child(5),.fm-quotation-cost-toolbar>.el-button:nth-child(4) { width:72px; }
.fm-quotation-bom-toolbar .el-button,.fm-quotation-fee-toolbar .el-button,.fm-quotation-cost-toolbar .el-button { flex-shrink:0; font-size:14px; font-weight:400; line-height:14px; }
.fm-quotation-bom-toolbar .el-button:not(.is-disabled),.fm-quotation-fee-toolbar .el-button:not(.is-disabled),.fm-quotation-cost-toolbar .el-button:not(.is-disabled) { color:#111; }
.fm-quotation-bom-toolbar .el-button-group>.el-button:first-child,.fm-quotation-fee-toolbar .el-button-group>.el-button:first-child,.fm-quotation-cost-toolbar .el-button-group>.el-button:first-child { width:78px; }
.fm-quotation-bom-toolbar .el-dropdown__caret-button,.fm-quotation-fee-toolbar .el-dropdown__caret-button,.fm-quotation-cost-toolbar .el-dropdown__caret-button { width:29px; padding:0; margin-left:0!important; }
.fm-quote-reference-layout .fm-quotation-bom-table .el-table__header th.el-table__cell,.fm-quote-reference-layout .fm-quotation-customer-fees .el-table__header th.el-table__cell,.fm-quote-reference-layout .fm-quotation-cost-fields .el-table__header th.el-table__cell { height:40px; padding:0; font-size:14px; font-weight:700; line-height:22px; color:#111; }

.fm-quote-reference-layout .fm-quotation-bom-table .el-table__header th.el-table__cell>.cell,.fm-quote-reference-layout .fm-quotation-customer-fees .el-table__header th.el-table__cell>.cell,.fm-quote-reference-layout .fm-quotation-cost-fields .el-table__header th.el-table__cell>.cell { font-size:14px; font-weight:700; line-height:22px; padding:0 10px; }
.fm-quotation-calendar .el-dialog__body{max-height:70dvh;overflow:auto;overflow-wrap:anywhere}.fm-quotation-calendar .el-select{width:100%}.fm-quotation-calendar .el-input-number{max-width:160px}
