
.health-permits [hidden] { display: none !important; }
.health-permits :is(a, p, h3, dd, summary) { overflow-wrap: anywhere; }
.health-permits :is(a, button, input, select, summary, [tabindex="-1"]):focus-visible { outline: 3px solid #24654e; outline-offset: 3px; }
.health-permits .panel { margin-block: 1.5rem; }
.permit-form { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); align-items: end; gap: .7rem; margin-block: 1.1rem; }
.permit-form label { display: grid; gap: .35rem; font-weight: 650; min-width: 0; }
.permit-form :is(input, select) { width: 100%; min-width: 0; }
.health-permits :is(input, select, button) { box-sizing: border-box; min-height: 2.75rem; padding: .48rem .65rem; border: 1px solid #859c90; border-radius: .45rem; background: #fffef9; color: inherit; font: inherit; }
.health-permits button { cursor: pointer; }
.permit-form button { justify-self: start; }
.permit-form button[type="submit"] { background: #24654e; color: #fff; }
.permit-results:empty { display: none; }
.permit-results, .permit-examples, .permit-conclusion { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: .75rem; padding: 0; list-style: none; margin-block: 1rem; }
.permit-results li, .permit-examples li, .permit-conclusion div { padding: .85rem; border: 1px solid #c6d7cd; border-radius: .65rem; background: #fffef9; }
.permit-results [data-permit-result="review"] { background: #fdf0e6; border-color: #c3926d; }
.health-permits :is(.permit-results, .permit-examples) :is(p, h3) { margin: 0 0 .45rem; }
.health-permits .permit-status-label { font-weight: 700; }
.health-permits [data-permit-result="approved"] .permit-status-label { color: #245641; }
.health-permits [data-permit-result="review"] .permit-status-label { color: #803f28; }
.permit-results details { border-block: 1px solid #d6e1d9; margin-block: .6rem; padding-block: .35rem; }
.permit-results time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.permit-results summary { cursor: pointer; min-height: 2.4rem; align-content: center; }
.permit-results dt, .permit-conclusion dt, .permit-chart figcaption, [data-permit-status] { font-weight: 700; }
.permit-results dd { margin: .05rem 0 .65rem; white-space: pre-line; }
.permit-conclusion dd { margin: .25rem 0 0; }
.permit-chart { margin: .8rem 0; padding: .85rem; border: 1px solid #bcd2c5; border-radius: .65rem; background: #edf5ec; }
.permit-chart ul { margin: .45rem 0 0; padding: 0; list-style: none; }
.permit-chart li { display: grid; grid-template-columns: minmax(10rem, 1.6fr) minmax(0, 2fr) 4.75rem; gap: .3rem .55rem; align-items: center; margin-block: .5rem; }
.permit-chart strong { text-align: end; font-variant-numeric: tabular-nums; }
.permit-chart meter { width: 100%; height: .95rem; }
.permit-chart meter::-webkit-meter-bar { background: #d6e7dc; border: 0; }
.permit-chart meter::-webkit-meter-optimum-value { background: #28674f; }
.permit-chart [data-permit-chart-status="review"] meter::-webkit-meter-optimum-value { background: #965739; }
@media (max-width: 720px) {
  .permit-results, .permit-examples, .permit-conclusion { grid-template-columns: minmax(0, 1fr); }
  .permit-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .permit-form label:first-child, .permit-form label:nth-child(4) { grid-column: 1 / -1; }
  .permit-chart li { grid-template-columns: minmax(0, 1fr) 4.5rem; }
  .permit-chart a { grid-column: 1 / -1; justify-self: start; }
}
