@charset "UTF-8";
/* Prospecta — base stylesheet (layout, sidebar, cards, forms, tables, login). */

:root {
  --ink:#183d3d;
  --muted:#667876;
  --paper:#f5f6f2;
  --white:#fff;
  --line:#e0e7e2;
  --teal:#163f3d;
  --deep:#102f2f;
  --coral:#df745b;
  --sage:#e9f0e9;
  --radius:14px;
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
  color:var(--ink);
  background:var(--paper);
  font-family:Inter,"Segoe UI",Arial,sans-serif;
  font-size:14px;
  line-height:1.55;
}
a {
  color:inherit;
  text-decoration:none;
}
a:hover {
  text-decoration:none;
  color:#bd573f;
}
button,input,select,textarea {
  font:inherit;
}
button,a,input,select,textarea,summary {
  outline-offset:4px;
}
button {
  cursor:pointer;
}
button:disabled {
  opacity:.5;
  cursor:not-allowed;
}
small {
  font-size:12px;
  color:var(--muted);
}
h1,h2,h3,p {
  margin-top:0;
}
h1 {
  font-family:Georgia,"Times New Roman",serif;
  font-size:43px;
  line-height:1.12;
  font-weight:400;
  letter-spacing:-1.7px;
  margin-bottom:14px;
}
h2 {
  font-size:19px;
  font-weight:600;
  letter-spacing:-.4px;
  margin-bottom:19px;
}
h3 {
  font-size:15px;
}
p {
  line-height:1.65;
}
.muted {
  color:var(--muted);
}
.eyebrow {
  font-size:10px;
  font-weight:700;
  letter-spacing:1.8px;
  color:#768481;
  display:block;
  margin-bottom:15px;
}
.sidebar {
  width:248px;
  position:fixed;
  inset:0 auto 0 0;
  background:var(--deep);
  padding:34px 20px 20px;
  color:#d3dfd9;
  display:flex;
  flex-direction:column;
  z-index:10;
}
.brand {
  display:flex;
  gap:12px;
  align-items:center;
  font-size:26px;
  letter-spacing:-1px;
  font-weight:600;
  line-height:1;
}
.brand:hover {
  color:inherit;
}
.brand small {
  font-family:Arial,sans-serif;
  display:block;
  font-size:7px;
  letter-spacing:1.6px;
  margin-top:9px;
  color:#a4b7af;
}
.brand-icon {
  width:43px;
  height:43px;
  display:grid;
  place-items:center;
  background:var(--coral);
  color:#173b37;
  border-radius:12px;
  font-size:37px;
  font-family:Georgia,serif;
  line-height:.7;
  padding-bottom:9px;
}
.workspace {
  display:flex;
  align-items:center;
  gap:10px;
  background:#ffffff08;
  border:1px solid #ffffff13;
  padding:11px;
  border-radius:9px;
  margin:32px 0 23px;
  font-size:12px;
}
.workspace small {
  display:block;
  color:#8ca89e;
  font-size:10px;
}
.avatar {
  background:#315652;
  border:1px solid #45675e;
  border-radius:50%;
  width:31px;
  height:31px;
  display:grid;
  place-items:center;
  flex-shrink:0;
}
nav {
  display:grid;
  gap:3px;
}
nav a {
  display:flex;
  align-items:center;
  gap:12px;
  border-radius:7px;
  padding:10px 12px;
  font-size:12px;
  color:#bacfc5;
}
nav a>span {
  font-size:20px;
  width:20px;
  text-align:center;
}
nav a:hover,nav a.active {
  background:#294d47;
  color:#fff;
}
nav a.active {
  box-shadow:inset 3px 0 var(--coral);
}
.sidebar-bottom {
  margin-top:auto;
  padding-top:20px;
}
.sidebar-bottom>p {
  font-size:11px;
  color:#88a69a;
  max-width:175px;
}
.mode-tag {
  color:#aac3b7;
  font-size:10px;
  letter-spacing:1px;
  display:flex;
  align-items:center;
  gap:7px;
}
.dot,.status-dot {
  width:7px;
  height:7px;
  background:#80a58b;
  display:inline-block;
  border-radius:50%;
}
.status-dot.danger {
  background:var(--coral);
}
.account {
  display:flex;
  align-items:center;
  gap:9px;
  border-top:1px solid #ffffff1a;
  padding-top:18px;
  font-size:11px;
}
.account small {
  display:block;
  color:#8da89c;
  font-size:10px;
}
.account form {
  margin-left:auto;
}
.icon-button {
  border:0;
  background:none;
  color:#a8c0b3;
  font-size:22px;
}
.app-shell {
  margin-left:248px;
}
.topbar {
  height:75px;
  padding:0 39px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:#f9faf7;
}
.topbar .eyebrow {
  margin:0;
  font-size:9px;
}
.top-actions {
  display:flex;
  align-items:center;
  gap:9px;
  font-size:11px;
  color:var(--muted);
}
main {
  max-width:1530px;
  margin:auto;
  padding:28px 40px 22px;
}
.page-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin:12px 0 29px;
}
.page-heading p {
  color:var(--muted);
  font-size:13px;
  max-width:670px;
  margin-bottom:0;
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  background:var(--teal);
  border:1px solid var(--teal);
  border-radius:7px;
  color:#fff;
  min-height:42px;
  padding:10px 17px;
  font-size:12px;
  font-weight:600;
  white-space:nowrap;
}
.button:hover {
  background:#28564e;
  color:#fff;
}
.button.secondary {
  background:#fff;
  color:var(--ink);
  border:1px solid #cdd8d0;
}
.button.secondary:hover {
  background:#edf2eb;
}
.button.small {
  min-height:31px;
  padding:6px 10px;
  font-size:10px;
}
.button.danger-button {
  background:#9e463d;
  border-color:#9e463d;
}
.card {
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:25px;
  margin-bottom:22px;
  min-width:0;
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:15px;
}
.section-heading h2,.section-heading h3 {
  margin:0;
}
.section-heading>a {
  font-size:11px;
  color:#507266;
}
.section-heading>.muted {
  font-size:11px;
}
.badge {
  padding:4px 8px;
  border-radius:5px;
  background:#f0f1ee;
  color:#647169;
  font-size:10px;
  font-weight:500;
  white-space:nowrap;
  display:inline-block;
  letter-spacing:0!important;
}
.badge-approved,.badge-high,.badge-completed,.badge-active,.badge-allowed,.badge-qualified,.badge-connected,.badge-won {
  background:#e7f0e7;
  color:#3c7252;
}
.badge-blocked,.badge-failed,.badge-rejected,.badge-lost {
  background:#fae7e0;
  color:#a3533e;
}
.badge-running,.badge-queued,.badge-scheduled,.badge-sending {
  background:#e8eef5;
  color:#446a8f;
}
.text-link {
  font-size:12px;
  display:inline-block;
  margin-top:16px;
}
.empty {
  text-align:center;
  padding:26px 12px;
  color:#718477;
}
.empty>span {
  font-size:31px;
  color:#8ca490;
}
.empty h3 {
  font-weight:500;
  color:#4f6d5c;
  margin:9px 0 6px;
}
.empty p {
  font-size:12px;
  max-width:350px;
  margin:0 auto;
}
footer {
  border-top:1px solid var(--line);
  margin-top:30px;
  padding-top:16px;
  font-size:9px;
  color:#889589;
}
form label {
  display:block;
  font-size:11px;
  font-weight:600;
  color:#576e5e;
  margin:15px 0;
}
input,textarea,select {
  display:block;
  width:100%;
  border:1px solid #cdd8ce;
  background:#fff;
  color:var(--ink);
  border-radius:6px;
  padding:10px 12px;
  margin-top:7px;
  font-size:12px;
  min-height:41px;
}
textarea {
  resize:vertical;
  line-height:1.6;
  min-height:88px;
}
details>summary {
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  list-style:none;
  font-size:13px;
}
details>summary::after {
  content:'+';
  font-size:18px;
  color:#7d927d;
}
details[open]>summary::after {
  content:'−';
}
details>summary small {
  display:block;
  font-size:10px;
  margin-top:4px;
}
.actions {
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
pre {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  background:#f3f5f0;
  padding:16px;
  border-radius:6px;
  max-height:500px;
  overflow:auto;
  color:#59765e;
}
.notice {
  background:#eaf1e8;
  padding:14px 17px;
  border:1px solid #d5e1d1;
  border-radius:8px;
  font-size:12px;
  margin-bottom:18px;
}
.notice.warning {
  background:#fbf0de;
  border-color:#eddbba;
  color:#8a6835;
}
.filters {
  display:flex;
  gap:13px;
  align-items:flex-end;
  margin-bottom:24px;
}
.filters label {
  flex:1;
  margin:0;
  min-width:100px;
}
.filters>.button {
  height:41px;
}
.filters>a {
  font-size:11px;
  padding-bottom:12px;
}
.table-wrap {
  overflow-x:auto;
}
table {
  border-collapse:collapse;
  width:100%;
  text-align:left;
  font-size:12px;
}
th {
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.8px;
  color:#7e9180;
  background:#f5f7f2;
  padding:12px;
}
td {
  padding:18px 12px;
  border-bottom:1px solid #e9eee5;
}
td small {
  display:block;
  font-size:10px;
  margin-top:4px;
}
.table-title {
  font-weight:600;
}
.pagination {
  display:flex;
  gap:18px;
  justify-content:flex-end;
  font-size:11px;
  padding-top:20px;
}
.pagination>span {
  margin-right:auto;
  color:var(--muted);
}
blockquote {
  border-left:3px solid #b1c7ae;
  padding:10px 16px;
  margin:15px 0;
  background:#f6f8f3;
  font-size:12px;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
.source-url {
  font-size:10px;
  color:#6b806b;
  overflow-wrap:anywhere;
  margin:10px 0;
}
.login-body {
  min-height:100vh;
  display:grid;
  grid-template-columns:1fr 1fr;
  background:#f6f7f2;
}
.login-card {
  width:420px;
  max-width:100%;
  align-self:center;
  padding:40px 30px;
  margin:auto;
}
.login-card .brand {
  margin-bottom:70px;
}
.login-card .brand small {
  color:#879d84;
}
.login-card h1 {
  font-size:50px;
}
.login-card>p {
  font-size:13px;
  color:var(--muted);
  margin-bottom:30px;
}
.login-card form>.button {
  width:100%;
  justify-content:space-between;
  margin-top:14px;
}
.login-card>small {
  display:block;
  margin-top:24px;
  font-size:10px;
  line-height:1.7;
}
.login-art {
  background:var(--teal);
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:80px;
  color:#f2f3df;
}
.login-art>span {
  font-family:Georgia,serif;
  font-size:73px;
  line-height:1.07;
  letter-spacing:-3px;
  position:relative;
  z-index:2;
}
.login-art em {
  font-weight:400;
  color:#e5a684;
}
.login-art>p {
  font-size:10px;
  letter-spacing:2px;
  margin-top:40px;
  position:relative;
  z-index:2;
}
.orbit {
  border:1px solid #56765b66;
  border-radius:50%;
  position:absolute;
  width:720px;
  height:720px;
  transform:rotate(-25deg);
  right:-390px;
  top:0;
}
.orbit-two {
  width:900px;
  height:900px;
  right:-480px;
  top:-90px;
}
.orbit-three {
  width:1100px;
  height:1100px;
  right:-580px;
  top:-190px;
}
.error-body {
  display:grid;
  min-height:100vh;
  place-items:center;
}
.error-card {
  max-width:600px;
  margin:30px;
  padding:40px;
}
.error-card h1 {
  font-size:37px;
}
.error-card p {
  color:var(--muted);
}
.skip-link {
  position:fixed;
  top:-80px;
  left:20px;
  background:#fff;
  padding:12px;
  z-index:100;
}
.skip-link:focus {
  top:15px;
}
.htmx-indicator {
  opacity:0;
}
.htmx-request .htmx-indicator {
  opacity:1;
}

/* Sidebar counters and chips */
.nav-count { margin-left: auto; min-width: 22px; padding: 2px 6px; border-radius: 999px; background: #ffffff18; color: #e3ece6; font-size: 9px; line-height: 1.5; text-align: center; }
.sidebar { overflow-y: auto; }
.sidebar > nav a { font-size: 13px; padding: 13px 12px; }
.workspace { margin-bottom: 25px; }
.workspace > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account > div { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
main { max-width: 1430px; padding-top: 24px; }
.notice a { text-decoration: underline; }
label.checkbox { display: flex; align-items: center; gap: 9px; font-weight: 500; }
label.checkbox input { width: auto; min-height: 0; margin: 0; }
code { font-family: Consolas, "SFMono-Regular", monospace; font-size: 11px; background: #eef2ec; padding: 2px 5px; border-radius: 4px; }
.inline-action { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; }
.inline-action small { font-size: 10px; max-width: 420px; line-height: 1.6; }
.job-error { display: block; font-size: 11px; color: #9b5b48; overflow-wrap: anywhere; margin-bottom: 6px; }

/* Assessment section on the home page */
.assessment-tools > p { font-size: 12px; color: #6d7e73; line-height: 1.8; max-width: 760px; }
.assessment-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }
.assessment-path { border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; background: #fbfcfa; }
.assessment-path h3 { margin-bottom: 8px; }
.assessment-path p { font-size: 11px; line-height: 1.8; color: #6d7e73; }
.assessment-path form label { margin: 12px 0; }
.assessment-path form small { display: block; margin-top: 10px; font-size: 10px; line-height: 1.6; }

/* Settings page */
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.settings-grid > .card { margin-bottom: 22px; }
.settings-facts { display: grid; grid-template-columns: 130px 1fr; gap: 8px 14px; font-size: 12px; margin: 0 0 16px; }
.settings-facts dt { color: var(--muted); font-size: 11px; }
.settings-facts dd { margin: 0; overflow-wrap: anywhere; }
.settings-blockers { margin: 0 0 18px; padding: 12px 14px 12px 30px; background: #fbf0de; border: 1px solid #eddbba; border-radius: 8px; color: #8a6835; font-size: 11px; line-height: 1.7; }
.settings-forms { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; border-top: 1px solid var(--line); padding-top: 16px; }
.settings-forms h3 { margin-bottom: 6px; }
.settings-forms p { font-size: 11px; line-height: 1.7; }
.settings-forms label { margin: 10px 0; }
.settings-forms small { display: block; margin-top: 8px; }
.settings-health { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.settings-health > div { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 9px; padding: 12px 16px; min-width: 200px; background: #fbfcfa; }
.settings-health > div.down { border-color: #e6c9c0; background: #fcf3f0; }
.settings-health strong { font-size: 12px; }
.settings-health small { display: block; font-size: 10px; }
.badge-complete, .badge-completed { background: #e7f0e7; color: #3c7252; }
.badge-pending, .badge-paused, .badge-cancelled, .badge-needs-review { background: #f0f1ee; color: #647169; }

@media (min-width: 1600px) { main { padding-left: 56px; padding-right: 56px; } .sidebar { width: 265px; } .app-shell { margin-left: 265px; } }
@media (max-width: 1150px) {
  .sidebar { width: 215px; padding-left: 14px; padding-right: 14px; }
  .app-shell { margin-left: 215px; }
  main { padding: 25px; }
  .topbar { padding: 0 25px; }
  .card { padding: 20px; }
  .filters { flex-wrap: wrap; }
  .login-art { padding: 45px; }
  .login-art > span { font-size: 58px; }
  .settings-grid, .settings-forms, .assessment-paths { grid-template-columns: 1fr; }
}
@media (max-width: 850px) {
  .sidebar { position: static; width: auto; padding: 18px; display: block; overflow: visible; }
  .sidebar .brand { font-size: 23px; }
  .sidebar .workspace, .sidebar-bottom, .focus-chip { display: none; }
  nav { display: flex; overflow-x: auto; margin-top: 15px; gap: 7px; padding-bottom: 3px; }
  .sidebar > nav a { white-space: nowrap; padding: 9px 15px; font-size: 12px; }
  nav a > span { display: none; }
  .app-shell { margin-left: 0; }
  .topbar { height: 56px; }
  .topbar > .eyebrow { font-size: 8px; }
  .page-heading { align-items: flex-start; }
  .page-heading h1 { font-size: 36px; }
  .page-heading > .button { font-size: 10px; }
  .login-art { display: none; }
  .login-body { display: block; }
  .login-card { padding-top: 50px; }
  .login-card .brand { margin-bottom: 50px; }
}
@media (max-width: 500px) {
  main { padding: 20px 15px; }
  .topbar { padding: 0 15px; }
  .topbar > .eyebrow { display: none; }
  .top-actions { margin-left: auto; }
  .page-heading { flex-direction: column; gap: 16px; }
  .page-heading h1 { font-size: 34px; }
  .page-heading .eyebrow { font-size: 9px; }
  .card { padding: 18px; }
  .filters label { min-width: 40%; }
  .error-card { padding: 25px; }
  .settings-facts { grid-template-columns: 1fr; gap: 2px 0; }
  .settings-facts dd { margin-bottom: 8px; }
}

/* Compact catalog list in the right-hand column of the home page */
.prospect-notes .search-catalogs { margin-bottom: 16px; }
.prospect-notes .catalog-grid { grid-template-columns: 1fr; gap: 9px; }
.prospect-notes .catalog-grid article { padding: 12px 14px; }
.prospect-notes .catalog-grid article p { margin-top: 4px; }

/* Journey navigation: the sidebar is the four-step path */
.journey-nav { display: grid; gap: 4px; }
.journey-nav a { display: flex; align-items: flex-start; gap: 12px; border-radius: 9px; padding: 11px 12px; color: #bacfc5; font-size: 12px; }
.journey-nav a:hover, .journey-nav a.active { background: #294d47; color: #fff; }
.journey-nav a.active { box-shadow: inset 3px 0 var(--coral); }
.journey-nav .step-number { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 1px solid #4f7169; display: grid; place-items: center; font-size: 11px; font-weight: 600; color: #d8e6df; }
.journey-nav a.active .step-number { background: var(--coral); border-color: var(--coral); color: #173b37; }
.journey-nav a.done .step-number { background: #2f6a58; border-color: #2f6a58; color: #e8f4ee; }
.journey-nav .step-text { display: grid; gap: 2px; min-width: 0; flex: 1 1 auto; width: auto; text-align: left; font-size: 12px; }
.journey-nav .step-text strong { font-size: 13px; font-weight: 600; }
.journey-nav .step-text small { font-size: 10px; color: #8fb0a3; line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.journey-nav a.active .step-text small { color: #c3d8cf; }
.settings-link { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 7px; font-size: 12px; color: #9fb8aa; margin-bottom: 12px; }
.settings-link:hover, .settings-link.active { background: #294d47; color: #fff; }
.settings-link > span { font-size: 16px; }

/* Buscar page: primary action + evaluation side by side */
.prospect-search-grid { grid-template-columns: 1.15fr 1fr; }
.assessment-card > p { font-size: 12px; color: #6d7e73; line-height: 1.8; margin: 14px 0 18px; }
.assessment-action { display: grid; gap: 10px; margin-bottom: 14px; }
.assessment-action small { font-size: 10px; line-height: 1.6; max-width: 460px; }
.more-options { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.more-options > summary { font-size: 11px; color: #5c7764; }
.more-options .secondary-collection { margin-top: 14px; }
.more-options .inline-action { margin: 10px 0 0; }
.more-options form > label { margin: 10px 0; }
.add-site-form { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 10px; align-items: end; }
.add-site-form label { margin: 0; }
.add-site-form input { margin-top: 6px; min-height: 36px; font-size: 11px; }
.add-site-form small { grid-column: 1 / -1; }
.product-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: start; }
.product-layout > .card { margin-bottom: 0; }
.product-form .field { margin: 0 0 18px; }
.product-form .field label { margin: 0; }
.product-form .field-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.product-form .label-tag { font-weight: 500; color: #8a9a8f; margin-left: 4px; }
.product-form .field-hint { display: block; font-size: 11px; font-weight: 400; line-height: 1.6; color: #6d8276; margin-top: 4px; }
.product-form .field-hint strong { font-weight: 600; color: #4b6457; }
.product-form .field input, .product-form .field textarea { margin-top: 8px; }
.product-form .field label.checkbox { margin-bottom: 2px; }
.product-form .field label.checkbox + .field-hint { margin-left: 25px; }
.product-form .link-button { border: 0; background: none; padding: 0; font: inherit; font-size: 11px; font-weight: 600; color: #4b7364; text-decoration: underline; cursor: pointer; }
.product-form .link-button:hover { color: var(--coral); }
.product-form .form-footer { display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.product-form .form-footer small { flex: 1 1 260px; font-size: 11px; line-height: 1.55; padding-top: 6px; }
.product-guide h3 { font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #5f766a; margin: 18px 0 8px; }
.guide-criteria, .guide-rules { margin: 0; padding-left: 20px; font-size: 11px; line-height: 1.6; color: #55695c; }
.guide-criteria li, .guide-rules li { margin-bottom: 6px; }
.guide-criteria strong { display: block; color: #2f4a40; }
.prospect-preview .section-heading .button { font-size: 11px; }
@media (max-width: 1150px) { .product-layout, .add-site-form { grid-template-columns: 1fr; } }
@media (max-width: 850px) {
  .journey-nav { display: flex; overflow-x: auto; gap: 6px; margin-top: 15px; padding-bottom: 3px; }
  .journey-nav a { white-space: nowrap; padding: 8px 12px; align-items: center; }
  .journey-nav .step-text small { display: none; }
  .sidebar-bottom { display: block; padding-top: 8px; }
  .sidebar-bottom .account { display: none; }
  .settings-link { display: inline-flex; margin: 8px 0 0; }
}

.prospect-results-heading > .actions .export-csv-link { margin: 0; font-size: 11px; align-self: center; color: #4b7364; }
.followup-heading > .actions { display: flex; gap: 10px; flex-wrap: wrap; }
