.quick-date {
  position: relative;
  display: grid;
  grid-template-columns: minmax(110px, 1fr) 30px;
  gap: 4px;
  align-items: center;
  min-width: 145px;
}
.quick-date > input:first-child {
  min-width: 0 !important;
  width: 100%;
}
.quick-date > button {
  border: 1px solid #c5d6e9;
  background: #f0f6ff;
  color: #174b87;
  border-radius: 6px;
  height: 36px;
  font-size: 20px !important;
  cursor: pointer;
  padding: 0 !important;
}
.quick-date-hint {
  grid-column: 1/-1;
  font-size: 11px !important;
  color: #69829d;
  line-height: 1.25;
  min-height: 14px;
}
.quick-date-hint.invalid {
  color: #b23737;
}
.quick-date .quick-date-calendar {
  position: absolute;
  right: 0;
  top: 0;
  opacity: 0;
  pointer-events: none;
  width: 1px !important;
  min-width: 0 !important;
  height: 1px;
  padding: 0 !important;
  border: 0;
}
.quick-date-calendar.is-visible {
  opacity: 1;
  pointer-events: auto;
  width: 170px !important;
  height: 38px;
  background: white;
  z-index: 5;
}
.choice-overlay {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: #0c234775;
  display: grid;
  place-items: center;
  padding: 25px;
}
.choice-card {
  background: #fff;
  width: min(1060px, 95vw);
  max-height: 88vh;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 18px 70px #07152d66;
  display: flex;
  flex-direction: column;
  min-height: 250px;
}
.choice-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.choice-card h2 {
  margin: 0 0 10px;
  font-size: 21px;
  color: #123c6b;
}
.choice-card p {
  color: #687c92;
  font-size: 13px;
}
.choice-tools {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.choice-tools > input {
  padding: 11px;
  border: 1px solid #b9cee6;
  border-radius: 8px;
  flex: 1;
  min-width: 200px;
}
.choice-card button {
  cursor: pointer;
  border: 1px solid #c6d7e9;
  padding: 8px 12px;
  background: white;
  border-radius: 7px;
  color: #285984;
  margin: 2px;
  white-space: nowrap;
}
.choice-card button.active,
.choice-card [data-choice-confirm] {
  background: #1769dd;
  color: white;
}
.choice-scroll {
  overflow: auto;
}
.choice-card table {
  width: 100%;
  border-collapse: collapse;
}
.choice-card th,
.choice-card td {
  padding: 12px;
  border-bottom: 1px solid #e0e9f3;
  font-size: 13px;
  text-align: left;
}
.choice-card th {
  background: #eff5fb;
  white-space: nowrap;
}
.choice-card tr.is-selected {
  background: #f0f7ff;
}
.choice-card [data-choice-warning]:not(:empty) {
  border: 1px solid #e5c483;
  background: #fff9e8;
  padding: 12px;
  margin-top: 10px;
}
.reuse-selected {
  background: #f4f8fd;
  padding: 12px;
  border-radius: 8px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.reuse-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.reuse-card .reuse-select-fallback {
  display: none;
}
.acc-link-picker {
  border: 1px solid #ccddf0;
  border-radius: 8px;
  padding: 12px;
}
.acc-link-picker > span {
  display: block;
  font-size: 13px;
  margin: 7px 0;
}
.acc-link-picker button {
  padding: 8px 12px;
  margin-right: 6px;
}
.equipment-history-dialog {
  z-index: 9600;
}
.reuse-expired {
  color: #ae3030;
  font-weight: bold;
}
.reg-table td:last-child {
  min-width: 160px;
}
.quick-temporal {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.quick-temporal > input:not([type='hidden']) {
  flex: 0 0 auto;
  min-width: 0 !important;
  text-align: center;
  padding-left: 6px !important;
  padding-right: 6px !important;
}
.quick-temporal > input[readonly] {
  background: #f1f5fa;
  color: #50647a;
}
.quick-temporal {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.quick-temporal > input:not([type='hidden']) {
  flex: 0 0 auto;
  min-width: 0 !important;
  text-align: center;
  padding-left: 6px !important;
  padding-right: 6px !important;
}
.quick-temporal > input[readonly] {
  background: #f1f5fa;
  color: #50647a;
}
