#hubGearPage .section-type-trail { margin: 0; }
.hub-gear-catalog-actions { margin: 0; }
#hubGearStatus:empty, #hubGearRecordStatus:empty, #hubActivityGearStatus:empty { display: none; }
.hub-gear-row { cursor: pointer; }
.hub-gear-row .recordinfo { display: grid; min-width: 0; gap: 4px; overflow-wrap: anywhere; }
.hub-gear-entry .section-type-copy { min-width: 0; }
.hub-gear-entry .muted { font-size: 11px; }
.hub-gear-summary { margin-bottom: 12px; overflow-wrap: anywhere; }
#hubActivityGearField { margin-block: 12px; }
#hubActivityGearField select { min-width: 0; }

#hubGearRecord[open] {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  margin: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  border: 0;
  border-radius: 0;
  padding: calc(12px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));
  overflow: hidden;
}
#hubGearRecordForm {
  width: 100%;
  max-width: 780px;
  margin-inline: auto;
  height: 100%;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 12px;
}
#hubGearRecord .modalhead { position: static; padding: 0; background: transparent; }
#hubGearRecordTitle { overflow-wrap: anywhere; }
#hubGearRecordBody { align-content: start; overflow-y: auto; min-height: 0; padding: 2px 3px 12px; overscroll-behavior: contain; }
#hubGearRecordBody h3 { margin: 0; }
#hubGearRecordBody > button { justify-self: start; }
#hubGearRecordActions { position: static; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--h-31425c); }
#hubGearRecordActions:empty { display: none; }
.hub-gear-details { display: grid; grid-template-columns: minmax(100px, 1fr) minmax(0, 2fr); gap: 10px 16px; margin: 0; }
.hub-gear-details dt { color: var(--h-a7b7cb); }
.hub-gear-details dd { margin: 0; overflow-wrap: anywhere; }
html #hubGearRecord.hub-keyboard-dialog[open] {
  top: var(--hub-input-top, 0px);
  bottom: auto;
  height: var(--hub-input-height, 100dvh);
}
