.application-root {
  min-height: 100vh;
}

.loading-screen,
.workspace-state {
  display: grid;
  min-block-size: 100vh;
  place-content: center;
  gap: var(--space-3);
  padding: var(--space-6);
  color: var(--color-text-muted);
  text-align: center;
}

.workspace-state {
  min-block-size: 42vh;
}

.workspace-state--error h1 {
  color: var(--color-danger);
}

.loading-indicator {
  width: 28px;
  height: 28px;
  margin: auto;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.auth-layout {
  display: grid;
  min-height: 100dvh;
  grid-template-rows: 76px minmax(0, 1fr);
  padding: 0;
  background: #f5f8f8;
}

.auth-topbar {
  display: flex;
  width: min(100% - 40px, 1180px);
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  border-bottom: 1px solid var(--color-border);
}

.auth-wordmark {
  color: var(--color-primary-strong);
  font-size: 24px;
  font-weight: 800;
  text-decoration: none;
}

.auth-topbar__title {
  margin-bottom: 0;
  color: var(--color-text);
  font-size: 17px;
  font-weight: 700;
}

.product-mark,
.eyebrow {
  margin-bottom: var(--space-1);
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 700;
}

.auth-stage {
  display: grid;
  width: min(100% - 40px, 1180px);
  grid-template-columns: minmax(0, 1.15fr) minmax(400px, 0.85fr);
  gap: clamp(var(--space-7), 7vw, 96px);
  align-items: center;
  margin: 0 auto;
  padding: clamp(40px, 8vh, 96px) 0;
}

.auth-context {
  max-width: 580px;
  padding: var(--space-7) 0 var(--space-7) var(--space-6);
  border-left: 4px solid var(--color-primary);
}

.auth-context__mark {
  margin-bottom: var(--space-4);
  color: var(--color-primary);
  font-size: 17px;
  font-weight: 800;
}

.auth-context h1 {
  max-width: 510px;
  margin-bottom: var(--space-4);
  color: var(--color-text);
  font-size: 38px;
}

.auth-context__summary {
  max-width: 440px;
  margin-bottom: var(--space-6);
  color: var(--color-text-muted);
  font-size: 19px;
}

.auth-context__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, max-content));
  gap: var(--space-5);
  margin: 0;
  padding: 0;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 700;
  list-style: none;
}

.auth-context__steps li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.auth-context__steps li::before {
  width: 8px;
  height: 8px;
  content: "";
  background: var(--color-accent);
}

.auth-panel {
  width: min(100%, 456px);
  justify-self: end;
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-panel);
}

.auth-panel__heading {
  margin-bottom: var(--space-5);
}

.auth-panel__heading h2 {
  margin-bottom: 0;
  font-size: 28px;
}

.auth-panel__tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  margin-bottom: var(--space-5);
  padding: 3px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface-strong);
}

.tab-button {
  min-height: 46px;
  border-radius: 3px;
  color: var(--color-text-muted);
  background: transparent;
  font-weight: 700;
}

.tab-button.is-active {
  color: var(--color-primary-strong);
  background: var(--color-surface);
  box-shadow: 0 1px 2px rgb(22 38 45 / 12%);
}

.auth-panel .form-stack {
  gap: var(--space-4);
}

.auth-panel .form-field input {
  min-height: 50px;
}

.auth-panel .button--full {
  min-height: 52px;
  margin-top: var(--space-1);
}

.application-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: var(--space-3);
  padding: 0 clamp(16px, 3vw, 36px);
  border-bottom: 1px solid var(--color-border);
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(10px);
}

.topbar__brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-primary-strong);
}

.topbar__brand strong {
  flex: 0 0 auto;
  font-size: 22px;
  letter-spacing: 0;
}

.topbar__brand span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar__system-name {
  color: var(--color-text);
  font-size: 18px;
  font-weight: 700;
}

.topbar__view-name {
  padding-left: var(--space-3);
  border-left: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 16px;
}

.topbar__menu {
  display: none;
  min-height: 42px;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  background: var(--color-surface);
  font-size: 15px;
  font-weight: 700;
}

.topbar__menu span:first-child {
  font-size: 22px;
  line-height: 1;
}

.topbar__account {
  display: flex;
  min-width: 0;
  margin-left: auto;
  align-items: center;
  gap: var(--space-2);
}

.account-identity {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text);
}

.account-identity__avatar {
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--color-primary-strong);
  background: var(--color-primary-soft);
  font-size: 16px;
  font-weight: 800;
}

