:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #233b35;
  background: #f6f7f5;
  font-size: 14px;
  --green: #17624f;
  --line: #dce4df;
  --muted: #64756d;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 10px 15px;
  background: var(--green);
  color: white;
  font-weight: 600;
  line-height: 1.35;
}
button:hover {
  filter: brightness(0.96);
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
.secondary {
  color: #35564a;
  background: white;
  border-color: var(--line);
}
a {
  color: var(--green);
}
p {
  line-height: 1.5;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1 {
  font-size: 30px;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
h2 {
  font-size: 21px;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 16px;
}
.topbar {
  height: 72px;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  color: #234d40;
}
.brand-mark {
  background: var(--green);
  color: white;
  border-radius: 9px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}
.account {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}
.app-shell {
  display: flex;
  min-height: calc(100vh - 112px);
}
aside {
  width: 220px;
  flex-shrink: 0;
  border-right: 1px solid var(--line);
  padding: 34px 16px;
  background: #f0f3ef;
}
.nav-label,
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 750;
  color: var(--muted);
  margin-bottom: 13px;
}
aside .nav-label {
  padding-left: 12px;
}
nav {
  display: grid;
  gap: 5px;
}
nav button {
  color: #53675c;
  background: transparent;
  text-align: left;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 12px;
}
nav button[aria-current] {
  color: #174d3b;
  background: #dfeae1;
}
nav button span + span {
  font-size: 11px;
  min-width: 20px;
  text-align: center;
}
.sidebar-note {
  margin: 80px 12px 0;
  font-size: 12px;
  color: var(--muted);
}
.sidebar-note strong {
  color: #365546;
}
.sidebar-note p {
  margin-top: 8px;
}
main {
  min-width: 0;
  flex: 1;
  padding: 24px 34px 50px;
}
.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
#summary {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 0;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}
.metrics button {
  background: white;
  color: #52665c;
  text-align: left;
  padding: 18px 22px;
  border-color: var(--line);
  font-weight: 500;
}
.metrics strong {
  display: block;
  font-size: 30px;
  line-height: 1.2;
  color: #204e3b;
  margin-top: 10px;
  font-weight: 650;
}
.metrics button[aria-pressed="true"] {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green);
}
.metrics button:nth-child(2) strong,
.metrics button:nth-child(3) strong {
  color: #9a6133;
}
.view-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}
.view-toolbar p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  text-align: right;
}
.view-switch {
  display: flex;
  background: #e9eee8;
  padding: 3px;
  border-radius: 8px;
}
.view-switch button {
  background: transparent;
  color: #596c62;
  border-radius: 5px;
  padding: 7px 18px;
  font-size: 13px;
}
.view-switch button[aria-pressed="true"] {
  background: white;
  color: #274e3e;
  box-shadow: 0 1px 3px #0001;
}
.filterbar {
  display: flex;
  gap: 10px;
  align-items: center;
}
.filterbar label {
  margin: 0;
}
.search-label {
  flex: 1;
}
.filterbar input,
.filterbar select {
  margin: 0;
  height: 40px;
  background: white;
}
.filterbar .secondary {
  font-size: 12px;
  white-space: nowrap;
}
.extra-filters {
  margin: 14px 0;
  color: var(--muted);
  font-size: 12px;
}
.extra-filters summary {
  cursor: pointer;
  width: fit-content;
}
.filters {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  align-items: center;
}
.filters label {
  margin: 0;
  flex: 1;
}
.table-wrap {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow-x: auto;
  background: white;
}
.commitment-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}
.commitment-table th {
  background: #edf2ec;
  color: #607265;
  font-weight: 600;
  padding: 12px 16px;
  white-space: nowrap;
}
.commitment-table td {
  padding: 17px 16px;
  border-top: 1px solid #e6ebe6;
  vertical-align: top;
  line-height: 1.5;
}
.commitment-table tr:hover td {
  background: #fafcf9;
}
.commitment-table th:first-child {
  width: 43%;
}
.commitment-table td:first-child {
  min-width: 290px;
}
.commitment-title,
.backlog-title {
  display: block;
  padding: 0;
  background: none;
  color: #244c3c;
  text-align: left;
  border: 0;
  font-weight: 650;
  line-height: 1.55;
  font-size: 13px;
}
.commitment-title:hover,
.backlog-title:hover {
  text-decoration: underline;
}
.next-preview {
  color: #65766a;
  margin: 5px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12px;
}
.attention-text {
  font-size: 10px;
  color: #9b5a30;
  display: inline-block;
  margin-top: 6px;
}
.badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 650;
  padding: 4px 8px;
  border-radius: 5px;
  white-space: nowrap;
}
.open {
  background: #edf0ec;
  color: #596d5b;
}
.bezig {
  background: #e6f0f8;
  color: #3d6684;
}
.geblokkeerd {
  background: #fbebdf;
  color: #965b2f;
}
.afgerond {
  background: #dfefe5;
  color: #316d4a;
}
.parts-button {
  padding: 0;
  font-size: 11px;
  color: #516b5d;
  background: none;
  white-space: nowrap;
  border-bottom: 1px dotted #a7b8aa;
  border-radius: 0;
}
.date-cell {
  white-space: nowrap;
}
.date-cell small,
.card-footer small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.overdue {
  color: #ab473d;
}
.list-footnote {
  font-size: 11px;
  color: var(--muted);
  margin-top: 15px;
}
.board {
  display: grid;
  grid-template-columns: repeat(4, minmax(215px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
}
.board-column {
  background: #edf1eb;
  border-radius: 10px;
  padding: 13px;
  min-height: 250px;
}
.board-column h2 {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
}
.board-column h2 > span:last-child {
  margin-left: auto;
  color: var(--muted);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.status-dot.open {
  background: #8d9e89;
}
.status-dot.bezig {
  background: #6b95b5;
}
.status-dot.geblokkeerd {
  background: #c58c52;
}
.status-dot.afgerond {
  background: #609779;
}
.board-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 12px;
}
.project-label {
  color: #687e69;
  font-size: 10px;
  font-weight: 650;
  margin-bottom: 10px;
}
.card-owner {
  font-size: 11px;
  color: #647668;
  margin: 18px 0 10px;
}
.card-footer {
  border-top: 1px solid #edf0eb;
  padding-top: 10px;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  gap: 7px;
  flex-wrap: wrap;
}
.board-empty {
  font-size: 12px;
  color: #7c8b7d;
  text-align: center;
  padding: 30px 0;
}
.empty {
  background: white;
  padding: 55px 25px;
  text-align: center;
  border: 1px dashed #cad7ca;
  border-radius: 10px;
}
.empty p {
  color: var(--muted);
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #4e6557;
  margin-bottom: 16px;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  border: 1px solid #cad6cc;
  border-radius: 6px;
  padding: 10px 11px;
  margin-top: 7px;
  color: #283f32;
  background: white;
}
textarea {
  resize: vertical;
  line-height: 1.5;
}
input[type="checkbox"] {
  width: auto;
  display: inline-block;
  margin-right: 8px;
}
.checklabel {
  display: flex;
  align-items: center;
}
.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.help,
.meta {
  font-size: 12px;
  color: var(--muted);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  width: min(760px, 94vw);
  max-height: 92dvh;
  box-shadow: 0 20px 90px #1232;
}
dialog::backdrop {
  background: #172d294d;
  backdrop-filter: blur(2px);
}
dialog.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  height: 100dvh;
  max-height: 100dvh;
  width: min(660px, 100vw);
  padding: 0;
}
.drawer form {
  padding: 24px 30px;
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.drawer-head h2 {
  margin-bottom: 0;
}
.drawer-head .eyebrow {
  margin-bottom: 6px;
}
.drawer-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin: 26px 0 22px;
}
.drawer-tabs button {
  border-radius: 0;
  background: none;
  color: var(--muted);
  font-size: 12px;
  padding: 0 0 12px;
}
.drawer-tabs button[aria-pressed="true"] {
  color: var(--green);
  border-bottom: 2px solid var(--green);
}
.next-action {
  background: #f0f5ef;
  border: 1px solid #d9e6d7;
  border-radius: 8px;
  padding: 16px;
  margin: 0 0 18px;
}
.next-action label:last-child {
  margin: 0;
}
.detail-actions {
  display: flex;
  gap: 10px;
  margin: 20px 0 12px;
}
.detail-actions button {
  font-size: 12px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 24px;
}
.drawer-footer {
  position: sticky;
  bottom: -24px;
  background: white;
  border-top: 1px solid var(--line);
  padding: 16px 0;
  margin-bottom: -24px;
}
.drawer-footer span {
  font-size: 11px;
  color: var(--muted);
}
#message:empty,
#formError:empty,
#briefingMessage:empty,
#backlogError:empty {
  display: none;
}
#message,
#formError,
#backlogError {
  color: #995139;
}
#briefingMessage {
  color: var(--green);
}
.voice {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 12px;
  color: var(--muted);
}
.audit {
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  padding: 12px 0;
  overflow-wrap: anywhere;
}
.audit p {
  margin: 8px 0;
  color: var(--muted);
}
.backlog-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
}
.backlog-item h4 {
  margin-bottom: 8px;
}
.backlog-item p {
  font-size: 12px;
}
.backlog-item .meta {
  font-size: 11px;
}
#backlogForm {
  border-top: 1px solid var(--line);
  margin-top: 25px;
  padding-top: 25px;
}
#attachments {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 20px;
}
.candidate {
  border: 1px solid var(--line);
  padding: 12px;
  margin: 10px 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
footer {
  padding: 14px 30px;
  color: #849184;
  font-size: 10px;
  border-top: 1px solid var(--line);
}
#login,
#consent {
  max-width: 440px;
  margin: 65px auto;
  background: white;
  border: 1px solid var(--line);
  padding: 35px;
  border-radius: 12px;
}
@media (min-width: 1600px) {
  main {
    padding-left: 50px;
    padding-right: 50px;
  }
  .commitment-table td {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}
@media (max-width: 1000px) {
  aside {
    width: 180px;
    padding-inline: 10px;
  }
  main {
    padding: 24px 20px;
  }
  .heading {
    align-items: flex-start;
  }
  h1 {
    font-size: 25px;
  }
  .heading > button {
    font-size: 12px;
  }
  .filterbar {
    flex-wrap: wrap;
  }
  .search-label {
    flex-basis: 100%;
  }
  .metrics button {
    padding: 14px;
  }
  .view-toolbar p {
    max-width: 260px;
  }
  .commitment-table {
    min-width: 860px;
  }
  .account > span {
    display: none;
  }
}
@media (max-width: 650px) {
  .topbar {
    height: 62px;
    padding: 0 16px;
  }
  .brand {
    font-size: 14px;
  }
  .app-shell {
    display: block;
  }
  aside {
    width: 100%;
    padding: 10px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-label,
  .sidebar-note {
    display: none;
  }
  nav {
    display: flex;
    overflow-x: auto;
    gap: 6px;
  }
  nav button {
    white-space: nowrap;
    font-size: 11px;
    padding: 9px;
    gap: 8px;
  }
  main {
    padding: 22px 16px;
  }
  .heading {
    display: block;
    margin-bottom: 20px;
  }
  .heading > button {
    margin-top: 18px;
  }
  .metrics {
    gap: 8px;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 20px;
  }
  .metrics button {
    font-size: 11px;
    padding: 13px;
  }
  .metrics strong {
    font-size: 24px;
    margin-top: 4px;
  }
  .view-toolbar p {
    max-width: 190px;
    font-size: 10px;
  }
  .filterbar {
    gap: 8px;
  }
  .filterbar select {
    max-width: 175px;
    font-size: 12px;
  }
  .filters {
    display: block;
  }
  .filters label {
    margin-bottom: 10px;
  }
  .drawer form {
    padding: 20px;
  }
  .drawer-tabs {
    gap: 18px;
  }
  .columns {
    gap: 10px;
  }
  .board {
    grid-template-columns: repeat(4, 250px);
  }
  dialog {
    padding: 20px;
  }
  .drawer-footer {
    bottom: -20px;
    margin-bottom: -20px;
  }
  .detail-actions {
    flex-wrap: wrap;
  }
  .account button {
    font-size: 11px;
    padding: 7px;
  }
  .table-wrap {
    border-radius: 8px;
  }
}
@media (max-width: 650px) {
  .commitment-table {
    min-width: 0;
    display: block;
  }
  .commitment-table thead {
    display: none;
  }
  .commitment-table tbody {
    display: block;
  }
  .commitment-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 15px;
    border-bottom: 1px solid var(--line);
    gap: 12px;
  }
  .commitment-table tr:last-child {
    border-bottom: 0;
  }
  .commitment-table td {
    padding: 0;
    border: 0;
    font-size: 11px;
    min-width: 0;
  }
  .commitment-table td:first-child {
    grid-column: 1/-1;
    min-width: 0;
  }
  .commitment-table td:not(:first-child)::before {
    display: block;
    color: var(--muted);
    font-size: 9px;
    margin-bottom: 4px;
  }
  .commitment-table td:nth-child(2)::before {
    content: "PROJECT";
  }
  .commitment-table td:nth-child(3)::before {
    content: "EIGENAAR";
  }
  .commitment-table td:nth-child(4)::before {
    content: "STATUS";
  }
  .commitment-table td:nth-child(5)::before {
    content: "DATUM";
  }
  .commitment-table td:last-child {
    grid-column: 1/-1;
  }
  .commitment-title {
    font-size: 13px;
  }
  .next-preview {
    -webkit-line-clamp: 3;
  }
}
.project-navigation {
  margin-top: 30px;
}
.project-navigation a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  text-decoration: none;
  font-size: 12px;
  color: #53675c;
  border-radius: 6px;
  line-height: 1.45;
}
.project-navigation a[aria-current] {
  background: #dfeae1;
  color: #174d3b;
  font-weight: 650;
}
.project-navigation a:hover {
  background: #e4ebe2;
}
.project-navigation a span:last-child {
  font-size: 11px;
}
.project-link {
  color: #365d4b;
  text-decoration: underline;
  text-decoration-color: #b0c4b7;
  text-underline-offset: 3px;
}
.back-link {
  padding: 0;
  background: none;
  color: #526b5c;
  font-size: 12px;
  margin-bottom: 18px;
}
.sidebar-note {
  margin-top: 35px;
}
@media (max-width: 650px) {
  .project-navigation {
    margin-top: 8px;
  }
  .project-navigation a {
    white-space: nowrap;
    font-size: 11px;
    padding: 8px;
  }
  .project-navigation .nav-label {
    display: block;
    margin-bottom: 4px;
    font-size: 9px;
  }
  .project-navigation nav {
    padding-bottom: 3px;
  }
}
.quick-add {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 20px;
}
.quick-add > label {
  font-size: 14px;
  margin-bottom: 10px;
  color: #244c3c;
}
.quick-entry {
  display: flex;
  gap: 10px;
}
.quick-entry input {
  margin: 0;
  flex: 1;
  min-width: 0;
}
.quick-entry button {
  white-space: nowrap;
}
.quick-add .help {
  margin: 9px 0 0;
  font-size: 11px;
}
.quick-add p:empty {
  display: none;
}
#quickError,
#quickEditError {
  color: #995139;
}
#quickResult {
  margin: 10px 0 0;
  font-size: 12px;
}
.quick-result-link {
  padding: 0;
  background: none;
  color: var(--green);
  text-decoration: underline;
}
.quick-action {
  padding: 0;
  background: none;
  border: 0;
  text-align: left;
  font-weight: 400;
  border-radius: 0;
  width: 100%;
  line-height: 1.5;
}
.quick-action:hover {
  text-decoration: underline;
}
#quickEditor {
  max-width: 560px;
}
#quickEditor .heading {
  margin-bottom: 20px;
}
#quickEditor .heading h2 {
  margin: 0;
}
.commitment-table button.badge {
  border: 0;
}
.commitment-table button.badge:hover {
  outline: 1px solid currentColor;
}
@media (max-width: 650px) {
  .quick-add {
    padding: 15px;
  }
  .quick-entry {
    flex-wrap: wrap;
  }
  .quick-entry input {
    flex-basis: 100%;
  }
  .quick-entry button {
    width: 100%;
  }
}
