.location-dashboard-card .location-card-actions {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.location-dashboard-card .location-card-actions > [data-location-use] {
  grid-column: 1 / -1;
  min-width: 0;
  padding: 10px 8px;
}
.location-dashboard-card .location-card-actions > [data-location-navigate],
.location-dashboard-card .location-card-actions > [data-location-map] {
  grid-column: span 3;
  min-width: 0;
  padding: 10px 8px;
}
.location-dashboard-card .location-card-actions > [data-location-edit] {
  grid-column: span 5;
}
.location-dashboard-card .location-card-actions > .location-action-menu {
  grid-column: 6;
  justify-self: end;
}
.location-form-picker {
  width: min(560px, calc(100vw - 28px));
  max-height: 90dvh;
  padding: 22px;
  overflow: auto;
}
.location-form-picker > header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 14px;
}
.location-form-picker h2 {
  font-size: 25px;
  margin: 0 0 12px;
}
.location-form-picker header p {
  margin: 4px 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.location-form-picker header .button {
  min-height: 44px;
  flex-shrink: 0;
}
.location-form-options {
  display: grid;
  gap: 10px;
  margin: 22px 0 14px;
}
.location-form-option {
  border: 1px solid #bdccbc;
  border-radius: 6px;
  background: #f5f8f1;
  padding: 16px;
  text-align: left;
  color: #173d35;
  min-height: 80px;
}
.location-form-option:hover {
  background: #e9f1e3;
  border-color: #718d72;
}
.location-form-option strong {
  display: block;
  font-size: 17px;
  margin-bottom: 6px;
}
.location-form-option span {
  display: block;
  font-size: 15px;
  line-height: 1.6;
}
.location-form-option:disabled {
  opacity: 0.55;
  cursor: default;
}
.location-form-picker [role='status'] {
  color: #8b3526;
  font-size: 13px;
}
.location-form-picker [role='status']:empty {
  display: none;
}
@media (max-width: 600px) {
  .location-form-picker {
    padding: 18px 16px;
  }
  .location-form-picker h2 {
    font-size: 21px;
  }
  .location-form-picker header .button {
    padding: 9px 11px;
  }
  .location-form-option {
    padding: 14px;
  }
}
.location-editor-sheet > form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.civic-address-fields > [data-address-full],
.civic-address-fields > .field:first-child,
.civic-address-fields > .field:nth-child(2) {
  grid-column: 1/-1;
}
.civic-address-fields [data-address-part='postal_code'] {
  text-transform: uppercase;
}
.location-identity-editor .civic-address-fields {
  gap: 12px;
}
.location-identity-editor .civic-address-fields .field {
  margin-bottom: 0;
}
#device-details [hidden] {
  display: none !important;
}
#device-details [data-update-progress] {
  font-size: 13px;
  line-height: 1.6;
  margin: 8px 0;
  color: #365c45;
}
#device-details [data-update-progress]:empty {
  display: none;
}
#device-details .device-details-content [data-apply-update] {
  background: #173d35;
  color: #fff;
  border-color: #173d35;
}
#device-details [data-apply-update]:disabled {
  cursor: wait;
  opacity: 0.7;
}
.location-quick-fix {
  min-width: 0;
  border: 1px solid #bacbb9;
  border-radius: 7px;
  padding: 16px;
  margin: 0 0 18px;
}
.location-quick-fix legend {
  font-weight: 600;
  padding: 0 6px;
}
.location-quick-fix .button {
  min-height: 44px;
}
.location-quick-fix [data-quick-results] {
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
}
.location-quick-fix [data-quick-results] .button {
  height: auto;
  text-align: left;
  white-space: normal;
}
.location-quick-fix [data-quick-status]:empty {
  display: none;
}
.location-map-section {
  min-width: 0;
  border: 1px solid #bacbb9;
  border-radius: 7px;
  padding: 16px;
  margin: 18px 0;
}
.location-map-section legend {
  font-weight: 600;
  padding: 0 6px;
}
.location-map-section .button {
  min-height: 44px;
  margin-right: 8px;
  margin-bottom: 8px;
}
.location-point-dialog {
  width: min(920px, calc(100vw - 28px));
  max-width: 920px;
  height: min(940px, 94dvh);
  max-height: 94dvh;
  padding: 0;
  overflow: hidden;
}
.location-point-dialog[open] {
  display: flex;
  flex-direction: column;
}
.location-point-dialog > header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: #f5f7f2;
  border-bottom: 1px solid #d7e1d4;
  flex-shrink: 0;
}
.location-point-dialog h2 {
  font-size: 24px;
  margin: 0;
}
.location-point-dialog header p {
  font-size: 14px;
  margin: 8px 0 0;
}
.location-point-dialog header .button {
  flex-shrink: 0;
  min-height: 44px;
}
.location-point-scroll {
  overflow: auto;
  min-height: 0;
  padding: 4px 22px 22px;
}
.location-point-scroll h3 {
  font-size: 17px;
  margin: 12px 0;
}
.point-address-search {
  padding: 12px 16px;
  border: 1px solid #d7e1d4;
  border-radius: 6px;
  background: #f5f8f1;
  margin: 12px 0 18px;
}
.location-point-scroll input {
  font-size: 16px;
  min-height: 44px;
}
.location-point-scroll .helper {
  font-size: 12px;
}
.location-point-map {
  height: 340px;
  max-height: 50dvh;
  width: 100%;
  border: 1px solid #bacbb9;
  border-radius: 5px;
  margin: 12px 0;
}
.point-match {
  display: block;
  width: 100%;
  text-align: left;
  justify-content: start;
  white-space: normal;
  margin-top: 8px;
  line-height: 1.6;
}
.location-point-dialog > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #f1f5ec;
  box-shadow: 0 -4px 14px #173d3514;
  border-top: 1px solid #bacbb9;
  padding: 12px 22px;
  flex-shrink: 0;
  letter-spacing: 0;
}
.location-point-dialog footer p {
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
  overflow-wrap: anywhere;
}
.location-point-dialog footer button {
  min-height: 44px;
  white-space: normal;
  flex-shrink: 0;
}
.location-point-dialog [hidden] {
  display: none !important;
}
@media (max-width: 600px) {
  .location-point-dialog {
    height: 100dvh;
    max-height: 100dvh;
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    border: 0;
    border-radius: 0;
  }
  .location-point-dialog > header {
    padding: 14px 16px;
  }
  .location-point-dialog h2 {
    font-size: 21px;
  }
  .location-point-scroll {
    padding: 0 16px 18px;
  }
  .location-point-dialog > footer {
    display: block;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  }
  .location-point-dialog footer button {
    width: 100%;
    margin-top: 8px;
  }
  .location-point-scroll .fields.two {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .location-point-map {
    height: 280px;
  }
}
.location-form-option.is-repeat {
  border-color: var(--green);
  background: #fff;
}
.location-form-picker > .helper {
  font-size: 15px;
  color: var(--ink);
}
/* Where are you working today? */
.site-chooser-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 14px;
  padding: 0;
  list-style: none;
}
.site-chooser-option {
  display: grid;
  gap: 2px;
  width: 100%;
  min-height: 60px;
  padding: 12px 14px;
  border: 1px solid #bdccbc;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.site-chooser-option strong {
  font-size: 17px;
}
.site-chooser-option span {
  font-size: 15px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.site-chooser-option em,
.start-site-here,
.site-card-here,
.board-send-suggested {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.site-chooser-option.is-here {
  border: 2px solid var(--green);
}
.site-card.is-here {
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
}
.site-card-here {
  margin: 0 0 6px;
}
.board-send-targets li.is-suggested {
  border-color: var(--green);
}
.board-send-suggested {
  margin-bottom: 4px;
}
