:root{color:#172033;background:#f5f7fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}.dashboard-shell{min-height:100vh;padding:24px}.topbar{justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;display:flex}.eyebrow{color:#3867d6;letter-spacing:.08em;text-transform:uppercase;margin:0 0 6px;font-size:12px;font-weight:800}.platform-switch{background:#e8edf6;border-radius:14px;gap:2px;padding:3px;display:inline-flex}.platform-tab{color:#475569;cursor:pointer;background:0 0;border:0;border-radius:11px;padding:8px 18px;font-size:14px;font-weight:800;transition:background .16s,color .16s,box-shadow .16s}.platform-tab:hover{color:#172033}.platform-tab.active{color:#172033;background:#fff;box-shadow:0 4px 14px #12263f1f}h1,h2,h3,p{margin-top:0}h1{margin-bottom:0;font-size:clamp(28px,4vw,44px)}.topbar-actions,.toolbar,.log-filter{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.toolbar{background:#fff;border-radius:20px;margin-bottom:18px;padding:16px;box-shadow:0 14px 44px #12263f1c}.summary-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-bottom:16px;display:grid}.summary-grid div{background:#fff;border-radius:14px;justify-content:space-between;align-items:baseline;gap:12px;padding:14px 18px;display:flex;box-shadow:0 6px 20px #12263f0f}.summary-grid span{color:#64748b;font-weight:700;display:block}.summary-grid strong{margin-top:0;font-size:24px;line-height:1.1;display:block}.summary-clickable{cursor:pointer;transition:border-color .15s,box-shadow .15s}.summary-clickable:hover{border-color:#3867d6;box-shadow:0 4px 16px #3867d62e}.text-button{color:#3867d6;cursor:pointer;background:0 0;border:0;font-size:12px;font-weight:900}.subtitle-line{color:#64748b;margin:8px 0 0}button:disabled,select:disabled{opacity:.5;cursor:not-allowed}input,select,textarea{color:#172033;background:#fff;border:1px solid #d8e0ee;border-radius:12px;padding:10px 12px}textarea{resize:vertical;min-height:84px}.toolbar input{flex:1;min-width:min(360px,100%)}.filter-bar{background:#fff;border-radius:14px;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:16px;padding:12px 16px;display:flex;box-shadow:0 6px 20px #12263f0f}.filter-group{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.filter-divider{background:#e2e8f0;align-self:stretch;width:1px;min-height:24px}.filter-search{flex:0 320px;width:320px;min-width:min(280px,100%)}.sort-direction{display:inline-flex}.sort-dir{color:#475569;cursor:pointer;background:#f8fafc;border:1px solid #d8e0ee;padding:8px 12px;font-weight:900;line-height:1}.sort-dir.desc{border-left:0;border-radius:0 12px 12px 0}.sort-dir.active{color:#fff;background:#3867d6;border-color:#3867d6}.primary-button,.ghost-button,.danger-button,.ghost-link{cursor:pointer;border:0;border-radius:12px;align-items:center;padding:10px 14px;font-weight:800;text-decoration:none;display:inline-flex}.primary-button{color:#fff;background:#3867d6}.ghost-button,.ghost-link{color:#3867d6;background:#edf3ff}.danger-button{color:#fff;background:#e11d48;margin-top:12px}.full{justify-content:center;width:100%}.workspace{grid-template-columns:minmax(0,1fr);align-items:start;gap:18px;display:grid}.board-area{min-width:0}.product-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));align-items:start;gap:18px;display:grid}.product-card,.detail-panel,.product-form,.empty-state,.error-box{background:#fff;border-radius:22px;box-shadow:0 14px 44px #12263f1c}.product-card{cursor:pointer;transition:transform .16s,box-shadow .16s;overflow:hidden}.selectable-card{background:#fff;border:2px solid #0000;border-radius:26px;transition:transform .16s,box-shadow .16s,border-color .16s;position:relative;overflow:hidden;box-shadow:0 14px 44px #12263f1c}.selectable-card:hover{transform:translateY(-2px);box-shadow:0 18px 50px #12263f1f}.selectable-card.selected{border-color:#3867d6;box-shadow:0 0 0 4px #3867d626,0 18px 50px #12263f1f}.select-row{z-index:3;cursor:pointer;background:0 0;align-items:center;padding:0;display:inline-flex;position:absolute;top:10px;left:10px}.select-row input{box-sizing:border-box;cursor:pointer;appearance:none;background:#ffffffe0;border:1.5px solid #c7d2fe;border-radius:5px;place-items:center;width:16px;height:16px;margin:0;padding:0;transition:border-color .15s,background .15s,transform .15s,box-shadow .15s;display:inline-grid;box-shadow:0 1px 4px #12263f1a}.select-row input:hover{border-color:#3867d6;transform:scale(1.1)}.select-row input:checked{background:#3867d6;border-color:#3867d6;box-shadow:0 2px 8px #3867d659}.select-row input:checked:after{content:"";border-bottom:2px solid #fff;border-left:2px solid #fff;width:8px;height:4px;transform:rotate(-45deg)translate(1px,-1px)}.selection-count{color:#64748b;font-weight:800}.product-card:hover{transform:translateY(-2px);box-shadow:0 18px 50px #12263f1f}.bento-card{cursor:pointer;flex-direction:column;display:flex}.bento-image-wrap{aspect-ratio:1;background:linear-gradient(135deg,#eef4ff,#f8fafc);width:100%;position:relative}.bento-image{object-fit:cover;width:100%;height:100%;display:block}.image-placeholder{color:#8b9bb2;place-items:center;width:100%;height:100%;font-weight:800;display:grid}.bento-content{flex-direction:column;flex:1;gap:5px;min-width:0;padding:16px 16px 18px;display:flex}.bento-content h3{margin-bottom:2px}.spec-row,.metric-row.between{margin:4px 0}.bento-head,.bento-footer{justify-content:space-between;align-items:center;gap:8px;display:flex}.brand-pill,.source-pill{color:#3867d6;white-space:nowrap;text-overflow:ellipsis;background:#edf3ff;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:900;overflow:hidden}.source-pill{color:#64748b;background:#f8fafc}.bento-content h3{-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:17px;line-height:1.35;display:-webkit-box;overflow:hidden}.bento-category{color:#64748b;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:13px;line-height:1.4;display:-webkit-box;overflow:hidden}.bento-info-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.bento-info-grid span{background:#f8fafc;border-radius:14px;min-width:0;padding:9px}.bento-info-grid small{color:#64748b;font-size:11px;font-weight:800;display:block}.bento-info-grid strong{text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:14px;display:block;overflow:hidden}.tag-row.compact{margin:0}.bento-footer{color:#64748b;margin-top:10px;font-size:12px}.bento-footer.split{justify-content:space-between;align-items:center;gap:10px;display:flex}.bento-footer span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.bento-footer a{color:#3867d6;white-space:nowrap;font-weight:900;text-decoration:none}.product-image{color:#8b9bb2;background:linear-gradient(135deg,#eff4ff,#f8fafc);place-items:center;height:150px;font-weight:800;display:grid}.product-image img{object-fit:cover;width:100%;height:100%}.product-card-body{padding:16px}.product-title-row{justify-content:space-between;align-items:start;gap:10px;display:flex}.product-title-row h3{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}.sku,.updated{color:#7b8aa5;font-size:13px}.status-pill{white-space:nowrap;color:#3867d6;background:#edf3ff;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:800}.status-active{color:#15803d;background:#dcfce7}.status-pending{color:#b45309;background:#fef3c7}.status-inactive,.status-archived{color:#64748b;background:#f1f5f9}.metric-grid{grid-template-columns:repeat(2,1fr);gap:10px;margin:14px 0;display:grid}.metric-grid span{color:#64748b;background:#f8fafc;border-radius:14px;padding:10px;font-size:12px}.metric-grid strong{color:#172033;margin-top:2px;font-size:16px;display:block}.danger{color:#e11d48!important}.meta-row,.tag-row{flex-wrap:wrap;gap:8px;margin-bottom:10px;display:flex}.meta-row span,.tag-row span{color:#64748b;border:1px solid #e2e8f0;border-radius:999px;padding:4px 8px;font-size:12px}.detail-wrapper{position:sticky;top:18px}.detail-skeleton{background:#fff;border-radius:22px;flex-direction:column;gap:14px;padding:20px;display:flex;box-shadow:0 14px 44px #12263f1c}@keyframes sk-pulse{0%,to{opacity:.38}50%{opacity:.62}}.detail-skeleton>*{animation:1.6s ease-in-out infinite sk-pulse}.detail-skeleton-topbar{background:linear-gradient(135deg,#eef2f7,#f1f5f9);border-radius:22px 22px 0 0;height:36px;margin:-20px -20px 0}.detail-skeleton-header{align-items:center;gap:12px;display:flex}.sk-thumb{background:#e2e8f0;border-radius:12px;flex:none;width:56px;height:56px}.sk-lines{flex-direction:column;flex:1;gap:8px;display:flex}.sk-line{background:#e2e8f0;border-radius:6px;height:12px}.sk-line.w70{width:70%}.sk-line.w40{width:40%}.sk-line.w30{width:30%}.sk-section{flex-direction:column;gap:10px;display:flex}.sk-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.sk-cell{background:#eef2f7;border-radius:10px;height:34px}.sk-table-row{background:#eef2f7;border-radius:8px;height:28px}.sk-block{background:#eef2f7;border-radius:10px;height:60px}.detail-panel,.product-form{background:#fff;border-radius:22px;padding:20px;box-shadow:0 14px 44px #12263f1c}.detail-panel{overflow:visible}.detail-topbar{background:linear-gradient(135deg,#eef4ff,#f8fbff);border-bottom:1px solid #e0e7ff;border-radius:22px 22px 0 0;justify-content:space-between;align-items:center;gap:8px;margin:-20px -20px 14px;padding:10px 20px;display:flex}.detail-topbar-title{color:#3867d6;letter-spacing:.04em;font-size:13px;font-weight:900}.detail-topbar-sku{color:#94a3b8;white-space:nowrap;font-size:12px;font-weight:800}.detail-panel h2{margin:0;font-size:20px;line-height:1.4}.detail-header,.form-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.detail-header{border-bottom:2px solid #eef2ff;gap:12px;padding-bottom:14px}.detail-header-thumb{flex:none;position:relative}.detail-thumb{object-fit:cover;cursor:pointer;background:#f8fafc;border:1px solid #eef2f7;border-radius:12px;width:56px;height:56px}.detail-thumb-empty{color:#94a3b8;cursor:default;place-items:center;font-size:11px;font-weight:800;display:grid}.thumb-badge{color:#fff;background:#3867d6;border:2px solid #fff;border-radius:999px;place-items:center;min-width:18px;height:18px;padding:0 4px;font-size:10px;font-weight:900;display:grid;position:absolute;bottom:-4px;right:-4px}.thumb-url-input{border-radius:10px;width:56px;padding:4px;font-size:10px}.detail-title-block{flex:1;min-width:0}.detail-title-block h2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.detail-section{background:#f8fafc;border-top:0;border-radius:16px;margin:10px 0;padding:12px 14px;position:relative;overflow:visible}.detail-section h3{color:#3867d6;letter-spacing:.02em;justify-content:space-between;align-items:center;gap:8px;margin:0 0 8px;font-size:14px;display:flex}.detail-section h3 span{align-items:center;gap:6px;display:inline-flex}.detail-section .ghost-button.small{padding:4px 10px;font-size:12px}.info-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;display:grid}.info-cell{gap:4px;min-width:0;display:grid}.info-cell dt{color:#64748b;font-size:11px;font-weight:800}.info-cell dd{color:#172033;word-break:break-word;overflow-wrap:anywhere;min-width:0;margin:0;font-size:13px;font-weight:700}.info-cell dd a{color:#3867d6}.info-grid.editable .info-cell dd input,.info-grid.editable .info-cell dd select{background:#fff;border:1px solid #d8e0ee;border-radius:10px;width:100%;padding:7px 10px;font-size:13px}.info-grid.editable .info-cell dd input:focus,.info-grid.editable .info-cell dd select:focus{border-color:#3867d6;outline:2px solid #3867d629}.info-grid.editable .info-cell:last-child{grid-column:1/-1}.variant-table{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;font-size:13px}.variant-table th{color:#94a3b8;text-align:center;white-space:nowrap;border-bottom:2px solid #e0e7ff;padding:8px 10px;font-size:11px;font-weight:800}.variant-table th.vt-spec{min-width:56px}.variant-table th.vt-num{min-width:72px}.variant-table th.vt-action{min-width:44px}.variant-table td{vertical-align:middle;text-align:center;white-space:nowrap;border-bottom:1px solid #eef2ff;padding:8px 10px}.variant-table td.vt-spec{color:#172033;font-weight:800}.variant-table td.vt-num{color:#172033;font-weight:700}.variant-table td.vt-num.danger{color:#e11d48}.variant-table tbody tr.vt-row:hover{background:#f8fbff}.variant-table .vt-spec-text{font-weight:900}.variant-table input[type=number],.variant-table input:not([type]){box-sizing:border-box;text-align:center;background:#fff;border:1px solid #d8e0ee;border-radius:8px;width:100%;min-width:0;padding:5px 6px;font-size:12px}.variant-table input:focus{border-color:#3867d6;outline:2px solid #3867d629}.vt-profit-btn{color:#3867d6;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:6px;padding:2px 6px;font-size:12px;font-weight:800}.vt-profit-btn:hover{background:#eef4ff}.vt-profit-btn.open{color:#172033}.vt-detail-row td{text-align:center;background:#f0f7ff;border-bottom:1px solid #dbe5ff;padding:10px 4px}.vt-profit-detail{flex-wrap:wrap;justify-content:center;gap:6px 20px;display:flex}.vt-profit-detail span{color:#64748b;font-size:12px;font-weight:800}.vt-profit-detail b{color:#172033;margin-left:4px;font-size:13px}.vt-profit-detail .vt-gift{color:#c2410c}.vt-gift-row td{text-align:center;background:#fff7ed;padding:4px}.vt-gift-input{color:#c2410c;align-items:center;gap:6px;font-size:12px;font-weight:800;display:flex}.vt-gift-input input{text-align:center;border-color:#fed7aa;flex:1;min-width:0}.variant-table-scroll{margin:0 -2px;padding:0 2px;overflow-x:auto}.variant-table-scroll::-webkit-scrollbar{height:5px}.variant-table-scroll::-webkit-scrollbar-thumb{background:#c7d2fe;border-radius:999px}.variant-table-scroll::-webkit-scrollbar-track{background:0 0}.vt-total{color:#3867d6!important}.vt-gift-col{min-width:52px}.img-preview-overlay{z-index:90;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f172ad1;place-items:center;padding:32px;display:grid;position:fixed;inset:0}.img-preview-main{object-fit:contain;border-radius:12px;max-width:90vw;max-height:82vh;box-shadow:0 24px 80px #0006}.img-preview-nav{color:#172033;cursor:pointer;background:#ffffffe6;border:0;border-radius:999px;place-items:center;width:44px;height:44px;font-size:24px;font-weight:900;display:grid;position:absolute;top:50%;transform:translateY(-50%);box-shadow:0 4px 16px #0003}.img-preview-nav:hover{background:#fff}.img-preview-nav.prev{left:24px}.img-preview-nav.next{right:24px}.img-preview-counter{color:#172033;background:#ffffffe6;border-radius:999px;padding:4px 14px;font-size:13px;font-weight:800;position:absolute;bottom:24px;left:50%;transform:translate(-50%)}.img-preview-close{color:#172033;cursor:pointer;background:#ffffffe6;border:0;border-radius:999px;place-items:center;width:36px;height:36px;font-size:20px;font-weight:900;display:grid;position:absolute;top:20px;right:24px}.img-preview-close:hover{background:#fff}.empty-text{color:#94a3b8;margin:0;font-size:13px}.remark-text{color:#475569;white-space:pre-wrap;font-size:14px;line-height:1.6}.timeline-item p{margin:6px 0}.timeline-item small{color:#7b8aa5}.product-form{gap:0;display:grid}.detail-wrapper .product-form{position:sticky;top:18px}.product-form .form-header{border-bottom:2px solid #eef2ff;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;padding-bottom:8px;display:flex}.product-form .form-header h2{margin:0;font-size:17px}.pf-section h3{color:#3867d6;letter-spacing:.04em;margin:0 0 6px;font-size:12px}.pf-section-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;display:flex}.pf-section-head h3{margin:0}.pf-grid-2{grid-template-columns:1fr 1fr;gap:8px;display:grid}@media (width<=640px){.pf-grid-2{grid-template-columns:1fr}}.product-form label{color:#64748b;flex-direction:column;gap:2px;font-size:12px;font-weight:700;display:flex}.product-form label>span{line-height:1.3;display:block}.product-form label input,.product-form label select,.product-form label textarea{color:#172033;padding:6px 9px;font-size:13px;font-weight:500}.pf-star{color:#e11d48;margin-left:1px;font-weight:900;display:inline}.pf-variant{background:#fff;border:1px solid #e0e7ff;border-radius:8px;margin-bottom:4px;padding:6px 8px}.pf-variant-head{color:#172033;justify-content:space-between;align-items:center;margin-bottom:4px;font-size:12px;font-weight:900;display:flex}.pf-variant-fields{grid-template-columns:1.5fr 1fr 1fr 1fr;align-items:end;gap:6px;display:grid}.pf-variant-fields label{min-width:0;font-size:11px}.pf-variant-fields input{box-sizing:border-box;width:100%;padding:5px 8px;font-size:12px}@media (width<=700px){.pf-variant-fields{grid-template-columns:1fr 1fr}}.pf-tags{margin-bottom:6px}.pf-tags-label{color:#64748b;margin-bottom:3px;font-size:12px;font-weight:700;display:block}.pf-tags-list{flex-wrap:wrap;gap:4px;display:flex}.pf-tag{cursor:pointer;color:#475569;background:#fff;border:1px solid #d8e0ee;border-radius:999px;padding:3px 9px;font-size:11px;font-weight:700;transition:all .15s}.pf-tag:hover{border-color:#3867d6}.pf-tag.active{color:#fff;background:#3867d6;border-color:#3867d6}.pf-checkbox{color:#172033;cursor:pointer;align-items:center;gap:6px;flex-direction:row!important;display:flex!important}.pf-checkbox input{accent-color:#3867d6;width:15px;height:15px}.pf-more{padding:0;overflow:hidden}.pf-more-toggle{cursor:pointer;color:#3867d6;text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:8px;width:100%;padding:9px 14px;font-size:12px;font-weight:800;display:flex}.pf-more-arrow{color:#94a3b8}.pf-more-body{border-top:1px solid #eef2f7;gap:8px;padding:8px 12px 10px;display:grid}.product-form-backdrop{z-index:72}.product-form-modal{background:#fff;border-radius:18px;width:min(900px,96vw);max-height:96vh;overflow-y:auto;box-shadow:0 28px 90px #12263f3d}.product-form-modal .product-form{box-shadow:none;border-radius:18px;padding:16px 20px 20px}.product-form-modal .pf-grid-2{grid-template-columns:1fr 1fr;gap:8px}.product-form-modal .pf-variant-fields{grid-template-columns:1.5fr 1fr 1fr 1fr;gap:6px}@media (width<=700px){.product-form-modal .pf-variant-fields{grid-template-columns:1fr 1fr}}@media (width<=640px){.product-form-modal .pf-grid-2{grid-template-columns:1fr}}.listing-create-form .pf-grid-2{grid-template-columns:1fr 1fr;gap:10px 12px}.listing-create-form .listing-product-search{margin-bottom:4px}.listing-create-form .listing-product-hint{color:#94a3b8;font-size:11px;font-weight:700}.empty-state{text-align:center;color:#7b8aa5;padding:50px}.table-wrap{background:#fff;border-radius:20px;overflow:auto;box-shadow:0 14px 44px #12263f1c}.product-table{border-collapse:collapse;width:100%;min-width:860px}.product-table th,.product-table td{border-bottom:1px solid var(--line-strong);text-align:left;padding:14px 16px;box-shadow:inset -1px 0 #e9edf3}.product-table th{color:#64748b;background:#f8fafc;font-size:13px;position:sticky;top:0}.product-table tr{cursor:pointer}.board-table{--board-inner-row-h:37px;--board-scrollbar-h:15px;flex-direction:column;gap:8px;display:flex}.board-row,.board-table-head,.board-table-cols{grid-template-columns:24px 8px minmax(240px,1fr) 9px minmax(280px,1.7fr) 9px minmax(0,3.5fr);align-items:center;padding:6px;display:grid;position:relative}.board-table-head{color:#64748b;border:1px solid #0000;font-size:13px;font-weight:800}.board-table-cols{border:1px solid #0000;padding-top:0;padding-bottom:0}.board-cols-band{min-width:0;overflow:hidden}.board-head-last{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.board-head-actions{flex:none;gap:6px;display:flex}.danger-button.compact{color:#be123c;background:#fff;border:1px solid #fecdd3;margin-top:0;padding:9px 13px}.danger-button.compact:hover:not(:disabled){color:#fff;background:#be123c;border-color:#be123c}.board-row{background:#fff;border:1px solid #e2e8f0;border-radius:8px;transition:border-color .15s,background .15s}.board-row.clickable{cursor:pointer}.board-row.clickable:hover{background:#f8fafc}.board-row.editing{background:#fffdf7;border-color:#d97706;box-shadow:0 0 0 3px #d9770626}.board-row.selected.editing{border-color:#3867d6}.board-row-select{justify-content:center;align-items:center;display:flex}.board-row-select input{accent-color:#3867d6;cursor:pointer;width:16px;height:16px;margin:0;padding:0}.board-thumb-wrap{background:linear-gradient(135deg,#eef4ff,#f8fafc);border-radius:6px;flex:none;width:56px;height:56px;overflow:hidden}.board-thumb{object-fit:cover;border-radius:6px;flex:none;width:56px;height:56px;display:block}.board-thumb.placeholder{background:linear-gradient(135deg,#eef4ff,#f8fafc)}.board-row-left{align-items:center;gap:8px;min-width:0;display:flex}.board-row-left-text{flex-direction:column;flex:auto;gap:6px;min-width:0;display:flex}.board-category{color:#64748b;white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:12px;overflow:hidden}.board-name{-webkit-line-clamp:2;text-overflow:ellipsis;-webkit-box-orient:vertical;margin:0;font-weight:600;display:-webkit-box;overflow:hidden}.board-listing-code{color:#3867d6;white-space:nowrap;text-overflow:ellipsis;min-width:0;margin:0;font-size:12px;font-weight:700;overflow:hidden}.board-row-right{min-width:0}.board-row-mid{flex-direction:column;gap:6px;min-width:0;display:flex}.board-row-actions{z-index:2;align-items:center;gap:4px;display:flex;position:absolute;top:6px;right:6px}.board-mid-head{align-items:center;gap:6px;min-width:0;display:flex}.board-row-edit-toggle{color:#475569;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;flex:none;justify-content:center;align-items:center;width:20px;height:20px;padding:0;display:inline-flex}.board-row-edit-toggle:hover{color:#3867d6;background:#f5f8ff;border-color:#3867d6}.board-edit-actions{flex:none;align-items:center;gap:4px;display:flex}.board-icon-button{color:#475569;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;justify-content:center;align-items:center;width:20px;height:20px;padding:0;display:inline-flex}.board-icon-button:hover:not(:disabled){color:#3867d6;background:#f5f8ff;border-color:#3867d6}.board-icon-button.primary{color:#3867d6;border-color:#3867d6}.board-icon-button.primary:hover:not(:disabled){color:#fff;background:#3867d6}.board-icon-button:disabled{opacity:.4;cursor:not-allowed}.board-edit-slot{min-width:0;display:block;position:relative}.board-edit-slot-base{visibility:hidden;flex-direction:column;display:flex}.board-edit-slot-grow{flex:auto}.board-edit-input{box-sizing:border-box;color:#0f172a;width:100%;height:100%;font:inherit;font-size:inherit;line-height:inherit;background:#fffbeb;border:1px solid #d97706;border-radius:6px;margin:0;padding:2px 4px;position:absolute;inset:0}.board-edit-input:focus{border-color:#b45309;outline:none}.board-edit-tag-input{box-sizing:border-box;color:#0f172a;background:#fffbeb;border:1px solid #d97706;border-radius:6px;flex:1 1 0;min-width:0;height:22px;margin:0;padding:2px 6px;font-size:12px;line-height:16px}.board-edit-tag-input:focus{border-color:#b45309;outline:none}.board-edit-tag-input.board-edit-tag-overlay{width:100%;position:absolute;inset:0}.board-edit-status-select{flex:0 auto;min-width:72px}.board-edit-input[readonly]{color:#64748b;background:#f1f5f9;border-color:#cbd5e1}.board-edit-image{cursor:pointer;flex:none;display:inline-flex;position:relative}.board-edit-file{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.board-edit-error{margin:0;padding:6px 8px;font-size:12px}.board-inner-scroll{max-height:calc(3 * var(--board-inner-row-h) + var(--board-scrollbar-h));overflow:auto}.board-inner-table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:11px}.board-inner-table th,.board-inner-table td{text-align:center;text-overflow:ellipsis;white-space:nowrap;height:36px;padding:2px;line-height:16px;overflow:hidden}.board-inner-table th:nth-child(n+3):nth-child(-n+14),.board-inner-table td:nth-child(n+3):nth-child(-n+14){text-align:right}.board-inner-table th{z-index:1;color:#64748b;white-space:normal;background:#f8fafc;height:26px;font-size:10px;line-height:12px;position:sticky;top:0;box-shadow:inset 0 -1px #eef2f7}.board-inner-table tbody tr{border-bottom:1px solid #eef2f7}.board-inner-table a{color:#3867d6;font-weight:700}.board-empty{color:#94a3b8;text-align:center}.board-empty-cell{color:#cbd5e1}.board-variant-add{color:#3867d6;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:4px;flex:none;justify-content:center;align-items:center;width:16px;height:16px;padding:0;display:inline-flex}.board-variant-add:hover{background:#f5f8ff;border-color:#3867d6}.board-variant-edit-table td{padding:4px 2px}.board-variant-edit-table input{box-sizing:border-box;text-align:center;color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:4px;width:100%;padding:2px 4px;font-size:11px}.board-variant-edit-table input:focus{border-color:#3867d6;outline:none}.board-variant-spec{align-items:center;gap:2px;min-width:0;display:flex}.board-variant-remove{color:#94a3b8;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:4px;flex:none;justify-content:center;align-items:center;width:16px;height:16px;padding:0;display:inline-flex}.board-variant-remove:hover{color:#be123c;border-color:#be123c}.board-variant-derived:not(.board-empty-cell){color:#64748b}.board-variant-error{margin:4px 0 0;padding:4px 6px;font-size:11px}.log-filter{margin:12px 0 16px}.log-filter label{color:#64748b;gap:4px;font-size:13px;font-weight:700;display:grid}.error-box{color:#be123c;box-shadow:none;background:#fff1f2;margin-bottom:16px;padding:14px}@media (width<=980px){.workspace{grid-template-columns:1fr}.detail-wrapper,.product-form{position:static}.product-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}}.login-shell{place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{background:#fff;border-radius:26px;gap:14px;width:min(420px,100%);padding:36px;display:grid;box-shadow:0 24px 80px #12263f1f}.login-card h1{margin:0;font-size:28px}.login-card label{color:#64748b;gap:6px;font-weight:700;display:grid}.login-card input{color:#172033;font-weight:500}.detail-header-actions{gap:8px;display:flex}.form-stack{gap:10px;display:grid}.form-stack label{color:#64748b;gap:4px;font-size:13px;font-weight:700;display:grid}.form-stack input,.form-stack select,.form-stack textarea{color:#172033;font-weight:500}.create-variants{background:#f8fafc;border:1px solid #e0e7ff;border-radius:16px;gap:12px;min-width:0;padding:14px;display:grid}.create-variants .form-header h3{color:#3867d6;margin:0}.create-variant-reference{background:#fff;border:1px solid #eef2ff;border-radius:14px;gap:10px;min-width:0;padding:12px;display:grid}.create-variant-heading{color:#172033;justify-content:space-between;align-items:center;gap:8px;font-weight:900;display:flex}.create-variant-row{grid-template-columns:minmax(130px,1.4fr) repeat(3,minmax(105px,1fr));align-items:end;gap:8px;min-width:0;display:grid}.create-variant-row label{color:#64748b;gap:4px;min-width:0;font-size:12px;font-weight:800;display:grid}.create-variant-row input{box-sizing:border-box;background:#fff;width:100%;min-width:0}@media (width<=900px){.create-variant-row{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=560px){.create-variant-row{grid-template-columns:minmax(0,1fr)}}.preview-image{object-fit:contain;background:#f8fafc;border-radius:12px;width:100%;max-height:180px}.ghost-button.small{padding:4px 10px;font-size:12px}.ghost-button.small.danger-text{color:#e11d48;background:#fff1f2}h3 .ghost-button.small{margin-left:10px}.section-note .remark-text{margin:0}.timeline{gap:12px;display:grid}.timeline-item{border-left:3px solid #3867d6;padding-left:12px}.timeline-item strong{color:#172033}.comm-tag.danger,.metric-pill.danger{color:#e11d48;background:#fff1f2}.detail-panel.is-editing{border:1px solid #dbe5ff}.detail-panel.is-editing .detail-header{border-bottom-color:#dbe5ff}.detail-panel.is-editing .detail-section{background:#f8fbff;border:1px solid #e0e7ff}.detail-panel.is-editing textarea{background:#fff;border-color:#dbe5ff;width:100%;box-shadow:0 1px #3867d60a}.detail-panel.is-editing textarea:focus{border-color:#3867d6;outline:2px solid #3867d629}@media (width<=520px){.info-grid{grid-template-columns:minmax(0,1fr)}.variant-table{font-size:12px}.variant-table th,.variant-table td{padding:6px 2px}}.card-variant{gap:8px;display:grid}.card-variant-tabs{flex-wrap:wrap;gap:4px;display:flex}.variant-tab{cursor:pointer;color:#475569;background:#fff;border:1px solid #d8e0ee;border-radius:999px;padding:3px 9px;font-size:12px;font-weight:800}.variant-tab.active{color:#fff;background:#3867d6;border-color:#3867d6}.card-qty{background:#f1f5f9;border-radius:999px;justify-self:start;align-items:center;gap:6px;padding:2px;display:inline-flex}.qty-btn{color:#3867d6;cursor:pointer;background:#fff;border:0;border-radius:999px;width:24px;height:24px;font-size:15px;font-weight:900;box-shadow:0 1px 3px #0000001a}.qty-num{text-align:center;min-width:22px;font-size:13px;font-weight:800}.price-live{color:#e11d48!important}.bento-review{z-index:4;max-width:calc(100% - 96px);position:absolute;top:6px;left:35px}.bento-brand{z-index:4;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:#3867d6;white-space:nowrap;text-overflow:ellipsis;background:#fffffff0;border-radius:999px;align-items:center;max-width:calc(100% - 120px);height:24px;padding:0 10px;font-size:12px;font-weight:900;display:inline-flex;position:absolute;top:8px;right:12px;overflow:hidden;box-shadow:0 2px 8px #0f172a1f}.spec-row{box-sizing:border-box;background:#eef2ff;border:1px solid #e0e7ff;border-radius:15px;grid-template-columns:auto 28px minmax(0,1fr) 28px;align-items:center;gap:8px;width:100%;min-height:34px;padding:7px 15px;display:grid}.spec-label{color:#64748b;align-self:center;font-size:13px;font-weight:900}.spec-text{color:#172033;text-overflow:ellipsis;white-space:nowrap;text-align:center;min-width:0;font-size:13px;font-weight:900;overflow:hidden}.step-btn{color:#4338ca;cursor:pointer;background:#fff;border:1px solid #c7d2fe;border-radius:999px;width:28px;height:28px;font-size:18px;font-weight:900;box-shadow:0 1px 3px #0000001a}.step-btn:disabled{opacity:.3;cursor:not-allowed;box-shadow:none}.card-pricing-row{background:#e0e7ff;border:1px solid #e0e7ff;border-radius:12px;grid-template-columns:1fr 1fr;gap:1px;margin:4px 0;display:grid;overflow:hidden}.card-pricing-cell{text-align:center;background:#fff;gap:2px;min-width:0;padding:8px 6px;display:grid}.card-pricing-cell small{color:#94a3b8;font-size:11px;font-weight:800}.card-pricing-cell b{color:#172033;white-space:nowrap;font-size:14px;font-weight:900}.card-pricing-cell b.danger{color:#e11d48}.card-vt{border-collapse:collapse;table-layout:fixed;width:100%;margin:4px 0;font-size:12px}.card-vt th{color:#94a3b8;white-space:nowrap;text-align:center;border-bottom:2px solid #e0e7ff;padding:4px;font-size:10px;font-weight:800}.card-vt td{white-space:nowrap;text-align:center;border-bottom:1px solid #f1f5f9;padding:5px 4px}.card-vt tr:last-child td{border-bottom:0}.card-vt-spec{color:#172033;text-overflow:ellipsis;max-width:0;font-weight:800;overflow:hidden}.card-vt-price{color:#e11d48;font-weight:900}.card-vt-comm{color:#172033;font-weight:800}.card-vt-comm.danger{color:#e11d48}.card-vt-more{text-align:center;color:#94a3b8;margin:2px 0;font-size:11px;font-weight:800}.triple-row{grid-template-columns:1fr 1fr 1fr;gap:6px;display:grid}.triple-cell{text-align:center;background:#f8fafc;border-radius:12px;min-width:0;padding:8px 6px}.triple-cell small{color:#64748b;font-size:11px;font-weight:800;display:block}.triple-cell strong{text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:14px;display:block;overflow:hidden}.modal-backdrop{z-index:70;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a6b;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.settings-modal{background:#fff;border-radius:22px;width:min(560px,100%);max-height:calc(100vh - 36px);padding:22px;overflow-y:auto;box-shadow:0 24px 80px #12263f33}.settings-form{gap:12px;margin-top:16px;display:grid}.settings-form label.bh-check{flex-direction:row;align-items:center;gap:8px;display:flex}.settings-form label.bh-check input{width:auto;min-width:0}.settings-modal .settings-form>.primary-button.full{z-index:1;position:sticky;bottom:0}.settings-form label{color:#64748b;gap:6px;font-size:13px;font-weight:800;display:grid}.settings-form input{box-sizing:border-box;color:#172033;width:100%;font-weight:700}.settings-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px;display:grid}.settings-stats div{background:#f8fafc;border-radius:14px;min-width:0;padding:12px}.settings-stats span{color:#64748b;font-size:12px;font-weight:800;display:block}.settings-stats strong{color:#172033;text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:20px;display:block;overflow:hidden}.success-box{color:#047857;background:#ecfdf5;border-radius:14px;padding:12px;font-weight:800}.filter-overlay{z-index:50;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0f172a66;position:fixed;inset:0}.filter-drawer{background:#fff;flex-direction:column;gap:16px;width:min(420px,90vw);padding:20px;display:flex;position:absolute;top:0;bottom:0;right:0;overflow-y:auto;box-shadow:-12px 0 40px #12263f29}.filter-head{justify-content:space-between;align-items:center;display:flex}.filter-head h2{margin:0;font-size:20px}.filter-section{flex-direction:column;gap:8px;display:flex}.filter-section>h3{color:#64748b;margin:0;font-size:14px}.selected-line{color:#3867d6;text-overflow:ellipsis;white-space:nowrap;padding:6px 0;font-size:13px;font-weight:900;overflow:hidden}.chip-list.large .chip,.chip-list.large button.chip{padding:7px 13px;font-size:13px}.chip-list{flex-wrap:wrap;gap:6px;display:flex}.chip{cursor:pointer;color:#475569;text-overflow:ellipsis;white-space:nowrap;background:#fff;border:1px solid #d8e0ee;border-radius:999px;max-width:100%;padding:6px 12px;font-size:13px;font-weight:700;overflow:hidden}.chip:hover{border-color:#3867d6}.chip.active{color:#fff;background:#3867d6;border-color:#3867d6}.scroll-list{max-height:180px;padding-right:4px;overflow-y:auto}.scroll-list.compact{max-height:130px}.filter-dropdown{position:relative}.filter-dropdown-trigger{cursor:pointer;color:#475569;text-overflow:ellipsis;white-space:nowrap;background:#fff;border:1px solid #d8e0ee;border-radius:999px;max-width:100%;padding:7px 13px;font-size:13px;font-weight:700;overflow:hidden}.filter-dropdown-all{color:#94a3b8;font-weight:500}.filter-dropdown-trigger:hover{border-color:#3867d6}.filter-dropdown-trigger.active{color:#fff;background:#3867d6;border-color:#3867d6}.filter-dropdown-scrim{z-index:40;background:0 0;position:fixed;inset:0}.filter-dropdown-panel{z-index:41;background:#fff;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;gap:8px;min-width:260px;max-width:min(360px,92vw);max-height:min(72vh,560px);padding:10px;display:flex;position:absolute;top:calc(100% + 6px);left:0;overflow-y:auto;box-shadow:0 18px 40px #12263f29}.filter-dropdown-panel .scroll-list{max-height:260px}.filter-dropdown-panel input{box-sizing:border-box;width:100%}.filter-dropdown-empty{color:#94a3b8;padding:6px 2px;font-size:12px;font-weight:700}.category-tree{flex-direction:column;gap:4px;display:flex}.tree-node{flex-direction:column;display:flex}.tree-row{align-items:center;gap:6px;display:flex}.tree-toggle{cursor:pointer;color:#64748b;background:0 0;border:0;width:18px;font-size:14px}.tree-toggle-placeholder{color:#cbd5e1;text-align:center;width:18px;font-size:14px}.tree-label{cursor:pointer;color:#172033;text-align:left;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;border-radius:8px;min-width:0;padding:4px 6px;font-size:14px;font-weight:800;overflow:hidden}.tree-label.depth-1{color:#334155;font-size:13px}.tree-label.depth-2{color:#475569;font-size:12px;font-weight:700}.tree-label.active{color:#3867d6;background:#edf3ff}.tree-children{flex-direction:column;gap:4px;padding-top:4px;padding-bottom:4px;padding-left:18px;display:flex}.tree-child{cursor:pointer;color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:5px 10px;font-size:12px}.review-badge{--review-bg:#edf3ff;--review-fg:#3867d6;--review-border:#dbe7ff;border:1px solid var(--review-border);background:linear-gradient(180deg, color-mix(in srgb, var(--review-bg) 96%, white), var(--review-bg));min-height:26px;color:var(--review-fg);box-shadow:inset 0 1px 0 #fffc, 0 2px 10px color-mix(in srgb, var(--review-fg) 12%, transparent);letter-spacing:.02em;white-space:nowrap;border-radius:999px;align-items:center;gap:7px;padding:5px 12px;font-size:12px;font-weight:900;line-height:1;display:inline-flex}.review-badge:before{content:"";width:7px;height:7px;box-shadow:0 0 0 3px color-mix(in srgb, currentColor 14%, transparent);background:currentColor;border-radius:999px;flex:none}.review-badge--pending-review:before,.review-badge--pending:before{animation:2s ease-in-out infinite review-pulse}.review-badge--approved:before{content:"";width:9px;height:5px;box-shadow:none;background:0 0;border-top:0;border-bottom:2px solid;border-left:2px solid;border-right:0;border-radius:0;transform:rotate(-45deg)translate(1px,-1px)}.review-badge--rejected:before{content:"✕";width:auto;height:auto;box-shadow:none;background:0 0;border-radius:0;font-size:11px;font-weight:900;line-height:1}@keyframes review-pulse{0%,to{box-shadow:0 0 0 3px color-mix(in srgb, currentColor 14%, transparent)}50%{box-shadow:0 0 0 6px color-mix(in srgb, currentColor 8%, transparent)}}button.review-badge{cursor:pointer;transition:transform .15s,box-shadow .15s,border-color .15s}button.review-badge:hover{box-shadow:inset 0 1px 0 #fffc, 0 8px 18px color-mix(in srgb, var(--review-fg) 22%, transparent);transform:translateY(-1px)}.review-badge--pending-review,.review-badge--pending{--review-bg:#fff7ed;--review-fg:#c2410c;--review-border:#fed7aa}.review-badge--approved{--review-bg:#ecfdf5;--review-fg:#047857;--review-border:#a7f3d0}.review-badge--rejected{--review-bg:#fff1f2;--review-fg:#e11d48;--review-border:#fecdd3}.review-status-button{cursor:pointer;background:0 0;border:0;align-items:center;max-width:100%;padding:0;display:inline-flex}.review-status-button.inline{color:#3867d6;font-weight:900}.quick-review-actions{flex-wrap:wrap;gap:6px;margin-left:8px;display:inline-flex}.review-status-cell{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.workspace-full{display:block}.review-mgmt-panel{width:100%;max-width:none}.md-panel-bar{border-bottom:2px solid #e2e8f0;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:16px;display:flex}.md-panel-bar .review-tabs{border-bottom:0;flex:auto;min-width:0;margin-bottom:0}.md-panel-actions{flex:none;gap:8px;padding-bottom:8px;display:flex}.md-panel-actions .ghost-button.active{color:#3867d6;background:#dbeafe;border-color:#3867d6}.review-tabs{border-bottom:2px solid #e2e8f0;gap:4px;margin-bottom:16px;display:flex}.review-tab{cursor:pointer;color:#64748b;background:0 0;border:0;border-bottom:3px solid #0000;align-items:center;gap:6px;margin-bottom:-2px;padding:10px 18px;font-size:14px;font-weight:800;display:inline-flex}.tab-count{color:#475569;background:#e2e8f0;border-radius:999px;justify-content:center;align-items:center;min-width:20px;height:20px;padding:0 6px;font-size:11px;display:inline-flex}.review-tab.active .tab-count{color:#3867d6;background:#dbeafe}.review-batch-bar{background:#f8fafc;border-radius:14px;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px;padding:12px 14px;display:flex}.review-batch-bar input{flex:1;min-width:160px}.review-product-list{flex-direction:column;gap:8px;display:flex}.review-product-row{background:#fff;border:1px solid #e2e8f0;border-radius:14px;align-items:center;gap:12px;padding:12px 14px;display:flex}.review-product-row.selected{background:#eff6ff;border-color:#3867d6}.review-product-info{flex:1;min-width:0}.review-product-info strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;display:block;overflow:hidden}.review-product-info small{color:#64748b;font-size:12px}.review-action-modal{background:#fff;border-radius:22px;width:min(460px,100%);max-height:calc(100vh - 36px);padding:22px;overflow-y:auto;box-shadow:0 24px 80px #12263f33}.review-action-modal textarea{border:1px solid #cbd5e1;border-radius:12px;width:100%;min-height:80px;margin:12px 0;padding:10px;font-weight:700}.review-action-buttons{gap:10px;display:flex}.review-action-buttons button{flex:1;margin-top:0}.review-comment{color:#64748b;font-style:italic}.log-page,.my-uploads-panel{width:100%;max-width:none}.upload-group{margin-bottom:20px}.upload-group-title{align-items:center;gap:10px;margin-bottom:10px;display:flex}.upload-group-title span{color:#64748b;font-size:14px;font-weight:700}.upload-group-items{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:10px;display:grid}.upload-item{text-align:left;background:#fff;border:1px solid #e2e8f0;border-radius:14px;align-items:center;gap:12px;padding:10px 14px;display:flex}.upload-item-thumb{object-fit:cover;border-radius:8px;flex-shrink:0;width:40px;height:40px}.upload-item-info{min-width:0}.upload-item-info strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;display:block;overflow:hidden}.upload-item-info small{color:#64748b;font-size:12px}.user-mgmt-panel{width:100%;max-width:none}.user-table th,.user-table td{text-align:left;padding:8px 12px}.role-tag{border-radius:999px;padding:3px 10px;font-size:12px;font-weight:800;display:inline-flex}.role-super_admin{color:#6d28d9;background:#ede9fe}.row-disabled td{opacity:.55}.row-disabled td:last-child{opacity:1}.masterdata-panel{width:100%;max-width:none}.md-section{margin-top:24px}.md-section-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.md-section-header h3{margin:0;font-size:16px}.md-toolbar{flex-wrap:wrap;align-items:center;gap:10px;margin:14px 0;display:flex}.md-toolbar input{flex:1;min-width:200px}.md-deduction-input{box-sizing:border-box;width:120px;font-weight:700}.md-pager{color:#64748b;align-items:center;gap:10px;margin-top:12px;display:flex}.md-hint{color:#64748b;margin:10px 0 0;font-size:12px;display:block}.review-timeline-modal{background:#fff;border-radius:24px;width:min(600px,100%);max-height:calc(100vh - 36px);padding:24px;overflow-y:auto;box-shadow:0 32px 100px #12263f47}.rt-header{border-bottom:2px solid #eef2ff;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:14px;display:flex}.rt-title-block{min-width:0}.rt-title-block h2{word-break:break-word;margin:0 0 4px;font-size:18px;line-height:1.4}.rt-sku{color:#94a3b8;font-size:12px;font-weight:800}.rt-current{background:#f8fafc;border:1px solid #eef2f7;border-radius:14px;flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0;padding:12px 16px;display:flex}.rt-current-label{color:#64748b;font-size:13px;font-weight:800}.rt-current-time{color:#94a3b8;margin-left:auto;font-size:11px;font-weight:700}.rt-timeline{padding-left:26px;display:grid;position:relative}.rt-timeline:before{content:"";background:#e2e8f0;border-radius:999px;width:2px;position:absolute;top:10px;bottom:10px;left:7px}.rt-item{padding:0 0 20px;position:relative}.rt-item:last-child{padding-bottom:4px}.rt-dot{box-sizing:border-box;background:#fff;border:3px solid #94a3b8;border-radius:999px;width:16px;height:16px;position:absolute;top:2px;left:-26px;box-shadow:0 0 0 3px #94a3b824}.rt-item--create .rt-dot{border-color:#3867d6;box-shadow:0 0 0 3px #3867d629}.rt-item--approve .rt-dot{border-color:#10b981;box-shadow:0 0 0 3px #10b98129}.rt-item--reject .rt-dot{border-color:#ef4444;box-shadow:0 0 0 3px #ef444429}.rt-item--resubmit .rt-dot{border-color:#f59e0b;box-shadow:0 0 0 3px #f59e0b29}.rt-body{gap:6px;min-width:0;display:grid}.rt-head{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.rt-head strong{color:#172033;font-size:13px;line-height:1.5}.rt-head time{color:#94a3b8;white-space:nowrap;flex:none;font-size:11px}.rt-kind{letter-spacing:.04em;color:#475569;background:#f1f5f9;border-radius:999px;align-self:flex-start;padding:2px 9px;font-size:10px;font-weight:900;display:inline-flex}.rt-item--create .rt-kind{color:#3867d6;background:#edf3ff}.rt-item--approve .rt-kind{color:#047857;background:#ecfdf5}.rt-item--reject .rt-kind{color:#e11d48;background:#fff1f2}.rt-item--resubmit .rt-kind{color:#c2410c;background:#fff7ed}.rt-change{background:#f8fafc;border-radius:8px;align-items:center;gap:8px;width:fit-content;padding:4px 10px;font-size:12px;font-weight:800;display:inline-flex}.rt-old{color:#94a3b8;text-decoration:line-through}.rt-arrow{color:#cbd5e1}.rt-new{color:#3867d6}.rt-comment{color:#475569;background:#f8fafc;border-left:3px solid #c7d2fe;border-radius:10px;padding:9px 12px;font-size:12px;line-height:1.6}.rt-comment-label{color:#94a3b8;letter-spacing:.05em;margin-bottom:3px;font-size:10px;font-weight:900;display:block}.rt-action{border-top:2px solid #eef2ff;gap:10px;margin-top:20px;padding-top:18px;display:grid}.rt-action textarea{box-sizing:border-box;border:1px solid #d8e0ee;border-radius:12px;width:100%;min-height:72px;padding:10px 12px;font-weight:700}.rt-action textarea:focus{border-color:#3867d6;outline:2px solid #3867d629}.rt-action-buttons{gap:10px;display:flex}.rt-action-buttons button{flex:1;margin-top:0}.iu-root{gap:5px;display:grid}.iu-label{color:#64748b;font-size:12px;font-weight:700}.iu-thumbs{flex-wrap:wrap;gap:5px;display:flex}.iu-thumb-wrap{background:#f8fafc;border:1px solid #e0e7ff;border-radius:8px;width:52px;height:52px;position:relative;overflow:hidden}.iu-thumb{object-fit:cover;width:100%;height:100%;display:block}.iu-remove{color:#fff;cursor:pointer;background:#e11d48;border:0;border-radius:999px;place-items:center;width:17px;height:17px;padding:0;font-size:12px;font-weight:900;line-height:1;display:grid;position:absolute;top:-2px;right:-2px;box-shadow:0 2px 6px #0000002e}.iu-drop{cursor:pointer;background:#f8faff;border:2px dashed #c7d2fe;border-radius:10px;place-items:center;min-height:40px;transition:border-color .15s,background .15s;display:grid}.iu-drop:hover,.iu-drop.dragging{background:#eef4ff;border-color:#3867d6}.iu-drop.uploading{cursor:wait;border-color:#94a3b8}.iu-hint{color:#94a3b8;font-size:12px;font-weight:700}.iu-file-input{display:none}.tree-child.active{color:#fff;background:#3867d6;border-color:#3867d6}.board-tags{flex-wrap:nowrap;align-items:center;gap:4px;min-width:0;display:flex}.board-tags.board-tags-wrap{flex-wrap:wrap}.board-tag-lines{flex-direction:column;gap:2px;min-width:0;display:flex}.board-tag{color:#475569;white-space:nowrap;text-overflow:ellipsis;background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;min-width:0;max-width:100%;padding:2px 8px;font-size:12px;line-height:16px;display:inline-block;overflow:hidden}.board-tag-link{color:#3867d6;font-weight:700;text-decoration:none}.board-tag-link:hover{text-decoration:underline}.md-category-table tr{cursor:default}.md-tree-name{align-items:center;gap:6px;max-width:100%;display:inline-flex}.md-tree-name .tree-toggle{padding:0;line-height:1}.md-tree-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.md-tree-leafcount{color:#94a3b8;white-space:nowrap;font-size:12px}.md-toolbar .md-deduction-input{flex:0 0 120px;min-width:0}.md-section .detail-header h3{margin:0;font-size:16px}.md-unclassified{color:#475569;flex-direction:column;gap:4px;margin:10px 0 0;padding-left:20px;font-size:13px;display:flex}.md-brands-table tr,.md-products-table tr{cursor:default}.md-products-table thead .md-group-row th{color:#334155;letter-spacing:.04em;background:#eef2f7;border-bottom:1px solid #dbe3ec;font-weight:700;position:static}.md-products-table .md-group-start{border-left:2px solid #e2e8f0}.md-group-title{float:left}.md-group-toggle{float:right;color:#64748b;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:0 2px;display:inline-flex}.md-group-toggle:hover,.md-group-toggle.active{color:#3867d6}.md-date-input{width:140px;font:inherit;border-radius:6px;padding:2px 6px;font-size:13px}.md-money-input{width:84px;font:inherit;border-radius:6px;padding:2px 6px;font-size:13px}.md-cell-with-op{justify-content:space-between;align-items:center;gap:6px;min-width:0;display:flex}.md-row-delete{color:#94a3b8;cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;padding:2px;display:inline-flex}.md-row-delete:hover{color:#dc2626;background:#fef2f2}.md-toast{z-index:80;color:#fff;background:#172033f0;border-radius:12px;align-items:center;gap:16px;padding:10px 16px;font-size:13px;display:flex;position:fixed;bottom:28px;left:50%;transform:translate(-50%);box-shadow:0 12px 32px #0f172a47}.md-toast-undo{color:#93c5fd;cursor:pointer;background:0 0;border:0;font-weight:800}.md-toast-undo:hover{color:#bfdbfe;text-decoration:underline}.md-drawer-backdrop{z-index:60;background:#0f172a47;justify-content:flex-end;display:flex;position:fixed;inset:0}.md-drawer{background:#fff;flex-direction:column;width:min(820px,94vw);height:100vh;animation:.22s ease-out md-drawer-in;display:flex;box-shadow:-18px 0 48px #0f172a2e}@keyframes md-drawer-in{0%{transform:translate(100%)}to{transform:translate(0)}}.md-drawer-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:flex-start;gap:12px;padding:16px 20px;display:flex}.md-drawer-header h3{margin:0;font-size:16px}.md-drawer-header .md-hint{margin:4px 0 0}.md-drawer-actions{flex:none;gap:8px;display:flex}.md-drawer-actions .ghost-button.active{color:#3867d6;background:#dbeafe;border-color:#3867d6}.md-drawer-body{flex-direction:column;flex:1;gap:20px;padding:16px 20px 28px;display:flex;overflow:auto}.md-change-group h4{color:#172033;margin:0 0 10px;font-size:14px}.md-change-group h4 span{color:#64748b;font-weight:500}.md-change-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 14px;margin-bottom:10px;padding:12px;display:grid}.md-change-card label{color:#64748b;flex-direction:column;gap:4px;min-width:0;font-size:12px;font-weight:700;display:flex}.md-change-card label>input,.md-change-card label>select{box-sizing:border-box;border-radius:8px;width:100%;padding:4px 8px;font-size:13px}.md-change-card .md-change-wide,.md-change-card-title{grid-column:1/-1}.md-change-card-title{color:#475569;font-size:12px;font-weight:700}.md-change-ro{color:#172033;font-weight:600}.md-change-empty{color:#64748b;border:1px dashed #cbd5e1;border-radius:10px;align-items:center;gap:12px;padding:10px 12px;display:flex}.md-products-table td{padding-top:8px;padding-bottom:8px}.md-products-table td.md-cell-product{background:#f8fafc;font-weight:600}.md-products-table td.md-cell-factory{background:#fff}.md-products-table tr.md-product-first td{border-top:2px solid #dbe3ec}.md-row-ops{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.md-code-input{border-radius:8px;width:140px;padding:4px 8px;font-size:13px;font-weight:700}.md-code-cell{color:#172033;font:inherit;cursor:pointer;background:0 0;border:1px dashed #cbd5e1;border-radius:8px;padding:2px 6px;font-weight:700}.md-code-cell:hover{color:#3867d6;background:#edf3ff;border-color:#3867d6}.md-spec-cell{color:inherit;font:inherit;text-align:inherit;cursor:pointer;background:0 0;border:1px dashed #0000;border-radius:6px;padding:2px 6px}.md-spec-cell:hover{background:#f8fafc;border-color:#cbd5e1}.md-cell-disabled{color:#94a3b8}.md-file-cell{align-items:center;gap:8px;display:inline-flex}.md-file-btn{color:#3867d6;cursor:pointer;border:1px dashed #cbd5e1;border-radius:6px;padding:2px 8px;font-size:12px}.md-file-btn:hover{background:#edf3ff;border-color:#3867d6}.md-spec-input{width:120px;font:inherit;border-radius:6px;padding:2px 6px;font-size:13px}.md-inline-select{box-sizing:border-box;min-width:0;max-width:160px;font:inherit;border-radius:6px;padding:2px 6px;font-size:13px}.md-measure-editor{align-items:center;gap:4px;display:inline-flex}.md-measure-editor input[type=number],.md-measure-editor input[list]{font:inherit;border-radius:6px;padding:2px 6px;font-size:13px}.md-measure-editor input[type=number]{width:60px}.md-measure-editor input[list]{width:68px}.md-brand-select{border-radius:8px;max-width:160px;padding:4px 8px;font-size:13px}.md-shops-table tr,.md-factories-table tr{cursor:default}.md-shops-table{table-layout:fixed;width:100%;min-width:1287px}.md-shops-table td{overflow-wrap:anywhere}.md-shops-table th,.md-shops-table td{padding-left:10px;padding-right:10px}.md-shops-table .md-shop-col-select{width:52px}.md-shops-table .md-shop-col-name{width:295px}.md-shops-table .md-shop-col-small{width:65px}.md-shops-table .md-shop-col-account{width:190px}.md-shops-table .md-shop-col-password{width:80px}.md-shops-table .md-shop-col-platform-id{width:100px}.md-shops-table .md-shop-col-code{width:89px}.md-shops-table .md-shop-col-updated{width:100px}.md-shops-table .md-shop-col-remark{width:56px}.md-shops-table .md-shop-col-ops{width:130px}.md-shops-table .md-shop-credential{white-space:normal;word-break:break-all}.md-shops-table .md-shop-account-select{width:100%;min-width:0}.md-shops-table .md-shop-updated small{color:var(--ink-400);font-size:11px;display:block}.md-changes-field-table{min-width:1100px}.md-changes-source-table{min-width:1600px}.md-changes-field-table tr,.md-changes-source-table tr{cursor:default}.md-current-badge{color:#16794a;background:#e8f5ee;border-radius:999px;margin-left:6px;padding:1px 6px;font-size:11px;font-weight:700;display:inline-block}:root{--ink-900:#0b1220;--ink-700:#1d2939;--ink-500:#475467;--ink-400:#667085;--ink-300:#98a2b3;--line:#e4e7ec;--line-strong:#cfd6e0;--line-soft:#eef0f3;--surface:#fff;--surface-muted:#f9fafb;--bg:#f4f5f7;--accent:#2456e6;--accent-strong:#1b45c4;--accent-soft:#eef3ff;--danger:#d92d20;--danger-soft:#fef3f2;--radius-sm:8px;--radius-md:10px;--radius-lg:14px;--shadow-xs:0 1px 2px #1018280a;--shadow-sm:0 1px 3px #1018280f, 0 1px 2px #1018280a;--shadow-md:0 8px 24px #10182814;--ring:0 0 0 3px #2456e629;--font-ui:Inter, "PingFang SC", "Microsoft YaHei", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;font-family:var(--font-ui);color:var(--ink-900);background:var(--bg)}body{-webkit-font-smoothing:antialiased;font-size:14px;line-height:1.5}::selection{background:#2456e629}:focus-visible{box-shadow:var(--ring);outline:none}*{scrollbar-width:thin;scrollbar-color:#cbd2dc transparent}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:#cbd2dc padding-box content-box;border:3px solid #0000;border-radius:999px}::-webkit-scrollbar-track{background:0 0}.dashboard-shell{padding:28px 32px 44px}.topbar{align-items:flex-end;gap:24px;margin-bottom:20px}.eyebrow{color:var(--ink-400);letter-spacing:.14em;margin-bottom:8px;font-size:11px;font-weight:700}h1{letter-spacing:-.02em;font-size:clamp(24px,2.4vw,30px);font-weight:700;line-height:1.2}.topbar .subtitle-line,.topbar p:not(.eyebrow){color:var(--ink-400);font-size:13px}.topbar-actions{align-items:center;gap:4px}.topbar-actions .ghost-button{color:var(--ink-500);border-radius:var(--radius-sm);background:0 0;border:1px solid #0000;padding:8px 12px;font-size:13px;font-weight:600;transition:background .14s,color .14s,border-color .14s,box-shadow .14s}.topbar-actions .ghost-button:hover{background:var(--surface);color:var(--ink-900);border-color:var(--line);box-shadow:var(--shadow-xs)}.topbar-actions .primary-button{border-radius:var(--radius-sm);padding:8px 14px;font-size:13px;font-weight:600}.platform-switch{border-radius:var(--radius-sm);background:#e9ebef;gap:2px;padding:2px}.platform-tab{color:var(--ink-500);border-radius:7px;padding:7px 16px;font-size:13px;font-weight:600}.platform-tab.active{background:var(--surface);color:var(--ink-900);box-shadow:var(--shadow-xs)}.summary-grid{gap:12px;margin-bottom:14px}.summary-grid div{border-radius:var(--radius-md);background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-xs);justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.summary-grid span{color:var(--ink-400);letter-spacing:.01em;font-size:12px;font-weight:600}.summary-grid strong{color:var(--ink-900);letter-spacing:-.01em;font-variant-numeric:tabular-nums;font-size:24px;font-weight:700;line-height:1.1}.filter-bar{border-radius:var(--radius-md);background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-xs);gap:8px;margin-bottom:14px;padding:10px 14px}.filter-group-label{color:var(--ink-400);font-size:12px;font-weight:600}.filter-divider{background:var(--line)}.filter-group .ghost-button{background:var(--surface);color:var(--ink-500);border:1px solid var(--line);border-radius:var(--radius-sm);padding:7px 12px;font-size:13px;font-weight:600}.filter-group .ghost-button:hover{background:var(--surface-muted);color:var(--ink-700);border-color:#d0d5dd}.sort-field{font-weight:600}.primary-button,.ghost-button,.danger-button,.ghost-link{border-radius:var(--radius-sm);gap:6px;padding:9px 14px;font-size:13px;font-weight:600;transition:background .14s,border-color .14s,box-shadow .14s,color .14s}.primary-button{background:var(--accent);color:#fff;border:1px solid var(--accent);box-shadow:var(--shadow-xs)}.primary-button:hover{background:var(--accent-strong);border-color:var(--accent-strong)}.ghost-button,.ghost-link{background:var(--surface);color:var(--ink-700);border:1px solid var(--line)}.ghost-button:hover,.ghost-link:hover{background:var(--surface-muted);border-color:#d0d5dd}.text-button{color:var(--accent);font-weight:600}.danger-button{background:var(--danger);border:1px solid var(--danger)}input,select,textarea{border-color:var(--line);border-radius:var(--radius-sm);padding:8px 12px;font-size:13px}input:hover,select:hover,textarea:hover{border-color:#d0d5dd}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:var(--ring);outline:none}input::placeholder,textarea::placeholder{color:var(--ink-300)}.product-table th{background:var(--surface-muted);color:var(--ink-400);letter-spacing:.02em;font-size:12px;font-weight:600}.product-table tr:hover{background:#fafbfc}.product-table th,.md-factories-table td,.md-factories-table th{white-space:nowrap}.md-factories-table td:last-child .ghost-button{margin-right:6px}.md-file-btn,.md-changes-field-table td,.md-changes-field-table th{white-space:nowrap}.md-changes-field-table td:nth-child(6),.md-changes-field-table td:nth-child(7){white-space:normal;word-break:break-word}.md-changes-field-table tbody tr:nth-child(2n){background:#fcfcfd}.md-changes-field-table tbody tr:hover{background:#f7f9fc}.md-change-entity{color:var(--ink-900);font-weight:600}.md-change-new{font-weight:600}.md-entity-tag{color:#475467;background:#f2f4f7;border-radius:6px;align-items:center;padding:2px 8px;font-size:12px;font-weight:600;display:inline-flex}.md-action-pill{border-radius:999px;align-items:center;padding:2px 8px;font-size:12px;font-weight:600;display:inline-flex}.md-action-create{color:#067647;background:#ecfdf3}.md-action-update{background:var(--accent-soft);color:var(--accent)}.md-action-delete{background:var(--danger-soft);color:var(--danger)}.summary-grid>.summary-card{padding-left:60px;position:relative}.summary-grid>.summary-card:before{content:"";background:var(--accent-soft);border-radius:9px;width:32px;height:32px;position:absolute;top:50%;left:16px;transform:translateY(-50%)}.summary-grid>.summary-card:after{content:"";background:var(--accent);width:16px;height:16px;position:absolute;top:50%;left:24px;transform:translateY(-50%)}.summary-shops:after{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l1.5-5h15L21 9M4 9v11h16V9M9 20v-6h6v6'/%3E%3C/svg%3E") 50%/16px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l1.5-5h15L21 9M4 9v11h16V9M9 20v-6h6v6'/%3E%3C/svg%3E") 50%/16px no-repeat}.summary-products:after{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7.5 12 3l9 4.5-9 4.5-9-4.5Z'/%3E%3Cpath d='M3 7.5V16l9 4.5 9-4.5V7.5'/%3E%3Cpath d='M12 12v8.5'/%3E%3C/svg%3E") 50%/16px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7.5 12 3l9 4.5-9 4.5-9-4.5Z'/%3E%3Cpath d='M3 7.5V16l9 4.5 9-4.5V7.5'/%3E%3Cpath d='M12 12v8.5'/%3E%3C/svg%3E") 50%/16px no-repeat}.summary-listings:after{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01'/%3E%3C/svg%3E") 50%/16px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01'/%3E%3C/svg%3E") 50%/16px no-repeat}.board-row{border-color:var(--line);box-shadow:var(--shadow-xs);border-radius:10px;transition:border-color .15s,box-shadow .15s,background .15s}.board-row.selected{border-color:var(--accent);box-shadow:0 0 0 3px #2456e624}.board-table-head{color:var(--ink-400);letter-spacing:.02em;font-size:12px;font-weight:600}.board-thumb-wrap{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398A2B3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E"),linear-gradient(135deg,#f2f4f7,#f8fafc);background-position:50%,50%;background-repeat:no-repeat,no-repeat;background-size:18px 18px,cover}.board-category{color:var(--ink-400)}.board-listing-code{color:var(--accent);letter-spacing:.01em}.board-tag{color:var(--ink-500);background:#f4f5f7;border-color:#e9ebef}.board-tag-link{color:var(--accent)}.board-inner-table th{color:var(--ink-400);letter-spacing:.02em;background:#f7f8fa}.board-inner-table th:nth-child(n+3):nth-child(-n+14),.board-inner-table td:nth-child(n+3):nth-child(-n+14){font-variant-numeric:tabular-nums}.board-inner-table tbody tr:hover{background:#fafbfc}.board-inner-table td:nth-child(3){color:var(--ink-900);font-weight:600}.masterdata-panel{border:1px solid var(--line);width:100%;max-width:none;box-shadow:var(--shadow-sm);border-radius:16px;padding:24px 26px}.masterdata-panel .table-wrap{max-height:calc(100vh - 300px)}.review-tabs{border-bottom:1px solid var(--line);gap:2px}.review-tab{color:var(--ink-400);padding:10px 14px;font-size:13px;font-weight:600;transition:color .14s,border-color .14s}.review-tab:hover{color:var(--ink-700)}.review-tab.active{color:var(--accent);border-bottom-color:var(--accent)}.tab-count{color:var(--ink-500);background:#f2f4f7;font-weight:600}.review-tab.active .tab-count{background:var(--accent-soft);color:var(--accent)}.md-toolbar{gap:8px;margin:12px 0}.md-toolbar input{font-size:13px}.md-hint{color:var(--ink-400)}.md-products-table thead .md-group-row th{color:var(--ink-500);letter-spacing:.02em;background:#f7f8fa;font-weight:600}.md-products-table thead tr:nth-child(2) th{background:var(--surface-muted);color:var(--ink-400);font-weight:600}.modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f172a5c}.settings-modal{border-radius:16px;box-shadow:0 24px 64px #1018282e}.settings-form{gap:10px}.settings-form label{color:var(--ink-400);font-weight:600}.settings-form input,.settings-form select,.settings-form textarea{font-weight:500}.settings-stats div{background:var(--surface-muted);border:1px solid var(--line-soft);border-radius:var(--radius-md)}.settings-stats span{color:var(--ink-400);font-weight:600}.settings-stats strong{color:var(--ink-900);font-variant-numeric:tabular-nums}.empty-state{border:1px dashed var(--line);border-radius:var(--radius-md);background:var(--surface-muted);color:var(--ink-400);text-align:center;padding:44px 24px;font-size:13px}.md-loading{flex-direction:column;gap:10px;padding:6px 0;display:flex}.md-loading-row{border-radius:var(--radius-md);background:linear-gradient(90deg,#f2f4f7 25%,#f9fafb 37%,#f2f4f7 63%) 0 0/400% 100%;height:44px;animation:1.4s infinite md-shimmer}.md-loading-head{height:32px}@keyframes md-shimmer{0%{background-position:100%}to{background-position:0}}@media (prefers-reduced-motion:reduce){.md-loading-row,.md-drawer{animation:none}}.settings-modal .detail-header{border-bottom:1px solid var(--line);padding-bottom:12px}.settings-modal .detail-header h2{font-size:18px}.settings-modal .eyebrow{margin-bottom:4px}input[type=file]{background:var(--surface-muted);border-style:dashed;padding:6px}input[type=file]::file-selector-button{border:1px solid var(--line);color:var(--ink-700);cursor:pointer;background:#fff;border-radius:8px;margin-right:10px;padding:6px 12px;font-weight:600}input[type=file]::file-selector-button:hover{background:var(--surface-muted)}.login-shell{background:var(--surface);grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);place-items:stretch stretch;min-height:100vh;padding:0;display:grid}.login-brand{color:#fff;background:radial-gradient(1200px 600px at 8% 0,#1c2b4a 0%,#0b1220 55%,#070c16 100%);align-items:center;padding:64px;display:flex;position:relative;overflow:hidden}.login-brand:after{content:"";background-image:linear-gradient(#ffffff0b 1px,#0000 1px),linear-gradient(90deg,#ffffff0b 1px,#0000 1px);background-size:48px 48px;position:absolute;inset:0;-webkit-mask-image:radial-gradient(620px 420px at 28% 18%,#000,#0000 76%);mask-image:radial-gradient(620px 420px at 28% 18%,#000,#0000 76%)}.login-brand-inner{z-index:1;max-width:520px;position:relative}.login-logo{letter-spacing:.18em;color:#c7d2e4;align-items:center;gap:12px;font-size:12px;font-weight:700;display:flex}.login-logo-mark{background:linear-gradient(135deg,#3b6bff,#2456e6);border-radius:10px;place-items:center;width:34px;height:34px;display:grid;box-shadow:0 8px 24px #2456e659}.login-brand h1{letter-spacing:-.02em;color:#fff;margin:28px 0 14px;font-size:clamp(30px,3.2vw,44px);line-height:1.15}.login-tagline{color:#9fb0c9;margin:0 0 28px;font-size:15px;line-height:1.7}.login-features{color:#c7d2e4;gap:14px;margin:0;padding:0;font-size:14px;list-style:none;display:grid}.login-features li{align-items:center;gap:12px;display:flex}.login-features li:before{content:"";background:#4c7dff;border-radius:50%;width:6px;height:6px;box-shadow:0 0 0 4px #4c7dff26}.login-footnote{color:#64748b;letter-spacing:.12em;margin:44px 0 0;font-size:11px}.login-panel{background:var(--bg);place-items:center;padding:48px;display:grid}.login-card{border:1px solid var(--line);background:var(--surface);width:min(400px,100%);box-shadow:var(--shadow-sm);border-radius:16px;gap:14px;padding:32px;display:grid}.login-card .eyebrow{margin:0}.login-card h2{letter-spacing:-.01em;margin:0;font-size:22px}.login-card .subtitle-line{color:var(--ink-400);margin:0 0 4px;font-size:13px}.login-card label{color:var(--ink-400);gap:6px;font-size:13px;font-weight:600;display:grid}.login-card input{width:100%}.login-card .primary-button.full{justify-content:center;height:40px;margin-top:6px}@media (width<=900px){.login-shell{grid-template-columns:1fr}.login-brand{display:none}.login-panel{padding:24px}}.user-mgmt-panel,.log-page,.my-uploads-panel{border:1px solid var(--line);box-shadow:var(--shadow-sm);border-radius:16px;padding:24px 26px}.log-filter{align-items:flex-end;gap:10px}.log-filter label{color:var(--ink-400);font-size:12px;font-weight:600}.log-filter select,.log-filter input{min-width:150px}.timeline{border:1px solid var(--line);background:var(--surface);border-radius:12px;flex-direction:column;gap:0;display:flex;overflow:hidden}.timeline-item{border-left:0;border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;gap:2px 16px;padding:12px 16px 12px 22px;display:grid;position:relative}.timeline-item:last-child{border-bottom:0}.timeline-item:hover{background:#fafbfc}.timeline-item:before{content:"";background:var(--accent);width:6px;height:6px;box-shadow:0 0 0 3px var(--accent-soft);border-radius:50%;position:absolute;top:18px;left:9px}.timeline-item strong{color:var(--ink-400);grid-column:1;font-size:12px;font-weight:600}.timeline-item p{color:var(--ink-900);grid-column:1;margin:0;font-size:13px;line-height:1.5}.timeline-item p+p{color:var(--ink-500);font-size:12px}.timeline-item small{color:var(--ink-400);white-space:nowrap;font-variant-numeric:tabular-nums;grid-area:1/2/span 3;align-self:center;font-size:12px}.role-tag{border-radius:999px;align-items:center;padding:2px 9px;font-size:12px;font-weight:600;display:inline-flex}.role-super_admin{background:var(--accent-soft);color:var(--accent)}.role-admin{color:#067647;background:#ecfdf3}.role-user{color:var(--ink-500);background:#f2f4f7}.user-table td:last-child{white-space:nowrap}.user-table td:last-child .ghost-button{margin-right:6px}.md-pager{color:var(--ink-400);gap:8px;font-size:12px}.skip-link{z-index:100;background:var(--ink-900);color:#fff;border-radius:8px;padding:10px 14px;font-size:13px;font-weight:600;text-decoration:none;transition:top .15s;position:absolute;top:-56px;left:16px}.skip-link:focus{top:16px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{box-shadow:var(--ring);outline:none}@media (width<=1100px){.dashboard-shell{padding:22px 20px 36px}.topbar{flex-direction:column;align-items:stretch;gap:14px;margin-bottom:16px}.topbar-actions{justify-content:flex-start}.summary-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.filter-search{flex:320px;width:auto;min-width:240px}}@media (width<=760px){.dashboard-shell{padding:18px 14px 28px}h1{font-size:22px}.summary-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.md-panel-bar{flex-wrap:wrap;gap:8px}.md-panel-actions{padding-bottom:6px}.masterdata-panel,.log-page,.user-mgmt-panel,.my-uploads-panel{padding:16px}}.topbar-actions .ghost-button[aria-current=page],.topbar-actions .primary-button[aria-current=page]{background:var(--surface);color:var(--ink-900);border-color:var(--line);box-shadow:var(--shadow-xs)}.topbar-actions .primary-button[aria-current=page]{background:var(--accent);color:#fff;border-color:var(--accent)}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}input[type=checkbox],input[type=radio]{accent-color:var(--accent)}input[type=date],input[type=datetime-local],input[type=time]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}input[type=date]::-webkit-calendar-picker-indicator{opacity:.55;cursor:pointer}input[type=datetime-local]::-webkit-calendar-picker-indicator{opacity:.55;cursor:pointer}button:active:not(:disabled){transform:translateY(.5px)}.selection-count{color:var(--ink-400);font-variant-numeric:tabular-nums;font-size:12px}.error-box{background:var(--danger-soft);color:var(--danger);border:1px solid #fecdca;border-radius:10px;padding:12px 14px}.success-box{color:#067647;background:#ecfdf3;border:1px solid #abefc6;border-radius:10px}.md-toast{animation:.18s ease-out md-toast-in}@keyframes md-toast-in{0%{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%)}}.pf-section{background:var(--surface-muted);border:1px solid var(--line-soft);border-radius:12px;margin-bottom:12px;padding:16px}.pf-section h3{color:var(--ink-700);letter-spacing:0;margin:0 0 12px;font-size:13px;font-weight:700}.pf-section-head{margin-bottom:12px}.pf-section label span{color:var(--ink-400);font-size:12px;font-weight:600}.pf-variant{border:1px solid var(--line);background:var(--surface);border-radius:10px;margin-bottom:8px;padding:12px}.pf-variant-head{color:var(--ink-500);font-weight:600}.pf-star{color:var(--danger);font-weight:700}.pf-tag.active{background:var(--accent);color:#fff;border-color:var(--accent)}.pf-more-toggle:hover{background:var(--surface-muted)}.md-cell-with-op{align-items:center}.md-cell-text{white-space:normal;min-width:84px}.md-products-table th,.md-products-table td{padding-left:8px;padding-right:8px}.md-products-table .md-product-input{box-sizing:border-box;width:100%;min-width:0;font:inherit;border-radius:6px;padding:2px 6px;font-size:13px}.md-products-table .md-cell-with-op>.md-product-input{flex:auto;width:auto}.md-products-table .md-product-name-input{min-width:220px}.md-products-table .md-cell-with-op>.ghost-button{white-space:nowrap;flex:none}.md-products-table .md-product-desc-input{min-width:170px}.md-products-table .md-inline-select{width:100%;max-width:100%}.md-products-table .md-spec-input{width:92px}.md-factories-table .md-source-input{box-sizing:border-box;width:100%;min-width:0;font:inherit;border-radius:6px;padding:2px 6px;font-size:13px}.md-factories-table .md-inline-select{width:100%;min-width:0}.md-factories-table .md-source-name-input{min-width:0}.md-factories-table{table-layout:fixed;width:100%;min-width:1322px}.md-factories-table th{white-space:normal;vertical-align:bottom;padding-top:6px;padding-bottom:6px;font-size:12px;line-height:1.25}.md-factories-table .md-src-col-select{width:36px}.md-factories-table .md-src-col-name{width:113px}.md-factories-table .md-src-col-id{width:70px}.md-factories-table .md-src-col-type,.md-factories-table .md-src-col-seq{width:56px}.md-factories-table .md-src-col-factory-code{width:70px}.md-factories-table .md-src-col-source-code{width:60px}.md-factories-table .md-src-col-party{width:100px}.md-factories-table .md-src-col-address{width:148px}.md-factories-table .md-src-col-file{width:68px}.md-factories-table .md-src-col-count{width:42px}.md-factories-table .md-src-col-remark{width:55px}.md-factories-table .md-src-col-ops{width:90px}.md-factories-table .md-row-actions .ghost-button{margin-right:4px;padding:4px 6px}.md-factories-table td{white-space:normal;overflow-wrap:anywhere}.md-factories-table td .md-spec-cell{box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;width:100%;display:block}.md-products-table .md-measure-editor input[type=number]{width:52px}.md-products-table .md-measure-editor input[list]{width:58px}.empty-state:before{content:"";background:var(--ink-300);opacity:.75;width:26px;height:26px;margin:0 auto 10px;display:block;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 13h5l1 3h6l1-3h5'/%3E%3Cpath d='M5 5h14l2 8v6H3v-6l2-8Z'/%3E%3C/svg%3E") 50%/26px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 13h5l1 3h6l1-3h5'/%3E%3Cpath d='M5 5h14l2 8v6H3v-6l2-8Z'/%3E%3C/svg%3E") 50%/26px no-repeat}.login-shell .empty-state:before{display:none}.filter-dropdown-trigger{border-color:var(--line);border-radius:var(--radius-sm);color:var(--ink-500);padding:7px 12px;font-size:13px;font-weight:600;transition:border-color .14s,background .14s,color .14s}.filter-dropdown-trigger:hover{background:var(--surface-muted);color:var(--ink-700);border-color:#d0d5dd}.filter-dropdown-trigger.active{background:var(--accent);border-color:var(--accent);color:#fff}.filter-dropdown-panel{border-color:var(--line);box-shadow:var(--shadow-md);border-radius:12px}.filter-dropdown-empty{font-weight:500}.sort-dir{border-color:var(--line);background:var(--surface);color:var(--ink-500)}.sort-dir.asc{border-radius:8px 0 0 8px}.sort-dir.desc{border-radius:0 8px 8px 0}.sort-dir.active{background:var(--accent);border-color:var(--accent);color:#fff}.md-factories-table th:nth-last-child(3),.md-factories-table td:nth-last-child(3){text-align:right;font-variant-numeric:tabular-nums}.empty-text{color:var(--ink-400)}.upload-item{border-color:var(--line);box-shadow:var(--shadow-xs);border-radius:12px}.upload-item-thumb-wrap{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398A2B3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E"),linear-gradient(135deg,#f2f4f7,#f8fafc);background-position:50%,50%;background-repeat:no-repeat,no-repeat;background-size:16px 16px,cover;border-radius:8px;flex:none;width:40px;height:40px;overflow:hidden}.upload-item-thumb{object-fit:cover;width:100%;height:100%;display:block}.upload-item-info small{color:var(--ink-400)}.md-row-actions{white-space:nowrap;width:1%}.md-row-actions .ghost-button{margin-right:6px}.md-row-actions .ghost-button:last-child{margin-right:0}.md-toolbar .md-search-input{flex:0 360px;width:360px;min-width:220px}.md-toolbar .md-toolbar-count{margin-left:auto}@media (width<=760px){.md-toolbar .md-search-input{flex:auto;width:auto}.md-toolbar .md-toolbar-count{margin-left:0}}.md-group-toggle{float:right;width:24px;height:24px;color:var(--ink-400);background:0 0;border:1px solid #0000;border-radius:7px;padding:0;transition:background .14s,border-color .14s,color .14s}.md-group-toggle:hover{background:var(--surface);border-color:var(--line);color:var(--accent)}.md-group-toggle.active{background:var(--accent-soft);color:var(--accent);border-color:#0000}.listing-create-modal{width:min(720px,96vw)}.listing-create-form .pf-grid-2>label{min-width:0}.listing-create-form .pf-grid-2 input,.listing-create-form .pf-grid-2 select{box-sizing:border-box;width:100%;min-width:0}.settings-form label{min-width:0}.settings-form select{box-sizing:border-box;width:100%;min-width:0}.empty-state.empty-state-action{flex-direction:column;align-items:center;gap:6px;padding:56px 24px;display:flex}.empty-state-action strong{color:var(--ink-700);font-size:15px;font-weight:600}.empty-state-action p{max-width:44ch;color:var(--ink-400);margin:0 0 10px;font-size:13px;line-height:1.6}.empty-state-action .primary-button,.empty-state-action .ghost-button{padding:8px 16px}.md-change-block{border:1px solid var(--line);background:var(--surface);border-radius:12px;margin-bottom:14px;padding:12px 14px 14px}.md-change-head{border-bottom:1px solid var(--line-soft);flex-wrap:wrap;align-items:flex-end;gap:8px 20px;margin-bottom:10px;padding-bottom:10px;display:flex}.md-change-head>span{flex-direction:column;gap:2px;min-width:0;display:flex}.md-change-head i{color:var(--ink-400);font-size:11px;font-style:normal;font-weight:600}.md-change-head b{color:var(--ink-900);font-size:13px;font-weight:600}.md-change-head .ghost-button{margin-left:auto}.md-source-changes-table th,.md-source-changes-table td{white-space:nowrap}.md-source-changes-table td{font-size:12px}.md-source-changes-table .md-change-spec-name{text-overflow:ellipsis;max-width:180px;overflow:hidden}.md-source-changes-table tbody tr.selected{background:var(--accent-soft)}.md-change-window{font-variant-numeric:tabular-nums}.md-change-window-edit{align-items:center;gap:4px;display:inline-flex}.md-change-window-edit input{width:150px;padding:4px 6px;font-size:12px}.md-change-check{text-align:center;width:32px}.md-change-check input{accent-color:var(--accent)}.md-change-entity-cell strong{font-weight:600;display:block}.md-change-entity-cell small{color:var(--ink-400);font-size:11px;font-weight:500;display:block}.md-changes-source-table td[rowspan]{vertical-align:top}.md-changes-source-table th,.md-changes-source-table td{white-space:nowrap}.md-changes-source-table td.md-change-window{font-variant-numeric:tabular-nums}.md-drawer{width:min(1500px,98vw)}.md-drawer-body{padding:12px 14px}.md-source-changes-table th,.md-source-changes-table td{padding-left:6px;padding-right:6px}.md-source-changes-table .md-change-window{font-variant-numeric:tabular-nums;white-space:nowrap}.md-source-changes-table .md-change-window-edit input{width:148px}.md-source-changes-table .md-inline-select{width:140px}.md-source-changes-table .md-spec-input{width:90px}.md-source-changes-table .md-money-input{width:64px}.md-source-changes-table .md-change-spec-name{max-width:130px}.md-source-changes-table .md-change-spec-code{white-space:nowrap}.md-change-source{text-overflow:ellipsis;vertical-align:bottom;max-width:120px;display:inline-block;overflow:hidden}.md-change-window-cell,.md-change-source-cell{vertical-align:middle}.md-products-table td[rowspan]{vertical-align:top}.md-factories-table th,.md-factories-table td{padding-left:7px;padding-right:7px}.md-file-btn.is-busy{opacity:.6;cursor:progress}.hierarchy-table{table-layout:fixed;width:100%;min-width:1364px}.board-hierarchy.table-wrap{border:1px solid #e2e8f0e6;border-radius:16px;max-height:calc(100vh - 340px);box-shadow:0 6px 20px #0f172a0d}.hierarchy-table .bh-col-product,.hierarchy-table .bh-col-factory{width:150px}.hierarchy-table .bh-col-profile{width:190px}.hierarchy-table .bh-col-listing{width:175px}.hierarchy-table .bh-col-spec-image{width:70px}.hierarchy-table .bh-col-spec{width:310px}.hierarchy-table .bh-col-sku{width:105px}.hierarchy-table .bh-col-price,.hierarchy-table .bh-col-stock{width:65px}.hierarchy-table .bh-col-components{width:227px}.hierarchy-table th,.hierarchy-table td{vertical-align:top}.hierarchy-table td{padding:10px 12px}.hierarchy-table tbody tr:hover{background:#fafbfc}.board-node-product strong,.board-node-factory strong,.board-node-profile strong{font-size:13px;display:block}.board-node-product small,.board-node-factory small{color:var(--ink-400);margin-top:2px;font-size:11px;display:block}.board-node-pair{flex-wrap:wrap;gap:2px 6px;min-width:0;font-size:12px;line-height:1.7;display:flex}.board-node-source-qualification{border-top:1px dashed var(--line-soft);flex-direction:column;gap:2px;margin-top:6px;padding-top:6px;display:flex}.board-node-qualification{margin-top:6px;font-size:12px}.board-node-qualification>summary{cursor:pointer;color:var(--ink-400);font-weight:600}.board-node-qualification-grid{flex-direction:column;gap:2px;margin:6px 0;display:flex}.board-node-qualification .ghost-button{margin-top:4px}.settings-modal.board-qualification-modal{flex-direction:column;width:min(760px,96vw);max-height:calc(100vh - 36px);display:flex;overflow:hidden}.board-qualification-modal .detail-header{flex:none}.board-qualification-form{flex:auto;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;min-height:0;overflow-y:auto}.board-qualification-form .bh-qualification-wide,.board-qualification-form .primary-button.full{grid-column:1/-1}.board-qualification-form .primary-button.full{z-index:1;position:sticky;bottom:0}.board-qualification-form textarea{min-height:64px}.bh-qualification-label{align-items:baseline;gap:1px;display:inline-flex}.board-qualification-form label.bh-check{flex-direction:row;align-items:center;gap:8px;display:flex}.board-qualification-form label.bh-check input{width:auto;min-width:0}.board-node-pair b{min-width:42px;color:var(--ink-400);flex:none;font-weight:600}.hierarchy-table .board-node-pair>span{overflow-wrap:anywhere;min-width:0}.board-node-time{color:var(--ink-500);font-variant-numeric:tabular-nums;flex-direction:column;font-size:11px;line-height:1.6;display:flex}.board-node-muted{color:var(--ink-300)}.board-node-images{align-items:center;gap:4px;display:inline-flex}.board-node-thumb{object-fit:cover;border:1px solid var(--line);border-radius:4px;width:24px;height:24px}.board-node-spec-image{text-align:center}.board-node-spec-image .bh-images,.board-node-spec-image .board-node-images{justify-content:center}.hierarchy-table .board-node-product,.hierarchy-table .board-node-factory,.hierarchy-table .board-node-profile,.hierarchy-table .board-node-listing,.hierarchy-table .board-node-spec-name{position:relative}.board-cell-content{padding-bottom:26px;padding-right:48px;display:block}.board-add-child{border:1px dashed var(--line-strong);color:var(--accent);cursor:pointer;white-space:nowrap;z-index:2;background:#fff;border-radius:6px;padding:2px 6px;font-size:11px;font-weight:600;line-height:1.4;position:absolute;bottom:6px;right:6px}.board-add-child:hover{border-color:var(--accent);background:var(--accent-soft)}.hierarchy-table td.bh-cell-selectable{cursor:cell}.hierarchy-table td.bh-cell-selectable,.hierarchy-table td.bh-cell-selected{transition:background-color .14s,box-shadow .14s,outline-color .14s}.hierarchy-table td.bh-cell-selectable:not(.bh-cell-selected):hover{background:linear-gradient(#fbfdff 0%,#f5f9ff 100%);box-shadow:inset 2px 0 #3867d673,inset 0 0 0 1px #3867d61f}.hierarchy-table td.bh-cell-column-hover{background:#3867d60b}.hierarchy-table tr.bh-row-selected{background:linear-gradient(90deg,#3867d60e 0,#3867d605 30%,#0000 65%)}.hierarchy-table tr.bh-row-selected td.board-node-spec-name:before{content:"";background:var(--accent);pointer-events:none;border-radius:0 2px 2px 0;width:3px;position:absolute;top:0;bottom:0;left:0}.board-hierarchy:focus:not(:focus-visible){outline:none}.board-hierarchy:focus-visible{outline-offset:3px;outline:2px solid #3867d673}.hierarchy-table td.bh-cell-selected{outline-offset:-1px;background:linear-gradient(#f3f9ff 0%,#e7f1ff 100%);outline:1px solid #3867d69e;box-shadow:inset 0 0 0 1px #ffffffa6,inset 0 0 10px #3867d60d}.hierarchy-table td.bh-cell-anchor{outline:2px solid var(--accent);outline-offset:-2px;z-index:2;background:linear-gradient(#e8f2ff 0%,#d8e9ff 100%);position:relative;box-shadow:inset 0 0 0 1px #ffffffb8,0 0 0 1px #3867d62e,0 8px 22px #3867d633}.hierarchy-table td.bh-cell-anchor:after{content:"";background:var(--accent);pointer-events:none;border:1.5px solid #fff;border-radius:2px;width:7px;height:7px;position:absolute;bottom:3px;right:3px;box-shadow:0 0 0 1px #3867d659}.hierarchy-table th.bh-column-selectable{cursor:pointer;-webkit-user-select:none;user-select:none}.hierarchy-table th.bh-column-selectable:hover{color:var(--accent);background:linear-gradient(#f8fbff 0%,#f1f7ff 100%)}.hierarchy-table th.bh-column-selected{color:var(--accent);border-bottom-color:var(--accent);box-shadow:inset 0 -3px 0 var(--accent), inset -1px 0 0 #e9edf3;background:linear-gradient(#eef6ff 0%,#e2efff 100%)}.hierarchy-table th.bh-column-anchor{color:var(--accent);border-bottom-color:var(--accent);box-shadow:inset 0 -4px 0 var(--accent), inset -1px 0 0 #e9edf3;background:linear-gradient(#e6f1ff 0%,#d5e8ff 100%)}.hierarchy-table thead th{vertical-align:middle;border-bottom:1px solid var(--line-strong);height:42px;color:var(--ink-500);letter-spacing:.02em;background:linear-gradient(#fbfdff 0%,#f5f8fc 100%);padding:0 12px;font-size:12px;font-weight:700;box-shadow:inset -1px 0 #e9edf3,0 3px 10px #0f172a08}.board-cell-actions{z-index:3;align-items:center;gap:2px;display:inline-flex;position:absolute;top:2px;right:2px}.board-delete-button{color:var(--danger)}.board-delete-button:hover:not(:disabled){border-color:var(--danger);color:var(--danger);background:var(--danger-soft)}.bh-confirm-wrap{display:inline-flex;position:relative}.bh-popconfirm{z-index:20;border:1px solid var(--line);width:230px;box-shadow:var(--shadow-md);text-align:left;background:#fff;border-radius:8px;flex-direction:column;gap:6px;padding:10px;display:flex;position:absolute;top:26px;right:0}.bh-popconfirm-title{color:var(--ink-900);font-size:12px;font-weight:600}.bh-popconfirm-message{color:var(--ink-500);font-size:11px;line-height:1.5}.bh-popconfirm-actions{justify-content:flex-end;gap:6px;display:flex}.bh-main-image-row{align-items:center}.bh-image-sep{color:var(--ink-300);padding:0 2px}.board-node-spec-name-text{display:block}.bh-component-row{flex-wrap:wrap;align-items:center;gap:4px;min-width:0;display:flex}.bh-component-row-1 .bh-select{flex:140px}.bh-spec-code{color:var(--ink-400);font-variant-numeric:tabular-nums;white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:10px;overflow:hidden}.bh-component-row-2 .bh-select{flex:105px}.bh-component-row-2 .bh-qty{flex:0 0 52px;width:52px!important}.bh-component-row-2 .bh-unit-select{flex:0 0 70px}.bh-component-delete{border:1px solid var(--line);width:22px;height:22px;color:var(--danger);cursor:pointer;background:#fff;border-radius:50%;flex:none;align-self:center;padding:0;font-size:14px;line-height:1}.bh-component-delete:hover{border-color:var(--danger);background:var(--danger-soft)}.board-node-spec-name{min-width:0;font-weight:600}.board-spec-head{align-items:flex-start;gap:6px;min-width:0;display:flex}.board-node-spec-name-text{overflow-wrap:anywhere;min-width:0}.board-spec-sku{color:var(--ink-400);word-break:break-all;margin:2px 0 4px;font-size:11px;font-weight:400;display:block}.board-spec-head{padding-right:46px}.board-spec-actions{z-index:2;gap:2px;display:flex;position:absolute;top:0;right:0}.board-spec-delete{color:var(--danger)}.board-spec-delete:hover{color:var(--danger);border-color:var(--danger);background:var(--danger-soft)}.board-node-spec-sku{min-width:180px;color:var(--ink-500);word-break:break-all;font-size:11px}.board-node-money{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.board-node-components{min-width:220px}.board-node-component{flex-direction:column;font-size:12px;line-height:1.5;display:flex}.board-node-component small{color:var(--ink-400);font-size:10px}.view-switch{background:#e9ebef;border-radius:8px;gap:2px;padding:2px;display:inline-flex}.view-tab{color:var(--ink-500);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:4px 12px;font-size:12px;font-weight:600}.view-tab.active{background:var(--surface);color:var(--ink-900);box-shadow:var(--shadow-xs)}.board-hierarchy-view{flex-direction:column;gap:10px;display:flex}.board-hierarchy-toolbar{justify-content:space-between;align-items:center;gap:12px;display:flex}.board-hierarchy-toolbar .primary-button{padding:7px 14px}.board-select-all{white-space:nowrap;font-size:11px;font-weight:700}.board-select-all:disabled{color:var(--ink-400);cursor:default;text-decoration:none}.board-selection-bar{background:linear-gradient(#f8fbff 0%,#eef5ff 100%);border:1px solid #d6e4ff;border-radius:10px;align-items:center;gap:12px;padding:8px 12px;animation:.16s ease-out board-selection-in;display:flex;position:relative;box-shadow:0 4px 14px #3867d614}.board-selection-pill{color:var(--accent);font-variant-numeric:tabular-nums;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #cfe0ff;border-radius:999px;align-items:center;gap:7px;padding:4px 10px;font-family:inherit;font-size:12px;font-weight:800;animation:.18s ease-out board-selection-pop;display:inline-flex}.board-selection-pill:hover{background:#f8fbff;border-color:#a9c8ff}.board-selection-pill:focus-visible{outline-offset:2px;outline:2px solid #3867d673}.board-selection-shopcount{color:var(--ink-500);font-size:11px;font-weight:600}.board-selection-caret{color:var(--ink-400);font-size:10px;line-height:1;transition:transform .16s}.board-selection-caret.is-open{transform:rotate(180deg)}.board-selection-panel{z-index:40;border:1px solid var(--line);background:#fff;border-radius:12px;width:min(560px,100vw - 48px);max-height:340px;animation:.16s ease-out board-selection-in;position:absolute;top:calc(100% + 8px);left:0;overflow:auto;box-shadow:0 18px 48px #0f172a2e}.board-selection-panel-head{z-index:1;border-bottom:1px solid var(--line-soft);background:#fff;align-items:center;gap:8px;padding:10px 12px;display:flex;position:sticky;top:0}.board-selection-panel-head strong{color:var(--ink-900);font-size:12px}.board-selection-panel-shops{color:var(--ink-400);font-size:11px;font-weight:600}.board-selection-panel-clear{color:var(--ink-500);cursor:pointer;background:0 0;border:0;margin-left:auto;font-size:11px;font-weight:700}.board-selection-panel-clear:hover{color:var(--accent)}.board-selection-panel-close{color:var(--ink-400);cursor:pointer;background:0 0;border:0;padding:0 2px;font-size:16px;line-height:1}.board-selection-panel-close:hover{color:var(--ink-900)}.board-selection-panel-list{padding:0}.board-selection-panel-group+.board-selection-panel-group{border-top:1px solid var(--line-soft)}.board-selection-panel-group-head{color:var(--ink-500);background:#f8fafc;justify-content:space-between;align-items:center;gap:8px;padding:7px 12px;font-size:11px;font-weight:700;display:flex}.board-selection-panel-group-head span:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.board-selection-panel-group-head span:last-child{color:var(--ink-400);font-variant-numeric:tabular-nums;flex:none;font-weight:600}.board-selection-panel-row{border-top:1px solid #f1f5f9;grid-template-columns:minmax(0,1fr) 72px 24px;align-items:center;gap:10px;padding:7px 12px;display:grid}.board-selection-panel-row:hover{background:#f8fbff}.board-selection-panel-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--ink-900);font-size:12px;font-weight:600;overflow:hidden}.board-selection-panel-price{color:var(--ink-500);font-variant-numeric:tabular-nums;text-align:right;font-size:11px}.board-selection-panel-remove{color:var(--ink-400);cursor:pointer;opacity:0;background:0 0;border:0;border-radius:4px;font-size:14px;line-height:1;transition:opacity .12s}.board-selection-panel-row:hover .board-selection-panel-remove,.board-selection-panel-remove:focus-visible{opacity:1}.board-selection-panel-remove:hover{color:var(--danger);background:#fef2f2}@media (hover:none){.board-selection-panel-remove{opacity:1}}@media (width<=640px){.board-selection-panel-row{grid-template-columns:minmax(0,1fr) 64px 22px}}.board-selection-dot{background:var(--accent);border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 3px #3867d624}.board-selection-hint{color:var(--ink-400);font-size:11px;font-weight:600}.board-selection-clear{flex:none;font-size:11px;font-weight:700}.board-selection-clear:hover{color:var(--accent)}.board-selection-actions{align-items:center;gap:8px;margin-left:auto;display:inline-flex}.board-hierarchy-view.has-selection .board-hierarchy.table-wrap{max-height:calc(100vh - 398px)}.board-selection-actions .ghost-button{background:#fff;padding:6px 12px}.board-selection-actions .primary-button{padding:6px 14px;box-shadow:0 4px 10px #3867d62e}@keyframes board-selection-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@keyframes board-selection-pop{0%{transform:scale(.96)}to{transform:scale(1)}}@media (prefers-reduced-motion:reduce){.board-selection-bar,.board-selection-pill,.board-selection-panel{animation:none}.board-selection-caret,.board-selection-panel-remove{transition:none}}@media (width<=900px){.board-selection-hint{display:none}.board-selection-bar{flex-wrap:wrap}}.bh-cell-btn,.bh-input,.bh-select{box-sizing:border-box;font:inherit;border:1px solid #0000;border-radius:6px;min-height:24px;padding:3px 6px;font-size:12px;line-height:1.4}.bh-cell-btn{width:100%;min-width:0;color:inherit;cursor:pointer;text-align:left;background:0 0}.bh-cell-btn:hover{background:#f8fafc;border-color:#cbd5e1}.bh-input{border-color:var(--line);background:#fff;width:100%;min-width:0}.bh-select{border-color:var(--line);background:#fff;width:100%;min-width:0;max-width:100%}.bh-select:focus,.bh-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:none}.board-node-pair>.bh-cell-btn,.board-node-pair>.bh-input,.board-node-pair>.bh-select{flex:auto;min-width:0}.bh-images{flex-wrap:wrap;align-items:center;gap:4px;display:inline-flex}.bh-image{display:inline-flex;position:relative}.bh-image-remove{border:1px solid var(--line);width:14px;height:14px;color:var(--danger);cursor:pointer;background:#fff;border-radius:50%;padding:0;font-size:10px;line-height:12px;position:absolute;top:-4px;right:-4px}.bh-upload{border:1px dashed var(--line);width:24px;height:24px;color:var(--ink-400);cursor:pointer;border-radius:4px;justify-content:center;align-items:center;display:inline-flex}.bh-upload:hover{border-color:var(--accent);color:var(--accent)}.bh-components{flex-direction:column;gap:6px;display:flex}.bh-component{border-bottom:1px dashed var(--line-soft);flex-direction:column;gap:2px;padding:4px 0;display:flex}.bh-component:last-of-type{border-bottom:0}.bh-component-line{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.bh-component-line .bh-select{flex:120px;max-width:100%}.bh-check{color:var(--ink-500);align-items:center;gap:3px;font-size:11px;display:inline-flex}.bh-qty{flex:none;min-width:0;width:64px!important}.bh-unit{flex:none;min-width:64px;width:64px!important}.bh-derived{color:var(--ink-400);font-size:10px}.board-save-toast{z-index:95;background:var(--ink-900);color:#fff;box-shadow:var(--shadow-md);border-radius:999px;padding:8px 18px;font-size:12px;font-weight:600;animation:.18s ease-out md-toast-in;position:fixed;bottom:30px;left:50%;transform:translate(-50%)}.board-hierarchy-toolbar{flex-wrap:wrap}.board-hierarchy-search{align-items:center;gap:8px;margin-left:auto;display:inline-flex}.bh-product-search{width:240px;padding:6px 10px;font-size:12px}.bh-upload-first{width:auto;color:var(--ink-500);white-space:nowrap;gap:4px;padding:0 8px;font-size:11px}.bh-first-tag{color:#fff;background:#0b1220b8;border-radius:0 3px;padding:0 3px;font-size:9px;line-height:1.4;position:absolute;bottom:0;left:0}.publish-preview-modal{width:min(1180px,96vw);max-height:90vh;overflow:auto}.publish-preview-table td{vertical-align:top;font-size:12px}.publish-preview-table td small{color:var(--ink-400);font-size:11px;display:block}.publish-preview-table tr.row-blocked{background:var(--danger-soft)}.publish-category{text-overflow:ellipsis;white-space:nowrap;max-width:220px;overflow:hidden}.publish-checks{min-width:220px}.publish-block{color:var(--danger);font-size:11px;display:block}.publish-warn{color:#b54708;font-size:11px;display:block}.publish-preview-footer{justify-content:flex-end;align-items:center;gap:10px;margin-top:12px;display:flex}.publish-preview-footer .selection-count{margin-right:auto}.publish-status{white-space:nowrap;border-radius:999px;padding:2px 9px;font-size:11px;font-weight:600;display:inline-flex}.publish-status.is-queued{color:var(--ink-500);background:#f2f4f7}.publish-status.is-submitted{background:var(--accent-soft);color:var(--accent)}.publish-status.is-running{color:#175cd3;background:#eef4ff}.publish-status.is-succeeded{color:#067647;background:#ecfdf3}.publish-status.is-failed{background:var(--danger-soft);color:var(--danger)}.publish-jobs-table td{vertical-align:middle;font-size:12px}.publish-jobs-table{table-layout:fixed;width:100%;min-width:1295px}.publish-jobs-table th,.publish-jobs-table td{padding-left:10px;padding-right:10px}.publish-jobs-table .pj-col-status{width:80px}.publish-jobs-table .pj-col-title{width:190px}.publish-jobs-table .pj-col-spec{width:140px}.publish-jobs-table .pj-col-shop{width:90px}.publish-jobs-table .pj-col-account{width:145px}.publish-jobs-table .pj-col-operator,.publish-jobs-table .pj-col-product,.publish-jobs-table .pj-col-sdk{width:85px}.publish-jobs-table .pj-col-error{width:160px}.publish-jobs-table .pj-col-time{width:120px}.publish-jobs-table .publish-job-time small{color:var(--ink-400);font-size:11px;display:block}.publish-jobs-table .publish-job-account,.publish-jobs-table td:nth-child(4){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.publish-job-title{text-overflow:ellipsis;white-space:nowrap;max-width:240px;overflow:hidden}.publish-job-spec{text-overflow:ellipsis;white-space:nowrap;max-width:180px;overflow:hidden}.publish-job-error{text-overflow:ellipsis;white-space:nowrap;max-width:220px;color:var(--danger);overflow:hidden}.publish-job-time,.publish-job-id,.publish-job-account{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:12px}.collector-sync-modal{width:min(1080px,96vw);max-height:90vh;overflow:auto}.collector-sync-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0;display:grid}.collector-sync-card{border:1px solid var(--line);background:var(--surface-muted);border-radius:10px;flex-direction:column;gap:2px;padding:12px 14px;display:flex}.collector-sync-card strong{font-variant-numeric:tabular-nums;font-size:22px}.collector-sync-label{color:var(--ink-500);font-size:12px}.collector-sync-detail{color:var(--ink-400);font-size:11px}.collector-sync-notes{color:#7a4a00;background:#fffaeb;border-radius:8px;margin:0 0 12px;padding:10px 12px 10px 26px;font-size:12px;line-height:1.6}.collector-sync-groups{flex-direction:column;gap:14px;display:flex}.collector-sync-group h3{align-items:center;gap:8px;margin:0 0 6px;font-size:13px;display:flex}.collector-sync-table td{vertical-align:top;font-size:12px}.collector-sync-new,.collector-sync-update{white-space:nowrap;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:600;display:inline-flex}.collector-sync-new{color:#067647;background:#ecfdf3}.collector-sync-update{background:var(--accent-soft);color:var(--accent)}.collector-sync-item-detail{color:var(--ink-500)}.collector-sync-result{color:#067647;background:#ecfdf3;border-radius:10px;flex-direction:column;gap:4px;margin:12px 0;padding:12px 14px;font-size:13px;display:flex}.confirm-modal{width:min(460px,94vw)}.confirm-modal .danger-button{margin-top:0}.confirm-message{color:var(--ink-500);white-space:pre-line;margin:14px 0 0;font-size:13px;line-height:1.7}.toast-stack{z-index:120;pointer-events:none;flex-direction:column;align-items:center;gap:8px;width:max-content;max-width:min(520px,100vw - 32px);display:flex;position:fixed;bottom:max(28px,12vh);left:50%;transform:translate(-50%)}.toast-item{background:var(--ink-700);color:#fff;max-width:100%;box-shadow:var(--shadow-md);pointer-events:auto;border-radius:10px;align-items:center;gap:10px;padding:10px 14px 12px;font-size:13px;line-height:1.5;animation:.22s cubic-bezier(.16,1,.3,1) toast-in;display:flex;position:relative;overflow:hidden}.toast-item.toast-leaving{animation:.22s cubic-bezier(.4,0,1,1) forwards toast-out}.toast-message{flex:auto}.toast-action{color:#fff;cursor:pointer;background:0 0;border:0;flex:none;padding:0 2px;font-size:13px;font-weight:700;text-decoration:underline}.toast-action:hover{opacity:.85}.toast-progress{transform-origin:0;background:#ffffff61;height:3px;animation-name:toast-progress;animation-timing-function:linear;animation-fill-mode:forwards;position:absolute;bottom:0;left:0;right:0}.toast-leaving .toast-progress{animation-play-state:paused}.toast-success{background:#067647}.toast-error{background:var(--danger)}.toast-info{background:var(--ink-700)}@keyframes toast-in{0%{opacity:0;transform:translateY(14px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes toast-out{0%{opacity:1;transform:translateY(0)scale(1)}to{opacity:0;transform:translateY(10px)scale(.98)}}@keyframes toast-progress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}@media (prefers-reduced-motion:reduce){.toast-item,.toast-item.toast-leaving,.toast-progress{animation:none}.toast-progress{transform:scaleX(0)}}.th-sort{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:0;font-weight:600;display:inline-flex}.th-sort:hover,.th-sort.active{color:var(--accent)}.th-sort-arrow{opacity:.55;font-size:10px}.th-sort.active .th-sort-arrow{opacity:1}.publish-new-listing{color:#b54708}.publish-shop-picker{border:1px solid var(--line);background:var(--surface-muted);border-radius:10px;margin:12px 0;padding:8px 12px}.publish-shop-picker summary{cursor:pointer;align-items:center;gap:8px;font-size:13px;font-weight:600;display:flex}.publish-shop-picker-body{flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px;display:flex}.publish-shop-options{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:6px 14px;width:100%;max-height:180px;display:grid;overflow:auto}.publish-shop-option{cursor:pointer;align-items:center;gap:6px;font-size:12px;display:flex}.publish-shop-picker-body .md-hint{width:100%;margin:2px 0 0}.password-field{display:block;position:relative}.password-field input{width:100%;padding-right:56px}.password-toggle{color:var(--accent);cursor:pointer;background:0 0;border:0;padding:4px 6px;font-size:12px;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.fatal-error{background:var(--bg);place-items:center;min-height:100vh;padding:24px;display:grid}.fatal-error-card{border:1px solid var(--line);background:var(--surface);width:min(560px,94vw);box-shadow:var(--shadow-md);border-radius:16px;padding:28px}.fatal-error-detail{background:var(--danger-soft);max-height:180px;color:var(--danger);white-space:pre-wrap;word-break:break-word;border-radius:8px;margin:14px 0;padding:10px 12px;font-size:12px;overflow:auto}.fatal-error-actions{gap:10px;display:flex}.copy-cell{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:5px;padding:2px 6px;display:inline-flex}.copy-cell:hover{background:var(--accent-soft);color:var(--accent)}.copy-cell span{opacity:.5;font-size:11px}.copy-inline{vertical-align:baseline;padding:0 3px;font-size:11px}.collector-sync-resources{flex-wrap:wrap;gap:6px;margin:0 0 10px;display:flex}.resource-chip{border:1px solid var(--line);background:var(--surface);color:var(--ink-500);border-radius:999px;align-items:center;gap:5px;padding:3px 9px;font-size:11px;display:inline-flex}.resource-chip b{font-size:11px}.resource-chip.is-available{color:#067647;background:#ecfdf3;border-color:#abefc6}.resource-chip.is-missing{background:var(--danger-soft);color:var(--danger);border-color:#fecdca}.log-quick-range{gap:4px;display:inline-flex}.publish-title-input{border:1px solid var(--line);border-radius:7px;width:100%;min-width:160px;padding:5px 8px;font-size:12px}.publish-title-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:none}.publish-title-cell{align-items:center;gap:6px;display:flex}.publish-title-input.is-invalid{border-color:var(--danger);background:var(--danger-soft)}.publish-title-reset{white-space:nowrap}.publish-copy-only{color:var(--ink-700);cursor:pointer;align-items:center;gap:8px;margin:10px 0 2px;font-size:13px;display:flex}.publish-shop-chips{flex-wrap:wrap;gap:5px;width:100%;display:flex}.shop-chip{background:var(--accent-soft);color:var(--accent);border-radius:999px;align-items:center;gap:4px;padding:2px 4px 2px 9px;font-size:11px;display:inline-flex}.shop-chip button{color:inherit;cursor:pointer;background:0 0;border:0;padding:0 3px;font-size:13px;line-height:1}.backup-list{margin:4px 0 10px;font-size:12px}.backup-list summary{cursor:pointer;color:var(--ink-500)}.backup-list ul{flex-direction:column;gap:3px;margin:6px 0 0;padding-left:18px;display:flex}.backup-list li{align-items:center;gap:10px;display:flex}.backup-list li span{color:var(--ink-400);font-variant-numeric:tabular-nums}.backup-list li small{color:var(--ink-400)}.board-create-modal{width:min(520px,94vw)}.board-create-image{align-items:center;gap:10px;display:inline-flex}.board-create-image img{object-fit:cover;border:1px solid var(--line);border-radius:6px;width:48px;height:48px}.board-node-fallback{align-items:center;gap:4px;display:inline-flex}.board-node-fallback small{color:var(--ink-400);font-size:10px}.board-publish{color:var(--ink-400);margin-top:3px;font-size:10px;display:block}.board-publish-succeeded{color:#067647}.board-publish-failed{color:var(--danger)}.board-publish-queued,.board-publish-submitted,.board-publish-running{color:var(--accent)}.md-product-meta{border:1px solid var(--line-soft);background:var(--surface-muted);border-radius:8px;align-items:center;gap:12px;padding:8px 10px;display:flex}.md-product-thumb{object-fit:cover;border:1px solid var(--line);border-radius:6px;width:44px;height:44px}.md-product-meta .md-hint{margin:0 0 2px}.md-source-badge{background:var(--accent-soft);color:var(--accent);border-radius:999px;margin-left:4px;padding:0 5px;font-size:10px;font-weight:600;display:inline-flex}.board-publish-link{text-align:left;cursor:pointer;font:inherit;background:0 0;border:0;padding:3px 0 0}.board-publish-link:hover{text-decoration:underline}.md-product-row-thumb{object-fit:cover;border:1px solid var(--line);border-radius:4px;flex:none;width:20px;height:20px}.board-publish-link{margin-top:3px;padding:0}.md-shop-credential{white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px}.md-shop-credential small{color:var(--ink-400);font-size:10px;display:block}.md-shop-account-select{border:1px solid var(--line-200,#d6dbe1);background:#fff;border-radius:6px;min-width:180px;padding:4px 6px;font-size:12px}.md-credential-remark{color:#b45309}.md-category-code{color:var(--ink-500);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px}.publish-agent-status{border-radius:6px;flex-direction:column;gap:2px;margin:8px 0;padding:8px 12px;display:flex}.publish-agent-status.is-online{color:#2f7a1f;background:#f0f9eb}.publish-agent-status.is-offline{color:#b3411d;background:#fff4f0}.agent-settings{max-width:900px;padding:16px}.agent-settings h2{margin:0 0 6px;font-size:16px}.agent-online{border-radius:6px;margin:10px 0;padding:8px 12px;font-size:12px}.agent-online.is-online{color:#2f7a1f;background:#f0f9eb}.agent-online.is-offline{color:#b3411d;background:#fff4f0}.agent-token-create{align-items:flex-end;gap:10px;margin:12px 0;display:flex}.agent-token-create label{color:var(--ink-500);flex-direction:column;gap:4px;font-size:12px;display:flex}.agent-token-create input{border:1px solid var(--line-200,#d6dbe1);font:inherit;border-radius:6px;padding:6px 8px}.agent-token-once{background:#fff9f6;border:1px dashed #b3411d;border-radius:6px;margin:12px 0;padding:10px 12px}.agent-token-once p{color:#b3411d;margin:0 0 6px;font-size:12px}.agent-token-once code{word-break:break-all;background:#f5f5f5;padding:8px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;display:block}.publish-log{white-space:pre-wrap;word-break:break-word;color:#e2e8f0;background:#0f172a;border-radius:8px;max-height:60vh;margin:0;padding:12px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:1.55;overflow:auto}.agent-install{background:#fcfcfd;border:1px solid #e5e7eb;border-radius:8px;margin:14px 0;padding:12px 14px}.agent-install h3{margin:0 0 8px;font-size:15px}.agent-install-steps{color:#374151;margin:0 0 10px 18px;padding:0;font-size:13px;line-height:1.9}.agent-install-steps a.primary-button{margin:2px 4px 2px 0;display:inline-block}
