* {
	box-sizing: border-box;
}

.input_icon {
	float: right;
	margin-right: 6px;
	margin-top: -23px;
	position: relative;
	z-index: 2;
}

#overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 998;
  cursor: default;
}

#overlay_popup {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
    color: #355b43;
    background-color: #5d805d;
    background: linear-gradient(135deg, #e8eee8 0%, #f6f8f4 55%, #d8e4d9 100%);
    color: #355b43;
    border-color: #355b43;
    background: #355b43;
    background-color: #355b43;
    background-color: #526257;
    background-color: #526257;
    background-color: #5d805d;
    color: #355b43;
    background-color: #355b43;
    color: #355b43;
    background-color: #355b43;
    color: #355b43;
    color: #355b43;
    background-color: #355b43;
    --app-ink: #26352d;
    --app-muted: #59685d;
    --app-navy: #344b3a;
    --app-teal: #527a5b;
    --app-teal-dark: #3e6248;
    --app-coral: #b85c4a;
    --app-surface: #ffffff;
    --app-background: #eef2ed;
    --app-border: #d4ded4;
    --app-shadow: 0 8px 24px rgba(38, 53, 45, 0.1);
  height: 80%;
  margin-top: -20%;
  margin-left: -40%;
  background-color: #fafafa;
  box-shadow: 5px 5px rgba(0,0,0,0.5);
  border-radius: 10px;
  z-index: 999;
  cursor: default;
  transition: all 0.5s ease;
}

.overlay_del {
  position: absolute;
  display: none;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 150px;
  margin-top: -75px;
  margin-left: -150px;
  background-color: #fafafa;
  box-shadow: 5px 5px rgba(0,0,0,0.5);
  border-radius: 4px;
  z-index: 999;
  cursor: default;
}

