/* Atemp admin theme adapter. Loaded after the application's functional styles. */
:root {
  --at-navy: #0b1220;
  --at-sidebar: #0f172a;
  --at-sidebar-active: #172554;
  --at-sidebar-deep: #080d18;
  --at-orange: #3b82f6;
  --at-cyan: #22d3ee;
  --at-canvas: #f4f7fb;
  --at-border: #d8e2ea;
  --at-muted: #728092;
  --at-sidebar-width: 250px;
  --at-sidebar-mini: 50px;
  --at-header-height: 48px;
}

/* Calling staff workspace: consistent classic IT dashboard. */
.atemp-theme .mobile-panel-shell,
.atemp-theme .calling-process-page { color: #17263a; }
.atemp-theme .mobile-panel-shell { display: grid; gap: 12px; }
.atemp-theme .mobile-panel-hero {
  min-height: 0; padding: 20px 22px; border: 1px solid #183e63; border-radius: 5px;
  background: linear-gradient(120deg,#0d2036 0%,#173d62 100%) !important;
  color: #fff; box-shadow: 0 7px 18px rgba(13,32,54,.13);
}
.atemp-theme .mobile-panel-top { align-items: center; }
.atemp-theme .mobile-panel-top > div > span { display: inline-flex; padding: 4px 8px; border-radius: 2px; background: rgba(255,255,255,.13); color: #dcecff; font-size: 10px !important; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.atemp-theme .mobile-panel-top h1 { margin: 7px 0 2px; color: #fff !important; font-size: 25px; line-height: 1.15; }
.atemp-theme .mobile-panel-top p { margin: 0; color: #c8d8e8 !important; font-size: 12px; }
.atemp-theme .mobile-panel-avatar { display: grid; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.45); border-radius: 4px; background: rgba(255,255,255,.1); color: #fff; place-items: center; }
.atemp-theme .panel-hero-metrics { display: grid; max-width: 560px; margin-top: 16px; grid-template-columns: repeat(3,1fr); gap: 7px; }
.atemp-theme .panel-hero-metrics > div { padding: 9px 11px; border: 1px solid rgba(255,255,255,.2); border-radius: 3px; background: rgba(255,255,255,.08); }
.atemp-theme .panel-hero-metrics strong { display: block; color: #fff; font-size: 16px; }
.atemp-theme .panel-hero-metrics span { color: #cad9e7; font-size: 10px !important; }
.atemp-theme .mobile-admin-return { display: inline-flex; min-height: 34px; margin-top: 10px; padding: 7px 11px; align-items: center; gap: 5px; border: 1px solid rgba(255,255,255,.32); border-radius: 3px; color: #fff; font-size: 11px; }
.atemp-theme .mobile-panel-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
.atemp-theme .panel-stat-tile { display: grid; min-height: 70px; padding: 11px 13px; border: 1px solid #afbfcd; border-radius: 4px; background: #fff; grid-template-columns: 36px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; box-shadow: 0 2px 7px rgba(16,36,60,.05); }
.atemp-theme .panel-stat-tile i { grid-row: 1/3; display: grid; width: 34px; height: 34px; border-radius: 3px; background: #e4eef7; color: #174a75; font-size: 17px; place-items: center; }
.atemp-theme .panel-stat-tile strong { color: #10243c; font-size: 20px; line-height: 1; }
.atemp-theme .panel-stat-tile span { color: #526579; font-size: 11px !important; font-weight: 650; }
.atemp-theme .mobile-panel-card,
.atemp-theme .calling-table-card { padding: 14px; border: 1px solid #afbfcd; border-radius: 4px; background: #fff; box-shadow: 0 2px 8px rgba(16,36,60,.05); }
.atemp-theme .panel-dashboard-shell { grid-template-columns: 1.05fr .95fr; }
.atemp-theme .panel-dashboard-shell > .panel-dashboard-hero,
.atemp-theme .panel-dashboard-shell > .mobile-panel-stats,
.atemp-theme .panel-dashboard-shell > .panel-attendance-card { grid-column: 1/-1; }
.atemp-theme .mobile-section-head { margin-bottom: 10px; }
.atemp-theme .mobile-section-head h2 { margin: 0 0 2px; color: #10243c; font-size: 16px; }
.atemp-theme .mobile-section-head p { margin: 0; color: #526579; font-size: 11px; }
.atemp-theme .panel-performance-grid { gap: 7px; }
.atemp-theme .panel-metric-box { min-height: 76px; padding: 10px; border: 1px solid #cad5de; border-radius: 3px; background: #f6f9fb; }
.atemp-theme .panel-metric-box i { color: #1c5d8f; }
.atemp-theme .panel-metric-box span { color: #14283e; font-size: 14px !important; font-weight: 750; }
.atemp-theme .panel-metric-box p { color: #5a6b7d; font-size: 10px; }

/* Work queue. */
.atemp-theme .panel-work-view-tabs { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; }
.atemp-theme .panel-work-view-tabs a { min-height: 58px; padding: 9px 11px; border: 1px solid #b4c3d0; border-radius: 3px; background: #fff; color: #233a52; }
.atemp-theme .panel-work-view-tabs a.is-active { border-color: #286696; background: #173d62; color: #fff; }
.atemp-theme .panel-work-view-tabs a span { font-size: 11px !important; font-weight: 700; }
.atemp-theme .panel-work-view-tabs a strong { font-size: 16px; }
.atemp-theme .panel-work-priority { padding: 13px; border: 1px solid #9db1c2; border-left: 4px solid #276996; border-radius: 3px; background: #eef4f8; }
.atemp-theme .panel-work-priority h2 { color: #10243c; font-size: 17px; }
.atemp-theme .today-interview-grid { gap: 7px; }
.atemp-theme .today-interview-card { border: 1px solid #b5c5d2; border-radius: 3px; background: #fff; color: #14283e; }
.atemp-theme .panel-work-filters { padding: 9px; border: 1px solid #c0ccd6; border-radius: 3px; background: #f1f5f8; }
.atemp-theme .panel-work-search input { min-height: 38px; border-color: #9eb1c1; border-radius: 3px; }
.atemp-theme .panel-work-filter-chips button { min-height: 31px; border: 1px solid #b4c3cf; border-radius: 2px; background: #fff; color: #2a4057; font-size: 10px; }
.atemp-theme .panel-work-filter-chips button.is-active { border-color: #173d62; background: #173d62; color: #fff; }
.atemp-theme .panel-work-table-wrap { overflow: visible; }
.atemp-theme .panel-work-table { table-layout: fixed; border: 1px solid #9fb2c2; }
.atemp-theme .panel-work-table thead th { padding: 9px; background: #173d62 !important; color: #fff !important; }
.atemp-theme .panel-work-table tbody td { padding: 9px; border-color: #cad5de; color: #17263a; vertical-align: middle; }
.atemp-theme .panel-work-table tbody tr:nth-child(even) td { background: #f3f7fa; }

/* Staff profile catalogue. */
.atemp-theme .staff-profiles-page > .profile-head { border-left-color: #286696; }
.atemp-theme .staff-profiles-page > .profile-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.atemp-theme .staff-profiles-page .profile-card { border: 1px solid #afbfcd !important; border-top: 3px solid #286696 !important; border-radius: 4px !important; background: #fff; box-shadow: 0 3px 9px rgba(16,36,60,.06); }
.atemp-theme .staff-profiles-page .profile-card h3 { color: #10243c; font-size: 15px !important; }
.atemp-theme .staff-profiles-page .profile-card p { color: #526579; font-size: 11px !important; }

/* Candidate calling process. */
.atemp-theme .calling-process-page { display: grid; gap: 10px; }
.atemp-theme .calling-process-top { padding: 13px 15px; border: 1px solid #173d62; border-radius: 4px; background: #102c49; color: #fff; }
.atemp-theme .calling-process-top h1,
.atemp-theme .calling-process-top h2 { color: #fff !important; }
.atemp-theme .calling-process-top p,
.atemp-theme .calling-process-top span { color: #d4e2ee !important; }
.atemp-theme .calling-table-layout { display: grid; gap: 10px; }
.atemp-theme .calling-table-title { padding-bottom: 8px; border-bottom: 1px solid #ccd7e0; }
.atemp-theme .calling-table-title span { color: #286696; font-size: 10px !important; font-weight: 800; text-transform: uppercase; }
.atemp-theme .calling-table-title h2 { margin: 2px 0 0; color: #10243c; font-size: 15px; }
.atemp-theme .calling-premium-table { border: 1px solid #b4c3cf; }
.atemp-theme .calling-premium-table thead th { padding: 8px 10px; background: #173d62 !important; color: #fff !important; }
.atemp-theme .calling-premium-table td,
.atemp-theme .calling-premium-table tbody th { padding: 8px 10px; border-color: #ccd6df; color: #17263a; }
.atemp-theme .calling-premium-table tbody tr:nth-child(even) td,
.atemp-theme .calling-premium-table tbody tr:nth-child(even) th { background: #f3f7fa; }
.atemp-theme .calling-form-grid { gap: 9px; }
.atemp-theme .calling-disposition-actions { padding-top: 10px; border-top: 1px solid #ccd7e0; }

@media (max-width: 768px) {
  .atemp-theme .mobile-panel-shell,
  .atemp-theme .calling-process-page { display: block; padding: 7px 7px 78px !important; }
  .atemp-theme .mobile-panel-shell > *,
  .atemp-theme .calling-process-page > * { margin-bottom: 7px; }
  .atemp-theme .mobile-panel-hero { padding: 12px !important; border-radius: 3px; }
  .atemp-theme .mobile-panel-top h1 { font-size: 19px; }
  .atemp-theme .mobile-panel-top p { font-size: 11px; }
  .atemp-theme .mobile-panel-avatar { width: 36px; height: 36px; }
  .atemp-theme .panel-hero-metrics { margin-top: 10px; gap: 4px; }
  .atemp-theme .panel-hero-metrics > div { padding: 7px; }
  .atemp-theme .panel-hero-metrics strong { font-size: 14px; }
  .atemp-theme .mobile-panel-stats { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; }
  .atemp-theme .panel-stat-tile { min-height: 56px; padding: 7px; grid-template-columns: 29px 1fr; column-gap: 7px; }
  .atemp-theme .panel-stat-tile i { width: 28px; height: 28px; font-size: 14px; }
  .atemp-theme .panel-stat-tile strong { font-size: 16px; }
  .atemp-theme .mobile-panel-card,
  .atemp-theme .calling-table-card { padding: 9px !important; border-radius: 3px; }
  .atemp-theme .mobile-section-head { display: flex; align-items: center; gap: 7px; }
  .atemp-theme .mobile-section-head h2 { font-size: 14px; }
  .atemp-theme .mobile-section-head p { font-size: 10px; }
  .atemp-theme .panel-performance-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; }
  .atemp-theme .panel-metric-box,
  .atemp-theme .panel-metric-box.is-wide { min-height: 67px; padding: 7px; grid-column: auto; }
  .atemp-theme .panel-work-view-tabs { grid-template-columns: repeat(2,1fr); gap: 5px; }
  .atemp-theme .panel-work-view-tabs a { min-height: 48px; padding: 7px; }
  .atemp-theme .panel-work-priority { padding: 9px; }
  .atemp-theme .panel-work-priority h2 { font-size: 14px; }
  .atemp-theme .today-interview-grid { grid-template-columns: 1fr; }
  .atemp-theme .today-interview-card { min-height: 62px; padding: 7px; }
  .atemp-theme .panel-work-table-wrap { display: none; }
  .atemp-theme .panel-work-mobile-list { display: grid !important; gap: 6px; }
  .atemp-theme .panel-work-queue-card { padding: 9px !important; border: 1px solid #aebfce !important; border-left: 3px solid #286696 !important; border-radius: 3px !important; background: #fff !important; }
  .atemp-theme .panel-work-queue-card h3 { color: #10243c; font-size: 13px !important; }
  .atemp-theme .panel-work-queue-card p,
  .atemp-theme .panel-work-queue-card span { font-size: 10px !important; }
  .atemp-theme .staff-profiles-page { display: block !important; padding: 7px 7px 78px !important; }
  .atemp-theme .staff-profiles-page > .profile-grid { grid-template-columns: 1fr !important; gap: 6px !important; }
  .atemp-theme .staff-profiles-page .profile-card { min-height: 0 !important; padding: 9px !important; }
  .atemp-theme .calling-process-top { padding: 10px; }
  .atemp-theme .calling-table-layout { display: block; }
  .atemp-theme .calling-table-card { margin-bottom: 7px; }
  .atemp-theme .calling-premium-table { table-layout: fixed; width: 100%; }
  .atemp-theme .calling-premium-table th,
  .atemp-theme .calling-premium-table td { padding: 7px 6px !important; overflow-wrap: anywhere; }
  .atemp-theme .calling-form-grid { grid-template-columns: 1fr !important; gap: 7px; }
  .atemp-theme .calling-disposition-actions { display: grid; grid-template-columns: 1fr; gap: 6px; }
  .atemp-theme .calling-disposition-actions .btn { min-height: 39px; }
}

/* Calling staff work queue: clear data hierarchy and stable columns. */
body.atemp-theme .panel-work-shell #assigned-candidates { padding: 13px !important; overflow: hidden; }
body.atemp-theme .panel-work-shell .panel-work-table-wrap .table-responsive { overflow: visible; }
body.atemp-theme .panel-work-shell .panel-work-table { width: 100% !important; min-width: 0 !important; table-layout: fixed !important; border-collapse: separate; border-spacing: 0; }
body.atemp-theme .panel-work-shell .panel-work-table th:nth-child(1) { width: 31%; }
body.atemp-theme .panel-work-shell .panel-work-table th:nth-child(2) { width: 21%; }
body.atemp-theme .panel-work-shell .panel-work-table th:nth-child(3) { width: 15%; }
body.atemp-theme .panel-work-shell .panel-work-table th:nth-child(4) { width: 22%; }
body.atemp-theme .panel-work-shell .panel-work-table th:nth-child(5) { width: 11%; }
body.atemp-theme .panel-work-shell .panel-work-table thead th { height: 40px; padding: 9px 11px !important; border: 0; letter-spacing: .045em; }
body.atemp-theme .panel-work-shell .panel-work-table tbody td { height: 68px; padding: 8px 10px !important; border-width: 0 0 1px; border-color: #c5d1db !important; overflow: hidden; }
body.atemp-theme .panel-work-shell .panel-work-table tbody tr:hover td { background: #eaf2f8 !important; }
.atemp-theme .work-candidate-cell { display: flex; min-width: 0; align-items: center; gap: 9px; }
.atemp-theme .work-candidate-avatar { display: grid !important; width: 34px; min-width: 34px; height: 34px; border: 1px solid #b8cbe0; border-radius: 50%; background: #e8f2fc; color: #174f80 !important; font-size: 12px !important; font-weight: 800; place-items: center; }
.atemp-theme .work-candidate-copy { min-width: 0; }
.atemp-theme .work-candidate-copy strong,
.atemp-theme .work-candidate-copy span,
.atemp-theme .work-candidate-copy small { display: block !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.atemp-theme .work-candidate-copy strong { color: #10243c !important; font-size: 12px !important; }
.atemp-theme .work-candidate-copy span { margin-top: 2px; color: #435b72 !important; font-size: 10px !important; }
.atemp-theme .work-candidate-copy small { margin-top: 2px; color: #6a7988 !important; font-size: 9px !important; }
body.atemp-theme .panel-work-shell .work-schedule-cell,
body.atemp-theme .panel-work-shell .work-call-status { min-width: 0; }
body.atemp-theme .panel-work-shell .work-schedule-cell strong,
body.atemp-theme .panel-work-shell .work-call-status strong { overflow: hidden; max-width: 100%; color: #17263a !important; font-size: 11px !important; text-overflow: ellipsis; white-space: nowrap; }
body.atemp-theme .panel-work-shell .work-schedule-cell em,
body.atemp-theme .panel-work-shell .work-call-status em { overflow: hidden; max-width: 100%; color: #647486 !important; font-size: 9px !important; text-overflow: ellipsis; white-space: nowrap; }
body.atemp-theme .panel-work-shell .work-schedule-badge { width: max-content; max-width: 100%; padding: 3px 6px; border-radius: 2px; font-size: 9px !important; }
body.atemp-theme .panel-work-shell .work-step-summary { min-width: 0; padding: 6px 7px; border-radius: 3px; }
body.atemp-theme .panel-work-shell .work-step-summary strong { font-size: 11px !important; }
body.atemp-theme .panel-work-shell .work-step-summary span { font-size: 9px !important; }
body.atemp-theme .panel-work-shell .work-process-button { display: inline-flex; min-width: 58px; min-height: 34px; padding: 6px 8px; justify-content: center; gap: 4px; border-radius: 3px; }
.atemp-theme .work-mobile-contact { display: none; }

@media (max-width: 768px) {
  body.atemp-theme .panel-work-shell #assigned-candidates { padding: 7px !important; }
  body.atemp-theme .panel-work-shell .panel-work-filters { padding: 7px !important; }
  body.atemp-theme .panel-work-shell .panel-work-filter-chips { display: flex; overflow-x: auto; padding-bottom: 2px; flex-wrap: nowrap; gap: 4px; scrollbar-width: none; }
  body.atemp-theme .panel-work-shell .panel-work-filter-chips button { min-width: max-content; min-height: 32px; padding: 5px 9px; }
  body.atemp-theme .panel-work-shell .panel-profile-group-head { position: sticky; top: 54px; z-index: 2; padding: 7px 8px; border: 1px solid #b5c4d0; border-radius: 2px; background: #e9f0f6; }
  body.atemp-theme .panel-work-shell .panel-work-queue-card { display: block !important; padding: 8px !important; }
  body.atemp-theme .panel-work-shell .panel-candidate-head { display: grid !important; grid-template-columns: 34px minmax(0,1fr) auto !important; gap: 7px !important; padding-bottom: 7px; border-bottom: 1px solid #d5dfe7; }
  body.atemp-theme .panel-work-shell .mobile-team-icon { display: grid; width: 34px; height: 34px; border: 1px solid #bfd0df; border-radius: 50%; background: #e8f2fc; color: #174f80; font-size: 11px; font-weight: 800; place-items: center; }
  body.atemp-theme .panel-work-shell .panel-candidate-head h3 { margin: 0 0 2px; font-size: 13px !important; }
  body.atemp-theme .panel-work-shell .panel-candidate-head p { overflow: hidden; margin: 0; color: #526579; font-size: 10px !important; text-overflow: ellipsis; white-space: nowrap; }
  body.atemp-theme .panel-work-shell .panel-candidate-badges { align-items: flex-end; gap: 3px; }
  body.atemp-theme .panel-work-shell .work-mobile-contact { display: grid; padding: 7px 0; grid-template-columns: .72fr 1.28fr; gap: 5px; }
  body.atemp-theme .panel-work-shell .work-mobile-contact span { display: flex; min-width: 0; align-items: center; gap: 4px; color: #3d536a; font-size: 9px !important; overflow-wrap: anywhere; }
  body.atemp-theme .panel-work-shell .work-mobile-schedule,
  body.atemp-theme .panel-work-shell .work-mobile-call-state { min-height: 0; padding: 7px !important; border: 1px solid #d0dae3; border-radius: 2px; background: #f5f8fa; }
  body.atemp-theme .panel-work-shell .panel-candidate-status-actions { display: grid !important; margin-top: 6px; grid-template-columns: minmax(0,1fr) auto; align-items: stretch; gap: 5px; }
  body.atemp-theme .panel-work-shell .panel-candidate-actions .btn { height: 100%; min-height: 38px; border-radius: 2px; white-space: nowrap; }
}

/* Candidate first-login profile selection. */
.atemp-theme .candidate-signup-page:has(.candidate-profile-grid) { align-items: flex-start; min-height: 100dvh; padding: 22px 12px; background: linear-gradient(135deg,#eef4f8 0%,#fff 48%,#eaf2f5 100%); }
.atemp-theme .candidate-signup-page:has(.candidate-profile-grid) .candidate-signup-card { width: min(980px,100%); overflow: visible; border: 1px solid #b8c7d3; border-radius: 6px; box-shadow: 0 14px 38px rgba(15,23,42,.12); }
.atemp-theme .candidate-signup-page:has(.candidate-profile-grid) .candidate-signup-card .card-body { padding: 15px !important; }
.atemp-theme .candidate-signup-page:has(.candidate-profile-grid) .signup-brandbar { padding-bottom: 10px; border-color: #cdd8e1; }
.atemp-theme .candidate-signup-page:has(.candidate-profile-grid) .signup-login-link { min-height: 34px; border-color: #b8c7d3; border-radius: 3px; color: #244766; font-size: 11px; box-shadow: none; }
.atemp-theme .candidate-signup-page:has(.candidate-profile-grid) .signup-title-block { margin: 12px 0 10px !important; }
.atemp-theme .candidate-signup-page:has(.candidate-profile-grid) .signup-eyebrow { min-height: 23px; margin-bottom: 5px; padding: 3px 7px; border-radius: 2px; background: #e7f1fb; color: #2563eb; font-size: 10px; }
.atemp-theme .candidate-signup-page:has(.candidate-profile-grid) h1 { margin-bottom: 3px; color: #10243c; font-size: 22px; }
.atemp-theme .candidate-signup-page:has(.candidate-profile-grid) p.text-muted { color: #526174 !important; font-size: 12px; }
.atemp-theme .candidate-profile-filters { position: sticky; top: 0; z-index: 8; display: grid; grid-template-columns: minmax(240px,1fr) 230px auto; gap: 7px; margin-bottom: 9px; padding: 8px; align-items: center; border: 1px solid #aebfce; border-left: 3px solid #2563eb; border-radius: 3px; background: rgba(242,247,250,.96); backdrop-filter: blur(8px); }
.atemp-theme .candidate-profile-search { position: relative; margin: 0; }
.atemp-theme .candidate-profile-search > i { position: absolute; top: 50%; left: 10px; z-index: 2; color: #526c82; font-size: 15px; transform: translateY(-50%); }
.atemp-theme .candidate-profile-search .form-control { padding-left: 33px; }
.atemp-theme .candidate-profile-filters .form-control,
.atemp-theme .candidate-profile-filters .form-select { min-height: 40px; border-color: #9fb1c0; border-radius: 2px; background-color: #fff; color: #111827; font-size: 12px; }
.atemp-theme .candidate-profile-filters > span { min-width: 78px; padding: 7px; border: 1px solid #b8c7d3; border-radius: 2px; background: #fff; color: #40566c; font-size: 10px; font-weight: 700; text-align: center; }
.atemp-theme .candidate-profile-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.atemp-theme .candidate-profile-option { position: relative; display: grid; grid-template-columns: 70px minmax(0,1fr); min-height: 105px; padding: 8px; gap: 9px; align-items: center; overflow: hidden; border: 1px solid #bdcad6; border-radius: 3px; background: #fff; cursor: pointer; transition: border-color .15s ease,box-shadow .15s ease,transform .15s ease; }
.atemp-theme .candidate-profile-option:hover { border-color: #7497b5; box-shadow: 0 4px 12px rgba(15,23,42,.09); transform: translateY(-1px); }
.atemp-theme .candidate-profile-option.is-selected { border-color: #2563eb; box-shadow: 0 0 0 2px rgba(37,99,235,.14); background: #f5f9ff; }
.atemp-theme .candidate-profile-option .profile-type-image { display: grid; width: 70px; height: 84px; place-items: center; overflow: hidden; border: 1px solid #c5d1db; border-radius: 3px; background: #eaf1f6; }
.atemp-theme .candidate-profile-option .profile-type-image img { width: 100%; height: 100%; object-fit: cover; }
.atemp-theme .candidate-profile-option .profile-type-image i { color: #315d85; font-size: 25px; }
.atemp-theme .candidate-profile-option-copy { display: flex; min-width: 0; flex-direction: column; align-self: stretch; justify-content: center; }
.atemp-theme .candidate-profile-option-copy strong { display: -webkit-box; overflow: hidden; color: #172033; font-size: 13px; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.atemp-theme .candidate-profile-option-copy em { margin-top: 3px; color: #2563eb; font-size: 10px; font-style: normal; font-weight: 700; }
.atemp-theme .candidate-profile-option-copy small { display: -webkit-box; overflow: hidden; margin-top: 4px; color: #68798c; font-size: 9px; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.atemp-theme .candidate-profile-option > .form-check-input { position: absolute; top: 8px; right: 8px; width: 16px; height: 16px; margin: 0; opacity: 0; }
.atemp-theme .candidate-profile-check { position: absolute; top: 7px; right: 7px; display: grid; width: 22px; height: 22px; place-items: center; border: 1px solid #b7c5d1; border-radius: 50%; background: #fff; color: transparent; font-size: 13px; }
.atemp-theme .candidate-profile-option.is-selected .candidate-profile-check { border-color: #2563eb; background: #2563eb; color: #fff; }
.atemp-theme .candidate-profile-option[hidden] { display: none !important; }
.atemp-theme .candidate-profile-empty { display: flex; min-height: 100px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 1px dashed #9fb1c0; background: #f7fafc; color: #526174; font-size: 11px; }
.atemp-theme .candidate-profile-empty[hidden] { display: none !important; }
.atemp-theme .candidate-profile-empty i { font-size: 25px; }
.atemp-theme .candidate-profile-submit { position: sticky; right: 0; bottom: 0; left: 0; z-index: 9; display: flex; margin: 10px -15px -15px; padding: 9px 15px; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #aebfce; background: rgba(255,255,255,.97); box-shadow: 0 -5px 18px rgba(15,23,42,.09); backdrop-filter: blur(8px); }
.atemp-theme .candidate-profile-submit > span { display: flex; min-width: 0; flex-direction: column; }
.atemp-theme .candidate-profile-submit strong { color: #10243c; font-size: 12px; }
.atemp-theme .candidate-profile-submit small { color: #68798c; font-size: 9px; }
.atemp-theme .candidate-profile-submit .btn { min-width: 145px; min-height: 40px; border-radius: 3px; font-size: 12px; }
.atemp-theme .candidate-profile-submit .btn:disabled { background: #90a0ae; border-color: #90a0ae; }

@media (max-width: 768px) {
  .atemp-theme .candidate-signup-page:has(.candidate-profile-grid) { padding: 0; }
  .atemp-theme .candidate-signup-page:has(.candidate-profile-grid) .candidate-signup-card { min-height: 100dvh; border: 0; border-radius: 0; box-shadow: none; }
  .atemp-theme .candidate-signup-page:has(.candidate-profile-grid) .candidate-signup-card .card-body { padding: 10px !important; }
  .atemp-theme .candidate-signup-page:has(.candidate-profile-grid) .signup-brandbar { margin: -10px -10px 8px; padding: 8px 10px; }
  .atemp-theme .candidate-signup-page:has(.candidate-profile-grid) .signup-title-block { margin: 7px 0 8px !important; }
  .atemp-theme .candidate-signup-page:has(.candidate-profile-grid) h1 { font-size: 18px; }
  .atemp-theme .candidate-signup-page:has(.candidate-profile-grid) p.text-muted { font-size: 10px; line-height: 1.4; }
  .atemp-theme .candidate-profile-filters { top: 56px; grid-template-columns: minmax(0,1fr) 120px; gap: 5px; margin: 0 -2px 7px; padding: 6px; }
  .atemp-theme .candidate-profile-filters > span { grid-column: 1/-1; min-height: 0; padding: 2px 5px; border: 0; background: transparent; text-align: left; }
  .atemp-theme .candidate-profile-filters .form-control,
  .atemp-theme .candidate-profile-filters .form-select { min-height: 39px; font-size: 11px; }
  .atemp-theme .candidate-profile-grid { grid-template-columns: 1fr; gap: 6px; padding-bottom: 70px !important; }
  .atemp-theme .candidate-profile-option { grid-template-columns: 58px minmax(0,1fr); min-height: 78px; padding: 7px 36px 7px 7px; }
  .atemp-theme .candidate-profile-option .profile-type-image { width: 58px; height: 62px; }
  .atemp-theme .candidate-profile-option-copy strong { font-size: 12px; }
  .atemp-theme .candidate-profile-option-copy small { -webkit-line-clamp: 1; }
  .atemp-theme .candidate-profile-submit { position: fixed; right: 7px; bottom: calc(7px + env(safe-area-inset-bottom)); left: 7px; margin: 0; padding: 6px; border: 1px solid #9fb1c0; border-left: 3px solid #2563eb; border-radius: 3px; }
  .atemp-theme .candidate-profile-submit > span { max-width: 55%; padding-left: 3px; }
  .atemp-theme .candidate-profile-submit small { display: none; }
  .atemp-theme .candidate-profile-submit .btn { min-width: 125px; min-height: 39px; }
}

.atemp-theme .forgot-password-notice {
  display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 9px; padding: 10px;
  align-items: start; border: 1px solid #9bc9ad; border-left: 4px solid #21824d; border-radius: 4px;
  background: #edf8f1; color: #214b34; text-align: left;
}
.atemp-theme .forgot-password-notice > i { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: #d4efdf; color: #17603b; font-size: 17px; }
.atemp-theme .forgot-password-notice > div { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.atemp-theme .forgot-password-notice strong { color: #173b2a; font-size: 12px; }
.atemp-theme .forgot-password-notice span { color: #3e6650; font-size: 11px; line-height: 1.45; }

/* Old candidate records: dense desktop register and mobile record cards. */
.atemp-theme .old-candidates-page { color: #172033; }
.atemp-theme .old-candidates-page .old-record-hero {
  min-height: 76px; margin: 0 0 10px !important; padding: 12px 14px !important;
  border: 1px solid #afbfce !important; border-left: 4px solid #2563eb !important; border-radius: 4px !important;
  background: linear-gradient(110deg, #fff 0%, #edf3f8 100%) !important; box-shadow: 0 2px 7px rgba(15,23,42,.07) !important;
}
.atemp-theme .old-candidates-page .old-record-hero h1 { margin: 2px 0 1px !important; color: #101f33 !important; font-size: 20px !important; font-weight: 750; }
.atemp-theme .old-candidates-page .old-record-hero p { color: #526174 !important; font-size: 11px !important; }
.atemp-theme .old-candidates-page .permission-eyebrow { color: #2563eb !important; font-size: 9px !important; font-weight: 800; letter-spacing: .08em; }
.atemp-theme .old-candidates-page .old-record-source { min-width: 210px; padding: 7px 8px !important; border: 1px solid #bdcad6 !important; border-radius: 3px !important; background: #fff !important; }
.atemp-theme .old-candidates-page .old-record-source span { color: #10243c !important; font-size: 17px !important; }
.atemp-theme .old-candidates-page .old-record-source small { color: #64748b !important; font-size: 9px !important; }
.atemp-theme .old-candidates-page .old-record-source .btn { min-height: 31px; border-color: #9fb1c2; border-radius: 3px; color: #173b61; font-size: 10px; }
.atemp-theme .old-candidates-page .old-record-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin-bottom: 10px; }
.atemp-theme .old-candidates-page .old-record-stats > div {
  display: grid; grid-template-columns: 32px 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center;
  min-height: 58px; padding: 7px 10px !important; border: 1px solid #b7c6d3 !important; border-radius: 3px !important; background: #fff !important; box-shadow: 0 2px 5px rgba(15,23,42,.05) !important;
}
.atemp-theme .old-candidates-page .old-record-stats i { grid-row: 1/3; display: grid; width: 31px; height: 31px; place-items: center; border-radius: 3px !important; background: #173b61 !important; color: #fff !important; font-size: 16px !important; }
.atemp-theme .old-candidates-page .old-record-stats span { align-self: end; color: #111827 !important; font-size: 16px !important; font-weight: 750; line-height: 1.1; }
.atemp-theme .old-candidates-page .old-record-stats p { align-self: start; margin: 1px 0 0 !important; color: #607084 !important; font-size: 9px !important; }
.atemp-theme .old-candidates-page .old-record-filter,
.atemp-theme .old-candidates-page .old-record-card { border: 1px solid #afbfce !important; border-radius: 4px !important; background: #fff !important; box-shadow: 0 2px 7px rgba(15,23,42,.06) !important; }
.atemp-theme .old-candidates-page .old-record-filter { border-top: 3px solid #315d85 !important; }
.atemp-theme .old-candidates-page .old-record-filter .card-body { padding: 9px !important; }
.atemp-theme .old-candidates-page .old-record-filter .form-label,
.atemp-theme .old-candidates-page .old-assign-panel .form-label { color: #29384b; font-size: 9px !important; font-weight: 750; text-transform: uppercase; letter-spacing: .04em; }
.atemp-theme .old-candidates-page .form-control,
.atemp-theme .old-candidates-page .form-select { min-height: 36px !important; border-color: #a9bac9 !important; border-radius: 2px !important; color: #111827 !important; font-size: 11px !important; }
.atemp-theme .old-candidates-page .old-record-filter .btn { min-height: 36px; border-radius: 2px; font-size: 11px; }
.atemp-theme .old-candidates-page .old-record-card > .card-body { padding: 0 !important; }
.atemp-theme .old-candidates-page .candidate-table-head { min-height: 55px; padding: 9px 11px !important; border-bottom: 1px solid #c7d2dc; background: #edf3f8; }
.atemp-theme .old-candidates-page .candidate-table-head h2 { color: #10243c; font-size: 15px !important; font-weight: 750; }
.atemp-theme .old-candidates-page .candidate-table-head p { font-size: 9px; }
.atemp-theme .old-candidates-page .old-record-range { padding: 5px 9px !important; border: 1px solid #b8c7d4 !important; border-radius: 20px !important; background: #fff !important; color: #526174; font-size: 9px; }
.atemp-theme .old-candidates-page .old-record-range strong { color: #173b61 !important; font-size: 10px !important; }
.atemp-theme .old-candidates-page .old-assign-panel {
  display: grid; grid-template-columns: repeat(3,minmax(150px,1fr)) auto auto auto; gap: 7px; align-items: end;
  margin: 9px !important; padding: 8px !important; border: 1px solid #aebfce !important; border-left: 3px solid #2563eb !important; border-radius: 3px !important; background: #eaf1f7 !important;
}
.atemp-theme .old-candidates-page .old-assign-panel .btn { min-height: 36px; border-radius: 2px; font-size: 10px; white-space: nowrap; }
.atemp-theme .old-candidates-page .old-select-count { display: grid; min-height: 36px; padding: 5px 8px; place-items: center; border-radius: 2px; background: #fff; color: #42546a; font-size: 9px; font-weight: 700; }
.atemp-theme .old-candidates-page .candidate-compact-wrap { overflow: visible !important; margin: 0 9px; border: 1px solid #aebdca; border-radius: 3px; }
.atemp-theme .old-candidates-page .old-candidate-table { width: 100%; table-layout: fixed; color: #172033; font-size: 11px; }
.atemp-theme .old-candidates-page .old-candidate-table th { height: 38px; padding: 7px 9px !important; border-color: #41617f !important; background: #173b61 !important; color: #fff !important; font-size: 9px !important; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.atemp-theme .old-candidates-page .old-candidate-table th:first-child { width: 72px; }
.atemp-theme .old-candidates-page .old-candidate-table th:nth-last-child(3) { width: 130px; }
.atemp-theme .old-candidates-page .old-candidate-table th:nth-last-child(2) { width: 135px; }
.atemp-theme .old-candidates-page .old-candidate-table th:last-child { width: 24%; }
.atemp-theme .old-candidates-page .old-candidate-table td { height: 44px; padding: 6px 9px !important; border-color: #d7e0e7 !important; background: #fff !important; color: #172033 !important; vertical-align: middle; }
.atemp-theme .old-candidates-page .old-candidate-table tbody tr:nth-child(even) td { background: #f6f9fb !important; }
.atemp-theme .old-candidates-page .old-candidate-table tbody tr:hover td { background: #edf5fb !important; }
.atemp-theme .old-candidates-page .old-candidate-table td[data-label="Candidate"] { display: flex; align-items: center; gap: 8px; }
.atemp-theme .old-candidate-avatar { display: grid; width: 29px; height: 29px; flex: 0 0 29px; place-items: center; border: 1px solid #b8cbe0; border-radius: 50%; background: #e7f1fb; color: #19538c; font-size: 10px; font-weight: 750; }
.atemp-theme .old-candidate-name { display: flex; min-width: 0; flex-direction: column; }
.atemp-theme .old-candidate-name strong { overflow: hidden; color: #122e4d; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.atemp-theme .old-candidate-name small { color: #718096; font-size: 8px; }
.atemp-theme .old-record-email,
.atemp-theme .old-record-phone { display: block; overflow: hidden; color: #26384d !important; font-size: 10px !important; text-overflow: ellipsis; white-space: nowrap; }
.atemp-theme .old-profile-badge { display: inline-flex; max-width: 100%; align-items: center; gap: 5px; padding: 4px 6px; border: 1px solid #c6d4df; border-radius: 2px; background: #edf3f7; color: #203c58; font-size: 9px; font-weight: 650; }
.atemp-theme .old-profile-badge i { flex: 0 0 auto; color: #2563eb; }
.atemp-theme .old-profile-badge { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.atemp-theme .old-candidates-page .old-pagination { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 9px; padding: 9px 11px; border-top: 1px solid #cbd6df; background: #f4f7fa; }
.atemp-theme .old-candidates-page .old-pagination-info { color: #526174; font-size: 10px; }
.atemp-theme .old-candidates-page .old-pagination-pages { display: flex; gap: 3px; align-items: center; }
.atemp-theme .old-candidates-page .old-pagination-pages a { display: grid; min-width: 30px; height: 30px; padding: 0 5px; place-items: center; border: 1px solid #aabaca; border-radius: 2px; background: #fff; color: #173b61; font-size: 10px; text-decoration: none; }
.atemp-theme .old-candidates-page .old-pagination-pages a.is-active { border-color: #173b61; background: #173b61; color: #fff; }
.atemp-theme .old-candidates-page .old-pagination-pages a.is-disabled { pointer-events: none; opacity: .4; }

@media (max-width: 768px) {
  .atemp-theme .old-candidates-page { padding-bottom: 8px; }
  .atemp-theme .old-candidates-page .old-record-hero { min-height: 0; padding: 9px !important; }
  .atemp-theme .old-candidates-page .old-record-hero h1 { font-size: 17px !important; }
  .atemp-theme .old-candidates-page .old-record-hero p { max-width: 230px; font-size: 9px !important; line-height: 1.3; }
  .atemp-theme .old-candidates-page .old-record-source { min-width: 0; padding: 5px 6px !important; }
  .atemp-theme .old-candidates-page .old-record-source span { font-size: 14px !important; }
  .atemp-theme .old-candidates-page .old-record-source .btn { width: 32px; min-height: 31px; padding: 0; font-size: 0; }
  .atemp-theme .old-candidates-page .old-record-source .btn i { margin: 0; font-size: 14px; }
  .atemp-theme .old-candidates-page .old-record-stats { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 4px; margin-bottom: 7px; }
  .atemp-theme .old-candidates-page .old-record-stats > div { display: flex; min-height: 52px; padding: 5px 3px !important; flex-direction: column; justify-content: center; gap: 1px; text-align: center; }
  .atemp-theme .old-candidates-page .old-record-stats i { display: none; }
  .atemp-theme .old-candidates-page .old-record-stats span { font-size: 12px !important; }
  .atemp-theme .old-candidates-page .old-record-stats p { overflow: hidden; width: 100%; font-size: 7px !important; text-overflow: ellipsis; white-space: nowrap; }
  .atemp-theme .old-candidates-page .old-record-filter { margin-bottom: 7px !important; }
  .atemp-theme .old-candidates-page .old-record-filter .card-body { padding: 7px !important; }
  .atemp-theme .old-candidates-page .old-record-filter form { display: grid; grid-template-columns: 1fr 1fr; gap: 5px !important; }
  .atemp-theme .old-candidates-page .old-record-filter form > div { width: 100%; padding: 0; }
  .atemp-theme .old-candidates-page .old-record-filter form > div:first-child { grid-column: 1/-1; }
  .atemp-theme .old-candidates-page .old-record-filter form > div:last-child { grid-column: 1/-1; }
  .atemp-theme .old-candidates-page .old-record-filter .form-label { display: none; }
  .atemp-theme .old-candidates-page .form-control,
  .atemp-theme .old-candidates-page .form-select { min-height: 38px !important; }
  .atemp-theme .old-candidates-page .candidate-table-head { min-height: 48px; padding: 7px 8px !important; }
  .atemp-theme .old-candidates-page .candidate-table-head h2 { font-size: 13px !important; }
  .atemp-theme .old-candidates-page .candidate-table-head p { display: none; }
  .atemp-theme .old-candidates-page .old-assign-panel { grid-template-columns: 1fr 1fr; gap: 5px; margin: 7px !important; padding: 7px !important; }
  .atemp-theme .old-candidates-page .old-assign-panel > div:first-child { grid-column: 1/-1; }
  .atemp-theme .old-candidates-page .old-assign-panel .form-label { display: none; }
  .atemp-theme .old-candidates-page .old-assign-panel .btn { min-width: 0; white-space: normal; }
  .atemp-theme .old-candidates-page .old-select-count { min-height: 36px; }
  .atemp-theme .old-candidates-page .candidate-compact-wrap { overflow: visible !important; margin: 0 7px; border: 0; background: transparent; }
  .atemp-theme .old-candidates-page .old-candidate-table,
  .atemp-theme .old-candidates-page .old-candidate-table tbody { display: block !important; width: 100%; }
  .atemp-theme .old-candidates-page .old-candidate-table thead { display: none !important; }
  .atemp-theme .old-candidates-page .old-candidate-table tr { position: relative; display: grid !important; grid-template-columns: 78px minmax(0,1fr); gap: 0 7px; margin-bottom: 6px; padding: 7px !important; border: 1px solid #aebfce; border-top: 3px solid #315d85; border-radius: 3px; background: #fff; box-shadow: 0 2px 6px rgba(15,23,42,.07); }
  .atemp-theme .old-candidates-page .old-candidate-table td { display: block !important; width: auto !important; height: auto; min-width: 0; padding: 5px 0 !important; border: 0 !important; border-bottom: 1px solid #e0e7ed !important; background: #fff !important; }
  .atemp-theme .old-candidates-page .old-candidate-table td::before { display: block; margin-bottom: 2px; color: #5f7185; font-size: 7px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; content: attr(data-label); }
  .atemp-theme .old-candidates-page .old-candidate-table td[data-label="Select"] { position: absolute; z-index: 2; justify-self: end; padding: 4px !important; border: 0 !important; }
  .atemp-theme .old-candidates-page .old-candidate-table td[data-label="Select"]::before { display: none; }
  .atemp-theme .old-candidates-page .old-candidate-table td[data-label="Candidate"] { grid-column: 1/-1; min-height: 40px; padding: 0 38px 6px 0 !important; border-bottom-color: #ccd8e2 !important; }
  .atemp-theme .old-candidates-page .old-candidate-table td[data-label="Candidate"]::before { display: none; }
  .atemp-theme .old-candidates-page .old-candidate-table td[data-label="Email"] { grid-column: 1/-1; }
  .atemp-theme .old-candidates-page .old-candidate-table td[data-label="Phone"] { grid-column: 1; border-bottom: 0 !important; }
  .atemp-theme .old-candidates-page .old-candidate-table td[data-label="Profile"] { grid-column: 2; border-bottom: 0 !important; }
  .atemp-theme .old-record-email { white-space: normal; overflow-wrap: anywhere; line-height: 1.25; }
  .atemp-theme .old-profile-badge { display: flex; padding: 3px 4px; font-size: 8px; white-space: normal; line-height: 1.2; }
  .atemp-theme .old-candidates-page .old-pagination { flex-direction: column; gap: 6px; margin-top: 7px; padding: 7px; }
  .atemp-theme .old-candidates-page .old-pagination-pages { max-width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .atemp-theme .old-candidates-page .old-pagination-pages a { min-width: 29px; height: 29px; flex: 0 0 29px; }
}

/* Old records alignment corrections. */
.atemp-theme .old-candidates-page .old-candidate-table td[data-label="Candidate"] { display: table-cell !important; }
.atemp-theme .old-candidate-identity { display: flex; min-width: 0; align-items: center; gap: 8px; }
.atemp-theme .old-candidates-page .old-candidate-table td[data-label="Candidate"] { width: 26%; }
.atemp-theme .old-candidates-page .old-assign-mobile-toggle { display: none; }

@media (max-width: 768px) {
  .atemp-theme .profile-manager.old-candidates-page { display: block !important; padding: 0 !important; }
  .atemp-theme .profile-manager.old-candidates-page .profile-head.old-record-hero {
    display: flex !important; min-height: 0 !important; padding: 9px !important; grid-template-columns: none !important;
    align-items: center !important; justify-content: space-between !important; gap: 7px !important;
  }
  .atemp-theme .old-candidates-page .old-record-hero > div:first-child { min-width: 0; }
  .atemp-theme .old-candidates-page .old-record-hero p { display: none !important; }
  .atemp-theme .old-candidates-page .old-record-source { display: flex !important; min-width: 142px; flex: 0 0 142px; align-items: center; justify-content: space-between; }
  .atemp-theme .old-candidates-page .old-record-source small { display: none; }
  .atemp-theme .old-candidates-page .old-record-source form { margin: 0; }
  .atemp-theme .old-candidates-page .old-record-stats { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .atemp-theme .old-candidates-page .old-record-filter form { display: grid !important; grid-template-columns: 1fr 1fr !important; }
  .atemp-theme .old-candidates-page .old-assign-mobile-toggle {
    display: flex; width: calc(100% - 14px); min-height: 38px; margin: 7px; padding: 7px 9px;
    align-items: center; justify-content: space-between; border: 1px solid #9fb1c2; border-left: 3px solid #2563eb;
    border-radius: 3px; background: #edf3f8; color: #17324e; font-size: 10px; font-weight: 750;
  }
  .atemp-theme .old-candidates-page .old-assign-mobile-toggle span { display: inline-flex; align-items: center; gap: 6px; }
  .atemp-theme .old-candidates-page .old-assign-mobile-toggle > i { transition: transform .18s ease; }
  .atemp-theme .old-candidates-page .old-assign-form:not(.is-assign-open) .old-assign-panel { display: none !important; }
  .atemp-theme .old-candidates-page .old-assign-form.is-assign-open .old-assign-mobile-toggle > i { transform: rotate(180deg); }
  .atemp-theme .old-candidates-page .old-assign-panel { grid-template-columns: 1fr 1fr !important; }
  .atemp-theme .old-candidates-page .old-candidate-table td[data-label="Candidate"] { display: block !important; }
  .atemp-theme .old-candidates-page .old-candidate-table td[data-label="Candidate"] { width: auto; }
  .atemp-theme .old-candidate-identity { padding-right: 28px; }
  .atemp-theme .old-candidate-name strong { display: block; overflow: visible; font-size: 11px; white-space: normal; overflow-wrap: anywhere; }
  .atemp-theme .old-candidates-page .old-candidate-table td[data-label="Email"] { padding: 5px 0 !important; }
  .atemp-theme .old-candidates-page .old-candidate-table td[data-label="Phone"],
  .atemp-theme .old-candidates-page .old-candidate-table td[data-label="Profile"] { min-width: 0; }
}

/* Settings: compact classic administration workspace. */
.atemp-theme .settings-hero {
  min-height: 92px;
  margin-bottom: 12px !important;
  padding: 16px 18px;
  border: 1px solid #b9c8d6;
  border-left: 4px solid #2563eb;
  border-radius: 4px;
  background: linear-gradient(115deg, #fff 0%, #f3f7fb 100%);
  box-shadow: 0 2px 7px rgba(15, 23, 42, .06);
}
.atemp-theme .settings-hero h1 { color: #111827; font-size: 23px !important; font-weight: 750; }
.atemp-theme .settings-hero p { color: #526174; font-size: 12px; }
.atemp-theme .settings-kicker { margin-bottom: 3px !important; color: #2563eb; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.atemp-theme .settings-hero-meta { display: flex; gap: 7px; flex-wrap: wrap; }
.atemp-theme .settings-hero-meta span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 5px 9px;
  border: 1px solid #cbd7e2; border-radius: 3px; background: #fff; color: #24364b; font-size: 11px; font-weight: 650;
}
.atemp-theme .settings-hero-meta i { color: #2563eb; font-size: 15px; }
.atemp-theme .settings-form > .row { --bs-gutter-x: 12px; --bs-gutter-y: 12px; }
.atemp-theme .settings-rail {
  position: sticky; top: 62px; overflow: hidden; padding: 9px;
  border: 1px solid #b9c8d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 8px rgba(15, 23, 42, .06);
}
.atemp-theme .settings-brand-preview { display: flex; align-items: center; gap: 9px; padding: 8px; border-bottom: 1px solid #dbe4ec; color: #15243a; }
.atemp-theme .settings-brand-preview img { width: 38px; height: 38px; object-fit: contain; border: 1px solid #d6e0e8; border-radius: 3px; background: #fff; }
.atemp-theme .settings-rail-status { display: flex; align-items: center; gap: 7px; margin: 7px 0; padding: 6px 8px; background: #f1f5f9; color: #526174; font-size: 10px; }
.atemp-theme .settings-rail-status .status-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px #dcfce7; }
.atemp-theme .settings-rail-link {
  display: flex; align-items: center; gap: 9px; min-height: 37px; margin: 2px 0; padding: 7px 9px;
  border-left: 3px solid transparent; border-radius: 2px; color: #334155; font-size: 12px; font-weight: 650; text-decoration: none;
}
.atemp-theme .settings-rail-link i { width: 18px; color: #52708c; font-size: 16px; text-align: center; }
.atemp-theme .settings-rail-link:hover { background: #edf3f8; color: #0f2742; }
.atemp-theme .settings-rail-link.active,
.atemp-theme .settings-rail-link.is-active { border-left-color: #60a5fa; background: #132b47; color: #fff; }
.atemp-theme .settings-rail-link.active i,
.atemp-theme .settings-rail-link.is-active i { color: #fff; }
.atemp-theme .settings-rail > .btn { min-height: 38px; border-radius: 3px; background: #2563eb; font-size: 12px; font-weight: 700; }
.atemp-theme .settings-panel-section.is-hidden { display: none !important; }
.atemp-theme .settings-panel-section > .card { overflow: hidden; border: 1px solid #b9c8d6 !important; border-radius: 4px !important; background: #fff; box-shadow: 0 2px 8px rgba(15, 23, 42, .055) !important; }
.atemp-theme .settings-panel-section > .card::before { display: none !important; content: none !important; }
.atemp-theme .settings-panel-section > .card > .card-body { padding: 13px !important; }
.atemp-theme .settings-section-title { display: flex; align-items: center; gap: 8px; margin: -13px -13px 13px; padding: 10px 13px; border-bottom: 1px solid #cbd7e2; background: #eaf1f7; }
.atemp-theme .settings-section-title i { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 3px; background: #173b61; color: #fff; font-size: 16px; }
.atemp-theme .settings-section-title h2 { margin: 0; color: #10243c; font-size: 15px; font-weight: 750; }
.atemp-theme .settings-panel-section .form-label { margin-bottom: 4px; color: #1e293b; font-size: 11px; font-weight: 700; }
.atemp-theme .settings-panel-section .form-control,
.atemp-theme .settings-panel-section .form-select { min-height: 38px; border-color: #aebdcb; border-radius: 2px; background-color: #fff; color: #111827; font-size: 12px; }
.atemp-theme .settings-panel-section textarea.form-control { min-height: 82px; }
.atemp-theme .settings-panel-section .form-control:focus,
.atemp-theme .settings-panel-section .form-select:focus { border-color: #2563eb; box-shadow: 0 0 0 2px rgba(37, 99, 235, .12); }
.atemp-theme .settings-panel-section .form-text { overflow-wrap: anywhere; color: #66768a; font-size: 9px; }
.atemp-theme .settings-panel-section .mb-3 { margin-bottom: 10px !important; }
.atemp-theme .smtp-manager-toolbar { display: flex; margin-bottom: 12px; padding: 10px; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #b9c9d7; border-radius: 4px; background: #eef5fb; }
.atemp-theme .smtp-manager-toolbar > div { display: grid; gap: 2px; }
.atemp-theme .smtp-manager-toolbar strong { color: #153653; font-size: 13px; }
.atemp-theme .smtp-manager-toolbar span { color: #607286; font-size: 10px; }
.atemp-theme .smtp-add-button { display: inline-flex !important; min-width: 145px; min-height: 39px; align-items: center; justify-content: center; gap: 6px; opacity: 1 !important; visibility: visible !important; }
.atemp-theme .smtp-account-list { display: grid; gap: 10px; }
.atemp-theme .smtp-account-card { padding: 11px; border: 1px solid #bdcad6; border-radius: 4px; background: #f8fafc; }
.atemp-theme .smtp-account-head { display: flex; margin: -11px -11px 11px; padding: 8px 11px; align-items: center; gap: 10px; border-bottom: 1px solid #ced8e1; background: #edf3f8; }
.atemp-theme .smtp-account-head label { display: inline-flex; margin: 0; align-items: center; gap: 5px; color: #17517f; font-size: 10px; font-weight: 800; }
.atemp-theme .smtp-account-head strong { overflow: hidden; color: #142b43; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.atemp-theme .smtp-account-head .btn { margin-left: auto; }
.atemp-theme .smtp-empty-state { padding: 22px; border: 1px dashed #aebdcb; color: #64748b; text-align: center; font-size: 11px; }
@media (max-width: 768px) {
  .atemp-theme .smtp-manager-toolbar { align-items: stretch; flex-direction: column; }
  .atemp-theme .smtp-add-button { width: 100%; }
  .atemp-theme .smtp-account-head { flex-wrap: wrap; }
}

/* Content campaign manager. */
.atemp-theme .content-manager-page { padding: 10px; color: #17263a; }
.atemp-theme .content-manager-hero { display: flex; min-height: 82px; margin-bottom: 10px; padding: 13px 15px; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #173d62; border-left: 4px solid #f1a62b; border-radius: 4px; background: linear-gradient(115deg,#10243c,#174a75); color: #fff; }
.atemp-theme .content-manager-hero span { color: #ffd98b; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.atemp-theme .content-manager-hero h1 { margin: 2px 0; color: #fff; font-size: 22px; }
.atemp-theme .content-manager-hero p { margin: 0; color: #d4e1ec; font-size: 10px; }
.atemp-theme .content-manager-layout { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(310px,.7fr); align-items: start; gap: 10px; }
.atemp-theme .content-manager-layout.is-editor-page,.atemp-theme .content-manager-layout.is-manage-page { grid-template-columns: minmax(0,1fr); }
.atemp-theme .content-manager-layout.is-editor-page .content-builder { width: min(1120px,100%); margin: 0 auto; }
.atemp-theme .content-builder { overflow: hidden; border: 1px solid #aebdca !important; border-radius: 4px !important; }
.atemp-theme .content-builder-head { display: flex; min-height: 60px; padding: 10px 12px; align-items: center; justify-content: space-between; border-bottom: 1px solid #c4d0da; background: #edf3f7; }
.atemp-theme .content-builder-head span { color: #54718a; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.atemp-theme .content-builder-head h2 { margin: 1px 0 0; color: #10243c; font-size: 16px; }
.atemp-theme .content-form-grid { display: grid; padding: 11px; grid-template-columns: 1fr 1fr; gap: 9px; }
.atemp-theme .content-form-grid .is-full { grid-column: 1/-1; }
.atemp-theme .content-form-grid label { display: block; margin-bottom: 4px; color: #293f55; font-size: 10px; font-weight: 750; }
.atemp-theme .content-form-grid .form-control,.atemp-theme .content-form-grid .form-select { min-height: 39px; border-color: #a8b9c7; border-radius: 3px; font-size: 11px; }
.atemp-theme .content-editor-toolbar { display: flex; padding: 5px; flex-wrap: wrap; gap: 3px; border: 1px solid #a8b9c7; border-bottom: 0; border-radius: 3px 3px 0 0; background: #edf3f7; }
.atemp-theme .content-editor-toolbar button { min-width: 29px; height: 28px; padding: 3px 6px; border: 1px solid #bac8d3; border-radius: 2px; background: #fff; color: #173b61; font-size: 11px; }
.atemp-theme .content-rich-editor { min-height: 150px; padding: 10px; overflow-y: auto; border: 1px solid #a8b9c7; border-radius: 0 0 3px 3px; outline: none; background: #fff; font-size: 12px; line-height: 1.55; }
.atemp-theme .content-current-image { display: block; width: 92px; height: 52px; margin-top: 5px; border-radius: 3px; object-fit: cover; }
.atemp-theme .content-toggle { display: inline-flex !important; margin: 0 !important; align-items: center; gap: 6px; color: #294961; font-size: 9px; font-weight: 800; }
.atemp-theme .content-toggle input { position: absolute; opacity: 0; }
.atemp-theme .content-toggle span { position: relative; width: 35px; height: 19px; border-radius: 12px; background: #9baab7; }
.atemp-theme .content-toggle span::after { position: absolute; top: 3px; left: 3px; width: 13px; height: 13px; border-radius: 50%; background: #fff; content: ''; transition: .2s; }
.atemp-theme .content-toggle input:checked + span { background: #168354; }
.atemp-theme .content-toggle input:checked + span::after { transform: translateX(16px); }
.atemp-theme .content-config-section { margin: 0 11px 10px; border: 1px solid #b9c7d2; border-radius: 3px; }
.atemp-theme .content-config-title { display: flex; min-height: 51px; padding: 8px 10px; align-items: center; justify-content: space-between; border-bottom: 1px solid #ccd6de; background: #f1f5f8; }
.atemp-theme .content-config-title > div { display: grid; grid-template-columns: 27px 1fr; align-items: center; gap: 0 7px; }
.atemp-theme .content-config-title i { grid-row: 1/3; display: grid; width: 27px; height: 27px; place-items: center; border-radius: 3px; background: #173b61; color: #fff; }
.atemp-theme .content-config-title strong { color: #17324c; font-size: 11px; }
.atemp-theme .content-config-title small { color: #68798a; font-size: 8px; }
.atemp-theme .lead-field-grid { display: grid; padding: 8px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
.atemp-theme .lead-field-grid.is-disabled { opacity: .45; pointer-events: none; }
.atemp-theme .lead-field-grid > div { display: grid; padding: 7px; grid-template-columns: 1fr auto; gap: 2px 6px; border: 1px solid #d1dbe3; border-radius: 3px; }
.atemp-theme .lead-field-grid label { display: flex; margin: 0; align-items: center; gap: 5px; font-size: 10px; }
.atemp-theme .lead-field-grid small { grid-column: 1; color: #6a7988; font-size: 8px; }
.atemp-theme .lead-field-grid .lead-required { grid-column: 2; grid-row: 1/3; color: #9b4d16; font-size: 8px; }
.atemp-theme .audience-columns { display: grid; padding: 8px; grid-template-columns: .75fr 1.25fr 1fr; gap: 7px; }
.atemp-theme .audience-head { display: flex; min-height: 29px; align-items: center; justify-content: space-between; }
.atemp-theme .audience-head strong { color: #29475f; font-size: 9px; }
.atemp-theme .audience-head button { border: 0; background: transparent; color: #1769aa; font-size: 8px; font-weight: 800; }
.atemp-theme .audience-head > span { display: flex; gap: 3px; }
.atemp-theme .audience-search { min-height: 32px !important; margin-bottom: 4px; font-size: 9px !important; }
.atemp-theme .audience-list { max-height: 210px; padding: 4px; overflow-y: auto; border: 1px solid #c7d2db; border-radius: 3px; background: #fff; }
.atemp-theme .audience-list label { display: flex; margin: 0; padding: 5px 4px; align-items: flex-start; gap: 5px; border-bottom: 1px solid #edf1f4; font-size: 9px; cursor: pointer; }
.atemp-theme .audience-list label:last-child { border-bottom: 0; }
.atemp-theme .audience-list span,.atemp-theme .audience-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.atemp-theme .audience-list span { min-width: 0; color: #263f57; }
.atemp-theme .audience-list small { color: #748393; font-size: 7px; }
.atemp-theme .content-builder-actions { display: flex; padding: 10px 11px; justify-content: flex-end; gap: 6px; border-top: 1px solid #c7d2db; background: #f7f9fb; }
.atemp-theme .content-manage-list { display: grid; gap: 7px; }
.atemp-theme .content-manager-layout.is-manage-page .content-manage-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
.atemp-theme .content-manager-layout.is-manage-page .content-manage-heading,.atemp-theme .content-manager-layout.is-manage-page .content-empty { grid-column: 1/-1; }
.atemp-theme .content-manage-heading { display: flex; align-items: center; justify-content: space-between; }
.atemp-theme .content-manage-heading > div:first-child { display: flex; align-items: baseline; gap: 7px; }
.atemp-theme .content-manage-heading h2 { margin: 0; color: #163553; font-size: 16px; }
.atemp-theme .content-manage-heading span { color: #63778a; font-size: 9px; }
.atemp-theme .content-manage-card { display: grid; overflow: hidden; grid-template-columns: 105px minmax(0,1fr); border: 1px solid #afbfcc; border-radius: 4px; background: #fff; }
.atemp-theme .content-manage-card { position: relative; }
.atemp-theme .content-card-check { position: absolute; top: 7px; left: 7px; z-index: 2; display: grid; width: 24px; height: 24px; margin: 0; place-items: center; border-radius: 3px; background: rgba(255,255,255,.94); box-shadow: 0 1px 4px rgba(15,23,42,.18); }
.atemp-theme .content-bulk-actions { display: flex; align-items: center; gap: 5px; }
.atemp-theme .content-bulk-actions .btn { min-height: 34px; padding: 5px 8px; font-size: 9px; }
.atemp-theme .content-bulk-actions strong { min-width: 68px; color: #536a7e; font-size: 9px; text-align: center; }
.atemp-theme .content-manage-card > img,.atemp-theme .content-image-placeholder { width: 105px; height: 100%; min-height: 145px; object-fit: cover; }
.atemp-theme .content-image-placeholder { display: grid; place-items: center; background: #dce8f2; color: #315d85; font-size: 28px; }
.atemp-theme .content-manage-body { min-width: 0; padding: 8px; }
.atemp-theme .content-type-badge,.atemp-theme .content-state { display: inline-flex; padding: 3px 5px; border-radius: 2px; background: #e7eff6; color: #315d85; font-size: 7px; font-weight: 800; }
.atemp-theme .content-state.is-live { background: #e5f5eb; color: #17603b; }.atemp-theme .content-state.is-off,.atemp-theme .content-state.is-ended { background: #f5e8e8; color: #8f3030; }.atemp-theme .content-state.is-scheduled { background: #fff0d5; color: #955c00; }
.atemp-theme .content-manage-body h3 { margin: 6px 0 3px; color: #122d47; font-size: 12px; }.atemp-theme .content-manage-body p { margin: 0 0 5px; color: #5e7081; font-size: 8px; line-height: 1.4; }.atemp-theme .content-manage-body > small { display: block; color: #687b8c; font-size: 7px; }
.atemp-theme .content-manage-actions { display: flex; margin-top: 8px; gap: 5px; }.atemp-theme .content-manage-actions form { margin: 0; }.atemp-theme .content-empty { padding: 30px; border: 1px dashed #aebdca; color: #667789; text-align: center; }
@media (max-width: 900px) { .atemp-theme .content-manager-layout { grid-template-columns: 1fr; }.atemp-theme .content-manager-layout.is-manage-page .content-manage-list { grid-template-columns: 1fr; }.atemp-theme .content-manager-layout.is-manage-page .content-manage-heading,.atemp-theme .content-manager-layout.is-manage-page .content-empty { grid-column: 1; }.atemp-theme .content-manage-list { order: -1; }.atemp-theme .audience-columns { grid-template-columns: 1fr; }.atemp-theme .audience-list { max-height: 160px; } }
@media (max-width: 600px) { .atemp-theme .content-manager-page { padding: 6px 6px 78px; }.atemp-theme .content-manager-hero { min-height: 65px; padding: 9px; }.atemp-theme .content-manager-hero h1 { font-size: 17px; }.atemp-theme .content-manager-hero p { display: none; }.atemp-theme .content-form-grid,.atemp-theme .lead-field-grid { grid-template-columns: 1fr; }.atemp-theme .content-form-grid .is-full { grid-column: 1; }.atemp-theme .lead-field-grid .lead-required { grid-column: 2; }.atemp-theme .content-manage-card { grid-template-columns: 82px minmax(0,1fr); }.atemp-theme .content-manage-card > img,.atemp-theme .content-image-placeholder { width: 82px; } }

/* Content manager typography: +1px across manage and add/edit pages. */
.atemp-theme .content-manager-page { font-size: 17px; }
.atemp-theme .content-manager-hero span { font-size: 10px; }
.atemp-theme .content-manager-hero h1 { font-size: 23px; }
.atemp-theme .content-manager-hero p { font-size: 11px; }
.atemp-theme .content-manager-page .btn { font-size: 15px; }
.atemp-theme .content-builder-head span { font-size: 9px; }
.atemp-theme .content-builder-head h2,.atemp-theme .content-manage-heading h2 { font-size: 17px; }
.atemp-theme .content-form-grid label,.atemp-theme .content-toggle,.atemp-theme .lead-field-grid label { font-size: 11px; }
.atemp-theme .content-form-grid .form-control,.atemp-theme .content-form-grid .form-select { font-size: 12px; }
.atemp-theme .content-editor-toolbar button { font-size: 12px; }
.atemp-theme .content-rich-editor { font-size: 13px; }
.atemp-theme .content-config-title strong { font-size: 12px; }
.atemp-theme .content-config-title small,.atemp-theme .lead-field-grid small { font-size: 9px; }
.atemp-theme .lead-field-grid .lead-required,.atemp-theme .audience-head button { font-size: 9px; }
.atemp-theme .audience-head strong,.atemp-theme .audience-search,.atemp-theme .audience-list label { font-size: 10px !important; }
.atemp-theme .audience-list small,.atemp-theme .content-type-badge,.atemp-theme .content-state,.atemp-theme .content-manage-body > small { font-size: 8px; }
.atemp-theme .content-manage-heading span,.atemp-theme .content-bulk-actions .btn,.atemp-theme .content-bulk-actions strong { font-size: 10px; }
.atemp-theme .content-manage-body h3 { font-size: 13px; }
.atemp-theme .content-manage-body p { font-size: 9px; }
@media (max-width: 600px) { .atemp-theme .content-manager-hero h1 { font-size: 18px; } }

/* Lead payout and reward rules. */
.atemp-theme .payout-rule-builder { width: min(1180px,100%); margin: 0 auto; overflow: hidden; border: 1px solid #aebdca !important; border-radius: 4px !important; }
.atemp-theme .payout-campaign-required { margin: 11px 11px 0; padding: 10px; border: 1px solid #d7aa4f; border-radius: 3px; background: #fff8e8; }
.atemp-theme .payout-campaign-required label { display: flex; margin-bottom: 5px; align-items: center; justify-content: space-between; gap: 8px; color: #714600; font-size: 11px; font-weight: 800; }
.atemp-theme .payout-campaign-required label em { font-size: 9px; font-style: normal; font-weight: 600; }
.atemp-theme .payout-campaign-required .form-select { min-height: 40px; border-color: #bf923a; font-size: 12px; }
.atemp-theme .payout-form-grid { display: grid; padding: 11px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.atemp-theme .payout-form-grid .is-full { grid-column: 1/-1; }.atemp-theme .payout-form-grid .is-hidden,.atemp-theme .payout-tier-section.is-hidden { display: none; }
.atemp-theme .payout-form-grid label { display: block; margin-bottom: 4px; color: #293f55; font-size: 11px; font-weight: 750; }.atemp-theme .payout-form-grid .form-control,.atemp-theme .payout-form-grid .form-select { min-height: 40px; border-color: #a8b9c7; border-radius: 3px; font-size: 12px; }.atemp-theme .payout-form-grid textarea.form-control { min-height: 75px; }
.atemp-theme .payout-tier-section,.atemp-theme .payout-target-section { margin: 0 11px 10px; border: 1px solid #b9c7d2; border-radius: 3px; }
.atemp-theme .payout-section-head { display: flex; min-height: 55px; padding: 8px 10px; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid #ccd6de; background: #f1f5f8; }.atemp-theme .payout-section-head > div { display: grid; }.atemp-theme .payout-section-head strong { color: #17324c; font-size: 12px; }.atemp-theme .payout-section-head small { color: #68798a; font-size: 9px; }
.atemp-theme [data-tier-list] { display: grid; padding: 8px; gap: 6px; }.atemp-theme .payout-tier-row { display: grid; padding: 7px; grid-template-columns: 85px 105px 105px 100px 110px minmax(120px,1fr) minmax(120px,1fr) 32px; gap: 5px; border: 1px solid #ccd6df; border-radius: 3px; background: #fff; }.atemp-theme .payout-tier-row input,.atemp-theme .payout-tier-row select { min-width: 0; min-height: 36px; padding: 5px 6px; border: 1px solid #aebdca; border-radius: 2px; color: #17263a; font-size: 10px; }.atemp-theme .payout-tier-row [data-remove-tier] { border: 1px solid #e0b5b5; border-radius: 2px; background: #fff0f0; color: #9f2f2f; }
.atemp-theme .payout-target-grid { display: grid; padding: 8px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }.atemp-theme .payout-target-grid .audience-list { max-height: 185px; }
.atemp-theme .payout-manage { display: grid; gap: 9px; }.atemp-theme .payout-rule-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }.atemp-theme .payout-rule-list article { position: relative; display: grid; min-height: 145px; padding: 10px; grid-template-columns: 65px minmax(0,1fr); gap: 10px; border: 1px solid #afbfcc; border-radius: 4px; background: #fff; }.atemp-theme .payout-rule-icon { display: grid; width: 60px; height: 60px; place-items: center; border-radius: 4px; background: #e3edf6; color: #245a86; font-size: 25px; }.atemp-theme .payout-rule-list h3 { margin: 6px 0 3px; color: #122d47; font-size: 13px; }.atemp-theme .payout-rule-list p { margin: 0 0 4px; color: #536b7f; font-size: 10px; }.atemp-theme .payout-rule-list small { display: block; margin-bottom: 8px; color: #6d7d8c; font-size: 9px; }.atemp-theme .payout-rule-list .content-card-check { right: 7px; left: auto; }
.atemp-theme .payout-linked-content { display: flex; overflow: hidden; margin-bottom: 4px; align-items: center; gap: 4px; color: #875b0d; font-size: 9px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }

/* Larger, readable typography for payout manage and editor pages. */
.atemp-theme .payout-rule-page { font-size: 18px; }
.atemp-theme .payout-rule-page .content-manager-hero span { font-size: 12px; }
.atemp-theme .payout-rule-page .content-manager-hero h1 { font-size: 25px; }
.atemp-theme .payout-rule-page .content-manager-hero p { font-size: 13px; }
.atemp-theme .payout-rule-page .btn { font-size: 13px; }
.atemp-theme .payout-rule-page .content-builder-head span { font-size: 11px; }
.atemp-theme .payout-rule-page .content-builder-head h2,
.atemp-theme .payout-rule-page .content-manage-heading h2 { font-size: 19px; }
.atemp-theme .payout-campaign-required label,
.atemp-theme .payout-form-grid label { font-size: 13px; }
.atemp-theme .payout-campaign-required label em { font-size: 11px; }
.atemp-theme .payout-campaign-required .form-select,
.atemp-theme .payout-form-grid .form-control,
.atemp-theme .payout-form-grid .form-select { font-size: 14px; }
.atemp-theme .payout-section-head strong { font-size: 14px; }
.atemp-theme .payout-section-head small { font-size: 11px; }
.atemp-theme .payout-tier-row input,
.atemp-theme .payout-tier-row select { font-size: 12px; }
.atemp-theme .payout-rule-page .audience-head strong { font-size: 12px; }
.atemp-theme .payout-rule-page .audience-head button { font-size: 11px; }
.atemp-theme .payout-rule-page .audience-search,
.atemp-theme .payout-rule-page .audience-list label { font-size: 12px !important; }
.atemp-theme .payout-rule-page .audience-list small { font-size: 10px; }
.atemp-theme .payout-rule-page .content-manage-heading span,
.atemp-theme .payout-rule-page .content-bulk-actions strong { font-size: 12px; }
.atemp-theme .payout-rule-list h3 { font-size: 16px; }
.atemp-theme .payout-rule-list p { font-size: 12px; }
.atemp-theme .payout-rule-list small,
.atemp-theme .payout-linked-content { font-size: 11px; }
.atemp-theme .payout-rule-page .content-type-badge,
.atemp-theme .payout-rule-page .content-state { font-size: 10px; }
@media (max-width: 900px) { .atemp-theme .payout-tier-row { grid-template-columns: repeat(2,minmax(0,1fr)); }.atemp-theme .payout-target-grid,.atemp-theme .payout-rule-list { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .atemp-theme .payout-form-grid,.atemp-theme .payout-target-grid { grid-template-columns: 1fr; }.atemp-theme .payout-form-grid .is-full { grid-column: 1; }.atemp-theme .payout-tier-row { grid-template-columns: 1fr; }.atemp-theme .payout-tier-row [data-remove-tier] { min-height: 35px; }.atemp-theme .payout-rule-list article { grid-template-columns: 50px minmax(0,1fr); }.atemp-theme .payout-rule-icon { width: 46px; height: 46px; }.atemp-theme .payout-rule-page .content-manage-heading { display: grid; gap: 7px; }.atemp-theme .payout-rule-page .content-bulk-actions { overflow-x: auto; } }
.atemp-theme .settings-plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.atemp-theme .settings-plan-card { padding: 11px; border: 1px solid #bdcad6; border-top: 3px solid #315d85; border-radius: 3px; background: #f9fbfd; }
.atemp-theme .settings-plan-card-head { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin: -4px 0 10px; padding-bottom: 8px; border-bottom: 1px solid #d7e0e8; color: #132b47; font-size: 14px; font-weight: 750; }
.atemp-theme .settings-plan-card-head .form-select { width: 112px; min-height: 32px; }
.atemp-theme .settings-save-bar {
  position: sticky; bottom: 7px; z-index: 15; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 10px; padding: 9px 11px; border: 1px solid #9fb2c3; border-left: 4px solid #2563eb; border-radius: 3px;
  background: rgba(255, 255, 255, .97); box-shadow: 0 7px 20px rgba(15, 23, 42, .14); backdrop-filter: blur(8px);
}
.atemp-theme .settings-save-bar .fw-semibold { color: #14263d; font-size: 12px; }
.atemp-theme .settings-save-bar .btn { min-width: 122px; min-height: 38px; border-radius: 3px; background: #132b47; font-size: 12px; font-weight: 700; }

@media (max-width: 768px) {
  .atemp-theme .settings-hero { min-height: 0; margin: 0 0 7px !important; padding: 10px; border-left-width: 3px; }
  .atemp-theme .settings-hero h1 { font-size: 18px !important; }
  .atemp-theme .settings-hero p { margin-top: 2px; font-size: 10px; line-height: 1.35; }
  .atemp-theme .settings-kicker { font-size: 8px; }
  .atemp-theme .settings-hero-meta { margin-top: 6px; gap: 4px; }
  .atemp-theme .settings-hero-meta span { min-height: 27px; padding: 3px 6px; font-size: 9px; }
  .atemp-theme .settings-form { padding-bottom: 78px; }
  .atemp-theme .settings-form > .row { display: block; margin: 0 !important; }
  .atemp-theme .settings-form > .row > [class*="col-"] { width: 100%; padding: 0 !important; }
  .atemp-theme .settings-rail {
    position: sticky; top: 48px; z-index: 50; display: flex; gap: 3px; overflow-x: auto; margin: 0 0 7px; padding: 5px;
    border-color: #aabaca; border-radius: 3px; box-shadow: 0 3px 9px rgba(15, 23, 42, .1); scrollbar-width: none;
  }
  .atemp-theme .settings-rail::-webkit-scrollbar { display: none; }
  .atemp-theme .settings-brand-preview,
  .atemp-theme .settings-rail-status,
  .atemp-theme .settings-rail > .btn { display: none !important; }
  .atemp-theme .settings-rail-link { flex: 0 0 auto; min-height: 34px; margin: 0; padding: 6px 8px; border: 0; border-bottom: 2px solid transparent; font-size: 10px; white-space: nowrap; }
  .atemp-theme .settings-rail-link i { width: auto; font-size: 14px; }
  .atemp-theme .settings-rail-link.active,
  .atemp-theme .settings-rail-link.is-active { border-bottom-color: #60a5fa; background: #132b47; }
  .atemp-theme .settings-form .col-xl-9 > .row { margin: 0 !important; }
  .atemp-theme .settings-panel-section { padding: 0 !important; }
  .atemp-theme .settings-panel-section > .card > .card-body { padding: 9px !important; }
  .atemp-theme .settings-section-title { margin: -9px -9px 9px; padding: 8px 9px; }
  .atemp-theme .settings-section-title i { width: 26px; height: 26px; font-size: 14px; }
  .atemp-theme .settings-section-title h2 { font-size: 13px; }
  .atemp-theme .settings-panel-section .row { margin-right: -4px; margin-left: -4px; }
  .atemp-theme .settings-panel-section .row > [class*="col-"] { padding-right: 4px; padding-left: 4px; }
  .atemp-theme .settings-panel-section .form-control,
  .atemp-theme .settings-panel-section .form-select { min-height: 40px; font-size: 12px; }
  .atemp-theme .settings-panel-section .form-label { font-size: 10px; }
  .atemp-theme .settings-panel-section .mb-3 { margin-bottom: 8px !important; }
  .atemp-theme .settings-plan-grid { grid-template-columns: 1fr; gap: 8px; }
  .atemp-theme .settings-plan-card { padding: 8px; }
  .atemp-theme .settings-save-bar {
    position: fixed; right: 7px; bottom: calc(64px + env(safe-area-inset-bottom)); left: 7px; z-index: 1045;
    margin: 0; padding: 6px 7px; border-left-width: 3px; box-shadow: 0 -3px 14px rgba(15, 23, 42, .16);
  }
  .atemp-theme .settings-save-bar .text-muted { display: none; }
  .atemp-theme .settings-save-bar .fw-semibold { font-size: 10px; }
  .atemp-theme .settings-save-bar .btn { min-width: 105px; min-height: 36px; padding: 6px 10px; }
}

@media (max-width: 390px) {
  .atemp-theme .settings-hero-meta { display: none; }
  .atemp-theme .settings-rail-link { padding: 6px 7px; }
  .atemp-theme .settings-save-bar > div { max-width: 55%; }
}

body.atemp-theme {
  min-height: 100vh;
  margin: 0;
  background: var(--at-canvas);
  color: #222;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

body.atemp-theme a { color: #0084c8; }

/* Header and brand */
.atemp-theme #topbar {
  left: var(--at-sidebar-width);
  right: 0;
  width: auto;
  margin-left: 0 !important;
  height: var(--at-header-height);
  min-height: var(--at-header-height);
  padding: 0 13px !important;
  border: 0 !important;
  border-bottom: 2px solid var(--at-orange) !important;
  background: linear-gradient(110deg, #0b1220 0%, #111c33 58%, #0f2742 100%) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .16);
  color: #fff;
  transition: left .2s ease;
}

.atemp-theme #topbar.full { left: var(--at-sidebar-mini); }
.atemp-theme #toggleBtn,
.atemp-theme #mobileBtn {
  width: 32px;
  height: 46px;
  margin-left: -7px;
  border: 0;
  background: transparent !important;
  color: #fff !important;
  font-size: 18px;
  box-shadow: none !important;
}

.atemp-theme .atemp-site-name {
  color: #f8fafc;
  font-size: 20px;
  font-weight: 700;
  line-height: 46px;
  white-space: nowrap;
}

.atemp-theme .topbar-actions,
.atemp-theme .topbar-actions > ul { height: 46px; }
.atemp-theme .topbar-actions > ul { gap: 10px !important; }
.atemp-theme .topbar-actions .btn-light,
.atemp-theme .atemp-top-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  padding: 0;
  border: 0;
  background: transparent !important;
  color: #fff !important;
  font-size: 15px;
}

.atemp-top-search { display: flex; align-items: center; margin: 0; }
.atemp-top-search input {
  width: 170px;
  height: 27px;
  padding: 4px 11px;
  border: 0;
  border-radius: 14px 0 0 14px;
  outline: 0;
  background: #fff;
  color: #555;
  font-size: 12px;
}
.atemp-top-search button {
  width: 27px;
  height: 27px;
  padding: 0;
  border: 0;
  border-radius: 0 14px 14px 0;
  background: #fff;
  color: var(--at-navy);
}
.atemp-flag span {
  position: relative;
  display: block;
  width: 20px;
  height: 13px;
  border: 1px solid rgba(255,255,255,.35);
  background: linear-gradient(#ff9933 0 33.33%, #fff 33.33% 66.66%, #138808 66.66%);
}
.atemp-flag span::after {
  position: absolute;
  inset: 3px 0 0;
  width: 5px;
  height: 5px;
  margin: auto;
  border: 1px solid #123d8f;
  border-radius: 50%;
  content: "";
}
.atemp-theme .topbar-avatar-initial,
.atemp-theme .topbar-profile-img { width: 27px !important; height: 27px !important; border: 1px solid rgba(255,255,255,.45); }

/* Sidebar */
.atemp-theme #sidebar {
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  width: var(--at-sidebar-width);
  height: 100vh;
  padding: 0 0 16px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 0;
  background: var(--at-sidebar);
  box-shadow: none;
  scrollbar-width: none;
  transition: width .2s ease, transform .2s ease;
}
.atemp-theme #sidebar::-webkit-scrollbar { display: none; }
.atemp-theme #sidebar .logo-area {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--at-header-height);
  padding: 5px 14px;
  border-right: 1px solid rgba(6,52,95,.15);
  background: #fff;
}
.atemp-theme #sidebar .brand-logo-link { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.atemp-theme #sidebar .brand-logo { max-width: 100%; max-height: 34px; object-fit: contain; }
.atemp-theme #sidebar .compact-logo { display: none; }
.atemp-theme .atemp-session {
  height: 60px;
  padding: 8px 14px;
  background: #111c33;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,.16);
}
.atemp-theme .atemp-quick-row { display: flex; justify-content: space-between; margin-top: 7px; }
.atemp-theme #sidebar > .nav { display: block; margin: 0; padding: 0; }
.atemp-theme #sidebar .nav-section { padding: 9px 14px 5px !important; color: #88a8c3; text-transform: uppercase; letter-spacing: .08em; }
.atemp-theme #sidebar .nav-section small { font-size: 9px; font-weight: 700; }
.atemp-theme #sidebar .nav-link {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 8px 10px 14px;
  border: 0;
  border-left: 4px solid transparent;
  border-radius: 0;
  background: var(--at-sidebar);
  color: #d9e8f6;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}
.atemp-theme #sidebar .nav-link .nav-text {
  min-width: 0;
  overflow: visible;
  white-space: normal;
  text-overflow: clip;
  overflow-wrap: anywhere;
}
.atemp-theme #sidebar .nav-link i { flex: 0 0 18px; width: 18px; margin-right: 8px; color: inherit; font-size: 16px; text-align: center; }
.atemp-theme #sidebar .nav-link:hover,
.atemp-theme #sidebar .nav-link.active {
  border-left-color: var(--at-orange);
  background: var(--at-sidebar-active);
  color: #fff;
}
.atemp-theme #sidebar .nav-link.active i { color: var(--at-cyan); }
.atemp-theme #sidebar.collapsed { width: var(--at-sidebar-mini); overflow: visible; }
.atemp-theme #sidebar.collapsed .logo-area { padding: 6px; }
.atemp-theme #sidebar.collapsed .logo-text,
.atemp-theme #sidebar.collapsed .atemp-session,
.atemp-theme #sidebar.collapsed .nav-text,
.atemp-theme #sidebar.collapsed .nav-section { display: none !important; }
.atemp-theme #sidebar.collapsed .compact-logo { display: flex; align-items: center; justify-content: center; }
.atemp-theme #sidebar.collapsed .compact-logo img { width: 34px; height: 34px; object-fit: contain; }
.atemp-theme #sidebar.collapsed .nav-link { justify-content: center; padding: 12px 0; }
.atemp-theme #sidebar.collapsed .nav-link i { margin: 0; }

/* Page shell */
.atemp-theme #content {
  min-height: 100vh;
  margin-left: var(--at-sidebar-width);
  padding-top: var(--at-header-height);
  background: var(--at-canvas);
  transition: margin-left .2s ease;
}
.atemp-theme #content.full { margin-left: var(--at-sidebar-mini); }
.atemp-theme .app-shell { max-width: none; padding: 14px 12px 0; }
.atemp-theme .app-main { padding: 0 !important; }
.atemp-theme .app-footer {
  margin: 18px -12px 0;
  padding: 4px 15px;
  border-top: 1px solid #d2d6de;
  background: #fff;
  color: #555;
  font-size: 12px;
}

/* Atemp surfaces and controls */
.atemp-theme .card,
.atemp-theme .profile-type-panel,
.atemp-theme .permission-panel,
.atemp-theme .profile-card,
.atemp-theme .stat-card,
.atemp-theme .dashboard-card {
  border: 1px solid var(--at-border);
  border-top: 3px solid var(--at-orange);
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.16);
}
.atemp-theme .card-header { padding: 10px 12px; border-bottom: 1px solid #eee; background: #fff; }
.atemp-theme .card-body { padding: 14px 12px; }
.atemp-theme h1, .atemp-theme h2, .atemp-theme h3, .atemp-theme h4, .atemp-theme h5, .atemp-theme h6 { color: #263746; }
.atemp-theme .profile-head { margin-bottom: 12px; }
.atemp-theme .profile-head h1,
.atemp-theme .profile-head h2,
.atemp-theme .fs-3 { font-size: 24px !important; font-weight: 400; }
.atemp-theme .permission-eyebrow { color: var(--at-orange); }
.atemp-theme .form-label { margin-bottom: 5px; color: #333; font-size: 13px; font-weight: 700; }
.atemp-theme .form-control,
.atemp-theme .form-select {
  min-height: 35px;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 0;
  background-color: #fff;
  color: #555;
  font-size: 14px;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}
.atemp-theme .form-control:focus,
.atemp-theme .form-select:focus { border-color: var(--at-orange); box-shadow: 0 0 0 1px rgba(59,130,246,.14); }
.atemp-theme .btn { border-radius: 4px; font-weight: 400; }
.atemp-theme .btn-primary { border-color: var(--at-navy); background: var(--at-navy); color: #fff; }
.atemp-theme .btn-primary:hover,
.atemp-theme .btn-primary:focus { border-color: #0b416f; background: #0b416f; color: #fff; }
.atemp-theme .btn-outline-primary { border-color: var(--at-navy); color: var(--at-navy); }
.atemp-theme .btn-outline-primary:hover { background: var(--at-navy); color: #fff; }
.atemp-theme .table-responsive { border-radius: 0; }
.atemp-theme .table { margin-bottom: 0; background: #fff; color: #222; }
.atemp-theme .table > thead > tr > th {
  padding: 9px 8px;
  border-bottom: 1px solid #ddd;
  background: #fff;
  color: #003763;
  font-size: 13px;
  font-weight: 700;
}
.atemp-theme .table > tbody > tr > td { padding: 8px; border-color: #f0f0f0; color: #222; font-size: 13px; vertical-align: middle; }
.atemp-theme .table-hover > tbody > tr:hover > * { background: #f9f9f9; }
.atemp-theme .nav-tabs { border-bottom: 1px solid #ddd; }
.atemp-theme .nav-tabs .nav-link { border-radius: 0; color: #222; }
.atemp-theme .nav-tabs .nav-link.active { border-bottom: 3px solid var(--at-orange); color: #222; }
.atemp-theme .alert { border-radius: 4px; }
.atemp-theme .badge { border-radius: 12px; }
.atemp-theme .dropdown-menu { border: 1px solid var(--at-border); border-radius: 3px; box-shadow: 0 5px 20px rgba(6,52,95,.18); }
.atemp-theme .pagination .page-link { border: 0; color: #333; }
.atemp-theme .pagination .active > .page-link { background: var(--at-orange); color: #fff; }
.atemp-theme .app-modal .modal-content,
.atemp-theme .modal-content { border: 0; border-top: 3px solid var(--at-orange); border-radius: 3px; }

/* Live dashboard: use the actual Atemp dashboard rhythm instead of the legacy skin. */
.atemp-theme .real-dashboard { display: grid; gap: 12px; color: #222; }
.atemp-theme .real-dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  margin: 0;
  padding: 0 2px;
}
.atemp-theme .real-dashboard-head h1 { margin: 0; color: #333; font-size: 24px; font-weight: 400; line-height: 1.1; }
.atemp-theme .dashboard-title-row { display: flex; align-items: center; gap: 8px; }
.atemp-theme .dashboard-candidates-shortcut {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 25px;
  padding: 3px 8px;
  border: 1px solid #cbd6e0;
  border-radius: 3px;
  background: #fff;
  color: var(--at-navy);
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}
.atemp-theme .dashboard-candidates-shortcut:hover { border-color: var(--at-orange); background: #eff6ff; color: var(--at-orange); }
.atemp-theme .real-dashboard-head p { margin: 4px 0 0; color: var(--at-muted); font-size: 12px; }
.atemp-theme .real-dashboard-actions { display: flex; align-items: center; gap: 7px; }
.atemp-theme .real-dashboard-actions > span {
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid var(--at-border);
  border-radius: 3px;
  background: #fff;
  color: #536577;
  font-size: 12px;
  font-weight: 600;
}
.atemp-theme .real-dashboard-actions > span i { margin-right: 5px; color: var(--at-navy); }
.atemp-theme .real-dashboard-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.atemp-theme .real-kpi-card {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  grid-template-rows: auto auto auto;
  min-height: 92px;
  padding: 12px 14px;
  overflow: hidden;
  border: 1px solid var(--at-border) !important;
  border-top: 3px solid var(--at-orange) !important;
  border-radius: 3px !important;
  background: #fff !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.16) !important;
  color: #222 !important;
}
.atemp-theme .real-kpi-card::before { display: none !important; }
.atemp-theme .real-kpi-card > i {
  grid-row: 1 / 4;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0 12px 0 0;
  border-radius: 6px;
  background: #edf5fb !important;
  color: var(--at-navy) !important;
  font-size: 18px;
}
.atemp-theme .real-kpi-card > span { color: var(--at-muted); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.atemp-theme .real-kpi-card > strong { margin-top: 2px; color: #132333; font-size: 24px; line-height: 1; }
.atemp-theme .real-kpi-card > em { color: #6c7a89; font-size: 11px; font-style: normal; }
.atemp-theme .real-dashboard-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 12px; }
.atemp-theme .real-dashboard-grid.is-wide { grid-template-columns: 1fr 1fr; }
.atemp-theme .real-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--at-border) !important;
  border-top: 3px solid var(--at-orange) !important;
  border-radius: 3px !important;
  background: #fff !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.16) !important;
}
.atemp-theme .real-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 48px;
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
}
.atemp-theme .real-card-head h2 { margin: 0; color: #333; font-size: 18px; font-weight: 400; }
.atemp-theme .real-card-head p { margin: 3px 0 0; color: var(--at-muted); font-size: 11px; }
.atemp-theme .real-card-head > a,
.atemp-theme .real-card-head > span { color: var(--at-navy); font-size: 12px; font-weight: 700; }
.atemp-theme .real-progress-card { padding: 0 !important; }
.atemp-theme .real-slim-progress { height: 7px; margin: 14px 12px 8px; border-radius: 0; background: #e8eef3; }
.atemp-theme .real-slim-progress span { display: block; height: 100%; background: var(--at-orange) !important; }
.atemp-theme .real-progress-caption { display: flex; align-items: baseline; gap: 7px; padding: 0 12px 10px; }
.atemp-theme .real-progress-caption strong { color: #333; font-size: 20px; }
.atemp-theme .real-progress-caption span { color: var(--at-muted); font-size: 11px; font-weight: 600; }
.atemp-theme .real-metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 0 12px 12px; }
.atemp-theme .real-metric-row > div,
.atemp-theme .real-route-list > div {
  padding: 9px;
  border: 1px solid #e1e8ee;
  border-radius: 3px;
  background: #fff;
}
.atemp-theme .real-metric-row strong,
.atemp-theme .real-metric-row span,
.atemp-theme .real-route-list strong,
.atemp-theme .real-route-list span { display: block; }
.atemp-theme .real-metric-row strong,
.atemp-theme .real-route-list strong { color: #222; font-size: 16px; }
.atemp-theme .real-metric-row span,
.atemp-theme .real-route-list span { color: var(--at-muted); font-size: 10px; font-weight: 700; }
.atemp-theme .real-route-list { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 10px 12px 12px; }
.atemp-theme .real-route-list i { float: left; width: 30px; height: 30px; margin-right: 8px; border-radius: 6px; background: #edf5fb !important; color: var(--at-navy) !important; text-align: center; line-height: 30px; }
.atemp-theme .real-list,
.atemp-theme .real-profile-list,
.atemp-theme .real-pipeline,
.atemp-theme .real-role-list { padding: 10px 12px 12px; }
.atemp-theme .real-list-item {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 55px;
  padding: 7px 8px;
  border: 0 !important;
  border-bottom: 1px solid #edf1f5 !important;
  border-radius: 0 !important;
  color: #222 !important;
}
.atemp-theme .real-list-item:last-child { border-bottom: 0 !important; }
.atemp-theme .real-avatar { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 6px; background: #edf5fb; color: var(--at-navy); font-weight: 700; }
.atemp-theme .real-list-item strong,
.atemp-theme .real-list-item span,
.atemp-theme .real-list-item small { display: block; }
.atemp-theme .real-list-item strong { color: var(--at-navy); font-size: 13px; }
.atemp-theme .real-list-item span,
.atemp-theme .real-list-item small { color: var(--at-muted); font-size: 10px; }
.atemp-theme .real-list-item em { padding: 3px 7px; border-radius: 12px; background: #e0f7ed; color: #00945d; font-size: 10px; font-style: normal; font-weight: 700; }
.atemp-theme .real-list-item em.is-wait { background: #fff2d9; color: #a76900; }
.atemp-theme .real-profile-item { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 8px; border-bottom: 1px solid #edf1f5; }
.atemp-theme .real-profile-item > div span,
.atemp-theme .real-profile-item > div strong { display: block; }
.atemp-theme .real-profile-item > div span { color: var(--at-muted); font-size: 10px; }
.atemp-theme .real-profile-item > div strong { color: #222; font-size: 12px; }
.atemp-theme .real-profile-item em { color: var(--at-orange); font-size: 12px; font-style: normal; font-weight: 700; }
.atemp-theme .real-profile-item b { grid-column: 1 / -1; height: 3px; background: #e8eef3; }
.atemp-theme .real-profile-item b i { display: block; height: 100%; background: var(--at-orange) !important; }
.atemp-theme .real-pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.atemp-theme .real-pipeline > div { padding: 10px; border: 1px solid #e1e8ee; text-align: center; }
.atemp-theme .real-pipeline i,
.atemp-theme .real-pipeline strong,
.atemp-theme .real-pipeline span { display: block; }
.atemp-theme .real-pipeline i { color: var(--at-navy); font-size: 18px; }
.atemp-theme .real-pipeline strong { margin: 4px 0 2px; font-size: 18px; }
.atemp-theme .real-pipeline span { color: var(--at-muted); font-size: 10px; }
.atemp-theme .real-role-list > div { display: flex; justify-content: space-between; padding: 9px 4px; border-bottom: 1px solid #edf1f5; font-size: 12px; }
.atemp-theme .real-role-list > div strong { color: var(--at-navy); }

/* Compact Profiles manager */
.atemp-theme .profile-manager { display: grid; gap: 10px; }
.atemp-theme .profile-manager .profile-head {
  align-items: center;
  min-height: 54px;
  padding: 8px 12px;
  border: 1px solid var(--at-border);
  border-left: 4px solid var(--at-orange);
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
}
.atemp-theme .profile-manager .permission-eyebrow { margin: 0 0 2px; font-size: 9px; letter-spacing: .12em; }
.atemp-theme .profile-manager .profile-head h1 { margin: 0; font-size: 20px !important; font-weight: 600; line-height: 1.15; }
.atemp-theme .profile-manager .profile-head p { margin: 2px 0 0; font-size: 11px; }
.atemp-theme .profile-manager .profile-head .btn { min-height: 30px; padding: 4px 9px; font-size: 11px; }
.atemp-theme .profile-manager .permission-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.atemp-theme .profile-manager .permission-stats > div {
  position: relative;
  min-height: 54px;
  padding: 8px 12px 8px 46px;
  overflow: hidden;
  border: 1px solid var(--at-border);
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.atemp-theme .profile-manager .permission-stats > div::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 34px;
  background: #edf5fb;
  color: var(--at-navy);
  font: normal normal normal 15px/54px FontAwesome;
  text-align: center;
  content: "\f0c0";
}
.atemp-theme .profile-manager .permission-stats > div:nth-child(2)::before { content: "\f02b"; }
.atemp-theme .profile-manager .permission-stats > div:nth-child(3)::before { content: "\f058"; }
.atemp-theme .profile-manager .permission-stats span { font-size: 20px; font-weight: 700; }
.atemp-theme .profile-manager .permission-stats p { margin: 2px 0 0; color: var(--at-muted); font-size: 10px; text-transform: uppercase; }
.atemp-theme .profile-manager .profile-filter-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  margin: 0;
  overflow-x: auto;
  border-bottom: 1px solid #ddd;
  background: #fff;
  scrollbar-width: none;
}
.atemp-theme .profile-manager .profile-filter-tabs::-webkit-scrollbar { display: none; }
.atemp-theme .profile-manager .profile-filter-tabs a {
  flex: 0 0 auto;
  padding: 8px 13px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: #fff;
  color: #405366;
  font-size: 11px;
  font-weight: 600;
}
.atemp-theme .profile-manager .profile-filter-tabs a.active {
  border-bottom-color: var(--at-orange);
  background: #fff;
  color: var(--at-navy);
}
.atemp-theme .profile-manager .profile-type-panel { border-top: 3px solid var(--at-orange); }
.atemp-theme .profile-manager .permission-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 45px;
  padding: 8px 12px;
  border-bottom: 1px solid #eee;
}
.atemp-theme .profile-manager .permission-table-head h2 { margin: 0; font-size: 16px; font-weight: 500; }
.atemp-theme .profile-manager .permission-table-head p { margin: 2px 0 0; color: var(--at-muted); font-size: 10px; }
.atemp-theme .profile-manager .permission-table-head > span { padding: 3px 7px; border-radius: 10px; background: #edf5fb; color: var(--at-navy); font-size: 10px; font-weight: 700; }
.atemp-theme .profile-manager .profile-type-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
}
.atemp-theme .profile-manager .profile-type-card {
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 8px;
  padding: 8px;
  border: 1px solid #e1e8ee;
  border-radius: 3px;
  background: #fff;
}
.atemp-theme .profile-manager .profile-type-image { width: 48px; height: 48px; border-radius: 3px; background: #edf5fb; color: var(--at-navy); font-size: 18px; }
.atemp-theme .profile-manager .profile-type-card h2 { font-size: 12px; font-weight: 700; }
.atemp-theme .profile-manager .profile-type-card p { min-height: 24px; margin: 3px 0 5px; font-size: 10px; line-height: 1.2; }
.atemp-theme .profile-manager .profile-card-meta { gap: 4px 8px; font-size: 9px; }
.atemp-theme .profile-manager .profile-type-card .btn { min-height: 25px; padding: 2px 6px; font-size: 10px; }
.atemp-theme .profile-manager > .profile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.atemp-theme .profile-manager .profile-card { border-top: 3px solid var(--at-orange); }
.atemp-theme .profile-manager .profile-banner { height: 105px; background: #f4f7fb; }
.atemp-theme .profile-manager .profile-banner img { object-fit: cover; }
.atemp-theme .profile-manager .profile-type-badge { top: 7px; left: 7px; padding: 3px 7px; border-radius: 3px; background: rgba(2,27,51,.88); font-size: 9px; }
.atemp-theme .profile-manager .profile-card-body { gap: 6px; padding: 9px; }
.atemp-theme .profile-manager .profile-card-body h2 { font-size: 13px; line-height: 1.2; }
.atemp-theme .profile-manager .profile-card-body > p { min-height: 29px; font-size: 10px; line-height: 1.35; }
.atemp-theme .profile-manager .process-chip-row { gap: 3px; }
.atemp-theme .profile-manager .process-chip { gap: 2px; padding: 2px 5px; border-radius: 9px; font-size: 8px; }
.atemp-theme .profile-manager .profile-count-button { padding: 2px 5px; border-radius: 3px; font-size: 9px; }
.atemp-theme .profile-manager .profile-exam-summary { gap: 3px; padding: 4px 6px; border-radius: 3px; font-size: 9px; }
.atemp-theme .profile-manager .profile-actions { gap: 5px; padding-top: 2px; }
.atemp-theme .profile-manager .profile-actions .btn { min-height: 26px; padding: 3px 7px; font-size: 10px; }
.atemp-theme .app-modal { padding: 16px; background: rgba(4, 18, 31, .68); backdrop-filter: blur(4px); }
.atemp-theme .app-modal-dialog {
  display: flex;
  flex-direction: column;
  width: min(560px, 100%);
  max-height: calc(100dvh - 32px);
  overflow: hidden;
  border: 0;
  border-top: 3px solid var(--at-orange);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(0,0,0,.35);
}
.atemp-theme .app-modal-dialog.app-modal-lg { width: min(820px, 100%); }
.atemp-theme .app-modal-dialog.app-modal-xl { width: min(1120px, 100%); }
.atemp-theme .app-modal-dialog.app-modal-compact { width: min(1180px, 100%); }
.atemp-theme .app-modal-dialog > form { display: flex; min-height: 0; flex: 1 1 auto; flex-direction: column; }
.atemp-theme .app-modal-header {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  min-height: 54px;
  padding: 10px 12px;
  border-bottom: 1px solid #dfe6ec;
  background: #fff;
}
.atemp-theme .app-modal-header h2 { margin: 0; color: #263746; font-size: 17px; font-weight: 600; }
.atemp-theme .app-modal-header p { margin: 2px 0 0; color: var(--at-muted); font-size: 10px; }
.atemp-theme .app-modal-header [data-modal-close] { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 3px; background: #f4f7fb; color: #263746; }
.atemp-theme .app-modal-body {
  flex: 1 1 auto;
  max-height: none;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 12px;
  overscroll-behavior: contain;
  scrollbar-color: #b9c6d1 transparent;
  scrollbar-width: thin;
}
.atemp-theme .app-modal-body .row { --bs-gutter-x: 12px; }
.atemp-theme .app-modal-body .mb-3 { margin-bottom: 10px !important; }
.atemp-theme .app-modal-body textarea.form-control { min-height: 86px; resize: vertical; line-height: 1.4; }
.atemp-theme .app-modal-body input[type="file"].form-control { min-height: 35px; padding: 3px; font-size: 11px; }
.atemp-theme .app-modal-body input[type="file"].form-control::file-selector-button {
  height: 27px;
  margin: -1px 8px -1px -1px;
  padding: 4px 10px;
  border: 0;
  border-right: 1px solid #ccd6df;
  background: #edf3f8;
  color: var(--at-navy);
  font-size: 11px;
  font-weight: 700;
}
.atemp-theme .app-modal-body .form-text { margin-top: 3px; overflow-wrap: anywhere; color: var(--at-muted); font-size: 9px; }
.atemp-theme .app-modal-footer {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  min-height: 50px;
  padding: 8px 12px;
  border-top: 1px solid #dfe6ec;
  background: #f8fafc;
}
.atemp-theme .app-modal-footer .btn { min-height: 32px; padding: 5px 12px; font-size: 11px; }
.atemp-theme .app-modal .process-toggle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  padding: 9px;
  border: 1px solid #dfe6ec;
  border-radius: 3px;
  background: #f8fafc;
}
.atemp-theme .app-modal .process-toggle-grid .form-check {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 38px;
  margin: 0;
  padding: 7px 8px 7px 38px;
  border: 1px solid #dfe6ec;
  border-radius: 3px;
  background: #fff;
}
.atemp-theme .app-modal .process-toggle-grid .form-check-input { flex: 0 0 auto; margin-top: 0; margin-left: -30px; cursor: pointer; }
.atemp-theme .app-modal .process-toggle-grid .form-check-label { min-width: 0; gap: 4px; color: #344454; font-size: 11px; font-weight: 600; line-height: 1.2; cursor: pointer; }
.atemp-theme .app-modal .process-toggle-grid .form-check-input:checked { border-color: var(--at-navy); background-color: var(--at-navy); }
.atemp-theme .app-modal .profile-bulk-move { display: flex; gap: 7px; margin-bottom: 10px; }
.atemp-theme .app-modal .profile-candidate-table { font-size: 11px; }
.atemp-theme .app-modal .profile-candidate-table th,
.atemp-theme .app-modal .profile-candidate-table td { padding: 7px 8px; }

@media (max-width: 991.98px) {
  .atemp-theme #sidebar { transform: translateX(-100%); width: var(--at-sidebar-width); }
  .atemp-theme #sidebar.mobile-show { transform: translateX(0); }
  .atemp-theme #topbar,
  .atemp-theme #topbar.full { left: 0; }
  .atemp-theme #content,
  .atemp-theme #content.full { margin-left: 0; }
  .atemp-theme .atemp-search-wrap { display: none; }
  .atemp-theme .overlay.show { z-index: 1035; }
  .atemp-theme .real-dashboard-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .atemp-theme .real-dashboard-grid,
  .atemp-theme .real-dashboard-grid.is-wide { grid-template-columns: 1fr; }
  .atemp-theme .profile-manager .profile-type-grid,
  .atemp-theme .profile-manager > .profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575.98px) {
  .atemp-theme .atemp-site-name { max-width: 125px; overflow: hidden; font-size: 16px; text-overflow: ellipsis; }
  .atemp-theme .atemp-flag,
  .atemp-theme .atemp-top-icon { display: none !important; }
  .atemp-theme .app-shell { padding: 10px 8px 72px; }
  .atemp-theme .card-body { padding: 12px 10px; }
  .atemp-theme .app-footer { display: none; }
  .atemp-theme .real-dashboard-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .atemp-theme .real-dashboard-actions { width: 100%; overflow-x: auto; }
  .atemp-theme .real-dashboard-kpis { grid-template-columns: 1fr; }
  .atemp-theme .real-pipeline { grid-template-columns: repeat(2, 1fr); }
  .atemp-theme .profile-manager .profile-head { align-items: stretch; padding: 9px; }
  .atemp-theme .profile-manager .profile-head > .d-flex { display: grid !important; grid-template-columns: 1fr 1fr; }
  .atemp-theme .profile-manager .permission-stats { grid-template-columns: repeat(3, minmax(94px, 1fr)); overflow-x: auto; }
  .atemp-theme .profile-manager .profile-type-grid,
  .atemp-theme .profile-manager > .profile-grid { grid-template-columns: 1fr; }
  .atemp-theme .app-modal {
    align-items: flex-end;
    padding: 0;
    background: rgba(4,18,31,.72);
    backdrop-filter: none;
  }
  .atemp-theme .app-modal-dialog,
  .atemp-theme .app-modal-dialog.app-modal-lg,
  .atemp-theme .app-modal-dialog.app-modal-xl,
  .atemp-theme .app-modal-dialog.app-modal-compact {
    width: 100%;
    max-height: 94dvh;
    border-radius: 12px 12px 0 0;
  }
  .atemp-theme .app-modal-header { min-height: 56px; padding: 10px 12px; }
  .atemp-theme .app-modal-header h2 { font-size: 16px; }
  .atemp-theme .app-modal-header [data-modal-close] { width: 36px; height: 36px; }
  .atemp-theme .app-modal-body { padding: 12px; }
  .atemp-theme .app-modal-body .row { --bs-gutter-x: 0; }
  .atemp-theme .app-modal-body .form-control,
  .atemp-theme .app-modal-body .form-select { min-height: 42px; font-size: 14px; }
  .atemp-theme .app-modal-body textarea.form-control { min-height: 110px; }
  .atemp-theme .app-modal-footer { min-height: 58px; padding: 9px 12px calc(9px + env(safe-area-inset-bottom)); }
  .atemp-theme .app-modal-footer .btn { min-height: 40px; }
  .atemp-theme .app-modal .process-toggle-grid { grid-template-columns: 1fr; gap: 6px; padding: 7px; }
  .atemp-theme .app-modal .process-toggle-grid .form-check { min-height: 44px; padding-top: 9px; padding-bottom: 9px; }
  .atemp-theme .app-modal .process-toggle-grid .form-check-label { font-size: 12px; }
  .atemp-theme .app-modal .profile-bulk-move { align-items: stretch; flex-direction: column; }
  .atemp-theme .app-modal .profile-bulk-move .form-select,
  .atemp-theme .app-modal .profile-bulk-move .btn { width: 100%; max-width: none; min-height: 42px; }
  .atemp-theme .app-modal .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* Premium sign-in */
body.signin-page {
  min-height: 100dvh;
  background:
    radial-gradient(circle at 12% 12%, rgba(59,130,246,.16), transparent 30%),
    radial-gradient(circle at 88% 85%, rgba(3,29,54,.14), transparent 34%),
    linear-gradient(145deg, #f8fbfd 0%, #edf3f8 100%);
  font-family: Arial, Helvetica, sans-serif;
}
body.signin-page::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(3,29,54,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(3,29,54,.025) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
}
.signin-page .auth-screen { position: relative; min-height: 100dvh; padding: 36px 16px 58px; background: transparent; }
.signin-page .auth-card {
  width: min(410px, 100%) !important;
  overflow: hidden;
  border: 1px solid rgba(3,29,54,.12);
  border-top: 4px solid var(--at-orange);
  border-radius: 8px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 22px 60px rgba(3,29,54,.16);
}
.signin-page .auth-card .card-body { padding: 30px 32px 26px !important; }
.signin-page .signin-card-head { margin-bottom: 20px !important; }
.signin-page .auth-brand { max-width: 175px; margin-bottom: 18px !important; }
.signin-page .auth-brand-logo { max-width: 175px; max-height: 55px; }
.signin-page .signin-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--at-orange);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.signin-page .auth-card h1 { margin: 0 !important; color: var(--at-navy); font-size: 23px !important; font-weight: 700; }
.signin-page .signin-subtitle { margin: 5px 0 0; color: var(--at-muted); font-size: 12px; }
.signin-page .auth-card .form-label { margin-bottom: 6px; color: #344454; font-size: 12px; font-weight: 700; }
.signin-page .auth-card .form-label a { color: var(--at-navy) !important; font-size: 11px; font-weight: 600; }
.signin-page .signin-input-wrap { position: relative; }
.signin-page .signin-input-wrap > i,
.signin-page .signin-input-icon {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-right: 1px solid #dbe3ea;
  color: #718295;
  font-size: 16px;
}
.signin-page .auth-card .form-control {
  width: 100%;
  height: 42px;
  padding: 8px 12px 8px 53px;
  border: 1px solid #ccd7e0;
  border-radius: 4px;
  background: #fff;
  color: #203142;
  font-size: 14px;
  box-shadow: none;
}
.signin-page .auth-card .form-control:focus { border-color: var(--at-orange); box-shadow: 0 0 0 3px rgba(59,130,246,.1); }
.signin-page .signin-password-group { position: relative; flex-wrap: nowrap; }
.signin-page .signin-password-group .form-control { padding-right: 46px; padding-left: 53px; border-right: 1px solid #ccd7e0; border-radius: 4px !important; }
.signin-page .signin-password-eye {
  position: absolute;
  top: 1px;
  right: 1px;
  z-index: 6;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 0 3px 3px 0;
  background: transparent;
  color: #718295;
}
.signin-page .signin-password-eye:hover,
.signin-page .signin-password-eye:focus { border-color: var(--at-orange); background: #eff6ff; color: var(--at-orange); }
.signin-page .form-check { display: flex; align-items: center; gap: 7px; }
.signin-page .form-check-input { width: 16px; height: 16px; margin: 0; border-color: #aebdca; }
.signin-page .form-check-input:checked { border-color: var(--at-navy); background-color: var(--at-navy); }
.signin-page .form-check-label { color: #647587; font-size: 11px !important; }
.signin-page .signin-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 43px;
  border: 0;
  border-radius: 4px;
  background: var(--at-navy);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(3,29,54,.18);
}
.signin-page .signin-submit:hover { background: #082d4d; transform: translateY(-1px); }
.signin-page .auth-card .text-muted { color: #81909e !important; font-size: 10px !important; }
.signin-page .auth-card .text-center.mt-2 { font-size: 11px !important; }
.signin-page .auth-card .link-primary { color: var(--at-orange) !important; font-weight: 700; }
.signin-page .alert { padding: 9px 11px; border-radius: 4px; font-size: 11px; }
.signin-page .auth-copyright { position: fixed; right: 0; bottom: 14px; left: 0; color: #718295; font-size: 10px; text-align: center; }

@media (max-width: 575.98px) {
  body.signin-page { background: linear-gradient(160deg, #f8fbfd 0%, #eaf1f7 100%); }
  .signin-page .auth-screen { align-items: center; padding: 18px 14px 52px; overflow-x: hidden; overflow-y: auto; }
  .signin-page .auth-card { width: 100% !important; max-width: 390px !important; border-radius: 10px; box-shadow: 0 16px 42px rgba(3,29,54,.15); }
  .signin-page .auth-card .card-body { padding: 23px 20px 20px !important; }
  .signin-page .auth-brand { margin-bottom: 14px !important; }
  .signin-page .auth-brand-logo { max-width: 145px; max-height: 48px; }
  .signin-page .signin-card-head { margin-bottom: 17px !important; }
  .signin-page .auth-card h1 { font-size: 21px !important; }
  .signin-page .signin-subtitle { font-size: 11px; }
  .signin-page .auth-card .mb-3 { margin-bottom: 14px !important; }
  .signin-page .auth-card .form-control,
  .signin-page .signin-input-wrap > i,
  .signin-page .signin-input-icon,
  .signin-page .signin-password-eye { height: 46px; }
  .signin-page .auth-card .form-control { font-size: 16px; }
  .signin-page .signin-input-wrap > i,
  .signin-page .signin-input-icon,
  .signin-page .signin-password-eye { width: 46px; }
  .signin-page .auth-card .form-control { padding-left: 57px; }
  .signin-page .signin-password-eye { top: 1px; right: 1px; width: 44px; height: 44px; }
  .signin-page .signin-submit { min-height: 47px; font-size: 14px; }
  .signin-page .auth-copyright { bottom: 9px; padding: 0 18px; font-size: 9px; }
}

@media (max-width: 360px), (max-height: 620px) {
  .signin-page .auth-screen { align-items: flex-start; padding-top: 10px; }
  .signin-page .auth-card .card-body { padding: 17px 16px 15px !important; }
  .signin-page .auth-brand { margin-bottom: 8px !important; }
  .signin-page .auth-brand-logo { max-height: 38px; }
  .signin-page .signin-card-head { margin-bottom: 12px !important; }
  .signin-page .signin-eyebrow { display: none; }
  .signin-page .auth-card h1 { font-size: 19px !important; }
  .signin-page .auth-card .mb-3 { margin-bottom: 10px !important; }
}

/* Edge-to-edge mobile application navigation */
@media (max-width: 768px) {
  .atemp-theme:not(.signin-page) .app-main.py-10 { padding-bottom: calc(78px + env(safe-area-inset-bottom)) !important; }
  .atemp-theme .admin-mobile-nav,
  .atemp-theme .mobile-bottom-nav,
  .atemp-theme .panel-dashboard-shell .mobile-bottom-nav,
  .atemp-theme .panel-work-shell .mobile-bottom-nav,
  .atemp-theme .calling-process-page .mobile-bottom-nav {
    position: fixed !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 2050 !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 64px !important;
    margin: 0 !important;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom)) !important;
    border: 0 !important;
    border-top: 1px solid rgba(148,163,184,.24) !important;
    border-radius: 0 !important;
    background: rgba(255,255,255,.98) !important;
    box-shadow: 0 -4px 18px rgba(15,23,42,.1) !important;
    transform: none !important;
    backdrop-filter: blur(16px) !important;
  }
  .atemp-theme .admin-mobile-nav { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); grid-template-columns: none; }
  .atemp-theme .admin-mobile-nav a,
  .atemp-theme .mobile-bottom-nav a,
  .atemp-theme .panel-dashboard-shell .mobile-bottom-nav a,
  .atemp-theme .panel-work-shell .mobile-bottom-nav a,
  .atemp-theme .calling-process-page .mobile-bottom-nav a {
    position: relative;
    display: grid !important;
    align-content: center;
    justify-items: center;
    gap: 3px !important;
    min-width: 0;
    min-height: 50px !important;
    padding: 5px 2px !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #64748b !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    line-height: 1.05;
    text-decoration: none;
  }
  .atemp-theme .admin-mobile-nav a i,
  .atemp-theme .mobile-bottom-nav a i,
  .atemp-theme .panel-dashboard-shell .mobile-bottom-nav a i,
  .atemp-theme .panel-work-shell .mobile-bottom-nav a i,
  .atemp-theme .calling-process-page .mobile-bottom-nav a i { color: inherit !important; font-size: 19px !important; line-height: 1; }
  .atemp-theme .admin-mobile-nav a.active,
  .atemp-theme .mobile-bottom-nav a.active,
  .atemp-theme .panel-dashboard-shell .mobile-bottom-nav a.active,
  .atemp-theme .panel-work-shell .mobile-bottom-nav a.active,
  .atemp-theme .calling-process-page .mobile-bottom-nav a.active {
    background: #f1f5f9 !important;
    color: #0f2742 !important;
  }
  .atemp-theme .admin-mobile-nav a.active::before,
  .atemp-theme .mobile-bottom-nav a.active::before {
    position: absolute;
    top: -6px;
    width: 25px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: #1e3a5f;
    content: "";
  }

  /* Dashboard mobile header and data presentation */
  .atemp-theme .real-dashboard-head {
    display: block !important;
    min-height: 0;
    padding: 10px !important;
    margin: 0 !important;
  }
  .atemp-theme .dashboard-title-row { justify-content: space-between; width: 100%; }
  .atemp-theme .real-dashboard-head h1 { font-size: 20px !important; }
  .atemp-theme .dashboard-candidates-shortcut { min-height: 29px; padding: 5px 9px; font-size: 10px; }
  .atemp-theme .real-dashboard-head > div:first-child > p { margin-top: 3px; }
  .atemp-theme .real-dashboard-actions { display: none !important; }
  .atemp-theme .real-dashboard-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .atemp-theme .real-kpi-card { min-height: 82px; padding: 9px; grid-template-columns: 32px minmax(0,1fr); }
  .atemp-theme .real-kpi-card > i { width: 30px; height: 30px; margin-right: 7px; font-size: 14px; }
  .atemp-theme .real-kpi-card > span { overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
  .atemp-theme .real-kpi-card > strong { font-size: 19px; }
  .atemp-theme .real-kpi-card > em { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
  .atemp-theme .real-route-list { grid-template-columns: 1fr 1fr; }
  .atemp-theme .real-metric-row { grid-template-columns: 1fr; }
  .atemp-theme .real-list-item { grid-template-columns: 32px minmax(0,1fr) auto; padding-right: 2px; }
  .atemp-theme .real-list-item > div:nth-child(2) { min-width: 0; }
  .atemp-theme .real-list-item span,
  .atemp-theme .real-list-item small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  /* Every JS-enhanced table becomes a readable mobile record card. */
  .atemp-theme table.mobile-card-table,
  .atemp-theme .mobile-card-table tbody,
  .atemp-theme .mobile-card-table tr,
  .atemp-theme .mobile-card-table td { display: block; width: 100% !important; }
  .atemp-theme .mobile-card-table { min-width: 0 !important; border: 0 !important; background: transparent; }
  .atemp-theme .mobile-card-table thead { display: none !important; }
  .atemp-theme .mobile-card-table tbody { display: grid; gap: 8px; }
  .atemp-theme .mobile-card-table tbody tr {
    overflow: hidden;
    padding: 6px 10px;
    border: 1px solid #dce4eb !important;
    border-top: 3px solid var(--at-orange) !important;
    border-radius: 4px !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(15,23,42,.06) !important;
  }
  .atemp-theme .mobile-card-table tbody td {
    display: grid !important;
    grid-template-columns: minmax(92px, 38%) minmax(0, 1fr);
    gap: 8px;
    min-height: 31px;
    padding: 7px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #edf1f5 !important;
    text-align: right !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
  .atemp-theme .mobile-card-table tbody td:last-child { border-bottom: 0 !important; }
  .atemp-theme .mobile-card-table tbody td::before {
    align-self: start;
    color: #64748b;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .04em;
    text-align: left;
    text-transform: uppercase;
    content: attr(data-label);
  }
  .atemp-theme .mobile-card-table .mobile-primary-cell { font-weight: 700; }
  .atemp-theme .mobile-card-table .mobile-action-cell { display: flex !important; align-items: center; justify-content: flex-end; gap: 5px; }
  .atemp-theme .mobile-card-table .mobile-action-cell::before { margin-right: auto; }
  .atemp-theme .mobile-card-table .mobile-action-cell .btn { min-height: 32px; padding: 5px 8px; font-size: 10px; }
}

/* Users management — final desktop and mobile system. */
.atemp-theme .users-page { display: grid; gap: 10px; color: #111827; }
.atemp-theme .users-mobile-list { display: none; }
.atemp-theme .users-page > .row { margin: 0; }
.atemp-theme .users-page > .row > .col-12 { padding: 0; }
.atemp-theme .users-page-head {
  min-height: 62px;
  margin: 0 !important;
  padding: 10px 12px;
  border: 1px solid #becbd7;
  border-left: 4px solid #3b82f6;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(15,35,55,.08);
}
.atemp-theme .users-page-head h1 { margin: 0; color: #111827; font-size: 22px !important; font-weight: 600; }
.atemp-theme .users-page-head p { margin-top: 3px; color: #526273; font-size: 11px; }
.atemp-theme .users-page-head .users-count { padding: 5px 9px !important; border: 1px solid #c8d4df; border-radius: 12px; background: #edf3f8 !important; color: #294a68 !important; font-size: 10px; }
.atemp-theme .users-page-head .btn-primary { min-height: 34px; padding: 5px 10px; font-size: 11px; }
.atemp-theme .users-table-card {
  overflow: hidden;
  border: 1px solid #b7c5d1;
  border-top: 3px solid #3b82f6;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(15,35,55,.09);
}
.atemp-theme .users-table-card .table-responsive { overflow-x: auto; border-radius: 0; }
.atemp-theme .users-table-card table { min-width: 720px; table-layout: fixed; }
.atemp-theme .users-table-card thead th {
  height: 42px;
  padding: 8px 9px;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.08);
  background: #edf2f6;
  color: #263b50;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.atemp-theme .users-table-card th:nth-child(1) { width: 14%; }
.atemp-theme .users-table-card th:nth-child(2) { width: 19%; }
.atemp-theme .users-table-card th:nth-child(3) { width: 15%; }
.atemp-theme .users-table-card th:nth-child(4) { width: 13%; }
.atemp-theme .users-table-card th:nth-child(5) { width: 14%; }
.atemp-theme .users-table-card th:nth-child(6) { width: 8%; }
.atemp-theme .users-table-card th:nth-child(7) { width: 170px; }
.atemp-theme .users-table-card tbody tr { background: #fff; transition: background .15s ease; }
.atemp-theme .users-table-card tbody tr:hover { background: #f1f6fb; box-shadow: inset 3px 0 0 #3b82f6; }
.atemp-theme .users-table-card tbody td { height: 40px; padding: 5px 8px; border-bottom: 1px solid #dfe6ed; color: #111827; font-size: 11px; vertical-align: middle; }
.atemp-theme .users-table-card tbody tr:last-child td { border-bottom: 0; }
.atemp-theme .users-table-card td { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.atemp-theme .users-table-card td .fw-semibold { overflow: hidden; color: #111827; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.atemp-theme .users-table-card td .text-muted { overflow: hidden; color: #536475 !important; font-size: 10px !important; text-overflow: ellipsis; white-space: nowrap; }
.atemp-theme .users-table-card .badge { padding: 4px 7px; border: 1px solid #cbd9e6; border-radius: 11px; background: #edf3f8 !important; color: #365673 !important; font-size: 9px; }
.atemp-theme .users-table-card .bg-success-subtle { border-color: #b9dfca; background: #eaf7f0 !important; color: #287446 !important; }
.atemp-theme .user-report-pills { display: flex; flex-wrap: nowrap; gap: 4px; min-width: 0; overflow: hidden; }
.atemp-theme .user-report-pills > span { min-height: 23px; padding: 3px 6px; border: 1px solid #d8e2eb; border-radius: 3px; background: #f8fafc; color: #526273; font-size: 8px; }
.atemp-theme .user-report-pills strong { color: #111827; font-size: 10px; }
.atemp-theme .user-report-view-btn { display: inline-flex; align-items: center; gap: 3px; min-height: 23px; padding: 3px 6px; border: 1px solid #9fb3c5; border-radius: 3px; background: #fff; color: #294a68; font-size: 8px; }
.atemp-theme .users-table-card td.text-end { white-space: nowrap; }
.atemp-theme .users-action-icon { display: inline-flex; align-items: center; justify-content: center; width: 27px; min-width: 27px; height: 27px; padding: 0; border-color: #9fb3c5; border-radius: 3px; background: #fff; color: #294a68; font-size: 12px; }
.atemp-theme .users-action-icon:hover { border-color: #294a68; background: #294a68; color: #fff; }
.atemp-theme .users-action-icon.btn-outline-danger { border-color: #d9a8ad; color: #a8323d; }
.atemp-theme .users-action-icon.btn-outline-success { border-color: #8fc4a7; color: #287446; }
.atemp-theme .users-page > .card.mt-4 { margin-top: 0 !important; border-color: #c5d0da; border-top-color: #3b82f6; }
.atemp-theme .users-page > .card.mt-4 .card-body { padding: 10px 12px; }
.atemp-theme .users-page > .card.mt-4 h2 { color: #111827; font-size: 15px; }
.atemp-theme .users-page > .card.mt-4 p,
.atemp-theme .users-page > .card.mt-4 .alert { font-size: 10px; }
.atemp-theme .user-report-name-value-table { border: 1px solid #c5d0da; }
.atemp-theme .user-report-name-value-table th { width: 52%; background: #e7eef4; color: #344f67; font-size: 10px; }
.atemp-theme .user-report-name-value-table td { color: #111827; font-size: 11px; font-weight: 600; }
.atemp-theme .user-report-modal .app-modal-dialog { width: min(540px,100%); }
.atemp-theme .user-report-modal .app-modal-body { padding: 10px; }
.atemp-theme .user-report-modal .user-report-name-value-table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.atemp-theme .user-report-modal .user-report-name-value-table tr { display: table-row; }
.atemp-theme .user-report-modal .user-report-name-value-table th,
.atemp-theme .user-report-modal .user-report-name-value-table td { display: table-cell; height: auto; padding: 7px 9px; border-bottom: 1px solid #dfe6ed; text-align: left; white-space: normal; overflow-wrap: anywhere; vertical-align: top; }
.atemp-theme .users-assign-filter-modal { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)) auto auto; gap: 7px; align-items: end; }
.atemp-theme .users-assign-filter-modal .form-control,
.atemp-theme .users-assign-filter-modal .form-select { min-height: 34px; font-size: 10px; }
.atemp-theme .users-assign-filter-modal .btn { min-height: 34px; font-size: 10px; }
.atemp-theme .assign-candidate-modal .candidate-assign-table thead th { background: #172033; color: #fff; }
.atemp-theme .assign-candidate-modal .candidate-assign-table td { color: #111827; font-size: 10px; }

@media (max-width: 768px) {
  .atemp-theme .users-page { gap: 7px; }
  .atemp-theme .users-page-head {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto !important;
    align-items: center !important;
    gap: 7px !important;
    min-height: 52px;
    padding: 8px 9px !important;
    margin: 0 !important;
    border-radius: 4px !important;
  }
  .atemp-theme .users-page-head h1 { font-size: 18px !important; }
  .atemp-theme .users-page-head p,
  .atemp-theme .users-page-head .users-count { display: none; }
  .atemp-theme .users-page-head > div:last-child { width: auto !important; }
  .atemp-theme .users-page-head .btn { min-height: 34px; padding: 5px 8px; font-size: 10px; }
  .atemp-theme .users-table-card { display: none !important; }
  .atemp-theme .users-mobile-list { display: grid; gap: 7px; }
  .atemp-theme .users-mobile-card { overflow: hidden; border: 1px solid #cbd5df; border-left: 3px solid #3b82f6; border-radius: 4px; background: #fff; box-shadow: 0 2px 7px rgba(15,23,42,.06); }
  .atemp-theme .users-mobile-card-head { display: grid; grid-template-columns: 36px minmax(0,1fr) auto; align-items: center; gap: 7px; padding: 8px; }
  .atemp-theme .users-mobile-avatar { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #e8f2ff; color: #24558f; font-size: 12px; font-weight: 700; }
  .atemp-theme .users-mobile-card-head > div { min-width: 0; }
  .atemp-theme .users-mobile-card-head strong,
  .atemp-theme .users-mobile-card-head > div > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .atemp-theme .users-mobile-card-head strong { color: #111827; font-size: 13px; }
  .atemp-theme .users-mobile-card-head > div > span { margin-top: 2px; color: #526273; font-size: 9px; }
  .atemp-theme .users-mobile-status { padding: 3px 6px; border: 1px solid #cbd5df; border-radius: 10px; font-size: 8px; }
  .atemp-theme .users-mobile-status.is-active { border-color: #b5ddc6; background: #eaf7f0; color: #287446; }
  .atemp-theme .users-mobile-status.is-banned { border-color: #ddbdc1; background: #fff1f2; color: #a8323d; }
  .atemp-theme .users-mobile-meta { display: flex; gap: 5px; padding: 0 8px 7px; }
  .atemp-theme .users-mobile-meta span { display: inline-flex; min-width: 0; align-items: center; gap: 3px; padding: 3px 6px; border-radius: 3px; background: #edf3f8; color: #294a68; font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .atemp-theme .users-mobile-meta span:first-child { flex: 1; }
  .atemp-theme .users-mobile-org { padding: 6px 8px; border-top: 1px solid #edf1f5; color: #334155; font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .atemp-theme .users-mobile-org i { margin-right: 4px; color: #64748b; }
  .atemp-theme .users-mobile-actions { display: flex; border-top: 1px solid #dfe6ed; }
  .atemp-theme .users-mobile-actions form { display: flex; flex: 1 1 0; margin: 0; }
  .atemp-theme .users-mobile-actions > button,
  .atemp-theme .users-mobile-actions form button { display: inline-flex; flex: 1 1 0; align-items: center; justify-content: center; gap: 3px; min-width: 0; min-height: 38px; padding: 4px 2px; border: 0; border-right: 1px solid #dfe6ed; background: #fff; color: #294a68; font-size: 8px; }
  .atemp-theme .users-mobile-actions > button { flex: 1 1 0; }
  .atemp-theme .users-mobile-actions button:disabled { color: #a5b0bb; background: #f8fafc; }
  .atemp-theme .users-mobile-actions button.is-danger { color: #a8323d; }
  .atemp-theme .users-mobile-actions button.is-success { color: #287446; }
  .atemp-theme .users-mobile-actions button i { font-size: 13px; }
  .atemp-theme .users-table-card .table-responsive { overflow: visible; }
  .atemp-theme .users-table-card table.mobile-card-table { min-width: 0; }
  .atemp-theme .users-page .mobile-card-table tbody { display: grid; gap: 7px; }
  .atemp-theme .users-page .mobile-card-table tbody tr {
    padding: 7px 8px !important;
    border: 1px solid #cbd5df !important;
    border-left: 3px solid #3b82f6 !important;
    border-top: 1px solid #cbd5df !important;
    border-radius: 4px !important;
    background: #fff !important;
    box-shadow: 0 2px 7px rgba(15,23,42,.06) !important;
  }
  .atemp-theme .users-page .mobile-card-table tbody td {
    display: grid !important;
    grid-template-columns: 82px minmax(0,1fr);
    gap: 6px;
    min-height: 29px;
    padding: 6px 0 !important;
    border-bottom: 1px solid #edf1f5 !important;
    color: #111827;
    font-size: 10px;
    text-align: left !important;
  }
  .atemp-theme .users-page .mobile-card-table tbody td::before { color: #526273; font-size: 8px; }
  .atemp-theme .users-page .mobile-card-table tbody td:first-child { display: block !important; padding-bottom: 8px !important; }
  .atemp-theme .users-page .mobile-card-table tbody td:first-child::before { display: none; }
  .atemp-theme .users-page .mobile-card-table tbody td:first-child .fw-semibold { font-size: 13px; }
  .atemp-theme .users-page .mobile-card-table .user-report-pills { flex-wrap: wrap; }
  .atemp-theme .users-page .mobile-card-table td:last-child { display: flex !important; justify-content: flex-end; gap: 5px; border-bottom: 0 !important; }
  .atemp-theme .users-page .mobile-card-table td:last-child::before { margin-right: auto; }
  .atemp-theme .users-action-icon { width: 34px; min-width: 34px; height: 34px; }
  .atemp-theme .users-page > .card.mt-4 { display: none; }
  .atemp-theme .user-report-modal .app-modal-dialog { width: 100%; max-height: calc(100dvh - 74px - env(safe-area-inset-bottom)) !important; }
  .atemp-theme .user-report-modal .app-modal-header { min-height: 52px; }
  .atemp-theme .user-report-modal .app-modal-body { padding: 8px; overflow-y: auto; }
  .atemp-theme .user-report-modal .user-report-name-value-table { display: table !important; width: 100% !important; min-width: 0 !important; }
  .atemp-theme .user-report-modal .user-report-name-value-table tbody { display: table-row-group !important; }
  .atemp-theme .user-report-modal .user-report-name-value-table tr { display: table-row !important; width: auto !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; }
  .atemp-theme .user-report-modal .user-report-name-value-table th,
  .atemp-theme .user-report-modal .user-report-name-value-table td { display: table-cell !important; width: auto !important; min-height: 0; padding: 8px !important; border: 0 !important; border-bottom: 1px solid #dfe6ed !important; font-size: 10px; text-align: left !important; }
  .atemp-theme .user-report-modal .user-report-name-value-table th { width: 43% !important; background: #e7eef4; color: #344f67; }
  .atemp-theme .user-report-modal .user-report-name-value-table td { background: #fff; color: #111827; }
  .atemp-theme .user-report-modal .app-modal-footer .btn { width: 100%; min-height: 40px; }
  .atemp-theme .users-assign-filter-modal { grid-template-columns: 1fr; }
  .atemp-theme .assign-candidate-modal .candidate-assign-table.mobile-card-table tbody td { grid-template-columns: 90px minmax(0,1fr); }
}

/* Candidates and profile-management final responsive layer */
.atemp-theme .candidates-page .permission-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.atemp-theme .candidates-page .candidate-filter-card,
.atemp-theme .candidates-page .candidate-list-card,
.atemp-theme .candidate-detail-page .candidate-simple-section {
  border: 1px solid var(--at-border);
  border-top: 3px solid var(--at-orange);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15,23,42,.06);
}
.atemp-theme .candidates-page .candidate-filter-card .card-body { padding: 10px; }
.atemp-theme .candidate-filter-toggle,
.atemp-theme .candidate-filter-drawer-head,
.atemp-theme .candidate-filter-backdrop { display: none; }
.atemp-theme .candidate-mobile-list { display: none; }
.atemp-theme .candidates-page .candidate-filter-card .form-control,
.atemp-theme .candidates-page .candidate-filter-card .form-select { min-height: 34px; }
.atemp-theme .candidates-page .candidate-table-head { display: flex; align-items: center; justify-content: space-between; padding: 0 0 9px; }
.atemp-theme .candidates-page .candidate-table-head h2 { font-size: 16px !important; font-weight: 600; }
.atemp-theme .candidates-page .candidate-table-head p { font-size: 10px; }
.atemp-theme .candidates-page .old-assign-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr)) auto auto auto;
  gap: 7px;
  align-items: end;
  margin-bottom: 10px;
  padding: 9px;
  border: 1px solid #dfe6ec;
  border-radius: 4px;
  background: #f8fafc;
}
.atemp-theme .candidates-page .old-assign-panel .form-select { min-height: 32px; font-size: 11px; }
.atemp-theme .candidates-page .old-assign-panel .btn { min-height: 32px; padding: 5px 8px; font-size: 10px; }
.atemp-theme .candidates-page .old-select-count { align-self: center; color: #64748b; font-size: 10px; white-space: nowrap; }
.atemp-theme .candidates-page .candidate-compact-table thead th { padding: 8px 7px; font-size: 10px; }
.atemp-theme .candidates-page .candidate-compact-table tbody td { padding: 7px; font-size: 11px; }
.atemp-theme .candidates-page .candidate-compact-wrap {
  max-height: calc(100vh - 330px);
  min-height: 230px;
  overflow: auto;
  border: 1px solid #dce4eb;
  border-radius: 4px;
  scrollbar-color: #b7c4d0 transparent;
  scrollbar-width: thin;
}
.atemp-theme .candidates-page .candidate-compact-table { min-width: 0; }
.atemp-theme .candidates-page .candidate-compact-table {
  width: 100%;
  min-width: 920px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
}
.atemp-theme .candidates-page .candidate-compact-table thead { position: sticky; top: 0; z-index: 3; }
.atemp-theme .candidates-page .candidate-compact-table thead th {
  height: 38px;
  border-top: 0;
  border-bottom: 1px solid #cbd6e0;
  background: #eef3f8;
  color: #24364a;
  font-size: 10px;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.atemp-theme .candidates-page .candidate-compact-table th:nth-child(1) { width: 76px; }
.atemp-theme .candidates-page .candidate-compact-table th:nth-child(2) { width: 19%; }
.atemp-theme .candidates-page .candidate-compact-table th:nth-child(3) { width: 16%; }
.atemp-theme .candidates-page .candidate-compact-table th:nth-child(4) { width: 21%; }
.atemp-theme .candidates-page .candidate-compact-table th:nth-child(5) { width: auto; }
.atemp-theme .candidates-page .candidate-compact-table th:nth-child(6) { width: 145px; }
.atemp-theme .candidates-page .candidate-compact-table tbody tr { position: relative; cursor: pointer; transition: background .15s ease, box-shadow .15s ease; }
.atemp-theme .candidates-page .candidate-compact-table tbody tr:nth-child(even) { background: #fbfdff; }
.atemp-theme .candidates-page .candidate-compact-table tbody tr:hover { background: #eff6ff; box-shadow: inset 3px 0 0 var(--at-orange); }
.atemp-theme .candidates-page .candidate-compact-table tbody td { height: 58px; border-bottom: 1px solid #e6ecf1; vertical-align: middle; }
.atemp-theme .candidates-page .candidate-compact-table tbody tr:last-child td { border-bottom: 0; }
.atemp-theme .candidates-page .candidate-compact-table td > strong,
.atemp-theme .candidates-page .candidate-compact-table td > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.atemp-theme .candidates-page .candidate-compact-table td > strong { color: #27384a; font-size: 11px; }
.atemp-theme .candidates-page .candidate-compact-table td > span:not(.candidate-status):not(.candidate-interview-review) { margin-top: 2px; color: #718195; font-size: 9px; }
.atemp-theme .candidates-page .candidate-mini-person { display: flex; align-items: center; gap: 8px; min-width: 0; }
.atemp-theme .candidates-page .candidate-mini-person > span { display: inline-flex; flex: 0 0 32px; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 5px; font-weight: 700; }
.atemp-theme .candidates-page .candidate-mini-person > div { min-width: 0; }
.atemp-theme .candidates-page .candidate-mini-person strong,
.atemp-theme .candidates-page .candidate-mini-person small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.atemp-theme .candidates-page .candidate-current-step { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.atemp-theme .candidates-page .candidate-action-stack { display: flex; justify-content: flex-end; flex-wrap: nowrap; gap: 5px; }
.atemp-theme .candidates-page .candidate-action-stack form { min-width: 0; }
.atemp-theme .candidates-page .candidate-action-stack .btn { white-space: nowrap; }
.atemp-theme .candidates-page .candidate-mini-person > span { background: #eaf2ff; color: #2457a7; }
.atemp-theme .candidates-page .candidate-action-stack .btn { min-height: 29px; padding: 4px 7px; font-size: 10px; }
.atemp-theme .candidate-app-modal .app-modal-dialog { width: min(620px, 100%); }
.atemp-theme .candidate-modal-sheet { display: flex; min-height: 0; flex-direction: column; overflow-y: auto; }
.atemp-theme .candidate-modal-hero {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) 34px;
  align-items: center;
  gap: 9px;
  padding: 11px 12px;
  border-bottom: 1px solid #dfe6ec;
  background: #fff;
}
.atemp-theme .candidate-modal-hero .candidate-card-avatar { width: 40px; height: 40px; border-radius: 6px; background: #eaf2ff; color: #2457a7; }
.atemp-theme .candidate-modal-hero h2 { margin: 0; font-size: 16px; }
.atemp-theme .candidate-modal-hero p { margin: 2px 0 0; color: #64748b; font-size: 10px; }
.atemp-theme .candidate-modal-hero [data-modal-close] { width: 32px; height: 32px; padding: 0; }
.atemp-theme .candidate-modal-status { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px 0; }
.atemp-theme .candidate-modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 10px 12px; }
.atemp-theme .candidate-modal-grid > div { min-width: 0; padding: 8px; border: 1px solid #e2e8f0; border-radius: 4px; background: #f8fafc; }
.atemp-theme .candidate-modal-grid span,
.atemp-theme .candidate-modal-grid strong,
.atemp-theme .candidate-modal-grid em { display: block; overflow-wrap: anywhere; }
.atemp-theme .candidate-modal-grid span { color: #64748b; font-size: 9px; text-transform: uppercase; }
.atemp-theme .candidate-modal-grid strong { margin-top: 2px; color: #24364a; font-size: 11px; }
.atemp-theme .candidate-modal-grid em { color: #7c8b99; font-size: 9px; font-style: normal; }
.atemp-theme .candidate-modal-actions { position: sticky; bottom: 0; display: flex; gap: 7px; padding: 9px 12px; border-top: 1px solid #dfe6ec; background: #fff; }
.atemp-theme .candidate-modal-actions > *,
.atemp-theme .candidate-modal-actions .btn { flex: 1 1 auto; }
.atemp-theme .candidate-modal-actions .btn { width: 100%; min-height: 34px; padding: 5px 8px; font-size: 10px; }
.atemp-theme .candidate-detail-page .candidate-simple-section { overflow: hidden; }
.atemp-theme .candidate-detail-page .candidate-simple-section > h3 { margin: 0; padding: 9px 11px; border-bottom: 1px solid #e2e8f0; font-size: 15px; font-weight: 600; }
.atemp-theme .candidate-detail-page .candidate-admin-video { display: block; width: min(420px,100%); max-height: 250px; background: #0b1220; }

@media (max-width: 768px) {
  /* Profiles: compact mobile cards, not oversized desktop tiles. */
  .atemp-theme .profile-manager:not(.candidates-page) { gap: 8px !important; }
  .atemp-theme .profile-manager:not(.candidates-page) .profile-head {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 10px !important;
    border-radius: 4px !important;
  }
  .atemp-theme .profile-manager:not(.candidates-page) .profile-head > .d-flex { display: grid !important; grid-template-columns: 1fr 1fr; gap: 7px !important; }
  .atemp-theme .profile-manager:not(.candidates-page) .profile-head .btn { min-height: 38px; }
  .atemp-theme .profile-manager:not(.candidates-page) .permission-stats {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
    gap: 6px !important;
    overflow: visible !important;
  }
  .atemp-theme .profile-manager:not(.candidates-page) .permission-stats > div {
    min-height: 60px !important;
    padding: 8px 6px 8px 34px !important;
    border-radius: 4px !important;
  }
  .atemp-theme .profile-manager:not(.candidates-page) .permission-stats > div::before { width: 28px; line-height: 60px; }
  .atemp-theme .profile-manager:not(.candidates-page) .permission-stats span { font-size: 17px; }
  .atemp-theme .profile-manager:not(.candidates-page) .permission-stats p { font-size: 8px; }
  .atemp-theme .profile-manager:not(.candidates-page) .profile-filter-tabs { margin: 0 !important; }
  .atemp-theme .profile-manager:not(.candidates-page) .profile-type-panel { border-radius: 4px !important; }
  .atemp-theme .profile-manager:not(.candidates-page) .profile-type-grid { grid-template-columns: 1fr !important; gap: 6px; padding: 8px; }
  .atemp-theme .profile-manager:not(.candidates-page) .profile-type-card { grid-template-columns: 44px minmax(0,1fr); }
  .atemp-theme .profile-manager:not(.candidates-page) .profile-type-image { width: 44px; height: 44px; }
  .atemp-theme .profile-manager:not(.candidates-page) > .profile-grid { grid-template-columns: 1fr !important; gap: 8px !important; }
  .atemp-theme .profile-manager:not(.candidates-page) .profile-card {
    display: grid;
    grid-template-columns: 112px minmax(0,1fr);
    min-height: 150px;
    border-radius: 4px !important;
  }
  .atemp-theme .profile-manager:not(.candidates-page) .profile-banner { height: 100%; min-height: 150px; }
  .atemp-theme .profile-manager:not(.candidates-page) .profile-banner img { height: 100%; object-fit: cover; }
  .atemp-theme .profile-manager:not(.candidates-page) .profile-type-badge { max-width: calc(100% - 12px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .atemp-theme .profile-manager:not(.candidates-page) .profile-card-body { align-content: start; gap: 5px; padding: 8px; }
  .atemp-theme .profile-manager:not(.candidates-page) .profile-card-body > p { min-height: 0; -webkit-line-clamp: 2; }
  .atemp-theme .profile-manager:not(.candidates-page) .process-chip-row { max-height: 35px; overflow: hidden; }
  .atemp-theme .profile-manager:not(.candidates-page) .profile-card-meta > span:nth-child(2) { display: none; }
  .atemp-theme .profile-manager:not(.candidates-page) .profile-exam-summary { display: none; }
  .atemp-theme .profile-manager:not(.candidates-page) .profile-actions .btn { min-height: 32px; }

  /* Candidates list */
  .atemp-theme .candidates-page { gap: 8px !important; }
  .atemp-theme .candidates-page .profile-head { display: grid !important; grid-template-columns: 1fr; gap: 8px !important; padding: 10px !important; margin: 0 !important; border-radius: 4px !important; }
  .atemp-theme .candidates-page .profile-head > .d-flex { display: grid !important; grid-template-columns: 1fr 1fr; }
  .atemp-theme .candidates-page .profile-head .btn { min-height: 38px; border-radius: 4px; }
  .atemp-theme .candidates-page .permission-stats { grid-template-columns: repeat(4, minmax(74px,1fr)) !important; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .atemp-theme .candidates-page .permission-stats > div { min-height: 55px !important; padding: 8px !important; border-radius: 4px !important; }
  .atemp-theme .candidates-page .permission-stats > div::before { display: none; }
  .atemp-theme .candidates-page .permission-stats span { font-size: 17px; }
  .atemp-theme .candidates-page .candidate-filter-card { margin: 0 !important; border-radius: 4px !important; }
  .atemp-theme .candidates-page .candidate-filter-card form.row { display: grid !important; grid-template-columns: 1fr 1fr; gap: 7px; margin: 0; }
  .atemp-theme .candidates-page .candidate-filter-card form.row > * { width: auto; padding: 0; }
  .atemp-theme .candidates-page .candidate-filter-card form.row > :first-child,
  .atemp-theme .candidates-page .candidate-filter-card form.row > :last-child { grid-column: 1 / -1; }
  .atemp-theme .candidates-page .candidate-filter-card .form-control,
  .atemp-theme .candidates-page .candidate-filter-card .form-select,
  .atemp-theme .candidates-page .candidate-filter-card .btn { min-height: 40px; border-radius: 4px; font-size: 12px; }
  .atemp-theme .candidates-page .candidate-list-card { border: 0; background: transparent; box-shadow: none; }
  .atemp-theme .candidates-page .candidate-list-card > .card-body { padding: 0; }
  .atemp-theme .candidates-page .candidate-table-head { padding: 8px 10px; border: 1px solid #dce4eb; border-radius: 4px; background: #fff; }
  .atemp-theme .candidates-page .candidate-table-head p { display: none; }
  .atemp-theme .candidates-page .old-assign-panel {
    grid-template-columns: 1fr 1fr !important;
    gap: 7px !important;
    padding: 8px !important;
    border-radius: 4px !important;
  }
  .atemp-theme .candidates-page .old-assign-panel > div:first-child { grid-column: 1 / -1; }
  .atemp-theme .candidates-page .old-assign-panel .form-select,
  .atemp-theme .candidates-page .old-assign-panel .btn { min-height: 39px; }
  .atemp-theme .candidates-page .old-select-count { text-align: center; }
  .atemp-theme .candidates-page .candidate-compact-table tbody { gap: 8px !important; }
  .atemp-theme .candidates-page .candidate-compact-table tr {
    padding: 10px !important;
    border: 1px solid #dce4eb !important;
    border-top: 3px solid var(--at-orange) !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 8px rgba(15,23,42,.06) !important;
  }
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Profile"],
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Contact"] { border-radius: 4px !important; }
  .atemp-theme .candidates-page .candidate-mini-person > span { border-radius: 6px !important; }
  .atemp-theme .candidates-page .candidate-action-stack .btn { min-height: 40px !important; border-radius: 4px !important; }
  .atemp-theme .candidate-pagination { align-items: center; flex-direction: column; gap: 7px; padding: 10px 0; }

  /* Candidate quick modal */
  .atemp-theme .candidate-app-modal { align-items: flex-end; padding: 0 !important; }
  .atemp-theme .candidate-app-modal .app-modal-dialog { width: 100%; max-height: 94dvh; border-radius: 12px 12px 0 0 !important; }
  .atemp-theme .candidate-modal-hero { grid-template-columns: 40px minmax(0,1fr) 36px; }
  .atemp-theme .candidate-modal-grid { grid-template-columns: 1fr; }
  .atemp-theme .candidate-modal-actions { display: grid; grid-template-columns: 1fr 1fr; padding-bottom: calc(9px + env(safe-area-inset-bottom)); }
  .atemp-theme .candidate-modal-actions > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .atemp-theme .candidate-modal-actions .btn { min-height: 42px; }

  /* Full candidate detail */
  .atemp-theme .candidate-detail-page .profile-head .candidate-action-stack { display: grid !important; grid-template-columns: 1fr 1fr !important; }
  .atemp-theme .candidate-detail-page .candidate-simple-section { border-radius: 4px; }
  .atemp-theme .candidate-detail-page .candidate-simple-section .table-responsive { overflow: visible; }
  .atemp-theme .candidate-detail-page .candidate-simple-table:not(.mobile-card-table) { display: block; min-width: 0; }
  .atemp-theme .candidate-detail-page .candidate-simple-table:not(.mobile-card-table) tbody { display: block; }
  .atemp-theme .candidate-detail-page .candidate-simple-table:not(.mobile-card-table) tr { display: grid; grid-template-columns: minmax(92px,35%) minmax(0,1fr); border-bottom: 1px solid #edf1f5; }
  .atemp-theme .candidate-detail-page .candidate-simple-table:not(.mobile-card-table) th,
  .atemp-theme .candidate-detail-page .candidate-simple-table:not(.mobile-card-table) td { width: auto !important; padding: 8px !important; border: 0; font-size: 11px; overflow-wrap: anywhere; }
  .atemp-theme .candidate-detail-page .candidate-admin-video { max-height: 200px; }

  /* Keep authenticated modals above the fixed bottom navigation. */
  .atemp-theme:not(.signin-page) .app-modal {
    bottom: calc(64px + env(safe-area-inset-bottom)) !important;
  }
  .atemp-theme:not(.signin-page) .app-modal .app-modal-dialog,
  .atemp-theme:not(.signin-page) .candidate-app-modal .app-modal-dialog {
    max-height: calc(100dvh - 74px - env(safe-area-inset-bottom)) !important;
  }
}

/* Purpose-built mobile candidate cards. */
@media (max-width: 768px) {
  .atemp-theme .candidates-page .candidate-compact-wrap { display: none !important; }
  .atemp-theme .candidate-mobile-list { display: grid; gap: 7px; }
  .atemp-theme .candidate-mobile-card {
    overflow: hidden;
    border: 1px solid #cbd5df;
    border-left: 3px solid #3b82f6;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 2px 7px rgba(15,23,42,.06);
  }
  .atemp-theme .candidate-mobile-head { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 7px; padding: 8px; }
  .atemp-theme .candidate-mobile-avatar { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #e8f2ff; color: #24558f; font-size: 11px; font-weight: 700; }
  .atemp-theme .candidate-mobile-title { min-width: 0; }
  .atemp-theme .candidate-mobile-title strong,
  .atemp-theme .candidate-mobile-title span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .atemp-theme .candidate-mobile-title strong { color: #111827; font-size: 12px; }
  .atemp-theme .candidate-mobile-title span { margin-top: 2px; color: #64748b; font-size: 9px; }
  .atemp-theme .candidate-mobile-assigned { padding: 3px 6px; border: 1px solid #d5dee7; border-radius: 10px; color: #526273; font-size: 8px; }
  .atemp-theme .candidate-mobile-tags { display: flex; gap: 5px; padding: 0 8px 7px; overflow: hidden; }
  .atemp-theme .candidate-mobile-tags span { display: inline-flex; min-width: 0; align-items: center; gap: 3px; padding: 3px 6px; border-radius: 3px; background: #edf3f8; color: #294a68; font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .atemp-theme .candidate-mobile-tags span:first-child { flex: 1; }
  .atemp-theme .candidate-mobile-contact { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 9px; padding: 7px 8px; border-top: 1px solid #edf1f5; border-bottom: 1px solid #edf1f5; color: #334155; font-size: 9px; }
  .atemp-theme .candidate-mobile-contact span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .atemp-theme .candidate-mobile-contact i { margin-right: 3px; color: #64748b; }
  .atemp-theme .candidate-mobile-progress { display: flex; align-items: center; gap: 6px; padding: 6px 8px 3px; color: #526273; font-size: 8px; }
  .atemp-theme .candidate-mobile-progress .candidate-status { padding: 3px 6px !important; font-size: 8px !important; }
  .atemp-theme .candidate-mobile-current { padding: 3px 8px 7px; color: #334155; font-size: 9px; line-height: 1.25; }
  .atemp-theme .candidate-mobile-current b { color: #111827; }
  .atemp-theme .candidate-mobile-actions { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #dfe6ed; }
  .atemp-theme .candidate-mobile-actions form { margin: 0; }
  .atemp-theme .candidate-mobile-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; width: 100%; min-height: 34px; padding: 4px; border: 0; border-right: 1px solid #dfe6ed; border-radius: 0; background: #fff; color: #294a68; font-size: 9px; }
  .atemp-theme .candidate-mobile-actions > :last-child { border-right: 0; }
  .atemp-theme .candidate-mobile-empty { padding: 24px; border: 1px solid #dbe3ea; background: #fff; color: #64748b; text-align: center; }
}

@media (max-width: 380px) {
  .atemp-theme .profile-manager:not(.candidates-page) .profile-card { grid-template-columns: 94px minmax(0,1fr); }
  .atemp-theme .candidates-page .permission-stats { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
  .atemp-theme .candidates-page .candidate-filter-card form.row,
  .atemp-theme .candidates-page .old-assign-panel { grid-template-columns: 1fr !important; }
  .atemp-theme .candidates-page .old-assign-panel > * { grid-column: 1 !important; }
}

/* Final classic candidates data table (desktop/tablet landscape). */
@media (min-width: 769px) {
  .atemp-theme .candidates-page .candidate-list-card {
    overflow: hidden;
    border: 1px solid #d7e0e8;
    border-top: 3px solid var(--at-orange);
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(15,23,42,.07);
  }
  .atemp-theme .candidates-page .candidate-list-card > .card-body { padding: 12px; }
  .atemp-theme .candidates-page .candidate-table-head {
    min-height: 48px;
    margin: -12px -12px 10px;
    padding: 9px 12px;
    border-bottom: 1px solid #dce4eb;
    background: #f8fafc;
  }
  .atemp-theme .candidates-page .candidate-table-head h2 { color: #17263a; font-size: 16px !important; }
  .atemp-theme .candidates-page .candidate-table-head .badge { padding: 5px 9px; border: 1px solid #d6e0e9; border-radius: 12px; background: #fff !important; color: #52657a !important; }
  .atemp-theme .candidates-page .old-assign-panel {
    margin: 0 0 10px;
    padding: 9px 10px;
    border: 1px solid #d8e2eb;
    border-left: 3px solid #3b82f6;
    border-radius: 4px;
    background: #f5f8fc;
  }
  .atemp-theme .candidates-page .old-assign-panel .form-label { color: #52657a; font-size: 9px; letter-spacing: .04em; text-transform: uppercase; }
  .atemp-theme .candidates-page .candidate-compact-wrap {
    overflow: auto;
    border: 1px solid #cfd9e2;
    border-radius: 4px;
    background: #fff;
  }
  .atemp-theme .candidates-page .candidate-compact-table { margin: 0; }
  .atemp-theme .candidates-page .candidate-compact-table thead th {
    height: 42px;
    padding: 9px 10px;
    border: 0;
    border-right: 1px solid rgba(255,255,255,.09);
    background: #17263a;
    color: #f8fafc;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .07em;
    vertical-align: middle;
  }
  .atemp-theme .candidates-page .candidate-compact-table thead th:last-child { border-right: 0; }
  .atemp-theme .candidates-page .candidate-compact-table tbody tr { background: #fff; }
  .atemp-theme .candidates-page .candidate-compact-table tbody tr:nth-child(even) { background: #f8fafc; }
  .atemp-theme .candidates-page .candidate-compact-table tbody tr:hover { background: #edf5ff; box-shadow: inset 3px 0 0 #3b82f6; }
  .atemp-theme .candidates-page .candidate-compact-table tbody td {
    height: 64px;
    padding: 9px 10px;
    border: 0;
    border-bottom: 1px solid #e2e8ee;
    color: #2a3b4f;
    font-size: 11px;
    vertical-align: middle;
  }
  .atemp-theme .candidates-page .candidate-compact-table tbody tr:last-child td { border-bottom: 0; }
  .atemp-theme .candidates-page .candidate-compact-table .form-check-input { width: 16px; height: 16px; border-color: #9aabbb; cursor: pointer; }
  .atemp-theme .candidates-page .candidate-compact-table .form-check-input:checked { border-color: #2563eb; background-color: #2563eb; }
  .atemp-theme .candidates-page .old-bulk-check { display: flex; align-items: center; gap: 6px; margin: 0; color: #fff; font-size: 9px; }
  .atemp-theme .candidates-page .candidate-mini-person > span {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    border: 1px solid #cfe0f5;
    border-radius: 50%;
    background: #e8f2ff;
    color: #1d4f91;
    font-size: 12px;
  }
  .atemp-theme .candidates-page .candidate-mini-person strong { color: #173250; font-size: 12px; font-weight: 700; }
  .atemp-theme .candidates-page .candidate-mini-person small { margin-top: 3px; color: #7a8998; font-size: 9px; }
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Profile"] strong,
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Contact"] strong { color: #2c4055; font-size: 11px; font-weight: 600; }
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Profile"] > span,
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Contact"] > span { color: #718195; font-size: 9px; }
  .atemp-theme .candidates-page .candidate-compact-table .candidate-status { padding: 4px 7px; border-radius: 12px; font-size: 9px !important; font-weight: 700; }
  .atemp-theme .candidates-page .candidate-current-step,
  .atemp-theme .candidates-page .candidate-interview-review { margin-top: 3px; color: #64748b; font-size: 9px !important; }
  .atemp-theme .candidates-page .candidate-action-stack { gap: 6px; }
  .atemp-theme .candidates-page .candidate-action-stack .btn {
    min-width: 58px;
    min-height: 30px;
    padding: 4px 7px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 600;
  }
  .atemp-theme .candidates-page .candidate-action-stack .btn-warning { border-color: #d9a72e; background: #fff7dd; color: #835e00; }
  .atemp-theme .candidates-page .candidate-action-stack .btn-outline-primary { border-color: #9ab8dc; background: #fff; color: #24558f; }
}

/* Calling process: compact workspace with clear action hierarchy. */
body.atemp-theme .app-main .calling-process-page { display: flex !important; width: 100%; flex-direction: column; gap: 9px !important; }
body.atemp-theme .app-main .calling-process-top {
  display: flex !important; min-height: 42px; padding: 5px 7px !important; align-items: center; gap: 6px;
  border: 1px solid #afbfcd !important; border-radius: 3px !important; background: #fff !important; color: #17263a !important;
}
body.atemp-theme .app-main .calling-process-top .btn { min-height: 32px; padding: 5px 9px; border-radius: 2px; }
body.atemp-theme .app-main .calling-desk-header {
  display: grid !important; padding: 14px 16px !important; border: 1px solid #173d62 !important;
  border-radius: 4px !important; background: linear-gradient(115deg,#10243c,#174a75) !important;
  grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px; box-shadow: 0 5px 14px rgba(16,36,60,.12) !important;
}
body.atemp-theme .app-main .calling-desk-header > div:first-child > span { display: inline-flex; padding: 3px 7px; border-radius: 2px; background: rgba(255,255,255,.13); color: #d6e7f5 !important; font-size: 9px !important; }
body.atemp-theme .app-main .calling-desk-header h1 { margin: 5px 0 2px !important; color: #fff !important; font-size: 21px !important; }
body.atemp-theme .app-main .calling-desk-header p { margin: 0 !important; color: #ccdae7 !important; font-size: 11px !important; }
body.atemp-theme .app-main .calling-desk-actions { display: flex !important; flex-wrap: wrap; justify-content: flex-end; gap: 5px !important; }
body.atemp-theme .app-main .calling-desk-actions .btn { min-height: 34px; border-radius: 2px; background: #fff; }
body.atemp-theme .app-main .calling-desk-actions .btn-success { border-color: #21905f; background: #21845c; color: #fff; }
body.atemp-theme .app-main .calling-table-layout { display: grid !important; grid-template-columns: minmax(300px,.72fr) minmax(480px,1.28fr); align-items: start; gap: 9px !important; }
body.atemp-theme .app-main .calling-table-layout > :nth-child(1) { grid-column: 1; }
body.atemp-theme .app-main .calling-table-layout > :nth-child(2) { grid-column: 2; }
body.atemp-theme .app-main .calling-table-layout > :nth-child(3) { grid-column: 1; }
body.atemp-theme .app-main .calling-table-layout > :nth-child(4) { grid-column: 2; grid-row: 2 / span 2; }
body.atemp-theme .app-main .calling-table-layout > :nth-child(5) { grid-column: 1/-1; }
body.atemp-theme .app-main .calling-table-card { padding: 12px !important; overflow: hidden; }
body.atemp-theme .app-main .calling-table-title { display: flex; margin-bottom: 9px !important; padding-bottom: 8px; justify-content: space-between; align-items: center; }
body.atemp-theme .app-main .calling-table-title em { padding: 3px 7px; border-radius: 2px; background: #e9f1f7; color: #28516f; font-size: 9px !important; font-style: normal; font-weight: 750; }
body.atemp-theme .app-main .call-attempt-button { width: 100%; min-height: 52px; border: 0; border-radius: 3px; background: #174a75; color: #fff; }
body.atemp-theme .app-main .call-attempt-button:not(:disabled):hover { background: #103b60; }
body.atemp-theme .app-main .call-attempt-button:disabled { background: #c8d2db; color: #536273; }
body.atemp-theme .app-main .call-attempt-hint { margin: 7px 0 0; color: #536579; font-size: 10px !important; line-height: 1.4; }
body.atemp-theme .app-main .calling-status-table { table-layout: fixed; }
body.atemp-theme .app-main .calling-status-table th { width: 34%; background: #edf3f7 !important; color: #38516a !important; }
body.atemp-theme .app-main .calling-status-table td { width: 66%; }
body.atemp-theme .app-main .calling-process-status-table th:nth-child(1) { width: 39%; }
body.atemp-theme .app-main .calling-process-status-table th:nth-child(2) { width: 23%; }
body.atemp-theme .app-main .calling-process-status-table th:nth-child(3) { width: 38%; }
body.atemp-theme .app-main .calling-disposition-card { border-top: 3px solid #286696 !important; }
body.atemp-theme .app-main .calling-form-grid { display: grid; grid-template-columns: 1fr; gap: 8px !important; }
body.atemp-theme .app-main .call-interview-schedule-field:not(.is-hidden) { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
body.atemp-theme .app-main .calling-form-grid .form-control,
body.atemp-theme .app-main .calling-form-grid .form-select { min-height: 39px; border-color: #aabac8; border-radius: 2px; }
body.atemp-theme .app-main .calling-form-grid textarea.form-control { min-height: 76px; }
body.atemp-theme .app-main .calling-disposition-actions { display: flex; margin-top: 9px; gap: 6px; }
body.atemp-theme .app-main .calling-disposition-actions .btn { min-height: 37px; border-radius: 2px; }

@media (max-width: 768px) {
  body.atemp-theme .app-main .calling-process-page { display: block !important; padding: 6px 6px 78px !important; background: #edf2f6; }
  body.atemp-theme .app-main .calling-process-top { position: sticky; top: 52px; z-index: 15; margin: 0 0 6px !important; padding: 5px !important; }
  body.atemp-theme .app-main .calling-process-top .btn { flex: 1; }
  body.atemp-theme .app-main .calling-desk-header { display: block !important; padding: 10px !important; border-radius: 3px !important; }
  body.atemp-theme .app-main .calling-desk-header h1 { font-size: 17px !important; }
  body.atemp-theme .app-main .calling-desk-header p { font-size: 10px !important; }
  body.atemp-theme .app-main .calling-desk-actions { display: grid !important; margin-top: 8px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px !important; }
  body.atemp-theme .app-main .calling-desk-actions form,
  body.atemp-theme .app-main .calling-desk-actions .btn { width: 100%; }
  body.atemp-theme .app-main .calling-desk-actions .btn { min-height: 36px; padding: 5px !important; font-size: 10px !important; }
  body.atemp-theme .app-main .calling-table-layout { display: block !important; }
  body.atemp-theme .app-main .calling-table-layout > * { width: 100%; margin-bottom: 6px; }
  body.atemp-theme .app-main .calling-table-card { padding: 8px !important; }
  body.atemp-theme .app-main .calling-table-title { margin-bottom: 7px !important; }
  body.atemp-theme .app-main .calling-table-title h2 { font-size: 14px !important; }
  body.atemp-theme .app-main .call-attempt-button { min-height: 45px; }
  body.atemp-theme .app-main .calling-premium-table th,
  body.atemp-theme .app-main .calling-premium-table td { padding: 7px 6px !important; font-size: 10px !important; }
  body.atemp-theme .app-main .calling-status-table th { width: 37% !important; }
  body.atemp-theme .app-main .calling-status-table td { width: 63% !important; }
  body.atemp-theme .app-main .calling-form-grid,
  body.atemp-theme .app-main .call-interview-schedule-field:not(.is-hidden),
  body.atemp-theme .app-main .interview-result-grid { grid-template-columns: 1fr !important; }
  body.atemp-theme .app-main .calling-disposition-actions { display: grid !important; grid-template-columns: 1fr; }
  body.atemp-theme .app-main .calling-process-page ~ .app-modal .app-modal-dialog,
  body.atemp-theme .app-main .calling-process-page .app-modal-dialog { max-height: calc(100dvh - 76px) !important; margin-bottom: 70px; }
}

/* Mobile candidate text-fit corrections. */
@media (max-width: 768px) {
  .atemp-theme .candidates-page .candidate-compact-table tr {
    gap: 0 4px !important;
    padding: 6px !important;
  }
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Select"] {
    top: 7px;
    right: 7px;
    max-width: 44px;
  }
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Select"] .text-muted {
    min-height: 24px;
    padding: 2px 4px;
    font-size: 7px !important;
  }
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Candidate"] {
    min-width: 0;
    padding-right: 46px !important;
  }
  .atemp-theme .candidates-page .candidate-mini-person { min-width: 0; gap: 5px !important; }
  .atemp-theme .candidates-page .candidate-mini-person > div { min-width: 0; }
  .atemp-theme .candidates-page .candidate-mini-person strong,
  .atemp-theme .candidates-page .candidate-mini-person small {
    max-width: 100%;
    overflow: visible;
    text-overflow: clip;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Profile"],
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Contact"] {
    min-width: 0;
    margin-top: 4px;
    padding: 4px !important;
  }
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Profile"] strong,
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Profile"] span,
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Contact"] strong,
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Contact"] span,
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Status"] span {
    max-width: 100%;
    overflow: visible;
    text-overflow: clip;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Status"] {
    margin-top: 4px;
    padding-top: 4px !important;
  }
  .atemp-theme .candidates-page .candidate-current-step,
  .atemp-theme .candidates-page .candidate-interview-review { line-height: 1.25; }
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Action"] { margin-top: 4px; }
  .atemp-theme .candidates-page .candidate-action-stack { gap: 4px !important; }
}

@media (max-width: 380px) {
  .atemp-theme .candidates-page .candidate-compact-table tr { grid-template-columns: 1fr; }
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Profile"],
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Contact"] { grid-column: 1; }
}

/* Classic compact Candidates page on phones. */
@media (max-width: 768px) {
  .atemp-theme .candidates-page { gap: 7px !important; }
  .atemp-theme .candidates-page .profile-head {
    gap: 6px !important;
    padding: 8px 9px !important;
    border: 1px solid #cbd5df !important;
    border-left: 3px solid #3b82f6 !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(15,23,42,.06) !important;
  }
  .atemp-theme .candidates-page .profile-head h1 { color: #111827; font-size: 18px !important; }
  .atemp-theme .candidates-page .profile-head p { display: none; }
  .atemp-theme .candidates-page .profile-head > .d-flex { gap: 6px !important; }
  .atemp-theme .candidates-page .profile-head .btn { min-height: 34px; padding: 5px 7px; font-size: 10px; }
  .atemp-theme .candidates-page .permission-stats { gap: 5px !important; }
  .atemp-theme .candidates-page .permission-stats > div {
    min-height: 48px !important;
    padding: 6px !important;
    border: 1px solid #cbd5df !important;
    background: #fff !important;
    box-shadow: none !important;
  }
  .atemp-theme .candidates-page .permission-stats span { color: #111827; font-size: 15px; }
  .atemp-theme .candidates-page .permission-stats p { margin-top: 2px; color: #526273; font-size: 8px; }
  .atemp-theme .candidates-page .candidate-filter-card { border: 1px solid #c5d0da !important; border-top: 3px solid #3b82f6 !important; background: #fff !important; }
  .atemp-theme .candidates-page .candidate-filter-card .card-body { padding: 7px; }
  .atemp-theme .candidates-page .candidate-filter-card form.row { gap: 6px !important; }
  .atemp-theme .candidates-page .candidate-filter-card .form-label { margin-bottom: 2px !important; color: #111827; font-size: 9px; }
  .atemp-theme .candidates-page .candidate-filter-card .form-control,
  .atemp-theme .candidates-page .candidate-filter-card .form-select,
  .atemp-theme .candidates-page .candidate-filter-card .btn { min-height: 36px; padding: 5px 8px; font-size: 11px; }
  .atemp-theme .candidates-page .candidate-table-head { min-height: 40px; padding: 7px 9px; border-color: #cbd5df; }
  .atemp-theme .candidates-page .candidate-table-head h2 { color: #111827; font-size: 14px !important; }
  .atemp-theme .candidates-page .candidate-table-head .badge { padding: 3px 6px; font-size: 8px; }
  .atemp-theme .candidates-page .old-assign-panel { grid-template-columns: 1fr 1fr !important; gap: 5px !important; padding: 7px !important; border-color: #c5d0da; background: #f8fafc; }
  .atemp-theme .candidates-page .old-assign-panel > div:first-child { grid-column: 1 / -1; }
  .atemp-theme .candidates-page .old-assign-panel .form-label { font-size: 8px; }
  .atemp-theme .candidates-page .old-assign-panel .form-select,
  .atemp-theme .candidates-page .old-assign-panel .btn { min-height: 35px; padding: 4px 6px; font-size: 10px; }
  .atemp-theme .candidates-page .old-select-count { font-size: 9px; }
  .atemp-theme .candidates-page .candidate-compact-table tbody { gap: 7px !important; }
  .atemp-theme .candidates-page .candidate-compact-table tr {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0 7px !important;
    padding: 8px !important;
    border: 1px solid #cbd5df !important;
    border-top: 3px solid #3b82f6 !important;
    border-radius: 3px !important;
    background: #fff !important;
    box-shadow: 0 2px 7px rgba(15,23,42,.05) !important;
  }
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Candidate"],
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Status"],
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Action"] { grid-column: 1 / -1; }
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Candidate"] { min-height: 38px; padding-right: 58px !important; }
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Profile"],
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Contact"] {
    margin-top: 5px;
    padding: 6px !important;
    border: 1px solid #e0e7ee !important;
    border-radius: 3px !important;
    background: #f8fafc !important;
  }
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Status"] { margin-top: 5px; padding-top: 6px !important; }
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Action"] { margin-top: 6px; }
  .atemp-theme .candidates-page .candidate-mini-person { gap: 7px !important; }
  .atemp-theme .candidates-page .candidate-mini-person > span { flex-basis: 34px !important; width: 34px !important; height: 34px !important; border-radius: 50% !important; }
  .atemp-theme .candidates-page .candidate-mini-person strong { color: #111827; font-size: 13px !important; }
  .atemp-theme .candidates-page .candidate-mini-person small { color: #526273; font-size: 9px !important; }
  .atemp-theme .candidates-page .candidate-compact-table td::before { margin-bottom: 3px; color: #526273; font-size: 8px; }
  .atemp-theme .candidates-page .candidate-compact-table strong { color: #111827; font-size: 10px !important; }
  .atemp-theme .candidates-page .candidate-compact-table span { color: #334155; font-size: 9px !important; }
  .atemp-theme .candidates-page .candidate-compact-table .candidate-status { padding: 3px 6px !important; font-size: 9px !important; }
  .atemp-theme .candidates-page .candidate-action-stack { gap: 6px !important; }
  .atemp-theme .candidates-page .candidate-action-stack .btn { min-height: 34px !important; border-radius: 3px !important; font-size: 14px !important; }
  .atemp-theme .candidates-page .candidate-pagination { gap: 6px; padding: 7px; border-radius: 3px; }
}

/* Candidate typography: +1px with clear black/white contrast. */
@media (min-width: 769px) {
  .atemp-theme .candidates-page .candidate-table-head h2 { color: #111827; font-size: 17px !important; }
  .atemp-theme .candidates-page .candidate-table-head p { color: #111827 !important; font-size: 11px; }
  .atemp-theme .candidates-page .old-assign-panel .form-label { color: #111827; font-size: 10px; }
  .atemp-theme .candidates-page .old-assign-panel .form-select { color: #111827; font-size: 12px; }
  .atemp-theme .candidates-page .old-assign-panel .btn { font-size: 11px; }
  .atemp-theme .candidates-page .old-select-count { color: #111827; font-size: 11px; }
  .atemp-theme .candidates-page .candidate-compact-table thead th { color: #fff !important; font-size: 10px; }
  .atemp-theme .candidates-page .candidate-compact-table tbody td { color: #111827; font-size: 13px; }
  .atemp-theme .candidates-page .candidate-mini-person strong,
  .atemp-theme .candidates-page .candidate-compact-table td > strong { color: #111827; font-size: 13px; }
  .atemp-theme .candidates-page .candidate-mini-person small,
  .atemp-theme .candidates-page .candidate-compact-table td > span:not(.candidate-status) { color: #111827; font-size: 11px; }
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Profile"] > strong,
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Contact"] > strong { color: #111827; font-size: 12px; }
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Profile"] > span,
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Contact"] > span,
  .atemp-theme .candidates-page .candidate-current-step,
  .atemp-theme .candidates-page .candidate-interview-review { color: #111827; font-size: 10px !important; }
  .atemp-theme .candidates-page .candidate-status { font-size: 10px !important; }
  .atemp-theme .candidates-page .candidate-action-stack .btn { font-size: 15px; }
  .atemp-theme .candidates-page .candidate-action-stack { transform: translateY(3px); }
  .atemp-theme .candidates-page .candidate-status-break { display: block; content: ""; }
  .atemp-theme .candidates-page .candidate-page-summary { color: #111827; font-size: 11px; }
  .atemp-theme .candidates-page .candidate-page-summary strong { color: #111827; font-size: 13px; }
  .atemp-theme .candidates-page .pagination .page-link { color: #111827; font-size: 11px; }
  .atemp-theme .candidates-page .pagination .page-item.active .page-link,
  .atemp-theme .candidates-page .candidate-filter-card .btn-primary,
  .atemp-theme .candidates-page .candidate-compact-table thead .old-bulk-check { color: #fff !important; }
}

/* Unified dark-slate candidates table palette. */
@media (min-width: 769px) {
  .atemp-theme .candidates-page .candidate-table-head { border-color: #d8e0e8; background: #f8fafc; }
  .atemp-theme .candidates-page .old-assign-panel {
    border-color: #cbd5df;
    border-left-color: #3b82f6;
    background: #fff;
  }
  .atemp-theme .candidates-page .candidate-compact-wrap { border-color: #c2ced9; }
  .atemp-theme .candidates-page .candidate-compact-table thead th {
    border-right-color: rgba(255,255,255,.08);
    background: #172033;
    color: #f8fafc;
  }
  .atemp-theme .candidates-page .candidate-compact-table tbody tr,
  .atemp-theme .candidates-page .candidate-compact-table tbody tr:nth-child(even) { background: #fff; }
  .atemp-theme .candidates-page .candidate-compact-table tbody tr:hover { background: #f1f6fb; box-shadow: inset 3px 0 0 #3b82f6; }
  .atemp-theme .candidates-page .candidate-compact-table tbody tr.is-result-failed,
  .atemp-theme .candidates-page .candidate-compact-table tbody tr.is-result-failed:hover { background: #fff; }
  .atemp-theme .candidates-page .candidate-compact-table tbody tr.is-result-failed { box-shadow: inset 3px 0 0 #ef4444; }
  .atemp-theme .candidates-page .candidate-compact-table tbody td { border-bottom-color: #dfe6ed; }
  .atemp-theme .candidates-page .candidate-status.is-pending,
  .atemp-theme .candidates-page .candidate-status.is-processing {
    border: 1px solid #cbd9e6;
    background: #edf3f8;
    color: #365673;
  }
  .atemp-theme .candidates-page .candidate-interview-review.is-pending {
    background: #edf3f8;
    color: #365673;
  }
  .atemp-theme .candidates-page .candidate-action-stack .btn-warning {
    border-color: #9fb3c5;
    background: #fff;
    color: #294a68;
  }
  .atemp-theme .candidates-page .candidate-action-stack .btn-warning:hover,
  .atemp-theme .candidates-page .candidate-action-stack .btn-outline-primary:hover {
    border-color: #294a68;
    background: #172033;
    color: #fff;
  }
  .atemp-theme .candidates-page .candidate-action-stack .btn-outline-primary { border-color: #9fb3c5; color: #294a68; }
}

/* Stronger desktop contrast for the Candidates workspace. */
@media (min-width: 769px) {
  .atemp-theme .candidates-page { color: #1d3044; }
  .atemp-theme .candidates-page .profile-head {
    border-color: #bdcad6;
    border-left-color: #3b82f6;
    background: #fff;
    box-shadow: 0 3px 12px rgba(15,35,55,.09);
  }
  .atemp-theme .candidates-page .profile-head h1 { color: #172b40; }
  .atemp-theme .candidates-page .profile-head p { color: #566b7f; }
  .atemp-theme .candidates-page .permission-stats > div {
    border-color: #bdcad6;
    background: #fff;
    box-shadow: 0 2px 8px rgba(15,35,55,.08);
  }
  .atemp-theme .candidates-page .permission-stats > div::before { background: #dfeaf4; color: #203f5d; }
  .atemp-theme .candidates-page .permission-stats span { color: #172b40; }
  .atemp-theme .candidates-page .permission-stats p { color: #53697e; }
  .atemp-theme .candidates-page .candidate-filter-card {
    border-color: #b9c7d4;
    border-top-color: #3b82f6;
    background: #f8fafc;
    box-shadow: 0 3px 12px rgba(15,35,55,.08);
  }
  .atemp-theme .candidates-page .candidate-filter-card .form-label { color: #314a61; }
  .atemp-theme .candidates-page .candidate-filter-card .form-control,
  .atemp-theme .candidates-page .candidate-filter-card .form-select {
    border-color: #aebdca;
    background-color: #fff;
    color: #20364a;
  }
  .atemp-theme .candidates-page .candidate-filter-card .form-control::placeholder { color: #788a9b; }
  .atemp-theme .candidates-page .candidate-list-card { border-color: #b7c5d1; box-shadow: 0 4px 16px rgba(15,35,55,.1); }
  .atemp-theme .candidates-page .candidate-table-head { background: #eef3f7; }
  .atemp-theme .candidates-page .candidate-table-head h2 { color: #172b40; }
  .atemp-theme .candidates-page .candidate-table-head p { color: #52687c !important; }
  .atemp-theme .candidates-page .old-assign-panel {
    border-color: #b9c8d5;
    border-left-color: #3b82f6;
    background: #eaf1f7;
  }
  .atemp-theme .candidates-page .old-assign-panel .form-select { border-color: #9fb1c1; background-color: #fff; color: #233b51; }
  .atemp-theme .candidates-page .candidate-compact-wrap { border-color: #9fb0bf; }
  .atemp-theme .candidates-page .candidate-compact-table thead th { background: #203f5d; }
  .atemp-theme .candidates-page .candidate-compact-table tbody tr:nth-child(even) { background: #f1f5f8; }
  .atemp-theme .candidates-page .candidate-compact-table tbody tr:hover { background: #dfeefa; }
  .atemp-theme .candidates-page .candidate-compact-table tbody td { border-bottom-color: #ccd7e0; color: #20364a; }
  .atemp-theme .candidates-page .candidate-mini-person strong { color: #123452; }
  .atemp-theme .candidates-page .candidate-pagination { border-color: #b9c7d3; background: #edf3f7; }
  .atemp-theme .candidates-page .pagination .page-link { border-color: #aebdca; color: #29465f; }
  .atemp-theme .candidates-page .pagination .page-item.active .page-link { border-color: #203f5d; background: #203f5d; }
  .atemp-theme .candidate-app-modal .app-modal-dialog { box-shadow: 0 22px 65px rgba(3,16,29,.42); }
  .atemp-theme .candidate-modal-table-wrap { border-color: #b5c4d0; }
  .atemp-theme .candidate-modal-table th { background: #e7eef4; color: #344f67; }
  .atemp-theme .candidate-modal-table td { color: #1f374d; }
}

/* Candidate table/modal color and balance refinements. */
@media (min-width: 769px) {
  .atemp-theme .candidates-page .candidate-compact-table thead th {
    border-right-color: rgba(255,255,255,.12);
    background: #294a68;
    color: #f8fbff;
  }
  .atemp-theme .candidates-page .candidate-compact-table tbody tr:nth-child(even) { background: #fff; }
  .atemp-theme .candidates-page .candidate-compact-table tbody tr:hover { background: #f1f6fb; box-shadow: inset 3px 0 0 #3b82f6; }
  .atemp-theme .candidates-page .candidate-compact-table tbody tr.is-result-failed,
  .atemp-theme .candidates-page .candidate-compact-table tbody tr.is-result-failed:hover { background: #fff; }
}
.atemp-theme .candidate-app-modal .app-modal-dialog {
  border-top-color: #4b83b1;
  border-radius: 5px;
  background: #fff;
}
.atemp-theme .candidate-modal-hero {
  padding: 12px 14px;
  background: linear-gradient(180deg, #fff 0%, #f8fbfd 100%);
}
.atemp-theme .candidate-modal-hero .candidate-card-avatar {
  border: 1px solid #cfe0ef;
  background: #e9f2f9;
  color: #294a68;
}
.atemp-theme .candidate-modal-hero h2 { color: #20364a; font-size: 17px; }
.atemp-theme .candidate-modal-status { padding: 10px 14px 2px; }
.atemp-theme .candidate-modal-status .candidate-status { padding: 4px 8px; border-radius: 12px; font-size: 10px !important; }
.atemp-theme .candidate-modal-grid { gap: 6px; padding: 10px 14px 14px; }
.atemp-theme .candidate-modal-grid > div {
  min-height: 55px;
  padding: 8px 9px;
  border-color: #d8e2eb;
  border-radius: 3px;
  background: #f8fafc;
}
.atemp-theme .candidate-modal-grid > div:hover { border-color: #b8cddd; background: #f3f8fc; }
.atemp-theme .candidate-modal-grid span { color: #5f7488; font-size: 8px; font-weight: 700; letter-spacing: .04em; }
.atemp-theme .candidate-modal-grid strong { color: #223b52; font-size: 11px; font-weight: 700; }
.atemp-theme .candidate-modal-grid em { margin-top: 2px; color: #728395; }
.atemp-theme .candidate-modal-table-wrap { margin: 10px 14px 14px; overflow: hidden; border: 1px solid #d8e2eb; border-radius: 3px; }
.atemp-theme .candidate-modal-table { width: 100%; border-collapse: collapse; background: #fff; }
.atemp-theme .candidate-modal-table th,
.atemp-theme .candidate-modal-table td { padding: 7px 9px; border-bottom: 1px solid #e4eaf0; font-size: 11px; line-height: 1.3; vertical-align: top; }
.atemp-theme .candidate-modal-table tr:last-child th,
.atemp-theme .candidate-modal-table tr:last-child td { border-bottom: 0; }
.atemp-theme .candidate-modal-table th { width: 36%; background: #e7eef4; color: #344f67; font-size: 9px; font-weight: 700; letter-spacing: .03em; text-align: left; text-transform: uppercase; }
.atemp-theme .candidate-modal-table td { background: #fff; color: #1f374d; overflow-wrap: anywhere; }
.atemp-theme .candidate-modal-table td strong,
.atemp-theme .candidate-modal-table td small { display: block; }
.atemp-theme .candidate-modal-table td strong { font-size: 11px; }
.atemp-theme .candidate-modal-table td small { margin-top: 2px; color: #768798; font-size: 9px; }
.atemp-theme .candidate-modal-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 7px;
  padding: 9px 14px;
  background: #f8fafc;
}
.atemp-theme .candidate-modal-actions > *,
.atemp-theme .candidate-modal-actions form,
.atemp-theme .candidate-modal-actions .btn { width: 100%; min-width: 0; }
.atemp-theme .candidate-modal-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 36px; border-radius: 3px; }
.atemp-theme .candidate-modal-actions .btn-primary { border-color: #294a68; background: #294a68; }
.atemp-theme .candidate-modal-actions .btn-warning { border-color: #d2a529; background: #fff4cf; color: #745400; }
.atemp-theme .candidate-modal-actions .btn-outline-success { border-color: #66a881; background: #fff; color: #287446; }

@media (max-width: 768px) {
  .atemp-theme .candidate-app-modal .app-modal-dialog { border-radius: 10px 10px 0 0 !important; }
  .atemp-theme .candidate-modal-grid > div { min-height: 52px; }
  .atemp-theme .candidate-modal-actions { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .atemp-theme .candidate-modal-actions > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Natural table flow and complete pagination. */
.atemp-theme .candidates-page .candidate-compact-wrap {
  max-height: none;
  min-height: 0;
  overflow: visible;
}
.atemp-theme .candidates-page .candidate-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding: 9px 10px;
  border: 1px solid #d8e2eb;
  border-radius: 4px;
  background: #f8fafc;
}
.atemp-theme .candidates-page .candidate-page-summary { display: flex; align-items: baseline; gap: 5px; color: #64748b; font-size: 10px; }
.atemp-theme .candidates-page .candidate-page-summary strong { color: #24364a; font-size: 12px; }
.atemp-theme .candidates-page .pagination { display: flex; align-items: center; gap: 3px; }
.atemp-theme .candidates-page .pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 30px;
  height: 30px;
  padding: 4px 8px;
  border: 1px solid #d3dde6;
  border-radius: 3px;
  background: #fff;
  color: #42566b;
  font-size: 10px;
  font-weight: 600;
  box-shadow: none;
}
.atemp-theme .candidates-page .pagination .page-link:hover { border-color: #8eb5e8; background: #eff6ff; color: #24558f; }
.atemp-theme .candidates-page .pagination .page-item.active .page-link { border-color: #17263a; background: #17263a; color: #fff; }
.atemp-theme .candidates-page .pagination .page-item.disabled .page-link { background: #f1f5f9; color: #a3afbb; pointer-events: none; }

@media (max-width: 768px) {
  .atemp-theme .candidates-page .candidate-compact-wrap { overflow: visible !important; }
  .atemp-theme .candidates-page .candidate-pagination { align-items: center; flex-direction: column; margin-top: 8px; padding: 8px; }
  .atemp-theme .candidates-page .pagination { max-width: 100%; }
  .atemp-theme .candidates-page .pagination .page-link { min-width: 34px; height: 34px; padding: 4px 7px; }
  .atemp-theme .candidates-page .pagination .page-link span { display: none; }
}

/* Dense single-line candidate rows. */
@media (min-width: 769px) {
  .atemp-theme .candidates-page .candidate-compact-table th:nth-child(1) { width: 88px; }
  .atemp-theme .candidates-page .candidate-compact-table th:nth-child(2) { width: 18%; }
  .atemp-theme .candidates-page .candidate-compact-table th:nth-child(3) { width: 15%; }
  .atemp-theme .candidates-page .candidate-compact-table th:nth-child(4) { width: 20%; }
  .atemp-theme .candidates-page .candidate-compact-table th:nth-child(6) { width: 136px; }
  .atemp-theme .candidates-page .candidate-compact-table tbody td {
    height: 44px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 12px;
    white-space: nowrap;
  }
  .atemp-theme .candidates-page .candidate-mini-person { gap: 6px; }
  .atemp-theme .candidates-page .candidate-mini-person > span { flex-basis: 30px; width: 30px; height: 30px; font-size: 11px; }
  .atemp-theme .candidates-page .candidate-mini-person > div {
    display: flex;
    align-items: baseline;
    gap: 5px;
    overflow: hidden;
  }
  .atemp-theme .candidates-page .candidate-mini-person strong,
  .atemp-theme .candidates-page .candidate-mini-person small { display: inline; margin: 0; }
  .atemp-theme .candidates-page .candidate-mini-person strong,
  .atemp-theme .candidates-page .candidate-compact-table td > strong { font-size: 12px; }
  .atemp-theme .candidates-page .candidate-mini-person small,
  .atemp-theme .candidates-page .candidate-compact-table td > span:not(.candidate-status) { font-size: 10px; }
  .atemp-theme .candidates-page .candidate-mini-person small::before { color: #94a3b8; content: "· "; }
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Profile"],
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Contact"],
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Status"] { overflow: hidden; text-overflow: ellipsis; }
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Profile"] > strong,
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Profile"] > span,
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Contact"] > strong,
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Contact"] > span,
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Status"] > span {
    display: inline !important;
    margin: 0 !important;
    vertical-align: middle;
  }
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Profile"] > span::before,
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Contact"] > span::before,
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Status"] > span:not(:first-child)::before { color: #94a3b8; content: " · "; }
  .atemp-theme .candidates-page .candidate-compact-table .candidate-status { display: inline-flex !important; margin: 0 4px 0 0 !important; padding: 3px 6px; }
  .atemp-theme .candidates-page .candidate-compact-table .candidate-current-step,
  .atemp-theme .candidates-page .candidate-compact-table .candidate-interview-review {
    display: inline !important;
    max-width: none;
    margin: 0 !important;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
  }
  .atemp-theme .candidates-page .candidate-compact-table .candidate-interview-review { padding: 2px 5px; border-radius: 9px; }
  .atemp-theme .candidates-page .candidate-action-stack .btn { min-height: 27px; padding: 3px 6px; }
  .atemp-theme .candidates-page .candidate-action-stack .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    min-width: 30px;
    height: 30px;
    padding: 0;
    font-size: 14px;
  }
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Select"] .text-muted { font-size: 9px !important; }
}

@media (min-width: 769px) {
  .atemp-theme .candidates-page .candidate-compact-table tbody td { color: #111827; font-size: 13px; }
  .atemp-theme .candidates-page .candidate-mini-person strong,
  .atemp-theme .candidates-page .candidate-compact-table td > strong { color: #111827; font-size: 13px; }
  .atemp-theme .candidates-page .candidate-mini-person small,
  .atemp-theme .candidates-page .candidate-compact-table td > span:not(.candidate-status) { color: #111827; font-size: 11px; }
  .atemp-theme .candidates-page .candidate-current-step,
  .atemp-theme .candidates-page .candidate-interview-review { color: #111827; font-size: 10px !important; }
  .atemp-theme .candidates-page .candidate-status { font-size: 10px !important; }
  .atemp-theme .candidates-page .candidate-action-stack .btn { font-size: 15px; }
  .atemp-theme .candidates-page .candidate-compact-table thead th { color: #fff !important; font-size: 10px; }
}

@media (max-width: 768px) {
  .atemp-theme .candidates-page .candidate-compact-table tr { gap: 0 4px !important; padding: 6px !important; }
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Candidate"] { padding-right: 46px !important; }
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Profile"],
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Contact"] { margin-top: 4px; padding: 4px !important; }
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Status"] { margin-top: 4px; padding-top: 4px !important; }
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Action"] { margin-top: 4px; }
  body.candidate-filters-open { overflow: hidden; }
  .atemp-theme .candidate-filter-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
  .atemp-theme .candidate-filter-toggle span { display: none; }
  .atemp-theme .candidates-page .profile-head > .d-flex { grid-template-columns: 38px minmax(0,1fr) minmax(0,1fr) !important; }
  .atemp-theme .candidate-filter-backdrop {
    position: fixed;
    inset: 48px 0 calc(64px + env(safe-area-inset-bottom));
    z-index: 2070;
    border: 0;
    background: rgba(2,8,18,.55);
  }
  .atemp-theme .candidates-page.filters-open .candidate-filter-backdrop { display: block; }
  .atemp-theme .candidates-page .candidate-filter-card {
    position: fixed !important;
    top: 48px;
    right: 0;
    bottom: calc(64px + env(safe-area-inset-bottom));
    z-index: 2080;
    display: flex;
    width: min(340px, 90vw);
    margin: 0 !important;
    overflow: hidden;
    border: 0 !important;
    border-left: 1px solid #cbd5df !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: -12px 0 35px rgba(2,8,18,.2) !important;
    transform: translateX(105%);
    transition: transform .22s ease;
  }
  .atemp-theme .candidates-page.filters-open .candidate-filter-card { transform: translateX(0); }
  .atemp-theme .candidate-filter-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    padding: 8px 10px;
    border-bottom: 1px solid #dbe3ea;
    background: #f8fafc;
  }
  .atemp-theme .candidate-filter-drawer-head > div { display: flex; align-items: center; gap: 7px; color: #172033; }
  .atemp-theme .candidate-filter-drawer-head .btn { width: 34px; height: 34px; padding: 0; }
  .atemp-theme .candidates-page .candidate-filter-card .card-body { flex: 1; overflow-y: auto; padding: 10px; }
  .atemp-theme .candidates-page .candidate-filter-card form.row { grid-template-columns: 1fr !important; }
  .atemp-theme .candidates-page .candidate-filter-card form.row > * { grid-column: 1 !important; }
  .atemp-theme .candidates-page .candidate-filter-card form.row > :last-child { margin-top: 4px; }
  .atemp-theme .candidates-page .candidate-filter-card #liveAssignForm { margin-top: 10px; padding-top: 10px; border-top: 1px solid #dbe3ea; }
  .atemp-theme .candidates-page .candidate-filter-card #liveAssignForm::before {
    display: block;
    margin-bottom: 7px;
    color: #172033;
    font-size: 11px;
    font-weight: 700;
    content: "Assign candidates";
  }
  .atemp-theme .candidates-page .candidate-filter-card .old-assign-panel { grid-template-columns: 1fr !important; margin: 0; padding: 0 !important; border: 0; background: transparent; }
  .atemp-theme .candidates-page .candidate-filter-card .old-assign-panel > * { grid-column: 1 !important; }
}

/* Final compact mobile candidate cards. */
@media (max-width: 768px) {
  .atemp-theme .candidates-page .candidate-compact-table tr {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    padding: 7px !important;
  }
  .atemp-theme .candidates-page .candidate-compact-table td { grid-column: 1 !important; min-width: 0; }
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Candidate"] { min-height: 38px; padding: 0 46px 6px 0 !important; border-bottom: 1px solid #e4eaf0 !important; }
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Profile"],
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Contact"] {
    display: grid !important;
    grid-template-columns: 58px minmax(0,1fr);
    gap: 5px;
    align-items: start;
    margin: 0;
    padding: 6px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #edf1f5 !important;
    background: #fff !important;
  }
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Profile"]::before,
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Contact"]::before { margin: 2px 0 0; }
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Status"] {
    margin: 0;
    padding: 6px 0 !important;
    border-top: 0 !important;
    border-bottom: 1px solid #edf1f5 !important;
  }
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Status"]::before { margin-bottom: 4px; }
  .atemp-theme .candidates-page .candidate-compact-table td[data-label="Action"] { margin: 0; padding-top: 6px !important; }
  .atemp-theme .candidates-page .candidate-action-stack .btn-warning,
  .atemp-theme .candidates-page .candidate-action-stack .btn-outline-primary {
    border-color: #9fb3c5 !important;
    background: #fff !important;
    color: #294a68 !important;
  }
}

/* Reassignment register. */
.atemp-theme .assignment-change-page .page-header {
  min-height: 76px; margin-bottom: 9px !important; padding: 12px 14px !important;
  border: 1px solid #afbfce !important; border-left: 4px solid #2563eb !important; border-radius: 4px !important;
  background: linear-gradient(110deg,#fff,#edf3f8) !important; box-shadow: 0 2px 7px rgba(15,23,42,.06) !important;
}
.atemp-theme .assignment-change-page .page-header h1 { color: #101f33; font-size: 20px !important; font-weight: 750; }
.atemp-theme .assignment-change-page .page-header p { color: #526174 !important; font-size: 10px; }
.atemp-theme .assignment-change-page .page-header .text-primary { color: #2563eb !important; font-size: 9px !important; letter-spacing: .08em; }
.atemp-theme .assignment-change-actions { gap: 5px; }
.atemp-theme .assignment-change-actions .btn,
.atemp-theme .assignment-change-actions .badge { min-height: 32px; padding: 5px 8px; border: 1px solid #adbdca; border-radius: 3px; background: #fff !important; color: #173b61 !important; font-size: 9px; font-weight: 700; }
.atemp-theme .assignment-change-filter { gap: 7px; margin-bottom: 9px; padding: 9px; border: 1px solid #afbfce; border-top: 3px solid #315d85; border-radius: 4px; background: #fff; }
.atemp-theme .assignment-change-filter .form-label { margin-bottom: 3px; color: #405167; font-size: 8px; font-weight: 800; }
.atemp-theme .assignment-change-filter .form-control,
.atemp-theme .assignment-change-filter .form-select,
.atemp-theme .assignment-transfer-controls .form-select { min-height: 36px; border-color: #a9bac9; border-radius: 2px; color: #111827; font-size: 10px; font-weight: 600; }
.atemp-theme .assignment-change-filter > button { min-height: 36px; border-radius: 2px; font-size: 10px; }
.atemp-theme .assignment-bulk-transfer-card { gap: 8px; }
.atemp-theme .assignment-transfer-bar { padding: 8px 10px; border: 1px solid #afbfce; border-left: 3px solid #2563eb; border-radius: 3px; background: #eaf1f7; }
.atemp-theme .assignment-transfer-bar span { color: #526174; font-size: 8px; }
.atemp-theme .assignment-transfer-bar strong { color: #10243c; font-size: 12px; }
.atemp-theme .assignment-transfer-bar small { font-size: 9px; }
.atemp-theme .assignment-transfer-controls { grid-template-columns: minmax(200px,320px) auto; min-width: 0; }
.atemp-theme .assignment-transfer-controls .btn { min-height: 36px; border-radius: 2px; font-size: 10px; }
.atemp-theme .assignment-change-table-card { overflow: visible; border: 1px solid #9fb2c2; border-radius: 3px; }
.atemp-theme .assignment-change-table { table-layout: fixed; color: #172033; font-size: 10px; }
.atemp-theme .assignment-change-table th { height: 38px; padding: 7px 8px; border-color: #41617f; background: #173b61; color: #fff; font-size: 8px; letter-spacing: .05em; }
.atemp-theme .assignment-change-table th:first-child { width: 43px; }
.atemp-theme .assignment-change-table th:nth-child(2) { width: 27%; }
.atemp-theme .assignment-change-table th:nth-child(3) { width: 22%; }
.atemp-theme .assignment-change-table th:nth-child(4) { width: 23%; }
.atemp-theme .assignment-change-table td { padding: 7px 8px; border-color: #d7e0e7; background: #fff; color: #172033; font-size: 10px; line-height: 1.3; }
.atemp-theme .assignment-change-table tbody tr:nth-child(even) td { background: #f6f9fb; }
.atemp-theme .assignment-change-table tbody tr:hover td { background: #edf5fb; }
.atemp-theme .assignment-change-table td strong { color: #122e4d; font-size: 10px; font-weight: 750; }
.atemp-theme .assignment-change-table td span,
.atemp-theme .assignment-change-table td em,
.atemp-theme .assignment-current-stack span { color: #5d6e82; font-size: 8px; font-weight: 600; line-height: 1.35; }
.atemp-theme .assignment-change-table td[data-label="Candidate"] em:last-child { margin-top: 2px; padding-top: 2px; border-top: 1px dashed #d4dee6; }
.atemp-theme .assignment-current-stack { min-width: 0; gap: 2px; }

@media (max-width: 768px) {
  .atemp-theme .assignment-change-page .page-header { min-height: 0; padding: 9px !important; gap: 6px !important; }
  .atemp-theme .assignment-change-page .page-header h1 { font-size: 16px !important; }
  .atemp-theme .assignment-change-page .page-header p { display: none; }
  .atemp-theme .assignment-change-actions { width: auto; flex-wrap: nowrap; }
  .atemp-theme .assignment-change-actions .btn { width: 32px; min-width: 32px; padding: 0; flex: 0 0 32px; font-size: 0; }
  .atemp-theme .assignment-change-actions .btn i { margin: 0; font-size: 14px; }
  .atemp-theme .assignment-change-actions .badge { flex: 0 0 auto; }
  .atemp-theme .assignment-change-filter,
  .atemp-theme .assignment-partner-filter { display: grid; grid-template-columns: 1fr 1fr !important; gap: 5px; padding: 7px; }
  .atemp-theme .assignment-change-filter > div { grid-column: auto !important; }
  .atemp-theme .assignment-change-filter > div:first-child,
  .atemp-theme .assignment-change-filter > div:last-of-type,
  .atemp-theme .assignment-change-filter > button { grid-column: 1/-1 !important; }
  .atemp-theme .assignment-change-filter .form-label { display: none; }
  .atemp-theme .assignment-change-filter .form-control,
  .atemp-theme .assignment-change-filter .form-select { min-height: 38px; font-size: 10px; }
  .atemp-theme .assignment-transfer-bar { align-items: stretch; padding: 7px; }
  .atemp-theme .assignment-transfer-controls { grid-template-columns: 1fr 42px; gap: 5px; }
  .atemp-theme .assignment-transfer-controls .btn { width: 42px; min-width: 42px; padding: 0; font-size: 0; }
  .atemp-theme .assignment-transfer-controls .btn i { margin: 0; font-size: 15px; }
  .atemp-theme .assignment-change-table-card { overflow: visible; border: 0; background: transparent; }
  .atemp-theme .assignment-change-table,
  .atemp-theme .assignment-change-table tbody { display: block; width: 100%; }
  .atemp-theme .assignment-change-table thead { display: none; }
  .atemp-theme .assignment-change-table tr { position: relative; display: grid; grid-template-columns: 90px minmax(0,1fr); gap: 0 7px; margin-bottom: 6px; padding: 7px; border: 1px solid #aebfce; border-top: 3px solid #315d85; border-radius: 3px; background: #fff; box-shadow: 0 2px 6px rgba(15,23,42,.06); }
  .atemp-theme .assignment-change-table td { display: block; width: auto !important; min-width: 0; padding: 5px 0; border: 0; border-bottom: 1px solid #e0e7ed; background: #fff !important; overflow-wrap: anywhere; }
  .atemp-theme .assignment-change-table td::before { display: block; margin-bottom: 2px; color: #607185; font-size: 7px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; content: attr(data-label); }
  .atemp-theme .assignment-change-table td[data-label="Select"] { position: absolute; top: 6px; right: 7px; z-index: 2; padding: 3px; border: 0; }
  .atemp-theme .assignment-change-table td[data-label="Select"]::before { display: none; }
  .atemp-theme .assignment-change-table td[data-label="Candidate"] { grid-column: 1/-1; padding: 0 35px 6px 0; }
  .atemp-theme .assignment-change-table td[data-label="Candidate"]::before { display: none; }
  .atemp-theme .assignment-change-table td[data-label="Profile"] { grid-column: 1/-1; }
  .atemp-theme .assignment-change-table td[data-label^="Current"] { grid-column: 1; border-bottom: 0; }
  .atemp-theme .assignment-change-table td[data-label="Contact"] { grid-column: 2; border-bottom: 0; }
  .atemp-theme .assignment-change-table td[data-label="Contact"] em { overflow-wrap: anywhere; }
  .atemp-theme .assignment-change-table td strong { font-size: 10px; }
  .atemp-theme .assignment-change-table td span,
  .atemp-theme .assignment-change-table td em { font-size: 8px; }
}

/* Live candidate reports. */
.atemp-theme .reports-live-page { color: #172033; }
.atemp-theme .reports-live-page .reports-page-head { display: flex; min-height: 76px; margin-bottom: 9px !important; padding: 12px 14px; align-items: center; justify-content: space-between; border: 1px solid #afbfce; border-left: 4px solid #2563eb; border-radius: 4px; background: linear-gradient(110deg,#fff,#edf3f8); box-shadow: 0 2px 7px rgba(15,23,42,.06); }
.atemp-theme .reports-live-page .reports-page-head h1 { margin: 2px 0 1px; color: #101f33; font-size: 20px; font-weight: 750; }
.atemp-theme .reports-live-page .reports-page-head p { margin: 0; color: #526174; font-size: 10px; }
.atemp-theme .reports-kicker { color: #2563eb; font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.atemp-theme .reports-updated { display: inline-flex; min-height: 31px; padding: 5px 9px; align-items: center; gap: 5px; border: 1px solid #b4c4d1; border-radius: 3px; background: #fff; color: #526174; font-size: 9px; font-weight: 700; }
.atemp-theme .reports-live-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin-bottom: 9px; }
.atemp-theme .reports-live-stats article { display: flex; min-height: 72px; padding: 9px 10px; align-items: center; gap: 9px; border: 1px solid #b5c5d2; border-radius: 3px; background: #fff; box-shadow: 0 2px 6px rgba(15,23,42,.05); }
.atemp-theme .reports-live-stats article > i { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border-radius: 3px; background: #173b61; color: #fff; font-size: 18px; }
.atemp-theme .reports-live-stats article:nth-child(2) > i { background: #17603b; }
.atemp-theme .reports-live-stats article:nth-child(3) > i { background: #315d85; }
.atemp-theme .reports-live-stats article:nth-child(4) > i { background: #7a4c17; }
.atemp-theme .reports-live-stats article div { display: flex; min-width: 0; flex-direction: column; }
.atemp-theme .reports-live-stats span { color: #5f7185; font-size: 9px; font-weight: 700; }
.atemp-theme .reports-live-stats strong { color: #111827; font-size: 19px; line-height: 1.1; }
.atemp-theme .reports-live-stats small { color: #5f7185; font-size: 8px; }
.atemp-theme .reports-live-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(300px,.9fr); gap: 9px; margin-bottom: 9px; }
.atemp-theme .reports-live-card { overflow: hidden; border: 1px solid #afbfce; border-radius: 4px; background: #fff; box-shadow: 0 2px 7px rgba(15,23,42,.05); }
.atemp-theme .reports-card-head { display: flex; min-height: 51px; padding: 8px 10px; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid #c7d3dc; background: #edf3f8; }
.atemp-theme .reports-card-head h2 { margin: 0; color: #10243c; font-size: 13px; font-weight: 750; }
.atemp-theme .reports-card-head p { margin: 1px 0 0; color: #68798c; font-size: 8px; }
.atemp-theme .reports-card-head > span,
.atemp-theme .reports-card-head > a { padding: 4px 7px; border: 1px solid #b5c5d2; border-radius: 2px; background: #fff; color: #214d75; font-size: 8px; font-weight: 700; text-decoration: none; }
.atemp-theme .reports-chart { min-height: 270px; padding: 3px 7px 0; }
.atemp-theme .reports-profile-list { padding: 5px 9px; }
.atemp-theme .reports-profile-list article { display: flex; padding: 7px 0; align-items: flex-start; gap: 7px; border-bottom: 1px solid #e0e7ed; }
.atemp-theme .reports-profile-list article:last-child { border-bottom: 0; }
.atemp-theme .reports-profile-rank { display: grid; width: 23px; height: 23px; flex: 0 0 23px; place-items: center; border-radius: 2px; background: #173b61; color: #fff; font-size: 8px; font-weight: 750; }
.atemp-theme .reports-profile-data { min-width: 0; flex: 1; }
.atemp-theme .reports-profile-data > div:first-child { display: flex; justify-content: space-between; gap: 6px; }
.atemp-theme .reports-profile-data strong { overflow: hidden; color: #172033; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.atemp-theme .reports-profile-data b { color: #173b61; font-size: 9px; }
.atemp-theme .reports-profile-track { height: 3px; margin: 4px 0; overflow: hidden; background: #dfe7ed; }
.atemp-theme .reports-profile-track span { display: block; height: 100%; background: #2563eb; }
.atemp-theme .reports-profile-data small { display: block; color: #68798c; font-size: 7px; }
.atemp-theme .reports-recent-list article { display: grid; grid-template-columns: 32px minmax(140px,1.2fr) minmax(180px,1fr) 90px 130px; min-height: 48px; padding: 7px 10px; align-items: center; gap: 8px; border-bottom: 1px solid #dbe3ea; }
.atemp-theme .reports-recent-list article:nth-child(even) { background: #f7f9fb; }
.atemp-theme .reports-candidate-avatar { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid #b7caDC; border-radius: 50%; background: #e7f1fb; color: #19538c; font-size: 9px; font-weight: 750; }
.atemp-theme .reports-candidate-name,
.atemp-theme .reports-candidate-profile,
.atemp-theme .reports-candidate-status { display: flex; min-width: 0; flex-direction: column; }
.atemp-theme .reports-candidate-name strong,
.atemp-theme .reports-candidate-profile strong { overflow: hidden; color: #172033; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.atemp-theme .reports-candidate-name small,
.atemp-theme .reports-candidate-profile > span,
.atemp-theme .reports-candidate-status small,
.atemp-theme .reports-recent-list time { color: #68798c; font-size: 7px; }
.atemp-theme .reports-candidate-status > span { align-self: flex-start; padding: 2px 5px; border-radius: 10px; font-size: 7px; font-weight: 750; }
.atemp-theme .reports-candidate-status .is-success { background: #dcf5e6; color: #17603b; }
.atemp-theme .reports-candidate-status .is-pending { background: #fff0d6; color: #8a5412; }
.atemp-theme .reports-empty { padding: 25px; color: #68798c; font-size: 10px; text-align: center; }

@media (max-width: 768px) {
  .atemp-theme .reports-live-page .reports-page-head { min-height: 0; padding: 9px; }
  .atemp-theme .reports-live-page .reports-page-head h1 { font-size: 17px; }
  .atemp-theme .reports-live-page .reports-page-head p { display: none; }
  .atemp-theme .reports-updated span { display: none; }
  .atemp-theme .reports-updated { min-width: 30px; padding: 5px; justify-content: center; }
  .atemp-theme .reports-live-stats { grid-template-columns: 1fr 1fr; gap: 5px; }
  .atemp-theme .reports-live-stats article { min-height: 60px; padding: 6px; gap: 6px; }
  .atemp-theme .reports-live-stats article > i { width: 29px; height: 29px; flex-basis: 29px; font-size: 14px; }
  .atemp-theme .reports-live-stats span { font-size: 7px; }
  .atemp-theme .reports-live-stats strong { font-size: 14px; }
  .atemp-theme .reports-live-stats small { font-size: 7px; }
  .atemp-theme .reports-live-grid { grid-template-columns: 1fr; gap: 7px; }
  .atemp-theme .reports-chart { min-height: 225px; padding: 0; }
  .atemp-theme .reports-recent-list { padding: 6px; }
  .atemp-theme .reports-recent-list article { position: relative; grid-template-columns: 31px minmax(0,1fr) auto; min-height: 65px; margin-bottom: 5px; padding: 7px; gap: 5px 7px; border: 1px solid #bcc9d4; border-left: 3px solid #315d85; border-radius: 3px; background: #fff !important; }
  .atemp-theme .reports-candidate-avatar { grid-row: 1; grid-column: 1; }
  .atemp-theme .reports-candidate-name { grid-row: 1; grid-column: 2; }
  .atemp-theme .reports-candidate-status { grid-row: 1; grid-column: 3; align-items: flex-end; }
  .atemp-theme .reports-candidate-profile { grid-row: 2; grid-column: 1/3; padding-top: 4px; border-top: 1px solid #e0e7ed; }
  .atemp-theme .reports-recent-list time { grid-row: 2; grid-column: 3; padding-top: 4px; border-top: 1px solid #e0e7ed; text-align: right; }
  .atemp-theme .reports-candidate-name strong,
  .atemp-theme .reports-candidate-profile strong { white-space: normal; overflow-wrap: anywhere; }
}

/* Account profile workspace. */
.atemp-theme .account-profile-page { color: #172033; }
.atemp-theme .account-profile-page > .profile-head { min-height: 76px; margin: 0 0 10px !important; padding: 12px 14px !important; border: 1px solid #afbfce !important; border-left: 4px solid #2563eb !important; border-radius: 4px !important; background: linear-gradient(110deg,#fff,#edf3f8) !important; box-shadow: 0 2px 7px rgba(15,23,42,.06) !important; }
.atemp-theme .account-profile-page > .profile-head h1 { margin: 2px 0 1px; color: #101f33 !important; font-size: 20px !important; font-weight: 750; }
.atemp-theme .account-profile-page > .profile-head p { color: #526174 !important; font-size: 10px !important; }
.atemp-theme .account-profile-page > .profile-head .permission-eyebrow { color: #2563eb !important; font-size: 9px !important; font-weight: 800; letter-spacing: .07em; }
.atemp-theme .account-profile-page > .profile-head .badge { min-height: 29px; padding: 5px 8px !important; border: 1px solid #b5c5d2; border-radius: 3px; background: #fff !important; color: #173b61 !important; font-size: 9px; }
.atemp-theme .account-profile-page > .row { --bs-gutter-x: 10px; --bs-gutter-y: 10px; }
.atemp-theme .account-profile-page > .row > .col-xl-4 { position: sticky; top: 58px; align-self: flex-start; }
.atemp-theme .account-profile-page .card { border: 1px solid #afbfce !important; border-radius: 4px !important; background: #fff; box-shadow: 0 2px 7px rgba(15,23,42,.055) !important; }
.atemp-theme .account-profile-page .col-xl-4 .card { margin-bottom: 9px !important; }
.atemp-theme .account-profile-page .col-xl-4 .card-body { padding: 11px !important; }
.atemp-theme .account-profile-page .profile-card { overflow: hidden; border-top: 3px solid #315d85 !important; }
.atemp-theme .account-profile-page .profile-card .card-body { background: linear-gradient(180deg,#edf3f8 0,#fff 58%); }
.atemp-theme .account-profile-page .profile-photo-preview,
.atemp-theme .account-profile-page .profile-avatar { width: 66px !important; height: 66px !important; margin-bottom: 8px !important; border: 3px solid #fff !important; border-radius: 50% !important; box-shadow: 0 0 0 1px #aebfce; }
.atemp-theme .account-profile-page .profile-avatar { display: grid; place-items: center; background: #173b61 !important; color: #fff !important; font-size: 22px !important; font-weight: 750; }
.atemp-theme .account-profile-page .profile-card h2 { color: #10243c; font-size: 14px !important; font-weight: 750; }
.atemp-theme .account-profile-page .profile-card p { overflow-wrap: anywhere; color: #5f7185 !important; font-size: 9px; }
.atemp-theme .account-profile-page .profile-progress { height: 5px; overflow: hidden; border-radius: 0; background: #dce5ec; }
.atemp-theme .account-profile-page .profile-progress > div { height: 100%; background: #2563eb; }
.atemp-theme .account-profile-page .col-xl-4 .card h2.h6 { margin-bottom: 7px !important; color: #10243c; font-size: 11px; font-weight: 750; }
.atemp-theme .account-profile-page .profile-info-row { display: grid; grid-template-columns: 90px minmax(0,1fr); gap: 6px; padding: 6px 0; border-bottom: 1px solid #e0e7ed; font-size: 9px; }
.atemp-theme .account-profile-page .profile-info-row span { color: #68798c; }
.atemp-theme .account-profile-page .profile-info-row strong { overflow-wrap: anywhere; color: #172033; text-align: right; }
.atemp-theme .account-profile-page .profile-upload-preview { display: grid; min-height: 64px; margin-bottom: 7px !important; place-items: center; overflow: hidden; border: 1px dashed #9fb2c2; border-radius: 3px; background: #f3f7fa; }
.atemp-theme .account-profile-page .profile-upload-preview img { max-width: 100%; max-height: 64px; object-fit: contain; }
.atemp-theme .account-profile-page .profile-upload-preview i { color: #315d85; font-size: 24px; }
.atemp-theme .account-profile-page .col-xl-8 > .card > .card-body { padding: 11px !important; }
.atemp-theme .account-profile-page .profile-form-section { margin-bottom: 10px; padding: 10px; border: 1px solid #bdcad6; border-radius: 3px; background: #fff; }
.atemp-theme .account-profile-page .profile-form-section:last-of-type { margin-bottom: 9px; }
.atemp-theme .account-profile-page .profile-form-section .section-title { display: flex; margin: -10px -10px 10px; padding: 8px 10px; align-items: center; gap: 7px; border-bottom: 1px solid #c7d3dc; background: #eaf1f7; }
.atemp-theme .account-profile-page .profile-form-section .section-title > i { display: grid; width: 27px; height: 27px; flex: 0 0 27px; place-items: center; border-radius: 3px; background: #173b61; color: #fff; font-size: 14px; }
.atemp-theme .account-profile-page .profile-form-section .section-title h2 { margin: 0; color: #10243c; font-size: 12px; font-weight: 750; }
.atemp-theme .account-profile-page .profile-form-section .section-title p { margin: 1px 0 0; color: #68798c; font-size: 8px; }
.atemp-theme .account-profile-page .profile-form-section .row { margin-right: -4px; margin-left: -4px; }
.atemp-theme .account-profile-page .profile-form-section .row > [class*="col-"] { padding-right: 4px; padding-left: 4px; }
.atemp-theme .account-profile-page .profile-form-section .mb-3 { margin-bottom: 8px !important; }
.atemp-theme .account-profile-page .form-label { margin-bottom: 3px; color: #2b3d52; font-size: 9px; font-weight: 750; }
.atemp-theme .account-profile-page .form-control,
.atemp-theme .account-profile-page .form-select { min-height: 37px; border-color: #a9bac9; border-radius: 2px; background-color: #fff; color: #111827; font-size: 10px; }
.atemp-theme .account-profile-page textarea.form-control { min-height: 72px; }
.atemp-theme .account-profile-page .form-control:focus,
.atemp-theme .account-profile-page .form-select:focus { border-color: #2563eb; box-shadow: 0 0 0 2px rgba(37,99,235,.12); }
.atemp-theme .account-profile-page .form-text { color: #68798c; font-size: 8px; overflow-wrap: anywhere; }
.atemp-theme .account-profile-save { position: sticky; bottom: 7px; z-index: 20; padding: 7px; border: 1px solid #9fb2c2; border-left: 3px solid #2563eb; border-radius: 3px; background: rgba(255,255,255,.96); box-shadow: 0 5px 17px rgba(15,23,42,.14); backdrop-filter: blur(7px); }
.atemp-theme .account-profile-save .btn { min-height: 37px; border-radius: 2px; background: #173b61; font-size: 10px; font-weight: 700; }

@media (max-width: 768px) {
  .atemp-theme .account-profile-page > .profile-head { display: flex !important; min-height: 0 !important; padding: 9px !important; grid-template-columns: none !important; align-items: center !important; }
  .atemp-theme .account-profile-page > .profile-head h1 { font-size: 17px !important; }
  .atemp-theme .account-profile-page > .profile-head p { display: none; }
  .atemp-theme .account-profile-page > .profile-head .badge { min-height: 26px; padding: 4px 6px !important; font-size: 8px; }
  .atemp-theme .account-profile-page > .profile-head .badge:first-child { display: none; }
  .atemp-theme .account-profile-page > .row { display: block; margin: 0 !important; }
  .atemp-theme .account-profile-page > .row > [class*="col-"] { width: 100%; padding: 0; }
  .atemp-theme .account-profile-page > .row > .col-xl-4 { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .atemp-theme .account-profile-page .col-xl-4 .profile-card { grid-column: 1/-1; }
  .atemp-theme .account-profile-page .col-xl-4 .card { margin: 0 0 6px !important; }
  .atemp-theme .account-profile-page .profile-card .card-body { display: grid; grid-template-columns: 60px minmax(0,1fr); column-gap: 9px; text-align: left !important; }
  .atemp-theme .account-profile-page .profile-photo-preview,
  .atemp-theme .account-profile-page .profile-avatar { grid-row: 1/5; width: 55px !important; height: 55px !important; margin: 0 !important; }
  .atemp-theme .account-profile-page .profile-card h2,
  .atemp-theme .account-profile-page .profile-card p,
  .atemp-theme .account-profile-page .profile-card .profile-progress,
  .atemp-theme .account-profile-page .profile-card .text-muted.small { grid-column: 2; }
  .atemp-theme .account-profile-page .profile-card p { margin-bottom: 5px !important; }
  .atemp-theme .account-profile-page .profile-card .profile-progress { margin-bottom: 4px !important; }
  .atemp-theme .account-profile-page .col-xl-4 .card:not(.profile-card) .card-body { padding: 8px !important; }
  .atemp-theme .account-profile-page .profile-info-row { grid-template-columns: 68px minmax(0,1fr); padding: 5px 0; font-size: 8px; }
  .atemp-theme .account-profile-page .profile-upload-preview { min-height: 48px; }
  .atemp-theme .account-profile-page .col-xl-8 > .card > .card-body { padding: 7px !important; }
  .atemp-theme .account-profile-page .profile-form-section { margin-bottom: 7px; padding: 8px; }
  .atemp-theme .account-profile-page .profile-form-section .section-title { margin: -8px -8px 8px; padding: 7px 8px; }
  .atemp-theme .account-profile-page .profile-form-section .section-title p { display: none; }
  .atemp-theme .account-profile-page .profile-form-section .row > [class*="col-"] { width: 100%; }
  .atemp-theme .account-profile-page .form-control,
  .atemp-theme .account-profile-page .form-select { min-height: 40px; font-size: 11px; }
  .atemp-theme .account-profile-page .form-label { font-size: 9px; }
  .atemp-theme .account-profile-form { padding-bottom: 60px; }
  .atemp-theme .account-profile-save { position: fixed; right: 7px; bottom: calc(64px + env(safe-area-inset-bottom)); left: 7px; z-index: 1045; padding: 6px; }
  .atemp-theme .account-profile-save .btn { width: 100%; min-height: 38px; }
}

@media (max-width: 768px) {
  .atemp-theme .account-profile-page { padding-bottom: 3px; }
  .atemp-theme .profile-manager.account-profile-page .profile-card {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    grid-template-columns: none !important;
  }
  .atemp-theme .profile-manager.account-profile-page .profile-card > .card-body {
    width: 100% !important;
    min-width: 0 !important;
  }
  .atemp-theme .account-profile-page > .profile-head { margin-bottom: 6px !important; }
  .atemp-theme .account-profile-page > .row > .col-xl-4 { display: block !important; }
  .atemp-theme .account-profile-page .col-xl-4 > .card:not(.profile-card) { display: none !important; }
  .atemp-theme .account-profile-page .profile-card { margin-bottom: 6px !important; }
  .atemp-theme .account-profile-page .profile-card .card-body { min-height: 76px; padding: 9px !important; align-items: center; }
  .atemp-theme .account-profile-page .profile-card h2 { margin: 0 0 1px !important; font-size: 13px !important; }
  .atemp-theme .account-profile-page .profile-card p { margin: 0 0 5px !important; font-size: 8px; }
  .atemp-theme .account-profile-page .profile-card .text-muted.small { font-size: 8px; }
  .atemp-theme .account-profile-page .col-xl-8 > .card { border: 0 !important; background: transparent; box-shadow: none !important; }
  .atemp-theme .account-profile-page .col-xl-8 > .card > .card-body { padding: 0 !important; background: transparent; }
  .atemp-theme .account-profile-page .profile-form-section { overflow: hidden; margin-bottom: 5px; padding: 0; border-color: #aebfce; box-shadow: 0 2px 5px rgba(15,23,42,.045); }
  .atemp-theme .account-profile-page .profile-form-section .section-title { position: relative; min-height: 43px; margin: 0; padding: 7px 38px 7px 8px; border: 0; background: #eaf1f7; cursor: pointer; user-select: none; }
  .atemp-theme .account-profile-page .profile-form-section .section-title::after { position: absolute; top: 50%; right: 10px; color: #315d85; font-size: 17px; font-weight: 700; content: "⌄"; transform: translateY(-58%); transition: transform .18s ease; }
  .atemp-theme .account-profile-page .profile-form-section.is-open .section-title { border-bottom: 1px solid #bdcad6; background: #dfeaf3; }
  .atemp-theme .account-profile-page .profile-form-section.is-open .section-title::after { transform: translateY(-50%) rotate(180deg); }
  .atemp-theme .account-profile-page .profile-form-section:not(.is-open) > :not(.section-title) { display: none !important; }
  .atemp-theme .account-profile-page .profile-form-section.is-open > :not(.section-title) { margin-right: 8px; margin-left: 8px; }
  .atemp-theme .account-profile-page .profile-form-section.is-open > .row { margin-top: 8px; }
  .atemp-theme .account-profile-page .profile-form-section.is-open > .form-label { display: block; margin-top: 8px; }
  .atemp-theme .account-profile-page .profile-form-section.is-open > textarea { width: calc(100% - 16px); margin-bottom: 8px; }
  .atemp-theme .account-profile-page .profile-form-section .section-title h2 { font-size: 11px; }
  .atemp-theme .account-profile-page .profile-form-section .section-title > i { width: 26px; height: 26px; flex-basis: 26px; }
  .atemp-theme .account-profile-page .profile-form-section .row > [class*="col-"] { padding-right: 0; padding-left: 0; }
  .atemp-theme .account-profile-page .profile-form-section .mb-3 { margin-bottom: 7px !important; }
  .atemp-theme .account-profile-page .account-profile-form > .alert { margin-bottom: 6px; padding: 8px; font-size: 9px; }
}

@media (max-width: 380px) {
  .atemp-theme .profile-manager.account-profile-page .profile-card { grid-template-columns: none !important; }
}

/* Roles register and editor. */
.atemp-theme .roles-page { color: #172033; }
.atemp-theme .roles-page-head { min-height: 76px; margin-bottom: 9px !important; padding: 12px 14px; border: 1px solid #afbfce; border-left: 4px solid #2563eb; border-radius: 4px; background: linear-gradient(110deg,#fff,#edf3f8); box-shadow: 0 2px 7px rgba(15,23,42,.06); }
.atemp-theme .roles-page-head h1 { color: #101f33; font-size: 20px !important; font-weight: 750; }
.atemp-theme .roles-page-head p { color: #526174; font-size: 10px; }
.atemp-theme .roles-page-head .badge { min-height: 31px; padding: 6px 9px !important; border: 1px solid #b5c5d2; border-radius: 3px; background: #fff !important; color: #173b61 !important; font-size: 9px; }
.atemp-theme .roles-page-head .btn { min-height: 34px; border-radius: 3px; font-size: 10px; }
.atemp-theme .roles-table-card { overflow: visible; border: 1px solid #aebfce !important; border-radius: 4px !important; background: #fff; box-shadow: 0 2px 7px rgba(15,23,42,.055) !important; }
.atemp-theme .roles-table-card table { width: 100%; table-layout: fixed; color: #172033; font-size: 10px; }
.atemp-theme .roles-table-card th { height: 38px; padding: 7px 8px !important; border-color: #41617f !important; background: #173b61 !important; color: #fff !important; font-size: 8px !important; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.atemp-theme .roles-table-card th:first-child { width: 24%; }
.atemp-theme .roles-table-card th:nth-child(2) { width: 13%; }
.atemp-theme .roles-table-card th:nth-child(3) { width: 12%; }
.atemp-theme .roles-table-card th:nth-child(4) { width: 27%; }
.atemp-theme .roles-table-card th:nth-child(5) { width: 7%; }
.atemp-theme .roles-table-card th:nth-child(6) { width: 8%; }
.atemp-theme .roles-table-card th:last-child { width: 82px; }
.atemp-theme .roles-table-card td { height: 48px; padding: 6px 8px !important; border-color: #d7e0e7 !important; background: #fff; color: #172033; vertical-align: middle; }
.atemp-theme .roles-table-card tbody tr:nth-child(even) td { background: #f6f9fb; }
.atemp-theme .roles-table-card tbody tr:hover td { background: #edf5fb; }
.atemp-theme .role-list-identity { display: flex; min-width: 0; align-items: center; gap: 7px; }
.atemp-theme .role-list-icon { display: grid; width: 29px; height: 29px; flex: 0 0 29px; place-items: center; border: 1px solid #b7c9da; border-radius: 3px; background: #e7f1fb; color: #19538c; font-size: 14px; }
.atemp-theme .role-list-identity > span:last-child { display: flex; min-width: 0; flex-direction: column; }
.atemp-theme .role-list-identity strong { overflow: hidden; color: #102c4b; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.atemp-theme .role-list-identity small { display: -webkit-box; overflow: hidden; color: #68798c; font-size: 8px; line-height: 1.25; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.atemp-theme .roles-table-card code { display: inline-block; max-width: 100%; overflow: hidden; padding: 3px 5px; border: 1px solid #c5d2dc; border-radius: 2px; background: #edf3f7; color: #244766; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.atemp-theme .roles-table-card .badge { padding: 3px 6px; border: 1px solid #c0ced9; border-radius: 10px; background: #edf3f7 !important; color: #244766 !important; font-size: 8px; }
.atemp-theme .roles-table-card td[data-label="Can create"] span { display: -webkit-box; overflow: hidden; color: #526174 !important; font-size: 8px; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.atemp-theme .roles-table-card td[data-label="Action"] { white-space: nowrap; }
.atemp-theme .roles-table-card td[data-label="Action"] .btn { width: 29px; height: 29px; min-height: 29px; padding: 0; border-radius: 2px; font-size: 12px; }
.atemp-theme .roles-page + .app-modal .role-check-grid,
.atemp-theme .roles-page ~ .app-modal .role-check-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; }
.atemp-theme .roles-page + .app-modal .role-check-grid .form-check,
.atemp-theme .roles-page ~ .app-modal .role-check-grid .form-check { display: flex; min-height: 34px; margin: 0; padding: 6px 7px 6px 28px; align-items: center; border: 1px solid #c4d0da; border-radius: 2px; background: #f8fafc; }
.atemp-theme .roles-page ~ .app-modal .role-check-grid .form-check-input,
.atemp-theme .roles-page + .app-modal .role-check-grid .form-check-input { margin-left: -20px; }
.atemp-theme .roles-page ~ .app-modal .role-check-grid .form-check-label,
.atemp-theme .roles-page + .app-modal .role-check-grid .form-check-label { color: #26384c; font-size: 9px; }
.atemp-theme .roles-page ~ .app-modal .form-label,
.atemp-theme .roles-page + .app-modal .form-label { color: #293b50; font-size: 10px; font-weight: 700; }
.atemp-theme .roles-page ~ .app-modal .form-control,
.atemp-theme .roles-page + .app-modal .form-control { min-height: 38px; border-color: #aabac8; border-radius: 2px; color: #111827; font-size: 10px; }

@media (max-width: 768px) {
  .atemp-theme .roles-page-head { min-height: 0; padding: 9px; flex-direction: row !important; align-items: center !important; gap: 6px !important; }
  .atemp-theme .roles-page-head h1 { font-size: 17px !important; }
  .atemp-theme .roles-page-head p { display: none; }
  .atemp-theme .roles-page-head > div:last-child { flex-wrap: nowrap !important; }
  .atemp-theme .roles-page-head .badge { min-height: 29px; padding: 4px 6px !important; font-size: 8px; white-space: nowrap; }
  .atemp-theme .roles-page-head .btn { width: 32px; min-width: 32px; padding: 0; font-size: 0; }
  .atemp-theme .roles-page-head .btn i { margin: 0; font-size: 14px; }
  .atemp-theme .roles-table-card { overflow: visible !important; border: 0 !important; background: transparent; box-shadow: none !important; }
  .atemp-theme .roles-table-card table,
  .atemp-theme .roles-table-card tbody { display: block; width: 100%; }
  .atemp-theme .roles-table-card thead { display: none; }
  .atemp-theme .roles-table-card tr { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0 7px; margin-bottom: 6px; padding: 7px; border: 1px solid #aebfce; border-top: 3px solid #315d85; border-radius: 3px; background: #fff; box-shadow: 0 2px 6px rgba(15,23,42,.06); }
  .atemp-theme .roles-table-card td { display: block; width: auto !important; height: auto; min-width: 0; padding: 5px 0 !important; border: 0 !important; border-bottom: 1px solid #e0e7ed !important; background: #fff !important; text-align: left !important; }
  .atemp-theme .roles-table-card td::before { display: block; margin-bottom: 2px; color: #68798c; font-size: 7px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; content: attr(data-label); }
  .atemp-theme .roles-table-card td[data-label="Role"] { grid-column: 1/-1; padding: 0 65px 6px 0 !important; border-bottom-color: #ccd8e2 !important; }
  .atemp-theme .roles-table-card td[data-label="Role"]::before { display: none; }
  .atemp-theme .roles-table-card td[data-label="Slug"],
  .atemp-theme .roles-table-card td[data-label="Permissions"] { grid-column: auto; }
  .atemp-theme .roles-table-card td[data-label="Can create"] { grid-column: 1/-1; }
  .atemp-theme .roles-table-card td[data-label="Users"],
  .atemp-theme .roles-table-card td[data-label="Type"] { border-bottom: 0 !important; }
  .atemp-theme .roles-table-card td[data-label="Action"] { position: absolute; top: 7px; right: 7px; display: flex; gap: 3px; padding: 0 !important; border: 0 !important; }
  .atemp-theme .roles-table-card td[data-label="Action"]::before { display: none; }
  .atemp-theme .role-list-identity strong { white-space: normal; }
  .atemp-theme .roles-page ~ .app-modal .app-modal-dialog,
  .atemp-theme .roles-page + .app-modal .app-modal-dialog { max-height: calc(100dvh - 72px - env(safe-area-inset-bottom)) !important; }
  .atemp-theme .roles-page ~ .app-modal .role-check-grid,
  .atemp-theme .roles-page + .app-modal .role-check-grid { grid-template-columns: 1fr 1fr; gap: 4px; }
  .atemp-theme .roles-page ~ .app-modal .role-check-grid .form-check,
  .atemp-theme .roles-page + .app-modal .role-check-grid .form-check { min-height: 35px; padding: 5px 5px 5px 26px; }
  .atemp-theme .roles-page ~ .app-modal .app-modal-body,
  .atemp-theme .roles-page + .app-modal .app-modal-body { padding: 8px; }
}

/* Permission catalogue and role matrix. */
.atemp-theme .permission-shell { color: #172033; }
.atemp-theme .permission-shell .permission-head { display: flex; min-height: 76px; margin-bottom: 9px; padding: 12px 14px; align-items: center; justify-content: space-between; border: 1px solid #afbfce; border-left: 4px solid #2563eb; border-radius: 4px; background: linear-gradient(110deg,#fff,#edf3f8); box-shadow: 0 2px 7px rgba(15,23,42,.06); }
.atemp-theme .permission-shell .permission-head h1 { margin: 2px 0 1px; color: #101f33; font-size: 20px; font-weight: 750; }
.atemp-theme .permission-shell .permission-head p { margin: 0; color: #526174; font-size: 10px; }
.atemp-theme .permission-shell .permission-eyebrow { color: #2563eb; font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.atemp-theme .permission-shell .permission-head .btn { min-height: 33px; border-radius: 3px; font-size: 9px; }
.atemp-theme .permission-shell .permission-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-bottom: 9px; }
.atemp-theme .permission-shell .permission-stats > div { min-height: 58px; padding: 8px 10px; border: 1px solid #b5c5d2; border-radius: 3px; background: #fff; box-shadow: 0 2px 5px rgba(15,23,42,.045); }
.atemp-theme .permission-shell .permission-stats span { color: #10243c; font-size: 17px; font-weight: 750; }
.atemp-theme .permission-shell .permission-stats p { margin: 1px 0 0; color: #68798c; font-size: 8px; }
.atemp-theme .permission-shell .permission-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; margin-bottom: 9px; }
.atemp-theme .permission-shell .permission-card { display: flex; min-height: 50px; padding: 7px 8px; align-items: center; gap: 7px; border: 1px solid #bdcad6 !important; border-radius: 3px !important; background: #fff !important; box-shadow: none !important; }
.atemp-theme .permission-shell .permission-icon { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; border-radius: 3px; background: #173b61; color: #fff; font-size: 13px; }
.atemp-theme .permission-shell .permission-card > div { min-width: 0; }
.atemp-theme .permission-shell .permission-card h2 { overflow: hidden; margin: 0 0 2px; color: #172033; font-size: 9px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.atemp-theme .permission-shell .permission-card code { display: block; overflow: hidden; color: #68798c; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.atemp-theme .permission-shell .permission-card-table { overflow: hidden; border: 1px solid #aebfce !important; border-radius: 4px !important; background: #fff; box-shadow: 0 2px 7px rgba(15,23,42,.05) !important; }
.atemp-theme .permission-shell .permission-table-head { display: flex; min-height: 51px; padding: 8px 10px; align-items: center; justify-content: space-between; border-bottom: 1px solid #c3d0da; background: #eaf1f7 !important; }
.atemp-theme .permission-shell .permission-table-head h2 { margin: 0; color: #10243c; font-size: 13px; font-weight: 750; }
.atemp-theme .permission-shell .permission-table-head p { margin: 1px 0 0; color: #68798c; font-size: 8px; }
.atemp-theme .permission-shell .permission-table-head > span { padding: 4px 7px; border: 1px solid #b5c5d2; border-radius: 2px; background: #fff; color: #244766; font-size: 8px; font-weight: 700; }
.atemp-theme .permission-shell .permission-table-scroll { max-width: 100%; overflow: auto; }
.atemp-theme .permission-shell .permission-matrix { min-width: 1050px; color: #172033; font-size: 9px; }
.atemp-theme .permission-shell .permission-matrix th { height: 38px; padding: 6px 7px; border-color: #41617f; background: #173b61; color: #fff; font-size: 7px; font-weight: 750; letter-spacing: .03em; text-align: center; }
.atemp-theme .permission-shell .permission-matrix th:first-child { text-align: left; }
.atemp-theme .permission-shell .permission-matrix td { height: 42px; padding: 5px 7px; border-color: #d7e0e7; background: #fff; text-align: center; }
.atemp-theme .permission-shell .permission-matrix tbody tr:nth-child(even) td { background: #f6f9fb; }
.atemp-theme .permission-shell .permission-matrix th:first-child,
.atemp-theme .permission-shell .permission-matrix td:first-child { position: sticky; left: 0; z-index: 2; min-width: 145px; text-align: left; box-shadow: 1px 0 #bdcad6; }
.atemp-theme .permission-shell .permission-matrix thead th:first-child { z-index: 4; background: #173b61; }
.atemp-theme .permission-shell .permission-role-cell div { color: #102c4b; font-size: 9px; font-weight: 750; }
.atemp-theme .permission-shell .permission-role-cell code { color: #68798c; font-size: 7px; }
.atemp-theme .permission-shell .permission-count { display: inline-grid; min-width: 34px; min-height: 22px; padding: 2px 4px; place-items: center; border-radius: 2px; background: #e7eef4; color: #244766; font-size: 8px; font-weight: 750; }
.atemp-theme .permission-shell .permission-state { display: inline-grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; font-size: 11px; }
.atemp-theme .permission-shell .permission-state.is-on { background: #dcf5e6; color: #17603b; }
.atemp-theme .permission-shell .permission-state.is-off { background: #edf1f4; color: #91a0ad; }
.atemp-theme .permission-mobile-roles { display: none; }

@media (max-width: 768px) {
  .atemp-theme .permission-shell .permission-head { min-height: 0; padding: 9px; }
  .atemp-theme .permission-shell .permission-head h1 { font-size: 17px; }
  .atemp-theme .permission-shell .permission-head p { display: none; }
  .atemp-theme .permission-shell .permission-head .btn { width: 32px; min-width: 32px; padding: 0; font-size: 0; }
  .atemp-theme .permission-shell .permission-head .btn i { margin: 0; font-size: 14px; }
  .atemp-theme .permission-shell .permission-stats { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; }
  .atemp-theme .permission-shell .permission-stats > div { min-height: 50px; padding: 6px 4px; text-align: center; }
  .atemp-theme .permission-shell .permission-stats span { font-size: 13px; }
  .atemp-theme .permission-shell .permission-stats p { font-size: 7px; }
  .atemp-theme .permission-shell .permission-grid { display: flex; gap: 5px; margin-bottom: 7px; overflow-x: auto; scrollbar-width: none; }
  .atemp-theme .permission-shell .permission-grid::-webkit-scrollbar { display: none; }
  .atemp-theme .permission-shell .permission-card { min-width: 138px; min-height: 45px; flex: 0 0 138px; padding: 6px; }
  .atemp-theme .permission-shell .permission-icon { width: 25px; height: 25px; flex-basis: 25px; }
  .atemp-theme .permission-shell .permission-card-table { display: none !important; }
  .atemp-theme .permission-mobile-roles { display: block; }
  .atemp-theme .permission-mobile-roles > article { margin-bottom: 6px; overflow: hidden; border: 1px solid #aebfce; border-top: 3px solid #315d85; border-radius: 3px; background: #fff; box-shadow: 0 2px 6px rgba(15,23,42,.055); }
  .atemp-theme .permission-mobile-roles header { display: grid; grid-template-columns: 29px minmax(0,1fr) auto; min-height: 47px; padding: 7px; align-items: center; gap: 7px; border-bottom: 1px solid #d4dee6; background: #edf3f8; }
  .atemp-theme .permission-mobile-role-icon { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 3px; background: #173b61; color: #fff; }
  .atemp-theme .permission-mobile-roles header > div { display: flex; min-width: 0; flex-direction: column; }
  .atemp-theme .permission-mobile-roles header strong { overflow: hidden; color: #102c4b; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
  .atemp-theme .permission-mobile-roles header code { color: #68798c; font-size: 7px; }
  .atemp-theme .permission-mobile-roles header b { padding: 4px 6px; border: 1px solid #b5c5d2; border-radius: 10px; background: #fff; color: #244766; font-size: 8px; }
  .atemp-theme .permission-mobile-chips { display: flex; padding: 6px; flex-wrap: wrap; gap: 4px; }
  .atemp-theme .permission-mobile-chips span { display: inline-flex; min-height: 25px; padding: 4px 6px; align-items: center; gap: 3px; border: 1px solid #c2d1dc; border-radius: 2px; background: #f7fafc; color: #29465f; font-size: 8px; }
  .atemp-theme .permission-mobile-chips span i { color: #17824c; font-size: 10px; }
  .atemp-theme .permission-mobile-chips em { padding: 7px; color: #68798c; font-size: 8px; font-style: normal; }
}

/* Profile change request review queue. */
.atemp-theme .profile-request-page { color: #172033; }
.atemp-theme .profile-request-page .profile-request-hero { min-height: 76px; margin: 0 0 9px !important; padding: 12px 14px !important; border: 1px solid #afbfce !important; border-left: 4px solid #2563eb !important; border-radius: 4px !important; background: linear-gradient(110deg,#fff,#edf3f8) !important; box-shadow: 0 2px 7px rgba(15,23,42,.06) !important; }
.atemp-theme .profile-request-page .profile-request-hero h1 { margin: 2px 0 1px; color: #101f33 !important; font-size: 20px !important; font-weight: 750; }
.atemp-theme .profile-request-page .profile-request-hero p { max-width: 760px; color: #526174 !important; font-size: 10px !important; }
.atemp-theme .profile-request-page .permission-eyebrow { color: #2563eb !important; font-size: 9px !important; font-weight: 800; letter-spacing: .07em; }
.atemp-theme .profile-request-page .profile-request-stats { display: flex; gap: 5px; }
.atemp-theme .profile-request-page .profile-request-stats > span { min-height: 31px; padding: 6px 8px; border: 1px solid #b5c5d2; border-radius: 3px; background: #fff; color: #5f7185; font-size: 8px; }
.atemp-theme .profile-request-page .profile-request-stats strong { color: #10243c; font-size: 11px; }
.atemp-theme .profile-request-list { gap: 6px; }
.atemp-theme .profile-request-card { display: grid; grid-template-columns: minmax(190px,1fr) minmax(220px,1.15fr) minmax(160px,.9fr) auto auto; min-height: 62px; padding: 8px 9px; align-items: center; gap: 8px; border: 1px solid #b8c6d2; border-left-width: 3px; border-radius: 3px; background: #fff; box-shadow: 0 2px 6px rgba(15,23,42,.05); }
.atemp-theme .profile-request-card.is-pending { border-left-color: #2563eb; }
.atemp-theme .profile-request-card.is-approved { border-left-color: #17824c; }
.atemp-theme .profile-request-card.is-rejected { border-left-color: #c93737; }
.atemp-theme .profile-request-main { gap: 7px; }
.atemp-theme .profile-request-main > span { width: 31px; height: 31px; flex-basis: 31px; border: 1px solid #b7c9da; border-radius: 50%; background: #e7f1fb; color: #19538c; font-size: 10px; }
.atemp-theme .profile-request-main strong { color: #102c4b; font-size: 10px; }
.atemp-theme .profile-request-main em { color: #68798c; font-size: 7px; }
.atemp-theme .profile-request-flow { gap: 4px; }
.atemp-theme .profile-request-flow span,
.atemp-theme .profile-request-flow strong { max-width: 46%; padding: 4px 6px; border: 1px solid #c3d0da; border-radius: 2px; background: #f1f5f8; color: #40556b; font-size: 8px; }
.atemp-theme .profile-request-flow strong { border-color: #b7dac6; background: #e7f6ed; color: #17603b; }
.atemp-theme .profile-request-flow i { color: #315d85; }
.atemp-theme .profile-request-card > p { color: #5f7185; font-size: 8px; line-height: 1.35; }
.atemp-theme .profile-request-status { padding: 4px 6px; border: 1px solid #bdd0df; border-radius: 10px; background: #e9f3fa; color: #245a7a; font-size: 7px; }
.atemp-theme .profile-request-card.is-approved .profile-request-status { border-color: #b7dac6; background: #e7f6ed; color: #17603b; }
.atemp-theme .profile-request-card.is-rejected .profile-request-status { border-color: #e5baba; background: #fbeaea; color: #a52c2c; }
.atemp-theme .profile-request-review { min-height: 31px; padding: 5px 8px; border-radius: 2px; font-size: 8px; }
.atemp-theme .profile-request-card blockquote { grid-column: 1/-1; margin: 0; padding: 6px 8px; border-left: 3px solid #9fb2c2; border-radius: 2px; background: #f4f7f9; color: #526174; font-size: 8px; }
.atemp-theme .profile-request-modal .app-modal-dialog { width: min(560px,100%); }
.atemp-theme .profile-request-modal .app-modal-body { padding: 10px; }
.atemp-theme .profile-request-modal-flow { display: grid; grid-template-columns: 1fr 24px 1fr; margin-bottom: 8px; align-items: center; gap: 5px; }
.atemp-theme .profile-request-modal-flow > div { min-height: 57px; padding: 7px; border: 1px solid #bdcad6; border-radius: 3px; background: #f5f8fa; }
.atemp-theme .profile-request-modal-flow > div:last-child { border-color: #b7dac6; background: #edf8f1; }
.atemp-theme .profile-request-modal-flow span,
.atemp-theme .profile-request-modal-reason > span { display: block; margin-bottom: 3px; color: #68798c; font-size: 8px; font-weight: 750; text-transform: uppercase; }
.atemp-theme .profile-request-modal-flow strong { color: #172033; font-size: 10px; }
.atemp-theme .profile-request-modal-flow > i { color: #315d85; text-align: center; }
.atemp-theme .profile-request-modal-reason { margin-bottom: 8px; padding: 7px; border: 1px solid #c6d1da; border-left: 3px solid #315d85; border-radius: 2px; background: #f8fafc; }
.atemp-theme .profile-request-modal-reason p { margin: 0; color: #405167; font-size: 9px; line-height: 1.4; }
.atemp-theme .profile-request-modal .form-label { color: #293b50; font-size: 9px; font-weight: 700; }
.atemp-theme .profile-request-modal .form-select,
.atemp-theme .profile-request-modal .form-control { min-height: 39px; border-color: #aabac8; border-radius: 2px; color: #111827; font-size: 10px; }
.atemp-theme .profile-request-modal-actions { display: grid; grid-template-columns: 1fr 1.5fr; }
.atemp-theme .profile-request-modal-actions .btn { min-height: 38px; border-radius: 2px; font-size: 9px; }

@media (max-width: 768px) {
  .atemp-theme .profile-request-page .profile-request-hero { display: flex !important; min-height: 0 !important; padding: 9px !important; grid-template-columns: none !important; align-items: center !important; }
  .atemp-theme .profile-request-page .profile-request-hero h1 { font-size: 16px !important; }
  .atemp-theme .profile-request-page .profile-request-hero p { display: none; }
  .atemp-theme .profile-request-page .profile-request-stats > span { min-height: 27px; padding: 4px 6px; font-size: 7px; white-space: nowrap; }
  .atemp-theme .profile-request-card { position: relative; grid-template-columns: 1fr 1fr; min-height: 0; padding: 7px; gap: 0 7px; }
  .atemp-theme .profile-request-main { grid-column: 1/-1; min-height: 38px; padding: 0 70px 6px 0; border-bottom: 1px solid #d6e0e8; }
  .atemp-theme .profile-request-main strong { white-space: normal; }
  .atemp-theme .profile-request-flow { grid-column: 1/-1; padding: 6px 0; border-bottom: 1px solid #e0e7ed; }
  .atemp-theme .profile-request-flow span,
  .atemp-theme .profile-request-flow strong { max-width: calc(50% - 14px); white-space: normal; line-height: 1.25; }
  .atemp-theme .profile-request-card > p { grid-column: 1/-1; padding: 5px 0; -webkit-line-clamp: 2; }
  .atemp-theme .profile-request-status { position: absolute; top: 7px; right: 7px; }
  .atemp-theme .profile-request-review { grid-column: 1/-1; width: 100%; margin-top: 3px; min-height: 34px; }
  .atemp-theme .profile-request-card blockquote { padding: 5px 7px; }
  .atemp-theme .profile-request-modal .app-modal-dialog { width: 100%; max-height: calc(100dvh - 72px - env(safe-area-inset-bottom)) !important; }
  .atemp-theme .profile-request-modal-flow { grid-template-columns: 1fr; }
  .atemp-theme .profile-request-modal-flow > i { transform: rotate(90deg); }
  .atemp-theme .profile-request-modal-flow > div { min-height: 49px; }
  .atemp-theme .profile-request-modal-actions { grid-template-columns: 1fr 1fr; }
}

/* Result announcement queue. */
.atemp-theme .result-announce-page { color: #172033; }
.atemp-theme .result-announce-page > .profile-head { min-height: 76px; margin: 0 0 9px !important; padding: 12px 14px !important; border: 1px solid #afbfce !important; border-left: 4px solid #2563eb !important; border-radius: 4px !important; background: linear-gradient(110deg,#fff,#edf3f8) !important; box-shadow: 0 2px 7px rgba(15,23,42,.06) !important; }
.atemp-theme .result-announce-page > .profile-head h1 { margin: 2px 0 1px; color: #101f33 !important; font-size: 20px !important; font-weight: 750; }
.atemp-theme .result-announce-page > .profile-head p { color: #526174 !important; font-size: 10px !important; }
.atemp-theme .result-announce-page > .profile-head .permission-eyebrow { color: #2563eb !important; font-size: 9px !important; font-weight: 800; letter-spacing: .07em; }
.atemp-theme .result-announce-page > .profile-head .btn { min-height: 32px; padding: 5px 8px; border: 1px solid #afbfce; border-radius: 3px; font-size: 9px; }
.atemp-theme .result-announce-page > .profile-head .btn-light { background: #fff; color: #244766; }
.atemp-theme .result-announce-card { overflow: hidden; border: 1px solid #aebfce !important; border-radius: 4px !important; background: #fff; box-shadow: 0 2px 7px rgba(15,23,42,.055) !important; }
.atemp-theme .result-announce-card > .card-body { padding: 0 !important; }
.atemp-theme .result-announce-card .candidate-table-head { min-height: 53px; padding: 8px 10px !important; border: 0 !important; border-bottom: 1px solid #c4d1db !important; border-radius: 0 !important; background: #eaf1f7 !important; box-shadow: none !important; }
.atemp-theme .result-announce-card .candidate-table-head h2 { color: #10243c; font-size: 13px !important; font-weight: 750; }
.atemp-theme .result-announce-card .candidate-table-head p { font-size: 8px; }
.atemp-theme .result-announce-card .candidate-table-head .btn { min-height: 33px; border-radius: 2px; font-size: 9px; }
.atemp-theme .result-announce-card .table-responsive { overflow: visible; border-radius: 0; }
.atemp-theme .result-announce-table { width: 100%; table-layout: fixed; color: #172033; font-size: 9px; }
.atemp-theme .result-announce-table th { height: 38px; padding: 6px 7px !important; border-color: #41617f !important; background: #173b61 !important; color: #fff !important; font-size: 7px !important; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.atemp-theme .result-announce-table th:first-child { width: 42px; }
.atemp-theme .result-announce-table th:nth-child(2) { width: 15%; }
.atemp-theme .result-announce-table th:nth-child(3) { width: 17%; }
.atemp-theme .result-announce-table th:nth-child(4) { width: 17%; }
.atemp-theme .result-announce-table th:nth-child(5) { width: 82px; }
.atemp-theme .result-announce-table th:nth-child(6) { width: 100px; }
.atemp-theme .result-announce-table th:last-child { width: 92px; }
.atemp-theme .result-announce-table td { height: 50px; padding: 6px 7px !important; border-color: #d7e0e7 !important; background: #fff; color: #172033; vertical-align: middle; }
.atemp-theme .result-announce-table tbody tr:nth-child(even) td { background: #f6f9fb; }
.atemp-theme .result-announce-table tbody tr:hover td { background: #edf5fb; }
.atemp-theme .result-announce-table td > strong { display: block; overflow: hidden; color: #102c4b; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.atemp-theme .result-announce-table td > span { display: block; overflow: hidden; color: #68798c; font-size: 7px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.atemp-theme .result-announce-table .form-control-sm,
.atemp-theme .result-announce-table .form-select-sm { width: 100%; min-height: 32px; padding: 4px 6px; border-color: #aabac8; border-radius: 2px; background-color: #fff; color: #111827; font-size: 9px; }
.atemp-theme .result-announce-table td[data-label="Action"] .btn { min-height: 31px; padding: 4px 7px; border-radius: 2px; font-size: 8px; white-space: nowrap; }

@media (max-width: 768px) {
  .atemp-theme .result-announce-page > .profile-head { display: flex !important; min-height: 0 !important; padding: 9px !important; grid-template-columns: none !important; align-items: center !important; gap: 6px !important; }
  .atemp-theme .result-announce-page > .profile-head h1 { font-size: 16px !important; }
  .atemp-theme .result-announce-page > .profile-head p { display: none; }
  .atemp-theme .result-announce-page > .profile-head > .d-flex { display: flex !important; flex-wrap: nowrap !important; gap: 4px !important; }
  .atemp-theme .result-announce-page > .profile-head .btn { padding: 5px 6px; font-size: 8px; white-space: nowrap; }
  .atemp-theme .result-announce-card .candidate-table-head { min-height: 47px; padding: 7px 8px !important; }
  .atemp-theme .result-announce-card .candidate-table-head p { display: none; }
  .atemp-theme .result-announce-card .candidate-table-head .btn { width: 34px; min-width: 34px; padding: 0; font-size: 0; }
  .atemp-theme .result-announce-card .candidate-table-head .btn i { margin: 0; font-size: 14px; }
  .atemp-theme .result-announce-card .table-responsive { overflow: visible !important; }
  .atemp-theme .result-announce-table,
  .atemp-theme .result-announce-table tbody { display: block; width: 100%; }
  .atemp-theme .result-announce-table thead { display: none; }
  .atemp-theme .result-announce-table tbody { padding: 6px; }
  .atemp-theme .result-announce-table tr { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0 7px; margin-bottom: 6px; padding: 7px; border: 1px solid #aebfce; border-top: 3px solid #315d85; border-radius: 3px; background: #fff; box-shadow: 0 2px 6px rgba(15,23,42,.055); }
  .atemp-theme .result-announce-table td { display: block; width: auto !important; height: auto; min-width: 0; padding: 5px 0 !important; border: 0 !important; border-bottom: 1px solid #e0e7ed !important; background: #fff !important; text-align: left !important; }
  .atemp-theme .result-announce-table td::before { display: block; margin-bottom: 2px; color: #68798c; font-size: 7px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; content: attr(data-label); }
  .atemp-theme .result-announce-table td[data-label="Select"] { position: absolute; top: 7px; right: 7px; z-index: 2; padding: 3px !important; border: 0 !important; }
  .atemp-theme .result-announce-table td[data-label="Select"]::before { display: none; }
  .atemp-theme .result-announce-table td[data-label="Candidate"] { grid-column: 1/-1; padding: 0 35px 6px 0 !important; }
  .atemp-theme .result-announce-table td[data-label="Candidate"]::before { display: none; }
  .atemp-theme .result-announce-table td[data-label="Profile"] { grid-column: 1; }
  .atemp-theme .result-announce-table td[data-label="Staff result"] { grid-column: 2; }
  .atemp-theme .result-announce-table td[data-label="Percentile"],
  .atemp-theme .result-announce-table td[data-label="Final result"] { grid-column: auto; }
  .atemp-theme .result-announce-table td[data-label="Remark"] { grid-column: 1/-1; }
  .atemp-theme .result-announce-table td[data-label="Action"] { grid-column: 1/-1; padding-top: 6px !important; border: 0 !important; }
  .atemp-theme .result-announce-table td[data-label="Action"]::before { display: none; }
  .atemp-theme .result-announce-table td[data-label="Action"] .btn { width: 100%; min-height: 34px; }
  .atemp-theme .result-announce-table td > strong,
  .atemp-theme .result-announce-table td > span { white-space: normal; overflow-wrap: anywhere; }
}

/* Transactional email template manager. */
.atemp-theme .email-template-page { color: #172033; }
.atemp-theme .email-template-page .email-template-hero { min-height: 76px; margin: 0 0 9px !important; padding: 12px 14px !important; border: 1px solid #afbfce !important; border-left: 4px solid #2563eb !important; border-radius: 4px !important; background: linear-gradient(110deg,#fff,#edf3f8) !important; box-shadow: 0 2px 7px rgba(15,23,42,.06) !important; }
.atemp-theme .email-template-page .email-template-hero h1 { margin: 2px 0 1px; color: #101f33 !important; font-size: 20px !important; font-weight: 750; }
.atemp-theme .email-template-page .email-template-hero p { color: #526174 !important; font-size: 10px !important; }
.atemp-theme .email-template-page .email-template-hero .permission-eyebrow { color: #2563eb !important; font-size: 9px !important; font-weight: 800; letter-spacing: .07em; }
.atemp-theme .email-template-page .email-template-hero-actions { display: flex; align-items: center; gap: 5px; }
.atemp-theme .email-template-page .email-template-hero-actions > span { min-height: 31px; padding: 5px 8px; border: 1px solid #b5c5d2; border-radius: 3px; background: #fff; color: #5f7185; font-size: 8px; }
.atemp-theme .email-template-page .email-template-hero-actions strong { color: #10243c; font-size: 11px; }
.atemp-theme .email-template-page .email-template-hero-actions .btn { min-height: 33px; padding: 5px 8px; border-radius: 3px; font-size: 9px; white-space: nowrap; }
.atemp-theme .email-template-page .email-template-layout { display: grid; grid-template-columns: minmax(0,1fr) 315px; gap: 9px; align-items: start; }
.atemp-theme .email-template-page .email-template-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.atemp-theme .email-template-page .email-template-card { position: relative; display: grid; grid-template-columns: 76px minmax(0,1fr); min-height: 117px; padding: 8px; gap: 6px 9px; border: 1px solid #b6c5d2 !important; border-top: 3px solid #315d85 !important; border-radius: 3px !important; background: #fff !important; box-shadow: 0 2px 6px rgba(15,23,42,.05) !important; }
.atemp-theme .email-template-page .email-template-card:hover { transform: none; border-color: #8fa7ba !important; box-shadow: 0 3px 9px rgba(15,23,42,.09) !important; }
.atemp-theme .email-template-page .email-template-mini { grid-row: 1/4; width: 76px; height: 94px; padding: 8px; border: 1px solid #c5d1da; border-radius: 2px; background: #f4f7f9; }
.atemp-theme .email-template-page .email-mini-top { height: 17px; margin: -8px -8px 9px; border-radius: 0; background: #173b61; }
.atemp-theme .email-template-page .email-mini-line { height: 4px; margin-bottom: 5px; border-radius: 0; background: #cbd7e0; }
.atemp-theme .email-template-page .email-mini-line.is-strong { width: 78%; background: #7891a7; }
.atemp-theme .email-template-page .email-mini-button { width: 36px; height: 12px; margin: 10px auto 0; border-radius: 2px; background: #2563eb; }
.atemp-theme .email-template-page .email-template-card > .d-flex { grid-column: 2; min-width: 0; }
.atemp-theme .email-template-page .email-template-card h2 { overflow: hidden; margin: 0 0 2px; color: #102c4b; font-size: 10px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.atemp-theme .email-template-page .email-template-card code { display: block; overflow: hidden; color: #68798c; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.atemp-theme .email-template-page .email-template-card .badge { align-self: flex-start; padding: 3px 5px; border: 1px solid #bdd2c5; border-radius: 10px; background: #e7f6ed !important; color: #17603b !important; font-size: 7px; }
.atemp-theme .email-template-page .email-template-card > p { grid-column: 2; display: -webkit-box; overflow: hidden; margin: 0; color: #526174; font-size: 8px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.atemp-theme .email-template-page .email-template-card > p i { margin-right: 4px; color: #315d85; }
.atemp-theme .email-template-page .email-template-sender { grid-column: 2; display: flex; min-height: 25px; padding: 4px 6px; align-items: center; gap: 4px; border: 1px solid #c8d5df; border-radius: 2px; background: #f4f8fb; color: #31516e; font-size: 8px; font-weight: 700; }
.atemp-theme .email-template-page .email-template-actions { grid-column: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.atemp-theme .email-template-page .email-template-actions .btn { min-height: 30px; padding: 4px 6px; border-radius: 2px; font-size: 8px; }
.atemp-theme .email-template-page .email-side-panel { position: sticky; top: 58px; overflow: hidden; border: 1px solid #afbfce !important; border-radius: 4px !important; background: #fff; box-shadow: 0 2px 7px rgba(15,23,42,.055) !important; }
.atemp-theme .email-template-page .email-side-panel .card-header { min-height: 46px; padding: 8px 9px; border-color: #c8d3dc; background: #eaf1f7 !important; }
.atemp-theme .email-template-page .email-side-panel .card-header h2 { color: #10243c; font-size: 11px !important; font-weight: 750; }
.atemp-theme .email-template-page .email-side-panel .card-header p { font-size: 8px; }
.atemp-theme .email-template-page .email-side-panel .card-body { padding: 8px !important; }
.atemp-theme .email-template-page .email-side-panel .form-label { color: #2b3d52; font-size: 8px !important; font-weight: 750; }
.atemp-theme .email-template-page .email-side-panel .form-control,
.atemp-theme .email-template-page .email-side-panel .form-select { min-height: 36px; border-color: #aabac8; border-radius: 2px; color: #111827; font-size: 9px; }
.atemp-theme .email-template-page .email-side-panel .btn { min-height: 34px; border-radius: 2px; font-size: 9px; }
.atemp-theme .email-template-page .email-default-smtp-note { margin-bottom: 8px; padding: 6px 7px; border-radius: 2px; background: #eaf3fb; color: #284b69; font-size: 8px; }
.atemp-theme .email-template-page .email-default-smtp-note a { float: right; font-weight: 800; }
.atemp-theme .email-template-page .email-smtp-routing-form { display: grid; gap: 6px; }
.atemp-theme .email-template-page .email-routing-row { display: grid; gap: 3px; }
.atemp-theme .email-template-page .email-routing-row label { overflow: hidden; margin: 0; color: #263c52; font-size: 8px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.atemp-theme .email-template-page .process-chip-row { display: flex; max-height: 96px; overflow-y: auto; flex-wrap: wrap; gap: 3px; }
.atemp-theme .email-template-page .process-chip { padding: 3px 5px; border: 1px solid #c4d1db; border-radius: 2px; background: #f4f7f9; color: #405970; font-size: 7px; }
.atemp-theme .email-template-page .email-side-panel table td { padding: 6px 8px; border-color: #dbe3ea; font-size: 8px; }
.atemp-theme .email-template-page .email-side-panel table .fw-semibold { overflow: hidden; max-width: 210px; color: #172033; text-overflow: ellipsis; white-space: nowrap; }
.atemp-theme .email-template-page .email-side-panel table .text-muted { display: block; overflow: hidden; max-width: 210px; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.atemp-theme .email-template-page .email-side-panel table .badge { padding: 3px 5px; border-radius: 9px; font-size: 7px; }
.atemp-theme .email-template-page ~ .app-modal .email-template-editor { min-height: 310px; padding: 9px; border-color: #9fb1c0; border-radius: 2px; background: #101b2a; color: #e7edf3; font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: 10px; line-height: 1.45; }
.atemp-theme .email-template-page ~ .app-modal .form-label { color: #293b50; font-size: 9px; font-weight: 700; }
.atemp-theme .email-template-page ~ .app-modal .form-control,
.atemp-theme .email-template-page ~ .app-modal .form-select { min-height: 38px; border-color: #aabac8; border-radius: 2px; color: #111827; font-size: 10px; }

@media (max-width: 768px) {
  .atemp-theme .profile-manager.email-template-page { display: block !important; padding: 0 !important; }
  .atemp-theme .email-template-page .email-template-hero { display: flex !important; min-height: 0 !important; padding: 9px !important; grid-template-columns: none !important; align-items: center !important; gap: 6px !important; }
  .atemp-theme .email-template-page .email-template-hero h1 { font-size: 16px !important; }
  .atemp-theme .email-template-page .email-template-hero p { display: none; }
  .atemp-theme .email-template-page .email-template-hero-actions { flex-wrap: nowrap; gap: 3px; }
  .atemp-theme .email-template-page .email-template-hero-actions > span { min-height: 27px; padding: 4px 5px; font-size: 7px; }
  .atemp-theme .email-template-page .email-template-hero-actions > span:nth-child(2),
  .atemp-theme .email-template-page .email-template-hero-actions > span:nth-child(3) { display: none; }
  .atemp-theme .email-template-page .email-template-hero-actions .btn { width: 31px; min-width: 31px; padding: 0; font-size: 0; }
  .atemp-theme .email-template-page .email-template-hero-actions .btn i { margin: 0; font-size: 14px; }
  .atemp-theme .email-template-page .email-template-layout { display: flex; flex-direction: column; gap: 7px; }
  .atemp-theme .email-template-page .email-template-list { display: grid !important; width: 100%; grid-template-columns: 1fr !important; gap: 6px; order: 1; }
  .atemp-theme .profile-manager.email-template-page .email-template-card { display: grid !important; width: 100% !important; min-width: 0 !important; min-height: 101px !important; grid-template-columns: 66px minmax(0,1fr) !important; padding: 7px !important; }
  .atemp-theme .email-template-page .email-template-mini { width: 66px; height: 82px; }
  .atemp-theme .email-template-page .email-template-actions .btn { min-height: 31px; }
  .atemp-theme .email-template-page .email-side-panel { position: static; width: 100%; order: 2; }
  .atemp-theme .email-template-page .email-side-panel .process-chip-row { max-height: 74px; }
  .atemp-theme .email-template-page ~ .app-modal .app-modal-dialog { width: 100%; max-height: calc(100dvh - 72px - env(safe-area-inset-bottom)) !important; }
  .atemp-theme .email-template-page ~ .app-modal .app-modal-body { padding: 8px; }
  .atemp-theme .email-template-page ~ .app-modal .email-template-editor { min-height: 250px; font-size: 9px; }
  .atemp-theme .email-template-page ~ .app-modal .row > [class*="col-"] { width: 100%; }
}

/* Readability pass: keep compact layouts without micro typography. */
body.atemp-theme .app-main .form-label { font-size: 11px !important; }
body.atemp-theme .app-main .form-control,
body.atemp-theme .app-main .form-select { font-size: 12px !important; }
body.atemp-theme .app-main .btn { font-size: 11px !important; }
body.atemp-theme .app-main .badge { font-size: 10px !important; }
body.atemp-theme .app-main table th { font-size: 10px !important; }
body.atemp-theme .app-main table td { font-size: 11px !important; }
body.atemp-theme .app-main table td strong { font-size: 11px !important; }
body.atemp-theme .app-main table td small,
body.atemp-theme .app-main table td span,
body.atemp-theme .app-main table td em { font-size: 10px !important; }
body.atemp-theme .app-main .form-text,
body.atemp-theme .app-main small { font-size: 10px !important; }
body.atemp-theme .app-main .permission-eyebrow,
body.atemp-theme .app-main [class*="kicker"] { font-size: 10px !important; }
body.atemp-theme .app-main [class*="status"] { font-size: 10px; }

/* Email templates: clean inbox-style rows. */
.atemp-theme .email-template-page .email-template-list { display: flex; flex-direction: column; gap: 7px; }
.atemp-theme .profile-manager.email-template-page .email-template-card {
  display: grid !important; grid-template-columns: minmax(0,1fr) 156px !important; grid-template-rows: auto auto;
  min-height: 82px !important; padding: 11px 12px !important; gap: 7px 14px !important;
  border: 1px solid #aebfce !important; border-left: 4px solid #315d85 !important; border-top-width: 1px !important;
  border-radius: 4px !important; background: #fff !important;
}
.atemp-theme .email-template-page .email-template-mini { display: none !important; }
.atemp-theme .email-template-page .email-template-card > .d-flex { grid-row: 1; grid-column: 1; align-items: flex-start; }
.atemp-theme .email-template-page .email-template-card h2 { margin-bottom: 3px; color: #10243c; font-size: 14px !important; }
.atemp-theme .email-template-page .email-template-card code { display: inline-block; padding: 2px 5px; border: 1px solid #c8d4de; border-radius: 2px; background: #f2f6f9; color: #496176; font-size: 10px !important; }
.atemp-theme .email-template-page .email-template-card .badge { padding: 4px 7px; font-size: 10px !important; }
.atemp-theme .email-template-page .email-template-card > p { grid-row: 2; grid-column: 1; display: block; overflow: hidden; color: #43566b; font-size: 11px !important; text-overflow: ellipsis; white-space: nowrap; }
.atemp-theme .email-template-page .email-template-actions { grid-row: 1/3; grid-column: 2; display: grid; grid-template-columns: 1fr 1fr; align-self: center; gap: 5px; }
.atemp-theme .email-template-page .email-template-actions .btn { min-height: 36px; font-size: 11px !important; }
.atemp-theme .email-template-page .email-side-panel .card-header h2 { font-size: 13px !important; }
.atemp-theme .email-template-page .email-side-panel .card-header p { font-size: 10px !important; }
.atemp-theme .email-template-page .process-chip { font-size: 9px !important; }
.atemp-theme .email-template-page .email-side-panel table .fw-semibold { font-size: 11px !important; }
.atemp-theme .email-template-page .email-side-panel table .text-muted { font-size: 9px !important; }

@media (max-width: 768px) {
  body.atemp-theme .app-main .btn { font-size: 11px !important; }
  body.atemp-theme .app-main table td::before { font-size: 9px !important; }
  .atemp-theme .profile-manager.email-template-page .email-template-card {
    display: grid !important; grid-template-columns: minmax(0,1fr) !important; grid-template-rows: auto auto auto !important;
    min-height: 0 !important; padding: 9px !important; gap: 7px !important;
  }
  .atemp-theme .email-template-page .email-template-card > .d-flex { grid-row: 1; grid-column: 1; }
  .atemp-theme .email-template-page .email-template-card > p { grid-row: 2; grid-column: 1; white-space: normal; line-height: 1.4; }
  .atemp-theme .email-template-page .email-template-actions { grid-row: 3; grid-column: 1; }
  .atemp-theme .email-template-page .email-template-actions .btn { min-height: 38px; }
  body.atemp-theme .app-main .btn.btn-icon,
  body.atemp-theme .app-main .email-template-hero-actions .btn,
  body.atemp-theme .app-main .assignment-change-actions .btn,
  body.atemp-theme .app-main .assignment-transfer-controls .btn,
  body.atemp-theme .app-main .result-announce-card .candidate-table-head .btn,
  body.atemp-theme .app-main .roles-page-head .btn,
  body.atemp-theme .app-main .permission-head .btn { font-size: 0 !important; }
}

/* Final calling-staff precedence: legacy component CSS must not repaint this area. */
body.atemp-theme .app-main .mobile-panel-hero { min-height: 0 !important; padding: 20px 22px !important; border: 1px solid #183e63 !important; border-radius: 5px !important; background: linear-gradient(120deg,#0d2036,#173d62) !important; color: #fff !important; }
body.atemp-theme .app-main .mobile-panel-hero h1 { color: #fff !important; }
body.atemp-theme .app-main .mobile-panel-hero p { color: #c8d8e8 !important; }
body.atemp-theme .app-main .mobile-panel-stats { display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)) !important; gap: 9px !important; }
body.atemp-theme .app-main .panel-stat-tile { min-height: 70px !important; border: 1px solid #afbfcd !important; border-radius: 4px !important; background: #fff !important; color: #17263a !important; box-shadow: 0 2px 7px rgba(16,36,60,.05) !important; }
body.atemp-theme .app-main .mobile-panel-card,
body.atemp-theme .app-main .calling-table-card { border: 1px solid #afbfcd !important; border-radius: 4px !important; background: #fff !important; color: #17263a !important; box-shadow: 0 2px 8px rgba(16,36,60,.05) !important; }
body.atemp-theme .app-main .panel-work-table thead th,
body.atemp-theme .app-main .calling-premium-table thead th { background: #173d62 !important; color: #fff !important; }
body.atemp-theme .app-main .panel-work-table tbody tr:nth-child(even) td,
body.atemp-theme .app-main .calling-premium-table tbody tr:nth-child(even) td,
body.atemp-theme .app-main .calling-premium-table tbody tr:nth-child(even) th { background: #f3f7fa !important; }
body.atemp-theme .app-main .panel-work-table tbody td,
body.atemp-theme .app-main .calling-premium-table tbody td,
body.atemp-theme .app-main .calling-premium-table tbody th { color: #17263a !important; }
body.atemp-theme .app-main .calling-process-top { border: 1px solid #173d62 !important; border-radius: 4px !important; background: #102c49 !important; color: #fff !important; }
body.atemp-theme .app-main .staff-profiles-page > .profile-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 10px !important; }
body.atemp-theme .app-main .staff-profiles-page .profile-card { border: 1px solid #afbfcd !important; border-top: 3px solid #286696 !important; border-radius: 4px !important; background: #fff !important; }

@media (max-width: 768px) {
  body.atemp-theme .app-main .mobile-panel-shell,
  body.atemp-theme .app-main .calling-process-page { display: block !important; padding: 7px 7px 78px !important; }
  body.atemp-theme .app-main .mobile-panel-hero { padding: 12px !important; border-radius: 3px !important; }
  body.atemp-theme .app-main .mobile-panel-stats { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 5px !important; }
  body.atemp-theme .app-main .panel-stat-tile { min-height: 56px !important; padding: 7px !important; }
  body.atemp-theme .app-main .mobile-panel-card,
  body.atemp-theme .app-main .calling-table-card { padding: 9px !important; border-radius: 3px !important; }
  body.atemp-theme .app-main .panel-work-table-wrap { display: none !important; }
  body.atemp-theme .app-main .panel-work-mobile-list { display: grid !important; gap: 6px !important; }
  body.atemp-theme .app-main .panel-work-queue-card { padding: 9px !important; border: 1px solid #aebfce !important; border-left: 3px solid #286696 !important; border-radius: 3px !important; background: #fff !important; }
  body.atemp-theme .app-main .staff-profiles-page > .profile-grid { grid-template-columns: 1fr !important; gap: 6px !important; }
  body.atemp-theme .app-main .calling-form-grid { grid-template-columns: 1fr !important; }
}

/* Work page final layout repair — keep every desktop section in one vertical flow. */
@media (min-width: 769px) {
  body.atemp-theme .app-main .panel-work-shell {
    display: flex !important; width: 100% !important; max-width: none !important;
    flex-direction: column !important; gap: 10px !important;
  }
  body.atemp-theme .app-main .panel-work-shell > * { width: 100% !important; margin: 0 !important; }
  body.atemp-theme .app-main .panel-work-shell .mobile-panel-hero { display: none !important; }
  body.atemp-theme .app-main .panel-work-shell .panel-work-view-tabs {
    display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    gap: 7px !important; order: initial !important;
  }
  body.atemp-theme .app-main .panel-work-shell .panel-work-view-tabs a {
    display: grid !important; min-width: 0 !important; min-height: 54px !important;
    padding: 8px 12px !important; grid-template-columns: 28px minmax(0,1fr) auto !important;
    align-items: center !important; gap: 7px !important;
  }
  body.atemp-theme .app-main .panel-work-shell .panel-work-view-tabs a i { font-size: 17px !important; }
  body.atemp-theme .app-main .panel-work-shell .panel-work-view-tabs a span {
    overflow: hidden; font-size: 12px !important; text-overflow: ellipsis; white-space: nowrap;
  }
  body.atemp-theme .app-main .panel-work-shell .panel-work-view-tabs a strong { font-size: 17px !important; }
  body.atemp-theme .app-main .panel-work-shell .panel-work-priority {
    display: block !important; width: 100% !important; padding: 12px !important;
    border: 1px solid #9eb3c4 !important; border-left: 4px solid #286696 !important;
    background: #eef4f8 !important;
  }
  body.atemp-theme .app-main .panel-work-shell .panel-work-priority-head {
    display: grid !important; margin-bottom: 9px !important;
    grid-template-columns: minmax(260px,.8fr) minmax(440px,1.2fr) !important;
    align-items: center !important; gap: 14px !important;
  }
  body.atemp-theme .app-main .panel-work-shell .panel-work-priority-head h2 { margin: 2px 0 !important; font-size: 17px !important; }
  body.atemp-theme .app-main .panel-work-shell .panel-work-priority-head p { margin: 0 !important; font-size: 11px !important; }
  body.atemp-theme .app-main .panel-work-shell .panel-work-priority-stats {
    display: grid !important; margin: 0 !important; grid-template-columns: repeat(4,minmax(0,1fr)) !important; gap: 6px !important;
  }
  body.atemp-theme .app-main .panel-work-shell .panel-work-priority-stats span {
    min-height: 46px !important; padding: 6px 8px !important; border: 1px solid #c5d2dc;
    border-radius: 3px !important; background: #fff !important; color: #536679 !important; font-size: 9px !important;
  }
  body.atemp-theme .app-main .panel-work-shell .panel-work-priority-stats strong { color: #10243c !important; font-size: 15px !important; }
  body.atemp-theme .app-main .panel-work-shell .today-interview-grid {
    display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 7px !important;
  }
  body.atemp-theme .app-main .panel-work-shell .today-interview-card {
    min-width: 0 !important; min-height: 68px !important; padding: 7px !important;
    grid-template-columns: 118px minmax(0,1fr) 18px !important; border-radius: 3px !important;
  }
  body.atemp-theme .app-main .panel-work-shell .today-interview-time { min-width: 0 !important; padding: 6px !important; border-radius: 3px !important; }
  body.atemp-theme .app-main .panel-work-shell .today-interview-time strong { font-size: 11px !important; }
  body.atemp-theme .app-main .panel-work-shell .today-interview-main { min-width: 0; }
  body.atemp-theme .app-main .panel-work-shell .today-interview-main h3,
  body.atemp-theme .app-main .panel-work-shell .today-interview-main p,
  body.atemp-theme .app-main .panel-work-shell .today-interview-main em {
    display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  body.atemp-theme .app-main .panel-work-shell .today-interview-main h3 { font-size: 12px !important; }
  body.atemp-theme .app-main .panel-work-shell #assigned-candidates { margin-top: 2px !important; }
}

/* FINAL process-page redesign (must remain after legacy rules). */
body.atemp-theme .app-main .calling-process-page {
  display: flex !important; width: 100% !important; max-width: none !important; padding: 10px !important;
  flex-direction: column !important; gap: 10px !important; color: #152438 !important;
}
body.atemp-theme .app-main .calling-process-page .calling-process-top {
  position: static !important; display: flex !important; min-height: 44px !important; margin: 0 !important;
  padding: 6px !important; align-items: center !important; gap: 6px !important;
  border: 1px solid #9fb2c2 !important; border-radius: 4px !important; background: #fff !important; box-shadow: none !important;
}
body.atemp-theme .app-main .calling-process-page .calling-process-top .btn { min-height: 32px !important; padding: 6px 10px !important; border-radius: 3px !important; font-size: 12px !important; }
body.atemp-theme .app-main .calling-process-page .calling-desk-header {
  display: grid !important; min-height: 104px !important; margin: 0 !important; padding: 16px 18px !important;
  border: 1px solid #0f3557 !important; border-radius: 5px !important;
  background: linear-gradient(120deg,#0c2036 0%,#174a75 100%) !important;
  grid-template-columns: minmax(0,1fr) auto !important; align-items: center !important; gap: 16px !important;
}
body.atemp-theme .app-main .calling-process-page .calling-desk-header > div:first-child > span {
  display: inline-flex !important; margin: 0 0 5px !important; padding: 4px 7px !important;
  border-radius: 2px !important; background: rgba(255,255,255,.13) !important; color: #d8e8f5 !important;
  font-size: 11px !important; font-weight: 800 !important; text-transform: uppercase;
}
body.atemp-theme .app-main .calling-process-page .calling-desk-header h1 {
  margin: 0 0 4px !important; color: #fff !important; font-size: 24px !important; line-height: 1.15 !important;
}
body.atemp-theme .app-main .calling-process-page .calling-desk-header p { margin: 0 !important; color: #d2e0eb !important; font-size: 13px !important; }
body.atemp-theme .app-main .calling-process-page .calling-desk-actions { display: flex !important; width: auto !important; flex-wrap: wrap !important; justify-content: flex-end !important; gap: 6px !important; }
body.atemp-theme .app-main .calling-process-page .calling-desk-actions form { width: auto !important; margin: 0 !important; }
body.atemp-theme .app-main .calling-process-page .calling-desk-actions .btn {
  width: auto !important; min-height: 38px !important; padding: 7px 11px !important; border-radius: 3px !important; font-size: 12px !important; font-weight: 700 !important;
}
body.atemp-theme .app-main .calling-process-page .calling-table-layout {
  display: grid !important; width: 100% !important; margin: 0 !important;
  grid-template-columns: minmax(320px,.8fr) minmax(520px,1.2fr) !important; align-items: start !important; gap: 10px !important;
}
body.atemp-theme .app-main .calling-process-page .calling-table-layout > :nth-child(1) { grid-column: 1 !important; grid-row: 1 !important; }
body.atemp-theme .app-main .calling-process-page .calling-table-layout > :nth-child(2) { grid-column: 2 !important; grid-row: 1 !important; }
body.atemp-theme .app-main .calling-process-page .calling-table-layout > :nth-child(3) { grid-column: 1 !important; grid-row: 2 !important; }
body.atemp-theme .app-main .calling-process-page .calling-table-layout > :nth-child(4) { grid-column: 2 !important; grid-row: 2 / span 2 !important; }
body.atemp-theme .app-main .calling-process-page .calling-table-layout > :nth-child(5) { grid-column: 1 !important; grid-row: 3 !important; }
body.atemp-theme .app-main .calling-process-page .calling-table-card {
  width: 100% !important; margin: 0 !important; padding: 13px !important; overflow: hidden !important;
  border: 1px solid #9fb2c2 !important; border-radius: 4px !important; background: #fff !important;
  color: #152438 !important; box-shadow: 0 3px 9px rgba(15,35,55,.06) !important;
}
body.atemp-theme .app-main .calling-process-page .calling-table-title {
  display: flex !important; min-height: 38px !important; margin: 0 0 10px !important; padding: 0 0 9px !important;
  align-items: center !important; justify-content: space-between !important; gap: 8px !important; border-bottom: 1px solid #c5d2dc !important;
}
body.atemp-theme .app-main .calling-process-page .calling-table-title span { margin: 0 !important; padding: 0 !important; background: transparent !important; color: #27618e !important; font-size: 11px !important; font-weight: 800 !important; }
body.atemp-theme .app-main .calling-process-page .calling-table-title h2 { margin: 2px 0 0 !important; color: #10243c !important; font-size: 17px !important; line-height: 1.15 !important; }
body.atemp-theme .app-main .calling-process-page .calling-table-title em { padding: 4px 7px !important; border-radius: 2px !important; background: #e7eff6 !important; color: #2c4e69 !important; font-size: 11px !important; font-style: normal !important; }
body.atemp-theme .app-main .calling-process-page .call-attempt-button {
  display: flex !important; width: 100% !important; min-height: 56px !important; padding: 10px !important;
  align-items: center !important; justify-content: center !important; gap: 8px !important;
  border: 0 !important; border-radius: 3px !important; background: #174a75 !important; color: #fff !important;
}
body.atemp-theme .app-main .calling-process-page .call-attempt-button:disabled { background: #b9c5cf !important; color: #3e5061 !important; }
body.atemp-theme .app-main .calling-process-page .call-attempt-button i { font-size: 20px !important; }
body.atemp-theme .app-main .calling-process-page .call-attempt-button strong { font-size: 14px !important; }
body.atemp-theme .app-main .calling-process-page .call-attempt-hint { margin: 8px 0 0 !important; color: #526579 !important; font-size: 12px !important; line-height: 1.45 !important; }
body.atemp-theme .app-main .calling-process-page .table-responsive { width: 100% !important; overflow: visible !important; }
body.atemp-theme .app-main .calling-process-page .calling-premium-table { width: 100% !important; min-width: 0 !important; table-layout: fixed !important; border: 1px solid #b3c2ce !important; }
body.atemp-theme .app-main .calling-process-page .calling-premium-table thead th { padding: 9px 10px !important; background: #173d62 !important; color: #fff !important; font-size: 11px !important; }
body.atemp-theme .app-main .calling-process-page .calling-premium-table tbody th,
body.atemp-theme .app-main .calling-process-page .calling-premium-table tbody td {
  padding: 9px 10px !important; border-color: #cbd6df !important; color: #17263a !important;
  font-size: 12px !important; line-height: 1.35 !important; overflow-wrap: anywhere;
}
body.atemp-theme .app-main .calling-process-page .calling-status-table tbody th { width: 36% !important; background: #edf3f7 !important; color: #344d64 !important; font-weight: 750 !important; }
body.atemp-theme .app-main .calling-process-page .calling-status-table tbody td { width: 64% !important; font-weight: 650 !important; }
body.atemp-theme .app-main .calling-process-page .process-chip { padding: 4px 7px !important; border-radius: 2px !important; font-size: 11px !important; }
body.atemp-theme .app-main .calling-process-page .calling-disposition-card { border-top: 4px solid #286696 !important; }
body.atemp-theme .app-main .calling-process-page .calling-form-grid { display: grid !important; width: 100% !important; grid-template-columns: 1fr !important; gap: 10px !important; }
body.atemp-theme .app-main .calling-process-page .call-interview-schedule-field:not(.is-hidden) { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
body.atemp-theme .app-main .calling-process-page .form-label { margin-bottom: 5px !important; color: #263d54 !important; font-size: 12px !important; font-weight: 750 !important; }
body.atemp-theme .app-main .calling-process-page .form-control,
body.atemp-theme .app-main .calling-process-page .form-select { min-height: 42px !important; padding: 8px 10px !important; border: 1px solid #9fb2c2 !important; border-radius: 3px !important; color: #111827 !important; font-size: 13px !important; }
body.atemp-theme .app-main .calling-process-page textarea.form-control { min-height: 90px !important; }
body.atemp-theme .app-main .calling-process-page .calling-disposition-actions { display: flex !important; margin-top: 11px !important; padding-top: 10px !important; gap: 7px !important; }
body.atemp-theme .app-main .calling-process-page .calling-disposition-actions .btn { min-height: 40px !important; padding: 8px 12px !important; border-radius: 3px !important; font-size: 12px !important; }

@media (max-width: 768px) {
  body.atemp-theme .app-main .calling-process-page { display: block !important; padding: 6px 6px 78px !important; }
  body.atemp-theme .app-main .calling-process-page > * { margin-bottom: 7px !important; }
  body.atemp-theme .app-main .calling-process-page .calling-process-top { position: sticky !important; top: 52px !important; z-index: 20 !important; }
  body.atemp-theme .app-main .calling-process-page .calling-process-top .btn { flex: 1 1 0; font-size: 11px !important; }
  body.atemp-theme .app-main .calling-process-page .calling-desk-header { display: block !important; min-height: 0 !important; padding: 11px !important; }
  body.atemp-theme .app-main .calling-process-page .calling-desk-header h1 { font-size: 19px !important; }
  body.atemp-theme .app-main .calling-process-page .calling-desk-header p { font-size: 11px !important; }
  body.atemp-theme .app-main .calling-process-page .calling-desk-actions { display: grid !important; margin-top: 9px !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 5px !important; }
  body.atemp-theme .app-main .calling-process-page .calling-desk-actions form,
  body.atemp-theme .app-main .calling-process-page .calling-desk-actions .btn { width: 100% !important; }
  body.atemp-theme .app-main .calling-process-page .calling-desk-actions .btn { min-height: 38px !important; padding: 6px !important; font-size: 11px !important; }
  body.atemp-theme .app-main .calling-process-page .calling-table-layout { display: block !important; }
  body.atemp-theme .app-main .calling-process-page .calling-table-layout > * { width: 100% !important; margin-bottom: 7px !important; }
  body.atemp-theme .app-main .calling-process-page .calling-table-card { padding: 9px !important; }
  body.atemp-theme .app-main .calling-process-page .calling-table-title h2 { font-size: 15px !important; }
  body.atemp-theme .app-main .calling-process-page .calling-table-title span,
  body.atemp-theme .app-main .calling-process-page .calling-table-title em { font-size: 10px !important; }
  body.atemp-theme .app-main .calling-process-page .calling-premium-table tbody th,
  body.atemp-theme .app-main .calling-process-page .calling-premium-table tbody td { padding: 8px 7px !important; font-size: 11px !important; }
  body.atemp-theme .app-main .calling-process-page .calling-process-status-table th:nth-child(1) { width: 36% !important; }
  body.atemp-theme .app-main .calling-process-page .calling-process-status-table th:nth-child(2) { width: 25% !important; }
  body.atemp-theme .app-main .calling-process-page .calling-process-status-table th:nth-child(3) { width: 39% !important; }
  body.atemp-theme .app-main .calling-process-page .calling-form-grid,
  body.atemp-theme .app-main .calling-process-page .call-interview-schedule-field:not(.is-hidden),
  body.atemp-theme .app-main .calling-process-page .interview-result-grid { grid-template-columns: 1fr !important; }
  body.atemp-theme .app-main .calling-process-page .form-control,
  body.atemp-theme .app-main .calling-process-page .form-select { font-size: 13px !important; }
  body.atemp-theme .app-main .calling-process-page .calling-disposition-actions { display: grid !important; grid-template-columns: 1fr !important; }
  body.atemp-theme .app-main .calling-process-page .calling-disposition-actions .btn { width: 100% !important; min-height: 42px !important; }
  body.atemp-theme .app-main .calling-process-page .app-modal-dialog { max-height: calc(100dvh - 78px) !important; margin: auto 5px 72px !important; }
}

/* FINAL account profile layout and readable typography. */
body.atemp-theme .app-main .account-profile-page { display: block !important; width: 100% !important; padding: 10px !important; color: #17263a !important; }
body.atemp-theme .app-main .account-profile-page > .profile-head {
  display: flex !important; min-height: 78px !important; margin: 0 0 10px !important; padding: 13px 15px !important;
  align-items: center !important; justify-content: space-between !important; gap: 12px !important;
  border: 1px solid #173d62 !important; border-left: 4px solid #3181bd !important; border-radius: 4px !important;
  background: linear-gradient(115deg,#10243c,#174a75) !important; color: #fff !important;
}
body.atemp-theme .app-main .account-profile-page > .profile-head .permission-eyebrow { color: #a9d8f7 !important; font-size: 11px !important; }
body.atemp-theme .app-main .account-profile-page > .profile-head h1 { margin: 3px 0 2px !important; color: #fff !important; font-size: 23px !important; }
body.atemp-theme .app-main .account-profile-page > .profile-head p { margin: 0 !important; color: #d2e0eb !important; font-size: 12px !important; }
body.atemp-theme .app-main .account-profile-page > .profile-head .badge { min-height: 30px; padding: 6px 9px !important; border-color: rgba(255,255,255,.35) !important; background: rgba(255,255,255,.12) !important; color: #fff !important; font-size: 11px !important; }
body.atemp-theme .app-main .account-profile-page > .row { display: grid !important; margin: 0 !important; grid-template-columns: 285px minmax(0,1fr) !important; gap: 10px !important; }
body.atemp-theme .app-main .account-profile-page > .row > [class*="col-"] { width: 100% !important; max-width: none !important; padding: 0 !important; }
body.atemp-theme .app-main .account-profile-page > .row > .col-xl-4 { position: sticky !important; top: 58px !important; display: block !important; align-self: start !important; }
body.atemp-theme .app-main .account-profile-page .card { margin-bottom: 9px !important; border: 1px solid #9fb2c2 !important; border-radius: 4px !important; background: #fff !important; box-shadow: 0 2px 8px rgba(16,36,60,.06) !important; }
body.atemp-theme .app-main .account-profile-page .profile-card { display: block !important; min-height: 0 !important; border-top: 4px solid #286696 !important; }
body.atemp-theme .app-main .account-profile-page .profile-card .card-body { display: block !important; padding: 15px !important; text-align: center !important; background: linear-gradient(180deg,#eaf2f8,#fff 68%) !important; }
body.atemp-theme .app-main .account-profile-page .profile-photo-preview,
body.atemp-theme .app-main .account-profile-page .profile-avatar { display: grid !important; width: 76px !important; height: 76px !important; margin: 0 auto 10px !important; place-items: center; border: 3px solid #fff !important; border-radius: 50% !important; background: #174a75 !important; color: #fff !important; font-size: 25px !important; box-shadow: 0 0 0 1px #9fb2c2 !important; }
body.atemp-theme .app-main .account-profile-page .profile-card h2 { margin: 0 0 4px !important; color: #10243c !important; font-size: 17px !important; overflow-wrap: anywhere; }
body.atemp-theme .app-main .account-profile-page .profile-card p { margin-bottom: 10px !important; color: #526579 !important; font-size: 12px !important; overflow-wrap: anywhere; }
body.atemp-theme .app-main .account-profile-page .profile-card .text-muted.small { font-size: 11px !important; }
body.atemp-theme .app-main .account-profile-page .col-xl-4 .card-body { padding: 12px !important; }
body.atemp-theme .app-main .account-profile-page .col-xl-4 .card h2.h6 { color: #10243c !important; font-size: 14px !important; }
body.atemp-theme .app-main .account-profile-page .profile-info-row { display: grid !important; padding: 8px 0 !important; grid-template-columns: 92px minmax(0,1fr) !important; gap: 7px !important; font-size: 11px !important; }
body.atemp-theme .app-main .account-profile-page .profile-info-row span { color: #5b6e81 !important; font-size: 11px !important; }
body.atemp-theme .app-main .account-profile-page .profile-info-row strong { color: #17263a !important; font-size: 11px !important; overflow-wrap: anywhere; }
body.atemp-theme .app-main .account-profile-page .col-xl-8 > .card { margin: 0 !important; }
body.atemp-theme .app-main .account-profile-page .col-xl-8 > .card > .card-body { padding: 12px !important; }
body.atemp-theme .app-main .account-profile-page .profile-form-section { margin-bottom: 9px !important; padding: 11px !important; border: 1px solid #afbfcd !important; border-radius: 3px !important; background: #fff !important; }
body.atemp-theme .app-main .account-profile-page .profile-form-section .section-title { min-height: 45px !important; margin: -11px -11px 11px !important; padding: 8px 10px !important; border-bottom: 1px solid #b9c7d2 !important; background: #e8f0f6 !important; }
body.atemp-theme .app-main .account-profile-page .profile-form-section .section-title > i { width: 29px !important; height: 29px !important; flex-basis: 29px !important; border-radius: 3px !important; background: #173d62 !important; font-size: 15px !important; }
body.atemp-theme .app-main .account-profile-page .profile-form-section .section-title h2 { color: #10243c !important; font-size: 14px !important; }
body.atemp-theme .app-main .account-profile-page .profile-form-section .section-title p { display: block; color: #5a6d80 !important; font-size: 10px !important; }
body.atemp-theme .app-main .account-profile-page .form-label { margin-bottom: 4px !important; color: #293e53 !important; font-size: 12px !important; }
body.atemp-theme .app-main .account-profile-page .form-control,
body.atemp-theme .app-main .account-profile-page .form-select { min-height: 41px !important; padding: 8px 10px !important; border-color: #9fb2c2 !important; border-radius: 3px !important; color: #111827 !important; font-size: 13px !important; }
body.atemp-theme .app-main .account-profile-page .form-text { color: #637486 !important; font-size: 10px !important; }
body.atemp-theme .app-main .account-profile-page textarea.form-control { min-height: 86px !important; }
body.atemp-theme .app-main .account-profile-page .account-profile-save { position: sticky !important; right: auto !important; bottom: 7px !important; left: auto !important; padding: 7px !important; border: 1px solid #9fb2c2 !important; border-left: 4px solid #286696 !important; border-radius: 3px !important; background: rgba(255,255,255,.97) !important; }
body.atemp-theme .app-main .account-profile-page .account-profile-save .btn { min-width: 150px; min-height: 40px !important; border-radius: 3px !important; background: #173d62 !important; font-size: 12px !important; }

@media (max-width: 768px) {
  body.atemp-theme .app-main .account-profile-page { padding: 6px 6px 128px !important; }
  body.atemp-theme .app-main .account-profile-page > .profile-head { min-height: 62px !important; margin-bottom: 6px !important; padding: 9px 10px !important; }
  body.atemp-theme .app-main .account-profile-page > .profile-head h1 { font-size: 19px !important; }
  body.atemp-theme .app-main .account-profile-page > .profile-head p { display: none !important; }
  body.atemp-theme .app-main .account-profile-page > .profile-head .badge:first-child { display: none !important; }
  body.atemp-theme .app-main .account-profile-page > .profile-head .badge { min-height: 27px; padding: 5px 7px !important; font-size: 10px !important; }
  body.atemp-theme .app-main .account-profile-page > .row { display: block !important; }
  body.atemp-theme .app-main .account-profile-page > .row > .col-xl-4 { position: static !important; display: block !important; }
  body.atemp-theme .app-main .account-profile-page .col-xl-4 > .card:not(.profile-card) { display: none !important; }
  body.atemp-theme .app-main .account-profile-page .profile-card { margin-bottom: 6px !important; }
  body.atemp-theme .app-main .account-profile-page .profile-card .card-body { display: grid !important; min-height: 86px !important; padding: 10px !important; grid-template-columns: 62px minmax(0,1fr) !important; grid-template-rows: auto auto auto !important; column-gap: 10px !important; align-items: center !important; text-align: left !important; }
  body.atemp-theme .app-main .account-profile-page .profile-photo-preview,
  body.atemp-theme .app-main .account-profile-page .profile-avatar { grid-row: 1/4 !important; width: 58px !important; height: 58px !important; margin: 0 !important; font-size: 20px !important; }
  body.atemp-theme .app-main .account-profile-page .profile-card h2,
  body.atemp-theme .app-main .account-profile-page .profile-card p,
  body.atemp-theme .app-main .account-profile-page .profile-card .profile-progress,
  body.atemp-theme .app-main .account-profile-page .profile-card .text-muted.small { grid-column: 2 !important; min-width: 0 !important; }
  body.atemp-theme .app-main .account-profile-page .profile-card h2 { font-size: 15px !important; }
  body.atemp-theme .app-main .account-profile-page .profile-card p { margin: 1px 0 5px !important; font-size: 11px !important; overflow-wrap: anywhere; }
  body.atemp-theme .app-main .account-profile-page .col-xl-8 > .card { border: 0 !important; background: transparent !important; box-shadow: none !important; }
  body.atemp-theme .app-main .account-profile-page .col-xl-8 > .card > .card-body { padding: 0 !important; }
  body.atemp-theme .app-main .account-profile-page .profile-form-section { margin-bottom: 6px !important; padding: 0 !important; overflow: hidden; }
  body.atemp-theme .app-main .account-profile-page .profile-form-section .section-title { min-height: 48px !important; margin: 0 !important; padding: 8px 38px 8px 8px !important; }
  body.atemp-theme .app-main .account-profile-page .profile-form-section .section-title h2 { font-size: 13px !important; }
  body.atemp-theme .app-main .account-profile-page .profile-form-section .section-title p { display: none !important; }
  body.atemp-theme .app-main .account-profile-page .profile-form-section.is-open > .row { margin: 9px 8px 1px !important; }
  body.atemp-theme .app-main .account-profile-page .profile-form-section.is-open > .form-label { margin: 9px 8px 4px !important; }
  body.atemp-theme .app-main .account-profile-page .profile-form-section.is-open > textarea { width: calc(100% - 16px) !important; margin: 0 8px 8px !important; }
  body.atemp-theme .app-main .account-profile-page .profile-form-section .row > [class*="col-"] { width: 100% !important; padding: 0 !important; }
  body.atemp-theme .app-main .account-profile-page .form-label { font-size: 11px !important; }
  body.atemp-theme .app-main .account-profile-page .form-control,
  body.atemp-theme .app-main .account-profile-page .form-select { min-height: 42px !important; font-size: 13px !important; }
  body.atemp-theme .app-main .account-profile-page .account-profile-form { padding-bottom: 0 !important; }
  body.atemp-theme .app-main .account-profile-page .account-profile-save { position: fixed !important; right: 6px !important; bottom: calc(64px + env(safe-area-inset-bottom)) !important; left: 6px !important; z-index: 1045 !important; margin: 0 !important; }
  body.atemp-theme .app-main .account-profile-page .account-profile-save .btn { width: 100% !important; min-height: 42px !important; font-size: 12px !important; }
}

/* Process mobile overlap repair. */
@media (max-width: 768px) {
  body.atemp-theme .app-main .calling-process-page {
    display: flex !important; padding: 7px 7px 78px !important; flex-direction: column !important;
    gap: 7px !important; overflow: visible !important;
  }
  body.atemp-theme .app-main .calling-process-page > * { margin: 0 !important; }
  body.atemp-theme .app-main .calling-process-page .calling-process-top {
    position: relative !important; top: auto !important; right: auto !important; bottom: auto !important; left: auto !important;
    z-index: 1 !important; display: flex !important; width: 100% !important; min-height: 43px !important;
    margin: 0 !important; padding: 5px !important; transform: none !important;
  }
  body.atemp-theme .app-main .calling-process-page .calling-process-top .btn { min-width: 0 !important; min-height: 33px !important; padding: 5px 7px !important; font-size: 11px !important; }
  body.atemp-theme .app-main .calling-process-page .calling-process-top .btn-warning { display: none !important; }
  body.atemp-theme .app-main .calling-process-page .calling-desk-header {
    position: relative !important; top: auto !important; z-index: 0 !important; display: block !important;
    width: 100% !important; min-height: 132px !important; margin: 0 !important; padding: 12px !important;
    overflow: visible !important; transform: none !important;
  }
  body.atemp-theme .app-main .calling-process-page .calling-desk-header > div:first-child { display: block !important; min-height: 47px !important; margin-bottom: 9px !important; }
  body.atemp-theme .app-main .calling-process-page .calling-desk-header > div:first-child > span { display: inline-flex !important; margin-bottom: 5px !important; font-size: 10px !important; }
  body.atemp-theme .app-main .calling-process-page .calling-desk-header h1 {
    display: block !important; overflow: visible !important; max-width: 100% !important; margin: 0 0 4px !important;
    color: #fff !important; font-size: 19px !important; line-height: 1.2 !important; text-overflow: clip !important; white-space: normal !important; overflow-wrap: anywhere;
  }
  body.atemp-theme .app-main .calling-process-page .calling-desk-header p {
    display: block !important; overflow: visible !important; max-width: 100% !important; color: #d5e3ee !important;
    font-size: 11px !important; line-height: 1.35 !important; text-overflow: clip !important; white-space: normal !important;
  }
  body.atemp-theme .app-main .calling-process-page .calling-desk-actions { display: grid !important; width: 100% !important; margin: 0 !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 5px !important; }
  body.atemp-theme .app-main .calling-process-page .calling-desk-actions > * { min-width: 0 !important; }
  body.atemp-theme .app-main .calling-process-page .calling-table-layout { display: flex !important; width: 100% !important; flex-direction: column !important; gap: 7px !important; }
  body.atemp-theme .app-main .calling-process-page .calling-table-layout > * { margin: 0 !important; }
  body.atemp-theme .app-main .calling-process-page .calling-table-card { overflow: visible !important; }
  body.atemp-theme .app-main .calling-process-page .calling-premium-table tbody th,
  body.atemp-theme .app-main .calling-process-page .calling-premium-table tbody td { font-size: 12px !important; line-height: 1.4 !important; }
  body.atemp-theme .app-main .calling-process-page .calling-status-table tbody th { width: 35% !important; }
  body.atemp-theme .app-main .calling-process-page .calling-status-table tbody td { width: 65% !important; }
  body.atemp-theme .app-main .calling-process-page .call-attempt-hint { font-size: 11px !important; text-align: center; }
}

/* Candidate bulk verification mail. */
.atemp-theme .candidate-unverified-button { position: relative; gap: 5px; border-color: #d5a23c !important; color: #7a4a00 !important; }
.atemp-theme .candidate-unverified-button em { display: inline-grid; min-width: 22px; height: 22px; padding: 0 5px; place-items: center; border-radius: 11px; background: #fff0c8; color: #9a5700; font-size: 10px; font-style: normal; font-weight: 800; }
.atemp-theme .candidate-bulk-mail-modal .app-modal-dialog { width: min(900px,calc(100vw - 24px)); }
.atemp-theme .candidate-bulk-mail-modal .app-modal-body { padding: 11px; }
.atemp-theme .candidate-bulk-mail-tools { display: grid; margin-bottom: 8px; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 7px; }
.atemp-theme .candidate-bulk-mail-search { display: flex; min-height: 39px; padding: 0 10px; align-items: center; gap: 7px; border: 1px solid #9fb2c2; border-radius: 3px; background: #fff; }
.atemp-theme .candidate-bulk-mail-search i { color: #315d85; }
.atemp-theme .candidate-bulk-mail-search input { width: 100%; border: 0; outline: 0; color: #17263a; font-size: 12px; }
.atemp-theme .candidate-bulk-mail-tools > strong { min-width: 92px; color: #31516e; font-size: 11px; text-align: right; }
.atemp-theme .candidate-bulk-mail-list { max-height: min(520px,58vh); overflow-y: auto; border: 1px solid #aebdca; border-radius: 3px; }
.atemp-theme .candidate-bulk-mail-row { display: grid; min-height: 55px; padding: 7px 9px; grid-template-columns: 20px 34px minmax(170px,.9fr) minmax(210px,1.1fr) 145px; align-items: center; gap: 8px; border-bottom: 1px solid #d3dce4; background: #fff; cursor: pointer; }
.atemp-theme .candidate-bulk-mail-row:nth-child(even) { background: #f3f7fa; }
.atemp-theme .candidate-bulk-mail-row:hover { background: #e8f1f8; }
.atemp-theme .candidate-bulk-mail-row[hidden] { display: none !important; }
.atemp-theme .candidate-bulk-mail-avatar { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid #b6c9da; border-radius: 50%; background: #e7f1fa; color: #185181; font-size: 11px; font-weight: 800; }
.atemp-theme .candidate-bulk-mail-person { min-width: 0; }
.atemp-theme .candidate-bulk-mail-person strong,
.atemp-theme .candidate-bulk-mail-person small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.atemp-theme .candidate-bulk-mail-person strong { color: #10243c; font-size: 12px; }
.atemp-theme .candidate-bulk-mail-person small { color: #617285; font-size: 10px; }
.atemp-theme .candidate-bulk-mail-address { overflow: hidden; color: #263f57; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.atemp-theme .candidate-bulk-mail-row > em { color: #68798a; font-size: 10px; font-style: normal; text-align: right; }
.atemp-theme .candidate-bulk-mail-note { margin: 7px 0 0; color: #667789; font-size: 10px; }

@media (max-width: 768px) {
  .atemp-theme .candidates-page .profile-head > .d-flex { grid-template-columns: minmax(105px,1fr) 38px minmax(0,1fr) !important; }
  .atemp-theme .candidate-unverified-button { width: auto; min-width: 0; padding: 0 7px !important; justify-content: center; font-size: 9px !important; white-space: nowrap; }
  .atemp-theme .candidate-unverified-button i { font-size: 15px; }
  .atemp-theme .candidate-unverified-button span { display: inline; }
  .atemp-theme .candidate-unverified-button em { position: absolute; top: -7px; right: -6px; min-width: 17px; height: 17px; padding: 0 3px; font-size: 8px; }
  .atemp-theme .candidate-bulk-mail-modal .app-modal-dialog { width: 100%; max-height: calc(100dvh - 68px) !important; margin-bottom: 64px; }
  .atemp-theme .candidate-bulk-mail-modal .app-modal-header { padding: 9px; }
  .atemp-theme .candidate-bulk-mail-modal .app-modal-header h2 { font-size: 15px; }
  .atemp-theme .candidate-bulk-mail-modal .app-modal-header p { font-size: 10px; }
  .atemp-theme .candidate-bulk-mail-tools { grid-template-columns: 1fr auto; gap: 5px; }
  .atemp-theme .candidate-bulk-mail-search { grid-column: 1/-1; }
  .atemp-theme .candidate-bulk-mail-tools .btn { min-height: 34px; }
  .atemp-theme .candidate-bulk-mail-row { min-height: 67px; padding: 7px; grid-template-columns: 19px 31px minmax(0,1fr) auto; gap: 6px; }
  .atemp-theme .candidate-bulk-mail-avatar { width: 30px; height: 30px; }
  .atemp-theme .candidate-bulk-mail-address { grid-column: 3/5; font-size: 10px; }
  .atemp-theme .candidate-bulk-mail-row > em { grid-column: 4; grid-row: 1; max-width: 78px; font-size: 8px; }
  .atemp-theme .candidate-bulk-mail-modal .app-modal-footer { display: grid; grid-template-columns: auto 1fr; padding: 8px; }
}

/* Dedicated unverified candidate email page. */
.atemp-theme .unverified-email-page { display: block !important; padding: 10px !important; }
.atemp-theme .unverified-email-page > .profile-head { min-height: 74px; margin-bottom: 9px !important; padding: 12px 14px !important; border: 1px solid #173d62 !important; border-left: 4px solid #d99a27 !important; border-radius: 4px !important; background: linear-gradient(115deg,#10243c,#174a75) !important; }
.atemp-theme .unverified-email-page > .profile-head h1 { color: #fff !important; font-size: 21px !important; }
.atemp-theme .unverified-email-page > .profile-head p { color: #d0deea !important; font-size: 11px !important; }
.atemp-theme .unverified-email-page > .profile-head .permission-eyebrow { color: #ffd98b !important; font-size: 10px !important; }
.atemp-theme .unverified-email-page > .profile-head .badge { border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.12) !important; color: #fff !important; }
.atemp-theme .unverified-filter-card,
.atemp-theme .unverified-list-card { margin-bottom: 9px; border: 1px solid #9fb2c2 !important; border-radius: 4px !important; box-shadow: 0 2px 8px rgba(16,36,60,.05) !important; }
.atemp-theme .unverified-view-tabs { display: flex; margin-bottom: 9px; gap: 6px; }
.atemp-theme .unverified-view-tabs a { display: inline-flex; min-height: 37px; padding: 7px 11px; align-items: center; gap: 6px; border: 1px solid #9fb2c2; border-radius: 3px; background: #fff; color: #31516e; font-size: 10px; font-weight: 750; text-decoration: none; }
.atemp-theme .unverified-view-tabs a.is-active { border-color: #173d62; background: #173d62; color: #fff; }
.atemp-theme .unverified-report-stats { display: grid; margin-bottom: 9px; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; }
.atemp-theme .unverified-report-stats > div { display: grid; min-height: 58px; padding: 8px 10px; align-content: center; border: 1px solid #afbfce; border-radius: 3px; background: #fff; }
.atemp-theme .unverified-report-stats strong { color: #153e63; font-size: 17px; }
.atemp-theme .unverified-report-stats span { color: #657688; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.atemp-theme .unverified-filter-card .card-body { padding: 10px !important; }
.atemp-theme .unverified-filter-grid { display: grid; grid-template-columns: 1.2fr 1fr .85fr 125px 92px 38px; align-items: end; gap: 7px; }
.atemp-theme .unverified-filter-grid .form-label { font-size: 11px !important; }
.atemp-theme .unverified-filter-grid .form-control,
.atemp-theme .unverified-filter-grid .form-select { min-height: 39px; border-color: #a3b5c4; border-radius: 3px; font-size: 12px !important; }
.atemp-theme .unverified-filter-grid .btn { min-height: 39px; border-radius: 3px; }
.atemp-theme .unverified-list-card { overflow: hidden; }
.atemp-theme .unverified-list-head { display: flex; min-height: 65px; padding: 10px 12px; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid #b9c7d2; background: #edf3f7; }
.atemp-theme .unverified-list-head h2 { margin: 0 0 2px; color: #10243c; font-size: 16px; }
.atemp-theme .unverified-list-head p { margin: 0; color: #5c6e80; font-size: 10px; }
.atemp-theme .unverified-list-head > div:last-child { display: flex; align-items: center; gap: 6px; }
.atemp-theme .unverified-list-head > div:last-child > strong { min-width: 92px; color: #31516e; font-size: 10px; text-align: center; }
.atemp-theme .unverified-list-head .btn { min-height: 35px; border-radius: 3px; }
.atemp-theme .unverified-table { width: 100%; min-width: 0; table-layout: fixed; }
.atemp-theme .unverified-table th { padding: 9px 10px !important; background: #173d62 !important; color: #fff !important; font-size: 10px !important; }
.atemp-theme .unverified-table th:nth-child(1) { width: 4%; }
.atemp-theme .unverified-table th:nth-child(2) { width: 19%; }
.atemp-theme .unverified-table th:nth-child(3) { width: 25%; }
.atemp-theme .unverified-table th:nth-child(4) { width: 20%; }
.atemp-theme .unverified-table th:nth-child(5) { width: 18%; }
.atemp-theme .unverified-table th:nth-child(6) { width: 14%; }
.atemp-theme .unverified-table td { height: 54px; padding: 8px 10px !important; border-color: #cbd6df !important; color: #17263a !important; font-size: 11px !important; vertical-align: middle; }
.atemp-theme .unverified-table tbody tr:nth-child(even) td { background: #f3f7fa; }
.atemp-theme .unverified-table td strong,
.atemp-theme .unverified-table td small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.atemp-theme .unverified-table td strong { color: #10243c; font-size: 11px !important; }
.atemp-theme .unverified-table td small { color: #667789; font-size: 9px !important; }
.atemp-theme .unverified-table .is-sent,
.atemp-theme .unverified-table .is-never { display: inline-flex; padding: 4px 6px; border-radius: 2px; font-size: 9px; }
.atemp-theme .unverified-table .is-sent { background: #e7f0f7; color: #315d85; }
.atemp-theme .unverified-table .is-never { background: #fff1d8; color: #955c00; }
.atemp-theme .unverified-table .is-mail-sent,
.atemp-theme .unverified-table .is-mail-failed { display: inline-flex; margin-bottom: 3px; padding: 3px 6px; border-radius: 2px; font-size: 9px; font-weight: 800; }
.atemp-theme .unverified-table .is-mail-sent { background: #e5f5eb; color: #17603b; }
.atemp-theme .unverified-table .is-mail-failed { background: #fde8e8; color: #a12626; }
.atemp-theme .unverified-pagination { display: flex; min-height: 52px; padding: 8px 11px; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid #bdc9d3; background: #f7f9fb; }
.atemp-theme .unverified-pagination > span { color: #56697b; font-size: 10px; }
.atemp-theme .unverified-pagination > div { display: flex; align-items: center; gap: 6px; }
.atemp-theme .unverified-pagination strong { color: #263f57; font-size: 10px; }
.atemp-theme .unverified-pagination .btn { min-height: 34px; border-radius: 3px; }

@media (max-width: 768px) {
  .atemp-theme .unverified-email-page { padding: 6px 6px 76px !important; }
  .atemp-theme .unverified-email-page > .profile-head { display: flex !important; min-height: 62px !important; padding: 9px !important; }
  .atemp-theme .unverified-email-page > .profile-head h1 { font-size: 17px !important; }
  .atemp-theme .unverified-email-page > .profile-head p { display: none; }
  .atemp-theme .unverified-email-page > .profile-head .badge { display: none; }
  .atemp-theme .unverified-email-page > .profile-head .btn { width: 34px; min-width: 34px; padding: 0; font-size: 0 !important; }
  .atemp-theme .unverified-email-page > .profile-head .btn i { font-size: 15px; }
  .atemp-theme .unverified-view-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .atemp-theme .unverified-view-tabs a { justify-content: center; padding: 6px; font-size: 9px; }
  .atemp-theme .unverified-report-stats { grid-template-columns: 1fr 1fr; gap: 5px; }
  .atemp-theme .unverified-report-stats > div { min-height: 49px; padding: 6px 8px; }
  .atemp-theme .unverified-filter-card .card-body { padding: 7px !important; }
  .atemp-theme .unverified-filter-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .atemp-theme .unverified-filter-grid > div:first-child { grid-column: 1/-1; }
  .atemp-theme .unverified-filter-grid > div:nth-child(4) { grid-column: 1; }
  .atemp-theme .unverified-list-head { display: block; padding: 8px; }
  .atemp-theme .unverified-list-head > div:last-child { display: grid; margin-top: 7px; grid-template-columns: auto 1fr auto; }
  .atemp-theme .unverified-list-head .btn { padding: 5px 7px; font-size: 10px !important; }
  .atemp-theme .unverified-list-card .table-responsive { overflow: visible; }
  .atemp-theme .unverified-table,
  .atemp-theme .unverified-table tbody { display: block; }
  .atemp-theme .unverified-table thead { display: none; }
  .atemp-theme .unverified-table tr { display: grid; margin: 0 6px 6px; padding: 8px; grid-template-columns: 24px minmax(0,1fr); gap: 4px 7px; border: 1px solid #aebfce; border-left: 3px solid #d49a2c; border-radius: 3px; background: #fff; }
  .atemp-theme .unverified-table td { display: block; width: auto !important; height: auto; padding: 2px 0 !important; border: 0 !important; background: transparent !important; font-size: 11px !important; }
  .atemp-theme .unverified-table td:first-child { grid-row: 1/5; }
  .atemp-theme .unverified-table td:not(:first-child) { grid-column: 2; }
  .atemp-theme .unverified-table td:nth-child(4)::before { content: "Profile: "; color: #68798a; font-size: 9px; }
  .atemp-theme .unverified-table td:nth-child(6) { display: none; }
  .atemp-theme .unverified-pagination { display: grid; justify-content: stretch; text-align: center; }
  .atemp-theme .unverified-pagination > div { justify-content: center; }
}

/* Global high-contrast checkbox and radio controls. */
body.atemp-theme .form-check-input[type="checkbox"] {
  width: 15px !important; min-width: 15px !important; height: 15px !important; margin-top: 0 !important;
  border: 1.5px solid #36526d !important; border-radius: 2px !important; background-color: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(15,35,55,.05) !important; cursor: pointer;
}
body.atemp-theme .form-check-input[type="checkbox"]:hover { border-color: #102f4e !important; background-color: #edf4f9 !important; }
body.atemp-theme .form-check-input[type="checkbox"]:focus { border-color: #174a75 !important; box-shadow: 0 0 0 3px rgba(23,74,117,.18) !important; }
body.atemp-theme .form-check-input[type="checkbox"]:checked {
  border-color: #123b60 !important; background-color: #174a75 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.4' d='m3 8 3 3 7-7'/%3e%3c/svg%3e") !important;
}
body.atemp-theme .form-check-input[type="checkbox"]:indeterminate {
  border-color: #123b60 !important; background-color: #174a75 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath stroke='%23fff' stroke-linecap='round' stroke-width='2.5' d='M3 8h10'/%3e%3c/svg%3e") !important;
}
body.atemp-theme .form-check-input[type="checkbox"]:disabled { border-color: #8798a8 !important; background-color: #dce3e9 !important; cursor: not-allowed; opacity: .75; }
body.atemp-theme .form-check-input[type="radio"] { border: 1.5px solid #36526d !important; background-color: #fff !important; }
body.atemp-theme .form-check-input[type="radio"]:checked { border-color: #174a75 !important; background-color: #174a75 !important; }

@media (max-width: 768px) {
  body.atemp-theme .form-check-input[type="checkbox"] { width: 17px !important; min-width: 17px !important; height: 17px !important; }
}

/* Public email preference page. */
.email-preference-screen { min-height: 100dvh; padding: 18px; background: linear-gradient(135deg,#eaf1f7,#fff 52%,#e8f0f6); }
.email-preference-card { width: min(460px,100%); border: 1px solid #9fb2c2; border-radius: 6px; box-shadow: 0 18px 45px rgba(15,35,55,.14); }
.email-preference-card .card-body { padding: 28px; text-align: center; }
.email-preference-card .auth-brand { display: inline-flex; margin-bottom: 18px; }
.email-preference-icon { display: grid; width: 58px; height: 58px; margin: 0 auto 12px; place-items: center; border-radius: 50%; background: #e5eff7; color: #174a75; font-size: 27px; }
.email-preference-card h1 { margin: 0 0 8px; color: #10243c; font-size: 23px; }
.email-preference-card > .card-body > p { color: #526579; font-size: 13px; }
.email-preference-note { display: flex; margin: 15px 0; padding: 11px; align-items: flex-start; gap: 8px; border: 1px solid #b8c9d6; border-left: 4px solid #286696; border-radius: 3px; background: #edf4f8; color: #344c63; font-size: 11px; line-height: 1.5; text-align: left; }
.email-preference-note i { margin-top: 1px; color: #1f6b9e; font-size: 18px; }
.email-preference-card form .btn { min-height: 43px; border-radius: 3px; font-size: 12px; font-weight: 750; }

@media (max-width: 576px) {
  .email-preference-screen { padding: 0; align-items: stretch; }
  .email-preference-card { width: 100%; min-height: 100dvh; border: 0; border-radius: 0; box-shadow: none; }
  .email-preference-card .card-body { padding: 24px 16px; }
}

/* Campaign lead workspace and admin processing center. */
.lead-hub-page,.lead-center-page{font-size:14px;color:#253a4d}.lead-hub-hero,.lead-center-hero{display:flex;justify-content:space-between;gap:18px;margin-bottom:14px;padding:22px;border-radius:12px;background:linear-gradient(120deg,#0f3558,#176b87);color:#fff}.lead-hub-hero h1,.lead-center-hero h1{margin:3px 0 5px;font-size:26px}.lead-hub-hero p,.lead-center-hero p{margin:0;color:#d8edf5}.lead-wallet-summary,.lead-center-hero>div:last-child{display:flex;min-width:170px;flex-direction:column;justify-content:center;padding:13px 18px;border:1px solid rgba(255,255,255,.25);border-radius:9px;background:rgba(255,255,255,.1)}.lead-wallet-summary strong,.lead-center-hero>div:last-child strong{font-size:25px}.lead-hub-tabs{display:flex;gap:7px;margin-bottom:13px;overflow:auto}.lead-hub-tabs button{padding:10px 15px;border:1px solid #afbecb;border-radius:8px;background:#fff;color:#334c62;font-weight:750}.lead-hub-tabs button.is-active{border-color:#17658c;background:#17658c;color:#fff}.lead-hub-tabs em{padding:1px 6px;border-radius:10px;background:rgba(0,0,0,.1);font-style:normal}.lead-campaign-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:14px}.lead-campaign-card{overflow:hidden;border:1px solid #b8c7d3;border-radius:11px;background:#fff;box-shadow:0 7px 20px rgba(18,51,78,.08)}.lead-campaign-card>img{width:100%;height:190px;object-fit:cover}.lead-campaign-body{padding:16px}.lead-campaign-body h2{margin:4px 0 8px;font-size:20px}.lead-campaign-description{line-height:1.6}.lead-reward-box{display:flex;margin:13px 0;padding:11px;align-items:center;gap:10px;border:1px solid #e2c36b;border-radius:8px;background:#fff9e4}.lead-reward-box i{font-size:25px;color:#ad7200}.lead-reward-box div,.lead-member-table td:first-child{display:flex;flex-direction:column}.lead-share-actions{display:flex;gap:8px}.lead-entry{margin-top:12px;border-top:1px solid #d1dbe3;padding-top:10px}.lead-entry summary,.lead-process summary{cursor:pointer;font-weight:800}.lead-entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:10px 0}.lead-entry label span{display:block;margin-bottom:4px;font-weight:700}.wallet-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:12px}.wallet-stat-grid>div{display:flex;padding:16px;flex-direction:column;border:1px solid #b7c7d4;border-radius:8px;background:#fff}.wallet-stat-grid strong{font-size:20px}.lead-member-table td small,.wallet-transactions td small{display:block;color:#667a8c}.lead-status{display:inline-flex;padding:4px 8px;border-radius:12px;background:#e8eef3;color:#334c62;font-size:12px;font-weight:800}.lead-status.is-approved,.lead-status.is-paid,.lead-status.is-converted{background:#dff5e8;color:#167343}.lead-status.is-rejected{background:#fde7e7;color:#a42b2b}.lead-process form{display:grid;min-width:180px;gap:6px;margin-top:7px}.lead-center-filters{display:grid;grid-template-columns:2fr repeat(3,1fr) auto auto;gap:8px;margin-bottom:13px;padding:12px}.lead-center-list{display:grid;gap:11px}.lead-admin-card{padding:15px}.lead-admin-card header{display:flex;justify-content:space-between;gap:15px}.lead-admin-card header h2{margin:2px 0;font-size:19px}.lead-admin-card header p{margin:0;color:#627587}.lead-admin-card header>div:last-child{display:flex;align-items:flex-end;flex-direction:column;gap:6px}.lead-admin-meta{display:flex;flex-wrap:wrap;gap:9px 18px;margin:11px 0;padding:9px;border-radius:6px;background:#f0f4f7}.lead-admin-actions{display:grid;grid-template-columns:1fr 1fr auto;gap:9px;align-items:start}.lead-admin-actions form{display:flex;gap:7px}.lead-admin-actions .form-control,.lead-admin-actions .form-select{min-width:125px}.lead-timeline{margin-top:11px;border-top:1px solid #cad5de;padding-top:9px}.lead-timeline summary{cursor:pointer;font-weight:800}.lead-timeline>div{display:flex;margin:8px 0;gap:9px}.lead-timeline>div i{width:9px;height:9px;margin-top:5px;border-radius:50%;background:#17658c}.lead-timeline>div span{display:flex;flex-direction:column}.lead-timeline small{color:#697d8f}
@media(max-width:768px){.lead-hub-page,.lead-center-page{font-size:15px}.lead-hub-hero,.lead-center-hero{padding:15px}.lead-hub-hero h1,.lead-center-hero h1{font-size:22px}.lead-wallet-summary{min-width:130px}.lead-campaign-grid{grid-template-columns:1fr}.lead-entry-grid,.wallet-stat-grid{grid-template-columns:1fr 1fr}.lead-center-filters{grid-template-columns:1fr 1fr}.lead-center-filters input:first-child{grid-column:1/-1}.lead-admin-card header{display:block}.lead-admin-card header>div:last-child{margin-top:8px;align-items:flex-start}.lead-admin-actions{grid-template-columns:1fr}.lead-admin-actions form{display:grid;grid-template-columns:1fr 1fr auto}.lead-member-table{font-size:14px}}

/* Campaign catalogue cards + full campaign detail. */
.lead-campaign-grid{grid-template-columns:repeat(auto-fill,minmax(330px,1fr));align-items:stretch}.lead-campaign-card{display:flex;min-height:100%;flex-direction:column;border:0;border-radius:16px;box-shadow:0 12px 32px rgba(18,48,72,.12);transition:transform .2s ease,box-shadow .2s ease}.lead-campaign-card:hover{transform:translateY(-3px);box-shadow:0 17px 38px rgba(18,48,72,.17)}.lead-campaign-card>img{height:210px;background:#e9f1f5}.lead-campaign-body{display:flex;flex:1;flex-direction:column;padding:18px}.lead-campaign-body>span{align-self:flex-start;padding:5px 9px;border-radius:20px;background:#e7f1fb;color:#155a88;font-size:11px;font-weight:850;text-transform:uppercase}.lead-campaign-body h2{color:#102e49;font-size:21px;line-height:1.3}.lead-campaign-description{display:-webkit-box;overflow:hidden;color:#617488;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:3}.lead-campaign-description>*{margin:0}.lead-campaign-card .lead-entry{display:none}.lead-campaign-card .lead-reward-box{margin-top:auto}.lead-share-actions{display:grid;grid-template-columns:1fr auto auto;margin-top:12px}.lead-share-actions .btn{min-height:40px;border-radius:8px}.lead-view-details{background:#125a82!important;border-color:#125a82!important}.campaign-detail-page{max-width:1120px;margin:0 auto;padding-bottom:30px;font-size:15px}.campaign-detail-back{display:inline-flex;margin-bottom:12px;align-items:center;gap:6px;color:#245d7e;font-weight:800;text-decoration:none}.campaign-detail-shell{overflow:hidden;border:1px solid #c4d1db;border-radius:18px;background:#fff;box-shadow:0 16px 42px rgba(15,42,65,.12)}.campaign-detail-cover{position:relative;height:min(390px,40vw);min-height:250px;background:linear-gradient(135deg,#133c5d,#1b8190)}.campaign-detail-cover img{width:100%;height:100%;object-fit:cover}.campaign-detail-cover>div{display:grid;width:100%;height:100%;place-items:center;color:#fff;font-size:80px}.campaign-detail-cover>span{position:absolute;left:22px;bottom:20px;padding:7px 12px;border:1px solid rgba(255,255,255,.45);border-radius:20px;background:rgba(10,35,53,.78);color:#fff;font-size:12px;font-weight:850;text-transform:uppercase;backdrop-filter:blur(5px)}.campaign-detail-content{padding:26px}.campaign-detail-heading{display:flex;justify-content:space-between;gap:20px}.campaign-detail-heading small{color:#1b7793;font-weight:850;text-transform:uppercase}.campaign-detail-heading h1{max-width:760px;margin:4px 0 16px;color:#102d46;font-size:32px;line-height:1.2}.campaign-live-dot{display:flex;height:34px;padding:0 12px;align-items:center;gap:7px;border-radius:20px;background:#e7f7ed;color:#13723d;font-weight:800}.campaign-live-dot i{width:8px;height:8px;border-radius:50%;background:#21a45d;box-shadow:0 0 0 4px rgba(33,164,93,.14)}.campaign-rich-text{color:#40576b;font-size:16px;line-height:1.75}.campaign-rich-text h1,.campaign-rich-text h2,.campaign-rich-text h3{color:#153852}.campaign-reward-panel{margin:22px 0;padding:18px;border:1px solid #e3c56b;border-radius:13px;background:linear-gradient(135deg,#fff9e5,#fffdf6)}.campaign-reward-title{display:flex;align-items:center;gap:12px}.campaign-reward-title>i{display:grid;width:46px;height:46px;place-items:center;border-radius:12px;background:#f0b629;color:#fff;font-size:25px}.campaign-reward-title div{display:flex;flex-direction:column}.campaign-reward-title span{color:#8a6200;font-size:12px;font-weight:850;text-transform:uppercase}.campaign-reward-title strong{color:#513c0b;font-size:17px}.campaign-reward-rules{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin-top:14px}.campaign-reward-rules>div{display:flex;padding:12px;flex-direction:column;border:1px solid #e8d696;border-radius:9px;background:#fff}.campaign-reward-rules>div>span{color:#675828}.campaign-reward-rules>div>strong{color:#805800;font-size:20px}.campaign-reward-rules small{display:block;color:#756b4e}.campaign-detail-actions{display:flex;gap:9px;margin:18px 0}.campaign-detail-actions .btn{min-height:44px;border-radius:9px}.campaign-lead-form{margin-top:24px;padding:22px;border-radius:14px;background:#edf4f8}.campaign-lead-form>div>span{color:#17678c;font-size:12px;font-weight:850;text-transform:uppercase}.campaign-lead-form h2{margin:3px 0;color:#153852}.campaign-lead-form p{color:#617489}.campaign-lead-form form{margin-top:14px}.campaign-lead-form label>span{display:block;margin-bottom:5px;color:#334d62;font-weight:750}
@media(max-width:768px){.lead-campaign-grid{grid-template-columns:1fr}.lead-share-actions{grid-template-columns:1fr 1fr}.lead-view-details{grid-column:1/-1}.campaign-detail-page{padding:4px}.campaign-detail-shell{border-radius:12px}.campaign-detail-cover{height:235px;min-height:0}.campaign-detail-content{padding:17px}.campaign-detail-heading{display:block}.campaign-detail-heading h1{font-size:25px}.campaign-live-dot{display:inline-flex;margin-bottom:12px}.campaign-rich-text{font-size:15px}.campaign-detail-actions{display:grid;grid-template-columns:1fr}.campaign-lead-form{padding:15px}.campaign-lead-form .lead-entry-grid{grid-template-columns:1fr}}

/* Campaign palette: navy = primary, teal = active, green = share, gold = reward. */
body.atemp-theme .lead-hub-page .lead-hub-hero{border:1px solid #2e6686!important;background:linear-gradient(125deg,#102e4b 0%,#174f70 58%,#26788c 100%)!important;box-shadow:0 10px 25px rgba(13,43,68,.16)!important}
body.atemp-theme .lead-hub-page .lead-hub-hero>div>span{color:#9ed8e7!important;font-size:12px!important;font-weight:850!important;letter-spacing:.08em!important;text-transform:uppercase!important}
body.atemp-theme .lead-hub-page .lead-hub-hero h1{color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.2)!important}
body.atemp-theme .lead-hub-page .lead-hub-hero p{color:#dcecf3!important}
body.atemp-theme .lead-hub-page .lead-wallet-summary{border-color:rgba(255,255,255,.32)!important;background:rgba(255,255,255,.11)!important;color:#fff!important}
body.atemp-theme .lead-hub-page .lead-wallet-summary span,body.atemp-theme .lead-hub-page .lead-wallet-summary small{color:#e3f3f7!important}
body.atemp-theme .lead-hub-page .lead-wallet-summary strong{color:#fff!important}
body.atemp-theme .lead-hub-tabs button{border-color:#aebfcd!important;background:#fff!important;color:#29445b!important;box-shadow:none!important}
body.atemp-theme .lead-hub-tabs button:hover{border-color:#287797!important;background:#edf7fa!important;color:#155a77!important}
body.atemp-theme .lead-hub-tabs button.is-active{border-color:#1c688c!important;background:#1c688c!important;color:#fff!important}
body.atemp-theme .lead-hub-tabs button.is-active em{background:rgba(255,255,255,.2)!important;color:#fff!important}
body.atemp-theme .lead-campaign-card{border:1px solid #cbd7e0!important;background:#fff!important}
body.atemp-theme .lead-campaign-body>span{background:#e7f1f8!important;color:#145b83!important}
body.atemp-theme .lead-campaign-body h2,body.atemp-theme .lead-campaign-body h3{color:#102f4b!important}
body.atemp-theme .lead-campaign-description,body.atemp-theme .lead-campaign-description p{color:#5c7286!important}
body.atemp-theme .lead-reward-box{border-color:#e5b94d!important;background:#fff7df!important;color:#533b08!important}
body.atemp-theme .lead-reward-box i{color:#b06c00!important}
body.atemp-theme .lead-reward-box strong{color:#3f310d!important}
body.atemp-theme .lead-reward-box small{color:#75653b!important}
body.atemp-theme .lead-share-actions .lead-view-details{border-color:#175f86!important;background:#175f86!important;color:#fff!important}
body.atemp-theme .lead-share-actions .lead-view-details:hover{border-color:#0e4868!important;background:#0e4868!important;color:#fff!important}
body.atemp-theme .lead-share-actions .btn-success{border-color:#27804b!important;background:#27804b!important;color:#fff!important}
body.atemp-theme .lead-share-actions .btn-success:hover{border-color:#1c663a!important;background:#1c663a!important;color:#fff!important}
body.atemp-theme .lead-share-actions .btn-light{border:1px solid #b9c9d5!important;background:#f4f7f9!important;color:#205678!important}
body.atemp-theme .campaign-detail-heading h1{color:#102f4b!important}
body.atemp-theme .campaign-detail-back{color:#175f86!important}
body.atemp-theme .campaign-detail-actions .btn-primary{border-color:#175f86!important;background:#175f86!important;color:#fff!important}
body.atemp-theme .campaign-detail-actions .btn-success{border-color:#27804b!important;background:#27804b!important;color:#fff!important}

/* Public referral lead landing page. */
.public-lead-body{margin:0;background:linear-gradient(145deg,#e8f1f6,#f7fafc 48%,#e7f3ef);color:#18364e;font-family:Inter,Arial,sans-serif}.public-lead-page{display:grid;min-height:100dvh;padding:28px;place-items:center}.public-lead-card{display:grid;overflow:hidden;width:min(1040px,100%);grid-template-columns:minmax(320px,.9fr) minmax(380px,1.1fr);border:1px solid #bdccd7;border-radius:20px;background:#fff;box-shadow:0 24px 65px rgba(14,43,66,.16)}.public-lead-visual{position:relative;min-height:620px;background:linear-gradient(145deg,#102f4b,#20768b)}.public-lead-visual>img{width:100%;height:100%;object-fit:cover}.public-lead-visual>div{position:absolute;right:18px;bottom:18px;left:18px;display:flex;padding:13px 15px;justify-content:space-between;gap:10px;border:1px solid rgba(255,255,255,.3);border-radius:10px;background:rgba(9,35,54,.82);color:#fff;backdrop-filter:blur(6px)}.public-lead-visual span{color:#d8eef3}.public-lead-content{padding:34px}.public-lead-kicker{color:#19718a;font-size:12px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.public-lead-content h1{margin:6px 0 12px;color:#102f4b;font-size:31px;line-height:1.22}.public-lead-copy{display:-webkit-box;overflow:hidden;margin-bottom:18px;color:#5a7083;line-height:1.6;-webkit-box-orient:vertical;-webkit-line-clamp:4}.public-lead-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.public-lead-fields label>span{display:block;margin-bottom:5px;color:#304b61;font-weight:750}.public-lead-fields .form-control{min-height:44px;border-color:#afc0cd;border-radius:8px}.public-referral-note{display:flex;margin:14px 0;padding:10px;align-items:center;gap:7px;border:1px solid #c3d9cb;border-radius:8px;background:#edf8f1;color:#286343}.public-lead-content form>.btn{width:100%;min-height:47px;border-color:#175f86;background:#175f86;border-radius:9px;color:#fff;font-weight:800}.public-lead-success{text-align:center}.public-lead-success i{color:#24945a;font-size:70px}.public-lead-success h1{margin-top:10px}
@media(max-width:760px){.public-lead-page{padding:0;align-items:start}.public-lead-card{grid-template-columns:1fr;border:0;border-radius:0}.public-lead-visual{min-height:240px;max-height:300px}.public-lead-content{padding:21px}.public-lead-content h1{font-size:25px}.public-lead-fields{grid-template-columns:1fr}.public-lead-visual>div{font-size:12px}}

/* Premium public lead form refinements. */
.public-lead-body{background:radial-gradient(circle at 12% 12%,rgba(38,133,157,.13),transparent 28%),radial-gradient(circle at 88% 86%,rgba(34,148,89,.1),transparent 26%),#f1f6f9}.public-lead-page{padding:34px 24px}.public-lead-card{width:min(1120px,100%);grid-template-columns:minmax(380px,.92fr) minmax(500px,1.08fr);border-color:#aec2d0;border-radius:24px;box-shadow:0 30px 80px rgba(10,36,57,.2),0 2px 8px rgba(10,36,57,.08)}.public-lead-visual{min-height:690px;overflow:hidden;background:linear-gradient(160deg,#061b3f 0%,#06346b 58%,#0b5873 100%)}.public-lead-visual>img{position:relative;width:100%;height:auto;max-height:none;object-fit:contain;z-index:1}.public-lead-visual::after{position:absolute;inset:0;content:"";background:linear-gradient(180deg,transparent 48%,rgba(3,20,43,.18) 68%,rgba(3,20,43,.82) 100%);pointer-events:none;z-index:2}.public-lead-visual>.public-lead-owner{right:22px;bottom:22px;left:22px;z-index:3;padding:14px 16px;border-radius:12px;background:rgba(5,27,50,.82);box-shadow:0 8px 24px rgba(0,0,0,.2)}.public-lead-owner span{display:flex;align-items:center;gap:6px}.public-lead-content{padding:30px 38px 26px}.public-lead-brand{display:flex;margin-bottom:18px;align-items:center;justify-content:space-between}.public-lead-brand img{width:auto;max-width:150px;height:42px;object-fit:contain}.public-lead-brand span{display:flex;padding:6px 9px;align-items:center;gap:5px;border:1px solid #c7d7e1;border-radius:20px;background:#f5f9fb;color:#456277;font-size:11px;font-weight:750}.public-lead-kicker{display:inline-flex;padding:5px 9px;border-radius:20px;background:#e5f2f7;color:#126780;letter-spacing:.09em}.public-lead-content h1{margin:9px 0 12px;color:#0d2d49;font-size:32px}.public-lead-copy{display:block;overflow:visible;margin-bottom:12px;color:#536b7e;line-height:1.55;-webkit-line-clamp:unset}.public-lead-copy h1,.public-lead-copy h2,.public-lead-copy h3{margin:8px 0;color:#284b66;font-size:20px}.public-lead-copy p{margin:6px 0}.public-lead-copy ul{display:grid;margin:8px 0;padding-left:21px;grid-template-columns:1fr 1fr;gap:4px 15px}.public-trust-row{display:flex;margin:14px 0 17px;gap:7px;flex-wrap:wrap}.public-trust-row span{display:flex;padding:6px 8px;align-items:center;gap:4px;border:1px solid #cbd9e2;border-radius:6px;background:#f7fafc;color:#456176;font-size:11px;font-weight:700}.public-trust-row i{color:#21845a}.public-form-heading{display:flex;margin-bottom:10px;align-items:end;justify-content:space-between;border-top:1px solid #dbe4ea;padding-top:15px}.public-form-heading span{color:#193c57;font-size:16px;font-weight:850}.public-form-heading small{color:#708392}.public-lead-fields{gap:11px 14px}.public-lead-fields label>span{font-size:13px}.public-lead-fields .form-control{height:47px!important;min-height:47px!important;padding:10px 12px!important;border:1px solid #9fb4c4!important;border-radius:9px!important;background:#fbfdfe!important;color:#19384f!important;font-size:14px!important;box-shadow:inset 0 1px 2px rgba(17,49,72,.04)!important}.public-lead-fields .form-control:focus{border-color:#17718e!important;background:#fff!important;box-shadow:0 0 0 3px rgba(23,113,142,.12)!important}.public-lead-fields .form-control::placeholder{color:#98a8b4}.public-referral-note{margin:14px 0 12px;padding:10px 12px;border-color:#b9dac6;background:#eef8f2}.public-referral-note>i{display:grid;width:28px;height:28px;place-items:center;border-radius:50%;background:#d8f0e1;color:#197145}.public-lead-content form>.btn{display:flex;height:50px!important;min-height:50px!important;padding:0 18px!important;align-items:center;justify-content:space-between;border:1px solid #0e4f76!important;background:linear-gradient(135deg,#17688d,#104e76)!important;box-shadow:0 8px 18px rgba(15,80,118,.2)!important;font-size:14px!important}.public-lead-content form>.btn:hover{transform:translateY(-1px);box-shadow:0 11px 22px rgba(15,80,118,.28)!important}.public-lead-content form>.btn i{display:grid;width:27px;height:27px;place-items:center;border-radius:50%;background:rgba(255,255,255,.15)}.public-form-privacy{margin:10px 0 0;color:#788b99;font-size:11px;text-align:center}.public-form-privacy i{color:#438266}.public-lead-footer{margin:14px 0 0;color:#6f8493;font-size:11px;text-align:center}
@media(max-width:760px){.public-lead-page{padding:0 0 16px}.public-lead-card{grid-template-columns:1fr;border-radius:0}.public-lead-visual{min-height:0;max-height:none}.public-lead-visual>img{display:block;width:100%;height:auto}.public-lead-visual::after{background:linear-gradient(180deg,transparent 42%,rgba(3,20,43,.78) 100%)}.public-lead-visual>.public-lead-owner{right:12px;bottom:12px;left:12px;padding:10px 11px}.public-lead-content{padding:20px 17px}.public-lead-brand{margin-bottom:14px}.public-lead-brand img{height:35px;max-width:125px}.public-lead-content h1{font-size:25px}.public-lead-copy ul{grid-template-columns:1fr}.public-trust-row{gap:5px}.public-lead-fields{grid-template-columns:1fr}.public-form-heading{align-items:flex-start;flex-direction:column;gap:2px}.public-lead-footer{padding:0 12px}}

/* Compact premium variant. */
.public-lead-card{max-width:1020px;grid-template-columns:minmax(350px,.88fr) minmax(480px,1.12fr)}.public-lead-visual{min-height:600px}.public-lead-content{padding:23px 30px 19px}.public-lead-brand{margin-bottom:11px}.public-lead-brand img{height:35px}.public-lead-kicker{padding:4px 8px}.public-lead-content h1{margin:7px 0 8px;font-size:27px}.public-lead-copy{margin-bottom:7px;font-size:13px;line-height:1.45}.public-lead-copy h1,.public-lead-copy h2,.public-lead-copy h3{margin:5px 0;font-size:17px}.public-lead-copy ul{margin:5px 0;gap:2px 12px}.public-trust-row{margin:9px 0 11px}.public-trust-row span{padding:4px 7px}.public-form-heading{margin-bottom:7px;padding-top:10px}.public-form-heading span{font-size:14px}.public-lead-fields{gap:8px 11px}.public-lead-fields label>span{margin-bottom:3px;font-size:12px}.public-lead-fields .form-control{height:40px!important;min-height:40px!important;padding:7px 10px!important;border-radius:7px!important;font-size:13px!important}.public-referral-note{margin:9px 0;padding:7px 9px;font-size:12px}.public-referral-note>i{width:24px;height:24px}.public-lead-content form>.btn{height:43px!important;min-height:43px!important;font-size:13px!important}.public-form-privacy{margin-top:7px;font-size:10px}.public-lead-footer{margin-top:9px}
.public-lead-fields .form-control:valid:not(:placeholder-shown){border-color:#55a778!important;background:#f7fcf9!important}.public-lead-fields .form-control:invalid:not(:placeholder-shown){border-color:#d46565!important;background:#fffafa!important}.public-lead-fields label:focus-within>span{color:#176c8b}.public-lead-fields input[name="pan"]{text-transform:uppercase}
@media(max-width:760px){.public-lead-card{grid-template-columns:1fr}.public-lead-visual{min-height:0}.public-lead-content{padding:17px 15px}.public-lead-content h1{font-size:23px}.public-lead-copy{font-size:12px}.public-lead-copy ul{grid-template-columns:1fr}.public-trust-row span{font-size:10px}.public-lead-fields{grid-template-columns:1fr 1fr}.public-lead-fields .form-control{height:41px!important;min-height:41px!important}.public-form-heading{flex-direction:row;align-items:end}}@media(max-width:430px){.public-lead-fields{grid-template-columns:1fr}.public-form-heading{align-items:flex-start;flex-direction:column}}

/* Final compact lead form layout. */
.public-lead-page{padding:20px!important}.public-lead-card{width:min(900px,100%)!important;grid-template-columns:40% 60%!important;border-radius:18px!important}.public-lead-visual{min-height:520px!important}.public-lead-content{padding:19px 24px 15px!important}.public-lead-brand{margin-bottom:8px!important}.public-lead-brand img{height:30px!important}.public-lead-brand span{padding:4px 7px!important;font-size:10px!important}.public-lead-kicker{padding:3px 7px!important;font-size:10px!important}.public-lead-content h1{margin:5px 0 6px!important;font-size:23px!important;line-height:1.2!important}.public-lead-copy{max-height:92px;overflow:hidden!important;margin-bottom:5px!important;font-size:12px!important;line-height:1.38!important}.public-lead-copy h1,.public-lead-copy h2,.public-lead-copy h3{margin:3px 0!important;font-size:15px!important}.public-lead-copy p{margin:3px 0!important}.public-lead-copy ul{margin:3px 0!important;padding-left:18px!important}.public-lead-copy li:nth-child(n+3){display:none}.public-trust-row{margin:6px 0 8px!important}.public-trust-row span{padding:3px 6px!important;font-size:9px!important}.public-form-heading{margin-bottom:5px!important;padding-top:7px!important}.public-form-heading span{font-size:13px!important}.public-form-heading small{font-size:9px!important}.public-lead-fields{gap:6px 9px!important}.public-lead-fields label{position:relative;margin:0!important}.public-lead-fields label>span{margin-bottom:2px!important;font-size:11px!important}.public-lead-fields .form-control{height:36px!important;min-height:36px!important;padding:6px 9px!important;border-radius:6px!important;font-size:12px!important}.public-lead-fields .form-control.is-valid{border-color:#3f9c68!important;background:#f7fcf9!important}.public-lead-fields .form-control.is-invalid{border-color:#cf5252!important;background:#fff8f8!important;box-shadow:0 0 0 2px rgba(207,82,82,.08)!important}.field-error{display:block;margin-top:2px;color:#bd3434;font-size:9px;line-height:1.2}.public-referral-note{margin:7px 0!important;padding:5px 8px!important;font-size:10px!important}.public-referral-note>i{width:20px!important;height:20px!important}.public-lead-content form>.btn{height:38px!important;min-height:38px!important;padding:0 12px!important;font-size:12px!important}.public-lead-content form>.btn i{width:23px!important;height:23px!important}.public-form-privacy{margin-top:5px!important;font-size:9px!important}.public-lead-footer{margin-top:7px!important}
@media(max-width:760px){.public-lead-page{padding:0 0 12px!important}.public-lead-card{grid-template-columns:1fr!important;border-radius:0!important}.public-lead-visual{min-height:0!important}.public-lead-content{padding:15px!important}.public-lead-copy{max-height:110px}.public-lead-fields{grid-template-columns:1fr 1fr!important}}@media(max-width:430px){.public-lead-fields{grid-template-columns:1fr!important}}

/* Keep input height exact even when the global form theme uses content-box. */
.public-lead-fields .form-control{box-sizing:border-box!important;width:100%!important;height:36px!important;min-height:36px!important;max-height:36px!important;margin:0!important;padding:0 10px!important;line-height:34px!important;border-width:1px!important;appearance:none!important;-webkit-appearance:none!important}
.public-lead-fields input[type="email"],.public-lead-fields input[type="tel"],.public-lead-fields input[type="text"]{height:36px!important;min-height:36px!important}
@media(max-width:760px){.public-lead-fields .form-control,.public-lead-fields input[type="email"],.public-lead-fields input[type="tel"],.public-lead-fields input[type="text"]{height:38px!important;min-height:38px!important;max-height:38px!important;line-height:36px!important}}
