:root {
  --ink: #172c3d;
  --muted: #74818c;
  --line: #e4e9ed;
  --blue: #245c86;
  --bg: #f5f7fa;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 14px Arial, "Malgun Gothic", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
}

button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

a {
  text-decoration: none;
  color: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid #76b2e4;
  outline-offset: 3px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #6ba7cf;
  outline-offset: 1px;
}

svg.ic {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 232px;
  position: fixed;
  inset: 0 auto 0 0;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 19px;
  font-weight: 700;
  padding: 0 8px;
}

.brandIcon {
  background: #245c86;
  color: white;
  display: grid;
  place-items: center;
  width: 39px;
  height: 43px;
  border-radius: 12px;
}

.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
  margin-top: 5px;
}

.workspace {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #f6f8fa;
  margin: 35px 0 25px;
  padding: 13px 10px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
}

.workspace small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 5px;
  font-weight: 400;
}

.avatar {
  display: grid;
  place-items: center;
  background: #e5edf5;
  color: var(--blue);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}

nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

nav button {
  justify-content: flex-start;
  background: transparent;
  color: #667682;
  padding: 14px;
  border-radius: 8px;
  font-size: 13px;
}

nav button .navArrow {
  margin-left: auto;
  opacity: 0;
}

nav button.active {
  background: #eaf1f7;
  color: #245c86;
}

nav button.active .navArrow {
  opacity: 1;
}

.sideBottom {
  margin-top: auto;
  font-size: 11px;
  color: #4d6777;
  padding: 20px 6px 0;
  border-top: 1px solid var(--line);
}

.privateDot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #478c78;
  border-radius: 50%;
  margin-right: 5px;
}

.privateDot.local {
  background: #ad812c;
}

.sideBottom p {
  font-size: 10px;
  line-height: 1.8;
  color: var(--muted);
}

.lockBtn {
  margin-top: 10px;
  width: 100%;
  background: #f4f7fa;
  color: #4c6475;
  padding: 9px 10px;
  border-radius: 7px;
  font-size: 11px;
}

.lockBtn:hover {
  background: #e7eef4;
}

.main {
  margin-left: 232px;
  width: calc(100% - 232px);
}

header {
  height: 73px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  font-size: 11px;
  color: var(--muted);
}

header > span,
header > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.connection:before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #3f947b;
  border-radius: 50%;
  margin-right: 7px;
}

.connection.bad:before {
  background: #ca6262;
}

.connection.local:before {
  background: #c7932b;
}

.iconBtn {
  background: transparent;
  color: #75838e;
  padding: 6px;
  border-radius: 6px;
}

.iconBtn:hover {
  background: #f0f4f8;
}

main {
  max-width: 1450px;
  margin: auto;
  padding: 36px 40px 50px;
}

.pageTop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.eyebrow {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 10px;
}

h1 {
  font-size: 27px;
  letter-spacing: -1px;
  margin: 0 0 10px;
}

h2 {
  font-size: 15px;
  letter-spacing: -0.3px;
  margin: 0;
}

h3 {
  font-size: 19px;
  margin: 15px 0 8px;
}

.pageTop p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.primary,
.secondary {
  border-radius: 7px;
  padding: 11px 15px;
  font-size: 12px;
  min-height: 42px;
}

.primary {
  background: var(--blue);
  color: #fff;
}

.primary:hover {
  background: #19496c;
}

.secondary {
  background: white;
  border: 1px solid #dce3e8;
  color: #526776;
}

.secondary:hover {
  background: #f7f9fb;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.metric {
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 21px;
}

.metric > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #607382;
}

.metric svg {
  color: #849aaa;
}

.metric strong {
  display: block;
  font-size: 33px;
  margin-top: 20px;
  letter-spacing: -1px;
}

.metric strong small {
  font-size: 12px;
  color: #82909b;
  margin-left: 7px;
  font-weight: 400;
  display: inline;
}

.metric p {
  font-size: 10px;
  color: var(--muted);
  margin: 11px 0 0;
}

.metric.red strong,
.metric.red svg {
  color: #bd5e54;
}

