/* Screenshot-calibrated ERP list pages (1920x919 reference viewport). */
:root{--ref-blue:#155eef;--ref-cyan:#22c7d9;--ref-navy:#0b2f6b;--ref-border:#dbe3ee;--ref-text:#384150;--ref-muted:#8a94a6}
*{box-sizing:border-box}
body{margin:0;color:var(--ref-text);font-family:"Microsoft YaHei","Segoe UI",sans-serif;background:#fff}
button,input,select{font:inherit}
.reference-shell{height:100vh;min-width:1180px;overflow:hidden;background:#fff;color:#354052;font-size:14px}
.reference-shell:before{content:"";position:fixed;inset:0;pointer-events:none;opacity:.54;background:linear-gradient(151deg,transparent 0 58%,rgba(232,234,237,.62) 58.08% 58.25%,transparent 58.34%),linear-gradient(37deg,transparent 0 69%,rgba(232,234,237,.62) 69.08% 69.26%,transparent 69.35%),linear-gradient(104deg,transparent 0 82%,rgba(232,234,237,.45) 82.08% 82.23%,transparent 82.31%)}
.reference-sidebar{position:fixed!important;left:0;top:0;bottom:0;width:150px!important;z-index:30;background:rgba(255,255,255,.96)!important;border-right:1px solid #d4dde9!important;box-shadow:none!important;overflow:visible!important}
.reference-logo{height:60px!important;width:150px!important;padding:9px 9px 8px 18px!important;display:flex!important;align-items:center!important;gap:9px!important;color:#253247!important;background:#fff!important;border:0!important}
.reference-logo>span{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:10px;transform:none;position:relative;overflow:hidden;flex:none;background:linear-gradient(145deg,var(--ref-navy),var(--ref-blue));box-shadow:0 4px 12px rgba(21,94,239,.24);color:#fff}
.reference-logo>span:before,.reference-logo>span:after{content:none}
.reference-logo>span svg{width:27px;height:27px;display:block}
.reference-logo>b{font-size:14px;line-height:16px;white-space:nowrap}.reference-logo small{display:block;color:var(--ref-blue);font:700 7px/11px Arial,sans-serif;letter-spacing:.55px}
.reference-sidebar .side-tools{position:absolute!important;left:150px!important;right:auto!important;top:0!important;width:60px!important;height:60px!important;z-index:34;background:#fff!important;border:0!important}
.reference-sidebar .side-tools button{width:60px!important;height:60px!important;border:0!important;background:#fff!important;color:#515b66!important;font-size:21px!important;cursor:pointer}
.reference-side-menu{padding:8px 0 0!important;margin:0!important;overflow:hidden!important}
.reference-menu-title,.reference-side-item,.reference-side-menu .side-link{width:100%;min-height:50px;margin:0!important;padding:0 20px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#384250!important;text-align:left!important;font-size:14px!important;line-height:50px!important;white-space:nowrap;cursor:pointer}
.reference-menu-title{height:50px;font-weight:500;padding-left:21px!important}
.reference-side-item:hover,.reference-side-menu .side-link:hover{background:#f3f5f8!important}
.reference-side-item.active,.reference-side-menu .side-link.active{background:#f2f4f7!important;color:#354052!important}
.reference-shell>.target-main{position:relative!important;margin-left:150px!important;width:calc(100% - 150px)!important;height:100vh!important;min-width:0!important;background:transparent!important;overflow:hidden!important}
.reference-topbar{height:60px!important;min-height:60px!important;padding:0 10px 0 60px!important;display:flex!important;align-items:stretch!important;justify-content:space-between!important;background:rgba(255,255,255,.95)!important;border:0!important;border-bottom:1px solid #edf0f4!important;box-shadow:none!important}
.reference-topbar .top-nav{height:60px!important;display:flex!important;align-items:stretch!important;gap:0!important}
.reference-topbar .top-nav-item{height:60px!important;min-width:85px!important;padding:0 12px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#334050!important;font-size:14px!important;cursor:pointer}
.reference-topbar .top-nav-item:hover,.reference-topbar .top-nav-item.active{background:#f5f5f5!important;color:#27313e!important}
.reference-topbar .top-nav-item span{font-size:14px!important;color:#45515d!important}
.reference-topbar .top-actions{box-sizing:border-box;height:60px!important;display:flex!important;align-items:center!important;gap:6px!important;margin:0!important;padding:0 16px 0 0!important}
.reference-topbar .top-actions>button,.reference-topbar .top-actions .user button{height:40px!important;min-width:38px!important;margin:0!important;padding:0 10px!important;border:0!important;background:transparent!important;color:#4d5662!important;font-size:14px!important;cursor:pointer}
.reference-topbar .top-actions>button:first-child{min-width:93px!important}
.reference-user-menu{position:relative;height:60px;display:flex;align-items:center;z-index:75}
.reference-user-trigger{box-sizing:border-box;height:40px!important;min-width:126px!important;max-width:190px;padding:0 10px!important;overflow:hidden;border:0!important;background:transparent!important;color:#4d5662!important;font-size:14px!important;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}
.reference-user-dropdown{position:absolute;top:50px;right:0;box-sizing:border-box;width:148px;max-width:calc(100vw - 28px);display:none;overflow:hidden;border:1px solid #e1e6ed;border-radius:5px;background:#fff;box-shadow:0 8px 24px rgba(31,45,61,.16);z-index:76}
.reference-user-dropdown:before{content:"";position:absolute;right:40px;top:-7px;width:12px;height:12px;border-left:1px solid #e1e6ed;border-top:1px solid #e1e6ed;background:#fff;transform:rotate(45deg)}
.reference-user-menu:hover .reference-user-dropdown,.reference-user-menu:focus-within .reference-user-dropdown,.reference-user-menu.open .reference-user-dropdown{display:block}
.reference-user-dropdown button{position:relative;box-sizing:border-box;width:100%;height:44px;padding:0 14px!important;display:flex;align-items:center;gap:10px;border:0;border-bottom:1px solid #ebeef5;background:#fff;color:#606266;text-align:left;white-space:nowrap;cursor:pointer}
.reference-user-dropdown button:last-child{border-bottom:0}
.reference-user-dropdown button:hover{background:#f5f7fa;color:#409eff}
.reference-user-dropdown span{width:18px;text-align:center;color:#606b78}
@media(max-width:900px){.reference-topbar .top-actions{padding-right:10px!important}.reference-user-trigger{min-width:104px!important;max-width:138px}.reference-user-dropdown{right:0;width:142px}}
.reference-user-modal{z-index:90}
.reference-user-dialog{width:480px;background:#fff;border-radius:3px;box-shadow:0 5px 22px rgba(0,0,0,.22)}
.reference-user-dialog>header{height:55px;padding:0 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e5e9ef}
.reference-user-dialog>header h3{margin:0;font-size:16px;font-weight:500}
.reference-user-dialog>header button{border:0;background:transparent;color:#909399;font-size:22px;cursor:pointer}
.reference-user-dialog footer{height:58px;padding:0 20px;display:flex;align-items:center;justify-content:flex-end;gap:10px;border-top:1px solid #e5e9ef}
.reference-user-dialog footer button{height:32px;min-width:72px;border:1px solid #dcdfe6;border-radius:3px;background:#fff;color:#606266;cursor:pointer}
.reference-user-profile,.reference-password-fields{padding:22px 26px}
.reference-user-profile p{height:42px;margin:0;display:flex;align-items:center;border-bottom:1px solid #ebeef5}
.reference-user-profile span{width:110px;color:#909399}
.reference-user-profile b{font-weight:500}
.reference-user-profile .account-active{color:#67c23a}
.reference-profile-dialog{width:800px}.reference-profile-dialog>header{border-bottom:0}.reference-profile-dialog footer{border-top:0;height:70px;padding-right:38px}.reference-profile-form{padding:22px 80px 4px;display:grid;grid-template-columns:1fr 1fr;column-gap:48px;row-gap:14px}.reference-profile-form>label{min-height:32px;display:flex;align-items:center;color:#606266;font-size:14px}.reference-profile-form>label>span:first-child{width:130px;flex:none;text-align:right;margin-right:14px}.reference-profile-form>label.required>span:first-child:before{content:"*";margin-right:5px;color:#f56c6c}.reference-profile-form input:not([type="checkbox"]){width:218px;height:30px;padding:0 12px;border:1px solid #dcdfe6;border-radius:3px;color:#606266;background:#fff;box-sizing:border-box}.reference-profile-form input:disabled{color:#b7bec9;background:#f4f6f9}.profile-number{display:flex;width:130px}.reference-profile-form .profile-number input{width:68px;border-radius:0;text-align:center}.profile-number button{width:31px;height:30px;border:1px solid #dcdfe6;background:#f7f9fc;color:#7c8795;cursor:pointer}.profile-number button:first-child{border-radius:3px 0 0 3px}.profile-number button:last-child{border-radius:0 3px 3px 0}.profile-switch-row{position:relative}.profile-switch-row input{position:absolute;opacity:0;pointer-events:none}.profile-switch-row i{position:relative;width:40px;height:20px;border-radius:12px;background:#ff5257;cursor:pointer;order:2}.profile-switch-row i:after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;transition:left .15s}.profile-switch-row input:checked+i{background:#13ce66}.profile-switch-row input:checked+i:after{left:22px}.profile-switch-row em{font-style:normal;color:#606266;cursor:pointer}.profile-switch-row .switch-off{order:1;margin-right:8px;color:#409eff}.profile-switch-row .switch-on{order:3;margin-left:8px}.profile-switch-row input:checked~.switch-off{color:#606266}.profile-switch-row input:checked~.switch-on{color:#409eff}.profile-switch-row i,.profile-switch-row em{pointer-events:auto}.profile-upload-row{align-items:flex-start!important}.profile-upload-row>button{width:104px;height:104px;border:1px dashed #409eff;background:#fff;color:#8b95a3;font-size:30px;cursor:pointer}.profile-upload-name{display:block;max-width:94px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.reference-profile-dialog .ref-primary{border-color:#409eff;background:#409eff;color:#fff}
.reference-password-fields label{display:flex;align-items:center;margin-bottom:15px;color:#606266}
.reference-password-fields label input{width:300px;height:35px;margin-left:auto;border:1px solid #dcdfe6;border-radius:3px;padding:0 10px}
.reference-password-fields p{margin:4px 0 0;color:#909399;font-size:12px}
.reference-ean-page{position:relative;min-height:calc(100vh - 142px);background:rgba(255,255,255,.68)}
.ean-import-bar{height:69px;padding:21px 20px;border-bottom:1px solid #dfe5ed}
.ean-import-bar button{height:28px;padding:0 20px;border:0;border-radius:3px;color:#fff;cursor:pointer}
.reference-ean-table{width:calc(100% - 40px);margin:20px;border-collapse:collapse;background:rgba(255,255,255,.48)}
.reference-ean-table th,.reference-ean-table td{height:56px;padding:0 10px;border-bottom:1px solid #e2e7ee;text-align:left;color:#536174}
.reference-ean-table th{height:48px;color:#7c8998;font-weight:600}
.reference-ean-table th:nth-child(1){width:90px}.reference-ean-table th:nth-child(2){width:27%}.reference-ean-table th:nth-child(3){width:27%}.reference-ean-table th:nth-child(4){width:32%}
.reference-ean-table a{color:#409eff}.ean-delete{height:33px;padding:0 16px;border:0;border-radius:3px;background:#ff5b5f;color:#fff;cursor:pointer}
.reference-ean-pager{position:absolute;left:0;right:0;bottom:0;height:48px;padding:8px 7px;border-top:1px solid #dfe5ed;background:#fff;color:#5f6b78}
.reference-ean-pager select,.reference-ean-pager input,.reference-ean-pager button{height:30px;border:1px solid #d7dee8;background:#fff;color:#667384}.reference-ean-pager input{width:42px;text-align:center}
.ean-import-modal{z-index:92}.ean-import-dialog{width:960px;background:#fff;border-radius:3px;box-shadow:0 4px 18px rgba(0,0,0,.28)}
.ean-import-dialog header{height:64px;padding:0 20px;display:flex;align-items:center;justify-content:space-between}.ean-import-dialog h3{margin:0;font-size:18px;font-weight:500}.ean-import-dialog header button{border:0;background:transparent;color:#909399;font-size:22px;cursor:pointer}
.ean-import-dialog form{position:relative;padding:20px}.ean-import-dialog textarea{display:block;width:100%;height:222px;padding:10px 15px;resize:vertical;border:1px solid #cfd7e3;border-radius:4px;font:14px/1.55 Arial,sans-serif}.ean-import-dialog form>p{margin:6px 0 0;text-align:right;color:#909399}.ean-import-dialog form>p .over{color:#f56c6c}
.ean-import-dialog footer{height:82px;display:flex;align-items:flex-end;justify-content:flex-end;gap:10px}.ean-import-dialog footer button{height:40px;min-width:74px;border:1px solid #dcdfe6;border-radius:4px;background:#fff;color:#606266;cursor:pointer}.ean-import-dialog footer .ref-primary{border-color:#409eff;background:#409eff;color:#fff}
.reference-tab-strip{position:relative!important;height:41px!important;min-height:41px!important;padding:0!important;margin:0!important;display:flex!important;align-items:stretch!important;background:rgba(255,255,255,.97)!important;border-bottom:1px solid #cfd9e7!important;overflow:visible!important}
.reference-tab{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:40px!important;min-height:40px!important;min-width:70px!important;margin:0!important;padding:0 20px!important;border:1px solid transparent!important;border-right-color:#fff!important;background:#d9e1ec!important;color:#fff!important;line-height:normal!important;cursor:pointer}
.reference-tab.active{height:40px!important;min-height:40px!important;background:#fff!important;color:#425065!important;border-color:#cfd9e7!important;border-bottom-color:#fff!important;margin:0!important}
.reference-tab button{border:0;background:transparent;color:inherit;margin-left:8px;padding:0;cursor:pointer}
.reference-tab>span[role="button"]{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin-left:8px;border-radius:50%;line-height:18px;cursor:pointer}
.reference-tab>span[role="button"]:hover,.reference-tab>span[role="button"]:focus{background:#eef2f7;color:#409eff;outline:none}
.reference-tab-actions{position:absolute;right:0;top:0;height:41px;display:flex;background:#fff}
.reference-tab-actions button{width:54px;height:41px;border:1px solid #cfd9e7;border-top:0;background:#fff;color:#526071;cursor:pointer}
.reference-content{position:absolute!important;left:0!important;right:0!important;top:101px!important;bottom:64px!important;padding:10px 20px 0!important;margin:0!important;max-width:none!important;overflow:auto!important;background:transparent!important}
.reference-footer{position:absolute!important;left:0!important;right:0!important;bottom:0!important;height:64px!important;padding:10px 6px 2px!important;border-top:1px solid #d6dfeb!important;background:rgba(255,255,255,.97)!important;color:#111!important;text-align:center!important;font-size:14px!important;line-height:24px!important;z-index:20!important;white-space:nowrap!important}
.reference-footer small{display:block;color:#9a9a9a;line-height:18px}
.reference-shell button{outline:none}
.ref-primary{background:#409eff!important;border-color:#409eff!important;color:#fff!important}.reference-shell .green{background:#67c23a!important;border-color:#67c23a!important;color:#fff!important}.reference-shell .red{background:#f56c6c!important;border-color:#f56c6c!important;color:#fff!important}.reference-shell .orange{background:#e6a23c!important;border-color:#e6a23c!important;color:#fff!important}

/* Home */
.reference-shell:has(.reference-dashboard) .reference-content{padding:20px 30px 0!important}
.reference-dashboard{min-height:100%;padding:0}
.home-main-grid{display:grid;width:calc(100% - 46px);grid-template-columns:1.015fr 1fr;gap:20px;margin-top:0}
.ranking-panel{min-width:0}.rank-tabs{height:40px;border-bottom:1px solid #d3dde9;display:flex;align-items:flex-start;gap:0}.rank-tabs button{height:40px;min-width:95px;border:0;border-bottom:2px solid transparent;background:transparent;color:#292f38;cursor:pointer;font-size:14px}.rank-tabs button.active{color:#409eff;border-bottom-color:#409eff}.ranking-panel table{width:100%;border-collapse:collapse;table-layout:fixed}.ranking-panel th,.ranking-panel td{height:50px;padding:0 20px;border-bottom:1px solid #e1e7ee;text-align:left;font-weight:400;font-size:14px}.ranking-panel th{height:61px;color:#7e8794;font-weight:600}.ranking-panel th:nth-child(1){width:70px}.ranking-panel th:nth-child(2){width:200px}.ranking-panel th:nth-child(3){width:200px}.ranking-panel .home-rank-empty td{height:60px;text-align:center;color:#9098a3}
.order-stats-panel{position:relative;align-self:start;overflow:visible;border:1px solid #dbe3ed;background:rgba(255,255,255,.93);box-shadow:0 2px 8px rgba(40,75,115,.08)}.order-stats-panel>h3{height:44px;margin:0;padding:11px 20px;border-bottom:1px solid #dbe3ed;font-size:16px;font-weight:500}.stats-query{position:relative;z-index:5;height:67px;padding:15px 20px;display:flex;align-items:center;gap:10px;overflow:visible}.home-date-range{width:250px;height:34px;display:flex;align-items:center;border:1px solid #d4dde8;border-radius:4px;background:#fff;color:#657083;overflow:hidden}.home-date-range .calendar-icon{width:25px;text-align:right;color:#8b96a5}.home-date-range input{width:76px!important;height:32px!important;border:0!important;padding:0 2px!important;color:#657083;font-size:11px;outline:0}.home-date-range>span:not(.calendar-icon){width:18px;text-align:center}.home-date-range.custom-product-date-range{position:relative;display:block;flex:none;width:250px;overflow:visible;border:0;background:transparent}.home-date-range.custom-product-date-range>input{display:none!important}.home-date-range .product-date-trigger{width:250px}.home-date-range .home-date-popup{left:0;right:auto}.stats-query>button{width:57px;height:34px;padding:0;border:1px solid #409eff;border-radius:3px;background:#409eff;color:#fff;cursor:pointer}.reference-stat-grid{padding:0 20px 28px;display:grid;grid-template-columns:repeat(3,1fr);gap:12px 20px}.reference-stat-grid article{height:109px;border:1px solid #dbe3ed;background:#fff;box-shadow:0 2px 6px rgba(40,75,115,.09)}.reference-stat-grid article header{height:43px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e2e7ee;font-size:14px}.reference-stat-grid article i{font-style:normal;color:#409eff;background:#eef7ff;border:1px solid #d9edff;border-radius:4px;padding:5px 10px}.reference-stat-grid strong{display:block;padding:18px 19px;font-size:25px;font-weight:400}.reference-stat-grid .blue{color:#409eff}.reference-stat-grid .green{color:#30b96b!important;background:transparent!important}.reference-stat-grid .orange{color:#f28b2d}.reference-stat-grid .gray{color:#8d97a7}.reference-stat-grid .cyan{color:#00aeb7}.reference-stat-grid .red{color:#ff3045!important;background:transparent!important}

.home-date-range .product-date-trigger{display:flex;align-items:center}

/* Shared controls */
.reference-filter-row,.reference-action-row,.reference-follow-toolbar{display:flex;align-items:center;gap:8px;white-space:nowrap}.reference-filter-row input,.reference-filter-row select,.reference-action-row select,.reference-follow-toolbar input,.reference-follow-toolbar select{height:27px;border:1px solid #d4dde9;border-radius:3px;background:#fff;color:#697587;padding:0 10px}.reference-filter-row button,.reference-action-row button,.reference-follow-toolbar button,.platform-actions button,.reference-simple-toolbar button{height:27px;padding:0 12px;border:1px solid #d4dde9;border-radius:3px;background:#fff;color:#425065;cursor:pointer}.reference-filter-row button:hover,.reference-action-row button:hover,.reference-follow-toolbar button:hover{border-color:#409eff;color:#409eff}.reference-shell table{font-size:12px}.reference-empty{text-align:center!important;color:#8993a2!important;height:49px!important}.reference-empty-large{min-height:400px;padding-top:80px;text-align:center;color:#98a1ae}.reference-pager,.reference-bottom-pager{height:40px;display:flex;align-items:center;gap:7px;color:#4c5663}.reference-pager select,.reference-bottom-pager select,.reference-pager input{height:25px;border:1px solid #d4dde9;background:#fff;color:#626d7b}.reference-pager input{width:38px;text-align:center}.reference-pager button{border:0;background:transparent;color:#409eff;cursor:pointer}

/* Product list */
.reference-products{min-width:1050px}.product-filter-row{height:35px;gap:8px}.product-filter-row>input{width:120px}.product-filter-row>select{width:120px}.product-filter-row>select:first-child{width:150px}.product-date-range{height:27px;width:200px;display:flex;align-items:center;border:1px solid #d4dde9;border-radius:3px;background:#fff;overflow:hidden;color:#697587}.product-date-range input{height:25px!important;width:88px!important;min-width:0;border:0!important;padding:0 3px!important;font-size:10px}.product-date-range span{width:23px;text-align:center;color:#8791a0}.reference-action-row{height:35px;gap:8px}.reference-action-row button,.reference-action-row select{height:27px;padding:0 12px}.reference-action-row select{max-width:125px}.reference-product-tabs{height:40px;display:flex;align-items:center;border-bottom:1px solid #d6dfeb;gap:16px}.reference-product-tabs button{height:40px;border:0;border-bottom:2px solid transparent;background:transparent;color:#344052;cursor:pointer}.reference-product-tabs button.active{border-bottom-color:#409eff;color:#409eff}.reference-product-tabs span{color:#15191f}.reference-product-table{width:100%;border-collapse:collapse;table-layout:fixed;background:rgba(255,255,255,.84)}.reference-product-table thead th{height:55px;padding:0 8px;border-bottom:1px solid #dce4ed;color:#7c8592;text-align:left}.reference-product-table thead th:first-child{width:35px}.reference-product-table thead th:nth-child(3){width:300px;text-align:center}.reference-product-table thead th:last-child{width:180px;text-align:center}.reference-product-table tbody tr{height:80px;border-bottom:1px solid #dfe6ee}.reference-product-table td{padding:5px 8px;vertical-align:middle}.reference-product-cell{display:flex;align-items:center;min-width:0}.reference-product-thumb{position:relative;width:98px;height:68px;flex:none;margin-right:12px;display:flex;align-items:center;justify-content:center;overflow:hidden}.reference-product-thumb img{display:block;width:92px;height:68px;object-fit:contain}.reference-product-copy{min-width:0}.reference-product-cell a{display:block;color:#409eff;font-size:13px;margin-bottom:5px;cursor:pointer}.reference-product-cell b{display:block;color:#394454;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reference-product-cell small{display:flex;align-items:center;gap:5px;margin-top:7px;color:#7e8998;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.reference-product-cell small em{padding:2px 5px;background:#f02b2b;color:#fff;font-style:normal}.reference-product-cell small .source-label{color:#667281}.reference-product-cell small .origin-label{color:#38a95b}.reference-product-cell small strong{color:#2aaa55;font-weight:400}.reference-product-cell small a{display:inline;margin:0;font-size:12px;flex:none}.market-flags{display:inline-flex!important;align-items:center;gap:3px;flex:none}.market-flags img{width:17px;height:17px;border-radius:50%;object-fit:cover}.product-facts{height:65px;display:grid;grid-template-columns:56px 56px 56px 56px;justify-content:center}.product-facts>span,.product-facts>i{border:1px solid #d8e2ee;margin-left:-1px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#409eff;font-size:16px;font-style:normal}.product-facts small{font-size:11px;color:#56616f;margin-top:5px}.product-facts>i{border-radius:50%;width:41px;height:41px;align-self:center;margin-left:8px;color:#4e5967;font-size:11px;border:6px solid #e8edf4;border-top-color:#29a9ef}.reference-product-table td:last-child{text-align:center;white-space:nowrap}.reference-product-table td:last-child button{border:0;background:transparent;color:#409eff;padding:2px 5px;cursor:pointer}.reference-pager input{width:38px;height:25px;border:1px solid #d4dde9;text-align:center}

/* Orders */
.reference-orders{min-width:1180px}.order-filter-one{height:29px}.order-filter-one select{width:127px}.order-filter-one button{border:0;background:transparent;color:#409eff}.order-filter-two{height:30px}.order-filter-two input[type=date]{width:125px}.order-filter-two input:not([type=date]){width:180px}.order-summary{height:31px;padding:6px 0;border-bottom:1px solid #dce4ed;white-space:nowrap;color:#f25555;overflow:hidden}.order-summary b{color:#31b363;font-weight:400}.order-summary span:last-child{color:#287dd8}.reference-order-scroll{overflow:auto;width:100%;max-height:calc(100vh - 243px)}.reference-order-table{width:100%;min-width:1735px;border-collapse:collapse;table-layout:fixed;background:rgba(255,255,255,.88)}.reference-order-table th,.reference-order-table td{height:62px;padding:7px 9px;border:1px solid #dde5ee;text-align:left;font-weight:400;vertical-align:middle}.reference-order-table th{height:40px;color:#7c8694;font-weight:600}.reference-order-table th:first-child,.reference-order-table td:first-child{width:43px;text-align:center}.reference-order-table th:nth-child(2){width:115px}.reference-order-table th:nth-child(3){width:92px}.reference-order-table th:nth-child(4){width:110px}.reference-order-table th:nth-child(5){width:150px}.reference-order-table th:nth-child(6){width:64px}.reference-order-table th:nth-child(7){width:80px}.reference-order-table th:nth-child(8){width:108px}.reference-order-table th:nth-child(9){width:150px}.reference-order-table th:nth-child(10){width:105px}.reference-order-table th:nth-child(11){width:165px}.reference-order-table th:nth-child(12){width:40px}.reference-order-table th:nth-child(13){width:150px}.reference-order-table th:nth-child(14){width:150px}.reference-order-table th:nth-child(15){width:80px}.reference-order-table a{color:#267bd8}.reference-order-table small{display:block;color:#a6afbc;margin-top:4px}.order-thumb{display:block;width:36px;height:36px;background:linear-gradient(135deg,#12161a,#676e76,#111);color:#fff;text-align:center;line-height:36px}.green-text{color:#35bd58}.red-tag{padding:3px 6px;border-radius:2px;background:#ff6565;color:#fff;font-style:normal}.reference-orders>.reference-pager{position:sticky;left:0}
.order-filter-one{gap:10px}.order-filter-one select{width:160px}.order-filter-one select:first-child{width:150px}.order-filter-one .order-more-button{height:27px;padding:0 5px;border:0;color:#409eff;background:transparent}.order-filter-one .order-more-button.active{font-weight:600}.order-filter-two{gap:8px}.order-filter-two>button{height:27px;padding:0 13px}.order-date-range{width:200px;height:27px;display:flex;align-items:center;border:1px solid #d4dde9;border-radius:3px;background:#fff;overflow:hidden;color:#7d8795}.order-date-range>span{width:23px;text-align:center}.order-date-range>i{width:19px;text-align:center;font-style:normal}.order-date-range input{width:78px!important;height:25px!important;min-width:0;border:0!important;padding:0 2px!important;font-size:10px}.order-search-group{height:27px;display:flex;border:1px solid #d4dde9;border-radius:3px;background:#fff;overflow:hidden}.order-search-group select{width:132px;height:25px;border:0;border-right:1px solid #d4dde9;background:#f7f8fa;color:#5f6a78;padding:0 7px}.order-search-group input{width:210px!important;height:25px;border:0!important;padding:0 9px;outline:0}.order-more-panel{min-height:43px;margin:3px 0 5px;padding:8px 12px;display:flex;align-items:center;gap:12px;border:1px solid #dbe3ed;background:rgba(255,255,255,.96);box-shadow:0 2px 8px rgba(40,75,115,.08)}.order-more-panel label{display:flex;align-items:center;gap:6px;color:#566170}.order-more-panel select,.order-more-panel input{height:27px;width:170px;border:1px solid #d4dde9;padding:0 8px;background:#fff;color:#606b78}.order-more-panel span{color:#929ba7}.order-summary{position:relative;padding-right:43px;overflow:visible}.order-actions-trigger{position:absolute;right:4px;top:0;width:35px;height:29px;border:0;background:transparent;font-size:18px;font-weight:700;cursor:pointer}.order-action-menu{position:absolute;right:5px;top:30px;z-index:40;width:190px;padding:5px;background:#fff;border:1px solid #d5deea;box-shadow:0 5px 18px rgba(31,57,85,.18)}.order-action-menu button{width:100%;height:32px;border:0;background:#fff;color:#485463;text-align:left;padding:0 10px;cursor:pointer}.order-action-menu button:hover{background:#ecf5ff;color:#409eff}.reference-order-table th,.reference-order-table td{height:76px}.reference-order-table th{height:40px}.order-thumb{width:48px;height:48px;background:#f5f7fa;line-height:48px;overflow:hidden}.order-thumb img{display:block;width:48px;height:48px;object-fit:contain}.order-number-link{max-width:128px;padding:0;border:0;background:transparent;color:#267bd8;text-align:left;line-height:19px;cursor:pointer}.order-warning{margin-left:3px;color:#d32020;font-size:12px}.order-row-more{display:block;margin-top:3px;padding:0;border:0;background:transparent;color:#526071;cursor:pointer;letter-spacing:1px}.order-create-modal .modal-card{width:min(720px,calc(100vw - 40px))}.order-create-modal form{display:flex;flex-direction:column;gap:13px}.order-create-modal .form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.order-create-modal label{display:flex;flex-direction:column;gap:6px;color:#606b78}.order-create-modal input,.order-create-modal select,.order-create-modal textarea{border:1px solid #d4dde9;border-radius:2px;padding:8px;color:#3f4a58;background:#fff}.reference-orders>.reference-pager button{border:0;background:transparent;color:#409eff;cursor:pointer}

.order-summary{position:relative;height:61px!important;padding:4px 43px 3px 0!important;overflow:visible!important;line-height:24px}.order-summary-main{height:25px;white-space:nowrap;overflow:hidden}.order-summary-secondary{height:25px;color:#2e333a}.order-actions-trigger{top:17px!important}.order-action-menu{top:47px!important}.order-no-cell{display:flex;align-items:flex-end}.order-number-link{max-width:115px!important}.order-warning{margin:0 0 3px 3px!important}.order-updated{display:block;max-width:112px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-row-more{display:none}
.order-summary{height:69px!important}.order-search-group input{width:430px!important}.reference-order-table{min-width:1694px!important;width:1694px!important}.reference-order-table th{height:48px!important}.reference-order-table th:first-child,.reference-order-table td:first-child{width:57px}.reference-order-table th:nth-child(2){width:101px}.reference-order-table th:nth-child(3){width:77px}.reference-order-table th:nth-child(4){width:140px}.reference-order-table th:nth-child(5){width:130px}.reference-order-table th:nth-child(6){width:80px}.reference-order-table th:nth-child(7){width:100px}.reference-order-table th:nth-child(8){width:90px}.reference-order-table th:nth-child(9){width:130px}.reference-order-table th:nth-child(10){width:90px}.reference-order-table th:nth-child(11){width:142px}.reference-order-table th:nth-child(12){width:50px}.reference-order-table th:nth-child(13){width:129px}.reference-order-table th:nth-child(14){width:129px}.reference-order-table th:nth-child(15){width:99px}.reference-order-table th:nth-child(16){width:150px}
.reference-orders>.reference-pager button.active{font-weight:700;color:#1d6fd1}
.reference-orders .order-summary{display:flex!important;align-items:center!important;height:31px!important;min-height:31px!important;padding:4px 43px 3px 0!important;white-space:nowrap!important;overflow:hidden!important}
.reference-orders .order-summary-main{display:flex!important;align-items:center!important;gap:16px!important;height:auto!important;min-width:0;overflow:hidden!important;white-space:nowrap!important}
.reference-orders .order-summary-main span,.reference-orders .order-summary-main b{display:inline-block!important;margin:0!important;white-space:nowrap!important}
.reference-orders .order-summary-secondary{display:none!important}

/* Authorization */
.reference-platform{min-height:100%;margin:-8px -17px 0;background:rgba(255,255,255,.35)}.platform-actions{height:44px;padding:8px;display:flex;gap:8px}.platform-actions button:last-child{border:0;color:#126df1;background:transparent}.reference-platform table{width:100%;border-collapse:collapse;table-layout:fixed;background:rgba(255,255,255,.54)}.reference-platform th,.reference-platform td{height:46px;padding:0 9px;border-bottom:1px solid #dce4ed;text-align:left;font-weight:400}.reference-platform th{height:28px;color:#7b8490;font-weight:600}.reference-platform th:nth-child(1){width:280px}.reference-platform th:nth-child(2){width:280px}.reference-platform th:nth-child(3){width:440px}.reference-platform th:nth-child(4){width:120px}.reference-platform th:nth-child(5){width:105px}.reference-platform td:last-child button{border:0;background:transparent;color:#409eff;padding:0 5px;cursor:pointer}
.platform-modal{z-index:80;background:rgba(0,0,0,.42);display:flex;align-items:flex-start;justify-content:center;padding-top:15vh}.platform-dialog{width:min(1200px,calc(100vw - 70px));background:#fff;border-radius:2px;box-shadow:0 4px 18px rgba(0,0,0,.22);color:#4b5665}.platform-dialog>header{height:54px;padding:0 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e6eaf0}.platform-dialog>header h3{margin:0;font-size:16px;font-weight:500;color:#303a46}.platform-dialog>header button{width:32px;height:32px;border:0;background:transparent;color:#8a94a2;font-size:22px;cursor:pointer}.platform-dialog-body{padding:24px 28px}.platform-dialog form>footer,.platform-dialog>footer{height:58px;padding:0 22px;display:flex;align-items:center;justify-content:flex-end;gap:10px;border-top:1px solid #e6eaf0}.platform-dialog footer button{height:30px;min-width:70px;padding:0 15px;border:1px solid #d4dde9;border-radius:3px;background:#fff;color:#4d5968;cursor:pointer}.platform-dialog footer button.ref-primary{border-color:#409eff;background:#409eff;color:#fff}.platform-dialog footer button.danger{border-color:#f56c6c;background:#f56c6c;color:#fff}.platform-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 20px}.platform-form-grid label{display:flex;flex-direction:column;gap:8px;color:#606b78}.platform-form-grid label.wide{grid-column:1/-1}.platform-form-grid input{height:34px;border:1px solid #d4dde9;border-radius:3px;padding:0 10px;color:#46515f;background:#fff}.platform-form-grid input[readonly]{background:#f5f7fa;color:#9099a6}.platform-form-label{display:block;margin:22px 0 10px;color:#606b78}.platform-country-grid{display:grid;grid-template-columns:repeat(5,minmax(100px,1fr));gap:12px;padding:16px;border:1px solid #e0e6ee;background:#fafbfd}.platform-country-grid label{cursor:pointer}.platform-safety-note{margin-top:20px;padding:12px 14px;border-radius:3px;background:#ecf5ff;color:#409eff;line-height:1.7}.platform-readonly-row{display:flex;align-items:center;gap:25px;padding:0 0 16px;border-bottom:1px solid #e6eaf0}.platform-readonly-row span{color:#8a94a2}.platform-confirm-dialog{width:420px}.platform-confirm-dialog .platform-dialog-body{min-height:74px;display:flex;align-items:center}.platform-help-dialog{width:680px}.platform-help-dialog ol{margin:0;padding-left:23px;line-height:2}.platform-token-dialog,.platform-country-dialog{width:760px}

/* Follow pages */
.reference-follow{min-height:100%;margin:-8px -17px 0;background:rgba(255,255,255,.32);position:relative}.reference-follow-toolbar{height:55px;padding:8px 16px;border-bottom:1px solid #dce4ed;gap:8px}.reference-follow-toolbar label{display:flex;align-items:center;gap:8px;color:#3d4857}.reference-follow-toolbar input{width:160px}.reference-follow-toolbar select{width:98px}.reference-follow-table{width:100%;border-collapse:collapse;table-layout:fixed;background:rgba(255,255,255,.55)}.reference-follow-table th,.reference-follow-table td{height:48px;padding:0 8px;border-bottom:1px solid #dce4ed;text-align:center;font-weight:400}.reference-follow-table th{height:55px;color:#7f8895;font-weight:600}.reference-follow-table th:first-child{width:42px}.reference-follow-table td button{border:0;background:transparent;color:#409eff;cursor:pointer}.reference-bottom-pager{position:absolute;left:6px;bottom:0}.reference-simple-page{min-height:100%;margin:-8px -17px 0;background:rgba(255,255,255,.4)}.reference-simple-toolbar{height:46px;padding:9px 16px;border-bottom:1px solid #dce4ed;display:flex;align-items:center;gap:12px}.reference-simple-page table{width:100%;border-collapse:collapse}.reference-simple-page th,.reference-simple-page td{height:43px;padding:0 15px;border-bottom:1px solid #dce4ed;text-align:left}

@media(max-width:1380px){.reference-topbar .top-nav-item{min-width:72px!important;padding:0 7px!important}.home-main-grid{grid-template-columns:1fr 1fr}.reference-stat-grid{gap:10px}.reference-sidebar{width:140px!important}.reference-shell>.target-main{margin-left:140px!important;width:calc(100% - 140px)!important}.reference-sidebar .side-tools{left:140px!important}}

/* The display controls must make a visible layout change, not only report a value. */
body.compact-mode .reference-content{padding-top:3px!important;padding-bottom:3px!important}
body.compact-mode .reference-filter-row,body.compact-mode .reference-action-row{height:31px!important;gap:5px!important}
body.compact-mode .reference-product-tabs{height:34px!important}
body.compact-mode .reference-product-tabs button{height:34px!important}
body.compact-mode .reference-product-table thead th{height:42px!important}
body.compact-mode .reference-product-table tbody tr{height:64px!important}
body.compact-mode .reference-product-thumb{height:56px!important}
body.compact-mode .reference-product-thumb img{height:54px!important}
body.compact-mode .reference-order-table th,body.compact-mode .reference-order-table td{height:58px!important}
#densityToggle[aria-pressed="true"]{color:#409eff!important;background:#ecf5ff!important}
#densityToggle,#fontScaleToggle{border-radius:3px!important}
#densityToggle:hover,#fontScaleToggle:hover{color:#409eff!important;background:#f2f8ff!important}
.reference-topbar .top-account-name{display:inline-flex;align-items:center;min-width:93px;height:40px;padding:0 10px;color:#4d5662;font-size:14px;white-space:nowrap;cursor:text;user-select:text;-webkit-user-select:text}
body.sidebar-collapsed .reference-sidebar{width:66px!important;border-right:1px solid #d4dde9!important}
body.sidebar-collapsed .reference-sidebar>.reference-logo{width:66px!important;padding:9px 15px!important;justify-content:center!important}
body.sidebar-collapsed .reference-sidebar>.reference-logo>b,body.sidebar-collapsed .reference-sidebar>.sidebar-foot{display:none!important}
body.sidebar-collapsed .reference-sidebar>.reference-side-menu{width:66px!important;visibility:visible;opacity:1;pointer-events:auto}
body.sidebar-collapsed .reference-sidebar .reference-menu-title,body.sidebar-collapsed .reference-sidebar .reference-side-item,body.sidebar-collapsed .reference-sidebar .side-link{width:66px!important;padding:0!important;overflow:hidden;text-align:center!important;font-size:0!important;color:#5b6571!important}
body.sidebar-collapsed .reference-sidebar .reference-menu-title:before{content:"▣";font-size:16px}
body.sidebar-collapsed .reference-sidebar .reference-side-item:before{content:"◆";font-size:13px}
body.sidebar-collapsed .reference-sidebar .side-link:before{content:"☵";font-size:17px}
body.sidebar-collapsed .reference-sidebar .reference-side-item.active,body.sidebar-collapsed .reference-sidebar .side-link.active{color:#409eff!important}
body.sidebar-collapsed .reference-sidebar .side-tools{left:66px!important}
body.sidebar-collapsed .reference-shell>.target-main{margin-left:66px!important;width:calc(100% - 66px)!important}
.reference-sidebar,.reference-shell>.target-main,.reference-sidebar .side-tools{transition:width .2s ease,margin-left .2s ease,left .2s ease}

/* Final pixel alignment overrides. */
.reference-stat-grid .orange{color:#f28b2d!important;background:transparent!important;border:0!important}
.reference-product-tabs,.reference-product-tabs button{height:41px}
.order-filter-one,.order-filter-two{height:27px}
.order-summary{height:29px;padding-top:5px;padding-bottom:5px}
.reference-order-scroll{max-height:calc(100vh - 236px)}

/* Source-DOM dimensions at the original site's 100% browser zoom. */
.reference-shell table{font-size:14px}
.reference-products{min-width:1310px}
.product-filter-row{height:34px;gap:10px}
.product-filter-row>input,.product-filter-row>select{width:150px;height:34px}
.product-filter-row>input.product-search-input{padding-left:30px;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='6.5' cy='6.5' r='4.25' fill='none' stroke='%2393a0af' stroke-width='1.4'/%3E%3Cpath d='m9.7 9.7 3.4 3.4' fill='none' stroke='%2393a0af' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:10px center;background-size:14px 14px}
.profile-upload-row>button{padding:4px;overflow:hidden}.profile-upload-row>button img{display:block;width:100%;height:100%;object-fit:contain}
.product-date-range{height:34px;width:200px}
.product-date-range input{height:32px!important;width:83px!important;font-size:11px}
.product-date-range span{width:29px}
.product-date-range.custom-product-date-range{position:relative;display:block;overflow:visible;width:200px;flex:none;border:0;background:transparent}
.custom-product-date-range>input{display:none!important}
.product-date-trigger{width:200px;height:34px;padding:0 10px;border:1px solid #d4dde9;border-radius:3px;background:#fff;color:#5c6877;text-align:left;cursor:pointer;white-space:nowrap}
.product-date-trigger>span{display:inline;margin-right:5px;color:#9aa5b2}
.product-date-trigger[aria-expanded="true"]{border-color:#409eff;box-shadow:0 0 0 1px #409eff inset}
.product-date-popup{position:absolute;z-index:120;top:39px;right:0;width:756px;display:grid;grid-template-columns:110px 1fr 1fr;padding:0;background:#fff;border:1px solid #d9e0e9;border-radius:3px;box-shadow:0 3px 12px rgba(27,42,64,.18);color:#485463}
.product-date-popup>nav{padding:12px 0;border-right:1px solid #e1e6ed}
.product-date-popup>nav button{display:block;width:100%;height:32px;padding:0 12px;border:0;background:#fff;color:#536071;text-align:left;cursor:pointer}
.product-date-popup>nav button:hover{color:#409eff;background:#f5f9ff}
.product-calendar{padding:13px 16px 14px;border-right:1px solid #e1e6ed}
.product-calendar:nth-of-type(2){border-right:0}
.product-calendar header{height:30px;display:grid;grid-template-columns:64px 1fr 64px;align-items:center}
.product-calendar header b{text-align:center;font-size:14px;font-weight:500;color:#4b5665}
.product-calendar header span{width:auto;display:flex;justify-content:flex-start}
.product-calendar header span:last-child{justify-content:flex-end}
.product-calendar header button{width:24px;height:26px;padding:0;border:0;background:transparent;color:#7a8797;font-size:17px;cursor:pointer}
.product-calendar header button:hover{color:#409eff}
.product-calendar-week,.product-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr)}
.product-calendar-week i{height:30px;display:flex;align-items:center;justify-content:center;font-size:12px;font-style:normal;color:#667383}
.product-calendar-day{position:relative;height:37px;border:0;background:#fff;color:#45515f;font-size:12px;cursor:pointer}
.product-calendar-day:hover{color:#409eff;background:#ecf5ff}
.product-calendar-day.outside{color:#c0c7d1}
.product-calendar-day.in-range{background:#eef5ff}
.product-calendar-day.endpoint{color:#fff;background:#409eff;border-radius:50%}
.product-date-popup>p{grid-column:2/4;margin:0;padding:0 16px 9px;color:#99a3af;font-size:11px;text-align:right}
.reference-action-row{height:44px;gap:10px}
.reference-action-row{position:relative;overflow:visible}
.product-batch-menu{position:absolute;z-index:110;top:40px;left:0;width:98px;padding:8px 0;border:1px solid #dfe5ec;border-radius:3px;background:#fff;box-shadow:0 3px 12px rgba(28,42,61,.16)}
.reference-action-row .product-batch-menu button{display:block;width:100%!important;height:36px!important;padding:0 18px!important;border:0!important;background:#fff!important;color:#4f5b69!important;text-align:left;white-space:nowrap;cursor:pointer}
.reference-action-row .product-batch-menu button:hover{color:#409eff!important;background:#f4f8fd!important}
.reference-product-cell small em.status-approved{background:#20ad45}.reference-product-cell small em.status-pending{background:#f02b2b}.reference-product-cell small em.status-invalid{background:#9098a4}.reference-product-cell small em.status-ai{background:#e6a23c}
.product-export-dialog{width:560px!important}.product-export-body{padding:22px 28px}.product-export-body>p{margin:0 0 18px}.product-export-body label{display:flex;align-items:center;gap:18px}.product-export-body select{flex:1;height:36px;border:1px solid #d4dde9;border-radius:3px;padding:0 10px;background:#fff;color:#4d5968}.product-export-body .notice{margin:20px 0 0;line-height:1.7}
.product-copy-dialog{width:578px!important;max-width:calc(100vw - 32px)}
.product-copy-body{padding:34px 50px 42px;display:grid;gap:22px}
.product-copy-body label{display:grid;grid-template-columns:72px 1fr;align-items:center;gap:16px;color:#5d6570}
.product-copy-body label>span{text-align:right}.product-copy-body i{font-style:normal;color:#f25b5b}
.product-copy-body select{height:42px;border:1px solid #d8dfe9;border-radius:4px;padding:0 14px;background:#fff;color:#606975}
.replace-copy-dialog{width:680px!important;max-width:calc(100vw - 32px)}
.replace-copy-dialog form{padding:22px 28px}
.replace-copy-dialog form>p:first-child{margin:0 0 20px;color:#5f6874}
.replace-copy-options{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.replace-copy-options label,.replace-copy-content{display:grid;gap:8px;color:#5f6874}
.replace-copy-options i,.replace-copy-content i{font-style:normal;color:#f25b5b}
.replace-copy-options select{height:40px;border:1px solid #d5dde8;border-radius:4px;padding:0 12px;background:#fff;color:#566171}
.replace-copy-content{margin-top:18px}
.replace-copy-content textarea{min-height:180px;padding:12px;border:1px solid #ccd5e0;border-radius:4px;resize:vertical;color:#46515f}
.replace-copy-content textarea:focus,.replace-copy-options select:focus{outline:0;border-color:#409eff;box-shadow:0 0 0 1px #409eff inset}
.toast.selection-warning{top:20px;right:auto;left:50%;min-width:380px;padding:14px 20px 14px 46px;transform:translateX(-50%);border:1px solid #fde2e2;background:#fef0f0;color:#f56c6c;box-shadow:none}
.toast.selection-warning:before{content:"×";position:absolute;left:20px;top:50%;width:15px;height:15px;transform:translateY(-50%);border-radius:50%;background:#f56c6c;color:#fff;font-size:12px;line-height:14px;text-align:center;font-weight:700}
.batch-edit-modal{align-items:flex-start;padding:8px 0}.batch-edit-dialog{width:80vw!important;max-width:1538px!important;max-height:calc(100vh - 16px);overflow:auto}
.batch-edit-dialog form{padding:20px}.batch-edit-section{margin-bottom:20px}.batch-edit-section-head{min-height:46px;display:flex;align-items:center;border:1px solid #d9e1eb;background:#f6f8fb;box-shadow:0 2px 5px rgba(31,45,61,.12)}
.batch-edit-section-head>b{align-self:stretch;min-width:50px;display:flex;align-items:center;justify-content:center;background:#ecf5ff;border-right:1px solid #d9e1eb;color:#409eff;font-weight:400}
.batch-language-tabs{flex:1;display:flex;height:44px;overflow-x:auto}.batch-language-tabs button{min-width:70px;padding:0 18px;border:0;border-right:1px solid #e1e6ed;background:transparent;color:#6c7480;white-space:nowrap}.batch-language-tabs button.active{background:#fff;color:#1684ff}
.batch-section-switch{width:56px;height:44px;border:0;background:transparent}.batch-section-switch span{display:block;width:39px;height:20px;margin:auto;border-radius:12px;background:#ff4d57;position:relative}.batch-section-switch span:after{content:"";position:absolute;left:2px;top:2px;width:16px;height:16px;border-radius:50%;background:#fff}.batch-section-switch.active span{background:#14c878}.batch-section-switch.active span:after{left:21px}
.batch-edit-section-body{border:1px solid #d9e1eb;border-top:0;padding:18px;background:#fff}.batch-language-panel{display:grid;gap:9px}.batch-edit-description-field{display:grid;gap:6px;color:#626b77}.batch-edit-description-field textarea{min-height:54px;padding:10px 14px;border:1px solid #ccd5e0;border-radius:3px;resize:vertical}.batch-edit-description-field textarea.large{min-height:110px}
.amazon-mapping-panel{margin-top:14px;padding:14px;border:1px solid #d9e4f2;border-radius:4px;background:#f8fbff}.amazon-mapping-panel h4{margin:0;color:#25364a;font-size:14px}.amazon-mapping-panel>p{margin:5px 0 12px;color:#718096;font-size:12px}.amazon-mapping-grid{display:grid;grid-template-columns:repeat(3,minmax(210px,1fr));gap:10px 12px}.amazon-mapping-grid label{display:grid;gap:5px;color:#4b596b;font-size:13px}.amazon-mapping-grid input,.amazon-mapping-grid select{box-sizing:border-box;width:100%;height:34px;padding:0 10px;border:1px solid #cbd8e8;border-radius:3px;background:#fff;color:#344256;font-size:13px}.amazon-mapping-grid code,.amazon-image-map code,.amazon-upload-dialog code{color:#1677d2;font-size:11px;font-weight:400}.amazon-mapping-grid .amazon-check{display:flex;align-items:center;gap:7px;min-height:34px}.amazon-mapping-grid .amazon-check input{width:14px;height:14px}.amazon-image-map{margin-top:12px;padding-top:10px;border-top:1px dashed #cfdae7;color:#617086;font-size:12px;line-height:1.7}.amazon-upload-dialog{width:min(760px,calc(100vw - 40px))}@media(max-width:1050px){.amazon-mapping-grid{grid-template-columns:repeat(2,minmax(210px,1fr))}}@media(max-width:700px){.amazon-mapping-grid{grid-template-columns:1fr}}
.batch-inline-fields{flex:1;display:flex;align-items:center;gap:10px;padding:5px}.batch-inline-fields label{display:flex;align-items:center}.batch-inline-fields label span{height:32px;display:flex;align-items:center;padding:0 12px;border:1px solid #d7dfe9;border-right:0;background:#f2f5f8;color:#657080}.batch-inline-fields input{width:130px;height:32px;border:1px solid #d7dfe9;padding:0 10px}.batch-price-fields input{width:88px}
.batch-edit-grid{grid-template-columns:repeat(4,minmax(160px,1fr));gap:14px}.batch-edit-grid label{display:grid;gap:6px;color:#626b77}.batch-edit-grid label.wide{grid-column:span 2}.batch-edit-grid input,.batch-edit-grid select{height:36px;border:1px solid #d4dde8;border-radius:3px;padding:0 10px;background:#fff}.batch-edit-hint{margin:8px 0 0;color:#9099a5}
.batch-price-controls{flex:1;display:flex;align-items:center;gap:0;padding:5px}.batch-price-controls select,.batch-price-controls input{width:216px;height:32px;border:1px solid #d7dfe9;border-radius:0;padding:0 14px;background:#fff;color:#626c79}.batch-price-controls select:first-child{border-radius:3px 0 0 3px}.batch-price-controls input{width:130px;border-radius:0 3px 3px 0}.batch-price-controls select:disabled,.batch-price-controls input:disabled{background:#fafbfc;color:#b8c0cb}
.batch-price-secondary{display:flex;align-items:center;padding:5px 46px;gap:0}.batch-price-secondary label{display:flex;align-items:center}.batch-price-secondary label span{height:32px;display:flex;align-items:center;padding:0 18px;border:1px solid #d7dfe9;border-right:0;background:#f2f5f8;color:#657080}.batch-price-secondary input{width:64px;height:32px;border:1px solid #d7dfe9;padding:0 8px}.batch-price-secondary em{height:32px;display:flex;align-items:center;padding:0 16px;border:1px solid #d7dfe9;border-left:0;background:#f2f5f8;color:#657080;font-style:normal}
.reference-action-row button,.reference-action-row select{height:34px;padding:0 15px}.reference-action-row>button:first-child{width:62px;padding:0;border-color:transparent}.reference-action-row>button:nth-of-type(2){width:92px;padding:0}.reference-action-row>button:nth-of-type(3){width:72px;padding:0}
.reference-action-row select{max-width:156px}
.reference-product-tabs,.reference-product-tabs button{height:43px}
.reference-product-tabs{gap:20px}
.reference-product-table thead th{height:67px;padding:0 10px}
.reference-product-table thead th:first-child{width:44px}
.reference-product-table thead th:nth-child(3){width:300px}
.reference-product-table thead th:last-child{width:180px}
.reference-product-table tbody tr{height:100px}
.reference-product-table td{padding:6px 10px}
.reference-product-thumb{width:110px;height:86px;margin-right:14px}
.reference-product-thumb img{width:100px;height:85px}
.reference-product-copy{flex:1;min-width:0}.reference-product-titles{display:block;width:100%;min-height:42px;padding:3px 0}.product-edit-entry{cursor:pointer}.product-edit-entry:focus-visible{outline:1px solid #409eff;outline-offset:2px}.reference-product-titles:hover a,.reference-product-titles:hover b{color:#1684ff}
.reference-product-cell a{font-size:16px;margin-bottom:6px}
.reference-product-cell small{gap:6px;margin-top:8px;font-size:11px}
.reference-product-cell small a{font-size:14px}
.market-flags{gap:4px}.market-flags img{width:21px;height:21px}
.product-facts{height:81px;grid-template-columns:70px 70px 70px 70px}
.product-facts>span,.product-facts>i{font-size:20px}
.product-facts small{font-size:14px;margin-top:6px}
.product-facts>i{width:51px;height:51px;margin-left:10px;font-size:14px;border-width:7px}
.reference-product-table td:last-child button{padding:3px 6px}
.reference-pager,.reference-bottom-pager{height:50px;gap:9px}
.reference-pager select,.reference-bottom-pager select,.reference-pager input{height:31px}
.reference-pager input{width:48px}

/* Product editing stays inside the same ERP shell as the source page. */
.reference-shell:has(.compact-product-editor) .reference-content{padding:18px 20px 70px!important}

/* Keep the product filters and actions aligned as two calm, readable toolbars. */
.reference-products{padding:8px 4px 0}
.product-filter-row{display:grid;grid-template-columns:150px repeat(4,minmax(130px,150px)) 230px 150px 78px;align-items:center;height:auto;min-height:48px;padding:6px 8px;gap:10px;border:1px solid #e2e8f0;border-radius:6px;background:rgba(255,255,255,.82)}
.product-filter-row>input,.product-filter-row>select,.product-filter-row>.product-date-range,.product-filter-row>button{width:100%!important;min-width:0;height:34px!important;margin:0}
.product-filter-row>.custom-product-date-range{height:34px!important}
.custom-product-date-range>span{display:none!important}
.product-filter-row .product-date-trigger{display:flex;align-items:center;width:100%;height:34px;overflow:hidden;padding:0 12px;white-space:nowrap;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
.product-filter-row{grid-template-columns:repeat(4,minmax(150px,1fr)) minmax(230px,250px) minmax(150px,170px) 78px!important}
.product-filter-row>.custom-product-date-range{min-width:230px!important}
.product-filter-row .product-date-trigger{overflow:visible;text-overflow:clip}
.product-filter-row>select,.reference-action-row>select{-webkit-appearance:none;appearance:none;padding-right:32px!important;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.25 6 6.25 11 1.25' fill='none' stroke='%23778493' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 11px center;background-size:10px 7px}
.reference-action-row>#filterOrigin{width:164px;max-width:164px}
.reference-action-row>#filterType{width:132px;max-width:132px}
.reference-action-row{display:flex;align-items:center;flex-wrap:wrap;height:auto;min-height:50px;margin-top:8px;padding:7px 8px;gap:8px 10px;border:1px solid #e2e8f0;border-radius:6px;background:rgba(255,255,255,.82)}
.reference-action-row>button,.reference-action-row>select{flex:0 0 auto;height:34px!important;margin:0;border-color:#d6dee8}
.reference-action-row>button:first-child{width:82px;padding:0 12px;border-color:#d6dee8;background:#f8fafc}
.reference-action-row>.product-batch-trigger{position:relative;width:92px!important;padding:0 31px 0 13px!important;text-align:left}
.product-batch-trigger::after{content:"";position:absolute;right:12px;top:50%;width:7px;height:7px;border-right:1.5px solid #778493;border-bottom:1.5px solid #778493;transform:translateY(-68%) rotate(45deg);transition:transform .16s ease}
.product-batch-trigger[aria-expanded="true"]::after{transform:translateY(-28%) rotate(225deg)}
.reference-action-row>button:nth-of-type(2),.reference-action-row>button:nth-of-type(3){width:auto;min-width:78px;padding:0 14px}
.reference-product-tabs{margin-top:8px;padding:0 8px;background:rgba(255,255,255,.58)}
.reference-product-table{border:1px solid #e1e7ef;border-top:0}
.reference-products>.reference-pager{padding:0 10px;border:1px solid #e1e7ef;border-top:0;background:rgba(255,255,255,.72)}
@media(max-width:1500px){.product-filter-row{grid-template-columns:repeat(4,minmax(130px,1fr));}.product-filter-row>select:first-child,.product-filter-row>.product-date-range{grid-column:span 2}}

@keyframes page-refresh-flash{0%{opacity:.82}35%{opacity:.34}100%{opacity:0}}
body.page-refreshing::after{content:"";position:fixed;inset:0;z-index:99999;pointer-events:none;background:#fff;animation:page-refresh-flash 320ms ease-out forwards}
@media(prefers-reduced-motion:reduce){body.page-refreshing::after{animation-duration:120ms}}

/* Final density overrides: these intentionally follow every page-specific rule. */
body.compact-mode .reference-shell .reference-content{padding-top:3px!important;padding-bottom:3px!important}
body.compact-mode .reference-shell .product-filter-row{min-height:40px!important;padding-top:3px!important;padding-bottom:3px!important;gap:6px!important}
body.compact-mode .reference-shell .reference-action-row{min-height:40px!important;padding-top:3px!important;padding-bottom:3px!important;gap:6px!important}
body.compact-mode .reference-shell .reference-product-tabs{height:34px!important}
body.compact-mode .reference-shell .reference-product-tabs button{height:34px!important}
body.compact-mode .reference-shell .reference-product-table thead th{height:42px!important}
body.compact-mode .reference-shell .reference-product-table tbody tr{height:70px!important}
body.compact-mode .reference-shell .reference-product-thumb{height:60px!important}
body.compact-mode .reference-shell .reference-product-thumb img{height:58px!important}
body.compact-mode .reference-shell .reference-order-table th,body.compact-mode .reference-shell .reference-order-table td{height:58px!important}

/* Unified interactive controls: stable SVG icons and consistent fields across every ERP page. */
.reference-shell,.reference-shell button,.reference-shell input,.reference-shell select,.reference-shell textarea{font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif}
.reference-shell button,.reference-shell input,.reference-shell select,.reference-shell textarea{box-sizing:border-box}
.reference-shell input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),.reference-shell select,.reference-shell textarea{border-color:#d6dee8;border-radius:4px;color:#465361;transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease}
.reference-shell input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):hover,.reference-shell select:hover,.reference-shell textarea:hover{border-color:#aebac8}
.reference-shell input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,.reference-shell select:focus,.reference-shell textarea:focus{outline:0;border-color:#409eff!important;box-shadow:0 0 0 2px rgba(64,158,255,.12)}
.reference-shell button{transition:border-color .15s ease,color .15s ease,background-color .15s ease,box-shadow .15s ease}
.reference-shell button:focus-visible{outline:0;box-shadow:0 0 0 2px rgba(64,158,255,.18)}
.reference-shell button:disabled,.reference-shell input:disabled,.reference-shell select:disabled{cursor:not-allowed!important;opacity:.62}
.reference-filter-row button,.reference-action-row button,.platform-actions button,.reference-simple-toolbar button,.platform-dialog footer button,.modal-actions button{border-radius:4px}
.reference-action-row .ui-icon-control:not(.product-batch-trigger),.reference-filter-row .ui-icon-control,.platform-actions .ui-icon-control{display:inline-flex;align-items:center;justify-content:center;gap:7px}
.reference-topbar .ui-icon-control,.reference-tab-actions .ui-icon-control,.modal-close.ui-icon-control,.platform-dialog>header .ui-icon-control{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0!important}
.ui-icon-control:not([data-ui-icon="font"])::before,.ui-sidebar-title::before,.ui-side-link::before{content:"";width:15px;height:15px;flex:0 0 15px;background-color:currentColor;-webkit-mask:var(--ui-icon) center/contain no-repeat;mask:var(--ui-icon) center/contain no-repeat}
.ui-nav-icon,.ui-inline-icon,.ui-stat-icon{display:inline-block;width:15px!important;height:15px!important;flex:0 0 15px;background-color:currentColor!important;-webkit-mask:var(--ui-icon) center/contain no-repeat;mask:var(--ui-icon) center/contain no-repeat;border:0!important;border-radius:0!important}
[data-ui-icon="home"]{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 11.5 12 4l9 7.5M5.5 10v10h13V10M9.5 20v-6h5v6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
[data-ui-icon="product"]{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m4 7 8-4 8 4-8 4-8-4Zm0 0v10l8 4 8-4V7M12 11v10' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'/%3E%3C/svg%3E")}
[data-ui-icon="order"]{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='3' width='14' height='18' rx='1.5' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M8 8h8M8 12h8M8 16h5' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E")}
[data-ui-icon="platform"]{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 18h11a4 4 0 0 0 .4-8A6.5 6.5 0 0 0 6 8.5 4.8 4.8 0 0 0 7 18Z' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E")}
[data-ui-icon="menu"]{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")}
[data-ui-icon="fullscreen"]{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 4H4v4M16 4h4v4M20 16v4h-4M8 20H4v-4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
[data-ui-icon="density"]{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 3 7 9-7 9-7-9 7-9Z' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E")}
[data-ui-icon="refresh"]{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 7v5h-5M4 17v-5h5M18.5 10a7 7 0 0 0-12-3L4 12m16 0-2.5 5a7 7 0 0 1-12-3' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
[data-ui-icon="tab"]{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='7' fill='none' stroke='black' stroke-width='1.8'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E")}
[data-ui-icon="chevron"]{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 9 5 5 5-5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
[data-ui-icon="message"]{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16v11H9l-5 4V5Z' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'/%3E%3Cpath d='M8 10h8' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E")}
[data-ui-icon="calendar"]{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='6' width='16' height='14' rx='1.5' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M8 3v6M16 3v6M4 10h16' stroke='black' stroke-width='1.7'/%3E%3C/svg%3E")}
[data-ui-icon="add"]{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")}
[data-ui-icon="upload"]{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 16V4m0 0L7.5 8.5M12 4l4.5 4.5M5 14v5h14v-5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
[data-ui-icon="export"]{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4v11m0 0 4-4m-4 4-4-4M5 18v2h14v-2' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
[data-ui-icon="copy"],[data-ui-icon="duplicate"]{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='8' y='8' width='11' height='11' rx='1.5' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M16 8V5H5v11h3' fill='none' stroke='black' stroke-width='1.7'/%3E%3C/svg%3E")}
[data-ui-icon="edit"]{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 16-1 4 4-1L19 8l-3-3L5 16Z' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'/%3E%3C/svg%3E")}
[data-ui-icon="replace"]{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 8h12l-3-3m3 3-3 3M19 16H7l3 3m-3-3 3-3' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
[data-ui-icon="delete"]{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 7h14M9 7V4h6v3M7 7l1 13h8l1-13M10 11v5M14 11v5' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E")}
[data-ui-icon="clear"]{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m4 12 6-7h10v14H10l-6-7Zm8-3 5 6m0-6-5 6' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
[data-ui-icon="image"]{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3.5' y='4.5' width='17' height='15' rx='2' fill='none' stroke='black' stroke-width='1.7'/%3E%3Ccircle cx='9' cy='9' r='1.5' fill='black'/%3E%3Cpath d='m5.5 17 4-4 3 3 2.5-2.5L18.5 17' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
[data-ui-icon="close"]{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 6 12 12M18 6 6 18' stroke='black' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E")}
[data-ui-icon="search"]{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='m15 15 5 5' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E")}
[data-ui-icon="sales"],[data-ui-icon="received"],[data-ui-icon="profit"],[data-ui-icon="average"],[data-ui-icon="rate"]{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 19V9m5 10V5m5 14v-7m5 7V3' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E")}
[data-ui-icon="refund"],[data-ui-icon="purchase"],[data-ui-icon="shipping"],[data-ui-icon="orders"],[data-ui-icon="returns"]{--ui-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='5' width='16' height='14' rx='2' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M8 9h8M8 13h6' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E")}
.reference-topbar .ui-nav-icon{color:#4e5967!important;margin-right:3px}
.reference-tab-actions .ui-icon-control{width:54px!important;height:40px!important;color:#536171!important}
.reference-tab-actions .ui-icon-control:hover,.reference-topbar .ui-icon-control:hover{color:#409eff!important;background:#f5f9ff!important}
#sidebarToggle{display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important}
#sidebarToggle::before{content:""!important;display:block!important;width:18px!important;height:2px!important;flex:0 0 18px!important;background:currentColor!important;box-shadow:0 -6px 0 currentColor,0 6px 0 currentColor!important;-webkit-mask:none!important;mask:none!important;border-radius:1px!important}
#sidebarToggle:hover{color:#409eff!important;background:#f5f9ff!important}
.ui-sidebar-title{display:flex!important;align-items:center!important;gap:9px!important}.ui-sidebar-title.is-expanded::after{content:"";width:7px;height:7px;margin:5px 1px 0 auto;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(225deg)}
.ui-side-link{display:flex!important;align-items:center!important;gap:9px!important}.ui-side-item{display:flex!important;align-items:center!important;gap:10px!important}.ui-side-item::before{content:"";width:6px;height:6px;flex:0 0 6px;border:1.5px solid currentColor;border-radius:50%}
.ui-inline-icon{margin-right:6px;color:#8b97a5!important}
.reference-stat-grid article header .ui-stat-icon{color:#409eff!important}
.modal-card,.platform-dialog{border-radius:6px!important;overflow:hidden}.modal-head,.platform-dialog>header{background:#fff}.modal-close.ui-icon-control,.platform-dialog>header .ui-icon-control{width:36px!important;height:36px!important;color:#8994a2!important}.modal-close.ui-icon-control:hover,.platform-dialog>header .ui-icon-control:hover{color:#409eff!important;background:#f2f7fd!important}
.modal-actions{gap:10px!important;padding:14px 20px!important;border-top:1px solid #e6ebf1!important;background:#fbfcfe}
.order-filter-one,.order-filter-two{height:auto!important;min-height:42px;padding:4px 0;align-items:center}.order-filter-one select,.order-filter-two>button,.order-search-group,.order-date-range{height:34px!important}.order-search-group select,.order-search-group input,.order-date-range input{height:32px!important}
.reference-orders{padding:8px 4px 0}
.reference-orders>.order-filter-one,.reference-orders>.order-filter-two{box-sizing:border-box;width:100%;min-height:48px!important;padding:6px 8px!important;gap:8px 10px;border:1px solid #e2e8f0;border-radius:6px;background:rgba(255,255,255,.82)}
.reference-orders>.order-filter-two{margin-top:8px}
.order-filter-one,.order-filter-two{position:relative;overflow:visible}.order-filter-one{z-index:7}.order-filter-two{z-index:8}.order-filter-one select,.order-search-group select,.order-more-panel select{-webkit-appearance:none;appearance:none;box-sizing:border-box;padding-left:14px!important;padding-right:36px!important;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.25 6 6.25 11 1.25' fill='none' stroke='%23778493' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;background-size:10px 7px}.order-filter-one select:focus,.order-search-group select:focus,.order-more-panel select:focus{border-color:#409eff;box-shadow:0 0 0 1px #409eff inset;outline:0}.order-date-range.custom-order-date-range{position:relative;display:block;flex:none;width:220px!important;overflow:visible;border:0;background:transparent}.order-date-range.custom-order-date-range>span,.order-date-range.custom-order-date-range>i,.order-date-range.custom-order-date-range>input{display:none!important}.order-date-trigger{width:220px!important;height:34px!important;display:flex;align-items:center}.order-date-popup{left:0;right:auto}.order-date-trigger .calendar-icon{margin-right:7px}
.order-phone-filter{display:flex;align-items:center;gap:8px;height:34px;white-space:nowrap;color:#465361;font-weight:400}.order-phone-filter span{flex:none}.order-phone-filter input{width:168px;height:34px!important;padding:0 10px}
.order-more-button.ui-chevron-control{position:relative;padding-right:19px!important}.order-more-button.ui-chevron-control::after{content:"";position:absolute;right:4px;top:50%;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-68%) rotate(45deg);transition:transform .15s ease}.order-more-button.ui-chevron-control.active::after{transform:translateY(-25%) rotate(225deg)}
.image-side-tools .ui-icon-control{display:flex;width:28px!important;height:28px!important;align-items:center;justify-content:center;border:1px solid transparent!important;border-radius:4px!important}.image-side-tools .ui-icon-control:hover{border-color:#c6dcf5!important;background:#ecf5ff!important}.image-side-tools .ui-icon-control::before{width:16px;height:16px}
.ui-empty-image{position:relative;color:#9aa6b3!important;background:#f7f9fc!important;border:1px dashed #cfd8e3!important;border-radius:4px}.ui-empty-image::before{content:"";width:26px;height:26px;background-color:currentColor;-webkit-mask:var(--ui-icon) center/contain no-repeat;mask:var(--ui-icon) center/contain no-repeat}.order-thumb.ui-empty-image{display:flex;align-items:center;justify-content:center}.order-thumb.ui-empty-image::before{width:18px;height:18px}
.variant-dialog>header .ui-icon-control{display:flex!important;width:36px!important;height:36px!important;align-items:center!important;justify-content:center!important;padding:0!important;color:#8994a2!important}.variant-dialog>header .ui-icon-control::before{width:16px;height:16px}
body.sidebar-collapsed .reference-sidebar .reference-menu-title:before,body.sidebar-collapsed .reference-sidebar .reference-side-item:before,body.sidebar-collapsed .reference-sidebar .side-link:before{content:"";display:inline-block;width:16px;height:16px;margin:0;vertical-align:middle;background-color:currentColor;border:0;border-radius:0}
body.sidebar-collapsed .reference-sidebar .reference-menu-title:before{background-color:currentColor;-webkit-mask:var(--ui-icon) center/contain no-repeat;mask:var(--ui-icon) center/contain no-repeat}
body.sidebar-collapsed .reference-sidebar .reference-side-item:before{width:7px;height:7px;border:1.5px solid currentColor;border-radius:50%;background:transparent}
body.sidebar-collapsed .reference-sidebar .side-link:before{-webkit-mask:var(--ui-icon) center/contain no-repeat;mask:var(--ui-icon) center/contain no-repeat}
.order-date-popup{width:min(756px,calc(100vw - 180px))!important;grid-template-columns:100px repeat(2,minmax(0,1fr))!important}

/* One visual language for fields, dates, arrows and editor controls. */
.order-date-range.custom-order-date-range{width:230px!important;height:34px!important}
.order-date-trigger{box-sizing:border-box;width:230px!important;height:34px!important;padding:0 12px!important;border-radius:4px!important;font-variant-numeric:tabular-nums}
.order-date-trigger[aria-expanded="true"]{border-color:#409eff;box-shadow:0 0 0 1px #409eff inset}
.order-date-trigger .calendar-icon{color:#9aa5b2}
.reference-shell{font-size:14px}
.reference-shell button,.reference-shell input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),.reference-shell select,.reference-shell textarea,.reference-shell label{font-size:14px}
.reference-shell select:not([multiple]){-webkit-appearance:none;appearance:none;padding-right:34px!important;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.25 6 6.25 11 1.25' fill='none' stroke='%23778493' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:10px 7px}
.reference-shell select:not([multiple]):disabled{background-color:#f5f7fa}
.ui-css-chevron{display:flex!important;align-items:center!important;justify-content:center!important}
.ui-css-chevron::before{content:"";display:block;width:7px;height:7px;border-right:1.5px solid #778493;border-bottom:1.5px solid #778493;transform:translateY(-2px) rotate(45deg);transition:transform .15s ease}
.variant-attribute-trigger[aria-expanded="true"] .ui-css-chevron::before{transform:translateY(2px) rotate(225deg)}
.share-field-button.ui-icon-control{display:inline-flex;align-items:center;justify-content:center;padding:0!important}

.unified-tool-filters{overflow:visible!important}
.unified-tool-filters .filter-row{display:flex;align-items:flex-end;gap:10px;min-height:66px;padding:8px 10px;overflow:visible}
.unified-tool-filters .filter-row>label{display:flex;flex-direction:column;gap:6px;color:#596575;font-weight:400}
.unified-tool-filters .filter-row input,.unified-tool-filters .filter-row select,.unified-tool-filters .filter-row>button{height:34px!important;border-radius:4px!important}
.unified-tool-filters .filter-row input{width:150px}.unified-tool-filters .filter-row select{width:140px}
.unified-tool-filters .tool-date-label{position:relative;width:250px;overflow:visible}
.unified-tool-filters .tool-date-range{position:relative!important;display:block!important;width:250px!important;height:34px!important;border:0!important;overflow:visible!important;background:transparent!important}
.unified-tool-filters .tool-date-range>input{display:none!important}
.unified-tool-filters .tool-date-trigger{display:flex;align-items:center;width:250px!important;height:34px!important;padding:0 12px!important;border:1px solid #d6dee8!important;border-radius:4px!important;background:#fff!important;color:#657083!important;font-variant-numeric:tabular-nums;white-space:nowrap}
.unified-tool-filters .tool-date-popup{left:0!important;right:auto!important;top:39px!important}
.unified-tool-filters .filter-button{min-width:68px}.unified-tool-filters .tool-add{min-width:118px;margin-left:auto}

.compact-product-editor .compact-category-row{height:53px!important;align-items:center!important}
.compact-product-editor .category-label,.compact-product-editor .compact-category-control,.compact-product-editor .compact-category-control input,.compact-product-editor .compact-category-row select{height:34px!important;border-radius:4px!important}
.compact-product-editor .category-label{border:1px solid #d9ecff!important}
.compact-product-editor .compact-category-control input,.compact-product-editor .compact-category-row select{border:1px solid #d6dee8!important;color:#606b78!important;background-color:#fff!important}
.compact-product-editor .compact-chevron{top:1px!important;right:1px!important;width:32px!important;height:32px!important;border-radius:0 4px 4px 0!important}
.compact-product-editor .variant-attribute-trigger{height:34px!important;border-color:#d6dee8!important;border-radius:4px!important;font-size:14px!important}
.compact-product-editor .variant-attribute-menu button{font-size:14px!important}
.compact-product-editor .compact-extension label,.compact-product-editor .language-editor-field,.compact-product-editor .wide-field{font-size:14px!important}

/* Upload logs use the same control, border, date and pagination system as products/orders. */
.reference-upload-logs{min-width:1180px;padding:8px 4px 0;color:#465361}
.upload-log-filter-box{position:relative;z-index:9;padding:6px 8px 0;border:1px solid #e2e8f0;border-radius:6px;background:rgba(255,255,255,.84)}
.upload-log-filter-row{display:flex;align-items:center;gap:10px;min-height:48px;overflow:visible}
.upload-log-filter-row>label{display:flex;align-items:center;gap:8px;white-space:nowrap;font-weight:400;color:#465361}
.upload-log-filter-row>label>span{flex:none}
.upload-log-filter-row input,.upload-log-filter-row select,.upload-log-filter-row>button{height:34px!important;border:1px solid #d6dee8;border-radius:4px;background:#fff;color:#5c6877}
.upload-log-filter-row input{width:200px;padding:0 12px 0 34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='6.5' cy='6.5' r='4.25' fill='none' stroke='%2393a0af' stroke-width='1.4'/%3E%3Cpath d='m9.7 9.7 3.4 3.4' fill='none' stroke='%2393a0af' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:11px center;background-size:14px 14px}
.upload-log-filter-row select{width:120px;padding-left:12px}.upload-log-filter-row #uploadFilterStatus{width:132px}
.upload-failed-filter{gap:10px!important}.upload-switch{position:relative;width:40px!important;min-width:40px;height:20px!important;padding:0!important;border:0!important;border-radius:12px!important;background:#dfe4eb!important;cursor:pointer}.upload-switch i{position:absolute;left:2px;top:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(35,50,70,.2);transition:left .16s ease}.upload-switch.active{background:#409eff!important}.upload-switch.active i{left:22px}
.upload-log-filter-row>.tool-date-range{position:relative!important;display:block!important;width:220px!important;height:34px!important;flex:0 0 220px;border:0!important;overflow:visible!important;background:transparent!important}
.upload-log-filter-row>.tool-date-range>input{display:none!important}.upload-log-filter-row .tool-date-trigger{display:flex;align-items:center;width:220px!important;height:34px!important;padding:0 11px!important;border:1px solid #d6dee8!important;border-radius:4px!important;background:#fff!important;color:#5c6877!important;font-variant-numeric:tabular-nums}.upload-log-filter-row .tool-date-popup{left:auto!important;right:0!important;top:39px!important}
.upload-log-query{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:72px;padding:0 14px!important;border-color:#409eff!important;background:#409eff!important;color:#fff!important;cursor:pointer}
.upload-log-summary{height:39px;display:flex;align-items:center;border-top:1px solid #edf1f5;color:#445063}
.upload-log-table-box{margin-top:8px;border:1px solid #e1e7ef;background:rgba(255,255,255,.8)}
.upload-log-table{width:100%;border-collapse:collapse;table-layout:fixed;background:transparent}
.upload-log-table th{height:54px;padding:0 11px;border-bottom:1px solid #dde5ee;color:#7b8593;text-align:left;font-weight:600}
.upload-log-table td{height:104px;padding:12px 11px;border-bottom:1px solid #e1e7ef;vertical-align:middle;color:#465361}
.upload-log-table th:nth-child(1){width:100px}.upload-log-table th:nth-child(2){width:80px}.upload-log-table th:nth-child(3){width:210px}.upload-log-table th:nth-child(4){width:150px}.upload-log-table th:nth-child(5){width:auto}.upload-log-table th:nth-child(6){width:120px}.upload-log-table th:nth-child(7){width:150px}.upload-log-table th:nth-child(8){width:190px}
.upload-category-cell{line-height:1.65;overflow-wrap:anywhere}.upload-products-cell{line-height:24px}.upload-product-link,.upload-expand-products,.upload-log-actions button{padding:0;border:0;background:transparent;color:#409eff;cursor:pointer}.upload-product-link{margin-right:7px;white-space:nowrap}.upload-expand-products{display:block;margin-top:6px}.upload-empty-value{color:#a0a9b5}
.upload-log-status{font-weight:500}.upload-log-status.success{color:#16a34a}.upload-log-status.failed{color:#f25555}.upload-log-status.pending{color:#e6a23c}
.upload-progress-label{margin-bottom:9px;color:#526071;font-variant-numeric:tabular-nums}.upload-progress{position:relative;width:112px;height:6px;border-radius:5px;background:#e7ebf0;overflow:hidden}.upload-progress i{display:block;height:100%;border-radius:5px;background:#67c23a}.upload-log-actions{white-space:nowrap}.upload-log-actions button{margin-right:10px}
.upload-log-empty{height:138px!important}.upload-log-pager{padding:0 10px;background:rgba(255,255,255,.75)}.upload-log-pager select{width:96px;padding-left:10px!important}.upload-log-pager button:disabled{color:#bec6d1;cursor:not-allowed}
@media(max-width:1500px){.upload-log-filter-row{flex-wrap:wrap;padding:6px 0}.upload-log-summary{margin-top:4px}.upload-log-filter-row .tool-date-popup{left:0!important;right:auto!important}}
.reference-products>.reference-pager{width:100%;box-sizing:border-box;justify-content:center;gap:10px;padding:0 14px;white-space:nowrap}
.reference-products>.reference-pager select{box-sizing:border-box;width:96px;min-width:96px;padding:0 28px 0 10px;appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.25 6 6.25 11 1.25' fill='none' stroke='%23778493' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center;background-size:10px 7px}
.reference-products>.reference-pager input{box-sizing:border-box;width:48px;min-width:48px}
.reference-products>.reference-pager{display:flex!important;width:100%!important;justify-content:center!important;align-items:center!important}
.reference-products>.reference-pager .product-pager-content{display:flex;align-items:center;justify-content:center;gap:10px;white-space:nowrap}
.reference-products>.reference-pager{position:relative!important}
.reference-products>.reference-pager .product-pager-content{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}
.reference-products>.reference-pager{justify-content:flex-start!important;overflow:hidden}
.reference-products>.reference-pager .product-pager-content{position:static;transform:none;width:max-content;min-width:0;max-width:100%;justify-content:flex-start;flex:none}
.reference-pager button{min-width:25px;height:25px}.reference-pager button.active{border-radius:3px;background:#409eff;color:#fff}.reference-pager button:disabled{color:#b9c2ce;cursor:not-allowed}.product-page-ellipsis{min-width:18px;text-align:center;color:#8a94a3}
.product-copy-backdrop{position:fixed;inset:0;z-index:1500;display:flex;align-items:center;justify-content:center;background:rgba(19,28,38,.58)}.product-copy-dialog{width:620px;max-width:calc(100vw - 32px);border-radius:3px;background:#fff;box-shadow:0 14px 45px rgba(0,0,0,.24);overflow:hidden}.product-copy-dialog header{height:58px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e4e9ef}.product-copy-dialog header h3{margin:0;color:#303846;font-size:17px;font-weight:500}.product-copy-dialog header button{border:0;background:transparent;color:#9aa3af;font-size:24px;cursor:pointer}.product-copy-body{padding:24px 58px 12px}.copy-count-row,.copy-category-row{display:flex;align-items:center;gap:24px;min-height:56px}.copy-count-row>label,.copy-category-row>label{width:90px;color:#606a78;text-align:right}.copy-stepper{display:grid;grid-template-columns:42px 96px 42px;height:40px;border:1px solid #d8e0ea;border-radius:3px;overflow:hidden}.copy-stepper button{border:0;background:#f7f9fb;color:#8490a0;font-size:20px;cursor:pointer}.copy-stepper strong{display:flex;align-items:center;justify-content:center;border-left:1px solid #d8e0ea;border-right:1px solid #d8e0ea;color:#4e5967;font-weight:400}.copy-option-row{display:grid;grid-template-columns:180px 42px 52px;align-items:center;gap:10px;min-height:64px;color:#596473}.copy-option-row b{font-weight:400;color:#409eff}.copy-switch{position:relative;width:40px;height:22px;padding:0;border:0;border-radius:12px;background:#c3cbd6;cursor:pointer}.copy-switch i{position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;transition:.15s}.copy-switch.on{background:#16c778}.copy-switch.on i{left:21px}.copy-category-row{margin-top:8px;padding-top:14px;border-top:1px solid #edf0f4}.copy-category-row input{width:220px;height:38px;box-sizing:border-box;border:1px solid #d8e0ea;border-radius:3px;padding:0 12px;color:#4d5968}.product-copy-dialog footer{height:72px;padding:0 22px;display:flex;align-items:center;justify-content:flex-end;gap:12px;border-top:1px solid #e4e9ef}.product-copy-dialog footer button{width:82px;height:38px;border:1px solid #d8e0ea;border-radius:3px;background:#fff;color:#5c6674;cursor:pointer}.product-copy-dialog footer .confirm{border-color:#409eff;background:#409eff;color:#fff}.product-copy-dialog footer .confirm:disabled{opacity:.65;cursor:wait}@media(max-width:700px){.product-copy-body{padding:20px}.copy-option-row{grid-template-columns:1fr 42px 45px}.copy-count-row>label,.copy-category-row>label{width:78px}}
.copy-category-row select{width:300px;height:38px;box-sizing:border-box;border:1px solid #d8e0ea;border-radius:3px;padding:0 12px;background:#fff;color:#4d5968}.copy-model-hint{margin:0 0 8px 114px;color:#f05a5a;font-size:12px}.model-categories-page{min-height:calc(100vh - 150px);padding:20px;background:rgba(255,255,255,.86)}.model-category-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:24px}.model-category-toolbar button{height:31px;padding:0 17px;border:1px solid #d5deea;border-radius:3px;background:#fff;color:#526071;cursor:pointer}.model-category-toolbar .ref-primary{border-color:#409eff;background:#409eff;color:#fff}.model-category-item{border-bottom:1px solid #edf1f5}.model-category-head{height:38px;display:flex;align-items:center}.model-category-toggle{width:28px;border:0;background:transparent;color:#a4adba;cursor:pointer}.model-category-name{min-width:260px;border:0;background:transparent;color:#4c5868;text-align:left;cursor:pointer}.model-category-head>span{color:#9aa4b1}.model-category-actions{margin-left:auto;display:flex;gap:12px}.model-category-actions button{border:0;background:transparent;color:#409eff;font-size:16px;cursor:pointer}.model-category-values{padding:8px 30px 16px;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:7px 16px;background:#fafbfd}.model-category-values span{display:flex;align-items:center;min-height:30px;padding:3px 9px;border:1px solid #e3e8ef;border-radius:3px;background:#fff;color:#596575}.model-category-values b{min-width:30px;color:#a0a9b5;font-weight:400}.model-category-backdrop{position:fixed;inset:0;z-index:1600;display:flex;align-items:center;justify-content:center;background:rgba(19,28,38,.58)}.model-category-dialog{width:650px;max-width:calc(100vw - 32px);border-radius:3px;background:#fff;box-shadow:0 14px 45px rgba(0,0,0,.24)}.model-category-dialog header,.model-category-dialog footer{height:60px;padding:0 22px;display:flex;align-items:center;border-bottom:1px solid #e4e9ef}.model-category-dialog header{justify-content:space-between}.model-category-dialog header h3{margin:0;font-size:17px;font-weight:500}.model-category-dialog header button{border:0;background:transparent;color:#9aa3af;font-size:24px}.model-category-dialog-body{padding:22px 30px}.model-category-dialog-body label{display:block;margin-bottom:16px;color:#596575}.model-category-dialog-body input,.model-category-dialog-body textarea{display:block;width:100%;box-sizing:border-box;margin-top:7px;border:1px solid #d7e0ea;border-radius:3px;padding:9px 11px;color:#465362}.model-category-dialog-body input{height:38px}.model-category-dialog-body textarea{resize:vertical;line-height:1.7}.model-category-dialog-body p{margin:0;color:#7f8996}.model-category-dialog-body p b{color:#f05a5a}.model-category-dialog footer{justify-content:flex-end;gap:12px;border-top:1px solid #e4e9ef;border-bottom:0}.model-category-dialog footer button{width:82px;height:38px;border:1px solid #d8e0ea;border-radius:3px;background:#fff;color:#5c6674}.model-category-dialog footer .confirm{border-color:#409eff;background:#409eff;color:#fff}
.amazon-auto-product-type{display:flex;flex-direction:column;justify-content:center;gap:7px;min-height:62px;padding:0 12px;border:1px solid #cfe2f7;border-radius:3px;background:#f3f8fe;color:#5f6c7b}.amazon-auto-product-type b{color:#1684e8;font-weight:500}.amazon-upload-dialog button[type="submit"]:disabled{cursor:wait;opacity:.72}
.shop-readonly-notice{box-sizing:border-box;width:100%;margin:0 0 10px;padding:8px 13px;border:1px solid #cfe3f8;border-radius:3px;background:#f1f7fe;color:#3f7fbe;font-size:13px}.all-shops-readonly .reference-action-row button:disabled{opacity:.48;cursor:not-allowed}
.shop-manager-page{min-height:calc(100vh - 150px);padding:18px 20px;background:rgba(255,255,255,.88)}.shop-manager-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.shop-manager-toolbar h2{margin:0 0 5px;color:#303846;font-size:18px;font-weight:500}.shop-manager-toolbar p{margin:0;color:#7a8594}.shop-manager-toolbar button{height:34px;padding:0 18px;border:0;border-radius:3px}.shop-manager-table{width:100%;border-collapse:collapse;border:1px solid #dfe6ef;background:#fff}.shop-manager-table th,.shop-manager-table td{height:50px;padding:0 14px;border-bottom:1px solid #e6ebf1;text-align:left;color:#4e5b6b}.shop-manager-table th{height:44px;background:#f7f9fb;color:#687586;font-weight:500}.shop-manager-table td b{display:block;color:#344255;font-weight:500}.shop-manager-table td small{display:block;margin-top:3px;color:#9aa5b3}.shop-manager-table td button{margin-right:12px;border:0;background:transparent;color:#409eff;cursor:pointer}.shop-status,.shop-auth-empty,.shop-auth-ok{display:inline-block;padding:3px 9px;border-radius:10px;background:#f2f4f7;color:#7a8594}.shop-status.ok,.shop-auth-ok{background:#eaf8f0;color:#18a661}.shop-auth-empty{background:#fff5e8;color:#d58a24}.shop-manager-backdrop{z-index:1800;display:flex;align-items:center;justify-content:center}.shop-manager-dialog{width:540px;max-width:calc(100vw - 32px);border-radius:4px;background:#fff;box-shadow:0 16px 50px rgba(20,31,45,.28)}.shop-manager-dialog header,.shop-manager-dialog footer{height:60px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e5eaf0}.shop-manager-dialog header h3{margin:0;font-size:17px;font-weight:500}.shop-manager-dialog header button{border:0;background:transparent;color:#929daa;font-size:24px}.shop-manager-body{padding:24px 34px}.shop-manager-body label{display:block;margin-bottom:17px;color:#596575}.shop-manager-body input,.shop-manager-body select{display:block;box-sizing:border-box;width:100%;height:39px;margin-top:7px;padding:0 11px;border:1px solid #d7e0ea;border-radius:3px;background:#fff;color:#405064}.shop-manager-body p{margin:5px 0 0;padding:10px 12px;background:#f3f8fe;color:#4f789e;line-height:1.6}.shop-manager-dialog footer{justify-content:flex-end;gap:12px;border-top:1px solid #e5eaf0;border-bottom:0}.shop-manager-dialog footer button{height:36px;padding:0 20px;border:1px solid #d7e0ea;border-radius:3px;background:#fff}.shop-manager-dialog footer .ref-primary{border-color:#409eff;background:#409eff;color:#fff}
.reference-profile-dialog{width:min(860px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto}.reference-profile-form{box-sizing:border-box;width:100%;padding:22px 38px 4px;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:32px}.reference-profile-form>label{min-width:0}.reference-profile-form>label>span:first-child{width:110px;margin-right:12px}.reference-profile-form input:not([type="checkbox"]){min-width:0;width:auto;flex:1}.reference-profile-form .profile-number{flex:0 0 130px}.reference-profile-form .profile-number input{flex:none;width:68px}.reference-profile-dialog form>footer{position:sticky;bottom:0;box-sizing:border-box;background:#fff}@media(max-width:760px){.reference-profile-form{padding:18px 24px 4px;grid-template-columns:1fr}.reference-profile-form>label>span:first-child{width:125px}.reference-profile-dialog footer{padding-right:24px}}

/* Three-level account hierarchy */
.account-scope-filter{width:216px!important;min-width:216px!important;border-color:#9ecbff!important}.account-owner-column{width:130px;color:#536176}.account-system-home{margin:28px 20px;padding:20px;border-top:1px solid #e2e9f2;background:rgba(255,255,255,.85)}.account-system-title{padding:0 0 16px;font-size:16px;font-weight:600;color:#3b485b}.account-system-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.account-system-cards button{min-height:76px;display:flex;align-items:center;gap:15px;border:0;background:#f3f6fa;padding:14px 18px;text-align:left;cursor:pointer}.account-system-cards button:hover{background:#eaf3ff}.account-system-cards i{font-style:normal;font-size:38px;color:#8d99a9}.account-system-cards span{display:flex;flex-direction:column;gap:5px}.account-system-cards b{font-size:15px;color:#26364a}.account-system-cards small{color:#8793a4;line-height:1.4}.account-manager-toolbar>h2{margin:0}@media(max-width:1200px){.account-system-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
.account-scope-picker{position:relative;width:216px!important;min-width:216px!important;height:34px;z-index:80}.account-scope-trigger{box-sizing:border-box;width:100%;height:34px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;border:1px solid #9ecbff!important;border-radius:4px;background:#fff!important;color:#526176!important;cursor:pointer}.account-scope-trigger b{font-size:14px;color:#8ba0b8;transition:transform .15s}.account-scope-picker.open .account-scope-trigger b{transform:rotate(180deg)}.account-scope-menu,.account-scope-submenu{display:none;position:absolute;top:38px;left:0;box-sizing:border-box;width:216px;padding:6px 0;border:1px solid #dce5f0;border-radius:4px;background:#fff;box-shadow:0 8px 22px rgba(31,48,75,.16);z-index:2100}.account-scope-picker.open>.account-scope-menu{display:block}.account-scope-option{box-sizing:border-box;width:100%;min-height:38px;display:flex!important;align-items:center;gap:9px;padding:7px 12px!important;border:0!important;background:#fff!important;color:#526176!important;text-align:left;cursor:pointer}.account-scope-option:hover,.account-scope-option.selected{background:#f2f7fd!important;color:#2788ed!important}.account-scope-option i{width:13px;height:13px;flex:0 0 13px;border:1px solid #cbd6e4;border-radius:50%;background:#fff}.account-scope-option.selected i{border:4px solid #409eff}.account-scope-option span{display:flex;min-width:0;flex-direction:column;line-height:1.25}.account-scope-option small{max-width:145px;overflow:hidden;color:#9aa6b6;text-overflow:ellipsis;white-space:nowrap}.account-scope-group{position:relative}.account-scope-arrow{position:absolute;right:12px;top:10px;color:#8fa0b4;pointer-events:none}.account-scope-group:hover>.account-scope-submenu{display:block}.account-scope-submenu{top:-7px;left:100%;min-height:44px}.account-scope-menu>p{margin:8px 12px;color:#9aa6b6}.order-filter-one,.product-filter-row{overflow:visible!important}
.account-manager-page{padding:24px 20px;background:#fff;min-height:620px}.account-manager-toolbar{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:18px}.account-manager-toolbar h2{margin:0 0 5px;font-size:20px;color:#26364d}.account-manager-toolbar p{margin:0;color:#75849a}.account-manager-table{width:100%;border-collapse:collapse;border:1px solid #dfe7f2}.account-manager-table th,.account-manager-table td{padding:13px 15px;border-bottom:1px solid #e5ebf3;text-align:left}.account-manager-table th{background:#f5f8fc;color:#637086}.account-manager-table td small{display:block;margin-top:4px;color:#8b98aa}.account-manager-table button{border:0;background:none;color:#2788ed;cursor:pointer;margin-right:16px}.account-role,.account-status{display:inline-block;padding:4px 10px;border-radius:14px}.account-role.role-group{color:#1677ff;background:#eaf3ff}.account-role.role-personal{color:#4f647d;background:#eff3f7}.account-status{color:#14a566;background:#e9f8f1}.account-status.disabled{color:#8d98a7;background:#eef1f5}.account-manager-backdrop{z-index:1900;display:flex;align-items:center;justify-content:center}.account-manager-dialog{width:min(760px,calc(100vw - 40px));background:#fff;border-radius:4px;box-shadow:0 16px 42px rgba(31,48,75,.25)}.account-manager-dialog header,.account-manager-dialog footer{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;border-bottom:1px solid #e6ebf2}.account-manager-dialog footer{justify-content:flex-end;gap:12px;border-top:1px solid #e6ebf2;border-bottom:0}.account-manager-dialog header h3{margin:0}.account-manager-dialog header button{border:0;background:none;font-size:24px;color:#8a96a8}.account-manager-body{padding:22px 24px}.account-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 20px}.account-form-grid label{display:flex;flex-direction:column;gap:7px;color:#526176}.account-form-grid input,.account-form-grid select{box-sizing:border-box;width:100%;height:38px;border:1px solid #ccd8e7;border-radius:3px;padding:0 10px;background:#fff}.account-manager-body fieldset{margin:22px 0 0;border:1px solid #dce5f0}.account-manager-body legend{padding:0 8px;color:#526176}.account-shop-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}.account-shop-grid label{color:#4d5d72}.account-scope-note,.master-readonly-notice{padding:10px 14px;background:#edf6ff;border:1px solid #cde4ff;color:#2674c7}.account-scope-note{margin:18px 0 0}.master-readonly-notice{margin-bottom:12px}.master-account button:disabled{cursor:not-allowed;opacity:.48}
.account-tree-table .account-group-row{background:#f8fbff}.account-tree-table .account-group-row.expanded{background:#eef6ff}.account-tree-table .account-child-row{background:#fff}.account-tree-table .account-child-row td:first-child,.account-tree-table .account-child-row td:nth-child(2){color:#64758a}.account-tree-table .account-child-row td:nth-child(2){padding-left:28px}.account-tree-toggle{display:inline-flex!important;align-items:center;gap:8px;min-width:54px;margin:0!important;padding:0!important;color:#43546a!important}.account-tree-toggle span{display:inline-flex;width:16px;height:16px;align-items:center;justify-content:center;font-size:18px;color:#8795a8}.account-tree-toggle:disabled span{visibility:hidden}.account-tree-child-index{padding-left:24px;color:#91a0b2}.account-tree-branch{display:inline-block;margin-right:9px;color:#b2bdca}.account-tree-table tbody tr:hover{background:#f3f8fe}
@media(max-width:800px){.account-form-grid,.account-shop-grid{grid-template-columns:1fr}.account-manager-page{padding:14px}.account-manager-toolbar{gap:12px}.account-manager-table{display:block;overflow:auto}}
.account-switch-dialog{width:min(820px,calc(100vw - 36px));overflow:hidden}.account-switch-dialog header{height:auto;min-height:72px;align-items:flex-start;padding:20px 24px}.account-switch-dialog header div{min-width:0}.account-switch-dialog header h3{margin:0 0 6px}.account-switch-dialog header p{margin:0;color:#99a3b1;font-size:13px}.account-switch-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:26px}.account-switch-card{position:relative;min-height:164px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:1px solid #dce4ee;border-radius:10px;background:#fff;color:#536176;cursor:pointer}.account-switch-card:hover{border-color:#79b7ff;box-shadow:0 8px 22px rgba(64,158,255,.13)}.account-switch-card i{width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#edf2f8;color:#7f8b9b;font-style:normal;font-size:24px}.account-switch-card strong{max-width:100%;padding:0 10px;overflow:hidden;color:#303b4a;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.account-switch-card span{color:#8d98a8;font-size:12px}.account-switch-card em{color:#409eff;font-size:12px;font-style:normal}.account-switch-card.current{border-color:#409eff;background:#f5faff;cursor:default}.account-switch-card.current i{background:#409eff;color:#fff}.account-switch-card.current::after{content:'✓ 当前';position:absolute;right:10px;top:9px;color:#409eff;font-size:12px}@media(max-width:760px){.account-switch-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:18px}}
.shop-manager-toolbar{gap:24px}.shop-manager-toolbar>div:first-child{min-width:260px}.shop-manager-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px}.shop-account-scope{display:flex;align-items:center;gap:9px;color:#778495;white-space:nowrap}.shop-account-scope>.account-scope-picker{width:240px!important;min-width:240px!important}.shop-account-scope .account-scope-menu,.shop-account-scope .account-scope-submenu{width:240px}.shop-account-scope .account-scope-option{height:auto;min-height:38px;padding:7px 12px!important}@media(max-width:900px){.shop-manager-toolbar{align-items:flex-start;flex-direction:column}.shop-manager-toolbar-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}.shop-account-scope{width:100%}.shop-account-scope>.account-scope-picker{width:min(280px,calc(100vw - 150px))!important;min-width:180px!important}}

/* 境舟 ERP 品牌色 */
.reference-shell{--brand-primary:#155eef;--brand-primary-soft:#eef4ff;--brand-cyan:#22c7d9}
.reference-shell .ref-primary,.reference-shell button.confirm,.reference-shell .reference-pager button.active,.reference-shell .model-category-toolbar .ref-primary,.reference-shell .shop-manager-dialog footer .ref-primary{border-color:var(--brand-primary)!important;background:var(--brand-primary)!important;color:#fff!important}
.reference-shell a,.reference-shell .mini-link,.reference-shell .account-manager-table button,.reference-shell .model-category-actions button{color:var(--brand-primary)}
.reference-shell input:focus,.reference-shell select:focus,.reference-shell textarea:focus{border-color:var(--brand-primary)!important;box-shadow:0 0 0 2px rgba(21,94,239,.08)}
.reference-shell .account-scope-option.selected i{border-color:var(--brand-primary)}
.reference-shell .account-scope-option:hover,.reference-shell .account-scope-option.selected{background:var(--brand-primary-soft)!important;color:var(--brand-primary)!important}
.reference-shell .account-role.role-group{background:var(--brand-primary-soft);color:var(--brand-primary)}
