:root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --panel-soft: #f8fafd;
  --text: #1f2937;
  --muted: #7a8594;
  --border: #e4e8f0;
  --line: #edf0f5;
  --blue: #5874bd;
  --blue-soft: #edf3ff;
  --green: #76bd91;
  --green-dark: #4a9a69;
  --purple: #9351d6;
  --red: #d94b5c;
  --red-soft: #fff0f2;
  --orange: #f0a258;
  --shadow: 0 10px 30px rgba(31, 41, 55, 0.08);
}

/* Connect Board compact modal workspace */
body.has-dash-menu .admin-status-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2147482600;
  max-width: min(440px, calc(100vw - 32px));
  padding: 10px 14px;
  border: 1px solid rgba(0, 169, 145, 0.28);
  border-radius: 9px;
  background: rgba(7, 35, 39, 0.94);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 18px 50px rgba(5, 30, 35, 0.28);
}

body.has-dash-menu .admin-status-toast[hidden] {
  display: none;
}





body.has-dash-menu .week-actions-grid .action-btn::before {
  width: 28px;
  height: 28px;
  background: color-mix(in srgb, var(--action-tone) 18%, white);
  border: 1px solid color-mix(in srgb, var(--action-tone) 36%, white);
  box-shadow: inset 0 0 0 7px color-mix(in srgb, var(--action-tone) 72%, white);
}

body.has-dash-menu .week-actions-grid .action-clear { --action-tone: #b84b55; }


body.has-dash-menu .employee-control-modal > .modal-head {
  position: sticky;
  top: -16px;
  z-index: 5;
  margin: -16px -18px 0;
  padding: 16px 18px 12px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
}

body.has-dash-menu .employee-control-modal > .muted {
  margin: 8px 0 2px;
}



body.has-dash-menu .employee-control-modal .employee-account-overview-card {
  grid-column: 1 / -1;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: stretch;
}












/* Walker account light view */


body.has-dash-menu .employee-control-modal > .modal-head h2 {
  font-size: 1.55rem;
}

body.has-dash-menu .employee-control-modal > .modal-head .eyebrow,
body.has-dash-menu .employee-control-modal > #employeeMessageTarget,
body.has-dash-menu .employee-account-overview-card > .control-card-head,
body.has-dash-menu .employee-control-modal .access-help,
body.has-dash-menu .employee-control-modal #employeeToolSummaryMeta,
body.has-dash-menu .employee-control-modal #employeeBoardSummaryMeta {
  display: none;
}


body.has-dash-menu .employee-control-modal .employee-control-card {
  gap: 6px;
  padding: 10px;
  border-color: rgba(19, 68, 74, 0.1);
  background: #fff;
  box-shadow: none;
}

body.has-dash-menu .employee-control-modal .employee-account-overview-card {
  grid-template-columns: 230px minmax(0, 1fr);
  padding: 8px;
}


body.has-dash-menu .employee-control-modal .employee-account-avatar {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  font-size: 0.82rem;
}

body.has-dash-menu .employee-control-modal .employee-account-hero-copy strong {
  font-size: 0.98rem;
}

body.has-dash-menu .employee-control-modal .employee-account-hero-copy span {
  font-size: 0.74rem;
}

body.has-dash-menu .employee-control-modal .account-facts-grid {
  grid-template-columns: 1.45fr 1.35fr 0.8fr 0.7fr;
  gap: 4px;
}


body.has-dash-menu .employee-control-modal .account-fact label {
  font-size: 0.58rem;
}


body.has-dash-menu .employee-control-modal .control-card-head h3,
body.has-dash-menu .employee-control-modal .message-history-head h3 {
  font-size: 0.84rem;
}

body.has-dash-menu .employee-control-modal .control-card-head .eyebrow {
  font-size: 0.56rem;
}

body.has-dash-menu .employee-control-modal .control-status {
  min-height: 22px;
  padding: 0 8px;
  font-size: 0.66rem;
}

body.has-dash-menu .employee-control-modal .compact-toggle {
  padding: 7px 8px;
}

body.has-dash-menu .employee-control-modal .compact-toggle small {
  display: none;
}

body.has-dash-menu .employee-control-modal .tool-summary-pills {
  gap: 4px;
}

body.has-dash-menu .employee-control-modal .tool-summary-pill {
  min-height: 22px;
  padding: 0 8px;
  font-size: 0.64rem;
}

body.has-dash-menu .employee-control-modal button,
body.has-dash-menu .employee-control-modal select,
body.has-dash-menu .employee-control-modal input {
  min-height: 34px;
}

body.has-dash-menu .employee-control-modal .employee-board-summary-card {
  grid-template-columns: minmax(190px, 0.7fr) minmax(220px, 1fr) minmax(170px, auto);
  padding-block: 8px;
}

body.has-dash-menu .employee-message-details {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(19, 68, 74, 0.12);
}

body.has-dash-menu .employee-message-details > summary {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 4px;
  color: #24464d;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

body.has-dash-menu .employee-message-details > summary::after {
  content: "+";
  margin-left: auto;
  color: #008b7e;
  font-size: 1rem;
}

body.has-dash-menu .employee-message-details[open] > summary::after {
  content: "−";
}

body.has-dash-menu .employee-message-details-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 8px;
  padding-top: 4px;
}

body.has-dash-menu .employee-message-details-grid .message-compose-card,
body.has-dash-menu .employee-message-details-grid .message-history-card {
  grid-column: auto;
}

@media (max-width: 900px) {
  body.has-dash-menu .employee-control-modal .employee-account-overview-card,
  body.has-dash-menu .employee-control-modal .employee-board-summary-card,
  body.has-dash-menu .employee-message-details-grid {
    grid-template-columns: 1fr;
  }

  body.has-dash-menu .employee-control-modal .account-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button,
a {
  border-radius: 22px;
}

button {
  min-height: 40px;
  padding: 0 16px;
  color: #ffffff;
  background: #5f82e6;
  border: 0;
  cursor: pointer;
  font-weight: 700;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

input,
select,
textarea {
  width: 100%;
  min-height: 40px;
  padding: 10px 14px;
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #8aa7ff;
  box-shadow: 0 0 0 3px rgba(95, 130, 230, 0.12);
}

textarea {
  min-height: 92px;
  resize: vertical;
}

label {
  display: block;
  margin: 14px 0 7px;
  color: var(--muted);
  font-weight: 700;
}

.home-shell,
.employee-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(95, 130, 230, 0.12), transparent 34rem),
    var(--bg);
}


.home-hero,
.login-card,
.portal-card,
.portal-section,
.employee-panel,
.board-panel,
.requests-panel,
.stats-grid article {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.home-hero {
  width: min(100%, 820px);
  padding: 42px;
  border-radius: 24px;
}

.home-hero h1 {
  max-width: 730px;
  margin: 0 0 16px;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 18px;
  text-decoration: none;
  font-weight: 800;
}

.primary-link {
  color: #ffffff;
  background: #5f82e6;
}

.secondary-link {
  color: #5f82e6;
  background: #ffffff;
  border: 1px solid var(--border);
}

.connect-shell {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  min-height: 100vh;
}

.app-rail {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 18px 10px;
  background: #ffffff;
  border-right: 1px solid var(--border);
  z-index: 20;
}

.rail-logo,
.rail-item {
  display: grid;
  place-items: center;
  text-decoration: none;
  font-weight: 900;
}

.rail-logo {
  width: 42px;
  height: 42px;
  color: #5f82e6;
  font-size: 0.92rem;
  letter-spacing: 0;
}

.rail-logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 10px;
}

.rail-item {
  width: 34px;
  height: 34px;
  color: #667085;
  background: #f5f7fb;
  border: 1px solid transparent;
}

.rail-item.is-active {
  color: #ffffff;
  background: #66c2a5;
}


.global-topbar {
  position: sticky;
  top: 0;
  z-index: 12;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  min-height: 70px;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.brand {
  color: #6a9eea;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0;
}

.top-search {
  position: relative;
  margin: 0;
}

.top-search span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.top-search input {
  min-height: 44px;
  border-radius: 12px;
}

.profile-pill {
  justify-self: end;
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: #5874bd;
  background: #f6f8ff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
}

.app-shell {
  width: 100%;
  margin: 0;
  padding: 18px 20px 28px;
}

.schedule-toolbar,
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.schedule-toolbar {
  align-items: stretch;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.94)),
    radial-gradient(circle at top right, rgba(147, 81, 214, 0.12), transparent 34%);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(31, 41, 55, 0.08);
}

.schedule-toolbar > div:first-child {
  min-width: 220px;
  display: grid;
  align-content: center;
  gap: 4px;
}

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

.week-publish-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 0.77rem;
  font-weight: 900;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--muted);
}

.week-publish-badge.is-published {
  color: #166534;
  background: #ecfdf3;
  border-color: #bbf7d0;
}

.week-publish-badge.is-draft {
  color: #5b6474;
  background: #ffffff;
  border-color: var(--border);
}

.week-publish-meta {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}


.topbar.compact {
  padding-bottom: 16px;
}

.top-actions {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: end;
  gap: 8px;
}

.week-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(116px, auto));
  gap: 8px;
}

.top-actions button,
.week-actions-grid .action-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  border-radius: 13px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(31, 41, 55, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.top-actions button:hover,
.week-actions-grid .action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(31, 41, 55, 0.11);
}

.top-actions button::before,
.week-actions-grid .action-btn::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.68;
  box-shadow: 0 0 0 4px currentColor;
}

.top-actions button {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 16px;
  font-size: 0.84rem;
  border-width: 1px;
}

.top-actions button::before {
  width: 10px;
  height: 10px;
  opacity: 0.4;
  box-shadow: none;
}

.top-actions .action-sync,
.week-actions-grid .action-sync {
  color: #4f70c7;
  background: #f3f6ff;
  border-color: rgba(88, 116, 189, 0.18);
}

.top-actions .action-tools,
.week-actions-grid .action-tools {
  color: #4a5568;
  background: linear-gradient(180deg, #ffffff, #f7f9fd);
  border-color: rgba(203, 213, 225, 0.9);
}

.top-actions .action-add,
.week-actions-grid .action-add {
  color: #247f68;
  background: #edf9f5;
  border-color: rgba(102, 194, 165, 0.24);
}

.top-actions .action-transfer,
.top-actions .action-export,
.week-actions-grid .action-transfer,
.week-actions-grid .action-export {
  color: #5f6d82;
  background: #ffffff;
  border-color: var(--border);
}

.top-actions .action-clear,
.week-actions-grid .action-clear {
  color: var(--red);
  background: #fff5f6;
  border-color: rgba(217, 75, 92, 0.18);
}

.top-actions .action-publish {
  min-width: 132px;
  color: #ffffff;
  background: linear-gradient(135deg, #6f79ff, #8d57f4);
  border: 1px solid rgba(111, 121, 255, 0.22);
  box-shadow: 0 16px 32px rgba(111, 121, 255, 0.24);
}

.top-actions .action-publish::before {
  background: rgba(255, 255, 255, 0.92);
}

.top-actions .action-tools::before {
  background: rgba(148, 163, 184, 0.82);
}

.eyebrow,
.muted,
.topbar h1,
.schedule-toolbar h1,
.section-head h2,
.login-card h1 {
  margin: 0;
}

.employee-login-form {
  display: grid;
}

.eyebrow {
  color: #5f82e6;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.muted,
.status-line,
.employee-sub,
.day-note {
  color: var(--muted);
}

.success {
  background: var(--purple);
}

.danger {
  background: var(--red);
}

.ghost-btn {
  color: #5f82e6;
  background: #ffffff;
  border: 1px solid var(--border);
  font-weight: 800;
}

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

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 0 0 16px;
}

.stats-grid article {
  position: relative;
  overflow: hidden;
  padding: 12px 14px;
  border-radius: 16px;
}


.stats-grid article::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--blue), var(--green));
  opacity: 0.72;
}

.stats-grid span {
  color: var(--muted);
}

.stats-grid strong {
  display: block;
  margin-top: 3px;
  font-size: 1.34rem;
  letter-spacing: 0;
}

.stat-card.is-clickable {
  cursor: pointer;
}

.stat-card.is-clickable:hover {
  border-color: #cfd9ff;
  box-shadow: 0 10px 24px rgba(95, 130, 230, 0.12);
}

.scheduler-layout,
.employee-grid {
  display: grid;
  gap: 18px;
}

.scheduler-layout {
  grid-template-columns: minmax(0, 1fr);
}

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

.board-panel,
.requests-panel,
.portal-card,
.portal-section,
.login-card {
  padding: 16px;
  border-radius: 20px;
}

.board-panel {
  padding: 0;
  overflow: hidden;
  min-height: calc(100vh - 230px);
}

.board-nav {
  position: sticky;
  left: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}


.board-day-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  position: relative;
  overflow: visible;
}

.board-filter-label {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: #5874bd;
  background: #f6f8ff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}

.board-status-filter {
  position: relative;
}

.status-filter-toggle {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  color: #4f5f78;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(31, 41, 55, 0.06);
}

.status-filter-toggle::before {
  content: none;
}

.status-filter-arrow {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 160ms ease;
}

.board-status-filter.is-open .status-filter-arrow {
  transform: rotate(225deg) translateY(-1px);
}

.status-filter-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 25;
  width: min(260px, calc(100vw - 40px));
  padding: 12px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(31, 41, 55, 0.14);
}

.status-filter-dropdown-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.status-filter-dropdown-head strong {
  font-size: 0.82rem;
  font-weight: 900;
}

.status-filter-reset {
  min-height: 28px;
  padding: 0 10px;
  color: #5874bd;
  background: #f6f8ff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.status-filter-options {
  display: grid;
  gap: 6px;
  max-height: 260px;
  overflow: auto;
}

.status-filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px 10px;
  background: #fbfcff;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.status-filter-option input {
  width: 16px;
  min-height: 16px;
  margin: 0;
  accent-color: #5f82e6;
}

.status-filter-option span {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
}

.status-filter-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.board-week-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.week-nav-icon {
  width: 34px;
  min-width: 34px;
  min-height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #5f82e6;
  background: linear-gradient(180deg, #ffffff, #f8faff);
  border: 1px solid rgba(95, 130, 230, 0.16);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(95, 130, 230, 0.1);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.week-nav-icon:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(95, 130, 230, 0.16);
}

.week-nav-icon::before {
  content: none;
}

.login-card {
  width: min(100%, 430px);
}

.portal-card {
  width: min(100%, 1180px);
}

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

.employee-list,
.requests-list,
.my-schedule {
  display: grid;
  gap: 9px;
}

.employee-list {
  max-height: 58vh;
  overflow: auto;
}

.employee-card,
.request-card,
.schedule-row {
  padding: 11px;
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.employee-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 4px 10px;
  align-items: center;
  cursor: grab;
}

.employee-card strong,
.request-card strong {
  display: block;
}

.employee-card-avatar-wrap,
.employee-card-copy {
  min-width: 0;
}

.employee-card-copy {
  display: grid;
  gap: 3px;
}

.employee-sub {
  font-size: 0.84rem;
}

.employee-card-avatar,
.avatar,
.employee-account-avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #ffffff;
  background: #76bd91;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
}

.employee-card-avatar {
  width: 40px;
  height: 40px;
}

.employee-card-avatar.has-photo,
.avatar.has-photo,
.employee-account-avatar.has-photo {
  background: #e9f0ff;
}

.employee-card-avatar img,
.avatar img,
.employee-account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pin-pill,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  margin-top: 6px;
  color: #4d65a9;
  background: var(--blue-soft);
  border: 1px solid #dce6ff;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.pin-pill.is-active-account {
  color: #2e6f49;
  background: #ecfbf2;
  border-color: #ccefd8;
}

.choose-employee-btn {
  grid-row: 1 / span 3;
  grid-column: 3;
  min-height: 34px;
  padding: 0 12px;
  color: #5f82e6;
  background: #ffffff;
  border: 1px solid var(--border);
}

.week-board,
.schedule-grid {
  width: 100%;
  overflow: auto;
}

.schedule-grid {
  display: grid;
  grid-template-columns: 230px repeat(7, minmax(190px, 1fr));
  grid-auto-rows: minmax(58px, auto);
  align-content: start;
  align-items: stretch;
  background: #ffffff;
}

.grid-head,
.user-cell,
.shift-cell {
  min-height: 58px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.grid-head {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px 14px;
  background: #ffffff;
}

.users-head {
  left: 0;
  z-index: 6;
  color: var(--muted);
  font-weight: 800;
}


.day-head span {
  color: var(--muted);
  font-size: 0.78rem;
}


.user-cell {
  position: sticky;
  left: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 68px;
  padding: 10px 12px;
  background: #ffffff;
  overflow: visible;
}

.user-cell.menu-open {
  z-index: 48;
}

.user-cell-copy {
  min-width: 0;
}

.user-cell strong {
  display: block;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.92rem;
}

.employee-name-btn {
  display: block;
  max-width: 150px;
  min-height: auto;
  padding: 0;
  overflow: hidden;
  color: var(--text);
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: transparent;
  border-radius: 0;
  font-size: 0.92rem;
  font-weight: 900;
}

.employee-name-btn:hover {
  color: #5f82e6;
}

.user-cell-copy span {
  display: block;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 0.78rem;
}


.user-cell-actions {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 4px;
  min-width: 0;
}

.employee-row-menu-btn {
  width: 24px;
  min-width: 24px;
  min-height: 24px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  color: rgba(95, 130, 230, 0.66);
  background: #ffffff;
  border: 1px solid rgba(228, 232, 240, 0.92);
  border-radius: 999px;
  font-weight: 900;
  line-height: 1;
  box-shadow: none;
}

.employee-row-menu-btn::before {
  content: none;
}

.employee-row-menu-btn .menu-dot {
  width: 3px;
  height: 3px;
  display: block;
  background: currentColor;
  border-radius: 999px;
  opacity: 0.9;
}

.employee-row-menu {
  top: calc(100% + 8px);
  right: 0;
  min-width: 188px;
  z-index: 42;
}

.employee-row-menu button {
  white-space: nowrap;
}

.shift-cell {
  position: relative;
  min-height: 68px;
  padding: 6px;
  background: #ffffff;
}

.shift-cell.has-unavailable {
  background: #fff8f9;
}


.shift-cell.is-focused-day.has-unavailable {
  background: #fff4f7;
}

.shift-chip {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  min-height: 48px;
  padding: 9px 10px;
  color: #ffffff;
  background: var(--blue);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  box-shadow: inset 4px 0 0 rgba(151, 203, 82, 0.95);
  cursor: grab;
}

.shift-chip strong {
  display: block;
  font-size: 0.82rem;
  line-height: 1.05;
}

.shift-chip .employee-sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.74rem;
  font-weight: 700;
}

