@charset "UTF-8";
:root {
  --color-body-main: #292f24;
  --color-body-diff: #424243;
  --color-body-diff-2: #5d5d5d;
  --color-footer: #5d5d5d;
  --color-header-main: #5d5d5d;
  --color-navi-secondary: #1a1c17;
  --color-navi-main: #688059;
  --color-navi-tab-button: #ddd;
  --color-navi-tab-button-active: #5d5d5d;
  --color-navi-tab-button-active-font: #ddd;
  --color-navi-tab-button-negative: #a86464;
  --color-navi-tab-button-positive: #8bb976;
  --color-balance-negative: #a93939;
  --color-balance-positive: #6c915b;
  --color-form-button: #688059;
  --color-font-white: #d7e6cf;
  --space-3: 3px;
  --space-5: 5px;
  --space-8: 8px;
  --space-10: 10px;
  --space-20: 20px;
  --space-30: 30px;
  --radius-default: 8px;
  --text-18: 1.8em;
  --text-13: 1.3em;
  --text-10: 1em;
  --text-9: 0.9em;
  --text-8: 0.8em;
  --text-7: 0.7em;
  --text-6: 0.6em;
  --size-home-button-img: 35px;
  --size-loan-debt-switch-img: 25px;
  --size-navi-favicon: 82px;
  --size-footer-company-logo: 50px;
  --size-shortcut-img: calc(12.5% - 20px);
  --color-bg: var(--color-body-main);
  --color-surface: var(--color-body-diff);
  --color-surface-raised: var(--color-body-diff-2);
  --color-primary: var(--color-navi-main);
  --color-primary-dark: var(--color-navi-secondary);
  --color-on-primary: #000;
  --color-text: #000;
  --color-text-inverse: var(--color-font-white);
  --color-positive: var(--color-balance-positive);
  --color-negative: var(--color-balance-negative);
  --color-border: #000;
  --color-placeholder: #eef5ea;
  --color-primary-soft: var(--color-navi-tab-button-positive);
  --color-positive-soft: var(--color-navi-tab-button-positive);
  --color-negative-soft: var(--color-navi-tab-button-negative);
  --color-text-muted: #b6b6b6;
  --radius: var(--radius-default);
  --radius-s: 4px;
  --radius-pill: 999px;
  --shadow: none;
  --shadow-s: none;
  --font: arial, verdana, sans-serif;
  --space-xs: var(--space-5);
  --space-s: var(--space-10);
  --space-m: var(--space-20);
  --space-l: var(--space-30);
}

