/* ==========================================================================
   SIAKAD Patriot Nusantara — Tema "HyperCloud" (client area)
   Dimuat SETELAH global.css (lihat includes/asset_helper.php) sehingga
   hanya menimpa tampilan; struktur & JS shell tetap sama.

   Ciri tampilan (mengacu my.hypercloudhost.com/clientarea.php):
   - Sidebar & header putih menyatu, tanpa bingkai/bayangan.
   - Area konten abu-abu lembut dengan sudut kiri-atas melengkung besar.
   - Label "eyebrow" kecil kapital berjarak huruf lebar, warna biru.
   - Menu aktif: pil biru muda + garis tepi biru tipis.
   - Kartu putih radius 22px, bayangan sangat halus.
   - Tombol utama biru gradasi, tombol ikon persegi membulat 52px.
   ========================================================================== */

/* 01 — TOKEN ============================================================= */
:root {
  --primary-blue: #2f74e0;
  --dark-blue: #1f5cc5;
  --blue-soft: rgba(47, 116, 224, .09);
  --blue-border: rgba(47, 116, 224, .24);
  --palette-rgb: 47, 116, 224;

  --c-bg: #ffffff;
  --c-surface: #ffffff;
  --c-surface-2: #f7f9fc;
  --c-surface-3: #eef2f8;
  --c-border: #e6ebf2;
  --c-border-strong: #d5dde8;
  --c-text: #23344a;
  --c-text-strong: #15243a;
  --c-text-muted: #6b7a90;
  --c-text-subtle: #a3afc0;

  --hc-canvas: #f3f5f9;
  --hc-active-bg: #eaf3fe;
  --hc-active-border: #cfe1fa;
  --hc-card-shadow: 0 1px 2px rgba(21, 36, 58, .03), 0 8px 24px rgba(21, 36, 58, .04);
  --hc-grad: linear-gradient(90deg, var(--c-primary) 0%, color-mix(in srgb, var(--c-primary) 55%, #7cc4ff) 100%);

  --font-sans: "Inter", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --radius-lg: 14px;
  --radius-xl: 16px;
  --control-h: 38px;
  --control-radius: 10px;

  --sidebar-w: 244px;
  --header-h: 66px;
  --shell-gap: 0px;
  --content-pad: clamp(16px, 2vw, 28px);
}
:root[data-bs-theme="dark"],
body.dark {
  --hc-canvas: #0b1220;
  --hc-active-bg: rgba(96, 140, 255, .14);
  --hc-active-border: rgba(96, 140, 255, .34);
  --hc-card-shadow: 0 1px 2px rgba(0, 0, 0, .35);
  --c-bg: #111a2e;
}

body.siakad-shell { background: var(--c-surface); font-family: var(--font-sans); }

/* 02 — SHELL ============================================================= */
.siakad-shell .sidebar {
  top: 0; bottom: 0; left: 0;
  width: var(--sidebar-w);
  padding: 16px 14px 12px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: var(--c-surface);
}
body.siakad-shell.sidebar-collapsed .sidebar { transform: translateX(-100%); }

.siakad-shell .sidebar .brand { gap: 10px; min-height: 44px; padding: 0 8px 12px; }
.siakad-shell .sidebar .brand .logo {
  flex-basis: 38px; width: 38px; height: 38px;
  border: 0; background: transparent; border-radius: 10px;
}
.siakad-shell .sidebar .brand img { width: 36px; height: 36px; }
.siakad-shell .sidebar .brand strong {
  display: flex; flex-direction: column;
  font-size: 16px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em;
  color: var(--c-primary);
}
.siakad-shell .sidebar .brand strong .brand-sub {
  font-size: 11px; font-weight: 700; letter-spacing: .01em;
  color: color-mix(in srgb, var(--c-primary) 60%, #5fb8f5);
}
.siakad-shell .sidebar > .sidebar-divider:first-of-type { display: none; }

.siakad-shell .academic-year-sidebar {
  margin: 0 0 8px;
  padding: 7px 10px;
  border-radius: 11px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
}

.sidebar-section-label {
  padding: 8px 12px 6px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-text-muted);
}

.siakad-shell .sidebar-content-scroll { gap: 3px; margin: 0 -4px; padding: 2px 4px 8px; }

.siakad-shell .menu-item {
  min-height: 38px;
  padding: 8px 12px;
  gap: 11px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--c-text-strong);
}
.siakad-shell .menu-item > i,
.siakad-shell .menu-item > span > i:first-child { width: 17px; height: 17px; font-size: 17px; color: var(--c-text-muted); }
.siakad-shell .menu-item > span { gap: 11px; }
.siakad-shell .menu-item:hover { background: var(--c-surface-2); color: var(--c-text-strong); }
.siakad-shell .menu-item.active:not(.sidebar-dropdown-toggle),
.siakad-shell .sidebar-dropdown-toggle.active {
  background: var(--hc-active-bg);
  border-color: var(--hc-active-border);
  color: var(--c-primary);
  box-shadow: 0 6px 16px rgba(var(--c-primary-rgb), .08);
}
.siakad-shell .menu-item.active:not(.sidebar-dropdown-toggle) > i,
.siakad-shell .sidebar-dropdown-toggle.active > span > i:first-child { color: var(--c-primary); }
.siakad-shell .transition-icon { color: var(--c-text-muted); opacity: .8; }

.siakad-shell .sidebar-submenu > div { margin-left: 20px; padding-left: 8px !important; border-left: 1px solid var(--c-border); }
.siakad-shell .sidebar-submenu .menu-item { min-height: 32px; padding: 6px 10px; font-size: 13px; border-radius: 9px; }
.siakad-shell .sidebar-submenu .menu-item.active { box-shadow: none; }

.siakad-shell .sidebar-footer-account { border-radius: 12px; padding: 7px; border: 1px solid var(--c-border); background: var(--c-surface); }
.siakad-shell .account-avatar { background: var(--hc-grad); border-radius: 50%; }
.siakad-shell .logout-link { border-radius: 12px; }

.siakad-shell .sidebar-edge-toggle {
  top: 30px;
  left: calc(var(--sidebar-w) - 13px);
}
body.siakad-shell.sidebar-collapsed .sidebar-edge-toggle { left: 8px; }

/* Header */
.siakad-shell .top-header {
  top: 0; right: 0;
  left: var(--sidebar-w);
  height: var(--header-h);
  padding: 0 var(--content-pad);
  background: color-mix(in srgb, var(--c-surface) 94%, transparent);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body.siakad-shell.sidebar-collapsed .top-header { left: 0; padding-left: 52px; }
.siakad-shell .header-heading { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.siakad-shell .header-title { font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; }
.siakad-shell .header-subtitle {
  font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.siakad-shell .header-left { flex: 0 1 auto; min-width: 190px; }
.siakad-shell .header-right { flex: 1 1 auto; justify-content: flex-end; min-width: 0; gap: 8px !important; }

.icon-btn {
  width: 38px; height: 38px;
  border-radius: 11px;
  font-size: 16px;
  border-color: var(--c-border) !important;
  box-shadow: 0 1px 2px rgba(21, 36, 58, .03);
}
.icon-btn .icon { width: 17px; height: 17px; }
.icon-btn[data-bs-target="#modalKirimPesan"] {
  background: var(--c-surface) !important;
  border-color: var(--c-border) !important;
  color: var(--c-text) !important;
}
.icon-btn[data-bs-target="#modalKirimPesan"]:hover { background: var(--c-surface-3) !important; color: var(--c-primary) !important; }
.notif-badge { top: -5px; right: -5px; min-width: 17px; height: 17px; font-size: 9.5px; }

.academic-year-pill {
  height: 38px; padding: 0 12px; border-radius: 11px !important; font-size: 12.5px;
  border: 1px solid var(--c-border) !important; background: var(--c-surface) !important;
}

/* Kolom pencarian menu */
.hc-search { position: relative; flex: 0 1 360px; min-width: 180px; margin-right: auto; margin-left: 24px; }
.hc-search > i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); font-size: 15px; color: var(--c-text-muted); pointer-events: none; }
.hc-search input {
  width: 100%; height: 38px;
  padding: 0 12px 0 36px;
  border: 1px solid var(--c-border);
  border-radius: 11px;
  background: var(--c-surface-2);
  color: var(--c-text);
  font: inherit; font-size: 13px;
  outline: none;
  transition: border-color var(--dur), box-shadow var(--dur), background var(--dur);
}
.hc-search input::placeholder { color: var(--c-text-subtle); }
.hc-search input:focus { background: var(--c-surface); border-color: var(--c-primary-border); box-shadow: var(--ring); }
.hc-search-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 1060;
  max-height: 360px; overflow-y: auto;
  padding: 8px; margin: 0; list-style: none;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}
.hc-search-results[hidden] { display: none; }
.hc-search-results a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 10px;
  color: var(--c-text-strong); text-decoration: none; font-size: 14px; font-weight: 500;
}
.hc-search-results a small { margin-left: auto; color: var(--c-text-muted); font-size: 12px; }
.hc-search-results a i { color: var(--c-text-muted); font-size: 18px; }
.hc-search-results a:hover, .hc-search-results a.is-active { background: var(--hc-active-bg); color: var(--c-primary); }
.hc-search-results .hc-empty { padding: 12px; color: var(--c-text-muted); font-size: 14px; }