.file-preview-dialog {
  position: fixed;
  box-sizing: border-box;
  width: min(96vw, 1200px);
  height: min(92vh, 900px);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 1px solid var(--app-border, #d4ded4);
  border-radius: 8px;
  color: var(--app-ink, #26352d);
  background: var(--app-surface, #fff);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.file-preview-dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.file-preview-dialog__content {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: auto;
}

.file-preview-dialog__header {
  position: relative;
  flex: 0 0 auto;
  min-height: 2.75rem;
  padding: 0.75rem 3.5rem 0.75rem 1rem;
  border-bottom: 1px solid var(--app-border, #d4ded4);
  font-weight: 600;
}

.file-preview-dialog__close {
  position: absolute;
  top: 0.35rem;
  right: 0.45rem;
  display: grid;
  width: 2rem;
  height: 2rem;
  min-height: 0;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 4px;
  color: var(--app-ink, #26352d);
  background: transparent;
  box-shadow: none;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transform: none;
}

.file-preview-dialog__close:hover,
.file-preview-dialog__close:focus-visible {
  color: var(--app-ink, #26352d);
  background: var(--app-background, #eef2ed);
  box-shadow: none;
  transform: none;
}

.file-preview-dialog__frame {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  border: 0;
  overflow: auto;
}

div.main {
	position: relative;
	top: 0;
	z-index: 0;
	margin: 0;
}


div.popup {
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: 900;

	font-family: Arial, Helvetica, sans-serif;
	font-size: 1em;
	color: #000;
	margin:0;
}

.main h1, .popup h1{
	display: block;
	font-size: 2em;
	margin-top: 0.67em;
	margin-bottom: 0.33em;
	margin-left: 0;
	margin-right: 0;
	font-weight: bold;

  color: #334155;
	font-family: "Bahnschrift", Helvetica, sans-serif;
	text-transform: uppercase;
}

.main h2, .popup h2{
	display: block;
	font-size: 1.5em;
	margin-top: 0.83em;
	margin-bottom: 0.41em;
	margin-left: 0;
	margin-right: 0;
	font-weight: bold;

  color: #334155;
	font-family: "Bahnschrift", Helvetica, sans-serif;
	text-transform: uppercase;
}

.main h3, .popup h3{
	display: block;
	font-size: 1.17em;
	margin-top: 1em;
	margin-bottom: 0.5em;
	margin-left: 0;
	margin-right: 0;
	font-weight: bold;

  color: #334155;
	font-family: "Bahnschrift", Helvetica, sans-serif;
	text-transform: uppercase;
}

.main h4, .popup h4{
	display: block;
	margin-top: 1.33em;
	margin-bottom: 0.62em;
	margin-left: 0;
	margin-right: 0;
	font-weight: bold;

  color: #334155;
	font-family: "Bahnschrift", Helvetica, sans-serif;
	text-transform: uppercase;
}

.main p, .popup p{
	display: block;
	margin-top: 1em;
	margin-bottom: 1em;
	margin-left: 0;
	margin-right: 0;
}



/*
body.main {
  font-family: Arial, Helvetica, sans-serif;
  margin:0;
}

h1.main {
  color: #124272;
  font-family: "Bahnschrift", Helvetica, sans-serif;
  text-transform: uppercase;
}*/


.fa-blank
{
visibility:hidden !important;
}

input[type=text].login, input[type=password].login {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type=submit].login {
  width: 100%;
  background-color: #4CAF50;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=submit].login:hover {
  background-color: #45a049;
}

div.login {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
}

.login p{
	font-family: Arial, Helvetica, sans-serif;
	color: #000;
	margin:0;
}

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  background: linear-gradient(135deg, #e8eee8 0%, var(--app-background) 55%, #d8e4d9 100%);
}

.login-card {
  width: min(100%, 380px);
  box-sizing: border-box;
  padding: 32px;
  border: 1px solid var(--app-border);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(38, 53, 45, 0.16);
}

.app-error-card {
  width: min(100%, 36rem);
  overflow-wrap: anywhere;
}

.app-error-card h1 {
  margin: 0.5rem 0 1rem;
  font-size: 1.65rem;
  color: var(--app-navy);
}

.app-error-card .login-heading strong {
  color: var(--app-navy);
  font-size: 1.25rem;
}

.app-error-card .app-error-message {
  margin-bottom: 1.5rem;
}

.app-error-card .df-actions form {
  margin: 0;
}

.login-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.login-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
}

.login-heading h1,
.login-heading p,
.login-card h2,
.login-card > p {
  margin: 0;
}

.login-heading h1 {
  color: var(--app-navy);
  font-size: 24px;
  line-height: 1.1;
}

.login-heading p {
  margin-top: 4px;
  color: var(--app-muted);
  font-size: 14px;
}

.login-card h2 {
  margin-bottom: 20px;
  color: var(--app-ink);
  font-size: 20px;
}

.login-card label {
  display: block;
  margin: 14px 0 6px;
  color: var(--app-navy);
  font-size: 14px;
  font-weight: 600;
}

.login-card input[type=text],
.login-card input[type=password] {
  width: 100%;
  height: 42px;
  box-sizing: border-box;
  padding: 9px 12px;
  border: 1px solid var(--app-border);
  border-radius: 4px;
  background: var(--app-surface);
  color: var(--app-ink);
  font: inherit;
}

.login-card input[type=text]:focus,
.login-card input[type=password]:focus {
  outline: 2px solid rgba(82, 122, 91, 0.2);
  border-color: var(--app-teal);
}

.login-submit {
  width: 100%;
  margin-top: 22px;
}

.login-error {
  margin-top: 14px !important;
  padding: 10px 12px;
  border: 1px solid #dfb3aa;
  border-radius: 6px;
  background: #fbefec;
  color: #8f4034 !important;
  font-size: 14px;
}

.login-notice {
  margin-top: 14px !important;
  padding: 10px 12px;
  border: 1px solid #d8bd82;
  border-radius: 6px;
  background: #fff7e5;
  color: #704d16 !important;
  font-size: 14px;
  line-height: 1.45;
}

table.dl-toolbar .dl-toolbar-buttons.dl-has-active-filter {
  white-space: nowrap;
}

.dl-active-filter-notice {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 240px;
  overflow: hidden;
  margin: 0 !important;
  padding: 6px 10px;
  vertical-align: middle;
  white-space: nowrap;
}

.dl-active-filter-notice__text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 761px) {
  table.dl-toolbar,
  table.dl-toolbar > tbody {
    display: block;
    width: 100%;
  }

  table.dl-toolbar tr {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  table.dl-toolbar .dl-toolbar-buttons {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.4rem;
    flex: 1 1 0;
    min-width: 0;
  }

  table.dl-toolbar .dl-toolbar-buttons > button {
    flex-shrink: 0;
  }

  table.dl-toolbar .dl-toolbar-controls {
    flex: 0 0 45%;
    min-width: 0;
  }

  table.dl-toolbar .dl-active-filter-notice {
    flex: 0 1 auto;
    min-width: 0;
    max-width: none;
    box-sizing: border-box;
  }

  table.dl-toolbar .dl-active-filter-notice > i {
    flex-shrink: 0;
  }
}

.login-card-locked > p {
  color: var(--app-muted);
  line-height: 1.5;
}

.login-remember {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0 !important;
  font-weight: 400 !important;
}

.login-forgot {
  margin: 16px 0 0 !important;
  text-align: center;
  font-size: 14px;
}

.login-forgot a,
.login-back a {
  color: var(--app-teal-dark);
  text-decoration: none;
}

.login-forgot a:hover,
.login-back a:hover {
  text-decoration: underline;
}

.login-success {
  margin-top: 14px !important;
  padding: 10px 12px;
  border: 1px solid #a9c9ae;
  border-radius: 6px;
  background: #eef6ef;
  color: #355b43 !important;
  font-size: 14px;
}

.df-actions .login-success,
.df-actions .login-error {
  margin-top: 0 !important;
  margin-bottom: 0;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  padding: 0.55rem 1rem;
  font-size: 14px;
}

.page-notice {
  --page-notice-top: 124px;
  position: fixed;
  top: var(--page-notice-top);
  left: 0;
  z-index: 99;
  width: 100%;
  margin: 0 !important;
  padding: 0.85rem 1.5rem;
  border: 0;
  border-bottom: 1px solid;
  border-radius: 0;
  box-shadow: 0 8px 20px rgba(38, 53, 45, 0.16);
  font-size: 0.95rem;
  text-align: center;
  animation: page-notice-lifecycle 3.5s ease both;
}

.page-notice--success {
  border-color: #a9c9ae;
  background: #eef6ef;
  color: #355b43;
}

.page-notice--warning {
  border-color: #d8bd82;
  background: #fff7e5;
  color: #704d16;
}

.page-notice--error {
  border-color: #dfb3aa;
  background: #fbefec;
  color: #8f4034;
}

.main .page-notice--persistent,
.popup .page-notice--persistent {
  display: block;
  position: static;
  width: auto;
  margin: 0 0 1.25rem !important;
  border-width: 1px;
  border-style: solid;
  border-radius: 0.55rem;
  box-shadow: none;
  opacity: 1;
  animation: none;
}

@keyframes page-notice-lifecycle {
  0% {
    opacity: 0;
  }

  10%,
  85.7% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@media (max-width: 760px) {
  .page-notice {
    --page-notice-top: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-notice {
    animation: page-notice-reduced-motion 0.5s 3s forwards;
  }

  @keyframes page-notice-reduced-motion {
    to {
      opacity: 0;
      visibility: hidden;
    }
  }
}

@media (max-width: 440px) {
  .login-page {
    padding: 24px;
  }

  .login-card {
    width: 100%;
    padding: 32px;
  }

  .login-card input[type=text],
  .login-card input[type=password] {
    font-size: 16px;
  }
}

hr {
	height: 1px;
	background-color: #124272;
	border-width: 0;
	margin-top: 10px;
	margin-bottom: 10px;
}

.df-form-divider {
	height: 0;
	border: 0;
	border-top: 1px solid var(--app-border);
	background: transparent;
	margin: 1rem 0;
}


.dl-pagination-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.dl-pagination-nav .df-btn,
.dl-pagination-nav select {
  box-sizing: border-box;
  height: 2.5rem;
  min-height: 2.5rem;
  margin: 0;
}

.dl-pagination-nav .df-btn {
  width: 2.5rem;
  padding: 0;
}

.dl-pagination-nav select {
  width: auto;
  min-width: 3.5rem;
}



input[type=text], input[type=number], input[type=password], select {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1em;
  height: 2em;
  width: 100%;
  padding: 4px 4px;
  margin: 2px 0px;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1em;
  width: 100%;
  padding: 4px 8px;
  margin: 1px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

select {
  padding: 0;
}


input[type=text].error, input[type=number].error, input[type=password].error, select.error, textarea.error, date.error {
  background-color: #f4cccc;
  border: 1px solid #CC0000;
}

input[type=text].match, input[type=password].match, select.match, textarea.match, date.match {
  background-color: #fff2cc;
  border: 1px solid #f1c232;
}

input[type=text], input[type=number], input[type=password] {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1em;
  height: 2.1em;
  width: 100%;
  padding: 0px 8px; /*4px 4px;*/
  margin: 1px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

select {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1em;
  height: 2.1em;
  width: 100%;
  padding: 0px 4px; /*4px 4px;*/
  margin: 1px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}



/*label:disabled {
  color: #ccc;
}*/

::-webkit-datetime-edit { padding: 4px 4px; }
::-webkit-datetime-edit { margin: 2px 0; }
::-webkit-datetime-edit { width: 100%; }
::-webkit-datetime-edit { height: 2em; }
::-webkit-datetime-edit { font-size: 1em; }
::-webkit-datetime-edit-fields-wrapper { border: 1px solid #ccc; }
::-webkit-datetime-edit-fields-wrapper { border-radius: 4px }
::-webkit-datetime-edit-fields-wrapper { box-sizing: border-box; }
/*::-webkit-datetime-edit-fields-wrapper { background: silver; }
::-webkit-datetime-edit-text { color: red; padding: 0 0.3em; }
::-webkit-datetime-edit-month-field { color: blue; }
::-webkit-datetime-edit-day-field { color: green; }
::-webkit-datetime-edit-year-field { color: purple; }
::-webkit-inner-spin-button { display: none; }
::-webkit-calendar-picker-indicator { background: orange; }*/

.has-search .form-control {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1em;
  width: 100%;
  padding-left: 2.375rem;
  padding-top: 7px;
  padding-bottom: 7px;
  padding-right: 10px;
  margin: 4px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.has-search {
  position: relative;
}

.has-search .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
}

.has-search .form-control-feedback,
.has-search .form-control-delete {
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.form-control-delete {
  position: absolute;
  z-index: 10;
  display: block;
  padding-top: 0;
  width: 2.375rem;
  height: 2.375rem;
  line-height: 2.375rem;
  text-align: center;
  color: #aaa;
}

.has-icon .form-control-icon {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1em;
  width: 100%;
  /*padding-left: 0px;*/
  padding-top: 7px;
  padding-bottom: 7px;
  padding-right: 2.375rem;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.has-icon .form-control-feedback-icon {
    /*position: absolute;*/
    float: right;
    z-index: 2;
    display: block;
    padding-top: 5px;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
}

td.deleted {
  color:#CCCCCC;
}

table.list2 {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
}
table.list2 td, table.list2 th {
  border: 1px solid #ddd;
  padding: 8px;

	max-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}




table.gantt-table {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
}
table.gantt-table td, table.gantt-table th {
  border: 1px solid #ddd;
  padding: 8px;

	max-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
th.gantt-date {
  background-color: #90bed0;
  font-weight: bold;
  color: #124272;
}
th.gantt-date-today {
  background-color: #124272;
  font-weight: bold;
  color: #fff;
}
th.gantt-time {
  background-color: #90bed0;
  color: #124272;
  font-size: 0.8em;
  padding: 0px;
  text-align: left;
}
th.gantt-time-today {
  background-color: #124272;
  color: #fff;
  font-size: 0.8em;
  padding: 0px;
  text-align: left;
}
td.gantt-cat {
  background-color: #bfcace;
  font-weight: bold;
  color: #000000;
}
td.gantt-item {
  padding: 0px;
}
td.gantt-holiday {
  background-color: #bfcace;
}



/*table.list2 tr:nth-child(even){background-color: #f2f2f2;}*/

table.list2 th {
  padding-top: 8px;
  padding-bottom: 8px;
  text-align: left;
  background-color: #94a3b8;
  font-weight: bold;
  color: #000000;
}


table {
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Standard list */
table.list {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  border-radius: 6px;
  overflow: hidden;
  width: 100%;
  table-layout: fixed;
}
table.list td, table.list th {
  border: 1px solid #ddd;
  padding: 8px;

	max-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
table.list tr{
  height: 2.3em;
  vertical-align: middle;
}
table.list tr:hover {background-color: #ddd;}
table.list th:hover {background-color: #475569;}
table.list th {
  padding-top: 8px;
  padding-bottom: 8px;
  text-align: left;
  background-color: #334155;
  font-weight: bold;
  color: #FFFFFF;
}
table.list tr.selected{
	background-color: #DAE3EC;
}


/* Standard list */
table.list_noheader {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
}
table.list_noheader td, table.list_noheader th {
  border: 1px solid #ddd;
  padding: 8px;

	max-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
table.list_noheader tr{
  height: 2.3em;
  vertical-align: middle;
}
table.list_noheader tr:hover {background-color: #ddd;}
table.list_noheader th {
  padding-top: 8px;
  padding-bottom: 8px;
  text-align: left;
  background-color: #334155;
  font-weight: bold;
  color: #FFFFFF;
  cursor: default;
}
table.list_noheader tr.selected{
	background-color: #DAE3EC;
}



table.noborder td, table.noborder th {
  border: none;
  padding: 0px;
}


a:link {
  color: black;
  text-decoration: none;
}
a:visited {
  color: black;
  text-decoration: none;
}
a:hover {
  color: blue;
  text-decoration: none;
}
a:active {
  color: blue;
  text-decoration: none;
}


a.header:link {
  color: #FFFFFF;
  text-decoration: none;
}
a.header:visited {
  color: #FFFFFF;
  text-decoration: none;
}
a.header:hover {
  color: #FFFFFF;
  text-decoration: none;
}
a.header:active {
  color: #FFFFFF;
  text-decoration: none;
}


.dropdown {
  position: relative;
  display: inline-block;
  z-index: 100;
}

.dropdown-content {
  display: none;
  position:fixed;
  background-color: #f1f1f1;
  min-width: 160px;
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 101;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dl-filter-group-label {
  padding: 8px 16px 4px;
  border-top: 1px solid #d4ded4;
  color: var(--app-muted, #59685d);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dropdown tr:hover {background-color: #ddd;}

.show {display: block;}

/*.custom-file-input::-webkit-file-upload-button {
  visibility: hidden;
}
.custom-file-input::before {
  content: 'Bestand selecteren';
  display: inline-block;
  outline: none;
  white-space: nowrap;
  -webkit-user-select: none;

  font-family: "Bahnschrift", Helvetica, sans-serif;
  background-color: #C2CFDC;
  color: #124272;
  padding: 7px 10px;
  margin: 4px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.custom-file-input:hover::before {
  background-color: #688CB0;
  color: white;
}
.custom-file-input:active::before {
  background-color: #C2CFDC;
  color: #124272;
}*/

input[type="file"] {
    display: initial;
}
.custom-file-upload {
  white-space: nowrap;
  -webkit-user-select: none;
}
/*
.dropzone {
	box-sizing: border-box;
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 9999999;

	background: rgba(#60a7dc,.8);
	border: 11px dashed #60a7dc;
}*/


#drop1 {
    height: 100%;
    width: 100%;
    border: none; /*2px dashed #60a7dc*/
    margin: 0px; /*2*/
    padding: 0px; /*10*/
    /*background-color: yellow;*/
    /*overflow:hidden; */
}
#drop2 {
    height: 1em;
    width: 100%;
    border: none; /*1px solid red;*/
    margin: 0px;
    padding: 0px;
	/*vertical-align: middle;*/
}
#content
{
    height: 100%;
    width: 100%;
}
.hoverClass {
    background-color: blue;
}
.dropClass {
    background-color: green;
}

div.dropzone
{
    /* positions to point 0,0 - required for z-index */
    position: fixed; top: 0; left: 0;
    /* above all elements, even if z-index is used elsewhere
       it can be lowered as needed, but this value surpasses
       all elements when used on YouTube for example. */
    z-index: 9999999999;
    /* takes up 100% of page */
    width: 100%; height: 100%;
    /* dim the page with 50% black background when visible */
    background-color: rgba(0,0,0,0.5);
    /* a nice fade effect, visibility toggles after 175ms, opacity will animate for 175ms. note display:none cannot be animated.  */
    transition: visibility 175ms, opacity 175ms;
}

#box {
  background-color: lightblue;
  height: 100px;
  width: 100px;
}

.remark{
  color: rgb(94, 94, 94);
  font-style: italic;
}

ul.a {
  list-style-type: circle;
  padding-left: 1.5em;
  line-height: 1.3;
}



/* SELECT */

.select2.select2-container .select2-selection .select2-selection__rendered {
  color: var(--app-ink);
}


.select2-container .select2-dropdown .select2-results ul {
  color: var(--app-ink);
}


.select2.select2-container .select2-selection {
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 1em;
  width: 100%;
  height: auto;
  padding: 0px 0px;
  margin: 1px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.select2.select2-container.error {
  background-color: #f4cccc;
  border: 1px solid #CC0000;
}
.select2.error {
  background-color: #f4cccc;
  border: 1px solid #CC0000;
}

.select2.select2-container.match {
  background-color: #fff2cc;
  border: 1px solid #f1c232;
}


/*.form-control {
  border: 1px solid #ccc;
  border-radius: 3px;
  box-shadow: none !important;
  margin-bottom: 15px;
}

.form-control:focus {
  border: 1px solid #34495e;
} */

/*.select2.select2-container {
width: 100% !important;
}

.select2.select2-container .select2-selection {
border: 1px solid #ccc;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
height: 34px;
margin-bottom: 15px;
outline: none !important;
transition: all .15s ease-in-out;
}

.select2.select2-container .select2-selection .select2-selection__rendered {
color: #333;
line-height: 32px;
padding-right: 33px;
}

.select2.select2-container .select2-selection .select2-selection__arrow {
background: #f8f8f8;
border-left: 1px solid #ccc;
-webkit-border-radius: 0 3px 3px 0;
-moz-border-radius: 0 3px 3px 0;
border-radius: 0 3px 3px 0;
height: 32px;
width: 33px;
}

.select2.select2-container.select2-container--open .select2-selection.select2-selection--single {
background: #f8f8f8;
}

.select2.select2-container.select2-container--open .select2-selection.select2-selection--single .select2-selection__arrow {
-webkit-border-radius: 0 3px 0 0;
-moz-border-radius: 0 3px 0 0;
border-radius: 0 3px 0 0;
}

.select2.select2-container.select2-container--open .select2-selection.select2-selection--multiple {
border: 1px solid #34495e;
}

.select2.select2-container .select2-selection--multiple {
height: auto;
min-height: 34px;
}

.select2.select2-container .select2-selection--multiple .select2-search--inline .select2-search__field {
margin-top: 0;
height: 32px;
}

.select2.select2-container .select2-selection--multiple .select2-selection__rendered {
display: block;
padding: 0 4px;
line-height: 29px;
}

.select2.select2-container .select2-selection--multiple .select2-selection__choice {
background-color: #f8f8f8;
border: 1px solid #ccc;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
margin: 4px 4px 0 0;
padding: 0 6px 0 22px;
height: 24px;
line-height: 24px;
font-size: 12px;
position: relative;
}

.select2.select2-container .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove {
position: absolute;
top: 0;
left: 0;
height: 22px;
width: 22px;
margin: 0;
text-align: center;
color: #e74c3c;
font-weight: bold;
font-size: 16px;
}

.select2-container .select2-dropdown {
background: transparent;
border: none;
margin-top: -5px;
}

.select2-container .select2-dropdown .select2-search {
padding: 0;
}

.select2-container .select2-dropdown .select2-search input {
outline: none !important;
border: 1px solid #34495e !important;
border-bottom: none !important;
padding: 4px 6px !important;
}

.select2-container .select2-dropdown .select2-results {
padding: 0;
}

.select2-container .select2-dropdown .select2-results ul {
background: #fff;
border: 1px solid #34495e;
}

.select2-container .select2-dropdown .select2-results ul .select2-results__option--highlighted[aria-selected] {
background-color: #3498db;
}*/


progress {
  border-radius: 7px;
  width: 100%;
  height: 1.5em;
  /*margin-left: -11.5%;
  box-shadow: 1px 1px 4px rgba( 0, 0, 0, 0.2 );*/
}
progress::-webkit-progress-bar {
  background-color: #CCC;
  border-radius: 3px;
}
progress::-webkit-progress-value {
  background-color: #124272;
  border-radius: 3px;
  /*background-color: blue;
  border-radius: 7px;
  height: 0.8em;
  box-shadow: 1px 1px 5px 3px rgba( 255, 0, 0, 0.8 );*/
}

progress::-moz-progress-bar {
  /* style rules */
}


/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 999999;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd;}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {display:block;}

:root {
  --app-ink: #26352d;
  --app-muted: #59685d;
  --app-navy: #344b3a;
  --app-teal: #527a5b;
  --app-teal-dark: #3e6248;
  --app-coral: #b85c4a;
  --app-surface: #ffffff;
  --app-background: #eef2ed;
  --app-border: #d4ded4;
  --app-shadow: 0 8px 24px rgba(38, 53, 45, 0.1);
}

html {
  font-size: 90%;
  background: var(--app-background);
}

body,
div.main,
div.main.collapse,
div.popup {
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--app-ink);
}

body {
  font-size: 0.9rem;
  font-weight: 500;
  min-width: 320px;
  background: var(--app-background);
  line-height: 1.5;
}

div.main,
div.main.collapse {
  left: 0;
  width: 100%;
  min-height: 100vh;
  padding: 140px 2.4rem 2.4rem;
  background: var(--app-background);
}

.main h1,
.popup h1,
.main h2,
.popup h2,
.main h3,
.popup h3,
.main h4,
.popup h4 {
  font-family: "Space Grotesk", Arial, sans-serif;
  color: var(--app-navy);
  letter-spacing: 0;
  text-transform: none;
}

.main h1,
.popup h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  line-height: 1.15;
}

.main h2,
.popup h2 {
  font-size: 1.35rem;
}

a,
a:link,
a:visited {
  color: var(--app-teal-dark);
}

a:hover,
a:active {
  color: var(--app-coral);
}

button,
input[type="submit"],
.custom-file-upload,
.df-btn,
a.df-btn,
.btn,
a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  box-sizing: border-box;
  min-height: 2.5rem;
  margin: 4px 0;
  padding: 0.55rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 0.45rem;
  background: var(--app-teal);
  color: #fff;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(15, 98, 100, 0.15);
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.df-btn[hidden] {
  display: none !important;
}

button:hover,
input[type="submit"]:hover,
.custom-file-upload:hover,
.df-btn:hover,
.btn:hover {
  background: var(--app-teal-dark);
  color: #fff;
  box-shadow: 0 5px 12px rgba(15, 98, 100, 0.2);
}

button:focus-visible,
input[type="submit"]:focus-visible,
.custom-file-upload:focus-visible,
.df-btn:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--app-teal);
  outline-offset: 2px;
}

input[type="text"],
input[type="number"],
input[type="password"],
select,
textarea,
.has-search .form-control,
.select2.select2-container .select2-selection,
.meeting-presence-proxy > .df-btn.df-btn-secondary {
  min-height: 2.5rem;
  border: 1px solid var(--app-border);
  border-radius: 0.45rem;
  background: var(--app-surface);
  color: var(--app-ink);
  font-family: "DM Sans", Arial, sans-serif;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.select2.select2-container {
  max-width: 100%;
}

.select2.select2-container .select2-selection--single {
  display: flex;
  align-items: center;
  min-height: 2.5rem;
}

.select2.select2-container .select2-selection--single .select2-selection__rendered {
  padding: 0.45rem 2rem 0.45rem 0.75rem;
  line-height: 1.5;
}

.select2.select2-container .select2-selection--single .select2-selection__arrow {
  top: 50%;
  transform: translateY(-50%);
}

.select2.select2-container .select2-selection--multiple {
  padding: 0.25rem 0.4rem;
}

.select2.select2-container .select2-selection--multiple .select2-selection__rendered {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  padding: 0;
  margin: 0;
  list-style: none;
  white-space: normal;
}

.select2.select2-container .select2-selection--multiple .select2-selection__choice {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  float: none;
  max-width: 100%;
  margin: 0;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--app-border);
  border-radius: 0.35rem;
  background: var(--app-background);
  color: var(--app-ink);
  font: inherit;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
}

.select2.select2-container .select2-selection--multiple .select2-selection__choice__remove {
  flex-shrink: 0;
  margin: 0;
  color: var(--app-teal-dark);
  font-weight: 700;
}

.select2.select2-container .select2-selection--multiple .select2-selection__choice__remove:hover {
  color: var(--app-coral);
}

.select2.select2-container .select2-search--inline {
  float: none;
  flex: 1 1 8rem;
  min-width: 0;
}

.select2.select2-container .select2-search--inline .select2-search__field {
  max-width: 100%;
  height: 1.75rem;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--app-ink);
  font: inherit;
  outline: none;
  box-shadow: none;
}

.select2.select2-container.select2-container--focus .select2-selection,
.select2.select2-container.select2-container--open .select2-selection {
  border-color: var(--app-teal);
  box-shadow: 0 0 0 3px rgba(22, 125, 127, 0.14);
}

.select2-container .select2-dropdown {
  border-color: var(--app-border);
  border-radius: 0.45rem;
  background: var(--app-surface);
  color: var(--app-ink);
  font-family: "DM Sans", Arial, sans-serif;
  box-shadow: var(--app-shadow);
}

.select2-container .select2-dropdown .select2-search__field {
  min-height: 2.5rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--app-border);
  border-radius: 0.45rem;
  background: var(--app-surface);
  color: var(--app-ink);
  font: inherit;
}

.select2-container .select2-dropdown .select2-results__option {
  padding: 0.5rem 0.75rem;
  overflow-wrap: anywhere;
}

.select2-container .select2-dropdown .select2-results__option[aria-selected="true"] {
  background: var(--app-background);
  color: var(--app-teal-dark);
}

.select2-container .select2-dropdown .select2-results__option--highlighted[aria-selected] {
  background: var(--app-teal);
  color: #fff;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus,
.has-search .form-control:focus {
  border-color: var(--app-teal);
  outline: none;
  box-shadow: 0 0 0 3px rgba(22, 125, 127, 0.14);
}

table.list,
table.list2,
table.list_noheader,
table.gantt-table {
  overflow: hidden;
  border: 1px solid var(--app-border);
  border-radius: 0.55rem;
  background: var(--app-surface);
  box-shadow: var(--app-shadow);
}

table.list td,
table.list th,
table.list2 td,
table.list2 th,
table.list_noheader td,
table.list_noheader th {
  border-color: var(--app-border);
  padding: 0.75rem 0.85rem;
}

table.list th,
table.list_noheader th,
table.list2 th {
  background: var(--app-navy);
  color: #fff;
  font-family: "Space Grotesk", Arial, sans-serif;
}

table.list tr:hover,
table.list_noheader tr:hover {
  background: #edf7f6;
}

table.list tr.selected,
table.list_noheader tr.selected {
  background: #d9efed;
}

/* -------------------------------------------------------------------------
   Responsive datalist (_plugins/datalist.php)
   The scroll wrapper is a size container. datalist.php generates container
   queries that hide the lowest-priority columns as soon as they no longer
   fit, so columns never collapse and the page itself never scrolls sideways.
   The compact breakpoint (40rem) must match $dl_compact_rem in datalist.php.
   ------------------------------------------------------------------------- */
.dl-table-scroll {
  container: dl-list / inline-size;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-radius: 0.55rem;
  box-shadow: var(--app-shadow);
}

.dl-table-scroll > table.list {
  box-shadow: none;
}

table.list.dl-responsive {
  width: 100%;
}

/* Icon columns have separate header cells; keep them visually merged. */
table.list.dl-responsive th.dl-icon:has(+ th.dl-icon) {
  border-right-color: var(--app-navy);
}

table.list.dl-responsive .dl-primary-wrap {
  display: flex;
  align-items: center;
  min-width: 0;
}

table.list.dl-responsive .dl-primary-text {
  flex: 1 1 auto;
  min-width: 0;
}

table.list.dl-responsive .dl-row-child:not(:hover) > td {
  background: color-mix(in srgb, var(--app-surface, #fff) 55%, var(--app-background, #eef2ed));
}

table.list.dl-responsive .dl-row-child .dl-primary .dl-value {
  padding-left: calc(1.25rem * var(--dl-depth, 1));
}

table.list.dl-responsive col.dl-expand-col {
  display: none;
}

table.list.dl-responsive .dl-expand-col {
  display: none;
  width: 2.75rem;
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  text-align: center;
}

table.list.dl-responsive.dl-has-hidden col.dl-expand-col {
  display: table-column;
}

table.list.dl-responsive.dl-has-hidden th.dl-expand-col,
table.list.dl-responsive.dl-has-hidden td.dl-expand-col {
  display: table-cell;
}

table.list.dl-responsive .dl-primary-text > .dl-value,
table.list.dl-responsive .dl-sub-line {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

table.list.dl-responsive .dl-sub-line {
  display: none;
  margin-top: 0.1rem;
  color: var(--app-muted);
  font-size: 0.85em;
  line-height: 1.3;
}

table.list.dl-responsive .dl-expand {
  display: inline-grid;
  place-items: center;
  width: 1.25rem;
  height: 1.5rem;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--app-teal-dark);
  box-shadow: none;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
}

table.list.dl-responsive .dl-expand:hover {
  background: transparent;
  color: var(--app-coral);
  box-shadow: none;
  transform: none;
}

table.list.dl-responsive .dl-expand:focus-visible {
  outline: 2px solid var(--app-teal);
  outline-offset: 1px;
}

table.list.dl-responsive .dl-expand i {
  transition: transform 160ms ease;
}

table.list.dl-responsive .dl-expand[aria-expanded="true"] i {
  transform: rotate(90deg);
}

table.list.dl-responsive tr.dl-detail-row,
table.list.dl-responsive tr.dl-detail-row:hover {
  background: #f6faf8;
}

table.list.dl-responsive tr.dl-detail-row > td {
  max-width: none;
  padding: 0.5rem 0.85rem 0.8rem;
  white-space: normal;
}

table.list.dl-responsive .dl-detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  gap: 0.5rem 1.25rem;
  margin: 0;
}

table.list.dl-responsive .dl-detail-list > div {
  min-width: 0;
}

table.list.dl-responsive .dl-detail-list dt {
  color: var(--app-muted);
  font-size: 0.85em;
}

table.list.dl-responsive .dl-detail-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

table.list.dl-responsive .dl-detail-link {
  color: var(--app-teal-dark);
  cursor: pointer;
}

@container dl-list (max-width: 40rem) {
  table.list.dl-responsive {
    --dl-compact: 1;
  }

  table.list.dl-responsive .dl-m-hide,
  table.list.dl-responsive .dl-m-sub {
    display: none;
  }

  /* The primary column takes the remaining width in compact mode. */
  table.list.dl-responsive col.dl-primary {
    width: auto !important;
  }

  table.list.dl-responsive .dl-sub-line {
    display: block;
  }

  table.list.dl-responsive tr.dl-row {
    height: 3rem;
  }
}

.dropdown-content {
  overflow: hidden;
  border: 1px solid var(--app-border);
  border-radius: 0.45rem;
  background: var(--app-surface);
  box-shadow: var(--app-shadow);
}

.dropdown-content a {
  padding: 0.7rem 0.9rem;
}

.dropdown-content a:hover {
  background: #edf7f6;
}

.dl-filter-menu {
  transition: none;
  right: auto;
  width: max-content;
  min-width: min(160px, calc(100vw - 16px));
  max-width: calc(100vw - 16px);
  box-sizing: border-box;
  white-space: normal;
  overflow-wrap: anywhere;
}

.dl-filter-menu > button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.7rem 0.9rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: black;
  box-shadow: none;
  font: inherit;
  text-align: left;
  white-space: normal;
  cursor: pointer;
}

.dl-filter-menu > button:hover,
.dl-filter-menu > button:focus-visible {
  background: #edf7f6;
}

.login {
  width: min(25rem, calc(100% - 2rem)) !important;
  height: auto !important;
  margin: 0 !important;
  padding: 2rem !important;
  border: 1px solid var(--app-border);
  border-radius: 0.7rem;
  background: var(--app-surface) !important;
  box-shadow: var(--app-shadow);
}

@media (max-width: 760px) {
  table.list2,
  table.list_noheader,
  table.gantt-table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }

  form#form_delete {
    max-width: 100%;
    overflow-x: visible;
  }

  /* Datalist toolbar (buttons + entity/search filters): wrap into stacked
     full-width rows instead of the fixed-width table cell layout. */
  table.dl-toolbar,
  table.dl-toolbar tbody,
  table.dl-toolbar tr {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }

  table.dl-toolbar td {
    display: block;
    width: 100% !important;
    padding: 0.25rem 0;
  }

  table.dl-toolbar .dl-toolbar-buttons.dl-has-active-filter {
    white-space: normal;
  }

  table.dl-toolbar .dl-active-filter-notice {
    max-width: 100%;
    margin-left: 0 !important;
    white-space: normal;
  }

  table.dl-toolbar .dl-active-filter-notice__text {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  table.dl-toolbar .dl-toolbar-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  table.dl-toolbar .dl-toolbar-buttons button {
    margin: 0 !important;
    flex: 0 0 auto;
    width: 2.75rem;
    height: 2.75rem;
    min-width: 44px;
    min-height: 44px;
    box-sizing: border-box;
    padding: 0;
    font-size: 0;
    white-space: nowrap;
  }

  table.dl-toolbar .dl-toolbar-buttons button i {
    font-size: 1.2rem;
    line-height: 1;
  }

  table.dl-toolbar .dl-toolbar-buttons .dl-active-filter-notice {
    flex: 0 1 auto;
  }

  table.dl-toolbar .dl-toolbar-controls-inner {
    width: 100%;
  }

  table.dl-toolbar .dl-toolbar-entity {
    max-width: 45%;
  }

  table.dl-toolbar .dl-toolbar-search input[type="text"] {
    width: 100%;
  }

  /* Hand-built list tables (outside the datalist renderer) keep their
     scrolling table layout on mobile. Datalist tables (.dl-responsive) hide
     columns by container width instead; see "Responsive datalist" below. */
  .dl-table-scroll {
    width: 100%;
    border-radius: 10px;
    overflow-x: auto;
  }

  table.list:not(.dl-responsive) {
    display: table;
    width: max-content;
    min-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }

  table.list col.dl-flex-column {
    width: auto;
  }

  /* Datalist pagination footer: stack and center on narrow screens. */
  table.dl-pagination,
  table.dl-pagination tbody,
  table.dl-pagination tr {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  table.dl-pagination td {
    display: block;
    width: 100% !important;
    text-align: center !important;
  }

  #overlay_form,
  .overlay_form,
  .overlay_form.collapse {
    top: 3.5rem;
    left: 3vw;
    width: 94%;
    height: calc(100% - 7rem);
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.meeting-notes {
  max-width: 68rem;
  margin: 0 auto;
}

.meeting-notes-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.meeting-notes-meta,
.meeting-note footer {
  color: var(--app-muted);
}

.meeting-notes-toolbar {
  width: 100%;
  margin: 0.75rem 0 1rem;
}

.meeting-notes-toolbar td {
  padding: 0;
}

.meeting-notes-message,
.meeting-notes-error,
.meeting-notes-empty {
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--app-border);
  border-radius: 0.75rem;
  background: var(--app-surface);
}

.meeting-notes-message {
  color: #166534;
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.meeting-notes-error {
  color: #991b1b;
  background: #fef2f2;
  border-color: #fecaca;
}

.meeting-note-editor,
.meeting-note {
  margin-bottom: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--app-border);
  border-radius: 1rem;
  background: var(--app-surface);
  box-shadow: var(--app-shadow);
}

.meeting-note-editor label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--app-navy);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-weight: 600;
}

.meeting-note-editor textarea {
  min-height: 9rem;
  resize: vertical;
}

.meeting-note-content {
  margin-bottom: 1rem;
  white-space: normal;
  overflow-wrap: anywhere;
}

.meeting-notes-list {
  margin-top: 1rem;
}

.meeting-notes-list .meeting-note-content {
  min-width: 16rem;
  margin-bottom: 0;
}

.meeting-note-row-actions {
  white-space: nowrap;
}

.meeting-note-row-actions form {
  display: inline;
}

.meeting-note footer {
  font-size: 0.9rem;
}

.meeting-note-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.meeting-note-actions form {
  margin: 0;
}

.meeting-note-secondary {
  background: #e2e8f0;
  color: #0f172a;
  box-shadow: none;
}

.meeting-note-secondary:hover {
  background: #cbd5e1;
  color: #0f172a;
}

.meeting-note-danger {
  background: #dc2626;
}

@media (max-width: 760px) {
  .meeting-notes-header {
    flex-direction: column;
  }

  .meeting-notes-header button {
    width: 100%;
  }

  .meeting-note-editor,
  .meeting-note {
    padding: 1rem;
    border-radius: 0.75rem;
  }
}

/* Dashboard */
.dashboard {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.dash-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  border: 1px solid var(--app-border);
  border-radius: 1rem;
  background: linear-gradient(135deg, #e8eee8 0%, var(--app-surface) 60%, #eef4ef 100%);
  box-shadow: var(--app-shadow);
}

.dash-eyebrow {
  margin: 0 0 0.35rem;
  color: var(--app-teal-dark);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dash-welcome-text h1 {
  margin: 0 0 0.35rem;
}

.dash-date {
  margin: 0;
  color: var(--app-muted);
}

.dash-welcome .dash-management-summary {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 0 0 auto;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--app-border);
  border-radius: 0.75rem;
  background: transparent;
  box-shadow: none;
}

.dash-management-summary .df-btn {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
}

.dash-management-counts {
  display: grid;
  gap: 0.35rem;
  margin: 0.75rem 0 0;
  color: var(--app-navy);
  font-size: 0.85rem;
}

.dash-management-counts > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.dash-management-counts dd {
  margin: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.dash-management-summary .dash-management-message {
  margin: 0.75rem 0 0;
  overflow-wrap: anywhere;
  font-size: 0.85rem;
}

@media (max-width: 760px) {
  .dash-welcome .dash-management-summary {
    align-self: stretch;
    margin-left: 0;
  }
}

.dash-weather {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--app-border);
  border-radius: 0.75rem;
  background: var(--app-surface);
}

.dash-weather i {
  font-size: 2.5rem;
  color: var(--app-teal-dark);
}

.dash-weather strong {
  display: block;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 1.35rem;
  color: var(--app-navy);
}

.dash-weather span {
  color: var(--app-muted);
  font-size: 0.9rem;
}

.dash-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.dash-card {
  display: block;
  padding: 1.5rem;
  border: 1px solid var(--app-border);
  border-radius: 0.9rem;
  background: var(--app-surface);
  box-shadow: var(--app-shadow);
  text-decoration: none;
  transition: box-shadow 150ms ease;
}

.dash-card:hover {
  box-shadow: 0 14px 30px rgba(38, 53, 45, 0.16);
}

.dash-card-icon {
  font-size: 1.8rem;
  color: var(--app-teal-dark);
}

.dash-card h3 {
  margin: 0.6rem 0 0.35rem;
  color: var(--app-navy);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 1.05rem;
}

.dash-card p {
  margin: 0;
  color: var(--app-muted);
  font-size: 0.9rem;
}

.financial-dashboard .dash-card,
.financial-dashboard .dash-news,
.home-dashboard .dash-card,
.home-dashboard .dash-news {
  min-width: 0;
  overflow-wrap: anywhere;
}

.financial-dashboard .dash-card p + p {
  margin-top: 0.6rem;
}

.home-dashboard .dash-card:hover {
  box-shadow: var(--app-shadow);
}

.dash-panel {
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--app-border);
  border-radius: 0.9rem;
  background: var(--app-surface);
  box-shadow: var(--app-shadow);
  scroll-margin-top: 5.5rem;
}

.dash-panel h2 {
  margin-top: 0;
}

.meeting-minutes-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.meeting-minutes-card__header h2 {
  margin-bottom: 0;
}

.meeting-minutes-card__header form {
  margin: 0;
}

.dash-updates-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 1.25rem;
}

.reports-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.reports-panel-header h2 {
  margin: 0;
}

.control-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.control-group {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--app-border);
  border-radius: 0.5rem;
  background: var(--app-background);
}

.control-group h3 {
  margin: 0 0 0.85rem;
  color: var(--app-navy);
  font-size: 1.05rem;
}

.control-group a.control-group__message-link {
  color: inherit;
  font: inherit;
  text-decoration: none;
}

.control-group__members {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.control-group__members li {
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--app-border);
}

.control-group__members li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.control-group__member-role {
  color: var(--app-muted);
  font-size: 0.85rem;
  font-style: italic;
  font-weight: 400;
}

@media (max-width: 900px) {
  .control-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .control-groups {
    grid-template-columns: 1fr;
  }
}

.dash-news {
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--app-border);
  border-radius: 0.9rem;
  background: var(--app-surface);
  box-shadow: var(--app-shadow);
}

.dash-news h2 {
  margin-top: 0;
}

.dash-news-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dash-tasks h2 i {
  color: var(--app-teal-dark);
}

.dash-tasks-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dash-tasks-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--app-border);
}

.dash-tasks-list li:last-child {
  border-bottom: none;
}

.dash-tasks-icon {
  flex: 0 0 auto;
  margin-top: 0.15rem;
  color: var(--app-teal-dark);
  font-size: 1.15rem;
}

.dash-tasks-list strong,
.dash-tasks-list span {
  display: block;
}

.dash-tasks-list a {
  display: block;
  color: var(--app-navy);
  font-weight: 700;
  text-decoration: none;
}

.dash-tasks-list a:hover {
  color: var(--app-teal-dark);
  text-decoration: underline;
}

.dash-tasks-list span {
  margin-top: 0.2rem;
  color: var(--app-muted);
  font-size: 0.85rem;
}

.dash-tasks-list .dash-tasks-overdue {
  display: inline-block;
  color: #8f4034;
  white-space: nowrap;
}

.dash-news-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--app-border);
}

.dash-news-list li:last-child {
  border-bottom: none;
}

.dash-news-icon {
  flex: 0 0 auto;
  margin-top: 0.15rem;
  font-size: 1.15rem;
}

.dash-news-details {
  min-width: 0;
}

.dash-news-details strong,
.dash-news-details span {
  display: block;
}

.dash-news-details strong {
  font-weight: 700;
}

.dash-news-details span {
  margin-top: 0.2rem;
  color: var(--app-muted);
  font-size: 0.85rem;
}

.dash-news-text {
  margin: 0.2rem 0 0;
}

@media (max-width: 1100px) {
  .dash-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .dash-welcome {
    flex-direction: column;
    align-items: flex-start;
  }

  .dash-updates-grid {
    grid-template-columns: 1fr;
  }

  .dash-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .dash-cards {
    grid-template-columns: 1fr;
  }
}

/* Dataform (_plugins/dataform.php) */
table.list a.dl-row-popup-link,
table.list a.dl-row-popup-link:is(:link, :visited, :hover, :active),
.budget-table a.dl-row-popup-link,
.budget-table a.dl-row-popup-link:is(:link, :visited, :hover, :active) {
  color: inherit;
  text-decoration: none;
}

.df-grid {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.df-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.df-main {
  min-width: 0;
}

.df-main > .df-card + .df-card {
  margin-top: 1.5rem;
}

.df-evidence {
  min-width: 0;
  overflow-wrap: anywhere;
}

.df-sidebar {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.df-sidebar .df-card {
  width: 100%;
  box-sizing: border-box;
}

.df-card {
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--app-border);
  border-radius: 0.9rem;
  background: var(--app-surface);
  box-shadow: var(--app-shadow);
}

.df-card-compact {
  padding: 1.25rem 1.5rem;
}

.df-grid.df-record-grid {
  align-items: start;
  grid-template-columns: minmax(0, 3fr) minmax(16rem, 1fr);
}

.df-record-grid .df-main {
  display: grid;
  gap: inherit;
  align-content: start;
}

.df-record-grid .df-main > .df-card + .df-card {
  margin-top: 0;
}

.df-record-metadata {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}

.df-record-grid .df-main .df-card {
  min-width: 0;
  overflow-wrap: anywhere;
}

.meeting-entry .df-record-grid .df-card {
  box-shadow: none;
}

@media (max-width: 760px) {
  .df-record-metadata {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .df-grid.df-record-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.df-linked-card {
  position: relative;
}

.df-linked-card > h2 {
  padding-right: 2rem;
}

.df-linked-card > .df-linked-card__add,
.df-linked-card > .df-linked-card__edit {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  min-height: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
}

.df-linked-card > .df-linked-card__edit {
  right: 3.25rem;
}

.df-linked-card--manage > h2 {
  padding-right: 4.5rem;
}

.df-linked-card__add i,
.df-linked-card__edit i {
  font-size: 1.25rem;
}

.df-linked-card__edit i {
  font-size: 1rem;
}

.df-sidebar-list {
  max-height: 16rem;
  margin: 0;
  padding: 0 0.75rem 0 1.25rem;
  overflow-y: auto;
  overflow-wrap: anywhere;
}

.df-sidebar-list li + li {
  margin-top: 0.5rem;
}

.operation-history-list,
.df-sidebar-list--plain {
  padding-left: 0;
  list-style: none;
}

.df-sidebar-list__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.df-sidebar-list__row > [aria-hidden="true"] {
  flex: none;
}

.df-sidebar-list__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.df-attachment-list a.file-preview-link {
  min-width: 0;
  color: var(--app-teal-dark);
  font-weight: 500;
  overflow-wrap: anywhere;
}

.attachment-popup__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0 0 1rem;
  border-bottom: 1px solid var(--app-border);
}

.attachment-popup [hidden] {
  display: none;
}

.attachment-popup__tabs button {
  padding: 0.45rem 0.65rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: var(--app-surface);
  color: var(--app-teal-dark);
  font: inherit;
  cursor: pointer;
}

.attachment-popup__tabs button[aria-selected="true"] {
  border-bottom-color: var(--app-teal-dark);
  font-weight: 700;
}

.attachment-popup__selection {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

.attachment-popup__selection li,
.attachment-popup__linked li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.75rem;
  overflow-wrap: anywhere;
}

.attachment-popup__linked li {
  justify-content: space-between;
  align-items: center;
}

.report-status-event,
.df-comment-event {
  margin-top: 0.75rem;
}

.report-status-event p,
.df-comment-event p {
  margin: 0.25rem 0 0;
}

.report-status-meta,
.df-comment-meta {
  color: var(--app-muted);
  font-size: 0.85rem;
}

.report-status-comment,
.df-comment-content {
  white-space: pre-wrap;
}

.operation-revision-select {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.operation-revision-select select {
  min-width: 0;
  flex: 1;
}

.operation-revision-select button {
  flex-shrink: 0;
}

.status-route-members {
  grid-template-columns: minmax(0, 1fr);
}

.status-route .status-route-members li {
  align-items: flex-start;
}

.status-route .status-route-members li + li {
  margin-top: 0.75rem;
}

.status-route-members li > div {
  min-width: 0;
  flex: 1;
}

.operation-review-evidence {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.df-card--warning {
  border-color: #d8bd82;
  background: #fff7e5;
  color: #704d16;
}

.df-card--warning h2 {
  color: inherit;
}

.report-tracking-card {
  box-sizing: border-box;
  margin-top: 1.5rem;
  width: calc((100% - 1.5rem) * 0.75);
}

.contacts-edit-persons-card {
  box-sizing: border-box;
  margin-top: 1.5rem;
  width: calc((100% - 1.5rem) * 0.75);
}

.df-card h2 {
  margin-top: 0;
  font-size: 1.05rem;
}

.messages-page .df-grid {
  grid-template-columns: minmax(0, 3fr) minmax(15rem, 1fr);
  align-items: start;
}

.messages-page .df-sidebar,
.messages-page .df-field {
  min-width: 0;
}

.messages-page .df-main > .df-actions:not(:first-child) {
  margin-top: 1.5rem;
}

.messages-conversation-entry {
  margin-top: 1.5rem;
}

.messages-conversation-entry + .messages-conversation-entry {
  padding-top: 1.5rem;
  border-top: 1px solid var(--app-border);
}

.messages-folders {
  margin: 0;
  padding: 0;
  list-style: none;
}

.messages-folders a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0;
  color: var(--app-muted);
  text-decoration: none;
}

.messages-folders a:hover,
.messages-folders a[aria-current="page"] {
  color: var(--app-ink);
  font-weight: 600;
}

.messages-folder-count {
  margin-left: auto;
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

.meeting-status-workflow {
  margin-top: 1rem;
}

.meeting-status-controls .meeting-status-controls__buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.meeting-status-controls__buttons .df-btn {
  min-width: 0;
  white-space: normal;
}

.meeting-status-controls .meeting-status-controls__info {
  margin: 0.35rem 0 0;
  color: var(--app-muted);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.meeting-status-controls .meeting-inline-form > div {
  min-width: 0;
}

.meeting-status-controls .meeting-inline-form {
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 1rem;
}

.meeting-status-controls > .page-notice--warning {
  margin-bottom: 0.35rem !important;
}

.meeting-status-controls > .page-notice--warning a {
  color: inherit;
  text-decoration: underline;
}

.meeting-status-controls > .page-notice--warning ~ .meeting-inline-form {
  margin-top: 0.25rem;
}

.meeting-status-controls .meeting-inline-form select {
  display: block;
  max-width: 100%;
}

.meeting-status-workflow__stage {
  margin: 0;
}

.meeting-status-workflow__stage + .meeting-status-workflow__stage {
  margin-top: 0.7rem;
}

.meeting-status-workflow__stage > summary {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: center;
  cursor: pointer;
  color: var(--app-muted);
  list-style: none;
}

.meeting-status-workflow__stage > summary::-webkit-details-marker {
  display: none;
}

.meeting-status-workflow__stage > summary::marker {
  content: '';
}

.meeting-status-workflow__stage > summary span {
  display: inline-grid;
  width: 1.65rem;
  height: 1.65rem;
  place-items: center;
  border: 1px solid var(--app-border);
  border-radius: 50%;
  background: var(--app-surface);
  font-size: 0.75rem;
  font-weight: 700;
}

.meeting-status-workflow__stage > summary strong {
  color: inherit;
  font-size: 0.95rem;
}

.meeting-status-workflow__stage > summary em {
  grid-column: 2;
  color: var(--app-muted);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 400;
}

.meeting-status-workflow__stage.is-complete > summary { color: var(--app-teal-dark); }
.meeting-status-workflow__stage.is-complete > summary span { border-color: var(--app-teal); background: var(--app-teal); color: #fff; }
.meeting-status-workflow__stage.is-current > summary { color: var(--app-ink); }
.meeting-status-workflow__stage.is-current > summary span { border-color: var(--app-coral); background: var(--app-coral); color: #fff; }

.meeting-status-workflow__stage > ol {
  display: grid;
  gap: 0.45rem;
  margin: 0.65rem 0 0 1rem;
  padding: 0;
  list-style: none;
}

.meeting-status-workflow__stage li {
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: start;
  color: var(--app-muted);
  font-size: 0.88rem;
}

.meeting-status-workflow__stage li > span {
  display: inline-grid;
  width: 1.1rem;
  height: 1.1rem;
  place-items: center;
  border: 1px solid var(--app-border);
  border-radius: 50%;
  background: var(--app-surface);
  font-size: 0.6rem;
  font-weight: 700;
  margin-top: 0.1rem;
}

.meeting-status-workflow__stage li > div {
  min-height: 1.1rem;
  line-height: 1.1rem;
}

.meeting-status-workflow__members,
.status-route-members {
  display: grid;
  gap: 0.25rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

.meeting-status-workflow__members,
.status-route-members {
  line-height: normal;
}

.meeting-status-workflow__members li,
.status-route-members li {
  display: flex;
  grid-template-columns: none;
  gap: 0.35rem;
  align-items: center;
  color: var(--app-muted);
  font-size: 0.85rem;
  font-weight: 400;
}

.meeting-status-workflow__members li.is-approved,
.status-route-members li.is-approved { color: var(--app-teal-dark); }
.meeting-status-workflow__members li.needs-account i { color: var(--app-coral); }
.meeting-status-workflow__members i,
.status-route-members i { font-size: 1rem; }

.meeting-status-workflow__stage li.is-complete { color: var(--app-teal-dark); }
.meeting-status-workflow__stage li.is-complete > span { border-color: var(--app-teal); background: var(--app-teal); color: #fff; }
.meeting-status-workflow__stage li.is-current { color: var(--app-ink); font-weight: 700; }
.meeting-status-workflow__stage li.is-current > span { border-color: var(--app-coral); background: var(--app-coral); color: #fff; }
.meeting-status-workflow .df-meta-empty { margin: 1rem 0 0; font-size: 0.82rem; }

.df-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.df-card-actions {
  margin-bottom: 0;
}

.file-apartment-link-form {
  margin-top: 1.25rem;
}

.meeting-minutes-approval-action {
  margin-top: 0.75rem;
}

.meeting-minutes-approval-action form {
  width: 100%;
}

.meeting-minutes-approval-action .df-btn-block {
  width: 100%;
  justify-content: center;
}

.meeting-minutes-decision-actions {
  display: flex;
  gap: 0.5rem;
}

.meeting-minutes-decision-actions .df-btn {
  flex: 1 1 0;
}

.meeting-minutes-approval-invalid {
  display: flex;
  gap: 0.45rem;
  margin: 1rem 0;
  padding: 0.7rem 0.8rem;
  border-left: 3px solid var(--app-coral);
  background: #fff4f1;
  color: #8f3f31;
  font-size: 0.9rem;
}

.meeting-sidebar-actions .df-btn {
  flex: 1 1 0;
  justify-content: center;
  min-width: 0;
}

.meeting-review-actions {
  align-items: stretch;
  flex-wrap: nowrap;
}

.meeting-review-actions .df-btn {
  padding-right: 0.35rem;
  padding-left: 0.35rem;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

.meeting-review-popup > section + section {
  margin-top: 1.5rem;
}

.meeting-review-popup > .meeting-review-popup__roster {
  padding: 1rem;
  border: 1px solid var(--app-border);
  border-radius: 0.55rem;
  background: var(--app-background);
}

.meeting-review-popup__roster > h2 {
  margin-top: 0;
}

.meeting-workflow-sections {
  width: 100%;
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.meeting-workflow-section > h2 {
  margin: 0 0 0.75rem;
  color: var(--app-navy);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 1.25rem;
}

.meeting-workflow-section {
  container-type: inline-size;
}

.meeting-workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.meeting-workflow-grid > .df-card {
  display: flex;
  flex-direction: column;
}

.meeting-workflow-grid > .df-card > .df-actions,
.meeting-workflow-grid > .df-card > form > .df-actions {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 1rem;
}

/* Card forms (e.g. Extra bijlagen) fill the card so their action row also sits at the bottom. */
.meeting-workflow-grid > .df-card > form {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.meeting-workflow-grid > .df-card > .meeting-minutes-approval-action {
  margin-top: 0.75rem;
  padding-top: 0;
}

.meeting-workflow-grid > .df-card > .meeting-minutes-approval-action:empty {
  display: none;
}

@container (max-width: 44rem) {
  .meeting-workflow-grid {
    grid-template-columns: 1fr;
  }
}

.df-btn-secondary,
a.df-btn-secondary,
.btn-secondary,
a.btn-secondary {
  background: var(--app-background);
  color: var(--app-ink);
  border: 1px solid var(--app-border);
}

.df-btn-secondary:hover,
.btn-secondary:hover {
  background: #e2e8e2;
  color: var(--app-ink);
}

.mail-template-editor {
  border: 1px solid var(--app-border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--app-surface);
}

.mail-template-editor__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  padding: 0.4rem;
  border-bottom: 1px solid var(--app-border);
  background: var(--app-background);
}

.mail-template-editor__toolbar .df-btn {
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  font-size: 1.25rem;
}

.mail-template-editor__toolbar .mail-template-editor__toggle {
  margin-left: auto;
}

.mail-template-editor__fields {
  position: fixed;
  z-index: 1000;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(56rem, calc(100vw - 16px));
  min-width: 0;
  padding: 0.75rem;
  overflow: auto;
  border: 1px solid var(--app-border);
  border-radius: 8px;
  background: var(--app-surface);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.mail-template-editor__fields[hidden] {
  display: none;
}

.mail-template-editor__field {
  display: block;
  margin: 0;
  padding: 0.65rem 0.75rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--app-ink);
  font: inherit;
  text-align: left;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.mail-template-editor__field:hover,
.mail-template-editor__field:focus-visible {
  background: #e8f0e9;
  color: #26352d;
}

@media (max-width: 600px) {
  .mail-template-editor__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.df-field .mail-template-editor__source {
  font-family: "Courier New", Courier, monospace;
  margin: 0;
  border: 0;
  border-radius: 0;
  min-height: 28rem;
}

.mail-template-editor__visual {
  width: 100%;
  min-height: 28rem;
  display: block;
  border: 0;
  border-radius: 0;
  background: var(--app-surface);
}

.mail-template-editor__visual[hidden],
.df-field .mail-template-editor__source[hidden] {
  display: none;
}

.df-btn-primary,
a.df-btn-primary,
.btn-primary,
a.btn-primary,
.btn-success,
a.btn-success {
  background: var(--app-teal);
  color: #fff;
}

.df-btn-primary:hover,
.btn-primary:hover,
.btn-success:hover {
  background: var(--app-teal-dark);
  color: #fff;
}

.df-btn-danger,
a.df-btn-danger,
button.red,
input[type="submit"].delete {
  background: #b42318;
  color: #fff;
}

.df-btn-danger:hover,
button.red:hover,
input[type="submit"].delete:hover {
  background: #8f1d14;
  color: #fff;
}

.meeting-entry-actions button[onclick*='stemronde sluiten'] {
  background: #b42318;
  color: #fff;
  border-color: #b42318;
}

.meeting-entry-actions button[onclick*='stemronde sluiten']:hover {
  background: #8f1d14;
  color: #fff;
  border-color: #8f1d14;
}

.df-btn-block {
  display: flex;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

:is(button, input[type="submit"], .df-btn, .btn):is(:disabled, [disabled], .disabled, [aria-disabled="true"]) {
  background: var(--app-background);
  border-color: var(--app-border);
  color: var(--app-ink);
  box-shadow: none;
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.site-config {
  max-width: 760px;
}

.site-config--view-as {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.site-config__form {
  padding: 0;
  overflow: hidden;
}

.site-config__setting {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--app-border);
}

.site-config__setting label {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--app-navy);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.site-config__setting p {
  margin: 0;
  color: var(--app-muted);
  font-size: 0.9rem;
}

.site-config__setting select {
  min-width: 180px;
  padding: 0.5rem 0.7rem;
}

.site-config__actions {
  justify-content: flex-end;
  margin: 0;
  padding: 1.25rem 1.5rem;
}

.availability-settings {
  margin-top: 2rem;
}

.availability-settings__form {
  padding: 1.25rem;
}

.availability-settings__row {
  min-width: 0;
  margin: 0 0 1rem;
  padding: 0.75rem 0 1rem;
  border: 0;
  border-bottom: 1px solid var(--app-border);
}

.availability-settings__row legend {
  padding: 0;
  color: var(--app-navy);
  font-weight: 700;
  font-size: 1rem;
}

.availability-settings__row--site {
  padding: 0.75rem 1rem 1rem;
  border: 1px solid var(--app-border);
  border-radius: 0.45rem;
  background: var(--app-background);
}

.availability-settings__row--site legend {
  padding: 0 0.35rem;
}

.availability-settings__status {
  margin: 0 0 0.75rem;
  color: var(--app-muted);
  font-size: 0.85rem;
}

.availability-settings__fields {
  display: grid;
  grid-template-columns: minmax(10rem, 1fr) minmax(15rem, 1.2fr) minmax(12rem, 2fr);
  gap: 1rem;
}

.availability-settings__fields .df-field {
  min-width: 0;
}

.availability-settings__actions {
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .availability-settings__fields {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .site-config__setting,
  .site-config__setting--select {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .site-config__setting select {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .site-config--view-as {
    grid-template-columns: 1fr;
  }
}

.df-msg {
  color: var(--app-muted);
  font-size: 0.9rem;
}

.tree-check-list {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  max-height: 13rem;
  overflow-y: auto;
  padding: .4rem .6rem;
  border: 1px solid var(--app-border, #c9d3cb);
  border-radius: 6px;
  background: #fff;
}

.tree-check-list label,
.df-field .tree-check-list label {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-height: 1.9rem;
  font-weight: normal;
  cursor: pointer;
}

.tree-check-list input {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
}

.df-fields {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem 1.25rem;
}

fieldset.df-fields {
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.df-field-quarter {
  grid-column: span 1;
}

.df-field-half {
  grid-column: span 2;
}

.df-field-3quarter {
  grid-column: span 3;
}

.df-field-full {
  grid-column: 1 / -1;
}

.df-section {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--app-border);
}

.df-section h2 {
  margin: 0;
  color: var(--app-navy);
  font-size: 1.05rem;
}

.df-field {
  min-width: 0;
}

.df-field label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--app-navy);
  font-size: 0.9rem;
  font-weight: 600;
}

.df-required {
  margin-left: 0.25rem;
  color: var(--app-coral);
}

.df-field input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not(.select2-search__field):not(.df-native-datetime-picker),
.df-field select,
.df-field textarea,
.meeting-inline-form input:not([type=checkbox], [type=radio], [type=hidden]),
.meeting-inline-form select,
.meeting-entry-form input:not([type=checkbox], [type=radio], [type=hidden]),
.meeting-entry-form select,
.meeting-entry-form textarea,
.meeting-minute-form input:not([type=checkbox], [type=radio], [type=hidden]),
.meeting-minute-form select,
.meeting-minute-form textarea,
.meeting-participant-field select,
.meeting-file-input {
  width: 100%;
  height: 2.6rem;
  box-sizing: border-box;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--app-border);
  border-radius: 0.45rem;
  background: var(--app-surface);
  color: var(--app-ink);
  font: inherit;
}

/* File inputs keep the 2.6rem field height; the :not() chain matches the generic field rule's specificity so this later rule wins. */
.df-field input[type=file]:not([type=checkbox]):not([type=radio]):not(.select2-search__field):not(.df-native-datetime-picker),
.meeting-file-input {
  display: block;
  height: 2.6rem;
  padding: calc((2.6rem - 2px - 1.8rem) / 2) 0.35rem;
  line-height: 1.8rem;
  cursor: pointer;
}

.df-field input[type=file]::file-selector-button,
.meeting-file-input::file-selector-button {
  height: 1.8rem;
  margin: 0 0.65rem 0 0;
  padding: 0 0.7rem;
  border: 0;
  border-radius: 0.3rem;
  background: var(--app-navy);
  color: var(--app-surface);
  font: inherit;
  font-size: 0.85em;
  line-height: 1.8rem;
  vertical-align: middle;
  cursor: pointer;
}

.df-field textarea,
.meeting-entry-form textarea,
.meeting-minute-form textarea {
  height: auto;
  min-height: 8rem;
}

.df-field input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not(.select2-search__field):not(.df-native-datetime-picker):focus,
.df-field select:focus,
.df-field textarea:focus,
.meeting-inline-form input:not([type=checkbox], [type=radio], [type=hidden]):focus,
.meeting-inline-form select:focus,
.meeting-entry-form input:not([type=checkbox], [type=radio], [type=hidden]):focus,
.meeting-entry-form select:focus,
.meeting-entry-form textarea:focus,
.meeting-minute-form input:not([type=checkbox], [type=radio], [type=hidden]):focus,
.meeting-minute-form select:focus,
.meeting-minute-form textarea:focus,
.meeting-participant-field select:focus {
  outline: 2px solid rgba(82, 122, 91, 0.2);
  border-color: var(--app-teal);
}

input[type="checkbox"],
input[type="radio"] {
  appearance: none;
  display: inline-grid;
  place-content: center;
  box-sizing: border-box;
  width: 1.25rem;
  height: 1.25rem;
  min-height: 0;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  vertical-align: middle;
  border: 1px solid var(--app-border);
  border-radius: 0.3rem;
  background: var(--app-surface);
  color: var(--app-ink);
  cursor: pointer;
}

input[type="radio"] {
  border-radius: 50%;
}

input[type="checkbox"]:checked::before {
  content: "";
  width: 0.3rem;
  height: 0.6rem;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateY(-0.08rem) rotate(45deg);
}

input[type="checkbox"]:indeterminate::before {
  content: "";
  width: 0.65rem;
  height: 2px;
  border: 0;
  background: currentColor;
  transform: none;
}

input[type="radio"]:checked::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: currentColor;
}

body label:has(input:is([type="checkbox"], [type="radio"])),
body input:is([type="checkbox"], [type="radio"]) + label,
body .site-config__setting:has(> input[type="checkbox"]) label,
body .meeting-entry-form label.meeting-decision-check {
  font-family: "DM Sans", Arial, sans-serif;
  font-size: inherit;
  font-weight: inherit;
  font-style: normal;
  color: var(--app-ink);
}

body label.meeting-decision-check:has(> input[type="checkbox"]:disabled) {
  color: var(--app-muted);
  cursor: not-allowed;
}

@media (forced-colors: active) {
  input[type="checkbox"],
  input[type="radio"] {
    appearance: auto;
  }

  input:is([type="checkbox"], [type="radio"])::before {
    content: none;
  }
}

input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible {
  outline: 2px solid var(--app-teal);
  outline-offset: 2px;
}

:is(input:not([type="submit"], [type="button"], [type="reset"], [type="image"]), select, textarea):disabled,
input[readonly]:not([id$="_select"]),
textarea[readonly],
.select2.select2-container.select2-container--disabled .select2-selection {
  border-color: var(--app-border);
  background: var(--app-surface);
  color: var(--app-ink);
  -webkit-text-fill-color: var(--app-ink);
  opacity: 0.7;
  cursor: not-allowed;
  box-shadow: none;
  outline: none;
}

.select2.select2-container.select2-container--disabled .select2-selection__rendered,
.select2.select2-container.select2-container--disabled .select2-selection__choice,
.select2.select2-container.select2-container--disabled .select2-search__field {
  color: inherit;
  -webkit-text-fill-color: inherit;
  opacity: 1;
  cursor: not-allowed;
}

:is(.df-field input[type="file"], .meeting-file-input):disabled::file-selector-button {
  background: var(--app-background);
  color: var(--app-ink);
  cursor: not-allowed;
}

.df-date-control {
  position: relative;
}

.df-color-control {
  position: relative;
  min-width: 0;
}

.df-color-control input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not(.select2-search__field):not(.df-native-datetime-picker) {
  width: 100%;
  min-width: 0;
  padding-left: 2.5rem;
  padding-right: 2.8rem;
  font-family: "Courier New", Courier, monospace;
}

.df-color-swatch {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  box-sizing: border-box;
  border: 1px solid #000;
  vertical-align: middle;
}

.df-color-control .df-color-swatch {
  position: absolute;
  left: 0.75rem;
  top: 0.8rem;
  pointer-events: none;
}

.df-native-color-picker {
  position: absolute;
  top: 0;
  right: 0;
  width: 2.6rem;
  height: 2.6rem;
  opacity: 0;
  pointer-events: none;
}

.df-date-control input[type=text] {
  width: 100%;
  min-width: 0;
  padding-right: 2.8rem;
}

.df-date-button {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0 0.45rem 0.45rem 0;
  appearance: none;
  background: transparent;
  color: var(--app-teal-dark);
  box-shadow: none;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  transform: none;
  transition: color 160ms ease;
}

.df-date-button:hover:not(:disabled) {
  background: transparent;
  color: var(--app-navy);
  box-shadow: none;
  transform: none;
}

button.df-date-button:disabled {
  background: transparent;
  cursor: not-allowed;
  opacity: 0.6;
}

.df-date-control input.df-native-datetime-picker,
.df-date-control input.df-native-datetime-picker:disabled {
  position: absolute;
  right: 0;
	top: 0;
	z-index: 1;
	width: 2.6rem;
	height: 2.6rem;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.df-check-inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.6rem;
  font-weight: 400 !important;
}

.df-field-error input[type=text],
.df-field-error input[type=number],
.df-field-error select,
.df-field-error textarea {
  border-color: var(--app-coral);
  background: #fbefec;
}

.df-error-msg {
  margin: 0.35rem 0 0;
  color: #8f4034;
  font-size: 0.85rem;
}

.df-meta {
  margin: 0;
  font-size: 0.9rem;
}

.df-meta dt {
  color: var(--app-muted);
}

.df-meta dd {
  margin: 0 0 0.6rem;
  color: var(--app-ink);
}

.df-meta .page-notice--persistent,
.messages-page .messages-availability-notice {
  margin: 0 !important;
}

.df-meta .page-notice--persistent,
.messages-page .messages-availability-notice,
.page-notice--compact {
  padding: 0.65rem 0.8rem;
  font-size: 0.9rem;
  text-align: left;
  overflow-wrap: anywhere;
}

.df-meta-empty {
  margin: 0;
  color: var(--app-muted);
  font-size: 0.85rem;
}

.meeting-task-meta {
  display: grid;
  grid-template-columns: minmax(8rem, 12rem) minmax(0, 1fr);
  gap: 0;
  margin: 0.5rem 0 0 0.8rem;
  font-size: 0.88rem;
}

.meeting-task-meta dt,
.meeting-task-meta dd {
  margin: 0;
  padding: 0.45rem 0;
}

.meeting-task-meta dt {
  padding-right: 1rem;
  font-weight: 600;
}

.meeting-task-meta dd {
  min-width: 0;
  overflow-wrap: anywhere;
}

.meeting-task-meta a {
  color: var(--app-teal-dark);
  font-weight: 600;
  text-decoration: none;
}

.meeting-task-meta a:hover {
  text-decoration: underline;
}

@media (max-width: 560px) {
  .meeting-task-meta {
    grid-template-columns: 1fr;
  }

  .meeting-task-meta dt {
    padding-bottom: 0.15rem;
    border-bottom: 0;
  }

  .meeting-task-meta dd {
    padding-top: 0;
  }
}

.df-card > form > label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--app-navy);
  font-size: 0.9rem;
  font-weight: 600;
}

.df-card > form > select {
  width: 100%;
  height: 2.6rem;
  box-sizing: border-box;
  margin-bottom: 0.75rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--app-border);
  border-radius: 0.45rem;
  background: var(--app-surface);
  color: var(--app-ink);
  font: inherit;
}

.dl-entity-filter {
  width: auto;
  min-width: 0;
  min-height: 2.5rem;
  padding: 0.45rem 2rem 0.45rem 0.75rem;
  vertical-align: middle;
  font-weight: 600;
}

.dl-toolbar-controls-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.dl-toolbar-controls-inner .dl-entity-filter {
  flex: 0 1 auto;
}

.dl-toolbar-search {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.dl-toolbar-search .has-search,
.dl-toolbar-search .form-control {
  width: 100%;
  box-sizing: border-box;
}

.meeting-edit-sections {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.meeting-entry-children {
  display: grid;
  gap: 1rem;
  padding-right: 1.1rem;
  padding-bottom: 1.1rem;
}

.meeting-edit-section,
.meeting-entry {
  border: 1px solid var(--app-border);
  border-radius: 0.7rem;
  background: var(--app-surface);
}

.meeting-edit-section > summary,
.meeting-entry > summary {
  padding: 0.9rem 1.1rem;
  color: var(--app-navy);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
}

.meeting-entry > summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.75rem 0.75rem 1rem;
  border-bottom: 1px solid transparent;
  overflow-wrap: anywhere;
  list-style: none;
}

.meeting-entry > summary::-webkit-details-marker {
  display: none;
}

.meeting-entry > summary::before {
  flex: 0 0 auto;
  width: 0.4rem;
  height: 0.4rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(-45deg);
}

.meeting-entry[open] > summary {
  border-bottom-color: var(--app-border, #d4ded4);
}

.meeting-entry[open] > summary::before {
  transform: rotate(45deg);
}

.meeting-entry > summary .meeting-vote-badge {
  flex: 0 1 auto;
  float: none;
  margin-left: auto;
  overflow-wrap: normal;
}

.meeting-entry > summary .meeting-vote-badge ~ .meeting-vote-badge {
  margin-left: 0;
}

details.meeting-entry > .meeting-edit-section__body {
  padding-top: 1rem;
}

/* Meeting detail: Gegevens and Bijlagen side by side, attachments list scrolls internally */
.meeting-detail-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.meeting-detail-row > .dash-panel {
  min-width: 0;
  box-sizing: border-box;
}

.meeting-attachments-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.meeting-attendance-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.meeting-detail-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-height: 2.5rem;
  margin-bottom: 0.75rem;
}

.meeting-detail-row > .dash-panel > .meeting-detail-card__header h2,
.meeting-detail-card__header > .df-btn {
  margin: 0;
}

.meeting-attendance-list__status {
  flex: 0 0 auto;
  margin-right: 0.45rem;
  font-size: 1.1rem;
}

.meeting-attendance-list {
  overflow-x: hidden;
}

.meeting-attendance-list li {
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.meeting-attendance-list li.is-present .meeting-attendance-list__status { color: var(--app-teal-dark); }
.meeting-attendance-list li.is-proxy .meeting-attendance-list__status { color: #c4b429; }
.meeting-attendance-list li.is-absent .meeting-attendance-list__status { color: #c53030; }
.meeting-attendance-list .meeting-attachments-list__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meeting-attendance-list small {
  color: var(--app-muted);
  font-size: 0.8rem;
}

.meeting-attachments-list {
  flex: 1 1 0;
  height: 0;
  min-height: 0;
  overflow-y: auto;
  margin: 0;
  padding: 0 0.25rem 0 0;
  list-style: none;
}

.meeting-attachments-list li {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--app-border);
}

.meeting-attachments-list li:last-child {
  border-bottom: none;
}

.meeting-attachments-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  color: var(--app-teal-dark);
  font-weight: 500;
  text-decoration: none;
}

.meeting-attachments-list a:hover .meeting-attachments-list__name {
  text-decoration: underline;
}

.meeting-attachments-list__name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meeting-attachments-list__refs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem;
}

.meeting-attachments-list__ref,
.meeting-attachments-list .meeting-vote-badge--attachments {
  flex-shrink: 0;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: none;
}

.meeting-attachments-list .meeting-vote-badge--attachments {
  font-variant: small-caps;
}

.meeting-attachments-list__ref {
  background: var(--app-background);
  color: var(--app-muted);
}

@media (max-width: 760px) {
  .meeting-detail-row {
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
    min-width: 0;
  }

  .meeting-detail-row > .dash-panel {
    width: 100%;
    padding: 1rem;
    border-radius: 0.65rem;
  }

  .meeting-detail-row > .dash-panel h2 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
  }

  .meeting-detail-row .df-meta {
    font-size: 0.82rem;
  }

  .meeting-detail-row .df-meta dd {
    margin-bottom: 0.45rem;
    overflow-wrap: anywhere;
  }

  .meeting-attachments-list a {
    align-items: center;
    flex-wrap: nowrap;
    font-size: 0.82rem;
  }

  .meeting-attachments-list {
    flex: 0 1 auto;
    height: auto;
    max-height: 16rem;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .meeting-attachments-list__name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .meeting-attachments-list__refs {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
    padding-left: 0;
  }

  .meeting-attachments-list__ref,
  .meeting-attachments-list .meeting-vote-badge--attachments {
    font-size: 0.68rem;
  }
}

.meeting-edit-section__body {
  display: grid;
  gap: 1rem;
  padding: 0 1.1rem 1.1rem;
}

.report-submit {
  justify-self: start;
}

.report-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.meeting-inline-form,
.meeting-entry-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  align-items: end;
}

.meeting-inline-form {
  grid-template-columns: minmax(14rem, 1fr) auto;
}

.meeting-entry {
  padding-bottom: 1rem;
}

details.meeting-entry {
  padding-bottom: 0;
}

.meeting-minute-item {
  display: grid;
  gap: 0.75rem;
  padding: 0.75rem 0;
}

.meeting-minutes-entry .meeting-minute-item:first-child {
  padding-top: 0;
}

.meeting-minutes-entry .meeting-minute-item:first-child > p {
  margin-top: 0.35rem;
}

.meeting-minutes-entry {
  padding-bottom: 0;
}

.meeting-minutes-entry > .meeting-edit-section__body {
  gap: 0;
  padding-bottom: 0.6rem;
}

.meeting-minutes-entry .meeting-minute-item {
  margin-bottom: 0.35rem;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

.meeting-minutes-entry .meeting-minute-item > p {
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
}

.meeting-minutes-entry .meeting-minute-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.meeting-minute-approval,
.meeting-minute-decision {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: end;
}

.meeting-minute-approval label,
.meeting-minute-decision label {
  display: grid;
  gap: 0.3rem;
  flex: 1 1 14rem;
}

.meeting-minute-comment {
  display: grid;
  gap: 0.45rem;
}

.meeting-minute-comment .df-btn {
  justify-self: start;
}

.meeting-minute-comment {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.meeting-minute-comment input[type='text'] {
  flex: 1 1 auto;
  min-width: 0;
}

.meeting-minute-comment .df-btn {
  flex: 0 0 auto;
}

@media (max-width: 620px) {
  .meeting-minute-comment {
    align-items: stretch;
    flex-direction: column;
  }

  .meeting-minute-comment .df-btn {
    align-self: flex-start;
  }
}

.meeting-minute-comment-toggle > summary {
  width: fit-content;
  color: var(--app-teal-dark);
  font-weight: 600;
  cursor: pointer;
}

.meeting-minute-comment-toggle[open] > summary {
  margin-bottom: 0.7rem;
}

.meeting-owner-comment {
  padding: 0.75rem 0.9rem;
  border-left: 3px solid var(--app-teal);
  background: #f5f8f4;
}

.meeting-owner-comment p { margin: 0.4rem 0; }
.meeting-owner-comment__meta { color: var(--app-teal-dark); font-size: 0.85rem; }
.meeting-board-decision { color: var(--app-teal-dark); }

.meeting-decision-title {
  color: var(--app-navy);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-weight: 600;
}

.meeting-decision-entry > .meeting-edit-section__body {
  gap: 0.35rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.meeting-decision-content {
  margin: 0;
}

.meeting-decision-card {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem 1rem;
}

.meeting-decision-card__title {
  margin: 0 0 0.65rem;
}

.meeting-decision-card__content {
  margin: 0;
  white-space: pre-wrap;
}

.meeting-decision-card__meta {
  margin: 0.65rem 0 0;
}

.meeting-entry-form {
  display: grid;
  grid-template-columns: 10.5rem minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 0.8rem;
  align-items: end;
  margin: 0 1rem 0.75rem;
}

.meeting-entry-form--agenda {
  grid-template-columns: 10.5rem minmax(0, 1.25fr) minmax(0, 1fr) auto;
}

.meeting-entry-form > div,
.meeting-entry-form > label {
  margin: 0;
}

.meeting-entry-form > .meeting-entry-form__wide {
  grid-column: 1 / -1;
}

.meeting-entry-form > .df-btn-primary {
  justify-self: start;
}

.meeting-entry-actions {
  display: flex;
  grid-column: 1 / -1;
  gap: 0.8rem;
  align-items: center;
  margin: 0;
}

.meeting-entry-actions form:has(select[name='vote_method']) {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.meeting-entry-actions form:has(select[name='vote_method']) .df-btn-primary {
  order: 1;
}

.meeting-entry-actions form:has(select[name='vote_method']) select {
  order: 2;
}

.meeting-entry:not(:has(.meeting-vote-badge--draft)) .meeting-entry-actions > a[href*='&edit='] {
  display: none;
}

.meeting-entry > .meeting-entry-actions {
  margin: 0 1rem 1rem;
}

.meeting-vote-results {
  margin: 0 1rem 1rem;
  padding: 1rem;
  border: 1px solid var(--app-border);
  border-radius: 0.55rem;
  background: var(--app-background);
}

.meeting-vote-results .result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.75rem 0 0.35rem;
}

.meeting-vote-results .result-row strong {
  font-weight: inherit;
}

.meeting-vote-results .bar {
  height: 0.75rem;
  overflow: hidden;
  border-radius: 999px;
  background: #dce5dc;
}

.meeting-vote-results .bar > span {
  display: block;
  height: 100%;
  background: var(--app-teal);
}

.meeting-vote-results .participation-bar > span {
  background: var(--app-coral);
}

.meeting-vote-results .vote-count-bar > span {
  background: #d89a35;
}

.meeting-vote-results .participation-bar + .result-row + .bar > span {
  background: #d89a35;
}

.meeting-vote-result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.42fr);
  gap: 1rem;
  align-items: stretch;
}

.meeting-vote-result-layout .meeting-vote-results {
  margin: 0;
}

.meeting-my-vote-card {
  padding: 1rem;
  border: 1px solid var(--app-border);
  border-radius: 0.55rem;
  background: var(--app-background);
}

.meeting-my-vote-card h3 {
  margin: 0 0 0.75rem;
  color: var(--app-navy);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 1rem;
}

.meeting-my-vote-card h4 {
  margin: 1rem 0 0.65rem;
  color: var(--app-teal-dark);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.meeting-my-vote-card dl {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.35rem 0.75rem;
  margin: 0 0 0.85rem;
}

.meeting-my-vote-card dl:last-child {
  margin-bottom: 0;
}

.meeting-my-vote-card dt {
  color: var(--app-muted);
  font-size: 0.8rem;
}

.meeting-my-vote-card dd {
  min-width: 0;
  margin: 0;
  color: var(--app-ink);
  font-size: 0.85rem;
}

.meeting-my-vote-card__hash {
  overflow-wrap: anywhere;
  font-family: Consolas, "Courier New", monospace;
}

@media (max-width: 760px) {
  .meeting-vote-result-layout {
    grid-template-columns: 1fr;
  }
}

.meeting-vote-badge {
  float: right;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.meeting-vote-badge--open {
  background: #dcebdd;
  color: #315b3b;
}

.meeting-vote-badge--draft {
  background: #e2e8f0;
  color: #334155;
}

.meeting-vote-badge--closed {
  background: #dcebdd;
  color: #315b3b;
}

.meeting-vote-badge--review {
  background: #f4dfda;
  color: #8f4034;
}

.meeting-vote-badge--attachments {
  background: #e8efe9;
  color: var(--app-teal-dark);
}

.meeting-vote-badge--action-required {
  background: #f4dfda;
  color: #8f4034;
  float: none;
  white-space: nowrap;
}

.task-priority-list .dl-value-warning {
  color: #8f4034;
  font-weight: 700;
}

.meeting-vote-badge--database {
  background: var(--status-badge-background, #e2e8f0);
  color: var(--status-badge-text, #000000);
}

.meeting-entry[id^="vote-subject-"] {
  scroll-margin-top: 5.5rem;
}

.meeting-vote-details {
  margin: 0 1rem 1rem;
  border: 1px solid var(--app-border);
  border-radius: 0.55rem;
  background: var(--app-background);
}

.meeting-manual-vote {
  margin: 0 1rem 1rem;
  padding: 1rem;
  border: 1px solid var(--app-border);
  border-radius: 0.55rem;
  background: var(--app-background);
}

.meeting-manual-vote > h2 {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.meeting-manual-vote .meeting-minute-form {
  margin: 0;
}

.meeting-call-vote-form {
  overflow-x: auto;
}

.meeting-call-vote-table {
  width: 100%;
  min-width: 620px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.meeting-call-vote-table th,
.meeting-call-vote-table td {
  padding: 0.7rem 0.6rem;
  border-bottom: 1px solid var(--app-border);
  text-align: left;
  vertical-align: middle;
  overflow-wrap: anywhere;
}

.meeting-call-vote-table th {
  color: var(--app-muted);
  font-size: 0.8rem;
}

.meeting-call-vote-table tbody tr:nth-child(even) td {
  background: rgba(82, 122, 91, 0.06);
}

.meeting-call-vote-table th:first-child { width: 18%; }
.meeting-call-vote-table th:nth-child(2) { width: 31%; }
.meeting-call-vote-table th:nth-child(3) { width: 31%; }
.meeting-call-vote-table th:last-child { width: 20%; }

.meeting-call-vote-table select {
  width: 100%;
  min-width: 8rem;
}

.meeting-vote-details > summary {
  padding: 0.85rem 1rem;
  color: var(--app-navy);
  font-weight: 600;
  cursor: pointer;
}

.meeting-linked-vote {
  margin: 0 1rem 1rem;
  border: 1px solid var(--app-border);
  border-radius: 0.55rem;
  background: var(--app-background);
}

.meeting-linked-vote > summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  color: var(--app-navy);
  font-weight: 600;
  cursor: pointer;
}

.meeting-linked-vote .meeting-vote-badge {
  margin-left: auto;
}

.meeting-linked-vote__body > p {
  margin: 0 1rem 1rem;
  white-space: pre-line;
}

.meeting-linked-vote__body > .meeting-entry-actions {
  margin: 0 1rem 1rem;
}

.meeting-vote-details__body {
  overflow-x: auto;
  padding: 0 1rem 1rem;
}

.meeting-vote-details table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.meeting-vote-details th,
.meeting-vote-details td {
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid var(--app-border);
  text-align: left;
  overflow-wrap: anywhere;
  vertical-align: top;
}

.meeting-vote-details th {
  color: var(--app-muted);
  font-size: 0.8rem;
}

.meeting-vote-hash {
  font-family: monospace;
  font-size: 0.78rem;
  word-break: break-all;
}

.meeting-entry--sub {
  margin-left: clamp(0.5rem, 1.5vw, 1.5rem);
}

.meeting-entry--nested {
  margin-left: clamp(1rem, 3vw, 3rem);
}

.meeting-minutes-entry.meeting-entry--nested {
  margin-left: 1.1rem;
}

.meeting-minutes-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
}

.meeting-minutes-heading h2 {
  margin: 0;
  font-size: 1rem;
}

.meeting-agenda-description {
  margin: 0 0 1rem;
  padding: 0 1rem;
  color: var(--app-muted);
}

.meeting-agenda-context {
  margin: 0 1rem 1rem;
  padding: 0.6rem 0.8rem;
  background: var(--app-background);
  border-left: 3px solid var(--app-teal);
  border-radius: 0 0.35rem 0.35rem 0;
  font-size: 0.9rem;
  color: var(--app-ink);
}

.meeting-entry-files {
  margin: 0.75rem 1rem 1rem;
  padding: 0.75rem 1rem;
  background: var(--app-background);
  border: 1px solid var(--app-border);
  border-radius: 0.45rem;
}

.meeting-entry-files__title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--app-navy);
  margin-bottom: 0.4rem;
}

.meeting-entry-files__list {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
}

.meeting-entry-files__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0;
  border-bottom: 1px dashed var(--app-border);
}

.meeting-entry-files__list li:last-child {
  border-bottom: none;
}

.file-links-card {
  margin-top: 1.5rem;
}

.meeting-file-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--app-teal-dark);
  font-weight: 500;
  text-decoration: none;
}

.meeting-file-link:hover {
  text-decoration: underline;
}

.meeting-agenda-context strong {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--app-teal-dark);
  margin-bottom: 0.3rem;
}

.meeting-agenda-context p {
  margin: 0;
}

.meeting-minute-panel {
  margin: 0 1rem 1rem;
  padding: 0.75rem 0.9rem;
  border-left: 3px solid #d69e2e;
  border-radius: 0 0.4rem 0.4rem 0;
  background: #fff8e6;
  color: var(--app-ink);
}

.meeting-minute-panel--deleted {
  border-left-color: #f0dcae;
  background: #fffdf7;
}

.meeting-minute-panel--deleted .meeting-minute-panel__header h3 {
  text-decoration: line-through;
}

.meeting-minute-panel[hidden] {
  display: none;
}

.meeting-minute-panel--new {
  border-left-color: var(--app-navy);
  background: #f1f4f7;
}

.meeting-minute-panel--new .meeting-minute-panel__header h3 {
  color: var(--app-navy);
}

.meeting-minute-panel--new .meeting-minute-panel__edit {
  border-top-color: rgba(38, 53, 45, 0.2);
}

.meeting-minutes-entry .meeting-minute-panel {
  margin: 0.5rem 0 0.5rem;
  padding-top: 0.5rem;
  border-left-color: #9ca3af;
  background: #f3f4f6;
}

.meeting-minutes-entry .meeting-minute-panel--plain {
  padding: 0.5rem 0.8rem;
  padding-top: 0.1rem;
  border-left: 0;
  border-radius: 0.35rem;
}

.meeting-minutes-entry .meeting-minute-panel .meeting-minute-panel__label {
  margin-top: -0.2rem;
}

.meeting-minutes-entry .meeting-minute-panel--decision {
  border-left-color: #d69e2e;
  background: #fff8e6;
}

.meeting-minute-panel__vote {
  margin-top: 0.75rem;
}

.meeting-minutes-entry .meeting-minute-comment-toggle > summary {
  color: #6b7280;
}

.meeting-minute-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(138, 90, 0, 0.2);
}

.meeting-minute-panel__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.45rem;
  min-width: 0;
}

.meeting-minute-panel__header h3 {
  margin: 0;
  color: #8a5a00;
  font-size: 0.95rem;
}

.meeting-minute-panel__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.35rem;
}

.meeting-minute-panel__actions form {
  display: flex;
  gap: 0.35rem;
}

.meeting-minute-panel__actions .df-btn {
  width: 2.25rem;
  min-height: 2.25rem;
  padding: 0;
  justify-content: center;
}

.meeting-minute-panel__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  border: 0;
  color: #72551c;
  font-size: 0.8rem;
}

.meeting-minute-panel__meta::before {
  content: '\2022';
}

.meeting-minute-panel__meta > span:empty::before {
  content: '\2022';
}

.meeting-minute-panel--deleted .meeting-minute-panel__meta::before {
  content: none;
}

.meeting-minute-panel__meta a {
  color: #7a4f00;
  font-weight: 600;
}

.meeting-minute-panel__files {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(138, 90, 0, 0.2);
  color: var(--app-muted);
  font-size: 0.82rem;
}

.meeting-minute-panel__files a {
  color: var(--app-teal-dark);
  text-decoration: none;
}

.meeting-minute-panel__files a:hover {
  text-decoration: underline;
}

.meeting-minute-tasks {
  display: grid;
  gap: 0.3rem;
  flex: 0 0 100%;
  margin: 0;
  list-style: none;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(138, 90, 0, 0.2);
  color: var(--app-muted);
  font-size: 0.82rem;
}

.meeting-minute-tasks li {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.meeting-minute-panel__content {
  margin: 0.75rem 0 0;
  white-space: normal;
}

.meeting-minute-panel .meeting-minute-form label:not(.meeting-decision-check) {
  color: #72551c;
}

.meeting-minute-panel .meeting-minute-form input:not([type="checkbox"], [type="radio"], [type="hidden"]),
.meeting-minute-panel .meeting-minute-form select,
.meeting-minute-panel .meeting-minute-form textarea {
  box-sizing: border-box;
  border: 1px solid #d6bd84;
  border-radius: 0.45rem;
  background: #fffdf7;
  color: var(--app-ink);
  font: inherit;
}

.meeting-minute-panel .meeting-minute-form input:not([type="checkbox"], [type="radio"], [type="hidden"]),
.meeting-minute-panel .meeting-minute-form select {
  min-height: 2.6rem;
  padding: 0.5rem 0.7rem;
}

.meeting-minute-panel .meeting-minute-form textarea {
  width: 100%;
  padding: 0.5rem 0.7rem;
}

.meeting-minute-panel .meeting-minute-form input[type="checkbox"],
.meeting-minute-panel .meeting-minute-form input[type="radio"] {
  accent-color: #b7791f;
}

.meeting-minute-panel .meeting-minute-form .tree-check-list label {
  color: #72551c;
}

.meeting-minute-panel .meeting-minute-form .tree-check-list input {
  accent-color: #b7791f;
}

.meeting-minute-task-entities-field[hidden] {
  display: none;
}

.meeting-minute-task-entities-label {
  margin-bottom: 0.35rem;
  color: #72551c;
  font-size: 0.9rem;
  font-weight: 600;
}

.meeting-minute-panel .meeting-minute-form .tree-check-list.meeting-minute-task-entities {
  border-color: #d6bd84;
  background: #fffdf7;
}

.meeting-minute-panel .meeting-minute-form input:not([type="checkbox"], [type="radio"]):focus,
.meeting-minute-panel .meeting-minute-form select:focus,
.meeting-minute-panel .meeting-minute-form textarea:focus {
  outline: 2px solid rgba(183, 121, 31, 0.2);
  border-color: #b7791f;
}

.meeting-minute-panel .meeting-decision-check {
  border-color: #d6bd84;
  background: #fffdf7;
  color: #72551c;
}

.meeting-minute-panel .df-btn-secondary {
  border-color: #d6bd84;
  background: #fffdf7;
  color: #72551c;
}

.meeting-minute-panel .df-btn-secondary:hover:not(:disabled) {
  border-color: #b7791f;
  background: #f5e8c8;
  color: #4b3a16;
}

.meeting-minute-panel .df-btn-primary {
  border-color: #b7791f;
  background: #b7791f;
  color: #fff;
}

.meeting-minute-panel .df-btn-primary:hover:not(:disabled) {
  border-color: #8a5a00;
  background: #8a5a00;
  color: #fff;
}

.meeting-minute-panel--new .meeting-minute-form label:not(.meeting-decision-check),
.meeting-minute-panel--new .meeting-minute-form .tree-check-list label,
.meeting-minute-panel--new .meeting-minute-task-entities-label {
  color: var(--app-navy);
}

.meeting-minute-panel--new .meeting-minute-form input:not([type="checkbox"], [type="radio"], [type="hidden"]),
.meeting-minute-panel--new .meeting-minute-form select,
.meeting-minute-panel--new .meeting-minute-form textarea,
.meeting-minute-panel--new .meeting-decision-check,
.meeting-minute-panel--new .meeting-minute-form .tree-check-list.meeting-minute-task-entities {
  border-color: #cbd5df;
  background: #f8fafc;
  color: var(--app-ink);
}

.meeting-minute-panel--new .meeting-minute-form input[type="checkbox"],
.meeting-minute-panel--new .meeting-minute-form input[type="radio"],
.meeting-minute-panel--new .meeting-minute-form .tree-check-list input {
  accent-color: var(--app-navy);
}

.meeting-minute-panel--new .meeting-minute-form input:not([type="checkbox"], [type="radio"], [type="hidden"]):focus,
.meeting-minute-panel--new .meeting-minute-form select:focus,
.meeting-minute-panel--new .meeting-minute-form textarea:focus {
  outline: 2px solid rgba(52, 75, 58, 0.2);
  border-color: var(--app-navy);
}

.meeting-minute-panel--new .df-btn-secondary {
  border-color: #cbd5df;
  background: #f8fafc;
  color: var(--app-navy);
}

.meeting-minute-panel--new .df-btn-secondary:hover:not(:disabled) {
  border-color: #aab8c5;
  background: #e8edf2;
  color: var(--app-navy);
}

.meeting-minute-panel--new .df-btn-primary {
  border-color: var(--app-navy);
  background: var(--app-navy);
  color: #fff;
}

.meeting-minute-panel--new .df-btn-primary:hover:not(:disabled) {
  border-color: #26352d;
  background: #26352d;
  color: #fff;
}

.meeting-minute-panel__deleted-content[hidden] {
  display: none;
}

.meeting-minute-panel__label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: -0.25rem 0 0;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(138, 90, 0, 0.2);
  color: #72551c;
  font-size: 0.8rem;
  font-weight: 400;
}

.meeting-minute-panel__label--action {
  color: var(--app-navy);
}

.meeting-minute-panel__topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.meeting-minute-panel__topline .meeting-minute-panel__heading {
  display: block;
}

.meeting-minute-panel__heading {
  flex: 1 1 auto;
  min-width: 0;
}

.meeting-minute-panel__remark-toggle {
  flex: 0 0 auto;
  margin-top: 0.65rem;
  min-height: 2.1rem;
  padding: 0.35rem 0.65rem;
  color: #6b7280;
  background: transparent;
  border: 1px solid #9ca3af;
  font-size: 0.8rem;
}

.meeting-minute-comment[hidden] {
  display: none;
}

.meeting-minute-panel__remark-toggle:hover {
  background: #e5e7eb;
}

.meeting-minutes-entry .meeting-minute-panel:not(.meeting-minute-panel--decision) .meeting-minute-panel__label {
  border-bottom-color: rgba(107, 114, 128, 0.25);
  color: #6b7280;
}

.meeting-attachment-upload-form {
  margin: 0.75rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--app-border);
}

.meeting-attachment-upload-form input[type='file'] {
  width: 100%;
}

.meeting-minute-panel__details {
  margin-top: 0.75rem;
}

.meeting-minute-panel__details[hidden] {
  display: none;
}

.meeting-minute-panel__details h4 {
  margin: 0 0 0.6rem;
  color: #8a5a00;
  font-size: 0.9rem;
}

.meeting-minute-panel__edit {
  margin: 0.85rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(138, 90, 0, 0.2);
}

.meeting-minute-panel > .meeting-minute-form,
.meeting-minute-panel--new .meeting-minute-form {
  margin-right: 0;
  margin-left: 0;
}

@media (max-width: 620px) {
  .meeting-minute-panel__header {
    align-items: flex-start;
    flex-direction: column;
  }
}

.meeting-minutes-empty {
  margin: 0 0 1rem;
  padding: 0 1rem;
}

.meeting-minute-form {
  display: grid;
  gap: 0.8rem;
  margin: 0 1rem 1rem;
}

.meeting-minute-form[hidden] {
  display: none;
}

.meeting-decision-check,
.df-field label.meeting-decision-check {
  display: flex;
  align-items: center;
  min-height: 2.6rem;
  box-sizing: border-box;
  gap: 0.55rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--app-border);
  border-radius: 0.45rem;
  background: var(--app-surface);
  color: var(--app-ink);
}

.meeting-minute-item {
  margin: 0 1rem 1rem;
  border-radius: 0.55rem;
}

.meeting-minute-item > summary {
  padding: 0.75rem 0.9rem;
  cursor: pointer;
  font-weight: 600;
}

.meeting-order-fields {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.meeting-entry-form .meeting-order-fields input {
  width: 4.8rem;
  min-width: 0;
  text-align: center;
}

.meeting-entry-form__wide {
  grid-column: 1 / -1;
}

.meeting-inline-form label,
.meeting-entry-form label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--app-navy);
  font-size: 0.9rem;
  font-weight: 600;
}

.meeting-entry-form label.meeting-decision-check {
  display: flex;
  margin-bottom: 0;
  color: var(--app-ink);
  font-size: 1rem;
  font-weight: 400;
}

.meeting-participants {
  margin-top: 1rem;
  padding: 0;
  border: 0;
}

.meeting-participants > summary {
  padding: 0.5rem 0;
  margin: 0;
  color: var(--app-navy);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
}

.meeting-participant-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: end;
  margin-bottom: 0.75rem;
}

.meeting-participant-field label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--app-navy);
  font-size: 0.9rem;
  font-weight: 600;
}

.meeting-participant-remove {
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
}

.meeting-vote-link,
.meeting-decision-link {
  margin-left: 0.5rem;
  color: var(--app-teal-dark);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
}

.meeting-presence-table__present {
  width: 7.5rem;
  text-align: center;
}

.meeting-presence-table .meeting-presence-proxy {
  --proxy-control-size: max(2.5rem, 2.1em);
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--proxy-control-size);
  align-items: center;
  gap: 0.4rem;
}

.meeting-presence-proxy > select,
.meeting-presence-proxy > .df-btn {
  height: var(--proxy-control-size);
}

.meeting-presence-proxy > select {
  width: 100%;
  min-width: 0;
}

.meeting-presence-proxy > .df-btn {
  width: 100%;
  margin: 0;
  padding: 0;
  box-shadow: none;
}

.meeting-presence-proxy > .df-btn:hover {
  border-color: var(--app-teal);
}

.meeting-presence-owners {
  color: var(--app-muted);
  font-size: 0.9rem;
}

.meeting-presence-owners-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--app-muted);
  font-size: 0.9rem;
}

.meeting-presence-owners-list li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.owner-status-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.owner-status-icon--online {
  color: #2e7d32;
}

.owner-status-icon--recent {
  color: #9e9e9e;
}

.owner-status-icon--code-online {
  color: #f9a825;
}

.owner-status-icon--code-offline {
  color: #c62828;
}

.owner-status-icon-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.meeting-presence-legend {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--app-muted);
  font-size: 0.85rem;
}

.meeting-presence-legend li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

@media (max-width: 900px) {
  .df-grid,
  .messages-page .df-grid {
    grid-template-columns: 1fr;
  }

  .messages-page .df-sidebar {
    grid-row: 1;
  }

  .report-tracking-card {
    width: 100%;
  }

  .contacts-edit-persons-card {
    width: 100%;
  }

  .meeting-workflow-sections {
    width: 100%;
  }

  .meeting-workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .df-fields {
    grid-template-columns: 1fr;
  }

  .df-field-half {
    grid-column: auto;
  }

  .df-field-3quarter {
    grid-column: auto;
  }

  .meeting-inline-form,
  .meeting-entry-form {
    grid-template-columns: 1fr;
  }

  .meeting-participant-row {
    grid-template-columns: 1fr;
  }

  .meeting-participant-remove {
    width: 100%;
  }

  .meeting-entry {
    grid-template-columns: 1fr;
  }

  .meeting-entry-form > div:nth-of-type(1),
  .meeting-entry-form > div:nth-of-type(2),
  .meeting-entry-form > div:nth-of-type(3),
  .meeting-entry:has(textarea[name="content"]) .meeting-entry-form > div:nth-of-type(1),
  .meeting-entry:has(textarea[name="content"]) .meeting-entry-form > div:nth-of-type(2) {
    grid-column: auto;
    grid-row: auto;
  }

  .meeting-entry--sub {
    margin-left: 0.375rem;
  }

  .meeting-entry--nested {
    margin-left: 0.75rem;
  }

  .meeting-minutes-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Owner meetings overview (meetings/index.php) */
.meetings-vote-card {
  border-color: var(--app-teal);
  background: linear-gradient(135deg, #e8f3ea 0%, var(--app-surface) 65%);
}

.meetings-vote-card h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0;
  color: var(--app-teal-dark);
}

.meetings-vote-cta {
  background: var(--app-navy);
  color: #fff;
}

.meetings-vote-cta:link,
.meetings-vote-cta:visited {
  color: #fff;
}

.meetings-vote-cta:hover {
  background: #26352d;
  color: #fff;
}

.meetings-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.meetings-list__item a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--app-border);
  border-radius: 0.7rem;
  background: var(--app-surface);
  color: inherit;
  text-decoration: none;
  transition: box-shadow 150ms ease, border-color 150ms ease;
}

.meetings-list__item a:hover {
  box-shadow: var(--app-shadow);
  border-color: var(--app-teal);
}

.meetings-list__icon {
  flex: 0 0 auto;
  font-size: 1.3rem;
  color: var(--app-teal-dark);
}

.meetings-list__date {
  flex: 0 0 auto;
  color: var(--app-muted);
  font-size: 0.85rem;
  white-space: nowrap;
}

.meetings-list__text {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

.meetings-list__arrow {
  flex: 0 0 auto;
  color: var(--app-muted);
}

@media (max-width: 620px) {
  .meeting-workflow-grid {
    grid-template-columns: 1fr;
  }

  .meetings-list__item a {
    flex-wrap: wrap;
  }

  .meetings-list__date {
    order: -1;
  }
}

/* Help */
.help-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.help-index {
  position: sticky;
  top: 5.5rem;
}

.help-index ul {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.help-index a {
  display: block;
  padding: 0.65rem 0.8rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  color: var(--app-ink);
  text-decoration: none;
}

.help-index a:hover,
.help-index a.is-active {
  border-color: var(--app-border);
  background: var(--app-background);
}

.help-index strong {
  display: block;
  color: var(--app-navy);
}

.help-index span {
  display: block;
  margin-top: 0.2rem;
  color: var(--app-muted);
  font-size: 0.85rem;
}

.help-content {
  min-width: 0;
  line-height: 1.6;
}

.help-content h2,
.help-content h3,
.help-content h4 {
  margin: 1.6rem 0 0.6rem;
  color: var(--app-navy);
  scroll-margin-top: 5.5rem;
}

.help-content h2:first-child {
  margin-top: 0;
}

.help-content p {
  margin: 0 0 0.85rem;
}

.help-content ul,
.help-content ol {
  margin: 0 0 0.85rem;
  padding-left: 1.5rem;
}

.help-content ul {
  list-style: disc;
}

.help-content ol {
  list-style: decimal;
}

.help-content li > ul,
.help-content li > ol {
  margin: 0.25rem 0;
}

.help-content a {
  color: var(--app-teal-dark);
}

.help-content code {
  padding: 0.1rem 0.35rem;
  border-radius: 0.3rem;
  background: var(--app-background);
  font-size: 0.9em;
}

.help-content pre {
  overflow-x: auto;
  padding: 0.85rem 1rem;
  border-radius: 0.5rem;
  background: var(--app-background);
}

.help-content pre code {
  padding: 0;
}

.help-content blockquote {
  margin: 0 0 0.85rem;
  padding: 0.6rem 1rem;
  border-left: 4px solid var(--app-teal);
  background: var(--app-background);
}

.help-content blockquote p:last-child {
  margin-bottom: 0;
}

.help-content hr {
  margin: 1.5rem 0;
  border: 0;
  border-top: 1px solid var(--app-border);
}

.help-table {
  overflow-x: auto;
  margin: 0 0 1rem;
}

.help-content table {
  width: 100%;
  border-collapse: collapse;
}

.help-content th,
.help-content td {
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--app-border);
  text-align: left;
  vertical-align: top;
}

.help-content th {
  background: var(--app-background);
  color: var(--app-navy);
}

@media (max-width: 900px) {
  .help-layout {
    grid-template-columns: 1fr;
  }

  .help-index {
    position: static;
  }
}

/* Application navigation shared by the member and moderator surfaces. */
.app-nav {
  --nav-ink: #f7faf7;
  --nav-muted: #c8d8cb;
  --nav-green: #344b3a;
  --nav-green-dark: #26352d;
  --nav-accent: #b87935;
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--nav-ink);
  background: var(--nav-green);
  box-shadow: 0 8px 24px rgba(38, 53, 45, 0.12);
  font-family: "DM Sans", sans-serif;
}

.app-nav__bar,
.app-navigation {
  display: flex;
  align-items: center;
}

.app-nav__bar {
  min-height: 66px;
  padding: 0 2.4rem;
  border-bottom: 1px solid rgba(200, 216, 203, 0.2);
}

a.app-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--nav-accent);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

a.app-brand:hover { color: #fff; }
.app-brand img { border-radius: 8px; }
.app-brand__short { display: none; }
.app-nav__toggle { display: none; }
.app-nav__status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 224, 168, 0.45);
  border-radius: 6px;
  color: #ffe0a8;
  background: rgba(111, 48, 34, 0.55);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}
.app-nav__status i { font-size: 1.05rem; }
.app-brand + .app-nav__view-as { margin-left: auto; }
.app-nav__view-as {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: 0.6rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 224, 168, 0.45);
  border-radius: 6px;
  color: #ffe0a8;
  background: rgba(111, 48, 34, 0.55);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}
.app-nav__view-as > i { font-size: 1.05rem; }
.app-nav__view-as form {
  display: inline-flex;
  flex: 0 0 auto;
  margin: 0;
}
.app-nav__view-as .app-nav__view-as-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1;
  box-shadow: none;
}
.app-nav__view-as-close > i { font-size: 1.05rem; }
.app-nav__view-as .app-nav__view-as-close:hover {
  background: rgba(247, 250, 247, 0.14);
  color: inherit;
  box-shadow: none;
}
.app-nav__view-as-close:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.app-navigation {
  justify-content: space-between;
  gap: 1rem;
  min-height: 58px;
  padding: 0 2.4rem;
}

