/* css/00-tokens.css */
/* Token warna (tema terang/gelap). Ubah palet di sini saja. */
:root {
  --bg:#F5F4FA;
  --card:#fff;
  --panel:#FAF9FD;
  --ink:#23263A;
  --muted:#666C80;
  --line:#ECEBF3;
  --field:#FAFAFD;
  --fline:#DCDDEA;
  --th:#F4F3FA;
  --btn:#fff;
  --col:#F1F0F8;
  --ta:#F3F2F9;
  --tb:#E6E5F0;
  --shadow:0 1px 2px rgba(60,50,120,.04),0 10px 30px rgba(60,50,120,.06);
  --okb:#DDF5EA;
  --okf:#1D6B4D;
  --wb:#FFEBDD;
  --wf:#8A4A1D;
  --bb:#FDE3E3;
  --bf:#9C3A3A;
  --nb:#EEEDF5;
  --nf:#4A4F63;
  --ub:#E4E9FF;
  --uf:#3F52B8;
  --sel:#ECEFFF;
  --rail:#23263A;
  color-scheme:light;
  --blue:#5568E8;
  --green:#5FCFA6;
  --orange:#FFAA7B;
  --purple:#9A8CF5;
  --red:#F28B8B;
  --chart-line:#1a66d6;
}
:root[data-theme=dark] {
  --bg:#15161D;
  --card:#1F212B;
  --panel:#1A1B23;
  --ink:#ECEDF5;
  --muted:#A0A5B8;
  --line:#2C2E3A;
  --field:#171820;
  --fline:#3A3D4C;
  --th:#262834;
  --btn:#262834;
  --col:#272935;
  --ta:#2A2C38;
  --tb:#343746;
  --shadow:0 1px 2px rgba(0,0,0,.4);
  --okb:#1C3B31;
  --okf:#8FE3C0;
  --wb:#40301F;
  --wf:#FFC9A2;
  --bb:#432626;
  --bf:#FFB4B4;
  --nb:#2A2C38;
  --nf:#C5C9DA;
  --ub:#26305C;
  --uf:#B5C2FF;
  --sel:#262F5A;
  --rail:#101117;
  --chart-line:#8ab4f8;
  color-scheme:dark;
}
@media(prefers-color-scheme:dark) {
  :root[data-theme=auto] {
    --bg:#15161D;
    --card:#1F212B;
    --panel:#1A1B23;
    --ink:#ECEDF5;
    --muted:#A0A5B8;
    --line:#2C2E3A;
    --field:#171820;
    --fline:#3A3D4C;
    --th:#262834;
    --btn:#262834;
    --col:#272935;
    --ta:#2A2C38;
    --tb:#343746;
    --shadow:0 1px 2px rgba(0,0,0,.4);
    --okb:#1C3B31;
    --okf:#8FE3C0;
    --wb:#40301F;
    --wf:#FFC9A2;
    --bb:#432626;
    --bf:#FFB4B4;
    --nb:#2A2C38;
    --nf:#C5C9DA;
    --ub:#26305C;
    --uf:#B5C2FF;
    --sel:#262F5A;
    --rail:#101117;
    --chart-line:#8ab4f8;
    color-scheme:dark;
  }
}

/* css/10-base.css */
/* Reset, tipografi dasar, transisi halaman, dan preferensi gerak. */
@view-transition {
  navigation:auto;
}
::view-transition-old(root),::view-transition-new(root) {
  animation-duration:.22s;
}
* {
  box-sizing:border-box;
}
[hidden] {
  display:none!important;
}
html {
  scroll-behavior:smooth;
}
body {
  margin:0;
  font-family:system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  background:var(--bg);
  color:var(--ink);
  font-size:14px;
  line-height:1.5;
  transition:background-color .25s,color .25s;
}
a {
  color:inherit;
  text-decoration:none;
}
h1 {
  margin:0;
  font-size:26px;
  font-weight:600;
  letter-spacing:-.01em;
}
h2 {
  margin:0;
  font-size:18px;
  font-weight:600;
}
h3 {
  margin:0;
  font-size:15px;
  font-weight:600;
}
.heading-sm {
  font-size:15px;
}
svg.icon {
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex:none;
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
}

