:root {
  --ink: #f7f8ff;
  --muted: #b9bdd0;
  --line: rgba(145, 157, 210, .28);
  --panel: #30364f;
  --soft: #252b43;
  --primary: #3b82ff;
  --primary-dark: #2563eb;
  --accent: #ff8a00;
  --purple: #a53df2;
  --page: #2f354d;
  --page-dark: #080b15;
  --bs-body-font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  --bs-body-color: var(--ink);
  --bs-secondary-color: var(--muted);
}

html {
  font-size: 16px;
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: var(--ink);
  background: var(--page);
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
}

.impersonation-banner {
  position: relative;
  z-index: 1100;
  color: #211300;
  background: #ffb347;
  border-bottom: 1px solid #ffd08a;
}

.impersonation-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
  padding-top: .5rem;
  padding-bottom: .5rem;
}

.impersonation-banner form {
  margin: 0;
}

@media (max-width: 575.98px) {
  .impersonation-banner .container {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* In-app notifications */
.notification-bell-button {
  position: relative;
  display: grid;
  width: 2rem;
  height: 2rem;
  padding: .4rem;
  place-items: center;
  color: #d5d8e8;
  background: transparent;
  border: 0;
  border-radius: 50%;
}

.notification-bell { margin-right: .65rem; }
.notification-bell-button:hover,
.notification-bell-button:focus-visible { color: #201338; background: #f1edfa; outline: 2px solid transparent; }
.notification-bell-button svg { width: 1.08rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.notification-count { position: absolute; top: -.12rem; right: -.2rem; min-width: 1rem; padding: .04rem .22rem; color: #fff; background: #b42318; border: 1.6px solid #fff; border-radius: .8rem; font-size: .56rem; font-weight: 700; line-height: .8rem; text-align: center; }
.notification-dropdown { width: min(24rem, calc(100vw - 1.5rem)); max-height: min(36rem, 80vh); padding: 0; overflow-y: auto; box-shadow: 0 .8rem 2rem rgba(32, 19, 56, .16); }
.notification-dropdown-heading { padding: 1rem; border-bottom: 1px solid #e7e2ef; }
.notification-dropdown-item { position: relative; padding: .85rem 1rem .85rem 1.35rem; border-bottom: 1px solid #eeeaf3; }
.notification-dropdown-item.is-unread { background: #f7f4ff; }
.notification-dropdown-item p { display: -webkit-box; margin: .25rem 0; overflow: hidden; color: #555064; font-size: .875rem; white-space: pre-line; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.notification-dropdown-item small { color: #716b7a; }
.notification-dropdown-actions { display: flex; justify-content: space-between; padding: .55rem .65rem; }
.notification-empty, .notification-page-empty { display: flex; flex-direction: column; gap: .2rem; padding: 2rem 1rem; color: #716b7a; text-align: center; }
.notification-empty strong { color: #201338; }
.dashboard-notification { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.5rem; padding: 1.25rem 1.4rem; color: var(--ink); background: linear-gradient(135deg, rgba(59, 130, 255, .2), rgba(165, 61, 242, .14)), var(--panel); border: 1px solid rgba(111, 177, 255, .7); border-radius: 8px; box-shadow: 0 16px 42px rgba(0, 0, 0, .16), 0 0 24px rgba(59, 130, 255, .1); }
.dashboard-notification h2 { margin: .15rem 0 .4rem; }
.dashboard-notification p { white-space: pre-line; }
.dashboard-notification-actions, .notification-list-actions { display: flex; flex-shrink: 0; flex-wrap: wrap; gap: .5rem; }
.notification-severity-success { border-color: rgba(57, 217, 138, .75); }
.notification-severity-warning { border-color: rgba(255, 174, 77, .78); }
.notification-severity-important { border-color: rgba(255, 116, 116, .8); }
.dashboard-notification.notification-severity-success { background: linear-gradient(135deg, rgba(28, 185, 112, .24), rgba(59, 130, 255, .1)), var(--panel); box-shadow: 0 16px 42px rgba(0, 0, 0, .16), 0 0 24px rgba(57, 217, 138, .11); }
.dashboard-notification.notification-severity-warning { background: linear-gradient(135deg, rgba(255, 146, 43, .25), rgba(255, 87, 51, .1)), var(--panel); box-shadow: 0 16px 42px rgba(0, 0, 0, .16), 0 0 24px rgba(255, 174, 77, .12); }
.dashboard-notification.notification-severity-important { background: linear-gradient(135deg, rgba(255, 82, 99, .25), rgba(165, 61, 242, .16)), var(--panel); box-shadow: 0 16px 42px rgba(0, 0, 0, .16), 0 0 26px rgba(255, 82, 99, .13); }
.notification-tabs { display: flex; gap: .4rem; margin-bottom: 1.5rem; overflow-x: auto; border-bottom: 1px solid var(--line); }
.notification-tabs a { padding: .7rem .9rem; color: #c5cada; border-bottom: 3px solid transparent; text-decoration: none; white-space: nowrap; }
.notification-tabs a:hover, .notification-tabs a:focus { color: #fff; }
.notification-tabs a.active { color: #cba6ff; border-bottom-color: #b565ff; font-weight: 700; }
.notification-list { display: grid; gap: .8rem; }
.notification-list-item { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.2rem; color: var(--ink); background: linear-gradient(135deg, rgba(59, 130, 255, .12), rgba(165, 61, 242, .08)), var(--panel); border: 1px solid rgba(111, 177, 255, .55); border-radius: 8px; box-shadow: 0 16px 42px rgba(0, 0, 0, .14); }
.notification-list-item.is-unread { background: linear-gradient(135deg, rgba(59, 130, 255, .22), rgba(165, 61, 242, .16)), var(--panel); border-color: rgba(181, 101, 255, .78); box-shadow: 0 16px 42px rgba(0, 0, 0, .16), 0 0 20px rgba(165, 61, 242, .1); }
.notification-list-item h2 { margin: .35rem 0; }
.notification-list-item p { margin-bottom: .35rem; color: #eef2ff; white-space: pre-line; }
.notification-list-item.notification-severity-success { border-color: rgba(57, 217, 138, .72); background: linear-gradient(135deg, rgba(28, 185, 112, .2), rgba(59, 130, 255, .08)), var(--panel); }
.notification-list-item.notification-severity-warning { border-color: rgba(255, 174, 77, .75); background: linear-gradient(135deg, rgba(255, 146, 43, .22), rgba(255, 87, 51, .08)), var(--panel); }
.notification-list-item.notification-severity-important { border-color: rgba(255, 116, 116, .78); background: linear-gradient(135deg, rgba(255, 82, 99, .22), rgba(165, 61, 242, .13)), var(--panel); }
.notification-page-empty { color: var(--muted); background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 16px 42px rgba(0, 0, 0, .14); }
.notification-page-empty h2 { color: var(--ink); }

@media (max-width: 767.98px) {
  .notification-bell { margin: .35rem 0; }
  .notification-dropdown { position: fixed !important; top: 4.5rem !important; right: .75rem !important; left: .75rem !important; width: auto; transform: none !important; }
  .dashboard-notification, .notification-list-item { align-items: flex-start; flex-direction: column; }
  .dashboard-notification-actions, .notification-list-actions { width: 100%; }
}

.guidance-launcher,
.guidance-next-step,
.guidance-checklist-card,
.guidance-callout {
  border-radius: .75rem;
  padding: 1.25rem;
}

.guidance-launcher,
.guidance-next-step,
.guidance-checklist-card {
  border: 1px solid rgba(174, 188, 244, .28);
  color: #f7f8ff;
  background: #252b43;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .16);
}

.guidance-callout {
  border: 1px solid #d9d8e7;
  color: #1f2937;
  background: #fff;
}

.guidance-launcher { margin: 1.5rem 0; }
.guidance-action-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .75rem; }
.guidance-action-grid a { border: 1px solid rgba(159, 188, 255, .46); border-radius: .5rem; color: #c5d5ff; background: rgba(48, 54, 79, .72); padding: .8rem 1rem; font-weight: 700; text-decoration: none; }
.guidance-action-grid a:hover, .guidance-action-grid a:focus { border-color: #c5a1ff; color: #fff; background: #30364f; }
.guidance-eyebrow { display: block; color: #cba6ff; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .35rem; }
.guidance-launcher a,
.guidance-next-step a,
.guidance-checklist-card a { color: #c5d5ff; }
.guidance-callout a { color: #3156b8; }
.guidance-launcher .btn-primary,
.guidance-next-step .btn-primary,
.guidance-checklist-card .btn-primary,
.guidance-callout .btn-primary { color: #fff; }
.guidance-launcher .text-muted,
.guidance-next-step .text-muted,
.guidance-checklist-card .text-muted { color: #c5cada !important; }
.guidance-callout .text-muted { color: #52606d !important; }
.guidance-checklist-card .btn-link { color: #b8ccff; }
.guidance-checklist-card .btn-link:hover,
.guidance-checklist-card .btn-link:focus { color: #fff; }
.guidance-progress { height: .4rem; margin: .15rem 0 1rem; overflow: hidden; border-radius: 999px; background: rgba(216, 222, 244, .2); }
.guidance-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #b565ff, #5d91ff); }
.guidance-checklist { display: grid; gap: .3rem; list-style: none; padding: 0; margin: 0 0 .8rem; }
.guidance-checklist li { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr) auto; align-items: center; gap: .65rem; min-height: 2.45rem; padding: .35rem .55rem; border-radius: .55rem; }
.guidance-step-icon { display: grid; width: 1.35rem; height: 1.35rem; place-items: center; border: 1.5px solid #9da8c7; border-radius: 50%; color: transparent; font-size: .78rem; font-weight: 800; line-height: 1; }
.guidance-step-content { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-width: 0; }
.guidance-step-label { line-height: 1.25; }
.guidance-checklist a.guidance-step-label,
.guidance-checklist a.guidance-step-label:hover,
.guidance-checklist a.guidance-step-label:focus { text-decoration: none; }
.guidance-checklist li.is-complete { color: #cbd1e3; }
.guidance-step-icon-complete { color: #fff; border-color: #197342; background: #197342; }
.guidance-step-icon-pending { color: transparent; background: transparent; }
.guidance-checklist li.is-next { border: 1px solid rgba(181, 101, 255, .62); background: rgba(181, 101, 255, .11); }
.guidance-checklist li.is-next .guidance-step-icon-pending { border: 2px solid #c18bff; box-shadow: inset 0 0 0 3px #252b43; }
.guidance-checklist li.is-next .guidance-step-label { color: #d2ddff; font-weight: 700; text-decoration: none; }
.guidance-checklist li.is-next .guidance-step-label:hover { color: #fff; }
.guidance-next-label { flex: 0 0 auto; border-radius: 999px; color: #fff; background: #6941a5; padding: .15rem .5rem; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .025em; }
.guidance-optional-label { flex: 0 0 auto; border-radius: 999px; color: #eef2ff; background: #464e6b; padding: .15rem .5rem; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .025em; }
.guidance-checklist li.is-optional .guidance-step-icon { border-style: dashed; }
.guidance-checklist li.is-optional .guidance-step-label { color: #c5cada; }
.guidance-step-arrow { color: #c18bff; font-size: 1.15rem; font-weight: 700; }
.guidance-callout { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; background: #f7f4fc; border-color: #cfc3e7; }
.guidance-callout form { margin: 0; }
.guidance-target-highlight { position: relative; outline: 3px solid #ffae4d; outline-offset: 3px; border-radius: .375rem; }

@media (max-width: 575.98px) {
  .guidance-callout { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .guidance-target-highlight { transition: none; }
}

main {
  flex: 1 0 auto;
}

.admin-home-strip {
  padding-top: 24px;
  margin-bottom: -24px;
}

.site-footer {
  flex-shrink: 0;
}

a {
  color: #9fbcff;
}

a:hover {
  color: #ffffff;
}

.text-muted {
  color: var(--muted) !important;
}

.table {
  --bs-table-bg: transparent;
  --bs-table-color: #eef2ff;
  --bs-table-border-color: rgba(190, 196, 228, .45);
  color: #eef2ff;
}

.table th {
  color: #f7f8ff;
  font-weight: 800;
}

.table td {
  color: #eef2ff;
}

.table .text-muted {
  color: #dfe6ff !important;
}

.prospects-table {
  table-layout: fixed;
  width: 100%;
  font-size: .875rem;
}

.prospects-table th,
.prospects-table td {
  overflow-wrap: anywhere;
  word-break: normal;
}

.prospects-table th {
  white-space: normal;
}

.prospects-table__select { width: 2%; }
.prospects-table__business { width: 13%; }
.prospects-table__email { width: 15%; }
.prospects-table__website { width: 18%; }
.prospects-table__town { width: 10%; }
.prospects-table__trade { width: 9%; }
.prospects-table__score { width: 5%; }
.prospects-table__last-crawled { width: 11%; }
.prospects-table__last-sent { width: 11%; }
.prospects-table__actions { width: 6%; }

.admin-site-settings .card,
.admin-site-settings .table {
  --bs-table-color: #1f2937;
  color: #1f2937;
}

.admin-site-settings .card-header,
.admin-site-settings .table th,
.admin-site-settings .table td,
.admin-site-settings .form-label,
.admin-site-settings code {
  color: #1f2937;
}

.admin-site-settings .table .text-muted {
  color: #4b5563 !important;
}

.btn-primary {
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: transparent;
  --bs-btn-hover-bg: var(--primary-dark);
  --bs-btn-hover-border-color: transparent;
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--purple));
  box-shadow: 0 10px 26px rgba(59, 130, 255, .24);
}

.btn-outline-primary {
  --bs-btn-color: #cbd6ff;
  --bs-btn-border-color: rgba(157, 178, 255, .55);
  --bs-btn-hover-bg: rgba(83, 120, 240, .22);
  --bs-btn-hover-border-color: rgba(177, 194, 255, .75);
  --bs-btn-hover-color: #fff;
  color: #dce6ff;
  border-color: rgba(105, 161, 255, .82);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  color: #fff;
  background-color: rgba(83, 120, 240, .22);
  border-color: rgba(177, 194, 255, .86);
}

.btn-outline-primary:active,
.btn-outline-primary.active {
  color: #fff;
  background-color: rgba(83, 120, 240, .3);
  border-color: rgba(177, 194, 255, .9);
}

.btn-outline-primary:disabled,
.btn-outline-primary.disabled {
  color: #d7e2ff;
  border-color: rgba(105, 161, 255, .52);
  opacity: .9;
}

.btn-outline-secondary {
  --bs-btn-color: #eef2ff;
  --bs-btn-border-color: rgba(190, 196, 228, .35);
  --bs-btn-hover-bg: rgba(255, 255, 255, .1);
  --bs-btn-hover-border-color: rgba(190, 196, 228, .6);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: rgba(255, 255, 255, .14);
  --bs-btn-active-border-color: rgba(190, 196, 228, .68);
  --bs-btn-active-color: #fff;
  --bs-btn-disabled-color: #dfe6ff;
  --bs-btn-disabled-border-color: rgba(190, 196, 228, .38);
  color: #eef2ff;
  border-color: rgba(190, 196, 228, .45);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
  color: #fff;
  background-color: rgba(255, 255, 255, .1);
  border-color: rgba(210, 218, 248, .72);
}

.btn-outline-secondary:active,
.btn-outline-secondary.active {
  color: #fff;
  background-color: rgba(255, 255, 255, .14);
  border-color: rgba(210, 218, 248, .78);
}

.btn-outline-secondary:disabled,
.btn-outline-secondary.disabled {
  color: #dfe6ff;
  border-color: rgba(190, 196, 228, .45);
  opacity: .9;
}

.site-header .navbar {
  background: rgba(18, 21, 36, .94) !important;
  border-color: rgba(145, 157, 210, .32) !important;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .2);
}

.tradegenie-wordmark {
  display: inline-flex;
  align-items: baseline;
  color: inherit;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-3px);
}

.tradegenie-wordmark,
.tradegenie-wordmark:hover,
.tradegenie-wordmark:focus {
  text-decoration: none;
}

.tradegenie-wordmark-trade {
  color: #6fb6ff;
}

.tradegenie-wordmark-genie {
  color: #10aeb9;
}

.navbar-light .navbar-nav .nav-link {
  color: #d5d8e8;
  font-weight: 600;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
  color: #b565ff;
}

.nav-user-name {
  color: #8ed5ff;
  display: inline-block;
  font-weight: 700;
  line-height: 1.5;
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  transform: translateY(3px);
  white-space: nowrap;
}

.nav-user-name:hover,
.nav-user-name:focus {
  color: #b565ff;
}

.account-dropdown {
  background: #151a2e;
  border-color: rgba(145, 157, 210, .32);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
  min-width: 15rem;
}

.account-dropdown-header {
  padding: .65rem 1rem .55rem;
}

.account-dropdown-name {
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
}

.account-dropdown-email {
  color: #aeb6d3;
  font-size: .86rem;
  line-height: 1.25;
  margin-top: .15rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-dropdown .dropdown-item {
  color: #d5d8e8;
  font-weight: 600;
}

.account-dropdown .dropdown-item:hover,
.account-dropdown .dropdown-item:focus {
  color: #fff;
  background: rgba(72, 126, 255, .18);
}

.account-dropdown .dropdown-divider {
  border-top-color: rgba(145, 157, 210, .28);
}

.subscription-plan-status {
  color: #8ed5ff;
  font-weight: 800;
  min-height: 2.375rem;
  display: flex;
  align-items: center;
}

.navbar-light .navbar-toggler {
  border-color: rgba(255, 255, 255, .35);
}

.navbar-light .navbar-toggler-icon {
  filter: invert(1);
}

.form-control,
.form-select {
  color: #f8f9ff;
  background-color: rgba(27, 34, 65, .82);
  border-color: rgba(158, 171, 222, .35);
}

.form-control:focus,
.form-select:focus {
  color: #fff;
  background-color: rgba(27, 34, 65, .96);
  border-color: rgba(130, 159, 255, .8);
  box-shadow: 0 0 0 .2rem rgba(88, 125, 255, .18);
}

.form-control::placeholder {
  color: rgba(214, 218, 238, .56);
}

.hero-section {
  background:
    radial-gradient(circle at 74% 22%, rgba(255, 138, 0, .14), transparent 25%),
    linear-gradient(135deg, #080b15 0%, #202848 52%, #30364f 100%);
  padding: 0 0 42px;
}

.hero-section > .container {
  padding-top: 58px;
}

.hero-section h1 {
  color: #01c1e7;
  font-size: clamp(1.9rem, 3.2vw, 3.35rem);
  line-height: 1.04;
  max-width: 11em;
}

.hero-marketing-line {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  margin: .75rem 0 0;
}

.hero-proof-line {
  margin: 18px 0 8px;
  color: #4e7fbf;
  font-size: clamp(1.05rem, 1.55vw, 1.4rem);
  font-weight: 800;
}

.hero-heading-colour {
  color: #01c1e7;
}

.hero-supporting-copy {
  max-width: 34rem;
  color: #d0d5e8;
  font-size: 1.05rem;
  line-height: 1.5;
}

.planning-application-ticker {
  overflow: hidden;
  color: #eaf1ff;
  background: rgba(8, 11, 21, .72);
  border-bottom: 1px solid rgba(155, 170, 230, .24);
}

.planning-application-ticker-track {
  display: flex;
  width: max-content;
  min-width: 100%;
  animation: planning-ticker-scroll 42s linear infinite;
}

.planning-application-ticker-group {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 18px;
  padding: 8px 18px;
  white-space: nowrap;
  font-size: .86rem;
  line-height: 1.2;
}

.planning-application-ticker-group span {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.planning-application-ticker-group span + span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 12px;
  background: rgba(255, 138, 0, .86);
  border-radius: 50%;
  transform: translateY(-1px);
}

.planning-application-ticker-heading {
  color: #ffffff;
  font-weight: 900;
}

.planning-application-ticker strong {
  color: #8ed5ff;
  font-weight: 900;
}

@keyframes planning-ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .planning-application-ticker {
    overflow-x: auto;
  }

  .planning-application-ticker-track {
    animation: none;
  }
}

.hero-brand-card {
  display: grid;
  justify-items: center;
  max-width: 600px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero-brand-image {
  display: block;
  width: min(100%, 560px);
  height: auto;
  object-fit: contain;
}

.postcode-search-card {
  display: grid;
  gap: 10px;
  margin: 26px 0 16px;
  padding: 18px;
  background: rgba(10, 14, 29, .58);
  border: 1px solid rgba(155, 170, 230, .32);
  border-radius: 8px;
}

.postcode-search-card .form-label {
  margin: 0;
  color: #ffffff;
  font-weight: 700;
}

.postcode-search-card p {
  color: var(--muted);
}

.postcode-search-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.postcode-search-controls .btn {
  white-space: nowrap;
}

.postcode-combobox {
  position: relative;
}

.postcode-combobox .form-control {
  padding-right: 3rem;
}

.postcode-combobox-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 34px;
  height: 34px;
  padding: 0;
  background: transparent;
  border: 0;
  transform: translateY(-50%);
}

.postcode-combobox-toggle::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin: auto;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 11px solid #ffffff;
}

.postcode-options {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  max-height: 320px;
  overflow: auto;
  padding: 8px;
  background: #11182d;
  border: 1px solid rgba(130, 159, 255, .58);
  border-radius: 8px;
  box-shadow: 0 22px 46px rgba(0, 0, 0, .38);
}

.postcode-options::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 28px;
  width: 14px;
  height: 14px;
  background: #11182d;
  border-top: 1px solid rgba(130, 159, 255, .58);
  border-left: 1px solid rgba(130, 159, 255, .58);
  transform: rotate(45deg);
}

.postcode-options button {
  position: relative;
  display: block;
  width: 100%;
  padding: 10px 12px;
  color: #f8f9ff;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-weight: 700;
}

.postcode-options button:hover,
.postcode-options button:focus,
.postcode-options button.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(59, 130, 255, .34), rgba(165, 61, 242, .28));
  outline: none;
}

.section-block {
  padding-top: 48px;
  padding-bottom: 48px;
}

.section-block.narrow {
  max-width: 820px;
}

.static-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.static-content .lead {
  font-size: 1.28rem;
  line-height: 1.45;
  margin-bottom: 1.35rem;
}

.contact-page .lead {
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.contact-email-form {
  margin-top: 24px;
}

.contact-email-form textarea {
  min-height: 180px;
}

.lead-detail-title {
  margin: 12px 0 16px;
  font-size: clamp(1.75rem, 2.4vw, 2.6rem);
  line-height: 1.12;
  max-width: 58rem;
}

.lead-detail-proposal {
  max-width: 58rem;
  margin: 0 0 18px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(190, 196, 228, .16);
  border-radius: 8px;
}

.lead-detail-proposal h2 {
  margin: 0 0 8px;
  color: rgba(216, 219, 234, .7);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.lead-detail-proposal p {
  margin: 0;
  color: #f3f5ff;
  font-size: 1rem;
  line-height: 1.55;
}

.section-band {
  background: var(--soft);
  padding: 44px 0;
}

.map-visual,
.map-strip {
  position: relative;
  min-height: 340px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(160, 176, 255, .08) 1px, transparent 1px),
    linear-gradient(rgba(160, 176, 255, .08) 1px, transparent 1px),
    #1f2947;
  background-size: 48px 48px;
  border-radius: 8px;
  overflow: hidden;
}

.map-strip {
  min-height: 260px;
}

.outreach-print-frame {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 78vh;
  width: 100%;
}

.map-pin {
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--accent);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(20, 33, 61, .25);
}

.pin-a { left: 24%; top: 28%; }
.pin-b { left: 66%; top: 45%; }
.pin-c { left: 46%; top: 68%; }

.lead-preview-card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: grid;
  gap: 6px;
  width: min(280px, calc(100% - 48px));
  background: #30364f;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 14px 38px rgba(20, 33, 61, .16);
}

.info-panel,
.lead-card,
.pricing-card,
.form-panel,
.filter-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .14);
}

.info-panel span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--purple));
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}

.account-option {
  display: block;
  width: 100%;
  height: 100%;
  appearance: none;
  color: #9fbcff;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.account-option:hover,
.account-option:focus {
  color: #fff;
}

.chatbot-metric-card,
.chatbot-admin-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .14);
}

.chatbot-metric-card {
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.chatbot-metric-card strong {
  display: block;
  color: #fff;
  font-size: 1.3rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.chatbot-metric-card span,
.chatbot-admin-panel span {
  display: block;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.35;
}

.chatbot-admin-panel strong {
  display: block;
  color: #fff;
  overflow-wrap: anywhere;
}

.chatbot-diff-table pre {
  margin: 0;
  white-space: pre-wrap;
  color: inherit;
  font: inherit;
}

.chatbot-diff-added td {
  background: rgba(34, 197, 94, .12);
}

.chatbot-diff-removed td {
  background: rgba(248, 113, 113, .12);
}

.chatbot-diff-changed td {
  background: rgba(250, 204, 21, .12);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-cloud span,
.category-badge {
  background: rgba(255, 255, 255, .06);
  color: #d8dbea;
  border: 1px solid rgba(190, 196, 228, .18);
  border-radius: 999px;
  padding: 6px 10px;
}

.pricing-preview {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  background: linear-gradient(135deg, #252c4d, #233a78);
  color: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.app-surface {
  padding: 24px;
}

.filter-panel {
  display: grid;
  gap: 12px;
  position: sticky;
  top: 16px;
}

@media (min-width: 992px) {
  .search-filter-panel {
    max-height: calc(100dvh - 6rem);
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-gutter: stable;
  }
}

.save-search-panel {
  background: #3a405c;
  border-color: rgba(174, 188, 244, .42);
}

.save-search-sticky {
  position: sticky;
  top: 16px;
}

.search-results-layout > aside {
  align-self: stretch;
}

.save-search-sticky .filter-panel {
  position: static;
}

@media (max-width: 1199.98px) {
  .save-search-sticky {
    position: static;
  }
}

.lead-list {
  display: grid;
  gap: 12px;
}

.lead-card h3 {
  font-size: 1.05rem;
  margin: 12px 0;
}

.lead-search-page { max-width: 1720px; margin: 0 auto; }
.lead-search-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin: 1.25rem 0; }
.lead-search-heading h1 { margin-bottom: .2rem; }
.lead-search-heading p { color: var(--muted); margin: 0; }
.lead-search-controls-panel { padding: 1.15rem; border: 1px solid rgba(174, 188, 244, .34); border-radius: .75rem; background: #3a405c; box-shadow: 0 16px 42px rgba(0, 0, 0, .14); }
.lead-primary-search { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(220px, .55fr) auto; align-items: end; gap: .8rem; }
.lead-primary-search label { display: block; margin-bottom: .35rem; color: #eef2ff; font-weight: 700; }
.lead-primary-search .btn { min-height: 48px; }
.lead-filter-shortcuts { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid rgba(190, 196, 228, .18); }
.lead-quick-filters,
.lead-active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.lead-active-filters { margin-top: .7rem; }
.lead-quick-filters > span,
.lead-active-filters-label { color: #d8dbea; font-size: .86rem; font-weight: 700; margin-right: .15rem; }
.quick-filter-chip,
.active-filter-chip { border: 1px solid rgba(174, 188, 244, .38); border-radius: 999px; color: #dfe6ff; background: rgba(48, 54, 79, .75); padding: .38rem .72rem; font: inherit; font-size: .86rem; }
.quick-filter-chip:hover,
.quick-filter-chip:focus,
.quick-filter-chip.is-active { border-color: #8ab3ff; color: #fff; background: rgba(59, 130, 255, .24); }
.active-filter-chip { border-color: rgba(181, 101, 255, .55); color: #f0e7ff; background: rgba(165, 61, 242, .16); }
.active-filter-chip span[aria-hidden] { margin-left: .25rem; font-size: 1rem; }
.lead-clear-all { margin-left: .25rem; font-size: .86rem; }
.lead-results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 1.35rem 0 .85rem; }
.lead-results-toolbar strong { color: #fff; font-size: 1.15rem; }
.lead-results-actions { display: flex; align-items: center; gap: .65rem; }
.lead-results-actions .form-select { min-width: 170px; }

.search-filter-drawer { width: min(410px, 92vw); color: #f7f8ff; background: #252b43; }
.search-refine-panel { display: flex; flex-direction: column; min-height: 0; border: 1px solid rgba(174, 188, 244, .34); border-radius: .75rem; background: #3a405c; overflow: hidden; box-shadow: 0 16px 42px rgba(0, 0, 0, .12); }
.search-refine-heading { align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem 1rem .65rem; }
.search-refine-heading span { color: var(--muted); font-size: .8rem; }
.search-refine-content { display: grid; gap: .35rem; padding: .35rem .75rem 1rem; overflow-y: auto; }
.search-refine-actions { display: grid; grid-template-columns: auto 1fr; gap: .55rem; padding: .8rem; border-top: 1px solid rgba(190, 196, 228, .22); background: #343a54; }
.filter-section { border-top: 1px solid rgba(174, 188, 244, .16); }
.filter-section summary { display: grid; grid-template-columns: minmax(0, 1fr) 6rem 1rem; align-items: center; gap: .45rem; min-height: 2.8rem; padding: .65rem .25rem; cursor: pointer; list-style: none; color: #f2f4ff; font-weight: 700; }
.filter-section summary::-webkit-details-marker { display: none; }
.filter-section summary span:last-child { color: #c7cde0; font-size: .78rem; font-weight: 500; text-align: right; white-space: nowrap; }
.filter-section summary::after { content: "›"; color: #aeb8d8; font-size: 1.25rem; transform: rotate(0); transition: transform .15s ease; }
.filter-section[open] summary::after { transform: rotate(90deg); }
.filter-options { display: grid; gap: .35rem; padding: .2rem .25rem .85rem; }
.filter-check { display: flex; align-items: center; gap: .55rem; min-height: 2rem; color: #dfe4f6; cursor: pointer; }
.filter-check input { flex: 0 0 auto; width: 1.05rem; height: 1.05rem; accent-color: #6d8fff; }
.filter-check-prominent { padding: .45rem .25rem .65rem; font-weight: 700; }
.filter-option-search { margin-bottom: .3rem; }
.filter-options-limit:not(.is-expanded) label:nth-of-type(n+7) { display: none; }
.filter-options-limit:not(.is-expanded) label:has(input:checked) { display: flex; }
.filter-show-all { justify-self: start; border: 0; color: #a9c5ff; background: transparent; padding: .25rem 0; font-size: .82rem; }
.filter-show-all:hover,
.filter-show-all:focus { color: #fff; }
.filter-date-range { grid-template-columns: 1fr 1fr; }
.filter-date-range label { color: #cbd2e8; font-size: .8rem; }
.filter-date-range input { margin-top: .25rem; }
.lead-results-main { min-width: 0; }
.lead-results-list { gap: .85rem; }
.lead-results-list .lead-card { padding: 1.15rem 1.25rem; }
.lead-results-list .lead-card h3 { max-width: 60rem; color: #fff; font-size: 1.18rem; line-height: 1.35; }
.lead-location,
.lead-stage { margin: 0 0 .35rem; color: #c9cee0; }
.lead-stage { color: #aeb6d3; font-size: .9rem; }
.lead-trades { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .8rem; }
.lead-trades > span { color: #aeb6d3; font-size: .8rem; }
.lead-trades > div { display: flex; flex-wrap: wrap; gap: .35rem; }
.lead-trade-chip { border: 1px solid rgba(129, 159, 255, .32); border-radius: 999px; color: #d9e4ff; background: rgba(59, 130, 255, .1); padding: .2rem .55rem; font-size: .78rem; }
.lead-new-badge { border-radius: 999px; color: #1e1400; background: #ffb14f; padding: .22rem .5rem; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.lead-card-actions { display: flex; align-items: center; gap: .5rem; margin-top: 1rem; }
.lead-card-actions form { margin: 0; }
.lead-pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.25rem; }
.lead-pagination span { color: var(--muted); }
.save-search-dialog { color: #f7f8ff; background: #30364f; border: 1px solid var(--line); }
.save-search-dialog .modal-header,
.save-search-dialog .modal-footer { border-color: var(--line); }

@media (min-width: 992px) {
  .search-filter-drawer.offcanvas { position: relative; inset: auto; z-index: auto; display: block; visibility: visible !important; width: 25%; height: auto; max-height: none; transform: none !important; border: 0; background: transparent; }
  .search-refine-panel { position: sticky; top: 1rem; max-height: calc(100dvh - 2rem); }
}

@media (max-width: 991.98px) {
  .lead-primary-search { grid-template-columns: 1fr 1fr; }
  .lead-primary-search .btn { grid-column: 1 / -1; }
  .search-filter-drawer .search-refine-panel { height: calc(100dvh - 64px); border: 0; border-radius: 0; }
  .search-filter-drawer .offcanvas-header { min-height: 64px; }
}

@media (max-width: 575.98px) {
  .lead-search-page { padding: 1rem; }
  .lead-search-heading { align-items: flex-start; }
  .lead-search-heading p { display: none; }
  .lead-primary-search { grid-template-columns: 1fr; }
  .lead-primary-search .btn { grid-column: auto; }
  .lead-results-toolbar { align-items: flex-start; flex-direction: column; }
  .lead-results-actions { width: 100%; }
  .lead-results-actions .btn { flex: 1; }
  .lead-results-actions .form-select { width: auto; min-width: 0; flex: 1; }
  .lead-quick-filters { flex-wrap: nowrap; margin-right: -1rem; padding-right: 1rem; overflow-x: auto; }
  .lead-quick-filters > span { flex: 0 0 auto; }
  .quick-filter-chip { flex: 0 0 auto; }
}

.lead-meta,
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
}

.lead-meta div {
  min-width: 0;
}

.lead-meta dt,
.detail-grid dt {
  color: rgba(216, 219, 234, .64);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
}

.lead-meta dd,
.detail-grid dd {
  margin: 0;
}

.saved-dot {
  color: #57d68d;
  font-size: .8rem;
  font-weight: 700;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.metric-grid > * {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.metric-grid strong {
  display: block;
  font-size: 2rem;
}

.metric-grid span {
  color: var(--muted);
}

.confidence-help {
  width: 1.35rem;
  height: 1.35rem;
  margin-left: 0.25rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--tg-orange, #e87924);
  color: #fff;
  font-weight: 700;
  line-height: 1.35rem;
}

.account-option-delete {
  background: #c2410c;
  border-color: #9a3412;
  color: #fff;
}

.account-option-delete:hover,
.account-option-delete:focus {
  background: #9a3412;
  color: #fff;
}

.account-delete-panel {
  max-width: 720px;
  padding: 2rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #9a3412, #c2410c);
  color: #fff;
}

.pricing-card {
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 12px;
}

.pricing-card-main {
  display: grid;
  align-content: start;
  gap: 12px;
}

.pricing-plan-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem;
}

.pricing-plan-title span {
  color: #8ed5ff;
  font-size: .86em;
  font-weight: 800;
  line-height: 1.2;
}

.pricing-card-action {
  margin-top: 18px;
}

.pricing-card-action form {
  margin: 0;
}

.price {
  font-size: 2rem;
  font-weight: 700;
}

.price span {
  color: var(--muted);
  font-size: .95rem;
  font-weight: 400;
}

.pricing-features {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-features li {
  color: #d8dcea;
}

.pricing-features li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  background: var(--accent);
  border-radius: 50%;
  vertical-align: .08em;
}

.form-panel {
  display: grid;
  gap: 10px;
}

.external-login-panel {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.external-login-panel form {
  margin: 0;
}

.external-login-button {
  align-items: center;
  border-radius: 8px;
  display: flex;
  font-weight: 800;
  gap: 12px;
  justify-content: center;
  min-height: 52px;
  padding: 12px 18px;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
  width: 100%;
}

.external-login-button:hover,
.external-login-button:focus {
  transform: translateY(-1px);
}

.external-login-button:focus {
  box-shadow: 0 0 0 .2rem rgba(130, 159, 255, .28);
}

.external-login-icon {
  display: inline-grid;
  flex: 0 0 auto;
  height: 24px;
  place-items: center;
  width: 24px;
}

.external-login-icon svg {
  display: block;
  height: 24px;
  width: 24px;
}

.external-login-button-google {
  background: #fff;
  border: 1px solid #dadce0;
  color: #1f2937;
}

.external-login-button-google:hover,
.external-login-button-google:focus {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #111827;
}

.external-login-button-facebook {
  background: #1877f2;
  border: 1px solid #1877f2;
  color: #fff;
}

.external-login-button-facebook:hover,
.external-login-button-facebook:focus {
  background: #166fe5;
  border-color: #166fe5;
  color: #fff;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--muted);
  font-size: .9rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--line);
}

.map-results-section {
  padding: 38px 0 54px;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 138, 0, .13), transparent 24%),
    linear-gradient(180deg, #252a40 0%, #2f354d 100%);
}

.map-results-heading {
  margin-bottom: 24px;
}

.map-results-heading h1 {
  color: #d9dcf0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
}

.map-results-heading h1 span {
  color: var(--accent);
}

.map-results-heading p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.1rem;
}

.lead-map.lead-map-hero {
  min-height: 560px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
}

.map-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 22px 0 38px;
  padding: 18px 22px;
  color: #603014;
  background: #fff7ec;
  border: 1px solid rgba(255, 138, 0, .46);
  border-radius: 8px;
}

.map-result-list {
  margin-top: 26px;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 16px;
  min-height: calc(100vh - 140px);
}

.lead-map {
  min-height: 680px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.map-list {
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 12px;
}

.site-footer {
  background: var(--page-dark);
  border-color: rgba(190, 196, 228, .12) !important;
}

.site-footer strong {
  color: #fff;
}

.chatbot-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1040;
}

.chatbot-toggle {
  display: inline-grid;
  width: 64px;
  height: 64px;
  place-items: center;
  color: #fff;
  background: #11172a;
  border: 2px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  padding: 0;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .34), 0 0 0 5px rgba(59, 130, 255, .2);
  overflow: hidden;
}

.chatbot-toggle:hover,
.chatbot-toggle:focus {
  outline: 3px solid rgba(142, 213, 255, .35);
  outline-offset: 3px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .4), 0 0 0 6px rgba(16, 174, 185, .28);
}

.chatbot-toggle img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chatbot-close svg,
.chatbot-send svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(370px, calc(100vw - 28px));
  height: min(560px, calc(100vh - 112px));
  overflow: hidden;
  color: #f8f9ff;
  background: #151a2e;
  border: 1px solid rgba(145, 157, 210, .36);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .42);
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 12px;
  background: #1c2340;
  border-bottom: 1px solid rgba(145, 157, 210, .24);
}

.chatbot-header strong,
.chatbot-header span {
  display: block;
}

.chatbot-header strong {
  color: #fff;
  font-size: 1rem;
  line-height: 1.2;
}

.chatbot-header span {
  color: #aeb6d3;
  font-size: .82rem;
  line-height: 1.25;
  margin-top: 2px;
}

.chatbot-close,
.chatbot-send {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  color: #d8dbea;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(190, 196, 228, .18);
  border-radius: 8px;
}

.chatbot-close {
  width: 36px;
  height: 36px;
}

.chatbot-close svg {
  width: 20px;
  height: 20px;
}

.chatbot-close:hover,
.chatbot-close:focus,
.chatbot-send:hover,
.chatbot-send:focus {
  color: #fff;
  background: rgba(72, 126, 255, .2);
  border-color: rgba(130, 159, 255, .62);
  outline: none;
}

.chatbot-messages {
  display: grid;
  align-content: start;
  gap: 10px;
  overflow-y: auto;
  padding: 14px;
  background: #11172a;
}

.chatbot-message {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: .94rem;
  line-height: 1.42;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.chatbot-message-assistant {
  justify-self: start;
  color: #eef2ff;
  background: #252c4d;
  border: 1px solid rgba(190, 196, 228, .14);
}

.chatbot-message-user {
  justify-self: end;
  color: #fff;
  background: #2563eb;
}

.chatbot-message a {
  color: #8ed5ff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.chatbot-message a:hover,
.chatbot-message a:focus {
  color: #ffffff;
}

.chatbot-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 10px;
  padding: 12px;
  background: #151a2e;
  border-top: 1px solid rgba(145, 157, 210, .24);
}

.chatbot-form textarea {
  min-height: 46px;
  max-height: 116px;
  resize: vertical;
  color: #fff;
  background: rgba(27, 34, 65, .92);
  border: 1px solid rgba(158, 171, 222, .35);
  border-radius: 8px;
  padding: 10px 12px;
  line-height: 1.35;
}

.chatbot-form textarea:focus {
  border-color: rgba(130, 159, 255, .8);
  box-shadow: 0 0 0 .2rem rgba(88, 125, 255, .18);
  outline: none;
}

.chatbot-send {
  width: 46px;
  height: 46px;
  align-self: end;
  color: #fff;
  background: #2563eb;
  border-color: transparent;
}

.chatbot-send:disabled {
  cursor: wait;
  opacity: .65;
}

@media (max-width: 992px) {
  .hero-brand-card {
    margin-right: auto;
  }

  .hero-brand-image {
    width: min(100%, 420px);
  }

  .postcode-search-controls,
  .map-layout,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .postcode-search-controls .btn {
    width: 100%;
  }

  .lead-map {
    min-height: 420px;
  }

  .map-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .pricing-preview {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .hero-section > .container {
    padding-top: 44px;
  }

  .planning-application-ticker-group {
    gap: 14px;
    padding: 7px 14px;
    font-size: .78rem;
  }

  .chatbot-widget {
    right: 14px;
    bottom: 14px;
  }

  .chatbot-panel {
    position: fixed;
    right: 14px;
    bottom: 84px;
    left: 14px;
    width: auto;
    height: min(540px, calc(100vh - 96px));
  }
}

.merge-field-list {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.merge-field-token {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 6px;
  color: #f8fafc;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: .85rem;
  font-weight: 700;
  padding: .25rem .4rem;
}

.merge-field-token:hover,
.merge-field-token:focus {
  background: rgba(255, 255, 255, .2);
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
  outline: none;
  box-shadow: 0 0 0 .18rem rgba(130, 159, 255, .25);
}

.business-profile-logo-preview {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(9, 24, 54, .16);
  border-radius: 6px;
  display: flex;
  min-height: 88px;
  padding: 10px;
}

.business-profile-logo-preview img {
  display: block;
  max-height: 76px;
  max-width: 100%;
  object-fit: contain;
}

.outreach-editor {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  min-height: 18rem;
}

.template-editor-shell {
  background: #fff;
  border: 1px solid rgba(9, 24, 54, .16);
  border-radius: 8px;
  overflow: hidden;
}

.template-editor-toolbar {
  align-items: center;
  background: #f1f3f7;
  border-bottom: 1px solid rgba(9, 24, 54, .12);
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  padding: .6rem;
}

.template-editor-tool {
  align-items: center;
  background: #fff;
  border: 1px solid #c5ccda;
  border-radius: 4px;
  color: #172033;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  height: 36px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease;
  width: 36px;
}

.template-editor-tool:hover,
.template-editor-tool:focus,
.template-editor-tool.active {
  background: #e8edf6;
  border-color: #8a97ad;
  color: #0f172a;
}

.template-editor-tool:focus-visible {
  box-shadow: 0 0 0 .18rem rgba(37, 99, 235, .2);
  outline: none;
}

.template-editor-tool:active {
  background: #dbe3f0;
  border-color: #66758e;
  color: #0f172a;
}

.template-editor-tool svg {
  fill: none;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 20px;
}

.template-editor-tool svg circle {
  fill: currentColor;
  stroke: none;
}

.template-editor-tool-text {
  font-size: 1rem;
}

.template-editor-tool-style {
  font-size: .82rem;
  font-weight: 800;
  width: 42px;
}

.template-editor-separator {
  background: rgba(9, 24, 54, .18);
  display: inline-block;
  height: 28px;
  margin: 0 .2rem;
  width: 1px;
}

.template-editor {
  color: #1d2433;
  line-height: 1.55;
  min-height: 520px;
  outline: none;
  padding: 28px;
}

.template-editor:focus {
  box-shadow: inset 0 0 0 .2rem rgba(37, 99, 235, .12);
}

.template-editor p {
  margin: 0 0 1rem;
}

.template-business-logo {
  cursor: context-menu;
  display: block;
  margin: 0 0 1rem;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.template-business-logo-full {
  height: auto;
  width: 100%;
}

.template-business-logo-original {
  height: auto;
  max-width: min(420px, 100%);
  width: auto;
}

.template-business-logo-compact {
  height: auto;
  max-height: 80px;
  width: auto;
}

.template-business-logo-selected {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}

.template-preview-body .template-business-logo-selected {
  outline: none;
}

.template-preview-body .template-business-logo {
  object-fit: contain;
}

.template-image-context-menu {
  background: #fff;
  border: 1px solid #c5ccda;
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(8, 13, 31, .22);
  display: grid;
  min-width: 150px;
  padding: 4px;
  position: fixed;
  z-index: 3000;
}

.template-image-context-menu[hidden] {
  display: none;
}

.template-image-context-menu button {
  background: transparent;
  border: 0;
  border-radius: 4px;
  color: #172033;
  font: inherit;
  padding: 8px 10px;
  text-align: left;
}

.template-image-context-menu button:hover,
.template-image-context-menu button:focus,
.template-image-context-menu button.active {
  background: #e8edf6;
  color: #0f172a;
  outline: none;
}

.template-editor .page-break {
  border-top: 1px dashed rgba(9, 24, 54, .45);
  margin: 1.5rem 0;
  min-height: 1px;
}

.template-preview-open {
  overflow: hidden;
}

.template-preview-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
}

.template-preview-overlay[hidden] {
  display: none;
}

.template-preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 13, 31, .76);
  backdrop-filter: blur(5px);
}

.template-preview-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
  position: relative;
}

.template-preview-bar {
  align-items: center;
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 16px 22px;
}

.template-preview-close {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  color: #fff;
  padding: 7px 14px;
}

.template-preview-close:hover,
.template-preview-close:focus {
  background: rgba(255, 255, 255, .2);
  outline: none;
}

.template-preview-scroll {
  overflow: auto;
  padding: 0 24px 40px;
}

.template-preview-page {
  background: #fff;
  box-shadow: 0 22px 64px rgba(0, 0, 0, .32);
  color: #1d2433;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11pt;
  line-height: 1.55;
  margin: 0 auto;
  min-height: 297mm;
  padding: 20mm;
  width: min(210mm, calc(100vw - 48px));
}

.template-preview-sender {
  font-weight: 700;
  margin-bottom: 18px;
}

.template-preview-address,
.template-preview-date {
  margin-bottom: 22px;
}

.template-preview-body p {
  margin: 0 0 12px;
}

.template-preview-body h1,
.template-preview-body h2,
.template-preview-body h3 {
  margin: 0 0 12px;
}

.template-preview-body ul,
.template-preview-body ol {
  margin-bottom: 12px;
}

.template-preview-body .page-break {
  border-top: 1px dashed #94a3b8;
  margin: 24px 0;
  page-break-after: always;
}

.template-preview-footer {
  border-top: 1px solid #d7dce8;
  color: #5b6475;
  font-size: 9pt;
  margin-top: 28px;
  padding-top: 10px;
}

.outreach-preview {
  background: #fff;
  border: 1px solid rgba(9, 24, 54, .14);
  box-shadow: 0 10px 30px rgba(9, 24, 54, .08);
  color: #1d2433;
  min-height: 720px;
  padding: 38px;
}

.outreach-preview .page-break {
  border-top: 1px dashed rgba(9, 24, 54, .35);
  margin: 2rem 0;
  page-break-after: always;
}

.outreach-history-table {
  --bs-table-bg: transparent;
  --bs-table-color: #f8fafc;
  --bs-table-border-color: rgba(255, 255, 255, .32);
  color: #f8fafc;
}

.outreach-history-table thead th {
  border-bottom-color: rgba(255, 255, 255, .42);
  color: #ffffff;
  font-weight: 700;
}

.outreach-history-table tbody td {
  color: #eef2ff;
  vertical-align: middle;
}

.outreach-history-table tbody tr {
  border-color: rgba(255, 255, 255, .32);
}

.outreach-history-table .text-muted {
  color: #d7def8 !important;
}

.outreach-history-table .btn-outline-primary {
  background: rgba(37, 99, 235, .16);
  border-color: rgba(98, 155, 255, .9);
  color: #9dccff;
  font-weight: 700;
}

.outreach-history-table .btn-outline-primary:hover,
.outreach-history-table .btn-outline-primary:focus {
  background: rgba(59, 130, 255, .28);
  color: #fff;
}

.trial-status-panel {
  align-items: center;
  background: #f6faf8;
  border: 1px solid rgba(18, 118, 82, .18);
  border-radius: 8px;
  color: #173f33;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 1rem auto;
  max-width: 1140px;
  padding: .85rem 1rem;
}

.app-surface .trial-status-panel {
  max-width: none;
}

.container.section-block > .trial-status-panel {
  max-width: none;
}

.trial-status-panel strong {
  display: block;
}

.trial-status-panel span {
  color: #4d625b;
}

.trial-status-panel a {
  color: #0b6f4b;
  font-weight: 700;
  white-space: nowrap;
}

.friendly-error-page {
  min-height: calc(100vh - 190px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 28%, rgba(255, 138, 0, .2), transparent 24%),
    linear-gradient(135deg, #080b15 0%, #202848 55%, #30364f 100%);
}

.friendly-error-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  align-items: center;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.friendly-error-page h1 {
  color: #01c1e7;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: .95;
  margin-bottom: 1.25rem;
}

.friendly-error-page .lead {
  max-width: 38rem;
  color: #d0d5e8;
}

.friendly-error-eyebrow {
  color: #ffae4d;
  font-weight: 800;
  letter-spacing: .04em;
}

.friendly-error-genie {
  position: relative;
  transform: rotate(3deg);
}

.friendly-error-genie img {
  display: block;
  width: 100%;
  filter: drop-shadow(0 24px 35px rgba(0, 0, 0, .4));
}

.friendly-error-spark {
  position: absolute;
  z-index: 1;
  top: 2%;
  right: 7%;
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  color: #201338;
  background: #ffae4d;
  border-radius: 50% 50% 48% 52%;
  font-size: 2rem;
  font-weight: 900;
  transform: rotate(-12deg);
  box-shadow: 0 0 0 8px rgba(255, 174, 77, .14);
}

@media (max-width: 767px) {
  .friendly-error-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .friendly-error-page .lead {
    margin-right: auto;
    margin-left: auto;
  }

  .friendly-error-genie {
    width: min(340px, 80vw);
    margin: auto;
  }
}

@media (max-width: 575.98px) {
  .trial-status-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}
.seo-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
  padding: 0;
  color: var(--bs-secondary-color);
  font-size: 0.95rem;
  list-style: none;
}

.carecircle-wordmark {
  align-items: center;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: .65rem;
  display: inline-flex;
  padding: .2rem .5rem;
}

.carecircle-wordmark:hover,
.carecircle-wordmark:focus {
  background: #fff;
  box-shadow: 0 0 0 .2rem rgba(85, 199, 165, .22);
}

.carecircle-wordmark img {
  display: block;
  height: auto;
  width: 7.5625rem;
}

.carecircle-logo-card {
  align-items: center;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 1rem;
  box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, .2);
  display: flex;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.carecircle-home-artwork {
  overflow: hidden;
  background: #edf7fb;
  border: 1px solid #d7e5df;
  border-radius: 1rem;
  box-shadow: 0 1rem 2.5rem rgba(23, 69, 103, .14);
}

.carecircle-home-artwork img {
  display: block;
  width: 100%;
  height: auto;
}

.navbar-light .navbar-nav .nav-link.active {
  color: #fff;
}

.carecircle-register-link {
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .carecircle-wordmark img {
    width: 5.9125rem;
  }

  .carecircle-logo-card {
    padding: 1.25rem .9rem;
  }
}

.seo-breadcrumb li + li::before {
  margin-right: 0.45rem;
  content: "/";
}

.seo-stat strong {
  display: block;
  color: #cba6ff;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
}

.seo-snapshot-panel {
  background: #3a405c;
  border-color: rgba(174, 188, 244, 0.34);
}

.seo-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding-left: 1.25rem;
}

/* Care Circle light theme. Scoped so retained legacy screens keep their original appearance. */
body.carecircle-theme {
  --ink: #111111;
  --muted: #52606d;
  --line: #d7e5df;
  --panel: #ffffff;
  --soft: #f4faf7;
  --primary: #168fce;
  --primary-dark: #0875ad;
  --accent: #f59a23;
  --care-green: #84b91f;
  --care-green-dark: #547d12;
  --page: #ffffff;
  --page-dark: #f2f8f5;
  --purple: #168fce;
  --bs-body-color: #111111;
  --bs-secondary-color: #52606d;
  color: #111111;
  background: #ffffff;
  color-scheme: light;
}

.carecircle-theme main,
.carecircle-theme .section-band {
  color: #111111;
  background: #ffffff;
}

.carecircle-theme h1,
.carecircle-theme h2,
.carecircle-theme h3,
.carecircle-theme h4,
.carecircle-theme h5,
.carecircle-theme h6,
.carecircle-theme p,
.carecircle-theme label,
.carecircle-theme .form-label,
.carecircle-theme .form-check-label,
.carecircle-theme .form-text {
  color: #111111;
}

.carecircle-theme .text-muted {
  color: #52606d !important;
}

.carecircle-theme a {
  color: #0875ad;
}

.carecircle-theme a:hover,
.carecircle-theme a:focus {
  color: #547d12;
}

.carecircle-theme .site-header .navbar {
  background: #ffffff !important;
  border-color: #d7e5df !important;
  box-shadow: 0 .4rem 1.5rem rgba(11, 75, 127, .1);
}

.carecircle-theme .carecircle-wordmark {
  background: #ffffff;
  border-color: transparent;
}

.carecircle-theme .carecircle-wordmark:hover,
.carecircle-theme .carecircle-wordmark:focus {
  box-shadow: 0 0 0 .2rem rgba(22, 143, 206, .15);
}

.carecircle-theme .navbar-light .navbar-nav .nav-link,
.carecircle-theme .nav-user-name {
  color: #111111;
}

.carecircle-theme .navbar-light .navbar-nav .nav-link:hover,
.carecircle-theme .navbar-light .navbar-nav .nav-link:focus,
.carecircle-theme .nav-user-name:hover,
.carecircle-theme .nav-user-name:focus {
  color: #0875ad;
}

.carecircle-theme .navbar-light .navbar-nav .nav-link.active {
  color: #547d12;
  text-decoration-color: #f59a23;
  text-decoration-line: underline;
  text-decoration-thickness: .18rem;
  text-underline-offset: .45rem;
}

.carecircle-theme .navbar-light .navbar-toggler {
  border-color: #9bb7ab;
}

.carecircle-theme .navbar-light .navbar-toggler-icon {
  filter: none;
}

.carecircle-theme .btn-primary {
  --bs-btn-bg: #168fce;
  --bs-btn-border-color: #168fce;
  --bs-btn-hover-bg: #0875ad;
  --bs-btn-hover-border-color: #0875ad;
  --bs-btn-active-bg: #075f8c;
  --bs-btn-active-border-color: #075f8c;
  color: #ffffff;
  background: #168fce;
  border-color: #168fce;
  box-shadow: 0 .45rem 1rem rgba(22, 143, 206, .2);
}

.carecircle-theme .btn-primary:hover,
.carecircle-theme .btn-primary:focus {
  color: #ffffff;
  background: #0875ad;
  border-color: #0875ad;
}

.carecircle-theme .btn-outline-primary {
  --bs-btn-color: #0875ad;
  --bs-btn-border-color: #168fce;
  --bs-btn-hover-bg: #168fce;
  --bs-btn-hover-border-color: #168fce;
  --bs-btn-hover-color: #ffffff;
  color: #0875ad;
  background: transparent;
  border-color: #168fce;
}

.carecircle-theme .btn-outline-primary:hover,
.carecircle-theme .btn-outline-primary:focus {
  color: #ffffff;
  background: #168fce;
  border-color: #168fce;
}

.carecircle-theme .btn-outline-secondary {
  --bs-btn-color: #36454f;
  --bs-btn-border-color: #91a49c;
  --bs-btn-hover-bg: #edf5f1;
  --bs-btn-hover-border-color: #6f877d;
  --bs-btn-hover-color: #111111;
  color: #36454f;
  background: #ffffff;
  border-color: #91a49c;
}

.carecircle-theme .btn-outline-secondary:hover,
.carecircle-theme .btn-outline-secondary:focus {
  color: #111111;
  background: #edf5f1;
  border-color: #6f877d;
}

.carecircle-theme .form-control,
.carecircle-theme .form-select,
.carecircle-theme textarea,
.carecircle-theme .input-group-text {
  color: #111111;
  background-color: #ffffff;
  border-color: #9db4aa;
}

.carecircle-theme .form-control:focus,
.carecircle-theme .form-select:focus,
.carecircle-theme textarea:focus {
  color: #111111;
  background-color: #ffffff;
  border-color: #168fce;
  box-shadow: 0 0 0 .2rem rgba(22, 143, 206, .16);
}

.carecircle-theme .form-control::placeholder,
.carecircle-theme textarea::placeholder {
  color: #68776f;
  opacity: 1;
}

.carecircle-theme .form-check-input {
  background-color: #ffffff;
  border-color: #789086;
}

.carecircle-theme .form-check-input:checked {
  background-color: #84b91f;
  border-color: #689716;
}

.carecircle-theme .info-panel,
.carecircle-theme .lead-card,
.carecircle-theme .pricing-card,
.carecircle-theme .form-panel,
.carecircle-theme .filter-panel,
.carecircle-theme .card,
.carecircle-theme .chatbot-metric-card,
.carecircle-theme .chatbot-admin-panel,
.carecircle-theme .notification-page-empty {
  color: #111111;
  background: #ffffff;
  border-color: #d7e5df;
  box-shadow: 0 .7rem 1.8rem rgba(11, 75, 127, .08);
}

.carecircle-theme a.info-panel {
  color: #0875ad;
  border-left: .3rem solid #84b91f;
  text-decoration: none;
}

.carecircle-theme a.info-panel:hover,
.carecircle-theme a.info-panel:focus {
  color: #111111;
  background: #f5faf7;
  border-left-color: #f59a23;
}

.carecircle-theme .table {
  --bs-table-bg: #ffffff;
  --bs-table-color: #111111;
  --bs-table-border-color: #d7e5df;
  --bs-table-striped-bg: #f4faf7;
  --bs-table-striped-color: #111111;
  --bs-table-hover-bg: #edf7fb;
  --bs-table-hover-color: #111111;
  color: #111111;
}

.carecircle-theme .table th,
.carecircle-theme .table td,
.carecircle-theme .table .text-muted {
  color: #111111 !important;
}

.carecircle-theme .table thead th {
  background: #eaf5fa;
  border-bottom-color: #9bcde4;
}

.carecircle-theme .account-dropdown,
.carecircle-theme .dropdown-menu {
  color: #111111;
  background: #ffffff;
  border-color: #d7e5df;
  box-shadow: 0 .8rem 2rem rgba(11, 75, 127, .12);
}

.carecircle-theme .account-dropdown-name,
.carecircle-theme .account-dropdown .dropdown-item {
  color: #111111;
}

.carecircle-theme .account-dropdown-email {
  color: #52606d;
}

.carecircle-theme .account-dropdown .dropdown-item:hover,
.carecircle-theme .account-dropdown .dropdown-item:focus {
  color: #111111;
  background: #edf7fb;
}

.carecircle-theme .carecircle-logo-card {
  background: #f7fbf3;
  border-color: #dcebbf;
  box-shadow: 0 1rem 2.5rem rgba(71, 112, 17, .1);
}

.carecircle-theme .site-footer {
  color: #111111;
  background: linear-gradient(90deg, #edf7fb, #f5faeb);
  border-color: #d7e5df !important;
}

.carecircle-theme .site-footer strong,
.carecircle-theme .site-footer p {
  color: #111111;
}

.carecircle-theme .site-footer a {
  color: #075f8c;
}

.carecircle-theme .admin-home-strip {
  background: #f7fbf9;
  border-bottom: 1px solid #d7e5df;
}

.carecircle-theme .alert-info {
  color: #073b55;
  background: #eaf7fd;
  border-color: #9fd8ef;
}

.carecircle-theme .alert-success {
  color: #294708;
  background: #f1f8e4;
  border-color: #bbd979;
}

.carecircle-theme .alert-warning {
  color: #5f3300;
  background: #fff5e8;
  border-color: #f4bf7b;
}

.carecircle-theme hr {
  border-color: #c9d9d2;
  opacity: 1;
}

.care-search-heading,
.care-provider-cta {
  background: linear-gradient(110deg, #edf7fb 0%, #f7fbef 72%, #fff5e8 100%);
  border-bottom: 1px solid #d7e5df;
}

.care-search-quick,
.care-filter-panel {
  border-top: .3rem solid #84b91f;
}

.care-filter-panel {
  position: sticky;
  top: 1rem;
}

.care-vacancy-card {
  border-left: .35rem solid #168fce;
}

.care-vacancy-map-panel {
  border-top: .35rem solid #168fce;
}

.care-vacancy-map {
  width: 100%;
  min-height: 34rem;
  border: 1px solid #b9ccc4;
  border-radius: .45rem;
  background: #edf7fb;
}

.care-vacancy-map .leaflet-popup-content {
  min-width: 15rem;
}

.care-map-vacancy + .care-map-vacancy {
  margin-top: .6rem;
  padding-top: .6rem;
  border-top: 1px solid #d7e5df;
}

.care-freshness {
  color: #547d12 !important;
  font-size: .9rem;
  font-weight: 700;
}

.care-fee span,
.care-fee small {
  display: block;
  color: #52606d;
}

.care-fee strong {
  display: block;
  color: #111;
  font-size: 1.45rem;
}

.care-tag-groups {
  display: grid;
  gap: .65rem;
}

.care-tag-label {
  display: inline-block;
  min-width: 5.5rem;
  color: #52606d;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.care-tag {
  display: inline-block;
  margin: .15rem .25rem .15rem 0;
  padding: .28rem .55rem;
  color: #073b55;
  background: #eaf7fd;
  border: 1px solid #9fd8ef;
  border-radius: 999px;
  font-size: .88rem;
}

.care-tag-green {
  color: #294708;
  background: #f1f8e4;
  border-color: #bbd979;
}

.care-tag-orange {
  color: #5f3300;
  background: #fff5e8;
  border-color: #f4bf7b;
}

.care-zero-results {
  border-top: .35rem solid #f59a23;
}

.care-zero-icon {
  color: #168fce;
  font-size: 4rem;
  line-height: 1;
}

.carecircle-theme .pagination {
  --bs-pagination-color: #0875ad;
  --bs-pagination-active-bg: #168fce;
  --bs-pagination-active-border-color: #168fce;
}

@media (max-width: 991.98px) {
  .care-filter-panel { position: static; }
  .care-vacancy-map { min-height: 26rem; }
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 10000;
  transform: translateY(-200%);
  padding: .75rem 1rem;
  color: #fff;
  background: #201338;
  border-radius: .375rem;
}

.skip-link:focus { transform: translateY(0); }

.carecircle-theme :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #ffae4d;
  outline-offset: 3px;
}

.carecircle-theme .btn,
.carecircle-theme .form-control,
.carecircle-theme .form-select { min-height: 44px; }