.account-identity__copy {
  display: grid;
  min-width: 0;
  gap: 0;
}

.account-identity__copy strong,
.account-identity__copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-identity__copy strong {
  max-width: 18ch;
  font-size: 16px;
}

.account-identity__copy small {
  color: var(--color-text-muted);
  font-size: 14px;
}

.topbar__logout {
  border-color: #edc2bf;
  color: var(--color-danger);
  background: #fffafa;
}

.application-frame {
  display: grid;
  min-height: calc(100vh - 72px);
  grid-template-columns: 272px minmax(0, 1fr);
  transition: grid-template-columns 180ms ease;
}

.application-frame.is-navigation-collapsed {
  grid-template-columns: 0 minmax(0, 1fr);
}

.side-navigation {
  position: sticky;
  top: 72px;
  align-self: start;
  height: calc(100vh - 72px);
  width: 272px;
  padding: var(--space-5) var(--space-3);
  border-right: 1px solid var(--color-border);
  background: #f8fafb;
  transition: transform 180ms ease, visibility 0s linear 180ms;
}

.side-navigation__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 var(--space-2) var(--space-3);
  color: var(--color-text-muted);
  font-size: 15px;
  font-weight: 700;
}

.side-navigation__actions {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.side-navigation__collapse,
.side-navigation__close {
  display: inline-grid;
  width: 38px;
  min-height: 38px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  background: var(--color-surface);
  font-size: 22px;
  font-weight: 700;
}

.side-navigation__close {
  display: none;
}

.side-navigation__collapse:hover,
.side-navigation__close:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-strong);
  background: var(--color-primary-soft);
}

.side-navigation nav {
  display: grid;
  gap: 4px;
}

.navigation-item {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-3);
  border-left: 3px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  background: transparent;
  font-size: 17px;
  font-weight: 650;
  text-align: center;
}

.navigation-item__mark {
  display: none;
}

.navigation-item:hover {
  color: var(--color-text);
  background: var(--color-surface);
}

.navigation-item.is-active {
  border-left-color: var(--color-primary);
  color: var(--color-primary-strong);
  background: var(--color-primary-soft);
  font-weight: 750;
}

.side-navigation.is-collapsed {
  pointer-events: none;
  visibility: hidden;
  transform: translateX(-100%);
}

.side-navigation__reveal {
  position: fixed;
  z-index: 32;
  top: 50%;
  left: 0;
  display: none;
  width: 30px;
  height: 56px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--color-border);
  border-left: 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--color-primary-strong);
  background: var(--color-surface);
  box-shadow: 2px 4px 12px rgb(22 38 45 / 14%);
  font-size: 24px;
  font-weight: 800;
  transform: translateY(-50%);
}

.application-frame.is-navigation-collapsed .side-navigation__reveal {
  display: inline-grid;
}

.side-navigation__reveal:hover {
  color: var(--color-surface);
  background: var(--color-primary);
}

.navigation-scrim {
  display: none;
}

.workspace {
  width: min(100%, var(--content-width));
  min-width: 0;
  margin: 0 auto;
  padding: var(--space-6) clamp(16px, 3vw, 40px) var(--space-8);
}

.page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.page-heading h1,
.page-heading p {
  margin-bottom: 0;
}

.page-heading h1 {
  font-size: 32px;
}

.page-heading__meta,
.section-meta,
.muted-copy {
  color: var(--color-text-muted);
  font-size: 16px;
}

.page-heading--actions {
  align-items: center;
}

.page-heading--actions > .button-group {
  align-items: center;
}

.button,
.icon-button,
.text-button {
  min-height: 46px;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, opacity 150ms ease;
}

