/* Kliper guides: readable article layouts using the existing crimson brand. */
.guide-page { color: #f4f4f5; background: var(--bg, #030303); line-height: 1.65; }
.guide-page *, .guide-page *::before, .guide-page *::after { box-sizing: border-box; }
.guide-page a:focus-visible, .guide-page button:focus-visible { outline: 3px solid #ff8da3; outline-offset: 5px; border-radius: 3px; }
.guide-skip { position: fixed; left: 16px; top: 12px; z-index: 100; padding: 12px 18px; background: #fff; color: #161616; border-radius: 8px; transform: translateY(-180%); font-weight: 700; }
.guide-skip:focus { transform: none; }
.guide-site-header { position: sticky; top: 0; z-index: 20; background: #080808f2; border-bottom: 1px solid #272326; backdrop-filter: blur(14px); }
.guide-header-inner { width: min(1160px, calc(100% - 48px)); min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 auto; }
.guide-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 750; font-size: 22px; letter-spacing: -.6px; }
.guide-brand img { width: 36px; height: 36px; object-fit: contain; }
.guide-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
.guide-nav > a:not(.guide-download) { padding: 9px 0; color: #c6c2c5; }
.guide-nav > a:hover, .guide-nav > a[aria-current="page"] { color: #fff; }
.guide-nav > a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent, #dc143c); text-decoration-thickness: 2px; text-underline-offset: 9px; }
.guide-download { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 21px; background: var(--accent, #dc143c); color: #fff; border: 1px solid #ed4164; border-radius: 10px; font-size: 14px; font-weight: 700; text-align: center; white-space: nowrap; }
.guide-download:hover { background: #bd1032; }
.guide-main { width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding: 34px 0 88px; }
.guide-main:focus { outline: none; }
.guide-breadcrumbs { margin-bottom: 46px; color: #b7adb4; font-size: 12px; }
.guide-breadcrumbs ol { display: flex; align-items: center; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: 10px; }
.guide-breadcrumbs li + li::before { content: "/"; display: inline-block; padding-right: 10px; color: #71626c; }
.guide-breadcrumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.guide-eyebrow { margin: 0 0 16px; color: #f093a7; font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.guide-article-header { max-width: 880px; }
.guide-article-header h1, .guide-index-header h1 { margin: 0 0 24px; font-size: clamp(34px, 4.8vw, 58px); line-height: 1.13; font-weight: 750; letter-spacing: -.055em; text-wrap: balance; }
.guide-deck { max-width: 700px; margin: 0 0 24px; color: #bdb5bb; font-size: 18px; line-height: 1.75; }
.guide-byline { margin: 0; color: #b4a9b1; font-size: 12px; }
.guide-release-note { max-width: 880px; margin: 34px 0 48px; padding: 18px 22px; background: #191115; border: 1px solid #59303b; border-left: 3px solid var(--accent, #dc143c); border-radius: 0 10px 10px 0; color: #d0bcc3; }
.guide-release-note strong { color: #ffd1dc; font-size: 13px; }
.guide-release-note p { margin: 6px 0 0; font-size: 12px; line-height: 1.8; }
.guide-layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 64px; align-items: start; }
.guide-contents { position: sticky; top: 120px; max-height: calc(100vh - 160px); overflow: auto; padding: 0 18px 0 0; border-right: 1px solid #34292f; scrollbar-width: thin; }
.guide-contents h2 { margin: 0 0 16px; color: #f4dbe3; font-weight: 650; font-size: 13px; }
.guide-contents ol { display: flex; flex-direction: column; gap: 4px; padding: 0; margin: 0; list-style: none; }
.guide-contents a { display: block; padding: 7px 0; color: #baaeb6; font-size: 12px; line-height: 1.7; }
.guide-contents a:hover { color: #ffa6bb; }
.guide-prose { max-width: 730px; font-size: 16px; color: #d1cbd0; overflow-wrap: anywhere; }
.guide-prose > p { margin: 0 0 24px; line-height: 1.95; }
.guide-prose > p:first-child { color: #eee7ed; font-size: 18px; line-height: 1.85; }
.guide-prose h2 { margin: 48px 0 19px; color: #faf7f9; font-size: clamp(23px, 2.2vw, 28px); line-height: 1.35; font-weight: 700; letter-spacing: -.035em; scroll-margin-top: 120px; text-wrap: balance; }
.guide-prose h2:first-child { margin-top: 0; }
.guide-prose a { color: #ff9cb2; text-decoration: underline; text-decoration-color: #995166; text-underline-offset: 4px; }
.guide-prose a:hover { color: #ffd1dc; text-decoration-color: currentColor; }
.guide-related { margin: 72px 0 0 312px; padding-top: 36px; border-top: 1px solid #34252d; }
.guide-related > h2 { margin: 0 0 22px; font-size: 24px; font-weight: 700; letter-spacing: -.5px; }
.guide-related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.guide-related-grid > a { display: block; padding: 22px; background: #100d10; border: 1px solid #35272e; border-radius: 12px; }
.guide-related-grid > a:hover { border-color: #b13b59; }
.guide-related-grid span { color: #e48a9f; font-size: 10px; font-weight: 650; text-transform: uppercase; letter-spacing: 1px; }
.guide-related-grid h3 { margin: 10px 0; font-size: 16px; font-weight: 650; line-height: 1.5; }
.guide-related-grid p { margin: 0; color: #b8adb4; font-size: 12px; line-height: 1.8; }
.guide-cta { display: flex; align-items: center; justify-content: space-between; gap: 36px; margin-top: 70px; padding: 34px 36px; border: 1px solid #492b36; border-radius: 16px; background: linear-gradient(120deg, #1e1016, #100b0e); }
.guide-cta h2 { margin: 0 0 10px; color: #fff0f5; font-size: 24px; font-weight: 700; letter-spacing: -.7px; }
.guide-cta p { max-width: 650px; margin: 0; color: #c9b7c0; font-size: 13px; line-height: 1.9; }
.guide-site-footer { border-top: 1px solid #30242b; background: #080608; }
.guide-footer-inner { width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding: 34px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.guide-footer-inner p { margin: 0; max-width: 470px; color: #b2a5ae; font-size: 11px; }
.guide-footer-inner nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 11px; color: #c3b5be; }
.guide-footer-inner button { background: transparent; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.guide-footer-inner a:hover, .guide-footer-inner button:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.guide-index-header { max-width: 800px; margin: 0 0 32px; }
.guide-index-header h1 { font-size: clamp(37px, 5.4vw, 67px); }
.guide-index-header > p:last-child { max-width: 680px; color: #bfb3bb; font-size: 17px; line-height: 1.9; }
.guide-index .guide-release-note { max-width: none; margin: 30px 0; }
.guide-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.guide-card { display: flex; flex-direction: column; padding: 28px; background: #110c10; border: 1px solid #3c2932; border-radius: 16px; }
.guide-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.guide-card-top .guide-eyebrow { margin: 0; }
.guide-card-number { color: #b77b8f; font-family: monospace; font-size: 12px; }
.guide-card h2 { margin: 0 0 18px; font-size: 24px; line-height: 1.4; font-weight: 650; letter-spacing: -.8px; }
.guide-card h2 a:hover { color: #ffa4b9; }
.guide-card > p { flex: 1; margin: 0 0 30px; font-size: 13px; line-height: 1.95; color: #c0b0ba; }
.guide-card-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; justify-content: space-between; border-top: 1px solid #3c2b34; padding-top: 18px; }
.guide-card-bottom time { color: #b6a4ae; font-size: 10px; }
.guide-card-bottom a { color: #ffadc1; font-size: 11px; font-weight: 650; }
.guide-card-bottom a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 980px) {
  .guide-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 36px; }
  .guide-related { margin-left: 246px; }
  .guide-cards { grid-template-columns: 1fr; }
  .guide-card { padding: 28px 30px; }
  .guide-card > p { max-width: 650px; margin-bottom: 22px; }
  .guide-card h2 { max-width: 680px; }
}
@media (max-width: 760px) {
  .guide-header-inner { min-height: 76px; }
  .guide-nav { gap: 18px; font-size: 12px; }
  .guide-layout { display: block; }
  .guide-contents { position: static; max-height: none; border: 1px solid #3b2a32; background: #100c0f; border-radius: 12px; padding: 20px 24px; margin-bottom: 34px; }
  .guide-contents ol { gap: 0; }
  .guide-contents a { font-size: 13px; padding: 7px 0; }
  .guide-prose { max-width: none; }
  .guide-related { margin-left: 0; margin-top: 50px; }
  .guide-related-grid { gap: 12px; }
  .guide-cta { flex-direction: column; align-items: flex-start; gap: 24px; padding: 28px; }
  .guide-footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 460px) {
  .guide-main, .guide-header-inner, .guide-footer-inner { width: calc(100% - 32px); }
  .guide-main { padding-top: 26px; padding-bottom: 56px; }
  .guide-brand { font-size: 18px; gap: 8px; }
  .guide-brand img { width: 30px; height: 30px; }
  .guide-header-inner { gap: 12px; }
  .guide-nav { gap: 10px; }
  .guide-download { min-height: 42px; font-size: 12px; padding: 10px 14px; }
  .guide-breadcrumbs { margin-bottom: 32px; font-size: 11px; }
  .guide-article-header h1 { font-size: 34px; }
  .guide-deck { font-size: 16px; }
  .guide-release-note { padding: 16px 18px; margin: 28px 0 34px; }
  .guide-prose { font-size: 16px; }
  .guide-prose > p { line-height: 1.9; }
  .guide-prose h2 { margin-top: 38px; }
  .guide-related-grid { grid-template-columns: 1fr; }
  .guide-card { padding: 24px; }
  .guide-card h2 { font-size: 22px; }
  .guide-cta { padding: 24px; }
  .guide-cta h2 { font-size: 22px; }
  .guide-footer-inner nav { row-gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .guide-page { scroll-behavior: auto; }
  .guide-page *, .guide-page *::before, .guide-page *::after { scroll-behavior: auto; animation: none !important; transition: none !important; }
}
@media print {
  .guide-page { color: #111; background: white; }
  .guide-site-header, .guide-site-footer, .guide-contents, .guide-related, .guide-cta, .guide-skip { display: none; }
  .guide-main { width: 100%; padding: 0; }
  .guide-layout { display: block; }
  .guide-prose { max-width: 100%; color: #222; }
  .guide-article-header h1, .guide-prose h2, .guide-prose > p:first-child { color: #111; }
  .guide-deck, .guide-byline, .guide-breadcrumbs { color: #333; }
  .guide-release-note { background: white; color: #333; border-color: #777; }
  .guide-release-note strong { color: #111; }
  .guide-prose a { color: #111; text-decoration-color: #777; }
  .guide-prose h2 { break-after: avoid; }
}

.article-reader { max-width: 880px; margin: 30px 0 44px; padding: 21px 24px; border: 1px solid #60404d; border-radius: 14px; background: #1b1117; }.reader-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 18px; }.reader-heading > span:first-child { font-weight: 650; font-size: 15px; }.reader-heading [role=status] { color: #c9b7c0; font-size: 12px; }.reader-controls { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }.reader-controls > button { min-height: 40px; padding: 9px 17px; border: 1px solid #824054; background: #3b1a28; color: white; border-radius: 7px; font-size: 13px; font-weight: 600; cursor: pointer; }.reader-controls > button:first-child { background: #c3143b; border-color: #ee647f; min-width: 105px; }.reader-controls > button:disabled { opacity: .45; cursor: default; }.reader-controls label { display: grid; gap: 3px; color: #c8b3bd; font-size: 11px; }.reader-controls select { min-height: 40px; border: 1px solid #5a3948; background: #20121a; color: #ffe7ee; border-radius: 7px; padding: 8px 28px 8px 10px; max-width: 300px; font-size: 12px; }.reader-voice { flex: 1; min-width: 150px; }.reader-voice select { width: 100%; }.article-reader progress { display: block; margin-top: 16px; width: 100%; height: 3px; accent-color: #ee6d8a; }.reader-current { background: #3e1d2d; outline: 7px solid #3e1d2d; border-radius: 2px; }
.guide-prose table { width: 100%; border-collapse: collapse; margin: 22px 0 32px; font-size: 14px; line-height: 1.7; }.guide-prose th, .guide-prose td { border: 1px solid #53313f; padding: 14px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }.guide-prose th { background: #2b1720; color: #ffe5ef; font-weight: 650; }.guide-prose > ul, .guide-prose > ol { padding-left: 22px; margin: 0 0 26px; }.guide-prose > ul { list-style: disc; }.guide-prose > ol { list-style: decimal; }.guide-prose li { padding-left: 6px; margin: 10px 0; line-height: 1.9; }.guide-prose h3 { color: #f9e9f1; font-size: 20px; font-weight: 650; margin: 26px 0 12px; }.guide-sources { margin-top: 42px; padding-top: 24px; border-top: 1px solid #53313f; font-size: 13px; }.guide-sources li { margin: 9px 0; }.guide-sources h2 { margin-top: 0; }.guide-prose .comparison-note { padding: 18px 20px; border-left: 2px solid #d43c60; background: #1a1117; color: #cbbbc4; font-size: 13px; }
.guide-filter-bar { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin: 32px 0 20px; }.guide-filter-bar input { flex: 1; min-width: 220px; min-height: 46px; padding: 11px 15px; background: #1b1017; border: 1px solid #664050; border-radius: 8px; color: #fff; }.guide-filter-buttons { display: flex; gap: 6px; flex-wrap: wrap; }.guide-filter-buttons button { min-height: 43px; border: 1px solid #593642; border-radius: 8px; padding: 9px 16px; color: #c5b2bd; background: #170d14; cursor: pointer; font-size: 13px; }.guide-filter-buttons button[aria-pressed=true] { color: #fff; border-color: #d44c6c; background: #502033; }.guide-card[hidden], .guide-empty[hidden] { display: none; }.guide-count { color: #b7a5af; font-size: 12px; }.guide-empty { padding: 45px 0; color: #d8bfcc; }
@media (max-width: 540px) { .article-reader { padding: 19px 18px; }.reader-controls { gap: 8px; }.reader-voice { flex-basis: 100%; margin-top: 5px; }.reader-voice select { max-width: none; }.guide-prose th, .guide-prose td { padding: 10px 9px; font-size: 12px; }.guide-filter-bar input { min-width: 0; flex-basis: 100%; }.guide-filter-buttons { width: 100%; }.guide-filter-buttons button { flex: 1; } }
@media print { .article-reader, .guide-filter-bar { display: none; }.reader-current { outline: none; background: transparent; } }

.guide-prose { min-width: 0; }.guide-table-scroll { width: 100%; max-width: 100%; overflow-x: auto; margin: 22px 0 32px; border-radius: 8px; scrollbar-color: #b84365 #25151e; }.guide-table-scroll:focus-visible { outline: 2px solid #ff9fb9; outline-offset: 5px; }.guide-table-scroll table { min-width: 550px; margin: 0; }.guide-table-scroll caption { caption-side: top; text-align: left; color: #c6acba; font-size: 12px; padding: 0 0 12px; }.guide-prose th[scope=row] { background: #20141c; font-size: 13px; }
.guide-sources summary { width: fit-content; cursor: pointer; color: #c3adb8; font-size: 13px; line-height: 1.7; }.guide-sources summary:focus-visible, .source-ref:focus-visible { outline: 2px solid #ff9fb9; outline-offset: 4px; border-radius: 2px; }.guide-sources[open] summary { margin-bottom: 16px; }.guide-sources ol { list-style: decimal; padding-left: 22px; }.guide-sources li:target { background: #3e1d2d; outline: 5px solid #3e1d2d; }.guide-prose .source-ref { display: inline-block; font-size: 11px; line-height: 1.5; vertical-align: super; color: #c6a9b8; text-decoration: none; }
