*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--bg: #15170d;--bg2: #000000a1;--bg3: #444444;--border: #30363D;--text: #fffcfc;--muted: #dbd1d1;--blue: #1A73E8;--blue-dim: #f3f3f320;--green: #1DB954;--red: #F85149;--orange: #D29922;--radius: 8px;--font: "DM Sans", sans-serif;--mono: "DM Mono", monospace}body{font-family:var(--font);background:var(--bg);color:var(--text);font-size:14px;line-height:1.5;overflow:hidden;height:100vh}#root{height:100vh;display:flex;flex-direction:column}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}*:focus-visible{outline:2px solid var(--blue);outline-offset:2px}input,select,textarea{font-family:var(--font);font-size:14px;background:#fff;color:#111;border:1px solid var(--border);border-radius:var(--radius);padding:8px 12px;width:100%;transition:border-color .15s}input:focus,select:focus,textarea:focus{border-color:var(--blue);outline:none}input::placeholder{color:#8a8585}label{font-size:12px;color:var(--muted);display:block;margin-bottom:4px}button{font-family:var(--font);font-size:13px;font-weight:500;cursor:pointer;border:none;border-radius:var(--radius);padding:8px 16px;display:inline-flex;align-items:center;gap:6px;transition:opacity .15s,transform .1s;white-space:nowrap}button:hover{opacity:.85}button:active{transform:scale(.98)}button:disabled{opacity:.4;cursor:not-allowed}.btn-primary{background:var(--blue);color:#fff}.btn-success{background:var(--green);color:#fff}.btn-danger{background:var(--red);color:#fff}.btn-ghost{background:transparent;color:var(--muted);border:1px solid var(--border)}.btn-icon{background:transparent;color:var(--muted);padding:6px;border-radius:6px}.btn-icon:hover{background:var(--bg3);color:var(--text)}table{width:100%;border-collapse:collapse;font-size:13px}thead th{text-align:left;padding:10px 12px;color:var(--muted);font-weight:600;font-size:11px;text-transform:uppercase;letter-spacing:.05em;background:var(--bg3);border-bottom:1px solid var(--border)}thead th:first-child{border-radius:8px 0 0}thead th:last-child{border-radius:0 8px 0 0}tbody tr{border-bottom:1px solid var(--border);transition:background .1s}tbody td{padding:10px 12px;vertical-align:middle}tbody tr:last-child{border-bottom:none}.card{background:var(--bg2);border:1px solid var(--border);border-radius:10px;padding:16px}.badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:4px;font-size:11px;font-weight:600;border:1px solid transparent}.tabs{display:flex;gap:2px;border-bottom:1px solid var(--border);margin-bottom:16px}.tab-btn{background:transparent;color:var(--muted);border:none;padding:10px 16px;font-size:13px;font-weight:500;border-bottom:2px solid transparent;border-radius:0;margin-bottom:-1px}.tab-btn.active{color:var(--text);border-bottom-color:var(--blue)}.tab-btn:hover{color:var(--text);opacity:1}.modal-overlay{position:fixed;inset:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:100;padding:20px;animation:fadeIn .15s ease}.modal{background:var(--bg2);border:1px solid var(--border);border-radius:12px;padding:24px;min-width:360px;max-width:600px;width:100%;animation:slideUp .15s ease}.modal-title{font-size:16px;font-weight:600;margin-bottom:16px}.modal-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:20px}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{transform:translateY(8px);opacity:0}to{transform:translateY(0);opacity:1}}.layout{display:flex;height:100vh;overflow:hidden}.sidebar{width:64px;background:var(--bg2);border-right:1px solid var(--border);display:flex;flex-direction:column;align-items:center;padding:12px 0;gap:4px;flex-shrink:0}.sidebar-logo{width:40px;height:40px;background:var(--blue-dim);border:1px solid #1A73E840;border-radius:10px;display:flex;align-items:center;justify-content:center;margin-bottom:8px;font-size:18px}.nav-item{width:44px;height:44px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-radius:8px;cursor:pointer;transition:background .15s;color:var(--muted);font-size:10px;text-align:center;background:transparent;border:none;padding:0}.nav-item:hover{background:var(--bg3);color:var(--text);opacity:1}.nav-item.active{background:var(--blue-dim);color:var(--blue)}.nav-item svg{width:20px;height:20px;flex-shrink:0}.main-content{flex:1;overflow-y:auto;padding:24px;display:flex;flex-direction:column;gap:16px}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.row-between{display:flex;align-items:center;justify-content:space-between;gap:12px}.col{display:flex;flex-direction:column;gap:8px}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.text-muted{color:var(--muted)}.text-small{font-size:12px}.text-mono{font-family:var(--mono)}.text-green{color:var(--green)}.text-red{color:var(--red)}.text-orange{color:var(--orange)}.text-blue{color:var(--blue)}.fw-600{font-weight:600}.fw-700{font-weight:700}.divider{border:none;border-top:1px solid var(--border);margin:8px 0}.stat-card{display:flex;flex-direction:column;gap:4px}.stat-label{font-size:12px;color:var(--muted)}.stat-value{font-size:26px;font-weight:700}.table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:8px}.search-results{background:var(--bg2);border:1px solid var(--border);border-radius:8px;max-height:280px;overflow-y:auto;margin-top:4px}.search-result-item{padding:10px 14px;cursor:pointer;display:flex;align-items:center;gap:12px;transition:background .1s;border-bottom:1px solid var(--border)}.search-result-item:last-child{border-bottom:none}.search-result-item:hover{background:var(--bg3)}.scroll-area{overflow-y:auto;flex:1}.cart-items{overflow-y:auto;max-height:240px}.spinner{width:32px;height:32px;border:3px solid var(--border);border-top-color:var(--blue);border-radius:50%;animation:spin .7s linear infinite;margin:40px auto}@keyframes spin{to{transform:rotate(360deg)}}.toast-container{position:fixed;bottom:20px;right:20px;z-index:999;display:flex;flex-direction:column;gap:8px}.toast{padding:12px 18px;border-radius:8px;font-size:13px;font-weight:500;color:#fff;animation:slideUp .2s ease;box-shadow:0 4px 20px #0000004d;max-width:320px}.toast.success{background:var(--green)}.toast.error{background:var(--red)}
