:root {
  color-scheme: light;
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  --bg-body: #f8fafc;
  --bg-sidebar: #ffffff;
  --bg-navbar: #ffffff;
  --bg-card: #ffffff;
  --bg-table: #ffffff;
  --bg-input: #ffffff;
  --bg-muted: #f1f5f9;
  --bg-overlay: rgba(15, 23, 42, 0.48);

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-inverse: #ffffff;
  --text-on-primary: #ffffff;

  --border-color: #e2e8f0;
  --border-strong: #cbd5e1;
  --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-popover: 0 18px 45px rgba(15, 23, 42, 0.14);

  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-soft: #dbeafe;

  --success: #16a34a;
  --success-soft: #dcfce7;

  --danger: #dc2626;
  --danger-soft: #fee2e2;

  --warning: #f59e0b;
  --warning-soft: #fef3c7;

  --info: #0891b2;
  --info-soft: #cffafe;
  --filter: #0f766e;
  --filter-hover: #115e59;
  --filter-soft: #ccfbf1;
  --reset: #64748b;
  --reset-hover: #475569;
  --reset-soft: #f1f5f9;
  --export-pdf: #c91f1f;
  --export-pdf-hover: #a51616;
  --export-pdf-soft: #fee2e2;
  --export-excel: #107c41;
  --export-excel-hover: #0b5f31;
  --export-excel-soft: #dcfce7;
  --signature-paper: #eff6ff;
  --signature-paper-line: #93c5fd;
  --signature-border: #93c5fd;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --sidebar-width: 280px;
  --navbar-height: 64px;
  --content-max: 1440px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg-body: #020617;
  --bg-sidebar: #0f172a;
  --bg-navbar: #0f172a;
  --bg-card: #0f172a;
  --bg-table: #0f172a;
  --bg-input: #111827;
  --bg-muted: #111827;
  --bg-overlay: rgba(2, 6, 23, 0.72);

  --text-main: #e5e7eb;
  --text-muted: #94a3b8;
  --text-inverse: #020617;
  --text-on-primary: #ffffff;

  --border-color: #1e293b;
  --border-strong: #334155;
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-popover: 0 18px 45px rgba(0, 0, 0, 0.45);

  --primary: #60a5fa;
  --primary-hover: #3b82f6;
  --primary-soft: #1e3a8a;

  --success: #4ade80;
  --success-soft: #14532d;

  --danger: #f87171;
  --danger-soft: #7f1d1d;

  --warning: #facc15;
  --warning-soft: #713f12;

  --info: #22d3ee;
  --info-soft: #164e63;
  --filter: #0f766e;
  --filter-hover: #14b8a6;
  --filter-soft: #134e4a;
  --reset: #cbd5e1;
  --reset-hover: #e2e8f0;
  --reset-soft: #1e293b;
  --export-pdf: #f87171;
  --export-pdf-hover: #ef4444;
  --export-pdf-soft: #7f1d1d;
  --export-excel: #4ade80;
  --export-excel-hover: #22c55e;
  --export-excel-soft: #14532d;
  --signature-paper: #dbeafe;
  --signature-paper-line: #60a5fa;
  --signature-border: #60a5fa;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img,
svg {
  max-width: 100%;
}

.app-shell {
  display: flex;
  min-height: 100vh;
}

.app-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  width: var(--sidebar-width);
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-color);
  color: var(--text-main);
  transform: translateX(0);
  transition: transform 180ms ease;
}

.app-sidebar__brand,
.app-sidebar__footer {
  padding: 20px;
}

.app-sidebar__brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.brand-lockup {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-lockup strong,
.auth-brand h1 {
  display: block;
  color: var(--primary);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
}

.brand-lockup small,
.navbar-subtitle,
.user-chip small {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
}

.brand-logo,
.auth-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 5px;
}

.app-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  touch-action: pan-y;
  padding: 8px 12px;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--border-strong) 75%, transparent) transparent;
}

.app-sidebar__nav::-webkit-scrollbar {
  width: 8px;
}

.app-sidebar__nav::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--border-strong) 70%, transparent);
  border: 2px solid transparent;
  border-radius: 999px;
  background-clip: content-box;
}

.app-sidebar__footer {
  flex: 0 0 auto;
  border-top: 1px solid var(--border-color);
}

.sidebar-close,
.sidebar-mobile-account {
  display: none;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  text-align: left;
  transition: background 160ms ease, color 160ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  background: var(--primary-soft);
  color: var(--primary);
}

.nav-group {
  display: grid;
  gap: 4px;
}

.nav-link--group {
  cursor: default;
}

.nav-link__chevron {
  margin-left: auto;
  font-size: 20px;
  transition: transform 160ms ease;
}

.nav-group.is-open .nav-link__chevron {
  transform: rotate(180deg);
}

.nav-submenu {
  display: grid;
  gap: 3px;
  padding-left: 18px;
}

.nav-sublink {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 8px 12px;
  border-left: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 14px;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.nav-sublink .material-symbols-outlined {
  font-size: 20px;
}

.nav-sublink:hover,
.nav-sublink.is-active {
  background: color-mix(in srgb, var(--primary-soft) 70%, transparent);
  border-left-color: var(--primary);
  color: var(--primary);
}

.app-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  min-width: 0;
  margin-left: var(--sidebar-width);
}

.app-navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: var(--navbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  background: var(--bg-navbar);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

.navbar-left,
.navbar-actions,
.user-chip,
.auth-row,
.check-row,
.stat-card__top,
.page-heading,
.action-strip,
.action-strip__buttons {
  display: flex;
  align-items: center;
}

.navbar-left,
.navbar-actions {
  gap: 12px;
  min-width: 0;
}

.notification-popover {
  position: relative;
}

.notification-button {
  position: relative;
}

.notification-button--nomor-surat {
  color: var(--warning);
}

.notification-button--nomor-surat:hover {
  border-color: color-mix(in srgb, var(--warning) 42%, var(--border-color));
  background: var(--warning-soft);
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--danger);
  color: var(--text-inverse);
  font-size: 11px;
  font-weight: 800;
}

.notification-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  width: min(340px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  box-shadow: var(--shadow-popover);
}

.notification-panel__header,
.notification-empty,
.notification-item {
  padding: 12px 14px;
}

.notification-panel__header {
  border-bottom: 1px solid var(--border-color);
}

.notification-panel__header strong,
.notification-item strong {
  display: block;
  color: var(--text-main);
}

.notification-panel__header small,
.notification-item small,
.notification-empty {
  color: var(--text-muted);
}

.notification-item {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid var(--border-color);
  transition: background 160ms ease, color 160ms ease;
}

.notification-item:last-child {
  border-bottom: 0;
}

.notification-item:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.navbar-title {
  color: var(--text-main);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.user-chip {
  gap: 10px;
  padding: 6px 10px 6px 6px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: var(--bg-card);
  color: inherit;
  text-decoration: none;
}

.user-chip--no-avatar {
  padding-left: 14px;
}

.user-chip img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  object-position: center;
  border-radius: 999px;
}

.user-chip strong {
  display: block;
  max-width: 150px;
  overflow: hidden;
  color: var(--text-main);
  font-size: 13px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-main {
  flex: 1 0 auto;
  width: min(100%, var(--content-max));
  margin: 0 auto;
  padding: 24px;
}

.app-footer {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 16px 24px;
  background: var(--bg-navbar);
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 13px;
}

.sidebar-overlay {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: none;
  background: var(--bg-overlay);
}

.icon,
.material-symbols-outlined {
  color: currentColor;
  font-size: 22px;
  line-height: 1;
  vertical-align: middle;
}

.card {
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  color: var(--text-main);
}

.card__header,
.card__body,
.card__footer {
  padding: 18px;
}

.card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border-color);
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.section-title,
.action-strip h2 {
  margin: 0;
  color: var(--text-main);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.section-subtitle,
.action-strip p,
.page-heading p {
  margin: 6px 0 0;
  color: var(--text-muted);
}

.stats-grid,
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.form-span-2 {
  grid-column: span 2;
}

.form-section + .form-section {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border-color);
}

.form-section .section-title {
  margin-bottom: 14px;
}

.switch-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  color: var(--text-main);
  font-weight: 700;
}

.switch-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.switch-row--compact {
  justify-content: flex-start;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-input);
}

.deadline-config-stack {
  display: grid;
  gap: 12px;
}

.deadline-config-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--bg-input);
}

.deadline-config-row__text {
  display: grid;
  gap: 4px;
}

.deadline-config-row__text strong {
  color: var(--text-main);
  font-weight: 800;
}

.deadline-config-row__text span {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.deadline-config-fields {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(120px, .75fr);
  gap: 12px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--border-color);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: var(--bg-muted);
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.25;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled,
.btn[aria-busy="true"] {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.btn.is-loading .material-symbols-outlined {
  animation: sipitung-spin 900ms linear infinite;
}

@keyframes sipitung-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.btn:focus-visible,
.form-control:focus,
.form-select:focus,
.form-textarea:focus {
  outline: 3px solid color-mix(in srgb, var(--primary) 28%, transparent);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-on-primary);
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: var(--text-on-primary);
}

.btn-filter {
  background: var(--filter);
  border-color: var(--filter);
  color: var(--text-on-primary);
}

.btn-filter:hover {
  background: var(--filter-hover);
  border-color: var(--filter-hover);
  color: var(--text-on-primary);
  box-shadow: 0 10px 20px color-mix(in srgb, var(--filter) 22%, transparent);
}

.btn-reset {
  background: var(--reset-soft);
  border-color: color-mix(in srgb, var(--reset) 42%, var(--border-color));
  color: var(--reset);
}

.btn-reset:hover {
  background: color-mix(in srgb, var(--reset) 18%, var(--reset-soft));
  border-color: var(--reset);
  color: var(--reset-hover);
  box-shadow: 0 10px 20px color-mix(in srgb, var(--reset) 18%, transparent);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-main);
}

.btn-success,
.btn-info,
.btn-danger {
  color: var(--text-inverse);
}

.btn-success {
  background: var(--success);
  border-color: var(--success);
}

.btn-info {
  background: var(--info);
  border-color: var(--info);
}

.btn-danger {
  background: var(--danger);
  border-color: var(--danger);
}

.btn-export-pdf {
  background: var(--export-pdf);
  border-color: var(--export-pdf);
  color: #ffffff;
}

.btn-export-excel {
  background: var(--export-excel);
  border-color: var(--export-excel);
  color: #ffffff;
}

.btn-warning {
  background: var(--warning);
  border-color: var(--warning);
  color: #111827;
}

.btn-success:hover,
.btn-success:focus-visible {
  background: color-mix(in srgb, var(--success) 86%, #000);
  border-color: color-mix(in srgb, var(--success) 86%, #000);
  color: var(--text-inverse);
  box-shadow: 0 10px 20px color-mix(in srgb, var(--success) 22%, transparent);
}

.btn-info:hover,
.btn-info:focus-visible {
  background: color-mix(in srgb, var(--info) 86%, #000);
  border-color: color-mix(in srgb, var(--info) 86%, #000);
  color: var(--text-inverse);
  box-shadow: 0 10px 20px color-mix(in srgb, var(--info) 22%, transparent);
}

.btn-danger:hover,
.btn-danger:focus-visible {
  background: color-mix(in srgb, var(--danger) 86%, #000);
  border-color: color-mix(in srgb, var(--danger) 86%, #000);
  color: var(--text-inverse);
  box-shadow: 0 10px 20px color-mix(in srgb, var(--danger) 22%, transparent);
}

.btn-export-pdf:hover,
.btn-export-pdf:focus-visible {
  background: var(--export-pdf-hover);
  border-color: var(--export-pdf-hover);
  color: #ffffff;
  box-shadow: 0 10px 20px color-mix(in srgb, var(--export-pdf) 24%, transparent);
}

.btn-export-excel:hover,
.btn-export-excel:focus-visible {
  background: var(--export-excel-hover);
  border-color: var(--export-excel-hover);
  color: #ffffff;
  box-shadow: 0 10px 20px color-mix(in srgb, var(--export-excel) 24%, transparent);
}

.btn-warning:hover,
.btn-warning:focus-visible {
  background: color-mix(in srgb, var(--warning) 90%, #000);
  border-color: color-mix(in srgb, var(--warning) 90%, #000);
  color: #111827;
  box-shadow: 0 10px 20px color-mix(in srgb, var(--warning) 24%, transparent);
}

.btn-success .material-symbols-outlined,
.btn-success span,
.btn-info .material-symbols-outlined,
.btn-info span,
.btn-danger .material-symbols-outlined,
.btn-danger span,
.btn-export-pdf .material-symbols-outlined,
.btn-export-pdf span,
.btn-export-excel .material-symbols-outlined,
.btn-export-excel span {
  color: var(--text-inverse);
}

.btn-export-pdf .material-symbols-outlined,
.btn-export-pdf span,
.btn-export-excel .material-symbols-outlined,
.btn-export-excel span {
  color: #ffffff;
}

.btn-warning .material-symbols-outlined,
.btn-warning span {
  color: #111827;
}

.btn-soft-success {
  background: var(--success-soft);
  border-color: color-mix(in srgb, var(--success) 42%, var(--border-color));
  color: var(--success);
}

.btn-soft-info {
  background: var(--info-soft);
  border-color: color-mix(in srgb, var(--info) 42%, var(--border-color));
  color: var(--info);
}

.btn-soft-warning {
  background: var(--warning-soft);
  border-color: color-mix(in srgb, var(--warning) 46%, var(--border-color));
  color: var(--warning);
}

.btn-soft-danger {
  background: var(--danger-soft);
  border-color: color-mix(in srgb, var(--danger) 42%, var(--border-color));
  color: var(--danger);
}

.btn-toggle-status,
.btn-icon.btn-toggle-status,
button[title^="Aktifkan"],
button[title^="Nonaktifkan"] {
  border: 1px solid currentColor;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.btn-toggle-status.is-active,
button[title^="Nonaktifkan"] {
  background: var(--success-soft);
  border-color: var(--success);
  color: var(--success);
}

.btn-toggle-status.is-inactive,
button[title^="Aktifkan"] {
  background: var(--danger-soft);
  border-color: var(--danger);
  color: var(--danger);
}

.btn-toggle-status:hover,
button[title^="Aktifkan"]:hover,
button[title^="Nonaktifkan"]:hover {
  box-shadow: 0 8px 18px color-mix(in srgb, currentColor 22%, transparent);
  transform: translateY(-1px);
}

.btn-toggle-status:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none;
}

.btn-icon {
  width: 40px;
  min-width: 40px;
  padding: 0;
}

.btn-sm {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 13px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.required-mark {
  color: var(--danger);
  font-weight: 800;
}

.text-danger {
  color: var(--danger) !important;
}

.text-success {
  color: var(--success) !important;
}

.field-hint {
  color: var(--text-muted);
  font-size: 12px;
}

.field-hint[hidden] {
  display: none;
}

.readonly-box {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 12px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-weight: 700;
}

.form-control,
.form-select,
.form-textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
}

.form-control[type="date"],
.form-control[type="time"] {
  line-height: 1.2;
  color-scheme: light;
}

[data-theme="dark"] .form-control[type="date"],
[data-theme="dark"] .form-control[type="time"] {
  color-scheme: dark;
}

.form-control[type="time"].time-control {
  min-width: 0;
  font-variant-numeric: tabular-nums;
}

.readonly-date-control[readonly] {
  cursor: default;
  caret-color: transparent;
  background: var(--surface-soft);
  text-align: left;
}

.readonly-date-control[readonly]:focus {
  border-color: var(--border-color);
  box-shadow: none;
}

.cuti-date-field {
  position: relative;
}

.cuti-date-field .readonly-date-control {
  padding-right: 44px;
}

.cuti-date-field__icon {
  position: absolute;
  top: 50%;
  right: 13px;
  color: var(--text-muted);
  font-size: 20px;
  pointer-events: none;
  transform: translateY(-50%);
}

.cuti-native-date-input {
  position: absolute;
  inset: auto 0 0 auto;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.input-icon {
  position: relative;
}

.input-icon .material-symbols-outlined {
  position: absolute;
  left: 12px;
  top: 50%;
  color: var(--text-muted);
  font-size: 20px;
  transform: translateY(-50%);
}

.input-icon .form-control {
  padding-left: 42px;
}

.input-icon--action .form-control {
  padding-right: 46px;
}

.password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transform: translateY(-50%);
}

.password-toggle:hover {
  background: var(--bg-muted);
  color: var(--primary);
}

.input-icon .password-toggle .material-symbols-outlined {
  position: static;
  font-size: 20px;
  transform: none;
}

.form-textarea {
  min-height: 112px;
  resize: vertical;
}

.form-control::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.select2-container {
  width: 100% !important;
  color: var(--text-main);
}

.select2-container--default .select2-selection--single {
  min-height: 42px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 6px 38px 6px 12px;
  color: var(--text-main);
  line-height: 28px;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: var(--text-muted);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 8px;
  right: 8px;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
  height: 28px;
  margin-right: 28px;
  color: var(--text-muted);
  font-size: 18px;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--primary);
  outline: 3px solid color-mix(in srgb, var(--primary) 28%, transparent);
  outline-offset: 2px;
}

.select2-dropdown {
  z-index: 10020;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-popover);
  color: var(--text-main);
}

.select2-search--dropdown {
  padding: 8px;
  background: var(--bg-card);
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  min-height: 38px;
  padding: 8px 10px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  outline: none;
}

.select2-container--default .select2-results__option {
  padding: 9px 12px;
  color: var(--text-main);
}

.select2-container--default .select2-results__option--disabled {
  color: var(--text-muted);
}

.select2-container--default .select2-results__option--selected {
  background: var(--primary-soft);
  color: var(--primary);
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background: var(--primary);
  color: var(--text-on-primary);
}

.select2-results__message {
  color: var(--text-muted);
}

.select2-container--open {
  z-index: 10010;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-table);
}

.table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: var(--bg-table);
  color: var(--text-main);
}

.table th,
.table td,
.data-table th,
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
  vertical-align: middle;
}

.table,
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table td small {
  display: block;
  margin-top: 3px;
  color: var(--text-muted);
}

.table-subtext {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.35;
}

.cuti-history-origin {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.table-empty {
  padding: 18px;
  color: var(--text-muted);
  text-align: center;
}

.table th,
.data-table th {
  background: var(--bg-muted);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.table tbody tr:nth-child(even) td,
.data-table tbody tr:nth-child(even) td {
  background: color-mix(in srgb, var(--bg-muted) 42%, transparent);
}

.table tbody tr:hover td,
.data-table tbody tr:hover td {
  background: color-mix(in srgb, var(--primary-soft) 54%, var(--bg-table));
}

.table tr:last-child td,
.data-table tr:last-child td {
  border-bottom: 0;
}

.table-col-no {
  width: 54px;
  min-width: 54px;
  text-align: center !important;
  white-space: nowrap;
}

.table-sort-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.table-sort-link .material-symbols-outlined {
  font-size: 17px;
  line-height: 1;
}

.table-sort-link:hover,
.table-sort-link.is-active {
  color: var(--primary);
}

.nomor-massal-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  margin-top: 8px;
  padding: 5px 9px;
  border: 1px solid color-mix(in srgb, var(--primary) 34%, var(--border-color));
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary-soft) 78%, var(--bg-table));
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.nomor-massal-chip:hover {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary-soft) 62%, var(--bg-table));
  color: var(--primary-strong);
  transform: translateY(-1px);
}

.nomor-massal-chip .material-symbols-outlined {
  font-size: 17px;
  line-height: 1;
}

.toolbar-form {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px auto;
  gap: 14px;
  align-items: end;
}

.toolbar-form--two-dates {
  grid-template-columns: minmax(240px, 1fr) 170px 170px auto;
}

.toolbar-form__actions {
  display: flex;
  gap: 8px;
}

.toolbar-form__actions .btn {
  white-space: nowrap;
}

.page-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  width: fit-content;
  padding: 5px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-table);
}