/* Avatar akun di header */
.hc-account {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 8px 0 4px;
  border: 1px solid var(--c-border); border-radius: 11px;
  background: var(--c-surface); color: var(--c-text-muted); text-decoration: none;
}
.hc-account:hover { border-color: var(--c-primary-border); color: var(--c-primary); }
.hc-account .hc-avatar {
  width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #dfe7f2, #c9d5e4);
  color: #fff; font-weight: 800; font-size: 15px;
  overflow: hidden;
}
.hc-account .hc-avatar svg { width: 22px; height: 22px; margin-top: 7px; fill: #fff; }

/* Konten */
.siakad-shell .main {
  margin-left: var(--sidebar-w);
  margin-top: var(--header-h);
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  padding: clamp(16px, 2vw, 26px) var(--content-pad) 36px;
  background: var(--hc-canvas);
  border-top-left-radius: 28px;
}
body.siakad-shell.sidebar-collapsed .main { margin-left: 0; border-top-left-radius: 0; }

@media (max-width: 1280px) {
  .hc-search { margin-left: 16px; }
}
@media (max-width: 992px) {
  :root { --header-h: 58px; }
  .siakad-shell .main,
  body.siakad-shell.sidebar-collapsed .main {
    margin-left: 0;
    border-top-left-radius: 26px;
    border-top-right-radius: 26px;
    padding: 18px 14px 40px;
  }
  .siakad-shell .top-header,
  body.siakad-shell.sidebar-collapsed .top-header { left: 0; right: 0; padding: 0 12px; }
  .siakad-shell .sidebar,
  body.siakad-shell.sidebar-collapsed .sidebar { width: min(300px, 86vw); border-radius: 0 24px 24px 0; box-shadow: var(--shadow-lg); }
  .hc-search { display: none; }
  .siakad-shell .header-left { flex: 1 1 auto; min-width: 0; }
  .siakad-shell .header-right { flex: none; }
  .siakad-shell .header-title { font-size: 15px; }
  .siakad-shell .header-subtitle { font-size: 10.5px; letter-spacing: .12em; }
  .icon-btn { width: 36px; height: 36px; border-radius: 10px; font-size: 15px; }
  .hc-account { height: 36px; border-radius: 10px; padding: 0 4px; }
  .hc-account .hc-avatar { width: 28px; height: 28px; border-radius: 8px; }
  .hc-account .fa-chevron-down { display: none; }
}
@media (max-width: 576px) {
  .siakad-shell .header-subtitle { display: none; }
  .siakad-shell .header-right { gap: 6px !important; }
  .icon-btn { width: 34px; height: 34px; }
  .hc-account { display: none; }
}

/* 03 — KOMPONEN UMUM (berlaku untuk semua halaman lama) ================== */
.siakad-shell .page-card, .siakad-shell .panel, .siakad-shell .glass-panel, .siakad-shell .dashboard-panel, .siakad-shell .card {
  border-color: var(--c-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--hc-card-shadow);
}
.siakad-shell .card { --bs-card-border-radius: var(--radius-xl); --bs-card-inner-border-radius: calc(var(--radius-xl) - 1px); }
.siakad-shell .page-card { padding: clamp(16px, 1.8vw, 24px); }
.siakad-shell .page-title { font-size: 18px; font-weight: 700; letter-spacing: -.01em; color: var(--c-text-strong); }
.siakad-shell .stat-card { border-radius: var(--radius-xl); box-shadow: var(--hc-card-shadow); border-color: var(--c-border); padding: 16px 18px; }
.siakad-shell .stat-label { font-size: 11px; letter-spacing: .12em; font-weight: 700; }
.siakad-shell .stat-value { font-size: 26px; font-weight: 600; }

.siakad-shell .form-control, .siakad-shell .form-select { min-height: var(--control-h); border-radius: var(--control-radius); border-color: var(--c-border); }
.siakad-shell .form-control:focus, .siakad-shell .form-select:focus { border-color: var(--c-primary-border); box-shadow: var(--ring); }
.siakad-shell .form-label { font-weight: 600; color: var(--c-text-strong); }

.siakad-shell :is(.btn-blue-custom, .btn-primary-custom, .btn-blue, .btn-premium, .btn-up),
.siakad-shell .btn-primary {
  background: var(--hc-grad) !important;
  border-color: transparent !important;
  box-shadow: 0 8px 18px rgba(var(--c-primary-rgb), .26);
}
.siakad-shell :is(.btn-blue-custom, .btn-primary-custom, .btn-blue, .btn-outline-secondary-custom, .btn-secondary-custom, .btn-danger-custom, .btn-green-custom),
.siakad-shell .btn { border-radius: 12px; }

.siakad-shell .table { --bs-table-bg: transparent; }
.siakad-shell .table > thead > tr > th, .siakad-shell .table thead th {
  background: var(--c-surface-2);
  color: var(--c-text-muted);
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  border-bottom: 1px solid var(--c-border);
}
.siakad-shell .table > :not(caption) > * > * { padding: 10px 12px; }
.siakad-shell .table > tbody > tr:hover > * { background: rgba(var(--c-primary-rgb), .03); }

/* 04 — KOMPONEN BARU "hc-" (dipakai halaman baru, mis. Kartu Pelajar) ===== */
.hc-eyebrow {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-primary);
}
.hc-hero { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin: 2px 0 18px; }
.hc-hero-title { margin: 4px 0 4px; font-size: clamp(21px, 2vw, 26px); font-weight: 700; letter-spacing: -.025em; color: var(--c-text-strong); }
.hc-hero-sub { margin: 0; max-width: 640px; font-size: 13.5px; color: var(--c-text-muted); }
.hc-hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.hc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 38px; padding: 0 15px;
  border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-size: 13.5px; font-weight: 600; white-space: nowrap;
  cursor: pointer; text-decoration: none;
  transition: transform var(--dur), box-shadow var(--dur), background var(--dur), color var(--dur), border-color var(--dur);
}
.hc-btn i { font-size: 15px; }
.hc-btn:active:not(:disabled) { transform: translateY(1px); }
.hc-btn:disabled { opacity: .55; cursor: not-allowed; }
.hc-btn-primary { background: var(--hc-grad); color: #fff; box-shadow: 0 10px 22px rgba(var(--c-primary-rgb), .28); }
.hc-btn-primary:hover:not(:disabled) { color: #fff; box-shadow: 0 12px 26px rgba(var(--c-primary-rgb), .36); }
.hc-btn-outline { background: var(--c-surface); color: var(--c-text-strong); border-color: var(--c-border-strong); }
.hc-btn-outline:hover:not(:disabled) { border-color: var(--c-primary-border); color: var(--c-primary); }
.hc-btn-count {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  display: inline-grid; place-items: center;
  background: rgba(255, 255, 255, .25); font-size: 12px; font-weight: 700;
}

.hc-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.hc-stat {
  position: relative; overflow: hidden;
  padding: 16px 18px 14px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  box-shadow: var(--hc-card-shadow);
}
.hc-stat-label { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-text-muted); }
.hc-stat-value { margin: 10px 0 12px; font-size: 26px; font-weight: 600; line-height: 1; color: var(--c-text-strong); font-variant-numeric: tabular-nums; }
.hc-stat-foot { padding-top: 10px; border-top: 1px solid var(--c-border); font-size: 12px; color: var(--c-text-muted); }
.hc-stat-icon { position: absolute; right: 16px; top: 30px; font-size: 52px; color: var(--c-text-subtle); opacity: .28; }
@media (max-width: 1200px) { .hc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 576px)  { .hc-stats { grid-template-columns: 1fr 1fr; gap: 10px; } .hc-stat { padding: 14px; } .hc-stat-value { font-size: 22px; } .hc-stat-icon { font-size: 40px; top: 28px; right: 10px; } }

.hc-panel {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  box-shadow: var(--hc-card-shadow);
  padding: 16px 18px;
  min-width: 0;
}
.hc-panel + .hc-panel { margin-top: 14px; }
.hc-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin: 0 -18px 14px; padding-inline: 18px; border-bottom: 1px solid var(--c-border); }
.hc-panel-title { margin: 3px 0 0; font-size: 16px; font-weight: 600; letter-spacing: -.01em; color: var(--c-text-strong); }

