@import "./commons-ui.css";
.worker-app {
  --cu-bg: #e8ebdf;
  --cu-accent: #d8dea0;
}
.wc-binder {
  display: grid;
  grid-template-columns: minmax(165px, 0.48fr) 1fr;
  padding: 15px 16px 18px 0;
  background: #c7cebc;
  border: 1px solid #939f87;
  border-radius: 4px 14px 14px 4px;
  gap: 14px;
  color: #253220;
}
.wc-binder aside {
  border-left: 15px solid #465441;
  padding: 14px;
}
.wc-binder aside .cu-button {
  display: block;
  width: 100%;
  text-align: left;
  margin: 7px 0;
}
.wc-binder article {
  background: #fff2b0;
  border: 1px solid #a09a6a;
  border-bottom: 5px solid #a5ac94;
  padding: clamp(15px, 2.4vw, 30px);
}
.wc-strip,
.wc-binder footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.wc-strip small {
  color: #525b42;
}
.wc-strip strong {
  transform: rotate(-4deg);
  border: 2px solid #705925;
  padding: 5px 8px;
  color: #655026;
  font: 600 13px var(--cu-mono);
  text-transform: uppercase;
}
.wc-binder article h2 {
  font-size: clamp(28px, 4vw, 55px);
  margin: 20px 0 14px;
}
.wc-binder ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wc-binder li {
  border-top: 1px solid #b8af7e;
  padding: 6px 0;
}
.wc-binder li:before {
  content: "☐";
  margin-right: 11px;
}
.wc-binder footer {
  border-top: 1px dashed #8c8561;
  padding: 10px 0;
  font: 14px var(--cu-mono);
}
.wc-binder .cu-actions {
  margin-top: 8px;
}
@media (max-width: 660px) {
  .wc-binder {
    grid-template-columns: 1fr;
    padding: 10px;
  }
  .wc-binder aside {
    padding: 8px;
  }
  .wc-binder aside button {
    width: auto !important;
    display: inline-block !important;
  }
}
.wc-binder {
  color: var(--fx-text);
  background: var(--fx-sidebar);
  border: 1px solid var(--fx-border);
  border-radius: 4px;
  padding: 0;
  gap: 0;
}
.wc-binder aside {
  border-left: 0;
  border-right: 1px solid var(--fx-border);
}
.wc-binder article {
  background: var(--fx-surface);
  border: 0;
  border-radius: 0;
}
.wc-strip small {
  color: var(--fx-muted);
}
.wc-strip strong {
  transform: none;
  text-transform: none;
  font:
    500 12px system-ui,
    sans-serif;
  color: var(--fx-warning);
  border: 1px solid var(--fx-border);
  border-radius: 3px;
}
.wc-binder article h2 {
  font:
    600 clamp(23px, 3vw, 35px)/1.15 system-ui,
    sans-serif;
}
.wc-binder li,
.wc-binder footer {
  border-color: var(--fx-border);
}
.wc-filehead,
.mu-caption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--fx-muted);
  font-size: 12px;
}
.wc-handoff article h3 {
  margin-top: 12px;
}
.wc-task {
  display: flex;
  gap: 8px;
  align-items: center;
  text-align: left;
  background: var(--fx-surface);
  border-width: 0 0 1px;
  width: 100%;
  border-radius: 0;
}
.wc-task span {
  color: var(--fx-accent);
}
.wc-handoff .cu-form {
  margin: 12px 0;
  padding: 12px;
}
.wc-handoff aside small {
  display: block;
}
.worker-app {
  --wc-case: #414844;
  --wc-ink: #2b312e;
  --wc-paper: #f5f2e6;
  --wc-rule: #a6a99a;
  --wc-tab: #d6d9ca;
  --wc-red: #984c38;
}
[data-theme="dark"] .worker-app {
  --wc-case: #282d2b;
  --wc-ink: #eeeadd;
  --wc-paper: #343a36;
  --wc-rule: #758074;
  --wc-tab: #424a42;
  --wc-red: #f2b49e;
}
.worker-app .cu-head h1 {
  font:
    650 clamp(22px, 3vw, 36px)/1 system-ui,
    sans-serif;
  letter-spacing: -0.05em;
}
.worker-app .cu-head p {
  display: none;
}
.worker-app .cu-tabs {
  background: none;
  border: 0;
  border-bottom: 1px solid var(--fx-border);
  border-radius: 0;
  padding: 0 0 5px;
  margin: 10px 0;
}
.wc-jobdesk {
  display: grid;
  grid-template-columns: minmax(150px, 0.62fr) minmax(0, 1.65fr);
  gap: 21px;
  background: var(--wc-case);
  padding: clamp(12px, 2vw, 27px);
  border-radius: 3px;
}
.wc-drawer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-self: start;
  gap: 0;
}
.wc-drawer > div {
  display: grid;
  border-bottom: 1px solid #9da99d;
  color: #f5f6ec;
  padding: 4px 3px 15px;
  margin-bottom: 12px;
}
.wc-drawer > div strong {
  font-weight: 550;
  font-size: 17px;
}
.wc-drawer small,
.wc-sheet header,
.wc-sheet dt {
  font: 11px/1.4 var(--cu-mono);
}
.wc-drawer button {
  border: 0;
  border-radius: 0 4px 0 0;
  border-bottom: 1px solid var(--wc-case);
  background: var(--wc-tab);
  color: var(--wc-ink);
  text-align: left;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 11px 8px;
  font:
    550 13px system-ui,
    sans-serif;
}
.wc-drawer button[aria-pressed="true"] {
  background: var(--wc-paper);
  box-shadow: inset 3px 0 var(--wc-red);
}
.wc-drawer button i {
  width: 6px;
  height: 6px;
  flex: none;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.wc-sheet {
  position: relative;
  color: var(--wc-ink);
  background: var(--wc-paper);
  border: 1px solid var(--wc-rule);
  padding: clamp(16px, 2.5vw, 31px);
  box-shadow:
    3px 3px 0 var(--wc-tab),
    4px 4px 0 #50564e;
}
.wc-sheet:before {
  content: "";
  display: block;
  height: 6px;
  margin: -6px 0 14px;
  background: radial-gradient(circle, var(--wc-case) 2.5px, transparent 3px) 0
    center/22px 6px repeat-x;
}
.wc-sheet header {
  display: flex;
  justify-content: space-between;
  border-block: 1px solid var(--wc-rule);
  padding: 6px 0;
  gap: 10px;
}
.wc-sheet h2 {
  font:
    550 clamp(29px, 4.2vw, 58px)/0.99 Georgia,
    serif;
  letter-spacing: -0.058em;
  margin: 22px 0;
}
.wc-punches {
  border-top: 2px solid var(--wc-ink);
}
.wc-punches button {
  display: flex;
  width: 100%;
  align-items: center;
  text-align: left;
  gap: 12px;
  color: inherit;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--wc-rule);
  border-radius: 0;
  padding: 10px 0;
  font:
    500 15px/1.3 system-ui,
    sans-serif;
}
.wc-punches i {
  width: 20px;
  height: 20px;
  border: 1px solid var(--wc-rule);
  font: 700 16px/18px system-ui;
  text-align: center;
  flex: none;
}
.wc-punches [aria-pressed="true"] i {
  color: var(--wc-red);
  border-color: var(--wc-red);
}
.wc-sheet dl {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.wc-sheet dt {
  color: inherit;
}
.wc-sheet dd {
  margin: 3px 0;
  font:
    550 14px system-ui,
    sans-serif;
}
.wc-sheet footer {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.wc-handoff > article {
  background: var(--wc-paper);
  color: var(--wc-ink);
}
@media (max-width: 620px) {
  .wc-jobdesk {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .wc-drawer {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow-x: auto;
    min-width: 0;
  }
  .wc-drawer > div {
    display: none;
  }
  .wc-drawer button {
    flex: 0 0 110px;
  }
  .wc-sheet h2 {
    margin: 13px 0;
  }
}
.worker-app .wc-drawer > div > small {
  color: #e2eade;
}
