.xuru-sidebar-item { transition: color .2s, background .2s, box-shadow .22s, transform .2s; }
.xuru-sidebar-item svg { flex: none; }
.access-sidebar nav .xuru-sidebar-item:hover,
.sidebar nav .xuru-sidebar-item:hover { color: #fff; background: rgba(255,255,255,.09); transform: translateX(2px); }
.sidebar-small .xuru-sidebar-label { display: none; }
.sidebar-small .xuru-sidebar-guidance > .nav-section-toggle { display: none; }
.sidebar-small .xuru-sidebar-guidance > .nav-section-items { opacity: 1; grid-template-rows: 1fr; }
.xuru-legacy-shift-redirected > .shift-template-grid,
.xuru-legacy-shift-redirected > .attendance-form-grid { display: none !important; }
.xuru-governed-shift-notice {
  border: 1px solid #dfe4f2;
  border-radius: 14px;
  background: linear-gradient(135deg, #f1f2ff, #f3fbfc);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  padding: 16px;
}
.xuru-governed-shift-notice strong { color: #26265f; font-size: 15px; }
.xuru-governed-shift-notice p { color: #74748a; margin: 4px 0 0; font-size: 13px; line-height: 1.45; }
.xuru-governed-shift-link {
  flex: none;
  border-radius: 9px;
  background: #3030aa;
  color: #fff;
  padding: 10px 13px;
  font-weight: 800;
  text-decoration: none;
}
.xuru-role-preview-trigger {
  color: #fff;
  background: #3030aa;
  border: 0;
  border-radius: 9px;
  padding: 8px 10px;
  text-decoration: none;
  cursor: pointer;
  font: 750 12px/1.2 Avenir, "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif;
}
.xuru-role-preview-trigger { margin-left: auto; margin-right: 10px; white-space: nowrap; align-self: center; }
.system-admin-home .role-preview-panel.xuru-role-preview-compact { display: none; position: fixed; z-index: 90; top: 78px; right: 22px; width: min(560px, calc(100vw - 28px)); max-height: calc(100vh - 100px); overflow: auto; margin: 0; box-shadow: 0 24px 70px rgba(36, 38, 128, .22); }
.system-admin-home .role-preview-panel.xuru-role-preview-compact.is-open { display: block; }
.xuru-tour-open { overflow: hidden; }
.xuru-tour-layer { position: fixed; z-index: 120; inset: 0; display: grid; place-items: end center; padding: 24px; pointer-events: none; }
.xuru-tour-layer.is-dialog-top { place-items: start center; }
.xuru-tour-layer.is-unfocused { background: rgba(24, 25, 76, .42); }
.xuru-tour-spotlight { position: fixed; z-index: 1; border: 4px solid #ffce00; border-radius: 12px; background: transparent; box-shadow: 0 0 0 9999px rgba(24,25,76,.48), 0 10px 36px rgba(24,25,76,.24); pointer-events: none; transition: left .16s ease, top .16s ease, width .16s ease, height .16s ease; }
.xuru-tour-dialog { position: relative; z-index: 2; width: min(620px, 100%); padding: 22px; border: 1px solid rgba(255,255,255,.3); border-radius: 20px; background: #fff; color: #26265f; box-shadow: 0 28px 90px rgba(24,25,76,.27); pointer-events: auto; font: 400 15px/1.55 Avenir, "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif; }
.xuru-tour-dialog h2 { margin: 8px 0; font-size: clamp(1.45rem, 4vw, 2.15rem); line-height: 1.1; letter-spacing: -.025em; }
.xuru-tour-dialog p { margin: 0 0 18px; color: #74748a; }
.xuru-tour-top, .xuru-tour-actions { display: flex; align-items: center; justify-content: space-between; gap: 9px; flex-wrap: wrap; }
.xuru-tour-progress, .xuru-tour-role { display: inline-flex; width: fit-content; padding: 5px 8px; border-radius: 999px; background: #e8eefc; color: #3030aa; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.xuru-tour-role { margin-top: 12px; background: #fff3bf; color: #6d5800; }
.xuru-tour-text-button, .xuru-tour-secondary, .xuru-tour-primary { border-radius: 10px; padding: 9px 13px; cursor: pointer; font: 750 13px/1.2 Inter, ui-sans-serif, system-ui, sans-serif; }
.xuru-tour-text-button { border: 0; color: #74748a; background: transparent; }
.xuru-tour-secondary { border: 1px solid #e3e5f2; color: #26265f; background: #fff; }
.xuru-tour-primary { border: 1px solid #3030aa; color: #fff; background: #3030aa; margin-left: auto; }
.xuru-tour-highlight { border-radius: 9px; }
.xuru-dashboard-notifications { margin: 0 0 18px; padding: 18px; border: 1px solid #dfe4f2; border-radius: 16px; background: #fff; box-shadow: 0 14px 38px rgba(38,38,95,.08); }
.xuru-notification-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.xuru-notification-header small { color: #1884a7; font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.xuru-notification-header h2 { margin: 4px 0; color: #26265f; font-size: 19px; }
.xuru-notification-header p { margin: 0; color: #74748a; font-size: 12px; }
.xuru-notification-count { min-width: 30px; display: grid; place-items: center; padding: 5px 8px; border-radius: 999px; background: #fff3bf; color: #6d5800; font-weight: 850; }
.xuru-notification-list { display: grid; gap: 8px; }
.xuru-notification-card { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid #e3e5f2; border-radius: 11px; background: #f7f8ff; color: #26265f; text-decoration: none; }
.xuru-notification-card:hover { border-color: #b8bde4; background: #f0f2ff; }
.xuru-notification-card strong { font-size: 13px; }
.xuru-notification-card span { color: #74748a; font-size: 12px; line-height: 1.45; }
.xuru-hr-evidence-field {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid #cfd8f1;
  border-radius: 12px;
  background: linear-gradient(135deg, #f5f6ff, #f2fbfc);
}
.xuru-hr-evidence-field > span { color: #26265f; font-weight: 800; }
.xuru-hr-evidence-field input[type="file"] {
  width: 100%;
  padding: 10px;
  border: 1px dashed #9ea9d4;
  border-radius: 9px;
  background: #fff;
  color: #26265f;
  font: 600 12px/1.4 Avenir, "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif;
}
.xuru-hr-evidence-selected { color: #3030aa; font-weight: 750; }
.xuru-hr-evidence-note { color: #686980; line-height: 1.45; }
.xuru-hr-evidence-status { min-height: 1.3em; color: #1884a7; font-weight: 750; }
.xuru-hr-evidence-status[data-tone="error"] { color: #a52b36; }
.xuru-hr-evidence-toast {
  position: fixed;
  z-index: 160;
  right: 22px;
  bottom: 22px;
  width: min(430px, calc(100vw - 28px));
  padding: 14px 16px;
  border: 1px solid #b9e1d0;
  border-radius: 12px;
  background: #ecfbf5;
  color: #175e47;
  box-shadow: 0 18px 50px rgba(24, 25, 76, .18);
  font: 750 13px/1.45 Avenir, "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif;
}
@media (max-width: 700px) {
  .xuru-tour-layer { padding: 10px; }
  .xuru-tour-dialog { padding: 18px; }
  .xuru-role-preview-trigger { margin-right: 4px; padding: 7px 8px; font-size: 11px; }
  .system-admin-home .role-preview-panel.xuru-role-preview-compact { top: 70px; right: 10px; }
  .xuru-governed-shift-notice { align-items: stretch; flex-direction: column; }
  .xuru-governed-shift-link { text-align: center; }
  .xuru-hr-evidence-toast { right: 14px; bottom: 14px; }
}
.xuru-employee-history {
  margin: 18px 0 24px;
  padding: 22px;
  border: 1px solid #dce5e2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(20, 56, 48, .06);
}

.xuru-history-header,
.xuru-history-event-top,
.xuru-history-change {
  display: flex;
  align-items: center;
  gap: 12px;
}

.xuru-history-header { justify-content: space-between; align-items: flex-start; }
.xuru-history-header h3 { margin: 3px 0 5px; color: #173f36; }
.xuru-history-header p { margin: 0; max-width: 720px; color: #5d6f6a; }
.xuru-history-eyebrow { color: #087968; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.xuru-history-count { flex: 0 0 auto; padding: 6px 10px; border-radius: 999px; background: #e8f5f1; color: #12695c; font-size: .78rem; font-weight: 700; }
.xuru-history-list { margin: 22px 0 0; padding: 0; list-style: none; }
.xuru-history-event { position: relative; margin-left: 8px; padding: 0 0 24px 26px; border-left: 2px solid #cfe2dc; }
.xuru-history-event:last-child { padding-bottom: 0; }
.xuru-history-event::before { content: ""; position: absolute; left: -7px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: #118a76; box-shadow: 0 0 0 4px #e8f5f1; }
.xuru-history-event-top { justify-content: space-between; align-items: baseline; }
.xuru-history-event-top strong { color: #173f36; }
.xuru-history-event-top time { color: #6d7f7a; font-size: .82rem; }
.xuru-history-changes { margin-top: 10px; overflow: hidden; border: 1px solid #e1e9e7; border-radius: 12px; }
.xuru-history-change { display: grid; grid-template-columns: minmax(130px, .8fr) minmax(120px, 1fr) auto minmax(120px, 1fr); padding: 10px 12px; background: #fbfdfc; }
.xuru-history-change + .xuru-history-change { border-top: 1px solid #e7eeec; }
.xuru-history-field { color: #445b55; font-size: .82rem; font-weight: 700; }
.xuru-history-before { color: #7d5555; text-decoration: line-through; text-decoration-color: #c8a6a6; }
.xuru-history-arrow { color: #82948f; }
.xuru-history-after { color: #155f52; font-weight: 700; }
.xuru-history-actor { margin: 9px 0 0; color: #6d7f7a; font-size: .8rem; }
.xuru-history-empty { margin: 18px 0 0; padding: 16px; border-radius: 12px; background: #f3f7f6; color: #5d6f6a; }
.xuru-history-empty.is-error { background: #fff2f0; color: #8a332b; }
.xuru-it-assets-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 18px; align-items: center; margin: 14px 0 18px; padding: 16px 18px; border: 1px solid #cdd3f0; border-radius: 14px; background: #f4f6ff; color: #26265f; }
.xuru-it-assets-card strong { font-size: .95rem; }
.xuru-it-assets-card span { color: #65658a; font-size: .82rem; }
.xuru-it-assets-card a { grid-column: 2; grid-row: 1 / 3; padding: 9px 13px; border-radius: 10px; background: #3030aa; color: #fff; font-size: .78rem; font-weight: 750; text-decoration: none; }

@media (max-width: 720px) {
  .xuru-employee-history { padding: 17px; }
  .xuru-history-header, .xuru-history-event-top { align-items: flex-start; flex-direction: column; gap: 6px; }
  .xuru-history-change { grid-template-columns: 1fr auto 1fr; }
  .xuru-history-field { grid-column: 1 / -1; }
  .xuru-it-assets-card { grid-template-columns: 1fr; }
  .xuru-it-assets-card a { grid-column: 1; grid-row: auto; text-align: center; }
}

/* XURU HEAD OFFICE LIVE ATTENDANCE */

.xuru-live-attendance-panel {
  margin: 0 0 24px;
  border: 1px solid #e7e7ee;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.xuru-attendance-main-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 26px;
  border-bottom: 1px solid #eeeeF3;
}

.xuru-attendance-main-header small,
.xuru-attendance-section-header small {
  color: #858596;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
}

.xuru-attendance-main-header h2 {
  margin: 5px 0 4px;
  color: #282846;
  font-size: 24px;
}

.xuru-attendance-main-header p,
.xuru-attendance-section-header p {
  margin: 0;
  color: #747486;
  font-size: 13px;
}

.xuru-attendance-main-actions {
  display: flex;
  gap: 9px;
  align-items: center;
}

.xuru-attendance-main-actions a,
.xuru-attendance-main-actions button {
  border-radius: 10px;
  padding: 10px 13px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.xuru-attendance-station-link {
  color: #282846;
  border: 1px solid #dedeE8;
  background: #fff;
}

.xuru-attendance-refresh {
  border: 0;
  background: #282846;
  color: #fff;
}

.xuru-attendance-body {
  padding: 24px 26px;
}

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

.xuru-attendance-metric {
  border: 1px solid #eeeeF3;
  border-radius: 14px;
  padding: 18px;
  background: #fafafd;
}

.xuru-attendance-metric span {
  display: block;
  color: #7c7c8e;
  font-size: 12px;
}

.xuru-attendance-metric strong {
  display: block;
  margin-top: 7px;
  color: #282846;
  font-size: 28px;
}

.xuru-attendance-section {
  margin-top: 24px;
  border: 1px solid #eeeeF3;
  border-radius: 14px;
  overflow: hidden;
}

.xuru-attendance-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  background: #fafafd;
}

.xuru-attendance-section-header h3 {
  margin: 4px 0 3px;
  color: #282846;
  font-size: 18px;
}

.xuru-attendance-table-wrap {
  overflow-x: auto;
}

.xuru-attendance-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.xuru-attendance-table th,
.xuru-attendance-table td {
  padding: 13px 16px;
  text-align: left;
  border-top: 1px solid #eeeeF3;
}

.xuru-attendance-table th {
  color: #7d7d8d;
  font-size: 11px;
  font-weight: 800;
}

.xuru-attendance-table td {
  color: #39394e;
  font-size: 13px;
}

.xuru-attendance-table td small {
  display: block;
  margin-top: 3px;
  color: #9292a0;
}

.xuru-attendance-status {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.xuru-attendance-status.is-in {
  background: #e8f6ee;
  color: #267552;
}

.xuru-attendance-status.is-out {
  background: #ededf3;
  color: #56566a;
}

.xuru-attendance-status.is-not_scanned {
  background: #fff2dc;
  color: #956317;
}

.xuru-attendance-pending-count {
  min-width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff2dc;
  color: #956317;
  font-weight: 800;
}

.xuru-attendance-correction {
  display: grid;
  grid-template-columns:
    minmax(180px,1.2fr)
    minmax(320px,2fr)
    auto;
  gap: 22px;
  align-items: center;
  padding: 18px 20px;
  border-top: 1px solid #eeeeF3;
}

.xuru-attendance-correction-details small {
  display: block;
  margin-top: 3px;
  color: #9292a0;
}

.xuru-attendance-correction-details p {
  margin: 7px 0 0;
  color: #686879;
  font-size: 12px;
}

.xuru-attendance-correction-type {
  display: block;
  margin-top: 7px;
  font-size: 11px;
  font-weight: 800;
}

.xuru-attendance-correction-times {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 10px;
}

.xuru-attendance-time span {
  display: block;
  color: #9292a0;
  font-size: 10px;
}

.xuru-attendance-time strong {
  display: block;
  margin-top: 3px;
  color: #38384d;
  font-size: 12px;
}

.xuru-attendance-correction-actions {
  display: flex;
  gap: 7px;
}

.xuru-attendance-correction-actions button {
  border: 0;
  border-radius: 9px;
  padding: 9px 11px;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.xuru-attendance-approve {
  background: #287a57;
}

.xuru-attendance-reject {
  background: #a94d4d;
}

.xuru-attendance-empty,
.xuru-attendance-loading,
.xuru-attendance-error {
  padding: 24px;
  text-align: center;
  color: #858596;
}

.xuru-attendance-error {
  color: #a44242;
}

.xuru-attendance-updated {
  margin-top: 12px;
  text-align: right;
  color: #9292a0;
  font-size: 11px;
}

@media (max-width: 900px) {
  .xuru-attendance-metrics {
    grid-template-columns: repeat(2,1fr);
  }

  .xuru-attendance-correction {
    grid-template-columns: 1fr;
  }

  .xuru-attendance-correction-times {
    grid-template-columns: repeat(2,1fr);
  }
}

/* XURU MY ATTENDANCE */

.xuru-my-attendance-panel {
  margin: 0 0 24px;
  border: 1px solid #e7e7ee;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.xuru-my-attendance-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  border-bottom: 1px solid #eeeeF3;
}

.xuru-my-attendance-header small {
  color: #858596;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
}

.xuru-my-attendance-header h2 {
  margin: 5px 0 3px;
  color: #282846;
  font-size: 23px;
}

.xuru-my-attendance-header p {
  margin: 0;
  color: #747486;
  font-size: 13px;
}

.xuru-my-attendance-refresh {
  border: 1px solid #dedeE8;
  border-radius: 10px;
  padding: 9px 12px;
  background: #fff;
  color: #282846;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.xuru-my-attendance-body {
  padding: 22px 26px;
}

.xuru-my-attendance-summary {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 14px;
}

.xuru-my-attendance-status-card,
.xuru-my-attendance-time-card {
  border: 1px solid #eeeeF3;
  border-radius: 14px;
  padding: 18px;
  background: #fafafd;
}

.xuru-my-attendance-status-card > span,
.xuru-my-attendance-time-card > span {
  display: block;
  color: #7c7c8e;
  font-size: 11px;
}

.xuru-my-attendance-status-card > strong,
.xuru-my-attendance-time-card > strong {
  display: block;
  margin-top: 8px;
  font-size: 22px;
}

.xuru-my-status.is-in {
  color: #267552;
}

.xuru-my-status.is-out {
  color: #56566a;
}

.xuru-my-status.is-not-scanned {
  color: #956317;
}

.xuru-my-attendance-corrected {
  margin-top: 13px;
  padding: 11px 13px;
  border-radius: 10px;
  background: #eaf7f0;
  color: #267552;
  font-size: 12px;
}

.xuru-my-attendance-qr-guide {
  margin-top: 15px;
  padding: 14px 15px;
  border: 1px solid rgba(2,173,173,.28);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(193,242,237,.56), #fff);
}

.xuru-my-attendance-qr-guide strong {
  color: #3030aa;
  font-size: 13px;
}

.xuru-my-attendance-qr-guide p {
  margin: 5px 0 0;
  color: #62627b;
  font-size: 12px;
  line-height: 1.5;
}

.xuru-my-attendance-actions {
  margin-top: 16px;
}

.xuru-my-attendance-request {
  border: 0;
  border-radius: 10px;
  padding: 10px 13px;
  background: #282846;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.xuru-my-attendance-history {
  margin-top: 22px;
  border-top: 1px solid #eeeeF3;
  padding-top: 18px;
}

.xuru-my-attendance-history h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.xuru-my-attendance-history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 11px 0;
  border-top: 1px solid #f0f0f4;
}

.xuru-my-attendance-history-row small {
  display: block;
  margin-top: 3px;
  color: #9292a0;
}

.xuru-my-attendance-request-status {
  border-radius: 999px;
  padding: 5px 8px;
  background: #ededf3;
  font-size: 10px;
  font-weight: 800;
}

.xuru-my-attendance-request-status.is-submitted {
  background: #fff2dc;
  color: #956317;
}

.xuru-my-attendance-request-status.is-approved {
  background: #e8f6ee;
  color: #267552;
}

.xuru-my-attendance-request-status.is-rejected {
  background: #faeeee;
  color: #a44242;
}

.xuru-my-attendance-unavailable {
  padding: 18px;
  border-radius: 13px;
  background: #fafafd;
  border: 1px solid #eeeeF3;
}

.xuru-my-attendance-unavailable p {
  margin: 5px 0 0;
  color: #747486;
  font-size: 13px;
}

.xuru-my-attendance-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(24,24,42,.45);
}

.xuru-my-attendance-dialog {
  width: min(620px,100%);
  max-height: 90vh;
  overflow: auto;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 80px rgba(20,20,40,.22);
}

.xuru-my-attendance-dialog-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid #eeeeF3;
}

.xuru-my-attendance-dialog-header small {
  color: #858596;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
}

.xuru-my-attendance-dialog-header h3 {
  margin: 4px 0 3px;
  font-size: 20px;
}

.xuru-my-attendance-dialog-header p {
  margin: 0;
  color: #747486;
  font-size: 12px;
}

.xuru-my-attendance-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f1f1f5;
  color: #44445a;
  font-size: 21px;
  cursor: pointer;
}

.xuru-my-attendance-form {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 15px;
  padding: 22px 24px 26px;
}

.xuru-my-attendance-form label {
  display: grid;
  gap: 6px;
  color: #45455a;
  font-size: 12px;
  font-weight: 700;
}

.xuru-my-attendance-form input,
.xuru-my-attendance-form select,
.xuru-my-attendance-form textarea {
  width: 100%;
  border: 1px solid #dedeE8;
  border-radius: 10px;
  padding: 10px 11px;
  background: #fff;
  font: inherit;
}

.xuru-my-attendance-form textarea {
  min-height: 90px;
  resize: vertical;
}

.xuru-my-attendance-form-wide,
.xuru-my-attendance-form-status,
.xuru-my-attendance-submit {
  grid-column: 1 / -1;
}

.xuru-my-attendance-form-status {
  color: #a44242;
  font-size: 12px;
}

.xuru-my-attendance-form-status.is-success {
  color: #267552;
}

.xuru-my-attendance-submit {
  border: 0;
  border-radius: 11px;
  padding: 12px;
  background: #282846;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 700px) {
  .xuru-my-attendance-summary,
  .xuru-my-attendance-form {
    grid-template-columns: 1fr;
  }

  .xuru-my-attendance-form-wide,
  .xuru-my-attendance-form-status,
  .xuru-my-attendance-submit {
    grid-column: auto;
  }
}

/* XURU MY ATTENDANCE */

.xuru-my-attendance-panel {
  margin: 0 0 24px;
  border: 1px solid #e7e7ee;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.xuru-my-attendance-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  border-bottom: 1px solid #eeeef3;
}

.xuru-my-attendance-header small {
  color: #858596;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
}

.xuru-my-attendance-header h2 {
  margin: 5px 0 3px;
  color: #282846;
  font-size: 23px;
}

.xuru-my-attendance-header p {
  margin: 0;
  color: #747486;
  font-size: 13px;
}

.xuru-my-attendance-refresh {
  align-self: flex-start;
  border: 1px solid #dedee8;
  border-radius: 10px;
  padding: 9px 12px;
  background: #fff;
  color: #282846;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.xuru-my-attendance-body {
  padding: 22px 26px;
}

.xuru-my-attendance-cards {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 14px;
}

.xuru-my-attendance-card {
  padding: 18px;
  border: 1px solid #eeeef3;
  border-radius: 14px;
  background: #fafafd;
}

.xuru-my-attendance-card span {
  display: block;
  color: #7c7c8e;
  font-size: 11px;
}

.xuru-my-attendance-card strong {
  display: block;
  margin-top: 8px;
  font-size: 21px;
}

.xuru-my-attendance-state.is-in {
  color: #267552;
}

.xuru-my-attendance-state.is-out {
  color: #56566a;
}

.xuru-my-attendance-state.is-not-scanned {
  color: #956317;
}

.xuru-my-attendance-corrected {
  margin-top: 13px;
  padding: 11px 13px;
  border-radius: 10px;
  background: #eaf7f0;
  color: #267552;
  font-size: 12px;
}

.xuru-my-attendance-actions {
  margin-top: 16px;
}

.xuru-my-attendance-correction-link {
  display: inline-block;
  padding: 10px 13px;
  border-radius: 10px;
  background: #282846;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.xuru-my-attendance-history {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #eeeef3;
}

.xuru-my-attendance-history h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.xuru-my-attendance-history-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 11px 0;
  border-top: 1px solid #f0f0f4;
}

.xuru-my-attendance-history-row small {
  display: block;
  margin-top: 3px;
  color: #9292a0;
}

.xuru-my-attendance-request-status {
  align-self: center;
  padding: 5px 8px;
  border-radius: 999px;
  background: #ededf3;
  font-size: 10px;
  font-weight: 800;
}

.xuru-my-attendance-request-status.is-submitted {
  background: #fff2dc;
  color: #956317;
}

.xuru-my-attendance-request-status.is-approved {
  background: #e8f6ee;
  color: #267552;
}

.xuru-my-attendance-request-status.is-rejected {
  background: #faeeee;
  color: #a44242;
}

.xuru-my-attendance-unavailable {
  padding: 18px;
  border: 1px solid #eeeef3;
  border-radius: 13px;
  background: #fafafd;
}

.xuru-my-attendance-unavailable p {
  margin: 5px 0 0;
  color: #747486;
  font-size: 13px;
}

@media (max-width: 700px) {
  .xuru-my-attendance-cards {
    grid-template-columns: 1fr;
  }
}

/* XURU MY ATTENDANCE HISTORY */

.xuru-my-history-panel {
  margin: 0 0 24px;
  border: 1px solid #e7e7ee;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.xuru-my-history-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 26px;
  border-bottom: 1px solid #eeeef3;
}

.xuru-my-history-header small {
  color: #858596;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
}

.xuru-my-history-header h2 {
  margin: 5px 0 3px;
  color: #282846;
  font-size: 22px;
}

.xuru-my-history-header p {
  margin: 0;
  color: #747486;
  font-size: 13px;
}

.xuru-my-history-month {
  border: 1px solid #dedee8;
  border-radius: 10px;
  padding: 9px 11px;
  background: #fff;
  color: #282846;
  font: inherit;
}

.xuru-my-history-body {
  padding: 22px 26px;
}

.xuru-my-history-metrics {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.xuru-my-history-metric {
  padding: 17px;
  border: 1px solid #eeeef3;
  border-radius: 13px;
  background: #fafafd;
}

.xuru-my-history-metric span {
  display: block;
  color: #7c7c8e;
  font-size: 11px;
}

.xuru-my-history-metric strong {
  display: block;
  margin-top: 7px;
  color: #282846;
  font-size: 25px;
}

.xuru-my-history-table-wrap {
  overflow-x: auto;
}

.xuru-my-history-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
}

.xuru-my-history-table th,
.xuru-my-history-table td {
  padding: 12px 14px;
  text-align: left;
  border-top: 1px solid #eeeef3;
}

.xuru-my-history-table th {
  color: #7d7d8d;
  font-size: 11px;
  font-weight: 800;
}

.xuru-my-history-table td {
  color: #39394e;
  font-size: 13px;
}

.xuru-my-history-empty {
  padding: 25px;
  text-align: center;
  color: #858596;
}

@media (max-width: 700px) {
  .xuru-my-history-header {
    flex-direction: column;
  }

  .xuru-my-history-metrics {
    grid-template-columns: 1fr;
  }
}

/* XURU HR ATTENDANCE REGISTER */

.xuru-hr-register-panel {
  margin: 0 0 24px;
  border: 1px solid #e7e7ee;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.xuru-hr-register-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 22px 26px;
  border-bottom: 1px solid #eeeef3;
}

.xuru-hr-register-header small {
  color: #858596;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
}

.xuru-hr-register-header h2 {
  margin: 5px 0 3px;
  color: #282846;
  font-size: 22px;
}

.xuru-hr-register-header p {
  max-width: 620px;
  margin: 0;
  color: #747486;
  font-size: 13px;
}

.xuru-hr-register-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.xuru-hr-register-controls input {
  border: 1px solid #dedee8;
  border-radius: 9px;
  padding: 9px 10px;
  background: #fff;
  color: #282846;
  font: inherit;
  font-size: 12px;
}

.xuru-hr-register-controls input[type="search"] {
  width: 175px;
}

.xuru-hr-register-export {
  border: 0;
  border-radius: 9px;
  padding: 9px 12px;
  background: #282846;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.xuru-hr-register-body {
  padding: 22px 26px;
}

.xuru-hr-register-metrics {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.xuru-hr-register-metric {
  padding: 16px;
  border: 1px solid #eeeef3;
  border-radius: 13px;
  background: #fafafd;
}

.xuru-hr-register-metric span {
  display: block;
  min-height: 28px;
  color: #7c7c8e;
  font-size: 11px;
}

.xuru-hr-register-metric strong {
  display: block;
  margin-top: 5px;
  color: #282846;
  font-size: 24px;
}

.xuru-hr-register-table-wrap {
  overflow-x: auto;
}

.xuru-hr-register-table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
}

.xuru-hr-register-table th,
.xuru-hr-register-table td {
  padding: 12px 14px;
  text-align: left;
  border-top: 1px solid #eeeef3;
}

.xuru-hr-register-table th {
  color: #7d7d8d;
  font-size: 11px;
  font-weight: 800;
}

.xuru-hr-register-table td {
  color: #39394e;
  font-size: 13px;
}

.xuru-hr-register-table td small {
  display: block;
  margin-top: 3px;
  color: #9292a0;
}

@media (max-width: 1050px) {
  .xuru-hr-register-header {
    flex-direction: column;
  }

  .xuru-hr-register-controls {
    justify-content: flex-start;
  }

  .xuru-hr-register-metrics {
    grid-template-columns:
      repeat(2,1fr);
  }
}

/* XURU ATTENDANCE LEGACY CLEANUP */

[data-xuru-retired-attendance="true"] {
  display: none !important;
}

#shift-planner.xuru-legacy-shift-redirected {
  margin-top: 0;
}

[data-xuru-attendance-configuration="true"] {
  margin-top: 20px;
}

[data-xuru-retired-attendance-v2="true"] {
  display: none !important;
}

/* XURU FINAL ATTENDANCE CLEANUP */

[data-xuru-attendance-retired-exact="true"] {
  display: none !important;
}

.xuru-attendance-policy-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  margin: 0 0 24px;
  padding: 22px 26px;

  border: 1px solid #e7e7ee;
  border-radius: 18px;

  background: #fff;
}

.xuru-attendance-policy-card small {
  display: block;

  color: #858596;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
}

.xuru-attendance-policy-card h2 {
  margin: 5px 0 4px;

  color: #282846;

  font-size: 21px;
}

.xuru-attendance-policy-card p {
  max-width: 650px;

  margin: 0;

  color: #747486;

  font-size: 13px;
  line-height: 1.5;
}

.xuru-attendance-policy-link {
  flex: 0 0 auto;

  padding: 10px 13px;

  border-radius: 10px;

  background: #282846;

  color: #fff;

  font-size: 12px;
  font-weight: 800;

  text-decoration: none;
}

@media (max-width: 750px) {
  .xuru-attendance-policy-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* XURU ATTENDANCE ACCESS V4.1.4 */

[data-xuru-attendance-scope-hidden="true"],
[data-xuru-legacy-shift-write="true"] {
  display: none !important;
}

.attendance-capture-banner[data-xuru-qr-active="true"] {
  border-color: rgba(2,173,173,.34);
  background: linear-gradient(135deg, rgba(193,242,237,.62), #fff);
}

.attendance-capture-banner[data-xuru-qr-active="true"] > span {
  border-color: rgba(2,173,173,.32);
  background: #c1f2ed;
  color: #3030aa;
}

/* Existing employee record document panel. */
.xuru-employee-documents { margin: 16px 0; padding: 16px; border: 1px solid #dce4f3; border-radius: 16px; background: #f7f9fe; min-width: 0; }
.xuru-employee-documents summary { cursor: pointer; color: #3030aa; font-weight: 700; font-size: 15px; }
.xuru-employee-documents > p { color: #626b80; font-size: 13px; line-height: 1.5; }
.xuru-employee-documents-frame { display: block; width: 100%; height: 760px; border: 0; border-radius: 12px; background: #fff; }

/* XURU EMPLOYEE HOME */

[data-xuru-employee-home-legacy="true"] {
  display: none !important;
}

.xuru-employee-home {
  --xuru-indigo: #3030aa;
  --xuru-electric-indigo: #3d38ff;
  --xuru-periwinkle: #6060f4;
  --xuru-aqua: #96f2ed;
  --xuru-pale-aqua: #c1f2ed;
  --xuru-teal: #02adad;
  --xuru-yellow: #ffce00;
  --xuru-pale-yellow: #ffe033;
  --xuru-ink: #24245c;
  --xuru-muted: #62627b;
  display: grid;
  gap: 22px;
  width: 100%;
  padding: 4px 0 28px;
  color: var(--xuru-ink);
  font-family: Questrial, Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.xuru-home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px;
  border-radius: 22px;
  background: linear-gradient(128deg, var(--xuru-indigo) 0%, var(--xuru-electric-indigo) 68%, var(--xuru-periwinkle) 100%);
  color: #fff;
  box-shadow: 0 18px 44px rgba(48,48,170,.2);
}

.xuru-home-hero::after {
  position: absolute;
  z-index: -1;
  top: -76px;
  right: -62px;
  width: 230px;
  height: 230px;
  border: 36px solid rgba(255,224,51,.92);
  border-radius: 42% 58% 62% 38%;
  content: "";
  transform: rotate(18deg);
}

.xuru-home-hero small {
  color: var(--xuru-pale-yellow);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
}

.xuru-home-hero h1 {
  margin: 7px 0 5px;
  color: #fff;
  font-family: Avenir, Questrial, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(27px,4vw,38px);
  line-height: 1.12;
}

.xuru-home-hero p {
  margin: 0;
  color: rgba(255,255,255,.84);
  font-size: 13px;
}

.xuru-home-date {
  flex: 0 0 auto;
  color: rgba(255,255,255,.9);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.xuru-home-section {
  padding: 22px;
  border: 1px solid rgba(61,56,255,.14);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(48,48,170,.055);
}

.xuru-home-section-heading {
  margin-bottom: 16px;
  color: var(--xuru-indigo);
  font-family: Avenir, Questrial, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 900;
}

.xuru-home-today-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 13px;
}

.xuru-home-today-card {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid rgba(2,173,173,.2);
  border-radius: 15px;
  background: linear-gradient(155deg, rgba(193,242,237,.48), rgba(255,255,255,.96) 70%);
}

.xuru-home-attendance-card {
  border-color: rgba(61,56,255,.24);
  background: linear-gradient(155deg, rgba(150,242,237,.62), rgba(255,255,255,.96) 72%);
}

.xuru-home-today-card small {
  color: var(--xuru-indigo);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
}

.xuru-home-card-value {
  display: block;
  margin-top: 9px;
  color: var(--xuru-ink);
  font-size: 18px;
  line-height: 1.2;
}

.xuru-home-today-card p {
  margin: 7px 0 15px;
  color: var(--xuru-muted);
  font-size: 12px;
  line-height: 1.45;
}

.xuru-home-card-link {
  margin-top: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--xuru-indigo);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.xuru-home-request-links {
  display: grid;
  gap: 6px;
  width: 100%;
  margin: 0 0 12px;
}

.xuru-home-request-link {
  overflow: hidden;
  width: 100%;
  padding: 7px 9px;
  border: 1px solid rgba(61,56,255,.16);
  border-radius: 9px;
  background: rgba(255,255,255,.76);
  color: var(--xuru-indigo);
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.xuru-home-request-link:hover {
  border-color: var(--xuru-periwinkle);
  background: #fff;
}

.xuru-home-actions-body { min-height: 55px; }

.xuru-home-action-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255,179,0,.42);
  border-radius: 13px;
  background: rgba(255,224,51,.14);
  color: var(--xuru-ink);
  font-size: 13px;
  font-weight: 700;
}

.xuru-home-action-item button {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--xuru-indigo);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.xuru-home-action-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--xuru-yellow);
  color: var(--xuru-indigo);
  font-weight: 900;
}

.xuru-home-action-clear {
  padding: 15px 17px;
  border-radius: 13px;
  background: rgba(193,242,237,.5);
  color: var(--xuru-ink);
  font-size: 13px;
  font-weight: 800;
}

.xuru-home-action-note {
  margin: 9px 2px 0;
  color: var(--xuru-muted);
  font-size: 11px;
  line-height: 1.45;
}

.xuru-home-quick-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 11px;
}

.xuru-home-quick-action {
  min-height: 82px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 15px 16px;
  border: 1px solid rgba(61,56,255,.16);
  border-radius: 13px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.xuru-home-quick-action:hover {
  border-color: var(--xuru-periwinkle);
  box-shadow: 0 9px 24px rgba(48,48,170,.1);
  transform: translateY(-1px);
}

.xuru-home-quick-action strong {
  color: var(--xuru-indigo);
  font-size: 13px;
}

.xuru-home-quick-action span {
  margin-top: 4px;
  color: var(--xuru-muted);
  font-size: 11px;
  line-height: 1.4;
}

.xuru-home-updates {
  display: grid;
  gap: 18px;
}

.xuru-home-updates-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.xuru-home-updates small {
  color: var(--xuru-teal);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .11em;
}

.xuru-home-updates h2 {
  margin: 5px 0 4px;
  color: var(--xuru-indigo);
  font-family: Avenir, Questrial, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 19px;
}

.xuru-home-updates p {
  margin: 0;
  color: var(--xuru-muted);
  font-size: 12px;
}

.xuru-home-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 11px 14px;
  border: 0;
  border-radius: 10px;
  background: var(--xuru-indigo);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.xuru-home-primary-action:hover {
  background: var(--xuru-electric-indigo);
}

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

.xuru-home-company-column {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(61,56,255,.14);
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(193,242,237,.28), #fff 74%);
}

.xuru-home-company-column-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.xuru-home-company-column-header h3 {
  margin: 0;
  color: var(--xuru-ink);
  font-size: 14px;
}

.xuru-home-company-link {
  color: var(--xuru-indigo);
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}

.xuru-home-company-link:hover {
  text-decoration: underline;
}

.xuru-home-company-item {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-top: 1px solid rgba(61,56,255,.1);
  color: var(--xuru-ink);
  text-decoration: none;
}

.xuru-home-company-item strong {
  font-size: 12px;
}

.xuru-home-company-item span,
.xuru-home-company-empty {
  margin: 0;
  color: var(--xuru-muted);
  font-size: 11px;
  line-height: 1.45;
}

.xuru-home-company-item.is-shoutout strong::before {
  margin-right: 6px;
  color: var(--xuru-teal);
  content: "★";
}

.xuru-home-card-link:focus-visible,
.xuru-home-request-link:focus-visible,
.xuru-home-action-item button:focus-visible,
.xuru-home-quick-action:focus-visible,
.xuru-home-primary-action:focus-visible,
.xuru-home-company-link:focus-visible {
  outline: 3px solid var(--xuru-yellow);
  outline-offset: 3px;
}

.xuru-home-loading {
  color: var(--xuru-muted);
  font-size: 12px;
}

.role-preview-frame[data-xuru-employee-role-preview-home="true"] .role-preview-banner {
  border-color: rgba(61,56,255,.24);
  background: linear-gradient(90deg, rgba(193,242,237,.72), rgba(255,224,51,.18));
}

@media (max-width: 950px) {
  .xuru-home-today-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 700px) {
  .xuru-home-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .xuru-home-date { text-align: left; }

  .xuru-home-today-grid,
  .xuru-home-quick-grid,
  .xuru-home-company-grid {
    grid-template-columns: 1fr;
  }

  .xuru-home-updates-header {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* ORGANIZATION DIRECTORY PHOTOS */
.xuru-profile-photo-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(230px, auto);
  align-items: center;
  gap: 16px;
  margin: 16px 0;
  padding: 16px;
  border: 1px solid #e3e5f2;
  border-radius: 18px;
  background: #f8f9fe;
}
.xuru-profile-photo-preview,
.xuru-home-directory-avatar {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(135deg, #3030aa, #02adad);
  color: #fff;
  font-weight: 800;
}
.xuru-profile-photo-preview { width: 96px; height: 96px; }
.xuru-profile-photo-preview img,
.xuru-home-directory-avatar img { width: 100%; height: 100%; object-fit: cover; }
.xuru-profile-photo-copy { display: grid; gap: 3px; }
.xuru-profile-photo-copy small { color: #1884a7; font-size: .68rem; font-weight: 800; letter-spacing: .1em; }
.xuru-profile-photo-copy strong { font-size: 1.05rem; color: #26265f; }
.xuru-profile-photo-copy p,
.xuru-profile-photo-status { margin: 0; color: #74748a; font-size: .78rem; }
.xuru-profile-photo-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.xuru-profile-photo-controls input[type="file"] { max-width: 250px; font-size: .74rem; }
.xuru-profile-photo-button { border: 0; border-radius: 10px; padding: 9px 12px; background: #3030aa; color: #fff; font-weight: 750; cursor: pointer; }
.xuru-profile-photo-button.is-secondary { border: 1px solid #d9dbea; background: #fff; color: #3030aa; }
.xuru-profile-photo-status { grid-column: 2 / -1; }
.xuru-profile-photo-status.is-error { color: #a33d3d; }

.employee-directory-panel .access-avatar.has-xuru-directory-photo,
.employee-profile-header .access-avatar.has-xuru-directory-photo {
  color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.employee-directory-panel .xuru-native-directory-card {
  border-radius: 10px;
  cursor: pointer;
}
.employee-directory-panel .xuru-native-directory-card:hover strong {
  color: #3030aa;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.employee-directory-panel .xuru-native-directory-card:focus-visible {
  outline: 3px solid #ffce00;
  outline-offset: 4px;
}

.xuru-home-directory { display: grid; gap: 14px; }
.xuru-home-directory-header { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.xuru-home-directory-header h2 { margin: 4px 0; color: #26265f; }
.xuru-home-directory-header p { margin: 0; max-width: 690px; color: #74748a; }
.xuru-home-directory-header input { width: min(380px, 100%); min-height: 44px; padding: 10px 13px; border: 1px solid #d8daea; border-radius: 12px; }
.xuru-home-directory-count { margin: 0; color: #74748a; font-size: .78rem; }
.xuru-home-directory-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.xuru-home-directory-card { display: grid; width: 100%; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 14px; border: 1px solid #e3e5f2; border-radius: 15px; background: #fff; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.xuru-home-directory-card:hover { border-color: #6060f4; box-shadow: 0 9px 24px rgba(48,48,170,.1); transform: translateY(-1px); }
.xuru-home-directory-card:focus-visible { outline: 3px solid #ffce00; outline-offset: 3px; }
.xuru-home-directory-avatar { width: 54px; height: 54px; grid-row: 1 / span 2; }
.xuru-home-directory-copy { display: grid; gap: 2px; min-width: 0; }
.xuru-home-directory-copy strong { color: #26265f; }
.xuru-home-directory-copy span,
.xuru-home-directory-copy small { color: #74748a; overflow-wrap: anywhere; }
.xuru-home-directory-copy span { font-size: .8rem; }
.xuru-home-directory-copy small { font-size: .7rem; }
.xuru-home-directory-contact { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .72rem; }
.xuru-home-directory-contact a { color: #3030aa; }
.xuru-home-directory-contact span { color: #74748a; }
.xuru-home-directory-empty { grid-column: 1 / -1; margin: 0; padding: 18px; border: 1px dashed #cdd0e4; border-radius: 13px; color: #74748a; text-align: center; }
.xuru-home-directory-more { justify-self: center; padding: 10px 16px; border: 1px solid #d9dbea; border-radius: 10px; background: #fff; color: #3030aa; font-weight: 800; cursor: pointer; }

body.xuru-directory-modal-open { overflow: hidden; }
.xuru-directory-modal-shade { position: fixed; inset: 0; z-index: 10050; display: grid; place-items: center; padding: 24px; background: rgba(21,24,47,.66); }
.xuru-directory-modal { width: min(900px, 100%); max-height: min(880px, calc(100vh - 48px)); overflow: auto; padding: 22px; border-radius: 22px; background: #fff; box-shadow: 0 28px 80px rgba(21,24,47,.32); }
.xuru-directory-modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.xuru-directory-modal-header small { color: #02adad; font-size: .68rem; font-weight: 900; letter-spacing: .1em; }
.xuru-directory-modal-header h2 { margin: 5px 0 2px; color: #26265f; }
.xuru-directory-modal-header p { margin: 0; color: #74748a; }
.xuru-directory-modal-close { padding: 9px 12px; border: 1px solid #d9dbea; border-radius: 10px; background: #fff; color: #3030aa; font-weight: 800; cursor: pointer; }
.xuru-directory-profile-details { display: grid; grid-template-columns: minmax(130px,.45fr) minmax(0,1fr); margin: 18px 0; border: 1px solid #e3e5f2; border-radius: 14px; overflow: hidden; }
.xuru-directory-profile-details dt,
.xuru-directory-profile-details dd { margin: 0; padding: 10px 12px; border-bottom: 1px solid #edf0f7; }
.xuru-directory-profile-details dt { background: #f7f8fc; color: #74748a; font-size: .74rem; font-weight: 800; }
.xuru-directory-profile-details dd { color: #26265f; overflow-wrap: anywhere; }
.xuru-directory-profile-details dt:last-of-type,
.xuru-directory-profile-details dd:last-of-type { border-bottom: 0; }
.xuru-directory-profile-privacy { margin: 18px 0 0; padding: 13px; border-radius: 12px; background: #f7f8fc; color: #74748a; font-size: .8rem; }
.xuru-directory-profile-photo { margin-top: 20px; }
.xuru-employee-journey { border-color: rgba(2,173,173,.28); background: linear-gradient(155deg, rgba(193,242,237,.24), #fff 70%); }

@media (max-width: 780px) {
  .xuru-profile-photo-card { grid-template-columns: auto minmax(0, 1fr); }
  .xuru-profile-photo-controls, .xuru-profile-photo-status { grid-column: 1 / -1; justify-content: flex-start; }
  .xuru-home-directory-header { align-items: stretch; flex-direction: column; }
  .xuru-home-directory-header input { width: 100%; }
  .xuru-home-directory-results { grid-template-columns: 1fr; }
  .xuru-directory-modal-shade { padding: 10px; }
  .xuru-directory-modal { max-height: calc(100vh - 20px); padding: 16px; }
  .xuru-directory-profile-details { grid-template-columns: 1fr; }
  .xuru-directory-profile-details dt { border-bottom: 0; }
}

/* XURU DIRECTORY AND LEGACY SURFACES — shared My Day visual language */
.access-shell .access-main {
  color: #24245c;
  font-family: Questrial, Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
.access-shell .access-main :is(button, input, select, textarea) { font-family: inherit; }
.access-shell .access-main > .access-topbar {
  padding: 24px 28px;
  border: 1px solid rgba(96,96,244,.16);
  border-radius: 22px;
  background: linear-gradient(128deg, #3030aa, #5148dc 75%, #6664ef);
  box-shadow: 0 12px 32px rgba(48,48,170,.14);
}
.access-shell .access-main > .access-topbar > div:first-child > small {
  color: #ffe033;
  font-size: 11px;
  letter-spacing: .12em;
}
.access-shell .access-main > .access-topbar h1 {
  color: #fff;
  font-family: Avenir, Questrial, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -.025em;
  margin: 6px 0 8px;
}
.access-shell .access-main > .access-topbar p { color: rgba(255,255,255,.88); font-size: 14px; max-width: 760px; }
.access-shell .access-main .access-panel {
  border-color: rgba(61,56,255,.14);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(48,48,170,.055);
}
.access-shell .access-main .access-panel > header > div > small { color: #62627b; font-size: 10px; letter-spacing: .12em; }
.access-shell .access-main .access-panel h2 {
  color: #26265f;
  font-family: Avenir, Questrial, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 750;
}
.access-shell .access-main .access-panel > header p { color: #62627b; font-size: 13px; }
.access-shell .access-main :is(.access-search, .access-select) { border-color: #d8daea; border-radius: 12px; background: #fff; }
.access-shell .access-main :is(.access-search input, .access-select select) { font-size: 14px; }
.access-shell .access-main .access-button-primary { background: #3030aa; border-color: #3030aa; border-radius: 11px; }
.access-shell .access-main :is(.access-refresh, .employee-table > article > button) { border-radius: 10px; color: #3030aa; }
.access-shell .access-main .employee-filters { gap: 10px; }
.access-shell .access-main .employee-table-head { color: #74748a; font-size: 11px; }
.access-shell .access-main .employee-table > article { background: #fcfcff; border-color: #e3e5f2; border-radius: 13px; }
.access-shell .access-main .employee-table > article.employee-needs-review { border-color: #efd79b; }
.access-shell .access-main .employee-table .access-member-person strong { color: #26265f; font-size: 14px; }
.access-shell .access-main .employee-table .access-member-person small { font-size: 12px; overflow-wrap: anywhere; }
.xuru-directory-pagination { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 16px; color: #62627b; font-size: 13px; }
.xuru-directory-pagination > div { display: flex; align-items: center; gap: 12px; }
.xuru-directory-pagination button { min-height: 40px; padding: 8px 14px; background: #fff; border: 1px solid #d8daea; border-radius: 10px; color: #3030aa; font: inherit; font-weight: 700; cursor: pointer; }
.xuru-directory-pagination button:disabled { opacity: .45; cursor: default; }
.xuru-directory-pagination button:not(:disabled):hover { background: #f0f0ff; border-color: #6060f4; }
.xuru-directory-pagination button:focus-visible, .xuru-home-directory-filters :is(input,select):focus-visible { outline: 3px solid #ffce00; outline-offset: 3px; }
.xuru-home-directory-header { flex-wrap: wrap; align-items: start; }
.xuru-home-directory-header > div:first-child { flex: 1 1 280px; }
.xuru-home-directory-filters { display: flex; align-items: center; gap: 10px; flex: 1 1 460px; }
.xuru-home-directory-filters input { flex: 1 1 230px; min-width: 0; width: 100%; font: inherit; font-size: 14px; }
.xuru-home-directory-filters select { flex: 0 1 220px; min-width: 150px; max-width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #d8daea; border-radius: 12px; background: #fff; color: #26265f; font: inherit; font-size: 14px; }
@media (max-width: 780px) {
  .access-shell .access-main > .access-topbar { padding: 20px; gap: 18px; flex-wrap: wrap; }
  .access-shell .access-main .access-panel { padding: 16px; }
  .access-shell .access-main .access-panel > header { align-items: flex-start; flex-wrap: wrap; }
  .xuru-home-directory-header > div:first-child, .xuru-home-directory-filters { flex-basis: auto; }
  .xuru-home-directory-filters { width: 100%; flex-wrap: wrap; }
  .xuru-home-directory-filters input { flex-basis: 100%; }
  .xuru-home-directory-filters select { flex: 1 1 100%; }
}