.app-navigation__categories,
.app-nav__actions { display: flex; align-items: center; gap: 0.35rem; flex-shrink: 0; }
.app-nav__category { position: relative; }
.app-nav__category summary { list-style: none; }
.app-nav__category summary::-webkit-details-marker { display: none; }

.app-nav__category-title,
.app-nav__action {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 40px;
  padding: 0.65rem 0.8rem;
  border-radius: 7px;
  color: var(--nav-muted);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.app-nav__category-title:hover,
.app-nav__category-title.is-active,
.app-nav__action:hover { color: var(--nav-ink); background: rgba(247, 250, 247, 0.1); }
.app-nav__actions .app-nav__action {
  color: var(--nav-muted);
  background: transparent;
}
.app-nav__actions .app-nav__action:hover {
  color: var(--nav-ink);
  background: rgba(247, 250, 247, 0.1);
}
.app-nav__actions .app-nav__action[aria-current="page"] {
  color: var(--nav-ink);
  background: rgba(247, 250, 247, 0.1);
}
.app-nav__mail-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 1.15rem;
}
.app-nav__badge {
  position: absolute;
  top: -0.15rem;
  right: -0.2rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #dc2626;
}
.app-nav__mail-error {
  position: absolute;
  top: -0.35rem;
  right: -0.3rem;
  color: var(--nav-ink);
  font-size: 0.7rem;
  font-weight: 700;
}
.app-nav__category-title > i:first-child,
.app-nav__action > i { font-size: 1.15rem; }

