:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #14263a;
  background: #f3f7fa;
  font-size: 16px;
  line-height: 1.48;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.shell {
  max-width: 1180px;
  margin: auto;
  padding: 0 24px 80px;
}
header {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 23px 0;
  border-bottom: 1px solid #dbe5e9;
}
.brand-logo {
  width: 92px;
  height: 64px;
  object-fit: contain;
  flex: 0 0 auto;
}
header strong,
header small {
  display: block;
}
header strong {
  font-size: 19px;
}
header small {
  font-size: 14px;
  color: #668092;
}
@media (max-width: 520px) {
  .brand-logo {
    width: 74px;
    height: 54px;
  }
  header strong {
    font-size: 17px;
  }
  header small {
    font-size: 12px;
  }
}
nav {
  display: flex;
  gap: 8px;
  margin: 26px 0;
}
nav button {
  border: 0;
  background: transparent;
  color: #526d80;
  padding: 11px 18px;
  border-radius: 10px;
  font-weight: 800;
}
nav .active {
  background: #164b68;
  color: #fff;
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(270px, 0.65fr);
  gap: 23px;
  align-items: start;
}
.card,
.side {
  background: white;
  border: 1px solid #dbe5e9;
  border-radius: 19px;
  box-shadow: 0 12px 28px #1842580b;
  padding: 30px 36px;
}
.eyebrow {
  font-weight: 800;
  font-size: 14px;
  color: #24778a;
}
h1 {
  font-size: clamp(28px, 4vw, 39px);
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 12px 0;
}
h2 {
  font-size: 20px;
  margin: 0 0 14px;
}
.intro,
.card > p,
.side p {
  color: #597081;
}
.intro {
  margin-bottom: 25px;
}
.tabs {
  display: flex;
  background: #edf3f6;
  padding: 5px;
  border-radius: 12px;
  margin: 22px 0;
  gap: 5px;
}
.tabs button {
  flex: 1;
  border: 0;
  border-radius: 9px;
  padding: 10px 7px;
  background: transparent;
  color: #5b7484;
  font-size: 14px;
  font-weight: 800;
}
.tabs .chosen {
  background: #fff;
  color: #164b68;
  box-shadow: 0 1px 5px #cedce3;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #334c5b;
  margin-bottom: 17px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid #cbdde4;
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 7px;
  background: #fff;
  color: #14263a;
  min-height: 47px;
  outline-color: #24778a;
  font-size: 16px;
}
textarea {
  resize: vertical;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
}
.check input {
  width: 22px;
  min-height: 22px;
  margin: 0;
}
.primary,
.secondary {
  border-radius: 11px;
  border: 1px solid #164b68;
  padding: 12px 17px;
  min-height: 49px;
  font-weight: 800;
}
.primary {
  background: #164b68;
  color: #fff;
}
.secondary {
  background: #eef7f9;
  color: #164b68;
  border-color: #a8c7d2;
}
.stretch {
  width: 100%;
}
.fine,
.help {
  font-size: 14px;
  color: #6b8290;
}
.side {
  background: #e8f3f6;
}
.sideicon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: #fff;
  color: #24778a;
  display: grid;
  place-items: center;
  font-size: 30px;
  margin-bottom: 28px;
}
.side hr {
  border: 0;
  border-top: 1px solid #cbdfe6;
  margin: 28px 0;
}
.notice {
  background: #e8f3f6;
  border: 1px solid #aad0da;
  border-radius: 11px;
  padding: 12px 15px;
  color: #164b68;
  margin-top: 18px;
}
.login {
  max-width: 500px;
  margin: 50px auto;
}
.login > p {
  margin: 0 0 22px;
}
.adminhead {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 8px 0 21px;
}
.adminhead h1 {
  margin: 4px 0;
}
.quiet {
  border: 0;
  background: transparent;
  color: #24778a;
  font-weight: 800;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 19px;
}
.stats div {
  background: #164b68;
  color: #b9d9e2;
  border-radius: 16px;
  padding: 16px 22px;
  font-size: 14px;
}
.stats strong {
  display: block;
  color: #fff;
  font-size: 29px;
}
.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px;
}
.stack {
  display: grid;
  gap: 19px;
  align-content: start;
}
.stack .card {
  padding: 25px;
}
.stack .card > p {
  font-size: 14px;
}
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.row a {
  color: #24778a;
  font-size: 14px;
  font-weight: 800;
}
.row h2 {
  margin-bottom: 12px;
}
.list {
  margin-top: 17px;
}
.item {
  padding: 12px 0;
  border-top: 1px solid #e2ebee;
}
.item b,
.item small {
  display: block;
}
.item small {
  font-size: 13px;
  color: #667e8b;
}
.item button,
.issued button,
.download {
  border: 0;
  background: transparent;
  color: #24778a;
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  padding: 6px 10px 6px 0;
}
.item-actions {
  display: flex;
  gap: 10px;
}
.item button.danger {
  border-color: #e4b6b6;
  background: #fff3f3;
  color: #9b2525;
}
.schedule-days {
  display: grid;
  gap: 9px;
  margin: 8px 0 20px;
}
.schedule-row {
  display: grid;
  grid-template-columns: 22px minmax(82px, 1fr) 115px 115px;
  gap: 9px;
  align-items: center;
}
.schedule-row input {
  margin: 0;
}
.schedule-row input[type="checkbox"] {
  width: 19px;
  min-height: 19px;
}
@media (max-width: 520px) {
  .schedule-row {
    grid-template-columns: 22px minmax(72px, 1fr) 92px 92px;
    gap: 6px;
  }
  .schedule-row input[type="time"] {
    padding: 9px 6px;
    font-size: 14px;
  }
}
.issued {
  background: #e8f3f6;
  border: 1px solid #9bcbd5;
  border-radius: 11px;
  padding: 14px;
  margin-top: 17px;
}
.issued small,
.issued strong {
  display: block;
}
.issued strong {
  font-size: 26px;
  letter-spacing: 0.1em;
  color: #164b68;
  margin: 5px 0;
}
.editbox {
  background: #f4f9fa;
  padding: 13px;
  border-radius: 10px;
}
.editbox label {
  margin-bottom: 9px;
}
.report {
  border-top: 1px solid #dbe5e9;
  margin-top: 20px;
  padding-top: 18px;
}
.report h3 {
  font-size: 19px;
  margin: 0;
}
.report p {
  color: #597081;
  font-size: 14px;
  margin: 5px 0 14px;
}
.reportstats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.reportstats div {
  background: #e8f3f6;
  border-radius: 10px;
  padding: 10px;
}
.reportstats small,
.reportstats b {
  display: block;
}
.reportstats small {
  font-size: 12px;
  color: #597081;
}
.reportstats b {
  font-size: 17px;
  color: #164b68;
}
.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-top: 14px;
}
.calendar div {
  min-height: 70px;
  background: #f5f8fa;
  border: 1px solid #e2ebee;
  border-radius: 8px;
  padding: 6px;
}
.calendar div.worked {
  background: #dff0f3;
  border-color: #a7ced8;
}
.calendar small,
.calendar strong,
.calendar span {
  display: block;
  line-height: 1.3;
}
.calendar small {
  font-size: 11px;
}
.calendar strong {
  font-size: 14px;
}
.calendar span {
  font-size: 12px;
  margin-top: 6px;
}
.report .warning {
  background: #fff4df;
  color: #965b10;
  padding: 9px;
  border-radius: 8px;
}
.report .download {
  border: 1px solid #a8c7d2;
  background: #eef7f9;
  border-radius: 9px;
  text-decoration: none;
  margin-top: 13px;
  padding: 9px 13px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 760px) {
  .shell {
    padding: 0 15px 45px;
  }
  header {
    padding: 16px 0;
  }
  nav {
    margin: 18px 0;
  }
  nav button {
    flex: 1;
  }
  .grid,
  .columns {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 25px 20px;
  }
  .side {
    padding: 24px;
  }
  .stats {
    gap: 7px;
  }
  .stats div {
    padding: 12px;
    font-size: 12px;
  }
  .stats strong {
    font-size: 23px;
  }
}
@media (max-width: 420px) {
  .two {
    grid-template-columns: 1fr;
  }
  .three {
    grid-template-columns: 1fr;
  }
  .tabs {
    flex-wrap: wrap;
  }
  .tabs button {
    min-width: 100px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stats div:last-child {
    grid-column: 1/-1;
  }
  .reportstats {
    grid-template-columns: 1fr 1fr;
  }
  .reportstats div:last-child {
    grid-column: 1/-1;
  }
  .calendar {
    gap: 3px;
  }
  .calendar div {
    padding: 3px;
    min-height: 63px;
  }
  .calendar strong {
    font-size: 12px;
  }
  .calendar span {
    font-size: 10px;
  }
}
