/* Inserat123 design system v2: Apple-style dark product surfaces. Black ground, graphite tiles, one blue for action, motion on transform and opacity only. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-variable-latin.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #000000;
  --bg-1: #1d1d1f;
  --bg-2: #2c2c2e;
  --bg-3: #3a3a3c;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --fg: #f5f5f7;
  --fg-1: #d2d2d7;
  --fg-2: #a1a1a6;
  --fg-3: #86868b;
  --blue: #2997ff;
  --blue-fill: #0071e3;
  --blue-fill-hover: #0077ed;
  --blue-soft: rgba(41, 151, 255, 0.14);
  --green: #30d158;
  --orange: #ff9f0a;
  --red: #ff453a;
  --teal: #64d2ff;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --pill: 980px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --shadow-tile: 0 30px 60px -30px rgba(0, 0, 0, 0.85);
  --container: 1200px;
  --gutter: 24px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg-1);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  caret-color: var(--blue);
  scrollbar-color: #3a3a3c transparent;
  scrollbar-width: thin;
}

::selection {
  background: rgba(41, 151, 255, 0.45);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  background: #3a3a3c;
  border-radius: 8px;
  border: 2px solid var(--bg);
}

:is(a, button, input, select, textarea, summary, [role="button"]):focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Blazor moves focus to the heading after navigation; that focus must stay invisible. */
h1:focus,
h1:focus-visible,
[tabindex="-1"]:focus {
  outline: none;
}

h1,
h2,
h3,
h4 {
  color: var(--fg);
  margin: 0 0 0.45em;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.75rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.3rem;
  letter-spacing: -0.015em;
}

h4 {
  font-size: 1rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
  max-width: 66ch;
}

a {
  color: var(--blue);
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  a:hover {
    text-decoration: underline;
    text-underline-offset: 0.18em;
  }
}

strong {
  color: var(--fg);
  font-weight: 600;
}

small {
  font-size: 0.85em;
}

code {
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  font-size: 0.9em;
  color: var(--fg);
}

.num,
.tabular,
td.num,
th.num {
  font-variant-numeric: tabular-nums;
}

.muted {
  color: var(--fg-3);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--fg-3);
}

.label-code {
  display: inline-block;
  min-width: 2.2em;
  margin-right: 0.5em;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

/* Links with the Apple chevron */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--blue);
  font-size: 1.05rem;
  font-weight: 400;
}

.link-arrow::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 3px;
  transition: transform 200ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover::after {
    transform: rotate(45deg) translate(2px, -2px);
  }
}

/* Buttons: pills that respond on press. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--pill);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out);
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: var(--blue-fill);
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--fg);
}

.btn-quiet {
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg-1);
}

.btn-danger {
  background: rgba(255, 69, 58, 0.14);
  color: var(--red);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: var(--blue-fill-hover);
  }

  .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.16);
  }

  .btn-quiet:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--fg);
  }

  .btn-danger:hover {
    background: rgba(255, 69, 58, 0.24);
  }
}

.btn-sm {
  min-height: 32px;
  padding: 0 12px;
  font-size: 0.85rem;
}

.btn-lg {
  min-height: 50px;
  padding: 0 26px;
  font-size: 1.02rem;
}

.btn-icon {
  min-width: 32px;
  padding: 0 7px;
}

.btn.w-100,
.w-100 {
  width: 100%;
}

/* Forms */
label,
.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--fg-3);
  margin-bottom: 6px;
}

input:not([type]),
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="url"],
input[type="tel"],
input[type="date"],
input[type="month"],
input[type="time"],
select,
textarea,
.form-control,
.form-select {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  background: var(--bg-2);
  color: var(--fg);
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: 0.95rem;
  transition: box-shadow 160ms var(--ease-out), background-color 160ms ease;
}

input::placeholder,
textarea::placeholder {
  color: var(--fg-3);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.form-control:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(41, 151, 255, 0.4);
}

input[type="number"] {
  font-variant-numeric: tabular-nums;
}

/* Häkchen und Auswahlpunkt behalten ihr Maß, egal in welcher Zeile sie stehen: eine Regel für Textfelder
   (Breite, Mindesthöhe, Innenabstand) darf aus ihnen keine Pille machen. */
input[type="checkbox"],
input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 0;
  padding: 0;
  margin: 0;
  vertical-align: middle;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  transition: background-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out), transform 120ms var(--ease-out);
}

input[type="radio"] {
  border-radius: 50%;
}

input[type="checkbox"]::after {
  content: "";
  width: 10px;
  height: 10px;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: scale(0.6);
  opacity: 0;
  transition: transform 160ms var(--ease-out), opacity 120ms var(--ease-out);
}

input[type="radio"]::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  transform: scale(0.6);
  opacity: 0;
  transition: transform 160ms var(--ease-out), opacity 120ms var(--ease-out);
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
  background: var(--blue-fill);
  box-shadow: none;
}

input[type="checkbox"]:checked::after,
input[type="radio"]:checked::after {
  transform: none;
  opacity: 1;
}

input[type="checkbox"]:active,
input[type="radio"]:active {
  transform: scale(0.92);
}

