.panel { background: var(--cxg-white); border: 1px solid var(--cxg-background-25); border-radius: .5rem; padding: 1.5rem; max-width: 40rem; }
.task-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem; margin: 1.5rem 0; }
.task-card, main section, main article { padding: 1.25rem; border: 1px solid var(--cxg-background-25); border-radius: .5rem; background: var(--cxg-white); margin-block: 1rem; }
.task-card { margin: 0; border-top: 4px solid var(--cxg-highlight-349); }
.task-card h2, .task-card h3 { margin-top: 0; }
.page-introduction { font-size: 1.125rem; }
.notice, main [role="alert"], .status-label { border-inline-start: 4px solid var(--cxg-highlight-349); padding: 1rem; background: var(--cxg-background-10); }
.record-list { list-style: none; padding: 0; }
.record-list li { padding: 1rem 0; border-bottom: 1px solid var(--cxg-background-25); overflow-wrap: anywhere; }
main form { max-width: 64rem; margin-block: 1.5rem; }
.meter-page main { overflow-wrap: anywhere; }
main form[data-meter-form] fieldset { min-width: 0; }
main form[data-meter-form] legend { max-width: 100%; overflow-wrap: anywhere; }
main form > p { margin-block: 1.25rem; }
main dl { margin-block: 1.5rem; }
main dt { font-weight: 700; margin-top: .75rem; }
main dd { margin-inline-start: 0; overflow-wrap: anywhere; }
.field { margin: 1rem 0; }
.filter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem; margin-bottom: 1rem; }
.filter-grid .helptext { font-size: .875rem; margin-block: .4rem; }
.meter-register-filters {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: start;
  gap: .55rem; max-width: none; margin-block: .5rem; padding: .6rem;
  border: 1px solid var(--cxg-background-25); border-radius: .5rem;
  background: var(--cxg-background-10);
}
.meter-register-filters .filter-grid {
  display: contents;
}
.meter-register-filters .filter-grid > div {
  display: grid; grid-template-rows: 1rem 2rem auto; align-content: start; min-width: 0;
}
.meter-register-filters .filter-grid > div:first-child { grid-column: span 2; }
.meter-register-filters label { height: 1rem; margin: 0; font-size: .75rem; line-height: 1rem; white-space: nowrap; }
.meter-register-filters input, .meter-register-filters select {
  box-sizing: border-box; height: 2rem; min-height: 2rem; margin: 0; padding: .3rem .5rem; border-width: 1px;
}
.meter-register-filters .helptext { font-size: .7rem; line-height: 1.25; margin: .25rem 0 0; }
.meter-register-filters button { justify-self: start; min-height: 2.2rem; padding: .35rem .8rem; border-width: 1px; white-space: nowrap; }
.meter-register-filters [role="alert"] { grid-column: 1 / -1; padding: .5rem .75rem; }
.meter-register-table th:first-child, .meter-register-table td:first-child { min-width: 7rem; white-space: nowrap; overflow-wrap: normal; }
.table-scroll .meter-register-table { table-layout: fixed; min-width: 76rem; font-size: .8rem; }
.meter-register-table th, .meter-register-table td { padding: .35rem .4rem; overflow-wrap: anywhere; }
.meter-utility-column { width: 7%; }
.meter-identifier-column { width: 12%; }
.meter-msn-column { width: 7%; }
.meter-fund-column { width: 12%; }
.meter-property-column { width: 13%; }
.meter-unit-column { width: 13%; }
.meter-sharing-column { width: 8%; }
.meter-status-column { width: 10%; }
.meter-flag-column { width: 8%; }
.meter-register-table th:nth-child(n+8), .meter-register-table td:nth-child(n+8) { text-align: center; }
.meter-register-table th:last-child { white-space: nowrap; }
.meter-history-unit { color: var(--cxg-primary-432); font-size: .75rem; }
.fund-register-table { table-layout: fixed; }
.fund-name-column { width: 25%; }
.fund-summary-column { width: 6.818%; }
.fund-register-table th { overflow-wrap: anywhere; }
.fund-register-table th:nth-child(n+2), .fund-register-table td:nth-child(n+2) { text-align: center; }
.fund-register-table th.fund-flag-column { text-align: center; }
.fund-register-table td.fund-flag-count { font-variant-numeric: tabular-nums; }
.fund-register-toolbar { display: flex; align-items: center; gap: 1rem; width: 100%; margin-block: .75rem; }
.fund-register-toolbar > .button-link { flex: 0 0 auto; white-space: nowrap; }
.fund-flag-filter { display: flex; flex: 1 1 auto; align-items: center; gap: .5rem; max-width: none; min-width: 0; margin: 0; }
.fund-flag-filter label { flex: 0 0 auto; }
.fund-flag-filter select { box-sizing: border-box; flex: 0 1 18rem; width: auto; min-width: 8rem; min-height: 2.25rem; height: 2.25rem; padding: .3rem .5rem; border-width: 1px; font-size: .875rem; }
.fund-flag-filter button { flex: 0 0 auto; }
@media (max-width: 40rem) {
  .fund-register-toolbar { align-items: stretch; flex-wrap: wrap; }
  .fund-flag-filter { flex-basis: 100%; flex-wrap: wrap; }
  .fund-flag-filter select { min-width: 0; flex: 1 1 8rem; }
}
.property-register-table { table-layout: fixed; }
.property-register-table th { overflow-wrap: anywhere; }
.property-register-table th:nth-child(n+3), .property-register-table td:nth-child(n+3) { text-align: center; }
.property-fund-column { width: 14%; }
.property-name-column { width: 26%; }
.property-summary-column, .property-flag-column { width: 6.666%; }
.property-register-table th.property-flag-column { text-align: center; }
.property-register-table td.property-flag-count { font-variant-numeric: tabular-nums; }
.property-register-filters {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: start;
  gap: .55rem; max-width: none; margin-block: .75rem; padding: .5rem;
  border: 1px solid var(--cxg-background-25); border-radius: .5rem;
  background: var(--cxg-background-10);
}
.property-register-filters .filter-grid { display: contents; }
.property-register-filters .filter-grid > div {
  display: grid; grid-template-rows: 1rem 2rem auto; align-content: start; min-width: 0;
}
.property-register-filters .filter-grid > div:first-child { grid-column: span 2; }
.property-register-filters label { height: 1rem; margin: 0; font-size: .75rem; line-height: 1rem; white-space: nowrap; }
.property-register-filters input, .property-register-filters select {
  box-sizing: border-box; height: 2rem; min-height: 2rem; margin: 0; padding: .3rem .5rem; border-width: 1px;
}
.property-register-filters .helptext { font-size: .7rem; line-height: 1.25; margin: .25rem 0 0; }
.property-register-filters button {
  justify-self: start; min-height: 2.2rem; padding: .35rem .8rem; border-width: 1px;
  white-space: nowrap;
}
.property-register-filters [role="alert"] { grid-column: 1 / -1; padding: .5rem .75rem; }
@media (max-width: 64rem) {
  .property-register-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 48rem) {
  .property-register-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .property-register-filters .filter-grid > div:first-child { grid-column: 1 / -1; }
}
.table-scroll .unit-register-table { table-layout: fixed; min-width: 60rem; font-size: .875rem; }
.unit-fund-column { width: 8%; }
.unit-property-column { width: 19%; }
.unit-reference-column { width: 14%; }
.unit-name-column { width: 14%; }
.unit-tenant-column { width: 17%; }
.unit-meter-column { width: 3%; }
.unit-flag-column { width: 3.5%; }
.unit-state-column { width: 5%; }
.unit-register-table th, .unit-register-table td { padding: .4rem; }
.unit-register-table th:nth-child(n+6), .unit-register-table td:nth-child(n+6) { text-align: center; }
.unit-register-table th.unit-flag-column { text-align: center; }
.unit-register-table td.unit-flag-count { font-variant-numeric: tabular-nums; }
.unit-register-table th:last-child, .unit-register-table td:last-child { white-space: nowrap; }
.unit-register-filters {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.4fr) minmax(10rem, .8fr);
  align-items: start; gap: .55rem; max-width: none; margin-block: .75rem; padding: .5rem;
  border: 1px solid var(--cxg-background-25); border-radius: .5rem;
  background: var(--cxg-background-10);
}
.unit-register-filters .filter-grid { display: contents; }
.unit-register-filters .filter-grid > div {
  display: grid; grid-template-rows: 1rem 2rem auto; align-content: start; min-width: 0;
}
.unit-register-filters label { height: 1rem; margin: 0; font-size: .75rem; line-height: 1rem; white-space: nowrap; }
.unit-register-filters input, .unit-register-filters select {
  box-sizing: border-box; height: 2rem; min-height: 2rem; margin: 0; padding: .3rem .5rem; border-width: 1px;
}
.unit-register-filters .helptext { font-size: .7rem; line-height: 1.25; margin: .25rem 0 0; }
.unit-register-filters button {
  justify-self: start; min-height: 2.2rem; padding: .35rem .8rem; border-width: 1px;
  white-space: nowrap;
}
.unit-register-filters [role="alert"] { grid-column: 1 / -1; padding: .5rem .75rem; }
@media (max-width: 64rem) {
  .unit-register-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 48rem) {
  .unit-register-filters { grid-template-columns: minmax(0, 1fr); }
}
.meter-register-filters .filter-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; margin-bottom: .5rem; }
@media (max-width: 64rem) {
  .meter-register-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .meter-register-filters .filter-grid > div:first-child { grid-column: span 3; }
}
@media (max-width: 48rem) {
  .meter-register-filters { grid-template-columns: minmax(0, 1fr); }
  .meter-register-filters .filter-grid > div:first-child { grid-column: auto; }
}
label { display: block; font-weight: 600; font-size: 1rem; }
input, select, textarea {
  width: 100%; max-width: 100%; min-height: 2.75rem; padding: .5rem;
  font: inherit; border: 2px solid var(--cxg-primary-432);
  background: var(--cxg-white); color: var(--cxg-primary-432);
  border-radius: .25rem;
}
button, .button-link {
  min-height: 2.75rem; padding: .6rem 1.25rem; font: inherit; font-weight: 600;
  border: 2px solid var(--cxg-highlight-349); cursor: pointer;
  background: var(--cxg-highlight-349); color: var(--cxg-white);
  border-radius: .3rem;
}
.button-link { display: inline-block; text-decoration: none; }
.record-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-block: 1rem; }
.record-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-block: 1rem; }
.record-header h1, .record-header h2 { margin: 0 0 .5rem; }
.record-state, .record-hint { color: var(--cxg-primary-432); font-size: .875rem; }
body.portfolio-page main form:not(.review-flag-form):not(.review-comment-form) button,
body.portfolio-page main .button-link,
body.meter-register-page main form button,
body.meter-register-page main .button-link,
body.meter-detail-page main .button-link,
body.meter-edit-page main button,
body.supply-research-page main button,
body.supply-research-page main .button-link {
  box-sizing: border-box; min-height: 2.25rem; padding: .35rem .75rem;
  border-width: 1px; font-size: .875rem; line-height: 1.2;
}
.portfolio-detail-page .record-actions, .meter-detail-page .record-actions { gap: .5rem; margin-block: .5rem; }
.button-link--secondary { background: var(--cxg-white); color: var(--cxg-highlight-349); }
.button-link--secondary:hover { color: var(--cxg-white); }
.record-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1rem; }
.record-grid > div { min-width: 0; padding: .875rem; border: 1px solid var(--cxg-background-25); border-radius: .35rem; background: var(--cxg-background-10); }
.record-grid dt { margin-top: 0; font-size: .875rem; }
.record-grid dd { margin-top: .35rem; }
.meter-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.meter-summary-grid > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); align-items: baseline; gap: .75rem; min-width: 0; padding: .6rem .75rem; }
.meter-summary-grid dd { margin-top: 0; }
.unit-meter-card .record-header h4 { margin: 0; overflow-wrap: anywhere; }
.unit-meter-details summary { cursor: pointer; font-weight: 600; }
.unit-meter-details[open] summary { margin-bottom: .75rem; }
.unit-meter-card .record-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; }
.unit-meter-card .record-grid > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: baseline; gap: .75rem; padding: .45rem .65rem; }
.unit-meter-card .record-grid dd { margin-top: 0; }
.meter-edit-form { max-width: none; }
.meter-reactivation-search { display: grid; gap: .75rem; }
.meter-reactivation-search button { justify-self: start; }
.meter-edit-details, .meter-allocation { min-width: 0; }
.meter-edit-grid, .meter-allocation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.meter-form-field { display: grid; grid-template-columns: minmax(7rem, 1fr) minmax(0, 1.5fr); align-items: center; gap: .5rem .75rem; min-width: 0; margin: 0; padding: .6rem .75rem; border: 1px solid var(--cxg-background-25); border-radius: .35rem; background: var(--cxg-background-10); }
.meter-form-field label { min-width: 0; font-size: .875rem; }
.meter-form-field input, .meter-form-field select, .meter-form-field textarea { min-width: 0; }
.meter-form-field .helptext, .meter-form-field .errorlist { grid-column: 1 / -1; margin: 0; }
.meter-form-field--wide { grid-column: 1 / -1; }
.meter-form-field--wide select[multiple] { min-height: 7rem; }
.meter-form-field--checkbox { display: flex; justify-content: space-between; }
.meter-form-field--checkbox input[type="checkbox"] { width: auto; min-height: auto; padding: 0; }
.meter-msn-panel { margin-top: .75rem; }
.meter-msn-panel > .record-field > label { margin-bottom: .5rem; }
.meter-msn-panel [data-msn-list] { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: .5rem; }
.meter-msn-panel [data-msn-list] > p { display: grid; grid-template-columns: minmax(5rem, auto) minmax(0, 1fr) auto; align-items: center; gap: .65rem; min-width: 0; margin: 0; padding: .5rem; border: 1px solid var(--cxg-background-25); border-radius: .3rem; background: var(--cxg-white); }
.meter-msn-panel [data-msn-list] label { font-size: .875rem; }
.meter-msn-panel [data-msn-list] input { min-width: 0; }
.meter-msn-panel [data-add-msn] { margin-top: .5rem; }
.meter-allocation-review { margin-block: .75rem; }
.meter-allocation-review h2 { margin: .75rem 0 .35rem; font-size: 1.125rem; }
.meter-allocation-review .allocation-guidance { margin: .35rem 0; font-size: .875rem; }
.meter-allocation-review .allocation-review-scroll { margin: .5rem 0; }
.meter-allocation-review .allocation-review-table { min-width: 0; table-layout: fixed; font-size: .875rem; }
.allocation-review-table th:first-child { width: 48%; }
.allocation-review-table th:nth-child(2) { width: 20%; }
.allocation-review-table th:nth-child(3) { width: 32%; }
.allocation-review-table th, .allocation-review-table td { padding: .35rem .5rem; vertical-align: middle; }
.allocation-review-table tbody th { overflow-wrap: anywhere; }
.allocation-review-table tfoot th, .allocation-review-table tfoot td { background: var(--cxg-background-10); font-weight: 700; }
.allocation-review-table tfoot td:nth-child(2) { border: 2px solid var(--cxg-primary-432); }
.allocation-review-table input, .allocation-review-table select { min-height: 2.25rem; padding: .3rem .45rem; border-width: 1px; font-size: .875rem; }
.allocation-review-table .errorlist { margin: .25rem 0 0; }
.allocation-confirmation { display: flex; align-items: center; gap: .5rem; margin-block: .5rem; }
.allocation-confirmation input[type="checkbox"] { width: auto; min-height: auto; }
.allocation-confirmation label { font-size: .875rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 48rem) {
  .meter-summary-grid, .meter-edit-grid, .meter-allocation-grid { grid-template-columns: minmax(0, 1fr); }
  .unit-meter-card .record-grid { grid-template-columns: minmax(0, 1fr); }
  .meter-form-field--wide { grid-column: auto; }
}
.supply-research-page main { overflow-wrap: anywhere; }
.supply-research-page main form { max-width: none; }
.supply-research-page .record-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.supply-research-form fieldset { min-width: 0; }
.supply-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.supply-field-grid > .record-field { display: grid; grid-template-columns: minmax(8rem, 1fr) minmax(0, 1.5fr); align-items: center; gap: .75rem; min-width: 0; padding: .65rem .75rem; border: 1px solid var(--cxg-background-25); border-radius: .35rem; background: var(--cxg-background-10); }
.supply-field-grid .record-field label { min-width: 0; font-size: .875rem; }
.supply-field-grid .record-field .helptext, .supply-field-grid .record-field .errorlist { grid-column: 1 / -1; margin: 0; }
.supply-field-grid .record-field:has(input[type="checkbox"]) { display: flex; justify-content: space-between; }
.supply-field-grid .record-field input[type="checkbox"] { width: auto; min-height: auto; padding: 0; }
.supply-site-fields { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; min-width: 0; }
.supply-site-fields > .record-field { display: grid; grid-template-columns: minmax(7rem, 1fr) minmax(0, 1.5fr); align-items: center; gap: .75rem; min-width: 0; padding: .65rem .75rem; border: 1px solid var(--cxg-background-25); border-radius: .35rem; background: var(--cxg-background-10); }
.supply-site-fields .record-field label { min-width: 0; font-size: .875rem; }
.supply-msn-panel { margin-top: .75rem; padding: .875rem; border: 1px solid var(--cxg-background-25); border-radius: .35rem; background: var(--cxg-background-10); }
.supply-msn-panel > .record-field > label { margin-bottom: .5rem; }
.supply-msn-panel [data-msn-list] { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: .5rem; }
.supply-msn-panel [data-msn-list] > p { display: grid; grid-template-columns: minmax(5rem, auto) minmax(0, 1fr) auto; align-items: center; gap: .65rem; min-width: 0; margin: 0; padding: .5rem; border: 1px solid var(--cxg-background-25); border-radius: .3rem; background: var(--cxg-white); }
.supply-msn-panel [data-msn-list] label { font-size: .875rem; }
.supply-msn-panel [data-msn-list] input { min-width: 0; }
.supply-msn-panel [data-add-msn] { margin-top: .5rem; }
.supply-transitions > h2 { margin-top: 0; }
.supply-transition-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; align-items: start; }
.supply-transition-card { display: flex; flex-direction: column; min-width: 0; max-width: none; margin: 0; padding: .875rem; border: 1px solid var(--cxg-background-25); border-radius: .35rem; background: var(--cxg-background-10); }
.supply-transition-card h3 { margin: 0 0 .5rem; font-size: 1rem; }
.supply-transition-fields { display: grid; gap: .5rem; }
.supply-transition-fields > .record-field { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; gap: .65rem; min-width: 0; padding: .5rem .65rem; border: 1px solid var(--cxg-background-25); border-radius: .3rem; background: var(--cxg-white); }
.supply-transition-fields .record-field label { min-width: 0; font-size: .875rem; }
.supply-transition-fields .record-field .helptext, .supply-transition-fields .record-field .errorlist { grid-column: 1 / -1; margin: 0; }
.supply-transition-fields .record-field:has(input[type="checkbox"]) { display: flex; justify-content: space-between; }
.supply-transition-fields .record-field input[type="checkbox"] { width: auto; min-height: auto; padding: 0; }
.supply-transition-card .record-actions { margin: .65rem 0 0; }
@media (max-width: 48rem) {
  .supply-field-grid { grid-template-columns: minmax(0, 1fr); }
  .supply-site-fields { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
  .supply-transition-layout { grid-template-columns: minmax(0, 1fr); }
}
.unit-card { min-width: 0; padding: 1.25rem; margin: 1.25rem 0; border: 1px solid var(--cxg-background-25); border-radius: .5rem; }
.unit-card h2, .unit-card legend { font-size: 1.125rem; font-weight: 600; }
.unit-card legend { padding-inline: .5rem; }
.unit-detail-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; align-items: start; }
.unit-detail-layout .unit-card { margin: 0; padding: 1rem; }
.unit-detail-layout .record-grid { grid-template-columns: minmax(0, 1fr); gap: .4rem; }
.unit-detail-layout .record-grid > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: baseline; gap: .75rem; padding: .45rem .65rem; }
.unit-detail-layout .record-grid dd { margin-top: 0; }
.unit-detail-layout .record-technical { grid-column: 1 / -1; margin: 0; }
@media (max-width: 48rem) {
  .unit-detail-layout { grid-template-columns: minmax(0, 1fr); }
  .unit-detail-layout .record-technical { grid-column: auto; }
}
.unit-edit-form { max-width: none; }
.record-field .helptext { font-size: .875rem; margin-bottom: 0; }
.record-technical { margin-block: 1rem; padding: .75rem 1rem; border: 1px solid var(--cxg-background-25); border-radius: .35rem; }
.record-technical summary { cursor: pointer; font-weight: 600; }
.priority-badge { display: inline-block; padding: .2rem .65rem; border: 1px solid #B8DEC8; border-radius: 999px; font-size: .75rem; line-height: 1.4; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; background: #E8F5EC; color: var(--cxg-highlight-349); }
.priority-badge--non-priority { border-color: var(--cxg-background-25); background: #F1F2F4; color: var(--cxg-primary-432); }
.dashboard-figures { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .75rem; margin-block: .75rem 1.5rem; }
.dashboard-figures > div { min-width: 0; padding: .8rem 1rem; border: 1px solid var(--cxg-background-25); border-top: 3px solid var(--cxg-highlight-349); border-radius: .4rem; background: linear-gradient(145deg, var(--cxg-white), var(--cxg-background-10)); }
.dashboard-figures dt { margin: 0; color: var(--cxg-primary-430); font-size: .8rem; font-weight: 700; }
.dashboard-figures dd { margin: .2rem 0 0; font-size: 1.45rem; line-height: 1.2; font-weight: 700; font-variant-numeric: tabular-nums; }
.dashboard-flag-table { min-width: 54rem !important; table-layout: fixed; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--cxg-background-25); border-radius: .5rem; box-shadow: 0 .25rem .75rem rgb(51 63 72 / 10%); }
.dashboard-fund-column { width: 24%; }
.dashboard-priority-column { width: 12%; }
.dashboard-flag-count-column { width: 16%; }
.dashboard-flag-table caption { padding: .6rem .75rem; color: var(--cxg-primary-430); font-size: .875rem; }
.dashboard-flag-table th, .dashboard-flag-table td { padding: .7rem .8rem; border-width: 0 1px 1px 0; border-color: var(--cxg-background-25); vertical-align: middle; }
.dashboard-flag-table th { background: var(--cxg-primary-432); color: var(--cxg-white); font-size: .8rem; }
.dashboard-flag-table th:first-child { border-top-left-radius: .4rem; }
.dashboard-flag-table th:last-child { border-top-right-radius: .4rem; border-right: 0; }
.dashboard-flag-table td:last-child, .dashboard-flag-table tfoot td:last-child { border-right: 0; }
.dashboard-flag-table tbody tr { transition: background-color .15s ease; }
.dashboard-flag-table tbody tr:hover { background: #E8F5EC; }
.dashboard-flag-table tbody tr.dashboard-priority-row { background: #F3F8F3; }
.dashboard-flag-table tbody tr.dashboard-priority-row:hover { background: #E2F0E5; }
.dashboard-flag-table th, .dashboard-flag-table td { text-align: center; }
.dashboard-flag-table td:nth-child(n+3), .dashboard-flag-table tfoot td { font-variant-numeric: tabular-nums; }
.dashboard-flag-table td:first-child a { font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.dashboard-flag-table tfoot th, .dashboard-flag-table tfoot td { border-bottom: 0; background: var(--cxg-background-10); font-weight: 700; }
@media (max-width: 64rem) { .dashboard-figures { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 42rem) { .dashboard-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 25rem) { .dashboard-figures { grid-template-columns: minmax(0, 1fr); } }
button:hover, button:active { background: var(--cxg-primary-432); border-color: var(--cxg-primary-432); }
.button-link:hover, .button-link:active { background: var(--cxg-primary-432); border-color: var(--cxg-primary-432); }
button:disabled { cursor: not-allowed; background: var(--cxg-background-25); color: var(--cxg-primary-432); border-color: var(--cxg-primary-432); }
.error-summary { border: 3px solid var(--cxg-primary-432); padding: 1rem; margin: 1rem 0; }
.errorlist { font-weight: 600; }
.status-label { font-weight: 600; }
.skip-link { position: absolute; left: -100rem; }
.skip-link:focus { position: static; display: block; padding: 1rem; background: var(--cxg-white); }
nav[aria-label="Pagination"], nav[aria-label$="pagination"] { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; padding: 1rem 0; }
table { border-collapse: collapse; width: 100%; margin: 1rem 0; overflow-wrap: anywhere; }
th, td { padding: .5rem; border: 1px solid var(--cxg-primary-432); text-align: left; vertical-align: top; }
th { background: var(--cxg-background-25); }
tbody tr:nth-child(even) { background: var(--cxg-background-10); }
.table-scroll { position: relative; width: 100%; max-width: 100%; overflow-x: auto; margin-block: 1rem; }
.table-scroll table { min-width: 40rem; margin: 0; }
.account-table th, .account-table td { border-color: var(--cxg-background-25); padding: .75rem; }
.account-table th { font-size: .875rem; }
.account-table .button-link { white-space: nowrap; }
.users-page main { margin: 1rem; padding: 1rem; }
.users-management { font-size: .875rem; }
.users-management h1 { font-size: 1.5rem; margin-bottom: .35rem; }
.users-management .users-introduction { margin: 0 0 .5rem; font-size: .8125rem; }
.users-management section { padding: .5rem .75rem; margin-block: .5rem; }
.users-management h2 { font-size: 1rem; margin: 0 0 .5rem; }
.users-management section > p { margin: .35rem 0 .5rem; }
.users-management label { font-size: .8125rem; }
.users-management input, .users-management select { min-height: 2rem; padding: .3rem .5rem; border-width: 1px; }
.users-management button, .users-management .button-link { min-height: 2rem; padding: .3rem .65rem; border-width: 1px; white-space: nowrap; }
.users-management .account-invitation-form { margin: 0; max-width: none; }
.account-invitation-form .filter-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) auto; gap: .75rem; align-items: end; margin: 0; }
.users-management .table-scroll { margin: .5rem 0; }
.users-management .account-table th, .users-management .account-table td { padding: .45rem .6rem; }
.users-management .account-table th { font-size: .75rem; }
.users-management nav[aria-label$="pagination"] { padding: .35rem 0 0; }
.pending-invitations { max-height: 8rem; overflow-y: auto; overscroll-behavior: contain; }
.invitation-list { list-style: none; margin: 0; padding: 0; }
.invitation-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .35rem .75rem; align-items: center; padding: .5rem; border: 1px solid var(--cxg-background-25); border-radius: .3rem; }
.invitation-list li + li { margin-top: .4rem; }
.invitation-summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .75rem; }
.invitation-summary .record-hint { font-size: .75rem; }
.invitation-link-cell { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; grid-column: 1 / -1; }
.invitation-link-cell input { width: 0; flex: 1; min-width: 4rem; font-size: .8125rem; }
.invitation-link-cell [data-copy-status] { flex-basis: 100%; margin: 0; font-size: .75rem; }
.invitation-link-cell [data-copy-status]:empty { flex-basis: 0; }
.users-management .invitation-resend { margin: 0; }
.invitation-link-cell .invitation-revoke { flex: 0 0 auto; align-self: center; }
@media (max-width: 55rem) {
  .account-invitation-form .filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  .account-invitation-form .filter-grid { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .users-management input, .users-management select, .users-management button, .users-management .button-link { min-height: 2.75rem; }
  .invitation-list li { grid-template-columns: minmax(0, 1fr); }
  .invitation-link-cell .invitation-revoke { justify-self: start; }
}
caption { text-align: left; }
.audit-history { font-size: .8125rem; }
.audit-history h1 { font-size: 1.5rem; }
.audit-history .audit-filters { max-width: none; padding: .75rem; border: 1px solid var(--cxg-background-25); border-radius: .35rem; margin-block: .75rem; }
.audit-filters .filter-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .75rem; margin-bottom: .5rem; }
.audit-filters label { font-size: .8125rem; }
.audit-filters .audit-keyword { grid-column: 1 / -1; }
.audit-filters input, .audit-filters select { min-height: 2.25rem; border-width: 1px; }
.audit-filters .record-actions { margin-block: .5rem; gap: .5rem; }
.audit-filters .record-hint { margin-bottom: 0; }
.audit-history th, .audit-history td { border-color: var(--cxg-background-25); padding: .5rem; }
.table-scroll .audit-table { table-layout: fixed; min-width: 80rem; }
.audit-column-timestamp { width: 17%; }
.audit-column-user { width: 14%; }
.audit-column-ip { width: 12%; }
.audit-column-action { width: 17%; }
.audit-column-outcome { width: 8%; }
.audit-column-target { width: 14%; }
.audit-column-message { width: 18%; }
.audit-history .audit-timestamp { min-width: 10rem; }
input[type="checkbox"] { width: auto; }
@media (max-width: 30rem) { main { padding: 1rem .5rem; } .panel { padding: 1rem; } }

/* Review flags and comments */
.review-flag, .review-indicator { font-size: 1.1rem; line-height: 1; margin-left: 0.15rem; }
.review-flag--grey { color: #4a4f54; }
.review-flag--green { color: #1a7f37; }
.review-flag--yellow { color: #b58a00; }
.review-flag--red { color: #c0392b; }
.review-flag--white { color: #fff; text-shadow: -1px 0 #4a4f54, 0 1px #4a4f54, 1px 0 #4a4f54, 0 -1px #4a4f54; }
.review-indicator { opacity: 0.85; }
.review-indicator--yellow { color: #b58a00; }
.review-indicator--red { color: #c0392b; }
.review-flag-cell { text-align: right; white-space: nowrap; }
.review-workflow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: 1.25rem; font-size: .875rem; }
.review-workflow > .review-section, .review-workflow > .review-comments { min-width: 0; margin: 0; padding: .875rem; }
.review-workflow h2 { margin: 0; font-size: 1.125rem; }
.review-workflow-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .5rem; min-height: 1.5rem; margin-bottom: .5rem; }
.review-workflow .review-workflow-heading p { margin: 0; }
.review-workflow p { margin-block: .35rem; }
.review-flag-form, .review-comment-form { display: grid; gap: .4rem; max-width: none; margin: 0; }
.review-workflow label, .review-outcomes legend { font-size: .8125rem; }
.review-workflow form > label { margin: 0; line-height: 1.2; }
.review-workflow textarea { box-sizing: border-box; height: 3.25rem; min-height: 3.25rem; padding: .4rem; border-width: 1px; resize: vertical; }
.review-workflow button { box-sizing: border-box; justify-self: start; width: 7rem; min-height: 2rem; padding: .3rem .5rem; border-width: 1px; font-size: .8125rem; }
.review-outcomes { display: flex; flex-wrap: wrap; align-content: start; gap: .35rem .85rem; box-sizing: border-box; width: 100%; height: 2.6rem; min-width: 0; min-height: 2.6rem; margin: 0; padding: 0; border: 0; }
.review-outcomes legend { margin-bottom: .3rem; padding: 0; font-weight: 600; }
.review-outcomes label { display: inline-flex; align-items: center; gap: .3rem; font-weight: 400; }
.review-outcomes input[type="radio"] { width: auto; min-height: auto; margin: 0; padding: 0; accent-color: var(--cxg-highlight-349); }
.review-comment-spacer { height: 2.6rem; min-height: 2.6rem; }
.review-comment-empty { font-size: .8125rem; }
.review-clear-form { margin-top: 0.5rem; }
.review-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.review-workflow .review-remove-flag { background: var(--cxg-background-25); border-color: var(--cxg-primary-432); color: var(--cxg-primary-432); }
.review-workflow .review-remove-flag:hover, .review-workflow .review-remove-flag:active { background: var(--cxg-primary-432); color: var(--cxg-white); }
.review-comment-history { list-style: none; padding: 0; margin: .5rem 0 0; }
.review-comment-history li { border-top: 1px solid #d9dde1; padding: .35rem 0; }
.review-comment-meta { margin: 0 0 .2rem; }
.review-comment-text { margin: 0; white-space: pre-wrap; }
@media (max-width: 54rem) {
  .review-workflow { grid-template-columns: minmax(0, 1fr); }
  .review-comment-spacer { display: none; }
}
.review-filter { display: inline-flex; align-items: center; gap: .4rem; margin: 0 .75rem 0 0; }
.review-filter label { display: inline; margin: 0; }
.review-filter select { padding-block: .15rem; }
.meter-page .table-scroll { margin-block: .4rem .5rem; }
.meter-page main > p[role="status"] { margin-block: .3rem; }
