/* Funeral+ shell — card-based layout, brand via --fp-brand */

:root {
  --fp-brand: #6b7c6a;
  --fp-brand-soft: #eef2ee;
  --fp-brand-softer: #f6f8f6;
  --fp-surface: #ffffff;
  --fp-canvas: #f3f4f1;
  --fp-text: #1f2937;
  --fp-muted: #6b7280;
  --fp-border: rgba(15, 23, 42, 0.08);
  --fp-radius: 16px;
  --fp-radius-sm: 12px;
  --fp-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  --fp-sidebar-width: 280px;
  --fp-control-h: 44px;
  --fp-control-radius: 10px;
  --fp-control-bg: #fff;
  --fp-control-border: #e5e7eb;
  --fp-control-pad-x: 12px;
  --fp-control-pad-y: 10px;
}

html, body.fp-app {
  min-height: 100%;
  background: var(--fp-canvas);
  color: var(--fp-text);
}

body.fp-app {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

.fp-app-frame.body-bg {
  display: flex;
  min-height: 100vh;
  background: var(--fp-canvas) !important;
}

/* —— Sidebar —— */
.fp-sidebar.nftmax-smenu {
  position: sticky;
  top: 0;
  align-self: flex-start;
  width: var(--fp-sidebar-width);
  min-width: var(--fp-sidebar-width);
  height: 100vh;
  background: var(--fp-surface);
  border-right: 1px solid var(--fp-border);
  box-shadow: none;
  z-index: 40;
  overflow: hidden;
}

.fp-sidebar__inner.admin-menu {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 18px 14px 16px;
  background: transparent !important;
}

.fp-sidebar__brand.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 8px 20px;
  border-bottom: 1px solid var(--fp-border);
  margin-bottom: 14px;
}

.fp-sidebar__brand.logo a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.fp-sidebar__brand img.nftmax-logo__main {
  max-height: 72px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.fp-sidebar__scroll.admin-menu__one {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 0 !important;
}

.fp-sidebar__menu.menu-bar {
  flex: 1;
}

.fp-sidebar .menu-bar__one {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.fp-sidebar .menu-bar__one > li.fp-nav-beheer {
  margin-bottom: 14px;
}

.fp-sidebar .menu-bar__one > li > a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--fp-text);
  font-weight: 600;
  font-size: 14px;
  transition: background .15s ease, color .15s ease;
}

.fp-sidebar .menu-bar__one > li > a:hover,
.fp-sidebar .menu-bar__one > li.active > a,
.fp-sidebar .menu-bar__one > li.show-dropdown > a.fp-nav-toggle {
  background: var(--fp-brand-soft);
  color: var(--fp-brand);
}

.fp-sidebar .menu-bar__text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  width: 100%;
}

.fp-sidebar .fp-nav-badge {
  margin-left: auto;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.fp-sidebar .fp-nav-badge.is-urgent {
  background: #dc2626;
}

.fp-sidebar .nftmax-menu-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1 !important;
  background: var(--fp-brand-soft) !important;
  color: var(--fp-brand) !important;
  box-sizing: border-box;
  overflow: visible;
}

.fp-sidebar .nftmax-menu-icon i,
.fp-sidebar .nftmax-menu-icon .nftmax-svg-icon,
.fp-sidebar .nftmax-menu-icon svg {
  width: 1em !important;
  height: 1em !important;
  font-size: 14px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: inherit !important;
  fill: currentColor;
}

/* fa-comments heeft meer witruimte in de glyph — iets groter voor gelijke optische maat */
.fp-sidebar .nftmax-menu-icon .fa-comments {
  font-size: 15.5px !important;
}

.fp-sidebar .menu-bar__one > li > a:hover .nftmax-menu-icon,
.fp-sidebar .menu-bar__one > li.active > a .nftmax-menu-icon,
.fp-sidebar .menu-bar__one > li.show-dropdown > a.fp-nav-toggle .nftmax-menu-icon {
  background: color-mix(in srgb, var(--fp-brand) 22%, white) !important;
  color: var(--fp-brand) !important;
}

.fp-sidebar .menu-bar__name {
  color: inherit !important;
}

.fp-sidebar .menu-bar__one > li > ul {
  list-style: none;
  margin: 2px 0 4px 12px;
  padding: 0 0 0 12px;
  border-left: 2px solid var(--fp-brand-soft);
  display: none;
}

.fp-sidebar .menu-bar__one > li.show-dropdown > ul,
.fp-sidebar .menu-bar__one > li.active.show-dropdown > ul {
  display: block;
}

.fp-sidebar .menu-bar__one > li > ul > li > a {
  display: block;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fp-muted);
  text-decoration: none;
}

.fp-sidebar .menu-bar__one > li > ul > li.active > a,
.fp-sidebar .menu-bar__one > li > ul > li > a:hover {
  color: var(--fp-brand);
  background: var(--fp-brand-softer);
}

.fp-sidebar__foot.logout-button {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--fp-border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.fp-sidebar__foot .btn-dossier {
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  border: 0;
  color: #fff !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  box-sizing: border-box;
}

.fp-sidebar__foot .btn-dossier > i {
  font-size: 15px;
  line-height: 1;
  width: 1em;
  text-align: center;
}

.fp-sidebar__foot .chatIconWrap .btn-dossier {
  width: 40px;
  min-width: 40px;
  padding: 0;
  justify-content: center;
}

.fp-sidebar__foot .chatIconWrap .btn-dossier > i {
  font-size: 16px;
}

/* —— Workspace / topbar —— */
.fp-workspace {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.fp-topbar.nftmax-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--fp-brand);
  border-bottom: 0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  /* reset.css zet padding-left: 363px op .nftmax-header (oude sidebar-offset) */
  padding-left: 0;
  padding-right: 0;
}

.fp-topbar__inner.nftmax-header__inner {
  background: var(--fp-brand) !important;
  min-height: 64px;
  height: auto !important;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  width: 100%;
  backdrop-filter: none;
  border-bottom: 0;
  justify-content: flex-start;
}

.fp-topbar__spacer {
  flex: 1 1 auto;
}

.fp-topbar__toggle {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}

.fp-topbar__toggle img {
  filter: brightness(0) invert(1);
}

.fp-topbar__user {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  min-width: 0;
  text-align: right;
}

.fp-topbar__user-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.fp-topbar__user-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  max-width: min(320px, 46vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fp-topbar-storage {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: min(420px, 48vw);
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff !important;
  text-decoration: none !important;
  transition: background .15s ease, border-color .15s ease;
}

.fp-topbar-storage:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.28);
}

.fp-topbar-storage__meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  line-height: 1.15;
}

.fp-topbar-storage__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.fp-topbar-storage__value {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fp-topbar-storage__track {
  width: 88px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
  flex-shrink: 0;
}

.fp-topbar-storage__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #fff;
}

.fp-topbar-storage.is-over .fp-topbar-storage__fill {
  background: #fecaca;
}

.fp-topbar-storage__pct {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .fp-topbar-storage__track,
  .fp-topbar-storage__pct {
    display: none;
  }
  .fp-topbar-storage {
    max-width: min(220px, 42vw);
  }
}

.fp-main.nftmax-adashboard {
  flex: 1;
  padding: 16px 24px 40px;
  width: 100% !important;
  max-width: none !important;
}

.fp-main__inner.nftmax-body,
.fp-main .nftmax-dsinner {
  width: 100% !important;
  max-width: 1360px !important;
  margin: 0 !important; /* links uitlijnen i.p.v. centreren */
  padding: 0 !important;
}

@media (min-width: 1600px) {
  .fp-main.nftmax-adashboard {
    padding: 18px 28px 44px;
  }
  .fp-topbar__inner.nftmax-header__inner {
    padding: 10px 28px;
  }
}

/* Mobile drawer (hamburger). Class nftmax-close = open on small screens
   (legacy theme convention used by the toggle JS). */
@media (max-width: 1199.98px) {
  .fp-app-frame.body-bg {
    display: block;
    position: relative;
  }

  .fp-sidebar.nftmax-smenu {
    position: fixed !important;
    left: 0;
    top: 0;
    z-index: 1200;
    width: min(var(--fp-sidebar-width), 88vw) !important;
    min-width: 0 !important;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    margin-left: 0 !important;
    transform: translateX(-105%) !important;
    transition: transform .22s ease, box-shadow .22s ease;
    box-shadow: none;
    pointer-events: none;
  }

  .fp-sidebar.nftmax-smenu.nftmax-close {
    margin-left: 0 !important;
    transform: translateX(0) !important;
    box-shadow: 8px 0 32px rgba(15, 23, 42, 0.18);
    pointer-events: auto;
  }

  /* Keep labels visible when the mobile drawer is open (overrides desktop rail styles). */
  .fp-sidebar.nftmax-smenu.nftmax-close .menu-bar__name,
  .fp-sidebar.nftmax-smenu.nftmax-close .logo a {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: inline !important;
  }
  .fp-sidebar.nftmax-smenu.nftmax-close .menu-bar li a {
    padding: 10px 12px !important;
    justify-content: flex-start;
  }
  .fp-sidebar.nftmax-smenu.nftmax-close .nftmax-menu-icon {
    margin-right: 12px !important;
  }

  .fp-nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(15, 23, 42, 0.45);
    border: 0;
    padding: 0;
    cursor: pointer;
  }
  .fp-app-frame.is-nav-open .fp-nav-backdrop {
    display: block;
  }
  body.fp-app.is-nav-open {
    overflow: hidden;
  }

  .fp-workspace,
  .fp-main.nftmax-adashboard,
  .fp-topbar.nftmax-header {
    width: 100%;
    max-width: 100%;
    margin-left: 0 !important;
    padding-left: 0 !important;
  }

  .fp-main.nftmax-adashboard {
    padding: 8px 14px 28px !important;
  }

  .fp-topbar__toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
}

@media (min-width: 1200px) {
  .fp-nav-backdrop {
    display: none !important;
  }
}

/* —— Cards / dashboard components —— */
.fp-card {
  background: var(--fp-surface);
  border: 1px solid var(--fp-border);
  border-radius: var(--fp-radius);
  box-shadow: var(--fp-shadow);
  padding: 20px;
}

