/* [project]/src/app/globals.css [app-client] (css) */
:root {
  --brand: #ffdb00;
  --brand-dark: #e5c400;
  --brand-soft: #fff8d6;
  --brand-softer: #fffdf2;
  --ink: #23231f;
  --ink-2: #3b3b34;
  --ink-3: #6b6b60;
  --ink-4: #92928a;
  --paper: #fff;
  --paper-2: #f8f7f7;
  --paper-3: #f2f2f2;
  --line: #e4e3e0;
  --line-strong: #d4d4d0;
  --danger: #b50101;
  --danger-soft: #fdecec;
  --success: #08a100;
  --success-soft: #eaf7e9;
  --warn: #b06a00;
  --warn-soft: #fff4e2;
  --info: #1d5f9c;
  --info-soft: #eaf2fa;
  --radius: 10px;
  --radius-sm: 7px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px #23231f0f;
  --shadow: 0 2px 8px #23231f14;
  --shadow-lg: 0 12px 32px #23231f24;
  --sidebar-w: 254px;
  --topbar-h: 82px;
  --content-max: none;
  --content-max-narrow: 1240px;
  --content-pad: 22px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
}

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

html, body {
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper-2);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.55;
}

h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd {
  margin: 0;
}

h1 {
  letter-spacing: -.01em;
  font-size: 1.4rem;
  font-weight: 700;
}

h2 {
  font-size: 1.05rem;
  font-weight: 700;
}