/* css/20-layout.css */
/* Kerangka aplikasi: sidebar, area konten, animasi masuk, banner. */
.visually-hidden {
  position:absolute;
  opacity:0;
  pointer-events:none;
  width:1px;
  height:1px;
  overflow:hidden;
  white-space:nowrap;
}
#page-announcer {
  position:fixed;
  top:0;
  left:0;
}
.app-shell {
  display:flex;
  min-height:100vh;
}
/* Latar buram di belakang sidebar (flyout desktop dan laci HP). Klik di sini menutup laci di HP. */
.sidebar__backdrop {
  display:block;
  position:fixed;
  inset:0;
  background:rgba(20,20,40,.45);
  -webkit-backdrop-filter:blur(4px);
  backdrop-filter:blur(4px);
  z-index:26;
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease;
}
/* Sidebar: lebar penuh dengan ikon + teks; bisa diciutkan jadi rel ikon (html[data-rail="min"]). Di HP jadi laci dari kiri. */
:root {
  --rail-w:208px;
}
html[data-rail="min"] {
  --rail-w:68px;
}
.sidebar {
  width:var(--rail-w);
  flex:none;
  background:var(--rail);
  color:#C9CDD9;
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:12px 10px;
  position:fixed;
  top:0;
  bottom:0;
  left:0;
  overflow-y:auto;
  overflow-x:hidden;
  z-index:30;
  view-transition-name:rail;
  transition:width .25s ease,transform .25s ease;
}
.sidebar__head {
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 2px 10px;
  min-height:48px;
}
.brand-logo {
  width:38px;
  height:38px;
  border-radius:12px;
  background:#fff;
  display:grid;
  place-items:center;
  flex:none;
  padding:4px;
  transition:transform .2s;
}
.brand-logo:hover {
  transform:scale(1.06) rotate(-3deg);
}
.brand-logo img {
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
.sidebar__brand {
  flex:1;
  min-width:0;
  color:#fff;
  font-weight:700;
  font-size:15px;
  white-space:nowrap;
}
.sidebar__collapse {
  flex:none;
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:10px;
  background:transparent;
  color:#B5BACB;
  cursor:pointer;
  transition:background .18s,color .18s;
}
.sidebar__collapse:hover {
  background:rgba(255,255,255,.1);
  color:#fff;
}
.sidebar__collapse svg {
  width:18px;
  height:18px;
}
.sidebar nav,.sidebar__footer {
  display:flex;
  flex-direction:column;
  gap:2px;
  width:100%;
}
.sidebar__footer {
  margin-top:auto;
  padding-top:8px;
  border-top:1px solid rgba(255,255,255,.08);
}
.sidebar__sep {
  border:0;
  border-top:1px solid rgba(255,255,255,.08);
  margin:6px 4px;
}
.sidebar__link {
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:14px;
  min-height:42px;
  border-radius:12px;
  font-size:14px;
  color:#B5BACB;
  border:0;
  background:transparent;
  cursor:pointer;
  font-family:inherit;
  width:100%;
  padding:0 14px;
  white-space:nowrap;
  transition:background .18s,color .18s,transform .12s;
}
.sidebar__link:hover {
  background:rgba(255,255,255,.08);
  color:#fff;
}
.sidebar__link:active {
  transform:scale(.98);
}
.sidebar__link.is-active {
  background:rgba(120,135,255,.26);
  color:#fff;
  font-weight:600;
}
.sidebar__link svg {
  width:20px;
  height:20px;
  flex:none;
  transition:transform .2s;
}
.sidebar__link:hover svg {
  transform:scale(1.06);
}
.sidebar form {
  margin:0;
  width:100%;
}
.topbar {
  display:none;
}
/* Rel ikon (desktop, setelah diciutkan). Hover membuka flyout di atas konten, konten diburamkan. */
@media(min-width:901px) {
  html[data-rail="min"] .sidebar__brand,
  html[data-rail="min"] .sidebar__link .sidebar__label {
    display:none;
  }
  html[data-rail="min"] .sidebar__head {
    flex-direction:column;
    padding-bottom:8px;
  }
  html[data-rail="min"] .sidebar__link {
    justify-content:center;
    padding:0;
  }
  html[data-rail="min"]:not([data-flyoff]) .sidebar:hover {
    width:208px;
    box-shadow:12px 0 40px rgba(20,20,40,.35);
  }
  html[data-rail="min"]:not([data-flyoff]) .sidebar:hover .sidebar__brand {
    display:block;
  }
  html[data-rail="min"]:not([data-flyoff]) .sidebar:hover .sidebar__link .sidebar__label {
    display:inline;
  }
  html[data-rail="min"]:not([data-flyoff]) .sidebar:hover .sidebar__head {
    flex-direction:row;
    padding-bottom:10px;
  }
  html[data-rail="min"]:not([data-flyoff]) .sidebar:hover .sidebar__link {
    justify-content:flex-start;
    padding:0 14px;
  }
  html[data-rail="min"]:not([data-flyoff]) body:has(.sidebar:hover) .sidebar__backdrop {
    opacity:1;
  }
}
/* HP dan tablet: topbar tipis + sidebar sebagai laci */
@media(max-width:900px) {
  .topbar {
    display:flex;
    align-items:center;
    gap:10px;
    position:fixed;
    top:0;
    left:0;
    right:0;
    height:54px;
    padding:0 12px;
    background:var(--rail);
    color:#fff;
    z-index:25;
  }
  .topbar__btn {
    width:40px;
    height:40px;
    display:grid;
    place-items:center;
    border-radius:12px;
    color:#fff;
    cursor:pointer;
  }
  .topbar__btn:hover {
    background:rgba(255,255,255,.1);
  }
  .topbar__btn svg {
    width:22px;
    height:22px;
  }
  .topbar__brand {
    display:flex;
    align-items:center;
    gap:10px;
    color:#fff;
    font-weight:700;
    font-size:15px;
  }
  .topbar__brand .brand-logo {
    width:32px;
    height:32px;
    border-radius:10px;
  }
  .sidebar {
    width:240px;
    transform:translateX(-102%);
    box-shadow:none;
  }
  .sidebar__collapse {
    display:none;
  }
  #sidebar-toggle:checked ~ .app-shell .sidebar {
    transform:none;
    box-shadow:12px 0 40px rgba(20,20,40,.35);
  }
  #sidebar-toggle:checked ~ .app-shell .sidebar__backdrop {
    opacity:1;
    pointer-events:auto;
  }
  #sidebar-toggle:checked ~ .app-shell .sidebar {
    z-index:30;
  }
  .app-content {
    margin-left:0!important;
    padding-top:70px!important;
  }
}
.app-content {
  flex:1;
  min-width:0;
  margin-left:var(--rail-w);
  padding:20px 24px 40px;
  transition:margin-left .25s ease;
}
.app-main {
  display:flex;
  flex-direction:column;
  gap:20px;
}
.app-main>* {
  animation:fadeup .38s cubic-bezier(.2,.7,.2,1) both;
}
.app-main>*:nth-child(2) {
  animation-delay:.04s;
}
.app-main>*:nth-child(3) {
  animation-delay:.08s;
}
.app-main>*:nth-child(4) {
  animation-delay:.12s;
}
.app-main>*:nth-child(n+5) {
  animation-delay:.16s;
}
@keyframes fadeup {
  from {
    opacity:0;
    transform:translateY(8px);
  }
  to {
    opacity:1;
    transform:none;
  }
}
@keyframes fade {
  from {
    opacity:0;
  }
  to {
    opacity:1;
  }
}
@keyframes grow {
  from {
    transform:scaleY(0);
  }
  to {
    transform:scaleY(1);
  }
}
@keyframes draw {
  from {
    stroke-dashoffset:1;
  }
  to {
    stroke-dashoffset:0;
  }
}
.is-leaving {
  opacity:0;
  transform:translateY(6px);
  transition:opacity .12s,transform .12s;
}
.is-entering {
  animation:fadeup .3s cubic-bezier(.2,.7,.2,1) both;
}
.notice-banner {
  align-self:flex-start;
  font-size:12px;
  background:var(--wb);
  color:var(--wf);
  border-radius:999px;
  padding:4px 12px;
}

