.sales-library{margin:0 auto;max-width:1600px;padding:18px}.sales-library>header,.sales-library-editor>header,.sales-library footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.sales-library h2,.sales-library h3{margin:0 0 6px}.sales-library header>div:last-child{display:flex;gap:8px}.sales-library small{color:#70849c}.sales-library nav{display:flex;gap:6px;background:#edf3fa;border-radius:9px;padding:5px;margin:16px 0}.sales-library nav button{flex:1;border:0;background:transparent;color:#526c8b;border-radius:6px;padding:12px;font:inherit;cursor:pointer}.sales-library nav button.active{background:white;box-shadow:0 1px 5px #18365016;color:#235b9c;font-weight:700}.sales-library nav span{font-size:12px;margin-left:8px}.sales-library-toolbar{display:flex;align-items:center;gap:8px;margin:12px 0}.sales-library-toolbar input{max-width:440px;width:100%;min-width:0}.sales-library-table{overflow:auto;max-height:65vh}.sales-library table{width:100%;min-width:1020px;border-collapse:collapse}.sales-library td,.sales-library th{padding:9px 12px;text-align:left;border-bottom:1px solid #e5ebf3;vertical-align:middle}.sales-library th{background:#edf3fa}.sales-library td:nth-child(2){font-weight:600;min-width:170px}.sales-library td:nth-child(3),.sales-library td:nth-child(4){max-width:260px;overflow-wrap:anywhere}.sales-library-actions{display:flex;gap:6px;flex-wrap:wrap;min-width:145px}.sales-library .sales-library-remove{color:#b74d4d}.sales-library footer{padding-top:14px}.sales-library-editor{background:#f6f9fd;border:1px solid #d4e1f2;border-radius:9px;padding:16px;margin:12px 0}.sales-library-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:12px}.sales-library-fields label{display:flex;flex-direction:column;gap:7px;min-width:0}.sales-library-fields input,.sales-library-fields textarea{width:100%;box-sizing:border-box}.sales-library-wide{grid-column:1/-1}.sales-library [role=alert]{color:#b84435;overflow-wrap:anywhere}.sales-library [role=status]{color:#607998;font-size:13px}
@media(max-width:600px){.sales-library{padding:12px;max-width:100%;box-sizing:border-box}.sales-library>header{align-items:flex-start}.sales-library h2{font-size:22px}.sales-library header>div:last-child{flex-wrap:wrap;justify-content:flex-end}.sales-library nav{margin:12px 0}.sales-library-fields{grid-template-columns:1fr}.sales-library-editor{padding:12px}.sales-library-toolbar{flex-wrap:wrap}.sales-library-toolbar input{flex:1}.sales-library-toolbar [role=status]{width:100%}.sales-library footer{flex-wrap:wrap}.sales-library .btn{min-height:38px}.sales-library-fields input:not([type=file]),.sales-library-fields textarea{font-size:16px}}

.sales-library-toolbar input,.sales-library-fields input:not([type=file]),.sales-library-fields textarea{border:1px solid #ccd9e9;border-radius:7px;padding:10px 12px;font:inherit;background:white;color:#294663;min-height:42px}.sales-library-fields textarea{resize:vertical}.sales-library-fields input:focus,.sales-library-fields textarea:focus,.sales-library-toolbar input:focus{outline:2px solid #86b5ea;outline-offset:1px}.sales-library .sales-library-actions{min-width:160px}.sales-library td[data-label=操作]{min-width:184px}
@media(max-width:600px){.sales-library .sales-library-table{overflow:visible;max-height:none}.sales-library .sales-library-table table{display:block;min-width:0!important;width:100%!important;table-layout:auto!important}.sales-library table thead{display:none}.sales-library table tbody{display:grid;gap:12px;width:100%}.sales-library table tbody tr{display:block;border:1px solid #dbe5f1;border-radius:9px;padding:12px;background:#fff}.sales-library table tbody td{display:block!important;border:0;max-width:none!important;min-width:0!important;width:auto!important;padding:4px 0;white-space:normal!important;overflow:visible!important;text-align:left!important;overflow-wrap:anywhere}.sales-library td[data-label=序号]{display:none!important}.sales-library td[data-label=资料名称]{font-size:16px;margin-bottom:6px}.sales-library td[data-label=适用产品／型号]::before{content:'适用：';color:#70849c}.sales-library td[data-label=备注]::before{content:'备注：';color:#70849c}.sales-library td[data-label=更新人]::before{content:'更新人：';color:#70849c}.sales-library td[data-label=更新时间]::before{content:'更新于：';color:#70849c}.sales-library td[data-label=操作]{margin-top:8px}.sales-library-actions{min-width:0!important;gap:8px}.sales-library-actions .btn{flex:1}.sales-library .erp-table-restore{overflow:auto}.sales-library-fields input:not([type=file]),.sales-library-fields textarea{font-size:16px}}
@media(max-width:600px){.sales-library .sales-library-table table tbody td{font-size:14px!important;line-height:1.5!important}.sales-library .sales-library-table td[data-label=资料名称]{font-size:16px!important}.sales-library .sales-library-actions .btn{font-size:14px}}