h3 {
  font-size: .95rem;
  font-weight: 700;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a.link {
  color: var(--info);
  text-underline-offset: 2px;
  text-decoration: underline;
}

a.link:hover {
  color: var(--ink);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline-offset: 2px;
  border-radius: 4px;
  outline: 3px solid #1d5f9c73;
}

code, pre, .mono {
  font-family: var(--mono);
  font-size: .85em;
}

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

.shell {
  grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
  min-height: 100vh;
  display: grid;
}

.sidebar {
  background: var(--ink);
  color: #eceae4;
  border-right: 1px solid #17170f;
  flex-direction: column;
  height: 100vh;
  display: flex;
  position: sticky;
  top: 0;
  overflow: hidden;
}

.sidebar__brand {
  border-bottom: 1px solid #ffffff17;
  padding: 16px 16px 12px;
}

.sidebar__logo {
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 9px 11px;
  line-height: 0;
  display: block;
}

.sidebar__logo img {
  width: 100%;
  height: auto;
  display: block;
}

.sidebar__app {
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
  margin-top: 11px;
  display: flex;
}

.sidebar__app strong {
  letter-spacing: .01em;
  font-size: 1.24rem;
}

.sidebar__app span {
  color: #a8a69c;
  font-size: .72rem;
}

.sidebar__search {
  padding: 12px 12px 0;
}

.sidebar__searchinput {
  color: #eceae4;
  border-radius: var(--radius-sm);
  width: 100%;
  font: inherit;
  background: #ffffff12;
  border: 1px solid #ffffff24;
  padding: 8px 10px;
  font-size: .82rem;
}

.sidebar__searchinput::placeholder {
  color: #8e8c82;
}

.sidebar__searchinput:focus {
  border-color: var(--brand);
  background: #ffffff1c;
  outline: none;
}

.sidebar__nav {
  scrollbar-width: thin;
  scrollbar-color: #ffffff38 transparent;
  background: linear-gradient(to top, #0000008c, #0000) bottom / 100%
      22px no-repeat local,
    var(--ink);
  flex: auto;
  min-height: 0;
  padding: 12px 10px 20px;
  overflow-y: auto;
}

.sidebar__brand, .sidebar__search, .sidebar__foot {
  flex: none;
}

.sidebar__group {
  margin-top: 16px;
}

.sidebar__group:first-child {
  margin-top: 4px;
}

.sidebar__grouplabel {
  text-transform: uppercase;
  letter-spacing: .09em;
  color: #86847a;
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 2px 10px 6px;
  font-family: inherit;
  font-size: .66rem;
  font-weight: 700;
  display: flex;
}

.sidebar__grouplabel:hover {
  color: #d9d7cf;
}

.sidebar__groupzeichen {
  opacity: .8;
  font-size: .7rem;
}

.sidebar__group[data-zu="1"] .sidebar__grouplabel {
  padding-bottom: 2px;
}

.navitem {
  border-radius: var(--radius-sm);
  color: #d9d7cf;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  font-size: .875rem;
  transition: background .12s, color .12s;
  display: flex;
  position: relative;
}

.navitem:hover {
  color: #fff;
  background: #ffffff12;
}

.navitem[data-active="true"] {
  color: #fff;
  background: #ffdb0024;
  font-weight: 600;
}

.navitem[data-active="true"]:before {
  content: "";
  background: var(--brand);
  border-radius: 0 3px 3px 0;
  width: 3px;
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: -10px;
}

.navitem--sub {
  color: #b6b4ab;
  padding-left: 30px;
  font-size: .83rem;
}

.navitem--sub .navitem__icon {
  opacity: .5;
}

.navitem__icon {
  text-align: center;
  opacity: .9;
  flex: 0 0 17px;
  width: 17px;
  font-size: .95rem;
}

.navitem__label {
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.navitem__count {
  background: var(--brand);
  color: var(--ink);
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  font-size: .68rem;
  font-weight: 800;
  display: inline-flex;
}

.navitem__count[data-tone="danger"] {
  color: #fff;
  background: #ff5a5a;
}

.sidebar__foot {
  color: #9a988e;
  border-top: 1px solid #ffffff17;
  padding: 12px 14px 16px;
  font-size: .75rem;
}

.sidebar__user {
  border-radius: var(--radius-sm);
  color: inherit;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
  margin-left: -6px;
  padding: 4px 6px;
  text-decoration: none;
  display: flex;
}

a.sidebar__user:hover {
  background: #ffffff12;
}

.sidebar__avatar {
  background: var(--brand);
  width: 30px;
  height: 30px;
  color: var(--ink);
  border-radius: 999px;
  flex: 0 0 30px;
  justify-content: center;
  align-items: center;
  font-size: .75rem;
  font-weight: 800;
  display: inline-flex;
}

.sidebar__username {
  color: #ecebe5;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .8rem;
  font-weight: 600;
  overflow: hidden;
}

.sidebar__userrole {
  font-size: .7rem;
}

.main {
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.topbar {
  min-height: var(--topbar-h);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  z-index: 20;
  padding: 20px 0 18px;
  display: flex;
  position: sticky;
  top: 0;
}

.topbar__inner {
  width: 100%;
  max-width: var(--content-max);
  padding: 0 var(--content-pad);
  align-items: center;
  gap: 14px;
  display: flex;
}

.topbar[data-width="narrow"] .topbar__inner {
  max-width: var(--content-max-narrow);
  margin: 0 auto;
}

.topbar__title {
  min-width: 0;
}

.topbar__title h1 {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.32rem;
  line-height: 1.25;
  overflow: hidden;
}

.topbar__title p {
  color: var(--ink-3);
  margin-top: 2px;
  font-size: .84rem;
}

.topbar[data-size="lg"] {
  padding: 26px 0 24px;
}

.topbar[data-size="lg"] .topbar__title h1 {
  font-size: 1.72rem;
}

.topbar__titelzeile {
  align-items: center;
  gap: 8px;
  min-width: 0;
  display: flex;
}

.topbar__spacer {
  flex: 1;
}

.topbar__actions {
  align-items: center;
  gap: 10px;
  display: flex;
}

.topbar__actions .btn {
  padding: 10px 18px;
  font-size: .95rem;
}

.content {
  padding: var(--content-pad);
  padding-bottom: calc(var(--content-pad) + 60px);
  max-width: var(--content-max);
  width: 100%;
}

.content--narrow {
  max-width: var(--content-max-narrow);
  margin: 0 auto;
}

.content--narrow .card__head {
  padding: 14px 18px;
}

.content--narrow .card__head h2 {
  font-size: 1.1rem;
}

.content--narrow .card__sub {
  font-size: .84rem;
}

.content--narrow .card__body {
  padding: 18px;
}

.content--narrow .field__label {
  font-size: .84rem;
}

.content--narrow .field__hint {
  font-size: .81rem;
}

.content--narrow .input, .content--narrow .select, .content--narrow .textarea {
  padding: 9px 11px;
  font-size: .93rem;
}

.content--narrow .check__text strong {
  font-size: .95rem;
}

.content--narrow .check__text span {
  font-size: .83rem;
}

.content--narrow .notice, .content--narrow .explainer__head, .content--narrow .table {
  font-size: .9rem;
}

.content--narrow .table th {
  font-size: .74rem;
}

.content--narrow .small, .content--narrow p.small {
  font-size: .88rem;
}

.content--narrow .btn {
  padding: 8px 15px;
  font-size: .89rem;
}

.content--narrow .btn--sm {
  padding: 6px 12px;
  font-size: .85rem;
}

.content--narrow .btn--lg {
  padding: 10px 19px;
  font-size: .94rem;
}

.content--narrow .jsonbox, .content--narrow .preview {
  font-size: .85rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.card__head {
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  display: flex;
}

.card__head h2, .card__head h3 {
  min-width: 0;
}

.card__head .spacer {
  flex: 1;
}

.card__sub {
  color: var(--ink-3);
  font-size: .78rem;
  font-weight: 400;
}

.card__body {
  padding: 16px;
}

.card__body--flush {
  padding: 0;
}

.card__foot {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  border-radius: 0 0 var(--radius) var(--radius);
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  display: flex;
}

.foldhead {
  border: 0;
  border-bottom: 1px solid var(--line);
  width: 100%;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
  background: none;
}

.card[data-open="false"] .foldhead {
  border-bottom: 0;
}

.foldhead__title {
  font-size: 1.05rem;
  font-weight: 700;
  display: block;
}

.foldhead__sign {
  border: 1px solid var(--line-strong);
  width: 24px;
  height: 24px;
  color: var(--ink-3);
  border-radius: 999px;
  flex: 0 0 24px;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  line-height: 1;
  display: inline-flex;
}

.foldhead:hover .foldhead__sign {
  border-color: var(--ink-4);
  color: var(--ink);
}

.card[data-title="lg"] .card__head {
  padding: 15px 18px;
}

.card[data-title="lg"] .card__head h2 {
  font-size: 1.3rem;
}

.card[data-title="lg"] .card__sub {
  font-size: .86rem;
}

.card[data-accent="danger"] {
  box-shadow: var(--shadow);
  border-color: #b5010147;
}

.card[data-accent="danger"] .card__head {
  padding: 15px 18px;
}

.card[data-accent="danger"] .card__head h2 {
  color: var(--danger);
  font-size: 1.2rem;
}

.grid {
  gap: 16px;
  display: grid;
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.grid--case {
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr);
  align-items: start;
}

.grid--tag {
  grid-template-columns: minmax(0, 1.9fr) minmax(300px, 1fr);
  align-items: start;
}

@media (max-width: 1180px) {
  .grid--tag {
    grid-template-columns: minmax(0, 1fr);
  }
}

.grid--case-tausch {
  grid-template-columns: minmax(320px, 1fr) minmax(0, 1.55fr);
  align-items: start;
}

.grid--objekt {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 1fr);
  align-items: start;
}

@media (max-width: 1180px) {
  .grid--case, .grid--case-tausch, .grid--objekt {
    grid-template-columns: minmax(0, 1fr);
  }
}

.stack {
  flex-direction: column;
  gap: 16px;
  display: flex;
}

.stack--haftend {
  align-self: stretch;
}

.stack--sm {
  gap: 9px;
}

.row {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  display: flex;
}

.row--tight {
  gap: 6px;
}

.row--between {
  justify-content: space-between;
}

.row--end {
  justify-content: flex-end;
}

.grow {
  flex: 1;
  min-width: 0;
}

.kpi {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 14px 16px;
  transition: border-color .12s, transform .12s, box-shadow .12s;
  display: block;
}

a.kpi:hover {
  border-color: var(--brand-dark);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.kpi__label {
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .76rem;
  font-weight: 700;
}

.kpi__value {
  letter-spacing: -.02em;
  margin-top: 5px;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.15;
}

.kpi__hint {
  color: var(--ink-3);
  margin-top: 3px;
  font-size: .78rem;
}

.kpi[data-tone="danger"] .kpi__value {
  color: var(--danger);
}

.kpi[data-tone="warn"] .kpi__value {
  color: var(--warn);
}

.kpi[data-tone="good"] .kpi__value {
  color: var(--success);
}

.kpi[data-tone="brand"] {
  background: linear-gradient(180deg, var(--brand-softer), var(--paper));
  border-color: var(--brand-dark);
}

.btn {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  font-size: .86rem;
  font-weight: 600;
  transition: background .12s, border-color .12s, box-shadow .12s, transform 60ms;
  display: inline-flex;
}

.btn:hover:not(:disabled) {
  background: var(--paper-3);
  border-color: var(--ink-4);
}

.btn:active:not(:disabled) {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.btn--primary {
  background: var(--brand);
  border-color: var(--brand-dark);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover:not(:disabled) {
  background: var(--brand-dark);
  border-color: #c9ac00;
}

.btn--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.btn--dark:hover:not(:disabled) {
  background: #35352d;
  border-color: #35352d;
}

.btn--danger {
  background: var(--paper);
  color: var(--danger);
  border-color: #e6b3b3;
}

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

.btn--success {
  background: var(--success);
  color: #fff;
  border-color: #078a00;
}

.btn--success:hover:not(:disabled) {
  background: #078a00;
}

.btn--ghost {
  color: var(--ink-2);
  background: none;
  border-color: #0000;
}

.btn--ghost:hover:not(:disabled) {
  background: var(--paper-3);
  border-color: var(--line);
}

.btn--sm {
  padding: 5px 10px;
  font-size: .79rem;
}

.btn--lg {
  padding: 11px 20px;
  font-size: .95rem;
}

.btn--block {
  width: 100%;
}

.btngroup {
  gap: 0;
  display: inline-flex;
}

.btngroup .btn {
  border-radius: 0;
  margin-left: -1px;
}

.btngroup .btn:first-child {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  margin-left: 0;
}

.btngroup .btn:last-child {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.badge {
  border: 1px solid var(--line-strong);
  background: var(--paper-3);
  color: var(--ink-2);
  white-space: nowrap;
  border-radius: 999px;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  font-size: .79rem;
  font-weight: 700;
  line-height: 1.6;
  display: inline-flex;
}

.badge[data-tone="brand"] {
  background: var(--paper-3);
  border-color: var(--line-strong);
  color: var(--ink-2);
}

.badge[data-tone="good"] {
  background: var(--success-soft);
  color: #066b00;
  border-color: #a9dda5;
}

.badge[data-tone="warn"] {
  background: var(--warn-soft);
  color: #8a5300;
  border-color: #edc98a;
}

.badge[data-tone="danger"] {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: #e8adad;
}

.badge[data-tone="info"] {
  background: var(--info-soft);
  color: var(--info);
  border-color: #b3cde6;
}

.badge[data-tone="muted"] {
  background: var(--paper-3);
  border-color: var(--line);
  color: var(--ink-3);
}

.badge[data-tone="dark"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.badge[data-tone="danger"][data-strong="true"] {
  background: var(--danger);
  border-color: var(--danger);
  color: #fff;
}

.badge[data-tone="warn"][data-strong="true"] {
  background: var(--warn);
  border-color: var(--warn);
  color: #fff;
}

.badge--dot:before {
  content: "";
  background: currentColor;
  border-radius: 999px;
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
}

.tag {
  border-radius: var(--radius-sm);
  background: var(--paper-3);
  border: 1px solid var(--line);
  color: var(--ink-2);
  padding: 1px 7px;
  font-size: .73rem;
  display: inline-block;
}

.tablewrap {
  overflow-x: auto;
}

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

.table th {
  text-align: left;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-3);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
  white-space: nowrap;
  padding: 9px 10px;
  font-size: .76rem;
  font-weight: 800;
  position: sticky;
  top: 0;
}

.table td {
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  padding: 10px;
}

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

.table tbody tr:hover {
  background: var(--brand-softer);
}

.table tbody tr {
  position: relative;
}

.rowlink:after {
  content: "";
  position: absolute;
  inset: 0;
}

.table td form, .table td .btn, .table td button, .table td input, .table td select, .table td details, .table td a:not(.rowlink) {
  z-index: 1;
  position: relative;
}

.table td.num, .table th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.table td.nowrap, .table th.nowrap {
  white-space: nowrap;
}

.table td .cellsub--warn, .table td.cell--schritt, .table th.cell--schritt, .table td.cell--schritt .badge {
  white-space: normal;
}

.cellmain, .cellsub {
  overflow-wrap: break-word;
}

.table--fixed {
  table-layout: fixed;
}

.table tr[data-tone="danger"] > td:first-child {
  box-shadow: inset 3px 0 0 var(--danger);
}

.table tr[data-tone="warn"] > td:first-child {
  box-shadow: inset 3px 0 0 var(--warn);
}

.table tr[data-muted="true"] td {
  color: var(--ink-3);
}

.table--liste {
  table-layout: fixed;
}

.table--liste td, .table--liste th {
  overflow-wrap: anywhere;
  padding: 8px 10px;
}

.table--liste col.spalte--betreff {
  width: 42%;
}

.table--liste col.spalte--zuordnung {
  width: 20%;
}

.table--liste col.spalte--wer {
  width: 12%;
}

.table--liste col.spalte--status {
  width: 14%;
}

.table--liste col.spalte--geld {
  width: 12%;
}

.zeile1 {
  white-space: nowrap;
  text-overflow: ellipsis;
  min-width: 0;
  display: block;
  overflow: hidden;
}

.zeilen2, .cellsub.zeilen2 {
  -webkit-line-clamp: 2;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

.listrow {
  border-radius: var(--radius-sm);
  margin: 0 -9px;
  padding: 7px 9px;
  transition: background 90ms ease-out;
}

.listrow:hover {
  background: var(--paper-2);
}

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

.wege li + li {
  border-top: 1px solid var(--line);
}

.wege a {
  color: inherit;
  border-radius: var(--radius-sm);
  align-items: center;
  gap: 12px;
  padding: 9px 4px;
  text-decoration: none;
  display: flex;
}

.wege a:hover {
  background: var(--paper-2);
}

.wege__zahl {
  text-align: right;
  font-variant-numeric: tabular-nums;
  min-width: 34px;
  color: var(--ink);
  flex: none;
  font-size: 1.15rem;
  font-weight: 800;
}

.wege__zahl[data-tone="danger"] {
  color: var(--danger);
}

.wege__pfeil {
  color: var(--ink-4);
  font-size: 1.1rem;
}

.filterfalt {
  border-top: 1px solid var(--line);
  margin-top: 10px;
}

.filterfalt > summary {
  cursor: pointer;
  color: var(--ink-3);
  padding: 8px 0 0;
  font-size: .8rem;
  font-weight: 700;
  list-style: none;
}

.filterfalt > summary::-webkit-details-marker {
  display: none;
}

.filterfalt > summary:before {
  content: "▸ ";
  font-size: .75rem;
}

.filterfalt[open] > summary:before {
  content: "▾ ";
}

.filterfalt > summary:hover {
  color: var(--ink);
}

.cellmain {
  color: var(--ink);
  text-overflow: ellipsis;
  font-weight: 600;
  display: block;
  overflow: hidden;
}

.cellsub {
  color: var(--ink-3);
  margin-top: 2px;
  font-size: .85rem;
  display: block;
}

.cellsub--warn {
  color: var(--warn);
  font-weight: 600;
}

.cellsub--fund {
  color: var(--ink-4);
  font-style: italic;
}

.cell--pick {
  text-align: center;
  vertical-align: middle;
  width: 34px;
}

.cell--pick input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--ink);
  cursor: pointer;
}

.picklist {
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 2px;
  display: flex;
}

.picklist:last-child {
  border-bottom: 0;
}

.picklist:hover {
  background: var(--brand-softer);
}

.picklist input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--ink);
  cursor: pointer;
  flex: 0 0 17px;
  margin-top: 2px;
}

.picklist__tail {
  flex-direction: column;
  flex: none;
  align-items: flex-end;
  gap: 4px;
  display: flex;
}

.dl {
  grid-template-columns: minmax(120px, 38%) 1fr;
  gap: 0;
  font-size: .86rem;
  display: grid;
}

.dl dt {
  color: var(--ink-3);
  border-bottom: 1px solid var(--line);
  padding: 6px 10px 6px 0;
}

.dl dd {
  border-bottom: 1px solid var(--line);
  word-break: break-word;
  padding: 6px 0;
}

.dl dt:last-of-type, .dl dd:last-of-type {
  border-bottom: 0;
}

.field {
  margin-bottom: 13px;
  display: block;
}

.field__label {
  color: var(--ink-2);
  margin-bottom: 4px;
  font-size: .79rem;
  font-weight: 700;
  display: block;
}

.field__hint {
  color: var(--ink-3);
  margin-top: 4px;
  font-size: .76rem;
}

.field__error {
  color: var(--danger);
  margin-top: 4px;
  font-size: .78rem;
  font-weight: 600;
}

.input, .select, .textarea {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper);
  width: 100%;
  padding: 8px 10px;
  font-size: .88rem;
  transition: border-color .12s, box-shadow .12s;
}

.input:hover, .select:hover, .textarea:hover {
  border-color: var(--ink-4);
}

.input:focus, .select:focus, .textarea:focus {
  border-color: var(--brand-dark);
  outline: none;
  box-shadow: 0 0 0 3px #ffdb0047;
}

.textarea {
  resize: vertical;
  min-height: 86px;
  line-height: 1.5;
}

.select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%),
    linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 16px) 52%, calc(100% - 11px) 52%;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  padding-right: 30px;
}

.input[readonly] {
  background: var(--paper-3);
  color: var(--ink-3);
}

.input--mono {
  font-family: var(--mono);
  font-size: .82rem;
}

.input--zahl {
  width: 84px;
}

.kopffilter {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  display: flex;
}

.kopffilter .input, .kopffilter .select {
  padding: 5px 9px;
  font-size: .83rem;
}

.kopffilter .select {
  background-position: calc(100% - 12px) 52%, calc(100% - 7px) 52%;
  padding-right: 24px;
}

.kopffilter .btn {
  padding: 6px 12px;
  font-size: .83rem;
}

.kopffilter .kopffilter__fach {
  flex: 0 auto;
  width: 168px;
}

.kopffilter .kopffilter__suche {
  flex: 0 auto;
  width: 190px;
}

@media (min-width: 621px) and (max-width: 1100px) {
  .kopffilter {
    flex-wrap: nowrap;
  }

  .kopffilter .kopffilter__fach, .kopffilter .kopffilter__suche {
    flex: 0 auto;
    min-width: 92px;
  }
}

.check {
  cursor: pointer;
  align-items: flex-start;
  gap: 9px;
  padding: 5px 0;
  font-size: .86rem;
  display: flex;
}

.check input[type="checkbox"], .check input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--ink);
  cursor: pointer;
  flex: 0 0 16px;
  margin: 2px 0 0;
}

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

