/* =========================================================================
   6A Goal Setting — navy enterprise UI
   Palet: navy #0b1b34 … #163a63, aksen biru #2563eb, aksen capaian hijau #16a34a
   ========================================================================= */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy-950: #08182c;
  --navy-900: #0b1b34;
  --navy-800: #102a4c;
  --navy-700: #163a63;
  --navy-600: #1d4b7d;
  --navy-500: #2b6199;

  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #eaf1ff;
  --green: #16a34a;
  --green-dark: #15803d;
  --green-soft: #e8f8ee;
  --amber: #b45309;
  --amber-soft: #fef4e6;
  --red: #c0392b;
  --red-soft: #fdeceb;
  --violet: #6d28d9;
  --violet-soft: #f1ecfe;

  --bg: #f3f6fb;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --ink: #0f1c2e;
  --ink-2: #37465c;
  --muted: #5e6e86;
  --line: #e3e9f1;
  --line-strong: #cfd8e6;

  --radius: 12px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(16, 42, 76, .05);
  --shadow: 0 6px 20px rgba(16, 42, 76, .07);

  --sidebar-w: 254px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p { margin: 0; }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; }
img, svg { display: block; }

.ico { width: 19px; height: 19px; flex: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------------------------------------------------------------- layout */
.app { min-height: 100vh; }

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-w);
  display: flex;
  flex-direction: column;
  padding: 18px 14px 16px;
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-800) 55%, #0a1c33 100%);
  color: #c3d2e6;
  z-index: 60;
  overflow-y: auto;
}
.sidebar::after {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 220px;
  background: radial-gradient(120% 80% at 10% 0%, rgba(37, 99, 235, .35), transparent 70%);
  pointer-events: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 4px 6px 22px;
  color: #fff;
  position: relative;
  z-index: 1;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #1e40af, #0f766e);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .22);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -.02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; }
.brand-text small { font-size: 9.5px; letter-spacing: .13em; color: #8ea6c4; margin-top: 3px; }

.sidebar-label {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7189a8;
  padding: 0 10px 8px;
  position: relative;
  z-index: 1;
}

.nav { display: flex; flex-direction: column; gap: 3px; position: relative; z-index: 1; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 11px;
  border-radius: 9px;
  color: #a9bcd4;
  font-size: 13.5px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background .15s, color .15s;
}
.nav-link:hover { background: rgba(255, 255, 255, .06); color: #fff; text-decoration: none; }
.nav-link .ico { width: 18px; height: 18px; opacity: .85; }
.nav-link.is-active {
  background: linear-gradient(90deg, rgba(37, 99, 235, .30), rgba(37, 99, 235, .12));
  border-color: rgba(96, 165, 250, .28);
  color: #fff;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.nav-link.is-active .ico { color: #93c5fd; opacity: 1; }
.nav-link.is-active::before {
  content: '';
  width: 3px; height: 18px;
  border-radius: 3px;
  background: var(--green);
  margin-left: -8px;
  margin-right: 5px;
  box-shadow: 0 0 10px rgba(22, 163, 74, .6);
}

.sidebar-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  position: relative;
  z-index: 1;
}
.user-chip { display: flex; align-items: center; gap: 10px; padding: 4px 4px 12px; }
.user-chip-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.user-chip-text strong { font-size: 12.5px; color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-chip-text small { font-size: 11px; color: #8ea6c4; }
.sidebar-actions { display: flex; gap: 6px; }
.sidebar-actions .logout { flex: 1; justify-content: center; font-size: 12px; }
.sidebar-actions .logout:hover { background: rgba(59, 130, 246, .16); color: #bfdbfe; border-color: rgba(147, 197, 253, .3); }
.logout {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 10px; border-radius: 8px;
  color: #9fb3cc; font-size: 12.5px; font-weight: 500;
  border: 1px solid rgba(255, 255, 255, .12);
}
.logout:hover { background: rgba(220, 38, 38, .16); color: #fecaca; border-color: rgba(248, 113, 113, .3); text-decoration: none; }
.logout .ico { width: 17px; height: 17px; }

.main { margin-left: var(--sidebar-w); min-height: 100vh; display: flex; flex-direction: column; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 28px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  min-height: 68px;
}
.menu-toggle {
  display: none;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 9px;
  color: var(--ink-2);
  cursor: pointer;
}
.topbar-title { min-width: 0; }
.topbar-title h1 { font-size: 19px; font-weight: 700; letter-spacing: -.015em; color: var(--navy-900); }
.topbar-title .sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

.content { padding: 22px 28px 44px; width: 100%; max-width: 1500px; }

/* ---------------------------------------------------------------- period */
.period-picker {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.pp-btn {
  display: grid; place-items: center;
  width: 32px; height: 36px;
  color: var(--ink-2);
  background: #fff;
  border: 0;
}
.pp-btn:hover { background: var(--surface-2); color: var(--blue-dark); text-decoration: none; }
.pp-btn .ico { width: 16px; height: 16px; }
.pp-form { display: flex; }
.pp-form input[type="month"] {
  border: 0;
  border-inline: 1px solid var(--line);
  padding: 0 8px;
  height: 36px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-800);
  background: #fff;
  width: 146px;
}
.pp-form input[type="month"]:focus { outline: 2px solid var(--blue); outline-offset: -2px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.2;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn:hover { text-decoration: none; }
.btn .ico { width: 17px; height: 17px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #2f6fe4, var(--blue-dark));
  border-color: #1e40af;
  box-shadow: 0 2px 6px rgba(29, 78, 216, .25), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-primary:hover { background: linear-gradient(180deg, #2560cf, #1a44c0); }
.btn-navy {
  color: #fff;
  background: linear-gradient(180deg, var(--navy-700), var(--navy-900));
  border-color: var(--navy-900);
}
.btn-navy:hover { background: linear-gradient(180deg, var(--navy-600), var(--navy-800)); }
.btn-ghost { background: #fff; border-color: var(--line-strong); color: var(--ink-2); }
.btn-ghost:hover { background: var(--surface-2); border-color: #b9c6d8; color: var(--ink); }
.btn-danger { background: var(--red-soft); color: #a5261b; border-color: #f3c5c0; }
.btn-danger:hover { background: #fbdad6; }
.btn-sm { padding: 6px 10px; font-size: 12.5px; border-radius: 8px; }
.btn-sm .ico { width: 15px; height: 15px; }
.btn-block { width: 100%; }
.icon-btn {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 17px;
  line-height: 1;
}
.icon-btn:hover { background: var(--surface-2); color: var(--ink); border-color: var(--line); }
.icon-btn .ico { width: 17px; height: 17px; }

/* ---------------------------------------------------------------- cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
}
.card-head h2, .card-head h3 { font-size: 14.5px; font-weight: 700; color: var(--navy-900); letter-spacing: -.01em; }
.card-head .sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.card-head .head-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.card-body { padding: 18px; }
.card-body.tight { padding: 0; }
.card-foot { padding: 12px 18px; border-top: 1px solid var(--line); background: var(--surface-2); border-radius: 0 0 var(--radius) var(--radius); }

.stack > * + * { margin-top: 18px; }
.grid { display: grid; gap: 16px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { grid-template-columns: minmax(0, 1.25fr) minmax(0, .95fr); }
.split-even { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* KPI */
.kpi {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
  padding: 15px 18px;
  box-shadow: var(--shadow-sm);
}
.kpi-head { display: flex; align-items: center; gap: 8px; }
.kpi-label { font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.kpi-ico { margin-left: auto; color: #9fb0c7; }
.kpi-ico .ico { width: 18px; height: 18px; }
.kpi-value { font-size: 27px; font-weight: 750; letter-spacing: -.03em; color: var(--navy-900); margin-top: 5px; font-variant-numeric: tabular-nums; }
.kpi-value small { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.kpi-hint { font-size: 12px; color: var(--muted); margin-top: 3px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.kpi-good { border-left-color: var(--green); }
.kpi-good .kpi-value { color: var(--green-dark); }
.kpi-warn { border-left-color: #d97706; }
.kpi-bad { border-left-color: var(--red); }
.kpi-navy { border-left-color: var(--navy-700); }

/* ---------------------------------------------------------------- tables */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
}
.table th {
  text-align: left;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--navy-700);
  background: linear-gradient(180deg, #f4f8fe, #e9f0fa);
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-strong);
  border-top: 1px solid transparent;
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 2;
}
.table th::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, rgba(37, 99, 235, .45), rgba(37, 99, 235, 0));
  opacity: 0;
  transition: opacity .2s;
}
.table:hover th::after { opacity: 1; }
.table td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--ink-2); }
.table tbody tr { position: relative; transition: background-color .18s ease, box-shadow .18s ease; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #f6faff; }
.table tbody tr:hover { box-shadow: inset 3px 0 0 var(--blue); }
.table tbody tr.is-fresh { animation: row-flash 1.9s ease-out 1; }
@keyframes row-flash {
  0% { background-color: rgba(37, 99, 235, .14); }
  100% { background-color: transparent; }
}
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table .strong { color: var(--ink); font-weight: 600; }
.table .name-cell { display: flex; align-items: center; gap: 9px; min-width: 0; }
.table .name-cell .nm { color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.table .name-cell .em { font-size: 11.5px; color: var(--muted); }
.table tfoot td { background: var(--surface-2); font-weight: 700; color: var(--navy-900); border-top: 1px solid var(--line-strong); }
.table-scroll { max-height: 440px; overflow: auto; border-radius: 0 0 var(--radius) var(--radius); }
.table-actions { display: flex; gap: 6px; justify-content: flex-end; }
/* Perangkat sentuh: area sentuh ikon sedikit lebih besar. */
html.is-touch .icon-btn { width: 36px; height: 36px; }
html.is-touch .card-menu .icon-btn { width: 34px; height: 34px; }
.row-link { color: var(--navy-800); font-weight: 600; }
.row-link:hover { color: var(--blue-dark); }
.row-highlight td { background: #eef5ff !important; }

/* Baris tabel masuk berurutan (indeks diisi assets/app.js lewat --row-i). */
.table tbody tr { animation: row-in .34s cubic-bezier(.22, .61, .36, 1) backwards; animation-delay: calc(var(--row-i, 0) * 26ms); }
/* Hanya transform: elemen dengan opacity 0 tidak dihitung sebagai cat pertama
   oleh browser, sehingga LCP ikut tertunda. Transform tidak punya efek itu. */
@keyframes row-in {
  from { transform: translateY(7px); }
  to { transform: none; }
}
.table tbody tr:hover { z-index: 1; }

/* Progress bar tumbuh dari 0 saat halaman tampil (lebar target tetap ada di HTML). */
.progress > span { transform-origin: left center; }
.progress.is-animating > span { transition: width .7s cubic-bezier(.22, .61, .36, 1); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.45;
  white-space: nowrap;
}
.chip .ico { width: 13px; height: 13px; }
.chip-achv { font-variant-numeric: tabular-nums; }
.chip-achv.is-good { background: var(--green-soft); color: var(--green-dark); border: 1px solid #bfe8cd; }
.chip-achv.is-ok { background: #e8f7f3; color: #0f766e; border: 1px solid #bfe6dd; }
.chip-achv.is-warn { background: var(--amber-soft); color: var(--amber); border: 1px solid #f6dcb8; }
.chip-achv.is-bad { background: var(--red-soft); color: #a5261b; border: 1px solid #f4cac5; }
.chip-achv.is-neutral { background: #eef1f6; color: var(--muted); border: 1px solid #dfe5ee; }

.chip-status.st-rencana { background: #eef2f7; color: #475569; border: 1px solid #dbe3ee; }
.chip-status.st-eksekusi { background: var(--blue-soft); color: #1d4ed8; border: 1px solid #c9dbff; }
.chip-status.st-tindak_lanjut { background: var(--amber-soft); color: var(--amber); border: 1px solid #f6dcb8; }
.chip-status.st-pending { background: var(--violet-soft); color: var(--violet); border: 1px solid #ddd0fb; }
.chip-status.st-berhasil { background: var(--green-soft); color: var(--green-dark); border: 1px solid #bfe8cd; }
.chip-status.st-belum_berhasil { background: var(--red-soft); color: #a5261b; border: 1px solid #f4cac5; }
/* status lama (data sebelum migrasi) tetap punya warna */
.chip-status.st-todo { background: #eef2f7; color: #475569; border: 1px solid #dbe3ee; }
.chip-status.st-in_progress { background: var(--blue-soft); color: #1d4ed8; border: 1px solid #c9dbff; }
.chip-status.st-done { background: var(--green-soft); color: var(--green-dark); border: 1px solid #bfe8cd; }

.chip-level { background: #eef3fa; color: var(--navy-700); border: 1px solid #d8e3f1; font-size: 10.5px; letter-spacing: .02em; }
.chip-level.lv-presiden { background: #eaf0ff; color: #1e3a8a; border-color: #cddaff; }
.chip-level.lv-dash5 { background: #eaf1ff; color: #1d4ed8; border-color: #d3e0ff; }
.chip-level.lv-dash4 { background: #edf7f5; color: #0f766e; border-color: #cbe9e2; }
.chip-level.lv-dash3 { background: #f4f1fe; color: #5b21b6; border-color: #e2d9fb; }
.chip-level.lv-leader_one { background: #fdf5e8; color: #a16207; border-color: #f6e4c3; }
.chip-level.lv-master {
  background: linear-gradient(180deg, #0b1b34, #163a63);
  color: #e2ecff;
  border-color: #163a63;
  letter-spacing: .04em;
}

/* panel tautan reset sekali pakai */
.reset-panel {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(180deg, #eef4ff, #e4eeff);
  border: 1px solid #c9dcff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, .10);
}
.reset-panel-head { display: flex; gap: 10px; align-items: flex-start; }
.reset-panel-head .ico { width: 18px; height: 18px; color: var(--blue-dark); margin-top: 2px; flex: none; }
.reset-panel-head strong { display: block; font-size: 13.5px; color: var(--navy-900); }
.reset-panel-head span { display: block; font-size: 12px; color: #3f5574; margin-top: 2px; line-height: 1.5; }
.reset-link-row { display: flex; gap: 8px; margin-top: 10px; }
.reset-link-row input {
  flex: 1;
  min-width: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  padding: 8px 10px;
  border: 1px solid #b9d0f4;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.reset-panel code { font-size: 11.5px; background: #fff; padding: 1px 5px; border-radius: 4px; border: 1px solid #c9dcff; }

.chip-danger { background: var(--red-soft); color: #a5261b; border: 1px solid #f4cac5; }
.chip-today { background: var(--blue-soft); color: var(--blue-dark); border: 1px solid #c9dbff; }
.chip-muted { background: #f1f4f8; color: var(--muted); border: 1px solid #e1e7f0; }
.chip-date { background: #f5f7fb; color: var(--ink-2); border: 1px solid #e5eaf2; }
.chip-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; padding: 0; }

/* ---------------------------------------------------------------- forms */
.form-grid { display: grid; gap: 14px; }
.form-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-inline { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.form-inline .field { min-width: 150px; flex: 1 1 150px; }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field > label { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.field .hint { font-size: 11.5px; color: var(--muted); }
.input, .select, .field input, .field select, .field textarea {
  width: 100%;
  padding: 9px 11px;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  min-height: 38px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 80px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus,
.input:focus, .select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
}
.field input[type="number"] { font-variant-numeric: tabular-nums; }
.field-actions { display: flex; align-items: flex-end; gap: 8px; }
.form-note { font-size: 12px; color: var(--muted); }
.form-note strong { color: var(--ink-2); }
.divider { height: 1px; background: var(--line); margin: 16px 0; border: 0; }

.alert {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 16px;
  border: 1px solid transparent;
}
.alert .ico { width: 17px; height: 17px; margin-top: 1px; flex: none; }
.alert-ok { background: var(--green-soft); border-color: #bfe8cd; color: #14532d; }
.alert-error { background: var(--red-soft); border-color: #f4cac5; color: #7f1d1d; }
.alert-warn { background: var(--amber-soft); border-color: #f6dcb8; color: #78350f; }

/* ---------------------------------------------------------------- progress */
.progress {
  height: 8px;
  background: #e8edf6;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(16, 42, 76, .06);
}
.progress > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--navy-700), var(--blue));
  transition: width .6s cubic-bezier(.22, .61, .36, 1);
}
.progress.is-good > span { background: linear-gradient(90deg, var(--green-dark), #22c55e); }
.progress.is-ok > span { background: linear-gradient(90deg, #0f766e, #14b8a6); }
.progress.is-warn > span { background: linear-gradient(90deg, #b45309, #f59e0b); }
.progress.is-bad > span { background: linear-gradient(90deg, #b91c1c, #ef4444); }
.progress.is-neutral > span { background: #b6c2d4; }
.progress-lg { height: 12px; }

.achievement-block { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.achievement-big { font-size: 38px; font-weight: 780; letter-spacing: -.04em; color: var(--navy-900); font-variant-numeric: tabular-nums; line-height: 1; }
.achievement-big.is-good { color: var(--green-dark); }
.achievement-big small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.metric-row { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--muted); }
.metric-row strong { color: var(--ink); }

/* ---------------------------------------------------------------- kanban */
.kanban {
  display: grid;
  /* 6 tahap: kolom ramping supaya keenamnya terlihat pada layar 1280px tanpa geser. */
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  gap: 9px;
  align-items: start;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x proximity;
}
.kanban-col {
  --st: #64748b;
  --st-soft: #eef2f7;
  background: #f4f7fb;
  border: 1px solid var(--line);
  border-top: 3px solid var(--st);
  border-radius: 11px;
  padding: 10px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  scroll-snap-align: start;
}
.kanban-col[data-status="rencana"] { --st: #64748b; --st-soft: #eef2f7; }
.kanban-col[data-status="eksekusi"] { --st: #2563eb; --st-soft: #eaf1ff; }
.kanban-col[data-status="tindak_lanjut"] { --st: #d97706; --st-soft: #fef4e6; }
.kanban-col[data-status="pending"] { --st: #7c3aed; --st-soft: #f1ecfe; }
.kanban-col[data-status="berhasil"] { --st: #16a34a; --st-soft: #e8f8ee; }
.kanban-col[data-status="belum_berhasil"] { --st: #b91c1c; --st-soft: #fdecec; }
.kanban-col.is-drop-target { background: #eaf2ff; outline: 2px dashed #7aa7f0; outline-offset: -3px; }
.kanban-col-head { padding: 2px 2px 7px; border-bottom: 1px solid var(--line); }
.kanban-col-title { display: flex; align-items: center; gap: 8px; }
.kanban-col-title strong { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--st); }
.kanban-count {
  margin-left: auto;
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 8px;
  font-variant-numeric: tabular-nums;
}
.kanban-col-desc { font-size: 11px; color: var(--muted); margin-top: 5px; line-height: 1.45; }
.kanban-col-example { font-size: 10.5px; color: #7c8ba3; margin-top: 3px; font-style: italic; }
.kanban-cards { display: flex; flex-direction: column; gap: 9px; min-height: 40px; }
.kanban-empty { border: 1px dashed var(--line-strong); border-radius: 8px; padding: 12px; text-align: center; font-size: 11.5px; color: #8b9ab1; }
.kanban-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--st);
  border-radius: 9px;
  padding: 9px 10px;
  box-shadow: var(--shadow-sm);
  cursor: grab;
}
.kanban-card:active { cursor: grabbing; }
.kanban-card.dragging { opacity: .45; }
.kanban-card.is-overdue { border-left-color: #dc2626; background: #fffbfb; }
.kanban-card-top { display: flex; align-items: flex-start; gap: 6px; }
.kanban-card-title { font-size: 12.5px; font-weight: 600; color: var(--ink); line-height: 1.4; flex: 1; overflow-wrap: anywhere; }
@media (min-width: 1100px) {
  .kanban-col { padding: 9px; }
  .kanban-card { padding: 8px 9px; }
  .kanban-col-desc { font-size: 10.5px; }
  .kanban-col-example { font-size: 10px; }
}
.card-menu { position: relative; margin: -4px -4px 0 0; }
.card-menu .icon-btn { width: 24px; height: 24px; font-size: 15px; }
.card-menu-list {
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 20;
  min-width: 154px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  box-shadow: var(--shadow);
  padding: 4px;
}
.card-menu-list button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 7px 9px;
  border: 0;
  background: transparent;
  border-radius: 6px;
  font-size: 12.5px;
  color: var(--ink-2);
  cursor: pointer;
}
.card-menu-list button:hover { background: var(--surface-2); }
.card-menu-list button.danger { color: #b91c1c; }
.card-menu-list button.danger:hover { background: var(--red-soft); }
.kanban-card-meta { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.kanban-card-owner {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px dashed #e8eef7;
  font-size: 11.5px;
  color: var(--muted);
}
.kanban-card-owner .avatar {
  width: 24px;
  height: 24px;
  font-size: 9.5px;
  box-shadow: 0 0 0 2px #fff, 0 1px 3px rgba(16, 42, 76, .18);
}
.kanban-card-owner .kco-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}
.kanban-card-owner .kco-text strong {
  font-size: 11.5px;
  font-weight: 650;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kanban-card-owner .kco-text small {
  font-size: 9.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #8595ab;
}
.kanban-more {
  display: block;
  text-align: center;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--navy-700);
  background: #fff;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  padding: 8px;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.kanban-more:hover {
  text-decoration: none;
  border-color: #9fbcdf;
  background: #f4f9ff;
  color: var(--blue-dark);
}
.board-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 14px;
  padding: 10px 13px;
  border-radius: 9px;
  background: var(--amber-soft);
  border: 1px solid #f2dcbb;
  color: #7c4a12;
  font-size: 12.5px;
  line-height: 1.5;
}
.board-note .ico { width: 16px; height: 16px; margin-top: 2px; flex: none; }
.board-note a { color: #8a4b0f; font-weight: 700; }
.kanban-move { margin-top: 8px; }
.kanban-move select {
  width: 100%;
  font-family: inherit;
  font-size: 11.5px;
  color: var(--ink-2);
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 6px;
  padding: 4px 6px;
  min-height: 28px;
}
.kanban-move select:focus { outline: 2px solid var(--blue); outline-offset: 1px; }

/* ---------------------------------------------------------------- avatars */
.avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
  flex: none;
  border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .04);
}
.avatar-sm { width: 27px; height: 27px; font-size: 10px; }
.avatar-lg { width: 52px; height: 52px; font-size: 17px; }
.av-1 { background: linear-gradient(140deg, #1d4ed8, #1e3a8a); }
.av-2 { background: linear-gradient(140deg, #0f766e, #115e59); }
.av-3 { background: linear-gradient(140deg, #b45309, #92400e); }
.av-4 { background: linear-gradient(140deg, #6d28d9, #4c1d95); }
.av-5 { background: linear-gradient(140deg, #be123c, #9f1239); }
.av-6 { background: linear-gradient(140deg, #0369a1, #075985); }
.av-7 { background: linear-gradient(140deg, #15803d, #166534); }
.av-8 { background: linear-gradient(140deg, #475569, #334155); }

/* ---------------------------------------------------------------- misc */
.section-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.section-head h2 { font-size: 15px; font-weight: 700; color: var(--navy-900); letter-spacing: -.01em; }
.section-head .sub { font-size: 12.5px; color: var(--muted); }
.section-head .head-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.flex { display: flex; }
.between { justify-content: space-between; }
.center { align-items: center; }
.wrap { flex-wrap: wrap; }
.gap-6 { gap: 6px; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-20 { margin-top: 20px; }
.mb-8 { margin-bottom: 8px; } .mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; }
.grow { flex: 1; min-width: 0; }
.divider-v { width: 1px; align-self: stretch; background: var(--line); }

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 28px 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  background: #fbfcfe;
  color: var(--muted);
}
.empty-state strong { font-size: 13px; color: var(--ink-2); }
.empty-state p { font-size: 12px; max-width: 380px; }
.empty-ico { color: #a9b8cb; }
.empty-ico .ico { width: 26px; height: 26px; }

.list { display: flex; flex-direction: column; }
.list-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.list-item:last-child { border-bottom: 0; }
.list-item .li-main { min-width: 0; flex: 1; }
.list-item .li-title { font-size: 12.8px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.list-item .li-sub { font-size: 11.5px; color: var(--muted); margin-top: 2px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.list-item .li-sub .ico { width: 13px; height: 13px; opacity: .85; }

.donut-legend { display: grid; gap: 8px; }
.legend-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); }
.legend-dot { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.legend-row .n { margin-left: auto; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- segmented control */
.seg {
  display: inline-flex;
  align-items: stretch;
  gap: 2px;
  padding: 3px;
  background: #eef2f8;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  flex-wrap: wrap;
}
.seg-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.seg-item:hover { text-decoration: none; background: #fff; color: var(--navy-800); }
.seg-item em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 6px;
  font-variant-numeric: tabular-nums;
}
.seg-item.is-active {
  background: #fff;
  color: var(--blue-dark);
  box-shadow: 0 1px 3px rgba(16, 42, 76, .12), inset 0 0 0 1px #cfdefb;
}
.seg-item.is-active em { color: var(--blue-dark); border-color: #cfdefb; background: var(--blue-soft); }
.seg .ico { width: 15px; height: 15px; }

html.is-mobile .seg { width: 100%; }
html.is-mobile .seg-item { flex: 1 1 auto; justify-content: center; min-height: 38px; }

/* ---------------------------------------------------------------- pendaftar menunggu persetujuan */
.nav-badge {
  margin-left: auto;
  background: var(--green);
  color: #fff;
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  line-height: 17px;
  min-width: 17px;
  padding: 0 5px;
  text-align: center;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .18);
}
.tab-badge {
  position: absolute;
  top: 3px;
  right: 50%;
  margin-right: -26px;
  background: var(--green);
  color: #fff;
  border-radius: 999px;
  font-size: 9.5px;
  font-style: normal;
  font-weight: 700;
  padding: 0 5px;
  min-width: 16px;
  line-height: 16px;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
}
.tab-count {
  display: inline-block;
  margin-left: 4px;
  background: var(--green);
  color: #fff;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  padding: 0 6px;
  line-height: 16px;
  vertical-align: 1px;
}
.steps { margin: 8px 0 0; padding-left: 18px; font-size: 12.5px; color: var(--ink-2); line-height: 1.6; }
.steps li { margin-bottom: 4px; }
.steps b { color: var(--navy-900); }

/* ---------------------------------------------------------------- catatan aktivitas (Action Plan) */
.action-add-form { gap: 14px; }
.action-add-form .form-actions { display: flex; justify-content: flex-end; gap: 8px; }
.action-add-form textarea,
#modal-body textarea {
  width: 100%;
  min-height: 92px;
  padding: 9px 11px;
  font-family: inherit;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  resize: vertical;
}
.action-add-form textarea:focus,
#modal-body textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
}
.field-foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.field-foot .counter {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.field-foot .counter.is-warn { color: #b45309; }
.field > label .opt {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy-700);
  background: #eef3fb;
  border: 1px solid #dbe6f5;
  border-radius: 4px;
  padding: 0 4px;
  margin-left: 4px;
  vertical-align: 1px;
}

/* catatan pada kartu kanban */
.kanban-card-note {
  margin: 7px 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-2);
  background: #f7fafd;
  border-left: 2px solid #d5e2f3;
  border-radius: 0 6px 6px 0;
  padding: 5px 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

/* catatan pada tabel daftar */
.action-table .at-title { display: flex; flex-direction: column; gap: 2px; }
.action-table .at-title-text { font-weight: 600; color: var(--ink); }
.action-table .at-note {
  display: block;
  font-size: 11.5px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

html.is-mobile .action-add-form textarea { font-size: 16px; min-height: 110px; }
html.is-mobile .kanban-card-note { -webkit-line-clamp: 4; }

/* ---------------------------------------------------------------- Closing per pekan */
.closing-grid {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
@media (max-width: 1100px) {
  .closing-grid { grid-template-columns: minmax(0, 1fr); }
}

.closing-input-card .card-body { display: flex; flex-direction: column; gap: 16px; }
.closing-form { display: grid; gap: 13px; }
.closing-form .field > label { font-size: 12px; }
.closing-form select,
.closing-form input[type="number"] {
  width: 100%;
  min-height: 42px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 9px 11px;
}
.closing-form select:focus,
.closing-form input[type="number"]:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
}
.closing-form input[type="number"] {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  min-height: 52px;
}
.closing-submit { min-height: 44px; font-size: 14px; }

/* kotak akumulasi */
.closing-total {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: linear-gradient(180deg, #f7faff, #eef4ff);
  padding: 13px 14px;
  display: grid;
  gap: 9px;
}
.closing-total .ct-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink-2);
}
.closing-total .ct-row strong {
  font-size: 22px;
  font-weight: 780;
  letter-spacing: -.03em;
  color: var(--navy-900);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.closing-total .ct-row strong small { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.closing-total .ct-row.ct-muted strong { font-size: 14px; font-weight: 700; }
.closing-total .ct-bar .progress { height: 9px; }

/* daftar pekan */
.week-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.week-item {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 4px 8px 4px 4px;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.week-item:hover { border-color: #c6d6ec; box-shadow: 0 4px 12px rgba(16, 42, 76, .07); }
.week-item.is-filled { background: #fbfdff; border-left: 3px solid var(--green); }
.week-item.is-current { box-shadow: inset 0 0 0 1px #cfdefb; }
.week-link {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 6px;
  color: var(--ink-2);
  border-radius: 8px;
}
.week-link:hover { text-decoration: none; background: #f6faff; }
.week-name { display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap; }
.week-name b { font-size: 13px; color: var(--navy-900); font-weight: 700; }
.week-name small { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.week-units { font-size: 15px; font-weight: 750; color: var(--navy-900); font-variant-numeric: tabular-nums; white-space: nowrap; }
.week-units small { font-size: 10.5px; font-weight: 600; color: var(--muted); }
.week-item.is-filled .week-units { color: var(--green-dark); }
.week-del { color: #b91c1c; }
.week-del:hover { background: var(--red-soft); border-color: #f4cac5; }
.week-sum {
  margin-top: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  background: linear-gradient(180deg, #eef4ff, #e4eeff);
  border: 1px solid #c9dcff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy-800);
}
.week-sum strong { font-size: 19px; font-weight: 800; color: var(--navy-900); font-variant-numeric: tabular-nums; }

html.is-mobile .week-name { gap: 5px; }
html.is-mobile .week-units { font-size: 14px; }
html.is-mobile .closing-form input[type="number"] { font-size: 22px; }

/* ---------------------------------------------------------------- catatan kunci TARGET (Goal) */
.lock-note {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 12.2px;
  line-height: 1.5;
  background: linear-gradient(180deg, #eef4ff, #e6efff);
  border: 1px solid #c9dcff;
  color: #26405f;
}
.lock-note .ico { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--navy-700); }
.lock-note b { color: var(--navy-900); }
.lock-note.is-open {
  background: var(--amber-soft);
  border-color: #f2dcbb;
  color: #7c4a12;
}
.lock-note.is-open .ico { color: var(--amber); }
.lock-note.is-open b { color: #6b3f10; }

/* ---------------------------------------------------------------- keterangan formulir aktivitas */
.form-hints .field > .hint { line-height: 1.5; }
.field > label .req {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #a5261b;
  background: var(--red-soft);
  border: 1px solid #f4cac5;
  border-radius: 4px;
  padding: 0 4px;
  margin-left: 4px;
  vertical-align: 1px;
}

.stage-guide {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--ink-2);
}
.stage-guide .sg-title { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: var(--navy-800); }
.stage-guide .sg-title .ico { width: 15px; height: 15px; }
.stage-guide .sg-item { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; white-space: nowrap; }
.stage-guide .sg-item i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.stage-guide .sg-arrow { color: #9fb0c7; }
.stage-guide .sg-note { flex: 1 1 100%; color: var(--muted); font-size: 11px; margin-top: 2px; }
.stage-guide .sg-note b { color: var(--ink-2); }

@media (max-width: 767px) {
  .stage-guide { font-size: 11px; padding: 8px 10px; }
  .stage-guide .sg-note { display: none; }
}

/* ---------------------------------------------------------------- tabel daftar aktivitas */
.action-table td { vertical-align: middle; }
.action-table .at-title { font-weight: 600; color: var(--ink); min-width: 180px; overflow-wrap: anywhere; }
.action-table .at-date { font-variant-numeric: tabular-nums; }
.action-table tbody tr.row-overdue { box-shadow: inset 3px 0 0 #dc2626; }
.action-table tbody tr.row-overdue:hover { box-shadow: inset 3px 0 0 #dc2626; background: #fffafa; }
.action-table .table-actions { align-items: center; flex-wrap: wrap; }
.at-status {
  font-family: inherit;
  font-size: 11.5px;
  color: var(--ink-2);
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  padding: 5px 7px;
  min-height: 30px;
  max-width: 130px;
}
.at-status:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.at-more {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  padding: 8px;
  border: 1px dashed var(--line-strong);
  border-radius: 9px;
  background: #fbfcfe;
}
html.is-mobile .action-table .at-status { max-width: none; width: 100%; min-height: 38px; font-size: 15px; }
html.is-mobile .action-table td.nowrap { white-space: normal; }

/* ---------------------------------------------------------------- pemilih orang (kanban monitoring) */
.people-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  margin-bottom: 4px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.people-strip::-webkit-scrollbar { height: 6px; }
.people-strip::-webkit-scrollbar-thumb { background: #cfd9e8; border-radius: 99px; }

.person-chip {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  min-width: 168px;
  max-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  box-shadow: var(--shadow-sm);
  color: var(--ink-2);
  scroll-snap-align: start;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease, background .16s ease;
}
.person-chip:hover {
  text-decoration: none;
  border-color: #c6d6ec;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(16, 42, 76, .09);
}
.person-chip.is-active {
  border-color: #9fbcdf;
  background: linear-gradient(180deg, #f4f9ff, #e9f2ff);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, .16), 0 4px 14px rgba(37, 99, 235, .12);
}
.person-chip.is-active .pc-text strong { color: var(--navy-900); }
.person-chip .pc-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}
.person-chip .pc-text strong {
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.person-chip .pc-text small {
  font-size: 10.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.person-chip .pc-count {
  margin-left: auto;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy-700);
  background: #eef3fb;
  border: 1px solid #dbe6f5;
  border-radius: 999px;
  padding: 1px 8px;
  font-variant-numeric: tabular-nums;
}
.person-chip .pc-count.is-late {
  color: #a5261b;
  background: var(--red-soft);
  border-color: #f4cac5;
}
.person-chip .pc-icon {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  flex: none;
}
.person-chip .pc-icon .ico { width: 16px; height: 16px; }
.person-chip-all { border-style: dashed; }
.person-chip-all.is-active { border-style: solid; }
.person-chip.is-active .pc-icon { background: var(--blue); color: #fff; }

@media (max-width: 767px) {
  .person-chip { min-width: 156px; max-width: 210px; padding: 7px 9px; }
  .person-chip .pc-text small { font-size: 10px; }
}

/* ---------------------------------------------------------------- grafik tren */
.trend {
  margin: 0;
  --trend-h: 168px;
  --trend-accent: #1e3a8a;
}
.trend-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.trend-legend { display: flex; gap: 12px; flex-wrap: wrap; }
.trend-key {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-2);
}
.trend-key i, .trend-tip i {
  display: inline-block;
  width: 14px;
  height: 0;
  border-top-width: 2.5px;
  border-top-style: solid;
  border-radius: 2px;
}
.trend-key .k-line, .trend-tip .k-line { border-color: var(--navy-700); }
.trend-key .k-dash, .trend-tip .k-dash { border-color: #94a3b8; border-top-style: dashed; }
.trend-stats { margin-left: auto; font-size: 11px; color: var(--muted); }
.trend-stat b { color: var(--ink); font-variant-numeric: tabular-nums; }

.trend-plot {
  position: relative;
  height: var(--trend-h);
  margin-top: 2px;
}
.trend-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.trend-grid { stroke: #e8eef7; stroke-width: 1; stroke-dasharray: 2 4; }
.trend-area { pointer-events: none; }
.trend-line {
  fill: none;
  stroke: var(--navy-700);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trend-target {
  fill: none;
  stroke: #94a3b8;
  stroke-width: 1.8;
  stroke-dasharray: 5 5;
  stroke-linecap: round;
}

/* Titik & label nilai berupa HTML: tetap bulat walau SVG diregangkan. */
.trend-points { position: absolute; inset: 0; }
.trend-point {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: inherit;
  touch-action: manipulation;
}
.trend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--navy-700);
  box-shadow: 0 1px 4px rgba(16, 42, 76, .22);
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.trend-point.is-hit .trend-dot { border-color: var(--green-dark); }
.trend-point:focus-visible { outline: none; }
.trend-point:focus-visible .trend-dot,
.trend-point.is-active .trend-dot {
  transform: scale(1.45);
  background: var(--navy-700);
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .28), 0 2px 8px rgba(16, 42, 76, .28);
}
.trend-point.is-hit.is-active .trend-dot { background: var(--green-dark); }
.trend-val {
  position: absolute;
  bottom: calc(100% - 6px);
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  white-space: nowrap;
}
.trend-point.is-active .trend-val { opacity: 0; }

/* Garis bantu vertikal yang mengikuti titik aktif. */
.trend-cursor {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  left: var(--cursor-x, 0%);
  background: linear-gradient(180deg, rgba(37, 99, 235, .05), rgba(37, 99, 235, .38), rgba(37, 99, 235, .05));
  opacity: 0;
  transition: opacity .15s ease, left .18s cubic-bezier(.22, .61, .36, 1);
  pointer-events: none;
}
.trend.is-active .trend-cursor { opacity: 1; }

/* Tooltip */
.trend-tip {
  position: absolute;
  left: var(--tip-x, 50%);
  top: var(--tip-y, 0%);
  z-index: 5;
  min-width: 132px;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(11, 27, 52, .96);
  color: #e8effa;
  font-size: 11.5px;
  line-height: 1.45;
  box-shadow: 0 10px 24px rgba(8, 24, 44, .3);
  border: 1px solid rgba(147, 197, 253, .22);
  transform: translate(-50%, calc(-100% - 14px));
  opacity: 0;
  pointer-events: none;
  transition: opacity .14s ease, transform .14s ease;
  display: grid;
  gap: 3px;
}
.trend-tip.is-visible { opacity: 1; transform: translate(-50%, calc(-100% - 18px)); }
.trend-tip::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 9px;
  height: 9px;
  margin-left: -4.5px;
  background: rgba(11, 27, 52, .96);
  border-right: 1px solid rgba(147, 197, 253, .22);
  border-bottom: 1px solid rgba(147, 197, 253, .22);
  transform: rotate(45deg);
}
/* Dibalik ke bawah titik bila ruang di atas tidak cukup. */
.trend-tip.is-below { transform: translate(-50%, 14px); }
.trend-tip.is-below.is-visible { transform: translate(-50%, 18px); }
.trend-tip.is-below::after {
  bottom: auto;
  top: -5px;
  border-right: 0;
  border-bottom: 0;
  border-left: 1px solid rgba(147, 197, 253, .22);
  border-top: 1px solid rgba(147, 197, 253, .22);
}
.trend-tip-label { font-weight: 700; color: #fff; font-size: 11.5px; }
.trend-tip-row { display: flex; align-items: center; gap: 6px; color: #c3d3e8; }
.trend-tip-row b { color: #fff; font-variant-numeric: tabular-nums; }
.trend-tip-achv { font-size: 10.5px; color: #93c5fd; letter-spacing: .02em; }
.trend-tip .k-line, .trend-tip .k-dash { border-color: #93c5fd; width: 11px; }

/* Sumbu bulan */
.trend-axis {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  margin-top: 6px;
  border-top: 1px solid var(--line);
  padding-top: 7px;
}
.trend-axis-label {
  flex: 1 1 0;
  text-align: center;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
  text-transform: capitalize;
  transition: color .15s ease;
}
.trend-axis-label:first-child { text-align: left; }
.trend-axis-label:last-child { text-align: right; }
.trend-axis-label.is-current { color: var(--navy-800); font-weight: 700; }

/* Ringkasan di bawah grafik */
.trend-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}
.trend-metric {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.trend-metric .tm-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trend-metric strong {
  font-size: 14px;
  font-weight: 750;
  color: var(--navy-900);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trend-metric strong small { font-size: 10px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.trend-metric strong.is-up { color: var(--green-dark); }
.trend-metric strong.is-down { color: #b45309; }

@media (max-width: 1099px) {
  .trend-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .trend { --trend-h: 150px; }
  .trend-point { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
  .trend-val { font-size: 9px; }
  .trend-axis-label { font-size: 9.5px; }
}

/* tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tab-btn {
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  cursor: pointer;
  white-space: nowrap;
}
.tab-btn:hover { color: var(--ink); }
.tab-btn.is-active { color: var(--navy-800); border-bottom-color: var(--blue); }

/* tree */
.tree { list-style: none; margin: 0; padding: 0; }
.tree ul { list-style: none; margin: 0; padding-left: 22px; border-left: 1px dashed #cbd7e6; }
.tree > li > ul { margin-left: 14px; }
.tree-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  margin: 5px 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  flex-wrap: wrap;
}
.tree-item .ti-main { display: flex; align-items: center; gap: 9px; min-width: 0; flex: 1; }
.tree-item .ti-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.tree-item .ti-meta { font-size: 11.5px; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; }
.tree-item.is-inactive { opacity: .6; }

/* modal & toast */
.modal-root { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 24, 44, .55); backdrop-filter: blur(2px); }
.modal-panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(8, 24, 44, .35);
  animation: modal-in .18s ease-out;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: none; } }
.modal-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.modal-head h2 { font-size: 15px; font-weight: 700; color: var(--navy-900); }
.modal-head .icon-btn { margin-left: auto; }
.modal-body { padding: 18px; }
.modal-foot { display: flex; gap: 8px; justify-content: flex-end; padding-top: 16px; }

.toast-wrap { position: fixed; right: 18px; bottom: 18px; z-index: 140; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: var(--navy-900);
  color: #fff;
  border-radius: 9px;
  padding: 10px 14px;
  font-size: 12.5px;
  box-shadow: var(--shadow);
  animation: toast-in .2s ease-out;
  max-width: 320px;
}
.toast.is-error { background: #7f1d1d; }
@keyframes toast-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.scrim { display: none; }

/* ---------------------------------------------------------------- auth */
.auth-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(380px, .95fr);
  background: var(--bg);
}
.auth-side {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 44px 46px;
  color: #dbe6f5;
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800) 58%, #102f52);
  overflow: hidden;
}
.auth-side::before {
  content: '';
  position: absolute;
  width: 520px; height: 520px;
  right: -180px; top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, .38), transparent 65%);
}
.auth-side::after {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  left: -140px; bottom: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 163, 74, .22), transparent 65%);
}
.auth-side > * { position: relative; z-index: 1; }
.auth-brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.auth-brand .brand-mark { width: 46px; height: 46px; font-size: 17px; }
.auth-brand strong { font-size: 19px; letter-spacing: -.02em; display: block; }
.auth-brand small { font-size: 10px; letter-spacing: .16em; color: #8fa8c6; }
.auth-hero h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -.035em; font-weight: 750; color: #fff; max-width: 460px; }
.auth-hero p { margin-top: 14px; font-size: 14px; color: #b6c7dd; max-width: 430px; line-height: 1.65; }
.auth-points { display: grid; gap: 12px; margin-top: 28px; }
.auth-point { display: flex; gap: 11px; align-items: flex-start; font-size: 13px; color: #c9d8e9; }
.auth-point span { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(37, 99, 235, .22); border: 1px solid rgba(147, 197, 253, .28); color: #93c5fd; flex: none; }
.auth-point span .ico { width: 15px; height: 15px; }
.auth-foot-note { font-size: 11.5px; color: #7f96b3; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 34px 28px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card > .card { box-shadow: 0 16px 40px rgba(16, 42, 76, .10); }
.auth-card .card-body { padding: 26px; }
.auth-title { font-size: 22px; font-weight: 750; letter-spacing: -.03em; color: var(--navy-900); }
.auth-sub { font-size: 13px; color: var(--muted); margin-top: 5px; margin-bottom: 20px; }
.auth-actions { display: grid; gap: 10px; margin-top: 18px; }
.auth-links { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12.5px; margin-top: 16px; }
.demo-box { margin-top: 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); padding: 12px 14px; }
.demo-box h3 { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.demo-row { display: flex; align-items: center; gap: 8px; font-size: 11.8px; padding: 4px 0; }
.demo-row .lvl { min-width: 76px; color: var(--ink-2); font-weight: 600; }
.demo-row button {
  margin-left: auto;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 6px;
  font-size: 10.5px;
  padding: 2px 7px;
  cursor: pointer;
  color: var(--ink-2);
}
.demo-row button:hover { border-color: var(--blue); color: var(--blue-dark); }
.demo-row code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10.8px; color: var(--ink-2); }
.demo-row .demo-cred { display: flex; flex-direction: column; gap: 1px; min-width: 0; margin-left: auto; text-align: right; }
.demo-row .demo-cred code { font-size: 10.5px; }
.demo-row .demo-pass { color: var(--muted); }
.demo-note { font-size: 10.5px; color: var(--muted); margin: 9px 0 0; line-height: 1.5; border-top: 1px dashed var(--line-strong); padding-top: 8px; }
@media (max-width: 420px) {
  .demo-row { flex-wrap: wrap; gap: 4px; }
  .demo-row .demo-cred { margin-left: 0; text-align: left; }
  .demo-row button { margin-left: auto; }
}

/* =========================================================================
   POLESAN VISUAL & GERAK
   Aturan: transform/opacity saja (murah di compositor), tidak ada request
   tambahan, dan keadaan dasar CSS selalu keadaan akhir. Semua animasi
   dimatikan oleh prefers-reduced-motion di bagian bawah berkas ini.
   ========================================================================= */

/* ---------------------------------------------------------------- transisi halaman */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .16s ease-in both; }
::view-transition-new(root) { animation: vt-in .22s cubic-bezier(.22, .61, .36, 1) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Tidak memberi view-transition-name pada topbar/tabbar/sidebar: elemen sticky &
   fixed bisa bergeser sesaat saat transisi. Cukup crossfade root. */

/* ---------------------------------------------------------------- indikator navigasi */
.nav-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  z-index: 200;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease .12s;
}
.nav-progress.is-active { opacity: 1; }
.nav-progress span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, #1e3a8a, #2563eb 60%, #22c55e);
  box-shadow: 0 0 10px rgba(37, 99, 235, .55);
  transition: width .5s cubic-bezier(.2, .8, .3, 1);
}

/* ---------------------------------------------------------------- topbar saat menggulir */
html.is-scrolled .topbar {
  box-shadow: 0 6px 20px rgba(16, 42, 76, .09);
  border-bottom-color: #d8e2f0;
}
html.is-scrolled .topbar-title h1 { font-size: 17px; }
.topbar-title h1 { transition: font-size .18s ease; }

/* ---------------------------------------------------------------- KPI */
.kpi {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.kpi::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  border-radius: 0 0 var(--radius) var(--radius);
  background: linear-gradient(90deg, var(--blue), transparent);
  opacity: 0;
  transition: opacity .2s ease;
}
.kpi:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(16, 42, 76, .10);
}
.kpi:hover::after { opacity: 1; }
.kpi-value { transition: color .2s ease; }

/* ---------------------------------------------------------------- kartu & tombol */
.card { transition: box-shadow .2s ease, border-color .2s ease; }
.card:hover { border-color: #d9e3f0; }
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--press-x, 50%) var(--press-y, 50%), rgba(255, 255, 255, .28), transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary:active, .btn-navy:active { box-shadow: inset 0 2px 6px rgba(0, 0, 0, .22); }
html.is-touch .btn:active::after { opacity: 1; }

.nav-link { transition: background .15s ease, color .15s ease, padding-left .18s ease; }
.nav-link:hover { padding-left: 14px; }

.chip { transition: transform .15s ease, box-shadow .15s ease; }
.chip-achv:hover { transform: translateY(-1px); box-shadow: 0 3px 8px rgba(16, 42, 76, .10); }

.avatar { transition: box-shadow .2s ease, transform .2s ease; }
.avatar:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(16, 42, 76, .18); }

/* Garis aksen tipis pada kartu utama supaya hierarki terasa. */
.card-head h2 { display: flex; align-items: center; gap: 8px; }
.card-head h2::before {
  content: '';
  width: 3px;
  height: 15px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--blue), var(--navy-700));
  flex: none;
}

/* ---------------------------------------------------------------- cincin capaian */
.ring-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.ring {
  --ring-color: var(--navy-700);
  --ring-track: #e6ecf6;
  position: relative;
  flex: none;
  width: 128px;
  height: 128px;
}
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .ring-track { stroke: var(--ring-track); }
.ring .ring-value {
  stroke: var(--ring-color);
  stroke-linecap: round;
  stroke-dasharray: var(--ring-circ, 339.3);
  stroke-dashoffset: var(--ring-offset, 0);
  filter: drop-shadow(0 1px 3px rgba(37, 99, 235, .28));
}
.ring.align-good { --ring-color: var(--green); }
.ring.align-ok { --ring-color: #0f766e; }
.ring.align-warn { --ring-color: #d97706; }
.ring.align-bad { --ring-color: #dc2626; }
.ring.align-neutral { --ring-color: #94a3b8; --ring-track: #eef1f6; }
.ring-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: 1px;
  padding: 0 calc(var(--ring-size, 128px) * 0.16);
}
.ring-center strong {
  font-size: calc(var(--ring-size, 128px) * 0.21);
  font-weight: 780;
  letter-spacing: -.035em;
  color: var(--navy-900);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.ring-center strong small { font-size: calc(var(--ring-size, 128px) * 0.10); font-weight: 600; color: var(--muted); }
/* Label di dalam cincin: harus muat di area dalam lingkaran. Karena itu ukurannya
   proporsional terhadap --ring-size, boleh turun baris, dan lebarnya dibatasi
   supaya tidak menabrak garis cincin (pernah terjadi pada label panjang
   "Persentase Closing"). */
.ring-center span {
  display: block;
  max-width: 100%;
  margin-top: calc(var(--ring-size, 128px) * 0.02);
  font-size: calc(var(--ring-size, 128px) * 0.068);
  font-weight: 700;
  letter-spacing: .045em;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--muted);
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}
.ring.align-good .ring-center strong { color: var(--green-dark); }
.ring-legend { display: grid; gap: 6px; flex: 1 1 170px; min-width: 0; }
.ring-legend .metric-row { font-size: 12.5px; }

/* ---------------------------------------------------------------- kanban */
.kanban-card {
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, opacity .16s ease;
}
.kanban-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 42, 76, .12);
}
.kanban-card:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.kanban-col { transition: background .16s ease, outline-color .16s ease; }
.kanban-col-head { transition: border-color .16s ease; }
.kanban-count { transition: transform .2s ease, background .2s ease, color .2s ease; }
.kanban-col.is-bumped .kanban-count {
  transform: scale(1.16);
  background: var(--st-soft);
  color: var(--st);
  border-color: var(--st);
}
.kanban-card.just-moved { animation: card-land .42s cubic-bezier(.2, .9, .3, 1) 1; }

/* Kartu yang sedang digeser di layar sentuh (pointer drag). */
html.kanban-dragging { cursor: grabbing; }
html.kanban-dragging body { user-select: none; -webkit-user-select: none; }
.touch-ghost {
  position: fixed;
  z-index: 300;
  pointer-events: none;
  margin: 0;
  transform: rotate(1.2deg) scale(1.03);
  box-shadow: 0 16px 34px rgba(8, 24, 44, .28);
  opacity: .96;
  border-radius: 9px;
}
.kanban-card.is-dragging-touch { opacity: .35; }
/* Saat menggeser, kolom tujuan dibuat lebih menonjol. */
.kanban-col.is-drop-target {
  background: #e8f1ff;
  outline: 2px dashed #7aa7f0;
  outline-offset: -3px;
}
.kanban-col.is-drop-target .kanban-cards { min-height: 60px; }
@keyframes card-land {
  0% { transform: scale(.97) translateY(-6px); box-shadow: 0 12px 24px rgba(37, 99, 235, .22); }
  60% { transform: scale(1.01) translateY(0); }
  100% { transform: none; }
}
.kanban-col.is-drop-target .kanban-cards { min-height: 54px; }

/* ---------------------------------------------------------------- filter tabel */
.filter-input {
  min-height: 34px;
  padding: 6px 10px;
  font-size: 12.5px;
  width: 190px;
  max-width: 100%;
}
.filter-input:not(:placeholder-shown) { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .10); }
tr.filter-empty td {
  text-align: center;
  color: var(--muted);
  font-size: 12.5px;
  padding: 18px;
  background: var(--surface-2);
}

/* ---------------------------------------------------------------- tabel bergerak */
.table tbody td { transition: background-color .16s ease; }
.table tbody tr:hover td:first-child { box-shadow: inset 3px 0 0 var(--blue); }
.table tbody tr:hover .row-link { color: var(--blue-dark); }
.table tbody tr.is-fresh { animation: row-flash 1.9s ease-out 1, row-in .34s cubic-bezier(.22, .61, .36, 1); }

/* ---------------------------------------------------------------- progress & bar */
.progress { position: relative; }
.progress::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
  background-size: 220% 100%;
  opacity: 0;
  pointer-events: none;
}
.progress.is-animating::after { opacity: 1; animation: sheen 1s ease-out 1; }
@keyframes sheen {
  from { background-position: 160% 0; }
  to { background-position: -60% 0; }
}
/* animasi garis tren: gambar dari kiri sekali saat halaman tampil (tanpa library) */
@media (prefers-reduced-motion: no-preference) {
  .trend-line { stroke-dasharray: 1600; animation: draw-line 1s cubic-bezier(.3, .7, .3, 1) 1 both; }
  .trend-area { animation: fade-area .8s ease-out .2s 1 both; }
  @keyframes draw-line { from { stroke-dashoffset: 1600; } to { stroke-dashoffset: 0; } }
  @keyframes fade-area { from { opacity: .2; } to { opacity: 1; } }
}

/* ---------------------------------------------------------------- keadaan kosong & masuk */
.empty-state { animation: rise-in .3s ease-out backwards; }
.empty-ico { animation: bob 3.4s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes rise-in { from { transform: translateY(6px); } to { transform: none; } }

/* Kartu utama masuk berurutan per halaman (tanpa JS). */
.content > .card,
.content > .grid > .card,
.content > .section-head + .grid > .card {
  animation: rise-in .32s cubic-bezier(.22, .61, .36, 1) backwards;
}
.content > .card:nth-child(2) { animation-delay: .04s; }
.content > .card:nth-child(3) { animation-delay: .07s; }
.content > .grid:nth-of-type(2) > .card { animation-delay: .05s; }

/* ---------------------------------------------------------------- render tertunda */
/* Bagian panjang (tabel seluruh organisasi, daftar akun) baru dirender saat
   mendekati viewport. contain-intrinsic-size 'auto' membuat tinggi terakhir
   diingat, sehingga tidak ada lompatan scroll. */
.cv-auto {
  content-visibility: auto;
  contain-intrinsic-size: auto 420px;
}
.cv-auto > .card-head { content-visibility: visible; }

/* ---------------------------------------------------------------- tanda fokus */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 7px;
}

/* ---------------------------------------------------------------- aksesibilitas gerak */
@media (prefers-reduced-motion: no-preference) {
  .ring .ring-value { animation: ring-fill 1s cubic-bezier(.22, .61, .36, 1) 1 both; }
  @keyframes ring-fill {
    from { stroke-dashoffset: var(--ring-circ, 339.3); }
    to { stroke-dashoffset: var(--ring-offset, 0); }
  }
}

/* =========================================================================
   SISTEM PERANGKAT
   Kelas di <html> diisi skrip kecil di <head> (sebelum paint) dan dijaga
   sinkron oleh assets/app.js: html.is-mobile / html.is-tablet / html.is-desktop
   + data-device="mobile|tablet|desktop" + is-touch untuk perangkat sentuh.
   Breakpoint: mobile < 768px, tablet 768–1099px, desktop >= 1100px.
   ========================================================================= */

/* ---------------------------------------------------------------- tabbar */
.tabbar {
  --tab-indicator-x: 0px;
  --tab-indicator-w: 0px;
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  align-items: stretch;
  gap: 2px;
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(14px) saturate(160%);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 22px rgba(16, 42, 76, .09);
}
html.is-mobile .tabbar,
html.is-tablet .tabbar { display: flex; }

.tabbar-indicator {
  position: absolute;
  top: 6px;
  left: 0;
  width: var(--tab-indicator-w);
  height: calc(100% - 12px - env(safe-area-inset-bottom));
  border-radius: 10px;
  background: linear-gradient(180deg, #eef4ff, #e2ecff);
  border: 1px solid #cfdefb;
  box-shadow: inset 0 1px 0 #fff, 0 2px 8px rgba(37, 99, 235, .12);
  transform: translateX(var(--tab-indicator-x));
  transition: transform .28s cubic-bezier(.3, .8, .3, 1), width .28s cubic-bezier(.3, .8, .3, 1);
  pointer-events: none;
  z-index: 0;
}
/* Garis aksen di tepi atas tab bar, tepat di atas tab aktif. */
.tabbar-indicator::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--blue), #1e3a8a);
  box-shadow: 0 0 10px rgba(37, 99, 235, .55);
}

.tab-link {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 6px 2px;
  border-radius: 10px;
  color: #64748b;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .01em;
  text-align: center;
  transition: color .18s ease, transform .18s ease;
}
.tab-link:hover { text-decoration: none; color: var(--navy-700); }
.tab-link:active { transform: scale(.96); }
.tab-link .tab-ico { display: grid; place-items: center; transition: transform .2s ease; }
.tab-link .tab-ico .ico { width: 21px; height: 21px; }
.tab-link .tab-label {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tab-link.is-active { color: var(--blue-dark); }
.tab-link.is-active .tab-ico { transform: translateY(-1px) scale(1.06); }
.tab-link.is-active .tab-ico .ico { stroke-width: 2.1; }
.tab-link.is-active .tab-label { font-weight: 700; }

/* Ruang bawah supaya konten tidak tertutup tab bar. */
html.is-mobile .content,
html.is-tablet .content { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
html.is-mobile .toast-wrap,
html.is-tablet .toast-wrap { bottom: calc(92px + env(safe-area-inset-bottom)); }

/* ---------------------------------------------------------------- off-canvas sidebar */
html.is-tablet .sidebar,
html.is-mobile .sidebar {
  transform: translateX(-102%);
  transition: transform .24s cubic-bezier(.3, .8, .3, 1);
  box-shadow: 14px 0 44px rgba(8, 24, 44, .4);
}
html.is-tablet .app.nav-open .sidebar,
html.is-mobile .app.nav-open .sidebar { transform: translateX(0); }
html.is-tablet .app.nav-open .scrim,
html.is-mobile .app.nav-open .scrim {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(8, 24, 44, .52);
  backdrop-filter: blur(1.5px);
  z-index: 55;
  animation: scrim-in .18s ease-out;
}
@keyframes scrim-in { from { opacity: 0; } to { opacity: 1; } }
html.is-tablet .main,
html.is-mobile .main { margin-left: 0; }
html.is-tablet .menu-toggle,
html.is-mobile .menu-toggle { display: inline-flex; }

/* Tablet: kartu sedikit lebih rapat, KPI dua kolom. */
html.is-tablet .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html.is-tablet .split { grid-template-columns: minmax(0, 1fr); }
html.is-tablet .kanban { grid-template-columns: repeat(6, 52vw); }

/* ---------------------------------------------------------------- tabel -> kartu (mobile) */
html.is-mobile .table.is-carded {
  display: block;
  font-size: 13px;
  border-spacing: 0;
}
html.is-mobile .table.is-carded thead { display: none; }
html.is-mobile .table.is-carded tbody,
html.is-mobile .table.is-carded tfoot { display: block; }
html.is-mobile .table.is-carded tbody tr {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 2px;
  margin: 0 0 12px;
  padding: 12px 14px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(16, 42, 76, .06);
  animation: card-in .3s cubic-bezier(.22, .61, .36, 1) backwards;
  animation-delay: calc(var(--row-i, 0) * 24ms);
}
html.is-mobile .table.is-carded tbody tr:hover { box-shadow: 0 3px 12px rgba(16, 42, 76, .06); }
html.is-mobile .table.is-carded tbody tr:hover td { background: transparent; }
html.is-mobile .table.is-carded tbody tr.row-highlight { border-left-color: var(--green); background: #f4fbf6; }
@keyframes card-in {
  from { transform: translateY(10px) scale(.995); }
  to { transform: none; }
}
html.is-mobile .table.is-carded tbody td {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 5px 0;
  border: 0;
  text-align: left;
  white-space: normal;
  min-width: 0;
  font-variant-numeric: tabular-nums;
}
html.is-mobile .table.is-carded tbody td::before {
  content: attr(data-label);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}
html.is-mobile .table.is-carded tbody td:not([data-label])::before { display: none; }
html.is-mobile .table.is-carded tbody td:empty { display: none !important; }
/* Sel pertama = judul kartu, selebar kartu. */
html.is-mobile .table.is-carded tbody td:first-child {
  grid-column: 1 / -1;
  display: block;
  padding: 0 0 10px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 13.5px;
}
html.is-mobile .table.is-carded tbody td:first-child::before { display: none; }
/* Tombol aksi & progress bar memakai lebar penuh. */
html.is-mobile .table.is-carded tbody td[data-span="full"] {
  grid-column: 1 / -1;
  padding-top: 8px;
}
html.is-mobile .table.is-carded tbody td[data-span="full"][data-label]::before { display: none; }
html.is-mobile .table.is-carded tbody td .chip { align-self: flex-start; }
/* Kartu punya ruang, jadi kolom yang disembunyikan di tabel sempit tetap ditampilkan. */
html.is-mobile .table.is-carded tbody td.hide-sm,
html.is-mobile .table.is-carded tfoot td.hide-sm { display: flex !important; }
html.is-mobile .table.is-carded tbody td .progress { width: 100%; }
html.is-mobile .table.is-carded tbody td .table-actions {
  width: 100%;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}
html.is-mobile .table.is-carded tbody td .table-actions form { flex: 0 1 auto; }
html.is-mobile .table.is-carded tbody td .table-actions form .btn { width: auto; }
html.is-mobile .table.is-carded .name-cell { justify-content: flex-start; text-align: left; }
html.is-mobile .table.is-carded .name-cell .nm { white-space: normal; }
html.is-mobile .table.is-carded .table-actions .btn { min-height: 36px; }
html.is-mobile .table.is-carded .num { text-align: right; }
html.is-mobile .table.is-carded .chip { white-space: normal; }
html.is-mobile .table.is-carded tfoot tr {
  display: block;
  padding: 11px 13px;
  background: linear-gradient(180deg, #eef4ff, #e7effc);
  border: 1px solid #d3e0f7;
  border-radius: 12px;
}
html.is-mobile .table.is-carded tfoot td {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px dashed #cddcf3;
  text-align: right;
}
html.is-mobile .table.is-carded tfoot td:last-child { border-bottom: 0; }
html.is-mobile .table.is-carded tfoot td::before {
  content: attr(data-label);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #4a6285;
}
html.is-mobile .table.is-carded tfoot td:not([data-label])::before { display: none; }
html.is-mobile .table.is-carded tfoot td:empty { display: none !important; }
html.is-mobile .table.is-carded tfoot td[colspan] {
  display: block;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy-700);
  padding-bottom: 7px;
  border-bottom: 1px solid #cddcf3;
  text-align: left;
}
html.is-mobile .table-scroll,
html.is-mobile .table-wrap { max-height: none; overflow: visible; }

/* Progress bar di dalam kartu tabel tetap terbaca. */
html.is-mobile .table.is-carded .progress { min-width: 96px; }

/* ---------------------------------------------------------------- mobile */
html.is-mobile body { font-size: 13.5px; }
html.is-mobile .topbar { flex-wrap: wrap; gap: 10px; padding: 10px 14px; align-items: center; }
html.is-mobile .topbar-title { flex: 1 1 auto; min-width: 0; }
html.is-mobile .topbar-title h1 { font-size: 16.5px; }
html.is-mobile .topbar-title .sub { font-size: 11.5px; }
html.is-mobile .topbar-actions { order: 3; width: 100%; margin-left: 0; justify-content: flex-start; }
html.is-mobile .topbar-actions .period-picker { flex: 1 1 auto; }
html.is-mobile .topbar-actions .period-picker .pp-form { flex: 1; }
html.is-mobile .topbar-actions .period-picker input[type="month"] { width: 100%; flex: 1; }
html.is-mobile .content { padding: 14px 14px calc(96px + env(safe-area-inset-bottom)); }
html.is-mobile .cols-2,
html.is-mobile .cols-3,
html.is-mobile .cols-4,
html.is-mobile .form-grid.cols-2,
html.is-mobile .form-grid.cols-3 { grid-template-columns: minmax(0, 1fr); }
html.is-mobile .kpi { padding: 13px 15px; }
html.is-mobile .kpi-value { font-size: 23px; }
/* 16px mencegah Safari iOS memperbesar halaman saat input difokuskan. */
html.is-mobile .field input,
html.is-mobile .field select,
html.is-mobile .field textarea,
html.is-mobile .input,
html.is-mobile .select { font-size: 16px; }
html.is-mobile .btn-sm { min-height: 34px; }
html.is-mobile .card-body { padding: 15px; }
html.is-mobile .card-head { padding: 12px 15px; }
html.is-mobile .hide-sm { display: none !important; }
html.is-mobile .achievement-big { font-size: 31px; }
html.is-mobile .kanban { grid-template-columns: repeat(6, 76vw); gap: 10px; }
html.is-mobile .kanban-col { min-height: 170px; }
html.is-mobile .kanban-move select { min-height: 36px; font-size: 12.5px; }
html.is-mobile .card-menu .icon-btn { width: 32px; height: 32px; }
html.is-mobile .tab-link { font-size: 10px; min-height: 54px; }
html.is-mobile .auth-wrap { grid-template-columns: minmax(0, 1fr); }
html.is-mobile .auth-side { padding: 26px 22px 30px; }
html.is-mobile .auth-hero h2 { font-size: 24px; }
html.is-mobile .auth-points { margin-top: 18px; }
html.is-mobile .auth-points,
html.is-mobile .auth-side .auth-foot-note { display: none; }
html.is-mobile .auth-main { padding: 20px 16px 40px; align-items: flex-start; }
html.is-mobile .auth-card .card-body { padding: 20px; }
html.is-mobile .modal-root { padding: 12px; align-items: end; }
html.is-mobile .modal-panel { max-width: 100%; border-radius: 14px; }
html.is-mobile .toast-wrap { left: 14px; right: 14px; }
html.is-mobile .toast { max-width: none; }
html.is-mobile .modal-root { bottom: calc(env(safe-area-inset-bottom)); }

@media (max-width: 1279px) {
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1099px) {
  .content { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .topbar { padding: 11px 20px; }
  .kanban { grid-template-columns: repeat(6, 52vw); }
}
@media (max-width: 767px) {
  /* Cadangan bila JavaScript mati: halaman auth tetap satu kolom. */
  .auth-wrap { grid-template-columns: minmax(0, 1fr); }
  .auth-side { padding: 26px 22px 30px; }
  .auth-hero h2 { font-size: 24px; }
  .auth-points, .auth-side .auth-foot-note { display: none; }
  .auth-main { padding: 20px 16px 40px; align-items: flex-start; }
  .auth-card .card-body { padding: 20px; }
  .content { padding: 14px 14px calc(96px + env(safe-area-inset-bottom)); }
  .topbar { flex-wrap: wrap; gap: 10px; padding: 10px 14px; }
  .topbar-title { flex: 1 1 auto; min-width: 0; }
  .topbar-title h1 { font-size: 16.5px; }
  .topbar-actions { order: 3; width: 100%; margin-left: 0; justify-content: flex-start; }
  .cols-2, .cols-3, .cols-4, .form-grid.cols-2, .form-grid.cols-3 { grid-template-columns: minmax(0, 1fr); }
  .hide-sm { display: none !important; }
  .kanban { grid-template-columns: repeat(6, 76vw); gap: 10px; }
  .toast-wrap { left: 14px; right: 14px; bottom: calc(92px + env(safe-area-inset-bottom)); }
  .modal-root { padding: 12px; align-items: end; }
  .modal-panel { max-width: 100%; border-radius: 14px; }
}

/* Fallback bila JavaScript tidak berjalan: perilaku mengikuti lebar layar. */
@media (max-width: 1099px) {
  html:not([data-device]) .tabbar { display: flex; }
  html:not([data-device]) .sidebar { transform: translateX(-102%); transition: transform .24s ease; }
  html:not([data-device]) .app.nav-open .sidebar { transform: translateX(0); }
  html:not([data-device]) .app.nav-open .scrim { display: block; position: fixed; inset: 0; background: rgba(8, 24, 44, .52); z-index: 55; }
  html:not([data-device]) .main { margin-left: 0; }
  html:not([data-device]) .menu-toggle { display: inline-flex; }
}
@media (max-width: 420px) {
  .topbar-title .sub { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .tabbar-indicator { transition: none; }
}

@media print {
  .sidebar, .topbar, .tabbar, .kanban-move, .card-menu, .btn { display: none !important; }
  .main { margin-left: 0; }
  .content { padding: 0 !important; }
  .card { box-shadow: none; }
  .table tbody tr { animation: none; }
}
