/*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize */

/*
Document
========
*/

/**
Use a better box model (opinionated).
*/

*,
::before,
::after {
	box-sizing: border-box;
}

html {
	/* Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3) */
	font-family:
		system-ui,
		'Segoe UI',
		Roboto,
		Helvetica,
		Arial,
		sans-serif,
		'Apple Color Emoji',
		'Segoe UI Emoji';
	line-height: 1.15; /* 1. Correct the line height in all browsers. */
	-webkit-text-size-adjust: 100%; /* 2. Prevent adjustments of font size after orientation changes in iOS. */
	-moz-tab-size: 4;
	  -o-tab-size: 4;
	     tab-size: 4; /* 3. Use a more readable tab size (opinionated). */
}

/*
Sections
========
*/

body {
	margin: 0; /* Remove the margin in all browsers. */
}

/*
Text-level semantics
====================
*/

/**
Add the correct font weight in Chrome and Safari.
*/

b,
strong {
	font-weight: bolder;
}

/**
1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
2. Correct the odd 'em' font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
	font-family:
		ui-monospace,
		SFMono-Regular,
		Consolas,
		'Liberation Mono',
		Menlo,
		monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/**
Add the correct font size in all browsers.
*/

small {
	font-size: 80%;
}

/**
Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
*/

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/*
Tabular data
============
*/

/**
Correct table border color inheritance in Chrome and Safari. (https://issues.chromium.org/issues/40615503, https://bugs.webkit.org/show_bug.cgi?id=195016)
*/

table {
	border-color: currentcolor;
}

/*
Forms
=====
*/

/**
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
*/

button,
input,
optgroup,
select,
textarea {
	font-family: inherit; /* 1 */
	font-size: 100%; /* 1 */
	line-height: 1.15; /* 1 */
	margin: 0; /* 2 */
}

/**
Correct the inability to style clickable types in iOS and Safari.
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
	-webkit-appearance: button;
}

/**
Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
*/

legend {
	padding: 0;
}

/**
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
	vertical-align: baseline;
}

/**
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
	height: auto;
}

/**
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
	-webkit-appearance: textfield; /* 1 */
	outline-offset: -2px; /* 2 */
}

/**
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to 'inherit' in Safari.
*/

::-webkit-file-upload-button {
	-webkit-appearance: button; /* 1 */
	font: inherit; /* 2 */
}

/*
Interactive
===========
*/

/*
Add the correct display in Chrome and Safari.
*/

summary {
	display: list-item;
}

:root {
  --color-text: #111827;
  --color-background: #f8fafc;
  --color-surface: #ffffff;
  --color-accent: #0f766e;
  --color-border: #d1d5db;
}

/* ABOUTME: Defines shared page typography and navigation. */
/* ABOUTME: Keeps the application brand usable across screen sizes. */
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "DM Serif Display";
  src: url("/fonts/dm-serif-display.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-background);
  font-family: system-ui, sans-serif;
}

.site-header {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  background: #fff;
  border-bottom: 1px solid #cdd6d0;
  font-family: "DM Sans", "Avenir Next", sans-serif;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #183f37;
  font-weight: 700;
  text-decoration: none;
}

.site-brand-mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 4px;
  color: #fff;
  background: #183f37;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.35rem;
}

.site-nav-link {
  color: #183f37;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.site-brand:focus-visible,
.site-nav-link:focus-visible {
  outline: 3px solid #a05c27;
  outline-offset: 3px;
}


.site-footer {
  border-top: 1px solid #cdd6d0;
  background: #e7eee9;
  color: #53766a;
  font-family: "DM Sans", "Avenir Next", sans-serif;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  max-width: 70rem;
  margin: 0 auto;
  padding: 1rem 3rem;
}

.site-footer__nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}

.site-footer__link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: #183f37;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 4px;
}

.site-footer__link:hover {
  text-decoration: underline;
}

.site-footer__link:focus-visible {
  outline: 3px solid #a05c27;
  outline-offset: 3px;
  border-radius: 2px;
}

.site-footer__copyright {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.6;
}

.home .site-footer__inner {
  max-width: none;
  padding-inline: 1.5rem;
}

@media (max-width: 700px) {
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1.5rem 1.25rem;
  }
}

/* ABOUTME: Styles the home page's nearby results and map. */
/* ABOUTME: Keeps the map and permit controls usable on narrow screens. */
.explorer {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  align-items: start;
  min-height: calc(100vh - 66px);
  background: #e7eee9;
}

.explorer-sidebar {
  padding: 2rem 1.5rem;
  min-width: 0;
  min-height: calc(100vh - 66px);
  color: #243d35;
  background: #fff;
  border-right: 1px solid #dce5df;
  font-family: "DM Sans", "Avenir Next", sans-serif;
}

