/* Teacher Performance Management - Profesional Minimal (Notion/Linear-like) */
:root {
  --bg: #fafaf9;
  --bg-elev: #ffffff;
  --bg-sidebar: #ffffff;
  --bg-hover: #f4f4f3;
  --bg-active: #eef2ff;
  --bg-muted: #f7f7f6;
  --border: #e7e7e4;
  --border-strong: #d4d4d1;
  --text: #18181b;
  --text-muted: #6b6b6b;
  --text-subtle: #9a9a96;
  --primary: #1e40af;
  --primary-hover: #1e3a8a;
  --primary-soft: #eef2ff;
  --primary-text: #1e40af;
  --success: #15803d;
  --success-soft: #dcfce7;
  --warn: #b45309;
  --warn-soft: #fef3c7;
  --danger: #b91c1c;
  --danger-soft: #fee2e2;
  --info-soft: #dbeafe;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.08), 0 4px 10px rgba(0,0,0,0.04);
  --radius: 8px;
  --radius-lg: 12px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --surface: var(--bg-elev);
}

/* ====== Dark Theme ====== */
[data-theme=dark] {
  --bg:           #0f1117;
  --bg-elev:      #1a1d27;
  --bg-sidebar:   #141720;
  --bg-hover:     #22263a;
  --bg-active:    #1a2a5e;
  --bg-muted:     #1d2030;
  --border:       #2a2d3e;
  --border-strong:#3a3d52;
  --text:         #e2e8f0;
  --text-muted:   #8892a4;
  --text-subtle:  #5d6678;
  --primary:      #3b82f6;
  --primary-hover:#2563eb;
  --primary-soft: #1a2a5e;
  --primary-text: #93c5fd;
  --success:      #4ade80;
  --success-soft: #052e16;
  --warn:         #fbbf24;
  --warn-soft:    #3b2501;
  --danger:       #f87171;
  --danger-soft:  #3d0808;
  --info-soft:    #0c2461;
  --shadow-sm:    0 1px 2px rgba(0,0,0,0.4);
  --shadow:       0 1px 3px rgba(0,0,0,0.5), 0 1px 2px rgba(0,0,0,0.4);
  --shadow-lg:    0 10px 25px rgba(0,0,0,0.6), 0 4px 10px rgba(0,0,0,0.5);
  --surface:      #1a1d27;
}

