/* =====================================================================
   MSN ENTERPRISES — SUITE WRAPPER STYLES
   Fresh theme: warm gradient navy + amber accents, modern glass UI
   This applies ONLY to the suite wrapper pages (login, launcher, todo,
   notice, parties, users). The six original apps keep their own styles.
   ===================================================================== */

:root {
  /* Brand */
  --bg:           #f6f7fb;
  --bg-elev:      #ffffff;
  --bg-elev-2:   #fafbfd;
  --bg-muted:    #eef0f6;
  --bg-overlay:  rgba(15, 23, 42, 0.5);

  --text:        #0f172a;
  --text-soft:   #475569;
  --text-mute:   #94a3b8;

  --border:        #e2e8f0;
  --border-soft:   #eef0f6;
  --border-strong: #cbd5e1;

  /* Accent - warm amber against deep navy */
  --primary:        #f59e0b;
  --primary-hover:  #d97706;
  --primary-soft:   #fef3c7;
  --primary-fg:     #1c1917;

  --navy:           #0f172a;
  --navy-2:         #1e293b;
  --navy-3:         #334155;

  --success:        #10b981;
  --success-bg:     #d1fae5;
  --danger:         #ef4444;
  --danger-bg:      #fee2e2;
  --warning:        #f59e0b;
  --warning-bg:     #fef3c7;
  --info:           #0ea5e9;
  --info-bg:        #e0f2fe;

  /* Surfaces */
  --shadow-1:  0 1px 3px rgba(15,23,42,0.08), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-2:  0 4px 12px rgba(15,23,42,0.08), 0 2px 4px rgba(15,23,42,0.04);
  --shadow-3:  0 12px 32px rgba(15,23,42,0.12), 0 4px 8px rgba(15,23,42,0.06);

  --radius:    10px;
  --radius-sm: 6px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 120ms ease-out;

  /* Per-module accents (for launcher cards & module headers) */
  --c-cheque:    #ef4444;
  --c-follow:    #6366f1;
  --c-label:     #06b6d4;
  --c-orders:    #f59e0b;
  --c-svs:       #14b8a6;
  --c-warehouse: #8b5cf6;
  --c-attend:    #e11d48;
  --c-todo:      #10b981;
  --c-notice:    #ec4899;
  --c-parties:   #6366f1;
}

[data-theme="dark"] {
  --bg:           #0b1120;
  --bg-elev:      #11172a;
  --bg-elev-2:    #1a2238;
  --bg-muted:     #19213a;

  --text:         #e2e8f0;
  --text-soft:    #cbd5e1;
  --text-mute:    #94a3b8;

  --border:        #1f2937;
  --border-soft:   #1a2238;
  --border-strong: #334155;

  --primary-soft:  #422006;
  --shadow-1:  0 1px 3px rgba(0,0,0,0.4);
  --shadow-2:  0 4px 12px rgba(0,0,0,0.5);
  --shadow-3:  0 16px 32px rgba(0,0,0,0.6);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; height: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--primary-hover); text-decoration: none; }
a:hover { color: var(--primary); }

h1, h2, h3, h4 { margin: 0 0 8px 0; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: 24px; }
h2 { font-size: 20px; }
h3 { font-size: 17px; }
h4 { font-size: 15px; }

code {
  font-family: 'JetBrains Mono', 'Menlo', monospace;
  font-size: 0.92em;
  background: var(--bg-muted);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--text);
}

small { color: var(--text-mute); }

.text-mute { color: var(--text-mute); }
.text-soft { color: var(--text-soft); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 6px; }
.mb-2 { margin-bottom: 14px; }
.mb-3 { margin-bottom: 24px; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 6px; }
.mt-2 { margin-top: 14px; }
.mt-3 { margin-top: 24px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-100 { width: 100%; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 6px; }
.gap-2 { gap: 14px; }
.gap-3 { gap: 24px; }

.grid { display: grid; gap: 16px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
}

/* =================== LAYOUT =================== */

.shell {
  display: grid;
  grid-template-columns: 256px 1fr;
  min-height: 100vh;
}
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
}