:root {
  color-scheme: light;
  --sage-100: #f6f8f6;
  --sage-200: #ebf0ec;
  --sage-300: #e1e8e3;
  --sage-400: #cfd9d2;
  --forest-950: #10261c;
  --forest-900: #163628;
  --forest-800: #1d4433;
  --forest-600: #2e6b4f;
  --forest-100: #d6e7dc;
  --mint-300: #9fe0bb;
  --wine-700: #b23d34;
  --wine-800: #992f27;
  --wine-100: #f3dcd8;
  --coral-300: #ffa59a;
  --amber-600: #8f5514;
  --ink-900: #18211c;
  --ink-500: #5a6760;
  --color-body-main: var(--sage-300);
  --color-body-diff: var(--sage-100);
  --color-body-diff-2: var(--sage-200);
  --color-footer: var(--sage-300);
  --color-header-main: transparent;
  --color-navi-main: var(--forest-900);
  --color-navi-secondary: var(--sage-100);
  --color-navi-tab-button: transparent;
  --color-navi-tab-button-active: var(--sage-100);
  --color-navi-tab-button-active-font: var(--forest-800);
  --color-navi-tab-button-negative: transparent;
  --color-navi-tab-button-positive: transparent;
  --color-balance-negative: var(--wine-700);
  --color-balance-positive: var(--forest-600);
  --color-form-button: var(--forest-600);
  --color-font-white: var(--ink-900);
  --radius-default: 16px;
  --color-bg: var(--sage-300);
  --color-surface: var(--sage-100);
  --color-surface-raised: var(--sage-200);
  --color-primary: var(--forest-600);
  --color-primary-dark: var(--forest-800);
  --color-primary-soft: var(--forest-100);
  --color-on-primary: #fff;
  --color-text: var(--ink-900);
  --color-text-muted: var(--ink-500);
  --color-text-inverse: #fff;
  --color-positive: var(--forest-600);
  --color-positive-soft: var(--forest-100);
  --color-negative: var(--wine-700);
  --color-negative-soft: var(--wine-100);
  --color-negative-strong: var(--wine-800);
  /* wartet auf Bestätigung, z. B. „als bezahlt gemeldet“ in den Geldflüssen */
  --color-pending: var(--amber-600);
  --color-border: rgb(24 33 28 / 9%);
  --color-placeholder: var(--ink-500);
  --color-anchor: var(--forest-900);
  --color-on-anchor: #f1f6f2;
  --color-on-anchor-muted: rgb(241 246 242 / 68%);
  --color-anchor-positive: var(--mint-300);
  --color-anchor-negative: var(--coral-300);
  --hero: radial-gradient(130% 150% at 0% 0%, #357f5a 0%, #1d4433 48%, #132e22 100%);
  --hero-debt: radial-gradient(130% 150% at 0% 0%, #8a4038 0%, #5a2722 50%, #3a1916 100%);
  --radius: 16px;
  --radius-s: 11px;
  --radius-pill: 999px;
  --shadow: 0 0 0 1px rgb(24 33 28 / 7%);
  --shadow-s: 0 0 0 1px rgb(24 33 28 / 7%);
  --shadow-float: 0 0 0 1px rgb(24 33 28 / 7%), 0 10px 28px rgb(24 33 28 / 18%);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  background: black;
  margin: 0;
  align-content: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.body-container {
  background: var(--color-body-main);
  color: #d7e6cf;
  font-family: arial, verdana, sans-serif;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1000px;
  min-height: 100vh;
  margin: 0 auto;
}
@media (max-width: 1000px) {
  .body-container {
    max-width: 100vw;
    padding: 0;
    overflow-x: hidden;
  }
}

.page-header, .extra-page-header {
  background: var(--color-header-main);
  font-weight: bold;
  font-size: 1.9em;
  display: flex;
  justify-content: flex-start;
  padding: 15px;
  margin-bottom: var(--space-10);
}

.page-header-text {
  margin-right: 5px;
  display: inline-block;
  color: black;
}

.page-header-image {
  margin-left: auto;
  display: inline-block;
  fill: #ffffff;
  margin-right: 20px;
}

.page-header-image img {
  width: 30px;
  height: 30px;
  fill: #ffffff;
}

.extra-page-header {
  margin-bottom: 0px;
}

.extra-page-header-image {
  margin-left: auto;
  display: inline-block;
  fill: #ffffff;
  margin-right: 20px;
}
.extra-page-header-image img {
  width: var(--size-loan-debt-switch-img);
  height: var(--size-loan-debt-switch-img);
  transition: transform 0.3s ease-in-out;
  border-radius: 50%;
}
.extra-page-header-image img.debt-header {
  background-color: var(--color-balance-positive);
}
.extra-page-header-image img.loan-header {
  background-color: var(--color-balance-negative);
}
.extra-page-header-image img:hover {
  transform: rotateY(180deg);
}

.loan-header {
  background-color: var(--color-balance-positive);
}

.debt-header {
  background-color: var(--color-balance-negative);
}

.content-body {
  height: 100%;
  margin-right: var(--space-8);
  margin-left: var(--space-8);
  overflow: auto;
}

/*info texts */
.empty-list-info {
  max-width: 100%;
  padding: 15px;
  font-size: 1.5em;
  margin: 0px auto var(--space-20);
  border: 1px solid var(--color-body-diff);
  background-color: var(--color-body-diff);
  border-radius: 8px;
}
.empty-list-info.is-warning {
  background-color: var(--color-balance-negative);
}

.font-size-1-2 {
  font-size: 1.2em !important;
}

.color-b {
  color: #000000 !important;
}

.bold {
  font-weight: bold;
}

.has-mb-s {
  margin-bottom: var(--space-10);
}

.has-mb-m {
  margin-bottom: var(--space-20);
}

.has-mb-l {
  margin-top: var(--space-30);
}

.has-mt-m {
  margin-top: var(--space-20);
}

.has-mt-l {
  margin-top: var(--space-30);
}

.has-default-border, .bank-transfer-details, .form-area {
  border: 1px solid #424243;
  border-radius: var(--radius-default);
}

.text-10 {
  font-size: var(--text-10);
}

.text-9 {
  font-size: var(--text-9);
}

.text-8 {
  font-size: var(--text-8);
}

.text-7 {
  font-size: var(--text-7);
}

.text-6 {
  font-size: var(--text-6);
}

.rotate {
  transform: rotate(180deg);
}

.mirrored {
  transform: scaleY(-1);
}

.plain-link {
  text-decoration: none;
  color: #0a0800;
}

.home-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-image img {
  width: 100%; /* Sets the width of the image to the width of the parent container */
  max-width: 80%; /* Ensures the image won't exceed its original width */
  height: auto; /* Ensures the image won't be distorted */
  top: 0; /* Optional, for positioning the image */
  left: 0; /* Optional, for positioning the image */
}

.homepage-welcome {
  padding: 5px;
  font-size: var(--text-18);
  background-color: var(--color-body-diff);
  font-weight: bold;
  margin-bottom: var(--space-20);
  color: #b6b6b6;
}
.homepage-welcome span {
  color: #ffffff;
}

* {
  box-sizing: border-box;
}

/* Slideshow container */
.slideshow-container {
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hide the images by default */
.mySlides {
  display: inline-block;
}
.mySlides .image-container {
  display: inline-block;
  background: var(--color-body-diff-2);
  padding: 5px;
  max-width: 100%;
  max-height: 50%;
  border: var(--color-body-diff-2) solid 3px;
  border-radius: 8px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}
.mySlides .image-container img {
  max-width: 100%;
}

.slider-text {
  font-size: var(--text-13);
  margin-top: 3px;
  margin-bottom: 1px;
  padding: 8px;
  background-color: var(--color-body-diff-2);
  border: var(--color-body-diff-2) solid 3px;
  border-radius: 8px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}
.slider-text span {
  color: #ffffff;
  font-weight: bold;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  width: 100%;
  bottom: 1px;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
.undecorated-link-text {
  text-decoration: none;
  color: white;
  font-weight: bold;
}

.gif-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-20);
}

.gif-container img {
  width: 95vw;
  height: auto;
  max-height: 100%;
  background-color: var(--color-body-diff-2);
  border: black solid 3px;
  border-radius: 8px;
}

.paypal-info {
  background-color: var(--color-balance-negative);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-20);
  padding: var(--space-10);
  background-color: #e6e6e6;
  color: black;
  font-weight: bold;
  border: black solid 4px;
  border-radius: 8px;
}
.paypal-info .undecorated-link-text {
  color: black;
  font-weight: bold;
  font-size: var(--text-13);
  color: var(--color-balance-negative);
}

.paypal-info img {
  width: 50vw;
  height: auto;
  max-height: 100%;
  margin: 2px;
}

.default-button {
  padding: var(--space-10);
  color: black;
  font-weight: bold;
  border: black solid 4px;
  border-radius: 8px;
}

.home-login-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.home-login-container .home-login-button {
  background-color: var(--color-balance-positive);
  display: inline-block;
  padding: var(--space-10);
  color: black;
  font-weight: bold;
  font-size: var(--text-18);
  border: black solid 4px;
  border-radius: 8px;
}

/*--------------------------------------------------------------------------------------------------------------------*/
/*form*/
body {
  background: black;
  margin: 0;
  align-content: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.body-container {
  background: var(--color-body-main);
  color: #d7e6cf;
  font-family: arial, verdana, sans-serif;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1000px;
  min-height: 100vh;
  margin: 0 auto;
}
@media (max-width: 1000px) {
  .body-container {
    max-width: 100vw;
    padding: 0;
    overflow-x: hidden;
  }
}

.page-header, .extra-page-header {
  background: var(--color-header-main);
  font-weight: bold;
  font-size: 1.9em;
  display: flex;
  justify-content: flex-start;
  padding: 15px;
  margin-bottom: var(--space-10);
}

.page-header-text {
  margin-right: 5px;
  display: inline-block;
  color: black;
}

.page-header-image {
  margin-left: auto;
  display: inline-block;
  fill: #ffffff;
  margin-right: 20px;
}

.page-header-image img {
  width: 30px;
  height: 30px;
  fill: #ffffff;
}

.extra-page-header {
  margin-bottom: 0px;
}

.extra-page-header-image {
  margin-left: auto;
  display: inline-block;
  fill: #ffffff;
  margin-right: 20px;
}
.extra-page-header-image img {
  width: var(--size-loan-debt-switch-img);
  height: var(--size-loan-debt-switch-img);
  transition: transform 0.3s ease-in-out;
  border-radius: 50%;
}
.extra-page-header-image img.debt-header {
  background-color: var(--color-balance-positive);
}
.extra-page-header-image img.loan-header {
  background-color: var(--color-balance-negative);
}
.extra-page-header-image img:hover {
  transform: rotateY(180deg);
}

.loan-header {
  background-color: var(--color-balance-positive);
}

.debt-header {
  background-color: var(--color-balance-negative);
}

.content-body {
  height: 100%;
  margin-right: var(--space-8);
  margin-left: var(--space-8);
  overflow: auto;
}

/*info texts */
.empty-list-info {
  max-width: 100%;
  padding: 15px;
  font-size: 1.5em;
  margin: 0px auto var(--space-20);
  border: 1px solid var(--color-body-diff);
  background-color: var(--color-body-diff);
  border-radius: 8px;
}
.empty-list-info.is-warning {
  background-color: var(--color-balance-negative);
}

.font-size-1-2 {
  font-size: 1.2em !important;
}

.color-b {
  color: #000000 !important;
}

.bold {
  font-weight: bold;
}

.has-mb-s {
  margin-bottom: var(--space-10);
}

.has-mb-m {
  margin-bottom: var(--space-20);
}

.has-mb-l {
  margin-top: var(--space-30);
}

.has-mt-m {
  margin-top: var(--space-20);
}

.has-mt-l {
  margin-top: var(--space-30);
}

.has-default-border, .bank-transfer-details, .form-area {
  border: 1px solid #424243;
  border-radius: var(--radius-default);
}

.text-10 {
  font-size: var(--text-10);
}

.text-9 {
  font-size: var(--text-9);
}

.text-8 {
  font-size: var(--text-8);
}

.text-7 {
  font-size: var(--text-7);
}

.text-6 {
  font-size: var(--text-6);
}

.rotate {
  transform: rotate(180deg);
}

.mirrored {
  transform: scaleY(-1);
}

.plain-link {
  text-decoration: none;
  color: #0a0800;
}

.home-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-image img {
  width: 100%; /* Sets the width of the image to the width of the parent container */
  max-width: 80%; /* Ensures the image won't exceed its original width */
  height: auto; /* Ensures the image won't be distorted */
  top: 0; /* Optional, for positioning the image */
  left: 0; /* Optional, for positioning the image */
}

.homepage-welcome {
  padding: 5px;
  font-size: var(--text-18);
  background-color: var(--color-body-diff);
  font-weight: bold;
  margin-bottom: var(--space-20);
  color: #b6b6b6;
}
.homepage-welcome span {
  color: #ffffff;
}

* {
  box-sizing: border-box;
}

/* Slideshow container */
.slideshow-container {
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hide the images by default */
.mySlides {
  display: inline-block;
}
.mySlides .image-container {
  display: inline-block;
  background: var(--color-body-diff-2);
  padding: 5px;
  max-width: 100%;
  max-height: 50%;
  border: var(--color-body-diff-2) solid 3px;
  border-radius: 8px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}
.mySlides .image-container img {
  max-width: 100%;
}

.slider-text {
  font-size: var(--text-13);
  margin-top: 3px;
  margin-bottom: 1px;
  padding: 8px;
  background-color: var(--color-body-diff-2);
  border: var(--color-body-diff-2) solid 3px;
  border-radius: 8px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}
.slider-text span {
  color: #ffffff;
  font-weight: bold;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  width: 100%;
  bottom: 1px;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
.undecorated-link-text {
  text-decoration: none;
  color: white;
  font-weight: bold;
}

.gif-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-20);
}

.gif-container img {
  width: 95vw;
  height: auto;
  max-height: 100%;
  background-color: var(--color-body-diff-2);
  border: black solid 3px;
  border-radius: 8px;
}

.paypal-info {
  background-color: var(--color-balance-negative);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-20);
  padding: var(--space-10);
  background-color: #e6e6e6;
  color: black;
  font-weight: bold;
  border: black solid 4px;
  border-radius: 8px;
}
.paypal-info .undecorated-link-text {
  color: black;
  font-weight: bold;
  font-size: var(--text-13);
  color: var(--color-balance-negative);
}

.paypal-info img {
  width: 50vw;
  height: auto;
  max-height: 100%;
  margin: 2px;
}

.default-button {
  padding: var(--space-10);
  color: black;
  font-weight: bold;
  border: black solid 4px;
  border-radius: 8px;
}

.home-login-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.home-login-container .home-login-button {
  background-color: var(--color-balance-positive);
  display: inline-block;
  padding: var(--space-10);
  color: black;
  font-weight: bold;
  font-size: var(--text-18);
  border: black solid 4px;
  border-radius: 8px;
}

.form-area {
  background: #424243;
  padding: 10px;
}

.form-style {
  padding: 10px;
  height: 48px;
  width: 100%;
  font-weight: 500;
  border-radius: 4px;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0.5px;
  outline: none;
  color: #000000;
  background-color: #688059;
  border: none;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
  /*box-shadow: 0 4px 8px 0 rgba(21,21,21,.2);*/
}

.form-style:focus,
.form-style:active {
  border: none;
  outline: none;
  /*box-shadow: 0 4px 8px 0 rgba(21,21,21,.2);*/
}

.btn, .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .bank-transfer-row-copy-button {
  border-radius: 4px;
  height: 44px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
  padding: 0 30px;
  letter-spacing: 1px;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  -ms-flex-pack: center;
  text-align: center;
  border: none;
  background-color: #688059;
  /*color: #102770;*/
}

.form-input-field {
  margin-bottom: 4px;
  background-color: #688059;
}

.form-input-field input::placeholder {
  color: var(--color-placeholder);
}

.form-submit-field {
  margin-top: 10px;
}

.form-header {
  margin-bottom: 10px;
}

.image-form-row {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.image-form-row-image {
  margin-left: auto;
  display: inline-block;
  fill: #ffffff;
  margin-right: 5px;
  padding: 5px;
}

.image-form-row-image img {
  width: 30px;
  height: 30px;
}

.hidden {
  display: none;
}

label {
  padding: 4px;
  color: #5d5d5d;
}

.toggle-switch-container {
  width: 100%;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  margin-left: var(--space-8);
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-body-diff);
  -webkit-transition: 0.4s;
  transition: 0.4s;
  height: 30px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: var(--color-balance-positive);
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/*buttons*/
.next-state-button {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.next-state-button .accept-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  color: black;
  text-decoration: none;
  transition: background-color 0.3s ease;
  border: 2px solid black;
  border-radius: 9px;
  margin-right: var(--space-3);
  margin-left: var(--space-3);
}

.next-state-button button {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 1.1em; /* Increase font size */
  border: 2px solid black;
  border-radius: 9px;
  color: black;
  margin-right: var(--space-3);
  margin-left: var(--space-3);
}

.accept {
  background-color: var(--color-balance-positive); /* Green background */
}

.decline {
  background-color: #c04545; /* Green background */
}

.next-state-button img {
  padding: 5px;
  width: 30px;
  margin-right: 10px; /* Add some margin between the image and text */
}

.next-state-button-text {
  margin-right: 10px;
}

select {
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

/*currency*/
.double-form-style #user_password_first {
  outline: none;
  color: #000000;
  background-color: #688059;
  border: none;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
  margin-bottom: 5px;
}
.double-form-style #user_password_second {
  outline: none;
  color: #000000;
  background-color: #688059;
  border: none;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
  margin-bottom: 5px;
}
.double-form-style .help-text {
  display: none;
}

.form-errors {
  background-color: var(--color-balance-negative);
  font-size: var(--text-13);
  margin-bottom: var(--space-10);
  padding: var(--space-10);
  border: 2px solid var(--color-balance-negative);
  border-radius: 9px;
}

/* Main menu positionning */
.top-navi {
  height: 90px;
  margin-left: 0;
  margin-right: 0;
  /*margin-bottom: 10px;*/
  top: 0;
  bottom: 0;
  left: 0;
  right: -15px;
  background: var(--color-navi-main);
  transform-origin: 0 0;
  transition: all 0.275s 0.1s;
  /*background: linear-gradient(to bottom right, #89bbbe 0%, #89bbbe calc(50% - 11%), #02516c calc(50% - 10%), #02516c 100%);*/
  /*    02516c*/
  /*    02516c*/
  border-bottom: var(--color-navi-secondary) solid 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-navi-left {
  display: flex;
  align-items: center;
}

.navi-favicon {
  border: 1px solid black;
  margin-right: 20px;
}
.navi-favicon img {
  width: var(--size-navi-favicon);
  height: var(--size-navi-favicon);
}

.top-navi-with-tabs {
  margin-bottom: 0;
}

.main-nav {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  text-align: center;
  background: var(--color-balance-positive);
  opacity: 0;
  z-index: -1;
  visibility: hidden;
  transition: all 0.375s;
}

.main-nav.is-open {
  opacity: 1;
  z-index: 100;
  visibility: visible;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

/* Yellow band effect */
.main-nav::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: -15px;
  background: var(--color-balance-positive);
  transform-origin: 0 0;
  transform: skew(-14deg) translateX(-120%);
  transition: all 0.275s 0.1s;
}

.main-nav.is-open::before {
  transform: skew(-14deg) translateX(0);
}

/* Skewing effect on menu links */
.main-nav ul {
  display: inline-flex;
  flex-direction: column;
  height: 93%; /* Should be 100%, but we have a notice message :D */
  align-items: flex-end;
  justify-content: center;
  transform: translateX(-18%) skew(-16deg);
}

.main-nav li {
  display: block;
  margin: 0.5rem 0;
  text-align: right;
  transform: skew(16deg);
}

/* Apparition effect on links */
.main-nav a {
  opacity: 0;
  transform: translateY(-10px);
}

.main-nav.is-open a {
  opacity: 1;
  transform: translateY(0);
}

.main-nav li:nth-child(1) a {
  transition: all 275ms 175ms;
}

.main-nav li:nth-child(2) a {
  transition: all 275ms 225ms;
}

.main-nav li:nth-child(3) a {
  transition: all 275ms 275ms;
}

.main-nav li:nth-child(4) a {
  transition: all 275ms 325ms;
}

.main-nav li:nth-child(5) a {
  transition: all 275ms 375ms;
}

/* Decoration */
.main-nav ul,
.main-nav li {
  list-style: none;
  padding: 0;
}

.main-nav a {
  display: block;
  padding: 12px 0;
  color: var(--color-navi-secondary);
  font-size: 1.4em;
  text-decoration: none;
  font-weight: bold;
}

/* Burger Style: @see: https://codepen.io/CreativeJuiz/full/oMZNXy */
.header-container {
  display: flex; /* Added */
  justify-content: space-between; /* Added */
  align-items: center; /* Added */
  height: 90px; /* Added */
  margin-bottom: 10px; /* Added */
  min-width: 100%;
}

.nav-container {
  display: flex;
  align-items: center;
}

.open-main-nav {
  top: 15px;
  padding-top: 20px;
  right: 15px;
  z-index: 1000;
  background: none;
  border: 0;
  cursor: pointer;
}

.open-main-nav:focus {
  outline: none;
}

.burger {
  position: relative;
  display: block;
  width: 28px;
  height: 4px;
  margin: 0 auto;
  background: var(--color-navi-secondary);
  transform: skew(5deg);
  transition: all 0.275s;
  margin-bottom: 20px;
}

.burger:after,
.burger:before {
  content: "";
  display: block;
  height: 100%;
  background: var(--color-navi-secondary);
  transition: all 0.275s;
}

.burger:after {
  transform: translateY(-12px) translateX(-2px) skew(-20deg);
}

.burger:before {
  transform: translateY(-16px) skew(-10deg);
}

/* Toggle State part */
.is-open .burger {
  transform: skew(5deg) translateY(-8px) rotate(-45deg);
}

.is-open .burger:before {
  transform: translateY(0px) skew(-10deg) rotate(75deg);
}

.is-open .burger:after {
  transform: translateY(-12px) translateX(10px) skew(-20deg);
  opacity: 0;
}

/* MENU Text part */
.burger-text {
  display: block;
  font-size: 0.675rem;
  letter-spacing: 0.05em;
  margin-top: 0.5em;
  text-transform: uppercase;
  font-weight: 500;
  text-align: center;
  color: var(--color-navi-secondary);
}

.home-button-container {
  display: inline-block;
}

.home-button {
  margin-left: var(--space-8);
  /* add some padding between the tiles */
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  cursor: pointer;
  /* add a positioning context for the hover effect */
}
.home-button img {
  width: var(--size-home-button-img);
  height: var(--size-home-button-img);
}

.account-landing-header {
  color: #0a0800;
  margin-top: var(--space-10);
  margin-left: var(--space-8);
  margin-bottom: var(--space-10);
}

.login-button-container {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  cursor: pointer;
}
.login-button-container .login-text {
  margin: var(--space-5);
  margin-left: var(--space-10);
  color: black;
}

.login-button {
  margin-top: 20px;
  margin-left: var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  cursor: pointer;
  /* add a positioning context for the hover effect */
}
.login-button img {
  width: var(--size-home-button-img);
  height: var(--size-home-button-img);
}

/* Main menu positionning */
.footer {
  margin-top: auto;
  background: var(--color-footer);
  background: #171717;
  color: rgba(255, 255, 255, 0.5);
  color: black;
}

.footer-element {
  color: #0a0800;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 20px;
}

.footer-company-logo {
  text-decoration: none;
}
.footer-company-logo a {
  text-decoration: none;
}
.footer-company-logo img {
  border: 2px solid black;
  width: calc(var(--size-footer-company-logo) * 2);
  height: var(--size-footer-company-logo);
}

.footer-info-container {
  background: #171717;
  padding: var(--space-10);
  display: flex;
  justify-content: space-between;
}

.left-column,
.right-column {
  font-size: 0.7em;
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}
.left-column h3,
.right-column h3 {
  color: #f1f1f1;
  font-size: 0.9em;
}
.left-column .footer-text-entry,
.right-column .footer-text-entry {
  margin-bottom: 2px;
}

h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.footer-logo-container {
  background: #232323;
  padding: var(--space-10);
  display: flex;
  align-items: center;
}

.wh-company-logo-left-name {
  margin-left: var(--space-10);
  font-size: 0.7em;
}

.footer-link {
  text-decoration: none;
  color: var(--color-balance-negative);
}

.layout-switch {
  background: #171717;
  text-align: center;
  padding-bottom: var(--space-10);
}
.layout-switch a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7em;
}

/* Style the tab navigation */
.tab-nav {
  display: flex;
}

.tab-button {
  flex: 1;
  background-color: var(--color-navi-tab-button);
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  font-size: 16px;
  border-top: 1px;
  border-bottom: 1px;
  border-left: none;
  border-right: none;
}
.tab-button.debt-header {
  background-color: var(--color-navi-tab-button-negative);
}
.tab-button.debt-header.active {
  background-color: var(--color-balance-negative);
}
.tab-button.loan-header {
  background-color: var(--color-navi-tab-button-positive);
}
.tab-button.loan-header.active {
  background-color: var(--color-balance-positive);
}

.tab-button.active {
  background-color: var(--color-navi-tab-button-active);
  font-weight: bold;
  color: var(--color-navi-tab-button-active-font);
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: none;
}

.tab {
  display: none;
}

.tab.active {
  display: block;
}

.statistics {
  background: #424243;
  border: 2px solid var(--color-header-main);
  border-radius: 8px;
  margin-right: 3px;
  max-width: 100%;
}

.info-container {
  display: flex;
  max-width: 100%;
}

/*--------------------------------------------------------------------------------------------------------------------*/
/*tile navigation*/
.tile-container {
  display: flex;
  flex-wrap: wrap;
  padding: 5px;
  background: #424243;
  margin-bottom: 20px;
  /*border: 2px solid $header-purple;*/
  /*border-radius: 8px;*/
}

.tile {
  width: var(--size-shortcut-img); /* calculate the width to be half of the screen width and subtract some padding */
  height: var(--size-shortcut-img); /* set the height to be equal to the width */
  background-color: var(--color-balance-positive); /* add a background color for styling purposes */
  margin: 5px; /* add some padding between the tiles */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid var(--color-header-main);
  border-radius: 8px;
}

@media (max-width: 768px) {
  .tile {
    width: calc(25% - 20px); /* calculate the width to be half of the screen width and subtract some padding */
    height: calc(25% - 20px); /* set the height to be equal to the width */
  }
}
.tile img {
  width: 100%; /* make the image fill the tile */
  height: 100%;
  object-fit: cover; /* preserve the aspect ratio of the image and crop the excess */
}

/* add a hover effect that displays a caption */
.tile:hover::before {
  content: attr(data-caption); /* use the data-caption attribute as the content */
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5); /* make the caption background semi-transparent */
  color: #fff; /* set the text color to white */
  padding: 10px; /* add some padding to the caption */
  font-size: 14px; /* set the font size */
  line-height: 1.4;
  text-align: center;
  visibility: hidden; /* hide the caption by default */
  opacity: 0; /* make the caption fully transparent */
  transition: visibility 0s, opacity 0.5s linear; /* fade in the caption when it becomes visible */
}

.tile:hover::before {
  visibility: visible; /* show the caption when the tile is hovered */
  opacity: 1; /* make the caption fully opaque */
}

/*--------------------------------------------------------------------------------------------------------------------*/
/*total balance*/
.balance-header-element {
  font-size: 1.5rem;
  font-weight: bold;
  display: inline-block;
}

.balance-header-element-end {
  display: inline-block;
  float: right;
  margin: 10px;
}

.open-text {
  font-size: 1.1rem;
  font-weight: bold;
  padding: 5px;
}

.open-count {
  font-size: 2.1rem;
  font-weight: bold;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  padding-left: 15px;
  padding-right: 10px;
}

.balance-hidden {
  display: none;
}

.balance {
  border: 1px solid var(--color-header-main);
  border-radius: 3px;
}

.balance-header {
  display: flex;
  justify-content: flex-start; /* align flex items to the left */
}

.balance-text-number {
  display: flex;
  flex-direction: column; /* create a vertical flex layout */
  flex: 1; /* take up equal amount of space */
  font-size: 1.5rem;
  font-weight: bold;
}

.balance-image {
  flex: 0 0 auto;
  padding: 10px;
}

.balance-number {
  font-size: 2.5rem;
  padding-left: 10px;
  color: #468527;
}

.balance-text {
  background: var(--color-header-main);
  border: 1px solid var(--color-header-main);
  border-radius: 3px;
}

/*--------------------------------------------------------------------------------------------------------------------*/
/*loan/debt container*/
.balance-part {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 5px;
  background: #424243;
}

.balance-part-header {
  flex: 1;
  display: flex;
}

.balance-part-total {
  flex: 1;
  /* Beträge wie „3.135,22 €“ ohne Umbruch, auch am Handy */
  font-size: clamp(1.3rem, 6.5vw, 2.1rem);
  white-space: nowrap;
  font-weight: bold;
  color: var(--color-balance-positive);
  padding-left: 10px;
  padding-right: 10px;
  align-items: center;
  text-align: center;
}

.balance-part-summary {
  display: flex;
  flex-wrap: nowrap; /* create a vertical flex layout */
  flex: 1;
}

.balance-part-detail-header {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  background: #688059;
  border: 2px solid #000000;
  border-radius: 8px;
  padding: 5px;
  margin: 3px;
  text-decoration: none;
}
.balance-part-detail-header.negative {
  background: var(--color-balance-negative);
}

.balance-part-detail-header-variant {
  flex: 1;
  color: black;
  font-weight: bold;
  font-size: 0.8rem;
}

.balance-part-detail-header-amount {
  flex: 1;
  font-weight: bold;
  font-size: 1.8rem;
  color: black;
  align-items: center;
  text-align: center;
}

.balance-part-header-element {
  flex: 1;
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-right: 4px;
}

.part-balance-part-header-element-image {
  flex: 1;
  height: 100%;
}

.balance-negative {
  color: var(--color-balance-negative);
}

.svg-icon-fill-negative {
  fill: var(--color-balance-negative);
}

.content-card {
  max-width: 100%;
  margin: 5px;
  border: 1px solid #000000;
  border-radius: 10px;
  overflow: hidden;
  background-color: #424243;
  margin-bottom: 20px;
  box-shadow: 8px 8px 8px rgba(108, 145, 91, 0.2);
}

.card-header {
  background-color: #424243;
  padding: 10px;
  border-bottom: 1px solid #424243;
  position: relative;
}

.row {
  display: flex;
  align-items: center;
  /*justify-content: space-between;*/
  width: 100%;
}

.row-date {
  position: relative;
  justify-content: flex-start;
}

.date {
  text-align: left;
  font-size: 18px;
  margin-right: auto;
  display: flex;
  align-items: center;
}

.date-since {
  font-size: 1.2em;
  border-bottom: 4px solid var(--color-balance-positive);
  margin-right: 5px;
}

.date-plain {
  font-size: 0.8em;
}

.collapse-icon {
  width: 24px;
  height: 24px;
}

.row-info {
  font-size: 0.9em;
  font-weight: bold;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.left-side-icon {
  /*for chields*/
  margin-right: 5px;
  display: inline-block;
  /*for itsels*/
  background: var(--color-balance-positive);
  border: 2px solid black;
  color: black;
  padding: 5px;
  border-radius: 8px;
}

.right-side-icon {
  margin-left: auto;
  display: inline-block;
  background: var(--color-balance-positive);
  border: 2px solid black;
  color: black;
  padding: 5px;
  border-radius: 8px;
}

.row-label {
  width: 100%;
  text-align: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 20px;
}

.card-body {
  padding: 10px;
}

.hidden {
  display: none;
}

.rotate {
  transform: rotate(180deg);
}

/* Zugeklappte Karte: Titel höchstens zwei Zeilen mit „…“ (früher eine Zeile, hart ausgeblendet) */
.transparent-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
  /* Aussehen wie früher: schwarz, linksbündig */
  color: var(--color-text);
  text-align: left;
}

.body-element {
  margin-bottom: 15px;
}

.description {
  color: #000000;
  font-size: 1.2em;
}

/*transaction state infos*/
.transaction-details .transaction-state {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.transaction-details .transaction-state.active.is-debt .state-icon {
  background: var(--color-balance-negative);
}
.transaction-details .transaction-state.active .state-icon {
  background: var(--color-balance-positive);
}
.transaction-details .transaction-state.active .state-date {
  color: #d7e6cf;
  font-weight: bold;
}

.state-icon {
  margin-right: 10px;
  margin-bottom: 2px;
  border: 1px solid black;
  color: black;
  padding: 2px;
  /*border-radius: 8px;*/
}

.state-icon img {
  width: 25px;
  height: 25px;
}

.state-date {
  color: black;
}

.content-card.is-debt {
  box-shadow: 8px 8px 8px rgba(169, 57, 57, 0.2);
}
.content-card.is-debt .left-side-icon {
  background-color: var(--color-balance-negative);
}
.content-card.is-debt .right-side-icon {
  background-color: var(--color-balance-negative);
}
.content-card.is-debt .date-since {
  border-bottom: 4px solid var(--color-balance-negative);
}

.payment-account-card-icon img {
  width: 25px;
  height: 25px;
}

.detail-link {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-header-main);
  color: black;
  border-radius: 4px;
  border: 1px black solid;
  max-width: fit-content;
  padding-bottom: var(--space-5);
  padding-top: var(--space-5);
  padding-left: var(--space-20);
  padding-right: var(--space-20);
  text-decoration: none;
}
.detail-link img {
  max-width: 20px;
  max-height: 20px;
  object-fit: contain;
}
.detail-link .detail-link-text {
  padding-left: var(--space-5);
  text-decoration: none;
}

.content-card-payment-option {
  max-width: 100%;
  margin-bottom: 10px;
  border: 1px solid #000000;
  border-radius: 10px;
  overflow: hidden;
  background-color: #424243;
}

.card-header-payment-option {
  background-color: #424243;
  padding: 10px;
  border-bottom: 1px solid #424243;
  position: relative;
}

.row-payment-option {
  display: flex;
  align-items: center;
  /*justify-content: space-between;*/
  max-width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
}

.row-date-payment-option {
  position: relative;
  justify-content: flex-start;
  border-bottom: 2px solid #80596f;
  border-bottom-left-radius: 6px;
}

.row-date-payment-option.active {
  border-bottom: 2px solid var(--color-form-button);
}

.date-payment-option.active {
  background: var(--color-form-button);
  border: 2px solid var(--color-form-button);
}

.date-payment-option {
  text-align: left;
  font-size: 18px;
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  background: #80596f;
  padding: 5px;
  border: 2px solid #80596f;
  border-radius: 4px;
}

.date-since-payment-option {
  margin-right: 5px;
  display: inline-block;
  color: black;
  justify-content: center;
  align-self: center;
}

.date-icon-payment-option {
  margin-left: auto;
  display: inline-block;
  fill: #ffffff;
  margin-right: 20px;
}

.date-icon-payment-option img {
  width: 25px;
  height: 25px;
  /*fill: #ffffff;*/
}

.collapse-icon-payment-option {
  width: 24px;
  height: 24px;
}

.row-info-payment-option {
  font-size: 0.9em;
  font-weight: bold;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.left-side-icon-payment-option {
  /*for chields*/
  margin-right: 5px;
  display: inline-block;
  /*for itsels*/
  background: transparent;
  border: 2px solid black;
  color: black;
  padding: 5px;
  border-radius: 8px;
}

.left-side-icon-payment-option.active {
  /*for itsels*/
  background: #6c915b;
}

.right-side-icon-payment-option {
  margin-left: auto;
  display: inline-block;
  background: #6c915b;
  border: 2px solid black;
  color: black;
  padding: 5px;
  border-radius: 8px;
}

.row-label-payment-option {
  /*width: 100%;*/
  text-align: center;
  font-size: 1.8em;
  font-weight: bold;
  /*margin-top: 10px;*/
  /*margin-bottom: 20px;*/
  /*margin-right: 5px;*/
  background: #4e4e4f;
  border: 1px solid black;
  color: #ccc;
  border-radius: 8px;
  padding: 5px;
}

.card-body-payment-option {
  padding: 10px;
}

.hidden {
  display: none;
}

.rotate {
  transform: rotate(180deg);
}

.transparent-text-payment-option {
  /* Use a linear gradient as the background */
  background: linear-gradient(to right, #ccc, #ccc 90%, transparent);
  /* Clip the text to the gradient */
  -webkit-background-clip: text;
  background-clip: text;
  /* Use a mixin to apply color and gradient to the text */
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
  white-space: nowrap;
  overflow: hidden;
  /*background: #4e4e4f;*/
  /*border: 1px solid black;*/
  color: #ccc;
  border-radius: 8px;
}

.body-element-payment-option {
  margin-bottom: 15px;
}

/*transaction state infos*/
.account-details-payment-option {
  padding: 5px;
  background: #4e4e4f;
  border: 1px solid black;
  color: black;
  border-radius: 8px;
  margin-bottom: var(--space-10);
}

.detail-row-payment-option {
  display: flex;
  flex-direction: column;
  /*align-items: center;*/
  font-size: 1.1em;
  overflow: hidden;
  margin-bottom: 6px;
}

.details-row-name-payment-option {
  margin-right: 10px;
  margin-bottom: 2px;
  /*border: 1px solid black;*/
  /*color: black;*/
  /*padding: 2px;*/
  /*border-radius: 8px;*/
}

.details-row-name-payment-option.active {
  background: #6c915b;
}

.details-row-name-payment-option img {
  width: 25px;
  height: 25px;
}

.state-date-payment-option {
  color: black;
}

.state-date-payment-option.active {
  color: #d7e6cf;
  font-weight: bold;
}

.next-state-button-payment-option {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.next-state-button-payment-option button {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 1.1em; /* Increase font size */
  border: 2px solid black;
  color: black;
  margin-right: 5px;
  margin-left: 5px;
}

.accept {
  background-color: #6c915b; /* Green background */
}

.decline {
  background-color: #c04545; /* Green background */
}

.next-state-button-payment-option img {
  padding: 5px;
  width: 30px;
  margin-right: 10px; /* Add some margin between the image and text */
}

.next-state-button-text-payment-option {
  margin-right: 10px;
}

.account-overview-area-header {
  display: flex;
  flex-direction: row;
}

.account-overview-area-header-text {
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  border-bottom: 4px solid var(--color-header-main);
  margin-right: 10px;
  margin-bottom: 15px;
}

.account-overview-area-header-image {
  height: 100%;
}

.account-overview-area-empty {
  padding: 8px;
  background: #424243;
  border: 3px solid var(--color-header-main);
  border-radius: 8px;
}

/*--------------------------------------------------------------------------------------------------------------------*/
/*form*/
body {
  background: black;
  margin: 0;
  align-content: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.body-container {
  background: var(--color-body-main);
  color: #d7e6cf;
  font-family: arial, verdana, sans-serif;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1000px;
  min-height: 100vh;
  margin: 0 auto;
}
@media (max-width: 1000px) {
  .body-container {
    max-width: 100vw;
    padding: 0;
    overflow-x: hidden;
  }
}

.page-header, .extra-page-header {
  background: var(--color-header-main);
  font-weight: bold;
  font-size: 1.9em;
  display: flex;
  justify-content: flex-start;
  padding: 15px;
  margin-bottom: var(--space-10);
}

.page-header-text {
  margin-right: 5px;
  display: inline-block;
  color: black;
}

.page-header-image {
  margin-left: auto;
  display: inline-block;
  fill: #ffffff;
  margin-right: 20px;
}

.page-header-image img {
  width: 30px;
  height: 30px;
  fill: #ffffff;
}

.extra-page-header {
  margin-bottom: 0px;
}

.extra-page-header-image {
  margin-left: auto;
  display: inline-block;
  fill: #ffffff;
  margin-right: 20px;
}
.extra-page-header-image img {
  width: var(--size-loan-debt-switch-img);
  height: var(--size-loan-debt-switch-img);
  transition: transform 0.3s ease-in-out;
  border-radius: 50%;
}
.extra-page-header-image img.debt-header {
  background-color: var(--color-balance-positive);
}
.extra-page-header-image img.loan-header {
  background-color: var(--color-balance-negative);
}
.extra-page-header-image img:hover {
  transform: rotateY(180deg);
}

.loan-header {
  background-color: var(--color-balance-positive);
}

.debt-header {
  background-color: var(--color-balance-negative);
}

.content-body {
  height: 100%;
  margin-right: var(--space-8);
  margin-left: var(--space-8);
  overflow: auto;
}

/*info texts */
.empty-list-info {
  max-width: 100%;
  padding: 15px;
  font-size: 1.5em;
  margin: 0px auto var(--space-20);
  border: 1px solid var(--color-body-diff);
  background-color: var(--color-body-diff);
  border-radius: 8px;
}
.empty-list-info.is-warning {
  background-color: var(--color-balance-negative);
}

.font-size-1-2 {
  font-size: 1.2em !important;
}

.color-b {
  color: #000000 !important;
}

.bold {
  font-weight: bold;
}

.has-mb-s {
  margin-bottom: var(--space-10);
}

.has-mb-m {
  margin-bottom: var(--space-20);
}

.has-mb-l {
  margin-top: var(--space-30);
}

.has-mt-m {
  margin-top: var(--space-20);
}

.has-mt-l {
  margin-top: var(--space-30);
}

.has-default-border, .bank-transfer-details, .form-area {
  border: 1px solid #424243;
  border-radius: var(--radius-default);
}

.text-10 {
  font-size: var(--text-10);
}

.text-9 {
  font-size: var(--text-9);
}

.text-8 {
  font-size: var(--text-8);
}

.text-7 {
  font-size: var(--text-7);
}

.text-6 {
  font-size: var(--text-6);
}

.rotate {
  transform: rotate(180deg);
}

.mirrored {
  transform: scaleY(-1);
}

.plain-link {
  text-decoration: none;
  color: #0a0800;
}

.home-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-image img {
  width: 100%; /* Sets the width of the image to the width of the parent container */
  max-width: 80%; /* Ensures the image won't exceed its original width */
  height: auto; /* Ensures the image won't be distorted */
  top: 0; /* Optional, for positioning the image */
  left: 0; /* Optional, for positioning the image */
}

.homepage-welcome {
  padding: 5px;
  font-size: var(--text-18);
  background-color: var(--color-body-diff);
  font-weight: bold;
  margin-bottom: var(--space-20);
  color: #b6b6b6;
}
.homepage-welcome span {
  color: #ffffff;
}

* {
  box-sizing: border-box;
}

/* Slideshow container */
.slideshow-container {
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hide the images by default */
.mySlides {
  display: inline-block;
}
.mySlides .image-container {
  display: inline-block;
  background: var(--color-body-diff-2);
  padding: 5px;
  max-width: 100%;
  max-height: 50%;
  border: var(--color-body-diff-2) solid 3px;
  border-radius: 8px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}
.mySlides .image-container img {
  max-width: 100%;
}

.slider-text {
  font-size: var(--text-13);
  margin-top: 3px;
  margin-bottom: 1px;
  padding: 8px;
  background-color: var(--color-body-diff-2);
  border: var(--color-body-diff-2) solid 3px;
  border-radius: 8px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}
.slider-text span {
  color: #ffffff;
  font-weight: bold;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  width: 100%;
  bottom: 1px;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
.undecorated-link-text {
  text-decoration: none;
  color: white;
  font-weight: bold;
}

.gif-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-20);
}

.gif-container img {
  width: 95vw;
  height: auto;
  max-height: 100%;
  background-color: var(--color-body-diff-2);
  border: black solid 3px;
  border-radius: 8px;
}

.paypal-info {
  background-color: var(--color-balance-negative);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-20);
  padding: var(--space-10);
  background-color: #e6e6e6;
  color: black;
  font-weight: bold;
  border: black solid 4px;
  border-radius: 8px;
}
.paypal-info .undecorated-link-text {
  color: black;
  font-weight: bold;
  font-size: var(--text-13);
  color: var(--color-balance-negative);
}

.paypal-info img {
  width: 50vw;
  height: auto;
  max-height: 100%;
  margin: 2px;
}

.default-button {
  padding: var(--space-10);
  color: black;
  font-weight: bold;
  border: black solid 4px;
  border-radius: 8px;
}

.home-login-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.home-login-container .home-login-button {
  background-color: var(--color-balance-positive);
  display: inline-block;
  padding: var(--space-10);
  color: black;
  font-weight: bold;
  font-size: var(--text-18);
  border: black solid 4px;
  border-radius: 8px;
}

.form-area {
  background: #424243;
  padding: 10px;
}

.form-style {
  padding: 10px;
  height: 48px;
  width: 100%;
  font-weight: 500;
  border-radius: 4px;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0.5px;
  outline: none;
  color: #000000;
  background-color: #688059;
  border: none;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
  /*box-shadow: 0 4px 8px 0 rgba(21,21,21,.2);*/
}

.form-style:focus,
.form-style:active {
  border: none;
  outline: none;
  /*box-shadow: 0 4px 8px 0 rgba(21,21,21,.2);*/
}

.btn, .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .bank-transfer-row-copy-button {
  border-radius: 4px;
  height: 44px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
  padding: 0 30px;
  letter-spacing: 1px;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  -ms-flex-pack: center;
  text-align: center;
  border: none;
  background-color: #688059;
  /*color: #102770;*/
}

.form-input-field {
  margin-bottom: 4px;
  background-color: #688059;
}

.form-input-field input::placeholder {
  color: var(--color-placeholder);
}

.form-submit-field {
  margin-top: 10px;
}

.form-header {
  margin-bottom: 10px;
}

.image-form-row {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.image-form-row-image {
  margin-left: auto;
  display: inline-block;
  fill: #ffffff;
  margin-right: 5px;
  padding: 5px;
}

.image-form-row-image img {
  width: 30px;
  height: 30px;
}

.hidden {
  display: none;
}

label {
  padding: 4px;
  color: #5d5d5d;
}

.toggle-switch-container {
  width: 100%;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  margin-left: var(--space-8);
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-body-diff);
  -webkit-transition: 0.4s;
  transition: 0.4s;
  height: 30px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: var(--color-balance-positive);
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/*buttons*/
.next-state-button {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.next-state-button .accept-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  color: black;
  text-decoration: none;
  transition: background-color 0.3s ease;
  border: 2px solid black;
  border-radius: 9px;
  margin-right: var(--space-3);
  margin-left: var(--space-3);
}

.next-state-button button {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 1.1em; /* Increase font size */
  border: 2px solid black;
  border-radius: 9px;
  color: black;
  margin-right: var(--space-3);
  margin-left: var(--space-3);
}

.accept {
  background-color: var(--color-balance-positive); /* Green background */
}

.decline {
  background-color: #c04545; /* Green background */
}

.next-state-button img {
  padding: 5px;
  width: 30px;
  margin-right: 10px; /* Add some margin between the image and text */
}

.next-state-button-text {
  margin-right: 10px;
}

select {
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

/*currency*/
.double-form-style #user_password_first {
  outline: none;
  color: #000000;
  background-color: #688059;
  border: none;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
  margin-bottom: 5px;
}
.double-form-style #user_password_second {
  outline: none;
  color: #000000;
  background-color: #688059;
  border: none;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
  margin-bottom: 5px;
}
.double-form-style .help-text {
  display: none;
}

.form-errors {
  background-color: var(--color-balance-negative);
  font-size: var(--text-13);
  margin-bottom: var(--space-10);
  padding: var(--space-10);
  border: 2px solid var(--color-balance-negative);
  border-radius: 9px;
}

.transaction-summary {
  background: #424243;
  border: 2px solid var(--color-header-main);
  border-radius: 8px;
  margin-right: var(--space-3);
  max-width: 100%;
  margin-bottom: 15px;
}

.summary-header {
  color: black;
  font-weight: bold;
  font-size: 1.8rem;
  background-color: var(--color-header-main);
  border: 1px solid var(--color-header-main);
}

.summary-info-filed, .exchange-event {
  display: flex;
  flex-direction: column;
  padding: 5px;
  background-color: var(--color-body-diff);
  border: 1px solid var(--color-header-main);
  margin: 5px 0px;
}

.summary-info-filed-row, .exchange-list-row {
  display: flex;
  margin: 5px;
}

.summary-info-filed-entry, .exchange-list-entry {
  color: black;
  display: inline-block;
  margin-right: 5px;
  font-size: 1.3em;
}

.summary-transaction-details {
  padding: 5px;
  background-color: var(--color-body-diff);
  border: 1px solid var(--color-header-main);
  margin-bottom: var(--space-10);
}

.exchange-choice {
  max-width: 100%;
  background-color: var(--color-body-diff);
}

.exchange-preview {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  margin-top: 15px;
}

.exchange-preview-image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.exchange-preview-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  width: 140px;
  height: 140px;
}

.exchange-result-image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 10px;
}
.exchange-result-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  width: 50px;
  height: 50px;
}

.exchange-preview-part {
  background-color: var(--color-body-diff);
  margin-right: var(--space-3);
  margin-left: var(--space-3);
  max-width: 100%;
}

.exchange-preview-part.positive {
  border-right: 10px solid var(--color-balance-positive);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-bottom-left-radius: 8px;
}

.exchange-preview-part.negative {
  border-left: 10px solid var(--color-balance-negative);
  border-top-right-radius: 8px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.exchange-preview-part-arrow.positive {
  border-right: 10px solid var(--color-balance-positive);
  padding-bottom: 30px;
  border-bottom-right-radius: 8px;
  margin-right: var(--space-3);
}

.exchange-preview-part-arrow.negative {
  border-left: 10px solid var(--color-balance-negative);
  padding-bottom: 30px;
  border-top-left-radius: 8px;
  margin-left: var(--space-3);
}

.exchange-preview-part-header {
  padding: 5px;
  font-size: 1.3em;
  text-align: center;
}

.exchange-preview-part-header.positive {
  background-color: var(--color-balance-positive);
  border-left: 10px solid var(--color-balance-positive);
  border-top-left-radius: 8px;
}

.exchange-preview-part-header.negative {
  background-color: var(--color-balance-negative);
  border-left: 10px solid var(--color-balance-negative);
  border-bottom-right-radius: 8px;
}

.exchange-info-container {
  display: flex;
  flex-direction: column;
  padding: 5px;
  background-color: var(--color-body-diff);
  border-radius: 8px;
}

.exchange-info-field-row {
  display: flex;
  margin: 5px;
}

.exchange-info-field-entry {
  color: black;
  display: inline-block;
  margin-right: 5px;
  font-size: 1.3em;
}

.exchange-result {
  border-radius: 8px;
  margin: 20px var(--space-3);
  color: #0a0800;
  padding: 5px;
  font-size: 1.2em;
}

.exchange-result-number {
  font-weight: bold;
  font-size: 1.8em;
}

.exchange-result.negative {
  background-color: var(--color-balance-negative);
}

.exchange-result.positive {
  background-color: var(--color-balance-positive);
}

.exchange-list {
  background: #424243;
  margin: 20px var(--space-3) 10px;
  max-width: 100%;
  font-size: 0.7em;
}
.exchange-list .list-header {
  margin-left: var(--space-10);
  font-size: var(--text-18);
  color: black;
  font-weight: bold;
}

.exchange-event {
  margin-right: var(--space-10);
  margin-left: var(--space-10);
  margin-bottom: var(--space-5);
}

.reason {
  background-color: var(--color-form-button);
  padding: 3px;
  border-radius: 4px;
}

.exchange-event-visual-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  color: #0a0800;
  font-weight: bold;
  margin-top: 5px;
}

.exchange-list-row-image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.exchange-list-row-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  width: 10px;
  height: 10px;
}

