/* ==========================================================================
   MPMS Design System — "Signal" (control-room aesthetic for AV/System Integrator)
   Palette: deep navy-blue base + white/gray neutral surfaces + orange highlight
   Type: Syne (display, identitas MLV Teknologi) / Inter (body) / JetBrains Mono (data)
   ========================================================================== */

:root {
  --sidebar-width: 264px;

  /* Ink scale — deep navy derived from brand blue for dark panels/text */
  --ink-950: #071B3A;
  --ink-900: #0C2A57;
  --ink-800: #1B3A66;
  --ink-700: #2a3654;
  --ink-500: #64708a;
  --ink-300: #b7c0d1;
  --ink-100: #EFEFEF;

  /* Surfaces — light gray page bg, white cards, gray borders */
  --surface: #F7F7F7;
  --card: #ffffff;
  --border: #E8E8E8;
  --border-dark: rgba(255,255,255,.09);

  /* Signal palette */
  --signal: #0D4CA3;
  --signal-dark: #0A3D82;
  --signal-glow: rgba(13, 76, 163, .35);
  /* Lighter tint used ONLY where blue sits on a dark panel (sidebar, dark
     avatar badges) — the base --signal is too close in luminance to the
     dark ink backgrounds to read clearly there. Never used on light
     surfaces, where --signal already has plenty of contrast. */
  --signal-on-dark: #8CB4F0;
  --amber: #F18F01;
  --danger: #f0453f;
  --success: #16b378;
  --info: #3b82f6;

  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 7px;
  --shadow-sm: 0 1px 2px rgba(8, 13, 26, .05);
  --shadow-md: 0 10px 30px rgba(8, 13, 26, .08);
  --shadow-glow: 0 0 0 3px var(--signal-glow);
}

* { box-sizing: border-box; }

body {
  background: var(--surface);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink-900);
  -webkit-font-smoothing: antialiased;
  font-size: 14.5px;
}

h1, h2, h3, h4, h5, h6, .display-font {
  font-family: 'Syne', 'Inter', sans-serif;
  letter-spacing: -.01em;
}

.mono, code, .code-tag {
  font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  font-size: .85em;
  letter-spacing: -.01em;
}

a { text-decoration: none; }
::selection { background: var(--signal-glow); }

/* Slim technical scrollbars */
* { scrollbar-width: thin; scrollbar-color: var(--ink-300) transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-thumb { background: var(--ink-300); border-radius: 10px; }
*::-webkit-scrollbar-track { background: transparent; }

/* ===================== APP SHELL ===================== */
.app-wrapper { display: flex; min-height: 100vh; }

/* ---- Sidebar : dark console panel with faint circuit texture ---- */
.sidebar {
  width: var(--sidebar-width);
  background: var(--ink-950);
  background-image:
    linear-gradient(var(--ink-950), var(--ink-950)),
    repeating-linear-gradient(115deg, rgba(13, 76, 163,.05) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(25deg, rgba(13, 76, 163,.04) 0 1px, transparent 1px 84px);
  color: #fff;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; bottom: 0; left: 0;
  z-index: 1030;
  transition: transform .25s ease;
  border-right: 1px solid var(--border-dark);
}

.sidebar-brand { display: flex; align-items: center; gap: .8rem; padding: 1.5rem 1.35rem 1.1rem; }
.brand-icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--ink-900); border: 1px solid rgba(140, 180, 240, .35);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; color: var(--signal-on-dark); flex-shrink: 0;
  position: relative; overflow: hidden;
}
.brand-icon img {
  width: 100%; height: 100%; object-fit: contain; padding: 5px;
}
.brand-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.05rem; line-height: 1; letter-spacing: .01em; }
.brand-sub { font-size: .66rem; color: rgba(255,255,255,.4); margin-top: 4px; font-family: 'JetBrains Mono', monospace; }