.sidebar {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #e2e8f0;
  padding: 22px 18px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
@media (max-width: 900px) {
  .sidebar { position: static; height: auto; }
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px 18px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 16px;
}
.brand-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary-fg);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(245,158,11,0.35), 0 0 0 2px rgba(255,255,255,0.08);
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.brand-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brand:hover .brand-badge { transform: scale(1.04); }
.brand-text { line-height: 1.15; }
.brand-text strong { display: block; font-size: 15px; color: #fff; }
.brand-text small { color: #94a3b8; font-size: 11px; }

.nav-section {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  padding: 12px 12px 6px 12px;
  font-weight: 700;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  color: #cbd5e1;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 2px;
  transition: all var(--transition-fast);
  text-decoration: none;
}
.nav-item:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}
.nav-item.active {
  background: linear-gradient(135deg, rgba(245,158,11,0.18), rgba(245,158,11,0.08));
  color: var(--primary);
  border-left: 3px solid var(--primary);
  padding-left: 9px;
}
.nav-item .bi {
  font-size: 16px;
  width: 20px;
  text-align: center;
}
.nav-item .badge-mini {
  margin-left: auto;
  background: var(--primary);
  color: var(--primary-fg);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 99px;
}

.main {
  padding: 22px 30px 60px;
  min-width: 0;
}
@media (max-width: 900px) { .main { padding: 18px; } }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 12px;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px 6px 6px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 99px;
  box-shadow: var(--shadow-1);
}
.user-chip .avatar {
  width: 30px; height: 30px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--c-follow), var(--c-warehouse));
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 12px;
}
.user-chip .name { font-weight: 600; font-size: 13px; }
.user-chip .role {
  font-size: 10px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =================== COMPONENTS =================== */

.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 8px;
  background: var(--primary);
  color: var(--primary-fg);
  border: 1px solid var(--primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.btn:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}
.btn:active { transform: translateY(0); }
.btn.ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn.ghost:hover {
  background: var(--bg-muted);
  border-color: var(--border-strong);
}
.btn.dark {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.btn.dark:hover {
  background: var(--navy-2);
}
.btn.danger { background: var(--danger); border-color: var(--danger); color: white; }
.btn.danger:hover { background: #dc2626; }
.btn.success { background: var(--success); border-color: var(--success); color: white; }
.btn.success:hover { background: #059669; }
.btn.sm { padding: 6px 10px; font-size: 12px; }
.btn.lg { padding: 12px 22px; font-size: 15px; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.icon-btn:hover {
  background: var(--bg-muted);
  border-color: var(--border-strong);
}

input, select, textarea {
  font-family: inherit;
  font-size: 13.5px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-elev);
  color: var(--text);
  width: 100%;
  transition: all var(--transition-fast);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.15);
}
textarea { min-height: 80px; resize: vertical; }

.field {
  margin-bottom: 14px;
}
.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 99px;
  background: var(--bg-muted);
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.badge.success { background: var(--success-bg); color: #047857; }
.badge.danger  { background: var(--danger-bg);  color: #b91c1c; }
.badge.warning { background: var(--warning-bg); color: #b45309; }
.badge.info    { background: var(--info-bg);    color: #0369a1; }

/* Tables */
table.t {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
table.t th, table.t td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 13px;
}
table.t th {
  background: var(--bg-muted);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}
table.t tr:last-child td { border-bottom: 0; }
table.t tr:hover td { background: var(--bg-elev-2); }
table.t .num { text-align: right; font-variant-numeric: tabular-nums; }

.table-scroll { overflow-x: auto; }

/* KPI */
.kpi {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.kpi::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--primary-hover));
}
.kpi .icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary-hover);
  display: grid;
  place-items: center;
  font-size: 18px;
  margin-bottom: 10px;
}
.kpi .label {
  font-size: 11px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.kpi .value {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-top: 2px;
  line-height: 1.2;
}
.kpi .meta { font-size: 11px; color: var(--text-mute); margin-top: 4px; }

/* Module launcher cards */
.module-card {
  display: block;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-1);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
}
.module-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--card-accent, var(--primary));
}
.module-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-3);
  border-color: var(--card-accent, var(--primary));
}
.module-card .icon-wrap {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--card-accent, var(--primary)) 14%, transparent);
  color: var(--card-accent, var(--primary));
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.module-card h3 { margin: 0 0 4px 0; font-size: 16px; }
.module-card p { margin: 0; color: var(--text-mute); font-size: 13px; line-height: 1.5; }
.module-card .meta {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-soft);
}
.module-card .meta b {
  color: var(--text);
  font-weight: 700;
  margin-right: 3px;
}