.metric.amber strong,
.metric.amber svg {
  color: #ad812c;
}

.metric.green strong,
.metric.green svg {
  color: #3b826a;
}

.metric.blue strong,
.metric.blue svg {
  color: #245c86;
}

.dashGrid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 22px;
  margin-bottom: 24px;
}

.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
}

.panelHead {
  padding: 22px 23px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panelHead button {
  background: none;
  color: #738692;
  font-size: 10px;
}

.panelSub {
  font-size: 10px;
  color: var(--muted);
  padding: 0 23px 15px;
}

.scheduleRow {
  display: flex;
  gap: 13px;
  align-items: center;
  border-top: 1px solid #eef1f4;
  padding: 15px 23px;
}

.smallIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #edf3f8;
  color: #527e9e;
  flex-shrink: 0;
}

.grow {
  flex: 1;
  min-width: 0;
}

.grow b {
  font-size: 12px;
}

.grow b span {
  font-size: 11px;
  color: #748593;
  font-weight: 400;
  margin-left: 6px;
}

small {
  display: block;
}

.grow small,
.right small {
  font-size: 10px;
  color: #80909a;
  margin-top: 6px;
}

.right {
  text-align: right;
}

.tag {
  display: inline-block;
  border-radius: 5px;
  padding: 5px 8px;
  font-size: 10px;
  white-space: nowrap;
  background: #edf2f6;
  color: #6d8190;
}

.tag.red,
.smallIcon.red {
  background: #fbeeea;
  color: #b66356;
}

.tag.amber,
.smallIcon.amber {
  background: #fbf3e3;
  color: #a97a25;
}

.tag.green {
  background: #eaf5f0;
  color: #3b826a;
}

.tag.blue {
  background: #e7f0fa;
  color: #2e6597;
}

.tag.muted {
  background: #f0f2f5;
  color: #8b9299;
}

.quick {
  background: #edf3f8;
  border: 1px solid #dce7ef;
  padding: 28px 26px;
}

.quickIcon {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  background: white;
  color: #3d7194;
  border-radius: 12px;
  margin-bottom: 22px;
}

.quick h2 {
  font-size: 19px;
}

.quick p {
  font-size: 12px;
  color: #748696;
  line-height: 1.9;
  margin: 12px 0 22px;
}

.quickNote {
  display: flex;
  gap: 7px;
  align-items: center;
  border-top: 1px solid #d5e1eb;
  padding-top: 20px;
  margin-top: 25px;
  font-size: 10px;
  color: #788c9b;
}

.tableWrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

th {
  text-align: left;
  font-size: 10px;
  font-weight: 500;
  color: #80909c;
  background: #f9fafb;
  padding: 13px 23px;
  white-space: nowrap;
}

td {
  padding: 17px 23px;
  border-top: 1px solid #edf0f3;
  white-space: nowrap;
  color: #506675;
}

td b {
  color: #263e50;
  font-weight: 600;
}

td small {
  font-size: 10px;
  color: #8996a0;
  margin-top: 5px;
}

.contentCell {
  white-space: pre-wrap;
  min-width: 200px;
  max-width: 420px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.footNote {
  font-size: 10px;
  color: #84939e;
  margin-top: 18px;
  line-height: 1.8;
}

.empty {
  min-height: 200px;
  padding: 35px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  text-align: center;
  color: #82929f;
  grid-column: 1 / -1;
  font-size: 12px;
}

.empty.small {
  min-height: 210px;
}

.empty b {
  font-weight: 500;
  color: #667c8b;
}

.empty p {
  font-size: 11px;
  line-height: 1.9;
  margin: 0;
}

.textBtn {
  font-size: 11px;
  background: transparent;
  color: var(--blue);
  padding: 6px;
}

.demoBanner,
.errorBanner,
.notice,
.infoBanner {
  padding: 14px 18px;
  margin: 0 0 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  line-height: 1.7;
}

.demoBanner {
  background: #fff4dc;
  color: #94712d;
}

.infoBanner {
  background: #eef5fb;
  color: #2c5b80;
  border: 1px solid #d5e4f1;
}

.demoBanner button,
.errorBanner button,
.errorBanner a,
.infoBanner button {
  margin-left: auto;
  font-size: 11px;
  text-decoration: underline;
  background: transparent;
  color: inherit;
}

.errorBanner {
  background: #fceeee;
  color: #ae514b;
}

.notice {
  background: #e9f5ef;
  color: #407c63;
}

.tools {
  padding: 20px;
  display: flex;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  color: #8796a2;
}

.search input {
  border: 0;
  background: #f7f9fb;
  padding: 12px;
  width: 100%;
  border-radius: 6px;
  font-size: 12px;
}

.tools select {
  border: 1px solid var(--line);
  padding: 10px;
  border-radius: 6px;
  background: white;
  color: #536e80;
  font-size: 12px;
}

.equipmentGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 22px;
}