.check__text span {
  color: var(--ink-3);
  font-size: .78rem;
}

.filterbar {
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 9px;
  display: flex;
}

.filterbar .field {
  margin-bottom: 0;
}

.filterbar .field--grow {
  flex: 1;
  min-width: 180px;
}

.modeswitch {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper-3);
  display: inline-flex;
  overflow: hidden;
}

.modeswitch label {
  cursor: pointer;
  color: var(--ink-3);
  border-right: 1px solid var(--line-strong);
  white-space: nowrap;
  padding: 5px 11px;
  font-size: .78rem;
  font-weight: 600;
}

.modeswitch label:last-child {
  border-right: 0;
}

.modeswitch input {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.modeswitch label:has(input:checked) {
  background: var(--brand);
  color: var(--ink);
}

.modeswitch label:hover {
  background: var(--brand-soft);
}

.notice {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper);
  border-left-width: 4px;
  padding: 11px 14px;
  font-size: .86rem;
}

.notice > strong:first-child {
  margin-bottom: 2px;
  display: block;
}

.notice[data-tone="info"] {
  border-color: #b3cde6;
  border-left-color: var(--info);
  background: var(--info-soft);
  color: #143f68;
}

.notice[data-tone="warn"] {
  border-color: #edc98a;
  border-left-color: var(--warn);
  background: var(--warn-soft);
  color: #6d4200;
}

.notice[data-tone="danger"] {
  border-color: #e8adad;
  border-left-color: var(--danger);
  background: var(--danger-soft);
  color: #7d0101;
}

.notice[data-tone="good"] {
  border-color: #a9dda5;
  border-left-color: var(--success);
  background: var(--success-soft);
  color: #045200;
}

.notice[data-tone="brand"] {
  border-color: var(--brand-dark);
  border-left-color: var(--brand-dark);
  background: var(--brand-soft);
  color: #5b4d00;
}

.explainer {
  padding: 0;
}

.explainer__head {
  cursor: pointer;
  text-align: left;
  width: 100%;
  font: inherit;
  color: inherit;
  border-radius: var(--radius-sm);
  background: none;
  border: 0;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-weight: 700;
  display: flex;
}

.explainer__title {
  flex: 1;
  min-width: 0;
}

.explainer__hint {
  opacity: .65;
  font-size: .76rem;
  font-weight: 600;
}

.explainer__sign {
  opacity: .75;
  border: 1px solid;
  border-radius: 999px;
  flex: 0 0 22px;
  justify-content: center;
  align-items: center;
  width: 22px;
  height: 22px;
  font-size: .95rem;
  line-height: 1;
  display: inline-flex;
}

.explainer__head:hover .explainer__sign {
  opacity: 1;
}

.explainer__body {
  padding: 0 14px 12px;
}

.explainer[data-open="false"] {
  background: var(--paper);
  border-left-color: var(--line-strong);
}

.explainer[data-open="false"] .explainer__head {
  color: var(--ink-3);
  font-weight: 600;
}

.infohint {
  flex: none;
  display: inline-flex;
  position: relative;
}

.infohint__zeichen {
  border: 1px solid var(--line-strong);
  background: var(--paper-2);
  width: 21px;
  height: 21px;
  color: var(--ink-3);
  font-family: var(--serif, inherit);
  cursor: pointer;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  font-size: .8rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  transition: background .12s, color .12s, border-color .12s;
  display: inline-flex;
}

.infohint__zeichen:hover, .infohint__zeichen[aria-expanded="true"] {
  background: var(--brand);
  border-color: var(--brand-dark);
  color: var(--ink);
}

.infohint__zeichen:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px #ffdb0066;
}

.infohint__feld {
  z-index: 60;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-sm);
  background: var(--paper);
  width: max(280px, min(430px, 80vw));
  color: var(--ink-2);
  white-space: normal;
  text-align: left;
  cursor: default;
  padding: 12px 14px 13px;
  font-size: .86rem;
  font-weight: 400;
  line-height: 1.55;
  display: block;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  box-shadow: 0 12px 30px #00000029;
}

.infohint[data-align="rechts"] .infohint__feld {
  left: auto;
  right: 0;
}

.infohint__kopf {
  color: var(--ink);
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
  font-size: .92rem;
  display: flex;
}

.infohint__kopf strong {
  flex: 1;
}