.app-logout-dialog,
.app-form-dialog {
  width: min(28rem, calc(100vw - 2rem));
  height: fit-content;
  max-height: calc(100dvh - 2rem);
  margin: auto;
}

.app-logout-dialog .file-preview-dialog__content,
.app-form-dialog .file-preview-dialog__content {
  height: auto;
  max-height: calc(100dvh - 2rem - 2px);
}

.app-logout-dialog__body,
.app-form-dialog__body {
  padding: 1rem;
}

.app-form-dialog__body {
  overflow-y: auto;
  background: #fff;
}

.asset-bulk-dialog,
.asset-bulk-dialog .file-preview-dialog__content,
.asset-bulk-dialog .app-form-dialog__body {
  overflow: visible;
}

.asset-bulk-dialog .select2-results__option {
  white-space: normal;
  overflow-wrap: anywhere;
}

html:has(.main_popup .app-form-dialog__body),
body:has(.main_popup .app-form-dialog__body) {
  margin: 0;
  min-width: 0;
  background: #fff;
}

.main_popup:has(> .app-form-dialog__body) {
  height: auto;
}

.app-form-dialog__metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--app-border);
}

.app-form-dialog__metadata > div {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  min-width: 0;
}

.app-form-dialog__metadata dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.app-form-dialog--frame {
  width: min(42rem, calc(100vw - 2rem));
  background: #fff;
}

