:root {
  --sidebar-w: 250px;
  --brand: #0f766e;
  --brand-dark: #115e59;
}
body { background: #f4f6f9; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.sidebar {
  width: var(--sidebar-w); position: fixed; inset: 0 auto 0 0; z-index: 1030;
  background: linear-gradient(180deg, #0f2e2b 0%, #0b1f1d 100%); color: #cfe9e5;
  overflow-y: auto; transition: transform .2s ease;
}
.sidebar .brand { padding: 1rem 1.1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.sidebar .brand .logo { width: 38px; height: 38px; border-radius: 10px; background: #14b8a6; color: #062a27; display:grid; place-items:center; font-weight: 800; }
.sidebar .nav-link { color: #bfe3df; padding: .55rem 1.1rem; border-radius: 0; font-size: .93rem; display:flex; align-items:center; gap:.6rem; }
.sidebar .nav-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.sidebar .nav-link.active { background: rgba(20,184,166,.18); color: #fff; border-left: 3px solid #14b8a6; padding-left: calc(1.1rem - 3px); }
.sidebar .nav-section { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: #6ea8a2; padding: 1rem 1.1rem .35rem; }
.sidebar .nav-link i { font-size: 1rem; width: 20px; }
.content { margin-left: var(--sidebar-w); min-height: 100vh; }
.topbar { background: #fff; border-bottom: 1px solid #e6eaef; padding: .6rem 1.25rem; position: sticky; top: 0; z-index: 1020; }
.page-wrap { padding: 1.25rem; }
.card { border: 1px solid #e6eaef; border-radius: .75rem; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.card-header { background: #fff; border-bottom: 1px solid #eef1f5; font-weight: 600; }
.stat-card .icon { width: 44px; height: 44px; border-radius: .7rem; display: grid; place-items: center; font-size: 1.25rem; }
.stat-value { font-size: 1.35rem; font-weight: 700; }
.table > :not(caption) > * > * { padding: .55rem .65rem; }
.table thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; color: #64748b; background: #f8fafc; }
.badge-soft { background: #eef6f5; color: #0f766e; }
.login-wrap { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(1200px 600px at 10% 10%, #134e4a 0%, #062a27 55%, #041917 100%); padding: 1rem; }
.login-card { width: 100%; max-width: 420px; border: none; border-radius: 1rem; overflow: hidden; }
.mobile-toggle { display: none; }
@media (max-width: 991.98px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); box-shadow: 0 0 40px rgba(0,0,0,.4); }
  .content { margin-left: 0; }
  .mobile-toggle { display: inline-flex; }
}
@media print {
  .sidebar, .topbar, .no-print, .sidebar-backdrop { display: none !important; }
  .content { margin-left: 0 !important; }
  .page-wrap { padding: 0 !important; }
  body { background: #fff; }
  .card { border: 0 !important; box-shadow: none !important; }
  a[href]:after { content: ""; }
}
.struk { width: 78mm; margin: 0 auto; font-family: "Courier New", monospace; font-size: 12px; color: #000; }
.struk h5 { font-size: 14px; font-weight: 700; }
.struk .line { border-top: 1px dashed #000; margin: 6px 0; }
.kwitansi { max-width: 210mm; margin: 0 auto; }
@media print { .struk { width: 78mm; } }
.table-sticky thead th { position: sticky; top: 0; z-index: 1; }
