.scrollbar-thin::-webkit-scrollbar {
  width: 7px;
  height: 7px
}

.scrollbar-thin::-webkit-scrollbar-thumb {
  background: #d4d4d4;
  border-radius: 99px
}

.toast-in {
  animation: toast .22s ease-out
}

@keyframes toast {
  from {
    opacity: 0;
    transform: translateY(12px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.catalog-layout-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap
}

.catalog-layout-bar>span {
  font-size: 12px;
  font-weight: 700
}

.catalog-layout-switch {
  display: inline-flex;
  border: 1px solid #ddd7e8;
  border-radius: 12px;
  background: white;
  padding: 3px;
  gap: 3px
}

.catalog-layout-switch button {
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 800;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 7px
}

.catalog-layout-switch button[aria-pressed=true] {
  background: var(--brand-purple);
  color: white
}

.catalog-layout-switch button svg {
  width: 15px;
  height: 15px
}

.catalog-as-table {
  display: block!important;
  min-width: 0
}

.catalog-table-wrap {
  overflow: auto;
  max-height: 72vh;
  border: 1px solid #e3ddeb;
  border-radius: var(--panel-radius);
  background: white
}

.catalog-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  font-size: 12px
}

.catalog-table caption {
  padding: 12px 15px;
  text-align: left;
  color: #746b84;
  font-size: 11px
}

.catalog-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f7f4fa;
  color: var(--brand-ink);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
  border-top: 1px solid #ece7f1
}

.catalog-table th,.catalog-table td {
  padding: 13px 15px;
  border-bottom: 1px solid #ece7f1;
  vertical-align: top
}

.catalog-table tbody tr:last-child td {
  border-bottom: 0
}

.catalog-table tbody tr:hover {
  background: #fffdf5
}

.catalog-table .catalog-primary {
  min-width: 200px;
  max-width: 310px
}

.catalog-table .catalog-primary>strong {
  display: block;
  font-size: 13px
}

.catalog-table .catalog-secondary {
  display: block;
  font-size: 11px;
  color: #7c718c;
  margin-top: 5px;
  overflow-wrap: anywhere
}

.catalog-table .catalog-actions {
  display: flex;
  gap: 7px;
  align-items: center;
  flex-wrap: wrap;
  min-width: 160px
}

.catalog-table .metadata-tags {
  min-width: 145px;
  margin-top: 0
}

.catalog-table .catalog-notes {
  min-width: 190px;
  max-width: 280px;
  max-height: 150px;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere
}

.catalog-table .catalog-count {
  font-weight: 900;
  font-size: 15px;
  white-space: nowrap
}

.catalog-table .team-portal-access {
  min-width: 180px
}

.catalog-table .team-portal-access:empty:after {
  content: 'Nur mit Zugangsberechtigung';
  color: #8a8097;
  font-size: 11px
}

.catalog-table .portal-open {
  text-decoration: underline;
  text-underline-offset: 3px
}

.catalog-table .pill {
  font-size: 10px
}

.catalog-table-empty {
  padding: 28px!important;
  text-align: center;
  color: #7c718c
}

.catalog-modal-close {
  display: grid;
  place-items: center;
  min-width: 36px;
  min-height: 36px;
  border-radius: 10px
}

.catalog-modal-close:hover {
  background: #f3eff6
}

.dialog-heading {
  position: sticky;
  top: 0;
  z-index: 2;
  background: white
}

.pulse-dot {
  box-shadow: 0 0 0 0 rgba(34,197,94,.5);
  animation: pulse 2s infinite
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px transparent
  }

  100% {
    box-shadow: 0 0 0 0 transparent
  }
}

:root{--brand-yellow:#f9bd16;--brand-purple:#4b4263;--brand-ink:#40394f;--brand-teal:#008c82;--surface-border:#e4dfea;--control-border:#d9d2e3;--interactive-border:#ded7e8;--muted-text:#746d7e;--success-text:#00766d;--panel-radius:16px;--form-stack-gap:16px}

body {
  background: #f4f4f4;
  color: var(--brand-ink)
}

#sidebar {
  background: var(--brand-yellow);
  color: var(--brand-ink);
  border-right: 1px solid #dfa91b
}

#sidebar .nav-btn {
  min-height: 46px;
  background: #ffcf4d;
  color: var(--brand-ink);
  box-shadow: 0 3px 7px #aa7c0820
}

#sidebar .nav-btn:hover {
  background: #ffda71
}

#sidebar .nav-btn[aria-current="page"] {
  background: var(--brand-purple);
  color: white
}

#sidebar .nav-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0
}

.sidebar-heading {
  border-color: #d9a318
}

.sidebar-wordmark {
  font-size: 27px;
  letter-spacing: .16em;
  font-weight: 900;
  color: var(--brand-ink)
}

.sidebar-caption {
  color: #756021
}

.sidebar-user {
  border-color: #e2aa1b
}

.sidebar-user .text-neutral-500 {
  color: #756021
}

.brand-hero {
  background: #fff;
  color: var(--brand-ink);
  border: 1px solid #e6e4e9
}

.brand-hero h2 span {
  color: var(--brand-purple)
}

.brand-hero [data-go] {
  border-color: #ded9e5;
  color: var(--brand-purple);
  background: #f6f4f8
}

.brand-hero .system-badge {
  background: #e8f6f3;
  border: 1px solid #c7e8e2;
  color: #087c72
}

.copy-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  border: 1px solid var(--control-border);
  border-radius: .65rem;
  background: #f5f2f8;
  padding: .45rem .7rem;
  font-size: .75rem;
  font-weight: 700;
  color: var(--brand-purple);
  white-space: nowrap
}

.copy-action:hover {
  background: #eae3f2;
  border-color: #b7a9c9
}

.copy-action:disabled {
  opacity: .45;
  cursor: not-allowed
}

.copy-action svg {
  width: 14px;
  height: 14px
}

.copy-preview {
  display: block;
  width: 100%;
  resize: vertical;
  min-height: 64px;
  max-height: 160px;
  border: 0;
  background: transparent;
  padding: 0;
  color: #605b69;
  font: inherit;
  font-size: .875rem;
  line-height: 1.6
}

.copy-preview:focus {
  outline: 2px solid #c2b4d6;
  outline-offset: 5px;
  border-radius: 3px
}

.copy-card {
  min-width: 0;
  border: 1px solid var(--surface-border);
  border-radius: 14px;
  padding: 16px;
  background: white
}

.copy-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px
}

button:focus-visible,a:focus-visible {
  outline: 3px solid #a393bb;
  outline-offset: 3px
}