/* Navigasi tanpa muat ulang (public/js/70-page-swap.js) */
.is-loading {
  opacity:.55;
  transition:opacity .15s;
  pointer-events:none;
}
.page-progress {
  position:fixed;
  top:0;
  left:0;
  height:3px;
  width:0;
  background:var(--blue);
  z-index:2000;
  opacity:0;
  pointer-events:none;
}
.page-progress.is-active {
  opacity:1;
  width:85%;
  transition:width 8s cubic-bezier(.1,.6,.2,1),opacity .2s;
}
/* Setelah navigasi tanpa muat ulang, jangan putar ulang animasi masuk (kartu, garis grafik, meteran). */
.is-swapped .app-main>*,.is-swapped .chart__line,.is-swapped .gauge__fill {
  animation:none!important;
}
.app-main.is-entering {
  animation:fade .18s ease both;
}

/* Aksesibilitas: tautan lompat, fokus menu mobile, tidak ada garis fokus pada <main> saat dipindah lewat skrip */
.skip-link {
  position:fixed;
  left:12px;
  top:-60px;
  z-index:3000;
  padding:10px 16px;
  border-radius:10px;
  background:var(--ink);
  color:var(--bg);
  font-weight:600;
  transition:top .15s;
}
.skip-link:focus {
  top:12px;
}
.app-main:focus {
  outline:none;
}
#sidebar-toggle:focus-visible ~ .app-shell .sidebar__burger {
  outline:2px solid var(--blue);
  outline-offset:2px;
}

