/* Global search page + date-range field (source: scss/layout/_global-search.scss) */
.global-search-page {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding-left: 16px;
  padding-right: 16px;
}
.global-search-page__filters-card {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  background: #FFFFFF;
  border: 1px solid #DADEE5;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
}
.global-search-page__filters-card--disabled {
  opacity: 0.55;
  pointer-events: none;
}
.global-search-page__sec {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}
.global-search-page__label {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  margin-bottom: 0;
  color: #70777D;
}
.global-search-page__label--strong {
  color: #1B1B1E;
  font-weight: 600;
}
.global-search-page__q {
  width: 100%;
}
.global-search-page__input {
  width: 100%;
  height: 52px;
  box-sizing: border-box;
  padding: 0 16px;
  border: 2px solid #DADEE5;
  border-radius: 2px;
  background: #FFFFFF;
  color: #1B1B1E;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  outline: none;
}
.global-search-page__input:focus {
  border-color: #1B1B1E;
}
.global-search-page__input:disabled {
  background: #EEF1F4;
  cursor: not-allowed;
}
.global-search-page__input::placeholder {
  color: #9299A6;
  font-weight: 400;
}
.global-search-page__ranges {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
  align-items: start;
  width: 100%;
}
@media only screen and (max-width: 920px) {
  .global-search-page__ranges {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.global-search-page__created {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.global-search-page__created-add {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.global-search-page__created-status {
  margin-top: 0;
}
.global-search-page__form-checks {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.25rem;
  row-gap: 0.35rem;
  align-items: center;
}
.global-search-page__form-checks .form-check {
  display: inline-flex;
  align-items: center;
  width: auto;
  min-height: 0;
  margin: 0;
  margin-bottom: 0;
  padding: 2px 0;
  box-sizing: border-box;
}
.global-search-page__form-checks .form-check-input {
  width: 1.05em;
  height: 1.05em;
  min-width: 1.05em;
  min-height: 1.05em;
  max-width: 1.05em;
  max-height: 1.05em;
  margin: 0;
  margin-top: 0;
  margin-left: 0;
  margin-inline-end: 0.35rem;
  padding: 0;
  box-sizing: border-box;
  flex-shrink: 0;
  float: none;
  position: static;
}
.global-search-page__form-checks .form-check-input:checked {
  background-color: #000;
  border-color: #000;
}
.global-search-page__form-checks .form-check-input:focus {
  border-color: #000;
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.2);
}
.global-search-page__form-checks .form-check-label {
  padding: 2px 0;
  margin-bottom: 0;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #1B1B1E;
}
.global-search-page__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 0.25rem;
  width: 100%;
}
.global-search-page__eta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: #70777D;
  line-height: 1.25;
}
.global-search-page__eta b {
  color: #1B1B1E;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.global-search-page__search-btn {
  height: 52px;
  min-width: 8rem;
  padding: 0 28px;
  box-sizing: border-box;
}
.global-search-page__results-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-bottom: 12px;
}
.global-search-page__results-count {
  margin: 0;
  color: #70777D;
  font-size: 12px;
}
.global-search-page__results {
  width: 100%;
  margin-top: 22px;
  background: #FFFFFF;
  border: 1px solid #DADEE5;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(27, 27, 30, 0.04);
  overflow: hidden;
}
.global-search-page__results-h {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid #E3E8F2;
  flex-wrap: wrap;
}
.global-search-page__results-h h2 {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: #1B1B1E;
}
.global-search-page__results-t {
  min-width: 0;
  flex: 1;
}
.global-search-page__results-meta {
  margin: 3px 0 0;
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  color: #70777D;
  line-height: 1.45;
}
.global-search-page__results-meta b {
  color: #1B1B1E;
  font-weight: 600;
}
.global-search-page__results-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.global-search-page__results-tools .vault-list-toolbar__btn {
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
}
.global-search-page__results-f {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-top: 1px solid #E3E8F2;
  background: #F8F9FC;
  font-size: 12.5px;
  color: #70777D;
}
.global-search-page__none {
  padding: 64px 24px 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.global-search-page__none-mk {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #EEF1F4;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.global-search-page__none-mk img {
  width: 22px;
  height: 22px;
  opacity: 0.65;
}
.global-search-page__none h3 {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: #1B1B1E;
}
.global-search-page__none > p {
  margin: 8px 0 0;
  max-width: 520px;
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
  line-height: 1.6;
  color: #70777D;
}
.global-search-page__none > p b {
  color: #1B1B1E;
  font-weight: 600;
}
.global-search-page__none-btns {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
  justify-content: center;
}
.global-search-page__none-btns .button {
  height: 38px;
  padding: 0 18px;
  font-size: 13.5px;
  box-sizing: border-box;
}
.global-search-page__none-tips {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #E3E8F2;
  width: 100%;
  max-width: 560px;
  display: grid;
  gap: 8px;
  text-align: left;
}
.global-search-page__none-tips ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}
.global-search-page__none-tips li {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: #70777D;
  line-height: 1.55;
}
.global-search-page__none-tips li b {
  color: #1B1B1E;
  font-weight: 600;
}
.global-search-page__none-tips-hd {
  font-family: "Roboto Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9299A6;
}
.global-search-page__results-table-wrap {
  display: block;
  width: 100%;
}
.global-search-page__results-table {
  width: 100%;
  table-layout: auto;
  border-collapse: collapse;
  margin: 0;
}
.global-search-page__results-table tr {
  border-bottom: 1px solid #DADEE5;
  transition: background-color 150ms ease;
}
.global-search-page__results-table tr:hover td {
  background-color: #EEF1F4;
}
.global-search-page__results-table thead th {
  font-size: 14px;
  color: #70777D;
  font-weight: 500;
  padding: 16px 0;
  text-align: left;
  background: #EEF1F4;
}
.global-search-page__results-table tbody td {
  font-size: 14px;
  color: #1B1B1E;
  font-weight: 400;
  padding: 10px 0;
  text-align: left;
  vertical-align: middle;
}
.global-search-page__results-table th:first-of-type,
.global-search-page__results-table td:first-of-type {
  padding-left: 20px;
}
.global-search-page__results-table th:last-of-type,
.global-search-page__results-table td:last-of-type {
  padding-right: 20px;
}
.global-search-page__results-table .global-search-page__type-col {
  width: 12%;
  min-width: 7rem;
  padding-left: 8px;
}
.global-search-page__results-table .global-search-page__open-col {
  width: 7rem;
  text-align: right;
  white-space: nowrap;
}
.global-search-page__results-table tbody tr:nth-child(even) {
  background: #F8F9FC;
}
.global-search-page__details-cell {
  color: #70777D;
  font-size: 12px;
}
.global-search-page__empty-state {
  color: #70777D;
  margin-top: 0.5rem;
}

