*{box-sizing:border-box}body{color:#14233f;background:#f5f7fb;margin:0;font-family:Tahoma,Arial,sans-serif;font-size:14px}button,input,select{font:inherit}button{cursor:pointer;color:#344563;background:#fff;border:1px solid #dce3ed;border-radius:9px;justify-content:center;align-items:center;gap:7px;min-height:42px;padding:9px 13px;transition:background .15s;display:inline-flex}button:hover{background:#eef4ff}button:disabled{opacity:.5;cursor:wait}input,select{color:#14233f;background:#fff;border:1px solid #dce3ed;border-radius:9px;width:100%;min-height:46px;padding:10px 12px}:is(input:focus,select:focus,button:focus-visible){outline-offset:1px;outline:3px solid #b9d6ff}main{max-width:1500px;margin:0 auto;padding:30px 32px 15px}header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.identity{align-items:center;gap:13px;display:flex}.logo{color:#1766e8;background:#e5eeff;border-radius:14px;padding:12px;display:flex}h1{letter-spacing:-.6px;margin:0 0 8px;font-size:25px}p{color:#8792a5;margin:0;line-height:1.8}h2,h3{margin:0;font-size:15px}.primary{color:#fff;background:#1768ef;border-color:#1768ef;font-weight:700}.primary:hover{background:#0959d7}.subbar{color:#7f8a9c;justify-content:space-between;align-items:center;margin-bottom:18px;font-size:12px;display:flex}.subbar>span{align-items:center;gap:7px;display:flex}.subbar>div{gap:5px;display:flex}.textbtn{color:#64738d;background:0 0;border:0;padding:5px 8px;font-size:12px}.online,.offline{background:#34b485;border-radius:50%;width:7px;height:7px;display:inline-block}.offline{background:#df4855}.layout{grid-template-columns:minmax(0,1fr) 255px;gap:20px;display:grid}.content,aside{background:#fff;border:1px solid #e0e6ef;border-radius:15px;overflow:hidden}.toolbar{border-bottom:1px solid #e8edf4;padding:20px}.searchrow{gap:10px;display:flex}.search{color:#8895a8;background:#fafbfe;border:1px solid #dce3ed;border-radius:10px;flex:1;align-items:center;gap:8px;min-width:0;padding:0 12px;display:flex}.search input{background:0 0;border:0;min-width:0;padding:12px 0;outline:none!important}.search button{background:0 0;border:0;min-height:28px;padding:3px}.categorybtn{min-width:140px}.actions{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.actions button{min-height:38px;font-size:12px}.active,.selected{color:#1764dc!important;background:#eaf2ff!important;border-color:#b8d2ff!important}.actions b{color:#fff;background:#1768ef;border-radius:6px;padding:2px 6px;font-size:10px}.clear{color:#8591a5}.filterpanel{grid-template-columns:repeat(3,1fr);gap:12px;padding-top:20px;display:grid}.check{align-items:center;gap:8px;font-size:13px;flex-direction:row!important;display:flex!important}.check input{accent-color:#1768ef;width:18px;height:18px;min-height:18px}.filterpanel .check{grid-column:1/-1}.listheading{justify-content:space-between;align-items:center;gap:10px;padding:23px 20px;display:flex}.listheading h2{margin-bottom:8px}.listheading span{color:#8b96a9;font-size:12px}.listheading .primary{font-size:12px}.tablewrap{width:100%;overflow-x:auto}table{border-collapse:collapse;text-align:right;white-space:nowrap;width:100%;font-size:12px}thead{color:#7a8699;background:#f7f9fc}th{padding:15px 12px;font-size:11px;font-weight:400}td{border-top:1px solid #edf0f5;padding:19px 12px}td:first-child{white-space:normal;min-width:200px;max-width:300px}td strong{align-items:center;gap:6px;font-size:13px;line-height:1.8;display:flex}small{color:#8994a7;margin-top:6px;font-size:11px;line-height:1.7;display:block}.price{white-space:nowrap;font-size:14px;font-weight:700}.badge{white-space:nowrap;border-radius:7px;padding:6px 9px;font-size:11px;display:inline-flex}.green{color:#24845b;background:#e1f6eb}.red{color:#cb3542;background:#ffe0e3}.gold{color:#e9a71b;flex-shrink:0}.filled{fill:#f3b62e}.unavailable{background:#fff1f3!important}.warehouse{font-size:11px}.edit{color:#33496b;border-color:#dbe3ef;min-width:40px;min-height:40px;padding:8px}.cards{display:none}.empty{text-align:center;padding:60px 20px}.empty h3{margin:20px 0 12px}.empty p{margin-bottom:22px;font-size:13px}.emptyicon{color:#8da9d7;background:#edf3fd;border-radius:24px;padding:20px;display:inline-flex}.empty .primary{font-size:13px}footer{color:#9aa4b4;text-align:center;border-top:1px solid #edf1f6;padding:20px;font-size:11px}aside{flex-direction:column;height:calc(100vh - 180px);padding:19px;display:flex;position:sticky;top:20px}.sidetitle{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.sidetitle span{color:#8d9aad;font-size:11px}.smallsearch{flex:none;padding:0 8px;font-size:11px}.allcat{justify-content:flex-start;width:100%;margin:12px 0;font-size:12px}.brandlist{flex:1;overflow:auto}details{border-top:1px solid #eef1f6;padding:6px 0}summary{cursor:pointer;align-items:center;gap:8px;list-style:none;display:flex}summary>button{text-align:right;background:0 0;border:0;flex:1;justify-content:flex-start;padding-right:0;font-size:12px;font-weight:700}summary::-webkit-details-marker{display:none}.model{text-align:right;border:0;justify-content:space-between;gap:12px;width:100%;padding:8px 12px;font-size:12px;display:flex}.model small{white-space:nowrap;margin:0}.error{color:#b5313b;background:#fff0f0;border:1px solid #ffd2d2;border-radius:9px;margin:0 0 15px;padding:12px 16px;font-size:13px;line-height:1.8}.toast{z-index:100;color:#217b51;white-space:nowrap;background:#e4f7ed;border:1px solid #a7ddc1;border-radius:12px;gap:10px;padding:14px 20px;display:flex;position:fixed;top:18px;left:50%;transform:translate(-50%);box-shadow:0 6px 30px #253b5b22}.overlay{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:50;background:#10213d66;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.dialog{background:#fff;border-radius:19px;width:560px;max-width:100%;max-height:92dvh;padding:25px;overflow:auto;box-shadow:0 22px 80px #10213d44}.dialoghead{justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:24px;display:flex}.dialoghead h2{margin-bottom:8px;font-size:19px}.dialoghead p{font-size:12px}.dialoghead button{background:#f5f7fb;border:0;min-height:36px;padding:7px}label{flex-direction:column;gap:9px;margin-bottom:17px;font-size:12px;font-weight:700;display:flex}.formgrid{grid-template-columns:1fr 1fr;gap:0 15px;display:grid}.toggles{flex-wrap:wrap;gap:15px;padding:10px 0;display:flex}.toggles label{font-weight:400}.formactions{gap:10px;margin-top:22px;display:flex}.formactions .primary{flex:1}.hint{font-size:11px}.categorydialog{width:500px}.categorychoices{margin-top:15px}.categorychoices button{text-align:right;border:0;justify-content:space-between;width:100%;margin:3px 0;font-size:13px;display:flex}.categorychoices small{margin:0}.brandchoice{font-weight:700;background:#f2f6fc!important}.mobileadd{display:none}@media (min-width:1500px){td{padding:22px 16px}}@media (max-width:1050px){.layout{grid-template-columns:minmax(0,1fr) 210px}main{padding:22px 18px}.toolbar{padding:15px}td{padding:15px 8px}aside{padding:14px}table{font-size:11px}.price{font-size:12px}}@media (max-width:760px){main{padding:20px 12px 95px}header{flex-wrap:wrap;align-items:flex-start;gap:14px;margin-bottom:10px}.identity{gap:10px}h1{font-size:22px}.identity p{font-size:11px}.logo{padding:10px}header>.primary{width:100%;min-height:46px;margin-top:4px}.subbar{margin-bottom:12px;font-size:10px}.subbar .textbtn{gap:4px;padding:5px;font-size:10px}.subbar .textbtn svg{width:13px}.layout{display:block}aside{display:none}.content{border-radius:13px}.toolbar{padding:14px 12px}.categorybtn{min-width:105px;padding:9px;font-size:11px}.categorybtn>svg:first-child{display:none}.searchrow{gap:8px}.search{padding:0 9px}.search input{font-size:12px}.actions{flex-wrap:nowrap;grid-template-columns:1.3fr 1.1fr .8fr .9fr;gap:6px;display:grid}.actions button{white-space:nowrap;gap:4px;min-height:39px;padding:7px 4px;font-size:10px}.actions button svg{width:13px}.actions b{padding:1px 4px}.listheading{padding:18px 13px}.listheading h2{font-size:12px;line-height:1.8}.listheading .primary{display:none}.listheading span{font-size:10px}.tablewrap{display:none}.cards{flex-direction:column;gap:11px;padding:0 12px 18px;display:flex}.cards article{border:1px solid #e2e8f0;border-radius:11px;padding:15px 13px}.cardtop{justify-content:space-between;align-items:flex-start;gap:9px;display:flex}.cardtop h3{align-items:center;gap:6px;font-size:13px;line-height:1.8;display:flex}.cardtop small{margin-top:5px;font-size:10px}.meta{color:#7d8b9f;gap:0;margin-top:13px;font-size:11px;display:flex}.meta span+span:before{content:"|";color:#c9d1df;padding:0 9px}.cardbottom{justify-content:space-between;align-items:center;margin-top:16px;display:flex}.cardbottom .price{font-size:15px}.price small{font-size:10px;font-weight:400;display:inline}.badge{padding:6px 10px;font-size:11px}.mobileadd{z-index:20;min-height:49px;display:flex;position:fixed;bottom:16px;left:16px;right:16px;box-shadow:0 8px 24px #1768ef33}.filterpanel{grid-template-columns:1fr 1fr;gap:8px}.filterpanel label{margin-bottom:5px;font-size:11px}.filterpanel select{min-height:40px;font-size:11px}.empty{padding:45px 17px}.empty p{font-size:12px}.overlay{align-items:flex-end;padding:10px}.dialog{border-radius:18px;width:100%;max-height:93dvh;padding:20px 17px}.dialoghead h2{font-size:18px}.dialoghead{margin-bottom:18px}.dialog input,.dialog select{font-size:13px}.formgrid{gap:0 12px}footer{font-size:10px}.toast{max-width:calc(100% - 24px);padding:12px 14px;font-size:12px}.categorychoices button{min-height:45px}}.stats{grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px;display:grid}.stat{border-radius:13px;justify-content:flex-start;gap:14px;min-height:80px;padding:15px 18px}.stat b{color:#213653;font-size:22px}.stat small{margin-top:5px;font-size:11px;font-weight:400}.stat-icon{color:#3475e3;background:#edf3ff;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:43px;height:43px;display:flex}.goldbg{color:#dc9b12;background:#fff6db}.amber{color:#c88a38;background:#fff1e1}.stat:hover{border-color:#c8d8f1;box-shadow:0 5px 20px #12325e09}.offline-note{color:#997039;background:#fff6e6;border-radius:9px;align-items:center;gap:8px;margin-bottom:16px;padding:12px 15px;font-size:12px;display:flex}.chips{flex-wrap:wrap;gap:7px;margin-top:14px;display:flex}.chips button{color:#466996;background:#edf3ff;border:0;border-radius:6px;min-height:28px;padding:5px 8px;font-size:10px}.listtools{align-items:center;gap:10px;display:flex}.listtools select{color:#6c7a92;width:150px;min-height:37px;padding:7px 8px;font-size:11px}.pagination{color:#8794a8;border-top:1px solid #e8edf4;justify-content:space-between;align-items:center;gap:12px;padding:18px 20px;font-size:11px;display:flex}.pagination>div{align-items:center;gap:12px;display:flex}.pagination b{color:#405a7b;font-weight:400}.pagination button{min-width:38px;min-height:38px;padding:7px}.pagination select{width:120px;min-height:36px;padding:6px 7px;font-size:11px}.rowtools{gap:5px;display:flex}.rowtools .edit{min-width:34px;min-height:36px;padding:7px}.starbutton{background:0 0;border:0;min-width:24px;min-height:30px;padding:2px}.muted{color:#c4ccda}.quickprice{color:#1c365a;background:0 0;border:0;justify-content:flex-start;gap:6px;min-height:34px;padding:6px 0}.quickprice:hover{color:#1768ef;background:0 0}.quickprice.notset{color:#a2adbf;font-size:11px;font-weight:400}.badge{border:0;min-height:31px;padding:6px 9px}.cardextra{color:#a0aabc;border-top:1px solid #edf0f5;justify-content:space-between;align-items:center;margin-top:12px;padding-top:7px;font-size:9px;display:flex}.cardextra .textbtn{min-height:32px;font-size:10px}.categoryrow{align-items:center;min-width:0;display:flex}.categoryrow .model{flex:1;min-width:0}.categoryrow .catedit{color:#a3aec0;background:0 0;border:0;flex:0 0 26px;min-width:26px;min-height:32px;padding:3px}.categoryrow .catedit:hover{color:#1768ef;background:#edf4ff}.categorychoices .categoryrow>button:first-child{flex:1}.categorychoices .categoryrow>button.catedit{flex-basis:30px;justify-content:center;width:30px}.fullwidth{width:100%;margin-top:14px}.quick-summary{color:#516888;background:#f5f8fd;border:1px solid #e5ebf5;border-radius:10px;margin-bottom:20px;padding:13px 15px;font-size:12px;line-height:1.8}.price-preview{color:#557eb9;min-height:17px;margin:0;font-size:10px;font-weight:400}.notefield{margin-top:16px}textarea{resize:vertical;min-height:75px;max-height:180px;font:inherit;color:#344563;border:1px solid #dce3ed;border-radius:9px;padding:10px 12px;line-height:1.8}textarea:focus{outline-offset:1px;outline:3px solid #b9d6ff}.editoptions{flex-wrap:wrap;gap:7px;margin-bottom:16px;display:flex}.editoptions button{color:#6c7d98;background:#fafbfd;min-height:36px;padding:6px 9px;font-size:11px}.editoptions button:first-child{color:#b56c73}.archiveinfo{color:#7a93b5;background:#f6f8fc;border-radius:12px;align-items:flex-start;gap:16px;padding:20px 16px;display:flex}.archiveinfo p{color:#60718c;font-size:13px}.archiveinfo svg{flex-shrink:0}.historylist{margin:18px 0}.historyentry{border:1px solid #e0e7f0;border-radius:12px;margin:10px 0;padding:15px}.historytitle{justify-content:space-between;gap:12px;margin-bottom:12px;font-size:12px;display:flex}.historytitle small{margin:0;font-size:10px}.historychange{overflow-wrap:anywhere;border-top:1px solid #eff2f6;grid-template-columns:65px 1fr 1fr;align-items:start;gap:8px;padding:9px 0;font-size:11px;line-height:1.8;display:grid}.historychange>span{color:#8d9aaf}.historychange del{color:#c77b81;background:#fff4f5;border-radius:5px;padding:2px 6px;text-decoration:none}.historychange b{color:#338965;background:#eef9f2;border-radius:5px;padding:2px 6px;font-weight:400}.spinning{animation:1.5s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}html{scroll-behavior:smooth;scroll-padding-top:15px}.filterpanel .check{margin-bottom:3px;grid-column:auto!important}.formactions{z-index:1;background:#fff;border-top:1px solid #edf1f6;padding:13px 0 2px;position:sticky;bottom:-25px}.dialoghead{z-index:3;background:#fff;padding-top:8px;padding-bottom:8px;position:sticky;top:-25px}.categorydialog .search{z-index:4;background:#fafbfe;position:sticky;top:57px}@media (max-width:1050px){.stats{gap:10px}.stat{gap:10px;padding:13px}.stat b{font-size:19px}.stat-icon{width:36px;height:36px}.rowtools{flex-direction:column}.listtools select{width:125px}}@media (max-width:760px){.stats{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:13px}.stat{gap:10px;min-height:66px;padding:11px 12px}.stat b{font-size:20px}.stat small{font-size:10px}.stat-icon{border-radius:10px;width:36px;height:36px}.subbar{flex-wrap:wrap;gap:4px}.subbar>div{margin-right:auto}.toolbar{z-index:10;background:#fff;position:sticky;top:0;box-shadow:0 4px 8px #18365d05}.content{overflow:visible}.listtools select{width:119px;min-height:35px;font-size:10px}.listheading{gap:10px}.listheading>div:first-child{min-width:0}.listheading h2{overflow-wrap:anywhere}.pagination{flex-wrap:wrap;gap:12px;padding:15px 12px}.pagination>span{flex:1}.pagination>div{order:3;justify-content:center;width:100%}.pagination select{width:104px;font-size:10px}.pagination button{min-width:44px;min-height:44px}.cardextra{font-size:9px}.cards .quickprice{min-height:40px;font-size:15px}.cards .quickprice.notset{font-size:12px}.cards .badge{min-height:35px;font-size:11px}.cardtop .edit{min-width:43px;min-height:43px}.chips{gap:5px;margin-top:10px}.chips button{white-space:normal;text-align:right;max-width:100%;min-height:27px;font-size:9px}.filterpanel .check{font-size:11px;font-weight:400;grid-column:1/-1!important}.cardtop h3{line-height:1.9}.historytitle{flex-direction:column;gap:5px}.historychange{grid-template-columns:50px 1fr 1fr;gap:5px;font-size:10px}.historyentry{padding:12px}.formactions{margin-top:18px;padding-top:11px;bottom:-20px}.dialoghead{top:-20px}.categorydialog .search{top:45px}.formactions>button{min-height:46px}.editoptions{gap:6px}.editoptions button{white-space:nowrap;flex:1;min-height:40px;font-size:10px}.mobileadd{bottom:max(12px,env(safe-area-inset-bottom));left:12px;right:12px}.stats .stat{border-color:#e0e6ef}.categoryrow .catedit{flex-basis:42px;min-width:42px;min-height:44px}.categorychoices .categoryrow>button.catedit{flex-basis:42px;width:42px}.quick-summary{font-size:11px}.notefield textarea{font-size:12px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