.infohint__weg {
  color: var(--ink-4);
  cursor: pointer;
  background: none;
  border: 0;
  flex: none;
  margin: -4px -4px 0 0;
  padding: 0 5px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.infohint__weg:hover {
  color: var(--ink);
}

.infohint__text {
  display: block;
}

.infohint__text strong {
  color: var(--ink);
}

@media (max-width: 620px) {
  .infohint__feld {
    top: calc(var(--topbar-h) + 6px);
    width: auto;
    max-height: 70vh;
    position: fixed;
    left: 10px;
    right: 10px;
    overflow-y: auto;
  }
}

.empty {
  text-align: center;
  color: var(--ink-3);
  padding: 40px 20px;
}

.empty__icon {
  opacity: .6;
  margin-bottom: 8px;
  font-size: 1.9rem;
}

.empty strong {
  color: var(--ink);
  margin-bottom: 4px;
  display: block;
}

.empty p {
  max-width: 460px;
  margin: 0 auto;
  font-size: .86rem;
}

.pipeline {
  position: relative;
}

.pipeline:before {
  content: "";
  background: var(--line);
  width: 2px;
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 15px;
}

.pstep {
  margin-bottom: 11px;
  padding-left: 42px;
  scroll-margin-top: 104px;
  position: relative;
}

.pstep:last-child {
  margin-bottom: 0;
}

.pstep__marker {
  background: var(--paper);
  border: 2px solid var(--line-strong);
  width: 32px;
  height: 32px;
  color: var(--ink-3);
  z-index: 1;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  font-size: .85rem;
  font-weight: 800;
  display: flex;
  position: absolute;
  top: 11px;
  left: 0;
}

.pstep[data-status="done"] .pstep__marker {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.pstep[data-status="review"] .pstep__marker {
  background: var(--brand);
  border-color: var(--brand-dark);
  color: var(--ink);
  box-shadow: 0 0 0 4px #ffdb0047;
}

.pstep[data-status="failed"] .pstep__marker {
  background: var(--danger);
  border-color: var(--danger);
  color: #fff;
}

.pstep[data-status="running"] .pstep__marker {
  background: var(--info);
  border-color: var(--info);
  color: #fff;
}

.pstep[data-status="skipped"] .pstep__marker {
  background: var(--paper-3);
  border-color: var(--line);
  color: var(--ink-4);
}

.pstep__box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.pstep[data-status="review"] .pstep__box {
  border-color: var(--brand-dark);
  box-shadow: 0 2px 10px #ffdb0040;
}

.pstep[data-status="failed"] .pstep__box {
  border-color: #e8adad;
}

.pstep[data-status="skipped"] .pstep__box {
  background: var(--paper-2);
  box-shadow: none;
}

.pstep__head {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  display: flex;
}

.pstep__title {
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: .92rem;
  font-weight: 700;
  display: flex;
}

.pstep__desc {
  color: var(--ink-3);
  margin-top: -4px;
  padding: 0 14px 10px;
  font-size: .8rem;
}

.pstep__body {
  border-top: 1px solid var(--line);
  padding: 12px 14px 13px;
}

.pstep__foot {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  display: flex;
}

.pstep__ergebnis {
  margin: 0 14px 12px;
}

.schrittgruppe {
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-3);
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 18px 0 9px;
  font-size: .78rem;
  font-weight: 800;
  display: flex;
}

.schrittgruppe:first-child {
  margin-top: 2px;
}

.schrittgruppe .tiny {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.pstep[data-status="done"] .pstep__box, .pstep[data-status="skipped"] .pstep__box {
  box-shadow: none;
}

.pstep[data-status="done"] .pstep__foot, .pstep[data-status="skipped"] .pstep__foot {
  background: none;
  padding: 7px 14px;
}

.pstep__technik summary {
  color: var(--ink-4);
}

.pstep__technik .pstep__meta {
  padding-top: 4px;
}

.pstep__meta {
  color: var(--ink-4);
  flex-wrap: wrap;
  gap: 12px;
  font-size: .75rem;
  display: flex;
}

.reasoning {
  background: var(--brand-softer);
  border-radius: var(--radius-sm);
  color: #4d4526;
  white-space: pre-wrap;
  border: 1px solid #f0e6b8;
  padding: 10px 12px;
  font-size: .84rem;
  line-height: 1.55;
}

.reasoning__label {
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #8a7a1f;
  margin-bottom: 4px;
  font-size: .7rem;
  font-weight: 800;
}

.conf {
  white-space: nowrap;
  align-items: center;
  gap: 7px;
  font-size: .76rem;
  font-weight: 700;
  display: inline-flex;
}

.conf__bar {
  background: var(--line);
  border-radius: 999px;
  width: 54px;
  height: 6px;
  overflow: hidden;
}

.conf__fill {
  background: var(--success);
  border-radius: 999px;
  height: 100%;
}

.conf[data-tone="warn"] .conf__fill {
  background: var(--warn);
}

.conf[data-tone="bad"] .conf__fill {
  background: var(--danger);
}

.conf[data-tone="warn"] {
  color: var(--warn);
}

.conf[data-tone="bad"] {
  color: var(--danger);
}

.conf[data-tone="good"] {
  color: #066b00;
}

.conf__bar--breit {
  width: 100%;
  height: 9px;
}

.fields {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  margin-bottom: 13px;
  display: grid;
}

.fields .field {
  margin-bottom: 0;
}

.fieldrow {
  border-bottom: 1px dashed var(--line);
  grid-template-columns: minmax(130px, 32%) 1fr;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  font-size: .86rem;
  display: grid;
}

.fieldrow:last-child {
  border-bottom: 0;
}

.fieldrow__label {
  color: var(--ink-3);
  font-size: .8rem;
}

.fieldrow__value {
  word-break: break-word;
  font-weight: 600;
}

.fieldrow__value--empty {
  color: var(--ink-4);
  font-weight: 400;
}

.choice {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: var(--paper);
  padding: 9px 12px;
  transition: border-color .12s, background .12s;
  display: block;
}

.choice:hover {
  border-color: var(--brand-dark);
  background: var(--brand-softer);
}

.choice:has(input:checked) {
  border-color: var(--brand-dark);
  background: var(--brand-soft);
  box-shadow: inset 0 0 0 1px var(--brand-dark);
}

.choice input {
  margin-right: 8px;
}

.choice__title {
  font-size: .87rem;
  font-weight: 700;
}

.choice__sub {
  color: var(--ink-3);
  margin-left: 24px;
  font-size: .78rem;
}

.choice[data-warn="true"] {
  background: var(--warn-soft);
  border-color: #edc98a;
}

.checklist {
  font-size: .85rem;
}

.checklist__item {
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
  gap: 9px;
  padding: 6px 0;
  display: flex;
}

.checklist__item:last-child {
  border-bottom: 0;
}

.checklist__mark {
  text-align: center;
  flex: 0 0 18px;
  font-weight: 800;
  line-height: 1.4;
}

.checklist__item[data-ok="true"] .checklist__mark {
  color: var(--success);
}

.checklist__item[data-ok="false"] .checklist__mark {
  color: var(--danger);
}

.checklist__item[data-ok="skip"] .checklist__mark {
  color: var(--ink-4);
}

.checklist__label strong {
  font-weight: 600;
}

.checklist__note {
  color: var(--ink-3);
  font-size: .78rem;
}

.log {
  font-size: .83rem;
}

.log__item {
  border-bottom: 1px solid var(--line);
  gap: 10px;
  padding: 8px 0;
  display: flex;
}

.log__item:last-child {
  border-bottom: 0;
}

.log__when {
  color: var(--ink-4);
  font-variant-numeric: tabular-nums;
  flex: 0 0 118px;
  font-size: .76rem;
}

.log__actor {
  flex: 0 0 86px;
}

.log__msg {
  flex: 1;
  min-width: 0;
}

.log__msg small {
  color: var(--ink-3);
  white-space: pre-wrap;
  margin-top: 2px;
  font-size: .76rem;
  display: block;
}

.doclist {
  gap: 7px;
  display: grid;
}

.docitem {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  font-size: .85rem;
  display: flex;
}

.docitem:hover {
  border-color: var(--brand-dark);
  background: var(--brand-softer);
}

.docitem__icon {
  border-radius: var(--radius-sm);
  background: var(--paper-3);
  height: 30px;
  color: var(--ink-3);
  flex: 0 0 30px;
  justify-content: center;
  align-items: center;
  font-size: .68rem;
  font-weight: 800;
  display: inline-flex;
}

.docitem__name {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  display: block;
  overflow: hidden;
}

.docitem__meta {
  color: var(--ink-3);
  margin-top: 2px;
  font-size: .76rem;
  display: block;
}

.docpane {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  z-index: 5;
  position: sticky;
  top: 14px;
  overflow: hidden;
}

.docpane__head {
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
  align-items: center;
  gap: 8px;
  padding: 8px 10px 8px 12px;
  display: flex;
}

.docpane[data-open="false"] .docpane__head {
  border-bottom: 0;
}

.docpane__toggle {
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  background: none;
  border: 0;
  flex: 1;
  padding: 2px 0;
  font-size: .86rem;
  font-weight: 700;
}

.docpane__tools {
  gap: 6px;
  display: flex;
}

.docpane__tabs {
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px 8px 0;
  display: flex;
}

.docpane__tab {
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  cursor: pointer;
  color: var(--ink-2);
  padding: 4px 8px;
  font-size: .74rem;
}

.docpane__tab[data-active="true"] {
  background: var(--brand-soft);
  border-color: var(--brand-dark);
  color: var(--ink);
  font-weight: 700;
}

.docpane__frame {
  aspect-ratio: 1 / 1.414;
  background: var(--paper-3);
  border: 0;
  width: 100%;
  height: auto;
  max-height: min(72vh, 900px);
  display: block;
}

.docpane__foot {
  color: var(--ink-4);
  border-top: 1px solid var(--line);
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 6px 12px 8px;
  font-size: .72rem;
  overflow: hidden;
}

.docpane__warn {
  color: var(--danger);
  background: var(--danger-soft);
  padding: 14px;
  font-size: .84rem;
}

.docpane[data-gross="true"] {
  z-index: 60;
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  display: flex;
  position: fixed;
  inset: 14px 14px 14px 22vw;
}

.docpane[data-gross="true"] .docpane__frame {
  flex: 1;
  height: auto;
}

.docpane__backdrop {
  z-index: -1;
  cursor: zoom-out;
  background: #23231f47;
  border: 0;
  position: fixed;
  inset: 0;
}

@media (max-width: 1180px) {
  .docpane {
    position: static;
  }

  .docpane[data-gross="true"] {
    inset: 8px;
  }
}

.preview {
  border-left: 2px solid var(--line-strong);
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 420px;
  padding: 2px 0 2px 13px;
  font-size: .86rem;
  line-height: 1.6;
  overflow-y: auto;
}

.preview--mono {
  font-family: var(--mono);
  font-size: .8rem;
}

.jsonbox {
  color: #e8e6dd;
  border-radius: var(--radius-sm);
  font-family: var(--mono);
  white-space: pre;
  background: #1e1e1a;
  max-height: 320px;
  padding: 11px 13px;
  font-size: .76rem;
  line-height: 1.5;
  overflow: auto;
}

details.disclosure {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
}

details.disclosure > summary {
  cursor: pointer;
  color: var(--ink-2);
  padding: 8px 12px;
  font-size: .82rem;
  font-weight: 600;
  list-style: none;
}

details.disclosure > summary::-webkit-details-marker {
  display: none;
}

details.disclosure > summary:before {
  content: "▸ ";
  color: var(--ink-4);
}

details.disclosure[open] > summary:before {
  content: "▾ ";
}

details.disclosure > div {
  padding: 0 12px 12px;
}

.tree {
  font-size: .87rem;
}

.tree__obj {
  border-bottom: 1px solid var(--line);
}

.tree__obj:last-child {
  border-bottom: 0;
}

.tree__objhead {
  cursor: pointer;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  font-weight: 700;
  display: flex;
}

.tree__objhead:hover {
  background: var(--brand-softer);
}

.tree__folders {
  gap: 3px;
  padding: 0 12px 10px 34px;
  display: grid;
}

.tree__folder {
  border-radius: var(--radius-sm);
  align-items: center;
  gap: 8px;
  padding: 5px 9px;
  font-size: .84rem;
  display: flex;
}

.tree--breit {
  font-size: .95rem;
}

.tree--breit .tree__objhead {
  padding: 12px 16px;
  font-size: 1rem;
}

.tree--breit .tree__folders {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 4px 10px;
  padding: 0 16px 14px 40px;
}

.tree--breit .tree__folder {
  padding: 7px 11px;
  font-size: .9rem;
}

.tree--breit .tree__count {
  font-size: .8rem;
}

.tree__folder:hover {
  background: var(--paper-3);
}

.tree__count {
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  margin-left: auto;
  font-size: .74rem;
}

.authpage {
  background: var(--paper);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  min-height: 100vh;
  display: grid;
}

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

  .authpage__aside {
    display: none;
  }
}

.authpage__aside {
  background: var(--ink);
  color: #eceae4;
  flex-direction: column;
  justify-content: space-between;
  padding: 46px 44px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.authpage__aside:after {
  content: "";
  border: 44px solid #ffdb0029;
  border-radius: 999px;
  width: 380px;
  height: 380px;
  position: absolute;
  bottom: -140px;
  right: -140px;
}

.authpage__aside h2 {
  letter-spacing: -.02em;
  max-width: 15em;
  margin-bottom: 12px;
  font-size: 1.7rem;
  line-height: 1.25;
}

.authpage__aside p {
  color: #b8b6ac;
  max-width: 30em;
  font-size: .92rem;
}

.authpage__points {
  z-index: 1;
  gap: 11px;
  margin-top: 26px;
  display: grid;
  position: relative;
}

.authpage__point {
  color: #d6d4cb;
  gap: 11px;
  font-size: .88rem;
  display: flex;
}

.authpage__point b {
  color: var(--brand);
  flex: none;
}

.authpage__form {
  justify-content: center;
  align-items: center;
  padding: 40px 28px;
  display: flex;
}

.authcard {
  width: 100%;
  max-width: 382px;
}

.authcard__logo {
  margin-bottom: 26px;
}

.authcard__logo img {
  width: auto;
  height: 46px;
}

.authcard h1 {
  margin-bottom: 5px;
}

.authcard__sub {
  color: var(--ink-3);
  margin-bottom: 22px;
  font-size: .88rem;
}

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

.small {
  font-size: .88rem;
}

.tiny {
  font-size: .8rem;
}

.strong {
  font-weight: 700;
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}

.nowrap {
  white-space: nowrap;
}

.breakall {
  word-break: break-all;
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 6px;
}

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

.mt-3 {
  margin-top: 18px;
}

.mb-1 {
  margin-bottom: 6px;
}

.mb-2 {
  margin-bottom: 12px;
}

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

.hidden {
  display: none;
}

.tabs {
  border-bottom: 1px solid var(--line);
  top: var(--topbar-h);
  z-index: 15;
  background: var(--paper-2);
  flex-wrap: wrap;
  gap: 2px;
  margin-bottom: 18px;
  padding-top: 4px;
  display: flex;
  position: sticky;
}

.tabs__item {
  color: var(--ink-3);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border: 1px solid #0000;
  border-bottom: 0;
  margin-bottom: -1px;
  padding: 10px 16px;
  font-size: .92rem;
  font-weight: 600;
}

.tabs__item:hover {
  color: var(--ink);
  background: var(--paper-2);
}

.tabs__item[data-active="true"] {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--line);
  border-bottom: 1px solid var(--paper);
  box-shadow: inset 0 3px 0 0 var(--brand);
}

.tabs__count {
  background: var(--paper-3);
  color: var(--ink-2);
  vertical-align: 1px;
  border-radius: 999px;
  margin-left: 7px;
  padding: 1px 7px;
  font-size: .76rem;
  font-weight: 700;
  display: inline-block;
}

.tabs__item[data-active="true"] .tabs__count {
  background: var(--brand-soft);
}

.tabs__count[data-tone="danger"] {
  background: var(--danger);
  color: #fff;
}

.tabs__count[data-tone="warn"], .tabs__item[data-active="true"] .tabs__count[data-tone="warn"] {
  background: var(--warn);
  color: #fff;
}

.tabs__item[data-active="true"] .tabs__count[data-tone="danger"] {
  background: var(--danger);
  color: #fff;
}

.tabs[data-hinweis="true"] {
  margin-bottom: 9px;
}

.tabhinweis {
  color: var(--ink-3);
  align-items: baseline;
  gap: 7px;
  margin: 0 0 14px;
  padding: 0 2px;
  font-size: .83rem;
  line-height: 1.45;
  display: flex;
}

.tabhinweis__zeichen {
  border: 1px solid var(--line-strong);
  width: 15px;
  height: 15px;
  color: var(--ink-4);
  border-radius: 999px;
  flex: none;
  justify-content: center;
  align-items: center;
  font-size: .66rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
}

.beteiligte {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  font-size: .84rem;
  display: flex;
}

.beteiligte__label {
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-3);
  margin-right: 2px;
  font-size: .71rem;
  font-weight: 800;
}

