/* eQualle Support System MVP */
.admin-summary-grid{display:grid;gap:14px;grid-template-columns:repeat(5,minmax(0,1fr))}.admin-summary-card{background:#0f172a;border:1px solid #24324a;border-radius:14px;color:#fff;padding:16px}.admin-summary-label{color:#cbd5e1;font-size:.78rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.admin-summary-value{font-size:2rem;font-weight:900;line-height:1.1;margin-top:8px}.admin-top-issues{display:grid;gap:18px;grid-template-columns:1fr 1fr}.admin-top-issues h3{font-size:1rem;margin:0 0 10px}.admin-issue-list{display:grid;gap:8px;margin:0;padding-left:20px}.admin-issue-list li{color:#334155;padding-left:4px}.admin-issue-list li span{display:inline-block;max-width:80%;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap}.admin-issue-list strong{background:var(--soft);border:1px solid var(--line);border-radius:999px;color:var(--black);display:inline-block;font-size:.78rem;margin-left:8px;min-width:28px;padding:2px 7px;text-align:center}@media(max-width:860px){.admin-summary-grid,.admin-top-issues{grid-template-columns:1fr}}
.admin-action-row{display:flex;flex-wrap:wrap;gap:6px}.admin-action-row button{background:#fff;border:1px solid var(--line);border-radius:10px;color:var(--black);cursor:pointer;font-size:.82rem;font-weight:800;padding:7px 9px}.admin-action-row button:hover{border-color:var(--blue)}.admin-action-row button:disabled{cursor:not-allowed;opacity:.55}.admin-draft-panel{background:var(--soft);border:1px solid var(--line);border-radius:16px;margin-top:18px;padding:18px}.admin-draft-panel-header{align-items:center;display:flex;gap:12px;justify-content:space-between}.admin-draft-panel h3{margin:0}.admin-draft-details{display:grid;gap:12px;grid-template-columns:1fr 1fr;margin-top:14px}.admin-draft-detail{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px}.admin-draft-detail pre{font:inherit;margin:4px 0 0;white-space:pre-wrap}@media(max-width:860px){.admin-draft-details{grid-template-columns:1fr}.admin-draft-panel-header{align-items:flex-start;display:grid}}
.admin-draft-form{border:1px solid var(--line);border-radius:16px;display:grid;gap:14px;grid-template-columns:1fr 1fr;margin:18px 0;padding:18px}.admin-draft-form h3{grid-column:1/-1;margin:0}.admin-draft-form label{display:grid;font-weight:800;gap:6px}.admin-draft-form input,.admin-draft-form select,.admin-draft-form textarea{border:1px solid var(--line);border-radius:12px;font:inherit;padding:10px 12px}.admin-draft-form textarea{resize:vertical}.admin-draft-form button{justify-self:start}@media(max-width:860px){.admin-draft-form{grid-template-columns:1fr}}
:root{--blue:#7CB1D9;--black:#0B0C0E;--white:#fff;--line:#e5e7eb;--soft:#f5f7fa;--text:#17202A}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--white);line-height:1.5}a{color:inherit;text-decoration:none}.site-header{background:var(--black);color:var(--white);border-bottom:4px solid var(--blue)}.header-inner,main,.footer-inner{max-width:1120px;margin:0 auto;padding:0 20px}.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:72px;gap:20px}.logo{font-weight:800;letter-spacing:.02em;font-size:1.15rem}.logo span{color:var(--blue)}.nav{display:flex;gap:14px;flex-wrap:wrap;font-size:.93rem}.nav a{color:#eaf4fb;opacity:.92}.nav a:hover{color:var(--blue)}.hero{padding:56px 0 36px;display:grid;gap:24px}.eyebrow{color:var(--blue);font-weight:700;text-transform:uppercase;font-size:.82rem;letter-spacing:.08em}h1{margin:0;font-size:clamp(2rem,5vw,4rem);line-height:1.04;max-width:900px}.hero p{max-width:760px;font-size:1.1rem;color:#d7dee5;margin:0}.search-panel{background:#fff;border-radius:22px;padding:18px;box-shadow:0 16px 50px rgba(0,0,0,.25);max-width:860px}.search-label{color:var(--black);font-weight:700;margin-bottom:8px;display:block}.search-row{display:flex;gap:10px}.search-input{flex:1;padding:15px 16px;border:1px solid var(--line);border-radius:14px;font-size:1rem}.search-button{padding:15px 20px;border:0;border-radius:14px;background:var(--blue);color:var(--black);font-weight:800;cursor:pointer}.search-results{margin-top:12px;display:grid;gap:8px}.result-link{display:block;padding:10px 12px;border-radius:12px;background:var(--soft);color:var(--black)}.section{padding:42px 0}.section h2{font-size:clamp(1.6rem,3vw,2.3rem);margin:0 0 10px}.section-intro{color:#53606e;margin:0 0 22px;max-width:760px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.card{border:1px solid var(--line);border-radius:18px;padding:18px;background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.06)}.card:hover{border-color:var(--blue);transform:translateY(-1px);transition:.15s ease}.card h3{margin:0 0 8px;font-size:1.1rem}.card p{color:#53606e;margin:0 0 12px}.pill-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.pill{background:#eaf4fb;color:#1f3d54;border-radius:999px;padding:6px 10px;font-size:.85rem}.cta{display:inline-flex;align-items:center;gap:8px;margin-top:10px;color:#0d527a;font-weight:800}.band{background:var(--soft);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.breadcrumb{color:#6b7280;font-size:.92rem;margin:26px 0 10px}.answer-card{border:1px solid var(--line);border-radius:22px;padding:24px;margin:18px 0;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.06)}.answer-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.label{font-size:.82rem;color:#6b7280;text-transform:uppercase;font-weight:800;letter-spacing:.04em}.value{margin-top:4px}ol,ul{padding-left:22px}.note{background:#fff8e6;border:1px solid #f1d48a;border-radius:16px;padding:14px 16px}.feedback-panel{border-top:1px solid var(--line);margin-top:22px;padding-top:18px}.feedback-title{font-weight:800;margin-bottom:10px}.feedback-actions{display:flex;gap:10px;flex-wrap:wrap}.feedback-actions button,.feedback-detail button{border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--black);cursor:pointer;font-weight:800;padding:10px 14px}.feedback-actions button:hover,.feedback-detail button:hover{border-color:var(--blue)}.feedback-detail{display:grid;gap:8px;margin-top:12px;max-width:520px}.feedback-detail[hidden]{display:none}.feedback-detail label{font-size:.9rem;font-weight:700}.feedback-detail textarea{border:1px solid var(--line);border-radius:12px;font:inherit;padding:10px;resize:vertical}.feedback-status{color:#53606e;font-size:.9rem;margin-top:10px;min-height:1.35em}.chat-shell{border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.06);max-width:780px;overflow:hidden}.chat-messages{display:grid;gap:12px;max-height:420px;min-height:240px;overflow:auto;padding:18px;background:var(--soft)}.chat-message{border-radius:16px;padding:12px 14px;max-width:78%;white-space:pre-wrap}.chat-message-assistant{background:#fff;border:1px solid var(--line);justify-self:start}.chat-message-user{background:#eaf4fb;color:#1f3d54;justify-self:end}.chat-links{display:grid;gap:8px}.chat-links a{background:#fff;border:1px solid var(--line);border-radius:12px;color:#0d527a;font-weight:800;padding:10px 12px}.chat-form{display:flex;gap:10px;padding:14px;border-top:1px solid var(--line)}.chat-input{border:1px solid var(--line);border-radius:14px;flex:1;font:inherit;padding:13px 14px}.chat-send{background:var(--blue);border:0;border-radius:14px;color:var(--black);cursor:pointer;font-weight:800;padding:13px 18px}.sr-only{height:1px;overflow:hidden;position:absolute;width:1px;clip:rect(1px,1px,1px,1px)}.footer{background:var(--black);color:#d7dee5;margin-top:40px}.footer-inner{padding:24px 20px;font-size:.9rem;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.admin-shell h1{color:var(--black);font-size:clamp(2rem,4vw,3rem)}.admin-heading{align-items:flex-start;display:flex;gap:18px;justify-content:space-between}.admin-form{display:grid;gap:14px;max-width:440px}.admin-form label{display:grid;font-weight:800;gap:6px}.admin-form input{border:1px solid var(--line);border-radius:12px;font:inherit;padding:12px 14px}.admin-button{background:var(--blue);border:0;border-radius:12px;color:var(--black);cursor:pointer;font-weight:800;padding:12px 16px}.admin-button-secondary{background:#fff;border:1px solid var(--line)}.admin-status{color:#53606e;font-weight:700;margin:10px 0 18px;min-height:1.5em}.admin-status-error{color:#9f1239}.admin-dashboard{display:grid;gap:18px}.admin-section{margin:0}.admin-table-wrap{overflow-x:auto}.admin-table{border-collapse:collapse;font-size:.92rem;min-width:720px;width:100%}.admin-table th,.admin-table td{border-bottom:1px solid var(--line);padding:10px;text-align:left;vertical-align:top}.admin-table th{background:var(--soft);font-size:.78rem;letter-spacing:.04em;text-transform:uppercase}.admin-table td{color:#334155}@media(max-width:860px){.header-inner{align-items:flex-start;flex-direction:column;padding-top:18px;padding-bottom:18px}.grid{grid-template-columns:1fr}.answer-grid{grid-template-columns:1fr}.search-row{flex-direction:column}.search-button{width:100%}.admin-heading{display:grid}.admin-button-secondary{justify-self:start}.admin-table{font-size:.85rem}}

.feedback-actions button{align-items:center;display:inline-flex;gap:8px;justify-content:space-between;min-width:150px}
.feedback-button-label{display:inline-block}
.feedback-count{background:var(--soft);border:1px solid var(--line);border-radius:999px;display:inline-block;font-size:.82rem;font-weight:800;line-height:1;min-width:28px;padding:4px 8px;text-align:center}
.feedback-count:empty{display:none}
@media(max-width:860px){.feedback-actions button{min-width:unset;width:100%}}

/* Responsive safety overrides */
body{overflow-x:hidden}
img,video,canvas,svg,table,pre,iframe{max-width:100%}
.chat-shell{max-width:100%;width:100%}
.chat-messages{min-height:120px}
.answer-card,.card,.section{min-width:0}
.answer-card,.card,.value,.section-intro,.chat-message{overflow-wrap:anywhere}

@media(max-width:860px){
  .nav{width:100%}
  .nav a{padding:4px 0}
  .answer-card{padding:18px}
  .section{padding:30px 0}
}

/* Homepage and global polish */
.header-inner,
main,
.footer-inner {
  width: 100%;
}

.nav {
  row-gap: 8px;
}

.nav a {
  white-space: nowrap;
}

.hero {
  gap: 16px;
  margin: 0 auto;
  max-width: none;
  padding: 42px 0 28px;
  width: 100%;
}

.hero h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.8rem);
  line-height: 1.05;
  max-width: 920px;
}

.hero p {
  color: #4b5563;
  font-size: 1.05rem;
  max-width: 820px;
}

.search-panel {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  max-width: none;
  padding: 16px;
  width: 100%;
}

.search-row {
  align-items: center;
}

.search-input,
.search-button {
  min-height: 50px;
}

.search-input {
  min-width: 0;
}

.search-button {
  justify-content: center;
  min-width: 112px;
  text-align: center;
  white-space: nowrap;
}

.grid {
  align-items: stretch;
  gap: 18px;
}

.grid > .card,
.grid > a.card {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  padding: 18px;
}

.grid > .card:hover,
.grid > a.card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.grid > .card .cta,
.grid > a.card .cta {
  margin-top: auto;
}

.grid > * {
  min-width: 0;
}

@media (min-width: 1200px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav {
    justify-content: flex-start;
  }
}

@media (max-width: 860px) {
  .header-inner {
    gap: 14px;
    padding-bottom: 14px;
    padding-top: 14px;
  }

  .hero {
    gap: 14px;
    padding: 28px 0 18px;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.4rem);
  }

  .hero p {
    font-size: 1rem;
  }

  .search-panel {
    max-width: 100%;
    padding: 14px;
    width: 100%;
  }

  .search-row {
    flex-direction: column;
  }

  .search-button {
    width: 100%;
  }

  .grid {
    gap: 16px;
    grid-template-columns: 1fr;
  }
}