.hc-chip {
  display: inline-flex; align-items: center; height: 23px; padding: 0 9px;
  border-radius: 999px; background: var(--hc-active-bg); border: 1px solid var(--hc-active-border);
  color: var(--c-primary); font-size: 11.5px; font-weight: 600; white-space: nowrap;
}
.hc-badge {
  display: inline-flex; align-items: center; gap: 4px;
  height: 21px; padding: 0 7px; margin: 2px 4px 2px 0;
  border-radius: 7px; font-size: 11px; font-weight: 600; white-space: nowrap;
}
.hc-badge-success { background: var(--c-success-soft); color: var(--c-success); border: 1px solid var(--c-success-border); }
.hc-badge-warn { background: var(--c-warning-soft); color: var(--c-warning); border: 1px solid var(--c-warning-border); }
.hc-alert { border-radius: 16px; display: flex; gap: 10px; align-items: center; }

/* Header: sembunyikan elemen sekunder di layar sedang agar tidak sesak */
@media (max-width: 1599px) {
  .siakad-shell .top-header .academic-year-pill,
  .siakad-shell .top-header .header-time { display: none !important; }
}

/* 05 — DASHBOARD (semua role) — kartu statistik & hero gaya HyperCloud === */
.hc-hero-dashboard { margin-top: 4px; }
.hc-date-chip { cursor: default; font-weight: 600; color: var(--c-text-strong); }
.hc-date-chip i { color: var(--c-primary); }
.hc-date-chip #live-clock { color: var(--c-primary); font-variant-numeric: tabular-nums; }
.hc-date-sep { color: var(--c-text-subtle); }
@media (max-width: 576px) { .hc-date-chip { width: 100%; font-size: 13px; } .hc-hero-actions { width: 100%; } .hc-hero-actions .hc-btn-primary { flex: 1; } }