/* css/30-components.css */
/* Komponen yang dipakai ulang di banyak halaman: card, tabel, badge, tombol, form, grafik, date picker. */
.card {
  background:var(--card);
  border-radius:22px;
  padding:24px;
  display:flex;
  flex-direction:column;
  gap:16px;
  box-shadow:var(--shadow);
}
.text-muted {
  color:var(--muted);
  font-size:13px;
}
.section-head {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}
.breadcrumb {
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:var(--muted);
  font-size:13px;
  min-height:32px;
}
.breadcrumb:hover {
  color:var(--blue);
}
.breadcrumb svg {
  width:16px;
  height:16px;
}
.kpi-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));
  gap:16px;
}
.kpi-card {
  background:var(--card);
  border-radius:22px;
  padding:20px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  box-shadow:var(--shadow);
  transition:transform .2s,box-shadow .2s;
}
.kpi-card:hover {
  transform:translateY(-2px);
  box-shadow:0 10px 28px rgba(60,50,120,.12);
}
a.kpi-card {
  color:inherit;
  cursor:pointer;
}
.kpi-card b {
  display:block;
  font-size:26px;
  font-weight:600;
  margin:4px 0;
  letter-spacing:-.01em;
}
.kpi-card .icon-badge {
  width:48px;
  height:48px;
  border-radius:16px;
  display:grid;
  place-items:center;
  flex:none;
}
.kpi-card .icon-badge svg {
  width:22px;
  height:22px;
}
.icon-badge.is-blue {
  background:rgba(85,104,232,.14);
  color:#6275EE;
}
.icon-badge.is-green {
  background:rgba(95,207,166,.2);
  color:#2FAF83;
}
.icon-badge.is-orange {
  background:rgba(255,170,123,.24);
  color:#E8864F;
}
.icon-badge.is-purple {
  background:rgba(154,140,245,.22);
  color:#7B6BE0;
}
.text-positive {
  color:var(--okf);
  font-size:13px;
}
.text-negative {
  color:var(--bf);
  font-size:13px;
}
.stack {
  display:flex;
  flex-direction:column;
  gap:20px;
  min-width:0;
}
/* position:relative supaya label tersembunyi (absolute) di dalam tabel ikut terpotong, tidak melebarkan halaman */
.table-scroll {
  position:relative;
  overflow-x:auto;
  max-width:100%;
}
table {
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  font-size:14px;
}
th {
  background:var(--th);
  color:var(--muted);
  font-weight:500;
  font-size:12px;
  text-align:left;
  padding:12px;
  white-space:nowrap;
}
th:first-child {
  border-radius:12px 0 0 12px;
}
th:last-child {
  border-radius:0 12px 12px 0;
}
td {
  padding:14px 12px;
  border-bottom:1px solid var(--line);
  vertical-align:middle;
}
tbody tr {
  transition:background .15s;
}
tbody tr:hover {
  background:var(--panel);
}
tr:last-child td {
  border-bottom:0;
}
td.is-numeric,th.is-numeric {
  text-align:right;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
td a.link-strong {
  font-weight:600;
}
td a.link-strong:hover,a.link-strong:hover {
  color:var(--blue);
}
.badge {
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:3px 10px;
  border-radius:8px;
  font-size:12px;
  font-weight:500;
  white-space:nowrap;
}
.badge.is-ok {
  background:var(--okb);
  color:var(--okf);
}
.badge.is-warn {
  background:var(--wb);
  color:var(--wf);
}
.badge.is-bad {
  background:var(--bb);
  color:var(--bf);
}
.badge.is-neutral {
  background:var(--nb);
  color:var(--nf);
}
.badge.is-blue {
  background:var(--ub);
  color:var(--uf);
}
.status-dot {
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  font-weight:600;
  color:var(--okf);
}
.status-dot:before {
  content:'';
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--green);
  box-shadow:0 0 0 3px var(--okb);
}
.status-dot.is-inactive {
  color:var(--muted);
}
.status-dot.is-inactive:before {
  background:#B5B9C9;
  box-shadow:0 0 0 3px var(--nb);
}
.btn {
  min-height:44px;
  padding:0 18px;
  border-radius:12px;
  border:1px solid var(--fline);
  background:var(--btn);
  color:var(--ink);
  font:inherit;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  white-space:nowrap;
  transition:filter .15s,transform .12s,box-shadow .15s;
}
.btn.btn--primary {
  background:var(--blue);
  border-color:var(--blue);
  color:#fff;
  font-weight:500;
}
.btn.btn--dark {
  background:#2E3350;
  border-color:#2E3350;
  color:#fff;
}
:root[data-theme=dark] .btn.btn--dark {
  background:#E9EAF5;
  border-color:#E9EAF5;
  color:#23263A;
}
@media(prefers-color-scheme:dark) {
  :root[data-theme=auto] .btn.btn--dark {
    background:#E9EAF5;
    border-color:#E9EAF5;
    color:#23263A;
  }
}
.btn:hover {
  filter:brightness(.96);
  box-shadow:0 4px 14px rgba(60,50,120,.12);
}
.btn:active {
  transform:scale(.97);
}
.btn.btn--sm {
  min-height:36px;
  padding:0 12px;
  font-size:13px;
  border-radius:10px;
}
.btn.btn--xs {
  min-height:30px;
  padding:0 10px;
  font-size:12px;
  border-radius:8px;
}
.btn-row {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}
label {
  font-size:13px;
  font-weight:500;
  display:block;
  margin-bottom:4px;
}
input,select {
  width:100%;
  min-height:44px;
  padding:0 12px;
  border-radius:12px;
  border:1px solid var(--fline);
  font:inherit;
  background:var(--field);
  color:var(--ink);
  transition:border-color .15s,box-shadow .15s;
}
input:focus,select:focus,textarea:focus {
  border-color:var(--blue);
  box-shadow:0 0 0 3px rgba(85,104,232,.18);
  outline:none;
}
:focus-visible {
  outline:2px solid var(--blue);
  outline-offset:2px;
}
.form-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));
  gap:16px;
  align-items:end;
}
.grid-two {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));
  gap:20px;
}
.range-bar {
  display:flex;
  flex-wrap:wrap;
  gap:8px 12px;
  align-items:center;
  justify-content:flex-end;
}
.range-form {
  position:relative;
  display:flex;
}
.range-button {
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:38px;
  padding:0 12px;
  border:1px solid var(--line);
  background:var(--card);
  color:var(--ink);
  border-radius:10px;
  font:inherit;
  font-size:13px;
  cursor:pointer;
}
.range-button svg {
  width:16px;
  height:16px;
  stroke:currentColor;
  fill:none;
  stroke-width:1.8;
  flex:none;
}
.range-button:hover {
  border-color:var(--muted);
}
.date-picker {
  position:fixed;
  z-index:1000;
  width:292px;
  padding:12px;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow:0 12px 32px rgba(20,20,50,.25);
}
.date-picker__header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:8px;
  font-weight:600;
  font-size:14px;
}
.date-picker__header button {
  border:0;
  background:var(--th);
  color:var(--ink);
  width:30px;
  height:30px;
  border-radius:8px;
  cursor:pointer;
  font-size:16px;
}
.date-picker__grid {
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:2px;
  text-align:center;
}
.date-picker__weekday {
  font-size:11px;
  color:var(--muted);
  padding:4px 0;
}
.date-picker__day {
  border:0;
  background:transparent;
  color:var(--ink);
  height:34px;
  border-radius:8px;
  font:inherit;
  font-size:13px;
  cursor:pointer;
}
.date-picker__day:hover:not(:disabled) {
  background:var(--th);
}
.date-picker__day:disabled {
  color:var(--muted);
  opacity:.4;
  cursor:default;
}
.date-picker__day.is-in-range {
  background:var(--th);
  border-radius:0;
}
.date-picker__day.is-start,.date-picker__day.is-end {
  background:var(--blue);
  color:#fff;
  border-radius:8px;
  font-weight:600;
}
.date-picker__hint {
  margin-top:8px;
  font-size:12px;
  color:var(--muted);
  text-align:center;
}
.segmented {
  display:inline-flex;
  flex-wrap:wrap;
  max-width:100%;
  gap:2px;
  padding:3px;
  background:var(--th);
  border-radius:10px;
}
.segmented a {
  white-space:nowrap;
  padding:0 12px;
  min-height:32px;
  display:inline-flex;
  align-items:center;
  border-radius:8px;
  font-size:13px;
  color:var(--muted);
  transition:background .18s,color .18s;
}
.segmented a:hover {
  color:var(--ink);
}
.segmented a.is-active {
  background:var(--card);
  color:var(--ink);
  font-weight:600;
  box-shadow:0 1px 3px rgba(60,50,120,.15);
}
.tabs {
  display:flex;
  flex-wrap:wrap;
  gap:4px 24px;
  border-bottom:1px solid var(--line);
}
.tabs a {
  padding:10px 0;
  color:var(--muted);
  border-bottom:2px solid transparent;
  margin-bottom:-1px;
  min-height:44px;
  display:inline-flex;
  align-items:center;
  transition:color .18s,border-color .18s;
}
.tabs a.is-active {
  color:var(--ink);
  font-weight:600;
  border-color:var(--blue);
}
.tabs a:hover {
  color:var(--ink);
}
.progress {
  position:relative;
  height:12px;
  border-radius:7px;
  background:repeating-linear-gradient(135deg,var(--ta) 0 6px,var(--tb) 6px 12px);
  overflow:hidden;
  min-width:100px;
}
.progress i {
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  border-radius:7px;
  background:var(--blue);
  transition:width .6s cubic-bezier(.2,.7,.2,1);
}
.progress i.is-bad {
  background:var(--red);
}
.progress i.is-warn {
  background:var(--orange);
}
.progress i.is-ok {
  background:var(--green);
}
.progress i.is-purple {
  background:var(--purple);
}
.progress u {
  position:absolute;
  top:0;
  bottom:0;
  width:2px;
  background:var(--ink);
}
.proposal-card {
  border:1px solid var(--line);
  border-radius:16px;
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.list-item.list-item--with-actions {
  flex-direction:column;
}
.list-item__body {
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
}
@media(min-width:900px) {
  .list-item.list-item--with-actions {
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    gap:24px;
  }
  .list-item--with-actions>.btn-row {
    flex:none;
  }
}
.list-item__time {
  white-space:nowrap;
}
.section-head>.range-bar,.section-head>.segmented {
  margin-left:auto;
}
.section-head>div:first-child {
  flex:1 1 280px;
  min-width:0;
}
.inline-form {
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
}
.metric-tabs {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(120px,1fr));
  gap:4px;
  border-bottom:1px solid var(--line);
}
.metric-tab {
  display:flex;
  flex-direction:column;
  gap:2px;
  padding:10px 12px 12px;
  border-bottom:3px solid transparent;
  margin-bottom:-1px;
  color:var(--muted);
  border-radius:10px 10px 0 0;
  transition:background .15s;
}
.metric-tab small {
  display: block;
  font-size: 11px;
  margin-top: 2px;
}