.exchange-event-visual-amounts {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-10);
}

.exchange-event-visual-amounts span {
  margin: 0 var(--space-10);
}

.exchange-event-visual-users {
  display: flex;
}

.exchange-event-visual-users span {
  margin: 0 var(--space-10);
}

.exchange-collapsable-row {
  display: flex;
  justify-content: flex-end;
}

.exchange-collapsable {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-header-main);
  color: black;
  border-radius: 4px;
  border: 1px black solid;
  max-width: fit-content;
  padding-left: var(--space-20);
  padding-right: var(--space-20);
}
.exchange-collapsable img {
  max-width: 50px;
  max-height: 50px;
  object-fit: contain;
}
.exchange-collapsable.deactivated {
  background-color: var(--color-body-diff);
}
.exchange-collapsable.active {
  background-color: var(--color-body-diff);
}
.bank-transfer-details {
  background-color: var(--color-body-diff);
  padding: 15px;
  margin-bottom: var(--space-20);
}
.bank-transfer-details .bank-transfer-line {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-10);
  border-bottom: solid 1px black;
}
.bank-transfer-details .bank-transfer-line .bank-transfer-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: var(--space-10);
}
.bank-transfer-details .bank-transfer-line .bank-transfer-row .bank-transfer-row-date {
  color: var(--color-font-white);
}
.bank-transfer-details .bank-transfer-line .bank-transfer-row .bank-transfer-row-icon {
  margin-right: 10px;
  color: var(--color-font-white);
  padding: 1px;
  background-color: var(--color-font-white);
  border: 1px solid black;
}
.bank-transfer-details .bank-transfer-line .bank-transfer-row-icon img {
  width: 25px;
  height: 25px;
}
.bank-transfer-details .bank-transfer-line .bank-transfer-row-copy {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: var(--space-10);
}
.bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .bank-transfer-row-copy-value {
  display: inline-block;
  margin-left: var(--space-3);
  color: #0a0800;
  font-weight: bold;
}
.bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .bank-transfer-row-copy-button {
  height: 30px;
  padding-left: 10px;
  padding-right: 10px;
  margin-left: auto;
  margin-right: var(--space-3);
}
.bank-transfer-details .bank-transfer-line.copied {
  color: black;
}
.bank-transfer-details .bank-transfer-line.copied .bank-transfer-row .bank-transfer-row-date {
  color: black;
}
.bank-transfer-details .bank-transfer-line.copied .bank-transfer-row .bank-transfer-row-icon {
  background-color: var(--color-balance-positive);
}