.explorer-eyebrow {
  margin: 0 0 0.75rem;
  color: #53766a;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.explorer-intro h1 {
  margin: 0 0 1.75rem;
  color: #183f37;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.15;
}

.explorer-search {
  display: grid;
  gap: 0.5rem;
}

.explorer-search label {
  font-size: 0.85rem;
  font-weight: 700;
}

.address-label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.explorer-search .address-help {
  min-height: 28px;
  min-width: 28px;
  padding: 0;
  text-align: left;
  background: transparent;
  color: #174e42;
  font-size: 0.85rem;
}

.address-tooltip {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  box-sizing: border-box;
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #cdd6d0;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 4px 16px #183f3726;
}

.explorer-search input,
.explorer-search select {
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #cdd6d0;
  border-radius: 4px;
  background: #fff;
  color: #243d35;
  font-family: inherit;
}

.explorer-search button {
  min-height: 2.75rem;
  border: 0;
  border-radius: 4px;
  background: #174e42;
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
}

.explorer-search .geolocation-button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  justify-self: start;
  min-width: 44px;
  padding: 0.5rem 0;
  background: transparent;
  color: #174e42;
  text-align: left;
  font-size: 0.8125rem;
  font-weight: 600;
}

.explorer-search .geolocation-button[hidden] {
  display: none;
}

.geolocation-button svg {
  width: 1rem;
  height: 1rem;
  flex: none;
}

.geolocation-button span {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.explorer-search .geolocation-button:disabled {
  color: #53665e;
  cursor: wait;
}

.geolocation-privacy,
.geolocation-status {
  margin: 0;
  color: #53665e;
  font-size: 0.8rem;
  line-height: 1.5;
}

.geolocation-privacy {
  font-size: 0.75rem;
  line-height: 1.4;
}

.geolocation-privacy a {
  color: #174e42;
}

.geolocation-status:empty {
  display: none;
}

.explorer-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  color: #53665e;
  font-size: 0.8rem;
}

.explorer-filters input {
  width: 4.25rem;
}

.explorer-radius {
  width: 100%;
  color: #183f37;
  font-weight: 700;
}

.explorer-notice {
  color: #435c50;
  overflow-wrap: anywhere;
}

.explorer :focus-visible {
  outline: 3px solid #a05c27;
  outline-offset: 2px;
}

.explorer-results {
  margin-top: 2rem;
  border-top: 1px solid #dce5df;
}

.results-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.results-heading h2 {
  margin: 0;
  color: #183f37;
  font-size: 1.1rem;
}

.results-heading span,
.results-count {
  color: #65756d;
  font-size: 0.75rem;
}

.results-count {
  margin: 0.5rem 0 1rem;
}

.permit-list-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 0;
  border-top: 1px solid #e6ece8;
}

.permit-row-content {
  min-width: 0;
  overflow-wrap: anywhere;
}