.page-tabs__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: calc(var(--radius-sm) - 3px);
  color: var(--text-muted);
  font-weight: 800;
  text-decoration: none;
}

.page-tabs__item:hover,
.page-tabs__item.is-active {
  background: var(--primary-soft);
  color: var(--primary);
}

.page-tabs__item .material-symbols-outlined {
  font-size: 19px;
}

.cuti-report-filter {
  display: grid;
  gap: 16px;
}

.report-filter-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(280px, 1fr);
  gap: 16px;
  align-items: stretch;
}

.report-filter-periods,
.report-period-panels {
  display: grid;
  gap: 10px;
}

.report-period-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.report-period-option {
  position: relative;
  min-height: 74px;
  cursor: pointer;
}

.report-period-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.report-period-option span {
  display: grid;
  gap: 3px;
  height: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-input);
  color: var(--text-main);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.report-period-option strong {
  font-size: 0.95rem;
}

.report-period-option small {
  color: var(--text-muted);
  line-height: 1.35;
}

.report-period-option input:checked + span {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.report-period-option input:focus-visible + span {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.report-period-panels {
  align-content: start;
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-table);
}

.report-period-panel {
  display: none;
}

.report-filter-layout:has(input[name="periode"][value="tanggal"]:checked) .report-period-panel--tanggal,
.report-filter-layout:has(input[name="periode"][value="bulan"]:checked) .report-period-panel--bulan,
.report-filter-layout:has(input[name="periode"][value="tahun"]:checked) .report-period-panel--tahun,
.report-filter-layout:has(input[name="periode"][value="rentang"]:checked) .report-period-panel--rentang,
.report-period-panel.is-active {
  display: block;
}

.report-filter-extra {
  display: grid;
  grid-template-columns: 190px 180px minmax(260px, 1fr) 120px;
  gap: 14px;
  align-items: end;
}

.report-filter-search {
  min-width: 0;
}

.cuti-history-filter-card {
  padding: 16px;
}

.cuti-history-filter-card .toolbar-form {
  grid-template-columns: minmax(280px, 1fr) 128px auto;
  gap: 12px;
  align-items: end;
}

.cuti-history-filter-card .form-label {
  font-weight: 800;
}

.cuti-history-filter-card .toolbar-form__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(112px, 1fr));
  gap: 8px;
  min-width: 236px;
}

.cuti-history-filter-card .toolbar-form__actions .btn {
  width: 100%;
  justify-content: center;
}

.cuti-history-actions {
  flex-wrap: nowrap;
}

.cuti-history-actions .btn {
  min-height: 34px;
  padding-inline: 10px;
}

.confirmation-list {
  display: grid;
  gap: 10px;
}

.confirmation-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.confirmation-stats--single {
  grid-template-columns: minmax(260px, 360px);
}

.confirmation-stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.confirmation-stat-card > .material-symbols-outlined {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
}

.confirmation-stat-card--total > .material-symbols-outlined {
  background: var(--info-soft);
  color: var(--info);
}

.confirmation-stat-card div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.confirmation-stat-card strong {
  color: var(--text-main);
  font-size: 1.6rem;
  line-height: 1;
}

.confirmation-stat-card span:not(.material-symbols-outlined) {
  color: var(--text-muted);
  font-weight: 700;
}

.confirmation-section__summary {
  cursor: pointer;
  list-style: none;
}

.confirmation-section__summary::-webkit-details-marker {
  display: none;
}

.confirmation-section__chevron {
  color: var(--text-muted);
  transition: transform 0.18s ease;
}

.confirmation-section:not([open]) .confirmation-section__chevron {
  transform: rotate(-90deg);
}

.confirmation-toolbar {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.confirmation-toolbar .toolbar-form__actions {
  border-top: 0;
  padding-top: 0;
}

.confirmation-toolbar .toolbar-form__actions .btn {
  justify-content: center;
}

.confirmation-bulk-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--success) 28%, var(--border-color));
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--success-soft) 72%, var(--bg-card));
}

.confirmation-bulk-action > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.confirmation-bulk-action strong {
  color: var(--text-main);
}

.confirmation-bulk-action span {
  color: var(--text-muted);
  line-height: 1.45;
}

.confirmation-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-muted);
}

.confirmation-item__main {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.confirmation-item__title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.confirmation-item strong {
  color: var(--text-main);
}

.confirmation-item span {
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.confirmation-item__deadline {
  display: inline-flex;
  width: fit-content;
  padding: 4px 8px;
  border: 1px solid color-mix(in srgb, var(--warning) 35%, var(--border-color));
  border-radius: var(--radius-sm);
  background: var(--warning-soft);
  color: var(--warning-strong, var(--warning)) !important;
  font-weight: 700;
}

.confirmation-item .btn span,
.confirmation-item .btn .material-symbols-outlined {
  color: inherit;
}

.confirmation-item .btn-primary,
.confirmation-item .btn-primary:hover,
.confirmation-item .btn-primary:focus-visible {
  color: var(--text-on-primary);
}

.btn-cuti-approve {
  background: var(--success);
  border-color: var(--success);
  color: var(--text-inverse);
}

.btn-cuti-approve span,
.btn-cuti-approve .material-symbols-outlined,
.btn-cuti-reject:hover span,
.btn-cuti-reject:hover .material-symbols-outlined,
.btn-cuti-reject:focus-visible span,
.btn-cuti-reject:focus-visible .material-symbols-outlined {
  color: var(--text-inverse);
}

.btn-cuti-approve:hover,
.btn-cuti-approve:focus-visible {
  background: color-mix(in srgb, var(--success) 86%, #000);
  border-color: color-mix(in srgb, var(--success) 86%, #000);
  color: var(--text-inverse);
  box-shadow: 0 10px 20px color-mix(in srgb, var(--success) 22%, transparent);
}

.btn-cuti-reject {
  background: var(--danger-soft);
  border-color: color-mix(in srgb, var(--danger) 42%, var(--border-color));
  color: var(--danger);
}

.btn-cuti-reject span,
.btn-cuti-reject .material-symbols-outlined {
  color: var(--danger);
}

.btn-cuti-reject:hover,
.btn-cuti-reject:focus-visible {
  background: var(--danger);
  border-color: var(--danger);
  color: var(--text-inverse);
  box-shadow: 0 10px 20px color-mix(in srgb, var(--danger) 22%, transparent);
}

.cuti-history-modal {
  width: min(860px, 100%);
}

.cuti-history-modal--with-side {
  width: min(1240px, 100%);
}

.pegawai-cuti-progress-modal {
  width: min(820px, 100%);
}

.pegawai-cuti-progress-current {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--info) 38%, var(--border-color));
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--info-soft) 58%, var(--bg-card));
}

.pegawai-cuti-progress-current > .material-symbols-outlined {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--info);
}

.pegawai-cuti-progress-current div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.pegawai-cuti-progress-current small {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.pegawai-cuti-progress-current strong {
  color: var(--text-main);
  overflow-wrap: anywhere;
}

.pegawai-cuti-progress-detail {
  margin-bottom: 16px;
}

.pegawai-cuti-progress-flow {
  margin-top: 0;
}

.cuti-confirmation-modal {
  display: flex;
  flex-direction: column;
  max-height: min(760px, calc(100vh - 40px));
  max-height: min(760px, calc(100dvh - 40px));
}

.cuti-confirmation-modal > .modal__header {
  flex: 0 0 auto;
}

.cuti-confirmation-modal > .modal__header > div {
  min-width: 0;
}

.cuti-confirmation-modal > .modal__header .section-title,
.cuti-confirmation-modal > .modal__header .section-subtitle {
  overflow-wrap: anywhere;
}

.cuti-confirmation-modal > .modal__header .btn-icon {
  flex: 0 0 40px;
}

.cuti-confirmation-form {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

.cuti-confirmation-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overscroll-behavior: contain;
}

.cuti-confirmation-actions {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  flex-wrap: wrap;
  margin: 0;
  padding: 14px 18px;
  background: var(--bg-card);
  box-shadow: 0 -8px 20px color-mix(in srgb, var(--text-main) 7%, transparent);
}

.cuti-confirmation-actions .btn {
  flex: 0 1 auto;
  min-width: 128px;
}

.cuti-postpone-notice {
  margin-top: 8px;
}

.handover-confirm-card {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--border-color));
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--primary-soft) 30%, var(--bg-card));
}

.handover-confirm-card--review {
  margin-top: 18px;
  margin-bottom: 4px;
}

.handover-confirm-card--approval {
  margin-top: 16px;
}

.handover-confirm-card__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--primary);
  border: 1px solid color-mix(in srgb, var(--primary) 18%, var(--border-color));
}

.handover-confirm-card__icon .material-symbols-outlined {
  font-size: 22px;
}

.handover-confirm-card__body {
  display: grid;
  gap: 6px;
}

.handover-confirm-card__body > strong {
  font-size: 15px;
}

.handover-confirm-card__body > p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.45;
}

.handover-confirm-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.handover-confirm-card__actions .btn {
  gap: 6px;
}

.handover-confirm-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 11px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  cursor: pointer;
}

.handover-confirm-check input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--primary);
  flex: 0 0 auto;
}

.cuti-history-status-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-muted);
}

.cuti-history-status-panel > div {
  display: grid;
  gap: 4px;
}

.cuti-history-status-panel span:first-child {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.cuti-history-status-panel strong {
  font-size: 22px;
  line-height: 1.15;
}

.cuti-history-status-panel p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.45;
}

.cuti-history-status-panel > .material-symbols-outlined {
  flex: 0 0 auto;
  font-size: 42px;
}

.cuti-history-status-panel--success {
  border-color: var(--success);
  background: var(--success-soft);
  color: var(--success);
}

.cuti-history-status-panel--danger {
  border-color: var(--danger);
  background: var(--danger-soft);
  color: var(--danger);
}

.cuti-history-status-panel--warning {
  border-color: var(--warning);
  background: var(--warning-soft);
  color: var(--warning);
}

.cuti-history-status-panel--info {
  border-color: var(--info);
  background: var(--info-soft);
  color: var(--info);
}

.cuti-history-status-panel--muted {
  color: var(--text-main);
}

.cuti-history-status-panel--success p,
.cuti-history-status-panel--danger p,
.cuti-history-status-panel--warning p,
.cuti-history-status-panel--info p {
  color: color-mix(in srgb, currentColor 78%, var(--text-main));
}

.cuti-history-detail-layout {
  display: grid;
  gap: 16px;
}

.cuti-confirm-modal-layout {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(360px, .54fr);
  gap: 16px;
  align-items: start;
}

.cuti-confirm-modal-layout--single {
  grid-template-columns: 1fr;
}

.cuti-confirm-modal-main {
  min-width: 0;
}

.cuti-confirm-history-side {
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-muted);
}

.cuti-confirm-history-side__head {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.cuti-confirm-history-side__head .material-symbols-outlined {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
}

.cuti-confirm-history-side__head h3 {
  margin: 0;
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.25;
}

.cuti-confirm-history-side__head p {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.45;
}

.cuti-confirm-history-side__quota {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin-top: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(22, 163, 74, .12);
  color: var(--success);
  font-size: 12px;
  line-height: 1.2;
}

.cuti-confirm-history-list {
  display: grid;
  gap: 10px;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 4px;
}

.cuti-confirm-history-item {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
}

.cuti-confirm-history-item strong,
.cuti-confirm-history-item span,
.cuti-confirm-history-item small {
  display: block;
}

.cuti-confirm-history-item strong {
  color: var(--text-main);
  line-height: 1.35;
}

.cuti-confirm-history-item span,
.cuti-confirm-history-item small {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.4;
}

.cuti-confirm-history-item small {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.cuti-confirm-history-item small em.badge {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 22px;
  padding: 3px 8px;
  font-size: 11px;
  font-style: normal;
}

.cuti-confirm-history-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 18px 12px;
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-muted);
  text-align: center;
}

.cuti-confirm-history-empty p {
  max-width: 240px;
  margin: 0;
  line-height: 1.5;
}

.cuti-history-period-card {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: 10px;
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--primary) 40%, var(--border-color));
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--primary-soft) 34%, var(--bg-card));
}

.cuti-history-period-card__range {
  display: grid;
  align-content: center;
  gap: 5px;
}

.cuti-history-period-card span,
.cuti-history-detail-section h3 {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.cuti-history-period-card__range strong {
  color: var(--text-main);
  font-size: 18px;
  line-height: 1.2;
}

.cuti-history-period-range {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.cuti-history-period-range strong {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
}

.cuti-history-period-range .material-symbols-outlined {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--text-on-primary);
  font-size: 18px;
}

.cuti-history-period-card__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.cuti-history-period-card__meta div {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
}

.cuti-history-period-card__meta strong {
  color: var(--text-main);
}

.cuti-history-detail-section {
  display: grid;
  gap: 8px;
}

.cuti-history-detail-section h3 {
  margin: 0;
}

.cuti-history-detail-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.cuti-history-detail-list div {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-muted);
}

.cuti-history-detail-list div:nth-child(2n) {
  border-right: 0;
}

.cuti-history-detail-list div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.cuti-history-detail-list--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cuti-history-detail-list--three div:nth-child(2n) {
  border-right: 1px solid var(--border-color);
}

.cuti-history-detail-list--three div:nth-child(3n) {
  border-right: 0;
}

.cuti-history-detail-list--three div {
  border-bottom: 0;
}

.cuti-history-detail-list span,
.cuti-history-modal__notes span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.cuti-history-detail-list strong {
  color: var(--text-main);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.cuti-history-user-text {
  text-transform: capitalize;
}

.cuti-history-modal__notes {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.cuti-history-flow {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}

.cuti-history-flow__header,
.cuti-history-flow__summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.cuti-history-flow__summary {
  cursor: pointer;
  list-style: none;
  margin-bottom: 0;
}

.cuti-history-flow[open] .cuti-history-flow__summary {
  margin-bottom: 12px;
}

.cuti-history-flow__summary::-webkit-details-marker {
  display: none;
}

.cuti-history-flow__header h3,
.cuti-history-flow__summary h3 {
  margin: 0;
  font-size: 16px;
}

.cuti-history-flow__header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

.cuti-history-flow__summary span {
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.cuti-history-flow__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}

.cuti-history-flow__step {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
}

.cuti-history-flow__step span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
}

.cuti-history-flow__step strong {
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.45;
}

.cuti-history-flow__note {
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1px dashed color-mix(in srgb, var(--border-color) 76%, transparent);
  color: var(--text-muted);
  line-height: 1.45;
}

.cuti-history-flow__step--success {
  border-color: var(--success);
  background: var(--success-soft);
}

.cuti-history-flow__step--success strong {
  color: var(--success);
}

.cuti-history-flow__step--danger {
  border-color: var(--danger);
  background: var(--danger-soft);
}

.cuti-history-flow__step--danger strong {
  color: var(--danger);
}

.cuti-history-flow__step--warning {
  border-color: var(--warning);
  background: var(--warning-soft);
}

.cuti-history-flow__step--warning strong {
  color: var(--warning);
}

.cuti-history-flow__step--info {
  border-color: var(--info);
  background: var(--info-soft);
}

.cuti-history-flow__step--info strong {
  color: var(--info);
}

.cuti-history-stt-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--primary) 34%, var(--border-color));
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--primary-soft) 76%, var(--bg-card));
}

.cuti-history-stt-card__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary);
}

.cuti-history-stt-card__body {
  min-width: 0;
}

.cuti-history-stt-card__body strong {
  color: var(--text-main);
  font-size: 15px;
}

.cuti-history-stt-card__body p {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.45;
}

.cuti-history-stt-card .btn {
  min-height: 38px;
  white-space: nowrap;
}

.cuti-history-stt-card__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.cuti-history-modal__notes div {
  padding: 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}

.cuti-history-modal__notes p {
  margin: 6px 0 0;
  color: var(--text-main);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}

.kuota-cuti-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kuota-cuti-filter-card .toolbar-form {
  grid-template-columns: minmax(260px, 1fr) 120px 120px auto;
}

.legacy-sync-source {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 10px 12px;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.legacy-sync-source strong {
  display: block;
  color: var(--text-main);
}

.legacy-sync-audit {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}

.legacy-sync-audit__item {
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
}

.legacy-sync-audit__item span,
.legacy-sync-audit__item small {
  display: block;
  color: var(--text-muted);
}

.legacy-sync-audit__item span {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.legacy-sync-audit__item strong {
  display: block;
  margin-top: 5px;
  color: var(--text-main);
  font-size: 18px;
}

.legacy-sync-audit__item small {
  margin-top: 5px;
  line-height: 1.45;
}

.legacy-sync-steps {
  display: grid;
  gap: 12px;
}

.legacy-sync-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}

.legacy-sync-step.is-active {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.legacy-sync-step.is-done {
  border-color: color-mix(in srgb, var(--success) 45%, var(--border-color));
  background: color-mix(in srgb, var(--success-soft) 24%, var(--bg-card));
}

.legacy-sync-step__number {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--bg-muted);
  color: var(--text-main);
  font-weight: 900;
}

.legacy-sync-step.is-active .legacy-sync-step__number {
  background: var(--primary);
  color: var(--text-inverse);
}

.legacy-sync-step.is-done .legacy-sync-step__number {
  background: var(--success);
  color: var(--text-inverse);
}

.legacy-sync-step__title {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.legacy-sync-step p {
  margin: 6px 0 0;
  color: var(--text-muted);
}

.legacy-sync-result {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.legacy-sync-result span {
  padding: 5px 8px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
  color: var(--text-muted);
  font-size: 12px;
}

.legacy-sync-check {
  color: var(--success);
}

.personal-quota-card {
  overflow: hidden;
}

.personal-quota-card__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border: 0;
  background: var(--success);
  color: var(--text-inverse);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.personal-quota-card__header h2 {
  margin: 0;
  color: var(--text-inverse);
  font-size: 18px;
  font-weight: 900;
}

.personal-quota-card__header .material-symbols-outlined {
  color: var(--text-inverse);
}

.personal-quota-table {
  min-width: 980px;
  border-collapse: collapse;
  border: 1px solid var(--border-color);
  table-layout: fixed;
}

.personal-quota-table th,
.personal-quota-table td {
  border: 1px solid var(--border-color);
  padding: 10px 8px;
  font-size: 13px;
  line-height: 1.25;
  text-align: center;
  vertical-align: middle;
}

.personal-quota-table th {
  background: var(--bg-muted);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.personal-quota-table tbody tr:nth-child(even) td {
  background: color-mix(in srgb, var(--bg-muted) 42%, transparent);
}

.personal-quota-table__group {
  border-bottom-color: var(--border-strong) !important;
  background: color-mix(in srgb, var(--primary-soft) 44%, var(--bg-muted)) !important;
  color: var(--text-main) !important;
}

.personal-quota-table__year {
  width: 78px;
}

.personal-quota-table th span {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: none;
}

.personal-quota-table__total td {
  color: var(--text-main);
  font-weight: 900;
  border-top: 1px solid var(--text-main);
}

.badge-muted {
  background: var(--bg-muted);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.pcb-source-card .card__body {
  padding-top: 0;
}

.pcb-source-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.pcb-source-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
}

.pcb-source-item__top,
.pcb-source-item__meta {
  display: grid;
  gap: 10px;
}

.pcb-source-item__top {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.pcb-source-item__top span,
.pcb-source-item__meta span,
.pcb-source-item__note {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.35;
}

.pcb-source-item__top strong,
.pcb-source-item__meta strong {
  display: block;
  margin-top: 3px;
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.3;
}

.pcb-source-item__meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pcb-source-item__meta div {
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xs);
  background: var(--bg-card);
}

.pcb-source-item__note {
  margin: 0;
}

.cuti-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  margin-bottom: 6px;
}

.cuti-status-badge .material-symbols-outlined {
  font-size: 16px;
  line-height: 1;
}

.cuti-status-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
}

.cuti-deadline-alert {
  align-items: flex-start;
}

.cuti-deadline-list {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.cuti-deadline-item {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid color-mix(in srgb, var(--warning) 45%, var(--border-color));
  border-radius: var(--radius-xs);
  background: color-mix(in srgb, var(--warning-soft) 72%, var(--bg-card));
  color: var(--text-main);
  font-size: 13px;
  line-height: 1.35;
}

.cuti-deadline-item__main {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.cuti-deadline-item__main strong {
  font-size: 13px;
}

.cuti-deadline-item__main small {
  color: var(--text-muted);
  font-weight: 700;
}

.cuti-deadline-item__due {
  display: grid;
  align-content: center;
  gap: 2px;
  min-width: 170px;
  padding: 8px 10px;
  border: 1px solid color-mix(in srgb, var(--danger) 42%, var(--border-color));
  border-radius: var(--radius-xs);
  background: color-mix(in srgb, var(--danger-soft) 82%, var(--bg-card));
  color: var(--danger);
  text-align: center;
}

.cuti-deadline-item__due span {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.cuti-deadline-item__due strong {
  color: var(--danger);
  font-size: 14px;
}

.dashboard-deadline-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--warning) 45%, var(--border-color));
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--warning-soft) 72%, var(--bg-card));
  color: var(--text-main);
  font-size: 13px;
  line-height: 1.35;
}

