/* =========================================================================
   Pairsy Internal — staff console (desktop-first, dense, utilitarian).
   Distinct from the consumer app: cool slate theme, information-dense.
   ========================================================================= */

:root {
  --bg: #14181d;
  --surface: #1b2027;
  --surface-raised: #222932;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #e8edf2;
  --text-soft: #a9b4c0;
  --text-faint: #74808d;
  --brand: #ef4445;
  --brand-deep: #c42e36;
  --accent: #4f9cf0;
  --ok: #51b07e;
  --warn: #d9a441;
  --danger: #e86b6b;

  --font-body: "Lexend", system-ui, -apple-system, sans-serif;
  --font-heading: "Be Vietnam Pro", "Lexend", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", monospace;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --header-h: 3.5rem;
  --nav-w: 11.5rem;
  --frame: 80rem;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

html {
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
}

h1 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-faint);
  margin: 0 0 0.35rem;
}

.lede {
  color: var(--text-soft);
  max-width: 46rem;
}

/* — Shell ——————————————————————————————————————————————————— */
.shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.shell__header {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.25rem;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.shell__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-weight: 700;
}

.shell__brand-mark {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 7px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}

.shell__brand-suffix {
  color: var(--text-faint);
  font-weight: 600;
}

.shell__header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.shell__roles {
  display: flex;
  gap: 0.35rem;
}

.shell__user {
  color: var(--text-soft);
  font-size: 0.85rem;
  max-width: 16rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shell__body {
  display: flex;
  flex: 1;
  min-height: 0;
}

.shell__nav {
  width: var(--nav-w);
  flex-shrink: 0;
  padding: 1.25rem 0.75rem;
  border-right: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.shell__nav-link {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--r-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-soft);
  text-decoration: none;
  transition: background 140ms ease, color 140ms ease;
}

.shell__nav-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.shell__nav-link--active {
  background: rgba(79, 156, 240, 0.12);
  color: var(--accent);
}

.shell__nav-link--disabled {
  opacity: 0.4;
  cursor: not-allowed;
  color: var(--text-faint);
  user-select: none;
}

.shell__nav-link--disabled:hover {
  background: transparent;
  color: var(--text-faint);
}

.shell__search {
  flex: 1;
  max-width: 28rem;
  position: relative;
}

.shell__search-input {
  width: 100%;
  padding: 0.45rem 0.75rem 0.45rem 2rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2374808d' stroke-width='1.5'%3E%3Ccircle cx='7' cy='7' r='4.5'/%3E%3Cpath d='M10.5 10.5 14 14'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0.55rem center;
}

.shell__search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(79, 156, 240, 0.2);
}

.shell__search-results {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  max-height: 18rem;
  overflow: auto;
  background: var(--surface-raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  z-index: 20;
}

.search-results__item {
  display: block;
  padding: 0.65rem 0.85rem;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}

.search-results__item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.search-results__type {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  font-weight: 600;
}

.search-results__sub {
  display: block;
  font-size: 0.78rem;
  color: var(--text-faint);
}

.search-results__loading,
.search-results__empty {
  padding: 0.75rem 0.85rem;
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.shell__main {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: 1.75rem 1.5rem 4rem;
}

/* — Bits ————————————————————————————————————————————————————— */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface-raised);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 140ms ease, border-color 140ms ease, opacity 140ms ease;
}

.btn--primary {
  background: var(--brand);
  color: #fff;
}
.btn--primary:hover {
  background: var(--brand-deep);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text-soft);
}
.btn--ghost:hover {
  border-color: var(--text-faint);
  color: var(--text);
}

.btn--danger {
  background: var(--danger);
  color: #fff;
}

