/* Apply the current student status color across every cell in the row. */
.student-table-v249 tr.jfr-student-row > td {
  background:var(--status-bg,#f1f5f9) !important;
}
.student-table-v249 tr.jfr-student-row > td:first-child {
  border-inline-start:0;
}
.student-table-v249 td.jfr-student-status {
  background:var(--status-bg,#f1f5f9) !important;
  border-inline-start:0;
  min-width:125px;
}
.student-table-v249 td.jfr-student-status .badge {
  background:transparent !important; color:var(--status-fg,#334155) !important;
  font-weight:700; white-space:normal; line-height:1.5;
}
.jfr-student-row[data-status="Registered"] {--status-bg:#ffffff;--status-fg:#334155}
.jfr-student-row[data-status="Documents Checking"] {--status-bg:#f6d9b6;--status-fg:#9a3412}
.jfr-student-row[data-status="Application Preparation"] {--status-bg:#f2e5a8;--status-fg:#854d0e}
.jfr-student-row[data-status="Submitted"] {--status-bg:#bfe8ed;--status-fg:#155e75}
.jfr-student-row[data-status="Interview"] {--status-bg:#dcd0f1;--status-fg:#5b21b6}
.jfr-student-row[data-status="Result"] {--status-bg:#efd0e5;--status-fg:#86198f}
.jfr-student-row[data-status="内定"] {--status-bg:#bce5cb;--status-fg:#166534}
.jfr-student-row[data-status="Visa Process"] {--status-bg:#cbd4ef;--status-fg:#3730a3}
.jfr-student-row[data-status="Visa Approved"] {--status-bg:#a8dbc6;--status-fg:#065f46}
.jfr-student-row[data-status="Joining"] {--status-bg:#ace0d5;--status-fg:#115e59}
.jfr-student-row[data-status="Completed"],
.jfr-student-row[data-status="Support Completed"] {--status-bg:#cdd7e2;--status-fg:#334155}
.jfr-student-row[data-status="Cancelled"] {--status-bg:#f1c4ca;--status-fg:#991b1b}

.jfr-student-row[data-status="Hold"] {--status-bg:#efd3af;--status-fg:#9a3412}

/* V2.8.12 requested-only: direct status control + collapsed filter panel. */
.student-table-v249 .jfr-student-status-select{width:100%;min-width:132px;min-height:34px;border:1px solid rgba(71,95,120,.24);border-radius:9px;background:#fff;color:var(--status-fg,#334155);padding:5px 26px 5px 8px;font-size:8.5px;font-weight:800;cursor:pointer}
.student-table-v249 .jfr-student-status-select:disabled{opacity:.65;cursor:wait}
.v2812-filter-toggle-row{display:flex;justify-content:flex-end;margin:8px 0}
.v2812-filter-toggle{min-height:36px}
.student-filter-panel[hidden]{display:none!important}