.beteiligte__eintrag {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  white-space: nowrap;
  text-overflow: ellipsis;
  border-radius: 999px;
  align-items: center;
  gap: 5px;
  max-width: 26rem;
  padding: 3px 9px;
  display: inline-flex;
  overflow: hidden;
}

a.beteiligte__eintrag:hover {
  border-color: var(--brand-dark);
  background: var(--brand-softer);
}

.beteiligte__zahl {
  color: var(--ink-4);
  font-variant-numeric: tabular-nums;
}

.vorgangsleiste {
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
  display: flex;
}

.belegzeile {
  border: 1px solid var(--line);
  border-left: 3px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper);
  padding: 9px 11px;
}

.belegzeile[data-aktuell="true"] {
  border-left-color: var(--brand);
  background: var(--brand-softer);
}

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

.belegzeile__daten {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 4px 18px;
  margin-top: 4px;
  font-size: .84rem;
  display: grid;
}

.grundlage {
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--info);
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  padding: 9px 11px;
}

.grundlage__kopf {
  flex-direction: column;
  gap: 1px;
  margin-bottom: 7px;
  display: flex;
}

.grundlage__kopf strong {
  font-size: .83rem;
}

.belegzeile__daten strong {
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-right: 6px;
  font-size: .76rem;
  font-weight: 700;
}