.btn--sm {
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.badge--role {
  border-color: rgba(79, 156, 240, 0.35);
  color: var(--accent);
}

.badge--ok {
  border-color: rgba(81, 176, 126, 0.4);
  color: var(--ok);
}

.badge--warn {
  border-color: rgba(217, 164, 65, 0.4);
  color: var(--warn);
}

.badge--muted {
  opacity: 0.75;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.88em;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

.sub {
  font-size: 0.78rem;
  color: var(--text-faint);
}

.crumb {
  color: var(--accent);
  text-decoration: none;
}

.crumb:hover {
  text-decoration: underline;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  margin: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: var(--r-sm);
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 180ms var(--ease-out);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

:where(a, button, select, input, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.page-head__meta {
  color: var(--text-faint);
  font-size: 0.88rem;
  margin: 0 0 1.25rem;
}

.page-loading {
  color: var(--text-soft);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
}

.panel--muted {
  background: rgba(0, 0, 0, 0.15);
}

.panel__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-faint);
  margin: 0 0 0.35rem;
  font-weight: 600;
}

.panel__text {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0.85rem 1rem;
}

.stat-card--pending {
  border-color: rgba(217, 164, 65, 0.35);
}

.stat-card__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  margin: 0;
}

.stat-card__value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0.25rem 0;
}

.stat-card__hint {
  font-size: 0.78rem;
  color: var(--text-faint);
  margin: 0;
}

.stat-grid--compact {
  margin-bottom: 1.25rem;
}

.tab-bar {
  display: flex;
  gap: 0.35rem;
  margin: 1rem 0 1.25rem;
}

.tab-bar__btn {
  font: inherit;
  font-size: 0.85rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-soft);
  cursor: pointer;
}

.tab-bar__btn--active {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(217, 164, 65, 0.12);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.filter-row__label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: var(--text-faint);
}

.recovery-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
}

.checklist {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.data-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.data-list__link {
  display: block;
  padding: 0.75rem 0.85rem;
  border-radius: var(--r-sm);
  text-decoration: none;
  color: var(--text);
  background: rgba(0, 0, 0, 0.18);
  margin-bottom: 0.45rem;
  border: 1px solid transparent;
  transition: border-color 140ms ease, background 140ms ease;
}

.data-list__link:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.data-list__link strong {
  display: block;
  font-weight: 600;
}

.data-list__link span {
  font-size: 0.82rem;
  color: var(--text-faint);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.table th,
.table td {
  padding: 0.55rem 0.65rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.table th {
  color: var(--text-faint);
  font-weight: 600;
  font-size: 0.78rem;
}

.detail-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.3rem 1.25rem;
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
}

.detail-dl--compact {
  margin-bottom: 0.65rem;
  font-size: 0.82rem;
}

.detail-dl dt {
  color: var(--text-faint);
}

.detail-dl dd {
  margin: 0;
}

.member-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.member-chip {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.75rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
}

.member-chip__avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(79, 156, 240, 0.2);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
}

.member-chip__body strong {
  display: block;
  font-size: 0.88rem;
}

.member-chip__body span {
  font-size: 0.75rem;
  color: var(--text-faint);
}

.seat-grid {
  display: grid;
  gap: 0.75rem;
}

.seat-card {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 0.85rem;
  background: rgba(0, 0, 0, 0.12);
}

.seat-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.seat-card__title {
  font-size: 0.9rem;
  margin: 0;
  font-weight: 600;
}

.seat-card__badges {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.mini-timeline {
  margin: 0.5rem 0;
  padding-left: 1rem;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.correction-form {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px dashed var(--line);
}

.correction-form__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  margin: 0 0 0.4rem;
}

.correction-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.admin-grid {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

@media (min-width: 64rem) {
  .admin-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.grant-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: flex-end;
}

.grant-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 10rem;
  flex: 1 1 10rem;
}

.grant-form__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}

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

.table__actions {
  white-space: nowrap;
}

.input {
  padding: 0.4rem 0.55rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 0.82rem;
}

.input--sm {
  font-size: 0.78rem;
}

.form-msg {
  font-size: 0.82rem;
  margin: 0.35rem 0 0;
}

.form-msg--ok {
  color: var(--ok);
}

.form-msg--error,
.form-error {
  color: var(--danger);
}

.confirm-dialog {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 0;
  background: var(--surface-raised);
  color: var(--text);
  max-width: 24rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.confirm-dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.confirm-dialog__body {
  padding: 1.25rem;
  margin: 0;
}

.confirm-dialog__msg {
  margin: 0 0 1rem;
}

.confirm-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

@media (max-width: 900px) {
  .shell__body {
    flex-direction: column;
  }

  .shell__nav {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0.75rem;
  }

  .shell__header {
    flex-wrap: wrap;
    height: auto;
    padding: 0.75rem 1rem;
  }

  .shell__search {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
  }
}

/* — States ——————————————————————————————————————————————————— */
.state {
  min-height: 100dvh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.75rem;
  text-align: center;
  padding: 2rem;
}

.state__spinner {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 3px solid var(--line);
  border-top-color: var(--brand);
  animation: spin 0.8s linear infinite;
}

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

.state__detail {
  max-width: 40rem;
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0.75rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-soft);
  text-align: left;
}

.logout__brand,
.logout__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
}