.equipCard {
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 9px;
  min-width: 0;
}

.equipHead {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.equipCard > p {
  color: #738898;
  font-size: 11px;
  line-height: 1.9;
}

.itemTag {
  display: block;
  color: #396b8c;
}

.equipCard dl {
  display: grid;
  grid-template-columns: 85px 1fr;
  gap: 12px 8px;
  font-size: 11px;
  padding-top: 12px;
}

.equipCard dt {
  color: #8a99a3;
}

.equipCard dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.cardActions {
  display: flex;
  justify-content: space-between;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  margin-top: 20px;
}

.cardActions button {
  font-size: 11px;
  background: none;
  color: var(--blue);
  padding: 5px;
}

.equipNote {
  white-space: pre-wrap;
}

.scheduleHelp {
  font-size: 11px;
  color: #80909a;
  line-height: 1.9;
  padding: 15px 22px;
}

.overlay {
  position: fixed;
  inset: 0;
  background: #122d4266;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(3px);
}

.dialog {
  width: 660px;
  max-width: 100%;
  max-height: 92dvh;
  overflow: auto;
  background: white;
  border-radius: 14px;
  box-shadow: 0 25px 80px #12324a33;
}

.dialogHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 28px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

.dialogHead small {
  color: #8a9aa6;
  font-size: 10px;
  margin-bottom: 8px;
}

.dialogHead h2 {
  font-size: 21px;
}

.formGrid {
  padding: 25px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.formGrid label {
  font-size: 12px;
  color: #526b7c;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.formGrid input,
.formGrid select,
.formGrid textarea {
  width: 100%;
  border: 1px solid #dce4ea;
  border-radius: 6px;
  background: #fff;
  min-height: 44px;
  padding: 10px;
  color: #203e53;
}

.formGrid input:disabled,
.formGrid select:disabled,
.formGrid textarea:disabled {
  background: #f1f5f8;
  color: #7b8c9a;
  border-color: #e2e8ee;
  cursor: not-allowed;
}

.formGrid textarea {
  height: 95px;
  resize: vertical;
  line-height: 1.7;
}

.full {
  grid-column: 1 / -1;
}

.formHint {
  margin: 0;
  font-size: 10px;
  line-height: 1.9;
  color: #84939f;
}

.dialogFoot {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 18px 28px;
  background: #f9fbfc;
  position: sticky;
  bottom: 0;
  z-index: 1;
}

.dialogFoot span {
  margin-right: auto;
  color: #92a0aa;
  font-size: 10px;
}

.formError {
  font-size: 12px;
  color: #ad4e4e;
  margin: 0 28px 20px;
}

.formGrid label:has(input:required) {
  font-weight: 600;
}

/* Monthly inspection */
.monthBar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.monthPicker {
  display: flex;
  align-items: center;
  gap: 12px;
}

.monthPicker button {
  background: white;
  border: 1px solid var(--line);
  padding: 10px;
  border-radius: 7px;
  color: var(--blue);
}

.monthPicker label {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #738898;
  font-size: 11px;
}

.monthPicker input {
  font-size: 19px;
  color: var(--ink);
  font-weight: 600;
  background: transparent;
  border: 0;
  max-width: 195px;
}

.carryBanner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid #e8d9bc;
  background: #fff9ec;
  border-radius: 9px;
  margin-bottom: 20px;
  color: #977236;
}

.carryBanner b {
  font-size: 12px;
}

.carryBanner p {
  font-size: 10px;
  margin: 7px 0 0;
}

.carryBanner button {
  margin-left: auto;
}

.siteHead {
  padding: 21px 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fafbfd;
  border-bottom: 1px solid var(--line);
}

.siteHead small {
  color: #8998a3;
  font-size: 11px;
  margin-top: 7px;
}

.monthSite + .monthSite {
  border-top: 2px solid var(--line);
}

.monthRow {
  display: grid;
  grid-template-columns: minmax(130px, 1.4fr) 85px 125px 150px 110px;
  gap: 18px;
  align-items: center;
  padding: 19px 23px;
  border-bottom: 1px solid #edf1f5;
}

.monthRow > .tag {
  justify-self: start;
}

.monthEquipment b {
  font-size: 13px;
}

.monthEquipment small {
  font-size: 11px;
  color: #8394a0;
  margin-top: 7px;
  overflow-wrap: anywhere;
}

.monthDate small {
  font-size: 10px;
  color: #8a9aa6;
  margin-bottom: 8px;
}

.monthDate > b {
  font-size: 12px;
  display: inline-block;
  margin-right: 7px;
}

.dateButton {
  background: none;
  border: 0;
  border-bottom: 1px dashed #b2c6d8;
  padding: 0 0 3px;
  color: var(--blue);
  font-size: 12px;
}

.visitDialog {
  max-width: 500px;
}

.monthlyRecordNote {
  padding: 12px;
  background: #edf3fa;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.9;
  color: #3c688a;
}

/* Team Access Gate */
.gateWrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.gateCard {
  width: 420px;
  max-width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 34px 30px;
  box-shadow: 0 18px 50px #12324a12;
}

.gateCard .brand {
  padding: 0;
  margin-bottom: 24px;
}

.gateCard h1 {
  font-size: 20px;
  margin: 0 0 8px;
}

.gateCard p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 22px;
}

.gateForm {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gateForm input {
  width: 100%;
  border: 1px solid #d7e0e7;
  border-radius: 8px;
  min-height: 46px;
  padding: 10px 14px;
  font-size: 15px;
  color: var(--ink);
}

.gateForm button {
  width: 100%;
  min-height: 46px;
}

.gateCard .gateErr {
  color: #ad4e4e;
  font-size: 12px;
  margin: 0;
}

.gateHint {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: #82929e;
  line-height: 1.7;
}

.headerLockBtn {
  display: none;
}

@media (min-width: 1500px) {
  main {
    padding-top: 48px;
  }
  .metrics {
    gap: 22px;
  }
  .metric {
    padding: 25px;
  }
  .dashGrid {
    grid-template-columns: 1.8fr 1fr;
  }
}

@media (max-width: 1200px) {
  .monthRow {
    grid-template-columns: minmax(120px, 1fr) 80px 105px 125px;
    gap: 12px;
  }
  .monthRow > .primary,
  .monthRow > .secondary {
    grid-column: 1 / -1;
    justify-self: end;
  }
  .monthBar {
    flex-wrap: wrap;
  }
  .carryBanner {
    flex-wrap: wrap;
  }
}

@media (max-width: 1150px) {
  .sidebar {
    width: 200px;
    padding: 28px 14px;
  }
  .main {
    margin-left: 200px;
    width: calc(100% - 200px);
  }
  main {
    padding: 28px 25px;
  }
  .metrics {
    gap: 10px;
  }
  .metric {
    padding: 16px;
  }
  .pageTop {
    align-items: flex-start;
    flex-direction: column;
  }
  .equipmentGrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashGrid {
    grid-template-columns: 1fr;
  }
  .quick {
    display: none;
  }
  header {
    padding: 0 25px;
  }
}

@media (max-width: 650px) {
  .sidebar {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    height: 70px;
    padding: 5px 5px calc(5px + env(safe-area-inset-bottom));
    border: 0;
    border-top: 1px solid var(--line);
    z-index: 5;
  }
  .brand,
  .workspace,
  .sideBottom {
    display: none;
  }
  .headerLockBtn {
    display: inline-flex;
  }
  nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3px;
  }
  nav button {
    flex-direction: column;
    gap: 6px;
    font-size: 9px;
    padding: 7px 3px;
    border-radius: 7px;
  }
  nav button .navArrow {
    display: none;
  }
  .main {
    margin: 0;
    width: 100%;
  }
  header {
    height: 56px;
    padding: 0 18px;
  }
  header > span {
    font-size: 10px;
    gap: 8px;
  }
  main {
    padding: 25px 18px 100px;
  }
  .pageTop {
    gap: 18px;
    margin-bottom: 22px;
  }
  h1 {
    font-size: 24px;
  }
  .pageTop p {
    font-size: 11px;
  }
  .actions {
    width: 100%;
  }
  .actions .primary {
    flex: 1;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .metric {
    padding: 16px;
  }
  .metric strong {
    font-size: 29px;
    margin-top: 14px;
  }
  .metric p {
    font-size: 9px;
  }
  .metric > div {
    font-size: 11px;
  }
  .panelHead {
    padding: 19px 16px 14px;
  }
  .scheduleRow {
    padding: 14px 16px;
    gap: 10px;
  }
  .panelSub {
    padding-left: 16px;
  }
  .grow b span {
    display: block;
    margin: 5px 0 0;
  }
  .grow small {
    max-width: 160px;
    white-space: normal;
    line-height: 1.6;
  }
  .smallIcon {
    width: 32px;
    height: 35px;
  }
  .right small {
    font-size: 9px;
  }
  th,
  td {
    padding: 14px 16px;
  }
  .equipmentGrid {
    grid-template-columns: 1fr;
    padding: 15px;
  }
  .tools {
    padding: 15px;
    gap: 6px;
  }
  .search {
    gap: 5px;
  }
  .search input {
    min-width: 0;
    font-size: 11px;
    padding: 10px 6px;
  }
  .tools select {
    max-width: 105px;
    font-size: 11px;
  }
  .overlay {
    padding: 8px;
    align-items: flex-end;
  }
  .dialog {
    max-height: 95dvh;
    border-radius: 15px 15px 0 0;
  }
  .dialogHead {
    padding: 20px;
  }
  .formGrid {
    padding: 20px;
    gap: 16px 12px;
  }
  .formGrid input,
  .formGrid select,
  .formGrid textarea {
    font-size: 16px;
  }
  .dialogFoot {
    padding: 16px 20px;
  }
  .demoBanner,
  .infoBanner {
    flex-wrap: wrap;
    font-size: 10px;
  }
  .demoBanner button,
  .infoBanner button {
    margin-left: 28px;
  }
  .footNote {
    line-height: 1.9;
  }
  .errorBanner {
    flex-wrap: wrap;
  }
  .connection {
    font-size: 10px;
  }
  .monthBar {
    gap: 16px;
  }
  .monthPicker {
    width: 100%;
    justify-content: space-between;
  }
  .monthPicker label {
    flex: 1;
    justify-content: center;
  }
  .monthPicker input {
    font-size: 18px;
  }
  .monthBar > .actions {
    justify-content: flex-end;
  }
  .monthRow {
    grid-template-columns: 1fr 1fr;
    gap: 17px;
    padding: 19px 16px;
  }
  .monthRow > .tag {
    justify-self: end;
  }
  .monthRow > .primary,
  .monthRow > .secondary {
    grid-column: 1 / -1;
    width: 100%;
  }
  .monthDate small {
    font-size: 10px;
  }
  .monthEquipment {
    min-width: 0;
  }
  .monthEquipment small {
    line-height: 1.7;
  }
  .siteHead {
    padding: 17px 16px;
    gap: 12px;
  }
  .siteHead h2 {
    font-size: 14px;
    overflow-wrap: anywhere;
  }
  .siteHead button {
    font-size: 10px;
    max-width: 160px;
  }
  .carryBanner button {
    margin-left: 22px;
  }
  .carryBanner p {
    line-height: 1.8;
  }
  .visitDialog {
    max-width: 100%;
  }
}
