/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  --page-bg: #f4f6f8;
  --surface: #ffffff;
  --surface-muted: #f7f9fb;
  --line: #d7dde5;
  --line-strong: #1f2937;
  --text: #172033;
  --muted: #5f6b7a;
  --accent: #0f6cbd;
  --accent-soft: #e7f2fb;
  --selected: #dff4ee;
  --selected-strong: #047857;
  --clock-am: #6b9fca;
  --clock-pm: #b97832;
  --clock-empty: rgb(15 23 42 / 6%);
  --warning: #fff1f1;
  --danger: #c50f1f;
  --motion-fast: 120ms;
  --motion-standard: 160ms;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@property --wa-tutorial-outline-color {
  syntax: "<color>";
  inherits: false;
  initial-value: rgb(138 42 36 / 95%);
}

@property --wa-tutorial-glow-color {
  syntax: "<color>";
  inherits: false;
  initial-value: rgb(138 42 36 / 30%);
}

@property --wa-score-gauge-arc {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

/* Redesigned availability workflow */
.waShell,
.waAuthShell {
  min-height: 100vh;
  color: var(--text);
  background: var(--page-bg);
}

.waAuthShell {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  padding: 24px;
}

.waPanel,
.waAuthPanel,
.waListPanel,
.waToolbar,
.waDetailPanel,
.waSlotPeople {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background-color: var(--surface);
}

.waAuthPanel {
  width: min(460px, 100%);
  padding: 22px;
}

.waAuthHeader {
  margin-bottom: 18px;
}

.waAuthPanel .waBrandMark {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
}

.waAuthPanel .waAuthHeader h1 {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.12;
  font-size: clamp(1.35rem, 5vw, 1.85rem);
}

.waBrandMark {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.waBrandLogo {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  object-fit: contain;
}

.waLoadingText {
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

.waLoadingText::after {
  content: "...";
  display: inline-block;
  width: 3ch;
  overflow: hidden;
  -webkit-clip-path: inset(0 100% 0 0);
          clip-path: inset(0 100% 0 0);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  text-align: left;
  vertical-align: bottom;
  animation: waLoadingTextDots 1400ms steps(1, end) infinite;
}

.waLoadingPanel {
  display: grid;
  justify-items: center;
  grid-gap: 10px;
  gap: 10px;
}

.waLoadingCopper {
  position: relative;
  display: grid;
  place-items: center;
  width: min(320px, 76vw);
  height: 220px;
}

.waLoadingCopper img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center;
}

.waAuthHeader h1,
.waBrandRow h1,
.waPanelHeader h2,
.waModalHeader h2,
.waDateSetRow h2,
.waHistory h3 {
  margin: 0;
  letter-spacing: 0;
}

.waAuthHeader h1,
.waBrandRow h1 {
  font-size: clamp(1.45rem, 2vw, 2.2rem);
  font-weight: 760;
}

.waAuthHeader p,
.waBrandRow p,
.waPanelHeader p,
.waModalHeader p,
.waDateSetRow p {
  margin: 4px 0 0;
  color: var(--muted);
}

.waHeader {
  border-bottom: 1px solid var(--line);
  background-color: var(--surface) !important;
}

.waHeaderInner,
.waMain {
  width: min(1480px, calc(100% - 32px));
  margin: 0 auto;
}

.waHeaderInner {
  position: relative;
  padding: 22px 0 18px;
}

.waBrandRow,
.waHeaderActions,
.waInlineActions,
.waSegment,
.waToolbarButtons,
.waModalActions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.waBrandRow {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.waHeaderActions {
  justify-content: flex-end;
}

.waMailHeaderLabel {
  display: inline-flex;
  transform-origin: center;
  animation: waInboxCountPop 220ms var(--motion-ease) both;
}

.waMobileBottomNav {
  display: none;
}

.waCopperHelpButton {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 760;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px 6px 7px;
  border: 1px solid rgb(15 108 189 / 28%);
  border-radius: 999px;
  background: rgb(255 255 255 / 96%);
  color: var(--accent);
  box-shadow: 0 14px 34px rgb(15 23 42 / 16%);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  transition:
    border-color var(--motion-fast) ease,
    background-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    transform var(--motion-fast) var(--motion-ease);
}

.waCopperHelpButton:hover,
.waCopperHelpButton:focus-visible {
  border-color: var(--accent);
  background: #ffffff;
  transform: translateY(-1px);
}

.waCopperHelpButton img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  transform-origin: 50% 80%;
  animation: waCopperAttentionBob 5.6s ease-in-out infinite;
}

.waCopperHelpButton:hover img,
.waCopperHelpButton:focus-visible img {
  animation: waCopperPointWiggle 640ms var(--motion-ease) both;
}

.waCopperHelpPanel {
  position: fixed;
  box-sizing: border-box;
  z-index: 770;
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  width: min(340px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  max-height: calc(100dvh - 36px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 14px;
  border: 1px solid rgb(15 108 189 / 24%);
  border-radius: 8px;
  background-color: var(--surface) !important;
  box-shadow: 0 24px 60px rgb(15 23 42 / 20%);
  animation: waPanelIn var(--motion-standard) var(--motion-ease) both;
}

.waCopperHelpPanel-bottomRight {
  right: 18px;
  bottom: 72px;
  max-height: calc(100vh - 90px);
  max-height: calc(100dvh - 90px);
}

.waCopperHelpPanel-bottomLeft {
  bottom: 72px;
  left: 18px;
  max-height: calc(100vh - 90px);
  max-height: calc(100dvh - 90px);
}

.waCopperHelpPanel-topRight {
  top: 18px;
  right: 18px;
}

.waCopperHelpPanel-topLeft {
  top: 18px;
  left: 18px;
}

.waCopperHelpPanelManual {
  right: auto;
  bottom: auto;
}

.waCopperHelpPanelAreas {
  pointer-events: auto;
}

.waCopperHelpPanelAreas .waCopperHelpPanelHeader,
.waCopperHelpPanelAreas .waCopperHelpModes {
  pointer-events: auto;
}

.waCopperHelpPanelAreas .waCopperHelpInspectorHint {
  padding: 8px;
}

.waCopperHelpPanelAreas .waCopperHelpInspectorHint p {
  display: none;
}

.waCopperHelpPanelAreas .waCopperHelpAnswer {
  max-height: 150px;
  overflow: auto;
}

.waCopperHelpPanelHeader {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  grid-gap: 10px;
  gap: 10px;
  align-items: center;
  cursor: -webkit-grab;
  cursor: grab;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  touch-action: none;
}

.waCopperHelpPanelHeader:active {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.waCopperHelpPanelHeader img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  transform-origin: 50% 82%;
  animation: waCopperPointWiggle 720ms var(--motion-ease) 120ms both;
}

.waCopperHelpPanelHeader span {
  display: block;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 850;
}

.waCopperHelpPanelHeader strong {
  display: block;
  margin-top: 2px;
  font-size: 1rem;
}

.waCopperHelpPanel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.waCopperHelpModes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 4px;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-muted);
}

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

.waCopperHelpMode {
  min-width: 0;
  min-height: 30px;
  padding: 4px 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
}

.waCopperHelpMode:hover,
.waCopperHelpMode:focus-visible,
.waCopperHelpModeActive {
  background: var(--surface);
  color: var(--accent);
  box-shadow: 0 1px 4px rgb(15 23 42 / 12%);
}

.waCopperHelpSection,
.waCopperHelpQuestionList {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.waCopperHelpQuestionList {
  max-height: min(420px, calc(100vh - 220px));
  overflow: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
  -webkit-overflow-scrolling: touch;
}

.waCopperHelpInspectorHint {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  padding: 10px;
  border: 1px dashed rgb(15 108 189 / 42%);
  border-radius: 8px;
  background: var(--accent-soft);
}

.waCopperHelpInspectorHint strong {
  color: var(--accent);
  font-size: 0.88rem;
}

.waCopperHelpInspectable {
  outline: 2px solid rgb(15 108 189 / 62%) !important;
  outline-offset: 1px;
  cursor: help !important;
  animation: waCopperInspectPulse 1600ms ease-in-out infinite;
}

.waCopperHelpAnswer,
.waCopperHelpQuestion {
  display: grid;
  grid-gap: 5px;
  gap: 5px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-muted);
  animation: waCopperCardIn 240ms var(--motion-ease) both;
}

.waCopperHelpAnswer strong {
  color: var(--text);
  font-size: 0.9rem;
}

.waCopperHelpQuestion summary {
  color: var(--text);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 800;
}

.waCopperHelpQuestion p {
  padding-top: 3px;
}

.waCopperHelpPanelActions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.waAdminTutorialSelectField {
  flex: 1 1 240px;
  min-width: 0;
}

.waAdminTutorialSelectField .waSelect {
  min-height: 40px;
  border-radius: 8px;
  background: var(--surface-muted);
  font-size: 0.95rem;
}

.waAdminTutorialSelectField .waSelect:focus-visible {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgb(15 108 189 / 14%);
}

.waRowActions {
  justify-content: flex-end;
  gap: 14px;
}

.waStaffStatusMarkers {
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  justify-content: flex-start;
}

.waDangerButton {
  border-color: #f1b8bf;
  color: var(--danger);
}

.waDangerButton:hover {
  border-color: var(--danger);
  background: #fff1f3;
  color: var(--danger);
}

.waMain {
  padding: 20px 0 36px;
}

.waViewPane {
  animation: waViewPaneIn 260ms var(--motion-ease) both;
  transform-origin: top center;
}

.waViewPaneSubtle {
  animation: waViewPaneInSubtle 180ms ease-out both;
}

.waViewPane > .waPageStack > :where(.waDashboardStrip, .waToolbar, .waSearchPanel, .waListPanel, .waDetailPanel, .waMailPanel, .waEmpty) {
  animation: waPageSectionIn 320ms var(--motion-ease) both;
}

.waViewPaneSubtle > .waPageStack > :where(.waDashboardStrip, .waToolbar, .waSearchPanel, .waListPanel, .waDetailPanel, .waMailPanel, .waEmpty) {
  animation: waPageSectionInSubtle 160ms ease-out both;
}

.waViewPane > .waPageStack > :where(.waToolbar, .waSearchPanel):nth-child(2) {
  animation-delay: 45ms;
}

.waViewPane > .waPageStack > :where(.waListPanel, .waDetailPanel, .waMailPanel, .waEmpty):nth-child(n + 3) {
  animation-delay: 80ms;
}

.waViewPaneSubtle > .waPageStack > :where(.waToolbar, .waSearchPanel):nth-child(2),
.waViewPaneSubtle > .waPageStack > :where(.waListPanel, .waDetailPanel, .waMailPanel, .waEmpty):nth-child(n + 3) {
  animation-delay: 0ms;
}

.waPageStack {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.waToolbar {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  grid-gap: 12px;
  gap: 12px;
  align-items: end;
  padding: 14px;
}

.waToolbarSingle {
  grid-template-columns: minmax(220px, 360px);
}

.waStaffToolbar {
  grid-template-columns: minmax(180px, 320px) minmax(160px, 220px);
  justify-content: flex-start;
}

.waAdminToolbar {
  grid-template-columns: minmax(180px, 320px) auto;
  justify-content: flex-start;
}

.waToolbar :where(.fui-Field, .fui-Input),
.waProfileMenu :where(.fui-Field, .fui-Input),
.waStaffAccountEditor :where(.fui-Field, .fui-Input),
.waFormStack :where(.fui-Field, .fui-Input),
.waFormGrid :where(.fui-Field, .fui-Input),
.waSearchPanel :where(.fui-Field, .fui-Input),
.waMinimumBuilder :where(.fui-Field, .fui-Input) {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.waToolbarButtons {
  justify-content: flex-start;
}

.waSortControl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  grid-gap: 8px;
  gap: 8px;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.waSortDirectionButton {
  min-width: 0;
  width: 32px;
  max-width: 32px;
  font-size: 1.1rem;
  font-weight: 850;
}

.waSortControl :where(.waSelect) {
  min-width: 0;
}

.waSortControl :where(.fui-Button) {
  padding-right: 0;
  padding-left: 0;
}

.waAdminSearchBox {
  min-width: 0;
}

.waListPanel {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  padding: 12px;
  transform-origin: top center;
  animation: waListReorderFrame 240ms var(--motion-ease) both;
}

.waListPanel > :where(.waDateSetRow, .waSubmissionRow, .waRequestItem, .waMinimumItem, .waStaffScoreItem, .waRuleDraftPanel, .waActionReviewPanel),
.waRequestList > :where(.waRequestItem),
.waSlotHistoryList > :where(.waSlotHistoryItem),
.waStaffWaveTimeline > :where(.waStaffWaveCard) {
  --wa-list-load-delay: 0ms;
  animation: waListItemIn 420ms cubic-bezier(0.16, 1, 0.3, 1) var(--wa-list-load-delay) both;
  transform-origin: center;
  will-change: transform, outline-color;
}

.waListPanel > :where(.waDateSetRow, .waSubmissionRow, .waRequestItem, .waMinimumItem, .waStaffScoreItem, .waRuleDraftPanel, .waActionReviewPanel):nth-child(2),
.waRequestList > :where(.waRequestItem):nth-child(2),
.waSlotHistoryList > :where(.waSlotHistoryItem):nth-child(2),
.waStaffWaveTimeline > :where(.waStaffWaveCard):nth-child(2) {
  --wa-list-load-delay: 70ms;
}

.waListPanel > :where(.waDateSetRow, .waSubmissionRow, .waRequestItem, .waMinimumItem, .waStaffScoreItem, .waRuleDraftPanel, .waActionReviewPanel):nth-child(3),
.waRequestList > :where(.waRequestItem):nth-child(3),
.waSlotHistoryList > :where(.waSlotHistoryItem):nth-child(3),
.waStaffWaveTimeline > :where(.waStaffWaveCard):nth-child(3) {
  --wa-list-load-delay: 140ms;
}

.waListPanel > :where(.waDateSetRow, .waSubmissionRow, .waRequestItem, .waMinimumItem, .waStaffScoreItem, .waRuleDraftPanel, .waActionReviewPanel):nth-child(4),
.waRequestList > :where(.waRequestItem):nth-child(4),
.waSlotHistoryList > :where(.waSlotHistoryItem):nth-child(4),
.waStaffWaveTimeline > :where(.waStaffWaveCard):nth-child(4) {
  --wa-list-load-delay: 210ms;
}

.waListPanel > :where(.waDateSetRow, .waSubmissionRow, .waRequestItem, .waMinimumItem, .waStaffScoreItem, .waRuleDraftPanel, .waActionReviewPanel):nth-child(n + 5),
.waRequestList > :where(.waRequestItem):nth-child(n + 5),
.waSlotHistoryList > :where(.waSlotHistoryItem):nth-child(n + 5),
.waStaffWaveTimeline > :where(.waStaffWaveCard):nth-child(n + 5) {
  --wa-list-load-delay: 280ms;
}

.waViewPaneSubtle .waListPanel > :where(.waDateSetRow, .waSubmissionRow, .waRequestItem, .waMinimumItem, .waStaffScoreItem, .waRuleDraftPanel, .waActionReviewPanel),
.waViewPaneSubtle .waRequestList > :where(.waRequestItem),
.waViewPaneSubtle .waSlotHistoryList > :where(.waSlotHistoryItem),
.waViewPaneSubtle .waStaffWaveTimeline > :where(.waStaffWaveCard) {
  --wa-list-load-delay: 0ms;
  animation-name: waListItemInSubtle;
  animation-duration: 180ms;
}

.waProfilesListPanel {
  overflow-x: auto;
}

.waDateSetRow {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(300px, auto) auto;
  grid-gap: 14px;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-muted);
  transition:
    border-color var(--motion-fast) ease,
    background-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    transform var(--motion-fast) var(--motion-ease);
}

.waStaffDateSetRow {
  grid-template-columns: minmax(240px, 1fr) 190px minmax(280px, auto);
}

.waStaffScoreRow {
  grid-template-columns: minmax(260px, 1fr) minmax(620px, 720px);
  min-width: 760px;
  cursor: pointer;
}

.waStaffScoreRow:hover,
.waStaffScoreRow:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgb(15 108 189 / 12%);
  transform: translateY(-1px);
}

.waStaffScoreItem {
  display: grid;
  grid-gap: 0;
  gap: 0;
}

.waStaffScoreTableHeader {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(620px, 720px);
  grid-gap: 14px;
  gap: 14px;
  min-width: 760px;
  padding: 0 14px 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.waStaffScoreTableHeader > span {
  padding-left: 58px;
}

.waStaffScoreTableHeader > div,
.waStaffScoreStats {
  display: grid;
  grid-template-columns: repeat(5, minmax(82px, 1fr));
  grid-gap: 8px;
  gap: 8px;
  align-items: center;
}

.waStaffScoreTableHeader > div > span,
.waStaffScoreStats > span {
  min-width: 0;
}

.waStaffScoreHeaderScoreCell {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.waStaffScoreInfoButton {
  width: 20px;
  min-width: 20px;
  height: 20px;
  padding: 0;
  border: 1px solid rgb(15 23 42 / 10%);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  box-shadow: 0 1px 2px rgb(15 23 42 / 8%);
}

.waStaffScoreInfoButton:hover,
.waStaffScoreInfoButton:focus-visible {
  border-color: rgb(15 108 189 / 35%);
  color: var(--accent);
  box-shadow: 0 0 0 2px rgb(15 108 189 / 12%);
}

.waStaffScoreStats > span {
  overflow: hidden;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 850;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.waAnimatedNumber {
  display: inline-block;
  min-width: 2ch;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

.waStaffScoreIdentity {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-gap: 6px;
  gap: 6px;
  align-content: center;
  align-items: center;
  justify-items: stretch;
}

.waStaffProfileAvatar {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgb(15 108 189 / 22%);
  border-radius: 999px;
  background: linear-gradient(135deg, #d7ebff, #dff4ee);
  color: #004578;
  font-size: 0.9rem;
  font-weight: 900;
}

.waStaffProfileAvatar span {
  line-height: 1;
}

.waStaffScoreIdentityText {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  min-width: 0;
}

.waStaffScoreHeader {
  display: flex;
  gap: 8px;
  align-items: baseline;
  flex-wrap: wrap;
  min-width: 0;
}

.waStaffScoreHeader > span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.waStaffScoreRow .waRowStats {
  grid-template-columns: repeat(5, minmax(68px, 1fr));
  width: 100%;
  justify-self: stretch;
}

.waStaffScoreDetails {
  margin-top: -1px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 8px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  background: var(--surface);
}

.waProfileExpandedTabs {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.waProfileExpandedTabs :where(.fui-Tab) {
  min-width: 110px;
}

.waProfileExpandedPane {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  min-width: 0;
  animation: waProfilePaneSwitchIn 180ms var(--motion-ease) both;
}

.waProfileStatsPane {
  gap: 26px;
}

.waStaffStatsOverview {
  display: grid;
  grid-template-columns: minmax(250px, 310px) minmax(420px, 1fr);
  grid-gap: 28px;
  gap: 28px;
  align-items: start;
  min-width: 0;
}

.waStaffScoreGaugePanel {
  display: grid;
  align-content: start;
  justify-items: center;
  grid-gap: 12px;
  gap: 12px;
  min-height: 270px;
  padding: 10px 0 0;
  border: 0;
  background: transparent;
  text-align: center;
}

.waStaffScoreGauge {
  --wa-score-gauge-arc: var(--wa-score-gauge-arc-target, 0deg);
  position: relative;
  display: grid;
  width: 250px;
  height: 250px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(
    from 225deg,
    var(--accent) 0deg var(--wa-score-gauge-arc),
    #e5e7eb var(--wa-score-gauge-arc) 270deg,
    transparent 270deg 360deg
  );
  animation: waScoreGaugeArcIn 880ms cubic-bezier(0.22, 1, 0.36, 1) 140ms both;
  will-change: filter;
}

.waStaffScoreGauge::before {
  position: absolute;
  inset: 34px;
  border-radius: 50%;
  background: var(--surface);
  content: "";
}

.waStaffScoreGauge > span {
  position: relative;
  z-index: 1;
  display: grid;
  grid-gap: 2px;
  gap: 2px;
  justify-items: center;
}

.waStaffScoreGauge strong {
  color: var(--text);
  font-size: 3.1rem;
  font-weight: 900;
  line-height: 1;
}

.waStaffScoreGauge small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.waStaffScoreGaugeText {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
}

.waStaffScoreGaugeText strong {
  color: var(--accent);
  font-size: 0.98rem;
  font-weight: 900;
}

.waStaffScoreGaugeText span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.waStaffStatsOverview .waStaffPerformanceProfile,
.waProfileExpandedPane.waStaffAccountEditor,
.waProfileSubmissionsPane {
  padding-bottom: 0;
  border-bottom: 0;
}

.waStaffStatsOverview .waStaffPerformanceProfile {
  align-content: start;
  gap: 14px;
}

.waStaffStatsOverview .waStaffPerformanceProfileHeader {
  position: relative;
  grid-template-columns: minmax(0, 1fr) 36px;
  align-items: start;
}

.waStaffStatsOverview .waStaffPerformanceProfileHeader > div {
  justify-self: center;
  text-align: center;
}

.waStaffStatsOverview .waStaffPerformanceProfileHeader h2 {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--line-strong);
  font-size: 1.24rem;
}

.waStaffStatsOverview .waStaffPerformanceProfileHeader p {
  display: none;
}

.waStaffStatsOverview .waStaffStatsProfileGrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 18px;
}

.waStaffStatsOverview .waStaffInsightCard {
  min-height: 88px;
  align-content: center;
  padding: 12px;
  background: var(--surface);
}

.waProfileStatsPane .waScoreBreakdownPanel {
  gap: 10px;
  padding-bottom: 0;
  border-bottom: 0;
}

.waProfileStatsPane .waScoreBreakdownPanel h2 {
  font-size: 1.12rem;
}

.waProfileStatsPane .waScoreBreakdownPanel p {
  display: none;
}

.waProfileStatsPane .waScoreBreakdownGrid {
  grid-template-columns: repeat(6, minmax(104px, 1fr)) minmax(118px, 0.85fr);
  gap: 12px;
  align-items: center;
  overflow-x: auto;
}

.waProfileStatsPane .waScoreBreakdownItem {
  min-height: 50px;
  align-content: center;
  justify-items: center;
  padding: 8px 14px;
  border-left-width: 1px;
  border-radius: 999px;
  text-align: center;
}

.waProfileStatsPane .waScoreBreakdownItem-total {
  border-radius: 8px;
}

.waProfileStatsPane .waScoreBreakdownItem:hover,
.waProfileStatsPane .waScoreBreakdownItem:focus-visible,
.waProfileStatsPane .waScoreBreakdownItem[aria-expanded="true"] {
  border-color: var(--accent);
  outline: none;
  box-shadow: inset 0 0 0 2px var(--accent);
}

.waProfileStatsPane .waScoreBreakdownItem-award:hover,
.waProfileStatsPane .waScoreBreakdownItem-award:focus-visible,
.waProfileStatsPane .waScoreBreakdownItem-award[aria-expanded="true"] {
  border-color: var(--selected-strong);
  box-shadow: inset 0 0 0 2px var(--selected-strong);
}

.waProfileStatsPane .waScoreBreakdownItem-penalty:hover,
.waProfileStatsPane .waScoreBreakdownItem-penalty:focus-visible,
.waProfileStatsPane .waScoreBreakdownItem-penalty[aria-expanded="true"] {
  border-color: var(--danger);
  box-shadow: inset 0 0 0 2px var(--danger);
}

.waProfileStatsPane .waScoreBreakdownItem-total:hover,
.waProfileStatsPane .waScoreBreakdownItem-total:focus-visible,
.waProfileStatsPane .waScoreBreakdownItem-total[aria-expanded="true"] {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 2px var(--accent);
}

.waStaffScoreItemExpanded .waStaffScoreRow {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.waStaffScoreItemExpanded .waStaffScoreRow:hover,
.waStaffScoreItemExpanded .waStaffScoreRow:focus-visible {
  border-color: var(--line);
  box-shadow: none;
}

.waStaffScoreItemExpanded .waDueFlagLowHours,
.waStaffScoreItemExpanded .waDueFlagPending {
  transform-origin: center;
  animation: waStaffBadgePulse 420ms var(--motion-ease) both;
}

.waStaffPerformanceProfile {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.waStaffAccountEditor {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.waStaffAccountEditor h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 850;
}

.waStaffAccountEditor p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.waStaffPerformanceProfile h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 850;
}

.waStaffPerformanceProfile p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.waStaffInsightGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  grid-gap: 8px;
  gap: 8px;
}

.waStaffInsightCard {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-muted);
}

.waStaffInsightCard span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 760;
}

.waStaffInsightCard strong {
  overflow-wrap: anywhere;
  font-size: 0.98rem;
  font-weight: 850;
}

.waStaffInsightCard p {
  margin: 0;
}

.waStaffNextActions {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid rgb(15 108 189 / 22%);
  border-radius: 8px;
  background: var(--accent-soft);
}

.waStaffNextActions strong {
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 850;
}

.waStaffNextActions ul,
.waActionReviewList ul {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  margin: 0;
  padding-left: 18px;
}

.waStaffNextActions li,
.waActionReviewList li {
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1.35;
}

.waStaffPerformanceProfileHeader {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-gap: 10px;
  gap: 10px;
  align-items: start;
}

.waStaffProfileFlagButton {
  width: 36px;
  min-width: 36px;
  height: 36px;
  border-color: #eadca8 !important;
  background: #fff9e8 !important;
  color: #8a6f00 !important;
  box-shadow: none;
}

.waStaffProfileFlagButtonActive {
  border-color: #c79518 !important;
  background: #ffe49c !important;
  box-shadow: 0 0 0 3px rgb(226 184 77 / 20%);
}

.waProfileFlagMarker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  min-width: 24px;
  height: 24px;
  border: 1px solid #e2b84d;
  border-radius: 999px;
  background: #fff4ce;
  color: #8a6f00;
}

.waProfileFlagMarker svg {
  width: 16px;
  height: 16px;
}

.waSubmissionDetailSubtitle {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
}

.waProfileFlagInlineReason {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  min-width: 0;
  padding: 2px 7px;
  border: 1px solid #e2b84d;
  border-radius: 999px;
  background: #fff4ce;
  color: #8a6f00;
  font-weight: 800;
}

.waProfileFlagInlineReason svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  color: #c79518;
}

.waProfileFlagInlineReason span {
  overflow-wrap: anywhere;
}

.waStatsSubmissionRow {
  grid-template-columns: minmax(180px, 1fr) 220px minmax(86px, auto) auto;
}

.waStatsSubmissionFlags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 6px;
  gap: 6px;
  align-items: center;
  justify-content: stretch;
  width: 220px;
  min-height: 24px;
}

.waStatsSubmissionFlags :where(.fui-Badge) {
  width: 100%;
  min-width: 0;
  justify-content: center;
  white-space: nowrap;
}

.waStatsSubmissionFlagLowHours {
  grid-column: 1;
  background: #ffe6cc;
  color: #7a3e00;
}

.waStatsSubmissionFlagTiming {
  grid-column: 2;
}

.waScoreBreakdownPanel {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.waScoreBreakdownPanel h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 850;
}

.waScoreBreakdownPanel p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.waScoreBreakdownGrid {
  display: grid;
  grid-template-columns: repeat(7, minmax(140px, 1fr));
  grid-gap: 8px;
  gap: 8px;
  align-items: start;
  overflow-x: auto;
  padding-bottom: 2px;
}

.waScoreBreakdownCell {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  min-width: 0;
  overflow: visible;
}

.waScoreBreakdownCellExpanded {
  z-index: 5;
}

.waScoreBreakdownItem {
  display: grid;
  grid-gap: 5px;
  gap: 5px;
  align-content: start;
  width: 100%;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-left-width: 3px;
  border-radius: 8px;
  background: var(--surface);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.waScoreBreakdownItem-award {
  border-left-color: var(--selected-strong);
}

.waScoreBreakdownItem-penalty {
  border-left-color: var(--danger);
}

.waScoreBreakdownItem-total {
  border-left-color: var(--accent);
}

.waScoreBreakdownItem:hover,
.waScoreBreakdownItem:focus-visible,
.waScoreBreakdownItem[aria-expanded="true"] {
  border-color: var(--line);
  box-shadow: 0 0 0 1px var(--accent), 0 0 0 3px rgb(15 108 189 / 12%);
}

.waScoreBreakdownItem-award:hover,
.waScoreBreakdownItem-award:focus-visible,
.waScoreBreakdownItem-award[aria-expanded="true"] {
  border-color: var(--line);
  border-left-color: var(--selected-strong);
  box-shadow: 0 0 0 1px var(--selected-strong), 0 0 0 3px rgb(4 120 87 / 12%);
}

.waScoreBreakdownItem-penalty:hover,
.waScoreBreakdownItem-penalty:focus-visible,
.waScoreBreakdownItem-penalty[aria-expanded="true"] {
  border-color: var(--line);
  border-left-color: var(--danger);
  box-shadow: 0 0 0 1px var(--danger), 0 0 0 3px rgb(197 15 31 / 12%);
}

.waScoreBreakdownItem-total:hover,
.waScoreBreakdownItem-total:focus-visible,
.waScoreBreakdownItem-total[aria-expanded="true"] {
  border-color: var(--line);
  border-left-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 0 0 3px rgb(15 108 189 / 12%);
}

.waScoreBreakdownItem.waScoreBreakdownItemExpanded {
  background: var(--surface-muted);
}

.waScoreBreakdownTitle {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.15;
}

.waScoreBreakdownValue {
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 850;
}

.waScoreBreakdownItem-award .waScoreBreakdownValue {
  color: var(--selected-strong);
}

.waScoreBreakdownItem-penalty .waScoreBreakdownValue {
  color: var(--danger);
}

.waScoreBreakdownItem-total .waScoreBreakdownValue {
  color: var(--accent);
}

.waScoreBreakdownDetail {
  display: grid;
  grid-gap: 5px;
  gap: 5px;
  width: min(360px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 22px rgb(15 23 42 / 14%);
  color: var(--text);
  text-align: left;
}

.waScoreBreakdownDetail-award strong {
  color: var(--selected-strong);
}

.waScoreBreakdownDetail-penalty strong {
  color: var(--danger);
}

.waScoreBreakdownDetail-total strong {
  color: var(--accent);
}

.waScoreBreakdownDetail strong {
  font-size: 0.86rem;
  font-weight: 850;
}

.waScoreBreakdownDetail span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
  overflow-wrap: break-word;
}

.waScoreBreakdownInlineDetail {
  display: none;
}

@media (max-width: 1100px) {
  .waScoreBreakdownGrid {
    overflow-x: auto;
    overflow-y: visible;
  }
}

@media (max-width: 720px) {
  .waScoreBreakdownDetail {
    display: none;
  }

  .waScoreSettingsPopover {
    width: calc(100vw - 20px);
    height: calc(100vh - 20px);
    max-height: calc(100vh - 20px);
    padding: 12px;
  }

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

.waRecentSubmissionsHeader {
  padding-bottom: 0;
}

.waDateSetRowTodo {
  border-color: #f0c4c4;
  background: #fff1f1;
}

.waDateSetRowDue3 {
  border-color: #efc6c4;
  background: #fff2f1;
}

.waDateSetRowDue2 {
  border-color: #eeb4b1;
  background: #ffe9e8;
}

.waDateSetRowDue1 {
  border-color: #e89d99;
  background: #ffdfdd;
}

.waDateSetRowDue0 {
  border-color: #df827d;
  background: #ffd4d1;
}

.waDateSetRowPastDue {
  border-color: var(--danger);
  background: #ffc4c1;
}

.waDateSetRowComplete {
  border-color: var(--line);
  background: var(--surface-muted);
  animation: waResultSettle 460ms var(--motion-ease) both;
}

.waDateSetRowLocked {
  border-color: #c8cdd5;
  background: #eef0f3;
  color: var(--muted);
}

.waDateSetRowLocked .waDateSetTitleText,
.waDateSetRowLocked .waDateSetMetaText,
.waDateSetRowLocked .waStaffSubmissionState {
  color: var(--muted);
}

.waDateSetRow > *,
.waSubmissionRow > *,
.waRequestItem > *,
.waMinimumItem > *,
.waPersonRow > * {
  min-width: 0;
}

.waDateSetRow h2 {
  font-size: 1rem;
  font-weight: 760;
}

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

.waDateSetTitleText {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
}

.waRowStats,
.waStatStrip {
  display: grid;
  grid-template-columns: repeat(4, minmax(76px, 1fr));
  grid-gap: 8px;
  gap: 8px;
  min-width: 0;
}

.waStatStrip {
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
}

.waDashboardStrip {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  grid-gap: 10px;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.waStatsDashboardStrip {
  grid-template-columns: repeat(5, minmax(120px, 1fr));
}

.waStaffDashboardStrip {
  position: relative;
}

.waMetric {
  position: relative;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition:
    border-color var(--motion-fast) ease,
    background-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    transform var(--motion-fast) var(--motion-ease);
}

.waMetricWithInfo {
  padding-right: 34px;
}

.waMetricAction {
  cursor: pointer;
}

.waMetricAction:hover,
.waMetricAction:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgb(15 108 189 / 12%);
}

.waMetricAction:active {
  transform: scale(0.985);
}

.waMetricActive {
  border-color: var(--accent);
  background: linear-gradient(rgb(15 108 189 / 7%), rgb(15 108 189 / 7%)), var(--surface);
  box-shadow: 0 0 0 2px rgb(15 108 189 / 16%);
  animation: waMetricSelectPulse 220ms var(--motion-ease) both;
}

.waMetricLabelLine {
  display: flex;
  gap: 4px;
  align-items: center;
  min-width: 0;
}

.waMetricLabelLine > span {
  display: block;
  flex: 1 1;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.waMetricInfoButton {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 20px;
  min-width: 20px;
  height: 20px;
  padding: 0;
  color: var(--muted);
}

.waMetricInfoPopover {
  width: min(360px, calc(100vw - 32px));
  animation: waPopoverIn var(--motion-fast) var(--motion-ease) both;
}

.waScoreSettingsPopover {
  display: flex;
  box-sizing: border-box;
  width: min(540px, calc(100vw - 64px));
  height: calc(100vh - 24px);
  max-height: calc(100vh - 24px);
  margin: 0;
  padding: 16px;
  border: 1px solid rgb(15 23 42 / 16%);
  border-radius: 8px;
  background-color: var(--surface) !important;
  box-shadow:
    0 24px 58px rgb(15 23 42 / 22%),
    0 4px 14px rgb(15 23 42 / 12%);
  overflow: visible;
  pointer-events: auto;
  transition:
    background-color 750ms ease,
    border-color 750ms ease,
    box-shadow 750ms ease;
  animation: waPopoverIn var(--motion-standard) var(--motion-ease) both;
}

.waScoreSettingsPopoverFaded {
  border-color: rgb(15 23 42 / 0%);
  background-color: rgb(255 255 255 / 0%) !important;
  box-shadow:
    0 24px 58px rgb(15 23 42 / 0%),
    0 4px 14px rgb(15 23 42 / 0%);
  pointer-events: none;
}

.waScoreSettingsPopover > .waScoreSettingsMenu {
  flex: 1 1 auto;
  min-height: 0;
  padding-right: 4px;
  margin-right: -4px;
  opacity: 1;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  transition: opacity 750ms ease;
}

.waScoreSettingsPopoverFaded > .waScoreSettingsMenu {
  opacity: 0;
}

.waScoreSettingsMenu {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

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

.waScoreWeightMenu {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background-color: var(--surface-muted);
  transition:
    background-color 750ms ease,
    border-color 750ms ease;
}

.waScoreSettingsPopover .waScoreWeightMenu:first-child {
  border-color: rgb(15 108 189 / 22%);
  background-color: var(--surface);
}

.waScoreSettingsPopoverFaded .waScoreWeightMenu,
.waScoreSettingsPopoverFaded .waScoreWeightMenu:first-child {
  border-color: rgb(15 23 42 / 0%);
  background-color: rgb(255 255 255 / 0%);
}

.waScoreWeightMenu p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.waScoreWeightList {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.waScoreWeightControl {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
}

.waScoreWeightControl > span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  grid-gap: 8px;
  gap: 8px;
  align-items: start;
}

.waScoreWeightControl small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.25;
}

.waScoreWeightControl input[type="range"] {
  width: 100%;
}

.waScoreWeightNumber {
  width: 64px;
  min-width: 0;
  padding: 4px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
}

.waMetricLabelShort {
  display: none;
}

.waMetric strong {
  display: block;
  margin-top: 3px;
  font-size: 1.02rem;
  line-height: 1;
}

.waMetricProgress {
  height: 5px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--accent-soft);
}

.waMetricProgress span {
  display: block;
  width: var(--metric-progress);
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.waStaffSubmissionState {
  display: grid;
  grid-gap: 3px;
  gap: 3px;
  justify-self: start;
  min-width: 130px;
  width: 190px;
}

.waStaffSubmissionState span:not(.waDueFlag) {
  color: var(--muted);
  font-size: 0.82rem;
}

.waStaffSubmissionState .waDueFlag {
  width: -moz-fit-content;
  width: fit-content;
  margin-left: 0;
}

.waStaffRowActions {
  justify-content: flex-end;
  min-width: 280px;
}

.waStaffRowActions .waDueFlag {
  margin-left: 0;
}

.waDateSetMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
  min-height: 22px;
}

.waDateSetMetaText {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
  max-width: 100%;
}

.waDueFlag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--warning);
  color: #8a342f;
  font-size: 0.72rem;
  font-weight: 800;
}

.waDateSetRowLocked .waDueFlag {
  background: #e5e8ed;
  color: var(--muted);
}

.waDateSetMeta .waDueFlag {
  margin-left: 0;
}

.waDueFlagDue3 {
  background: #fff2f1;
  color: #8f3f3b;
}

.waDueFlagDue2 {
  background: #ffe9e8;
  color: #8a342f;
}

.waDueFlagDue1 {
  background: #ffdfdd;
  color: #822b26;
}

.waDueFlagDue0 {
  background: #ffd4d1;
  color: #76211d;
}

.waDueFlagLate {
  background: #ffc4c1;
  color: var(--danger);
}

.waDueFlagAttention {
  background: #fff4ce;
  color: #6b4f00;
}

.waDueFlagWatch {
  background: #d7ebff;
  color: #004578;
}

.waDueFlagLowHours {
  background: #ffe6cc;
  color: #7a3e00;
}

.waDueFlagRole {
  background: #e5e8ed;
  color: #4b5563;
}

.waDueFlagPending {
  background: #eee7ff;
  color: #4f378b;
}

.waDueFlagAccepted {
  background: #dff4ee;
  color: var(--selected-strong);
}

.waDueFlagDenied {
  background: #fde7e9;
  color: var(--danger);
}

.waProfileMenu,
.waMailPanel {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  margin-top: 14px;
  padding: 14px;
  background: var(--surface-muted);
}

.waMailPanel {
  position: fixed;
  top: 86px;
  right: 0;
  left: 0;
  z-index: 850;
  width: min(1320px, calc(100vw - 24px));
  max-height: calc(100vh - 104px);
  overflow: auto;
  margin: 0 auto;
  border-color: rgb(15 23 42 / 22%);
  background: var(--surface);
  box-shadow: 0 0 0 9999px rgb(15 23 42 / 28%), 0 28px 80px rgb(15 23 42 / 32%);
  animation: waPanelIn var(--motion-standard) var(--motion-ease) both;
}

.waProfileMenu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 900;
  width: min(420px, 100vw);
  height: 100vh;
  overflow: auto;
  margin-top: 0;
  padding: 18px;
  border-radius: 0;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  box-shadow: -18px 0 48px rgb(15 23 42 / 18%);
  animation: waPanelIn var(--motion-standard) var(--motion-ease) both;
}