.flash-message {
  background-color: var(--color-balance-positive);
  animation: fadeInOut 3s ease-in-out forwards;
  padding: 10px;
  margin-bottom: 0;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.form-field-error {
  margin: calc(-1 * var(--space-xs)) 0 var(--space-s);
  padding: var(--space-xs) var(--space-s);
  border-radius: var(--radius);
  background-color: var(--color-negative);
  color: var(--color-text-inverse);
  font-size: var(--text-8);
}

body {
  background: var(--color-bg);
}

.top-navi img[src*=".svg"],
.statistics img[src*=".svg"] {
  filter: invert(96%) sepia(4%) saturate(200%) hue-rotate(90deg);
}

.body-container {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

.content-body {
  margin-right: var(--space-m);
  margin-left: var(--space-m);
}
@media (max-width: 480px) {
  .content-body {
    margin-right: 14px;
    margin-left: 14px;
  }
}

.page-header,
.extra-page-header {
  background: transparent;
  align-items: center;
  font-size: 1.75em;
  font-weight: 750;
  letter-spacing: -0.02em;
  padding: var(--space-m) var(--space-m) var(--space-s);
  margin-bottom: var(--space-xs);
}
@media (max-width: 480px) {
  .page-header,
  .extra-page-header {
    padding-left: 14px;
    padding-right: 14px;
  }
}

.page-header-text {
  color: var(--color-text);
}

.page-header-image,
.extra-page-header-image {
  display: flex;
  gap: 8px;
  margin-right: 0;
}

.page-header-image {
  gap: 8px;
}

.page-header-image img {
  box-sizing: content-box;
  width: 22px;
  height: 22px;
  padding: 10px;
  border-radius: 50%;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--color-border);
}

.page-header.debt-header .page-header-text, .debt-header.extra-page-header .page-header-text {
  color: var(--color-negative);
}

.page-header.loan-header .page-header-text, .loan-header.extra-page-header .page-header-text {
  color: var(--color-positive);
}

.empty-list-info {
  font-size: 1.05em;
  line-height: 1.5;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-s);
  padding: 16px 18px;
}
.empty-list-info.is-warning {
  background: var(--color-negative-soft);
  color: var(--color-negative);
}

.has-default-border, .form-area, .bank-transfer-details {
  border: none;
  border-radius: var(--radius);
}

.plain-link {
  color: var(--color-text);
}

.undecorated-link-text {
  color: var(--color-primary);
  font-weight: 600;
}

h3 {
  font-weight: 650;
}

.homepage-welcome {
  background: transparent;
  color: var(--color-text-muted);
  font-size: 1.6em;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.2;
  padding: var(--space-l) var(--space-m) var(--space-s);
}
.homepage-welcome span {
  color: var(--color-primary);
}

.slider-text {
  background: var(--color-surface);
  box-shadow: var(--shadow-s);
  border: none;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 14px 16px 8px;
  color: var(--color-text-muted);
}
.slider-text span {
  color: var(--color-text);
}

.mySlides .image-container {
  background: #fff;
  border: none;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 8px 16px 16px;
  box-shadow: var(--shadow);
}
.mySlides .image-container img {
  border-radius: var(--radius-s);
}

.home-login-container .home-login-button,
.default-button {
  border: none;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-weight: 650;
  padding: 14px 28px;
  box-shadow: var(--shadow-s);
}

.home-login-container .home-login-button {
  font-size: 1.15em;
}

.default-button.decline {
  background: var(--color-negative-soft);
  color: var(--color-negative);
}

.gif-container img {
  border: none;
  border-radius: var(--radius);
}

.paypal-info {
  border: none;
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow-s);
}
.paypal-info .undecorated-link-text {
  color: var(--color-primary);
}

.extra-page-header-image img,
.extra-page-header-image img.debt-header,
.extra-page-header-image img.loan-header {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--color-border);
  padding: 6px;
  box-sizing: content-box;
}

.top-navi {
  height: 64px;
  right: 0;
  padding: 0 6px 0 12px;
  background: transparent;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.top-navi::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(22, 54, 40, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.navi-favicon {
  border: none;
  margin-right: 12px;
  display: flex;
}
.navi-favicon img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-s);
}

.header-container {
  height: 64px;
  margin-bottom: 0;
}

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

.account-landing-header {
  order: 2;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95em;
  font-weight: 600;
}

.home-button {
  margin-left: 0;
}
.home-button img {
  width: 26px;
  height: 26px;
}

.login-button-container {
  flex-direction: row;
  align-items: center;
}
.login-button-container .login-text {
  margin: 0 0 0 8px;
  color: var(--color-text);
  font-weight: 600;
}

.login-button {
  margin: 0;
}
.login-button img {
  width: 26px;
  height: 26px;
}

.open-main-nav {
  padding: 10px;
}

.burger,
.burger:after,
.burger:before {
  background: var(--color-text);
  height: 2px;
  border-radius: 2px;
}

.burger {
  width: 22px;
  transform: none;
  margin-bottom: 14px;
}

.burger:after {
  transform: translateY(-7px);
}

.burger:before {
  transform: translateY(-9px);
}

.is-open .burger {
  transform: translateY(-4px) rotate(-45deg);
}

.is-open .burger:before {
  transform: translateY(0) rotate(90deg);
}

.is-open .burger:after {
  transform: translateY(-7px);
  opacity: 0;
}

.burger-text {
  color: var(--color-text-muted);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  margin-top: 0;
}

.main-nav {
  position: fixed;
  background: var(--color-surface);
}

.main-nav::before {
  display: none;
}

.main-nav ul {
  transform: none;
  align-items: center;
  height: 100%;
}

.main-nav li {
  transform: none;
  text-align: center;
}

.main-nav a {
  color: var(--color-text);
  font-size: 1.6em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.tab-nav {
  gap: 2px;
  margin: var(--space-s) var(--space-m) 14px;
  padding: 4px;
  background: rgba(24, 33, 28, 0.06);
  border-radius: 15px;
}
@media (max-width: 480px) {
  .tab-nav {
    margin-left: 14px;
    margin-right: 14px;
  }
}

.extra-page-header + .tab-nav {
  margin-top: 0;
}

.list-toolbar {
  display: flex;
  gap: var(--space-s);
  margin: 0 var(--space-m) var(--space-s);
}
@media (max-width: 480px) {
  .list-toolbar {
    margin-left: 14px;
    margin-right: 14px;
  }
}

.list-search {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: var(--space-s);
  padding: 0 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  color: var(--color-text-muted);
}
.list-search:focus-within {
  border-color: var(--color-primary);
}

.list-sort {
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: 0.85em;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
}
.list-sort:hover, .list-sort:focus-visible {
  border-color: var(--color-primary);
  color: var(--color-text);
}

.list-sort-icon {
  flex: none;
  width: 18px;
  height: 18px;
}

.list-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin: var(--space-s) 0 var(--space-m);
  padding: 11px 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: 0.9em;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
}
.list-more:hover, .list-more:focus-visible {
  border-color: var(--color-primary);
  color: var(--color-text);
}
[aria-busy=true] .list-more {
  opacity: 0.6;
}