input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(41, 151, 255, 0.4);
}

input:disabled,
select:disabled,
textarea:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23a1a1a6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 32px;
  font-weight: 500;
}

textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.45;
}

.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px 16px;
}

.field-hint {
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--fg-3);
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--fg-1);
  cursor: pointer;
  margin-bottom: 0;
}

/* Choice chips: a hidden checkbox or radio inside a pill. Selected = blue on blue-soft, like the product's chips. */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-check {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 13px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.07);
  color: var(--fg-1);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  margin: 0;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), transform 120ms var(--ease-out);
}

.chip-check-lg {
  min-height: 40px;
  padding: 0 16px 0 12px;
  font-size: 0.92rem;
}

.chip-check .icon {
  opacity: 0;
  width: 0;
  transition: opacity 160ms var(--ease-out), width 160ms var(--ease-out);
}

.chip-check:has(input:checked) .icon {
  opacity: 1;
  width: 14px;
}

.chip-check.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.chip-check input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  border-radius: inherit;
  cursor: pointer;
}

.chip-check:has(input:checked) {
  background: var(--blue-soft);
  color: var(--blue);
}

.chip-check:has(input:focus-visible) {
  box-shadow: 0 0 0 3px rgba(41, 151, 255, 0.4);
}

.chip-check:active {
  transform: scale(0.96);
}

@media (hover: hover) and (pointer: fine) {
  .chip-check:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--fg);
  }

  .chip-check:has(input:checked):hover {
    background: rgba(41, 151, 255, 0.22);
    color: var(--blue);
  }
}

/* Set by an overlay component (e.g. the demo in fullscreen) so the page behind does not scroll. */
html.is-locked,
html.is-locked body {
  overflow: hidden;
}

/* iOS-style switch: the input itself is the track, its pseudo-element the knob. Transform and color only. */
.switch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--fg-1);
  cursor: pointer;
  user-select: none;
}

.switch input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  display: block;
  flex: none;
  width: 44px;
  min-width: 44px;
  height: 26px;
  min-height: 0;
  padding: 0;
  margin: 0;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: none;
  cursor: pointer;
  transition: background-color 200ms var(--ease-out);
}

/* Der Knopf ist ein Kreis. Maske, Deckkraft und Skalierung des gewöhnlichen Häkchens gelten hier nicht:
   sonst ist er ausgeschaltet unsichtbar und eingeschaltet ein Haken. */
.switch input[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  -webkit-mask: none;
  mask: none;
  opacity: 1;
  transform: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  transition: transform 220ms var(--ease-out);
}

.switch input[type="checkbox"]:active {
  transform: none;
}

.switch input[type="checkbox"]:disabled,
input[type="checkbox"]:disabled,
input[type="radio"]:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.switch:has(input:disabled) {
  cursor: not-allowed;
}

.switch input[type="checkbox"]:checked {
  background: var(--green);
}

.switch input[type="checkbox"]:checked::after {
  transform: translateX(18px);
}

.switch input[type="checkbox"]:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px rgba(41, 151, 255, 0.35);
}

.validation-message,
.text-danger {
  display: block;
  color: var(--red);
  font-size: 0.8rem;
  margin-top: 6px;
}

.validation-summary-errors {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgba(255, 69, 58, 0.14);
  color: var(--fg);
  font-size: 0.9rem;
}

.validation-summary-errors ul {
  margin: 0;
  padding-left: 18px;
}

.invalid {
  box-shadow: 0 0 0 3px rgba(255, 69, 58, 0.45) !important;
}

/* Template compatibility for the Identity manage pages. */
.form-floating {
  position: relative;
  margin-bottom: 16px;
}

.form-floating > .form-control {
  padding-top: 20px;
  padding-bottom: 6px;
  min-height: 52px;
}

.form-floating > label {
  position: absolute;
  left: 14px;
  top: 7px;
  margin: 0;
  font-size: 0.7rem;
  color: var(--fg-3);
  pointer-events: none;
}

.checkbox,
.form-check {
  margin-bottom: 16px;
}

.form-check-input {
  margin-right: 8px;
}

.alert {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--bg-2);
  color: var(--fg);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.alert-danger {
  background: rgba(255, 69, 58, 0.14);
}

.alert-success {
  background: rgba(48, 209, 88, 0.14);
}

.text-secondary {
  color: var(--fg-3);
}

.mb-3 {
  margin-bottom: 16px;
}

.mt-2 {
  margin-top: 8px;
}

.row {
  display: block;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 20px 0;
}

.nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  margin: 0 0 20px;
  list-style: none;
  background: var(--bg-2);
  border-radius: var(--pill);
  width: fit-content;
}

.nav-pills .nav-link {
  display: inline-block;
  padding: 7px 14px;
  border-radius: var(--pill);
  color: var(--fg-1);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background-color 200ms ease, color 200ms ease;
}

.nav-pills .nav-link.active {
  background: var(--fg);
  color: #000;
}

.h1,
.h2,
.h3 {
  color: var(--fg);
  font-weight: 600;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 0.4em;
}

.h2 {
  font-size: 1.9rem;
}

