:root {
  color-scheme: light;
  --wm-ink: #12263a;
  --wm-paper: #edf4fa;
  --wm-white: #fff;
  --wm-blue: #134d95;
  --wm-muted: #435a6d;
  --wm-line: #cad9e8;
  --wm-soft: #e1eefc;
  font-family: "SSS Sans", "Segoe UI", sans-serif;
  color: var(--wm-ink);
  background: var(--wm-paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, figure, dl { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #0879b8; outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
.wm-skip { position: fixed; inset: 8px auto auto 8px; z-index: 3; transform: translateY(-160%); padding: 9px 14px; background: var(--wm-ink); color: white; }
.wm-skip:focus { transform: none; }
.wm-width { width: min(calc(100% - 32px), 984px); margin-inline: auto; }
.wm-header { border-bottom: 1px solid var(--wm-line); background: var(--wm-white); }
.wm-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 9px; min-height: 69px; }
.wm-brand { display: flex; align-items: center; gap: 8px; }
.wm-brand img { object-fit: contain; }
.wm-brand span { display: grid; line-height: 1; }
.wm-brand strong { font-weight: 760; letter-spacing: -.027em; font-size: 1.46rem; }
.wm-brand small { margin-top: 3px; font-size: .68rem; font-weight: 660; }
.wm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: .9rem;
  font-weight: 720;
  white-space: nowrap;
}
.wm-primary { color: var(--wm-white); background: var(--wm-blue); border-color: var(--wm-blue); }
.wm-primary:hover:not(:disabled) { background: #103b70; }
.wm-outline { color: var(--wm-ink); background: transparent; border-color: #809bb7; }
.wm-outline:hover:not(:disabled) { background: #e5eff9; }
.wm-link {
  min-height: 44px;
  padding: 0;
  border: 0;
  color: #103b70;
  background: transparent;
  font-weight: 710;
  text-align: start;
  text-decoration: underline;
  text-underline-offset: .19em;
}
#worker-main { padding-block: clamp(26px, 6vw, 70px); }
.wm-context { color: #134d95; font-size: .84rem; font-weight: 730; }
.wm-loading, .wm-help, .wm-account { color: var(--wm-muted); line-height: 1.45; }
.wm-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(18px, 5.5vw, 74px); align-items: start; }
.wm-auth-intro { padding: clamp(18px, 4vw, 47px); border: 1px solid #bfd4ea; border-radius: 7px; background: var(--wm-soft); }
.wm-auth h1, .wm-intro h1 {
  margin-block: 10px 12px;
  font-size: clamp(2.4rem, 5.9vw, 4.55rem);
  font-family: "SSS Editorial", Georgia, serif;
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: .99;
  text-wrap: balance;
}
.wm-auth-intro > p:last-child { color: #435a6d; line-height: 1.52; max-width: 45ch; }
.wm-auth-panel { border-radius: 7px; padding: clamp(15px, 3.8vw, 35px); border: 1px solid var(--wm-line); border-top: 4px solid var(--wm-blue); background: var(--wm-white); }
.wm-auth-panel form { display: grid; gap: 12px; }
.wm-auth-panel .wm-link { margin-top: 7px; }
.wm-field { display: grid; gap: 5px; min-width: 0; font-size: .88rem; font-weight: 720; }
.wm-field input {
  width: 100%;
  min-height: 47px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid #809bb7;
  border-radius: 4px;
  color: var(--wm-ink);
  background: white;
  font-size: 1rem;
  font-weight: 480;
}
.wm-auth .wm-help { font-size: .82rem; margin-top: -6px; }
.wm-error { color: #8d2e25; font-size: .9rem; line-height: 1.4; }
.wm-error:empty { display: none; }
.wm-notice { padding: 11px 13px; border-block: 1px solid #bfd4ea; background: var(--wm-soft); color: var(--wm-ink); line-height: 1.48; }
.wm-notice[data-kind="success"] { background: #e6eee1; border-color: #b7ccb4; }
.wm-auth-panel > .wm-notice { margin-bottom: 12px; }
.wm-area > .wm-notice { margin-top: 13px; }
.wm-intro { display: flex; align-items: end; justify-content: space-between; gap: 10px; padding-bottom: 15px; border-bottom: 1px solid var(--wm-line); }
.wm-account { overflow-wrap: anywhere; }
.wm-account small { display: block; }
.wm-switch {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-block: 16px 18px;
  padding: 4px;
  border: 1px solid var(--wm-line);
  border-radius: 5px;
  background: #e5eff9;
}
.wm-switch button { min-height: 44px; padding: 7px 12px; border: 1px solid transparent; border-radius: 3px; color: var(--wm-ink); background: transparent; font-size: .9rem; font-weight: 700; }
.wm-switch button[aria-pressed="true"] { background: var(--wm-blue); color: white; border-color: var(--wm-blue); }
.wm-switch button[aria-pressed="false"]:hover { background: white; }
.wm-list-header { display: flex; justify-content: space-between; align-items: end; gap: 8px; margin-bottom: 8px; }
.wm-list-header h2 { font-size: clamp(1.4rem, 3.2vw, 2.02rem); letter-spacing: -.028em; }
.wm-list-header p { flex: none; font-size: .83rem; color: var(--wm-muted); }
.wm-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.wm-shift {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 17px;
  padding: 15px;
  border: 1px solid var(--wm-line);
  border-radius: 7px;
  background: var(--wm-white);
}
.wm-shift h3 { margin-block: 4px; font-size: clamp(1.15rem, 2.2vw, 1.43rem); line-height: 1.12; letter-spacing: -.02em; overflow-wrap: anywhere; }
.wm-date { color: #103b70; font-size: .84rem; font-weight: 730; }
.wm-place, .wm-schedule { color: #435a6d; font-size: .88rem; line-height: 1.45; overflow-wrap: anywhere; }
.wm-shift-meta { display: grid; justify-items: end; gap: 4px; min-width: 0; }
.wm-wage { font-size: 1.08rem; font-weight: 760; color: var(--wm-ink); white-space: nowrap; }
.wm-status { color: var(--wm-muted); font-size: .84rem; text-align: end; }
.wm-status[data-confirmed] { color: #345944; font-weight: 700; }
.wm-detail-button { grid-column: 1 / -1; justify-self: start; }
.wm-empty { padding-block: 14px; color: var(--wm-muted); line-height: 1.5; }
.wm-dialog {
  width: min(calc(100% - 24px), 552px);
  max-width: none;
  max-height: min(90dvh, 720px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--wm-line);
  border-radius: 8px;
  color: var(--wm-ink);
  background: var(--wm-white);
}
.wm-dialog::backdrop { background: #12263a88; }
.wm-dialog-content { padding: clamp(15px, 4.3vw, 31px); border-top: 4px solid var(--wm-blue); }
.wm-dialog-header { display: flex; align-items: start; justify-content: space-between; gap: 9px; }
.wm-dialog-header h2 { margin-top: 4px; font-size: clamp(1.45rem, 4.8vw, 2.2rem); line-height: 1.09; letter-spacing: -.025em; overflow-wrap: anywhere; }
.wm-details { display: grid; margin-block: 14px; border-top: 1px solid var(--wm-line); }
.wm-details > div { display: grid; grid-template-columns: minmax(75px,.45fr) minmax(0, 1fr); gap: 5px 10px; padding-block: 8px; border-bottom: 1px solid var(--wm-line); }
.wm-details dt { color: var(--wm-muted); font-size: .84rem; }
.wm-details dd { margin: 0; font-weight: 660; overflow-wrap: anywhere; }
.wm-dialog .wm-primary { width: 100%; margin-top: 11px; }
.wm-dialog .wm-primary[aria-disabled="true"] { border-color: #cad9e8; background: #e5eff9; color: #435a6d; cursor: not-allowed; }
.wm-dialog .wm-error { margin-top: 7px; }
@media (max-width: 620px) {
  .wm-auth { grid-template-columns: 1fr; gap: 14px; }
  .wm-intro { align-items: start; flex-direction: column; }
}
@media (min-width: 690px) {
  .wm-shift { grid-template-columns: minmax(0,1fr) minmax(100px,auto) auto; }
  .wm-detail-button { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

.wm-demo-nav { display: none; }
[data-hosted-demo] .wm-demo-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.85rem;
  margin-top: 1rem;
  padding: 0.3rem 0.75rem;
  border-inline-start: 4px solid #327cb9;
  border-radius: 4px;
  background: #dcecf9;
}
.wm-demo-nav a {
  padding-block: 0.45rem;
  color: var(--wm-blue);
  font-size: 0.86rem;
  font-weight: 700;
  text-underline-offset: 3px;
}
.wm-demo-access {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--wm-line);
}
.wm-demo-access h2 { color: var(--wm-blue); font-size: 1.3rem; }
.wm-demo-user { color: var(--wm-muted); font-size: 0.86rem; overflow-wrap: anywhere; }
.wm-demo-user code { margin-inline-start: 0.25em; color: var(--wm-ink); }
.wm-demo-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 0 0.65rem; }