.fp-card + .fp-card {
  margin-top: 16px;
}

.fp-dash-bottom > .fp-card + .fp-card {
  margin-top: 0;
}

.fp-dash-hero {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--fp-border);
  box-shadow: var(--fp-shadow);
  background: #fff;
  margin-bottom: 18px;
  min-height: 210px;
}

.fp-dash-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255,255,255,.96) 38%, rgba(255,255,255,.42) 62%, rgba(255,255,255,.12) 100%),
    var(--fp-hero-photo, none) center / cover no-repeat,
    linear-gradient(135deg, var(--fp-brand-soft), #f8fafc);
  pointer-events: none;
}

.fp-dash-hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 26px 28px;
  min-height: 210px;
}

.fp-dash-hero.is-voor .fp-dash-hero__content {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.fp-dash-hero__prog {
  position: relative;
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  margin-left: 8px;
}

.fp-dash-hero__prog svg {
  width: 88px;
  height: 88px;
  display: block;
}

.fp-dash-hero__prog-bg {
  fill: none;
  stroke: #e7ece8;
  stroke-width: 2.6;
}

.fp-dash-hero__prog-fg {
  fill: none;
  stroke: var(--fp-brand);
  stroke-width: 2.6;
  stroke-linecap: round;
  transition: stroke-dasharray .4s ease;
}

.fp-dash-hero__prog-num {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.fp-dash-hero__prog-num strong {
  font-size: 22px;
  font-weight: 700;
  color: #1f2937;
  letter-spacing: -0.03em;
}

.fp-dash-hero__prog-num span {
  font-size: 11px;
  font-weight: 700;
  color: var(--fp-muted);
  margin-top: 2px;
}

.fp-dash-hero__portrait {
  position: relative;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 4px solid #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
  background: #e5e7eb;
}

.fp-dash-hero__portrait.is-editable {
  cursor: pointer;
}

.fp-dash-hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fp-dash-hero__portrait-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 6px;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  transition: opacity .18s ease;
}

.fp-dash-hero__portrait.is-editable:hover .fp-dash-hero__portrait-hint {
  opacity: 1;
}

.fp-dash-hero__info {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.fp-dash-hero__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fp-muted);
  margin: 0;
}

.fp-dash-hero__title {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.12;
  color: #1f2937 !important;
  font-weight: 700;
}

.fp-dash-hero__meta {
  margin: 0;
  color: var(--fp-muted);
  font-size: 15px;
}

.fp-dash-hero__video {
  margin: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.fp-dash-hero__quote {
  margin: 0;
  max-width: 220px;
  font-size: 16px;
  line-height: 1.45;
  color: #374151;
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
  text-align: right;
  text-shadow: 0 1px 8px rgba(255,255,255,.7);
}

.fp-quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin: 0 0 20px;
}

.fp-quick-action {
  --fp-tile: #5f8f6b;
  --fp-tile-soft: #e7f2ea;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 12px 16px;
  min-height: 124px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--fp-border);
  box-shadow: var(--fp-shadow);
  text-decoration: none !important;
  color: var(--fp-text) !important;
  text-align: center;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.fp-quick-action:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--fp-tile) 28%, #e5e7eb);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.fp-quick-action__icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--fp-tile-soft);
  color: var(--fp-tile) !important;
  font-size: 20px;
  line-height: 1;
  box-shadow: none;
}

.fp-quick-action__icon i {
  color: inherit !important;
  filter: none;
}

.fp-quick-action__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: #374557;
}

/* Soft pastel circular icons (mockup) */
.fp-quick-action--green  { --fp-tile: #5f8f6b; --fp-tile-soft: #e7f2ea; }
.fp-quick-action--forest { --fp-tile: #3f7d5c; --fp-tile-soft: #e3efe8; }
.fp-quick-action--teal   { --fp-tile: #3a9a94; --fp-tile-soft: #e4f4f3; }
.fp-quick-action--blue   { --fp-tile: #4ea0d4; --fp-tile-soft: #e6f3fb; }
.fp-quick-action--orange { --fp-tile: #d4923a; --fp-tile-soft: #f8eedf; }
.fp-quick-action--purple { --fp-tile: #7d6fa3; --fp-tile-soft: #efeaf7; }
.fp-quick-action--slate  { --fp-tile: #6f8398; --fp-tile-soft: #e9eef3; }
.fp-quick-action--rose   { --fp-tile: #c97a88; --fp-tile-soft: #f6e9ec; }

.fp-dash-nazorg {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 0 0 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #f3f7f4;
  border: 1px solid #d5e4da;
  color: #1f3a2c;
}

.fp-dash-demo {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 0 0 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #f8f1e6;
  border: 1px solid #e4d3b6;
  color: #5a3d18;
}

.fp-dash-demo__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0e2c8;
  color: #8a5a1e;
  flex-shrink: 0;
}

.fp-dash-demo__body {
  min-width: 0;
}

.fp-dash-demo__body strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}

.fp-dash-demo__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #6b4d22;
}

.fp-dash-nazorg__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e3efe8;
  color: #3f7d5c;
  flex-shrink: 0;
}

.fp-dash-nazorg__body {
  min-width: 0;
}

.fp-dash-nazorg__body strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}

.fp-dash-nazorg__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #355445;
}

.fp-dash-nazorg__body p + p {
  margin-top: 8px;
}

.fp-dash-nazorg__body a {
  color: inherit !important;
  font-weight: 700;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

.fp-dash-hero.is-nazorg .fp-dash-hero__eyebrow {
  color: #3f7d5c;
}

.fp-dash-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 16px;
  align-items: stretch;
}

.fp-dash-bottom > .fp-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.fp-dash-info .fp-section-title {
  margin-bottom: 6px;
}

.fp-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 0;
  margin: 0;
  flex: 1;
  position: relative;
}

.fp-info-grid::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: calc(50% - 0.5px);
  width: 1px;
  background: #eef1f4;
  pointer-events: none;
}

.fp-info-item {
  --fp-info: #6f8398;
  --fp-info-soft: #e9eef3;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 11px 0;
  border: 0;
  border-bottom: 1px solid #eef1f4;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.fp-info-item:nth-last-child(-n + 2) {
  border-bottom: 0;
  padding-bottom: 2px;
}

.fp-info-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--fp-info-soft);
  color: var(--fp-info);
  font-size: 14px;
  flex-shrink: 0;
}

.fp-info-item__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 1px;
}

.fp-info-item__label {
  font-size: 12px;
  color: var(--fp-muted);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.fp-info-item__value {
  font-size: 15px;
  color: #1f2937;
  text-align: left;
  font-weight: 600;
  line-height: 1.45;
  word-break: break-word;
}

.fp-info-item__value .btn-dossier {
  margin-top: 4px;
}

.fp-info-item--green  { --fp-info: #5f8f6b; --fp-info-soft: #e7f2ea; }
.fp-info-item--forest { --fp-info: #3f7d5c; --fp-info-soft: #e3efe8; }
.fp-info-item--teal   { --fp-info: #3a9a94; --fp-info-soft: #e4f4f3; }
.fp-info-item--blue   { --fp-info: #4ea0d4; --fp-info-soft: #e6f3fb; }
.fp-info-item--orange { --fp-info: #d4923a; --fp-info-soft: #f8eedf; }
.fp-info-item--purple { --fp-info: #7d6fa3; --fp-info-soft: #efeaf7; }
.fp-info-item--slate  { --fp-info: #6f8398; --fp-info-soft: #e9eef3; }
.fp-info-item--rose   { --fp-info: #c97a88; --fp-info-soft: #f6e9ec; }

.fp-dash-notes__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  flex: 0 0 auto;
}

.fp-dash-notes__head .fp-section-title {
  margin-bottom: 0;
}

.fp-dash-notes__status {
  font-size: 12px;
  color: var(--fp-muted);
  min-height: 1em;
}

.fp-dash-notes__field {
  width: 100%;
  flex: 1 1 auto;
  min-height: 140px;
  height: 100%;
  resize: none;
  border: 1px solid #eadfce;
  border-radius: 14px;
  background: #faf6ef;
  color: #3f3a32;
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.55;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
  box-sizing: border-box;
}

.fp-dash-notes__field:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--fp-brand) 45%, #eadfce);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--fp-brand) 16%, transparent);
}

.fp-dash-notes__hint {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--fp-muted);
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  .fp-quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fp-wstage {
    padding: 16px;
  }

  .fp-wgrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .fp-dash-hero__content,
  .fp-dash-hero.is-voor .fp-dash-hero__content {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 20px;
  }

  .fp-dash-hero__prog {
    grid-column: 1 / -1;
    margin: 4px 0 0;
    width: 72px;
    height: 72px;
  }

  .fp-dash-hero__prog svg {
    width: 72px;
    height: 72px;
  }

  .fp-dash-hero__portrait {
    width: 112px;
    height: 112px;
  }

  .fp-dash-bottom {
    grid-template-columns: 1fr;
  }

  .fp-dash-notes__field {
    min-height: 140px;
  }

  .fp-info-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .fp-info-grid::before {
    display: none;
  }

  .fp-info-item {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
  }

  .fp-info-item:nth-last-child(-n + 2) {
    border-bottom: 1px solid #eef1f4;
    padding-bottom: 11px;
  }

  .fp-info-item:last-child {
    border-bottom: 0;
    padding-bottom: 2px;
  }
}

.fp-info-item .btn-dossier {
  border: 0;
  border-radius: 999px;
  color: #fff !important;
  padding: 7px 12px;
  font-size: 12px;
}

.fp-section-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--fp-brand) !important;
}

.fp-empty {
  padding: 18px;
  border-radius: var(--fp-radius-sm);
  background: var(--fp-brand-softer);
  color: var(--fp-muted);
  border: 1px dashed color-mix(in srgb, var(--fp-brand) 25%, white);
}

.fp-voor {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin: 0 0 16px;
}

.fp-wtabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  position: sticky;
  top: 12px;
}

.fp-wtab {
  --fp-wish: #6f8398;
  --fp-wish-soft: #e9eef3;
  position: relative;
  appearance: none;
  border: 1px solid var(--fp-border);
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--fp-shadow);
  padding: 9px 36px 9px 10px;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-height: 0;
  width: 100%;
  color: #334155;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.fp-wtab:hover {
  transform: translateX(1px);
  border-color: color-mix(in srgb, var(--fp-wish) 35%, #e5e7eb);
}

.fp-wtab.is-on {
  background: #fff;
  border-color: color-mix(in srgb, var(--fp-wish) 55%, #e5e7eb);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.fp-wtab.is-on::after {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--fp-wish);
}

.fp-wtab__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--fp-wish-soft);
  color: var(--fp-wish);
  font-size: 13px;
  flex-shrink: 0;
}

.fp-wtab.is-on .fp-wtab__icon {
  background: var(--fp-wish);
  color: #fff;
}

.fp-wtab__label {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}

.fp-wtab__check {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--fp-wish);
  color: #fff;
  font-size: 8px;
}