.siakad-shell .main .stat-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0;
  min-height: 124px;
  padding: 16px 18px 12px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  box-shadow: var(--hc-card-shadow);
}
.siakad-shell .main .stat-card:hover { transform: none; border-color: var(--hc-active-border); }
.siakad-shell .main .stat-card :is(.stat-label, .text-sm-78, small.fw-semibold) {
  font-size: 10.5px !important; font-weight: 600 !important;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-text-muted) !important;
}
.siakad-shell .main .stat-card :is(h3, h4, .stat-value) {
  margin: 8px 0 10px !important;
  font-size: 26px !important; font-weight: 600 !important; line-height: 1;
  color: var(--c-text-strong) !important;
  font-variant-numeric: tabular-nums;
}
.siakad-shell .main .stat-card > div:last-child:not(:first-child) {
  padding-top: 9px; border-top: 1px solid var(--c-border);
  font-size: 11.5px; color: var(--c-text-muted);
}
.siakad-shell .main .stat-card :is(.stat-icon-box, .stat-icon) {
  position: absolute; right: 14px; top: 26px;
  width: 54px !important; height: 54px !important;
  background: none !important; border: 0 !important; box-shadow: none !important;
  color: var(--c-text-subtle) !important; opacity: .32;
  display: grid; place-items: center;
  pointer-events: none;
}
.siakad-shell .main .stat-card :is(.stat-icon-box, .stat-icon) :is(i, svg) { width: 50px !important; height: 50px !important; font-size: 50px !important; color: inherit !important; }

