*{box-sizing:border-box}body{margin:0;background:#f8f7fa;font-family:Inter,Arial;color:#29252b}.login{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#ffeaf3,#fff)}.login form,.panel{background:#fff;border-radius:20px;padding:28px;box-shadow:0 12px 35px #31142314}.login form{width:min(420px,90%);display:grid;gap:13px;text-align:center}.login img{width:80px;margin:auto}.login input,form input,form textarea,form select{width:100%;padding:12px;border:1px solid #ddd;border-radius:10px}.login button,form button{background:#e94e8d;color:#fff;border:0;border-radius:10px;padding:12px;font-weight:700;cursor:pointer}.login small{color:#888}header{height:72px;background:#fff;padding:0 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eee}header div{display:flex;align-items:center;gap:10px}header img{width:44px}header button,.secondary{border:1px solid #ddd;background:#fff!important;color:#333!important;border-radius:9px;padding:9px 13px}main{padding:35px 5%}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:25px}.stats div{background:#fff;border-radius:16px;padding:22px}.stats b{font-size:32px;display:block;color:#e94e8d}.stats span{color:#777}.cols{display:grid;grid-template-columns:380px 1fr;gap:24px}.panel h2{margin-top:0}.panel form{display:grid;gap:10px}.panel label{display:flex;gap:8px;align-items:center}.panel label input{width:auto}.panel hr{border:0;border-top:1px solid #eee;margin:30px 0}.product{display:grid;grid-template-columns:70px 1fr auto auto;align-items:center;gap:12px;border-bottom:1px solid #eee;padding:12px 0}.product img{width:70px;height:70px;object-fit:cover;border-radius:10px}.product span,.product small{display:block;color:#777;margin-top:4px}.product button{border:0;border-radius:8px;padding:8px 10px;cursor:pointer}.danger{background:#fff0f0;color:#c33}@media (max-width:850px){.cols,.stats{grid-template-columns:1fr}.product{grid-template-columns:60px 1fr}.product button{grid-column:auto}}.msg{background:#eef7ee;border:1px solid #9c9;padding:10px 14px;border-radius:8px;margin:0 0 16px;cursor:pointer}.picker{display:flex;flex-direction:column;gap:8px}.picker img{max-width:100%;max-height:200px;object-fit:contain;border-radius:8px;border:1px solid #ddd}.picker .file{display:block;text-align:center;padding:12px;border:2px dashed #bbb;border-radius:8px;cursor:pointer}.picker .file input{display:none}header img{width:52px;height:52px;object-fit:cover;border-radius:12px}.login img{width:140px;height:140px;object-fit:cover;border-radius:24px}.search{width:100%;padding:12px;border:1px solid #ddd;border-radius:10px;margin-bottom:8px}.pid{font-style:normal;font-size:12px;font-weight:700;color:#e94e8d;background:#fff0f6;border-radius:6px;padding:2px 7px;margin-left:6px}.none{color:#777}.photos,.list-input{display:grid;gap:8px;padding:12px;border:1px solid #eee;border-radius:12px}.photos small{color:#888;font-weight:400}.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:8px}.photo{position:relative;border-radius:10px;overflow:hidden;background:#f6f1f3;display:grid;border:1px solid #eee}.photo.main{outline:2px solid #e94e8d}.photo img{width:100%;aspect-ratio:1;object-fit:cover;display:block}.photo em{position:absolute;left:4px;top:4px;background:#e94e8d;color:#fff;font-size:11px;font-style:normal;font-weight:700;padding:2px 6px;border-radius:6px}.photo-actions{display:flex;justify-content:space-between;background:#555}form .photo-actions button{background:none;color:#fff;padding:2px 9px;border-radius:0;font-size:16px}form .photo-actions button:disabled{opacity:.3;cursor:default}.list-add{display:flex;gap:8px}.photos .file{display:block;text-align:center;padding:12px;border:2px dashed #bbb;border-radius:8px;cursor:pointer}.photos .file input{display:none}form .photo-del{border-radius:0;padding:7px;font-size:13px}.opt-rows{list-style:none;margin:0;padding:0;display:grid;gap:6px}.opt-rows li{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#fff7fa;border:1px solid #f3dce6;border-radius:9px;padding:6px 6px 6px 12px}form .opt-rows button{padding:7px 12px;font-size:13px}.opt-none{color:#999}.open-form{width:100%;background:#e94e8d;color:#fff;border:0;border-radius:12px;padding:16px;font-size:16px;font-weight:700;cursor:pointer;margin-bottom:6px}form button:disabled{opacity:.6;cursor:wait}.dim-price{display:flex;align-items:center;gap:4px;margin-left:auto}.dim-price span{color:#777}form .dim-price input{width:96px;padding:7px 8px}.list-add .price-in{width:110px;flex:none}.sub-rows{list-style:none;margin:0;padding:0;display:grid;gap:8px}.sub-rows li,.sub-new{display:grid;grid-template-columns:64px 1fr;gap:10px;align-items:start;background:#fff7fa;border:1px solid #f3dce6;border-radius:10px;padding:8px}.sub-new{background:#fff;border-style:dashed}.sub-thumb{width:64px;height:64px;border-radius:8px;overflow:hidden;background:#f6f1f3;display:grid;place-items:center;border:1px solid #eee}.sub-thumb img{width:100%;height:100%;object-fit:cover}.sub-thumb span{font-size:11px;color:#999;text-align:center}.sub-main{display:grid;gap:6px;min-width:0}form .sub-main input{padding:8px 10px}.sub-actions{display:flex;flex-wrap:wrap;gap:6px}form .sub-actions button,.sub-actions .mini{padding:6px 10px;font-size:12px;border-radius:8px}form .sub-actions button:disabled{opacity:.35;cursor:default}.panel .sub-actions .mini{display:inline-block;border:1px dashed #bbb;cursor:pointer;background:#fff;font-weight:700}.sub-actions .mini input{display:none}.sub-chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}.sub-chips span{display:inline-flex!important;align-items:center;gap:5px;margin:0!important;background:#fff0f6;color:#555;border-radius:99px;padding:3px 9px 3px 3px;font-size:12px}.sub-chips span:not(:has(img)){padding-left:9px}.product .sub-chips img{width:20px;height:20px;border-radius:50%}.nocat{font-style:normal;color:#c33;font-weight:700}.product.cat-row{grid-template-columns:70px 1fr auto auto auto auto}.product.cat-row button:disabled{opacity:.35;cursor:default}@media (max-width:850px){.product.cat-row{grid-template-columns:60px 1fr auto auto}}