.list-more-icon {
  flex: none;
  width: 18px;
  height: 18px;
}

.list-search-icon {
  flex: none;
  width: 18px;
  height: 18px;
}

.list-search-input {
  flex: 1;
  min-width: 0;
  padding: 11px 0;
  background: transparent;
  border: none;
  outline: none;
  font: inherit;
  color: var(--color-text);
}

.list-search-summary {
  margin: 0 var(--space-m) 14px;
  font-size: 0.85em;
  color: var(--color-text-muted);
}
@media (max-width: 480px) {
  .list-search-summary {
    margin-left: 14px;
    margin-right: 14px;
  }
}

.tab-button {
  min-width: 0;
  background: transparent;
  border: none;
  border-radius: var(--radius-s);
  padding: 8px 2px 7px;
  font-family: inherit;
  font-size: 0.85em;
  font-weight: 600;
  color: var(--color-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  line-height: 1.15;
  transition: background-color 150ms, color 150ms;
}
.tab-button .tab-icon {
  width: 20px;
  height: 20px;
  flex: none;
  opacity: 0.7;
}
.tab-button.active .tab-icon {
  opacity: 1;
}
.tab-button.debt-header, .tab-button.loan-header {
  background: transparent;
}
.tab-button.debt-header.active {
  background: var(--color-negative-soft);
  color: var(--color-negative);
}
.tab-button.loan-header.active {
  background: var(--color-positive-soft);
  color: var(--color-positive);
}

.tab-button.active {
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow-s);
}

.footer {
  margin-top: auto;
  padding-top: var(--space-l);
  background: transparent;
}

.footer-info-container,
.footer-logo-container {
  background: transparent;
}

.footer-info-container {
  border-top: 1px solid var(--color-border);
  padding: var(--space-m) var(--space-s) var(--space-s);
}

.left-column,
.right-column {
  color: var(--color-text-muted);
}
.left-column h3,
.right-column h3 {
  color: var(--color-text);
}

.footer-link {
  color: var(--color-primary);
}

.footer-logo-container {
  justify-content: center;
  color: var(--color-text-muted);
  padding-bottom: var(--space-l);
}

.footer-company-logo img {
  border: none;
  border-radius: 6px;
}

.flash-message {
  background: var(--color-primary);
  color: var(--color-on-primary);
  margin: var(--space-s) var(--space-m) 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-weight: 600;
}

.flash-warning {
  background: var(--color-negative);
}

.has-bottom-nav .body-container {
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
}

.has-bottom-nav .home-button-container,
.has-bottom-nav .tile-container {
  display: none;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 1000px);
  z-index: 60;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  background: rgba(246, 248, 246, 0.88);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-top: 1px solid var(--color-border);
  font-family: var(--font);
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 0;
  color: var(--color-text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.bottom-nav-item svg {
  width: 24px;
  height: 24px;
}
.bottom-nav-item.is-active {
  color: var(--color-positive);
}
.bottom-nav-item.is-primary {
  color: var(--color-text);
}
.bottom-nav-item.is-primary svg {
  box-sizing: content-box;
  width: 26px;
  height: 26px;
  padding: 13px;
  margin-top: -26px;
  border-radius: 50%;
  color: var(--color-on-primary);
  background: var(--color-primary);
  box-shadow: 0 0 0 5px var(--color-surface);
  stroke-width: 2.2;
}

.main-nav.is-open {
  z-index: 100;
}

.has-bottom-nav .footer {
  padding-top: var(--space-m);
}

.has-bottom-nav .footer-info-container {
  font-size: 0.9em;
  opacity: 0.75;
}

body:has(.main-nav.is-open) .bottom-nav {
  display: none;
}

.top-navi {
  border-bottom: none;
}

.account-landing-header,
.login-button-container .login-text {
  color: var(--color-on-anchor-muted);
}

.burger,
.burger:after,
.burger:before {
  background: var(--color-on-anchor);
}

.burger-text {
  color: var(--color-on-anchor-muted);
}

.open-main-nav.is-open .burger,
.open-main-nav.is-open .burger:after,
.open-main-nav.is-open .burger:before {
  background: var(--color-text);
}

.open-main-nav.is-open .burger-text {
  color: var(--color-text-muted);
}

.footer-info-container,
.footer-company-logo img {
  display: none;
}

.footer {
  padding-top: var(--space-m);
}

.footer-logo-container {
  padding-top: 0;
  font-size: 0.8em;
}

.wh-company-logo-left-name {
  margin-left: 0;
}

.form-area {
  background: var(--color-surface);
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}

.form-input-field {
  background: var(--color-surface-raised);
  border-radius: var(--radius-s);
  margin-bottom: 10px;
  border: 1px solid transparent;
  transition: border-color 150ms ease, background-color 150ms ease;
}
.form-input-field:focus-within {
  background: var(--color-surface);
  border-color: var(--color-primary);
}
.form-input-field label {
  color: var(--color-text-muted);
  font-size: 0.75em;
  font-weight: 600;
  padding: 8px 12px 0;
}

.image-form-row-image {
  margin-left: 6px;
  margin-right: 0;
}

.image-form-row-image img {
  width: 24px;
  height: 24px;
  opacity: 0.75;
}

.form-style {
  background: transparent;
  color: var(--color-text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  border-radius: var(--radius-s);
}

select.form-style {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--color-text-muted) 50%), linear-gradient(135deg, var(--color-text-muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 32px;
}

.btn, .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .bank-transfer-row-copy-button {
  width: 100%;
  height: 48px;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-family: inherit;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}
.btn:hover, .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .bank-transfer-row-copy-button:hover {
  filter: brightness(1.08);
}

.form-submit-field + .form-submit-field .btn, .form-submit-field + .form-submit-field .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .bank-transfer-row-copy-button, .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .form-submit-field + .form-submit-field .bank-transfer-row-copy-button,
a.btn.plain-link,
.bank-transfer-details .bank-transfer-line .bank-transfer-row-copy a.plain-link.bank-transfer-row-copy-button {
  background: var(--color-surface-raised);
  color: var(--color-text);
}

.btn.decline, .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .decline.bank-transfer-row-copy-button,
.form-submit-field + .form-submit-field .btn.decline {
  background: var(--color-negative-soft);
  color: var(--color-negative);
}

a.btn.plain-link, .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy a.plain-link.bank-transfer-row-copy-button {
  display: flex;
  margin-top: 10px;
}

.form-submit-field {
  margin-top: 12px;
}

.form-errors {
  background: var(--color-negative-soft);
  color: var(--color-negative);
  border: none;
  border-radius: var(--radius-s);
  font-size: 1em;
  font-weight: 600;
}

.form-field-error {
  margin: -6px 0 10px;
  border-radius: var(--radius-s);
  background: var(--color-negative-soft);
  color: var(--color-negative);
  font-size: 0.85em;
  font-weight: 600;
}

.slider {
  background: var(--color-border);
}

input:checked + .slider {
  background: var(--color-primary);
}

.slider:before {
  box-shadow: var(--shadow-s);
}

.next-state-button {
  flex-wrap: wrap;
  gap: 8px;
}
.next-state-button .accept-link,
.next-state-button button {
  border: none;
  border-radius: var(--radius-pill);
  margin: 0;
  padding: 2px 14px 2px 6px;
  font-family: inherit;
  font-size: 0.9em;
  font-weight: 650;
  color: var(--color-text);
  background: var(--color-surface);
  box-shadow: var(--shadow-s);
}
.next-state-button .accept-link.accept,
.next-state-button button.accept {
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
}
.next-state-button .accept-link.decline,
.next-state-button button.decline {
  background: var(--color-negative-soft);
  color: var(--color-negative);
}
.next-state-button img {
  width: 28px;
  margin-right: 4px;
}

.form-input-field .ts-wrapper {
  flex: 1;
  min-width: 0;
}
.form-input-field .ts-wrapper .ts-control {
  min-height: 48px;
  padding: 10px 32px 10px 10px;
  border: none;
  border-radius: var(--radius-s);
  background: transparent;
  box-shadow: none;
  color: var(--color-text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  align-items: center;
}
.form-input-field .ts-wrapper .ts-control input {
  font-size: 16px;
  color: var(--color-text);
}
.form-input-field .ts-wrapper.focus .ts-control, .form-input-field .ts-wrapper.single .ts-control, .form-input-field .ts-wrapper.single.input-active .ts-control {
  background: transparent;
  background-image: none;
  box-shadow: none;
}
.form-input-field .ts-wrapper .ts-dropdown {
  margin-top: 6px;
  border: none;
  border-radius: var(--radius-s);
  background: var(--color-surface);
  box-shadow: 0 0 0 1px var(--color-border), 0 8px 24px rgba(20, 30, 25, 0.12);
  font-family: inherit;
  font-size: 16px;
  overflow: hidden;
}
.form-input-field .ts-wrapper .ts-dropdown .option {
  padding: 12px 14px;
  color: var(--color-text);
}
.form-input-field .ts-wrapper .ts-dropdown .active {
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
}
.form-input-field .ts-wrapper .ts-dropdown .highlight {
  background: transparent;
  font-weight: 750;
}
.form-input-field .ts-wrapper .clear-button {
  color: var(--color-text-muted);
}

.form-input-field .ts-wrapper.multi {
  height: auto;
  padding: 0;
}
.form-input-field .ts-wrapper.multi .ts-control {
  gap: 6px;
  padding: 8px 10px;
}
.form-input-field .ts-wrapper.multi .ts-control > input {
  min-width: 7rem;
}
.form-input-field .ts-wrapper.multi .ts-control > .item {
  margin: 0;
  padding: 4px 4px 4px 10px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  font-size: 15px;
  font-weight: 600;
}
.form-input-field .ts-wrapper.multi .ts-control > .item .remove {
  margin-left: 4px;
  padding: 0 6px;
  border: none;
  border-radius: var(--radius-pill);
  color: inherit;
}

.claim-preview {
  display: flex;
  align-items: center;
  gap: var(--space-s);
  margin: var(--space-s) 0 0;
  padding: 12px 14px;
  border-radius: var(--radius-s);
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  font-size: 0.95em;
  line-height: 1.4;
}
.claim-preview svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.form-input-field {
  position: relative;
}

.info-tip-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-text-muted);
  font: inherit;
  cursor: pointer;
}
.info-tip-button svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.info-tip-button:hover, .info-tip-button:focus-visible {
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
}
.info-tip-button.field-help {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 1;
}
.info-tip-button.page-help {
  margin: 0 0 var(--space-s);
  padding: 6px 12px 6px 8px;
  color: var(--color-primary-dark);
  font-size: 0.95em;
  font-weight: 600;
}

.info-tip {
  width: min(100% - 32px, 420px);
  max-height: min(80vh, 560px);
  margin: auto;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: 0 0 0 1px var(--color-border), 0 16px 40px rgba(20, 30, 25, 0.22);
  overflow: auto;
}
.info-tip::backdrop {
  background: rgba(20, 30, 25, 0.35);
}

.info-tip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-s);
  padding: 14px 10px 4px 18px;
  font-size: 1.1em;
}

.info-tip-close {
  display: inline-flex;
  padding: 6px;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
}
.info-tip-close svg {
  width: 22px;
  height: 22px;
}

.info-tip-body {
  padding: 4px 18px 18px;
  font-size: 1em;
  line-height: 1.5;
  color: var(--color-text-muted);
}
.info-tip-body ol {
  margin: 0;
  padding-left: 1.2em;
}
.info-tip-body li + li {
  margin-top: 6px;
}
.info-tip-body p {
  margin: 10px 0 0;
}
.info-tip-body strong {
  color: var(--color-text);
}

.form-input-field:has(> .field-help) > label {
  padding-right: 36px;
}

.login-link-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-m);
  padding: 8px 4px;
  color: var(--color-primary-dark);
  font-weight: 600;
  text-decoration: none;
}
.login-link-hint svg {
  width: 20px;
  height: 20px;
}
.login-link-hint:hover span {
  text-decoration: underline;
}

.settings-heading {
  margin: var(--space-m) 0 var(--space-s);
  color: var(--color-text-muted);
  font-size: 0.8em;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.settings-heading:first-of-type {
  margin-top: 0;
}

.settings-danger {
  margin-top: var(--space-m);
}
.settings-danger p {
  margin: 0 0 var(--space-s);
  color: var(--color-text-muted);
  line-height: 1.4;
}

.settings-telegram {
  margin-top: var(--space-m);
}
.settings-telegram p {
  margin: 0 0 var(--space-s);
  line-height: 1.4;
}
.settings-telegram p svg {
  width: 18px;
  height: 18px;
  vertical-align: -3px;
  color: var(--color-positive);
}
.settings-telegram .btn, .settings-telegram .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .bank-transfer-row-copy-button, .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .settings-telegram .bank-transfer-row-copy-button {
  display: inline-flex;
  justify-content: center;
  text-decoration: none;
}

.settings-hint {
  margin-top: var(--space-s) !important;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.settings-telegram-manual {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: var(--space-s);
}
.settings-telegram-manual .settings-hint {
  flex-basis: 100%;
  margin: 0 !important;
}
.settings-telegram-manual code {
  padding: 6px 10px;
  border-radius: var(--radius-s);
  background: var(--color-surface-raised);
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  word-break: break-all;
}
.settings-telegram-manual .btn, .settings-telegram-manual .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .bank-transfer-row-copy-button, .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .settings-telegram-manual .bank-transfer-row-copy-button {
  gap: 6px;
  align-items: center;
  padding: 6px 12px;
  font-size: 0.875rem;
}

.claim-pool-hint {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: var(--space-s) 0 0;
  padding: 10px 14px;
  border-radius: var(--radius-s);
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
  text-decoration: none;
}
.claim-pool-hint svg {
  flex: none;
  width: 20px;
  height: 20px;
}
.claim-pool-hint u {
  color: var(--color-primary);
  font-weight: 600;
}
.claim-pool-hint.is-strong {
  background: var(--color-surface-raised);
  box-shadow: var(--shadow);
  color: var(--color-text);
}
.claim-pool-hint:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.content-card,
.content-card.is-debt {
  margin: 0 0 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-s);
  background: var(--color-surface);
  box-shadow: var(--shadow-s);
}

.card-header {
  background: transparent;
  border-bottom: none;
  padding: 14px 16px 14px;
  cursor: pointer;
}

.date {
  font-size: 0.85em;
  color: var(--color-text-muted);
  gap: 6px;
}

.date-since,
.content-card.is-debt .date-since {
  border-bottom: none;
  font-size: 1em;
  font-weight: 650;
  color: var(--color-positive);
  margin-right: 0;
}

.content-card.is-debt .date-since {
  color: var(--color-negative);
}

.date-plain {
  font-size: 1em;
}

.collapse-icon {
  fill: var(--color-text-muted);
  width: 22px;
  height: 22px;
}

.row-label {
  font-size: 1.3em;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 6px 0 12px;
}

.row-info {
  gap: 6px;
  align-items: center;
}

.left-side-icon,
.content-card.is-debt .left-side-icon {
  margin: 0;
  border: none;
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  font-size: 0.95em;
  font-weight: 650;
  background: var(--color-positive-soft);
  color: var(--color-primary-dark);
}

.content-card.is-debt .left-side-icon {
  background: var(--color-negative-soft);
  color: var(--color-negative);
}

.right-side-icon,
.content-card.is-debt .right-side-icon {
  border: none;
  border-radius: 50%;
  padding: 6px;
  display: flex;
  background: var(--color-positive-soft);
}

.content-card.is-debt .right-side-icon {
  background: var(--color-negative-soft);
}

.right-side-icon img {
  width: 22px;
  height: 22px;
}

.card-body {
  padding: 0 16px 16px;
  border-top: 1px solid var(--color-border);
  padding-top: 14px;
}

.description {
  color: var(--color-text-muted);
  font-size: 1em;
}

.summary-transaction-details {
  background: var(--color-surface-raised);
  border: none;
  border-radius: var(--radius-s);
  padding: 12px;
}

.detail-link {
  background: var(--color-surface);
  color: var(--color-text);
  border: none;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-s);
  padding: 6px 14px;
}