.shift-chip.status-on_duty {
  background: var(--blue);
}

.shift-chip.status-lead {
  background: #245c73;
  box-shadow: inset 4px 0 0 rgba(240, 162, 88, 0.95);
}

.shift-chip.status-ore {
  background: #6f5cc8;
}

.shift-chip.status-training {
  background: #2f9788;
}

.shift-chip.status-unavailable {
  background: var(--red);
  box-shadow: inset 4px 0 0 rgba(255, 255, 255, 0.46);
}

.shift-chip.status-call_out {
  background: #9f3a3a;
  box-shadow: inset 4px 0 0 rgba(255, 225, 225, 0.72);
  cursor: pointer;
}

.shift-chip.is-callout-chip {
  cursor: pointer;
}

.shift-chip > button {
  min-height: 26px;
  padding: 0 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.shift-menu-btn {
  width: 30px;
  font-weight: 900;
  letter-spacing: 1px;
}

.shift-menu {
  position: absolute;
  top: calc(100% + 5px);
  right: 4px;
  z-index: 30;
  display: none;
  min-width: 156px;
  padding: 6px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 42px rgba(31, 41, 55, 0.2);
}

.shift-menu.is-open {
  display: grid;
  gap: 3px;
}

.shift-menu button {
  width: 100%;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: start;
  padding: 0 10px;
  color: var(--text);
  text-align: left;
  background: transparent;
  border-radius: 8px;
  font-size: 0.84rem;
}

.shift-menu button:hover,
.shift-menu button.is-selected {
  color: #4d65a9;
  background: var(--blue-soft);
}

.shift-menu .remove-assignment {
  color: var(--red);
}

.request-block {
  display: grid;
  gap: 7px;
  min-height: 56px;
  padding: 9px 10px;
  background: linear-gradient(180deg, #ffffff, #fff9fb);
  border: 1px solid #ffd8df;
  border-radius: 12px;
  box-shadow: inset 3px 0 0 rgba(217, 75, 92, 0.16);
}

.request-block.status-approved {
  background: linear-gradient(180deg, #ffffff, #f7fff9);
  border-color: #cdeed8;
  box-shadow: inset 3px 0 0 rgba(118, 189, 145, 0.42);
}

.request-block-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.request-block-type {
  font-size: 0.8rem;
  line-height: 1.15;
}

.request-block-status {
  flex: 0 0 auto;
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  border: 1px solid #ffd8df;
  color: #b42318;
  background: #fff5f6;
}

.request-block-status.status-approved {
  color: #166534;
  background: #ecfdf3;
  border-color: #bbf7d0;
}

.request-block-status.status-pending_proof {
  color: #9a3412;
  background: #fff7ed;
  border-color: #fed7aa;
}

.request-block-meta,
.request-block-shift {
  color: #5f6b7f;
  font-size: 0.74rem;
  font-weight: 800;
}

.request-block-note,
.request-block-review {
  margin: 0;
  color: #516072;
  font-size: 0.74rem;
  line-height: 1.35;
}

.request-block-review {
  padding: 8px;
  background: rgba(248, 250, 255, 0.92);
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 10px;
}

.request-block-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.request-block-actions button {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 0.72rem;
}

.unavailable-block {
  display: grid;
  place-items: center;
  min-height: 46px;
  padding: 8px;
  color: var(--red);
  text-align: center;
  background: var(--red-soft);
  border: 1px solid #ffd6dc;
  border-radius: 8px;
}

.unavailable-block strong,
.unavailable-block span {
  display: block;
  font-size: 0.8rem;
}

.unavailable-block.is-callout-block {
  color: #8a2e2e;
  background: #fff0f0;
  border-color: #f2c6c6;
  cursor: pointer;
}

.add-shift-btn {
  width: 100%;
  min-height: 44px;
  color: transparent;
  background: transparent;
  border: 1px dashed transparent;
  border-radius: 8px;
}

.shift-cell:hover .add-shift-btn {
  color: #5f82e6;
  border-color: #cfd9ff;
  background: #f8faff;
}

.schedule-empty {
  grid-column: 1 / -1;
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

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

.availability-days label {
  display: grid;
  place-items: center;
  min-height: 58px;
  margin: 0;
  color: var(--text);
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
}

.availability-days input {
  width: auto;
}

.request-form {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(248, 250, 255, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%);
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.request-type-group {
  display: grid;
  gap: 0;
}

.request-field {
  display: grid;
  gap: 0;
}

.request-guidance {
  margin: 0;
  padding: 13px 14px;
  color: #44516d;
  background: linear-gradient(180deg, #f7faff 0%, #f1f6ff 100%);
  border: 1px solid #dfe8ff;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(88, 116, 189, 0.08);
  line-height: 1.45;
}

.callout-document-panel {
  display: grid;
  gap: 8px;
  padding: 13px 14px;
  background: linear-gradient(180deg, #fff8f8 0%, #fff2f2 100%);
  border: 1px solid #f2d0d0;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(159, 58, 58, 0.08);
}

.requests-panel {
  margin-top: 18px;
}

.request-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.request-actions button {
  min-height: 34px;
  padding: 0 12px;
}

.requests-list .request-card {
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.requests-list .request-card:hover {
  border-color: #cfd9ff;
  box-shadow: 0 10px 24px rgba(95, 130, 230, 0.12);
  transform: translateY(-1px);
}

.requests-list .request-card.is-callout {
  border-color: #f1c7c7;
  background: linear-gradient(180deg, #fffefe 0%, #fff6f6 100%);
}

.requests-list .request-card.is-block-days {
  border-color: #cfe1ff;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

.request-callout-note {
  margin: 8px 0 0;
  color: #6a4f4f;
  line-height: 1.45;
}

.request-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}

.request-card-actions .danger-btn {
  border-color: #efc1c8;
  color: #a33f4b;
  background: #fff7f8;
}

.request-card-actions .danger-btn:hover,
.request-card-actions .danger-btn:focus-visible {
  border-color: #d45a68;
  background: #fff0f2;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(31, 41, 55, 0.32);
  backdrop-filter: blur(4px);
}

.picker-modal {
  width: min(100%, 620px);
  max-height: min(760px, 92vh);
  display: grid;
  gap: 14px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 26px 80px rgba(31, 41, 55, 0.24);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-head h2 {
  margin: 0;
}

.icon-btn {
  width: 38px;
  min-height: 38px;
  padding: 0;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid var(--border);
}

.picker-help {
  margin: 0;
}

.picker-list {
  padding-right: 4px;
}

.message-modal {
  width: min(100%, 1320px);
  max-height: min(920px, 96vh);
  gap: 10px;
  padding: 18px;
  overflow: auto;
}

.message-modal > .muted {
  margin: -4px 0 0;
}

.message-modal label {
  margin: 8px 0 5px;
}

.message-modal input,
.message-modal textarea {
  min-height: 34px;
}

.message-modal textarea {
  min-height: 74px;
  resize: vertical;
}

.employee-control-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(16, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.employee-control-card {
  min-width: 0;
  display: grid;
  align-content: start;
  align-self: start;
  grid-column: span 4;
  gap: 9px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.94));
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(31, 41, 55, 0.06);
}

.control-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.control-card-head h3,
.message-history-head h3 {
  margin: 0;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.control-status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: #23533a;
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  font-size: 12px;
}

.employee-control-card label {
  margin: 4px 0 0;
}

.employee-control-card .pin-editor-row {
  margin-top: 0;
}

.employee-control-card .wide-action {
  width: 100%;
}

.employee-account-overview-card {
  grid-column: 1 / -1;
}

.employee-account-hero {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: linear-gradient(180deg, #f8fbff, #f4f7ff);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.employee-account-avatar {
  width: 78px;
  height: 78px;
  border-radius: 24px;
  font-size: 1.08rem;
}

.employee-account-hero-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.employee-account-hero-copy strong {
  font-size: 1.15rem;
  line-height: 1.2;
}

.employee-account-hero-copy span {
  color: var(--muted);
  font-size: 0.92rem;
}

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

.account-fact {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.account-fact label {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-fact strong {
  line-height: 1.4;
  word-break: break-word;
}

.tool-state-list {
  display: grid;
  gap: 9px;
}

.employee-tool-summary-card {
  grid-column: span 4;
}

.employee-board-summary-card {
  grid-column: span 4;
}

.tool-summary-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-summary-pill {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  color: #4d65a9;
  background: #eef4ff;
  border: 1px solid #d8e5ff;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
}

.tool-summary-pill.is-board-alert {
  color: #8a4a10;
  background: #fff6db;
  border-color: #fde68a;
}

.tool-state-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.tool-state-row span {
  min-width: 0;
}

.tool-state-row strong,
.tool-state-row small {
  display: block;
}

.tool-state-row strong {
  margin-bottom: 3px;
  color: var(--text);
}

.tool-state-row small {
  color: var(--muted);
  line-height: 1.35;
}

.employee-board-modal {
  gap: 12px;
}

.dwdl-board-field {
  display: grid;
  gap: 8px;
}

.dwdl-board-field > span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.dwdl-board-check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  font-weight: 700;
}

.dwdl-board-check input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.tool-state-badge {
  flex: 0 0 auto;
  min-height: 28px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--muted);
}

.tool-state-badge.is-on {
  color: #166534;
  background: #ecfdf3;
  border-color: #bbf7d0;
}

.tool-state-badge.is-auto {
  color: #475569;
  background: #f8fafc;
  border-color: #cbd5e1;
}

.compact-toggle {
  margin: 0;
  padding: 10px;
}

.message-compose-card {
  grid-column: span 10;
}

.message-history-card {
  grid-column: span 6;
  max-height: 420px;
  overflow: hidden;
}

.message-history-card .message-history-list {
  max-height: 320px;
}

.callout-detail-modal {
  width: min(100%, 760px);
}

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

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

.inline-actions {
  margin-top: 4px;
}

.pin-editor {
  padding: 8px 10px;
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.pin-editor label {
  margin-top: 0;
}

.access-editor-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.access-editor-head strong {
  display: block;
  margin-top: 3px;
  color: var(--text);
  font-size: 13px;
}

.auth-uid-pill {
  max-width: 180px;
  padding: 5px 8px;
  color: #365189;
  background: #eef4ff;
  border: 1px solid #d8e5ff;
  border-radius: 999px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 800;
}

.access-help {
  margin: 7px 0 8px;
  font-size: 12px;
}

.pin-editor-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.pin-editor-row button {
  white-space: nowrap;
}

.message-history-panel {
  display: grid;
  gap: 8px;
  min-height: 0;
  padding: 10px;
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.message-history-head,
.message-history-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.message-history-head h3 {
  margin: 0;
  font-size: 14px;
}

.message-history-list {
  display: grid;
  gap: 8px;
  max-height: min(320px, 44vh);
  overflow: auto;
  padding-right: 4px;
}

.message-history-item {
  display: grid;
  gap: 5px;
  padding: 9px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.message-history-item p {
  margin: 0;
  color: var(--muted);
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.35;
}

.message-history-item small {
  color: var(--muted);
}

.message-status-pill {
  flex: 0 0 auto;
  padding: 4px 8px;
  color: #9a3412;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.message-history-item.is-read .message-status-pill {
  color: #166534;
  background: #ecfdf3;
  border-color: #bbf7d0;
}

.stats-detail-modal {
  width: min(100%, 760px);
}

.week-actions-modal {
  width: min(100%, 920px);
}

.publish-modal,
.request-decision-modal,
.employee-tools-modal {
  width: min(100%, 620px);
}

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

.week-actions-grid .action-btn {
  width: 100%;
  min-height: 58px;
  justify-content: flex-start;
  padding: 0 16px;
  border-radius: 18px;
  font-size: 0.86rem;
  box-shadow: 0 14px 30px rgba(31, 41, 55, 0.08);
}

.shift-editor-modal {
  width: min(100%, 760px);
}

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

.shift-editor-grid label {
  margin: 0;
}

.shift-preview-card {
  display: grid;
  align-content: center;
  gap: 5px;
  min-height: 78px;
  padding: 12px 14px;
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.shift-preview-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.shift-preview-card strong {
  font-size: 1.18rem;
}

.stats-detail-list {
  display: grid;
  gap: 10px;
  max-height: min(62vh, 560px);
  overflow: auto;
  padding-right: 4px;
}

.request-filter-panel {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 300px);
  gap: 12px;
  align-items: end;
  padding: 12px;
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.request-radio-group {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.request-radio-group legend,
.request-date-search label {
  width: 100%;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.request-radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  margin: 0;
  padding: 0 10px;
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
}

.request-radio-group input {
  width: 14px;
  min-height: 14px;
  padding: 0;
}

.request-radio-group label:has(input:checked) {
  color: #ffffff;
  background: #5874bd;
  border-color: #5874bd;
}

.request-date-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: end;
}

.request-date-search label {
  grid-column: 1 / -1;
}

.request-date-search input {
  min-height: 38px;
}

.request-date-search button {
  min-height: 38px;
}

.detail-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.detail-card-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.detail-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-card-actions button {
  min-height: 32px;
  padding: 0 12px;
}

.request-review-note {
  margin: 0;
  padding: 9px 10px;
  color: #4b5565;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.84rem;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.message-modal .modal-actions {
  position: static;
  margin: 0;
  padding: 0;
  background: transparent;
  border-top: 0;
}

.modal-actions button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(31, 41, 55, 0.08);
}

.modal-actions .ghost-btn {
  color: #52627a;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border-color: rgba(203, 213, 225, 0.9);
}

.modal-actions .success {
  background: linear-gradient(135deg, #6f79ff, #8d57f4);
}

.modal-actions .danger {
  background: linear-gradient(135deg, #df5b6b, #c53d50);
}

.walker-tools-modal {
  max-width: 560px;
}

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

.publish-option-card {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
}

.publish-option-card input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--purple);
}

.publish-option-card strong,
.publish-option-card small {
  display: block;
}

.publish-option-card strong {
  margin-bottom: 4px;
  color: var(--text);
}

.publish-option-card small,
.publish-last-state {
  color: var(--muted);
  line-height: 1.4;
}

.publish-option-card:has(input:checked) {
  border-color: rgba(95, 130, 230, 0.26);
  box-shadow: 0 14px 28px rgba(95, 130, 230, 0.1);
  background: linear-gradient(180deg, #ffffff, #f6f8ff);
}

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

.tool-toggle-card {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
}

.tool-toggle-card input {
  margin: 3px 0 0;
  width: 18px;
  height: 18px;
  accent-color: var(--purple);
}

.tool-toggle-card strong,
.tool-toggle-card small {
  display: block;
}

.tool-toggle-card strong {
  margin-bottom: 3px;
  color: var(--text);
}

.tool-toggle-card small {
  color: var(--muted);
  line-height: 1.35;
}

@media (max-width: 900px) {
  .employee-control-grid {
    grid-template-columns: 1fr;
  }

  .employee-account-overview-card {
    grid-column: auto;
  }

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

  .employee-tool-card,
  .message-compose-card {
    grid-column: auto;
  }

  .message-history-card {
    grid-column: auto;
  }

  .employee-account-hero {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .employee-account-avatar {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 560px) {
  .account-facts-grid {
    grid-template-columns: 1fr;
  }

  .tool-state-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .week-actions-grid,
  .shift-editor-grid,
  .week-switcher {
    grid-template-columns: 1fr;
  }
}

.status-pending {
  color: var(--orange);
}

.status-approved {
  color: var(--green-dark);
}

.status-denied {
  color: var(--red);
}

body.modal-open {
  overflow: hidden;
}

.employee-shell {
  place-items: start center;
  padding: 0;
  background:
    linear-gradient(90deg, rgba(8, 13, 24, 0.82) 0%, rgba(8, 13, 24, 0.58) 48%, rgba(8, 13, 24, 0.28) 100%),
    url("../walker-index/walker-index.jpg") center / cover no-repeat fixed;
}

.employee-shell .login-card {
  width: min(calc(100% - 28px), 430px);
  margin-top: max(24px, 8vh);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.employee-app {
  width: min(100%, 560px);
  min-height: 100vh;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
}

.employee-dashboard-panel {
  display: grid;
  gap: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(8, 13, 24, 0.24);
  backdrop-filter: blur(18px);
}

.employee-hero,
.employee-week-card,
.employee-week-schedule-card,
.employee-requests-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(226, 232, 240, 0.92);
  box-shadow: 0 22px 70px rgba(8, 13, 24, 0.22);
  backdrop-filter: blur(18px);
}

.employee-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 24px;
}

.employee-identity {
  min-width: 0;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.employee-avatar {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #ffffff;
  overflow: hidden;
  background: linear-gradient(135deg, #5874bd, #8ea2ff);
  border: 2px solid rgba(192, 225, 110, 0.9);
  border-radius: 20px;
  box-shadow: 0 10px 26px rgba(88, 116, 189, 0.28);
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  cursor: pointer;
}

.employee-avatar:hover,
.employee-avatar:focus-visible {
  border-color: rgba(207, 224, 79, 1);
  box-shadow: 0 12px 30px rgba(88, 116, 189, 0.38), 0 0 0 4px rgba(207, 224, 79, 0.14);
  outline: none;
  transform: translateY(-1px);
}

.employee-avatar.has-photo {
  padding: 2px;
  color: transparent;
  background: #ffffff;
}

.employee-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.employee-copy {
  min-width: 0;
}

.employee-hero h1 {
  margin: 2px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #101828;
  font-size: 1.28rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.employee-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 8px 0 0;
}

.employee-meta-chip {
  min-height: 23px;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 4px 9px;
  color: #4e62a7;
  background: #f1f5ff;
  border: 1px solid rgba(88, 116, 189, 0.16);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}


.employee-meta-chip.is-email {
  max-width: 260px;
  overflow: hidden;
  color: var(--muted);
  background: #f7f9fd;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.employee-week-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 142px;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 20px;
}

.employee-dashboard-panel .employee-week-card,
.employee-dashboard-panel .portal-section,
.employee-dashboard-panel .employee-action-card {
  background-color: rgba(247, 249, 253, 0.9);
  border-color: rgba(226, 232, 240, 0.9);
  box-shadow: none;
  backdrop-filter: none;
}

.employee-week-card::after,
.employee-dashboard-panel .portal-section::before,
.employee-action-card::after {
  content: "";
  position: absolute;
  inset: auto -18px -34px auto;
  width: 148px;
  height: 104px;
  background: var(--panel-art) center / contain no-repeat;
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}

.employee-week-card {
  --panel-art: url("assets/portal-week.svg");
}

.employee-week-card > * {
  position: relative;
  z-index: 1;
}

.employee-week-card span,
.employee-action-card small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.employee-week-card strong {
  display: block;
  margin-top: 2px;
}

.employee-week-card input {
  min-height: 38px;
  padding: 8px 10px;
}

.employee-app .status-line {
  margin: 0 2px;
  font-size: 0.88rem;
}

.employee-app .portal-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 14px;
}

.employee-app .section-head {
  margin-bottom: 8px;
}

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

.request-view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: #eef2fb;
  border: 1px solid rgba(88, 116, 189, 0.12);
  border-radius: 999px;
}

.request-view-btn {
  min-height: 30px;
  padding: 0 12px;
  color: #65728b;
  background: transparent;
  border-radius: 999px;
  box-shadow: none;
  font-size: 0.8rem;
  font-weight: 900;
}

.request-view-btn.is-active,
.request-view-btn[aria-checked="true"] {
  color: #ffffff;
  background: linear-gradient(135deg, #5874bd, #6f88dc);
  box-shadow: 0 10px 20px rgba(88, 116, 189, 0.22);
}


.employee-week-schedule-card,
.employee-requests-card {
  border-radius: 22px;
}

.employee-week-schedule-card {
  --panel-art: url("assets/portal-week.svg");
}

.employee-requests-card {
  --panel-art: url("assets/portal-requests.svg");
}

.employee-dashboard-panel .portal-section > * {
  position: relative;
  z-index: 1;
}

.assigned-schedule {
  display: grid;
  gap: 7px;
}

.assigned-row {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  align-items: center;
  padding: 9px;
  background: rgba(247, 249, 253, 0.86);
  border: 1px solid var(--border);
  border-radius: 13px;
}

.assigned-row.status-ore {
  border-left: 4px solid #6f5cc8;
}

.assigned-row.status-lead {
  border-left: 4px solid #245c73;
}

.assigned-row.status-training {
  border-left: 4px solid #2f9788;
}

.assigned-row.status-unavailable {
  border-left: 4px solid var(--red);
}

.assigned-row.status-call_out {
  border-left: 4px solid #d45555;
  background: #fff3f3;
}

.assigned-date {
  display: grid;
  place-items: center;
  min-height: 46px;
  color: #5874bd;
  background: var(--blue-soft);
  border-radius: 12px;
}

.assigned-date span,
.assigned-details span {
  color: var(--muted);
  font-size: 0.78rem;
}

.assigned-date strong,
.assigned-details strong {
  display: block;
}

.assigned-details {
  min-width: 0;
}

.compact-empty {
  margin: 0;
  padding: 10px;
  color: var(--muted);
  background: rgba(247, 249, 253, 0.86);
  border: 1px solid var(--border);
  border-radius: 13px;
}

.employee-actions {
  display: grid;
  gap: 8px;
}

.employee-action-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 68px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  color: var(--text);
  text-align: left;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 20px;
  box-shadow: 0 18px 54px rgba(8, 13, 24, 0.18);
  backdrop-filter: blur(18px);
}


.employee-action-card > * {
  position: relative;
  z-index: 1;
}

#openBlockDaysBtn {
  --panel-art: url("assets/portal-block-days.svg");
}

#openTimeOffBtn {
  --panel-art: url("assets/portal-time-off.svg");
}

#openCallOutBtn {
  --panel-art: url("assets/portal-time-off.svg");
}

.employee-action-card.is-closed {
  background: #f7f8fb;
  opacity: 0.82;
}

.employee-action-card.is-closed .action-glyph {
  filter: grayscale(0.25);
}

.employee-action-card strong {
  display: block;
  margin-bottom: 2px;
  font-size: 1rem;
}

.action-glyph {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  background: var(--blue-soft);
  border-radius: 14px;
}

.calendar-glyph::before {
  content: "";
  width: 26px;
  height: 24px;
  border: 3px solid #5874bd;
  border-top-width: 7px;
  border-radius: 7px;
}

.calendar-glyph::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  background: #5874bd;
  box-shadow: 0 7px 0 #5874bd;
}

.request-glyph {
  background: #f1e7ff;
}

.request-glyph::before {
  content: "";
  width: 24px;
  height: 28px;
  border: 3px solid var(--purple);
  border-radius: 8px;
}

.request-glyph::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 3px;
  background: var(--purple);
  box-shadow: 0 7px 0 var(--purple);
}

.callout-glyph {
  background: #fff0f0;
}

.callout-glyph::before {
  content: "";
  width: 22px;
  height: 22px;
  border: 3px solid #c65a5a;
  border-radius: 50%;
}

.callout-glyph::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 3px;
  background: #c65a5a;
  border-radius: 999px;
}

.mobile-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  align-items: end;
  padding: 10px;
  background: rgba(31, 41, 55, 0.42);
  backdrop-filter: blur(5px);
}

.mobile-modal {
  width: min(100%, 520px);
  max-height: min(86vh, 760px);
  display: grid;
  gap: 14px;
  justify-self: center;
  overflow: auto;
  padding: 10px 16px 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.985) 0%, rgba(248, 250, 255, 0.985) 100%),
    radial-gradient(circle at top right, rgba(147, 81, 214, 0.12), transparent 32%);
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: 28px 28px 22px 22px;
  box-shadow: 0 28px 90px rgba(31, 41, 55, 0.34);
}

.sheet-handle {
  width: 42px;
  height: 5px;
  justify-self: center;
  margin: 2px 0 4px;
  background: #d9dee8;
  border-radius: 99px;
}

.mobile-modal .modal-head {
  position: sticky;
  top: 0;
  z-index: 2;
  margin: 0 -2px;
  padding: 2px 0 10px;
  background: linear-gradient(180deg, rgba(250, 252, 255, 0.98) 0%, rgba(250, 252, 255, 0.86) 100%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.86);
  backdrop-filter: blur(10px);
}

.mobile-modal .modal-head h2 {
  font-size: 1.35rem;
  line-height: 1.08;
}

.mobile-modal input,
.mobile-modal select,
.mobile-modal textarea {
  background: rgba(255, 255, 255, 0.98);
}

.mobile-modal .request-form > button {
  min-height: 44px;
  box-shadow: 0 16px 28px rgba(95, 130, 230, 0.18);
}

.calendar-toolbar {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  gap: 8px;
  align-items: center;
}

.calendar-toolbar strong {
  text-align: center;
}

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

.calendar-day {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 10px;
  color: var(--text);
  background: #f7f9fd;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.calendar-day span,
.calendar-day strong {
  display: block;
}

.calendar-day span {
  color: var(--muted);
  font-size: 0.82rem;
}

.calendar-day.is-selected {
  color: #ffffff;
  background: #5874bd;
  border-color: #5874bd;
}

.calendar-day.is-selected span {
  color: rgba(255, 255, 255, 0.78);
}

.calendar-day.is-repeat {
  box-shadow: inset 0 -4px 0 rgba(118, 189, 145, 0.95);
}

.repeat-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #f8fafd;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.repeat-panel h3 {
  margin: 0;
  font-size: 0.95rem;
}

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

.repeat-chip {
  min-height: 38px;
  padding: 0;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.82rem;
}

.repeat-chip.is-selected {
  color: #ffffff;
  background: var(--green-dark);
  border-color: var(--green-dark);
}

/* Scheduler visual refresh */
body {
  background:
    radial-gradient(circle at top right, rgba(95, 130, 230, 0.14), transparent 24rem),
    radial-gradient(circle at bottom left, rgba(118, 189, 145, 0.1), transparent 26rem),
    var(--bg);
}

.connect-shell {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(245, 247, 251, 0.92)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.22) 0,
      rgba(255, 255, 255, 0.22) 1px,
      transparent 1px,
      transparent 120px
    );
}

.app-main {
  min-width: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 12rem);
}

.global-topbar {
  min-height: 64px;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: rgba(228, 232, 240, 0.88);
  backdrop-filter: blur(16px);
}

.profile-pill {
  min-height: 38px;
  color: #4868bd;
  background: rgba(246, 248, 255, 0.9);
  border-color: rgba(216, 229, 255, 0.9);
}

.app-shell {
  padding: 16px 18px 24px;
}

.schedule-toolbar {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  padding: 20px 22px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.94)),
    radial-gradient(circle at top right, rgba(95, 130, 230, 0.16), transparent 34%);
  border-color: rgba(222, 230, 241, 0.96);
  box-shadow: 0 22px 48px rgba(31, 41, 55, 0.08);
}

.schedule-toolbar::after {
  content: "";
  position: absolute;
  inset: auto -4rem -5rem auto;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(118, 189, 145, 0.12), transparent 68%);
  pointer-events: none;
}