.logout__mark {
  display: inline-grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  margin-right: 0.4rem;
}

.logout__suffix {
  color: var(--text-faint);
}

/* Debug login (/debug/login) */
.debug-login {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem 3rem;
}

.debug-login__banner {
  width: 100%;
  max-width: 28rem;
  margin: 0 0 1rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--r-sm);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  color: #fef3c7;
  background: rgba(180, 83, 9, 0.35);
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.debug-login__panel {
  width: 100%;
  max-width: 28rem;
  padding: 1.5rem 1.25rem;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
}

.debug-login__panel h1 {
  font-family: var(--font-heading);
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.debug-login__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.25rem;
}

.debug-login__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.debug-login__field input {
  padding: 0.65rem 0.75rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
}

.debug-login__field input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.debug-login__error {
  margin: 0;
  font-size: 0.88rem;
  color: var(--danger);
}

.debug-login__warn {
  margin: 0;
  font-size: 0.88rem;
  color: var(--warn);
}

.debug-login__dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.debug-login__dl dt {
  color: var(--text-faint);
}

.debug-login__dl dd {
  margin: 0;
}

.debug-login__mono {
  font-size: 0.72rem;
  word-break: break-all;
}

.debug-login__section {
  margin-top: 1rem;
}

.debug-login__section h2 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
}

.debug-login__section ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.debug-login__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.25rem;
}

.debug-login__foot {
  margin: 1.25rem 0 0;
  font-size: 0.85rem;
  color: var(--text-faint);
}

.debug-login__foot a {
  color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* Catalog page (§6) */
.catalog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.catalog-panel {
  min-height: 12rem;
}

.catalog-split {
  display: grid;
  grid-template-columns: minmax(14rem, 22rem) 1fr;
  gap: 0.75rem;
  align-items: start;
}

@media (max-width: 900px) {
  .catalog-split {
    grid-template-columns: 1fr;
  }
}

.catalog-split__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.catalog-provider-list {
  max-height: 28rem;
  overflow-y: auto;
}

.catalog-provider-item {
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.catalog-provider-item--active {
  border-color: var(--accent);
  background: rgba(79, 156, 240, 0.08);
}

.catalog-onboard {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed var(--line);
}

.catalog-onboard summary {
  cursor: pointer;
  list-style: none;
}

.catalog-onboard summary::-webkit-details-marker {
  display: none;
}

.catalog-form__group {
  border: none;
  margin: 0 0 1rem;
  padding: 0;
}

.catalog-form__group legend {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.catalog-field {
  display: block;
  margin-bottom: 0.65rem;
}

.catalog-field__label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-bottom: 0.25rem;
}

.catalog-field__input {
  width: 100%;
}

.catalog-field__error {
  display: block;
  font-size: 0.75rem;
  margin-top: 0.2rem;
}

.catalog-field__error[hidden] {
  display: none;
}

.catalog-form__actions {
  margin: 0.5rem 0 0;
}

.catalog-row-actions {
  white-space: nowrap;
}

.catalog-row-actions .btn {
  margin-left: 0.25rem;
}

.catalog-browse-section {
  margin-bottom: 1rem;
}

.catalog-browse-section summary {
  cursor: pointer;
  margin-bottom: 0.5rem;
}