.transaction-details .transaction-state {
  margin-bottom: 4px;
}

.state-icon {
  border: none;
  border-radius: 50%;
  padding: 5px;
  background: var(--color-surface);
}

.state-icon img {
  width: 20px;
  height: 20px;
}

.state-date {
  color: var(--color-text-muted);
}

.transaction-details .transaction-state.active .state-icon {
  background: var(--color-positive-soft);
}

.transaction-details .transaction-state.active.is-debt .state-icon {
  background: var(--color-negative-soft);
}

.transaction-details .transaction-state.active .state-date {
  color: var(--color-text);
  font-weight: 650;
}

.content-card-payment-option {
  border: none;
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}

.card-header-payment-option {
  background: transparent;
  border-bottom: none;
  padding: 14px 16px;
}

.row-payment-option {
  margin: 4px 0 8px;
}

.row-date-payment-option,
.row-date-payment-option.active {
  border-bottom: none;
}

.date-payment-option,
.date-payment-option.active {
  border: none;
  border-radius: var(--radius-pill);
  padding: 4px 12px 4px 14px;
  font-size: 0.95em;
  font-weight: 650;
  gap: 6px;
  align-items: center;
  background: var(--color-surface-raised);
}

.date-payment-option.active {
  background: var(--color-positive-soft);
}

.date-since-payment-option {
  color: var(--color-text);
}

.date-icon-payment-option {
  margin-right: 0;
}

.date-icon-payment-option img {
  width: 20px;
  height: 20px;
}

.collapse-icon-payment-option {
  fill: var(--color-text-muted);
}

.row-label-payment-option {
  background: transparent;
  border: none;
  color: var(--color-text);
  font-size: 1.3em;
  font-weight: 700;
  text-align: left;
  padding: 0;
}

.transparent-text-payment-option {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--color-text);
}

.left-side-icon-payment-option,
.left-side-icon-payment-option.active {
  border: none;
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  font-size: 0.9em;
  font-weight: 650;
  background: var(--color-surface-raised);
  color: var(--color-text-muted);
}

.left-side-icon-payment-option.active {
  background: var(--color-positive-soft);
  color: var(--color-primary-dark);
}

.account-details-payment-option {
  background: var(--color-surface-raised);
  border: none;
  border-radius: var(--radius-s);
  color: var(--color-text);
  padding: 10px 12px;
}

.details-row-name-payment-option {
  color: var(--color-text-muted);
  font-size: 0.85em;
}

.state-date-payment-option,
.state-date-payment-option.active {
  color: var(--color-text);
  font-weight: 600;
}

.row-info .left-side-icon:first-child,
.content-card.is-debt .row-info .left-side-icon:first-child {
  background: var(--color-surface-raised);
  color: var(--color-text-muted);
  font-weight: 600;
}

.row-info .left-side-icon + .left-side-icon,
.content-card.is-debt .row-info .left-side-icon + .left-side-icon {
  background: transparent;
  padding-left: 4px;
  font-size: 1.15em;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  color: var(--color-positive);
}

.content-card.is-debt .row-info .left-side-icon + .left-side-icon {
  color: var(--color-negative);
}

.card-quick-action {
  margin-left: auto;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-size: 0.9em;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--shadow-s);
}

.content-card.is-debt .card-quick-action {
  background: var(--color-negative);
}

.row-info .right-side-icon.state-icon {
  display: none;
}

.card-state {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  margin-right: 6px;
  padding: 3px 10px 3px 7px;
  border-radius: var(--radius-pill);
  background: var(--color-surface-raised);
  color: var(--color-text-muted);
  font-size: 0.8em;
  font-weight: 650;
  white-space: nowrap;
}
.card-state svg {
  width: 16px;
  height: 16px;
}
.card-state.is-confirmed {
  background: var(--color-positive-soft);
  color: var(--color-positive);
}
.card-state.is-declined {
  background: var(--color-negative-soft);
  color: var(--color-negative);
}

.card-quick-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px 5px 9px;
  line-height: 1.2;
}
.card-quick-action img {
  width: 16px;
  height: 16px;
  filter: invert(1);
}

.card-header.receipt {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 14px 12px;
}

.receipt-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.receipt-avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-s);
  background: var(--color-positive-soft);
  color: var(--color-positive);
  font-size: 0.95em;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.receipt-who {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.receipt-name {
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.receipt-direction {
  color: var(--color-text-muted);
  font-size: 0.82em;
  font-weight: 600;
}

.receipt-amount {
  flex: none;
  color: var(--color-positive);
  font-size: 1.35em;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.content-card.is-debt .receipt-avatar {
  background: var(--color-negative-soft);
  color: var(--color-negative);
}
.content-card.is-debt .receipt-amount {
  color: var(--color-negative);
}

.receipt-reason,
.receipt-reason.transparent-text {
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--color-surface-raised);
  color: var(--color-text);
  font-size: 1em;
  font-weight: 550;
  line-height: 1.35;
  -webkit-text-fill-color: currentColor;
}

.receipt-footer {
  display: flex;
  align-items: center;
  gap: 8px;
}
.receipt-footer .card-state {
  margin: 0;
}
.receipt-footer .card-quick-action {
  margin-left: auto;
}
.receipt-footer .collapse-icon {
  flex: none;
  margin-left: auto;
}
.receipt-footer .card-quick-action + .collapse-icon {
  margin-left: 0;
}

.receipt-date {
  overflow: hidden;
  color: var(--color-text-muted);
  font-size: 0.82em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.receipt .card-quick-action {
  border-radius: 8px;
}

.tile-container {
  background: transparent;
  margin: var(--space-m) var(--space-m) var(--space-s);
  padding: 0;
  gap: 10px;
}
@media (max-width: 480px) {
  .tile-container {
    margin-left: 14px;
    margin-right: 14px;
  }
}

.tile,
.tile-container .tile {
  width: 64px;
  height: 64px;
  margin: 0;
  padding: 13px;
  border-radius: 20px;
  background: var(--color-surface);
  box-shadow: inset 0 0 0 1px var(--color-border), var(--shadow-s);
}

.tile img {
  object-fit: contain;
}

.statistics {
  margin: 0 0 var(--space-m);
  border: none;
  border-radius: calc(var(--radius) + 4px);
  background: var(--hero);
  box-shadow: none;
  overflow: hidden;
}

.balance {
  border: none;
  padding: 16px 16px 4px;
}

.balance-text {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-size: 0.6em;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.balance-number {
  padding-left: 0;
  color: var(--color-positive);
  font-size: 2.6rem;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.balance-number p {
  margin: 4px 0;
}

.balance-number.balance-negative {
  color: var(--color-negative);
}

.balance-image img {
  opacity: 0.85;
}

.info-container {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
}

.balance-part {
  background: transparent;
  padding: 12px 14px 14px;
}
.balance-part + .balance-part {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.balance-part-header-element {
  font-size: 1rem;
  font-weight: 650;
  color: var(--color-text-muted);
}

.part-balance-part-header-element-image img {
  width: 20px;
  height: 20px;
  opacity: 0.7;
}

.balance-part-total {
  padding: 0;
  text-align: left;
  font-size: clamp(1.25rem, 6vw, 1.7rem);
  font-weight: 750;
  color: var(--color-positive);
}
.balance-part-total p {
  margin: 6px 0 10px;
}

.balance-part-total.balance-negative {
  color: var(--color-negative);
}

.balance-part-summary {
  gap: 6px;
}

.balance-part-detail-header,
.balance-part-detail-header.negative {
  flex: 1;
  margin: 0;
  padding: 6px 10px;
  border: none;
  border-radius: var(--radius-s);
  background: var(--color-positive-soft);
}

.balance-part-detail-header.negative {
  background: var(--color-negative-soft);
}

.balance-part-detail-header-variant {
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.balance-part-detail-header-amount {
  text-align: left;
  font-size: 1.5rem;
  font-weight: 750;
  color: var(--color-primary-dark);
}

.balance-part-detail-header.negative .balance-part-detail-header-amount {
  color: var(--color-negative);
}

.section-title {
  margin: var(--space-m) 2px var(--space-s);
  color: var(--color-text-muted);
  font-size: 0.8em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.account-overview-area-header-text {
  border-bottom: none;
  font-size: 1.2rem;
}

.account-overview-area-empty {
  background: var(--color-surface);
  border: none;
  border-radius: var(--radius);
}

.statistics {
  color: var(--color-on-anchor);
}

.balance-text,
.balance-part-header-element,
.balance-part-detail-header-variant {
  color: var(--color-on-anchor-muted);
}

.balance-number,
.balance-part-total {
  color: var(--color-anchor-positive);
}

.balance-number.balance-negative,
.balance-part-total.balance-negative {
  color: var(--color-anchor-negative);
}

.balance-part-detail-header,
.balance-part-detail-header.negative {
  background: rgba(255, 255, 255, 0.09);
}

.balance-part-detail-header-amount,
.balance-part-detail-header.negative .balance-part-detail-header-amount {
  color: var(--color-on-anchor);
}

.statistics {
  margin-top: var(--space-m);
}

.statistics.is-negative {
  background: var(--hero-debt);
}

.statistics.is-negative .balance-part-detail-header {
  background: rgba(255, 255, 255, 0.1);
}

.person-balance-list {
  margin: 0 0 var(--space-m);
  padding: 4px 14px;
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow);
}
.person-balance-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.person-balance-list details[open] summary {
  border-bottom: 1px solid var(--color-border);
}
.person-balance-list summary {
  padding: 12px 0;
  border-top: 1px solid var(--color-border);
  color: var(--color-primary);
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.person-balance-list summary::-webkit-details-marker {
  display: none;
}

.person-balance {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: inherit;
  text-decoration: none;
}

.person-balance-list li + li {
  border-top: 1px solid var(--color-border);
}

.person-balance-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-left: -6px;
  color: var(--color-text-muted);
}

.person-balance-avatar {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-positive-soft);
  color: var(--color-primary-dark);
  font-size: 0.8em;
  font-weight: 750;
}

.person-balance.is-negative .person-balance-avatar {
  background: var(--color-negative-soft);
  color: var(--color-negative);
}

.person-balance-name {
  flex: 1;
  min-width: 0;
  font-weight: 650;
}
.person-balance-name small {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.8em;
  font-weight: 500;
}

.person-balance-amount {
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  color: var(--color-positive);
  white-space: nowrap;
}

.person-balance.is-negative .person-balance-amount {
  color: var(--color-negative);
}

.person-overview-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px var(--space-m);
  margin-bottom: var(--space-s);
  padding: var(--space-m);
  background: var(--color-surface);
  border-radius: var(--radius);
}

.person-overview-avatar {
  width: 48px;
  height: 48px;
  font-size: 1em;
}

.person-overview-balance {
  flex: 1;
  min-width: 0;
}
.person-overview-balance small {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.85em;
}
.person-overview-balance strong {
  font-size: 1.6em;
  font-variant-numeric: tabular-nums;
  color: var(--color-positive);
}

.person-overview-summary.is-negative .person-overview-balance strong {
  color: var(--color-negative);
}

.person-overview-totals {
  display: flex;
  gap: var(--space-m);
  width: 100%;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}
.person-overview-totals div {
  flex: 1;
}
.person-overview-totals dt {
  color: var(--color-text-muted);
  font-size: 0.8em;
}
.person-overview-totals dd {
  margin: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.person-overview-done summary {
  cursor: pointer;
}

.transaction-summary {
  margin: 0 0 var(--space-m);
  border: none;
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow);
  padding: 16px;
}

.summary-header {
  background: transparent;
  border: none;
  color: var(--color-text);
  font-size: 1.3rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.summary-info-filed, .exchange-event {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0 0 12px;
}

.summary-info-filed-row, .exchange-list-row,
.exchange-info-field-row {
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
}
.summary-info-filed-row:last-child, .exchange-list-row:last-child,
.exchange-info-field-row:last-child {
  border-bottom: none;
}

.summary-info-filed-entry, .exchange-list-entry,
.exchange-info-field-entry {
  color: var(--color-text);
  font-size: 1em;
  margin-right: 0;
  text-align: right;
}
.summary-info-filed-entry.bold, .bold.exchange-list-entry,
.exchange-info-field-entry.bold {
  color: var(--color-text-muted);
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
}

.summary-transaction-details,
.exchange-info-container {
  background: var(--color-surface-raised);
  border: none;
  border-radius: var(--radius-s);
}

.exchange-collapsable, .exchange-collapsable.active, .exchange-collapsable.deactivated {
  background: var(--color-surface);
  color: var(--color-text);
  border: none;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-s);
}

.exchange-list {
  background: transparent;
  margin: 12px 0 0;
  font-size: 0.9em;
}
.exchange-list .list-header {
  margin-left: 0;
  color: var(--color-text);
  font-size: 1.1rem;
}
.exchange-list .exchange-event {
  margin: 0 0 8px;
  background: var(--color-surface);
  border: none;
  border-radius: var(--radius-s);
}
.exchange-list .reason {
  background: var(--color-primary-soft);
  border-radius: 6px;
  padding: 2px 6px;
}

.exchange-event-visual-container {
  color: var(--color-text);
  font-size: 1.25em;
}

.exchange-event-visual-amounts {
  white-space: nowrap;
}

.exchange-choice {
  background: transparent;
}

.exchange-preview-part {
  background: var(--color-surface);
  border-radius: var(--radius-s);
}

.exchange-preview-part-header.positive {
  background: var(--color-positive-soft);
  color: var(--color-primary-dark);
}

.exchange-preview-part-header.negative {
  background: var(--color-negative-soft);
  color: var(--color-negative);
}

.exchange-result {
  color: var(--color-text);
  border-radius: var(--radius);
}
.exchange-result.positive {
  background: var(--color-positive-soft);
}
.exchange-result.negative {
  background: var(--color-negative-soft);
}

.bank-transfer-details {
  background: var(--color-surface);
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px 16px;
}
.bank-transfer-details .bank-transfer-line {
  border-bottom: 1px solid var(--color-border);
  padding-top: 10px;
  margin-bottom: 0;
}
.bank-transfer-details .bank-transfer-line:last-child {
  border-bottom: none;
}
.bank-transfer-details .bank-transfer-line .bank-transfer-row .bank-transfer-row-icon {
  border: none;
  border-radius: 50%;
  padding: 4px;
  background: var(--color-surface-raised);
}
.bank-transfer-details .bank-transfer-row-icon img {
  width: 18px;
  height: 18px;
}
.bank-transfer-details .bank-transfer-line .bank-transfer-row .bank-transfer-row-date {
  color: var(--color-text-muted);
  font-size: 0.85em;
  font-weight: 600;
}
.bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .bank-transfer-row-copy-value {
  flex: 1;
  min-width: 0;
  color: var(--color-text);
  margin-left: 0;
  overflow-wrap: anywhere;
}
.bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .bank-transfer-row-copy-button {
  width: auto;
  height: 32px;
  flex-shrink: 0;
  margin-right: 0;
  padding: 0 14px;
  font-size: 13px;
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
}
.bank-transfer-details .copied .bank-transfer-row-icon,
.bank-transfer-details .bank-transfer-line.copied .bank-transfer-row-icon {
  background: var(--color-positive-soft);
}

.statement-hero {
  padding: 20px 20px 18px;
  border-radius: calc(var(--radius) + 4px);
  background: var(--hero);
  color: var(--color-on-anchor);
  box-shadow: none;
}

.statement.is-debt .statement-hero {
  background: var(--hero-debt);
  box-shadow: none;
}

.statement-kicker {
  color: var(--color-on-anchor-muted);
  font-size: 0.95em;
  font-weight: 600;
}

.statement-amount {
  margin: 4px 0 10px;
  font-size: 2.6rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.statement-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.statement-status {
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.85em;
}

.statement-initial {
  margin-top: 8px;
  color: var(--color-on-anchor-muted);
  font-size: 0.9em;
}

.statement-pool {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.16);
  color: inherit;
  font-size: 0.85em;
  text-decoration: none;
}
.statement-pool:hover, .statement-pool:focus-visible {
  background: rgba(255, 255, 255, 0.26);
}

.statement-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.statement-actions .accept-link {
  flex: 1;
  justify-content: center;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-weight: 650;
  text-decoration: none;
  box-shadow: var(--shadow-s);
}
.statement-actions .accept-link img {
  width: 22px;
  margin-right: 6px;
  filter: invert(1);
}
.statement-actions .accept-link.decline {
  background: var(--color-negative-soft);
  color: var(--color-negative);
}
.statement-actions .accept-link.decline img {
  filter: none;
}

.statement-entries {
  list-style: none;
  margin: 0;
  padding: 4px 16px;
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow);
}

.statement-entry {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}
.statement-entry:last-child {
  border-bottom: none;
}

.statement-entry-label {
  font-weight: 650;
}

.statement-entry-detail {
  color: var(--color-text-muted);
  font-size: 0.92em;
  overflow-wrap: anywhere;
}

.statement-entry-date {
  margin-top: 2px;
  color: var(--color-text-muted);
  font-size: 0.8em;
}

.statement-revert {
  margin-top: 4px;
}
.statement-revert .link-button {
  padding: 0;
  border: none;
  background: none;
  color: var(--color-negative);
  font: inherit;
  font-size: 0.85em;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.statement-entry-amounts {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.statement-entry-amount {
  font-weight: 750;
}
.statement-entry-amount.is-plus {
  color: var(--color-positive);
}
.statement-entry-amount.is-minus {
  color: var(--color-text);
}

.statement.is-debt .statement-entry-amount.is-plus {
  color: var(--color-negative);
}

.statement-entry-balance {
  color: var(--color-text-muted);
  font-size: 0.8em;
}

.statement-timeline {
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow);
}

.btn.paypal-open, .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .paypal-open.bank-transfer-row-copy-button {
  display: flex;
  gap: 8px;
  text-decoration: none;
  background: #003087;
}
.btn.paypal-open svg, .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .paypal-open.bank-transfer-row-copy-button svg {
  width: 22px;
  height: 22px;
}

.cash-payment .btn, .cash-payment .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .bank-transfer-row-copy-button, .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .cash-payment .bank-transfer-row-copy-button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.statement-cash {
  margin: 10px 0 var(--space-m);
}
.statement-cash .btn, .statement-cash .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .bank-transfer-row-copy-button, .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .statement-cash .bank-transfer-row-copy-button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.statement-cash-hint {
  margin: 6px 0 0;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  text-align: center;
}

.layout-switch {
  display: flex;
  justify-content: center;
  background: transparent;
  padding: 0 var(--space-m) var(--space-s);
}
.layout-switch a {
  color: var(--color-text-muted);
  font-size: 0.85em;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.meme {
  margin: 0 0 var(--space-m);
  padding: 10px;
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow);
  text-align: center;
}
.meme img {
  display: block;
  max-width: 100%;
  max-height: 260px;
  margin: 0 auto;
  border-radius: var(--radius-s);
  object-fit: contain;
}
.meme figcaption {
  margin-top: 8px;
  color: var(--color-text-muted);
  font-size: 0.9em;
  font-weight: 600;
}

.statistics + .meme {
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

.statistics.is-counted + .meme {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .statistics + .meme {
    transition: none;
  }
}
.statement-hero + .meme {
  margin-top: var(--space-m);
}

.paypal-info .meme {
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.avatar {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-s);
  background: var(--color-surface-raised);
  color: var(--color-text-muted);
  font-size: 0.85em;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.avatar-small,
.avatar-more {
  width: 28px;
  height: 28px;
  border: 2px solid var(--color-surface);
  border-radius: 8px;
  font-size: 0.7em;
}

.avatar-more {
  display: inline-grid;
  place-items: center;
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  font-weight: 700;
}

.contact-lists {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: var(--space-m);
}

.contact-list-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-s);
  background: var(--color-surface);
  box-shadow: var(--shadow-s);
  color: var(--color-text);
  text-decoration: none;
}
.contact-list-card.is-new {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-style: dashed;
  background: transparent;
  box-shadow: none;
  color: var(--color-primary-dark);
  font-weight: 650;
}
.contact-list-card.is-new svg {
  width: 20px;
  height: 20px;
}

.contact-list-name {
  font-weight: 700;
}

.contact-list-members {
  display: flex;
}
.contact-list-members > * + * {
  margin-left: -6px;
}

.contact-rows {
  margin: var(--space-s) 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-s);
  background: var(--color-surface);
  overflow: hidden;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
}
.contact-row + .contact-row {
  border-top: 1px solid var(--color-border);
}
.contact-row form {
  margin-left: auto;
}

.contact-name {
  font-weight: 600;
}

.contact-remove {
  display: inline-flex;
  padding: 6px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
}
.contact-remove svg {
  width: 18px;
  height: 18px;
}
.contact-remove:hover {
  background: var(--color-negative-soft);
  color: var(--color-negative);
}

.list-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.list-picker-label {
  color: var(--color-text-muted);
  font-size: 0.85em;
  font-weight: 650;
}

.list-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-text);
  font: inherit;
  font-size: 0.9em;
  font-weight: 650;
  cursor: pointer;
}
.list-chip svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}
.list-chip:hover {
  background: var(--color-primary-soft);
}

.list-chip-count {
  color: var(--color-text-muted);
  font-weight: 600;
}

.pool-new {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: var(--space-m);
}
.pool-new svg {
  width: 20px;
  height: 20px;
}

.pool-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-s);
  background: var(--color-surface);
  box-shadow: var(--shadow-s);
  color: var(--color-text);
  text-decoration: none;
}
.pool-card.is-closed {
  opacity: 0.7;
}