.search-date-range {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  font-family: "Inter", sans-serif;
}
.search-date-range.is-disabled {
  opacity: 0.7;
}
.search-date-range__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
}
.search-date-range__label {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: #70777D;
  margin: 0;
}
.search-date-range__cap {
  font-family: "Roboto Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  font-weight: 400;
  color: #70777D;
  letter-spacing: 0.01em;
}
.search-date-range__cap--warn {
  color: #6B4E00;
}
.search-date-range__trig {
  width: 100%;
  min-height: 52px;
  height: auto;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border: 2px solid #DADEE5;
  border-radius: 2px;
  background: #FFFFFF;
  color: #1B1B1E;
  text-align: left;
  cursor: pointer;
  font-family: "Inter", sans-serif;
}
.search-date-range__trig:hover:not(:disabled) {
  border-color: #c5cad3;
}
.search-date-range__trig:focus-visible {
  outline: 2px solid #1B1B1E;
  outline-offset: 1px;
}
.search-date-range__trig:disabled {
  cursor: not-allowed;
  background: #EEF1F4;
}
.search-date-range__trig.is-empty strong {
  color: #70777D;
}
.search-date-range__trig-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.search-date-range__trig-main strong {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}
.search-date-range__trig-main span {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: #70777D;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-date-range__trig-icon {
  flex: none;
  color: #70777D;
  font-size: 14px;
}
.search-date-range__helper {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: #70777D;
  line-height: 1.35;
}
.search-date-range__status {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: #F8F9FC;
  border: 1px solid #E3E8F2;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #70777D;
  line-height: 1.5;
}
.search-date-range__status p {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}
.search-date-range__status b {
  color: #131315;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.search-date-range__status.is-warn {
  background-color: rgb(255, 243, 200);
  border-color: #F0DFA0;
  color: #6B4E00;
}
.search-date-range__status.is-warn b {
  color: #5A4200;
}
.search-date-range__status.is-warn .search-date-range__status-dot {
  background: #E8A317;
}
.search-date-range__status-dot {
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 6px;
  border-radius: 50%;
  background: #1F8A65;
}
.search-date-range__status-dot.is-muted {
  background: #9AA3AD;
}
.search-date-range__status-link {
  display: inline;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: #131315;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.search-date-range__status.is-warn .search-date-range__status-link {
  color: #5A4200;
}
.search-date-range__status-link:hover:not(:disabled) {
  text-decoration-thickness: 2px;
}
.search-date-range__status-link:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.search-date-range__pop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 80;
  display: flex;
  width: min(720px, calc(100vw - 32px));
  background: #FFFFFF;
  border: 1px solid #DADEE5;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(27, 27, 30, 0.14);
  overflow: hidden;
  font-family: "Inter", sans-serif;
}
.search-date-range--single .search-date-range__pop {
  width: min(360px, calc(100vw - 32px));
}
@media only screen and (max-width: 920px) {
  .search-date-range__pop {
    flex-direction: column;
    width: min(420px, calc(100vw - 24px));
  }
  .search-date-range--single .search-date-range__pop {
    width: min(360px, calc(100vw - 24px));
  }
}
.search-date-range__side {
  width: 200px;
  flex: none;
  padding: 12px;
  background: #F8F9FC;
  border-right: 1px solid #DADEE5;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
@media only screen and (max-width: 920px) {
  .search-date-range__side {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid #DADEE5;
  }
}
.search-date-range__side-title {
  margin: 8px 0 4px;
  font-family: "Roboto Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #70777D;
}
.search-date-range__side-title:first-child {
  margin-top: 0;
}
.search-date-range__preset {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #1B1B1E;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
}
.search-date-range__preset em {
  font-family: "Roboto Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-style: normal;
  font-size: 10px;
  font-weight: 400;
  color: #70777D;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.search-date-range__preset:hover {
  background: #EEF1F4;
}
.search-date-range__preset.is-on {
  background: #FFFFFF;
  box-shadow: inset 0 0 0 1px #DADEE5;
  font-weight: 600;
}
.search-date-range__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.search-date-range__tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid #DADEE5;
}
.search-date-range__tabs > button {
  padding: 6px 10px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #70777D;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.search-date-range__tabs > button.is-on {
  background: #EEF1F4;
  color: #1B1B1E;
}
.search-date-range__nav {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1B1B1E;
}
.search-date-range__nav button {
  width: 28px;
  height: 28px;
  border: 1px solid #DADEE5;
  border-radius: 4px;
  background: #FFFFFF;
  cursor: pointer;
}
.search-date-range__nav button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.search-date-range__view {
  padding: 12px;
}
.search-date-range__dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 4px;
}
.search-date-range__dow span {
  text-align: center;
  font-family: "Roboto Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  font-weight: 400;
  color: #70777D;
  padding: 4px 0;
}
.search-date-range__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.search-date-range__day {
  height: 34px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #1B1B1E;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  cursor: pointer;
}
.search-date-range__day.is-blank {
  pointer-events: none;
}
.search-date-range__day.is-in {
  background: #EEF1F4;
}
.search-date-range__day.is-edge {
  background: #1B1B1E;
  color: #FFFFFF;
  font-weight: 600;
}
.search-date-range__day.is-today:not(.is-edge) {
  box-shadow: inset 0 0 0 1px #1B1B1E;
}
.search-date-range__day:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.search-date-range__day:hover:not(:disabled):not(.is-edge) {
  background: #e8ebef;
}
.search-date-range__months,
.search-date-range__years {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.search-date-range__chip {
  height: 40px;
  border: 1px solid #DADEE5;
  border-radius: 4px;
  background: #FFFFFF;
  color: #1B1B1E;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.search-date-range__chip:hover:not(:disabled) {
  background: #EEF1F4;
}
.search-date-range__chip.is-on {
  background: #1B1B1E;
  color: #FFFFFF;
  border-color: #1B1B1E;
}
.search-date-range__chip:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.search-date-range__hint {
  margin: 10px 0 0;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: #70777D;
}
.search-date-range__foot {
  padding: 10px 12px 12px;
  border-top: 1px solid #DADEE5;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.search-date-range__ack {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  background-color: rgb(255, 243, 200);
  border: 1px solid #F0DFA0;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: #6B4E00;
  cursor: pointer;
}
.search-date-range__ack input {
  margin-top: 2px;
  flex: none;
}
.search-date-range__foot-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