/* Login */
.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse 60% 50% at 30% 0%, rgba(245,158,11,0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 70% 100%, rgba(99,102,241,0.12) 0%, transparent 50%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 20px;
}
.login-card {
  width: 100%;
  max-width: 380px;
  background: var(--bg-elev);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.login-card h1 { font-size: 22px; margin: 0 0 4px 0; }
.login-card .subtitle { color: var(--text-mute); margin-bottom: 24px; font-size: 13px; }

/* Big circular logo for login / splash / standalone branding */
.brand-hero {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  overflow: hidden;
  box-shadow:
    0 10px 28px rgba(245,158,11,0.28),
    0 0 0 8px rgba(245,158,11,0.07),
    0 0 0 1px rgba(245,158,11,0.18) inset;
  transition: transform 220ms ease;
}
.brand-hero:hover { transform: scale(1.03); }
.brand-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Inline lockup: round logo + name + tagline (used on login, public pages) */
.brand-lockup {
  display: flex; align-items: center; gap: 14px;
  text-align: left;
}
.brand-lockup .brand-hero { margin: 0; width: 54px; height: 54px; }
.brand-lockup .lockup-text strong {
  display: block; font-size: 16px; color: var(--text);
  letter-spacing: -0.01em;
}
.brand-lockup .lockup-text small {
  color: var(--text-mute); font-size: 12px;
}

/* Topbar / page mini-logo (next to page title in module headers) */
.topbar .topbar-logo {
  width: 30px; height: 30px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  flex-shrink: 0;
}
.topbar .topbar-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Document watermark logo (for printable salary slips / letters) */
.doc-logo {
  width: 64px; height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 2px solid #f3f4f6;
  flex-shrink: 0;
}
.doc-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* TODO board */
.todo-list { display: grid; gap: 10px; }
.todo-item {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
  transition: all var(--transition);
}
.todo-item:hover { box-shadow: var(--shadow-2); }
.todo-item.done { opacity: 0.6; }
.todo-item.done .todo-title { text-decoration: line-through; }

.todo-check {
  width: 22px; height: 22px;
  border: 2px solid var(--border-strong);
  border-radius: 6px;
  cursor: pointer;
  display: grid;
  place-items: center;
  background: var(--bg-elev);
  transition: all var(--transition-fast);
  margin-top: 1px;
  flex-shrink: 0;
}
.todo-check:hover { border-color: var(--primary); }
.todo-check.done {
  background: var(--success);
  border-color: var(--success);
  color: white;
}
.todo-priority-dot {
  width: 8px; height: 8px;
  border-radius: 99px;
  display: inline-block;
  margin-right: 6px;
}
.todo-priority-dot.low      { background: #94a3b8; }
.todo-priority-dot.normal   { background: #0ea5e9; }
.todo-priority-dot.high     { background: var(--warning); }
.todo-priority-dot.urgent   { background: var(--danger); }
.todo-title { font-weight: 600; font-size: 14px; color: var(--text); }
.todo-meta {
  font-size: 11.5px;
  color: var(--text-mute);
  margin-top: 4px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.todo-meta span { display: inline-flex; align-items: center; gap: 4px; }
.todo-actions { display: flex; gap: 4px; }
.todo-remarks {
  margin-top: 8px;
  padding: 8px 12px;
  background: var(--success-bg);
  border-radius: 8px;
  font-size: 12.5px;
  color: #047857;
  border-left: 3px solid var(--success);
}

/* Notice cards */
.notice-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-1);
}
.notice-card.info    { border-left-color: var(--info); }
.notice-card.update  { border-left-color: var(--c-follow); }
.notice-card.alert   { border-left-color: var(--danger); }
.notice-card.celebration { border-left-color: var(--success); }
.notice-card.pinned  { background: linear-gradient(180deg, var(--primary-soft), var(--bg-elev)); }
.notice-card h3 {
  margin: 0 0 6px 0;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.notice-card .body { color: var(--text-soft); font-size: 13.5px; line-height: 1.55; }
.notice-card img {
  max-width: 100%;
  border-radius: var(--radius);
  margin-top: 10px;
  display: block;
}
.notice-card .meta {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--text-mute);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: var(--bg-overlay);
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal-backdrop[hidden] { display: none; }
.modal {
  background: var(--bg-elev);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 64px rgba(0,0,0,0.4);
}
.modal-head {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-head h3 { margin: 0; }
.modal-body { padding: 22px; overflow-y: auto; }

/* Tabs */
.tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.tab {
  padding: 10px 16px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--transition-fast);
}
.tab:hover { color: var(--text); }
.tab.active {
  color: var(--primary-hover);
  border-bottom-color: var(--primary);
}

/* Notice flash overlay */
.notice-flash-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-overlay);
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 20px;
}
.notice-flash {
  background: var(--bg-elev);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px 30px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}
.notice-flash header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  margin-bottom: 14px;
}
.notice-flash header .lead {
  display: flex;
  gap: 12px;
  align-items: center;
}
.notice-flash .type-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 22px;
}
.notice-flash.info .type-icon { background: var(--info-bg); color: var(--info); }
.notice-flash.update .type-icon { background: #e0e7ff; color: #4f46e5; }
.notice-flash.alert .type-icon { background: var(--danger-bg); color: var(--danger); }
.notice-flash.celebration .type-icon { background: var(--success-bg); color: var(--success); }
.notice-flash h2 { margin: 0; font-size: 19px; }
.notice-flash .step-indicator {
  font-size: 11px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

/* Toast */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 6000;
  background: var(--navy);
  color: white;
  padding: 12px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-3);
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn 200ms ease-out;
}
.toast.success { background: var(--success); }
.toast.danger { background: var(--danger); }
@keyframes slideIn {
  from { transform: translateX(120%); }
  to { transform: translateX(0); }
}

/* Util */
[hidden] { display: none !important; }

/* Print fix */
@media print {
  .sidebar, .topbar, .btn, .no-print { display: none !important; }
  .main { padding: 0; }
}