.button {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 9px var(--space-4);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.button:hover:not(:disabled) {
  filter: brightness(0.97);
}

.button--primary {
  color: #fff;
  background: var(--color-primary);
}

.button--secondary {
  border-color: var(--color-primary);
  color: var(--color-primary-strong);
  background: var(--color-surface);
}

.button--quiet {
  border-color: var(--color-border-strong);
  color: var(--color-text);
  background: var(--color-surface);
}

.button--danger,
.button--danger-outline:hover:not(:disabled) {
  color: #fff;
  background: var(--color-danger);
}

.button--danger-outline {
  border-color: var(--color-danger);
  color: var(--color-danger);
  background: var(--color-surface);
}

.button--full {
  width: 100%;
}

.button--compact {
  min-height: 40px;
  padding: 8px 12px;
  font-size: 15px;
}

.button-group,
.table-actions,
.record-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.icon-button {
  display: inline-grid;
  width: 42px;
  min-width: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  background: var(--color-surface);
  font-size: 22px;
  line-height: 1;
}

.icon-button:hover:not(:disabled) {
  border-color: var(--color-primary);
  color: var(--color-primary-strong);
  background: var(--color-primary-soft);
}

.text-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  color: var(--color-primary-strong);
  background: var(--color-surface);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.text-button:hover:not(:disabled) {
  border-color: var(--color-primary);
  background: var(--color-primary-soft);
}

.text-button--danger {
  border-color: #edc2bf;
  color: var(--color-danger);
}

.text-button--danger:hover:not(:disabled) {
  border-color: var(--color-danger);
  background: var(--color-danger-soft);
}

.form-stack,
.form-field {
  display: grid;
  gap: 6px;
}

.form-stack {
  gap: var(--space-4);
}

.form-field {
  min-width: 0;
}

.form-field label {
  color: var(--color-text);
  font-size: 16px;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  background: #fff;
  box-shadow: inset 0 1px 1px rgb(22 38 45 / 3%);
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.form-field textarea {
  min-height: 112px;
  resize: vertical;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: #87989f;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-primary);
  outline: 0;
  box-shadow: 0 0 0 3px rgb(12 111 120 / 16%);
}

.form-field small {
  color: var(--color-text-muted);
  font-size: 14px;
}

.select-menu {
  position: relative;
  min-width: 0;
}

.select-menu__trigger {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 10px 13px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  background: #fff;
  box-shadow: inset 0 1px 1px rgb(22 38 45 / 3%);
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.select-menu__trigger:hover:not(:disabled),
.select-menu.is-open .select-menu__trigger {
  border-color: var(--color-primary);
  background: #fbfefe;
}

.select-menu__trigger:focus-visible {
  border-color: var(--color-primary);
  outline: 0;
  box-shadow: 0 0 0 3px rgb(12 111 120 / 16%);
}

.select-menu__trigger span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.select-menu__chevron {
  flex: 0 0 auto;
  color: var(--color-text-muted);
  font-size: 19px;
  line-height: 1;
  transition: transform 150ms ease;
}

.select-menu.is-open .select-menu__chevron {
  transform: rotate(180deg);
}

.select-menu__options {
  position: absolute;
  z-index: 70;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  display: grid;
  max-height: min(320px, 46vh);
  overflow-y: auto;
  padding: 4px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  box-shadow: 0 14px 28px rgb(22 38 45 / 18%);
}

.select-menu__options[hidden] {
  display: none;
}

.select-menu.opens-upward .select-menu__options {
  top: auto;
  bottom: calc(100% + 6px);
}

.select-menu__option {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 4px;
  color: var(--color-text);
  background: transparent;
  font-size: 16px;
  text-align: left;
}

.select-menu__option:hover:not(:disabled),
.select-menu__option.is-selected {
  color: var(--color-primary-strong);
  background: var(--color-primary-soft);
}

.select-menu__option.is-selected {
  font-weight: 700;
}

.select-menu__option:disabled {
  color: #9aa5aa;
  background: transparent;
}

.form-field--file input[type="file"] {
  min-height: 52px;
  padding: 5px;
  background: #f8fbfb;
}

.form-field--file input[type="file"]::file-selector-button {
  min-height: 38px;
  margin-right: var(--space-2);
  padding: 0 var(--space-3);
  border: 0;
  border-radius: 4px;
  color: var(--color-primary-strong);
  background: var(--color-primary-soft);
  font-weight: 700;
  cursor: pointer;
}

.field-optional {
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 600;
}

.inline-message {
  min-height: 1.5em;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 16px;
}

.inline-message--danger {
  color: var(--color-danger);
}

.inline-message--success {
  color: var(--color-success);
}

.inline-message--warning {
  color: var(--color-accent);
}

.filter-bar {
  margin-bottom: var(--space-4);
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-primary);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-panel);
}

.filter-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) minmax(150px, 1fr) minmax(150px, 1fr) auto;
  align-items: end;
  gap: var(--space-3);
}

.filter-grid input {
  background: #fbfcfc;
}

.filter-grid__action {
  display: grid;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(276px, 1fr));
  gap: var(--space-3);
  align-items: stretch;
}

.equipment-card,
.record-item,
.work-order-item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: 0 1px 2px rgb(22 38 45 / 4%);
}

.equipment-card {
  block-size: 360px;
  overflow: hidden;
}