/* Signal bar — signature motif, a thin ambient pulse under the brand */
.signal-bar { height: 2px; margin: 0 1.35rem 1rem; border-radius: 2px; overflow: hidden; background: rgba(255,255,255,.06); position: relative; }
.signal-bar::after {
  content: ''; position: absolute; top: 0; left: -40%; height: 100%; width: 40%;
  background: linear-gradient(90deg, transparent, var(--signal-on-dark), transparent);
  animation: signal-sweep 2.8s ease-in-out infinite;
}
@keyframes signal-sweep {
  0% { left: -40%; }
  100% { left: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .signal-bar::after { animation: none; left: 0; width: 100%; opacity: .5; }
}

.sidebar-menu { flex: 1; padding: .25rem .85rem; overflow-y: auto; }
.menu-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: .64rem; text-transform: uppercase; letter-spacing: .12em;
  color: rgba(255,255,255,.3); font-weight: 600;
  margin: 1.15rem .65rem .45rem;
}
.menu-label:first-child { margin-top: .2rem; }
.menu-item {
  display: flex; align-items: center; gap: .8rem;
  color: rgba(255,255,255,.68);
  padding: .6rem .8rem;
  border-radius: var(--radius-sm);
  font-size: .865rem;
  font-weight: 500;
  margin-bottom: .1rem;
  border-left: 2px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.menu-item i { font-size: 1.05rem; width: 20px; text-align: center; color: rgba(255,255,255,.45); transition: color .15s ease; }
.menu-item:hover { background: rgba(255,255,255,.05); color: #fff; }
.menu-item:hover i { color: var(--signal-on-dark); }
.menu-item.active {
  background: rgba(140, 180, 240, .12);
  color: #fff;
  border-left-color: var(--signal-on-dark);
}
.menu-item.active i { color: var(--signal-on-dark); }
.sidebar-footer { padding: .8rem .85rem 1.15rem; border-top: 1px solid var(--border-dark); }

/* ---- Main content ---- */
.main-content { margin-left: var(--sidebar-width); flex: 1; min-width: 0; }

.topbar {
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: .7rem 1.6rem;
  display: flex; align-items: center; gap: .75rem;
  position: sticky; top: 0; z-index: 1000;
}
.btn-icon {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--card); border: 1px solid var(--border); color: var(--ink-700);
  transition: border-color .15s ease, color .15s ease;
}
.btn-icon:hover { border-color: var(--signal); color: var(--signal-dark); }

.topbar-search {
  display: flex; align-items: center; gap: .55rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: .5rem .9rem;
  width: 100%; max-width: 400px;
  transition: border-color .15s ease, background .15s ease;
}
.topbar-search:focus-within { border-color: var(--signal); background: #fff; }
.topbar-search i { color: var(--ink-500); font-size: .9rem; }
.topbar-search input { border: none; outline: none; flex: 1; font-size: .85rem; background: transparent; }

.role-badge {
  background: var(--ink-100); color: var(--ink-700);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600; font-size: .68rem; padding: .42rem .7rem; border-radius: 5px;
  border: 1px solid var(--border);
}

.user-chip {
  display: flex; align-items: center; gap: .55rem;
  border: 1px solid var(--border); background: var(--card);
  border-radius: var(--radius-sm); padding: .3rem .7rem .3rem .3rem;
  font-size: .82rem; color: var(--ink-900); font-weight: 600;
}
.user-avatar {
  width: 30px; height: 30px; border-radius: 7px;
  background: var(--ink-900); border: 1px solid var(--signal-on-dark);
  color: var(--signal-on-dark); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .8rem; font-family: 'Syne', sans-serif;
  overflow: hidden;
}
.user-avatar img { width: 100%; height: 100%; object-fit: cover; }

.avatar-sm {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--ink-900); border: 1px solid var(--signal-on-dark); color: var(--signal-on-dark);
  display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0;
  font-weight: 700; font-size: .85rem; font-family: 'Syne', sans-serif;
}
.avatar-sm img { width: 100%; height: 100%; object-fit: cover; }

.avatar-upload { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.5rem; }
.avatar-upload .avatar-preview {
  width: 92px; height: 92px; border-radius: 50%; flex-shrink: 0;
  background: var(--ink-900); border: 2px solid var(--signal-on-dark); color: var(--signal-on-dark);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  font-weight: 700; font-size: 2rem; font-family: 'Syne', sans-serif;
}
.avatar-upload .avatar-preview img { width: 100%; height: 100%; object-fit: cover; }
.avatar-upload .avatar-actions { display: flex; flex-direction: column; gap: .4rem; }
.avatar-upload .avatar-hint { font-size: .74rem; color: var(--ink-500); }

.notif-dot {
  position: absolute; top: 7px; right: 8px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--danger); border: 2px solid #fff;
  box-shadow: 0 0 0 2px rgba(240,69,63,.25);
}
.notif-dropdown { width: 350px; padding: 0; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-md); overflow: hidden; margin-top: .5rem; }
.notif-header { display: flex; justify-content: space-between; align-items: center; padding: .85rem 1.1rem; border-bottom: 1px solid var(--border); background: var(--surface); }
.notif-header strong { font-family: 'Syne', sans-serif; font-size: .88rem; }
.notif-list { max-height: 350px; overflow-y: auto; }
.notif-item { display: block; padding: .75rem 1.1rem; border-bottom: 1px solid var(--ink-100); }
.notif-item:hover { background: var(--surface); }
.notif-item.unread { background: rgba(13, 76, 163,.05); border-left: 2px solid var(--signal); }
.notif-item .notif-title { font-size: .82rem; font-weight: 600; color: var(--ink-900); }
.notif-item .notif-message { font-size: .78rem; color: var(--ink-500); margin-top: 1px; }
.notif-item .notif-time { font-size: .68rem; color: var(--ink-300); margin-top: 4px; font-family: 'JetBrains Mono', monospace; }