.schedule-toolbar > div:first-child {
  gap: 6px;
}

.schedule-toolbar h1 {
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  letter-spacing: -0.04em;
}

.week-status-row {
  gap: 10px;
}

.week-publish-badge {
  min-height: 30px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.92);
}

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

.top-actions button {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  font-size: 0.8rem;
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.07);
}

.top-actions .action-tools,
.top-actions .action-transfer,
.top-actions .action-export,
.week-actions-grid .action-tools,
.week-actions-grid .action-transfer,
.week-actions-grid .action-export {
  background: rgba(255, 255, 255, 0.92);
}

.top-actions .action-publish {
  min-width: 140px;
  background: linear-gradient(135deg, #5f82e6, #7a6af0);
  box-shadow: 0 18px 32px rgba(95, 130, 230, 0.24);
}

.stats-grid {
  gap: 10px;
  margin-bottom: 14px;
}

.stats-grid article {
  display: grid;
  gap: 4px;
  min-height: 92px;
  padding: 14px 16px 14px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 251, 255, 0.94));
  border-color: rgba(226, 232, 240, 0.96);
  box-shadow: 0 12px 28px rgba(31, 41, 55, 0.06);
}

.stats-grid article::after {
  width: 5px;
  opacity: 0.92;
}

.stats-grid span {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.stats-grid strong {
  font-size: 1.6rem;
  letter-spacing: -0.04em;
}

.stat-card.is-active-filter {
  border-color: rgba(95, 130, 230, 0.24);
  background: linear-gradient(180deg, #ffffff, #eef4ff);
  box-shadow: 0 18px 34px rgba(95, 130, 230, 0.14);
}

.board-panel {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 234px);
  border-radius: 24px;
  border-color: rgba(226, 232, 240, 0.96);
  box-shadow: 0 18px 42px rgba(31, 41, 55, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.96));
}

.board-nav {
  position: sticky;
  top: 0;
  left: auto;
  z-index: 9;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(228, 232, 240, 0.9);
  backdrop-filter: blur(12px);
}

.board-search {
  width: min(100%, 540px);
}

.board-search input {
  min-height: 46px;
  padding-right: 16px;
  border-radius: 14px;
  background: rgba(250, 252, 255, 0.96);
}

.board-day-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.board-filter-label,
.status-filter-toggle {
  min-height: 36px;
  padding: 0 13px;
  font-size: 0.75rem;
  font-weight: 900;
}

.board-filter-label {
  color: #5874bd;
  background: rgba(246, 248, 255, 0.94);
  border-color: rgba(216, 229, 255, 0.94);
}

.status-filter-toggle {
  color: #4f5f78;
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(226, 232, 240, 0.96);
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.06);
}

.status-filter-dropdown {
  padding: 12px;
  border-radius: 18px;
  border-color: rgba(226, 232, 240, 0.96);
  box-shadow: 0 24px 50px rgba(31, 41, 55, 0.16);
}

.status-filter-option {
  padding: 9px 10px;
  background: #f9fbff;
  border-color: #e8edf6;
}

.week-board,
.schedule-grid {
  flex: 1;
  min-height: 0;
  background: transparent;
}

.schedule-grid {
  grid-template-columns: 240px repeat(7, minmax(168px, 1fr));
  align-self: start;
}

.grid-head,
.user-cell,
.shift-cell {
  border-color: rgba(237, 240, 245, 0.96);
}

.grid-head {
  min-height: 56px;
  padding: 11px 14px;
  background: rgba(248, 250, 255, 0.96);
}

.users-head {
  color: #5c6778;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.day-head strong {
  font-size: 0.92rem;
}

.day-head span {
  font-size: 0.75rem;
}

.day-head.is-focused-day {
  background: linear-gradient(180deg, #ffffff, #eef4ff);
  box-shadow: inset 0 -3px 0 #5f82e6;
}

.user-cell {
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 62px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.98);
}

.user-cell:hover {
  background: linear-gradient(180deg, #ffffff, #f9fbff);
}

.user-cell strong,
.employee-name-btn {
  max-width: 154px;
  font-size: 0.88rem;
}

.user-cell-copy span {
  max-width: 154px;
  font-size: 0.75rem;
}

.avatar {
  width: 32px;
  height: 32px;
  font-size: 0.72rem;
}

.employee-row-menu-btn {
  width: 28px;
  min-width: 28px;
  min-height: 28px;
  color: rgba(95, 130, 230, 0.78);
  background: #f8faff;
  border-color: #dce6ff;
}

.shift-cell {
  min-height: 62px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.98);
}

.shift-cell.is-focused-day {
  background: rgba(246, 249, 255, 0.98);
}

.shift-chip {
  min-height: 50px;
  padding: 9px 10px;
  border-radius: 14px;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 4px 0 0 rgba(164, 223, 102, 0.98),
    0 10px 22px rgba(79, 95, 120, 0.18);
}

.shift-chip strong {
  font-size: 0.78rem;
  letter-spacing: -0.01em;
}

.shift-chip .employee-sub {
  font-size: 0.71rem;
  letter-spacing: 0.02em;
}

.shift-chip.status-lead {
  box-shadow:
    inset 4px 0 0 rgba(255, 203, 128, 0.98),
    0 10px 22px rgba(79, 95, 120, 0.18);
}

.shift-chip.status-unavailable,
.shift-chip.status-call_out {
  box-shadow:
    inset 4px 0 0 rgba(255, 255, 255, 0.42),
    0 10px 22px rgba(79, 95, 120, 0.14);
}

.shift-chip > button {
  min-height: 28px;
  background: rgba(255, 255, 255, 0.16);
}

.request-block {
  min-height: 58px;
  padding: 10px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #fff7f9);
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.05);
}