.work-order-item {
  display: grid;
  block-size: 430px;
  grid-template-rows: auto auto minmax(76px, 1fr) auto;
  gap: var(--space-2);
  overflow: hidden;
}

.equipment-card__header,
.record-item__title {
  display: flex;
  min-width: 0;
  align-items: start;
  justify-content: space-between;
  gap: var(--space-3);
}

.equipment-card__header h2,
.record-item__title h3,
.record-item__title h2 {
  margin-bottom: var(--space-1);
  font-size: 20px;
  overflow-wrap: anywhere;
}

.equipment-card__header > div,
.record-item__title > div {
  min-width: 0;
}

.equipment-card__header h2,
.work-order-item .record-item__title p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.work-order-item .record-item__title h2 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-order-item__description {
  min-block-size: 2.9em;
}

.equipment-card__code,
.record-item__title p {
  margin-bottom: 0;
  color: var(--color-text-muted);
  font-size: 15px;
}

.equipment-card__details,
.compact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2) var(--space-4);
  margin: var(--space-4) 0;
}

.work-order-item .compact-details {
  margin: 0;
}

.repair-result-details {
  display: grid;
  min-block-size: 76px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2);
  margin: 0;
  padding: var(--space-2) var(--space-3);
  border-left: 3px solid var(--color-primary);
  background: #f5fafb;
}

.repair-result-details div {
  min-width: 0;
}

.repair-result-details dt {
  color: var(--color-text-muted);
  font-size: 13px;
}

.repair-result-details dd {
  display: -webkit-box;
  margin: 2px 0 0;
  overflow: hidden;
  color: var(--color-text);
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.work-order-item__result-placeholder {
  display: grid;
  min-block-size: 76px;
  align-content: center;
  padding: var(--space-2) var(--space-3);
  border-left: 3px solid var(--color-border-strong);
  color: var(--color-text-muted);
  background: #fafcfc;
  font-size: 14px;
}

.equipment-card__details div,
.compact-details div {
  min-width: 0;
}

.equipment-card__details dt,
.compact-details dt {
  color: var(--color-text-muted);
  font-size: 14px;
}

.equipment-card__details dd,
.compact-details dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 16px;
}

.equipment-card__description {
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
  font-size: 16px;
  overflow-wrap: anywhere;
}

.equipment-card__description--clamped {
  min-height: 4.65em;
}

.equipment-card__description--clamped {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.equipment-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: auto;
}

.equipment-detail__code {
  margin-bottom: var(--space-4);
  color: var(--color-primary-strong);
  font-size: 14px;
  font-weight: 800;
}

.equipment-detail__description {
  padding: var(--space-3);
  border-left: 3px solid var(--color-primary);
  background: #f5fafb;
}

.equipment-detail__description h3 {
  margin-bottom: var(--space-2);
  font-size: 15px;
}

.equipment-detail__description p {
  margin-bottom: 0;
  color: var(--color-text-muted);
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.status-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 28px;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.status-badge--success {
  color: #14523a;
  background: var(--color-success-soft);
}

.status-badge--info {
  color: #1f5787;
  background: var(--color-info-soft);
}

.status-badge--warning {
  color: #7b4a12;
  background: var(--color-accent-soft);
}

.status-badge--danger {
  color: #842d2c;
  background: var(--color-danger-soft);
}

.status-badge--muted {
  color: var(--color-text-muted);
  background: var(--color-surface-strong);
}

.list-region {
  display: grid;
  min-block-size: clamp(300px, 34vh, 460px);
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-panel);
}

.list-region--catalog {
  min-block-size: clamp(360px, 48vh, 620px);
}

.list-region__body {
  display: grid;
  min-width: 0;
  min-block-size: 0;
  align-content: start;
  padding: var(--space-4);
}

.list-region--table .list-region__body {
  padding: 0;
}

.list-region__body > .empty-state {
  min-block-size: 100%;
  align-self: stretch;
}

.list-region__footer {
  margin-top: auto;
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--color-border);
  background: #fafcfc;
}

.pagination {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  color: var(--color-text-muted);
  font-size: 15px;
}

.pagination__summary {
  white-space: nowrap;
}

.pagination__controls {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.pagination__page {
  min-width: 82px;
  color: var(--color-text);
  text-align: center;
  white-space: nowrap;
}

.content-section {
  margin-top: var(--space-6);
}

.borrow-workspace {
  display: grid;
  min-block-size: clamp(440px, calc(100dvh - 248px), 760px);
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-panel);
}

