/* ploti.co.ke/support: help and support. On top of styles.css and theme.css. */
.doc { max-width: 880px; }
.sp-ic { width: 20px; height: 20px; flex: none; }
.sp-search { display: flex; align-items: center; gap: 10px; border: 1px solid var(--control, #C3CCC1); background: var(--surface, #fff); border-radius: 14px; padding: 0 16px; margin: 22px 0 18px; color: var(--muted, #5B6A60); }
.sp-search:focus-within { border-color: var(--green, #1D6B43); box-shadow: 0 0 0 3px rgba(29,107,67,.16); }
.sp-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 400 16px var(--font-body, inherit); color: var(--ink, #14211A); padding: 15px 0; }
.sp-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sp-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink, #14211A); border: 1px solid var(--line, #DCE1DA); background: var(--surface, #fff); border-radius: 16px; padding: 18px; }
.sp-card:hover { border-color: var(--green, #1D6B43); }
.sp-card .sp-ic { width: 26px; height: 26px; color: var(--title, #1D6B43); }
.sp-card b { font-weight: 500; font-size: 17px; }
.sp-card span { font-size: 14.5px; line-height: 1.5; color: var(--muted, #5B6A60); flex: 1; }
.sp-card i { align-self: flex-start; font-style: normal; font-weight: 500; font-size: 14px; line-height: 1.2; color: var(--title, #1D6B43); margin-top: 12px; padding: 10px 16px; border: 1.5px solid currentColor; border-radius: 10px; white-space: nowrap; transition: background-color .15s ease, color .15s ease; }
.sp-card:hover i, .sp-card:focus-visible i { background: var(--title, #1D6B43); color: var(--surface, #fff); }
.sp-card.main { background: #0F4A2C; border-color: #0F4A2C; color: #fff; }
.sp-card.main .sp-ic, .sp-card.main i { color: #F3B77D; }
.sp-card.main span { color: #C9DBCF; }
.sp-card.main:hover i, .sp-card.main:focus-visible i { background: #F3B77D; color: #0F4A2C; }
.sp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0; }
.sp-chip { font: 500 14px var(--font-body, inherit); border: 1px solid var(--line, #DCE1DA); background: var(--surface, #fff); color: var(--ink-2, #33433A); border-radius: 999px; padding: 8px 13px; cursor: pointer; }
.sp-chip.on { background: var(--ink, #14211A); border-color: var(--ink, #14211A); color: var(--surface, #fff); }
.doc .sp-count { font-size: 13.5px; color: var(--muted, #5B6A60); min-height: 20px; margin: 6px 0 0; }
.sp-group h3 { display: flex; align-items: center; gap: 9px; font: 500 15px var(--font-body, inherit); color: var(--title, #1D6B43); margin: 22px 0 8px; }
.sp-q { border: 1px solid var(--line, #DCE1DA); background: var(--surface, #fff); border-radius: 14px; box-shadow: none; margin-bottom: 8px; }
/* The site's own summary mark (its round plus that turns) is kept; only the size and face change. */
.sp-q summary { padding: 15px 58px 15px 18px; font: 500 16.5px/1.4 var(--font-body, inherit); letter-spacing: 0; }
.sp-q summary::after { right: 18px; }
.sp-a { padding: 0 18px 12px; }
.doc .sp-a p { padding: 0; margin: 0 0 8px; font-size: 15.5px; }
.doc .sp-a li { font-size: 15.5px; }
.sp-q mark { background: #F6DDB6; color: #14211A; border-radius: 3px; }
.sp-none { border: 1px dashed var(--control, #C3CCC1); border-radius: 14px; padding: 18px; margin-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.sp-help { margin-top: 10px; }
@media (max-width: 700px) { .sp-cards { grid-template-columns: minmax(0, 1fr); } }

/* The urgent cases, one tap from the answer. */
.sp-urgent { margin: 28px 0 4px; border: 1px solid #E7C9A6; background: #FBF0E4; border-radius: 16px; padding: 18px 20px 12px; }
.doc .sp-urgent h2 { margin: 0; }
.doc .sp-urgent p { margin: 4px 0 12px; font-size: 15px; }
.doc .sp-urgent ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.doc .sp-urgent li { margin: 0; }
.sp-urgent a { display: flex; justify-content: space-between; gap: 10px; align-items: center; height: 100%; text-decoration: none; background: var(--surface, #fff); border: 1px solid var(--line, #DCE1DA); border-radius: 12px; padding: 11px 14px; color: var(--ink, #14211A); font-weight: 500; font-size: 15px; }
.sp-urgent a::after { content: "›"; font-size: 20px; line-height: 1; color: #A8500F; }
.sp-urgent a:hover { border-color: #A8500F; }
:root[data-theme="dark"] .sp-urgent { border-color: #4A3A26; background: #261E14; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sp-urgent { border-color: #4A3A26; background: #261E14; } }
.sp-q { scroll-margin-top: 84px; }
.doc .sp-a ul, .doc .sp-a ol { margin: 0 0 8px; padding-left: 20px; }
/* Stronger than ".doc .sp-a p", which takes the padding off ordinary paragraphs. */
.doc .sp-a p.note { padding: 12px 14px; margin: 4px 0 8px; font-size: 14.5px; }
@media (max-width: 600px) { .doc .sp-urgent ul { grid-template-columns: minmax(0, 1fr); } }

/* Back to top: a round button in the corner, clear of the phone's home bar. */
.sp-top { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 20; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #0F4A2C; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 24px rgba(20, 33, 26, .28); }
.sp-top[hidden] { display: none; }
.sp-top:hover { background: #1D6B43; }
.sp-top:focus-visible { outline: 3px solid #E08A2E; outline-offset: 2px; }
.sp-top svg { width: 22px; height: 22px; }
:root[data-theme="dark"] .sp-top { box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 8px 24px rgba(0, 0, 0, .5); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sp-top { box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 8px 24px rgba(0, 0, 0, .5); } }
@media print { .sp-top { display: none; } }

/* The plus turns with the answer as it slides; on the way shut it turns back at once. */
.sp-q summary::after { transition: transform .28s cubic-bezier(.25, .8, .25, 1), background-color .28s ease; }
.sp-q.sp-closing summary::after { transform: none; background-color: var(--ground); }
@media (prefers-reduced-motion: reduce) { .sp-q summary::after { transition: none; } }