.pool-emoji,
.pool-hero-emoji {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-s);
  background: var(--color-surface-raised);
  font-size: 1.4em;
}

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

.pool-card-name {
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pool-card-meta,
.pool-hero-meta,
.pool-entry-meta,
.pool-hint,
.pool-members-now {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  font-size: 0.92em;
}
.pool-card-meta li,
.pool-hero-meta li,
.pool-entry-meta li,
.pool-hint li,
.pool-members-now li {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 40px;
  border-bottom: 1px solid var(--color-border);
}
.pool-card-meta li > span,
.pool-hero-meta li > span,
.pool-entry-meta li > span,
.pool-hint li > span,
.pool-members-now li > span {
  flex: 1;
}

.pool-member-remove {
  padding: 6px 4px;
  border: 0;
  background: none;
  color: var(--color-negative);
  font: inherit;
  font-size: 0.9em;
  font-weight: 650;
  cursor: pointer;
}

.pool-card-balance,
.pool-balance-value,
.money-flows-net {
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pool-card-balance.is-plus,
.pool-balance-value.is-plus,
.money-flows-net.is-plus {
  color: var(--color-positive);
}
.pool-card-balance.is-minus,
.pool-balance-value.is-minus,
.money-flows-net.is-minus {
  color: var(--color-negative);
}

.pool-breadcrumb {
  margin: 0 0 var(--space-s);
}
.pool-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px 6px 6px;
  border-radius: 8px;
  color: var(--color-primary-dark);
  font-weight: 650;
  text-decoration: none;
}
.pool-breadcrumb a:hover {
  background: var(--color-primary-soft);
}
.pool-breadcrumb svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.pool-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  align-items: center;
  margin-bottom: var(--space-m);
  padding: 16px;
  border-radius: var(--radius-s);
  background: var(--color-positive-soft);
  color: var(--color-primary-dark);
}
.pool-hero.is-minus {
  background: var(--color-negative-soft);
  color: var(--color-negative-strong);
}
.pool-hero .pool-hero-emoji {
  grid-row: span 2;
  background: var(--color-surface);
}

.pool-hero-label {
  font-size: 0.9em;
  font-weight: 650;
}

.pool-hero-amount {
  font-size: 2em;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.pool-hero-meta,
.pool-hero-text {
  grid-column: 1/-1;
  margin: 6px 0 0;
}

.pool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-m);
}
.pool-actions .btn, .pool-actions .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .bank-transfer-row-copy-button, .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .pool-actions .bank-transfer-row-copy-button,
.pool-actions form {
  flex: 1 1 140px;
  margin: 0;
}
.pool-actions .btn, .pool-actions .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .bank-transfer-row-copy-button, .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .pool-actions .bank-transfer-row-copy-button,
.pool-actions a.btn.plain-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  margin: 0;
  border-radius: var(--radius-s);
  font-size: 0.92em;
  text-decoration: none;
}
.pool-actions.is-secondary {
  flex-direction: column;
}
.pool-actions.is-secondary .btn, .pool-actions.is-secondary .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .bank-transfer-row-copy-button, .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .pool-actions.is-secondary .bank-transfer-row-copy-button,
.pool-actions.is-secondary form {
  flex: none;
}
.pool-actions.is-secondary .btn, .pool-actions.is-secondary .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .bank-transfer-row-copy-button, .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .pool-actions.is-secondary .bank-transfer-row-copy-button,
.pool-actions.is-secondary a.btn.plain-link {
  background: var(--color-surface);
  box-shadow: 0 0 0 1px var(--color-border);
  color: var(--color-text);
}
.pool-actions form .btn, .pool-actions form .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .bank-transfer-row-copy-button, .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .pool-actions form .bank-transfer-row-copy-button {
  width: 100%;
}
.pool-actions svg {
  width: 18px;
  height: 18px;
}

.pool-balances,
.pool-entries,
.pool-transfers,
.split-rows {
  margin: 0 0 var(--space-m);
  padding: 0;
  list-style: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-s);
  background: var(--color-surface);
  overflow: hidden;
}
.pool-balances > li + li,
.pool-entries > li + li,
.pool-transfers > li + li,
.split-rows > li + li {
  border-top: 1px solid var(--color-border);
}

.pool-balance {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 4px 10px;
  align-items: center;
  padding: 10px 12px;
}

.pool-balance-name {
  overflow: hidden;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pool-balance-bar {
  grid-column: 2/3;
  grid-row: 2;
  height: 6px;
  border-radius: 3px;
  background: var(--color-surface-raised);
  overflow: hidden;
}
.pool-balance-bar span {
  display: block;
  width: var(--share);
  height: 100%;
  border-radius: 3px;
  background: var(--color-positive);
}
.pool-balance-bar span.is-minus {
  background: var(--color-negative);
}

.pool-balance-value {
  grid-row: span 2;
}

.pool-day {
  margin: var(--space-s) 0 6px;
  color: var(--color-text-muted);
  font-size: 0.8em;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pool-entry {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
}
.pool-entry.is-settlement {
  background: var(--color-surface-raised);
}

.pool-entry-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  color: var(--color-text);
  text-decoration: none;
}

.pool-entry-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 650;
}
.pool-entry-title .pool-lock {
  width: 15px;
  height: 15px;
  color: var(--color-text-muted);
}

.pool-entry-amount {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pool-entry-amount.is-minus {
  color: var(--color-negative);
}

.pool-closing {
  margin-bottom: var(--space-m);
}
.pool-closing p {
  margin: 0 0 10px;
}

.pool-object {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}
.pool-object label {
  color: var(--color-text-muted);
  font-size: 0.85em;
  font-weight: 650;
}
.pool-object textarea {
  padding: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-surface-raised);
  font-size: 16px;
}

.pool-history {
  margin-top: var(--space-m);
}
.pool-history summary {
  color: var(--color-text-muted);
  font-weight: 650;
  cursor: pointer;
}
.pool-history ul {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.88em;
}
.pool-history li {
  padding: 4px 0;
}

.pool-history-date {
  margin-right: 6px;
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
}

.pool-history-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.pool-history-filter {
  padding: 4px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  color: var(--color-text);
  font-size: 0.875rem;
  text-decoration: none;
}
.pool-history-filter.is-active {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--color-on-primary);
}
.pool-history-filter:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.pool-history-badge,
.pool-history-new {
  display: inline-block;
  padding: 1px 8px;
  border-radius: var(--radius-pill);
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
}

.pool-history-new {
  margin-right: 4px;
}

.pool-history .is-new {
  font-weight: 600;
}

.pool-history-empty {
  color: var(--color-text-muted);
}

.pool-news {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 var(--space-m);
  padding: 10px 14px;
  border-radius: var(--radius-s);
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  font-weight: 600;
  text-decoration: none;
}
.pool-news svg {
  flex: none;
  width: 18px;
  height: 18px;
}

.pool-revision-intro {
  color: var(--color-text-muted);
  font-size: 0.9em;
}

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

.pool-revision {
  margin-bottom: 10px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-s);
  background: var(--color-surface);
}
.pool-revision.is-deleted {
  opacity: 0.7;
}

.pool-revision-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
}
.pool-revision-head span {
  color: var(--color-text-muted);
  font-size: 0.85em;
}

.pool-revision-changed {
  margin: 4px 0 0;
  color: var(--color-pending);
  font-size: 0.85em;
  font-weight: 650;
}

.pool-revision-data {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 2px 12px;
  margin: 8px 0 0;
  font-size: 0.9em;
}
.pool-revision-data dt {
  color: var(--color-text-muted);
}
.pool-revision-data dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.pool-revision-data ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.pool-revision-data li {
  display: flex;
  justify-content: space-between;
  max-width: 260px;
}

.split-modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin: 4px 0 10px;
  padding: 4px;
  border-radius: var(--radius-s);
  background: var(--color-surface-raised);
}

.split-mode {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  border-radius: 8px;
  color: var(--color-text-muted);
  font-size: 0.88em;
  font-weight: 650;
  text-align: center;
  cursor: pointer;
}
.split-mode input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.split-mode.is-active, .split-mode:has(input:checked) {
  background: var(--color-surface);
  box-shadow: var(--shadow-s);
  color: var(--color-text);
}

.split-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 6px 12px;
}

.split-check {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  cursor: pointer;
}
.split-check input {
  width: 20px;
  height: 20px;
  accent-color: var(--color-primary);
}

.split-name {
  flex: 1;
  font-weight: 600;
}

.split-input {
  width: 84px;
  padding: 8px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface-raised);
  color: var(--color-text);
  font: inherit;
  font-size: 16px;
  text-align: right;
}
.split-input.is-amount {
  width: 108px;
}

.split-share {
  min-width: 72px;
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.claim-preview.is-warning {
  background: var(--color-negative-soft);
  color: var(--color-negative);
}

.pool-transfer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
}
.pool-transfer strong {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}
.pool-transfer .pool-transfer-arrow {
  width: 18px;
  height: 18px;
  color: var(--color-text-muted);
}
.pool-transfer form {
  display: inline;
}

.pool-transfer-state {
  width: 100%;
  padding-left: 26px;
  color: var(--color-text-muted);
  font-size: 0.8em;
}

.pool-transfer .money-flows-swatch {
  flex: none;
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-negative);
}

.is-direct > .money-flows-swatch,
.is-simplified > .money-flows-swatch {
  background: var(--color-primary);
}

.is-paid > .money-flows-swatch {
  background: var(--color-pending);
}

.is-done > .money-flows-swatch {
  background: var(--color-positive);
}

