:root {
  --navy: #0f1729;
  --app-topbar-height: 76px;
  --abk-sticky-head-height: 88px;
  --navy-soft: #1a2744;
  --navy-mid: #243656;
  --gold: #c9a962;
  --gold-light: #e8d5a3;
  --gold-dark: #a8863a;
  --cream: #faf8f5;
  --cream-dark: #f3efe8;
  --blue: #243656;
  --blue-dark: #0f1729;
  --text: #1c2434;
  --muted: #64748b;
  --line: #e8e4dc;
  --line-soft: #f0ece4;
  --bg: #f5f2ec;
  --card: #fff;
  --accent-red: #c62828;
  --xp-yes: #2e7d32;
  --shadow-sm: 0 2px 8px rgba(15, 23, 41, 0.06);
  --shadow-md: 0 8px 32px rgba(15, 23, 41, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 23, 41, 0.12);
  --radius: 12px;
  --radius-lg: 16px;
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: "Segoe UI", Tahoma, system-ui, sans-serif;
}

* { box-sizing: border-box; }

input[type="text"],
input[type="search"],
input[type="tel"],
input[type="email"],
input:not([type]),
textarea {
  text-transform: uppercase;
}
input[type="url"],
input[type="password"],
input[type="file"],
input[type="hidden"],
input[type="radio"],
input[type="checkbox"],
input[type="button"],
input[type="submit"],
input[type="reset"],
input[data-no-upper],
textarea[data-no-upper],
.auth-form input,
.abk-portal-login-form input,
input[autocomplete="username"],
input[autocomplete="current-password"],
input[autocomplete="new-password"],
input[name="username"],
input[name="password"],
input[name="password_confirm"],
[data-no-upper] input,
[data-no-upper] textarea {
  text-transform: none;
  letter-spacing: normal;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 120% 80% at 100% 0%, rgba(201, 169, 98, 0.08), transparent 50%),
    radial-gradient(ellipse 80% 60% at 0% 100%, rgba(15, 23, 41, 0.04), transparent 45%),
    var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.topbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  display: flex;
  justify-content: stretch;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border-radius: 0;
  box-sizing: border-box;
  background:
    radial-gradient(ellipse 90% 140% at 0% 0%, rgba(201, 169, 98, 0.14), transparent 55%),
    linear-gradient(135deg, #0a1020 0%, var(--navy) 38%, var(--navy-soft) 100%);
  color: #fff;
  border-bottom: 1px solid rgba(201, 169, 98, 0.32);
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold-dark) 20%, var(--gold-light) 50%, var(--gold-dark) 80%, transparent 100%);
  pointer-events: none;
}
.topbar-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  width: 100%;
  max-width: none;
  margin: 0;
  /* Samakan ritme padding dengan main.page full-bleed (ABK index / penempatan). */
  padding: 12px clamp(10px, 1.5vw, 22px);
  overflow: visible;
  box-sizing: border-box;
}

.app-sticky-chrome {
  position: sticky;
  top: 0;
  z-index: 1100;
}

.app-back-bar {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(201, 169, 98, 0.22);
  background: linear-gradient(180deg, rgba(250, 248, 245, 0.98) 0%, #fff 100%);
  box-shadow: 0 4px 14px rgba(15, 23, 41, 0.06);
}

.app-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(15, 23, 41, 0.12);
  border-radius: 10px;
  background: #fff;
  color: var(--navy, #0f172a);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.app-back-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(201, 169, 98, 0.55);
  background: rgba(250, 248, 245, 0.95);
}

.app-back-btn-topbar {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 6px 12px;
}

.app-back-btn-topbar .app-back-label {
  display: none;
}

.app-back-btn-bar {
  width: 100%;
  max-width: 220px;
  justify-content: flex-start;
}

.app-back-btn-inline {
  border: none;
  background: transparent;
  min-height: auto;
  padding: 8px 0;
  font-weight: 600;
}

.app-back-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.page-with-back-bar {
  padding-top: clamp(10px, 1.2vw, 18px);
}

@media (min-width: 900px) {
  .app-back-btn-topbar .app-back-label {
    display: inline;
  }

  .app-back-bar {
    display: none;
  }
}

@media (max-width: 768px) {
  .app-back-btn-topbar {
    min-height: 44px;
    min-width: 44px;
    padding: 10px 12px;
  }

  .app-back-btn-bar {
    max-width: none;
    min-height: 44px;
  }
}
.topbar-quicknav-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  padding: 0 6px 0 2px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 169, 98, 0.45) transparent;
}
.topbar-quicknav-wrap::-webkit-scrollbar {
  height: 4px;
}
.topbar-quicknav-wrap::-webkit-scrollbar-thumb {
  background: rgba(201, 169, 98, 0.45);
  border-radius: 4px;
}
.topbar-quicknav-wrap .abk-dash-quicknav-topbar {
  border-right: none;
  padding-right: 0;
  margin-right: 0;
  flex-wrap: nowrap;
  min-width: max-content;
}
.topbar-brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 0;
}
.topbar-left { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.topbar-right a { color: #cbd5e1; transition: color 0.2s; }
.topbar-right a:hover { color: var(--gold-light); }

.brand-lux strong {
  display: block;
  font-size: clamp(0.72rem, 1.25vw, 0.96rem);
  font-family: var(--font-display);
  letter-spacing: 0.035em;
  line-height: 1.2;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.brand-lux .brand-lux-tagline {
  display: block;
  margin-top: 2px;
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.92;
}

.brand-lux .brand-lux-licenses {
  display: block;
  margin-top: 3px;
  color: rgba(255, 248, 230, 0.55);
  font-size: 9px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-transform: none;
  opacity: 1;
}

.brand-lux-motivation-mobile {
  display: none !important;
}

.topbar-identity {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 20px);
  flex: 1 1 auto;
  min-width: 0;
  padding: 6px clamp(10px, 1.4vw, 14px);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 38%, rgba(0, 0, 0, 0.14) 100%);
  border: 1px solid rgba(201, 169, 98, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.topbar-identity-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.topbar-identity-divider {
  flex: 0 0 auto;
  width: 1px;
  align-self: stretch;
  min-height: 42px;
  margin: 2px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(201, 169, 98, 0.72) 50%, transparent 100%);
  opacity: 0.85;
}

.topbar-identity-commitment {
  min-width: 0;
  flex: 1 1 auto;
  padding: 2px clamp(4px, 1vw, 10px) 2px 0;
}

.topbar-identity-values {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.25vw, 1.08rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  white-space: nowrap;
}

.topbar-identity-note {
  margin: 5px 0 0;
  font-size: clamp(0.74rem, 0.98vw, 0.88rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.015em;
}

.topbar-slogan-shine,
.topbar-slogan-shine-sub {
  background-image: linear-gradient(
    90deg,
    #ffffff 0%,
    #f8ecd0 18%,
    #e8d5a8 32%,
    #c9a962 50%,
    #f8ecd0 68%,
    #ffffff 82%,
    #f0e2c4 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: topbar-slogan-flow 5.5s linear infinite;
}

.topbar-slogan-shine-sub {
  background-image: linear-gradient(
    90deg,
    rgba(255, 248, 230, 0.88) 0%,
    #f5e6c8 20%,
    #dbc48a 40%,
    #c9a962 55%,
    #f5e6c8 72%,
    rgba(255, 248, 230, 0.92) 100%
  );
  background-size: 260% auto;
  animation-duration: 7s;
}

@keyframes topbar-slogan-flow {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 220% center;
  }
}

.topbar-identity-menu {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.topbar-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 4px 10px 4px 4px;
  margin: 0;
  border: 1px solid rgba(201, 169, 98, 0.32);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.22) 0%, rgba(201, 169, 98, 0.1) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
}

.topbar-menu-trigger:hover,
.topbar-menu-trigger:focus-visible,
body.app-launcher-open .topbar-menu-trigger {
  border-color: rgba(201, 169, 98, 0.62);
  box-shadow: 0 0 0 2px rgba(201, 169, 98, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.topbar-menu-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  min-width: 0;
}

.topbar-menu-label {
  color: var(--gold-light);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.1;
}

.topbar-menu-hint {
  color: rgba(255, 248, 230, 0.68);
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
}

.topbar-menu-bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 14px;
  margin-left: 2px;
}

.topbar-menu-bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
}

.topbar-menu-trigger .app-launcher-avatar {
  width: 46px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid rgba(201, 169, 98, 0.7);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 242, 232, 0.96) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.65),
    0 3px 10px rgba(0, 0, 0, 0.22);
  padding: 3px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.topbar-menu-trigger .app-launcher-avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  border-radius: 8px;
  background: #fff;
}

.topbar-menu-trigger .app-launcher-avatar-initials {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.22), rgba(201, 169, 98, 0.08));
  font-size: 0.78rem;
}

.topbar-menu-trigger:hover .app-launcher-avatar,
.topbar-menu-trigger:focus-visible .app-launcher-avatar,
body.app-launcher-open .topbar-menu-trigger .app-launcher-avatar {
  border-color: var(--gold-light);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.75),
    0 0 0 2px rgba(201, 169, 98, 0.2),
    0 4px 14px rgba(0, 0, 0, 0.28);
  transform: none;
}

.topbar-motivation-blink {
  animation: none;
}

@media (min-width: 901px) {
  .topbar-inner > .topbar-identity {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .topbar-inner:has(.app-back-btn-topbar) > .topbar-identity {
    grid-column: 2 / -1;
  }

  .topbar-inner:has(.topbar-quicknav-wrap) .topbar-identity-commitment {
    display: none;
  }

  .topbar-inner:has(.topbar-quicknav-wrap) .topbar-identity-divider {
    display: none;
  }

  .topbar-inner.is-launcher-nav > .topbar-identity {
    grid-column: 1 / -1;
  }

  .topbar-inner.is-launcher-nav:has(.app-back-btn-topbar) > .topbar-identity {
    grid-column: 2 / -1;
  }
}

@media (max-width: 900px) and (min-width: 769px) {
  .topbar-identity {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 8px 10px 10px;
    border-radius: 12px;
  }

  .topbar-identity-brand {
    width: 100%;
  }

  .topbar-identity-divider,
  .topbar-identity-divider--menu {
    width: 100%;
    height: 1px;
    min-height: 0;
    margin: 0;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 98, 0.65), transparent);
  }

  .topbar-identity-values {
    white-space: normal;
  }

  .topbar-identity-commitment {
    padding: 0;
    text-align: center;
  }

  .topbar-identity-menu {
    justify-content: center;
    width: 100%;
  }

  .topbar-menu-trigger {
    width: 100%;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 12px;
  }

  .topbar-menu-hint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .topbar-slogan-shine,
  .topbar-slogan-shine-sub {
    animation: none;
    background-image: none;
    -webkit-text-fill-color: #fff8e8;
    color: #fff8e8;
  }

  .topbar-slogan-shine-sub {
    -webkit-text-fill-color: rgba(255, 248, 230, 0.88);
    color: rgba(255, 248, 230, 0.88);
  }
}

.topbar-cycle {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(201, 169, 98, 0.22);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.28);
}
.topbar-cycle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 34px;
  padding: 6px 9px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 42%, rgba(0, 0, 0, 0.18) 100%);
  color: #f8fafc;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.16s, box-shadow 0.16s, border-color 0.16s, background 0.16s;
}
.topbar-cycle-btn:hover:not(.is-disabled) {
  transform: translateY(-1px);
  border-color: rgba(201, 169, 98, 0.55);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 45%, rgba(0, 0, 0, 0.12) 100%);
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  color: var(--gold-light);
  text-decoration: none;
}
.topbar-cycle-btn.is-disabled {
  opacity: 0.32;
  cursor: not-allowed;
  box-shadow: none;
}
.topbar-cycle-text {
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.topnav {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}
.topnav-lux { gap: 8px; }

.topnav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  border-radius: 10px;
  border: 1px solid rgba(201, 169, 98, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.04) 40%, rgba(0, 0, 0, 0.22) 100%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow:
    0 5px 14px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -2px 0 rgba(0, 0, 0, 0.22);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s, color 0.18s, background 0.18s;
}
.topnav-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 213, 163, 0.55);
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.07) 42%, rgba(0, 0, 0, 0.15) 100%);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  text-decoration: none;
}
.topnav-pill.is-active {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--navy);
  background: linear-gradient(180deg, #f5e6bc 0%, var(--gold-light) 18%, var(--gold) 55%, var(--gold-dark) 100%);
  box-shadow:
    0 6px 18px rgba(168, 134, 58, 0.45),
    inset 0 2px 0 rgba(255, 255, 255, 0.55),
    inset 0 -3px 0 rgba(120, 90, 30, 0.35);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}
.topnav-pill.is-active:hover {
  color: var(--navy);
  transform: translateY(-1px);
}

.topnav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.88rem;
  padding: 6px 8px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.topnav a:hover { color: var(--gold-light); background: rgba(255, 255, 255, 0.06); text-decoration: none; }

.nav-dropdown { position: relative; }
.nav-dropdown-btn {
  color: #e2e8f0;
  font-size: 0.88rem;
  cursor: default;
  padding: 6px 4px;
}
.nav-dropdown-lux .nav-dropdown-btn {
  cursor: pointer;
  user-select: none;
}
.nav-dropdown-lux:hover .nav-dropdown-menu,
.nav-dropdown-lux:focus-within .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  padding: 6px 0;
  z-index: 50;
}
.nav-dropdown-menu-lux {
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(201, 169, 98, 0.28);
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
  box-shadow:
    0 16px 40px rgba(15, 23, 41, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.nav-dropdown-link {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--navy) !important;
  font-weight: 600;
  font-size: 0.86rem;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}
.nav-dropdown-link:hover {
  background: rgba(201, 169, 98, 0.14);
  text-decoration: none;
  transform: translateX(2px);
}
.nav-dropdown-link.is-active {
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.22), rgba(201, 169, 98, 0.08));
  color: var(--gold-dark) !important;
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  color: #1e293b !important;
}
.nav-dropdown-menu a:hover { background: #f1f5f9; text-decoration: none; }

.topbar-right-lux {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  flex-shrink: 0;
  margin-left: auto;
  padding: 0 0 0 4px;
  position: relative;
  z-index: 20;
}
.topbar-profile-menu {
  position: relative;
  flex: 0 0 auto;
}
.topbar-profile-menu > summary {
  list-style: none;
  cursor: pointer;
}
.topbar-profile-menu > summary::-webkit-details-marker {
  display: none;
}
.topbar-profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 2px;
  border: 2px solid rgba(201, 169, 98, 0.45);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.topbar-profile-btn:hover,
.topbar-profile-menu[open] > .topbar-profile-btn {
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.32);
}
.topbar-profile-avatar {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(145deg, #2a3f6b, var(--navy, #0f172a));
}
.topbar-profile-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.topbar-profile-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--gold-light);
}
.topbar-profile-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(201, 169, 98, 0.28);
  background: linear-gradient(180deg, #fff 0%, var(--cream, #f7f3eb) 100%);
  box-shadow: 0 14px 32px rgba(15, 23, 41, 0.22);
  z-index: 140;
}
.topbar-profile-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 4px 6px 10px;
  border-bottom: 1px solid rgba(15, 23, 41, 0.08);
  margin-bottom: 6px;
}
.topbar-profile-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy, #0f172a);
  line-height: 1.3;
}
.topbar-profile-role {
  margin-left: 0;
}
.topbar-profile-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.topbar-profile-link {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--navy, #0f172a) !important;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease;
}
.topbar-profile-link:hover {
  background: rgba(201, 169, 98, 0.14);
  text-decoration: none;
}
.topbar-profile-logout {
  color: #9a3412 !important;
}
.topbar-profile-logout:hover {
  background: rgba(220, 38, 38, 0.08);
}

.brand strong { display: block; font-size: 1.05rem; font-family: var(--font-display); letter-spacing: 0.04em; }
.brand span { color: rgba(201, 169, 98, 0.85); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }

.page { max-width: min(100%, 1600px); margin: 0 auto; padding: 28px 20px 40px; width: 100%; }
.page-with-sticky-topbar { padding-top: 22px; }
.page-auth {
  min-height: calc(100dvh - 72px);
  display: grid;
  place-items: center;
  padding: 36px 20px 28px;
  background: transparent;
}
.body-auth {
  min-height: 100dvh;
  font-family: "Plus Jakarta Sans", var(--font-body);
  background-color: #e8f0f7;
  background-image:
    radial-gradient(ellipse 90% 55% at 0% -8%, rgba(74, 163, 224, 0.2), transparent 52%),
    radial-gradient(ellipse 70% 48% at 100% 0%, rgba(201, 169, 98, 0.16), transparent 48%),
    radial-gradient(ellipse 55% 40% at 80% 100%, rgba(46, 109, 164, 0.1), transparent 52%),
    radial-gradient(ellipse 45% 35% at 10% 90%, rgba(232, 213, 163, 0.14), transparent 50%),
    linear-gradient(180deg, #e4eef8 0%, #f3efe6 42%, #eaf3f8 100%);
  background-attachment: fixed;
}
.body-auth-sea {
  --sea-deep: #043b63;
  --sea-mid: #0a6aa8;
  --sea-bright: #1bb0e4;
  --sea-foam: #7fe3ff;
  --sea-sky: #d7f1ff;
  background-color: #041e36;
  background-image:
    radial-gradient(ellipse 80% 55% at 12% -5%, rgba(127, 227, 255, 0.28), transparent 52%),
    radial-gradient(ellipse 70% 50% at 95% 8%, rgba(27, 176, 228, 0.35), transparent 48%),
    radial-gradient(ellipse 65% 45% at 50% 100%, rgba(10, 106, 168, 0.45), transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(255, 255, 255, 0.08), transparent 60%),
    linear-gradient(165deg, #021526 0%, #043b63 38%, #0a6aa8 72%, #06608f 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}
.body-auth .page-auth {
  --font-display: "DM Sans", "Plus Jakarta Sans", sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
}
.body-auth-sea .footer {
  color: rgba(191, 232, 255, 0.72);
  text-shadow: 0 1px 8px rgba(7, 89, 133, 0.45);
}
.body-auth .footer {
  color: var(--muted);
  padding-bottom: 28px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  opacity: 0.88;
}
.page-auth .footer {
  color: rgba(232, 213, 163, 0.42);
  padding-bottom: 28px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.auth-scene {
  position: relative;
  width: min(460px, 100%);
  z-index: 1;
}
.auth-sea-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.08) 45%, transparent 70%);
  background-size: 220% 220%;
  animation: authSeaShimmer 7.5s ease-in-out infinite;
  mix-blend-mode: soft-light;
}
@keyframes authSeaShimmer {
  0% { background-position: 0% 40%; opacity: 0.45; }
  50% { background-position: 100% 60%; opacity: 0.85; }
  100% { background-position: 0% 40%; opacity: 0.45; }
}
.auth-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(72px);
  opacity: 0.42;
  z-index: 0;
}
.auth-orb-a {
  width: 360px;
  height: 360px;
  top: 6%;
  left: -100px;
  background: radial-gradient(circle, rgba(201, 169, 98, 0.32) 0%, transparent 70%);
}
.auth-orb-b {
  width: 300px;
  height: 300px;
  bottom: 8%;
  right: -70px;
  background: radial-gradient(circle, rgba(74, 163, 224, 0.18) 0%, transparent 70%);
  border: 0;
}
.body-auth-sea .auth-orb-a {
  width: 420px;
  height: 420px;
  top: -40px;
  left: -120px;
  opacity: 0.55;
  background: radial-gradient(circle, rgba(127, 227, 255, 0.55) 0%, rgba(27, 176, 228, 0.2) 45%, transparent 72%);
  animation: authOrbFloat 8s ease-in-out infinite;
}
.body-auth-sea .auth-orb-b {
  width: 380px;
  height: 380px;
  bottom: -60px;
  right: -90px;
  opacity: 0.5;
  background: radial-gradient(circle, rgba(10, 106, 168, 0.7) 0%, rgba(4, 59, 99, 0.35) 50%, transparent 75%);
  animation: authOrbFloat 10s ease-in-out infinite reverse;
}
.body-auth-sea .auth-orb-c {
  width: 260px;
  height: 260px;
  top: 42%;
  left: 55%;
  opacity: 0.35;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0%, rgba(127, 227, 255, 0.2) 40%, transparent 70%);
  filter: blur(48px);
  animation: authOrbFloat 6.5s ease-in-out infinite;
}
@keyframes authOrbFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(18px, -22px, 0) scale(1.08); }
}

.auth-card {
  background: var(--card);
  padding: 28px;
  border-radius: 12px;
  width: min(400px, 100%);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}
.auth-card-lux {
  position: relative;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(201, 169, 98, 0.55);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.55) 22%, transparent 38%),
    linear-gradient(165deg, #ffffff 0%, #fffdf9 38%, #f8f4ec 100%);
  box-shadow:
    0 28px 70px rgba(15, 23, 41, 0.14),
    0 10px 28px rgba(15, 23, 41, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 0 0 1px rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
}
.auth-card-sea {
  border: 1px solid rgba(127, 227, 255, 0.55);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 28%),
    linear-gradient(180deg, rgba(215, 241, 255, 0.95) 0%, rgba(255, 255, 255, 0.92) 36%, rgba(232, 247, 255, 0.98) 100%);
  box-shadow:
    0 30px 70px rgba(2, 32, 58, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.25),
    0 0 40px rgba(27, 176, 228, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(10, 106, 168, 0.08);
}
.auth-card-lux::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--navy) 0%,
    var(--navy-soft) 12%,
    var(--gold-dark) 38%,
    var(--gold-light) 50%,
    var(--gold-dark) 62%,
    var(--navy-soft) 88%,
    var(--navy) 100%
  );
}
.auth-card-sea::before {
  height: 5px;
  background: linear-gradient(
    90deg,
    #043b63 0%,
    #0a6aa8 18%,
    #7fe3ff 48%,
    #ffffff 50%,
    #7fe3ff 52%,
    #1bb0e4 72%,
    #043b63 100%
  );
  box-shadow: 0 0 18px rgba(127, 227, 255, 0.65);
}
.auth-card-shine {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 140px;
  background: radial-gradient(ellipse at 100% 0%, rgba(255, 255, 255, 0.72), transparent 68%);
  pointer-events: none;
}
.auth-card-shine-wave {
  left: -20%;
  right: auto;
  width: 70%;
  height: 180%;
  top: -40%;
  background: linear-gradient(
    115deg,
    transparent 28%,
    rgba(255, 255, 255, 0.08) 42%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(127, 227, 255, 0.22) 58%,
    transparent 72%
  );
  animation: authCardGlint 4.8s ease-in-out infinite;
  mix-blend-mode: screen;
}
@keyframes authCardGlint {
  0%, 100% { transform: translateX(-18%) rotate(12deg); opacity: 0.25; }
  45% { transform: translateX(45%) rotate(12deg); opacity: 0.85; }
  70% { opacity: 0.4; }
}
.auth-card-head {
  padding: 28px 32px 8px;
  text-align: center;
}
.auth-card-head-logo-only {
  padding: 0;
}
.auth-brand-lockup {
  padding: 22px 28px 16px;
  text-align: center;
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(201, 169, 98, 0.08), transparent 62%);
}
.auth-card-sea .auth-brand-lockup {
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(127, 227, 255, 0.28), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent);
}
.auth-logo-frame {
  display: inline-block;
  padding: 0.55rem 0.85rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f4ec 100%);
  border: 1.5px solid rgba(201, 169, 98, 0.72);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.65),
    0 0 0 3px rgba(201, 169, 98, 0.1),
    0 8px 22px rgba(15, 23, 41, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.auth-card-sea .auth-logo-frame {
  background: linear-gradient(180deg, #ffffff 0%, #e8f7ff 100%);
  border-color: rgba(27, 176, 228, 0.65);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.8),
    0 0 0 3px rgba(127, 227, 255, 0.22),
    0 10px 28px rgba(4, 59, 99, 0.18),
    0 0 24px rgba(127, 227, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}
.auth-caption-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
  padding: 0 4px;
}
.auth-caption-rule {
  flex: 0 1 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 98, 0.75), transparent);
}
.auth-card-sea .auth-caption-rule {
  background: linear-gradient(90deg, transparent, rgba(27, 176, 228, 0.85), rgba(255, 255, 255, 0.9), rgba(27, 176, 228, 0.85), transparent);
  box-shadow: 0 0 8px rgba(127, 227, 255, 0.55);
}
.auth-logo-caption {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--navy-soft);
  line-height: 1.3;
}
.auth-card-sea .auth-logo-caption {
  color: #043b63;
  text-shadow: 0 0 12px rgba(127, 227, 255, 0.45);
}
.auth-form-panel {
  padding: 0 28px 4px;
  border-top: 1px solid rgba(201, 169, 98, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(248, 244, 236, 0.55) 100%);
}
.auth-card-sea .auth-form-panel {
  border-top-color: rgba(27, 176, 228, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(232, 247, 255, 0.72) 100%);
}
.auth-logo-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--navy-soft) 0%, var(--navy) 100%);
  border: 1px solid rgba(201, 169, 98, 0.45);
  box-shadow:
    0 10px 24px rgba(15, 23, 41, 0.35),
    inset 0 2px 0 rgba(255, 255, 255, 0.12),
    inset 0 -3px 0 rgba(0, 0, 0, 0.25);
}
.auth-logo-mark span {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
.auth-eyebrow {
  margin: 0 0 8px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.auth-card-lux h1 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy);
  line-height: 1.15;
}
.auth-tagline {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.auth-alert {
  margin: 14px 0 0;
}
.auth-form input {
  text-transform: none;
  letter-spacing: normal;
}

.auth-form {
  padding: 18px 0 14px;
}
.form-stack-lux .auth-field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}
.password-form-field.auth-field {
  display: grid;
}
.auth-field-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.auth-card-sea .auth-field-label {
  color: #0a6aa8;
}
.form-stack-lux input {
  padding: 14px 16px;
  border: 1px solid rgba(201, 169, 98, 0.38);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  font-size: 0.94rem;
  font-family: inherit;
  color: var(--navy);
  box-shadow:
    inset 0 1px 2px rgba(15, 23, 41, 0.04),
    0 1px 0 rgba(255, 255, 255, 0.9);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.auth-card-sea .form-stack-lux input {
  border-color: rgba(27, 176, 228, 0.38);
  background: linear-gradient(180deg, #ffffff 0%, #f3fbff 100%);
  box-shadow:
    inset 0 1px 2px rgba(4, 59, 99, 0.05),
    0 0 0 1px rgba(255, 255, 255, 0.7);
}
.form-stack-lux input::placeholder {
  color: #9ca8b8;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}
.form-stack-lux input:focus {
  outline: none;
  border-color: rgba(201, 169, 98, 0.72);
  background: #fff;
  box-shadow:
    inset 0 1px 2px rgba(15, 23, 41, 0.03),
    0 0 0 3px rgba(201, 169, 98, 0.16);
}
.auth-card-sea .form-stack-lux input:focus {
  border-color: rgba(27, 176, 228, 0.85);
  box-shadow:
    inset 0 1px 2px rgba(4, 59, 99, 0.04),
    0 0 0 3px rgba(127, 227, 255, 0.35),
    0 0 18px rgba(27, 176, 228, 0.25);
}

.password-field-wrap {
  position: relative;
  display: block;
}
.password-field-wrap input {
  width: 100%;
  box-sizing: border-box;
  padding-right: 48px !important;
}
.password-toggle-btn {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: color 0.15s ease, background 0.15s ease;
}
.password-toggle-btn:hover {
  color: var(--gold-dark);
  background: rgba(201, 169, 98, 0.12);
}
.password-toggle-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.password-toggle-icon {
  display: block;
  flex-shrink: 0;
}
.password-toggle-hide {
  display: none;
}
.password-toggle-btn[aria-pressed="true"] .password-toggle-show {
  display: none;
}
.password-toggle-btn[aria-pressed="true"] .password-toggle-hide {
  display: block;
}
.btn-auth-submit {
  margin-top: 8px;
  width: 100%;
  padding: 15px 22px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  background: linear-gradient(
    180deg,
    #fff4d6 0%,
    var(--gold-light) 20%,
    var(--gold) 55%,
    var(--gold-dark) 100%
  ) !important;
  color: var(--navy) !important;
  font-family: var(--font-body);
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase;
  box-shadow:
    0 10px 26px rgba(168, 134, 58, 0.28),
    0 2px 0 rgba(201, 169, 98, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -2px 0 rgba(120, 90, 30, 0.18) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
}
.btn-auth-submit:hover {
  transform: translateY(-1px) !important;
  filter: brightness(1.04);
  box-shadow:
    0 14px 32px rgba(168, 134, 58, 0.34),
    0 2px 0 rgba(201, 169, 98, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -2px 0 rgba(120, 90, 30, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
  color: var(--navy) !important;
}
.auth-card-sea .btn-auth-submit {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  background:
    linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.45) 48%, transparent 62%),
    linear-gradient(
      180deg,
      #9fe9ff 0%,
      #4fc8f5 18%,
      #1bb0e4 48%,
      #0a6aa8 78%,
      #065a8f 100%
    ) !important;
  background-size: 220% 100%, 100% 100%;
  background-position: -80% 0, 0 0;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(2, 32, 58, 0.45);
  box-shadow:
    0 12px 28px rgba(4, 59, 99, 0.38),
    0 0 24px rgba(127, 227, 255, 0.45),
    0 2px 0 rgba(127, 227, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -2px 0 rgba(4, 59, 99, 0.28) !important;
  animation: authBtnSeaShine 3.6s ease-in-out infinite;
}
@keyframes authBtnSeaShine {
  0%, 100% { background-position: -80% 0, 0 0; }
  50% { background-position: 160% 0, 0 0; }
}
.auth-card-sea .btn-auth-submit:hover {
  filter: brightness(1.08);
  color: #ffffff !important;
  box-shadow:
    0 16px 36px rgba(4, 59, 99, 0.45),
    0 0 32px rgba(127, 227, 255, 0.6),
    0 2px 0 rgba(127, 227, 255, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -2px 0 rgba(4, 59, 99, 0.3) !important;
  border-color: rgba(255, 255, 255, 0.75) !important;
}
.auth-card-sea .password-toggle-btn {
  color: #0a6aa8;
}
.auth-card-sea .password-toggle-btn:hover {
  background: rgba(27, 176, 228, 0.14);
  color: #043b63;
}
.auth-card-sea .password-toggle-btn:focus-visible {
  outline-color: #1bb0e4;
}
.auth-footnote {
  margin: 0;
  padding: 0 0 20px;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.auth-card-sea .auth-footnote {
  color: #4a6f88;
}
.auth-footnote a {
  color: var(--gold-dark);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(168, 134, 58, 0.4);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.auth-card-sea .auth-footnote a {
  color: #0a6aa8;
  border-bottom-color: rgba(27, 176, 228, 0.45);
  text-shadow: 0 0 8px rgba(127, 227, 255, 0.35);
}
.auth-footnote a:hover {
  color: var(--navy);
  border-bottom-color: var(--gold);
}
.auth-card-sea .auth-footnote a:hover {
  color: #043b63;
  border-bottom-color: #1bb0e4;
}
@media (prefers-reduced-motion: reduce) {
  .auth-sea-glow,
  .body-auth-sea .auth-orb-a,
  .body-auth-sea .auth-orb-b,
  .body-auth-sea .auth-orb-c,
  .auth-card-shine-wave,
  .auth-card-sea .btn-auth-submit {
    animation: none !important;
  }
}

.auth-card h1 { margin: 0 0 6px; font-size: 1.3rem; }
.footer { text-align: center; color: var(--muted); padding: 20px; font-size: 0.8rem; }

.panel {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid var(--line-soft);
}

.panel-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.panel-toolbar h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.muted { color: var(--muted); margin: 4px 0 0; }

.toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.search-form { display: flex; gap: 6px; }
.search-form input {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  min-width: 220px;
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-form input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.15);
  background: #fff;
}
.search-form button, .btn-add {
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
}
.search-form button { background: linear-gradient(135deg, var(--navy-soft), var(--navy)); color: #fff; border: 1px solid rgba(201, 169, 98, 0.25); }

.abk-index-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px 14px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
}
.abk-index-filters-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(118px, 148px));
  gap: 10px 12px;
  flex: 0 1 auto;
  min-width: 0;
  justify-content: start;
  align-items: end;
}
.abk-filter-search {
  max-width: 168px;
}
.abk-filter-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.abk-filter-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.abk-index-filters input,
.abk-index-filters select {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 0.82rem;
  color: var(--text);
}
.abk-index-filters input:focus,
.abk-index-filters select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.15);
}
.abk-index-filters-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.btn-filter-apply,
.btn-filter-reset {
  padding: 9px 14px;
  border-radius: 10px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.btn-filter-apply {
  border: 1px solid rgba(201, 169, 98, 0.25);
  background: linear-gradient(135deg, var(--navy-soft), var(--navy));
  color: #fff;
}
.btn-filter-reset {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
}
.btn-filter-reset:hover {
  background: var(--cream);
}

.btn-add {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--navy);
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  border: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-add:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-reset { color: var(--blue); align-self: center; font-size: 0.85rem; }

.table-scroll { overflow-x: auto; max-width: 100%; }
.panel-table-fit .table-scroll { overflow-x: hidden; }

/* Isi sel tabel dari atas — konsisten di seluruh aplikasi */
table th,
table td {
  vertical-align: top;
}
.abk-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.abk-table-compact {
  min-width: 0;
}
.abk-table-compact thead th {
  padding: 8px 5px;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  word-break: break-word;
  hyphens: auto;
}
.abk-table-compact tbody td {
  padding: 8px 5px;
  font-size: 0.76rem;
  overflow: hidden;
  word-wrap: break-word;
}
.abk-table-compact .col-no { width: 3%; }
.abk-table-compact .col-daftar-foto { width: 7%; min-width: 0; }
.abk-table-compact .col-nama { width: 18%; min-width: 0; }
.abk-table-compact .col-status { width: 8%; min-width: 0; }
.abk-table-compact .col-marketing { width: 9%; min-width: 0; }
.abk-table-compact .col-xp { width: 8%; min-width: 0; }
.abk-table-compact .col-kapal { width: 14%; min-width: 0; }
.abk-table-compact .col-jabatan {
  width: 8%;
  min-width: 0;
  font-size: 0.68rem;
  line-height: 1.2;
  word-break: break-word;
}
.abk-table-compact .col-skill { width: 11%; min-width: 0; }
.abk-table-compact .col-aksi { width: 6%; min-width: 0; }
.abk-table-compact .abk-photo {
  width: 36px;
  height: 36px;
}
.abk-table-compact .cell-daftar-foto { gap: 3px; }
.abk-table-compact .cell-daftar-foto .cell-uniq-id { font-size: 0.52rem; }
.abk-table-compact .cell-daftar-foto .cell-daftar { font-size: 0.62rem; }
.abk-table-compact .cell-nama-main {
  font-size: 0.78rem;
  margin-bottom: 2px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.abk-table-compact .cell-nama-nik {
  font-size: 0.62rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.abk-table-compact .cell-meta { display: none; }
.abk-table-compact .crew-status-badge {
  font-size: 0.52rem;
  padding: 0.12rem 0.28rem;
  letter-spacing: 0.02em;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.abk-table-compact .cell-marketing .mkt-name {
  font-size: 0.68rem;
  line-height: 1.25;
  word-break: break-word;
}
.abk-table-compact .xp-tipe-badge {
  font-size: 0.52rem;
  padding: 2px 5px;
}
.abk-table-compact .cell-xp-tipe { gap: 2px; }
.abk-table-compact .cell-kapal-item .kapal-name {
  font-size: 0.68rem;
  line-height: 1.25;
  word-break: break-word;
}
.abk-table-compact .cell-kapal-item div:not(.kapal-name) { display: none; }
.abk-table-compact .cell-kapal-more {
  font-size: 0.58rem;
  color: var(--muted);
  margin-top: 2px;
}
.abk-table-compact .cell-kapal-list { gap: 4px; }
.abk-table-compact .cell-kapal-item + .cell-kapal-item {
  padding-top: 0;
  border-top: 0;
  display: none;
}
.abk-table-compact .skill-chip {
  display: inline-block;
  padding: 1px 4px;
  margin: 1px;
  border-radius: 999px;
  font-size: 0.52rem;
  font-weight: 700;
  background: var(--cream-dark);
  color: var(--navy);
  line-height: 1.2;
}
.abk-table-compact .cell-skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  max-height: 2.6em;
  overflow: hidden;
}
.abk-table-compact .btn-edit {
  padding: 4px 7px;
  font-size: 0.62rem;
}
.abk-table thead th {
  background: linear-gradient(180deg, var(--navy-soft) 0%, var(--navy) 100%);
  color: #fff;
  font-weight: 600;
  text-align: center;
  padding: 14px 12px;
  border: none;
  border-bottom: 2px solid var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.abk-table tbody td {
  border: 1px solid var(--line-soft);
  padding: 12px 14px;
  vertical-align: top;
  background: #fff;
}
.abk-table tbody tr:hover td { background: var(--cream); }
.abk-table .center { text-align: center; }
.abk-table .empty { text-align: center; color: var(--muted); padding: 32px; }

.col-no { width: 3%; }
.col-daftar-foto { width: 7%; min-width: 0; }
.cell-daftar-foto {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 4px 0;
}
.cell-daftar-foto .cell-uniq-id {
  margin-top: 0;
  font-size: 0.6rem;
  text-align: center;
  max-width: none;
}
.cell-daftar-foto .cell-daftar {
  font-size: 0.72rem;
  line-height: 1.2;
}
.col-nama { width: 18%; min-width: 0; text-align: left !important; }
.cell-daftar {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.no-urut {
  display: inline-block;
  font-weight: 700;
  color: var(--gold-dark);
  min-width: 1.5em;
}
.cell-uniq-id {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0;
  margin-top: 5px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  white-space: nowrap;
  word-break: normal;
}
.cell-uniq-id-base {
  flex: 0 0 auto;
}
.cell-uniq-id-seq {
  flex: 0 0 auto;
  min-width: 0.75em;
  font-weight: 800;
  color: var(--gold-dark);
  text-align: left;
}
.uniq-id-field {
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-dark) !important;
  background: linear-gradient(135deg, #fffdf7, var(--cream)) !important;
}
.col-marketing { width: 9%; min-width: 0; }
.col-xp { width: 8%; min-width: 0; }
.col-kapal { width: 14%; min-width: 0; }
.col-jabatan { width: 8%; min-width: 0; }
.col-skill { width: 11%; min-width: 0; text-align: left !important; }
.col-aksi { width: 6%; min-width: 0; }
.col-status { width: 8%; min-width: 0; }

.btn-edit {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--navy-soft), var(--navy));
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid rgba(201, 169, 98, 0.3);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-edit:hover {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-soft));
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 41, 0.2);
  transform: translateY(-1px);
}

.col-aksi-cabut {
  width: 11%;
  min-width: 118px;
  white-space: normal;
  overflow: visible;
}
.page-status-archive .status-archive-table .col-aksi-cabut {
  width: 12%;
  min-width: 118px;
  white-space: normal;
}
.cabut-aksi-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
}
.cabut-aksi-group .btn-list-aksi {
  font-size: 0.64rem;
  padding: 7px 8px;
}
.btn-cabut-print-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid #c2410c;
  color: #7c2d12;
  text-decoration: none;
  font-size: 1.05rem;
  line-height: 1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 40%),
    linear-gradient(180deg, #fed7aa 0%, #fb923c 52%, #f97316 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 -2px 0 rgba(154, 52, 18, 0.22) inset,
    0 3px 0 #c2410c,
    0 5px 10px rgba(194, 65, 12, 0.22);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}
.btn-cabut-print-icon:hover {
  color: #7c2d12;
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 -2px 0 rgba(154, 52, 18, 0.22) inset,
    0 4px 0 #c2410c,
    0 7px 14px rgba(194, 65, 12, 0.28);
}
.btn-cabut-print-icon:active {
  transform: translateY(1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    0 1px 0 #c2410c,
    0 2px 4px rgba(194, 65, 12, 0.18);
}
.btn-cabut-aksi-restore {
  color: #0f3d36 !important;
  border-color: #0f766e !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 40%),
    linear-gradient(180deg, #ccfbf1 0%, #5eead4 52%, #2dd4bf 100%) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 -2px 0 rgba(15, 118, 110, 0.22) inset,
    0 3px 0 #0f766e,
    0 5px 10px rgba(15, 118, 110, 0.22) !important;
}
.btn-cabut-aksi-restore:hover {
  color: #042f2e !important;
  filter: brightness(1.03);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 -2px 0 rgba(15, 118, 110, 0.22) inset,
    0 4px 0 #0f766e,
    0 7px 14px rgba(15, 118, 110, 0.28) !important;
}
.btn-cabut-aksi-restore:active {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    0 1px 0 #0f766e,
    0 2px 4px rgba(15, 118, 110, 0.18) !important;
}

/* ── Arsip: Cabut Berkas / Blacklist ── */
.page-status-archive {
  padding: 0 clamp(10px, 1.2vw, 18px) clamp(18px, 2vw, 28px);
}
.page-status-archive .panel-status-archive {
  overflow: hidden;
  padding-bottom: 0;
}
.status-archive-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px 20px;
  padding: clamp(18px, 2vw, 26px) clamp(14px, 1.6vw, 24px);
  border-bottom: 3px solid var(--gold);
  color: #fff;
}
.status-archive-hero--cabut {
  background: linear-gradient(135deg, #7c2d12 0%, #9a3412 42%, #c2410c 100%);
}
.status-archive-hero--hilang {
  background: linear-gradient(135deg, #4c1d95 0%, #6d28d9 48%, #7c3aed 100%);
}
.status-archive-hero--blacklist {
  background: linear-gradient(135deg, #450a0a 0%, #7f1d1d 48%, #991b1b 100%);
}
.status-archive-hero--online {
  background: linear-gradient(135deg, #083344 0%, #0e7490 48%, #06b6d4 100%);
}
.status-archive-hero-main {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1 1 280px;
  min-width: 0;
}
.status-archive-hero-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 1.4rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.status-archive-eyebrow {
  margin: 0 0 4px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.status-archive-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 0.9vw + 1.05rem, 1.65rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}
.status-archive-lead {
  margin: 6px 0 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
  max-width: 48ch;
}
.status-archive-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
}
.status-archive-meta-sep {
  opacity: 0.5;
}
.status-archive-meta .crew-status-badge {
  transform: scale(0.95);
  transform-origin: left center;
}
.status-archive-hero-actions {
  flex: 0 0 auto;
}
.page-status-archive .status-archive-filters {
  margin: 0;
  padding: 14px clamp(14px, 1.6vw, 24px);
  border-bottom: 1px solid rgba(201, 169, 98, 0.14);
  background: linear-gradient(180deg, #faf8f5 0%, #fff 100%);
}
.status-archive-table-wrap {
  margin: 0 clamp(10px, 1.2vw, 18px) clamp(14px, 1.4vw, 20px);
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}
.page-status-cabut .status-archive-table thead th {
  background: linear-gradient(180deg, #9a3412 0%, #7c2d12 100%);
  border-bottom-color: rgba(251, 191, 36, 0.35);
}
.page-status-blacklist .status-archive-table thead th {
  background: linear-gradient(180deg, #991b1b 0%, #7f1d1d 100%);
  border-bottom-color: rgba(252, 165, 165, 0.35);
}
.page-status-blacklist-onboard .status-archive-table.abk-table-onboard thead th {
  background: linear-gradient(180deg, #991b1b 0%, #7f1d1d 100%);
  border-bottom-color: rgba(252, 165, 165, 0.35);
}
.page-status-blacklist-onboard .status-archive-table.abk-table-onboard .col-nama,
.page-status-blacklist-onboard .status-archive-table.abk-table-onboard .col-nama-onboard {
  max-width: none;
  min-width: 140px;
}
.page-status-blacklist-onboard .status-archive-table.abk-table-onboard tbody td {
  vertical-align: top;
}
.page-status-blacklist-onboard .status-archive-blacklist-catatan {
  margin: 6px 0 0;
  max-width: 140px;
  font-size: 0.66rem;
  line-height: 1.35;
  color: #7f1d1d;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.page-status-blacklist-onboard .col-blacklist-alasan {
  min-width: 150px;
  max-width: 220px;
}
.page-status-blacklist-onboard .col-blacklist-bukti {
  min-width: 108px;
  white-space: nowrap;
}
.page-status-blacklist-onboard .cell-blacklist-alasan {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.page-status-blacklist-onboard a.blacklist-alasan-open {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: inherit;
  text-decoration: none;
  border-radius: 8px;
  padding: 2px;
  margin: -2px;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.page-status-blacklist-onboard a.blacklist-alasan-open:hover {
  background: rgba(153, 27, 27, 0.06);
  box-shadow: inset 0 0 0 1px rgba(153, 27, 27, 0.18);
}
.page-status-blacklist-onboard .blacklist-alasan-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
}
.page-status-blacklist-onboard .blacklist-alasan-badge.is-kabur {
  background: rgba(153, 27, 27, 0.12);
  color: #991b1b;
}
.page-status-blacklist-onboard .blacklist-alasan-date {
  font-size: 0.68rem;
  font-weight: 600;
  color: #b45309;
  font-variant-numeric: tabular-nums;
}
.page-status-blacklist-onboard .blacklist-alasan-detail {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.35;
  color: #475569;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.page-status-blacklist-onboard .blacklist-alasan-hint {
  font-size: 0.62rem;
  font-weight: 600;
  color: #991b1b;
}
.page-status-blacklist-onboard .cell-blacklist-bukti {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.page-status-blacklist-onboard .btn-blacklist-bukti {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  border-radius: 8px;
  border: 1px solid rgba(153, 27, 27, 0.28);
  background: #fff;
  color: #7f1d1d;
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.page-status-blacklist-onboard .btn-blacklist-bukti:hover {
  background: rgba(153, 27, 27, 0.08);
  border-color: rgba(153, 27, 27, 0.45);
}
.page-status-blacklist-onboard .blacklist-bukti-name {
  max-width: 110px;
  font-size: 0.6rem;
  color: #94a3b8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.blacklist-kabur-current-doc {
  margin: 0 0 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(153, 27, 27, 0.06);
  border: 1px solid rgba(153, 27, 27, 0.15);
  font-size: 0.76rem;
  color: #7f1d1d;
}
.blacklist-kabur-current-label {
  font-weight: 700;
}
.blacklist-kabur-current-link {
  font-weight: 600;
  color: #991b1b;
  text-decoration: underline;
}
.btn-blacklist-kabur-edit {
  cursor: pointer;
}
.status-archive-table .sal-col-no { width: 4%; }
.status-archive-table .sal-col-daftar { width: 9%; }
.status-archive-table .sal-col-nama { width: 17%; }
.status-archive-table .sal-col-status { width: 9%; }
.status-archive-table .sal-col-marketing { width: 10%; }
.status-archive-table .sal-col-catatan { width: 40%; }
.status-archive-table .sal-col-aksi { width: 11%; }
.page-status-archive .status-archive-table thead th,
.page-status-archive .status-archive-table tbody td {
  padding: 10px 8px;
  vertical-align: middle;
}
.page-status-archive .status-archive-table .col-no {
  white-space: nowrap;
}
.page-status-archive .status-archive-table .col-nama {
  min-width: 0;
  max-width: 0;
}
.page-status-archive .status-archive-table .col-nama .cell-nama-main {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.page-status-archive .status-archive-table .col-nama .cell-nama-nik,
.page-status-archive .status-archive-table .col-nama .cell-nama-alamat,
.page-status-archive .status-archive-table .col-nama .cell-nama-hp {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.page-status-archive .status-archive-table .col-nama .cell-nama-lahir {
  font-size: 0.68rem;
  font-weight: 600;
  color: #b45309;
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  white-space: normal;
}
.page-status-archive .status-archive-table .col-marketing {
  min-width: 0;
  max-width: 0;
}
.page-status-archive .status-archive-table .col-marketing .mkt-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.page-status-archive .status-archive-table .col-catatan {
  min-width: 0;
  max-width: 0;
  text-align: left !important;
}
.status-archive-catatan {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--navy-mid, #334155);
}
.status-archive-catatan.is-empty {
  color: var(--muted, #94a3b8);
}
.page-status-archive .status-archive-table .col-aksi-archive {
  width: 11%;
  min-width: 72px;
  white-space: nowrap;
}
.status-list-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: stretch;
}
.status-list-actions-row {
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.btn-archive-aksi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1;
  text-decoration: none;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: var(--navy);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  flex-shrink: 0;
}
.btn-archive-print {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-color: rgba(180, 83, 9, 0.35);
  color: #fff;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.22);
}
.btn-archive-print:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}
.btn-archive-edit {
  background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
}
.btn-archive-edit:hover {
  background: var(--cream);
  border-color: rgba(201, 169, 98, 0.45);
  transform: translateY(-1px);
}
.btn-archive-restore {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  border-color: rgba(4, 120, 87, 0.35);
  color: #fff;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.22);
  cursor: pointer;
}
.btn-archive-restore:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.32);
}
.archive-restore-card {
  border-top: 4px solid #059669;
  max-width: 540px;
}
.archive-restore-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 14px;
  padding: 12px;
  border-radius: 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}
.archive-restore-meta-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #047857;
  margin-bottom: 2px;
}
.archive-restore-meta strong {
  color: var(--navy);
  font-size: 0.92rem;
}
.withdraw-field input[type="date"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: #fff;
}
.btn-archive-restore-submit {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  border-color: #047857 !important;
}
.btn-print-cabut {
  display: inline-block;
  padding: 6px 10px;
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid rgba(180, 83, 9, 0.35);
  text-align: center;
  line-height: 1.25;
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.btn-print-cabut:hover {
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 4px 12px rgba(180, 83, 9, 0.25);
  transform: translateY(-1px);
}

.status-list-actions .btn-edit {
  text-align: center;
}
.row-click { cursor: pointer; }
.row-click:hover td { background: var(--cream) !important; }

.abk-photo-link {
  display: inline-flex;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(201, 169, 98, 0.45);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.abk-photo-link:hover {
  transform: scale(1.05);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}
.abk-photo {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: cover;
  object-position: center 16%;
  transform: scale(1.32);
  transform-origin: center 28%;
  background: var(--cream);
}
.abk-photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100600;
  display: grid;
  place-items: center;
  padding: 20px;
}
.abk-photo-lightbox[hidden] {
  display: none !important;
}
body.abk-photo-lightbox-open {
  overflow: hidden;
}
.abk-photo-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 24, 0.72);
  backdrop-filter: blur(4px);
}
.abk-photo-lightbox-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: min(92vw, 420px);
  padding: 14px 14px 12px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #f7f3ea 100%);
  border: 1px solid rgba(201, 169, 98, 0.45);
  box-shadow:
    0 18px 48px rgba(8, 12, 24, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.4) inset;
}
.abk-photo-lightbox-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: var(--navy, #0f172a);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}
.abk-photo-lightbox-close:hover {
  border-color: rgba(201, 169, 98, 0.55);
  background: var(--cream, #f8f4ec);
}
.abk-photo-lightbox-img {
  display: block;
  width: min(72vw, 320px);
  height: min(72vw, 320px);
  max-width: 100%;
  object-fit: cover;
  object-position: center 16%;
  border-radius: 50%;
  border: 3px solid rgba(201, 169, 98, 0.65);
  background: #efe9dd;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}
.abk-photo-lightbox-caption {
  margin: 0;
  max-width: 100%;
  padding: 0 28px;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy, #0f172a);
  line-height: 1.35;
  word-break: break-word;
}
.abk-photo-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cream-dark), var(--line-soft));
  border: 1px dashed rgba(201, 169, 98, 0.35);
  font-size: 1.35rem;
  opacity: 0.65;
}

.photo-field { margin-bottom: 20px; }
.reg-section-data {
  padding-bottom: 16px;
}
.reg-data-subsection {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.reg-data-subsection:first-of-type {
  margin-top: 14px;
}
.reg-data-subtitle {
  margin: 0 0 12px;
  font-family: var(--font-serif, Georgia, serif);
  font-size: clamp(1rem, 1.1vw, 1.12rem);
  font-weight: 700;
  color: var(--ink, #0f172a);
  letter-spacing: 0.01em;
}
.abk-questionnaire-wrap {
  margin-top: 20px;
}
.abk-questionnaire-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 10px;
}
.abk-questionnaire-head .reg-data-subtitle {
  margin: 0;
  flex: 1 1 auto;
}
.btn-questionnaire-toggle.is-open {
  border-color: rgba(201, 169, 98, 0.55);
  background: rgba(201, 169, 98, 0.12);
}
.abk-questionnaire-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.abk-questionnaire-badge.is-complete {
  background: rgba(16, 185, 129, 0.14);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.35);
}
.abk-questionnaire-badge.is-pending {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.35);
}
.abk-questionnaire-panel {
  padding: 14px 16px 12px;
  border-radius: 12px;
  border: 1px solid rgba(201, 169, 98, 0.28);
  background: linear-gradient(165deg, rgba(255, 252, 245, 0.98), rgba(248, 250, 252, 0.92));
}
.abk-questionnaire-hint {
  margin: 0 0 12px;
}
.abk-questionnaire-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.abk-questionnaire-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.abk-questionnaire-item.is-answered {
  border-color: rgba(16, 185, 129, 0.28);
}
.abk-questionnaire-no {
  font-weight: 800;
  color: var(--gold-dark, #9a7b3c);
  min-width: 1.4em;
}
.abk-questionnaire-text {
  margin: 0 0 10px;
  font-weight: 600;
  color: var(--ink, #0f172a);
  line-height: 1.4;
}
.abk-questionnaire-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.btn-questionnaire-choice {
  min-width: 72px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: #fff;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-questionnaire-choice:hover:not(:disabled) {
  border-color: rgba(201, 169, 98, 0.55);
}
.btn-questionnaire-choice.is-active {
  border-color: var(--gold, #c9a962);
  background: linear-gradient(165deg, rgba(201, 169, 98, 0.35), rgba(201, 169, 98, 0.12));
  color: var(--navy, #0f172a);
  box-shadow: 0 0 0 1px rgba(201, 169, 98, 0.25);
}
.btn-questionnaire-choice:disabled {
  opacity: 0.65;
  cursor: default;
}
.abk-db-card-questionnaire .abk-db-questionnaire-dl {
  margin: 0 0 12px;
}
.abk-db-questionnaire-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 16px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.abk-db-questionnaire-row:last-child {
  border-bottom: none;
}
.abk-db-questionnaire-row dt {
  margin: 0;
  font-size: 0.84rem;
  color: #475569;
}
.abk-db-questionnaire-row dd {
  margin: 0;
  text-align: right;
}

/* Kartu khusus kuesioner — Database ABK */
.abk-q-card {
  grid-column: 1 / -1;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 98, 0.35);
  background:
    linear-gradient(145deg, rgba(255, 252, 245, 0.98) 0%, #fff 42%, rgba(248, 250, 252, 0.96) 100%);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}
.abk-q-card.is-complete {
  border-color: rgba(16, 185, 129, 0.4);
}
.abk-q-card__open {
  display: block;
  width: 100%;
  margin: 0;
  padding: 18px 20px 14px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.abk-q-card__open:hover {
  background: rgba(201, 169, 98, 0.06);
}
.abk-q-card__top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.abk-q-card__icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(201, 169, 98, 0.28), rgba(15, 23, 42, 0.08));
  font-size: 1.35rem;
}
.abk-q-card__titles {
  flex: 1 1 auto;
  min-width: 0;
}
.abk-q-card .abk-db-card-title {
  margin: 0 0 4px;
  padding: 0;
  border: 0;
}
.abk-q-card__lead {
  margin: 0;
  font-size: 0.86rem;
  color: #64748b;
}
.abk-q-card__meter {
  flex: 0 0 auto;
  text-align: right;
}
.abk-q-card__pct {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.35);
}
.abk-q-card__pct.is-complete {
  background: rgba(16, 185, 129, 0.14);
  color: #047857;
  border-color: rgba(16, 185, 129, 0.35);
}
.abk-q-card__count {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
}
.abk-q-card__bar {
  margin: 14px 0 12px;
  height: 7px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
}
.abk-q-card__bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #c9a962, #0f172a);
  transition: width 0.25s ease;
}
.abk-q-card.is-complete .abk-q-card__bar > span {
  background: linear-gradient(90deg, #34d399, #059669);
}
.abk-q-card__preview {
  margin-top: 4px;
}
.abk-q-card__hint {
  margin: 8px 0 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #64748b;
}
.abk-q-card__cta {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.84rem;
  font-weight: 800;
  color: #9a7b3c;
}
.abk-q-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 20px 16px;
}
.abk-q-print.is-disabled,
.abk-q-modal__actions .is-disabled {
  opacity: 0.45;
  pointer-events: none;
}
.abk-q-answer-pill {
  display: inline-block;
  min-width: 3.2rem;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  background: rgba(15, 23, 42, 0.06);
}
.abk-q-answer-pill.is-ya {
  background: rgba(16, 185, 129, 0.14);
  color: #047857;
}
.abk-q-answer-pill.is-tidak {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
}
.abk-db-card-print-resume .abk-db-card-lead {
  margin: -4px 0 12px;
  font-size: 0.84rem;
}
.abk-db-card-print-resume .abk-db-print-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}

body.abk-q-modal-open {
  overflow: hidden;
}
.abk-q-modal {
  z-index: 100220;
}
.abk-q-modal__card {
  width: min(860px, 100%);
  max-height: min(92vh, 920px);
  overflow: auto;
  border: 1px solid rgba(201, 169, 98, 0.35);
  background: linear-gradient(180deg, #fffdf8 0%, #fff 28%);
}
.abk-q-modal__head {
  align-items: flex-start;
}
.abk-q-modal__eyebrow {
  margin: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a7b3c;
}
.abk-q-modal__head h2 {
  margin: 0;
  font-size: 1.15rem;
}
.abk-q-modal__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 14px;
  padding: 0 4px;
}
.abk-q-modal__list {
  margin-bottom: 8px;
}
.abk-q-save-hint {
  margin: 8px 0 0;
  font-size: 0.78rem;
  font-weight: 700;
}
.abk-q-save-hint.is-ok {
  color: #047857;
}
.abk-q-save-hint.is-error {
  color: #b91c1c;
}
.abk-q-modal__actions {
  position: sticky;
  bottom: 0;
  padding-top: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 35%);
}

@media (max-width: 720px) {
  .abk-q-card__top {
    flex-wrap: wrap;
  }
  .abk-q-card__meter {
    width: 100%;
    text-align: left;
  }
}

.abk-q-modal__sub {
  margin: 4px 0 0;
  font-size: 0.84rem;
  color: #64748b;
}
.abk-q-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
  padding: 0 2px;
}
.abk-q-section-nav__btn {
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  border-radius: 999px;
  padding: 6px 11px;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
}
.abk-q-section-nav__btn:hover {
  border-color: rgba(201, 169, 98, 0.55);
  color: #0f172a;
}
.abk-q-section {
  margin: 0 0 18px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: rgba(248, 250, 252, 0.55);
}
.abk-q-section__head h3 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
}
.abk-q-section__head p {
  margin: 0 0 12px;
  font-size: 0.8rem;
  color: #64748b;
}
.abk-q-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px 12px;
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.abk-q-item.is-answered {
  border-color: rgba(16, 185, 129, 0.28);
  box-shadow: inset 3px 0 0 rgba(16, 185, 129, 0.55);
}
.abk-q-item__no {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.82rem;
  color: #9a7b3c;
  background: rgba(201, 169, 98, 0.16);
}
.abk-q-item__prompt {
  margin: 0 0 10px;
  font-weight: 650;
  line-height: 1.45;
  color: #0f172a;
}
.abk-q-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.abk-q-followup {
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  border: 1px dashed rgba(201, 169, 98, 0.55);
  background: rgba(255, 251, 235, 0.65);
}
.abk-q-followup__prompt {
  margin: 0 0 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #92400e;
}
.abk-q-multi {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.abk-q-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 650;
}
.abk-q-check.is-on {
  border-color: rgba(201, 169, 98, 0.7);
  background: rgba(201, 169, 98, 0.14);
}
.abk-q-check--tick {
  border-radius: 6px;
  padding: 6px 10px;
  min-width: 7.5rem;
  font-weight: 700;
}
.abk-q-check--tick input {
  width: 1rem;
  height: 1rem;
  accent-color: #92400e;
}
.abk-q-text {
  width: 100%;
  min-height: 64px;
  margin: 0 0 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  font: inherit;
  resize: vertical;
  background: #fff;
}
.abk-q-line {
  display: block;
  width: 100%;
  margin: 0;
  padding: 6px 2px 8px;
  border: 0;
  border-bottom: 1px dotted rgba(15, 23, 42, 0.45);
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: 0.92rem;
  color: #0f172a;
}
.abk-q-line:focus {
  outline: none;
  border-bottom-color: #92400e;
  border-bottom-style: solid;
}
.abk-q-excel {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px dashed rgba(201, 169, 98, 0.55);
  background: rgba(255, 251, 235, 0.65);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.abk-q-excel__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 18px;
  align-items: end;
}
.abk-q-excel__left .abk-q-followup__prompt {
  margin-bottom: 4px;
}
.abk-q-excel__right {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 2px;
}
.abk-q-excel__choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 7.5rem;
  border-radius: 6px !important;
  font-weight: 700;
}
.abk-q-excel__box {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 1.5px solid rgba(15, 23, 42, 0.45);
  border-radius: 2px;
  background: #fff;
  flex: 0 0 auto;
}
.abk-q-excel__choice.is-active .abk-q-excel__box {
  border-color: #92400e;
  background:
    linear-gradient(135deg, transparent 42%, #92400e 42%, #92400e 58%, transparent 58%),
    linear-gradient(45deg, transparent 42%, #92400e 42%, #92400e 58%, transparent 58%);
  background-color: #fff;
}
.abk-q-excel__hint {
  margin: 0;
  font-size: 0.78rem;
}
.abk-q-excel__row--split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
}
.abk-q-excel__label {
  margin: 0 0 4px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #78350f;
}
.abk-q-excel__grid2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px 18px;
}
.abk-q-excel__cell {
  min-width: 0;
}
.abk-q-excel__right--spread {
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 0;
}
.abk-q-followup--nested {
  margin-top: 10px;
  padding: 10px 12px;
}
@media (max-width: 720px) {
  .abk-q-excel__row,
  .abk-q-excel__row--split,
  .abk-q-excel__grid2 {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .abk-q-excel__right {
    justify-content: flex-start;
  }
}
.abk-q-text-save {
  margin-top: 0;
}
.abk-q-declaration {
  margin: 8px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.04), #fff);
  font-size: 0.86rem;
  line-height: 1.5;
}
.abk-q-declaration p {
  margin: 0 0 8px;
}
.abk-q-summary-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow: auto;
}
.abk-q-summary-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.abk-q-summary-no {
  font-weight: 800;
  color: #9a7b3c;
}
.abk-q-summary-q {
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.35;
}
.abk-q-card__preview .abk-q-summary-grid {
  max-height: 180px;
}
.reg-data-layout {
  display: grid;
  grid-template-columns: minmax(200px, 220px) minmax(0, 1fr);
  gap: 14px 18px;
  align-items: start;
  padding-top: 4px;
}
.photo-field-compact {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.photo-field-compact .photo-upload-card {
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 8px;
  text-align: center;
}
.photo-field-compact .photo-preview-wrap {
  width: 88px;
  height: 88px;
  border-width: 2px;
}
.photo-field-compact .photo-placeholder-icon {
  font-size: 1.5rem;
}
.photo-upload-btn-compact {
  width: 100%;
  padding: 7px 6px !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.02em;
  text-align: center;
  justify-content: center;
}
.photo-field-compact .photo-file-name {
  margin-top: 0;
  font-size: 0.62rem;
  line-height: 1.2;
  max-width: 100%;
}
.reg-grid-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  padding-top: 0;
}
.reg-grid-compact label {
  gap: 4px;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  min-width: 0;
}
.reg-grid-compact label.span-2 {
  grid-column: span 2;
}
.reg-grid-compact label.full {
  grid-column: 1 / -1;
}
.reg-grid-compact input,
.reg-grid-compact select,
.reg-grid-compact textarea {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.86rem;
  background: #fff;
}
.reg-grid-compact select {
  padding-right: 30px;
  background-position: right 10px center;
}
.reg-grid-compact textarea {
  min-height: 64px;
  resize: vertical;
}
.reg-grid-compact .date-field .date-input {
  padding-right: 36px;
}
.reg-grid-compact .date-toggle {
  width: 30px;
  font-size: 0.88rem;
}
.hint-compact {
  font-size: 0.62rem !important;
  line-height: 1.3 !important;
  margin-top: 2px !important;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
  opacity: 0.9;
}
.reg-section-data .uniq-id-field {
  padding: 8px 10px;
  font-size: 0.82rem;
}
.nik-warn-slot { min-height: 0; }
.nik-warn {
  margin: 4px 0 0;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 0.72rem;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
}
.nik-warn--danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.nik-warn--warn {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  color: #92400e;
}
.nik-input-error {
  border-color: #ef4444 !important;
  background: #fef2f2 !important;
}
.nik-input-warn {
  border-color: #f59e0b !important;
  background: #fffdf5 !important;
}
.photo-upload-card {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  padding: 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff 0%, var(--cream) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.photo-preview-wrap {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(201, 169, 98, 0.5);
  box-shadow: var(--shadow-md);
  background: var(--cream-dark);
  display: grid;
  place-items: center;
}
.photo-preview-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  background: var(--cream-dark);
}
.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  height: 100%;
  color: var(--muted);
  text-align: center;
  padding: 8px;
}
.photo-placeholder-icon { font-size: 2rem; opacity: 0.5; }
.photo-placeholder-text { font-size: 0.68rem; letter-spacing: 0.04em; text-transform: uppercase; }
.photo-upload-meta { flex: 1; min-width: 200px; }
.photo-upload-title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 700;
}
.photo-upload-hint { margin: 0 0 12px; text-transform: none; }
.photo-upload-btn { cursor: pointer; margin: 0; }
.photo-file-name {
  display: block;
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--gold-dark);
  word-break: break-all;
}

.cell-nama-main {
  font-weight: 600;
  font-size: clamp(0.74rem, 0.28vw + 0.48rem, 0.86rem);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.cell-meta {
  color: #374151;
  font-size: 0.78rem;
  line-height: 1.45;
  margin-top: 2px;
}
.cell-meta .ico { opacity: 0.75; margin-right: 2px; }

.cell-marketing { font-weight: 600; font-size: clamp(0.74rem, 0.28vw + 0.48rem, 0.86rem); }
.cell-marketing .mkt-name { font-weight: 600; }
.cell-marketing .placement-pending { font-size: 0.78rem; margin-top: 4px; }
.cell-marketing .agency-tag {
  color: var(--blue-dark);
  font-size: 0.78rem;
  margin-top: 4px;
  font-weight: 600;
}
.cell-marketing .grade-tag {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 500;
}
.cell-nama-main a { color: inherit; text-decoration: none; }
.cell-nama-main a:hover { color: var(--blue); text-decoration: underline; }

.xp-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e8f5e9;
  color: var(--xp-yes);
  font-size: 1.1rem;
  font-weight: 700;
}
.xp-no { color: #9ca3af; font-size: 1.2rem; }
.cell-xp-tipe {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.xp-tipe-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--navy-soft), var(--navy));
  color: var(--gold-light);
  border: 1px solid rgba(201, 169, 98, 0.25);
}

.cell-kapal .kapal-name { font-weight: 700; margin-bottom: 2px; }
.cell-kapal div { font-size: 0.82rem; line-height: 1.4; }
.cell-kapal-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cell-kapal-item + .cell-kapal-item {
  padding-top: 10px;
  border-top: 1px dashed rgba(201, 169, 98, 0.35);
}
.cell-kapal-item .kapal-name { font-weight: 700; margin-bottom: 2px; }
.cell-kapal-item div { font-size: 0.82rem; line-height: 1.4; }

.auth-card {
  background: var(--card);
  padding: 28px;
  border-radius: 12px;
  width: min(400px, 100%);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}
.auth-card h1 { margin: 0 0 6px; font-size: 1.3rem; }
.form-stack label { display: grid; gap: 6px; margin-bottom: 12px; }
.form-stack input {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.btn-primary {
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--navy-soft) 0%, var(--navy) 100%);
  color: #fff;
  border: 1px solid rgba(201, 169, 98, 0.35);
  border-radius: 10px;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.2s, border-color 0.2s;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.alert.err {
  background: linear-gradient(135deg, #fef2f2, #fff5f5);
  color: #991b1b;
  padding: 14px 16px;
  border-radius: var(--radius);
  margin-bottom: 12px;
  font-size: 0.88rem;
  border: 1px solid #fecaca;
  border-left: 4px solid #dc2626;
}

@media (max-width: 768px) {
  .topbar-inner {
    padding: 10px clamp(10px, 3vw, 14px);
    gap: 10px;
  }
  .topbar-logo-frame {
    padding: 6px 9px;
    border-radius: 11px;
  }
  .topbar-logo {
    max-height: 56px;
    max-width: 118px;
  }
  .topbar-brand-block {
    flex: 1 1 100%;
    justify-content: space-between;
  }
  .topbar-cycle-text {
    display: none;
  }
  .topnav-lux {
    flex: 1 1 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .topnav-pill {
    flex: 0 0 auto;
    padding: 8px 12px;
    font-size: 0.78rem;
  }
  .topbar-right-lux {
    flex: 0 0 auto;
    justify-content: flex-end;
    margin-left: 0;
    order: 2;
    padding-left: 0;
  }
  .panel-toolbar { flex-direction: column; }
  .abk-index-filters-grid {
    grid-template-columns: 1fr;
  }
  .abk-index-filters-actions {
    width: 100%;
  }
  .btn-filter-apply,
  .btn-filter-reset {
    flex: 1;
  }
  .search-form input { min-width: 160px; }
  .reg-grid { grid-template-columns: 1fr; }
  .reg-grid-compact { grid-template-columns: 1fr; }
  .reg-grid-compact label.span-2 { grid-column: auto; }
  .reg-data-layout { grid-template-columns: 1fr; }
  .photo-field-compact .photo-upload-card {
    flex-direction: row;
    text-align: left;
    padding: 12px;
  }
  .photo-upload-btn-compact { width: auto; }
  .doc-row { grid-template-columns: 1fr; gap: 6px; }
  .doc-row-fields { grid-template-columns: 1fr; }
  .doc-pelaut-grid { grid-template-columns: 1fr; }
  .doc-pelaut-meta { grid-template-columns: 1fr; }
  .form-head { padding: 20px 20px 18px; }
  .reg-form-lux { padding: 20px; }
  .form-panel-lux .reg-form-lux { padding-right: 20px; padding-bottom: 88px; }
  .form-action-dock {
    bottom: 12px;
    right: 10px;
    left: auto;
    flex-direction: column;
    flex-wrap: nowrap;
    width: min(168px, calc(100vw - 20px));
    max-width: calc(100vw - 20px);
    gap: 0;
    padding: 0;
  }
  .form-panel-lux .reg-form-lux { padding-right: 20px; padding-bottom: 120px; }
  .form-dock-nav-block {
    padding: 10px 10px 8px;
  }
  .form-dock-nav-title {
    min-height: 0;
    font-size: 0.76rem;
  }
  .form-dock-nav-actions {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .btn-dock-nav {
    padding: 9px 8px;
    font-size: 0.64rem;
  }
  .btn-dock-nav-text {
    display: none;
  }
  .btn-dock-nav-icon {
    font-size: 1.15rem;
  }
  .form-action-dock > .btn-primary,
  .form-action-dock > .btn-ghost,
  .form-action-dock > .btn-dock-deactivate,
  .form-action-dock > .btn-dock-print,
  .form-action-dock > .btn-dock-reactivate {
    margin: 4px 8px 0;
  }
  .form-action-dock > .btn-ghost.btn-dock-cancel {
    margin-bottom: 8px;
  }
  .form-action-dock .btn-primary,
  .form-action-dock .btn-ghost,
  .form-dock-deactivate {
    flex: 0 0 auto;
    width: auto;
    min-width: 72px;
  }
.form-panel-lux > .alert.ok,
.form-panel-lux > .alert.err { margin-left: 20px; margin-right: 20px; }
.form-panel-lux-flash {
  margin: 16px 24px 0;
  max-width: none;
}
}

/* Registration form — luxury */
.form-panel {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0;
  border: 1px solid var(--line-soft);
  overflow: hidden;
}
.form-panel-lux {
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
}
.form-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 0;
  padding: 28px 32px 24px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff;
  border-bottom: 3px solid var(--gold);
}
.form-head-text { flex: 1; min-width: 200px; }
.form-eyebrow {
  margin: 0 0 6px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 500;
}
.form-head h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
}
.form-subtitle {
  margin: 8px 0 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
}
.link-back {
  color: var(--gold-light);
  font-size: 0.88rem;
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid rgba(201, 169, 98, 0.4);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.link-back:hover {
  background: rgba(201, 169, 98, 0.15);
  color: #fff;
}

.reg-form-lux {
  padding: 28px 32px 32px;
}
.form-panel-lux .reg-form-lux {
  padding-right: 172px;
}
.form-action-spacer {
  height: 16px;
}
.form-action-dock {
  position: fixed;
  right: 14px;
  top: auto;
  bottom: 72px;
  transform: none;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 158px;
  padding: 0;
  border-radius: 12px;
  background: linear-gradient(165deg, #fff 0%, var(--cream) 100%);
  border: 1px solid rgba(201, 169, 98, 0.32);
  box-shadow:
    0 8px 28px rgba(15, 23, 41, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  opacity: 0.96;
  transition: opacity 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.form-action-dock::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
}
.form-action-dock:hover {
  opacity: 1;
  box-shadow:
    0 12px 32px rgba(15, 23, 41, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.form-dock-nav-block {
  display: grid;
  gap: 8px;
  padding: 12px 12px 10px;
  background:
    radial-gradient(ellipse 120% 80% at 100% 0%, rgba(201, 169, 98, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(250, 248, 245, 0.75) 100%);
  border-bottom: 1px solid rgba(201, 169, 98, 0.16);
}
.form-dock-nav-eyebrow {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  text-align: center;
}
.form-dock-nav-progress {
  height: 4px;
  border-radius: 999px;
  background: rgba(15, 23, 41, 0.08);
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(15, 23, 41, 0.06);
}
.form-dock-nav-progress-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold));
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px rgba(201, 169, 98, 0.45);
}
.form-dock-nav-step {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--navy);
}
.form-dock-nav-title {
  margin: 0;
  min-height: 2.4em;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  color: var(--navy-soft);
  letter-spacing: 0.02em;
}
.form-dock-nav-actions {
  display: grid;
  gap: 5px;
}
.form-dock-divider {
  height: 1px;
  margin: 0 10px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 98, 0.35), transparent);
}
.btn-dock-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 9px;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.15;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, box-shadow 0.18s, transform 0.18s, color 0.18s;
}
.btn-dock-nav-icon {
  font-size: 1rem;
  line-height: 1;
  font-weight: 700;
  opacity: 0.85;
}
.btn-dock-nav-back {
  border: 1px solid rgba(201, 169, 98, 0.42);
  background: rgba(255, 255, 255, 0.82);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.btn-dock-nav-back:hover:not(:disabled) {
  border-color: var(--gold);
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 41, 0.08);
}
.btn-dock-nav-next {
  border: 1px solid rgba(15, 23, 41, 0.15);
  background: linear-gradient(135deg, var(--navy-soft) 0%, var(--navy) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 41, 0.22);
}
.btn-dock-nav-next:hover:not(:disabled) {
  border-color: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15, 23, 41, 0.28);
}
.btn-dock-nav:disabled {
  opacity: 0.34;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.form-action-dock > .btn-primary,
.form-action-dock > .btn-ghost,
.form-action-dock > .btn-dock-deactivate,
.form-action-dock > .btn-dock-print,
.form-action-dock > .btn-dock-reactivate {
  margin: 0 10px;
}
.form-action-dock > .btn-dock-save {
  margin: 8px 10px 0;
}
.form-action-dock > .btn-dock-print,
.form-action-dock > .btn-dock-deactivate,
.form-action-dock > .btn-dock-reactivate,
.form-action-dock > .btn-dock-cancel {
  margin-top: 0;
}
.form-action-dock > .btn-ghost.btn-dock-cancel {
  margin-bottom: 10px;
}
.form-action-dock .btn-primary,
.form-action-dock .btn-ghost,
.form-action-dock .btn-dock-deactivate,
.form-action-dock .btn-dock-print {
  width: 100%;
  margin: 0;
  text-align: center;
  justify-content: center;
  box-sizing: border-box;
}
.btn-dock-print {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
  font: inherit;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-dock-print:hover {
  background: #dbeafe;
  transform: none;
  box-shadow: none;
}
.btn-dock-save {
  padding: 7px 8px !important;
  min-width: 0 !important;
  font-size: 0.72rem !important;
  line-height: 1.2;
  white-space: nowrap;
  border-radius: 8px;
}
.form-dock-deactivate {
  margin: 0;
  width: 100%;
}
.btn-dock-deactivate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-dock-deactivate:hover {
  background: #fee2e2;
  transform: none;
  box-shadow: none;
}
.btn-dock-reactivate,
.btn-reregister {
  border: 1px solid #86efac;
  background: #ecfdf5;
  color: #166534;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-dock-reactivate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 6px 8px;
  border-radius: 8px;
  font: inherit;
  font-size: 0.68rem;
  line-height: 1.2;
}
.btn-reregister {
  display: inline-flex;
  align-items: center;
  margin-left: 0.35rem;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  font-size: 0.72rem;
}
.btn-dock-reactivate:hover,
.btn-reregister:hover {
  background: #dcfce7;
}
.reregister-modal .reregister-card { max-width: 520px; }
.reregister-intro {
  margin: 0 0 0.85rem;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.45;
}
.reregister-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
}
.reregister-field select,
.reregister-field textarea {
  font-weight: 500;
}
.col-aksi-inactive {
  white-space: nowrap;
}
.btn-dock-cancel {
  padding: 6px 8px !important;
  font-size: 0.68rem !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.reg-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 24px 24px;
  margin-bottom: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s;
  scroll-margin-top: 88px;
}
.reg-section.reg-section-active {
  border-color: rgba(201, 169, 98, 0.55);
  box-shadow:
    0 0 0 1px rgba(201, 169, 98, 0.18),
    inset 4px 0 0 var(--gold),
    var(--shadow-md);
}
.reg-section:hover {
  box-shadow: var(--shadow-md);
}
.reg-section legend {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  padding: 0 12px;
  color: var(--navy);
  letter-spacing: 0.03em;
  margin-left: -4px;
  margin-bottom: 8px;
}
.reg-section legend::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-top: 4px;
}
.reg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  padding-top: 8px;
}
.reg-grid label {
  display: grid;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.reg-grid label.full,
.reg-grid > .full { grid-column: 1 / -1; }

.abk-alamat-ktp {
  display: grid;
  gap: 0.55rem;
}

.abk-alamat-ktp__title {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.abk-alamat-ktp__legacy {
  margin: 0;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  background: rgba(201, 169, 98, 0.12);
  border: 1px solid rgba(201, 169, 98, 0.35);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.85rem;
  line-height: 1.45;
}

.abk-alamat-ktp__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5rem 5rem;
  gap: 0.65rem 0.75rem;
}

.abk-alamat-ktp__grid > label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
}

.abk-alamat-ktp__jalan { grid-column: 1 / 2; }
.abk-alamat-ktp__rt { grid-column: 2 / 3; }
.abk-alamat-ktp__rw { grid-column: 3 / 4; }
.abk-alamat-ktp__prov,
.abk-alamat-ktp__kab,
.abk-alamat-ktp__kec,
.abk-alamat-ktp__kel,
.abk-alamat-ktp__preview {
  grid-column: 1 / -1;
}

.abk-alamat-ktp__grid input,
.abk-alamat-ktp__grid select {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 0.95rem;
  text-transform: uppercase;
  background: var(--cream);
  color: var(--text);
}

.abk-alamat-ktp__grid select:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.abk-alamat-ktp__preview {
  margin: 0;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  background: rgba(15, 42, 68, 0.04);
  border: 1px dashed rgba(15, 42, 68, 0.18);
}

.abk-alamat-ktp__preview-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.abk-alamat-ktp__preview-line {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  text-transform: uppercase;
  word-break: break-word;
}

.abk-alamat-ktp__preview-line.is-empty {
  font-weight: 500;
  color: var(--muted);
}

@media (max-width: 720px) {
  .abk-alamat-ktp__grid {
    grid-template-columns: 1fr 1fr;
  }
  .abk-alamat-ktp__jalan { grid-column: 1 / -1; }
  .abk-alamat-ktp__rt { grid-column: 1 / 2; }
  .abk-alamat-ktp__rw { grid-column: 2 / 3; }
}
.reg-grid input,
.reg-grid select,
.reg-grid textarea {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 0.95rem;
  text-transform: uppercase;
  background: var(--cream);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.reg-grid input:focus,
.reg-grid select:focus,
.reg-grid textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.18);
}
.reg-grid select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a8863a' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.reg-grid input.date-input {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.date-field {
  position: relative;
  display: flex;
  align-items: stretch;
}
.date-field .date-input {
  flex: 1;
  padding-right: 42px;
}
.date-toggle {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  width: 36px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cream-dark), var(--line-soft));
  color: var(--gold-dark);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  z-index: 2;
  transition: background 0.2s;
}
.date-toggle:hover { background: var(--gold-light); color: var(--navy); }

.flatpickr-calendar {
  z-index: 100500;
  font-family: var(--font-body);
  font-size: 13px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: var(--navy);
  border-color: var(--navy);
}
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.reg-grid input[readonly] {
  background: var(--line-soft);
  color: var(--muted);
  cursor: default;
}

.kota-field input[type="search"],
.kota-field input[type="text"] {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}
.kota-combobox { position: relative; }
.kota-dropdown {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  max-height: 220px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.kota-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: none;
  background: #fff;
  cursor: pointer;
  font: inherit;
}
.kota-item:hover { background: #f1f5f9; }
.kota-item-manual {
  font-weight: 600;
  background: #eff6ff;
  border-bottom: 1px solid var(--line);
}
.kota-item.is-active {
  background: rgba(201, 169, 98, 0.22);
  box-shadow: inset 3px 0 0 var(--gold-dark);
}
.kota-dropdown-portal {
  z-index: 10150;
  max-height: min(280px, 42vh);
}
.tipe-kapal-input {
  cursor: pointer;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a8863a' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px !important;
}
#xpModal .kota-combobox {
  overflow: visible;
}

.flatpickr-calendar.open {
  z-index: 100500 !important;
}

.hint { color: var(--muted); font-size: 0.78rem; line-height: 1.45; text-transform: none; letter-spacing: 0; font-weight: 400; }
.block-hint {
  padding: 14px 16px;
  background: var(--cream);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
}

.xp-mode {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.radio-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  background: var(--cream);
  font-size: 0.88rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.radio-pill:has(input:checked) {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.15);
}
.xp-summary { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.xp-chip {
  background: linear-gradient(135deg, var(--navy-soft), var(--navy));
  color: var(--gold-light);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  border: 1px solid rgba(201, 169, 98, 0.25);
}

.btn-secondary, .btn-ghost {
  padding: 11px 18px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  text-decoration: none;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.btn-secondary:hover, .btn-ghost:hover {
  border-color: var(--gold);
  background: var(--cream);
  transform: translateY(-1px);
}
.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
  margin-top: 8px;
}
.form-actions .btn-primary {
  width: auto;
  padding: 13px 28px;
  min-width: 180px;
}
.form-actions .btn-ghost {
  padding: 13px 22px;
}

.doc-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

/* Dokumen & Pelaut — luxury cards */
.doc-section-lux {
  background: linear-gradient(180deg, #fff 0%, #fffdf9 100%);
  border-color: rgba(201, 169, 98, 0.22);
}
.doc-pelaut-intro {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}
.doc-pelaut-intro .doc-hint-lux {
  margin: 0;
}
.doc-rule-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.12) 0%, rgba(201, 169, 98, 0.08) 100%);
  border: 1px solid rgba(201, 169, 98, 0.35);
  color: #92400e;
  font-size: 0.84rem;
  line-height: 1.45;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.doc-rule-banner-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(201, 169, 98, 0.4);
  font-size: 0.9rem;
}
.doc-pelaut-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}
.doc-pelaut-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--doc-border, rgba(201, 169, 98, 0.28));
  background: linear-gradient(165deg, #fff 0%, var(--cream) 100%);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.doc-pelaut-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--doc-bar, linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark)));
}
.doc-pelaut-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--doc-border-hover, rgba(201, 169, 98, 0.5));
}
.doc-pelaut-card-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 14px 12px;
  background: var(--doc-banner-bg, linear-gradient(135deg, var(--cream) 0%, #fff 100%));
  border-bottom: 1px solid var(--doc-banner-line, var(--line-soft));
}
.doc-pelaut-title-wrap {
  flex: 1;
  min-width: 0;
}
.doc-pelaut-icon-wrap {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--doc-icon-bg, linear-gradient(135deg, var(--navy-soft), var(--navy)));
  box-shadow: 0 4px 14px rgba(15, 23, 41, 0.18);
}
.doc-pelaut-icon {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--gold-light);
}
.doc-pelaut-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--doc-title-color, var(--navy));
  letter-spacing: 0.02em;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.doc-pelaut-desc {
  margin: 3px 0 0;
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.doc-pelaut-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 12px 14px 8px;
}
.doc-field {
  display: grid;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 0;
}
.doc-field input,
.doc-field .date-field-sm input {
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 0.84rem;
  width: 100%;
  min-width: 0;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.doc-field .date-field-sm {
  width: 100%;
  min-width: 0;
}
.doc-field .date-field-sm input {
  width: 100%;
}
.doc-field input:focus,
.doc-field .date-field-sm input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.15);
  background: #fff;
}
.doc-field input[readonly] {
  background: var(--cream-dark);
  color: var(--muted);
}
.doc-pelaut-actions {
  padding: 0 14px 12px;
  margin-top: auto;
}
.doc-pelaut-card .doc-upload-compact {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(201, 169, 98, 0.35);
  min-width: 0;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.doc-upload-compact.doc-drop-active,
.doc-card-lux.doc-drop-active {
  border-color: var(--gold);
  background: rgba(201, 169, 98, 0.14);
  box-shadow: 0 0 0 2px rgba(201, 169, 98, 0.28);
}
.doc-drop-hint {
  display: block;
  font-size: 0.65rem;
  color: var(--muted);
  line-height: 1.3;
  text-align: center;
}
.doc-pelaut-card .doc-upload-compact.doc-drop-active .doc-drop-hint {
  color: var(--gold-dark);
  font-weight: 600;
}
.doc-pelaut-card .doc-save-status {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.doc-pelaut-card .doc-save-status.saved {
  display: block;
  color: #059669;
}
.doc-pelaut-card .doc-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-start;
  width: 100%;
}
.doc-inline-file-info {
  margin-top: 2px;
  min-width: 0;
}
.doc-inline-file-empty {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
}
.doc-inline-file-link {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--navy-mid);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.doc-inline-file-link:hover {
  color: var(--gold-dark);
}
.doc-pelaut-card .doc-btn {
  height: 30px;
  min-width: 0;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  flex: 0 1 auto;
}
.doc-pelaut-card .doc-btn-del {
  width: 30px;
  padding: 0;
  flex: 0 0 30px;
}
.doc-pelaut-card .doc-row-warn {
  margin: 0 10px 10px;
}
.doc-pelaut-card .doc-expiry-alert {
  border-radius: 10px;
  font-size: 0.72rem;
}
.doc-pelaut-card.doc-expiry-alert-active {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.12), var(--shadow-sm);
}
.doc-pelaut-card.doc-expiry-alert-active.doc-expiry-alert-active--danger {
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.1), var(--shadow-sm);
}
.doc-pelaut-card.doc-expiry-alert-active .date-input {
  border-color: #f59e0b;
  background: #fffdf5;
}
.doc-pelaut-card.doc-expiry-alert-active.doc-expiry-alert-active--danger .date-input {
  border-color: #ef4444;
  background: #fef2f2;
}
.doc-pelaut-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy-soft) 0%, var(--navy) 100%);
  border: 1px solid rgba(201, 169, 98, 0.25);
  box-shadow: var(--shadow-md);
}
.doc-pelaut-meta-field {
  display: grid;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.doc-pelaut-meta-field input,
.doc-pelaut-meta-field select {
  padding: 11px 14px;
  border: 1px solid rgba(201, 169, 98, 0.28);
  border-radius: 10px;
  font: inherit;
  font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.doc-pelaut-meta-field input:focus,
.doc-pelaut-meta-field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.2);
}
.doc-pelaut-meta-field input[readonly] {
  background: rgba(250, 248, 245, 0.92);
  color: var(--muted);
}
.doc-tone-paspor {
  --doc-bar: linear-gradient(90deg, #1e3a8a, #3b82f6, #1e3a8a);
  --doc-banner-bg: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  --doc-banner-line: rgba(59, 130, 246, 0.18);
  --doc-border: rgba(59, 130, 246, 0.22);
  --doc-border-hover: rgba(37, 99, 235, 0.42);
  --doc-icon-bg: linear-gradient(135deg, #1d4ed8, #3b82f6);
  --doc-title-color: #1e3a8a;
}
.doc-tone-buku_pelaut {
  --doc-bar: linear-gradient(90deg, #0f1729, #334155, #0f1729);
  --doc-banner-bg: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  --doc-banner-line: rgba(51, 65, 85, 0.16);
  --doc-border: rgba(51, 65, 85, 0.2);
  --doc-border-hover: rgba(15, 23, 41, 0.38);
  --doc-icon-bg: linear-gradient(135deg, #0f1729, #334155);
  --doc-title-color: #0f1729;
}
.doc-tone-bst {
  --doc-bar: linear-gradient(90deg, #115e59, #14b8a6, #115e59);
  --doc-banner-bg: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
  --doc-banner-line: rgba(20, 184, 166, 0.18);
  --doc-border: rgba(20, 184, 166, 0.22);
  --doc-border-hover: rgba(13, 148, 136, 0.42);
  --doc-icon-bg: linear-gradient(135deg, #0f766e, #14b8a6);
  --doc-title-color: #115e59;
}
.doc-pelaut-card.doc-tone-sertifikat_kompetensi {
  --doc-bar: linear-gradient(90deg, #14532d, #22c55e, #14532d);
  --doc-banner-bg: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  --doc-banner-line: rgba(34, 197, 94, 0.2);
  --doc-border: rgba(22, 163, 74, 0.22);
  --doc-border-hover: rgba(21, 128, 61, 0.42);
  --doc-icon-bg: linear-gradient(135deg, #15803d, #22c55e);
  --doc-title-color: #14532d;
}
.doc-pelaut-note {
  margin: 0 16px 10px;
  font-size: 0.78rem;
  line-height: 1.4;
}
.doc-pelaut-card.doc-tone-ijin_orang_tua {
  --doc-bar: linear-gradient(90deg, #7c2d12, #ea580c, #7c2d12);
  --doc-banner-bg: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  --doc-banner-line: rgba(234, 88, 12, 0.2);
  --doc-border: rgba(194, 65, 12, 0.22);
  --doc-border-hover: rgba(154, 52, 18, 0.42);
  --doc-icon-bg: linear-gradient(135deg, #c2410c, #ea580c);
  --doc-title-color: #7c2d12;
}

/* Dokumen & Pelaut — compact table (legacy / SKCK) */
.doc-section { padding-bottom: 8px; }
.doc-hint {
  margin: 0 0 10px;
  font-size: 0.78rem;
  color: var(--muted);
}

.doc-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.doc-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
}
.doc-row:last-child { border-bottom: none; }
.doc-row:nth-child(even) { background: var(--cream); }
.doc-row-name {
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--navy);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.doc-row-fields {
  display: grid;
  grid-template-columns: 1fr 1fr minmax(168px, auto);
  gap: 8px;
  align-items: end;
}
.doc-row-warn {
  grid-column: 1 / -1;
  margin-top: -2px;
}
.doc-hint-rule {
  margin: -6px 0 12px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fffbeb;
  border: 1px solid rgba(201, 169, 98, 0.35);
  color: #92400e;
  font-size: 0.82rem;
}
.doc-expiry-alert {
  margin: 0;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.doc-expiry-alert--warn {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  color: #92400e;
}
.doc-expiry-alert--danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.doc-expiry-icon {
  flex: 0 0 auto;
  font-weight: 700;
}
.doc-row.doc-expiry-alert-active .date-input {
  border-color: #f59e0b;
  background: #fffdf5;
}
.doc-row.doc-expiry-alert-active.doc-expiry-alert-active--danger .date-input {
  border-color: #ef4444;
  background: #fef2f2;
}
.doc-mini {
  display: grid;
  gap: 3px;
  font-size: 0.76rem;
  color: var(--muted);
}
.doc-mini input,
.doc-mini .date-field-sm input {
  padding: 6px 8px;
  font-size: 0.84rem;
}
.date-field-sm .date-toggle {
  width: 28px;
  font-size: 0.85rem;
}
.doc-meta-grid {
  margin-top: 4px;
}
.doc-upload-compact {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  min-width: 0;
}
.doc-save-status {
  font-size: 0.68rem;
  color: var(--muted);
  text-align: right;
  line-height: 1.2;
  min-height: 0.85rem;
}
.doc-save-status.saved {
  color: #059669;
  font-weight: 600;
}
.doc-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
  align-items: center;
}
.doc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  min-width: 30px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  white-space: nowrap;
  font-family: inherit;
  transition: transform 0.12s, box-shadow 0.12s;
}
.doc-btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.doc-upload-label { cursor: pointer; margin: 0; }
.doc-btn-add {
  border-color: rgba(201, 169, 98, 0.5);
  background: var(--cream);
  color: var(--gold-dark);
}
.doc-btn-add:hover { background: var(--gold-light); }
.doc-btn-new {
  border-color: #e8d5a3;
  background: #fffdf7;
  color: var(--gold-dark);
}
.doc-btn-new:hover { background: var(--gold-light); }
.doc-btn-view {
  border-color: var(--line);
  background: var(--cream);
  color: var(--navy);
}
.doc-btn-view:hover:not(:disabled) { background: #fff; border-color: var(--gold); }
.doc-btn-del {
  width: 28px;
  padding: 0;
  border-color: #fecaca;
  background: #fef2f2;
  color: #dc2626;
  font-size: 1.05rem;
}
.doc-btn-del:hover:not(:disabled) { background: #fee2e2; }
.doc-btn:disabled,
.doc-btn[hidden] { display: none; }
.doc-card-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.doc-float-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10040;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(2px);
}
.doc-float-backdrop[hidden] { display: none; }
body.doc-viewer-open { overflow: hidden; }

.doc-float-viewer {
  position: fixed;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, -50%);
  width: min(920px, calc(100vw - 24px));
  height: min(88vh, 860px);
  min-width: 300px;
  min-height: 280px;
  max-width: calc(100vw - 12px);
  max-height: calc(100vh - 12px);
  z-index: 10050;
  display: flex;
  flex-direction: column;
  background: #1e293b;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.45);
  border: 1px solid #334155;
  overflow: hidden;
  touch-action: none;
}
.doc-float-viewer.is-dragging,
.doc-float-viewer.is-resizing {
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.55);
  opacity: 0.98;
}
.doc-float-viewer[hidden] { display: none; }
.doc-float-head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 0.82rem;
  cursor: grab;
  user-select: none;
}
.doc-float-head:active {
  cursor: grabbing;
}
.doc-float-drag-hint {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
  color: #94a3b8;
  letter-spacing: -0.08em;
}
.doc-float-head strong {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.doc-float-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.doc-float-popout {
  flex-shrink: 0;
  min-width: 84px;
  height: 28px;
  border: 1px solid #38bdf8;
  border-radius: 6px;
  background: #0ea5e9;
  color: #f8fafc;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  padding: 0 10px;
}
.doc-float-popout:hover {
  background: #0284c7;
  border-color: #7dd3fc;
}
.doc-float-hint {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 6px 10px;
  background: #0b1220;
  color: #cbd5e1;
  font-size: 0.72rem;
  line-height: 1.35;
  border-bottom: 1px solid #334155;
}
.doc-float-hint strong { color: #7dd3fc; }
.doc-float-mode {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  color: #e2e8f0;
}
.doc-float-mode input {
  margin: 0;
  accent-color: #0ea5e9;
}
.doc-float-close {
  flex-shrink: 0;
  min-width: 72px;
  height: 28px;
  border: 1px solid #64748b;
  border-radius: 6px;
  background: #334155;
  color: #f8fafc;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  padding: 0 10px;
}
.doc-float-close:hover { background: #dc2626; border-color: #ef4444; }
.doc-float-frame {
  flex: 1;
  width: 100%;
  min-height: 0;
  border: 0;
  background: #64748b;
}
.doc-float-resize-s {
  position: absolute;
  left: 0;
  right: 22px;
  bottom: 0;
  height: 14px;
  cursor: ns-resize;
  z-index: 4;
  background: linear-gradient(180deg, transparent 0%, rgba(201, 169, 98, 0.22) 100%);
}
.doc-float-resize-s:hover {
  background: linear-gradient(180deg, transparent 0%, rgba(201, 169, 98, 0.42) 100%);
}
.doc-float-resize-se {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 22px;
  height: 22px;
  cursor: nwse-resize;
  z-index: 5;
  border-bottom-right-radius: 10px;
  background:
    linear-gradient(135deg, transparent 42%, rgba(201, 169, 98, 0.55) 42%, rgba(201, 169, 98, 0.75) 100%);
}
.doc-float-resize-se:hover {
  background:
    linear-gradient(135deg, transparent 38%, rgba(201, 169, 98, 0.7) 38%, rgba(232, 213, 163, 0.9) 100%);
}

.doc-grid-wide {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.reg-section-doc-lux .doc-hint-lux {
  margin: 0 0 18px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.1), rgba(15, 23, 41, 0.03));
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.8rem;
  line-height: 1.45;
}
.doc-table-lux {
  border: 1px solid rgba(201, 169, 98, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  background: #fff;
}
.doc-table-lux .doc-row {
  padding: 16px 18px;
  background: linear-gradient(135deg, #fff 0%, var(--cream) 100%);
}
.doc-table-lux .doc-row-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--navy);
}

.doc-card-lux {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
  padding: 0;
  border: 1px solid var(--doc-border, rgba(201, 169, 98, 0.28));
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, #fff 0%, var(--cream) 100%);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.doc-card-lux::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--doc-bar, linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark)));
  opacity: 1;
}
.doc-card-lux:hover {
  transform: translateY(-4px);
  border-color: var(--doc-border-hover, rgba(201, 169, 98, 0.55));
  box-shadow: var(--shadow-md);
}
.doc-card-lux.doc-card-has-file:hover {
  transform: translateY(-4px);
}
.doc-card-lux.doc-card-has-file {
  border-color: var(--doc-border-hover, rgba(201, 169, 98, 0.45));
}
.doc-card-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--doc-banner-bg, linear-gradient(135deg, var(--cream) 0%, #fff 100%));
  border-bottom: 1px solid var(--doc-banner-line, var(--line-soft));
}
.doc-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 16px 0;
}
.doc-card-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--doc-icon-bg, linear-gradient(135deg, var(--navy-soft) 0%, var(--navy) 100%));
  color: var(--doc-icon-color, var(--gold-light));
  font-size: 1.05rem;
  box-shadow: var(--doc-icon-shadow, inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 4px 10px rgba(15, 23, 41, 0.12));
}
.doc-card-title {
  display: block;
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: var(--doc-title-color, var(--navy));
  line-height: 1.25;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.doc-tone-skck {
  --doc-bar: linear-gradient(90deg, #7f1d1d, #ef4444, #7f1d1d);
  --doc-banner-bg: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  --doc-banner-line: rgba(239, 68, 68, 0.2);
  --doc-border: rgba(220, 38, 38, 0.22);
  --doc-border-hover: rgba(185, 28, 28, 0.42);
  --doc-icon-bg: linear-gradient(135deg, #b91c1c, #ef4444);
  --doc-title-color: #7f1d1d;
}
.doc-card-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 16px 10px;
}
.doc-card-date {
  display: grid;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.doc-card-date .date-input {
  padding: 6px 8px;
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
}
.doc-card-date .date-field-sm {
  width: 100%;
}
.doc-card-date .date-field-sm .date-toggle {
  width: 28px;
  font-size: 0.85rem;
}
.doc-tone-ktp {
  --doc-bar: linear-gradient(90deg, #312e81, #6366f1, #312e81);
  --doc-banner-bg: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  --doc-banner-line: rgba(99, 102, 241, 0.2);
  --doc-border: rgba(99, 102, 241, 0.22);
  --doc-border-hover: rgba(79, 70, 229, 0.45);
  --doc-icon-bg: linear-gradient(135deg, #4338ca, #6366f1);
  --doc-title-color: #1e1b4b;
}
.doc-tone-kk {
  --doc-bar: linear-gradient(90deg, #9a3412, #f97316, #9a3412);
  --doc-banner-bg: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  --doc-banner-line: rgba(249, 115, 22, 0.2);
  --doc-border: rgba(234, 88, 12, 0.22);
  --doc-border-hover: rgba(234, 88, 12, 0.42);
  --doc-icon-bg: linear-gradient(135deg, #c2410c, #ea580c);
  --doc-title-color: #7c2d12;
}
.doc-tone-akte {
  --doc-bar: linear-gradient(90deg, #581c87, #a855f7, #581c87);
  --doc-banner-bg: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
  --doc-banner-line: rgba(168, 85, 247, 0.2);
  --doc-border: rgba(147, 51, 234, 0.22);
  --doc-border-hover: rgba(126, 34, 206, 0.42);
  --doc-icon-bg: linear-gradient(135deg, #7e22ce, #9333ea);
  --doc-title-color: #581c87;
}
.doc-tone-ijazah {
  --doc-bar: linear-gradient(90deg, #065f46, #10b981, #065f46);
  --doc-banner-bg: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  --doc-banner-line: rgba(16, 185, 129, 0.2);
  --doc-border: rgba(5, 150, 105, 0.22);
  --doc-border-hover: rgba(5, 150, 105, 0.42);
  --doc-icon-bg: linear-gradient(135deg, #047857, #059669);
  --doc-title-color: #064e3b;
}
.doc-tone-buku_tabungan_1 {
  --doc-bar: linear-gradient(90deg, #92400e, #d97706, #92400e);
  --doc-banner-bg: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  --doc-banner-line: rgba(217, 119, 6, 0.22);
  --doc-border: rgba(180, 83, 9, 0.22);
  --doc-border-hover: rgba(180, 83, 9, 0.42);
  --doc-icon-bg: linear-gradient(135deg, #b45309, #d97706);
  --doc-title-color: #78350f;
}
.doc-tone-buku_tabungan_2 {
  --doc-bar: linear-gradient(90deg, #a16207, #eab308, #a16207);
  --doc-banner-bg: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
  --doc-banner-line: rgba(234, 179, 8, 0.22);
  --doc-border: rgba(161, 98, 7, 0.22);
  --doc-border-hover: rgba(161, 98, 7, 0.42);
  --doc-icon-bg: linear-gradient(135deg, #ca8a04, #eab308);
  --doc-title-color: #713f12;
}
.doc-tone-medical_checkup {
  --doc-bar: linear-gradient(90deg, #0e7490, #06b6d4, #0e7490);
  --doc-banner-bg: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%);
  --doc-banner-line: rgba(6, 182, 212, 0.2);
  --doc-border: rgba(8, 145, 178, 0.22);
  --doc-border-hover: rgba(8, 145, 178, 0.42);
  --doc-icon-bg: linear-gradient(135deg, #0891b2, #06b6d4);
  --doc-title-color: #164e63;
}
.doc-tone-surat_ijin_keluarga {
  --doc-bar: linear-gradient(90deg, #9d174d, #ec4899, #9d174d);
  --doc-banner-bg: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
  --doc-banner-line: rgba(236, 72, 153, 0.2);
  --doc-border: rgba(219, 39, 119, 0.22);
  --doc-border-hover: rgba(190, 24, 93, 0.42);
  --doc-icon-bg: linear-gradient(135deg, #be185d, #db2777);
  --doc-title-color: #831843;
}
.doc-tone-buku_nikah {
  --doc-bar: linear-gradient(90deg, #831843, #f472b6, #831843);
  --doc-banner-bg: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
  --doc-banner-line: rgba(244, 114, 182, 0.22);
  --doc-border: rgba(225, 29, 72, 0.22);
  --doc-border-hover: rgba(190, 18, 60, 0.42);
  --doc-icon-bg: linear-gradient(135deg, #be123c, #e11d48);
  --doc-title-color: #881337;
}
.doc-tone-hasil_interview {
  --doc-bar: linear-gradient(90deg, #1e3a8a, #3b82f6, #1e3a8a);
  --doc-banner-bg: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  --doc-banner-line: rgba(59, 130, 246, 0.2);
  --doc-border: rgba(37, 99, 235, 0.22);
  --doc-border-hover: rgba(29, 78, 216, 0.42);
  --doc-icon-bg: linear-gradient(135deg, #1d4ed8, #2563eb);
  --doc-title-color: #1e3a8a;
}
.doc-tone-sertifikat_kompetensi {
  --doc-bar: linear-gradient(90deg, #14532d, #22c55e, #14532d);
  --doc-banner-bg: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  --doc-banner-line: rgba(34, 197, 94, 0.2);
  --doc-border: rgba(22, 163, 74, 0.22);
  --doc-border-hover: rgba(21, 128, 61, 0.42);
  --doc-icon-bg: linear-gradient(135deg, #15803d, #16a34a);
  --doc-title-color: #14532d;
}
.doc-tone-pkl {
  --doc-bar: linear-gradient(90deg, #0c4a6e, #0ea5e9, #0c4a6e);
  --doc-banner-bg: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  --doc-banner-line: rgba(14, 165, 233, 0.2);
  --doc-border: rgba(2, 132, 199, 0.22);
  --doc-border-hover: rgba(3, 105, 161, 0.42);
  --doc-icon-bg: linear-gradient(135deg, #0369a1, #0284c7);
  --doc-title-color: #0c4a6e;
}
.doc-tone-pembiayaan_pinjaman {
  --doc-bar: linear-gradient(90deg, #78350f, var(--gold), #78350f);
  --doc-banner-bg: linear-gradient(135deg, #fffdf7 0%, var(--gold-light) 100%);
  --doc-banner-line: rgba(201, 169, 98, 0.35);
  --doc-border: rgba(168, 134, 58, 0.28);
  --doc-border-hover: rgba(168, 134, 58, 0.5);
  --doc-icon-bg: linear-gradient(135deg, var(--gold-dark), var(--gold));
  --doc-icon-color: var(--navy);
  --doc-title-color: #422006;
}
.doc-tone-skema_pengembalian_pinjaman {
  --doc-bar: linear-gradient(90deg, #4c1d95, #8b5cf6, #4c1d95);
  --doc-banner-bg: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  --doc-banner-line: rgba(139, 92, 246, 0.2);
  --doc-border: rgba(109, 40, 217, 0.22);
  --doc-border-hover: rgba(91, 33, 182, 0.42);
  --doc-icon-bg: linear-gradient(135deg, #6d28d9, #7c3aed);
  --doc-title-color: #4c1d95;
}
.doc-tone-dokumen_lainnya {
  --doc-bar: linear-gradient(90deg, #334155, #94a3b8, #334155);
  --doc-banner-bg: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  --doc-banner-line: rgba(100, 116, 139, 0.2);
  --doc-border: rgba(71, 85, 105, 0.22);
  --doc-border-hover: rgba(51, 65, 85, 0.42);
  --doc-icon-bg: linear-gradient(135deg, #475569, #64748b);
  --doc-title-color: #1e293b;
}
.doc-card-status {
  display: inline-block;
  margin-top: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  background: rgba(15, 23, 41, 0.05);
}
.doc-card-status.is-uploaded {
  color: #065f46;
  background: rgba(5, 150, 105, 0.1);
}
.doc-card-del {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: 50%;
  background: #fff5f5;
  color: #dc2626;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s, transform 0.15s;
}
.doc-card-del:hover:not(:disabled) {
  background: #fee2e2;
  transform: scale(1.05);
}
.doc-card-body {
  padding: 0 16px 12px;
  min-height: 1.4em;
  font-size: 0.72rem;
  line-height: 1.4;
  min-width: 0;
  overflow: hidden;
}
.doc-card-empty {
  color: var(--muted);
  font-style: italic;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.doc-card-link {
  display: -webkit-box;
  max-width: 100%;
  color: var(--doc-title-color, var(--gold-dark));
  font-weight: 600;
  text-decoration: none;
  word-break: break-all;
  overflow-wrap: anywhere;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  cursor: pointer;
}
.doc-card-link:hover {
  color: var(--navy);
  text-decoration: underline;
}
.doc-card-view-hint {
  display: block;
  margin-top: 4px;
  font-size: 0.62rem;
  color: var(--muted);
  font-style: italic;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.doc-card-foot {
  margin-top: auto;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.72);
  display: grid;
  gap: 8px;
}
.doc-card-foot-multi .doc-card-toolbar {
  width: 100%;
  justify-content: flex-start;
}
.doc-card-foot-multi .doc-card-hapus {
  width: auto;
  min-width: 72px;
  padding: 0 12px;
  height: 30px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.72rem;
}
.doc-card-drop-hint {
  font-size: 0.65rem;
  color: var(--muted);
  line-height: 1.35;
}
.doc-card-lux.doc-drop-active {
  outline: 2px dashed rgba(201, 169, 98, 0.55);
  outline-offset: 2px;
}
.doc-card-hapus {
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(220, 38, 38, 0.28);
  background: #fff5f5;
  color: #b91c1c;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, opacity 0.15s;
}
.doc-card-hapus:hover:not(:disabled) {
  background: #fee2e2;
  border-color: #fca5a5;
}
.doc-card-hapus:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}
.doc-card-upload {
  display: grid;
  gap: 6px;
  min-width: 0;
  cursor: pointer;
  margin: 0;
}
.doc-card-upload-btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(201, 169, 98, 0.35);
  background: linear-gradient(135deg, var(--navy-soft) 0%, var(--navy) 100%);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.doc-card-upload:hover .doc-card-upload-btn {
  border-color: var(--gold);
  box-shadow: 0 6px 16px rgba(15, 23, 41, 0.18);
  transform: translateY(-1px);
}
.doc-card-upload-name {
  display: block;
  font-size: 0.66rem;
  color: var(--muted);
  line-height: 1.3;
  text-align: center;
  word-break: break-all;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.doc-card-upload-name.has-file {
  color: var(--gold-dark);
  font-weight: 600;
  font-style: normal;
}
.doc-card input[type="file"].doc-card-file {
  display: none;
}

/* Legacy doc-card fallback */
.doc-card:not(.doc-card-lux) {
  border: 1px dashed rgba(201, 169, 98, 0.45);
  border-radius: var(--radius);
  padding: 14px;
  display: grid;
  gap: 8px;
  font-size: 0.85rem;
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}
.doc-card:not(.doc-card-lux):hover {
  border-color: var(--gold);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.doc-card:not(.doc-card-lux) strong {
  display: block;
  font-size: 0.72rem;
  line-height: 1.35;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.doc-card .doc-file-info {
  font-size: 0.72rem;
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.doc-card .doc-file-info a {
  color: var(--navy);
  font-weight: 600;
}
.doc-card:not(.doc-card-lux) .doc-card-upload {
  display: grid;
  gap: 5px;
  min-width: 0;
  cursor: pointer;
  margin: 0;
}
.doc-card:not(.doc-card-lux) .doc-card-upload-btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 8px 8px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}
.doc-card:not(.doc-card-lux) .doc-card-upload:hover .doc-card-upload-btn {
  border-color: var(--gold);
  background: var(--cream);
}
.doc-card:not(.doc-card-lux) .doc-card-upload-name {
  display: block;
  font-size: 0.66rem;
  color: var(--muted);
  line-height: 1.3;
  word-break: break-all;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.doc-card:not(.doc-card-lux) .doc-card-upload-name.has-file {
  color: var(--gold-dark);
  font-weight: 600;
}
.doc-card:not(.doc-card-lux) input[type="file"].doc-card-file {
  display: none;
}

.alert.ok {
  background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
  color: #065f46;
  padding: 14px 16px;
  border-radius: var(--radius);
  margin: 0 32px 0;
  border: 1px solid #a7f3d0;
  border-left: 4px solid #059669;
}
.form-panel-lux > .alert.ok,
.form-panel-lux > .alert.err {
  margin: 16px 32px 0;
}

/* Modal pengalaman */
.modal { position: fixed; inset: 0; z-index: 10100; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 41, 0.55);
  backdrop-filter: blur(4px);
  z-index: 0;
}
.modal-card {
  position: relative;
  z-index: 1;
  background: #fff;
  width: min(920px, 96vw);
  max-height: 90vh;
  overflow: auto;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.modal-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
}
.modal-hint { margin: 0 0 14px; padding: 0 4px; }
.modal-close {
  border: 1px solid var(--line);
  background: var(--cream);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--navy);
  transition: background 0.2s, border-color 0.2s;
}
.modal-close:hover { background: var(--gold-light); border-color: var(--gold); }
.xp-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 14px;
  background: var(--cream);
}
.xp-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.btn-del-xp {
  border: none;
  background: #fee2e2;
  color: #991b1b;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
}
.keahlian-box > span { display: block; margin-bottom: 8px; font-size: 0.85rem; font-weight: 600; }
.keahlian-group { margin-bottom: 10px; }
.keahlian-group-title {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy, #0f1729);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.keahlian-chks { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.keahlian-chks .chk { font-size: 0.85rem; display: inline-flex; gap: 4px; align-items: center; }
.keahlian-tambahan { margin-top: 10px; }
.keahlian-tambahan input { width: 100%; }
.xp-summary .xp-warn { color: #b45309; font-size: 0.9rem; }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }

.nik-dup-modal { z-index: 100200; }
.nik-dup-card {
  width: min(440px, 94vw);
  text-align: center;
  border-color: rgba(239, 68, 68, 0.35);
  box-shadow: 0 20px 60px rgba(127, 29, 29, 0.18);
}
.nik-dup-card .modal-head {
  justify-content: center;
  position: relative;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.nik-dup-card .modal-head h2 {
  color: #991b1b;
  font-size: 1.15rem;
}
.nik-dup-card .modal-close {
  position: absolute;
  right: 0;
  top: 0;
}
.nik-dup-icon {
  width: 52px;
  height: 52px;
  margin: 8px auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #b45309;
  background: #fffbeb;
  border: 2px solid #fcd34d;
}
.nik-dup-message {
  margin: 0 0 8px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #991b1b;
  text-transform: none;
  letter-spacing: 0;
}
.nik-dup-detail {
  margin: 0 0 16px;
  font-size: 0.82rem;
  color: var(--navy);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.nik-dup-card .modal-actions {
  justify-content: center;
}

/* Masterdata */
.master-panel .panel-toolbar { align-items: center; }
.master-nav-links { display: flex; flex-wrap: wrap; gap: 6px; }

.doc-dash-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fffdf8 0%, #fff 100%);
}
.doc-dash-stat {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.doc-dash-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}
.doc-dash-stat-label {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--muted);
}
.doc-dash-stat--danger .doc-dash-stat-num { color: #b91c1c; }
.doc-dash-stat--warn .doc-dash-stat-num { color: #b45309; }
.doc-dash-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.doc-dash-filter {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}
.doc-dash-filter:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  text-decoration: none;
}
.doc-dash-filter.is-active {
  background: linear-gradient(135deg, var(--navy-soft), var(--navy));
  border-color: rgba(201, 169, 98, 0.35);
  color: var(--gold-light);
}
.doc-dash-table .col-uniq { width: 118px; min-width: 118px; }
.doc-dash-table .col-doc-type { width: 10%; }
.doc-dash-table .col-doc-no { width: 12%; }
.doc-dash-table .col-doc-exp { width: 10%; }
.doc-dash-table .col-doc-status { width: 10%; }
.doc-dash-type {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}
.doc-exp-cell {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--navy);
}
.doc-dash-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.doc-dash-badge--warn {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  color: #92400e;
}
.doc-dash-badge--danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
@media (min-width: 1100px) {
  .doc-pelaut-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .doc-pelaut-fields {
    grid-template-columns: 1fr 1fr;
    gap: 10px 8px;
  }
}
@media (max-width: 900px) {
  .reg-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reg-grid-compact label.span-2 { grid-column: span 2; }
  .reg-grid-compact label.full { grid-column: 1 / -1; }
  .doc-dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .reg-grid-compact { grid-template-columns: 1fr; }
  .reg-grid-compact label.span-2 { grid-column: auto; }
}
@media (max-width: 560px) {
  .doc-dash-stats { grid-template-columns: 1fr; }
}
.master-tab {
  padding: 6px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
}
.master-tab.active { background: var(--blue); color: #fff; }
.master-form-wrap {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: #fafbfc;
}
.master-form-wrap h2 { margin: 0 0 12px; font-size: 1rem; }
.master-form { max-width: 900px; }
.master-search-wrap {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: #fafbfc;
}
.master-search-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 16px;
  margin: 0;
  width: 100%;
}
.master-search-total {
  margin-left: auto;
  flex: 0 0 auto;
  align-self: flex-end;
  min-width: 88px;
  padding: 6px 14px 8px;
  text-align: center;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.master-search-total-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}
.master-search-total-label {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.master-search-label {
  flex: 1 1 280px;
  margin: 0;
  display: grid;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.master-search-input-field {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 11px 40px 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 0.95rem;
  text-transform: uppercase;
  background:
    var(--cream)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a8863a' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E")
    no-repeat right 14px center;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
  min-height: 44px;
  -webkit-appearance: none;
  appearance: none;
}
.master-search-input-field::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}
.master-search-input-field::placeholder {
  color: #94a3b8;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.9rem;
}
.master-search-input-field:focus {
  outline: none;
  border-color: var(--gold);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.18);
}
.master-search-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.master-search-btn {
  min-height: 44px;
  padding: 11px 20px;
}
.master-search-meta {
  flex: 1 1 100%;
  margin: 0;
  font-size: 0.82rem;
}
@media (max-width: 720px) {
  .master-search-total {
    margin-left: 0;
    width: 100%;
  }
}
.master-table-wrap {
  padding: 0 18px 18px;
}
.master-table .row-inactive { opacity: 0.55; }
.inline-del { display: inline; }
.btn-del {
  padding: 5px 10px;
  border: none;
  border-radius: 6px;
  background: #fee2e2;
  color: #991b1b;
  cursor: pointer;
  font-size: 0.82rem;
}

.withdrawal-banner {
  margin: 0 24px 16px;
  border: 1px solid #fecaca;
  border-left: 4px solid #dc2626;
  background: #fff7f7;
  color: #7f1d1d;
}
.withdrawal-banner strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.withdrawal-banner p {
  margin: 0 0 6px;
  font-size: 0.84rem;
  line-height: 1.45;
}
.withdrawal-meta {
  font-weight: 700;
  color: #991b1b;
}
.withdrawal-detail {
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #fecaca;
}
.withdrawal-note {
  font-size: 0.78rem;
  color: #b91c1c;
}

.withdraw-modal .withdraw-card {
  max-width: 520px;
}
.withdraw-intro {
  margin: 0 0 14px;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.45;
}
.withdraw-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.withdraw-field select,
.withdraw-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: #fff;
}
.withdraw-field textarea {
  resize: vertical;
  min-height: 96px;
}
.btn-withdraw-submit {
  background: linear-gradient(135deg, #991b1b, #dc2626) !important;
  border-color: #fecaca !important;
}

.btn-cabut-berkas {
  border-color: rgba(234, 88, 12, 0.45);
  color: #9a3412;
  background: rgba(255, 237, 213, 0.65);
}

.btn-cabut-berkas:hover {
  border-color: rgba(234, 88, 12, 0.75);
  background: rgba(255, 237, 213, 0.95);
}

.btn-cabut-berkas-submit {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
  border-color: #c2410c !important;
}

.cabut-berkas-card {
  border-top: 4px solid #ea580c;
}

.abk-inactive-filters-grid {
  grid-template-columns: minmax(180px, 1.4fr) minmax(200px, 1fr);
}
.inactive-count {
  padding: 0 18px 10px;
  margin: 0;
}
.inactive-table .row-inactive {
  background: #fffafa;
}
.inactive-name-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.inactive-name-block strong {
  font-size: 0.88rem;
}
.inactive-nik {
  font-size: 0.72rem;
  color: var(--muted);
}
.withdrawal-reason-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
}
.col-withdraw-detail {
  max-width: 280px;
  font-size: 0.78rem;
  line-height: 1.35;
  word-break: break-word;
}
.col-withdraw-reason {
  min-width: 160px;
}
.col-withdraw-by {
  min-width: 90px;
  font-size: 0.78rem;
}

/* —— Alur Status ABK —— */
.crew-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid transparent;
  white-space: nowrap;
}
.crew-status-badge.tone-slate { background: #e2e8f0; color: #334155; border-color: #cbd5e1; }
.crew-status-badge.tone-amber { background: #fef3c7; color: #92400e; border-color: #fde68a; }
.crew-status-badge.tone-sky { background: #e0f2fe; color: #075985; border-color: #bae6fd; }
.crew-status-badge.tone-green { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.crew-status-badge.tone-lime { background: #ecfccb; color: #3f6212; border-color: #d9f99d; }
.crew-status-badge.tone-teal { background: #ccfbf1; color: #115e59; border-color: #99f6e4; }
.crew-status-badge.tone-indigo { background: #e0e7ff; color: #3730a3; border-color: #c7d2fe; }
.crew-status-badge.tone-violet { background: #ede9fe; color: #5b21b6; border-color: #ddd6fe; }
.crew-status-badge.tone-navy { background: #dbeafe; color: #1e3a8a; border-color: #bfdbfe; }
.crew-status-badge.tone-orange { background: #ffedd5; color: #9a3412; border-color: #fed7aa; }
.crew-status-badge.tone-red { background: #fee2e2; color: #991b1b; border-color: #fecaca; }
.crew-status-badge.tone-cyan { background: #cffafe; color: #155e75; border-color: #a5f3fc; }

.col-status { width: 8%; min-width: 0; }

@media (max-width: 900px) {
  .panel-table-fit .table-scroll { overflow-x: auto; }
  .abk-table-compact { min-width: 720px; }
}

.crew-status-panel {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff 0%, #faf8f5 100%);
  box-shadow: var(--shadow-sm);
}
.crew-status-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.crew-status-current {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0.35rem 0;
}
.crew-status-pct-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 6px 12px;
  border-radius: 12px;
  border: 2px solid transparent;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  line-height: 1.1;
  text-align: center;
}
.crew-status-pct-value {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.crew-status-pct-sub {
  margin-top: 2px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.92;
}
.crew-status-pct-badge.tone-low {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border-color: #fecaca;
  color: #fff;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.35);
}
.crew-status-pct-badge.tone-mid {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  border-color: #fed7aa;
  color: #fff;
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.35);
}
.crew-status-pct-badge.tone-high {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-color: #bfdbfe;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}
.crew-status-pct-badge.tone-full {
  background: linear-gradient(135deg, #16a34a, #15803d);
  border-color: #bbf7d0;
  color: #fff;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.35);
}
.crew-status-pct-badge.tone-warn {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-color: #fde68a;
  color: #fff;
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.32);
}
.crew-status-hint { margin: 0.25rem 0 0; font-size: 0.82rem; }
.crew-status-meta { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.78rem; color: var(--muted); text-align: right; }
.crew-status-progress { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.75rem; }
.crew-status-progress-track { flex: 1; height: 8px; border-radius: 999px; background: #e8e4dc; overflow: hidden; }
.crew-status-progress-fill { height: 100%; background: linear-gradient(90deg, #c9a962, #2e7d32); border-radius: inherit; }
.crew-status-progress-label { font-size: 0.75rem; color: var(--muted); white-space: nowrap; }
.crew-status-doc-block { margin-bottom: 0.85rem; }
.crew-status-doc-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 6px 10px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}
.crew-status-doc-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 8px;
  font-size: 0.78rem;
  border: 1px solid var(--line-soft);
  background: #fff;
}
.crew-status-doc-item.is-done {
  border-color: rgba(46, 125, 50, 0.25);
  background: rgba(220, 252, 231, 0.45);
}
.crew-status-doc-item.is-missing {
  border-color: rgba(198, 40, 40, 0.18);
  background: rgba(254, 242, 242, 0.55);
}
.crew-status-doc-icon {
  flex: 0 0 auto;
  width: 16px;
  text-align: center;
  font-weight: 700;
  font-size: 0.82rem;
}
.crew-status-doc-item.is-done .crew-status-doc-icon { color: #166534; }
.crew-status-doc-item.is-missing .crew-status-doc-icon { color: #b45309; }
.crew-status-doc-link {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.25;
}
.crew-status-doc-link:hover {
  color: var(--navy);
  text-decoration: underline;
}
.crew-status-doc-summary {
  display: grid;
  gap: 4px;
  font-size: 0.78rem;
  line-height: 1.4;
}
.crew-status-doc-done { margin: 0; color: #166534; }
.crew-status-doc-missing { margin: 0; color: #b45309; }
.crew-status-doc-summary strong { font-weight: 700; }
.crew-status-catatan { margin: 0 0 0.75rem; font-size: 0.82rem; }
.crew-status-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.crew-status-form.crew-status-form-nav {
  grid-template-columns: 1fr;
}
.crew-status-form.crew-status-form-nav label.full {
  grid-column: 1 / -1;
}
.crew-status-form.crew-status-form-nav .crew-status-actions {
  grid-column: 1 / -1;
  order: 2;
  margin-bottom: 4px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: stretch;
}
.crew-status-form-nav .crew-status-btn-prev,
.crew-status-form-nav .crew-status-btn-next {
  width: auto !important;
  min-width: 118px;
  max-width: min(100%, 200px);
  flex: 1 1 140px;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.2s, border-color 0.2s;
}
.crew-status-btn-line {
  display: block;
  width: 100%;
}
.crew-status-btn-line-main {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.crew-status-btn-line-target {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  opacity: 0.95;
}
.crew-status-form-nav .crew-status-btn-prev {
  border: 1px solid rgba(100, 116, 139, 0.35) !important;
  background: #f8fafc !important;
  color: var(--navy) !important;
}
.crew-status-form-nav .crew-status-btn-prev:hover {
  border-color: rgba(100, 116, 139, 0.55) !important;
  background: #f1f5f9 !important;
}
.crew-status-form-nav .crew-status-btn-next {
  border: 1px solid rgba(201, 169, 98, 0.45) !important;
  background: linear-gradient(135deg, var(--navy-soft) 0%, var(--navy) 100%) !important;
  color: #fff !important;
}
.crew-status-form-nav .crew-status-btn-next:hover {
  transform: translateY(-1px);
  border-color: var(--gold) !important;
  box-shadow: var(--shadow-md);
}
.crew-status-form.crew-status-form-nav .crew-status-force {
  order: 1;
}
.crew-status-form.crew-status-form-nav .crew-status-catatan-field {
  order: 3;
}
.crew-status-form.crew-status-form-nav .crew-status-catatan-error {
  order: 4;
}
.crew-status-form.crew-status-form-nav .crew-status-form-hint,
.crew-status-form.crew-status-form-nav .crew-status-syarat-hint {
  order: 5;
}
.crew-status-form.crew-status-form-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.crew-status-form-current {
  margin: 0 0 12px;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.crew-status-form label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.78rem; font-weight: 600; }
.crew-status-form select,
.crew-status-form textarea { font-size: 0.85rem; }
.crew-status-form textarea { grid-column: 1 / -1; min-height: 64px; resize: vertical; }
.crew-status-force { grid-column: 1 / -1; flex-direction: row !important; align-items: center; gap: 0.45rem !important; font-weight: 500 !important; }
.crew-status-actions { grid-column: 1 / -1; display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* —— Alur Status ABK — tampilan luxe —— */
.crew-status-panel-lux {
  position: relative;
  margin: 0 0 1.5rem;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 98, 0.22);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.65) inset;
}
.crew-status-panel-lux::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), var(--gold-light), var(--gold-dark), transparent);
  z-index: 1;
}
.crew-status-banner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  padding: 22px 26px 20px;
  background:
    radial-gradient(ellipse 80% 120% at 100% 0%, rgba(201, 169, 98, 0.12), transparent 55%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 72%, #1a2744 100%);
  border-bottom: 2px solid var(--gold);
  color: #fff;
}
.crew-status-eyebrow {
  margin: 0 0 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.crew-status-panel-lux .crew-status-current {
  gap: 12px;
  margin: 0 0 8px;
}
.crew-status-panel-lux .crew-status-badge {
  padding: 0.35rem 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.crew-status-panel-lux .crew-status-hint {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  line-height: 1.45;
}
.crew-status-hint-note {
  margin-top: 6px !important;
  font-size: 0.78rem !important;
  color: rgba(232, 213, 163, 0.9) !important;
}
.crew-status-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.crew-status-meta-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(201, 169, 98, 0.28);
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  backdrop-filter: blur(4px);
}
.crew-status-meta-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.crew-status-panel-lux .crew-status-pct-badge {
  min-width: 78px;
  padding: 8px 14px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}
.crew-status-panel-lux .crew-status-pct-value {
  font-size: 1.45rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.crew-status-panel-lux .crew-status-pct-badge.tone-high {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 45%, #c9a962 140%);
  border-color: rgba(232, 213, 163, 0.55);
}
.crew-status-body {
  padding: 20px 26px 4px;
}
.crew-status-panel-lux .crew-status-doc-block {
  margin: 0;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid rgba(201, 169, 98, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 248, 245, 0.9) 100%);
  box-shadow: var(--shadow-sm);
}
.crew-status-doc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.crew-status-doc-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy);
}
.crew-status-panel-lux .crew-status-progress-label {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
  background: rgba(201, 169, 98, 0.15);
  border: 1px solid rgba(201, 169, 98, 0.28);
}
.crew-status-panel-lux .crew-status-progress {
  gap: 12px;
  margin-bottom: 14px;
}
.crew-status-panel-lux .crew-status-progress-track {
  height: 12px;
  background: rgba(15, 23, 41, 0.08);
  border: 1px solid rgba(201, 169, 98, 0.15);
  box-shadow: inset 0 1px 3px rgba(15, 23, 41, 0.06);
}
.crew-status-panel-lux .crew-status-progress-fill {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), #16a34a);
  box-shadow: 0 0 12px rgba(201, 169, 98, 0.35);
}
.crew-status-progress-pct {
  min-width: 42px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--gold-dark);
  font-variant-numeric: tabular-nums;
}
.crew-status-panel-lux .crew-status-doc-list {
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.crew-status-panel-lux .crew-status-doc-item {
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.crew-status-panel-lux .crew-status-doc-item:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.crew-status-panel-lux .crew-status-doc-item.is-done {
  border-color: rgba(22, 101, 52, 0.28);
  background: linear-gradient(180deg, #f0fdf4, #dcfce7);
}
.crew-status-panel-lux .crew-status-doc-item.is-missing {
  border-color: rgba(220, 38, 38, 0.22);
  background: linear-gradient(180deg, #fff7ed, #ffedd5);
}
.crew-status-panel-lux .crew-status-doc-item.is-missing .crew-status-doc-link {
  color: #9a3412;
}
.crew-status-panel-lux .crew-status-doc-summary {
  padding-top: 12px;
  border-top: 1px dashed rgba(201, 169, 98, 0.35);
  gap: 6px;
}
.crew-status-panel-lux .crew-status-doc-done,
.crew-status-panel-lux .crew-status-doc-missing {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.76rem;
}
.crew-status-panel-lux .crew-status-doc-done {
  background: rgba(220, 252, 231, 0.55);
  border: 1px solid rgba(22, 101, 52, 0.15);
}
.crew-status-panel-lux .crew-status-doc-missing {
  background: rgba(255, 237, 213, 0.55);
  border: 1px solid rgba(234, 88, 12, 0.18);
}
.crew-status-panel-lux .crew-status-catatan {
  margin: 0;
  padding: 12px 26px;
  font-size: 0.82rem;
  background: rgba(201, 169, 98, 0.08);
  border-top: 1px solid rgba(201, 169, 98, 0.15);
  border-bottom: 1px solid rgba(201, 169, 98, 0.15);
}
.crew-status-form-section {
  padding: 20px 26px 24px;
  background: linear-gradient(180deg, #fff, rgba(250, 248, 245, 0.6));
}
.crew-status-form-eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.crew-status-form-lux label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.crew-status-form-lux select,
.crew-status-form-lux textarea {
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 41, 0.1);
  background: #fff;
  box-shadow: inset 0 1px 3px rgba(15, 23, 41, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.crew-status-form-lux select:focus,
.crew-status-form-lux textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.14);
}
.crew-status-form-lux .crew-status-actions {
  gap: 10px;
  padding-top: 4px;
}
.crew-status-btn-next {
  padding: 11px 18px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(201, 169, 98, 0.45) !important;
  background: #fff !important;
  font-weight: 600 !important;
  box-shadow: var(--shadow-sm);
}
.crew-status-btn-next:hover {
  border-color: var(--gold) !important;
  color: var(--gold-dark) !important;
}
.crew-status-btn-save {
  padding: 11px 22px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, var(--navy-soft), var(--navy)) !important;
  border: 1px solid rgba(201, 169, 98, 0.3) !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 14px rgba(15, 23, 41, 0.2);
}
.crew-status-btn-save:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15, 23, 41, 0.25);
}
.crew-status-btn-prev {
  padding: 11px 18px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(100, 116, 139, 0.35) !important;
  background: #f8fafc !important;
  color: var(--navy) !important;
  font-weight: 600 !important;
}
.crew-status-btn-prev:hover {
  border-color: rgba(100, 116, 139, 0.55) !important;
  background: #f1f5f9 !important;
}
.crew-status-form-hint {
  grid-column: 1 / -1;
  margin: 0;
}
.crew-status-syarat-hint {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(132, 204, 22, 0.1);
  border: 1px solid rgba(132, 204, 22, 0.28);
  color: #3f6212;
  line-height: 1.45;
}
.crew-status-catatan-field.is-error textarea,
.crew-status-catatan-syarat.is-error textarea {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
}
.crew-status-catatan-syarat textarea {
  border-color: rgba(132, 204, 22, 0.45);
  background: rgba(247, 254, 231, 0.5);
}
.crew-status-catatan-error {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: #b91c1c;
  font-size: 0.84rem;
  line-height: 1.4;
}
.crew-status-history {
  padding: 14px 22px 18px;
  border-top: 1px solid rgba(201, 169, 98, 0.12);
  background: rgba(250, 248, 245, 0.5);
}
.crew-status-history-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.crew-status-history-item {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
}
.crew-status-history-move {
  display: block;
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--navy);
}
.crew-status-history-meta {
  display: block;
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 2px;
}
.crew-status-history-catatan {
  margin: 6px 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ink);
}

@media (max-width: 760px) {
  .crew-status-banner {
    padding: 18px 16px 16px;
  }
  .crew-status-body,
  .crew-status-form-section {
    padding-left: 16px;
    padding-right: 16px;
  }
  .crew-status-meta {
    align-items: flex-start;
    width: 100%;
  }
  .crew-status-meta-chip {
    align-items: flex-start;
  }
}

.status-board-panel .status-board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}
.status-board-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.status-board-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.status-board-card-order { font-size: 0.72rem; font-weight: 700; color: var(--muted); }
.status-board-card-label { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.status-board-card-count { font-size: 1.35rem; font-weight: 800; color: var(--navy-soft); }
.status-board-card-hint { font-size: 0.72rem; color: var(--muted); line-height: 1.35; }
.status-board-card.tone-slate { border-left: 4px solid #64748b; }
.status-board-card.tone-amber { border-left: 4px solid #d97706; }
.status-board-card.tone-sky { border-left: 4px solid #0284c7; }
.status-board-card.tone-green { border-left: 4px solid #16a34a; }
.status-board-card.tone-lime { border-left: 4px solid #65a30d; }
.status-board-card.tone-teal { border-left: 4px solid #0d9488; }
.status-board-card.tone-indigo { border-left: 4px solid #4f46e5; }
.status-board-card.tone-violet { border-left: 4px solid #7c3aed; }
.status-board-card.tone-navy { border-left: 4px solid #1e3a8a; }
.status-board-card.tone-orange { border-left: 4px solid #ea580c; }
.status-board-card.tone-red { border-left: 4px solid #dc2626; }
.status-board-search { display: flex; gap: 0.65rem; align-items: end; margin-top: 0.75rem; }
.status-board-archive { margin-top: 1.5rem; }
.status-board-archive h2 { margin: 0 0 0.65rem; font-family: var(--font-display); color: var(--navy); }
.status-board-archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.75rem; }

/* —— Dashboard Status ABK (index) —— */
.abk-status-dashboard {
  padding: 14px 16px 12px;
  border-bottom: 1px solid rgba(201, 169, 98, 0.2);
  background:
    radial-gradient(ellipse 80% 100% at 100% 0%, rgba(201, 169, 98, 0.14), transparent 52%),
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(15, 23, 41, 0.05), transparent 50%),
    linear-gradient(180deg, #f7f3eb 0%, #fff 42%, #faf8f5 100%);
  position: relative;
  overflow: visible;
}
.abk-status-dashboard::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold-dark) 12%, var(--gold-light) 50%, var(--gold-dark) 88%, transparent 100%);
  pointer-events: none;
}
.abk-status-dashboard::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 169, 98, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 169, 98, 0.03) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
  opacity: 0.45;
}
.abk-status-dashboard-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.abk-status-dashboard-eyebrow {
  display: block;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.abk-status-dashboard-title {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy);
  line-height: 1.1;
}
.abk-status-dashboard-sub {
  margin: 0;
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.abk-status-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 7px;
  position: relative;
  z-index: 1;
}
.abk-status-dash-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-height: 78px;
  min-width: 0;
  padding: 9px 9px 7px;
  border-radius: 10px;
  border: 1px solid rgba(201, 169, 98, 0.32);
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(255, 255, 255, 0.95), transparent 70%),
    linear-gradient(168deg, #fffefb 0%, #f9f5ed 48%, #f3ece0 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 0 0 1px rgba(255, 255, 255, 0.5) inset,
    0 4px 14px rgba(15, 23, 41, 0.08),
    0 1px 3px rgba(201, 169, 98, 0.12);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition:
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.abk-status-dash-card-frame {
  position: absolute;
  inset: 3px;
  border-radius: 7px;
  border: 1px solid rgba(201, 169, 98, 0.14);
  pointer-events: none;
  transition: border-color 0.2s ease;
}
.abk-status-dash-card-gem {
  position: absolute;
  top: 0;
  right: 0;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, rgba(232, 213, 163, 0.55) 0%, rgba(201, 169, 98, 0.15) 100%);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  pointer-events: none;
  opacity: 0.85;
}
.abk-status-dash-card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg, transparent 42%, rgba(255, 255, 255, 0.65) 50%, transparent 58%);
  transform: translateX(-130%);
  transition: transform 0.5s ease;
  pointer-events: none;
}
.abk-status-dash-card-top {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 4px;
}
.abk-status-dash-card:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(201, 169, 98, 0.55);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.98) inset,
    0 0 0 1px rgba(201, 169, 98, 0.2),
    0 8px 22px rgba(15, 23, 41, 0.12),
    0 0 16px rgba(201, 169, 98, 0.15);
}
.abk-status-dash-card:hover .abk-status-dash-card-frame {
  border-color: rgba(201, 169, 98, 0.28);
}
.abk-status-dash-card:hover .abk-status-dash-card-shine {
  transform: translateX(130%);
}
.abk-status-dash-card.is-active {
  border-color: var(--gold);
  background:
    radial-gradient(ellipse 100% 90% at 50% 0%, rgba(201, 169, 98, 0.22), transparent 62%),
    linear-gradient(168deg, #121a2e 0%, var(--navy) 45%, #1a2744 100%);
  box-shadow:
    0 0 0 1px rgba(232, 213, 163, 0.35),
    0 0 20px rgba(201, 169, 98, 0.2),
    0 8px 24px rgba(15, 23, 41, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.abk-status-dash-card.is-active .abk-status-dash-card-frame {
  border-color: rgba(232, 213, 163, 0.22);
}
.abk-status-dash-card.is-active .abk-status-dash-card-gem {
  background: linear-gradient(135deg, rgba(232, 213, 163, 0.75) 0%, rgba(201, 169, 98, 0.35) 100%);
}
.abk-status-dash-card.is-active .abk-status-dash-card-label {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.abk-status-dash-card.is-active .abk-status-dash-card-unit {
  color: rgba(232, 213, 163, 0.75);
}
.abk-status-dash-card.is-active .abk-status-dash-card-count {
  background: linear-gradient(135deg, #fff8e7 0%, var(--gold-light) 35%, var(--gold) 70%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}
.abk-status-dash-card.is-active .abk-status-dash-card-order {
  background: rgba(201, 169, 98, 0.18);
  border-color: rgba(232, 213, 163, 0.4);
  color: var(--gold-light);
}
.abk-status-dash-card-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--gold-dark);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(243, 236, 224, 0.95) 100%);
  border: 1px solid rgba(201, 169, 98, 0.35);
  box-shadow: 0 1px 2px rgba(15, 23, 41, 0.06);
}
.abk-status-dash-card-order-all {
  font-size: 0.58rem;
  font-weight: 700;
}
.abk-status-dash-card-label {
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  letter-spacing: 0.01em;
  text-transform: none;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  max-width: 100%;
  min-height: 2.05em;
  margin-bottom: 5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.abk-status-dash-card-foot {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-top: auto;
  padding-top: 1px;
  border-top: 1px solid rgba(201, 169, 98, 0.16);
}
.abk-status-dash-card.is-active .abk-status-dash-card-foot {
  border-top-color: rgba(232, 213, 163, 0.2);
}
.abk-status-dash-card-count {
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
}
.abk-status-dash-card-unit {
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-dark);
  opacity: 0.9;
}
.abk-status-dash-card.is-total {
  background:
    radial-gradient(ellipse 100% 80% at 0% 0%, rgba(201, 169, 98, 0.2), transparent 58%),
    linear-gradient(168deg, #fffefb 0%, #f6f0e4 100%);
}
.abk-status-dash-card.is-total.is-active {
  background:
    radial-gradient(ellipse 100% 90% at 0% 0%, rgba(201, 169, 98, 0.28), transparent 55%),
    linear-gradient(168deg, #121a2e 0%, var(--navy) 100%);
}
/* Soft color-fill per tone — lebih terbaca di pipeline, tetap mewah */
.abk-status-dash-card.tone-slate,
.abk-status-dash-card.tone-amber,
.abk-status-dash-card.tone-sky,
.abk-status-dash-card.tone-green,
.abk-status-dash-card.tone-lime,
.abk-status-dash-card.tone-teal,
.abk-status-dash-card.tone-indigo,
.abk-status-dash-card.tone-violet,
.abk-status-dash-card.tone-navy,
.abk-status-dash-card.tone-gold,
.abk-status-dash-card.tone-cyan,
.abk-status-dash-card.tone-orange,
.abk-status-dash-card.tone-red {
  border-color: color-mix(in srgb, var(--dash-tone) 35%, rgba(15, 23, 41, 0.08));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--dash-tone) 18%, #fff) 0%, color-mix(in srgb, var(--dash-tone) 8%, #fff) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 3px 12px color-mix(in srgb, var(--dash-tone) 18%, transparent);
}

.abk-status-dash-card.tone-slate::before,
.abk-status-dash-card.tone-amber::before,
.abk-status-dash-card.tone-sky::before,
.abk-status-dash-card.tone-green::before,
.abk-status-dash-card.tone-lime::before,
.abk-status-dash-card.tone-teal::before,
.abk-status-dash-card.tone-indigo::before,
.abk-status-dash-card.tone-violet::before,
.abk-status-dash-card.tone-navy::before,
.abk-status-dash-card.tone-gold::before,
.abk-status-dash-card.tone-cyan::before,
.abk-status-dash-card.tone-orange::before,
.abk-status-dash-card.tone-red::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 10px 0 0 10px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--dash-tone) 85%, #fff), var(--dash-tone));
  pointer-events: none;
}

.abk-status-dash-card.tone-slate { --dash-tone: #64748b; }
.abk-status-dash-card.tone-amber { --dash-tone: #d97706; }
.abk-status-dash-card.tone-sky { --dash-tone: #0284c7; }
.abk-status-dash-card.tone-green { --dash-tone: #16a34a; }
.abk-status-dash-card.tone-lime { --dash-tone: #65a30d; }
.abk-status-dash-card.tone-teal { --dash-tone: #0f766e; }
.abk-status-dash-card.tone-indigo { --dash-tone: #4f46e5; }
.abk-status-dash-card.tone-violet { --dash-tone: #7c3aed; }
.abk-status-dash-card.tone-navy { --dash-tone: #1d4ed8; }
.abk-status-dash-card.tone-gold { --dash-tone: #b8963e; }
.abk-status-dash-card.tone-cyan { --dash-tone: #0891b2; }
.abk-status-dash-card.tone-orange { --dash-tone: #ea580c; }
.abk-status-dash-card.tone-red { --dash-tone: #dc2626; }

.abk-status-dash-card.tone-slate .abk-status-dash-card-order,
.abk-status-dash-card.tone-amber .abk-status-dash-card-order,
.abk-status-dash-card.tone-sky .abk-status-dash-card-order,
.abk-status-dash-card.tone-green .abk-status-dash-card-order,
.abk-status-dash-card.tone-lime .abk-status-dash-card-order,
.abk-status-dash-card.tone-teal .abk-status-dash-card-order,
.abk-status-dash-card.tone-indigo .abk-status-dash-card-order,
.abk-status-dash-card.tone-violet .abk-status-dash-card-order,
.abk-status-dash-card.tone-navy .abk-status-dash-card-order,
.abk-status-dash-card.tone-gold .abk-status-dash-card-order,
.abk-status-dash-card.tone-cyan .abk-status-dash-card-order,
.abk-status-dash-card.tone-orange .abk-status-dash-card-order,
.abk-status-dash-card.tone-red .abk-status-dash-card-order {
  color: color-mix(in srgb, var(--dash-tone) 80%, #0f172a);
  border-color: color-mix(in srgb, var(--dash-tone) 40%, transparent);
  background: color-mix(in srgb, var(--dash-tone) 14%, #fff);
}

.abk-status-dash-card.tone-slate .abk-status-dash-card-count,
.abk-status-dash-card.tone-amber .abk-status-dash-card-count,
.abk-status-dash-card.tone-sky .abk-status-dash-card-count,
.abk-status-dash-card.tone-green .abk-status-dash-card-count,
.abk-status-dash-card.tone-lime .abk-status-dash-card-count,
.abk-status-dash-card.tone-teal .abk-status-dash-card-count,
.abk-status-dash-card.tone-indigo .abk-status-dash-card-count,
.abk-status-dash-card.tone-violet .abk-status-dash-card-count,
.abk-status-dash-card.tone-navy .abk-status-dash-card-count,
.abk-status-dash-card.tone-gold .abk-status-dash-card-count,
.abk-status-dash-card.tone-cyan .abk-status-dash-card-count,
.abk-status-dash-card.tone-orange .abk-status-dash-card-count,
.abk-status-dash-card.tone-red .abk-status-dash-card-count {
  color: color-mix(in srgb, var(--dash-tone) 72%, #0f172a);
}

.abk-status-dash-card.tone-slate .abk-status-dash-card-unit,
.abk-status-dash-card.tone-amber .abk-status-dash-card-unit,
.abk-status-dash-card.tone-sky .abk-status-dash-card-unit,
.abk-status-dash-card.tone-green .abk-status-dash-card-unit,
.abk-status-dash-card.tone-lime .abk-status-dash-card-unit,
.abk-status-dash-card.tone-teal .abk-status-dash-card-unit,
.abk-status-dash-card.tone-indigo .abk-status-dash-card-unit,
.abk-status-dash-card.tone-violet .abk-status-dash-card-unit,
.abk-status-dash-card.tone-navy .abk-status-dash-card-unit,
.abk-status-dash-card.tone-gold .abk-status-dash-card-unit,
.abk-status-dash-card.tone-cyan .abk-status-dash-card-unit,
.abk-status-dash-card.tone-orange .abk-status-dash-card-unit,
.abk-status-dash-card.tone-red .abk-status-dash-card-unit {
  color: color-mix(in srgb, var(--dash-tone) 65%, #64748b);
}

.abk-status-dash-card.tone-slate .abk-status-dash-card-foot,
.abk-status-dash-card.tone-amber .abk-status-dash-card-foot,
.abk-status-dash-card.tone-sky .abk-status-dash-card-foot,
.abk-status-dash-card.tone-green .abk-status-dash-card-foot,
.abk-status-dash-card.tone-lime .abk-status-dash-card-foot,
.abk-status-dash-card.tone-teal .abk-status-dash-card-foot,
.abk-status-dash-card.tone-indigo .abk-status-dash-card-foot,
.abk-status-dash-card.tone-violet .abk-status-dash-card-foot,
.abk-status-dash-card.tone-navy .abk-status-dash-card-foot,
.abk-status-dash-card.tone-gold .abk-status-dash-card-foot,
.abk-status-dash-card.tone-cyan .abk-status-dash-card-foot,
.abk-status-dash-card.tone-orange .abk-status-dash-card-foot,
.abk-status-dash-card.tone-red .abk-status-dash-card-foot {
  border-top-color: color-mix(in srgb, var(--dash-tone) 28%, transparent);
}

.abk-status-dash-card.tone-slate .abk-status-dash-card-gem,
.abk-status-dash-card.tone-amber .abk-status-dash-card-gem,
.abk-status-dash-card.tone-sky .abk-status-dash-card-gem,
.abk-status-dash-card.tone-green .abk-status-dash-card-gem,
.abk-status-dash-card.tone-lime .abk-status-dash-card-gem,
.abk-status-dash-card.tone-teal .abk-status-dash-card-gem,
.abk-status-dash-card.tone-indigo .abk-status-dash-card-gem,
.abk-status-dash-card.tone-violet .abk-status-dash-card-gem,
.abk-status-dash-card.tone-navy .abk-status-dash-card-gem,
.abk-status-dash-card.tone-gold .abk-status-dash-card-gem,
.abk-status-dash-card.tone-cyan .abk-status-dash-card-gem,
.abk-status-dash-card.tone-orange .abk-status-dash-card-gem,
.abk-status-dash-card.tone-red .abk-status-dash-card-gem {
  background: linear-gradient(135deg, color-mix(in srgb, var(--dash-tone) 55%, #fff) 0%, color-mix(in srgb, var(--dash-tone) 20%, transparent) 100%);
}

/* Kartu aktif: tetap navy/gold (di atas soft fill) */
.abk-status-dash-card.is-active {
  --dash-tone: var(--gold);
  border-color: var(--gold) !important;
  background:
    radial-gradient(ellipse 100% 90% at 50% 0%, rgba(201, 169, 98, 0.22), transparent 62%),
    linear-gradient(168deg, #121a2e 0%, var(--navy) 45%, #1a2744 100%) !important;
  box-shadow:
    0 0 0 1px rgba(232, 213, 163, 0.35),
    0 0 20px rgba(201, 169, 98, 0.2),
    0 8px 24px rgba(15, 23, 41, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

.abk-status-dash-card.is-active::before {
  background: linear-gradient(180deg, var(--gold-light), var(--gold-dark)) !important;
  opacity: 1;
}

.abk-status-dash-card.is-active .abk-status-dash-card-count {
  background: linear-gradient(135deg, #fff8e7 0%, var(--gold-light) 35%, var(--gold) 70%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.abk-status-dash-card.is-active .abk-status-dash-card-unit {
  color: rgba(232, 213, 163, 0.75) !important;
}

.abk-status-dash-card.is-active .abk-status-dash-card-order {
  color: var(--gold-light) !important;
  border-color: rgba(232, 213, 163, 0.4) !important;
  background: rgba(201, 169, 98, 0.18) !important;
}

/* Fallback browsers tanpa color-mix */
@supports not (background: color-mix(in srgb, red 50%, white)) {
  .abk-status-dash-card.tone-slate { background: linear-gradient(180deg, #eef2f6, #f8fafc); border-color: #cbd5e1; }
  .abk-status-dash-card.tone-amber { background: linear-gradient(180deg, #fff7ed, #fffbeb); border-color: #fcd34d; }
  .abk-status-dash-card.tone-sky { background: linear-gradient(180deg, #e0f2fe, #f0f9ff); border-color: #7dd3fc; }
  .abk-status-dash-card.tone-green { background: linear-gradient(180deg, #dcfce7, #f0fdf4); border-color: #86efac; }
  .abk-status-dash-card.tone-lime { background: linear-gradient(180deg, #ecfccb, #f7fee7); border-color: #bef264; }
  .abk-status-dash-card.tone-teal { background: linear-gradient(180deg, #ccfbf1, #f0fdfa); border-color: #5eead4; }
  .abk-status-dash-card.tone-indigo { background: linear-gradient(180deg, #e0e7ff, #eef2ff); border-color: #a5b4fc; }
  .abk-status-dash-card.tone-violet { background: linear-gradient(180deg, #ede9fe, #f5f3ff); border-color: #c4b5fd; }
  .abk-status-dash-card.tone-navy { background: linear-gradient(180deg, #dbeafe, #eff6ff); border-color: #93c5fd; }
  .abk-status-dash-card.tone-gold { background: linear-gradient(180deg, #faf3e0, #fffdf7); border-color: #e8d5a3; }
  .abk-status-dash-card.tone-cyan { background: linear-gradient(180deg, #cffafe, #ecfeff); border-color: #67e8f9; }
  .abk-status-dash-card.tone-orange { background: linear-gradient(180deg, #ffedd5, #fff7ed); border-color: #fdba74; }
  .abk-status-dash-card.tone-red { background: linear-gradient(180deg, #fee2e2, #fef2f2); border-color: #fca5a5; }
  .abk-status-dash-card.tone-slate::before { background: #64748b; }
  .abk-status-dash-card.tone-amber::before { background: #d97706; }
  .abk-status-dash-card.tone-sky::before { background: #0284c7; }
  .abk-status-dash-card.tone-green::before { background: #16a34a; }
  .abk-status-dash-card.tone-lime::before { background: #65a30d; }
  .abk-status-dash-card.tone-teal::before { background: #0f766e; }
  .abk-status-dash-card.tone-indigo::before { background: #4f46e5; }
  .abk-status-dash-card.tone-violet::before { background: #7c3aed; }
  .abk-status-dash-card.tone-navy::before { background: #1d4ed8; }
  .abk-status-dash-card.tone-gold::before { background: #b8963e; }
  .abk-status-dash-card.tone-cyan::before { background: #0891b2; }
  .abk-status-dash-card.tone-orange::before { background: #ea580c; }
  .abk-status-dash-card.tone-red::before { background: #dc2626; }
}

.abk-status-dashboard-archive {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(201, 169, 98, 0.35);
  position: relative;
  z-index: 1;
}
.abk-status-dashboard-compact .abk-status-dashboard-cards-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  position: relative;
  z-index: 4;
  overflow: visible;
}
.abk-status-dashboard-compact .abk-status-dashboard-cards {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 7px;
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 2px;
}
.abk-status-dashboard-compact .abk-status-dash-card.is-compact {
  flex: 1 1 0;
  min-width: clamp(88px, 9vw, 124px);
  max-width: none;
  min-height: clamp(92px, 15cqi, 110px);
  padding: 11px 10px 9px;
  border-radius: 10px;
  container-type: inline-size;
  container-name: status-dash-card;
  justify-content: space-between;
}
.abk-status-dashboard-compact .abk-status-dash-card.is-compact .abk-status-dash-card-top {
  margin-bottom: 3px;
}
.abk-status-dashboard-compact .abk-status-dash-card.is-compact .abk-status-dash-card-order {
  width: clamp(16px, 3.4cqi, 20px);
  height: clamp(16px, 3.4cqi, 20px);
  font-size: clamp(0.52rem, 2.6cqi, 0.64rem);
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
}
.abk-status-dashboard-compact .abk-status-dash-card.is-compact .abk-status-dash-card-order-all {
  font-size: clamp(0.56rem, 2.8cqi, 0.68rem);
}
.abk-status-dashboard-compact .abk-status-dash-card.is-compact .abk-status-dash-card-label {
  flex: 1 1 auto;
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(0.78rem, 9.2cqi, 0.98rem);
  font-weight: 700;
  line-height: 1.2;
  min-height: 0;
  margin-bottom: 5px;
  letter-spacing: 0.01em;
  text-transform: none;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}
.abk-status-dashboard-compact .abk-status-dash-card.is-compact .abk-status-dash-card-foot {
  margin-top: auto;
  padding-top: 5px;
  gap: clamp(3px, 0.9cqi, 5px);
  flex-wrap: nowrap;
  min-width: 0;
}
.abk-status-dashboard-compact .abk-status-dash-card.is-compact .abk-status-dash-card-count {
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.05rem, 14cqi, 1.45rem);
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.abk-status-dashboard-compact .abk-status-dash-card.is-compact .abk-status-dash-card-unit {
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(0.58rem, 5cqi, 0.7rem);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.abk-status-dashboard-compact .abk-status-dash-card.is-compact .abk-status-dash-card-gem {
  width: 14px;
  height: 14px;
}
.abk-status-dashboard-compact .abk-status-dash-card.is-compact:hover {
  transform: translateY(-2px) scale(1.015);
}
.abk-status-dashboard-compact .abk-status-dash-card-archive {
  min-height: clamp(92px, 15cqi, 110px);
  max-width: none;
  flex: 1 1 0;
  min-width: clamp(84px, 8.5vw, 112px);
  border-style: dashed;
  border-color: rgba(201, 169, 98, 0.28);
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(255, 255, 255, 0.88), transparent 70%),
    linear-gradient(168deg, #faf8f4 0%, #f3eee4 100%);
}
.abk-status-dash-divider {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  min-width: 16px;
  margin: 0 1px;
  position: relative;
  align-self: stretch;
}
.abk-status-dash-divider::before {
  content: "";
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  border-left: 1px dashed rgba(201, 169, 98, 0.42);
}
.abk-status-dash-divider span {
  position: relative;
  z-index: 1;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.46rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  background: linear-gradient(180deg, #f7f3eb 0%, #fff 50%, #faf8f5 100%);
  padding: 4px 0;
  line-height: 1;
}

/* —— Quick nav icons (topbar — gaya Android) —— */
.abk-dash-quicknav {
  display: inline-flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 2px;
  flex: 0 0 auto;
}
.abk-dash-quicknav-topbar {
  --qn-gap: clamp(5px, 0.55vw, 12px);
  --qn-item-min: clamp(50px, 5.4vw, 92px);
  --qn-item-max: clamp(64px, 7vw, 112px);
  --qn-icon-w: clamp(44px, 4.6vw, 68px);
  --qn-icon-h: clamp(40px, 4.2vw, 62px);
  --qn-icon-radius: clamp(11px, 1vw, 16px);
  --qn-glyph: clamp(1.32rem, 1.75vw, 2.2rem);
  --qn-label: clamp(0.5rem, 0.62vw, 0.8rem);
  gap: var(--qn-gap);
  position: relative;
  z-index: 1;
  overflow: visible;
}
.abk-dash-quicknav-topbar .abk-quicknav-item,
.abk-dash-quicknav-topbar .abk-quicknav-item-btn,
.abk-dash-quicknav-topbar .abk-quicknav-dropdown {
  min-width: var(--qn-item-min);
  max-width: var(--qn-item-max);
  gap: clamp(3px, 0.35vw, 6px);
}
.abk-dash-quicknav-topbar .abk-quicknav-icon-box {
  width: var(--qn-icon-w);
  height: var(--qn-icon-h);
  border-radius: var(--qn-icon-radius);
}
.abk-dash-quicknav-topbar .abk-quicknav-glyph {
  font-size: var(--qn-glyph);
}
.abk-dash-quicknav-topbar .abk-quicknav-label {
  font-size: var(--qn-label);
}
.abk-quicknav-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  min-width: 54px;
  max-width: 76px;
  padding: 0 3px 1px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  transition: opacity 0.15s ease;
}
.abk-quicknav-item:hover,
.abk-quicknav-item:focus-visible {
  text-decoration: none;
  opacity: 0.95;
}
.abk-quicknav-item-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  min-width: 54px;
  max-width: 76px;
  padding: 0 3px 1px;
  margin: 0;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  flex-shrink: 0;
}
.abk-quicknav-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 36px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.15s, border-color 0.15s, transform 0.12s, box-shadow 0.15s;
}
.abk-quicknav-glyph {
  font-size: 1.3rem;
  line-height: 1;
}
.abk-quicknav-label {
  display: block;
  width: 100%;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-align: center;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.abk-quicknav-item-topbar:hover .abk-quicknav-icon-box,
.abk-quicknav-item-topbar:focus-visible .abk-quicknav-icon-box,
.abk-quicknav-item-btn-topbar:hover .abk-quicknav-icon-box,
.abk-quicknav-item-btn-topbar:focus-visible .abk-quicknav-icon-box {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(201, 169, 98, 0.45);
  transform: translateY(-1px);
}
.abk-quicknav-item-topbar:hover .abk-quicknav-label,
.abk-quicknav-item-topbar:focus-visible .abk-quicknav-label,
.abk-quicknav-item-btn-topbar:hover .abk-quicknav-label,
.abk-quicknav-item-btn-topbar:focus-visible .abk-quicknav-label {
  color: rgba(255, 255, 255, 0.92);
}
.abk-quicknav-item-topbar.is-active .abk-quicknav-icon-box,
.abk-quicknav-item-btn-topbar.is-active .abk-quicknav-icon-box,
.abk-quicknav-dropdown-topbar.is-active .abk-quicknav-icon-box {
  border-color: var(--gold);
  background: linear-gradient(168deg, rgba(201, 169, 98, 0.38), rgba(201, 169, 98, 0.12));
  box-shadow: 0 0 0 1px rgba(232, 213, 163, 0.22);
}
.abk-quicknav-item-topbar.is-active .abk-quicknav-label,
.abk-quicknav-item-btn-topbar.is-active .abk-quicknav-label,
.abk-quicknav-dropdown-topbar.is-active .abk-quicknav-label {
  color: var(--gold-light);
  font-weight: 800;
}
.abk-quicknav-dropdown {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}
.abk-quicknav-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 168px;
  padding: 6px;
  border-radius: 10px;
  border: 1px solid rgba(201, 169, 98, 0.28);
  background: linear-gradient(180deg, #fff 0%, var(--cream, #f7f3eb) 100%);
  box-shadow: 0 12px 28px rgba(15, 23, 41, 0.18);
  z-index: 130;
}
.abk-quicknav-dropdown:hover .abk-quicknav-menu,
.abk-quicknav-dropdown:focus-within .abk-quicknav-menu {
  display: block;
}
.abk-quicknav-menu-link {
  display: block;
  padding: 8px 10px;
  border-radius: 7px;
  color: var(--navy) !important;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}
.abk-quicknav-menu-link:hover {
  background: rgba(201, 169, 98, 0.14);
  text-decoration: none;
}
.abk-quicknav-menu-link.is-active {
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.22), rgba(201, 169, 98, 0.08));
  color: var(--gold-dark) !important;
}

@media (min-width: 901px) {
  .topbar-inner {
    flex-wrap: nowrap;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 14px;
  }

  .topbar-inner > .app-back-btn-topbar {
    grid-column: 1;
    grid-row: 1;
  }

  .topbar-inner > .app-back-btn-topbar + .topbar-brand-block {
    grid-column: 1;
  }

  .topbar-inner:not(:has(.app-back-btn-topbar)) > .topbar-brand-block {
    grid-column: 1;
  }

  .topbar-inner:has(.app-back-btn-topbar) {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
  }

  .topbar-inner:has(.app-back-btn-topbar) .topbar-brand-block {
    grid-column: 2;
  }

  .topbar-inner:has(.app-back-btn-topbar) .topbar-quicknav-wrap {
    grid-column: 3;
  }

  .topbar-inner:has(.app-back-btn-topbar) .topbar-right-lux {
    grid-column: 4;
  }

  .topbar-quicknav-wrap {
    grid-column: 2;
    grid-row: 1;
  }

  .topbar-right-lux {
    grid-column: 3;
    grid-row: 1;
    margin-left: 0;
    justify-content: flex-end;
  }
}

@media (min-width: 1440px) {
  .abk-dash-quicknav-topbar {
    --qn-gap: 12px;
    --qn-item-min: 92px;
    --qn-item-max: 112px;
    --qn-icon-w: 68px;
    --qn-icon-h: 62px;
    --qn-icon-radius: 16px;
    --qn-glyph: 2.2rem;
    --qn-label: 0.8rem;
  }
}

@media (max-width: 1100px) {
  .abk-dash-quicknav-topbar {
    --qn-gap: 5px;
    --qn-item-min: 54px;
    --qn-item-max: 72px;
    --qn-icon-w: 46px;
    --qn-icon-h: 42px;
    --qn-glyph: 1.45rem;
    --qn-label: 0.54rem;
  }
}

@media (max-width: 768px) {
  .topbar-inner {
    display: flex;
    flex-wrap: wrap;
  }
  .topbar-quicknav-wrap {
    flex: 1 1 100%;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding: 2px 0 4px;
  }

  .topbar-quicknav-wrap .abk-dash-quicknav-topbar {
    flex-wrap: nowrap;
    justify-content: flex-start;
    min-width: max-content;
  }

  .abk-dash-quicknav-topbar {
    --qn-gap: 4px;
    --qn-item-min: 48px;
    --qn-item-max: 58px;
    --qn-icon-w: 40px;
    --qn-icon-h: 36px;
    --qn-icon-radius: 10px;
    --qn-glyph: 1.22rem;
    --qn-label: 0.48rem;
  }
}

@media (max-width: 480px) {
  .abk-dash-quicknav-topbar {
    --qn-item-min: 44px;
    --qn-item-max: 52px;
    --qn-icon-w: 36px;
    --qn-icon-h: 32px;
    --qn-glyph: 1.08rem;
    --qn-label: 0.44rem;
  }
}

.topbar-right-lux {
  overflow: visible;
}
.topbar {
  overflow: visible;
}
.brand-lux-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  transition: opacity 0.15s;
}
.brand-lux-link:hover {
  text-decoration: none;
  opacity: 0.92;
}
.brand-lux-link:hover strong {
  color: var(--gold-light);
}
.brand-lux-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex-shrink: 0;
}
.brand-lux-text > .brand-lux-tagline,
.brand-lux-text > .brand-lux-licenses {
  display: block;
}
.topbar-logo-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 7px 11px;
  border-radius: 13px;
  background:
    radial-gradient(ellipse 120% 100% at 50% 0%, rgba(255, 255, 255, 1) 0%, rgba(252, 248, 240, 0.96) 55%, rgba(247, 241, 230, 0.94) 100%);
  border: 1px solid rgba(201, 169, 98, 0.58);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(201, 169, 98, 0.12),
    0 0 0 1px rgba(201, 169, 98, 0.1);
}
.topbar-logo,
.app-logo {
  object-fit: contain;
  width: auto;
  height: auto;
}
.topbar-logo {
  display: block;
  max-height: 68px;
  max-width: 148px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  flex-shrink: 0;
  box-shadow: none;
  filter: none;
}
.app-logo {
  border-radius: 8px;
  background: #fff;
  max-height: 52px;
  max-width: 130px;
  padding: 2px 4px;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(201, 169, 98, 0.28);
}
.auth-logo-img {
  object-fit: contain;
  display: block;
  width: min(100%, 300px);
  height: auto;
  max-height: 152px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: none;
}
@media (max-width: 480px) {
  .auth-brand-lockup {
    padding: 14px 20px 12px;
  }
  .auth-form-panel {
    padding: 0 20px 4px;
  }
  .auth-logo-caption {
    letter-spacing: 0.18em;
    font-size: 0.6rem;
  }
  .auth-caption-rule {
    flex-basis: 32px;
  }
  .auth-logo-img {
    max-height: 148px;
  }
}
.app-logo-fallback {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--navy-soft) 0%, var(--navy) 100%);
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.topbar-logo.app-logo-fallback {
  width: 56px;
  height: 56px;
  font-size: 0.92rem;
}

.abk-status-dashboard-archive-title {
  margin: 0 0 8px;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.abk-status-dashboard-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.abk-status-dash-card-archive {
  min-height: 72px;
  border-style: dashed;
  border-color: rgba(201, 169, 98, 0.28);
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(255, 255, 255, 0.88), transparent 70%),
    linear-gradient(168deg, #faf8f4 0%, #f3eee4 100%);
}
.abk-status-dash-card-order-archive {
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  opacity: 0.75;
}

@media (max-width: 1280px) {
  .abk-status-dashboard-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .abk-status-dashboard-compact .abk-status-dash-card.is-compact {
    min-width: clamp(64px, 7.5vw, 92px);
  }
  .abk-status-dashboard-compact .abk-status-dash-card.is-compact .abk-status-dash-card-label {
    font-size: clamp(0.54rem, 7cqi, 0.82rem);
  }
  .abk-status-dashboard-compact .abk-status-dash-card.is-compact .abk-status-dash-card-count {
    font-size: clamp(0.76rem, 11.5cqi, 1.18rem);
  }
}
@media (max-width: 720px) {
  .abk-status-dashboard {
    padding: 12px 12px 10px;
  }
  .abk-status-dashboard-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
  }
  .abk-status-dash-card {
    min-height: 74px;
    padding: 8px 7px 6px;
  }
  .abk-status-dashboard-compact .abk-status-dash-card.is-compact {
    min-width: clamp(58px, 18vw, 84px);
    min-height: clamp(72px, 22vw, 88px);
    padding: 8px 7px 7px;
  }
  .abk-status-dashboard-compact .abk-status-dash-card.is-compact .abk-status-dash-card-label {
    font-size: clamp(0.5rem, 6.2cqi, 0.72rem);
    letter-spacing: 0.02em;
  }
  .abk-status-dashboard-compact .abk-status-dash-card.is-compact .abk-status-dash-card-count {
    font-size: clamp(0.68rem, 10cqi, 1rem);
  }
  .abk-status-dashboard-compact .abk-status-dash-card.is-compact .abk-status-dash-card-unit {
    font-size: clamp(0.4rem, 3.6cqi, 0.5rem);
  }
  .abk-status-dash-card-label {
    font-size: 0.72rem;
    min-height: 1.95em;
  }
  .abk-status-dash-card-count {
    font-size: 0.95rem;
  }
  .abk-status-dashboard-archive-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .abk-status-dashboard-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .abk-status-dashboard-compact .abk-status-dash-card.is-compact {
    min-width: clamp(52px, 28vw, 76px);
  }
  .abk-status-dashboard-compact .abk-status-dash-card.is-compact .abk-status-dash-card-label {
    font-size: clamp(0.46rem, 5.5cqi, 0.64rem);
  }
  .abk-status-dashboard-compact .abk-status-dash-card.is-compact .abk-status-dash-card-count {
    font-size: clamp(0.62rem, 9cqi, 0.88rem);
  }
}

/* —— Database ABK — tampilan luxe —— */
.page-abk-index {
  animation: abkIndexFade 0.45s ease-out;
}
@keyframes abkIndexFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-abk-lux {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(201, 169, 98, 0.22);
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset,
    0 1px 0 rgba(201, 169, 98, 0.15);
  background: linear-gradient(180deg, #fff 0%, #fdfbf7 100%);
}
.panel-abk-lux::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--gold-dark) 18%, var(--gold-light) 50%, var(--gold-dark) 82%, transparent 100%);
  z-index: 1;
}

.abk-index-filters-lux {
  flex: 0 0 auto;
  padding: 14px 20px 16px;
  border-bottom: 1px solid rgba(201, 169, 98, 0.14);
  background:
    radial-gradient(ellipse 55% 120% at 0% 0%, rgba(201, 169, 98, 0.07), transparent 55%),
    linear-gradient(180deg, rgba(250, 248, 245, 0.98) 0%, #fff 100%);
  overflow-x: visible;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.abk-index-filters-lux .abk-index-filters-grid {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns:
    minmax(96px, 118px)
    minmax(168px, 1.35fr)
    minmax(156px, 1.2fr)
    minmax(156px, 1.2fr)
    minmax(138px, 1fr)
    minmax(168px, auto)
    auto;
  align-items: end;
  gap: 12px 14px;
}
.abk-index-filters-lux .abk-index-filters-grid-onboard {
  /* stat | cari | agency | kapal | jabatan | marketing | aksi filter */
  grid-template-columns:
    minmax(96px, 118px)
    minmax(168px, 1.35fr)
    minmax(148px, 1.1fr)
    minmax(148px, 1.1fr)
    minmax(138px, 1fr)
    minmax(148px, 1fr)
    auto;
}
.abk-index-filters-lux .abk-index-filters-grid-onboard .abk-index-filters-actions {
  grid-column: 1 / -1;
  justify-content: flex-start;
  justify-self: stretch;
}
.abk-index-filters-lux .abk-index-filters-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  white-space: nowrap;
  padding-bottom: 1px;
  justify-self: end;
}
.abk-index-filters-lux .btn-add-lux {
  padding: 10px 14px;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
}

.panel-toolbar-lux {
  padding: 26px 30px 22px;
  border-bottom: 1px solid rgba(201, 169, 98, 0.18);
  background:
    radial-gradient(ellipse 70% 120% at 100% 0%, rgba(201, 169, 98, 0.1), transparent 55%),
    linear-gradient(135deg, #fff 0%, var(--cream) 62%, rgba(250, 248, 245, 0.9) 100%);
  align-items: center;
}
.panel-eyebrow {
  margin: 0 0 6px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.panel-toolbar-lux h1 {
  margin: 0;
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.1;
  color: var(--navy);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
.panel-stat-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px !important;
}
.panel-stat-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(201, 169, 98, 0.35);
  box-shadow: var(--shadow-sm);
}

.toolbar-actions-lux {
  gap: 10px;
}
.btn-add-lux {
  padding: 11px 20px;
  border-radius: 10px;
  letter-spacing: 0.04em;
  box-shadow:
    0 4px 14px rgba(168, 134, 58, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-add-lux:hover {
  box-shadow:
    0 8px 22px rgba(168, 134, 58, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-ghost-lux {
  padding: 11px 18px;
  border-radius: 10px;
  border: 1px solid rgba(201, 169, 98, 0.45);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(4px);
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
}
.btn-ghost-lux:hover {
  background: #fff;
  border-color: var(--gold);
  color: var(--gold-dark);
}

.abk-filter-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.abk-filter-stat-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  box-sizing: border-box;
  padding: 0 14px;
  border-radius: 11px;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
  background:
    linear-gradient(180deg, #fff 0%, #f7f3ea 100%);
  border: 1px solid rgba(201, 169, 98, 0.4);
  box-shadow:
    var(--shadow-sm),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}
.abk-index-filters-lux .abk-filter-field {
  min-width: 0;
  gap: 6px;
}
.abk-filter-usia-range .abk-filter-usia-range-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  min-width: 0;
}
.abk-filter-usia-range .abk-filter-usia-range-inputs select {
  flex: 0 0 auto;
  width: 4.85rem;
  min-width: 4.85rem;
  max-width: none;
  padding-left: 10px;
  padding-right: 1.65rem;
  text-align: center;
}
.abk-filter-usia-range-sep {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.45);
  flex-shrink: 0;
  line-height: 1;
}
.abk-filter-usia-range-unit {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: var(--navy-mid);
  flex-shrink: 0;
}
.abk-index-filters-lux .abk-filter-search {
  min-width: 0;
  max-width: none;
}
.abk-index-filters-lux .abk-filter-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  color: #8a6f2e;
}
.abk-index-filters-lux input,
.abk-index-filters-lux select {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  min-height: 42px;
  border-radius: 11px;
  border: 1px solid rgba(201, 169, 98, 0.3);
  background: linear-gradient(180deg, #fff 0%, #faf8f5 100%);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
  box-shadow:
    inset 0 1px 2px rgba(15, 23, 41, 0.04),
    0 1px 0 rgba(255, 255, 255, 0.8);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.abk-index-filters-lux select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2rem;
  background-color: #faf8f5;
  background-image:
    linear-gradient(180deg, #fff 0%, #faf8f5 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1.5 1.75L6 6.25L10.5 1.75' stroke='%238a6f2e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, right 0.75rem center;
  background-size: 100% 100%, 12px 8px;
  cursor: pointer;
}
.abk-index-filters-lux select::-ms-expand {
  display: none;
}
.abk-index-filters-lux input::placeholder {
  color: rgba(15, 23, 42, 0.4);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  opacity: 1;
}

.btn-filter-apply-lux {
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 10px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(15, 23, 41, 0.18);
}
.abk-index-filters-lux input:focus,
.abk-index-filters-lux select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow:
    0 0 0 3px rgba(201, 169, 98, 0.14),
    inset 0 1px 2px rgba(15, 23, 41, 0.04);
  transform: translateY(-1px);
}
.abk-index-filters-lux select:focus {
  background-color: #fffefb;
  background-image:
    linear-gradient(180deg, #fff 0%, #fffefb 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1.5 1.75L6 6.25L10.5 1.75' stroke='%238a6f2e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, right 0.75rem center;
  background-size: 100% 100%, 12px 8px;
}
.btn-filter-apply-lux:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15, 23, 41, 0.22);
}


.table-scroll-lux {
  flex: 1 1 auto;
  padding: 12px 14px 18px;
  overflow-x: auto;
  max-width: 100%;
  background:
    radial-gradient(ellipse 100% 80% at 50% 100%, rgba(201, 169, 98, 0.05), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--cream-dark) 100%);
}
.panel-abk-lux.panel-table-fit .table-scroll-lux {
  overflow-x: auto;
}

.abk-table-lux {
  border-radius: 14px;
  border: 1px solid rgba(201, 169, 98, 0.15);
  box-shadow: var(--shadow-md);
}
.abk-table-lux thead th {
  padding: 12px 10px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  background: linear-gradient(180deg, var(--navy-mid) 0%, var(--navy) 55%, #0a1020 100%);
  border-bottom: 2px solid var(--gold);
}
.abk-table-lux thead th:first-child { border-radius: 14px 0 0 0; }
.abk-table-lux thead th:last-child { border-radius: 0 14px 0 0; }
.abk-table-lux tbody td {
  padding: 13px 10px;
  font-size: 0.8rem;
  border-color: rgba(232, 228, 220, 0.75);
  transition: background 0.22s ease, box-shadow 0.22s ease;
}
.abk-table-lux tbody tr:nth-child(even) td {
  background: rgba(250, 248, 245, 0.72);
}
.abk-table-lux tbody tr:hover td {
  background: linear-gradient(90deg, rgba(201, 169, 98, 0.1) 0%, rgba(255, 255, 255, 0.95) 38%) !important;
}
.abk-table-lux .row-click:hover td:first-child {
  box-shadow: inset 3px 0 0 var(--gold);
}
.abk-table-lux .no-urut {
  font-size: 0.88rem;
  color: var(--gold-dark);
}
.abk-table-lux .abk-photo-link {
  border: 2px solid rgba(201, 169, 98, 0.55);
  box-shadow: 0 2px 10px rgba(15, 23, 41, 0.12);
}
.abk-table-lux .abk-photo,
.abk-table-lux .abk-photo-empty {
  width: 44px;
  height: 44px;
}
.abk-table-lux .cell-daftar {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--navy-mid);
}
.abk-table-lux .cell-uniq-id {
  font-size: 0.58rem;
  color: var(--muted);
}
.abk-table-lux .cell-nama-main {
  font-size: clamp(0.68rem, 0.26vw + 0.46rem, 0.8rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: var(--navy);
}
.abk-table-lux .cell-nama-nik {
  font-size: 0.68rem;
  margin-top: 2px;
}
.abk-table-lux .cell-nama-lahir {
  font-size: 0.68rem;
  margin-top: 2px;
  font-weight: 600;
  color: #b45309;
  font-variant-numeric: tabular-nums;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  white-space: normal;
}
.abk-table-lux .cell-nama-alamat,
.abk-table-lux .cell-nama-hp {
  font-size: clamp(0.58rem, 0.24vw + 0.42rem, 0.72rem);
  line-height: 1.3;
  margin-top: 2px;
  min-width: 0;
}
.abk-table-lux .cell-nama-alamat {
  color: var(--navy-mid);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.abk-table-lux .cell-nama-hp {
  color: rgba(15, 23, 42, 0.62);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.abk-table-lux .crew-status-badge {
  font-size: 0.58rem;
  padding: 0.2rem 0.45rem;
  box-shadow: 0 1px 3px rgba(15, 23, 41, 0.06);
}
.abk-table-lux .cell-marketing .mkt-name {
  font-size: clamp(0.68rem, 0.26vw + 0.46rem, 0.8rem);
  font-weight: 600;
  color: var(--navy-mid);
}
.abk-table-lux .xp-tipe-badge {
  font-size: 0.58rem;
  padding: 3px 8px;
  box-shadow: 0 2px 6px rgba(15, 23, 41, 0.15);
}
.abk-table-lux .cell-kapal-item .kapal-name {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--navy);
}
.abk-table-lux .cell-kapal-more {
  font-size: 0.62rem;
  color: var(--gold-dark);
  font-weight: 600;
}
.abk-table-lux .skill-chip {
  padding: 3px 8px;
  font-size: 0.58rem;
  border: 1px solid rgba(201, 169, 98, 0.22);
  background: linear-gradient(180deg, #fff, var(--cream));
  box-shadow: 0 1px 2px rgba(15, 23, 41, 0.05);
}
.abk-table-lux .btn-edit {
  padding: 6px 12px;
  font-size: 0.68rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.abk-table-lux .empty {
  padding: 48px 24px;
  font-size: 0.92rem;
  font-style: italic;
  background: linear-gradient(180deg, #fff, var(--cream));
}

.page-abk-index .form-panel-lux-flash {
  margin-bottom: 16px;
  border-radius: 12px;
}

.abk-index-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin: 0;
  padding: 14px 16px 18px;
  border-top: 1px solid rgba(201, 169, 98, 0.18);
  background: linear-gradient(180deg, rgba(250, 248, 245, 0.92) 0%, #fff 100%);
}

.abk-index-pagination-info {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted, #64748b);
  line-height: 1.45;
}

.abk-index-pagination-info strong {
  color: var(--navy, #0f172a);
  font-weight: 700;
}

.abk-index-pagination-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.btn-index-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 41, 0.14);
  background: #fff;
  color: var(--navy, #0f172a);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.btn-index-page:hover {
  transform: translateY(-1px);
  border-color: rgba(201, 169, 98, 0.55);
  background: rgba(250, 248, 245, 0.95);
}

.btn-index-page-next {
  background: linear-gradient(180deg, var(--navy-soft, #1e293b) 0%, var(--navy, #0f172a) 100%);
  border-color: var(--navy, #0f172a);
  color: #fff;
}

.btn-index-page-next:hover {
  background: linear-gradient(180deg, #334155 0%, #1e293b 100%);
  color: #fff;
}

.btn-index-page.is-disabled {
  opacity: 0.42;
  pointer-events: none;
  cursor: default;
}

.abk-filter-stat-note {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.58);
}

@media (max-width: 768px) {
  .abk-index-pagination {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 12px 16px;
  }

  .abk-index-pagination-actions {
    flex-direction: column;
  }

  .page-abk-index .btn-index-page {
    width: 100%;
    min-height: 44px;
  }
}

@media (max-width: 1200px) {
  .abk-index-filters-lux {
    overflow-x: visible;
  }
  .abk-index-filters-lux .abk-index-filters-grid {
    display: grid;
    width: 100%;
    min-width: 0;
    grid-template-columns:
      minmax(0, 1.4fr)
      minmax(140px, 1.1fr)
      minmax(140px, 1.1fr)
      minmax(128px, 1fr)
      minmax(160px, auto)
      auto;
    gap: 10px 12px;
    align-items: end;
  }
  .abk-index-filters-lux .abk-index-filters-grid-onboard {
    /* cari | agency | kapal | jabatan | marketing | aksi (stat disembunyikan) */
    grid-template-columns:
      minmax(0, 1.4fr)
      minmax(0, 1.1fr)
      minmax(0, 1.1fr)
      minmax(0, 1fr)
      minmax(0, 1fr)
      auto;
  }
  .abk-index-filters-lux .abk-filter-stat {
    display: none;
  }
  .abk-index-filters-lux .abk-filter-search {
    grid-column: auto;
    max-width: none;
  }
  .abk-index-filters-lux .abk-filter-field,
  .abk-index-filters-lux .abk-filter-search {
    min-width: 0;
  }
  .abk-index-filters-lux .abk-index-filters-actions {
    grid-column: auto;
    margin-left: 0;
    justify-content: flex-end;
    flex-wrap: wrap;
  }
  .abk-index-filters-lux .abk-index-filters-grid-onboard .abk-index-filters-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .abk-index-filters-lux {
    padding: 14px 16px 16px;
  }
  .abk-index-filters-lux .abk-index-filters-grid,
  .abk-index-filters-lux .abk-index-filters-grid-onboard {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
  }
  .abk-index-filters-lux .abk-filter-stat {
    display: none;
  }
  .abk-index-filters-lux .abk-filter-search {
    grid-column: 1 / -1;
    max-width: none;
  }
  .abk-index-filters-lux .abk-filter-field,
  .abk-index-filters-lux .abk-filter-search {
    min-width: 0;
  }
  .abk-index-filters-lux .abk-filter-usia-range {
    grid-column: 1 / -1;
  }
  .abk-index-filters-lux .abk-index-filters-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
    flex-wrap: wrap;
    gap: 8px;
  }
  .abk-index-filters-lux .abk-index-filters-actions .btn-filter-apply-lux,
  .abk-index-filters-lux .abk-index-filters-actions .btn-add-lux,
  .abk-index-filters-lux .abk-index-filters-actions .btn-filter-reset {
    flex: 1 1 auto;
    min-width: 0;
  }
  .table-scroll-lux {
    padding: 6px 8px 12px;
  }
}

@media (max-width: 560px) {
  .abk-index-filters-lux .abk-index-filters-grid,
  .abk-index-filters-lux .abk-index-filters-grid-onboard {
    grid-template-columns: 1fr;
  }
  .abk-index-filters-lux .abk-filter-search,
  .abk-index-filters-lux .abk-filter-usia-range,
  .abk-index-filters-lux .abk-index-filters-actions {
    grid-column: 1 / -1;
  }
  .abk-index-filters-lux .abk-index-filters-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .abk-index-filters-lux .abk-index-filters-actions .btn-filter-apply-lux,
  .abk-index-filters-lux .abk-index-filters-actions .btn-add-lux,
  .abk-index-filters-lux .abk-index-filters-actions .btn-filter-reset {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
}

@media (max-width: 760px) {
  .crew-status-form { grid-template-columns: 1fr; }
  .crew-status-meta { text-align: left; }
}

.topbar-role-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  max-width: 8.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 3px 8px;
  margin-left: 0;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(201, 169, 98, 0.14);
  border: 1px solid rgba(201, 169, 98, 0.35);
  border-radius: 999px;
}
.topnav-pill-admin.is-active {
  background: linear-gradient(180deg, #2a3f6b, var(--navy));
  color: #fff;
}
.users-role-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin: 0 0 18px;
}
.users-perm-fieldset {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding: 16px 18px 18px;
  border: 1px solid rgba(201, 169, 98, 0.28);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, rgba(250, 248, 245, 0.85));
}
.users-perm-fieldset legend {
  padding: 0 8px;
  font-weight: 600;
  color: var(--navy);
}
.users-perm-intro {
  margin: 0 0 14px;
}
.users-pipeline-banner {
  margin: 0 0 18px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.95), rgba(236, 253, 245, 0.45));
}
.users-pipeline-head h2 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}
.users-pipeline-chain {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  counter-reset: none;
}
.users-pipeline-step {
  position: relative;
  padding: 12px 12px 12px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.users-pipeline-step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-bottom: 6px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.12);
  color: #0f766e;
  font-size: 0.72rem;
  font-weight: 800;
}
.users-pipeline-step strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 2px;
}
.users-pipeline-step-pipe {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #b45309;
  margin-bottom: 6px;
}
.users-pipeline-step p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #475569;
}
.users-job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}
.users-job-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.users-job-card:hover {
  border-color: rgba(15, 118, 110, 0.4);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}
.users-job-card.is-active {
  border-color: rgba(15, 118, 110, 0.55);
  background: rgba(236, 253, 245, 0.65);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.18);
}
.users-job-card-admin {
  border-color: rgba(184, 134, 11, 0.35);
  background: rgba(255, 251, 235, 0.65);
}
.users-job-card-clear {
  border-style: dashed;
  color: #64748b;
}
.users-job-card-title {
  font-size: 0.86rem;
  font-weight: 800;
  color: #0f172a;
}
.users-job-card-pipe {
  font-size: 0.7rem;
  font-weight: 700;
  color: #0f766e;
}
.users-job-card-duty {
  font-size: 0.72rem;
  line-height: 1.35;
  color: #64748b;
}
.users-perm-group-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 8px;
}
.users-perm-group-pipe {
  font-size: 0.7rem;
  font-weight: 600;
  color: #b45309;
}
.users-perm-unlock {
  color: #0f766e !important;
}
.users-perm-requires {
  color: #b45309 !important;
}
.users-perm-preview {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px dashed rgba(15, 118, 110, 0.35);
  background: rgba(236, 253, 245, 0.45);
}
.users-perm-preview strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.82rem;
}
.users-perm-preview p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
}
.users-job-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.users-job-cell small {
  color: #64748b;
  font-size: 0.72rem;
}
.users-preset-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.users-preset-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.users-preset-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.btn-ghost-sm {
  padding: 5px 10px;
  font-size: 0.72rem;
}
.users-perm-all {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(201, 169, 98, 0.12);
  border: 1px solid rgba(201, 169, 98, 0.28);
}
.users-perm-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.users-perm-group-title {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-mid);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.users-perm-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.users-perm-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 41, 0.08);
  background: #fff;
  cursor: pointer;
}
.users-perm-item:hover {
  border-color: rgba(201, 169, 98, 0.45);
}
.users-perm-item input {
  margin-top: 3px;
  flex-shrink: 0;
}
.users-perm-item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.users-perm-item-text strong {
  font-size: 0.82rem;
  color: var(--navy);
}
.users-perm-item-text small {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.35;
}
.users-perm-summary {
  font-size: 0.78rem;
  color: var(--navy-mid);
  max-width: 280px;
}
.users-role-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, var(--cream));
  border: 1px solid rgba(201, 169, 98, 0.22);
  font-size: 0.78rem;
}
.users-role-card strong {
  color: var(--navy);
  font-size: 0.82rem;
}
.users-role-card span {
  color: var(--muted);
  line-height: 1.45;
}
.users-form .users-active-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 28px;
}
.users-self-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(201, 169, 98, 0.2);
  border-radius: 999px;
}
.form-readonly-banner {
  margin-bottom: 14px;
}
.alert.warn {
  background: #fff8e8;
  border: 1px solid rgba(201, 169, 98, 0.45);
  color: #6b5416;
}
.reg-form-readonly input:not([readonly]),
.reg-form-readonly select,
.reg-form-readonly textarea,
.reg-form-readonly button:not(.btn-dock-cancel) {
  pointer-events: none;
}
.reg-form-readonly .doc-upload-card label,
.reg-form-readonly .photo-upload-btn,
.reg-form-readonly .doc-del-btn,
.reg-form-readonly .btn-secondary[id^="btn"],
.reg-section-doc-readonly .doc-upload-card label,
.reg-section-doc-readonly .photo-upload-btn,
.reg-section-doc-readonly .doc-del-btn {
  display: none !important;
}
.reg-form-readonly input,
.reg-form-readonly select,
.reg-form-readonly textarea {
  opacity: 0.88;
  background: #f7f6f3;
}

.interview-field-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 10px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 41, 0.1);
  background: rgba(255, 255, 255, 0.72);
}
.interview-under-photo {
  width: 100%;
  box-sizing: border-box;
}
.interview-field-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--navy-mid);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.interview-hasil-select {
  width: 100%;
  max-width: none;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 0.82rem;
  background: #fff;
}
.interview-under-photo .interview-reject-field textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 0.78rem;
  text-transform: none;
  resize: vertical;
  min-height: 72px;
  box-sizing: border-box;
}
.interview-under-photo .interview-upload-field input[type="file"] {
  width: 100%;
  font-size: 0.68rem;
}
.interview-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.interview-upload-field,
.interview-reject-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}
.interview-upload-field input[type="file"] {
  font-size: 0.8rem;
  font-weight: 400;
}
.interview-doc-link {
  margin: 0;
  font-size: 0.8rem;
}
.interview-doc-link a {
  color: var(--navy-mid);
  font-weight: 600;
}
.interview-hint {
  margin: 0;
}

.crew-status-force.is-error {
  color: #991b1b;
  padding: 6px 8px;
  border-radius: 8px;
  background: #fee2e2;
  border: 1px solid #fecaca;
}
.crew-status-force.is-error input {
  outline: 2px solid #dc2626;
}

.crew-interview-modal .crew-interview-card {
  max-width: 520px;
  width: 100%;
}
.crew-interview-intro {
  margin: 0 0 14px;
}
.crew-interview-promote-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.interview-panel[hidden],
.crew-interview-empty[hidden] {
  display: none !important;
}
.crew-interview-modal-lux .modal-backdrop {
  backdrop-filter: blur(6px);
}
.crew-interview-modal-lux .crew-interview-card {
  width: min(720px, calc(100vw - 20px));
  max-width: none;
  max-height: min(96vh, 900px);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(201, 169, 98, 0.22);
  box-shadow: 0 22px 56px rgba(15, 23, 42, 0.18);
}
.crew-interview-form-entry {
  margin-bottom: 0;
}
.crew-interview-path-label {
  margin: 0 0 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-mid, #334155);
}
.crew-interview-path-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 560px) {
  .crew-interview-path-cards {
    grid-template-columns: 1fr;
  }
}
.btn-interview-open-form {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid rgba(201, 169, 98, 0.45);
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.14), #fff 55%);
  color: var(--navy, #0f172a);
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(201, 169, 98, 0.12);
  transition: border-color 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}
.btn-interview-open-form:hover {
  border-color: rgba(201, 169, 98, 0.75);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(201, 169, 98, 0.16);
}
.btn-interview-open-form.is-open {
  border-color: rgba(22, 163, 74, 0.4);
  background: linear-gradient(135deg, rgba(220, 252, 231, 0.65), #fff 60%);
}
.btn-interview-open-upload.is-open {
  border-color: rgba(37, 99, 235, 0.45);
  background: linear-gradient(135deg, rgba(219, 234, 254, 0.75), #fff 60%);
}
.btn-interview-open-form-icon {
  flex: 0 0 auto;
  font-size: 1.35rem;
  line-height: 1;
}
.btn-interview-open-form-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}
.btn-interview-open-form-copy strong {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.btn-interview-open-form-copy span {
  font-size: 0.74rem;
  color: var(--muted, #64748b);
  font-weight: 500;
}
.btn-interview-open-form-chevron {
  flex: 0 0 auto;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold-dark, #9a7b2f);
  line-height: 1;
}
.crew-interview-qa-panel {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 4px 22px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.crew-interview-qa-panel[hidden] {
  display: none !important;
}
.crew-interview-qa-head {
  margin-bottom: 2px;
}
.crew-interview-qa-hint {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted, #64748b);
}
.crew-interview-qa-field {
  margin: 0;
}
.crew-interview-qa-q {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.45;
  color: var(--navy, #0f172a);
}
.crew-interview-qa-num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 999px;
  background: rgba(201, 169, 98, 0.18);
  color: var(--gold-dark, #9a7b2f);
  font-size: 0.68rem;
  font-weight: 800;
}
.crew-interview-qa-field textarea {
  min-height: 64px;
}
.crew-interview-kesimpulan-wrap {
  margin: 6px 0 0;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(201, 169, 98, 0.22);
  background: rgba(248, 250, 252, 0.9);
}
.crew-interview-kesimpulan-choice {
  margin-bottom: 10px;
}
.crew-interview-hasil-auto {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  margin: -1px;
  padding: 0 !important;
  border: 0;
}
.crew-interview-promote-form:has(#crewInterviewQaPanel:not([hidden])) .crew-interview-body {
  flex: 0 1 auto;
  max-height: 240px;
}
.crew-interview-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px 18px;
  background: linear-gradient(135deg, #f8fafc 0%, #fff 52%, #faf8f5 100%);
  border-bottom: 1px solid rgba(201, 169, 98, 0.16);
  flex-shrink: 0;
}
.crew-interview-hero-main {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}
.crew-interview-hero-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(201, 169, 98, 0.18), #fff);
  border: 1px solid rgba(201, 169, 98, 0.28);
  font-size: 1.35rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}
.crew-interview-hero-text {
  min-width: 0;
}
.crew-interview-eyebrow {
  margin: 0 0 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark, #9a7b2f);
}
.crew-interview-hero h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.25;
  color: var(--navy);
  word-break: break-word;
}
.crew-interview-intro {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--muted, #64748b);
}
.crew-interview-intro strong {
  color: var(--navy, #0f172a);
}
.crew-interview-close {
  flex: 0 0 auto;
}
.crew-interview-promote-form {
  gap: 0;
  padding: 0;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.crew-interview-promote-form > .crew-interview-section,
.crew-interview-promote-form > .crew-interview-form-error {
  flex-shrink: 0;
  padding-left: 22px;
  padding-right: 22px;
}
.crew-interview-promote-form > .crew-interview-section {
  padding-top: 18px;
}
.crew-interview-section {
  margin-bottom: 14px;
}
.crew-interview-section-label {
  margin: 0 0 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-mid, #334155);
}
.crew-interview-section-label .req,
.crew-interview-field .req {
  color: #b45309;
}
.crew-interview-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.crew-interview-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1.5px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  color: var(--navy, #0f172a);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}
.crew-interview-pill:hover {
  border-color: rgba(201, 169, 98, 0.45);
  transform: translateY(-1px);
}
.crew-interview-pill.is-active {
  border-color: rgba(22, 163, 74, 0.45);
  background: linear-gradient(180deg, rgba(220, 252, 231, 0.85), #fff);
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.12);
}
.crew-interview-pill-reject.is-active {
  border-color: rgba(220, 38, 38, 0.35);
  background: linear-gradient(180deg, rgba(254, 226, 226, 0.85), #fff);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.1);
}
.crew-interview-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  font-size: 0.72rem;
}
.crew-interview-pill.is-active .crew-interview-pill-icon {
  background: rgba(22, 163, 74, 0.16);
  color: #166534;
}
.crew-interview-pill-reject.is-active .crew-interview-pill-icon {
  background: rgba(220, 38, 38, 0.12);
  color: #991b1b;
}
.crew-interview-select-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.crew-interview-body {
  flex: 1 1 auto;
  min-height: 120px;
  max-height: none;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 0 22px 8px;
}
.crew-interview-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 22px 16px;
  border-radius: 12px;
  border: 1px dashed rgba(15, 23, 42, 0.12);
  background: rgba(248, 250, 252, 0.85);
  text-align: center;
}
.crew-interview-empty-icon {
  font-size: 1.4rem;
  opacity: 0.75;
}
.crew-interview-empty p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted, #64748b);
}
.crew-interview-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.92);
}
.crew-interview-panel-accept {
  border-color: rgba(22, 163, 74, 0.16);
  background: linear-gradient(180deg, rgba(240, 253, 244, 0.65), #fff);
}
.crew-interview-panel-reject {
  border-color: rgba(220, 38, 38, 0.14);
  background: linear-gradient(180deg, rgba(254, 242, 242, 0.65), #fff);
}
.crew-interview-panel-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.crew-interview-panel-head p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted, #64748b);
}
.crew-interview-panel-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid transparent;
}
.crew-interview-panel-badge.tone-green {
  background: #dcfce7;
  color: #166534;
  border-color: #bbf7d0;
}
.crew-interview-panel-badge.tone-red {
  background: #fee2e2;
  color: #991b1b;
  border-color: #fecaca;
}
.crew-interview-upload-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 14px;
  border-radius: 12px;
  border: 1.5px dashed rgba(201, 169, 98, 0.42);
  background: rgba(255, 255, 255, 0.9);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.crew-interview-upload-box:hover,
.crew-interview-upload-box.is-selected {
  border-color: rgba(201, 169, 98, 0.75);
  background: rgba(201, 169, 98, 0.06);
  box-shadow: 0 4px 14px rgba(201, 169, 98, 0.1);
}
.crew-interview-upload-icon {
  font-size: 1.5rem;
}
.crew-interview-upload-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.78rem;
  color: var(--muted, #64748b);
}
.crew-interview-upload-copy strong {
  font-size: 0.82rem;
  color: var(--navy, #0f172a);
}
.crew-interview-upload-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-dark, #9a7b2f);
  word-break: break-all;
}
.crew-interview-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.crew-interview-field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy, #0f172a);
}
.crew-interview-field textarea,
.crew-interview-catatan-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 10px;
  font: inherit;
  font-size: 0.84rem;
  line-height: 1.45;
  min-height: 88px;
  resize: vertical;
  box-sizing: border-box;
  text-transform: none;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.crew-interview-field textarea:focus,
.crew-interview-catatan-field textarea:focus {
  outline: none;
  border-color: rgba(201, 169, 98, 0.65);
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.14);
}
.crew-interview-doc-hint {
  margin: 0;
}
.crew-interview-catatan-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
}
.crew-interview-form-error {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fee2e2;
  color: #991b1b;
  font-size: 0.78rem;
  line-height: 1.45;
  border: 1px solid #fecaca;
}
.crew-interview-form-error[hidden] {
  display: none !important;
}
.crew-interview-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 0;
  padding: 14px 22px 18px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  flex-shrink: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), #fff 24%);
  box-shadow: 0 -8px 20px rgba(15, 23, 42, 0.06);
  position: relative;
  z-index: 2;
}
.crew-interview-actions-hint {
  margin: 0;
  font-size: 0.72rem;
  color: var(--muted, #64748b);
  text-align: center;
  line-height: 1.4;
}
.crew-interview-actions-hint[hidden] {
  display: none !important;
}
.crew-interview-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
}
.crew-interview-form-error {
  padding-left: 22px;
  padding-right: 22px;
}
.crew-interview-btn-cancel {
  min-width: 96px;
}
.crew-interview-btn-submit {
  min-width: 0;
  flex: 1 1 200px;
  max-width: none;
  min-height: 44px;
  padding: 12px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--navy-soft, #1e293b), var(--navy, #0f172a));
  border: none;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}
.crew-interview-btn-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
@media (max-width: 520px) {
  .crew-interview-actions-row {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .crew-interview-btn-cancel,
  .crew-interview-btn-submit {
    width: 100%;
    max-width: none;
    flex: 1 1 auto;
  }
}
.crew-interview-btn-submit:hover {
  background: linear-gradient(135deg, #334155, #1e293b);
}
.crew-interview-btn-submit.is-reject {
  background: linear-gradient(135deg, #b91c1c, #991b1b);
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.2);
}
.crew-interview-btn-submit.is-reject:hover {
  background: linear-gradient(135deg, #991b1b, #7f1d1d);
}
.crew-interview-btn-submit.is-pending {
  background: linear-gradient(135deg, #b45309, #92400e);
  box-shadow: 0 4px 14px rgba(180, 83, 9, 0.2);
}
.crew-interview-btn-submit.is-pending:hover {
  background: linear-gradient(135deg, #92400e, #78350f);
}

/* Formulir Screening PMI di modal interview */
.scr-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 8px;
}
.scr-form-head {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(201, 169, 98, 0.22);
}
.scr-form-kicker {
  margin: 0 0 4px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark, #9a7b2f);
}
.scr-form-head h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  line-height: 1.3;
  color: var(--navy, #0f172a);
}
.scr-form-sub {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--muted, #64748b);
}
.scr-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.92);
}
.scr-section-interviewer {
  border-color: rgba(201, 169, 98, 0.35);
  background: linear-gradient(180deg, rgba(201, 169, 98, 0.08), #fff 40%);
}
.scr-section-title {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy, #0f172a);
}
.scr-section-title span {
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted, #64748b);
}
.scr-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}
.scr-q {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0;
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.45;
  color: var(--navy, #0f172a);
}
.scr-num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(201, 169, 98, 0.18);
  color: var(--gold-dark, #9a7b2f);
  font-size: 0.66rem;
  font-weight: 800;
}
.scr-label {
  margin: 4px 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy-mid, #334155);
}
.scr-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.scr-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--navy, #0f172a);
  cursor: pointer;
  user-select: none;
}
.scr-chip:has(input:checked) {
  border-color: rgba(201, 169, 98, 0.65);
  background: rgba(201, 169, 98, 0.12);
  box-shadow: 0 0 0 2px rgba(201, 169, 98, 0.12);
}
.scr-chip input {
  margin: 0;
  accent-color: #9a7b2f;
}
.scr-choice-rekom .scr-chip {
  border-radius: 10px;
  flex: 1 1 calc(50% - 6px);
  min-width: 140px;
}
.scr-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--navy, #0f172a);
}
.scr-textarea,
.scr-line {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 10px;
  padding: 9px 11px;
  font: inherit;
  font-size: 0.82rem;
  line-height: 1.45;
  background: #fff;
  text-transform: none;
}
.scr-textarea {
  min-height: 64px;
  resize: vertical;
}
.scr-textarea:focus,
.scr-line:focus {
  outline: none;
  border-color: rgba(201, 169, 98, 0.65);
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.14);
}
.scr-follow {
  margin-top: 2px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.95);
  border: 1px dashed rgba(15, 23, 42, 0.1);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.scr-follow[hidden] {
  display: none !important;
}
.scr-note {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.4;
  color: #92400e;
  font-weight: 600;
}
.scr-legal {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--muted, #64748b);
}
.scr-hint-rekom {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--muted, #64748b);
}
.scr-rekomendasi-wrap {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(201, 169, 98, 0.25);
}
.scr-scoreboard {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(201, 169, 98, 0.35);
  background: rgba(255, 255, 255, 0.9);
}
.scr-scoreboard[hidden] {
  display: none !important;
}
.scr-scoreboard-avg {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy, #0f172a);
}
.scr-scoreboard-hint {
  font-size: 0.74rem;
  color: var(--muted, #64748b);
}
.scr-choice-score .scr-chip {
  flex: 1 1 calc(25% - 6px);
  min-width: 88px;
  justify-content: center;
}
.scr-autosave-status {
  margin: 6px 0 0;
  min-height: 1.1em;
  font-size: 0.72rem;
  color: var(--muted, #64748b);
}
.scr-autosave-status.is-ok {
  color: #166534;
}
.scr-autosave-status.is-error {
  color: #991b1b;
}
.interview-print-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  width: 100%;
  justify-content: center;
}

/* Database ABK index & Crewlist penempatan — tabel responsif penuh layar */
main.page:has(.page-abk-index),
main.page:has(.page-abk-penempatan) {
  max-width: 100%;
  width: 100%;
  padding-left: clamp(10px, 1.5vw, 22px);
  padding-right: clamp(10px, 1.5vw, 22px);
  padding-top: clamp(12px, 1.2vw, 22px);
}

.page-abk-index,
.page-abk-penempatan {
  width: 100%;
  max-width: 100%;
}

.page-abk-index .panel-abk-lux,
.page-abk-penempatan .panel-abk-lux {
  width: 100%;
  max-width: 100%;
}

.page-abk-index .table-scroll-fluid,
.page-abk-penempatan .table-scroll-fluid {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: clamp(10px, 1.1vw, 16px) clamp(8px, 1vw, 14px) clamp(14px, 1.2vw, 18px);
}

.page-abk-index .abk-table-fluid,
.page-abk-penempatan .abk-table-fluid {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  /* Skala font dinamis: mengecil otomatis saat browser dipersempit (dual window) */
  --fluid-table-fs: clamp(0.58rem, 0.42vw + 0.48rem, 0.92rem);
  --fluid-head-fs: clamp(0.6rem, 0.38vw + 0.5rem, 0.82rem);
  --fluid-tight-fs: clamp(0.52rem, 0.32vw + 0.42rem, 0.74rem);
  --fluid-nama-fs: clamp(0.6rem, 0.34vw + 0.44rem, 0.84rem);
  font-size: var(--fluid-table-fs);
}

.page-abk-index .abk-table-fluid thead th,
.page-abk-penempatan .abk-table-fluid thead th {
  padding: clamp(6px, 0.7vw, 12px) clamp(4px, 0.55vw, 10px);
  font-size: var(--fluid-head-fs);
  letter-spacing: 0.04em;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: normal;
  hyphens: none;
}

.page-abk-index .abk-table-fluid tbody td,
.page-abk-penempatan .abk-table-fluid tbody td {
  padding: clamp(6px, 0.7vw, 12px) clamp(4px, 0.55vw, 10px);
  font-size: var(--fluid-table-fs);
  line-height: 1.35;
  overflow: hidden;
  min-width: 0;
  word-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.page-abk-index .abk-table-fluid .col-no,
.page-abk-penempatan .abk-table-fluid .col-no { width: 3.5%; min-width: 0; }
.page-abk-index .abk-table-fluid .col-daftar-foto { width: 9%; min-width: 0; }
.page-abk-index .abk-table-fluid .col-usia { width: 5%; min-width: 0; }
.page-abk-index .abk-table-fluid .col-nama,
.page-abk-penempatan .abk-table-fluid .col-nama { width: 16%; min-width: 0; }
.page-abk-index .abk-table-fluid .col-status,
.page-abk-penempatan .abk-table-fluid .col-status { width: 8%; min-width: 0; }
.page-abk-index .abk-table-fluid .col-marketing,
.page-abk-penempatan .abk-table-fluid .col-marketing { width: 9%; min-width: 0; }
.page-abk-index .abk-table-fluid .col-xp { width: 7%; min-width: 0; }
.page-abk-index .abk-table-fluid .col-kapal,
.page-abk-penempatan .abk-table-fluid .col-kapal { width: 12%; min-width: 0; }
.page-abk-index .abk-table-fluid .col-jabatan { width: 7%; min-width: 0; }
.page-abk-index .abk-table-fluid .col-skill { width: 10%; min-width: 0; }
.page-abk-index .abk-table-fluid .col-aksi,
.page-abk-penempatan .abk-table-fluid .col-aksi { width: 6%; min-width: 0; }
.page-abk-index .abk-table-fluid .col-stage-focus { width: 10%; min-width: 0; }
.page-abk-index .abk-table-fluid .col-aksi-list { width: 9%; min-width: 0; }

.abk-list-aksi-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  min-width: 0;
}

.btn-list-aksi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 7px 8px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: #fff;
  color: var(--navy, #0f172a);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1.2;
  cursor: pointer;
  position: relative;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.btn-list-aksi:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.btn-list-aksi:active {
  transform: translateY(1px);
  filter: brightness(0.98);
}

.btn-list-aksi-primary {
  color: #fff;
  border-color: #0a1224;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, #2a3a55 0%, #152033 48%, #0f172a 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 -2px 0 rgba(0, 0, 0, 0.28) inset,
    0 3px 0 #070d18,
    0 5px 10px rgba(15, 23, 42, 0.28);
}

.btn-list-aksi-primary:hover {
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 -2px 0 rgba(0, 0, 0, 0.28) inset,
    0 4px 0 #070d18,
    0 7px 14px rgba(15, 23, 42, 0.32);
}

.btn-list-aksi-primary:active {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 1px 0 #070d18,
    0 2px 4px rgba(15, 23, 42, 0.22);
}

.btn-list-aksi-accent {
  color: #6b4a0e;
  border-color: #b8923f;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 40%),
    linear-gradient(180deg, #f5e6c4 0%, #e4c787 55%, #d4b05a 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 -2px 0 rgba(120, 84, 20, 0.22) inset,
    0 3px 0 #9a7428,
    0 5px 10px rgba(154, 116, 40, 0.22);
}

.btn-list-aksi-secondary {
  color: var(--navy, #0f172a);
  border-color: #c5cedd;
  background:
    linear-gradient(180deg, #ffffff 0%, #f3f6fb 55%, #e7edf6 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 -2px 0 rgba(15, 23, 42, 0.06) inset,
    0 3px 0 #b8c2d4,
    0 5px 10px rgba(15, 23, 42, 0.12);
}

.btn-list-aksi-secondary:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 -2px 0 rgba(15, 23, 42, 0.06) inset,
    0 4px 0 #b8c2d4,
    0 7px 14px rgba(15, 23, 42, 0.16);
}

.btn-list-aksi-secondary:active {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 1px 0 #b8c2d4,
    0 2px 4px rgba(15, 23, 42, 0.1);
}

.btn-list-aksi-edit {
  color: #6b4a0e;
  border-color: #c9a962;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 38%),
    linear-gradient(180deg, #fff8ea 0%, #f0dfb4 52%, #e2c78a 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 -2px 0 rgba(120, 84, 20, 0.18) inset,
    0 3px 0 #b8923f,
    0 5px 10px rgba(184, 146, 63, 0.2);
}

.btn-list-aksi-edit:hover {
  color: #5a3d08;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 -2px 0 rgba(120, 84, 20, 0.18) inset,
    0 4px 0 #b8923f,
    0 7px 14px rgba(184, 146, 63, 0.26);
}

.btn-list-aksi-edit:active {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 1px 0 #b8923f,
    0 2px 4px rgba(184, 146, 63, 0.18);
}

.btn-list-aksi-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--muted, #64748b);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: none;
}

.btn-list-aksi-ghost:hover {
  background: rgba(15, 23, 41, 0.04);
  border-color: transparent;
  color: var(--navy, #0f172a);
  box-shadow: none;
  filter: none;
}

.abk-list-focus-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.abk-list-focus-cell .crew-status-pct-badge {
  transform: scale(0.92);
  transform-origin: top left;
}

.abk-list-focus-note {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.35;
  color: var(--muted, #64748b);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.abk-list-focus-note-warn {
  color: #b45309;
  font-weight: 600;
}

.abk-list-focus-note-ok {
  color: #047857;
  font-weight: 600;
}

.abk-list-focus-muted {
  font-size: 0.72rem;
  color: var(--muted, #64748b);
}

.abk-list-focus-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.abk-list-focus-badge.tone-green {
  background: #dcfce7;
  color: #166534;
  border-color: #bbf7d0;
}

.abk-list-focus-badge.tone-red {
  background: #fee2e2;
  color: #991b1b;
  border-color: #fecaca;
}

.abk-list-focus-batch {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--navy, #0f172a);
  text-decoration: none;
}

.abk-list-focus-batch:hover {
  color: var(--gold-dark, #9a7b2f);
  text-decoration: underline;
}

.abk-list-focus-sep {
  opacity: 0.55;
}

.page-abk-penempatan .abk-table-fluid .col-uniq { width: 8%; }
.page-abk-penempatan .abk-table-fluid .col-nama { width: 15%; }
.page-abk-penempatan .abk-table-fluid .col-status { width: 8%; }
.page-abk-penempatan .abk-table-fluid .col-marketing { width: 9%; }
.page-abk-penempatan .abk-table-fluid .col-agency { width: 14%; }
.page-abk-penempatan .abk-table-fluid .col-kapal { width: 15%; }
.page-abk-penempatan .abk-table-fluid .col-aksi { width: 7%; }

.page-abk-index .abk-table-fluid .abk-photo,
.page-abk-penempatan .abk-table-fluid .abk-photo,
.page-abk-index .abk-table-fluid .abk-photo-empty,
.page-abk-penempatan .abk-table-fluid .abk-photo-empty {
  width: clamp(34px, 3.2vw, 52px);
  height: clamp(34px, 3.2vw, 52px);
}

.page-abk-index .abk-table-fluid .cell-daftar-foto {
  gap: clamp(2px, 0.3vw, 5px);
  min-width: 0;
  overflow: hidden;
}

.page-abk-index .abk-table-fluid .cell-daftar {
  font-size: var(--fluid-tight-fs);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-abk-index .abk-table-fluid .col-daftar-foto--pulang .th-pulang-main,
.page-abk-index .abk-table-fluid .cell-daftar-foto--pulang .cell-pulang {
  display: block;
  font-size: var(--fluid-tight-fs);
  font-weight: 700;
  color: #be123c;
  white-space: nowrap;
}

.page-abk-index .abk-table-fluid .col-daftar-foto--pulang .th-pulang-sub,
.page-abk-index .abk-table-fluid .cell-daftar-foto--pulang .cell-daftar--secondary {
  display: block;
  font-size: calc(var(--fluid-tight-fs) * 0.92);
  font-weight: 500;
  color: #64748b;
  white-space: nowrap;
}

.page-abk-index .abk-table-fluid .col-daftar-foto--pulang .th-pulang-sub {
  margin-top: 2px;
}

.page-abk-index .abk-table-stage-abk_pulang .col-pulang-info {
  min-width: clamp(120px, 12vw, 200px);
}

.page-abk-index .abk-table-stage-abk_pulang .col-pulang-alasan {
  min-width: clamp(140px, 14vw, 220px);
  max-width: clamp(180px, 18vw, 280px);
}

.page-abk-index .cell-pulang-alasan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.page-abk-index .pulang-alasan-detail {
  margin: 0;
  font-size: calc(var(--fluid-tight-fs) * 0.95);
  font-weight: 500;
  line-height: 1.35;
  color: #334155;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  word-break: break-word;
}

.page-abk-index .abk-table-stage-abk_pulang .th-pulang-info-main,
.page-abk-index .abk-table-stage-abk_pulang .th-pulang-info-sub {
  display: block;
  line-height: 1.2;
}

.page-abk-index .abk-table-stage-abk_pulang .th-pulang-info-sub {
  margin-top: 2px;
  font-size: calc(var(--fluid-tight-fs) * 0.9);
  font-weight: 500;
  color: #64748b;
}

.page-abk-index .cell-pulang-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.page-abk-index .pulang-info-row {
  font-size: var(--fluid-tight-fs);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-abk-index .pulang-info-kapal {
  font-weight: 700;
  color: #0f172a;
}

.page-abk-index .pulang-info-xp {
  color: #334155;
}

.page-abk-index .pulang-info-mkt {
  color: #64748b;
  font-weight: 600;
}

.page-abk-index .pulang-info-more {
  font-size: 0.85em;
  font-weight: 600;
  color: #94a3b8;
}

.page-abk-index .pulang-alasan-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: var(--fluid-tight-fs);
  font-weight: 700;
  line-height: 1.2;
  background: rgba(241, 245, 249, 0.95);
  color: #334155;
  border: 1px solid rgba(148, 163, 184, 0.35);
  white-space: normal;
  text-align: center;
}

.page-abk-index .pulang-alasan-badge.is-kabur {
  background: rgba(255, 241, 242, 0.95);
  color: #be123c;
  border-color: rgba(225, 29, 72, 0.35);
}

.page-abk-index .abk-table-fluid .cell-uniq-id,
.page-abk-penempatan .abk-table-fluid .cell-uniq-id {
  font-size: var(--fluid-tight-fs);
  letter-spacing: -0.02em;
  line-height: 1.2;
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-abk-index .abk-table-fluid .cell-nama-main,
.page-abk-penempatan .abk-table-fluid .cell-nama-main {
  font-size: var(--fluid-nama-fs);
  font-weight: 600;
  line-height: 1.25;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 2px;
}

.page-abk-index .abk-table-fluid .cell-usia-val {
  font-weight: 700;
  font-size: inherit;
  color: var(--navy, #0f172a);
  white-space: nowrap;
}
.page-abk-index .abk-table-fluid .cell-nama-nik {
  font-size: var(--fluid-tight-fs);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.02em;
}
.page-abk-index .abk-table-fluid .cell-nama-lahir {
  font-size: var(--fluid-tight-fs);
  font-weight: 600;
  color: #b45309;
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  white-space: normal;
}
.page-abk-index .abk-table-fluid .cell-nama-alamat,
.page-abk-index .abk-table-fluid .cell-nama-hp {
  font-size: var(--fluid-tight-fs);
  line-height: 1.3;
  margin-top: 2px;
  min-width: 0;
  max-width: 100%;
}
.page-abk-index .abk-table-fluid .cell-nama-alamat {
  color: var(--navy-mid);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.page-abk-index .abk-table-fluid .cell-nama-hp {
  color: rgba(15, 23, 42, 0.62);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.page-abk-index .abk-table-fluid .cell-meta {
  display: block;
  font-size: clamp(0.7rem, 0.24vw + 0.6rem, 0.84rem);
  margin-top: 2px;
}

.page-abk-index .abk-table-fluid .crew-status-badge,
.page-abk-penempatan .abk-table-fluid .crew-status-badge {
  font-size: var(--fluid-tight-fs);
  padding: 0.18em 0.4em;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  display: inline-block;
}

.page-abk-index .abk-table-fluid .cell-marketing .mkt-name,
.page-abk-penempatan .abk-table-fluid .cell-marketing .mkt-name {
  font-size: var(--fluid-nama-fs);
  font-weight: 600;
  line-height: 1.3;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-abk-index .abk-table-fluid .xp-tipe-badge {
  font-size: var(--fluid-tight-fs);
  padding: 2px 6px;
  white-space: nowrap;
}

.page-abk-index .abk-table-fluid .cell-kapal-item .kapal-name {
  font-size: inherit;
  line-height: 1.3;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-abk-index .abk-table-fluid .cell-kapal-item div:not(.kapal-name) {
  display: block;
  font-size: clamp(0.68rem, 0.22vw + 0.58rem, 0.8rem);
  color: var(--muted);
  margin-top: 1px;
}

.page-abk-index .abk-table-fluid .cell-kapal-item + .cell-kapal-item {
  display: block;
  padding-top: 4px;
  margin-top: 4px;
  border-top: 1px solid var(--line-soft);
}

.page-abk-index .abk-table-fluid .cell-kapal-more {
  font-size: clamp(0.68rem, 0.22vw + 0.58rem, 0.82rem);
}

.page-abk-index .abk-table-fluid .skill-chip {
  font-size: var(--fluid-tight-fs);
  padding: 0.15em 0.4em;
}

.page-abk-index .abk-table-fluid .btn-edit,
.page-abk-penempatan .abk-table-fluid .btn-edit {
  font-size: var(--fluid-tight-fs);
  padding: clamp(4px, 0.45vw, 8px) clamp(6px, 0.65vw, 12px);
}

.page-abk-index .abk-table-fluid .btn-list-aksi {
  font-size: var(--fluid-tight-fs);
  padding: clamp(4px, 0.4vw, 6px) clamp(5px, 0.5vw, 8px);
  letter-spacing: 0.02em;
}

.page-abk-index .abk-table-fluid .no-urut,
.page-abk-penempatan .abk-table-fluid .no-urut {
  font-size: clamp(0.88rem, 0.38vw + 0.74rem, 1.05rem);
}

.page-abk-index .abk-table-fluid .empty,
.page-abk-penempatan .abk-table-fluid .empty {
  font-size: clamp(0.88rem, 0.35vw + 0.72rem, 1rem);
}

/* Dual window / layar sempit: tetap tabel, font & padding mengecil — bukan paksa min-width */
@media (max-width: 1280px) {
  .page-abk-index .abk-table-fluid,
  .page-abk-penempatan .abk-table-fluid {
    --fluid-table-fs: clamp(0.54rem, 0.48vw + 0.42rem, 0.82rem);
    --fluid-head-fs: clamp(0.56rem, 0.44vw + 0.44rem, 0.76rem);
    --fluid-tight-fs: clamp(0.48rem, 0.38vw + 0.38rem, 0.68rem);
    --fluid-nama-fs: clamp(0.56rem, 0.38vw + 0.36rem, 0.74rem);
  }
}

@media (max-width: 1000px) {
  .page-abk-index .abk-table-fluid,
  .page-abk-penempatan .abk-table-fluid {
    --fluid-table-fs: clamp(0.5rem, 0.52vw + 0.36rem, 0.74rem);
    --fluid-head-fs: clamp(0.52rem, 0.48vw + 0.38rem, 0.7rem);
    --fluid-tight-fs: clamp(0.46rem, 0.42vw + 0.34rem, 0.64rem);
    --fluid-nama-fs: clamp(0.52rem, 0.42vw + 0.32rem, 0.68rem);
  }

  .page-abk-index .abk-table-fluid .abk-photo,
  .page-abk-index .abk-table-fluid .abk-photo-empty {
    width: clamp(28px, 4vw, 40px);
    height: clamp(28px, 4vw, 40px);
  }
}

@media (max-width: 900px) and (min-width: 769px) {
  .page-abk-index .abk-table-fluid,
  .page-abk-penempatan .abk-table-fluid {
    min-width: 0;
  }
}

/* Form ABK (edit / tambah) — padat, rapat, profesional */
main.page:has(.page-abk-form) {
  max-width: 100%;
  width: 100%;
  padding-left: 12px;
  padding-right: 12px;
  padding-top: 10px;
}

.page-abk-form {
  width: 100%;
  max-width: 100%;
}

.page-abk-form .form-head {
  padding: 14px 18px 12px;
  gap: 10px;
}

.page-abk-form .form-eyebrow {
  margin: 0 0 3px;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.page-abk-form .form-head h1 {
  font-size: 1.35rem;
  line-height: 1.2;
}

.page-abk-form .form-subtitle {
  margin: 4px 0 0;
  font-size: 0.78rem;
  max-width: 480px;
}

.page-abk-form .link-back {
  font-size: 0.78rem;
  padding: 5px 11px;
}

.page-abk-form .reg-form-lux {
  padding: 12px 14px 18px;
  padding-right: 72px;
  font-size: 0.88rem;
}

.page-abk-form .reg-section {
  padding: 0 12px 12px;
  margin-bottom: 10px;
  border-radius: 12px;
}

.page-abk-form .reg-section legend {
  font-size: 0.95rem;
  padding: 0 8px;
  margin-bottom: 2px;
}

.page-abk-form .reg-section legend::after {
  width: 28px;
  margin-top: 2px;
}

.page-abk-form .reg-data-layout {
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 10px 12px;
  padding-top: 2px;
}

.page-abk-form .photo-field-compact {
  gap: 8px;
}

.page-abk-form .photo-field-compact .photo-upload-card {
  padding: 8px 6px;
  gap: 6px;
}

.page-abk-form .photo-field-compact .photo-preview-wrap {
  width: 76px;
  height: 76px;
}

.page-abk-form .photo-upload-btn-compact {
  font-size: 0.65rem !important;
  padding: 5px 6px !important;
}

.page-abk-form .interview-under-photo {
  gap: 6px;
}

.page-abk-form .interview-field-label,
.page-abk-form .interview-hasil-select {
  font-size: 0.72rem;
}

.page-abk-form .interview-hasil-select {
  padding: 6px 8px;
}

.page-abk-form .reg-data-subsection {
  margin-top: 10px;
  padding-top: 10px;
}

.page-abk-form .reg-data-subtitle {
  margin: 0 0 8px;
  font-size: 0.92rem;
}

.page-abk-form .reg-grid,
.page-abk-form .reg-grid-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 10px;
  padding-top: 0;
}

.page-abk-form .reg-grid label,
.page-abk-form .reg-grid-compact label {
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  gap: 3px;
}

.page-abk-form .reg-grid input,
.page-abk-form .reg-grid select,
.page-abk-form .reg-grid textarea,
.page-abk-form .reg-grid-compact input,
.page-abk-form .reg-grid-compact select,
.page-abk-form .reg-grid-compact textarea {
  padding: 6px 9px;
  font-size: 0.82rem;
  border-radius: 7px;
  min-height: 34px;
  background: #fff;
}

.page-abk-form .reg-grid-compact select,
.page-abk-form .reg-grid select {
  padding-right: 26px;
  background-position: right 8px center;
}

.page-abk-form .reg-grid-compact textarea,
.page-abk-form .reg-grid textarea {
  min-height: 52px;
}

.page-abk-form .reg-grid-compact .date-field .date-input,
.page-abk-form .reg-grid .date-field .date-input {
  padding-right: 32px;
  min-height: 34px;
}

.page-abk-form .reg-grid-compact .date-toggle,
.page-abk-form .reg-grid .date-toggle {
  width: 28px;
  font-size: 0.8rem;
}

.page-abk-form .hint,
.page-abk-form .hint-compact {
  font-size: 0.62rem !important;
  line-height: 1.25 !important;
  margin-top: 1px !important;
}

.page-abk-form .abk-alamat-ktp {
  gap: 0.35rem;
  padding: 8px 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 248, 245, 0.9) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.page-abk-form .abk-alamat-ktp__title {
  font-size: 0.66rem;
  letter-spacing: 0.05em;
}

.page-abk-form .abk-alamat-ktp__legacy {
  padding: 0.45rem 0.55rem;
  font-size: 0.72rem;
  line-height: 1.35;
  border-radius: 7px;
}

.page-abk-form .abk-alamat-ktp__grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px 8px;
}

.page-abk-form .abk-alamat-ktp__grid > label {
  font-size: 0.64rem;
  gap: 2px;
}

.page-abk-form .abk-alamat-ktp__grid input,
.page-abk-form .abk-alamat-ktp__grid select {
  padding: 6px 8px;
  font-size: 0.8rem;
  border-radius: 7px;
  min-height: 32px;
  background: #fff;
}

.page-abk-form .abk-alamat-ktp__jalan { grid-column: 1 / 5; }
.page-abk-form .abk-alamat-ktp__rt { grid-column: 5 / 6; }
.page-abk-form .abk-alamat-ktp__rw { grid-column: 6 / 7; }
.page-abk-form .abk-alamat-ktp__prov { grid-column: 1 / 4; }
.page-abk-form .abk-alamat-ktp__kab { grid-column: 4 / 7; }
.page-abk-form .abk-alamat-ktp__kec { grid-column: 1 / 4; }
.page-abk-form .abk-alamat-ktp__kel { grid-column: 4 / 7; }

.page-abk-form .abk-alamat-ktp__preview {
  grid-column: 1 / -1;
  padding: 0.45rem 0.55rem;
  border-radius: 7px;
}

.page-abk-form .abk-alamat-ktp__preview-label {
  font-size: 0.6rem;
  margin-bottom: 0.15rem;
}

.page-abk-form .abk-alamat-ktp__preview-line {
  font-size: 0.76rem;
  line-height: 1.35;
}

.page-abk-form .abk-questionnaire-wrap {
  margin-top: 10px;
}

.page-abk-form .abk-questionnaire-head {
  margin-bottom: 6px;
  gap: 8px;
}

.page-abk-form .doc-pelaut-intro {
  margin-bottom: 8px;
}

.page-abk-form .doc-hint-lux,
.page-abk-form .doc-rule-banner {
  font-size: 0.72rem;
  line-height: 1.35;
  padding: 8px 10px;
  margin: 0 0 8px;
}

.page-abk-form .doc-pelaut-grid {
  gap: 10px;
}

.page-abk-form .doc-pelaut-card {
  padding: 10px 11px;
  border-radius: 11px;
}

.page-abk-form .doc-pelaut-card-head {
  gap: 8px;
  margin-bottom: 8px;
}

.page-abk-form .doc-pelaut-title {
  font-size: 0.88rem;
  margin: 0;
}

.page-abk-form .doc-pelaut-desc,
.page-abk-form .doc-field {
  font-size: 0.68rem;
}

.page-abk-form .doc-pelaut-fields {
  gap: 6px 8px;
  margin-bottom: 6px;
}

.page-abk-form .doc-field input,
.page-abk-form .doc-pelaut-meta-field input,
.page-abk-form .doc-pelaut-meta-field select {
  padding: 6px 8px;
  font-size: 0.8rem;
  min-height: 32px;
  border-radius: 7px;
}

.page-abk-form .doc-pelaut-meta-field {
  font-size: 0.68rem;
}

.page-abk-form .crew-status-panel-lux {
  margin: 8px 12px;
}

.page-abk-form .crew-status-panel-lux .crew-status-hint {
  font-size: 0.74rem;
}

.page-abk-form .crew-status-panel-lux .crew-status-badge {
  font-size: 0.64rem;
}

.page-abk-form .form-action-dock {
  width: auto;
  bottom: 56px;
  right: 10px;
}

.page-abk-form .form-action-dock .btn-primary,
.page-abk-form .form-action-dock .btn-ghost,
.page-abk-form .form-action-dock .btn-dock-deactivate,
.page-abk-form .form-action-dock .btn-dock-print,
.page-abk-form .form-action-dock .btn-dock-reactivate {
  font-size: 0.72rem;
  padding: 7px 10px;
}

.page-abk-form .form-dock-nav-eyebrow {
  font-size: 0.58rem;
}

.page-abk-form .form-dock-nav-step {
  font-size: 0.64rem;
}

.page-abk-form .form-dock-nav-title {
  font-size: 0.78rem;
  min-height: 2.1em;
}

.page-abk-form .btn-dock-nav {
  font-size: 0.66rem;
  padding: 7px 8px;
}

.page-abk-form .form-dock-nav-block {
  gap: 6px;
  padding: 9px 9px 8px;
}

@media (min-width: 1100px) {
  .page-abk-form .reg-grid-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-abk-form .reg-grid-compact label.full,
  .page-abk-form .reg-grid-compact > .full {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .page-abk-form .reg-data-layout {
    grid-template-columns: 1fr;
  }

  .page-abk-form .reg-form-lux {
    padding-right: 14px;
  }

  .page-abk-form .abk-alamat-ktp__grid {
    grid-template-columns: minmax(0, 1fr) 3.5rem 3.5rem;
  }

  .page-abk-form .abk-alamat-ktp__jalan { grid-column: 1 / 2; }
  .page-abk-form .abk-alamat-ktp__rt { grid-column: 2 / 3; }
  .page-abk-form .abk-alamat-ktp__rw { grid-column: 3 / 4; }
  .page-abk-form .abk-alamat-ktp__prov,
  .page-abk-form .abk-alamat-ktp__kab,
  .page-abk-form .abk-alamat-ktp__kec,
  .page-abk-form .abk-alamat-ktp__kel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .page-abk-form .reg-form-lux {
    padding-bottom: 110px;
  }

  .page-abk-form .reg-grid,
  .page-abk-form .reg-grid-compact {
    grid-template-columns: 1fr;
  }

  .page-abk-form .abk-alamat-ktp__grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-abk-form .abk-alamat-ktp__jalan { grid-column: 1 / -1; }
  .page-abk-form .abk-alamat-ktp__rt { grid-column: 1 / 2; }
  .page-abk-form .abk-alamat-ktp__rw { grid-column: 2 / 3; }
}

/* Dock aksi form — mode ikon + tooltip hover */
.form-action-dock-icons {
  width: auto;
  min-width: 0;
  padding: 8px 8px 10px;
  gap: 8px;
  align-items: stretch;
  overflow: visible;
}

.form-action-dock-icons > .btn-dock-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  min-width: 46px;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 11px;
  text-decoration: none;
  flex: 0 0 auto;
}

.form-action-dock-icons .dock-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  pointer-events: none;
}

.form-action-dock-icons .btn-dock-icon[data-dock-tip]::after {
  content: attr(data-dock-tip);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  white-space: nowrap;
  max-width: min(240px, 50vw);
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-transform: none;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-soft) 0%, var(--navy) 100%);
  border: 1px solid rgba(201, 169, 98, 0.4);
  box-shadow: 0 8px 24px rgba(15, 23, 41, 0.22);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 960;
}

.form-action-dock-icons .btn-dock-icon[data-dock-tip]::before {
  content: "";
  position: absolute;
  right: calc(100% + 2px);
  top: 50%;
  transform: translateY(-50%);
  border: 7px solid transparent;
  border-left-color: var(--navy);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s;
  z-index: 960;
}

.form-action-dock-icons .btn-dock-icon:hover::after,
.form-action-dock-icons .btn-dock-icon:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.form-action-dock-icons .btn-dock-icon:hover::before,
.form-action-dock-icons .btn-dock-icon:focus-visible::before {
  opacity: 1;
  visibility: visible;
}

.page-abk-form .form-action-dock-icons {
  width: auto;
  right: clamp(10px, 1.2vw, 18px);
}

.page-abk-form .form-action-dock-icons > .btn-dock-icon {
  width: clamp(44px, 3.5vw, 50px);
  height: clamp(44px, 3.5vw, 50px);
  min-width: clamp(44px, 3.5vw, 50px);
}

@media (max-width: 768px) {
  .form-action-dock-icons .btn-dock-icon[data-dock-tip]::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: calc(100% + 10px);
    transform: translateX(-50%) translateY(4px);
    white-space: normal;
    text-align: center;
  }

  .form-action-dock-icons .btn-dock-icon[data-dock-tip]::before {
    right: auto;
    left: 50%;
    top: auto;
    bottom: calc(100% + 0px);
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-top-color: var(--navy);
    border-left-color: transparent;
  }

  .form-action-dock-icons .btn-dock-icon:hover::after,
  .form-action-dock-icons .btn-dock-icon:focus-visible::after {
    transform: translateX(-50%) translateY(0);
  }
}

/* Crewlist / Penempatan */
.page-abk-penempatan {
  animation: abkIndexFade 0.45s ease-out;
}

.panel-penempatan {
  --penempatan-pad: clamp(14px, 1.6vw, 24px);
}

.panel-penempatan .penempatan-panel-head {
  padding: var(--penempatan-pad) var(--penempatan-pad) clamp(12px, 1.2vw, 18px);
  border-bottom: 1px solid rgba(201, 169, 98, 0.14);
  background: linear-gradient(180deg, rgba(250, 248, 245, 0.98) 0%, #fff 100%);
}

.panel-penempatan .penempatan-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px 20px;
  padding: 0 0 clamp(14px, 1.2vw, 18px);
  border-bottom: none;
  background: transparent;
}

.panel-penempatan .penempatan-toolbar-intro {
  flex: 1 1 280px;
  min-width: 0;
}

.panel-penempatan .penempatan-toolbar h1 {
  font-size: clamp(1.25rem, 0.8vw + 1.05rem, 1.55rem);
  line-height: 1.2;
}

.panel-penempatan .penempatan-toolbar .muted {
  font-size: clamp(0.82rem, 0.3vw + 0.72rem, 0.92rem);
  max-width: 52ch;
  line-height: 1.45;
}

.panel-penempatan .alert {
  margin: 0 0 12px;
}

.penempatan-summary-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.penempatan-summary-card {
  display: flex;
  flex: 1 1 140px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(201, 169, 98, 0.18);
  background: rgba(255, 255, 255, 0.85);
}

.penempatan-summary-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.penempatan-summary-value {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.penempatan-section-block {
  padding: var(--penempatan-pad);
}

.penempatan-section-block + .penempatan-section-block,
.penempatan-section-block.penempatan-crewlist-archive {
  border-top: 1px solid rgba(15, 23, 41, 0.06);
}

.penempatan-crewlist-history {
  padding-top: clamp(12px, 1.2vw, 18px);
  padding-bottom: clamp(8px, 1vw, 14px);
}

.penempatan-ready-section {
  padding-top: clamp(10px, 1vw, 16px);
}

.penempatan-status-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  flex: 1 1 320px;
  min-width: 0;
  align-content: flex-start;
}
.penempatan-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: var(--ink, #0f172a);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.penempatan-chip:hover {
  border-color: rgba(15, 23, 42, 0.22);
  background: #f8fafc;
}
.penempatan-chip.is-active {
  border-color: var(--gold, #b8860b);
  background: rgba(184, 134, 11, 0.08);
}
.penempatan-chip-count {
  display: inline-flex;
  min-width: 1.4em;
  justify-content: center;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  font-size: 0.78rem;
}
.penempatan-filters {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px 10px;
  flex: 1 1 240px;
  min-width: min(100%, 260px);
  justify-content: flex-end;
}

.penempatan-pool-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 12px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(201, 169, 98, 0.14);
  background: rgba(255, 255, 255, 0.72);
}

.penempatan-filters .abk-filter-search {
  flex: 1 1 min(100%, 280px);
  min-width: 0;
}

.page-abk-penempatan .table-scroll-fluid {
  max-width: 100%;
  box-sizing: border-box;
}

.page-abk-penempatan .penempatan-table {
  max-width: 100%;
}
.page-penempatan-edit .form-head-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.page-penempatan-edit .btn-ghost-sm {
  font-size: 0.82rem;
  padding: 6px 10px;
}
.reg-section-penempatan {
  margin-top: 12px;
}
.penempatan-form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 8px 0 24px;
}
.form-action-dock-icons .btn-dock-penempatan {
  color: #0f766e;
  border-color: rgba(15, 118, 110, 0.25);
  background: rgba(15, 118, 110, 0.06);
}
.form-action-dock-icons .btn-dock-penempatan:hover {
  background: rgba(15, 118, 110, 0.12);
}

.penempatan-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 300px;
  min-width: 0;
}

.penempatan-toolbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.penempatan-link-count {
  display: inline-flex;
  min-width: 1.35em;
  justify-content: center;
  margin-left: 4px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.07);
  font-size: 0.88em;
  font-weight: 800;
}

.penempatan-toolbar-actions .btn-penempatan-add {
  width: auto;
  flex: 0 0 auto;
  padding: 9px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 999px;
  white-space: nowrap;
  gap: 5px;
  line-height: 1.2;
  box-shadow:
    0 3px 10px rgba(168, 134, 58, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.penempatan-toolbar-actions .btn-penempatan-add:hover {
  transform: translateY(-1px);
  box-shadow:
    0 6px 16px rgba(168, 134, 58, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.penempatan-toolbar-actions .btn-penempatan-add .btn-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15em;
  height: 1.15em;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.12);
  font-size: 0.95em;
  font-weight: 800;
  line-height: 1;
}

.penempatan-toolbar-actions .btn-ghost {
  padding: 8px 14px;
  font-size: 0.82rem;
  border-radius: 999px;
  white-space: nowrap;
}

.penempatan-crewlist-archive {
  background: linear-gradient(180deg, rgba(224, 242, 254, 0.18) 0%, transparent 140px);
}

.penempatan-crewlist-archive[hidden] {
  display: none !important;
}

.btn-penempatan-history-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-color: rgba(14, 165, 233, 0.35);
  color: #0369a1;
}

.btn-penempatan-history-toggle:hover {
  background: rgba(224, 242, 254, 0.55);
  border-color: rgba(14, 165, 233, 0.5);
}

.btn-penempatan-history-toggle.is-open {
  background: rgba(224, 242, 254, 0.65);
  border-color: rgba(14, 165, 233, 0.55);
  color: #0c4a6e;
}

.penempatan-history-toggle-count {
  font-size: 0.88em;
  opacity: 0.85;
}

.penempatan-crewlist-archive-empty {
  margin: 0 0 4px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px dashed rgba(14, 165, 233, 0.35);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted, #64748b);
  font-size: 0.92rem;
}

.penempatan-crewlist-archive-table tbody tr {
  background: rgba(255, 255, 255, 0.55);
}

.penempatan-crewlist-archive-table tbody tr:hover {
  background: rgba(224, 242, 254, 0.35);
}

.penempatan-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 14px;
}

.penempatan-section-head h2,
.penempatan-ready-head h2 {
  margin: 0 0 4px;
  font-size: clamp(1rem, 0.4vw + 0.92rem, 1.15rem);
  font-family: var(--font-display);
  color: var(--navy);
}

.penempatan-ready-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 16px;
  margin: 0 0 14px;
}

.penempatan-section-head .muted,
.penempatan-ready-head .muted {
  margin: 0;
  font-size: 0.84rem;
}

.penempatan-section-count {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.08);
  color: #0f766e;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.penempatan-section-divider {
  height: 1px;
  margin: 0 var(--penempatan-pad, 20px);
  background: linear-gradient(90deg, transparent, rgba(201, 169, 98, 0.35), transparent);
}

.page-abk-penempatan .penempatan-crewlist-table:not(.penempatan-crewlist-archive-table) .col-no { width: 3%; }
.page-abk-penempatan .penempatan-crewlist-table:not(.penempatan-crewlist-archive-table) .col-ref { width: 11%; }
.page-abk-penempatan .penempatan-crewlist-table:not(.penempatan-crewlist-archive-table) .col-date { width: 8%; }
.page-abk-penempatan .penempatan-crewlist-table:not(.penempatan-crewlist-archive-table) .col-agency { width: 10%; }
.page-abk-penempatan .penempatan-crewlist-table:not(.penempatan-crewlist-archive-table) .col-kapal { width: 12%; }
.page-abk-penempatan .penempatan-crewlist-table:not(.penempatan-crewlist-archive-table) .col-count { width: 4%; }
.page-abk-penempatan .penempatan-crewlist-table:not(.penempatan-crewlist-archive-table) .col-by { width: 8%; }
.page-abk-penempatan .penempatan-crewlist-table:not(.penempatan-crewlist-archive-table) .col-aksi-crewlist {
  width: 12%;
  min-width: 0;
}

.page-abk-penempatan .penempatan-crewlist-archive-table .col-no { width: 3%; }
.page-abk-penempatan .penempatan-crewlist-archive-table .col-ref { width: 10%; }
.page-abk-penempatan .penempatan-crewlist-archive-table .col-signon,
.page-abk-penempatan .penempatan-crewlist-archive-table .col-terbang,
.page-abk-penempatan .penempatan-crewlist-archive-table .col-selesai { width: 8%; }
.page-abk-penempatan .penempatan-crewlist-archive-table .col-agency { width: 9%; }
.page-abk-penempatan .penempatan-crewlist-archive-table .col-kapal { width: 10%; }
.page-abk-penempatan .penempatan-crewlist-archive-table .col-count { width: 4%; }
.page-abk-penempatan .penempatan-crewlist-archive-table .col-by { width: 7%; }
.page-abk-penempatan .penempatan-crewlist-archive-table .col-aksi-crewlist {
  width: 11%;
  min-width: 0;
}

.page-abk-penempatan .penempatan-crewlist-table .col-ref,
.page-abk-penempatan .penempatan-crewlist-table .col-ref .penempatan-ref-cell {
  white-space: nowrap;
}

.page-abk-penempatan .penempatan-crewlist-table .col-agency,
.page-abk-penempatan .penempatan-crewlist-table .col-kapal,
.page-abk-penempatan .penempatan-crewlist-table .col-by {
  overflow: hidden;
}

.penempatan-ref-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: nowrap;
  max-width: 100%;
}

.penempatan-cell-clip {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.page-abk-penempatan .penempatan-table .col-no { width: 4%; }
.page-abk-penempatan .penempatan-table .col-uniq { width: 11%; }
.page-abk-penempatan .penempatan-table .col-nama { width: 24%; }
.page-abk-penempatan .penempatan-table .col-status { width: 10%; }
.page-abk-penempatan .penempatan-table .col-marketing { width: 11%; }
.page-abk-penempatan .penempatan-table .col-jabatan { width: 12%; }
.page-abk-penempatan .penempatan-table .col-aksi { width: 8%; min-width: 56px; }

.page-abk-penempatan .table-scroll-fluid {
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
}

.penempatan-aksi-group {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 3px;
  justify-content: center;
  align-items: center;
  max-width: 100%;
}

.penempatan-aksi-compact .btn-aksi-compact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 5px;
  border-radius: 7px;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  flex: 0 0 auto;
}

.penempatan-aksi-compact .btn-aksi-view,
.penempatan-aksi-compact .btn-aksi-edit,
.penempatan-aksi-compact .btn-aksi-delete {
  width: 26px;
  padding: 0;
}

.penempatan-aksi-compact .btn-aksi-fly {
  width: 26px;
  padding: 0;
  gap: 0;
}

.penempatan-aksi-compact .btn-aksi-fly-icon {
  font-size: 0.72rem;
  line-height: 1;
}

.page-abk-penempatan .penempatan-crewlist-table .col-aksi-crewlist {
  overflow: visible;
  white-space: nowrap;
}

.page-abk-penempatan .penempatan-crewlist-table .col-aksi-crewlist .penempatan-aksi-group {
  justify-content: center;
}

@media (max-width: 900px) {
  .penempatan-summary-strip {
    grid-template-columns: 1fr;
  }

  .penempatan-toolbar-actions {
    flex-basis: 100%;
    justify-content: flex-start;
  }

  .penempatan-pool-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .penempatan-filters {
    justify-content: stretch;
  }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .penempatan-summary-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.btn-aksi-excel:hover {
  background: rgba(22, 163, 74, 0.08);
}

.btn-aksi-fly {
  background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
  color: #fff;
  border-color: rgba(14, 165, 233, 0.45);
  gap: 4px;
}

.btn-aksi-fly:hover:not(:disabled):not(.is-disabled) {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  box-shadow: 0 4px 12px rgba(3, 105, 161, 0.25);
}

.btn-aksi-fly:disabled,
.btn-aksi-fly.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.35);
}

.btn-terbangkan-submit.is-loading {
  opacity: 0.75;
  pointer-events: none;
}

.crewlist-flown-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0c4a6e;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  vertical-align: middle;
}

.btn-aksi-fly-icon {
  font-size: 0.85rem;
  line-height: 1;
}

.crewlist-terbangkan-modal { z-index: 100180; }
.crewlist-terbangkan-modal-lux .modal-backdrop {
  background: rgba(10, 16, 32, 0.62);
  backdrop-filter: blur(8px);
}
.crewlist-terbangkan-card {
  width: min(640px, calc(100vw - 24px));
  max-width: none;
  max-height: min(92vh, 860px);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(201, 169, 98, 0.24);
  box-shadow:
    0 24px 64px rgba(15, 23, 42, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}
.crewlist-terbangkan-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px 18px;
  background: linear-gradient(135deg, #f8fafc 0%, #fff 48%, #faf8f5 100%);
  border-bottom: 1px solid rgba(201, 169, 98, 0.16);
  flex-shrink: 0;
}
.crewlist-terbangkan-hero-main {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}
.crewlist-terbangkan-hero-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, #e0f2fe 0%, #bae6fd 55%, #7dd3fc 100%);
  border: 1px solid rgba(14, 165, 233, 0.28);
  font-size: 1.35rem;
  box-shadow:
    0 4px 14px rgba(3, 105, 161, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.crewlist-terbangkan-hero-text {
  min-width: 0;
}
.crewlist-terbangkan-eyebrow {
  margin: 0 0 4px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark, #9a7b2f);
}
.crewlist-terbangkan-hero h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.32rem);
  line-height: 1.25;
  color: var(--navy);
}
.crewlist-terbangkan-ref {
  display: inline-block;
  margin: 0;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy-mid, #334155);
  background: rgba(15, 23, 41, 0.05);
  border: 1px solid rgba(201, 169, 98, 0.22);
  border-radius: 999px;
}
.crewlist-terbangkan-close {
  flex: 0 0 auto;
}
.crewlist-terbangkan-form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
.crewlist-terbangkan-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 18px 22px 12px;
}
.crewlist-terbangkan-intro {
  margin: 0 0 16px;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--muted, #64748b);
}
.crewlist-terbangkan-intro strong {
  color: var(--navy);
}
.crewlist-terbangkan-section {
  margin-bottom: 16px;
}
.crewlist-terbangkan-section-label {
  margin: 0 0 10px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-mid, #334155);
}
.crewlist-terbangkan-field .req {
  color: #b45309;
}
.crewlist-terbangkan-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}
.crewlist-terbangkan-fields label.full,
.crewlist-terbangkan-field.full {
  grid-column: 1 / -1;
}
.crewlist-terbangkan-field {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
}
.crewlist-terbangkan-fields input:not(.date-input),
.crewlist-terbangkan-fields select,
.crewlist-terbangkan-fields textarea {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid rgba(201, 169, 98, 0.28);
  background: #fff;
  font: inherit;
  font-size: 0.84rem;
  color: var(--navy);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.crewlist-terbangkan-fields input:not(.date-input):focus,
.crewlist-terbangkan-fields select:focus,
.crewlist-terbangkan-fields textarea:focus {
  outline: none;
  border-color: rgba(201, 169, 98, 0.55);
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.12);
}
.crewlist-terbangkan-estimasi-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(15, 23, 41, 0.03) 0%, rgba(201, 169, 98, 0.08) 100%);
  border: 1px solid rgba(201, 169, 98, 0.2);
}
.crewlist-terbangkan-estimasi-label {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted, #64748b);
  white-space: nowrap;
}
.crewlist-terbangkan-estimasi {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  text-align: right;
  line-height: 1.35;
}
.crewlist-terbangkan-docs {
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 1px solid rgba(201, 169, 98, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.crewlist-terbangkan-docs-head {
  margin-bottom: 10px;
}
.crewlist-terbangkan-docs-hint {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--muted, #64748b);
}
.crewlist-terbangkan-docs-hint strong {
  color: var(--navy);
}
.crewlist-terbangkan-member-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 200px;
  overflow: auto;
  scrollbar-width: thin;
}
.crewlist-terbangkan-member-list li {
  border-radius: 10px;
  padding: 9px 11px;
  border: 1px solid rgba(201, 169, 98, 0.18);
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.crewlist-terbangkan-member-list li.tone-warn {
  border-color: rgba(245, 158, 11, 0.22);
  background: linear-gradient(180deg, #fff 0%, #fffbeb 100%);
}
.crewlist-terbangkan-member-list li.tone-ok {
  border-color: rgba(22, 163, 74, 0.2);
  background: linear-gradient(180deg, #fff 0%, #f0fdf4 100%);
}
.crewlist-terbangkan-member-list li.is-skipped {
  opacity: 0.55;
}
.crewlist-terbangkan-member-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}
.crewlist-terbangkan-member-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.crewlist-terbangkan-doc-badge {
  flex: 0 0 auto;
  font-size: 0.66rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 41, 0.07);
  color: var(--navy-mid);
}
.crewlist-terbangkan-doc-badge.tone-warn {
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
}
.crewlist-terbangkan-doc-badge.tone-ok {
  background: rgba(22, 163, 74, 0.12);
  color: #166534;
}
.crewlist-terbangkan-progress {
  height: 3px;
  margin: 6px 0 5px;
  border-radius: 999px;
  background: rgba(15, 23, 41, 0.07);
  overflow: hidden;
}
.crewlist-terbangkan-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
  transition: width 0.25s ease;
}
.crewlist-terbangkan-member-list li.tone-ok .crewlist-terbangkan-progress span {
  background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
}
.crewlist-terbangkan-member-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  color: var(--muted, #64748b);
}
.crewlist-terbangkan-member-id {
  font-weight: 600;
  letter-spacing: 0.02em;
}
.crewlist-terbangkan-member-dot {
  opacity: 0.5;
}
.crewlist-terbangkan-skip {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
}
.crewlist-terbangkan-missing {
  margin: 5px 0 0;
  font-size: 0.7rem;
  line-height: 1.4;
  color: #b45309;
}
.crewlist-terbangkan-missing.is-ok {
  color: #166534;
}
.crewlist-terbangkan-incomplete-note {
  margin: 8px 0 0;
  padding: 7px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.45;
  color: #92400e;
  background: rgba(245, 158, 11, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(245, 158, 11, 0.16);
}
.crewlist-terbangkan-confirm {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(201, 169, 98, 0.14);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--navy);
  cursor: pointer;
}
.crewlist-terbangkan-confirm input {
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--gold-dark, #a8863a);
}
.crewlist-terbangkan-error {
  margin-top: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #991b1b;
  font-size: 0.78rem;
}
.crewlist-terbangkan-footer {
  flex-shrink: 0;
  margin: 0;
  padding: 14px 22px 18px;
  border-top: 1px solid rgba(201, 169, 98, 0.14);
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}
.crewlist-terbangkan-footer .btn-ghost {
  padding: 9px 16px;
  border-radius: 10px;
}
.btn-terbangkan-submit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
  border: 1px solid rgba(3, 105, 161, 0.35);
  box-shadow: 0 4px 14px rgba(3, 105, 161, 0.28);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}
.btn-terbangkan-submit:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(3, 105, 161, 0.34);
}
.btn-terbangkan-submit:disabled {
  opacity: 0.45;
  box-shadow: none;
  cursor: not-allowed;
}
.btn-terbangkan-icon {
  font-size: 0.95rem;
  line-height: 1;
}
@media (max-width: 520px) {
  .crewlist-terbangkan-fields {
    grid-template-columns: 1fr;
  }
  .crewlist-terbangkan-estimasi-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .crewlist-terbangkan-estimasi {
    text-align: left;
  }
}

.btn-aksi-delete {
  background: #fff;
  color: #b91c1c;
  border-color: rgba(185, 28, 28, 0.28);
  cursor: pointer;
  font: inherit;
}

.btn-aksi-delete:hover {
  background: rgba(254, 226, 226, 0.85);
}

.crewlist-delete-modal .crewlist-delete-card {
  max-width: 520px;
}

.crewlist-delete-modal textarea {
  width: 100%;
  min-height: 96px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  resize: vertical;
}

.crewlist-delete-modal .btn-crewlist-delete-submit {
  width: auto;
  background: linear-gradient(135deg, #991b1b, #b91c1c);
  border-color: rgba(185, 28, 28, 0.45);
}

.crewlist-delete-modal .btn-crewlist-delete-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-aksi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn-aksi:hover {
  transform: translateY(-1px);
}

.btn-aksi-view {
  background: linear-gradient(135deg, var(--navy-soft), var(--navy));
  color: #fff;
  border-color: rgba(201, 169, 98, 0.28);
}

.btn-aksi-edit {
  background: #fff;
  color: #92400e;
  border-color: rgba(146, 64, 14, 0.25);
}

.btn-aksi-edit:hover {
  background: rgba(251, 191, 36, 0.12);
}

.btn-aksi-print {
  background: #fff;
  color: #0f766e;
  border-color: rgba(15, 118, 110, 0.25);
}

.btn-aksi-print:hover {
  background: rgba(15, 118, 110, 0.08);
}

.btn-aksi-excel {
  background: rgba(22, 101, 52, 0.08);
  color: #166534;
  border-color: rgba(22, 101, 52, 0.22);
}

.btn-aksi-excel:hover {
  background: rgba(22, 101, 52, 0.14);
}

.page-penempatan-crewlist-edit .penempatan-release-catatan {
  padding: 0 clamp(14px, 1.6vw, 24px) 12px;
}

.page-penempatan-crewlist-edit .penempatan-release-catatan textarea {
  width: 100%;
  min-height: 84px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  resize: vertical;
}

.page-penempatan-crewlist-edit .penempatan-release-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  padding: 0 clamp(14px, 1.6vw, 24px) 12px;
}

.page-penempatan-crewlist-edit .btn-penempatan-release {
  width: auto;
  flex: 0 0 auto;
  padding: 9px 16px;
  font-size: 0.82rem;
  border-radius: 999px;
}

.page-penempatan-crewlist-edit .btn-penempatan-release:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.page-penempatan-crewlist-edit .penempatan-crewlist-empty {
  padding: 24px clamp(14px, 1.6vw, 24px) 32px;
  text-align: center;
}

.page-penempatan-crewlist-edit .col-check {
  width: 34px;
}

.page-penempatan-crewlist-edit .penempatan-crewlist-edit-section {
  padding: clamp(12px, 1.2vw, 18px) clamp(14px, 1.6vw, 24px);
}

.page-penempatan-crewlist-edit .penempatan-crewlist-empty-inline {
  padding: 0 clamp(14px, 1.6vw, 24px) 12px;
}

.page-penempatan-crewlist-edit .penempatan-add-pick-head {
  padding: 0 0 12px;
}

.page-penempatan-crewlist-edit .penempatan-add-hint {
  padding: 0 clamp(14px, 1.6vw, 24px);
}

.page-penempatan-crewlist-edit .penempatan-crewlist-add-actions {
  padding: 8px clamp(14px, 1.6vw, 24px) clamp(16px, 1.4vw, 22px);
}

.page-penempatan-crewlist-edit .btn-crewlist-release {
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: 999px;
}

.page-penempatan-crewlist-edit .btn-penempatan-add-submit {
  width: auto;
  padding: 9px 18px;
  font-size: 0.84rem;
  border-radius: 999px;
}

.page-penempatan-crewlist-edit .col-pre-doc {
  width: 108px;
  min-width: 108px;
}
.btn-pre-doc-open {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(201, 169, 98, 0.45);
  background: linear-gradient(180deg, #fffefb 0%, #f7f2e8 100%);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.btn-pre-doc-open:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(15, 23, 41, 0.08);
  transform: translateY(-1px);
}
.btn-pre-doc-label {
  text-transform: uppercase;
}
.pre-doc-progress {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: #eef2f7;
  color: #475569;
}
.pre-doc-progress.tone-partial {
  background: #fef3c7;
  color: #92400e;
}
.pre-doc-progress.tone-full {
  background: #dcfce7;
  color: #166534;
}
.pre-doc-exp-warn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
}
.pre-doc-exp-warn.tone-warn {
  background: #fef3c7;
  color: #b45309;
}
.pre-doc-exp-warn.tone-danger {
  background: #fee2e2;
  color: #b91c1c;
}

.pre-berangkat-modal { z-index: 100150; }
.pre-berangkat-card {
  width: min(720px, calc(100vw - 24px));
  max-height: min(88vh, 920px);
  overflow: auto;
}
.pre-berangkat-sub {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.pre-berangkat-hint {
  margin-top: 0;
}
.pre-berangkat-progress-line {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
}
.pre-berangkat-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: min(52vh, 520px);
  overflow: auto;
  padding-right: 4px;
}
.pre-berangkat-row {
  border: 1px solid rgba(201, 169, 98, 0.28);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fffefb;
}
.pre-berangkat-row.is-uploaded {
  border-color: rgba(22, 101, 52, 0.25);
  background: linear-gradient(180deg, #f8fff9 0%, #fffefb 100%);
}
.pre-berangkat-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.pre-berangkat-row-label {
  font-size: 0.82rem;
  color: var(--navy);
  letter-spacing: 0.03em;
}
.pre-berangkat-row-status {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
}
.pre-berangkat-row.is-uploaded .pre-berangkat-row-status {
  color: #166534;
}
.pre-berangkat-expiry {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
  font-size: 0.74rem;
}
.pre-berangkat-expiry input {
  max-width: 160px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid rgba(201, 169, 98, 0.35);
}
.pre-berangkat-expiry-warn {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 600;
}
.pre-berangkat-expiry-warn.tone-warn { color: #b45309; }
.pre-berangkat-expiry-warn.tone-danger { color: #b91c1c; }
.pre-berangkat-row-file {
  margin-bottom: 8px;
  font-size: 0.76rem;
}
.pre-berangkat-view {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
}
.pre-berangkat-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.btn-pre-doc-upload {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  font-size: 0.74rem;
  padding: 6px 12px;
}
.pre-berangkat-error {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fee2e2;
  color: #991b1b;
  font-size: 0.78rem;
}
.pre-berangkat-loading {
  padding: 12px 0;
}

.penempatan-crewlist-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 4px clamp(14px, 1.6vw, 24px) 14px;
}

.penempatan-crewlist-quick-actions .btn-crewlist-action-add {
  width: auto;
  flex: 0 0 auto;
  padding: 9px 16px;
  font-size: 0.82rem;
  border-radius: 999px;
  white-space: nowrap;
}

.penempatan-crewlist-quick-actions .btn-crewlist-action-release {
  padding: 9px 16px;
  font-size: 0.82rem;
  border-radius: 999px;
  white-space: nowrap;
  color: #b45309;
  border-color: rgba(180, 83, 9, 0.35);
  background: rgba(255, 251, 235, 0.9);
}

.penempatan-crewlist-quick-actions .btn-crewlist-action-release:hover:not(:disabled) {
  background: rgba(254, 243, 199, 0.95);
  border-color: rgba(180, 83, 9, 0.5);
}

.penempatan-crewlist-quick-hint {
  margin: 0;
  padding: 0 clamp(14px, 1.6vw, 24px) 14px;
  font-size: 0.82rem;
  color: var(--muted, #64748b);
}

.penempatan-crewlist-quick-hint.is-ready {
  color: #166534;
  font-weight: 600;
}

.penempatan-crewlist-quick-hint.is-warn {
  color: #b45309;
  font-weight: 600;
}

.penempatan-crewlist-quick-hint.is-muted {
  color: #94a3b8;
}

.penempatan-crewlist-quick-actions .btn-crewlist-action-add.is-action-ready,
.penempatan-crewlist-quick-actions .btn-crewlist-action-release.is-action-ready {
  box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.35);
}

body.crewlist-catatan-modal-open {
  overflow: hidden;
}
.crewlist-catatan-modal .crewlist-catatan-card {
  max-width: 520px;
}

.crewlist-catatan-modal textarea {
  width: 100%;
  min-height: 96px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  resize: vertical;
}

.crewlist-catatan-modal .btn-crewlist-release-submit {
  color: #b45309;
  border-color: rgba(180, 83, 9, 0.35);
  background: rgba(255, 251, 235, 0.95);
}

.crewlist-catatan-modal .btn-crewlist-release-submit:hover:not(:disabled) {
  background: rgba(254, 243, 199, 0.95);
  border-color: rgba(180, 83, 9, 0.5);
}

.crewlist-catatan-modal .btn-add {
  width: auto;
}

.crewlist-catatan-modal #crewlistCatatanConfirm:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.penempatan-crewlist-edit-section.is-crewlist-goto-flash {
  animation: crewlistSectionFlash 1.1s ease-out;
}

@keyframes crewlistSectionFlash {
  0% { box-shadow: inset 0 0 0 0 rgba(184, 134, 11, 0); }
  25% { box-shadow: inset 0 0 0 2px rgba(184, 134, 11, 0.45); }
  100% { box-shadow: inset 0 0 0 0 rgba(184, 134, 11, 0); }
}

.page-abk-penempatan .cell-ref-code {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.06);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(0.62rem, 0.28vw + 0.52rem, 0.74rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  line-height: 1.2;
}

.penempatan-batch-count {
  display: inline-flex;
  min-width: 1.8em;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(184, 134, 11, 0.12);
  color: #92650a;
  font-weight: 700;
  font-size: 0.82rem;
}

.page-penempatan-crewlist-detail .penempatan-crewlist-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px 14px;
  margin-top: 14px;
}

.page-penempatan-crewlist-detail .penempatan-meta-card {
  padding: 12px 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  background: #fff;
}

.page-penempatan-crewlist-detail .penempatan-meta-label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-penempatan-crewlist-detail .penempatan-meta-card strong {
  font-size: 0.95rem;
  color: var(--ink, #0f172a);
}

.page-penempatan-crewlist-detail .penempatan-crewlist-catatan {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(250, 248, 245, 0.9);
  border: 1px solid rgba(201, 169, 98, 0.18);
}

.page-penempatan-crewlist-detail .penempatan-crewlist-catatan p {
  margin: 6px 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

.page-penempatan-tambah .panel-penempatan-tambah {
  padding-bottom: 0;
  overflow: visible;
}

/* ── Hero header ── */
.penempatan-tambah-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px 20px;
  padding: clamp(18px, 2vw, 28px) clamp(14px, 1.6vw, 24px) clamp(16px, 1.4vw, 22px);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 58%, #1e3a5f 100%);
  color: #fff;
  border-bottom: 3px solid var(--gold);
}
.penempatan-tambah-hero-main {
  flex: 1 1 280px;
  min-width: 0;
}
.penempatan-tambah-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 0.9vw + 1.1rem, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: #fff;
}
.penempatan-tambah-hero .form-eyebrow {
  color: var(--gold-light);
}
.penempatan-tambah-lead {
  max-width: 52rem;
  margin: 8px 0 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}
.penempatan-tambah-lead strong {
  color: #fff;
}
.penempatan-tambah-hero-actions {
  flex: 0 0 auto;
}
.btn-ghost-on-dark {
  color: var(--gold-light);
  border-color: rgba(201, 169, 98, 0.45);
  background: rgba(255, 255, 255, 0.06);
}
.btn-ghost-on-dark:hover {
  background: rgba(201, 169, 98, 0.18);
  color: #fff;
  border-color: var(--gold);
}

/* ── Step bar ── */
.page-penempatan-tambah .penempatan-tambah-head {
  padding: 14px clamp(14px, 1.6vw, 24px) 0;
}
.penempatan-tambah-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, #faf8f5 100%);
  border: 1px solid rgba(201, 169, 98, 0.2);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}
.penempatan-tambah-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted, #64748b);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.penempatan-tambah-step-label {
  white-space: nowrap;
}
.penempatan-tambah-step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(15, 23, 42, 0.07);
  color: var(--muted, #64748b);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.penempatan-tambah-step-div {
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.1);
  flex-shrink: 0;
}
/* Step 1 — indigo (penempatan) */
.penempatan-tambah-step--target.is-active {
  color: #3730a3;
  background: rgba(99, 102, 241, 0.1);
}
.penempatan-tambah-step--target.is-active .penempatan-tambah-step-no {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #fff;
  box-shadow: 0 2px 10px rgba(79, 70, 229, 0.35);
}
/* Step 2 — teal (pilih ABK) */
.penempatan-tambah-step--pick.is-active {
  color: #0f766e;
  background: rgba(20, 184, 166, 0.1);
}
.penempatan-tambah-step--pick.is-active .penempatan-tambah-step-no {
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  color: #fff;
  box-shadow: 0 2px 10px rgba(13, 148, 136, 0.35);
}
/* Step 3 — emerald (simpan) */
.penempatan-tambah-step--save.is-active {
  color: #047857;
  background: rgba(16, 185, 129, 0.1);
}
.penempatan-tambah-step--save.is-active .penempatan-tambah-step-no {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  box-shadow: 0 2px 10px rgba(5, 150, 105, 0.35);
}

/* ── Form layout ── */
.penempatan-tambah-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 clamp(14px, 1.6vw, 24px) 24px;
}
.penempatan-tambah-card {
  margin: 16px 0 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 0 20px 20px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}
/* Section 1 — indigo */
.penempatan-tambah-card--target {
  border-color: rgba(99, 102, 241, 0.22);
  background: linear-gradient(180deg, #f5f7ff 0%, #fff 28%, #fff 100%);
  box-shadow:
    0 2px 14px rgba(79, 70, 229, 0.07),
    inset 4px 0 0 #6366f1;
}
/* Section 2 — teal */
.penempatan-tambah-card--pick {
  border-color: rgba(20, 184, 166, 0.22);
  background: linear-gradient(180deg, #f0fdfa 0%, #fff 28%, #fff 100%);
  box-shadow:
    0 2px 14px rgba(13, 148, 136, 0.07),
    inset 4px 0 0 #14b8a6;
}
.penempatan-tambah-card-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 0 8px;
  margin: 0;
  float: none;
  font-size: inherit;
}
.penempatan-tambah-card-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.12);
}
.penempatan-tambah-card-badge--target {
  background: linear-gradient(135deg, #818cf8 0%, #4f46e5 100%);
}
.penempatan-tambah-card-badge--pick {
  background: linear-gradient(135deg, #2dd4bf 0%, #0d9488 100%);
}
.penempatan-tambah-card-badge--save {
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
}
.penempatan-tambah-card-legend-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.penempatan-tambah-card-legend-eyebrow {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted, #64748b);
}
.penempatan-tambah-card--target .penempatan-tambah-card-legend-eyebrow {
  color: #6366f1;
}
.penempatan-tambah-card--pick .penempatan-tambah-card-legend-eyebrow {
  color: #0d9488;
}
.penempatan-tambah-card--save .penempatan-tambah-card-legend-eyebrow,
.penempatan-tambah-footer .penempatan-tambah-card-legend-eyebrow {
  color: #059669;
}
.penempatan-tambah-card-legend-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}
.penempatan-tambah-section-desc {
  margin: 0 0 16px;
  padding-top: 0;
  font-size: 0.86rem;
  color: var(--muted, #64748b);
  line-height: 1.5;
}
.penempatan-tambah-pool-count {
  display: inline-flex;
  align-items: center;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 0.9em;
  color: #0f766e;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.22);
}
.penempatan-tambah-grid {
  gap: 14px 18px;
}

.page-penempatan-tambah .penempatan-master-hint {
  display: none;
}

.page-penempatan-tambah .penempatan-master-row .btn-master-add {
  white-space: nowrap;
  font-size: 0.78rem;
  padding: 8px 12px;
  border-radius: 10px;
}

.page-penempatan-tambah .master-search-input,
.page-penempatan-tambah .kapal-search-input {
  border-radius: 10px;
  padding: 10px 36px 10px 12px;
  font-size: 0.88rem;
  background-color: #fff;
  border-color: rgba(99, 102, 241, 0.2);
}

.page-penempatan-tambah .master-search-input:focus,
.page-penempatan-tambah .kapal-search-input:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.14);
}

.page-penempatan-tambah .penempatan-tambah-catatan textarea {
  border-color: rgba(99, 102, 241, 0.2);
}

.page-penempatan-tambah .penempatan-tambah-catatan textarea:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.page-penempatan-tambah .master-search-status,
.page-penempatan-tambah .kapal-search-status {
  margin-top: 4px;
  font-size: 0.72rem;
  padding: 4px 8px;
}

.penempatan-tambah-target-hint,
.penempatan-tambah-gaji-hint {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.8rem;
  line-height: 1.45;
}
.penempatan-tambah-hint--target {
  background: rgba(99, 102, 241, 0.07);
  border: 1px dashed rgba(99, 102, 241, 0.28);
  color: #4338ca;
}
.penempatan-tambah-hint--pick {
  background: rgba(20, 184, 166, 0.07);
  border: 1px dashed rgba(20, 184, 166, 0.28);
  color: #0f766e;
}
.penempatan-tambah-hint--target strong,
.penempatan-tambah-hint--pick strong {
  color: inherit;
  font-weight: 700;
}

.penempatan-tambah-target {
  margin: 0;
}

.penempatan-tambah-pick {
  margin: 0;
}

.penempatan-tambah-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(240, 253, 250, 0.9) 0%, #fff 100%);
  border: 1px solid rgba(20, 184, 166, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.penempatan-tambah-toolbar-main {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: flex-end;
}

.penempatan-tambah-search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 240px;
  min-width: 200px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: var(--cream, #faf8f5);
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.penempatan-tambah-search-field:focus-within {
  border-color: #14b8a6;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.14);
}

.penempatan-tambah-search-icon {
  font-size: 0.9rem;
  opacity: 0.55;
  flex-shrink: 0;
}

.penempatan-tambah-search-field input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 10px 0;
  font-size: 0.88rem;
  text-transform: none;
  outline: none;
}

.penempatan-tambah-pick-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: flex-end;
  margin-bottom: 12px;
}

.penempatan-tambah-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: flex-end;
  flex: 1 1 360px;
}

.penempatan-tambah-toolbar-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding-top: 4px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.penempatan-filter-field {
  flex: 1 1 130px;
  min-width: 120px;
}

.penempatan-filter-field select {
  width: 100%;
  font-size: 0.82rem;
  padding: 9px 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 10px;
  background: #fff;
}

.penempatan-filter-reset {
  flex: 0 0 auto;
  align-self: flex-end;
  margin-bottom: 1px;
}

.penempatan-pick-visible {
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 600;
  margin-left: auto;
  white-space: nowrap;
}

.penempatan-tambah-search {
  flex: 1 1 220px;
  min-width: 180px;
}

.page-penempatan-tambah .penempatan-filter-field select:focus {
  outline: none;
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.12);
}

.penempatan-pick-all {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.14);
  color: #0f766e;
}

.penempatan-pick-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f766e;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.28);
}

.penempatan-tambah-table-wrap {
  border-radius: 14px;
  border: 1px solid rgba(20, 184, 166, 0.16);
  background: #fff;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.06);
}

.penempatan-tambah-footer {
  position: sticky;
  bottom: 0;
  z-index: 30;
  margin: 20px -24px -24px;
  padding: 0 clamp(14px, 1.6vw, 24px) 16px;
  background: linear-gradient(180deg, rgba(248, 246, 240, 0) 0%, rgba(236, 253, 245, 0.92) 24%, rgba(236, 253, 245, 0.98) 100%);
  backdrop-filter: blur(6px);
}
.penempatan-tambah-footer-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  padding: 0 4px;
}
.penempatan-tambah-footer-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}
.penempatan-tambah-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(16, 185, 129, 0.28);
  background: linear-gradient(135deg, #fff 0%, #f0fdf4 100%);
  box-shadow:
    0 4px 20px rgba(5, 150, 105, 0.1),
    inset 4px 0 0 #10b981;
}

.penempatan-tambah-footer-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted, #64748b);
  max-width: 28rem;
  line-height: 1.45;
}

.penempatan-tambah-catatan textarea {
  min-height: 88px;
  resize: vertical;
  border-radius: 10px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.penempatan-tambah-actions {
  padding-top: 0;
  margin: 0;
  flex-shrink: 0;
}

.penempatan-tambah-actions .btn-primary,
.btn-penempatan-save {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: 1px solid rgba(5, 150, 105, 0.35);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.28);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.15s, box-shadow 0.15s;
  min-width: 200px;
  padding: 11px 20px;
  font-size: 0.9rem;
}
.penempatan-tambah-actions .btn-primary:hover,
.btn-penempatan-save:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.34);
}

/* Tabel pilih ABK — kolom proporsional, checkbox sempit */
.page-penempatan-tambah .penempatan-pick-table {
  table-layout: fixed;
  width: 100%;
}

.page-penempatan-tambah .penempatan-pick-table col.pick-col-check { width: 34px; }
.page-penempatan-tambah .penempatan-pick-table col.pick-col-no { width: 44px; }
.page-penempatan-tambah .penempatan-pick-table col.pick-col-uniq { width: 9%; }
.page-penempatan-tambah .penempatan-pick-table col.pick-col-nama { width: 18%; }
.page-penempatan-tambah .penempatan-pick-table col.pick-col-status { width: 9%; }
.page-penempatan-tambah .penempatan-pick-table col.pick-col-marketing { width: 8%; }
.page-penempatan-tambah .penempatan-pick-table col.pick-col-xp { width: 8%; }
.page-penempatan-tambah .penempatan-pick-table col.pick-col-jabatan { width: 9%; }
.page-penempatan-tambah .penempatan-pick-table col.pick-col-skill { width: 10%; }
.page-penempatan-tambah .penempatan-pick-table col.pick-col-gaji { width: 18%; min-width: 190px; }

.page-penempatan-tambah .penempatan-pick-table thead th,
.page-penempatan-tambah .penempatan-pick-table tbody td {
  padding: 10px 8px;
}

.page-penempatan-tambah .penempatan-pick-table thead th {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  word-break: normal;
  hyphens: none;
  background: linear-gradient(180deg, #0f766e 0%, #115e59 100%);
  color: #f0fdfa;
  border-bottom: 2px solid rgba(45, 212, 191, 0.35);
  padding: 11px 8px;
}

.page-penempatan-tambah .penempatan-pick-table tbody td {
  font-size: 0.84rem;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-penempatan-tambah .penempatan-pick-table .col-check {
  width: 34px;
  min-width: 34px;
  max-width: 34px;
  padding: 8px 2px;
}

.page-penempatan-tambah .penempatan-pick-table .pick-check-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-penempatan-tambah .penempatan-pick-table .col-no {
  width: 44px;
  min-width: 44px;
  text-align: center;
}

.page-penempatan-tambah .penempatan-pick-table .col-uniq {
  width: 9%;
}

.page-penempatan-tambah .penempatan-pick-table .col-nama {
  width: 22%;
  white-space: normal;
  word-break: break-word;
}

.page-penempatan-tambah .penempatan-pick-table .col-status {
  width: 10%;
  text-align: center;
}

.page-penempatan-tambah .penempatan-pick-table .col-marketing {
  width: 9%;
  white-space: nowrap;
}

.page-penempatan-tambah .penempatan-pick-table .col-xp {
  width: 9%;
  text-align: center;
}

.page-penempatan-tambah .penempatan-pick-table .col-jabatan {
  width: 10%;
  white-space: nowrap;
}

.page-penempatan-tambah .penempatan-pick-table .col-skill {
  width: 10%;
  text-align: left;
  white-space: normal;
  word-break: break-word;
}

.page-penempatan-tambah .penempatan-pick-table .col-gaji,
.page-penempatan-tambah .penempatan-pick-table .pick-gaji-cell {
  width: 16%;
  min-width: 168px;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

.page-penempatan-tambah .penempatan-pick-table tbody tr.is-picked td {
  background: rgba(20, 184, 166, 0.08);
  box-shadow: inset 3px 0 0 #14b8a6;
}

.page-penempatan-tambah .penempatan-pick-table tbody tr.is-picked td.col-check {
  box-shadow: inset 3px 0 0 #14b8a6;
}

.pick-gaji-fields {
  display: grid;
  gap: 7px;
  min-width: 170px;
  padding: 2px 0;
}

.pick-gaji-tipe,
.pick-gaji-currency,
.pick-gaji-nominal {
  width: 100%;
  font-size: 0.78rem;
  padding: 7px 9px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  background: #fff;
  text-transform: none;
}

.pick-gaji-fields select:disabled,
.pick-gaji-fields input:disabled {
  background: #f8fafc;
  color: var(--muted);
  cursor: not-allowed;
}

.pick-gaji-fields select.is-invalid,
.pick-gaji-fields input.is-invalid {
  border-color: #dc2626;
  background: #fff7f7;
}

.pick-gaji-nominal-row {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 6px;
}

.crewlist-gaji-cell {
  display: grid;
  gap: 2px;
  line-height: 1.25;
}

.crewlist-gaji-amount {
  font-weight: 700;
  color: var(--ink, #0f172a);
}

.crewlist-gaji-tipe {
  font-size: 0.72rem;
  color: var(--muted);
}

.page-penempatan-tambah .penempatan-pick-table .col-marketing,
.page-penempatan-tambah .penempatan-pick-table .col-jabatan {
  white-space: nowrap;
}

.page-penempatan-tambah .penempatan-pick-table .cell-xp-tipe {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  justify-content: center;
}

.page-penempatan-tambah .penempatan-pick-table .xp-tipe-badge {
  font-size: 0.62rem;
  padding: 2px 5px;
  border-radius: 4px;
  background: #e0f2fe;
  color: #075985;
  font-weight: 700;
  white-space: nowrap;
}

.page-penempatan-tambah .penempatan-pick-table .cell-skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.page-penempatan-tambah .penempatan-pick-table .skill-chip {
  font-size: 0.62rem;
  padding: 2px 5px;
  border-radius: 4px;
  background: #f3f4f6;
  color: #374151;
  font-weight: 600;
  white-space: nowrap;
}

.page-penempatan-tambah .penempatan-pick-table .cell-nama-main {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.3;
}

.page-penempatan-tambah .penempatan-pick-table .cell-uniq-id {
  font-size: 0.72rem;
}

.page-penempatan-tambah .penempatan-pick-table .crew-status-badge {
  font-size: 0.62rem;
  padding: 3px 7px;
  white-space: nowrap;
}

.page-penempatan-tambah .penempatan-pick-table input[type="checkbox"].penempatan-pick-cb {
  width: 15px;
  height: 15px;
  min-width: 15px;
  min-height: 15px;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.page-penempatan-tambah .table-scroll-fluid {
  border-radius: 14px;
  border: none;
  background: transparent;
}

.page-penempatan-tambah .penempatan-pick-table tbody tr:hover {
  background: rgba(201, 169, 98, 0.05);
}

.page-penempatan-tambah .penempatan-pick-table tbody tr.is-picked:hover td {
  background: rgba(184, 134, 11, 0.09);
}

@media (max-width: 900px) {
  .penempatan-tambah-toolbar-main {
    flex-direction: column;
    align-items: stretch;
  }

  .penempatan-tambah-filters {
    flex: 1 1 auto;
  }

  .penempatan-tambah-footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .penempatan-tambah-actions {
    width: 100%;
  }

  .penempatan-tambah-actions .btn-primary,
  .penempatan-tambah-actions .btn-ghost {
    flex: 1 1 auto;
    text-align: center;
  }

  .page-penempatan-tambah .reg-grid {
    grid-template-columns: 1fr;
  }
}

.penempatan-tambah-catatan textarea {
  min-height: 88px;
  resize: vertical;
}

.penempatan-form-error {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fee2e2;
  color: #991b1b;
  font-size: 0.82rem;
  border: 1px solid #fecaca;
}

.penempatan-form-error[hidden] {
  display: none;
}

.penempatan-tambah-actions {
  padding-top: 4px;
}

.penempatan-master-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.penempatan-master-row .penempatan-master-combobox {
  flex: 1 1 auto;
  min-width: 0;
}

.penempatan-kapal-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.penempatan-kapal-row .kapal-combobox {
  flex: 1 1 auto;
  min-width: 0;
}

.master-search-input,
.kapal-search-input {
  width: 100%;
  box-sizing: border-box;
  cursor: text;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a8863a' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px !important;
  font-size: 0.85rem;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.master-search-status,
.kapal-search-status {
  margin-top: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.4;
  padding: 6px 8px;
  border-radius: 6px;
}

.master-search-status[hidden],
.kapal-search-status[hidden] {
  display: none;
}

.master-search-status.is-found,
.kapal-search-status.is-found {
  color: #166534;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
}

.master-search-status.is-hint,
.kapal-search-status.is-hint {
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fde68a;
}

.master-search-status.is-missing,
.kapal-search-status.is-missing {
  color: #991b1b;
  background: #fee2e2;
  border: 1px solid #fecaca;
}

.btn-master-add,
.btn-kapal-master-add {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 0.78rem;
  padding: 8px 12px;
}

.penempatan-master-hint,
.penempatan-kapal-hint {
  margin-top: 4px;
}

.master-agency-card,
.master-kapal-card {
  max-width: 480px;
  width: 100%;
}

.master-agency-quick-form,
.master-kapal-quick-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.master-agency-quick-form label,
.master-kapal-quick-form label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
}

.master-agency-quick-form input,
.master-agency-quick-form select,
.master-kapal-quick-form input,
.master-kapal-quick-form select {
  font-size: 0.85rem;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.master-agency-quick-error,
.master-kapal-quick-error {
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fee2e2;
  color: #991b1b;
  font-size: 0.78rem;
  border: 1px solid #fecaca;
}

.master-agency-quick-error[hidden],
.master-kapal-quick-error[hidden] {
  display: none;
}

.btn-kapal-master-add {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 0.78rem;
  padding: 8px 12px;
}

.penempatan-kapal-hint {
  margin-top: 4px;
}

.master-kapal-card {
  max-width: 480px;
  width: 100%;
}

.master-kapal-quick-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.master-kapal-quick-form label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
}

.master-kapal-quick-form input,
.master-kapal-quick-form select {
  font-size: 0.85rem;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.master-kapal-quick-error {
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fee2e2;
  color: #991b1b;
  font-size: 0.78rem;
  border: 1px solid #fecaca;
}

.master-kapal-quick-error[hidden] {
  display: none;
}

/* ——— Riwayat ABK (activity log) ——— */
.page-abk-form .form-head-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.page-abk-form .btn-abk-riwayat-link {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.page-abk-form .btn-abk-riwayat-link:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--gold-light);
}

.page-abk-riwayat .panel-crew-activity {
  padding-bottom: 24px;
}

.crew-activity-head {
  padding: clamp(18px, 2vw, 28px);
  border-bottom: 1px solid var(--line);
}

.crew-activity-sub {
  margin: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.crew-activity-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 12px clamp(18px, 2vw, 28px);
  border-bottom: 1px solid var(--line);
  background: rgba(248, 250, 252, 0.85);
}

.crew-activity-stat strong {
  color: var(--navy);
}

.crew-activity-empty {
  padding: 32px clamp(18px, 2vw, 28px);
}

.crew-activity-preview {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.crew-activity-preview-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.crew-activity-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.crew-activity-timeline-full {
  padding: 20px clamp(18px, 2vw, 28px) 8px;
  position: relative;
}

.crew-activity-timeline-full::before {
  content: "";
  position: absolute;
  left: calc(clamp(18px, 2vw, 28px) + 11px);
  top: 24px;
  bottom: 16px;
  width: 2px;
  background: linear-gradient(180deg, rgba(184, 134, 11, 0.45), rgba(148, 163, 184, 0.25));
}

.crew-activity-timeline-compact {
  display: grid;
  gap: 10px;
}

.crew-activity-item {
  position: relative;
  padding: 0 0 16px 28px;
}

.crew-activity-timeline-full .crew-activity-item::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.15);
}

.crew-activity-item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.crew-activity-item-title {
  font-size: 0.88rem;
  color: var(--ink);
}

.crew-activity-item-time {
  margin-left: auto;
  font-size: 0.74rem;
  color: var(--muted);
  white-space: nowrap;
}

.crew-activity-item-summary {
  margin: 6px 0 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
}

.crew-activity-item-detail {
  margin: 6px 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ink);
}

.crew-activity-item-by {
  margin: 4px 0 0;
  font-size: 0.74rem;
  color: var(--muted);
}

.crew-activity-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.crew-activity-badge.tone-gold { background: rgba(184, 134, 11, 0.14); color: #92650a; }
.crew-activity-badge.tone-blue { background: rgba(184, 134, 11, 0.14); color: #1d4ed8; }
.crew-activity-badge.tone-slate { background: rgba(100, 116, 139, 0.12); color: #475569; }
.crew-activity-badge.tone-teal { background: rgba(13, 148, 136, 0.12); color: #0f766e; }
.crew-activity-badge.tone-purple { background: rgba(124, 58, 237, 0.12); color: #6d28d9; }
.crew-activity-badge.tone-indigo { background: rgba(79, 70, 229, 0.12); color: #4338ca; }
.crew-activity-badge.tone-cyan { background: rgba(8, 145, 178, 0.12); color: #0e7490; }
.crew-activity-badge.tone-green { background: rgba(22, 163, 74, 0.12); color: #15803d; }
.crew-activity-badge.tone-amber { background: rgba(217, 119, 6, 0.12); color: #b45309; }
.crew-activity-badge.tone-red { background: rgba(220, 38, 38, 0.12); color: #b91c1c; }

.crew-activity-item.is-compact {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
}

.crew-activity-item.is-compact::before {
  display: none;
}

.crew-status-penempatan-hint,
.crew-status-auto-ready-hint {
  margin: 0 0 10px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.45;
}

.crew-status-penempatan-hint {
  background: rgba(14, 116, 144, 0.08);
  border: 1px solid rgba(14, 116, 144, 0.2);
  color: #0e7490;
}

.crew-status-auto-ready-hint {
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.2);
  color: #15803d;
}

/* —— ABK Onboard table & actions —— */
.page-abk-index .abk-table-onboard .col-no,
.page-abk-index .abk-table-onboard .col-signon,
.page-abk-index .abk-table-onboard .col-rencana,
.page-abk-index .abk-table-onboard .col-aksi-onboard {
  text-align: center;
}

.page-abk-index .abk-table-onboard .onboard-date-val {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.page-abk-index .abk-table-onboard .col-nama-onboard {
  width: 18%;
  min-width: 0;
  text-align: left !important;
}

.cell-onboard-nama {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(8px, 0.8vw, 12px);
  text-align: left;
}

.cell-onboard-nama .abk-photo-link,
.cell-onboard-nama > .abk-photo-empty {
  display: block;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
}

.cell-onboard-nama .abk-photo,
.cell-onboard-nama .abk-photo-empty {
  width: clamp(44px, 3.2vw, 52px);
  height: clamp(44px, 3.2vw, 52px);
  border-radius: 50%;
}

.cell-onboard-nama-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
}

.cell-onboard-nama-meta .cell-uniq-id {
  margin-top: 0;
  font-size: var(--fluid-tight-fs, 0.62rem);
  max-width: 100%;
}
.cell-onboard-nama-meta .cell-nama-nik,
.cell-onboard-nama-meta .cell-nama-lahir {
  font-size: var(--fluid-tight-fs, 0.62rem);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cell-onboard-nama-meta .cell-nama-lahir {
  font-weight: 600;
  color: #b45309;
  font-variant-numeric: tabular-nums;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.page-abk-index .abk-table-onboard .col-nama-onboard .cell-nama-main {
  font-size: var(--fluid-nama-fs, 0.84rem);
  line-height: 1.35;
  font-weight: 700;
  word-break: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.cell-onboard-nama-hp {
  font-size: var(--fluid-tight-fs, 0.62rem);
  line-height: 1.3;
  color: var(--muted, #64748b);
  word-break: break-all;
  white-space: normal;
}

.page-abk-index .abk-table-onboard .col-onboard-monitoring {
  width: 16%;
  min-width: 0;
  text-align: left !important;
}

/* Data Crew Bekerja — layout selaras abppemalang */
.abk-table-onboard-legacy {
  font-size: 0.78rem;
}
.abk-table-onboard-legacy th {
  font-size: 0.76rem;
  white-space: nowrap;
}
.abk-table-onboard-legacy .col-onboard-dokumen { min-width: 9.5rem; }
.abk-table-onboard-legacy .col-onboard-jabatan { width: 5.5rem; }
.abk-table-onboard-legacy .col-onboard-kapal-data { min-width: 8.5rem; }
.abk-table-onboard-legacy .col-onboard-agency { min-width: 9rem; }
.abk-table-onboard-legacy .col-onboard-keluarga { min-width: 8rem; }
.abk-table-onboard-legacy .col-aksi-onboard { min-width: 11rem; }

.cell-onboard-legacy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.35;
  text-align: left;
}
.onboard-legacy-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.35rem;
  align-items: baseline;
}
.onboard-legacy-label {
  color: var(--muted, #64748b);
  font-weight: 600;
  white-space: nowrap;
}
.onboard-legacy-value {
  font-weight: 600;
  word-break: break-word;
}
.onboard-legacy-value.is-kapal { color: #b91c1c; }
.onboard-legacy-value.is-warn { color: #dc2626; }
.onboard-legacy-value.is-ok { color: #15803d; }
.onboard-legacy-value.is-salary { color: #334155; }
.onboard-legacy-value.is-salary-app { color: #15803d; }
.onboard-agency-name {
  font-weight: 700;
  margin-bottom: 2px;
  word-break: break-word;
}
.onboard-keluarga-nama {
  font-weight: 700;
  word-break: break-word;
}
.onboard-keluarga-telp {
  font-size: 0.74rem;
  color: var(--muted, #64748b);
  word-break: break-all;
}
.onboard-jabatan-val {
  font-weight: 700;
  font-size: 0.8rem;
}
.btn-onboard-icon.btn-onboard-kapal-secondary {
  opacity: 0.85;
}
.selama-bekerja-form-wrap-top {
  border: 1px solid rgba(15, 23, 41, 0.1);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  background: rgba(248, 250, 252, 0.65);
}
.selama-bekerja-foot {
  margin-top: 16px;
}

.cell-onboard-monitoring {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.cell-onboard-monitoring-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.onboard-monitor-count-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.12);
  color: #4338ca;
  font-size: var(--fluid-tight-fs, 0.62rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.onboard-monitor-latest-date {
  font-size: var(--fluid-tight-fs, 0.62rem);
  font-weight: 600;
  color: var(--muted, #64748b);
  white-space: nowrap;
}

.cell-onboard-monitoring .onboard-monitor-cat-chip {
  display: inline-block;
  max-width: 100%;
  padding: 2px 7px;
  border-radius: 7px;
  background: rgba(15, 23, 42, 0.06);
  color: var(--navy, #0f172a);
  font-size: var(--fluid-tight-fs, 0.62rem);
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cell-onboard-monitoring-summary {
  margin: 0;
  font-size: var(--fluid-table-fs, 0.78rem);
  line-height: 1.35;
  color: var(--navy, #0f172a);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  word-break: break-word;
}

.cell-onboard-monitoring-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.btn-onboard-bukti-sm {
  padding: 2px 8px;
  font-size: 0.68rem;
}

.btn-onboard-monitor-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 9px;
  border-radius: 8px;
  border: 1px solid rgba(99, 102, 241, 0.28);
  background: rgba(238, 242, 255, 0.75);
  color: #4338ca;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.btn-onboard-monitor-open:hover {
  background: rgba(238, 242, 255, 1);
  border-color: rgba(99, 102, 241, 0.45);
}

.cell-onboard-monitoring-empty {
  gap: 6px;
}

.cell-onboard-monitoring-empty-label {
  font-size: var(--fluid-table-fs, 0.78rem);
}

.page-abk-index .abk-table-onboard .col-agency-onboard {
  font-size: 0.78rem;
  line-height: 1.4;
  max-width: 200px;
  word-break: break-word;
}

.page-abk-index .abk-table-onboard .col-kapal-onboard {
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
}

.page-abk-index .abk-table-onboard .col-signon,
.page-abk-index .abk-table-onboard .col-rencana {
  width: 9%;
  white-space: nowrap;
}

.page-abk-index .abk-table-onboard .col-aksi-onboard {
  width: auto;
  min-width: 210px;
  max-width: none;
  padding-left: 8px;
  padding-right: 8px;
  overflow: visible;
}

.onboard-aksi-group {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  min-width: 0;
  max-width: none;
  width: 100%;
}

.onboard-aksi-icons {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 4px;
  position: relative;
  z-index: 1;
}

.btn-onboard-profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 10px;
  border-radius: 9px;
  border: 1px solid rgba(99, 102, 241, 0.35);
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  color: #3730a3;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s, transform 0.12s, box-shadow 0.15s;
}

.btn-onboard-profile:hover,
.btn-onboard-profile:focus-visible {
  color: #312e81;
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  border-color: rgba(79, 70, 229, 0.45);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.18);
}

.btn-onboard-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 9px;
  border: 1px solid rgba(15, 23, 41, 0.12);
  background: #fff;
  color: var(--navy, #0f172a);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s, transform 0.12s;
  z-index: 1;
}

.onboard-icon-glyph {
  font-size: 0.92rem;
  line-height: 1;
}

.btn-onboard-icon:hover,
.btn-onboard-icon:focus-visible {
  transform: translateY(-1px);
  background: rgba(15, 23, 41, 0.04);
  border-color: rgba(15, 23, 41, 0.22);
  z-index: 40;
}

.btn-onboard-icon::after {
  content: attr(data-tip);
  position: absolute;
  top: 50%;
  right: calc(100% + 8px);
  left: auto;
  bottom: auto;
  transform: translateY(-50%) translateX(4px);
  padding: 5px 9px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.96);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
  z-index: 60;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.22);
}

.btn-onboard-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(100% + 0px);
  left: auto;
  bottom: auto;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: rgba(15, 23, 42, 0.96);
  border-top-color: transparent;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s, visibility 0.15s;
  pointer-events: none;
  z-index: 60;
}

.btn-onboard-icon:hover::after,
.btn-onboard-icon:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.btn-onboard-icon:hover::before,
.btn-onboard-icon:focus-visible::before {
  opacity: 1;
  visibility: visible;
}

/* Tooltip ikon aksi di tabel: ke kiri (kolom paling kanan) agar tidak tertutup ikon lain */
.page-abk-index .abk-table-fluid tbody tr,
.page-abk-penempatan .abk-table-fluid tbody tr {
  position: relative;
}

.page-abk-index .abk-table-fluid tbody tr:has(.btn-onboard-icon:hover),
.page-abk-index .abk-table-fluid tbody tr:has(.btn-onboard-icon:focus-visible),
.page-abk-penempatan .abk-table-fluid tbody tr:has(.btn-onboard-icon:hover),
.page-abk-penempatan .abk-table-fluid tbody tr:has(.btn-onboard-icon:focus-visible) {
  z-index: 8;
}

.page-abk-index .abk-table-fluid tbody td.col-aksi-list,
.page-abk-index .abk-table-fluid tbody td.col-aksi-pulang,
.page-abk-index .abk-table-fluid tbody td.col-aksi-onboard,
.page-abk-index .abk-table-fluid tbody td.col-onboard-monitoring,
.page-abk-index .abk-table-fluid tbody td.col-aksi,
.page-abk-penempatan .abk-table-fluid tbody td.col-aksi {
  overflow: visible;
  position: relative;
  z-index: 1;
}

.page-abk-index .abk-table-fluid tbody td.col-aksi-onboard:has(.btn-onboard-icon:hover),
.page-abk-index .abk-table-fluid tbody td.col-aksi-onboard:has(.btn-onboard-icon:focus-visible),
.page-abk-index .abk-table-fluid tbody td.col-aksi-list:has(.btn-onboard-icon:hover),
.page-abk-index .abk-table-fluid tbody td.col-aksi-list:has(.btn-onboard-icon:focus-visible),
.page-abk-index .abk-table-fluid tbody td.col-aksi-pulang:has(.btn-onboard-icon:hover),
.page-abk-index .abk-table-fluid tbody td.col-aksi-pulang:has(.btn-onboard-icon:focus-visible) {
  z-index: 9;
}

.page-abk-index .abk-table-fluid .btn-onboard-icon::after,
.page-abk-penempatan .abk-table-fluid .btn-onboard-icon::after {
  top: 50%;
  right: calc(100% + 8px);
  left: auto;
  bottom: auto;
  transform: translateY(-50%) translateX(4px);
  z-index: 80;
}

.page-abk-index .abk-table-fluid .btn-onboard-icon::before,
.page-abk-penempatan .abk-table-fluid .btn-onboard-icon::before {
  top: 50%;
  right: calc(100% + 0px);
  left: auto;
  bottom: auto;
  border-color: transparent;
  border-left-color: rgba(15, 23, 42, 0.96);
  z-index: 80;
}

.page-abk-index .abk-table-fluid .btn-onboard-icon:hover::after,
.page-abk-index .abk-table-fluid .btn-onboard-icon:focus-visible::after,
.page-abk-penempatan .abk-table-fluid .btn-onboard-icon:hover::after,
.page-abk-penempatan .abk-table-fluid .btn-onboard-icon:focus-visible::after {
  transform: translateY(-50%) translateX(0);
}

.page-abk-index .abk-table-fluid .btn-onboard-icon:hover::before,
.page-abk-index .abk-table-fluid .btn-onboard-icon:focus-visible::before,
.page-abk-penempatan .abk-table-fluid .btn-onboard-icon:hover::before,
.page-abk-penempatan .abk-table-fluid .btn-onboard-icon:focus-visible::before {
  transform: translateY(-50%);
}

.btn-onboard-icon.btn-onboard-doc { border-color: rgba(14, 165, 233, 0.35); background: rgba(224, 242, 254, 0.5); }
.btn-onboard-icon.btn-onboard-monitor { border-color: rgba(99, 102, 241, 0.35); background: rgba(238, 242, 255, 0.65); }
.btn-onboard-icon.btn-onboard-sign { border-color: rgba(245, 158, 11, 0.4); background: rgba(255, 251, 235, 0.7); }
.btn-onboard-icon.btn-onboard-kapal { border-color: rgba(13, 148, 136, 0.35); background: rgba(240, 253, 250, 0.65); }
.btn-onboard-icon.btn-onboard-pulang { border-color: rgba(225, 29, 72, 0.35); background: rgba(255, 241, 242, 0.85); }
.btn-onboard-icon.btn-onboard-edit { border-color: rgba(15, 23, 41, 0.15); background: rgba(248, 250, 252, 0.9); }

.onboard-pulang-hint {
  margin-bottom: 0.65rem;
}

/* —— Modal Pulang (compact, no scroll) —— */
.onboard-modal-pulang-wrap .onboard-modal-pulang {
  overflow: hidden;
}
.onboard-modal-pulang-wrap .modal-backdrop {
  backdrop-filter: blur(6px);
}
.onboard-modal-pulang {
  width: min(640px, calc(100vw - 20px));
  max-height: min(92vh, 680px);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(225, 29, 72, 0.12);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
}
.onboard-pulang-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px 12px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #fff1f2 0%, #fff 55%, #f8fafc 100%);
  border-bottom: 1px solid rgba(225, 29, 72, 0.08);
}
.onboard-pulang-hero-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.onboard-pulang-hero-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  border-radius: 12px;
  background: linear-gradient(145deg, #ffe4e6, #fff);
  border: 1px solid rgba(225, 29, 72, 0.15);
}
.onboard-pulang-hero-text {
  min-width: 0;
  flex: 1;
}
.onboard-pulang-hero-text h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.2;
  color: var(--navy, #0f172a);
}
.onboard-pulang-sub {
  margin: 3px 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.onboard-pulang-lead {
  margin: 5px 0 0;
  font-size: 0.72rem;
  line-height: 1.35;
  color: #64748b;
}
.onboard-pulang-close {
  flex-shrink: 0;
}
.onboard-pulang-form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.onboard-pulang-form-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 12px 18px 8px;
}
.onboard-pulang-form-foot {
  flex-shrink: 0;
  padding: 10px 18px 14px;
  background: #fff;
  border-top: 1px solid rgba(15, 23, 41, 0.08);
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.04);
}
.onboard-pulang-badge {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(225, 29, 72, 0.1);
  color: #be123c;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.onboard-pulang-badge.is-blacklist {
  background: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}
.onboard-pulang-penempatan {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 6px;
  margin-bottom: 10px;
}
.onboard-pulang-chip {
  padding: 7px 10px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 41, 0.07);
  min-width: 0;
}
.onboard-pulang-chip dt {
  margin: 0 0 2px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}
.onboard-pulang-chip dd {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy, #0f172a);
}
.onboard-pulang-chip-agency dd {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 600;
}
.onboard-pulang-chip.is-date dd {
  font-variant-numeric: tabular-nums;
  color: #b45309;
}
.onboard-pulang-grid {
  gap: 8px 12px;
  margin-bottom: 0;
}
.onboard-field-label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #334155;
}
.onboard-field-label em {
  font-style: normal;
  color: #e11d48;
}
.onboard-field-label .hint-compact {
  font-weight: 500;
  color: #94a3b8;
}
.onboard-pulang-form .onboard-select,
.onboard-pulang-form .onboard-textarea,
.onboard-pulang-form .onboard-date-field .date-input {
  border: 1px solid rgba(15, 23, 41, 0.12);
  border-radius: 8px;
  background: #fff;
  font-size: 0.84rem;
}
.onboard-pulang-form .onboard-select:focus,
.onboard-pulang-form .onboard-textarea:focus,
.onboard-pulang-form .onboard-date-field .date-input:focus {
  border-color: rgba(225, 29, 72, 0.4);
  box-shadow: 0 0 0 2px rgba(225, 29, 72, 0.1);
  outline: none;
}
.onboard-pulang-form .onboard-textarea {
  min-height: 52px;
  max-height: 72px;
  resize: vertical;
  padding: 8px 10px;
  line-height: 1.4;
}
.onboard-pulang-form[data-no-upper] textarea,
.onboard-pulang-form[data-no-upper] input[type="text"] {
  text-transform: none;
}
.onboard-pulang-upload-wrap {
  margin-top: 0;
}
.onboard-pulang-upload-box {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1.5px dashed rgba(225, 29, 72, 0.25);
  background: #fffafa;
  cursor: pointer;
  min-height: 44px;
}
.onboard-pulang-upload-box:hover,
.onboard-pulang-upload-box.is-selected {
  border-color: rgba(225, 29, 72, 0.45);
  background: #fff5f5;
}
.onboard-pulang-upload-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 228, 230, 0.85);
  font-size: 0.95rem;
}
.onboard-pulang-upload-copy {
  flex-shrink: 0;
}
.onboard-pulang-upload-copy strong {
  font-size: 0.78rem;
  color: #475569;
  font-weight: 600;
}
.onboard-pulang-upload-name {
  flex: 1;
  min-width: 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: #be123c;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.onboard-pulang-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.onboard-pulang-blacklist-wrap {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 41, 0.08);
  background: #f8fafc;
}
.onboard-pulang-blacklist-wrap.is-kabur-highlight {
  border-color: rgba(225, 29, 72, 0.22);
  background: rgba(255, 241, 242, 0.5);
}
.onboard-pulang-blacklist-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin: 0;
}
.onboard-pulang-blacklist-label input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: #be123c;
}
.onboard-pulang-blacklist-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #334155;
}
.onboard-pulang-blacklist-text strong {
  font-size: 0.8rem;
  color: #0f172a;
}
.onboard-pulang-blacklist-text span {
  font-size: 0.72rem;
  color: #64748b;
}
.onboard-pulang-form-foot .onboard-form-error {
  margin: 0 0 8px;
  padding: 6px 10px;
  font-size: 0.78rem;
}
.onboard-pulang-actions {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.btn-onboard-pulang-submit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 148px;
  justify-content: center;
  padding: 10px 16px;
  font-size: 0.88rem;
  background: linear-gradient(135deg, #be123c, #e11d48);
  border-color: #be123c;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.22);
}
.btn-onboard-pulang-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, #9f1239, #be123c);
}
.btn-onboard-pulang-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}
.btn-pulang-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.68rem;
}
.onboard-pulang-kabur-notice {
  margin: 0 0 8px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(254, 243, 199, 0.65);
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-size: 0.74rem;
  line-height: 1.4;
  color: #78350f;
}
.onboard-pulang-kabur-notice strong {
  color: #92400e;
}
@media (max-width: 640px) {
  .onboard-pulang-penempatan {
    grid-template-columns: 1fr 1fr;
  }
  .onboard-pulang-chip-agency {
    grid-column: 1 / -1;
  }
  .onboard-pulang-hero { padding: 12px 14px 10px; }
  .onboard-pulang-form-body { padding: 10px 14px 6px; }
  .onboard-pulang-form-foot { padding: 8px 14px 12px; }
  .onboard-pulang-grid { grid-template-columns: 1fr; }
}

/* —— ABK Pulang: aksi daftar ulang —— */
.page-abk-index .col-aksi-pulang {
  min-width: 118px;
  width: 9%;
  white-space: normal;
  overflow: visible;
}
.pulang-aksi-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
}
.pulang-aksi-group .btn-list-aksi {
  font-size: 0.64rem;
  padding: 7px 8px;
}
.btn-pulang-daftar-lux {
  color: #0f3d36 !important;
  border-color: #0f766e !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 40%),
    linear-gradient(180deg, #ccfbf1 0%, #5eead4 52%, #2dd4bf 100%) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 -2px 0 rgba(15, 118, 110, 0.22) inset,
    0 3px 0 #0f766e,
    0 5px 10px rgba(15, 118, 110, 0.22) !important;
}
.btn-pulang-daftar-lux:hover {
  color: #042f2e !important;
  filter: brightness(1.03);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 -2px 0 rgba(15, 118, 110, 0.22) inset,
    0 4px 0 #0f766e,
    0 7px 14px rgba(15, 118, 110, 0.28) !important;
}
.btn-pulang-daftar-lux:active {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    0 1px 0 #0f766e,
    0 2px 4px rgba(15, 118, 110, 0.18) !important;
}
/* fallback ikon lama (jika masih dipakai di tempat lain) */
.btn-onboard-icon.btn-pulang-daftar {
  border-color: rgba(13, 148, 136, 0.4);
  background: rgba(240, 253, 250, 0.85);
}
.btn-onboard-icon.btn-pulang-profil {
  border-color: rgba(14, 165, 233, 0.35);
  background: rgba(224, 242, 254, 0.5);
}
.btn-onboard-icon.btn-pulang-edit {
  border-color: rgba(15, 23, 41, 0.15);
  background: rgba(248, 250, 252, 0.9);
}

/* —— Modal Daftar Ulang (Pulang → Terdaftar) —— */
.pulang-rejoin-wrap .onboard-modal-pulang-rejoin {
  overflow: hidden;
}
.pulang-rejoin-wrap .modal-backdrop {
  backdrop-filter: blur(6px);
}
.onboard-modal-pulang-rejoin {
  width: min(640px, calc(100vw - 20px));
  max-height: min(92vh, 680px);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(13, 148, 136, 0.14);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
}
.pulang-rejoin-hero {
  background: linear-gradient(135deg, #f0fdfa 0%, #fff 55%, #f8fafc 100%);
  border-bottom-color: rgba(13, 148, 136, 0.1);
}
.pulang-rejoin-hero-icon {
  background: linear-gradient(145deg, #ccfbf1, #fff);
  border-color: rgba(13, 148, 136, 0.18);
}
.pulang-rejoin-badge {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.12);
  color: #0f766e;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.pulang-rejoin-upload-box.is-selected .onboard-pulang-upload-name {
  color: #0f766e;
}
.btn-pulang-rejoin-submit {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  border: none;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.22);
}
.btn-pulang-rejoin-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, #115e59, #0f766e);
}
.btn-pulang-rejoin-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}
.abk-table tbody tr.onboard-row-leaving {
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 0.26s ease, transform 0.26s ease;
}
.onboard-pulang-flash.is-fading {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.crew-kabur-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(254, 243, 199, 0.9);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #92400e;
}
.crew-kabur-warning-banner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(254, 243, 199, 0.75), rgba(255, 251, 235, 0.5));
  border: 1px solid rgba(245, 158, 11, 0.35);
}
.crew-kabur-warning-icon {
  font-size: 1.2rem;
  line-height: 1;
}
.crew-kabur-warning-text strong {
  display: block;
  font-size: 0.84rem;
  color: #92400e;
  margin-bottom: 4px;
}
.crew-kabur-warning-text p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #78350f;
}

.cell-status-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  line-height: 1.15;
  min-width: 0;
}
.crew-ex-abp-note {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #64748b;
  line-height: 1.2;
  white-space: nowrap;
}
.crew-ex-abp-note-inline {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(241, 245, 249, 0.95);
  border: 1px solid rgba(100, 116, 139, 0.22);
  color: #475569;
}
.crew-ex-abp-info-banner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(240, 253, 250, 0.85), rgba(248, 250, 252, 0.65));
  border: 1px solid rgba(13, 148, 136, 0.2);
}
.crew-ex-abp-info-icon {
  font-size: 1.15rem;
  line-height: 1;
}
.crew-ex-abp-info-text strong {
  display: block;
  font-size: 0.84rem;
  color: #0f766e;
  margin-bottom: 4px;
}
.crew-ex-abp-info-text p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #334155;
}

.btn-onboard-aksi {
  display: block;
  width: 100%;
  padding: 5px 8px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 41, 0.12);
  background: #fff;
  color: var(--navy, #0f172a);
  font-size: 0.72rem;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.35;
  white-space: normal;
}
.btn-onboard-aksi:hover {
  background: rgba(15, 23, 41, 0.04);
  border-color: rgba(15, 23, 41, 0.2);
}
.btn-onboard-doc { border-color: rgba(14, 165, 233, 0.35); color: #0369a1; }
.btn-onboard-monitor { border-color: rgba(99, 102, 241, 0.35); color: #4338ca; }
.btn-onboard-sign { border-color: rgba(245, 158, 11, 0.4); color: #b45309; }
.btn-onboard-kapal { border-color: rgba(13, 148, 136, 0.35); color: #0f766e; }
.btn-onboard-edit { border-color: rgba(15, 23, 41, 0.15); text-align: center; }
.btn-onboard-mini-doc {
  font-size: 0.72rem;
  padding: 4px 8px;
}
.onboard-modal { z-index: 100160; }
.onboard-modal-card {
  width: min(720px, calc(100vw - 24px));
  max-height: min(92vh, 900px);
  overflow: auto;
}
.onboard-modal-card-sm { width: min(520px, calc(100vw - 24px)); }
.onboard-modal-sub {
  margin: 4px 0 0;
  font-size: 0.88rem;
  color: var(--muted, #64748b);
}
.onboard-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
  margin-bottom: 12px;
}
.onboard-form-grid label.full { grid-column: 1 / -1; }
.onboard-form-grid input,
.onboard-form-grid select,
.onboard-form-grid textarea {
  width: 100%;
  margin-top: 4px;
}
.onboard-form-error {
  margin: 0 0 10px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: #b91c1c;
  font-size: 0.85rem;
}
.onboard-monitor-list {
  max-height: 280px;
  overflow: auto;
  margin-bottom: 14px;
  padding: 2px 4px;
  border: 1px solid rgba(15, 23, 41, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.6);
}
.onboard-monitor-timeline {
  list-style: none;
  margin: 0;
  padding: 8px;
}
.onboard-monitor-item {
  padding: 10px 10px 10px 12px;
  border-left: 3px solid rgba(99, 102, 241, 0.45);
  margin-bottom: 8px;
  background: rgba(248, 250, 252, 0.9);
  border-radius: 0 8px 8px 0;
}
.onboard-monitor-item-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 4px;
}
.onboard-monitor-cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #4338ca;
}
.onboard-monitor-summary {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
}
.onboard-monitor-detail {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: var(--muted, #64748b);
}
.onboard-monitor-meta {
  margin: 6px 0 0;
  font-size: 0.72rem;
}
.onboard-bukti-field input[type="file"] {
  margin-top: 6px;
  font-size: 0.82rem;
}
.onboard-monitor-bukti {
  margin: 8px 0 0;
}
.btn-onboard-bukti {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(14, 165, 233, 0.35);
  background: rgba(224, 242, 254, 0.55);
  color: #0369a1;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}
.btn-onboard-bukti:hover {
  background: rgba(224, 242, 254, 0.95);
  border-color: rgba(14, 165, 233, 0.55);
}
.onboard-monitor-form {
  border-top: 1px dashed rgba(15, 23, 41, 0.12);
  padding-top: 12px;
}

/* History Selama Bekerja — halaman penuh + tabel */
.selama-bekerja-panel {
  max-width: 1100px;
}
.selama-bekerja-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 16px;
}
.selama-bekerja-toolbar h1 {
  margin: 0 0 4px;
  font-size: 1.35rem;
}
.selama-bekerja-sub {
  margin: 0;
  font-size: 0.9rem;
}
.selama-bekerja-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.selama-bekerja-table {
  margin-bottom: 20px;
}
.selama-bekerja-table-compact {
  font-size: 0.85rem;
}
.selama-bekerja-table th {
  background: linear-gradient(180deg, #1e40af 0%, #1d4ed8 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
}
.selama-bekerja-table td {
  vertical-align: top;
  padding: 10px 12px;
}
.selama-bekerja-date {
  font-weight: 600;
  white-space: nowrap;
}
.selama-bekerja-tipe {
  font-size: 0.78rem;
  margin-top: 2px;
}
.selama-bekerja-keterangan {
  font-size: 0.88rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}
.selama-bekerja-doc-link {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(34, 197, 94, 0.4);
  background: rgba(220, 252, 231, 0.6);
  color: #15803d;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.selama-bekerja-doc-link:hover {
  background: rgba(220, 252, 231, 0.95);
  border-color: rgba(34, 197, 94, 0.6);
}
.selama-bekerja-empty {
  padding: 24px;
  text-align: center;
  border: 1px dashed rgba(15, 23, 41, 0.12);
  border-radius: 12px;
  margin-bottom: 20px;
}
.selama-bekerja-form-wrap {
  border-top: 1px solid rgba(15, 23, 41, 0.1);
  padding-top: 20px;
  margin-top: 8px;
}
.selama-bekerja-form-title {
  margin: 0 0 12px;
  font-size: 1.05rem;
}
.selama-bekerja-form textarea {
  min-height: 120px;
}

.onboard-sign-meta {
  margin: 0 0 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy, #0f172a);
}
@media (max-width: 900px) {
  .onboard-form-grid { grid-template-columns: 1fr; }
  .page-abk-index .abk-table-onboard .col-aksi-onboard { min-width: 196px; }
}

/* Database ABK — profil lengkap per ABK */
.page-abk-database {
  animation: abkIndexFade 0.4s ease-out;
}

.page-abk-database .abk-db-panel {
  padding: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  border: none;
}

.abk-db-hero {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(20px, 2vw, 28px) clamp(18px, 2vw, 28px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 248, 245, 0.95) 55%, rgba(255, 251, 240, 0.9) 100%);
  border-bottom: 1px solid rgba(201, 169, 98, 0.2);
  border-radius: var(--radius, 16px) var(--radius, 16px) 0 0;
}

.abk-db-hero-top {
  display: flex;
  align-items: flex-start;
  gap: clamp(14px, 2vw, 22px);
  min-width: 0;
}

.abk-db-hero-photo {
  flex-shrink: 0;
}

.abk-db-photo,
.abk-db-photo-placeholder {
  width: clamp(96px, 10vw, 128px);
  height: clamp(96px, 10vw, 128px);
  border-radius: 18px;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.95);
  background: #fff;
  box-shadow:
    0 0 0 2px rgba(184, 134, 11, 0.35),
    0 8px 24px rgba(15, 23, 42, 0.12);
}

.abk-db-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
}

.abk-db-hero-identity {
  flex: 1 1 auto;
  min-width: 0;
  padding-top: 2px;
}

.abk-db-hero-identity h1 {
  margin: 4px 0 10px;
  font-size: clamp(1.35rem, 1vw + 1.1rem, 1.85rem);
  letter-spacing: 0.02em;
  color: var(--navy, #0f172a);
  line-height: 1.15;
}

.abk-db-hero-meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.abk-db-hero-id {
  font-size: 0.82rem;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.06);
}

.abk-db-tag-muted {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(100, 116, 139, 0.12);
  color: #64748b;
}

.abk-db-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 0 clamp(18px, 2vw, 28px) 18px;
  background: linear-gradient(180deg, rgba(250, 248, 245, 0.95) 0%, rgba(248, 246, 240, 0.85) 100%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.abk-db-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  min-width: 0;
}

.abk-db-stat-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.abk-db-stat-value-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.abk-db-stat-value-row strong {
  font-size: 1.35rem;
  line-height: 1;
  color: var(--navy, #0f172a);
}

.abk-db-stat-suffix {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
}

.abk-db-stat-bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
  margin-top: 2px;
}

.abk-db-stat-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold, #b8860b), #d4a853);
}

.abk-db-stat-teal .abk-db-stat-bar span {
  background: linear-gradient(90deg, #0d9488, #14b8a6);
}

.abk-db-hero-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 14px;
  width: 100%;
  padding: 2px 0 4px;
}

.abk-db-action-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.abk-db-action-group-label {
  display: inline-block;
  margin: 0;
  padding: 0 2px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.45);
}

.abk-db-action-group-print .abk-db-action-group-label {
  color: #9a7b2e;
}

.abk-db-action-group-ops .abk-db-action-group-label {
  color: #334155;
}

.abk-db-action-group-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.abk-db-action-group-print {
  padding: 8px 10px 9px;
  border-radius: 14px;
  border: 1px solid rgba(201, 169, 98, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 252, 245, 0.95) 0%, rgba(250, 244, 230, 0.88) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.abk-db-action-group-ops {
  padding: 8px 10px 9px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.abk-db-action-group-nav {
  margin-left: auto;
  align-self: center;
  padding-bottom: 2px;
}

.abk-db-hero-actions .btn-abk-db-action-print {
  border-color: rgba(184, 134, 11, 0.38);
  background: linear-gradient(180deg, #fffefb 0%, #f7efd9 100%);
}

.abk-db-hero-actions .btn-abk-db-action-print .abk-db-action-ico {
  font-size: 0.85em;
  line-height: 1;
  opacity: 0.85;
}

.abk-db-hero-actions .btn-abk-db-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 0 0 auto;
  min-height: 36px;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid rgba(184, 134, 11, 0.32);
  background: linear-gradient(180deg, #ffffff 0%, #faf8f4 52%, #f3efe6 100%);
  color: var(--navy, #0f172a);
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.abk-db-hero-actions .btn-abk-db-action:hover {
  border-color: rgba(184, 134, 11, 0.58);
  background: linear-gradient(180deg, #fffef9 0%, #fff8eb 55%, #f8edd8 100%);
  box-shadow:
    0 4px 14px rgba(184, 134, 11, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transform: translateY(-1px);
  color: var(--navy, #0f172a);
}

.abk-db-hero-actions .btn-abk-db-action:active {
  transform: translateY(0);
  box-shadow:
    0 1px 4px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.abk-db-hero-actions .btn-abk-db-action-warn {
  border-color: rgba(234, 88, 12, 0.28);
  background: linear-gradient(180deg, #fffaf5 0%, #fff3e8 100%);
  color: #9a3412;
}

.abk-db-hero-actions .btn-abk-db-action-warn:hover {
  border-color: rgba(234, 88, 12, 0.45);
  background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 100%);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.12);
  color: #9a3412;
}

.abk-db-hero-actions .btn-abk-db-action-violet {
  border-color: rgba(109, 40, 217, 0.28);
  background: linear-gradient(180deg, #faf5ff 0%, #f3e8ff 100%);
  color: #5b21b6;
}

.abk-db-hero-actions .btn-abk-db-action-violet:hover {
  border-color: rgba(109, 40, 217, 0.45);
  background: linear-gradient(180deg, #f5f3ff 0%, #ede9fe 100%);
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.12);
  color: #5b21b6;
}

.abk-db-hero-actions .btn-abk-db-action-danger {
  border-color: rgba(185, 28, 28, 0.3);
  background: linear-gradient(180deg, #fff5f5 0%, #fee2e2 100%);
  color: #991b1b;
}

.abk-db-hero-actions .btn-abk-db-action-danger:hover {
  border-color: rgba(185, 28, 28, 0.5);
  background: linear-gradient(180deg, #fef2f2 0%, #fecaca 100%);
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.14);
  color: #7f1d1d;
}

.abk-db-hero-actions .btn-abk-db-action-muted {
  color: #64748b;
  border-color: rgba(100, 116, 139, 0.22);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.abk-db-hero-actions .btn-abk-db-action-muted:hover {
  color: #475569;
  border-color: rgba(100, 116, 139, 0.35);
}

.abk-db-print-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.abk-db-print-actions .btn-abk-db-print,
.abk-db-print-actions .btn-ghost-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-start;
  text-align: left;
  white-space: nowrap;
}

.abk-db-print-icon {
  font-size: 0.95em;
  line-height: 1;
}

.abk-db-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 12px clamp(18px, 2vw, 28px);
  position: sticky;
  top: var(--topbar-height, 64px);
  z-index: 25;
  background: rgba(248, 246, 240, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.abk-db-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy, #0f172a);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.1);
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.abk-db-nav-link:hover {
  background: rgba(184, 134, 11, 0.1);
  border-color: rgba(184, 134, 11, 0.35);
}

.abk-db-nav-link.is-active {
  background: linear-gradient(135deg, var(--navy, #0f172a), #1e293b);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.abk-db-nav-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.abk-db-content {
  padding: 20px clamp(18px, 2vw, 28px) 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: rgba(248, 246, 240, 0.5);
}

.abk-db-section {
  scroll-margin-top: calc(var(--topbar-height, 64px) + 80px);
  margin: 0;
  padding: 0;
  border: none;
}

.abk-db-section-panel {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.abk-db-section-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: linear-gradient(180deg, rgba(250, 248, 245, 0.6) 0%, #fff 100%);
}

.abk-db-section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 1.25rem;
  background: rgba(184, 134, 11, 0.12);
  border: 1px solid rgba(184, 134, 11, 0.22);
  flex-shrink: 0;
}

.abk-db-section-eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold, #b8860b);
  margin-bottom: 4px;
}

.abk-db-section-head h2 {
  margin: 0 0 4px;
  font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.25rem);
  color: var(--navy, #0f172a);
}

.abk-db-section-desc {
  margin: 0;
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.5;
}

.abk-db-section-body {
  padding: 20px 22px 22px;
}

.abk-db-biodata-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.abk-db-card {
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.65);
  border: 1px solid rgba(15, 23, 42, 0.07);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.abk-db-card-biodata {
  background: #fff;
}

.abk-db-card-highlight {
  background: linear-gradient(135deg, rgba(255, 251, 235, 0.9) 0%, #fff 100%);
  border-color: rgba(201, 169, 98, 0.25);
  margin-bottom: 18px;
}

.abk-db-card-title,
.abk-db-card h3 {
  margin: 0 0 12px;
  padding-bottom: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy, #0f172a);
  border-bottom: 2px solid rgba(184, 134, 11, 0.25);
}

.abk-db-card-inline {
  margin-bottom: 16px;
}

.abk-db-dl {
  margin: 0;
  flex: 1 1 auto;
}

.abk-db-dl-row {
  display: grid;
  grid-template-columns: minmax(100px, 36%) 1fr;
  gap: 6px 14px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.abk-db-dl-row:last-child {
  border-bottom: none;
}

.abk-db-dl-row dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.abk-db-dl-row dd {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy, #0f172a);
  word-break: break-word;
  line-height: 1.45;
}

.abk-db-dl-inline {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0 16px;
}

.abk-db-penempatan-aktif {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}

.abk-db-penempatan-field {
  display: grid;
  grid-template-columns: minmax(88px, 120px) minmax(0, 1fr);
  gap: 8px 16px;
  align-items: start;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.abk-db-penempatan-field dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  line-height: 1.4;
  padding-top: 2px;
}

.abk-db-penempatan-field dd {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy, #0f172a);
  line-height: 1.45;
  word-break: normal;
  overflow-wrap: anywhere;
}

.abk-db-penempatan-agency dd {
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.abk-db-penempatan-dates {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 720px) {
  .abk-db-penempatan-dates {
    grid-template-columns: 1fr;
  }
}

.abk-db-card-doc-identity {
  grid-column: 1 / -1;
}

.abk-db-doc-id-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
}

.abk-db-doc-id-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.abk-db-doc-id-table thead th {
  padding: 10px 14px;
  text-align: left;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  background: rgba(248, 250, 252, 0.95);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.abk-db-doc-id-table tbody th[scope="row"] {
  padding: 11px 14px;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--navy, #0f172a);
  background: rgba(248, 250, 252, 0.5);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  white-space: nowrap;
  width: 1%;
}

.abk-db-doc-id-table tbody td {
  padding: 11px 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  font-weight: 600;
  color: var(--navy, #0f172a);
  word-break: normal;
}

.abk-db-doc-id-table tbody tr:last-child th,
.abk-db-doc-id-table tbody tr:last-child td {
  border-bottom: none;
}

.abk-db-doc-id-table tbody tr:hover td,
.abk-db-doc-id-table tbody tr:hover th[scope="row"] {
  background: rgba(201, 169, 98, 0.05);
}

.abk-db-doc-summary {
  margin-bottom: 14px;
}

.abk-db-doc-summary-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f766e;
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.2);
}

.abk-db-doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.abk-db-doc-grid > .abk-db-doc-card {
  min-width: 0;
}

.abk-db-doc-card {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  transition: box-shadow 0.15s, border-color 0.15s;
}

.abk-db-doc-card:hover {
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.abk-db-doc-card.is-uploaded {
  border-color: rgba(22, 163, 74, 0.28);
  background: linear-gradient(180deg, rgba(240, 253, 244, 0.85) 0%, #fff 100%);
}

.abk-db-doc-card.is-empty {
  opacity: 0.78;
  background: rgba(248, 250, 252, 0.8);
}

.abk-db-doc-card-head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 2px;
  min-width: 0;
}

.abk-db-doc-card-head strong {
  flex: 1;
  min-width: 0;
  font-size: 0.82rem;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
}

.abk-db-doc-meta {
  margin: 0 0 8px;
  font-size: 0.78rem;
  color: #64748b;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-all;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.abk-db-doc-card .btn-ghost-sm {
  margin-top: auto;
  align-self: flex-start;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.abk-db-subhead {
  margin: 4px 0 12px;
}

.abk-db-subhead-title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.abk-db-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.abk-db-table-wrap-lux {
  margin-bottom: 16px;
}

.abk-db-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.abk-db-table-lux thead th {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #f8fafc;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  border-bottom: 2px solid rgba(201, 169, 98, 0.35);
}

.abk-db-table th,
.abk-db-table td {
  padding: 11px 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  text-align: left;
}

.abk-db-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  background: rgba(248, 250, 252, 0.95);
  font-weight: 700;
}

.abk-db-table tbody tr:hover td {
  background: rgba(201, 169, 98, 0.04);
}

.abk-db-xp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.abk-db-xp-card {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, #fff 0%, rgba(248, 250, 252, 0.7) 100%);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

.abk-db-xp-card.is-clickable {
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.abk-db-xp-card.is-clickable:hover,
.abk-db-xp-card.is-clickable:focus-visible {
  border-color: rgba(184, 134, 11, 0.45);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.abk-db-xp-card-hint {
  margin: 12px 0 0;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.45);
}

.abk-db-xp-modal-card {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
}

.abk-db-xp-modal-head-text {
  display: grid;
  gap: 4px;
}

.abk-db-xp-modal-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold, #b8860b);
}

.abk-db-xp-modal-dl {
  margin: 0;
  display: grid;
  gap: 0;
}

.abk-db-xp-modal-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.08);
}

.abk-db-xp-modal-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.abk-db-xp-modal-row dt {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.55);
}

.abk-db-xp-modal-row dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy, #0f172a);
  line-height: 1.45;
  word-break: break-word;
}

.abk-db-xp-modal-row dd .is-multiline {
  display: block;
  font-weight: 500;
  line-height: 1.5;
  white-space: normal;
}

.abk-db-xp-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.abk-db-xp-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--gold, #b8860b);
  background: rgba(184, 134, 11, 0.12);
  border: 1px solid rgba(184, 134, 11, 0.25);
  flex-shrink: 0;
}

.abk-db-xp-kapal {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy, #0f172a);
  line-height: 1.3;
  word-break: break-word;
}

.abk-db-xp-dl {
  margin: 0;
  display: grid;
  gap: 0;
}

.abk-db-xp-row {
  display: grid;
  grid-template-columns: minmax(90px, 38%) 1fr;
  gap: 8px 12px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.06);
}

.abk-db-xp-row:last-child {
  border-bottom: none;
}

.abk-db-xp-row dt {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.abk-db-xp-row dd {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy, #0f172a);
  word-break: break-word;
}

.abk-db-xp-row-dates dd {
  font-variant-numeric: tabular-nums;
}

.abk-db-monitoring-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.abk-db-monitoring-item {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  border-left: 4px solid #0e7490;
}

.abk-db-monitoring-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 0.78rem;
}

.abk-db-monitoring-cat {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0e7490;
}

.abk-db-monitoring-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--navy, #0f172a);
  margin-bottom: 4px;
}

.abk-db-monitoring-detail {
  margin: 8px 0 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: #334155;
}

.abk-db-monitoring-by {
  margin: 8px 0 0;
  font-size: 0.76rem;
}

.abk-db-status-log {
  margin-top: 4px;
}

.abk-db-timeline-wrap {
  padding: 4px 0 8px 4px;
}

.abk-db-timeline {
  margin: 0;
}

.abk-db-crewlist-riwayat-card {
  margin-bottom: 20px;
}

.abk-db-crewlist-riwayat-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.abk-db-crewlist-riwayat-item {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(248, 250, 252, 0.85);
}

.abk-db-crewlist-riwayat-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}

.abk-db-crewlist-riwayat-meta {
  margin: 6px 0 0;
  font-size: 0.82rem;
}

.abk-db-crewlist-riwayat-alasan {
  margin: 8px 0 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #334155;
}

.abk-db-crewlist-riwayat-alasan-label {
  font-weight: 600;
  color: #b45309;
}

.abk-db-crewlist-history-table .col-crewlist-alasan {
  max-width: 280px;
  font-size: 0.82rem;
  line-height: 1.4;
}

.abk-db-subhead-hint {
  margin: 4px 0 0;
  font-size: 0.82rem;
}

.abk-db-empty {
  padding: 28px 20px;
  text-align: center;
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.9);
  border: 1px dashed rgba(15, 23, 42, 0.12);
}

.abk-db-empty p {
  margin: 0;
  font-size: 0.88rem;
  color: #64748b;
}

.abk-db-empty-xp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.abk-db-empty-icon {
  font-size: 2rem;
  opacity: 0.5;
}

.page-abk-database .alert {
  margin: 12px clamp(18px, 2vw, 28px) 0;
}

@media (max-width: 1100px) {
  .abk-db-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .abk-db-hero {
    flex-direction: column;
  }

  .abk-db-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .abk-db-biodata-grid {
    grid-template-columns: 1fr;
  }

  .abk-db-dl-row,
  .abk-db-xp-row,
  .abk-db-xp-modal-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .abk-db-section-head {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 520px) {
  .abk-db-stats {
    grid-template-columns: 1fr;
  }

  .abk-db-nav-label {
    font-size: 0.76rem;
  }
}

/* Profil ABK — mobile friendly (HP) */
main.page:has(.page-abk-database) {
  max-width: 100%;
  width: 100%;
  padding: 10px 10px 28px;
  overflow-x: clip;
}

@media (max-width: 768px) {
  .page-abk-database .abk-db-panel {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(201, 169, 98, 0.2);
    background: #fff;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  }

  .page-abk-database .alert {
    margin: 10px 12px 0;
  }

  .abk-db-hero {
    gap: 14px;
    padding: 16px 14px;
    border-radius: 0;
  }

  .abk-db-hero-top {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 12px;
    width: 100%;
  }

  .abk-db-photo,
  .abk-db-photo-placeholder {
    width: 88px;
    height: 88px;
    border-radius: 16px;
  }

  .abk-db-hero-identity {
    width: auto;
    min-width: 0;
    flex: 1;
  }

  .abk-db-hero-identity .form-eyebrow {
    font-size: 0.68rem;
  }

  .abk-db-hero-identity h1 {
    font-size: 1.15rem;
    line-height: 1.25;
    word-break: break-word;
  }

  .abk-db-hero-meta {
    justify-content: flex-start;
    gap: 6px;
  }

  .abk-db-hero-actions {
    flex-wrap: wrap;
    align-items: stretch;
    gap: 8px;
    overflow: visible;
    padding-bottom: 4px;
  }

  .abk-db-action-group-nav {
    margin-left: 0;
    width: 100%;
  }

  .abk-db-action-group-btns {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }

  .abk-db-hero-actions::-webkit-scrollbar {
    height: 4px;
  }

  .abk-db-hero-actions::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(184, 134, 11, 0.35);
  }

  .crew-ex-abp-info-banner,
  .crew-kabur-warning-banner {
    flex-direction: column;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
  }

  .abk-db-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
  }

  .abk-db-stat {
    padding: 10px 12px;
  }

  .abk-db-stat-value-row strong {
    font-size: 1.15rem;
  }

  .abk-db-nav {
    top: var(--topbar-height, 120px);
    padding: 10px 12px;
    gap: 6px;
    margin: 0;
  }

  .abk-db-nav-link {
    padding: 8px 12px;
    font-size: 0.74rem;
  }

  .abk-db-content {
    padding: 14px 12px 28px;
    gap: 14px;
  }

  .abk-db-section {
    scroll-margin-top: calc(var(--topbar-height, 120px) + 72px);
  }

  .abk-db-section-head {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 14px 12px;
  }

  .abk-db-section-icon {
    width: 38px;
    height: 38px;
    font-size: 1.05rem;
  }

  .abk-db-section-head h2 {
    font-size: 1rem;
  }

  .abk-db-section-desc {
    font-size: 0.8rem;
  }

  .abk-db-section-body {
    padding: 14px 14px 16px;
  }

  .abk-db-biodata-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .abk-db-card {
    padding: 14px;
  }

  .abk-db-dl-row,
  .abk-db-xp-row,
  .abk-db-xp-modal-row {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 10px 0;
  }

  .abk-db-dl-inline {
    grid-template-columns: 1fr;
  }

  .abk-db-penempatan-field {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 12px;
  }

  .abk-db-doc-grid {
    grid-template-columns: 1fr;
  }

  .abk-db-xp-grid {
    grid-template-columns: 1fr;
  }

  .abk-db-doc-id-wrap {
    overflow-x: visible;
    border: none;
    background: transparent;
  }

  .abk-db-doc-id-table thead {
    display: none;
  }

  .abk-db-doc-id-table tbody tr {
    display: block;
    margin-bottom: 10px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
  }

  .abk-db-doc-id-table tbody th[scope="row"] {
    display: block;
    width: 100%;
    padding: 10px 14px;
    white-space: normal;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  }

  .abk-db-doc-id-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 14px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  }

  .abk-db-doc-id-table tbody td::before {
    content: attr(data-label);
    flex: 0 0 auto;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    padding-top: 2px;
  }

  .abk-db-doc-id-table tbody td:last-child {
    border-bottom: none;
  }

  .abk-db-table-wrap {
    overflow-x: visible;
    border: none;
    background: transparent;
  }

  .abk-db-crewlist-history-table thead {
    display: none;
  }

  .abk-db-crewlist-history-table tbody tr {
    display: block;
    margin-bottom: 12px;
    padding: 0;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  }

  .abk-db-crewlist-history-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 14px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    text-align: right;
  }

  .abk-db-crewlist-history-table tbody td::before {
    content: attr(data-label);
    flex: 0 0 auto;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    text-align: left;
    padding-top: 2px;
  }

  .abk-db-crewlist-history-table tbody td:last-child {
    border-bottom: none;
  }

  .abk-db-crewlist-history-table .col-crewlist-alasan {
    max-width: none;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .abk-db-crewlist-history-table .col-crewlist-alasan::before {
    margin-bottom: 4px;
  }

  .abk-db-monitoring-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .abk-db-xp-modal-card {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 24px);
    margin: 12px auto;
  }
}

@media (max-width: 400px) {
  .abk-db-stats {
    grid-template-columns: 1fr;
  }

  .abk-db-nav-link {
    padding: 8px 10px;
    font-size: 0.7rem;
  }

  .abk-db-nav-icon {
    font-size: 0.85rem;
  }
}

/* Custom Report Crew — luxury layout */
.page-custom-report {
  padding: 0 clamp(12px, 2vw, 20px) 28px;
}

.page-custom-report .panel-custom-report {
  overflow: hidden;
}

.page-custom-report .custom-report-toolbar {
  align-items: center;
}

.page-custom-report .custom-report-head {
  flex: 1;
  min-width: 0;
}

.page-custom-report .custom-report-lead {
  margin: 10px 0 0;
  max-width: 560px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

.page-custom-report .custom-report-alert {
  margin: 0 clamp(20px, 2.5vw, 32px) 0;
}

.custom-report-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.custom-report-section-eyebrow {
  margin: 0 0 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.custom-report-section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.custom-report-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 16px;
}

.custom-report-filters-lux {
  margin: 0;
  padding: 22px clamp(20px, 2.5vw, 32px) 24px;
  border-bottom: 1px solid rgba(201, 169, 98, 0.14);
  background:
    radial-gradient(ellipse 80% 120% at 100% 0%, rgba(201, 169, 98, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(250, 248, 245, 0.98) 0%, #fff 100%);
}

.custom-report-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 16px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(201, 169, 98, 0.2);
  box-shadow:
    var(--shadow-sm),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.custom-report-filter {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.custom-report-filter-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.custom-report-filter select,
.custom-report-filter input[type="text"] {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(201, 169, 98, 0.28);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  color: var(--navy);
  box-shadow: inset 0 1px 2px rgba(15, 23, 41, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.custom-report-filter select:focus,
.custom-report-filter input[type="text"]:focus {
  outline: none;
  border-color: rgba(201, 169, 98, 0.65);
  box-shadow:
    0 0 0 3px rgba(201, 169, 98, 0.16),
    inset 0 1px 2px rgba(15, 23, 41, 0.04);
}

.custom-report-filter-search {
  grid-column: span 2;
}

.custom-report-crew-combobox {
  width: 100%;
}

.custom-report-crew-combobox input[type="text"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a8863a' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 38px !important;
}

.custom-report-crew-dropdown {
  border-color: rgba(201, 169, 98, 0.35);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}

.custom-report-crew-dropdown .custom-report-crew-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  white-space: normal;
}

.custom-report-crew-item-name {
  font-weight: 600;
  color: var(--navy);
}

.custom-report-crew-item-meta {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 400;
}

.custom-report-search-empty {
  padding: 12px 14px;
  font-size: 0.82rem;
  color: var(--muted);
}

.custom-report-search-status {
  display: block;
  min-height: 1.1em;
  margin-top: 5px;
  font-size: 0.72rem;
  color: var(--muted);
}

.custom-report-filter-check {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}

.custom-report-check-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--navy);
  background: rgba(201, 169, 98, 0.08);
  border: 1px solid rgba(201, 169, 98, 0.22);
}

.custom-report-reset-btn {
  border-color: rgba(201, 169, 98, 0.35) !important;
  color: var(--gold-dark) !important;
}

.custom-report-columns-lux {
  padding: 22px clamp(20px, 2.5vw, 32px) 0;
}

.custom-report-section-head-columns {
  margin-bottom: 14px;
}

.custom-report-field-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 10px;
}

.custom-report-selected-count {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(201, 169, 98, 0.35);
  box-shadow: var(--shadow-sm);
}

.custom-report-groups {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.custom-report-group {
  margin: 0;
  padding: 0;
  border: 1px solid rgba(201, 169, 98, 0.18);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 248, 245, 0.92) 100%);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.custom-report-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px 18px;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 1px solid rgba(201, 169, 98, 0.14);
  background:
    linear-gradient(90deg, rgba(201, 169, 98, 0.1) 0%, rgba(255, 255, 255, 0.4) 28%, transparent 100%);
}

.custom-report-group-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(201, 169, 98, 0.25);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.custom-report-group-name {
  flex: 1;
  min-width: 0;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

.custom-report-group-toggle {
  border: 1px solid rgba(201, 169, 98, 0.35);
  background: rgba(255, 255, 255, 0.85);
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}

.custom-report-group-toggle:hover {
  background: rgba(201, 169, 98, 0.12);
  border-color: rgba(201, 169, 98, 0.55);
  color: var(--navy);
}

.custom-report-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
  padding: 16px 18px 18px;
}

.custom-report-check {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(201, 169, 98, 0.16);
  background: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.custom-report-check:hover {
  border-color: rgba(201, 169, 98, 0.38);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.custom-report-check.is-checked {
  border-color: rgba(201, 169, 98, 0.55);
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.12) 0%, rgba(255, 255, 255, 0.95) 100%);
  box-shadow:
    inset 3px 0 0 var(--gold-dark),
    var(--shadow-sm);
}

.custom-report-check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.custom-report-check-box {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid rgba(201, 169, 98, 0.45);
  background: #fff;
  flex-shrink: 0;
  position: relative;
  transition: background 0.2s, border-color 0.2s;
}

.custom-report-check.is-checked .custom-report-check-box {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  border-color: var(--gold-dark);
}

.custom-report-check.is-checked .custom-report-check-box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-report-check-label {
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--navy);
  font-weight: 500;
}

.custom-report-actions-lux {
  position: sticky;
  bottom: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: 20px;
  padding: 16px clamp(20px, 2.5vw, 32px) 22px;
  border-top: 1px solid rgba(201, 169, 98, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(250, 248, 245, 0.98) 100%);
  backdrop-filter: blur(8px);
  box-shadow: 0 -8px 24px rgba(15, 23, 41, 0.06);
}

.custom-report-actions-note {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.custom-report-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.custom-report-actions .btn-primary {
  min-width: 180px;
  padding: 11px 20px;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow:
    0 4px 14px rgba(168, 134, 58, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.custom-report-result {
  margin: 8px clamp(20px, 2.5vw, 32px) 28px;
  padding: 20px 20px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 169, 98, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 248, 245, 0.95) 100%);
  box-shadow: var(--shadow-md);
}

.custom-report-result-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(201, 169, 98, 0.14);
}

.custom-report-result-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
}

.custom-report-result-stat {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.custom-report-result-stat strong {
  color: var(--navy);
  font-size: 1rem;
}

.custom-report-scroll {
  max-height: min(68vh, 680px);
  border-radius: 10px;
  border: 1px solid rgba(201, 169, 98, 0.16);
}

.custom-report-table {
  margin: 0;
}

.custom-report-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-color: rgba(201, 169, 98, 0.25);
}

.custom-report-table tbody tr:nth-child(even) {
  background: rgba(250, 248, 245, 0.65);
}

.custom-report-table tbody tr:hover {
  background: rgba(201, 169, 98, 0.08);
}

.custom-report-table th,
.custom-report-table td {
  white-space: nowrap;
  font-size: 0.8rem;
}

@media (max-width: 1100px) {
  .custom-report-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .custom-report-filter-search {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .page-custom-report .custom-report-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .custom-report-filters {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .custom-report-filter-search {
    grid-column: auto;
  }

  .custom-report-section-head,
  .custom-report-section-head-columns {
    flex-direction: column;
    align-items: stretch;
  }

  .custom-report-field-toolbar {
    justify-content: flex-start;
  }

  .custom-report-check-grid {
    grid-template-columns: 1fr;
  }

  .custom-report-actions-lux {
    flex-direction: column;
    align-items: stretch;
  }

  .custom-report-actions {
    justify-content: stretch;
  }

  .custom-report-actions .btn-primary,
  .custom-report-actions .btn-ghost {
    flex: 1 1 100%;
  }
}

/* Pengumuman & Briefing ABK — admin luxury */
.page-announcements {
  max-width: 1180px;
  margin: 0 auto;
}

.panel-announcements .ann-flash {
  margin: 18px 28px 0;
}

.ann-stat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px !important;
}

.ann-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(201, 169, 98, 0.28);
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
}

.ann-stat-chip strong {
  font-weight: 800;
  color: var(--navy);
}

.ann-stat-chip-gold {
  border-color: rgba(201, 169, 98, 0.45);
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.16) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.ann-stat-chip-navy {
  border-color: rgba(26, 54, 93, 0.22);
  background: linear-gradient(135deg, rgba(26, 54, 93, 0.08) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.ann-body {
  padding: 22px 28px 32px;
  border-top: 1px solid rgba(201, 169, 98, 0.16);
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(201, 169, 98, 0.07), transparent 55%),
    radial-gradient(ellipse 70% 60% at 0% 100%, rgba(26, 54, 93, 0.05), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(250, 248, 245, 0.94) 100%);
}

.ann-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.ann-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.ann-section {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(201, 169, 98, 0.24);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 28px rgba(15, 23, 41, 0.06);
}

.ann-section-upload {
  background:
    radial-gradient(ellipse 100% 120% at 100% 0%, rgba(201, 169, 98, 0.1), transparent 58%),
    rgba(255, 255, 255, 0.92);
}

.ann-section-briefing {
  background:
    radial-gradient(ellipse 100% 120% at 0% 0%, rgba(26, 54, 93, 0.09), transparent 58%),
    rgba(255, 255, 255, 0.92);
}

.ann-section-list {
  flex: 1;
}

.ann-section-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.ann-section-head-compact {
  align-items: center;
  margin-bottom: 14px;
}

.ann-section-head-compact .ann-section-title {
  margin: 0;
}

.ann-section-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  font-size: 1.25rem;
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.22) 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 1px solid rgba(201, 169, 98, 0.35);
  box-shadow: 0 4px 12px rgba(168, 134, 58, 0.12);
}

.ann-section-icon-sm {
  width: 2.25rem;
  height: 2.25rem;
  font-size: 1rem;
  border-radius: 12px;
}

.ann-section-icon-briefing {
  background: linear-gradient(135deg, rgba(26, 54, 93, 0.14) 0%, rgba(255, 255, 255, 0.95) 100%);
  border-color: rgba(26, 54, 93, 0.22);
  box-shadow: 0 4px 12px rgba(26, 54, 93, 0.1);
}

.ann-section-title {
  margin: 0 0 4px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.ann-upload-hint {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
}

.ann-upload-form-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(201, 169, 98, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.ann-upload-form-briefing {
  border-color: rgba(26, 54, 93, 0.14);
}

.ann-upload-form {
  grid-template-columns: 1fr;
}

.ann-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ann-field-wide {
  grid-column: 1 / -1;
}

.ann-field-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.ann-section-briefing .ann-field-label {
  color: #2c5282;
}

.ann-field-hint {
  font-size: 0.78rem;
  color: var(--muted, #64748b);
  line-height: 1.4;
}

.ann-upload-form input[type="text"],
.ann-upload-form input[type="url"] {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(201, 169, 98, 0.32);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.95);
  font: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ann-upload-form input[type="text"]:focus,
.ann-upload-form input[type="url"]:focus {
  outline: none;
  border-color: rgba(201, 169, 98, 0.65);
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.14);
}

.ann-section-briefing .ann-upload-form input[type="text"]:focus {
  border-color: rgba(26, 54, 93, 0.45);
  box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.ann-input-url {
  text-transform: none;
  letter-spacing: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem;
}

.ann-file-drop {
  position: relative;
  display: block;
}

.ann-file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.ann-file-drop-face {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 14px;
  border: 1.5px dashed rgba(201, 169, 98, 0.45);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.65);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.ann-file-drop:hover .ann-file-drop-face,
.ann-file-drop:focus-within .ann-file-drop-face {
  border-color: rgba(201, 169, 98, 0.75);
  background: rgba(255, 255, 255, 0.92);
}

.ann-file-drop-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.ann-file-drop-text {
  font-size: 0.86rem;
  color: var(--muted);
}

.ann-upload-action {
  display: flex;
  padding-top: 2px;
}

.ann-upload-action-full {
  justify-content: stretch;
}

.ann-upload-action-full .ann-upload-btn {
  width: 100%;
}

.ann-upload-btn {
  white-space: nowrap;
}

.ann-upload-btn-briefing {
  background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%) !important;
  border-color: #1a365d !important;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(26, 54, 93, 0.22);
}

.ann-upload-btn-briefing:hover {
  filter: brightness(1.06);
  box-shadow: 0 8px 22px rgba(26, 54, 93, 0.28);
}

.ann-flash-inline {
  margin: 0;
}

.ann-section-readonly {
  padding: 16px 18px;
}

.ann-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ann-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 13px;
  border: 1px solid rgba(201, 169, 98, 0.22);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 248, 245, 0.94) 100%);
  box-shadow: 0 4px 14px rgba(15, 23, 41, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ann-item:hover {
  border-color: rgba(201, 169, 98, 0.38);
  box-shadow: 0 8px 22px rgba(15, 23, 41, 0.07);
}

.ann-item-briefing {
  border-color: rgba(26, 54, 93, 0.14);
}

.ann-item-briefing:hover {
  border-color: rgba(26, 54, 93, 0.28);
}

.ann-item.is-inactive {
  opacity: 0.68;
  background: rgba(245, 245, 245, 0.88);
}

.ann-item-lead {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.ann-item-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  font-size: 1rem;
  background: rgba(201, 169, 98, 0.14);
  border: 1px solid rgba(201, 169, 98, 0.25);
}

.ann-item-icon-briefing {
  background: rgba(26, 54, 93, 0.1);
  border-color: rgba(26, 54, 93, 0.18);
  color: #1a365d;
  font-size: 0.85rem;
  font-weight: 800;
}

.ann-item-main {
  flex: 1;
  min-width: 0;
}

.ann-item-title {
  margin: 0 0 6px;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  word-break: break-word;
}

.ann-item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

.ann-meta-tag {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(15, 23, 41, 0.07);
  color: var(--navy);
}

.ann-meta-tag-yt {
  background: rgba(220, 38, 38, 0.1);
  color: #b91c1c;
}

.ann-item-dot {
  opacity: 0.5;
}

.ann-item-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(201, 169, 98, 0.14);
}

.ann-item-briefing .ann-item-actions {
  border-top-color: rgba(26, 54, 93, 0.1);
}

.ann-item-action-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.ann-inline-form {
  display: inline;
  margin: 0;
}

.ann-badge {
  font-size: 0.7rem;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(120, 120, 120, 0.1);
  color: #666;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ann-badge-active {
  background: rgba(34, 139, 34, 0.12);
  color: #1f6b1f;
}

.ann-btn-danger {
  color: #b42318 !important;
  border-color: rgba(180, 35, 24, 0.3) !important;
}

.ann-btn-yt {
  border-color: rgba(220, 38, 38, 0.25) !important;
  color: #b91c1c !important;
}

.ann-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px 20px;
  text-align: center;
  color: var(--muted);
  border: 1.5px dashed rgba(201, 169, 98, 0.32);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.45);
}

.ann-empty-icon {
  font-size: 1.75rem;
  opacity: 0.55;
  line-height: 1;
}

.ann-empty p {
  margin: 0;
  font-size: 0.88rem;
}

@media (max-width: 960px) {
  .ann-grid {
    grid-template-columns: 1fr;
  }

  .ann-body {
    padding: 18px 16px 24px;
  }

  .panel-announcements .ann-flash {
    margin: 14px 16px 0;
  }
}

@media (max-width: 560px) {
  .ann-section {
    padding: 16px;
  }

  .ann-item-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ann-item-action-group {
    justify-content: flex-start;
  }

  .ann-upload-btn,
  .ann-upload-action-full .ann-upload-btn {
    width: 100%;
  }
}

/* —— Modul keuangan —— */
.finance-panel .finance-dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 18px 0;
}
.finance-dash-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(201, 169, 98, 0.28);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(247, 243, 235, 0.92));
  text-decoration: none;
  color: inherit;
  transition: transform 0.12s, box-shadow 0.15s;
}
.finance-dash-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 41, 0.1);
  text-decoration: none;
}
.finance-dash-icon { font-size: 1.6rem; }
.finance-dash-value { font-size: 1.05rem; color: var(--navy, #0f1729); }
.finance-quick-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 20px; }
.finance-section-title { margin: 24px 0 12px; font-size: 1rem; color: var(--navy, #0f1729); }
.finance-form { margin: 20px 0; padding: 18px; border-radius: 12px; border: 1px solid rgba(201, 169, 98, 0.22); background: rgba(255, 255, 255, 0.6); }
.finance-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px 16px;
  margin-bottom: 14px;
}
.finance-form-grid .finance-span-2 { grid-column: 1 / -1; }
.finance-summary-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 16px 0 20px;
}
.finance-summary-card {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 41, 0.08);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.finance-summary-card-accent { border-color: rgba(201, 169, 98, 0.45); }
.finance-summary-card-gold {
  border-color: var(--gold, #c9a962);
  background: linear-gradient(165deg, rgba(201, 169, 98, 0.12), #fff);
}
.finance-amt-in { color: #166534; font-weight: 700; }
.finance-amt-out { color: #b45309; font-weight: 700; }
.finance-search { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.finance-search input { flex: 1; min-width: 200px; }
.finance-alloc-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.finance-alloc-sum { font-size: 0.9rem; }
.finance-diff-ok { color: #166534; }
.finance-diff-bad { color: #b91c1c; }
.finance-alloc-table input[type="text"],
.finance-alloc-table select { width: 100%; min-width: 0; }
.finance-inline-delete { display: inline; margin-left: 8px; }
.btn-link-danger {
  background: none;
  border: none;
  color: #b91c1c;
  cursor: pointer;
  text-decoration: underline;
  font: inherit;
  padding: 0;
}
.btn-sm { font-size: 0.82rem; padding: 4px 10px; }
.finance-close-form { border-color: rgba(201, 169, 98, 0.4); }

.finance-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(15, 23, 41, 0.08);
}
.finance-subnav-link {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  text-decoration: none;
  color: var(--navy, #0f1729);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 23, 41, 0.1);
  transition: background 0.12s, border-color 0.12s;
}
.finance-subnav-link:hover {
  border-color: rgba(201, 169, 98, 0.45);
  text-decoration: none;
}
.finance-subnav-active {
  background: linear-gradient(165deg, rgba(201, 169, 98, 0.22), rgba(255, 255, 255, 0.95));
  border-color: var(--gold, #c9a962);
  font-weight: 600;
}
.finance-subnav-link-abk {
  border-color: rgba(14, 116, 144, 0.35);
  color: #0e7490;
  font-weight: 600;
}
.finance-blank-hero {
  margin: clamp(12px, 1.4vw, 20px);
  padding: clamp(28px, 4vw, 48px) clamp(18px, 3vw, 32px);
  border-radius: 18px;
  border: 1px dashed rgba(15, 23, 42, 0.16);
  background: linear-gradient(165deg, #f8fafc 0%, #eef2ff 100%);
  text-align: center;
}
.finance-blank-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.06);
  font-size: 1.6rem;
}
.finance-blank-hero h2 {
  margin: 0 0 8px;
  font-size: clamp(1.1rem, 0.4vw + 1rem, 1.35rem);
  color: var(--navy, #0f172a);
}
.finance-blank-hero p {
  margin: 0 auto;
  max-width: 34rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #64748b;
}

/* —— Hub Keuangan: 4 kartu 3D —— */
.page-finance-hub .finance-page-head {
  margin-bottom: 8px;
}
.finance-hub-scene {
  perspective: 1400px;
  padding: 8px clamp(12px, 1.6vw, 22px) clamp(22px, 2.4vw, 36px);
}
.finance-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  transform-style: preserve-3d;
}
.finance-hub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 22px 20px 18px;
  border-radius: 22px;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  transform: rotateX(8deg) rotateY(-6deg) translateZ(0);
  transform-style: preserve-3d;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.18) inset,
    0 -18px 28px rgba(0, 0, 0, 0.22) inset,
    12px 22px 36px rgba(15, 23, 42, 0.28),
    0 8px 14px rgba(15, 23, 42, 0.12);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    filter 0.28s ease;
  will-change: transform;
}
.finance-hub-card:hover,
.finance-hub-card:focus-visible {
  transform: rotateX(2deg) rotateY(-2deg) translateY(-10px) translateZ(18px) scale(1.02);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.28) inset,
    0 -14px 22px rgba(0, 0, 0, 0.16) inset,
    16px 32px 48px rgba(15, 23, 42, 0.34),
    0 12px 20px rgba(15, 23, 42, 0.16);
  filter: saturate(1.08);
  text-decoration: none;
  color: #fff;
  outline: none;
}
.finance-hub-card:nth-child(2) { transform: rotateX(8deg) rotateY(-2deg); }
.finance-hub-card:nth-child(3) { transform: rotateX(8deg) rotateY(2deg); }
.finance-hub-card:nth-child(4) { transform: rotateX(8deg) rotateY(6deg); }
.finance-hub-card:nth-child(2):hover,
.finance-hub-card:nth-child(2):focus-visible { transform: rotateX(2deg) rotateY(0deg) translateY(-10px) translateZ(18px) scale(1.02); }
.finance-hub-card:nth-child(3):hover,
.finance-hub-card:nth-child(3):focus-visible { transform: rotateX(2deg) rotateY(0deg) translateY(-10px) translateZ(18px) scale(1.02); }
.finance-hub-card:nth-child(4):hover,
.finance-hub-card:nth-child(4):focus-visible { transform: rotateX(2deg) rotateY(2deg) translateY(-10px) translateZ(18px) scale(1.02); }

.finance-hub-card--kas {
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(255, 255, 255, 0.28), transparent 48%),
    linear-gradient(155deg, #0f766e 0%, #115e59 42%, #134e4a 100%);
}
.finance-hub-card--transfer {
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(255, 255, 255, 0.26), transparent 48%),
    linear-gradient(155deg, #1d4ed8 0%, #1e40af 45%, #1e3a8a 100%);
}
.finance-hub-card--pinjaman {
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(255, 255, 255, 0.22), transparent 48%),
    linear-gradient(155deg, #b45309 0%, #92400e 45%, #78350f 100%);
}
.finance-hub-card--gaji {
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(255, 255, 255, 0.2), transparent 48%),
    linear-gradient(155deg, #0f172a 0%, #1e293b 48%, #334155 100%);
}
.finance-hub-card.is-disabled {
  cursor: not-allowed;
  opacity: 0.55;
  filter: grayscale(0.35);
  pointer-events: none;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.1) inset,
    0 -12px 22px rgba(0, 0, 0, 0.18) inset,
    8px 14px 24px rgba(15, 23, 42, 0.18);
}
.finance-hub-card.is-disabled:hover,
.finance-hub-card.is-disabled:focus-visible {
  transform: rotateX(8deg) rotateY(-6deg) translateZ(0);
  filter: grayscale(0.35);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.1) inset,
    0 -12px 22px rgba(0, 0, 0, 0.18) inset,
    8px 14px 24px rgba(15, 23, 42, 0.18);
}
.finance-hub-card.is-disabled .finance-hub-card-cta {
  opacity: 0.85;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
/* —— Gaji ABK lux —— */
.page-finance-gaji-lux {
  --gaji-navy: #0f1729;
  --gaji-ink: #111827;
  --gaji-gold: #c9a962;
  --gaji-gold-soft: rgba(201, 169, 98, 0.22);
  --gaji-slate: #64748b;
  --gaji-line: rgba(15, 23, 41, 0.08);
  --gaji-card: #ffffff;
  position: relative;
  padding: 8px 4px 28px;
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(15, 23, 41, 0.06), transparent 42%),
    radial-gradient(110% 80% at 100% 0%, rgba(201, 169, 98, 0.16), transparent 48%),
    linear-gradient(180deg, #f4f6f9 0%, #eef2f7 140px, #f8fafc 100%);
  border-radius: 24px;
}
.page-finance-gaji-lux .panel-toolbar-lux {
  display: none;
}
.page-finance-gaji-lux.is-detail .finance-gaji-archive.is-compact {
  margin-top: 8px;
  opacity: 0.96;
}
.page-finance-gaji-lux.is-hub {
  min-height: 70vh;
}

/* Hutang list: compact lux — padat, tidak melebar */
.page-finance-gaji-lux.is-hutang {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding: 6px 2px 20px;
  border-radius: 20px;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-hero--hutang {
  gap: 12px 16px;
  margin: 0 0 12px;
  padding: 2px 2px 12px;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-hero-toprow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-bottom: 4px;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-hero-toprow .finance-gaji-eyebrow {
  margin: 0;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-hero-actions {
  margin-top: 0;
  gap: 8px;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-title {
  font-size: clamp(1.28rem, 2.4vw, 1.55rem);
}
.page-finance-gaji-lux.is-hutang .finance-gaji-lead {
  margin-top: 4px;
  max-width: 28rem;
  font-size: 0.84rem;
  line-height: 1.4;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-hero-emblem {
  min-width: 72px;
  padding: 12px 14px;
  border-radius: 14px;
  gap: 2px;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-emblem-icon {
  font-size: 1.35rem;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-kpi-strip--hutang {
  gap: 10px;
  margin: 0 0 14px;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-kpi {
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 6px 16px rgba(15, 23, 41, 0.04);
}
.page-finance-gaji-lux.is-hutang .finance-gaji-kpi:hover {
  transform: none;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-kpi-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 0.9rem;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-kpi-value-sm {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
}
.page-finance-gaji-lux.is-hutang .finance-gaji-kpi-hint {
  font-size: 0.7rem;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-workspace {
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.85fr);
  gap: 12px 14px;
  margin-bottom: 16px;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-form-lux,
.page-finance-gaji-lux.is-hutang .finance-gaji-preview-lux,
.page-finance-gaji-lux.is-hutang .finance-gaji-archive {
  border-radius: 16px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 10px 28px rgba(15, 23, 41, 0.05);
}
.page-finance-gaji-lux.is-hutang .finance-gaji-form-lux-head {
  padding: 12px 14px 10px;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-form-lux-title {
  font-size: 0.95rem;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-form-lux-sub {
  margin-top: 2px;
  font-size: 0.74rem;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-form-lux-body {
  padding: 12px 14px 14px;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-section + .finance-gaji-section {
  margin-top: 12px;
  padding-top: 12px;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-section-head {
  gap: 8px;
  margin-bottom: 8px;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-section-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 0.66rem;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-section-title {
  font-size: 0.88rem;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-section-sub {
  font-size: 0.72rem;
}
.page-finance-gaji-lux.is-hutang .finance-form-grid-lux {
  gap: 10px 12px;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-input,
.page-finance-gaji-lux.is-hutang .finance-idr-input,
.page-finance-gaji-lux.is-hutang .finance-usd-input,
.page-finance-gaji-lux.is-hutang .finance-textarea,
.page-finance-gaji-lux.is-hutang .finance-select,
.page-finance-gaji-lux.is-hutang input[type="number"],
.page-finance-gaji-lux.is-hutang input[type="month"],
.page-finance-gaji-lux.is-hutang input[type="text"] {
  min-height: 38px !important;
  border-radius: 10px !important;
  font-size: 0.9rem;
}
.page-finance-gaji-lux.is-hutang .finance-field-hint {
  font-size: 0.7rem;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-currency-toggle {
  gap: 6px;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-currency-option span {
  min-height: 36px;
  padding: 0 12px;
  font-size: 0.82rem;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-form-actions {
  margin-top: 12px;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-submit {
  min-height: 42px;
  font-size: 0.9rem;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-preview-lux {
  top: 8px;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-preview-head {
  padding: 12px 12px 10px;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-preview-title {
  font-size: 0.9rem;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-preview-sub {
  font-size: 0.7rem;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-preview-sum-box {
  min-width: 6.5rem;
  padding: 6px 10px;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-preview-sum {
  font-size: 0.85rem;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-preview-table-wrap {
  max-height: min(320px, 45vh);
}
.page-finance-gaji-lux.is-hutang .finance-gaji-preview-table th,
.page-finance-gaji-lux.is-hutang .finance-gaji-preview-table td {
  padding: 7px 10px;
  font-size: 0.8rem;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-archive.is-hutang-list {
  margin-bottom: 12px;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-archive-head {
  padding: 12px 14px 10px;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-archive-title {
  font-size: 1rem;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-archive-sub {
  font-size: 0.76rem;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-ledger-cols {
  grid-template-columns: minmax(150px, 1.3fr) 96px minmax(120px, 1fr) 92px 80px minmax(150px, auto);
  gap: 8px 10px;
  padding: 8px 12px;
  font-size: 0.62rem;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-ledger {
  padding: 6px;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-ledger-row {
  grid-template-columns: minmax(150px, 1.3fr) 96px minmax(120px, 1fr) 92px 80px minmax(150px, auto);
  gap: 8px 10px;
  padding: 10px 12px;
  margin-bottom: 5px;
  border-radius: 12px;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-ledger-row:hover {
  transform: none;
  box-shadow: 0 6px 16px rgba(15, 23, 41, 0.05);
}
.page-finance-gaji-lux.is-hutang .finance-gaji-ledger-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 0.64rem;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-abk-cell strong {
  font-size: 0.84rem;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-abk-cell span {
  font-size: 0.74rem;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-ledger .finance-gaji-settle {
  font-size: 0.68rem;
  padding: 3px 8px;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-ledger-amount strong {
  font-size: 0.92rem;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-ledger-amount-sub {
  font-size: 0.62rem;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-ledger-plan strong,
.page-finance-gaji-lux.is-hutang .finance-gaji-ledger-start strong {
  font-size: 0.84rem;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-ledger-plan span,
.page-finance-gaji-lux.is-hutang .finance-gaji-ledger-start-label {
  font-size: 0.64rem;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-open-btn {
  min-height: 34px;
  padding: 0 10px;
  font-size: 0.76rem;
  border-radius: 10px;
}
.page-finance-gaji-lux.is-hutang .finance-gaji-btn-ghost,
.page-finance-gaji-lux.is-hutang .finance-gaji-btn-primary {
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.78rem;
  border-radius: 10px !important;
}
@media (max-width: 960px) {
  .page-finance-gaji-lux.is-hutang .finance-gaji-workspace {
    grid-template-columns: 1fr;
  }
  .page-finance-gaji-lux.is-hutang .finance-gaji-kpi-strip--hutang {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1100px) {
  .page-finance-gaji-lux.is-hutang .finance-gaji-ledger-row {
    grid-template-columns: 1fr 1fr;
  }
}

.finance-gaji-menu-scene {
  margin: 8px 0 12px;
  padding: 4px 2px 8px;
}
.finance-gaji-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.finance-gaji-menu-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 260px;
  padding: 24px 22px 20px;
  border-radius: 24px;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 22px 44px rgba(15, 23, 41, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.finance-gaji-menu-card:hover,
.finance-gaji-menu-card:focus-visible {
  transform: translateY(-4px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 28px 52px rgba(15, 23, 41, 0.24);
  text-decoration: none;
  color: #fff;
  outline: none;
}
.finance-gaji-menu-card--hutang {
  background:
    radial-gradient(120% 90% at 10% 0%, rgba(255, 255, 255, 0.18), transparent 48%),
    linear-gradient(155deg, #0f1729 0%, #1e293b 48%, #334155 100%);
}
.finance-gaji-menu-card--bayar {
  background:
    radial-gradient(120% 90% at 10% 0%, rgba(255, 255, 255, 0.16), transparent 48%),
    linear-gradient(155deg, #14532d 0%, #166534 42%, #3f6212 100%);
}
.finance-gaji-menu-shine {
  position: absolute;
  inset: 0 auto auto 0;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 68%);
  pointer-events: none;
}
.finance-gaji-menu-no {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: rgba(253, 230, 138, 0.95);
}
.finance-gaji-menu-icon {
  margin-top: 14px;
  font-size: 2rem;
  line-height: 1;
}
.finance-gaji-menu-title {
  margin-top: 12px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.finance-gaji-menu-desc {
  margin-top: 8px;
  max-width: 28rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(248, 250, 252, 0.78);
}
.finance-gaji-menu-meta {
  margin-top: auto;
  padding-top: 18px;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(253, 230, 138, 0.9);
}
.finance-gaji-menu-cta {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #0f1729;
  background: linear-gradient(180deg, #f6e7b8, #c9a962);
}
.finance-gaji-menu-card--bayar .finance-gaji-menu-cta {
  background: linear-gradient(180deg, #bbf7d0, #86efac);
  color: #14532d;
}
@media (max-width: 720px) {
  .finance-gaji-menu-grid {
    grid-template-columns: 1fr;
  }
  .finance-gaji-menu-card {
    min-height: 220px;
  }
}
.finance-gaji-dossier--bayar {
  border-color: rgba(134, 239, 172, 0.35);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(134, 239, 172, 0.22), transparent 42%),
    radial-gradient(80% 80% at 0% 100%, rgba(201, 169, 98, 0.18), transparent 46%),
    linear-gradient(135deg, #052e16 0%, #14532d 46%, #1a3a2a 100%);
}
.finance-gaji-dossier--bayar .finance-gaji-dossier-kicker {
  color: rgba(187, 247, 208, 0.95);
}
.finance-gaji-dossier--bayar .finance-gaji-btn-primary {
  background: linear-gradient(180deg, #bbf7d0, #86efac) !important;
  border-color: rgba(187, 247, 208, 0.7) !important;
  color: #14532d !important;
}
.finance-gaji-dossier-avatar--bayar {
  color: #052e16;
  background: linear-gradient(145deg, #dcfce7 0%, #86efac 55%, #c9a962 100%);
}
.finance-gaji-dossier-lead {
  margin: 10px 0 0;
  max-width: 36rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(248, 250, 252, 0.72);
}
.finance-gaji-dossier--bayar .finance-gaji-dossier-amount strong {
  color: #bbf7d0;
}
.page-finance-gaji-lux.is-bayar .finance-gaji-bayar-panel {
  margin-top: 4px;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 41, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 24px 48px rgba(15, 23, 41, 0.08);
}
.page-finance-gaji-lux.is-bayar .finance-gaji-bayar-panel::before {
  height: 4px;
  background: linear-gradient(90deg, #14532d 0%, #c9a962 55%, rgba(201, 169, 98, 0.2) 100%);
}
.finance-gaji-bayar-panel-head {
  padding: 22px 24px 16px !important;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(22, 101, 52, 0.08), transparent 52%),
    linear-gradient(180deg, #f7faf8 0%, #fff 100%) !important;
}
.finance-gaji-bayar-panel .finance-gaji-archive-title {
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}
.finance-gaji-bayar-count-pill {
  min-height: 40px !important;
  padding: 0 16px !important;
  gap: 6px;
  background: linear-gradient(180deg, rgba(22, 101, 52, 0.1), rgba(22, 101, 52, 0.06)) !important;
  border-color: rgba(22, 101, 52, 0.2) !important;
  color: #14532d !important;
}
.finance-gaji-bayar-count-pill em {
  font-style: normal;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.finance-gaji-bayar-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin: 0;
  padding: 16px 22px 18px;
  border-bottom: 1px solid rgba(15, 23, 41, 0.06);
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(201, 169, 98, 0.1), transparent 50%),
    linear-gradient(180deg, #fbfaf7 0%, #fff 100%);
}
.finance-gaji-bayar-search-shell {
  flex: 1 1 280px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 6px 8px 6px 6px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 41, 0.1);
  background: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 10px 24px rgba(15, 23, 41, 0.05);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.finance-gaji-bayar-search-shell:focus-within {
  border-color: rgba(201, 169, 98, 0.55);
  box-shadow:
    0 0 0 3px rgba(201, 169, 98, 0.16),
    0 12px 28px rgba(15, 23, 41, 0.06);
}
.finance-gaji-bayar-search-label {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #92400e;
  background: linear-gradient(160deg, rgba(246, 231, 184, 0.9), rgba(201, 169, 98, 0.35));
  border: 1px solid rgba(201, 169, 98, 0.4);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset;
}
.finance-gaji-bayar-search-icon {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
}
.finance-gaji-bayar-search-input {
  min-height: 40px !important;
  margin: 0 !important;
  padding-left: 4px !important;
  padding-right: 4px !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  font-size: 0.95rem !important;
  font-weight: 600;
  color: var(--gaji-navy, #0f1729);
}
.finance-gaji-bayar-search-input:focus {
  outline: none !important;
  box-shadow: none !important;
}
.finance-gaji-bayar-search-input::placeholder {
  color: #94a3b8;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
}
.finance-gaji-bayar-search-clear {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 41, 0.1);
  background: rgba(15, 23, 41, 0.04);
  color: #334155;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}
.finance-gaji-bayar-search-clear:hover {
  background: rgba(15, 23, 41, 0.08);
}
.finance-gaji-bayar-search-count {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #14532d;
  background: rgba(22, 101, 52, 0.08);
  border: 1px solid rgba(22, 101, 52, 0.16);
  white-space: nowrap;
}
.page-finance-gaji-lux.is-bayar .finance-gaji-ledger {
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(247, 250, 248, 0.65), transparent 48px);
}
.page-finance-gaji-lux.is-bayar .finance-gaji-ledger-row {
  border-radius: 18px;
  border-color: rgba(15, 23, 41, 0.06);
  background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
}
.page-finance-gaji-lux.is-bayar .finance-gaji-ledger-row:hover {
  border-color: rgba(22, 101, 52, 0.28);
  box-shadow: 0 14px 32px rgba(20, 83, 45, 0.08);
}
.page-finance-gaji-lux.is-bayar .finance-gaji-open-btn {
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 12px;
  color: #052e16;
  background: linear-gradient(180deg, #bbf7d0, #86efac);
  border-color: rgba(74, 222, 128, 0.45);
}
.page-finance-gaji-lux.is-bayar .finance-gaji-open-btn:hover {
  background: linear-gradient(180deg, #dcfce7, #86efac);
}
.page-finance-gaji-lux.is-bayar .finance-gaji-ledger-cols {
  padding: 12px 24px;
  background: rgba(15, 23, 41, 0.02);
}
.finance-gaji-bayar-empty {
  border-top: 1px solid rgba(15, 23, 41, 0.05);
}
.finance-gaji-ledger-empty[hidden],
.finance-gaji-bayar-empty[hidden] {
  display: none !important;
}
.page-finance-gaji-lux.is-bayar .finance-gaji-ledger-cols--bayar,
.page-finance-gaji-lux.is-bayar .finance-gaji-ledger--bayar .finance-gaji-ledger-row {
  grid-template-columns: minmax(180px, 1.35fr) minmax(130px, 0.95fr) minmax(110px, 0.75fr) minmax(160px, 1.15fr) minmax(132px, 150px);
}
.page-finance-gaji-lux.is-bayar .finance-gaji-ledger--bayar .finance-gaji-ledger-row.is-history-open {
  border-color: rgba(22, 101, 52, 0.3);
  box-shadow: 0 14px 32px rgba(20, 83, 45, 0.1);
}
.page-finance-gaji-lux.is-bayar .finance-gaji-ledger-action {
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}
.finance-gaji-detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 41, 0.14);
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.finance-gaji-detail-btn:hover,
.finance-gaji-detail-btn.is-open {
  background: rgba(15, 23, 41, 0.05);
  border-color: rgba(15, 23, 41, 0.28);
}
.finance-gaji-detail-btn.is-ghost {
  min-height: 32px;
  background: transparent;
  color: #475569;
}
.finance-gaji-pay-history {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(22, 101, 52, 0.18);
  background:
    linear-gradient(180deg, rgba(240, 253, 244, 0.65) 0%, rgba(255, 255, 255, 0.98) 40%);
}
.finance-gaji-pay-history[hidden] {
  display: none !important;
}
.finance-gaji-pay-history-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px 14px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(15, 23, 41, 0.06);
}
.finance-gaji-pay-history-eyebrow {
  margin: 0 0 2px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #166534;
}
.finance-gaji-pay-history-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #0f1729;
  letter-spacing: -0.02em;
}
.finance-gaji-pay-history-sub {
  margin: 2px 0 0;
  font-size: 0.78rem;
  color: #64748b;
}
.finance-gaji-pay-history-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.finance-gaji-pay-history-item {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 41, 0.08);
  background: #fff;
  box-shadow: 0 6px 16px rgba(15, 23, 41, 0.04);
}
.finance-gaji-pay-history-item-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
}
.finance-gaji-pay-history-no {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #92400e;
  background: rgba(201, 169, 98, 0.16);
  border: 1px solid rgba(201, 169, 98, 0.35);
  border-radius: 999px;
  padding: 2px 8px;
}
.finance-gaji-pay-history-date {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f1729;
}
.finance-gaji-pay-history-period,
.finance-gaji-pay-history-place {
  margin: 6px 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #64748b;
  overflow-wrap: anywhere;
}
.finance-gaji-pay-history-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.finance-gaji-pay-history-grid > div {
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(15, 23, 41, 0.03);
  border: 1px solid rgba(15, 23, 41, 0.05);
  min-width: 0;
}
.finance-gaji-pay-history-grid span {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}
.finance-gaji-pay-history-grid strong {
  display: block;
  margin-top: 3px;
  font-size: 0.86rem;
  font-weight: 800;
  color: #0f1729;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.finance-gaji-pay-history-grid > div.is-net {
  background: rgba(22, 101, 52, 0.08);
  border-color: rgba(22, 101, 52, 0.18);
}
.finance-gaji-pay-history-grid > div.is-net strong {
  color: #166534;
}
.finance-gaji-pay-history-grid > div.is-net em {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
  color: #166534;
}
.finance-gaji-pay-history-item-foot {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
}
.finance-gaji-pay-history-item .finance-gaji-history-idr-edit {
  margin-top: 10px;
}
@media (max-width: 900px) {
  .finance-gaji-pay-history-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.finance-gaji-ledger-lastpay {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  text-align: right;
  min-width: 0;
}
.finance-gaji-ledger-lastpay-label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #166534;
}
.finance-gaji-ledger-lastpay strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #166534;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.finance-gaji-ledger-lastpay > span:last-child {
  font-size: 0.74rem;
  color: #64748b;
}
.finance-gaji-ledger-lastpay.is-empty .finance-gaji-ledger-lastpay-label,
.finance-gaji-ledger-lastpay.is-empty strong {
  color: #94a3b8;
}
.page-finance-gaji-lux .visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 720px) {
  .finance-gaji-bayar-search {
    padding: 14px 16px;
  }
  .finance-gaji-bayar-search-count {
    width: 100%;
    justify-content: center;
  }
}
.page-finance-gaji-lux.is-detail .finance-gaji-archive.is-compact .finance-gaji-archive-head {
  padding-top: 16px;
  padding-bottom: 12px;
}
.finance-gaji-dossier {
  margin: 0 0 18px;
  padding: 20px 22px 22px;
  border-radius: 22px;
  border: 1px solid rgba(201, 169, 98, 0.35);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(201, 169, 98, 0.18), transparent 42%),
    linear-gradient(135deg, #0f1729 0%, #1a2740 48%, #243049 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 22px 48px rgba(15, 23, 41, 0.22);
  color: #f8fafc;
}
.finance-gaji-dossier-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: 18px;
}
.finance-gaji-dossier .finance-gaji-eyebrow {
  color: rgba(248, 250, 252, 0.62);
}
.finance-gaji-dossier .finance-gaji-eyebrow a {
  color: rgba(253, 230, 138, 0.95);
}
.finance-gaji-dossier .finance-gaji-eyebrow a:hover {
  color: #fff;
}
.finance-gaji-dossier .finance-gaji-btn-ghost {
  color: #f8fafc !important;
  border-color: rgba(248, 250, 252, 0.22) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}
.finance-gaji-dossier .finance-gaji-btn-primary {
  background: linear-gradient(180deg, #e8d19a, #c9a962) !important;
  border-color: rgba(232, 209, 154, 0.7) !important;
  color: #0f1729 !important;
}
.finance-gaji-dossier-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px 22px;
  align-items: center;
}
.finance-gaji-dossier-avatar {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #0f1729;
  background: linear-gradient(145deg, #f6e7b8 0%, #c9a962 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}
.finance-gaji-dossier-kicker {
  margin: 0 0 6px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(253, 230, 138, 0.9);
}
.finance-gaji-dossier-title {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
}
.finance-gaji-dossier-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
}
.finance-gaji-dossier-meta > span:first-child {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(248, 250, 252, 0.88);
}
.finance-gaji-dossier .finance-gaji-status {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
}
.finance-gaji-settle {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
}
.finance-gaji-settle-lunas {
  color: #bbf7d0;
  background: rgba(22, 101, 52, 0.35);
  border-color: rgba(74, 222, 128, 0.35);
}
.finance-gaji-settle-berjalan {
  color: #fde68a;
  background: rgba(201, 169, 98, 0.22);
  border-color: rgba(253, 230, 138, 0.35);
}
.finance-gaji-settle-belum-potong {
  color: #e2e8f0;
  background: rgba(148, 163, 184, 0.18);
  border-color: rgba(226, 232, 240, 0.2);
}
.finance-gaji-dossier-amount {
  min-width: 180px;
  padding: 14px 16px;
  border-radius: 16px;
  text-align: right;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}
.finance-gaji-dossier-amount-label {
  display: block;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.55);
}
.finance-gaji-dossier-amount strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fde68a;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}
.finance-gaji-dossier-amount-hint {
  display: block;
  margin-top: 4px;
  font-size: 0.74rem;
  color: rgba(248, 250, 252, 0.55);
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}
.finance-gaji-dossier-meta > span {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}
.finance-gaji-detail-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 8px;
}
.finance-gaji-edit-drawer {
  margin: 0 0 20px;
  border-radius: 18px;
  border: 1px solid var(--gaji-line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 28px rgba(15, 23, 41, 0.04);
  overflow: hidden;
}
.finance-gaji-edit-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.finance-gaji-edit-summary::-webkit-details-marker {
  display: none;
}
.finance-gaji-edit-summary strong {
  display: block;
  font-size: 0.92rem;
  color: var(--gaji-navy);
}
.finance-gaji-edit-summary small {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  color: var(--gaji-slate);
}
.finance-gaji-edit-chevron {
  color: var(--gaji-slate);
  transition: transform 0.18s ease;
}
.finance-gaji-edit-drawer[open] .finance-gaji-edit-chevron {
  transform: rotate(180deg);
}
.finance-gaji-edit-drawer .finance-gaji-workspace {
  margin: 0;
  padding: 0 12px 14px;
  border-top: 1px solid rgba(15, 23, 41, 0.06);
}
.finance-gaji-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px 28px;
  margin: 0 0 20px;
  padding: 4px 2px 22px;
  border-bottom: 1px solid var(--gaji-gold-soft);
}
.finance-gaji-eyebrow {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gaji-slate);
}
.finance-gaji-eyebrow a {
  color: inherit;
  text-decoration: none;
}
.finance-gaji-eyebrow a:hover {
  color: var(--gaji-navy);
}
.finance-gaji-eyebrow span {
  margin: 0 0.45em;
  opacity: 0.55;
}
.finance-gaji-title {
  margin: 0;
  font-size: clamp(1.55rem, 3.2vw, 2rem);
  letter-spacing: -0.03em;
  color: var(--gaji-navy);
  line-height: 1.15;
}
.finance-gaji-lead {
  margin: 10px 0 0;
  max-width: 38rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--gaji-slate);
}
.finance-gaji-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.finance-gaji-btn-ghost,
.finance-gaji-btn-primary {
  border-radius: 12px !important;
  font-weight: 700;
}
.finance-gaji-hero-emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 96px;
  padding: 18px 22px;
  border-radius: 18px;
  background: linear-gradient(150deg, #0f172a 0%, #1e293b 55%, #334155 100%);
  border: 1px solid rgba(201, 169, 98, 0.5);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.08) inset,
    0 16px 36px rgba(15, 23, 41, 0.22);
  color: #f8fafc;
}
.finance-gaji-emblem-icon {
  font-size: 1.85rem;
  line-height: 1;
}
.finance-gaji-emblem-label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(253, 230, 138, 0.95);
}
.finance-gaji-emblem-sub {
  font-size: 0.68rem;
  color: rgba(248, 250, 252, 0.65);
}
.finance-gaji-kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 22px;
}
.finance-gaji-kpi-strip-detail {
  margin-bottom: 20px;
}
.finance-gaji-kpi {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 18px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 41, 0.08);
  background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 10px 28px rgba(15, 23, 41, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.finance-gaji-kpi:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 14px 32px rgba(15, 23, 41, 0.08);
}
.finance-gaji-kpi-total {
  border-color: rgba(201, 169, 98, 0.4);
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.4) 0%, #fff 58%);
}
.finance-gaji-kpi-focus {
  border-color: rgba(30, 41, 59, 0.14);
}
.finance-gaji-kpi-month {
  border-color: rgba(22, 101, 52, 0.18);
}
.finance-gaji-kpi-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 800;
  background: rgba(15, 23, 41, 0.06);
  color: var(--gaji-navy);
}
.finance-gaji-kpi-total .finance-gaji-kpi-icon {
  background: rgba(201, 169, 98, 0.28);
  color: #92400e;
}
.finance-gaji-kpi-month .finance-gaji-kpi-icon {
  background: rgba(22, 101, 52, 0.12);
  color: #166534;
}
.finance-gaji-kpi-label {
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gaji-slate);
}
.finance-gaji-kpi-value {
  display: block;
  margin-top: 4px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gaji-navy);
  line-height: 1.2;
}
.finance-gaji-kpi-value-sm {
  font-size: clamp(0.98rem, 1.8vw, 1.15rem);
}
.finance-gaji-kpi-hint {
  display: block;
  margin-top: 4px;
  font-size: 0.76rem;
  color: #94a3b8;
  line-height: 1.35;
}
.finance-gaji-alert {
  margin-bottom: 16px;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.45;
}
.finance-gaji-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.9fr);
  gap: 18px 20px;
  margin-bottom: 28px;
  align-items: start;
}
.finance-gaji-form-lux {
  border-radius: 20px;
  border: 1px solid rgba(201, 169, 98, 0.38);
  background: linear-gradient(180deg, #fff 0%, #faf8f4 100%);
  box-shadow: 0 14px 42px rgba(15, 23, 41, 0.07);
  overflow: hidden;
}
.finance-gaji-form-lux-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px 16px;
  background: linear-gradient(135deg, rgba(15, 23, 41, 0.94) 0%, rgba(30, 41, 59, 0.9) 100%);
  border-bottom: 1px solid rgba(201, 169, 98, 0.4);
  color: #f8fafc;
}
.finance-gaji-form-lux-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.finance-gaji-form-lux-sub {
  margin: 6px 0 0;
  font-size: 0.82rem;
  opacity: 0.82;
  line-height: 1.45;
}
.finance-gaji-form-step {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(201, 169, 98, 0.2);
  border: 1px solid rgba(201, 169, 98, 0.5);
  color: #fde68a;
}
.finance-gaji-form-lux-body {
  padding: 22px 22px 24px;
}
.finance-gaji-section + .finance-gaji-section {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px dashed rgba(15, 23, 41, 0.1);
}
.finance-gaji-section-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.finance-gaji-section-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #92400e;
  background: rgba(201, 169, 98, 0.22);
  border: 1px solid rgba(201, 169, 98, 0.4);
}
.finance-gaji-section-title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--gaji-navy);
}
.finance-gaji-section-sub {
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: var(--gaji-slate);
  line-height: 1.4;
}
.finance-gaji-crew-field {
  position: relative;
  display: block;
}
.finance-gaji-input,
.page-finance-gaji-lux .finance-idr-input,
.page-finance-gaji-lux .finance-textarea,
.page-finance-gaji-lux .finance-select,
.page-finance-gaji-lux input[type="number"],
.page-finance-gaji-lux input[type="month"],
.page-finance-gaji-lux input[type="text"] {
  border-radius: 12px !important;
  border-color: rgba(15, 23, 41, 0.12) !important;
  min-height: 44px;
}
.page-finance-gaji-lux .finance-gaji-input[readonly] {
  background: #f1f5f9 !important;
  color: #0f172a;
  cursor: default;
}
.finance-gaji-lines {
  min-width: 0;
}
.finance-gaji-lines-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--gaji-line, rgba(15, 23, 41, 0.08));
  background:
    linear-gradient(160deg, #ffffff 0%, #f8fafc 42%, #f1f5f9 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 14px 34px rgba(15, 23, 41, 0.06);
  overflow: visible;
}
.finance-gaji-lines-head {
  display: none;
}
.finance-gaji-lines-body {
  display: grid;
  gap: 10px;
  overflow: visible;
}
.finance-gaji-line-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "no month"
    "gross gross"
    "onboard onboard"
    "sisa sisa";
  gap: 10px 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 41, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 20px rgba(15, 23, 41, 0.04);
  align-items: stretch;
  overflow: visible;
}
.finance-gaji-line-no {
  grid-area: no;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-top: 4px;
  border-radius: 999px;
  background: rgba(201, 169, 98, 0.18);
  color: var(--gaji-navy, #0f1729);
  font-size: 0.78rem;
  font-weight: 800;
  justify-self: center;
}
.finance-gaji-line-month-field {
  grid-area: month;
}
.finance-gaji-line-amt-field.is-gross {
  grid-area: gross;
}
.finance-gaji-line-amt-field.is-onboard {
  grid-area: onboard;
}
.finance-gaji-line-result {
  grid-area: sisa;
}
.finance-gaji-line-month-field,
.finance-gaji-line-amt-field,
.finance-gaji-line-result {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
}
.finance-gaji-line-field-label {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gaji-slate, #64748b);
}
.finance-gaji-line-month {
  min-height: 42px !important;
  width: 100%;
  font-size: 0.95rem !important;
  background: #f8fafc !important;
  cursor: default;
}
.finance-gaji-line-amt {
  width: 100%;
  max-width: none;
}
.page-finance-gaji-lux .finance-gaji-line-amt input {
  min-width: 0;
  width: 100%;
}
.finance-gaji-line-result {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(201, 169, 98, 0.14);
  border: 1px solid var(--gaji-gold-soft, rgba(201, 169, 98, 0.28));
  align-content: start;
}
.finance-gaji-line-result .finance-gaji-line-amt {
  background: #fffef8;
  border-radius: 10px;
  width: 100%;
  max-width: none;
  overflow: visible;
}
.page-finance-gaji-lux .finance-gaji-line-transfer {
  font-weight: 800;
  color: var(--gaji-navy, #0f1729);
  min-width: 0;
  width: 100%;
}
.page-finance-gaji-lux .finance-gaji-line-transfer.is-warn {
  color: #b45309;
  box-shadow: inset 0 0 0 1px rgba(180, 83, 9, 0.35);
}
.finance-gaji-lines-foot {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(246, 231, 193, 0.65) 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 1px solid rgba(201, 169, 98, 0.32);
  overflow: visible;
}
.finance-gaji-lines-note {
  min-width: 0;
}
.finance-gaji-lines-note-label {
  display: block;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gaji-slate, #64748b);
  margin-bottom: 4px;
}
.finance-gaji-lines-note strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gaji-navy, #0f1729);
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35;
}
.finance-gaji-lines-totals {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.finance-gaji-lines-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  padding: 8px 0;
  border-top: 1px solid rgba(15, 23, 41, 0.06);
}
.finance-gaji-lines-totals > div:first-child {
  border-top: 0;
  padding-top: 0;
}
.finance-gaji-lines-totals span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gaji-slate, #64748b);
}
.finance-gaji-lines-totals strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gaji-navy, #0f1729);
  text-align: right;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}
.finance-gaji-lines-totals > div.is-focus strong {
  color: #92400e;
  font-size: 1.08rem;
}
.finance-gaji-lines-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 14px;
}
.finance-gaji-lines-actions .finance-field-hint {
  flex: 1 1 100%;
  margin: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
.finance-gaji-line-add {
  min-height: 38px;
  border-radius: 11px !important;
}
.finance-gaji-breakdown-mini {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 4px;
  font-size: 0.72rem;
  color: #64748b;
}
.finance-gaji-history-list {
  display: grid;
  gap: 14px;
  padding: 8px 18px 20px;
}
.finance-gaji-history-card {
  display: grid;
  gap: 14px;
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 41, 0.08);
  background:
    linear-gradient(165deg, #ffffff 0%, #fbfaf7 48%, #f8fafc 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 12px 28px rgba(15, 23, 41, 0.05);
  overflow: visible;
}
.finance-gaji-history-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 18px;
}
.finance-gaji-history-card-meta {
  min-width: 0;
  flex: 1 1 16rem;
  display: grid;
  gap: 6px;
}
.finance-gaji-history-date-label {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #92400e;
}
.finance-gaji-history-date {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gaji-navy, #0f1729);
  font-variant-numeric: tabular-nums;
}
.finance-gaji-history-period {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--gaji-navy, #0f1729);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.finance-gaji-history-place {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--gaji-slate, #64748b);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.finance-gaji-history-place.is-empty {
  font-style: italic;
  color: #94a3b8;
}
.finance-gaji-history-dot {
  color: #cbd5e1;
}
.finance-gaji-history-card-proof,
.finance-gaji-history-card-aside {
  flex: 0 0 auto;
  display: grid;
  gap: 10px;
  justify-items: end;
  align-content: start;
}
.finance-gaji-history-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
}
.finance-gaji-history-edit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.finance-gaji-history-edit-btn:hover,
.finance-gaji-history-edit-btn.is-open {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.28);
  color: #020617;
}
.finance-gaji-history-edit {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(255, 255, 255, 0.98));
}
.finance-gaji-history-edit[hidden] {
  display: none !important;
}
.finance-gaji-history-edit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: end;
}
.finance-gaji-history-edit-label {
  flex: 1 1 100%;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}
.finance-gaji-history-edit .date-input {
  flex: 1 1 10rem;
  max-width: 12rem;
  min-height: 2.4rem;
}
.finance-gaji-history-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.finance-gaji-history-edit-hint {
  margin: 10px 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #64748b;
}
.finance-gaji-idr-edit-context {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1rem;
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.85rem;
  background: rgba(15, 40, 70, 0.04);
  border: 1px solid rgba(15, 40, 70, 0.08);
}
.finance-gaji-idr-edit-context p {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.finance-gaji-idr-edit-context span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6a7380;
}
.finance-gaji-idr-edit-context strong {
  font-size: 0.92rem;
  font-weight: 650;
  color: #1a2430;
}
.finance-gaji-history-payout-fx {
  margin: 0.75rem 0;
}
.finance-gaji-history-edit-readonly {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.4;
}
.finance-gaji-history-edit-readonly strong {
  color: #0f172a;
}
.finance-gaji-history-edit-actions {
  margin-top: 0.75rem;
}
.finance-gaji-history-paid {
  min-width: 10rem;
  padding: 10px 14px;
  border-radius: 14px;
  text-align: right;
  background: linear-gradient(145deg, rgba(22, 101, 52, 0.1), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(22, 101, 52, 0.22);
}
.finance-gaji-history-paid span {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #166534;
}
.finance-gaji-history-paid strong {
  display: block;
  margin-top: 4px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #166534;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.finance-gaji-salary-history.is-kasir-history .finance-gaji-history-amounts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.finance-gaji-salary-history.is-kasir-history .finance-gaji-history-amounts > div.is-net {
  display: none;
}
.finance-gaji-history-breakdown {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}
.finance-gaji-history-breakdown li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(15, 23, 41, 0.03);
  border: 1px solid rgba(15, 23, 41, 0.06);
}
.finance-gaji-history-breakdown span {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}
.finance-gaji-history-breakdown strong {
  flex: 0 0 auto;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--gaji-navy, #0f1729);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.finance-gaji-history-amounts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding-top: 4px;
  border-top: 1px solid rgba(15, 23, 41, 0.06);
}
.finance-gaji-history-amounts > div {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 23, 41, 0.06);
}
.finance-gaji-history-amounts span {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.finance-gaji-history-amounts strong {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--gaji-navy, #0f1729);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.3;
}
.finance-gaji-history-amounts > div.is-deduct {
  background: rgba(154, 52, 18, 0.06);
  border-color: rgba(154, 52, 18, 0.14);
}
.finance-gaji-history-amounts > div.is-deduct strong {
  color: #9a3412;
}
.finance-gaji-history-amounts > div.is-net {
  background: rgba(22, 101, 52, 0.08);
  border-color: rgba(22, 101, 52, 0.18);
}
.finance-gaji-history-amounts > div.is-net strong {
  color: #166534;
}
@media (max-width: 1100px) {
  .finance-gaji-history-amounts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .finance-gaji-salary-history.is-kasir-history .finance-gaji-history-amounts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .finance-gaji-history-list {
    padding: 6px 12px 16px;
  }
  .finance-gaji-history-card {
    padding: 14px;
    border-radius: 16px;
  }
  .finance-gaji-history-card-aside {
    width: 100%;
    justify-items: stretch;
  }
  .finance-gaji-history-paid {
    text-align: left;
  }
  .finance-gaji-history-amounts {
    grid-template-columns: 1fr 1fr;
  }
  .finance-gaji-history-amounts > div.is-net {
    grid-column: 1 / -1;
  }
  .finance-gaji-salary-history.is-kasir-history .finance-gaji-history-amounts > div.is-net {
    display: none;
  }
}
@media (min-width: 900px) {
  .finance-gaji-lines-head {
    display: grid;
    grid-template-columns: 40px minmax(148px, 1.35fr) minmax(128px, 1fr) minmax(128px, 1fr) minmax(148px, 1.2fr);
    gap: 12px;
    align-items: end;
    padding: 12px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f6e7c1 0%, #e8c97a 55%, #d4b06a 100%);
    color: #5b4630;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  .finance-gaji-lines-head span {
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
  }
  .finance-gaji-line-row {
    grid-template-columns: 40px minmax(148px, 1.35fr) minmax(128px, 1fr) minmax(128px, 1fr) minmax(148px, 1.2fr);
    grid-template-areas: "no month gross onboard sisa";
    gap: 12px;
    padding: 12px 14px;
    align-items: center;
  }
  .finance-gaji-line-field-label {
    display: none;
  }
  .finance-gaji-line-result {
    padding: 6px;
    min-height: 44px;
    display: grid;
    align-content: center;
    gap: 0;
  }
  .finance-gaji-lines-foot {
    grid-template-columns: 40px minmax(148px, 1.35fr) minmax(128px, 1fr) minmax(128px, 1fr) minmax(148px, 1.2fr);
    gap: 12px;
    align-items: start;
    padding: 14px;
  }
  .finance-gaji-lines-note {
    grid-column: 2;
  }
  .finance-gaji-lines-totals {
    display: contents;
  }
  .finance-gaji-lines-totals > div {
    flex-direction: column;
    align-items: flex-start;
    border-top: 0;
    padding: 0;
    gap: 4px;
    min-width: 0;
  }
  .finance-gaji-lines-totals strong {
    text-align: left;
  }
}
.finance-gaji-compose-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--gaji-line, rgba(15, 23, 41, 0.08));
  background:
    linear-gradient(145deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 12px 28px rgba(15, 23, 41, 0.05);
}
.finance-gaji-compose-item {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
}
.finance-gaji-compose-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gaji-slate, #64748b);
}
.finance-gaji-compose-item small {
  font-size: 0.72rem;
  line-height: 1.35;
  color: #94a3b8;
}
.finance-gaji-compose-item.is-primary {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(201, 169, 98, 0.1);
  border: 1px solid var(--gaji-gold-soft, rgba(201, 169, 98, 0.22));
}
.finance-gaji-compose-item.is-result {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(15, 23, 41, 0.03);
  border: 1px solid var(--gaji-line, rgba(15, 23, 41, 0.08));
  align-content: start;
}
.finance-gaji-compose-result {
  margin: 0;
  min-height: 40px;
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gaji-navy, #0f1729);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.finance-gaji-compose-result.is-warn {
  color: #b45309;
  font-size: 0.86rem;
  font-weight: 700;
}
.finance-gaji-salary-lux.is-compact .finance-gaji-compose-card {
  padding: 12px;
  gap: 10px;
  border-radius: 14px;
}
.finance-gaji-salary-lux.is-compact .finance-gaji-compose-result {
  min-height: 36px;
  font-size: 0.98rem;
}
@media (max-width: 900px) {
  .finance-gaji-compose-card {
    grid-template-columns: 1fr;
  }
}
.finance-gaji-placement {
  margin: 0;
}
.finance-gaji-placement-card {
  position: relative;
  overflow: hidden;
  padding: 14px 16px 12px;
  border-radius: 16px;
  border: 1px solid var(--gaji-line, rgba(15, 23, 41, 0.08));
  background:
    linear-gradient(145deg, #ffffff 0%, #f8fafc 48%, #f1f5f9 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 12px 30px rgba(15, 23, 41, 0.05);
}
.finance-gaji-placement-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gaji-gold, #c9a962) 0%, #8b7355 100%);
}
.finance-gaji-placement-eyebrow {
  margin: 0 0 10px;
  padding-left: 12px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gaji-slate, #64748b);
}
.finance-gaji-placement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 12px 20px;
  padding-left: 12px;
}
.finance-gaji-placement-item {
  min-width: 0;
  display: grid;
  gap: 5px;
}
.finance-gaji-placement-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gaji-slate, #64748b);
}
.finance-gaji-placement-value {
  display: block;
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--gaji-navy, #0f1729);
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}
.finance-gaji-placement-value.is-empty {
  font-weight: 600;
  color: #94a3b8;
  font-style: italic;
}
.finance-gaji-placement-hint {
  margin: 10px 0 0;
  padding-left: 12px;
  font-size: 0.74rem;
  line-height: 1.35;
  color: #94a3b8;
}
.finance-gaji-salary-lux.is-compact .finance-gaji-placement-card {
  padding: 12px 14px 10px;
  border-radius: 14px;
}
.finance-gaji-salary-lux.is-compact .finance-gaji-placement-value {
  font-size: 0.92rem;
}
@media (max-width: 720px) {
  .finance-gaji-placement-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
.page-finance-gaji-lux .finance-textarea {
  min-height: 72px;
}
.page-finance-gaji-lux .finance-field-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #334155;
}
.finance-gaji-fields {
  gap: 14px 16px;
}
.finance-gaji-currency-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}
.finance-gaji-currency-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 41, 0.12);
  background: #fff;
  cursor: pointer;
  font-weight: 800;
  color: #334155;
  transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
}
.finance-gaji-currency-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.finance-gaji-currency-option:has(input:checked) {
  border-color: rgba(201, 169, 98, 0.65);
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.45), #fff 60%);
  color: #0f1729;
  box-shadow: 0 6px 16px rgba(201, 169, 98, 0.18);
}
.finance-gaji-currency-option:hover {
  border-color: rgba(201, 169, 98, 0.4);
}
/* Prefix Total hutang mengikuti radio mata uang (tanpa bergantung JS). */
.finance-gaji-fields:has(#financeGajiCurrencyUsd:checked) .finance-gaji-prefix-idr,
.finance-gaji-total-field.is-usd .finance-gaji-prefix-idr {
  display: none !important;
}
.finance-gaji-fields:has(#financeGajiCurrencyUsd:checked) .finance-gaji-prefix-usd,
.finance-gaji-total-field.is-usd .finance-gaji-prefix-usd {
  display: inline-flex !important;
}
.finance-gaji-fields:has(#financeGajiCurrencyIdr:checked) .finance-gaji-prefix-usd,
.finance-gaji-total-field.is-idr .finance-gaji-prefix-usd {
  display: none !important;
}
.finance-gaji-fields:has(#financeGajiCurrencyIdr:checked) .finance-gaji-prefix-idr,
.finance-gaji-total-field.is-idr .finance-gaji-prefix-idr {
  display: inline-flex !important;
}
.finance-gaji-form-actions {
  margin-top: 22px;
}
.finance-gaji-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #0f1729;
  background: linear-gradient(135deg, #f0d78c 0%, #c9a962 48%, #b8923f 100%);
  box-shadow: 0 10px 24px rgba(201, 169, 98, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.finance-gaji-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(201, 169, 98, 0.42);
}
.finance-gaji-submit-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(15, 23, 41, 0.12);
  font-size: 0.8rem;
}
.finance-gaji-preview-lux {
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 41, 0.08);
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 23, 41, 0.06);
  overflow: hidden;
  position: sticky;
  top: 12px;
}
.finance-gaji-preview-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 14px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border-bottom: 1px solid rgba(15, 23, 41, 0.06);
}
.finance-gaji-preview-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--gaji-navy);
}
.finance-gaji-preview-sub {
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: var(--gaji-slate);
}
.finance-gaji-preview-sum-box {
  text-align: right;
  min-width: 7.5rem;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(201, 169, 98, 0.14);
  border: 1px solid rgba(201, 169, 98, 0.35);
}
.finance-gaji-preview-sum-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #92400e;
}
.finance-gaji-preview-sum {
  display: block;
  margin-top: 2px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gaji-navy);
}
.finance-gaji-preview-table-wrap {
  max-height: min(420px, 55vh);
  overflow: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
}
.finance-gaji-preview-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f8fafc;
}
.finance-gaji-preview-due-wrap {
  display: block;
  min-width: 0;
  margin: 0;
}
.finance-gaji-preview-due {
  width: 100%;
  min-width: 0;
  max-width: 11.5rem;
  min-height: 36px !important;
  padding: 4px 8px !important;
  font-size: 0.82rem !important;
  font-weight: 700;
  cursor: pointer;
  background: #fff !important;
}
.finance-gaji-preview-due:hover,
.finance-gaji-preview-due:focus {
  border-color: rgba(201, 169, 98, 0.7) !important;
  outline: none;
}
.finance-gaji-preview-amt-wrap {
  display: block;
  min-width: 0;
  margin: 0;
}
.finance-gaji-preview-amt {
  width: 100%;
  max-width: 11.5rem;
  margin-left: auto;
  min-height: 36px;
}
.page-finance-gaji-lux .finance-gaji-preview-amt-input {
  min-height: 36px !important;
  padding: 4px 8px !important;
  font-size: 0.85rem !important;
  font-weight: 700;
  text-align: right;
}
.finance-gaji-viewonly {
  margin: 0 0 24px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(15, 23, 41, 0.04);
  color: var(--gaji-slate);
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}
.finance-gaji-saved,
.finance-gaji-archive {
  margin-bottom: 28px;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 41, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #fff 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 18px 44px rgba(15, 23, 41, 0.06);
  overflow: visible;
}
.finance-gaji-saved.is-compact {
  margin-bottom: 14px;
}
.finance-gaji-saved.is-compact .finance-gaji-saved-head {
  padding: 14px 16px 10px;
}
.finance-gaji-saved.is-compact .finance-gaji-saved-title {
  font-size: 1rem;
}
.page-finance-gaji-lux.is-bayar-detail .finance-gaji-saved .table-wrap,
.page-finance-gaji-lux.is-bayar-detail .finance-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.finance-gaji-archive-lux {
  position: relative;
}
.finance-gaji-archive-lux::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, #0f1729 0%, #c9a962 55%, rgba(201, 169, 98, 0.25) 100%);
}
.finance-gaji-saved-head,
.finance-gaji-archive-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px 18px;
  padding: 22px 22px 16px;
  border-bottom: 1px solid rgba(15, 23, 41, 0.06);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(201, 169, 98, 0.1), transparent 50%),
    linear-gradient(180deg, #fbfaf7 0%, #fff 100%);
}
.finance-gaji-saved-eyebrow,
.finance-gaji-archive-eyebrow {
  margin: 0 0 6px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #166534;
}
.finance-gaji-archive-eyebrow {
  color: #92400e;
}
.finance-gaji-saved-title,
.finance-gaji-archive-title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gaji-navy);
}
.finance-gaji-archive-sub {
  margin: 5px 0 0;
  font-size: 0.82rem;
  color: var(--gaji-slate);
}
.finance-gaji-archive-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}
.finance-gaji-archive-count {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0f1729;
  background: rgba(15, 23, 41, 0.05);
  border: 1px solid rgba(15, 23, 41, 0.08);
}
.finance-gaji-saved-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.finance-gaji-pill {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #92400e;
  background: rgba(201, 169, 98, 0.2);
  border: 1px solid rgba(201, 169, 98, 0.4);
}
.finance-gaji-pill-soft {
  color: #334155;
  background: rgba(15, 23, 41, 0.05);
  border-color: rgba(15, 23, 41, 0.08);
  font-weight: 700;
}
.finance-gaji-saved-notes {
  margin: 0;
  padding: 12px 22px;
  font-size: 0.88rem;
  color: var(--gaji-slate);
  border-bottom: 1px solid rgba(15, 23, 41, 0.05);
}
.finance-gaji-saved .table-wrap,
.finance-gaji-archive .table-wrap {
  margin: 0;
  border: 0;
  border-radius: 0;
}
.finance-gaji-month-badge {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gaji-navy);
  background: rgba(15, 23, 41, 0.06);
}
.finance-gaji-ledger-cols {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) 110px minmax(140px, 1fr) 120px 110px minmax(168px, auto);
  gap: 12px 16px;
  padding: 12px 22px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  background: rgba(15, 23, 41, 0.015);
  border-bottom: 1px solid rgba(15, 23, 41, 0.05);
}
.finance-gaji-ledger-cols .is-right {
  text-align: right;
}
.finance-gaji-ledger {
  list-style: none;
  margin: 0;
  padding: 10px;
}
.finance-gaji-ledger-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) 110px minmax(140px, 1fr) 120px 110px minmax(168px, auto);
  gap: 12px 16px;
  align-items: center;
  padding: 14px 16px;
  margin-bottom: 8px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 41, 0.06);
  background: linear-gradient(180deg, #fff 0%, #fcfcfd 100%);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.finance-gaji-ledger-row:last-child {
  margin-bottom: 0;
}
.finance-gaji-ledger-row:hover {
  border-color: rgba(201, 169, 98, 0.45);
  box-shadow: 0 10px 28px rgba(15, 23, 41, 0.06);
  transform: translateY(-1px);
}
.finance-gaji-ledger-row.is-active {
  border-color: rgba(201, 169, 98, 0.55);
  background:
    linear-gradient(90deg, rgba(201, 169, 98, 0.14), rgba(255, 255, 255, 0.96) 42%),
    #fff;
  box-shadow: 0 12px 30px rgba(201, 169, 98, 0.12);
}
.finance-gaji-ledger-row.is-settled {
  opacity: 0.78;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-color: rgba(15, 23, 41, 0.05);
  box-shadow: none;
}
.finance-gaji-ledger-row.is-settled:hover {
  opacity: 0.92;
  transform: none;
  border-color: rgba(22, 101, 52, 0.22);
  box-shadow: 0 8px 20px rgba(15, 23, 41, 0.04);
}
.finance-gaji-ledger-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 4px 10px;
  padding: 0 8px;
  list-style: none;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.finance-gaji-ledger-divider::before,
.finance-gaji-ledger-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 23, 41, 0.12), transparent);
}
.finance-gaji-archive-count--soft {
  color: #166534;
  background: rgba(22, 101, 52, 0.08);
  border-color: rgba(22, 101, 52, 0.18);
}
.finance-gaji-ledger .finance-gaji-settle {
  text-transform: none;
}
.finance-gaji-ledger .finance-gaji-settle-lunas {
  color: #166534;
  background: rgba(22, 101, 52, 0.1);
  border-color: rgba(22, 101, 52, 0.22);
}
.finance-gaji-ledger .finance-gaji-settle-berjalan {
  color: #92400e;
  background: rgba(201, 169, 98, 0.16);
  border-color: rgba(201, 169, 98, 0.35);
}
.finance-gaji-ledger .finance-gaji-settle-belum-potong {
  color: #334155;
  background: rgba(15, 23, 41, 0.05);
  border-color: rgba(15, 23, 41, 0.1);
}
.finance-gaji-ledger-amount-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: #94a3b8;
  white-space: normal;
  overflow-wrap: anywhere;
}
.finance-gaji-ledger-row.is-settled .finance-gaji-ledger-amount strong {
  color: #166534;
}
.finance-gaji-open-btn.is-soft {
  background: rgba(15, 23, 41, 0.04);
  border-color: rgba(15, 23, 41, 0.1);
  color: #475569;
  box-shadow: none;
}
.finance-gaji-open-btn.is-soft:hover {
  background: rgba(22, 101, 52, 0.08);
  border-color: rgba(22, 101, 52, 0.22);
  color: #166534;
}
.finance-gaji-ledger-abk {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.finance-gaji-ledger-avatar {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #f8fafc;
  background: linear-gradient(145deg, #0f1729 0%, #1e293b 70%, #334155 100%);
  border: 1px solid rgba(201, 169, 98, 0.45);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset;
}
.finance-gaji-abk-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.finance-gaji-abk-cell strong {
  color: var(--gaji-navy);
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.finance-gaji-abk-cell span {
  font-size: 0.82rem;
  color: var(--gaji-slate);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.finance-gaji-pay-count {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 2px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #166534;
  background: rgba(22, 101, 52, 0.1);
  border: 1px solid rgba(22, 101, 52, 0.18);
  white-space: nowrap;
}
.finance-gaji-pay-count.is-zero {
  color: #64748b;
  background: rgba(100, 116, 139, 0.1);
  border-color: rgba(100, 116, 139, 0.18);
}
.finance-gaji-salary-history .finance-gaji-archive-head {
  border-bottom: 1px solid rgba(15, 23, 41, 0.06);
}
.finance-gaji-status {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #334155;
  background: rgba(15, 23, 41, 0.05);
  border: 1px solid rgba(15, 23, 41, 0.06);
  text-transform: lowercase;
}
.finance-gaji-status-onboard {
  color: #0f4c81;
  background: rgba(14, 116, 144, 0.1);
  border-color: rgba(14, 116, 144, 0.18);
}
.finance-gaji-status-siap,
.finance-gaji-status-ready {
  color: #166534;
  background: rgba(22, 101, 52, 0.1);
  border-color: rgba(22, 101, 52, 0.18);
}
.finance-gaji-status-pre-berangkat,
.finance-gaji-status-preberangkat {
  color: #92400e;
  background: rgba(201, 169, 98, 0.16);
  border-color: rgba(201, 169, 98, 0.35);
}
.finance-gaji-ledger-amount {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  text-align: right;
}
.finance-gaji-ccy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.finance-gaji-ccy-usd {
  color: #92400e;
  background: rgba(201, 169, 98, 0.2);
  border: 1px solid rgba(201, 169, 98, 0.4);
}
.finance-gaji-ccy-idr {
  color: #0f1729;
  background: rgba(15, 23, 41, 0.06);
  border: 1px solid rgba(15, 23, 41, 0.1);
}
.finance-gaji-ledger-amount strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gaji-navy);
  font-variant-numeric: tabular-nums;
}
.finance-gaji-ledger-plan {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.finance-gaji-ledger-plan strong {
  font-size: 0.95rem;
  color: var(--gaji-navy);
}
.finance-gaji-ledger-plan span,
.finance-gaji-ledger-start-label {
  font-size: 0.72rem;
  color: var(--gaji-slate);
}
.finance-gaji-ledger-start {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.finance-gaji-ledger-start strong {
  font-size: 0.9rem;
  color: var(--gaji-navy);
}
.finance-gaji-ledger-start-label {
  display: none;
}
.finance-gaji-ledger-action {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  align-items: center;
}
.finance-gaji-edit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 12px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--gaji-navy, #0f1729);
  background: #fff;
  border: 1px solid rgba(15, 23, 41, 0.14);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}
.finance-gaji-edit-btn:hover {
  border-color: rgba(201, 169, 98, 0.7);
  background: rgba(254, 243, 199, 0.45);
  text-decoration: none;
}
.finance-gaji-edit-btn.is-current {
  border-color: rgba(201, 169, 98, 0.65);
  background: rgba(201, 169, 98, 0.18);
}
.page-finance-gaji-lux.is-hutang .finance-gaji-edit-btn {
  min-height: 34px;
  padding: 0 10px;
  font-size: 0.74rem;
  border-radius: 10px;
}
.finance-gaji-open-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px 14px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  color: #0f1729;
  background: linear-gradient(180deg, rgba(201, 169, 98, 0.28), rgba(201, 169, 98, 0.16));
  border: 1px solid rgba(201, 169, 98, 0.45);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset;
  transition: background 0.15s ease, transform 0.15s ease;
}
.finance-gaji-open-btn:hover {
  background: linear-gradient(180deg, rgba(201, 169, 98, 0.4), rgba(201, 169, 98, 0.24));
  text-decoration: none;
  transform: translateY(-1px);
}
.finance-gaji-ledger-row.is-active .finance-gaji-open-btn {
  color: #fff;
  background: linear-gradient(145deg, #0f1729, #1e293b);
  border-color: rgba(201, 169, 98, 0.55);
}
.finance-gaji-ledger-empty {
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 48px 24px;
  text-align: center;
  color: var(--gaji-slate);
}
.finance-gaji-ledger-empty-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
  border-radius: 16px;
  font-size: 1.1rem;
  color: #c9a962;
  background: rgba(201, 169, 98, 0.12);
  border: 1px solid rgba(201, 169, 98, 0.28);
}
.finance-gaji-ledger-empty p {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--gaji-navy);
}
.finance-gaji-ledger-empty span {
  font-size: 0.84rem;
}
.page-finance-gaji .is-active-row {
  background: linear-gradient(90deg, rgba(201, 169, 98, 0.14), rgba(201, 169, 98, 0.04));
}
.finance-gaji-inst-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.finance-gaji-inst-status.is-paid {
  color: #166534;
  background: rgba(22, 101, 52, 0.1);
  border: 1px solid rgba(22, 101, 52, 0.2);
}
.finance-gaji-inst-status.is-pending {
  color: #92400e;
  background: rgba(201, 169, 98, 0.16);
  border: 1px solid rgba(201, 169, 98, 0.35);
}
.finance-gaji-saved-table .is-paid-row {
  opacity: 0.72;
}
.finance-gaji-locked-note,
.finance-gaji-settled-note {
  border: 1px solid rgba(201, 169, 98, 0.35);
  background: linear-gradient(90deg, rgba(201, 169, 98, 0.12), rgba(255, 255, 255, 0.9));
}
.finance-gaji-settled-note {
  border-color: rgba(22, 101, 52, 0.25);
  background: linear-gradient(90deg, rgba(22, 101, 52, 0.08), rgba(255, 255, 255, 0.9));
  color: #166534;
  font-weight: 700;
}
.finance-gaji-salary-lux,
.finance-gaji-salary-history {
  margin-bottom: 28px;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 41, 0.08);
  background: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 18px 44px rgba(15, 23, 41, 0.06);
  overflow: visible;
}
.finance-gaji-salary-lux {
  position: relative;
  scroll-margin-top: 88px;
}
.finance-gaji-dossier--compact {
  margin-bottom: 14px;
  padding: 14px 16px 16px;
}
.finance-gaji-dossier--compact .finance-gaji-dossier-top {
  margin-bottom: 12px;
}
.finance-gaji-dossier--compact .finance-gaji-dossier-avatar {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  font-size: 0.95rem;
}
.finance-gaji-dossier--compact .finance-gaji-dossier-title {
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
}
.finance-gaji-dossier-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.finance-gaji-dossier-metrics > div {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.finance-gaji-dossier-metrics span {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.55);
}
.finance-gaji-dossier-metrics strong {
  display: block;
  margin-top: 4px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fde68a;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.finance-gaji-dossier--bayar .finance-gaji-dossier-metrics strong {
  color: #bbf7d0;
}
.page-finance-gaji-lux.is-bayar-detail .finance-gaji-detail-stage {
  gap: 14px;
}
.page-finance-gaji-lux.is-bayar-detail .finance-gaji-salary-lux {
  order: 1;
}
.page-finance-gaji-lux.is-bayar-detail .finance-gaji-saved {
  order: 2;
}
.page-finance-gaji-lux.is-bayar-detail .finance-gaji-salary-history,
.page-finance-gaji-lux.is-bayar-detail .finance-gaji-settled-note,
.page-finance-gaji-lux.is-bayar-detail .finance-gaji-viewonly {
  order: 3;
}
.page-finance-gaji-lux.is-bayar-detail .finance-gaji-saved,
.page-finance-gaji-lux.is-bayar-detail .finance-gaji-salary-lux,
.page-finance-gaji-lux.is-bayar-detail .finance-gaji-salary-history {
  overflow: visible;
}
.finance-gaji-salary-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.finance-gaji-salary-fields.finance-form-grid-lux {
  padding: 0;
  margin-bottom: 0;
}
.finance-gaji-salary-side {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.finance-gaji-salary-calc-title {
  margin: 0 0 8px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #92400e;
}
.finance-gaji-salary-lux.is-compact .finance-gaji-salary-head {
  padding: 14px 16px 6px;
}
.finance-gaji-salary-lux.is-compact .finance-gaji-salary-title {
  font-size: 1.02rem;
}
.finance-gaji-salary-lux.is-compact .finance-gaji-salary-sub {
  margin-top: 4px;
  font-size: 0.8rem;
}
.finance-gaji-salary-lux.is-compact .finance-gaji-salary-form {
  padding: 6px 16px 16px;
}
.finance-gaji-salary-lux.is-compact .finance-gaji-salary-fields {
  margin-top: 4px;
  gap: 10px 12px;
}
.finance-gaji-salary-lux.is-compact .finance-field-label {
  font-size: 0.7rem;
}
.finance-gaji-salary-lux.is-compact .finance-gaji-input,
.finance-gaji-salary-lux.is-compact .finance-textarea,
.finance-gaji-salary-lux.is-compact .finance-usd-input,
.finance-gaji-salary-lux.is-compact .finance-idr-input {
  min-height: 40px;
}
.finance-gaji-salary-lux.is-compact .finance-textarea {
  min-height: 64px;
}
.finance-gaji-salary-lux.is-compact .finance-gaji-deduct-option {
  padding: 10px 12px;
}
.finance-gaji-salary-lux.is-compact .finance-gaji-salary-calc {
  margin: 0;
  padding: 14px 14px;
}
.finance-gaji-salary-lux.is-compact .finance-gaji-salary-submit {
  width: 100%;
  justify-content: center;
  min-height: 46px;
}
.finance-gaji-proof-field .finance-proof-dropzone {
  min-height: 88px;
  border-radius: 14px;
}
.finance-gaji-month-range-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px 12px;
  align-items: end;
}
.finance-gaji-month-pick {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.finance-gaji-month-pick > span {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gaji-slate, #64748b);
}
.finance-gaji-month-sep {
  padding-bottom: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gaji-slate, #64748b);
  white-space: nowrap;
}
.finance-gaji-month-range .date-input,
.finance-gaji-month-pick-single .date-input {
  min-height: 44px;
  width: 100%;
  cursor: pointer;
}
@media (max-width: 640px) {
  .finance-gaji-month-range-row {
    grid-template-columns: 1fr;
  }
  .finance-gaji-month-sep {
    padding: 0;
    text-align: center;
  }
}
.page-finance-gaji-lux.is-bayar-detail .finance-gaji-proof-field {
  margin-top: 2px;
}
.page-finance-gaji-lux.is-bayar-detail .finance-amount-wrap {
  overflow: visible;
  min-width: 0;
}
.page-finance-gaji-lux.is-bayar-detail .finance-amount-wrap input {
  min-width: 0;
  width: 100%;
}
.finance-gaji-salary-lux::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, #166534 0%, #c9a962 60%, rgba(15, 23, 41, 0.25) 100%);
}
.finance-gaji-salary-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px 18px;
  padding: 22px 22px 8px;
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(22, 101, 52, 0.08), transparent 50%),
    linear-gradient(180deg, #f7faf8 0%, #fff 100%);
}
.finance-gaji-kasir-ticket {
  display: grid;
  gap: 2px;
  min-width: 7.5rem;
  padding: 10px 14px;
  border-radius: 14px;
  text-align: right;
  background: rgba(15, 23, 41, 0.04);
  border: 1px dashed rgba(15, 23, 41, 0.16);
}
.finance-gaji-kasir-ticket span {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
}
.finance-gaji-kasir-ticket strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gaji-navy, #0f1729);
  overflow-wrap: anywhere;
}
.finance-gaji-salary-lux.is-kasir {
  border-color: rgba(201, 169, 98, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 22px 48px rgba(15, 23, 41, 0.08);
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-salary-side {
  gap: 14px;
}
.finance-gaji-kasir-receipt {
  position: relative;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 18px !important;
  border: 1px solid rgba(15, 23, 41, 0.12) !important;
  background:
    linear-gradient(180deg, #0f1729 0%, #1a2740 42%, #243049 100%) !important;
  color: #f8fafc;
  box-shadow: 0 18px 40px rgba(15, 23, 41, 0.22) !important;
}
.finance-gaji-kasir-receipt-head {
  padding: 16px 18px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.finance-gaji-kasir-receipt .finance-gaji-salary-calc-title {
  margin: 0 0 10px;
  color: #fde68a;
}
.finance-gaji-kasir-payee span {
  display: block;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.55);
}
.finance-gaji-kasir-payee strong {
  display: block;
  margin-top: 4px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.finance-gaji-kasir-total {
  margin: 0 14px;
  padding: 16px 14px;
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(246, 231, 193, 0.22), rgba(201, 169, 98, 0.12));
  border: 1px solid rgba(253, 230, 138, 0.35);
  text-align: center;
}
.finance-gaji-kasir-total span {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fde68a;
}
.finance-gaji-kasir-total strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.finance-gaji-kasir-total strong.is-warn {
  color: #fecaca;
  font-size: 1.05rem;
}
.finance-gaji-kasir-total em {
  display: block;
  margin-top: 6px;
  font-size: 0.76rem;
  font-style: normal;
  color: rgba(248, 250, 252, 0.62);
  line-height: 1.35;
}
.finance-gaji-kasir-pay-idr {
  display: block;
  margin-top: 10px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fde68a;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.finance-gaji-payout-fx {
  display: grid;
  gap: 10px;
  margin: 0 0 12px;
  padding: 14px 14px 12px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 41, 0.12);
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
}
.finance-gaji-payout-fx.is-kasir {
  margin-top: 4px;
  border-color: rgba(253, 230, 138, 0.45);
  background: linear-gradient(180deg, rgba(253, 230, 138, 0.16), rgba(255, 255, 255, 0.96));
  box-shadow: 0 8px 20px rgba(15, 23, 41, 0.08);
}
.finance-gaji-payout-fx-title {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #92400e;
}
.finance-gaji-payout-fx-sub {
  margin: -4px 0 2px;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #78716c;
}
.finance-gaji-payout-fx-field {
  display: grid;
  gap: 6px;
}
.finance-gaji-payout-fx-field > span:first-child {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #57534e;
}
.finance-gaji-payout-fx-input {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 2.6rem;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 41, 0.14);
  background: #fff;
}
.finance-gaji-payout-fx-input .finance-amount-prefix {
  font-size: 0.85rem;
  font-weight: 800;
  color: #92400e;
}
.finance-gaji-payout-fx-input input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 1.05rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #0f172a;
}
.finance-gaji-history-paid-idr,
.finance-gaji-history-paid-fx {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
  color: #166534;
  line-height: 1.3;
}
.finance-gaji-history-paid-fx {
  color: #64748b;
  font-weight: 600;
}
.finance-gaji-kasir-receipt .finance-gaji-salary-calc-row {
  margin: 0 14px;
  padding: 10px 2px;
  color: rgba(248, 250, 252, 0.72);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}
.finance-gaji-kasir-receipt .finance-gaji-salary-calc-row:last-of-type {
  margin-bottom: 14px;
  border-bottom: 0;
}
.finance-gaji-kasir-receipt .finance-gaji-salary-calc-row strong {
  color: #fff;
}
.finance-gaji-kasir-receipt .finance-gaji-salary-calc-row.is-deduct strong {
  color: #fdba74;
}
.finance-gaji-salary-submit.is-kasir-pay {
  min-height: 56px;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 14px 32px rgba(201, 169, 98, 0.45);
}
.finance-gaji-kasir-foot-hint {
  margin: 0;
  text-align: center;
  font-size: 0.74rem;
  line-height: 1.4;
  color: #94a3b8;
  overflow-wrap: anywhere;
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-salary-fields {
  gap: 14px;
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg {
  position: relative;
  padding: 14px 16px 14px 18px;
  border-radius: 16px;
  border: 1px solid transparent;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
  overflow: visible;
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 999px;
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg > .finance-field-label,
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--place .finance-gaji-placement-eyebrow,
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--proof .finance-field-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  width: fit-content;
  max-width: 100%;
}
.finance-gaji-kasir-step {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 1.45rem;
  height: 1.45rem;
  margin: 0;
  border-radius: 999px;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  color: #fff;
  background: #0f1729;
  box-shadow: 0 2px 6px rgba(15, 23, 41, 0.18);
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--period .finance-gaji-kasir-step {
  background: linear-gradient(145deg, #0e7490, #155e75);
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--transfer .finance-gaji-kasir-step,
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--lines .finance-gaji-kasir-step {
  background: linear-gradient(145deg, #c9a962, #92703a);
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--place .finance-gaji-kasir-step {
  background: linear-gradient(145deg, #334155, #0f1729);
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--deduct .finance-gaji-kasir-step {
  background: linear-gradient(145deg, #22c55e, #166534);
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--proof .finance-gaji-kasir-step {
  background: linear-gradient(145deg, #3b82f6, #1e40af);
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--notes .finance-gaji-kasir-step {
  background: linear-gradient(145deg, #94a3b8, #475569);
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-salary-sub {
  max-width: 42rem;
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-salary-head::after {
  content: "Langkah 1–7 · isi berurutan · cek struk kanan · Bayar ke ABK";
  flex: 1 1 100%;
  margin-top: 2px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #64748b;
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--period {
  background: linear-gradient(145deg, rgba(14, 116, 144, 0.08), rgba(255, 255, 255, 0.96));
  border-color: rgba(14, 116, 144, 0.18);
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--period::before {
  background: linear-gradient(180deg, #0e7490, #155e75);
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--period > .finance-field-label {
  color: #155e75;
  background: rgba(14, 116, 144, 0.12);
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--transfer {
  background: linear-gradient(145deg, rgba(201, 169, 98, 0.14), rgba(255, 255, 255, 0.96));
  border-color: rgba(201, 169, 98, 0.28);
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--transfer::before {
  background: linear-gradient(180deg, #c9a962, #92703a);
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--transfer > .finance-field-label {
  color: #92400e;
  background: rgba(201, 169, 98, 0.2);
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--place {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--place::before {
  display: none;
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--place .finance-gaji-placement-card {
  background:
    linear-gradient(145deg, rgba(15, 23, 41, 0.04), rgba(248, 250, 252, 0.98) 42%, #fff 100%);
  border-color: rgba(15, 23, 41, 0.1);
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--place .finance-gaji-placement-card::before {
  background: linear-gradient(180deg, #334155, #0f1729);
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--lines {
  background: linear-gradient(160deg, rgba(253, 230, 138, 0.16), rgba(255, 255, 255, 0.98) 38%, #f8fafc 100%);
  border-color: rgba(201, 169, 98, 0.32);
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--lines::before {
  background: linear-gradient(180deg, #e8c97a, #b8923f);
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--lines > .finance-field-label {
  color: #92400e;
  background: rgba(201, 169, 98, 0.22);
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--lines .finance-gaji-lines-card {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(201, 169, 98, 0.22);
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--deduct {
  background: linear-gradient(145deg, rgba(22, 101, 52, 0.08), rgba(255, 255, 255, 0.97));
  border-color: rgba(22, 101, 52, 0.18);
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--deduct::before {
  background: linear-gradient(180deg, #22c55e, #166534);
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--deduct > .finance-field-label {
  color: #166534;
  background: rgba(22, 101, 52, 0.12);
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--proof {
  display: block;
  padding: 14px 16px 14px 18px;
  background: linear-gradient(145deg, rgba(30, 64, 175, 0.08), rgba(255, 255, 255, 0.97));
  border: 1px solid rgba(30, 64, 175, 0.16);
  border-radius: 16px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--proof::before {
  background: linear-gradient(180deg, #3b82f6, #1e40af);
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--proof .finance-gaji-proof-field,
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--proof .finance-field {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--proof .finance-field-label {
  color: #1e40af;
  background: rgba(30, 64, 175, 0.1);
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--place .finance-gaji-placement-eyebrow {
  color: #334155;
  background: rgba(15, 23, 41, 0.06);
  padding-left: 10px;
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--proof .finance-proof-dropzone {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(30, 64, 175, 0.28);
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--notes {
  background: linear-gradient(145deg, rgba(100, 116, 139, 0.08), rgba(255, 255, 255, 0.97));
  border-color: rgba(100, 116, 139, 0.18);
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--notes::before {
  background: linear-gradient(180deg, #94a3b8, #475569);
}
.finance-gaji-salary-lux.is-kasir .finance-gaji-kasir-seg--notes > .finance-field-label {
  color: #334155;
  background: rgba(100, 116, 139, 0.14);
}
.finance-gaji-salary-eyebrow {
  margin: 0 0 6px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #166534;
}
.finance-gaji-salary-title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gaji-navy);
}
.finance-gaji-salary-sub {
  margin: 8px 0 0;
  max-width: 46rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--gaji-slate);
}
.finance-gaji-salary-form {
  padding: 8px 22px 22px;
}
.finance-gaji-salary-fields {
  margin-top: 8px;
}
.finance-gaji-deduct-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.finance-gaji-deduct-option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 41, 0.1);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.finance-gaji-deduct-option input {
  margin-top: 3px;
}
.finance-gaji-deduct-option span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.finance-gaji-deduct-option strong {
  font-size: 0.88rem;
  color: var(--gaji-navy);
  overflow-wrap: anywhere;
}
.finance-gaji-deduct-option small {
  font-size: 0.78rem;
  color: var(--gaji-slate);
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}
.finance-gaji-deduct-option:has(input:checked) {
  border-color: rgba(201, 169, 98, 0.55);
  background: rgba(201, 169, 98, 0.12);
}
.finance-gaji-deduct-settled {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(22, 101, 52, 0.22);
  background: linear-gradient(135deg, rgba(22, 101, 52, 0.08), rgba(255, 255, 255, 0.95));
}
.finance-gaji-deduct-settled strong {
  font-size: 0.9rem;
  color: #166534;
}
.finance-gaji-deduct-settled span {
  font-size: 0.8rem;
  line-height: 1.45;
  color: #64748b;
  overflow-wrap: anywhere;
}
.finance-gaji-salary-lux.is-settled-pay::before {
  background: linear-gradient(90deg, #166534 0%, #86efac 55%, rgba(15, 23, 41, 0.2) 100%);
}
.finance-gaji-ledger .finance-gaji-settle {
  white-space: normal;
  line-height: 1.3;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.finance-gaji-salary-calc {
  margin: 18px 0 8px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(201, 169, 98, 0.28);
  background:
    linear-gradient(160deg, rgba(255, 252, 245, 0.98) 0%, rgba(248, 250, 252, 0.96) 55%, rgba(241, 245, 249, 0.98) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 12px 28px rgba(15, 23, 41, 0.05);
}
.finance-gaji-salary-side .finance-gaji-salary-calc {
  margin: 0;
}
.finance-gaji-salary-calc-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--gaji-slate);
}
.finance-gaji-salary-calc-row > span {
  flex: 0 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}
.finance-gaji-salary-calc-row strong {
  color: var(--gaji-navy);
  font-variant-numeric: tabular-nums;
  text-align: right;
  max-width: 62%;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}
.finance-gaji-salary-calc-row.is-deduct strong {
  color: #9a3412;
}
.finance-gaji-salary-calc-row.is-net {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px dashed rgba(15, 23, 41, 0.12);
  font-weight: 700;
  color: var(--gaji-navy);
}
.finance-gaji-salary-calc-row.is-net strong {
  font-size: 1.05rem;
  color: #166534;
}
.finance-gaji-salary-calc-row.is-net strong.is-warn {
  color: #b91c1c;
  font-size: 0.88rem;
  line-height: 1.35;
}
.finance-gaji-salary-history .table-wrap {
  margin: 0;
  border: 0;
  border-radius: 0;
}
.finance-amt-out {
  color: #9a3412 !important;
  font-weight: 700;
}
@media (max-width: 720px) {
  .finance-gaji-deduct-toggle {
    grid-template-columns: 1fr;
  }
  .finance-gaji-salary-form,
  .finance-gaji-salary-head {
    padding-left: 16px;
    padding-right: 16px;
  }
  .finance-gaji-dossier-metrics {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 960px) {
  .finance-gaji-salary-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.7fr);
    gap: 18px 22px;
  }
  .finance-gaji-salary-side {
    position: sticky;
    top: 88px;
  }
  .page-finance-gaji-lux.is-bayar-detail .finance-gaji-salary-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.72fr);
  }
  .page-finance-gaji-lux.is-bayar-detail .finance-gaji-detail-stage {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
  .page-finance-gaji-lux.is-bayar-detail .finance-gaji-salary-lux,
  .page-finance-gaji-lux.is-bayar-detail .finance-gaji-saved,
  .page-finance-gaji-lux.is-bayar-detail .finance-gaji-salary-history {
    grid-column: 1 / -1;
  }
}
.finance-gaji-crew-dropdown {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  margin-top: 4px;
  max-height: 260px;
  overflow: auto;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
}
.finance-gaji-crew-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 11px 14px;
  border: 0;
  border-bottom: 1px solid rgba(15, 23, 41, 0.04);
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.finance-gaji-crew-item:last-child {
  border-bottom: 0;
}
.finance-gaji-crew-item:hover,
.finance-gaji-crew-item:focus-visible {
  background: rgba(201, 169, 98, 0.12);
  outline: none;
}
.finance-gaji-crew-empty {
  padding: 14px;
  color: #64748b;
  font-size: 0.88rem;
}
@media (max-width: 1100px) {
  .finance-gaji-ledger-cols {
    display: none;
  }
  .finance-gaji-ledger-divider {
    margin-left: 0;
    margin-right: 0;
  }
  .finance-gaji-ledger-row {
    grid-template-columns: 1fr 1fr;
    gap: 12px 14px;
  }
  .finance-gaji-ledger-abk {
    grid-column: 1 / -1;
  }
  .finance-gaji-ledger-amount,
  .finance-gaji-ledger-lastpay {
    align-items: flex-start;
    text-align: left;
  }
  .page-finance-gaji-lux.is-bayar .finance-gaji-ledger--bayar .finance-gaji-ledger-row {
    grid-template-columns: 1fr 1fr;
  }
  .finance-gaji-ledger-start-label {
    display: block;
  }
  .finance-gaji-ledger-action {
    grid-column: 1 / -1;
    justify-content: stretch;
  }
  .finance-gaji-open-btn {
    width: 100%;
  }
}
@media (max-width: 960px) {
  .finance-gaji-workspace {
    grid-template-columns: 1fr;
  }
  .finance-gaji-preview-lux {
    position: static;
  }
  .finance-gaji-kpi-strip {
    grid-template-columns: 1fr;
  }
  .finance-gaji-dossier-main {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .finance-gaji-dossier-amount {
    grid-column: 1 / -1;
    text-align: left;
  }
}
@media (max-width: 640px) {
  .finance-gaji-hero-emblem {
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    min-width: 0;
  }
  .finance-gaji-form-lux-body {
    padding: 16px;
  }
  .finance-gaji-saved-head,
  .finance-gaji-archive-head {
    padding: 16px;
  }
  .finance-gaji-ledger {
    padding: 8px;
  }
  .finance-gaji-ledger-row {
    padding: 14px;
  }
  .finance-gaji-dossier {
    padding: 16px;
  }
  .finance-gaji-dossier-avatar {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }
  .page-finance-gaji-lux {
    padding: 4px 0 20px;
    border-radius: 18px;
  }
}

/* Profil hutang & gaji: padat, tidak overflow */
.page-finance-gaji-lux.is-detail:not(.is-bayar-detail) {
  overflow-x: clip;
  max-width: 100%;
}
.page-finance-gaji-lux.is-detail:not(.is-bayar-detail) .finance-gaji-kpi-strip-detail {
  margin-bottom: 12px;
  gap: 10px;
}
.page-finance-gaji-lux.is-detail:not(.is-bayar-detail) .finance-gaji-kpi {
  padding: 12px 14px;
  gap: 10px;
  border-radius: 14px;
}
.page-finance-gaji-lux.is-detail:not(.is-bayar-detail) .finance-gaji-kpi-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 0.92rem;
}
.page-finance-gaji-lux.is-detail:not(.is-bayar-detail) .finance-gaji-kpi-value {
  font-size: 1.05rem;
}
.page-finance-gaji-lux.is-detail:not(.is-bayar-detail) .finance-gaji-edit-drawer {
  margin-bottom: 12px;
  border-radius: 14px;
}
.page-finance-gaji-lux.is-detail:not(.is-bayar-detail) .finance-gaji-edit-summary {
  padding: 10px 14px;
}
.page-finance-gaji-lux.is-detail:not(.is-bayar-detail) .finance-gaji-detail-stage {
  gap: 12px;
}
.page-finance-gaji-lux.is-detail:not(.is-bayar-detail) .finance-gaji-saved,
.page-finance-gaji-lux.is-detail:not(.is-bayar-detail) .finance-gaji-salary-lux,
.page-finance-gaji-lux.is-detail:not(.is-bayar-detail) .finance-gaji-salary-history {
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
}
.page-finance-gaji-lux.is-detail:not(.is-bayar-detail) .finance-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.page-finance-gaji-lux.is-detail:not(.is-bayar-detail) .finance-gaji-salary-title {
  font-size: 1.05rem;
  line-height: 1.25;
}
.page-finance-gaji-lux.is-detail:not(.is-bayar-detail) .finance-gaji-salary-sub {
  max-width: none;
  font-size: 0.78rem;
}
.page-finance-gaji-lux.is-detail:not(.is-bayar-detail) .finance-gaji-lines-card,
.page-finance-gaji-lux.is-detail:not(.is-bayar-detail) .finance-gaji-lines-body,
.page-finance-gaji-lux.is-detail:not(.is-bayar-detail) .finance-gaji-line-row {
  overflow-x: auto;
}
.page-finance-gaji-lux.is-detail:not(.is-bayar-detail) .finance-gaji-salary-calc-row strong {
  max-width: 58%;
}
.page-finance-gaji-lux.is-detail:not(.is-bayar-detail) .finance-gaji-payout-fx {
  margin: 0;
  min-width: 0;
}
.page-finance-gaji-lux.is-detail:not(.is-bayar-detail) .finance-gaji-salary-submit {
  width: 100%;
  justify-content: center;
}
@media (min-width: 900px) {
  .page-finance-gaji-lux.is-detail:not(.is-bayar-detail) .finance-gaji-lines-head,
  .page-finance-gaji-lux.is-detail:not(.is-bayar-detail) .finance-gaji-line-row {
    grid-template-columns: 32px minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 8px;
  }
}
@media (min-width: 1100px) {
  .page-finance-gaji-lux.is-detail:not(.is-bayar-detail) .finance-gaji-detail-stage {
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    align-items: start;
  }
  .page-finance-gaji-lux.is-detail .finance-gaji-detail-stage > .finance-gaji-salary-history,
  .page-finance-gaji-lux.is-detail .finance-gaji-detail-stage > .finance-gaji-settled-note,
  .page-finance-gaji-lux.is-detail .finance-gaji-detail-stage > .finance-gaji-viewonly {
    grid-column: 1 / -1;
  }
  .page-finance-gaji-lux.is-detail:not(.is-bayar-detail) .finance-gaji-saved,
  .page-finance-gaji-lux.is-detail:not(.is-bayar-detail) .finance-gaji-salary-lux {
    margin-bottom: 0;
  }
  /* Jangan nest 2 kolom di dalam kolom kanan — itu yang bikin kartu keluar */
  .page-finance-gaji-lux.is-detail:not(.is-bayar-detail) .finance-gaji-salary-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .page-finance-gaji-lux.is-detail:not(.is-bayar-detail) .finance-gaji-salary-side {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
  }
  .page-finance-gaji-lux.is-detail:not(.is-bayar-detail) .finance-gaji-salary-submit {
    grid-column: 1 / -1;
  }
}

.finance-hub-card-shine {
  position: absolute;
  inset: -40% -30% auto;
  height: 70%;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.22) 48%, transparent 62%);
  transform: rotate(-12deg) translateZ(24px);
  pointer-events: none;
  z-index: 1;
}
.finance-hub-card-depth {
  position: absolute;
  inset: auto 10% -18% 10%;
  height: 42%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  filter: blur(18px);
  transform: translateZ(-20px);
  pointer-events: none;
  z-index: 0;
}
.finance-hub-card-icon {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
  font-size: 1.45rem;
  transform: translateZ(28px);
}
.finance-hub-card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  transform: translateZ(20px);
}
.finance-hub-card-no {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  opacity: 0.72;
}
.finance-hub-card-title {
  font-size: clamp(1.05rem, 0.35vw + 0.95rem, 1.22rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.25;
}
.finance-hub-card-desc {
  font-size: 0.82rem;
  line-height: 1.45;
  opacity: 0.88;
  max-width: 18rem;
}
.finance-hub-card-cta {
  position: relative;
  z-index: 2;
  margin-top: 16px;
  align-self: flex-start;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: translateZ(26px);
  transition: background 0.2s ease, transform 0.2s ease;
}
.finance-hub-card:hover .finance-hub-card-cta {
  background: rgba(255, 255, 255, 0.24);
  transform: translateZ(30px) translateX(4px);
}

.finance-module-stub {
  margin: clamp(12px, 1.4vw, 20px);
  padding: clamp(28px, 4vw, 48px) clamp(18px, 3vw, 32px);
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
  text-align: center;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}
.finance-module-stub-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.06);
  font-size: 1.6rem;
}
.finance-module-stub h2 {
  margin: 0 0 8px;
  color: var(--navy, #0f172a);
}
.finance-module-stub p {
  margin: 0 auto;
  max-width: 34rem;
  color: #64748b;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .finance-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .finance-hub-card,
  .finance-hub-card:nth-child(n) {
    transform: rotateX(4deg);
  }
  .finance-hub-card:hover,
  .finance-hub-card:focus-visible,
  .finance-hub-card:nth-child(n):hover,
  .finance-hub-card:nth-child(n):focus-visible {
    transform: translateY(-8px) scale(1.02);
  }
}
@media (max-width: 640px) {
  .finance-hub-scene {
    perspective: none;
  }
  .finance-hub-grid {
    grid-template-columns: 1fr;
  }
  .finance-hub-card,
  .finance-hub-card:nth-child(n),
  .finance-hub-card:hover,
  .finance-hub-card:focus-visible,
  .finance-hub-card:nth-child(n):hover,
  .finance-hub-card:nth-child(n):focus-visible {
    transform: none;
  }
  .finance-hub-card:hover,
  .finance-hub-card:focus-visible {
    transform: translateY(-4px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .finance-hub-card,
  .finance-hub-card:nth-child(n),
  .finance-hub-card:hover,
  .finance-hub-card:focus-visible {
    transition: none;
    transform: none;
  }
}
.finance-balance-banner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 16px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(15, 23, 41, 0.04), rgba(201, 169, 98, 0.12));
  border: 1px solid rgba(201, 169, 98, 0.28);
}
.finance-balance-banner strong {
  font-size: 1.35rem;
  color: var(--navy, #0f1729);
}
.finance-form-title {
  margin: 0 0 14px;
  font-size: 1rem;
  color: var(--navy, #0f1729);
}
.finance-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.finance-proof-upload {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px dashed rgba(201, 169, 98, 0.45);
  background: rgba(255, 255, 255, 0.7);
}
.finance-proof-upload-label { font-weight: 600; font-size: 0.9rem; }
.finance-proof-current { font-size: 0.85rem; color: var(--muted, #64748b); }
.finance-proof-current a { font-weight: 600; }
.finance-req { color: #b91c1c; font-style: normal; }
.finance-proof-link {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(22, 101, 52, 0.1);
  color: #166534;
  text-decoration: none;
}
.finance-proof-link:hover { background: rgba(22, 101, 52, 0.18); text-decoration: none; }
.finance-proof-missing { color: #94a3b8; font-size: 0.85rem; }
.finance-proof-viewonly { margin: 12px 0 18px; font-size: 0.9rem; }
.finance-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
}
.finance-badge-in { background: rgba(22, 101, 52, 0.12); color: #166534; }
.finance-badge-out { background: rgba(180, 83, 9, 0.12); color: #b45309; }
.finance-td-desc { max-width: 220px; word-break: break-word; }
.finance-table-wrap { margin-bottom: 24px; }
.finance-data-table th:last-child,
.finance-data-table td:last-child { white-space: nowrap; }

/* —— Keuangan: halaman kas (mewah & rapi) —— */
.page-finance-cash {
  padding-bottom: 28px;
}
.finance-cash-abk-panel {
  margin: 4px 0 0;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px dashed rgba(201, 169, 98, 0.55);
  background: rgba(201, 169, 98, 0.06);
}
.finance-cash-abk-panel-head {
  margin-bottom: 0;
}
.finance-cash-abk-toggle {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  cursor: pointer;
  line-height: 1.45;
}
.finance-cash-abk-toggle input {
  margin-top: 3px;
  flex-shrink: 0;
}
.finance-cash-abk-hint {
  margin: 8px 0 0 26px;
}
.finance-cash-abk-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 23, 41, 0.08);
}
.finance-field-abk-pick .finance-cash-crew-combobox {
  position: relative;
}
.finance-cash-crew-selected {
  margin: 8px 0 0;
  font-size: 0.9rem;
}
.finance-cash-crew-clear {
  margin-left: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent, #b8860b);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
}
.finance-cash-collective-toggle {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px dashed rgba(15, 23, 41, 0.12);
}
.finance-cash-collective-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  margin-top: 10px;
}
.finance-cash-collective-list-wrap {
  grid-column: 1 / -1;
}
.finance-cash-collective-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.finance-cash-collective-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 6px 12px;
  border-radius: 999px;
  background: linear-gradient(165deg, rgba(201, 169, 98, 0.2), #fff);
  border: 1px solid rgba(201, 169, 98, 0.45);
  font-size: 0.82rem;
}
.finance-cash-collective-remove {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 23, 41, 0.08);
  color: #334155;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
.finance-cash-collective-remove:hover {
  background: rgba(180, 83, 9, 0.2);
  color: #b45309;
}
.finance-cash-collective-split {
  grid-column: 1 / -1;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(15, 23, 41, 0.04);
  border: 1px solid rgba(201, 169, 98, 0.3);
  font-size: 0.88rem;
}
.finance-cash-collective-split strong {
  color: var(--navy, #0f1729);
}
.finance-crew-add-label {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 800;
  color: #166534;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.finance-tx-abk-collective {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--navy, #0f1729);
  background: rgba(201, 169, 98, 0.25);
  border: 1px solid rgba(201, 169, 98, 0.4);
}
@media (max-width: 720px) {
  .finance-cash-collective-block {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .finance-cash-abk-fields {
    grid-template-columns: 1fr;
  }
}
.finance-page-lead {
  max-width: 42rem;
  margin-top: 4px;
}
.finance-page-alert {
  margin: 0 0 16px;
}
.finance-balance-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin: 0 0 24px;
  padding: 22px 26px;
  border-radius: 16px;
  border: 1px solid rgba(201, 169, 98, 0.38);
  background:
    linear-gradient(135deg, rgba(15, 23, 41, 0.03) 0%, rgba(201, 169, 98, 0.14) 48%, rgba(255, 255, 255, 0.92) 100%);
  box-shadow: 0 12px 32px rgba(15, 23, 41, 0.06);
}
.finance-balance-hero-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted, #64748b);
}
.finance-balance-hero-hint {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--muted, #64748b);
}
.finance-balance-hero-value {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy, #0f1729);
  letter-spacing: -0.02em;
}
.finance-form-card {
  margin: 0 0 28px;
  padding: 0;
  border-radius: 16px;
  border: 1px solid rgba(201, 169, 98, 0.28);
  background: linear-gradient(180deg, #fff 0%, #faf8f4 100%);
  box-shadow: 0 8px 28px rgba(15, 23, 41, 0.05);
  overflow: hidden;
}
.finance-form-card-head {
  padding: 20px 24px 12px;
  border-bottom: 1px solid rgba(201, 169, 98, 0.15);
  background: linear-gradient(180deg, rgba(201, 169, 98, 0.08), transparent);
}
.finance-form-sub {
  margin: 6px 0 0;
  font-size: 0.85rem;
  color: var(--muted, #64748b);
}
.finance-form-grid-lux {
  padding: 20px 24px 8px;
  gap: 16px 20px;
}
.finance-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}
.finance-field-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy, #0f1729);
}
.finance-field input[type="text"],
.finance-field input[type="date"],
.finance-field select,
.finance-select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 41, 0.12);
  background: #fff;
  font-size: 0.92rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.finance-field input:focus,
.finance-field select:focus {
  outline: none;
  border-color: rgba(201, 169, 98, 0.65);
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.18);
}
.finance-amount-wrap {
  display: flex;
  align-items: stretch;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 41, 0.12);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.finance-amount-wrap:focus-within {
  border-color: rgba(201, 169, 98, 0.65);
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.18);
}
.finance-amount-prefix {
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy, #0f1729);
  background: linear-gradient(180deg, rgba(201, 169, 98, 0.12), rgba(201, 169, 98, 0.04));
  border-right: 1px solid rgba(15, 23, 41, 0.08);
}
.finance-amount-wrap .finance-idr-input,
.finance-amount-wrap .finance-usd-input {
  flex: 1;
  min-width: 0;
  width: 100%;
  border: none;
  border-radius: 0 !important;
  box-shadow: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.finance-amount-wrap .finance-idr-input:focus,
.finance-amount-wrap .finance-usd-input:focus {
  box-shadow: none;
}
.finance-field-hint,
.finance-form-footnote {
  font-size: 0.8rem;
  color: var(--muted, #64748b);
  line-height: 1.45;
}
.finance-form-footnote {
  margin: 0 24px;
  padding-bottom: 4px;
}
.finance-form-card .finance-form-actions {
  padding: 12px 24px 22px;
  margin: 0;
  border-top: 1px solid rgba(15, 23, 41, 0.06);
  background: rgba(250, 248, 245, 0.6);
}
.finance-btn-submit {
  min-width: 180px;
  padding: 11px 22px;
}
.finance-proof-dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px 16px;
  border-radius: 12px;
  border: 1px dashed rgba(201, 169, 98, 0.5);
  background: rgba(255, 255, 255, 0.85);
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
}
.finance-proof-dropzone:hover,
.finance-proof-dropzone.has-file {
  border-color: var(--gold, #c9a962);
  background: rgba(201, 169, 98, 0.06);
}
.finance-proof-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.finance-proof-dropzone-icon {
  font-size: 1.4rem;
  line-height: 1;
}
.finance-proof-dropzone-main {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy, #0f1729);
}
.finance-proof-filename {
  font-size: 0.8rem;
  color: var(--muted, #64748b);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.finance-proof-current {
  margin: 0 0 8px;
  font-size: 0.85rem;
}
.finance-history-block {
  margin-top: 8px;
}
.finance-tx-history {
  margin-top: 32px;
  padding: 0;
  border-radius: 18px;
  border: 1px solid rgba(201, 169, 98, 0.32);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 248, 244, 0.96) 55%, rgba(248, 250, 252, 0.94) 100%);
  box-shadow:
    0 16px 40px rgba(15, 23, 41, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
}
.finance-tx-history-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 22px 26px 18px;
  border-bottom: 1px solid rgba(201, 169, 98, 0.22);
  background:
    linear-gradient(135deg, rgba(15, 23, 41, 0.04) 0%, rgba(201, 169, 98, 0.14) 42%, rgba(255, 255, 255, 0.5) 100%);
}
.finance-tx-history-title {
  margin: 0;
  font-family: var(--font-serif, Georgia, serif);
  font-size: clamp(1.15rem, 1.4vw, 1.35rem);
  font-weight: 700;
  color: var(--navy, #0f1729);
  letter-spacing: 0.01em;
}
.finance-tx-history-lead {
  margin: 6px 0 0;
  font-size: 0.86rem;
  max-width: 36rem;
}
.finance-tx-history-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  justify-content: flex-end;
}
.finance-tx-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 23, 41, 0.08);
  box-shadow: 0 2px 8px rgba(15, 23, 41, 0.04);
}
.finance-tx-stat strong {
  font-weight: 800;
  color: var(--navy, #0f1729);
}
.finance-tx-stat-in {
  color: #166534;
  border-color: rgba(22, 101, 52, 0.22);
  background: linear-gradient(165deg, rgba(220, 252, 231, 0.65), rgba(255, 255, 255, 0.9));
}
.finance-tx-stat-out {
  color: #b45309;
  border-color: rgba(180, 83, 9, 0.22);
  background: linear-gradient(165deg, rgba(254, 243, 199, 0.55), rgba(255, 255, 255, 0.9));
}
.finance-tx-history-empty {
  padding: 48px 28px 52px;
  text-align: center;
}
.finance-tx-history-empty-icon {
  display: block;
  font-size: 2.2rem;
  margin-bottom: 12px;
  opacity: 0.45;
}
.finance-tx-history-empty p {
  margin: 0 0 6px;
  font-size: 0.95rem;
  color: var(--navy, #0f1729);
}
.finance-tx-history-shell {
  padding: 4px 12px 16px;
}
.finance-tx-table-wrap {
  margin: 0;
  border: none;
  border-radius: 12px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.finance-tx-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.88rem;
}
.finance-tx-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 14px 16px;
  background: linear-gradient(180deg, #1a2744 0%, #0f1729 100%);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  white-space: nowrap;
}
.finance-tx-table thead th:first-child {
  border-radius: 10px 0 0 0;
}
.finance-tx-table thead th:last-child {
  border-radius: 0 10px 0 0;
}
.finance-tx-table tbody tr.finance-tx-row {
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.finance-tx-table tbody tr.finance-tx-row:nth-child(even) {
  background: rgba(248, 250, 252, 0.65);
}
.finance-tx-table tbody tr.finance-tx-row:hover {
  background: rgba(201, 169, 98, 0.1);
  box-shadow: inset 3px 0 0 var(--gold, #c9a962);
}
.finance-tx-table tbody td {
  padding: 14px 16px;
  vertical-align: middle;
  border-bottom: 1px solid rgba(15, 23, 41, 0.06);
  color: #334155;
}
.finance-tx-table tbody tr:last-child td {
  border-bottom: none;
}
.finance-tx-date time {
  font-weight: 600;
  color: var(--navy, #0f1729);
  white-space: nowrap;
}
.finance-tx-dir {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px 5px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.finance-tx-dir-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15em;
  height: 1.15em;
  border-radius: 50%;
  font-size: 0.7rem;
  line-height: 1;
}
.finance-tx-dir-in {
  color: #166534;
  background: linear-gradient(165deg, rgba(220, 252, 231, 0.95), rgba(187, 247, 208, 0.5));
  border: 1px solid rgba(22, 101, 52, 0.25);
}
.finance-tx-dir-in .finance-tx-dir-icon {
  background: rgba(22, 101, 52, 0.12);
}
.finance-tx-dir-out {
  color: #b45309;
  background: linear-gradient(165deg, rgba(254, 243, 199, 0.95), rgba(253, 230, 138, 0.35));
  border: 1px solid rgba(180, 83, 9, 0.28);
}
.finance-tx-dir-out .finance-tx-dir-icon {
  background: rgba(180, 83, 9, 0.12);
}
.finance-tx-cat {
  font-weight: 600;
  color: #475569;
}
.finance-tx-amt .finance-tx-amt-value {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.finance-tx-desc {
  max-width: 280px;
  line-height: 1.45;
  color: #64748b;
}
.finance-tx-abk-link {
  font-weight: 700;
  color: var(--navy, #0f1729);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 169, 98, 0.45);
}
.finance-tx-abk-link:hover {
  color: var(--gold-dark, #9a7b3c);
}
.finance-proof-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  color: #166534;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(220, 252, 231, 0.7));
  border: 1px solid rgba(22, 101, 52, 0.28);
  box-shadow: 0 2px 8px rgba(22, 101, 52, 0.08);
  transition: transform 0.12s, box-shadow 0.15s, border-color 0.15s;
}
.finance-proof-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(22, 101, 52, 0.45);
  box-shadow: 0 4px 12px rgba(22, 101, 52, 0.14);
}
.finance-proof-btn-icon {
  font-size: 0.85rem;
  line-height: 1;
}
.finance-proof-missing {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: #94a3b8;
}
.finance-proof-missing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
}
.finance-table-lux {
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 41, 0.08);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 41, 0.04);
}
.finance-table-lux .finance-data-table thead th {
  background: linear-gradient(180deg, #f8f6f1, #f3f0ea);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.page-finance-cash .finance-tx-history .finance-tx-table-wrap {
  border: 1px solid rgba(15, 23, 41, 0.06);
  border-radius: 12px;
  background: #fff;
}
@media (max-width: 900px) {
  .finance-tx-history-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .finance-tx-history-stats {
    justify-content: flex-start;
  }
}
@media (max-width: 768px) {
  .finance-tx-table thead {
    display: none;
  }
  .finance-tx-table tbody tr.finance-tx-row {
    display: block;
    margin: 12px 8px;
    padding: 4px 0;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 41, 0.08);
    background: #fff !important;
    box-shadow: 0 4px 14px rgba(15, 23, 41, 0.05);
  }
  .finance-tx-table tbody tr.finance-tx-row:hover {
    box-shadow: 0 6px 18px rgba(15, 23, 41, 0.08);
  }
  .finance-tx-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(15, 23, 41, 0.05);
    text-align: right;
  }
  .finance-tx-table tbody td::before {
    content: attr(data-label);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
    text-align: left;
    flex-shrink: 0;
  }
  .finance-tx-table tbody td.finance-th-amt {
    text-align: right;
  }
  .finance-tx-desc {
    max-width: none;
  }
}
.finance-th-amt {
  text-align: right;
  white-space: nowrap;
}
.finance-empty-row {
  text-align: center;
  padding: 24px !important;
}
.finance-panel-cash .finance-subnav {
  margin-bottom: 22px;
}
@media (max-width: 640px) {
  .finance-balance-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .finance-form-grid-lux {
    grid-template-columns: 1fr;
  }
}

/* —— Keuangan: semua halaman (shared) —— */
.page-finance {
  padding-bottom: 28px;
}
.finance-page-head-split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}
.finance-head-cta {
  flex-shrink: 0;
}
.finance-search-lux {
  margin: 0 0 22px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(201, 169, 98, 0.22);
  background: linear-gradient(180deg, #fff, #faf8f4);
  box-shadow: 0 4px 16px rgba(15, 23, 41, 0.04);
}
.finance-search-lux-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.finance-search-lux-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.finance-search-lux-actions .btn-primary,
.finance-search-lux-actions .btn-ghost,
.finance-search-lux-btn {
  width: auto;
  flex: 0 0 auto;
  min-width: 96px;
}
.finance-search-lux-field {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 41, 0.1);
  background: #fff;
}
.finance-search-lux-field-combobox {
  align-items: stretch;
  padding-right: 0;
}
.finance-search-lux-field-combobox .finance-crew-search-combobox {
  flex: 1;
  min-width: 0;
}
.finance-search-lux-field-combobox .finance-crew-search-combobox input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 10px 0;
  font-size: 0.92rem;
  min-width: 0;
}
.finance-search-lux-field-combobox .finance-crew-search-combobox input:focus {
  outline: none;
  box-shadow: none;
}
.finance-crew-search-dropdown {
  border-radius: 12px;
  border-color: rgba(201, 169, 98, 0.35);
  box-shadow: 0 12px 32px rgba(15, 23, 41, 0.12);
}
.finance-crew-search-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 14px;
}
.finance-crew-search-item-name {
  font-weight: 600;
  color: var(--navy, #0f1729);
}
.finance-crew-search-item-meta {
  font-size: 0.78rem;
  color: var(--muted, #64748b);
}
.finance-crew-search-empty {
  padding: 12px 14px;
  font-size: 0.85rem;
  color: var(--muted, #64748b);
}
.finance-search-crew-autocomplete .finance-crew-search-hint {
  flex: 1 1 100%;
  width: 100%;
  margin: 4px 0 0;
  font-size: 0.8rem;
}
.finance-search-crew-autocomplete .finance-search-lux-inner {
  align-items: center;
}
.finance-search-lux-field:focus-within {
  border-color: rgba(201, 169, 98, 0.55);
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.15);
}
.finance-search-lux-icon {
  color: var(--muted, #64748b);
  font-size: 1.1rem;
}
.finance-search-lux-field input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 0;
  font-size: 0.92rem;
  min-width: 0;
}
.finance-search-lux-field input:focus {
  outline: none;
  box-shadow: none;
}
.finance-search-lux-btn {
  padding: 10px 22px;
}
.finance-dash-grid-lux {
  gap: 16px;
  margin: 8px 0 22px;
}
.finance-dash-card-lux {
  padding: 20px 22px;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15, 23, 41, 0.06);
}
.finance-dash-card-lux:hover {
  box-shadow: 0 14px 36px rgba(15, 23, 41, 0.1);
}
.finance-dash-card-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy, #0f1729);
}
.finance-dash-hint {
  font-size: 0.82rem;
  color: var(--muted, #64748b);
}
.finance-quick-actions-lux {
  margin: 0 0 24px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(201, 169, 98, 0.06);
  border: 1px solid rgba(201, 169, 98, 0.18);
}
.finance-summary-cards-lux {
  gap: 14px;
  margin: 0 0 22px;
}
.finance-summary-cards-lux .finance-summary-card {
  padding: 16px 18px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(15, 23, 41, 0.04);
}
.finance-summary-cards-lux .finance-summary-card strong {
  font-size: 1.05rem;
}
.finance-td-abk strong {
  display: block;
  color: var(--navy, #0f1729);
}
.finance-abk-uniq {
  display: block;
  font-size: 0.8rem;
  color: var(--muted, #64748b);
  margin-top: 2px;
}
.finance-rate-mini {
  display: block;
  font-size: 0.75rem;
  color: var(--muted, #64748b);
  margin-top: 2px;
}
.finance-badge-pending {
  background: rgba(100, 116, 139, 0.12);
  color: #475569;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
}
.finance-btn-detail {
  white-space: nowrap;
}
.finance-empty-row {
  text-align: center;
  padding: 32px 16px !important;
  vertical-align: middle;
}
.finance-empty-title {
  margin: 0 0 6px;
  font-weight: 700;
  color: var(--navy, #0f1729);
}
.finance-empty-inline {
  margin: 0 0 16px;
}
.finance-td-actions {
  white-space: nowrap;
}
.finance-amount-wrap-rate .finance-rate-idr {
  flex: 1;
  border: none;
  border-radius: 0;
  padding: 10px 12px;
  font-weight: 600;
}
.finance-amount-suffix {
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted, #64748b);
  background: rgba(15, 23, 41, 0.04);
  border-left: 1px solid rgba(15, 23, 41, 0.08);
}
.finance-usd-preview-wrap {
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.1), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(201, 169, 98, 0.25);
}
.finance-usd-preview-value {
  display: block;
  margin-top: 6px;
  font-size: 1.25rem;
  color: var(--navy, #0f1729);
}
.finance-textarea {
  min-height: 72px;
  resize: vertical;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 41, 0.12);
}
.finance-subnav-lux {
  padding-bottom: 16px;
  margin-bottom: 20px;
}
.finance-subnav-with-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  border-bottom: 1px solid rgba(15, 23, 41, 0.08);
}
.finance-subnav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.finance-subnav-cash-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #0f1729 0%, #1e293b 55%, #334155 100%);
  border: 1px solid rgba(201, 169, 98, 0.55);
  box-shadow: 0 8px 24px rgba(15, 23, 41, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  margin-left: auto;
}
.finance-subnav-cash-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 41, 0.28), 0 0 0 1px rgba(201, 169, 98, 0.45);
  text-decoration: none;
  color: #fff;
}
.finance-subnav-cash-cta.is-current {
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.95) 0%, #c9a962 45%, #b8923f 100%);
  color: #0f1729;
  border-color: rgba(15, 23, 41, 0.15);
}
.finance-subnav-cash-cta.is-current:hover {
  color: #0f1729;
}
.finance-subnav-cash-icon {
  font-size: 1.35rem;
  line-height: 1;
}
.finance-subnav-cash-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.2;
}
.finance-subnav-cash-text strong {
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}
.finance-subnav-cash-text small {
  font-size: 0.68rem;
  opacity: 0.85;
  font-weight: 500;
}
.finance-cash-hub-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin: 0 0 22px;
  padding: 18px 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(15, 23, 41, 0.92) 0%, rgba(30, 41, 59, 0.88) 100%);
  border: 1px solid rgba(201, 169, 98, 0.4);
  box-shadow: 0 10px 32px rgba(15, 23, 41, 0.15);
  color: #f8fafc;
}
.finance-cash-hub-eyebrow {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(201, 169, 98, 0.95);
  margin-bottom: 6px;
}
.finance-cash-hub-title {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 52rem;
  color: rgba(248, 250, 252, 0.92);
}
.finance-cash-hub-balance {
  margin: 8px 0 0;
  font-size: 0.82rem;
}
.finance-cash-hub-balance strong {
  color: #fde68a;
}
.finance-cash-hub-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.finance-cash-hub-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 14px;
  text-decoration: none;
  background: linear-gradient(165deg, #fde68a 0%, #c9a962 50%, #b8923f 100%);
  color: #0f1729;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(201, 169, 98, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.finance-cash-hub-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(201, 169, 98, 0.45);
  text-decoration: none;
  color: #0f1729;
}
.finance-cash-hub-cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(15, 23, 41, 0.12);
  font-size: 1.1rem;
  font-weight: 700;
}
.finance-cash-hub-cta span small,
.finance-cash-hub-cta-inline span small {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  opacity: 0.75;
}
.finance-cash-hub-cta-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 14px;
  text-decoration: none;
  background: linear-gradient(165deg, #0f1729, #1e293b);
  color: #fff;
  border: 1px solid rgba(201, 169, 98, 0.45);
}
.finance-cash-hub-cta-inline:hover {
  color: #fff;
  text-decoration: none;
}
.finance-cash-hub-secondary {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-decoration: none;
}
.finance-cash-hub-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: #fff;
}
.finance-cash-hub-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(165deg, rgba(201, 169, 98, 0.35), rgba(201, 169, 98, 0.15));
  border: 1px solid rgba(201, 169, 98, 0.45);
  color: var(--navy, #0f1729);
}
.finance-dash-grid-featured {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .finance-dash-grid-featured {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
  .finance-dash-card-primary {
    grid-row: span 1;
  }
}
.finance-dash-card-primary {
  border-color: rgba(201, 169, 98, 0.55);
  background: linear-gradient(165deg, rgba(254, 243, 199, 0.45) 0%, rgba(255, 255, 255, 0.98) 55%);
  box-shadow: 0 8px 28px rgba(201, 169, 98, 0.18);
}
.finance-dash-card-cta {
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy, #0f1729);
  opacity: 0.75;
}
.finance-dash-card-primary:hover .finance-dash-card-cta {
  opacity: 1;
}
.finance-quick-actions-minimal {
  justify-content: flex-start;
}
.page-finance-cash .finance-panel-cash,
.page-finance-loans,
.page-finance-dash,
.page-finance-transfers,
.page-finance-loan-detail,
.page-finance-transfer-form {
  min-height: 200px;
}

/* Transfer agency — form mewah */
.page-finance-transfer-form .finance-transfer-form-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 8px;
}
.page-finance-transfer-form .finance-form-grid-transfer {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.page-finance-transfer-form .finance-field-amount,
.page-finance-transfer-form .finance-field-proof,
.page-finance-transfer-form .finance-span-2 {
  grid-column: 1 / -1;
}
.page-finance-transfer-form .finance-field-amount .finance-amount-wrap {
  max-width: 100%;
}
.page-finance-transfer-form .finance-field-amount .finance-idr-input,
.page-finance-transfer-form .finance-field-amount .finance-usd-input {
  min-width: 8ch;
}
.finance-transfer-idr-preview-wrap {
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(15, 23, 41, 0.04), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(15, 23, 41, 0.1);
}
.finance-transfer-idr-preview {
  display: block;
  margin-top: 6px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy, #0f1729);
}
.finance-field-usd .finance-amount-prefix {
  background: linear-gradient(180deg, rgba(15, 23, 41, 0.08), rgba(15, 23, 41, 0.02));
}
.page-finance-transfer-form .finance-alloc-card {
  margin-bottom: 0;
}
.page-finance-transfer-form .finance-alloc-toolbar-lux {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 16px 24px 12px;
  border-bottom: 1px solid rgba(15, 23, 41, 0.06);
}
.page-finance-transfer-form .finance-alloc-sum-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 10px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.12), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(201, 169, 98, 0.28);
  font-size: 0.88rem;
  color: var(--navy, #0f1729);
}
.page-finance-transfer-form .finance-alloc-sum-box strong {
  font-weight: 700;
}
.page-finance-transfer-form .finance-alloc-sum-sep {
  color: var(--muted, #64748b);
}
.page-finance-transfer-form .finance-alloc-wrap {
  margin: 0 24px 20px;
}
.page-finance-transfer-form .finance-amount-wrap-inline {
  min-width: 140px;
}
.page-finance-transfer-form .finance-td-amt-input {
  min-width: 160px;
}
.page-finance-transfer-form .finance-form-actions-sticky {
  margin-top: 4px;
}
@media (min-width: 900px) {
  .page-finance-transfer-form .finance-form-grid-transfer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-finance-transfer-form .finance-field-amount,
  .page-finance-transfer-form .finance-field-proof {
    grid-column: 1 / -1;
  }
}
@media (max-width: 640px) {
  .page-finance-transfer-form .finance-form-grid-transfer {
    grid-template-columns: 1fr;
  }
  .page-finance-transfer-form .finance-alloc-wrap {
    margin-left: 16px;
    margin-right: 16px;
  }
}

/* Pinjaman ABK — daftar & detail (mewah) */
.page-finance-loans {
  padding-bottom: 32px;
}
.page-finance-loans .finance-search-lux {
  margin-bottom: 22px;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid rgba(201, 169, 98, 0.28);
  background: linear-gradient(165deg, #fff 0%, #faf8f4 100%);
  box-shadow: 0 8px 24px rgba(15, 23, 41, 0.05);
}
.page-finance-loans .finance-loans-lux {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.page-finance-loans .finance-loans-stats-lux {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}
.page-finance-loans .finance-loans-stat-card {
  position: relative;
  padding: 18px 18px 16px 52px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 41, 0.08);
  background: linear-gradient(165deg, #fff 0%, #f8f6f1 100%);
  box-shadow: 0 8px 22px rgba(15, 23, 41, 0.05);
  transition: transform 0.15s, box-shadow 0.15s;
}
.page-finance-loans .finance-loans-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 41, 0.08);
}
.page-finance-loans .finance-loans-stat-card-accent {
  border-color: rgba(201, 169, 98, 0.42);
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.18) 0%, #fff 55%);
}
.page-finance-loans .finance-loans-stat-card-meta {
  background: linear-gradient(165deg, rgba(15, 23, 41, 0.03) 0%, #fff 100%);
}
.page-finance-loans .finance-loans-stat-icon {
  position: absolute;
  left: 16px;
  top: 18px;
  font-size: 1.15rem;
  line-height: 1;
  opacity: 0.75;
}
.page-finance-loans .finance-loans-stat-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted, #64748b);
  margin-bottom: 8px;
}
.page-finance-loans .finance-loans-stat-value {
  display: block;
  font-size: clamp(0.95rem, 1.2vw, 1.12rem);
  font-weight: 800;
  color: var(--navy, #0f1729);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.page-finance-loans .finance-loans-stat-in {
  color: #166534;
}
.page-finance-loans .finance-loans-stat-clear {
  color: #166534;
}
.page-finance-loans .finance-loans-list {
  border-radius: 18px;
  border: 1px solid rgba(201, 169, 98, 0.32);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(250, 248, 244, 0.96));
  box-shadow: 0 16px 40px rgba(15, 23, 41, 0.07);
  overflow: hidden;
}
.page-finance-loans .finance-loans-list-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(201, 169, 98, 0.2);
  background: linear-gradient(135deg, rgba(15, 23, 41, 0.04), rgba(201, 169, 98, 0.12));
}
.page-finance-loans .finance-loans-list-title {
  margin: 0;
  font-family: var(--font-serif, Georgia, serif);
  font-size: clamp(1.05rem, 1.3vw, 1.22rem);
  font-weight: 700;
  color: var(--navy, #0f1729);
}
.page-finance-loans .finance-loans-list-lead {
  margin: 6px 0 0;
  font-size: 0.84rem;
  max-width: 32rem;
}
.page-finance-loans .finance-loans-list-count {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy, #0f1729);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 41, 0.08);
}
.page-finance-loans .finance-loans-empty {
  padding: 48px 28px 52px;
  text-align: center;
}
.page-finance-loans .finance-loans-empty-icon {
  display: block;
  font-size: 2.2rem;
  margin-bottom: 12px;
  opacity: 0.45;
}
.page-finance-loans .finance-loans-table-shell {
  padding: 10px 14px 18px;
  margin: 0;
}
.page-finance-loans .finance-loans-table-wrap {
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 41, 0.07);
  background: #fff;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.page-finance-loans .finance-loans-table {
  width: 100%;
  min-width: 880px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.875rem;
  table-layout: fixed;
}
.page-finance-loans .finance-loans-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 13px 12px;
  background: linear-gradient(180deg, #1a2744 0%, #0f1729 100%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: none;
  white-space: nowrap;
  vertical-align: middle;
}
.page-finance-loans .finance-loans-th-label {
  display: inline-block;
}
.page-finance-loans .finance-loans-th-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.page-finance-loans .finance-loans-col-abk {
  width: 26%;
  text-align: left;
  padding-left: 16px;
}
.page-finance-loans .finance-loans-col-status {
  width: 14%;
  text-align: center;
}
.page-finance-loans .finance-loans-col-amt {
  width: 12%;
  text-align: right;
  padding-right: 14px;
}
.page-finance-loans .finance-loans-col-usd {
  width: 14%;
}
.page-finance-loans .finance-loans-col-action {
  width: 8%;
  text-align: center;
  padding-right: 12px;
}
.page-finance-loans .finance-loans-table thead th:first-child {
  border-radius: 12px 0 0 0;
}
.page-finance-loans .finance-loans-table thead th:last-child {
  border-radius: 0 12px 0 0;
}
.page-finance-loans .finance-loans-table tbody td {
  padding: 13px 12px;
  vertical-align: middle;
  border-bottom: 1px solid rgba(15, 23, 41, 0.06);
  color: #334155;
  line-height: 1.35;
}
.page-finance-loans .finance-loans-table tbody tr:last-child td {
  border-bottom: none;
}
.page-finance-loans .finance-loans-table tbody tr.finance-loans-row {
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.page-finance-loans .finance-loans-table tbody tr.finance-loans-row:nth-child(even) {
  background: rgba(248, 250, 252, 0.75);
}
.page-finance-loans .finance-loans-table tbody tr.finance-loans-row:hover {
  background: rgba(201, 169, 98, 0.12);
  box-shadow: inset 3px 0 0 var(--gold, #c9a962);
}
.page-finance-loans .finance-loans-table tbody tr.finance-loans-row-closed {
  opacity: 0.92;
}
.page-finance-loans .finance-loans-table tbody tr.finance-loans-row-closed:hover {
  opacity: 1;
}
.page-finance-loans .finance-loans-td-abk {
  padding-left: 14px;
  text-align: left;
}
.page-finance-loans .finance-loans-td-status {
  text-align: center;
}
.page-finance-loans .finance-loans-td-amt {
  text-align: right;
  padding-right: 14px;
  font-variant-numeric: tabular-nums;
}
.page-finance-loans .finance-loans-td-action {
  text-align: center;
  padding-right: 10px;
}
.page-finance-loans .finance-loans-abk-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.page-finance-loans .finance-loans-abk-avatar {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy, #0f1729);
  background: linear-gradient(145deg, rgba(201, 169, 98, 0.35), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(201, 169, 98, 0.45);
  box-shadow: 0 2px 8px rgba(15, 23, 41, 0.06);
}
.page-finance-loans .finance-loans-abk-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.page-finance-loans .finance-loans-abk-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy, #0f1729);
  letter-spacing: 0.01em;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.page-finance-loans .finance-abk-uniq {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.page-finance-loans .finance-loans-status-wrap {
  display: inline-flex;
  justify-content: center;
  max-width: 100%;
}
.page-finance-loans .finance-loans-table .crew-status-badge {
  font-size: 0.66rem;
  padding: 4px 10px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-finance-loans .finance-loans-amt {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.page-finance-loans .finance-loans-amt-expense {
  color: #334155;
  background: rgba(15, 23, 41, 0.04);
  border: 1px solid rgba(15, 23, 41, 0.06);
}
.page-finance-loans .finance-loans-amt-repay {
  color: #166534;
  background: linear-gradient(165deg, rgba(220, 252, 231, 0.7), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(22, 101, 52, 0.15);
}
.page-finance-loans .finance-loans-amt-balance {
  font-size: 0.88rem;
  font-weight: 800;
}
.page-finance-loans .finance-loans-amt-balance.is-due {
  color: #b45309;
  background: linear-gradient(165deg, rgba(254, 243, 199, 0.75), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(180, 83, 9, 0.22);
}
.page-finance-loans .finance-loans-amt-balance.is-clear {
  color: #166534;
  background: rgba(220, 252, 231, 0.35);
  border: 1px solid rgba(22, 101, 52, 0.12);
}
.page-finance-loans .finance-loans-amt-balance.is-over {
  color: #1d4ed8;
  background: rgba(219, 234, 254, 0.45);
  border: 1px solid rgba(29, 78, 216, 0.15);
}
.page-finance-loans .finance-loans-due-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
  flex-shrink: 0;
}
.page-finance-loans .finance-loans-td-usd {
  text-align: right;
}
.page-finance-loans .finance-loans-usd-closed {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding: 6px 10px;
  border-radius: 10px;
  background: linear-gradient(165deg, rgba(15, 23, 41, 0.05), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(15, 23, 41, 0.08);
}
.page-finance-loans .finance-loans-usd-value {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--navy, #0f1729);
  font-variant-numeric: tabular-nums;
}
.page-finance-loans .finance-loans-usd-rate {
  font-size: 0.68rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.02em;
}
.page-finance-loans .finance-loans-pending-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #64748b;
  background: rgba(148, 163, 184, 0.12);
  border: 1px dashed rgba(100, 116, 139, 0.35);
}
.page-finance-loans .finance-loans-detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 84px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--navy, #0f1729);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(201, 169, 98, 0.28));
  border: 1px solid rgba(201, 169, 98, 0.5);
  box-shadow: 0 2px 10px rgba(15, 23, 41, 0.07);
  transition: transform 0.12s, box-shadow 0.15s, background 0.15s;
}
.page-finance-loans .finance-loans-detail-btn-arrow {
  font-size: 0.9rem;
  line-height: 1;
  opacity: 0.7;
  transition: transform 0.15s;
}
.page-finance-loans .finance-loans-detail-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(201, 169, 98, 0.3);
  color: var(--navy, #0f1729);
}
.page-finance-loans .finance-loans-detail-btn:hover .finance-loans-detail-btn-arrow {
  transform: translateX(2px);
  opacity: 1;
}
.finance-loans-view-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}
.finance-loans-view-tab {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--navy, #0f1729);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 41, 0.1);
}
.finance-loans-view-tab.is-active {
  background: linear-gradient(165deg, rgba(201, 169, 98, 0.35), #fff);
  border-color: rgba(201, 169, 98, 0.55);
  box-shadow: 0 2px 10px rgba(201, 169, 98, 0.2);
}
.finance-loans-abk-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
}
/* Jangan pakai .finance-loans-abk-cards di <tbody> — merusak alignment kolom tabel */
.finance-loans-abk-table-lux tbody.finance-loans-abk-cards {
  display: table-row-group;
}
.finance-loans-abk-table-wrap {
  border: 1px solid rgba(15, 23, 41, 0.08);
  border-radius: 14px;
  overflow-x: auto;
  background: #fff;
  box-shadow: 0 4px 20px rgba(15, 23, 41, 0.05);
  -webkit-overflow-scrolling: touch;
}
.finance-loans-abk-table-lux {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
}
.finance-loans-abk-table-lux thead,
.finance-loans-abk-table-lux tbody,
.finance-loans-abk-table-lux tfoot {
  display: table-header-group;
}
.finance-loans-abk-table-lux tbody {
  display: table-row-group;
}
.finance-loans-abk-table-lux tfoot {
  display: table-footer-group;
}
.finance-loans-abk-table-lux tr {
  display: table-row;
}
.finance-loans-abk-table-lux th,
.finance-loans-abk-table-lux td {
  display: table-cell;
}
.finance-loan-col-num { width: 4%; }
.finance-loan-col-name { width: 28%; }
.finance-loan-col-dob { width: 11%; }
.finance-loan-col-paspor { width: 12%; }
.finance-loan-col-tipe { width: 14%; }
.finance-loan-col-debt { width: 17%; }
.finance-loan-col-toggle { width: 4%; }
.finance-loans-abk-table-lux thead th,
.finance-loans-abk-table-lux .finance-loan-td {
  padding: 11px 12px;
  box-sizing: border-box;
}
.finance-loans-abk-table-lux thead th {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  vertical-align: middle;
  color: rgba(248, 250, 252, 0.85);
  background: linear-gradient(180deg, rgba(15, 23, 41, 0.92), rgba(30, 41, 59, 0.88));
  border-bottom: 1px solid rgba(201, 169, 98, 0.25);
}
.finance-loans-abk-table-lux thead th:first-child,
.finance-loan-summary-row .finance-loan-td:first-child,
.finance-loans-abk-table-foot-row td:first-child {
  padding-left: 16px;
}
.finance-loans-abk-table-lux thead th:last-child,
.finance-loan-summary-row .finance-loan-td:last-child,
.finance-loans-abk-table-foot-row td:last-child {
  padding-right: 16px;
}
.finance-loan-th-num {
  text-align: center;
}
.finance-loan-th-debt {
  text-align: right;
  color: rgba(253, 230, 138, 0.95);
}
.finance-loan-th-toggle {
  text-align: center;
  padding-left: 0;
  padding-right: 0;
}
.finance-loan-summary-row {
  cursor: pointer;
  background: #fff;
  transition: background 0.12s ease;
}
.finance-loan-summary-row:nth-child(4n+1) {
  background: rgba(248, 250, 252, 0.65);
}
.finance-loan-summary-row:hover {
  background: rgba(254, 243, 199, 0.18);
}
.finance-loan-summary-row.is-open {
  background: rgba(248, 250, 252, 0.95);
  box-shadow: inset 0 3px 0 rgba(201, 169, 98, 0.55);
}
.finance-loan-summary-row.finance-loan-abk-card-due {
  box-shadow: inset 3px 0 0 rgba(201, 169, 98, 0.75);
}
.finance-loan-td {
  vertical-align: middle;
  border-bottom: 1px solid rgba(15, 23, 41, 0.06);
  font-size: 0.78rem;
  color: #475569;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.finance-loan-td-num {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #94a3b8;
}
.finance-loan-td-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy, #0f1729);
}
.finance-loan-td-mono {
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}
.finance-loan-td-debt {
  text-align: right;
  font-size: 0.84rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--navy, #0f1729);
}
.finance-loan-td-debt.is-due {
  color: #b45309;
}
.finance-loan-td-chevron {
  text-align: center;
  padding-left: 0;
}
.finance-loan-detail-row .finance-loan-detail-cell {
  padding: 0 16px 16px;
  border-bottom: 1px solid rgba(15, 23, 41, 0.08);
  background: rgba(248, 250, 252, 0.55);
}
.finance-loan-detail-row[hidden] {
  display: none;
}
.finance-loans-abk-table-lux tfoot td {
  padding: 12px;
  border-top: 2px solid rgba(201, 169, 98, 0.45);
  background: linear-gradient(180deg, rgba(254, 243, 199, 0.35), rgba(255, 255, 255, 0.95));
}
.finance-loans-abk-table-foot-row td:first-child {
  padding-left: 16px;
}
.finance-loan-foot-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy, #0f1729);
}
.finance-loan-foot-label em {
  font-style: normal;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: none;
  color: #64748b;
  margin-left: 8px;
}
.finance-loan-foot-debt {
  text-align: right;
  font-size: 0.95rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #b45309;
}
.finance-loan-row-chevron {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 2px solid #94a3b8;
  border-bottom: 2px solid #94a3b8;
  transform: rotate(-45deg);
  transition: transform 0.15s ease;
}
.finance-loan-summary-row.is-open .finance-loan-row-chevron {
  transform: rotate(45deg);
}
.finance-loans-abk-cards-lux {
  gap: 0;
  padding: 0;
}
.finance-loan-abk-card-lux .finance-loan-card-meta-grid {
  padding: 14px 0 12px;
}
.finance-loan-card-meta-value.is-due {
  color: #b45309;
  font-weight: 800;
}
.finance-loan-th-toggle .visually-hidden,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.finance-loans-total-debt-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy, #0f1729);
  background: linear-gradient(165deg, rgba(254, 243, 199, 0.65), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(201, 169, 98, 0.45);
  box-shadow: 0 4px 14px rgba(201, 169, 98, 0.15);
}
.finance-loans-total-debt-pill strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: #b45309;
  font-variant-numeric: tabular-nums;
}
.finance-loan-card-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 12px;
  padding: 14px 0 12px;
  border-top: none;
}
.finance-loan-card-meta-item {
  min-width: 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(15, 23, 41, 0.03);
  border: 1px solid rgba(15, 23, 41, 0.05);
}
.finance-loan-card-meta-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 4px;
}
.finance-loan-card-meta-value {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy, #0f1729);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.finance-loan-abk-crewlist-link {
  color: var(--navy, #0f1729);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.finance-loan-abk-card-lux .finance-loan-abk-body {
  padding: 0 16px 16px;
  border-top: 1px solid rgba(15, 23, 41, 0.06);
  background: rgba(248, 250, 252, 0.55);
}
.finance-loan-abk-card-lux .finance-loan-abk-body-meta {
  padding: 0 0 10px;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(15, 23, 41, 0.06);
  margin-bottom: 4px;
}
.finance-loan-abk-card-lux .finance-loan-abk-body-head {
  padding: 12px 0 8px;
}
.finance-loan-abk-card-lux .finance-loan-abk-history-slot {
  padding: 0 0 4px;
}
@media (max-width: 720px) {
  .finance-subnav-cash-cta {
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }
  .finance-loans-abk-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .finance-loans-abk-table-lux {
    min-width: 760px;
  }
  .finance-loan-card-meta-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.finance-loan-abk-card {
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 41, 0.08);
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 41, 0.05);
  overflow: hidden;
}
.finance-loan-abk-card-due {
  border-color: rgba(201, 169, 98, 0.45);
  box-shadow: 0 6px 20px rgba(201, 169, 98, 0.12);
}
.finance-loan-abk-card-compact .finance-loan-abk-summary-compact {
  display: block;
  padding: 10px 14px 10px 12px;
}
.finance-loan-abk-summary-grid,
.finance-loan-abk-list-head {
  display: grid;
  grid-template-columns: minmax(120px, 1.35fr) minmax(72px, 0.75fr) minmax(88px, 0.85fr) minmax(72px, 0.7fr) minmax(120px, 1.25fr) minmax(72px, 0.75fr) minmax(96px, 0.95fr);
  gap: 8px 12px;
  align-items: center;
  width: 100%;
}
.finance-loan-abk-list-head {
  padding: 8px 14px 6px 12px;
  margin-bottom: 2px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #64748b;
  border-bottom: 1px solid rgba(15, 23, 41, 0.08);
}
.finance-loan-abk-col {
  min-width: 0;
  font-size: 0.8rem;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
}
.finance-loan-abk-col-name {
  font-size: 0.84rem;
}
.finance-loan-abk-col-debt {
  text-align: right;
  font-weight: 700;
  white-space: nowrap;
}
.finance-loan-abk-col-debt .finance-loan-abk-summary-debt {
  font-size: 0.84rem;
}
.finance-loan-abk-crewlist-link {
  color: var(--navy, #0f1729);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.finance-loan-abk-summary-compact::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: rotate(-45deg);
  transition: transform 0.15s ease;
}
.finance-loan-abk-card-compact .finance-loan-abk-summary-compact {
  position: relative;
  padding-right: 28px;
}
.finance-loan-abk-card-compact[open] .finance-loan-abk-summary-compact::after {
  transform: rotate(45deg);
  margin-top: -2px;
}
.finance-loan-abk-summary-name {
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--navy, #0f1729);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.finance-loan-abk-summary-debt {
  font-weight: 700;
}
.finance-loan-abk-body-meta {
  font-size: 0.78rem;
  padding: 12px 16px 0;
  line-height: 1.5;
}
.finance-loans-closed-badge-inline {
  color: #5b21b6;
  font-weight: 600;
}
.finance-loan-abk-history-slot {
  padding: 0 16px 4px;
}
.finance-loan-history-loading {
  margin: 8px 0 12px;
  font-size: 0.82rem;
}
.finance-loan-abk-card-compact .finance-loan-abk-body-head {
  padding: 10px 16px 8px;
}
.finance-loan-abk-card-compact .finance-loan-abk-body {
  padding: 0 0 12px;
}
.finance-loan-abk-summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  gap: 8px 14px;
  align-items: center;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.9), rgba(255, 255, 255, 0.98));
}
.finance-loan-abk-summary::-webkit-details-marker {
  display: none;
}
.finance-loan-abk-card-due .finance-loan-abk-summary {
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.35), rgba(255, 255, 255, 0.98));
}
.finance-loan-abk-summary-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.finance-loan-abk-summary-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.finance-loan-abk-balance-pill {
  font-size: 0.88rem;
  white-space: nowrap;
}
.finance-loan-abk-summary-amts {
  grid-column: 2 / -1;
  font-size: 0.78rem;
}
.finance-loan-abk-summary-actions {
  grid-column: 3;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.finance-loans-detail-btn-inline,
.finance-print-btn-inline {
  min-width: auto;
  padding: 5px 12px;
  font-size: 0.72rem;
  white-space: nowrap;
}
.finance-loans-focus-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 14px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(201, 169, 98, 0.4);
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.45), rgba(255, 255, 255, 0.95));
}
.finance-loans-focus-banner p {
  margin: 0;
  font-size: 0.88rem;
}
.finance-loans-focus-clear {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy, #0f1729);
  text-decoration: underline;
}
.finance-loan-abk-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.finance-loan-abk-body {
  padding: 0 16px 16px;
  border-top: 1px solid rgba(15, 23, 41, 0.06);
}
.finance-loan-abk-body-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 0 10px;
}
.finance-loan-abk-history-title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy, #0f1729);
}
.finance-loans-closed-badge {
  color: #5b21b6;
  background: rgba(237, 233, 254, 0.8);
  border-color: rgba(91, 33, 182, 0.25);
}
.finance-loan-history-compact {
  overflow-x: auto;
}
.finance-loan-history-mini {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}
.finance-loan-history-mini thead th {
  padding: 8px 10px;
  text-align: left;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  background: rgba(15, 23, 41, 0.04);
  border-bottom: 1px solid rgba(15, 23, 41, 0.08);
}
.finance-loan-history-mini tbody td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(15, 23, 41, 0.05);
  vertical-align: top;
}
.finance-loan-history-mini tbody tr:last-child td {
  border-bottom: none;
}
.finance-loan-history-mini .num {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.finance-loan-history-mini-amt.is-plus {
  color: #b45309;
  font-weight: 700;
}
.finance-loan-history-mini-amt.is-minus {
  color: #166534;
  font-weight: 700;
}
.finance-loan-history-mini-amt.is-close {
  color: #5b21b6;
  font-weight: 700;
}
.finance-loan-history-mini-type {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}
.finance-loan-history-more {
  margin: 8px 0 0;
  font-size: 0.78rem;
}
.finance-loan-history-foot {
  margin: 12px 0 0;
}
.finance-loans-detail-btn-sm {
  min-width: auto;
  padding: 6px 14px;
  font-size: 0.74rem;
}
@media (max-width: 960px) {
  .finance-loan-abk-list-head {
    display: none;
  }
  .finance-loan-abk-summary-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px 10px;
  }
  .finance-loan-abk-col-name {
    grid-column: 1 / -1;
  }
  .finance-loan-abk-col-debt {
    grid-column: 1 / -1;
    text-align: left;
  }
  .finance-loan-abk-col:not(.finance-loan-abk-col-name):not(.finance-loan-abk-col-debt)::before {
    content: attr(data-label) ': ';
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
  }
}
@media (max-width: 720px) {
  .finance-loan-abk-summary {
    grid-template-columns: auto 1fr;
  }
  .finance-loan-abk-summary-meta {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
  .finance-loan-abk-summary-amts {
    grid-column: 1 / -1;
  }
  .finance-loan-abk-summary-actions {
    grid-column: 1 / -1;
    grid-row: auto;
    flex-direction: row;
    justify-content: flex-start;
  }
}
.finance-amt-cell {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.finance-usd-closed {
  display: block;
  font-weight: 700;
  color: var(--navy, #0f1729);
}
.finance-rate-mini {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 2px;
}
@media (max-width: 1100px) {
  .page-finance-loans .finance-loans-stats-lux {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-finance-loans .finance-loans-table {
    min-width: 760px;
    table-layout: auto;
  }
}
@media (max-width: 768px) {
  .page-finance-loans .finance-loans-stats-lux {
    grid-template-columns: 1fr;
  }
  .page-finance-loans .finance-loans-table {
    min-width: 0;
  }
  .page-finance-loans .finance-loans-table thead {
    display: none;
  }
  .page-finance-loans .finance-loans-table tbody tr.finance-loans-row {
    display: block;
    margin: 12px 10px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 41, 0.08);
    background: #fff !important;
    box-shadow: 0 6px 18px rgba(15, 23, 41, 0.06);
    overflow: hidden;
  }
  .page-finance-loans .finance-loans-table tbody tr.finance-loans-row-due {
    border-color: rgba(201, 169, 98, 0.45);
    box-shadow: 0 6px 20px rgba(201, 169, 98, 0.15);
  }
  .page-finance-loans .finance-loans-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 11px 16px;
    text-align: right;
    border-bottom: 1px solid rgba(15, 23, 41, 0.05);
  }
  .page-finance-loans .finance-loans-table tbody td::before {
    content: attr(data-label);
    flex: 0 0 auto;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
    text-align: left;
  }
  .page-finance-loans .finance-loans-td-abk {
    display: block;
    padding: 14px 16px 10px;
    border-bottom: 1px solid rgba(201, 169, 98, 0.2);
    background: linear-gradient(135deg, rgba(201, 169, 98, 0.1), rgba(255, 255, 255, 0.5));
  }
  .page-finance-loans .finance-loans-td-abk::before {
    display: none;
  }
  .page-finance-loans .finance-loans-abk-cell {
    width: 100%;
  }
  .page-finance-loans .finance-loans-abk-name {
    white-space: normal;
  }
  .page-finance-loans .finance-loans-td-status {
    justify-content: space-between;
  }
  .page-finance-loans .finance-loans-status-wrap {
    margin-left: auto;
  }
  .page-finance-loans .finance-loans-td-amt .finance-loans-amt {
    margin-left: auto;
  }
  .page-finance-loans .finance-loans-td-action {
    justify-content: center;
    padding: 14px 16px 16px;
    border-bottom: none;
  }
  .page-finance-loans .finance-loans-td-action::before {
    display: none;
  }
  .page-finance-loans .finance-loans-detail-btn {
    width: 100%;
    max-width: 220px;
  }
}
/* Detail pinjaman ABK — riwayat transaksi (read-only) */
.page-finance-loan-detail {
  padding-bottom: 32px;
}
.page-finance-loan-detail .finance-loan-detail-back {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted, #64748b);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.page-finance-loan-detail .finance-loan-detail-back:hover {
  color: var(--navy, #0f1729);
}
.page-finance-loan-detail .finance-loan-detail-hero {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.page-finance-loan-detail .finance-loan-detail-avatar {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy, #0f1729);
  background: linear-gradient(145deg, rgba(201, 169, 98, 0.4), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(201, 169, 98, 0.5);
  box-shadow: 0 4px 14px rgba(15, 23, 41, 0.08);
}
.page-finance-loan-detail .finance-loan-detail-summary-lux {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 0 0 22px;
}
.page-finance-loan-detail .finance-loan-detail-stat {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 41, 0.08);
  background: linear-gradient(165deg, #fff, #f8f6f1);
  box-shadow: 0 6px 18px rgba(15, 23, 41, 0.05);
}
.page-finance-loan-detail .finance-loan-detail-stat-accent {
  border-color: rgba(201, 169, 98, 0.4);
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.16), #fff 60%);
}
.page-finance-loan-detail .finance-loan-detail-stat-gold {
  border-color: rgba(201, 169, 98, 0.45);
}
.page-finance-loan-detail .finance-loan-detail-stat-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted, #64748b);
  margin-bottom: 6px;
}
.page-finance-loan-detail .finance-loan-detail-stat strong {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy, #0f1729);
  font-variant-numeric: tabular-nums;
}
.page-finance-loan-detail .finance-loan-detail-stat-in {
  color: #166534;
}
.page-finance-loan-detail .finance-loan-detail-stat-clear {
  color: #166534;
}
.page-finance-loan-detail .finance-abk-tx-history {
  border-radius: 18px;
  border: 1px solid rgba(201, 169, 98, 0.32);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(250, 248, 244, 0.96));
  box-shadow: 0 16px 40px rgba(15, 23, 41, 0.07);
  overflow: hidden;
}
.page-finance-loan-detail .finance-abk-tx-history-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(201, 169, 98, 0.2);
  background: linear-gradient(135deg, rgba(15, 23, 41, 0.04), rgba(201, 169, 98, 0.12));
}
.page-finance-loan-detail .finance-abk-tx-history-title {
  margin: 0;
  font-family: var(--font-serif, Georgia, serif);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  font-weight: 700;
  color: var(--navy, #0f1729);
}
.page-finance-loan-detail .finance-abk-tx-history-lead {
  margin: 6px 0 0;
  font-size: 0.84rem;
  max-width: 36rem;
}
.page-finance-loan-detail .finance-abk-tx-history-count {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 41, 0.08);
}
.page-finance-loan-detail .finance-abk-tx-history-empty {
  padding: 48px 28px 52px;
  text-align: center;
}
.page-finance-loan-detail .finance-abk-tx-history-empty-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 10px;
  opacity: 0.45;
}
.page-finance-loan-detail .finance-abk-tx-table-shell {
  padding: 10px 14px 18px;
}
.page-finance-loan-detail .finance-abk-tx-table-wrap {
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 41, 0.07);
  background: #fff;
  overflow: auto;
}
.page-finance-loan-detail .finance-abk-tx-table {
  width: 100%;
  min-width: 820px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.875rem;
  table-layout: fixed;
}
.page-finance-loan-detail .finance-abk-tx-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 13px 12px;
  background: linear-gradient(180deg, #1a2744 0%, #0f1729 100%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: none;
}
.page-finance-loan-detail .finance-abk-tx-col-date { width: 11%; text-align: left; padding-left: 14px; }
.page-finance-loan-detail .finance-abk-tx-col-type { width: 11%; text-align: center; }
.page-finance-loan-detail .finance-abk-tx-col-detail { width: 22%; text-align: left; }
.page-finance-loan-detail .finance-abk-tx-col-effect { width: 11%; text-align: center; }
.page-finance-loan-detail .finance-abk-tx-col-amt { width: 14%; text-align: right; padding-right: 14px; }
.page-finance-loan-detail .finance-abk-tx-col-desc { width: 20%; text-align: left; }
.page-finance-loan-detail .finance-abk-tx-col-ref { width: 11%; text-align: center; }
.page-finance-loan-detail .finance-abk-tx-table thead th:first-child { border-radius: 12px 0 0 0; }
.page-finance-loan-detail .finance-abk-tx-table thead th:last-child { border-radius: 0 12px 0 0; }
.page-finance-loan-detail .finance-abk-tx-table tbody td {
  padding: 12px;
  vertical-align: middle;
  border-bottom: 1px solid rgba(15, 23, 41, 0.06);
  color: #334155;
  line-height: 1.35;
}
.page-finance-loan-detail .finance-abk-tx-table tbody tr:last-child td { border-bottom: none; }
.page-finance-loan-detail .finance-abk-tx-row:nth-child(even) { background: rgba(248, 250, 252, 0.75); }
.page-finance-loan-detail .finance-abk-tx-row:hover {
  background: rgba(201, 169, 98, 0.1);
  box-shadow: inset 3px 0 0 var(--gold, #c9a962);
}
.page-finance-loan-detail .finance-abk-tx-td-date time {
  font-weight: 700;
  color: var(--navy, #0f1729);
  white-space: nowrap;
}
.page-finance-loan-detail .finance-abk-tx-type {
  display: inline-flex;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.page-finance-loan-detail .finance-abk-tx-type-expense {
  color: #334155;
  background: rgba(15, 23, 41, 0.06);
  border: 1px solid rgba(15, 23, 41, 0.1);
}
.page-finance-loan-detail .finance-abk-tx-type-repayment {
  color: #166534;
  background: rgba(220, 252, 231, 0.65);
  border: 1px solid rgba(22, 101, 52, 0.18);
}
.page-finance-loan-detail .finance-abk-tx-type-close {
  color: #5b21b6;
  background: rgba(237, 233, 254, 0.8);
  border: 1px solid rgba(91, 33, 182, 0.2);
}
.page-finance-loan-detail .finance-abk-tx-effect {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
}
.page-finance-loan-detail .finance-abk-tx-effect-plus {
  color: #b45309;
  background: rgba(254, 243, 199, 0.6);
}
.page-finance-loan-detail .finance-abk-tx-effect-minus {
  color: #166534;
  background: rgba(220, 252, 231, 0.5);
}
.page-finance-loan-detail .finance-abk-tx-effect-close {
  color: #5b21b6;
  background: rgba(237, 233, 254, 0.55);
}
.page-finance-loan-detail .finance-abk-tx-td-amt {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.page-finance-loan-detail .finance-abk-tx-amt {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding: 6px 10px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.84rem;
}
.page-finance-loan-detail .finance-abk-tx-amt-expense {
  background: rgba(15, 23, 41, 0.04);
  border: 1px solid rgba(15, 23, 41, 0.08);
}
.page-finance-loan-detail .finance-abk-tx-amt-repayment {
  color: #166534;
  background: linear-gradient(165deg, rgba(220, 252, 231, 0.75), #fff);
  border: 1px solid rgba(22, 101, 52, 0.15);
}
.page-finance-loan-detail .finance-abk-tx-amt-close {
  color: var(--navy, #0f1729);
  background: linear-gradient(165deg, rgba(201, 169, 98, 0.2), #fff);
  border: 1px solid rgba(201, 169, 98, 0.35);
}
.page-finance-loan-detail .finance-abk-tx-amt-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
}
.page-finance-loan-detail .finance-abk-tx-td-desc {
  word-break: break-word;
  font-size: 0.84rem;
}
.page-finance-loan-detail .finance-abk-tx-ref-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy, #0f1729);
  text-decoration: none;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(201, 169, 98, 0.45);
  background: rgba(201, 169, 98, 0.12);
}
.page-finance-loan-detail .finance-abk-tx-ref-link:hover {
  background: rgba(201, 169, 98, 0.28);
}
.finance-print-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid rgba(201, 169, 98, 0.45);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(201, 169, 98, 0.15));
  color: var(--navy, #0f1729);
  box-shadow: 0 2px 8px rgba(15, 23, 41, 0.06);
}
.finance-print-btn:hover {
  box-shadow: 0 4px 14px rgba(201, 169, 98, 0.22);
  color: var(--navy, #0f1729);
}
.finance-print-btn-icon {
  font-size: 0.95rem;
  line-height: 1;
}
.finance-history-print-row,
.finance-tx-history-head,
.finance-loans-list-head,
.finance-abk-tx-history-head {
  flex-wrap: wrap;
}
.finance-tx-history-head .finance-print-btn,
.finance-loans-list-head .finance-print-btn,
.finance-abk-tx-history-head .finance-print-btn,
.finance-history-block > .finance-section-title + .finance-print-btn,
.page-finance-transfers .finance-history-block-head .finance-print-btn,
.page-finance-dash .finance-history-block-head .finance-print-btn {
  flex-shrink: 0;
}
.page-finance-transfers .finance-history-block-head,
.page-finance-dash .finance-history-block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: 14px;
}
.page-finance-transfer-form .finance-page-head {
  flex-wrap: wrap;
}
.page-finance-transfer-form .finance-head-print {
  margin-left: auto;
  align-self: flex-start;
}
.finance-cash-agency-panel {
  margin-top: 4px;
}
.finance-cash-agency-card {
  border: 1px solid rgba(201, 169, 98, 0.35);
  border-radius: 14px;
  padding: 4px 16px 16px;
  background: linear-gradient(165deg, rgba(254, 243, 199, 0.2), rgba(255, 255, 255, 0.98));
}
.finance-alloc-card-inner {
  margin-top: 16px;
  padding-top: 8px;
  border-top: 1px dashed rgba(15, 23, 41, 0.1);
}
.finance-readonly-dl {
  margin: 0;
  padding: 0 16px 16px;
}
.finance-readonly-dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px 20px;
}
.finance-readonly-dl div {
  margin: 0;
}
.finance-readonly-dl dt {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 4px;
}
.finance-readonly-dl dd {
  margin: 0;
  font-size: 0.92rem;
  color: var(--navy, #0f1729);
}
.finance-readonly-span-2 {
  grid-column: 1 / -1;
}
.finance-readonly-back {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0;
}
.finance-transfer-readonly {
  padding: 0 4px 8px;
}
@media (max-width: 768px) {
  .page-finance-loan-detail .finance-abk-tx-table {
    min-width: 0;
  }
  .page-finance-loan-detail .finance-abk-tx-table thead {
    display: none;
  }
  .page-finance-loan-detail .finance-abk-tx-row {
    display: block;
    margin: 12px 10px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 41, 0.08);
    background: #fff !important;
    box-shadow: 0 6px 18px rgba(15, 23, 41, 0.06);
  }
  .page-finance-loan-detail .finance-abk-tx-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    text-align: right;
    border-bottom: 1px solid rgba(15, 23, 41, 0.05);
  }
  .page-finance-loan-detail .finance-abk-tx-table tbody td::before {
    content: attr(data-label);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
    text-align: left;
  }
  .page-finance-loan-detail .finance-abk-tx-td-type,
  .page-finance-loan-detail .finance-abk-tx-td-amt {
    justify-content: space-between;
  }
}
@media (max-width: 640px) {
  .finance-search-lux-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .finance-search-lux-field {
    min-width: 0;
  }
  .finance-search-lux-actions {
    width: 100%;
    justify-content: stretch;
  }
  .finance-search-lux-actions .btn-primary,
  .finance-search-lux-actions .btn-ghost {
    flex: 1 1 auto;
  }
}

/* —— Transaksi Kas: mode aplikasi keuangan premium —— */
.page-finance-cash-lux {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.5) 0%, transparent 120px);
}
.page-finance-cash-lux .panel-toolbar-lux {
  display: none;
}
.finance-cash-page-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px 28px;
  margin: 0 0 8px;
  padding: 4px 4px 20px;
  border-bottom: 1px solid rgba(201, 169, 98, 0.2);
}
.finance-cash-page-title {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  letter-spacing: -0.02em;
  color: var(--navy, #0f1729);
}
.finance-cash-page-lead {
  margin: 10px 0 0;
  max-width: 36rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #64748b;
}
.finance-cash-page-hero-emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 88px;
  padding: 16px 20px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(15, 23, 41, 0.94), rgba(30, 41, 59, 0.88));
  border: 1px solid rgba(201, 169, 98, 0.45);
  box-shadow: 0 12px 32px rgba(15, 23, 41, 0.18);
  color: #f8fafc;
}
.finance-cash-page-emblem-icon {
  font-size: 1.75rem;
  line-height: 1;
}
.finance-cash-page-emblem-label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(201, 169, 98, 0.95);
}
.finance-cash-kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 24px;
}
.finance-cash-kpi {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 41, 0.08);
  background: #fff;
  box-shadow: 0 6px 22px rgba(15, 23, 41, 0.05);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.finance-cash-kpi:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(15, 23, 41, 0.08);
}
.finance-cash-kpi-balance {
  border-color: rgba(201, 169, 98, 0.45);
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.35) 0%, #fff 55%);
}
.finance-cash-kpi-in {
  border-color: rgba(22, 101, 52, 0.2);
}
.finance-cash-kpi-out {
  border-color: rgba(180, 83, 9, 0.2);
}
.finance-cash-kpi-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 800;
  background: rgba(15, 23, 41, 0.06);
  color: var(--navy, #0f1729);
}
.finance-cash-kpi-in .finance-cash-kpi-icon {
  background: rgba(22, 101, 52, 0.12);
  color: #166534;
}
.finance-cash-kpi-out .finance-cash-kpi-icon {
  background: rgba(180, 83, 9, 0.12);
  color: #b45309;
}
.finance-cash-kpi-balance .finance-cash-kpi-icon {
  background: rgba(201, 169, 98, 0.25);
  color: #92400e;
}
.finance-cash-kpi-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}
.finance-cash-kpi-value {
  display: block;
  margin-top: 4px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
  color: var(--navy, #0f1729);
  letter-spacing: -0.02em;
}
.finance-cash-kpi-in .finance-cash-kpi-value {
  color: #166534;
}
.finance-cash-kpi-out .finance-cash-kpi-value {
  color: #b45309;
}
.finance-cash-kpi-hint {
  display: block;
  margin-top: 4px;
  font-size: 0.74rem;
  color: #94a3b8;
}
.finance-cash-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(240px, 0.85fr);
  gap: 20px 24px;
  margin-bottom: 28px;
  align-items: start;
}
.finance-cash-form-lux {
  border-radius: 18px;
  border: 1px solid rgba(201, 169, 98, 0.35);
  background: linear-gradient(180deg, #fff 0%, #faf8f4 100%);
  box-shadow: 0 12px 40px rgba(15, 23, 41, 0.07);
  overflow: hidden;
}
.finance-cash-form-lux-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px 16px;
  background: linear-gradient(135deg, rgba(15, 23, 41, 0.92) 0%, rgba(30, 41, 59, 0.88) 100%);
  border-bottom: 1px solid rgba(201, 169, 98, 0.35);
  color: #f8fafc;
}
.finance-cash-form-lux-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}
.finance-cash-form-lux-sub {
  margin: 6px 0 0;
  font-size: 0.82rem;
  opacity: 0.85;
}
.finance-cash-form-step {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(201, 169, 98, 0.2);
  border: 1px solid rgba(201, 169, 98, 0.45);
  color: #fde68a;
}
.finance-cash-form-lux-body {
  padding: 22px 24px 24px;
}
.finance-cash-dir-block {
  margin-bottom: 20px;
}
.finance-cash-dir-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}
.finance-cash-dir-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 2px solid rgba(15, 23, 41, 0.1);
  background: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy, #0f1729);
  cursor: pointer;
  transition: all 0.15s ease;
}
.finance-cash-dir-btn:hover {
  border-color: rgba(201, 169, 98, 0.45);
}
.finance-cash-dir-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 800;
}
.finance-cash-dir-in.is-active {
  border-color: rgba(22, 101, 52, 0.55);
  background: linear-gradient(165deg, rgba(220, 252, 231, 0.9), #fff);
  color: #166534;
}
.finance-cash-dir-in.is-active .finance-cash-dir-icon {
  background: rgba(22, 101, 52, 0.15);
}
.finance-cash-dir-out.is-active {
  border-color: rgba(180, 83, 9, 0.55);
  background: linear-gradient(165deg, rgba(254, 243, 199, 0.5), #fff);
  color: #b45309;
}
.finance-cash-dir-out.is-active .finance-cash-dir-icon {
  background: rgba(180, 83, 9, 0.12);
}
.finance-cash-dir-select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.finance-cash-form-grid {
  padding: 0;
}
.finance-cash-form-mode-in .finance-cash-amt-field .finance-amount-wrap {
  border-color: rgba(22, 101, 52, 0.35);
}
.finance-cash-form-mode-out .finance-cash-amt-field .finance-amount-wrap {
  border-color: rgba(180, 83, 9, 0.35);
}
.finance-cash-form-note {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(15, 23, 41, 0.03);
  border: 1px dashed rgba(15, 23, 41, 0.1);
  font-size: 0.82rem;
}
.finance-cash-form-actions {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(201, 169, 98, 0.2);
}
.finance-cash-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  border: 0;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0f1729;
  cursor: pointer;
  background: linear-gradient(165deg, #fde68a 0%, #c9a962 45%, #b8923f 100%);
  box-shadow: 0 8px 24px rgba(201, 169, 98, 0.4);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.finance-cash-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201, 169, 98, 0.5);
}
.finance-cash-submit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(15, 23, 41, 0.12);
  font-size: 0.9rem;
}
.finance-cash-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.finance-cash-aside-card {
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 41, 0.08);
  background: linear-gradient(180deg, #fff, #f8fafc);
  box-shadow: 0 4px 18px rgba(15, 23, 41, 0.04);
}
.finance-cash-aside-card-accent {
  border-color: rgba(201, 169, 98, 0.4);
  background: linear-gradient(165deg, rgba(254, 243, 199, 0.35), #fff);
}
.finance-cash-aside-title {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy, #0f1729);
}
.finance-cash-aside-list {
  margin: 0;
  padding: 0 0 0 18px;
  font-size: 0.84rem;
  line-height: 1.55;
  color: #475569;
}
.finance-cash-aside-text {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: #475569;
}
.finance-cash-aside-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy, #0f1729);
}
.finance-cash-aside-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.finance-cash-aside-links a {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 41, 0.06);
  text-decoration: none;
  color: var(--navy, #0f1729);
}
.finance-cash-ledger {
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 41, 0.08);
  background: #fff;
  box-shadow: 0 8px 32px rgba(15, 23, 41, 0.06);
  padding: 20px 22px 24px;
}
.finance-cash-ledger-eyebrow {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(201, 169, 98, 0.95);
  margin-bottom: 4px;
}
.finance-cash-ledger-head {
  padding-bottom: 16px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(15, 23, 41, 0.08);
}
.finance-cash-table-wrap {
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 41, 0.06);
  overflow: hidden;
}
.page-finance-cash-lux .finance-cash-ledger-table thead th {
  background: linear-gradient(180deg, rgba(15, 23, 41, 0.06), rgba(15, 23, 41, 0.02));
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}
.finance-cash-cat-pill {
  display: inline-block;
  max-width: 100%;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  background: rgba(15, 23, 41, 0.05);
  border: 1px solid rgba(15, 23, 41, 0.08);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.page-finance-cash-lux .finance-cash-agency-card {
  border-radius: 14px;
  border-color: rgba(22, 101, 52, 0.25);
  background: linear-gradient(165deg, rgba(220, 252, 231, 0.25), #fff);
}

/* —— Transaksi Kas v2: polish premium —— */
.page-finance-cash-lux .finance-cash-kpi {
  position: relative;
  overflow: hidden;
  padding: 20px 22px;
}
.page-finance-cash-lux .finance-cash-kpi::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(201, 169, 98, 0.15), rgba(201, 169, 98, 0.85), rgba(201, 169, 98, 0.15));
}
.page-finance-cash-lux .finance-cash-kpi-balance::before {
  background: linear-gradient(90deg, rgba(201, 169, 98, 0.3), #c9a962, rgba(201, 169, 98, 0.3));
}
.page-finance-cash-lux .finance-cash-kpi-in::before {
  background: linear-gradient(90deg, rgba(22, 101, 52, 0.2), #166534, rgba(22, 101, 52, 0.2));
}
.page-finance-cash-lux .finance-cash-kpi-out::before {
  background: linear-gradient(90deg, rgba(180, 83, 9, 0.2), #b45309, rgba(180, 83, 9, 0.2));
}
.page-finance-cash-lux .finance-cash-kpi-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 1.15rem;
}
.page-finance-cash-lux .finance-cash-form-lux {
  border-radius: 20px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 20px 50px rgba(15, 23, 41, 0.09);
}
.page-finance-cash-lux .finance-cash-form-lux-head {
  padding: 22px 28px 18px;
}
.page-finance-cash-lux .finance-cash-form-lux-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.page-finance-cash-lux .finance-cash-dir-block {
  margin-bottom: 0;
}
.page-finance-cash-lux .finance-cash-dir-toggle {
  gap: 6px;
  margin-top: 10px;
  padding: 5px;
  border-radius: 16px;
  background: rgba(15, 23, 41, 0.05);
  border: 1px solid rgba(15, 23, 41, 0.06);
}
.page-finance-cash-lux .finance-cash-dir-btn {
  flex-direction: row;
  justify-content: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border: none;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  text-align: left;
}
.page-finance-cash-lux .finance-cash-dir-btn:hover {
  background: rgba(255, 255, 255, 0.55);
}
.page-finance-cash-lux .finance-cash-dir-in.is-active,
.page-finance-cash-lux .finance-cash-dir-out.is-active {
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 41, 0.1);
}
.page-finance-cash-lux .finance-cash-dir-in.is-active {
  color: #166534;
}
.page-finance-cash-lux .finance-cash-dir-out.is-active {
  color: #b45309;
}
.page-finance-cash-lux .finance-cash-dir-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.page-finance-cash-lux .finance-cash-dir-in.is-active .finance-cash-dir-icon {
  background: rgba(22, 101, 52, 0.14);
  color: #166534;
}
.page-finance-cash-lux .finance-cash-dir-out.is-active .finance-cash-dir-icon {
  background: rgba(180, 83, 9, 0.12);
  color: #b45309;
}
.page-finance-cash-lux .finance-cash-dir-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.25;
}
.page-finance-cash-lux .finance-cash-dir-text strong {
  font-size: 0.95rem;
  font-weight: 800;
}
.page-finance-cash-lux .finance-cash-dir-text small {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.72;
}
.page-finance-cash-lux .finance-cash-form-section {
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 41, 0.07);
  background: #fff;
  box-shadow: 0 2px 12px rgba(15, 23, 41, 0.04);
  overflow: hidden;
}
.page-finance-cash-lux .finance-cash-form-section-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(15, 23, 41, 0.06);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(255, 255, 255, 0.6));
}
.page-finance-cash-lux .finance-cash-form-section-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #92400e;
  background: linear-gradient(145deg, rgba(254, 243, 199, 0.9), rgba(201, 169, 98, 0.35));
  border: 1px solid rgba(201, 169, 98, 0.45);
}
.page-finance-cash-lux .finance-cash-form-section-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--navy, #0f1729);
  letter-spacing: -0.01em;
}
.page-finance-cash-lux .finance-cash-form-section-sub {
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.4;
}
.page-finance-cash-lux .finance-cash-form-section .finance-form-grid-lux {
  padding: 18px 20px 20px;
  gap: 18px 20px;
}
.page-finance-cash-lux .finance-cash-form-section-proof .finance-field-proof {
  padding: 0 20px 20px;
  margin: 0;
}
.page-finance-cash-lux .finance-field-label {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: #64748b;
}
.page-finance-cash-lux .finance-field input[type="text"],
.page-finance-cash-lux .finance-field input[type="date"],
.page-finance-cash-lux .finance-field select,
.page-finance-cash-lux .finance-select {
  padding: 12px 14px;
  border-radius: 12px;
  border-color: rgba(15, 23, 41, 0.1);
  background: #fafbfc;
  font-size: 0.94rem;
}
.page-finance-cash-lux .finance-field input:focus,
.page-finance-cash-lux .finance-field select:focus {
  background: #fff;
  border-color: rgba(201, 169, 98, 0.55);
  box-shadow: 0 0 0 4px rgba(201, 169, 98, 0.12);
}
.page-finance-cash-lux .finance-cash-amt-field .finance-amount-wrap {
  border-radius: 14px;
  border-width: 2px;
  background: linear-gradient(180deg, #fff, #faf8f4);
}
.page-finance-cash-lux .finance-cash-amt-field .finance-amount-prefix {
  padding: 0 16px;
  font-size: 0.95rem;
  min-width: 52px;
  justify-content: center;
}
.page-finance-cash-lux .finance-cash-amt-field .finance-idr-input {
  padding: 16px 18px;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.03em;
}
.page-finance-cash-lux .finance-cash-abk-panel-lux {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 0;
}
.page-finance-cash-lux .finance-cash-abk-panel-head {
  padding: 0 0 4px;
}
.page-finance-cash-lux .finance-cash-abk-toggle-lux {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 41, 0.08);
  background: linear-gradient(180deg, #fafbfc, #fff);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.page-finance-cash-lux .finance-cash-abk-toggle-lux:hover {
  border-color: rgba(201, 169, 98, 0.4);
}
.page-finance-cash-lux .finance-cash-abk-toggle-lux:has(input:checked) {
  border-color: rgba(201, 169, 98, 0.55);
  background: linear-gradient(165deg, rgba(254, 243, 199, 0.35), #fff);
  box-shadow: 0 4px 14px rgba(201, 169, 98, 0.15);
}
.page-finance-cash-lux .finance-cash-abk-toggle-lux input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}
.page-finance-cash-lux .finance-cash-abk-toggle-box {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 7px;
  border: 2px solid rgba(15, 23, 41, 0.18);
  background: #fff;
  transition: all 0.15s ease;
  position: relative;
}
.page-finance-cash-lux .finance-cash-abk-toggle-lux input:checked + .finance-cash-abk-toggle-box {
  border-color: #b8923f;
  background: linear-gradient(145deg, #fde68a, #c9a962);
}
.page-finance-cash-lux .finance-cash-abk-toggle-lux input:checked + .finance-cash-abk-toggle-box::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 900;
  color: #0f1729;
}
.page-finance-cash-lux .finance-cash-abk-toggle-text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--navy, #0f1729);
}
.page-finance-cash-lux .finance-cash-abk-toggle-text em {
  font-style: normal;
  color: #64748b;
  font-weight: 500;
}
.page-finance-cash-lux .finance-cash-collective-toggle {
  margin: 10px 0 0;
  padding-top: 0;
  border-top: none;
}
.page-finance-cash-lux .finance-cash-abk-fields {
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 41, 0.06);
  gap: 16px 18px;
}
.page-finance-cash-lux .finance-cash-form-grid-ext {
  padding-top: 14px;
}
.page-finance-cash-lux .finance-proof-dropzone {
  padding: 28px 20px;
  border-radius: 14px;
  border: 1px solid rgba(201, 169, 98, 0.35);
  border-style: solid;
  background: linear-gradient(180deg, rgba(254, 252, 248, 0.95), #fff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.page-finance-cash-lux .finance-proof-dropzone:hover,
.page-finance-cash-lux .finance-proof-dropzone.has-file {
  border-color: rgba(201, 169, 98, 0.65);
  background: linear-gradient(180deg, rgba(254, 243, 199, 0.2), #fff);
  box-shadow: 0 6px 20px rgba(201, 169, 98, 0.12);
}
.page-finance-cash-lux .finance-proof-dropzone-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.35rem;
  background: rgba(201, 169, 98, 0.15);
  border: 1px solid rgba(201, 169, 98, 0.3);
}
.page-finance-cash-lux .finance-proof-dropzone-main {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy, #0f1729);
}
.page-finance-cash-lux .finance-proof-filename {
  font-size: 0.78rem;
  color: #94a3b8;
}
.page-finance-cash-lux .finance-field-hint {
  font-size: 0.74rem;
  margin-top: 6px;
}
.page-finance-cash-lux .finance-cash-form-note {
  margin: 0;
  padding: 12px 16px;
  border-radius: 12px;
  border: none;
  background: rgba(15, 23, 41, 0.04);
  font-size: 0.78rem;
  color: #64748b;
}
.page-finance-cash-lux .finance-cash-form-actions {
  margin-top: 4px;
  padding-top: 0;
  border-top: none;
}
.page-finance-cash-lux .finance-cash-submit-btn {
  padding: 18px 28px;
  border-radius: 16px;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
}
.page-finance-cash-lux .finance-cash-submit-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(15, 23, 41, 0.15);
}
.page-finance-cash-lux .finance-cash-aside-card {
  border-radius: 18px;
  padding: 20px 22px;
}
.page-finance-cash-lux .finance-cash-agency-panel .finance-form-card {
  margin: 0;
  border-radius: 14px;
  box-shadow: none;
}
.page-finance-cash-lux .finance-cash-form-section-abk:has(#financeCashAbkPanel[hidden]):has(#financeCashAgencyPanel[hidden]) {
  display: none;
}
.page-finance-cash-lux .finance-cash-form-section-proof[hidden] {
  display: none;
}
@media (max-width: 960px) {
  .finance-cash-kpi-strip {
    grid-template-columns: 1fr;
  }
  .finance-cash-workspace {
    grid-template-columns: 1fr;
  }
  .finance-cash-aside {
    order: -1;
  }
}
@media (max-width: 640px) {
  .finance-cash-page-hero-emblem {
    display: none;
  }
  .finance-cash-form-lux-body {
    padding: 18px 16px 20px;
  }
  .page-finance-cash-lux .finance-cash-form-lux-body {
    padding: 18px 16px 22px;
    gap: 18px;
  }
  .page-finance-cash-lux .finance-cash-form-section .finance-form-grid-lux,
  .page-finance-cash-lux .finance-cash-form-section-proof .finance-field-proof {
    padding-left: 16px;
    padding-right: 16px;
  }
  .page-finance-cash-lux .finance-cash-dir-btn {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 14px;
  }
  .page-finance-cash-lux .finance-cash-dir-text small {
    display: none;
  }
  .finance-cash-ledger {
    padding: 16px 14px 18px;
  }
}

/* Pengaduan ABK — admin (compact luxury 3D desk) */
.page-pengaduan-admin {
  --peng-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 10px 28px rgba(15, 23, 41, 0.08),
    0 2px 6px rgba(15, 23, 41, 0.04);
  --peng-shadow-lift:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 16px 34px rgba(15, 23, 41, 0.14),
    0 4px 10px rgba(168, 134, 58, 0.12);
  max-width: 1280px;
  margin: 0 auto;
}

.page-pengaduan-admin .panel-pengaduan {
  overflow: hidden;
}

.page-pengaduan-admin .pengaduan-toolbar-compact {
  padding: 14px 20px 12px;
  gap: 12px;
}

.page-pengaduan-admin .pengaduan-toolbar-compact h1 {
  margin: 0 0 4px;
  font-size: clamp(1.28rem, 2vw, 1.55rem);
  letter-spacing: 0.02em;
}

.page-pengaduan-admin .pengaduan-toolbar-compact .panel-stat-line {
  margin: 0 !important;
  gap: 6px;
}

.page-pengaduan-admin .panel-stat-count {
  padding: 3px 10px;
  font-size: 0.74rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 2px 6px rgba(15, 23, 41, 0.05);
}

.panel-pengaduan .peng-flash {
  margin: 10px 18px 0;
  padding: 8px 12px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(15, 23, 41, 0.06);
}

.pengaduan-admin-body {
  padding: 12px 18px 16px;
  border-top: 1px solid rgba(201, 169, 98, 0.16);
  background:
    radial-gradient(ellipse 70% 90% at 0% 0%, rgba(201, 169, 98, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 70% at 100% 100%, rgba(15, 23, 41, 0.03), transparent 45%),
    linear-gradient(180deg, #fbfaf7 0%, #f4f0e8 100%);
}

.pengaduan-status-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.pengaduan-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(201, 169, 98, 0.34);
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f3eb 100%);
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 3px 8px rgba(15, 23, 41, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.pengaduan-status-chip:hover {
  border-color: rgba(201, 169, 98, 0.55);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 6px 14px rgba(15, 23, 41, 0.1);
}

.pengaduan-status-chip.is-active {
  border-color: rgba(168, 134, 58, 0.75);
  background:
    linear-gradient(180deg, #f5e7c4 0%, #e8d19a 45%, #d4b46a 100%);
  color: #3d2f12;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 4px 12px rgba(168, 134, 58, 0.28);
}

.pengaduan-status-chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.2rem;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  background: rgba(15, 23, 41, 0.08);
  color: var(--navy);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset;
}

.pengaduan-status-chip.is-active .pengaduan-status-chip-count {
  background: rgba(61, 47, 18, 0.14);
  color: #3d2f12;
}

.pengaduan-inbox-shell,
.pengaduan-workspace .pengaduan-detail-card {
  position: relative;
  border: 1px solid rgba(201, 169, 98, 0.32);
  border-radius: 14px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 249, 243, 0.96) 55%, rgba(245, 240, 230, 0.95) 100%);
  box-shadow: var(--peng-shadow);
}

.pengaduan-inbox-shell::before,
.pengaduan-workspace .pengaduan-detail-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold-light), var(--gold), var(--gold-light), transparent);
  opacity: 0.85;
  pointer-events: none;
}

.pengaduan-inbox-shell {
  padding: 14px;
  display: grid;
  gap: 12px;
}

.pengaduan-workspace {
  max-width: 920px;
}

.pengaduan-admin-filters-lux {
  display: grid;
  gap: 5px;
}

.pengaduan-search-bar {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}

.peng-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.peng-field-label {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.peng-field-hint {
  font-size: 0.72rem;
  color: var(--muted, #64748b);
}

.page-pengaduan-admin .pengaduan-search-bar input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  padding: 9px 12px;
  border: 1px solid rgba(201, 169, 98, 0.4);
  border-radius: 10px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8f5ef 100%);
  font: inherit;
  font-size: 0.86rem;
  color: var(--navy);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 2px 6px rgba(15, 23, 41, 0.04);
}

.page-pengaduan-admin .pengaduan-search-bar input[type="search"]:focus {
  outline: none;
  border-color: rgba(168, 134, 58, 0.7);
  box-shadow:
    0 0 0 3px rgba(201, 169, 98, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.pengaduan-reply-card input[type="file"],
.pengaduan-reply-card select,
.pengaduan-reply-card textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(201, 169, 98, 0.35);
  border-radius: 9px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8f5ef 100%);
  font: inherit;
  font-size: 0.86rem;
  color: var(--navy);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

.pengaduan-reply-card textarea {
  resize: vertical;
  min-height: 72px;
  line-height: 1.4;
}

.page-pengaduan-admin .peng-filter-btn {
  flex: 0 0 auto;
  width: auto;
  min-width: 104px;
  justify-content: center;
  align-self: stretch;
  padding: 9px 16px;
  white-space: nowrap;
  border-radius: 10px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 6px 14px rgba(15, 23, 41, 0.22);
}

.pengaduan-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 12px;
}

.pengaduan-ticket-card {
  position: relative;
  display: grid;
  gap: 7px;
  padding: 12px 13px 10px;
  border-radius: 12px;
  border: 1px solid rgba(201, 169, 98, 0.28);
  background:
    linear-gradient(165deg, #ffffff 0%, #fbf8f2 58%, #f3eee4 100%);
  text-decoration: none;
  color: inherit;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 8px 18px rgba(15, 23, 41, 0.07),
    0 2px 4px rgba(15, 23, 41, 0.04);
  transform: translateZ(0);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.pengaduan-ticket-card::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 98, 0.55), transparent);
  opacity: 0.55;
}

.pengaduan-ticket-card:hover {
  border-color: rgba(168, 134, 58, 0.65);
  transform: translateY(-3px);
  box-shadow: var(--peng-shadow-lift);
}

.pengaduan-ticket-card.is-baru {
  border-color: rgba(201, 169, 98, 0.55);
  background:
    linear-gradient(165deg, #fff9ec 0%, #ffffff 42%, #f7f1e4 100%);
}

.pengaduan-ticket-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pengaduan-ticket-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 2px;
  padding-top: 8px;
  border-top: 1px solid rgba(201, 169, 98, 0.16);
}

.pengaduan-ticket-open {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-dark);
  opacity: 0.85;
}

.pengaduan-ticket-card:hover .pengaduan-ticket-open {
  color: var(--navy);
  opacity: 1;
}

/* Badge tanggal/jam masuk — tonjol 3D untuk staf */
.pengaduan-time-chip {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 7px;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid rgba(232, 213, 163, 0.28);
  background:
    linear-gradient(160deg, #1a2b4a 0%, #122038 48%, #0c1526 100%);
  color: #fff;
  line-height: 1.15;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 4px 10px rgba(10, 16, 30, 0.35);
}

.pengaduan-time-chip-label {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gold-light, #e8d5a3);
}

.pengaduan-time-chip-date {
  font-size: 0.78rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  color: #fff;
}

.pengaduan-time-chip-clock {
  font-size: 0.86rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  padding: 2px 7px;
  border-radius: 5px;
  background:
    linear-gradient(180deg, rgba(232, 213, 163, 0.38) 0%, rgba(201, 169, 98, 0.28) 100%);
  color: #fff8df;
  border: 1px solid rgba(232, 213, 163, 0.4);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset;
}

.pengaduan-time-chip-lg {
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 9px 12px;
  min-width: 136px;
}

.pengaduan-time-chip-lg .pengaduan-time-chip-date {
  font-size: 0.95rem;
}

.pengaduan-time-chip-lg .pengaduan-time-chip-clock {
  font-size: 1.18rem;
  padding: 3px 9px;
}

.pengaduan-ticket-no {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--gold-dark);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

.pengaduan-ticket-subject {
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--navy);
  line-height: 1.28;
}

.pengaduan-ticket-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: 0.74rem;
  color: var(--muted, #64748b);
}

.pengaduan-ticket-name {
  font-weight: 700;
  color: var(--navy-soft, #1a2744);
}

.pengaduan-empty-state {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 4px;
  padding: 40px 16px;
}

.pengaduan-detail-card {
  padding: 16px 18px 18px;
}

.pengaduan-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(201, 169, 98, 0.2);
}

.pengaduan-detail-heading {
  min-width: 0;
  flex: 1;
}

.pengaduan-detail-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.pengaduan-detail-eyebrow {
  margin: 0 0 2px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.pengaduan-detail-header h2 {
  margin: 0 0 6px;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.25;
  color: var(--navy);
}

.pengaduan-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 0.78rem;
  color: var(--muted, #64748b);
}

.pengaduan-thread-lux {
  display: grid;
  gap: 9px;
  max-height: min(52vh, 520px);
  overflow: auto;
  padding: 2px 4px 2px 0;
  margin-bottom: 12px;
}

.pengaduan-bubble {
  padding: 10px 12px;
  border-radius: 11px;
  border: 1px solid rgba(15, 23, 41, 0.08);
  background:
    linear-gradient(165deg, #ffffff 0%, #f7f8fb 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 4px 12px rgba(15, 23, 41, 0.05);
}

.pengaduan-bubble.is-abk {
  border-color: rgba(201, 169, 98, 0.38);
  background:
    linear-gradient(165deg, #fff8ea 0%, #ffffff 58%, #f8f3e8 100%);
}

.pengaduan-bubble.is-admin {
  border-color: rgba(26, 54, 93, 0.24);
  background:
    linear-gradient(165deg, #eef3fb 0%, #ffffff 58%, #f3f6fb 100%);
}

.pengaduan-bubble-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 5px;
  font-size: 0.76rem;
}

.pengaduan-bubble-head strong {
  color: var(--navy);
}

.pengaduan-bubble-time {
  font-size: 0.76rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  color: #fff;
  background:
    linear-gradient(160deg, #1a2b4a 0%, #122038 100%);
  border: 1px solid rgba(232, 213, 163, 0.25);
  border-radius: 6px;
  padding: 2px 8px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(10, 16, 30, 0.22);
}

.pengaduan-bubble-status {
  margin: 0 0 4px;
  font-size: 0.74rem;
  color: var(--muted, #64748b);
}

.pengaduan-bubble-body {
  line-height: 1.45;
  font-size: 0.9rem;
  color: var(--navy-soft, #1a2744);
}

.pengaduan-att-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  margin-right: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(201, 169, 98, 0.4);
  background:
    linear-gradient(180deg, #ffffff 0%, #f4efe4 100%);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(15, 23, 41, 0.05);
}

.pengaduan-att-link:hover {
  border-color: var(--gold);
  background: linear-gradient(180deg, #fff7e4 0%, #f0e2c0 100%);
}

.pengaduan-reply-card {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(201, 169, 98, 0.4);
  background:
    radial-gradient(ellipse 80% 120% at 100% 0%, rgba(201, 169, 98, 0.12), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f7f2e8 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 8px 18px rgba(15, 23, 41, 0.06);
}

.pengaduan-reply-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.pengaduan-reply-title {
  margin: 0;
  font-size: 0.92rem;
  color: var(--navy);
}

.peng-field-status {
  min-width: 150px;
}

.pengaduan-reply-grid {
  display: grid;
  gap: 8px;
}

.peng-field-wide {
  grid-column: 1 / -1;
}

.pengaduan-reply-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.peng-field-file {
  flex: 1;
  min-width: 180px;
}

.pengaduan-readonly-note {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(15, 23, 41, 0.04);
  border: 1px dashed rgba(15, 23, 41, 0.12);
  font-size: 0.84rem;
}

.page-pengaduan-admin .pengaduan-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid transparent;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 2px 5px rgba(15, 23, 41, 0.06);
}

.page-pengaduan-admin .pengaduan-badge-gold {
  background: linear-gradient(180deg, #f7ebcd 0%, #e8d19a 100%);
  border-color: rgba(168, 134, 58, 0.35);
  color: #7a5f24;
}
.page-pengaduan-admin .pengaduan-badge-blue {
  background: linear-gradient(180deg, #e8efff 0%, #d7e4ff 100%);
  border-color: rgba(37, 99, 235, 0.22);
  color: #1d4ed8;
}
.page-pengaduan-admin .pengaduan-badge-green {
  background: linear-gradient(180deg, #e7f8ec 0%, #d4f0db 100%);
  border-color: rgba(22, 163, 74, 0.22);
  color: #15803d;
}
.page-pengaduan-admin .pengaduan-badge-red {
  background: linear-gradient(180deg, #fdeaea 0%, #f8d4d4 100%);
  border-color: rgba(220, 38, 38, 0.22);
  color: #b91c1c;
}
.page-pengaduan-admin .pengaduan-badge-slate {
  background: linear-gradient(180deg, #eef1f5 0%, #e2e7ee 100%);
  border-color: rgba(100, 116, 139, 0.22);
  color: #475569;
}

@media (max-width: 960px) {
  .pengaduan-card-grid {
    grid-template-columns: 1fr;
  }

  .pengaduan-search-bar {
    flex-direction: column;
  }

  .page-pengaduan-admin .peng-filter-btn {
    width: 100%;
  }

  .pengaduan-thread-lux {
    max-height: none;
  }

  .pengaduan-detail-header {
    flex-direction: column;
  }

  .pengaduan-detail-aside {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .pengaduan-time-chip-lg {
    flex-direction: row;
    align-items: center;
    min-width: 0;
  }

  .pengaduan-reply-head {
    flex-direction: column;
    align-items: stretch;
  }

  .pengaduan-reply-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .pengaduan-admin-body {
    padding: 12px;
  }

  .panel-pengaduan .peng-flash {
    margin-left: 12px;
    margin-right: 12px;
  }
}

/* —— Monitoring Staf (superadmin) —— */
.staff-monitor-panel {
  background: linear-gradient(180deg, #fff 0%, #faf8f5 100%);
}
.staff-monitor-toolbar {
  align-items: flex-end;
  gap: 16px;
}
.staff-monitor-live-date {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(201, 169, 98, 0.35);
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.12), rgba(255, 255, 255, 0.9));
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy, #0f172a);
  letter-spacing: 0.02em;
}
.staff-monitor-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 20px;
}
.staff-monitor-stat-online .staff-monitor-stat-value {
  color: #047857;
}
.staff-monitor-auto-refresh {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  text-align: right;
}
.staff-monitor-online-section {
  margin-bottom: 24px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(16, 185, 129, 0.18);
  background: linear-gradient(180deg, rgba(236, 253, 245, 0.65) 0%, rgba(255, 255, 255, 0.95) 100%);
}
.staff-monitor-online-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.staff-monitor-online-head h2 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy, #0f172a);
}
.staff-monitor-online-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
.staff-monitor-online-empty {
  padding: 18px;
  border-radius: 12px;
  border: 1px dashed rgba(15, 23, 41, 0.1);
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted, #64748b);
  font-size: 0.88rem;
}
.staff-monitor-online-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.staff-monitor-online-grid-compact {
  margin-top: 12px;
}
.staff-monitor-offline-wrap {
  margin-top: 16px;
}
.staff-monitor-offline-wrap summary {
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted, #64748b);
}
.staff-presence-card {
  padding: 14px 15px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 41, 0.08);
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 41, 0.04);
}
.staff-presence-card.is-online {
  border-color: rgba(16, 185, 129, 0.28);
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.08);
}
.staff-presence-card-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}
.staff-presence-card-who {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.staff-presence-card-who strong {
  font-size: 0.92rem;
  color: var(--navy, #0f172a);
}
.staff-presence-card-who span {
  font-size: 0.72rem;
  color: var(--muted, #64748b);
}
.staff-presence-card-status {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}
.staff-presence-card.is-online .staff-presence-card-status {
  color: #047857;
}
.staff-presence-card-activity {
  margin: 0 0 8px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #1e293b;
}
.staff-presence-card-activity span {
  color: var(--muted, #64748b);
  font-weight: 600;
}
.staff-presence-card-meta {
  margin: 0;
  font-size: 0.74rem;
  color: var(--muted, #64748b);
}
.staff-presence-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  vertical-align: middle;
  flex-shrink: 0;
}
.staff-presence-dot-online {
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
  animation: staffPresencePulse 2s ease-in-out infinite;
}
.staff-presence-dot-offline {
  background: #94a3b8;
}
@keyframes staffPresencePulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18); }
  50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.08); }
}
.staff-monitor-entry-relative {
  display: block;
  margin-top: 2px;
  font-size: 0.68rem;
  color: var(--muted, #64748b);
}
.staff-monitor-entry-page {
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: #334155;
}
.staff-monitor-entry-page-label {
  font-weight: 700;
  color: var(--muted, #64748b);
}
.staff-monitor-entry-page-script {
  color: var(--muted, #64748b);
  font-size: 0.74rem;
}
.staff-monitor-entry-meta {
  margin: 8px 0 0;
  font-size: 0.72rem;
  color: var(--muted, #64748b);
}
.staff-monitor-stat {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 41, 0.08);
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 41, 0.05);
}
.staff-monitor-stat-warn .staff-monitor-stat-value {
  color: #b45309;
}
.staff-monitor-stat-work .staff-monitor-stat-value {
  color: #047857;
}
.staff-monitor-work-section {
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(236, 253, 245, 0.55), rgba(255, 255, 255, 0.95));
}
.staff-monitor-work-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.staff-monitor-work-head h2 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}
.staff-monitor-work-count {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
.staff-monitor-work-empty {
  padding: 14px;
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.9);
  color: #64748b;
}
.staff-monitor-work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.staff-work-card {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.staff-work-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.staff-work-card-who {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.staff-work-card-who strong { font-size: 0.95rem; }
.staff-work-card-who span { font-size: 0.75rem; color: #64748b; }
.staff-work-card-total {
  font-size: 0.78rem;
  font-weight: 800;
  color: #047857;
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.staff-work-card-meta,
.staff-work-card-types {
  margin: 0 0 6px;
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.4;
}
.staff-work-card-samples {
  margin: 8px 0 10px;
  padding-left: 16px;
  color: #334155;
  font-size: 0.78rem;
  line-height: 1.4;
}
.staff-work-card-samples li { margin-bottom: 4px; }
.staff-work-card-link {
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f766e;
  text-decoration: none;
}
.staff-work-card-link:hover { text-decoration: underline; }
.staff-work-card-clickable {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.staff-work-card-clickable:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 118, 110, 0.35);
  box-shadow: 0 12px 28px rgba(15, 23, 41, 0.1);
}
.staff-account-section {
  margin: 0 0 22px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(201, 169, 98, 0.28);
  background: linear-gradient(180deg, #fffdf8 0%, #ffffff 55%);
}
.staff-account-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.staff-account-head h2 {
  margin: 0 0 4px;
  font-size: 1.15rem;
  color: var(--navy, #0f172a);
}
.staff-account-head .muted { margin: 0; }
.staff-account-count {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 41, 0.06);
  color: #334155;
  font-size: 0.78rem;
  font-weight: 700;
}
.staff-account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.staff-account-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 14px;
  box-shadow: 0 6px 18px rgba(15, 23, 41, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.staff-account-card:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 169, 98, 0.55);
  box-shadow: 0 14px 30px rgba(15, 23, 41, 0.1);
}
.staff-account-card.is-online {
  border-color: rgba(16, 185, 129, 0.4);
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 50%);
}
.staff-account-card-head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
}
.staff-account-card-who {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}
.staff-account-card-who strong {
  font-size: 0.95rem;
  color: var(--navy, #0f172a);
}
.staff-account-card-who span {
  font-size: 0.75rem;
  color: #64748b;
}
.staff-account-card-status {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}
.staff-account-card.is-online .staff-account-card-status {
  color: #047857;
}
.staff-account-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}
.staff-account-card-stats div {
  background: #f8fafc;
  border-radius: 10px;
  padding: 8px 6px;
  text-align: center;
}
.staff-account-card-stats strong {
  display: block;
  font-size: 1.05rem;
  color: var(--navy, #0f172a);
  line-height: 1.1;
}
.staff-account-card-stats span {
  display: block;
  margin-top: 3px;
  font-size: 0.65rem;
  color: #64748b;
  letter-spacing: 0.02em;
}
.staff-account-card-meta,
.staff-account-card-types {
  margin: 0 0 6px;
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.35;
}
.staff-account-card-cta {
  display: inline-flex;
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f766e;
}
.staff-monitor-detail-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}
.staff-monitor-detail-tab {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
}
.staff-monitor-detail-tab.is-active {
  background: linear-gradient(180deg, #0f1729, #1a2744);
  border-color: rgba(201, 169, 98, 0.45);
  color: #e8d5a3;
}
.staff-monitor-detail-note {
  margin: 0 0 12px;
  font-size: 0.8rem;
}
.staff-recap-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.staff-recap-table {
  width: 100%;
  margin: 0;
  border: 0;
}
.staff-recap-table th {
  background: #0f1729;
  color: #e8d5a3;
  font-size: 0.75rem;
}
.staff-recap-table td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.staff-monitor-detail-panel {
  margin: 0 0 22px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 40%);
  box-shadow: 0 10px 28px rgba(15, 23, 41, 0.06);
  scroll-margin-top: 88px;
}
.staff-monitor-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 118, 110, 0.14);
}
.staff-monitor-detail-eyebrow {
  margin: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0f766e;
}
.staff-monitor-detail-head h2 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--navy, #0f172a);
}
.staff-monitor-detail-head .muted {
  margin: 4px 0 0;
}
.staff-monitor-detail-back {
  flex-shrink: 0;
}
.staff-monitor-detail-list {
  max-height: none;
}
.staff-monitor-entry-success .staff-monitor-entry-card {
  border-color: rgba(16, 185, 129, 0.22);
}
.staff-monitor-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy, #0f172a);
}
.staff-monitor-stat-label {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--muted, #64748b);
  letter-spacing: 0.03em;
}
.staff-monitor-filters {
  display: grid;
  grid-template-columns: 160px minmax(180px, 1fr) minmax(160px, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding: 16px;
  margin-bottom: 22px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 41, 0.08);
  background: rgba(255, 255, 255, 0.85);
}
.staff-monitor-filters label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted, #64748b);
}
.staff-monitor-filters input,
.staff-monitor-filters select {
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 41, 0.12);
  font: inherit;
}
.staff-monitor-filter-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-bottom: 2px;
}
.staff-monitor-empty {
  padding: 48px 24px;
  text-align: center;
  border-radius: 16px;
  border: 1px dashed rgba(15, 23, 41, 0.12);
  background: rgba(255, 255, 255, 0.7);
}
.staff-monitor-timeline {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.staff-monitor-day-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201, 169, 98, 0.25);
}
.staff-monitor-day-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy, #0f172a);
}
.staff-monitor-day-count {
  font-size: 0.76rem;
  color: var(--muted, #64748b);
}
.staff-monitor-day-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.staff-monitor-entry {
  display: grid;
  grid-template-columns: 72px 18px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}
.staff-monitor-entry-time {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding-top: 14px;
}
.staff-monitor-entry-clock {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy, #0f172a);
  letter-spacing: 0.04em;
}
.staff-monitor-entry-rail {
  position: relative;
  display: flex;
  justify-content: center;
}
.staff-monitor-entry-rail::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: -12px;
  width: 2px;
  background: linear-gradient(180deg, rgba(201, 169, 98, 0.5), rgba(201, 169, 98, 0.08));
}
.staff-monitor-day-list .staff-monitor-entry:last-child .staff-monitor-entry-rail::before {
  bottom: 50%;
}
.staff-monitor-entry-dot {
  width: 12px;
  height: 12px;
  margin-top: 16px;
  border-radius: 999px;
  border: 2px solid #fff;
  background: var(--gold, #c9a962);
  box-shadow: 0 0 0 2px rgba(201, 169, 98, 0.25);
}
.staff-monitor-entry-card {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 41, 0.08);
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 41, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.staff-monitor-entry-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 23, 41, 0.07);
}
.staff-monitor-entry-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.staff-monitor-entry-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(201, 169, 98, 0.12);
  font-size: 1rem;
  flex-shrink: 0;
}
.staff-monitor-entry-who {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.staff-monitor-entry-name {
  font-size: 0.92rem;
  color: var(--navy, #0f172a);
}
.staff-monitor-entry-role {
  font-size: 0.72rem;
  color: var(--muted, #64748b);
}
.staff-monitor-entry-badge {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.staff-monitor-entry-badge-success { background: #ecfdf5; color: #047857; }
.staff-monitor-entry-badge-danger { background: #fef2f2; color: #b91c1c; }
.staff-monitor-entry-badge-info { background: #eff6ff; color: #1d4ed8; }
.staff-monitor-entry-badge-warn { background: #fffbeb; color: #b45309; }
.staff-monitor-entry-badge-muted { background: #f8fafc; color: #475569; }
.staff-monitor-entry-action {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #1e293b;
}
.staff-monitor-entry-detail {
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: var(--muted, #64748b);
}
.staff-monitor-entry-success .staff-monitor-entry-dot { background: #10b981; box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2); }
.staff-monitor-entry-danger .staff-monitor-entry-dot { background: #ef4444; box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2); }
.staff-monitor-entry-info .staff-monitor-entry-dot { background: #3b82f6; box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2); }
.staff-monitor-entry-warn .staff-monitor-entry-dot { background: #f59e0b; box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2); }

@media (max-width: 960px) {
  .staff-monitor-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .staff-monitor-filters {
    grid-template-columns: 1fr 1fr;
  }
  .staff-monitor-filter-actions {
    grid-column: 1 / -1;
  }
}
@media (max-width: 640px) {
  .staff-monitor-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .staff-monitor-online-grid {
    grid-template-columns: 1fr;
  }
  .staff-monitor-filters {
    grid-template-columns: 1fr;
  }
  .staff-monitor-entry {
    grid-template-columns: 58px 14px minmax(0, 1fr);
    gap: 8px;
  }
  .staff-monitor-entry-head {
    flex-wrap: wrap;
  }
  .staff-monitor-entry-badge {
    margin-left: 44px;
  }
}

/* —— App Launcher (navigasi topbar) —— */
.topbar-launcher-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.topbar-right-with-launcher {
  gap: 0;
  align-items: center;
  padding-bottom: 0;
}

.app-launcher-avatar-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 999px;
  flex-shrink: 0;
}

.app-launcher-avatar {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(201, 169, 98, 0.55);
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
}

.app-launcher-avatar-trigger:hover .app-launcher-avatar,
.app-launcher-avatar-trigger:focus-visible .app-launcher-avatar,
body.app-launcher-open .app-launcher-avatar-trigger .app-launcher-avatar {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 2px rgba(201, 169, 98, 0.25), 0 4px 16px rgba(0, 0, 0, 0.3);
  transform: scale(1.03);
}

.app-launcher-avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-launcher-avatar-initials {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--navy);
}

.app-launcher-avatar-menu-icon {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border: 2px solid var(--navy);
  color: var(--navy);
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.app-launcher-avatar-lg {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.app-launcher-avatar-lg .app-launcher-avatar-initials {
  font-size: 1rem;
}

.app-launcher-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(8, 14, 28, 0.38);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s ease;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

body.app-launcher-open {
  overflow: hidden;
}

body.app-launcher-open .app-launcher-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.app-launcher-panel {
  --launcher-top: 76px;
  --launcher-right: 12px;
  --launcher-caret-right: 22px;
  position: fixed;
  z-index: 1210;
  top: var(--launcher-top);
  right: var(--launcher-right);
  bottom: 12px;
  left: auto;
  width: min(360px, calc(100vw - 16px));
  transform: translateX(calc(100% + 20px));
  background:
    linear-gradient(
      165deg,
      rgba(14, 24, 46, 0.7) 0%,
      rgba(18, 30, 56, 0.68) 42%,
      rgba(10, 18, 36, 0.72) 100%
    );
  border-radius: 18px;
  border: 1px solid rgba(201, 169, 98, 0.42);
  box-shadow:
    -18px 10px 50px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 0 0 1px rgba(201, 169, 98, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease;
  visibility: hidden;
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.app-launcher-panel::before {
  content: "";
  position: absolute;
  top: -6px;
  right: var(--launcher-caret-right);
  width: 12px;
  height: 12px;
  background: rgba(16, 26, 48, 0.72);
  border-left: 1px solid rgba(201, 169, 98, 0.35);
  border-top: 1px solid rgba(201, 169, 98, 0.35);
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.2s ease 0.08s;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body.app-launcher-open .app-launcher-panel {
  transform: translateX(0);
  visibility: visible;
  box-shadow:
    -22px 14px 56px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 0 0 1px rgba(201, 169, 98, 0.1);
}

body.app-launcher-open .app-launcher-panel::before {
  opacity: 1;
}

.app-launcher-avatar-trigger.is-open .app-launcher-avatar {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 2px rgba(201, 169, 98, 0.35), 0 4px 16px rgba(0, 0, 0, 0.3);
}

.app-launcher-handle {
  display: none;
}

.app-launcher-head {
  padding: 18px 16px 14px;
  border-bottom: 1px solid rgba(201, 169, 98, 0.24);
  flex-shrink: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(201, 169, 98, 0.06) 100%);
}

.app-launcher-user-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.app-launcher-user-meta {
  min-width: 0;
}

.app-launcher-user-name {
  display: block;
  font-size: 1rem;
  color: #fff8e8;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.28);
}

.app-launcher-user-role {
  display: inline-block;
  margin-top: 4px;
}

.app-launcher-account-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.app-launcher-account-link {
  flex: 1;
  display: block;
  text-align: center;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid rgba(201, 169, 98, 0.32);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.06) 100%);
  color: #fff8e8 !important;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: background 0.15s, border-color 0.15s, transform 0.12s, box-shadow 0.15s;
}

.app-launcher-account-link:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(201, 169, 98, 0.12) 100%);
  border-color: rgba(201, 169, 98, 0.55);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  text-decoration: none;
}

.app-launcher-account-logout {
  color: #ffb4b4 !important;
  border-color: rgba(255, 138, 138, 0.35);
}

.app-launcher-account-logout:hover {
  background: rgba(198, 40, 40, 0.18);
  border-color: rgba(255, 138, 138, 0.5);
}

.app-launcher-section-title {
  margin: 0 0 12px 4px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e8c56a;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.app-launcher-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 98, 0.35);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.06) 100%);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  color: rgba(255, 248, 230, 0.85);
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: background 0.15s, color 0.15s, transform 0.12s;
  flex-shrink: 0;
  align-self: flex-start;
}

.app-launcher-close:hover {
  background: rgba(201, 169, 98, 0.28);
  color: #fff;
}

.app-launcher-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 14px 24px;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(201, 169, 98, 0.04) 100%);
}

.app-launcher-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 10px;
}

.app-launcher-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 6px 2px;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.15s;
}

.app-launcher-nav-item:hover,
.app-launcher-nav-item:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
}

.app-launcher-nav-item.is-active {
  background: rgba(201, 169, 98, 0.16);
}

.app-launcher-nav-icon {
  --ios-bg-top: #6eb6ff;
  --ios-bg-bottom: #1a7af0;
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 22%;
  background: linear-gradient(165deg, var(--ios-bg-top) 0%, var(--ios-bg-bottom) 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 -2px 4px rgba(0, 0, 0, 0.15) inset,
    0 8px 16px rgba(15, 23, 41, 0.22),
    0 2px 4px rgba(0, 0, 0, 0.12);
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
}

.app-launcher-nav-icon::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 8%;
  right: 8%;
  height: 46%;
  border-radius: 40% 40% 55% 55% / 35% 35% 65% 65%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.12) 100%);
  pointer-events: none;
}

.app-launcher-nav-icon::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 6%;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.28) 0%, transparent 72%);
  filter: blur(1px);
  pointer-events: none;
}

.app-launcher-nav-glyph {
  position: relative;
  z-index: 1;
  font-size: 2.05rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.28));
  transform: translateY(-1px) scale(1.02);
}

.app-launcher-nav-item:hover .app-launcher-nav-icon,
.app-launcher-nav-item:focus-visible .app-launcher-nav-icon {
  transform: scale(1.07) translateY(-3px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 -2px 4px rgba(0, 0, 0, 0.12) inset,
    0 12px 22px rgba(15, 23, 41, 0.28),
    0 4px 8px rgba(0, 0, 0, 0.14);
}

.app-launcher-nav-item.is-active .app-launcher-nav-icon {
  box-shadow:
    0 0 0 2px rgba(201, 169, 98, 0.75),
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 8px 18px rgba(15, 23, 41, 0.24);
}

.app-launcher-nav-label {
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.25;
  color: #ffffff;
  max-width: 100%;
  padding: 0 2px;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  letter-spacing: 0.02em;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.65),
    0 0 1px rgba(0, 0, 0, 0.45);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.app-launcher-panel .topbar-role-badge {
  color: var(--gold-light);
  border-color: rgba(201, 169, 98, 0.45);
  background: rgba(201, 169, 98, 0.12);
}

/* iOS-style icon color themes */
.ios-theme-home { --ios-bg-top: #7ec8ff; --ios-bg-bottom: #1a84f0; }
.ios-theme-ocean { --ios-bg-top: #4f8fd4; --ios-bg-bottom: #1a4a7a; }
.ios-theme-amber { --ios-bg-top: #ffd36a; --ios-bg-bottom: #e08a00; }
.ios-theme-violet { --ios-bg-top: #c4a0ff; --ios-bg-bottom: #6f3fd6; }
.ios-theme-pink { --ios-bg-top: #ff9ecf; --ios-bg-bottom: #e03a8a; }
.ios-theme-red { --ios-bg-top: #ff8f8f; --ios-bg-bottom: #d62828; }
.ios-theme-green { --ios-bg-top: #8ee4a0; --ios-bg-bottom: #1f9d4a; }
.ios-theme-sky { --ios-bg-top: #7ee0ff; --ios-bg-bottom: #0d8ecf; }
.ios-theme-indigo { --ios-bg-top: #9aa8ff; --ios-bg-bottom: #3f51b5; }
.ios-theme-plum { --ios-bg-top: #d4a5ff; --ios-bg-bottom: #7b2cbf; }
.ios-theme-coral { --ios-bg-top: #ffb199; --ios-bg-bottom: #e85d3a; }
.ios-theme-steel { --ios-bg-top: #a8bdd4; --ios-bg-bottom: #4a6278; }
.ios-theme-gold { --ios-bg-top: #f0d78c; --ios-bg-bottom: #a8863a; }
.ios-theme-slate { --ios-bg-top: #b8c4d4; --ios-bg-bottom: #5a6a7e; }

@media (min-width: 768px) {
  .app-launcher-panel {
    width: min(380px, calc(100vw - 24px));
    bottom: 16px;
    border-radius: 18px;
  }
}

@media (min-width: 901px) {
  .topbar-inner.is-launcher-nav {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .topbar-inner.is-launcher-nav > .topbar-identity {
    grid-column: 1 / -1;
  }

  .topbar-inner.is-launcher-nav:has(.app-back-btn-topbar) {
    grid-template-columns: auto auto minmax(0, 1fr);
  }

  .topbar-inner.is-launcher-nav:has(.app-back-btn-topbar) > .app-back-btn-topbar {
    grid-column: 1;
  }

  .topbar-inner.is-launcher-nav:has(.app-back-btn-topbar) > .topbar-identity {
    grid-column: 2 / -1;
  }
}

@media (max-width: 768px) {
  .topbar-inner.is-launcher-nav {
    flex-wrap: nowrap;
    align-items: stretch;
    padding: 8px 10px;
    gap: 8px;
  }

  .topbar-inner.is-launcher-nav .topbar-identity {
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 6px 10px;
    align-items: center;
    padding: 10px 10px 10px 12px;
  }

  .topbar-inner.is-launcher-nav:has(.app-back-btn-topbar) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 8px;
  }

  .topbar-inner.is-launcher-nav:has(.app-back-btn-topbar) > .app-back-btn-topbar {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    min-height: 40px;
    padding: 8px 10px;
  }

  .topbar-inner.is-launcher-nav:has(.app-back-btn-topbar) > .topbar-identity {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-launcher-panel,
  .app-launcher-backdrop,
  .app-launcher-nav-item,
  .app-launcher-avatar {
    transition: none !important;
  }
}

/* ABK index — daftar kartu mobile (profesional, selaras tema lux) */
.abk-mobile-cards {
  display: none;
}

@media (max-width: 768px) {
  .page-abk-index .abk-index-desktop-table {
    display: none !important;
  }

  .page-abk-index .table-scroll-fluid {
    overflow: visible;
    padding: 10px 12px 16px;
  }

  .page-abk-index .abk-mobile-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
  }

  .page-abk-index .abk-mobile-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 76px;
    padding: 12px 14px 12px 12px;
    background: linear-gradient(180deg, #ffffff 0%, #faf8f5 100%);
    border: 1px solid rgba(201, 169, 98, 0.28);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(15, 23, 41, 0.06);
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
  }

  .page-abk-index .abk-mobile-card:active {
    transform: scale(0.99);
    border-color: rgba(201, 169, 98, 0.5);
    box-shadow: 0 4px 16px rgba(15, 23, 41, 0.1);
  }

  .page-abk-index .abk-mobile-card-media {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 64px;
    padding: 3px;
    border-radius: 12px;
    background: linear-gradient(180deg, #fff 0%, #f3efe8 100%);
    border: 1.5px solid rgba(201, 169, 98, 0.45);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  }

  .page-abk-index .abk-mobile-card-avatar {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 16%;
    transform: scale(1.28);
    transform-origin: center 28%;
    border-radius: 9px;
    background: #f8f6f1;
  }

  .page-abk-index .abk-mobile-card-avatar--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 1.5rem;
    border-radius: 9px;
    background: linear-gradient(145deg, #f3efe8, #e8e4dc);
    color: rgba(15, 23, 41, 0.35);
  }

  .page-abk-index .abk-mobile-card-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 2px 0;
  }

  .page-abk-index .abk-mobile-card-name {
    margin: 0;
    font-family: var(--font-display, inherit);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.02em;
    color: var(--navy, #0f1729);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
  }

  .page-abk-index .abk-mobile-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
  }

  .page-abk-index .abk-mobile-card-meta .crew-status-badge {
    font-size: 0.65rem;
    padding: 0.24rem 0.62rem;
    letter-spacing: 0.05em;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .page-abk-index .abk-mobile-card-arrow {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-left: 2px;
    border-radius: 50%;
    background: rgba(201, 169, 98, 0.12);
    color: rgba(15, 23, 41, 0.45);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
  }

  .page-abk-index .abk-mobile-cards-empty {
    margin: 0;
    padding: 28px 16px;
    text-align: center;
    color: var(--muted, #64748b);
    font-size: 0.9rem;
    border-radius: 14px;
    border: 1px dashed rgba(201, 169, 98, 0.35);
    background: rgba(250, 248, 245, 0.7);
  }
}

/* Topbar + Launcher — mobile friendly (HP) */
@media (max-width: 768px) {
  .topbar-inner {
    padding: 8px 10px;
    gap: 8px;
  }

  .topbar-identity {
    flex-direction: row;
    align-items: center;
    gap: 0;
    padding: 0;
    border-radius: 12px;
  }

  .topbar-identity-brand {
    grid-column: 1;
    grid-row: 1;
    width: auto;
    min-width: 0;
    gap: 10px;
    align-items: center;
  }

  .topbar-logo-frame {
    padding: 4px 6px;
    border-radius: 10px;
  }

  .topbar-logo {
    max-height: 42px;
    max-width: 42px;
  }

  .brand-lux strong {
    font-size: clamp(0.62rem, 2.8vw, 0.74rem);
    white-space: normal;
    line-height: 1.2;
    letter-spacing: 0.02em;
  }

  .brand-lux .brand-lux-tagline {
    font-size: 0.54rem;
    letter-spacing: 0.1em;
    margin-top: 1px;
  }

  .brand-lux .brand-lux-licenses {
    display: none;
  }

  .topbar-identity-divider,
  .topbar-identity-divider--menu {
    display: none;
  }

  .topbar-identity-commitment {
    grid-column: 1;
    grid-row: 2;
    text-align: left;
    padding: 0;
    min-width: 0;
  }

  .topbar-identity-values {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    line-height: 1.25;
    white-space: normal;
  }

  .topbar-identity-note {
    display: none;
  }

  .topbar-identity-menu {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: auto;
    justify-content: flex-end;
    align-self: center;
    padding-left: 4px;
  }

  .topbar-menu-trigger {
    width: auto;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
    padding: 5px 6px;
    border-radius: 12px;
  }

  .topbar-menu-trigger .app-launcher-avatar {
    width: 40px;
    height: 46px;
    border-radius: 10px;
  }

  .topbar-menu-copy {
    display: none;
  }

  .topbar-menu-bars {
    width: 16px;
    margin-left: 0;
  }

  /* Launcher — bottom sheet penuh, tidak terpotong */
  .app-launcher-panel {
    top: auto !important;
    right: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: min(92dvh, 92vh);
    border-radius: 20px 20px 0 0;
    border-bottom: none;
    transform: translateY(105%);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35);
  }

  .app-launcher-panel::before {
    display: none;
  }

  body.app-launcher-open .app-launcher-panel {
    transform: translateY(0);
  }

  .app-launcher-handle {
    display: block;
    width: 40px;
    height: 4px;
    margin: 0 auto 10px;
    border-radius: 999px;
    background: rgba(201, 169, 98, 0.55);
    flex-shrink: 0;
  }

  .app-launcher-head {
    padding: 10px 16px 12px;
    padding-top: max(10px, env(safe-area-inset-top));
  }

  .app-launcher-head::before {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    margin: 0 auto 12px;
    border-radius: 999px;
    background: rgba(201, 169, 98, 0.5);
  }

  .app-launcher-user-card {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }

  .app-launcher-user-name {
    font-size: 0.92rem;
  }

  .app-launcher-account-actions {
    flex-wrap: wrap;
    gap: 8px;
  }

  .app-launcher-body {
    padding: 12px 14px max(20px, env(safe-area-inset-bottom));
    -webkit-overflow-scrolling: touch;
  }

  .app-launcher-nav-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .app-launcher-nav-icon {
    width: 72px;
    height: 72px;
    border-radius: 22%;
  }

  .app-launcher-nav-glyph {
    font-size: 2.25rem;
  }

  .app-launcher-nav-label {
    font-size: 0.86rem;
    line-height: 1.25;
    font-weight: 800;
    color: #ffffff;
    word-break: normal;
    overflow-wrap: normal;
  }

  .app-launcher-close {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* Online archive extras */
.status-archive-table .sal-col-deadline { width: 9%; }

.status-archive-table-online .sal-col-no { width: 3.5%; }
.status-archive-table-online .sal-col-daftar { width: 8%; }
.status-archive-table-online .sal-col-nama { width: 22%; }
.status-archive-table-online .sal-col-status { width: 8%; }
.status-archive-table-online .sal-col-marketing { width: 10%; }
.status-archive-table-online .sal-col-deadline { width: 8.5%; }
.status-archive-table-online .sal-col-catatan { width: 26%; }
.status-archive-table-online .sal-col-aksi { width: 14%; }

.page-status-online-lux .status-archive-hero--online {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08) 0%, transparent 42%),
    linear-gradient(135deg, #042f2e 0%, #0f766e 38%, #0e7490 72%, #0369a1 100%);
  border-bottom-color: rgba(251, 191, 36, 0.85);
  padding: clamp(14px, 1.6vw, 20px) clamp(14px, 1.5vw, 22px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.page-status-online-lux .status-archive-hero-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.35);
}
.page-status-online-lux .status-archive-eyebrow {
  letter-spacing: 0.14em;
  color: rgba(253, 230, 138, 0.9);
}
.page-status-online-lux .status-archive-hero h1 {
  font-size: clamp(1.2rem, 0.7vw + 1rem, 1.45rem);
  letter-spacing: 0.01em;
}
.page-status-online-lux .status-archive-lead {
  margin-top: 4px;
  font-size: 0.78rem;
  line-height: 1.4;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.78);
}
.page-status-online-lux .status-archive-meta {
  margin-top: 8px;
  font-size: 0.76rem;
  gap: 6px;
}
.page-status-online-lux .btn-ghost-on-dark {
  padding: 0.38rem 0.75rem;
  font-size: 0.72rem;
  border-radius: 999px;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.page-status-online-lux .status-archive-filters {
  padding: 10px clamp(12px, 1.4vw, 20px);
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.page-status-online-lux .abk-index-filters-grid--online {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) minmax(130px, 0.7fr) auto;
  gap: 8px 12px;
  align-items: end;
  width: 100%;
  max-width: 720px;
}
.page-status-online-lux .abk-filter-search {
  max-width: none;
}
.page-status-online-lux .abk-filter-label {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}
.page-status-online-lux .abk-index-filters input,
.page-status-online-lux .abk-index-filters select {
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  min-height: 34px;
}
.page-status-online-lux .abk-index-filters-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 1px;
}
.page-status-online-lux .btn-filter-apply {
  padding: 7px 14px;
  min-height: 34px;
  font-size: 0.76rem;
  border-radius: 8px;
}
.page-status-online-lux .btn-filter-reset {
  font-size: 0.72rem;
  padding: 6px 10px;
}

.page-status-online-lux .status-archive-table-online thead th {
  padding: 8px 7px;
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  vertical-align: middle;
  line-height: 1.25;
}
.page-status-online-lux .status-archive-table-online tbody td {
  padding: 8px 7px;
  vertical-align: top;
}
.page-status-online-lux .status-archive-table-online .col-deadline {
  white-space: nowrap;
  min-width: 5.5rem;
  max-width: none;
}
.page-status-online-lux .status-archive-table-online .col-catatan {
  max-width: none;
}
.page-status-online-lux .status-archive-table-online .col-nama {
  max-width: none;
}
.page-status-online-lux .status-archive-table-online .col-marketing {
  max-width: none;
}
.page-status-online-lux .status-archive-catatan {
  -webkit-line-clamp: 2;
  font-size: 0.74rem;
  line-height: 1.35;
}
.page-status-online-lux .status-online-docs {
  margin-top: 3px;
  font-size: 0.68rem;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}
.page-status-online-lux .status-online-xp {
  margin-top: 3px;
  font-size: 0.66rem;
  font-weight: 600;
  color: #0f766e;
}
.page-status-online-lux .status-online-active-tag {
  margin-top: 2px;
  font-size: 0.66rem;
}
.page-status-online-lux .status-online-deadline {
  font-size: 0.76rem;
  letter-spacing: 0.02em;
}
.page-status-online-lux .status-list-actions-row {
  gap: 4px;
}
.page-status-online-lux .btn-archive-wa,
.page-status-online-lux .btn-online-pra,
.page-status-online-lux .btn-online-terdaftar,
.page-status-online-lux .btn-archive-edit {
  min-width: 30px;
  height: 30px;
  padding: 0 0.35rem;
  font-size: 0.64rem;
  border-radius: 8px;
}

@media (max-width: 900px) {
  .page-status-online-lux .abk-index-filters-grid--online {
    grid-template-columns: 1fr 1fr;
  }
  .page-status-online-lux .abk-index-filters-actions {
    grid-column: 1 / -1;
  }
}

.status-online-xp,
.status-online-docs,
.status-online-active-tag {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.35;
}
.status-online-active-tag {
  font-weight: 700;
  color: #0e7490;
}
.is-online-inactive .status-online-active-tag {
  color: #b45309;
}
.status-online-deadline {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.status-online-deadline.is-overdue {
  color: #b91c1c;
}
.status-online-inline-form {
  display: inline;
  margin: 0;
}
.btn-archive-wa,
.btn-online-pra,
.btn-online-terdaftar {
  width: auto;
  min-width: 34px;
  padding: 0 0.4rem;
  font-size: 0.68rem;
  font-weight: 800;
}
.btn-archive-wa {
  background: #ecfdf5;
  color: #047857;
  border-color: rgba(4, 120, 87, 0.25);
}
.btn-online-pra {
  background: linear-gradient(135deg, #e0f2fe, #bae6fd);
  color: #075985;
}
.btn-online-terdaftar {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: #166534;
}
.crew-status-online-active,
.crew-status-online-inactive {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}
.crew-status-online-active {
  background: #ecfeff;
  color: #0e7490;
}
.crew-status-online-inactive {
  background: #fff7ed;
  color: #c2410c;
}

/* Online verify panel — edit form */
.crew-status-panel-online {
  border-color: rgba(14, 116, 144, 0.22);
}
.crew-status-panel-online::before {
  background: linear-gradient(90deg, transparent, #0e7490, #fbbf24, #0e7490, transparent);
}
.crew-status-banner--online {
  background:
    radial-gradient(ellipse 70% 120% at 100% 0%, rgba(251, 191, 36, 0.16), transparent 55%),
    linear-gradient(135deg, #042f2e 0%, #0f766e 42%, #0e7490 78%, #0369a1 100%);
  border-bottom-color: rgba(251, 191, 36, 0.75);
}
.crew-status-panel-online .crew-status-eyebrow {
  color: rgba(253, 230, 138, 0.95);
}
.crew-status-panel-online .crew-status-hint,
.crew-status-panel-online .crew-status-hint-note {
  color: rgba(255, 255, 255, 0.82);
  max-width: 58ch;
}

.crew-online-verify {
  padding: 18px clamp(14px, 1.6vw, 24px) 22px;
  background:
    linear-gradient(180deg, #f8fafc 0%, #fff 38%);
}
.crew-online-verify-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 18px;
  margin-bottom: 14px;
}
.crew-online-verify .crew-status-form-eyebrow {
  margin: 0 0 4px;
  font-size: 1.08rem;
}
.crew-online-verify-lead {
  margin: 0;
  max-width: 52ch;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #64748b;
}
.crew-online-verify-status {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(14, 116, 144, 0.16);
  box-shadow: 0 1px 3px rgba(15, 23, 41, 0.04);
}

.crew-online-verify-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.crew-online-fact {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 8px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(15, 23, 41, 0.08);
  box-shadow: 0 1px 2px rgba(15, 23, 41, 0.03);
}
.crew-online-fact--soft {
  background: #f8fafc;
}
.crew-online-fact.is-overdue {
  border-color: rgba(185, 28, 28, 0.28);
  background: #fef2f2;
}
.crew-online-fact-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #94a3b8;
}
.crew-online-fact strong {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}
.crew-online-fact.is-overdue strong {
  color: #b91c1c;
}

.crew-online-reactivate {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) auto;
  gap: 12px;
  align-items: end;
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border: 1px solid rgba(194, 65, 12, 0.22);
}
.crew-online-reactivate-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.crew-online-reactivate-copy strong {
  font-size: 0.84rem;
  color: #9a3412;
}
.crew-online-reactivate-copy span {
  font-size: 0.74rem;
  color: #c2410c;
  line-height: 1.35;
}
.crew-online-reactivate .crew-status-catatan-field {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #9a3412;
}
.crew-online-reactivate textarea {
  margin-top: 4px;
  width: 100%;
  min-height: 52px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(194, 65, 12, 0.22);
  font: inherit;
  font-size: 0.8rem;
  resize: vertical;
}

.crew-online-verify-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.crew-online-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15, 23, 41, 0.08);
  box-shadow: 0 8px 24px rgba(15, 23, 41, 0.05);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.crew-online-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 23, 41, 0.08);
}
.crew-online-card--pra {
  border-top: 3px solid #0284c7;
}
.crew-online-card--terdaftar {
  border-top: 3px solid #059669;
}
.crew-online-card-top {
  min-width: 0;
}
.crew-online-card-step {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #f1f5f9;
  color: #64748b;
}
.crew-online-card--pra .crew-online-card-step {
  background: #e0f2fe;
  color: #0369a1;
}
.crew-online-card--terdaftar .crew-online-card-step {
  background: #dcfce7;
  color: #047857;
}
.crew-online-card-title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.crew-online-card-desc {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #64748b;
}
.crew-online-card .crew-status-catatan-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}
.crew-online-card textarea {
  width: 100%;
  min-height: 78px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 41, 0.1);
  background: #f8fafc;
  font: inherit;
  font-size: 0.82rem;
  color: var(--text);
  resize: vertical;
  box-shadow: inset 0 1px 2px rgba(15, 23, 41, 0.03);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.crew-online-card textarea:focus {
  outline: none;
  background: #fff;
  border-color: #0e7490;
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.12);
}
.crew-online-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  margin-top: auto;
  padding: 12px 14px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}
.crew-online-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.03);
}
.crew-online-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.crew-online-btn-main {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.crew-online-btn-sub {
  font-size: 0.68rem;
  font-weight: 600;
  opacity: 0.85;
}
.crew-online-btn--pra {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #fff;
  box-shadow: 0 8px 18px rgba(3, 105, 161, 0.28);
}
.crew-online-btn--terdaftar {
  background: linear-gradient(135deg, #059669, #047857);
  color: #fff;
  box-shadow: 0 8px 18px rgba(4, 120, 87, 0.28);
}
.crew-online-btn--reactivate {
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  background: linear-gradient(135deg, #ea580c, #c2410c);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(194, 65, 12, 0.25);
}

@media (max-width: 900px) {
  .crew-online-verify-grid {
    grid-template-columns: 1fr;
  }
  .crew-online-reactivate {
    grid-template-columns: 1fr;
  }
}