/* Homepage minimal support search layout */
body.support-home {
  background: #ffffff;
  color: #0b0c0e;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.support-home .site-header {
  flex-shrink: 0;
}

.support-home-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background: #ffffff;
}

.support-hero {
  width: 100%;
}

.support-hero-content {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.support-hero-title {
  margin: 0 0 14px;
  font-size: clamp(2.125rem, 6vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  color: #0b0c0e;
}

.support-hero-subtitle {
  margin: 0 0 28px;
  font-size: 1.125rem;
  color: #4b5563;
}

.support-search-shell {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

.support-search-form {
  width: 100%;
  min-height: 56px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(11, 12, 14, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.support-search-form:focus-within {
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(124, 177, 217, 0.22);
}

.support-search-input {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  border: none;
  outline: none;
  background: transparent;
  color: #0b0c0e;
  padding: 0 0 0 22px;
}

.support-search-input::placeholder {
  color: #6b7280;
}

.support-search-button {
  border: none;
  border-radius: 999px;
  height: 44px;
  margin-right: 6px;
  padding: 0 26px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  background: var(--blue);
  color: #ffffff;
  white-space: nowrap;
}

.support-search-button:hover {
  background: #5f9fcf;
}

.support-tool-button {
  align-items: center;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  min-height: 44px;
  white-space: nowrap;
  background: transparent;
  border-radius: 999px;
  color: #4b5563;
  font: inherit;
  min-width: 44px;
  padding: 0 12px;
}

.support-tool-button:hover {
  background: #f3f4f6;
  color: #0b0c0e;
}

.support-tool-button svg {
  height: 20px;
  width: 20px;
}

.support-photo-button {
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}

.solution-search-block {
  margin: 24px 0 10px;
}

.solution-search-shell {
  max-width: 100%;
  margin: 0;
}

.solution-search-block .support-search-form {
  min-height: 64px;
  padding: 6px 8px 6px 22px;
  gap: 8px;
  box-shadow: 0 8px 28px rgba(11, 12, 14, 0.1);
}

.solution-search-block .support-search-input {
  min-height: 50px;
  padding: 0;
}

.solution-search-block .support-search-button {
  height: 50px;
  margin-right: 0;
  padding: 0 28px;
}

.solution-search-block .search-results {
  margin-top: 14px;
}

.support-home .search-results {
  margin-top: 24px;
  text-align: left;
}

.result-link {
  align-items: flex-start;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  display: flex;
  gap: 10px;
}

.result-kind {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 58px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  margin-top: 1px;
}

.result-kind-answer {
  background: #e8f3fb;
  color: #005f93;
}

.result-kind-guide {
  background: #f3f4f6;
  color: #374151;
}

.result-kind-tool {
  background: #eef2ff;
  color: #4338ca;
}

.result-kind-product {
  background: #ecfdf5;
  color: #047857;
}

.result-text {
  display: block;
  min-width: 0;
}

/* Neutralize new small-card / followup layout selectors for solution pages */
body.solution-page .solution-layout,
body.solution-page .solution-card,
body.solution-page .solution-card-label,
body.solution-page .grit-path,
body.solution-page .grit-chip,
body.solution-page .solution-followup-card,
body.solution-page .solution-followup-form,
body.solution-page .solution-followup-messages {
  all: unset;
  display: block;
}

/* Ensure chat messages in solution pages are not constrained */
body.solution-page .chat-messages {
  max-height: none;
  min-height: 0;
  overflow: visible;
}

.result-title {
  font-weight: 700;
}

.result-description {
  color: #374151;
}

.support-footer {
  flex-shrink: 0;
  padding: 18px 24px;
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
  border-top: 1px solid #f3f4f6;
  background: #ffffff;
}

.support-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
}

@media (max-width: 860px) {
  .support-hero-title {
    font-size: clamp(2.125rem, 9vw, 2.625rem);
  }

  .support-hero-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .support-home-main {
    padding: 20px 16px;
  }

  .support-search-form {
    border-radius: 24px;
    padding: 8px;
    align-items: stretch;
    flex-direction: column;
  }

  .support-search-input {
    min-height: 44px;
    padding: 0 12px;
  }

  .support-search-button {
    width: 100%;
    margin-right: 0;
  }
}

@media (max-width: 600px) {
  .result-link {
    gap: 8px;
  }

  .result-kind {
    min-width: 52px;
    height: 22px;
    font-size: 11px;
  }
}

.related-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 24px;
}

.topic-pill {
  align-items: center;
  background: #eaf4fb;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #1f3d54;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  padding: 9px 14px;
  white-space: nowrap;
}

.topic-pill-link {
  cursor: pointer;
}

.topic-pill-link:hover {
  border-color: #7CB1D9;
  background: #dff0fb;
  color: #0b3d5c;
}

.answer-summary {
  margin: 4px 0 24px;
  padding: 18px 20px;
  border: 1px solid rgba(124, 177, 217, 0.55);
  border-left: 6px solid #7CB1D9;
  border-radius: 18px;
  background: linear-gradient(180deg, #f0f8ff 0%, #ffffff 100%);
  box-shadow: 0 12px 30px rgba(12, 17, 23, 0.08);
}

.answer-summary-label {
  margin-bottom: 8px;
  color: #005f93;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.answer-summary-text {
  margin: 0;
  color: #111827;
  font-size: clamp(1.16rem, 1vw + 1rem, 1.42rem);
  font-weight: 700;
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.solution-page .section > h1 {
  max-width: 100%;
  font-size: clamp(2.35rem, 4.2vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

body.solution-page .section > .section-intro {
  max-width: 100%;
}

@media (max-width: 860px) {
  body.solution-page .section > h1 {
    font-size: clamp(2.05rem, 9vw, 2.85rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
  }
}

@media (max-width: 640px) {
  .related-topics {
    gap: 7px;
    margin-bottom: 20px;
  }

  .topic-pill {
    font-size: 0.86rem;
    padding: 8px 11px;
  }

  .answer-summary {
    padding: 16px;
    border-radius: 16px;
  }

  .answer-summary-text {
    font-size: 1.08rem;
  }

  .solution-search-block .support-search-form {
    border-radius: 28px;
    flex-wrap: wrap;
    padding: 10px;
  }

  .solution-search-block .support-search-input {
    flex-basis: 100%;
    min-height: 44px;
    padding: 0 8px;
  }

  .solution-search-block .support-tool-button {
    min-height: 44px;
    min-width: 44px;
  }

  .solution-search-block .support-photo-button {
    flex: 1;
  }

  .solution-search-block .support-search-button {
    flex: 1.4;
    height: 44px;
    margin-right: 0;
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  body.solution-page .section > h1 {
    font-size: clamp(1.85rem, 10.5vw, 2.4rem);
    line-height: 1.12;
  }
}

body.solution-page .related-answers {
  margin-top: 20px;
}

body.solution-page .related-answers ul {
  margin: 0;
  padding-left: 22px;
}

body.solution-page .related-answers li + li {
  margin-top: 8px;
}

body.solution-page .related-answers a {
  color: #0d527a;
  font-weight: 700;
  text-decoration: none;
}

body.solution-page .related-answers a:hover {
  text-decoration: underline;
}

.answer-card .answer-section-title {
  margin: 18px 0 10px;
  font-size: 1.35rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #111827;
}

.answer-card > h2 {
  margin: 18px 0 10px;
  font-size: 1.35rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #111827;
}

/* Prevent nested chat scrolling on solution pages */
body.solution-page .chat-messages,
body.solution-page .solution-followup-messages {
  max-height: none;
  min-height: 0;
  overflow: visible;
}

/* P2: chip/link clarity */
.pill-list {
  align-items: center;
}

span.pill,
span.topic-pill {
  cursor: default;
  text-decoration: none;
}

a.pill,
a.topic-pill-link {
  cursor: pointer;
  text-decoration: none;
  border-color: rgba(124, 177, 217, 0.75);
  background: rgba(124, 177, 217, 0.14);
}

a.pill::after,
a.topic-pill-link::after {
  content: "";
}

a.pill:hover,
a.topic-pill-link:hover,
a.pill:focus-visible,
a.topic-pill-link:focus-visible {
  text-decoration: none;
  background: rgba(124, 177, 217, 0.24);
  border-color: rgba(124, 177, 217, 1);
}

a.pill:focus-visible,
a.topic-pill-link:focus-visible {
  outline: 2px solid rgba(124, 177, 217, 0.9);
  outline-offset: 2px;
}

span.pill,
span.topic-pill {
  opacity: 0.92;
}

/* Solution chips: clickable but clean (no underline/arrow text link look) */
body.solution-page a.topic-pill-link,
body.solution-page a.pill-link {
  text-decoration: none;
  cursor: pointer;
}

body.solution-page a.topic-pill-link::after,
body.solution-page a.pill-link::after {
  content: "";
}

body.solution-page a.topic-pill-link:hover,
body.solution-page a.pill-link:hover,
body.solution-page a.topic-pill-link:focus-visible,
body.solution-page a.pill-link:focus-visible {
  text-decoration: none;
  background: #dff0fb;
  border-color: #7CB1D9;
}

/* P7: Local autocomplete panel styling */
.aa-Autocomplete {
  width: 100%;
}

.aa-Form,
.aa-InputWrapper,
.aa-Input {
  display: none;
}

.aa-Panel {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin-top: 0;
}

.aa-List {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.aa-Item {
  margin: 0;
  padding: 0;
}

.aa-Item .result-link {
  width: 100%;
}

.result-title-link {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.result-title-link:hover,
.result-title-link:focus-visible {
  text-decoration: none;
}

.result-empty {
  color: #4b5563;
}