.vorgangsleiste .select--schmal {
  width: auto;
  min-width: 12rem;
}

.vorgangsleiste details.disclosure--knapp {
  background: none;
  border-color: #0000;
}

.vorgangsleiste details.disclosure--knapp[open] {
  background: var(--paper);
  border-color: var(--line);
  width: 100%;
}

.vorgangsleiste details.disclosure--knapp > summary {
  padding: 7px 2px;
}

.vorgangsleiste details.disclosure--knapp[open] > summary {
  padding: 8px 12px;
}

.tabs--zweite {
  margin-top: -6px;
  margin-bottom: 14px;
  font-size: .95em;
  position: static;
}

.sectionhead {
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-3);
  border-top: 1px solid var(--line);
  margin: 30px 0 12px;
  padding-top: 14px;
  font-size: .74rem;
  font-weight: 800;
}

.ladezeile {
  min-height: 120px;
  color: var(--ink-3);
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  display: flex;
}

.spinner {
  border: 2px solid #23231f40;
  border-top-color: var(--ink);
  border-radius: 999px;
  width: 14px;
  height: 14px;
  animation: .7s linear infinite spin;
  display: inline-block;
}

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

@media (max-width: 860px) {
  .shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    flex-direction: column;
    height: auto;
    position: static;
  }

  .sidebar__nav {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2px;
    display: grid;
  }

  .sidebar__group {
    margin-top: 6px;
  }

  :root {
    --content-pad: 14px;
  }

  .dl {
    grid-template-columns: 1fr;
  }

  .dl dt {
    border-bottom: 0;
    padding-bottom: 0;
  }
}

@media print {
  .sidebar, .topbar__actions, .pstep__foot, .btn {
    display: none !important;
  }

  .shell {
    grid-template-columns: 1fr;
  }

  body {
    background: #fff;
  }

  ::details-content {
    content-visibility: visible !important;
    block-size: auto !important;
  }

  details:not([open]) > :not(summary) {
    display: block !important;
  }

  .zeile1 {
    white-space: normal;
    overflow: visible;
  }
}

.doc--page {
  color: #23231f;
  background: #fff;
  max-width: 860px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 40px 22px 80px;
}

.doc h1 {
  margin: 0 0 6px;
  font-size: 26px;
  line-height: 1.25;
}

.doc h2 {
  margin: 34px 0 8px;
  padding-top: 4px;
  font-size: 19px;
  line-height: 1.3;
}

.doc h3 {
  margin: 24px 0 6px;
  font-size: 15.5px;
}

.doc h4 {
  margin: 18px 0 4px;
  font-size: 14px;
}

.doc p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.65;
}

.doc ul, .doc ol {
  margin: 0 0 12px;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.65;
}

.doc li {
  margin-bottom: 5px;
}

.doc__hr {
  border: 0;
  border-top: 1px solid #e4e3e0;
  margin: 30px 0;
}

.doc__code {
  background: #f7f6f4;
  border: 1px solid #e4e3e0;
  border-radius: 6px;
  margin: 0 0 14px;
  padding: 12px 14px;
  font-size: 12.5px;
  line-height: 1.55;
  overflow-x: auto;
}

.doc__code code {
  white-space: pre;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.doc__inline {
  background: #f2f1ee;
  border-radius: 4px;
  padding: 1px 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9em;
}

.doc__tablewrap {
  margin: 0 0 14px;
  overflow-x: auto;
}

.doc__table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13.5px;
}

.doc__table th, .doc__table td {
  text-align: left;
  vertical-align: top;
  border: 1px solid #e4e3e0;
  padding: 7px 10px;
}

.doc__table th {
  background: #f7f6f4;
  font-weight: 600;
}

.doc__foot {
  color: #6f6d67;
  border-top: 1px solid #e4e3e0;
  margin-top: 40px;
  padding-top: 14px;
  font-size: 12.5px;
}

.grid--postfach {
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.6fr);
  align-items: start;
  gap: 16px;
  display: grid;
}

@media (max-width: 1180px) {
  .grid--postfach {
    grid-template-columns: minmax(0, 1fr);
  }
}

.vorgangszeile {
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin: 0 0 12px;
  padding-bottom: 10px;
  font-size: .85rem;
  font-weight: 600;
  display: flex;
}

.vorgangszeile > span {
  align-items: baseline;
  gap: 5px;
  min-width: 0;
  display: inline-flex;
}

.vorgangszeile__wort {
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .76rem;
  font-weight: 400;
}

.mailliste {
  flex-direction: column;
  max-height: calc(100vh - 258px);
  display: flex;
  overflow-y: auto;
}

.mailzeile {
  border-bottom: 1px solid var(--line);
  color: inherit;
  border-left: 3px solid #0000;
  padding: 10px 14px;
  text-decoration: none;
  display: block;
}

.mailzeile:hover {
  background: var(--paper-2);
}

.mailzeile[data-aktiv="true"] {
  background: var(--brand-softer);
  border-left-color: var(--brand-dark);
}

.mailzeile[data-ungelesen="true"] .mailzeile__betreff, .mailzeile[data-ungelesen="true"] .mailzeile__von {
  font-weight: 700;
}

.mailzeile__kopf {
  align-items: baseline;
  gap: 8px;
  margin-bottom: 2px;
  display: flex;
}

.mailzeile__von {
  color: var(--ink-2);
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  font-size: .84rem;
  overflow: hidden;
}

.mailzeile__betreff {
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .9rem;
  overflow: hidden;
}

.mailzeile__auszug {
  color: var(--ink-3);
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 1px;
  font-size: .79rem;
  overflow: hidden;
}

.mailzeile__fuss {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  display: flex;
}

.mailgruppen {
  flex-direction: column;
  gap: 18px;
  display: flex;
}

.mailgruppe {
  border: 1px solid var(--line);
  background: var(--paper-2);
  border-radius: 10px;
  padding: 12px 13px 13px;
}

.mailgruppe__verlauf {
  flex-direction: column;
  gap: 9px;
  display: flex;
}

.mailgruppe__kopf {
  border-bottom: 2px solid var(--brand);
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin-bottom: 11px;
  padding: 0 0 8px;
  display: flex;
}

.mailgruppe__titel {
  color: var(--ink);
  letter-spacing: -.01em;
  font-size: 1.02rem;
  font-weight: 800;
}

.mailmsg {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  padding: 10px 12px;
}

.mailmsg[data-richtung="aus"] {
  background: var(--paper-2);
  border-left: 3px solid var(--success);
}

.mailmsg[data-richtung="ein"] {
  border-left: 3px solid var(--info);
}

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

.mailmsg__von {
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-size: .87rem;
  display: inline-flex;
}

.mailmsg__punkt {
  background: var(--brand-dark);
  border-radius: 50%;
  flex: none;
  width: 8px;
  height: 8px;
}

.mailmsg__zeilen {
  margin-top: 4px;
}

.mailmsg__betreff {
  color: var(--ink);
  font-size: .89rem;
  font-weight: 600;
}

.mailmsg__inhalt {
  margin-top: 8px;
}

.mailmsg__inhalt > summary {
  cursor: pointer;
  color: var(--ink-3);
  -webkit-user-select: none;
  user-select: none;
  font-size: .79rem;
}

.mailmsg__inhalt > summary:hover {
  color: var(--ink);
}

.mailmsg__fuss {
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
  padding-top: 9px;
  display: flex;
}

.mailbody {
  border-left: 2px solid var(--line-strong);
  word-break: break-word;
  max-height: 620px;
  margin-top: 8px;
  padding: 2px 0 2px 13px;
  font-size: .88rem;
  line-height: 1.62;
  overflow: auto;
}

.mailbody p {
  margin: 0 0 .7em;
}

.mailbody p:last-child {
  margin-bottom: 0;
}

.mailbody ul, .mailbody ol {
  margin: 0 0 .7em 1.3em;
}

.mailbody li {
  margin-bottom: .25em;
}

.mailbody a {
  color: var(--info);
  text-decoration: underline;
}

.mailbody table {
  border-collapse: collapse;
  max-width: 100%;
}

.mailbody td, .mailbody th {
  border: 1px solid var(--line);
  text-align: left;
  padding: 4px 7px;
}

.mailbody blockquote {
  border-left: 3px solid var(--line-strong);
  color: var(--ink-3);
  margin: .7em 0;
  padding-left: 12px;
}

.mailbody hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: .9em 0;
}

.mailbody h1, .mailbody h2, .mailbody h3, .mailbody h4 {
  margin: .8em 0 .4em;
  font-size: 1rem;
}

.vorlagen {
  border: 1px solid var(--brand-dark);
  border-radius: var(--radius-sm);
  background: var(--brand-softer);
  border-left-width: 3px;
  padding: 10px 12px;
}

.vorlagen__kopf {
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
  font-size: .88rem;
  display: flex;
}

.aktion {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  padding: 11px 13px;
}

.aktion__kopf {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  display: flex;
}

.checkzeile {
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 12px;
  display: flex;
}

.checkzeile .check {
  margin: 0;
}

