*,
:after,
:before {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x: ;
  --tw-pan-y: ;
  --tw-pinch-zoom: ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position: ;
  --tw-gradient-via-position: ;
  --tw-gradient-to-position: ;
  --tw-ordinal: ;
  --tw-slashed-zero: ;
  --tw-numeric-figure: ;
  --tw-numeric-spacing: ;
  --tw-numeric-fraction: ;
  --tw-ring-inset: ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgba(59,130,246,0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur: ;
  --tw-brightness: ;
  --tw-contrast: ;
  --tw-grayscale: ;
  --tw-hue-rotate: ;
  --tw-invert: ;
  --tw-saturate: ;
  --tw-sepia: ;
  --tw-drop-shadow: ;
  --tw-backdrop-blur: ;
  --tw-backdrop-brightness: ;
  --tw-backdrop-contrast: ;
  --tw-backdrop-grayscale: ;
  --tw-backdrop-hue-rotate: ;
  --tw-backdrop-invert: ;
  --tw-backdrop-opacity: ;
  --tw-backdrop-saturate: ;
  --tw-backdrop-sepia: ;
  --tw-contain-size: ;
  --tw-contain-layout: ;
  --tw-contain-paint: ;
  --tw-contain-style: ;
}
::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x: ;
  --tw-pan-y: ;
  --tw-pinch-zoom: ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position: ;
  --tw-gradient-via-position: ;
  --tw-gradient-to-position: ;
  --tw-ordinal: ;
  --tw-slashed-zero: ;
  --tw-numeric-figure: ;
  --tw-numeric-spacing: ;
  --tw-numeric-fraction: ;
  --tw-ring-inset: ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgba(59,130,246,0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur: ;
  --tw-brightness: ;
  --tw-contrast: ;
  --tw-grayscale: ;
  --tw-hue-rotate: ;
  --tw-invert: ;
  --tw-saturate: ;
  --tw-sepia: ;
  --tw-drop-shadow: ;
  --tw-backdrop-blur: ;
  --tw-backdrop-brightness: ;
  --tw-backdrop-contrast: ;
  --tw-backdrop-grayscale: ;
  --tw-backdrop-hue-rotate: ;
  --tw-backdrop-invert: ;
  --tw-backdrop-opacity: ;
  --tw-backdrop-saturate: ;
  --tw-backdrop-sepia: ;
  --tw-contain-size: ;
  --tw-contain-layout: ;
  --tw-contain-paint: ;
  --tw-contain-style: ;
} /*! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com*/
*,
:after,
:before {
  border: 0 solid #e5e7eb;
  box-sizing: border-box;
}
:after,
:before {
  --tw-content: "";
}
:host,
html {
  -webkit-text-size-adjust: 100%;
  font-feature-settings: normal;
  -webkit-tap-highlight-color: transparent;
  font-family:
    ui-sans-serif,
    system-ui,
    sans-serif,
    Apple Color Emoji,
    Segoe UI Emoji,
    Segoe UI Symbol,
    Noto Color Emoji;
  font-variation-settings: normal;
  line-height: 1.5;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
}
body {
  line-height: inherit;
  margin: 0;
}
hr {
  border-top-width: 1px;
  color: inherit;
  height: 0;
}
abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}
a {
  color: inherit;
  text-decoration: inherit;
}
b,
strong {
  font-weight: bolder;
}
code,
kbd,
pre,
samp {
  font-feature-settings: normal;
  font-family:
    JetBrains Mono,
    Courier New,
    monospace;
  font-size: 1em;
  font-variation-settings: normal;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
table {
  border-collapse: collapse;
  border-color: inherit;
  text-indent: 0;
}
button,
input,
optgroup,
select,
textarea {
  font-feature-settings: inherit;
  color: inherit;
  font-family: inherit;
  font-size: 100%;
  font-variation-settings: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  margin: 0;
  padding: 0;
}
button,
select {
  text-transform: none;
}
button,
input:where([type="button"]),
input:where([type="reset"]),
input:where([type="submit"]) {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
}
:-moz-focusring {
  outline: auto;
}
:-moz-ui-invalid {
  box-shadow: none;
}
progress {
  vertical-align: baseline;
}
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
summary {
  display: list-item;
}
blockquote,
dd,
dl,
figure,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
pre {
  margin: 0;
}
fieldset {
  margin: 0;
}
fieldset,
legend {
  padding: 0;
}
menu,
ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
dialog {
  padding: 0;
}
textarea {
  resize: vertical;
}
input::-moz-placeholder,
textarea::-moz-placeholder {
  color: var(--muted);
  opacity: 1;
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}
[role="button"],
button {
  cursor: pointer;
}
:disabled {
  cursor: default;
}
audio,
canvas,
embed,
iframe,
img,
object,
svg,
video {
  display: block;
  vertical-align: middle;
}
img,
video {
  height: auto;
  max-width: 100%;
}
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}
:root,
[data-theme="light"] {
  --brand-primary: #0c7253;
  --canvas: #fff;
  --surface-card: #f6f6f5;
  --surface-dark: #0a0a0b;
  --ink: #0a0a0b;
  --body-text: #3d3d40;
  --muted: #6a6a6e;
  --accent: var(--brand-primary);
  --accent-subtle: color-mix(in srgb,var(--brand-primary) 12%,#fff);
  --cta-bg: var(--accent);
  --cta-bg-hover: color-mix(in srgb,var(--accent) 85%,#000);
  --cta-text: #fff;
  --hairline: #e6e6e4;
  --border-strong: #d8d8d6;
  --danger: #bf3529;
  --danger-subtle: #f8e7e4;
  --danger-hover: #a82e23;
  --warning: #8a5a12;
  --warning-subtle: #f6ecd9;
  --success: #0c7253;
  --success-subtle: #e5f3ee;
  --info: #2f57e6;
  --info-subtle: #eaeefc;
  --bg-code: #f6f6f5;
  --on-dark: #fafafa;
  --muted-on-dark: #a1a1aa;
  --font-display: "Sora",system-ui,sans-serif;
  --font-body: "Sora",system-ui,sans-serif;
  --font-mono: "JetBrains Mono","Courier New",monospace;
  --radius-btn: 8px;
  --radius-card: 8px;
  --radius-hero: 12px;
  --radius-pill: 9999px;
  --radius-input: 6px;
  --radius-sm: 6px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --text-eyebrow: 0.6875rem;
  --text-hint: 0.75rem;
  --text-label: 0.8125rem;
  --text-body-sm: 0.875rem;
  --text-body: 1rem;
}
[data-theme="dark"] {
  --canvas: #08080a;
  --surface-card: #161619;
  --surface-dark: #050506;
  --ink: #fafafa;
  --body-text: #bcbcc0;
  --muted: #8e8e93;
  --accent: color-mix(in srgb,var(--brand-primary) 72%,#fff);
  --accent-subtle: color-mix(in srgb,var(--brand-primary) 24%,#08080a);
  --cta-bg: var(--accent);
  --cta-bg-hover: color-mix(in srgb,var(--accent) 88%,#fff);
  --cta-text: #06120d;
  --hairline: #262629;
  --border-strong: #34343a;
  --danger: #f0776b;
  --danger-subtle: #2a1512;
  --danger-hover: #e0604f;
  --warning: #d6a13c;
  --warning-subtle: #241c0d;
  --success: #23c088;
  --success-subtle: #0d211a;
  --info: #6d8dff;
  --info-subtle: #171b2e;
  --bg-code: #161619;
  --on-dark: #fafafa;
  --muted-on-dark: #a1a1aa;
}
*,
:after,
:before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  color-scheme: light dark;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background-color: var(--canvas);
  color: var(--body-text);
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  transition-duration: 0.25s;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
[data-theme="dark"] body {
  background-image: none;
}
main {
  flex: 1 1 0%;
}
h1 {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.25;
}
h2 {
  font-size: 1.375rem;
  letter-spacing: -0.015em;
  line-height: 1.375;
}
h2,
h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
}
h3 {
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  line-height: 1.75rem;
  line-height: 1.375;
}
h4 {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
}
h1 em,
h2 em,
h3 em {
  font-style: italic;
}
p {
  color: var(--body-text);
  line-height: 1.625;
  margin-bottom: 1rem;
}
p:last-child {
  margin-bottom: 0;
}
a {
  color: var(--accent);
  text-decoration-line: none;
}
a:hover {
  text-decoration-line: underline;
}
/* A link inside running text must not rely on colour alone (WCAG 1.4.1). */
p a:not(.btn) {
  text-decoration-line: underline;
  text-underline-offset: 0.15em;
}
a:focus-visible {
  border-radius: 0.125rem;
  outline: 2px solid transparent;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.mono,
code {
  background: var(--surface-card);
  border-radius: 4px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.875em;
  padding: 0.125rem 0.375rem;
}
strong {
  font-weight: 600;
}
@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes typeIn {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
  }
  to {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}
@keyframes shake {
  0%,
  to {
    transform: translateX(0);
  }
  15% {
    transform: translateX(-6px);
  }
  30% {
    transform: translateX(6px);
  }
  45% {
    transform: translateX(-5px);
  }
  60% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-3px);
  }
  90% {
    transform: translateX(3px);
  }
}
@keyframes slideInBanner {
  0% {
    opacity: 0;
    transform: translateX(120%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.shake {
  animation: shake 0.45s ease both;
}
.card:nth-child(2),
.panel:nth-child(2) {
  animation-delay: 0.05s;
}
.card:nth-child(3),
.panel:nth-child(3) {
  animation-delay: 0.1s;
}
.card:nth-child(4),
.panel:nth-child(4) {
  animation-delay: 0.15s;
}
.container {
  width: 100%;
}
@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}
@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}
.nav {
  align-items: center;
  background: var(--canvas);
  border-bottom-width: 1px;
  display: flex;
  height: 4rem;
  justify-content: space-between;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
  position: sticky;
  top: 0;
  transition-duration: 0.25s;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
}
.nav,
[data-theme="dark"] .nav {
  border-color: var(--hairline);
}
[data-theme="dark"] .nav {
  background: var(--canvas);
}
.nav-brand {
  align-items: center;
  display: flex;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  gap: 0.625rem;
  letter-spacing: -0.02em;
  line-height: 1.5rem;
}
.nav-brand,
.nav-brand:hover {
  color: var(--ink);
  text-decoration-line: none;
}
.nav-brand strong {
  color: var(--accent);
}
.nav-logo-img {
  height: 2rem;
  -o-object-fit: contain;
  object-fit: contain;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style-type: none;
}
.nav-links,
.nav-links a {
  align-items: center;
}
.nav-links a {
  border-radius: 0.375rem;
  color: var(--muted);
  display: inline-flex;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  padding: 0.375rem 0.75rem;
  transition-duration: 0.15s;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-links a,
.nav-links a:hover {
  text-decoration-line: none;
}
.nav-links a:hover {
  background: var(--surface-card);
  color: var(--ink);
}
.nav-links a.active {
  background: var(--accent-subtle);
  color: var(--accent);
}
.theme-toggle {
  align-items: center;
  background: none;
  border-color: var(--hairline);
  border-radius: 0.375rem;
  border-width: 1px;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  font-family: var(--font-body);
  font-size: 0.9rem;
  height: 2rem;
  line-height: 1;
  padding-left: 0.625rem;
  padding-right: 0.625rem;
  transition-duration: 0.15s;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.theme-toggle:hover {
  background: var(--accent-subtle);
  border-color: var(--accent);
  color: var(--accent);
}
.lang-picker {
  display: inline-block;
  position: relative;
}
.lang-picker-btn {
  align-items: center;
  background: none;
  border-color: var(--hairline);
  border-radius: 0.375rem;
  border-width: 1px;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  gap: 0.125rem;
  height: 2rem;
  letter-spacing: 0.04em;
  line-height: 1rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  text-transform: uppercase;
  transition-duration: 0.15s;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.lang-picker-btn:focus-visible,
.lang-picker-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.lang-picker-menu {
  background: var(--canvas);
  border-color: var(--hairline);
  border-radius: 0.5rem;
  border-width: 1px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  list-style-type: none;
  margin: 0;
  min-width: 8rem;
  padding-bottom: 0.25rem;
  padding-top: 0.25rem;
  position: absolute;
  right: 0;
  top: calc(100% + 0.25rem);
  z-index: 200;
}
[data-theme="dark"] .lang-picker-menu {
  background: var(--surface-card);
}
.lang-picker-option {
  background: none;
  border: none;
  color: var(--body-text);
  cursor: pointer;
  display: block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.25rem;
  padding: 0.45rem 1rem;
  text-align: left;
  transition-duration: 0.12s;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}
.lang-picker-option:focus-visible,
.lang-picker-option:hover {
  background: var(--surface-card);
  color: var(--ink);
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.lang-picker-option.active {
  color: var(--accent);
  font-weight: 600;
}
.container {
  max-width: 1200px;
}
.container,
.container-sm {
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.container-sm {
  max-width: 540px;
}
.page-header {
  animation: fadeSlideIn 0.45s ease both;
  padding-bottom: 2rem;
  padding-top: 3rem;
}
.page-eyebrow,
.page-header h1 {
  margin-bottom: 0.5rem;
}
.page-eyebrow {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1rem;
  text-transform: uppercase;
}
.card,
.panel {
  animation: fadeSlideIn 0.4s ease both;
  background: var(--surface-card);
  border: none;
  border-radius: 12px;
  padding: 1.75rem;
  transition: box-shadow 0.15s;
}
[data-theme="dark"] .card,
[data-theme="dark"] .panel {
  border-color: var(--hairline);
  border-width: 1px;
}
.card + .card,
.panel + .panel,
.panel + .demo-credentials {
  margin-top: 1.25rem;
}
.panel-outline {
  animation: fadeSlideIn 0.4s ease both;
  background: var(--canvas);
  border-color: var(--hairline);
  border-radius: 12px;
  border-width: 1px;
  padding: 1.5rem;
}
.card-title,
.panel-header {
  align-items: center;
  border-bottom-width: 1px;
  border-color: var(--hairline);
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
}
.card-title,
.detail-label {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1rem;
}
.detail-row {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.panel-header,
.panel-header-title {
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1rem;
}
.panel-header-title {
  margin: 0;
}
/* The main content of a page: an ink stripe, not the accent — the accent
   budget belongs to the view's one primary action. */
.panel-primary {
  box-shadow: inset 0 3px 0 var(--ink);
}
/* Case page: facts without panel chrome, actions as sections of one panel. */
.report-facts {
  display: grid;
  gap: var(--space-3);
  margin: 0 0 var(--space-6);
  padding: 0;
}
.report-facts > div {
  border-bottom: 1px solid var(--hairline);
  padding-bottom: var(--space-3);
}
.action-section + .action-section {
  border-top: 1px solid var(--hairline);
  margin-top: var(--space-5);
  padding-top: var(--space-5);
}
.action-title {
  font-size: var(--text-body-sm);
  font-weight: 600;
  margin: 0 0 var(--space-3);
}
.danger-zone {
  border-top: 1px solid var(--hairline);
  margin-top: var(--space-5);
  padding-top: var(--space-4);
}
.danger-zone > summary {
  color: var(--danger);
  cursor: pointer;
  font-weight: 600;
  min-height: 44px;
}
.detail-label {
  font-size: var(--text-hint);
  font-weight: 500;
  margin-bottom: 0.375rem;
}
.stat-card {
  animation: fadeSlideIn 0.4s ease both;
  background: var(--surface-card);
  border-radius: 12px;
  min-width: 0;
  padding: 1.5rem;
  text-align: center;
  transition-duration: 0.15s;
  transition-property: box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
/* A status badge is the sole label of a KPI card here, unlike a badge next
   to table text: let it wrap instead of forcing the card, and the page,
   wider than its grid track. German status labels are the long ones. */
.stat-card .badge {
  white-space: normal;
}
.stat-card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.stat-card__number {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-card--active {
  border-color: var(--ink);
  border-width: 2px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
[data-theme="dark"] .stat-card--active {
  border-color: var(--accent);
}
.stat-card--inactive {
  opacity: 0.7;
}
.\!btn,
.btn {
  align-items: center;
  border-color: transparent;
  border-radius: 8px;
  border-width: 1px;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 600;
  gap: 0.375rem;
  height: 2.5rem;
  justify-content: center;
  line-height: 1.25rem;
  line-height: 1;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  text-decoration-line: none;
  transition-duration: 0.15s;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.\!btn {
  font-family: var(--font-body) !important;
}
.btn {
  font-family: var(--font-body);
}
.btn-primary:active {
  opacity: 0.9;
}
.btn-primary {
  background: var(--cta-bg);
  border-color: var(--cta-bg);
  color: var(--cta-text);
}
.btn-primary:hover {
  background: var(--cta-bg-hover);
  border-color: var(--cta-bg-hover);
  color: var(--cta-text);
  text-decoration-line: none;
}
.btn-secondary {
  background: var(--canvas);
  border-color: var(--hairline);
  color: var(--body-text);
}
.btn-secondary:hover {
  background: var(--surface-card);
  border-color: var(--border-strong);
  color: var(--ink);
  text-decoration-line: none;
}
.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}
.btn-ghost:hover {
  background: var(--surface-card);
  color: var(--body-text);
  text-decoration-line: none;
}
.btn-danger {
  background: var(--danger);
  border-color: var(--danger);
}
.btn-danger,
.btn-danger:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity,1));
}
.btn-danger:hover {
  background: var(--danger-hover);
  border-color: var(--danger-hover);
  text-decoration-line: none;
}
.btn-block {
  width: 100%;
}
.btn-sm {
  border-radius: 0.375rem;
  font-size: 0.8125rem;
  height: 2rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.\!btn:disabled,
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  color: var(--ink);
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  margin-bottom: 0.375rem;
}
.form-hint,
.form-label {
  font-family: var(--font-body);
}
.form-hint {
  color: var(--muted);
  font-size: 0.8125rem;
  margin-top: 0.375rem;
}
.form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: var(--canvas);
  border-color: var(--hairline);
  border-radius: 8px;
  border-width: 1px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.875rem;
  height: 2.5rem;
  line-height: 1.25rem;
  outline: 2px solid transparent;
  outline-offset: 2px;
  padding-left: 0.875rem;
  padding-right: 0.875rem;
  transition-duration: 0.15s;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}
.form-control:hover {
  border-color: var(--border-strong);
}
.form-control:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}
textarea.form-control {
  height: auto;
  line-height: 1.625;
  min-height: 160px;
  padding-bottom: 0.625rem;
  padding-top: 0.625rem;
  resize: vertical;
}
select.form-control {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='m1 1 4 4 4-4' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-position: right 0.875rem center;
  background-repeat: no-repeat;
  cursor: pointer;
  padding-right: 2.25rem;
}
.form-control.mono {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  line-height: 1.25rem;
}
input[type="file"].form-control {
  cursor: pointer;
  height: auto;
  min-height: 40px;
  padding: 0.5rem 0.75rem;
}
input[type="file"].form-control::file-selector-button {
  background: var(--cta-bg);
  border-radius: 0.375rem;
  border-style: none;
  color: var(--cta-text);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-right: 0.75rem;
  padding: 0.375rem 0.75rem;
}
[data-theme="dark"] .form-control {
  background: var(--surface-card);
  border-color: var(--hairline);
  color: var(--ink);
}
[data-theme="dark"] .form-control:focus {
  border-color: var(--accent);
}
.badge {
  align-items: center;
  border-radius: 9999px;
  display: inline-flex;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1;
  padding: 0.25rem 0.625rem;
  white-space: nowrap;
}
.badge-received {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  color: var(--muted);
}
.badge-in_review {
  background: var(--info-subtle);
  color: var(--info);
}
.badge-pending_feedback {
  background: var(--warning-subtle);
  color: var(--warning);
}
.badge-closed {
  background: var(--success-subtle);
  color: var(--success);
}
.badge-admin {
  background: #fdf3ff;
  color: #6d28d9;
}
.badge-case_manager {
  background: #fff7ed;
  color: #c2410c;
}
.badge-superadmin {
  background: #fef2f2;
  color: #b91c1c;
}
[data-theme="dark"] .badge-admin {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
}
[data-theme="dark"] .badge-case_manager {
  background: rgba(251, 146, 60, 0.15);
  color: #fb923c;
}
[data-theme="dark"] .badge-superadmin {
  background: rgba(248, 113, 113, 0.15);
  color: #f87171;
}
.badge-action {
  background: var(--accent-subtle);
  border-radius: 4px;
  color: var(--accent);
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.01em;
  line-height: 1rem;
  padding: 0.125rem 0.5rem;
}
.alert {
  animation: fadeSlideIn 0.3s ease both;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.25rem;
  line-height: 1.625;
  margin-bottom: 1rem;
  padding: 0.875rem 1rem;
}
.alert-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1rem;
  margin-bottom: 0.375rem;
  text-transform: uppercase;
}
.alert-error {
  background: var(--danger-subtle);
  border-color: var(--danger);
  color: var(--danger);
}
.alert-success {
  background: var(--success-subtle);
  border-color: var(--success);
  color: var(--success);
}
.alert-warning {
  background: var(--warning-subtle);
  border-color: var(--warning);
  color: var(--warning);
}
.alert-info {
  background: var(--info-subtle);
  border-color: var(--info);
  color: var(--info);
}
.dashboard-panel-header {
  justify-content: space-between;
}
.dashboard-panel-header,
.dashboard-toolbar {
  gap: 0.75rem;
}
.dashboard-panel-header,
.dashboard-toolbar,
.filter-pills {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
}
.filter-pills {
  background: #f8f9fa;
  border-radius: 9999px;
  gap: 0.25rem;
  padding: 6px;
}
[data-theme="dark"] .filter-pills {
  background: hsla(0, 0%, 100%, 0.06);
}
.filter-pill {
  border-radius: 9999px;
  border-style: none;
  color: var(--muted);
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  transition-duration: 0.12s;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.filter-pill,
.filter-pill:hover {
  text-decoration-line: none;
}
.filter-pill:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--ink);
}
[data-theme="dark"] .filter-pill:hover {
  background: hsla(0, 0%, 100%, 0.08);
}
.filter-pill-active {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  font-weight: 600;
}
.filter-pill-active,
.filter-pill-active:hover {
  background: var(--canvas);
  color: var(--ink);
}
[data-theme="dark"] .filter-pill-active {
  background: hsla(0, 0%, 100%, 0.12);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  color: var(--ink);
}
.filter-pill-count {
  color: var(--muted);
  font-family: var(--font-mono);
  margin-left: var(--space-1);
}
.filter-pill-active .filter-pill-count {
  color: inherit;
}
.per-page-wrap {
  align-items: center;
  display: flex;
  gap: 0.375rem;
}
.per-page-label {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1rem;
  white-space: nowrap;
}
.per-page-select {
  background: var(--canvas);
  border-color: var(--hairline);
  border-radius: 0.375rem;
  border-width: 1px;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
}
.per-page-select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.table-meta {
  border-bottom-width: 1px;
  border-color: var(--hairline);
  color: var(--muted);
  font-size: 0.78rem;
  padding: 0.5rem 1rem;
}
.sort-link {
  align-items: center;
  color: inherit;
  display: inline-flex;
  gap: 0.25rem;
  white-space: nowrap;
}
.sort-link,
.sort-link:hover {
  text-decoration-line: none;
}
.sort-link:hover {
  color: var(--accent);
}
.sort-indicator {
  font-size: 0.65rem;
  opacity: 0.35;
  transition-duration: 0.12s;
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.sort-link:hover .sort-indicator {
  opacity: 0.75;
}
.sort-active {
  color: var(--accent);
  opacity: 1;
}
.table-wrapper {
  overflow-x: auto;
}
/* A URL in a table cell may break anywhere: unbroken, the organisations list's
   reporting links pushed the row's actions out of view at 1920 px. */
.link-wrap {
  overflow-wrap: anywhere;
}
/* The telemetry request line is one unbroken URL; at phone width it would
   widen the whole page. Wrap it instead, anywhere. */
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
/* A long unbreakable value (a German status badge — "Rückmeldung ausstehend" —
   is wider than its English equivalent and forces a nowrap badge) can widen
   the table past .table-wrapper's scrollable viewport. The wrapper already
   handles that overflow, but its default scroll position hides whatever sits
   in the last column — the row's own "view" action — behind the fold with no
   visual hint to scroll. Pin that column so the action stays reachable
   regardless of how wide any other column's content gets.
   Scoped by an explicit class on both the header and the data cell, not
   `th:last-child` — not every .table-stack table's last column is an action
   column (admin/audit_log.html's is "Detail", real content), and a positional
   selector would pin that header while its own data cells scroll normally
   underneath it, desyncing the two. */
.table-stack td.stack-action,
.table-stack th.stack-action-header {
  position: sticky;
  right: 0;
  background: var(--surface-card);
}
.table-stack td.stack-action {
  border-left: 1px solid var(--hairline);
}
/* Let a status badge wrap onto two lines instead of forcing the table wider
   still — the badge shape survives wrapping fine, unlike breaking mid-word. */
.table-stack .stack-status .badge {
  white-space: normal;
}
table {
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.25rem;
  width: 100%;
}
th {
  border-bottom-width: 2px;
  border-color: var(--hairline);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1rem;
  /* 0.75rem a side, not 1rem: eight dashboard columns in German need 1,093 px
     at 1rem and the admin content is 1,064 px wide. */
  padding: 0.625rem 0.75rem;
  text-align: left;
  text-transform: uppercase;
}
td {
  border-bottom-width: 1px;
  border-color: var(--hairline);
  color: var(--body-text);
  padding: 0.75rem;
  vertical-align: middle;
}
tr:last-child td {
  border-bottom-width: 0;
}
tr:hover td {
  background: var(--surface-card);
}
.pagination-bar {
  align-items: center;
  border-color: var(--hairline);
  border-top-width: 1px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  padding: 0.875rem 1rem;
}
.pagination-info {
  color: var(--muted);
  font-size: 0.78rem;
}
.pagination-controls {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.pagination-btn {
  font-size: 0.78rem;
  height: 2rem;
  min-width: unset;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.pagination-disabled {
  /* Muted colour, not opacity: 38 % opacity fell below the 4.5:1 contrast
     axe asks of text, which showed once the dashboard had a second page. */
  background: transparent;
  border-style: dashed;
  color: var(--muted);
  cursor: default;
  pointer-events: none;
}
.pagination-page {
  align-items: center;
  border-color: var(--hairline);
  border-radius: 0.375rem;
  border-width: 1px;
  color: var(--body-text);
  display: inline-flex;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  height: 2rem;
  justify-content: center;
  min-width: 2rem;
  padding-left: 0.375rem;
  padding-right: 0.375rem;
  transition-duration: 0.12s;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.pagination-page,
.pagination-page:hover {
  text-decoration-line: none;
}
.pagination-page:hover {
  background: var(--surface-card);
  border-color: var(--border-strong);
  color: var(--ink);
}
.pagination-page-current {
  background: var(--cta-bg);
  border-color: var(--cta-bg);
  color: var(--cta-text);
  cursor: default;
  pointer-events: none;
}
.pagination-ellipsis {
  color: var(--muted);
  font-size: 0.8rem;
  padding-left: 0.125rem;
  padding-right: 0.125rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
/* A page that fills the space between the nav and the footer (the wizard,
   the login and MFA screens) is marked .page-fill. Each used to take
   a min-height of the viewport minus a guess at nav plus footer: 144 px for the
   wizard, 112 px for the login screens, against a real 151 px, plus the
   36 px demo banner. Every one of those pages scrolled, with the footer
   below the fold. main already flexes to the leftover height; a .page-fill
   child follows it, whatever the chrome above and below measures. */
main:has(> .page-fill) {
  display: flex;
  flex-direction: column;
}
.page-fill {
  flex: 1 1 auto;
}
.split-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
}
.split-sidebar {
  background: #111;
  border-right: none;
  grid-column: 1;
  /* The markup puts the form first (phones read it first); pin both to row 1 or
     auto-placement drops the sidebar into a second row under the form. */
  grid-row: 1;
  overflow: hidden;
  padding: 2.5rem 2rem;
  position: relative;
}
.split-sidebar:before {
  background:
    radial-gradient(circle at 80% 15%, hsla(0, 0%, 100%, 0.04) 0, transparent 50%),
    radial-gradient(circle at 10% 85%, hsla(0, 0%, 100%, 0.02) 0, transparent 50%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}
[data-theme="dark"] .split-sidebar {
  background: var(--surface-dark);
  border-color: var(--hairline);
  border-right-width: 1px;
}
.split-main {
  background: var(--canvas);
  grid-column: 2;
  grid-row: 1;
  /* 860 px and this padding keep the wizard's first step inside a Full HD
     window (1920 x 890 with browser chrome), demo banner included. */
  max-width: 860px;
  padding: 1.75rem 3rem;
}
.sidebar-eyebrow {
  color: hsla(0, 0%, 100%, 0.55);
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  line-height: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.sidebar-eyebrow,
.sidebar-title {
  font-weight: 600;
  position: relative;
}
.sidebar-title {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  line-height: 1.375;
  margin-bottom: 2rem;
}
.sidebar-title em {
  color: hsla(0, 0%, 100%, 0.85);
  font-style: italic;
}
.guarantee-list {
  margin-top: 0.5rem;
  position: relative;
}
.guarantee-item {
  border-bottom-width: 1px;
  border-color: hsla(0, 0%, 100%, 0.08);
  display: flex;
  gap: 1rem;
  padding-bottom: 1rem;
  padding-top: 1rem;
}
.guarantee-item:last-child {
  border-bottom-width: 0;
}
.guarantee-num {
  color: hsla(0, 0%, 100%, 0.4);
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  min-width: 2.5rem;
  padding-top: 0.125rem;
}
.guarantee-title {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
  margin-bottom: 0.375rem;
}
.guarantee-desc,
.guarantee-title {
  font-family: var(--font-body);
}
.guarantee-desc {
  color: hsla(0, 0%, 100%, 0.55);
  font-size: 0.8125rem;
  line-height: 1.55;
}
.sidebar-note {
  border-top: 1px solid hsla(0, 0%, 100%, 0.08);
  color: hsla(0, 0%, 100%, 0.55);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.55;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}
/* Labels wrap and steps shrink: German's long labels used to run into one
   another and the last was cut, since nowrap labels squeezed the lines to
   nothing and overflow: hidden clipped the rest. Lines align on the dots'
   centre, so a two-line label does not move them. */
.stepper {
  align-items: flex-start;
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
  overflow: hidden;
}
.stepper-step {
  flex: 0 1 auto;
  flex-direction: column;
  gap: 0.375rem;
  min-width: 0;
}
.stepper-dot,
.stepper-step {
  align-items: center;
  display: flex;
}
.stepper-dot {
  background: var(--surface-card);
  border-color: var(--hairline);
  border-radius: 9999px;
  border-width: 2px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  height: 2rem;
  justify-content: center;
  line-height: 1rem;
  transition-duration: 0.2s;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  width: 2rem;
}
.stepper-step.active .stepper-dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-subtle);
  color: #fff;
}
.stepper-step.done .stepper-dot {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  opacity: 0.65;
}
.stepper-label {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  hyphens: auto;
  letter-spacing: 0.06em;
  max-width: 6.5rem;
  overflow-wrap: anywhere;
  text-align: center;
  text-transform: uppercase;
}
@media (max-width: 480px) {
  .stepper-label {
    font-size: 0.6rem;
    letter-spacing: 0.02em;
    max-width: 4.75rem;
  }
}
.stepper-step.active .stepper-label {
  color: var(--accent);
}
.stepper-line {
  background: var(--hairline);
  flex: 1 1 0%;
  height: 0.125rem;
  margin-top: 0.9375rem;
  min-width: 0.5rem;
  transition-duration: 0.2s;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.stepper-line.done {
  background: var(--accent);
  opacity: 0.5;
}
.stepper-text {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  margin-bottom: 1.25rem;
}
.mode-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0.75rem;
  margin-top: 0.75rem;
}
.mode-card {
  background: var(--canvas);
  border-color: var(--hairline);
  border-radius: 12px;
  border-width: 1px;
  cursor: pointer;
  display: block;
  padding: 0;
  transition-duration: 0.15s;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.mode-card input[type="radio"] {
  height: 0;
  opacity: 0;
  position: absolute;
  width: 0;
}
.mode-card:has(input:checked) {
  background: var(--accent-subtle);
  border-color: var(--accent);
}
.mode-card:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
@media (forced-colors: active) {
  .mode-card:has(input:checked) {
    border: 2px solid Highlight;
  }
  .mode-card:has(input:focus-visible) {
    outline-color: Highlight;
  }
  .admin-nav a.active {
    border-left: 3px solid Highlight;
  }
}
.mode-card:hover {
  border-color: var(--border-strong);
}
.mode-card-inner {
  padding: 1.25rem;
  text-align: center;
}
.mode-card-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.625rem;
}
.mode-card-svg {
  color: var(--accent);
  height: 28px;
  width: 28px;
}
.mode-card-title {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.5rem;
  margin-bottom: 0.375rem;
}
.mode-card-desc {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.625;
  margin: 0;
}
.progress-desc {
  background: var(--accent-subtle);
  border-radius: 0.375rem;
  color: var(--body-text);
  font-size: 0.875rem;
  line-height: 1.25rem;
  line-height: 1.625;
  padding: 0.75rem 1rem;
}
.thread {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.message {
  animation: fadeSlideIn 0.3s ease both;
  border-radius: 12px;
  max-width: 82%;
  padding: 1rem 1.25rem;
  position: relative;
}
.message-admin {
  align-self: flex-start;
  background: var(--info-subtle);
  margin-right: auto;
}
.message-whistleblower {
  align-self: flex-end;
  background: var(--accent-subtle);
  margin-left: auto;
  text-align: left;
}
.message-meta {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  gap: 0.5rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.message-admin .message-meta {
  color: var(--info);
}
.message-whistleblower .message-meta {
  color: var(--accent);
}
.message-meta-icon {
  align-items: center;
  border-radius: 9999px;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 0.6rem;
  font-weight: 700;
  height: 1.2rem;
  justify-content: center;
  width: 1.2rem;
}
.message-admin .message-meta-icon {
  --tw-text-opacity: 1;
  background: var(--info);
  color: rgb(255 255 255 / var(--tw-text-opacity,1));
}
.message-whistleblower .message-meta-icon {
  --tw-text-opacity: 1;
  background: var(--accent);
  color: rgb(255 255 255 / var(--tw-text-opacity,1));
}
.message-content {
  color: var(--body-text);
  font-size: 0.875rem;
  line-height: 1.25rem;
  line-height: 1.65;
  white-space: pre-wrap;
}
.sla-ok {
  color: var(--success);
}
.sla-warning {
  color: var(--warning);
}
.sla-overdue {
  color: var(--danger);
  font-weight: 600;
}
.credential-display {
  align-items: center;
  background: var(--surface-card);
  border-color: var(--hairline);
  border-radius: 8px;
  border-width: 1px;
  color: var(--ink);
  display: flex;
  font-family: var(--font-mono);
  font-size: clamp(0.82rem, 2vw, 1rem);
  gap: 1rem;
  justify-content: space-between;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
  padding: 1rem 1.25rem;
}
.credential-display > span {
  min-width: 0;
}
.credential-group {
  margin-bottom: 1rem;
}
.credential-label {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1rem;
  margin-bottom: 0.375rem;
  text-transform: uppercase;
}
.credential-box {
  background: var(--surface-card);
  border-color: var(--hairline);
  border-radius: 8px;
  border-width: 1px;
  font-family: var(--font-mono);
  margin-bottom: 0.75rem;
  margin-top: 0.75rem;
  padding: 1rem 1.25rem;
}
.copy-btn {
  background-color: transparent;
  border-radius: 0.375rem;
  border-style: none;
  color: var(--muted);
  cursor: pointer;
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1.5rem;
  padding: 0.25rem;
  transition-duration: 0.15s;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.copy-btn:hover {
  color: var(--accent);
}
.attachment-list {
  margin-bottom: 0.5rem;
}
.attachment-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style-type: none;
  margin-top: 0.5rem;
  padding: 0;
}
.attachment-item {
  align-items: center;
  background: var(--surface-card);
  border-color: var(--hairline);
  border-radius: 0.375rem;
  border-width: 1px;
  display: flex;
  font-size: 0.875rem;
  gap: 0.625rem;
  line-height: 1.25rem;
  padding: 0.5rem 0.75rem;
}
.attachment-icon {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1.5rem;
  opacity: 0.7;
}
.attachment-name {
  color: var(--ink);
  flex: 1 1 0%;
  min-width: 0;
  overflow: hidden;
  text-decoration-line: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}
a.attachment-name:hover {
  color: var(--accent);
  text-decoration-line: underline;
}
.attachment-size {
  color: var(--muted);
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1rem;
  white-space: nowrap;
}
.qr-wrapper {
  background: #fff;
  border-color: var(--hairline);
  border-radius: 12px;
  border-width: 1px;
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  margin-top: 1rem;
  padding: 1.5rem;
}
.qr-wrapper img {
  max-width: 200px;
}
.totp-secret-card {
  align-items: center;
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  display: flex;
  gap: 0.75rem;
  margin-top: 0.25rem;
  padding: 0.75rem 1rem;
}
.totp-secret-value {
  color: var(--ink);
  flex: 1 1 0%;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  line-height: 1.25rem;
  -webkit-user-select: all;
  -moz-user-select: all;
  user-select: all;
  word-break: break-all;
}
.totp-copy-btn {
  flex-shrink: 0;
}
.ip-warning-banner {
  align-items: flex-start;
  animation: fadeSlideIn 0.4s ease both;
  background: var(--danger-subtle);
  border-radius: 12px;
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
}
.ip-warning-icon {
  flex-shrink: 0;
  font-size: 1.25rem;
  line-height: 1.75rem;
  margin-top: 0.125rem;
}
.ip-warning-text {
  color: var(--danger);
  flex: 1 1 0%;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.ip-warning-text strong {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1rem;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}
.submit-step-actions {
  gap: 0.75rem;
  justify-content: space-between;
  margin-top: 1.5rem;
}
.submit-step-actions {
  align-items: center;
  display: flex;
}
/* Label stacked over value, not side-by-side: a fixed label column cannot
   fit the longest label in every locale ("EINREICHUNGSMODUS" overlapped its
   value) without either wasting space for short labels or being wide for
   short ones — stacking fits every locale with no per-language tuning. */
.review-row {
  border-bottom-width: 1px;
  border-color: var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-bottom: 0.625rem;
  padding-top: 0.625rem;
}
.review-row:last-child {
  border-bottom-width: 0;
}
.review-label {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1rem;
  text-transform: uppercase;
}
.review-value {
  color: var(--body-text);
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.auth-page {
  align-items: center;
  display: flex;
  flex: 1 1 0%;
  justify-content: center;
  padding: 2rem 1rem;
}
.auth-card {
  max-width: 400px;
  width: 100%;
}
.auth-heading {
  animation: fadeSlideIn 0.5s ease both;
  margin-bottom: 2rem;
}
.success-wrapper {
  padding: 3rem 1.5rem;
}
.success-header {
  margin-bottom: 2.5rem;
}
.success-check {
  align-items: center;
  background: var(--success-subtle);
  border-radius: 9999px;
  color: var(--success);
  display: inline-flex;
  font-size: 1.4rem;
  height: 3rem;
  justify-content: center;
  margin-bottom: 1rem;
  width: 3rem;
}
.saved-confirm-label {
  align-items: flex-start;
  background: var(--accent-subtle);
  border-color: var(--border-strong);
  border-radius: 8px;
  border-width: 1px;
  cursor: pointer;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1rem;
}
.demo-banner,
.saved-confirm-label {
  display: flex;
}
.demo-banner {
  align-items: center;
  background: color-mix(in srgb,var(--warning) 12%,var(--canvas));
  border-bottom-width: 1px;
  border-color: color-mix(in srgb,var(--warning) 30%,var(--hairline));
  color: var(--body-text);
  font-size: 0.8rem;
  font-weight: 500;
  gap: 0.5rem;
  justify-content: center;
  padding: 0.45rem 1.5rem;
  text-align: center;
}
.demo-banner-badge {
  --tw-text-opacity: 1;
  background: var(--warning);
  border-radius: 0.25rem;
  color: rgb(255 255 255 / var(--tw-text-opacity,1));
  flex-shrink: 0;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.15rem 0.45rem;
  text-transform: uppercase;
}
.demo-banner-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration-line: none;
}
.demo-banner-link:hover {
  text-decoration-line: underline;
}
.demo-credentials {
  background: color-mix(in srgb,var(--warning) 6%,var(--surface-card));
  border-color: color-mix(in srgb,var(--warning) 28%,var(--hairline));
  border-radius: 12px;
  border-width: 1px;
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
}
.demo-credentials-header {
  align-items: center;
  color: var(--body-text);
  display: flex;
  font-size: 0.8125rem;
  font-weight: 600;
  gap: 0.625rem;
  margin-bottom: 0.875rem;
}
.demo-badge {
  --tw-text-opacity: 1;
  background: var(--warning);
  border-radius: 0.25rem;
  color: rgb(255 255 255 / var(--tw-text-opacity,1));
  flex-shrink: 0;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.12rem 0.4rem;
  text-transform: uppercase;
}
.demo-credentials-grid {
  -moz-column-gap: 1rem;
  column-gap: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 0.5rem;
}
.demo-cred-item {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}
.demo-cred-full {
  grid-column: span 2 / span 2;
}
.demo-cred-label {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.demo-cred-label,
.demo-cred-value {
  font-weight: 600;
}
.demo-cred-value {
  background: var(--canvas);
  border-color: var(--hairline);
  border-radius: 0.375rem;
  border-width: 1px;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.25rem;
  padding: 0.375rem 0.625rem;
  text-align: left;
  transition-duration: 0.15s;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.demo-cred-value:hover {
  background: color-mix(in srgb,var(--warning) 8%,var(--canvas));
  border-color: var(--warning);
}
.demo-cred-code {
  background: var(--surface-card);
  border-color: var(--hairline);
  border-radius: 0.375rem;
  border-width: 1px;
  color: var(--accent);
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  line-height: 1.5rem;
  padding: 0.375rem 0.625rem;
}
.demo-fill-btn {
  --tw-text-opacity: 1;
  background: var(--warning);
  border-radius: 8px;
  border-style: none;
  color: rgb(255 255 255 / var(--tw-text-opacity,1));
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 600;
  height: 2.25rem;
  letter-spacing: 0.03em;
  margin-top: 0.75rem;
  padding-left: 1rem;
  padding-right: 1rem;
  transition-duration: 0.15s;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}
.demo-fill-btn:hover {
  background: color-mix(in srgb,var(--warning) 85%,#000);
}
.demo-reports-list {
  flex-direction: column;
  gap: 0.35rem;
}
.demo-report-row,
.demo-reports-list {
  display: flex;
}
.demo-report-row {
  align-items: center;
  background: var(--surface-card);
  border-color: var(--hairline);
  border-radius: 0.375rem;
  border-width: 1px;
  cursor: pointer;
  font-size: 0.8125rem;
  gap: 0.75rem;
  padding: 0.45rem 0.75rem;
  text-align: left;
  transition-duration: 0.13s;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}
.demo-report-row:hover {
  background: color-mix(in srgb,var(--warning) 8%,var(--surface-card));
  border-color: var(--warning);
}
.demo-report-status {
  font-size: 0.75rem;
  line-height: 1rem;
  margin-left: auto;
}
.session-expiry-banner {
  align-items: center;
  animation: slideInBanner 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: var(--canvas);
  border-color: var(--warning);
  border-radius: 12px;
  border-width: 1px;
  bottom: 1.5rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
  display: flex;
  font-size: 0.875rem;
  gap: 0.75rem;
  line-height: 1.25rem;
  max-width: 420px;
  padding: 0.875rem 1rem;
  position: fixed;
  right: 1.5rem;
  z-index: 2000;
}
[data-theme="dark"] .session-expiry-banner {
  background: var(--surface-card);
}
.session-expiry-banner.session-expiry-expired-state {
  border-color: var(--danger);
}
.session-expiry-icon {
  color: var(--warning);
  flex-shrink: 0;
  font-size: 1.3rem;
  line-height: 1;
}
.session-expiry-expired-state .session-expiry-icon {
  color: var(--danger);
}
.session-expiry-body {
  align-items: center;
  color: var(--ink);
  display: flex;
  flex: 1 1 0%;
  flex-wrap: wrap;
  gap: 0.375rem;
  line-height: 1.375;
  min-width: 0;
}
.session-expiry-body p {
  color: var(--muted);
  font-size: 0.8125rem;
  margin: 0;
}
.session-expiry-countdown {
  color: var(--warning);
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5rem;
  min-width: 3.2ch;
}
.session-expiry-expired-state .session-expiry-countdown {
  color: var(--danger);
}
.session-expiry-actions {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 0.5rem;
}
.session-expiry-extend {
  white-space: nowrap;
}
.session-expiry-dismiss {
  background-color: transparent;
  border-radius: 0.25rem;
  border-style: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
  padding: 0.2rem 0.3rem;
  transition-duration: 0.15s;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.session-expiry-dismiss:hover {
  background: var(--surface-card);
  color: var(--ink);
}
.footer {
  background: var(--surface-dark);
  color: var(--muted-on-dark);
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin-top: auto;
  padding: 2rem 1.75rem;
}
[data-theme="dark"] .footer {
  background: var(--surface-dark);
}
.page-subtitle {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.25rem;
  line-height: 1.625;
  margin-top: 0.25rem;
}
.page-actions {
  align-items: center;
  border-color: var(--hairline);
  border-top-width: 1px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
}
/* A reference link sits next to a text label in flowing content: underline
   it so it is distinguishable without relying on color alone (WCAG 1.4.1). */
.refs-list a {
  text-decoration-line: underline;
}
.empty-state {
  color: var(--muted);
  padding-bottom: 3rem;
  padding-top: 3rem;
  text-align: center;
}
.empty-state,
.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.checklist__item {
  align-items: flex-start;
  color: var(--body-text);
  display: flex;
  font-size: 0.875rem;
  gap: 0.75rem;
  line-height: 1.25rem;
}
.checklist__icon {
  color: var(--muted);
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1.5rem;
  margin-top: 0.125rem;
}
.content-grid-2 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.option-card {
  background: var(--surface-card);
  border-radius: 12px;
  padding: 1.5rem;
}
.option-card h3 {
  font-size: 1rem;
  line-height: 1.5rem;
  margin-bottom: 0.5rem;
}
.option-card p {
  color: var(--body-text);
  font-size: 0.875rem;
  line-height: 1.25rem;
  line-height: 1.625;
}
.option-card__note {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1rem;
  margin-top: 0.5rem;
}
.legal-quote,
.option-card__note {
  font-style: italic;
}
.legal-quote {
  background: var(--surface-card);
  border-radius: 8px;
  color: var(--body-text);
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.25rem;
  line-height: 1.625;
  margin-bottom: 1rem;
  margin-top: 1rem;
  padding-bottom: 0.75rem;
  padding-left: 1.25rem;
  padding-top: 0.75rem;
}
.legal-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 0.75rem;
}
.legal-item {
  color: var(--body-text);
}
.legal-item,
.legal-item h3 {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.legal-item h3 {
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 0.375rem;
}
.stats-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-bottom: 2rem;
}
.stat-card__label {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  line-height: 1rem;
  margin-bottom: 0.5rem;
  overflow-wrap: break-word;
  text-transform: uppercase;
}
.stat-card__label,
.stat-card__value {
  font-weight: 600;
}
.stat-card__value {
  color: var(--ink);
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.stat-card__sub {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1rem;
  margin-top: 0.125rem;
}
.form-row {
  align-items: end;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr auto;
}
.p-note {
  background: var(--warning-subtle);
  border-radius: 6px;
  color: var(--body-text);
  margin-top: 0.75rem;
  padding: 0.5rem 0.75rem;
}
.p-note,
.skip-link {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.skip-link {
  background: var(--cta-bg);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  color: var(--cta-text);
  font-weight: 600;
  left: 0.5rem;
  padding: 0.5rem 1rem;
  position: absolute;
  text-decoration-line: none;
  top: -100%;
  transition-duration: 0.1s;
  transition-property: top;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
}
.skip-link:focus {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  top: 0;
}
.sr-only {
  clip: rect(0,0,0,0);
  border-width: 0;
  border-width: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
.pointer-events-none {
  pointer-events: none;
}
.visible {
  visibility: visible;
}
.fixed {
  position: fixed;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.sticky {
  position: sticky;
}
.inset-0 {
  inset: 0;
}
.bottom-6 {
  bottom: 1.5rem;
}
.left-2 {
  left: 0.5rem;
}
.left-\[0\.55rem\] {
  left: 0.55rem;
}
.right-0 {
  right: 0;
}
.right-6 {
  right: 1.5rem;
}
.right-\[0\.55rem\] {
  right: 0.55rem;
}
.top-0 {
  top: 0;
}
.top-\[-100\%\] {
  top: -100%;
}
.top-\[0\.55rem\] {
  top: 0.55rem;
}
.top-\[calc\(100\%\+0\.25rem\)\] {
  top: calc(100% + 0.25rem);
}
.z-\[100\] {
  z-index: 100;
}
.z-\[1\] {
  z-index: 1;
}
.z-\[2000\] {
  z-index: 2000;
}
.z-\[200\] {
  z-index: 200;
}
.z-\[9999\] {
  z-index: 9999;
}
.-m-px {
  margin: -1px;
}
.m-0 {
  margin: 0;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.my-4 {
  margin-bottom: 1rem;
  margin-top: 1rem;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-1\.5 {
  margin-bottom: 0.375rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-2\.5 {
  margin-bottom: 0.625rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-3\.5 {
  margin-bottom: 0.875rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-5 {
  margin-bottom: 1.25rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.mb-\[1\.3rem\] {
  margin-bottom: 1.3rem;
}
.ml-auto {
  margin-left: auto;
}
.mr-3 {
  margin-right: 0.75rem;
}
.mt-0 {
  margin-top: 0;
}
.mt-0\.5 {
  margin-top: 0.125rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2rem;
}
.mt-auto {
  margin-top: auto;
}
.box-border {
  box-sizing: border-box;
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.table {
  display: table;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.h-0\.5 {
  height: 0.125rem;
}
.h-10 {
  height: 2.5rem;
}
.h-12 {
  height: 3rem;
}
.h-16 {
  height: 4rem;
}
.h-8 {
  height: 2rem;
}
.h-9 {
  height: 2.25rem;
}
.h-\[1\.1rem\] {
  height: 1.1rem;
}
.h-\[1\.2rem\] {
  height: 1.2rem;
}
.h-auto {
  height: auto;
}
.h-px {
  height: 1px;
}
.min-h-\[160px\] {
  min-height: 160px;
}
.min-h-\[40px\] {
  min-height: 40px;
}
.min-h-screen {
  min-height: 100vh;
}
.w-0 {
  width: 0;
}
.w-12 {
  width: 3rem;
}
.w-8 {
  width: 2rem;
}
.w-\[1\.1rem\] {
  width: 1.1rem;
}
.w-\[1\.2rem\] {
  width: 1.2rem;
}
.w-auto {
  width: auto;
}
.w-full {
  width: 100%;
}
.w-px {
  width: 1px;
}
.min-w-0 {
  min-width: 0;
}
.min-w-\[2\.5rem\] {
  min-width: 2.5rem;
}
.min-w-\[2rem\] {
  min-width: 2rem;
}
.min-w-\[8rem\] {
  min-width: 8rem;
}
.max-w-\[1200px\] {
  max-width: 1200px;
}
.max-w-\[200px\] {
  max-width: 200px;
}
.max-w-\[400px\] {
  max-width: 400px;
}
.max-w-\[420px\] {
  max-width: 420px;
}
.max-w-\[540px\] {
  max-width: 540px;
}
.max-w-\[680px\] {
  max-width: 680px;
}
.max-w-\[82\%\] {
  max-width: 82%;
}
.flex-1 {
  flex: 1 1 0%;
}
.flex-none {
  flex: none;
}
.flex-shrink-0 {
  flex-shrink: 0;
}
.border-collapse {
  border-collapse: collapse;
}
.transform {
  transform: translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.cursor-default {
  cursor: default;
}
.cursor-pointer {
  cursor: pointer;
}
.select-all {
  -webkit-user-select: all;
  -moz-user-select: all;
  user-select: all;
}
.resize-y {
  resize: vertical;
}
.list-none {
  list-style-type: none;
}
.appearance-none {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-start {
  align-items: flex-start;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-0 {
  gap: 0;
}
.gap-0\.5 {
  gap: 0.125rem;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-1\.5 {
  gap: 0.375rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-2\.5 {
  gap: 0.625rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-5 {
  gap: 1.25rem;
}
.gap-8 {
  gap: 2rem;
}
.gap-\[0\.18rem\] {
  gap: 0.18rem;
}
.gap-\[0\.35rem\] {
  gap: 0.35rem;
}
.gap-x-4 {
  -moz-column-gap: 1rem;
  column-gap: 1rem;
}
.self-start {
  align-self: flex-start;
}
.self-end {
  align-self: flex-end;
}
.overflow-hidden,
.truncate {
  overflow: hidden;
}
.truncate {
  white-space: nowrap;
}
.text-ellipsis,
.truncate {
  text-overflow: ellipsis;
}
.whitespace-nowrap {
  white-space: nowrap;
}
.rounded {
  border-radius: 0.25rem;
}
.rounded-\[12px\] {
  border-radius: 12px;
}
.rounded-\[4px\] {
  border-radius: 4px;
}
.rounded-\[6px\] {
  border-radius: 6px;
}
.rounded-\[8px\] {
  border-radius: 8px;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-md {
  border-radius: 0.375rem;
}
.rounded-b-\[8px\] {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
.border {
  border-width: 1px;
}
.border-2 {
  border-width: 2px;
}
.border-b {
  border-bottom-width: 1px;
}
.border-b-2 {
  border-bottom-width: 2px;
}
.border-t {
  border-top-width: 1px;
}
.border-none {
  border-style: none;
}
.border-transparent {
  border-color: transparent;
}
.bg-transparent {
  background-color: transparent;
}
.p-0 {
  padding: 0;
}
.p-1 {
  padding: 0.25rem;
}
.p-4 {
  padding: 1rem;
}
.p-5 {
  padding: 1.25rem;
}
.p-6 {
  padding: 1.5rem;
}
.p-\[0\.2rem_0\.3rem\] {
  padding: 0.2rem 0.3rem;
}
.p-\[6px\] {
  padding: 6px;
}
.px-0\.5 {
  padding-left: 0.125rem;
  padding-right: 0.125rem;
}
.px-1\.5 {
  padding-left: 0.375rem;
  padding-right: 0.375rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-3\.5 {
  padding-left: 0.875rem;
  padding-right: 0.875rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.px-7 {
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}
.px-\[0\.45rem\] {
  padding-left: 0.45rem;
  padding-right: 0.45rem;
}
.px-\[0\.4rem\] {
  padding-left: 0.4rem;
  padding-right: 0.4rem;
}
.px-\[1\.1rem\] {
  padding-left: 1.1rem;
  padding-right: 1.1rem;
}
.py-0\.5 {
  padding-bottom: 0.125rem;
  padding-top: 0.125rem;
}
.py-1 {
  padding-bottom: 0.25rem;
  padding-top: 0.25rem;
}
.py-1\.5 {
  padding-bottom: 0.375rem;
  padding-top: 0.375rem;
}
.py-12 {
  padding-bottom: 3rem;
  padding-top: 3rem;
}
.py-2 {
  padding-bottom: 0.5rem;
  padding-top: 0.5rem;
}
.py-2\.5 {
  padding-bottom: 0.625rem;
  padding-top: 0.625rem;
}
.py-3 {
  padding-bottom: 0.75rem;
  padding-top: 0.75rem;
}
.py-3\.5 {
  padding-bottom: 0.875rem;
  padding-top: 0.875rem;
}
.py-4 {
  padding-bottom: 1rem;
  padding-top: 1rem;
}
.py-\[0\.12rem\] {
  padding-bottom: 0.12rem;
  padding-top: 0.12rem;
}
.py-\[0\.15rem\] {
  padding-bottom: 0.15rem;
  padding-top: 0.15rem;
}
.py-\[0\.45rem\] {
  padding-bottom: 0.45rem;
  padding-top: 0.45rem;
}
.pb-3 {
  padding-bottom: 0.75rem;
}
.pl-5 {
  padding-left: 1.25rem;
}
.pr-9 {
  padding-right: 2.25rem;
}
.pt-0\.5 {
  padding-top: 0.125rem;
}
.pt-12 {
  padding-top: 3rem;
}
.pt-5 {
  padding-top: 1.25rem;
}
.pt-6 {
  padding-top: 1.5rem;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-\[0\.625rem\] {
  font-size: 0.625rem;
}
.text-\[0\.65rem\] {
  font-size: 0.65rem;
}
.text-\[0\.68rem\] {
  font-size: 0.68rem;
}
.text-\[0\.6rem\] {
  font-size: 0.6rem;
}
.text-\[0\.78rem\] {
  font-size: 0.78rem;
}
.text-\[0\.7rem\] {
  font-size: 0.7rem;
}
.text-\[0\.8125rem\] {
  font-size: 0.8125rem;
}
.text-\[0\.875em\] {
  font-size: 0.875em;
}
.text-\[0\.8rem\] {
  font-size: 0.8rem;
}
.text-\[0\.9rem\] {
  font-size: 0.9rem;
}
.text-\[1\.375rem\] {
  font-size: 1.375rem;
}
.text-\[1\.3rem\] {
  font-size: 1.3rem;
}
.text-\[1\.4rem\] {
  font-size: 1.4rem;
}
.text-\[2\.25rem\] {
  font-size: 2.25rem;
}
.text-\[2rem\] {
  font-size: 2rem;
}
.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-bold {
  font-weight: 700;
}
.font-medium {
  font-weight: 500;
}
.font-normal {
  font-weight: 400;
}
.font-semibold {
  font-weight: 600;
}
.uppercase {
  text-transform: uppercase;
}
.lowercase {
  text-transform: lowercase;
}
.italic {
  font-style: italic;
}
.leading-\[1\.55\] {
  line-height: 1.55;
}
.leading-\[1\.65\] {
  line-height: 1.65;
}
.leading-none {
  line-height: 1;
}
.leading-relaxed {
  line-height: 1.625;
}
.leading-snug {
  line-height: 1.375;
}
.leading-tight {
  line-height: 1.25;
}
.tracking-\[-0\.015em\] {
  letter-spacing: -0.015em;
}
.tracking-\[-0\.01em\] {
  letter-spacing: -0.01em;
}
.tracking-\[-0\.02em\] {
  letter-spacing: -0.02em;
}
.tracking-\[-0\.04em\] {
  letter-spacing: -0.04em;
}
.tracking-\[0\.01em\] {
  letter-spacing: 0.01em;
}
.tracking-\[0\.03em\] {
  letter-spacing: 0.03em;
}
.tracking-\[0\.04em\] {
  letter-spacing: 0.04em;
}
.tracking-\[0\.05em\] {
  letter-spacing: 0.05em;
}
.tracking-\[0\.06em\] {
  letter-spacing: 0.06em;
}
.tracking-\[0\.07em\] {
  letter-spacing: 0.07em;
}
.tracking-\[0\.08em\] {
  letter-spacing: 0.08em;
}
.tracking-\[0\.12em\] {
  letter-spacing: 0.12em;
}
.tracking-\[0\.1em\] {
  letter-spacing: 0.1em;
}
.tracking-\[0\.25em\] {
  letter-spacing: 0.25em;
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity,1));
}
.underline {
  text-decoration-line: underline;
}
.no-underline {
  text-decoration-line: none;
}
.opacity-0 {
  opacity: 0;
}
.opacity-35 {
  opacity: 0.35;
}
.opacity-40 {
  opacity: 0.4;
}
.opacity-\[0\.38\] {
  opacity: 0.38;
}
.outline-none {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.outline {
  outline-style: solid;
}
.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale)
    var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.transition {
  transition-duration: 0.15s;
  transition-property:
    color,
    background-color,
    border-color,
    text-decoration-color,
    fill,
    stroke,
    opacity,
    box-shadow,
    transform,
    filter,
    -webkit-backdrop-filter;
  transition-property:
    color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow,
    transform, filter, backdrop-filter;
  transition-property:
    color,
    background-color,
    border-color,
    text-decoration-color,
    fill,
    stroke,
    opacity,
    box-shadow,
    transform,
    filter,
    backdrop-filter,
    -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.transition-\[top\] {
  transition-duration: 0.15s;
  transition-property: top;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.transition-all {
  transition-duration: 0.15s;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.transition-colors {
  transition-duration: 0.15s;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.transition-opacity {
  transition-duration: 0.15s;
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.transition-shadow {
  transition-duration: 0.15s;
  transition-property: box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.duration-\[100ms\] {
  transition-duration: 0.1s;
}
.duration-\[120ms\] {
  transition-duration: 0.12s;
}
.duration-\[130ms\] {
  transition-duration: 0.13s;
}
.duration-\[150ms\] {
  transition-duration: 0.15s;
}
.duration-\[200ms\] {
  transition-duration: 0.2s;
}
.duration-\[250ms\] {
  transition-duration: 0.25s;
}
@media (max-width: 768px) {
  .split-sidebar {
    border-bottom: 1px solid hsla(0, 0%, 100%, 0.08);
    border-right: none;
  }
  .split-sidebar .guarantee-list {
    display: grid;
    gap: 0;
    grid-template-columns: 1fr 1fr;
  }
  .filter-pills {
    border-radius: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 4px;
    scrollbar-width: none;
  }
  .filter-pills::-webkit-scrollbar {
    display: none;
  }
}
.mobile-reassure { display: none; }
/* Two columns: the sidebar must not make the page taller than the form. With
   contain: size it adds no height of its own, stretches to the row the form
   and the leftover window height set, and scrolls inside itself when its
   text is longer (German: 1,023 px in a 300 px column). */
@media (min-width: 901px) {
  .split-sidebar { contain: size; overflow-y: auto; }
}
@media (max-width: 900px) {
  .split-layout { display: flex; flex-direction: column; }
  .split-main { max-width: none; padding: var(--space-6) var(--space-4); }
  .split-sidebar { padding: var(--space-8) var(--space-4); }
  .mobile-reassure {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--body-text);
    font-size: var(--text-body-sm);
    margin: 0 0 var(--space-4);
  }
}
/* No white-space: nowrap here: a case number or PIN must be free to wrap
   at the <wbr> the server inserts after each hyphen (wbr_after_hyphens in
   app/templating.py) rather than scroll behind the copy button. */
.token { overflow-wrap: normal; word-break: normal; }
#pin-value .token { font-size: clamp(0.95rem, 4.2vw, 1.25rem); }
@media (max-width: 540px) {
  .container,
  .container-sm,
  .nav {
    padding: 0 1rem;
  }
  h1 {
    font-size: 1.5rem;
  }
  .message {
    max-width: 100%;
  }
  .mode-cards,
  .split-sidebar .guarantee-list {
    grid-template-columns: 1fr;
  }
  .session-expiry-banner {
    border-bottom: none;
    border-left: none;
    border-radius: 12px 12px 0 0;
    border-right: none;
    bottom: 0;
    left: 0;
    max-width: 100%;
    right: 0;
  }
}
.admin-split-grid {
  align-items: start;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr 2fr;
}
.inline-form {
  display: inline;
}
.anim-in {
  animation: fadeSlideIn 0.5s ease both;
  opacity: 0;
  animation-fill-mode: forwards;
}
.delay-03 {
  animation-delay: 0.03s;
}
.delay-04 {
  animation-delay: 0.04s;
}
.delay-05 {
  animation-delay: 0.05s;
}
.delay-06 {
  animation-delay: 0.06s;
}
.delay-08 {
  animation-delay: 0.08s;
}
.delay-10 {
  animation-delay: 0.1s;
}
.delay-12 {
  animation-delay: 0.12s;
}
.delay-18 {
  animation-delay: 0.18s;
}
@media (prefers-reduced-motion: reduce) {
  *,
  :after,
  :before {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.lang-picker-btn {
  list-style: none;
}
.lang-picker-btn::-webkit-details-marker {
  display: none;
}
.form-control {
  border-color: color-mix(in srgb,var(--ink) 45%,var(--canvas));
}
.form-control:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
@media (max-width: 768px) {
  .nav {
    flex-wrap: wrap;
    height: auto;
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
    position: static;
    row-gap: 0.5rem;
  }
  .nav-links {
    flex-wrap: wrap;
    max-width: 100%;
  }
  .dashboard-panel-header > .dashboard-toolbar {
    flex: 1 1 100%;
    min-width: 0;
  }
  .filter-pills {
    border-radius: 12px;
    max-width: 100%;
  }
}
[data-theme="dark"] .demo-badge,
[data-theme="dark"] .demo-banner-badge,
[data-theme="dark"] .demo-fill-btn {
  color: #0a0a0b;
}
.admin-split-grid > * {
  min-width: 0;
}
/* The grid gap spaces its columns; `.panel + .panel` would push the second one down. */
.admin-split-grid > .panel + .panel {
  margin-top: 0;
}
/* An admin list goes under its form, across the full width. In two thirds of
   the page the organisations (six columns, one a URL), users (a role select
   and up to three buttons), categories and locations lists all pushed their
   actions past a sideways scrollbar at 1920 px. */
.admin-stack {
  display: grid;
  gap: 1.25rem;
}
.admin-stack > * {
  min-width: 0;
}
.panel-narrow {
  max-width: 32rem;
}
@media (max-width: 900px) {
  .admin-split-grid {
    grid-template-columns: 1fr;
  }
}
.note code {
  overflow-wrap: anywhere;
}
.nav-links form {
  display: inline-flex;
  margin: 0;
}
.nav-links .nav-link-button {
  align-items: center;
  background: none;
  border: 0;
  border-radius: 0.375rem;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  padding: 0.375rem 0.75rem;
  transition:
    color 0.15s,
    background-color 0.15s;
}
.nav-links .nav-link-button:hover {
  background: var(--surface-card);
  color: var(--ink);
}
.field-error {
  color: var(--danger);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  margin: 0.375rem 0 0;
}
.form-control[aria-invalid="true"] {
  border-color: var(--danger);
}
.dash-search {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.dash-search .form-group {
  flex: 1 1 16rem;
  margin: 0;
  min-width: 0;
}
.audit-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.125rem 0.75rem;
  margin: 0;
}
.audit-detail > div {
  display: flex;
  gap: 0.35rem;
  min-width: 0;
}
.audit-detail dt {
  color: var(--muted);
  font-weight: 600;
}
.audit-detail dd {
  margin: 0;
  overflow-wrap: anywhere;
}

/* ── Admin shell ─────────────────────────────────────────────────────────── */
.admin-shell {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: var(--space-8);
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--space-6) var(--space-6) var(--space-12);
}
.admin-menu {
  position: sticky;
  top: calc(4rem + var(--space-6));
  align-self: start;
}
.admin-menu-toggle {
  display: none;
}
.admin-nav ul {
  list-style: none;
  margin: 0 0 var(--space-5);
  padding: 0;
}
.admin-nav-group {
  color: var(--muted);
  font-size: var(--text-hint);
  font-weight: 600;
  margin: 0 0 var(--space-2) var(--space-3);
}
.admin-nav a {
  display: block;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  color: var(--body-text);
  text-decoration: none;
  white-space: nowrap;
}
.admin-nav a:hover {
  background: var(--surface-card);
  color: var(--ink);
}
.admin-nav a.active {
  background: var(--accent-subtle);
  box-shadow: inset 3px 0 0 var(--accent);
  color: var(--ink);
  font-weight: 600;
}
.admin-nav-logout {
  border-top: 1px solid var(--hairline);
  margin: 0;
  padding-top: var(--space-3);
}
.admin-nav .admin-nav-account {
  border-top: 1px solid var(--hairline);
  margin-bottom: 0;
  padding-top: var(--space-3);
}
/* Alone in the menu during a forced password change: no rule above it. */
.admin-nav .admin-nav-account:first-child {
  border-top: 0;
  padding-top: 0;
}
.admin-nav-account + .admin-nav-logout {
  border-top: 0;
  padding-top: 0;
}
/* Log out is a form button, not a link: same box as the links above it. */
.admin-nav .nav-link-button {
  background: none;
  border: 0;
  border-radius: var(--radius-sm);
  color: var(--body-text);
  cursor: pointer;
  display: block;
  font: inherit;
  padding: var(--space-2) var(--space-3);
  text-align: left;
  width: 100%;
}
.admin-nav .nav-link-button:hover {
  background: var(--surface-card);
  color: var(--ink);
}
.admin-main {
  min-width: 0;
}
.admin-main > .container {
  max-width: none;
  padding: 0;
}
@media (max-width: 1023px) {
  .admin-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-4);
    padding: var(--space-4);
  }
  .admin-menu {
    position: static;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-card);
  }
  .admin-menu-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    min-height: 44px;
    padding: 0 var(--space-4);
    cursor: pointer;
    font-weight: 600;
    list-style: none;
  }
  .admin-menu-toggle::-webkit-details-marker {
    display: none;
  }
  .admin-menu[open] .admin-nav {
    padding: 0 var(--space-3) var(--space-3);
  }
  .admin-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
}
.icon {
  /* svg is display:block in the reset above; without this override an icon
     placed next to inline text (e.g. an SLA value) renders on its own line
     — vertical-align has no effect on a block box. Flex parents (.btn,
     .badge, .stepper-dot, …) blockify this back, so they are unaffected. */
  display: inline-block;
  flex: none;
  vertical-align: -0.2em;
}
.nav { flex-wrap: wrap; height: auto; min-height: 4rem; row-gap: var(--space-2); }
.nav-tools { display: flex; align-items: center; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.theme-toggle { width: 2.25rem; height: 2.25rem; justify-content: center; padding: 0; }
[data-theme="dark"] .theme-icon-moon,
:root:not([data-theme="dark"]) .theme-icon-sun { display: none; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.footer-brand { color: var(--on-dark); font-weight: 600; margin: 0; }
.footer-tagline { color: var(--muted-on-dark); font-weight: 400; margin-left: var(--space-2); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--muted-on-dark); text-decoration: none; }
.footer-links a:hover { color: var(--on-dark); text-decoration: underline; }
.footer-version { color: var(--muted-on-dark); font-family: var(--font-mono); }
.demo-banner-short { display: none; }
@media (max-width: 640px) {
  .nav { padding-top: var(--space-2); padding-bottom: var(--space-2); }
  .nav-links { order: 3; width: 100%; justify-content: flex-start; }
  .demo-banner { flex-wrap: nowrap; white-space: nowrap; }
  .demo-banner-text { display: none; }
  .demo-banner-short { display: inline; overflow: hidden; text-overflow: ellipsis; }
  .table-stack thead {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
  }
  .table-stack, .table-stack tbody { display: block; }
  .table-stack tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-1) var(--space-3);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--hairline);
  }
  .table-stack td { display: block; border: 0; padding: 0; }
  .table-stack td[data-label]::before {
    content: attr(data-label);
    display: block;
    color: var(--muted);
    font-size: var(--text-hint);
  }
  .table-stack .stack-primary { grid-column: 1; grid-row: 1; font-weight: 600; }
  .table-stack .stack-primary::before, .table-stack .stack-status::before { display: none; }
  .table-stack .stack-status { grid-column: 2; grid-row: 1; justify-self: end; }
  .table-stack .stack-action { grid-column: 1 / -1; }
  .table-stack .stack-action .btn { width: 100%; justify-content: center; }
  .table-stack td[colspan] { grid-column: 1 / -1; }
}