.permit-source {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.permit-source--building {
  color: #245c9e;
}

.permit-source--cdot {
  color: #8b5a83;
}

.permit-address {
  color: #183f37;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration-color: #b6c8bd;
  text-underline-offset: 3px;
}

.permit-work-type,
.permit-row-content time {
  color: #65756d;
  font-size: 0.8rem;
  line-height: 1.4;
}

.permit-work-type {
  margin: 0.4rem 0 0;
}

.permit-row-content time {
  display: block;
  margin-top: 0.25rem;
}

.permit-map-trigger {
  display: grid;
  place-items: center;
  flex: 0 0 2.25rem;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid #dce5df;
  border-radius: 4px;
  background: #fff;
  color: #376757;
  cursor: pointer;
}

.permit-map-trigger:hover {
  background: #edf4ef;
}

.permit-map-trigger svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.results-empty {
  color: #65756d;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.map-workspace {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 66px);
  min-height: 650px;
  min-width: 0;
}

.map-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 0.75rem 1rem;
  background: #f7faf8;
  color: #435c50;
  font-family: "DM Sans", "Avenir Next", sans-serif;
  font-size: 0.75rem;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.map-legend span::before {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  content: "";
}

.map-legend-search::before { background: #0f766e; }
.map-legend-building::before { background: #2563eb; }
.map-legend-cdot::before { background: #8b5a83; }

.map-overlay-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.map-overlay-toggle input {
  accent-color: #174e42;
}

.map-canvas {
  flex: 1 1 auto;
  min-height: 575px;
  width: 100%;
}

.map-workspace .maplibregl-popup-content {
  padding-right: 1.75rem;
  overflow-wrap: anywhere;
}

@media (max-width: 700px) {
  .explorer {
    grid-template-columns: minmax(0, 1fr);
  }

  .explorer-sidebar {
    min-height: 0;
    border-right: 0;
  }

  .map-workspace {
    position: static;
    height: auto;
    min-height: 0;
  }

  .map-canvas {
    flex: none;
    height: 420px;
    min-height: 0;
  }
}

.search-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #dce5df;
  font-size: 0.75rem;
}

.search-pagination-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
}

.search-pagination a,
.search-pagination .current,
.search-pagination .disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 2.75rem;
  padding: 0.375rem;
  border: 1px solid #dce5df;
  border-radius: 4px;
  color: #183f37;
  text-decoration: none;
  font-weight: 700;
}

.search-pagination a:hover {
  background: #edf4ef;
  border-color: #0f766e;
}

.search-pagination .current {
  background: #0f766e;
  border-color: #0f766e;
  color: #fff;
}

.search-pagination .disabled {
  color: #65756d;
  background: #f7faf8;
  border-color: transparent;
}

.search-pagination .gap {
  color: #65756d;
}

.search-pagination-status {
  display: none;
}

@media (max-width: 700px) {
  .search-pagination {
    justify-content: space-between;
  }

  .search-pagination-numbers {
    display: none;
  }

  .search-pagination-status {
    display: inline;
    color: #435c50;
  }

  .search-pagination a,
  .search-pagination .disabled {
    padding-inline: 0.75rem;
  }
}

.permit-list-item.is-selected {
  background: #edf4ef;
  box-shadow: inset 3px 0 #0f766e;
  border-radius: 4px;
  padding-inline: 0.75rem;
}

.permit-map-trigger[aria-pressed="true"] {
  background: #0f766e;
  border-color: #0f766e;
  color: #fff;
}

/* ABOUTME: Styles building and CDOT permit briefs using the homepage palette and fonts. */
/* ABOUTME: Keeps the reading column and map responsive on narrow screens. */
.permit-show {
  background: #e7eee9;
  color: #243d35;
  font-family: "DM Sans", "Avenir Next", sans-serif;
}
.permit-brief {
  max-width: 70rem;
  min-height: calc(100vh - 66px);
  margin: 0 auto;
  padding: 2rem 3rem 3rem;
  background: #fff;
  overflow-wrap: anywhere;
}
.permit-brief__back {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-bottom: 1.25rem;
  color: #53766a;
  font-size: 0.8rem;
  text-underline-offset: 3px;
}
.permit-brief__source {
  margin: 0 0 0.6rem;
  color: #245c9e;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.permit-brief__source--cdot { color: #8b5a83; }
.permit-brief h1 {
  margin: 0 0 0.75rem;
  color: #183f37;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
}
.permit-brief h2 {
  margin: 0 0 1rem;
  color: #183f37;
  font-size: 1.1rem;
  line-height: 1.4;
}
.permit-brief p { line-height: 1.65; }
.permit-brief__muted,
.permit-brief__caption { color: #65756d; }
.permit-brief__caption { font-size: 0.75rem; }
.permit-brief__prose { white-space: pre-line; }
.permit-brief__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  margin: 1.75rem 0 0;
  padding: 1.5rem 0;
  border-block: 1px solid #dce5df;
}
.permit-brief__facts dt {
  margin-bottom: 0.5rem;
  color: #65756d;
  font-size: 0.65rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.permit-brief__facts dd {
  margin: 0;
  color: #183f37;
  font-size: 1.1rem;
  font-weight: 600;
}
.permit-brief__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: start;
  gap: 2.75rem;
  margin-top: 2rem;
}
.permit-brief__content,
.permit-brief__location { min-width: 0; }
.permit-brief__section {
  padding: 1.75rem 0;
  border-bottom: 1px solid #dce5df;
}
.permit-brief__section:first-child { padding-top: 0; }
.permit-brief__section p:last-child { margin-bottom: 0; }
.permit-brief__details { margin: 0; }
.permit-brief__details > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  line-height: 1.5;
}
.permit-brief__details dt { color: #65756d; }
.permit-brief__details dd { margin: 0; text-align: right; }
.permit-brief__contacts { margin: 0; padding: 0; list-style: none; }
.permit-brief__contacts li + li { margin-top: 1.5rem; }
.permit-brief__contacts p { margin: 0.25rem 0; }
.permit-brief__source-data { padding-top: 1rem; }
.permit-brief__source-data summary {
  display: list-item;
  padding-block: 0.75rem;
  color: #376757;
  font-size: 0.8rem;
  cursor: pointer;
}
.permit-brief__source-data pre {
  padding: 1rem;
  border: 1px solid #dce5df;
  background: #f7faf8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 0.75rem;
  line-height: 1.6;
}
.permit-brief__location {
  border: 1px solid #dce5df;
  background: #f7faf8;
}
.permit-brief__map-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  color: #435c50;
  font-size: 0.7rem;
}
.permit-brief__map-toolbar label { min-height: 2.75rem; }
.permit-brief__map-key { display: inline-flex; align-items: center; gap: 0.4rem; }
.permit-brief__map-key::before {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #0f766e;
  content: "";
}
.permit-show__map { width: 100%; height: 20rem; }
.permit-brief__location-details { padding: 1.5rem; }
.permit-brief__location-details > p { font-size: 0.9rem; }
.permit-brief__map-empty { margin: 0; padding: 1.5rem; border-bottom: 1px solid #dce5df; color: #65756d; }
.permit-brief .maplibregl-popup-content { padding-right: 1.75rem; overflow-wrap: anywhere; }
.permit-brief :focus-visible { outline: 3px solid #a05c27; outline-offset: 3px; }
@media (max-width: 700px) {
  .permit-brief { padding: 1.5rem; }
  .permit-brief__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .permit-brief__facts { gap: 1.5rem; }
  .permit-brief__facts dd { font-size: 1rem; }
  .permit-show__map { height: 18rem; }
}
/* ABOUTME: Presents permit activity with issue dates beside a chronological feed. */
/* ABOUTME: Shares the homepage palette and stacks date groups on mobile. */
.permits-index {
  background: #e7eee9;
  color: #243d35;
  font-family: "DM Sans", "Avenir Next", sans-serif;
}

.permit-feed {
  max-width: 70rem;
  min-height: calc(100vh - 66px);
  margin: 0 auto;
  padding: 2.5rem 3rem;
  background: #fff;
  overflow-wrap: anywhere;
}

.permit-feed__heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.permit-feed__eyebrow {
  margin: 0 0 0.75rem;
  color: #53766a;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.permit-feed h1 {
  margin: 0 0 0.75rem;
  color: #183f37;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
}

.permit-feed__intro { margin: 0; color: #65756d; line-height: 1.6; }
.permit-feed__nearby {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 2.75rem;
  padding: 0.6rem 1rem;
  border: 1px solid #cdd6d0;
  border-radius: 4px;
  color: #376757;
  font-size: 0.8rem;
  text-decoration: none;
}
.permit-feed__nearby:hover { background: #edf4ef; }

.permit-feed__toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: 2rem;
  padding: 1rem 0;
  border-block: 1px solid #dce5df;
  color: #65756d;
  font-size: 0.75rem;
}
.permit-feed__toolbar p { margin: 0; }
.permit-feed__toolbar strong { color: #243d35; font-weight: 600; }

.permit-feed__group {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}
.permit-feed__date {
  margin: 0;
  padding-top: 0.15rem;
  color: #183f37;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.3;
}
.permit-feed__date span {
  display: block;
  margin-top: 0.5rem;
  color: #65756d;
  font-family: "DM Sans", "Avenir Next", sans-serif;
  font-size: 0.75rem;
}
.permit-feed__items { min-width: 0; border-left: 1px solid #dce5df; padding-left: 1.75rem; }
.permit-feed__item {
  position: relative;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e6ece8;
}
.permit-feed__item:last-child { margin-bottom: 0; }
.permit-feed__item::before {
  position: absolute;
  top: 0.2rem;
  left: calc(-1.75rem - 5px);
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  outline: 1px solid #bfd0c6;
  background: #0f766e;
  content: "";
}
.permit-feed__type {
  margin: 0 0 0.6rem;
  color: #245c9e;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}
.permit-feed__item h3 { margin: 0 0 0.5rem; font-size: 1.1rem; line-height: 1.4; }
.permit-feed__type--cdot { color: #8b5a83; }
.permit-feed__item h3 a { color: #183f37; text-decoration-color: #b6c8bd; text-underline-offset: 4px; }
.permit-feed__item h3 a:hover { text-decoration-color: #174e42; }
.permit-feed__description { margin: 0.5rem 0; color: #53665e; font-size: 0.9rem; line-height: 1.65; }
.permit-feed__metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  color: #65756d;
  font-size: 0.75rem;
  line-height: 1.5;
}
.permit-feed__metadata li { min-width: 0; }
.permit-feed__metadata strong { color: #243d35; font-weight: 500; }
.permit-feed__empty { padding: 3rem 0; color: #65756d; line-height: 1.6; }
.permit-feed__empty h2 { color: #183f37; font-size: 1.25rem; }
.permit-feed__empty a { color: #376757; text-underline-offset: 3px; }
.permit-feed :focus-visible { outline: 3px solid #a05c27; outline-offset: 3px; }

@media (max-width: 700px) {
  .permit-feed { padding: 1.75rem 1.5rem; }
  .permit-feed__heading { display: block; }
  .permit-feed__nearby { margin-top: 1.25rem; }
  .permit-feed__group { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .permit-feed__date span { display: inline; margin-left: 0.5rem; }
  .permit-feed__items { margin-left: 5px; padding-left: 1.25rem; }
  .permit-feed__item::before { left: calc(-1.25rem - 5px); }
}