.dashboard-deadline-note .material-symbols-outlined {
  color: var(--warning);
  font-size: 18px;
}

.cuti-status-note .material-symbols-outlined {
  font-size: 18px;
}

.cuti-status-note--rejected {
  color: var(--danger);
}

.cuti-pdf-button {
  display: inline-flex;
  width: fit-content;
}

.cuti-pdf-button .material-symbols-outlined {
  font-size: 18px;
}

.table-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.table-filter-inline {
  flex: 1 1 620px;
  max-width: 760px;
  grid-template-columns: minmax(220px, 1fr) 112px auto;
  gap: 10px;
}

.table-filter-inline .form-label {
  font-size: 0.72rem;
}

.table-filter-inline .form-control,
.table-filter-inline .form-select {
  min-height: 38px;
}

.table-filter-inline .toolbar-form__actions {
  align-items: end;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.table-meta {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 12px;
}

.table-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.table-actions form {
  margin: 0;
}

.table-actions .btn-icon {
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.table-actions .btn-icon:hover {
  box-shadow: 0 8px 18px color-mix(in srgb, currentColor 18%, transparent);
}

.action-hover-view:hover {
  background: var(--info-soft);
  border-color: var(--info);
  color: var(--info);
}

.action-hover-edit:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--primary);
}

.danger-hover:hover {
  background: var(--danger-soft);
  border-color: var(--danger);
  color: var(--danger);
}

.table-pagination {
  margin: 0;
  padding: 16px 18px 20px;
  border-top: 1px solid var(--border-color);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.badge-compact {
  min-height: 16px;
  padding: 1px 6px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .02em;
}

.badge-primary { background: var(--primary-soft); color: var(--primary); }
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-warning { background: var(--warning-soft); color: var(--warning); }
.badge-info { background: var(--info-soft); color: var(--info); }
.badge-neutral { background: var(--bg-muted); color: var(--text-muted); }

.alert {
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--text-main);
}

.alert-success { background: var(--success-soft); color: var(--success); border-color: color-mix(in srgb, var(--success) 24%, transparent); }
.alert-danger { background: var(--danger-soft); color: var(--danger); border-color: color-mix(in srgb, var(--danger) 24%, transparent); }
.alert-warning { background: var(--warning-soft); color: var(--warning); border-color: color-mix(in srgb, var(--warning) 24%, transparent); }
.alert-info { background: var(--info-soft); color: var(--info); border-color: color-mix(in srgb, var(--info) 24%, transparent); }

.cuti-form-notes {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.cuti-form-notes ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-main);
}

.cuti-form-notes li {
  line-height: 1.45;
}

.cuti-quota-override {
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--border-color));
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--primary-soft) 45%, var(--bg-card));
}

.cuti-quota-override__header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 12px;
}

.cuti-quota-override__header .form-label {
  margin-bottom: 0;
}

.cuti-quota-override__header .field-hint {
  display: block;
}

.cuti-quota-override__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.45;
}

.cuti-quota-override__note .material-symbols-outlined {
  color: var(--primary);
  font-size: 18px;
}

.swal-detail-list {
  display: grid;
  gap: 8px;
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--text-main);
  text-align: left;
}

.swal-detail-list li {
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.dropdown,
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-popover);
  color: var(--text-main);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: var(--bg-overlay);
}

.modal {
  width: min(980px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: hidden;
}

.modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--border-color);
}

.modal__body {
  max-height: calc(100vh - 160px);
  overflow: auto;
  padding: 18px;
}

.approval-modal__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 18px;
}

.approval-modal__side {
  display: grid;
  align-content: start;
  gap: 16px;
}

.cuti-cancel-modal {
  width: min(620px, 100%);
}

.cuti-cancel-modal .modal__header h2 {
  margin: 0 0 4px;
  font-size: 20px;
}

.cuti-cancel-modal .modal__header p {
  margin: 0;
  color: var(--text-muted);
}

.cuti-cancel-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.cuti-cancel-summary > div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
}

.cuti-cancel-summary span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.cuti-cancel-summary strong {
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .cuti-cancel-summary {
    grid-template-columns: 1fr;
  }
}

.compact-list--boxed {
  padding: 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-muted);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-main);
}

.page-link.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-on-primary);
}

.page-link.is-disabled {
  pointer-events: none;
  opacity: 0.45;
}

.page-link--ellipsis {
  border-color: transparent;
  background: transparent;
  color: var(--text-muted);
}

.page-link--control .material-symbols-outlined {
  font-size: 20px;
}

.empty-state,
.loading-state {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 24px;
  color: var(--text-muted);
  text-align: center;
}

.text-muted {
  color: var(--text-muted);
}

.text-primary {
  color: var(--primary);
}

.auth-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary-soft) 38%, transparent), transparent 42%),
    radial-gradient(circle at top right, color-mix(in srgb, var(--info-soft) 42%, transparent), transparent 34%),
    var(--bg-body);
}

.auth-panel {
  width: min(100%, 420px);
}

.auth-brand {
  margin-bottom: 24px;
  text-align: center;
}

.auth-logo {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
}

.auth-brand h1 {
  margin: 0;
  font-size: 30px;
}

.auth-brand p {
  margin: 8px 0 0;
  color: var(--text-muted);
}

.auth-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  background: color-mix(in srgb, var(--bg-card) 92%, transparent);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-popover);
  backdrop-filter: blur(12px);
}

.auth-card__header h2 {
  margin: 14px 0 0;
  color: var(--text-main);
  font-size: 24px;
  font-weight: 800;
}

.auth-card__header p {
  margin: 6px 0 0;
  color: var(--text-muted);
}

.auth-row {
  justify-content: space-between;
  gap: 12px;
  color: var(--text-muted);
  font-size: 13px;
}

.check-row {
  gap: 8px;
}

.check-row input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

.auth-submit {
  width: 100%;
}

.login-portal {
  color-scheme: light;
  min-height: 100svh;
  padding: clamp(10px, 2.4vw, 24px);
  background:
    radial-gradient(circle at 12% 18%, rgba(37, 99, 235, .16), transparent 34%),
    radial-gradient(circle at 100% 5%, rgba(124, 58, 237, .18), transparent 32%),
    linear-gradient(135deg, #eef4ff 0%, #f8fbff 48%, #e0f2fe 100%);
}

.login-portal,
.login-portal * {
  color-scheme: light;
}

.login-portal__shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(440px, .96fr);
  gap: clamp(20px, 3.2vw, 44px);
  align-items: center;
  width: min(1180px, 100%);
  min-height: calc(100svh - clamp(20px, 4.8vw, 48px));
  margin: 0 auto;
  padding: clamp(22px, 3.2vw, 38px);
  overflow: hidden;
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 30px;
  box-shadow: 0 28px 80px rgba(37, 99, 235, .14);
}

.login-portal__shell::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: min(360px, 38vw);
  aspect-ratio: 1;
  background: rgba(99, 102, 241, .14);
  border-bottom-left-radius: 999px;
  pointer-events: none;
}

.login-portal__intro,
.login-portal__card {
  position: relative;
  z-index: 1;
}

.login-portal__intro {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.login-portal__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 9px 16px;
  color: #2563eb;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(37, 99, 235, .12);
  font-weight: 800;
}

.login-portal__badge .material-symbols-outlined {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border-radius: 999px;
}

.login-portal__brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.login-portal__brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  padding: 7px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, .1);
}

.login-portal__brand h1 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(29px, 3vw, 40px);
  line-height: 1;
}

.login-portal__brand p {
  max-width: 520px;
  margin: 6px 0 0;
  color: #64748b;
  font-weight: 700;
  line-height: 1.55;
}

.login-portal__visual {
  position: relative;
  width: min(360px, 100%);
  min-height: 244px;
  margin: 2px auto 0;
}

.login-portal__glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: .9;
  pointer-events: none;
  animation: loginGlowPulse 5.8s ease-in-out infinite;
}

.login-portal__glow--one {
  inset: 10% auto auto 8%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(14, 165, 233, .22), rgba(14, 165, 233, 0) 68%);
}

.login-portal__glow--two {
  right: 2%;
  bottom: 6%;
  width: 216px;
  height: 216px;
  background: radial-gradient(circle, rgba(124, 58, 237, .18), rgba(124, 58, 237, 0) 68%);
}

.login-portal__orbit,
.login-portal__orbit-icon {
  position: absolute;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border: 1px solid rgba(191, 219, 254, .92);
  border-radius: 24px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, .1);
  backdrop-filter: blur(14px);
}

.login-portal__orbit {
  top: 50%;
  left: 50%;
  width: 112px;
  height: 112px;
  border-radius: 30px;
  box-shadow: 0 26px 58px rgba(37, 99, 235, .22);
  transform: translate(-50%, -50%) rotate(45deg);
}

.login-portal__orbit::before {
  content: "";
  position: absolute;
  inset: -36px;
  border: 2px dashed rgba(96, 165, 250, .38);
  border-radius: 999px;
  animation: loginOrbitSpin 42s linear infinite;
}

.login-portal__orbit .material-symbols-outlined {
  font-size: 42px;
  transform: rotate(-45deg);
}

.login-portal__orbit-icon {
  width: 58px;
  height: 58px;
  background: rgba(255, 255, 255, .92);
  color: #2563eb;
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(37, 99, 235, .14);
  animation: loginIconFloat 4.8s ease-in-out infinite;
}

.login-portal__orbit-icon .material-symbols-outlined {
  font-size: 28px;
}

.login-portal__orbit-icon--cuti {
  top: 14px;
  left: 50%;
  --login-icon-transform: translateX(-50%);
  transform: var(--login-icon-transform);
}

.login-portal__orbit-icon--surtug {
  top: 50%;
  right: 2px;
  animation-delay: -.8s;
  --login-icon-transform: translateY(-50%);
  transform: var(--login-icon-transform);
}

.login-portal__orbit-icon--booking {
  bottom: 14px;
  left: 50%;
  --login-icon-transform: translateX(-50%);
  transform: var(--login-icon-transform);
  animation-delay: -1.6s;
}

.login-portal__orbit-icon--pegawai {
  top: 50%;
  left: 2px;
  --login-icon-transform: translateY(-50%);
  transform: var(--login-icon-transform);
  animation-delay: -2.4s;
}

.login-portal__dots {
  display: flex;
  gap: 9px;
  align-items: center;
  padding-left: 12%;
}

.login-portal__dots span {
  width: 9px;
  height: 9px;
  background: #c7d2fe;
  border-radius: 999px;
}

.login-portal__dots .is-active {
  width: 96px;
  background: linear-gradient(90deg, #0ea5e9, #7c3aed);
}

.login-portal__card {
  display: grid;
  gap: 15px;
  padding: clamp(26px, 2.6vw, 34px);
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(219, 234, 254, .95);
  border-radius: 28px;
  box-shadow: 0 26px 60px rgba(15, 23, 42, .12);
  backdrop-filter: blur(14px);
}

.login-portal__card-header h2 {
  margin: 10px 0 0;
  color: #0f172a;
  font-size: clamp(29px, 2.6vw, 34px);
  line-height: 1.05;
}

.login-portal__card-header p {
  margin: 8px 0 0;
  color: #64748b;
  line-height: 1.55;
}

.login-portal__input .form-control {
  min-height: 52px;
  border-radius: 15px;
}

.login-portal__submit {
  min-height: 52px;
  margin-top: 4px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #0ea5e9, #2563eb 48%, #7c3aed);
  box-shadow: 0 18px 34px rgba(37, 99, 235, .22);
  font-weight: 900;
}

.login-portal__footer {
  color: #64748b;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.login-portal .form-label {
  color: #334155;
}

.login-portal .form-control {
  color: #0f172a;
  background: #ffffff;
  border-color: #cfe0f7;
  box-shadow: none;
}

.login-portal .form-control::placeholder {
  color: #94a3b8;
}

.login-portal .form-control:focus {
  color: #0f172a;
  background: #ffffff;
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .14);
}

.login-portal .input-icon > .material-symbols-outlined {
  color: #64748b;
}

.login-portal .text-primary {
  color: #2563eb;
}

.login-portal .badge-primary {
  color: #2563eb;
  background: #dbeafe;
}

[data-theme="dark"] .login-portal,
[data-theme="dark"] .login-portal__shell,
[data-theme="dark"] .login-portal__card,
[data-theme="dark"] .login-portal__badge,
[data-theme="dark"] .login-portal__brand img,
[data-theme="dark"] .login-portal__orbit-icon {
  color-scheme: light;
}

@keyframes loginOrbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes loginIconFloat {
  0%, 100% {
    transform: var(--login-icon-transform) translate3d(0, 0, 0) scale(1);
  }
  45% {
    transform: var(--login-icon-transform) translate3d(0, -5px, 0) scale(1.018);
  }
  72% {
    transform: var(--login-icon-transform) translate3d(0, 2px, 0) scale(.996);
  }
}

@keyframes loginGlowPulse {
  0%, 100% { transform: scale(1); opacity: .72; }
  50% { transform: scale(1.08); opacity: .95; }
}

.channel-options {
  display: grid;
  gap: 10px;
}

.channel-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 13px;
  background: color-mix(in srgb, var(--bg-input) 94%, var(--primary-soft));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.channel-option:hover,
.channel-option:has(input:checked) {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary-soft) 42%, var(--bg-card));
  box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 14%, transparent);
}

.channel-option input {
  margin-top: 5px;
  accent-color: var(--primary);
}

.channel-option__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-left: -2px;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: var(--radius-md);
}

.channel-option__body {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.channel-option__body strong {
  color: var(--text-main);
  font-size: 14px;
}

.channel-option__body small {
  color: var(--text-muted);
  font-size: 12px;
  word-break: break-word;
}

.channel-option__body em {
  color: var(--text-muted);
  font-size: 12px;
  font-style: normal;
}

.page-heading {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-bottom: 24px;
}

.page-heading > div:first-child {
  min-width: 0;
}

.page-heading .action-strip__buttons {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
}

.page-heading h1 {
  margin: 12px 0 0;
  color: var(--text-main);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
}

.password-last-login {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 220px;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.password-last-login > .material-symbols-outlined {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: var(--radius-md);
}

.password-last-login div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.password-last-login small {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.password-last-login strong {
  color: var(--text-main);
  font-size: 14px;
}

.dashboard-gap {
  margin-top: 18px;
}

.dashboard-gap-lg {
  margin-top: 28px;
}

.stat-card {
  padding: 18px;
}

.stat-card__top {
  justify-content: space-between;
  gap: 12px;
  color: var(--text-muted);
  font-weight: 700;
}

.stat-card strong {
  display: block;
  margin-top: 14px;
  color: var(--text-main);
  font-size: 34px;
  line-height: 1;
}

.stat-card small {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
}

.action-strip {
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 18px;
}

.dashboard-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.narrow-card {
  max-width: 760px;
}

.profile-grid,
.settings-grid {
  align-items: start;
}

.profile-content-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: start;
}

.settings-grid--policy {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 24px;
  align-items: start;
}

.settings-grid--policy > .card {
  height: 100%;
}

.profile-account-card {
  position: sticky;
  top: calc(var(--navbar-height) + 18px);
}

.profile-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.profile-hero__identity {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.profile-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 28px;
  font-weight: 900;
}

.profile-photo-editor {
  position: relative;
  display: grid;
  justify-items: center;
  flex: 0 0 82px;
  width: 82px;
  gap: 7px;
}

.profile-photo-form {
  display: grid;
  justify-items: center;
  gap: 7px;
  width: 100%;
}

.profile-avatar-shell {
  position: relative;
  width: 72px;
  height: 72px;
}

.profile-avatar--editable {
  position: relative;
  overflow: hidden;
  flex-basis: 72px;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid var(--bg-card);
  box-shadow: 0 0 0 1px var(--border-color);
  font: inherit;
  cursor: pointer;
}

.profile-avatar--editable > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

.profile-avatar__camera {
  position: absolute;
  right: -5px;
  bottom: -5px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  color: var(--text-inverse);
  background: var(--primary);
  border: 2px solid var(--bg-card);
  border-radius: 999px;
  font-size: 15px;
  cursor: pointer;
}

.profile-photo-save {
  width: 100%;
  min-height: 32px;
  padding: 5px 9px;
  font-size: 12px;
}

.profile-photo-save .material-symbols-outlined {
  font-size: 16px;
}

.profile-photo-status {
  width: 150px;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.35;
  text-align: center;
}

.profile-photo-delete {
  position: absolute;
  top: -8px;
  left: -6px;
}

.profile-photo-delete .btn-icon {
  width: 28px;
  height: 28px;
  min-height: 28px;
  color: var(--danger);
  background: var(--bg-card);
}

.profile-photo-delete .material-symbols-outlined {
  font-size: 16px;
}

.profile-photo-view-modal {
  display: flex;
  flex-direction: column;
  width: min(560px, 100%);
}

.profile-photo-view-modal .modal__header h2,
.profile-photo-crop-modal .modal__header h2 {
  margin: 0;
  font-size: 20px;
}

.profile-photo-view-modal .modal__header p,
.profile-photo-crop-modal .modal__header p {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 13px;
}

.profile-photo-view-modal__body {
  display: grid;
  flex: 1 1 auto;
  place-items: center;
  min-height: 0;
  background: var(--bg-muted);
}

.profile-photo-view-modal__body img {
  display: block;
  width: min(400px, 100%);
  max-height: min(58vh, 480px);
  object-fit: contain;
  border-radius: var(--radius-md);
}

.profile-photo-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 18px 18px;
  border-top: 1px solid var(--border-color);
}

.profile-photo-crop-modal {
  display: flex;
  flex-direction: column;
  width: min(500px, 100%);
}

.profile-photo-crop-modal__body {
  display: grid;
  flex: 1 1 auto;
  align-content: start;
  justify-items: center;
  gap: 18px;
  min-height: 0;
}

.profile-photo-crop-stage {
  position: relative;
  width: min(360px, 100%, calc(100vh - 250px));
  aspect-ratio: 1;
  overflow: hidden;
  background: #111827;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.profile-photo-crop-stage:active {
  cursor: grabbing;
}

.profile-photo-crop-stage > img {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  max-width: none;
  pointer-events: none;
  will-change: width, height, transform;
}

.profile-photo-crop-mask {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  box-shadow: 0 0 0 999px rgba(15, 23, 42, 0.52);
  pointer-events: none;
}

.profile-photo-crop-zoom {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 10px;
  width: min(360px, 100%, calc(100vh - 250px));
  color: var(--text-muted);
}

.profile-photo-crop-zoom .material-symbols-outlined {
  font-size: 20px;
}

.profile-photo-crop-zoom input {
  width: 100%;
}

.profile-hero h1 {
  margin: 10px 0 0;
  color: var(--text-main);
  font-size: 30px;
  line-height: 1.15;
}

.profile-hero p {
  margin: 6px 0 0;
  color: var(--text-muted);
}

.profile-hero__meta {
  display: grid;
  gap: 4px;
  min-width: min(260px, 100%);
  padding: 14px;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.profile-hero__meta span,
.profile-mini-card small {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-hero__meta strong,
.profile-mini-card strong {
  color: var(--text-main);
}

.profile-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.profile-mini-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.profile-mini-card .material-symbols-outlined {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
}

.profile-mini-card div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.profile-mini-card strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-paraf-card {
  grid-column: 1 / -1;
}

.master-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
}

.master-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--text-muted);
  font-weight: 800;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.master-tab span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.master-tab:hover,
.master-tab.is-active {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
}

.master-tab .material-symbols-outlined {
  flex: 0 0 auto;
  font-size: 20px;
}

.master-filter-form {
  grid-template-columns: 1fr;
}

.master-filter-form .form-span-2 {
  grid-column: auto;
}

.master-filter-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.master-filter-actions .btn {
  width: 100%;
  min-width: 0;
  padding-inline: 10px;
}

.master-policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.master-policy-card {
  min-width: 0;
  padding: 16px;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.master-policy-card__title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.master-policy-card__title > .material-symbols-outlined {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: var(--radius-md);
}

.master-policy-card h3 {
  margin: 0;
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.25;
}

.master-policy-card p {
  margin: 4px 0 0;
  color: var(--text-muted);
  line-height: 1.45;
}

.master-policy-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.master-policy-card dl > div {
  display: grid;
  gap: 3px;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
}

.master-policy-card dt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--text-main);
  font-weight: 800;
}

