/* Loaded after the release CSS by patch-lite-layout-lines.mjs. */
.app.lite-a .acv-layout :is(.la-rail, .la-sub)[hidden],
.rc .rc-nav[hidden] {
  display: none !important;
}

/* A flex child can take all space released by either desktop navigation panel. */
.app.lite-a .acv-layout > .main {
  flex: 1 1 0%;
  min-width: 0;
}

.app.lite-a .la-menu.acv-navigation-toggle {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  color: var(--ink, #00084d);
  background: var(--surface, #fff);
  border: 1px solid var(--line, #e6e1d6);
  border-radius: 0.5rem;
  cursor: pointer;
}

.app.lite-a .acv-navigation-toggle:focus-visible,
.rc .acv-catalogue-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.rc .rc-layout.acv-catalogue-collapsed {
  grid-template-columns: minmax(0, 1fr);
}

.rc .rc-layout > :is(.rc-surface, .rc-landing) {
  min-width: 0;
}

.rc .acv-catalogue-toggle {
  min-height: 2.75rem;
  white-space: normal;
}

.inv-items .acv-line-description-help {
  margin: 0 0 0.75rem;
  color: var(--soft, #4e5875);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.inv-items .acv-line-description {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.5rem;
  color: var(--soft, #4e5875);
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: start;
}

.inv-items .acv-line-description textarea {
  width: 100%;
  min-width: 0;
  margin-top: 0;
  resize: vertical;
}

@media (width <= 860px) {
  /* Native hidden removes the offscreen drawer from keyboard navigation. */
  .app.lite-a .acv-layout .la-sub:not([hidden]) {
    max-width: calc(100vw - 1rem);
  }
}

@media print {
  .acv-navigation-toggle,
  .acv-catalogue-toggle,
  #acv-report-catalogue {
    display: none !important;
  }

  .rc .rc-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
