/* Digitana Accounting: globale Seitengeometrie und Footerfluss. */
html,
body {
  height: auto;
  min-height: 100%;
}

body {
  min-height: 100dvh;
}

.accounting-shell {
  min-height: calc(100dvh - 2rem);
  height: auto;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  overflow: clip;
}

.accounting-workspace {
  flex: 1 0 auto;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  overflow: visible;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f9fc 100%);
}

.accounting-footer {
  flex: 0 0 auto;
  margin-top: auto;
  border-top: 1px solid var(--color-line);
  background: linear-gradient(180deg, #f3f8fb, #e7f0f6);
}

.accounting-footer__inner {
  min-height: 62px;
  padding: 0.4rem 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  color: var(--color-text-soft);
  font-size: 0.78rem;
}

.accounting-footer__inner p {
  margin: 0;
}

.accounting-footer__operator {
  text-align: right;
}

.accounting-footer__center {
  display: grid;
  justify-items: center;
  gap: 0.18rem;
}

.accounting-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.74rem;
}

.accounting-footer a {
  color: var(--color-blue-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.accounting-footer a:hover,
.accounting-footer a:focus-visible {
  color: var(--color-blue);
}

.accounting-footer__brand {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
}

.accounting-footer__brand::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 12% -8%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.72) 0%, rgba(223, 240, 250, 0.46) 44%, rgba(111, 177, 216, 0.16) 67%, transparent 82%);
  filter: blur(6px);
  pointer-events: none;
}

.accounting-footer__brand img {
  position: relative;
  z-index: 1;
  display: block;
  width: 118px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(27, 66, 93, 0.2));
}

html[data-theme="dark"] .accounting-workspace,
html[data-theme="dark"] .accounting-footer {
  background: var(--color-shell);
  border-color: var(--color-line);
}

html[data-theme="dark"] .accounting-footer__brand::before {
  background: radial-gradient(ellipse at center, rgba(230, 244, 253, 0.34) 0%, rgba(104, 174, 215, 0.22) 48%, rgba(36, 106, 148, 0.12) 68%, transparent 82%);
}

html[data-theme="dark"] .accounting-footer__brand img {
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.48)) drop-shadow(0 0 9px rgba(84, 162, 207, 0.16));
}
