/* [project]/src/app/hostgrotesk_d1c82d66.module.css [app-client] (css) */
@font-face {
  font-family: hostGrotesk;
  src: url("../media/HostGrotesk_Regular-s.p.26kn1pm4nkgq0.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: hostGrotesk;
  src: url("../media/HostGrotesk_Medium-s.p.43cp5fcpdxoza.ttf") format("truetype");
  font-display: swap;
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: hostGrotesk;
  src: url("../media/HostGrotesk_SemiBold-s.p.2hdi3je5pwlhq.ttf") format("truetype");
  font-display: swap;
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: hostGrotesk Fallback;
  src: local(Arial);
  ascent-override: 95.95%;
  descent-override: 29.78%;
  line-gap-override: 0.0%;
  size-adjust: 105.78%;
}

.hostgrotesk_d1c82d66-module__dCc4Uq__className {
  font-family: hostGrotesk, hostGrotesk Fallback;
}

.hostgrotesk_d1c82d66-module__dCc4Uq__variable {
  --font-host: "hostGrotesk", "hostGrotesk Fallback";
}

/* [project]/src/app/geistmono_299f61f8.module.css [app-client] (css) */
@font-face {
  font-family: geistMono;
  src: url("../media/GeistMono_Regular-s.p.1tj4kzzpunmiy.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: geistMono;
  src: url("../media/GeistMono_Medium-s.p.3rnhb16qe_ikb.ttf") format("truetype");
  font-display: swap;
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: geistMono Fallback;
  src: local(Arial);
  ascent-override: 76.43%;
  descent-override: 22.43%;
  line-gap-override: 0.0%;
  size-adjust: 131.49%;
}

.geistmono_299f61f8-module__KTOkiG__className {
  font-family: geistMono, geistMono Fallback;
}

.geistmono_299f61f8-module__KTOkiG__variable {
  --font-geist-mono: "geistMono", "geistMono Fallback";
}

/* [project]/src/app/globals.css [app-client] (css) */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}

@layer theme {
  :root, :host {
    --default-font-family: var(--sans);
    --default-mono-font-family: var(--mono);
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  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;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }

  * {
    box-sizing: border-box;
  }

  html {
    font: 13px/18px var(--sans);
    color: var(--ink);
    background: var(--canvas);
    -webkit-font-smoothing: antialiased;
  }

  body {
    background: var(--canvas);
    min-height: 100vh;
  }

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

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

  button {
    cursor: pointer;
  }

  ::placeholder {
    color: var(--ph);
    opacity: 1;
  }

  :focus-visible {
    outline: 2px solid var(--mark);
    outline-offset: 1px;
  }

  [hidden] {
    display: none !important;
  }
}

@layer components {
  .mono {
    font-family: var(--mono);
    letter-spacing: 0;
    font-size: 12px;
  }

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

  .r {
    text-align: right;
  }

  .ink2 {
    color: var(--ink2);
  }

  .ink3 {
    color: var(--ink3);
  }

  .cap {
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink3);
    font-size: 11px;
    font-weight: 500;
    line-height: 14px;
  }

  .hair {
    border-top: 1px solid var(--line);
  }

  .up {
    color: var(--gut);
  }

  .down {
    color: var(--schlecht);
  }

  .link {
    text-underline-offset: 3px;
    text-decoration: underline;
    -webkit-text-decoration-color: var(--line2);
    text-decoration-color: var(--line2);
  }

  .link:hover {
    -webkit-text-decoration-color: var(--ink);
    text-decoration-color: var(--ink);
  }

  .shell {
    background: linear-gradient(to right, var(--canvas) 231px, var(--line) 231px, var(--line) 232px, var(--canvas) 232px);
    grid-template-columns: 232px minmax(0, 1fr);
    min-height: 100vh;
    display: grid;
  }

  .side {
    background: var(--canvas);
    flex-direction: column;
    align-self: start;
    height: 100vh;
    padding: 18px 0 14px;
    display: flex;
    position: sticky;
    top: 0;
  }

  .brand {
    letter-spacing: -.01em;
    align-items: center;
    gap: 10px;
    padding: 0 20px 18px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
  }

  .brand .sq {
    background: var(--ink);
    flex: none;
    width: 14px;
    height: 14px;
    position: relative;
  }

  .brand .sq:after {
    content: "";
    background: var(--mark);
    width: 7px;
    height: 7px;
    position: absolute;
    bottom: -3px;
    right: -3px;
  }

  .brand small {
    color: var(--ink3);
    margin-left: auto;
    font-size: 11px;
    font-weight: 400;
  }

  .search {
    border: 1px solid var(--line2);
    height: 30px;
    color: var(--ph);
    background: var(--surface);
    text-align: left;
    border-radius: 2px;
    align-items: center;
    gap: 8px;
    width: calc(100% - 28px);
    margin: 0 14px 16px;
    padding: 0 10px;
    font-size: 12px;
    display: flex;
  }

  .search kbd {
    font-family: var(--mono);
    color: var(--ink3);
    border: 1px solid var(--line);
    border-radius: 2px;
    margin-left: auto;
    padding: 1px 4px;
    font-size: 10px;
  }

  .nav {
    flex-direction: column;
    gap: 1px;
    padding: 0 10px;
    display: flex;
  }

  .nav .grp {
    padding: 14px 10px 4px;
  }

  .nav a {
    height: 30px;
    color: var(--ink2);
    border-radius: 2px;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
    display: flex;
    position: relative;
  }

  .nav a:hover {
    background: var(--sunk);
    color: var(--ink);
  }

  .nav a.on {
    color: var(--ink);
    font-weight: 500;
  }

  .nav a.on:before {
    content: "";
    background: var(--mark);
    width: 3px;
    position: absolute;
    top: 7px;
    bottom: 7px;
    left: -10px;
  }

  .nav a .cnt {
    color: var(--ink3);
    font-variant-numeric: tabular-nums;
    margin-left: auto;
    font-size: 11px;
  }

  .nav a .cnt.bad {
    color: var(--schlecht);
  }

  .side .foot {
    border-top: 1px solid var(--line);
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding: 14px 20px 0;
    font-size: 12px;
    display: flex;
    position: relative;
  }

  .side .foot .av {
    background: var(--ink);
    width: 24px;
    height: 24px;
    color: var(--surface);
    border-radius: 50%;
    flex: none;
    place-items: center;
    font-size: 10px;
    font-weight: 600;
    display: grid;
  }

  .side .foot .who {
    text-align: left;
    background: none;
    border: 0;
    flex-direction: column;
    min-width: 0;
    padding: 0;
    display: flex;
  }

  .side .foot .who small {
    color: var(--ink3);
    font-size: 11px;
  }

  .sw {
    border: 1px solid var(--line2);
    background: none;
    border-radius: 2px;
    flex: none;
    width: 30px;
    height: 16px;
    margin-left: auto;
    padding: 0;
    position: relative;
  }

  .sw:after {
    content: "";
    background: var(--ink);
    width: 10px;
    height: 10px;
    transition: left .12s ease-out;
    position: absolute;
    top: 2px;
    left: 2px;
  }

  .sw[aria-pressed="true"]:after {
    left: 16px;
  }

  .usermenu {
    background: var(--surface);
    box-shadow: var(--shadow);
    z-index: 30;
    border-radius: 2px;
    flex-direction: column;
    padding: 4px;
    display: flex;
    position: absolute;
    bottom: 44px;
    left: 14px;
    right: 14px;
  }

  .usermenu a, .usermenu button {
    text-align: left;
    width: 100%;
    height: 32px;
    color: var(--ink);
    background: none;
    border: 0;
    border-radius: 2px;
    align-items: center;
    padding: 0 10px;
    font-size: 13px;
    display: flex;
  }

  .usermenu a:hover, .usermenu button:hover {
    background: var(--sunk);
  }

  .main {
    background: var(--canvas);
    min-width: 0;
  }

  .topbar {
    border-bottom: 1px solid var(--line);
    height: 52px;
    color: var(--ink2);
    background: var(--canvas);
    z-index: 5;
    align-items: center;
    gap: 16px;
    padding: 0 32px;
    font-size: 12px;
    display: flex;
    position: sticky;
    top: 0;
  }

  .topbar .crumbs {
    white-space: nowrap;
    align-items: center;
    gap: 8px;
    min-width: 0;
    display: flex;
  }

  .topbar .crumbs b {
    color: var(--ink);
    font-weight: 500;
  }

  .topbar .right {
    align-items: center;
    gap: 8px;
    margin-left: auto;
    display: flex;
  }

  .topbar .back {
    border: 1px solid var(--line2);
    width: 28px;
    height: 28px;
    color: var(--ink2);
    border-radius: 2px;
    flex: none;
    place-items: center;
    display: grid;
  }

  .topbar .save {
    color: var(--ink3);
    align-items: center;
    gap: 6px;
    display: flex;
  }

  .topbar .save:before {
    content: "";
    background: var(--gut);
    border-radius: 50%;
    width: 6px;
    height: 6px;
  }

  .topbar .save.busy:before {
    background: var(--warn);
  }

  .topbar .save.err:before {
    background: var(--schlecht);
  }

  .page {
    max-width: 1280px;
    padding: 28px 32px 48px;
  }

  .phead {
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 24px;
    display: flex;
  }

  .phead h1 {
    letter-spacing: -.02em;
    font-size: 24px;
    font-weight: 600;
    line-height: 28px;
  }

  .phead .meta {
    color: var(--ink2);
    margin-top: 4px;
  }

  .phead .acts {
    flex-wrap: wrap;
    gap: 8px;
    margin-left: auto;
    display: flex;
  }

  .btn {
    border: 1px solid var(--line2);
    background: var(--surface);
    cursor: pointer;
    white-space: nowrap;
    height: 32px;
    color: var(--ink);
    border-radius: 2px;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
  }

  .btn:hover {
    border-color: var(--ink3);
  }

  .btn.pri {
    background: var(--mark);
    border-color: var(--mark);
    color: var(--on-mark);
  }

  .btn.pri:hover {
    filter: brightness(.96);
  }

  .btn.ink {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--surface);
  }

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

  .btn.ghost:hover {
    background: var(--sunk);
    color: var(--ink);
  }

  .btn.sm {
    height: 26px;
    padding: 0 8px;
    font-size: 12px;
  }

  .btn.danger {
    color: var(--schlecht);
  }

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

  .btn .k {
    font-family: var(--mono);
    opacity: .6;
    margin-left: 2px;
    font-size: 10px;
  }

  .btn.split {
    gap: 0;
    padding-right: 0;
  }

  .btn.split > span {
    padding-right: 10px;
  }

  .btn.split i {
    border-left: 1px solid #11111040;
    width: 28px;
    height: 30px;
    display: inline-block;
    position: relative;
  }

  .btn.split i:after {
    content: "";
    border: 4px solid #0000;
    border-top: 5px solid;
    position: absolute;
    top: 12px;
    left: 10px;
  }

  .btn[disabled], .btn[aria-disabled="true"] {
    opacity: .45;
    cursor: default;
    pointer-events: none;
  }

  .menu {
    background: var(--surface);
    min-width: 200px;
    box-shadow: var(--shadow);
    z-index: 40;
    border-radius: 2px;
    flex-direction: column;
    padding: 4px;
    display: flex;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
  }

  .menu a, .menu button {
    text-align: left;
    width: 100%;
    height: 32px;
    color: var(--ink);
    white-space: nowrap;
    background: none;
    border: 0;
    border-radius: 2px;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    font-size: 13px;
    display: flex;
  }

  .menu a:hover, .menu button:hover {
    background: var(--sunk);
  }

  .menu .sep {
    background: var(--line);
    height: 1px;
    margin: 4px 0;
  }

  .menu .danger {
    color: var(--schlecht);
  }

  .menu [disabled] {
    opacity: .45;
    pointer-events: none;
  }

  .field {
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    display: flex;
  }

  .field > label, .field > .lbl {
    color: var(--ink2);
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
  }

  .field .hint {
    color: var(--ink3);
    font-size: 11px;
  }

  .field .err {
    color: var(--schlecht);
    font-size: 12px;
  }

  .inp {
    border: 1px solid var(--line2);
    background: var(--surface);
    border-radius: 2px;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    height: 32px;
    padding: 0 10px;
    font-size: 13px;
    display: flex;
  }

  textarea.inp {
    resize: vertical;
    height: auto;
    min-height: 72px;
    padding: 8px 10px;
    line-height: 19px;
    display: block;
  }

  select.inp {
    appearance: none;
    background-image: var(--chev);
    background-position: right 10px center;
    background-repeat: no-repeat;
    background-size: 10px 6px;
    padding-right: 30px;
  }

  .inp:focus, .inp:focus-within, .inp.focus {
    border-color: var(--ink);
    box-shadow: 0 0 0 2px var(--mark);
    outline: none;
  }

  .inp.bad {
    border-color: var(--schlecht);
  }

  .inp .ph {
    color: var(--ph);
  }

  .inp .suf {
    color: var(--ink3);
    flex: none;
    margin-left: auto;
    font-size: 12px;
  }

  .inp input {
    background: none;
    border: 0;
    outline: 0;
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0;
  }

  .inp input.r {
    text-align: right;
  }

  .inp .chev {
    border-right: 1.5px solid var(--ink3);
    border-bottom: 1.5px solid var(--ink3);
    flex: none;
    width: 8px;
    height: 8px;
    margin-left: auto;
    transform: rotate(45deg)translate(-2px, -2px);
  }

  .seg {
    border: 1px solid var(--line2);
    background: var(--surface);
    border-radius: 2px;
    flex-wrap: nowrap;
    max-width: 100%;
    height: 32px;
    padding: 2px;
    display: inline-flex;
    overflow-x: auto;
  }

  .seg > span, .seg > button, .seg > a, .seg > label {
    color: var(--ink2);
    white-space: nowrap;
    cursor: pointer;
    background: none;
    border: 0;
    border-radius: 1px;
    align-items: center;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
  }

  .seg > .on {
    background: var(--ink);
    color: var(--surface);
  }

  .seg > label:has(input:checked) {
    background: var(--ink);
    color: var(--surface);
  }

  .seg input[type="radio"] {
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
    position: absolute;
  }

  .chk {
    border: 1px solid var(--line2);
    vertical-align: -2px;
    background: var(--surface);
    appearance: none;
    cursor: pointer;
    border-radius: 2px;
    flex: none;
    width: 14px;
    height: 14px;
    margin: 0;
    display: inline-block;
    position: relative;
  }

  .chk:checked, .chk.on {
    background: var(--ink);
    border-color: var(--ink);
  }

  .chk:checked:after, .chk.on:after {
    content: "";
    border: solid var(--surface);
    border-width: 0 1.5px 1.5px 0;
    width: 4px;
    height: 8px;
    position: absolute;
    top: 1px;
    left: 4px;
    transform: rotate(45deg);
  }

  .tog {
    border: 1px solid var(--line2);
    background: var(--surface);
    border-radius: 2px;
    gap: 2px;
    height: 22px;
    margin-left: auto;
    padding: 2px;
    display: inline-flex;
  }

  .tog > span, .tog > button {
    color: var(--ink2);
    cursor: pointer;
    background: none;
    border: 0;
    border-radius: 1px;
    align-items: center;
    padding: 0 7px;
    font-size: 11px;
    display: inline-flex;
  }

  .tog > .on {
    background: var(--ink);
    color: var(--surface);
  }

  .st {
    white-space: nowrap;
    align-items: center;
    gap: 7px;
    display: inline-flex;
  }

  .st:before {
    content: "";
    background: var(--ink);
    border-radius: 50%;
    flex: none;
    width: 8px;
    height: 8px;
  }

  .st.entwurf:before {
    border: 1px solid var(--ink3);
    background: none;
  }

  .st.entwurf {
    color: var(--ink2);
  }

  .st.offen:before {
    background: var(--ink);
  }

  .st.versendet:before {
    border: 1.5px solid var(--ink);
    background: none;
  }

  .st.bezahlt:before {
    background: var(--gut);
  }

  .st.teil:before {
    border: 1.5px solid var(--gut);
    background: none;
  }

  .st.ueberfaellig:before {
    background: var(--schlecht);
  }

  .st.ueberfaellig {
    color: var(--schlecht);
    font-weight: 500;
  }

  .st.storniert:before {
    background: var(--line2);
  }

  .st.storniert {
    color: var(--ink3);
    text-decoration: line-through;
  }

  .st.angenommen:before {
    background: var(--gut);
  }

  .st.laeuftab:before {
    background: var(--warn);
  }

  .tbl {
    border-collapse: collapse;
    width: 100%;
  }

  .tbl th {
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink3);
    text-align: left;
    border-bottom: 1px solid var(--ink);
    white-space: nowrap;
    padding: 0 12px 8px;
    font-size: 11px;
    font-weight: 500;
    line-height: 14px;
  }

  .tbl th a {
    align-items: center;
    gap: 4px;
    display: inline-flex;
  }

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

  .tbl td {
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
    white-space: nowrap;
    height: 44px;
    padding: 0 12px;
  }

  .tbl.compact td {
    height: 36px;
  }

  .tbl td.r, .tbl th.r {
    text-align: right;
  }

  .tbl tbody tr:hover td, .tbl tr.hover td {
    background: var(--sunk);
  }

  .tbl tr.sel td {
    background: var(--wash);
  }

  .tbl .sum td {
    border-bottom: 0;
    border-top: 1px solid var(--ink);
    height: 40px;
    font-weight: 500;
    background: none !important;
  }

  .tbl td .sub {
    color: var(--ink3);
    margin-top: 1px;
    font-size: 11px;
    display: block;
  }

  .tbl td.c {
    color: var(--ink2);
  }

  .tbl td.late {
    color: var(--schlecht);
    font-weight: 500;
  }

  .tbl td.wrap {
    white-space: normal;
  }

  .tbl td.trunc {
    text-overflow: ellipsis;
    max-width: 240px;
    overflow: hidden;
  }

  .tbl td.fill {
    text-overflow: ellipsis;
    width: 100%;
    max-width: 0;
    overflow: hidden;
  }

  .tablewrap {
    overflow-x: auto;
  }

  .tbl .subj-inline {
    display: none;
  }

  @media (max-width: 1499px) {
    .tbl .col-subject {
      display: none;
    }

    .tbl .subj-inline {
      text-overflow: ellipsis;
      display: block;
      overflow: hidden;
    }
  }

  .tbl tr[data-href] {
    cursor: pointer;
  }

  .rowacts {
    gap: 4px;
    display: inline-flex;
  }

  .tbl td.acts {
    width: 0;
    padding: 0;
    position: relative;
  }

  .tbl td.acts .rowacts {
    background: linear-gradient(to right, transparent, var(--sunk) 24px);
    visibility: hidden;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
    min-width: 200px;
    padding-left: 24px;
    display: flex;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
  }

  .tbl tr:hover td.acts .rowacts, .tbl tr:focus-within td.acts .rowacts {
    visibility: visible;
  }

  .rowacts .btn {
    background: var(--surface);
    height: 24px;
    padding: 0 7px;
    font-size: 11px;
  }

  .bptag {
    font-family: var(--mono);
    letter-spacing: .04em;
    color: var(--ink3);
    border: 1px solid var(--line2);
    border-radius: 2px;
    padding: 1px 4px;
    font-size: 10px;
  }

  .tag {
    letter-spacing: .04em;
    text-transform: uppercase;
    border: 1px solid var(--line2);
    color: var(--ink2);
    vertical-align: 1px;
    white-space: nowrap;
    border-radius: 2px;
    margin-left: 6px;
    padding: 0 4px;
    font-size: 10px;
    line-height: 14px;
  }

  .tag.m {
    border-color: var(--mark);
    background: var(--wash);
    color: var(--ink);
  }

  .tag.bad {
    border-color: var(--schlecht);
    color: var(--schlecht);
  }

  .tabs {
    border-bottom: 1px solid var(--line);
    scrollbar-width: none;
    gap: 0;
    margin-bottom: 16px;
    display: flex;
    overflow-x: auto;
  }

  .tabs a {
    color: var(--ink2);
    white-space: nowrap;
    flex: none;
    align-items: center;
    gap: 6px;
    margin-right: 22px;
    padding: 0 2px 10px;
    display: flex;
    position: relative;
  }

  .tabs a .n {
    color: var(--ink3);
    font-variant-numeric: tabular-nums;
    font-size: 11px;
  }

  .tabs a .n.bad {
    color: var(--schlecht);
  }

  .tabs a.on {
    color: var(--ink);
    font-weight: 500;
  }

  .tabs a.on:after {
    content: "";
    background: var(--ink);
    height: 2px;
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
  }

  .tabs a.on .n {
    color: var(--ink2);
  }

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

  .filters .inp {
    width: auto;
    height: 30px;
    font-size: 12px;
  }

  .filters .inp.s {
    width: 260px;
  }

  .filters select.inp {
    field-sizing: content;
    width: auto;
    max-width: 220px;
  }

  .chip {
    border: 1px solid var(--ink);
    background: var(--wash);
    border-radius: 2px;
    align-items: center;
    gap: 8px;
    height: 30px;
    padding: 0 8px 0 10px;
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
  }

  .chip i {
    color: var(--ink3);
    font-style: normal;
    font-weight: 400;
  }

  .chip .x {
    color: var(--ink3);
    margin-left: 2px;
    font-weight: 400;
  }

  .filters .reset {
    color: var(--ink2);
    text-underline-offset: 3px;
    text-decoration: underline;
    -webkit-text-decoration-color: var(--line2);
    text-decoration-color: var(--line2);
    margin-left: auto;
    font-size: 12px;
  }

  .doclist th:first-child, .doclist td:first-child {
    padding-left: 0;
  }

  .doclist th:last-child, .doclist td:last-child {
    padding-right: 0;
  }

  .footbar {
    color: var(--ink2);
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    padding: 12px 0;
    font-size: 12px;
    display: flex;
  }

  .footbar b {
    color: var(--ink);
    font-weight: 500;
  }

  .footbar .pg {
    align-items: center;
    gap: 8px;
    margin-left: auto;
    display: flex;
  }

  .footbar .pg .btn {
    height: 26px;
  }

  .selbar {
    background: var(--ink);
    width: fit-content;
    color: var(--surface);
    height: 44px;
    box-shadow: var(--shadow);
    z-index: 20;
    border-radius: 2px;
    align-items: center;
    gap: 18px;
    margin: 20px auto 0;
    padding: 0 6px 0 16px;
    font-size: 13px;
    display: flex;
    position: sticky;
    bottom: 16px;
  }

  .selbar .btn {
    color: inherit;
    background: none;
    border-color: #ffffff40;
    height: 30px;
  }

  :root[data-theme="dark"] .selbar .btn {
    border-color: #0000004d;
  }

  .btn.split .splitbtn {
    height: 100%;
    color: inherit;
    cursor: pointer;
    background: none;
    border: 0;
    align-items: center;
    padding: 0;
    display: inline-flex;
  }

  .linkbtn {
    font: inherit;
    color: inherit;
    cursor: pointer;
    text-underline-offset: 3px;
    text-decoration: underline;
    -webkit-text-decoration-color: var(--line2);
    text-decoration-color: var(--line2);
    background: none;
    border: 0;
    padding: 0;
  }

  .linkbtn:hover {
    text-decoration-color: currentColor;
  }

  .selbar .x {
    color: inherit;
    cursor: pointer;
    opacity: .7;
    background: none;
    border: 0;
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  .selbar .x:hover {
    opacity: 1;
  }

  .tabs .ts, .filters .fbtn, .msum {
    display: none;
  }

  .tbl td.c a, .tbl td.mono a {
    color: inherit;
  }

  .topbar .crumbs a {
    color: var(--ink2);
  }

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

  .topbar .crumbs .sep {
    color: var(--line2);
  }

  .kbdhint {
    letter-spacing: .02em;
    font-size: 11px;
  }

  .ul {
    text-underline-offset: 3px;
    text-decoration: underline;
    -webkit-text-decoration-color: var(--line2);
    text-decoration-color: var(--line2);
  }

  .ul:hover {
    text-decoration-color: currentColor;
  }

  .dhead {
    margin-bottom: 18px;
  }

  .dhead .cap {
    margin-bottom: 6px;
  }

  .dhead h1 {
    letter-spacing: -.02em;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    font-size: 26px;
    font-weight: 600;
    line-height: 30px;
    display: flex;
  }

  .dhead h1 .mono {
    font-size: inherit;
    letter-spacing: -.01em;
    font-weight: 500;
  }

  .dhead h1 .st {
    letter-spacing: 0;
    font-size: 13px;
    font-weight: 500;
  }

  .dhead .meta {
    color: var(--ink2);
    margin-top: 6px;
  }

  .dhead .meta a {
    color: var(--ink);
  }

  .dchips {
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
    display: flex;
  }

  .dchips .tag {
    margin-left: 0;
  }

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

  .actbar {
    border-top: 1px solid var(--ink);
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 0 14px;
    display: flex;
  }

  .dkpis {
    margin-bottom: 28px;
  }

  .dkpis .kpi .v.sm {
    font-size: 20px;
    line-height: 32px;
  }

  .dtwo {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 36px;
  }

  .pdfcol {
    min-width: 0;
  }

  .pdfcol .pdfframe {
    background: var(--sunk);
    max-width: 820px;
  }

  .pdflinks {
    color: var(--ink2);
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
    font-size: 12px;
    display: flex;
  }

  .dside {
    min-width: 0;
  }

  .dside .lrow small {
    line-height: 16px;
  }

  .meter {
    background: var(--line);
    height: 3px;
    margin: 0 0 10px;
    position: relative;
  }

  .meter i {
    background: var(--gut);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
  }

  .menu .dim {
    color: var(--ink3);
  }

  .mailbody {
    height: auto;
    min-height: 200px;
    max-height: 340px;
    padding: 10px 12px;
    line-height: 20px;
    display: block;
    overflow: auto;
  }

  .mailbody p {
    margin: 0 0 10px;
  }

  .tokens {
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 8px;
    display: flex;
  }

  .tok {
    font-family: var(--mono);
    background: var(--wash);
    color: var(--ink);
    cursor: pointer;
    border: 1px solid #0000;
    border-radius: 2px;
    padding: 1px 5px;
    font-size: 11px;
  }

  .tok:hover {
    border-color: var(--mark);
  }

  .tplsel {
    color: var(--ink2);
    font: inherit;
    cursor: pointer;
    text-underline-offset: 3px;
    text-decoration: underline;
    -webkit-text-decoration-color: var(--line2);
    text-decoration-color: var(--line2);
    background: none;
    border: 0;
    padding: 0;
    font-size: 12px;
  }

  .pvscroll {
    max-height: calc(100vh - 150px);
    padding: 2px 2px 8px;
    overflow: auto;
  }

  .pvempty {
    aspect-ratio: 210 / 297;
    background: var(--surface);
    width: 397px;
    max-width: 100%;
    box-shadow: none;
    border: 1px dashed var(--line2);
    place-items: center;
    display: grid;
  }

  .btn.split .splitmain {
    color: inherit;
    font: inherit;
    font-weight: inherit;
    cursor: pointer;
    background: none;
    border: 0;
    height: 100%;
    padding: 0 12px;
  }

  .btn.split .splitmain[disabled] {
    opacity: .5;
    cursor: default;
  }

  .eseg, .ebar {
    display: none;
  }

  .cform {
    max-width: 860px;
  }

  .contacts .crow {
    grid-template-columns: 76px 1fr 1fr 1.2fr 1.4fr 1fr auto auto;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    display: grid;
  }

  .contacts .crow .inp {
    height: 30px;
    font-size: 12px;
  }

  .cbar {
    border-top: 1px solid var(--line);
    justify-content: flex-end;
    gap: 8px;
    padding: 18px 0 8px;
    display: flex;
  }

  .recon {
    border-top: 1px solid var(--line);
  }

  .rrow {
    border-bottom: 1px solid var(--line);
    grid-template-columns: 56px minmax(0, 1fr) 120px auto;
    align-items: start;
    gap: 4px 16px;
    padding: 12px 0;
    display: grid;
  }

  .rrow .rdate {
    color: var(--ink3);
    padding-top: 2px;
    font-size: 12px;
  }

  .rrow .rtop {
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    display: flex;
  }

  .rrow .rtop b {
    font-weight: 500;
  }

  .rrow .rtop .tag {
    margin-left: 0;
  }

  .rrow .rpurpose {
    color: var(--ink2);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-top: 2px;
    font-size: 12px;
    display: -webkit-box;
    overflow: hidden;
  }

  .rrow .rsugg {
    margin-top: 6px;
    font-size: 12.5px;
  }

  .rrow .rnote {
    color: var(--ink2);
    margin-top: 2px;
    font-size: 12px;
  }

  .rrow .ramt {
    text-align: right;
    font-variant-numeric: tabular-nums;
    padding-top: 1px;
    font-weight: 500;
  }

  .rowbtns {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px;
    display: flex;
  }

  details.outgoing summary {
    list-style: none;
  }

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

  .lhgrid {
    border-top: 1px solid var(--ink);
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
    padding-top: 20px;
    display: grid;
  }

  .lhcard {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 2px;
    gap: 16px;
    padding: 16px;
    display: flex;
  }

  .lhcard.off {
    opacity: .6;
  }

  .lhthumb {
    flex: none;
  }

  .lhthumb .mini {
    border: 1px solid var(--line);
    background: #fff;
    width: 72px;
    height: 102px;
    display: block;
    position: relative;
  }

  .lhthumb .mini:before {
    content: "";
    background: #111110;
    width: 10px;
    height: 10px;
    position: absolute;
    top: 9px;
    left: 9px;
  }

  .lhthumb .mini:after {
    content: "";
    background: #111110;
    height: 1px;
    position: absolute;
    top: 28px;
    left: 9px;
    right: 9px;
    box-shadow: 0 14px #ddd, 0 22px #ddd, 0 30px #ddd, 0 52px #111110;
  }

  .lhthumb .mini.hatch:before {
    outline-offset: -1px;
    background: repeating-linear-gradient(135deg, #111110 0 2px, #0000 2px 4px);
    outline: 1px solid #111110;
  }

  .lhthumb .mini.bg {
    background: repeating-linear-gradient(0deg, #f4f4f2 0 2px, #fff 2px 6px);
  }

  .lhname {
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
  }

  .lhname .tag {
    margin-left: 0;
  }

  .lhbody {
    min-width: 0;
  }

  .empty {
    border-top: 1px solid var(--ink);
    padding: 32px 0 40px;
  }

  .empty .box {
    max-width: 460px;
    padding: 24px 0 32px;
  }

  .empty h3 {
    letter-spacing: -.02em;
    margin-bottom: 8px;
    font-size: 22px;
    font-weight: 600;
    line-height: 28px;
  }

  .empty p {
    color: var(--ink2);
    max-width: 420px;
    margin-bottom: 18px;
  }

  .empty .lbl {
    margin-bottom: 12px;
  }

  .kpis {
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--line);
    grid-template-columns: repeat(5, 1fr);
    margin-bottom: 28px;
    display: grid;
  }

  .kpi {
    border-right: 1px solid var(--line);
    min-width: 0;
    margin-right: 18px;
    padding: 16px 18px 18px 0;
  }

  .kpi:last-child {
    border-right: 0;
    margin-right: 0;
  }

  .kpi .l {
    color: var(--ink2);
    font-size: 12px;
  }

  .kpi .v {
    letter-spacing: -.02em;
    white-space: nowrap;
    margin-top: 10px;
    font-size: 28px;
    font-weight: 500;
    line-height: 32px;
  }

  .kpi .d {
    color: var(--ink3);
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    font-size: 12px;
    display: flex;
  }

  .kpi .d b {
    color: var(--ink);
    font-weight: 500;
  }

  .kpi .d .up {
    color: var(--gut);
  }

  .kpi .d .down, .kpi.alert .v {
    color: var(--schlecht);
  }

  .dgrid {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 40px;
    display: grid;
  }

  .dsec {
    margin-bottom: 28px;
  }

  .sech {
    border-bottom: 1px solid var(--line);
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    display: flex;
  }

  .sech h2 {
    letter-spacing: -.01em;
    font-size: 14px;
    font-weight: 600;
  }

  .sech .m {
    color: var(--ink3);
    font-size: 12px;
  }

  .sech a, .sech .act {
    color: var(--ink2);
    text-underline-offset: 3px;
    text-decoration: underline;
    -webkit-text-decoration-color: var(--line2);
    text-decoration-color: var(--line2);
    background: none;
    border: 0;
    margin-left: auto;
    padding: 0;
    font-size: 12px;
  }

  .legend {
    color: var(--ink2);
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px;
    margin: -2px 0 6px;
    font-size: 12px;
    display: flex;
  }

  .legend i {
    vertical-align: -1px;
    background: var(--bar);
    width: 10px;
    height: 10px;
    margin-right: 6px;
    display: inline-block;
  }

  .legend i.prev {
    background: var(--bar2);
  }

  .legend i.cur {
    background: var(--mark);
    outline: 1px solid var(--ink);
    outline-offset: -1px;
  }

  .chart {
    width: 100%;
    height: auto;
    font-family: var(--sans);
    display: block;
    overflow: visible;
  }

  .chart text {
    fill: var(--ink3);
    font-size: 11px;
  }

  .chart text.dl {
    fill: var(--ink);
    font-variant-numeric: tabular-nums;
    font-weight: 500;
  }

  .chart .grid line {
    stroke: var(--line);
    stroke-width: 1px;
  }

  .chart .base {
    stroke: var(--ink);
    stroke-width: 1px;
  }

  .chart .b {
    fill: var(--bar);
  }

  .chart .p {
    fill: var(--bar2);
  }

  .chart .cur {
    fill: var(--mark);
    stroke: var(--ink);
    stroke-width: 1px;
  }

  .chart .hit {
    cursor: pointer;
  }

  .chart .hit rect.zone {
    fill: #0000;
  }

  .chart .hit:hover .b, .chart .hit:focus .b {
    opacity: .8;
  }

  .tip {
    background: var(--ink);
    color: var(--surface);
    white-space: nowrap;
    pointer-events: none;
    z-index: 10;
    border-radius: 2px;
    padding: 8px 10px;
    font-size: 12px;
    line-height: 16px;
    position: absolute;
    transform: translateX(-50%);
  }

  .tip b {
    font-weight: 500;
  }

  .tip .mo {
    color: var(--tip-ink2);
    margin-bottom: 2px;
    font-size: 11px;
  }

  .list {
    flex-direction: column;
    display: flex;
  }

  .lrow {
    border-bottom: 1px solid var(--line);
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 44px;
    padding: 4px 0;
    display: grid;
  }

  a.lrow:hover {
    background: var(--sunk);
  }

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

  .lrow .t span {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  .lrow .t small {
    color: var(--ink3);
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-top: 1px;
    font-size: 11px;
    overflow: hidden;
  }

  .lrow .a {
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
  }

  .lrow .a small {
    color: var(--ink3);
    margin-top: 1px;
    font-size: 11px;
    font-weight: 400;
    display: block;
  }

  .tile {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 2px;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    display: flex;
  }

  .tile .n {
    letter-spacing: -.02em;
    font-size: 28px;
    font-weight: 500;
    line-height: 1;
  }

  .tile .t {
    flex-direction: column;
    gap: 2px;
    display: flex;
  }

  .tile .t small {
    color: var(--ink3);
    font-size: 12px;
  }

  .tile .btn {
    margin-left: auto;
  }

  .auto {
    border: 1.5px solid var(--ink3);
    vertical-align: -2px;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    margin-left: 6px;
    display: inline-block;
    position: relative;
  }

  .auto:after {
    content: "";
    border: solid var(--ink3);
    border-width: 0 1.5px 1.5px 0;
    width: 3px;
    height: 5px;
    position: absolute;
    top: 1px;
    left: 3px;
    transform: rotate(45deg);
  }

  .greet {
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 22px;
    display: flex;
  }

  .greet h1 {
    letter-spacing: -.02em;
    font-size: 24px;
    font-weight: 600;
    line-height: 28px;
  }

  .greet .date {
    color: var(--ink2);
    margin-top: 4px;
  }

  .greet .acts {
    gap: 8px;
    margin-left: auto;
    display: flex;
  }

  .dtable td:first-child {
    padding-left: 0;
  }

  .dtable td:last-child {
    padding-right: 0;
  }

  .tscroll {
    max-width: 100%;
    overflow-x: auto;
  }

  .banner {
    border-left: 2px solid var(--warn);
    background: var(--warn-wash);
    border-radius: 2px;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 10px 12px;
    font-size: 12.5px;
    display: flex;
  }

  .banner.bad {
    border-left-color: var(--schlecht);
    background: var(--schlecht-wash);
  }

  .banner.info {
    border-left-color: var(--ink);
    background: var(--sunk);
  }

  .banner .act {
    white-space: nowrap;
    margin-left: auto;
  }

  .ed {
    grid-template-columns: minmax(520px, 700px) minmax(0, 1fr);
    align-items: start;
    gap: 40px;
    padding: 24px 32px 64px;
    display: grid;
  }

  .esec {
    border-top: 1px solid var(--line);
    padding: 22px 0 26px;
  }

  .esec:first-child {
    border-top: 0;
    padding-top: 4px;
  }

  .esec h2 {
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink3);
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 11px;
    font-weight: 500;
    line-height: 14px;
    display: flex;
  }

  .esec h2 .cnt {
    font-family: var(--mono);
    letter-spacing: 0;
    color: var(--ink3);
    font-weight: 400;
  }

  .esec h2 .hint {
    text-transform: none;
    letter-spacing: 0;
    color: var(--ink3);
    margin-left: auto;
    font-size: 12px;
    font-weight: 400;
  }

  .g4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 16px;
    display: grid;
  }

  .g3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 16px;
    display: grid;
  }

  .g2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
    display: grid;
  }

  .span2 {
    grid-column: span 2;
  }

  .span3 {
    grid-column: span 3;
  }

  .span4 {
    grid-column: span 4;
  }

  .combo {
    position: relative;
  }

  .combo .inp {
    height: 36px;
  }

  .combo .inp b {
    white-space: nowrap;
    font-weight: 500;
  }

  .combo .meta {
    color: var(--ink3);
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 12px;
    overflow: hidden;
  }

  .combo .opts {
    background: var(--surface);
    box-shadow: var(--shadow);
    z-index: 30;
    border-radius: 2px;
    max-height: 320px;
    padding: 4px;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    overflow-y: auto;
  }

  .combo .opts button {
    text-align: left;
    background: none;
    border: 0;
    border-radius: 2px;
    align-items: baseline;
    gap: 8px;
    width: 100%;
    height: 32px;
    padding: 0 10px;
    font-size: 13px;
    display: flex;
  }

  .combo .opts button .meta {
    margin-left: 0;
  }

  .combo .opts button[aria-selected="true"], .combo .opts button:hover {
    background: var(--sunk);
  }

  .combo .opts .new {
    border-top: 1px solid var(--line);
    margin-top: 4px;
    padding-top: 4px;
  }

  .addr {
    border: 1px solid var(--line2);
    background: var(--surface);
    resize: vertical;
    border-radius: 2px;
    width: 100%;
    min-height: 96px;
    padding: 10px 12px;
    line-height: 19px;
    position: relative;
  }

  .addr:focus {
    border-color: var(--ink);
    box-shadow: 0 0 0 2px var(--mark);
    outline: none;
  }

  .reload {
    color: var(--ink3);
    text-underline-offset: 3px;
    background: none;
    border: 0;
    margin-left: auto;
    padding: 0;
    font-size: 11px;
    text-decoration: underline;
  }

  .note {
    color: var(--ink2);
    background: var(--sunk);
    border-left: 2px solid var(--ink);
    border-radius: 2px;
    padding: 7px 10px;
    font-size: 12px;
    line-height: 18px;
    display: block;
  }

  .note a, .note button {
    white-space: nowrap;
    text-underline-offset: 3px;
    color: var(--ink);
    background: none;
    border: 0;
    padding: 0;
    font-weight: 500;
    text-decoration: underline;
  }

  .note.warn {
    border-left-color: var(--warn);
    background: var(--warn-wash);
    color: var(--ink);
  }

  .note.bad {
    border-left-color: var(--schlecht);
    background: var(--schlecht-wash);
    color: var(--ink);
  }

  .bps {
    flex-wrap: wrap;
    gap: 12px;
    display: flex;
  }

  .bpt {
    border: 1px solid var(--line2);
    background: var(--surface);
    text-align: left;
    cursor: pointer;
    border-radius: 2px;
    align-items: center;
    gap: 10px;
    width: 150px;
    padding: 10px;
    display: flex;
    position: relative;
  }

  .bpt.on {
    border-color: var(--ink);
    box-shadow: 0 0 0 1px var(--ink);
  }

  .bpt .mini {
    background: var(--surface);
    border: 1px solid var(--line);
    flex: none;
    width: 34px;
    height: 48px;
    position: relative;
  }

  .bpt .mini:before {
    content: "";
    background: var(--ink);
    width: 6px;
    height: 6px;
    position: absolute;
    top: 5px;
    left: 5px;
  }

  .bpt .mini:after {
    content: "";
    background: var(--ink);
    height: 1px;
    box-shadow: 0 7px 0 var(--line2), 0 11px 0 var(--line2), 0 15px 0 var(--line2), 0 24px 0 var(--ink);
    position: absolute;
    top: 16px;
    left: 5px;
    right: 5px;
  }

  .bpt .mini.hatch:before {
    background: repeating-linear-gradient(135deg, var(--ink) 0 1.5px, transparent 1.5px 3px);
    outline: 1px solid var(--ink);
    outline-offset: -1px;
  }

  .bpt .t {
    font-size: 13px;
    font-weight: 500;
  }

  .bpt .t small {
    color: var(--ink3);
    margin-top: 2px;
    font-size: 11px;
    font-weight: 400;
    display: block;
  }

  .bpt .std {
    background: var(--mark);
    width: 7px;
    height: 7px;
    position: absolute;
    top: 8px;
    right: 8px;
  }

  .rt {
    border: 1px solid var(--line2);
    background: var(--surface);
    color: var(--ink);
    resize: vertical;
    border-radius: 2px;
    width: 100%;
    min-height: 60px;
    padding: 10px 12px;
    line-height: 19px;
  }

  .rt:focus {
    border-color: var(--ink);
    box-shadow: 0 0 0 2px var(--mark);
    outline: none;
  }

  .pos {
    border-top: 1px solid var(--ink);
  }

  .prow {
    border-bottom: 1px solid var(--line);
    grid-template-columns: 36px minmax(0, 1fr) 128px;
    align-items: start;
    gap: 0 14px;
    padding: 14px 0 16px;
    display: grid;
    position: relative;
  }

  .prow.active {
    background: var(--surface);
    box-shadow: inset 0 -1px 0 var(--line), inset 0 1px 0 var(--line);
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .prow.dragging {
    opacity: .5;
  }

  .prow.dropbefore {
    box-shadow: inset 0 2px 0 var(--mark);
  }

  .prow .grip {
    color: var(--ink3);
    font-variant-numeric: tabular-nums;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
    align-items: center;
    gap: 8px;
    height: 32px;
    font-size: 12px;
    display: flex;
  }

  .prow .grip i {
    background: radial-gradient(circle, var(--line2) 1px, transparent 1.2px) 0 0 / 4px 4px;
    flex: none;
    width: 8px;
    height: 12px;
  }

  .prow .body {
    min-width: 0;
  }

  .prow .title {
    background: none;
    border: 1px solid #0000;
    border-radius: 2px;
    align-items: center;
    width: calc(100% + 8px);
    height: 32px;
    margin-left: -8px;
    padding: 0 8px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
  }

  .prow .title:hover {
    border-color: var(--line2);
  }

  .prow .title:focus {
    border-color: var(--ink);
    box-shadow: 0 0 0 2px var(--mark);
    background: var(--surface);
    outline: none;
  }

  .prow.heading .title {
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
  }

  .prow .desc {
    color: var(--ink2);
    border: 1px solid #0000;
    border-radius: 2px;
    outline: none;
    min-height: 32px;
    margin: 4px 0 0 -8px;
    padding: 6px 8px;
    font-size: 13px;
    line-height: 19px;
  }

  .prow .desc:hover {
    border-color: var(--line2);
  }

  .prow .desc:focus {
    border-color: var(--line2);
    background: var(--surface);
    color: var(--ink);
  }

  .prow .desc ul, .prow .desc ol {
    margin: 0;
    padding-left: 16px;
    list-style: outside;
  }

  .prow .desc ol {
    list-style: decimal;
  }

  .prow .desc p + p {
    margin-top: 4px;
  }

  .prow .desc:empty:before {
    content: attr(data-placeholder);
    color: var(--ph);
  }

  .rtb {
    align-items: center;
    gap: 2px;
    margin: 6px 0 0 -8px;
    display: flex;
  }

  .rtb button {
    border: 1px solid var(--line2);
    min-width: 24px;
    height: 22px;
    color: var(--ink2);
    background: var(--surface);
    border-radius: 2px;
    justify-content: center;
    align-items: center;
    padding: 0 6px;
    font-size: 11px;
    display: inline-flex;
  }

  .rtb button.on {
    background: var(--ink);
    color: var(--surface);
    border-color: var(--ink);
  }

  .rtb small {
    color: var(--ink3);
    margin-left: 8px;
    font-size: 11px;
  }

  .pmeta {
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    display: flex;
  }

  .pmeta .mf {
    flex-direction: column;
    gap: 3px;
    display: flex;
  }

  .pmeta .mf label {
    color: var(--ink3);
    letter-spacing: .02em;
    font-size: 11px;
  }

  .cell {
    border: 1px solid var(--line2);
    background: var(--surface);
    font-variant-numeric: tabular-nums;
    border-radius: 2px;
    align-items: center;
    height: 30px;
    padding: 0 8px;
    font-size: 13px;
    display: flex;
  }

  input.cell, select.cell {
    width: 100%;
  }

  input.cell.r {
    text-align: right;
  }

  .cell:focus, .cell:focus-within {
    border-color: var(--ink);
    box-shadow: 0 0 0 2px var(--mark);
    outline: none;
  }

  .cell input {
    text-align: right;
    background: none;
    border: 0;
    outline: 0;
    width: 100%;
    padding: 0;
  }

  .cell .suf {
    color: var(--ink3);
    margin-left: 4px;
  }

  select.cell {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--ink3) 50%), linear-gradient(135deg, var(--ink3) 50%, transparent 50%);
    background-position: calc(100% - 12px) 12px, calc(100% - 8px) 12px;
    background-repeat: no-repeat;
    background-size: 4px 4px;
    padding-right: 22px;
  }

  .w1, .cell.w1 {
    width: 68px;
  }

  .w2, .cell.w2 {
    width: 96px;
  }

  .w3, .cell.w3 {
    width: 116px;
  }

  .w4, .cell.w4 {
    width: 72px;
  }

  .prow .sum {
    text-align: right;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    display: flex;
    position: relative;
  }

  .prow .sum .v {
    font-variant-numeric: tabular-nums;
    align-items: center;
    height: 32px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
  }

  .prow .sum .more {
    width: 28px;
    height: 24px;
    color: var(--ink3);
    letter-spacing: 1px;
    background: none;
    border: 1px solid #0000;
    border-radius: 2px;
    place-items: center;
    font-size: 15px;
    display: grid;
  }

  .prow .sum .more:hover {
    border-color: var(--line2);
  }

  .prow .sum small {
    color: var(--ink3);
    font-size: 11px;
  }

  .prow.opt .title, .prow.opt .desc, .prow.opt .cell, .prow.opt .sum .v {
    color: var(--ink3);
  }

  .prow.opt .sum .v {
    font-weight: 400;
  }

  .optchip {
    letter-spacing: .04em;
    text-transform: uppercase;
    border: 1px solid var(--ink3);
    color: var(--ink2);
    border-radius: 2px;
    flex: none;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    padding: 1px 5px;
    font-size: 10px;
    font-weight: 500;
    display: inline-flex;
  }

  .addrow {
    color: var(--ink2);
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 12px 0 0 50px;
    font-size: 12px;
    display: flex;
  }

  .addrow .btn {
    height: 28px;
    font-size: 12px;
  }

  .addrow .k {
    font-family: var(--mono);
    color: var(--ink3);
    margin-left: 4px;
    font-size: 10px;
  }

  .totals {
    border-top: 1px solid var(--line);
    width: 360px;
    max-width: 100%;
    margin: 24px 0 0 auto;
  }

  .totals .ln {
    font-variant-numeric: tabular-nums;
    color: var(--ink2);
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
    display: flex;
  }

  .totals .ln b {
    color: var(--ink);
    white-space: nowrap;
    font-weight: 400;
  }

  .totals .ln.ges {
    border-top: 1px solid var(--ink);
    color: var(--ink);
    letter-spacing: -.01em;
    align-items: baseline;
    margin-top: 4px;
    padding-top: 12px;
    font-size: 20px;
    font-weight: 600;
  }

  .totals .ln.ges span:first-child {
    letter-spacing: 0;
    font-size: 13px;
    font-weight: 500;
  }

  .totals .ln.opt {
    color: var(--ink3);
    border-top: 1px solid var(--line);
    margin-top: 6px;
    padding-top: 8px;
    font-size: 12px;
  }

  .totals .ok {
    color: var(--ink3);
    text-align: right;
    margin-top: 10px;
    font-size: 12px;
  }

  .rcol {
    flex-direction: column;
    gap: 18px;
    min-width: 0;
    display: flex;
    position: sticky;
    top: 76px;
  }

  .check {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 2px;
    padding: 14px 16px 10px;
  }

  .check h3 {
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
  }

  .check h3 .n {
    font-family: var(--mono);
    color: var(--ink3);
    margin-left: auto;
    font-size: 11px;
    font-weight: 400;
  }

  .check .meter {
    background: var(--line);
    height: 3px;
    margin-bottom: 12px;
    position: relative;
  }

  .check .meter span {
    background: var(--ink);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
  }

  .ci {
    color: var(--ink2);
    align-items: flex-start;
    gap: 10px;
    padding: 5px 0;
    font-size: 12px;
    line-height: 16px;
    display: flex;
  }

  .ci i {
    border: 1px solid var(--line2);
    border-radius: 50%;
    flex: none;
    width: 14px;
    height: 14px;
    margin-top: 1px;
    position: relative;
  }

  .ci.ok i {
    background: var(--gut);
    border-color: var(--gut);
  }

  .ci.ok i:after {
    content: "";
    border: 1.5px solid #fff;
    border-width: 0 1.5px 1.5px 0;
    width: 3px;
    height: 6px;
    position: absolute;
    top: 2px;
    left: 4px;
    transform: rotate(45deg);
  }

  .ci.warn i {
    border-color: var(--warn);
    background: var(--warn-wash);
  }

  .ci.warn i:after {
    content: "!";
    text-align: center;
    color: var(--warn);
    font-size: 10px;
    font-weight: 600;
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
  }

  .ci.warn {
    color: var(--ink);
  }

  .ci.bad i {
    border-color: var(--schlecht);
    background: var(--schlecht-wash);
  }

  .ci.bad i:after {
    content: "×";
    text-align: center;
    color: var(--schlecht);
    font-size: 11px;
    font-weight: 600;
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
  }

  .ci.bad {
    color: var(--ink);
  }

  .ci small {
    color: var(--ink3);
    margin-top: 1px;
    display: block;
  }

  .pvh {
    color: var(--ink3);
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    display: flex;
  }

  .pvh .seg {
    height: 26px;
    margin-left: auto;
  }

  .pvh .seg > button {
    padding: 0 8px;
    font-size: 11px;
  }

  .pv {
    box-shadow: var(--shadow);
    background: #fff;
    border-radius: 1px;
    position: relative;
    overflow: hidden;
  }

  .pv iframe {
    transform-origin: 0 0;
    background: none;
    border: 0;
    width: 794px;
    position: absolute;
    top: 0;
    left: 0;
  }

  .two {
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
    gap: 40px;
    display: grid;
  }

  .kv {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 0;
    display: grid;
  }

  .kv > dt {
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink3);
    border-bottom: 1px solid var(--line);
    padding: 9px 0;
    font-size: 11px;
    font-weight: 500;
  }

  .kv > dd {
    border-bottom: 1px solid var(--line);
    overflow-wrap: anywhere;
    min-width: 0;
    margin: 0;
    padding: 7px 0;
  }

  .hero {
    flex-wrap: wrap;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 4px;
    display: flex;
  }

  .hero .amt {
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
    font-size: 32px;
    font-weight: 500;
    line-height: 36px;
  }

  .panel {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 2px;
    padding: 14px 16px;
  }

  .panel h3 {
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
  }

  .timeline {
    flex-direction: column;
    display: flex;
  }

  .timeline .ev {
    border-bottom: 1px solid var(--line);
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    padding: 8px 0;
    font-size: 12.5px;
    display: grid;
  }

  .timeline .ev .w {
    color: var(--ink3);
    font-variant-numeric: tabular-nums;
    font-size: 12px;
  }

  .timeline .ev small {
    color: var(--ink3);
    margin-top: 2px;
    font-size: 11.5px;
    display: block;
  }

  .pdfframe {
    aspect-ratio: 210 / 297;
    width: 100%;
    box-shadow: var(--shadow);
    background: #fff;
    border: 0;
    border-radius: 1px;
    display: block;
  }

  .subnav {
    flex-direction: column;
    gap: 1px;
    display: flex;
  }

  .subnav a {
    height: 30px;
    color: var(--ink2);
    border-radius: 2px;
    align-items: center;
    padding: 0 10px;
    display: flex;
    position: relative;
  }

  .subnav a:hover {
    background: var(--sunk);
    color: var(--ink);
  }

  .subnav a.on {
    color: var(--ink);
    background: var(--surface);
    box-shadow: inset 3px 0 0 var(--mark);
    font-weight: 500;
  }

  .settings {
    grid-template-columns: 200px minmax(0, 1fr);
    align-items: start;
    gap: 40px;
    display: grid;
  }

  .formfoot {
    border-top: 1px solid var(--line);
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding-top: 18px;
    display: flex;
  }

  .formfoot .msg {
    color: var(--ink3);
    margin-right: auto;
    font-size: 12px;
  }

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

  .formfoot .msg.bad {
    color: var(--schlecht);
  }

  dialog.dlg {
    border: 1px solid var(--line);
    background: var(--surface);
    width: min(560px, 100vw - 32px);
    max-height: calc(100vh - 48px);
    color: var(--ink);
    box-shadow: var(--shadow);
    border-radius: 2px;
    margin: auto;
    padding: 0;
  }

  dialog.dlg.wide {
    width: min(760px, 100vw - 32px);
  }

  dialog.dlg::backdrop {
    background: #11111059;
  }

  dialog.dlg.danger {
    border-color: var(--schlecht);
  }

  .dlg .dh {
    padding: 20px 24px 0;
  }

  .dlg .dh h2 {
    letter-spacing: -.01em;
    align-items: baseline;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
  }

  dialog.dlg[open] {
    flex-direction: column;
    display: flex;
  }

  .dlg .dh, .dlg .df {
    flex: none;
  }

  .dlg .db {
    flex-direction: column;
    flex: 1;
    gap: 14px;
    min-height: 0;
    padding: 14px 24px 8px;
    display: flex;
    overflow-y: auto;
  }

  .field > .seg {
    align-self: flex-start;
  }

  .dlg .db p {
    color: var(--ink2);
    line-height: 19px;
  }

  .dlg .df {
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    padding: 14px 24px 20px;
    display: flex;
  }

  .dlg .df .msg {
    color: var(--schlecht);
    margin-right: auto;
    font-size: 12px;
  }

  .chips {
    border: 1px solid var(--line2);
    background: var(--surface);
    border-radius: 2px;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 3px 6px;
    display: flex;
  }

  .chips:focus-within {
    border-color: var(--ink);
    box-shadow: 0 0 0 2px var(--mark);
  }

  .chips .c {
    border: 1px solid var(--line2);
    background: var(--sunk);
    border-radius: 2px;
    align-items: center;
    gap: 6px;
    height: 24px;
    padding: 0 6px 0 8px;
    font-size: 12px;
    display: inline-flex;
  }

  .chips .c button {
    color: var(--ink3);
    background: none;
    border: 0;
    padding: 0;
  }

  .chips input {
    background: none;
    border: 0;
    outline: 0;
    flex: 1;
    min-width: 160px;
    height: 24px;
  }

  .attach {
    border: 1px solid var(--line);
    border-radius: 2px;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    font-size: 12px;
    display: flex;
  }

  .toastwrap {
    z-index: 100;
    flex-direction: column;
    gap: 8px;
    display: flex;
    position: fixed;
    bottom: 20px;
    right: 20px;
  }

  .toast {
    background: var(--ink);
    color: var(--surface);
    min-height: 44px;
    box-shadow: var(--shadow);
    border-radius: 2px;
    align-items: center;
    gap: 10px;
    max-width: 420px;
    padding: 10px 14px;
    font-size: 13px;
    display: flex;
  }

  .toast:before {
    content: "";
    background: var(--gut);
    border-radius: 50%;
    flex: none;
    width: 8px;
    height: 8px;
  }

  .toast.bad:before {
    background: var(--schlecht);
  }

  .toast button {
    color: inherit;
    opacity: .7;
    background: none;
    border: 0;
    margin-left: auto;
  }

  .palette {
    z-index: 90;
    background: #11111059;
    justify-content: center;
    padding-top: 12vh;
    display: flex;
    position: fixed;
    inset: 0;
  }

  .palette .box {
    background: var(--surface);
    width: min(620px, 100vw - 32px);
    box-shadow: var(--shadow);
    border-radius: 2px;
    align-self: flex-start;
    overflow: hidden;
  }

  .palette input {
    border: 0;
    border-bottom: 1px solid var(--line);
    background: none;
    outline: 0;
    width: 100%;
    height: 48px;
    padding: 0 16px;
    font-size: 15px;
  }

  .palette .res {
    max-height: 420px;
    padding: 4px;
    overflow-y: auto;
  }

  .palette .res a, .palette .res button {
    text-align: left;
    background: none;
    border: 0;
    border-radius: 2px;
    align-items: baseline;
    gap: 10px;
    width: 100%;
    height: 36px;
    padding: 0 12px;
    display: flex;
  }

  .palette .res .on, .palette .res a:hover, .palette .res button:hover {
    background: var(--sunk);
  }

  .palette .res .grp {
    padding: 10px 12px 4px;
  }

  .login {
    place-items: center;
    min-height: 100vh;
    padding: 24px;
    display: grid;
  }

  .login .box {
    width: min(380px, 100%);
  }

  .login .brand {
    padding: 0 0 28px;
    font-size: 16px;
  }

  .login h1 {
    letter-spacing: -.02em;
    margin-bottom: 6px;
    font-size: 24px;
    font-weight: 600;
  }

  .login p.meta {
    color: var(--ink2);
    margin-bottom: 24px;
  }

  .login form {
    border-top: 1px solid var(--ink);
    flex-direction: column;
    gap: 14px;
    padding-top: 20px;
    display: flex;
  }

  .tabbar, .mlist {
    display: none;
  }

  .mrow {
    border-bottom: 1px solid var(--line);
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2px 12px;
    padding: 11px 16px;
    display: grid;
  }

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

  .mrow .k {
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 500;
    overflow: hidden;
  }

  .mrow .a {
    font-variant-numeric: tabular-nums;
    text-align: right;
    font-weight: 500;
  }

  .mrow .s {
    color: var(--ink3);
    white-space: nowrap;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    display: flex;
    overflow: hidden;
  }

  .mrow .s .mono {
    color: var(--ink2);
    font-size: 11px;
  }

  .mrow .s .st {
    font-size: 12px;
  }

  .mrow .s .st:before {
    width: 6px;
    height: 6px;
  }

  .mrow .o {
    color: var(--ink3);
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-size: 11px;
  }

  .mrow.late .o {
    color: var(--schlecht);
    font-weight: 500;
  }

  @media (max-width: 1100px) {
    .kpis {
      grid-template-columns: repeat(3, 1fr);
    }

    .kpi:nth-child(3) {
      border-right: 0;
    }

    .dgrid, .two, .settings, .ed {
      grid-template-columns: minmax(0, 1fr);
    }

    .rcol {
      position: static;
    }
  }

  @media (max-width: 767px) {
    html {
      font-size: 14px;
      line-height: 20px;
    }

    .shell {
      background: var(--canvas);
      padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
      display: block;
    }

    .side {
      display: none;
    }

    .topbar {
      height: 52px;
      padding: 0 16px;
    }

    .topbar .crumbs {
      text-overflow: ellipsis;
      overflow: hidden;
    }

    .page {
      padding: 16px 16px 32px;
    }

    .ed {
      gap: 24px;
      padding: 16px 16px 120px;
    }

    .phead h1, .greet h1 {
      font-size: 20px;
      line-height: 24px;
    }

    .kpis {
      grid-template-columns: repeat(2, 1fr);
    }

    .kpi {
      margin-right: 12px;
      padding: 12px 12px 14px 0;
    }

    .kpi:nth-child(2n) {
      border-right: 0;
      margin-right: 0;
    }

    .kpi:nth-child(3) {
      border-right: 1px solid var(--line);
    }

    .kpi .v {
      font-size: 22px;
      line-height: 26px;
    }

    .g4, .g3 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .g2 {
      grid-template-columns: minmax(0, 1fr);
    }

    .span3, .span4 {
      grid-column: span 2;
    }

    .g2 .span2 {
      grid-column: span 1;
    }

    .filters .inp.s {
      width: 100%;
    }

    .sech .m, .doclist, .tablewrap {
      display: none;
    }

    .msum {
      color: var(--ink2);
      justify-content: space-between;
      padding: 12px 0;
      font-size: 12px;
      display: flex;
    }

    .msum b {
      color: var(--ink);
      font-weight: 500;
    }

    .phead.plist h1, .phead.plist .acts {
      display: none;
    }

    .phead.plist {
      margin-bottom: 12px;
    }

    .tabs .tl {
      display: none;
    }

    .tabs .ts {
      display: inline;
    }

    .filters {
      flex-wrap: wrap;
    }

    .filters .inp.s {
      flex: 1;
      width: auto;
    }

    .filters .fbtn {
      height: 30px;
      display: inline-flex;
    }

    .filters .fopt {
      display: none !important;
    }

    .filters.open .fopt {
      width: 100%;
      max-width: none !important;
      display: inline-flex !important;
    }

    .filters .reset {
      margin-left: 0;
    }

    .footbar, .topbar .right .btn.ghost, .kbdhint {
      display: none;
    }

    .rrow {
      grid-template-columns: 44px minmax(0, 1fr) auto;
    }

    .rrow .rowbtns {
      grid-column: 1 / -1;
      justify-content: flex-start;
    }

    .contacts .crow {
      border-bottom: 1px solid var(--line);
      grid-template-columns: 1fr 1fr;
      padding: 8px 0;
    }

    .cbar {
      bottom: calc(56px + env(safe-area-inset-bottom, 0px));
      background: var(--canvas);
      margin: 0 -16px;
      padding: 12px 16px;
      position: sticky;
    }

    .eseg {
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      padding: 12px 16px 0;
      display: flex;
    }

    .ed[data-tab="edit"] .rcol .pvwrap, .ed[data-tab="preview"] .form, .ed[data-tab="preview"] .rcol .check {
      display: none;
    }

    .ed {
      padding-bottom: 140px;
    }

    .pvscroll {
      max-height: none;
    }

    .ebar {
      z-index: 60;
      padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
      background: var(--canvas);
      border-top: 1px solid var(--ink);
      align-items: center;
      gap: 12px;
      display: flex;
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
    }

    .ebar .g {
      flex-direction: column;
      flex: 1;
      display: flex;
    }

    .ebar .g small {
      color: var(--ink3);
      font-size: 11px;
    }

    .ebar .g b {
      font-variant-numeric: tabular-nums;
      font-size: 18px;
      font-weight: 600;
    }

    .ebar .btn {
      height: 40px;
      padding: 0 18px;
    }

    .topbar .save, .topbar .right .btn.ghost, .topbar .right .btn.split {
      display: none;
    }

    .g4 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bpt {
      width: calc(50% - 6px);
    }

    .pmeta .mf {
      flex: calc(33% - 8px);
    }

    .pmeta .cell {
      width: 100%;
    }

    .dhead h1 {
      font-size: 20px;
      line-height: 24px;
    }

    .actbar {
      flex-wrap: nowrap;
      margin: 0 -16px;
      padding: 12px 16px 14px;
      overflow-x: auto;
    }

    .actbar .btn {
      flex: none;
    }

    .pdfcol .pdfframe {
      display: none;
    }

    .mlist {
      background: var(--surface);
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      flex-direction: column;
      margin: 0 -16px;
      display: flex;
    }

    .tabbar {
      height: calc(56px + env(safe-area-inset-bottom, 0px));
      padding-bottom: env(safe-area-inset-bottom, 0px);
      background: var(--canvas);
      border-top: 1px solid var(--line);
      z-index: 50;
      grid-template-columns: repeat(5, 1fr);
      align-items: center;
      display: grid;
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
    }

    .tabbar a, .tabbar button {
      letter-spacing: .02em;
      color: var(--ink3);
      background: none;
      border: 0;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 3px;
      height: 56px;
      font-size: 10px;
      display: flex;
    }

    .tabbar svg {
      stroke: currentColor;
      fill: none;
      stroke-width: 1.6px;
      stroke-linecap: round;
      stroke-linejoin: round;
      width: 20px;
      height: 20px;
    }

    .tabbar .on {
      color: var(--ink);
      font-weight: 500;
    }

    .tabbar .on svg {
      stroke-width: 2px;
    }

    .tabbar .neu span {
      background: var(--mark);
      width: 36px;
      height: 36px;
      color: var(--on-mark);
      border-radius: 2px;
      place-items: center;
      display: grid;
    }

    .tabbar .neu span svg {
      stroke-width: 2px;
      width: 18px;
      height: 18px;
      stroke: var(--on-mark);
    }

    .prow {
      grid-template-columns: 24px minmax(0, 1fr);
    }

    .prow .sum {
      flex-direction: row;
      grid-column: 2;
      justify-content: space-between;
      align-items: center;
    }

    .prow.active {
      margin: 0 -16px;
    }

    .addrow {
      padding-left: 0;
    }

    .totals {
      width: 100%;
    }

    .toastwrap {
      inset: 16px 16px auto;
    }

    .settings .subnav {
      flex-direction: row;
      overflow-x: auto;
    }
  }
}