.master-policy-card dd {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.45;
}

.policy-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 62px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}

.policy-status--done {
  background: var(--success-soft);
  color: var(--success);
}

.policy-status--partial {
  background: var(--warning-soft);
  color: var(--warning);
}

.policy-status--todo {
  background: var(--danger-soft);
  color: var(--danger);
}

.master-policy-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--text-main);
}

.master-policy-steps li {
  padding-left: 4px;
  line-height: 1.5;
}

.policy-summary-box {
  display: grid;
  gap: 6px;
  min-height: 42px;
  padding: 12px;
  background: var(--primary-soft);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.policy-summary-box strong {
  color: var(--primary);
}

.policy-summary-box span {
  color: var(--text-muted);
  line-height: 1.45;
}

.policy-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.policy-stat-box {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.policy-stat-box span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.policy-stat-box strong {
  color: var(--text-main);
  font-size: 28px;
  line-height: 1;
}

.policy-next-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.policy-next-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 16px;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.policy-next-card h3 {
  margin: 8px 0 0;
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.25;
}

.policy-next-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
}

.form-divider {
  height: 1px;
  margin: 18px 0;
  background: var(--border-color);
}

.card-subsection {
  margin-bottom: 14px;
}

.card-subsection h3 {
  margin: 0;
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.25;
}

.card-subsection p {
  margin: 6px 0 0;
  color: var(--text-muted);
  line-height: 1.5;
}

.color-control {
  width: 100%;
  min-height: 42px;
  padding: 5px 8px;
}

.color-swatch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 110px;
}

.color-swatch i {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--swatch-color, var(--primary));
  border: 2px solid var(--bg-card);
  box-shadow: 0 0 0 1px var(--border-strong), 0 0 0 5px color-mix(in srgb, var(--swatch-color, var(--primary)) 18%, transparent);
}

.dashboard-grid--calendar {
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: start;
}

.dashboard-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 18px;
  align-items: start;
}

.dashboard-side-panel {
  display: grid;
  gap: 18px;
}

.dashboard-kanban,
.dashboard-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.dashboard-board {
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.45fr);
}

.dashboard-board__main,
.dashboard-board__side {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.dashboard-kanban .dashboard-side-card {
  min-width: 0;
  overflow: hidden;
}

.dashboard-board .dashboard-side-card {
  min-width: 0;
  overflow: hidden;
}

.dashboard-tone-card,
.dashboard-kanban-card--cuti {
  position: relative;
  border-color: color-mix(in srgb, var(--dashboard-accent, var(--primary)) 22%, var(--border-color));
  box-shadow:
    inset 0 3px 0 var(--dashboard-accent, var(--primary)),
    var(--shadow-sm);
}

.dashboard-kanban-card--cuti {
  --dashboard-accent: #2563eb;
  --dashboard-accent-soft: #dbeafe;
}

.dashboard-tone-card--surtug {
  --dashboard-accent: #7c3aed;
  --dashboard-accent-soft: #ede9fe;
}

.dashboard-tone-card--confirm {
  --dashboard-accent: #f59e0b;
  --dashboard-accent-soft: #fef3c7;
}

.dashboard-tone-card--personal {
  --dashboard-accent: #06b6d4;
  --dashboard-accent-soft: #cffafe;
}

.dashboard-tone-card--booking {
  --dashboard-accent: #059669;
  --dashboard-accent-soft: #d1fae5;
}

.dashboard-tone-card--birthday {
  --dashboard-accent: #db2777;
  --dashboard-accent-soft: #fce7f3;
}

[data-theme="dark"] .dashboard-kanban-card--cuti {
  --dashboard-accent-soft: color-mix(in srgb, #2563eb 28%, var(--bg-card));
}

[data-theme="dark"] .dashboard-tone-card--surtug {
  --dashboard-accent-soft: color-mix(in srgb, #7c3aed 28%, var(--bg-card));
}

[data-theme="dark"] .dashboard-tone-card--confirm {
  --dashboard-accent-soft: color-mix(in srgb, #f59e0b 25%, var(--bg-card));
}

[data-theme="dark"] .dashboard-tone-card--personal {
  --dashboard-accent-soft: color-mix(in srgb, #06b6d4 24%, var(--bg-card));
}

[data-theme="dark"] .dashboard-tone-card--booking {
  --dashboard-accent-soft: color-mix(in srgb, #059669 25%, var(--bg-card));
}

[data-theme="dark"] .dashboard-tone-card--birthday {
  --dashboard-accent-soft: color-mix(in srgb, #db2777 24%, var(--bg-card));
}

.dashboard-tone-card .card__header,
.dashboard-kanban-card--cuti .card__header {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--dashboard-accent-soft, var(--primary-soft)) 58%, transparent), transparent 70%);
}

.dashboard-feature-card .dashboard-list-item,
.dashboard-assignment-item {
  padding: 14px;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.dashboard-assignment-item {
  display: grid;
  gap: 7px;
}

.dashboard-assignment-list {
  display: grid;
  gap: 10px;
}

.dashboard-assignment-list--scroll {
  max-height: 360px;
  overflow-y: auto;
  padding-right: 4px;
}

.dashboard-assignment-item strong {
  color: var(--text-main);
  line-height: 1.35;
}

.dashboard-assignment-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.dashboard-leave-list {
  display: grid;
  gap: 10px;
}

.dashboard-leave-list--scroll {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: 320px;
  overflow-y: auto;
  padding-right: 4px;
}

.dashboard-leave-item {
  display: grid;
  gap: 3px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.dashboard-leave-list--scroll .dashboard-leave-item {
  min-width: 0;
  padding: 10px 12px;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.dashboard-leave-item:last-child {
  border-bottom: 0;
}

.dashboard-leave-item strong {
  color: var(--text-main);
  line-height: 1.35;
}

.dashboard-leave-item span,
.dashboard-leave-total,
.dashboard-recap-box p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.45;
}

.dashboard-leave-total {
  padding: 12px;
  background: var(--primary-soft);
  border: 1px solid color-mix(in srgb, var(--primary) 26%, var(--border-color));
  border-radius: var(--radius-md);
}

.dashboard-leave-total strong {
  color: var(--primary);
}

.dashboard-more-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  color: var(--text-muted);
  font-size: 13px;
  background: color-mix(in srgb, var(--bg-muted) 76%, var(--bg-card));
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
}

.dashboard-more-row > span {
  min-width: 0;
  font-weight: 700;
}

.dashboard-more-row .btn {
  flex: 0 0 auto;
}

.dashboard-confirmation-card .card__header > .material-symbols-outlined,
.dashboard-tone-card .card__header > .material-symbols-outlined {
  color: var(--dashboard-accent, var(--primary));
  background: var(--dashboard-accent-soft, var(--primary-soft));
}

.dashboard-confirmation-meter {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  color: var(--text-main);
  background: linear-gradient(135deg, var(--warning-soft), color-mix(in srgb, var(--warning-soft) 44%, var(--bg-card)));
  border: 1px solid color-mix(in srgb, var(--warning) 30%, var(--border-color));
  border-radius: var(--radius-md);
}

.dashboard-confirmation-meter strong {
  color: var(--warning);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1;
}

.dashboard-confirmation-meter span {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.dashboard-recap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-recap-box {
  padding: 12px;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.dashboard-recap-box h3 {
  margin: 0 0 8px;
  color: var(--text-main);
  font-size: 13px;
}

.dashboard-recap-box p {
  margin: 0;
}

.dashboard-recap-box p + p {
  margin-top: 5px;
}

.dashboard-recap-box p strong {
  color: var(--text-main);
}

.dashboard-kanban .card__header > .material-symbols-outlined,
.dashboard-board .card__header > .material-symbols-outlined,
.dashboard-kanban-card--cuti .card__header > .material-symbols-outlined {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--dashboard-accent-soft, var(--primary-soft));
  color: var(--dashboard-accent, var(--primary));
}

.dashboard-summary-group {
  display: grid;
  gap: 8px;
  padding: 10px;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.dashboard-summary-group > strong {
  color: var(--text-main);
  font-size: 12px;
  text-transform: uppercase;
}

.dashboard-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dashboard-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  padding: 5px 8px;
  overflow: hidden;
  color: var(--text-main);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 999px;
}

.dashboard-chip strong {
  color: var(--primary);
}

.dashboard-workspace--employee {
  grid-template-columns: 1fr;
}

.dashboard-workspace--employee .dashboard-side-panel {
  grid-row: 1;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.dashboard-workspace--employee .dashboard-calendar-card {
  grid-row: 2;
}

.dashboard-workspace--employee .calendar-day {
  min-height: 82px;
}

.dashboard-workspace--employee .dashboard-scroll-list {
  max-height: 300px;
}

.dashboard-admin-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-info-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.dashboard-info-card .material-symbols-outlined {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
}

.dashboard-info-card--warning .material-symbols-outlined {
  background: var(--warning-soft);
  color: var(--warning);
}

.dashboard-info-card--danger .material-symbols-outlined {
  background: var(--danger-soft);
  color: var(--danger);
}

.dashboard-info-card small {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-info-card strong {
  display: block;
  margin-top: 2px;
  color: var(--text-main);
  font-size: 28px;
  line-height: 1;
}

.holiday-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.55fr);
  gap: 18px;
  align-items: start;
}

.cuti-calendar-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.cuti-calendar-summary--private {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-card {
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 16px;
}

.cuti-calendar-summary--private .metric-card {
  min-height: 92px;
  align-content: start;
}

.cuti-calendar-summary--private .metric-card__value {
  font-size: 26px;
}

.cuti-calendar-summary--private .cuti-summary-list {
  align-content: start;
  max-height: 92px;
  overflow: hidden;
}

.metric-card--clickable {
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.metric-card--clickable:hover,
.metric-card--clickable.is-active {
  border-color: color-mix(in srgb, var(--primary) 46%, var(--border-color));
  box-shadow: 0 12px 24px color-mix(in srgb, var(--primary) 12%, transparent);
  transform: translateY(-1px);
}

.metric-card__label {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.metric-card__value {
  color: var(--text-main);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.metric-card__caption {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

.cuti-summary-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cuti-summary-list > span,
.cuti-summary-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  padding: 5px 8px;
  color: var(--text-main);
  font-size: 12px;
  font-weight: 700;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}

.cuti-summary-chip {
  appearance: none;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.cuti-summary-more {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  max-width: 100%;
  padding: 5px 8px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  background: transparent;
  border: 1px dashed color-mix(in srgb, var(--primary) 45%, var(--border-color));
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.cuti-summary-extra[hidden] {
  display: none;
}

.cuti-summary-more .material-symbols-outlined {
  font-size: 16px;
}

.cuti-summary-more:hover,
.cuti-summary-more:focus-visible {
  background: var(--primary-soft);
  border-style: solid;
  outline: none;
}

.cuti-summary-chip:hover,
.cuti-summary-chip.is-active {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--primary) 16%, transparent);
  transform: translateY(-1px);
}

.cuti-summary-list .table-subtext {
  color: var(--text-muted);
  font-weight: 700;
}

.cuti-legend-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
}

.cuti-legend-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cuti-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  color: var(--text-main);
  font-size: 12px;
  font-weight: 800;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}

.cuti-legend-item i,
.cuti-modal-color {
  width: 10px;
  min-width: 10px;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent);
}

.cuti-color-tahunan { color: var(--primary); }
.cuti-color-pcb { color: var(--success); }
.cuti-color-sakit { color: var(--danger); }
.cuti-color-melahirkan { color: #db2777; }
.cuti-color-penting { color: var(--warning); }
.cuti-color-besar { color: var(--info); }
.cuti-color-tanggungan { color: #7c3aed; }
.cuti-color-lainnya { color: var(--text-muted); }
.cuti-color-custom { color: var(--cuti-color, var(--text-muted)); }

.holiday-calendar--large .calendar-day {
  min-height: 112px;
}

.dashboard-calendar-card,
.holiday-list-card {
  overflow: hidden;
}

.calendar-header,
.calendar-controls,
.holiday-legend {
  display: flex;
  align-items: center;
}

.calendar-header {
  justify-content: space-between;
  gap: 14px;
}

.calendar-controls {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.segmented-control {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.segmented-control button {
  min-height: 34px;
  padding: 7px 11px;
  appearance: none;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  background: transparent;
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.segmented-control button:hover,
.segmented-control button.is-active {
  color: var(--primary);
  background: var(--bg-card);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--primary) 12%, transparent);
}

.cuti-calendar-mode {
  margin-right: 2px;
}

.calendar-controls strong {
  min-width: 148px;
  color: var(--text-main);
  font-size: 15px;
  text-align: center;
}

.holiday-calendar {
  display: grid;
  gap: 10px;
}

.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.calendar-weekdays span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.calendar-day {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 96px;
  padding: 10px;
  appearance: none;
  text-align: left;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-table);
  color: var(--text-main);
  transition: border-color 160ms ease, background 160ms ease;
}

.calendar-day.is-muted {
  background: var(--bg-muted);
  color: var(--text-muted);
  opacity: 0.72;
}

.calendar-day.is-weekend {
  border-color: color-mix(in srgb, var(--danger) 34%, var(--border-color));
  background: color-mix(in srgb, var(--danger-soft) 44%, var(--bg-table));
}

.calendar-day.is-holiday {
  border-color: var(--danger);
  background: var(--danger-soft);
}

.calendar-day.is-today {
  border-color: var(--warning);
  background: color-mix(in srgb, var(--warning-soft) 82%, var(--bg-table));
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--warning) 82%, transparent), 0 10px 24px color-mix(in srgb, var(--warning) 18%, transparent);
}

.calendar-day.is-today::after {
  content: "Hari ini";
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--warning);
  color: #111827;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.calendar-day.is-today .calendar-day__number {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 999px;
  background: var(--warning);
  color: #111827;
}

.calendar-day.has-dashboard-events {
  border-color: color-mix(in srgb, var(--info) 58%, var(--border-color));
}

.calendar-day__number {
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.calendar-day__label {
  display: -webkit-box;
  margin-top: auto;
  overflow: hidden;
  color: var(--danger);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.calendar-day.is-weekend:not(.is-holiday) .calendar-day__label {
  color: var(--text-muted);
}

.calendar-day__events {
  display: grid;
  gap: 3px;
  margin-top: 6px;
}

.calendar-day__events span {
  display: block;
  max-width: 100%;
  padding: 3px 5px;
  overflow: hidden;
  color: var(--info);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: var(--info-soft);
  border-radius: var(--radius-sm);
}

.calendar-day__events .cuti-event-pill {
  display: inline-flex;
  justify-content: center;
  max-width: 100%;
  min-width: 24px;
  width: fit-content;
  padding: 3px 7px;
  color: currentColor;
  background: color-mix(in srgb, currentColor 14%, var(--bg-table));
  border: 1px solid color-mix(in srgb, currentColor 42%, var(--border-color));
  border-radius: 999px;
}

.calendar-day__events .cuti-event-pill--total {
  min-width: 32px;
  padding: 5px 10px;
  color: var(--text-on-primary);
  font-size: 13px;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--primary) 18%, transparent);
}

.calendar-day__events .cuti-event-pill.cuti-color-tahunan { color: var(--primary); }
.calendar-day__events .cuti-event-pill.cuti-color-pcb { color: var(--success); }
.calendar-day__events .cuti-event-pill.cuti-color-sakit { color: var(--danger); }
.calendar-day__events .cuti-event-pill.cuti-color-melahirkan { color: #db2777; }
.calendar-day__events .cuti-event-pill.cuti-color-penting { color: var(--warning); }
.calendar-day__events .cuti-event-pill.cuti-color-besar { color: var(--info); }
.calendar-day__events .cuti-event-pill.cuti-color-tanggungan { color: #7c3aed; }
.calendar-day__events .cuti-event-pill.cuti-color-lainnya { color: var(--text-muted); }
.calendar-day__events .cuti-event-pill.cuti-color-custom { color: var(--cuti-color, var(--text-muted)); }

.cuti-modal-topline {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(320px, 1.4fr);
  gap: 10px;
  width: min(720px, 100%);
  margin: 0 auto 14px;
  align-items: stretch;
}

.cuti-modal-topline--detail {
  grid-template-columns: minmax(240px, .85fr) minmax(520px, 1.6fr);
  width: 100%;
}

.cuti-modal-date-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(720px, 100%);
  margin: 0 auto 14px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--primary) 28%, var(--border-color));
  border-radius: 10px;
  background: color-mix(in srgb, var(--primary) 8%, var(--bg-card));
  color: var(--text-main);
  text-align: left;
}

.cuti-modal-topline .cuti-modal-date-banner {
  width: auto;
  margin: 0;
}

.cuti-modal-date-banner .material-symbols-outlined {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--primary) 16%, var(--bg-input));
  color: var(--primary);
  font-size: 22px;
  flex: 0 0 auto;
}

.cuti-modal-date-banner small {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.cuti-modal-date-banner strong {
  display: block;
  margin-top: 2px;
  color: var(--text-main);
  font-size: 17px;
  line-height: 1.25;
}

.cuti-modal-table-wrap {
  width: min(720px, 100%);
  margin: 0 auto;
  overflow-x: auto;
}

.cuti-modal-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(720px, 100%);
  margin: 0 auto 12px;
}

.cuti-modal-topline .cuti-modal-summary,
.cuti-modal-topline .cuti-detail-summary {
  width: auto;
  margin: 0;
}

.cuti-modal-summary > div {
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-input);
  text-align: left;
}

.cuti-modal-summary span,
.cuti-modal-hint {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}

.cuti-modal-summary strong {
  display: block;
  margin-top: 3px;
  color: var(--text-main);
  font-size: 24px;
  line-height: 1;
}

.cuti-modal-types {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  width: min(720px, 100%);
  margin: 0 auto 10px;
}

.cuti-modal-types span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-input);
  color: var(--text-main);
  font-size: 12px;
}

