/* Specially abled profiles page (Nov 2026). Loaded after css/kv-search.css, which supplies the colours (--kv-*) and the result card (.kvc).
   Everything here is scoped to html[data-kv-sa] or .kvsa so no other page changes. */

/* ---- sticky header: the whole public header bar stays at the top; a soft shadow appears once the page has scrolled ---- */
/* css/slidebars.css puts translate(0) + backface-visibility:hidden + a transform transition on .sb-slide; Safari/iOS (and some in-app browsers) then stop treating it as sticky, so they are switched off here */
html[data-kv-sa] .sb-slide.fixed-top { position: -webkit-sticky; position: sticky; top: 0; z-index: 1030; background: #fff; height: auto; width: 100%;
    -webkit-transform: none; transform: none; -webkit-backface-visibility: visible; backface-visibility: visible; -webkit-transition: box-shadow .2s ease; transition: box-shadow .2s ease; }
html[data-kv-sa] .sb-slide.fixed-top.is-stuck { box-shadow: 0 2px 14px rgba(16, 24, 40, .14); }
html[data-kv-sa] .kv-header.kvm-header { position: -webkit-sticky; position: sticky; top: 0; z-index: 1030; transition: box-shadow .2s ease; }
html[data-kv-sa] .kv-header.kvm-header.is-stuck { box-shadow: 0 2px 14px rgba(16, 24, 40, .14); }
html[data-kv-sa] .kv-header { position: relative; background: #fff; }

/* ---- page ---- */
.kvsa { max-width: 1140px; margin: 0 auto; font-family: 'Mukta', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--kv-text); }
.kvsa-head { margin: 4px 0 14px; }
.kvsa-title { margin: 0 0 6px; color: var(--kv-ink); font-size: 28px; line-height: 1.2; font-weight: 800; letter-spacing: 0; text-transform: none; }
.kvsa-lead { margin: 0; max-width: 760px; color: var(--kv-muted); font-size: 15.5px; line-height: 1.55; }

.kvsa-filters { padding: 12px 16px; margin: 0 0 12px; background: var(--kv-card); border: 1px solid var(--kv-line); border-radius: var(--kv-radius); }
.kvsa-form { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: flex-end; margin: 0; }
.kvsa-group { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kvsa-label { margin: 0; color: var(--kv-muted); font-size: 11px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; white-space: nowrap; }
.kvsa-select { -webkit-appearance: none; -moz-appearance: none; appearance: none; min-width: 190px; max-width: 100%; min-height: 44px; margin: 0; padding: 8px 38px 8px 14px; border: 1px solid var(--kv-line); border-radius: 10px;
    background: var(--kv-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px 16px;
    color: var(--kv-text); font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1.2; cursor: pointer; transition: border-color .15s ease; }
.kvsa-select:hover, .kvsa-select:focus { border-color: var(--kv-accent); outline: none; }
.kvsa-select:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; }
.kvsa-btn { min-height: 44px; padding: 8px 20px; border: 1px solid var(--kv-accent); border-radius: 10px; background: var(--kv-accent); color: #fff; font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }

.kvsa-count { margin: 0 0 10px; color: var(--kv-muted); font-size: 14px; min-height: 20px; }
.kvsa-count strong { color: var(--kv-ink); }

.kvsa-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.kvsa-grid .kvc { margin: 0; height: 100%; align-items: start; }
@media (min-width: 992px) { .kvsa-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kvsa-empty { grid-column: 1 / -1; padding: 28px 16px; text-align: center; color: var(--kv-muted); background: var(--kv-card); border: 1px solid var(--kv-line); border-radius: var(--kv-radius); }
.kvsa-empty a { color: var(--kv-accent); font-weight: 600; }

/* disability on the card: the point of this page */
.kvsa-dis { margin: 0 0 2px; padding-right: 34px; }
.kvsa-grid .kvc-line { white-space: normal; }
.kvsa-pill { display: inline-block; max-width: 100%; padding: 3px 10px; border-radius: 999px; background: var(--kv-accent-soft); color: var(--kv-accent-dark); font-size: 12px; font-weight: 700; line-height: 1.3;
    letter-spacing: .1px; white-space: normal; vertical-align: top; }

/* indexable text under the cards */
.kvsa-about { margin: 34px 0 10px; padding: 20px 22px; background: var(--kv-card); border: 1px solid var(--kv-line); border-radius: var(--kv-radius); }
.kvsa-about h2 { margin: 0 0 8px; color: var(--kv-ink); font-size: 18px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.kvsa-about p { margin: 0 0 8px; color: var(--kv-text); font-size: 14.5px; line-height: 1.6; }
.kvsa-about p:last-child { margin-bottom: 0; }
.kvsa-link { color: var(--kv-accent) !important; font-weight: 600; text-decoration: underline; }

/* phones */
@media (max-width: 575px) {
    .kvsa-title { font-size: 23px; }
    .kvsa-lead { font-size: 14.5px; }
    .kvsa-filters { padding: 12px; }
    .kvsa-form { flex-direction: column; align-items: stretch; gap: 12px; }
    .kvsa-select { width: 100%; min-width: 0; }
    .kvsa-btn { width: 100%; }
    .kvsa-about { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { html[data-kv-sa] .sb-slide.fixed-top, .kvsa-select { transition: none; } }