@media (max-width: 900px) {
  .shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .sidebar {
    border-bottom: 1px solid #17170f;
    border-right: 0;
    height: auto;
    position: static;
  }

  .sidebar__brand {
    border-bottom: 0;
    padding: 10px 14px;
  }

  .sidebar__logo {
    max-width: 210px;
  }

  .sidebar__brand img {
    width: auto;
    height: 30px;
  }

  .sidebar__search {
    padding: 0 14px 10px;
  }

  .sidebar__nav {
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
    padding: 0 10px 10px;
    display: flex;
    overflow: visible;
  }

  .sidebar__group {
    flex-wrap: wrap;
    flex: 0 auto;
    align-items: center;
    gap: 2px;
    min-width: 0;
    margin-top: 0;
    display: flex;
  }

  .sidebar__group + .sidebar__group {
    border-left: 1px solid #ffffff24;
    margin-left: 8px;
    padding-left: 8px;
  }

  .sidebar__grouplabel {
    width: auto;
    padding: 0 4px;
  }

  .navitem {
    white-space: nowrap;
    flex: none;
  }

  .navitem[data-active="true"]:before {
    border-radius: 3px 3px 0 0;
    width: auto;
    height: 3px;
    inset: auto 6px -1px;
  }

  .navitem--sub {
    padding-left: 10px;
  }

  .sidebar__foot {
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    display: flex;
  }

  .sidebar__foot .tiny {
    margin: 0;
  }

  .sidebar__user {
    flex: 1;
    min-width: 160px;
  }

  .topbar {
    min-height: 0;
    padding: 14px 0 12px;
    position: static;
  }

  .topbar[data-size="lg"] {
    padding: 16px 0 14px;
  }

  .topbar[data-size="lg"] .topbar__title h1 {
    font-size: 1.4rem;
  }

  .tabs {
    top: 0;
  }

  .shell {
    --content-pad: 14px;
  }
}

@media (max-width: 620px) {
  .sidebar__group {
    flex: 100%;
  }

  .sidebar__group + .sidebar__group {
    border-left: 0;
    margin-left: 0;
    padding-left: 0;
  }

  .table--liste, .table--liste tbody, .table--liste tr, .table--liste td {
    width: auto;
    display: block;
  }

  .table--liste thead, .table--liste colgroup {
    display: none;
  }

  .table--liste tr {
    border-bottom: 1px solid var(--line);
    padding: 10px 12px;
  }

  .table--liste td {
    border: 0;
    padding: 1px 0;
  }

  .table--liste td.num {
    text-align: left;
  }

  .table--liste .zeile1 {
    white-space: normal;
    overflow: visible;
  }

  .table--liste tr[data-tone="danger"] > td:first-child, .table--liste tr[data-tone="warn"] > td:first-child {
    box-shadow: none;
  }

  .table--liste tr[data-tone="danger"] {
    border-left: 3px solid var(--danger);
  }

  .table--liste tr[data-tone="warn"] {
    border-left: 3px solid var(--warn);
  }

  .tablewrap {
    overflow-x: auto;
  }

  .grid--2, .grid--3, .grid--4, .fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .savebar {
    border-radius: 0;
    margin-left: -14px;
    margin-right: -14px;
    bottom: 0;
  }
}

.filterzeile {
  border-bottom: 1px solid var(--line);
  padding: 14px;
  display: block;
}

.authpage__fuss {
  color: var(--ink-4);
}

.sidebar__logout {
  color: #cfcdc5;
  background: none;
  border-color: #ffffff38;
}

.sidebar__logout:hover {
  color: #fff;
  background: #ffffff14;
}

.pstep__fazit {
  color: var(--ink);
}

.abschnitt {
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
  font-size: .82rem;
  font-weight: 700;
}

.feldgruppe {
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
  margin: 16px 0 8px;
  padding-bottom: 5px;
  font-size: .88rem;
  font-weight: 700;
}

.feldgruppe:first-child {
  margin-top: 0;
}

.trennlinie {
  background: var(--line);
  height: 1px;
  margin: 16px 0;
}

.table--zugriff td:first-child, .table--zugriff th:first-child {
  width: 60%;
}

.table--zugriff td:not(:first-child), .table--zugriff th:not(:first-child) {
  width: 20%;
}

.table--zugriff input[type="checkbox"] {
  width: 17px;
  height: 17px;
}

.fields .field--breit {
  grid-column: span 2;
}

@media (max-width: 720px) {
  .fields .field--breit {
    grid-column: span 1;
  }
}

.composer {
  border: 1px solid var(--brand-dark);
  border-radius: var(--radius);
  background: var(--brand-softer);
  padding: 13px 14px;
}

.composer__kopf {
  border-bottom: 1px solid var(--line-strong);
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 11px;
  padding-bottom: 9px;
  font-size: .9rem;
  display: flex;
}

.editor {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper);
  overflow: hidden;
}

.editor__bar {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  align-items: center;
  gap: 3px;
  padding: 5px 7px;
  display: flex;
}

.editor__btn {
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  cursor: pointer;
  background: none;
  border: 1px solid #0000;
  padding: 4px 8px;
  font-size: .79rem;
  line-height: 1.3;
}

.editor__btn:hover {
  background: var(--paper);
  border-color: var(--line-strong);
}

.editor__btn[data-aktiv="true"] {
  background: var(--brand-soft);
  border-color: var(--brand-dark);
}

.editor__trenner {
  background: var(--line-strong);
  align-self: stretch;
  width: 1px;
  margin: 2px 5px;
}

.editor__flaeche {
  word-break: break-word;
  outline: none;
  max-height: 640px;
  padding: 11px 13px;
  font-size: .9rem;
  line-height: 1.62;
  overflow-y: auto;
}

.editor__flaeche:focus {
  box-shadow: inset 0 0 0 2px #ffdb0059;
}

.editor__flaeche p {
  margin: 0 0 .7em;
}

.editor__flaeche ul, .editor__flaeche ol {
  margin: 0 0 .7em 1.3em;
}

.editor__flaeche blockquote {
  border-left: 3px solid var(--line-strong);
  color: var(--ink-3);
  margin: .7em 0;
  padding-left: 12px;
}

.editor__flaeche a {
  color: var(--info);
  text-decoration: underline;
}

.editor__flaeche hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: .9em 0;
}

.editor__quelltext {
  width: 100%;
  font-family: var(--mono);
  resize: vertical;
  border: none;
  outline: none;
  padding: 11px 13px;
  font-size: .78rem;
  line-height: 1.55;
}

.table--kategorien {
  table-layout: fixed;
}

.table--kategorien td, .table--kategorien th {
  vertical-align: top;
}

.table--kategorien td:first-child .cellsub {
  white-space: normal;
  word-break: break-word;
  line-height: 1.45;
}

.table--kategorien .select {
  padding: 6px 26px 6px 8px;
  font-size: .82rem;
}

.textarea--anweisung {
  min-height: 108px;
  font-size: .84rem;
  line-height: 1.5;
}

.savebar {
  z-index: 14;
  background: var(--paper-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 -3px 10px #23231f12, var(--shadow-sm);
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 11px 14px;
  display: flex;
  position: sticky;
  bottom: 12px;
}

.savebar--eingerueckt {
  margin: 16px 14px 14px;
}

.savebar__hinweis {
  color: var(--ink-3);
  flex: 1;
  min-width: 200px;
  font-size: .78rem;
}

.field__wert {
  color: var(--ink);
  margin: 0;
  padding: 8px 0;
  font-size: .88rem;
}

.shell[data-eingeklappt="1"] {
  grid-template-columns: 0 minmax(0, 1fr);
}

.shell[data-eingeklappt="1"] .sidebar {
  visibility: hidden;
  overflow: hidden;
}

.shell__klappe {
  top: 12px;
  left: calc(var(--sidebar-w) - 13px);
  z-index: 60;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  width: 26px;
  height: 26px;
  color: var(--ink-2);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border-radius: 50%;
  font-size: .95rem;
  line-height: 1;
  transition: left .14s, background .12s, color .12s;
  position: fixed;
}

.shell__klappe:hover {
  background: var(--ink);
  color: #fff;
}

.shell[data-eingeklappt="1"] .shell__klappe {
  left: 8px;
}

@media (max-width: 900px) {
  .shell__klappe {
    display: none;
  }
}

.abmeldehinweis {
  z-index: 200;
  text-align: center;
  color: #fff;
  background: #23231feb;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 24px;
  display: flex;
  position: fixed;
  inset: 0;
}

.abmeldehinweis strong {
  font-size: 1.2rem;
}

.abmeldehinweis span {
  color: #ffffffd1;
  max-width: 34rem;
  font-size: .92rem;
}

.kalender {
  background: var(--line);
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  display: grid;
}

.kalender__kopf {
  background: var(--paper-2);
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ink-3);
  padding: 6px 8px;
  font-size: .74rem;
  font-weight: 700;
}

.kalender__tag {
  background: var(--paper);
  flex-direction: column;
  gap: 4px;
  min-height: 84px;
  padding: 6px 8px 8px;
  display: flex;
}

.kalender__tag[data-leer="1"] {
  background: var(--paper-2);
}

.kalender__tag[data-heute="1"] {
  box-shadow: inset 0 0 0 2px var(--brand);
}

.kalender__zahl {
  color: var(--ink-3);
  font-size: .78rem;
  font-weight: 700;
}