@layer utilities {
  .visible {
    visibility: visible;
  }

  .absolute {
    position: absolute;
  }

  .fixed {
    position: fixed;
  }

  .relative {
    position: relative;
  }

  .block {
    display: block;
  }

  .contents {
    display: contents;
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

  .inline {
    display: inline;
  }

  .inline-flex {
    display: inline-flex;
  }

  .table {
    display: table;
  }

  .transform {
    transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
  }

  .resize {
    resize: both;
  }

  .truncate {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }

  .italic {
    font-style: italic;
  }

  .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, );
  }
}

:root {
  --canvas: #f3f3f1;
  --surface: #fff;
  --sunk: #ebebe8;
  --wash: #fef7dc;
  --line: #e1e1dd;
  --line2: #c6c6c1;
  --ink: #111110;
  --ink2: #5b5b57;
  --ink3: #787874;
  --ph: #9a9a96;
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%237c7c78' stroke-width='1.5'/%3E%3C/svg%3E");
  --mark: #f2c12e;
  --on-mark: #111110;
  --gut: #1c7a3e;
  --warn: #9a5b00;
  --schlecht: #c0271e;
  --gut-wash: #e6f2ea;
  --warn-wash: #fbf0dc;
  --schlecht-wash: #fbecec;
  --bar: #111110;
  --bar2: #c6c6c1;
  --shadow: 0 12px 32px -16px #11111059, 0 0 0 1px var(--line);
  --tip-ink2: #b9b9b4;
  --sans: var(--font-host), "Host Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: var(--font-geist-mono), "Geist Mono", "JetBrains Mono", ui-monospace, Menlo, monospace;
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --canvas: #0f0f0e;
  --surface: #161615;
  --sunk: #1e1e1c;
  --wash: #2b2714;
  --line: #2a2a28;
  --line2: #3b3b38;
  --ink: #f2f2ef;
  --ink2: #a8a8a3;
  --ink3: #80807b;
  --ph: #6e6e69;
  --gut: #5cc78c;
  --warn: #e3a94c;
  --schlecht: #f4817a;
  --gut-wash: #17291e;
  --warn-wash: #2e2414;
  --schlecht-wash: #331a18;
  --bar: #f2f2ef;
  --bar2: #3b3b38;
  --shadow: 0 16px 40px -16px #000000b3, 0 0 0 1px var(--line2);
  --tip-ink2: #5b5b57;
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --canvas: #0f0f0e;
    --surface: #161615;
    --sunk: #1e1e1c;
    --wash: #2b2714;
    --line: #2a2a28;
    --line2: #3b3b38;
    --ink: #f2f2ef;
    --ink2: #a8a8a3;
    --ink3: #80807b;
    --ph: #6e6e69;
    --gut: #5cc78c;
    --warn: #e3a94c;
    --schlecht: #f4817a;
    --gut-wash: #17291e;
    --warn-wash: #2e2414;
    --schlecht-wash: #331a18;
    --bar: #f2f2ef;
    --bar2: #3b3b38;
    --shadow: 0 16px 40px -16px #000000b3, 0 0 0 1px var(--line2);
    --tip-ink2: #5b5b57;
    --lightningcss-light: ;
    --lightningcss-dark: initial;
    color-scheme: dark;
  }
}

@property --tw-rotate-x {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-y {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-z {
  syntax: "*";
  inherits: false
}

@property --tw-skew-x {
  syntax: "*";
  inherits: false
}

@property --tw-skew-y {
  syntax: "*";
  inherits: false
}

@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-blur {
  syntax: "*";
  inherits: false
}

@property --tw-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-invert {
  syntax: "*";
  inherits: false
}

@property --tw-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-sepia {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false
}

/*# sourceMappingURL=src_app_1zk2jm1._.css.map*/