        :root {
          --blue: #1d3557;
          --blue-dark: #12243c;
          --bg: #f4f7fb;
          --line: #e2e8f0;
          --text: #1f2937;
          --muted: #64748b;
          --card: #ffffff;
        }

        * { box-sizing: border-box; }

        body {
          font-family: Arial, sans-serif;
          margin: 0;
          padding: 32px;
          background: var(--bg);
          color: var(--text);
        }

        h1 {
          color: var(--blue);
          margin: 0 0 8px 0;
          letter-spacing: -0.02em;
        }

        h2 {
          color: var(--blue);
        }

        a {
          color: var(--blue);
          font-weight: bold;
          text-decoration: none;
        }

        a:hover {
          text-decoration: underline;
        }

        .nav {
          background: var(--card);
          padding: 16px 20px;
          border-radius: 12px;
          margin-bottom: 24px;
          display: flex;
          gap: 18px;
          align-items: center;
          border: 1px solid var(--line);
          box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
        }

        .nav a {
          color: var(--blue);
          font-weight: bold;
        }

        .nav-title {
          margin-right: auto;
          font-weight: bold;
          color: var(--blue);
        }

        .card {
          background: var(--card);
          padding: 20px;
          border-radius: 12px;
          margin-bottom: 24px;
          border: 1px solid var(--line);
          box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
          overflow: hidden;
        }

        .card > h2:first-child {
          margin: -20px -20px 18px -20px;
          padding: 13px 18px;
          background: var(--blue);
          color: white;
          font-size: 18px;
        }

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

        .back {
          display: inline-block;
          margin-bottom: 20px;
        }

        .pill {
          display: inline-block;
          background: #edf2f7;
          color: var(--blue);
          padding: 6px 10px;
          border-radius: 999px;
          font-size: 13px;
          font-weight: bold;
        }

        .pill:hover {
          background: #dbeafe;
          text-decoration: none;
        }

        .filterbar {
          display: flex;
          flex-wrap: wrap;
          gap: 8px;
          align-items: center;
          margin-top: 12px;
        }

        .filterbar a {
          display: inline-block;
          background: #edf2f7;
          color: var(--blue);
          padding: 8px 12px;
          border-radius: 999px;
          font-size: 13px;
          font-weight: bold;
        }

        .filterbar a:hover {
          background: #dbeafe;
          text-decoration: none;
        }

        .filterbar a.actief {
          background: #cbd5e1;
          color: #17365d;
          box-shadow: inset 0 0 0 2px #94a3b8;
        }

        .filterbar a.actief:hover {
          background: #b8c5d3;
        }


        .step-label {
          display: inline-block;
          background: var(--blue);
          color: white;
          padding: 4px 9px;
          border-radius: 999px;
          font-size: 12px;
          font-weight: bold;
          margin-right: 8px;
        }

        .helpbox {
          background: #f8fafc;
          border: 1px solid var(--line);
          border-radius: 10px;
          padding: 12px 14px;
          margin: 12px 0 18px 0;
        }

        table {
          border-collapse: separate;
          border-spacing: 0;
          width: 100%;
          background: white;
          margin-bottom: 32px;
          border: 1px solid var(--line);
          border-radius: 12px;
          overflow: hidden;
          box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
        }

        th, td {
          padding: 12px;
          border-bottom: 1px solid var(--line);
          text-align: left;
          vertical-align: top;
        }

        th {
          background: var(--blue);
          color: white;
          font-size: 13px;
          white-space: nowrap;
        }

        tr:last-child td {
          border-bottom: none;
        }

        .card table {
          box-shadow: none;
          border: 0;
          border-radius: 0;
          margin: 12px -20px -20px -20px;
          width: calc(100% + 40px);
        }

        .card table th {
          background: #f8fafc;
          color: var(--blue);
          border-top: 1px solid var(--line);
          border-bottom: 1px solid var(--line);
        }

        .card table td {
          background: white;
        }

        .card table tr:last-child td {
          border-bottom: 0;
        }

        tbody tr.clickable-row {
          cursor: pointer;
          transition: background 0.12s ease;
        }

        tbody tr.clickable-row:hover {
          background: #f1f5f9;
        }

        tbody tr.clickable-row .row-title {
          color: var(--blue);
          font-weight: bold;
        }

        tbody tr.clickable-row:hover .row-title {
          text-decoration: underline;
        }

        .badge {
          display: inline-block;
          padding: 4px 8px;
          border-radius: 999px;
          background: #edf2f7;
          color: var(--blue);
          font-weight: bold;
          font-size: 12px;
          white-space: nowrap;
        }

        input, select, textarea, button {
          border: 1px solid var(--line);
          border-radius: 8px;
          font: inherit;
        }

        button {
          background: var(--blue);
          color: white;
          font-weight: bold;
          cursor: pointer;
        }

        button:hover {
          background: var(--blue-dark);
        }
      
    .nav-dropdown {
      position: relative;
      display: inline-block;
    }

    .nav-dropdown-button {
      border: 0;
      cursor: pointer;
      font-family: inherit;
      font-size: inherit;
      line-height: inherit;
      font-weight: 700;
      padding: 0;
      margin: 0;
      background: transparent;
      color: inherit;
      text-decoration: none;
      appearance: none;
      -webkit-appearance: none;
    }

    /* De navigatielink blijft bij hover gelijk aan de overige links. */
    .nav-dropdown-button:hover,
    .nav-dropdown-button:focus-visible {
      background: transparent !important;
      color: inherit !important;
    }

    .nav-dropdown-menu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      min-width: 230px;
      z-index: 1000;
      background: #ffffff;
      color: #111827;
      border: 1px solid #e5e7eb;
      border-radius: 12px;
      box-shadow: 0 12px 30px rgba(15,23,42,0.18);
      padding: 8px;
    }

    .nav-dropdown.is-open .nav-dropdown-menu {
      display: block;
    }

    .nav-dropdown-menu a {
      display: block;
      color: #111827;
      text-decoration: none;
      padding: 10px 12px;
      border-radius: 8px;
      white-space: nowrap;
    }

    .nav-dropdown-menu a:hover {
      background: #f3f4f6;
    }

    
        /* CENTRAAL_FACILIFORCE_STIJLBOEK_V1 */
        :root {
          --ff-font-family:
            Arial, Helvetica, sans-serif;

          /* FACILIFORCE_LETTERGROOTTES_14_15_V1 */
          --ff-font-size-body: 15px;
          --ff-font-size-small: 12px;
          --ff-font-size-label: 14px;
          --ff-font-size-h1: 32px;
          --ff-font-size-h2: 18px;
          --ff-font-size-h3: 16px;

          --ff-line-height-body: 1.5;
          --ff-line-height-heading: 1.25;

          --ff-font-weight-normal: 400;
          --ff-font-weight-medium: 600;
          --ff-font-weight-bold: 700;

          --ff-color-primary: #1d3557;
          --ff-color-primary-dark: #12243c;
          --ff-color-page: #f4f7fb;
          --ff-color-surface: #ffffff;
          --ff-color-border: #e2e8f0;
          --ff-color-text: #1f2937;
          --ff-color-muted: #64748b;

          --ff-color-hover: #f1f5f9;
          --ff-color-pill: #edf2f7;
          --ff-color-pill-hover: #dbeafe;

          --ff-color-success-bg: #e7f6ec;
          --ff-color-success-border: #b7dfc3;
          --ff-color-success-text: #2e7d32;

          --ff-color-warning-bg: #fffbea;
          --ff-color-warning-border: #f2c94c;
          --ff-color-warning-text: #92400e;

          --ff-color-danger-bg: #fee2e2;
          --ff-color-danger-border: #fecaca;
          --ff-color-danger-text: #991b1b;

          --ff-space-1: 4px;
          --ff-space-2: 8px;
          --ff-space-3: 12px;
          --ff-space-4: 16px;
          --ff-space-5: 20px;
          --ff-space-6: 24px;
          --ff-space-7: 32px;

          --ff-radius-small: 6px;
          --ff-radius-control: 8px;
          --ff-radius-card: 12px;
          --ff-radius-pill: 999px;

          --ff-shadow-card:
            0 8px 20px rgba(15, 23, 42, 0.04);

          --ff-control-height: 44px;
          --ff-page-max-width: none;
        }

        html,
        body,
        input,
        select,
        textarea,
        button {
          font-family: var(--ff-font-family);
        }

        body {
          font-size: var(--ff-font-size-body);
          line-height: var(--ff-line-height-body);
        }

        .ff-page {
          width: 100%;
          max-width: var(--ff-page-max-width);
        }

        .ff-page-header {
          margin-bottom: var(--ff-space-6);
        }

        .ff-page-title {
          margin: 0 0 var(--ff-space-2);
          color: var(--ff-color-primary);
          font-size: var(--ff-font-size-h1);
          line-height: var(--ff-line-height-heading);
          font-weight: var(--ff-font-weight-bold);
          letter-spacing: -0.02em;
        }

        .ff-page-intro {
          margin: 0;
          color: var(--ff-color-muted);
        }

        .ff-page-actions {
          display: flex;
          align-items: center;
          flex-wrap: wrap;
          gap: var(--ff-space-2);
          margin-top: var(--ff-space-4);
        }

        .ff-card {
          margin-bottom: var(--ff-space-6);
          padding: var(--ff-space-5);
          overflow: hidden;
          border: 1px solid var(--ff-color-border);
          border-radius: var(--ff-radius-card);
          background: var(--ff-color-surface);
          box-shadow: var(--ff-shadow-card);
        }

        .ff-card-header {
          display: flex;
          align-items: center;
          justify-content: space-between;
          gap: var(--ff-space-4);
          flex-wrap: wrap;
          margin:
            calc(var(--ff-space-5) * -1)
            calc(var(--ff-space-5) * -1)
            var(--ff-space-5);
          padding: 13px 18px;
          background: var(--ff-color-primary);
          color: white;
        }

        .ff-card-title {
          margin: 0;
          color: inherit;
          font-size: var(--ff-font-size-h2);
          line-height: var(--ff-line-height-heading);
          font-weight: var(--ff-font-weight-bold);
        }

        .ff-section-title {
          margin: 0 0 var(--ff-space-4);
          color: var(--ff-color-primary);
          font-size: var(--ff-font-size-h3);
          font-weight: var(--ff-font-weight-bold);
        }

        .ff-stat-grid {
          display: grid;
          grid-template-columns:
            repeat(auto-fit, minmax(180px, 1fr));
          gap: var(--ff-space-4);
          margin-bottom: var(--ff-space-6);
        }

        .ff-stat-card {
          min-width: 0;
          padding: var(--ff-space-5);
          border: 1px solid var(--ff-color-border);
          border-radius: var(--ff-radius-card);
          background: var(--ff-color-surface);
          box-shadow: var(--ff-shadow-card);
        }

        .ff-stat-label {
          color: var(--ff-color-text);
          font-size: var(--ff-font-size-label);
          font-weight: var(--ff-font-weight-bold);
        }

        .ff-stat-value {
          margin-top: var(--ff-space-1);
          color: var(--ff-color-text);
          font-size: 28px;
          line-height: 1.2;
          font-weight: var(--ff-font-weight-normal);
        }

        .ff-button,
        button.ff-button,
        a.ff-button {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          min-height: var(--ff-control-height);
          padding: 10px 16px;
          border: 1px solid var(--ff-color-primary);
          border-radius: var(--ff-radius-control);
          background: var(--ff-color-primary);
          color: white;
          font-size: var(--ff-font-size-label);
          font-weight: var(--ff-font-weight-bold);
          line-height: 1.2;
          text-decoration: none;
          white-space: nowrap;
          cursor: pointer;
        }

        .ff-button:hover,
        button.ff-button:hover,
        a.ff-button:hover {
          background: var(--ff-color-primary-dark);
          color: white;
          text-decoration: none;
        }

        .ff-button-pill,
        button.ff-button-pill,
        a.ff-button-pill {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          width: auto;
          min-width: 0;
          min-height: 0;
          margin: 0;
          padding: 6px 10px;
          border: 0;
          border-radius: var(--ff-radius-pill);
          background: var(--ff-color-pill);
          color: var(--ff-color-primary);
          font-size: var(--ff-font-size-label);
          font-weight: var(--ff-font-weight-bold);
          line-height: 1.2;
          text-decoration: none;
          white-space: nowrap;
          box-shadow: none;
          cursor: pointer;
        }

        .ff-button-pill:hover,
        button.ff-button-pill:hover,
        a.ff-button-pill:hover {
          background: var(--ff-color-pill-hover);
          color: var(--ff-color-primary);
          text-decoration: none;
        }

        .ff-button:focus-visible,
        .ff-button-pill:focus-visible {
          outline:
            2px solid var(--ff-color-primary);
          outline-offset: 2px;
        }

        .ff-button:disabled,
        .ff-button-pill:disabled {
          opacity: 0.55;
          cursor: not-allowed;
        }

        .ff-form-grid {
          display: grid;
          grid-template-columns:
            repeat(auto-fit, minmax(220px, 1fr));
          gap: 18px 24px;
          align-items: start;
        }

        /* Contactformulieren volgen dezelfde vaste veldspacing als .ff-form-grid.
           De formuliermarkup van oudere klanttabs gebruikt nog losse labels; deze
           compatibiliteitsregel brengt die velden in dezelfde componentstijl. */
        form[action^="/klanten/"][action$="/contacten"] {
          display: grid;
          grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
          gap: 18px 24px;
          align-items: start;
        }

        form[action^="/klanten/"][action$="/contacten"] > label {
          display: flex;
          flex-direction: column;
          gap: 7px;
          min-width: 0;
          margin: 0;
          color: var(--ff-color-text);
          font-size: var(--ff-font-size-label);
          font-weight: var(--ff-font-weight-bold);
          line-height: 1.25;
        }

        form[action^="/klanten/"][action$="/contacten"] > label > input,
        form[action^="/klanten/"][action$="/contacten"] > label > select {
          width: 100%;
          max-width: none;
          box-sizing: border-box;
          min-height: var(--ff-control-height);
          margin: 0;
          padding: 10px 12px;
          border: 1px solid var(--ff-color-border);
          border-radius: var(--ff-radius-control);
          background: var(--ff-color-surface);
          color: var(--ff-color-text);
          font: inherit;
          font-weight: 400;
        }

        form[action^="/klanten/"][action$="/contacten"] > label[style] {
          flex-direction: row;
          align-items: center;
          gap: 10px;
          font-weight: 400;
        }

        form[action^="/klanten/"][action$="/contacten"] > label[style] > input {
          width: auto;
          min-height: 0;
          padding: 0;
        }

        form[action^="/klanten/"][action$="/contacten"] > button {
          align-self: end;
          justify-self: start;
        }

        form[action^="/klanten/"][action$="/contacten"] > label.ff-contact-type-field {
          align-self: center;
        }

        .ff-contact-type-badge {
          display: inline-flex;
          align-items: center;
          min-height: 28px;
          padding: 4px 10px;
          border-radius: 999px;
          white-space: nowrap;
        }

        .ff-contact-type-badge-financieel {
          background: var(--ff-color-success-surface, #e8f6ed);
          color: var(--ff-color-success-text, #237a3b);
        }

        .ff-icon-button {
          width: 26px;
          height: 26px;
          min-width: 26px;
          min-height: 26px;
          padding: 5px;
          display: inline-flex;
          align-items: center;
          justify-content: center;
          border-radius: 50%;
          font-size: 14px;
          line-height: 1;
        }

        .ff-icon-button svg {
          width: 14px;
          height: 14px;
        }

        /* Pictogramknoppen behouden ook binnen taakformulieren hun stijlboekmaat. */
        body button.pill.ff-icon-button,
        body .pill.ff-icon-button {
          display: inline-flex !important;
          align-items: center !important;
          justify-content: center !important;
          width: 26px !important;
          min-width: 26px !important;
          max-width: 26px !important;
          height: 26px !important;
          min-height: 26px !important;
          max-height: 26px !important;
          padding: 5px !important;
          border: 0 !important;
          border-radius: 50% !important;
          background: var(--ff-color-pill) !important;
          color: var(--ff-color-primary) !important;
          line-height: 1 !important;
          box-shadow: none !important;
        }

        body button.pill.ff-icon-button:hover,
        body button.pill.ff-icon-button:focus-visible,
        body .pill.ff-icon-button:hover,
        body .pill.ff-icon-button:focus-visible {
          background: var(--ff-color-pill-hover) !important;
          color: var(--ff-color-primary) !important;
        }

        body button.pill.ff-icon-button svg,
        body .pill.ff-icon-button svg {
          width: 14px !important;
          height: 14px !important;
          flex: 0 0 14px;
        }

        /* Compacte potloodactie voor iedere lijst die een pictogramknop gebruikt. */
        .ff-icon-button:is(
          [data-action="edit"],
          [aria-label*="bewerken" i],
          [title*="bewerken" i]
        ) {
          width: 26px !important;
          height: 26px !important;
          min-width: 26px !important;
          min-height: 26px !important;
          padding: 5px !important;
        }

        .ff-icon-button:is(
          [data-action="edit"],
          [aria-label*="bewerken" i],
          [title*="bewerken" i]
        ) svg {
          width: 14px !important;
          height: 14px !important;
        }

        /* Overzichtslijsten tonen maximaal twintig volledige gegevensregels. */
        .ff-list-scroll-20 {
          width: 100%;
          max-width: 100%;
          box-sizing: border-box;
          overflow-x: auto;
        }

        .ff-list-scroll-20.is-scrollable {
          overflow-y: auto;
          scrollbar-gutter: stable;
        }

        .ff-list-scroll-20 > table {
          width: 100% !important;
          margin: 0 !important;
        }

        /* Ook korte lijsten mogen de oude negatieve kaartmarge niet erven:
           daardoor werd de laatste locatie- of gebouwregel deels afgesneden. */
        table[data-ff-row-limit-ready="true"] {
          margin-bottom: 0 !important;
        }

        .ff-list-scroll-20.is-scrollable > table > thead > tr > th {
          position: sticky;
          top: 0;
          z-index: 2;
          background: var(--ff-color-surface-subtle, #f7f9fc);
        }

        .ff-field {
          display: flex;
          flex-direction: column;
          min-width: 0;
          margin: 0;
        }

        .ff-field-wide {
          grid-column: 1 / -1;
        }

        .ff-field-label {
          display: block;
          min-height: 22px;
          margin-bottom: 7px;
          color: var(--ff-color-text);
          font-size: var(--ff-font-size-label);
          font-weight: var(--ff-font-weight-bold);
          line-height: 1.25;
        }

        .ff-field input,
        .ff-field select,
        .ff-field textarea {
          width: 100%;
          max-width: none;
          margin: 0;
          padding: 10px 12px;
          border: 1px solid var(--ff-color-border);
          border-radius: var(--ff-radius-control);
          background: var(--ff-color-surface);
          color: var(--ff-color-text);
          font-size: var(--ff-font-size-body);
          line-height: 1.4;
        }

        .ff-field input,
        .ff-field select {
          min-height: var(--ff-control-height);
        }

        .ff-field textarea {
          min-height: 120px;
          resize: vertical;
        }

        .ff-field input:focus,
        .ff-field select:focus,
        .ff-field textarea:focus {
          border-color: var(--ff-color-primary);
          outline:
            2px solid rgba(29, 53, 87, 0.14);
          outline-offset: 0;
        }

        .ff-readonly {
          background: #f8fafc !important;
          color: #25364d !important;
          border-color: #dce5ef !important;
        }

        /* Alleen-lezen formulieren tonen waarden zonder bewerk-randen. */
        .ff-readonly-panel input:disabled,
        .ff-readonly-panel select:disabled,
        .ff-readonly-panel textarea:disabled {
          background: transparent !important;
          color: #25364d !important;
          border: 0 !important;
          box-shadow: none !important;
          outline: none !important;
          appearance: none !important;
          -webkit-appearance: none !important;
          padding-inline: 0 !important;
        }

        .ff-readonly-panel input:disabled,
        .ff-readonly-panel select:disabled {
          min-height: 0 !important;
        }

        .ff-readonly-text {
          width: 100%;
          max-width: 900px;
          box-sizing: border-box;
          white-space: normal;
          overflow-wrap: anywhere;
          line-height: 1.5;
          color: #25364d;
        }

        .ff-help-text {
          margin-top: var(--ff-space-1);
          color: var(--ff-color-muted);
          font-size: var(--ff-font-size-small);
        }

        .ff-table-wrap {
          width: 100%;
          overflow-x: auto;
          box-sizing: border-box;
          padding-inline: 24px;
        }

        .ff-table-overview-wrap {
          padding-inline: 0;
        }

        .ff-table {
          width: 100%;
          max-width: none;
          margin: 0 0 var(--ff-space-7) 0;
          border-collapse: separate;
          border-spacing: 0;
          border: 1px solid var(--ff-color-border);
          border-radius: var(--ff-radius-card);
          background: var(--ff-color-surface);
          box-shadow: var(--ff-shadow-card);
          overflow: hidden;
        }

        .ff-table th,
        .ff-table td {
          padding: var(--ff-space-3);
          border-bottom: 1px solid var(--ff-color-border);
          text-align: left;
          vertical-align: top;
        }

        .ff-table th {
          background: var(--ff-color-primary);
          color: white;
          font-size: var(--ff-font-size-label);
          font-weight: var(--ff-font-weight-bold);
          white-space: nowrap;
        }

        .ff-table tbody tr:last-child td {
          border-bottom: 0;
        }

        .ff-table tbody tr.ff-clickable-row {
          cursor: pointer;
          transition: background 0.12s ease;
        }

        .ff-table tbody tr.ff-clickable-row:hover {
          background: var(--ff-color-hover);
        }

        .ff-table .ff-row-title {
          color: var(--ff-color-primary);
          font-weight: var(--ff-font-weight-bold);
        }

        .ff-table
        tbody tr.ff-clickable-row:hover
        .ff-row-title {
          text-decoration: underline;
        }

        .ff-badge {
          display: inline-flex;
          align-items: center;
          padding: 4px 8px;
          border-radius: var(--ff-radius-pill);
          background: var(--ff-color-pill);
          color: var(--ff-color-primary);
          font-size: var(--ff-font-size-small);
          font-weight: var(--ff-font-weight-bold);
          line-height: 1.2;
          white-space: nowrap;
        }

        .ff-alert {
          margin-bottom: var(--ff-space-5);
          padding: var(--ff-space-4);
          border: 1px solid var(--ff-color-border);
          border-radius: 10px;
          background: #f8fafc;
        }

        .ff-alert-success {
          border-color: var(--ff-color-success-border);
          background: var(--ff-color-success-bg);
          color: var(--ff-color-success-text);
        }

        .ff-alert-warning {
          border-color: var(--ff-color-warning-border);
          background: var(--ff-color-warning-bg);
          color: var(--ff-color-warning-text);
        }

        .ff-alert-danger {
          border-color: var(--ff-color-danger-border);
          background: var(--ff-color-danger-bg);
          color: var(--ff-color-danger-text);
        }

        .ff-tabbar {
          display: flex;
          align-items: center;
          gap: var(--ff-space-2);
          flex-wrap: wrap;
          margin-bottom: var(--ff-space-4);
          padding-bottom: var(--ff-space-3);
          border-bottom: 1px solid var(--ff-color-border);
        }

        .ff-tab {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          padding: 8px 12px;
          border: 1px solid transparent;
          border-radius: var(--ff-radius-control);
          background: transparent;
          color: var(--ff-color-primary);
          font-size: var(--ff-font-size-body);
          font-weight: var(--ff-font-weight-bold);
          line-height: 1.2;
          text-decoration: none;
          cursor: pointer;
        }

        .ff-tab:hover {
          background: var(--ff-color-hover);
          text-decoration: none;
        }

        .ff-tab-active {
          border-color: var(--ff-color-primary);
          background: var(--ff-color-primary);
          color: white;
        }

        .ff-component-row {
          display: flex;
          align-items: center;
          flex-wrap: wrap;
          gap: var(--ff-space-3);
          margin-bottom: var(--ff-space-4);
        }

        .ff-color-grid {
          display: grid;
          grid-template-columns:
            repeat(auto-fit, minmax(180px, 1fr));
          gap: var(--ff-space-4);
        }

        .ff-color-swatch {
          overflow: hidden;
          border: 1px solid var(--ff-color-border);
          border-radius: var(--ff-radius-card);
          background: white;
        }

        .ff-color-example {
          height: 72px;
        }

        .ff-color-info {
          padding: var(--ff-space-3);
          font-size: var(--ff-font-size-small);
        }

        @media (max-width: 700px) {
          body {
            padding: var(--ff-space-4);
          }

          .ff-page-title {
            font-size: 27px;
          }

          .ff-form-grid {
            grid-template-columns: 1fr;
          }

          .ff-field-wide {
            grid-column: auto;
          }

          .ff-table {
            width: 100%;
            max-width: 100%;
            margin-right: 0;
          }
        }


        /*
         * ALLE_PAGINAS_FACILIFORCE_STIJLBOEK_V3
         *
         * Centrale basisstijl voor alle portaalpagina's.
         * Taakdetail en takenoverzicht zijn de referentie.
         */

        html {
          background: var(--ff-color-page);
          font-family: var(--ff-font-family);
          font-size: 14px;
        }

        body {
          min-width: 0;
          margin: 0;
          padding: 32px;
          background: var(--ff-color-page);
          color: var(--ff-color-text);
          font-family: var(--ff-font-family) !important;
          font-size: var(--ff-font-size-body);
          font-weight: var(--ff-font-weight-normal);
          line-height: var(--ff-line-height-body);
          text-rendering: optimizeLegibility;
          -webkit-font-smoothing: antialiased;
        }

        body,
        body p,
        body li,
        body td,
        body th,
        body label,
        body input,
        body select,
        body textarea,
        body button,
        body a {
          font-family: var(--ff-font-family) !important;
        }

        body p,
        body li,
        body td {
          font-size: var(--ff-font-size-body);
          line-height: var(--ff-line-height-body);
        }

        body h1 {
          margin: 0 0 8px;
          color: var(--ff-color-primary);
          font-size: var(--ff-font-size-h1);
          font-weight: var(--ff-font-weight-bold);
          line-height: var(--ff-line-height-heading);
          letter-spacing: -0.02em;
        }

        body h2 {
          color: var(--ff-color-primary);
          font-weight: var(--ff-font-weight-bold);
          line-height: var(--ff-line-height-heading);
        }

        body h3,
        body h4 {
          color: var(--ff-color-text);
          font-weight: var(--ff-font-weight-bold);
          line-height: var(--ff-line-height-heading);
        }

        body .muted {
          color: var(--ff-color-muted);
          font-size: var(--ff-font-size-body);
          line-height: var(--ff-line-height-body);
        }

        body .back {
          display: inline-flex;
          align-items: center;
          width: auto;
          margin: 0 0 var(--ff-space-5);
          color: var(--ff-color-primary);
          font-size: var(--ff-font-size-body);
          font-weight: var(--ff-font-weight-bold);
          line-height: 1.3;
        }

        body a {
          color: var(--ff-color-primary);
          font-weight: var(--ff-font-weight-bold);
          text-decoration: none;
        }

        body a:hover {
          text-decoration: underline;
        }

        body .nav {
          display: flex;
          align-items: center;
          gap: 18px;
          flex-wrap: wrap;
          margin-bottom: var(--ff-space-6);
          padding: 16px 20px;
          border: 1px solid var(--ff-color-border);
          border-radius: var(--ff-radius-card);
          background: var(--ff-color-surface);
          box-shadow: var(--ff-shadow-card);
        }

        body .nav-title,
        body .nav a,
        body .nav button {
          font-size: var(--ff-font-size-body);
          font-weight: var(--ff-font-weight-bold);
        }

        body .card {
          margin-bottom: var(--ff-space-6);
          padding: var(--ff-space-5);
          overflow: hidden;
          border: 1px solid var(--ff-color-border);
          border-radius: var(--ff-radius-card);
          background: var(--ff-color-surface);
          box-shadow: var(--ff-shadow-card);
        }

        body .card > h2:first-child {
          margin:
            calc(var(--ff-space-5) * -1)
            calc(var(--ff-space-5) * -1)
            18px;
          padding: 13px 18px;
          border: 0;
          background: var(--ff-color-primary);
          color: #ffffff;
          font-size: var(--ff-font-size-h2);
          font-weight: var(--ff-font-weight-bold);
          line-height: var(--ff-line-height-heading);
        }

        /* Dashboard cards always have white headers, including new intake cards. */
        body .card.ff-dashboard-card > h2:first-child,
        body .ff-dashboard-intake > .card > h2:first-child {
          margin: 0 0 27px;
          padding: 0;
          border: 0;
          background: transparent;
          color: var(--ff-color-primary);
          font-size: 20px;
          font-weight: 700;
          line-height: 1.3;
          text-align: left;
        }

        body .card > h2:first-child a {
          color: inherit;
        }

        body .card > h3:first-child {
          margin-top: 0;
        }

        body .helpbox {
          margin: 12px 0 18px;
          padding: 12px 14px;
          border: 1px solid var(--ff-color-border);
          border-radius: 10px;
          background: #f8fafc;
          color: var(--ff-color-text);
        }

        body label {
          color: var(--ff-color-text);
          font-size: var(--ff-font-size-label);
          line-height: 1.35;
        }

        body label > strong,
        body label > span:first-child,
        body .taak-formulier-raster label > span:first-child {
          font-size: var(--ff-font-size-label);
          font-weight: var(--ff-font-weight-bold);
          line-height: 1.3;
        }

        body input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]),
        body select,
        body textarea {
          width: 100%;
          max-width: none;
          min-width: 0;
          margin: 0;
          padding: 10px 12px;
          border: 1px solid var(--ff-color-border);
          border-radius: var(--ff-radius-control);
          background: var(--ff-color-surface);
          color: var(--ff-color-text);
          font-size: var(--ff-font-size-body);
          font-weight: var(--ff-font-weight-normal);
          line-height: 1.4;
        }

        /* FF_UNIFORME_DROPDOWNS_V1 */
        body select:not([multiple]) {
          appearance: none;
          -webkit-appearance: none;
          padding-right: 40px;
          background-image:
            linear-gradient(45deg, transparent 50%, #64748b 50%),
            linear-gradient(135deg, #64748b 50%, transparent 50%);
          background-position:
            calc(100% - 18px) 50%,
            calc(100% - 12px) 50%;
          background-size: 6px 6px, 6px 6px;
          background-repeat: no-repeat;
        }

        body select:not([multiple]):disabled {
          background-image:
            linear-gradient(45deg, transparent 50%, #94a3b8 50%),
            linear-gradient(135deg, #94a3b8 50%, transparent 50%);
        }

        body input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]),
        body select {
          min-height: var(--ff-control-height);
        }

        body textarea {
          resize: vertical;
        }

        /* FF_MODERN_BESTANDSVELD_V1 */
        body input[type="file"] {
          display: block;
          width: 100%;
          max-width: 900px;
          min-height: var(--ff-control-height);
          margin: 0;
          padding: 5px;
          overflow: hidden;
          border: 1px solid var(--ff-color-border);
          border-radius: var(--ff-radius-control);
          background: var(--ff-color-surface);
          color: var(--ff-color-muted);
          font-family: inherit;
          font-size: var(--ff-font-size-body);
          font-weight: var(--ff-font-weight-normal);
          line-height: 1.4;
          cursor: pointer;
          transition:
            border-color 150ms ease,
            box-shadow 150ms ease,
            background-color 150ms ease;
        }

        body input[type="file"]::file-selector-button,
        body input[type="file"]::-webkit-file-upload-button {
          margin: 0 12px 0 0;
          padding: 8px 14px;
          border: 0;
          border-radius: 8px;
          background: var(--ff-color-pill);
          color: var(--ff-color-primary);
          font-family: inherit;
          font-size: var(--ff-font-size-label);
          font-weight: var(--ff-font-weight-bold);
          line-height: 1.2;
          cursor: pointer;
          transition:
            background-color 150ms ease,
            color 150ms ease,
            transform 150ms ease;
        }

        body input[type="file"]:hover {
          border-color: #b8c6d8;
          background: #fbfdff;
        }

        body input[type="file"]:hover::file-selector-button,
        body input[type="file"]:hover::-webkit-file-upload-button {
          background: var(--ff-color-pill-hover);
        }

        body input[type="file"]:focus,
        body input[type="file"]:focus-visible {
          border-color: var(--ff-color-primary);
          outline: 2px solid rgba(29, 53, 87, 0.14);
          outline-offset: 0;
          box-shadow: 0 0 0 1px rgba(29, 53, 87, 0.04);
        }

        body input[type="file"]:disabled {
          border-color: #dce5ef;
          background: #f8fafc;
          color: #94a3b8;
          cursor: not-allowed;
          opacity: 0.78;
        }

        body input[type="file"]:disabled::file-selector-button,
        body input[type="file"]:disabled::-webkit-file-upload-button {
          cursor: not-allowed;
        }

        /* FF_TAAKDOCUMENT_VERWIJDERKNOP_V1 */
        body .ff-document-list-row {
          display: flex;
          align-items: center;
          gap: 8px;
          min-height: 32px;
        }

        body .ff-document-delete-form {
          display: inline-flex;
          flex: 0 0 auto;
          margin: 0;
        }

        body .ff-document-delete-button svg {
          pointer-events: none;
        }

        /* FF_TABLE_STYLE_V1 */
        /* FF_FILTER_SEARCH_V1: gedeelde basis voor zoeken en filters. */
        body .ff-filter-panel {
          padding: var(--ff-space-5);
          border: 1px solid var(--ff-color-border);
          border-radius: var(--ff-radius-card);
          background: var(--ff-color-surface);
          box-shadow: var(--ff-shadow-card);
        }

        /* FF_FILTER_GRID_V1: vaste filteropmaak, gebaseerd op het assetoverzicht. */
        body .ff-filter-panel--embedded {
          padding: 0;
          border: 0;
          border-radius: 0;
          box-shadow: none;
          background: transparent;
        }
        body .ff-filter-grid {
          display: grid;
          grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
          gap: 18px 24px;
          align-items: end;
        }
        body .ff-filter-grid .ff-field {
          display: flex;
          flex-direction: column;
          min-width: 0;
          margin: 0;
        }
        body .ff-filter-grid .ff-field-label {
          height: 22px;
          margin: 0 0 7px;
          color: var(--ff-color-muted);
        }
        body .ff-filter-grid input,
        body .ff-filter-grid select {
          width: 100%;
          max-width: none;
          min-width: 0;
          box-sizing: border-box;
          margin: 0;
          padding: 12px;
          min-height: var(--ff-control-height);
          border-radius: var(--ff-radius-control);
          flex: none;
        }
        body .ff-filter-grid .ff-search-submit {
          padding: 12px 18px;
          min-height: var(--ff-control-height);
          justify-self: start;
          margin: 0;
        }

        body .ff-search-row {
          display: flex;
          align-items: center;
          gap: var(--ff-space-2);
          flex-wrap: wrap;
          max-width: 820px;
        }

        body .ff-search-input {
          flex: 1 1 320px;
          min-width: 0;
        }

        body .ff-search-submit {
          flex: 0 0 auto;
          white-space: nowrap;
        }

        body .ff-filterbar {
          display: flex;
          align-items: center;
          gap: var(--ff-space-2);
          flex-wrap: wrap;
          margin-top: var(--ff-space-3);
        }

        body .ff-filterbar a {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          padding: 8px 12px;
          border-radius: var(--ff-radius-pill);
          background: var(--ff-color-pill);
          color: var(--ff-color-primary);
          font-size: 13px;
          font-weight: var(--ff-font-weight-bold);
          line-height: 1.2;
          text-decoration: none;
        }

        body .ff-filterbar a:hover,
        body .ff-filterbar a.actief {
          background: var(--ff-color-pill-hover);
          color: var(--ff-color-primary);
          text-decoration: none;
        }

        body.ff-filter-loading::after {
          content: 'Filters bijwerken…';
          position: fixed;
          inset: 0;
          z-index: 20000;
          display: flex;
          align-items: center;
          justify-content: center;
          background: rgba(244, 247, 251, 0.78);
          color: var(--ff-color-primary);
          font-size: 16px;
          font-weight: 600;
          pointer-events: all;
        }

        body table {
          width: 100%;
          border-collapse: separate;
          border-spacing: 0;
          overflow: hidden;
          border: 1px solid #e2e8f0;
          border-radius: 12px;
          background: #fff;
        }

        body table th {
          padding: 12px 14px;
          border-bottom: 1px solid #dce5ef;
          background: #f1f5f9;
          color: #25364d;
          font-weight: 700;
          text-align: left;
          vertical-align: middle;
        }

        /* Herbruikbare tabelkop voor alle overzichtstabellen. */
        body .ff-table-head th {
          background: var(--ff-color-pill, #edf2f7);
          color: var(--ff-color-primary, #1d3557);
          font-weight: 600;
          text-align: left;
        }

        body table td {
          padding: 12px 14px;
          border-bottom: 1px solid #e2e8f0;
          color: #25364d;
          vertical-align: top;
        }

        body table tbody tr:nth-child(even) td {
          background: #f8fafc;
        }

        body table tbody tr:last-child td {
          border-bottom: 0;
        }

        body table tbody tr:hover td {
          background: #eef3f8;
        }

        body input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
        body select:focus,
        body textarea:focus {
          border-color: var(--ff-color-primary);
          outline: 2px solid rgba(29, 53, 87, 0.14);
          outline-offset: 0;
        }

        body input[readonly],
        body textarea[readonly],
        body select:disabled {
          background: #f8fafc;
          color: #25364d;
          border-color: #dce5ef;
        }

        body button {
          font-size: var(--ff-font-size-label);
          font-weight: var(--ff-font-weight-bold);
          line-height: 1.2;
        }

        body button:not(.pill):not(.ff-button-pill):not(.ff-tab):not(.nav-dropdown-button):not(.taak-tabknop):not(.taak-tabblad-bewerkknop):not(.taak-tabblad-annuleerknop) {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          width: auto;
          min-height: 0;
          padding: 6px 10px;
          border: 0;
          border-radius: var(--ff-radius-pill);
          background: var(--ff-color-pill);
          color: var(--ff-color-primary);
          white-space: nowrap;
          cursor: pointer;
        }

        body button:not(.pill):not(.ff-button-pill):not(.ff-tab):not(.nav-dropdown-button):not(.taak-tabknop):not(.taak-tabblad-bewerkknop):not(.taak-tabblad-annuleerknop):hover {
          background: var(--ff-color-pill-hover);
          color: var(--ff-color-primary);
        }

        body .pill,
        body button.pill,
        body a.pill,
        body .ff-button-pill {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          width: auto;
          min-width: 0;
          min-height: 0;
          margin: 0;
          padding: 6px 10px;
          border: 0;
          border-radius: var(--ff-radius-pill);
          background: var(--ff-color-pill);
          color: var(--ff-color-primary);
          font-size: var(--ff-font-size-label);
          font-weight: var(--ff-font-weight-bold);
          line-height: 1.2;
          text-decoration: none;
          white-space: nowrap;
          box-shadow: none;
          cursor: pointer;
        }

        body .pill:hover,
        body button.pill:hover,
        body a.pill:hover,
        body .ff-button-pill:hover {
          background: var(--ff-color-pill-hover);
          color: var(--ff-color-primary);
          text-decoration: none;
        }

        body .filterbar {
          display: flex;
          align-items: center;
          gap: var(--ff-space-2);
          flex-wrap: wrap;
          margin-top: var(--ff-space-3);
        }

        body .filterbar a {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          padding: 8px 12px;
          border-radius: var(--ff-radius-pill);
          background: var(--ff-color-pill);
          color: var(--ff-color-primary);
          font-size: var(--ff-font-size-label);
          font-weight: var(--ff-font-weight-bold);
          line-height: 1.2;
          text-decoration: none;
        }

        body .filterbar a:hover {
          background: var(--ff-color-pill-hover);
          text-decoration: none;
        }

        body table {
          width: 100%;
          margin-bottom: var(--ff-space-7);
          border: 1px solid var(--ff-color-border);
          border-collapse: separate;
          border-spacing: 0;
          border-radius: var(--ff-radius-card);
          background: var(--ff-color-surface);
          box-shadow: var(--ff-shadow-card);
          overflow: hidden;
        }

        body th,
        body td {
          padding: var(--ff-space-3);
          border-bottom: 1px solid var(--ff-color-border);
          font-size: var(--ff-font-size-body);
          line-height: var(--ff-line-height-body);
          text-align: left;
          vertical-align: top;
        }

        body th {
          background: var(--ff-color-primary);
          color: #ffffff;
          font-size: var(--ff-font-size-label);
          font-weight: var(--ff-font-weight-bold);
          line-height: 1.3;
          white-space: nowrap;
        }

        body tbody tr:last-child td {
          border-bottom: 0;
        }

        body tbody tr.clickable-row,
        body tbody tr.ff-clickable-row {
          cursor: pointer;
          transition: background 0.12s ease;
        }

        body tbody tr.clickable-row:hover,
        body tbody tr.ff-clickable-row:hover {
          background: var(--ff-color-hover);
        }

        body tbody tr.clickable-row .row-title,
        body tbody tr.ff-clickable-row .ff-row-title {
          color: var(--ff-color-primary);
          font-weight: var(--ff-font-weight-bold);
        }

        body tbody tr.clickable-row:hover .row-title,
        body tbody tr.ff-clickable-row:hover .ff-row-title {
          text-decoration: underline;
        }

        body tbody tr.clickable-row:focus,
        body tbody tr.clickable-row:focus-visible,
        body tbody tr.ff-clickable-row:focus,
        body tbody tr.ff-clickable-row:focus-visible {
          outline: none;
          box-shadow: none;
        }

        body .badge,
        body .ff-badge {
          display: inline-flex;
          align-items: center;
          padding: 4px 8px;
          border-radius: var(--ff-radius-pill);
          background: var(--ff-color-pill);
          color: var(--ff-color-primary);
          font-size: var(--ff-font-size-small);
          font-weight: var(--ff-font-weight-bold);
          line-height: 1.2;
          white-space: nowrap;
        }

        body code,
        body pre {
          font-family:
            ui-monospace,
            SFMono-Regular,
            Menlo,
            Monaco,
            Consolas,
            "Liberation Mono",
            monospace !important;
        }

        @media (max-width: 900px) {
          body {
            padding: var(--ff-space-5);
          }

          body h1 {
            font-size: 29px;
          }
        }

        @media (max-width: 700px) {
          body {
            padding: var(--ff-space-4);
          }

          body h1 {
            font-size: 27px;
          }

          body .card {
            padding: var(--ff-space-4);
          }

          body .card > h2:first-child {
            margin:
              calc(var(--ff-space-4) * -1)
              calc(var(--ff-space-4) * -1)
              var(--ff-space-4);
          }

          body th,
          body td {
            padding: 10px;
          }
        }


        /*
         * READONLY_LABEL_WAARDE_UITLIJNING_HELE_APP_V1
         *
         * In alleen-lezenstand blijven inputs technisch aanwezig.
         * De normale verticale invoerveldpadding en minimale hoogte
         * zorgden ervoor dat de waarde lager begon dan het label.
         */

        body form[inert] label,
        body .taak-centraal-beheerformulier[inert] label {
          justify-content: flex-start !important;
          align-items: stretch !important;
        }

        body form[inert]
        input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="button"]):not([type="submit"]),

        body form[inert] select,
        body form[inert] textarea,

        body .taak-centraal-beheerformulier[inert]
        input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="button"]):not([type="submit"]),

        body .taak-centraal-beheerformulier[inert] select,
        body .taak-centraal-beheerformulier[inert] textarea {
          display: block !important;
          width: 100% !important;
          min-height: 0 !important;
          height: auto !important;
          margin: 0 !important;
          padding-top: 0 !important;
          padding-bottom: 0 !important;
          line-height: var(--ff-line-height-body) !important;
          vertical-align: top !important;
        }

        body form[inert] textarea,
        body .taak-centraal-beheerformulier[inert] textarea {
          min-height: 0 !important;
          overflow: visible !important;
        }

        body form[inert] select,
        body .taak-centraal-beheerformulier[inert] select {
          padding-right: 0 !important;
        }

        body .taak-formulier-raster,
        body .ff-form-grid {
          align-items: start;
        }

        body .taak-formulier-raster > label,
        body .ff-form-grid > label {
          align-self: start;
        }


        /*
         * STIJLBOEK_READONLY_UITLIJNING_V1
         * Voorbeeldcomponent voor uitgelijnde leesgegevens.
         */
        .ff-readonly-example {
          display: grid;
          grid-template-columns:
            minmax(180px, 280px)
            minmax(0, 1fr);
          column-gap: 32px;
          row-gap: 22px;
          align-items: start;
        }

        .ff-readonly-example-label {
          margin: 0;
          padding: 0;
          color: var(--ff-color-text);
          font-size: var(--ff-font-size-label);
          font-weight: var(--ff-font-weight-bold);
          line-height: var(--ff-line-height-body);
        }

        .ff-readonly-example-value {
          min-width: 0;
          margin: 0;
          padding: 0;
          color: var(--ff-color-text);
          font-size: var(--ff-font-size-body);
          font-weight: var(--ff-font-weight-normal);
          line-height: var(--ff-line-height-body);
          overflow-wrap: anywhere;
        }

        @media (max-width: 700px) {
          .ff-readonly-example {
            grid-template-columns: 1fr;
            row-gap: 6px;
          }

          .ff-readonly-example-value {
            margin-bottom: 16px;
          }
        }


/* FF_HOOFDGROEP_TABMENU_TAAKPAGINA_V1 */
.assetgroep-top-tabs-wrap {
  margin: 0 0 24px 0;
  border-bottom: 1px solid #d8e0ea;
}
.assetgroep-top-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}
.assetgroep-top-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 16px;
  background: transparent;
  border: 1px solid transparent;
  color: #223a5e;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.assetgroep-top-tab:hover {
  background: #f1f5f9;
  color: #223a5e;
  text-decoration: none;
}
.assetgroep-top-tab.is-active {
  background: #223f6b;
  color: #ffffff;
  border-color: #223f6b;
}
.assetgroep-top-tab:focus,
.assetgroep-top-tab:active {
  outline: none;
  box-shadow: none;
}
.assetgroep-tab-section-hidden {
  display: none !important;
}