.kalender__eintrag {
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  border-left: 3px solid var(--brand);
  overflow-wrap: anywhere;
  padding: 3px 5px;
  font-size: .78rem;
  line-height: 1.25;
}

.kalender__eintrag[data-art="nachweis"] {
  border-left-color: var(--warn);
}

.kalender__eintrag[data-art="merker"] {
  border-left-color: var(--line-strong);
}

.anruf {
  border-left: 3px solid var(--line-strong);
  background: var(--paper);
  border-radius: 0 8px 8px 0;
  padding: 8px 10px 8px 11px;
}

.anruf[data-richtung="ein"] {
  border-left-color: var(--brand);
}

.anruf__kopf {
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  display: flex;
}

.anruf__marke {
  color: var(--ink-4);
  font-size: .7rem;
}

.assistent__knopf {
  z-index: 80;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  height: 46px;
  font: inherit;
  cursor: pointer;
  box-shadow: var(--shadow);
  border-radius: 999px;
  align-items: center;
  gap: 0;
  padding: 0 13px;
  font-size: .86rem;
  font-weight: 600;
  transition: gap .12s, background .12s, color .12s;
  display: inline-flex;
  position: fixed;
  bottom: 18px;
  right: 18px;
}

.assistent__knopf:hover, .assistent__knopf:focus-visible {
  background: var(--brand);
  color: var(--ink);
  border-color: var(--brand);
  gap: 7px;
}

.assistent__knopftext {
  white-space: nowrap;
  max-width: 0;
  transition: max-width .16s ease-out;
  overflow: hidden;
}

.assistent__knopf:hover .assistent__knopftext, .assistent__knopf:focus-visible .assistent__knopftext {
  max-width: 9rem;
}

.funke {
  vertical-align: -2px;
  margin-right: 6px;
}

.assistent__kopf .funke {
  color: var(--brand);
  margin-right: 5px;
}

.assistent__knopf .funke {
  margin-right: 0;
}

.assistent {
  z-index: 80;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  flex-direction: column;
  width: min(420px, 100vw - 36px);
  max-height: min(560px, 100vh - 36px);
  display: flex;
  position: fixed;
  bottom: 18px;
  right: 18px;
  overflow: hidden;
  box-shadow: 0 12px 34px #23231f38;
}

.assistent__kopf {
  background: var(--ink);
  color: #fff;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  display: flex;
}

.assistent__zu {
  color: #ffffffbf;
  cursor: pointer;
  background: none;
  border: 0;
  font-size: 1.25rem;
  line-height: 1;
}

.assistent__zu:hover {
  color: #fff;
}

.assistent__verlauf {
  flex-direction: column;
  flex: 1;
  gap: 12px;
  padding: 12px;
  display: flex;
  overflow-y: auto;
}

.assistent__leer {
  color: var(--ink-2);
}

.assistent__beispiele {
  flex-direction: column;
  gap: 4px;
  margin: 8px 0;
  padding: 0;
  font-size: .84rem;
  list-style: none;
  display: flex;
}

.assistent__beispiele button {
  cursor: pointer;
  text-align: left;
  font: inherit;
  background: none;
  border: 0;
  padding: 0;
}

.assistent__paar {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.assistent__frage {
  border-radius: var(--radius-sm);
  background: var(--brand);
  max-width: 88%;
  color: var(--ink);
  align-self: flex-end;
  padding: 7px 10px;
  font-size: .86rem;
  font-weight: 600;
}

.assistent__antwort {
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  border: 1px solid var(--line);
  max-width: 96%;
  padding: 8px 10px;
  font-size: .88rem;
}

.assistent__antwort p {
  margin: 0 0 6px;
}

.assistent__quellen {
  border-top: 1px solid var(--line);
  flex-direction: column;
  gap: 3px;
  margin: 6px 0 0;
  padding: 6px 0 0;
  font-size: .8rem;
  list-style: none;
  display: flex;
}

.assistent__eingabe {
  border-top: 1px solid var(--line);
  background: var(--paper);
  gap: 6px;
  padding: 10px;
  display: flex;
}

.content--liste {
  max-width: 1680px;
}

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

.schnellform .input {
  flex: 240px;
  min-width: 0;
}

.schnellform .input--datum {
  flex: none;
  width: 9.5rem;
}

.schnellform .btn {
  flex: none;
}

details.zeilenmenue {
  display: inline-block;
  position: relative;
}

details.zeilenmenue > summary {
  cursor: pointer;
  border-radius: var(--radius-sm);
  color: var(--ink-3);
  -webkit-user-select: none;
  user-select: none;
  padding: 3px 9px;
  font-weight: 700;
  line-height: 1.1;
  list-style: none;
}

details.zeilenmenue > summary::-webkit-details-marker {
  display: none;
}

details.zeilenmenue > summary:hover {
  background: var(--paper-2);
  color: var(--ink);
}

details.zeilenmenue[open] > summary {
  background: var(--ink);
  color: #fff;
}

details.zeilenmenue > .zeilenmenue__feld {
  z-index: 30;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  flex-direction: column;
  gap: 6px;
  min-width: 15rem;
  padding: 8px;
  display: flex;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  box-shadow: 0 8px 22px #23231f29;
}

.zeilenmenue__feld .btn {
  justify-content: flex-start;
  width: 100%;
}

.zeilenmenue__trenner {
  background: var(--line);
  height: 1px;
  margin: 2px 0;
}

.kennzahlen {
  color: var(--ink-2);
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  padding: 0 0 4px;
  font-size: .86rem;
  display: flex;
}

.kennzahlen__wert {
  color: var(--ink);
  font-weight: 800;
}

.kennzahlen__wert[data-tone="danger"] {
  color: var(--danger);
}

.kennzahlen__leer {
  color: var(--ink-3);
}

.aufgabe {
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
  gap: 12px;
  padding: 9px 0;
  display: flex;
}

.aufgabe:last-child {
  border-bottom: 0;
}

.aufgabe__erledigt {
  padding-top: 1px;
}

.aufgabe__erledigt button {
  border: 1.5px solid var(--line-strong);
  cursor: pointer;
  color: #0000;
  background: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  padding: 0;
  font-size: .7rem;
  line-height: 1;
}

.aufgabe__erledigt button:hover {
  border-color: var(--success);
  color: var(--success);
  background: #fff;
}

.aufgabe__text {
  flex: 1;
  min-width: 0;
}

.aufgabe__titel {
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.35;
}

.aufgabe[data-erledigt="1"] .aufgabe__titel {
  color: var(--ink-3);
  font-weight: 500;
  text-decoration: line-through;
}

.aufgabe__zeile2 {
  color: var(--ink-3);
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin-top: 2px;
  font-size: .8rem;
  display: flex;
}

.aufgabe__aktionen {
  flex: none;
  align-items: center;
  gap: 4px;
  display: flex;
}

.input--datum {
  flex: none;
  width: 9.5rem;
}

.aufgabe__erledigt button[data-erledigt="1"] {
  color: var(--success);
  border-color: var(--success);
}

.vorgangsleiste {
  justify-content: space-between;
  align-items: center;
}

.vorgangsleiste__wer {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  min-width: 0;
  display: flex;
}

.vorgangsleiste__tun {
  flex: none;
  align-items: center;
  gap: 6px;
  display: flex;
}

.schnellzeile {
  align-items: center;
  gap: 6px;
  max-width: 720px;
  margin: 2px 0 0;
  display: flex;
}

.schnellzeile .input {
  flex: auto;
  min-width: 0;
  height: 34px;
  padding: 6px 10px;
  font-size: .88rem;
}

.schnellzeile .input--datum {
  flex: none;
  width: 8.6rem;
}

.schnellzeile__hinweis {
  max-width: 720px;
  margin: 5px 0 0;
}

.doc--handbuch {
  max-width: 900px;
}

.doc__toc {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin: 0 0 26px;
  padding: 14px 16px;
}

.doc__toctitel {
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
}

.doc__tocliste {
  columns: 2;
  column-gap: 28px;
  margin: 0;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 1.55;
}

.doc__tocliste li {
  break-inside: avoid;
  margin-bottom: 3px;
}

.doc__tocliste a {
  color: var(--ink-2);
  border-bottom: 1px solid #0000;
  text-decoration: none;
}

.doc__tocliste a:hover {
  color: var(--ink);
  border-bottom-color: var(--line-strong);
}

@media (max-width: 720px) {
  .doc__tocliste {
    columns: 1;
  }
}

.doc h2[id] {
  scroll-margin-top: calc(var(--topbar-h) + 62px);
}

.doc__quote {
  border-left: 3px solid var(--brand);
  background: var(--brand-softer);
  margin: 0 0 14px;
  padding: 10px 14px;
  font-size: 14.5px;
  line-height: 1.6;
}

@media print {
  .doc--handbuch {
    max-width: none;
  }

  .doc__toc, .tabs, .tabhinweis {
    display: none !important;
  }

  .doc h2, .doc h3 {
    break-after: avoid;
  }

  .doc__code, .doc__tablewrap, .doc__quote, .doc li {
    break-inside: avoid;
  }

  .doc__code, .doc__quote {
    background: none;
  }
}

/*# sourceMappingURL=src_app_globals_0p2ml0n.css.map*/