:root{--brand-seed:#0878d9;--brand-color:#0870ca;--brand-soft:#ebf4fc;--brand-action:#0874d0;--brand-action-hover:#0767b8;--brand-action-pressed:#065a9f;--brand-on-action:#fff;--app-bg:#f3f5f8;--surface:#fff;--surface-muted:#f5f7fa;--sidebar-bg:#f7f8fb;--border:#d9dfe8;--border-subtle:#e9edf3;--text-primary:#1c2536;--text-regular:#344156;--text-secondary:#65738a;--text-placeholder:#8995a8;--control-radius:2px;--el-border-radius-base:2px;--el-border-radius-small:2px;--el-font-size-base:14px;--el-font-family:"Segoe UI","Microsoft YaHei","PingFang SC",system-ui,sans-serif;--el-color-primary:#0878d9}html,body{font-family:var(--el-font-family);color:var(--text-primary);background:var(--app-bg)}*{scrollbar-width:thin;scrollbar-color:var(--border) transparent}::selection{background:color-mix(in srgb,var(--brand-color) 30%,var(--surface));color:var(--text-primary)}:focus-visible{outline:2px solid var(--brand-color);outline-offset:2px}.el-button{border-radius:var(--control-radius);letter-spacing:0;height:34px;box-shadow:none;padding:8px 14px;font-weight:500;transition:background-color .12s,border-color .12s,color .12s}.el-button:is(.is-link,.is-text,.el-button--text){height:34px;padding:8px 14px}.el-button--primary:not(.is-plain):not(.is-link):not(.is-text){--el-button-bg-color:var(--brand-action);--el-button-border-color:var(--brand-action);--el-button-text-color:var(--brand-on-action);--el-button-hover-bg-color:var(--brand-action-hover);--el-button-hover-border-color:var(--brand-action-hover);--el-button-hover-text-color:var(--brand-on-action);--el-button-active-bg-color:var(--brand-action-pressed);--el-button-active-border-color:var(--brand-action-pressed);--el-button-disabled-bg-color:var(--el-color-primary-light-5);--el-button-disabled-border-color:var(--el-color-primary-light-5)}.el-button,button:not(:where([class^=el-],[class*=\ el-],.navigation-scrim)){border:1px solid var(--el-button-border-color,var(--border))!important}.el-button:not(.is-disabled):is(:hover,:focus-visible){border-color:var(--el-button-hover-border-color,var(--border))!important}.el-button:not(.is-disabled):active{border-color:var(--el-button-active-border-color,var(--border))!important}.el-button.is-disabled,.el-button:is(.is-link,.is-text,.el-button--text).is-disabled{border-color:var(--el-button-disabled-border-color,var(--border))!important}.el-button{--workspace-button-color:var(--text-regular)}.el-button--primary{--workspace-button-color:var(--brand-color)}.el-button--success{--workspace-button-color:var(--el-color-success)}.el-button--warning{--workspace-button-color:var(--el-color-warning)}.el-button--danger{--workspace-button-color:var(--el-color-danger)}.el-button--info{--workspace-button-color:var(--el-color-info)}@scope(td,th) to (.el-dialog,.el-drawer,.el-popper,.el-message-box){.el-button,button:not(:where([class^=el-],[class*=\ el-])){border:0!important}:scope .el-button{height:auto;padding:4px 5px;color:var(--workspace-button-color)!important;background:0 0!important}.el-button:not(.is-disabled):hover,.el-button:not(.is-disabled):focus-visible{color:color-mix(in srgb, var(--workspace-button-color) 75%, var(--surface))!important}.el-button:not(.is-disabled):active{color:var(--workspace-button-color)!important}.el-button.is-disabled{color:color-mix(in srgb, var(--workspace-button-color) 45%, var(--surface))!important}}.el-input__wrapper,.el-select__wrapper,.el-textarea__inner{border-radius:var(--control-radius);background:var(--surface);box-shadow:0 0 0 1px var(--border) inset;transition:box-shadow .12s}.el-input__wrapper,.el-select__wrapper{min-height:34px}.el-input__inner,.el-textarea__inner,.el-select__selected-item{font-family:var(--el-font-family);color:var(--text-primary);font-size:13px}.el-input__wrapper.is-focus,.el-select__wrapper.is-focused,.el-textarea__inner:focus{box-shadow:0 0 0 1px var(--brand-color) inset,0 0 0 2px var(--brand-soft)}.proforma-template-editor :is(.template-editor-controls,.template-editor-content) :is(input:not([type=checkbox]),select,textarea):focus{border-color:var(--brand-color);box-shadow:0 0 0 2px var(--brand-soft);outline:none}.el-select__wrapper:focus-visible,.el-select__input:focus-visible{outline:none}.el-input-group__prepend,.el-input-group__append{color:var(--text-secondary);background:var(--surface-muted)}.el-form-item__label{color:var(--text-regular);font-size:13px;font-weight:500;line-height:22px}.el-form--label-top .el-form-item__label{margin-bottom:6px}.el-form-item{margin-bottom:16px}.el-table{--el-table-header-bg-color:var(--surface-muted);--el-table-header-text-color:var(--text-secondary);--el-table-row-hover-bg-color:var(--surface-muted);--el-table-current-row-bg-color:var(--brand-soft);--el-table-border-color:var(--border-subtle);font-variant-numeric:tabular-nums;border-radius:2px;font-size:13px}.el-table th.el-table__cell{height:40px;font-size:12px;font-weight:600}.el-table td.el-table__cell{height:44px;padding:7px 0}.el-table .cell{line-height:22px}.el-table--border .el-table__cell{border-right-color:var(--border-subtle)}.el-tag{border-radius:2px;font-size:12px;font-weight:500}.el-checkbox__inner,.el-radio__inner{border-color:var(--border)}.el-checkbox__inner{border-radius:2px}.el-pagination{--el-pagination-button-bg-color:var(--surface);font-size:12px}.el-pager li{border-radius:2px}.el-pager li.is-active{background:var(--brand-soft)}.el-dialog{border:1px solid var(--border-subtle);background:var(--surface);box-shadow:var(--el-box-shadow);border-radius:2px;padding:0;overflow:hidden}.el-dialog__header{border-bottom:1px solid var(--border-subtle);margin:0;padding:18px 22px}.el-dialog__title{color:var(--text-primary);font-size:17px;font-weight:600}.el-dialog__headerbtn{height:60px;top:0;right:6px}.el-dialog__body{color:var(--text-regular);padding:20px 22px}.el-dialog__footer{border-top:1px solid var(--border-subtle);background:var(--surface);padding:14px 22px}.el-drawer{background:var(--surface);box-shadow:var(--el-box-shadow)}.el-drawer__header{box-sizing:border-box;border-bottom:1px solid var(--border-subtle);height:60px;color:var(--text-primary);flex-shrink:0;margin:0;padding:0 20px}.el-drawer__title{font-size:17px;font-weight:600}.el-drawer__body{padding:20px}.el-drawer__footer{border-top:1px solid var(--border-subtle);text-align:left;padding:14px 20px}.el-message-box{background:var(--surface);border-radius:2px}.el-message-box__title{font-size:17px;font-weight:600}.el-message-box__btns .el-button{min-width:74px}.el-message{border-radius:2px}.el-tabs__item{font-size:13px}.el-tabs__active-bar{height:2px}.el-overlay .el-form,.el-drawer .el-form{min-width:0}.el-overlay .el-checkbox{white-space:normal;height:auto;min-height:32px}.el-overlay .el-checkbox__label{white-space:normal;line-height:1.5}.el-popper.is-light,.el-select-dropdown,.el-picker-panel{background:var(--surface);color:var(--text-primary);border-color:var(--border)}.el-popper{--el-popper-border-radius:var(--control-radius)}.el-button.el-button--small,.el-checkbox.is-bordered.el-checkbox--small,.el-scrollbar__bar,.el-tabs__item:focus-visible{border-radius:var(--control-radius)}.el-input::-webkit-scrollbar-thumb{border-radius:var(--control-radius)}@media (width<=700px){.el-dialog__header{padding:16px 14px}.el-dialog__body,.el-drawer__body{padding:14px}.el-dialog__footer,.el-drawer__footer{padding:12px 14px}.el-message{max-width:calc(100vw - 24px)}.el-dialog__title,.el-drawer__title{font-size:16px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:0s!important;animation-duration:0s!important}}:is(.el-table.is-scrolling-none>.el-table__inner-wrapper>:is(.el-table__header-wrapper,.el-table__footer-wrapper),.el-table.is-scrolling-none>.el-table__inner-wrapper>.el-table__body-wrapper>.el-scrollbar>.el-scrollbar__wrap>.el-scrollbar__view)>table>:is(thead,tbody,tfoot)>tr>:is(.el-table-fixed-column--left,.el-table-fixed-column--right,.el-table__fixed-right-patch){z-index:auto!important;box-shadow:none!important;position:static!important;left:auto!important;right:auto!important}:is(.el-table.is-scrolling-none>.el-table__inner-wrapper>:is(.el-table__header-wrapper,.el-table__footer-wrapper),.el-table.is-scrolling-none>.el-table__inner-wrapper>.el-table__body-wrapper>.el-scrollbar>.el-scrollbar__wrap>.el-scrollbar__view)>table>:is(thead,tbody,tfoot)>tr>:is(.el-table-fixed-column--left,.el-table-fixed-column--right,.el-table__fixed-right-patch):before{display:none!important}:is(.el-table--border.is-scrolling-none>.el-table__inner-wrapper>:is(.el-table__header-wrapper,.el-table__footer-wrapper),.el-table--border.is-scrolling-none>.el-table__inner-wrapper>.el-table__body-wrapper>.el-scrollbar>.el-scrollbar__wrap>.el-scrollbar__view)>table>:is(thead,tbody,tfoot)>tr>.el-table-fixed-column--left.is-last-column.el-table__cell{border-right:var(--el-table-border)}.workspace-table-region{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;overflow:hidden}.workspace-table-region>.el-table{flex:1;min-height:0}.workspace-pagination-area{flex-wrap:wrap;flex:none;justify-content:flex-start;align-items:center;gap:8px;min-width:0;display:flex}.workspace-pagination-area:empty{display:none}.workspace-pagination:not(:has(.workspace-pagination-group:not([hidden]))){display:none}.workspace-form-sections{align-content:start;gap:16px;min-width:0;display:grid}.workspace-form-sections--columns{grid-template-columns:repeat(auto-fit,minmax(min(100%,480px),1fr))}.workspace-form-section{min-width:0;margin:0;padding:0;container:workspace-form/inline-size}.workspace-form-section.is-card{border:1px solid var(--border);border-radius:var(--control-radius);background:var(--surface)}.workspace-form-section>.workspace-form-section-title{box-sizing:border-box;border-bottom:1px solid var(--border-subtle);background:var(--surface-muted);min-height:36px;color:var(--text-primary);flex-wrap:wrap;align-items:center;gap:8px;margin:0;padding:8px 12px;font-size:14px;font-weight:600;line-height:20px;display:flex}.workspace-form-section-body{grid-template-columns:minmax(0,1fr);align-items:start;gap:10px 12px;min-width:0;padding:0;display:grid}.workspace-form-section.is-card>.workspace-form-section-body{padding:12px}.workspace-form-section-body>:not(.workspace-form-field){grid-column:1/-1;min-width:0}.workspace-form-section-body>p{margin:0}.workspace-form-field.el-form-item{min-width:0;margin:0}.workspace-form-field.is-full-row{grid-column:1/-1}.workspace-form-field .el-form-item__label{margin-bottom:4px;font-weight:600}.workspace-form-field .el-form-item__content{min-width:0}.workspace-form-field .el-form-item__error:not(.el-form-item__error--inline){flex-basis:100%;padding-top:4px;position:static}.workspace-form-value{box-sizing:border-box;width:100%;min-height:32px;color:var(--text-primary);white-space:pre-wrap;overflow-wrap:anywhere;padding:5px 0;line-height:22px;display:block}@container workspace-form (width>=400px){.workspace-form-section-body{grid-template-columns:repeat(2,minmax(0,1fr))}}@container workspace-form (width>=720px){.workspace-form-section-body{grid-template-columns:repeat(4,minmax(0,1fr))}}@container workspace-form (width>=1080px){.workspace-form-section-body{grid-template-columns:repeat(6,minmax(0,1fr))}}@container workspace-form (width>=1440px){.workspace-form-section-body{grid-template-columns:repeat(8,minmax(0,1fr))}}@container workspace-form (width>=400px){.workspace-form-field.is-span-two{grid-column:auto/span 2}}.workspace-form-field.is-row-start{grid-column-start:1}@container workspace-form (width>=900px){.workspace-form-section.has-five-columns>.workspace-form-section-body{grid-template-columns:repeat(5,minmax(0,1fr))}}.actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.actions .el-button+.el-button{margin-left:0}.editor-scroll{min-width:0;max-height:64vh;overflow:auto}.notice{color:var(--text-secondary);font-size:13px;line-height:1.6}.workspace-detail-content{min-width:0}.workspace-section{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;overflow:auto}.workspace-section:has(>.workspace-list-pane,>.workspace-tab-content){overflow:hidden}.workspace-more-actions{flex:none;font-size:13px;position:relative}.workspace-more-actions>summary{cursor:pointer;box-sizing:border-box;border:1px solid var(--border);border-radius:var(--control-radius);min-height:34px;color:var(--text-regular);align-items:center;padding:6px 12px;list-style:none;display:flex}.workspace-more-actions>summary:after{content:"⌄";margin-left:8px}.workspace-more-actions>div{z-index:50;box-sizing:border-box;background:var(--surface);border:1px solid var(--border);width:240px;max-width:calc(100vw - 40px);max-height:50vh;box-shadow:var(--el-box-shadow-light);flex-direction:column;gap:10px;padding:12px;display:flex;position:absolute;top:calc(100% + 6px);right:0;overflow:auto}.workspace-more-actions>div>.el-button{justify-content:flex-start;margin:0}.product-table-icon{object-fit:contain;flex:none;width:22px;height:22px;margin-right:8px}.linked-records a{margin:0 14px 8px 0;display:inline-block}.linked-records h3{font-size:15px}.document-content{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.7}.workspace-tab-panel,.workspace-tab-content,.workspace-list-pane{flex-direction:column;flex:1;gap:16px;min-width:0;min-height:0;display:flex;overflow:hidden}.quote-summary{box-sizing:border-box;border:1px solid var(--border-subtle);background:var(--surface-muted);border-radius:2px;flex-wrap:wrap;gap:0 20px;max-width:100%;min-height:34px;margin:0;padding:0 12px;display:flex}.quote-summary-item{box-sizing:border-box;flex-wrap:wrap;align-items:center;gap:6px;min-width:0;min-height:32px;padding:5px 0;display:flex;position:relative}.quote-summary-item+.quote-summary-item:before{content:"";border-left:1px solid var(--border);position:absolute;top:8px;bottom:8px;left:-10px}.quote-summary-label{color:var(--text-secondary);white-space:nowrap;flex:none;font-size:12px;line-height:22px}.quote-summary-value{min-width:0;color:var(--text-primary);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;flex-wrap:wrap;align-items:baseline;gap:4px;margin:0;font-size:14px;font-weight:600;line-height:22px;display:flex}.quote-summary-unit{color:var(--text-secondary);font-size:12px;font-weight:500}.quote-search-highlight{background:var(--el-color-warning-light-9);color:inherit;border-radius:2px;padding:0 2px}.quote-draft-table .el-table__body .quote-group-row>td.el-table__cell{border-top:1px solid var(--border);background-color:var(--surface)}.quote-draft-table .el-table__body .quote-group-row>td.el-table__cell.quote-group-goods{color:#1f2937;background-color:#92d050}.quote-draft-table .quote-group-row .quote-description-preview{font-weight:600}.quote-image-cell{box-sizing:border-box;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:40px;align-content:center;gap:4px;width:100%;height:100%;min-height:78px;padding:6px;display:grid}.quote-image-cell.is-single{grid-template-columns:minmax(0,1fr);grid-auto-rows:66px}.quote-table-header{white-space:normal;line-height:1.25;display:inline-block}.quote-goods-cell{min-width:0}.quote-operation-cell{justify-content:center;gap:8px;display:flex}.quote-operation-cell .el-button+.el-button{margin-left:0}.quote-image-thumb{border:1px solid var(--border-subtle);background:var(--surface-muted);cursor:zoom-in;border-radius:2px;outline:none;justify-content:center;align-items:center;width:100%;height:100%;padding:0;display:flex;position:relative;overflow:hidden}.quote-image-thumb:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:-2px}.quote-image-thumb img{object-fit:contain;width:100%;height:100%}.quote-image-more{min-width:22px;color:var(--brand-on-action);pointer-events:none;text-align:center;background:#0f172ad1;border-radius:999px;padding:2px 5px;font-size:11px;font-weight:600;line-height:1.2;position:absolute;top:3px;right:3px}.quote-description-preview{font-family:var(--el-font-family);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.65}
