:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #24372e;
  background: #f5f6f2;
  font-synthesis: none;
  --green: #184c3d;
  --muted: #7b857d;
  --line: #e4e8df;
  --lime: #d3edaa;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #9fbb6b;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 36px;
  letter-spacing: -1.2px;
  font-weight: 600;
  margin-bottom: 10px;
}
h2 {
  font-size: 20px;
  letter-spacing: -0.5px;
  font-weight: 600;
  margin-bottom: 8px;
}
p {
  line-height: 1.6;
}
small {
  font-size: 12px;
}
.shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 236px;
  padding: 35px 22px;
  position: fixed;
  inset: 0 auto 0 0;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -1.2px;
}
.brand-dot {
  color: #82a949;
}
.workspace {
  font-size: 10px;
  letter-spacing: 1.6px;
  color: var(--muted);
  margin: 48px 12px 17px;
}
nav {
  display: grid;
  gap: 7px;
}
.nav-item {
  border: 0;
  background: transparent;
  color: #647169;
  text-align: left;
  padding: 14px 12px;
  border-radius: 8px;
  font-size: 13px;
  display: flex;
  gap: 13px;
  align-items: center;
  font-weight: 500;
}
.nav-item > span {
  font-size: 21px;
  line-height: 16px;
  width: 20px;
  text-align: center;
}
.nav-item:hover {
  background: #f4f6ef;
}
.nav-item.selected {
  background: #eaf0e2;
  color: var(--green);
  font-weight: 650;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 30px 12px 0;
  font-size: 11px;
  color: var(--muted);
  line-height: 2;
}
.timezone-dot,
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 100%;
  background: #477355;
  margin-right: 6px;
}
.sidebar-bottom small {
  font-size: 10px;
}
.main-wrap {
  margin-left: 236px;
  flex: 1;
  min-width: 0;
}
.topbar {
  height: 84px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 48px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: #788478;
  background: #f9faf7;
}
.account {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #35453b;
}
.avatar {
  height: 32px;
  width: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e9eddf;
  color: #466136;
  font-size: 13px;
}
.text-button {
  background: none;
  border: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  padding: 9px;
}
.account .text-button {
  margin-left: 12px;
  color: var(--muted);
  font-weight: 400;
}
main#content {
  max-width: 1320px;
  margin: auto;
  padding: 44px 48px 64px;
  min-height: calc(100vh - 140px);
}
.eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.8px;
  color: #77816c;
  margin-bottom: 14px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}