.workspace-tabs {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 2px;
  padding: var(--space-2) var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
  background: #f8fbfb;
}

.workspace-tab {
  min-height: 46px;
  padding: 0 var(--space-4);
  border-bottom: 3px solid transparent;
  border-radius: 0;
  color: var(--color-text-muted);
  background: transparent;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.workspace-tab:hover {
  color: var(--color-text);
  background: #eff6f6;
}

.workspace-tab.is-active {
  border-bottom-color: var(--color-primary);
  color: var(--color-primary-strong);
  background: var(--color-surface);
}

.borrow-workspace .list-region {
  min-block-size: 0;
  block-size: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.borrow-workspace__table th,
.borrow-workspace__table td {
  padding: 12px var(--space-4);
  vertical-align: middle;
}

.borrow-workspace__table td:last-child,
.borrow-workspace__table th:last-child {
  text-align: right;
}

.table-primary {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.table-primary strong,
.table-primary small,
.table-clamp,
.table-action-note {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-primary strong {
  color: var(--color-text);
  font-size: 15px;
}

.table-primary small,
.table-action-note,
.table-action-placeholder {
  color: var(--color-text-muted);
  font-size: 14px;
}

.table-clamp {
  display: block;
  max-width: 34ch;
}

.borrow-workspace .table-actions {
  justify-content: end;
  flex-wrap: nowrap;
}

.account-directory-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-panel);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.filter-chip {
  min-height: 40px;
  padding: 7px 13px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  background: var(--color-surface);
  font-size: 15px;
  font-weight: 700;
}

.filter-chip:hover,
.filter-chip.is-active {
  border-color: var(--color-primary);
  color: var(--color-primary-strong);
  background: var(--color-primary-soft);
}

.account-role-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.account-role-badge--user {
  color: #1f5787;
  background: var(--color-info-soft);
}

.account-role-badge--admin {
  color: #14523a;
  background: var(--color-success-soft);
}

.account-role-badge--technician {
  color: #7b4a12;
  background: var(--color-accent-soft);
}

.account-status-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.account-status-badge.is-active {
  color: #14523a;
  background: var(--color-success-soft);
}

.account-status-badge.is-disabled {
  color: #842d2c;
  background: var(--color-danger-soft);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: 23px;
}

.record-list,
.work-order-grid {
  display: grid;
  gap: var(--space-3);
}

.record-list--borrowing {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: stretch;
}

.record-item--borrowing {
  min-height: 100%;
  padding: var(--space-5);
  border-top: 3px solid var(--color-primary);
  box-shadow: 0 6px 18px rgb(22 38 45 / 6%);
}

.record-item--borrowing .record-item__title {
  gap: var(--space-4);
}

.record-item--borrowing .compact-details {
  margin: var(--space-4) 0 var(--space-3);
  padding: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #f8fbfb;
}

.record-item__actions--return {
  justify-content: flex-end;
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.record-item__actions--return .button {
  min-width: 132px;
}

.work-order-grid {
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
}

.record-item p {
  margin-bottom: 0;
}

.record-item__actions {
  margin-top: auto;
  padding-top: var(--space-3);
}

.work-order-item__evidence {
  display: flex;
  min-block-size: 46px;
  align-items: center;
  gap: var(--space-2);
}

.work-order-item__media-action {
  inline-size: 112px;
}

.work-order-item__footer {
  display: grid;
  min-width: 0;
  gap: var(--space-2);
}

.work-order-item__actions {
  min-block-size: 46px;
  align-items: center;
}

.table-scroll {
  overflow-x: auto;
}

.table-scroll table {
  min-width: 720px;
}

.audit-log-table {
  min-width: 1080px !important;
}

.audit-action-badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid #b9d8db;
  border-radius: var(--radius-sm);
  color: var(--color-primary-strong);
  background: var(--color-primary-soft);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.audit-record__time,
.audit-record__state-change {
  white-space: nowrap;
}

.audit-record__identity {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.audit-record__identity strong,
.audit-record__identity span {
  max-width: 28ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audit-record__identity span,
.audit-record__reason,
.audit-state-empty {
  color: var(--color-text-muted);
  font-size: 15px;
}

.audit-record__state-change {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.audit-record__reason {
  display: -webkit-box;
  max-width: 260px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.table-scroll tbody tr:hover {
  background: #f8fbfb;
}

.table-actions {
  min-width: 108px;
}

.empty-state {
  display: grid;
  gap: var(--space-2);
  place-content: center;
  padding: var(--space-6);
  color: var(--color-text-muted);
  text-align: center;
}

.empty-state h3 {
  margin-bottom: 0;
  color: var(--color-text);
  font-size: 20px;
}

.empty-state p {
  margin-bottom: 0;
}

.reporting-entry {
  margin-bottom: var(--space-6);
}

.reporting-entry--damage {
  padding: var(--space-5) 0;
  border-top: 2px solid var(--color-accent);
  border-bottom: 1px solid var(--color-border);
}

.reporting-entry__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.reporting-entry__header h2 {
  margin-bottom: 0;
  font-size: 25px;
}

.reporting-entry__count {
  color: var(--color-text-muted);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.reporting-entry__records {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-3);
}

.reporting-entry__record,
.reporting-entry__empty {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4);
  border: 1px solid #e7d2c3;
  border-radius: var(--radius-md);
  background: #fffaf7;
}

.reporting-entry__record strong {
  display: block;
  font-size: 18px;
}

.reporting-entry__record p,
.reporting-entry__empty p {
  margin: 2px 0 0;
  color: var(--color-text-muted);
  font-size: 16px;
}

.return-condition-selector {
  display: grid;
  gap: var(--space-2);
  margin: 0 0 var(--space-4);
  padding: 0;
  border: 0;
}

.return-condition-selector legend {
  margin-bottom: var(--space-2);
  color: var(--color-text);
  font-size: 17px;
  font-weight: 700;
}

.return-condition-selector__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
}

.return-condition-option {
  display: grid;
  min-height: 50px;
  place-items: center;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  background: var(--color-surface);
  font-size: 17px;
  font-weight: 700;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.return-condition-option:has(input:focus-visible) {
  outline: 3px solid rgb(176 101 26 / 58%);
  outline-offset: 2px;
}

.return-condition-option.is-selected {
  border-color: var(--color-primary);
  color: var(--color-primary-strong);
  background: var(--color-primary-soft);
}

.return-condition-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.return-condition-panel--damage {
  padding: var(--space-4);
  border: 1px solid #e7d2c3;
  border-radius: var(--radius-sm);
  background: #fffaf7;
}

.borrow-schedule {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.borrow-date-time {
  position: relative;
}

.borrow-date-time__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 124px;
  gap: var(--space-2);
}

.borrow-date-time__date {
  display: flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: 10px 13px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  background: #fff;
  font-size: 16px;
  font-weight: 650;
  text-align: left;
}

.borrow-date-time__date:hover,
.borrow-date-time__date[aria-expanded="true"] {
  border-color: var(--color-primary);
  background: #fbfefe;
}

.borrow-date-time__date span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.borrow-date-time__chevron {
  color: var(--color-text-muted);
  font-size: 18px;
}

.date-picker-popover {
  position: absolute;
  z-index: 80;
  top: calc(100% + 6px);
  left: 0;
  width: min(340px, calc(100vw - 64px));
  padding: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: 0 16px 34px rgb(22 38 45 / 18%);
}

.date-picker-popover[hidden] {
  display: none;
}

.date-picker-popover__header {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  text-align: center;
}

.date-picker-popover__header strong {
  overflow: hidden;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-icon-button {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  background: var(--color-surface);
  font-size: 21px;
  line-height: 1;
}

.calendar-icon-button:hover:not(:disabled) {
  border-color: var(--color-primary);
  color: var(--color-primary-strong);
  background: var(--color-primary-soft);
}

.date-picker-popover__weekdays,
.date-picker-popover__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
}

.date-picker-popover__weekdays {
  margin-bottom: 4px;
  color: var(--color-text-muted);
  font-size: 13px;
  text-align: center;
}

.date-picker-popover__day {
  display: inline-grid;
  min-height: 38px;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--color-text);
  background: transparent;
  font-size: 15px;
}

.date-picker-popover__day:hover:not(:disabled) {
  background: var(--color-primary-soft);
}

.date-picker-popover__day.is-today {
  border-color: var(--color-primary);
  color: var(--color-primary-strong);
  font-weight: 800;
}

.date-picker-popover__day.is-selected {
  border-color: var(--color-primary);
  color: #fff;
  background: var(--color-primary);
}

.date-picker-popover__day--empty {
  pointer-events: none;
}

.date-picker-popover__footer {
  display: flex;
  justify-content: end;
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-border);
}

.dialog-form {
  display: grid;
  max-height: calc(100dvh - 32px);
  grid-template-rows: auto minmax(0, 1fr) auto auto;
}

dialog:has(.dialog-form--borrow) {
  overflow: visible;
  max-height: none;
}

.dialog-form--borrow {
  max-height: none;
  grid-template-rows: auto auto auto auto;
}

.dialog-form--borrow .dialog-form__body {
  overflow: visible;
}

.dialog-form--dismiss-only {
  grid-template-rows: auto minmax(0, 1fr);
}

.dialog-form__header,
.dialog-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4);
}

.dialog-form__header {
  border-bottom: 1px solid var(--color-border);
}

.dialog-form__header h2 {
  margin-bottom: 0;
  font-size: 24px;
}

.dialog-form__close {
  display: inline-grid;
  width: 40px;
  min-height: 40px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  background: var(--color-surface);
  font-size: 24px;
  font-weight: 700;
}

.dialog-form__close:hover {
  color: var(--color-text);
  background: var(--color-surface-strong);
}

.dialog-form__body {
  overflow-y: auto;
  padding: var(--space-4);
}

.dialog-form:has([data-borrow-schedule]) .dialog-form__body {
  overflow: visible;
}

.dialog-form:has(.select-menu) .dialog-form__body {
  overflow: visible;
}

.dialog-form > .inline-message {
  padding: 0 var(--space-4);
}

.dialog-form__footer {
  justify-content: end;
  border-top: 1px solid var(--color-border);
}

.dialog-subtitle {
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.file-preview {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.file-preview__item {
  display: grid;
  width: 112px;
  gap: var(--space-1);
  margin: 0;
  color: var(--color-text-muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.file-preview__image {
  width: 112px;
  height: 84px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.evidence-image {
  display: block;
  width: 100%;
  max-height: min(62dvh, 560px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.evidence-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-3);
}

.repair-timeline {
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.repair-timeline li {
  display: grid;
  grid-template-columns: minmax(122px, max-content) minmax(0, 1fr);
  gap: var(--space-3);
  align-items: start;
  padding: 0 0 var(--space-3);
  border-bottom: 1px solid var(--color-border);
}

.repair-timeline li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.repair-timeline time,
.repair-timeline p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 14px;
}

.repair-timeline strong,
.repair-timeline p {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.toast-region {
  position: fixed;
  z-index: 60;
  top: var(--space-4);
  right: var(--space-4);
  display: grid;
  width: min(440px, calc(100% - 32px));
  gap: var(--space-2);
}

.toast {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: var(--space-3);
  align-items: start;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: 0 14px 30px rgb(22 38 45 / 18%);
  animation: toast-enter 180ms ease-out;
}

.toast p {
  margin: 0;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.toast__indicator {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--color-info);
}

.toast__close {
  min-height: 32px;
  padding: 0 4px;
  color: var(--color-text-muted);
  background: transparent;
  font-size: 14px;
  font-weight: 700;
}

.toast__close:hover {
  color: var(--color-text);
}

.toast--success {
  border-color: #badbc9;
}

.toast--success .toast__indicator {
  background: var(--color-success);
}

.toast--warning {
  border-color: #efd2ae;
}

.toast--warning .toast__indicator {
  background: var(--color-accent);
}

.toast--danger {
  border-color: #edc0bd;
}

.toast--danger .toast__indicator {
  background: var(--color-danger);
}

@keyframes toast-enter {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 840px) {
  .auth-layout {
    grid-template-rows: 68px minmax(0, 1fr);
  }

  .auth-topbar,
  .auth-stage {
    width: min(100% - 32px, 560px);
  }

  .auth-context {
    display: none;
  }

  .auth-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding: var(--space-6) 0;
  }

  .auth-panel {
    justify-self: stretch;
    width: 100%;
    margin: 0;
  }

  .auth-panel {
    width: min(100%, 424px);
    margin: var(--space-5) auto auto;
  }

  .topbar__menu {
    display: inline-flex;
  }

  .application-frame {
    display: block;
  }

  .navigation-scrim {
    position: fixed;
    z-index: 35;
    inset: 72px 0 0;
    display: block;
    background: rgb(14 27 33 / 32%);
  }

  .side-navigation {
    position: fixed;
    z-index: 40;
    top: 0;
    left: 0;
    width: min(320px, calc(100% - 42px));
    height: 100dvh;
    padding: 92px var(--space-3) var(--space-4);
    box-shadow: 12px 0 30px rgb(22 38 45 / 20%);
    transform: translateX(-110%);
    transition: transform 180ms ease;
  }

  .side-navigation.is-open {
    transform: translateX(0);
  }

  .side-navigation.is-collapsed {
    width: min(320px, calc(100% - 42px));
    padding: 92px var(--space-3) var(--space-4);
    pointer-events: auto;
    visibility: visible;
    transform: translateX(-110%);
    transition: transform 180ms ease;
  }

  .side-navigation.is-collapsed.is-open {
    transform: translateX(0);
  }

  .side-navigation.is-collapsed .side-navigation__heading {
    justify-content: space-between;
    margin-right: var(--space-2);
    margin-left: var(--space-2);
  }

  .side-navigation.is-collapsed .side-navigation__title,
  .side-navigation.is-collapsed .navigation-item__label {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
  }

  .side-navigation.is-collapsed .navigation-item {
    padding: 0 var(--space-3);
  }

  .side-navigation.is-collapsed .navigation-item__mark {
    display: none;
  }

  .side-navigation__collapse {
    display: none;
  }

  .side-navigation__reveal {
    display: none !important;
  }

  .side-navigation__close {
    display: inline-grid;
    place-items: center;
  }

  .filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-grid__action {
    align-self: end;
  }

  .list-region--catalog {
    min-block-size: clamp(340px, 54vh, 540px);
  }
}

@media (max-width: 640px) {
  .auth-topbar {
    width: min(100% - 24px, 560px);
  }

  .auth-wordmark {
    font-size: 21px;
  }

  .auth-topbar__title {
    max-width: 250px;
    font-size: 15px;
    text-align: right;
  }

  .topbar {
    gap: var(--space-2);
    min-height: 64px;
    padding: 0 var(--space-3);
  }

  .topbar__menu span:last-child,
  .topbar__brand span,
  .account-identity__copy {
    display: none;
  }

  .application-frame {
    min-height: calc(100vh - 64px);
  }

  .navigation-scrim {
    inset: 64px 0 0;
  }

  .workspace {
    padding: var(--space-4) var(--space-3) var(--space-6);
  }

  .page-heading,
  .page-heading--actions {
    align-items: start;
    flex-direction: column;
  }

  .page-heading h1 {
    font-size: 28px;
  }

  .button-group {
    width: 100%;
  }

  .button-group .button {
    flex: 1 1 140px;
  }

  .filter-grid,
  .form-grid,
  .borrow-schedule {
    grid-template-columns: minmax(0, 1fr);
  }

  .filter-grid__action .button {
    width: 100%;
  }

  .equipment-grid,
  .work-order-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .equipment-card {
    block-size: 420px;
  }

  .work-order-item {
    block-size: 520px;
  }

  .account-directory-toolbar {
    align-items: stretch;
    flex-direction: column;
    padding: var(--space-3);
  }

  .account-directory-toolbar .page-heading__meta {
    margin-bottom: 0;
  }

  .compact-details,
  .equipment-card__details {
    grid-template-columns: minmax(0, 1fr);
  }

  .list-region,
  .list-region--catalog {
    min-block-size: clamp(280px, 42vh, 420px);
  }

  .list-region__body,
  .list-region__footer {
    padding-right: var(--space-3);
    padding-left: var(--space-3);
  }

  .auth-panel {
    padding: var(--space-5);
  }

  .reporting-entry__record,
  .reporting-entry__empty {
    align-items: stretch;
    flex-direction: column;
  }

  .reporting-entry__record .button,
  .reporting-entry__empty .button {
    width: 100%;
  }

  .reporting-entry__header {
    align-items: start;
    flex-direction: column;
    gap: var(--space-2);
  }

  .record-list--borrowing,
  .reporting-entry__records {
    grid-template-columns: minmax(0, 1fr);
  }

  .record-item--borrowing {
    padding: var(--space-4);
  }

  .record-item__actions--return .button {
    width: 100%;
  }

  .dialog-form__footer {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .dialog-form__footer .button {
    width: 100%;
  }

  .dialog-form:has(.select-menu) .dialog-form__body {
    overflow-y: auto;
  }

  .dialog-form--borrow .dialog-form__body {
    overflow: visible;
  }

  .borrow-workspace {
    min-block-size: clamp(400px, calc(100dvh - 220px), 620px);
  }

  .workspace-tabs {
    overflow-x: auto;
  }

  .repair-result-details {
    grid-template-columns: minmax(0, 1fr);
  }

  .repair-timeline li {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-1);
  }

  .select-menu__options {
    max-height: 36dvh;
  }

  .toast-region {
    top: var(--space-3);
    right: var(--space-3);
    width: calc(100% - 24px);
  }
}
