.brand-mark { object-fit: contain; flex-shrink: 0; }
.dark .brand-mark { background: #fff; border-radius: 6px; padding: 2px; }
section[id], .prose h2[id], .prose h3[id] { scroll-margin-top: 88px; }
.kk-recommended { display: inline-flex; align-items: center; padding: 4px 16px; border-radius: 999px; font-size: 12px; line-height: 16px; letter-spacing: .025em; font-weight: 700; background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; box-shadow: 0 1px 2px #0000000d; }
.dark .kk-recommended { color: #93c5fd; background: #1e3a8a4d; border-color: #1e40af; }
.kk-empty { padding: 64px 24px; width: 100%; grid-column: 1/-1; }
.kk-empty h1, .kk-empty h2 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.kk-empty p { color: #64748b; line-height: 1.8; }
.dark .kk-empty p { color: #94a3b8; }
.kk-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.kk-pagination a, .kk-pagination span { display: inline-flex; justify-content: center; align-items: center; min-width: 40px; min-height: 40px; padding: 8px 16px; border-radius: 999px; font-size: 14px; }
.kk-pagination a { border: 1px solid #e2e8f0; color: #334155; background: #fff; }
.dark .kk-pagination a { border-color: #334155; color: #e2e8f0; background: #0f172a; }
.kk-pagination [aria-current] { color: white; background: #2563eb; }
.kk-pagination a:hover { color: #2563eb; border-color: #93c5fd; }
.kk-blog-cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.kk-toc { display: flex; flex-direction: column; gap: 12px; font-size: 13px; color: #64748b; }
.kk-author-logo { width: 44px; height: 44px; display: block; margin-bottom: 16px; }
.kk-contact-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); gap: 32px; max-width: 1100px; margin: auto; align-items: start; }
.kk-contact-layout h2 { font-size: 24px; line-height: 1.4; font-weight: 700; margin: 0 0 24px; }
.kk-contact-layout p { color: #64748b; line-height: 1.8; margin: 0 0 16px; }
.dark .kk-contact-layout p { color: #94a3b8; }
.kk-contact-layout label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; margin-bottom: 20px; }
.kk-contact-layout input, .kk-contact-layout textarea, .kk-contact-layout select { display: block; width: 100%; padding: 12px 16px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: #0f172a; font-size: 15px; }
.dark .kk-contact-layout input, .dark .kk-contact-layout textarea, .dark .kk-contact-layout select { background: #0f172a; border-color: #334155; color: #e2e8f0; }
.kk-contact-layout :is(input,textarea,select):focus-visible { outline: 2px solid #3b82f6; outline-offset: 2px; }
.kk-contact-layout label.kk-honeypot { position: absolute; left: -9999px; height: 1px; overflow: hidden; }
.kk-submit { background: #2563eb; color: white; padding: 12px 24px; border-radius: 12px; font-size: 15px; font-weight: 600; cursor: pointer; }
.kk-submit:hover { background: #1d4ed8; }
.kk-submit:disabled { cursor: wait; opacity: .6; }
.kk-search-result { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 10px; color: #0f172a; }
.kk-search-result strong { font-size: 14px; line-height: 1.5; }
.kk-search-result span { font-size: 12px; line-height: 1.6; color: #64748b; }
.kk-search-result:hover, .kk-search-result:focus, .kk-search-result.is-selected { background: #eff6ff; outline: none; }
.dark .kk-search-result { color: #e2e8f0; }
.dark .kk-search-result span { color: #94a3b8; }
.dark .kk-search-result:hover, .dark .kk-search-result:focus, .dark .kk-search-result.is-selected { background: #1e293b; }
@media (max-width: 767px) { .kk-contact-layout { grid-template-columns: minmax(0,1fr); gap: 24px; } }
@media (prefers-reduced-motion: reduce) { .reveal-on-scroll { opacity: 1!important; transform: none!important; } }