.request-block.status-approved {
  background: linear-gradient(180deg, #ffffff, #f4fcf7);
}

.request-block-review {
  background: rgba(250, 252, 255, 0.98);
}

.unavailable-block {
  min-height: 48px;
  border-radius: 12px;
}

.add-shift-btn {
  min-height: 46px;
  border-radius: 12px;
}

.shift-cell:hover .add-shift-btn {
  background: linear-gradient(180deg, #ffffff, #f1f6ff);
}

.modal-backdrop {
  background: rgba(15, 23, 42, 0.34);
  backdrop-filter: blur(10px);
}

.picker-modal {
  gap: 16px;
  padding: 20px;
  border-radius: 26px;
  border-color: rgba(226, 232, 240, 0.96);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.22);
}

.modal-head {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(237, 240, 245, 0.96);
}

.icon-btn {
  background: #f9fbff;
}

.employee-control-card,
.tool-state-row,
.account-fact,
.publish-option-card,
.tool-toggle-card,
.request-filter-panel {
  background: linear-gradient(180deg, #ffffff, #f9fbff);
  border-color: rgba(226, 232, 240, 0.96);
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.05);
}

.employee-control-card {
  padding: 15px;
  border-radius: 20px;
}

.employee-account-hero {
  background: linear-gradient(180deg, #f9fbff, #f3f7ff);
  border-color: rgba(216, 229, 255, 0.82);
}

.week-actions-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.week-actions-grid .action-btn {
  min-height: 54px;
  border-radius: 16px;
}

.modal-actions button {
  min-height: 42px;
  border-radius: 14px;
}

@media (max-width: 1180px) {
  .scheduler-layout,
  .employee-grid {
    grid-template-columns: 1fr;
  }

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

  .schedule-toolbar {
    grid-template-columns: 1fr;
  }

  .top-actions {
    width: 100%;
    justify-content: stretch;
  }

  .employee-list {
    max-height: 260px;
  }

  .callout-detail-grid,
  .callout-detail-panels {
    grid-template-columns: 1fr;
  }
}

/* Scheduler filters: totals stay stable while every applied filter is obvious. */
body.has-dash-menu .stats-grid .stat-card.is-clickable {
  position: relative;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

body.has-dash-menu .stats-grid .stat-card.is-active-filter {
  border-color: #008f81;
  background: linear-gradient(180deg, #e8faf7 0%, #d7f4ef 100%);
  box-shadow: inset 0 0 0 2px rgba(0, 143, 129, 0.22), 0 10px 22px rgba(0, 111, 101, 0.16);
  transform: translateY(-2px);
}

body.has-dash-menu .status-filter-toggle.is-active-filter,
body.has-dash-menu .board-role-filter.is-active-filter select {
  border-color: #008f81;
  background: #e1f8f4;
  box-shadow: inset 0 0 0 2px rgba(0, 143, 129, 0.16);
  color: #006c62;
}

@media (max-width: 820px) {
  .connect-shell {
    grid-template-columns: 1fr;
  }

  .app-rail {
    position: static;
    height: auto;
    flex-direction: row;
    justify-content: center;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .global-topbar {
    position: static;
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .profile-pill {
    justify-self: stretch;
  }

  .app-shell {
    padding: 14px;
  }

  .schedule-toolbar,
  .topbar,
  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .schedule-toolbar {
    grid-template-columns: 1fr;
  }

  .top-actions {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

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

  .board-nav {
    align-items: stretch;
    flex-direction: column;
  }

  .board-search {
    width: 100%;
  }

  .board-day-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-left: 0;
  }

  .status-filter-dropdown {
    left: 0;
    right: auto;
    width: min(280px, calc(100vw - 48px));
  }

  .request-filter-panel {
    grid-template-columns: 1fr;
  }
}

/* DashControl 2027 Connect Admin pass */
body.has-dash-menu {
  --bg: #edf8f6;
  --panel: rgba(255, 255, 255, 0.96);
  --panel-soft: rgba(242, 250, 248, 0.92);
  --text: #07171b;
  --muted: #526b72;
  --border: rgba(19, 68, 74, 0.16);
  --line: rgba(19, 68, 74, 0.10);
  --blue: #2478c7;
  --blue-soft: #e9f4ff;
  --green: #00a991;
  --green-dark: #087d78;
  --purple: #4d72d8;
  --red: #b84b55;
  --red-soft: #fff2f2;
  --orange: #c47a12;
  --shadow: 0 18px 44px rgba(8, 38, 44, 0.10);
  color-scheme: light;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 2%, rgba(0, 169, 145, 0.10), transparent 26%),
    radial-gradient(circle at 90% 0%, rgba(36, 120, 199, 0.10), transparent 28%),
    linear-gradient(135deg, #f8fcfb 0%, #edf8f6 100%);
}

body.has-dash-menu .connect-shell {
  grid-template-columns: 1fr;
  min-height: calc(100dvh - var(--dash-menu-height, 62px));
  background: transparent;
}

body.has-dash-menu .app-rail {
  display: none;
}

body.has-dash-menu .app-main {
  width: 100%;
  min-height: calc(100dvh - var(--dash-menu-height, 62px));
  background: transparent;
}

body.has-dash-menu .global-topbar {
  position: sticky;
  top: var(--dash-menu-height, 62px);
  z-index: 90;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 18px;
  border-bottom: 1px solid rgba(19, 68, 74, 0.14);
  background: rgba(247, 252, 251, 0.94);
  box-shadow: 0 12px 28px rgba(8, 38, 44, 0.08);
  backdrop-filter: blur(16px);
}

body.has-dash-menu .board-panel,
body.has-dash-menu .board-nav,
body.has-dash-menu .grid-head,
body.has-dash-menu .users-head,
body.has-dash-menu .user-cell,
body.has-dash-menu .user-cell.menu-open {
  z-index: auto !important;
}

body.has-dash-menu .brand {
  color: var(--text);
  font-size: 1rem;
  font-weight: 950;
}

body.has-dash-menu .profile-pill {
  justify-self: auto;
  min-height: 34px;
  max-width: min(560px, 58vw);
  overflow: hidden;
  border-color: rgba(0, 169, 145, 0.20);
  background: rgba(255, 255, 255, 0.86);
  color: #24464d;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.has-dash-menu .app-shell {
  width: min(1920px, calc(100vw - 20px));
  margin: 0 auto;
  padding: 12px 0 28px;
}

body.has-dash-menu .schedule-toolbar {
  margin-bottom: 10px;
  padding: 16px 18px;
  border-color: rgba(0, 169, 145, 0.20);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 249, 247, 0.92));
  box-shadow: 0 18px 42px rgba(8, 38, 44, 0.10);
}

body.has-dash-menu .schedule-toolbar::after {
  display: none;
}


body.has-dash-menu .eyebrow {
  color: #008b7e;
}


body.has-dash-menu .top-actions button,
body.has-dash-menu .week-actions-grid .action-btn,
body.has-dash-menu .ghost-btn,
body.has-dash-menu .icon-btn {
  border: 1px solid rgba(19, 68, 74, 0.16);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  box-shadow: none;
}

body.has-dash-menu button.success,
body.has-dash-menu .top-actions .action-publish {
  border-color: rgba(0, 130, 119, 0.36);
  background: linear-gradient(135deg, #00a991, #087d78);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(0, 130, 119, 0.18);
}

body.has-dash-menu button.danger,
body.has-dash-menu .danger {
  border-color: rgba(184, 75, 85, 0.30);
  background: #b84b55;
  color: #ffffff;
}


body.has-dash-menu .stats-grid article {
  min-height: 74px;
  padding: 10px 12px;
  border-color: rgba(19, 68, 74, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(8, 38, 44, 0.06);
}




body.has-dash-menu .stat-card.is-active-filter {
  border-color: rgba(0, 169, 145, 0.34);
  background: rgba(216, 249, 244, 0.72);
}

body.has-dash-menu .board-panel {
  min-height: calc(100dvh - 250px);
  overflow: hidden;
  border-color: rgba(19, 68, 74, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 44px rgba(8, 38, 44, 0.10);
}

body.has-dash-menu .board-nav {
  top: 0;
  z-index: 4 !important;
  padding: 10px 12px;
  border-bottom-color: rgba(19, 68, 74, 0.12);
  background: rgba(247, 252, 251, 0.96);
}


body.has-dash-menu input,
body.has-dash-menu select,
body.has-dash-menu textarea,
body.has-dash-menu .status-filter-toggle {
  border-color: rgba(19, 68, 74, 0.16);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
}




body.has-dash-menu .global-topbar {
  min-height: 42px;
  padding: 5px 14px;
}

body.has-dash-menu .profile-pill {
  min-height: 30px;
  padding-block: 4px;
}

body.has-dash-menu .app-shell {
  padding-top: 8px;
}









body.has-dash-menu .employee-name-btn,
body.has-dash-menu .user-cell-copy span {
  width: 100%;
  max-width: none;
  text-overflow: ellipsis;
}

body.has-dash-menu .employee-row-menu-btn {
  width: 24px;
  min-width: 24px;
  min-height: 24px;
}

body.has-dash-menu .employee-row-menu.is-floating {
  position: fixed;
  z-index: 2147482500;
  min-width: 188px;
  max-width: min(260px, calc(100vw - 16px));
  margin: 0;
  box-shadow: 0 18px 44px rgba(8, 38, 44, 0.22);
}



body.has-dash-menu .add-shift-btn {
  min-height: 34px;
  padding: 3px 6px;
  border-radius: 7px;
  font-size: 0.78rem;
}

body.has-dash-menu .board-role-filter select {
  min-height: 34px;
  padding: 5px 28px 5px 9px;
  border-radius: 8px;
  font-weight: 800;
}

body.has-dash-menu .grid-head,
body.has-dash-menu .user-cell,
body.has-dash-menu .shift-cell {
  border-color: rgba(19, 68, 74, 0.10);
}




body.has-dash-menu .user-cell,
body.has-dash-menu .shift-cell {
  background: rgba(255, 255, 255, 0.92);
}



body.has-dash-menu .employee-name-btn:hover {
  color: #008b7e;
}

body.has-dash-menu .shift-chip {
  border-color: rgba(255, 255, 255, 0.24);
  background: linear-gradient(135deg, #2478c7, #0a577f);
  box-shadow:
    inset 4px 0 0 rgba(0, 230, 195, 0.92),
    0 10px 22px rgba(8, 38, 44, 0.16);
}



body.has-dash-menu .shift-chip.status-unavailable,
body.has-dash-menu .shift-chip.status-call_out {
  background: linear-gradient(135deg, #b84b55, #7e2530);
}

body.has-dash-menu .request-block,
body.has-dash-menu .request-block-review,
body.has-dash-menu .unavailable-block {
  border-color: rgba(19, 68, 74, 0.12);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 3px 0 0 rgba(184, 75, 85, 0.22);
}

body.has-dash-menu .request-block.status-approved {
  box-shadow: inset 3px 0 0 rgba(0, 169, 145, 0.44);
}

body.has-dash-menu .modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  isolation: isolate;
  place-items: start center;
  padding: clamp(16px, 5vh, 42px) 18px 18px;
  background: rgba(7, 23, 27, 0.44);
  backdrop-filter: blur(12px);
}

body.has-dash-menu .picker-modal {
  position: relative;
  z-index: 1;
  max-height: min(900px, calc(100dvh - 28px));
  overflow: auto;
  border-color: rgba(19, 68, 74, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--text);
  box-shadow: 0 30px 80px rgba(8, 38, 44, 0.24);
}

body.has-dash-menu .message-modal {
  width: min(1360px, calc(100vw - 28px));
}






body.has-dash-menu .modal-head {
  border-bottom-color: rgba(19, 68, 74, 0.12);
}

body.has-dash-menu .modal-head h2,
body.has-dash-menu .control-card-head h3,
body.has-dash-menu .message-history-head h3,
body.has-dash-menu .account-fact strong,
body.has-dash-menu .employee-account-hero-copy strong {
  color: var(--text);
}

body.has-dash-menu .muted,
body.has-dash-menu .employee-account-hero-copy span,
body.has-dash-menu .account-fact label,
body.has-dash-menu .tool-toggle-card small {
  color: var(--muted);
}

body.has-dash-menu .employee-control-card,
body.has-dash-menu .tool-state-row,
body.has-dash-menu .account-fact,
body.has-dash-menu .publish-option-card,
body.has-dash-menu .tool-toggle-card,
body.has-dash-menu .request-filter-panel,
body.has-dash-menu .employee-account-hero {
  border-color: rgba(19, 68, 74, 0.14);
  border-radius: 8px;
  background: rgba(247, 252, 251, 0.92);
  box-shadow: 0 10px 24px rgba(8, 38, 44, 0.06);
}

@media (max-width: 1180px) {
  body.has-dash-menu .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

@media (max-width: 820px) {
  body.has-dash-menu .global-topbar {
    position: sticky;
    top: var(--dash-menu-height, 62px);
    align-items: stretch;
    flex-direction: column;
    padding: 10px 12px;
  }

  body.has-dash-menu .profile-pill {
    max-width: none;
    width: 100%;
  }

  body.has-dash-menu .app-shell {
    width: calc(100vw - 12px);
    padding: 8px 0 20px;
  }

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

  body.has-dash-menu .top-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  body.has-dash-menu .board-nav {
    align-items: stretch;
  }

  body.has-dash-menu .board-day-actions {
    justify-content: flex-start;
  }

  body.has-dash-menu .schedule-grid {
    grid-template-columns: 190px repeat(7, minmax(138px, 1fr));
  }

}

@media (max-width: 560px) {
  body.has-dash-menu .stats-grid,
  body.has-dash-menu .top-actions {
    grid-template-columns: 1fr;
  }

  body.has-dash-menu .schedule-toolbar {
    padding: 14px;
  }

  body.has-dash-menu .modal-backdrop {
    padding: 8px;
  }

  body.has-dash-menu .picker-modal {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
    padding: 14px;
  }

  body.has-dash-menu .week-actions-grid {
    grid-template-columns: 1fr;
  }
}

/* DashControl 2027 Connect employee refresh */
body:has(.employee-app) {
  min-height: 100dvh;
  background:
    linear-gradient(180deg, rgba(3, 18, 25, 0.26), rgba(3, 18, 25, 0.54)),
    url("../walker-index/walker-index.jpg") center / cover fixed no-repeat;
}

.employee-shell {
  min-height: 100dvh;
  place-items: start center;
  padding: clamp(10px, 2vw, 18px);
}

.employee-app {
  width: min(100%, 620px);
  min-height: calc(100dvh - 20px);
  gap: 10px;
  padding: 0;
}

.employee-dashboard-panel {
  gap: 10px;
  padding: 10px;
  border-radius: 22px;
  background: rgba(247, 252, 251, 0.88);
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow: 0 28px 90px rgba(3, 18, 25, 0.28);
}

.employee-hero {
  min-height: 118px;
  padding: 16px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(233, 250, 247, 0.9));
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 76px rgba(3, 18, 25, 0.25);
}

.employee-identity {
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 13px;
}

.employee-avatar {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  border-color: rgba(0, 143, 122, 0.36);
  background: linear-gradient(135deg, #5874bd, #00a991);
  box-shadow: 0 14px 32px rgba(0, 103, 95, 0.2);
}

.employee-avatar::after {
  content: "";
  position: absolute;
  inset: auto 8px 8px auto;
  width: 9px;
  height: 9px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #00a991;
}

.employee-avatar.has-photo::after {
  display: none;
}

.employee-copy .eyebrow {
  color: #008f7a;
  letter-spacing: 0.08em;
}

.employee-hero h1 {
  font-size: clamp(1.45rem, 8vw, 2.1rem);
  color: #07171b;
}

.employee-meta {
  gap: 6px;
  margin-top: 9px;
}

.employee-meta-chip {
  min-height: 24px;
  color: #334155;
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(19, 68, 74, 0.12);
}

.employee-meta-chip.is-status {
  color: #007b69;
  background: rgba(218, 249, 244, 0.86);
  border-color: rgba(0, 169, 145, 0.22);
}

.employee-week-card,
.employee-dashboard-panel .portal-section,
.employee-dashboard-panel .employee-action-card {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(19, 68, 74, 0.12);
}

.employee-week-card {
  grid-template-columns: 1fr minmax(132px, 0.72fr);
  min-height: 76px;
  padding: 12px;
}

.employee-week-card strong,
.employee-app .section-head h2 {
  color: #07171b;
}

.employee-app .section-head h2 {
  font-size: clamp(1.35rem, 6vw, 1.8rem);
  line-height: 1;
}

.employee-week-schedule-card {
  padding: 14px;
}


.employee-action-card {
  min-height: 70px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.employee-action-card.accent {
  background: rgba(255, 255, 255, 0.92);
}

.action-glyph {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(231, 248, 255, 0.94);
}

.employee-requests-card {
  padding: 14px;
}

.request-view-toggle {
  background: rgba(241, 245, 249, 0.88);
}

.request-view-btn.is-active,
.request-view-btn[aria-checked="true"] {
  background: linear-gradient(135deg, #5874bd, #00a991);
}

@media (max-width: 560px) {
  .employee-shell {
    padding: 8px;
  }

  .employee-app {
    width: 100%;
    min-height: calc(100dvh - 16px);
  }

  .employee-hero {
    min-height: 104px;
    padding: 13px;
    border-radius: 22px;
  }

  .employee-identity {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .employee-avatar {
    width: 58px;
    height: 58px;
  }

  .employee-week-card {
    grid-template-columns: 1fr;
  }

  .employee-week-card input {
    max-width: none;
  }

  .employee-action-card {
    min-height: 66px;
  }

  .employee-meta-chip.is-email {
    max-width: min(100%, 250px);
  }
}

/* DashControl 2027 admin scheduler polish */

body.has-dash-menu .schedule-toolbar {
  min-height: 112px;
  padding: 18px 20px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(233, 249, 248, 0.82) 52%, rgba(232, 243, 255, 0.84)),
    repeating-linear-gradient(90deg, rgba(4, 83, 78, 0.035) 0, rgba(4, 83, 78, 0.035) 1px, transparent 1px, transparent 82px);
  border: 1px solid rgba(142, 194, 194, 0.58);
  border-top: 3px solid #02b9a8;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}


body.has-dash-menu .top-actions button,
body.has-dash-menu .week-switcher button,
body.has-dash-menu .request-card-actions button {
  border-radius: 9px;
}

body.has-dash-menu .stats-grid > button,
body.has-dash-menu .metric-card {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(173, 207, 209, 0.82);
  border-top: 3px solid #02a99b;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

body.has-dash-menu .week-board,
body.has-dash-menu .schedule-grid {
  border-radius: 8px;
  border-color: rgba(180, 205, 209, 0.86);
}


body.has-dash-menu .request-block,
body.has-dash-menu .schedule-row,
body.has-dash-menu .request-card {
  border-radius: 8px;
}

/* Walker My Week card experience */
.employee-back-link {
  flex: 0 0 auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  color: #075f57;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 143, 122, 0.24);
  border-radius: 13px;
  box-shadow: 0 8px 18px rgba(6, 73, 70, 0.08);
  font-size: 0.82rem;
  text-decoration: none;
}

.employee-back-link > span {
  font-size: 1.15rem;
  line-height: 1;
}

.employee-back-link:hover,
.employee-back-link:focus-visible {
  color: #ffffff;
  background: #078b7b;
  outline: none;
}

.employee-dashboard-panel {
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 169, 145, 0.1), transparent 32%),
    rgba(247, 252, 251, 0.92);
}

.employee-week-card {
  border-left: 5px solid #00a991 !important;
  background: linear-gradient(135deg, #ffffff, #eefbf8) !important;
}

.employee-week-card::after,
.employee-dashboard-panel .portal-section::before,
.employee-action-card::after {
  opacity: 0.08;
}

.employee-week-schedule-card {
  border-top: 4px solid #00a991 !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 169, 145, 0.1), transparent 32%),
    rgba(255, 255, 255, 0.94) !important;
}

.assigned-schedule {
  gap: 9px;
}

.assigned-row {
  min-height: 70px;
  grid-template-columns: 58px minmax(0, 1fr);
  padding: 10px;
  background: linear-gradient(135deg, #ffffff, #f5fbfa);
  border: 1px solid #d5e6e3;
  border-left: 5px solid #00a991;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(8, 67, 63, 0.06);
}

.assigned-row.status-ore { border-left-color: #7359c8; background: linear-gradient(135deg, #fff, #f6f2ff); }
.assigned-row.status-lead { border-left-color: #27718e; background: linear-gradient(135deg, #fff, #eff8fc); }
.assigned-row.status-training { border-left-color: #16a58f; background: linear-gradient(135deg, #fff, #edfaf7); }
.assigned-row.status-unavailable,
.assigned-row.status-call_out { border-left-color: #d65b62; background: linear-gradient(135deg, #fff, #fff1f2); }

.assigned-date {
  min-height: 50px;
  color: #087c70;
  background: #e4f7f3;
  border: 1px solid #c9eae4;
  border-radius: 14px;
}

.assigned-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.assigned-details > strong {
  font-size: 1rem;
}

.assigned-status-pill {
  max-width: 150px;
  padding: 6px 9px;
  overflow: hidden;
  color: #08766b !important;
  background: #e7f8f5;
  border: 1px solid #c7e9e3;
  border-radius: 999px;
  font-size: 0.7rem !important;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.employee-actions {
  gap: 10px;
}

.employee-action-card,
.employee-action-card.accent {
  min-height: 80px;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid #d2e7e3 !important;
  border-left: 5px solid #00a991 !important;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, #edfaf7) !important;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

#openTimeOffBtn {
  border-color: #e2d5f5 !important;
  border-left-color: #8a5bd0 !important;
  background: linear-gradient(135deg, #ffffff, #f7f1ff) !important;
}

#openCallOutBtn {
  border-color: #f0d3d6 !important;
  border-left-color: #d65b62 !important;
  background: linear-gradient(135deg, #ffffff, #fff1f2) !important;
}

.employee-action-card:hover,
.employee-action-card:focus-visible {
  box-shadow: 0 12px 28px rgba(8, 67, 63, 0.12);
  outline: none;
  transform: translateY(-1px);
}

.employee-action-card .action-glyph {
  width: 48px;
  height: 48px;
}

.employee-action-card strong {
  color: #10282d;
  font-size: 1.02rem;
}

.employee-action-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  color: #08766b;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(0, 143, 122, 0.18);
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 900;
}

#openTimeOffBtn .employee-action-cta { color: #7044ad; border-color: rgba(112, 68, 173, 0.18); }
#openCallOutBtn .employee-action-cta { color: #ad3f4a; border-color: rgba(173, 63, 74, 0.18); }

.employee-requests-card {
  border-top: 4px solid #5874bd !important;
  background: linear-gradient(135deg, #ffffff, #f4f7ff) !important;
}

.requests-list {
  gap: 10px;
}

.employee-app .request-card {
  padding: 12px;
  background: #ffffff;
  border: 1px solid #d8e2f0;
  border-left: 5px solid #5874bd;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(37, 65, 115, 0.06);
}

body.has-dash-menu .employee-app .request-card {
  border-radius: 16px;
}

.employee-app .request-card.is-block-days { border-left-color: #00a991; }
.employee-app .request-card.is-callout { border-left-color: #d65b62; }
.employee-app .request-card.status-approved { border-left-color: #25945f; }
.employee-app .request-card.status-denied,
.employee-app .request-card.status-expired { border-left-color: #c9505c; }

.request-card-top {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.request-card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #4d65a9;
  background: #edf3ff;
  border-radius: 13px;
  font-size: 0.67rem;
  font-weight: 950;
}

.request-card.is-block-days .request-card-icon { color: #08766b; background: #e5f8f4; }
.request-card.is-callout .request-card-icon { color: #ad3f4a; background: #fff0f1; }

.request-card-copy {
  min-width: 0;
}

.request-card-copy strong,
.request-card-date {
  display: block;
}

.request-card-date {
  margin-top: 3px;
  overflow: hidden;
  color: #667985;
  font-size: 0.76rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.request-status-pill {
  padding: 6px 9px;
  color: #4d65a9;
  background: #edf3ff;
  border: 1px solid #d7e2fa;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: capitalize;
}

.request-status-pill.status-approved { color: #19704a; background: #e9f8ef; border-color: #c8e9d6; }
.request-status-pill.status-denied,
.request-status-pill.status-expired { color: #a63d48; background: #fff0f1; border-color: #f1cfd3; }
.request-status-pill.status-pending_proof { color: #9a5c20; background: #fff6e8; border-color: #f0ddb9; }

.request-card > .muted,
.request-callout-note {
  margin: 10px 0 0;
  padding: 9px 10px;
  background: #f6f9fc;
  border-radius: 11px;
  line-height: 1.4;
}

.modal-back-btn {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 11px;
  color: #075f57;
  background: #ffffff;
  border: 1px solid #c9e2de;
  border-radius: 11px;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
}

.modal-back-btn > span { font-size: 1.05rem; }

.modal-intro {
  margin: 0;
  padding: 11px 12px;
  color: #536c72;
  background: #edf9f7;
  border: 1px solid #d0ebe6;
  border-radius: 13px;
  font-size: 0.84rem;
  line-height: 1.45;
}

.mobile-modal {
  gap: 13px;
  padding: 10px 18px 20px;
  border-top: 4px solid #00a991;
}

.request-sheet {
  border-top-color: #8a5bd0;
}

#timeOffModal.is-callout-mode .request-sheet {
  border-top-color: #d65b62;
}

.mobile-modal .modal-head {
  align-items: center;
  padding-bottom: 12px;
}

.mobile-modal .request-form {
  gap: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid #dbe7e8;
  border-radius: 17px;
}

.mobile-modal .request-field,
.mobile-modal .request-type-group,
.mobile-modal .callout-document-panel {
  padding: 11px;
  background: #f7fafc;
  border: 1px solid #dde7eb;
  border-radius: 14px;
}

#timeOffModal.is-callout-mode .callout-document-panel {
  background: #fff3f3;
  border-color: #f2c9cd;
}

.mobile-modal .request-guidance {
  padding: 11px 12px;
  color: #4e6383;
  background: #f0f5ff;
  border: 1px solid #d9e4fb;
  border-radius: 14px;
  line-height: 1.4;
}

#timeOffModal.is-callout-mode .request-guidance {
  color: #8f3d46;
  background: #fff2f3;
  border-color: #f1cdd1;
}

.block-days-sheet #saveAvailabilityBtn {
  background: linear-gradient(135deg, #087d70, #00a991);
}

.request-sheet #submitRequestBtn {
  background: linear-gradient(135deg, #7650b5, #9a68dc);
}

#timeOffModal.is-callout-mode #submitRequestBtn {
  background: linear-gradient(135deg, #bd4654, #e16a70);
}

@media (max-width: 560px) {
  .employee-back-link {
    width: 42px;
    padding: 0;
    justify-content: center;
  }

  .employee-back-link strong {
    display: none;
  }

  .employee-action-card,
  .employee-action-card.accent {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    padding: 11px;
  }

  .employee-action-cta {
    width: 34px;
    height: 34px;
    justify-content: center;
    padding: 0;
    font-size: 0;
  }

  .employee-action-cta b {
    font-size: 0.9rem;
  }

  .assigned-details {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .assigned-status-pill {
    width: fit-content;
  }

  .request-card-top {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .request-card-icon {
    width: 38px;
    height: 38px;
  }

  .request-status-pill {
    grid-column: 2;
    justify-self: start;
  }

  .mobile-modal {
    padding-inline: 14px;
  }
}

body.has-dash-menu .modal-backdrop {
  z-index: 3000;
  padding: 18px;
  background: rgba(5, 18, 24, 0.34);
  backdrop-filter: blur(12px);
}

body.has-dash-menu .picker-modal {
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(236, 249, 248, 0.94)),
    repeating-linear-gradient(90deg, rgba(0, 131, 122, 0.035) 0, rgba(0, 131, 122, 0.035) 1px, transparent 1px, transparent 76px);
  border: 1px solid rgba(147, 194, 197, 0.7);
  border-top: 3px solid #00b8a6;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
}

body.has-dash-menu .modal-head {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(177, 207, 211, 0.72);
}

body.has-dash-menu .modal-head h2 {
  font-size: clamp(1.35rem, 2.2vw, 2.2rem);
  letter-spacing: 0;
}


.callout-detail-head-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.floating-decision {
  position: relative;
}

.decision-toggle {
  min-height: 38px;
  padding: 0 16px;
  color: #062123;
  background: linear-gradient(135deg, #d9fbf5, #eef7ff);
  border: 1px solid rgba(83, 190, 179, 0.78);
  border-radius: 10px;
  font-weight: 900;
}

.decision-toggle[aria-expanded="true"] {
  color: #ffffff;
  background: linear-gradient(135deg, #00675f, #0b2c37);
  border-color: #00675f;
}

.decision-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 8;
  width: 230px;
  display: grid;
  gap: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(149, 188, 192, 0.8);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.2);
}

.decision-item {
  min-height: 42px;
  justify-content: flex-start;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid transparent;
  font-weight: 900;
  text-align: left;
}

.decision-item.approve {
  color: #063c35;
  background: linear-gradient(135deg, rgba(198, 250, 237, 0.96), rgba(236, 255, 250, 0.96));
  border-color: rgba(59, 182, 154, 0.42);
}

.decision-item.deny {
  color: #8a1c2a;
  background: linear-gradient(135deg, rgba(255, 238, 237, 0.96), rgba(255, 250, 247, 0.96));
  border-color: rgba(219, 107, 116, 0.45);
}

body.has-dash-menu .callout-detail-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

body.has-dash-menu .callout-detail-grid .account-fact,
body.has-dash-menu .callout-detail-panels .employee-control-card {
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(175, 206, 210, 0.82);
  box-shadow: none;
}

body.has-dash-menu .callout-detail-panels {
  gap: 10px;
}

body.has-dash-menu .request-decision-modal textarea {
  min-height: 120px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
}

@media (max-width: 760px) {
  body.has-dash-menu .schedule-toolbar,
  body.has-dash-menu .picker-modal {
    border-radius: 10px;
  }


  .callout-detail-head-actions {
    align-self: flex-start;
  }

  .decision-menu {
    right: -48px;
  }
}

/* Scheduler tools — compact action center */

body.has-dash-menu .week-actions-modal .modal-head {
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
}

body.has-dash-menu .week-actions-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.has-dash-menu .week-actions-hero-icon {
  width: 44px;
  height: 44px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--jade-200);
  border-radius: 13px;
  color: var(--jade-700);
  background: var(--jade-050);
}

body.has-dash-menu .week-actions-hero-icon svg,
body.has-dash-menu .week-action-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.has-dash-menu .week-actions-modal .modal-head h2 {
  margin-top: 2px;
  color: var(--ink-900);
  font-size: 1.42rem;
  letter-spacing: -0.025em;
}

body.has-dash-menu .week-actions-modal .icon-btn {
  width: 36px;
  min-width: 36px;
  min-height: 36px;
  border-color: var(--border-soft);
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink-700);
}

body.has-dash-menu .week-actions-modal .icon-btn:hover {
  border-color: var(--jade-200);
  background: var(--jade-050);
  color: var(--jade-700);
}

body.has-dash-menu .week-actions-modal > .muted {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.8rem;
}

body.has-dash-menu .week-actions-section-label {
  margin: 4px 0 -3px;
  color: var(--ink-500);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


body.has-dash-menu .week-actions-grid .action-btn {
  --action-tone: var(--jade-500);
  width: 100%;
  min-height: 82px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  justify-content: stretch;
  gap: 10px;
  padding: 11px;
  border: 1px solid var(--border-soft);
  border-radius: 13px;
  color: var(--ink-900);
  background: #ffffff;
  text-align: left;
  text-decoration: none;
  box-shadow: none;
  transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

body.has-dash-menu .week-actions-grid .action-btn::before {
  display: none;
  content: none;
}

body.has-dash-menu .week-actions-grid .action-btn:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--action-tone) 42%, white);
  background: color-mix(in srgb, var(--action-tone) 5%, white);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--action-tone) 12%, transparent);
}

body.has-dash-menu .week-action-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--action-tone) 22%, white);
  border-radius: 11px;
  color: var(--action-tone);
  background: color-mix(in srgb, var(--action-tone) 10%, white);
}

body.has-dash-menu .week-action-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

body.has-dash-menu .week-action-copy strong {
  overflow: hidden;
  color: var(--ink-900);
  font-size: 0.76rem;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.has-dash-menu .week-action-copy small {
  color: var(--ink-500);
  font-size: 0.61rem;
  font-weight: 650;
  line-height: 1.25;
}

body.has-dash-menu .week-actions-grid .action-import { --action-tone: #159a8c; }
body.has-dash-menu .week-actions-grid .action-sync { --action-tone: #4d8dac; }
body.has-dash-menu .week-actions-grid .action-add { --action-tone: #22a875; }
body.has-dash-menu .week-actions-grid .action-transfer { --action-tone: #7a68c7; }
body.has-dash-menu .week-actions-grid .action-tools { --action-tone: #159a8c; }
body.has-dash-menu .week-actions-grid .action-export { --action-tone: #617a83; }
body.has-dash-menu .week-actions-grid .action-review { --action-tone: #c48820; }

body.has-dash-menu .week-actions-danger-zone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 2px;
  padding: 11px 12px;
  border: 1px solid #f0d1d5;
  border-radius: 13px;
  background: #fff9f9;
}

body.has-dash-menu .week-actions-danger-zone > div {
  display: grid;
  gap: 2px;
}

body.has-dash-menu .week-actions-danger-zone > div strong {
  color: #7e3540;
  font-size: 0.76rem;
}

body.has-dash-menu .week-actions-danger-zone > div small {
  color: #94666d;
  font-size: 0.64rem;
}

body.has-dash-menu .week-actions-danger-zone .action-clear {
  --action-tone: #c24e5c;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px 0 8px;
  border: 1px solid #e8b8bf;
  border-radius: 10px;
  color: #a03745;
  background: #fff1f3;
  box-shadow: none;
}

body.has-dash-menu .week-actions-danger-zone .action-clear::before {
  display: none;
  content: none;
}

body.has-dash-menu .week-actions-danger-zone .week-action-icon {
  width: 27px;
  height: 27px;
  border-color: transparent;
  border-radius: 8px;
  color: #a03745;
  background: rgba(194, 78, 92, 0.08);
}

body.has-dash-menu .week-actions-danger-zone .week-action-icon svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 520px) {



  body.has-dash-menu .week-actions-danger-zone {
    align-items: stretch;
    flex-direction: column;
  }

  body.has-dash-menu .week-actions-danger-zone .action-clear {
    justify-content: center;
  }
}

body.has-dash-menu .request-callout-chip {
  min-height: 48px;
  padding: 8px 10px;
  color: #ffffff;
  background: linear-gradient(135deg, #b23a48, #7f2632);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  box-shadow:
    inset 4px 0 0 #08d2c0,
    0 10px 24px rgba(127, 38, 50, 0.18);
  cursor: pointer;
}

body.has-dash-menu .request-callout-chip strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.has-dash-menu .request-callout-chip .employee-sub {
  color: rgba(255, 255, 255, 0.94);
}

body.has-dash-menu .request-callout-chip .shift-menu-btn {
  color: #0d2730;
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.42);
}

body.has-dash-menu .callout-detail-modal {
  width: min(100%, 900px);
  padding: 0;
  gap: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(239, 250, 248, 0.96)),
    repeating-linear-gradient(90deg, rgba(0, 131, 122, 0.03) 0, rgba(0, 131, 122, 0.03) 1px, transparent 1px, transparent 78px);
}

body.has-dash-menu .callout-detail-modal .modal-head {
  padding: 18px 20px 14px;
  background:
    linear-gradient(135deg, rgba(228, 250, 246, 0.96), rgba(238, 247, 255, 0.9));
  border-bottom: 1px solid rgba(166, 205, 207, 0.72);
}

body.has-dash-menu .callout-detail-modal .modal-head .eyebrow {
  color: #008c7c;
  letter-spacing: 0.08em;
}

body.has-dash-menu .callout-detail-modal .modal-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  line-height: 0.98;
}

body.has-dash-menu #calloutDetailTarget {
  margin: 0;
  padding: 12px 20px;
  color: #506772;
  background: rgba(255, 255, 255, 0.62);
  border-bottom: 1px solid rgba(188, 212, 214, 0.6);
}

body.has-dash-menu .callout-detail-grid {
  padding: 14px 20px 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.has-dash-menu .callout-detail-grid .account-fact {
  min-height: 70px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(148, 196, 199, 0.72);
  border-radius: 10px;
}

body.has-dash-menu .callout-detail-grid .account-fact label {
  color: #004e49;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

body.has-dash-menu .callout-detail-grid .account-fact strong {
  margin-top: 6px;
  color: #07171b;
  font-size: 0.98rem;
  line-height: 1.15;
}

body.has-dash-menu #calloutDetailStatus {
  color: #8a3d00;
}

body.has-dash-menu .callout-detail-panels {
  padding: 8px 20px 18px;
  grid-template-columns: 1.05fr 0.95fr;
}

body.has-dash-menu .callout-detail-panels .employee-control-card {
  min-height: 116px;
  padding: 15px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(250, 253, 253, 0.86));
}

body.has-dash-menu .callout-detail-panels .control-card-head {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(190, 215, 217, 0.62);
}

body.has-dash-menu .callout-detail-panels .control-card-head h3 {
  margin-top: 2px;
  font-size: 1rem;
}

body.has-dash-menu #calloutDetailNotes,
body.has-dash-menu #calloutDetailDocumentMeta {
  margin: 0;
  color: #526873;
  font-size: 0.95rem;
  line-height: 1.45;
}

body.has-dash-menu .callout-detail-modal .modal-actions {
  padding: 14px 20px 18px;
  background: rgba(255, 255, 255, 0.54);
  border-top: 1px solid rgba(188, 212, 214, 0.62);
}

body.has-dash-menu .callout-detail-modal .ghost-btn,
body.has-dash-menu .callout-detail-modal .icon-btn {
  border-radius: 9px;
}

@media (max-width: 760px) {
  body.has-dash-menu .callout-detail-grid,
  body.has-dash-menu .callout-detail-panels {
    grid-template-columns: 1fr;
    padding-left: 14px;
    padding-right: 14px;
  }

  body.has-dash-menu .callout-detail-modal .modal-head {
    padding: 16px 14px 12px;
  }

  body.has-dash-menu #calloutDetailTarget,
  body.has-dash-menu .callout-detail-modal .modal-actions {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* Final Connect modal layout overrides */



body.has-dash-menu .employee-control-modal {
  width: min(960px, calc(100vw - 28px));
  max-height: calc(100dvh - 28px);
  padding: 12px 14px 14px;
  border-top: 4px solid #00a991;
  background: #fbfdfd;
}

body.has-dash-menu .employee-control-modal > .modal-head {
  position: sticky;
  top: -12px;
  z-index: 5;
  margin: -12px -14px 0;
  padding: 12px 14px 9px;
  background: rgba(255, 255, 255, 0.98);
}

body.has-dash-menu .employee-control-modal .employee-control-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 10px;
}

body.has-dash-menu .employee-control-modal .employee-control-card {
  grid-column: span 4;
  gap: 7px;
  padding: 10px;
  border-radius: 9px;
  align-self: stretch;
  box-shadow: none;
}

body.has-dash-menu .employee-control-modal .employee-account-overview-card {
  grid-column: 1 / -1;
  grid-template-columns: 220px minmax(0, 1fr);
}

body.has-dash-menu .employee-account-overview-card .control-card-head {
  grid-column: 1 / -1;
}

body.has-dash-menu .employee-control-modal .employee-account-hero {
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
  padding: 5px 7px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.has-dash-menu .employee-control-modal .employee-account-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

body.has-dash-menu .employee-control-modal .account-facts-grid {
  gap: 7px;
}

body.has-dash-menu .employee-control-modal .account-fact {
  min-width: 0;
  padding: 5px 7px;
  border: 0;
  border-left: 1px solid rgba(19, 68, 74, 0.12);
  border-radius: 0;
  background: transparent;
}

body.has-dash-menu .employee-control-modal .account-fact strong {
  font-size: 0.68rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

body.has-dash-menu .employee-control-modal .pin-editor-row,
body.has-dash-menu .employee-control-modal .pin-editor-row button,
body.has-dash-menu .employee-control-modal .wide-action {
  width: 100%;
  min-width: 0;
  white-space: normal;
}

body.has-dash-menu .employee-control-modal .employee-board-summary-card {
  grid-column: 1 / -1;
  grid-template-columns: minmax(180px, 0.7fr) minmax(220px, 1fr) minmax(165px, auto);
  align-items: center;
}

body.has-dash-menu .employee-board-summary-card .wide-action {
  grid-column: 3;
  grid-row: 1 / span 2;
}

body.has-dash-menu .employee-control-modal .message-compose-card {
  grid-column: span 7;
}

body.has-dash-menu .employee-control-modal .message-history-card {
  grid-column: span 5;
  max-height: 330px;
}

@media (max-width: 900px) {
  body.has-dash-menu .week-actions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.has-dash-menu .employee-control-modal .employee-account-overview-card,
  body.has-dash-menu .employee-control-modal .employee-board-summary-card {
    grid-template-columns: 1fr;
  }

  body.has-dash-menu .employee-board-summary-card .wide-action {
    grid-column: auto;
    grid-row: auto;
  }

  body.has-dash-menu .employee-control-modal .employee-control-card,
  body.has-dash-menu .employee-control-modal .message-compose-card,
  body.has-dash-menu .employee-control-modal .message-history-card {
    grid-column: 1 / -1;
  }
}
.action-import {
  background: linear-gradient(135deg, #087b72, #11a595);
  border-color: #087b72;
  color: #fff;
}

/* Connect Board — card-list scheduler refresh. */
body.has-dash-menu .schedule-toolbar {
  min-height: 118px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 18px 22px;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% -45%, rgba(83, 222, 205, 0.34), transparent 20rem),
    linear-gradient(112deg, #073f46 0%, #0b5f61 60%, #278b87 100%);
  box-shadow: 0 20px 48px rgba(16, 74, 74, 0.18);
}

body.has-dash-menu .schedule-toolbar::before {
  content: "";
  position: absolute;
  right: 118px;
  bottom: -108px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

body.has-dash-menu .schedule-toolbar > div {
  position: relative;
  z-index: 1;
}





body.has-dash-menu .top-actions {
  gap: 9px;
}



body.has-dash-menu .top-actions .action-publish {
  border-color: #15ac9a;
  background: linear-gradient(135deg, #1bb7a3, #078b7d);
  box-shadow: 0 10px 24px rgba(2, 65, 64, 0.28);
}


body.has-dash-menu .stats-grid article {
  min-height: 68px;
  padding: 10px 12px;
  overflow: hidden;
  border: 1px solid #d2e4e1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(18, 70, 72, 0.06);
}

body.has-dash-menu .stats-grid article::after {
  width: 4px;
  background: linear-gradient(180deg, #11aa96, #2b8ec4);
}





body.has-dash-menu .board-search {
  width: 100%;
  max-width: 620px;
}



body.has-dash-menu .week-nav-icon,
body.has-dash-menu .status-filter-toggle,
body.has-dash-menu .board-role-filter select {
  min-height: 38px;
  border-color: #cfe0dd;
  border-radius: 9px;
  background: #fff;
}

body.has-dash-menu .board-filter-label {
  min-height: 38px;
  border-color: #a9ddd4;
  border-radius: 999px;
  background: #e7f8f5;
  color: #08766c;
}

body.has-dash-menu .week-board,
body.has-dash-menu .schedule-grid {
  background: #edf6f4;
}

body.has-dash-menu .schedule-grid {
  grid-template-columns: 290px repeat(7, minmax(170px, 1fr));
  grid-auto-rows: minmax(60px, auto);
  gap: 6px;
  padding: 8px;
}

body.has-dash-menu .grid-head,
body.has-dash-menu .user-cell,
body.has-dash-menu .shift-cell {
  min-height: 60px;
  border: 1px solid #cfe2df;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(19, 65, 68, 0.04);
}

body.has-dash-menu .grid-head {
  padding: 10px 12px;
  background: linear-gradient(180deg, #e3f5f2, #eff8f7);
}

body.has-dash-menu .users-head {
  border-left: 4px solid #12a891;
  color: #174b50;
}


body.has-dash-menu .day-head span {
  color: #607b80;
  font-size: 0.68rem;
}


body.has-dash-menu .user-cell {
  grid-template-columns: 34px minmax(0, 1fr) 26px;
  gap: 8px;
  padding: 7px 9px;
  border-left: 4px solid #72c8b9;
  background: #fff;
}

body.has-dash-menu .user-cell:hover {
  border-color: #70cbbb;
  border-left-color: #0ea38f;
  background: #f4fbf9;
}

body.has-dash-menu .avatar {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(13, 138, 124, 0.16);
  background: #dff5f1;
  color: #08766c;
}

body.has-dash-menu .employee-name-btn {
  color: #102f34;
  font-size: 0.82rem;
}

body.has-dash-menu .user-cell-copy span {
  color: #617b80;
  font-size: 0.68rem;
}


body.has-dash-menu .shift-cell {
  padding: 5px;
  background: #fff;
}

body.has-dash-menu .shift-cell.is-focused-day {
  border-color: #9ddbcf;
  background: #f0faf8;
}

body.has-dash-menu .shift-cell.has-unavailable {
  border-color: #ecd1d5;
  background: #fff8f9;
}

body.has-dash-menu .add-shift-btn {
  min-height: 38px;
  border: 1px dashed #c5ddd9;
  border-radius: 8px;
  color: #2f6267;
  background: #fbfdfd;
}

body.has-dash-menu .add-shift-btn:hover,
body.has-dash-menu .add-shift-btn:focus-visible {
  border-color: #56bdae;
  outline: 0;
  background: #eaf8f5;
}




@media (max-width: 1180px) {
  body.has-dash-menu .schedule-toolbar {
    grid-template-columns: 1fr auto;
  }


}

@media (max-width: 760px) {
  body.has-dash-menu .schedule-toolbar {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 16px;
    border-radius: 16px;
  }


  body.has-dash-menu .top-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  body.has-dash-menu .top-actions .action-btn {
    min-width: 0;
  }



  body.has-dash-menu .board-day-actions {
    overflow-x: auto;
    padding-bottom: 2px;
    flex-wrap: nowrap;
  }

  body.has-dash-menu .board-filter-label {
    white-space: nowrap;
  }

  body.has-dash-menu .schedule-grid {
    grid-template-columns: 190px repeat(7, minmax(155px, 1fr));
    gap: 5px;
    padding: 6px;
  }
}

/* Connect Board: one continuous card per employee week. */
body.has-dash-menu .schedule-grid {
  background: transparent;
  column-gap: 0;
  row-gap: 6px;
}



body.has-dash-menu .schedule-grid > .day-head {
  border-left: 0;
}


body.has-dash-menu .connect-board-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 290px repeat(7, minmax(170px, 1fr));
  min-width: 0;
  min-height: 66px;
  overflow: visible;
  border: 1px solid #b7e2da;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(24, 91, 82, 0.05);
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}


body.has-dash-menu .connect-board-row > .user-cell,
body.has-dash-menu .connect-board-row > .shift-cell {
  min-height: 64px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: background-color 160ms ease;
}

body.has-dash-menu .connect-board-row > .user-cell {
  grid-template-columns: 36px minmax(0, 1fr) 28px;
  gap: 10px;
  padding: 8px 12px;
  border-left: 0;
  border-radius: 13px 0 0 13px;
}

body.has-dash-menu .connect-board-row > .shift-cell:last-child {
  border-radius: 0 13px 13px 0;
}

body.has-dash-menu .connect-board-row .avatar {
  width: 36px;
  height: 36px;
  border-color: #b8ded9;
  border-radius: 10px;
  background: #e8f7f5;
  font-size: 0.72rem;
}

body.has-dash-menu .connect-board-row .employee-name-btn {
  max-width: 100%;
  color: #102f34;
  font-size: 0.94rem;
  line-height: 1.12;
}

body.has-dash-menu .connect-board-row .user-cell-copy span {
  max-width: 100%;
  color: #617b80;
  font-size: 0.69rem;
  line-height: 1.2;
}


body.has-dash-menu .connect-board-row > .user-cell:hover {
  border-color: transparent;
  background: transparent;
}

body.has-dash-menu .connect-board-row > .shift-cell.is-focused-day {
  background: transparent;
  box-shadow: none;
}


body.has-dash-menu .connect-board-row .add-shift-btn {
  width: 100%;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  appearance: none;
  background: transparent;
  box-shadow: none;
  color: #183f44;
  font-size: 0.82rem;
  font-weight: 850;
}

body.has-dash-menu .connect-board-row .add-shift-btn:hover,
body.has-dash-menu .connect-board-row .add-shift-btn:focus-visible {
  background: transparent;
  box-shadow: none;
  color: #08766c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Scheduler board: requests remain compact and never increase the employee row. */

body.has-dash-menu .connect-board-row > .user-cell,
body.has-dash-menu .connect-board-row > .shift-cell {
  height: 64px;
  min-height: 64px;
  overflow: visible;
}

body.has-dash-menu .connect-board-row .request-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 23px 19px;
  align-content: center;
  column-gap: 5px;
  row-gap: 2px;
  width: 100%;
  height: 52px;
  min-height: 52px;
  padding: 4px 6px;
  overflow: hidden;
  border-radius: 9px;
}

body.has-dash-menu .connect-board-row .request-block-head {
  grid-column: 1 / -1;
  min-width: 0;
  gap: 5px;
  align-items: center;
}

body.has-dash-menu .connect-board-row .request-block-type {
  min-width: 0;
  overflow: hidden;
  color: #a46600;
  font-size: 0.68rem;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.has-dash-menu .connect-board-row .request-block-status {
  flex: 0 0 auto;
  padding: 2px 6px;
  font-size: 0.57rem;
  line-height: 1.1;
}

body.has-dash-menu .connect-board-row .request-block-meta {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  align-self: center;
  overflow: hidden;
  font-size: 0.61rem;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.has-dash-menu .connect-board-row .request-block-note,
body.has-dash-menu .connect-board-row .request-block-review,
body.has-dash-menu .connect-board-row .request-block-shift {
  display: none;
}

body.has-dash-menu .connect-board-row .request-block-actions {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  flex-wrap: nowrap;
  gap: 3px;
}

body.has-dash-menu .connect-board-row .request-block-actions button {
  min-height: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 5px;
  font-size: 0.56rem;
  line-height: 1;
  box-shadow: none;
}

body.has-dash-menu .stats-grid .stat-card.is-clickable {
  cursor: pointer;
}

body.has-dash-menu .stats-grid .stat-card.is-clickable:focus-visible {
  outline: 3px solid rgba(18, 168, 145, 0.28);
  outline-offset: 2px;
}

/* Scheduling shift status menu */
body.has-dash-menu .shift-status-menu.is-floating {
  position: fixed;
  z-index: 2147482500;
  display: grid;
  width: min(410px, calc(100vw - 16px));
  max-width: min(410px, calc(100vw - 16px));
  max-height: min(610px, calc(100dvh - 16px));
  gap: 0;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(129, 186, 179, 0.72);
  border-radius: 20px;
  background: #f7fbfa;
  box-shadow: 0 24px 64px rgba(5, 39, 45, 0.24), 0 4px 14px rgba(5, 39, 45, 0.12);
  overscroll-behavior: contain;
}

body.has-dash-menu .shift-status-menu .shift-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 17px 14px;
  border-bottom: 1px solid #d7e8e5;
  color: #ffffff;
  background: linear-gradient(135deg, #0a4d50 0%, #08746b 58%, #16a18f 100%);
}

body.has-dash-menu .shift-status-menu .shift-menu-title {
  display: grid;
  min-width: 0;
  gap: 2px;
}

body.has-dash-menu .shift-status-menu .shift-menu-title > span {
  color: #8af0de;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

body.has-dash-menu .shift-status-menu .shift-menu-title > strong {
  overflow: hidden;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.has-dash-menu .shift-status-menu .shift-menu-title > small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.66rem;
  font-weight: 700;
}

body.has-dash-menu .shift-status-menu .shift-menu-current {
  flex: 0 0 auto;
  max-width: 128px;
  padding: 5px 9px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  font-size: 0.61rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.has-dash-menu .shift-status-menu .shift-menu-section {
  display: grid;
  gap: 8px;
  padding: 13px;
}

body.has-dash-menu .shift-status-menu .shift-menu-section-label {
  color: #587378;
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

body.has-dash-menu .shift-status-menu .shift-menu-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

body.has-dash-menu .shift-status-menu .shift-menu-option {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 15px;
  align-items: center;
  width: 100%;
  min-height: 54px;
  gap: 8px;
  padding: 7px 8px;
  border: 1px solid #d5e5e3;
  border-radius: 12px;
  color: #17383d;
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(11, 64, 66, 0.035);
  text-align: left;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

body.has-dash-menu .shift-status-menu .shift-menu-option:hover {
  border-color: #91cec5;
  color: #0a514e;
  background: #f5fcfa;
  box-shadow: 0 7px 16px rgba(11, 64, 66, 0.08);
  transform: translateY(-1px);
}

body.has-dash-menu .shift-status-menu .shift-menu-option.is-selected {
  border-color: #45b9a8;
  color: #075e56;
  background: #e5f8f4;
  box-shadow: inset 0 0 0 1px rgba(9, 141, 123, 0.12), 0 5px 14px rgba(11, 91, 80, 0.08);
}

body.has-dash-menu .shift-status-menu .shift-menu-option-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  color: #08766c;
  background: #e8f7f4;
  font-size: 0.7rem;
  font-weight: 950;
}

body.has-dash-menu .shift-status-menu .tone-ore .shift-menu-option-icon,
body.has-dash-menu .shift-status-menu .tone-pto .shift-menu-option-icon,
body.has-dash-menu .shift-status-menu .tone-leave .shift-menu-option-icon {
  color: #6550ae;
  background: #f0edff;
}

body.has-dash-menu .shift-status-menu .tone-blocked .shift-menu-option-icon,
body.has-dash-menu .shift-status-menu .tone-vto .shift-menu-option-icon {
  color: #9a6500;
  background: #fff3d8;
}

body.has-dash-menu .shift-status-menu .tone-unavailable .shift-menu-option-icon,
body.has-dash-menu .shift-status-menu .tone-callout .shift-menu-option-icon,
body.has-dash-menu .shift-status-menu .tone-noshow .shift-menu-option-icon,
body.has-dash-menu .shift-status-menu .tone-sick .shift-menu-option-icon,
body.has-dash-menu .shift-status-menu .tone-suspended .shift-menu-option-icon {
  color: #a33f4b;
  background: #fff0f2;
}

body.has-dash-menu .shift-status-menu .shift-menu-option-copy {
  display: grid;
  min-width: 0;
  gap: 1px;
}

body.has-dash-menu .shift-status-menu .shift-menu-option-copy strong {
  overflow: hidden;
  font-size: 0.7rem;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.has-dash-menu .shift-status-menu .shift-menu-option-copy small {
  overflow: hidden;
  color: #698187;
  font-size: 0.56rem;
  font-weight: 650;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.has-dash-menu .shift-status-menu .shift-menu-option-check {
  visibility: hidden;
  color: #078172;
  font-size: 0.78rem;
  font-weight: 950;
}

body.has-dash-menu .shift-status-menu .shift-menu-option.is-selected .shift-menu-option-check {
  visibility: visible;
}

body.has-dash-menu .shift-status-menu .shift-menu-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 11px 13px 13px;
  border-top: 1px solid #dceae8;
  background: #ffffff;
}

body.has-dash-menu .shift-status-menu .shift-menu-action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  gap: 7px;
  border: 1px solid #c9ddda;
  border-radius: 11px;
  color: #174d50;
  background: #f8fbfb;
  font-size: 0.7rem;
  box-shadow: none;
}

body.has-dash-menu .shift-status-menu .shift-menu-action:hover {
  color: #086b62;
  background: #eef8f6;
}

body.has-dash-menu .shift-status-menu .shift-menu-action.remove-assignment {
  border-color: #f0c8cd;
  color: #a23b49;
  background: #fff7f8;
}

body.has-dash-menu .shift-status-menu .shift-menu-action.remove-assignment:hover {
  border-color: #e7aeb7;
  color: #8f2636;
  background: #fff0f2;
}

.shift-chip.status-blocked_day {
  background: #9b6d19;
}

.shift-chip.status-pto {
  background: #7251a5;
}

.shift-chip.status-vto {
  background: #3d7391;
}

.shift-chip.status-no_show {
  background: #8c4c32;
}

.shift-chip.status-sick_home {
  background: #687a83;
}

.shift-chip.status-suspended {
  background: #7f3441;
}

.shift-chip.status-leave_of_absence {
  background: #5d568d;
}

@media (max-width: 520px) {
  body.has-dash-menu .shift-status-menu.is-floating {
    width: calc(100vw - 12px);
    max-width: calc(100vw - 12px);
    max-height: calc(100dvh - 12px);
    border-radius: 17px;
  }

  body.has-dash-menu .shift-status-menu .shift-menu-head {
    padding: 13px;
  }

  body.has-dash-menu .shift-status-menu .shift-menu-section {
    padding: 10px;
  }

  body.has-dash-menu .shift-status-menu .shift-menu-status-grid {
    gap: 6px;
  }

  body.has-dash-menu .shift-status-menu .shift-menu-option {
    min-height: 50px;
    grid-template-columns: 27px minmax(0, 1fr) 12px;
    gap: 6px;
    padding: 6px;
  }

  body.has-dash-menu .shift-status-menu .shift-menu-option-icon {
    width: 27px;
    height: 27px;
  }

  body.has-dash-menu .shift-status-menu .shift-menu-option-copy small {
    display: none;
  }
}

@media (max-width: 760px) {

  body.has-dash-menu .stats-grid article {
    min-height: 58px;
    padding: 8px 10px 8px 12px;
  }
}

/* Scheduler filters: keep the desktop toolbar compact and on one visual line. */
body.has-dash-menu .board-nav {
  align-items: center;
  min-height: 62px;
  padding-block: 8px;
}

body.has-dash-menu .board-search,
body.has-dash-menu .board-role-filter {
  margin: 0;
}

body.has-dash-menu .board-day-actions,
body.has-dash-menu .board-week-switcher,
body.has-dash-menu .board-role-filter {
  display: flex;
  align-items: center;
}

body.has-dash-menu .board-day-actions {
  align-self: center;
  flex-wrap: nowrap;
  min-height: 42px;
}


body.has-dash-menu .board-role-filter > .sr-only {
  display: none !important;
}

body.has-dash-menu .board-search input,
body.has-dash-menu .week-nav-icon,
body.has-dash-menu .status-filter-toggle,
body.has-dash-menu .board-role-filter select,
body.has-dash-menu .board-filter-label {
  height: 42px;
  min-height: 42px;
  margin: 0;
}

@media (max-width: 1180px) {
  body.has-dash-menu .board-nav {
    min-height: 0;
    gap: 8px;
  }

  body.has-dash-menu .board-day-actions {
    min-height: 42px;
  }
}

/* Final selected-card treatment: strong, stable, and clear of card content. */
body.has-dash-menu .stats-grid article.stat-card.is-active-filter {
  border-color: #87c8b7 !important;
  background: linear-gradient(135deg, #fbfffd 0%, #edf9f3 52%, #dff2e8 100%) !important;
  box-shadow:
    inset 0 0 0 1px rgba(70, 157, 132, 0.18),
    inset 0 -3px 0 #79bfa8,
    0 6px 14px rgba(50, 117, 98, 0.11) !important;
  transform: none;
}

body.has-dash-menu .stats-grid article.stat-card.is-active-filter > span {
  color: #3d7667;
}

body.has-dash-menu .stats-grid article.stat-card.is-active-filter > strong {
  color: #173f35 !important;
}

/* Scheduling — Jade board visual system */
body.has-dash-menu {
  --jade-700: #0f625a;
  --jade-600: #118478;
  --jade-500: #159a8c;
  --jade-400: #20b7a5;
  --jade-200: #a9ddd5;
  --jade-100: #d8efeb;
  --jade-050: #e8f7f4;
  --ink-900: #102e32;
  --ink-700: #365b60;
  --ink-500: #6b8589;
  --surface: #ffffff;
  --surface-soft: #f7fbfa;
  --surface-weekend: #f3f8f6;
  --border-soft: #d9e7e4;
  --green: var(--jade-500);
  --green-dark: var(--jade-600);
  --blue: var(--jade-500);
  --blue-soft: var(--jade-050);
  --text: var(--ink-900);
  --muted: var(--ink-500);
  background: linear-gradient(180deg, #f5faf9 0%, #eef6f4 100%);
}

body.has-dash-menu .app-shell {
  width: min(1920px, calc(100vw - 24px));
  padding: 10px 0 22px;
}

body.has-dash-menu .schedule-toolbar {
  min-height: 84px;
  margin-bottom: 8px;
  padding: 13px 18px;
  overflow: visible;
  border: 1px solid var(--jade-200);
  border-radius: 16px;
  background:
    radial-gradient(circle at 88% 10%, rgba(32, 183, 165, 0.15), transparent 19rem),
    linear-gradient(110deg, #ffffff 0%, #f0faf8 62%, #e8f7f4 100%);
  box-shadow: 0 10px 28px rgba(15, 98, 90, 0.08);
}

body.has-dash-menu .schedule-toolbar::before,
body.has-dash-menu .schedule-toolbar::after {
  display: none;
}

body.has-dash-menu .schedule-toolbar .eyebrow {
  color: var(--jade-600);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
}

body.has-dash-menu .schedule-toolbar h1 {
  margin-top: 2px;
  color: var(--ink-900);
  font-size: clamp(1.65rem, 2.3vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

body.has-dash-menu .week-status-row {
  margin-top: 6px;
  gap: 8px;
}

body.has-dash-menu .week-publish-badge {
  min-height: 24px;
  padding: 0 9px;
  border-color: var(--jade-200);
  background: var(--jade-050);
  color: var(--jade-700);
  font-size: 0.66rem;
}

body.has-dash-menu .week-publish-meta {
  color: var(--ink-500);
  font-size: 0.68rem;
}

body.has-dash-menu .top-actions .action-btn {
  min-width: 112px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 0.74rem;
}

body.has-dash-menu .top-actions .action-tools {
  border-color: var(--jade-200);
  background: rgba(255, 255, 255, 0.84);
  color: var(--jade-700);
}

body.has-dash-menu .top-actions .action-publish,
body.has-dash-menu button.success {
  border-color: var(--jade-500);
  background: linear-gradient(135deg, var(--jade-500), var(--jade-600));
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(21, 154, 140, 0.17);
}

body.has-dash-menu .stats-grid {
  grid-template-columns: repeat(6, minmax(110px, 1fr));
  gap: 0;
  margin-bottom: 8px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 6px 18px rgba(16, 46, 50, 0.05);
}

body.has-dash-menu .stats-grid article {
  min-height: 56px;
  padding: 8px 14px;
  border: 0;
  border-right: 1px solid var(--border-soft);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: background-color 150ms ease, color 150ms ease;
}

body.has-dash-menu .stats-grid article:last-child {
  border-right: 0;
}

body.has-dash-menu .stats-grid article::after {
  display: none;
}

body.has-dash-menu .stats-grid span {
  color: var(--ink-500);
  font-size: 0.62rem;
  letter-spacing: 0.07em;
}

body.has-dash-menu .stats-grid strong {
  margin-top: 1px;
  color: var(--ink-900);
  font-size: 1.28rem;
  line-height: 1;
}

body.has-dash-menu .stats-grid .stat-card.is-clickable:hover {
  border-color: transparent;
  background: #f1faf8;
  box-shadow: none;
}

body.has-dash-menu .stats-grid article.stat-card.is-active-filter {
  border-color: transparent !important;
  background: var(--jade-050) !important;
  box-shadow: inset 0 -3px 0 var(--jade-500) !important;
}

body.has-dash-menu .stats-grid article.stat-card.is-active-filter > span,
body.has-dash-menu .stats-grid article.stat-card.is-active-filter > strong {
  color: var(--jade-700) !important;
}

body.has-dash-menu .board-panel {
  min-height: 0;
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.has-dash-menu .board-nav {
  position: relative;
  z-index: 45 !important;
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  min-height: 56px;
  gap: 10px;
  padding: 7px 10px;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  backdrop-filter: none;
}

body.has-dash-menu .board-search {
  max-width: 620px;
}

/* Compact document-style tabs on the Scheduling filter bar. */
body.has-dash-menu .schedule-team-tabs {
  display: flex;
  align-items: flex-end;
  align-self: stretch;
  gap: 0;
  padding-top: 0;
  margin-bottom: -8px;
  border-bottom: 1px solid #cfe2df;
}

body.has-dash-menu .schedule-team-tabs [role="tab"] {
  appearance: none;
  flex: 0 0 auto;
  min-height: 39px;
  margin-bottom: -1px;
  padding: 9px 16px;
  border: 1px solid transparent !important;
  border-bottom-color: #cfe2df !important;
  border-radius: 5px 5px 0 0 !important;
  background: transparent !important;
  color: #59706f !important;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600 !important;
  cursor: pointer;
}

body.has-dash-menu .schedule-team-tabs [role="tab"]:hover {
  color: #146e65 !important;
  background: #edf8f5 !important;
}

body.has-dash-menu .schedule-team-tabs [aria-selected="true"] {
  border: 1px solid #cfe2df !important;
  border-top: 2px solid #1aa18f !important;
  border-bottom-color: transparent !important;
  background: transparent !important;
  color: #116f65 !important;
  font-weight: 750 !important;
  position: relative;
  z-index: 1;
}

body.has-dash-menu .schedule-team-tabs [role="tab"]:focus-visible {
  outline: 2px solid #167e73;
  outline-offset: -4px;
}

body.has-dash-menu .board-search input {
  height: 40px;
  min-height: 40px;
  border-color: var(--border-soft);
  border-radius: 10px;
  background: #fbfdfd;
  color: var(--ink-900);
}

body.has-dash-menu input:focus,
body.has-dash-menu select:focus,
body.has-dash-menu textarea:focus,
body.has-dash-menu button:focus-visible {
  border-color: var(--jade-500);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(21, 154, 140, 0.14);
}


body.has-dash-menu .board-search input,
body.has-dash-menu .week-nav-icon,
body.has-dash-menu .status-filter-toggle,
body.has-dash-menu .board-role-filter select,
body.has-dash-menu .board-filter-label,
body.has-dash-menu .board-density-toggle,
body.has-dash-menu .board-reset-filters {
  height: 40px;
  min-height: 40px;
  margin: 0;
  border-radius: 10px;
}

body.has-dash-menu .week-nav-icon,
body.has-dash-menu .status-filter-toggle,
body.has-dash-menu .board-role-filter select,
body.has-dash-menu .board-density-toggle {
  border: 1px solid var(--border-soft);
  background: #ffffff;
  color: var(--ink-700);
  box-shadow: none;
}

body.has-dash-menu .board-role-filter.is-active-filter select,
body.has-dash-menu .status-filter-toggle.is-active-filter,
body.has-dash-menu .status-filter-toggle[data-filter-active="true"] {
  border-color: var(--jade-500);
  background: var(--jade-050);
  color: var(--jade-700);
}

body.has-dash-menu .board-density-toggle {
  position: relative;
  padding: 0 11px 0 28px;
  font-size: 0.68rem;
  font-weight: 850;
}

body.has-dash-menu .board-density-toggle::before {
  content: "";
  position: absolute;
  left: 10px;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

body.has-dash-menu .board-filter-label {
  padding: 0 12px;
  border-color: var(--jade-200);
  background: var(--jade-050);
  color: var(--jade-700);
  white-space: nowrap;
}

body.has-dash-menu .board-reset-filters {
  padding: 0 11px;
  border: 1px solid #edc9cf;
  background: #fff7f8;
  color: #a33f4c;
  font-size: 0.68rem;
  font-weight: 850;
  box-shadow: none;
}

body.has-dash-menu .board-reset-filters[hidden] {
  display: none;
}

/* Scheduling toolbar: one unified control surface. */
body.has-dash-menu .board-day-actions {
  gap: 3px;
  min-height: 42px;
  padding: 3px;
  border: 1px solid #cfe5e1;
  border-radius: 12px;
  background: #f1f8f6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

body.has-dash-menu .board-week-switcher {
  gap: 2px;
  padding-right: 4px;
  border-right: 1px solid #d8e8e5;
}

body.has-dash-menu .board-search input,
body.has-dash-menu .week-nav-icon,
body.has-dash-menu .status-filter-toggle,
body.has-dash-menu .board-role-filter select,
body.has-dash-menu .board-filter-label,
body.has-dash-menu .board-density-toggle,
body.has-dash-menu .board-reset-filters {
  height: 34px;
  min-height: 34px;
  border-radius: 8px;
}

body.has-dash-menu .week-nav-icon,
body.has-dash-menu .status-filter-toggle,
body.has-dash-menu .board-role-filter select,
body.has-dash-menu .board-density-toggle {
  border-color: transparent;
  background: transparent;
  color: var(--ink-700);
  font-size: 0.72rem;
  font-weight: 820;
  transition: background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

body.has-dash-menu .week-nav-icon {
  width: 32px;
  min-width: 32px;
  padding: 0;
  color: var(--jade-700);
  font-size: 0.92rem;
}

body.has-dash-menu .week-nav-icon:hover,
body.has-dash-menu .status-filter-toggle:hover,
body.has-dash-menu .board-role-filter select:hover,
body.has-dash-menu .board-density-toggle:hover {
  border-color: transparent;
  background: #ffffff;
  color: var(--jade-700);
  box-shadow: 0 2px 8px rgba(15, 98, 90, 0.08);
  transform: none;
}

body.has-dash-menu .status-filter-toggle,
body.has-dash-menu .board-role-filter select {
  padding-inline: 11px 30px;
}

body.has-dash-menu .board-role-filter,
body.has-dash-menu .board-density-toggle {
  margin-left: 1px;
}

body.has-dash-menu .board-role-filter.is-active-filter select,
body.has-dash-menu .status-filter-toggle.is-active-filter,
body.has-dash-menu .status-filter-toggle[data-filter-active="true"],
body.has-dash-menu .board-density-toggle[aria-pressed="true"] {
  border-color: transparent;
  background: #ffffff;
  color: var(--jade-700);
  box-shadow: 0 2px 8px rgba(15, 98, 90, 0.09);
}

body.has-dash-menu .board-density-toggle {
  padding: 0 10px 0 27px;
}

body.has-dash-menu .board-density-toggle::before {
  left: 9px;
  width: 9px;
  height: 8px;
  border-width: 1.5px 0;
  border-style: solid;
}

body.has-dash-menu .board-filter-label {
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 0;
  background: #dff3ee;
  color: var(--jade-700);
  font-size: 0.68rem;
  font-weight: 850;
  box-shadow: inset 0 0 0 1px #b9dfd8;
}

body.has-dash-menu .board-reset-filters {
  border: 0;
  background: #fff5f6;
  box-shadow: inset 0 0 0 1px #edc9cf;
}

body.has-dash-menu .week-board {
  height: auto;
  min-height: 0;
  overflow: visible !important;
  position: relative;
  isolation: isolate;
  overscroll-behavior: contain;
  background: #f4faf8;
  scrollbar-color: #b8d7d2 transparent;
  scrollbar-width: thin;
}

body.has-dash-menu .schedule-grid {
  grid-template-columns: 290px repeat(7, minmax(170px, 1fr));
  row-gap: 4px;
  padding: 6px;
  align-items: start;
  background: transparent;
}

body.has-dash-menu .schedule-grid > .grid-head {
  position: sticky;
  top: var(--dc-nav-height, 64px);
  z-index: 30 !important;
  min-height: 48px;
  padding: 6px 10px;
  border: 0;
  border-top: 1px solid #c6e8e1;
  border-bottom: 1px solid #a9d9d0;
  border-radius: 0;
  background: #eff9f6;
  box-shadow: 0 5px 12px rgba(15, 98, 90, 0.08);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
}

body.has-dash-menu .schedule-grid > .users-head {
  left: 0;
  z-index: 36 !important;
  display: flex;
  align-items: center;
  gap: 8px;
  border-left: 0;
  border-radius: 14px 0 0 0;
  background: rgba(225, 246, 240, 0.98);
  color: var(--ink-700);
}

body.has-dash-menu .schedule-grid > .day-head:nth-child(8) {
  border-radius: 0 14px 0 0;
}

body.has-dash-menu .users-head-icon {
  position: relative;
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #a8ddd4;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--jade-700);
  font-size: 0;
  box-shadow: 0 4px 12px rgba(15, 98, 90, 0.08);
}

body.has-dash-menu .users-head-icon::before,
body.has-dash-menu .users-head-icon::after {
  content: "";
  position: absolute;
  border: 2px solid currentColor;
}

body.has-dash-menu .users-head-icon::before {
  width: 6px;
  height: 6px;
  margin-top: -8px;
  border-radius: 50%;
}

body.has-dash-menu .users-head-icon::after {
  width: 12px;
  height: 6px;
  margin-top: 9px;
  border-radius: 9px 9px 5px 5px;
  border-bottom-width: 0;
}

body.has-dash-menu .users-head-copy {
  display: grid;
  gap: 1px;
}

body.has-dash-menu .users-head-copy strong {
  color: var(--ink-900);
  font-size: 0.88rem;
  line-height: 1;
}

body.has-dash-menu .users-head-copy > span {
  color: var(--ink-500);
  font-size: 0.55rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
}

body.has-dash-menu .day-head strong {
  color: var(--ink-900);
  font-size: 0.8rem;
  line-height: 1.15;
}

body.has-dash-menu .day-head-metrics {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  color: var(--ink-500);
  font-size: 0.58rem;
  line-height: 1.15;
}

body.has-dash-menu .day-head-metric {
  position: relative;
  padding-left: 8px;
  white-space: nowrap;
}

body.has-dash-menu .day-head-metric::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #9bb2b1;
  transform: translateY(-50%);
}

body.has-dash-menu .day-head-metric.is-on-duty::before {
  background: var(--jade-500);
}

body.has-dash-menu .day-head-metric.is-unavailable::before {
  background: #d8a34a;
}

body.has-dash-menu .day-head.is-weekend {
  background: rgba(235, 246, 242, 0.97);
}

body.has-dash-menu .day-head.is-focused-day {
  border-color: #77c9bc;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: inset 0 -3px 0 var(--jade-500), 0 5px 12px rgba(15, 98, 90, 0.08);
}

body.has-dash-menu .day-head.is-column-hover {
  background: rgba(221, 245, 239, 0.98);
}

body.has-dash-menu .day-head.is-today strong::after {
  content: "Today";
  display: inline-flex;
  margin-left: 5px;
  padding: 1px 5px;
  border-radius: 999px;
  background: #d9f3ed;
  color: var(--jade-700);
  font-size: 0.48rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.has-dash-menu .connect-board-row {
  grid-template-columns: 290px repeat(7, minmax(170px, 1fr));
  height: 64px;
  min-height: 64px;
  align-items: center;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
}

body.has-dash-menu .connect-board-row:hover,
body.has-dash-menu .connect-board-row:focus-within {
  background: transparent;
  box-shadow: none;
}

body.has-dash-menu .connect-board-row > .user-cell {
  position: sticky;
  left: 0;
  z-index: 22 !important;
  grid-template-columns: 34px minmax(0, 1fr) 26px;
  gap: 9px;
  height: 62px;
  min-height: 62px;
  padding: 7px 10px;
  border-radius: 9px 0 0 9px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 5px 0 10px rgba(16, 46, 50, 0.035);
}

body.has-dash-menu .connect-board-row:hover > .user-cell {
  background: var(--jade-050);
}

body.has-dash-menu .connect-board-row .avatar {
  width: 34px;
  height: 34px;
  border: 1px solid var(--jade-200);
  border-radius: 10px;
  background: var(--jade-050);
  color: var(--jade-700);
}

body.has-dash-menu .connect-board-row .employee-name-btn {
  color: var(--ink-900);
  font-size: 0.84rem;
  line-height: 1.1;
}

body.has-dash-menu .connect-board-row .employee-name-btn:hover {
  color: var(--jade-600);
}

body.has-dash-menu .connect-board-row .user-cell-copy span {
  margin-top: 2px;
  color: var(--ink-500);
  font-size: 0.64rem;
}

body.has-dash-menu .employee-row-menu-btn {
  border-color: var(--border-soft);
  background: #ffffff;
  color: var(--jade-600);
}

body.has-dash-menu .connect-board-row > .shift-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 62px;
  min-height: 62px;
  padding: 6px 7px;
  border-left: 0;
  background: transparent;
}

body.has-dash-menu .connect-board-row > .shift-cell > .shift-chip,
body.has-dash-menu .connect-board-row > .shift-cell > .request-block,
body.has-dash-menu .connect-board-row > .shift-cell > .unavailable-block,
body.has-dash-menu .connect-board-row > .shift-cell > .add-shift-btn {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  margin: 0;
  border-radius: 9px;
}

body.has-dash-menu .connect-board-row > .shift-cell.is-weekend {
  background: var(--surface-weekend);
}

body.has-dash-menu .connect-board-row > .shift-cell.is-column-hover,
body.has-dash-menu .connect-board-row > .shift-cell.is-focused-day {
  background: #f0faf8;
}

body.has-dash-menu .connect-board-row > .shift-cell.has-unavailable {
  background: transparent;
}

body.has-dash-menu .connect-board-row > .shift-cell.has-request:not(.has-unavailable) {
  background: transparent;
}

body.has-dash-menu .connect-board-row > .shift-cell.has-request:not(.has-unavailable).is-weekend {
  background: var(--surface-weekend);
}

body.has-dash-menu .connect-board-row .add-shift-btn {
  border: 1px solid #d8e6e3;
  color: #6b8589;
  background: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

body.has-dash-menu .connect-board-row .add-shift-btn::before {
  content: "+ ";
  color: var(--jade-500);
  font-weight: 950;
}

body.has-dash-menu .connect-board-row .add-shift-btn:hover,
body.has-dash-menu .connect-board-row .add-shift-btn:focus-visible {
  border-color: var(--jade-200);
  background: var(--jade-050);
  color: var(--jade-700);
  text-decoration: none;
}

body.has-dash-menu .shift-chip {
  min-height: 48px;
  padding: 7px 8px;
  border: 1px solid var(--jade-200);
  border-radius: 9px;
  color: var(--jade-700);
  background: var(--jade-050);
  box-shadow: inset 3px 0 0 var(--jade-500);
}

body.has-dash-menu .shift-chip strong {
  color: inherit;
  font-size: 0.72rem;
  line-height: 1.05;
}

body.has-dash-menu .shift-chip .employee-sub {
  color: color-mix(in srgb, currentColor 78%, transparent);
  font-size: 0.62rem;
}

body.has-dash-menu .shift-chip > button {
  min-width: 27px;
  min-height: 26px;
  padding: 0 6px;
  border: 1px solid rgba(15, 98, 90, 0.12);
  background: rgba(255, 255, 255, 0.7);
  color: currentColor;
  box-shadow: none;
}

body.has-dash-menu .shift-chip.status-lead {
  border-color: #c9bdf0;
  color: #5a4295;
  background: #f2effb;
  box-shadow: inset 3px 0 0 #7961c8;
}

body.has-dash-menu .shift-chip.status-ore,
body.has-dash-menu .shift-chip.status-training {
  border-color: #cfc4ef;
  color: #6247a7;
  background: #f3effc;
  box-shadow: inset 3px 0 0 #8469d2;
}

body.has-dash-menu .shift-chip.status-blocked_day,
body.has-dash-menu .shift-chip.status-pto,
body.has-dash-menu .shift-chip.status-vto {
  border-color: #efd7a0;
  color: #815807;
  background: #fff8e8;
  box-shadow: inset 3px 0 0 #d99a20;
}

body.has-dash-menu .shift-chip.status-unavailable,
body.has-dash-menu .shift-chip.status-call_out,
body.has-dash-menu .shift-chip.status-no_show,
body.has-dash-menu .shift-chip.status-sick_home,
body.has-dash-menu .shift-chip.status-suspended {
  border-color: #edc1c8;
  color: #963846;
  background: #fff1f3;
  box-shadow: inset 3px 0 0 #d45a68;
}

body.has-dash-menu .shift-chip.status-leave_of_absence {
  border-color: #cbd7e7;
  color: #4e637e;
  background: #f1f5fa;
  box-shadow: inset 3px 0 0 #7890ad;
}

body.has-dash-menu .request-block,
body.has-dash-menu .unavailable-block {
  border-color: #efd4d8;
  background: #fff8f8;
  box-shadow: none;
}

/* Requests use the same compact per-day card treatment as scheduled shifts. */
body.has-dash-menu .connect-board-row .request-block {
  position: relative;
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  border: 1px solid #efd7a0;
  color: #815807;
  background: #fff8e8;
  box-shadow: inset 3px 0 0 #d99a20;
  overflow: visible;
}

body.has-dash-menu .connect-board-row .request-block.request-pto {
  border-color: #e8d3ad;
  background: #fff9ee;
}

body.has-dash-menu .connect-board-row .request-block.request-pto .request-block-type {
  color: #8a5d08;
}

body.has-dash-menu .connect-board-row .request-block-actions {
  position: relative;
}

body.has-dash-menu .connect-board-row .request-menu-btn {
  min-width: 27px;
  width: 27px;
  min-height: 24px;
  height: 24px;
  padding: 0 6px;
  border: 1px solid rgba(129, 88, 7, 0.18);
  border-radius: 7px;
  color: #815807;
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  box-shadow: none;
}

body.has-dash-menu .connect-board-row .request-menu-btn:hover,
body.has-dash-menu .connect-board-row .request-menu-btn:focus-visible {
  border-color: #d9a84b;
  background: #ffffff;
}

body.has-dash-menu .connect-board-row .request-review-menu {
  top: calc(100% + 5px);
  right: 0;
  z-index: 60;
  min-width: 142px;
  padding: 5px;
  border-color: #e6d7ba;
  box-shadow: 0 14px 32px rgba(72, 54, 18, 0.18);
}

body.has-dash-menu .connect-board-row .request-review-menu button {
  width: 100%;
  height: 30px;
  min-height: 30px;
  justify-content: flex-start;
  padding: 0 9px;
  border: 0;
  border-radius: 7px;
  font-size: 0.72rem;
}

body.has-dash-menu .connect-board-row .request-review-menu .success {
  color: #08766c;
  background: #edf9f6;
}

body.has-dash-menu .connect-board-row .request-review-menu .danger {
  color: #a33f4b;
  background: #fff2f3;
}

body.has-dash-menu .connect-board-row .unavailable-block {
  position: relative;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  align-items: center;
  justify-items: stretch;
  gap: 2px;
  padding: 6px 7px 6px 9px;
  border: 1px solid #edc1c8;
  color: #963846;
  text-align: left;
  background: #ffffff;
  box-shadow: inset 3px 0 0 #d45a68;
}

body.has-dash-menu .connect-board-row .unavailable-block-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

body.has-dash-menu .connect-board-row .unavailable-block-actions {
  position: relative;
  justify-self: end;
}

body.has-dash-menu .connect-board-row .unavailable-menu-btn {
  border-color: rgba(150, 56, 70, 0.18);
  color: #963846;
}

body.has-dash-menu .connect-board-row .unavailable-menu-btn:hover,
body.has-dash-menu .connect-board-row .unavailable-menu-btn:focus-visible {
  border-color: #d45a68;
}

body.has-dash-menu .connect-board-row .unavailable-review-menu {
  border-color: #efd4d8;
}

body.has-dash-menu .unavailable-review-menu.is-floating {
  position: fixed;
  z-index: 2147482500;
  min-width: 154px;
  margin: 0;
  box-shadow: 0 18px 44px rgba(72, 24, 32, 0.2);
}

body.has-dash-menu .connect-board-row .unavailable-block strong {
  font-size: 0.72rem;
  line-height: 1.05;
}

body.has-dash-menu .connect-board-row .unavailable-block span {
  color: #b04b59;
  font-size: 0.62rem;
  line-height: 1.05;
}

body.has-dash-menu.schedule-density-compact .week-board {
  height: auto;
}

body.has-dash-menu.schedule-density-compact .connect-board-row,
body.has-dash-menu.schedule-density-compact .connect-board-row > .user-cell,
body.has-dash-menu.schedule-density-compact .connect-board-row > .shift-cell {
  height: 52px;
  min-height: 52px;
}

body.has-dash-menu.schedule-density-compact .connect-board-row .avatar {
  width: 30px;
  height: 30px;
}

body.has-dash-menu.schedule-density-compact .connect-board-row > .user-cell {
  grid-template-columns: 30px minmax(0, 1fr) 24px;
  padding-block: 4px;
}

body.has-dash-menu.schedule-density-compact .shift-chip,
body.has-dash-menu.schedule-density-compact .connect-board-row .request-block,
body.has-dash-menu.schedule-density-compact .connect-board-row .unavailable-block,
body.has-dash-menu.schedule-density-compact .connect-board-row .add-shift-btn {
  height: 40px;
  min-height: 40px;
  max-height: 40px;
}

body.has-dash-menu.schedule-density-compact .connect-board-row .employee-name-btn {
  font-size: 0.78rem;
}

@media (max-width: 1180px) {
  body.has-dash-menu .board-nav {
    grid-template-columns: auto minmax(0, 1fr);
    position: relative;
    z-index: 30;
    overflow: visible;
  }

  body.has-dash-menu .board-day-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow: visible;
    flex-wrap: wrap;
    padding-bottom: 2px;
  }

  body.has-dash-menu .board-status-filter {
    position: static;
  }

  body.has-dash-menu .status-filter-dropdown {
    top: calc(100% + 4px);
    left: 0;
    right: auto;
    width: min(320px, 100%);
    box-sizing: border-box;
    max-height: 45vh;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  body.has-dash-menu .week-board {
    height: auto;
    min-height: 0;
  }
}

@media (max-width: 560px) {
  body.has-dash-menu .board-nav { grid-template-columns: minmax(0, 1fr); }
  body.has-dash-menu .schedule-team-tabs { margin-bottom: 0; }
  body.has-dash-menu .schedule-team-tabs [role="tab"] { flex: 1; }
  body.has-dash-menu .board-search { width: 100%; min-width: 0; }
}

@media (max-width: 760px) {
  body.has-dash-menu .app-shell {
    width: calc(100vw - 12px);
    padding-top: 6px;
  }

  body.has-dash-menu .schedule-toolbar {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 12px;
  }

  body.has-dash-menu .schedule-toolbar h1 {
    font-size: 1.55rem;
  }

  body.has-dash-menu .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body.has-dash-menu .stats-grid article:nth-child(3) {
    border-right: 0;
  }

  body.has-dash-menu .stats-grid article:nth-child(-n + 3) {
    border-bottom: 1px solid var(--border-soft);
  }

  body.has-dash-menu .schedule-grid,
  body.has-dash-menu .connect-board-row {
    grid-template-columns: 210px repeat(7, minmax(150px, 1fr));
  }

  body.has-dash-menu .week-board {
    height: auto;
    min-height: 0;
  }
}

/* Keep Scheduler tools above legacy modal passes. */
body.has-dash-menu .week-actions-modal {
  width: min(920px, calc(100vw - 28px));
  max-height: min(720px, calc(100dvh - 28px));
  gap: 12px;
  padding: 20px;
  overflow: auto;
  border: 1px solid var(--jade-200);
  border-top: 1px solid var(--jade-200);
  border-radius: 22px;
  background: #f8fcfb;
  box-shadow: 0 32px 90px rgba(16, 46, 50, 0.24);
}

body.has-dash-menu .week-actions-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

body.has-dash-menu .week-actions-grid .action-btn {
  min-height: 82px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  justify-content: stretch;
  gap: 10px;
  padding: 11px;
  border: 1px solid var(--border-soft);
  border-radius: 13px;
  color: var(--ink-900);
  background: #ffffff;
  text-align: left;
  box-shadow: none;
}

@media (max-width: 820px) {
  body.has-dash-menu .week-actions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  body.has-dash-menu .week-actions-modal {
    width: calc(100vw - 16px);
    padding: 14px;
    border-radius: 18px;
  }

  body.has-dash-menu .week-actions-grid {
    grid-template-columns: 1fr;
  }

  body.has-dash-menu .week-actions-grid .action-btn {
    min-height: 68px;
  }
}

body.has-dash-menu .shift-chip.status-ghost,
body .assigned-row.status-ghost {
  background: linear-gradient(110deg, #e2e5eb, #f5f5fa, #e4e6ed) !important;
  border: 1px dashed #9c97ad !important;
  border-left: 3px solid #a5a0b8 !important;
  color: #374151 !important;
  box-shadow: inset 0 1px 0 #fff !important;
}
body .status-ghost .employee-sub,
body .status-ghost .assignment-label { color: #625b77 !important; }

/* Keep request reviews compact without allowing long content to widen the grid. */
#statsDetailModal .stats-detail-modal {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  max-height: calc(100dvh - 32px);
  overflow-x: hidden;
}
#statsDetailModal .request-filter-panel {
  grid-template-columns: minmax(0, 1fr) minmax(0, 280px);
  padding: 10px;
  gap: 10px;
}
#statsDetailModal .request-date-search {
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto;
}
#statsDetailModal input[type="date"] { min-width: 0; width: 100%; box-sizing: border-box; }
#statsDetailList {
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  gap: 8px;
  padding: 0 6px 2px 0;
}
#statsDetailList .detail-card {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  gap: 5px;
  border-radius: 12px;
  overflow-wrap: anywhere;
}
#statsDetailList .detail-card-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
}
#statsDetailList .detail-card-header strong { min-width: 0; line-height: 1.35; }
#statsDetailList .request-status-badge {
  padding: 3px 8px;
  border-radius: 999px;
  background: #edf2f5;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}
#statsDetailList .request-status-badge.status-approved { background: #e3f5ee; color: #176548; }
#statsDetailList .request-status-badge.status-pending,
#statsDetailList .request-status-badge.status-pending_proof { background: #fff2dc; color: #855300; }
#statsDetailList .request-status-badge.status-denied { background: #fff0ed; color: #934435; }
#statsDetailList p { margin: 2px 0; line-height: 1.4; }
#statsDetailList .detail-card-actions { margin-top: 3px; gap: 6px; }
#statsDetailList .detail-card-actions button { min-height: 34px; padding: 5px 10px; font-size: 12px; }
#statsDetailList:has(.request-list-row) { gap: 0; }
#statsDetailList .request-list-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 14px;
  row-gap: 4px;
  padding: 12px 10px;
  border: 0;
  border-bottom: 1px solid #dce7e9;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
#statsDetailList .request-list-row:hover { background: #f0f8f7; }
#statsDetailList .request-list-identity { min-width: 0; display: grid; gap: 4px; }
#statsDetailList .request-list-row .detail-card-header { display: block; }
#statsDetailList .request-list-controls { display: flex; align-items: center; gap: 10px; }
#statsDetailList .request-list-controls .detail-card-actions { margin: 0; }
#statsDetailList .request-list-notes { grid-column: 1 / -1; min-width: 0; }
#statsDetailList .request-list-notes summary { color: #537076; cursor: pointer; font-size: 12px; width: fit-content; padding: 4px 0; }
#statsDetailList .request-list-notes[open] { padding-bottom: 4px; }
#statsDetailList:has(.request-table-row) { gap: 3px; background: #e5f3f1; padding: 6px; border-radius: 12px; }
#statsDetailList .request-table-heading,
#statsDetailList .request-table-summary {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, .9fr) minmax(0, 1.15fr) minmax(0, 1fr) 14px;
  align-items: center;
  gap: 10px;
}
#statsDetailList .request-table-heading { padding: 3px 10px; color: #194e50; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
#statsDetailList .request-table-row {
  display: block; padding: 0; border: 1px solid #d5e1e3; border-left: 3px solid #b5c8cb;
  border-radius: 9px; background: #fff; box-shadow: none;
}
#statsDetailList .request-table-row.status-pending,
#statsDetailList .request-table-row.status-pending_proof { border-left-color: #c18a0c; }
#statsDetailList .request-table-row.status-approved { border-left-color: #299b87; }
#statsDetailList .request-table-row.status-denied { border-left-color: #c96770; }
#statsDetailList .request-table-row:hover { background: #fffaf0; }
#statsDetailList .request-table-summary {
  width: 100%; min-width: 0; min-height: 44px; padding: 7px 9px; margin: 0;
  border: 0; border-radius: 7px; background: transparent; box-shadow: none; color: #17383b;
  font: inherit; text-align: left; cursor: pointer; transform: none;
}
#statsDetailList .request-table-summary:focus-visible { outline: 2px solid #07897f; outline-offset: -2px; }
#statsDetailList .request-table-person { display: flex; align-items: center; min-width: 0; gap: 8px; }
#statsDetailList .request-table-person strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
#statsDetailList .request-table-avatar { display: grid; place-items: center; flex: 0 0 26px; width: 26px; height: 26px; border: 1px solid #a9dcd3; border-radius: 7px; background: #e0f5ef; color: #08786d; font-size: 10px; font-weight: 800; }
#statsDetailList .request-table-type,
#statsDetailList .request-table-date { font-size: 11px; line-height: 1.3; min-width: 0; overflow-wrap: anywhere; }
#statsDetailList .request-table-summary .request-status-badge { justify-self: start; font-size: 10px; white-space: normal; text-transform: uppercase; }
#statsDetailList .request-table-arrow { font-size: 22px; line-height: 1; color: #ab7a12; transition: transform .15s; }
#statsDetailList .request-table-summary[aria-expanded="true"] .request-table-arrow { transform: rotate(90deg); }
#statsDetailList .request-table-expanded { padding: 10px 12px; border-top: 1px solid #e2eceb; font-size: 12px; overflow-wrap: anywhere; }
#statsDetailList .request-table-expanded[hidden] { display: none; }
@media (max-width: 600px) {
  #statsDetailModal .request-filter-panel { grid-template-columns: minmax(0, 1fr); }
  #statsDetailModal .stats-detail-modal { padding: 14px; }
  #statsDetailList .detail-card { padding: 10px; }
  #statsDetailList .request-list-row { column-gap: 8px; }
  #statsDetailList .request-list-controls { flex-direction: column; align-items: flex-end; gap: 6px; }
  #statsDetailList .request-list-controls .detail-card-actions { justify-content: flex-end; max-width: 130px; }
  #statsDetailList .request-table-row { padding: 0; }
  #statsDetailList .request-table-heading { display: none; }
  #statsDetailList .request-table-summary { grid-template-columns: minmax(0, 1fr) auto 12px; gap: 5px 8px; padding: 8px; }
  #statsDetailList .request-table-person { grid-column: 1; grid-row: 1; }
  #statsDetailList .request-table-summary .request-status-badge { grid-column: 2; grid-row: 1; max-width: 96px; }
  #statsDetailList .request-table-arrow { grid-column: 3; grid-row: 1 / 3; }
  #statsDetailList .request-table-type { grid-column: 1; grid-row: 2; padding-left: 34px; }
  #statsDetailList .request-table-date { grid-column: 2; grid-row: 2; max-width: 100px; }
}