.cuti-modal-hint {
  width: min(720px, 100%);
  margin: 0 auto 12px;
  text-align: left;
}

.cuti-modal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.cuti-modal-table th,
.cuti-modal-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.cuti-modal-table th {
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
}

.cuti-modal-table td:nth-child(2) {
  display: flex;
  align-items: center;
  gap: 8px;
}

.swal2-popup.cuti-summary-modal {
  width: min(780px, calc(100vw - 28px));
}

.swal2-popup.cuti-detail-modal {
  width: min(1120px, calc(100vw - 28px));
}

.swal2-popup.cuti-detail-modal .swal2-html-container {
  margin-inline: 0;
  text-align: left;
}

.cuti-detail-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.cuti-detail-summary--hybrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cuti-modal-types--hybrid {
  width: 100%;
}

.cuti-detail-summary > div {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.cuti-detail-summary span {
  overflow: hidden;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.cuti-detail-summary strong {
  color: var(--text-main);
  font-size: 22px;
  line-height: 1;
}

.cuti-detail-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.cuti-detail-list {
  display: grid;
  gap: 8px;
  max-height: min(58vh, 540px);
  overflow-y: auto;
  padding-right: 4px;
}

.cuti-detail-person {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) minmax(180px, 0.8fr) minmax(120px, auto);
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.cuti-detail-person__main,
.cuti-detail-person__meta {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.cuti-detail-person__main strong {
  overflow: hidden;
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cuti-detail-person__main span,
.cuti-detail-person__meta span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}

.cuti-detail-person__meta span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
}

.cuti-detail-person__status {
  display: flex;
  justify-content: flex-end;
}

.cuti-hybrid-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .8fr);
  gap: 14px;
  width: 100%;
  margin-top: 14px;
  align-items: start;
}

.cuti-hybrid-section {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}

.cuti-hybrid-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-muted);
}

.cuti-hybrid-section__head > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.cuti-hybrid-section__head strong {
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.25;
}

.cuti-hybrid-section__head span {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}

.cuti-hybrid-section__head b {
  flex: 0 0 auto;
  padding: 5px 8px;
  color: var(--primary);
  font-size: 11px;
  line-height: 1;
  background: var(--primary-soft);
  border: 1px solid color-mix(in srgb, var(--primary) 30%, var(--border-color));
  border-radius: 999px;
}

.cuti-hybrid-section .cuti-detail-list {
  max-height: min(48vh, 460px);
  padding: 10px;
  overflow-y: auto;
}

.cuti-hybrid-section .cuti-modal-table-wrap {
  width: 100%;
  max-height: min(48vh, 460px);
  margin: 0;
  overflow: auto;
}

.cuti-hybrid-section .cuti-modal-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--bg-card);
}

.cuti-hybrid-section .cuti-modal-table th,
.cuti-hybrid-section .cuti-modal-table td {
  padding: 11px 12px;
}

.cuti-hybrid-section .cuti-modal-table td:last-child,
.cuti-hybrid-section .cuti-modal-table th:last-child {
  width: 78px;
  white-space: nowrap;
}

.cuti-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  border-radius: 999px;
  border: 1px solid var(--border-color);
}

.cuti-status-pill--success {
  color: var(--success);
  background: color-mix(in srgb, var(--success) 16%, var(--bg-card));
  border-color: color-mix(in srgb, var(--success) 42%, var(--border-color));
}

.cuti-status-pill--danger {
  color: var(--danger);
  background: color-mix(in srgb, var(--danger) 14%, var(--bg-card));
  border-color: color-mix(in srgb, var(--danger) 42%, var(--border-color));
}

.cuti-status-pill--warning {
  color: color-mix(in srgb, var(--warning) 72%, #78350f);
  background: color-mix(in srgb, var(--warning) 18%, var(--bg-card));
  border-color: color-mix(in srgb, var(--warning) 48%, var(--border-color));
}

.cuti-status-pill--info {
  color: var(--info);
  background: color-mix(in srgb, var(--info) 14%, var(--bg-card));
  border-color: color-mix(in srgb, var(--info) 42%, var(--border-color));
}

.cuti-status-pill--muted,
.cuti-status-pill--neutral {
  color: var(--text-muted);
  background: var(--bg-muted);
  border-color: var(--border-color);
}

.dashboard-compact-list {
  display: grid;
  gap: 10px;
}

.dashboard-scroll-list {
  max-height: 360px;
  overflow-y: auto;
  padding-right: 4px;
}

.dashboard-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.dashboard-list-item > .material-symbols-outlined,
.dashboard-list-item > i {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
  font-style: normal;
}

.dashboard-list-item > i {
  background: color-mix(in srgb, var(--item-color, var(--primary)) 18%, var(--bg-card));
}

.dashboard-list-item > i::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--item-color, var(--primary));
}

.dashboard-list-item div {
  min-width: 0;
}

.dashboard-list-item strong,
.dashboard-list-item small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-list-item strong {
  color: var(--text-main);
}

.dashboard-list-item small {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.35;
}

.dashboard-cuti-status-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-muted);
}

.dashboard-cuti-status-item > .material-symbols-outlined {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--info-soft);
  color: var(--info);
}

.dashboard-cuti-status-item--warning > .material-symbols-outlined {
  background: var(--warning-soft);
  color: var(--warning);
}

.dashboard-cuti-status-item--success > .material-symbols-outlined {
  background: var(--success-soft);
  color: var(--success);
}

.dashboard-cuti-status-item--danger > .material-symbols-outlined {
  background: var(--danger-soft);
  color: var(--danger);
}

.dashboard-cuti-status-item div {
  min-width: 0;
}

.dashboard-cuti-status-item__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.dashboard-cuti-status-item strong {
  color: var(--text-main);
  line-height: 1.3;
}

.dashboard-cuti-status-item small {
  flex: 0 0 auto;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
}

.dashboard-cuti-status-item p {
  margin: 4px 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.4;
}

.dashboard-cuti-status-item span:not(.material-symbols-outlined) {
  display: inline-flex;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.dashboard-side-card .empty-state {
  padding: 14px;
}

.holiday-legend {
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}

.holiday-legend span,
.holiday-item {
  display: flex;
  align-items: center;
}

.holiday-dot {
  width: 9px;
  height: 9px;
  margin-right: 7px;
  border-radius: 999px;
  background: var(--border-strong);
}

.holiday-dot--national {
  background: var(--danger);
}

.holiday-dot--weekend {
  background: var(--warning);
}

.holiday-dot--today {
  background: var(--primary);
}

.holiday-list {
  display: grid;
  gap: 10px;
}

.holiday-item {
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-muted);
}

.holiday-item__date {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  min-height: 46px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--danger);
  font-weight: 800;
  line-height: 1.1;
}

.holiday-item__date small {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.holiday-item__body {
  min-width: 0;
}

.holiday-item__body strong {
  display: block;
  color: var(--text-main);
  font-size: 13px;
  line-height: 1.35;
}

.holiday-item__body span {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 12px;
}

.empty-state--compact {
  padding: 18px;
  min-height: auto;
}

.card__body--divided {
  border-top: 1px solid var(--border-color);
}

.dashboard-gap-sm {
  margin-top: 10px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.profile-information-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.profile-info-section {
  display: grid;
  grid-template-columns: minmax(160px, 0.24fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  min-width: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--border-color);
}

.profile-info-section:first-child {
  padding-top: 0;
}

.profile-info-section--address {
  padding-bottom: 0;
  border-bottom: 0;
}

.profile-info-section__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.profile-info-section__heading > .material-symbols-outlined {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: var(--radius-md);
  font-size: 19px;
}

.profile-info-section__heading h3 {
  margin: 0;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 800;
}

.profile-info-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 22px;
  min-width: 0;
}

.profile-info-section--employment .profile-info-fields {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-info-fields > div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.profile-info-field--span-2 {
  grid-column: span 2;
}

.profile-info-fields span {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-info-fields strong {
  min-width: 0;
  color: var(--text-main);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.profile-info-section--address p {
  margin: 5px 0 0;
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.profile-self-service-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(420px, 1.22fr);
  gap: 18px;
  align-items: start;
}

.profile-contact-card .card__body {
  gap: 16px;
}

.profile-contact-summary {
  display: grid;
  gap: 10px;
}

.profile-contact-summary > div {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
}

.profile-contact-summary .material-symbols-outlined {
  color: var(--primary);
}

.profile-contact-summary small,
.profile-contact-summary strong {
  display: block;
}

.profile-contact-summary small {
  margin-bottom: 2px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
}

.profile-contact-summary strong {
  overflow-wrap: anywhere;
}

.contact-verification-heading {
  align-items: center;
}

.contact-verification-heading__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--primary) 25%, var(--border-color));
  border-radius: var(--radius-md);
  color: var(--primary);
  background: var(--primary-soft);
}

.contact-verification-heading__icon .material-symbols-outlined {
  font-size: 28px;
}

.contact-verification-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.contact-verification-card {
  overflow: hidden;
}

.contact-verification-card.is-pending {
  border-color: color-mix(in srgb, var(--warning) 45%, var(--border-color));
}

.contact-verification-card.is-verified {
  border-color: color-mix(in srgb, var(--success) 35%, var(--border-color));
}

.contact-verification-card__header {
  align-items: flex-start;
  flex-wrap: wrap;
}

.contact-verification-card__title {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 11px;
}

.contact-verification-card__title > .material-symbols-outlined {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border-radius: var(--radius-sm);
  color: var(--primary);
  background: var(--primary-soft);
}

.contact-verification-card__title .section-subtitle {
  margin-top: 3px;
  color: var(--text-main);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-verification-card__body {
  display: grid;
  gap: 14px;
}

.contact-verification-card__date {
  color: var(--text-muted);
}

.contact-verification-card__body > form .btn {
  width: 100%;
  justify-content: center;
}

.contact-verification-edit {
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

.contact-verification-edit summary {
  display: flex;
  align-items: center;
  width: fit-content;
  gap: 7px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.contact-verification-edit summary::-webkit-details-marker {
  display: none;
}

.contact-verification-edit summary .material-symbols-outlined {
  font-size: 19px;
}

.contact-verification-edit[open] summary {
  margin-bottom: 14px;
}

.contact-verification-edit .btn {
  justify-content: center;
}

.profile-email-edit {
  gap: 10px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--primary) 18%, var(--border-color));
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--primary-soft) 34%, var(--bg-card));
}

.profile-email-edit__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.profile-email-edit__head small {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
}

.profile-email-edit form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.profile-email-edit .form-control {
  min-height: 44px;
  background: var(--bg-card);
}

.profile-email-edit .btn {
  justify-content: center;
}

.detail-list {
  display: grid;
  gap: 12px;
  align-content: start;
}

.info-list,
.approval-flow,
.compact-list,
.form-stack {
  display: grid;
  gap: 12px;
}

.info-list div,
.approval-step,
.compact-list__item {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.info-list div:last-child,
.approval-step:last-child,
.compact-list__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.info-list span,
.compact-list__item small,
.approval-step small {
  color: var(--text-muted);
  font-size: 12px;
}

.info-list span {
  font-weight: 800;
  text-transform: uppercase;
}

.info-list strong,
.compact-list__item strong,
.approval-step strong {
  color: var(--text-main);
}

.approval-step p {
  margin: 4px 0 0;
  color: var(--text-muted);
}

.inline-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 8px;
}

.surat-tugas-assignee-panel {
  display: grid;
  gap: 14px;
}

.surat-tugas-assignee-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  padding: 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--surface-muted);
}

.surat-tugas-assignee-toolbar .form-group {
  margin: 0;
}

.surat-tugas-assignee-count {
  display: grid;
  grid-template-columns: 34px auto;
  gap: 2px 10px;
  align-items: center;
  min-width: 150px;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.surat-tugas-assignee-count .material-symbols-outlined {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
}

.surat-tugas-assignee-count strong {
  color: var(--text-main);
  line-height: 1;
}

.surat-tugas-assignee-count small {
  color: var(--text-muted);
  font-size: 12px;
}

.surat-tugas-assignee-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-height: 460px;
  overflow: auto;
  padding: 2px 4px 2px 2px;
  scrollbar-gutter: stable;
}

.surat-tugas-assignee-item {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
}

.surat-tugas-assignee-item[hidden] {
  display: none;
}

.surat-tugas-assignee-item strong,
.surat-tugas-assignee-item small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.surat-tugas-assignee-item strong {
  color: var(--text-main);
}

.surat-tugas-assignee-item small {
  color: var(--text-muted);
  font-size: 12px;
}

.nomor-surat-form {
  margin-top: 4px;
}

.nomor-surat-form .btn-primary,
.nomor-surat-form .btn-primary .material-symbols-outlined,
.nomor-surat-form .btn-primary span {
  color: var(--text-on-primary);
}

.nomor-surat-correction-form {
  display: flex;
  align-items: center;
  gap: 6px;
  width: min(100%, 260px);
  margin-top: 8px;
}

.nomor-surat-correction-form .form-control {
  min-width: 160px;
  height: 34px;
  padding: 6px 9px;
  font-size: 13px;
}

.nomor-surat-correction-form .btn-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

.nomor-cuti-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.nomor-cuti-layout .card {
  margin: 0;
}

.nomor-cuti-summary {
  display: grid;
  gap: 14px;
  align-content: start;
}

.info-list--compact {
  display: grid;
  gap: 10px;
}

.info-list--compact div {
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
}

.info-list--compact span {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.3;
}

.info-list--compact strong {
  display: block;
  margin-top: 3px;
  color: var(--text-main);
  font-size: 14px;
}

.checkbox-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-table);
  color: var(--text-main);
  font-weight: 800;
  line-height: 1.45;
}

.checkbox-card input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 18px;
}

.surat-tugas-bypass-audit .card__header {
  align-items: flex-start;
}

.surat-tugas-bypass-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 980px;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--warning) 24%, var(--border-color));
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--warning-soft) 82%, transparent), var(--bg-card));
  box-shadow: var(--shadow-card);
}

.surat-tugas-bypass-info__icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--warning-soft);
  color: var(--warning);
}

.surat-tugas-bypass-info__body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.surat-tugas-bypass-info__body strong {
  color: var(--text-main);
  font-size: 15px;
}

.surat-tugas-bypass-info__body span {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
}

.notulen-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 18px;
  align-items: start;
}

.notulen-layout--detail {
  grid-template-columns: 1fr;
}

.approval-flow--wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.surat-tugas-detail-actions form {
  display: flex;
}

.notulen-current,
.notulen-form,
.notulen-history-item {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-muted);
}

.notulen-current p,
.notulen-history-item p {
  margin: 0;
  color: var(--text-main);
  line-height: 1.65;
}

.notulen-meta,
.notulen-history-item div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
}

.notulen-history {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--border-color);
}

.notulen-history-item strong {
  color: var(--text-main);
}

.section-title--sm {
  font-size: 16px;
}

.notulen-file-link {
  justify-self: start;
  max-width: 100%;
}

.notulen-file-link span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notulen-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.notulen-secondary-link:hover {
  text-decoration: underline;
}

.notulen-secondary-link .material-symbols-outlined {
  font-size: 18px;
}

.detail-list div {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.detail-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.detail-list span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.detail-list strong {
  color: var(--text-main);
  font-weight: 700;
}

.signature-panel {
  display: grid;
  gap: 16px;
}

.profile-self-service-grid .signature-panel {
  grid-template-columns: 1fr;
}

.signature-current,
.signature-editor {
  min-width: 0;
}

.signature-current:only-child {
  grid-column: 1 / -1;
}

.signature-current {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.signature-current__label {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.signature-current strong {
  display: block;
  margin-top: 3px;
  color: var(--text-main);
  font-size: 16px;
}

.signature-current small {
  max-width: 260px;
  color: var(--text-muted);
  text-align: right;
}

.signature-preview {
  display: grid;
  place-items: center;
  flex: 0 1 280px;
  min-height: 108px;
  padding: 10px 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), transparent 48%),
    linear-gradient(var(--signature-paper), var(--signature-paper));
  border: 1px solid var(--signature-border);
  border-radius: var(--radius-md);
  box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--signature-paper-line) 58%, transparent);
}

.signature-preview img {
  display: block;
  max-width: 100%;
  max-height: 86px;
  filter: contrast(1.04);
  object-fit: contain;
}

.signature-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 280px;
  min-height: 92px;
  padding: 14px;
  color: var(--text-muted);
  text-align: left;
  background: var(--bg-input);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
}

.signature-empty .material-symbols-outlined {
  flex: 0 0 auto;
  color: var(--primary);
  font-size: 34px;
}

.signature-empty p {
  margin: 0;
}

.upload-form,
.signature-form {
  display: grid;
  gap: 14px;
}

.signature-editor {
  align-content: start;
  padding: 16px;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.signature-editor__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.signature-editor__header p {
  margin: 8px 0 0;
  color: var(--text-muted);
}

.signature-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.signature-method {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
  color: var(--text-main);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.signature-method:has(input:checked) {
  border-color: color-mix(in srgb, var(--primary) 62%, var(--border-color));
  background: color-mix(in srgb, var(--primary-soft) 70%, var(--bg-card));
  box-shadow: 0 8px 18px color-mix(in srgb, var(--primary) 12%, transparent);
}

.signature-method input {
  accent-color: var(--primary);
}

.signature-method .material-symbols-outlined {
  color: var(--primary);
  font-size: 20px;
}

.signature-method strong {
  font-size: 13px;
}

.signature-method:only-child {
  grid-column: 1 / -1;
}

.signature-pad {
  position: relative;
  width: 100%;
  aspect-ratio: 4.8 / 1.8;
  min-height: 220px;
  max-height: 300px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent 42%),
    linear-gradient(var(--signature-paper), var(--signature-paper));
  border: 1px solid var(--signature-border);
  border-radius: var(--radius-md);
  touch-action: none;
  user-select: none;
  overscroll-behavior: contain;
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--text-inverse) 18%, transparent);
}

.signature-pad--paraf {
  aspect-ratio: 4 / 1.45;
  min-height: 170px;
  max-height: 230px;
}

.profile-self-service-grid .signature-pad {
  min-height: 190px;
  max-height: 260px;
}

.profile-self-service-grid .signature-current {
  align-items: stretch;
  flex-direction: column;
}

.profile-self-service-grid .signature-current small {
  max-width: none;
  text-align: left;
}

