:root{--primary:#2D4D9F;--dark:#1E2A57;--bg:#F5F7FB;--success:#22C55E;--danger:#EF4444;--warn:#F59E0B;--text:#172033;--muted:#7b8190}
*{box-sizing:border-box} body{margin:0;font-family:Inter,system-ui,Arial;background:var(--bg);color:var(--text)} a{text-decoration:none;color:inherit}.app{display:grid;grid-template-columns:250px 1fr;min-height:100vh}.side{background:#fff;border-right:1px solid #e9edf5;padding:20px;position:sticky;top:0;height:100vh}.brand{font-weight:900;font-size:20px;color:var(--primary);margin-bottom:22px}.nav a{display:flex;gap:10px;padding:13px 14px;border-radius:16px;margin:6px 0;color:#3d4558;font-weight:700}.nav a:hover,.nav a.active{background:#eef3ff;color:var(--primary)}.main{padding:18px}.topbar{display:flex;align-items:center;justify-content:space-between;background:#fff;padding:14px 18px;border-radius:22px;box-shadow:0 8px 24px #1e2a5710;margin-bottom:16px}.btn{border:0;border-radius:15px;padding:12px 16px;font-weight:800;cursor:pointer;background:#eef3ff;color:var(--primary)}.btn.primary{background:var(--primary);color:white}.btn.success{background:var(--success);color:white}.btn.danger{background:var(--danger);color:white}.btn.dark{background:var(--dark);color:white}.card{background:#fff;border-radius:24px;padding:18px;box-shadow:0 8px 24px #1e2a5710}.grid{display:grid;gap:16px}.pos-layout{display:grid;grid-template-columns:190px 1fr 360px;gap:16px;height:calc(100vh - 105px)}.cat{padding:13px;border-radius:16px;margin-bottom:8px;background:#fff;font-weight:800;cursor:pointer;border:1px solid #edf1f7}.cat.active{background:var(--primary);color:white}.search{width:100%;padding:15px;border:1px solid #e1e8f2;border-radius:16px;font-size:16px}.products{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px;overflow:auto;padding:2px}.product{background:#fff;border:1px solid #edf1f7;border-radius:22px;padding:14px;cursor:pointer;transition:.15s}.product:hover{transform:translateY(-2px);box-shadow:0 10px 26px #1e2a5715}.thumb{height:105px;border-radius:18px;background:linear-gradient(135deg,#eef3ff,#f8fafc);display:grid;place-items:center;font-size:38px;margin-bottom:10px}.price{color:var(--primary);font-weight:900}.badge{display:inline-block;background:#ecfdf5;color:#15803d;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:800}.cart{display:flex;flex-direction:column;overflow:hidden}.cart-items{overflow:auto;flex:1}.cart-item{border:1px solid #edf1f7;border-radius:18px;padding:12px;margin-bottom:10px}.row{display:flex;align-items:center;justify-content:space-between;gap:10px}.muted{color:var(--muted)}.total-box{border-top:1px dashed #d8dfec;padding-top:14px;margin-top:10px}.modal{position:fixed;inset:0;background:#0007;display:none;align-items:center;justify-content:center;padding:20px;z-index:99}.modal.show{display:flex}.modal-box{background:#fff;border-radius:26px;padding:20px;max-width:460px;width:100%;box-shadow:0 25px 80px #0003}.form input,.form select,.form textarea{width:100%;padding:13px;border:1px solid #dfe7f2;border-radius:14px;margin:6px 0 12px}.table{width:100%;border-collapse:collapse}.table th,.table td{padding:12px;border-bottom:1px solid #edf1f7;text-align:left}.status{border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900}.status.Design{background:#fef9c3}.status.ACC{background:#ffedd5}.status.Cetak{background:#dbeafe}.status.Press{background:#f3e8ff}.status.Jahit{background:#ede9fe}.status.Packing{background:#dcfce7}.status.Selesai{background:#bbf7d0}.login{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(135deg,#eef3ff,#f7fafc)}.login .card{width:100%;max-width:420px}@media(max-width:980px){.app{grid-template-columns:1fr}.side{display:none}.pos-layout{grid-template-columns:1fr;height:auto}.cart{min-height:420px}.main{padding:10px}}
.sync-badge{white-space:nowrap;border-radius:999px;padding:9px 12px;font-weight:900;font-size:12px;background:#eef3ff;color:var(--primary);border:1px solid #dbe7ff}.sync-badge.offline{background:#fff7ed;color:#c2410c;border-color:#fed7aa}.sync-badge.online{background:#ecfdf5;color:#15803d;border-color:#bbf7d0}.tools{background:#fff;border:1px solid #edf1f7;border-radius:18px;padding:10px;flex-wrap:wrap}.checkline{font-weight:800;color:#3d4558;display:flex;align-items:center;gap:7px}.checkline input{width:18px;height:18px}
@media print{.side,.topbar,.btn,.modal{display:none!important}.main{padding:0}.card{box-shadow:none}}