.page-heading p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 46px;
  padding: 13px 20px;
  border-radius: 7px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.primary {
  background: var(--green);
  color: #fff;
}
.primary:hover {
  background: #23634d;
}
.secondary {
  background: #fff;
  color: #354a3c;
  border-color: #dce2d6;
}
.secondary:hover {
  background: #f3f5ee;
}
.full {
  width: 100%;
}
.clock-card {
  background: #eef2e5;
  border: 1px solid #dfe5d5;
  border-radius: 12px;
  padding: 28px 32px;
}
.clock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.clock-top .eyebrow {
  margin: 0;
}
.status {
  font-size: 11px;
  border: 1px solid #d5ddc9;
  padding: 6px 10px;
  border-radius: 20px;
  color: #66735b;
  white-space: nowrap;
}
.clock-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 33px 0;
}
.clock-body h2 {
  font-size: 25px;
  margin-bottom: 9px;
}
.clock-body p {
  font-size: 13px;
  color: #7a8470;
  margin: 0;
}
.timer {
  font-size: 48px;
  font-weight: 450;
  letter-spacing: -2px;
  font-variant-numeric: tabular-nums;
  color: #40543d;
}
.clock-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.clock-actions .button {
  padding: 18px 20px;
}
.travel-button {
  background: #fffdf5;
  border: 1px solid #dadcc6;
  color: #5e613d;
}
.travel-button:hover {
  background: #f8f4df;
}
.clock-foot {
  font-size: 11px;
  color: #819073;
  border-top: 1px solid #dbe2cf;
  margin-top: 24px;
  padding-top: 17px;
}
.running {
  background: #e6efdf;
}
.stop {
  color: #fff;
  background: #884f3f;
  min-width: 260px;
  justify-content: center;
}
.stop:hover {
  background: #713e31;
}
.shift-warning {
  font-size: 13px;
  color: #8c542d;
  margin-top: 20px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 34px 0 17px;
}
.section-heading h2 {
  font-size: 18px;
  margin: 0;
}
.month-picker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.month-picker input {
  width: auto;
  background: transparent;
  padding: 8px 10px;
  min-height: 35px;
  font-size: 12px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 26px;
}
.stat {
  padding: 23px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stat > span {
  font-size: 12px;
  color: #6b766b;
}
.stat strong {
  font-weight: 550;
  font-size: 27px;
  letter-spacing: -0.8px;
  font-variant-numeric: tabular-nums;
}
.stat small {
  color: #8b9385;
  font-size: 11px;
}
.amber {
  background: #bc9658;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.panel-heading {
  padding: 23px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.panel-heading h2 {
  font-size: 16px;
  margin: 0;
}
.panel-heading > span {
  color: var(--muted);
  font-size: 11px;
}
.table-scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
  white-space: nowrap;
}
th {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: #87907f;
  background: #fcfcfa;
  padding: 14px 23px;
}
td {
  padding: 19px 23px;
  border-top: 1px solid #edf0e8;
  color: #5d685c;
}
tbody tr:hover {
  background: #fcfdf9;
}
.name-cell,
.duration-cell {
  font-weight: 600;
  color: #354733;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  border-radius: 5px;
  font-size: 10px;
  background: #edf3e7;
  color: #5e7750;
  white-space: nowrap;
}
.badge.travel {
  background: #f8f1e0;
  color: #94743a;
}
.badge.neutral,
.badge.inactive {
  background: #f0f1ed;
  color: #909586;
}
.live-label {
  font-size: 11px;
  color: #477355;
}
.cell-note {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  color: #8b9386;
  max-width: 260px;
  white-space: normal;
}
.muted {
  color: var(--muted);
}
.helper {
  font-size: 11px;
  margin-top: 17px;
}
.empty {
  text-align: center;
  padding: 40px 24px;
  color: #8a9480;
}
.empty > span {
  font-size: 30px;
}
.empty h3 {
  font-size: 15px;
  font-weight: 500;
  margin: 10px 0;
}
.empty p {
  font-size: 12px;
  margin: 0;
}
footer {
  display: flex;
  justify-content: space-between;
  padding: 20px 48px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 1px;
  color: #8d9586;
}
footer span {
  letter-spacing: 0;
}
.filters {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.filters label {
  margin: 0;
}
.filters label:not(.month-picker) {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}
.filters select {
  width: auto;
}
.export-buttons {
  margin-left: auto;
  display: flex;
  gap: 10px;
}
.worker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.worker-card {
  padding: 24px;
}
.worker-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  gap: 8px;
}
.large {
  width: 44px;
  height: 44px;
  font-size: 18px;
}
.worker-card h2 {
  font-size: 18px;
}
.worker-card > p {
  font-size: 12px;
  color: var(--muted);
}
.worker-status {
  min-height: 61px;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  margin-bottom: 14px;
}
.worker-status small {
  font-size: 10px;
}
.worker-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.worker-actions .button {
  flex: 1;
}
.worker-toggle {
  padding: 10px 0;
  color: #9a4935;
  font-size: 11px;
}
.worker-toggle:hover {
  color: #713e31;
}
.worker-list {
  display: grid;
  gap: 24px;
}
.worker-empty {
  grid-column: 1 / -1;
  background: #fff;
  border: 1px dashed #d8dfd1;
  border-radius: 10px;
}
.trash-panel {
  border: 1px solid #e2e4dd;
  border-radius: 10px;
  background: #f0f1ed;
  padding: 18px;
}
.trash-panel summary {
  color: #657064;
  font-size: 12px;
  font-weight: 650;
  list-style: none;
  cursor: pointer;
}
.trash-panel summary::-webkit-details-marker {
  display: none;
}
.trash-panel summary span {
  margin-right: 8px;
  font-size: 18px;
}
.trash-panel summary b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  margin-left: 6px;
  border-radius: 10px;
  background: #dfe3da;
  font-size: 10px;
}
.trash-help {
  margin: 14px 0 18px;
  color: #7f887b;
  font-size: 11px;
}
.trash-panel .worker-card {
  opacity: 0.78;
}
.report-notes {
  max-width: 800px;
  font-size: 12px;
  color: var(--muted);
  padding-top: 26px;
}
.report-notes h3 {
  font-size: 13px;
  color: #66745f;
}
.warning {
  padding: 16px 20px;
  border: 1px solid #e3d9b8;
  background: #fff9e9;
  color: #8a6933;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 24px;
}
details {
  white-space: normal;
  max-width: 600px;
  font-size: 11px;
}
summary {
  cursor: pointer;
  color: #59734a;
  margin-top: 8px;
}
details p {
  margin: 8px 0;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 18px;
}
input,
select,
textarea {
  width: 100%;
  display: block;
  margin-top: 8px;
  border: 1px solid #dce2d5;
  border-radius: 6px;
  background: #fff;
  color: #354730;
  min-height: 44px;
  padding: 11px 12px;
  font-size: 14px;
  outline: none;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #729758;
  box-shadow: 0 0 0 3px #d9e6c64d;
}
label small {
  display: block;
  color: var(--muted);
  margin-top: 7px;
  font-size: 11px;
}
textarea {
  resize: vertical;
  min-height: 80px;
}
.form-error {
  font-size: 13px;
  color: #a44635;
  line-height: 1.5;
  margin-bottom: 12px;
}
.checkbox {
  display: flex;
  align-items: center;
  gap: 9px;
}
.checkbox input {
  width: 17px;
  min-height: 17px;
  margin: 0;
  accent-color: var(--green);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  width: 570px;
  max-width: calc(100% - 28px);
  max-height: 90vh;
  color: #354730;
  box-shadow: 0 20px 90px #15271026;
}
dialog::backdrop {
  background: #182b2359;
  backdrop-filter: blur(3px);
}
.modal-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.modal-heading h2 {
  margin: 0;
  font-size: 23px;
}
.close {
  border: 0;
  background: none;
  font-size: 28px;
  color: #818c77;
  padding: 0 5px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}