.app-form-dialog--frame.app-form-dialog--wide {
  width: min(60rem, calc(100vw - 2rem));
}

/* Single vote subject from meetings/manage/votes.php?popup=1; the dialog itself acts as the card. */
.app-form-dialog__body.meeting-vote-popup {
  padding: 0 0 0.5rem;
}

.meeting-vote-popup > .page-notice,
.meeting-vote-popup > .login-error,
.meeting-vote-popup > .df-meta-empty {
  margin: 1rem 1rem 0;
}

.meeting-vote-popup .meeting-edit-sections {
  margin-top: 0;
}

.meeting-vote-popup .meeting-entry {
  border: 0;
  border-radius: 0;
}

.meeting-vote-popup .meeting-minutes-heading {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 0.5rem;
}

.meeting-vote-popup .meeting-minutes-heading h2 {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  text-align: left;
}

.meeting-vote-popup .meeting-agenda-description {
  margin: 0 1rem 1rem;
  padding-left: 0;
  padding-right: 0;
}

.meeting-vote-popup .meeting-minutes-heading .meeting-vote-badge {
  float: none;
  flex: 0 0 auto;
  margin: 0 0 0 auto;
}

.app-form-dialog--frame .file-preview-dialog__frame {
  flex: 0 0 auto;
  display: block;
}

