/* TASK-055: scoped navigation and contextual links; no CRM styles. */
body .ark55-site-header{position:sticky!important;top:0;z-index:10001!important;width:100%;box-sizing:border-box;background:#fbf8f1!important;color:#143c34!important;border-bottom:1px solid #d6e1da;box-shadow:0 3px 18px #17352d0b;font:500 14px/1.4 Onest,system-ui,-apple-system,'Segoe UI',sans-serif;isolation:isolate}
.ark55-site-header *,.ark55-section *,.ark55-crumbs *{box-sizing:border-box}
.ark55-headrow{width:min(1280px,calc(100% - 40px));min-height:76px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:22px}
.ark55-site-header a{color:#17483d!important;text-decoration:none!important;font:inherit;letter-spacing:normal;white-space:normal}
.ark55-site-header .ark55-brand{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:800;letter-spacing:.03em;white-space:nowrap;flex-shrink:0}
.ark55-brandmark{width:32px;height:36px;display:grid;place-items:center;border:1px solid #176557;border-radius:10px 2px;font-size:23px;font-weight:800;color:#076956}
.ark55-desktop{display:flex;align-items:center;gap:17px;flex:1;justify-content:center}
.ark55-desktop>a,.ark55-more>summary{display:flex;align-items:center;min-height:44px;white-space:nowrap;cursor:pointer;font-size:13px;font-weight:600}
.ark55-site-header a:hover,.ark55-site-header a[aria-current='page']{color:#006a5d!important;text-decoration:underline!important;text-underline-offset:6px}
.ark55-site-header .ark55-headcta,.ark55-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 18px;border-radius:10px;background:#0c5145!important;color:#fffaf0!important;border:1px solid #0c5145;font:600 14px/1.4 Onest,system-ui,sans-serif;text-decoration:none;gap:9px}
.ark55-site-header .ark55-headcta{white-space:nowrap}
.ark55-more{position:relative}
.ark55-more>summary{list-style:none;gap:6px}.ark55-more>summary::-webkit-details-marker{display:none}.ark55-more>summary:after{content:'⌄';font-size:17px}
.ark55-more[open]>summary:after{transform:rotate(180deg)}
.ark55-dropdown{position:absolute;right:-15px;top:100%;background:#fffdf7;min-width:220px;border:1px solid #d4e2d9;border-radius:14px;padding:10px;box-shadow:0 18px 40px #07352b24}
.ark55-dropdown a{display:block;padding:13px 14px;border-radius:7px;min-height:44px}.ark55-dropdown a:hover{background:#edf4ec}
.ark55-mobile{display:none}.ark55-phone{white-space:nowrap;font-size:14px}
.ark55-section{width:min(1180px,calc(100% - 40px));margin:44px auto;padding:32px;border:1px solid #d3e0d7;border-radius:22px;background:#f6f4ed!important;color:#153b32!important;isolation:isolate;font:400 16px/1.65 Onest,system-ui,sans-serif;text-align:left}
main.wrap>.ark55-section{width:100%}
.ark55-section h2,.ark55-section h3{font-family:Onest,system-ui,sans-serif!important;color:#133c32!important;letter-spacing:-.035em;text-transform:none}
.ark55-section h2{font-size:clamp(23px,3vw,36px);line-height:1.18;margin:8px 0 12px!important;max-width:850px}
.ark55-section h3{font-size:19px;line-height:1.35;margin:6px 0 10px!important;font-weight:700}
.ark55-section p{font-size:15px!important;line-height:1.65!important;color:#37574c!important;margin:10px 0 16px;max-width:850px}
.ark55-eyebrow{font:700 11px/1.6 Onest,system-ui,sans-serif;letter-spacing:.13em;text-transform:uppercase;color:#24695a!important}
.ark55-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:22px;align-items:stretch}
.ark55-section a.ark55-tile{display:flex;flex-direction:column;align-items:flex-start;border:1px solid #d3e0d7;background:#fffefa!important;padding:21px;border-radius:14px;text-decoration:none!important;min-width:0;color:#163e32!important;transition:border-color .15s,box-shadow .15s}
.ark55-tile strong{font-size:18px;font-weight:700;line-height:1.32;margin:7px 0 9px;color:#123a30!important;letter-spacing:-.02em}
.ark55-tile .ark55-desc{font-size:14px;line-height:1.6;color:#456258!important;flex:1}
.ark55-tile .ark55-arrow{font-size:13px;color:#11634f!important;font-weight:700;padding-top:16px}
.ark55-section a.ark55-tile:hover{border-color:#16735c;box-shadow:0 4px 15px #164d3811}
.ark55-filterbar{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin:22px 0}
.ark55-filterbar input{width:100%;max-width:430px;padding:13px 16px;border:1px solid #abc5b7;border-radius:10px;background:#fffef9;color:#143d32;font:inherit;min-height:46px}
.ark55-filterbar button{min-height:44px;padding:9px 14px;border:1px solid #b7cbbf;border-radius:25px;background:#fffdf7;color:#265347;font:600 13px/1.3 Onest,system-ui,sans-serif;cursor:pointer}
.ark55-filterbar button[aria-pressed='true']{color:#fff!important;background:#175749!important;border-color:#175749}
.ark55-count{font-size:13px;color:#4b665b}.ark55-empty{padding:20px;border:1px dashed #769989;border-radius:12px}
.ark55-section [hidden],.ark55-site-header [hidden]{display:none!important}
.ark55-group{margin-top:26px;scroll-margin-top:100px}.ark55-group+.ark55-group{padding-top:22px;border-top:1px solid #d0ded4}
.ark55-tags{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0}
.ark55-tags a{color:#165b49!important;font-size:14px;line-height:1.4;padding:10px 14px;border-radius:8px;background:#e7eee5;border:1px solid #cadbd0;text-decoration:none}
.ark55-tags a:hover{text-decoration:underline}.ark55-section ol,.ark55-section ul{padding-left:23px;color:#25483d;line-height:1.8}.ark55-section li{margin-bottom:10px}
.ark55-route{display:block;border-left:3px solid #25856b;background:#eaf1e8;padding:18px 22px;line-height:1.8;color:#173f33;margin:22px 0;font-weight:600}
.ark55-note{padding:15px 20px;border-radius:12px;border:1px solid #ddd0a8;background:#fff9e9;color:#665332;font-size:14px;line-height:1.6}
.ark55-crumbs{width:min(1180px,calc(100% - 40px));margin:24px auto;color:#406359!important;display:flex;gap:9px;flex-wrap:wrap;font:500 13px/1.6 Onest,system-ui,sans-serif}
.ark55-crumbs a{color:#176850!important}.ark55-crumbs span{max-width:100%}.ark55-breadcrumb-current{overflow-wrap:anywhere}
.ark55-context{padding:13px 16px;margin:0 0 22px;border-radius:12px;border:1px solid #b2d1c2;background:#edf6ee;color:#133f32;font:500 14px/1.5 Onest,system-ui,sans-serif}
.ark55-context a{color:#006549!important;text-decoration:underline}
.ark55-case-links{padding-top:12px;margin-top:12px!important;border-top:1px solid #c7dcd4;display:flex;gap:12px;flex-wrap:wrap}
.ark55-case-links a{font-size:14px;font-weight:600;color:#135f4d!important;text-decoration:underline;text-underline-offset:4px;line-height:1.6}
.ark55-footer-nav{display:flex;gap:18px;flex-wrap:wrap;margin:16px auto;padding:14px;width:min(1180px,calc(100% - 32px));background:#f1f4ea;color:#24483a;border:1px solid #d9e2d5;border-radius:10px;font:500 13px/1.5 Onest,system-ui,sans-serif}
.ark55-footer-nav a{color:#145b46!important;text-decoration:underline;min-height:28px;display:flex;align-items:center}
.ark55-site-header :focus-visible,.ark55-section :focus-visible{outline:3px solid #007a62!important;outline-offset:4px}
body .ark55-site-header summary{color:#17483d!important;background:none;font-family:inherit}
:where([id^='ark55-']){scroll-margin-top:100px}
@media(max-width:1170px){.ark55-headrow{gap:14px}.ark55-desktop{gap:12px}.ark55-site-header .ark55-brand{font-size:19px}.ark55-site-header .ark55-headcta{font-size:12px;padding:11px 14px}}
@media(max-width:1120px){.ark55-desktop,.ark55-site-header>.ark55-headrow>.ark55-headcta{display:none!important}.ark55-mobile{display:block}.ark55-headrow{min-height:66px;width:calc(100% - 28px)}.ark55-mobile>summary{min-height:44px;border:1px solid #a8c4b4;border-radius:9px;display:flex;align-items:center;padding:10px 15px;font-weight:650;cursor:pointer;list-style:none}.ark55-mobile>summary::-webkit-details-marker{display:none}.ark55-mobile>summary:before{content:'☰';margin-right:10px}.ark55-mobile[open]>summary:before{content:'×'}.ark55-mobile-panel{position:absolute;top:calc(100% + 6px);right:10px;left:10px;max-height:calc(100dvh - 92px);overflow:auto;background:#fffdf7;border:1px solid #c6dbcf;border-radius:15px;padding:12px;box-shadow:0 18px 38px #10382a2b}.ark55-mobile-panel a{display:flex;align-items:center;min-height:46px;padding:12px;border-bottom:1px solid #e7eae1;font-size:15px!important}.ark55-mobile-panel .ark55-headcta{margin-top:10px;border-bottom:0}.ark55-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.ark55-section{width:calc(100% - 24px);padding:21px 17px;border-radius:16px;margin:28px auto}.ark55-grid{grid-template-columns:minmax(0,1fr);gap:10px;margin-top:16px}.ark55-section a.ark55-tile{padding:18px}.ark55-section h2{font-size:25px}.ark55-section p{font-size:15px!important}.ark55-route{padding:14px 16px}.ark55-filterbar{gap:7px}.ark55-filterbar input{max-width:none}.ark55-crumbs{width:calc(100% - 28px);font-size:12px}.ark55-tags{gap:8px}.ark55-tags a{font-size:13px}.ark55-footer-nav{gap:12px}.ark55-case-links a{font-size:13px}}
@media(prefers-reduced-motion:reduce){.ark55-section *{transition:none!important;scroll-behavior:auto!important}}
/* Stable metrics irrespective of legacy page typography. */
body .ark55-site-header .ark55-brand{font:800 22px/1.4 Onest,system-ui,sans-serif!important;letter-spacing:.03em!important}
body .ark55-site-header .ark55-desktop>a,body .ark55-site-header .ark55-more>summary{font:600 13px/1.4 Onest,system-ui,sans-serif!important}
body .ark55-site-header .ark55-headcta{font:600 14px/1.4 Onest,system-ui,sans-serif!important}
@media(max-width:1170px){body .ark55-site-header .ark55-brand{font-size:19px!important}body .ark55-site-header .ark55-headcta{font-size:12px!important}}
/* Legacy seo.css hides every nav on phones; keep the new native menu visible. */
.ark55-site-header a,.ark55-crumbs a,.ark55-footer-nav a{margin-left:0!important}
@media(max-width:1120px){body .ark55-site-header .ark55-mobile-panel{display:block!important}}
/* Some legacy standalone pages relied on the browser's 8px body margin. */
body:has(> .ark55-site-header){margin:0}

/* TASK-056: restore the original AR monogram and Cyrillic wordmark. */
body .ark55-site-header .ark55-brand{padding:8px 11px!important;border-radius:12px;background:#013531!important;line-height:1!important;flex:none;gap:0;min-height:58px}
body .ark55-site-header .ark56-logo{display:block!important;width:184px!important;height:auto!important;max-width:none!important;object-fit:contain;filter:none!important}
.ark56-short{display:none}.ark56-footer-brand{display:inline-flex!important;align-items:center;justify-content:center;padding:10px 12px;background:#013531!important;border-radius:12px;max-width:100%;margin-bottom:14px}
.ark56-footer-brand img{display:block;width:215px;height:auto;max-width:100%;filter:none!important}
.ark56-scan-hint{margin:10px 0 16px!important;font:500 13px/1.6 Onest,system-ui,sans-serif!important;color:#b8d4c7!important}
#cases[data-ark56-proof]{scroll-margin-top:100px}
#cases[data-ark56-proof] .section-head{align-items:end}
#cases[data-ark56-proof] .case-grid{margin-top:24px}
.g56-start ol{padding-left:23px;margin:0 0 20px}.g56-start li{margin:10px 0;padding-left:4px}
.geo54-page .g54-search[hidden]{display:none!important}.geo54-page .g54-search{grid-template-columns:1.25fr 1fr auto auto}
.geo54-page .g54-search button{min-height:48px}.g56-start h2{font-size:30px}
body .ark55-site-header .ark55-headrow>.ark55-headcta{display:inline-flex!important}
@media(max-width:1170px){body .ark55-site-header .ark56-logo{width:158px!important}.ark55-headrow{gap:14px}}
@media(max-width:1120px){.ark55-headrow{min-height:76px}.ark55-mobile{margin-left:0}.ark55-site-header .ark55-headrow>.ark55-headcta{margin-left:auto}.ark55-site-header .ark55-mobile-panel{display:block!important}}
@media(max-width:600px){.ark55-headrow{gap:8px;min-height:70px;width:calc(100% - 24px)}body .ark55-site-header .ark55-brand{padding:8px!important;min-height:50px}body .ark55-site-header .ark56-logo{width:124px!important}body .ark55-site-header .ark55-headrow>.ark55-headcta{padding:10px 11px!important;min-height:44px;gap:5px}.ark55-headrow>.ark55-headcta .ark56-wide{display:none}.ark55-headrow>.ark55-headcta .ark56-short{display:inline}.ark55-mobile>summary{padding:10px 9px;font-size:12px;min-height:44px}.ark55-mobile>summary:before{margin-right:5px;font-size:15px}.ark55-mobile-panel .ark56-wide{display:inline}.ark55-mobile-panel .ark56-short{display:none}.geo54-page .g54-search{grid-template-columns:1fr}.geo54-page .g54-count{grid-column:auto}.g56-start h2{font-size:26px}.ark56-footer-brand img{width:195px}}
@media(min-width:601px) and (max-width:960px){.geo54-page .g54-search{grid-template-columns:1fr 1fr}.geo54-page .g54-count{grid-column:auto}}
/* Restore contrast at the human-review destination, inherited legacy colors were faint. */
body .diag-page .pt-s{color:#3c584f}body .diag-page .pt-t{color:#123c31}body .diag-page .fmt-bar{line-height:1.7}

/* Proof is the second section; reduce excess hero height without hiding its media. */
@media(min-width:1100px){body .hero .title{font-size:clamp(60px,5vw,76px);line-height:1.02}body .hero{padding-top:66px;padding-bottom:52px}}
@media(max-width:600px){body .hero .trust-line{display:grid;grid-template-columns:1fr 1fr;gap:12px 10px;font-size:11px;line-height:1.6}body .hero .title{font-size:clamp(43px,12vw,50px);line-height:1.05}.ark56-scan-hint{font-size:12px!important;line-height:1.6!important}}
/* Light review cards need dark secondary labels and legible consent links. */
body .diag-page .sec-tag{color:#775300!important}
body .diag-page .ark-legal-consent{color:#44625a!important;line-height:1.65!important}
body .diag-page .ark-legal-consent a,body .diag-page [data-ark55-link="diagnostic-proof"]{color:#096655!important;text-decoration:underline!important;text-underline-offset:3px}
body .diag-page .src-opt input:focus-visible+label{outline:3px solid #007a62;outline-offset:3px}
/* The current SCAN toggles [hidden]; legacy .scan-result{display:none} must not hide its completed result. */
#scan #quizResult:not([hidden]){display:block}
#scan #quizResult[hidden]{display:none!important}
