:root {
  --ink: #173746;
  --muted: #526b76;
  --line: #dce5e4;
}
body {
  font-size: 14px;
  color: #173746;
}
.sidebar {
  width: 220px;
  padding-top: 25px;
}
.workspace {
  margin-left: 220px;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 6;
  height: 82px;
  padding: 0 30px;
  box-shadow: 0 1px 2px #18374306;
}
.breadcrumb {
  font-size: 14px;
  min-width: 90px;
}
.breadcrumb strong {
  font-weight: 650;
  color: #244554;
}
.top-right {
  gap: 18px;
  flex-wrap: wrap;
}
.top-right > select {
  max-width: 240px;
  font-weight: 650;
  padding: 10px 30px 10px 12px;
  background: #edf5f1;
  border-color: #b9d4c9;
}
.view-toggle {
  display: flex;
  background: #eef2f3;
  border-radius: 8px;
  padding: 4px;
  gap: 3px;
}
.view-toggle button {
  border: 0;
  border-radius: 5px;
  padding: 8px 12px;
  background: none;
  color: #4e6771;
  font-size: 12px;
  white-space: nowrap;
}
.view-toggle button.active {
  background: white;
  box-shadow: 0 1px 3px #203c3b18;
  color: #174d42;
  font-weight: 650;
}
.nav-label {
  font-size: 10px;
  color: #9eb4be;
  margin-top: 38px;
}
nav button {
  font-size: 14px;
  color: #d4e1e5;
  padding: 13px;
}
nav button.active {
  background: #315462;
}
.brand small {
  color: #a5bdc5;
}
.sidebar-note,
.sidebar-note p {
  color: #b9ced4;
  font-size: 11px;
}
.preview-note {
  color: #685d3f;
  font-size: 12px;
  background: #fbf7ec;
  padding: 9px 13px;
  border-radius: 7px;
  margin-bottom: 24px;
}
main {
  max-width: 1700px;
  padding: 22px 30px 44px;
}
h1 {
  font-size: 28px;
  margin: 0;
  letter-spacing: -0.6px;
}
.heading {
  margin-bottom: 23px;
}
.btn {
  font-size: 12px;
  font-weight: 550;
  padding: 10px 13px;
  white-space: nowrap;
  border-color: #cad9d5;
}
.btn.primary {
  background: #176c59;
  border-color: #176c59;
}
.label,
.metric .label {
  color: #46616d;
  font-size: 12px;
}
.metric {
  padding: 18px;
  border-radius: 9px;
}
.metric .number {
  font-size: 29px;
  color: #173746;
}
.metrics {
  gap: 12px;
  margin-bottom: 25px;
}
.metric.highlight .number {
  color: #156d51;
}
.muted,
.sub,
.section-head .sub {
  color: #516b77;
  font-size: 12px;
}
.availability {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: #eaf3ef;
  border: 1px solid #d0e4da;
  border-radius: 10px;
  margin: 0 0 30px;
}
.availability > div {
  flex: 1;
}
.availability h2 {
  margin-bottom: 4px;
}
.availability span {
  color: #416b60;
  font-size: 12px;
}
.availability select {
  max-width: 240px;
}
.camp-comparison {
  display: grid;
  gap: 12px;
}
.comparison {
  border: 1px solid #d5e1dd;
  border-radius: 10px;
  background: white;
  overflow: hidden;
}
.comparison > summary {
  display: grid;
  grid-template-columns: minmax(150px, 1.3fr) repeat(4, minmax(90px, 1fr)) 20px;
  align-items: center;
  gap: 16px;
  padding: 20px;
  list-style: none;
  cursor: pointer;
}
.comparison > summary::-webkit-details-marker {
  display: none;
}
.comparison > summary:hover {
  background: #f7faf8;
}
.comparison[open] > summary {
  background: #edf5f1;
  border-bottom: 1px solid var(--line);
}
.comparison summary div small {
  display: block;
  color: #536e78;
  font-size: 12px;
}
.comparison summary div b {
  display: block;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 5px;
}
.camp-summary-name strong {
  font-size: 19px;
}
.camp-summary-name small {
  margin-top: 4px;
}
.expand-symbol {
  color: #2e6858;
  font-size: 24px;
  transition: transform 0.2s;
}
.comparison[open] .expand-symbol {
  transform: rotate(180deg);
}
.comparison-content {
  padding: 18px;
}
.comparison-content > .btn {
  margin-top: 14px;
}
.definition {
  color: #4d6772;
  font-size: 12px;
  line-height: 1.9;
  padding: 10px 0;
}
.definition strong {
  color: #294b56;
}
.strong-green {
  color: #126f50;
  font-weight: 700;
}
.table-wrap th {
  font-size: 11px;
  color: #405e69;
  background: #f0f5f3;
}
.table-wrap td {
  font-size: 13px;
}
.table-wrap td strong {
  font-weight: 650;
}
.section-head h2 {
  font-size: 18px;
}
.task-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 27px;
}
.task {
  border: 1px solid #c7dcd1;
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: left;
  color: #183d36;
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 4px 12px;
  align-items: center;
  transition: box-shadow 0.15s;
}
.task:hover {
  border-color: #67a38b;
  box-shadow: 0 4px 12px #214b3b12;
}
.task > span {
  grid-row: 1/3;
  font-size: 27px;
  color: #278066;
}
.task strong {
  font-size: 16px;
}
.task small {
  font-size: 12px;
  color: #526c65;
  line-height: 1.5;
}
.room-tools {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  position: sticky;
  top: 82px;
  z-index: 4;
  background: #f5f7f7;
  padding: 10px 0;
}
.room-tools input {
  flex: 1;
  min-width: 170px;
  font-size: 14px;
}
.room-tools select {
  max-width: 250px;
  font-size: 12px;
}
.room-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.building-picker {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: calc(100dvh - 185px);
  overflow: auto;
  position: sticky;
  top: 154px;
  padding: 4px 5px 5px 0;
}
.building-pick {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 13px 12px;
  background: white;
  border: 1px solid #d7e2de;
  border-radius: 7px;
  color: #345661;
  text-align: left;
  font-size: 12px;
  line-height: 1.5;
}
.building-pick b {
  font-size: 11px;
  background: #edf2ef;
  padding: 2px 6px;
  border-radius: 4px;
  color: #496959;
}
.building-pick small {
  display: block;
  color: #57717d;
  font-size: 11px;
  margin-top: 4px;
}
.building-pick.active {
  background: #1b6956;
  color: white;
  border-color: #1b6956;
}
.building-pick.active b {
  background: #39836e;
  color: white;
}
.building-pick.active small {
  color: #d6e9e2;
}
.room-result-head {
  display: flex;
  gap: 15px;
  align-items: center;
  margin: 2px 0 20px;
}
.room-result-head strong {
  font-size: 15px;
}
.room-result-head .muted {
  margin-left: auto;
  font-size: 11px;
}
.floor-section {
  margin-bottom: 28px;
  scroll-margin-top: 160px;
}
.floor-heading {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
  padding: 12px 0;
  border-bottom: 1px solid #cbdcd5;
}
.floor-heading h2 {
  font-size: 15px;
  line-height: 1.6;
}
.floor-heading h2 span {
  font-weight: 500;
  color: #486874;
}
.floor-heading > span {
  font-size: 12px;
  white-space: nowrap;
  color: #526c76;
}
.rooms-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.room-card {
  padding: 16px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  transition: none;
  cursor: default;
  align-self: stretch;
  border-color: #ccdcd5;
  box-shadow: none;
}
.room-card:hover {
  box-shadow: none;
}
.room-card.full {
  border-top: 3px solid #7a92a8;
}
.room-card.empty {
  border-top: 3px solid #328a65;
}
.room-card.partial {
  border-top: 3px solid #63a68d;
}
.room-card.held,
.room-card.warning {
  border-top: 3px solid #b88b33;
}
.room-heading {
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid #e0e9e5;
  gap: 8px;
}
.room-heading .muted {
  color: #4a6571;
  font-size: 12px;
  margin-top: 5px;
}
.room-num {
  font-size: 17px;
}
.pill {
  font-size: 11px;
  padding: 4px 7px;
  font-weight: 550;
  white-space: normal;
  line-height: 1.4;
}
.pill.empty,
.pill.present {
  background: #dff0e5;
  color: #155e3e;
}
.pill.partial {
  background: #e3f2e9;
  color: #225d46;
}
.pill.full {
  background: #e8eef5;
  color: #2e4e6b;
}
.pill.held,
.pill.warning {
  background: #fff0cb;
  color: #795415;
}
.pill.company {
  background: #e9e5f6;
  color: #594183;
}
.pill.internal {
  background: #e8eef1;
  color: #3f5d70;
}
.pill.away {
  background: #fff0d8;
  color: #825b1f;
  border: 1px dashed #c9a364;
}
.pill.closed {
  background: #e9edf0;
  color: #425b69;
}
.room-people {
  flex: 1;
}
.occupant-line {
  padding: 13px 0;
  border-bottom: 1px solid #e0e9e5;
}
.occupant-line:last-child {
  border-bottom: 0;
}
.occupant-line.away {
  border-left: 3px solid #cda55e;
  padding-left: 9px;
  background: #fffbf3;
}
.person-name {
  font-size: 13px;
  font-weight: 700;
  color: #153a49;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.person-role {
  font-size: 12px;
  color: #4b6571;
  margin-top: 2px;
  line-height: 1.6;
}
.person-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}
.room-empty-message {
  padding: 22px 0;
  color: #3c6e5a;
  font-size: 13px;
}
.room-card.closed .room-empty-message {
  color: #506675;
}
.held-note {
  padding: 9px;
  background: #fff2d6;
  border-radius: 5px;
  color: #79581c;
  font-size: 12px;
  margin: 10px 0;
}
.available-note {
  padding: 8px 0;
  color: #17673e;
  font-weight: 600;
  font-size: 12px;
}
.room-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  border-top: 1px solid #e0e9e5;
  padding-top: 13px;
  margin-top: 9px;
}
.room-card-actions .btn {
  font-size: 11px;
  padding: 8px 10px;
}
.search {
  max-width: 450px;
}
.load-more {
  display: block;
  margin: 20px auto;
}
.table-wrap td .pill {
  margin: 3px 0;
}
.dialog-body label.field-label {
  font-size: 13px;
  font-weight: 600;
  color: #244957;
  display: block;
  margin: 14px 0 9px;
}
.field-label input,
.field-label select,
.field-label textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  font-size: 14px;
  color: #193e49;
  padding: 12px;
  border: 1px solid #bfcec8;
  border-radius: 7px;
  background: white;
}
.field-label textarea {
  resize: vertical;
  font: inherit;
}
.dialog-body > form > input[type='search'] {
  width: 100%;
  font-size: 14px;
  padding: 13px;
}
.search-results {
  max-height: 285px;
  overflow: auto;
  border: 1px solid #d8e4de;
  border-radius: 7px;
  margin-top: 8px;
}
.search-results:empty {
  display: none;
}
.search-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 13px;
  background: #fff;
  color: #244756;
  border: 0;
  border-bottom: 1px solid #e4ece8;
}
.search-option:last-child {
  border: 0;
}
.search-option:hover,
.search-option:focus-visible {
  background: #edf6f0;
}
.search-option strong {
  display: block;
  font-size: 13px;
  line-height: 1.6;
}
.search-option span {
  display: block;
  color: #476875;
  font-size: 12px;
  line-height: 1.7;
}
.selected-target.chosen {
  background: #e1f1e8;
  border: 1px solid #afcfbd;
  color: #1d6045;
  border-radius: 6px;
  padding: 12px;
  margin: 10px 0;
  font-size: 13px;
}
.selected-target:empty {
  display: none;
}
.flow-submit {
  margin-top: 20px;
  width: 100%;
  font-size: 14px;
  padding: 13px;
}
.confirm-person {
  background: #f0f5f3;
  padding: 13px;
  border-radius: 7px;
  margin-bottom: 18px;
}
.confirm-person p {
  font-size: 12px;
  color: #43636e;
  margin: 5px 0;
}
.dialog-head h2 {
  font-size: 22px;
  line-height: 1.4;
}
.dialog-head .muted {
  font-size: 12px;
  line-height: 1.7;
}
.dialog-body .notice {
  color: #76561e;
  font-size: 13px;
}
.dialog-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.resident {
  align-items: flex-start;
}
.resident .occupant-line {
  padding: 0;
}
.resident-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 100px;
}
.resident-actions button {
  padding: 7px;
  font-size: 11px;
  color: #3c6251;
}
.form-error {
  font-size: 13px;
}
.empty-view {
  color: #486773;
}
.preview-note,
.definition,
.muted {
  opacity: 1;
}
@media (min-width: 1800px) {
  .rooms-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1350px) {
  .rooms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .task-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .task {
    padding: 20px;
  }
  .topbar {
    padding: 0 22px;
  }
  .top-right {
    gap: 10px;
  }
  .view-toggle button {
    padding: 7px 9px;
    font-size: 11px;
  }
  .room-tools select {
    max-width: 200px;
  }
  .comparison > summary {
    gap: 10px;
    grid-template-columns: minmax(130px, 1.3fr) repeat(4, minmax(70px, 1fr)) 15px;
  }
  .comparison summary div small {
    font-size: 11px;
  }
}
@media (max-width: 1050px) {
  .sidebar {
    width: 175px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .workspace {
    margin-left: 175px;
  }
  .brand {
    font-size: 15px;
  }
  .brand small {
    letter-spacing: 1px;
  }
  .sidebar nav button {
    font-size: 12px;
  }
  main {
    padding-left: 20px;
    padding-right: 20px;
  }
  .room-layout {
    grid-template-columns: 165px minmax(0, 1fr);
    gap: 14px;
  }
  .room-tools {
    flex-wrap: wrap;
  }
  .room-tools input {
    flex-basis: 100%;
  }
  .room-tools select {
    flex: 1;
    max-width: none;
  }
  .building-picker {
    top: 210px;
  }
  .availability {
    flex-wrap: wrap;
  }
  .availability > div {
    flex-basis: 100%;
  }
  .metric {
    padding: 14px 12px;
  }
  .metric .label {
    font-size: 11px;
  }
  .metric .number {
    font-size: 27px;
  }
}
@media (max-width: 740px) {
  .sidebar {
    position: relative;
    top: auto;
    width: 100%;
    height: 65px;
    flex-direction: row;
    align-items: center;
    padding: 10px 14px;
  }
  .brand {
    gap: 8px;
  }
  .brand > span:last-child {
    display: none;
  }
  .sidebar nav {
    display: flex;
    gap: 4px;
    margin-left: auto;
  }
  .sidebar nav button {
    font-size: 12px;
    padding: 10px 9px;
    color: #d4e1e5;
  }
  .sidebar nav button.active {
    background: #315462;
  }
  .workspace {
    margin-left: 0;
  }
  .topbar {
    position: sticky;
    top: 0;
    height: auto;
    min-height: 108px;
    padding: 11px 15px;
    align-items: flex-start;
    gap: 7px;
    flex-direction: column;
  }
  .breadcrumb {
    display: none;
  }
  .top-right {
    width: 100%;
    gap: 9px;
    flex-direction: column;
    align-items: stretch;
  }
  .view-toggle {
    width: 100%;
  }
  .view-toggle button {
    flex: 1;
    font-size: 12px;
    padding: 9px;
  }
  .top-right > select {
    max-width: none;
    width: 100%;
    padding: 11px 15px;
  }
  .preview-note {
    font-size: 11px;
    padding: 9px;
    margin-bottom: 19px;
  }
  main {
    padding: 16px 14px 30px;
  }
  h1 {
    font-size: 24px;
  }
  .heading {
    flex-wrap: wrap;
    margin-bottom: 20px;
    gap: 13px;
  }
  .heading .actions {
    flex-direction: row;
    align-items: center;
  }
  .btn {
    font-size: 12px;
    padding: 10px 12px;
  }
  .heading .actions .btn {
    font-size: 11px;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }
  .metric {
    padding: 16px;
  }
  .metric .label {
    font-size: 12px;
  }
  .metric .number {
    font-size: 29px;
  }
  .metrics .metric:first-child {
    grid-column: span 2;
    display: flex;
    justify-content: space-between;
  }
  .availability {
    padding: 17px;
    gap: 12px;
  }
  .availability > div h2 {
    font-size: 17px;
  }
  .availability select {
    max-width: none;
    flex: 1;
  }
  .availability .btn {
    width: 100%;
  }
  .comparison > summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    padding: 17px;
    position: relative;
  }
  .camp-summary-name {
    grid-column: span 2;
  }
  .camp-summary-name strong {
    font-size: 20px;
  }
  .comparison summary div small {
    font-size: 12px;
  }
  .comparison summary div b {
    font-size: 25px;
  }
  .comparison .expand-symbol {
    position: absolute;
    right: 20px;
    top: 18px;
  }
  .comparison-content {
    padding: 12px;
  }
  .comparison-content > .btn {
    white-space: normal;
    width: 100%;
    text-align: center;
  }
  .definition {
    font-size: 12px;
  }
  .task-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .task {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    padding: 17px;
    gap: 5px;
  }
  .task strong {
    font-size: 15px;
  }
  .task small {
    font-size: 12px;
  }
  .task > span {
    font-size: 25px;
  }
  .room-tools {
    position: relative;
    top: 0;
    gap: 8px;
    padding: 0;
  }
  .room-tools input {
    width: 100%;
    padding: 13px;
    font-size: 14px;
  }
  .room-tools select {
    max-width: none;
    width: 100%;
    flex-basis: 100%;
    font-size: 13px;
    padding: 12px;
  }
  .room-layout {
    display: block;
  }
  .building-picker {
    position: relative;
    top: 0;
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    margin: 0 0 19px;
    gap: 8px;
    padding: 0 0 8px;
  }
  .building-pick {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 10px;
    font-size: 11px;
    max-width: 260px;
  }
  .building-pick span {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .room-result-head {
    flex-wrap: wrap;
    gap: 7px;
  }
  .room-result-head .muted {
    width: 100%;
    margin-left: 0;
    font-size: 12px;
  }
  .floor-heading h2 {
    font-size: 13px;
  }
  .rooms-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .room-card {
    padding: 18px;
    min-height: 0;
  }
  .room-num {
    font-size: 19px;
  }
  .room-heading .muted {
    font-size: 13px;
  }
  .pill {
    font-size: 12px;
    padding: 5px 8px;
  }
  .person-name {
    font-size: 15px;
  }
  .person-role {
    font-size: 13px;
  }
  .room-card-actions .btn {
    font-size: 12px;
    padding: 10px 12px;
  }
  .floor-heading {
    margin-bottom: 12px;
  }
  .floor-heading > span {
    font-size: 12px;
  }
  .table-wrap th {
    font-size: 11px;
  }
  .table-wrap td {
    font-size: 12px;
    padding: 13px;
  }
  .table-wrap .pill {
    font-size: 11px;
  }
  .dialog-head {
    padding: 20px;
  }
  .dialog-head h2 {
    font-size: 21px;
  }
  .dialog-body {
    padding: 18px;
  }
  .dialog-metrics {
    gap: 8px;
  }
  .dialog-metrics div {
    font-size: 12px;
    padding: 12px 8px;
  }
  .dialog-metrics strong {
    font-size: 25px;
  }
  .dialog-body .field-label {
    font-size: 14px;
  }
  .form-row {
    flex-wrap: wrap;
  }
  .form-row > label {
    flex-basis: 40%;
  }
  .search-option strong {
    font-size: 14px;
  }
  .search-option span {
    font-size: 13px;
  }
  .resident {
    flex-direction: column;
  }
  .resident-actions {
    max-width: none;
    justify-content: flex-start;
    width: 100%;
  }
  .resident-actions button {
    font-size: 12px;
    padding: 9px 12px;
  }
  .dialog-actions {
    flex-direction: column;
  }
  .toast {
    font-size: 12px;
  }
  .room-empty-message {
    font-size: 14px;
  }
}
@media print {
  .view-toggle,
  #global-camp,
  .building-picker,
  .room-tools,
  .room-card-actions,
  .task-grid,
  .preview-note {
    display: none !important;
  }
  .workspace {
    margin: 0;
  }
  .comparison {
    break-inside: avoid;
  }
  .rooms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .room-layout {
    display: block;
  }
  .comparison > summary {
    display: grid;
  }
  .comparison-content {
    display: block;
  }
  .table-wrap {
    overflow: visible;
  }
}

html,
body {
  overflow-anchor: none;
}
.building-picker {
  overflow-anchor: none;
  scroll-behavior: auto;
}
.table-wrap td .btn + .btn {
  margin: 5px 0 0 5px;
}

@media (max-width: 740px) {
  .topbar {
    min-height: 68px;
  }
  .top-right {
    justify-content: center;
  }
}

.split-person {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #dce5e4;
}
.split-person > span {
  flex: 1;
  min-width: 0;
}
.split-person small {
  display: block;
  margin-top: 5px;
  color: #46616d;
}
.split-person select {
  width: 110px;
  flex-shrink: 0;
}
.split-people {
  max-height: 300px;
  overflow: auto;
  margin: 14px 0;
}

.metrics {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.company-help {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #496572;
  margin: 4px 0 14px;
}
.company-help .link {
  white-space: nowrap;
}
.history-note {
  font-size: 13px;
  color: #46616d;
  margin-bottom: 20px;
  line-height: 1.7;
}
.history-entry {
  background: #fff;
  border: 1px solid #d1dfd9;
  border-radius: 8px;
  margin-bottom: 12px;
}
.history-entry summary {
  display: flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  padding: 18px;
}
.history-entry summary > div {
  flex: 1;
}
.history-entry summary strong {
  font-size: 15px;
}
.history-entry small {
  display: block;
  margin-top: 6px;
  color: #46616d;
}
.history-entry time,
.history-entry summary > span {
  font-size: 12px;
  color: #46616d;
}
.history-entry ul {
  list-style: none;
  padding: 0 20px 16px;
  margin: 0;
}
.history-entry li {
  padding: 10px 0;
  border-top: 1px solid #dce5e4;
}
.history-entry li strong,
.history-entry li span {
  display: block;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.7;
}
.history-entry li span {
  color: #46616d;
}
.dialog-metrics {
  flex-wrap: wrap;
}
.dialog-metrics > div {
  min-width: 100px;
}
@media (max-width: 1350px) {
  .metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 740px) {
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .metrics .metric:first-child {
    grid-column: auto;
    display: block;
  }
  .sidebar nav {
    min-width: 0;
    overflow-x: auto;
  }
  .sidebar nav button {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 11px;
    padding: 10px 7px;
  }
  .history-entry summary {
    flex-wrap: wrap;
    gap: 10px;
  }
  .history-entry summary > div {
    flex-basis: 100%;
  }
  .history-entry time {
    flex: 1;
  }
  .company-help {
    align-items: flex-start;
    flex-direction: column;
  }
  .dialog-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
