.product-model-page-active #title{display:flex;align-items:baseline;gap:20px;white-space:nowrap}.product-model-page-active #title::after{content:'统一管理型号、规格、供应商、成本与销售价格';color:#75807c;font-size:13px;font-weight:400}.product-model-page-active #greeting{display:none}.product-model-page-active #qrBtn,.product-model-page-active #backupBtn{display:none!important}.product-header-actions{display:flex;align-items:center;gap:10px}.product-header-actions button{height:40px}.product-header-actions button small{margin-left:5px;color:inherit;font-size:10px}.product-header-actions button:disabled{cursor:not-allowed;opacity:.62}.product-model-management{--pmm-line:#e2e8e5;display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:16px;align-items:start;min-width:0;padding:10px 0 28px}.pmm-list{display:flex;min-width:0;flex-direction:column;gap:16px}.pmm-stats{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:14px}.pmm-stat{display:flex;align-items:center;gap:13px;min-width:0;height:84px;padding:14px 16px;border:1px solid var(--pmm-line);border-radius:9px;background:#fff;box-shadow:0 5px 16px rgba(24,52,43,.055)}.pmm-stat>i{display:grid;flex:0 0 43px;place-items:center;width:43px;height:43px;border-radius:50%;background:var(--store-theme);color:#fff}.pmm-stat.warning>i{background:#ee8b13}.pmm-stat.accent>i{background:color-mix(in srgb,var(--store-theme) 68%,#248cff)}.pmm-stat svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7}.pmm-stat span{min-width:0}.pmm-stat small,.pmm-stat strong{display:block}.pmm-stat small{overflow:hidden;color:#56605c;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.pmm-stat strong{margin-top:4px;color:#171c1a;font-size:23px;line-height:1}.pmm-filter{padding:14px;border:1px solid var(--pmm-line);border-radius:9px;background:#fff;box-shadow:0 5px 16px rgba(24,52,43,.045)}.pmm-search{position:relative;display:block}.pmm-search svg{position:absolute;left:13px;top:12px;width:18px;height:18px;fill:none;stroke:#7e8884;stroke-width:1.8}.pmm-search input{width:100%;height:42px!important;padding:0 12px 0 40px!important;border:1px solid var(--pmm-line)!important;border-radius:7px!important;background:#fff!important}.pmm-filter-row{display:grid;grid-template-columns:repeat(4,minmax(115px,1fr)) auto auto;gap:10px;margin-top:11px}.pmm-filter select{width:100%;height:40px!important;padding:0 30px 0 11px!important;border:1px solid var(--pmm-line)!important;border-radius:7px!important;background-color:#fff!important}.pmm-filter button{height:40px;padding:0 17px}.pmm-tabs{display:flex;gap:10px;overflow-x:auto;padding:0 1px}.pmm-tabs button{display:flex;align-items:center;gap:9px;min-width:95px;height:42px;padding:0 15px;border:1px solid var(--pmm-line);border-radius:7px;background:#fff;color:#464f4c;cursor:pointer;white-space:nowrap}.pmm-tabs button b{font-size:12px;font-weight:600}.pmm-tabs button.active{border-color:var(--store-theme);background:var(--store-theme-faint);color:var(--store-theme);font-weight:700}.pmm-table-card{min-width:0;border:1px solid var(--pmm-line);border-radius:9px;background:#fff;box-shadow:0 6px 20px rgba(25,52,44,.055);overflow:hidden}.pmm-table-card>header{display:flex;align-items:center;justify-content:space-between;min-height:68px;padding:13px 16px;border-bottom:1px solid var(--pmm-line)}.pmm-table-card h3{margin:0;color:#171c1a;font-size:18px}.pmm-table-card header p{margin:4px 0 0;color:#818a87;font-size:11px}.pmm-table-card header button{height:38px}.pmm-table-scroll{overflow-x:auto;overflow-y:visible}.pmm-table-scroll table{min-width:1320px;table-layout:fixed}.pmm-table-scroll th{height:44px;padding:0 10px;background:#f7f9f8;color:#3d4542;font-size:11px;white-space:nowrap}.pmm-table-scroll th:nth-child(1){width:130px}.pmm-table-scroll th:nth-child(2){width:145px}.pmm-table-scroll th:nth-child(3){width:105px}.pmm-table-scroll th:nth-child(4){width:90px}.pmm-table-scroll th:nth-child(5){width:125px}.pmm-table-scroll th:nth-child(6),.pmm-table-scroll th:nth-child(7){width:92px}.pmm-table-scroll th:nth-child(8){width:95px}.pmm-table-scroll th:nth-child(9){width:65px}.pmm-table-scroll th:nth-child(10){width:125px}.pmm-table-scroll th:nth-child(11){width:95px}.pmm-table-scroll th:nth-child(12){width:100px}.pmm-table-scroll td{height:62px;padding:7px 10px;border-bottom:1px solid var(--pmm-line);color:#3f4744;font-size:12px;vertical-align:middle}.pmm-table-scroll tbody tr:last-child td{border-bottom:0}.pmm-table-scroll tbody tr:hover{background:color-mix(in srgb,var(--store-theme) 4%,#fff)}.pmm-table-scroll .pmm-page-hidden{display:none}.pmm-model{display:flex;align-items:flex-start;flex-direction:column;gap:5px}.pmm-model>b{color:#202624;font-size:13px}.pmm-table-scroll td:nth-child(2)>b,.pmm-table-scroll td:nth-child(2)>small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pmm-table-scroll td:nth-child(2)>small{margin-top:4px;color:#7c8582}.pmm-badge{display:inline-flex;align-items:center;width:max-content;padding:4px 7px;border-radius:5px;font-size:10px;line-height:1}.pmm-badge.stock,.pmm-badge.complete{border:1px solid color-mix(in srgb,var(--store-theme) 25%,#dce6e1);background:var(--store-theme-faint);color:var(--store-theme)}.pmm-badge.stock.ordered,.pmm-badge.warning{border:1px solid #ffd5a5;background:#fff7ec;color:#d77100}.pmm-badge.duplicate{border:1px solid #bed7ff;background:#f0f6ff;color:#2776d5}.pmm-status{display:flex;flex-wrap:wrap;gap:4px}.pmm-margin{display:flex;flex-direction:column;gap:5px}.pmm-margin>b{font-size:11px}.pmm-margin>i{display:block;width:64px;height:4px;border-radius:5px;background:#e5e9e7;overflow:hidden}.pmm-margin>i span{display:block;height:100%;border-radius:inherit;background:var(--store-theme)}.pmm-actions{display:flex;align-items:center;gap:7px}.pmm-actions button{padding:4px 0;border:0;background:transparent;color:var(--store-theme);font-size:11px;cursor:pointer}.pmm-actions button.danger{color:var(--red)}.pmm-pager{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:60px;padding:10px 15px;border-top:1px solid var(--pmm-line);color:#68716e;font-size:12px}.pmm-pager>span:last-child{text-align:right}.pmm-pager>span b{display:inline-grid;place-items:center;min-width:34px;height:31px;margin:0 4px;border:1px solid var(--pmm-line);border-radius:6px;background:#fff;color:#333}.pmm-pager>div{display:flex;gap:6px}.pmm-pager button{display:grid;place-items:center;min-width:31px;height:31px;padding:0 7px;border:1px solid var(--pmm-line);border-radius:6px;background:#fff;color:#67716d;cursor:pointer}.pmm-pager button.active{border-color:var(--store-theme);background:var(--store-theme);color:#fff}.pmm-pager button:disabled{opacity:.35;cursor:default}.pmm-editor{position:sticky;top:10px;display:flex;min-height:calc(100vh - 105px);max-height:calc(100vh - 30px);flex-direction:column;border:1px solid var(--pmm-line);border-radius:9px;background:#fff;box-shadow:0 7px 24px rgba(25,52,44,.075);overflow:hidden}.pmm-editor>header{padding:19px 21px 15px;border-bottom:1px solid var(--pmm-line)}.pmm-editor h2{margin:0;color:#171c1a;font-size:21px}.pmm-editor header p{margin:5px 0 0;color:#858d8a;font-size:11px}.pmm-editor form{display:flex;min-height:0;flex:1;flex-direction:column}.pmm-editor-body{display:flex;flex:1;flex-direction:column;gap:13px;overflow-y:auto;padding:16px 20px}.pmm-editor label>span{display:block;margin-bottom:6px;color:#303835;font-size:12px}.pmm-editor em{color:var(--red);font-style:normal}.pmm-editor input,.pmm-editor select{width:100%;height:39px!important;padding:0 11px!important;border:1px solid #d9dfdc!important;border-radius:6px!important;background:#fff!important;color:var(--ink)}.pmm-editor input:focus,.pmm-editor select:focus{border-color:var(--store-theme)!important;outline:0;box-shadow:0 0 0 3px var(--store-theme-soft)}.pmm-editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pmm-editor-note{display:grid;grid-template-columns:20px 1fr;gap:8px;padding:11px;border:1px solid color-mix(in srgb,var(--store-theme) 25%,#dce6e1);border-radius:7px;background:color-mix(in srgb,var(--store-theme) 4%,#fff);color:var(--store-theme);font-size:10px;line-height:1.65}.pmm-editor-note b{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:var(--store-theme);color:#fff;font-family:serif}.pmm-editor form>footer{display:grid;grid-template-columns:1fr 1.25fr;gap:11px;padding:14px 20px 17px;border-top:1px solid var(--pmm-line);background:#fff}.pmm-editor form>footer button{height:40px}.pmm-editor form>footer button:disabled{cursor:wait;opacity:.6}.product-model-page-active #view.ticket-system-page::before,.product-model-page-active #view.ticket-system-page::after{display:none!important;content:none!important}
@media(min-width:1800px){.product-model-management{grid-template-columns:minmax(0,1fr) 350px}.pmm-stat{height:88px}.pmm-table-scroll td{height:64px}}
@media(max-width:1600px){.product-model-management{grid-template-columns:minmax(0,1fr) 330px;gap:12px}.pmm-stats{gap:9px}.pmm-stat{gap:9px;padding:12px}.pmm-stat>i{flex-basis:37px;width:37px;height:37px}.pmm-stat svg{width:21px;height:21px}.pmm-stat strong{font-size:20px}.pmm-filter-row{grid-template-columns:repeat(4,minmax(100px,1fr)) auto auto}.pmm-editor-body{padding:14px 16px}.pmm-editor form>footer{padding-inline:16px}}
@media(max-width:1366px){.product-model-management{grid-template-columns:minmax(0,1fr) 310px}.pmm-stats{grid-template-columns:repeat(5,minmax(105px,1fr))}.pmm-stat{height:74px}.pmm-stat>i{display:none}.pmm-filter-row{grid-template-columns:repeat(2,1fr) auto auto}.pmm-editor{position:relative;top:0;max-height:none}.pmm-editor-body{overflow:visible}}
@media(max-width:1050px){.product-model-management{grid-template-columns:1fr}.pmm-editor{grid-row:1;min-height:0}.pmm-stats{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.product-model-page-active #title::after{display:none}.product-header-actions{display:none}.product-model-management{padding-top:0}.pmm-stats{grid-template-columns:repeat(2,1fr)}.pmm-filter-row{grid-template-columns:1fr 1fr}.pmm-filter-row button{width:100%}.pmm-editor-grid{grid-template-columns:1fr}}
.product-header-add{height:40px}
@media(max-width:760px){.product-header-add{display:none}}
.product-model-page-active #exportBtn{display:none!important}
.product-model-management{align-items:stretch}
.pmm-tabs button{position:relative!important;padding:0 15px!important;background:#fff!important;color:#46514d!important;text-align:center!important;transform:none!important}
.pmm-tabs button::before,.pmm-tabs button::after{display:none!important;content:none!important}
.pmm-tabs button:hover{border-color:color-mix(in srgb,var(--store-theme) 38%,var(--pmm-line))!important;background:color-mix(in srgb,var(--store-theme) 3%,#fff)!important;color:var(--store-theme)!important;transform:none!important}
.pmm-tabs button.active{border-color:var(--store-theme)!important;background:var(--store-theme-faint)!important;color:var(--store-theme)!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--store-theme) 8%,transparent)!important}
.pmm-editor{position:relative!important;top:auto!important;width:auto!important;height:100%!important;min-height:0!important;max-height:none!important;padding:0!important;background:#fff!important;color:var(--ink)!important;box-shadow:0 7px 24px rgba(25,52,44,.075)!important}
.pmm-editor-body{overflow:visible}
.pmm-editor form>footer .ghost{background:#fff!important;color:#46514d!important}
.pmm-editor form>footer .primary{background:linear-gradient(135deg,var(--store-theme),var(--store-theme-light))!important;color:#fff!important;text-shadow:0 1px 1px rgba(0,0,0,.12)}
.pmm-actions{gap:6px;white-space:nowrap}
.pmm-actions button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:42px;height:29px!important;padding:0 9px!important;border:1px solid color-mix(in srgb,var(--store-theme) 24%,#dce5e1)!important;border-radius:6px!important;background:color-mix(in srgb,var(--store-theme) 6%,#fff)!important;color:var(--store-theme)!important;font-size:11px!important;font-weight:650!important;line-height:1!important;box-shadow:none!important;transform:none!important}
.pmm-actions button:hover{border-color:color-mix(in srgb,var(--store-theme) 48%,#dce5e1)!important;background:color-mix(in srgb,var(--store-theme) 11%,#fff)!important;color:var(--store-theme-dark)!important;transform:translateY(-1px)!important}
.pmm-actions button.danger{border-color:#f0cbc7!important;background:#fff3f1!important;color:var(--red)!important}
.pmm-actions button.danger:hover{border-color:#dfaaa4!important;background:#ffe9e6!important;color:#a9362e!important}