.modal-actions .danger {
  margin-right: auto;
}
.danger {
  border-color: #eccfc7;
  background: #fff9f7;
  color: #9a4935;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
form > small {
  display: block;
  color: var(--muted);
  margin: -8px 0 18px;
  font-size: 11px;
}
form > .muted {
  font-size: 11px;
}
#toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 28px);
  width: max-content;
  padding: 14px 22px;
  border-radius: 8px;
  color: white;
  background: var(--green);
  font-size: 13px;
  box-shadow: 0 6px 25px #183e3026;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 10;
}
#toast.show {
  opacity: 1;
}
#toast.error {
  background: #934c3b;
}
.login-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.login-story {
  background: #e7eddd;
  padding: 45px 55px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 720px;
}
.login-story > .brand {
  margin-bottom: 70px;
}
.login-story h1 {
  font-size: clamp(40px, 4.5vw, 68px);
  line-height: 1.1;
  letter-spacing: -2.8px;
  color: #294c34;
  margin: 24px 0;
}
.login-story p {
  color: #708465;
  font-size: 17px;
}
.login-story > small {
  color: #78876b;
  font-size: 11px;
  margin-top: 60px;
}
.story-clock {
  font-size: 85px;
  letter-spacing: -5px;
  font-weight: 300;
  color: #75905f;
  border-top: 1px solid #ccd8bc;
  padding-top: 30px;
  margin-top: 45px;
}
.story-clock > span {
  color: #a0b28e;
}
.story-clock small {
  display: block;
  font-size: 9px;
  letter-spacing: 1.8px;
  margin-top: 6px;
}
.login-form-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px;
}
.login-form {
  max-width: 360px;
  width: 100%;
}
.login-form h2 {
  font-size: 31px;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.login-form > p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
}
.login-form label {
  margin-bottom: 21px;
}
.login-form input {
  padding: 14px;
  min-height: 50px;
}
.login-form .button {
  min-height: 51px;
  margin-top: 6px;
}
.login-note {
  font-size: 12px;
  color: #79866f;
  line-height: 1.8;
  margin-top: 23px;
}
.login-note small {
  font-size: 10px;
}
.login-form > p.help {
  font-size: 11px;
  margin-top: 34px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
  color: #919a8a;
}
.loading {
  padding: 60px;
  color: #718366;
}
.pulse {
  box-shadow: 0 0 0 4px #6f975b1a;
}
@media (min-width: 1500px) {
  main#content {
    padding-top: 55px;
  }
  .clock-card {
    padding: 32px 36px;
  }
  .clock-body {
    padding: 42px 0;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 210px;
    padding: 30px 16px;
  }
  .main-wrap {
    margin-left: 210px;
  }
  main#content {
    padding: 32px 28px;
  }
  .topbar {
    padding: 0 28px;
  }
  .worker-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .timer {
    font-size: 40px;
  }
  .stat strong {
    font-size: 23px;
  }
  .stat {
    padding: 20px;
  }
  th,
  td {
    padding-left: 17px;
    padding-right: 17px;
  }
  .login-story {
    padding: 35px;
  }
  .login-form-wrap {
    padding: 35px;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .sidebar {
    width: auto;
    position: static;
    padding: 18px 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .brand {
    font-size: 24px;
  }
  .brand img {
    width: 31px;
    height: 31px;
  }
  .workspace,
  .sidebar-bottom {
    display: none;
  }
  nav {
    display: flex;
    overflow: auto;
    gap: 8px;
    margin-top: 16px;
  }
  .nav-item {
    white-space: nowrap;
    font-size: 12px;
    padding: 12px 10px;
    border-radius: 6px 6px 0 0;
  }
  .nav-item > span {
    display: none;
  }
  .main-wrap {
    margin: 0;
  }
  .topbar {
    height: 61px;
    padding: 0 20px;
  }
  .topbar > span {
    font-size: 10px;
  }
  .account {
    font-size: 11px;
    gap: 7px;
  }
  .account .avatar {
    display: none;
  }
  .account .text-button {
    margin: 0;
    font-size: 10px;
    padding: 8px 0 8px 7px;
  }
  main#content {
    padding: 29px 20px 40px;
  }
  h1 {
    font-size: 29px;
  }
  .page-heading {
    align-items: flex-start;
    margin-bottom: 24px;
  }
  .page-heading .button {
    font-size: 11px;
    padding: 10px;
    min-height: 39px;
    white-space: nowrap;
  }
  .page-heading p {
    font-size: 12px;
  }
  .eyebrow {
    font-size: 9px;
    margin-bottom: 10px;
  }
  .clock-card {
    padding: 22px;
  }
  .clock-top {
    align-items: flex-start;
  }
  .clock-top .eyebrow {
    font-size: 8px;
    padding-top: 7px;
  }
  .status {
    font-size: 9px;
  }
  .clock-body {
    display: block;
    padding: 27px 0 22px;
  }
  .clock-body h2 {
    font-size: 23px;
  }
  .clock-body p {
    font-size: 12px;
  }
  .timer {
    margin-top: 25px;
    font-size: 47px;
  }
  .clock-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .clock-actions .button {
    padding: 15px;
  }
  .clock-foot {
    font-size: 10px;
    line-height: 1.6;
    margin-top: 20px;
    padding-top: 14px;
  }
  .stop {
    width: 100%;
    min-width: 0;
  }
  .section-heading {
    margin-top: 27px;
  }
  .section-heading h2 {
    font-size: 16px;
  }
  .month-picker {
    font-size: 10px;
    gap: 6px;
  }
  .month-picker input {
    font-size: 11px;
    max-width: 155px;
  }
  .stats {
    gap: 9px;
    margin-bottom: 22px;
  }
  .stat {
    padding: 15px 11px;
    gap: 12px;
  }
  .stat > span {
    font-size: 10px;
    line-height: 1.4;
  }
  .stat strong {
    font-size: 18px;
    letter-spacing: -0.6px;
    line-height: 1.4;
  }
  .stat small {
    font-size: 9px;
  }
  .stat .dot {
    width: 5px;
    height: 5px;
    margin-right: 3px;
  }
  .panel-heading {
    padding: 19px 17px;
  }
  .panel-heading h2 {
    font-size: 14px;
  }
  .panel-heading > span {
    font-size: 10px;
  }
  th,
  td {
    padding: 14px;
    font-size: 11px;
  }
  th {
    font-size: 9px;
  }
  .badge {
    font-size: 9px;
  }
  .helper {
    font-size: 10px;
    line-height: 1.6;
  }
  footer {
    padding: 20px;
    font-size: 8px;
    gap: 20px;
  }
  footer span {
    text-align: right;
  }
  .worker-grid {
    grid-template-columns: 1fr;
  }
  .worker-card {
    padding: 22px;
  }
  .export-buttons {
    margin: 0;
    flex-wrap: wrap;
  }
  .export-buttons .button {
    font-size: 11px;
    padding: 12px;
  }
  .filters {
    gap: 16px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  dialog {
    padding: 22px;
  }
  .modal-actions {
    gap: 7px;
  }
  .modal-actions .button {
    padding: 11px 13px;
    font-size: 12px;
  }
  .login-layout {
    display: block;
  }
  .login-story {
    padding: 25px;
    min-height: 0;
  }
  .login-story > .brand {
    margin: 0;
  }
  .login-story > div:not(.brand),
  .login-story > small {
    display: none;
  }
  .login-form-wrap {
    padding: 45px 26px;
  }
  .login-form h2 {
    font-size: 29px;
  }
  .login-form {
    max-width: 420px;
  }
  .login-note {
    font-size: 11px;
  }
}
@media print {
  .sidebar,
  .topbar,
  footer,
  .export-buttons,
  .page-heading > .button,
  #toast {
    display: none !important;
  }
  .main-wrap {
    margin: 0;
  }
  main#content {
    padding: 0;
  }
  .shell {
    display: block;
  }
  body {
    background: white;
  }
  .panel,
  .stat {
    break-inside: avoid;
  }
  .table-scroll {
    overflow: visible;
  }
  table {
    white-space: normal;
    font-size: 10px;
  }
  th,
  td {
    padding: 10px;
  }
  .month-picker input {
    border: 0;
  }
  .report-notes {
    font-size: 10px;
  }
}