.metric-tab b {
  font-size:26px;
  font-weight:500;
  color:var(--ink);
}
.metric-tab:hover {
  background:var(--th);
}
.metric-tab.is-active {
  border-bottom-color:var(--chart-line);
  color:var(--chart-line);
}
.password-field {
  position:relative;
  display:flex;
}
.password-field input {
  width:100%;
  padding-right:44px;
}
.password-field__toggle {
  position:absolute;
  right:4px;
  top:50%;
  transform:translateY(-50%);
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:10px;
  background:transparent;
  color:var(--muted);
  cursor:pointer;
}
.password-field__toggle:hover {
  color:var(--ink);
  background:var(--th);
}
.password-field__toggle .icon {
  width:20px;
  height:20px;
}
.password-field__toggle .icon:last-child,.password-field__toggle[aria-pressed=true] .icon:first-child {
  display:none;
}
.password-field__toggle[aria-pressed=true] .icon:last-child {
  display:block;
}
.table-search {
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  max-width:420px;
}
.table-search .icon {
  position:absolute;
  left:12px;
  width:18px;
  height:18px;
  color:var(--muted);
  pointer-events:none;
}
.table-search input {
  width:100%;
  padding-left:38px;
}
.table-search__count {
  white-space:nowrap;
  font-size:12px;
}
.proposal-card__main {
  display:flex;
  flex-direction:column;
  gap:10px;
  flex:1;
}
.proposal-card--alert .proposal-card__head {
  justify-content:flex-start;
  gap:10px;
}
@media(min-width:900px) {
  .proposal-card--alert {
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    gap:24px;
  }
  .proposal-card--alert .proposal-card__action {
    flex:none;
    text-align:right;
  }
}
.proposal-card.is-done {
  opacity:.7;
}
.proposal-card__head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.card-stack {
  display:flex;
  flex-direction:column;
  gap:12px;
}
.list-item {
  padding:12px 0;
  border-bottom:1px solid var(--line);
  display:flex;
  flex-direction:column;
  gap:4px;
}
.list-item:last-child {
  border:0;
}
.flash {
  padding:12px 16px;
  border-radius:14px;
  background:var(--okb);
  color:var(--okf);
  transition:opacity .4s,transform .4s;
}
.flash.flash--error {
  background:var(--bb);
  color:var(--bf);
}
.flash.is-leaving {
  opacity:0;
  transform:translateY(-6px);
}
.login-page {
  max-width:400px;
  margin:10vh auto;
  padding:0 16px;
}
.chart-wrap {
  width:100%;
}
.chart {
  display:block;
  width:100%;
  max-width:900px;
  margin:0 auto;
  height:auto;
}
.chart--compact {
  max-width:560px;
}
.chart--wide {
  max-width:1400px;
}
.chart text {
  font-size:12px;
  fill:var(--muted);
  font-family:inherit;
}
.chart__grid-line {
  stroke:var(--line);
  stroke-width:1;
}
.chart__grid-line--base {
  stroke:var(--fline);
}
.chart__x-label--month {
  fill:var(--muted);
}
.chart__line {
  stroke:var(--chart-line)!important;
}
.chart__dot {
  stroke:var(--chart-line)!important;
  fill:var(--card);
  opacity:0;
  transition:opacity .15s;
}
.chart__dot--last {
  opacity:1;
}
.chart__hit {
  fill:transparent;
  cursor:crosshair;
}
.chart-legend {
  display:flex;
  align-items:center;
  gap:8px;
  max-width:900px;
  margin:6px auto 0;
  padding-left:12px;
  font-size:12px;
  color:var(--muted);
}
.chart-legend__swatch {
  background:var(--chart-line)!important;
  width:18px;
  height:3px;
  border-radius:2px;
}
.chart__column:hover .chart__dot,.chart__column.is-hover .chart__dot {
  opacity:1;
}
.chart__guide {
  stroke:var(--fline);
  stroke-dasharray:3 3;
  opacity:0;
  transition:opacity .15s;
}
.chart__column:hover .chart__guide,.chart__column.is-hover .chart__guide {
  opacity:1;
}
.chart__line {
  stroke-dasharray:1;
  stroke-dashoffset:0;
  animation:draw 1s ease both;
}
.chart-tooltip {
  position:fixed;
  z-index:100;
  pointer-events:none;
  background:#2E3350;
  color:#fff;
  border-radius:12px;
  padding:8px 12px;
  font-size:12px;
  line-height:1.5;
  box-shadow:0 8px 24px rgba(20,20,50,.3);
  display:flex;
  flex-direction:column;
  gap:1px;
  max-width:240px;
}
.chart-tooltip b {
  font-size:12px;
  color:#C9CFF5;
}
.chart-tooltip span {
  font-size:13px;
  font-weight:500;
}
summary {
  cursor:pointer;
  min-height:28px;
}
.stat-inline {
  display:flex;
  flex-wrap:wrap;
  gap:8px 20px;
}
.stat-inline div {
  min-width:110px;
}
.stat-inline b {
  display:block;
  font-size:16px;
}
.stat-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(100px,1fr));
  gap:10px;
}
.stat {
  background:var(--th);
  border-radius:14px;
  padding:12px 14px;
  transition:transform .2s;
}
.stat:hover {
  transform:translateY(-2px);
}
.stat span {
  font-size:11px;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--muted);
}
.stat b {
  display:block;
  font-size:20px;
  font-weight:600;
}
.gauge {
  display:block;
  width:100%;
  max-width:300px;
  margin:0 auto;
  height:auto;
}
.gauge text {
  fill:var(--ink);
  font-family:inherit;
}
.gauge__track {
  stroke:var(--th);
}
.gauge__fill {
  stroke-dasharray:1;
  animation:draw 1s ease both;
}

