/* RVV Documents visa 1.0.0 — same radar console and cards as the guide pages (rvv-site-method). */
@property --kb-a{syntax:"<angle>";inherits:false;initial-value:0deg}
@keyframes kb-spin{to{--kb-a:360deg}}
@keyframes kb-rot{to{transform:rotate(360deg)}}
@keyframes kb-ping{0%{box-shadow:0 0 0 0 rgba(52,211,153,.6)}80%,100%{box-shadow:0 0 0 9px rgba(52,211,153,0)}}
.kb-page,.kb-page *{box-sizing:border-box}
.kb-page{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:16px 0 56px;font-family:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:#183f36;line-height:1.6}
.kb-page section{scroll-margin-top:84px}
.kb-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:0 0 12px;font-size:12.5px;color:#5d716a}
.kb-crumbs a{color:#0f5e52;font-weight:800;text-decoration:none}
.kb-crumbs a:hover{text-decoration:underline}
.kb-crumbs [aria-current]{overflow-wrap:anywhere}
/* console */
.kb-hero{position:relative;overflow:hidden;isolation:isolate;margin:4px 0 16px;padding:20px 22px 18px;border-radius:22px;background:radial-gradient(120% 140% at 0% 0%,#0d5c4d 0%,#0a4f43 45%,#053d33 100%);color:#fff;box-shadow:0 24px 48px -28px rgba(3,43,36,.75),inset 0 0 0 1px rgba(52,211,153,.22)}
.kb-hero::before{content:"";position:absolute;inset:-2px;border-radius:24px;padding:2px;background:conic-gradient(from var(--kb-a,0deg),transparent 0 70%,#34d399 85%,transparent 100%);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:kb-spin 6s linear infinite;z-index:1;pointer-events:none}
.kb-grid{position:absolute;inset:0;z-index:-1;background-image:linear-gradient(rgba(52,211,153,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(52,211,153,.07) 1px,transparent 1px);background-size:22px 22px;-webkit-mask:radial-gradient(90% 90% at 80% 30%,#000,transparent);mask:radial-gradient(90% 90% at 80% 30%,#000,transparent)}
.kb-radar{position:absolute;z-index:-1;top:-46px;right:-50px;width:250px;height:250px;opacity:.5;pointer-events:none}
.kb-radar circle,.kb-radar path{fill:none;stroke:rgba(110,231,183,.28);stroke-width:1}
.kb-radar .kb-beam{transform-origin:100px 100px;animation:kb-rot 5s linear infinite}
.kb-radar .kb-beam path{fill:rgba(52,211,153,.16);stroke:none}
.kb-top{display:flex;justify-content:space-between;align-items:center;gap:8px 14px;flex-wrap:wrap;margin:0 0 12px}
.kb-kicker{display:inline-flex;align-items:center;gap:9px;margin:0;font-size:11.5px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#a7f3d0;line-height:1.3}
.kb-dot{flex:0 0 auto;width:9px;height:9px;border-radius:50%;background:#34d399;animation:kb-ping 1.8s ease-out infinite}
.kb-clock{font-size:11.5px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#d1fae5;font-variant-numeric:tabular-nums;white-space:nowrap}
.kb-clock b{color:#fff;letter-spacing:.06em}
.kb-hero h1{margin:0 0 12px;max-width:min(100%,940px);color:#fff;font-size:clamp(24px,3.1vw,36px);font-weight:800;line-height:1.18;letter-spacing:-.02em;overflow-wrap:break-word}
.kb-badge{display:inline-flex;max-width:100%;margin:0;padding:6px 14px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);color:#ecfdf5;font-size:13.5px;font-weight:700;line-height:1.4}
.kb-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:16px 0 0;padding-top:14px;border-top:1px solid rgba(255,255,255,.12)}
.kb-tile{display:flex;flex-direction:column;gap:5px;min-width:0;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.06);border:1px solid rgba(110,231,183,.22);color:#fff!important;text-decoration:none!important;transition:background .2s,border-color .2s}
.kb-tile:hover,.kb-tile:focus-visible{background:rgba(52,211,153,.16);border-color:rgba(52,211,153,.55)}
.kb-tile b{font-size:22px;font-weight:800;line-height:1;color:#fff;font-variant-numeric:tabular-nums}
.kb-tile span{font-size:10.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#6ee7b7;line-height:1.35;overflow-wrap:break-word}
/* help button (same as the guides) */
.kb-help{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"ico t go" "ico s go";align-items:center;gap:3px 14px;width:100%;margin:0 0 18px;padding:14px 16px;border-radius:18px;border:1px solid #a7f3d0;background:linear-gradient(135deg,#ecfdf5,#f6fbf9);box-shadow:0 14px 30px -24px rgba(5,61,51,.55);text-align:left;cursor:pointer;font:inherit;transition:border-color .2s,box-shadow .2s}
.kb-help:hover{border-color:#34d399;box-shadow:0 18px 34px -22px rgba(5,61,51,.6)}
.kb-help::before{content:"";grid-area:ico;width:42px;height:42px;border-radius:50%;background:#053d33 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236ee7b7' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12Z'/%3E%3Cpath d='M8.5 12h.01M12 12h.01M15.5 12h.01'/%3E%3C/svg%3E") center/21px no-repeat;box-shadow:0 0 0 4px rgba(52,211,153,.18)}
.kb-help::after{content:"";grid-area:go;width:34px;height:34px;border-radius:50%;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23065f46' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/16px no-repeat;border:1px solid #a7f3d0}
.kb-help strong{grid-area:t;display:block;color:#053d33;font-size:15.5px;font-weight:800;line-height:1.35}
.kb-help span{grid-area:s;display:block;color:#4b7a6c;font-size:13px;line-height:1.45}
/* cards */
.kb-card{margin:18px 0;padding:20px;border-radius:22px;border:1px solid #d7ece4;background:#fff;box-shadow:0 18px 40px -30px rgba(5,61,51,.45)}
.kb-card>h2{position:relative;margin:0 0 14px;padding:14px 0 0;font-size:clamp(18px,2vw,22px);font-weight:800;line-height:1.3;letter-spacing:-.01em;color:#062f27}
.kb-card>h2::before{content:"";position:absolute;top:0;left:0;width:34px;height:3px;border-radius:3px;background:linear-gradient(90deg,#0e9f6e,#34d399)}
.kb-card p{margin:0 0 12px}
.kb-card p:last-child{margin-bottom:0}
.kb-lead{border-color:#a7f3d0;background:linear-gradient(180deg,#f6fbf9,#fff 70%)}
.kb-lead p{font-size:16px;color:#123a31}
.kb-prose p{color:#264d44}
.kb-sub{margin:-6px 0 14px!important;color:#4b7a6c;font-size:13.5px}
.kb-dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}
.kb-dl>div{min-width:0;padding:13px 14px 13px 16px;border-radius:14px;border:1px solid #e1f0ea;border-left:3px solid #10b981;background:#f6fbf9}
.kb-dl dt{margin:0 0 6px;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#4b7a6c;line-height:1.3}
.kb-dl dd{margin:0;color:#062f27;font-size:15px;line-height:1.55;overflow-wrap:break-word}
.kb-steps{display:grid;gap:10px;margin:0;padding:0;list-style:none;counter-reset:kb}
.kb-steps>li{position:relative;margin:0;padding:14px 16px 14px 62px;border-radius:16px;border:1px solid #e1f0ea;background:#f6fbf9;counter-increment:kb}
.kb-steps>li::before{content:counter(kb);position:absolute;left:16px;top:14px;display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#053d33;color:#6ee7b7;font-size:14px;font-weight:800;font-variant-numeric:tabular-nums;box-shadow:0 0 0 4px rgba(52,211,153,.14)}
.kb-steps h3,.kb-case h3,.kb-err h3{margin:0 0 6px;font-size:16px;font-weight:800;line-height:1.4;color:#062f27}
.kb-steps p,.kb-case p,.kb-err p{margin:0;color:#264d44}
.kb-check{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 28px;margin:0;padding:0;list-style:none}
.kb-check>li{position:relative;margin:0;padding:0 0 0 31px;color:#183f36;line-height:1.6;min-width:0}
.kb-check>li::before{content:"";position:absolute;left:0;top:3px;width:20px;height:20px;border-radius:50%;background:#d1fae5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat;border:1px solid #a7f3d0}
.kb-case{margin:0 0 12px;padding:16px 16px 16px 18px;border-radius:16px;border:1px solid #e1f0ea;border-left:3px solid #10b981;background:#f6fbf9}
.kb-case:last-child,.kb-err:last-child{margin-bottom:0}
.kb-err{margin:0 0 12px;padding:16px 16px 16px 18px;border-radius:16px;border:1px solid #fde68a;border-left:3px solid #f59e0b;background:#fffbeb}
.kb-err h3{display:flex;gap:10px;align-items:flex-start}
.kb-err h3::before{content:"";flex:0 0 auto;width:20px;height:20px;margin-top:1px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b45309' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 2 20h20L12 3Z'/%3E%3Cpath d='M12 10v4M12 17h.01'/%3E%3C/svg%3E") center/20px no-repeat}
/* questions: same Q badges as the guide pages */
.kb-q{margin:0 0 10px;border-radius:16px;border:1px solid #d7ece4;background:#f6fbf9;overflow:hidden}
.kb-q:last-child{margin-bottom:0}
.kb-q[open]{background:#fff;border-color:#a7f3d0}
.kb-q>summary{display:flex;align-items:flex-start;gap:10px;padding:13px 14px;list-style:none;cursor:pointer;font-size:15px;font-weight:800;line-height:1.4;color:#062f27}
.kb-q>summary::-webkit-details-marker{display:none}
.kb-q>summary>span:last-child{flex:1 1 auto;min-width:0}
.kb-q>summary::after{content:"";flex:0 0 auto;width:26px;height:26px;border-radius:50%;background:#ecfdf5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23065f46' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/14px no-repeat;border:1px solid #a7f3d0;transition:transform .2s}
.kb-q[open]>summary::after{transform:rotate(180deg)}
.kb-qb{flex:0 0 30px;display:inline-grid;place-items:center;width:30px;height:24px;margin-top:1px;border-radius:8px;background:#053d33;color:#6ee7b7;font-size:11.5px;font-weight:800;letter-spacing:.04em;font-variant-numeric:tabular-nums}
.kb-a{padding:0 14px 14px 54px;color:#264d44;line-height:1.6}
/* link lists */
.kb-links{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:10px;margin:0;padding:0;list-style:none}
.kb-links li{min-width:0}
.kb-links a{display:flex;align-items:center;gap:10px;height:100%;padding:12px 14px;border-radius:14px;border:1px solid #e1f0ea;background:#f6fbf9;color:#053d33;font-size:14.5px;font-weight:700;line-height:1.4;text-decoration:none;transition:background .2s,border-color .2s;overflow-wrap:break-word;min-width:0}
.kb-links a::after{content:"";flex:0 0 auto;width:16px;height:16px;margin-left:auto;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/16px no-repeat}
.kb-links a:hover,.kb-docs a:hover{background:#ecfdf5;border-color:#a7f3d0}
.kb-more{margin-top:12px}
.kb-more>summary{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:999px;border:1px solid #a7f3d0;background:#ecfdf5;color:#065f46;font-size:13.5px;font-weight:800;cursor:pointer;list-style:none}
.kb-more>summary::-webkit-details-marker{display:none}
.kb-more[open]>summary{margin-bottom:12px}
.kb-docs{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:10px;margin:0;padding:0;list-style:none}
.kb-docs li{min-width:0}
.kb-docs a{position:relative;display:flex;flex-direction:column;gap:4px;height:100%;padding:13px 40px 13px 16px;border-radius:14px;border:1px solid #e1f0ea;border-left:3px solid #10b981;background:#f6fbf9;color:#264d44;text-decoration:none;transition:background .2s,border-color .2s}
.kb-docs a::after{content:"";position:absolute;right:14px;top:15px;width:16px;height:16px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/16px no-repeat}
.kb-docs strong{color:#053d33;font-size:15px;font-weight:800;line-height:1.4;overflow-wrap:break-word}
.kb-docs span{font-size:13px;line-height:1.5;color:#4b7a6c}
.kb-cat{margin:0 0 20px}
.kb-cat:last-of-type{margin-bottom:0}
.kb-cat>h3{display:flex;align-items:center;gap:10px;margin:0 0 10px;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#0f5e52}
.kb-cat>h3::before{content:"";flex:0 0 auto;width:9px;height:9px;border-radius:50%;background:#10b981;box-shadow:0 0 0 4px rgba(16,185,129,.16)}
.kb-search{display:grid;gap:6px;margin:0 0 14px}
.kb-search span{font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#4b7a6c}
.kb-search input{width:100%;min-height:48px;padding:10px 16px;border-radius:14px;border:1px solid #a7f3d0;background:#fff;color:#062f27;font:inherit;font-size:16px}
.kb-search input:focus{outline:2px solid #34d399;outline-offset:1px}
.kb-empty{margin:8px 0 0;color:#4b7a6c}
.kb-src{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.kb-src a{display:inline-flex;align-items:flex-start;gap:9px;color:#0f5e52;font-weight:700;text-decoration:none;overflow-wrap:anywhere}
.kb-src a::before{content:"";flex:0 0 auto;width:18px;height:18px;margin-top:2px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 4.5 3.4 8.3 8 9 4.6-.7 8-4.5 8-9V6l-8-3Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center/18px no-repeat}
.kb-src a:hover{text-decoration:underline}
.kb-note{display:flex;gap:10px;align-items:flex-start;margin:18px 0;padding:12px 14px;border-radius:14px;background:#ecfdf5;border:1px solid #d1fae5;color:#0f5e52;font-size:13.5px;line-height:1.55}
.kb-note::before{content:"";flex:0 0 auto;width:20px;height:20px;margin-top:1px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 8h.01'/%3E%3C/svg%3E") center/20px no-repeat}
.kb-back{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 0}
.kb-btn{display:inline-flex;align-items:center;gap:10px;min-height:46px;padding:11px 20px;border-radius:999px;background:linear-gradient(135deg,#0a4f43,#053d33);color:#fff!important;font-size:14px;font-weight:800;line-height:1.3;text-decoration:none!important;box-shadow:0 14px 30px -16px rgba(5,61,51,.8)}
.kb-btn:hover{background:linear-gradient(135deg,#0d5c4d,#0a4f43)}
.kb-btn i{flex:0 0 auto;display:inline-block;width:9px;height:9px;border-radius:50%;background:#34d399;animation:kb-ping 1.8s ease-out infinite}
.kb-btn.is-light{background:#fff;color:#053d33!important;border:1px solid #a7f3d0;box-shadow:none}
.kb-btn.is-light:hover{background:#ecfdf5}
.kb-h1-light{margin:0 0 10px;font-size:clamp(22px,3vw,30px);font-weight:800;color:#062f27}
/* contextual document links inside the fiches */
.kb-page a.rvv-doclink{color:inherit;text-decoration:none;background-image:linear-gradient(90deg,rgba(5,150,105,.55),rgba(52,211,153,.4));background-repeat:no-repeat;background-size:100% 1.5px;background-position:0 100%;padding-bottom:1px;-webkit-box-decoration-break:clone;box-decoration-break:clone;transition:background-size .2s,background-color .2s,color .2s}
.kb-page a.rvv-doclink:hover{color:#065f46;background-color:rgba(209,250,229,.55);background-size:100% 2px}
.kb-page a.rvv-doclink:focus-visible{outline:2px solid #34d399;outline-offset:2px}
@media (max-width:760px){
 .kb-page{width:calc(100% - 24px);padding-top:12px}
 .kb-hero{padding:18px 16px 16px;border-radius:20px}
 .kb-radar{width:190px;height:190px;top:-40px;right:-60px}
 .kb-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .kb-tile{padding:11px 12px}
 .kb-tile span{letter-spacing:.025em;font-size:10px}
 .kb-card{padding:16px;border-radius:20px}
 .kb-dl,.kb-check{grid-template-columns:1fr}
 .kb-help{padding:12px 14px;gap:3px 12px}
 .kb-help::before{width:38px;height:38px}
 .kb-steps>li{padding:14px 14px 14px 58px}
 .kb-a{padding:0 14px 14px}
 .kb-q>summary{font-size:14px;gap:8px}
 .kb-links,.kb-docs{grid-template-columns:1fr}
 .kb-lead p{font-size:15.5px}
}
@media (prefers-reduced-motion:reduce){.kb-hero::before,.kb-radar .kb-beam,.kb-dot,.kb-btn i{animation:none}}
