/* Gedeeld CSS-bestand voor website en beheerapp. */

/* Website: body.site-page | Beheerapp: body.app-page */

@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato/Lato-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}body.site-page {
  --primary-color: #2a255b;
  --secondary-color: #0071bd;
  --ink: #181534;
  --muted: #636985;
  --paper: #f7f9ff;
  --line: #d9e1f2;
  --wood: var(--primary-color);
  --leaf: var(--secondary-color);
  --steel: #343f7a;
  --gold: var(--secondary-color);
  --white: #ffffff;
  --ink-rgb: 24, 21, 52;
  --paper-rgb: 247, 249, 255;
  --white-rgb: 255, 255, 255;
  --gold-light: #8bd8ff;
  --paper-light: #eef6ff;
  --shadow: 0 18px 45px rgba(var(--ink-rgb), 0.14);
}body.site-page * {
  box-sizing: border-box;
}html {
  scroll-behavior: smooth;
  scroll-padding-top: 128px;
}body.site-page {
  margin: 0;
  font-family: "Lato", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}body.site-page a {
  color: inherit;
}body.site-page img {
  max-width: 100%;
  display: block;
}body.site-page header {
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 10px 26px rgba(var(--ink-rgb), 0.12);
}body.site-page .topbar {
  background: var(--ink);
  color: var(--white);
  font-size: 0.95rem;
}body.site-page .topbar-inner, body.site-page .nav-inner, body.site-page .section-inner, body.site-page .footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}body.site-page .topbar-inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px 0;
}body.site-page .topbar a {
  text-decoration: none;
  font-weight: 700;
}body.site-page .quick-contact {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}body.site-page .nav {
  background: rgba(var(--paper-rgb), 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}body.site-page .nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}body.site-page .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 210px;
}body.site-page .brand-logo {
  width: 74px;
  height: 48px;
  object-fit: contain;
  background: var(--white);
}body.site-page .brand strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0;
}body.site-page .brand span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}body.site-page .menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  padding: 11px;
}body.site-page .menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  margin: 5px 0;
  background: var(--primary-color);
  transition: transform 0.2s ease, opacity 0.2s ease;
}body.site-page .menu-toggle:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}body.site-page .menu-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}body.site-page .menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}body.site-page .menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}body.site-page .nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
  font-weight: 700;
}body.site-page .nav-links a {
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}body.site-page .nav-links a:hover {
  border-color: var(--gold);
}body.site-page .hero {
  min-height: calc(100vh - 120px);
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(var(--ink-rgb), 0.88) 0%, rgba(var(--ink-rgb), 0.7) 46%, rgba(var(--ink-rgb), 0.12) 100%),
    url("../img/site-assets/hero-workshop.svg") center / cover no-repeat;
  color: var(--white);
}body.site-page .hero-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 74px 0 92px;
}body.site-page .eyebrow {
  margin: 0 0 16px;
  color: var(--gold-light);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}body.site-page h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.4rem, 5.6vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: 0;
}body.site-page .hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  font-size: 1.17rem;
  color: var(--paper-light);
}body.site-page .hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}body.site-page .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 2px solid transparent;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}body.site-page .button.primary {
  background: var(--gold);
  color: var(--white);
}body.site-page .button.primary:hover, body.site-page .button.primary:focus-visible {
  background: var(--primary-color);
  color: var(--white);
}body.site-page .button:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}body.site-page .button.secondary {
  border-color: rgba(var(--white-rgb), 0.7);
  color: var(--white);
}body.site-page .section {
  padding: 76px 0;
}body.site-page .section.alt {
  background: var(--white);
  border-block: 1px solid var(--line);
}body.site-page .section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 34px;
}body.site-page h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}body.site-page .lead {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 780px;
}body.site-page .trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}body.site-page .trust-item {
  padding: 22px;
  border-right: 1px solid var(--line);
}body.site-page .trust-item:last-child {
  border-right: 0;
}body.site-page .trust-item strong {
  display: block;
  font-size: 1.3rem;
  color: var(--leaf);
}body.site-page .trust-item span {
  color: var(--muted);
  font-size: 0.95rem;
}body.site-page .services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}body.site-page .service {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px;
  min-height: 238px;
}body.site-page .service h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
}body.site-page .service p {
  margin: 0;
  color: var(--muted);
}body.site-page .service ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--steel);
}body.site-page .about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 44px;
  align-items: center;
}body.site-page .about-photo {
  min-height: 430px;
  background: url("../img/site-assets/about-detail.svg") center / cover no-repeat;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}body.site-page .check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}body.site-page .check-list li {
  display: flex;
  gap: 10px;
  color: var(--steel);
}body.site-page .check-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  margin-top: 8px;
  background: var(--gold);
}body.site-page .portfolio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}body.site-page .project {
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}body.site-page .project-media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  user-select: none;
}body.site-page .project-body {
  padding: 18px;
}body.site-page .project h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}body.site-page .project p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}body.site-page .contact-band {
  background: var(--leaf);
  color: var(--white);
  padding: 64px 0;
}body.site-page .contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: start;
}body.site-page .contact-card {
  background: var(--white);
  color: var(--ink);
  border: 1px solid rgba(var(--white-rgb), 0.2);
  padding: 26px;
  box-shadow: var(--shadow);
}body.site-page .contact-card h3 {
  margin: 0 0 14px;
  font-size: 1.3rem;
}body.site-page .contact-card p {
  margin: 0 0 12px;
  color: var(--muted);
}body.site-page .contact-links {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}body.site-page .contact-links a {
  font-weight: 800;
  color: var(--leaf);
  text-decoration: none;
}body.site-page .website-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}body.site-page form {
  display: grid;
  gap: 14px;
}body.site-page label {
  display: grid;
  gap: 7px;
  font-weight: 800;
  color: var(--white);
}body.site-page input, body.site-page textarea, body.site-page select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(var(--white-rgb), 0.28);
  background: rgba(var(--white-rgb), 0.12);
  color: var(--white);
  padding: 12px 14px;
  font: inherit;
}body.site-page input:focus, body.site-page textarea:focus, body.site-page select:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(var(--white-rgb), 0.18);
  outline: none;
}body.site-page textarea {
  min-height: 132px;
  resize: vertical;
}body.site-page input::placeholder, body.site-page textarea::placeholder {
  color: rgba(var(--white-rgb), 0.72);
}body.site-page select option {
  color: var(--ink);
}body.site-page .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}body.site-page .form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}body.site-page .form-submit {
  min-width: 220px;
  min-height: 56px;
  border: 0;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(var(--ink-rgb), 0.22);
}body.site-page .form-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}body.site-page .form-note {
  margin: 0;
  max-width: 430px;
  color: var(--paper-light);
  font-size: 0.96rem;
}body.site-page .form-note.is-success {
  font-weight: 800;
  color: var(--gold-light);
}body.site-page .form-note.is-error {
  font-weight: 800;
  color: var(--white);
}body.site-page .field-error {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
}body.site-page .gallery-section {
  background: var(--paper);
}body.site-page .gallery-section[hidden], body.site-page [data-gallery-nav][hidden] {
  display: none;
}body.site-page .gallery-head {
  align-items: end;
}body.site-page .gallery-controls {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}body.site-page .gallery-control {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}body.site-page .gallery-control:hover, body.site-page .gallery-control:focus-visible {
  background: var(--leaf);
  border-color: var(--leaf);
  color: var(--white);
  outline: none;
}body.site-page .gallery-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding: 4px 0 18px;
}body.site-page .gallery-track {
  display: flex;
  gap: 18px;
}body.site-page .gallery-item {
  flex: 0 0 calc((100% - 36px) / 3);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
  scroll-snap-align: start;
  cursor: zoom-in;
}body.site-page .gallery-item:focus-visible {
  outline: 3px solid var(--leaf);
  outline-offset: 3px;
}body.site-page .gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  user-select: none;
  transition: transform 220ms ease;
}body.site-page .gallery-item:hover img, body.site-page .gallery-item:focus-within img {
  transform: scale(1.1);
}body.site-page.gallery-lightbox-open {
  overflow: hidden;
}body.site-page .gallery-lightbox[hidden] {
  display: none;
}body.site-page .gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 19, 18, 0.88);
}body.site-page .gallery-lightbox-panel {
  position: relative;
  display: flex;
  max-width: min(1100px, 94vw);
  max-height: 90vh;
}body.site-page .gallery-lightbox img {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  user-select: none;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}body.site-page .gallery-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(15, 19, 18, 0.82);
  color: var(--white);
  font: inherit;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}body.site-page .gallery-lightbox-close:hover, body.site-page .gallery-lightbox-close:focus-visible {
  background: var(--leaf);
  outline: 3px solid var(--white);
  outline-offset: 2px;
}body.site-page .footer {
  background: var(--ink);
  color: rgba(var(--white-rgb), 0.82);
  padding: 28px 0;
  font-size: 0.94rem;
}body.site-page .footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}body.site-page .footer a {
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
}@media (max-width: 900px) {html {
    scroll-padding-top: 190px;
  }body.site-page .nav-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    padding: 14px 0;
  }body.site-page .brand {
    min-width: 0;
  }body.site-page .menu-toggle {
    display: block;
    justify-self: end;
  }body.site-page .nav-links {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    padding: 14px 0 4px;
    border-top: 1px solid var(--line);
    margin-top: 10px;
    overflow: visible;
  }body.site-page .nav-links.is-open {
    display: grid;
    gap: 4px;
  }body.site-page .nav-links a {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }body.site-page .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(var(--ink-rgb), 0.9) 0%, rgba(var(--ink-rgb), 0.72) 62%, rgba(var(--ink-rgb), 0.4) 100%),
      url("../img/site-assets/hero-workshop.svg") center / cover no-repeat;
  }body.site-page .section-head, body.site-page .about-grid, body.site-page .contact-grid {
    grid-template-columns: 1fr;
  }body.site-page .gallery-head {
    align-items: start;
  }body.site-page .gallery-controls {
    justify-content: flex-start;
  }body.site-page .gallery-item {
    flex-basis: calc((100% - 18px) / 2);
  }body.site-page .trust-strip, body.site-page .services, body.site-page .portfolio {
    grid-template-columns: repeat(2, 1fr);
  }body.site-page .trust-item:nth-child(2) {
    border-right: 0;
  }body.site-page .trust-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
}@media (max-width: 620px) {body.site-page .topbar-inner, body.site-page .quick-contact, body.site-page .hero-actions, body.site-page .form-row, body.site-page .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }body.site-page .form-row, body.site-page .trust-strip, body.site-page .services, body.site-page .portfolio {
    grid-template-columns: 1fr;
  }body.site-page .gallery-item {
    flex-basis: 100%;
  }body.site-page .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }body.site-page .trust-item:last-child {
    border-bottom: 0;
  }body.site-page .section {
    padding: 56px 0;
  }body.site-page .hero-inner {
    padding: 56px 0 72px;
  }body.site-page .button {
    width: 100%;
  }body.site-page .form-actions {
    width: 100%;
  }body.site-page .form-submit {
    width: 100%;
  }
}