/* Judul kolom tabel yang bisa diurutkan (public/js/90-table-sort.js) */
th.is-sortable {
  cursor:pointer;
  user-select:none;
}
th.is-sortable:hover {
  color:var(--ink);
}
th.is-sortable::after {
  content:'\2195';
  margin-left:6px;
  opacity:.35;
  font-size:11px;
}
th.is-sortable[aria-sort=ascending]::after {
  content:'\25B2';
  opacity:1;
  color:var(--blue);
}
th.is-sortable[aria-sort=descending]::after {
  content:'\25BC';
  opacity:1;
  color:var(--blue);
}
th.is-sortable:focus-visible {
  outline:2px solid var(--blue);
  outline-offset:-2px;
}
.input--sm {
  width:120px;
  min-height:30px;
  padding:0 10px;
  font-size:12px;
  border-radius:8px;
}
.secret-key {
  display:inline-block;
  padding:10px 14px;
  font-size:16px;
  letter-spacing:.08em;
  word-break:break-all;
  background:var(--surface-2, rgba(127,127,127,.12));
  border-radius:8px;
}
.recovery-list {
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(150px, 1fr));
  gap:8px;
  padding:0;
  list-style:none;
}
.inline-actions {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:8px;
}

/* css/40-pages.css */
/* Gaya khusus halaman: daftar klien, detail akun, pintasan pengaturan, login. */
.content-columns {
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  gap:20px;
  align-items:start;
}
@media(max-width:1000px) {
  .content-columns {
    grid-template-columns:minmax(0,1fr);
  }
}
.login-page {
  max-width:400px;
  margin:10vh auto;
  padding:0 16px;
}
.shortcut-card .icon-badge {
  width:48px;
  height:48px;
  border-radius:16px;
  display:grid;
  place-items:center;
  flex:none;
}
.shortcut-card {
  flex-direction:row;
  align-items:center;
  gap:16px;
  color:inherit;
  transition:transform .2s,box-shadow .2s;
}
a.shortcut-card:hover {
  transform:translateY(-2px);
  box-shadow:0 10px 28px rgba(60,50,120,.12);
}
.shortcut-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:16px;
}
.shortcut-card__body {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:4px;
  flex:1;
  min-width:0;
}
.shortcut-card__title {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  width:100%;
}
.theme-icon {
  display:none;
}
html[data-theme=light] .theme-icon--light,html[data-theme=dark] .theme-icon--dark,html[data-theme=auto] .theme-icon--auto {
  display:inline-flex;
}
.rule-row {
  padding-bottom:18px;
  border-bottom:1px solid var(--line);
}
.rule-row:last-child {
  border:0;
  padding:0;
}
.split-layout {
  display:grid;
  grid-template-columns:380px minmax(0,1fr);
  gap:20px;
  align-items:start;
}
@media(max-width:1100px) {
  .split-layout {
    grid-template-columns:minmax(0,1fr);
  }
}
.list-panel {
  background:var(--panel);
  border-radius:22px;
  padding:18px 18px 18px;
  display:flex;
  flex-direction:column;
  gap:12px;
  box-shadow:var(--shadow);
  position:sticky;
  top:16px;
  max-height:calc(100vh - 32px);
  overflow-y:auto;
}
@media(max-width:1100px) {
  .list-panel {
    position:static;
    max-height:none;
    overflow:visible;
  }
}
.list-panel__sticky {
  position:sticky;
  top:-18px;
  z-index:3;
  background:var(--panel);
  margin:-6px -18px 0;
  padding:10px 18px 12px;
  display:flex;
  flex-direction:column;
  gap:8px;
  border-bottom:1px solid var(--line);
}
.filter-summary {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px;
}
.filter-summary select {
  min-height:34px;
  padding:0 6px;
  font-size:12.5px;
  border-radius:10px;
}
.card--equal {
  height:440px;
}
.card--equal .card__body {
  flex:1;
  min-height:0;
  overflow-y:auto;
  display:flex;
  flex-direction:column;
  gap:12px;
  padding-right:4px;
}
.list-panel__controls {
  position:sticky;
  top:-18px;
  margin:-18px -18px 0;
  padding:18px 18px 12px;
  background:var(--panel);
  z-index:5;
  display:flex;
  flex-direction:column;
  gap:10px;
  border-radius:22px 22px 0 0;
}
@media(max-width:1100px) {
  /* Filter tetap menempel di atas layar saat daftar akun digulir (overflow list-panel harus visible). */
  .list-panel__controls {
    top:0;
    z-index:15;
    box-shadow:0 6px 12px -8px rgba(20,20,40,.25);
  }
}
.mobile-back {
  display:none;
}
@media(max-width:1100px) {
  .has-selection .list-panel {
    display:none;
  }
  .has-selection .mobile-back {
    display:inline-flex;
  }
}
.filter-row {
  display:grid;
  grid-template-columns:1fr 1fr 1.2fr;
  gap:6px;
}
.select--sm {
  min-height:34px;
  font-size:12.5px;
  padding:0 6px;
  border-radius:10px;
}
.filter-summary {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
}
.filter-summary .select--sm {
  width:auto;
  max-width:52%;
}
.filter-summary .text-muted {
  white-space:nowrap;
  font-size:12px;
}
.list-panel__items {
  display:flex;
  flex-direction:column;
  gap:8px;
}
.list-panel__heading {
  font-size:12px;
  font-weight:600;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--muted);
  display:flex;
  justify-content:space-between;
  margin-top:4px;
}
.filter-chip-row {
  display:flex;
  gap:6px;
  overflow-x:auto;
  scrollbar-width:none;
  padding-bottom:2px;
}
.filter-chip-row::-webkit-scrollbar {
  display:none;
}
.filter-chip {
  min-height:34px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:var(--card);
  color:var(--muted);
  font:inherit;
  font-size:13px;
  cursor:pointer;
  white-space:nowrap;
  display:inline-flex;
  align-items:center;
  gap:6px;
  transition:background .18s,color .18s,border-color .18s,transform .12s;
}
.filter-chip:hover {
  color:var(--ink);
  border-color:var(--fline);
}
.filter-chip:active {
  transform:scale(.96);
}
.filter-chip.is-active {
  background:var(--sel);
  color:var(--ink);
  border-color:transparent;
  font-weight:600;
}
.filter-chip small {
  font-size:11px;
  color:var(--muted);
  font-weight:500;
}
.field-label {
  font-size:12px;
  color:var(--muted);
  margin:0 0 4px;
  font-weight:500;
  display:block;
}
.search-field {
  display:flex;
  align-items:center;
  position:relative;
}
.search-field svg {
  position:absolute;
  left:12px;
  width:18px;
  height:18px;
  color:var(--muted);
  pointer-events:none;
}
.search-field input {
  padding-left:38px;
}
.account-card {
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:12px;
  border-radius:16px;
  border:1px solid var(--line);
  background:var(--card);
  transition:transform .18s,box-shadow .18s,border-color .18s,background .18s;
}
.account-card:hover {
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(60,50,120,.1);
}
.account-card.is-active {
  background:var(--sel);
  border-color:rgba(85,104,232,.45);
}
.account-card.is-inactive .account-card__title {
  opacity:.62;
}
.account-card__row {
  display:flex;
  align-items:flex-start;
  gap:10px;
  justify-content:space-between;
}
.account-card__title {
  display:flex;
  align-items:flex-start;
  gap:10px;
  min-width:0;
}
.account-card__title b {
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  display:block;
}
.platform-tile {
  width:34px;
  height:34px;
  border-radius:11px;
  display:grid;
  place-items:center;
  font-weight:700;
  font-size:14px;
  flex:none;
}
.platform-tile,.platform-tile--large {
  background:#fff!important;
  border:1px solid var(--line);
}
.platform-tile img {
  width:20px;
  height:20px;
  object-fit:contain;
}
.platform-tile--large img {
  width:36px;
  height:36px;
  object-fit:contain;
}
.account-card__meta {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:6px;
  font-size:12px;
}
.account-card__meta span {
  color:var(--muted);
  display:block;
  font-size:11px;
}
.account-card__meta b {
  font-weight:600;
}
.badge-platform {
  display:inline-flex;
  align-items:center;
  font-size:12px;
  font-weight:500;
  padding:3px 10px;
  border-radius:8px;
  background:var(--ub);
  color:var(--uf);
}
.detail-header {
  display:flex;
  gap:16px;
  align-items:flex-start;
}
.platform-tile--large {
  width:64px;
  height:64px;
  border-radius:18px;
  display:grid;
  place-items:center;
  font-weight:700;
  font-size:24px;
  flex:none;
}
.form-fields {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));
  gap:14px;
}
.performance-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  gap:20px;
  align-items:start;
}
@media(max-width:1350px) {
  .performance-layout {
    grid-template-columns:minmax(0,1fr);
  }
}
.text-hint {
  font-size:13px;
  color:var(--muted);
}
.text-hint b {
  color:var(--ink);
}
.option-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:12px;
}
.option {
  position:relative;
}
.option input {
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.option label {
  margin:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  padding:16px;
  border:1.5px solid var(--line);
  border-radius:16px;
  cursor:pointer;
  font-weight:500;
  transition:border-color .18s,background .18s,transform .12s;
}
.option label:hover {
  transform:translateY(-2px);
  border-color:var(--fline);
}
.option input:checked+label {
  border-color:var(--blue);
  background:var(--sel);
}
.option input:focus-visible+label {
  outline:2px solid var(--blue);
  outline-offset:2px;
}
.option svg {
  width:26px;
  height:26px;
}
tr.is-total td {
  background:var(--th);
  font-weight:500;
}

.link-cell {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
  min-width:190px;
}
.link-item {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:0;
}
.link-item__actions {
  display:flex;
  gap:6px;
}
.link-item__name {
  line-height:30px;
}
.cell-line {
  display:flex;
  align-items:center;
  min-height:30px;
}
.link-item__name {
  font-weight:600;
  max-width:260px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.link-item.is-off .link-item__name {
  color:var(--muted);
  font-weight:400;
  text-decoration:line-through;
}
.link-add select {
  max-width:150px;
}

.table--top td {
  vertical-align:top;
}
.pick-dialog {
  width:min(520px,calc(100vw - 32px));
  max-height:min(640px,calc(100vh - 48px));
  padding:0;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--card);
  color:var(--ink);
  box-shadow:0 20px 60px rgba(0,0,0,.35);
}
.pick-dialog::backdrop {
  background:rgba(10,12,24,.55);
}
.pick-dialog form {
  display:flex;
  flex-direction:column;
  max-height:inherit;
  max-height:min(640px,calc(100vh - 48px));
}
.pick-dialog__head {
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:16px 16px 12px;
  border-bottom:1px solid var(--line);
}
.pick-dialog__head .table-search {
  max-width:none;
}
.pick-dialog__list {
  flex:1;
  overflow:auto;
  padding:6px 8px;
}
.pick-dialog__foot {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  padding:12px 16px;
  border-top:1px solid var(--line);
  background:var(--card);
}
.pick__option {
  display:flex;
  align-items:center;
  gap:10px;
  margin:0;
  padding:7px 8px;
  border-radius:8px;
  font-weight:400;
  cursor:pointer;
}
.pick__option:hover {
  background:var(--panel);
}
.pick__option[hidden],.pick-dialog__empty[hidden] {
  display:none;
}
.pick__option input {
  width:auto;
  min-height:0;
  flex:none;
}
.pick-dialog__empty {
  padding:8px;
  margin:0;
}

/* css/90-print.css */
/* Gaya cetak dan lembar laporan PDF (warna sendiri, tidak mengikuti tema). */
.print-report {
  display:none;
}
@media print {
  .sidebar,.notice-banner,.no-print,.flash,.sidebar__backdrop,.list-panel,.mobile-back,.breadcrumb,.topbar {
    display:none!important;
  }
  .split-layout {
    display:block!important;
  }
  .app-shell {
    display:block;
  }
  .app-content {
    padding:0!important;
  }
  .card,.kpi-card {
    box-shadow:none!important;
    border:1px solid #ddd;
  }
  body {
    background:#fff;
  }
  .app-main>* {
    animation:none!important;
  }
}
@media print {
  .screen-only {
    display:none!important;
  }
  .print-report {
    display:block!important;
    color:#111827;
    font:12px/1.5 Arial,Helvetica,sans-serif;
    -webkit-print-color-adjust:exact;
    print-color-adjust:exact;
  }
  .print-report * {
    box-sizing:border-box;
  }
  .print-report__header {
    background:#1e3a8a;
    color:#fff;
    padding:18px 22px;
    border-radius:6px 6px 0 0;
  }
  .print-report__header {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
  }
  .print-report__brand {
    display:flex;
    align-items:center;
    gap:10px;
    flex:none;
  }
  .print-report__brand img {
    background:#fff;
    border-radius:8px;
    padding:4px;
    object-fit:contain;
  }
  .print-report__brand b {
    display:block;
    color:#fff;
    font-size:15px;
  }
  .print-report__brand span {
    display:block;
    color:#bfdbfe;
    font-size:11px;
  }
  .print-report__header small {
    display:block;
    font-size:11px;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:#bfdbfe;
  }
  .print-report__title .print-report__heading {
    margin:4px 0 2px;
    font-size:22px;
    font-weight:700;
    color:#fff;
  }
  .print-report__title div {
    color:#dbeafe;
    font-size:13px;
  }
  .print-report__info {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    border:1px solid #cbd5e1;
    border-top:0;
    border-radius:0 0 6px 6px;
    margin-bottom:14px;
  }
  .print-report__info div {
    padding:8px 14px;
    border-right:1px solid #e2e8f0;
    border-bottom:1px solid #e2e8f0;
  }
  .print-report__info span {
    display:block;
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:.06em;
    color:#64748b;
  }
  .print-report__info b {
    font-size:13px;
    color:#0f172a;
  }
  .print-report__kpis {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:8px;
    margin-bottom:14px;
  }
  .print-report__kpis div {
    border:1px solid #cbd5e1;
    border-top:4px solid #2563eb;
    border-radius:4px;
    padding:8px 10px;
    background:#f8fafc;
  }
  .print-report__kpis div:nth-child(2) {
    border-top-color:#16a34a;
  }
  .print-report__kpis div:nth-child(3) {
    border-top-color:#d97706;
  }
  .print-report__kpis div:nth-child(4) {
    border-top-color:#7c3aed;
  }
  .print-report__kpis span {
    display:block;
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:.06em;
    color:#64748b;
  }
  .print-report__kpis b {
    font-size:17px;
    color:#0f172a;
  }
  .print-report h2 {
    break-after:avoid;
    page-break-after:avoid;
    margin:16px 0 6px;
    font-size:13px;
    color:#1e3a8a;
    border-bottom:2px solid #1e3a8a;
    padding-bottom:3px;
  }
  .print-report table {
    width:100%;
    border-collapse:collapse;
    font-size:11px;
  }
  .print-report th {
    background:#1e3a8a;
    color:#fff;
    text-align:left;
    padding:5px 8px;
    font-weight:600;
  }
  .print-report td {
    padding:4px 8px;
    border-bottom:1px solid #e2e8f0;
  }
  .print-report tr:nth-child(even) td {
    background:#f1f5f9;
  }
  .print-report th.is-numeric,.print-report td.is-numeric {
    text-align:right;
  }
  .print-report tfoot td {
    background:#dbeafe!important;
    font-weight:700;
    border-top:2px solid #1e3a8a;
  }
  .print-report__footer {
    margin-top:14px;
    font-size:10px;
    color:#64748b;
    border-top:1px solid #cbd5e1;
    padding-top:6px;
  }
  .print-report table,.print-report tr {
    page-break-inside:avoid;
  }
}
