:root {
    --navy: #0f274a;
    --navy-light: #173b70;
    --blue: #2563eb;
    --blue-hover: #1d4ed8;
    --sky: #f0f6ff;
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --bg: #f8fafc;
    --card-bg: #ffffff;
    --green: #10b981;
    --green-bg: #ecfdf5;
    --green-text: #065f46;
    --amber: #f59e0b;
    --amber-bg: #fffbeb;
    --amber-text: #92400e;
    --red: #ef4444;
    --red-bg: #fef2f2;
    --red-text: #991b1b;
    --radius: 12px;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.12);
  }

  * {
    box-sizing: border-box;
  }

  body {
    margin: 0;
    background: var(--bg);
    font-family: 'Plus Jakarta Sans', Inter, system-ui, -apple-system, sans-serif;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
  }

  button,
  input,
  select,
  textarea {
    font-family: inherit;
    font-size: 13px;
  }

  button {
    cursor: pointer;
  }

  .hidden {
    display: none !important;
  }

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

  .tiny {
    font-size: 12px;
    line-height: 1.6;
  }

  .eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #3b82f6;
  }

  /* ==================== LOGIN VIEW ==================== */
  .login-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 20px;
    background:
      radial-gradient(900px 520px at 12% 0%, #dbeafe 0%, transparent 58%),
      radial-gradient(760px 520px at 100% 100%, #eef4ff 0%, transparent 55%),
      #f6f9fd;
  }

  .login-card {
    width: min(100%, 440px);
    padding: 34px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 28px 70px -32px rgba(15, 23, 42, 0.32);
  }

  .login-brand-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
  }

  .login-brand-name {
    display: block;
    font-size: 15px;
    font-weight: 750;
    letter-spacing: -0.2px;
    color: var(--ink);
  }

  .login-kicker {
    display: block;
    margin-bottom: 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: var(--blue);
  }

  .login-intro h1 {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: -0.8px;
    color: var(--ink);
  }

  .login-intro p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--muted);
  }

  .login-help {
    margin: 14px 0 0;
    text-align: center;
    font-size: 11.5px;
    color: var(--muted);
  }

  .campus-logo {
    height: 54px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.08));
    display: inline-block;
  }

  .campus-logo.small {
    height: 38px;
    margin: 0;
  }

  .brand-sub {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    margin-top: 1px;
  }

  .brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
    margin-bottom: 24px;
  }

  .brand-mark.small {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    margin: 0;
    font-size: 14px;
  }

  /* Tag Data Pendamping / Koreksi */
  .badge-companion {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    color: #0284c7;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    padding: 1px 6px;
    border-radius: 4px;
    margin-left: 6px;
    text-transform: uppercase;
  }

  .companion-diff {
    display: block;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 11px;
    margin-top: 4px;
    color: #92400e;
    line-height: 1.4;
  }

  .login-card h1 {
    font-size: clamp(30px, 3.5vw, 40px);
    line-height: 1.15;
    letter-spacing: -1px;
    margin: 12px 0;
    color: var(--ink);
  }

  .login-card>p {
    line-height: 1.6;
    color: var(--muted);
  }

  .login-card form {
    display: grid;
    gap: 10px;
    margin: 22px 0 0;
  }

  .login-card label,
  .modal-card label {
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    margin-top: 0;
  }

  .login-card input,
  .field,
  .modal-card input,
  .modal-card select,
  .modal-card textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: white;
    outline: none;
    color: var(--ink);
    transition: all 0.15s ease;
  }

  .login-card input:focus,
  .modal-card input:focus,
  .modal-card select:focus,
  .modal-card textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
  }

  .btn {
    border: 0;
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 650;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.15s ease;
  }

  .btn.primary {
    background: var(--blue);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22);
  }

  .btn.primary:hover {
    background: var(--blue-hover);
  }

  .btn.secondary {
    background: #f1f5f9;
    color: #1e293b;
  }

  .btn.secondary:hover {
    background: #e2e8f0;
  }

  .btn.ghost {
    background: white;
    border: 1px solid var(--line);
    color: #334155;
  }

  .btn.ghost:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
  }

  .btn.danger {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fee2e2;
  }

  .btn.danger:hover {
    background: #fee2e2;
  }

  .btn.small {
    padding: 7px 12px;
    font-size: 12px;
    border-radius: 8px;
  }

  .full {
    width: 100%;
    margin-top: 8px;
    padding: 13px;
  }

  .btn-arrow {
    font-size: 15px;
    transition: transform 0.15s ease;
  }

  .btn:hover .btn-arrow {
    transform: translateX(3px);
  }

  /* ==================== DASHBOARD SHELL ==================== */
  .app {
    height: 100vh;
    max-height: 100vh;
    display: flex;
    overflow: hidden;
  }

  .sidebar {
    width: 256px;
    height: 100vh;
    background: white;
    border-right: 1px solid var(--line);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .sidebar::-webkit-scrollbar {
    width: 5px;
  }

  .sidebar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
  }

  .sidebar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
  }

  .side-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 8px 24px;
  }

  .side-brand b {
    font-size: 14px;
    display: block;
    letter-spacing: -0.3px;
  }

  .side-brand small {
    display: block;
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
  }

  .sidebar nav {
    display: grid;
    gap: 6px;
  }

  .nav-item {
    border: 0;
    background: transparent;
    color: #64748b;
    text-align: left;
    text-decoration: none;
    padding: 11px 14px;
    border-radius: 10px;
    display: flex;
    gap: 12px;
    align-items: center;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
  }

  .nav-item.active,
  .nav-item:hover {
    background: #eff6ff;
    color: var(--blue);
  }

  .nav-group-label {
    padding: 14px 14px 4px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: #94a3b8;
  }

  .sidebar-bottom {
    margin-top: auto;
    display: grid;
    gap: 6px;
  }

  .help-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    margin: 16px 2px;
    font-size: 12px;
  }

  .help-card b {
    display: block;
    margin-bottom: 4px;
    color: #1e293b;
  }

  .help-card p {
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
  }

  .main {
    flex: 1;
    min-width: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--bg);
  }

  .main::-webkit-scrollbar {
    width: 7px;
  }

  .main::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
  }

  .main::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
  }

  .topbar {
    height: 84px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px clamp(18px, 4vw, 44px);
    position: sticky;
    top: 0;
    z-index: 20;
    flex-shrink: 0;
  }

  .topbar h1 {
    font-size: 22px;
    margin: 4px 0 0;
    letter-spacing: -0.5px;
    font-weight: 700;
  }

  .user-chip {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .user-chip b {
    font-size: 13px;
    display: block;
  }

  .user-chip small {
    font-size: 11px;
    color: var(--muted);
    display: block;
  }

  .avatar {
    width: 40px;
    height: 40px;
    background: #dbeafe;
    color: #1e40af;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-weight: 800;
    font-size: 15px;
  }

  .content {
    padding: 28px clamp(18px, 4vw, 44px) 50px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
  }

  .alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin: 16px clamp(18px, 4vw, 44px) 0;
    padding: 13px 18px;
    border-radius: 10px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    font-size: 13px;
    line-height: 1.5;
  }

  .login-note {
    margin-top: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 12px;
    color: #475569;
    line-height: 1.6;
  }

  .login-note b {
    color: #1e293b;
  }

  .login-note p {
    margin: 2px 0 0;
  }

  .login-note code {
    background: #e2e8f0;
    padding: 2px 6px;
    border-radius: 5px;
    font-family: monospace;
    font-weight: 700;
    color: #1e40af;
  }

  .welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
  }

  .welcome h2 {
    margin: 0 0 6px;
    font-size: 22px;
    letter-spacing: -0.5px;
    font-weight: 700;
  }

  .welcome p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
  }

  /* ==================== STATS CARDS ==================== */
  .stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 20px 0;
  }

  .stat,
  .panel {
    background: var(--card-bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
  }

  .stat-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
  }

  .stat-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #eff6ff;
    color: var(--blue);
    font-size: 17px;
  }

  .stat strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-top: 14px;
    color: var(--ink);
  }

  .stat small {
    font-size: 11px;
    color: var(--muted);
  }

  /* ==================== PANELS & CARDS ==================== */
  .panel {
    margin-bottom: 18px;
  }

  .panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
  }

  .panel-head h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
  }

  .panel-head p {
    font-size: 12px;
    color: var(--muted);
    margin: 4px 0 0;
  }

  .progress-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 0;
  }

  .progress-circle {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: conic-gradient(var(--blue) var(--progress, 0%), #e2e8f0 0);
    position: relative;
    flex-shrink: 0;
  }

  .progress-circle:after {
    content: "";
    position: absolute;
    inset: 8px;
    background: white;
    border-radius: 50%;
  }

  .progress-circle b {
    z-index: 1;
    font-size: 19px;
    font-weight: 800;
    color: var(--ink);
  }

  .progress-copy b {
    font-size: 14px;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
  }

  .progress-copy p {
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0;
  }

  /* ==================== DOCUMENT GRID ==================== */
  .doc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .doc-item {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: white;
    min-width: 0;
    transition: border-color 0.15s ease;
  }

  .doc-item:hover {
    border-color: #cbd5e1;
  }

  .file-icon {
    width: 40px;
    height: 44px;
    display: grid;
    place-items: center;
    background: #eff6ff;
    color: var(--blue);
    border-radius: 8px;
    font-size: 18px;
    flex-shrink: 0;
  }

  .doc-info {
    min-width: 0;
    flex: 1;
  }

  .doc-info b {
    font-size: 13px;
    font-weight: 700;
    display: block;
    line-height: 1.4;
    color: var(--ink);
  }

  .doc-info small {
    display: block;
    font-size: 11px;
    color: var(--muted);
    margin-top: 5px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  .doc-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 12px;
  }

  .doc-action-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
  }

  /* ==================== BADGES ==================== */
  .status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 99px;
    padding: 4px 9px;
    font-size: 10.5px;
    font-weight: 750;
    letter-spacing: 0.2px;
    white-space: nowrap;
  }

  .status.DISETUJUI {
    background: var(--green-bg);
    color: var(--green-text);
    border: 1px solid #a7f3d0;
  }

  .status.PERLU_REVISI,
  .status.DITOLAK {
    background: var(--amber-bg);
    color: var(--amber-text);
    border: 1px solid #fde68a;
  }

  .status.DITOLAK {
    background: var(--red-bg);
    color: var(--red-text);
    border: 1px solid #fecaca;
  }

  .status.MENUNGGU_VERIFIKASI {
    background: #fefce8;
    color: #854d0e;
    border: 1px solid #fef08a;
  }

  .status.BELUM {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
  }

  .status.aktif {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
  }

  .status.nonaktif {
    background: #f8fafc;
    color: #94a3b8;
    border: 1px solid #e2e8f0;
  }

  /* ==================== TABLES ==================== */
  .table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
  }

  table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
    background: white;
  }

  th,
  td {
    padding: 13px 15px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
    font-size: 12.5px;
    vertical-align: middle;
  }

  th {
    background: #f8fafc;
    color: #64748b;
    font-size: 10.5px;
    font-weight: 750;
    letter-spacing: 0.6px;
    text-transform: uppercase;
  }

  tr:last-child td {
    border-bottom: 0;
  }

  tbody tr:hover {
    background: #fafbfc;
  }

  .filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 14px;
  }

  .filters input,
  .filters select {
    max-width: 280px;
    flex: 1;
    min-width: 160px;
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 9px 12px;
    background: white;
    outline: none;
  }

  .filters input:focus,
  .filters select:focus {
    border-color: var(--blue);
  }

  .empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
  }

  .empty b {
    display: block;
    color: var(--ink);
    font-size: 15px;
    margin-bottom: 6px;
  }

  /* ==================== MODAL ==================== */
  .modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
    display: grid;
    place-items: center;
    padding: 20px;
    z-index: 100;
    overflow-y: auto;
  }

  .modal-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    width: min(520px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.18s ease-out;
  }

  .modal-card.modal-lg {
    width: min(840px, 95vw);
  }

  .modal.review-layer {
    z-index: 130;
    background: rgba(15, 23, 42, 0.52);
    backdrop-filter: blur(3px);
  }

  .review-modal-card {
    width: min(560px, 100%);
  }

  /* ==================== PRATINJAU BERKAS ==================== */
  .preview-modal {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: grid;
    place-items: center;
    padding: 22px;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(4px);
  }

  .preview-card {
    width: min(1120px, 96vw);
    height: min(88vh, 900px);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalIn 0.18s ease-out;
  }

  .preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    background: #f8fafc;
    flex-shrink: 0;
  }

  .preview-head-copy {
    min-width: 0;
  }

  .preview-head-copy span {
    display: block;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.9px;
    color: var(--muted);
    margin-bottom: 2px;
  }

  .preview-head-copy h3 {
    margin: 0;
    font-size: 14px;
    letter-spacing: -0.2px;
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .preview-head-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }

  .preview-head-actions .preview-close {
    position: static;
  }

  .preview-body {
    position: relative;
    flex: 1;
    min-height: 0;
    background: #eef2f7;
  }

  .preview-frame {
    width: 100%;
    height: 100%;
    border: 0;
    background: #ffffff;
    display: block;
  }

  .preview-loading {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #f8fafc;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
  }

  .preview-foot {
    padding: 9px 18px;
    border-top: 1px solid var(--line);
    background: #f8fafc;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
    flex-shrink: 0;
  }

  @media(max-width: 720px) {
    .preview-modal {
      padding: 0;
    }
    .preview-card {
      width: 100vw;
      height: 100vh;
      border-radius: 0;
    }
    .preview-head {
      padding: 12px 14px;
    }
    .preview-head-actions .btn {
      padding: 6px 9px;
      font-size: 10.5px;
    }
  }

  @keyframes modalIn {
    from {
      opacity: 0;
      transform: scale(0.96) translateY(6px);
    }

    to {
      opacity: 1;
      transform: scale(1) translateY(0);
    }
  }

  .modal-card h2 {
    font-size: 20px;
    font-weight: 750;
    margin: 0 0 8px;
    letter-spacing: -0.4px;
  }

  .modal-card p {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.6;
  }

  .modal-card form {
    display: grid;
    gap: 10px;
  }

  .modal-x {
    position: absolute;
    right: 16px;
    top: 16px;
    border: 0;
    background: #f1f5f9;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 20px;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s ease;
  }

  .modal-x:hover {
    background: #e2e8f0;
    color: #0f172a;
  }

  .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 14px;
  }

  /* ==================== PREVIEW MODAL ==================== */
  .file-preview-wrap {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #0f172a;
    margin: 14px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 320px;
    max-height: 560px;
  }

  .file-preview-img {
    max-width: 100%;
    max-height: 540px;
    object-fit: contain;
    display: block;
  }

  .file-preview-frame {
    width: 100%;
    height: 520px;
    border: 0;
    background: white;
  }

  .version-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 1px 5px;
    margin-left: 4px;
    vertical-align: middle;
  }

  .copy-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 14px 0;
  }

  .copy-box code {
    font-family: monospace;
    font-size: 16px;
    font-weight: 800;
    color: #1e40af;
    letter-spacing: 0.5px;
    word-break: break-all;
  }

  .dossier-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 18px;
  }

  .dossier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 10px;
  }

  .dossier-item small {
    display: block;
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.4px;
  }

  .dossier-item div {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    margin-top: 2px;
  }

  .preview-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }

  .preview-quick-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
  }

  /* ==================== TOAST NOTIFICATIONS ==================== */
  .toast {
    position: fixed;
    right: 24px;
    top: 24px;
    background: #0f172a;
    color: white;
    padding: 13px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.25);
    z-index: 200;
    font-size: 13px;
    font-weight: 500;
    max-width: min(440px, calc(100% - 48px));
    animation: toastIn 0.2s ease-out;
  }

  @keyframes toastIn {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .toast.error {
    background: #dc2626;
  }

  .loading {
    opacity: 0.65;
    pointer-events: none;
  }

  /* ==================== LOADING STATES ==================== */
  @keyframes spin {
    to { transform: rotate(360deg); }
  }

  @keyframes progressSlide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
  }

  .spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(37, 99, 235, 0.22);
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    flex-shrink: 0;
  }

  .btn.loading::before {
    content: '';
    display: inline-block;
    width: 13px;
    height: 13px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    opacity: 0.85;
    flex-shrink: 0;
  }

  .btn.loading .btn-arrow {
    opacity: 0;
  }

  .global-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 300;
    overflow: hidden;
    background: rgba(37, 99, 235, 0.12);
    pointer-events: none;
  }

  .global-progress span {
    display: block;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0), #2563eb, rgba(37, 99, 235, 0));
    animation: progressSlide 1.1s ease-in-out infinite;
  }

  .boot-screen {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #f8fafc;
    color: #334155;
    font-size: 13px;
    letter-spacing: -0.1px;
  }

  html.has-session #loginView {
    display: none !important;
  }

  html.has-session .boot-screen {
    display: flex;
  }

  .loading-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 220px;
    padding: 32px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
  }

  .content.is-updating {
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.12s ease;
  }

  /* ==================== BADGE WAJIB / OPSIONAL ==================== */
  .badge-wajib {
    display: inline-block;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 4px;
    padding: 1px 6px;
    margin-left: 6px;
    vertical-align: middle;
    text-transform: uppercase;
  }

  .badge-opsional {
    display: inline-block;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #64748b;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 1px 6px;
    margin-left: 6px;
    vertical-align: middle;
    text-transform: uppercase;
  }

  /* ==================== DOC CARD STATES ==================== */
  .doc-item.doc-done {
    border-color: #a7f3d0;
    background: #f0fdf4;
  }

  .doc-item.doc-revisi {
    border-color: #fde68a;
    background: #fffbeb;
  }

  .file-icon.icon-done {
    background: #dcfce7;
    color: #16a34a;
  }

  .file-icon.icon-revisi {
    background: #fef3c7;
    color: #d97706;
  }

  .admin-note {
    color: #b45309;
    font-weight: 600;
  }

  /* ==================== SECTION WAJIB / OPSIONAL ==================== */
  .section-wajib {
    border-left: 3px solid var(--blue);
  }

  .section-opsional {
    border-left: 3px solid #94a3b8;
  }

  /* ==================== DOC LIST COMPACT (CHECKLIST DASHBOARD) ==================== */
  .doc-list-compact {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .doc-list-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.12s ease;
  }

  .doc-list-row:last-child {
    border-bottom: 0;
  }

  .doc-list-row:hover {
    background: #f8fafc;
  }

  .doc-list-row.done {
    background: #f0fdf4;
  }

  .doc-list-row.revisi {
    background: #fffbeb;
    border-bottom-color: #fef3c7;
  }

  .doc-list-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 14px;
    flex-shrink: 0;
    background: #f1f5f9;
    color: #94a3b8;
    font-weight: 700;
  }

  .doc-list-row.done .doc-list-check {
    background: #dcfce7;
    color: #16a34a;
  }

  .doc-list-info {
    flex: 1;
    min-width: 0;
  }

  .doc-list-info b {
    font-size: 13px;
    font-weight: 650;
    display: block;
    line-height: 1.4;
    color: var(--ink);
  }

  .doc-list-info small {
    display: block;
    margin-top: 3px;
  }

  .doc-list-row.done .doc-list-info b {
    color: #15803d;
  }

  /* ==================== FILTER ROW (ADMIN) ==================== */
  .filter-row {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
  }

  .filter-row input,
  .filter-row select {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    font-size: 13px;
    outline: none;
    min-width: 0;
  }

  .filter-row input:focus,
  .filter-row select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  }

  /* ==================== RESPONSIVE BREAKPOINTS ==================== */
  @media(max-width: 980px) {
    .sidebar {
      width: 215px;
    }

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

    .panel-head {
      flex-wrap: wrap;
      gap: 10px;
    }
  }

  @media(max-width: 720px) {
    .app {
      display: block;
      height: auto;
      max-height: none;
      overflow: visible;
    }

    .sidebar {
      width: 100%;
      height: auto;
      padding: 12px;
      border-right: 0;
      border-bottom: 1px solid var(--line);
      overflow-y: visible;
    }

    .main {
      height: auto;
      overflow-y: visible;
    }

    .side-brand {
      padding: 0 4px 10px;
    }

    .side-brand b {
      font-size: 13px;
    }

    .sidebar nav {
      display: flex;
      flex-wrap: wrap;
      overflow-x: visible;
      gap: 4px;
      padding-bottom: 4px;
    }

    .nav-item {
      white-space: nowrap;
      padding: 9px 12px;
      font-size: 12px;
      flex-shrink: 0;
    }

    .nav-group-label {
      display: block;
      width: 100%;
      padding: 6px 8px 0;
    }

    .sidebar-bottom {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 8px;
    }

    .sidebar-bottom .nav-item {
      padding: 8px 10px;
      font-size: 11px;
    }

    .help-card {
      display: none;
    }

    .topbar {
      height: auto;
      min-height: 64px;
      padding: 12px 16px;
    }

    .topbar h1 {
      font-size: 18px;
    }

    .user-chip>div:last-child {
      display: none;
    }

    .content {
      padding: 16px 12px 32px;
    }

    .stats {
      gap: 8px;
    }

    .stat {
      padding: 12px;
    }

    .stat-top {
      font-size: 11px;
    }

    .stat-icon {
      width: 30px;
      height: 30px;
      font-size: 14px;
      border-radius: 8px;
    }

    .stat strong {
      font-size: 20px;
      margin-top: 10px;
    }

    .stat small {
      font-size: 10px;
    }

    .doc-grid {
      grid-template-columns: 1fr;
      gap: 10px;
    }

    .doc-item {
      padding: 14px;
      gap: 12px;
    }

    .doc-info b {
      font-size: 12.5px;
    }

    .doc-actions {
      margin-top: 10px;
      gap: 6px;
    }

    .doc-action-buttons {
      width: 100%;
      margin-left: 0;
    }

    .doc-action-buttons .btn {
      flex: 1 1 0;
      justify-content: center;
    }

    .doc-actions .btn.small {
      padding: 7px 10px;
      font-size: 11px;
    }

    .welcome {
      align-items: flex-start;
      flex-direction: column;
      gap: 10px;
      margin-bottom: 16px;
    }

    .welcome h2 {
      font-size: 19px;
    }

    .welcome p {
      font-size: 12px;
    }

    .panel {
      padding: 14px;
      margin-bottom: 14px;
    }

    .panel-head h3 {
      font-size: 14px;
    }

    .panel-head p {
      font-size: 11px;
    }

    .progress-row {
      flex-direction: column;
      align-items: flex-start;
      gap: 14px;
    }

    .progress-circle {
      width: 72px;
      height: 72px;
    }

    .progress-circle b {
      font-size: 16px;
    }

    .progress-copy b {
      font-size: 13px;
    }

    .progress-copy p {
      font-size: 11px;
    }

    .login-wrap {
      padding: 18px 14px;
    }

    .login-card {
      padding: 26px 20px;
      border-radius: 16px;
    }

    .login-intro h1 {
      font-size: 26px;
    }

    /* Filter row stacking on mobile */
    .filter-row {
      width: 100%;
    }

    .filter-row input,
    .filter-row select {
      width: 100%;
      flex: 1;
      font-size: 13px;
    }

    /* Doc list compact mobile */
    .doc-list-row {
      padding: 10px 12px;
      gap: 10px;
    }

    .doc-list-check {
      width: 24px;
      height: 24px;
      font-size: 12px;
    }

    .doc-list-info b {
      font-size: 12px;
    }

    /* Table responsive */
    table {
      min-width: 600px;
    }

    th, td {
      padding: 10px 12px;
      font-size: 11.5px;
    }

    /* Modal mobile */
    .modal-card {
      padding: 20px;
      border-radius: 14px;
      width: min(520px, calc(100% - 16px));
    }

    .modal-card h2 {
      font-size: 18px;
    }

    .modal-card.modal-lg {
      width: calc(100% - 16px);
    }

    /* Alert on mobile */
    .alert {
      margin: 10px 12px 0;
      padding: 10px 14px;
      font-size: 12px;
    }

    /* Student profile grid mobile */
    .student-profile-grid {
      grid-template-columns: 1fr;
      gap: 12px;
      padding: 14px 16px;
    }

    /* Badge sizing mobile */
    .badge-wajib, .badge-opsional {
      font-size: 8px;
      padding: 1px 4px;
      margin-left: 4px;
    }

    .version-badge {
      font-size: 9px;
      padding: 0px 4px;
    }

    .status {
      font-size: 9.5px;
      padding: 3px 7px;
    }
  }

  /* Extra small phones (< 400px) */
  @media(max-width: 400px) {
    .stats {
      grid-template-columns: 1fr 1fr;
    }

    .stat {
      padding: 10px;
    }

    .stat strong {
      font-size: 18px;
    }

    .content {
      padding: 12px 10px 28px;
    }

    .doc-item {
      flex-direction: row;
      gap: 10px;
      padding: 12px;
    }

    .file-icon {
      width: 36px;
      height: 38px;
      font-size: 16px;
    }

    .doc-actions {
      flex-direction: row;
      align-items: center;
    }

    .doc-action-buttons {
      width: 100%;
      margin-left: 0;
    }

    .doc-actions .btn {
      width: auto;
      justify-content: center;
    }

    .welcome h2 {
      font-size: 17px;
    }
  }

  /* ==================== PROFIL MAHASISWA & GRID ==================== */
  .student-profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    background: var(--bg);
    padding: 18px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
  }

  .student-profile-grid > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .student-profile-grid .label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--muted);
  }

  .student-profile-grid b {
    font-size: 13.5px;
    color: var(--ink);
    word-break: break-word;
  }

  .biodata-sub {
    display: block;
    margin-top: 3px;
    font-size: 10.5px;
    line-height: 1.5;
    color: var(--muted);
  }

  /* ==================== MOBILE MENU TOGGLE ==================== */
  .mobile-menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    font-size: 24px;
    padding: 4px 8px;
    cursor: pointer;
    color: var(--ink);
  }

  @media(max-width: 720px) {
    .mobile-menu-toggle {
      display: block;
    }
  }

  /* ==================== ADMIN TOOLBAR & FILTERS ==================== */
  .admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 16px;
  }

  .toolbar-search {
    position: relative;
    flex: 1 1 240px;
    min-width: 200px;
    display: flex;
    align-items: center;
  }

  .toolbar-icon {
    position: absolute;
    left: 12px;
    font-size: 13px;
    color: var(--muted);
    pointer-events: none;
  }

  .toolbar-search input {
    width: 100%;
    padding: 9px 12px 9px 34px;
    font-size: 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    outline: none;
    transition: all 0.2s ease;
  }

  .toolbar-search input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  }

  .toolbar-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  .toolbar-select {
    padding: 8px 12px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .toolbar-select:hover {
    border-color: #cbd5e1;
  }

  .toolbar-select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  }

  /* ==================== PAGINATION ==================== */
  .pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 4px 6px;
    margin-top: 14px;
    border-top: 1px solid var(--line);
  }

  .pg-btn {
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
  }

  .pg-btn:hover:not(:disabled) {
    background: #f8fafc;
    border-color: #cbd5e1;
  }

  .pg-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
  }

  .pg-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .pg-num {
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    display: inline-grid;
    place-items: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.15s ease;
  }

  .pg-num:hover:not(.active) {
    background: #f1f5f9;
  }

  .pg-num.active {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
  }

  .pg-dots {
    padding: 0 4px;
    color: var(--muted);
    font-size: 12px;
  }

  .pg-info {
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
  }

  /* ==================== BADGES & PROGRESS ==================== */
  .mini-progress {
    display: flex;
    align-items: center;
    height: 18px;
    background: #f1f5f9;
    border-radius: 9999px;
    position: relative;
    overflow: hidden;
    padding: 0 6px;
    border: 1px solid #e2e8f0;
  }

  .mini-progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-radius: 9999px;
    transition: width 0.3s ease;
  }

  .mini-progress span {
    position: relative;
    z-index: 1;
    font-size: 10px;
    font-weight: 700;
    color: #0f172a;
    margin-left: auto;
  }

  .badge-angkatan {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 11px;
    font-weight: 600;
    border-radius: 5px;
    border: 1px solid #bae6fd;
    white-space: nowrap;
    margin-top: 3px;
  }

  .badge-subtle {
    display: inline-block;
    padding: 2px 6px;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    border-radius: 4px;
    font-family: monospace;
  }

  .file-link-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
  }

  .file-link-pill:hover {
    background: #dbeafe;
    border-color: #93c5fd;
    transform: translateY(-1px);
  }

  @media(max-width: 640px) {
    .admin-toolbar {
      flex-direction: column;
      align-items: stretch;
    }
    .toolbar-search {
      flex: 0 0 auto;
      width: 100%;
    }
    .toolbar-filters {
      flex-direction: column;
      align-items: stretch;
    }
    .toolbar-select {
      width: 100%;
    }
    .pagination {
      flex-direction: column;
      align-items: center;
      gap: 12px;
    }
  }

  /* ==================== DRAWER (EXPANDED SIDE OVERLAY) ==================== */
  .modal.drawer-mode {
    padding: 0;
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    overflow: hidden;
  }

  .modal-card.drawer {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    animation: drawerPageIn 0.2s ease-out;
    overflow: hidden;
    background: #ffffff;
  }

  .modal-card.drawer #modalBody {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    height: 100%;
    overflow: hidden;
  }

  @keyframes drawerPageIn {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 28px;
    background: #f8fafc;
    border-bottom: 1px solid var(--line);
    flex-shrink: 0;
    gap: 14px;
    position: sticky;
    top: 0;
    z-index: 10;
  }

  .drawer-header-main {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
    flex-wrap: wrap;
  }

  .drawer-header-side {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }

  .drawer-page-head {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding-right: 20px;
    border-right: 1px solid #e2e8f0;
  }

  .drawer-page-head span {
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.9px;
    text-transform: uppercase;
  }

  .drawer-page-head b {
    color: var(--ink);
    font-size: 13px;
    letter-spacing: -0.15px;
    white-space: nowrap;
  }

  .drawer-nav-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  .drawer-counter {
    font-size: 12.5px;
    color: var(--muted);
    font-weight: 500;
    padding: 0 4px;
    white-space: nowrap;
  }

  .drawer-body {
    padding: 24px 32px 44px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    background: #ffffff;
    -webkit-overflow-scrolling: touch;
  }

  .drawer-page {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
  }

  .drawer-footer {
    padding: 11px 28px;
    background: #f8fafc;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    z-index: 10;
  }

  .drawer-footer-meta {
    color: var(--muted);
    font-size: 11.5px;
    text-align: center;
  }

  .drawer-footer-meta b {
    color: var(--ink);
  }

  .drawer-footer-meta kbd {
    display: inline-block;
    margin-left: 4px;
    padding: 1px 5px;
    border: 1px solid #dbe3ef;
    border-radius: 4px;
    background: #fff;
    color: #64748b;
    font-family: inherit;
    font-size: 9.5px;
  }

  @media(max-width: 900px) {
    .drawer-page-head {
      display: none;
    }
  }

  @media(max-width: 720px) {
    .modal-card.drawer {
      width: 100vw;
      border-radius: 0;
    }
    .drawer-body {
      padding: 16px 14px 28px;
    }
    .drawer-header {
      padding: 10px 14px;
      flex-wrap: nowrap;
      gap: 8px;
    }
    .drawer-header-main {
      width: auto;
      flex: 1;
      min-width: 0;
      gap: 8px;
      flex-wrap: nowrap;
    }
    .drawer-header-side {
      gap: 0;
    }
    .drawer-header-side .badge-angkatan,
    .drawer-counter {
      display: none;
    }
    .drawer-nav-group {
      gap: 5px;
      flex-wrap: nowrap;
    }
    .drawer-nav-group .btn {
      padding: 5px 8px;
      font-size: 10.5px;
    }
    .drawer-footer {
      padding: 10px 14px;
    }
    .drawer-footer-meta {
      display: none;
    }
  }
  /* ==================== STUDENT UX (PER-MAHASISWA) ==================== */
  .student-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    background: radial-gradient(120% 160% at 0% 0%, #1e3a8a 0%, #0f274a 55%, #0b1c36 100%);
    color: #fff;
    border-radius: 18px;
    padding: 26px 28px;
    margin-bottom: 18px;
    box-shadow: 0 14px 30px rgba(15, 39, 74, 0.18);
  }

  .student-hero-copy {
    min-width: 0;
    flex: 1 1 320px;
  }

  .hero-eyebrow {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
    color: #93c5fd;
    text-transform: uppercase;
  }

  .student-hero h2 {
    margin: 8px 0 6px;
    font-size: 24px;
    letter-spacing: -0.6px;
    color: #fff;
    font-weight: 750;
  }

  .hero-meta {
    margin: 0;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.72);
  }

  .hero-status {
    display: inline-block;
    margin-left: 4px;
    vertical-align: middle;
  }

  .hero-meta b {
    color: #fff;
    font-weight: 700;
  }

  .hero-note {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.55;
    color: #dbeafe;
    max-width: 540px;
  }

  .hero-note b {
    color: #fff;
  }

  .hero-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
  }

  .student-hero .btn.primary {
    background: #fff;
    color: #0f274a;
    box-shadow: none;
  }

  .student-hero .btn.primary:hover {
    background: #e0ecff;
  }

  .student-hero .btn.ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
  }

  .student-hero .btn.ghost:hover {
    background: rgba(255, 255, 255, 0.22);
  }

  .student-hero-progress {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    padding: 14px 16px;
    flex-shrink: 0;
  }

  .student-hero-progress .progress-circle {
    width: 70px;
    height: 70px;
    background: conic-gradient(#60a5fa var(--progress, 0%), rgba(255, 255, 255, 0.18) 0);
  }

  .student-hero-progress .progress-circle:after {
    background: #14315c;
    inset: 7px;
  }

  .student-hero-progress .progress-circle b {
    color: #fff;
    font-size: 16px;
  }

  .hero-progress-copy b {
    display: block;
    font-size: 12.5px;
    color: #fff;
    font-weight: 700;
  }

  .hero-progress-copy small {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.68);
    margin-top: 3px;
  }

  /* ===== Langkah berikutnya ===== */
  .task-panel {
    border-top: 3px solid var(--blue);
  }

  .task-count {
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 750;
    padding: 5px 10px;
    border-radius: 99px;
    border: 1px solid #bfdbfe;
    white-space: nowrap;
  }

  .task-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .task-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
  }

  .task-row.task-revisi {
    background: #fffbeb;
    border-color: #fde68a;
  }

  .task-row.task-belum {
    background: #f8fafc;
  }

  .task-row.task-pending {
    background: #fefce8;
    border-color: #fef08a;
  }

  .task-badge {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
    background: #e2e8f0;
    color: #475569;
  }

  .task-revisi .task-badge {
    background: #fef3c7;
    color: #b45309;
  }

  .task-belum .task-badge {
    background: #dbeafe;
    color: #1d4ed8;
  }

  .task-pending .task-badge {
    background: #fef08a;
    color: #854d0e;
  }

  .task-body {
    flex: 1;
    min-width: 0;
  }

  .task-body b {
    display: block;
    font-size: 13px;
    line-height: 1.4;
    color: var(--ink);
  }

  .task-body p {
    margin: 2px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted);
  }

  .task-note {
    color: #b45309;
    font-weight: 600;
  }

  .task-more {
    text-align: center;
    padding-top: 14px;
  }

  .all-done {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 14px 16px;
  }

  .all-done-icon {
    font-size: 22px;
  }

  .all-done b {
    display: block;
    font-size: 13px;
    color: #166534;
  }

  .all-done p {
    margin: 3px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: #15803d;
  }

  /* ===== Checklist ringkas (dashboard) ===== */
  .check-list {
    display: flex;
    flex-direction: column;
  }

  .check-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 4px;
    border-bottom: 1px solid #f1f5f9;
  }

  .check-row:last-child {
    border-bottom: 0;
  }

  .check-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f1f5f9;
    color: #94a3b8;
    font-weight: 800;
    font-size: 13px;
    flex-shrink: 0;
  }

  .check-row.is-done .check-icon {
    background: #dcfce7;
    color: #16a34a;
  }

  .check-row.is-revisi .check-icon {
    background: #fef3c7;
    color: #b45309;
  }

  .check-body {
    flex: 1;
    min-width: 0;
  }

  .check-body b {
    display: block;
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--ink);
  }

  .check-row.is-done .check-body b {
    color: #15803d;
  }

  .check-body small {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 4px;
  }

  .check-date {
    color: var(--muted);
    font-size: 10.5px;
  }

  .check-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex-shrink: 0;
  }

  .student-help {
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 16px 18px;
  }

  .student-help b {
    font-size: 12.5px;
    color: var(--ink);
  }

  .student-help p {
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted);
  }
  /* ===== Berkas Saya: progres, tab, filter ===== */
  .docs-progress-panel {
    padding: 16px 20px;
    margin-bottom: 14px;
  }

  .docs-progress-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
  }

  .docs-progress-top b {
    display: block;
    font-size: 13px;
    color: var(--ink);
  }

  .docs-progress-top small {
    display: block;
    margin-top: 3px;
    font-size: 11.5px;
    color: var(--muted);
  }

  .docs-progress-value {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--blue);
    flex-shrink: 0;
  }

  .docs-progress-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 99px;
    overflow: hidden;
    margin-top: 10px;
  }

  .docs-progress-bar > div {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    border-radius: 99px;
    transition: width 0.4s ease;
  }

  .student-tabs {
    display: flex;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .student-tab {
    border: 0;
    background: transparent;
    padding: 9px 14px;
    border-radius: 9px;
    font-size: 12.5px;
    font-weight: 650;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
  }

  .student-tab:hover {
    background: #f8fafc;
    color: var(--ink);
  }

  .student-tab.active {
    background: #eff6ff;
    color: var(--blue);
  }

  .tab-label-short {
    display: none;
  }

  .tab-count {
    font-size: 10px;
    font-weight: 800;
    background: #e2e8f0;
    color: #475569;
    border-radius: 99px;
    padding: 1px 7px;
  }

  .student-tab.active .tab-count {
    background: #dbeafe;
    color: #1d4ed8;
  }

  .filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
  }

  .chip {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 650;
    padding: 6px 11px;
    border-radius: 99px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .chip:hover {
    border-color: #cbd5e1;
    color: var(--ink);
  }

  .chip.active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
  }

  .chip b {
    font-size: 10px;
    font-weight: 800;
    background: #f1f5f9;
    color: #475569;
    border-radius: 99px;
    padding: 1px 6px;
  }

  .chip.active b {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
  }

  .docs-empty {
    padding: 32px 16px;
    text-align: center;
  }

  .docs-empty p {
    margin: 6px 0 0;
    font-size: 12px;
  }

  /* ===== Kartu dokumen ===== */
  .doc-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
  }

  .doc-title-row b {
    display: inline;
  }

  .doc-meta {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    color: var(--muted);
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  .doc-meta-line {
    display: block;
    margin-top: 6px;
    font-size: 10.5px;
    color: var(--muted);
  }

  .doc-note {
    margin: 8px 0 0;
    padding: 8px 10px;
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 8px;
    color: #92400e;
    font-size: 11.5px;
    line-height: 1.5;
    font-weight: 500;
  }
  /* ===== Modal unggah ===== */
  .upload-modal-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
  }

  .upload-modal-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #eff6ff;
    color: var(--blue);
    display: grid;
    place-items: center;
    font-size: 18px;
    flex-shrink: 0;
  }

  .upload-modal-head h2 {
    margin: 0;
  }

  .upload-modal-head p {
    margin: 4px 0 0;
  }

  /* ===== Modal ekspor ===== */
  .export-summary {
    margin: 16px 0 14px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f8fafc;
  }

  .export-summary > span {
    display: block;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.45px;
    text-transform: uppercase;
    color: var(--muted);
  }

  .export-summary p {
    margin: 8px 0 0;
    font-size: 11.5px;
    line-height: 1.5;
    color: var(--muted);
  }

  .export-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 7px;
  }

  .export-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 99px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    font-size: 10.5px;
    font-weight: 650;
    line-height: 1.35;
  }

  .export-chip.is-empty {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #64748b;
  }

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

  .export-format {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #ffffff;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  }

  .export-format:hover:not(:disabled) {
    border-color: #93c5fd;
    background: #f8fbff;
    box-shadow: 0 6px 18px -12px rgba(37, 99, 235, 0.45);
  }

  .export-format.is-recommended {
    border-color: #bfdbfe;
    background: #f8fbff;
  }

  .export-format-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 9px;
    background: #e0edff;
    font-size: 17px;
  }

  .export-format-copy {
    flex: 1;
    min-width: 0;
  }

  .export-format-copy b {
    display: block;
    font-size: 13px;
    color: var(--ink);
  }

  .export-format-copy small {
    display: block;
    margin-top: 3px;
    font-size: 10.5px;
    line-height: 1.45;
    color: var(--muted);
  }

  .export-format-badge {
    display: inline-block;
    margin-top: 7px;
    padding: 2px 7px;
    border-radius: 99px;
    background: #dcfce7;
    color: #15803d;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.2px;
  }

  .export-format-arrow {
    align-self: center;
    margin-left: auto;
    color: var(--muted);
    font-size: 15px;
  }

  @media(max-width: 640px) {
    .upload-modal-head {
      padding-right: 30px;
    }

    .export-format-grid {
      grid-template-columns: 1fr;
    }
  }

  .upload-current-note {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 14px;
  }

  .upload-current-note b {
    display: block;
    font-size: 11px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #92400e;
  }

  .upload-current-note p {
    margin: 4px 0 0;
    font-size: 12.5px;
    color: #92400e;
    line-height: 1.5;
  }

  .dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-align: center;
    padding: 26px 18px;
    border: 1.5px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    cursor: pointer;
    font-weight: 400;
    margin-top: 0;
    transition: border-color 0.15s ease, background 0.15s ease;
  }

  .dropzone:hover,
  .dropzone.dragover {
    border-color: var(--blue);
    background: #eff6ff;
  }

  .dropzone.has-file {
    border-style: solid;
    border-color: #bfdbfe;
    background: #f8fbff;
  }

  .dropzone-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #dbeafe;
    color: #1d4ed8;
    display: grid;
    place-items: center;
    font-size: 17px;
    margin-bottom: 4px;
  }

  .dropzone b {
    font-size: 12.5px;
    color: var(--ink);
  }

  .dropzone-sub {
    font-size: 12px;
    font-weight: 600;
    color: var(--blue);
  }

  .dropzone small {
    font-size: 10.5px;
    color: var(--muted);
    margin-top: 2px;
  }

  .file-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #bfdbfe;
    background: #f8fbff;
    border-radius: 10px;
    margin-top: 10px;
  }

  .file-chip-icon {
    width: 30px;
    height: 34px;
    border-radius: 6px;
    background: #dbeafe;
    color: #1d4ed8;
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }

  .file-chip-meta {
    flex: 1;
    min-width: 0;
  }

  .file-chip-meta b {
    display: block;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .file-chip-meta small {
    font-size: 10.5px;
    color: var(--muted);
  }

  .field-error {
    margin: 8px 0 0;
    padding: 8px 10px;
    font-size: 11.5px;
    font-weight: 600;
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
  }

  .upload-tip {
    font-size: 11.5px;
    line-height: 1.55;
    color: var(--muted);
  }

  .char-count {
    display: block;
    text-align: right;
    font-size: 10.5px;
    color: var(--muted);
    margin-top: 4px;
  }

  @media(max-width: 720px) {
    .student-hero {
      padding: 20px;
      gap: 16px;
    }

    .student-hero h2 {
      font-size: 20px;
    }

    .student-hero-progress {
      width: 100%;
      justify-content: space-between;
    }

    .hero-actions {
      width: 100%;
      flex-direction: column;
      align-items: stretch;
    }

    .hero-actions .btn {
      width: 100%;
      justify-content: center;
    }

    .task-row {
      flex-wrap: wrap;
    }

    .task-row .btn {
      width: 100%;
    }

    .check-row {
      flex-wrap: wrap;
      align-items: flex-start;
    }

    .check-actions {
      width: 100%;
      padding-left: 40px;
    }

    .check-actions .btn {
      flex: 1;
      justify-content: center;
    }

    .tab-label-full {
      display: inline;
    }

    .tab-label-short {
      display: none;
    }

    .docs-progress-top {
      flex-direction: column;
      gap: 6px;
    }

    .student-tab {
      padding: 8px 11px;
      font-size: 12px;
    }

    /* Tujuh kategori harus tetap terlihat tanpa geser tersembunyi */
    .student-tabs {
      flex-wrap: wrap;
      overflow-x: visible;
    }

    .student-tab {
      flex: 0 1 auto;
    }
  }
  /* ==================== BIODATA MAHASISWA (PROVENANCE) ==================== */
  .biodata-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    margin-bottom: 14px;
  }

  .biodata-status.ok {
    background: #f0fdf4;
    border-color: #bbf7d0;
  }

  .biodata-status.pending {
    align-items: flex-start;
    flex-wrap: wrap;
    background: #fffbeb;
    border-color: #fde68a;
  }

  .biodata-status-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #dcfce7;
    color: #16a34a;
    font-weight: 800;
    font-size: 15px;
    flex-shrink: 0;
  }

  .biodata-status.pending .biodata-status-icon {
    background: #fef3c7;
    color: #b45309;
  }

  .biodata-status b {
    display: block;
    font-size: 13px;
    color: var(--ink);
  }

  .biodata-status p {
    margin: 3px 0 0;
    font-size: 11.5px;
    line-height: 1.55;
    color: var(--muted);
  }

  .biodata-status.pending b,
  .biodata-status.pending p {
    color: #92400e;
  }

  .biodata-status .btn {
    margin-left: auto;
  }

  .biodata-note {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    font-size: 11.5px;
    line-height: 1.55;
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 14px;
  }

  .biodata-note.warning {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
  }

  .empty-value {
    color: #94a3b8;
    font-style: italic;
    font-weight: 600;
  }

  .biodata-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
  }

  .biodata-banner b {
    display: block;
    font-size: 13px;
    color: #92400e;
  }

  .biodata-banner p {
    margin: 3px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: #92400e;
  }

  /* ===== Admin: biodata & sumber data di drawer ===== */
  .drawer-biodata {
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
  }

  .drawer-biodata-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
  }

  .drawer-biodata-head h4 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
  }

  .drawer-biodata-head p {
    margin: 3px 0 0;
    font-size: 11.5px;
    color: var(--muted);
  }

  .drawer-biodata-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px 16px;
  }

  .drawer-biodata-grid span {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 2px;
  }

  .drawer-biodata-grid b {
    font-size: 12.5px;
    color: var(--ink);
    word-break: break-word;
  }

  @media(min-width: 900px) {
    .drawer-biodata-grid .drawer-biodata-email {
      grid-column: span 2;
    }
  }

  .drawer-biodata-meta {
    display: block;
    margin-top: 10px;
    font-size: 11px;
    color: var(--muted);
  }

  .provenance-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2px;
    padding: 4px 9px;
    border-radius: 99px;
    white-space: nowrap;
  }

  .provenance-badge.siguna_lab {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
  }

  .provenance-badge.seed_excel {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
  }

  .provenance-badge.input_mahasiswa {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
  }

  .provenance-badge.admin {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
  }

  .provenance-badge.unknown {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
  }

  .provenance-badge.xs {
    display: inline-block;
    margin-top: 5px;
    padding: 2px 7px;
    font-size: 9.5px;
  }

  .drawer-biodata-asli {
    margin-top: 12px;
    border-top: 1px dashed var(--line);
    padding-top: 10px;
  }

  .drawer-biodata-asli summary {
    cursor: pointer;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--muted);
    user-select: none;
  }

  .drawer-biodata-asli summary:hover {
    color: var(--blue);
  }

  .drawer-biodata-asli .drawer-biodata-grid {
    margin-top: 10px;
  }

  /* ==================== PEMBIMBING / DPL ==================== */
  .supervisor-head-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  .supervisor-progress {
    font-size: 10.5px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 99px;
    background: #f1f5f9;
    color: var(--muted);
    white-space: nowrap;
  }

  .supervisor-progress.complete {
    background: #ecfdf5;
    color: #047857;
  }

  .supervisor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px 20px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #f8fafc;
  }

  .supervisor-grid .label {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 3px;
  }

  .supervisor-grid b {
    font-size: 13px;
    color: var(--ink);
    word-break: break-word;
  }

  .drawer-supervisors {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
    background: #fff;
  }

  .drawer-supervisors-head h4 {
    margin: 0;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text);
  }

  .drawer-supervisors-head p {
    margin: 3px 0 0;
    font-size: 11.5px;
    color: var(--muted);
  }

  .drawer-supervisor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    margin-top: 10px;
  }

  .drawer-supervisor-card {
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px;
  }

  .drawer-supervisor-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
  }

  .drawer-supervisor-title b {
    font-size: 12px;
    color: var(--text);
  }

  .drawer-supervisor-title span {
    font-size: 10px;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
  }

  .drawer-supervisor-row {
    margin-top: 5px;
  }

  .drawer-supervisor-row span {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--muted);
  }

  .drawer-supervisor-row b,
  .drawer-supervisor-row .empty-value {
    font-size: 12px;
    color: var(--ink);
    word-break: break-word;
  }

  .drawer-supervisor-card small {
    display: block;
    margin-top: 8px;
    font-size: 10.5px;
    color: var(--muted);
  }

  /* ==================== STATUS MAHASISWA & JADWAL ==================== */
  .page-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  .student-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: 99px;
    font-size: 10.5px;
    font-weight: 750;
    letter-spacing: 0.15px;
    white-space: nowrap;
    border: 1px solid transparent;
  }

  .student-status-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.8;
  }

  .student-status-badge.tone-success { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
  .student-status-badge.tone-blue { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
  .student-status-badge.tone-amber { background: #fffbeb; color: #92400e; border-color: #fde68a; }
  .student-status-badge.tone-red { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
  .student-status-badge.tone-violet { background: #f5f3ff; color: #6d28d9; border-color: #ddd6fe; }
  .student-status-badge.tone-slate { background: #f8fafc; color: #64748b; border-color: #e2e8f0; }

  .table-status-row {
    margin-top: 5px;
  }

  .table-student-cell {
    cursor: pointer;
    border-radius: 8px;
    transition: color 0.15s ease;
  }

  .table-student-cell:hover b {
    color: var(--blue);
  }

  .table-student-cell small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 11px;
  }

  #admStudentTableWrap .table {
    min-width: 960px;
    table-layout: fixed;
  }

  #admStudentTableWrap td,
  #admStudentTableWrap th {
    overflow-wrap: anywhere;
  }

  /* ==================== VERIFICATION QUEUE ==================== */
  .vf-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    margin: 2px 2px 9px;
    font-size: 11px;
    color: var(--muted);
  }

  .vf-caption b {
    color: var(--ink);
    font-size: 12px;
  }

  .vf-table-wrap {
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  }

  .vf-table {
    min-width: 880px;
    table-layout: fixed;
  }

  .vf-table th {
    padding: 11px 12px;
    background: #f8fafc;
  }

  .vf-table td {
    padding: 12px;
  }

  .vf-table tbody tr {
    transition: background 0.15s ease;
  }

  .vf-table tbody tr:hover {
    background: #fbfdff;
  }

  .vf-student {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin: -5px;
    padding: 5px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: inherit;
    font: inherit;
    appearance: none;
    -webkit-appearance: none;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
  }

  .vf-student:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 1px;
  }

  .vf-student:hover {
    background: #f0f7ff;
  }

  .vf-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
  }

  .vf-student-body {
    display: block;
    min-width: 0;
  }

  .vf-student-body > b {
    display: block;
    color: var(--ink);
    font-size: 12.5px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .vf-student:hover .vf-student-body > b {
    color: var(--blue);
  }

  .vf-student-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 4px;
  }

  .vf-npm {
    display: inline-block;
    padding: 1px 5px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    background: #f8fafc;
    color: #475569;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.1px;
  }

  .vf-year {
    color: var(--muted);
    font-size: 10.5px;
  }

  .vf-student-status {
    display: block;
    margin-top: 5px;
  }

  .vf-student-status .student-status-badge {
    padding: 2px 7px;
    font-size: 9.5px;
  }

  .vf-doc-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
  }

  .vf-doc-head b {
    color: var(--ink);
    font-size: 12px;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  .vf-file-line {
    margin-top: 8px;
    min-width: 0;
  }

  .vf-category {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    border: 1px solid #dbeafe;
    border-radius: 5px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 9.5px;
    font-weight: 750;
    letter-spacing: 0.35px;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .vf-title {
    display: -webkit-box;
    overflow: hidden;
    color: var(--ink);
    font-size: 12.5px;
    line-height: 1.45;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .vf-file-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 5px 9px;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    background: #f8fbff;
    color: #1d4ed8;
    font-size: 11.5px;
    font-weight: 650;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
  }

  .vf-file-link:hover {
    border-color: #93c5fd;
    background: #eff6ff;
  }

  .vf-file-link > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .vf-file-icon {
    display: grid;
    place-items: center;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: #dbeafe;
    font-size: 10px;
    line-height: 1;
  }

  .vf-file-name {
    color: #475569;
    font-size: 11.5px;
    overflow-wrap: anywhere;
  }

  .vf-file-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 6px;
    color: var(--muted);
    font-size: 10.5px;
  }

  .vf-file-meta .version-badge {
    font-size: 9.5px;
  }

  .vf-note {
    display: -webkit-box;
    margin: 6px 0 0;
    padding: 3px 7px;
    border: 1px solid #fde68a;
    border-radius: 6px;
    background: #fffbeb;
    color: #92400e;
    font-size: 10.5px;
    line-height: 1.45;
    overflow: hidden;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .vf-muted {
    color: var(--muted);
    font-style: italic;
  }

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

  .vf-actions .btn {
    min-height: 30px;
    padding: 6px 10px;
    font-size: 11px;
    white-space: nowrap;
  }

  .vf-delete.btn {
    display: grid;
    place-items: center;
    flex: 0 0 30px;
    width: 30px;
    min-height: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid #fecaca;
    border-radius: 8px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 12px;
  }

  .vf-delete.btn:hover {
    border-color: #fca5a5;
    background: #fee2e2;
  }

  .vf-empty {
    padding: 38px 20px;
    border: 1px dashed #dbe3ef;
    border-radius: 14px;
    background: #fbfdff;
  }

  .vf-empty-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin: 0 auto 10px;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 18px;
  }

  @media(max-width: 860px) {
    .vf-table-wrap {
      overflow: visible;
      border: 0;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
    }

    .vf-table,
    .vf-table tbody,
    .vf-table tr,
    .vf-table td {
      display: block;
      width: 100%;
      min-width: 0;
    }

    .vf-table {
      min-width: 0;
      table-layout: auto;
      background: transparent;
    }

    .vf-table thead {
      display: none;
    }

    .vf-table tbody tr {
      margin-bottom: 10px;
      padding: 12px 14px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: #fff;
      box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    }

    .vf-table tbody tr:hover {
      background: #fff;
    }

    .vf-table td {
      padding: 8px 0;
      border: 0;
      text-align: left !important;
      font-size: 12px;
    }

    .vf-table td + td {
      border-top: 1px dashed #eef2f7;
    }

    .vf-table td::before {
      content: attr(data-label);
      display: block;
      margin-bottom: 5px;
      color: #94a3b8;
      font-size: 9px;
      font-weight: 750;
      letter-spacing: 0.55px;
      text-transform: uppercase;
    }

    .vf-table td:first-child {
      padding-top: 0;
    }

    .vf-table td:first-child::before {
      display: none;
    }

    .vf-student {
      align-items: center;
      margin: 0;
      padding: 0;
    }

    .vf-student:hover {
      background: transparent;
    }

    .vf-table td:last-child {
      padding-bottom: 0;
    }

    .vf-actions {
      display: grid;
      grid-template-columns: 1fr 1fr 34px;
      gap: 6px;
    }

    .vf-actions .btn {
      width: 100%;
      justify-content: center;
    }

    .vf-delete.btn {
      width: 34px;
      height: 34px;
      min-height: 34px;
    }
  }

  .milestone-panel {
    border-color: #dbeafe;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 48%);
  }

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

  .duration-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px;
    border-radius: 99px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    font-size: 10.5px;
    font-weight: 700;
    white-space: nowrap;
  }

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

  .milestone-grid.is-single {
    grid-template-columns: minmax(0, 260px);
  }

  .milestone-item {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 14px;
    background: #fff;
  }

  .milestone-item span,
  .drawer-milestone-date span {
    display: block;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.45px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 3px;
  }

  .milestone-item b {
    font-size: 14px;
    color: var(--ink);
    letter-spacing: -0.15px;
  }

  .milestone-meta {
    display: block;
    margin-top: 10px;
    font-size: 10.5px;
    color: var(--muted);
  }

  .drawer-milestone-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
    gap: 10px;
    margin-top: 10px;
  }

  .drawer-milestone-card {
    position: relative;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px;
  }

  .drawer-milestone-date {
    margin-top: 6px;
  }

  .drawer-milestone-date b {
    font-size: 12px;
    color: var(--ink);
  }

  .drawer-milestone-edit {
    margin-top: 8px;
    padding: 4px 8px !important;
    font-size: 10.5px !important;
  }

  .drawer-doc-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    flex-wrap: wrap;
  }

  /* ==================== DRAWER DOCUMENT CHECKLIST ==================== */
  .dd-section {
    margin-top: 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
  }

  .dd-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 15px 18px;
    border-bottom: 1px solid #eef2f7;
    background: linear-gradient(180deg, #fbfdff, #fff);
  }

  .dd-section-head h3 {
    margin: 0;
    color: var(--ink);
    font-size: 14px;
    font-weight: 750;
    letter-spacing: -0.2px;
  }

  .dd-section-head p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.5;
  }

  .dd-stats {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
  }

  .dd-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px;
    border: 1px solid #e2e8f0;
    border-radius: 99px;
    background: #fff;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
  }

  .dd-chip.accent {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
  }

  .dd-chip.success {
    border-color: #a7f3d0;
    background: #ecfdf5;
    color: #047857;
  }

  .dd-table-wrap {
    border: 0;
    border-radius: 0;
  }

  .dd-table {
    min-width: 900px;
    table-layout: fixed;
  }

  .dd-table th {
    padding: 10px 14px;
    background: #f8fafc;
  }

  .dd-table td {
    padding: 12px 14px;
    vertical-align: top;
  }

  .dd-table tbody tr {
    transition: background 0.15s ease;
  }

  .dd-table tbody tr:hover {
    background: #fbfdff;
  }

  .dd-doc-name {
    color: var(--ink);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  .dd-doc-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
  }

  .dd-code {
    display: inline-block;
    padding: 1px 5px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background: #f8fafc;
    color: #64748b;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 9px;
  }

  .dd-category {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    border: 1px solid #dbeafe;
    border-radius: 4px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.25px;
    text-transform: uppercase;
  }

  .dd-req {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    border: 1px solid #fecaca;
    border-radius: 4px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.25px;
    text-transform: uppercase;
  }

  .dd-req.optional {
    border-color: #e2e8f0;
    background: #f8fafc;
    color: #94a3b8;
  }

  .dd-file-title {
    display: -webkit-box;
    overflow: hidden;
    color: var(--ink);
    font-size: 12px;
    line-height: 1.45;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .dd-file-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 4px 9px;
    border: 1px solid #dbeafe;
    border-radius: 7px;
    background: #f8fbff;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 650;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
  }

  .dd-file-link:hover {
    border-color: #93c5fd;
    background: #eff6ff;
  }

  .dd-file-link > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dd-file-icon {
    display: grid;
    place-items: center;
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    border-radius: 4px;
    background: #dbeafe;
    font-size: 9px;
    line-height: 1;
  }

  .dd-file-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 5px;
    color: var(--muted);
    font-size: 10px;
  }

  .dd-file-meta .version-badge {
    font-size: 9.5px;
  }

  .dd-note {
    display: -webkit-box;
    margin: 6px 0 0;
    padding: 3px 7px;
    border: 1px solid #fde68a;
    border-radius: 6px;
    background: #fffbeb;
    color: #92400e;
    font-size: 10.5px;
    line-height: 1.45;
    overflow: hidden;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .dd-empty-file {
    color: var(--muted);
    font-size: 11.5px;
    font-style: italic;
  }

  .dd-status-empty {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border: 1px dashed #dbe3ef;
    border-radius: 99px;
    color: #94a3b8;
    font-size: 10.5px;
    font-weight: 650;
    white-space: nowrap;
  }

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

  .dd-actions .btn {
    min-height: 29px;
    padding: 5px 8px;
    font-size: 10.5px;
    white-space: nowrap;
  }

  .dd-delete.btn {
    display: grid;
    place-items: center;
    flex: 0 0 29px;
    width: 29px;
    min-height: 29px;
    height: 29px;
    padding: 0;
    border: 1px solid #fecaca;
    border-radius: 7px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 11px;
  }

  .dd-delete.btn:hover {
    border-color: #fca5a5;
    background: #fee2e2;
  }

  @media(max-width: 900px) {
    .dd-section {
      margin-top: 16px;
      border: 0;
      border-radius: 0;
      background: transparent;
      overflow: visible;
    }

    .dd-section-head {
      padding: 0 0 10px;
      border-bottom: 0;
      background: transparent;
    }

    .dd-table-wrap {
      overflow: visible;
      background: transparent;
    }

    .dd-table,
    .dd-table tbody,
    .dd-table tr,
    .dd-table td {
      display: block;
      width: 100%;
      min-width: 0;
    }

    .dd-table {
      min-width: 0;
      table-layout: auto;
      background: transparent;
    }

    .dd-table thead {
      display: none;
    }

    .dd-table tbody tr {
      margin-bottom: 9px;
      padding: 11px 13px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #fff;
      box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    }

    .dd-table tbody tr:hover {
      background: #fff;
    }

    .dd-table td {
      padding: 7px 0;
      border: 0;
      text-align: left !important;
    }

    .dd-table td + td {
      border-top: 1px dashed #eef2f7;
    }

    .dd-table td::before {
      content: attr(data-label);
      display: block;
      margin-bottom: 5px;
      color: #94a3b8;
      font-size: 9px;
      font-weight: 750;
      letter-spacing: 0.55px;
      text-transform: uppercase;
    }

    .dd-table td:first-child {
      padding-top: 0;
    }

    .dd-table td:first-child::before {
      display: none;
    }

    .dd-table td:last-child {
      padding-bottom: 0;
    }

    .dd-actions {
      justify-content: flex-start;
    }

    .dd-actions .btn {
      flex: 1 1 auto;
      justify-content: center;
    }

    .dd-delete.btn {
      flex: 0 0 33px;
      width: 33px;
      min-height: 33px;
      height: 33px;
    }
  }

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

  .field-hint {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    color: var(--muted);
  }

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

  .upload-target {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 14px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
  }

  .upload-target-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: #dbeafe;
    flex-shrink: 0;
  }

  .upload-target div {
    min-width: 0;
  }

  .upload-target span:not(.upload-target-icon) {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1d4ed8;
  }

  .upload-target b {
    display: block;
    font-size: 12.5px;
    color: #1e3a8a;
  }

  .upload-target small {
    display: block;
    margin-top: 1px;
    font-size: 10.5px;
    color: #3b82f6;
  }

  @media(max-width: 640px) {
    #admStudentTableWrap .table-wrap {
      border: 0;
      border-radius: 0;
      background: transparent;
      overflow: visible;
    }

    #admStudentTableWrap table,
    #admStudentTableWrap tbody,
    #admStudentTableWrap tr,
    #admStudentTableWrap td {
      display: block;
      width: 100%;
      min-width: 0;
    }

    #admStudentTableWrap .table {
      min-width: 0;
      table-layout: auto;
      background: transparent;
    }

    #admStudentTableWrap thead {
      display: none;
    }

    #admStudentTableWrap tbody tr {
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #fff;
      padding: 8px 14px;
      margin-bottom: 10px;
      box-shadow: var(--shadow-sm);
    }

    #admStudentTableWrap tbody tr:hover {
      background: #fff;
    }

    #admStudentTableWrap td {
      position: relative;
      display: block;
      padding: 7px 0 7px 112px;
      border-bottom: 1px dashed #eef2f7;
      text-align: left !important;
      font-size: 12px;
    }

    #admStudentTableWrap td:last-child {
      border-bottom: 0;
      padding-top: 10px;
    }

    #admStudentTableWrap td::before {
      content: attr(data-label);
      position: absolute;
      left: 0;
      top: 9px;
      width: 100px;
      font-size: 9.5px;
      font-weight: 750;
      letter-spacing: 0.45px;
      text-transform: uppercase;
      color: var(--muted);
    }

    #admStudentTableWrap td[data-label="Tindakan"] .btn {
      width: 100%;
      justify-content: center;
    }

    #admStudentTableWrap td small[title] {
      max-width: 100% !important;
    }
  }

  @media(max-width: 720px) {
    .page-actions {
      width: 100%;
    }

    .page-actions .btn {
      flex: 1;
      justify-content: center;
    }

    .milestone-grid,
    .milestone-grid.is-single,
    .form-grid-2 {
      grid-template-columns: 1fr;
    }

    .milestone-head-actions {
      width: 100%;
      justify-content: space-between;
    }

    .milestone-item {
      padding: 10px 12px;
    }
  }

  @media(max-width: 720px) {
    .biodata-status {
      flex-wrap: wrap;
    }

    .biodata-status .btn {
      width: 100%;
      margin-left: 0;
      justify-content: center;
    }

    .biodata-banner .btn {
      width: 100%;
      justify-content: center;
    }

    .supervisor-head-actions {
      width: 100%;
      justify-content: space-between;
    }
  }
