/* CUB PROTECTOR docs (31 Oct 2026). Same look as the feature pages (.cff). */
.cpd { max-width: 1180px; margin: 0 auto; padding: 0 16px 4rem; color: #a3abb5; }
.cpd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cpd-crumbs { font-family: 'JetBrains Mono', monospace; font-size: .78rem; letter-spacing: .08em; color: #858d98; margin: 1.6rem 0 1rem; }
.cpd-crumbs a { color: #a3abb5; text-decoration: none; } .cpd-crumbs a:hover { color: #ff3b41; }
.cpd-hero { padding: 1.5rem 0 2rem; border-bottom: 1px solid #1c2027; }
.cpd-eyebrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font: 600 .72rem/1.4 'JetBrains Mono', monospace; letter-spacing: .2em; text-transform: uppercase; color: #ff3b41; }
.cpd-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #d10a10; box-shadow: 0 0 10px #d10a10; }
.cpd-eyebrow span + span { color: #858d98; }
.cpd h1 { margin: 14px 0; font: 700 clamp(2.2rem, 5vw, 3.8rem)/.95 'Oswald', 'Space Grotesk', sans-serif; text-transform: uppercase; color: #e8ebef; overflow-wrap: anywhere; }
.cpd h2 { font: 700 1.7rem/1.1 'Oswald', sans-serif; text-transform: uppercase; color: #e8ebef; margin: 2.6rem 0 .8rem; scroll-margin-top: 90px; }
.cpd h3 { color: #e8ebef; margin: 1.4rem 0 .4rem; font-size: 1.1rem; }
.cpd-lead { font-size: 1.12rem; line-height: 1.65; margin: 0 0 1rem; max-width: 72ch; }
.cpd-how { line-height: 1.7; max-width: 72ch; }
.cpd-dim { color: #858d98; }
.cpd-search { position: relative; max-width: 640px; margin: 1.4rem 0; }
.cpd-search input { width: 100%; box-sizing: border-box; padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; border: 1px solid #2a3039; background: #0d0f12; color: #e8ebef; }
.cpd-search input:focus { outline: 2px solid #d10a10; outline-offset: 1px; }
.cpd-results { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: #0d0f12; border: 1px solid #2a3039; border-radius: 12px; max-height: 60vh; overflow: auto; box-shadow: 0 20px 50px rgba(0,0,0,.6); }
.cpd-results a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; }
.cpd-results a:hover, .cpd-results a:focus, .cpd-results li.on a { background: #161a20; }
.cpd-results b { color: #e8ebef; } .cpd-results span { display: block; color: #858d98; font-size: .88rem; }
.cpd-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin-top: 1rem; }
.cpd-card, .cpd-list a { display: block; border: 1px solid #1c2027; border-radius: 12px; background: #0d0f12; padding: 16px; text-decoration: none; transition: border-color .15s, transform .15s; }
.cpd-card:hover, .cpd-list a:hover { border-color: #d10a10; transform: translateY(-2px); }
.cpd-card.hot { border-color: #6b1416; background: linear-gradient(180deg, #1a0d0e, #0d0f12); }
.cpd-card b, .cpd-list b { color: #e8ebef; display: block; margin-bottom: 4px; }
.cpd-card span, .cpd-list span { font-size: .9rem; line-height: 1.45; }
.cpd-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.cpd-sec { margin-bottom: 1.4rem; }
.cpd-steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; max-width: 820px; }
.cpd-steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 62px; border: 1px solid #1c2027; border-radius: 12px; background: #0d0f12; }
.cpd-steps li::before { content: counter(s); position: absolute; left: 16px; top: 12px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 700 1rem 'Oswald', sans-serif; color: #fff; background: #a50f12; }
.cpd-steps b { color: #e8ebef; } .cpd-steps p { margin: 4px 0 0; line-height: 1.55; }
.cpd-steps.big li { padding-top: 18px; padding-bottom: 18px; }
.cpd-cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 1.2rem 0; }
.cpd-cta a { padding: .75rem 1.2rem; border-radius: 10px; font-weight: 700; text-decoration: none; }
.cpd-cta .red { background: linear-gradient(180deg, #d10a10, #a50f12); color: #fff; }
.cpd-cta .ghost { border: 1px solid #2a3039; color: #e8ebef; }
.cpd-facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 .6rem; }
.cpd-facts li { font-size: .85rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid #2a3039; color: #e8ebef; background: #0d0f12; }
.cpd-facts li::before { content: '● '; color: #4bb174; }
.cpd-settings { display: grid; gap: 8px; margin: 0; }
.cpd-settings div { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 14px; padding: 12px 14px; border: 1px solid #1c2027; border-radius: 10px; background: #0d0f12; }
.cpd-settings dt { color: #e8ebef; font-weight: 700; overflow-wrap: anywhere; } .cpd-settings dd { margin: 0; line-height: 1.55; }
.cpd-eg { display: inline-block; font: .85rem 'JetBrains Mono', monospace; color: #ffb3b5; overflow-wrap: anywhere; }
.cpd-cmd { border: 1px solid #1c2027; border-radius: 12px; background: #0d0f12; padding: 4px 16px 14px; margin-bottom: 12px; scroll-margin-top: 90px; }
.cpd-cmd code, .cpd-cmdlist code { font: 700 1rem 'JetBrains Mono', monospace; color: #ff6b6f; }
.cpd-sub { border-top: 1px solid #1c2027; margin-top: 10px; padding-top: 4px; }
.cpd-sub h4 { margin: 10px 0 2px; } .cpd-sub h4 code { font-size: .92rem; color: #ffb3b5; }
.cpd-opts { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: .9rem; display: block; overflow-x: auto; }
.cpd-opts th, .cpd-opts td { text-align: left; padding: 7px 10px; border-bottom: 1px solid #1c2027; vertical-align: top; }
.cpd-opts th { color: #858d98; font-weight: 600; } .cpd-opts td code { font-size: .86rem; color: #ffb3b5; font-weight: 500; }
.cpd-faq details { border: 1px solid #1c2027; border-radius: 12px; background: #0d0f12; margin-bottom: 10px; }
.cpd-faq summary { cursor: pointer; padding: 14px 18px; font-weight: 700; color: #e8ebef; }
.cpd-faq p { margin: 0; padding: 0 18px 16px; line-height: 1.6; }
.cpd-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.cpd-type { border: 1px solid #1c2027; border-radius: 12px; background: #0d0f12; padding: 16px; }
.cpd-type b { color: #e8ebef; display: block; } .cpd-type ul { margin: 8px 0 0; padding-left: 18px; line-height: 1.6; font-size: .92rem; }
.cpd-cmdlist { display: grid; gap: 6px; }
.cpd-cmdlist a { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 10px 14px; border: 1px solid #1c2027; border-radius: 10px; background: #0d0f12; text-decoration: none; }
.cpd-cmdlist a:hover { border-color: #d10a10; } .cpd-cmdlist em { font-style: normal; color: #858d98; font-size: .85rem; }
.cpd-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; align-items: start; }
.cpd-toc { position: sticky; top: 90px; display: grid; gap: 6px; padding: 14px; border: 1px solid #1c2027; border-radius: 12px; background: #0d0f12; font-size: .92rem; }
.cpd-toc b { color: #e8ebef; } .cpd-toc a { color: #a3abb5; text-decoration: none; } .cpd-toc a:hover { color: #ff6b6f; }
.cpd-toc .cpd-open { margin-top: 6px; color: #ff6b6f; font-weight: 700; }
.cpd-back { margin-top: 3rem; text-align: center; } .cpd-back a { color: #ff6b6f; font-weight: 700; text-decoration: none; }
@media (max-width: 900px) {
    .cpd-layout { grid-template-columns: minmax(0, 1fr); }
    .cpd-toc { position: static; grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; }
    .cpd-toc b { display: none; }
}
@media (max-width: 600px) {
    .cpd-settings div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
    .cpd-cmdlist a { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .cpd-steps li { padding-left: 56px; }
}