/* Notices */
.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--bg-1);
  color: var(--fg-1);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.notice-error {
  background: rgba(255, 69, 58, 0.14);
  color: var(--fg);
}

.notice-success {
  background: rgba(48, 209, 88, 0.14);
  color: var(--fg);
}

.notice-info {
  background: var(--blue-soft);
  color: var(--fg);
}

/* Tables */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.table th {
  text-align: left;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--fg-3);
  padding: 12px 16px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}

.table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: middle;
  color: var(--fg-1);
}

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

@media (hover: hover) and (pointer: fine) {
  .table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
  }
}

.table .num {
  text-align: right;
  white-space: nowrap;
}

/* Capsules */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 11px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.1);
  color: var(--fg-1);
  font-size: 0.76rem;
  font-weight: 500;
  white-space: nowrap;
}

.chip-blue {
  background: var(--blue-soft);
  color: var(--blue);
}

.chip-green {
  background: rgba(48, 209, 88, 0.16);
  color: var(--green);
}

.chip-amber {
  background: rgba(255, 159, 10, 0.16);
  color: var(--orange);
}

.chip-red {
  background: rgba(255, 69, 58, 0.16);
  color: var(--red);
}

.chip-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 1.8s ease-in-out infinite;
}

.margin-value {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
}

.margin-value.is-good {
  color: var(--green);
}

.margin-value.is-strong {
  color: var(--blue);
}

.margin-value.is-bad {
  color: var(--red);
}

.margin-value.is-unknown {
  color: var(--fg-3);
  font-weight: 400;
}

/* Tiles: the one container of the product. */
.sheet {
  background: var(--bg-1);
  border-radius: var(--radius-lg);
}

.sheet-pad {
  padding: 22px 24px;
}

.sheet-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px 0;
}

.sheet-head h2,
.sheet-head h3 {
  margin: 0;
  font-size: 1.15rem;
}

.sheet-head .muted {
  font-size: 0.85rem;
}

/* Page header of panel pages: large title. */
.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  min-height: 56px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.page-head h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 4px;
}

.page-head p {
  margin: 0;
  color: var(--fg-3);
  font-size: 0.92rem;
}

.page-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.page-head-center {
  justify-content: center;
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

/* Instrument tiles used by the smaller pages. */
.instruments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.instrument {
  background: var(--bg-1);
  border-radius: var(--radius-lg);
  padding: 18px 20px 16px;
  min-width: 0;
}

.instrument .label {
  display: block;
  margin-bottom: 10px;
}

.instrument-value {
  display: block;
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}

.instrument-value.is-blue {
  color: var(--blue);
}

.instrument-value.is-green {
  color: var(--green);
}

.instrument-sub {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--fg-3);
}

/* Empty, loading, error states: one centred column, an icon in a soft disc, a title, one line, one action. */
.state,
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 320px;
  padding: 56px 24px;
  color: var(--fg-2);
  background: var(--bg-1);
  border-radius: var(--radius-lg);
}

.empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  margin-bottom: 18px;
}

.state h3,
.empty h3 {
  font-size: 1.25rem;
  margin: 0 0 6px;
  color: var(--fg);
}

.state p,
.empty p {
  max-width: 44ch;
  margin: 0 auto 20px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.empty-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.empty-steps {
  list-style: none;
  margin: 4px 0 24px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.empty-steps li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg-1);
  font-size: 0.86rem;
}

.empty-step {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 600;
}

.skeleton {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  border-radius: 8px;
  min-height: 16px;
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  animation: shimmer 1.4s infinite;
}

/* Legal pages */
.legal {
  max-width: 72ch;
  margin: 0 auto;
  padding: 72px var(--gutter) 40px;
}

.legal h1 {
  font-size: 2.4rem;
}

.legal h2 {
  font-size: 1.35rem;
  margin-top: 2.2em;
}

.legal p,
.legal li {
  color: var(--fg-1);
  font-size: 1rem;
}

/* Reveal motion for marketing surfaces: visible without JS, entering once with a strong ease-out. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms var(--ease-out), transform 1000ms var(--ease-out);
  transition-delay: var(--delay, 0ms);
}

.js [data-reveal].in {
  opacity: 1;
  transform: none;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 700px) {
  :root {
    --gutter: 18px;
  }

  body {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js [data-reveal] {
    transform: none;
    transition: opacity 300ms ease;
  }

  .chip-live::before {
    animation: none;
  }

  .btn,
  .chip-check,
  .switch input[type="checkbox"],
  .switch input[type="checkbox"]::after,
  input[type="checkbox"],
  input[type="radio"],
  input[type="checkbox"]::after,
  input[type="radio"]::after {
    transition-duration: 1ms;
  }

  .btn:active,
  .chip-check:active,
  input[type="checkbox"]:active,
  input[type="radio"]:active {
    transform: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-nav,
  .panel-side {
    backdrop-filter: none !important;
  }
}

/* Eine Auswahl als Etikett: die Schrift richtet sich nach dem Etikett, nicht nach dem Knopf, der sie trägt. */
.dd-chip .dd-trigger.chip {
  font-size: 0.78rem;
  line-height: 1.2;
  min-height: 26px;
}