/* Panel dashboard & daftar */
.siakad-shell .main :is(.dashboard-panel, .panel) > h5:first-child,
.siakad-shell .main .panel-heading-title { font-size: 15.5px; font-weight: 600; color: var(--c-text-strong); }
.siakad-shell .main .kelas-item {
  background: var(--c-surface-2); border: 1px solid var(--c-border);
  border-radius: 10px; color: var(--c-text-strong); padding: 9px 12px;
}
.siakad-shell .main .text-emerald, .siakad-shell .main .text-brand { color: var(--c-text-strong) !important; }

/* Hero lama yang masih dipakai halaman lain (guru mapel, wakasis) */
.siakad-shell .main :is(.dashboard-hero, .admin-hero, section.hero) {
  background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; margin-bottom: 26px;
}
.siakad-shell .main :is(.dashboard-kicker, .hero-kicker) {
  background: none !important; border: 0 !important; padding: 0 !important;
  font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-primary) !important;
}
.siakad-shell .main :is(.dashboard-title, .hero-title) {
  font-size: clamp(21px, 2vw, 26px) !important; font-weight: 700 !important; letter-spacing: -.025em; color: var(--c-text-strong) !important;
  background: none !important; -webkit-text-fill-color: currentColor !important;
}

/* 06 — SUDUT MELENGKUNG TETAP (seperti client area HyperCloud) ============
   Header buram penuh + "topeng" sudut di bawah header. Saat halaman di-scroll,
   konten lewat di bawah header dan terpotong melengkung di sudut kiri-atas. */