.page-content { padding: 1.75rem; max-width: 1440px; }

/* ===================== LIVE / STATUS INDICATORS ===================== */
.live-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--success); margin-right: 6px; position: relative; top: -1px;
}
.live-dot.pulsing::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 1.5px solid var(--success); animation: pulse-ring 1.8s ease-out infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(.6); opacity: .8; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* ===================== CARDS & COMPONENTS ===================== */
.stat-card {
  background: var(--card); border-radius: var(--radius-lg); padding: 1.3rem 1.45rem;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 1rem;
  position: relative; overflow: hidden;
}
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%;
  background: var(--stat-accent, var(--signal));
}
.stat-card .stat-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; flex-shrink: 0;
  background: var(--stat-accent-bg, rgba(13, 76, 163,.1));
  color: var(--stat-accent, var(--signal));
}
.stat-card .stat-value { font-family: 'Syne', sans-serif; font-size: 1.65rem; font-weight: 700; color: var(--ink-900); line-height: 1; }
.stat-card .stat-label { color: var(--ink-500); font-size: .78rem; margin-top: 5px; }

.card { border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.card-header { border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important; font-size: .9rem; background: #fff !important; }
.card-header strong { font-family: 'Syne', sans-serif; font-weight: 600; }

.table { font-size: .855rem; margin-bottom: 0; }
.table thead th { font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-500); border-bottom: 1px solid var(--border); font-weight: 700; padding: .85rem 1rem; background: var(--surface); }
.table tbody td { padding: .8rem 1rem; vertical-align: middle; border-bottom: 1px solid var(--ink-100); }
.table tbody tr:hover { background: rgba(13, 76, 163,.04); }
.table tbody tr:last-child td { border-bottom: none; }

.btn { border-radius: var(--radius-sm); font-weight: 600; font-size: .845rem; letter-spacing: .01em; }
.btn-primary { background: var(--ink-950); border: 1px solid var(--ink-950); color: #fff; }
.btn-primary:hover { background: var(--signal-dark); border-color: var(--signal-dark); color: #fff; }
.btn-primary:focus { box-shadow: var(--shadow-glow); }
.btn-outline-primary { color: var(--ink-900); border-color: var(--border); }
.btn-outline-primary:hover { background: var(--ink-950); border-color: var(--ink-950); color: #fff; }
.btn-outline-secondary { border-color: var(--border); color: var(--ink-700); }
.btn-outline-secondary:hover { background: var(--ink-100); border-color: var(--border); color: var(--ink-900); }

/* Bootstrap "warning" re-themed to the palette's orange accent (used for
   pending/attention states like the Check-In button and revision badges). */
.btn-warning { background: var(--amber); border-color: var(--amber); color: #fff; }
.btn-warning:hover, .btn-warning:focus { background: #d67e00; border-color: #d67e00; color: #fff; }
.btn-outline-warning { border-color: var(--amber); color: #b96f00; }
.btn-outline-warning:hover { background: var(--amber); border-color: var(--amber); color: #fff; }
.bg-warning { background: var(--amber) !important; color: #fff !important; }
.text-warning { color: var(--amber) !important; }

.form-control, .form-select { border-radius: var(--radius-sm); border-color: var(--border); font-size: .855rem; }
.form-control:focus, .form-select:focus { border-color: var(--signal); box-shadow: 0 0 0 3px var(--signal-glow); }
.form-label { font-size: .8rem; font-weight: 600; color: var(--ink-700); margin-bottom: .35rem; }

.progress { border-radius: 20px; height: 8px; background: var(--ink-100); }
.progress-bar { background: var(--signal); }
.progress-bar.bg-success { background: var(--success) !important; }

.badge { font-weight: 600; font-size: .68rem; padding: .38em .6em; border-radius: 5px; letter-spacing: .01em; }

.dropdown-menu { border-radius: var(--radius-md); border: 1px solid var(--border); box-shadow: var(--shadow-md); font-size: .85rem; }
.dropdown-item { padding: .55rem 1rem; }
.dropdown-item:hover { background: var(--surface); }

/* Catatan/chat thread box (project detail, Admin/PM) — same boxed &
   scrollable treatment as the Client Portal's note thread, so a long
   conversation stays contained instead of stretching the page. */
.note-thread-box {
  border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface);
  padding: .75rem .9rem; max-height: 420px; overflow-y: auto;
}
.note-thread-box .note-row:last-child { border-bottom: none !important; }

/* @mention highlight inside rendered note/chat text */
.mention-tag {
  color: var(--signal); background: rgba(13, 76, 163, .1);
  padding: .05em .35em; border-radius: 4px; font-weight: 600;
}

/* @mention autocomplete dropdown for the note composer */
.mention-input-wrap { position: relative; }
.mention-suggest {
  display: none; position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 40;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); max-height: 220px; overflow-y: auto;
}
.mention-suggest.show { display: block; }
.mention-suggest-item {
  padding: .5rem .75rem; cursor: pointer; display: flex; flex-direction: column; gap: .05rem;
  border-bottom: 1px solid var(--border);
}
.mention-suggest-item:last-child { border-bottom: none; }
.mention-suggest-item:hover, .mention-suggest-item:active { background: var(--surface); }
.mention-suggest-name { font-size: .82rem; font-weight: 600; color: var(--ink-900); }
.mention-suggest-meta { font-size: .72rem; color: var(--ink-500); }

.modal-content { border-radius: var(--radius-lg); border: 1px solid var(--border); }
.modal-header, .modal-footer { border-color: var(--border); }

.alert { border-radius: var(--radius-md); border: 1px solid transparent; font-size: .865rem; }
.alert-success { background: rgba(22,179,120,.08); color: #0a6b48; border-color: rgba(22,179,120,.2); }
.alert-danger { background: rgba(240,69,63,.08); color: #a8221d; border-color: rgba(240,69,63,.2); }

/* Project code / IDs shown in mono to feel systemized */
.code-chip {
  font-family: 'JetBrains Mono', monospace; font-size: .78rem;
  background: var(--ink-100); color: var(--ink-700);
  padding: .2rem .5rem; border-radius: 5px; letter-spacing: -.02em;
}

/* ===================== GALLERY ===================== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }
.gallery-grid img { width: 100%; height: 120px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--border); transition: transform .15s ease, box-shadow .15s ease; }
.gallery-grid a:hover img { transform: scale(1.03); box-shadow: var(--shadow-md); }
.gallery-group-title { font-family: 'Syne', sans-serif; font-weight: 700; color: var(--ink-900); margin-top: 1.2rem; }

/* ===================== LIVE CAMERA CAPTURE (Check-In/Out) ===================== */
.camera-box {
  position: relative; width: 100%; height: 260px; border-radius: var(--radius-md);
  background: var(--ink-950); overflow: hidden; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.camera-box video, .camera-box img { width: 100%; height: 100%; object-fit: cover; }
.camera-box .camera-error {
  color: rgba(255,255,255,.7); text-align: center; padding: 1.5rem; font-size: .8rem;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.camera-box .camera-error i { font-size: 1.8rem; }

/* ===================== KANBAN ===================== */
.kanban-board { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 1rem; }
.kanban-column { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); min-width: 275px; max-width: 275px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.kanban-column-header { display: flex; justify-content: space-between; align-items: center; padding: .9rem 1rem; border-bottom: 1px solid var(--border); }
.kanban-column-body { padding: .75rem; flex: 1; min-height: 140px; display: flex; flex-direction: column; gap: .6rem; }
.kanban-column-body.drag-over { background: rgba(13, 76, 163,.06); }
.kanban-card { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--signal); border-radius: var(--radius-sm); padding: .7rem .8rem; cursor: grab; transition: box-shadow .15s ease, transform .15s ease; }
.kanban-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.kanban-card.dragging { opacity: .4; }
.kanban-card-title { font-size: .8rem; font-weight: 700; color: var(--ink-900); margin-bottom: .35rem; }
.kanban-card-meta { font-size: .7rem; color: var(--ink-500); display: flex; align-items: center; gap: .3rem; margin-top: 2px; }

/* ===================== AUTH (LOGIN) ===================== */
.auth-body { background: var(--ink-950); min-height: 100vh; }
.auth-split { min-height: 100vh; display: flex; }
.auth-visual {
  flex: 1.15; background: var(--ink-950);
  background-image:
    repeating-linear-gradient(115deg, rgba(13, 76, 163,.07) 0 1px, transparent 1px 60px),
    repeating-linear-gradient(25deg, rgba(13, 76, 163,.05) 0 1px, transparent 1px 80px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 4.5rem; color: #fff; position: relative; overflow: hidden;
}
.auth-visual .pulse-field { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.auth-visual .pulse-dot {
  position: absolute; border-radius: 50%; background: #8CB4F0; opacity: 0;
  box-shadow: 0 0 14px 3px rgba(140, 180, 240, .55);
  animation: pulse-dot 3.6s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 0; transform: scale(.4); }
  50% { opacity: .85; transform: scale(1); }
}
.auth-visual .waveform { display: flex; align-items: flex-end; gap: 5px; height: 60px; margin-bottom: 2rem; position: relative; z-index: 1; }
.auth-visual .waveform span {
  width: 5px; border-radius: 3px; animation: wave 1.4s ease-in-out infinite;
  background: linear-gradient(180deg, #A9C7F5, var(--signal));
  box-shadow: 0 0 10px rgba(140, 180, 240, .5);
}
@keyframes wave { 0%, 100% { height: 18%; opacity: .55; } 50% { height: 100%; opacity: 1; } }
.auth-visual h2 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 2.1rem; max-width: 440px; position: relative; z-index: 1; line-height: 1.2; }
.auth-visual p { color: rgba(255,255,255,.6); max-width: 420px; position: relative; z-index: 1; margin-top: .9rem; }
.auth-visual .stat-strip { display: flex; gap: 2.5rem; margin-top: 3rem; position: relative; z-index: 1; }
.auth-visual .stat-strip .val { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 1.35rem; color: #8CB4F0; text-shadow: 0 0 18px rgba(140, 180, 240, .45); }
.auth-visual .stat-strip .lbl { font-size: .72rem; color: rgba(255,255,255,.6); margin-top: 3px; }

.auth-form-side { flex: 1; display: flex; align-items: center; justify-content: center; padding: 2rem; background: var(--surface); }
.auth-card { width: 100%; max-width: 380px; }
.auth-card .brand-row { display: flex; align-items: center; gap: .7rem; margin-bottom: 2.2rem; }
.auth-logo-mark { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; }

@media (max-width: 900px) {
  .auth-visual { display: none; }
}

/* ===================== PORTAL (CLIENT PUBLIC) ===================== */
.portal-header {
  background: var(--ink-950);
  background-image: repeating-linear-gradient(115deg, rgba(13, 76, 163,.08) 0 1px, transparent 1px 60px);
  color: #fff; padding: 2.75rem 1.5rem;
}
.timeline { border-left: 2px solid var(--border); padding-left: 1.25rem; margin-left: .5rem; }
.timeline-item { position: relative; padding-bottom: 1.5rem; }
.timeline-item::before {
  content: ''; position: absolute; left: -1.6rem; top: .2rem;
  width: 10px; height: 10px; border-radius: 50%; background: var(--signal);
  box-shadow: 0 0 0 3px rgba(13, 76, 163,.18);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 991px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.show { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .topbar-search { max-width: 180px; }
  .page-content { padding: 1.1rem; }
}

@media print {
  .sidebar, .topbar, .btn, .no-print { display: none !important; }
  .main-content { margin-left: 0 !important; }
}
