/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** 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;
}

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: 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;
}

.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: var(--surface);
}

.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;
}

.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;
}

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

.waCopperHelpButton img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.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: var(--surface);
  box-shadow: 0 24px 60px rgb(15 23 42 / 20%);
}

.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;
}

.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);
}

.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;
}

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

.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;
}

.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;
}

.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;
}

.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);
}

.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%);
}

.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;
  color: var(--muted);
}

.waStaffScoreStats > span {
  overflow: hidden;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.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;
}

.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 {
  position: relative;
  display: grid;
  width: 250px;
  height: 250px;
  place-items: center;
  border-radius: 50%;
}

.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;
}

.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;
}

.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;
}

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

@media (max-width: 720px) {
  .waScoreBreakdownDetail {
    width: min(320px, calc(100vw - 48px));
    margin-right: 0;
    margin-left: 0;
  }

  .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);
}

.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));
}

.waMetric {
  position: relative;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.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%);
}

.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));
}

.waScoreSettingsPopover {
  width: min(640px, calc(100vw - 32px));
  max-height: min(720px, calc(100vh - 80px));
  overflow: auto;
}

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

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

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

.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);
}

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

.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%);
}

.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%);
}

.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;
}

.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;
}

.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);
}

.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 {
  position: relative;
  z-index: 2;
  scroll-margin: 120px;
  outline: 4px solid #df827d !important;
  outline-offset: 4px !important;
  box-shadow: 0 0 0 8px rgb(223 130 125 / 22%), 0 14px 32px rgb(15 23 42 / 18%) !important;
}

.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 {
  position: relative;
  z-index: 1;
  outline: 3px solid #df827d;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgb(223 130 125 / 22%);
}

.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);
}

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

.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%);
  transition:
    top 180ms ease,
    right 180ms ease,
    bottom 180ms ease,
    left 180ms ease;
}

.waTutorialCoach img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.waTutorialCoach strong {
  font-weight: 850;
}

.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;
}

.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%);
}

.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);
}

.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;
}

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

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

.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;
}

.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;
}

.waModalActions > .waUnsavedBadge {
  margin-right: auto;
}

.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;
}

.waToastSuccess {
  border-color: rgb(4 120 87 / 34%);
  background: #f0fbf7;
  color: var(--selected-strong);
}

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

.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;
}

.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 {
  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);
}

.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;
}

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

.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%);
}

.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);
  padding: 10px;
}

.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;
}

.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);
}

.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%);
}

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

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

.waSlotHistoryHeaderWithAction > div {
  display: grid;
  grid-gap: 2px;
  gap: 2px;
  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: #005a9e;
}

.waSlotHistoryItem-removed {
  border-left-color: #b34d00;
}

.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;
}

.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 {
  display: grid;
  grid-gap: 3px;
  gap: 3px;
  min-height: 52px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.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;
}

.waMobileBlockButtonChangeAdded,
.waBlockButtonChangeAdded {
  border-color: #005a9e;
  background: #d7ebff;
  color: #004578;
  box-shadow: inset 4px 0 0 #005a9e;
}

.waMobileBlockButtonChangeRemoved,
.waBlockButtonChangeRemoved {
  border-color: #b34d00;
  background: #ffe1cc;
  color: #8a3700;
  box-shadow: inset 4px 0 0 #b34d00;
}

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

.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);
}

.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;
}

.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 #005a9e, inset 5px 0 0 #005a9e;
}

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

.waSheetBlockChangeRemoved {
  background: #ffe1cc;
  box-shadow: inset 0 0 0 2px #b34d00, inset 5px 0 0 #b34d00;
}

.waSheetBlockChangeRemoved > span {
  color: #8a3700;
  font-weight: 900;
  text-decoration: line-through;
}

.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: #005a9e;
  --fui-Checkbox__indicator--borderColor: #005a9e;
}

.waSheetBlockChangeRemoved .waSheetCheckbox {
  --fui-Checkbox__indicator--backgroundColor: #b34d00;
  --fui-Checkbox__indicator--borderColor: #b34d00;
}

.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: #005a9e;
}

.waSheetBlockChangeRemoved .waSheetCheckbox .fui-Checkbox__indicator {
  color: #b34d00;
}

.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;
}

.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: #ffe1cc;
  color: #8a3700;
}

.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;
}

.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);
}

.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;
}

.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;
}

.waSlotCellSelected {
  border-color: var(--selected-strong);
  background: #eefbf6;
}

.waSlotCellPreferred {
  border-color: #b7791f;
  background: #fff7d6;
  color: #7a4b00;
}

.waCalendarPopover {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 20;
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  width: min(260px, 90vw);
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgb(15 23 42 / 18%);
}

.waBlockButton {
  display: grid;
  grid-gap: 2px;
  gap: 2px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 10px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.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: #005a9e;
  background: #d7ebff;
  color: #004578;
  box-shadow: inset 4px 0 0 #005a9e;
}

.waBlockButtonChangeRemoved {
  border-color: #b34d00;
  background: #ffe1cc;
  color: #8a3700;
  box-shadow: inset 4px 0 0 #b34d00;
}

.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);
}

.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;
}

.waPersonRow {
  grid-template-columns: minmax(140px, 1fr) minmax(120px, 0.7fr) auto;
}

@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 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :where(input, select, textarea),
  :where(.fui-Input input),
  :where(.fui-Input__input),
  .waSelect,
  .waTextarea {
    font-size: 16px;
  }

  .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(86px + 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 {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 820;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-gap: 6px;
    gap: 6px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgb(255 255 255 / 96%);
    box-shadow: 0 -12px 28px rgb(15 23 42 / 14%);
  }

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

  .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(74px + 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: 132px;
    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;
  }

  .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;
  }

  .waModal {
    position: relative;
    max-height: calc(100vh - 12px);
    max-height: calc(100dvh - 12px);
  }

  .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));
  }

  .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;
  }

  .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;
  }

  .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;
  }

  .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;
  }

  .waCalendarPopover {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    top: auto;
    width: auto;
    max-height: min(360px, 52vh);
    overflow: auto;
  }

  .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%);
}

.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;
}

.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);
}

.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;
  }
}