.siakad-shell .top-header {
  background: var(--c-surface);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.siakad-shell .top-header::before,
.siakad-shell .top-header::after {
  content: "";
  position: absolute;
  top: 100%;
  width: 28px;
  height: 28px;
  pointer-events: none;
}
.siakad-shell .top-header::before {
  left: 0;
  background: radial-gradient(circle at 100% 100%, transparent 27.5px, var(--c-surface) 28px);
}
.siakad-shell .top-header::after { content: none; }
.siakad-shell .main { border-top-left-radius: 0; }
body.siakad-shell.sidebar-collapsed .top-header::before { display: none; }

@media (max-width: 992px) {
  .siakad-shell .main,
  body.siakad-shell.sidebar-collapsed .main { border-radius: 0; }
  .siakad-shell .top-header::before,
  body.siakad-shell.sidebar-collapsed .top-header::before { display: block; width: 22px; height: 22px; background: radial-gradient(circle at 100% 100%, transparent 21.5px, var(--c-surface) 22px); }
  .siakad-shell .top-header::after {
    content: ""; right: 0; width: 22px; height: 22px;
    background: radial-gradient(circle at 0 100%, transparent 21.5px, var(--c-surface) 22px);
  }
}
@media print {
  .siakad-shell .top-header::before, .siakad-shell .top-header::after { display: none !important; }
}