body.app-page {
    color-scheme: light;
    --bg: #f5f7f9;
    --panel: #ffffff;
    --text: #17202a;
    --muted: #687482;
    --line: #dbe2ea;
    --primary: #176b5d;
    --primary-dark: #0e4f44;
    --danger: #a33232;
    --success-bg: #e8f6ef;
    --success-text: #14613f;
    --error-bg: #faeaea;
    --error-text: #8d2525;
}body.app-page * {
    box-sizing: border-box;
}body.app-page {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}body.app-page a {
    color: var(--primary);
    text-decoration: none;
}body.app-page button, body.app-page .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border: 0;
    border-radius: 6px;
    background: var(--primary);
    color: #fff;
    padding: 0 16px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}body.app-page .icon-button {
    width: 40px;
    min-width: 40px;
    padding: 0;
    font-size: 20px;
    line-height: 1;
}body.app-page .icon-button.small {
    width: 32px;
    min-width: 32px;
    min-height: 32px;
    font-size: 17px;
}body.app-page .icon-button.danger {
    background: transparent;
    color: var(--danger);
}body.app-page .icon-button.danger:hover {
    background: var(--error-bg);
}body.app-page button:hover, body.app-page .button:hover {
    background: var(--primary-dark);
}body.app-page .secondary-button {
    background: #eef3f7;
    color: var(--text);
}body.app-page .secondary-button:hover {
    background: #dbe5ee;
}body.app-page .danger-button {
    background: var(--danger);
}body.app-page .danger-button:hover {
    background: #7f2424;
}body.app-page .shell {
    min-height: 100vh;
    display: flex;
}body.app-page .sidebar {
    width: 240px;
    background: #18212b;
    color: #fff;
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 0 0 240px;
    transition: flex-basis 180ms ease, width 180ms ease, padding 180ms ease;
}body.app-page .brand {
    font-size: 22px;
    font-weight: 800;
}body.app-page .sidebar nav {
    display: grid;
    gap: 6px;
}body.app-page .sidebar a, body.app-page .link-button {
    width: 100%;
    justify-content: flex-start;
    border-radius: 6px;
    color: #eaf0f5;
    background: transparent;
    padding: 10px 12px;
    font-weight: 700;
}body.app-page .sidebar a:hover, body.app-page .link-button:hover {
    background: #253342;
}body.app-page .content {
    flex: 1;
    padding: 28px;
    min-width: 0;
}body.app-page .content-centered {
    display: grid;
    place-items: center;
}body.app-page .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}body.app-page .topbar h1 {
    margin: 0;
    font-size: 28px;
}body.app-page .login-panel {
    width: min(420px, 100%);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 28px;
}body.app-page .login-panel h1 {
    margin-top: 0;
}body.app-page .form {
    display: grid;
    gap: 16px;
}body.app-page .wide-form {
    max-width: 900px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
}body.app-page .section-title {
    grid-column: 1 / -1;
    margin: 4px 0 0;
    font-size: 1rem;
    color: var(--text);
}body.app-page .filter-form {
    max-width: none;
    margin-bottom: 16px;
}body.app-page .audit-cleanup-form {
    max-width: 520px;
    margin-bottom: 16px;
    grid-template-columns: minmax(0, 1fr) auto;
}body.app-page label {
    display: block;
    color: var(--muted);
    font-weight: 700;
}body.app-page label > input, body.app-page label > select, body.app-page label > textarea {
    margin-top: 7px;
}body.app-page .required-marker {
    color: #b42318;
    font-weight: 800;
    margin-left: 2px;
}body.app-page .checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
}body.app-page .checkbox-label input {
    margin-top: 0;
    width: auto;
}body.app-page input, body.app-page select, body.app-page textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 10px 12px;
    color: var(--text);
    font: inherit;
}body.app-page textarea {
    resize: vertical;
}body.app-page .full, body.app-page .form-actions {
    grid-column: 1 / -1;
}body.app-page .form-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}body.app-page .receipt-lines {
    display: grid;
    gap: 12px;
}body.app-page .receipt-balance {
    color: var(--danger);
    font-weight: 800;
}body.app-page .receipt-balance.is-balanced {
    color: var(--success-text);
}body.app-page .receipt-line {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) 40px;
    gap: 12px;
    align-items: end;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
}body.app-page .actions {
    margin-bottom: 16px;
}body.app-page .list-section {
    margin-bottom: 28px;
}body.app-page .list-section h2 {
    margin: 0 0 12px;
    font-size: 22px;
}body.app-page .table-wrap {
    overflow-x: auto;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
}body.app-page table {
    width: 100%;
    border-collapse: collapse;
}body.app-page th, body.app-page td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}body.app-page th {
    color: var(--muted);
    font-size: 14px;
}body.app-page tr:last-child td {
    border-bottom: 0;
}body.app-page .table-wrap table .audit-log-row-info > td {
    background: #eef6ff;
}body.app-page .table-wrap table .audit-log-row-waarschuwing > td {
    background: #fff6df;
}body.app-page .table-wrap table .audit-log-row-fout > td {
    background: #fdecec;
}body.app-page .table-wrap table .audit-log-row-info:hover > td {
    background: #e2f0ff;
}body.app-page .table-wrap table .audit-log-row-waarschuwing:hover > td {
    background: #ffefc2;
}body.app-page .table-wrap table .audit-log-row-fout:hover > td {
    background: #f9dddd;
}body.app-page .right {
    text-align: right;
}body.app-page .row-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}body.app-page .row-actions a, body.app-page .row-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}body.app-page .row-actions form {
    margin: 0;
}body.app-page .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}body.app-page .detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}body.app-page .detail-header h2 {
    margin: 4px 0 8px;
    font-size: 24px;
}body.app-page .detail-header p {
    margin: 0;
    color: var(--muted);
}body.app-page .print-document {
    max-width: 1120px;
}body.app-page .print-document h2 {
    margin-top: 0;
}body.app-page .print-group-row td {
    background: #eef3f7;
    color: var(--text);
    font-weight: 800;
}body.app-page .eyebrow {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}body.app-page .detail-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}body.app-page .detail-actions form {
    margin: 0;
}body.app-page .split-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}body.app-page .split-grid h3 {
    margin: 0 0 12px;
    font-size: 18px;
}body.app-page .pdf-preview-shell {
    height: calc(100vh - 170px);
    min-height: 560px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}body.app-page .pdf-preview-frame {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}body.app-page .panel-form {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
}body.app-page .report-filter {
    margin-bottom: 22px;
}body.app-page .report-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}body.app-page .report-summary div {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
}body.app-page .report-summary span, body.app-page .report-summary small {
    display: block;
    color: var(--muted);
    font-weight: 700;
}body.app-page .report-summary strong {
    display: block;
    margin: 8px 0 4px;
    font-size: 22px;
}body.app-page .stat {
    min-height: 120px;
    display: grid;
    align-content: space-between;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
    color: var(--text);
}body.app-page .stat span {
    color: var(--muted);
    font-weight: 700;
}body.app-page .stat strong {
    font-size: 38px;
}body.app-page .badge {
    display: inline-flex;
    border-radius: 999px;
    background: #eef3f7;
    padding: 4px 10px;
    color: #334252;
    font-size: 14px;
    font-weight: 700;
}body.app-page .status-paid {
    background: var(--success-bg);
    color: var(--success-text);
}body.app-page .status-open {
    background: #fff6df;
    color: #8a5a00;
}body.app-page .audit-log-badge-info {
    background: #d9ecff;
    color: #174d7c;
}body.app-page .audit-log-badge-waarschuwing {
    background: #ffe7a3;
    color: #725000;
}body.app-page .audit-log-badge-fout {
    background: #f7c9c9;
    color: #7f1d1d;
}body.app-page .alert {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    border-radius: 6px;
    padding: 12px 14px;
    font-weight: 700;
    opacity: 1;
    transition: opacity 220ms ease, transform 220ms ease, margin 220ms ease, padding 220ms ease;
}body.app-page .alert.is-hiding {
    opacity: 0;
    transform: translateY(-6px);
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
}body.app-page .flash-close {
    width: 24px;
    min-width: 24px;
    min-height: 24px;
    padding: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    font-size: 20px;
    line-height: 1;
}body.app-page .flash-close:hover {
    background: rgba(0, 0, 0, 0.08);
}body.app-page .alert-success {
    background: var(--success-bg);
    color: var(--success-text);
}body.app-page .alert-error {
    background: var(--error-bg);
    color: var(--error-text);
}body.app-page .modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(23, 32, 42, 0.48);
}body.app-page .modal-overlay[hidden] {
    display: none;
}body.app-page .modal-panel {
    width: min(460px, 100%);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(23, 32, 42, 0.28);
    padding: 24px;
}body.app-page .modal-panel h2 {
    margin: 0 0 8px;
    font-size: 22px;
}body.app-page .modal-panel p {
    margin: 0 0 18px;
    color: var(--muted);
}body.app-page .modal-error {
    margin-top: 10px;
    color: var(--error-text);
    font-weight: 700;
}body.app-page .modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}@media print {body.app-page {
        background: #fff;
        font-size: 11px;
    }body.app-page .sidebar, body.app-page .topbar, body.app-page .no-print, body.app-page .actions, body.app-page .flash-message, body.app-page .alert {
        display: none !important;
    }body.app-page .shell {
        display: block;
        min-height: 0;
    }body.app-page .content {
        padding: 0;
    }body.app-page .table-wrap {
        border: 0;
        overflow: visible;
    }body.app-page table {
        min-width: 0;
        width: 100%;
    }body.app-page th, body.app-page td {
        padding: 6px 8px;
    }body.app-page .badge {
        border: 1px solid #999;
        background: #fff;
        color: #000;
    }body.app-page .print-group-row td {
        background: #e8eef3 !important;
    }
}@media (min-width: 861px) and (max-width: 1366px) and (hover: hover) and (pointer: fine) {body.app-page.has-auto-sidebar::before {
        content: "";
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 20;
        width: 36px;
        pointer-events: none;
    }body.app-page.has-auto-sidebar .sidebar {
        position: sticky;
        top: 0;
        z-index: 30;
        height: 100vh;
        overflow: hidden;
        white-space: nowrap;
    }body.app-page.has-auto-sidebar .sidebar .brand, body.app-page.has-auto-sidebar .sidebar nav, body.app-page.has-auto-sidebar .sidebar form {
        transition: opacity 140ms ease, transform 180ms ease;
    }body.app-page.has-auto-sidebar.sidebar-collapsed .sidebar {
        width: 14px;
        flex-basis: 14px;
        padding-right: 0;
        padding-left: 0;
    }body.app-page.has-auto-sidebar.sidebar-collapsed .sidebar .brand, body.app-page.has-auto-sidebar.sidebar-collapsed .sidebar nav, body.app-page.has-auto-sidebar.sidebar-collapsed .sidebar form {
        opacity: 0;
        pointer-events: none;
        transform: translateX(-18px);
    }
}@media (max-width: 860px) {body.app-page .shell {
        display: block;
    }body.app-page .sidebar {
        width: auto;
        flex-basis: auto;
    }body.app-page .stats-grid, body.app-page .split-grid, body.app-page .report-summary, body.app-page .wide-form, body.app-page .receipt-line {
        grid-template-columns: 1fr;
    }body.app-page .detail-header {
        flex-direction: column;
    }body.app-page .topbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}