.waProfileMenu[aria-label="Profile menu"] {
  top: 62px;
  right: max(16px, calc((100vw - 1480px) / 2));
  left: auto;
  width: min(420px, calc(100vw - 32px));
  height: auto;
  max-height: calc(100vh - 88px);
  overflow: visible;
  padding: 14px;
  border: 1px solid rgb(15 23 42 / 22%);
  border-radius: 8px;
  background: var(--surface);
  transform: none;
  box-shadow: 0 18px 44px rgb(15 23 42 / 22%);
}

.waProfileMenu[aria-label="Profile menu"]::before {
  position: absolute;
  top: -6px;
  right: 22px;
  width: 10px;
  height: 10px;
  border-top: 1px solid rgb(15 23 42 / 22%);
  border-left: 1px solid rgb(15 23 42 / 22%);
  background: var(--surface);
  content: "";
  transform: rotate(45deg);
}

.waProfileMenu[aria-label="Account menu"] {
  top: 62px;
  right: max(16px, calc((100vw - 1480px) / 2));
  left: auto;
  width: auto;
  min-width: 140px;
  height: auto;
  max-height: none;
  padding: 8px;
  border: 1px solid rgb(15 23 42 / 22%);
  border-radius: 8px;
  background: var(--surface);
  transform: none;
  box-shadow: 0 18px 44px rgb(15 23 42 / 22%);
}

.waProfileSignOutMenu {
  gap: 0;
  overflow: visible;
}

.waProfileSignOutMenu::before {
  position: absolute;
  top: -6px;
  right: 22px;
  width: 10px;
  height: 10px;
  border-top: 1px solid rgb(15 23 42 / 22%);
  border-left: 1px solid rgb(15 23 42 / 22%);
  background: var(--surface);
  content: "";
  transform: rotate(45deg);
}

.waProfileSignOutMenu :where(.fui-Button) {
  width: 100%;
  justify-content: flex-start;
}

.waProfileMenu[aria-label="Account menu"] .waPanelHeader {
  padding-bottom: 10px;
}

.waProfileMenu[aria-label="Account menu"] .waProfileAccountSummary {
  padding: 10px;
}

.waProfileMenu[aria-label="Account menu"] .waProfileActions {
  padding-top: 10px;
}

