.kdsp-hero { display: flex; min-height: 250px; align-items: center; color: #fff; background-image: linear-gradient(90deg, rgba(18,23,26,.88), rgba(18,23,26,.58) 52%, rgba(18,23,26,.12)), var(--kdsp-hero-image); background-position: center 45%; background-size: cover; }
.kdsp-hero-inner { padding-block: 30px; }
.kdsp-hero-kicker, .kdsp-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; color: #a73714; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.kdsp-hero-kicker { color: #fff; }
.kdsp-hero-kicker span, .kdsp-kicker span { width: 24px; height: 2px; background: #e99a25; }
.kdsp-hero h1 { margin: 0; font-size: clamp(42px, 5vw, 58px); font-weight: 850; letter-spacing: -.035em; line-height: 1; }
.bills-hero-accent { color: #e8a54a; }
.kdsp-hero-summary { max-width: 620px; margin: 10px 0 16px; font-size: 17px; font-weight: 500; line-height: 1.45; }
.kdsp-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: rgba(255,255,255,.9); font-size: 12px; }
.kdsp-breadcrumb a { color: inherit; }
.kdsp-documents { padding-block: 26px 30px; background: #fff; }
.kdsp-filter-bar { display: grid; grid-template-columns: minmax(220px, 1fr) 172px 172px 150px; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; background: #fffaf0; }
.kdsp-filter-bar .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); }
.kdsp-search-field { position: relative; min-width: 0; }
.kdsp-search-box, .kdsp-select-box { display: flex; height: 44px; min-width: 0; align-items: center; gap: 11px; padding: 0 13px; border: 1px solid #dedbd3; border-radius: 7px; background: #fff; color: #59616a; box-shadow: 0 1px 3px rgba(20,34,30,.04); }
.kdsp-search-box svg { width: 19px; height: 19px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; }
.kdsp-search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #172033; font-size: 13px; }
.kdsp-search-box input:focus { box-shadow: none; }
.kdsp-search-box input::placeholder { color: #7b8087; opacity: 1; }
.kdsp-suggestions { position: absolute; top: calc(100% + 6px); right: 0; left: 0; z-index: 100; overflow: hidden; border: 1px solid #e5e4df; border-radius: 9px; background: #fff; box-shadow: 0 12px 30px rgba(20,34,30,.16); }
.kdsp-suggestions[hidden] { display: none; }
.kdsp-suggestion-option { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border: 0; border-bottom: 1px solid #eee; background: #fff; color: #172033; text-align: left; cursor: pointer; }
.kdsp-suggestion-option:last-child { border-bottom: 0; }
.kdsp-suggestion-option:hover, .kdsp-suggestion-option:focus-visible { outline: 0; background: #f5f8f6; }
.kdsp-suggestion-copy { display: grid; min-width: 0; gap: 3px; }
.kdsp-suggestion-copy strong { overflow: hidden; font-size: 13px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.kdsp-suggestion-copy small { overflow: hidden; color: #69737e; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.kdsp-suggestion-kind { flex: 0 0 auto; color: #69737e; font-size: 11px; }
.kdsp-select-box { gap: 9px; }
.kdsp-select-box > span { flex: 0 0 auto; font-size: 16px; }
.kdsp-select-box select { width: 100%; min-width: 0; appearance: none; border: 0; outline: 0; background: transparent; color: #505762; font-size: 13px; }
.kdsp-apply-filter { display: inline-flex; height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; border: 0; border-radius: 7px; background: #07543f; color: #fff; font-size: 13px; font-weight: 800; cursor: pointer; transition: background .18s ease, transform .18s ease; }
.kdsp-apply-filter:hover { transform: translateY(-1px); background: #043f30; }
.kdsp-apply-filter svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kdsp-results-meta { display: flex; justify-content: space-between; gap: 12px; padding: 14px 5px 11px; color: #66717a; font-size: 12px; }
.kdsp-results-meta a { color: #07543f; font-weight: 700; }
.kdsp-document-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.kdsp-document-card { display: flex; min-width: 0; flex-direction: column; justify-content: space-between; gap: 14px; padding: 16px; border: 1px solid #ecebe7; border-radius: 9px; background: #fff; box-shadow: 0 3px 12px rgba(20,34,30,.045); }
.kdsp-document-info { display: flex; min-width: 0; align-items: flex-start; gap: 14px; }
.kdsp-pdf-icon { position: relative; display: flex; width: 44px; height: 60px; flex: 0 0 44px; align-items: flex-end; justify-content: center; overflow: hidden; border: 1px solid #e7e5df; border-radius: 4px; background: linear-gradient(135deg, #f0efe9 0 18%, #fff 18% 100%); }
.kdsp-pdf-icon::before { position: absolute; top: 8px; left: 9px; width: 24px; height: 29px; border: 2px solid #e43e3e; border-top: 0; border-radius: 50% 50% 42% 42%; content: ''; transform: rotate(-38deg) scale(.72); }
.kdsp-pdf-icon span { z-index: 1; width: 100%; padding: 2px 0; background: #e54545; color: #fff; font-size: 11px; font-weight: 800; text-align: center; }
.kdsp-document-heading { min-width: 0; padding-top: 4px; }
.kdsp-document-heading h2 { display: -webkit-box; overflow: hidden; margin: 0; color: #151b27; font-size: 14px; font-weight: 800; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.kdsp-document-heading p { display: -webkit-box; overflow: hidden; margin: 5px 0 0; color: #6d747d; font-size: 11px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.kdsp-document-meta { display: flex; flex-wrap: wrap; gap: 15px; color: #68717c; font-size: 11px; }
.kdsp-document-meta span { display: inline-flex; align-items: center; gap: 5px; }
.kdsp-document-meta svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kdsp-document-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kdsp-document-actions a, .kdsp-document-actions button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 7px; border: 1px solid #e4e1d8; border-radius: 6px; font-family: inherit; font-size: 12px; font-weight: 800; text-decoration: none; cursor: pointer; transition: filter .18s ease, transform .18s ease; }
.kdsp-document-actions a:hover, .kdsp-document-actions button:hover { filter: brightness(.96); transform: translateY(-1px); }
.kdsp-document-actions svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kdsp-preview-link { background: #fffaf0; color: #07543f; }
.kdsp-document-actions .kdsp-preview-button { padding-inline: 12px; }
.kdsp-preview-link svg { fill: currentColor; stroke: #fffaf0; }
.kdsp-download-link { border-color: #8e2e0f !important; background: #9d310e; color: #fff; }
.kdsp-pagination { display: flex; justify-content: center; margin-top: 20px; }
.kdsp-pagination-nav { display: grid; justify-items: center; gap: 10px; width: 100%; }
.kdsp-pagination-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
.kdsp-page-numbers { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; }
.kdsp-page-link, .kdsp-page-number { display: inline-flex; min-width: 38px; min-height: 38px; align-items: center; justify-content: center; gap: 6px; padding: 0 11px; border: 1px solid #e3e5e1; border-radius: 7px; background: #fff; color: #174d3c; font-size: 13px; font-weight: 700; line-height: 1; text-decoration: none; }
.kdsp-page-link:hover, .kdsp-page-number:hover { border-color: #07543f; background: #f2f8f4; }
.kdsp-page-number.is-current { border-color: #07543f; background: #07543f; color: #fff; }
.kdsp-page-link.is-disabled { background: #f6f6f3; color: #a0a6a2; }
.kdsp-page-ellipsis { padding: 0 4px; color: #68717c; }
.kdsp-pagination-summary { margin: 0; color: #68717c; font-size: 12px; }
.kdsp-pagination-summary strong { color: #34423b; font-weight: 700; }
.kdsp-empty-state { display: grid; justify-items: center; padding: 38px 20px; border: 1px dashed #d8d5cb; border-radius: 12px; background: #fffdf8; text-align: center; }
.kdsp-empty-state h2 { margin: 13px 0 4px; color: #064e3b; font-size: 18px; font-weight: 800; }
.kdsp-empty-state p { margin: 0; color: #68717c; font-size: 13px; }
.kdsp-about { padding-block: 36px 42px; background: linear-gradient(90deg, #fffaf0 0%, #fffaf0 44%, #f7f7f1 70%, #e5eee5 100%); }
.kdsp-about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: clamp(30px, 5vw, 64px); }
.kdsp-about-copy h2 { max-width: 570px; margin: 0 0 9px; color: #064e3b; font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -.025em; line-height: 1.13; }
.kdsp-about-lead { max-width: 640px; margin: 0 0 10px; color: #46515c; font-size: 15px; line-height: 1.6; }
.kdsp-about-body { color: #46515c; font-size: 14px; line-height: 1.65; }
.kdsp-about-body p { margin: 0 0 8px; }
.kdsp-about-body p:last-child { margin-bottom: 0; }
.kdsp-about-body a { color: #07543f; text-decoration: underline; }
.kdsp-about-image-wrap { position: relative; min-height: 235px; }
.kdsp-about-image-wrap img { position: relative; z-index: 1; display: block; width: 100%; height: 255px; border-radius: 12px; object-fit: cover; object-position: center; box-shadow: 0 8px 24px rgba(20,34,30,.15); }
.kdsp-image-accent { position: absolute; top: 18px; right: -13px; width: 13px; height: 78%; border-radius: 0 10px 10px 0; background: linear-gradient(#0b7654 0 58%, #f3ad19 58% 76%, #a73714 76%); }
.kdsp-preview-modal { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(10,20,16,.78); }
.kdsp-preview-modal.is-open { display: flex; }
.kdsp-preview-dialog { display: flex; width: min(100%, 1000px); height: min(90vh, 850px); flex-direction: column; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.kdsp-preview-header { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; border-bottom: 1px solid #e8e9e7; background: #fff; }
.kdsp-preview-header h2 { margin: 0; color: #173b30; font-size: 17px; font-weight: 800; line-height: 1.35; }
.kdsp-preview-close { flex: 0 0 auto; padding: 9px 13px; border: 0; border-radius: 6px; background: #842a0a; color: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.kdsp-preview-close:hover { background: #5a1c08; }
.kdsp-preview-frame { width: 100%; min-height: 0; flex: 1; border: 0; background: #f5f5f5; }
body.kdsp-preview-open { overflow: hidden; }
@media (max-width: 900px) {
    .kdsp-filter-bar { grid-template-columns: minmax(180px, 1fr) 150px 165px; }
    .kdsp-apply-filter { grid-column: 1 / -1; }
    .kdsp-document-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .kdsp-hero { min-height: 245px; background-position: 58% center; }
    .kdsp-hero-inner { padding-block: 26px; }
    .kdsp-hero-summary { font-size: 14px; }
    .kdsp-desktop-break { display: none; }
    .kdsp-documents { padding-block: 18px 25px; }
    .kdsp-filter-bar { grid-template-columns: 1fr 1fr; gap: 9px; padding: 12px; }
    .kdsp-search-field { grid-column: 1 / -1; }
    .kdsp-select-box { padding-inline: 9px; }
    .kdsp-apply-filter { grid-column: 1 / -1; }
    .kdsp-results-meta { padding-inline: 1px; }
    .kdsp-document-grid { grid-template-columns: 1fr; gap: 10px; }
    .kdsp-document-card { padding: 14px; }
    .kdsp-about { padding-block: 27px 32px; }
    .kdsp-about-grid { grid-template-columns: 1fr; gap: 20px; }
    .kdsp-about-image-wrap img { height: auto; max-height: 280px; }
    .kdsp-image-accent { right: -8px; width: 8px; }
    .kdsp-preview-modal { padding: 8px; }
    .kdsp-preview-dialog { height: 94vh; }
    .kdsp-preview-header { min-height: 60px; padding: 11px 12px; }
    .kdsp-preview-header h2 { font-size: 15px; }
    .kdsp-preview-close { padding: 8px 10px; }
}