.profile-self-service-grid .signature-preview,
.profile-self-service-grid .signature-empty {
  flex-basis: auto;
  width: 100%;
}

.signature-pad::before,
.signature-pad::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.signature-pad::before {
  left: 7%;
  right: 7%;
  bottom: 28%;
  border-bottom: 2px solid color-mix(in srgb, var(--signature-paper-line) 68%, transparent);
}

.signature-pad::after {
  inset: 14px;
  border: 1px solid color-mix(in srgb, var(--signature-paper-line) 34%, transparent);
  border-radius: calc(var(--radius-md) - 2px);
}

.signature-pad canvas {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  cursor: crosshair;
}

.signature-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.signature-upload-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.62fr) minmax(220px, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.signature-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.signature-submit .field-hint {
  max-width: 420px;
}

.pejabat-asset-grid {
  display: grid;
  gap: 18px;
}

.pejabat-asset-card {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.pejabat-asset-card .signature-current {
  align-items: stretch;
  flex-direction: column;
}

.pejabat-asset-card .signature-current small {
  max-width: none;
  text-align: left;
}

.pejabat-asset-card .signature-preview,
.pejabat-asset-card .signature-empty {
  flex-basis: auto;
  width: 100%;
}

@media (min-width: 1100px) {
  .pejabat-asset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

.settings-grid .form-actions {
  padding-top: 16px;
  border-top: 0;
}

.notification-settings-layout {
  display: grid;
  gap: 18px;
  align-items: start;
}

.notification-settings-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.notification-settings-actions {
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.notification-scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.notification-scenario-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
}

.notification-scenario-card strong {
  display: block;
  margin-bottom: 4px;
}

.notification-scenario-card small {
  display: block;
  color: var(--text-muted);
  line-height: 1.45;
}

.notification-scenario-actions {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 8px;
  align-items: center;
}

.notification-health {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
}

.notification-health > div:first-child {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 3px;
  min-width: 0;
}

.notification-health .material-symbols-outlined {
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 20px;
}

.notification-health strong {
  color: var(--text);
  font-size: 14px;
}

.notification-health small {
  color: var(--text-muted);
  line-height: 1.45;
}

.notification-health--ready {
  border-color: rgba(16, 185, 129, .3);
  background: rgba(16, 185, 129, .08);
}

.notification-health--ready .material-symbols-outlined {
  color: #047857;
  background: rgba(16, 185, 129, .16);
}

.notification-health--warning {
  border-color: rgba(245, 158, 11, .36);
  background: rgba(245, 158, 11, .1);
}

.notification-health--warning .material-symbols-outlined {
  color: #b45309;
  background: rgba(245, 158, 11, .18);
}

.notification-health__checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
  max-width: 280px;
}

.notification-check {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.notification-check.is-ok {
  border-color: rgba(16, 185, 129, .35);
  color: #047857;
  background: rgba(16, 185, 129, .12);
}

.notification-check.is-bad {
  border-color: rgba(239, 68, 68, .28);
  color: #b91c1c;
  background: rgba(239, 68, 68, .1);
}

.notification-template-card {
  grid-column: 1 / -1;
}

.notification-template-list {
  display: grid;
  gap: 14px;
}

.notification-template-tabs {
  display: grid;
  gap: 14px;
}

.notification-template-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.notification-template-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 5px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
}

.notification-template-nav label {
  flex: 0 0 auto;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

#notification-template-reset:checked ~ .notification-template-nav label[for="notification-template-reset"],
#notification-template-pengganti:checked ~ .notification-template-nav label[for="notification-template-pengganti"],
#notification-template-cuti:checked ~ .notification-template-nav label[for="notification-template-cuti"],
#notification-template-surtug:checked ~ .notification-template-nav label[for="notification-template-surtug"] {
  background: var(--bg-card);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.notification-template-panels {
  display: grid;
}

.notification-template-panel {
  display: none;
}

#notification-template-reset:checked ~ .notification-template-panels [data-template-panel="reset"],
#notification-template-pengganti:checked ~ .notification-template-panels [data-template-panel="pengganti"],
#notification-template-cuti:checked ~ .notification-template-panels [data-template-panel="cuti"],
#notification-template-surtug:checked ~ .notification-template-panels [data-template-panel="surtug"] {
  display: block;
}

.notification-template-editor {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 16px;
  align-items: start;
}

.notification-template-example {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
}

.notification-template-example strong {
  display: block;
  margin-bottom: 4px;
}

.notification-template-example > small {
  display: block;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.notification-template-preview__message {
  position: relative;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, #25d366 30%, var(--border));
  border-radius: 8px;
  background: color-mix(in srgb, #dcf8c6 72%, var(--bg-card));
}

.notification-template-preview__message::after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: 10px;
  width: 12px;
  height: 12px;
  border-right: 1px solid color-mix(in srgb, #25d366 30%, var(--border));
  border-bottom: 1px solid color-mix(in srgb, #25d366 30%, var(--border));
  background: inherit;
  transform: rotate(-45deg);
}

.notification-template-example pre {
  max-height: 260px;
  margin: 0;
  overflow: auto;
  white-space: pre-wrap;
  color: var(--text-main);
  font-family: inherit;
  font-size: 12px;
  line-height: 1.55;
}

.notification-template-item {
  display: grid;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.notification-template-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.notification-template-textarea {
  min-height: 132px;
  resize: vertical;
}

.surat-tugas-shell {
  display: grid;
  gap: 18px;
}

.booking-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
}

.booking-calendar-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.booking-calendar-hero h1 {
  margin: 10px 0 4px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.08;
}

.booking-calendar-hero p {
  margin: 0;
  color: var(--text-muted);
}

.booking-calendar-card {
  overflow: visible;
}

.booking-calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

.booking-calendar-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
}

.booking-calendar-controls > div {
  min-width: 180px;
}

.booking-room-filter {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 360px;
  gap: 10px;
  margin-left: auto;
  width: 360px;
  max-width: 100%;
  min-width: 260px;
}

.booking-room-filter .form-label {
  margin: 0;
  white-space: nowrap;
}

.booking-room-filter .form-select {
  min-width: 210px;
}

.booking-room-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.booking-room-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 5px 9px;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
}

.booking-room-legend i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--room-color, var(--primary));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--room-color, var(--primary)) 18%, transparent);
}

.booking-month-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--border-color);
  gap: 1px;
}

.booking-weekday {
  min-height: 38px;
  display: grid;
  place-items: center;
  background: var(--bg-muted);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.booking-weekday.is-weekend {
  background: color-mix(in srgb, var(--danger-soft) 64%, var(--bg-muted));
  color: var(--danger);
}

.booking-day {
  min-height: 142px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 10px;
  background: var(--bg-card);
}

.booking-day.is-weekend,
.booking-day.is-holiday {
  background: color-mix(in srgb, var(--danger-soft) 30%, var(--bg-card));
}

.booking-day.is-muted {
  background: color-mix(in srgb, var(--bg-muted) 72%, var(--bg-card));
}

.booking-day.is-muted.is-weekend,
.booking-day.is-muted.is-holiday {
  background: color-mix(in srgb, var(--danger-soft) 22%, var(--bg-muted));
}

.booking-day.is-past .booking-day__date {
  color: var(--text-muted);
}

.booking-day__date.is-disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.booking-day.is-today {
  box-shadow: inset 0 0 0 2px var(--primary);
}

.booking-day__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
}

.booking-day__top span {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.booking-holiday-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  color: var(--danger);
  font-size: 11px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking-day__date {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  color: var(--text-main);
  font-weight: 900;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.booking-day.is-weekend .booking-day__date,
.booking-day.is-holiday .booking-day__date {
  color: var(--danger);
}

.booking-day__date:hover {
  background: var(--primary);
  color: var(--text-on-primary);
  transform: translateY(-1px);
}

.booking-day__events {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.booking-event {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  min-height: 28px;
  padding: 5px 7px;
  background: color-mix(in srgb, var(--room-color, var(--primary)) 14%, var(--bg-muted));
  border-left: 3px solid var(--room-color, var(--primary));
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  text-align: left;
}

.booking-event:hover {
  color: var(--primary);
}

.booking-event strong {
  flex: 0 0 auto;
  font-size: 11px;
}

.booking-event span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 800;
}

.booking-more {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
}

.booking-detail-modal {
  width: min(640px, 100%);
}

.booking-detail-list strong {
  display: flex;
  align-items: center;
  gap: 8px;
}

.booking-room-list,
.booking-upcoming-list,
.booking-form-shell {
  display: grid;
  gap: 10px;
}

.booking-form-shell {
  gap: 18px;
}

.booking-room-item,
.booking-upcoming-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.booking-room-item i,
.room-pill {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--room-color, var(--primary));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--room-color, var(--primary)) 18%, transparent);
}

.booking-room-item div,
.booking-upcoming-item div {
  min-width: 0;
}

.booking-room-item strong,
.booking-upcoming-item strong {
  display: block;
  color: var(--text-main);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking-room-item small,
.booking-upcoming-item small,
.table-note {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
}

.change-list {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.45;
}

.change-list span {
  overflow-wrap: anywhere;
}

.change-list strong {
  color: var(--text-main);
}

.booking-room-item .badge {
  margin-left: auto;
}

.booking-date-badge {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px;
  min-height: 52px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.booking-date-badge strong {
  color: var(--primary);
  font-size: 18px;
  line-height: 1;
}

.booking-date-badge small {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.booking-mini-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.booking-mini-day {
  display: grid;
  gap: 3px;
  min-width: 0;
  min-height: 76px;
  padding: 10px 8px;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  text-align: center;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.booking-mini-day:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.booking-mini-day small {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
}

.booking-mini-day strong {
  color: var(--text-main);
  font-size: 20px;
  line-height: 1;
}

.booking-mini-day span {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.booking-mini-day.is-today {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.booking-mini-day.has-booking span {
  color: var(--primary);
}

.booking-time-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.booking-filter-form {
  grid-template-columns: minmax(220px, 1fr) minmax(160px, 0.6fr) minmax(145px, 0.45fr) minmax(120px, 0.35fr) minmax(100px, 0.25fr) auto;
}

.room-pill {
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}

.action-hover-danger:hover {
  border-color: var(--danger);
  background: var(--danger-soft);
  color: var(--danger);
}

.data-table td form {
  margin: 0;
}

.data-table .btn {
  min-height: 36px;
}

.surat-tugas-card {
  overflow: visible;
}

.surat-tugas-card .card__body {
  min-width: 0;
}

.surat-tugas-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.surat-tugas-card .form-label small {
  color: var(--text-muted);
  font-size: 11px;
  font-style: italic;
  font-weight: 600;
}

.pegawai-filter-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.filter-chip {
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-muted);
  color: var(--text-muted);
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.filter-chip:hover,
.filter-chip.is-active {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
}

.filter-chip-clear {
  margin-left: auto;
  background: var(--bg-card);
  color: var(--danger);
}

.filter-chip-clear:hover {
  border-color: var(--danger);
  background: var(--danger-soft);
  color: var(--danger);
}

.surat-tugas-card .select2-container--default .select2-selection--multiple {
  min-height: 42px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
}

.surat-tugas-card .select2-container--default .select2-selection--multiple .select2-selection__choice {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--primary);
}

.surat-tugas-card .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: var(--primary);
}

.desktop-hidden {
  display: none;
}

.swal2-popup.sipitung-swal {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-popover);
}

.swal2-popup.sipitung-swal .swal2-title {
  color: var(--text-main);
}

.swal2-popup.sipitung-swal .swal2-html-container {
  color: var(--text-muted);
}

.swal2-popup.sipitung-swal .swal2-confirm {
  background: var(--primary);
  color: var(--text-on-primary);
  border-radius: var(--radius-md);
}

.swal2-popup.sipitung-swal .swal2-cancel {
  background: var(--bg-muted);
  color: var(--text-main);
  border-radius: var(--radius-md);
}

.swal2-popup.sipitung-swal .swal2-input,
.swal2-popup.sipitung-swal .swal2-textarea,
.swal2-popup.sipitung-swal .swal2-select {
  background: var(--bg-input);
  border-color: var(--border-color);
  color: var(--text-main);
}

@media (max-width: 1279px) {
  .profile-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-info-section--identity .profile-info-fields,
  .profile-info-section--employment .profile-info-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-kanban {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cuti-calendar-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cuti-calendar-summary--private {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cuti-legend-card {
    grid-template-columns: 1fr;
  }

  .dashboard-board {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  }
}

@media (max-width: 1023px) {
  .desktop-hidden {
    display: inline-flex;
  }

  .notification-template-editor {
    grid-template-columns: 1fr;
  }

  .notification-health {
    flex-direction: column;
  }

  .notification-settings-stack,
  .notification-scenario-grid {
    grid-template-columns: 1fr;
  }

  .notification-health__checks {
    justify-content: flex-start;
    max-width: none;
  }

  .app-sidebar {
    transform: translateX(-100%);
  }

  .app-sidebar__brand {
    padding: 16px 14px 12px 18px;
  }

  .sidebar-close {
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    color: var(--text-muted);
    cursor: pointer;
  }

  .sidebar-mobile-account {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    margin: 0 12px 8px;
    padding: 10px 8px 10px 12px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
  }

  .sidebar-mobile-account__identity {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    color: inherit;
    text-decoration: none;
  }

  .sidebar-mobile-account__identity > .material-symbols-outlined {
    flex: 0 0 auto;
    color: var(--primary);
    font-size: 30px;
  }

  .sidebar-mobile-account__identity span:last-child {
    min-width: 0;
  }

  .sidebar-mobile-account__identity strong,
  .sidebar-mobile-account__identity small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sidebar-mobile-account__identity strong {
    font-size: 13px;
    line-height: 1.3;
  }

  .sidebar-mobile-account__identity small {
    margin-top: 2px;
    color: var(--text-muted);
    font-size: 11px;
  }

  .sidebar-mobile-account__logout {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 38px;
    padding: 7px 9px;
    border: 1px solid color-mix(in srgb, var(--danger) 35%, var(--border-color));
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--danger) 8%, var(--bg-card));
    color: var(--danger);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
  }

  .sidebar-mobile-account__logout .material-symbols-outlined {
    font-size: 19px;
  }

  .app-sidebar__nav {
    padding-top: 4px;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }

  .app-sidebar__footer {
    display: none;
  }

  .app-sidebar.is-open {
    transform: translateX(0);
  }

  .sidebar-overlay.is-visible {
    display: block;
  }

  .app-content {
    margin-left: 0;
  }

  .dashboard-grid,
  .dashboard-grid--calendar,
  .dashboard-workspace,
  .dashboard-board,
  .dashboard-admin-strip,
  .cuti-calendar-summary,
  .holiday-page-grid,
  .detail-grid,
  .notulen-layout,
  .approval-flow--wide,
  .deadline-config-row,
  .nomor-cuti-layout,
  .notification-settings-layout,
  .profile-content-grid,
  .profile-self-service-grid,
  .contact-verification-grid,
  .signature-panel,
  .booking-summary-grid,
  .confirmation-stats,
  .legacy-sync-audit,
  .report-filter-layout,
  .toolbar-form {
    grid-template-columns: 1fr;
  }

  .profile-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-information-layout,
  .profile-info-section {
    grid-template-columns: 1fr;
  }

  .profile-info-section {
    gap: 16px;
  }

  .report-filter-extra {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .cuti-calendar-summary--private {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .profile-account-card {
    position: static;
  }

  .toolbar-form__actions {
    flex-wrap: wrap;
  }

  .table-card-header {
    align-items: stretch;
    flex-direction: column;
  }

  .table-filter-inline {
    flex-basis: auto;
    max-width: none;
  }

  .cuti-history-filter-card .toolbar-form {
    grid-template-columns: minmax(0, 1fr) 128px;
  }

  .cuti-history-filter-card .toolbar-form__actions {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .cuti-deadline-item {
    flex-direction: column;
  }

  .cuti-deadline-item__due {
    min-width: 0;
    text-align: left;
  }

  .toolbar-form__actions .btn {
    flex: 1 1 130px;
  }

  .kuota-cuti-stats,
  .form-grid--four,
  .form-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legacy-sync-step {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .legacy-sync-step__action {
    grid-column: 2;
  }

  .booking-calendar-toolbar {
    flex-wrap: wrap;
  }

  .booking-room-filter {
    flex: 1 1 320px;
  }
}

@media (max-width: 767px) {
  .profile-overview {
    grid-template-columns: 1fr;
  }

  .profile-information-layout,
  .profile-info-fields,
  .profile-info-section--identity .profile-info-fields,
  .profile-info-section--employment .profile-info-fields,
  .profile-info-section--address {
    grid-template-columns: 1fr;
  }

  .profile-info-field--span-2 {
    grid-column: auto;
  }

  .profile-info-section--address {
    gap: 10px;
  }

  .dashboard-leave-list--scroll {
    grid-template-columns: 1fr;
    max-height: 360px;
  }

  .dashboard-more-row {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-more-row .btn {
    width: 100%;
  }

  .app-navbar {
    padding: 10px 16px;
    gap: 8px;
  }

  .navbar-left {
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
  }

  .app-navbar:has(.user-chip--has-avatar) .navbar-left {
    flex: 0 0 auto;
  }

  .app-navbar:has(.user-chip--has-avatar) .navbar-left > div {
    display: none;
  }

  .navbar-actions {
    flex: 0 0 auto;
    gap: 7px;
    margin-left: auto;
  }

  .navbar-actions .btn-icon {
    width: 38px;
    height: 38px;
    min-height: 38px;
  }

  .app-navbar:has(.user-chip--has-avatar) .navbar-actions {
    gap: 5px;
  }

  .app-navbar:has(.user-chip--has-avatar) .navbar-actions .btn-icon {
    width: 36px;
    height: 36px;
    min-height: 36px;
  }

  .user-chip {
    display: none;
  }

  .user-chip--has-avatar {
    display: flex;
    padding: 3px;
  }

  .user-chip--has-avatar img {
    width: 32px;
    height: 32px;
  }

  .notification-panel {
    right: -58px;
  }

  .app-main {
    padding: 16px;
  }

  .stats-grid,
  .kuota-cuti-stats,
  .cuti-calendar-summary,
  .deadline-config-fields,
  .dashboard-kanban,
  .dashboard-recap-grid,
  .form-grid,
  .form-grid--four,
  .form-grid--three,
  .report-period-options,
  .report-filter-extra,
  .surat-tugas-grid-3,
  .booking-time-grid,
  .booking-filter-form {
    grid-template-columns: 1fr;
  }

  .cuti-calendar-summary--private {
    grid-template-columns: 1fr;
  }

  .cuti-modal-summary {
    grid-template-columns: 1fr;
  }

  .cuti-history-filter-card {
    padding: 14px;
  }

  .cuti-history-filter-card .toolbar-form {
    grid-template-columns: 1fr;
  }

  .cuti-history-filter-card .toolbar-form__actions {
    grid-template-columns: 1fr;
  }

  .cuti-history-actions {
    flex-wrap: wrap;
  }

  .confirmation-item {
    align-items: stretch;
    flex-direction: column;
  }

  .confirmation-item .btn {
    justify-content: center;
    width: 100%;
  }

  .confirmation-bulk-action {
    align-items: stretch;
    flex-direction: column;
  }

  .confirmation-bulk-action .btn {
    justify-content: center;
    width: 100%;
  }

  .cuti-history-detail-list {
    grid-template-columns: 1fr;
  }

  .cuti-history-period-card,
  .cuti-history-period-card__meta,
  .cuti-history-detail-list--three {
    grid-template-columns: 1fr;
  }

  .cuti-history-status-panel,
  .cuti-history-flow__header,
  .cuti-history-flow__summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .cuti-history-stt-card {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .cuti-history-stt-card__actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr;
  }

  .cuti-history-stt-card .btn {
    justify-content: center;
    width: 100%;
  }

  .cuti-history-detail-list div,
  .cuti-history-detail-list div:nth-child(2n),
  .cuti-history-detail-list div:nth-last-child(-n + 2),
  .cuti-history-detail-list--three div,
  .cuti-history-detail-list--three div:nth-child(2n),
  .cuti-history-detail-list--three div:nth-child(3n) {
    border-right: 0;
    border-bottom: 1px solid var(--border-color);
  }

  .cuti-history-detail-list div:last-child {
    border-bottom: 0;
  }

  .profile-email-edit form {
    grid-template-columns: 1fr;
  }

  .profile-email-edit__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .profile-hero {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }

  .profile-hero__identity {
    align-items: flex-start;
    width: 100%;
  }

  .profile-avatar {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 23px;
  }

  .profile-hero h1 {
    margin-top: 8px;
    font-size: 24px;
  }

  .profile-hero__meta {
    width: 100%;
    min-width: 0;
  }

  .profile-mini-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .profile-mini-card .material-symbols-outlined {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .profile-mini-card strong {
    white-space: normal;
  }

  .profile-data-card .card__header,
  .profile-contact-card .card__header,
  .profile-signature-card .card__header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
  }

  .profile-data-card .section-subtitle,
  .profile-contact-card .section-subtitle,
  .profile-signature-card .section-subtitle {
    margin-top: 0;
    line-height: 1.45;
  }

  .legacy-sync-step {
    grid-template-columns: 1fr;
  }

  .legacy-sync-step__number {
    width: 32px;
    height: 32px;
  }

  .legacy-sync-step__action {
    grid-column: auto;
  }

  .legacy-sync-step__action .btn {
    width: 100%;
    justify-content: center;
  }

  .booking-mini-calendar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .form-span-2 {
    grid-column: auto;
  }

  .page-heading,
  .booking-calendar-hero,
  .profile-hero,
  .profile-hero__identity,
  .calendar-header,
  .booking-calendar-toolbar,
  .booking-calendar-controls,
  .action-strip,
  .auth-row {
    align-items: stretch;
    flex-direction: column;
  }

  .booking-room-filter {
    align-items: stretch;
    flex-basis: auto;
    flex-direction: column;
    margin-left: 0;
    width: 100%;
    min-width: 0;
  }

  .booking-room-filter .form-select {
    min-width: 0;
  }

  .booking-month-calendar {
    min-width: 760px;
  }

  .booking-calendar-card .card__body {
    overflow-x: auto;
  }

  .booking-day {
    min-height: 124px;
    padding: 8px;
  }

  .page-heading .action-strip__buttons {
    justify-content: stretch;
    margin-left: 0;
  }

  .page-heading .action-strip__buttons .btn {
    flex: 1 1 0;
  }

  .inline-form {
    grid-template-columns: 1fr;
  }

  .notulen-meta,
  .notulen-history-item div {
    display: grid;
  }

  .modal-backdrop {
    align-items: stretch;
    padding: 10px;
  }

  .modal {
    max-height: calc(100vh - 20px);
  }

  .modal__header {
    padding: 14px;
  }

  .modal__body {
    max-height: calc(100vh - 128px);
    padding: 14px;
  }

  .approval-modal__grid {
    grid-template-columns: 1fr;
  }

  .master-tabs {
    flex-wrap: nowrap;
    margin-inline: -16px;
    padding-inline: 16px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .master-tab {
    flex: 0 0 auto;
  }

  .master-filter-actions {
    grid-template-columns: 1fr;
  }

  .master-policy-grid {
    grid-template-columns: 1fr;
  }

  .settings-grid--policy,
  .policy-next-grid {
    grid-template-columns: 1fr;
  }

  .policy-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calendar-controls {
    justify-content: stretch;
  }

  .calendar-controls strong {
    order: -1;
    flex: 1 0 100%;
    min-width: 0;
    text-align: left;
  }

  .calendar-controls .segmented-control {
    flex: 1 0 100%;
  }

  .calendar-controls .segmented-control button {
    flex: 1 1 0;
  }

  .calendar-controls .btn-icon {
    flex: 0 0 46px;
    width: 46px;
  }

  .calendar-today-btn {
    flex: 1 1 140px;
  }

  .calendar-weekdays,
  .calendar-days {
    gap: 5px;
  }

  .calendar-day {
    min-height: 72px;
    padding: 7px;
  }

  .calendar-day__number {
    font-size: 13px;
  }

  .calendar-day__label {
    font-size: 10px;
    -webkit-line-clamp: 1;
  }

  .cuti-detail-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cuti-detail-person {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cuti-detail-person__main strong {
    white-space: normal;
  }

  .cuti-detail-person__status {
    justify-content: flex-start;
  }

  .cuti-hybrid-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cuti-hybrid-section .cuti-detail-list,
  .cuti-hybrid-section .cuti-modal-table-wrap {
    max-height: min(42vh, 420px);
  }

  .cuti-hybrid-section .cuti-detail-person {
    grid-template-columns: minmax(0, 1fr);
  }

  .cuti-hybrid-section .cuti-detail-person__main {
    grid-column: auto;
  }

  .cuti-hybrid-section .cuti-detail-person__status {
    justify-content: flex-start;
  }

  .cuti-hybrid-section__head {
    min-height: 58px;
    padding: 10px 12px;
  }

  .page-heading h1 {
    font-size: 26px;
  }

  .profile-hero h1 {
    font-size: 24px;
  }

  .profile-hero__meta {
    min-width: 0;
  }

  .signature-current {
    order: -1;
    align-items: stretch;
    flex-direction: column;
  }

  .signature-current small {
    max-width: none;
    text-align: left;
  }

  .signature-preview,
  .signature-empty {
    flex-basis: auto;
    width: 100%;
  }

  .signature-editor__header,
  .signature-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .signature-methods {
    grid-template-columns: 1fr;
  }

  .signature-editor__header .btn {
    align-self: stretch;
  }

  .signature-upload-row,
  .signature-submit {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .signature-submit {
    display: grid;
  }

  .signature-pad {
    min-height: 220px;
  }

  .user-chip span {
    display: none;
  }

  .card__header,
  .card__body,
  .card__footer {
    padding: 14px;
  }

  .table-pagination {
    padding: 14px;
  }

  .btn {
    width: 100%;
  }

  .btn-icon {
    width: 40px;
  }

  .table-actions,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .table-actions .btn-icon {
    width: 100%;
  }
}

.about-heading h1 {
  letter-spacing: 0;
}

.about-hero {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  min-height: 260px;
  padding: 32px;
  overflow: hidden;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary-soft) 64%, transparent), transparent 62%),
    var(--bg-card);
}

.about-hero__mark {
  display: grid;
  place-items: center;
  width: 172px;
  height: 172px;
  border: 1px solid color-mix(in srgb, var(--primary) 28%, var(--border-color));
  border-radius: 34px;
  background:
    radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--primary-soft) 72%, var(--bg-input)), transparent 56%),
    var(--bg-input);
  box-shadow: 0 22px 46px color-mix(in srgb, var(--primary) 16%, transparent);
}

.about-hero__mark img {
  width: 124px;
  height: 124px;
  object-fit: contain;
}

.about-hero__content {
  min-width: 0;
}

.about-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.about-hero h2 {
  max-width: 860px;
  margin: 0;
  color: var(--text-main);
  font-size: 26px;
  line-height: 1.2;
}

.about-hero p {
  max-width: 840px;
  margin: 10px 0 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.about-version-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.about-version-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
}

.about-version-card .card__header {
  min-height: 112px;
  align-items: flex-start;
}

.about-version-card .card__body {
  flex: 1 1 auto;
}

.about-version-card--old {
  border-color: color-mix(in srgb, var(--text-muted) 28%, var(--border-color));
}

.about-version-card--new {
  border-color: color-mix(in srgb, var(--primary) 38%, var(--border-color));
  box-shadow: 0 18px 42px color-mix(in srgb, var(--primary) 12%, transparent);
}

.about-feature-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.about-feature-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-muted);
}

.about-feature-list .material-symbols-outlined {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
}

.about-feature-list strong {
  display: block;
  color: var(--text-main);
  font-weight: 900;
}

.about-feature-list p {
  margin: 4px 0 0;
  color: var(--text-muted);
  line-height: 1.55;
}

.about-focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.about-focus-card {
  padding: 18px;
}

.about-focus-card .material-symbols-outlined {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: var(--info-soft);
  color: var(--info);
}

.about-focus-card h2 {
  margin: 0;
  color: var(--text-main);
  font-size: 17px;
}

.about-focus-card p {
  margin: 8px 0 0;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .about-hero,
  .about-version-grid,
  .about-focus-grid {
    grid-template-columns: 1fr;
  }

  .about-hero {
    padding: 18px;
    min-height: auto;
  }

  .about-hero__mark {
    width: 112px;
    height: 112px;
    border-radius: 24px;
  }

  .about-hero__mark img {
    width: 78px;
    height: 78px;
  }

  .about-hero h2 {
    font-size: 22px;
  }
}

@media (max-width: 980px) {
  .cuti-confirm-modal-layout {
    grid-template-columns: 1fr;
  }

  .cuti-confirm-history-side {
    position: static;
  }
}

@media (max-width: 767px) {
  .cuti-confirmation-backdrop {
    padding: 10px;
    padding-top: max(10px, env(safe-area-inset-top));
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }

  .cuti-confirmation-modal {
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - max(20px, env(safe-area-inset-top) + env(safe-area-inset-bottom)));
  }

  .cuti-confirmation-actions {
    padding: 12px 14px max(12px, env(safe-area-inset-bottom));
  }

  .cuti-confirmation-actions .btn {
    min-width: 0;
  }
}

.cuti-rules-page {
  display: grid;
  gap: 18px;
}

.cuti-rules-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary-soft) 70%, transparent), transparent 56%),
    var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.cuti-rules-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: var(--info-soft);
  color: var(--info);
  font-size: 12px;
  font-weight: 900;
}