/* Dark: fix login page hardcoded colors */
[data-theme=dark] .login-left {
  background: linear-gradient(135deg, #0f1f5c 0%, #1a2d7a 100%);
}
[data-theme=dark] .login-right {
  background: var(--bg-elev);
}
[data-theme=dark] .login-form input.input,
[data-theme=dark] .login-form select.input {
  background: var(--bg);
  color: var(--text);
  border-color: var(--border);
}
[data-theme=dark] .login-form input.input::placeholder { color: var(--text-subtle); }
[data-theme=dark] .login-form h2 { color: var(--text); }
[data-theme=dark] .login-form .muted { color: var(--text-muted); }

/* Dark: fix hardcoded banner colors */
[data-theme=dark] .mode-banner {
  background: #3b2501; color: #fbbf24; border-color: #713f12;
}
[data-theme=dark] .login-as-banner {
  background: #1a2a5e; color: #93c5fd; border-color: #1e3a8a;
}
[data-theme=dark] .inherit-hint {
  background: #0c2461; color: #93c5fd; border-color: #1e3a8a;
}
[data-theme=dark] .locked-hint {
  background: var(--bg-muted); color: var(--text-muted); border-color: var(--border);
}
[data-theme=dark] .scale-warn {
  background: var(--warn-soft); color: var(--warn); border-color: #713f12;
}
[data-theme=dark] .scale-info {
  background: var(--info-soft); color: var(--primary-text); border-color: #1e3a8a;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ==== Layout ==== */
.app-layout {
  display: grid;
  grid-template-columns: 248px 1fr;
  min-height: 100vh;
  transition: grid-template-columns 0.2s ease;
}
.sidebar {
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.sidebar-header {
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-tpm {
  width: 32px; height: 32px;
  background: var(--text);
  color: white;
  border-radius: 7px;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.5px;
  font-family: var(--font);
  flex-shrink: 0;
}
.sidebar-title { font-weight: 600; font-size: 13px; line-height: 1.25; }
.sidebar-subtitle { font-size: 11px; color: var(--text-muted); }
.sidebar-nav { padding: 8px; flex: 1; }
.sidebar-section { padding: 10px 8px 4px; font-size: 11px; color: var(--text-subtle); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px;
  border-radius: 6px;
  color: var(--text);
  font-size: 13.5px;
  cursor: pointer;
  background: transparent;
  border: 0;
  width: 100%;
  text-align: left;
  text-decoration: none;
}
.nav-item:hover { background: var(--bg-hover); }
.nav-item.active { background: var(--bg-active); color: var(--primary); font-weight: 500; }
.nav-badge {
  background: var(--danger, #dc2626);
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
  line-height: 1.4;
}
.nav-icon { width: 16px; height: 16px; flex-shrink: 0; opacity: 0.85; }
.sidebar-footer {
  padding: 12px;
  border-top: 1px solid var(--border);
}

/* ==== Collapsible sidebar ==== */
.sidebar-collapse-btn {
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 5px;
  color: var(--text-muted);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  line-height: 0;
}
.sidebar-collapse-btn:hover { background: var(--bg-hover); color: var(--text); }

.sidebar-divider { height: 1px; background: var(--border); margin: 4px 6px; }

/* Collapsed sidebar - desktop only */
@media (min-width: 769px) {
  html.sidebar-collapsed .app-layout { grid-template-columns: 56px 1fr; }
  .sidebar.collapsed { overflow-x: hidden; }
  .sidebar.collapsed .sidebar-header { padding: 10px 8px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
  .sidebar.collapsed .sidebar-nav { padding: 6px 4px; }
  .sidebar.collapsed .nav-item.collapsed { justify-content: center; padding: 9px; gap: 0; }
  .sidebar.collapsed .sidebar-footer { padding: 10px 4px; }
}

/* Hide collapse button on mobile (sidebar is overlay, no need) */
@media (max-width: 768px) { .sidebar-collapse-btn { display: none; } }

.user-card {
  display: flex; align-items: center; gap: 10px;
  padding: 8px;
  border-radius: 6px;
}
.avatar {
  width: 30px; height: 30px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 600;
  font-size: 12px;
  flex-shrink: 0;
}
.avatar.lg { width: 56px; height: 56px; font-size: 18px; }

/* ==== Main ==== */
.main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-width: 0;
}
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 28px;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
}
.topbar-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.crumb { font-size: 13px; color: var(--text-muted); }
.crumb strong { color: var(--text); font-weight: 600; }
.topbar-right { display: flex; align-items: center; gap: 10px; }

.mobile-menu-btn {
  display: none;
  background: transparent; border: 0; cursor: pointer;
  padding: 6px; border-radius: 6px;
}
.mobile-menu-btn:hover { background: var(--bg-hover); }

.page {
  padding: 28px;
  max-width: 1400px;
  width: 100%;
}
.page-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.page-title { font-size: 22px; font-weight: 700; margin: 0; letter-spacing: -0.01em; }
.page-subtitle { font-size: 13.5px; color: var(--text-muted); margin: 4px 0 0; }
.page-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ==== Buttons ==== */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.12s;
  white-space: nowrap;
}
.btn:hover { background: var(--bg-hover); }
.btn.primary { background: var(--primary); color: white; border-color: var(--primary); }
.btn.primary:hover { background: var(--primary-hover); }
.btn.danger { color: var(--danger); border-color: var(--border); }
.btn.danger:hover { background: var(--danger-soft); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: var(--bg-hover); }
.btn.sm { padding: 4px 8px; font-size: 12px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-icon {
  width: 28px; height: 28px; padding: 0;
  display: grid; place-items: center;
}

/* ==== Inputs ==== */
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field-label { font-size: 12px; font-weight: 500; color: var(--text-muted); }
.input, .select, .textarea {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-elev);
  color: var(--text);
  font-size: 13.5px;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30,64,175,0.1);
}
.input.sm, .select.sm { padding: 4px 8px; font-size: 12.5px; }
.search-input {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2'%3e%3ccircle cx='11' cy='11' r='8'/%3e%3cpath d='m21 21-4.3-4.3'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: 10px center;
  padding-left: 32px;
}

/* ==== Cards ==== */
.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.card-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}
.card-title { font-size: 15px; font-weight: 600; margin: 0; }
.card-subtitle { font-size: 12.5px; color: var(--text-muted); margin: 2px 0 0; }

.stat-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
}
.stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.stat-value { font-size: 26px; font-weight: 700; margin-top: 4px; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.stat-delta { font-size: 12px; margin-top: 6px; color: var(--text-muted); }
.stat-delta.up { color: var(--success); }
.stat-delta.down { color: var(--danger); }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ==== Table ==== */
.table-wrap {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.table-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.table-toolbar .field { flex-direction: row; align-items: center; gap: 6px; }
.table-toolbar .grow { flex: 1; min-width: 200px; }

.table-scroll { overflow-x: auto; }
table.t {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
table.t th, table.t td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
table.t th {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 12px;
  background: var(--bg-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
table.t th.sortable { cursor: pointer; user-select: none; }
table.t th.sortable:hover { color: var(--text); }
table.t th .sort-ind { margin-left: 4px; opacity: 0.5; }
table.t th.sorted .sort-ind { opacity: 1; color: var(--primary); }
table.t tbody tr:hover { background: var(--bg-hover); }
table.t tbody tr:last-child td { border-bottom: 0; }
table.t .num { font-variant-numeric: tabular-nums; text-align: right; font-family: var(--mono); font-size: 13px; }
table.t .actions { white-space: nowrap; text-align: right; }
table.t td.actions { padding-top: 8px; padding-bottom: 8px; }
table.t td.actions > * { vertical-align: middle; }
table.t td.actions .btn { display: inline-flex; align-items: center; gap: 4px; vertical-align: middle; }

.row-hidden { display: none; }

.empty-state {
  padding: 60px 24px;
  text-align: center;
  color: var(--text-muted);
}
.empty-state-icon { width: 32px; height: 32px; margin-bottom: 12px; opacity: 0.5; }

/* ==== Badges ==== */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px;
  font-size: 11.5px;
  font-weight: 500;
  border-radius: 999px;
  background: var(--bg-muted);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.badge.success { background: var(--success-soft); color: var(--success); border-color: transparent; }
.badge.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.badge.danger { background: var(--danger-soft); color: var(--danger); border-color: transparent; }
.badge.info { background: var(--info-soft); color: var(--primary); border-color: transparent; }
.badge.demo { background: #fef3c7; color: #92400e; border-color: transparent; font-weight: 600; }

/* ==== Modal ==== */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(15,15,15,0.4);
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.modal {
  background: var(--bg-elev);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow: auto;
  box-shadow: var(--shadow-lg);
}
.modal.lg { max-width: 720px; }
.modal.xl { max-width: 960px; }
.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.modal-title { font-size: 15px; font-weight: 600; margin: 0; }
.modal-body { padding: 20px; }
.modal-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: flex-end; gap: 8px;
}

/* ==== Toast ==== */
.toast-host {
  position: fixed; bottom: 20px; right: 20px;
  display: flex; flex-direction: column; gap: 8px;
  z-index: 200;
}
.toast {
  padding: 12px 16px;
  background: var(--text);
  color: white;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  font-size: 13.5px;
  max-width: 360px;
  animation: slideIn 0.18s ease;
}
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
@keyframes slideIn { from { transform: translateY(8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ==== Mode banner ==== */
.mode-banner {
  background: #fef3c7;
  color: #78350f;
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
  padding: 6px 16px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid #fde68a;
}

/* ==== Login page ==== */
.login-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg);
}
.login-left {
  padding: 52px 56px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: #1a56db;
  color: #fff;
  position: relative; overflow: hidden;
}
/* Geometric circle overlays */
.login-geo {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.login-geo.geo1 { right: -80px; top: -80px; width: 420px; height: 420px; background: rgba(255,255,255,.06); }
.login-geo.geo2 { right: 40px; bottom: -60px; width: 280px; height: 280px; background: rgba(255,255,255,.04); }
.login-geo.geo3 { left: -40px; bottom: 120px; width: 160px; height: 160px; background: rgba(255,255,255,.04); }

.login-brand { display: flex; align-items: center; gap: 12px; position: relative; z-index: 2; }
.login-brand .logo-tpm {
  background: rgba(255,255,255,.15); color: #fff;
  width: 38px; height: 38px; font-size: 12px;
  border: 1px solid rgba(255,255,255,.25);
}
.login-brand-text { font-weight: 400; font-size: 12px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .05em; }

.login-tagline {
  font-size: 56px; font-weight: 700; line-height: 1.05;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  position: relative; z-index: 2;
}
.login-tagline .dim { color: rgba(255,255,255,.35); font-weight: 300; font-size: 48px; display: block; }

.login-features { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 2; }
.login-pill {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  font-size: 13px; color: rgba(255,255,255,.8);
}
.login-pill .pill-icon {
  width: 28px; height: 28px;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0;
}
.login-left-foot {
  position: relative; z-index: 2;
  font-size: 11px; color: rgba(255,255,255,.25);
  font-family: monospace; letter-spacing: .06em;
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08);
}

.login-right {
  position: relative;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 52px 56px;
}
.login-form {
  width: 100%;
  max-width: 360px;
  display: flex; flex-direction: column; gap: 16px;
}
.login-form h2 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -0.025em; color: #111; }
.login-form p.muted { color: #999; font-size: 14px; margin: 0; }

.role-selector {
  display: grid; grid-template-columns: 1fr 1fr;
  margin-bottom: 8px;
  border: 2px solid #1a56db; overflow: hidden;
}
.role-btn {
  padding: 11px;
  border: none;
  background: none;
  cursor: pointer;
  text-align: center;
  font-size: 12px; font-weight: 600;
  letter-spacing: .03em; text-transform: uppercase;
  color: #1a56db;
  transition: all .15s;
}
.role-btn:not(:last-child) { border-right: 2px solid #1a56db; }
.role-btn .rb-label { font-weight: 600; }
.role-btn .rb-sub { display: none; }
.role-btn:hover { background: rgba(26,86,219,.06); }
.role-btn.active { background: #1a56db; color: #fff; }

.demo-accounts {
  display: flex; flex-direction: column; gap: 6px;
  padding: 0; background: none; border: none;
}
.demo-accounts h4 { margin: 0 0 8px; font-size: 10px; color: #bbb; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; font-family: monospace; }
.demo-account {
  padding: 10px 14px;
  background: #fff;
  border: 1.5px solid #f0f0f0;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
  transition: all .15s;
}
.demo-account:hover { border-color: #1a56db; background: #f0f5ff; }
.demo-account-label { display: flex; flex-direction: column; }
.demo-account-name { font-weight: 600; color: #111; }
.demo-account-role { font-size: 11px; color: #bbb; margin-top: 2px; }

.lock-warn {
  padding: 10px 12px;
  background: var(--danger-soft);
  color: var(--danger);
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Drag-drop rubric */
.rubric-cat {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.rubric-cat-header {
  padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
}
.rubric-cat-header.dragging { opacity: 0.5; }
.drag-handle {
  cursor: grab;
  color: var(--text-subtle);
  width: 20px;
  display: grid; place-items: center;
}
.rubric-cat-header.editable .drag-handle:active { cursor: grabbing; }
.rubric-cat-name { font-weight: 600; flex: 1; font-size: 14px; }
.rubric-cat-bobot {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-muted);
}
.bobot-input {
  width: 56px;
  text-align: right;
  font-family: var(--mono);
}
.rubric-indicators { padding: 4px 0; }
.rubric-indicator {
  padding: 8px 14px 8px 38px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px;
  border-bottom: 1px solid var(--bg-muted);
}
.rubric-indicator:last-child { border-bottom: 0; }
.rubric-indicator input[type=checkbox] { flex-shrink: 0; }
.rubric-indicator-text { flex: 1; }

.bobot-total {
  padding: 10px 14px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
  margin-bottom: 14px;
}
.bobot-total.ok { background: var(--success-soft); color: var(--success); border-color: transparent; }
.bobot-total.err { background: var(--danger-soft); color: var(--danger); border-color: transparent; }

.inherit-hint {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 14px;
  background: #eff6ff;
  color: #1e3a8a;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 12px;
}
.inherit-hint .nav-icon { flex-shrink: 0; margin-top: 1px; }
.inherit-hint strong { font-weight: 600; }

.locked-hint {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 14px;
  background: #fef3c7;
  color: #78350f;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 12px;
}
.locked-hint .nav-icon { flex-shrink: 0; margin-top: 1px; }
.locked-hint strong { font-weight: 600; }

.scale-warn {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 14px;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}
.scale-warn .nav-icon { flex-shrink: 0; margin-top: 1px; color: #dc2626; }
.scale-warn strong { font-weight: 600; }

.scale-info {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 14px;
  background: #eff6ff;
  color: #1e3a8a;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}
.scale-info .nav-icon { flex-shrink: 0; margin-top: 1px; }
.scale-info strong { font-weight: 600; }

/* Drag-over visual */
.rubric-cat.drag-over { border-color: var(--primary); border-style: dashed; }

/* Score scale picker */
.score-pill { display: inline-flex; gap: 6px; }
.score-pill button {
  padding: 5px 10px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--text);
  border-radius: 6px;
  font-size: 12.5px;
  font-family: var(--mono);
}
.score-pill button.active { background: var(--primary); color: white; border-color: var(--primary); }
.score-pill.locked { position: relative; padding-right: 22px; }
.score-pill.locked button { cursor: not-allowed; opacity: 0.6; }
.score-pill.locked button.active { background: var(--text-muted); border-color: var(--text-muted); opacity: 0.85; }
.score-pill .lock-mini { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }

/* Score input cell */
.score-input {
  width: 90px;
  text-align: center;
  font-family: var(--mono);
}

/* Login as banner */
.login-as-banner {
  background: #fef3c7;
  color: #78350f;
  padding: 8px 28px;
  font-size: 13px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
  border-bottom: 1px solid #fde68a;
}

/* Chart styles */
.chart-wrap { padding: 16px 0; }
.chart-svg { width: 100%; height: auto; display: block; }
.legend { display: flex; gap: 14px; font-size: 12.5px; flex-wrap: wrap; padding: 0 4px; }
.legend-item { display: flex; align-items: center; gap: 6px; }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; }

/* Save bar - sticky bar for unsaved changes in input forms */
.save-bar { display: flex; align-items: center; gap: 10px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px 16px; margin-bottom: 16px; position: sticky; top: 8px; z-index: 20; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }

/* Unified sticky action bar - nav prev/next + save, di halaman input rubrik guru */
.guru-action-bar {
  position: sticky;
  top: 52px; /* tepat di bawah topbar */
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--border);
  padding: 8px 0 10px;
  margin-bottom: 20px;
}
/* Desktop: nama guru truncate dengan max-width */
.guru-name-label {
  max-width: 220px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  flex-shrink: 1;
  min-width: 0;
}
@media (max-width: 768px) {
  /* Action bar: sticky di bawah topbar (44px) */
  .guru-action-bar {
    position: sticky;
    top: 44px;
    z-index: 35;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--border);
    padding: 6px 0 8px;
    margin-bottom: 12px;
    flex-wrap: nowrap;
    gap: 4px;
  }
  /* Sembunyikan teks panjang - tombol jadi ‹ dan › saja */
  .guru-nav-label { display: none; }
  /* Sembunyikan save status, Batal, dan Save - di mobile pakai FAB */
  .guru-save-status, .guru-batal-btn, .guru-save-btn { display: none; }
  /* Nama guru tampil di action bar - scrollable horizontal, bisa geser lihat nama lengkap */
  .guru-name-label {
    display: block;
    flex: 1;
    min-width: 0;
    max-width: none;
    overflow-x: auto;
    overflow-y: hidden;
    text-overflow: clip;
    scrollbar-width: none;   /* Firefox */
    -webkit-overflow-scrolling: touch;
  }
  .guru-name-label::-webkit-scrollbar { display: none; }
  .guru-name-sep { display: block; }
  /* Score card lebih compact */
  .guru-score-card { padding: 14px 16px; }
  .guru-score-num { font-size: 26px !important; }
}
@media print { .guru-action-bar { display: none; } }

/* Detail raport box */
.detail-grid { display: grid; grid-template-columns: 1.2fr 1.4fr; gap: 16px; }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 6px 12px; font-size: 13.5px; }
.kv .k { color: var(--text-muted); }
.kv .v { font-weight: 500; }

/* Mobile responsive */
.sidebar-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 60;
}
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .app-layout { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed;
    left: 0; top: 0;
    width: 280px;
    max-width: 85vw;
    z-index: 70;
    transform: translateX(-100%);
    transition: transform 0.2s;
    box-shadow: var(--shadow-lg);
  }
  .sidebar.open { transform: translateX(0); }
  .sidebar.open ~ .sidebar-overlay { display: block; }
  .mobile-menu-btn { display: grid; place-items: center; }
  .topbar { padding: 10px 16px; }
  .page { padding: 16px; }
  .page-title { font-size: 18px; }
  .page-header { gap: 10px; }
  .login-wrap { grid-template-columns: 1fr; }
  .login-left { padding: 28px; }
  .login-tagline { font-size: 24px; }
  .login-right { padding: 28px 20px; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .card { padding: 16px; }
  table.t th, table.t td { padding: 9px 10px; font-size: 12.5px; }
  .table-toolbar { padding: 10px 12px; }

}

/* cat-nav hidden by default on desktop; overridden inside 640px query below */
.cat-nav-scroll { display: none; }

/* Floating save FAB - hidden on desktop, shown on mobile when isDirty */
.guru-fab-save { display: none; }
@media (max-width: 768px) {
  .guru-fab-save {
    display: grid;
    place-items: center;
    position: fixed;
    bottom: 76px;
    right: 20px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
    z-index: 100;
    transition: transform 0.15s, opacity 0.15s;
  }
  .guru-fab-save:active { transform: scale(0.93); }
  .guru-fab-save:disabled {
    background: var(--danger);
    cursor: not-allowed;
    font-size: 18px;
  }
}

/* ==== Dashboard tabel: sembunyikan kolom Jabatan di mobile ==== */
@media (max-width: 640px) {
  .dash-col-jabatan { display: none; }
}

/* ==== Yayasan Dashboard: bar lists & tables responsive (≤ 640px) ==== */
@media (max-width: 640px) {
  /* Bar list rows: shrink fixed-width school-name labels */
  .dash-bar-row > .dash-bar-label { flex: 0 0 96px !important; font-size: 11.5px !important; }
  .dash-bar-row > .dash-bar-value { flex: 0 0 38px !important; font-size: 11.5px !important; }
  .dash-bar-row > .dash-bar-meta  { flex: 0 0 auto !important; font-size: 10.5px !important; }

  /* Kategori rubrik grid: force 1 column (minmax 340px > 375vw) */
  .dash-kategori-grid { grid-template-columns: 1fr !important; }

  /* Dashboard tables (Top10, Skor Terendah, Performa Sekolah, Histori Login):
     not in .table-wrap so use horizontal scroll instead of stacking */
  .dash-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .dash-table-scroll table.t { min-width: 100%; }

  /* Performa Sekolah: hide sparkline column in mobile (sparkline ditampilkan
     di card "Rata-rata Skor Guru per Sekolah" yang lebih ringkas) */
  .dash-col-trend { display: none; }

  /* Trend chart inside cards - ensure the SVG is responsive */
  .card svg { max-width: 100%; height: auto; }
}

/* ==== Review Lintas Sekolah: grade distribution card (≤ 640px) ==== */
@media (max-width: 640px) {
  .rl-grade-distrib { gap: 10px !important; padding: 10px 12px !important; }
  .rl-grade-distrib > .rl-grade-total { margin-left: 0 !important; flex-basis: 100%; }
  .rl-grade-distrib > div { font-size: 12px; }
  .rl-grade-distrib > div > span:nth-child(2) { font-size: 15px !important; }
  /* Allow horizontal scroll for table */
  .rl-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  /* Header right column (filter year + back button): full width, left-align */
  .rl-header-right { align-items: stretch !important; width: 100%; }
  .rl-header-right .form-control { min-width: 0 !important; width: 100%; }
}

/* ==== Review Tahunan tabel: sembunyikan kolom sekunder di mobile ==== */
@media (max-width: 640px) {
  .rt-col-secondary { display: none; }
}

/* ==== Review Tahunan grafik: collapsible di mobile ==== */
/* Desktop: toggle button disembunyikan, grafik selalu tampil */
.chart-mobile-toggle { display: none; }

/* Mobile: toggle button muncul, grafik bisa disembunyikan */
@media (max-width: 640px) {
  .chart-mobile-toggle { display: block; }
  .chart-mobile-hidden { display: none; }
}

/* ==== Mobile: stacked card tables (≤ 640px) ==== */
@media (max-width: 640px) {
  /* Stack page-header so actions wrap below title cleanly */
  .page-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .page-actions { width: 100%; justify-content: flex-start; }
  .page-actions .select { flex-basis: 100%; min-width: 0; }

  /* Stacked card layout - ONLY tables inside .table-wrap (guru list / hasil penilaian) */
  .table-wrap table.t thead { display: none; }
  .table-wrap table.t, .table-wrap table.t tbody, .table-wrap table.t tr { display: block; }
  .table-wrap table.t tr {
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 10px;
    background: var(--bg-elev);
    overflow: hidden;
  }
  .table-wrap table.t td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 14px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    gap: 8px;
    min-height: 38px;
  }
  .table-wrap table.t td:last-child { border-bottom: none; }
  .table-wrap table.t td[data-label]::before {
    content: attr(data-label);
    font-size: 10.5px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600;
    min-width: 76px;
    flex-shrink: 0;
    text-align: left;
  }
  .table-wrap table.t td.actions { justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
  .table-wrap table.t td.actions::before { display: none; }
  /* Semua elemen langsung di card cell: compact rata kanan */
  .table-wrap table.t td[data-label] > span,
  .table-wrap table.t td[data-label] > div,
  .table-wrap table.t td[data-label] > strong,
  .table-wrap table.t td[data-label] > a {
    flex: 0 0 auto;
    margin-left: auto;
  }

  /* Offset scroll-into-view: topbar 44px + action bar ~44px + cat-nav ~45px + buffer */
  .guru-row    { scroll-margin-top: 148px; }
  .cat-section { scroll-margin-top: 148px; }
  /* Penilaian Guru: hanya topbar 44px + cat-nav ~51px, tidak ada action bar */
  .raport-row  { scroll-margin-top: 104px; }

  /* Rubrik indicator overview table (in .card, 4 cols: indikator/aktif/sudah/aksi) */
  .rubrik-ind-table thead { display: none; }
  .rubrik-ind-table, .rubrik-ind-table tbody, .rubrik-ind-table tr { display: block; }
  .rubrik-ind-table tr {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    gap: 4px 8px;
  }
  .rubrik-ind-table tr:last-child { border-bottom: none; }
  .rubrik-ind-table td:nth-child(1) { /* Indicator text */
    grid-column: 1 / -1; grid-row: 1; font-size: 13px; line-height: 1.45;
  }
  .rubrik-ind-table td:nth-child(2) { /* Dinilai */
    grid-column: 1; grid-row: 2;
    font-size: 12px; color: var(--text-muted);
    display: flex; align-items: center;
  }
  .rubrik-ind-table td:nth-child(2)::before {
    content: "Dinilai: ";
    font-size: 10.5px; font-weight: 600; text-transform: uppercase;
    letter-spacing: .06em; margin-right: 4px;
  }
  .rubrik-ind-table td:nth-child(3) { /* Aksi */
    grid-column: 2; grid-row: 2;
    display: flex; align-items: center; justify-content: flex-end;
  }

  /* Score input table inside category cards - grid layout per row */
  .score-table thead { display: none; }
  .score-table, .score-table tbody, .score-table tr { display: block; }
  .score-table tr {
    display: grid;
    grid-template-columns: 22px 1fr;
    grid-template-rows: auto auto;
    column-gap: 8px;
    row-gap: 6px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }
  .score-table tr:last-child { border-bottom: none; }
  .score-table td:nth-child(1) { grid-column: 1; grid-row: 1; font-size: 11px; color: var(--text-muted); padding-top: 2px; }
  .score-table td:nth-child(2) { grid-column: 2; grid-row: 1; font-size: 13px; line-height: 1.45; }
  .score-table td:nth-child(3) { grid-column: 1 / -1; grid-row: 2; }
  .score-table td:nth-child(3) .score-input { width: 100%; max-width: none; font-size: 16px; padding: 10px 12px; }

  /* Finalisasi info box: 2 col → 1 col */
  .finalisasi-info-grid { grid-template-columns: 1fr !important; }

  /* Category jump nav - sticky below topbar + action bar */
  .cat-nav-scroll {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 10px 0 10px;
    margin: 0 -16px 12px;      /* bleed to page edges */
    padding-left: 16px;
    padding-right: 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    position: sticky;
    top: 44px;                  /* just below topbar */
    z-index: 25;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
  }
  .cat-nav-scroll::-webkit-scrollbar { display: none; }
  /* Input guru page: action bar (~44px) ada di atas, jadi cat-nav geser lebih bawah */
  .guru-input-cat-nav { top: 88px; }
  .cat-nav-pill {
    flex-shrink: 0;
    padding: 6px 13px;
    border-radius: 20px;
    background: var(--bg-elev);
    border: 1.5px solid var(--border);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    color: var(--text);
    white-space: nowrap;
    transition: all .15s;
  }
  .cat-nav-pill:active, .cat-nav-pill.active {
    background: var(--primary-soft);
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
  }

  /* Toolbar: stack all controls vertically */
  .table-toolbar { flex-direction: column; align-items: stretch; }
  .table-toolbar .grow { min-width: 0; }
  .table-toolbar .select { width: 100%; }

  /* Checkbox column: hide in card layout (comparison is desktop-only) */
  .table-wrap table.t td.cb-col { display: none; }

  /* Card cells: allow content to wrap when it has a label prefix */
  .table-wrap table.t td[data-label] { align-items: flex-start; }
  .table-wrap table.t td[data-label] > * { flex: 1; text-align: right; }

  /* === Modal Form Tables: card layout on mobile === */
  /* BebanKerjaModal */
  .beban-item-table { display: block; }
  .beban-item-table thead { display: none; }
  .beban-item-table tbody { display: flex; flex-direction: column; gap: 8px; }
  .beban-item-table tbody tr:not(.empty-row) {
    display: flex; flex-wrap: wrap; gap: 6px;
    background: var(--bg-elev); border: 1px solid var(--border);
    border-radius: 8px; padding: 10px;
  }
  .beban-item-table tbody td { border: none; padding: 0; }
  .beban-item-table tbody tr.empty-row { display: block; padding: 12px; }
  .beban-td-jenis   { width: calc(100% - 42px); order: 1; }  /* 36px del + 6px gap = 42px */
  .beban-td-del     { width: 36px; order: 2; display: flex !important; align-items: flex-start; }
  .beban-td-tingkat { flex: 1; order: 3; min-width: 100px; }
  .beban-td-jp      { order: 4; }
  .beban-td-satuan  { order: 5; }
  .beban-td-subtotal { width: 100%; order: 6; font-size: 11px; color: var(--text-muted); padding-top: 2px !important; }
  .beban-td-subtotal::before { content: "Subtotal: "; }
  .beban-td-ket     { width: 100%; order: 7; }
  .beban-td-jenis select,
  .beban-td-tingkat select,
  .beban-td-ket input { width: 100%; box-sizing: border-box; }

  /* MeritDemeritModal */
  .merit-item-table { display: block; }
  .merit-item-table thead { display: none; }
  .merit-item-table tbody { display: flex; flex-direction: column; gap: 8px; }
  .merit-item-table tbody tr:not(.empty-row) {
    display: flex; flex-wrap: wrap; gap: 6px;
    background: var(--bg-elev); border: 1px solid var(--border);
    border-radius: 8px; padding: 10px;
  }
  .merit-item-table tbody td { border: none; padding: 0; }
  .merit-item-table tbody tr.empty-row { display: block; padding: 12px; }
  .md-td-status { flex: 1; order: 1; min-width: 0; }
  .md-td-del    { width: 36px; order: 2; display: flex !important; align-items: flex-start; }
  .md-td-info   { width: 100%; order: 3; }
  .md-td-aksi   { width: 100%; order: 4; }
  .md-td-ket    { width: 100%; order: 5; }
  .md-td-status select,
  .md-td-info input,
  .md-td-aksi select,
  .md-td-ket input { width: 100%; box-sizing: border-box; }

  /* Merit/Demerit saran section: border-left → border-top saat stacked */
  .merit-saran-section {
    border-left: none !important;
    border-top: 1px solid #bfdbfe;
    padding-left: 0 !important;
    padding-top: 10px;
    align-self: auto !important;
  }
}


/* Print */
/* Watermark DRAFT - tersembunyi di layar, muncul saat print */
.draft-watermark {
  display: none;
}

@media print {
  .draft-watermark {
    display: block;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 96pt;
    font-weight: 900;
    color: rgba(200, 30, 30, 0.10);
    letter-spacing: 0.15em;
    pointer-events: none;
    z-index: 9999;
    white-space: nowrap;
    user-select: none;
  }
}

@media print {
  @page {
    margin: 1.5cm 1.5cm 2cm 1.5cm;
    size: A4 portrait;
    @bottom-right {
      content: "Halaman " counter(page) ".";
      font-size: 8pt;
      color: #555;
    }
  }

  /* Paksa warna background & teks tetap muncul */
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }

  body { background: white !important; font-size: 10.5pt; color: #111; }

  /* Sembunyikan semua elemen UI - navigasi, tombol, modal */
  .sidebar, .topbar, .mode-banner, .login-as-banner { display: none !important; }
  .page-actions { display: none !important; }
  .btn { display: none !important; }
  .modal-backdrop { display: none !important; }
  .toast-host { display: none !important; }

  /* Reset layout wrapper */
  .app-layout { display: block !important; }
  .main { display: block !important; min-height: auto !important; }
  .page { padding: 0 !important; max-width: 100% !important; }
  .page-header { margin-bottom: 12px !important; flex-wrap: nowrap !important; }
  .page-title { font-size: 15pt !important; }
  .page-subtitle { font-size: 10pt !important; }

  /* Paksa grid tetap multi-kolom di print */
  .grid-4 { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 8px !important; }
  .grid-3 { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 8px !important; }
  .grid-2 { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .detail-grid { display: grid !important; grid-template-columns: 1.2fr 1.4fr !important; gap: 10px !important; }

  /* Kartu */
  .card {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .stat-card {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
    break-inside: avoid;
  }
  .stat-value { font-size: 18pt !important; }

  /* Tabel */
  .table-wrap { box-shadow: none !important; border: 1px solid #ddd !important; }
  table.t th, table.t td { padding: 6px 10px !important; font-size: 10pt !important; }
  table.t thead { display: table-header-group; }

  /* Padding */
  .mb-4 { margin-bottom: 10px !important; }
  .mb-3 { margin-bottom: 8px !important; }

  /* Print-only header - tersembunyi di layar, tampil saat cetak */
  .print-header { display: block !important; }
  .no-print { display: none !important; }

  /* Footer berulang di setiap halaman - position:fixed repeat di Chrome print */
  .print-footer {
    display: block !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 5px 0 3px;
    border-top: 1px solid #ccc;
    font-size: 8pt;
    color: #555;
    background: white;
    text-align: center;
  }

  /* Line chart: paksa fit dalam kolom saat cetak, jangan overflow ke samping */
  .chart-wrap { padding: 8px 0 !important; overflow: visible !important; }
  .chart-wrap > div { overflow: visible !important; }
  .chart-wrap svg { width: 100% !important; max-width: 100% !important; height: auto !important; }
}

/* Kelas helper: tersembunyi saat cetak */
.no-print { }

/* Header & footer khusus cetak - tersembunyi di layar */
.print-footer {
  display: none;
}

.print-header {
  display: none;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 2px solid #1e40af;
}

/* Helpers */
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 12.5px; }
.text-xs { font-size: 11.5px; }
.text-mono { font-family: var(--mono); }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.w-full { width: 100%; }
.hidden { display: none; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.uppercase { text-transform: uppercase; letter-spacing: 0.04em; }
