@font-face {
  font-family: Casale;
  src: url("./office-font.ttf") format("truetype");
  font-display: swap;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f4f5f1;
  color: #203c34;
  font-family: Casale, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
header {
  background: #fff;
  border-bottom: 1px solid #dde3dc;
  padding: 16px max(18px, calc((100vw - 780px) / 2));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 25px;
  font-weight: bold;
  line-height: 1.1;
}
.brand b {
  font-size: 15px;
}
.brand small {
  display: block;
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-top: 5px;
}
.logo {
  width: 44px;
  height: 45px;
  overflow: hidden;
  position: relative;
  display: block;
}
.logo img {
  position: absolute;
  width: 186px;
  max-width: none;
  left: -12px;
  top: -64px;
}
main {
  max-width: 800px;
  margin: auto;
  padding: 24px 16px 60px;
}
h1 {
  font-size: 28px;
  line-height: 1.2;
  margin: 10px 0 24px;
}
h2 {
  font-size: 20px;
  margin: 0 0 14px;
}
h3 {
  font-size: 17px;
  margin: 0 0 10px;
}
.panel,
.record {
  background: #fff;
  border: 1px solid #dce2da;
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px #193f3510;
}
.record p {
  margin: 6px 0;
  overflow-wrap: anywhere;
}
label {
  display: block;
  font-size: 14px;
  font-weight: bold;
  margin: 14px 0 6px;
}
input,
select,
textarea,
button {
  font: inherit;
}
input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #bbc9bf;
  border-radius: 8px;
  background: #fff;
  color: #1d362e;
  padding: 10px 12px;
}
textarea {
  resize: vertical;
}
input:focus,
select:focus,
textarea:focus,
button:focus-visible {
  outline: 3px solid #b0b96c;
  outline-offset: 2px;
}
input[type="radio"] {
  width: 20px;
  height: 20px;
  min-height: 0;
  accent-color: #285949;
}
button {
  border: 1px solid #b9c6b9;
  color: #244739;
  background: #fff;
  min-height: 46px;
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: bold;
  white-space: normal;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.primary {
  background: #224d40;
  color: #fff;
  border-color: #224d40;
}
.quiet {
  background: none;
  border: 0;
}
.help,
.muted {
  color: #617169;
  font-size: 14px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.8px;
  color: #6d793d;
  font-weight: bold;
}
.notice,
#notice {
  padding: 16px;
  border-radius: 10px;
  margin-bottom: 18px;
  background: #edf0cf;
  border: 1px solid #c4cb96;
  overflow-wrap: anywhere;
}
.error {
  background: #fff0eb !important;
  border-color: #d2a28f !important;
  color: #842e1b !important;
}
.success {
  background: #e5f1e8 !important;
  border-color: #a0bda7 !important;
}
.actions,
nav,
.section-heading,
.user-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.actions button {
  flex: 1;
  min-width: 140px;
}
nav {
  justify-content: flex-start;
}
nav button {
  flex: 1;
}
#network {
  font-size: 13px;
  color: #5e6c62;
}
#saved {
  font-size: 13px;
  color: #5e6c62;
  display: block;
  margin-bottom: 15px;
}
.work-card {
  border: 1px solid #cfdace;
  border-radius: 10px;
  padding: 14px;
  margin: 0 0 20px;
  background: #fafbf8;
}
.zone-row {
  border-top: 1px solid #dee5da;
  margin-top: 12px;
  padding-top: 6px;
}
.zone-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  gap: 10px;
}
.work-card .remove {
  font-size: 13px;
  color: #914331;
  background: transparent;
  border: 0;
  padding-left: 0;
}
.unit {
  font-size: 14px;
  font-weight: bold;
  padding: 8px 0;
}
.presence {
  padding: 12px 0;
  border-bottom: 1px solid #e3e7df;
}
.presence-options {
  display: flex;
  gap: 18px;
}
.presence-options label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: normal;
}
.badge {
  display: inline-block;
  background: #edf1e6;
  border-radius: 5px;
  padding: 4px 8px;
  font-size: 13px;
  font-weight: bold;
}
.receipt {
  font-size: 12px;
  color: #627366;
  overflow-wrap: anywhere;
}
footer {
  padding: 18px;
  text-align: center;
  color: #748075;
  font-size: 12px;
}
.skip {
  position: absolute;
  left: -10000px;
}
.skip:focus {
  left: 10px;
  background: #fff;
  padding: 10px;
  z-index: 100;
}
[hidden] {
  display: none !important;
}
#login {
  max-width: 450px;
  margin: 35px auto;
}
#login-button {
  width: 100%;
  margin-top: 22px;
}
@media (max-width: 400px) {
  main {
    padding: 20px 12px 45px;
  }
  .panel,
  .record {
    padding: 16px;
  }
  h1 {
    font-size: 25px;
  }
  nav button {
    font-size: 14px;
    padding: 10px 8px;
  }
  .zone-fields {
    grid-template-columns: minmax(0, 1fr) 98px;
  }
  .section-heading button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button {
    transition: background-color 0.15s;
  }
}

pre.receipt {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