.app-logout-dialog .df-actions,
.app-form-dialog .df-actions {
  margin-top: 1.25rem;
}

.app-nav__chevron { transition: transform 180ms ease; }
.app-nav__category[open] > summary > .app-nav__chevron,
.app-nav__group[open] > summary > .app-nav__chevron { transform: rotate(180deg); }

.app-nav__submenu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 220px;
  max-width: calc(100vw - 2rem);
  max-height: calc(100dvh - 9rem);
  overflow-y: auto;
  padding: 0.45rem;
  border: 1px solid #d4ded4;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(38, 53, 45, 0.14);
}

.app-nav__item {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  color: #344b3a;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
}
.app-nav__group-title { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; cursor: pointer; }
.app-nav__children { margin-left: 0.75rem; padding-left: 0.35rem; border-left: 1px solid #d4ded4; }
.app-nav__item:focus-visible { outline: 2px solid currentColor; outline-offset: -2px; }
.app-nav__item:hover,
.app-nav__item.is-active { color: #26352d; background: #e8f0e9; font-weight: 700; }
.app-nav__user { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--nav-muted); font-size: 0.86rem; white-space: nowrap; }
.app-nav__user i { font-size: 1.2rem; }
.app-nav__mail { position: relative; }
.app-nav__mail b { min-width: 1.1rem; padding: 0.15rem 0.3rem; border-radius: 999px; color: #fff; background: var(--nav-accent); font-size: 0.68rem; text-align: center; }
.app-nav__user--mobile { display: none; margin-left: auto; }

div.main.popup { padding: 0; }
.main > .vote-shell { max-width: none; margin: 0; padding: 0 0 48px; }

@media (min-width: 761px) {
  .app-navigation--icons .app-nav__label,
  .app-navigation--icons .app-nav__category-title > .app-nav__chevron { display: none; }
  .app-navigation--icons .app-nav__category-title,
  .app-navigation--icons .app-nav__action { justify-content: center; min-width: 44px; min-height: 44px; box-sizing: border-box; }
}

@media (max-width: 980px) {
  .app-nav__bar { padding: 0 1rem; }
  .app-navigation { padding: 0 1rem; }
  .app-nav__category-title, .app-nav__action { padding-left: 0.55rem; padding-right: 0.55rem; }
}

@media (max-width: 760px) {
  .app-nav__bar { min-height: 60px; }
  a.app-brand { gap: 0.6rem; font-size: 1.35rem; }
  .app-brand__full { display: none; }
  .app-brand__short { display: inline; }
  .app-nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 0;
    border-radius: 7px;
    color: var(--nav-ink);
    background: transparent;
    cursor: pointer;
    font-size: 1.65rem;
  }
  .app-nav__status + .app-nav__toggle { margin-left: 0.6rem; }
  .app-nav__view-as + .app-nav__toggle { margin-left: 0.6rem; }
  .app-nav__status { padding: 0.4rem 0.5rem; }
  .app-nav__status span { display: none; }
  .app-nav__view-as { gap: 0.25rem; margin-left: 0.45rem; padding: 0.4rem 0.5rem; font-size: 0.7rem; }
  .app-nav__toggle:hover { background: rgba(247, 250, 247, 0.1); }
  .app-nav__user--mobile { display: inline-flex; margin-left: 0.65rem; }
  .app-navigation { display: none; align-items: stretch; flex-direction: column; max-height: calc(100dvh - 60px); overflow-y: auto; padding: 0.65rem 1rem 1rem; }
  .app-navigation.is-open { display: flex; }
  .app-navigation__categories, .app-nav__actions { align-items: stretch; flex-direction: column; width: 100%; }
  .app-nav__category-title, .app-nav__action { width: 100%; box-sizing: border-box; }
  .app-nav__submenu { position: static; min-width: 0; max-height: none; margin: 0.15rem 0 0.35rem 1rem; border: 0; border-left: 1px solid rgba(200, 216, 203, 0.35); border-radius: 0; background: transparent; box-shadow: none; }
  .app-nav__children { border-left-color: rgba(200, 216, 203, 0.35); }
  /* a:link/a:visited in style.css would otherwise win and render dark teal on the dark nav background. */
  a.app-nav__item, a.app-nav__item:link, a.app-nav__item:visited { color: var(--nav-muted); }
  a.app-nav__item:hover, a.app-nav__item.is-active { color: var(--nav-ink); background: rgba(247, 250, 247, 0.1); }
  .app-nav__group-title { color: var(--nav-muted); }
  .app-nav__group-title:hover, .app-nav__group-title.is-active { color: var(--nav-ink); background: rgba(247, 250, 247, 0.1); }
  .app-nav__actions { gap: 0.25rem; margin-top: 0.6rem; padding-top: 0.7rem; border-top: 1px solid rgba(200, 216, 203, 0.2); }
  .app-nav__actions .app-nav__user { display: none; }
  div.main, div.main.collapse { padding: 76px 1rem 1.5rem; }
}
/* Report tables: nested category totals with monospace amounts (e.g. MJOP cost overview). */
.report-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; }
.report-heading__filter { display: flex; align-items: center; gap: 0.5rem; }
.report-heading__filter label { color: var(--app-muted); font-size: 0.9rem; }
.report-table-scroll { overflow-x: auto; margin: 0.75rem 0 1rem; border: 1px solid var(--app-border); border-radius: 6px; background: var(--app-surface); }
.report-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; color: var(--app-ink); }
.report-table th, .report-table td { padding: 0.35rem 0.6rem; border-bottom: 1px solid var(--app-border); vertical-align: top; }
.report-table thead th { position: sticky; top: 0; background: var(--app-navy); color: #fff; font-weight: 600; text-align: center; white-space: nowrap; }
.report-table thead tr + tr th { top: 1.85rem; font-weight: 400; font-size: 0.8rem; }
.report-table .report-table__label { text-align: left; font-weight: 400; min-width: 16rem; }
.report-table thead .report-table__label { vertical-align: bottom; }
.report-table__group, .report-table__amount:nth-child(2n), .report-table__sub:nth-child(2n+1) { border-left: 1px solid var(--app-border); }
.report-table thead .report-table__group, .report-table thead .report-table__sub:nth-child(2n+1) { border-left-color: rgba(255, 255, 255, 0.25); }
.report-table__group--total { background: var(--app-teal-dark) !important; }
.report-table__amount { font-family: "Courier New", Courier, ui-monospace, monospace; text-align: right; white-space: nowrap; }
.report-table__amount--zero { color: var(--app-muted); }
.report-table__amount--total { font-weight: 700; background: rgba(0, 0, 0, 0.025); }
.report-table__main th, .report-table__main td { background: rgba(0, 0, 0, 0.06); font-weight: 700; border-top: 2px solid var(--app-border); }
.report-table__main .report-table__label { text-transform: uppercase; letter-spacing: 0.03em; color: var(--app-navy); }
.report-table__category th, .report-table__category td { background: rgba(0, 0, 0, 0.025); font-weight: 600; }
.report-table__category .report-table__label { padding-left: 1.2rem; font-weight: 600; }
.report-table__object .report-table__label { padding-left: 2.2rem; font-weight: 600; }
.report-table__object td { font-weight: 600; }
.report-table__path { font-weight: 400; color: var(--app-muted); }
.report-table__item .report-table__label { padding-left: 3.4rem; }
.report-table__item:hover th, .report-table__item:hover td { background: rgba(0, 0, 0, 0.035); }
.report-table__total th, .report-table__total td { font-weight: 700; border-top: 2px solid var(--app-ink); border-bottom: 0; background: var(--app-background); }.report-table--condensed .report-table__label { min-width: 0; }
.report-table--condensed .report-table__amount { width: 1%; }
.budget-revision-select { display: flex; align-items: center; gap: 0.4rem; }
.budget-revision-select > .select2-container { flex: 1; min-width: 0; width: 0 !important; }
.budget-revision-select > button { flex-shrink: 0; }
.budget-table { font-family: Arial, Helvetica, sans-serif; font-size: inherit; }
.budget-table tr { height: 2.3em; }
.budget-table th, .budget-table td { padding: 0.75rem 0.85rem; }
.budget-table thead th,
.budget-table .report-table__main > *,
.budget-table .report-table__category > * { vertical-align: middle; }
.budget-table thead th { font-family: "Space Grotesk", Arial, sans-serif; }
.budget-table .budget-table__action { width: 40px; min-width: 40px; text-align: center; }
.budget-table .budget-table__date { width: 7rem; min-width: 7rem; text-align: center; white-space: nowrap; }
.budget-line-delete,
.budget-line-delete:hover {
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--app-teal);
  font: inherit;
  line-height: 1;
  box-shadow: none;
}
.budget-line-delete:hover { color: var(--app-coral); }
.budget-table .report-table__item:has(a.app-popup-link) { cursor: pointer; }
.budget-table .report-table__item:hover { background-color: #edf7f6; }
.budget-table input[type="checkbox"] { margin: 0; width: 1em; height: 1em; }
#budget-selection-error[hidden] { display: none; }
.budget-table .report-table__label { overflow-wrap: anywhere; }
.budget-table .budget-table__evidence { margin: 0.25rem 0; white-space: normal; }