.cuti-rules-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--text-main);
  font-size: 30px;
  line-height: 1.16;
  letter-spacing: 0;
}

.cuti-rules-hero p {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--text-muted);
  line-height: 1.65;
}

.cuti-rules-hero__panel {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  justify-self: end;
  min-width: 230px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--border-color));
  border-radius: 16px;
  background: color-mix(in srgb, var(--bg-card) 76%, var(--primary-soft));
}

.cuti-rules-hero__panel .material-symbols-outlined {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 20px;
}

.cuti-rules-hero__panel div {
  min-width: 0;
}

.cuti-rules-hero__panel strong {
  display: block;
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.25;
}

.cuti-rules-hero__panel small {
  display: block;
  margin-bottom: 2px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}

.cuti-rules-hero__panel em {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 7px;
  margin-top: 5px;
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--primary);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.cuti-rules-hero__action {
  grid-column: 2;
  justify-self: end;
  white-space: nowrap;
}

.cuti-rules-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cuti-rules-highlight {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 86px;
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.cuti-rules-highlight .material-symbols-outlined {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary);
}

.cuti-rules-highlight small,
.cuti-rules-mini-grid small,
.cuti-rules-timeline span {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.cuti-rules-highlight strong,
.cuti-rules-mini-grid strong,
.cuti-rules-timeline strong {
  display: block;
  margin-top: 4px;
  color: var(--text-main);
  font-size: 15px;
  line-height: 1.35;
}

.cuti-rules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.cuti-rules-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.cuti-rules-card--wide {
  grid-column: span 2;
}

.cuti-rules-section {
  padding: 20px;
}

.cuti-rules-card__head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.cuti-rules-card__head > div {
  min-width: 0;
  flex: 1 1 auto;
}

.cuti-rules-card__head h2 {
  margin: 0;
  color: var(--text-main);
  font-size: 18px;
  line-height: 1.25;
}

.cuti-rules-card__head p {
  margin: 4px 0 0;
  color: var(--text-muted);
  line-height: 1.5;
}

.cuti-rules-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--bg-muted);
  color: var(--text-muted);
}

.cuti-rules-icon--blue { background: var(--primary-soft); color: var(--primary); }
.cuti-rules-icon--amber { background: var(--warning-soft); color: var(--warning); }
.cuti-rules-icon--green { background: var(--success-soft); color: var(--success); }
.cuti-rules-icon--red { background: var(--danger-soft); color: var(--danger); }
.cuti-rules-icon--purple { background: color-mix(in srgb, #8b5cf6 18%, var(--bg-muted)); color: #7c3aed; }

.cuti-rules-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--bg-muted);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.cuti-rules-pill.is-success { background: var(--success-soft); color: var(--success); }
.cuti-rules-pill.is-muted { background: var(--bg-muted); color: var(--text-muted); }
.cuti-rules-pill.is-warning { background: var(--warning-soft); color: var(--warning); }

.cuti-rules-note {
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--info) 24%, transparent);
  border-radius: var(--radius-md);
  background: var(--info-soft);
  color: var(--info);
  line-height: 1.55;
}

.cuti-rules-note strong {
  color: inherit;
}

.cuti-rules-chain-warning {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--warning) 38%, var(--border-color));
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--warning-soft) 78%, var(--bg-card));
}

.cuti-rules-chain-warning > .material-symbols-outlined {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--warning) 18%, var(--bg-card));
  color: var(--warning);
  font-size: 22px;
}

.cuti-rules-chain-warning strong {
  display: block;
  color: var(--text-main);
  line-height: 1.4;
}

.cuti-rules-chain-warning p {
  margin: 5px 0 0;
  color: var(--text-main);
  line-height: 1.55;
}

.cuti-rules-chain-warning small {
  display: block;
  margin-top: 7px;
  color: var(--text-muted);
  font-weight: 700;
  line-height: 1.5;
}

.cuti-rules-example {
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, #8b5cf6 24%, var(--border-color));
  border-radius: var(--radius-md);
  background:
    linear-gradient(0deg, color-mix(in srgb, #8b5cf6 7%, transparent), color-mix(in srgb, #8b5cf6 7%, transparent)),
    var(--bg-muted);
}

.cuti-rules-example span {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: color-mix(in srgb, #8b5cf6 14%, var(--bg-card));
  color: #7c3aed;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.cuti-rules-example strong {
  display: block;
  margin-top: 9px;
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.35;
}

.cuti-rules-example p {
  margin: 8px 0 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.cuti-rules-example p strong {
  display: inline;
  margin: 0;
  color: var(--text-main);
  font-size: inherit;
}

.cuti-rules-inline-example {
  margin-top: 10px;
  padding: 11px 12px;
  border: 1px solid color-mix(in srgb, var(--primary) 18%, var(--border-color));
  border-radius: var(--radius-sm);
  background: var(--bg-card);
}

.cuti-rules-inline-example span {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.cuti-rules-inline-example p {
  margin: 7px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.58;
}

.cuti-rules-inline-example strong {
  display: inline;
  margin: 0;
  color: var(--text-main);
  font-size: inherit;
}

.cuti-rules-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.cuti-rules-mini-grid--stack {
  grid-template-columns: 1fr;
}

.cuti-rules-mini-grid > div,
.cuti-rules-timeline > div,
.cuti-rules-limit-item {
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-muted);
}

.cuti-rules-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.cuti-rules-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: var(--bg-input);
  color: var(--text-main);
  font-size: 12px;
  font-weight: 800;
}

.cuti-rules-chip strong {
  color: var(--primary);
}

.cuti-rules-timeline {
  display: grid;
  gap: 10px;
}

.cuti-rules-muted {
  margin: 12px 0 0;
  color: var(--text-muted);
  line-height: 1.58;
}

.cuti-rules-big-number {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--bg-muted);
}

.cuti-rules-big-number strong {
  color: var(--primary);
  font-size: 36px;
  line-height: 1;
}

.cuti-rules-big-number span {
  color: var(--text-muted);
  font-weight: 800;
}

.cuti-rules-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cuti-rules-type-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--cuti-type-color, var(--primary));
  border-radius: var(--radius-md);
  background: var(--bg-muted);
}

.cuti-rules-type-card--attachment {
  background:
    linear-gradient(0deg, color-mix(in srgb, var(--warning) 7%, transparent), color-mix(in srgb, var(--warning) 7%, transparent)),
    var(--bg-muted);
  border-color: color-mix(in srgb, var(--warning) 34%, var(--border-color));
}

.cuti-rules-type-card__title {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.cuti-rules-type-card__title span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--cuti-type-color, var(--primary));
}

.cuti-rules-type-card__title strong {
  min-width: 0;
  color: var(--text-main);
  line-height: 1.35;
}

.cuti-rules-type-card__title em {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--bg-input);
  color: var(--text-muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.cuti-rules-type-card__title b {
  grid-column: 2 / -1;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 5px;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid color-mix(in srgb, var(--warning) 36%, transparent);
  border-radius: 999px;
  background: var(--warning-soft);
  color: var(--warning);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.cuti-rules-type-card__title b .material-symbols-outlined {
  font-size: 15px;
  line-height: 1;
}

.cuti-rules-type-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.cuti-rules-type-card__meta span {
  padding: 5px 8px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
}

.cuti-rules-meta-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid color-mix(in srgb, var(--warning) 34%, var(--border-color));
  border-radius: 999px;
  background: var(--warning-soft);
  color: var(--warning);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.cuti-rules-meta-button:hover {
  border-color: color-mix(in srgb, var(--warning) 58%, var(--border-color));
  filter: brightness(.98);
}

.cuti-rules-meta-button .material-symbols-outlined {
  font-size: 16px;
  line-height: 1;
}

.cuti-cap-detail-modal {
  color: var(--text-muted);
  text-align: left;
}

.cuti-cap-detail-modal p {
  margin: 0;
  line-height: 1.65;
}

.cuti-cap-detail-modal__list {
  display: grid;
  gap: 8px;
  margin: 12px 0 16px;
}

.cuti-cap-detail-modal__list div {
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--bg-muted);
}

.cuti-cap-detail-modal__list strong,
.cuti-cap-detail-modal__list span {
  display: block;
}

.cuti-cap-detail-modal__list strong {
  color: var(--text-main);
  font-size: 13px;
  line-height: 1.35;
}

.cuti-cap-detail-modal__list span {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.45;
}

.cuti-cap-detail-modal .is-muted {
  margin-top: 12px;
  color: var(--danger);
  font-weight: 800;
}

.cuti-cap-detail-modal__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.cuti-cap-detail-modal__chips span {
  padding: 7px 10px;
  border: 1px solid color-mix(in srgb, var(--info) 30%, var(--border-color));
  border-radius: 999px;
  background: var(--info-soft);
  color: var(--info);
  font-size: 12px;
  font-weight: 900;
}

.cuti-rules-limit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.cuti-rules-limit-item span,
.cuti-rules-limit-item em {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.cuti-rules-limit-item strong {
  display: block;
  margin: 5px 0;
  color: var(--text-main);
}

.cuti-rules-message {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--info) 24%, transparent);
  border-radius: var(--radius-md);
  background: var(--info-soft);
  color: var(--info);
}

.cuti-rules-message--warning {
  border-color: color-mix(in srgb, var(--warning) 28%, transparent);
  background: var(--warning-soft);
  color: var(--warning);
}

.cuti-rules-message .material-symbols-outlined {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: color-mix(in srgb, currentColor 12%, transparent);
}

.cuti-rules-message p {
  margin: 0;
  line-height: 1.55;
}