.fp-wtab.is-done .fp-wtab__check {
  display: inline-flex;
}

.fp-wtab--green  { --fp-wish: #5f8f6b; --fp-wish-soft: #e7f2ea; }
.fp-wtab--forest { --fp-wish: #3f7d5c; --fp-wish-soft: #e3efe8; }
.fp-wtab--teal   { --fp-wish: #3a9a94; --fp-wish-soft: #e4f4f3; }
.fp-wtab--blue   { --fp-wish: #4ea0d4; --fp-wish-soft: #e6f3fb; }
.fp-wtab--orange { --fp-wish: #d4923a; --fp-wish-soft: #f8eedf; }
.fp-wtab--purple { --fp-wish: #7d6fa3; --fp-wish-soft: #efeaf7; }
.fp-wtab--slate  { --fp-wish: #6f8398; --fp-wish-soft: #e9eef3; }
.fp-wtab--rose   { --fp-wish: #c97a88; --fp-wish-soft: #f6e9ec; }
.fp-wtab--sand   { --fp-wish: #a4845c; --fp-wish-soft: #f3eee4; }
.fp-wtab--clay   { --fp-wish: #8f6a5e; --fp-wish-soft: #f3ebe7; }
.fp-wtab--gold   { --fp-wish: #b08a3e; --fp-wish-soft: #f6efdc; }
.fp-wtab--moss   { --fp-wish: #6f836e; --fp-wish-soft: #e8eee8; }

@media (max-width: 980px) {
  .fp-voor {
    grid-template-columns: 1fr;
  }

  .fp-wtabs {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 2px;
  }

  .fp-wtab {
    flex: 0 0 auto;
    width: auto;
    min-width: 148px;
    padding: 10px 32px 10px 10px;
  }

  .fp-wtab:hover {
    transform: none;
  }

  .fp-wtab.is-on::after {
    top: auto;
    bottom: -1px;
    left: 18%;
    right: 18%;
    width: auto;
    height: 3px;
    border-radius: 3px 3px 0 0;
  }
}

.fp-wstage {
  background: #fff;
  border: 1px solid var(--fp-border);
  border-radius: 20px;
  box-shadow: var(--fp-shadow);
  padding: 22px 26px 26px;
  min-height: 280px;
}

.fp-wstage__bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 18px;
  padding: 0 0 14px;
  border-bottom: 1px solid #eef1f4;
}

.fp-wstage__title {
  display: none;
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #1f2937 !important;
  letter-spacing: -0.02em;
}

.fp-wstage__title.is-on { display: block; }

.fp-wprog__save {
  font-size: 12px;
  font-weight: 600;
  color: var(--fp-muted);
  min-height: 1em;
  min-width: 5.5em;
  text-align: right;
}

.fp-wsec {
  --fp-wish: #6f8398;
  --fp-wish-soft: #e9eef3;
  display: none;
  flex-direction: column;
  gap: 18px;
}

.fp-wsec.is-on { display: flex; }

.fp-wsec--green  { --fp-wish: #5f8f6b; --fp-wish-soft: #e7f2ea; }
.fp-wsec--forest { --fp-wish: #3f7d5c; --fp-wish-soft: #e3efe8; }
.fp-wsec--teal   { --fp-wish: #3a9a94; --fp-wish-soft: #e4f4f3; }
.fp-wsec--blue   { --fp-wish: #4ea0d4; --fp-wish-soft: #e6f3fb; }
.fp-wsec--orange { --fp-wish: #d4923a; --fp-wish-soft: #f8eedf; }
.fp-wsec--purple { --fp-wish: #7d6fa3; --fp-wish-soft: #efeaf7; }
.fp-wsec--slate  { --fp-wish: #6f8398; --fp-wish-soft: #e9eef3; }
.fp-wsec--rose   { --fp-wish: #c97a88; --fp-wish-soft: #f6e9ec; }
.fp-wsec--sand   { --fp-wish: #a4845c; --fp-wish-soft: #f3eee4; }
.fp-wsec--clay   { --fp-wish: #8f6a5e; --fp-wish-soft: #f3ebe7; }
.fp-wsec--gold   { --fp-wish: #b08a3e; --fp-wish-soft: #f6efdc; }
.fp-wsec--moss   { --fp-wish: #6f836e; --fp-wish-soft: #e8eee8; }

.fp-lsubs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: -2px 0 2px;
}
.fp-lsub {
  appearance: none;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.2;
}
.fp-lsub i {
  font-size: 11px;
}
.fp-lsub:hover {
  border-color: color-mix(in srgb, var(--fp-wish, #b08a3e) 40%, #e5e7eb);
  color: #334155;
}
.fp-lsub.is-on {
  background: var(--fp-wish-soft, #f6efdc);
  border-color: color-mix(in srgb, var(--fp-wish, #b08a3e) 50%, #e5e7eb);
  color: var(--fp-wish, #b08a3e);
}
.fp-lpanel {
  display: none;
  flex-direction: column;
  gap: 18px;
}
.fp-lpanel.is-on {
  display: flex;
}

.fp-diary {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fp-diary-item {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 14px;
  background: #fbfcfb;
  display: grid;
  gap: 10px;
}
.fp-diary-item__top {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}
.fp-diary-item__del {
  appearance: none;
  border: 0;
  background: transparent;
  color: #9aa3af;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.fp-diary-item__del:hover {
  background: #f4e8ea;
  color: #b91c1c;
}
.fp-diary-empty {
  margin: 0;
  color: #64748b;
  font-size: 14px;
}

.fp-vault {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fp-vault-note {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f6efdc;
  border: 1px solid #ead9a8;
  color: #5c4a1f;
  font-size: 13px;
  line-height: 1.55;
}
.fp-vault-item {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 14px;
  background: #fbfcfb;
  display: grid;
  gap: 10px;
}
.fp-vault-item__row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}
.fp-vault-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.fp-vault-status {
  font-size: 12px;
  font-weight: 600;
  color: var(--fp-muted);
  min-height: 1em;
}

@media (max-width: 720px) {
  .fp-diary-item__top,
  .fp-vault-item__row {
    grid-template-columns: 1fr;
  }
}

.fp-wintro {
  margin: 0;
  color: #64748b;
  font-size: 0.98rem;
  line-height: 1.55;
}

.fp-wcheck {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 0;
  font-weight: 600;
  font-size: 14px;
  color: #1f2937;
  cursor: pointer;
}

.fp-wcheck input {
  margin: 3px 0 0;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--fp-brand);
}

.fp-wcheck__hint {
  margin: 0 0 0 28px;
  min-height: 1em;
  font-size: 12px;
  color: var(--fp-muted);
  font-weight: 400;
}

.fp-wfield .fp-wcheck__hint {
  margin-left: 0;
  margin-top: 6px;
}

.fp-wsub {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
  letter-spacing: -0.01em;
}

.fp-wsec > .fp-wsub:first-child {
  margin-top: 0;
}

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

.fp-wfield {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fp-wfield__label {
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.02em;
}

.fp-winput {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #f6f8f6;
  color: #1f2937;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  box-sizing: border-box;
}

.fp-winput:focus {
  outline: none;
  background: #fff;
  border-color: color-mix(in srgb, var(--fp-brand) 45%, #e5e7eb);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--fp-brand) 14%, transparent);
}

textarea.fp-winput {
  resize: vertical;
  min-height: 118px;
}

select.fp-winput {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #64748b 50%), linear-gradient(135deg, #64748b 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.fp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fp-chip {
  appearance: none;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  border-radius: 999px;
  padding: 11px 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.2;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}

.fp-chip:hover {
  border-color: color-mix(in srgb, var(--fp-wish) 40%, #e5e7eb);
}

.fp-chip:focus-visible {
  outline: 2px solid var(--fp-wish);
  outline-offset: 2px;
}

.fp-chip.is-on {
  background: var(--fp-wish);
  border-color: var(--fp-wish);
  color: #fff;
}

.fp-whint {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--fp-wish-soft, var(--fp-brand-soft));
  color: inherit !important;
  text-decoration: none !important;
  border: 1px solid transparent;
  transition: border-color .15s ease, transform .15s ease;
}

.fp-whint:hover {
  border-color: color-mix(in srgb, var(--fp-wish, var(--fp-brand)) 35%, white);
  transform: translateY(-1px);
}

.fp-whint__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--fp-wish, var(--fp-brand));
  font-size: 15px;
  flex-shrink: 0;
}

.fp-whint__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.fp-whint__copy strong {
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
}

.fp-whint__copy span {
  font-size: 13px;
  color: #64748b;
  line-height: 1.35;
}

.fp-whint > .fa-chevron-right {
  color: var(--fp-wish, var(--fp-brand));
  font-size: 12px;
  flex-shrink: 0;
}

.fp-voor-desk {
  display: grid;
  gap: 16px;
}

@media (min-width: 860px) {
  .fp-voor-desk {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
  }
}

.fp-voor-uv {
  background: #fff;
  border: 1px solid var(--fp-border);
  border-radius: 16px;
  box-shadow: var(--fp-shadow);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  overflow: visible;
}

.fp-voor-uv__who {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-weight: 700;
  color: #1f2937;
}

.fp-voor-uv__who small {
  font-size: 12px;
  font-weight: 600;
  color: var(--fp-muted);
}

.fp-voor-uv__acts {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fp-voor-uv__acts a {
  color: #374151 !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fp-voor-uv__acts a:hover { color: var(--fp-brand) !important; }
.fp-voor-uv__acts i { color: var(--fp-brand); }

.fp-voor-notes {
  margin: 0 !important;
}

.fp-voor-notes .fp-dash-notes__field {
  min-height: 160px;
}

.fp-voor-foot.is-ziw {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.fp-ziw-pick {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.fp-ziw-search,
.fp-ziw-staff {
  position: relative;
}

.fp-ziw-suggest {
  position: relative;
  margin-top: 6px;
  background: #fff;
  border: 1px solid var(--fp-border);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  max-height: min(280px, 42vh);
  overflow: auto;
  overscroll-behavior: contain;
}

.fp-ziw-opt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  text-align: left;
  border: 0;
  background: #fff;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  white-space: normal;
  overflow-wrap: anywhere;
}

.fp-ziw-opt strong { font-weight: 700; }
.fp-ziw-opt span { color: var(--fp-muted); font-size: 12px; }
.fp-ziw-opt em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: var(--fp-brand);
}

.fp-ziw-opt:hover { background: var(--fp-brand-soft); }
.fp-ziw-opt.is-new { font-weight: 700; color: var(--fp-brand); }
.fp-ziw-status { font-size: 12px; font-weight: 600; color: var(--fp-muted); }

.fp-wupload {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  border: 1px dashed #d1d5db;
  border-radius: 14px;
  background: #f8faf9;
}

.fp-wupload__hint {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.4;
}

.fp-wupload__btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  border-radius: 999px;
  background: var(--fp-brand);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 16px;
}

.fp-wupload__btn:hover {
  filter: brightness(0.96);
}

.fp-wupload__status {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  min-height: 1.2em;
}

.fp-wfiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fp-wfiles a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #374151 !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
}

.fp-wfiles a:hover {
  color: var(--fp-brand) !important;
}

.fp-wfiles i {
  color: var(--fp-brand);
}

.fp-wfiles small {
  margin-left: auto;
  color: #94a3b8;
  font-weight: 600;
}

.fp-status-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  box-shadow: var(--fp-shadow);
}

.fp-status-banner__icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
}

.fp-status-banner__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  font-size: 14px;
  line-height: 1.45;
}

.fp-status-banner__body strong {
  font-size: 15px;
  font-weight: 700;
}

.fp-status-banner--success {
  background: #eef8f0;
  border-color: #c7e6cf;
  color: #1f5130;
}

.fp-status-banner--success .fp-status-banner__icon {
  background: #2f9e5d;
  color: #fff;
}

.fp-status-banner--finish {
  background: #eef8f0;
  border-color: #c7e6cf;
  color: #1f5130;
  margin-top: 4px;
}

.fp-status-banner--finish .fp-status-banner__icon {
  background: #2f9e5d;
  color: #fff;
}

.fp-status-banner__actions {
  margin-top: 10px;
}

.fp-status-banner--finish .btn-dossier {
  background: #2f9e5d !important;
  color: #fff !important;
}

.fp-dienst-aside {
  display: none;
  padding: 0 20px 24px !important;
}

.fp-dienst-aside.active {
  display: block;
}

.fp-dienst-aside__card {
  background: var(--fp-surface, #fff);
  border: 1px solid var(--fp-border, #e5e7eb);
  border-bottom: 2px solid var(--fp-brand, #1f2937);
  border-radius: var(--fp-radius, 14px);
  box-shadow: var(--fp-shadow, 0 8px 24px rgba(15, 23, 42, 0.05));
  padding: 18px;
  margin: 0 0 16px;
}

.fp-dienst-aside__card h3 {
  margin: 0 0 12px;
  color: var(--fp-brand, #1f2937);
  font-size: 18px;
  font-weight: 700;
}

.fp-dienst-aside__card textarea {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.fp-dienst-aside__actions {
  margin-top: 12px;
}

/* Soften legacy welcome / table chrome inside new shell */
.fp-app .welcome-cta {
  background: var(--fp-surface);
  border: 1px solid var(--fp-border);
  border-bottom: 2px solid var(--fp-brand);
  border-radius: var(--fp-radius);
  box-shadow: var(--fp-shadow);
  padding: 20px 22px !important;
  margin: 0 0 16px !important;
  width: 100% !important;
  max-width: none !important;
}

.fp-app .welcome-cta::before {
  display: none;
}

.fp-app .welcome-cta h2,
.fp-app .welcome-cta h2 font,
.fp-app .welcome-cta h3,
.fp-app .welcome-cta h3 font {
  color: var(--fp-brand) !important;
  font-size: clamp(22px, 3vw, 30px);
  margin: 0 0 8px;
  font-weight: 700;
  line-height: 1.25;
}

.fp-app .welcome-cta .welcome-cta__text,
.fp-app .welcome-cta p {
  margin: 0;
  color: #5b6472;
  font-size: 14px;
  line-height: 1.55;
  max-width: 72ch;
}

.fp-app .blauw-randje {
  background: var(--fp-surface);
  border: 1px solid var(--fp-border);
  border-bottom: 2px solid var(--fp-brand);
  border-radius: var(--fp-radius);
  box-shadow: var(--fp-shadow);
  padding: 18px;
}

.fp-app .btn-dossier {
  border-radius: 999px;
  border: 0;
  color: #fff !important;
}

.fp-app .btn-dossier.btn-ghost {
  background: #fff !important;
  color: #374151 !important;
  border: 1px solid #e5e7eb;
  text-decoration: none;
}

.fp-app .btn-dossier.btn-ghost:hover {
  background: #f9fafb !important;
  border-color: #d1d5db;
}

.fp-app .form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.fp-app .fp-licentie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.fp-app .fp-licentie-table th,
.fp-app .fp-licentie-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  vertical-align: middle;
}

.fp-app .fp-licentie-table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
  font-weight: 700;
}

.fp-app .fp-licentie-table tr.is-current td {
  background: var(--fp-brand-softer, #f6f8f6);
  font-weight: 600;
}

.fp-app .fp-licentie-table td:last-child,
.fp-app .fp-licentie-table th:last-child {
  text-align: right;
  white-space: nowrap;
}

/* —— Shared form controls (dossier / dienst / teksten / …) —— */
.fp-app .form-grid,
.fp-app .grid.form-grid,
.fp-app form .grid,
.fp-app .panel .grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}

.fp-app .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.fp-app .form-group label,
.fp-app .form-grid > label,
.fp-app label:has(+ input),
.fp-app label:has(+ select),
.fp-app label:has(+ textarea) {
  font-weight: 600;
  font-size: 0.875rem;
  color: #374151;
  margin: 0;
}

.fp-app .span-2 {
  grid-column: span 2;
}

.fp-app input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="hidden"]):not([type="image"]):not([type="range"]):not([type="color"]):not(.btn-dossier):not(.fp-beg-compact),
.fp-app select,
.fp-app textarea,
.fp-app .nftmax__item-input {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  max-width: 100%;
  min-height: var(--fp-control-h);
  height: auto;
  line-height: 1.35;
  padding: var(--fp-control-pad-y) var(--fp-control-pad-x) !important;
  border: 1px solid var(--fp-control-border) !important;
  border-radius: var(--fp-control-radius) !important;
  background-color: var(--fp-control-bg) !important;
  color: var(--fp-text);
  font: inherit;
  font-size: 0.95rem;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.fp-app textarea,
.fp-app textarea.nftmax__item-input {
  min-height: 96px;
  height: auto;
  line-height: 1.45;
  resize: vertical;
}

.fp-app select {
  padding-right: 2.25rem !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b7280' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 8px;
  cursor: pointer;
}

.fp-app input[type="date"],
.fp-app input[type="time"],
.fp-app input[type="datetime-local"] {
  min-height: var(--fp-control-h);
  line-height: 1.35;
}

.fp-app input:hover:not(:disabled):not([readonly]),
.fp-app select:hover:not(:disabled),
.fp-app textarea:hover:not(:disabled):not([readonly]),
.fp-app .nftmax__item-input:hover:not(:disabled):not([readonly]) {
  border-color: #d1d5db !important;
}

.fp-app input:focus,
.fp-app select:focus,
.fp-app textarea:focus,
.fp-app .nftmax__item-input:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--fp-brand) 55%, #e5e7eb) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--fp-brand) 18%, transparent);
  background-color: #fff !important;
}

.fp-app input:disabled,
.fp-app select:disabled,
.fp-app textarea:disabled,
.fp-app input[readonly],
.fp-app textarea[readonly] {
  background-color: #f3f4f6 !important;
  color: #6b7280;
  cursor: default;
}

@media (max-width: 768px) {
  .fp-app .form-grid,
  .fp-app form .grid,
  .fp-app .panel .grid {
    grid-template-columns: 1fr;
  }

  .fp-app .span-2 {
    grid-column: span 1;
  }
}

.fp-app .nftmax-table.blauw-randje,
.fp-app .nftmax-table {
  background: var(--fp-surface);
  border-radius: var(--fp-radius);
  box-shadow: var(--fp-shadow);
  border: 1px solid var(--fp-border);
  border-bottom: 2px solid var(--fp-brand);
  overflow-x: auto;
  padding: 16px 18px 20px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: block;
  float: none;
  clear: both;
}

.fp-app .nftmax-table table,
.fp-app .nftmax-table .dataTables_wrapper,
.fp-app .nftmax-table .dataTables_wrapper table {
  width: 100% !important;
  max-width: 100%;
}

.fp-app .nftmax-table .nftmax-table__main,
.fp-app .nftmax-table .nftmax-table__main-v1 {
  width: 100% !important;
  table-layout: fixed;
}

.fp-app .nftmax-table .nftmax-table__head tr th,
.fp-app .nftmax-table .nftmax-table__body tr td {
  width: auto !important;
}

.fp-app .nftmax-table .dataTables_wrapper .dataTables_filter,
.fp-app .nftmax-table .dataTables_wrapper .dataTables_length,
.fp-app .nftmax-table .dataTables_wrapper .dataTables_info,
.fp-app .nftmax-table .dataTables_wrapper .dataTables_paginate {
  margin-top: 6px;
  margin-bottom: 6px;
}

/* Compact DataTables toolbar: length + search on one horizontal row */
.fp-app .nftmax-table .dataTables_wrapper .dataTables_length,
.fp-app .nftmax-table .dataTables_wrapper .dataTables_filter {
  display: flex;
  align-items: center;
  gap: 8px;
  float: none;
  width: auto;
  font-size: 13px;
  color: #6b7280;
}

.fp-app .nftmax-table .dataTables_wrapper .dataTables_length {
  float: left;
}

.fp-app .nftmax-table .dataTables_wrapper .dataTables_filter {
  float: right;
}

.fp-app .nftmax-table .dataTables_wrapper .dataTables_length label,
.fp-app .nftmax-table .dataTables_wrapper .dataTables_filter label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 500;
  font-size: 13px;
  color: #6b7280;
  white-space: nowrap;
}

.fp-app .nftmax-table .dataTables_wrapper .dataTables_length select,
.fp-app .nftmax-table .dataTables_wrapper .dataTables_filter input {
  width: auto !important;
  max-width: none !important;
  min-height: 36px !important;
  height: 36px !important;
  padding: 6px 10px !important;
  margin: 0 !important;
  display: inline-block;
  vertical-align: middle;
}

.fp-app .nftmax-table .dataTables_wrapper .dataTables_length select {
  min-width: 64px;
  width: auto !important;
}

.fp-app .nftmax-table .dataTables_wrapper .dataTables_filter input {
  min-width: 160px;
  width: 180px !important;
}

.fp-app .nftmax-table .dataTables_wrapper .dataTables_info {
  clear: both;
  padding-top: 10px;
  font-size: 13px;
  color: #6b7280;
}

.fp-app .nftmax-table .nftmax-table__heading {
  margin-bottom: 12px;
}

@media (max-width: 700px) {
  .fp-app .nftmax-table .dataTables_wrapper .dataTables_length,
  .fp-app .nftmax-table .dataTables_wrapper .dataTables_filter {
    float: none;
    width: 100%;
    justify-content: space-between;
  }

  .fp-app .nftmax-table .dataTables_wrapper .dataTables_filter input {
    width: min(180px, 48vw) !important;
    min-width: 0;
  }
}

/* Settings rows (register / instellingen): label + control + help */
.fp-app .fp-settings-table {
  width: 100% !important;
  table-layout: fixed;
  border-collapse: collapse;
}

.fp-app .fp-settings-table > tbody > tr > td {
  width: auto !important;
  vertical-align: middle !important;
  text-align: left !important;
  padding: 12px 10px 12px 0 !important;
}

.fp-app .fp-settings-table > tbody > tr > td:first-child {
  width: 36% !important;
  max-width: 320px;
  font-weight: 600;
  color: #374151;
  padding-right: 16px !important;
}

.fp-app .fp-settings-table > tbody > tr > td:nth-child(2) {
  width: 64% !important;
}

.fp-app .fp-settings-control {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.fp-app .fp-settings-control > select,
.fp-app .fp-settings-control select.autosave {
  width: auto !important;
  min-width: 140px;
  max-width: 260px;
  flex: 0 1 auto;
}

.fp-app .help-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  margin: 0;
  padding: 0;
  border-radius: 50% !important;
  background: var(--fp-brand-soft, #eef2ee) !important;
  color: var(--fp-brand, #1f2937) !important;
  border: 1px solid color-mix(in srgb, var(--fp-brand, #1f2937) 18%, #e5e7eb);
  font-size: 12px;
  font-weight: 800;
  line-height: 1 !important;
  cursor: help;
  position: relative;
  flex-shrink: 0;
  user-select: none;
  vertical-align: middle;
  box-sizing: border-box;
}

.fp-app .help-icon:hover,
.fp-app .help-icon:focus {
  background: color-mix(in srgb, var(--fp-brand, #1f2937) 18%, white) !important;
  outline: none;
}

.fp-app .help-icon[data-help]:hover::after,
.fp-app .help-icon[data-help]:focus::after {
  content: attr(data-help);
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  width: max-content;
  max-width: 280px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #111827;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
  white-space: normal;
  pointer-events: none;
}

.fp-app .help-icon[data-help]:hover::before,
.fp-app .help-icon[data-help]:focus::before {
  content: "";
  position: absolute;
  left: calc(100% + 4px);
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: #111827;
  z-index: 41;
}

@media (max-width: 900px) {
  .fp-app .fp-settings-table > tbody > tr > td:first-child,
  .fp-app .fp-settings-table > tbody > tr > td:nth-child(2) {
    width: 100% !important;
    display: block;
    max-width: none;
  }

  .fp-app .help-icon[data-help]:hover::after,
  .fp-app .help-icon[data-help]:focus::after {
    left: auto;
    right: 0;
    top: calc(100% + 8px);
    transform: none;
  }

  .fp-app .help-icon[data-help]:hover::before,
  .fp-app .help-icon[data-help]:focus::before {
    display: none;
  }
}

/* Admin week agenda soft restyle */
.fp-app .fp-dash-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.fp-app .fp-week {
  background: var(--fp-surface);
  border: 1px solid var(--fp-border);
  border-radius: var(--fp-radius);
  box-shadow: var(--fp-shadow);
  border-bottom: 2px solid var(--fp-brand);
}

.fp-app .fp-week__title,
.fp-app .fp-list-switch a.is-active {
  color: var(--fp-brand);
}

.fp-app .fp-week__add {
  background: var(--fp-brand);
  border-radius: 999px;
}

.fp-app .fp-storage-card,
.fp-app .fp-admin-list {
  background: var(--fp-surface);
  border: 1px solid var(--fp-border);
  border-radius: var(--fp-radius);
  box-shadow: var(--fp-shadow);
  border-bottom: 2px solid var(--fp-brand);
}

.fp-media-card {
  margin-top: 16px;
}

.fp-media-card p {
  margin: 0;
  color: var(--fp-muted);
  font-size: 14px;
  line-height: 1.5;
}

.fp-priv-note,
.fp-priv-lock {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 12px 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.fp-priv-note {
  background: #f4f7f5;
  border: 1px solid rgba(107, 124, 106, 0.22);
  color: #334155;
}

.fp-priv-lock {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  color: #64748b;
}

.fp-priv-note p,
.fp-priv-lock p {
  margin: 4px 0 0;
}

.fp-priv-note__icon,
.fp-priv-lock__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  color: var(--fp-brand);
}

.fp-priv-lock__icon {
  color: #64748b;
}

.fp-rights {
  display: grid;
  gap: 18px;
  margin: 8px 0 4px;
}

.fp-rights__group {
  background: #f8fafc;
  border: 1px solid var(--fp-border);
  border-radius: 12px;
  padding: 12px 14px;
}

.fp-rights__title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.fp-rights__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 10px;
  cursor: pointer;
  font-weight: 500;
}

.fp-rights__item:last-child {
  margin-bottom: 0;
}

.fp-rights__item input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--fp-brand);
}

.fp-rights__item strong {
  display: block;
  font-size: 14px;
  color: #1f2937;
}

.fp-rights__item small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--fp-muted);
  font-weight: 400;
  line-height: 1.4;
}

.fp-rights-summary {
  font-size: 12px;
  color: var(--fp-muted);
  max-width: 280px;
}

.fp-user-acts {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
}

.fp-death-card {
  margin-top: 24px;
  padding: 24px;
  max-width: 720px;
}
.fp-death-card .fp-wgrid {
  margin-bottom: 0;
}
.fp-death-card .fp-wcheck {
  margin-top: 4px;
}
.fp-death-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: deathstep;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fp-death-step {
  counter-increment: deathstep;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px 18px 16px 18px;
  background: #fbfcfb;
}
.fp-death-step__title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 800;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fp-death-step__title::before {
  content: counter(deathstep);
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--fp-brand-soft, #e8eee8);
  color: var(--fp-brand, #1e3a5f);
  font-size: 13px;
  flex-shrink: 0;
}
.fp-death-card .fp-wcheck__hint {
  margin-top: 6px;
}
.fp-death-card .fp-wcheck__hint a {
  font-weight: 700;
  color: inherit !important;
}
.fp-death-card .btn-dossier:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.fp-death-note {
  margin: 16px 0 8px;
  font-size: 14px;
  color: var(--fp-text);
}
.fp-death-uv {
  margin: 0 0 16px;
}
.fp-death-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.fp-death-flash {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--fp-brand-soft);
  color: var(--fp-text);
  font-weight: 600;
}
.fp-death-flash.is-err {
  background: #fde8e8;
  color: #9b1c1c;
}

.fp-beheer-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 8px;
}
.fp-beheer-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--fp-border);
  background: #fff;
  color: var(--fp-muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.fp-beheer-tab:hover {
  color: var(--fp-brand);
  border-color: color-mix(in srgb, var(--fp-brand) 35%, #e5e7eb);
}
.fp-beheer-tab.is-on {
  background: var(--fp-brand);
  border-color: var(--fp-brand);
  color: #fff;
}
.fp-beheer-tab__badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}
.fp-beheer-tab.is-on .fp-beheer-tab__badge {
  background: #fff;
  color: #dc2626;
}
.fp-ziw-cell {
  line-height: 1.35;
}
.fp-ziw-cell small {
  display: block;
  color: #6b7280;
  font-weight: 400;
}
.fp-ziw-need {
  display: inline-block;
  margin-top: 4px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: 11px;
  font-weight: 700;
}
.fp-ziw-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 168px;
}
.fp-ziw-actions form {
  margin: 0;
  display: inline-flex;
}
.fp-ziw-actions .btn-dossier,
.fp-ziw-actions a.btn-dossier,
.fp-ziw-actions button.btn-dossier {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
}
.fp-ziw-actions .btn-dossier > i {
  font-size: 11px;
}
.fp-beheer-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.45);
}
.fp-beheer-modal[hidden] { display: none !important; }
.fp-beheer-modal.is-open { display: flex !important; }
#nftmax-table__main tr.is-need td { background: #fffbeb; }
.fp-beheer-modal__box {
  width: min(520px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
}
.fp-beheer-modal__box h3 { margin: 0 0 8px; font-size: 18px; }
.fp-beheer-modal__box p { margin: 0 0 14px; color: #6b7280; font-size: 13px; }
.fp-beheer-modal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 14px;
}
.fp-beheer-modal__grid input {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font: inherit;
}
.fp-beheer-modal__grid input.span2 { grid-column: 1 / -1; }
.fp-beheer-modal__acts { display: flex; gap: 8px; flex-wrap: wrap; }
.fp-log-status {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: lowercase;
}
.fp-log-status.is-success { background: #ecfdf5; color: #047857; }
.fp-log-status.is-warning { background: #fff7ed; color: #c2410c; }
.fp-log-status.is-error { background: #fef2f2; color: #b91c1c; }
.fp-log-status.is-info { background: #eff6ff; color: #1d4ed8; }
#nftmax-table__audit th.fp-log-time,
#nftmax-table__audit td.fp-log-time {
  white-space: nowrap;
  width: 170px;
  min-width: 170px;
  font-variant-numeric: tabular-nums;
}

.fp-beheer-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
}
.fp-abo-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  margin-left: 6px;
  padding: 0 7px;
  border-radius: 999px;
  background: #eef2f6;
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
  vertical-align: middle;
}
.fp-abo-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.fp-abo-filter {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.fp-abo-filter:hover {
  color: var(--fp-brand);
  border-color: color-mix(in srgb, var(--fp-brand) 35%, #e5e7eb);
}
.fp-abo-filter.is-on {
  background: var(--fp-brand);
  border-color: var(--fp-brand);
  color: #fff;
}
.fp-abo-login {
  font-weight: 700;
  color: var(--fp-brand);
  text-decoration: none;
}
.fp-abo-login:hover { text-decoration: underline; }
.fp-abo-plan {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #eef2f6;
  color: #4b5563;
}
.fp-abo-plan.is-trial {
  background: #fef3c7;
  color: #92400e;
}
.fp-abo-plan.is-paid {
  background: #ecfdf5;
  color: #047857;
}
.fp-abo-usage {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 110px;
  font-size: 13px;
}
.fp-abo-bar {
  display: block;
  height: 6px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}
.fp-abo-bar > i {
  display: block;
  height: 100%;
  background: var(--fp-brand, #006d6d);
  border-radius: 999px;
}
.fp-abo-bar.is-over > i,
.fp-abo-over .fp-abo-bar > i {
  background: #b42318;
}
.fp-abo-over { color: #b42318; font-weight: 600; }
.fp-abo-muted { color: #9ca3af; }
.fp-abo-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}
.fp-log-link {
  color: var(--fp-brand, #006d6d);
  font-weight: 600;
  text-decoration: none;
}
.fp-log-link:hover { text-decoration: underline; }
.fp-beheer-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 8px 0 18px;
}
.fp-beheer-kpi {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--fp-border, #e5e7eb);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  text-decoration: none;
  color: inherit;
}
a.fp-beheer-kpi:hover {
  border-color: color-mix(in srgb, var(--fp-brand) 35%, #e5e7eb);
}
.fp-beheer-kpi__label {
  font-size: 11px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.3;
}
.fp-beheer-kpi__value {
  font-size: 26px;
  font-weight: 800;
  color: var(--fp-brand, #1f2937);
  line-height: 1.1;
}
.fp-beheer-insight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 0 18px;
}
.fp-beheer-rank {
  list-style: none;
  margin: 0;
  padding: 8px 16px 16px;
}
.fp-beheer-rank li {
  margin: 0;
  border-top: 1px solid #f3f4f6;
}
.fp-beheer-rank li:first-child { border-top: 0; }
.fp-beheer-rank a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.35;
}
.fp-beheer-rank a:hover span { color: var(--fp-brand); }
.fp-beheer-rank a span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fp-beheer-rank strong {
  flex: none;
  font-variant-numeric: tabular-nums;
  color: var(--fp-brand);
}
.fp-beheer-rank__empty {
  padding: 12px 0;
  color: #6b7280;
  font-size: 13px;
}
.fp-beheer-filters {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) minmax(160px, 1fr) minmax(180px, 1.2fr) 140px minmax(160px, auto) auto;
  gap: 10px 12px;
  align-items: end;
  margin: 0 0 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--fp-border, #e5e7eb);
  border-radius: 14px;
}
.fp-beheer-filters label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
}
.fp-beheer-filters input,
.fp-beheer-filters select {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font: inherit;
  font-weight: 500;
  color: #111827;
  background: #fff;
}
.fp-beheer-filters__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.fp-beheer-filters__check .fp-beheer-check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  font-weight: 600;
  color: #374151;
}
.fp-beheer-filters__check input {
  width: 18px;
  min-height: 18px;
  margin: 0;
}
.fp-beheer-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--fp-brand-soft, #e8f4f4);
  color: #374151;
  font-size: 13px;
}
.fp-beheer-log-note {
  margin: 0;
  padding: 12px 16px 0;
  font-size: 13px;
  color: #6b7280;
}
@media (max-width: 1100px) {
  .fp-beheer-insight { grid-template-columns: 1fr; }
  .fp-beheer-filters { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .fp-beheer-filters { grid-template-columns: 1fr; }
  .fp-beheer-kpis { grid-template-columns: 1fr 1fr; }
}
.fp-app a.btn-dossier.fp-abo-del,
.fp-app .btn-dossier.fp-abo-del {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  background: #b42318 !important;
  white-space: nowrap;
  text-decoration: none;
}
.fp-app a.btn-dossier.fp-abo-del:hover {
  background: #912018 !important;
}
.fp-dos-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.fp-voor-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: 11px;
  flex: 0 0 auto;
  cursor: help;
}
.fp-voor-mark .fp-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#fp-ip-page .nftmax-table__heading { padding: 10px 16px; }
#fp-ip-page .fp-ip-meta {
  margin: 0;
  padding: 0 16px 10px;
  font-size: 12px;
  color: #5b6b7c;
  line-height: 1.45;
}
#fp-ip-page table.dataTable { font-size: 13px; }
#fp-ip-page table.dataTable thead th,
#fp-ip-page table.dataTable tbody td { padding: 6px 10px !important; }
#fp-ip-page .dataTables_wrapper { padding: 0 10px 8px; }
#fp-ip-page .dataTables_length,
#fp-ip-page .dataTables_filter,
#fp-ip-page .dataTables_info,
#fp-ip-page .dataTables_paginate { font-size: 12px; }
#fp-ip-page .fp-ip-host {
  cursor: help;
  border-bottom: 1px dotted #8a99a6;
  position: relative;
}
#fp-ip-page .fp-ip-host:hover::after {
  content: attr(data-tip);
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  z-index: 30;
  max-width: 360px;
  padding: 6px 8px;
  border-radius: 6px;
  background: #374557;
  color: #fff;
  font-size: 12px;
  font-family: inherit;
  line-height: 1.35;
  white-space: normal;
  box-shadow: 0 8px 20px rgba(55, 69, 87, 0.18);
}
.fp-ip-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}
.fp-ip-acts form { margin: 0; }
.fp-ip-btn {
  appearance: none;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.fp-ip-btn.is-free:hover { border-color: #9ca3af; }
.fp-ip-btn.is-allow {
  background: var(--fp-brand, #006d6d);
  border-color: var(--fp-brand, #006d6d);
  color: #fff;
}
.fp-ip-btn.is-danger {
  background: #b42318;
  border-color: #b42318;
  color: #fff;
}
.fp-ip-add {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 0 16px 14px;
}
.fp-ip-add input[type="text"] {
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font: inherit;
}
.fp-ip-add input[name="ip"] { width: 180px; }
.fp-ip-add input[name="note"] { flex: 1 1 180px; min-width: 160px; }
.fp-ip-reason { line-height: 1.35; }
.fp-ip-reason small {
  display: block;
  margin-top: 2px;
  color: #6b7280;
  font-size: 11px;
  word-break: break-all;
}

.fp-condo-editor {
  margin: 8px 0 28px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.fp-condo-editor__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.fp-condo-editor__top h3 { margin: 0 0 6px; }
.fp-condo-editor__top p { margin: 0; color: var(--fp-muted); max-width: 52em; }
.fp-condo-editor__actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.fp-condo-save-status { font-size: 13px; min-width: 7em; }
.fp-condo-editor__hint {
  margin: 0;
  color: var(--fp-muted);
  max-width: 52em;
}
.fp-condo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 16px;
  padding: 4px;
  background: #f1f5f9;
  border-radius: 12px;
  width: fit-content;
  max-width: 100%;
}
.fp-condo-tab {
  appearance: none;
  border: 0;
  background: transparent;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 9px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.fp-condo-tab:hover { color: #0f172a; }
.fp-condo-tab.is-active {
  background: #fff;
  color: var(--fp-brand);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}
.fp-condo-tab__count {
  display: inline-flex;
  min-width: 1.4em;
  height: 1.4em;
  padding: 0 6px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  align-items: center;
  justify-content: center;
}
.fp-condo-tab.is-active .fp-condo-tab__count {
  background: var(--fp-brand-soft, #eef2ee);
  color: var(--fp-brand);
}
.fp-condo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 20px;
  align-items: start;
}
.fp-condo-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.fp-condo-col--side {
  min-width: 0;
}
.fp-condo-col--main > .fp-condo-panel + .fp-condo-panel,
.fp-condo-col--main > [data-condo-panel] > .fp-condo-panel + .fp-condo-panel {
  margin-top: 16px;
}
.fp-condo-editor[data-tab="reacties"] .fp-condo-layout {
  grid-template-columns: 1fr;
}
.fp-condo-editor[data-tab="reacties"] .fp-condo-col--side {
  display: none;
}
.fp-condo-reacties__table {
  overflow-x: auto;
  margin-top: 8px;
}
.fp-condo-reacties table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.fp-condo-reacties th,
.fp-condo-reacties td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--fp-border);
  vertical-align: top;
}
.fp-condo-reacties th {
  font-size: 12px;
  color: var(--fp-muted);
  font-weight: 700;
}
.fp-condo-reacties td:last-child {
  width: 1%;
  white-space: nowrap;
}
.fp-condo-preview-card__label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fp-brand);
}
.fp-condo-preview-wrap {
  position: relative;
  height: min(560px, calc(100vh - 160px));
  min-height: 360px;
  overflow: hidden;
  border-radius: 16px;
  background: #d9d2c6;
  box-shadow: 0 10px 28px rgba(20, 17, 13, 0.12);
  container-type: inline-size;
}
.fp-condo-preview-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 36px;
  background: linear-gradient(180deg, transparent, rgba(40, 34, 28, 0.28));
  pointer-events: none;
  z-index: 1;
}
.fp-condo-preview-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  pointer-events: none;
}
@supports (width: 1cqi) {
  .fp-condo-preview-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 960px;
    height: 1400px;
    margin: 0;
    transform: scale(calc(100cqi / 960));
    transform-origin: top left;
  }
}
.fp-condo-controls {
  display: contents;
}
.fp-condo-panel {
  background: #fff;
  border: 1px solid var(--fp-border);
  border-radius: 16px;
  padding: 16px 16px 18px;
}
.fp-condo-panel h4 {
  margin: 16px 0 8px;
  font-size: 14px;
}
.fp-condo-panel h4:first-child { margin-top: 0; }
.fp-condo-templates,
.fp-condo-portraits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.fp-condo-portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  border: 1px solid var(--fp-control-border);
  background: #fff;
  border-radius: 10px;
  padding: 10px 6px 8px;
  cursor: pointer;
}
.fp-condo-portrait.is-on {
  border-color: var(--fp-brand);
  box-shadow: 0 0 0 2px var(--fp-brand-soft);
}
.fp-condo-portrait strong { font-size: 13px; }
.fp-condo-portrait small { color: var(--fp-muted); font-size: 11px; }
.fp-condo-portrait__shape {
  display: block;
  background: linear-gradient(160deg, #d7c4a0, #6b5a3e);
}
.fp-condo-portrait__shape--round {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}
.fp-condo-portrait__shape--square {
  width: 34px;
  height: 34px;
  border-radius: 6px;
}
.fp-condo-portrait__shape--banner {
  width: 46px;
  height: 22px;
  border-radius: 4px;
}
.fp-condo-portrait__shape--oval {
  width: 28px;
  height: 38px;
  border-radius: 50%;
}
.fp-condo-upload {
  display: inline-flex;
  align-items: center;
  margin: 0;
  cursor: pointer;
}
.fp-condo-bg-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 8px 0 4px;
}
.fp-condo-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}
.fp-condo-template {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  border: 1px solid var(--fp-control-border);
  background: #fff;
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
}
.fp-condo-template.is-on {
  border-color: var(--fp-brand);
  box-shadow: 0 0 0 2px var(--fp-brand-soft);
}
.fp-condo-template strong { font-size: 13px; }
.fp-condo-template small { color: var(--fp-muted); font-size: 11px; line-height: 1.3; }
.fp-condo-template__swatch {
  display: block;
  position: relative;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  background: #2c2418;
}
.fp-condo-template__swatch::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 18%;
  bottom: 12%;
  border-radius: 6px;
  background: rgba(247, 242, 234, 0.92);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}
.fp-condo-template__swatch--still { background: linear-gradient(180deg, #3a3228, #1a140c); }
.fp-condo-template__swatch--still::after { background: #f7f2ea; border-radius: 8px; }
.fp-condo-template__swatch--licht { background: linear-gradient(180deg, #efe4d0, #d7c4a4); }
.fp-condo-template__swatch--licht::after { background: #fffdf8; border-radius: 10px; box-shadow: 0 4px 10px rgba(80, 60, 30, 0.08); }
.fp-condo-template__swatch--avond { background: linear-gradient(180deg, #1a2744, #07090e); }
.fp-condo-template__swatch--avond::after { background: #161b28; border-radius: 8px; box-shadow: 0 0 0 1px rgba(201, 180, 138, 0.35); }
.fp-condo-template__swatch--natuur { background: linear-gradient(180deg, #4a5c48, #1c2418); }
.fp-condo-template__swatch--natuur::after { background: #eef3ea; border-radius: 4px; }
.fp-condo-template__swatch--klassiek { background: linear-gradient(180deg, #4a2424, #140c0c); }
.fp-condo-template__swatch--klassiek::after { background: #f7efe2; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(141, 90, 58, 0.35); }
.fp-condo-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 8px 0;
  font-size: 13px;
}
.fp-condo-field input,
.fp-condo-field select,
.fp-condo-field textarea {
  min-height: var(--fp-control-h);
  border: 1px solid var(--fp-control-border);
  border-radius: var(--fp-control-radius);
  padding: 8px 10px;
  font: inherit;
}
.fp-condo-field textarea { min-height: 110px; }
.fp-condo-field input[type="color"] { padding: 4px; height: 40px; }
.fp-condo-check { display: flex; gap: 8px; align-items: center; font-size: 13px; margin: 4px 0 10px; }
.fp-condo-hint { color: var(--fp-muted); font-size: 12px; margin: 0 0 8px; }
.fp-condo-link {
  background: none;
  border: 0;
  color: var(--fp-brand);
  cursor: pointer;
  padding: 0;
  font: inherit;
  text-decoration: underline;
}
.fp-condo-blocks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fp-condo-master {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
}
.fp-condo-master select {
  min-height: 36px;
  border: 1px solid var(--fp-control-border);
  border-radius: var(--fp-control-radius);
  padding: 4px 8px;
  font: inherit;
}
.fp-condo-block {
  display: grid;
  grid-template-columns: 22px 32px 1fr;
  gap: 4px;
  align-items: start;
  border: 1px solid var(--fp-control-border);
  border-radius: 10px;
  padding: 6px;
  background: #fff;
}
.fp-condo-block.is-off { opacity: 0.55; }
.fp-condo-block.is-selected { border-color: var(--fp-brand); }
.fp-condo-block.is-dragging { opacity: 0.4; }
.fp-condo-block.is-locked .fp-condo-block__eye {
  cursor: not-allowed;
  color: #92400e;
}
.fp-condo-block.is-locked .fp-condo-block__handle {
  visibility: hidden;
}
.fp-condo-block__handle { cursor: grab; color: #9ca3af; text-align: center; user-select: none; }
.fp-condo-block__eye,
.fp-condo-block__name {
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  padding: 4px;
}
.fp-condo-block__main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}
.fp-condo-block__flag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--fp-muted);
  font-weight: 400;
  padding: 0 4px 4px;
}
.fp-condo-props {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--fp-control-border);
}
.fp-condo-collecte {
  margin-top: 4px;
}
.fp-condo-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--fp-control-border);
}
.fp-condo-stats > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fp-condo-stats dt {
  margin: 0;
  font-size: 11px;
  color: var(--fp-muted);
  font-weight: 500;
}
.fp-condo-stats dd {
  margin: 0;
  font-size: 22px;
  font-weight: 650;
  line-height: 1.1;
}
.fp-condo-linkbox .fp-condo-url {
  flex-wrap: wrap;
}
.fp-condo-iconbtns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 4px 0 2px;
}
.fp-condo-iconbtn,
.fp-app a.fp-condo-iconbtn,
.fp-app button.fp-condo-iconbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #1f2937;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
}
.fp-condo-iconbtn:hover,
.fp-condo-iconbtn.is-done,
.fp-app a.fp-condo-iconbtn:hover,
.fp-app button.fp-condo-iconbtn:hover,
.fp-app a.fp-condo-iconbtn.is-done,
.fp-app button.fp-condo-iconbtn.is-done {
  border-color: color-mix(in srgb, var(--fp-brand) 40%, #e5e7eb);
  background: var(--fp-brand-softer, #f6f8f6);
  color: var(--fp-brand);
  text-decoration: none;
}
.fp-condo-iconbtn svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}
.fp-condo-iconbtns .status {
  font-size: 12px;
  min-height: 1em;
}
.fp-condo-url {
  display: flex;
  align-items: center;
  gap: 4px;
}
.fp-condo-url input { flex: 1; min-width: 0; }

.fp-condo-linkbox--hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 16px 28px;
  align-items: center;
  margin: 0 0 16px;
  padding: 18px 20px;
  background: var(--fp-surface);
  border: 1px solid var(--fp-border);
  border-bottom: 2px solid var(--fp-brand);
  border-radius: var(--fp-radius);
  box-shadow: var(--fp-shadow);
}
.fp-condo-linkbox--hero h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--fp-text);
}
.fp-condo-linkbox--hero .fp-condo-hint {
  margin: 0 0 10px;
}
.fp-condo-linkbox--hero .fp-condo-linkbox__urlfield {
  margin: 0 0 10px;
}
.fp-condo-linkbox--hero .fp-condo-url {
  flex-wrap: nowrap;
  gap: 0;
  padding: 8px 14px;
  background: #f8fafc;
  border: 1px solid var(--fp-control-border);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  overflow-x: auto;
}
.fp-app .fp-condo-linkbox--hero .fp-condo-url input,
.fp-condo-linkbox--hero .fp-condo-url input {
  flex: 1 1 8em;
  min-width: 7em;
  max-width: 22em;
  min-height: 36px !important;
  height: 36px !important;
  margin: 0 2px;
  padding: 0 6px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: inset 0 0 0 1px #e5e7eb !important;
  font-size: 16px !important;
  font-weight: 700;
}
.fp-app .fp-condo-linkbox--hero .fp-condo-url input:focus {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fp-brand) 55%, #e5e7eb), 0 0 0 3px color-mix(in srgb, var(--fp-brand) 18%, transparent) !important;
}
.fp-condo-linkbox--hero .fp-condo-iconbtns {
  margin: 0;
}
.fp-condo-linkbox--hero.is-locked .fp-condo-url {
  background: #f3f4f6;
}
.fp-app .fp-condo-linkbox--hero.is-locked .fp-condo-url input,
.fp-condo-linkbox--hero.is-locked .fp-condo-url input {
  background: transparent !important;
  box-shadow: none !important;
  cursor: default;
  color: #111827;
}
.fp-app #fpCondoWorkbench[hidden] {
  display: none !important;
}
.fp-condo-linkbox--hero.is-public {
  border-bottom-color: #059669;
}
.fp-condo-linkbox--hero.is-private {
  border-bottom-color: #d97706;
  background: #fffdf8;
}
.fp-condo-linkbox--hero .fp-condo-linkbox__meta {
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fp-condo-public {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 12px;
}
.fp-condo-public.is-on {
  background: #ecfdf5;
  color: #065f46;
}
.fp-condo-public.is-off {
  background: #fff7ed;
  color: #9a3412;
}
.fp-condo-public__title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}
.fp-condo-public__text {
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.9;
}
.fp-condo-public__btn {
  appearance: none;
  margin-top: 4px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: #fff;
  color: inherit;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.fp-condo-public.is-on .fp-condo-public__btn {
  border-color: #059669;
  color: #047857;
}
.fp-condo-public.is-off .fp-condo-public__btn {
  border-color: #d97706;
  background: #d97706;
  color: #fff;
}
.fp-condo-linkbox--hero .fp-condo-stats {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
@media (max-width: 860px) {
  .fp-condo-linkbox--hero {
    grid-template-columns: 1fr;
    padding: 16px 14px;
  }
  .fp-condo-linkbox--hero .fp-condo-linkbox__meta {
    padding-top: 12px;
    border-top: 1px solid var(--fp-control-border);
  }
  .fp-condo-linkbox--hero .fp-condo-master {
    padding-bottom: 0;
    border-bottom: 0;
  }
}
.fp-condo-collecte__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.fp-condo-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 8px;
}
.fp-condo-thumbs figure {
  position: relative;
  margin: 0;
}
.fp-condo-thumbs img {
  width: 100%;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.fp-condo-thumbs button {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,0.65);
  color: #fff;
  cursor: pointer;
}
@media (min-width: 861px) {
  .fp-condo-col--side {
    position: sticky;
    top: 80px;
  }
}
@media (max-width: 1100px) {
  .fp-condo-layout { grid-template-columns: 1fr 1fr; }
  .fp-condo-editor[data-tab="reacties"] .fp-condo-layout { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .fp-condo-layout { grid-template-columns: 1fr; }
  .fp-condo-col--side { position: static; }
  .fp-condo-preview-wrap {
    height: min(320px, 55vh);
    min-height: 240px;
  }
  .fp-condo-tabs { width: 100%; }
  .fp-condo-tab { flex: 1; justify-content: center; }
}
.fp-beheer-q {
  max-width: 560px;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.4;
}
.fp-beheer-chat-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 0 0 18px;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.4;
}
.fp-beheer-chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fp-beheer-chat__item {
  max-width: 86%;
}
.fp-beheer-chat__item.is-user {
  margin-left: auto;
}
.fp-beheer-chat__who {
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 4px;
}
.fp-beheer-chat__bubble {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}
.fp-beheer-chat__item.is-user .fp-beheer-chat__bubble {
  background: var(--fp-brand-soft, #e8f4f4);
}
.fp-beheer-chat__item.is-assistant .fp-beheer-chat__bubble {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-left: 3px solid var(--fp-brand, #6b7c6a);
}

.fp-push-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 16px 14px;
  background: #fff;
  border: 1px solid var(--fp-border);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
}
.fp-push-banner__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  color: var(--fp-text);
}
.fp-push-banner__actions {
  display: flex;
  gap: 8px;
}
.fp-push-banner__ok,
.fp-push-banner__later {
  flex: 1;
  min-height: 44px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.fp-push-banner__ok {
  border: 0;
  background: var(--fp-brand);
  color: #fff;
}
.fp-push-banner__later {
  border: 1px solid var(--fp-control-border);
  background: #fff;
  color: var(--fp-muted);
}
@media (min-width: 720px) {
  .fp-push-banner {
    left: auto;
    right: 24px;
    bottom: 24px;
    width: 380px;
    flex-direction: column;
  }
}

/* Phone-only Admin (not tablet): stripped dashboard, dossier cards */
@media (max-width: 700px) {
  body.fp-is-admin .fp-topbar-storage,
  body.fp-is-admin .fp-topbar__user-label,
  body.fp-is-admin .fp-week,
  body.fp-is-admin .fp-whats-new,
  body.fp-is-admin .fp-admin-welcome__lead {
    display: none !important;
  }

  body.fp-is-admin .fp-main.nftmax-adashboard {
    padding: 8px 10px 88px !important;
    overflow-x: hidden;
  }

  body.fp-is-admin .fp-admin-welcome {
    padding: 12px 14px !important;
    margin: 0 0 12px !important;
  }

  body.fp-is-admin .fp-admin-welcome h2 {
    font-size: 20px !important;
    margin: 0 !important;
  }

  body.fp-is-admin .fp-dash-grid {
    gap: 12px;
    margin-top: 0 !important;
  }

  body.fp-is-admin .fp-admin-list.nftmax-table,
  body.fp-is-admin .nftmax-table.fp-admin-list {
    overflow: visible !important;
    padding: 12px 10px 16px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body.fp-is-admin .fp-list-switch {
    margin-bottom: 10px;
  }

  body.fp-is-admin .fp-list-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 4px;
  }

  body.fp-is-admin .fp-list-tab {
    justify-content: center;
    min-height: 44px;
    padding: 8px 10px;
    font-size: 13px;
  }

  body.fp-is-admin .fp-admin-list .dataTables_wrapper {
    overflow: visible;
  }

  body.fp-is-admin .fp-admin-list .dataTables_length,
  body.fp-is-admin .fp-admin-list .dataTables_info {
    display: none !important;
  }

  body.fp-is-admin .fp-admin-list .dataTables_filter {
    float: none !important;
    width: 100% !important;
    text-align: left !important;
    margin: 0 0 12px !important;
  }

  body.fp-is-admin .fp-admin-list .dataTables_filter label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
  }

  body.fp-is-admin .fp-admin-list .dataTables_filter input {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 6px 0 0 !important;
    height: 44px !important;
    min-height: 44px !important;
    font-size: 16px !important;
    border-radius: 12px !important;
  }

  body.fp-is-admin .fp-admin-list table.dataTable,
  body.fp-is-admin .fp-admin-list table.dataTable thead,
  body.fp-is-admin .fp-admin-list table.dataTable tbody {
    display: block !important;
    width: 100% !important;
  }

  body.fp-is-admin .fp-admin-list table.dataTable thead {
    display: none !important;
  }

  body.fp-is-admin .fp-admin-list table.dataTable tbody tr.fp-file-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    width: 100%;
    margin: 0 0 10px;
    padding: 14px 14px 12px;
    background: #fff;
    border: 1px solid var(--fp-border);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  body.fp-is-admin .fp-admin-list table.dataTable tbody tr.fp-file-row:active {
    background: #f8fafc;
  }

  body.fp-is-admin .fp-admin-list table.dataTable tbody tr:not(.fp-file-row) {
    display: block;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    text-align: center;
    color: #6b7280;
  }

  body.fp-is-admin .fp-admin-list table.dataTable tbody tr.odd,
  body.fp-is-admin .fp-admin-list table.dataTable tbody tr.even {
    background-color: #fff;
  }

  body.fp-is-admin .fp-admin-list table.dataTable tbody td {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    border: 0 !important;
    white-space: normal !important;
    font-size: 14px;
    color: #111827;
  }

  body.fp-is-admin .fp-admin-list table.dataTable tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #6b7280;
  }

  body.fp-is-admin .fp-admin-list table.dataTable tbody td:first-child {
    grid-column: 1 / -1;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    padding-bottom: 2px !important;
  }

  body.fp-is-admin .fp-admin-list table.dataTable tbody td:first-child::before,
  body.fp-is-admin .fp-admin-list table.dataTable tbody td[data-label=""]::before {
    display: none;
  }

  body.fp-is-admin .fp-admin-list table.dataTable tbody td:first-child a {
    display: block;
    color: inherit;
    text-decoration: none;
    padding: 2px 0;
  }

  body.fp-is-admin .fp-admin-list table.dataTable tbody td:last-child {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 4px !important;
  }

  body.fp-is-admin .fp-admin-list .icon-circle {
    width: 36px;
    height: 36px;
    margin: 0;
    font-size: 16px;
  }

  body.fp-is-admin .fp-admin-list .dataTables_paginate {
    float: none !important;
    text-align: center;
    padding-top: 8px;
  }

  body.fp-is-admin .fp-admin-list .dataTables_paginate .paginate_button {
    min-width: 36px;
    min-height: 36px;
    padding: 8px 10px !important;
  }

  body.fp-is-admin .fp-dash-actions {
    display: grid;
    gap: 8px;
    margin-top: 12px;
  }

  body.fp-is-admin .fp-dash-actions .btn-dossier {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin: 0;
    text-align: center;
  }

  body.fp-is-admin .fp-dash-dienst-list li {
    flex-direction: column;
    align-items: stretch;
  }

  body.fp-is-admin .fp-dash-dienst-list .btn-dossier {
    width: 100%;
    justify-content: center;
  }

  body.fp-is-admin input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="hidden"]):not([type="image"]):not([type="range"]):not([type="color"]),
  body.fp-is-admin select,
  body.fp-is-admin textarea {
    font-size: 16px !important;
  }

  body.fp-is-admin .fp-settings-table,
  body.fp-is-admin .fp-settings-table > tbody,
  body.fp-is-admin .fp-settings-table > tbody > tr,
  body.fp-is-admin .fp-settings-table > tbody > tr > td {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
  }

  body.fp-is-admin .fp-settings-table > tbody > tr {
    padding: 10px 0;
    border-bottom: 1px solid var(--fp-border);
  }

  body.fp-is-admin .welcome-cta {
    padding: 14px 14px !important;
  }

  body.fp-is-admin .welcome-cta h2,
  body.fp-is-admin .welcome-cta h3 {
    font-size: 20px !important;
  }
}

@media (min-width: 701px) {
  body.fp-is-admin .fp-dash-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
  }
}