.waProfileMenu .waPanelHeader {
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.waProfileMenu .waProfileGrid {
  grid-template-columns: 1fr;
}

.waProfileMenu .waSettingsRow {
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
}

.waProfileMenu .waSettingsRow > svg {
  align-self: start;
  margin-top: 4px;
}

.waProfileAccountSummary {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.waProfileAccountSummary strong {
  font-size: 1rem;
  font-weight: 850;
}

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

.waProfileActions {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 8px;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.waProfileAdminSettingsAction {
  display: none;
}

.waPanelHeader,
.waModalHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.waPanelHeader {
  padding-bottom: 12px;
}

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

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

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

.waSettingsRow {
  display: grid;
  grid-template-columns: 24px minmax(220px, 360px);
  grid-gap: 10px;
  gap: 10px;
  align-items: end;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.waSettingsRow > svg {
  align-self: center;
}

.waTutorialLauncher {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-gap: 12px;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-muted);
}

.waTutorialLauncher p,
.waTutorialStep p,
.waTutorialStaffSide p,
.waTutorialSandboxHeader p,
.waTutorialStaffPreview p {
  margin: 4px 0 0;
  color: var(--muted);
}

.waTutorialBody {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.waTutorialPopupLayer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  align-items: end;
  justify-items: end;
  padding: 24px;
  pointer-events: none;
}

.waTutorialPopup {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  width: min(430px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgb(15 23 42 / 24%);
  pointer-events: auto;
}

.waTutorialPopupHeader {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  grid-gap: 10px;
  gap: 10px;
  align-items: start;
}

.waTutorialPopupHeader img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  transform-origin: 50% 82%;
  animation: waCopperPointWiggle 720ms var(--motion-ease) 140ms both;
}

.waStaffTutorialPopup {
  width: min(500px, calc(100vw - 32px));
}

.waStaffTutorialPopupLayerDimmed {
  background: rgb(15 23 42 / 38%);
}

.waStaffTutorialPopupLayerDimmed .waStaffTutorialPopup {
  box-shadow: 0 30px 90px rgb(15 23 42 / 34%);
}

.waStaffTutorialPopup .waTutorialPopupHeader {
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.waStaffTutorialPopup .waTutorialPopupHeader img {
  width: 92px;
  height: 92px;
}

.waStaffTutorialPopup .waTutorialPopupHeader h2 {
  font-size: 1.18rem;
}

.waStaffTutorialPopupAction {
  gap: 10px;
  padding: 12px;
}

.waStaffTutorialPopupAction .waTutorialPopupHeader {
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 10px;
}

.waStaffTutorialPopupAction .waTutorialPopupHeader img {
  width: 64px;
  height: 64px;
}

.waStaffTutorialPopupAction .waTutorialPopupHeader p {
  display: none;
}

.waTutorialPopupHeader span,
.waTutorialPopupTaskCount {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.waStaffTutorialPopup .waTutorialPopupTaskCount {
  font-size: 0.72rem;
  font-weight: 700;
}

.waTutorialPopupHeader h2 {
  margin: 2px 0 0;
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: 0;
}

.waTutorialPopupHeader p,
.waTutorialPopupInstruction p {
  margin: 3px 0 0;
  color: var(--muted);
}

.waTutorialPopupInstruction {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgb(15 108 189 / 24%);
  border-radius: 8px;
  background: var(--accent-soft);
  animation: waTutorialStepIn 180ms var(--motion-ease) both;
}

.waTutorialPopupInstruction strong {
  color: var(--accent);
  font-weight: 850;
}

.waTutorialPopupTasks {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.waTutorialPopupTasks li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  grid-gap: 8px;
  gap: 8px;
  align-items: start;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-muted);
  color: var(--muted);
}

.waTutorialPopupTasks li > svg {
  margin-top: 2px;
  color: var(--muted);
}

.waTutorialPopupTaskActive {
  border-color: rgb(15 108 189 / 36%) !important;
  background: var(--accent-soft) !important;
  color: var(--text) !important;
}

.waTutorialPopupTaskActive > svg {
  color: var(--accent) !important;
}

.waTutorialPopupTaskDone {
  border-color: rgb(4 120 87 / 24%) !important;
  background: #f0fdf8 !important;
  color: var(--text) !important;
}

.waTutorialPopupTaskDone > svg {
  color: var(--selected-strong) !important;
}

.waTutorialPopupTargetHint {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  grid-gap: 8px;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #f0c4c4;
  border-radius: 8px;
  background: var(--warning);
  color: var(--text);
  font-weight: 750;
}

.waTutorialPopupTargetHint svg {
  color: #8a342f;
}

.waTutorialLiveTarget {
  --wa-tutorial-outline-color: rgb(138 42 36 / 95%);
  --wa-tutorial-glow-color: rgb(138 42 36 / 30%);
  position: relative;
  z-index: 2;
  scroll-margin: 120px;
  outline: 4px solid var(--wa-tutorial-outline-color) !important;
  outline-offset: 4px !important;
  box-shadow: 0 0 0 8px var(--wa-tutorial-glow-color), 0 14px 32px rgb(15 23 42 / 18%) !important;
  animation:
    waTutorialTargetPing 520ms var(--motion-ease) both,
    waTutorialFocusPulse 6.4s ease-in-out infinite;
  transform-origin: center;
  will-change: transform, filter;
}

.waTutorialPopupActions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.waTutorialConfetti {
  position: fixed;
  inset: 0;
  z-index: 1400;
  pointer-events: none;
  overflow: hidden;
}

.waTutorialConfetti span {
  position: absolute;
  top: -24px;
  left: var(--confetti-left);
  width: 10px;
  height: 16px;
  border-radius: 2px;
  background: var(--confetti-color);
  opacity: 0;
  transform: rotate(var(--confetti-rotate));
  animation: waTutorialConfettiFall var(--confetti-duration) ease-out var(--confetti-delay) forwards;
}

@keyframes waTutorialConfettiFall {
  0% {
    opacity: 0;
    transform: translate3d(0, -24px, 0) rotate(var(--confetti-rotate));
  }

  12% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--confetti-drift), 108vh, 0) rotate(calc(var(--confetti-rotate) + 760deg));
  }
}

.waTutorialProgress {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.waStaffTutorialPopup .waTutorialProgress {
  gap: 5px;
}

.waTutorialProgressDot {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.waStaffTutorialPopup .waTutorialProgressDot {
  width: 10px;
  height: 10px;
  border-color: rgb(148 163 184 / 46%);
  background: rgb(148 163 184 / 22%);
  color: transparent;
  font-size: 0;
  cursor: default;
}

.waStaffTutorialPopup .waTutorialProgressDotActive {
  border-color: var(--accent);
  background: var(--accent);
}

.waTutorialProgressDotActive {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.waTutorialShell {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  grid-gap: 16px;
  gap: 16px;
  align-items: start;
}

.waTutorialGuide {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  justify-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-muted);
  text-align: center;
}

.waTutorialGuide img {
  width: min(160px, 100%);
  height: auto;
  object-fit: contain;
}

.waTutorialGuide span,
.waTutorialSandboxHeader strong {
  font-weight: 850;
}

.waTutorialGuide p {
  margin: 4px 0 0;
  color: var(--text);
}

.waTutorialStep {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.waTutorialArea {
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
}

.waTutorialStep h3 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: 0;
}

.waTutorialPointList {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.waTutorialPoint {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  grid-gap: 9px;
  gap: 9px;
  align-items: start;
}

.waTutorialPoint > svg {
  margin-top: 2px;
  color: var(--selected-strong);
}

.waTutorialStaffSide {
  padding: 12px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: var(--accent-soft);
}

.waTutorialTarget {
  --wa-tutorial-outline-color: rgb(138 42 36 / 95%);
  --wa-tutorial-glow-color: rgb(138 42 36 / 30%);
  position: relative;
  z-index: 1;
  outline: 3px solid var(--wa-tutorial-outline-color);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--wa-tutorial-glow-color);
  animation:
    waTutorialTargetPing 520ms var(--motion-ease) both,
    waTutorialFocusPulse 6.4s ease-in-out infinite;
  transform-origin: center;
  will-change: transform, filter;
}

.waTutorialSandbox {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.waTutorialPracticeWorkspace {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: var(--surface-muted);
}

.waSubmissionViewTutorialWorkspace {
  overflow: visible;
}

.waTutorialPracticeWorkspace:has(.waTutorialEmbeddedModal) {
  min-height: 760px;
  overflow: visible;
}

.waTutorialPracticeWorkspace:has(.waTutorialWindowEmbeddedModal) {
  min-height: 560px;
}

.waTutorialPracticeWorkspace:has(.waTutorialEmbeddedModal).waTutorialCoachTopRight .waTutorialCoach {
  top: 118px;
}

.waTutorialPracticeWorkspace:has(.waTutorialWindowEmbeddedModal).waTutorialCoachTopRight .waTutorialCoach {
  top: 14px;
}

.waTutorialPracticeWorkspace:has(.waTutorialEmbeddedModal) .waTutorialAppFrame {
  padding-top: 0;
}

.waTutorialAppFrame {
  position: relative;
  z-index: 0;
  padding-top: 100px;
}

.waSubmissionViewTutorialWorkspace .waTutorialAppFrame {
  padding-top: 0;
}

.waTutorialCoach {
  position: absolute;
  z-index: 10;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  grid-gap: 10px;
  gap: 10px;
  width: min(330px, calc(100% - 28px));
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 44px rgb(15 23 42 / 18%);
  animation: waTutorialStepIn 180ms var(--motion-ease) both;
  transition:
    top 180ms ease,
    right 180ms ease,
    bottom 180ms ease,
    left 180ms ease;
}

.waTutorialCoach img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  transform-origin: 50% 82%;
  animation: waCopperAttentionBob 5.6s ease-in-out infinite;
}

.waTutorialCoach strong {
  display: block;
  font-weight: 850;
}

.waTutorialCoachStep {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.waTutorialCoach p {
  margin: 4px 0 0;
  color: var(--text);
  line-height: 1.35;
}

.waTutorialCoachTopLeft .waTutorialCoach {
  top: 14px;
  left: 14px;
}

.waTutorialCoachTopRight .waTutorialCoach {
  top: 14px;
  right: 14px;
}

.waSubmissionViewTutorialWorkspace .waTutorialCoach {
  position: -webkit-sticky;
  position: sticky;
  top: 12px;
  right: auto;
  left: auto;
  justify-self: end;
  align-self: start;
}

.waTutorialCoachBottomLeft .waTutorialCoach {
  bottom: 14px;
  left: 14px;
}

.waTutorialCoachBottomRight .waTutorialCoach {
  right: 14px;
  bottom: 14px;
}

.waTutorialEmbeddedModal {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 40px rgb(15 23 42 / 12%);
}

.waTutorialWindowEmbeddedModal {
  position: absolute;
  z-index: 5;
  top: 148px;
  right: 14px;
  left: 14px;
  margin-top: 0;
  box-shadow: 0 26px 80px rgb(15 23 42 / 24%);
}

.waTutorialPracticeWorkspace:has(.waTutorialWindowEmbeddedModal) .waListPanel {
  opacity: 0.46;
}

.waTutorialEmbeddedModal .waModalBody {
  max-height: none;
  overflow: visible;
}

.waTutorialScheduleToolbar .waToolbarButtons {
  align-items: flex-end;
}

.waTutorialScheduleToolbar .waToolbarButtons :where(.fui-Field) {
  min-width: min(240px, 100%);
}

.waTutorialSavedBlocks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.waTutorialPracticeWorkspace .waStaffScoreRow[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.72;
}

.waTutorialScheduleWeekSheet {
  grid-template-columns: 72px repeat(3, minmax(124px, 1fr));
  width: max(520px, 100%);
  min-width: 520px;
}

.waTutorialScheduleWeekSheet .waScheduleTimeLegend,
.waTutorialScheduleWeekSheet .waScheduleDay {
  grid-template-rows: var(--schedule-header-row) repeat(3, var(--schedule-shift-row));
}

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

.waTutorialMiniScreen {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.waTutorialToolbarDemo,
.waTutorialEngineControls,
.waTutorialTabDemo {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}

.waTutorialToolbarDemo :where(.fui-Field),
.waTutorialEngineControls :where(.fui-Field) {
  min-width: min(240px, 100%);
}

.waTutorialMiniModal,
.waTutorialSubmissionSheet {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 40px rgb(15 23 42 / 12%);
}

.waTutorialMiniModalHeader {
  display: grid;
  grid-gap: 2px;
  gap: 2px;
}

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

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

.waTutorialStepCard {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition:
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    transform var(--motion-fast) var(--motion-ease);
}

.waTutorialStepCard span {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
}

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

.waTutorialBlockButton,
.waTutorialHistoryRow {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition:
    border-color var(--motion-fast) ease,
    background-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    transform var(--motion-fast) var(--motion-ease);
}

.waTutorialBlockButton {
  min-height: 54px;
  padding: 10px;
  font-weight: 750;
}

.waTutorialStepCard:hover,
.waTutorialBlockButton:hover,
.waTutorialHistoryRow:hover:not(:disabled) {
  box-shadow: 0 8px 20px rgb(15 23 42 / 8%);
  transform: translateY(-1px);
}

.waTutorialBlockButtonSelected {
  border-color: var(--selected-strong);
  background: var(--selected);
  animation: waSelectionSettle 140ms var(--motion-ease) both;
}

.waTutorialHistoryRow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-gap: 4px 10px;
  gap: 4px 10px;
  align-items: center;
  padding: 12px;
  text-align: left;
}

.waTutorialHistoryRow em {
  grid-column: 1 / -1;
  color: var(--muted);
  font-style: normal;
}

.waTutorialHistoryRow:disabled {
  cursor: not-allowed;
  opacity: 0.64;
}

.waTutorialDemoPanel {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  min-height: 168px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  opacity: 0.72;
}

.waTutorialDemoPanelActive {
  border-color: var(--accent);
  opacity: 1;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.waTutorialDemoHeader,
.waTutorialStaffRow,
.waTutorialScheduleGrid > div {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
}

.waTutorialDemoHeader {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  color: var(--accent);
}

.waTutorialWindowCard,
.waTutorialStaffPreview {
  display: grid;
  grid-gap: 5px;
  gap: 5px;
  padding: 10px;
  border-radius: 8px;
  background: var(--accent-soft);
}

.waTutorialGhostForm {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.waTutorialGhostForm span {
  display: block;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(90deg, #eef2f7, #f8fafc);
  color: transparent;
}

.waTutorialStaffList,
.waTutorialScheduleGrid,
.waTutorialStatsGrid {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.waTutorialStaffRow {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-muted);
}

.waTutorialStaffRow em,
.waTutorialScheduleGrid em {
  color: var(--muted);
  font-style: normal;
}

.waTutorialStaffPreview h4 {
  margin: 0;
  letter-spacing: 0;
}

.waTutorialScheduleGrid > div {
  padding: 8px;
  border-left: 3px solid var(--selected-strong);
  border-radius: 8px;
  background: var(--selected);
}

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

.waFormStack {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.waSettingsGroup {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.waSettingsGroup:first-child {
  padding-top: 0;
  border-top: 0;
}

.waSettingsGroup h3 {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.waMenuTabRollFrame {
  min-width: 0;
  overflow: hidden;
  transition: height var(--wa-menu-tab-roll-duration, 220ms) var(--motion-ease);
  will-change: height;
}

.waMenuTabRollPane {
  min-width: 0;
  transform-origin: top center;
  animation: waMenuTabRollIn var(--wa-menu-tab-roll-duration, 220ms) var(--motion-ease) both;
}

.waMenuTabRollPaneSubtle {
  animation-name: waMenuTabRollInSubtle;
}

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

.waRangeControl input {
  width: 100%;
}

.waStatus {
  min-height: 22px;
  font-size: 0.88rem;
  font-weight: 700;
}

.waStatusError {
  color: var(--danger);
}

.waStatusSuccess {
  color: var(--selected-strong);
}

.waUnsavedBadge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid #f0c4c4;
  border-radius: 999px;
  background: var(--warning);
  color: #8a342f;
  font-size: 0.76rem;
  font-weight: 800;
}

.waUnsavedNotice {
  display: flex;
  justify-content: flex-start;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 8;
  width: max-content;
  animation: waNoticeIn var(--motion-standard) var(--motion-ease) both;
}

.waUnsavedNotice .waUnsavedBadge {
  animation: waUnsavedGlow 1200ms ease-out both;
}

.waSubmissionUnsavedNotice {
  min-height: 32px;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  animation: none;
  transition:
    opacity var(--motion-standard) var(--motion-ease),
    transform var(--motion-standard) var(--motion-ease);
}

.waSubmissionUnsavedNoticeVisible {
  opacity: 1;
  transform: translateY(0);
}

.waSubmissionUnsavedNotice .waUnsavedBadge {
  animation: none;
}

.waSubmissionUnsavedNoticeVisible .waUnsavedBadge {
  animation: waUnsavedGlow 1200ms ease-out both;
}

.waModalActions > .waUnsavedBadge {
  margin-right: auto;
  animation:
    waNoticeIn var(--motion-standard) var(--motion-ease) both,
    waUnsavedGlow 1200ms ease-out both;
}

.waToast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1300;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-gap: 10px;
  gap: 10px;
  align-items: center;
  width: min(460px, calc(100% - 48px));
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 52px rgb(15 23 42 / 24%);
  font-weight: 750;
  animation: waToastIn 180ms var(--motion-ease) both;
}

.waToastSuccess {
  border-color: rgb(4 120 87 / 34%);
  background: #f0fbf7;
  color: var(--selected-strong);
  animation:
    waToastIn 180ms var(--motion-ease) both,
    waResultSettle 520ms var(--motion-ease) 120ms both;
}

.waToastError {
  border-color: rgb(197 15 31 / 28%);
  background: #fff5f6;
  color: var(--danger);
}

.waSaveButtonSettled {
  box-shadow: 0 0 0 3px rgb(4 120 87 / 18%) !important;
  animation: waSaveSettle 420ms var(--motion-ease) both;
}

.waSaveButtonSettled :where(.fui-Button__icon) {
  animation: waSaveIconPop 420ms var(--motion-ease) both;
}

.waSelect,
.waTextarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.waSelect {
  min-height: 32px;
  padding: 4px 8px;
}

.waTextarea {
  resize: vertical;
  padding: 8px 10px;
  line-height: 1.4;
}

.waCharacterCounter {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  text-align: right;
}

.waRequestList,
.waMinimumList,
.waSubmissionList,
.waStaffScheduleList,
.waPeopleList {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.waSubmissionItem {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.waMissingSubmissionSets {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.waMissingSubmissionSets summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 850;
  cursor: pointer;
}

.waMissingSubmissionSets summary::-webkit-details-marker {
  display: none;
}

.waMissingSubmissionSets summary span {
  display: inline-grid;
  min-width: 24px;
  min-height: 24px;
  place-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--warning);
  color: #8a342f;
  font-size: 0.72rem;
}

.waMissingSubmissionList {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  margin-top: 8px;
}

.waMissingSubmissionItem {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-gap: 10px;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-muted);
}

.waMissingSubmissionItem strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.waMissingSubmissionItem span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
}

.waRequestItem,
.waMinimumItem,
.waSubmissionRow,
.waPersonRow {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-gap: 10px;
  gap: 10px;
  align-items: center;
  overflow: hidden;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition:
    border-color var(--motion-fast) ease,
    background-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    transform var(--motion-fast) var(--motion-ease);
}

.waDateSetRow:hover,
.waRequestItem:hover,
.waMinimumItem:hover,
.waSubmissionRow:hover,
.waPersonRow:hover {
  box-shadow: 0 8px 22px rgb(15 23 42 / 8%);
  transform: translateY(-1px);
}

.waRequestItem > *,
.waSubmissionRow > *,
.waPersonRow > * {
  position: relative;
  z-index: 1;
}

.waRequestItemReviewed {
  animation: waRequestReviewedSettle 260ms var(--motion-ease) both;
}

.waRequestItemReviewed::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  transform-origin: left center;
  animation: waRequestDecisionSweep 420ms var(--motion-ease) both;
}

.waRequestItemAccepted::before {
  background: linear-gradient(90deg, rgb(4 120 87 / 22%), rgb(4 120 87 / 4%));
}

.waRequestItemDenied::before {
  background: linear-gradient(90deg, rgb(197 15 31 / 18%), rgb(197 15 31 / 4%));
}

.waRequestItemHandled::before {
  background: linear-gradient(90deg, rgb(15 108 189 / 18%), rgb(15 108 189 / 4%));
}

.waRequestItem > div > span,
.waSubmissionRow > div > span,
.waPersonRow > span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.waRequestItem p {
  margin: 5px 0 0;
  color: var(--text);
}

.waStaffMailBody {
  margin: 0;
  white-space: pre-wrap;
}

.waMinimumBuilder {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(120px, 0.45fr) auto;
  grid-gap: 10px;
  gap: 10px;
  align-items: end;
}

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

.waRulePhaseList {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.waRulePhaseRow {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  grid-gap: 10px;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-muted);
  cursor: -webkit-grab;
  cursor: grab;
}

.waRulePhaseRow:active {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.waRulePhaseRowDragging {
  border-color: rgb(15 108 189 / 58%);
  background: var(--accent-soft);
}

.waRulePhaseRowDropTarget {
  border-color: var(--accent);
  box-shadow: inset 0 3px 0 var(--accent), 0 0 0 3px rgb(15 108 189 / 16%);
}

.waRulePhaseRowDropTarget::before {
  position: absolute;
  top: -7px;
  right: 10px;
  left: 10px;
  height: 4px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

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

.waRulePhaseMeta {
  min-width: 0;
}

.waRulePhaseMeta h3 {
  margin: 0;
  overflow: hidden;
  font-size: 0.95rem;
  font-weight: 760;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.waRulePhaseMeta span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.waRulePhaseActions {
  display: flex;
  gap: 8px;
}

.waRuleSetActions {
  align-items: center;
  flex-wrap: nowrap;
}

.waRuleSetSwitcher {
  width: min(180px, 100%);
  flex: 0 1 180px;
}

.waRuleSetSelect {
  min-height: 32px;
}

.waRuleSetAddPhaseButton {
  min-height: 32px;
  height: 32px;
  flex: 0 0 auto;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
  white-space: nowrap;
}

.waRuleSetAddPhaseButton :where(.fui-Button__content) {
  line-height: 1;
  white-space: nowrap;
}

.waRuleBuilderSection {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  padding-top: 4px;
}

.waRuleBuilderHeader {
  padding: 0;
  border-bottom: 0;
  background: transparent;
}

.waRuleBuilderHeader h3,
.waRuleConfigItem h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 850;
}

.waRuleConfigList {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.waStaffWaveTimeline {
  position: relative;
  gap: 10px;
  padding-left: 18px;
}

.waStaffWaveTimeline::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  border-radius: 999px;
  background: var(--line);
}

.waRuleConfigGroup {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.waRuleConfigItem {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-gap: 10px;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-muted);
}

.waRuleConfigMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.waRuleConfigMeta span {
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.waRuleConfigItem p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.waRuleDraftPanel {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.waStaffWaveCard {
  position: relative;
  gap: 0;
  margin-left: 10px;
  padding: 0;
  overflow: visible;
  border-color: var(--line);
  cursor: -webkit-grab;
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  will-change: transform;
}

.waStaffWaveCard:active {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.waStaffWaveCardDragging {
  z-index: 5;
  border-color: rgb(15 108 189 / 48%);
  box-shadow: inset 3px 0 0 var(--accent), 0 8px 24px rgb(15 23 42 / 10%);
  pointer-events: none;
  transform: translateY(var(--wa-drag-offset-y, 0));
}

.waStaffWaveCardDropBefore,
.waStaffWaveCardDropAfter {
  border-color: rgb(15 108 189 / 48%);
}

.waStaffWaveCardDropBefore::before,
.waStaffWaveCardDropAfter::after {
  content: "";
  position: absolute;
  left: -10px;
  right: 8px;
  z-index: 4;
  border-top: 2px solid var(--accent);
  pointer-events: none;
}

.waStaffWaveCardDropBefore::before {
  top: -6px;
}

.waStaffWaveCardDropAfter::after {
  bottom: -6px;
}

.waStaffWaveHeader {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-gap: 12px;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  background: var(--surface);
}

.waStaffWaveHeaderActions {
  display: flex;
  gap: 6px;
  align-items: center;
}

.waStaffWaveTitle {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-gap: 10px;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.waStaffWaveNumber {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgb(15 108 189 / 18%);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 900;
  position: relative;
  z-index: 1;
}

.waWaveEditForm {
  display: grid;
  grid-gap: 0;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-muted);
}

.waWaveEditSection {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  padding: 12px;
}

.waWaveEditSection + .waWaveEditSection {
  border-top: 1px solid var(--line);
}

.waWaveEditSectionHeader {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-gap: 4px;
  gap: 4px;
  align-items: center;
}

.waWaveEditSectionHeader h3 {
  margin: 0;
  overflow: hidden;
  font-size: 0.92rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

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

.waWaveEditFieldWide {
  grid-column: 1 / -1;
}

.waStaffWaveTitle h3 {
  margin: 0;
  overflow: hidden;
  font-size: 1rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.waStaffWaveSummary {
  margin-top: 5px;
}

.waStaffWaveSubtitle {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.waStaffWaveDescription {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.waStaffWaveBody {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  padding: 0 12px 12px;
}

.waStaffWavePrimaryGrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.62fr);
  grid-gap: 10px;
  gap: 10px;
  align-items: end;
}

.waStaffWaveAdvanced {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.waStaffWaveAdvanced summary {
  width: -moz-fit-content;
  width: fit-content;
  color: var(--accent);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 850;
}

.waStaffWaveAdvanced[open] summary {
  margin-bottom: 2px;
}

.waStaffWaveGroup {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.waStaffWaveGroup h4 {
  margin: 0;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 850;
}

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

.waMailFilterControl {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  width: min(220px, 100%);
}

.waMailFilterControl label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 760;
}

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

.waRuleDraftWide {
  grid-column: 1 / -1;
}

.waEmpty {
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--surface-muted);
  color: var(--muted);
  text-align: center;
  animation: waEmptyStateIn 180ms var(--motion-ease) both;
}

.waModalBackdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgb(15 23 42 / 36%);
  animation: waBackdropIn var(--motion-standard) ease-out both;
}

.waModal {
  width: min(960px, 100%);
  max-height: min(900px, calc(100vh - 40px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgb(15 23 42 / 28%);
  animation: waPanelIn var(--motion-standard) var(--motion-ease) both;
}

.waModalBackdropClosing {
  animation: waBackdropOut 160ms ease-in both;
}

.waModalClosing {
  animation: waPanelOut 160ms ease-in both;
}

.waModal-small {
  width: min(620px, 100%);
}

.waModal-large {
  width: min(1320px, 100%);
}

.waModal:has(.waMailViewBody) {
  width: min(1480px, calc(100vw - 16px));
  max-height: calc(100vh - 16px);
  max-height: calc(100dvh - 16px);
}

.waModalHeader {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-muted);
}

.waModalBody {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  max-height: calc(min(900px, 100vh - 40px) - 76px);
  overflow: auto;
  padding: 16px 18px;
}

.waModal:has(.waMailViewBody) .waModalBody {
  max-height: calc(100vh - 92px);
  max-height: calc(100dvh - 92px);
  overscroll-behavior: contain;
  padding: 10px 10px calc(24px + env(safe-area-inset-bottom));
  scroll-padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

.waModal:has(.waMailViewBody) .waModalHeader {
  justify-content: flex-end;
  padding: 8px 10px;
}

.waModal:has(.waMailViewBody) .waModalHeader > div {
  display: none;
}

.waMailViewBody .waFormStack {
  gap: 10px;
}

.waMailViewBody .waSheetScroller {
  min-height: min(680px, calc(100vh - 126px));
  min-height: min(680px, calc(100dvh - 126px));
}

.waModalActions {
  justify-content: flex-end;
}

.waSuggestionCloseActions > :where(.fui-Button) {
  flex: 0 0 auto;
  width: 34px;
  min-width: 34px;
}

@media (min-width: 721px) {
  .waModalBackdrop:has(.waMailViewBody) {
    align-items: start;
    justify-items: center;
    padding-top: 64px;
    padding-bottom: 32px;
  }

  .waModal:has(.waMailViewBody) {
    width: min(1180px, calc(100vw - 64px));
    max-height: calc(100vh - 96px);
    max-height: calc(100dvh - 96px);
  }

  .waModal:has(.waMailViewBody) .waModalBody {
    max-height: calc(100vh - 132px);
    max-height: calc(100dvh - 132px);
    padding: 12px 14px 24px;
    scroll-padding-bottom: 24px;
  }

  .waMailViewBody .waSheetScroller {
    overflow: auto;
    min-height: 0;
  }
}

.waProfileSaveGuardBody {
  gap: 18px;
}

.waProfileSaveGuardMessage {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  grid-gap: 14px;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgb(180 83 9 / 28%);
  border-radius: 8px;
  background: rgb(255 251 235 / 88%);
}

.waProfileSaveGuardMessage img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.waProfileSaveGuardMessage strong {
  display: block;
  color: var(--text);
  font-weight: 850;
}

.waProfileSaveGuardMessage p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.35;
}

.waCopperConfidenceCheck {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

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

.waCopperConfidenceIntro img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  transform-origin: 50% 82%;
  animation: waCopperPointWiggle 760ms var(--motion-ease) 120ms both;
}

.waCopperConfidenceIntro strong,
.waCopperConfidenceCheck li strong {
  display: block;
  color: var(--text);
  font-weight: 850;
}

.waCopperConfidenceIntro p {
  margin: 3px 0 0;
  color: var(--muted);
  line-height: 1.35;
}

.waCopperConfidenceCheck ul {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.waCopperConfidenceCheck li {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.waCopperConfidenceCheck li small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.waConfirmBackdrop {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgb(15 23 42 / 34%);
}

.waConfirmDialog {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
  width: min(520px, 100%);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 22px 64px rgb(15 23 42 / 26%);
}

.waConfirmHeader {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-gap: 6px;
  gap: 6px;
  align-items: start;
}

.waConfirmHeader h2 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.waConfirmHeader :where(.fui-Button) {
  justify-self: end;
}

.waConfirmHeader p {
  margin: 0;
  color: var(--muted);
}

.waConfirmActions {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 8px;
  overflow-x: auto;
}

.waConfirmActions :where(.fui-Button) {
  white-space: nowrap;
}

.waModalTopBar,
.waStaffModalTop {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-gap: 12px;
  gap: 12px;
  align-items: start;
}

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

.waSearchPanel {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto minmax(150px, 0.8fr) minmax(100px, 0.4fr) minmax(100px, 0.4fr);
  grid-gap: 10px;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-muted);
}

.waSearchPanelCondensed {
  grid-template-columns: minmax(260px, 1fr) auto;
}

.waSearchModePanel {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.waSearchModePicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.waSearchModeSummary {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  grid-gap: 8px;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 700;
}

.waSearchModeSummary svg {
  color: var(--danger);
}

.waSearchAvailabilityFields {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(130px, 0.5fr) minmax(130px, 0.5fr);
  grid-gap: 10px;
  gap: 10px;
  align-items: end;
}

.waSearchFilters {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(150px, 0.8fr) minmax(100px, 0.4fr) minmax(100px, 0.4fr);
  grid-gap: 10px;
  gap: 10px;
  align-items: end;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.waSubmissionRow {
  grid-template-columns: minmax(180px, 1fr) minmax(86px, auto) auto auto auto;
}

.waSubmissionRow .waInlineActions :where(.fui-Button) {
  align-items: center;
  justify-content: center;
}

.waSubmissionRow .waInlineActions :where(.fui-Button__icon) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.waDetailPanel {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  padding: 14px;
  background: var(--surface-muted);
  transform-origin: top center;
  animation: waDetailExpandIn 340ms var(--motion-ease) both;
  will-change: opacity, transform, clip-path;
}

.waDetailPanel.waStaffScoreDetails {
  transform-origin: top center;
  animation: waProfileStatsOpen 680ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: clip-path, opacity, transform;
}

.waDetailPanel.waStaffScoreDetails > * {
  animation: waProfileStatsContentIn 520ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both;
}

.waDetailPanel.waStaffScoreDetails > .waProfileExpandedPane {
  animation: waProfilePaneSwitchIn 180ms var(--motion-ease) both;
}

.waHistoryAndSheet {
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 1fr);
  grid-gap: 12px;
  gap: 12px;
}

.waTileHistorySurface {
  position: relative;
  min-width: 0;
}

.waHistoryStrip .waHistory {
  max-height: none;
}

.waHistory {
  display: grid;
  align-content: start;
  grid-gap: 8px;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.waHistoryMeta {
  display: grid;
  grid-gap: 3px;
  gap: 3px;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 6px;
  background: var(--surface-muted);
}

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

.waSlotHistory {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.waSlotHistoryPopup {
  position: absolute;
  z-index: 12;
  width: min(320px, 100%);
  max-height: min(360px, 50vh);
  overflow: auto;
  pointer-events: auto;
  box-shadow: 0 18px 42px rgb(15 23 42 / 20%);
  animation: waPopoverIn var(--motion-fast) var(--motion-ease) both;
}

.waSlotHistoryHeader {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
}

.waSlotHistoryHeader > div {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  min-width: 0;
}

.waSlotHistoryHeaderWithAction {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.waSlotHistoryHeaderWithAction > div {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  min-width: 0;
}

.waSlotHistoryHeaderWithAction :where(.fui-Button) {
  width: 28px;
  min-width: 28px;
  height: 28px;
  pointer-events: auto;
}

.waSlotHistoryHeaderDraggable {
  cursor: -webkit-grab;
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.waSlotHistoryHeaderDraggable:active {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.waSlotHistoryHeader span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.waSlotHistoryList {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
}

.waSlotHistoryItem {
  display: grid;
  grid-gap: 3px;
  gap: 3px;
  padding: 8px;
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-radius: 6px;
  background: var(--surface-muted);
}

.waSlotHistoryItem-added {
  border-left-color: var(--accent);
}

.waSlotHistoryItem-removed {
  border-left-color: var(--danger);
}

.waSlotHistoryItem-updated {
  border-left-color: #8a6f00;
}

.waSlotHistoryItem span {
  color: var(--muted);
  font-size: 0.76rem;
}

.waSlotHistoryItem p {
  margin: 0;
  color: var(--text);
  font-size: 0.78rem;
  line-height: 1.3;
}

.waAvailabilityLegend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-muted);
}

.waAvailabilityLegend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.waLegendSwatch {
  width: 16px;
  height: 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
}

.waLegendAvailable {
  border-color: var(--selected-strong);
  background: var(--selected);
}

.waLegendPreferred {
  border-color: #b7791f;
  background: #fff4cc;
}

.waAllDaySweepBlock {
  transform-origin: center;
  animation: waAllDaySweep 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
  will-change: transform, outline-color;
}

.waAllDaySweepStep0 {
  animation-delay: 0ms;
}

.waAllDaySweepStep1 {
  animation-delay: 70ms;
}

.waAllDaySweepStep2 {
  animation-delay: 140ms;
}

.waAllDaySweepStep3 {
  animation-delay: 210ms;
}

.waAllDaySweepStep4 {
  animation-delay: 280ms;
}

@keyframes waAllDaySweep {
  0% {
    outline: 0 solid rgb(15 108 189 / 0%);
    transform: translateY(4px) scale(0.98);
  }

  46% {
    outline: 3px solid rgb(15 108 189 / 22%);
    transform: translateY(-2px) scale(1.025);
  }

  100% {
    outline: 0 solid rgb(15 108 189 / 0%);
    transform: translateY(0) scale(1);
  }
}

@keyframes waBackdropIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

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

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

@keyframes waBackdropOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes waPanelOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  to {
    opacity: 0;
    transform: translateY(5px) scale(0.988);
  }
}

@keyframes waPopoverIn {
  from {
    opacity: 0;
    transform: translateY(4px) scale(0.985);
  }

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

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

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

@keyframes waLoadingTextDots {
  0%,
  20%,
  100% {
    -webkit-clip-path: inset(0 100% 0 0);
            clip-path: inset(0 100% 0 0);
  }

  25%,
  45% {
    -webkit-clip-path: inset(0 66.666% 0 0);
            clip-path: inset(0 66.666% 0 0);
  }

  50%,
  70% {
    -webkit-clip-path: inset(0 33.333% 0 0);
            clip-path: inset(0 33.333% 0 0);
  }

  75%,
  95% {
    -webkit-clip-path: inset(0 0 0 0);
            clip-path: inset(0 0 0 0);
  }
}

@keyframes waListItemIn {
  0% {
    outline: 0 solid rgb(15 108 189 / 0%);
    opacity: 0;
    transform: translateY(10px) scale(0.986);
  }

  46% {
    outline: 2px solid rgb(15 108 189 / 10%);
    opacity: 1;
    transform: translateY(-2px) scale(1.004);
  }

  100% {
    outline: 0 solid rgb(15 108 189 / 0%);
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes waListItemInSubtle {
  from {
    opacity: 0.82;
    transform: translateY(2px);
  }

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

@keyframes waListReorderFrame {
  from {
    filter: saturate(0.96);
    transform: translateY(2px);
  }

  to {
    filter: saturate(1);
    transform: translateY(0);
  }
}

@keyframes waSelectionSettle {
  0% {
    transform: scale(0.985);
  }

  65% {
    transform: scale(1.012);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes waViewPaneIn {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.992);
  }

  58% {
    opacity: 1;
    transform: translateY(-1px) scale(1.002);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes waViewPaneInSubtle {
  from {
    opacity: 0.9;
    transform: translateY(2px);
  }

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

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

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

@keyframes waPageSectionInSubtle {
  from {
    opacity: 0.9;
    transform: translateY(2px);
  }

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

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

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

@keyframes waMenuTabRollInSubtle {
  from {
    opacity: 0.9;
    transform: translateY(-2px) scaleY(0.995);
  }

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

@keyframes waMetricSelectPulse {
  0% {
    transform: scale(0.985);
  }

  65% {
    transform: scale(1.018);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes waSaveSettle {
  0% {
    transform: scale(0.985);
  }

  70% {
    transform: scale(1.018);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes waSaveIconPop {
  0% {
    transform: scale(0.7);
  }

  75% {
    transform: scale(1.14);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes waResultSettle {
  0% {
    box-shadow: 0 0 0 0 rgb(4 120 87 / 0%);
    transform: scale(0.996);
  }

  42% {
    box-shadow: 0 0 0 4px rgb(4 120 87 / 14%);
    transform: scale(1.004);
  }

  100% {
    box-shadow: 0 0 0 0 rgb(4 120 87 / 0%);
    transform: scale(1);
  }
}

@keyframes waRequestDecisionSweep {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }

  45% {
    opacity: 1;
    transform: scaleX(1);
  }

  100% {
    opacity: 0.68;
    transform: scaleX(1);
  }
}

@keyframes waRequestReviewedSettle {
  0% {
    transform: translateY(0) scale(0.996);
  }

  70% {
    transform: translateY(-1px) scale(1.004);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes waCalendarDayPing {
  0% {
    transform: scale(0.985);
  }

  68% {
    transform: scale(1.025);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes waProfilePaneSwitchIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

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

@keyframes waCoverageCellPulse {
  0% {
    transform: scale(0.985);
  }

  70% {
    transform: scale(1.035);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes waCoveragePeopleIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

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

@keyframes waTutorialStepIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

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

@keyframes waTutorialTargetPing {
  0% {
    transform: scale(0.985);
  }

  52% {
    transform: scale(1.018);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes waEmptyStateIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

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

@keyframes waNoticeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

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

@keyframes waInboxCountPop {
  0% {
    transform: scale(0.94);
  }

  68% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes waStaffBadgePulse {
  0% {
    box-shadow: 0 0 0 0 rgb(197 15 31 / 0%);
    transform: scale(0.96);
  }

  60% {
    box-shadow: 0 0 0 4px rgb(197 15 31 / 14%);
    transform: scale(1.05);
  }

  100% {
    box-shadow: 0 0 0 0 rgb(197 15 31 / 0%);
    transform: scale(1);
  }
}

@keyframes waUnsavedGlow {
  0% {
    box-shadow: 0 0 0 0 rgb(247 178 60 / 0%);
  }

  45% {
    box-shadow: 0 0 0 4px rgb(247 178 60 / 24%);
  }

  100% {
    box-shadow: 0 0 0 0 rgb(247 178 60 / 0%);
  }
}

@keyframes waCalendarMonthChipIn {
  from {
    opacity: 0;
    transform: translateY(-3px);
  }

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

@keyframes waDetailIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

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

@keyframes waDetailExpandIn {
  0% {
    -webkit-clip-path: inset(0 0 calc(100% - 2px) 0 round 8px);
            clip-path: inset(0 0 calc(100% - 2px) 0 round 8px);
    opacity: 0;
    transform: translateY(-6px) scaleY(0.972);
  }

  62% {
    -webkit-clip-path: inset(0 0 4% 0 round 8px);
            clip-path: inset(0 0 4% 0 round 8px);
    opacity: 1;
    transform: translateY(-1px) scaleY(1.006);
  }

  100% {
    -webkit-clip-path: inset(0 0 0 0 round 8px);
            clip-path: inset(0 0 0 0 round 8px);
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

@keyframes waProfileStatsOpen {
  0% {
    -webkit-clip-path: inset(0 0 calc(100% - 2px) 0 round 0 0 8px 8px);
            clip-path: inset(0 0 calc(100% - 2px) 0 round 0 0 8px 8px);
    opacity: 0;
    transform: translateY(-8px) scaleY(0.965);
  }

  64% {
    -webkit-clip-path: inset(0 0 6% 0 round 0 0 8px 8px);
            clip-path: inset(0 0 6% 0 round 0 0 8px 8px);
    opacity: 1;
    transform: translateY(-1px) scaleY(1.006);
  }

  100% {
    -webkit-clip-path: inset(0 0 0 0 round 0 0 8px 8px);
            clip-path: inset(0 0 0 0 round 0 0 8px 8px);
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

@keyframes waProfileStatsContentIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

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

@keyframes waScoreGaugeArcIn {
  from {
    --wa-score-gauge-arc: 0deg;
    filter: saturate(0.92);
  }

  to {
    --wa-score-gauge-arc: var(--wa-score-gauge-arc-target, 0deg);
    filter: saturate(1);
  }
}

@keyframes waCopperAttentionBob {
  0%,
  74%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  80% {
    transform: translateY(-2px) rotate(-2deg);
  }

  88% {
    transform: translateY(0) rotate(2deg);
  }
}

@keyframes waCopperPointWiggle {
  0% {
    transform: translateY(0) rotate(0deg) scale(0.98);
  }

  35% {
    transform: translateY(-2px) rotate(-4deg) scale(1.03);
  }

  68% {
    transform: translateY(1px) rotate(3deg) scale(1.01);
  }

  100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
}

@keyframes waCopperInspectPulse {
  0%,
  100% {
    outline-color: rgb(15 108 189 / 48%);
    box-shadow: 0 0 0 0 rgb(15 108 189 / 0%);
  }

  50% {
    outline-color: rgb(15 108 189 / 72%);
    box-shadow: 0 0 0 5px rgb(15 108 189 / 12%);
  }
}

@keyframes waCopperCardIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

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

@keyframes waTutorialFocusPulse {
  0%,
  14%,
  40%,
  68%,
  100% {
    --wa-tutorial-outline-color: rgb(138 42 36 / 92%);
    --wa-tutorial-glow-color: rgb(138 42 36 / 26%);
    filter: drop-shadow(0 0 0 rgb(138 42 36 / 0%));
  }

  24% {
    --wa-tutorial-outline-color: rgb(161 48 41 / 98%);
    --wa-tutorial-glow-color: rgb(138 42 36 / 38%);
    filter: drop-shadow(0 0 6px rgb(138 42 36 / 26%));
  }

  31% {
    --wa-tutorial-outline-color: rgb(138 42 36 / 93%);
    --wa-tutorial-glow-color: rgb(138 42 36 / 28%);
    filter: drop-shadow(0 0 2px rgb(138 42 36 / 12%));
  }

  54% {
    --wa-tutorial-outline-color: rgb(153 66 30 / 96%);
    --wa-tutorial-glow-color: rgb(153 66 30 / 34%);
    filter: drop-shadow(0 0 7px rgb(153 66 30 / 24%));
  }

  61% {
    --wa-tutorial-outline-color: rgb(138 42 36 / 92%);
    --wa-tutorial-glow-color: rgb(138 42 36 / 27%);
    filter: drop-shadow(0 0 1px rgb(138 42 36 / 10%));
  }

  82% {
    --wa-tutorial-outline-color: rgb(148 45 61 / 96%);
    --wa-tutorial-glow-color: rgb(148 45 61 / 33%);
    filter: drop-shadow(0 0 5px rgb(148 45 61 / 22%));
  }
}

@media (prefers-reduced-motion: reduce) {
  .waAllDaySweepBlock,
  .waViewPane,
  .waViewPane > .waPageStack > :where(.waDashboardStrip, .waToolbar, .waSearchPanel, .waListPanel, .waDetailPanel, .waMailPanel, .waEmpty),
  .waListPanel,
  .waModalBackdrop,
  .waModal,
  .waToast,
  .waToastSuccess,
  .waMenuTabRollPane,
  .waCopperHelpPanel,
  .waCopperHelpButton img,
  .waCopperHelpPanelHeader img,
  .waCopperHelpInspectable,
  .waCopperHelpAnswer,
  .waCopperHelpQuestion,
  .waCopperConfidenceIntro img,
  .waMetricInfoPopover,
  .waScoreSettingsPopover,
  .waMailPanel,
  .waProfileMenu,
  .waCalendarPopover,
  .calendarPopover,
  .waMailHeaderLabel,
  .waUnsavedNotice,
  .waUnsavedNotice .waUnsavedBadge,
  .waModalActions > .waUnsavedBadge,
  .waDetailPanel,
  .waDetailPanel.waStaffScoreDetails > *,
  .waStaffScoreGauge,
  .waSlotHistoryPopup,
  .waProfileExpandedPane,
  .waTutorialLiveTarget,
  .waTutorialTarget,
  .waTutorialCoach,
  .waTutorialCoach img,
  .waTutorialPopupHeader img,
  .waTutorialPopupInstruction,
  .waSaveButtonSettled,
  .waSaveButtonSettled :where(.fui-Button__icon),
  .waRequestItemReviewed,
  .waRequestItemReviewed::before,
  .waEmpty,
  .waSlotPeople,
  .waSlotPeople .waPersonRow,
  .waCollectiveCellActive button,
  .waMetricActive,
  .waStaffScoreItemExpanded .waDueFlagLowHours,
  .waStaffScoreItemExpanded .waDueFlagPending,
  .waMobileBlockButtonSelected,
  .waSheetBlockSelected,
  .waCalendarMonthChip,
  .waCalendarDayActive > button,
  .waSlotCellSelected,
  .waBlockButtonSelected,
  .timeBlockButtonSelected,
  .waTutorialBlockButtonSelected,
  .waListPanel > :where(.waDateSetRow, .waSubmissionRow, .waRequestItem, .waMinimumItem, .waStaffScoreItem, .waRuleDraftPanel, .waActionReviewPanel),
  .waRequestList > :where(.waRequestItem),
  .waSlotHistoryList > :where(.waSlotHistoryItem),
  .waStaffWaveTimeline > :where(.waStaffWaveCard) {
    animation: none !important;
  }

  .waCopperHelpButton,
  .waDateSetRow,
  .waStaffScoreRow,
  .waMenuTabRollFrame,
  .waMetric,
  .waRequestItem,
  .waMinimumItem,
  .waSubmissionRow,
  .waPersonRow,
  .waMobileBlockButton,
  .waSheetBlock,
  .waCalendarDay > button,
  .waSlotCell,
  .waBlockButton,
  .timeBlockButton,
  .waTutorialStepCard,
  .waTutorialBlockButton,
  .waSubmissionUnsavedNotice,
  .waTutorialHistoryRow {
    transition: none !important;
  }

}

.waDesktopEntrySurface {
  min-width: 0;
}

.waMobileEntrySurface {
  display: none;
}

.waMobileDayList {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.waMobileDay {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.waMobileDaySelected {
  border-color: rgb(4 120 87 / 40%);
  background: #f3fbf8;
}

.waMobileDayHeader {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(90px, auto);
  grid-gap: 8px;
  gap: 8px;
  align-items: start;
}

.waMobileDayHeader strong,
.waMobileDayHeader span {
  display: block;
  min-width: 0;
}

.waMobileDayHeader > span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: right;
}

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

.waMobileBlockButton {
  position: relative;
  display: grid;
  grid-gap: 3px;
  gap: 3px;
  min-height: 52px;
  padding: 8px 34px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition:
    border-color var(--motion-fast) ease,
    background-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    color var(--motion-fast) ease,
    transform var(--motion-fast) var(--motion-ease);
}

.waMobileBlockButton:disabled {
  cursor: default;
}

.waMobileBlockButton span,
.waMobileBlockButton strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.waMobileBlockButton strong {
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.waMobileBlockButtonSelected {
  border-color: var(--selected-strong);
  background: var(--selected);
  color: var(--selected-strong);
}

.waMobileBlockButtonSelected strong {
  color: var(--selected-strong);
}

.waMobileBlockButtonPreferred {
  border-color: #b7791f;
  background: #fff4cc;
  color: #7a4b00;
}

.waMobileBlockButtonPreferred strong {
  color: #7a4b00;
}

.waMobileBlockButtonSelected::after,
.waBlockButtonSelected::after,
.waMobileBlockButtonChangeRemoved::after,
.waBlockButtonChangeRemoved::after {
  content: "\2713";
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--selected-strong);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1;
}

.waMobileBlockButtonChangeAdded,
.waBlockButtonChangeAdded {
  border-color: var(--accent);
  background: #d7ebff;
  color: #004578;
  box-shadow: inset 4px 0 0 var(--accent);
}

.waMobileBlockButtonChangeRemoved,
.waBlockButtonChangeRemoved {
  border-color: var(--danger);
  background: #fde7e9;
  color: #75101b;
  box-shadow: inset 4px 0 0 var(--danger);
}

.waMobileBlockButtonChangeUpdated,
.waBlockButtonChangeUpdated {
  border-color: #c79518;
  background: #fff4ce;
  color: #6b4f00;
  box-shadow: inset 4px 0 0 #c79518;
}

.waMobileBlockButtonChangeAdded::after,
.waBlockButtonChangeAdded::after {
  content: "+";
  background: var(--accent);
}

.waMobileBlockButtonChangeRemoved::after,
.waBlockButtonChangeRemoved::after {
  content: "\2298";
  background: var(--danger);
  -webkit-text-stroke: 0.35px #ffffff;
}

.waMobileBlockButtonChangeRemoved > span,
.waMobileBlockButtonChangeRemoved > strong,
.waBlockButtonChangeRemoved > span,
.waBlockButtonChangeRemoved > strong {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.waMobileBlockButtonInspected,
.waBlockButtonInspected {
  outline: 3px solid var(--accent);
  outline-offset: 1px;
}

.waSheetScroller {
  width: 100%;
  max-width: 100%;
  overflow: auto;
  border: 2px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
}

.waWeekSheet {
  --sheet-header-row: 50px;
  --sheet-block-row: 34px;
  display: grid;
  grid-template-columns: repeat(7, minmax(112px, 1fr));
  width: max(840px, 100%);
  min-width: 840px;
  border-bottom: 2px solid var(--line-strong);
}

.waSheetTimeLegend {
  display: none;
  grid-template-rows: var(--sheet-header-row) repeat(6, var(--sheet-block-row));
}

.waWeekSheet:last-child {
  border-bottom: 0;
}

.waSheetDay,
.waSheetDayPlaceholder {
  display: grid;
  grid-template-rows: var(--sheet-header-row) repeat(6, var(--sheet-block-row));
  border-right: 2px solid var(--line-strong);
}

.waSheetDay:last-child,
.waSheetDayPlaceholder:last-child {
  border-right: 0;
}

.waSheetDayPlaceholder {
  min-height: 254px;
  background: #f8fafc;
}

.waSheetDayHeader {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 6px 8px;
  border: 0;
  border-bottom: 2px solid var(--line-strong);
  background: #f3f4f6;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: center;
}

.waSheetDayHeader:disabled {
  cursor: default;
}

.waSheetDayHeaderPlaceholder {
  background: #f8fafc;
  color: var(--muted);
  cursor: default;
}

.waSheetDaySelected .waSheetDayHeader {
  background: var(--selected);
}

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

.waSheetBlock {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  height: 100%;
  min-height: 0;
  border-bottom: 1px solid var(--line-strong);
  transition:
    background-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    outline-color var(--motion-fast) ease,
    transform var(--motion-fast) var(--motion-ease);
}

.waSheetBlockSelected {
  background: var(--selected);
  box-shadow: inset 0 0 0 2px var(--selected-strong);
}

.waSheetBlockPreferred {
  background: #fff4cc;
  box-shadow: inset 0 0 0 2px #b7791f;
}

.waSheetBlockFocused {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
  background: #d7ebff;
}

.waSheetBlockFocused > span {
  color: #004578;
  font-weight: 900;
}

.waSheetBlockInspectable {
  cursor: pointer;
}

.waSheetBlockInspectable .waSheetCheckbox {
  pointer-events: none;
}

.waSheetBlockInspectable:hover,
.waSheetBlockInspectable:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.waSheetBlock:last-child {
  border-bottom: 0;
}

.waSheetBlock > span {
  overflow: hidden;
  padding: 0 6px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.waSheetBlockText {
  display: grid;
  grid-gap: 1px;
  gap: 1px;
  line-height: 1.05;
}

.waSheetBlockText em {
  overflow: hidden;
  color: #7a4b00;
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 800;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

.waSheetBlockSelected > span {
  color: var(--selected-strong);
  font-weight: 800;
}

.waSheetBlockPreferred > span {
  color: #7a4b00;
  font-weight: 850;
}

.waScheduleWeekSheet {
  --schedule-header-row: 50px;
  --schedule-shift-row: 58px;
  grid-template-columns: 72px repeat(7, minmax(124px, 1fr));
  width: max(1040px, 100%);
  min-width: 1040px;
}

.waSchedulePreviewHeader {
  display: grid;
  grid-template-columns: 1fr;
}

.waSchedulePreviewControls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-gap: 12px;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.waSchedulePreviewLeftActions {
  justify-content: flex-start;
}

.waSchedulePreviewRightActions {
  justify-content: flex-end;
}

.waActionReviewPanel {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-muted);
}

.waActionReviewPanel h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 850;
}

.waActionReviewPanel p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.waSheetUploadCard {
  gap: 14px;
  overflow: hidden;
}

.waSheetUploadControls {
  display: grid;
  grid-template-columns: minmax(380px, 1fr) minmax(150px, 220px);
  grid-gap: 12px;
  gap: 12px;
  align-items: stretch;
}

.waSheetUploadDropzone {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  grid-gap: 10px;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
}

.waSheetUploadDropzoneActive {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.waSheetUploadDropzone > div {
  min-width: 0;
}

.waSheetUploadDropzone > svg {
  color: var(--accent);
  font-size: 1.45rem;
}

.waSheetUploadDropzone strong,
.waSheetUploadDropzone span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.waSheetUploadDropzone span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.waSheetUploadDropzone .waSheetUploadAcceptedTypes {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  line-height: 1.3;
}

.waSheetUploadButton :where(.fui-Button__icon, svg) {
  color: #ffffff;
}

.waHiddenFileInput {
  display: none;
}

.waSheetUploadStats {
  grid-template-columns: repeat(2, minmax(70px, 1fr));
  align-self: stretch;
}

.waSheetUploadStats .waMetric {
  padding: 8px;
}

.waSheetUploadWarnings {
  margin: 6px 0 0;
  padding-left: 18px;
  color: var(--danger);
  line-height: 1.35;
}

.waSheetUploadPreview {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  min-width: 0;
}

.waSheetUploadConfirm {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 8px;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.waSheetTestCard {
  gap: 14px;
}

.waSheetTestHeader {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(360px, 1fr);
  grid-gap: 12px;
  gap: 12px;
  align-items: end;
}

.waSheetTestWorkspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  grid-gap: 12px;
  gap: 12px;
  align-items: start;
}

.waSheetTestImagePanel {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.waSheetTestImagePanel > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.waSheetTestBox {
  position: absolute;
  z-index: 1;
  min-width: 8px;
  min-height: 8px;
  padding: 0;
  border: 2px solid #2563eb;
  border-radius: 3px;
  background: rgb(37 99 235 / 0.14);
  cursor: move;
}

.waSheetTestBoxFilledGuess {
  border-color: #dc2626;
  background: rgb(220 38 38 / 0.18);
}

.waSheetTestBoxEmptyGuess {
  border-color: #2563eb;
}

.waSheetTestBoxSelected {
  z-index: 2;
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgb(22 163 74 / 0.24);
}

.waSheetTestBoxMarkedFilled {
  background: rgb(22 163 74 / 0.26);
}

.waSheetTestBoxMarkedEmpty {
  background: rgb(148 163 184 / 0.18);
}

.waSheetTestSidePanel {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.waSheetTestPanelHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.waSheetTestPanelHeader strong {
  font-size: 0.98rem;
  font-weight: 850;
}

.waSheetTestPanelHeader span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.waSheetTestControlGrid,
.waSheetTestCellReview,
.waSheetTestCellMeta {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  min-width: 0;
}

.waSheetTestCellCrop {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.waSheetTestCellCrop img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.waSheetTestCellCrop span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.waSheetTestCellMeta strong,
.waSheetTestCellMeta span {
  min-width: 0;
  overflow-wrap: anywhere;
}

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

.waActionReviewList {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
}

.waActionReviewList strong {
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 850;
}

.waScheduleTimeLegend {
  display: grid;
  grid-template-rows: var(--schedule-header-row) repeat(5, var(--schedule-shift-row));
  border-right: 2px solid var(--line-strong);
  background: #f3f4f6;
}

.waScheduleTimeLegend .waSheetTimeLegendHeader,
.waScheduleTimeLegend .waSheetTimeLegendLabel {
  display: grid;
  height: 100%;
  min-height: 0;
  place-items: center;
  border-bottom: 1px solid var(--line-strong);
  text-align: center;
}

.waScheduleTimeLegend .waSheetTimeLegendHeader {
  border-bottom-width: 2px;
}

.waScheduleTimeLegend .waSheetTimeLegendLabel {
  padding: 0 4px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 850;
  line-height: 1;
}

.waScheduleTimeLegend .waSheetTimeLegendLabel:last-child {
  border-bottom: 0;
}

.waScheduleDayPlaceholder {
  min-height: 340px;
}

.waScheduleDay,
.waScheduleDayPlaceholder {
  display: grid;
  grid-template-rows: var(--schedule-header-row) repeat(5, var(--schedule-shift-row));
}

.waScheduleDayHeader {
  min-height: 0;
  cursor: default;
}

.waScheduleBlock {
  display: grid;
  align-content: center;
  grid-gap: 2px;
  gap: 2px;
  height: auto;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  padding: 6px 7px;
  border-bottom: 1px solid var(--line-strong);
}

.waScheduleBlock:last-child {
  border-bottom: 0;
}

.waScheduleBlock strong,
.waScheduleBlock span {
  min-width: 0;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.waScheduleBlock strong {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 850;
}

.waScheduleBlock span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.waScheduleBlockAssigned {
  background: var(--selected);
  box-shadow: inset 0 0 0 2px var(--selected-strong);
}

.waScheduleBlockAssigned strong,
.waScheduleBlockAssigned span {
  color: var(--selected-strong);
}

.waScheduleBlockUnfilled {
  background: #fff1f2;
  box-shadow: inset 0 0 0 2px #f1a3a8;
}

.waScheduleBlockUnfilled strong {
  color: var(--danger);
}

.waScheduleBlockUnfilled span {
  color: #9f1239;
}

.waScheduleVacancyMode .waScheduleBlockAssigned {
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px var(--line);
}

.waScheduleVacancyMode .waScheduleBlockAssigned strong,
.waScheduleVacancyMode .waScheduleBlockAssigned span {
  color: var(--muted);
}

.waScheduleVacancyMode .waScheduleBlockUnfilled {
  background: #ffe4e6;
  box-shadow: inset 0 0 0 2px var(--danger);
}

.waScheduleFourHourMode .waScheduleBlockAssigned:not(.waScheduleBlockFourHour) {
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px var(--line);
}

.waScheduleFourHourMode .waScheduleBlockAssigned:not(.waScheduleBlockFourHour) strong,
.waScheduleFourHourMode .waScheduleBlockAssigned:not(.waScheduleBlockFourHour) span {
  color: var(--muted);
}

.waScheduleFourHourMode .waScheduleBlockFourHour {
  background: #fff4cc;
  box-shadow: inset 0 0 0 2px #b7791f;
}

.waScheduleFourHourMode .waScheduleBlockFourHour strong,
.waScheduleFourHourMode .waScheduleBlockFourHour span {
  color: #7a4b00;
}

.waScheduleStaffScroller {
  width: 100%;
  max-width: 100%;
  overflow: auto;
  border: 2px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
}

.waScheduleStaffTable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.waScheduleStaffTable th,
.waScheduleStaffTable td {
  min-width: 0;
  height: 54px;
  padding: 6px 8px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.waScheduleStaffTable th:last-child,
.waScheduleStaffTable td:last-child {
  border-right: 0;
}

.waScheduleStaffTable tr:last-child th,
.waScheduleStaffTable tr:last-child td {
  border-bottom: 0;
}

.waScheduleStaffTable thead th {
  background: #f3f4f6;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 850;
}

.waScheduleStaffTable thead th:first-child {
  width: 240px;
  text-align: left;
}

.waScheduleStaffTable thead th strong,
.waScheduleStaffTable thead th span,
.waScheduleStaffTable tbody th strong,
.waScheduleStaffTable tbody th span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.waScheduleStaffTable thead th span,
.waScheduleStaffTable tbody th span {
  color: var(--muted);
  font-size: 0.66rem;
}

.waScheduleStaffTable tbody th {
  background: #f8fafc;
  text-align: left;
}

.waScheduleStaffTable tbody th strong,
.waScheduleStaffTable tbody th span {
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
}

.waScheduleStaffTable tbody td {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
}

.waScheduleStaffCellAssigned {
  background: var(--selected);
  color: var(--selected-strong) !important;
  box-shadow: inset 0 0 0 2px var(--selected-strong);
}

.waScheduleStaffRowHighlighted th,
.waScheduleStaffRowHighlighted td {
  background: var(--accent-soft);
}

.waScheduleStaffRowHighlighted th {
  color: var(--accent);
  box-shadow: inset 3px 0 0 var(--accent);
}

.waScheduleStaffRowHighlighted .waScheduleStaffCellAssigned {
  background: linear-gradient(rgb(15 108 189 / 12%), rgb(15 108 189 / 12%)), var(--selected);
  box-shadow: inset 0 0 0 2px var(--accent);
}

.waSheetBlock :where(.fui-Checkbox),
.waSheetBlock :where(.fui-Checkbox *) {
  opacity: 1;
}

.waSheetBlockSelected .waSheetCheckbox {
  --fui-Checkbox__indicator--backgroundColor: var(--selected-strong);
  --fui-Checkbox__indicator--borderColor: var(--selected-strong);
  --fui-Checkbox__indicator--color: #ffffff;
}

.waSheetBlockSelected .waSheetCheckbox .fui-Checkbox__indicator {
  border-color: var(--selected-strong);
  background-color: var(--selected-strong);
  color: #ffffff;
  box-shadow: 0 0 0 2px rgb(4 120 87 / 18%);
}

.waSheetBlockSelected .waSheetCheckbox .fui-Checkbox__indicator svg {
  color: #ffffff;
  stroke-width: 3;
}

.waSheetBlockPreferred .waSheetCheckbox {
  --fui-Checkbox__indicator--backgroundColor: #b7791f;
  --fui-Checkbox__indicator--borderColor: #b7791f;
  --fui-Checkbox__indicator--color: #ffffff;
}

.waSheetBlockPreferred .waSheetCheckbox .fui-Checkbox__indicator {
  border-color: #b7791f;
  background-color: #b7791f;
  color: #ffffff;
  box-shadow: 0 0 0 2px rgb(183 121 31 / 18%);
}

.waSheetBlockChangeAdded {
  background: #d7ebff;
  box-shadow: inset 0 0 0 2px var(--accent), inset 5px 0 0 var(--accent);
}

.waSheetBlockChangeAdded > span {
  color: #004578;
  font-weight: 900;
}

.waSheetBlockChangeRemoved {
  background: #fde7e9;
  box-shadow: inset 0 0 0 2px var(--danger), inset 5px 0 0 var(--danger);
}

.waSheetBlockChangeRemoved > span {
  color: #75101b;
  font-weight: 900;
}

.waSheetBlockChangeRemoved .waSheetBlockText > span,
.waSheetBlockChangeRemoved .waSheetBlockText > em {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.waSheetBlockChangeUpdated {
  background: #fff4ce;
  box-shadow: inset 0 0 0 2px #c79518, inset 5px 0 0 #c79518;
}

.waSheetBlockChangeUpdated > span {
  color: #6b4f00;
  font-weight: 900;
}

.waSheetBlockChangeAdded .waSheetCheckbox,
.waSheetBlockChangeRemoved .waSheetCheckbox,
.waSheetBlockChangeUpdated .waSheetCheckbox {
  --fui-Checkbox__indicator--color: #ffffff;
}

.waSheetBlockChangeAdded .waSheetCheckbox {
  --fui-Checkbox__indicator--backgroundColor: var(--accent);
  --fui-Checkbox__indicator--borderColor: var(--accent);
}

.waSheetBlockChangeRemoved .waSheetCheckbox {
  --fui-Checkbox__indicator--backgroundColor: var(--danger);
  --fui-Checkbox__indicator--borderColor: var(--danger);
}

.waSheetBlockChangeUpdated .waSheetCheckbox {
  --fui-Checkbox__indicator--backgroundColor: #c79518;
  --fui-Checkbox__indicator--borderColor: #c79518;
}

.waSheetBlockChangeAdded .waSheetCheckbox .fui-Checkbox__indicator,
.waSheetBlockChangeRemoved .waSheetCheckbox .fui-Checkbox__indicator,
.waSheetBlockChangeUpdated .waSheetCheckbox .fui-Checkbox__indicator {
  width: 20px;
  height: 20px;
  border-color: currentColor;
  background-color: currentColor;
  color: #ffffff;
  box-shadow: 0 0 0 2px rgb(15 23 42 / 18%);
  font-size: 0;
}

.waSheetBlockChangeAdded .waSheetCheckbox .fui-Checkbox__indicator {
  color: var(--accent);
}

.waSheetBlockChangeRemoved .waSheetCheckbox .fui-Checkbox__indicator {
  color: var(--danger);
}

.waSheetBlockChangeUpdated .waSheetCheckbox .fui-Checkbox__indicator {
  color: #c79518;
}

.waSheetBlockChangeAdded .waSheetCheckbox .fui-Checkbox__indicator svg,
.waSheetBlockChangeRemoved .waSheetCheckbox .fui-Checkbox__indicator svg,
.waSheetBlockChangeUpdated .waSheetCheckbox .fui-Checkbox__indicator svg {
  display: none;
}

.waSheetBlockChangeAdded .waSheetCheckbox .fui-Checkbox__indicator::after,
.waSheetBlockChangeRemoved .waSheetCheckbox .fui-Checkbox__indicator::after,
.waSheetBlockChangeUpdated .waSheetCheckbox .fui-Checkbox__indicator::after {
  content: "?";
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
}

.waSheetBlockChangeAdded .waSheetCheckbox .fui-Checkbox__indicator::after {
  content: "+";
}

.waSheetBlockChangeRemoved .waSheetCheckbox .fui-Checkbox__indicator::after {
  content: "\2298";
  -webkit-text-stroke: 0.35px #ffffff;
}

.waSheetBlockChangeUpdated .waSheetCheckbox .fui-Checkbox__indicator::after {
  content: "~";
}

.waChangeLegend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.waChangeLegend span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.waChangeLegendAdded {
  background: #d7ebff;
  color: #004578;
}

.waChangeLegendRemoved {
  background: #fde7e9;
  color: #75101b;
}

.waCalendarShell {
  overflow-x: auto;
}

.waCalendarWeekdays,
.waCalendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(118px, 1fr));
  min-width: 700px;
}

.waCalendarWeekdays {
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #f3f4f6;
}

.waCalendarWeekdays span {
  padding: 8px 4px;
  color: var(--muted);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
}

.waCalendar {
  position: relative;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
  background: var(--surface);
}

.waCalendarDay {
  position: relative;
  min-width: 0;
  min-height: 98px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.waCalendarDayMonthAlt {
  background: #fbfcff;
}

.waCalendarDayMonthStart {
  box-shadow: inset 3px 0 0 rgb(15 108 189 / 24%);
}

.waCalendarDay > button {
  position: relative;
  display: grid;
  align-content: end;
  justify-items: center;
  grid-gap: 0;
  gap: 0;
  width: 100%;
  min-height: 98px;
  padding: 30px 10px 10px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  text-align: center;
  transition:
    background-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    color var(--motion-fast) ease,
    transform var(--motion-fast) var(--motion-ease);
}

.waCalendarDay > button:disabled {
  cursor: default;
}

.waCalendarDaySelected > button {
  color: var(--selected-strong);
}

.waCalendarDayActive > button {
  background: #d7ebff;
  color: #004578;
  box-shadow: inset 0 0 0 3px var(--accent);
  animation: waCalendarDayPing 180ms var(--motion-ease) both;
}

.waCalendarDayChanged > button {
  box-shadow: inset 4px 0 0 #c79518;
}

.waCalendarDayActive.waCalendarDayChanged > button {
  box-shadow: inset 0 0 0 3px var(--accent), inset 4px 0 0 #c79518;
}

.waCalendarDateNumber {
  position: absolute;
  top: 8px;
  right: 9px;
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1;
}

.waCalendarMonthChip {
  position: absolute;
  top: 7px;
  left: 7px;
  max-width: calc(100% - 48px);
  overflow: hidden;
  padding: 2px 6px;
  border-radius: 4px;
  color: #30506e;
  background: rgb(255 255 255 / 88%);
  box-shadow: inset 0 0 0 1px rgb(15 108 189 / 16%);
  font-size: 0.68rem;
  font-weight: 760;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
  animation: waCalendarMonthChipIn 180ms var(--motion-ease) both;
}

.waSlotPreview {
  display: grid;
  grid-template-columns: repeat(5, minmax(18px, 1fr));
  grid-gap: 3px;
  gap: 3px;
  width: min(76px, 100%);
  min-height: 18px;
}

.waSlotCell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--selected-strong);
  font-size: 0.7rem;
  font-weight: 900;
  transition:
    border-color var(--motion-fast) ease,
    background-color var(--motion-fast) ease,
    color var(--motion-fast) ease,
    transform var(--motion-fast) var(--motion-ease);
}

.waSlotCellSelected {
  border-color: var(--selected-strong);
  background: #eefbf6;
  animation: waSelectionSettle 140ms var(--motion-ease) both;
}

.waSlotCellPreferred {
  border-color: #b7791f;
  background: #fff7d6;
  color: #7a4b00;
}

.waSlotCellChangeAdded {
  border-color: var(--accent);
  background: #d7ebff;
  color: #004578;
}

.waSlotCellChangeRemoved {
  border-color: var(--danger);
  background: #fde7e9;
  color: #75101b;
  -webkit-text-stroke: 0.3px currentColor;
}

.waSlotCellChangeUpdated {
  border-color: #c79518;
  background: #fff4ce;
  color: #6b4f00;
}

.waSlotCellChangeAdded,
.waSlotCellChangeRemoved,
.waSlotCellChangeUpdated {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  font-weight: 950;
  line-height: 1;
  padding-bottom: 1px;
}

.waCalendarPopover {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 20;
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  width: min(260px, 90vw);
  padding: 42px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgb(15 23 42 / 18%);
  transform-origin: top left;
  animation: waPopoverIn var(--motion-fast) var(--motion-ease) both;
}

.waCalendarPopoverClose {
  position: absolute;
  top: 6px;
  right: 6px;
  min-width: 30px;
  width: 30px;
  height: 30px;
}

.waBlockButton {
  position: relative;
  display: grid;
  grid-gap: 2px;
  gap: 2px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 34px 6px 10px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition:
    border-color var(--motion-fast) ease,
    background-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    color var(--motion-fast) ease,
    transform var(--motion-fast) var(--motion-ease);
}

.waBlockButtonSelected {
  border-color: var(--selected-strong);
  background: var(--selected);
  color: var(--selected-strong);
  font-weight: 800;
}

.waBlockButtonPreferred {
  border-color: #b7791f;
  background: #fff4cc;
  color: #7a4b00;
}

.waBlockButtonChangeAdded {
  border-color: var(--accent);
  background: #d7ebff;
  color: #004578;
  box-shadow: inset 4px 0 0 var(--accent);
}

.waBlockButtonChangeRemoved {
  border-color: var(--danger);
  background: #fde7e9;
  color: #75101b;
  box-shadow: inset 4px 0 0 var(--danger);
}

.waBlockButtonChangeUpdated {
  border-color: #c79518;
  background: #fff4ce;
  color: #6b4f00;
  box-shadow: inset 4px 0 0 #c79518;
}

.waBlockButtonInspected {
  outline: 3px solid var(--accent);
  outline-offset: 1px;
}

.waBlockButton strong {
  font-size: 0.68rem;
  line-height: 1;
  text-transform: uppercase;
}

.waMyScheduleCalendarPanel {
  gap: 14px;
}

.waMyScheduleMonthList {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.waMyScheduleRange {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 320px));
  grid-gap: 10px;
  gap: 10px;
  align-items: end;
}

.waMyScheduleDatePair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px;
  grid-gap: 8px;
  gap: 8px;
}

.waMyScheduleMonth {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.waMyScheduleMonth h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0;
}

.waMyScheduleWeekdays,
.waMyScheduleCalendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(96px, 1fr));
  min-width: 672px;
}

.waMyScheduleWeekdays {
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #f3f4f6;
}

.waMyScheduleWeekdays span {
  padding: 8px 4px;
  color: var(--muted);
  text-align: center;
  font-size: 0.74rem;
  font-weight: 850;
}

.waMyScheduleCalendar {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
  background: var(--surface);
}

.waMyScheduleDay {
  display: grid;
  align-content: start;
  grid-gap: 6px;
  gap: 6px;
  min-height: 116px;
  min-width: 0;
  padding: 8px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.waMyScheduleDay:nth-child(7n) {
  border-right: 0;
}

.waMyScheduleDayEmpty {
  background: #fbfcff;
}

.waMyScheduleDayBooked {
  background: #f7fcfb;
  box-shadow: inset 3px 0 0 var(--selected-strong);
}

.waMyScheduleDayPast {
  border-color: #e2e8f0;
  background: #f8fafc;
  color: #7c8797;
}

.waMyScheduleDayPast > strong {
  color: #94a3b8;
}

.waMyScheduleDayToday {
  background: #eef6ff;
  box-shadow: inset 0 0 0 3px var(--accent);
}

.waMyScheduleDayToday.waMyScheduleDayBooked {
  box-shadow: inset 0 0 0 3px var(--accent), inset 5px 0 0 var(--selected-strong);
}

.waMyScheduleDayPast .waMyScheduleShift {
  border-color: rgb(4 120 87 / 20%);
  background: #edf7f3;
  color: #527569;
  opacity: 0.82;
}

.waMyScheduleDayPast .waMyScheduleShift em {
  color: #71867f;
}

.waMyScheduleDay > strong {
  justify-self: end;
  font-size: 0.82rem;
  line-height: 1;
}

.waMyScheduleShift {
  display: grid;
  grid-gap: 2px;
  gap: 2px;
  min-width: 0;
  padding: 6px 7px;
  border: 1px solid rgb(4 120 87 / 32%);
  border-radius: 6px;
  background: var(--selected);
  color: var(--selected-strong);
}

.waMyScheduleShift span,
.waMyScheduleShift em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.waMyScheduleShift span {
  font-size: 0.76rem;
  font-weight: 850;
}

.waMyScheduleShift em {
  color: #35685c;
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 760;
}

.waWarningPanel {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  grid-gap: 10px;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid #f0c4c4;
  border-radius: 8px;
  background: var(--warning);
}

.waWarningPanel p {
  margin: 4px 0 0;
  line-height: 1.4;
}

.waRequestOnly {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.waCollective {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.waCollectiveScroller {
  width: 100%;
  max-width: 100%;
  max-height: 600px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.waCollectiveTable {
  width: max-content;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.waCollectiveTimeCol {
  width: 116px;
}

.waCollectiveDateCol {
  width: 132px;
}

.waCollectiveTable th,
.waCollectiveTable td {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.waCollectiveTable thead th {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 8px;
  background: #f3f4f6;
  color: var(--muted);
  font-size: 0.78rem;
}

.waCollectiveTable thead th:first-child {
  left: 0;
  z-index: 5;
}

.waCollectiveTable tbody th {
  position: -webkit-sticky;
  position: sticky;
  left: 0;
  z-index: 2;
  padding: 8px;
  background: var(--surface-muted);
  color: var(--text);
}

.waCollectiveTable th span,
.waCollectiveTable th strong {
  display: block;
}

.waCollectiveCell {
  padding: 0;
  background: var(--slot-fill, var(--surface));
  color: var(--slot-text, var(--text));
  transition: background-color 120ms ease, box-shadow 120ms ease;
}

.waCollectiveCellActive {
  box-shadow: inset 0 0 0 3px var(--accent);
}

.waCollectiveCellActive button {
  animation: waCoverageCellPulse 190ms var(--motion-ease) both;
}

.waCollectiveCell button {
  display: grid;
  place-content: center;
  grid-gap: 3px;
  gap: 3px;
  width: 100%;
  min-height: 78px;
  padding: 10px 8px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.waCollectiveCell strong {
  color: var(--slot-count, var(--selected-strong));
  font-size: 1.16rem;
}

.waCollectiveCell span {
  color: var(--slot-muted, var(--muted));
  font-size: 0.7rem;
  font-weight: 800;
}

.waSlotPeople {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  padding: 12px;
  animation: waCoveragePeopleIn 180ms var(--motion-ease) both;
}

.waPersonRow {
  grid-template-columns: minmax(140px, 1fr) minmax(120px, 0.7fr) auto;
}

.waSlotPeople .waPersonRow {
  animation: waListItemIn 260ms var(--motion-ease) both;
}

.waSlotPeople .waPersonRow:nth-child(2) {
  animation-delay: 45ms;
}

.waSlotPeople .waPersonRow:nth-child(n + 3) {
  animation-delay: 90ms;
}

@media (max-width: 1100px) {
  .waDateSetRow,
  .waSubmissionRow,
  .waModalTopBar,
  .waStaffModalTop,
  .waHistoryAndSheet {
    grid-template-columns: 1fr;
  }

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

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

  .waStaffScoreRow {
    grid-template-columns: minmax(260px, 1fr) minmax(620px, 720px);
  }

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

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

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

  .waSearchPanel,
  .waSearchFilters,
  .waSearchAvailabilityFields,
  .waSheetTestHeader,
  .waSheetTestWorkspace {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  :where(input, select, textarea),
  :where(.fui-Input input),
  :where(.fui-Input__input),
  .waSelect,
  .waTextarea {
    font-size: 16px;
  }

  .waSheetUploadControls,
  .waSheetUploadConfirm,
  .waSheetTestHeader,
  .waSheetTestWorkspace,
  .waSheetTestDecisionGrid,
  .waSheetTestCellNav {
    grid-template-columns: 1fr;
  }

  .waSheetUploadDropzone {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .waSheetUploadDropzone :where(.fui-Button) {
    grid-column: 1 / -1;
    width: 100%;
  }

  .waAuthShell {
    min-height: 100dvh;
    padding: 12px 6px;
  }

  .waAuthPanel {
    width: min(460px, 100%);
    max-width: 100%;
  }

  .waHeaderInner,
  .waMain {
    width: min(100% - 12px, 1480px);
  }

  .waHeader {
    border-bottom: 0;
  }

  .waHeaderInner {
    padding-top: 18px;
    padding-bottom: 8px;
  }

  .waMain {
    padding-top: 0;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
  }

  .waBrandRow,
  .waPanelHeader,
  .waModalHeader {
    align-items: flex-start;
    flex-direction: column;
  }

  .waBrandRow {
    margin-bottom: 8px;
  }

  .waBrandMark,
  .waBrandRow h1,
  .waHeaderInner :where(.fui-TabList) {
    max-width: 100%;
  }

  .waBrandMark {
    width: 100%;
    padding-right: 76px;
  }

  .waBrandLogo {
    width: 38px;
    height: 38px;
  }

  .waBrandRow h1 {
    font-size: 1.12rem;
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  .waHeaderActions > .waMailHeaderButton,
  .waHeaderActions > .waProfileHeaderButton {
    position: absolute;
    top: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    gap: 0;
    width: 34px;
    max-width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    font-size: 0;
    line-height: 1;
  }

  .waHeaderActions > .waMailHeaderButton {
    right: 40px;
  }

  .waHeaderActions > .waProfileHeaderButton {
    right: 0;
  }

  .waHeaderActions > .waAdminSettingsHeaderButton {
    display: none;
  }

  .waHeaderActions > .waMailHeaderButton :where(.fui-Button__content),
  .waHeaderActions > .waProfileHeaderButton :where(.fui-Button__content) {
    display: none;
  }

  .waHeaderActions > .waMailHeaderButton :where(.fui-Button__icon),
  .waHeaderActions > .waProfileHeaderButton :where(.fui-Button__icon) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-size: 17px;
  }

  .waHeaderActions > .waMailHeaderButton :where(svg),
  .waHeaderActions > .waProfileHeaderButton :where(svg) {
    width: 17px;
    height: 17px;
  }

  .waMailHeaderLabel,
  .waProfileHeaderName {
    display: none;
  }

  .waMobileBottomNav {
    display: none;
  }

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

  .waMobileBottomNavTutorialHidden {
    display: none !important;
  }

  .waShellStaffTutorialActive .waMobileBottomNav {
    display: none !important;
  }

  .waMobileBottomNav :where(.fui-Button) {
    min-width: 0;
    width: 100%;
    padding-right: 4px;
    padding-left: 4px;
    font-size: 0.68rem;
    line-height: 1;
  }

  .waCopperHelpButton {
    right: 10px;
    bottom: calc(12px + env(safe-area-inset-bottom));
  }

  .waCopperHelpPanel {
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
    width: calc(100vw - 20px);
  }

  .waCopperHelpPanel-bottomRight {
    right: 10px;
    bottom: calc(128px + env(safe-area-inset-bottom));
    max-height: calc(100vh - 148px - env(safe-area-inset-bottom));
    max-height: calc(100dvh - 148px - env(safe-area-inset-bottom));
  }

  .waCopperHelpPanel-bottomLeft {
    bottom: calc(128px + env(safe-area-inset-bottom));
    left: 10px;
    max-height: calc(100vh - 148px - env(safe-area-inset-bottom));
    max-height: calc(100dvh - 148px - env(safe-area-inset-bottom));
  }

  .waCopperHelpPanel-topRight {
    top: 10px;
    right: 10px;
  }

  .waCopperHelpPanel-topLeft {
    top: 10px;
    left: 10px;
  }

  .waMobileBottomNav :where(.fui-Button__icon) {
    margin-right: 0;
  }

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

  .waProfileMenu :where(.waProfileAdminSettingsAction) {
    display: inline-flex;
  }

  .waProfileMenu {
    top: 72px;
    right: auto;
    left: 50%;
    width: min(420px, calc(100vw - 24px));
    height: auto;
    max-height: calc(100dvh - 96px);
    padding: 14px;
    border: 1px solid rgb(15 23 42 / 22%);
    border-radius: 8px;
    background: var(--surface);
    transform: translateX(-50%);
    box-shadow: 0 0 0 9999px rgb(15 23 42 / 28%), 0 28px 80px rgb(15 23 42 / 32%);
  }

  .waProfileMenu[aria-label="Account menu"] {
    top: 56px;
    right: 8px;
    left: auto;
    width: auto;
    min-width: 220px;
    max-height: none;
    padding: 8px;
    transform: none;
  }

  .waProfileMenu[aria-label="Profile menu"] {
    top: 56px;
    right: 8px;
    left: auto;
    width: min(420px, calc(100vw - 16px));
    max-height: calc(100dvh - 80px);
    padding: 14px;
    transform: none;
    box-shadow: 0 18px 44px rgb(15 23 42 / 22%);
  }

  .waProfileMenu[aria-label="Profile menu"]::before {
    right: 12px;
  }

  .waProfileSignOutMenu::before {
    right: 12px;
  }

  .waModalHeader,
  .waConfirmHeader,
  .waProfileMenu .waPanelHeader,
  .waMailPanel .waPanelHeader,
  .waDetailPanel > .waPanelHeader:has(> .waInlineActions > :where(.fui-Button)),
  .waSlotPeople > .waPanelHeader {
    position: relative;
    padding-right: 78px;
  }

  .waModalHeader > :where(.fui-Button),
  .waConfirmHeader > :where(.fui-Button),
  .waProfileMenu .waPanelHeader > :where(.fui-Button),
  .waMailPanel .waPanelHeader > :where(.fui-Button),
  .waDetailPanel > .waPanelHeader > .waInlineActions > :where(.fui-Button):last-child,
  .waSlotPeople > .waPanelHeader > :where(.fui-Button) {
    position: absolute;
    top: 8px;
    right: 8px;
    width: auto;
  }

  .waAdminDashboardStrip,
  .waStaffDashboardStrip {
    margin-top: -8px;
    gap: 6px;
    padding: 0 6px 6px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: var(--surface);
    box-shadow: 0 -14px 0 14px var(--surface);
  }

  .waAdminDashboardStrip .waMetric,
  .waStaffDashboardStrip .waMetric {
    min-height: 48px;
    border-color: rgb(215 221 229 / 72%);
    border-radius: 6px;
    background: rgb(255 255 255 / 82%);
    box-shadow: 0 1px 0 rgb(15 23 42 / 4%);
  }

  .waHeaderInner :where(.fui-TabList) {
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .waAdminHeaderTabs {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    flex-wrap: nowrap;
    gap: 2px;
    width: 100%;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgb(15 23 42 / 12%);
    overflow-x: visible;
  }

  .waAdminDashboardStrip {
    margin-top: 0;
    padding-top: 8px;
    border-top: 1px solid rgb(15 23 42 / 8%);
  }

  .waAdminHeaderTabs :where(.fui-Tab) {
    flex: 1 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: auto;
    min-width: 0;
    max-width: none;
    min-height: 52px;
    padding: 5px 2px;
    overflow: visible;
    font-size: 0.6rem !important;
    line-height: 1.08;
  }

  .waAdminHeaderTabs :where(.fui-Tab__icon) {
    margin-right: 0;
    font-size: 14px;
  }

  .waAdminHeaderTabs :where(.fui-Tab__content) {
    display: block;
    min-width: 0;
    max-width: 100%;
    overflow: visible;
    font-size: 0.6rem !important;
    line-height: 1.05 !important;
    overflow-wrap: normal;
    text-align: center;
    white-space: normal;
  }

  .waAdminHeaderTabs .fui-Tab,
  .waAdminHeaderTabs .fui-Tab__content {
    font-size: 0.6rem !important;
  }

  .waToolbar,
  .waToolbarSingle,
  .waProfileGrid,
  .waFormGrid,
  .waMinimumBuilder,
  .waSearchPanel,
  .waSearchAvailabilityFields,
  .waRowStats,
  .waStatStrip,
  .waPersonRow,
  .waRequestItem,
  .waMinimumItem,
  .waRuleConfigItem,
  .waRuleDraftGrid,
  .waWaveEditFields,
  .waStaffWavePrimaryGrid,
  .waStaffWaveGroupGrid {
    grid-template-columns: 1fr;
  }

  .waStaffWaveHeader {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .waStaffWaveHeaderActions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .waStaffWaveTitle {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .waStaffWaveNumber {
    width: 30px;
    height: 30px;
  }

  .waModalBackdrop {
    padding: 6px;
  }

  .waShellStaffTutorialActive {
    --wa-tutorial-frame-side: 30px;
    --wa-tutorial-frame-fill-side: max(var(--wa-tutorial-frame-side), calc((100vw - 82vw) / 2 + 1px));
    --wa-tutorial-frame-top: calc(52px + env(safe-area-inset-top));
    --wa-tutorial-frame-bottom: calc(188px + env(safe-area-inset-bottom));
    --wa-tutorial-mini-scale: 0.82;
    --wa-tutorial-mini-width: 100%;
    --wa-tutorial-frame-panel: #ffffff;
    --wa-tutorial-frame-pillar: #ffffff;
    --wa-tutorial-frame-line: rgb(23 32 51 / 14%);
    --wa-tutorial-frame-groove: rgb(23 32 51 / 8%);
    --wa-tutorial-frame-shadow: rgb(23 32 51 / 10%);
    --wa-tutorial-bottom-content-left: max(98px, calc(98px + env(safe-area-inset-left)));
  }

  .waShellStaffTutorialActive::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1100;
    pointer-events: none;
    background:
      linear-gradient(var(--wa-tutorial-frame-panel), var(--wa-tutorial-frame-panel)) top / 100%
        var(--wa-tutorial-frame-top) no-repeat,
      linear-gradient(var(--wa-tutorial-frame-panel), var(--wa-tutorial-frame-panel)) bottom / 100%
        var(--wa-tutorial-frame-bottom) no-repeat,
      linear-gradient(
          90deg,
          var(--wa-tutorial-frame-pillar) 0,
          var(--wa-tutorial-frame-pillar) var(--wa-tutorial-frame-fill-side),
          transparent var(--wa-tutorial-frame-fill-side),
          transparent calc(100% - var(--wa-tutorial-frame-fill-side)),
          var(--wa-tutorial-frame-pillar) calc(100% - var(--wa-tutorial-frame-fill-side)),
          var(--wa-tutorial-frame-pillar) 100%
        )
        center / 100% 100% no-repeat;
    box-shadow:
      inset 0 0 0 1px var(--wa-tutorial-frame-line),
      inset 0 3px 0 var(--clock-pm);
  }

  .waShellStaffTutorialActive::after {
    content: "";
    position: fixed;
    top: var(--wa-tutorial-frame-top);
    right: var(--wa-tutorial-frame-side);
    bottom: var(--wa-tutorial-frame-bottom);
    left: var(--wa-tutorial-frame-side);
    z-index: 1101;
    border: 1px solid var(--wa-tutorial-frame-groove);
    pointer-events: none;
  }

  .waShellStaffTutorialActive > .waHeader,
  .waShellStaffTutorialActive > .waMain {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    transform: scale(var(--wa-tutorial-mini-scale));
    transform-origin: top center;
  }

  .waShellStaffTutorialActive > .waHeader {
    margin-top: var(--wa-tutorial-frame-top);
  }

  .waShellStaffTutorialActive > .waMain {
    margin-top: -28px;
  }

  .waShellStaffTutorialActive .waModalBackdrop {
    place-items: center;
    isolation: isolate;
    padding: var(--wa-tutorial-frame-top) var(--wa-tutorial-frame-side) var(--wa-tutorial-frame-bottom);
    border: 0;
    border-radius: 0;
    background: var(--wa-tutorial-frame-panel);
    box-shadow: none;
  }

  .waModal {
    position: relative;
    max-height: calc(100vh - 12px);
    max-height: calc(100dvh - 12px);
  }

  .waShellStaffTutorialActive .waModal {
    z-index: 1;
    width: var(--wa-tutorial-mini-width);
    max-width: none;
    max-height: calc(100vh - var(--wa-tutorial-frame-top) - var(--wa-tutorial-frame-bottom));
    max-height: calc(100dvh - var(--wa-tutorial-frame-top) - var(--wa-tutorial-frame-bottom));
    border: 1px solid var(--wa-tutorial-frame-line);
    border-radius: 16px;
    box-shadow: 0 18px 42px var(--wa-tutorial-frame-shadow);
    transform: scale(var(--wa-tutorial-mini-scale));
    transform-origin: center center;
  }

  .waModalBody {
    max-height: calc(100vh - 88px);
    max-height: calc(100dvh - 88px);
    padding: 12px;
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
    scroll-padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .waShellStaffTutorialActive .waModalBody {
    max-height: calc(100vh - var(--wa-tutorial-frame-top) - var(--wa-tutorial-frame-bottom) - 84px);
    max-height: calc(100dvh - var(--wa-tutorial-frame-top) - var(--wa-tutorial-frame-bottom) - 84px);
    padding-bottom: 14px;
    scroll-padding-bottom: 14px;
  }

  .waModalBodyScrollLocked,
  .waModalBodyScrollLocked .waCalendarShell {
    overflow: hidden;
    overscroll-behavior: none;
  }

  .waModalBodyScrollLocked .waCalendarPopover {
    overscroll-behavior: contain;
  }

  .waUnsavedNotice {
    position: absolute;
    top: 54px;
    right: 10px;
    left: auto;
    width: auto;
    pointer-events: none;
  }

  .waAdminSettingsTabs {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
  }

  .waAdminSettingsTabs :where([role="tab"]) {
    flex: 0 0 auto;
    white-space: nowrap;
  }

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

  .waTutorialPopupLayer {
    align-items: end;
    justify-items: stretch;
    padding: 12px;
  }

  .waTutorialPopup {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
  }

  .waTutorialPopupHeader {
    grid-template-columns: 48px minmax(0, 1fr) auto;
  }

  .waTutorialPopupHeader img {
    width: 48px;
    height: 48px;
  }

  .waStaffTutorialPopup .waTutorialPopupHeader {
    grid-template-columns: 70px minmax(0, 1fr) auto;
  }

  .waStaffTutorialPopup .waTutorialPopupHeader img {
    width: 70px;
    height: 70px;
  }

  .waStaffTutorialPopupAction {
    top: calc(12px + env(safe-area-inset-top)) !important;
    right: 12px !important;
    bottom: auto !important;
    left: 12px !important;
    gap: 8px;
    width: calc(100vw - 24px);
    max-height: 42vh;
    padding: 10px;
  }

  .waStaffTutorialPopupAction .waTutorialPopupHeader {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .waStaffTutorialPopupAction .waTutorialPopupHeader img {
    display: block;
    width: 48px;
    height: 48px;
  }

  .waStaffTutorialPopupAction .waTutorialPopupInstruction {
    padding: 8px 10px;
  }

  .waStaffTutorialPopupBottom {
    top: auto !important;
    bottom: calc(12px + env(safe-area-inset-bottom)) !important;
  }

  .waStaffTutorialPopupPassive {
    pointer-events: none;
  }

  .waStaffTutorialPopupPassive .waTutorialPopupHeader :where(.fui-Button) {
    pointer-events: auto;
  }

  .waStaffTutorialPopupSave {
    max-height: 34vh;
  }

  .waStaffTutorialPopupSave .waTutorialPopupHeader {
    grid-template-columns: 48px minmax(0, 1fr) auto;
  }

  .waStaffTutorialPopupSave .waTutorialPopupHeader p {
    display: none;
  }

  .waStaffTutorialPopupSave .waTutorialPopupInstruction p {
    display: block;
    margin-top: 4px;
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .waStaffTutorialPopupSplit {
    inset: 0 !important;
    width: auto;
    max-height: none;
    overflow: visible;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
  }

  .waStaffTutorialPopupSplit .waTutorialPopupHeader,
  .waStaffTutorialPopupSplit .waTutorialPopupInstruction {
    position: fixed;
    right: 0;
    left: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .waStaffTutorialPopupSplit .waTutorialPopupHeader {
    top: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    min-height: var(--wa-tutorial-frame-top);
    padding: calc(7px + env(safe-area-inset-top)) calc(var(--wa-tutorial-frame-side) + 10px) 8px;
    border-bottom: 0;
    background: var(--wa-tutorial-frame-panel);
    box-shadow: 0 1px 0 var(--wa-tutorial-frame-line);
  }

  .waStaffTutorialPopupSplit .waTutorialPopupHeader img {
    position: fixed;
    top: calc(100vh - var(--wa-tutorial-frame-bottom) + 14px);
    top: calc(100dvh - var(--wa-tutorial-frame-bottom) + 14px);
    left: calc(var(--wa-tutorial-frame-side) + 4px);
    z-index: 1201;
    width: 58px;
    height: 58px;
    object-fit: contain;
    pointer-events: none;
  }

  .waStaffTutorialPopupSplit .waTutorialPopupHeader img[src*="copper4-plus"],
  .waStaffTutorialPopupSplit .waTutorialPopupHeader img[src*="copper4-pencil"] {
    width: 68px;
    height: 68px;
    transform: translate(-5px, -5px);
  }

  .waStaffTutorialPopupSplit .waTutorialPopupHeader h2 {
    margin-top: 0;
    font-size: 1rem;
    line-height: 1.05;
  }

  .waStaffTutorialPopupSplit .waTutorialPopupHeader p {
    display: none;
  }

  .waStaffTutorialPopupSplit .waTutorialPopupHeader > div {
    grid-column: 1;
  }

  .waStaffTutorialPopupSplit .waTutorialPopupHeader :where(.fui-Button) {
    grid-column: 2;
    pointer-events: auto;
  }

  .waStaffTutorialPopupSplit .waTutorialPopupInstruction {
    top: calc(100vh - var(--wa-tutorial-frame-bottom));
    top: calc(100dvh - var(--wa-tutorial-frame-bottom));
    bottom: auto;
    max-height: var(--wa-tutorial-frame-bottom);
    overflow: auto;
    padding: 10px calc(var(--wa-tutorial-frame-side) + 10px) calc(12px + env(safe-area-inset-bottom))
      var(--wa-tutorial-bottom-content-left);
    border-top: 0;
    box-shadow: none;
  }

  .waStaffTutorialPopupSplit .waTutorialPopupInstruction strong,
  .waStaffTutorialPopupSplit .waTutorialPopupInstruction p {
    overflow-wrap: anywhere;
  }

  .waStaffTutorialPopupAction.waStaffTutorialPopupSplit .waTutorialPopupInstruction {
    padding-top: 20px;
  }

  .waStaffTutorialPopupIntro .waTutorialPopupInstruction {
    max-height: calc(var(--wa-tutorial-frame-bottom) - 62px - env(safe-area-inset-bottom));
    padding-bottom: 8px;
    box-shadow: none;
  }

  .waStaffTutorialPopupIntro .waTutorialPopupActions {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    justify-content: stretch;
    padding: 5px calc(var(--wa-tutorial-frame-side) + 10px) calc(8px + env(safe-area-inset-bottom))
      var(--wa-tutorial-bottom-content-left);
    background: var(--wa-tutorial-frame-panel);
    box-shadow: 0 -1px 0 var(--wa-tutorial-frame-line);
    pointer-events: auto;
  }

  .waStaffTutorialPopupIntro .waTutorialPopupActions :where(.fui-Button) {
    width: 100%;
  }

  .waShellStaffTutorialActive .waHeaderInner :where(.fui-TabList) {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgb(15 23 42 / 12%);
  }

  .waShellStaffTutorialActive .waStaffDashboardStrip {
    margin-top: 0;
    padding-top: 8px;
    border-top: 1px solid rgb(15 23 42 / 8%);
  }

  .waShellStaffTutorialActive .waStaffToolbar,
  .waShellStaffTutorialActive .waListPanel:has(.waStaffDateSetRow) {
    margin-right: 10px;
    margin-left: 10px;
  }

  .waStaffTutorialPopupSplit .waTutorialPopupTargetHint {
    display: none;
  }

  .waTutorialLauncher,
  .waTutorialShell,
  .waTutorialStepCards,
  .waTutorialBlockGrid,
  .waTutorialStatsGrid {
    grid-template-columns: 1fr;
  }

  .waTutorialPracticeWorkspace {
    overflow: visible;
  }

  .waTutorialAppFrame {
    padding-top: 0;
  }

  .waTutorialCoach {
    position: static;
    width: 100%;
  }

  .waTutorialScheduleToolbar .waToolbarButtons {
    align-items: stretch;
  }

  .waTutorialScheduleToolbar .waToolbarButtons :where(.fui-Field) {
    width: 100%;
  }

  .waStaffScoreRow .waRowStats {
    grid-template-columns: 1fr;
  }

  .waDashboardStrip,
  .waMobileBlockGrid,
  .waMobileDayHeader {
    grid-template-columns: 1fr;
  }

  .waDashboardStrip,
  .waStatStrip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .waDashboardStrip .waMetric,
  .waStatStrip .waMetric {
    display: grid;
    align-content: center;
    min-height: 54px;
    padding: 6px 4px;
    text-align: center;
  }

  .waDashboardStrip .waMetric span,
  .waStatStrip .waMetric span {
    font-size: 0.58rem;
  }

  .waMetricLabelFull {
    display: none;
  }

  .waMetricLabelShort {
    display: inline;
  }

  .waDashboardStrip .waMetric strong,
  .waStatStrip .waMetric strong {
    font-size: 0.86rem;
  }

  .waStatsDashboardStrip {
    gap: 4px;
    padding-right: 4px;
    padding-left: 4px;
  }

  .waStatsDashboardStrip .waMetric {
    align-content: start;
    min-height: 66px;
    padding: 22px 2px 5px;
  }

  .waStatsDashboardStrip .waMetricLabelLine {
    display: grid;
    justify-items: center;
    grid-gap: 2px;
    gap: 2px;
    width: 100%;
    text-align: center;
  }

  .waStatsDashboardStrip .waMetric .waMetricLabelLine > span {
    width: 100%;
    overflow: visible;
    font-size: 0.52rem;
    line-height: 1.08;
    overflow-wrap: anywhere;
    text-overflow: clip;
    white-space: normal;
  }

  .waStatsDashboardStrip .waMetricInfoButton {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    min-width: 18px;
    height: 18px;
    padding: 0;
    margin: 0;
  }

  .waProfilesListPanel {
    gap: 8px;
    padding: 8px 6px;
    overflow-x: visible;
  }

  .waStaffScoreTableHeader {
    display: none;
  }

  .waStaffScoreRow {
    grid-template-columns: 1fr;
    gap: 10px;
    min-width: 0;
    padding: 12px;
  }

  .waStaffScoreIdentity {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 8px;
  }

  .waStaffProfileAvatar {
    width: 40px;
    height: 40px;
    font-size: 0.78rem;
  }

  .waStaffScoreHeader {
    display: grid;
    grid-gap: 2px;
    gap: 2px;
  }

  .waStaffScoreHeader h2 {
    font-size: 0.98rem;
    line-height: 1.18;
  }

  .waStaffScoreHeader > span {
    overflow: hidden;
    font-size: 0.74rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

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

  .waStaffScoreStats > span {
    display: grid;
    grid-gap: 2px;
    gap: 2px;
    min-height: 48px;
    align-content: center;
    padding: 7px 8px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--surface);
    font-size: 0.88rem;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
  }

  .waStaffScoreStats > span::before {
    color: var(--muted);
    font-size: 0.58rem;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.05;
    text-transform: uppercase;
  }

  .waStaffScoreStats > span:nth-child(1)::before {
    content: "Score";
  }

  .waStaffScoreStats > span:nth-child(2)::before {
    content: "Complete";
  }

  .waStaffScoreStats > span:nth-child(3)::before {
    content: "On time";
  }

  .waStaffScoreStats > span:nth-child(4)::before {
    content: "Available";
  }

  .waStaffScoreStats > span:nth-child(5)::before {
    content: "Scheduled";
  }

  .waStaffScoreStats > span:nth-child(5) {
    grid-column: 1 / -1;
  }

  .waStaffScoreStats > span:nth-child(2),
  .waStaffScoreStats > span:nth-child(3),
  .waStaffScoreStats > span:nth-child(5) {
    display: none;
  }

  .waStaffScoreDetails {
    padding: 10px;
    border-top: 1px solid var(--line);
    border-radius: 0 0 8px 8px;
  }

  .waProfileExpandedTabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-gap: 4px;
    gap: 4px;
    padding-bottom: 10px;
  }

  .waProfileExpandedTabs :where(.fui-Tab) {
    min-width: 0;
  }

  .waProfileExpandedPane {
    gap: 8px;
  }

  .waStaffStatsOverview {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .waStaffStatsOverview .waStaffPerformanceProfile {
    display: none;
  }

  .waStaffScoreGaugePanel {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 10px;
    min-height: 0;
    justify-items: start;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-muted);
  }

  .waStaffScoreGauge {
    width: 86px;
    height: 86px;
  }

  .waStaffScoreGauge::before {
    inset: 14px;
  }

  .waStaffScoreGauge strong {
    font-size: 1.55rem;
  }

  .waStaffScoreGaugeText {
    align-self: center;
    min-width: 0;
  }

  .waStaffStatsOverview .waStaffPerformanceProfileHeader {
    grid-template-columns: minmax(0, 1fr) 36px;
  }

  .waStaffStatsOverview .waStaffPerformanceProfileHeader > div {
    justify-self: start;
    text-align: left;
  }

  .waStaffStatsOverview .waStaffPerformanceProfileHeader h2 {
    display: block;
    padding-bottom: 0;
    border-bottom: 0;
    font-size: 1rem;
  }

  .waStaffStatsOverview .waStaffStatsProfileGrid,
  .waStaffInsightGrid,
  .waProfileStatsPane .waScoreBreakdownGrid {
    grid-template-columns: 1fr;
  }

  .waStaffStatsOverview .waStaffInsightCard {
    min-height: 0;
    align-content: start;
    padding: 10px;
  }

  .waProfileStatsPane {
    gap: 4px;
  }

  .waProfileStatsPane .waScoreBreakdownPanel {
    gap: 6px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-muted);
  }

  .waProfileStatsPane .waScoreBreakdownPanel h2 {
    font-size: 0.92rem;
  }

  .waProfileStatsPane .waScoreBreakdownGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    overflow-x: visible;
  }

  .waProfileStatsPane .waScoreBreakdownItem {
    gap: 1px;
    min-height: 34px;
    justify-items: stretch;
    padding: 6px 7px;
    border-radius: 6px;
    text-align: left;
  }

  .waProfileStatsPane .waScoreBreakdownItem:hover,
  .waProfileStatsPane .waScoreBreakdownItem:focus-visible,
  .waProfileStatsPane .waScoreBreakdownItem[aria-expanded="true"],
  .waProfileStatsPane .waScoreBreakdownItem-award:hover,
  .waProfileStatsPane .waScoreBreakdownItem-award:focus-visible,
  .waProfileStatsPane .waScoreBreakdownItem-award[aria-expanded="true"],
  .waProfileStatsPane .waScoreBreakdownItem-penalty:hover,
  .waProfileStatsPane .waScoreBreakdownItem-penalty:focus-visible,
  .waProfileStatsPane .waScoreBreakdownItem-penalty[aria-expanded="true"],
  .waProfileStatsPane .waScoreBreakdownItem-total:hover,
  .waProfileStatsPane .waScoreBreakdownItem-total:focus-visible,
  .waProfileStatsPane .waScoreBreakdownItem-total[aria-expanded="true"] {
    border-color: var(--line);
    outline: none;
    box-shadow: none;
  }

  .waProfileStatsPane .waScoreBreakdownInlineDetail {
    display: grid;
    grid-column: 1 / -1;
    grid-gap: 4px;
    gap: 4px;
    margin-top: 5px;
    padding: 8px;
    border-radius: 6px;
    background: var(--surface);
  }

  .waProfileStatsPane .waScoreBreakdownInlineDetail strong {
    color: var(--text);
    font-size: 0.72rem;
    font-weight: 850;
  }

  .waProfileStatsPane .waScoreBreakdownInlineDetail-award strong {
    color: var(--selected-strong);
  }

  .waProfileStatsPane .waScoreBreakdownInlineDetail-penalty strong {
    color: var(--danger);
  }

  .waProfileStatsPane .waScoreBreakdownInlineDetail-total strong {
    color: var(--accent);
  }

  .waProfileStatsPane .waScoreBreakdownInlineDetail span {
    color: var(--muted);
    font-size: 0.68rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .waProfileStatsPane .waScoreBreakdownTitle {
    font-size: 0.58rem;
    line-height: 1.05;
  }

  .waProfileStatsPane .waScoreBreakdownValue {
    font-size: 0.72rem;
    line-height: 1.1;
  }

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

  .waStaffAccountEditor .waInlineActions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .waProfileSubmissionsPane .waSubmissionRow,
  .waStatsSubmissionRow {
    gap: 10px;
    padding: 12px;
  }

  .waStatsSubmissionFlags {
    justify-content: flex-start;
  }

  .waMobileDayHeader > span {
    text-align: left;
  }

  .waHeaderActions,
  .waInlineActions,
  .waToolbarButtons,
  .waModalActions,
  .waConfirmActions,
  .waSegment,
  .waRowActions {
    width: 100%;
    justify-content: stretch;
  }

  .waStaffStatusMarkers {
    width: -moz-fit-content;
    width: fit-content;
    max-width: 100%;
    justify-content: flex-start;
  }

  .waHeaderActions > :where(.fui-Button),
  .waInlineActions > :where(.fui-Button),
  .waToolbarButtons > :where(.fui-Button),
  .waModalActions > :where(.fui-Button),
  .waConfirmActions > :where(.fui-Button),
  .waSegment > :where(.fui-Button),
  .waRowActions > :where(.fui-Button) {
    flex: 1 1 min(160px, 100%);
    height: auto;
    max-width: 100%;
    min-height: 34px;
    min-width: 0;
    padding: 5px 8px;
    font-size: 0.78rem;
    line-height: 1.15;
    white-space: normal;
  }

  .waSuggestionCloseActions {
    justify-content: flex-end;
  }

  .waSuggestionCloseActions > :where(.fui-Button) {
    flex: 0 0 auto;
    width: 34px;
    min-width: 34px;
  }

  .waHeaderActions > :where(.fui-Button) :where(.fui-Button__content),
  .waInlineActions > :where(.fui-Button) :where(.fui-Button__content),
  .waToolbarButtons > :where(.fui-Button) :where(.fui-Button__content),
  .waModalActions > :where(.fui-Button) :where(.fui-Button__content),
  .waConfirmActions > :where(.fui-Button) :where(.fui-Button__content),
  .waSegment > :where(.fui-Button) :where(.fui-Button__content),
  .waRowActions > :where(.fui-Button) :where(.fui-Button__content) {
    min-width: 0;
    overflow-wrap: anywhere;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
  }

  .waConfirmActions {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .waInlineActions .waInlineActions {
    width: 100%;
  }

  .waStaffToolbar .waSortControl {
    grid-template-columns: minmax(0, 156px) 28px;
    gap: 4px;
    width: min(188px, 100%);
  }

  .waStaffToolbar .waSortDirectionButton {
    width: 28px;
    max-width: 28px;
    transform: translateX(-2px);
  }

  .waStaffSubmissionState {
    min-width: 0;
    width: 100%;
    min-height: 52px;
  }

  .waStaffDateSetRow .waDateSetTitleLine {
    flex-wrap: nowrap;
    gap: 5px;
    min-width: 0;
  }

  .waStaffDateSetRow .waDateSetTitleLine h2 {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    font-size: 0.86rem;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .waStaffDateSetRow .waDateSetTitleLine > .waDueFlag {
    flex: 0 0 auto;
    min-height: 18px;
    margin-left: 0;
    padding: 1px 5px;
    font-size: 0.58rem;
    line-height: 1.1;
    white-space: nowrap;
  }

  .waStaffRowActions {
    justify-content: flex-start;
    min-width: 0;
  }

  .waDateSetMeta {
    align-content: flex-start;
    min-height: 50px;
  }

  .waDesktopEntrySurface {
    display: block;
  }

  .waMobileEntrySurface {
    display: none;
  }

  .waSheetScroller,
  .waCalendarShell {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .waSheetScroller {
    overflow-y: hidden;
    overscroll-behavior-x: contain;
  }

  .waWeekSheet {
    --sheet-header-row: 38px;
    --sheet-block-row: 30px;
    width: 100%;
    min-width: 0;
    grid-template-columns: 38px repeat(7, minmax(0, 1fr));
  }

  .waSheetTimeLegend {
    display: grid;
    grid-template-rows: var(--sheet-header-row) repeat(6, var(--sheet-block-row));
    border-right: 2px solid var(--line-strong);
    background: #f3f4f6;
  }

  .waSheetTimeLegendHeader,
  .waSheetTimeLegendLabel {
    border-bottom: 1px solid var(--line-strong);
  }

  .waSheetTimeLegendHeader {
    border-bottom-width: 2px;
  }

  .waSheetTimeLegendLabel {
    display: grid;
    place-items: center;
    min-width: 0;
    padding: 0 2px;
    color: var(--muted);
    font-size: 0.48rem;
    font-weight: 850;
    line-height: 1;
    text-align: center;
  }

  .waSheetTimeLegendLabel:last-child {
    border-bottom: 0;
  }

  .waSheetDayPlaceholder {
    min-height: 218px;
  }

  .waSheetDayHeader {
    padding: 4px 2px;
  }

  .waSheetDayHeader strong {
    font-size: 0.58rem;
    line-height: 1.05;
  }

  .waSheetDayHeader span {
    font-size: 0.6rem;
  }

  .waSheetBlock {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .waSheetBlock > span {
    padding: 0 1px;
    font-size: 0.54rem;
    text-align: left;
  }

  .waSheetBlockText {
    display: none;
  }

  .waSheetBlock :where(.fui-Checkbox) {
    width: 24px;
    min-width: 0;
    justify-content: center;
  }

  .waSheetBlockText em {
    display: none;
  }

  .waScheduleWeekSheet {
    --schedule-header-row: 34px;
    --schedule-shift-row: 44px;
    grid-template-columns: 32px repeat(7, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
  }

  .waSchedulePreviewControls {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .waSchedulePreviewLeftActions,
  .waSchedulePreviewRightActions {
    justify-content: stretch;
  }

  .waScheduleTimeLegend {
    grid-template-rows: var(--schedule-header-row) repeat(5, var(--schedule-shift-row));
  }

  .waScheduleTimeLegend .waSheetTimeLegendLabel {
    min-height: 0;
    padding: 0 1px;
    font-size: 0.42rem;
  }

  .waScheduleDayPlaceholder {
    min-height: 254px;
  }

  .waScheduleBlock {
    padding: 3px 1px;
  }

  .waScheduleBlock strong {
    font-size: 0.46rem;
  }

  .waScheduleBlock span {
    font-size: 0.4rem;
  }

  .waCalendarWeekdays,
  .waCalendar {
    width: 100%;
    min-width: 0;
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .waCalendarWeekdays span {
    padding: 6px 1px;
    font-size: 0.58rem;
  }

  .waCalendarDay,
  .waCalendarDay > button {
    min-height: 58px;
  }

  .waCalendarDay > button {
    padding: 21px 2px 5px;
  }

  .waCalendarDateNumber {
    top: 4px;
    right: 4px;
    font-size: 0.68rem;
  }

  .waCalendarMonthChip {
    top: 3px;
    left: 3px;
    max-width: calc(100% - 26px);
    padding: 1px 2px;
    font-size: 0.46rem;
  }

  .waSlotPreview {
    grid-template-columns: repeat(5, minmax(3px, 1fr));
    gap: 1px;
    width: min(34px, 100%);
    min-height: 8px;
  }

  .waSlotCell {
    height: 8px;
    border-radius: 2px;
    font-size: 0.38rem;
    line-height: 1;
  }

  .waSlotCellChangeAdded,
  .waSlotCellChangeRemoved,
  .waSlotCellChangeUpdated {
    font-size: 0.42rem;
    padding-bottom: 0;
  }

  .waSlotCellChangeRemoved {
    -webkit-text-stroke-width: 0.18px;
  }

  .waCalendarPopover {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    top: auto;
    width: auto;
    max-height: min(360px, 52vh);
    overflow: auto;
  }

  .waCalendarPopoverClose {
    top: 8px;
    right: 8px;
    min-width: 34px;
    width: 34px;
    height: 34px;
  }

  .waToast {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  background: var(--page-bg);
}

body {
  font-family: Arial, Helvetica, sans-serif;
}

button,
input,
textarea {
  font-family: inherit;
}

.appShell {
  min-height: 100vh;
}

.authShell {
  display: grid;
  place-items: center;
  padding: 24px;
}

.authPanel {
  width: min(460px, 100%);
  padding: 22px;
}

.authHeader {
  margin-bottom: 18px;
}

.authModeRow,
.profileMenuActions,
.headerActions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.authModeRow {
  margin-bottom: 16px;
}

.authForm {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.appHeader {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.headerInner {
  width: min(1480px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 18px;
}

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

.brandTitle {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 2.2rem);
  font-weight: 760;
  letter-spacing: 0;
}

.brandSubtitle {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.profileMenu {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-muted);
}

.profileMenuHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

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

.profileMenu :where(.fui-Field, .fui-Input),
.authForm :where(.fui-Field, .fui-Input),
.nativeSelect {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.nativeSelect {
  min-height: 32px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.main {
  width: min(1480px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 36px;
}

.workspace {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 18px;
  gap: 18px;
  align-items: start;
}

.panel {
  min-width: 0;
  max-width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.panelHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.panelTitle {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.panelBody {
  min-width: 0;
  padding: 18px;
}

.formGrid {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 14px;
  gap: 14px;
  min-width: 0;
}

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

.twoCol > * {
  min-width: 0;
}

.settingsPanel :where(.fui-Field, .fui-Input) {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.summaryStrip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 10px;
  gap: 10px;
  margin-bottom: 16px;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--surface-muted);
}

.metricValue {
  display: block;
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 760;
}

.metricLabel {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

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

.statusLine {
  min-height: 22px;
  color: var(--selected-strong);
  font-size: 0.88rem;
}

.statusLine[data-kind="error"] {
  color: var(--danger);
}

.sheetScroller {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 4px;
}

.sheetWeekRow {
  display: block;
}

.weekSheet {
  width: max(980px, 100%);
  min-width: 980px;
  display: grid;
  grid-template-columns: repeat(7, minmax(128px, 1fr));
  border: 2px solid var(--line-strong);
  border-bottom: 0;
}

.weekSheet:last-child {
  border-bottom: 2px solid var(--line-strong);
}

.sheetWeekRow:last-child .weekSheet {
  border-bottom: 2px solid var(--line-strong);
}

.sheetTimeRail {
  display: none;
}

.sheetDay {
  border-right: 2px solid var(--line-strong);
  background: var(--surface);
}

.sheetDay:last-child {
  border-right: 0;
}

.sheetDayHeader {
  min-height: 58px;
  padding: 6px 8px;
  text-align: center;
  border-bottom: 2px solid var(--line-strong);
  background: #f3f4f6;
}

.sheetDayName {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.05;
}

.sheetDayNameShort {
  display: none;
}

.sheetDate {
  display: block;
  margin-top: 2px;
  font-size: 0.98rem;
}

.sheetBlock {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  min-height: 34px;
  border-bottom: 1px solid var(--line-strong);
}

.sheetBlock:last-child {
  border-bottom: 0;
}

.sheetCheck {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  border-right: 1px solid var(--line-strong);
}

.sheetLabel {
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 700;
}

.daySelected .sheetDayHeader {
  background: var(--selected);
}

.calendarMode {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  position: relative;
  z-index: 5;
  overflow: visible;
}

.calendarFillLegend {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-muted);
}

.calendarFillLegendItems {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.calendarFillLegendItem {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.outlookCalendar {
  position: relative;
  z-index: 1;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.outlookWeekdays,
.outlookCalendarGrid {
  display: grid;
  grid-template-columns: repeat(7, minmax(76px, 1fr));
  min-width: 620px;
}

.outlookWeekdays {
  border-bottom: 1px solid var(--line);
  background: #f3f4f6;
}

.outlookWeekday {
  padding: 8px 4px;
  color: var(--muted);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
}

.outlookCalendarGrid {
  position: relative;
  overflow: visible;
}

.outlookDay {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 94px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  overflow: visible;
}

.outlookDayEdge {
  border-right: 0;
}

.outlookDayMonthAlt {
  background: #fbfcff;
}

.outlookDayMonthStart {
  box-shadow: inset 3px 0 0 rgb(15 108 189 / 24%);
}

.outlookDaySelected {
  background: #f3fbf8;
}

.outlookDayMonthAlt.outlookDaySelected {
  background: #eff9f7;
}

.calendarDayPopoverOpen {
  z-index: 1000;
}

.outlookDayButton {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 94px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.outlookDayButton:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.outlookMonthChip {
  position: absolute;
  top: 7px;
  left: 7px;
  z-index: 3;
  max-width: calc(100% - 14px);
  overflow: hidden;
  padding: 2px 6px;
  border-radius: 4px;
  color: #30506e;
  background: rgb(255 255 255 / 86%);
  box-shadow: inset 0 0 0 1px rgb(15 108 189 / 16%);
  font-size: 0.68rem;
  font-weight: 760;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.outlookDateCircle {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 760;
  overflow: hidden;
}

.outlookDateCircleSelected {
  border-color: var(--selected-strong);
}

.outlookDateCircleActive {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgb(15 108 189 / 14%);
}

.calendarSlotDay {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: end;
  justify-items: center;
  width: 100%;
  height: 100%;
  min-height: 94px;
  padding: 30px 10px 10px;
  border: 0;
  background: transparent;
  color: var(--text);
}

.calendarSlotDaySelected {
  color: var(--selected-strong);
}

.calendarSlotDayActive {
  color: var(--accent);
}

.calendarSlotDate {
  position: absolute;
  top: 8px;
  right: 9px;
  font-size: 0.96rem;
  font-weight: 760;
  line-height: 1;
}

.calendarSlotDay .slotPreview {
  width: min(76px, 100%);
  margin-top: 0;
  min-height: 18px;
}

.calendarSlotDay .slotCell {
  height: 18px;
}

.clockDateNumber {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 70%);
}

.clockRings {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
}

.clockSvg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.clockTrack,
.clockArc {
  fill: none;
}

.clockTrack {
  stroke: var(--clock-empty);
}

.clockTrackAm {
  stroke-width: 6;
}

.clockTrackPm {
  stroke-width: 7;
}

.clockArc {
  stroke-linecap: round;
}

.clockArcAm {
  stroke: var(--clock-am);
  stroke-width: 6;
}

.clockArcPm {
  stroke: var(--clock-pm);
  stroke-width: 7;
}

.clockTickLine {
  stroke: rgb(15 23 42 / 72%);
  stroke-linecap: round;
  stroke-width: 1.7;
}

.clockIcon {
  position: relative;
  display: inline-flex;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  overflow: hidden;
}

.clockIcon .clockTrackAm,
.clockIcon .clockArcAm {
  stroke-width: 6.5;
}

.clockIcon .clockTrackPm,
.clockIcon .clockArcPm {
  stroke-width: 8;
}

.clockIconCenter {
  position: absolute;
  inset: 17px;
  z-index: 2;
  border-radius: 50%;
  background: var(--surface);
}

.slotLegend {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-muted);
}

.slotLegendTitle {
  font-size: 0.9rem;
  font-weight: 700;
}

.slotLegendHelp {
  max-width: 560px;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.slotLegendBlocks {
  display: grid;
  grid-template-columns: repeat(5, minmax(58px, 1fr));
  grid-gap: 4px;
  gap: 4px;
  justify-content: flex-end;
  width: min(420px, 100%);
}

.slotLegendItem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.slotPreview {
  display: grid;
  grid-template-columns: repeat(5, minmax(18px, 1fr));
  grid-gap: 3px;
  gap: 3px;
  margin-top: 10px;
  min-height: 22px;
}

.slotCell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--selected-strong);
  font-size: 0.74rem;
  font-weight: 800;
}

.slotCellSelected {
  border-color: var(--selected-strong);
  background: #eefbf6;
}

.calendarDayTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 24px;
}

.calendarDayName {
  font-weight: 700;
}

.calendarDate {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
}

.countBadgeSlot {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  width: 34px;
  min-width: 34px;
  height: 24px;
}

.calendarPopover {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 10000;
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  width: max-content;
  min-width: min(248px, 80vw);
  max-height: min(430px, calc(100vh - 120px));
  overflow: auto;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 28px rgb(15 23 42 / 18%);
  transform-origin: top left;
  animation: waPopoverIn var(--motion-fast) var(--motion-ease) both;
}

.calendarPopoverClose {
  display: none;
}

.outlookDayEdge .calendarPopover {
  right: 0;
  left: auto;
}

.timeBlockButton {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-gap: 0;
  gap: 0;
  align-items: center;
  width: 100%;
  min-height: 42px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition:
    border-color var(--motion-fast) ease,
    background-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    transform var(--motion-fast) var(--motion-ease);
}

.timeBlockButton .slotPreview {
  margin-top: 0;
  min-height: 22px;
}

.timeBlockButton:hover,
.timeBlockButton:focus-visible {
  border-color: var(--accent);
}

.timeBlockButtonSelected {
  border-color: var(--selected-strong);
  background: #f3fbf8;
  box-shadow: inset 0 0 0 1px var(--selected-strong);
  animation: waSelectionSettle 140ms var(--motion-ease) both;
}

.timeBlockText {
  display: grid;
  grid-gap: 2px;
  gap: 2px;
  min-width: 0;
}

.timeBlockLabel {
  font-size: 0.86rem;
  font-weight: 700;
}

.timeBlockPeriod {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

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

.tinyPill {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #0b4778;
  font-size: 0.76rem;
  font-weight: 700;
}

.painterLayout {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  grid-gap: 18px;
  gap: 18px;
  min-width: 0;
}

.paintBrushPanel {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  align-content: start;
  min-width: 0;
}

.paintCalendar {
  min-width: 0;
}

.paintWeekdays {
  display: none;
}

.paintDateGrid {
  display: grid;
  grid-template-columns: repeat(7, minmax(96px, 1fr));
  grid-gap: 8px;
  gap: 8px;
  min-width: 0;
}

.paintDayButton {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-muted);
  color: var(--text);
}

.paintDayButton {
  height: 108px;
  padding: 10px;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}

.paintMonthChip {
  display: none;
}

.paintDayButton:hover {
  border-color: var(--accent);
}

.paintDaySelected {
  border-color: var(--selected-strong);
  background: var(--selected);
}

.paintDayMatches {
  box-shadow: inset 0 0 0 2px var(--selected-strong);
}

.choiceGroup {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  min-width: 0;
}

.choiceGroupTitle {
  margin: 0 0 4px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
}

.actionRow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.viewerLayout {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(360px, 1fr);
  grid-gap: 18px;
  gap: 18px;
}

.responseViewerStack {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
}

.responseSummaryGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 10px;
  gap: 10px;
  margin-bottom: 14px;
}

.periodGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  grid-gap: 8px;
  gap: 8px;
  margin-bottom: 14px;
}

.periodCard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  min-height: 48px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-muted);
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.periodCardSelected {
  border-color: var(--selected-strong);
  background: var(--selected);
  box-shadow: inset 0 0 0 1px var(--selected-strong);
}

.periodLabel {
  min-width: 0;
  overflow: hidden;
  font-size: 0.86rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.periodCount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--selected-strong);
  font-size: 0.82rem;
  font-weight: 800;
}

.responseSearchPanel {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(260px, 1.2fr) minmax(116px, 0.45fr);
  grid-gap: 10px;
  gap: 10px;
  align-items: end;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-muted);
}

.responseSearchSelect {
  width: 100%;
  min-height: 32px;
  min-width: 0;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.responseSearchTimes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.responseSearchTimeButton {
  min-height: 32px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
}

.responseSearchTimeButton:hover,
.responseSearchTimeButton:focus-visible {
  border-color: var(--accent);
  outline: 2px solid rgb(15 108 189 / 16%);
  outline-offset: 1px;
}

.responseSearchTimeButtonSelected {
  border-color: var(--selected-strong);
  background: var(--selected);
  color: var(--selected-strong);
}

.searchResultSummary {
  min-width: 0;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.searchResultHours {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

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

.searchResultButton {
  display: grid;
  grid-gap: 2px;
  gap: 2px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.searchResultButton span:first-child {
  font-weight: 800;
}

.searchResultMeta,
.searchResultBlocks {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.searchResultCoverage {
  color: var(--selected-strong);
  font-size: 0.78rem;
  font-weight: 800;
}

.viewerModeButtons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.tableWrap {
  overflow-x: auto;
}

.responseTable {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.responseTable th,
.responseTable td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  font-size: 0.92rem;
}

.responseTable th {
  color: var(--muted);
  background: var(--surface-muted);
  font-weight: 700;
}

.responseRow {
  cursor: pointer;
}

.responseRow:hover,
.responseRow[aria-selected="true"] {
  background: var(--accent-soft);
}

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

.detailItem {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: var(--surface-muted);
}

.detailLabel {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  margin-bottom: 4px;
}

.detailValue {
  font-weight: 700;
}

.miniSchedule {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  max-height: 460px;
  overflow: auto;
}

.responseSheetScroller {
  width: 100%;
  max-width: 100%;
  max-height: 560px;
  overflow: auto;
  border: 2px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
}

.responseSheetGrid {
  width: max(760px, 100%);
  min-width: 760px;
  display: grid;
  grid-template-columns: repeat(7, minmax(102px, 1fr));
  border-bottom: 2px solid var(--line-strong);
}

.responseSheetGrid:last-child {
  border-bottom: 0;
}

.responseSheetDay {
  min-width: 0;
  border-right: 2px solid var(--line-strong);
  background: var(--surface);
}

.responseSheetDay:last-child {
  border-right: 0;
}

.responseSheetDayHeader {
  min-height: 50px;
  padding: 6px 8px;
  text-align: center;
  border-bottom: 2px solid var(--line-strong);
  background: #f3f4f6;
}

.responseSheetDaySelected .responseSheetDayHeader {
  background: var(--selected);
}

.responseSheetBlock {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  min-height: 32px;
  border-bottom: 1px solid var(--line-strong);
}

.responseSheetBlock:last-child {
  border-bottom: 0;
}

.responseSheetMark {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  border-right: 1px solid var(--line-strong);
  color: var(--selected-strong);
  font-size: 0.78rem;
  font-weight: 900;
}

.responseSheetMarkSelected {
  background: #eefbf6;
}

.responseSheetLabel {
  overflow: hidden;
  padding: 0 5px;
  text-align: center;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.combinedSchedule {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  max-height: 560px;
  overflow: auto;
}

.combinedDay {
  display: grid;
  grid-template-columns: minmax(112px, 0.32fr) minmax(0, 1fr);
  grid-gap: 10px;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-muted);
}

.combinedDate {
  display: grid;
  grid-gap: 3px;
  gap: 3px;
  color: var(--text);
}

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

.combinedBlocks {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-gap: 5px;
  gap: 5px;
  min-width: 0;
}

.combinedBlock {
  display: grid;
  grid-gap: 3px;
  gap: 3px;
  min-width: 0;
  min-height: 58px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.combinedBlockSelected {
  border-color: var(--selected-strong);
  background: #eefbf6;
}

.combinedBlockLabel,
.combinedBlockCount {
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
}

.combinedBlockCount {
  color: var(--selected-strong);
}

.combinedBlockNames {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.combinedAvailabilityView {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  position: relative;
}

.combinedMatrixWrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  max-height: 560px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.combinedMatrixWrapWithPopup {
  padding-bottom: 380px;
}

.combinedMatrix {
  width: 100%;
  min-width: 700px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.combinedMatrix th,
.combinedMatrix td {
  padding: 8px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.combinedMatrix th:last-child,
.combinedMatrix td:last-child {
  border-right: 0;
}

.combinedMatrix tbody tr:last-child th,
.combinedMatrix tbody tr:last-child td {
  border-bottom: 0;
}

.combinedMatrix thead th {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f3f4f6;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.combinedMatrix thead th:first-child {
  left: 0;
  z-index: 4;
}

.combinedMatrixDate {
  position: -webkit-sticky;
  position: sticky;
  left: 0;
  z-index: 1;
  width: 132px;
  background: var(--surface-muted);
}

.combinedMatrixDate strong,
.combinedMatrixDate span {
  display: block;
}

.combinedMatrixDate span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.combinedMatrixCell {
  min-width: 108px;
  height: 66px;
  padding: 0;
  background: var(--surface);
}

.combinedMatrixCellSelected {
  background: #eefbf6;
}

.combinedMatrixCellActive {
  box-shadow: inset 0 0 0 2px var(--accent);
}

.combinedMatrixButton {
  display: grid;
  place-content: center;
  grid-gap: 3px;
  gap: 3px;
  width: 100%;
  min-height: 66px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: center;
}

.combinedMatrixButton:hover,
.combinedMatrixButton:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.combinedMatrixCount {
  display: block;
  color: var(--selected-strong);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.combinedMatrixHint {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
}

.combinedSlotPanel {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 30;
  width: min(360px, calc(100% - 16px));
  max-height: min(360px, calc(100vh - 24px));
  overflow: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-muted);
  box-shadow: 0 18px 48px rgb(17 24 39 / 22%);
}

.combinedSlotHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2px;
}

.combinedSlotClose {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.combinedSlotClose:hover,
.combinedSlotClose:focus-visible {
  border-color: var(--accent);
  outline: 2px solid rgb(15 108 189 / 20%);
  outline-offset: 1px;
}

.combinedPeopleList {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.combinedPersonItem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.combinedPersonItem span:first-child {
  font-weight: 800;
}

.combinedPersonItem span:last-child,
.combinedSlotEmpty {
  color: var(--muted);
  font-size: 0.78rem;
}

.miniDay {
  display: grid;
  grid-template-columns: 120px 1fr;
  grid-gap: 10px;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.emptyState {
  padding: 28px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--surface-muted);
}

@media (max-width: 1320px) {
  .workspace,
  .viewerLayout,
  .painterLayout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 1100px) {
  .viewerLayout,
  .painterLayout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  html,
  body {
    overflow-x: hidden;
  }

  .headerInner,
  .main {
    width: min(100% - 12px, 1480px);
  }

  .main {
    padding-top: 12px;
  }

  .panelHeader {
    padding: 14px 12px;
  }

  .panelBody {
    padding: 12px 8px;
  }

  .brandRow,
  .profileMenuHeader,
  .panelHeader,
  .modeBar,
  .slotLegend,
  .calendarFillLegend {
    align-items: flex-start;
    flex-direction: column;
  }

  .twoCol,
  .profileGrid,
  .summaryStrip,
  .detailsGrid {
    grid-template-columns: 1fr;
  }

  .viewerLayout,
  .tableWrap {
    max-width: 100%;
    min-width: 0;
  }

  .responseSummaryGrid,
  .responseSearchPanel {
    grid-template-columns: 1fr;
  }

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

  .viewerModeButtons {
    justify-content: flex-start;
  }

  .responseTable {
    min-width: 720px;
  }

  .responseSheetGrid {
    width: max(600px, 100%);
    min-width: 600px;
    grid-template-columns: repeat(7, minmax(78px, 1fr));
  }

  .responseSheetDayHeader {
    min-height: 46px;
    padding: 5px 4px;
  }

  .responseSheetBlock {
    grid-template-columns: 24px minmax(0, 1fr);
    min-height: 30px;
  }

  .responseSheetLabel {
    padding: 0 3px;
    font-size: 0.66rem;
  }

  .combinedMatrix {
    min-width: 620px;
  }

  .combinedMatrix th,
  .combinedMatrix td {
    padding: 6px;
  }

  .combinedMatrixDate {
    width: 104px;
  }

  .combinedMatrixDate strong {
    font-size: 0.78rem;
  }

  .combinedMatrixDate span,
  .combinedMatrixHint,
  .combinedPersonItem span:last-child,
  .combinedSlotEmpty {
    font-size: 0.64rem;
  }

  .combinedMatrixCell {
    min-width: 92px;
    height: 58px;
  }

  .combinedMatrixButton {
    min-height: 58px;
  }

  .combinedSlotPanel {
    max-height: min(320px, calc(100vh - 16px));
  }

  .combinedMatrixWrapWithPopup {
    padding-bottom: 340px;
  }

  .combinedPersonItem {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

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

  .combinedBlocks {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 3px;
  }

  .combinedBlock {
    min-height: 50px;
    padding: 5px 3px;
  }

  .combinedBlockNames {
    display: none;
  }

  .modeBar > * {
    max-width: 100%;
    min-width: 0;
  }

  .modeBar :where(.fui-TabList) {
    max-width: 100%;
    overflow-x: auto;
  }

  .sheetScroller {
    max-width: 100%;
    overflow-x: auto;
  }

  .sheetWeekRow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    width: max(378px, 100%);
    min-width: 378px;
  }

  .weekSheet {
    width: 100%;
    min-width: 0;
    grid-template-columns: repeat(7, minmax(48px, 1fr));
  }

  .sheetDayHeader {
    min-height: 44px;
    padding: 5px 4px;
  }

  .sheetDayName {
    font-size: 0.62rem;
  }

  .sheetDayNameFull {
    display: none;
  }

  .sheetDayNameShort {
    display: block;
  }

  .sheetDate {
    font-size: 0.74rem;
  }

  .sheetBlock {
    grid-template-columns: 1fr;
    min-height: 38px;
  }

  .sheetCheck {
    border-right: 0;
  }

  .sheetLabel {
    display: none;
  }

  .sheetTimeRail {
    display: grid;
    grid-template-rows: 44px repeat(6, 38px);
    border: 2px solid var(--line-strong);
    border-bottom: 0;
    border-left: 0;
    background: #f3f4f6;
  }

  .sheetWeekRow:last-child .sheetTimeRail {
    border-bottom: 2px solid var(--line-strong);
  }

  .sheetTimeRailHeader {
    border-bottom: 2px solid var(--line-strong);
  }

  .sheetTimeRailLabel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 0 2px;
    border-bottom: 1px solid var(--line-strong);
    font-size: 0.58rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
  }

  .sheetTimeRailLabel:last-child {
    border-bottom: 0;
  }

  .calendarMode,
  .outlookCalendar,
  .painterLayout,
  .paintDateGrid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .outlookWeekdays,
  .outlookCalendarGrid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
  }

  .outlookDay,
  .outlookDayButton {
    min-height: 58px;
  }

  .outlookDateCircle {
    width: 38px;
    height: 38px;
    font-size: 0.78rem;
  }

  .calendarSlotDay {
    width: 100%;
    min-height: 58px;
    padding: 26px 3px 6px;
  }

  .calendarSlotDate {
    top: 4px;
    right: 5px;
    font-size: 0.8rem;
  }

  .calendarSlotDay .slotPreview {
    grid-template-columns: repeat(5, minmax(3px, 1fr));
    gap: 1px;
    min-height: 8px;
  }

  .calendarSlotDay .slotCell {
    height: 8px;
    border-radius: 2px;
    font-size: 0.38rem;
    line-height: 1;
  }

  .clockDateNumber {
    width: 20px;
    height: 20px;
    font-size: 0.72rem;
    line-height: 1;
  }

  .outlookMonthChip {
    top: 3px;
    left: 3px;
    max-width: calc(100% - 6px);
    padding: 1px 3px;
    font-size: 0.52rem;
  }

  .calendarPopover,
  .outlookDayEdge .calendarPopover {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: auto;
    top: auto;
    width: min(238px, calc(100vw - 24px));
    min-width: 0;
    max-height: min(360px, 48vh);
    padding: 8px;
    gap: 5px;
    transform: none;
  }

  .calendarPopoverClose {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    width: 28px;
    height: 28px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface-muted);
    color: var(--text);
    font-size: 0.72rem;
    font-weight: 800;
    cursor: pointer;
  }

  .calendarPopover .timeBlockButton {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    min-height: 38px;
    padding: 5px 7px;
  }

  .calendarPopover .clockIcon {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }

  .calendarPopover .clockIconCenter {
    inset: 14px;
  }

  .calendarFillLegendItems {
    justify-content: flex-start;
  }

  .paintCalendar {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
  }

  .paintWeekdays {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    border-bottom: 1px solid var(--line);
    background: #f3f4f6;
  }

  .paintDateGrid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0;
  }

  .paintDayButton {
    height: 62px;
    padding: 4px;
    border: 0;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .paintDayButton .calendarDayTop {
    justify-content: flex-end;
    gap: 2px;
    min-height: 14px;
  }

  .paintDayButton .calendarDayName {
    display: none;
  }

  .paintDayButton .countBadgeSlot {
    width: 16px;
    min-width: 16px;
    height: 14px;
  }

  .paintDayButton :where(.fui-Badge) {
    min-width: 14px;
    height: 14px;
    padding: 0 3px;
    font-size: 0.58rem;
    line-height: 1;
  }

  .paintDayButton .calendarDate {
    margin-top: 12px;
    color: var(--text);
    font-size: 0.86rem;
    font-weight: 760;
    line-height: 1;
    text-align: center;
  }

  .paintDayButton .slotPreview {
    grid-template-columns: repeat(5, minmax(3px, 1fr));
    gap: 1px;
    min-height: 8px;
    margin-top: 4px;
  }

  .paintDayButton .slotCell {
    height: 8px;
    border-radius: 2px;
    font-size: 0.38rem;
    line-height: 1;
  }

  .paintDayMonthAlt {
    background: #fbfcff;
  }

  .paintDayMonthStart {
    box-shadow: inset 3px 0 0 rgb(15 108 189 / 24%);
  }

  .paintMonthChip {
    position: absolute;
    top: 3px;
    left: 3px;
    display: block;
    max-width: calc(100% - 6px);
    overflow: hidden;
    padding: 1px 3px;
    border-radius: 4px;
    color: #30506e;
    background: rgb(255 255 255 / 86%);
    box-shadow: inset 0 0 0 1px rgb(15 108 189 / 16%);
    font-size: 0.5rem;
    font-weight: 760;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .slotLegendBlocks {
    width: 100%;
    justify-content: flex-start;
  }

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