.cuti-rules-empty {
  grid-column: 1 / -1;
  padding: 18px;
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 1180px) {
  .cuti-rules-hero {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .cuti-rules-hero__action {
    grid-column: 2;
    justify-self: end;
  }

  .cuti-rules-grid,
  .cuti-rules-limit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cuti-rules-card--wide {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .cuti-rules-hero,
  .cuti-rules-highlight-grid,
  .cuti-rules-grid,
  .cuti-rules-type-grid,
  .cuti-rules-limit-grid {
    grid-template-columns: 1fr;
  }

  .cuti-rules-card--wide,
  .cuti-rules-hero__action {
    grid-column: auto;
  }

  .cuti-rules-hero {
    padding: 18px;
  }

  .cuti-rules-hero__panel,
  .cuti-rules-hero__action {
    justify-self: stretch;
    width: 100%;
  }

  .cuti-rules-hero h1 {
    font-size: 24px;
  }

  .cuti-rules-hero__action {
    width: 100%;
  }

  .cuti-rules-card__head,
  .cuti-rules-type-card__title {
    align-items: flex-start;
  }

  .cuti-rules-pill {
    margin-left: auto;
  }

  .cuti-rules-mini-grid {
    grid-template-columns: 1fr;
  }

}

/* Responsive polish: mobile-heavy screens from field testing. */
.surat-tugas-place {
  display: -webkit-box;
  max-width: 360px;
  overflow: hidden;
  color: var(--text-main);
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.surat-tugas-detail-actions {
  align-items: center;
  flex-wrap: wrap;
}

.pagination {
  align-items: center;
}

.table-pagination {
  overflow-x: auto;
  scrollbar-width: thin;
}

.swal2-popup.cuti-detail-modal,
.swal2-popup.cuti-summary-modal {
  padding: 0 0 18px !important;
}

.swal2-popup.cuti-detail-modal .swal2-icon,
.swal2-popup.cuti-summary-modal .swal2-icon {
  display: none !important;
}

.swal2-popup.cuti-detail-modal .swal2-title,
.swal2-popup.cuti-summary-modal .swal2-title {
  margin: 22px 22px 12px !important;
  color: var(--text-main) !important;
  font-size: 24px !important;
  line-height: 1.18 !important;
}

.swal2-popup.cuti-detail-modal .swal2-html-container,
.swal2-popup.cuti-summary-modal .swal2-html-container {
  padding-inline: 22px !important;
}

.booking-event {
  min-height: 34px;
}

@media (max-width: 767px) {
  .login-portal {
    padding: 10px;
    background:
      radial-gradient(circle at 85% 2%, rgba(124, 58, 237, .18), transparent 36%),
      linear-gradient(180deg, #eef4ff 0%, #f8fbff 56%, #e0f2fe 100%);
  }

  .login-portal__shell {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: calc(100svh - 20px);
    padding: 18px 18px 18px;
    border-radius: 28px;
  }

  .login-portal__shell::after {
    width: 260px;
  }

  .login-portal__intro {
    gap: 12px;
    justify-items: center;
    text-align: center;
  }

  .login-portal__badge {
    padding: 8px 14px;
  }

  .login-portal__brand {
    flex-direction: column;
    gap: 8px;
  }

  .login-portal__brand img {
    width: 68px;
    height: 68px;
    border-radius: 20px;
  }

  .login-portal__brand h1 {
    font-size: 32px;
  }

  .login-portal__brand p {
    max-width: 310px;
    margin-top: 6px;
    font-size: 12px;
  }

  .login-portal__visual {
    width: min(100%, 280px);
    min-height: 180px;
    margin-top: 0;
  }

  .login-portal__glow--one {
    width: 140px;
    height: 140px;
  }

  .login-portal__glow--two {
    width: 160px;
    height: 160px;
  }

  .login-portal__orbit {
    width: 88px;
    height: 88px;
    border-radius: 25px;
  }

  .login-portal__orbit::before {
    inset: -27px;
  }

  .login-portal__orbit .material-symbols-outlined {
    font-size: 34px;
  }

  .login-portal__orbit-icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }

  .login-portal__orbit-icon .material-symbols-outlined {
    font-size: 23px;
  }

  .login-portal__dots {
    justify-content: center;
    padding-left: 0;
  }

  .login-portal__dots .is-active {
    width: 78px;
  }

  .login-portal__card {
    width: 100%;
    gap: 13px;
    padding: 20px 18px 18px;
    border-radius: 24px;
  }

  .login-portal__card-header {
    text-align: left;
  }

  .login-portal__card-header h2 {
    font-size: 29px;
  }

  .login-portal__input .form-control {
    min-height: 50px;
  }

  .login-portal__submit {
    min-height: 50px;
  }

  .auth-shell {
    min-height: 100svh;
    align-items: center;
    place-items: center;
    padding: clamp(18px, 6svh, 42px) 18px 24px;
  }

  .auth-panel {
    width: min(100%, 430px);
    transform: translateY(-3svh);
  }

  .auth-brand {
    margin-bottom: 16px;
  }

  .auth-logo {
    width: 104px;
    height: 104px;
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 20px;
  }

  .auth-brand h1 {
    font-size: 36px;
    line-height: 1;
  }

  .auth-brand p {
    margin-top: 6px;
  }

  .auth-card {
    padding: 20px;
    gap: 16px;
  }

  .confirmation-item {
    gap: 14px;
  }

  .confirmation-item .btn {
    align-self: flex-start;
    width: auto;
    min-height: 40px;
    padding: 9px 13px;
  }

  .confirmation-bulk-action .btn {
    width: auto;
  }

  .confirmation-toolbar .toolbar-form__actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .confirmation-toolbar .toolbar-form__actions .btn {
    flex: 0 1 auto;
    width: auto;
    min-width: 104px;
  }

  .calendar-controls {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: center;
  }

  .calendar-controls strong {
    order: 0;
    grid-column: 2;
    grid-row: 1;
    text-align: center;
  }

  .calendar-controls [data-calendar-prev] {
    grid-column: 1;
    grid-row: 1;
  }

  .calendar-controls [data-calendar-next] {
    grid-column: 3;
    grid-row: 1;
  }

  .calendar-controls .segmented-control {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .calendar-today-btn {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
  }

  .calendar-day__events {
    gap: 4px;
  }

  .calendar-day__events .cuti-event-pill {
    max-width: 100%;
    padding: 3px 6px;
    font-size: 9px;
  }

  .calendar-day__events .cuti-event-pill--total {
    width: fit-content;
    min-width: 28px;
    padding: 4px 8px;
    font-size: 11px;
  }

  .swal2-popup.cuti-detail-modal,
  .swal2-popup.cuti-summary-modal {
    width: calc(100vw - 20px) !important;
  }

  .swal2-popup.cuti-detail-modal .swal2-title,
  .swal2-popup.cuti-summary-modal .swal2-title {
    margin: 18px 14px 10px !important;
    font-size: 21px !important;
    text-align: left !important;
  }

  .swal2-popup.cuti-detail-modal .swal2-html-container,
  .swal2-popup.cuti-summary-modal .swal2-html-container {
    padding-inline: 14px !important;
  }

  .cuti-modal-topline,
  .cuti-modal-topline--detail {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .cuti-modal-date-banner {
    padding: 11px 12px;
  }

  .cuti-detail-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cuti-detail-person {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 10px;
  }

  .cuti-detail-person__main {
    grid-column: 1 / -1;
  }

  .cuti-detail-person__main strong {
    white-space: normal;
  }

  .cuti-detail-person__status {
    justify-content: flex-start;
  }

  .booking-calendar-controls {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    width: 100%;
  }

  .booking-calendar-controls > div {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    text-align: center;
  }

  .booking-calendar-controls > .btn:first-child {
    grid-column: 1;
    grid-row: 1;
  }

  .booking-calendar-controls > .btn:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
  }

  .booking-calendar-controls > .btn:last-child {
    grid-column: 1 / -1;
    justify-content: center;
    width: 100%;
  }

  .booking-event {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    min-height: 42px;
    padding: 7px 8px;
  }

  .booking-event strong {
    font-size: 11px;
  }

  .booking-event span {
    white-space: normal;
    display: -webkit-box;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .signature-pad {
    width: 100%;
    min-width: 0;
    min-height: 160px;
    max-height: none;
    aspect-ratio: 2.4 / 1;
  }

  .signature-editor,
  .signature-canvas-section,
  .signature-form,
  .signature-pad {
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .signature-pad canvas,
  .form-control,
  .form-select,
  .form-textarea,
  textarea,
  input,
  select {
    max-width: 100%;
  }

  .surat-tugas-place {
    max-width: 220px;
    -webkit-line-clamp: 2;
  }

  .table-pagination {
    justify-content: flex-start;
    flex-wrap: nowrap;
    padding: 12px 14px;
  }

  .page-link {
    flex: 0 0 auto;
    min-width: 34px;
    min-height: 34px;
    padding: 5px 9px;
  }

  .booking-form-shell .card__header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
  }

  .booking-form-shell .section-subtitle {
    margin-top: 0;
    line-height: 1.45;
  }

  .booking-form-shell .form-grid,
  .booking-form-shell .booking-time-grid {
    gap: 12px;
  }

  .booking-form-shell .booking-time-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    overflow: hidden;
  }

  .booking-form-shell .booking-time-grid > .form-group {
    width: 100%;
    min-width: 0;
  }

  .booking-form-shell .booking-time-grid .form-control[type="date"],
  .booking-form-shell .booking-time-grid .form-control[type="time"] {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .booking-form-shell .form-group,
  .surat-tugas-card .form-group,
  .surat-tugas-card .form-control,
  .surat-tugas-card .form-select,
  .surat-tugas-card .form-textarea {
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 460px) {
  .auth-panel {
    transform: translateY(-2svh);
  }

  .auth-logo {
    width: 96px;
    height: 96px;
  }

  .confirmation-item .btn {
    justify-content: center;
    width: auto;
  }

  .confirmation-item .btn .material-symbols-outlined {
    font-size: 20px;
  }

  .confirmation-toolbar .toolbar-form__actions .btn {
    flex: 1 1 0;
    min-width: 0;
  }

  .signature-pad {
    min-height: 145px;
    aspect-ratio: 2 / 1;
  }

  .booking-form-shell .booking-time-grid .form-control[type="date"],
  .booking-form-shell .booking-time-grid .form-control[type="time"] {
    padding-left: 10px;
    padding-right: 8px;
    font-size: 13px;
  }

  .cuti-detail-summary {
    grid-template-columns: 1fr;
  }

  .cuti-status-pill {
    min-width: 0;
  }
}

.panduan-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: 18px;
  align-items: stretch;
}

.panduan-hero__copy,
.panduan-hero__panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.panduan-hero__copy {
  padding: 26px;
}

.panduan-hero__copy h1 {
  margin: 12px 0 8px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

.panduan-hero__copy p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.panduan-hero__panel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .10), rgba(45, 212, 191, .10)),
    var(--surface);
}

.panduan-hero__panel img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  flex: 0 0 auto;
}

.panduan-hero__panel strong {
  display: block;
  font-size: 22px;
  line-height: 1.15;
}

.panduan-hero__panel span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.55;
}

.panduan-quick-card .card__header {
  gap: 14px;
}

.panduan-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.panduan-feature-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  min-height: 164px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-muted);
}

.panduan-feature-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
}

.panduan-feature-card__icon .material-symbols-outlined {
  font-size: 25px;
}

.panduan-feature-card__body {
  min-width: 0;
}

.panduan-feature-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.25;
}

.panduan-feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.panduan-feature-card a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
}

.panduan-feature-card a .material-symbols-outlined {
  font-size: 18px;
}

.panduan-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
  gap: 18px;
  align-items: start;
}

.panduan-tip-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.panduan-tip-list li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
  color: var(--text);
  line-height: 1.55;
}

.panduan-tip-list .material-symbols-outlined {
  color: var(--success);
  font-size: 22px;
}

.panduan-help-list {
  display: grid;
  gap: 12px;
}

.panduan-help-list > div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.panduan-help-list > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.panduan-help-list .material-symbols-outlined {
  color: var(--primary);
}

.panduan-help-list strong,
.panduan-help-list small {
  grid-column: 2;
}

.panduan-help-list small {
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 980px) {
  .surat-tugas-assignee-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panduan-hero,
  .panduan-bottom-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .surat-tugas-assignee-toolbar {
    grid-template-columns: 1fr;
  }

  .surat-tugas-assignee-count {
    min-width: 0;
  }

  .surat-tugas-assignee-list {
    grid-template-columns: 1fr;
    max-height: 420px;
  }

  .panduan-hero__copy {
    padding: 20px;
  }

  .panduan-hero__panel {
    align-items: flex-start;
    padding: 18px;
  }

  .panduan-hero__panel img {
    width: 64px;
    height: 64px;
  }

  .panduan-feature-grid {
    grid-template-columns: 1fr;
  }

  .panduan-feature-card {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 0;
    padding: 14px;
  }

  .panduan-feature-card__icon {
    width: 42px;
    height: 42px;
  }
}

.review-layout,
.review-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .75fr);
  gap: 18px;
  align-items: start;
}

.review-form-card .card__header {
  gap: 12px;
}

.review-thankyou-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border-color: rgba(16, 185, 129, .28);
  background:
    linear-gradient(135deg, rgba(236, 253, 245, .92), rgba(255, 255, 255, .96) 58%),
    var(--surface);
}

.review-thankyou-card__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  color: #059669;
  background: rgba(16, 185, 129, .14);
}

.review-thankyou-card__icon .material-symbols-outlined {
  font-size: 34px;
  font-variation-settings: "FILL" 1, "wght" 600, "GRAD" 0, "opsz" 34;
}

.review-thankyou-card__content {
  min-width: 0;
}

.review-thankyou-card h2 {
  margin: 8px 0 6px;
  font-size: 24px;
}

.review-thankyou-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.review-thankyou-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

.review-thankyou-card__meta small {
  color: var(--muted);
}

.review-thankyou-card blockquote {
  margin: 14px 0 0;
  padding: 14px 16px;
  border-left: 4px solid #10b981;
  border-radius: 12px;
  color: var(--text);
  background: rgba(255, 255, 255, .74);
}

.review-form {
  display: grid;
  gap: 14px;
}

.review-stars {
  display: inline-flex;
  justify-content: flex-end;
  gap: 6px;
  width: fit-content;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-muted);
}

.review-stars input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.review-stars label {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #cbd5e1;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.review-stars label.is-active {
  color: #f59e0b;
  background: rgba(245, 158, 11, .12);
}

.review-stars label:hover {
  transform: translateY(-1px);
}

.review-stars .material-symbols-outlined {
  font-size: 30px;
  font-variation-settings: "FILL" 1, "wght" 600, "GRAD" 0, "opsz" 32;
}

.review-comment {
  min-height: 140px;
  resize: vertical;
}

.review-info-card {
  padding: 24px;
}

.review-info-card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  border-radius: 16px;
  color: var(--primary);
  background: var(--primary-soft);
}

.review-info-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.review-info-card p,
.review-info-card li {
  color: var(--muted);
  line-height: 1.55;
}

.review-info-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.review-summary-card {
  min-width: 0;
}

.review-filter-form {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(180px, 240px) auto;
  gap: 14px;
  align-items: end;
}

.review-filter-form__actions {
  display: flex;
  align-items: end;
}

.review-export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.review-score {
  display: grid;
  gap: 6px;
  justify-items: start;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-muted);
}

.review-score strong {
  font-size: 42px;
  line-height: 1;
}

.review-stars-inline {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #f59e0b;
  white-space: nowrap;
}

.review-stars-inline b {
  margin-left: 4px;
  color: var(--muted);
  font-size: 12px;
}

.review-stars-inline .material-symbols-outlined {
  font-size: 20px;
  font-variation-settings: "FILL" 1, "wght" 600, "GRAD" 0, "opsz" 20;
}

.review-distribution {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.review-distribution__row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 34px;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.review-distribution__row span {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.review-distribution__row .material-symbols-outlined {
  font-size: 16px;
  color: #f59e0b;
  font-variation-settings: "FILL" 1, "wght" 600, "GRAD" 0, "opsz" 16;
}

.review-distribution__row div {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--border);
}

.review-distribution__row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f59e0b, #facc15);
}

.review-list-card {
  min-width: 0;
}

.review-list-card td small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.review-community {
  min-width: 0;
}

.review-community__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 4px 2px 16px;
  border-bottom: 1px solid var(--border-color);
}

.review-community__header h2 {
  margin: 8px 0 4px;
  color: var(--text-main);
  font-size: 22px;
  letter-spacing: 0;
}

.review-community__header p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.5;
}

.review-community__score {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  min-width: 180px;
  padding: 10px 12px;
  border-left: 3px solid var(--warning);
}

.review-community__score > strong {
  color: var(--text-main);
  font-size: 32px;
  line-height: 1;
}

.review-community__score > div {
  display: grid;
  gap: 2px;
}

.review-community__score small {
  color: var(--text-muted);
}

.review-community__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 16px;
}

.review-community-item {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}

.review-community-item__head {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.review-community-item__avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
}

.review-community-item__head > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.review-community-item__head strong {
  overflow: hidden;
  color: var(--text-main);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-community-item__head small {
  color: var(--text-muted);
  font-size: 12px;
}

.review-community-item__comment,
.review-community-comment summary,
.review-community-comment > p {
  color: var(--text-main);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.review-community-item__comment {
  margin: 14px 0 0;
}

.review-community-comment {
  margin-top: 14px;
}

.review-community-comment summary {
  cursor: pointer;
  list-style: none;
}

.review-community-comment summary::-webkit-details-marker {
  display: none;
}

.review-community-comment__preview {
  display: block;
}

.review-community-comment__toggle {
  display: inline-flex;
  margin-top: 8px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.review-community-comment__less,
.review-community-comment[open] .review-community-comment__preview,
.review-community-comment[open] .review-community-comment__more {
  display: none;
}

.review-community-comment[open] .review-community-comment__less {
  display: inline;
}

.review-community-comment > p {
  margin: 8px 0 0;
}

.review-community .table-pagination {
  margin-top: 14px;
  padding-inline: 0;
  background: transparent;
}

@media (max-width: 980px) {
  .review-layout,
  .review-admin-grid {
    grid-template-columns: 1fr;
  }

  .review-filter-form {
    grid-template-columns: 1fr 1fr;
  }

  .review-filter-form__actions {
    grid-column: 1 / -1;
  }

  .review-community__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .review-thankyou-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .review-thankyou-card__icon {
    width: 54px;
    height: 54px;
  }

  .review-filter-card .card__header {
    align-items: stretch;
  }

  .review-filter-card .card__header .btn {
    width: 100%;
  }

  .review-export-actions {
    width: 100%;
    justify-content: stretch;
  }

  .review-export-actions .btn {
    flex: 1 1 120px;
  }

  .review-filter-form {
    grid-template-columns: 1fr;
  }

  .review-stars {
    width: 100%;
    justify-content: center;
  }

  .review-stars label {
    width: 38px;
    height: 38px;
  }

  .review-community__header {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .review-community__score {
    min-width: 0;
    padding-block: 6px;
  }

  .review-community-item {
    padding: 14px;
  }

  .review-community-item__head {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .review-community-item__avatar {
    width: 38px;
    height: 38px;
  }

  .review-community-item__head > .review-stars-inline {
    grid-column: 2;
    justify-self: start;
  }
}
.cuti-preview-process-note {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid currentColor;
  opacity: 0.82;
}