/* FF_HOOFDGROEP_TABMENU_ZICHTBAAR_V1 */
.assetgroep-tabmenu-card {
  padding: 0 20px;
  margin-bottom: 20px;
  overflow: visible;
}

.assetgroep-tabmenu-card .assetgroep-top-tabs {
  min-height: 72px;
  border-bottom: 1px solid
    var(--ff-border, #dce5ef);
}

.assetgroep-tabmenu-card .assetgroep-top-tab {
  margin: 8px 0;
}


/*
 * HOOFDGROEP_TABMENU_EXACT_TAAKSTIJL_V1
 *
 * Visuele opbouw gelijk aan het tabmenu op de
 * taakdetailpagina.
 */

.assetgroep-tabmenu-card {
  width: 100%;
  margin: 0 0 24px 0 !important;
  padding: 0 !important;
  border: 1px solid var(--ff-border, #dce5ef) !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.assetgroep-tabmenu-card .assetgroep-top-tabs {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
  box-sizing: border-box !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 7px !important;
  border: 0 !important;
  border-bottom: 1px solid
    var(--ff-border, #dce5ef) !important;
  background: #ffffff !important;
}

.assetgroep-tabmenu-card .assetgroep-top-tab {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 10px 20px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--ff-navy, #1f3b61) !important;
  box-shadow: none !important;
  font: inherit !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  transition:
    background-color 0.15s ease,
    color 0.15s ease !important;
}

.assetgroep-tabmenu-card
.assetgroep-top-tab:hover {
  background: var(--ff-row-hover, #f1f5f9) !important;
  color: var(--ff-navy, #1f3b61) !important;
  text-decoration: none !important;
}

.assetgroep-tabmenu-card
.assetgroep-top-tab.is-active,
.assetgroep-tabmenu-card
.assetgroep-top-tab[aria-current="page"] {
  background: var(--ff-navy, #1f3b61) !important;
  color: #ffffff !important;
}

.assetgroep-tabmenu-card
.assetgroep-top-tab.is-active:hover,
.assetgroep-tabmenu-card
.assetgroep-top-tab[aria-current="page"]:hover {
  background: var(--ff-navy, #1f3b61) !important;
  color: #ffffff !important;
}

.assetgroep-tabmenu-card
.assetgroep-top-tab:focus-visible {
  outline: 2px solid var(--ff-focus, #2563eb) !important;
  outline-offset: 2px !important;
}

@media (max-width: 700px) {
  .assetgroep-tabmenu-card .assetgroep-top-tabs {
    align-items: stretch !important;
    padding: 8px !important;
  }

  .assetgroep-tabmenu-card .assetgroep-top-tab {
    flex: 1 1 auto !important;
    min-height: 48px !important;
    padding: 0 14px !important;
  }
}


/*
 * HOOFDGROEP_ECHTE_TAAKTABS_V1
 *
 * Letterlijk dezelfde opbouw en maatvoering als
 * de tabcomponent op de taakdetailpagina.
 */

.hoofdgroep-taak-tabnavigatie {
  display: flex;
  align-items: center;
  gap: 4px !important;
  margin: 18px 0 0 !important;
  padding: 5px !important;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px 12px 0 0;
  background: white;
  scrollbar-width: thin;
}

.hoofdgroep-taak-tabknop {
  flex: 0 0 auto;
  padding: 10px 15px !important;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  white-space: nowrap;
  cursor: pointer;
}

.hoofdgroep-taak-tabknop:hover {
  background: #eef4f9;
}

.hoofdgroep-taak-tabknop.actief,
.hoofdgroep-taak-tabknop[aria-selected="true"] {
  background: var(--blue);
  color: white;
}

.hoofdgroep-taak-tabinhoud {
  min-height: 180px;
  padding: 24px 26px !important;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  background: #ffffff !important;
}

.hoofdgroep-taak-tabpaneel[hidden] {
  display: none !important;
}

.hoofdgroep-taak-tabpaneel {
  color: var(--text);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

.hoofdgroep-taak-tabpaneel > .card {
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hoofdgroep-taak-tabpaneel
> .card
> h2 {
  display: block !important;
  width: auto !important;
  margin: 0 0 22px 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--text) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  box-shadow: none !important;
}

.hoofdgroep-taak-tabpaneel
> .card
> h2::before,
.hoofdgroep-taak-tabpaneel
> .card
> h2::after {
  display: none !important;
}

@media (max-width: 700px) {
  .hoofdgroep-taak-tabinhoud {
    padding: 10px !important;
  }
}


/*
 * NIEUWE_VERPLICHTING_KNOP_RECHTS_STIJLBOEK_V2
 *
 * Zachte Faciliforce-actieknop, rechts uitgelijnd,
 * vergelijkbaar met de bediening Taak bewerken.
 */

.verplichting-toevoegen-details {
  width: 100% !important;
  margin: 18px 0 22px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.verplichting-toevoegen-details
> summary.verplichting-toevoegen-knop {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: max-content !important;
  min-height: 42px !important;
  margin: 0 0 0 auto !important;
  padding: 9px 16px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(
    --ff-button-soft,
    #edf2f7
  ) !important;
  color: var(
    --ff-navy,
    #1f3b61
  ) !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  list-style: none !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  user-select: none !important;
  transition:
    background-color 0.15s ease,
    transform 0.15s ease !important;
}

.verplichting-toevoegen-details
> summary.verplichting-toevoegen-knop::-webkit-details-marker {
  display: none !important;
}

.verplichting-toevoegen-details
> summary.verplichting-toevoegen-knop::marker {
  content: "" !important;
}

.verplichting-toevoegen-details
> summary.verplichting-toevoegen-knop:hover {
  background: var(
    --ff-row-hover,
    #e5edf6
  ) !important;
}

.verplichting-toevoegen-details
> summary.verplichting-toevoegen-knop:active {
  transform: translateY(1px);
}

.verplichting-toevoegen-details
> summary.verplichting-toevoegen-knop:focus-visible {
  outline: 2px solid
    var(--ff-focus, #2563eb) !important;
  outline-offset: 2px !important;
}

.verplichting-toevoegen-details[open]
> summary.verplichting-toevoegen-knop {
  background: var(
    --ff-navy,
    #1f3b61
  ) !important;
  color: #ffffff !important;
}

.verplichting-toevoegen-details[open]
> form {
  width: 100% !important;
  box-sizing: border-box !important;
  margin-top: 16px !important;
  padding: 20px !important;
  border: 1px solid
    var(--ff-border, #dce5ef) !important;
  border-radius: 12px !important;
  background: #ffffff !important;
}


/*
 * NIEUWE_VERPLICHTING_KNOP_OP_TITELHOOGTE_V1
 *
 * De actieknop staat rechtsboven op dezelfde hoogte
 * als de titel van hoofdgroep- en subgroepverplichtingen.
 */

.hoofdgroep-taak-tabpaneel
> .card,
#subgroep-verplichtingen {
  position: relative !important;
}

.hoofdgroep-taak-tabpaneel
> .card
> h2,
#subgroep-verplichtingen
> h2 {
  box-sizing: border-box !important;
  min-height: 42px !important;
  padding-right: 260px !important;
}

.hoofdgroep-taak-tabpaneel
> .card
> .verplichting-toevoegen-details,
#subgroep-verplichtingen
> .verplichting-toevoegen-details {
  position: static !important;
  margin-top: 18px !important;
}

.hoofdgroep-taak-tabpaneel
> .card
> .verplichting-toevoegen-details
> summary.verplichting-toevoegen-knop,
#subgroep-verplichtingen
> .verplichting-toevoegen-details
> summary.verplichting-toevoegen-knop {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  z-index: 2 !important;
  margin: 0 !important;
}

.hoofdgroep-taak-tabpaneel
> .card
> .verplichting-toevoegen-details[open]
> form,
#subgroep-verplichtingen
> .verplichting-toevoegen-details[open]
> form {
  position: relative !important;
  z-index: 1 !important;
}

@media (max-width: 760px) {
  .hoofdgroep-taak-tabpaneel
  > .card
  > h2,
  #subgroep-verplichtingen
  > h2 {
    padding-right: 0 !important;
  }

  .hoofdgroep-taak-tabpaneel
  > .card
  > .verplichting-toevoegen-details
  > summary.verplichting-toevoegen-knop,
  #subgroep-verplichtingen
  > .verplichting-toevoegen-details
  > summary.verplichting-toevoegen-knop {
    position: static !important;
    margin: 0 0 0 auto !important;
  }
}


/*
 * HOOFDGROEP_TABTITELS_COMPACTERE_AFSTAND_V1
 *
 * Compactere verticale afstand tussen de titel en
 * de eerste toelichtende tekst binnen alle hoofdgroeptabs.
 */

.hoofdgroep-taak-tabpaneel
> .card
> h2 {
  margin-bottom: 10px !important;
}

.hoofdgroep-taak-tabpaneel
> .card
> h2
+ p {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}

.hoofdgroep-taak-tabpaneel
> .card
> h2
+ .muted {
  margin-top: 0 !important;
}

.hoofdgroep-taak-tabpaneel
> .card
> p:first-of-type {
  margin-top: 0 !important;
}

#subgroepen
> h2,
#verplichtingen
> h2 {
  margin-bottom: 10px !important;
}

#subgroepen
> h2
+ p,
#verplichtingen
> h2
+ p {
  margin-top: 0 !important;
}

@media (max-width: 760px) {
  .hoofdgroep-taak-tabpaneel
  > .card
  > h2 {
    margin-bottom: 8px !important;
  }
}


/*
 * VERPLICHTINGEN_BROWSERREGELS_KLIKBAAR_V2
 */

.ff-verplichting-klikbare-regel {
  cursor: pointer !important;
  transition:
    background-color 0.15s ease,
    box-shadow 0.15s ease !important;
}

.ff-verplichting-klikbare-regel:hover {
  background:
    var(--ff-row-hover, #f4f8fc) !important;
}

.ff-verplichting-klikbare-regel:focus,
.ff-verplichting-klikbare-regel:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid
    var(--ff-focus, #2563eb) !important;
  outline-offset: -2px !important;
}

.ff-verplichting-klikbare-regel td {
  cursor: pointer !important;
}


/*
 * VERPLICHTINGEN_REGELS_DEFINITIEF_KLIKBAAR_V3
 */

.ff-verplichting-klikbare-regel {
  cursor: pointer !important;
  transition:
    background-color 0.15s ease,
    box-shadow 0.15s ease !important;
}

.ff-verplichting-klikbare-regel:hover {
  background:
    var(--ff-row-hover, #f4f8fc) !important;
}

.ff-verplichting-klikbare-regel:focus,
.ff-verplichting-klikbare-regel:focus-visible {
  position: relative !important;
  z-index: 1 !important;
  outline: 2px solid
    var(--ff-focus, #2563eb) !important;
  outline-offset: -2px !important;
}

.ff-verplichting-klikbare-regel td {
  cursor: pointer !important;
}


/*
 * VERPLICHTINGEN_REGELS_SERVER_SIDE_KLIKBAAR_V4
 *
 * Hoofdgroep- en subgroepverplichtingen worden direct
 * vanuit de server als volledig klikbare regels opgebouwd.
 */

.verplichting-klikbare-regel {
  cursor: pointer !important;
  transition:
    background-color 0.15s ease,
    box-shadow 0.15s ease !important;
}

.verplichting-klikbare-regel:hover {
  background:
    var(--ff-row-hover, #f4f8fc) !important;
}

.verplichting-klikbare-regel:focus,
.verplichting-klikbare-regel:focus-visible {
  position: relative !important;
  z-index: 1 !important;
  outline: 2px solid
    var(--ff-focus, #2563eb) !important;
  outline-offset: -2px !important;
}

.verplichting-klikbare-regel td {
  cursor: pointer !important;
}


/*
 * VERPLICHTINGEN_TAAKOVERZICHT_STIJL_UITKLAPPEN_V2
 *
 * Klikbare verplichtingenregels sluiten visueel aan op
 * het takenoverzicht en ondersteunen uitklapbare tekst.
 */

.verplichting-klikbare-regel {
  cursor: pointer !important;
  position: relative !important;
  transition:
    background-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease !important;
}

.verplichting-klikbare-regel:hover {
  background: #eef5ff !important;
  box-shadow:
    inset 4px 0 0 #1f5f9f,
    0 7px 22px rgba(31, 95, 159, 0.16) !important;
}

.verplichting-klikbare-regel:focus,
.verplichting-klikbare-regel:focus-visible {
  background: #eef5ff !important;
  box-shadow:
    inset 4px 0 0 #1f5f9f,
    0 0 0 2px rgba(31, 95, 159, 0.25) !important;
  outline: none !important;
}

.verplichting-klikbare-regel,
.verplichting-klikbare-regel *,
.verplichting-klikbare-regel:hover,
.verplichting-klikbare-regel:hover * {
  text-decoration: none !important;
}

.verplichting-klikbare-regel td {
  cursor: pointer !important;
}

.verplichting-omschrijving-kort {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  max-height: 6.4em;
}

.verplichting-omschrijving-volledig {
  display: block;
}

.verplichting-omschrijving-volledig[hidden],
.verplichting-omschrijving-kort[hidden] {
  display: none !important;
}

.verplichting-uitklapknop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid #c7d5e5;
  border-radius: 8px;
  background: #ffffff;
  color: #172f50;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer !important;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.verplichting-uitklapknop:hover {
  border-color: #8eabc9;
  background: #f7faff;
  box-shadow: 0 3px 10px rgba(31, 95, 159, 0.12);
}

.verplichting-uitklapknop:focus,
.verplichting-uitklapknop:focus-visible {
  outline: 2px solid rgba(31, 95, 159, 0.35);
  outline-offset: 2px;
}


/*
 * VERPLICHTINGEN_UITLIJNING_HOVER_PAGINABREEDTE_V1
 *
 * De verplichtingentabellen passen volledig binnen de pagina,
 * behouden de bestaande tekstgrootte en volgen de hoverstijl
 * van het takenoverzicht.
 */

.verplichtingen-overzicht-tabel {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: visible !important;
}

.verplichtingen-overzicht-tabel th,
.verplichtingen-overzicht-tabel td {
  min-width: 0 !important;
  max-width: none !important;
  vertical-align: top !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  hyphens: auto;
  text-decoration: none !important;
}

.verplichtingen-overzicht-tabel th:nth-child(1),
.verplichtingen-overzicht-tabel td:nth-child(1) {
  width: 6% !important;
}

.verplichtingen-overzicht-tabel th:nth-child(2),
.verplichtingen-overzicht-tabel td:nth-child(2) {
  width: 9% !important;
}

.verplichtingen-overzicht-tabel th:nth-child(3),
.verplichtingen-overzicht-tabel td:nth-child(3) {
  width: 54% !important;
}

.verplichtingen-overzicht-tabel th:nth-child(4),
.verplichtingen-overzicht-tabel td:nth-child(4) {
  width: 8% !important;
}

.verplichtingen-overzicht-tabel th:nth-child(5),
.verplichtingen-overzicht-tabel td:nth-child(5) {
  width: 7% !important;
}

.verplichtingen-overzicht-tabel th:nth-child(6),
.verplichtingen-overzicht-tabel td:nth-child(6) {
  width: 8% !important;
}

.verplichtingen-overzicht-tabel th:nth-child(7),
.verplichtingen-overzicht-tabel td:nth-child(7) {
  width: 8% !important;
}

.verplichtingen-overzicht-tabel
.verplichting-klikbare-regel {
  cursor: pointer !important;
}

.verplichtingen-overzicht-tabel
.verplichting-klikbare-regel > td {
  background: transparent;
  transition:
    background-color 0.16s ease,
    box-shadow 0.16s ease !important;
}

.verplichtingen-overzicht-tabel
.verplichting-klikbare-regel:hover > td {
  background: #eef5ff !important;
}

.verplichtingen-overzicht-tabel
.verplichting-klikbare-regel:hover > td:first-child {
  box-shadow:
    inset 4px 0 0 #1f5f9f !important;
}

.verplichtingen-overzicht-tabel
.verplichting-klikbare-regel:hover {
  filter:
    drop-shadow(
      0 7px 12px rgba(31, 95, 159, 0.16)
    );
}

.verplichtingen-overzicht-tabel
.verplichting-klikbare-regel:focus > td,
.verplichtingen-overzicht-tabel
.verplichting-klikbare-regel:focus-visible > td {
  background: #eef5ff !important;
}

.verplichtingen-overzicht-tabel
.verplichting-klikbare-regel:focus > td:first-child,
.verplichtingen-overzicht-tabel
.verplichting-klikbare-regel:focus-visible > td:first-child {
  box-shadow:
    inset 4px 0 0 #1f5f9f,
    inset 0 0 0 2px rgba(31, 95, 159, 0.20) !important;
}

.verplichtingen-overzicht-tabel
.verplichting-klikbare-regel,
.verplichtingen-overzicht-tabel
.verplichting-klikbare-regel *,
.verplichtingen-overzicht-tabel
.verplichting-klikbare-regel:hover,
.verplichtingen-overzicht-tabel
.verplichting-klikbare-regel:hover * {
  text-decoration: none !important;
}

.verplichtingen-overzicht-tabel
.row-title {
  padding-right: 22px !important;
}

.verplichtingen-overzicht-tabel
.verplichting-omschrijving-kort {
  display: -webkit-box;
  overflow: hidden !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  max-height: 6.4em;
  margin-top: 4px;
  font-weight: inherit !important;
}

.verplichtingen-overzicht-tabel
.verplichting-omschrijving-volledig {
  display: block;
  margin-top: 4px;
  font-weight: inherit !important;
}

.verplichtingen-overzicht-tabel
.verplichting-omschrijving-kort[hidden],
.verplichtingen-overzicht-tabel
.verplichting-omschrijving-volledig[hidden] {
  display: none !important;
}

.verplichtingen-overzicht-tabel
.verplichting-uitklapknop {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 0 !important;
  min-height: 42px;
  margin: 12px 0 0 !important;
  padding: 9px 14px !important;
  border: 1px solid #c7d5e5 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #172f50 !important;
  box-shadow: none !important;
  font: inherit !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.verplichtingen-overzicht-tabel
.verplichting-uitklapknop:hover {
  border-color: #8eabc9 !important;
  background: #f7faff !important;
  box-shadow:
    0 3px 10px rgba(31, 95, 159, 0.12) !important;
}

.verplichtingen-overzicht-tabel
.verplichting-uitklapknop:focus,
.verplichtingen-overzicht-tabel
.verplichting-uitklapknop:focus-visible {
  outline:
    2px solid rgba(31, 95, 159, 0.35) !important;
  outline-offset: 2px !important;
}

div:has(> .verplichtingen-overzicht-tabel),
.table-responsive:has(.verplichtingen-overzicht-tabel),
.table-wrapper:has(.verplichtingen-overzicht-tabel) {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
}

@media (max-width: 1100px) {
  .verplichtingen-overzicht-tabel th,
  .verplichtingen-overzicht-tabel td {
    padding-left: 9px !important;
    padding-right: 9px !important;
  }

  .verplichtingen-overzicht-tabel th:nth-child(1),
  .verplichtingen-overzicht-tabel td:nth-child(1) {
    width: 7% !important;
  }

  .verplichtingen-overzicht-tabel th:nth-child(2),
  .verplichtingen-overzicht-tabel td:nth-child(2) {
    width: 10% !important;
  }

  .verplichtingen-overzicht-tabel th:nth-child(3),
  .verplichtingen-overzicht-tabel td:nth-child(3) {
    width: 49% !important;
  }

  .verplichtingen-overzicht-tabel th:nth-child(4),
  .verplichtingen-overzicht-tabel td:nth-child(4) {
    width: 9% !important;
  }

  .verplichtingen-overzicht-tabel th:nth-child(5),
  .verplichtingen-overzicht-tabel td:nth-child(5) {
    width: 8% !important;
  }

  .verplichtingen-overzicht-tabel th:nth-child(6),
  .verplichtingen-overzicht-tabel td:nth-child(6) {
    width: 9% !important;
  }

  .verplichtingen-overzicht-tabel th:nth-child(7),
  .verplichtingen-overzicht-tabel td:nth-child(7) {
    width: 8% !important;
  }
}


/*
 * VERPLICHTINGEN_LAYOUT_HOVER_HERSTEL_V3
 *
 * Definitieve visuele override voor hoofdgroep- en
 * subgroepverplichtingen.
 */

.verplichtingen-overzicht-tabel {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: visible !important;
  font-size: inherit !important;
}

.verplichtingen-overzicht-tabel thead,
.verplichtingen-overzicht-tabel tbody,
.verplichtingen-overzicht-tabel tr {
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
}

.verplichtingen-overzicht-tabel th,
.verplichtingen-overzicht-tabel td {
  box-sizing: border-box !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  padding: 14px 12px !important;
  vertical-align: top !important;
  white-space: normal !important;
  overflow: visible !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  hyphens: auto !important;
  font-size: inherit !important;
  line-height: inherit !important;
  text-decoration: none !important;
}

.verplichtingen-overzicht-tabel th:nth-child(1),
.verplichtingen-overzicht-tabel td:nth-child(1) {
  width: 5% !important;
}

.verplichtingen-overzicht-tabel th:nth-child(2),
.verplichtingen-overzicht-tabel td:nth-child(2) {
  width: 8% !important;
}

.verplichtingen-overzicht-tabel th:nth-child(3),
.verplichtingen-overzicht-tabel td:nth-child(3) {
  width: 57% !important;
}

.verplichtingen-overzicht-tabel th:nth-child(4),
.verplichtingen-overzicht-tabel td:nth-child(4) {
  width: 8% !important;
}

.verplichtingen-overzicht-tabel th:nth-child(5),
.verplichtingen-overzicht-tabel td:nth-child(5) {
  width: 7% !important;
}

.verplichtingen-overzicht-tabel th:nth-child(6),
.verplichtingen-overzicht-tabel td:nth-child(6) {
  width: 8% !important;
}

.verplichtingen-overzicht-tabel th:nth-child(7),
.verplichtingen-overzicht-tabel td:nth-child(7) {
  width: 7% !important;
}

.verplichtingen-overzicht-tabel
.verplichting-klikbare-regel {
  cursor: pointer !important;
  outline: none !important;
}

.verplichtingen-overzicht-tabel
.verplichting-klikbare-regel > td {
  background-color: transparent !important;
  transition:
    background-color 0.16s ease,
    box-shadow 0.16s ease !important;
}

.verplichtingen-overzicht-tabel
.verplichting-klikbare-regel:hover > td,
.verplichtingen-overzicht-tabel
.verplichting-klikbare-regel:focus > td,
.verplichtingen-overzicht-tabel
.verplichting-klikbare-regel:focus-visible > td {
  background-color: #eef5ff !important;
  box-shadow:
    inset 0 1px 0 rgba(31, 95, 159, 0.18),
    inset 0 -1px 0 rgba(31, 95, 159, 0.18),
    0 8px 20px rgba(31, 95, 159, 0.10) !important;
}

.verplichtingen-overzicht-tabel
.verplichting-klikbare-regel:hover > td:first-child,
.verplichtingen-overzicht-tabel
.verplichting-klikbare-regel:focus > td:first-child,
.verplichtingen-overzicht-tabel
.verplichting-klikbare-regel:focus-visible > td:first-child {
  box-shadow:
    inset 4px 0 0 #1f5f9f,
    inset 0 1px 0 rgba(31, 95, 159, 0.18),
    inset 0 -1px 0 rgba(31, 95, 159, 0.18),
    0 8px 20px rgba(31, 95, 159, 0.10) !important;
}

.verplichtingen-overzicht-tabel
.verplichting-klikbare-regel,
.verplichtingen-overzicht-tabel
.verplichting-klikbare-regel *,
.verplichtingen-overzicht-tabel
.verplichting-klikbare-regel:hover,
.verplichtingen-overzicht-tabel
.verplichting-klikbare-regel:hover * {
  text-decoration: none !important;
}

.verplichtingen-overzicht-tabel
.row-title {
  min-width: 0 !important;
  padding-right: 18px !important;
}

.verplichtingen-overzicht-tabel
.verplichting-omschrijving-kort {
  display: -webkit-box !important;
  max-width: 100% !important;
  max-height: 6.4em !important;
  margin-top: 4px !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

.verplichtingen-overzicht-tabel
.verplichting-omschrijving-volledig {
  display: block !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  margin-top: 4px !important;
  overflow: visible !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

.verplichtingen-overzicht-tabel
.verplichting-omschrijving-kort[hidden],
.verplichtingen-overzicht-tabel
.verplichting-omschrijving-volledig[hidden] {
  display: none !important;
}

.verplichtingen-overzicht-tabel
.verplichting-uitklapknop {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 40px !important;
  margin: 12px 0 0 !important;
  padding: 8px 13px !important;
  border: 1px solid #c7d5e5 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #172f50 !important;
  box-shadow: none !important;
  font: inherit !important;
  font-size: inherit !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.verplichtingen-overzicht-tabel
.verplichting-uitklapknop:hover {
  border-color: #8eabc9 !important;
  background: #f7faff !important;
  color: #172f50 !important;
  box-shadow:
    0 3px 10px rgba(31, 95, 159, 0.12) !important;
}

.verplichtingen-overzicht-tabel
.verplichting-uitklapknop:focus,
.verplichtingen-overzicht-tabel
.verplichting-uitklapknop:focus-visible {
  outline:
    2px solid rgba(31, 95, 159, 0.35) !important;
  outline-offset: 2px !important;
}

.hoofdgroep-taak-tabpaneel,
.hoofdgroep-taak-tabpaneel > .card,
#verplichtingen,
#subgroep-verplichtingen {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

.hoofdgroep-taak-tabpaneel
.verplichtingen-overzicht-tabel,
#verplichtingen
.verplichtingen-overzicht-tabel,
#subgroep-verplichtingen
.verplichtingen-overzicht-tabel {
  overflow-x: visible !important;
  overflow-y: visible !important;
}

@media (max-width: 1200px) {
  .verplichtingen-overzicht-tabel th,
  .verplichtingen-overzicht-tabel td {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .verplichtingen-overzicht-tabel th:nth-child(1),
  .verplichtingen-overzicht-tabel td:nth-child(1) {
    width: 6% !important;
  }

  .verplichtingen-overzicht-tabel th:nth-child(2),
  .verplichtingen-overzicht-tabel td:nth-child(2) {
    width: 9% !important;
  }

  .verplichtingen-overzicht-tabel th:nth-child(3),
  .verplichtingen-overzicht-tabel td:nth-child(3) {
    width: 52% !important;
  }

  .verplichtingen-overzicht-tabel th:nth-child(4),
  .verplichtingen-overzicht-tabel td:nth-child(4) {
    width: 9% !important;
  }

  .verplichtingen-overzicht-tabel th:nth-child(5),
  .verplichtingen-overzicht-tabel td:nth-child(5) {
    width: 8% !important;
  }

  .verplichtingen-overzicht-tabel th:nth-child(6),
  .verplichtingen-overzicht-tabel td:nth-child(6) {
    width: 9% !important;
  }

  .verplichtingen-overzicht-tabel th:nth-child(7),
  .verplichtingen-overzicht-tabel td:nth-child(7) {
    width: 7% !important;
  }
}


/*
 * VERPLICHTINGEN_EXACT_TAAKOVERZICHT_STIJL_V1
 *
 * De verplichtingentabellen gebruiken dezelfde visuele basis
 * als het bestaande takenoverzicht.
 */

body .taken-overzicht-tabel.verplichtingen-overzicht-tabel {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-bottom: var(--ff-space-7) !important;
  border: 1px solid var(--ff-color-border) !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 12px !important;
  background: var(--ff-color-surface) !important;
  box-shadow: var(--ff-shadow-card) !important;
  table-layout: auto !important;
  overflow: hidden !important;
  font-size: inherit !important;
}

body .taken-overzicht-tabel.verplichtingen-overzicht-tabel thead,
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel tbody,
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel tr {
  width: auto !important;
  max-width: none !important;
  overflow: visible !important;
}

body .taken-overzicht-tabel.verplichtingen-overzicht-tabel th,
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel td {
  box-sizing: border-box !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  padding: var(--ff-space-3) !important;
  border-bottom: 1px solid var(--ff-color-border) !important;
  text-align: left !important;
  vertical-align: top !important;
  font-size: inherit !important;
  line-height: inherit !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  hyphens: none !important;
  text-decoration: none !important;
  filter: none !important;
}

body .taken-overzicht-tabel.verplichtingen-overzicht-tabel th {
  background: var(--ff-color-primary) !important;
  color: #ffffff !important;
  font-size: var(--ff-font-size-label) !important;
  font-weight: var(--ff-font-weight-bold) !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
  box-shadow: none !important;
}

body .taken-overzicht-tabel.verplichtingen-overzicht-tabel td {
  background: #ffffff !important;
  color: var(--ff-color-text) !important;
  white-space: normal !important;
  box-shadow: none !important;
}

body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
tbody tr.clickable-row {
  cursor: pointer !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
  transition: background 0.12s ease !important;
}

body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
tbody tr.clickable-row > td {
  background: #ffffff !important;
  box-shadow: none !important;
  transition: background 0.12s ease !important;
}

body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
tbody tr.clickable-row:hover,
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
tbody tr.clickable-row:focus,
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
tbody tr.clickable-row:focus-visible {
  background: var(--ff-color-hover, #f1f5f9) !important;
  box-shadow: none !important;
  filter: none !important;
  outline: none !important;
}

body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
tbody tr.clickable-row:hover > td,
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
tbody tr.clickable-row:focus > td,
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
tbody tr.clickable-row:focus-visible > td {
  background: var(--ff-color-hover, #f1f5f9) !important;
  box-shadow: none !important;
}

body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
tbody tr.clickable-row *,
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
tbody tr.clickable-row:hover * {
  text-decoration: none !important;
}

body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
th:nth-child(1),
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
td:nth-child(1) {
  white-space: nowrap !important;
}

body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
th:nth-child(2),
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
td:nth-child(2) {
  white-space: normal !important;
}

body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
th:nth-child(3),
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
td:nth-child(3) {
  width: 100% !important;
  min-width: 320px !important;
  max-width: 760px !important;
}

body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
th:nth-child(n+4),
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
td:nth-child(n+4) {
  white-space: normal !important;
}

body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
.verplichting-omschrijving-kort {
  display: block !important;
  max-width: 100% !important;
  max-height: none !important;
  margin-top: 4px !important;
  overflow: hidden !important;
  white-space: normal !important;
  line-height: 1.45 !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
}

body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
.verplichting-omschrijving-volledig {
  display: block !important;
  max-width: 100% !important;
  max-height: none !important;
  margin-top: 4px !important;
  overflow: visible !important;
  white-space: pre-wrap !important;
  overflow-wrap: anywhere !important;
  line-height: 1.5 !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}

body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
.verplichting-omschrijving-kort[hidden],
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
.verplichting-omschrijving-volledig[hidden] {
  display: none !important;
}

body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
button:not(.pill):not(.ff-button-pill) {
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  margin-top: 8px !important;
  padding: 4px 9px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  color: #1f2937 !important;
  box-shadow: none !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  appearance: none !important;
  cursor: pointer !important;
}

body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
button:not(.pill):not(.ff-button-pill):hover {
  border-color: #cbd5e1 !important;
  background: #ffffff !important;
  color: #1f2937 !important;
  box-shadow: none !important;
}

body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
thead tr:first-child th:first-child {
  border-top-left-radius: 12px !important;
}

body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
thead tr:first-child th:last-child {
  border-top-right-radius: 12px !important;
}

body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
tbody tr:last-child td:first-child {
  border-bottom-left-radius: 12px !important;
}

body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
tbody tr:last-child td:last-child {
  border-bottom-right-radius: 12px !important;
}

body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
tbody tr:last-child td {
  border-bottom: 0 !important;
}

.hoofdgroep-taak-tabpaneel,
.hoofdgroep-taak-tabpaneel > .card,
#subgroep-verplichtingen {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: visible !important;
}


/*
 * VERPLICHTINGEN_VOLLEDIGE_VAKBREEDTE_V1
 *
 * De verplichtingentabellen lopen, net als de reguliere
 * overzichtstabellen, volledig door tot de randen van het
 * inhoudsvak. De inhoud boven de tabel behoudt zijn uitlijning.
 */

/*
 * Hoofdgroeptab:
 * de tabinhoud heeft 10 px binnenruimte.
 */
body .hoofdgroep-taak-tabpaneel
.taken-overzicht-tabel.verplichtingen-overzicht-tabel {
  width: calc(100% + 20px) !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-right: -10px !important;
  margin-left: -10px !important;
}

/*
 * Subgroeppagina:
 * deze gebruikt de standaard kaartpadding van 20 px.
 */
body #subgroep-verplichtingen
.taken-overzicht-tabel.verplichtingen-overzicht-tabel {
  width: calc(100% + 40px) !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-right: -20px !important;
  margin-left: -20px !important;
}

/*
 * Geen extra ruimte onder of naast de tabelwrapper.
 */
body .hoofdgroep-taak-tabpaneel
.taken-overzicht-tabel.verplichtingen-overzicht-tabel,
body #subgroep-verplichtingen
.taken-overzicht-tabel.verplichtingen-overzicht-tabel {
  box-sizing: border-box !important;
  overflow: hidden !important;
}

/*
 * De rondingen blijven gelijk aan de overige overzichtstabellen.
 */
body .hoofdgroep-taak-tabpaneel
.taken-overzicht-tabel.verplichtingen-overzicht-tabel,
body #subgroep-verplichtingen
.taken-overzicht-tabel.verplichtingen-overzicht-tabel {
  border-radius: 12px !important;
}

/*
 * Op smalle schermen blijft de tabel binnen het zichtbare vlak.
 * De tekstgrootte wordt niet verkleind.
 */
@media (max-width: 900px) {
  body .hoofdgroep-taak-tabpaneel
  .taken-overzicht-tabel.verplichtingen-overzicht-tabel {
    width: calc(100% + 20px) !important;
    margin-right: -10px !important;
    margin-left: -10px !important;
  }

  body #subgroep-verplichtingen
  .taken-overzicht-tabel.verplichtingen-overzicht-tabel {
    width: calc(100% + 40px) !important;
    margin-right: -20px !important;
    margin-left: -20px !important;
  }
}


/*
 * VERPLICHTINGEN_ENKEL_KADER_EN_TAAKMENU_V1
 *
 * Eén buitenkader zoals op de taakdetailpagina.
 * De verplichtingentabel vormt geen tweede kaart.
 */

/* Buitenste tabscherm: gelijk aan de taakdetailpagina. */
body:has(.verplichtingen-overzicht-tabel)
.taak-tabinhoud {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  border: 1px solid var(--ff-color-border, #d9e2ec) !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: var(--ff-shadow-card, 0 10px 28px rgba(15, 23, 42, 0.06)) !important;
  overflow: hidden !important;
}

/* Menubalk: dezelfde vlakke witte navigatie als bij taken. */
body:has(.verplichtingen-overzicht-tabel)
.taak-tabnavigatie {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 7px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ff-color-border, #d9e2ec) !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

/* Niet-actieve tabs. */
body:has(.verplichtingen-overzicht-tabel)
.taak-tabknop {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 10px 20px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--ff-color-primary, #1f3d63) !important;
  box-shadow: none !important;
  font: inherit !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

/* Actieve tab. */
body:has(.verplichtingen-overzicht-tabel)
.taak-tabknop.actief,
body:has(.verplichtingen-overzicht-tabel)
.taak-tabknop.active,
body:has(.verplichtingen-overzicht-tabel)
.taak-tabknop[aria-selected="true"] {
  background: var(--ff-color-primary, #1f3d63) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

/* Hover op een niet-actieve tab. */
body:has(.verplichtingen-overzicht-tabel)
.taak-tabknop:not(.actief):not(.active):not([aria-selected="true"]):hover {
  background: #eef3f8 !important;
  color: var(--ff-color-primary, #1f3d63) !important;
}

/* Tabpaneel zelf heeft geen tweede kader. */
body:has(.verplichtingen-overzicht-tabel)
.taak-tabpaneel,
body:has(.verplichtingen-overzicht-tabel)
.hoofdgroep-taak-tabpaneel {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
  overflow: visible !important;
}

/*
 * Verplichtingentabel:
 * geen tweede kaart, rand, afronding of slagschaduw.
 */
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
  outline: 0 !important;
  overflow: visible !important;
}

/* Ook de tabelhoeken mogen geen eigen kaartafronding hebben. */
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
thead tr:first-child th:first-child,
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
thead tr:first-child th:last-child,
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
tbody tr:last-child td:first-child,
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
tbody tr:last-child td:last-child {
  border-radius: 0 !important;
}

/* Geen tweede witte kaart rond de tabelwrapper. */
body:has(.verplichtingen-overzicht-tabel)
.hoofdgroep-taak-tabpaneel > .card,
body:has(.verplichtingen-overzicht-tabel)
.taak-tabpaneel > .card,
body #subgroep-verplichtingen {
  max-width: 100% !important;
  min-width: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Bestaande klik-, hover- en uitklapopmaak blijft actief. */
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
tbody tr.clickable-row {
  text-decoration: none !important;
}


/*
 * VERPLICHTINGEN_TABEL_TOT_BUITENKADER_V1
 *
 * Alleen de tabel overspant de volledige binnenbreedte van het
 * buitenkader. De koppen en toelichting erboven behouden hun padding.
 */

body:has(.verplichtingen-overzicht-tabel)
.hoofdgroep-taak-tabpaneel
.taken-overzicht-tabel.verplichtingen-overzicht-tabel,
body:has(.verplichtingen-overzicht-tabel)
.taak-tabpaneel
.taken-overzicht-tabel.verplichtingen-overzicht-tabel,
body #subgroep-verplichtingen
.taken-overzicht-tabel.verplichtingen-overzicht-tabel {
  box-sizing: border-box !important;
  width: calc(100% + 48px) !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-right: -24px !important;
  margin-left: -24px !important;
}

/*
 * Het buitenste tabvak knipt de tabel netjes af op zijn eigen randen.
 */
body:has(.verplichtingen-overzicht-tabel)
.taak-tabinhoud {
  overflow: hidden !important;
}

/*
 * Geen oude breedtecorrecties mogen deze definitieve uitlijning
 * overschrijven.
 */
body .hoofdgroep-taak-tabpaneel
.taken-overzicht-tabel.verplichtingen-overzicht-tabel,
body #subgroep-verplichtingen
.taken-overzicht-tabel.verplichtingen-overzicht-tabel {
  width: calc(100% + 48px) !important;
  margin-right: -24px !important;
  margin-left: -24px !important;
}

/*
 * Op kleinere schermen blijft dezelfde tekstgrootte behouden.
 */
@media (max-width: 900px) {
  body:has(.verplichtingen-overzicht-tabel)
  .hoofdgroep-taak-tabpaneel
  .taken-overzicht-tabel.verplichtingen-overzicht-tabel,
  body:has(.verplichtingen-overzicht-tabel)
  .taak-tabpaneel
  .taken-overzicht-tabel.verplichtingen-overzicht-tabel,
  body #subgroep-verplichtingen
  .taken-overzicht-tabel.verplichtingen-overzicht-tabel {
    width: calc(100% + 48px) !important;
    margin-right: -24px !important;
    margin-left: -24px !important;
  }
}


/*
 * VERPLICHTINGEN_TAAKDETAIL_UITSTRALING_V1
 *
 * De verplichtingenweergave volgt de rustige witte
 * inhoudsopbouw van de taakdetailpagina.
 */

/* Geen zelfstandige kaartuitstraling meer op de tabel. */
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel {
  width: calc(100% + 48px) !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-right: -24px !important;
  margin-left: -24px !important;
  border: 0 !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
  outline: 0 !important;
  overflow: visible !important;
  table-layout: auto !important;
}

/* GEKOPPELDE_ASSETS_TABEL_UITLIJNING_V1 */
body:has(.hoofdgroep-taak-tabpaneel)
#gekoppelde-assets .table-wrap {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
}

body:has(.hoofdgroep-taak-tabpaneel)
#gekoppelde-assets table {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body:has(.hoofdgroep-taak-tabpaneel)
#gekoppelde-assets table th:first-child,
body:has(.hoofdgroep-taak-tabpaneel)
#gekoppelde-assets table td:first-child {
  padding-left: 18px !important;
}

body:has(.hoofdgroep-taak-tabpaneel)
#gekoppelde-assets .gekoppelde-assets-tabelblok {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: visible !important;
}

body:has(.hoofdgroep-taak-tabpaneel)
#gekoppelde-assets table.gekoppelde-assets-tabel {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  table-layout: fixed !important;
}

body:has(.hoofdgroep-taak-tabpaneel)
#gekoppelde-assets table.gekoppelde-assets-tabel th,
body:has(.hoofdgroep-taak-tabpaneel)
#gekoppelde-assets table.gekoppelde-assets-tabel td {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

body:has(.hoofdgroep-taak-tabpaneel)
#gekoppelde-assets .gekoppelde-assets-paginering {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 16px !important;
}

/* GEKOPPELDE_ASSETS_HEADERBREEDTE_V1 */
body:has(.hoofdgroep-taak-tabpaneel)
#gekoppelde-assets .gekoppelde-assets-tabelblok {
  width: calc(100% + 48px) !important;
  max-width: none !important;
  margin-left: -24px !important;
  margin-right: -24px !important;
  overflow-x: visible !important;
}

body:has(.hoofdgroep-taak-tabpaneel)
#gekoppelde-assets table.gekoppelde-assets-tabel {
  width: 100% !important;
  max-width: none !important;
}

body:has(.hoofdgroep-taak-tabpaneel)
#gekoppelde-assets table.gekoppelde-assets-tabel th:first-child,
body:has(.hoofdgroep-taak-tabpaneel)
#gekoppelde-assets table.gekoppelde-assets-tabel td:first-child {
  padding-left: 28px !important;
}

body:has(.hoofdgroep-taak-tabpaneel)
#gekoppelde-assets table.gekoppelde-assets-tabel th:last-child,
body:has(.hoofdgroep-taak-tabpaneel)
#gekoppelde-assets table.gekoppelde-assets-tabel td:last-child {
  padding-right: 28px !important;
}

/* Kopregel zoals een subtiele sectiekop op taakdetail. */
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel thead,
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel thead tr {
  background: #ffffff !important;
  color: var(--ff-color-text, #1f2937) !important;
  box-shadow: none !important;
}

body .taken-overzicht-tabel.verplichtingen-overzicht-tabel thead th {
  padding: 16px 18px !important;
  border-top: 1px solid var(--ff-color-border, #d9e2ec) !important;
  border-bottom: 1px solid var(--ff-color-border, #d9e2ec) !important;
  background: #ffffff !important;
  color: var(--ff-color-text, #1f2937) !important;
  box-shadow: none !important;
  font-size: inherit !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-align: left !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

/* Inhoudsregel volledig wit zoals op de taakdetailpagina. */
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel tbody,
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel tbody tr {
  background: #ffffff !important;
  box-shadow: none !important;
}

body .taken-overzicht-tabel.verplichtingen-overzicht-tabel tbody td {
  padding: 18px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ff-color-border, #d9e2ec) !important;
  background: #ffffff !important;
  color: var(--ff-color-text, #1f2937) !important;
  box-shadow: none !important;
  vertical-align: top !important;
  font-size: inherit !important;
  line-height: inherit !important;
  text-decoration: none !important;
}

/* Rustige hover zonder blauwe balk, zijlijn of slagschaduw. */
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
tbody tr.clickable-row {
  cursor: pointer !important;
  background: #ffffff !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
  transition: background-color 0.12s ease !important;
}

body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
tbody tr.clickable-row:hover,
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
tbody tr.clickable-row:focus,
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
tbody tr.clickable-row:focus-visible {
  background: #f7f9fc !important;
  box-shadow: none !important;
  filter: none !important;
  outline: none !important;
}

body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
tbody tr.clickable-row:hover > td,
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
tbody tr.clickable-row:focus > td,
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
tbody tr.clickable-row:focus-visible > td {
  background: #f7f9fc !important;
  box-shadow: none !important;
}

/* Oude blauwe lijnen en afgeronde tabelhoeken neutraliseren. */
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
thead tr:first-child th:first-child,
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
thead tr:first-child th:last-child,
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
tbody tr:last-child td:first-child,
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
tbody tr:last-child td:last-child {
  border-radius: 0 !important;
}

body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
tbody tr.clickable-row > td:first-child,
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
tbody tr.clickable-row:hover > td:first-child,
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
tbody tr.clickable-row:focus > td:first-child,
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
tbody tr.clickable-row:focus-visible > td:first-child {
  border-left: 0 !important;
  box-shadow: none !important;
}

/* Tekst en links blijven zonder onderstreping. */
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
tbody tr.clickable-row,
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
tbody tr.clickable-row * {
  text-decoration: none !important;
}

/* Titel en toelichting aansluiten op taakdetailtypografie. */
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
.verplichting-titel {
  color: var(--ff-color-text, #1f2937) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
.verplichting-omschrijving-kort,
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel
.verplichting-omschrijving-volledig {
  color: var(--ff-color-muted, #64748b) !important;
  font-size: inherit !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
}

/* Uitklapknop dezelfde compacte neutrale bediening behouden. */
body .taken-overzicht-tabel.verplichtingen-overzicht-tabel button {
  margin-top: 10px !important;
  padding: 4px 9px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  color: #1f2937 !important;
  box-shadow: none !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
}

/* Buitenste taakachtige tabkaart blijft het enige kader. */
body:has(.verplichtingen-overzicht-tabel) .taak-tabinhoud {
  border: 1px solid var(--ff-color-border, #d9e2ec) !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: var(
    --ff-shadow-card,
    0 10px 28px rgba(15, 23, 42, 0.06)
  ) !important;
  overflow: hidden !important;
}

/* Geen extra kaart of kader in het tabpaneel. */
body:has(.verplichtingen-overzicht-tabel) .taak-tabpaneel,
body:has(.verplichtingen-overzicht-tabel) .hoofdgroep-taak-tabpaneel,
body:has(.verplichtingen-overzicht-tabel) .taak-tabpaneel > .card,
body:has(.verplichtingen-overzicht-tabel) .hoofdgroep-taak-tabpaneel > .card,
body #subgroep-verplichtingen {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}


/*
 * HOOFDGROEP_SUBGROEPEN_ASSETS_TAAKDETAIL_STIJL_V1
 *
 * Subgroepen en Gekoppelde assets volgen dezelfde rustige
 * inhoudsopbouw als de taakdetailpagina en verplichtingen.
 */

/*
 * Alle inhoud binnen de hoofdgroeptabs gebruikt één buitenkader.
 * Binnenkaarten worden visueel geneutraliseerd.
 */
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel,
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel > .card {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

/*
 * Tabellen in alle drie de hoofdgroeptabs lopen volledig door
 * tot aan de horizontale randen van het buitenkader.
 */
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel table {
  box-sizing: border-box !important;
  width: calc(100% + 48px) !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-right: -24px !important;
  margin-left: -24px !important;
  border: 0 !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
  outline: 0 !important;
  overflow: visible !important;
  table-layout: auto !important;
}

/*
 * Witte kopregel met donkere tekst, zoals secties op taakdetail.
 */
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel table thead,
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel table thead tr {
  background: #ffffff !important;
  color: var(--ff-color-text, #1f2937) !important;
  box-shadow: none !important;
}

body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel table thead th {
  padding: 16px 18px !important;
  border-top: 1px solid var(--ff-color-border, #d9e2ec) !important;
  border-bottom: 1px solid var(--ff-color-border, #d9e2ec) !important;
  background: #ffffff !important;
  color: var(--ff-color-text, #1f2937) !important;
  box-shadow: none !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-align: left !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  text-decoration: none !important;
}

/*
 * Witte gegevensregels met subtiele horizontale scheidingslijnen.
 */
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel table tbody,
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel table tbody tr {
  background: #ffffff !important;
  box-shadow: none !important;
  filter: none !important;
}

body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel table tbody td {
  padding: 18px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ff-color-border, #d9e2ec) !important;
  background: #ffffff !important;
  color: var(--ff-color-text, #1f2937) !important;
  box-shadow: none !important;
  vertical-align: top !important;
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  hyphens: none !important;
  text-decoration: none !important;
}

/*
 * Klikbare subgroep- en assetregels krijgen dezelfde lichte hover
 * als de verplichtingenweergave.
 */
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel table tbody tr.clickable-row,
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel table tbody tr[data-href] {
  cursor: pointer !important;
  background: #ffffff !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
  transition: background-color 0.12s ease !important;
}

body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel table tbody tr.clickable-row:hover > td,
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel table tbody tr.clickable-row:focus > td,
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel table tbody tr.clickable-row:focus-visible > td,
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel table tbody tr[data-href]:hover > td,
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel table tbody tr[data-href]:focus > td,
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel table tbody tr[data-href]:focus-visible > td {
  background: #f7f9fc !important;
  box-shadow: none !important;
}

/* Geen blauwe zijlijn, gloed of afgeronde tabelhoeken. */
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel table
thead tr:first-child th:first-child,
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel table
thead tr:first-child th:last-child,
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel table
tbody tr:last-child td:first-child,
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel table
tbody tr:last-child td:last-child {
  border-radius: 0 !important;
}

body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel table
tbody tr > td:first-child,
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel table
tbody tr:hover > td:first-child {
  border-left: 0 !important;
  box-shadow: none !important;
}

/* Titels en links blijven donker en zonder onderstreping. */
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel table a,
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel table .row-title,
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel table strong {
  color: var(--ff-color-text, #1f2937) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel table a:hover {
  color: var(--ff-color-text, #1f2937) !important;
  text-decoration: none !important;
}

/* Statuspillen behouden hun compacte neutrale vorm. */
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel table .pill,
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel table .badge {
  white-space: nowrap !important;
  text-decoration: none !important;
}

/*
 * Eventuele kaarten met samenvattingen boven de tabel houden wel
 * hun inhoudspadding, maar krijgen geen tweede schaduw of rand.
 */
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel .card:not(:has(table)) {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Het buitenste tabvak blijft het enige zichtbare kader. */
body:has(.hoofdgroep-taak-tabpaneel)
.taak-tabinhoud {
  border: 1px solid var(--ff-color-border, #d9e2ec) !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: var(
    --ff-shadow-card,
    0 10px 28px rgba(15, 23, 42, 0.06)
  ) !important;
  overflow: hidden !important;
}


/*
 * HOOFDGROEP_TABMENU_HOEKAFRONDING_HERSTEL_V1
 *
 * Het hoofdgroepmenu sluit qua hoekafronding exact aan
 * op de tabkaart van de taakdetailpagina.
 */

/* Het complete tabonderdeel vormt één afgeronde kaart. */
body:has(.hoofdgroep-taak-tabpaneel)
.taak-tabinhoud {
  border-radius: 14px !important;
  overflow: hidden !important;
}

/* Menubalk volgt uitsluitend de bovenste kaartafronding. */
body:has(.hoofdgroep-taak-tabpaneel)
.taak-tabnavigatie {
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 7px !important;
  border-radius: 13px 13px 0 0 !important;
  overflow: hidden !important;
}

/* De actieve en niet-actieve tabknoppen zijn subtiel afgerond. */
body:has(.hoofdgroep-taak-tabpaneel)
.taak-tabknop {
  border-radius: 8px !important;
}

/* Actieve tab volgt dezelfde afronding als op taakdetail. */
body:has(.hoofdgroep-taak-tabpaneel)
.taak-tabknop.actief,
body:has(.hoofdgroep-taak-tabpaneel)
.taak-tabknop.active,
body:has(.hoofdgroep-taak-tabpaneel)
.taak-tabknop[aria-selected="true"] {
  border-radius: 8px !important;
}

/*
 * De eerste en laatste knop mogen nooit de buitenste
 * kaartafronding of navigatierand overschrijven.
 */
body:has(.hoofdgroep-taak-tabpaneel)
.taak-tabnavigatie > .taak-tabknop:first-child,
body:has(.hoofdgroep-taak-tabpaneel)
.taak-tabnavigatie > .taak-tabknop:last-child {
  border-radius: 8px !important;
}

/* Onderkant van de navigatie blijft recht aansluiten. */
body:has(.hoofdgroep-taak-tabpaneel)
.taak-tabnavigatie::before,
body:has(.hoofdgroep-taak-tabpaneel)
.taak-tabnavigatie::after {
  border-radius: 0 !important;
}

/* Tabpanelen zelf krijgen geen extra afronding bovenaan. */
body:has(.hoofdgroep-taak-tabpaneel)
.taak-tabpaneel,
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel {
  border-radius: 0 0 13px 13px !important;
}


/*
 * HOOFDGROEP_TABKADER_ONDERHOEKEN_RECHT_V1
 *
 * Alleen de bovenhoeken van het hoofdgroep-tabonderdeel
 * blijven afgerond. De onderzijde sluit recht af.
 */

body:has(.hoofdgroep-taak-tabpaneel)
.taak-tabinhoud {
  border-radius: 14px 14px 0 0 !important;
}

body:has(.hoofdgroep-taak-tabpaneel)
.taak-tabpaneel,
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel {
  border-radius: 0 !important;
}

body:has(.hoofdgroep-taak-tabpaneel)
.taak-tabpaneel:last-child,
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel:last-child {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

/* Ook eventuele binnenkaarten onderaan blijven recht. */
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel > .card,
body:has(.hoofdgroep-taak-tabpaneel)
.taak-tabpaneel > .card {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}


/*
 * HOOFDGROEP_INHOUD_BOVENHOEKEN_RECHT_V1
 *
 * Het inhoudsvak onder het hoofdgroepmenu heeft rondom
 * rechte hoeken en sluit vlak aan op de navigatie.
 */

body:has(.hoofdgroep-taak-tabpaneel)
.taak-tabinhoud {
  border-radius: 0 !important;
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

/*
 * Ook het zichtbare actieve paneel en eventuele binnenkaart
 * mogen aan de bovenzijde geen afronding tonen.
 */
body:has(.hoofdgroep-taak-tabpaneel)
.taak-tabpaneel,
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel,
body:has(.hoofdgroep-taak-tabpaneel)
.taak-tabpaneel > .card,
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel > .card {
  border-radius: 0 !important;
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}

/*
 * De bovenrand blijft zichtbaar, maar zonder afgeronde uitsparing.
 */
body:has(.hoofdgroep-taak-tabpaneel)
.taak-tabinhoud {
  overflow: hidden !important;
}


/*
 * HOOFDGROEP_SCHEIDINGSLIJN_AFSTAND_V1
 *
 * De inhoud begint dichter onder de scheidingslijn van het
 * hoofdgroepmenu. De zijpadding blijft ongewijzigd.
 */

body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel,
body:has(.hoofdgroep-taak-tabpaneel)
.taak-tabpaneel {
  padding-top: 14px !important;
}

/*
 * Een eventuele eerste kaart of sectie mag geen extra
 * bovenmarge boven op de paneelpadding toevoegen.
 */
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel > :first-child,
body:has(.hoofdgroep-taak-tabpaneel)
.taak-tabpaneel > :first-child {
  margin-top: 0 !important;
}

/*
 * De eerste titel in ieder tabblad sluit compact aan,
 * maar behoudt voldoende leesruimte.
 */
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel > h1:first-child,
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel > h2:first-child,
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel > h3:first-child {
  margin-top: 0 !important;
}


/*
 * HOOFDGROEP_MENULIJN_BREEDTE_GELIJK_V1
 *
 * De navigatie en het inhoudsvak gebruiken exact dezelfde
 * horizontale grens. De scheidingslijn steekt niet meer uit.
 */

body:has(.hoofdgroep-taak-tabpaneel)
.taak-tabnavigatie,
body:has(.hoofdgroep-taak-tabpaneel)
.taak-tabinhoud {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  transform: none !important;
  left: auto !important;
  right: auto !important;
}

/*
 * De scheidingslijn wordt uitsluitend door de menubalk getekend
 * en blijft binnen haar eigen box.
 */
body:has(.hoofdgroep-taak-tabpaneel)
.taak-tabnavigatie {
  position: relative !important;
  border-right: 0 !important;
  border-left: 0 !important;
  border-bottom:
    1px solid var(--ff-color-border, #d9e2ec) !important;
  background-clip: padding-box !important;
}

/*
 * Eventuele pseudo-elementen mogen de lijn niet buiten het vak
 * verlengen.
 */
body:has(.hoofdgroep-taak-tabpaneel)
.taak-tabnavigatie::before,
body:has(.hoofdgroep-taak-tabpaneel)
.taak-tabnavigatie::after {
  width: 0 !important;
  max-width: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  content: none !important;
}

/*
 * De inhoud direct onder de navigatie krijgt dezelfde nulmarges,
 * zodat beide randen exact boven elkaar liggen.
 */
body:has(.hoofdgroep-taak-tabpaneel)
.taak-tabinhoud {
  position: relative !important;
  border-top: 0 !important;
}


/*
 * VERPLICHTINGEN_KOP_LICHTBLAUW_V1
 * Lichtblauwe tabelkop zoals de hoverkleur.
 */
body:has(.hoofdgroep-taak-tabpaneel) .taak-tabinhoud table thead,
body:has(.hoofdgroep-taak-tabpaneel) .taak-tabinhoud table thead tr,
body:has(.hoofdgroep-taak-tabpaneel) .taak-tabinhoud table thead th {
  background: #eaf3ff !important;
  color: #1f2a3d !important;
}

body:has(.hoofdgroep-taak-tabpaneel) .taak-tabinhoud table thead th {
  border-bottom: 1px solid #d9e2ec !important;
  box-shadow: none !important;
}


/*
 * VERPLICHTINGEN_KOP_EXACT_HOVERKLEUR_V1
 *
 * De tabelkop gebruikt exact dezelfde achtergrondkleur
 * als het bestaande hover-effect van de gegevensregels.
 */
body:has(.hoofdgroep-taak-tabpaneel)
.taak-tabinhoud table thead,
body:has(.hoofdgroep-taak-tabpaneel)
.taak-tabinhoud table thead tr,
body:has(.hoofdgroep-taak-tabpaneel)
.taak-tabinhoud table thead th {
  background-color: #f7f9fc !important;
  background: #f7f9fc !important;
  color: #1f2937 !important;
}

body:has(.hoofdgroep-taak-tabpaneel)
.taak-tabinhoud table thead th {
  border-top: 1px solid #d9e2ec !important;
  border-bottom: 1px solid #d9e2ec !important;
  box-shadow: none !important;
}


/*
 * VERPLICHTINGEN_LEES_MEER_VOLLEDIG_ROND_V4
 *
 * De knoppen Lees meer en Lees minder krijgen een volledige
 * pilvorm bij hoofdgroepverplichtingen en subgroepen.
 */

body:has(.hoofdgroep-taak-tabpaneel)
button[data-lees-meer-patch-applied="1"],
body:has(.hoofdgroep-taak-tabpaneel)
a[data-lees-meer-patch-applied="1"],
body:has(.hoofdgroep-taak-tabpaneel)
.taak-tabinhoud button.lees-meer-volledig-rond,
body:has(.hoofdgroep-taak-tabpaneel)
.taak-tabinhoud a.lees-meer-volledig-rond {
  border-radius: 9999px !important;
}

/*
 * De pilvorm geldt in alle hoofdgroeptabbladen, waaronder
 * Hoofdgroepverplichtingen en Subgroepen.
 */
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel button.lees-meer-volledig-rond,
body:has(.hoofdgroep-taak-tabpaneel)
.hoofdgroep-taak-tabpaneel a.lees-meer-volledig-rond {
  border-radius: 9999px !important;
}


/*
 * GEDEELDE_LEESMEER_KNOPPEN_V2
 *
 * Eén gedeelde knopstijl voor de oorspronkelijke knoppen
 * bij Hoofdgroepverplichtingen en Subgroepen.
 */
body .verplichting-leesmeer-knop {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;

  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;

  margin-top: 8px !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  margin-left: 0 !important;

  padding: 2px 8px !important;

  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  box-shadow: none !important;

  color: #1f2937 !important;
  cursor: pointer !important;
  appearance: none !important;

  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

body .verplichting-leesmeer-knop:hover {
  background: #f7f9fc !important;
  border-color: #94a3b8 !important;
  color: #1f2937 !important;
}

body .verplichting-leesmeer-knop:focus-visible {
  outline: 2px solid #1e3a5f !important;
  outline-offset: 2px !important;
}


/*
 * VERPLICHTINGEN_INGEKLAPT_MAX_VIJF_REGELS_V1
 *
 * Ingeklapte omschrijvingen bij hoofdgroepverplichtingen
 * en subgroepverplichtingen tonen maximaal vijf regels.
 */
body [id^="verplichting-kort-hoofdgroep-"],
body [id^="verplichting-kort-subgroep-"] {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 5 !important;
  line-clamp: 5 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  max-height: calc(5 * 1.45em) !important;
}

/*
 * Het hidden-attribuut van de bestaande uitklapfunctie
 * blijft altijd leidend wanneer de volledige tekst openstaat.
 */
body [id^="verplichting-kort-hoofdgroep-"][hidden],
body [id^="verplichting-kort-subgroep-"][hidden] {
  display: none !important;
}


/*
 * VERPLICHTINGEN_MAX_VIJF_REGELS_V4
 *
 * Paginaspecifieke overschrijving met hogere specificiteit.
 * Zowel line-clamp als een vaste maximale hoogte worden gebruikt.
 */

/* Hoofdgroepverplichtingen — ingeklapte tekst. */
html body
.taak-tabinhoud
.hoofdgroep-taak-tabpaneel
table tbody tr td
span.muted.verplichting-omschrijving-kort[id^="verplichting-kort-hoofdgroep-"]:not([hidden]) {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 5 !important;
  line-clamp: 5 !important;

  line-height: 21px !important;
  height: auto !important;
  max-height: 105px !important;

  overflow: hidden !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
  text-overflow: ellipsis !important;
}

/* Subgroepen — ingeklapte tekst. */
html body
.taak-tabinhoud
.hoofdgroep-taak-tabpaneel
table tbody tr td
div[id^="subgroep-omschrijving-kort-"]:not([hidden]) {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 5 !important;
  line-clamp: 5 !important;

  line-height: 21px !important;
  height: auto !important;
  max-height: 105px !important;

  overflow: hidden !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
  text-overflow: ellipsis !important;
}

/* Hidden blijft leidend wanneer Lees meer wordt gebruikt. */
html body
.taak-tabinhoud
.hoofdgroep-taak-tabpaneel
table tbody tr td
span.muted.verplichting-omschrijving-kort[id^="verplichting-kort-hoofdgroep-"][hidden],
html body
.taak-tabinhoud
.hoofdgroep-taak-tabpaneel
table tbody tr td
div[id^="subgroep-omschrijving-kort-"][hidden] {
  display: none !important;
}


/*
 * HOOFDGROEPOMSCHRIJVING_EEN_ELEMENT_V3
 *
 * Eén tekstlaag voor de hoofdgroepverplichting.
 * De knop wijzigt uitsluitend de klasse is-ingeklapt.
 */
body .verplichting-omschrijving-eenvoudig {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 4px !important;

  color: var(--ff-color-muted, #64748b) !important;
  font-size: inherit !important;
  font-weight: 400 !important;
  line-height: 21px !important;

  overflow-wrap: anywhere !important;
  white-space: normal !important;
}

body .verplichting-omschrijving-eenvoudig.is-ingeklapt {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 5 !important;
  line-clamp: 5 !important;

  max-height: 105px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body .verplichting-omschrijving-eenvoudig:not(.is-ingeklapt) {
  display: block !important;
  max-height: none !important;
  overflow: visible !important;
  white-space: pre-wrap !important;
}


/*
 * LEESMEER_KNOPPEN_GELIJKE_BINNENRUIMTE_V1
 *
 * Hoofdgroepverplichtingen en subgroepen gebruiken exact
 * dezelfde compacte knopmaatvoering.
 */
body button.verplichting-leesmeer-knop,
body button.subgroep-uitklapknop.verplichting-leesmeer-knop {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  box-sizing: border-box !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;

  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;

  margin-top: 8px !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  margin-left: 0 !important;

  padding-top: 2px !important;
  padding-right: 8px !important;
  padding-bottom: 2px !important;
  padding-left: 8px !important;

  border-radius: 6px !important;

  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}



/* LEES_MEER_KNOPPEN_UNIFORM_V1_BEGIN */
/*
 * Uniforme compacte vormgeving voor alle knoppen waarmee
 * langere omschrijvingen worden geopend en gesloten.
 */
body button.verplichting-leesmeer-knop,
body button.subgroep-uitklapknop,
body .verplichting-leesmeer-knop,
body .subgroep-uitklapknop {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 4px 9px !important;
  margin: 8px 0 0 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  color: #1f2937 !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  cursor: pointer !important;
  appearance: none !important;
}

body button.verplichting-leesmeer-knop:hover,
body button.subgroep-uitklapknop:hover,
body .verplichting-leesmeer-knop:hover,
body .subgroep-uitklapknop:hover {
  border-color: #94a3b8 !important;
  background: #f8fafc !important;
  color: #1e293b !important;
}

body button.verplichting-leesmeer-knop:focus-visible,
body button.subgroep-uitklapknop:focus-visible,
body .verplichting-leesmeer-knop:focus-visible,
body .subgroep-uitklapknop:focus-visible {
  outline: 2px solid #2563eb !important;
  outline-offset: 2px !important;
}
/* LEES_MEER_KNOPPEN_UNIFORM_V1_END */

/* HOOFDGROEP_LEESMEER_ZELFDE_OPMAAK_V1_BEGIN */
/*
 * Hoofdgroepverplichtingen gebruiken in ingeklapte en
 * uitgeklapte toestand exact hetzelfde tekstblok en dezelfde
 * witregel- en alineaweergave. Alleen de zichtbare hoogte wijzigt.
 */
body .verplichting-omschrijving-eenvoudig {
  display: block !important;
  white-space: pre-line !important;
  line-height: 1.5 !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

body .verplichting-omschrijving-eenvoudig.is-ingeklapt {
  display: block !important;
  max-height: 7.5em !important;
  overflow: hidden !important;
  white-space: pre-line !important;
  text-overflow: clip !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
}

body .verplichting-omschrijving-eenvoudig:not(.is-ingeklapt) {
  display: block !important;
  max-height: none !important;
  overflow: visible !important;
  white-space: pre-line !important;
}
/* HOOFDGROEP_LEESMEER_ZELFDE_OPMAAK_V1_END */

/* HOOFDGROEP_TITEL_TEKST_AFSTAND_V2_BEGIN */
body .verplichting-omschrijving-eenvoudig {
  display: block !important;
  margin: 6px 0 0 !important;
  padding: 0 !important;
}
/* HOOFDGROEP_TITEL_TEKST_AFSTAND_V2_END */



        /* FF_UNIFORME_TABSECTIES_V3 */
        body .ff-uniforme-tabsectie {
          box-sizing: border-box !important;
        }

        body .ff-uniforme-tabsectie > .ff-tabsectie-kop {
          display: flex !important;
          align-items: flex-start !important;
          justify-content: space-between !important;
          gap: 24px !important;
          width: 100% !important;
          margin: 0 0 22px 0 !important;
          padding: 0 !important;
        }

        body .ff-tabsectie-tekst {
          flex: 1 1 auto !important;
          min-width: 0 !important;
          max-width: none !important;
        }

        body .ff-tabsectie-titel {
          margin: 0 0 8px 0 !important;
          padding: 0 !important;
          color: var(--ff-color-text, #1f2937) !important;
          font-family: inherit !important;
          font-size: 30px !important;
          font-weight: 800 !important;
          line-height: 1.2 !important;
          letter-spacing: 0 !important;
        }

        body .ff-tabsectie-toelichting,
        body .ff-tabsectie-extra,
        body .ff-tabsectie-meta {
          max-width: none !important;
          margin: 0 !important;
          padding: 0 !important;
          font-family: inherit !important;
          font-size: 19px !important;
          line-height: 1.45 !important;
          letter-spacing: 0 !important;
        }

        body .ff-tabsectie-toelichting {
          color: #64748b !important;
          font-weight: 400 !important;
        }

        body .ff-tabsectie-extra {
          margin-top: 14px !important;
          color: var(--ff-color-text, #1f2937) !important;
          font-weight: 400 !important;
        }

        body .ff-tabsectie-meta {
          margin-top: 18px !important;
          color: #64748b !important;
          font-weight: 400 !important;
        }

        body .ff-tabsectie-actie {
          flex: 0 0 auto !important;
          align-self: flex-start !important;
          margin: 0 !important;
          white-space: nowrap !important;
        }

        body .ff-uniforme-tabsectie > h2,
        body .ff-uniforme-tabsectie > p,
        body .ff-uniforme-tabsectie > .muted {
          margin-top: 0 !important;
        }

        @media (max-width: 760px) {
          body .ff-uniforme-tabsectie > .ff-tabsectie-kop {
            flex-direction: column !important;
            gap: 14px !important;
          }

          body .ff-tabsectie-titel {
            font-size: 26px !important;
          }

          body .ff-tabsectie-toelichting,
          body .ff-tabsectie-extra,
          body .ff-tabsectie-meta {
            font-size: 17px !important;
          }

          body .ff-tabsectie-actie {
            align-self: flex-start !important;
          }
        }


/* Central save toolbar: title and action wrap together on narrow screens. */
div:has(> h1):has(#pagina-opslaan),div:has(> h1):has(#taak-hoofd-bewerkknop){margin-bottom:20px;}

@media(max-width:640px){
  div:has(> h1):has(#pagina-opslaan),
  div:has(> h1):has(#taak-hoofd-bewerkknop){flex-wrap:wrap!important;gap:12px!important;min-width:0;}
  div:has(> h1):has(#pagina-opslaan)>h1,
  div:has(> h1):has(#taak-hoofd-bewerkknop)>h1{flex:1 1 100%;min-width:0;overflow-wrap:anywhere;}
  #pagina-opslaan,#taak-hoofd-bewerkknop{max-width:100%;white-space:normal;flex-shrink:0;}
}


        /*
         * FINANCIEEL_RUWE_LEESWAARDEN_VERBORGEN_V1
         *
         * Alleen de oorspronkelijke numerieke invoervelden
         * worden in financiële leesstand uit de layout gehaald.
         * De door JavaScript geformatteerde leeswaarden blijven staan.
         */

        body
        .taak-financieel-hoofdkaart
        form[action$="/tab/financieel"]
        [data-financieel-alleen-lezen="true"]
        input[data-ff-geformatteerde-leeswaarde="true"],

        body
        .taak-financieel-hoofdkaart
        form[action$="/tab/financieel"][data-financieel-alleen-lezen="true"]
        input[data-ff-geformatteerde-leeswaarde="true"] {
          display: none !important;
          position: absolute !important;
          width: 0 !important;
          min-width: 0 !important;
          max-width: 0 !important;
          height: 0 !important;
          min-height: 0 !important;
          max-height: 0 !important;
          margin: 0 !important;
          padding: 0 !important;
          border: 0 !important;
          opacity: 0 !important;
          overflow: hidden !important;
          pointer-events: none !important;
        }

        /*
         * In bewerkstand wordt het echte invoerveld altijd hersteld
         * en blijft de extra leeswaarde verborgen.
         */
        body
        .taak-financieel-hoofdkaart
        form[action$="/tab/financieel"][data-financieel-alleen-lezen="false"]
        input[data-ff-geformatteerde-leeswaarde="true"] {
          display: block !important;
          position: static !important;
          width: 100% !important;
          min-width: 0 !important;
          max-width: none !important;
          height: 46px !important;
          min-height: 46px !important;
          max-height: none !important;
          margin: 0 !important;
          padding: 10px 12px !important;
          opacity: 1 !important;
          overflow: visible !important;
          pointer-events: auto !important;
        }

        body
        .taak-financieel-hoofdkaart
        form[action$="/tab/financieel"][data-financieel-alleen-lezen="false"]
        .ff-financieel-leeswaarde {
          display: none !important;
        }
      

        /*
         * FINANCIEEL_PRIJSBRON_HANDMATIG_RECHTS_V1
         *
         * Alleen in leesstand wordt de gekozen prijsbron
         * rechts uitgelijnd binnen dezelfde waardekolom.
         */

        body
        .taak-financieel-hoofdkaart
        form[action$="/tab/financieel"]
        [data-financieel-alleen-lezen="true"]
        select[name="prijsbron"],

        body
        .taak-financieel-hoofdkaart
        form[action$="/tab/financieel"]
        select[name="prijsbron"]:disabled,

        body
        .taak-financieel-hoofdkaart
        form[action$="/tab/financieel"][inert]
        select[name="prijsbron"] {
          display: block !important;
          justify-self: stretch !important;
          width: 100% !important;
          min-width: 0 !important;
          max-width: none !important;
          margin: 0 !important;
          padding-left: 0 !important;
          padding-right: 0 !important;
          text-align: right !important;
          text-align-last: right !important;
          direction: ltr !important;
          box-sizing: border-box !important;
        }

        /*
         * In bewerkstand blijft de normale invoeruitlijning behouden.
         */
        body
        .taak-financieel-hoofdkaart
        form[action$="/tab/financieel"]
        [data-financieel-alleen-lezen="false"]
        select[name="prijsbron"] {
          text-align: left !important;
          text-align-last: left !important;
        }
      

        /*
         * FINANCIEEL_UPLOADKNOPPEN_EXTRA_VERTICAL_SPACING_V1
         *
         * Extra ruimte boven en onder de offerte- en
         * factuuruploadknoppen.
         */

        .taak-financieel-hoofdkaart
        [data-offerte-upload-knop="true"],

        .taak-financieel-hoofdkaart
        [data-factuur-upload-knop="true"] {
          margin-top: 14px !important;
          margin-bottom: 20px !important;
        }

        /*
         * Ook wanneer de uploadknop binnen een eigen kaart
         * of formulierregel staat, blijft er voldoende ruimte.
         */
        .taak-financieel-hoofdkaart
        .taak-offerte-uploadkaart-js
        .taak-formulier-acties,

        .taak-financieel-hoofdkaart
        .taak-factuur-uploadkaart-js
        .taak-formulier-acties {
          margin-top: 14px !important;
          margin-bottom: 20px !important;
        }
      

        /* NAV_INRICHTING_RESPONSIVE_V2 */
        .nav-dropdown { position: relative !important; min-width: 0 !important; }
        .nav-dropdown-menu {
          left: auto !important;
          right: 0 !important;
          width: min(480px, calc(100vw - 32px)) !important;
          min-width: 0 !important;
          max-width: calc(100vw - 32px) !important;
          max-height: var(--nav-menu-height, 60vh) !important;
          overflow-x: hidden !important;
          overflow-y: auto !important;
          overscroll-behavior: contain;
          box-sizing: border-box !important;
          white-space: normal !important;
          z-index: 10000 !important;
          grid-template-columns: repeat(2, minmax(0, 1fr));
          gap: 4px;
        }
        .nav-dropdown.is-open .nav-dropdown-menu { display: grid; }
        .nav-dropdown-menu a {
          display: flex;
          align-items: center;
          min-height: 44px;
          width: 100% !important;
          min-width: 0 !important;
          box-sizing: border-box !important;
          white-space: normal !important;
          overflow-wrap: anywhere !important;
          word-break: normal !important;
        }
        @media (max-width: 640px) {
          body .nav .nav-dropdown { flex-basis: 100%; width: 100%; }
          .nav-dropdown-button { min-height: 44px; }
          .nav-dropdown-menu {
            position: static !important;
            width: 100% !important;
            max-width: 100% !important;
            max-height: none !important;
            margin-top: 8px;
            overflow: visible !important;
            box-shadow: none;
          }
        }
        @media (max-width: 380px) {
          .nav-dropdown-menu { grid-template-columns: minmax(0, 1fr); }
        }