.pool-transfer-link {
  color: var(--color-primary-dark);
  font-size: 0.85em;
  font-weight: 650;
}

.link-button {
  padding: 0;
  border: none;
  background: none;
  color: var(--color-negative);
  font: inherit;
  font-size: 0.85em;
  font-weight: 650;
  text-decoration: underline;
  cursor: pointer;
}

.money-round {
  margin-bottom: var(--space-l, 28px);
}
.money-round .btn, .money-round .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .bank-transfer-row-copy-button, .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .money-round .bank-transfer-row-copy-button {
  margin-top: 0;
}

.money-round-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 8px;
  font-size: 1.05em;
  font-weight: 750;
}
.money-round-title span {
  color: var(--color-text-muted);
  font-size: 0.85em;
  font-weight: 600;
}

.money-round-note {
  margin: -4px 0 8px;
  color: var(--color-text-muted);
  font-size: 0.82em;
}

.money-steps {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
  padding: 4px;
  border-radius: var(--radius-s);
  background: var(--color-surface-raised);
}

.money-step {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  min-width: 0;
  padding: 7px 4px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--color-text-muted);
  font: inherit;
  font-size: 0.85em;
  font-weight: 650;
  cursor: pointer;
}
.money-step span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.money-step small {
  min-width: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--color-surface-raised);
  font-size: 0.85em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.money-step.is-active {
  background: var(--color-surface);
  box-shadow: var(--shadow-s);
  color: var(--color-text);
}

.money-play {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  border: none;
  border-radius: 8px;
  background: var(--color-primary);
  color: var(--color-on-primary);
  cursor: pointer;
}
.money-play svg {
  width: 18px;
  height: 18px;
}
.is-playing .money-play {
  opacity: 0.5;
}

.money-flows {
  position: relative;
  margin: 0 0 6px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-s);
  background: var(--color-surface);
}

.money-flows.is-circle {
  --rx: min(150px, calc(50vw - 66px));
  --ry: var(--rx);
  height: calc(2 * var(--ry) + 116px);
}
.money-flows.is-circle .money-flows-node {
  position: absolute;
  top: calc(50% - var(--ry) * cos(var(--angle)));
  left: calc(50% + var(--rx) * sin(var(--angle)));
  transform: translate(-50%, -50%);
}
.money-flows.is-circle.is-crowded {
  --ry: calc(var(--count) * 34px);
  height: calc(2 * var(--ry) + 90px);
}
.money-flows.is-circle.is-crowded .money-flows-node {
  width: 72px;
  padding: 5px 2px 4px;
}
.money-flows.is-circle.is-crowded .money-flows-node .avatar {
  width: 26px;
  height: 26px;
  font-size: 0.72em;
}
.money-flows.is-circle.is-crowded .money-flows-name {
  font-size: 0.78em;
}
.money-flows.is-circle.is-crowded .money-flows-net {
  font-size: 0.72em;
}

.money-round.is-busy .money-flows-label {
  opacity: 0;
}

.money-round.is-busy .money-hint {
  color: var(--color-primary-dark);
  font-weight: 650;
}

.money-flows-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  width: 80px;
  padding: 8px 4px 6px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-s);
  background: var(--color-surface-raised);
  text-align: center;
  cursor: pointer;
  transition: opacity 300ms ease, box-shadow 200ms ease;
}
.money-flows-node .avatar {
  width: 32px;
  height: 32px;
  margin-bottom: 2px;
  background: var(--color-surface);
}
.money-flows-node.is-me {
  border-color: var(--color-primary);
}
.money-flows-node.is-selected {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
}
.money-flows-node.is-dimmed {
  opacity: 0.35;
}
.money-flows-node:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.money-selection {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 10px;
  margin: 0 0 6px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  font-size: 0.88em;
  font-weight: 650;
}
.money-selection[hidden] {
  display: none;
}
.money-selection .link-button {
  color: var(--color-primary-dark);
}

.money-hint {
  margin: 0 0 4px;
  color: var(--color-text-muted);
  font-size: 0.78em;
}

.money-flows-name {
  max-width: 100%;
  overflow: hidden;
  font-size: 0.85em;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.money-flows-net {
  font-size: 0.8em;
}

.money-caption {
  min-height: 2.8em;
  margin: 0 0 10px;
  color: var(--color-text-muted);
  font-size: 0.85em;
  line-height: 1.4;
}

.money-flows-label {
  position: absolute;
  z-index: 6;
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--color-surface);
  box-shadow: 0 0 0 1px var(--color-border);
  color: var(--color-primary-dark);
  font-size: 0.74em;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  transition: opacity 450ms ease, color 300ms ease;
  pointer-events: none;
}
.money-flows-label.is-entering, .money-flows-label.is-leaving, .money-flows-label.is-filtered {
  opacity: 0;
}
.money-flows-label.is-gross {
  color: var(--color-text-muted);
}
.money-flows-label.is-open {
  color: var(--color-negative);
}
.money-flows-label.is-paid {
  color: var(--color-pending);
}
.money-flows-label.is-done {
  color: var(--color-positive);
}

.pool-transfer .money-flows-swatch {
  flex: none;
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-negative);
}

.is-direct > .money-flows-swatch,
.is-simplified > .money-flows-swatch {
  background: var(--color-primary);
}

.is-paid > .money-flows-swatch {
  background: var(--color-pending);
}

.is-done > .money-flows-swatch {
  background: var(--color-positive);
}

.pool-transfer-link {
  color: var(--color-primary-dark);
  font-size: 0.85em;
  font-weight: 650;
}

.link-button {
  padding: 0;
  border: none;
  background: none;
  color: var(--color-negative);
  font: inherit;
  font-size: 0.85em;
  font-weight: 650;
  text-decoration: underline;
  cursor: pointer;
}

.leader-line {
  z-index: 5;
}

.content-body > a.btn:not(.plain-link), .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .content-body > a.bank-transfer-row-copy-button:not(.plain-link),
.money-round > a.btn,
.bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .money-round > a.bank-transfer-row-copy-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

.explain-table {
  width: 100%;
  margin: 6px 0 10px;
  border-collapse: collapse;
  font-size: 0.9em;
  font-variant-numeric: tabular-nums;
}
.explain-table th,
.explain-table td {
  padding: 4px 6px;
  border-bottom: 1px solid var(--color-border);
  text-align: right;
}
.explain-table thead th {
  color: var(--color-text-muted);
  font-size: 0.85em;
  font-weight: 650;
}
.explain-table tbody th {
  color: var(--color-text);
  text-align: left;
}
.explain-table .is-plus {
  color: var(--color-positive);
  font-weight: 700;
}
.explain-table .is-minus {
  color: var(--color-negative);
  font-weight: 700;
}

.money-round .info-tip-button.page-help {
  margin: -4px 0 10px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.pool-receipt-box {
  margin-bottom: 12px;
}

.pool-receipt-pick {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border: 1.5px dashed var(--color-border);
  border-radius: var(--radius-s);
  color: var(--color-primary);
  font-weight: 650;
  cursor: pointer;
}
.pool-receipt-pick:focus-within {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.pool-receipt-pick svg {
  width: 22px;
  height: 22px;
}
.is-busy .pool-receipt-pick {
  opacity: 0.6;
  pointer-events: none;
}

.pool-receipt-hint {
  margin: 6px 0 0;
  color: var(--color-text-muted);
  font-size: 0.82em;
}

.pool-receipt {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-s);
  background: var(--color-surface);
}

.pool-receipt-thumb img {
  display: block;
  width: 64px;
  height: 84px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--color-surface-raised);
}

.pool-receipt-state {
  flex: 1;
  font-size: 0.9em;
}
.pool-receipt-state p {
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 0;
}
.pool-receipt-state svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--color-positive);
}
.pool-receipt-state .is-warning svg {
  color: var(--color-pending);
}
.pool-receipt-state form {
  margin-top: 4px;
}

.pool-receipt-retry {
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--color-primary);
  font: inherit;
  font-weight: 650;
  text-decoration: underline;
  cursor: pointer;
}

.pool-receipt-spinner {
  flex: none;
  width: 16px;
  height: 16px;
  border: 2px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: pool-receipt-spin 0.8s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .pool-receipt-spinner {
    animation-duration: 3s;
  }
}

@keyframes pool-receipt-spin {
  to {
    transform: rotate(360deg);
  }
}
.receipt-items {
  margin: 4px 0 14px;
  padding: 12px;
  border-radius: var(--radius-s);
  background: var(--color-surface-raised);
}
.receipt-items h3 {
  margin: 0 0 4px;
  font-size: 0.95em;
}
.receipt-items > p {
  margin: 0 0 8px;
  color: var(--color-text-muted);
  font-size: 0.82em;
}
.receipt-items ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.receipt-item {
  padding: 8px 0;
  border-top: 1px solid var(--color-border);
}
.receipt-item:first-child {
  border-top: 0;
}

.receipt-item-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.92em;
}
.receipt-item-head span:last-child {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.receipt-item-head.is-minus span:last-child {
  color: var(--color-positive);
}

.receipt-item-people {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}
.receipt-item-people button {
  min-height: 32px;
  padding: 3px 10px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text-muted);
  font: inherit;
  font-size: 0.82em;
  cursor: pointer;
}
.receipt-item-people button[aria-pressed=true] {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--color-on-primary, #fff);
}

.receipt-items-apply {
  margin-top: 10px;
}
.receipt-items-apply .btn, .receipt-items-apply .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .bank-transfer-row-copy-button, .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .receipt-items-apply .bank-transfer-row-copy-button {
  width: 100%;
  margin: 0;
}

.pool-overview {
  margin: var(--space-m) 0;
}

.pool-overview-more {
  display: block;
  margin-top: 4px;
  text-align: center;
}

.pool-entry-category svg {
  width: 16px;
  height: 16px;
  margin-right: 2px;
  color: var(--color-text-muted);
  vertical-align: -2px;
}

.pool-categories {
  margin-bottom: var(--space-m);
}
.pool-categories summary {
  margin-bottom: 8px;
  color: var(--color-text-muted);
  font-weight: 650;
  cursor: pointer;
}
.pool-categories small {
  color: var(--color-text-muted);
  font-weight: 500;
}
.pool-categories .is-category {
  background: var(--color-primary);
}

.pool-category-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-surface-raised);
  color: var(--color-primary);
}
.pool-category-icon svg {
  width: 16px;
  height: 16px;
}

.pool-export {
  margin: var(--space-m) 0 0;
  color: var(--color-text-muted);
  font-size: 0.85em;
}

.gift-participants {
  margin: 0 0 var(--space-m);
  padding: 0;
  list-style: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-s);
  background: var(--color-surface);
  overflow: hidden;
}
.gift-participants > li + li {
  border-top: 1px solid var(--color-border);
}

.gift-participant {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
}

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

.gift-participant-name {
  overflow: hidden;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gift-participant-meta {
  color: var(--color-text-muted);
  font-size: 0.88em;
}

.gift-participant-amount {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  white-space: nowrap;
}

.gift-participant:has(.gift-participant-action) {
  grid-template-columns: auto 1fr auto auto;
}

.gift-participant-action {
  margin: 0;
}
.gift-participant-action .btn, .gift-participant-action .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .bank-transfer-row-copy-button, .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .gift-participant-action .bank-transfer-row-copy-button {
  margin: 0;
}

.gift-link {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
  align-items: center;
}

.gift-link-url {
  flex: 1 1 100%;
  overflow-wrap: anywhere;
  font-size: 0.85em;
}

.gift-link-help {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.88em;
}

.gift-claim p,
.gift-leave p {
  margin: 0 0 var(--space-s);
}

.gift-leave > summary {
  list-style: none;
  cursor: pointer;
}
.gift-leave > summary::-webkit-details-marker {
  display: none;
}

.admin-mails-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
  align-items: center;
  margin-top: var(--space-m);
}
.admin-mails-actions form {
  margin: 0;
}
.admin-mails-actions .btn, .admin-mails-actions .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .bank-transfer-row-copy-button, .bank-transfer-details .bank-transfer-line .bank-transfer-row-copy .admin-mails-actions .bank-transfer-row-copy-button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.admin-mails-hint {
  margin: var(--space-s) 0 0;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.admin-mails-list {
  margin: 0 0 var(--space-m);
  padding: 0;
  list-style: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-s);
  background: var(--color-surface);
  overflow: hidden;
}
.admin-mails-list > li + li {
  border-top: 1px solid var(--color-border);
}

.admin-mail {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
}
.admin-mail form {
  margin: 0;
}

.admin-mail-send {
  display: inline-flex;
  flex: none;
  gap: 6px;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface-raised);
  color: var(--color-primary-dark);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}
.admin-mail-send:hover, .admin-mail-send:focus-visible {
  background: var(--color-primary-soft);
}
.admin-mail-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.admin-mail-name {
  font-weight: 600;
}
.admin-mail-name small {
  display: block;
  color: var(--color-text-muted);
  font-weight: 400;
}

.admin-spuckler .admin-mail.is-active {
  background: var(--color-primary-soft);
}
.admin-spuckler a.admin-mail-send {
  color: inherit;
  text-decoration: none;
}

.admin-spuckler-images {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
  margin-bottom: var(--space-m);
}
.admin-spuckler-images a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 72px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-s);
  overflow: hidden;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
}
.admin-spuckler-images a.is-active {
  border-color: var(--color-primary);
}
.admin-spuckler-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spuckler {
  position: fixed;
  left: max(12px, 50% - 1000px / 2 + 12px);
  bottom: calc(96px + env(safe-area-inset-bottom));
  z-index: 70;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  max-width: min(360px, 100% - 24px);
  font-family: var(--font);
  color: var(--color-text);
  pointer-events: none;
  transform: translateX(-120%) rotate(-8deg);
  opacity: 0;
}
.spuckler.is-in {
  pointer-events: auto;
  transform: none;
  opacity: 1;
  transition: transform 0.55s cubic-bezier(0.2, 1.4, 0.4, 1), opacity 0.2s ease;
}
.spuckler.is-out {
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.35s ease-in, opacity 0.35s ease-in;
}
.spuckler[hidden] {
  display: none;
}

.spuckler-face {
  flex: none;
  width: 112px;
  height: 84px;
  border-radius: var(--radius-s);
  border: 3px solid var(--color-surface);
  box-shadow: var(--shadow-float);
  object-fit: cover;
  background: var(--color-surface);
}

.spuckler-bubble {
  position: relative;
  margin-bottom: 30px;
  padding: 12px 14px 10px;
  border-radius: var(--radius) var(--radius) var(--radius) 4px;
  background: var(--color-surface);
  box-shadow: var(--shadow-float);
  font-size: 0.95em;
  line-height: 1.35;
}
.spuckler-bubble::before {
  content: "";
  position: absolute;
  left: -8px;
  bottom: 10px;
  border: 8px solid transparent;
  border-right-color: var(--color-surface);
  border-left: 0;
}
.spuckler-bubble p {
  margin: 0;
}

.spuckler-name {
  color: var(--color-text-muted);
  font-size: 0.85em;
  font-weight: 700;
}

.spuckler-text {
  margin-top: 2px !important;
}

.spuckler-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  font-size: 0.85em;
}
.spuckler-actions a {
  color: var(--color-text-muted);
}

.spuckler-ok {
  padding: 4px 12px;
  white-space: nowrap;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: var(--color-on-primary);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.spuckler-close {
  position: absolute;
  top: -8px;
  right: -8px;
  display: inline-flex;
  padding: 4px;
  border: 0;
  border-radius: 50%;
  background: var(--color-surface);
  box-shadow: var(--shadow-float);
  color: var(--color-text-muted);
  cursor: pointer;
}
.spuckler-close svg {
  width: 14px;
  height: 14px;
}

@media (prefers-reduced-motion: reduce) {
  .spuckler,
  .spuckler.is-in,
  .spuckler.is-out {
    transform: none;
    transition: opacity 0.2s ease;
  }
}

/*# sourceMappingURL=modern-b09be85d51.output.css.map */
