.shoogle-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 28px 22px 56px;
  color: #202124;
  background: #fff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  box-sizing: border-box;
}
.shoogle-wrap *,
.shoogle-wrap *::before,
.shoogle-wrap *::after {
  box-sizing: border-box;
}
.shoogle-header {
  text-align: center;
  margin: 4px 0 30px;
}
.shoogle-logo {
  display: block;
  width: min(100%, 620px);
  height: auto;
  margin: 0 auto 14px;
}
.shoogle-intro {
  max-width: 720px;
  margin: 0 auto;
  color: #5f6368;
  font-size: 17px;
  line-height: 1.5;
}
.shoogle-notice {
  border-left: 4px solid #0a2472;
  background: #f4f7fb;
  padding: 13px 16px;
  margin: 0 0 22px;
  color: #26313d;
}
.shoogle-search-section {
  margin-bottom: 36px;
}
.shoogle-top-bar {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.shoogle-search-form {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: 10px;
  align-items: stretch;
}
.shoogle-search-form input[type="search"] {
  flex: 1;
  min-width: 0;
  min-height: 56px;
  border: 1.5px solid #0a2472;
  border-radius: 16px;
  padding: 0 20px;
  background: #fff;
  color: #202124;
  font: inherit;
  font-size: 18px;
  line-height: 1.35;
  box-shadow: 0 1px 3px rgba(10, 36, 114, 0.08);
  appearance: none;
}
.shoogle-search-form input[type="search"]:hover {
  border-color: #06184e;
}
.shoogle-search-form input[type="search"]:focus {
  outline: 3px solid rgba(51, 102, 204, 0.22);
  outline-offset: 2px;
  border-color: #0a2472;
  box-shadow: 0 2px 8px rgba(10, 36, 114, 0.14);
}
.shoogle-search-submit,
.shoogle-filter-toggle,
.shoogle-btn-add,
.shoogle-submit-form button,
.shoogle-report-card button[type=submit],
.shoogle-community-edit-card button[type=submit] {
  min-height: 56px;
  border-radius: 14px;
  padding: 0 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}
.shoogle-search-submit,
.shoogle-submit-form button,
.shoogle-report-card button[type=submit],
.shoogle-community-edit-card button[type=submit] {
  border: 1px solid #0a2472;
  background: #0a2472;
  color: #fff;
}
.shoogle-search-submit {
  min-width: 88px;
}
.shoogle-search-submit:hover,
.shoogle-search-submit:focus-visible,
.shoogle-submit-form button:hover,
.shoogle-submit-form button:focus-visible,
.shoogle-report-card button[type=submit]:hover,
.shoogle-report-card button[type=submit]:focus-visible,
.shoogle-community-edit-card button[type=submit]:hover,
.shoogle-community-edit-card button[type=submit]:focus-visible {
  background: #06184e;
  border-color: #06184e;
  color: #fff;
  box-shadow: 0 4px 12px rgba(10, 36, 114, 0.18);
}
.shoogle-filter-toggle,
.shoogle-btn-add {
  border: 1.5px solid #0a2472;
  background: #fff;
  color: #0a2472;
}
.shoogle-filter-toggle[hidden] {
  display: none !important;
}
.shoogle-filter-toggle:hover,
.shoogle-filter-toggle:focus-visible,
.shoogle-btn-add:hover,
.shoogle-btn-add:focus-visible {
  background: #eef3fa;
  border-color: #06184e;
  color: #06184e;
  box-shadow: 0 3px 10px rgba(10, 36, 114, 0.12);
}
.shoogle-filter-toggle.is-active,
.shoogle-filter-toggle[aria-expanded="true"] {
  background: #0a2472;
  border-color: #0a2472;
  color: #fff;
}
.shoogle-filter-toggle.is-active:hover,
.shoogle-filter-toggle.is-active:focus-visible,
.shoogle-filter-toggle[aria-expanded="true"]:hover,
.shoogle-filter-toggle[aria-expanded="true"]:focus-visible {
  background: #06184e;
  border-color: #06184e;
  color: #fff;
}
.shoogle-filter-count {
  display: inline-flex;
  min-width: 21px;
  height: 21px;
  margin-left: 5px;
  padding: 0 6px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #0a2472;
  color: #fff;
  font-size: 11px;
  line-height: 1;
}
.shoogle-filter-toggle.is-active .shoogle-filter-count,
.shoogle-filter-toggle[aria-expanded="true"] .shoogle-filter-count {
  background: #fff;
  color: #0a2472;
}
.shoogle-filter-count[hidden] {
  display: none !important;
}

/* Collapsible multi-select council-area filter */
.shoogle-region-chooser {
  max-height: 0;
  margin-top: 0;
  padding: 0 16px;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  border: 1px solid transparent;
  border-radius: 14px;
  background: #f8fafc;
  transition: max-height 0.22s ease, margin 0.22s ease, padding 0.22s ease, opacity 0.18s ease, transform 0.22s ease, border-color 0.22s ease;
}
.shoogle-region-chooser[hidden] {
  display: none !important;
}
.shoogle-region-chooser.is-open {
  max-height: 920px;
  margin-top: 16px;
  padding: 18px;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  border-color: #d7e0ec;
}
.shoogle-region-chooser-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 13px;
}
.shoogle-region-chooser-title {
  min-width: 0;
}
.shoogle-region-chooser-heading h3 {
  margin: 0;
  color: #0a2472;
  font-size: 17px;
  line-height: 1.3;
}
.shoogle-region-chooser-heading p {
  margin: 4px 0 0;
  color: #626b75;
  font-size: 13px;
  line-height: 1.4;
}
.shoogle-region-clear {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #0a2472;
  padding: 2px 0;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
.shoogle-region-clear:hover,
.shoogle-region-clear:focus-visible {
  color: #06184e;
}
.shoogle-region-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}
.shoogle-region-button {
  width: 100%;
  min-height: 40px;
  border: 1px solid #c6d3e3 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #0a2472 !important;
  padding: 7px 12px !important;
  font: inherit !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.2 !important;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(10, 36, 114, 0.05);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.shoogle-region-button:hover {
  background: #eaf0f8 !important;
  border-color: #3366cc !important;
  color: #06184e !important;
  box-shadow: 0 3px 8px rgba(10, 36, 114, 0.11);
  transform: translateY(-1px);
}
.shoogle-region-button:focus-visible {
  outline: 3px solid rgba(51, 102, 204, 0.30) !important;
  outline-offset: 2px;
}
.shoogle-region-button[aria-pressed="true"] {
  background: #0a2472 !important;
  border-color: #0a2472 !important;
  color: #fff !important;
  box-shadow: 0 3px 9px rgba(10, 36, 114, 0.20);
}
.shoogle-region-button[aria-pressed="true"]:hover {
  background: #06184e !important;
  border-color: #06184e !important;
  color: #fff !important;
}
.shoogle-region-all {
  font-weight: 750 !important;
}
.shoogle-region-selection-status {
  margin: 11px 2px 0;
  color: #5b6470;
  font-size: 13px;
}

.shoogle-results {
  margin-top: 28px;
}
.shoogle-result-count {
  margin: 0 0 4px;
  color: #6b7075;
  font-size: 14px;
  line-height: 1.4;
}
.shoogle-result {
  margin: 0;
  padding: 22px 0 20px;
  border-bottom: 1px solid #e6e9ee;
}
.shoogle-result-header {
  display: block;
}
.shoogle-result h3 {
  margin: 0;
  color: #3366cc;
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1.22;
  letter-spacing: -0.01em;
}
.shoogle-result h3 a {
  color: #3366cc;
  font-size: inherit !important;
  font-weight: inherit !important;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.shoogle-result h3 a:hover,
.shoogle-result h3 a:focus-visible {
  color: #174ea6;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.shoogle-result-url {
  display: block;
  margin-top: 5px;
  color: #28703f;
  font-size: 13.5px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.shoogle-result > p:not(.shoogle-result-meta) {
  max-width: 880px;
  margin: 8px 0 0;
  color: #303134;
  font-size: 16px;
  line-height: 1.5;
}
.shoogle-result mark {
  background: #fff0a8;
  color: inherit;
  padding: 0 2px;
  border-radius: 3px;
}
.shoogle-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: 7px 0 0 !important;
  color: #6b7075 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}
.shoogle-result-meta span {
  display: inline-flex;
  align-items: baseline;
}
.shoogle-result-meta span + span::before {
  content: "·";
  margin: 0 9px;
  color: #a1a6ab;
}
.shoogle-result-meta strong {
  color: #565c62;
  font-weight: 650;
  margin-right: 3px;
}
.shoogle-result-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 11px;
}
.shoogle-result-action {
  font: inherit !important;
  line-height: 1.25 !important;
  font-weight: 650 !important;
  cursor: pointer !important;
}
.shoogle-report-link,
.shoogle-report-link:visited,
.shoogle-report-link:hover,
.shoogle-report-link:focus-visible,
.shoogle-report-link:active {
  border: 0 !important;
  background: transparent !important;
  color: #b00020 !important;
  padding: 3px 0 !important;
  font-size: 14px !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}
.shoogle-report-link:hover,
.shoogle-report-link:focus-visible {
  color: #820017 !important;
}
.shoogle-community-edit-link {
  border: 1px solid #3366cc !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #0a2472 !important;
  padding: 5px 11px !important;
  font-size: 14px !important;
  text-decoration: none !important;
}
.shoogle-community-edit-link:hover,
.shoogle-community-edit-link:focus-visible {
  border-color: #0a2472 !important;
  background: #eef3fa !important;
  color: #06184e !important;
}
.shoogle-empty {
  padding: 18px 0;
  color: #5f6368;
  font-size: 15px;
}

/* Pagination */
.shoogle-pagination {
  display: flex;
  gap: 7px;
  margin-top: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.shoogle-pagination button {
  min-width: 38px;
  min-height: 38px;
  border: 1px solid #0a2472 !important;
  background: #f7f9fc !important;
  color: #0a2472 !important;
  padding: 6px 11px !important;
  font: inherit !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.shoogle-pagination button:hover,
.shoogle-pagination button:focus-visible {
  background: #e4ebf5 !important;
  color: #06184e !important;
  box-shadow: 0 2px 7px rgba(10, 36, 114, 0.12);
}
.shoogle-pagination button.is-current {
  background: #0a2472 !important;
  color: #fff !important;
  border-color: #0a2472 !important;
}

/* Modal dialogs */
body.shoogle-modal-open {
  overflow: hidden;
}
.shoogle-modal-dialog {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: auto;
  background: rgba(0, 0, 0, 0.65);
}
.shoogle-modal-dialog[hidden] {
  display: none !important;
}
.shoogle-modal-card {
  position: relative;
  width: 100%;
  max-width: 580px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 30px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}
.shoogle-modal-card h2,
.shoogle-modal-card h3 {
  margin-top: 0;
  color: #0a2472;
}
.shoogle-modal-close {
  position: absolute;
  right: 14px;
  top: 10px;
  border: 0;
  background: transparent;
  color: #555;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.shoogle-modal-close:hover,
.shoogle-modal-close:focus-visible {
  color: #111;
}
.shoogle-submit-form label,
.shoogle-report-card label,
.shoogle-community-edit-card label {
  display: block;
  margin: 14px 0 5px;
  font-size: 14px;
  font-weight: 700;
}
.shoogle-submit-form input[type=text],
.shoogle-submit-form input[type=url],
.shoogle-submit-form textarea,
.shoogle-report-card textarea,
.shoogle-report-card select,
.shoogle-community-edit-card input[type=text],
.shoogle-community-edit-card input[type=url],
.shoogle-community-edit-card input[type=email],
.shoogle-community-edit-card textarea,
.shoogle-community-edit-card select {
  width: 100%;
  border: 1px solid #bbb;
  border-radius: 6px;
  padding: 10px;
  font-size: 15px;
}
.shoogle-submit-form button,
.shoogle-report-card button[type=submit],
.shoogle-community-edit-card button[type=submit] {
  min-height: 44px;
  margin-top: 14px;
}
.shoogle-community-edit-notice {
  margin-top: 18px;
  padding: 13px 15px;
  border-left: 4px solid #0a2472;
  background: #f0f4f8;
  color: #26313d;
  font-size: 14px;
  line-height: 1.5;
}
.shoogle-community-edit-card .shoogle-field-help {
  margin: 5px 0 10px;
}
.shoogle-character-count {
  margin-top: 3px;
  color: #777;
  font-size: 12px;
  text-align: right;
}
.shoogle-confirmation {
  display: flex !important;
  gap: 8px;
  align-items: flex-start;
  margin-top: 14px !important;
  font-size: 13px;
  font-weight: 400 !important;
}
.shoogle-smallprint {
  margin-top: 10px;
  color: #666;
  font-size: 12px;
}
.shoogle-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Public policy and regional shortcode */
.shoogle-policy {
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid #e6e9ee;
}
.shoogle-policy h2 {
  margin: 0 0 7px;
  color: #0a2472;
  font-size: 20px;
}
.shoogle-policy p {
  margin: 5px 0;
  color: #6b7075;
  font-size: 13.5px;
  line-height: 1.55;
}
.shoogle-search-form select,
.shoogle-submit-form select {
  border: 1px solid #b8b8b8;
  background: #fff;
  color: #171717;
  padding: 9px 34px 9px 12px;
  font-size: 14px;
  border-radius: 20px;
}
.shoogle-submit-form select {
  width: 100%;
  border-radius: 6px;
  padding: 10px;
  font-size: 15px;
}
.shoogle-search-form select:focus,
.shoogle-submit-form select:focus {
  outline: 2px solid #0a2472;
  outline-offset: 1px;
}
.shoogle-coverage-fieldset {
  margin: 18px 0 4px;
  padding: 14px 16px 16px;
  border: 1px solid #d6dce4;
  border-radius: 8px;
}
.shoogle-coverage-fieldset legend {
  padding: 0 5px;
  font-size: 14px;
  font-weight: 700;
}
.shoogle-field-help {
  margin: 0 0 10px;
  color: #666;
  font-size: 13px;
  line-height: 1.45;
}
.shoogle-scope-option {
  margin: 8px 0 !important;
  font-weight: 400 !important;
}
.shoogle-council-panel {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e2e6eb;
}
.shoogle-council-panel[hidden] {
  display: none !important;
}
.shoogle-council-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 16px;
}
.shoogle-council-grid label {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
}
.shoogle-council-grid input {
  margin-top: 2px;
}
.shoogle-result-group + .shoogle-result-group {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 2px solid #e8edf4;
}
.shoogle-result-group > h3 {
  margin: 0 0 7px;
  color: #0a2472;
  font-size: 20px;
  line-height: 1.3;
}
.shoogle-region-wrap {
  max-width: 100%;
  padding: 18px 0 28px;
}
.shoogle-region-header {
  margin-bottom: 20px;
}
.shoogle-region-header h2 {
  margin: 0 0 5px;
  color: #0a2472;
}
.shoogle-region-header p {
  margin: 0;
  color: #626b75;
  font-size: 14px;
}
.shoogle-region-search-form {
  max-width: 760px;
}
.screen-reader-text {
  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: 760px) {
  .shoogle-wrap {
    padding-inline: 18px;
  }
  .shoogle-top-bar {
    flex-direction: column;
  }
  .shoogle-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
  }
  .shoogle-search-form input[type="search"] {
    grid-column: 1 / -1;
  }
  .shoogle-filter-toggle {
    grid-column: 1;
  }
  .shoogle-search-submit {
    grid-column: 2;
  }
  .shoogle-search-form:not(.has-filter) .shoogle-search-submit {
    grid-column: 1 / -1;
  }
  .shoogle-btn-add {
    width: 100%;
  }
  .shoogle-result h3 {
    font-size: 22px !important;
  }
}

@media (max-width: 640px) {
  .shoogle-wrap {
    padding: 22px 15px 44px;
  }
  .shoogle-header {
    margin-bottom: 24px;
  }
  .shoogle-intro {
    font-size: 16px;
  }
  .shoogle-region-chooser.is-open {
    padding: 15px 12px;
  }
  .shoogle-region-chooser-heading {
    display: block;
  }
  .shoogle-region-clear {
    margin-top: 8px;
  }
  .shoogle-region-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .shoogle-council-grid {
    grid-template-columns: 1fr;
  }
  .shoogle-search-form select {
    width: 100%;
    max-width: none;
  }
  .shoogle-modal-card {
    padding: 26px 20px;
  }
  .shoogle-result {
    padding: 20px 0 18px;
  }
  .shoogle-result h3 {
    font-size: 21px !important;
  }
  .shoogle-result > p:not(.shoogle-result-meta) {
    font-size: 15.5px;
  }
}

@media (max-width: 420px) {
  .shoogle-search-form {
    grid-template-columns: 1fr 1fr;
  }
  .shoogle-search-submit,
  .shoogle-filter-toggle {
    width: 100%;
    min-width: 0;
  }
  .shoogle-region-buttons {
    grid-template-columns: 1fr;
  }
  .shoogle-result-meta {
    display: block;
  }
  .shoogle-result-meta span {
    display: flex;
  }
  .shoogle-result-meta span + span::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shoogle-wrap *,
  .shoogle-wrap *::before,
  .shoogle-wrap *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
