:root{--v4-bg:#fbfafc;--v4-surface:#fff;--v4-soft:#f1edf8;--v4-ink:#292330;--v4-muted:#716a7a;--v4-line:#e5dfeb;--v4-purple:#6944b6;--v4-purple-hover:#51338e;--v4-shadow:0 16px 48px #3b245508;--v4-font:"Inter","Aptos","Segoe UI",Arial,sans-serif}
html[data-theme=dark]{--v4-bg:#17151e;--v4-surface:#211e2b;--v4-soft:#2c263c;--v4-ink:#f2edf8;--v4-muted:#b9b0c7;--v4-line:#3c354b;--v4-purple:#bca1ff;--v4-purple-hover:#d8c7ff;--v4-shadow:none;color-scheme:dark}
.v4-header,.v4-footer,.v4-home,.v4-tool-page,.v4-catalog-head,.v4-subnav{font-family:var(--v4-font)}
.v4-header *,.v4-footer *,.v4-home *,.v4-tool-page *{box-sizing:border-box}
.v4-home,.v4-tool-page{margin:0;background:var(--v4-bg)!important;color:var(--v4-ink)!important;font:16px/1.6 var(--v4-font);-webkit-font-smoothing:antialiased}
.v4-wrap{width:min(1240px,calc(100% - 64px));margin-inline:auto}
.v4-header{position:sticky;top:0;z-index:80;background:var(--v4-surface);border-bottom:1px solid var(--v4-line);color:var(--v4-ink);line-height:1.4}
.v4-header-row{display:flex;align-items:center;gap:32px;min-height:88px}
.v4-brand{display:flex;align-items:center;gap:11px;color:var(--v4-ink);text-decoration:none;flex-shrink:0}
.v4-brand img{width:46px;height:42px;object-fit:contain}.v4-brand strong{display:block;font-size:19px;font-weight:700;letter-spacing:-.04em}.v4-brand small{display:block;color:var(--v4-muted);font-size:10px;letter-spacing:.05em;margin-top:3px}
html[data-theme=dark] .v4-brand img{filter:brightness(0) invert(1)}
.v4-nav{display:flex;align-items:center;justify-content:center;gap:8px;flex:1}.v4-nav a{padding:13px 14px;border-radius:11px;text-decoration:none;font-weight:600;font-size:14px;white-space:nowrap;color:var(--v4-muted)}.v4-nav a:hover,.v4-nav a[aria-current]{color:var(--v4-purple);background:var(--v4-soft)}
.v4-header-actions{display:flex;align-items:center;gap:12px}.v4-theme,.v4-menu{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--v4-line);border-radius:10px;background:var(--v4-surface);color:var(--v4-ink);min-height:40px;padding:8px 10px;font:500 12px var(--v4-font);cursor:pointer}.v4-theme svg,.v4-menu svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.6}.v4-menu{display:none}.v4-contact-link{font-size:13px;font-weight:600;color:var(--v4-ink);text-decoration:none;white-space:nowrap}.v4-contact-link:hover{color:var(--v4-purple)}
.v4-home a,.v4-tool-page a{text-underline-offset:3px}.v4-home a:focus-visible,.v4-header a:focus-visible,.v4-header button:focus-visible,.v4-home button:focus-visible,.v4-home input:focus-visible,.v4-home textarea:focus-visible,.v4-home select:focus-visible,.v4-tool-page :focus-visible{outline:3px solid var(--v4-purple);outline-offset:4px}
.v4-home h1,.v4-home h2,.v4-home h3,.v4-tool-page h1,.v4-tool-page h2{color:var(--v4-ink);font-weight:600;letter-spacing:-.045em;line-height:1.1;margin:0}.v4-home p,.v4-tool-page p{color:var(--v4-muted);margin:0}.v4-home button,.v4-home input,.v4-home select,.v4-home textarea,.v4-tool-page button,.v4-tool-page input,.v4-tool-page select{font-family:var(--v4-font)}
.v4-eyebrow{font-size:11px!important;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--v4-purple)!important;margin-bottom:17px!important}.v4-home .v4-hero{display:grid;grid-template-columns:1fr 1.08fr;align-items:center;gap:45px;padding:54px 0 35px}.v4-hero h1{font-size:clamp(36px,4.1vw,57px);max-width:580px}.v4-hero h1 span{color:var(--v4-purple)}.v4-lead{max-width:500px;font-size:16px;line-height:1.8;margin:24px 0 28px!important}.v4-hero-actions{display:flex;gap:12px;flex-wrap:wrap}.v4-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:49px;border:1px solid transparent;border-radius:12px;padding:12px 20px;background:#6944b6;color:#fff!important;font-size:14px;font-weight:650;line-height:1.5;text-decoration:none;cursor:pointer;transition:background .15s,transform .15s}.v4-button:hover{background:#51338e;transform:translateY(-1px)}.v4-button.alt{background:var(--v4-surface);border-color:var(--v4-line);color:var(--v4-ink)!important}.v4-button.alt:hover{background:var(--v4-soft)}.v4-button:disabled{opacity:.6;cursor:wait;transform:none}.v4-arrow{font-size:20px;line-height:1}
.v4-art{margin:0;background:#f5f0fc;border:1px solid #eae0f4;border-radius:26px;overflow:hidden;position:relative}.v4-art img{display:block;width:100%;height:auto;aspect-ratio:1.5;object-fit:contain}.v4-hero-foot{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--v4-muted);margin-top:22px}.v4-dot{width:6px;height:6px;background:#9c85b8;border-radius:50%;display:inline-block}
.v4-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:9px 0 54px}.v4-path{display:flex;flex-direction:column;padding:24px;border:1px solid var(--v4-line);border-radius:18px;background:var(--v4-surface);text-decoration:none;color:var(--v4-ink);transition:transform .15s,border .15s}.v4-path:hover{transform:translateY(-3px);border-color:#b49bcf}.v4-path.primary{background:#332446;color:#fff;border-color:#332446}.v4-path.primary p{color:#ded0ee}.v4-path.primary h2{color:#fff}.v4-path-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.v4-path-top svg{width:25px;height:25px;stroke:currentColor;stroke-width:1.4;fill:none}.v4-path h2{font-size:21px;letter-spacing:-.025em;line-height:1.3;margin-bottom:9px}.v4-path p{font-size:13px;line-height:1.65}.v4-path small{font-size:11px;opacity:.7;margin-top:18px}
.v4-section{padding:52px 0 60px;border-top:1px solid var(--v4-line);scroll-margin-top:105px}.v4-section-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:28px}.v4-section-head h2{font-size:32px}.v4-section-head>p{max-width:365px;font-size:14px}.v4-section-head a{font-size:13px;color:var(--v4-purple);font-weight:600}
.v4-tools{display:grid;grid-template-columns:1fr 1fr;gap:24px}.v4-tool{padding:28px;background:var(--v4-surface);border:1px solid var(--v4-line);border-radius:21px;min-width:0;box-shadow:var(--v4-shadow);color:var(--v4-ink)}.v4-tool-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.v4-tool h3,.v4-tool h2{font-size:23px;letter-spacing:-.035em;line-height:1.2;margin:0}.v4-tool-tag{font-size:10px;letter-spacing:.04em;color:var(--v4-purple);background:var(--v4-soft);padding:5px 8px;border-radius:6px;white-space:nowrap}.v4-segment{display:flex;gap:4px;padding:4px;border-radius:11px;background:var(--v4-soft);margin-bottom:21px}.v4-segment button{width:50%;padding:9px 10px;border:0;border-radius:8px;background:transparent;color:var(--v4-muted);font-size:13px;font-weight:600;cursor:pointer}.v4-segment button[aria-pressed=true]{background:var(--v4-surface);box-shadow:0 2px 8px #21132e08;color:var(--v4-ink)}
.v4-field{display:block;min-width:0}.v4-field span{display:block;font-size:12px;color:var(--v4-muted);margin-bottom:7px}.v4-field input,.v4-field select,.v4-field textarea{display:block;width:100%;min-height:46px;padding:10px 12px;border:1px solid var(--v4-line);border-radius:10px;background:var(--v4-bg);color:var(--v4-ink);font-size:15px;line-height:1.45}.v4-field textarea{resize:vertical;min-height:115px}.v4-field input:focus,.v4-field textarea:focus,.v4-field select:focus{border-color:var(--v4-purple)}.v4-fields{display:grid;grid-template-columns:1.1fr 1fr;gap:13px}.v4-breakdown{display:grid;gap:10px;margin:22px 0 15px}.v4-breakdown>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:13px}.v4-breakdown dt{color:var(--v4-muted)}.v4-breakdown dd{margin:0;color:var(--v4-ink);font-weight:650;font-size:17px;overflow-wrap:anywhere}.v4-breakdown .v4-total{border-top:1px solid var(--v4-line);margin-top:3px;padding-top:15px}.v4-total dd{font-size:25px;color:var(--v4-purple)}.v4-small{font-size:11px!important;line-height:1.6!important;color:var(--v4-muted)!important}.v4-small a{color:var(--v4-purple)}.v4-tool-note{margin-top:10px!important}.v4-error{color:#b23544!important;font-size:12px!important;margin-top:8px!important;min-height:0}.v4-error:empty{display:none}.v4-formula{font-size:11px!important;margin:14px 0 0!important;color:var(--v4-muted)!important}.v4-fx-row{display:grid;grid-template-columns:1fr 42px 1fr;align-items:end;gap:10px;margin-top:16px}.v4-swap{min-height:46px;padding:8px;border:1px solid var(--v4-line);background:var(--v4-soft);color:var(--v4-purple);border-radius:10px;font-size:23px;cursor:pointer}.v4-fx-result{background:var(--v4-soft);border-radius:12px;padding:17px 19px;margin:22px 0 14px}.v4-fx-result output{display:block;color:var(--v4-ink);font-size:29px;font-weight:600;letter-spacing:-.04em;overflow-wrap:anywhere;min-height:42px}.v4-fx-result p{font-size:12px!important}.v4-fx-status{display:flex;align-items:start;justify-content:space-between;gap:15px}.v4-fx-status p{font-size:11px}.v4-fx-status button{padding:0;border:0;background:none;color:var(--v4-purple);font-size:11px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.v4-fx-status button:disabled{opacity:.6}.v4-fx-status p.is-stale{color:#9a681f!important}
.v4-contact-grid{display:grid;grid-template-columns:1fr 1.08fr;gap:64px;align-items:start}.v4-contact-grid h2{font-size:38px}.v4-contact-grid .v4-lead{font-size:15px;margin-top:20px!important}.v4-contact-lines{display:grid;gap:13px;margin:26px 0}.v4-contact-lines a{display:flex;align-items:center;gap:12px;color:var(--v4-ink);font-size:16px;text-decoration:none;overflow-wrap:anywhere}.v4-contact-lines svg{width:19px;height:19px;stroke:var(--v4-purple);stroke-width:1.5;fill:none;flex-shrink:0}.v4-socials{display:flex;gap:9px;flex-wrap:wrap;margin:22px 0 14px}.v4-socials a{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid var(--v4-line);border-radius:10px;background:var(--v4-surface);color:var(--v4-ink);font-size:12px;font-weight:600;text-decoration:none}.v4-socials svg{width:17px;height:17px;fill:currentColor}.v4-socials a:hover{background:var(--v4-soft)}.v4-region{font-size:12px!important;line-height:1.7!important}.v4-feedback{background:var(--v4-surface);border:1px solid var(--v4-line);border-radius:20px;padding:28px}.v4-feedback h3{font-size:22px;margin-bottom:7px}.v4-feedback>p{font-size:13px;margin-bottom:22px}.v4-feedback .v4-fields{margin-bottom:16px;grid-template-columns:1fr 1fr}.v4-feedback>.v4-field{margin-bottom:18px}.v4-feedback .v4-small{margin-top:13px!important}.v4-message-result{margin-top:24px;padding-top:22px;border-top:1px solid var(--v4-line)}.v4-message-result[hidden]{display:none!important}.v4-message-result textarea{width:100%;min-height:145px;background:var(--v4-bg);color:var(--v4-ink);border:1px solid var(--v4-line);border-radius:9px;padding:12px;font:13px/1.6 var(--v4-font);margin:12px 0;resize:vertical}.v4-message-actions{display:flex;gap:8px;flex-wrap:wrap}.v4-message-actions .v4-button{font-size:12px;padding:9px 12px;min-height:43px}.v4-copy{background:none;border:0;padding:9px 0;color:var(--v4-purple);font-size:12px;text-decoration:underline;cursor:pointer}.v4-message-status{font-size:12px!important;margin-top:10px!important}.v4-footer{border-top:1px solid var(--v4-line);background:var(--v4-surface);color:var(--v4-muted);padding:28px 0 25px;font-size:11px;line-height:1.6}.v4-footer-row{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}.v4-footer nav{display:flex;gap:18px;flex-wrap:wrap}.v4-footer a{color:var(--v4-muted);text-decoration:none}.v4-footer a:hover{text-decoration:underline}.v4-footer p{color:var(--v4-muted);font-size:10px;margin:15px 0 0;max-width:1050px}.v4-footer strong{color:var(--v4-ink)}
.v4-subnav{border-bottom:1px solid var(--v4-line);background:var(--v4-bg);color:var(--v4-muted)}.v4-subnav .v4-wrap{display:flex;gap:20px;align-items:center;min-height:45px;flex-wrap:wrap;padding-block:8px}.v4-subnav a{font-size:12px;color:var(--v4-muted);text-decoration:none}.v4-subnav a:hover{color:var(--v4-purple)}.v4-subnav span{font-size:11px;color:var(--v4-purple);margin-right:auto}.v4-catalog-head{padding:45px 0 34px!important;max-width:850px}.v4-catalog-head h1{font-size:clamp(32px,4vw,49px);letter-spacing:-.04em;margin:0 0 15px;line-height:1.15}.v4-catalog-head .lead{font-size:15px;max-width:660px;margin-bottom:24px}.v4-catalog-head .search-entry{max-width:760px}.v4-catalog-head .searchbar{border-radius:13px}.v4-catalog-head .v4-small{margin-top:15px!important}.v4-catalog-page #catalog{padding-top:28px}.v4-catalog-page .filterbar{display:flex;flex-wrap:wrap;gap:8px}.v4-catalog-page .cataloggrp{scroll-margin-top:105px}.v4-catalog-page .catalog-query{display:none}.v4-catalog-page .counts{margin-top:18px}.v4-catalog-page .cataloggrp summary{padding-block:21px}.v4-catalog-page .listgrid .catlink{padding-block:16px}.v4-catalog-page .cataloggrp summary small{font-variant-numeric:tabular-nums}.v4-catalog-page main>.sect{padding-block:30px}.v4-catalog-page #catalog .sect-head h2{font-size:25px}.v4-catalog-page .form-type-note{padding:16px 18px;border:1px solid var(--v4-line);border-radius:12px;margin:20px 0;font-size:12px;color:var(--v4-muted)}
.v4-tool-page main{padding:42px 0 70px}.v4-tool-intro{max-width:800px;margin-bottom:26px}.v4-tool-intro h1{font-size:42px;margin:12px 0 15px}.v4-tool-intro p{font-size:15px;max-width:710px}.v4-tool-single{max-width:700px}.v4-tool-details{max-width:700px;margin-top:26px;font-size:14px;line-height:1.8}.v4-tool-details h2{font-size:23px;margin:24px 0 12px}.v4-tool-details a{color:var(--v4-purple)}.v4-breadcrumb{font-size:12px;color:var(--v4-muted);display:flex;gap:10px;flex-wrap:wrap}.v4-breadcrumb a{color:var(--v4-muted)}.v4-business-intro{margin:20px auto 0;padding:18px 22px;border:1px solid var(--v4-line);background:var(--v4-surface);color:var(--v4-ink);border-radius:14px;display:flex;align-items:center;gap:18px;flex-wrap:wrap}.v4-business-intro a{font-size:13px;color:var(--v4-purple);font-weight:600}.v4-business-intro strong{font-size:13px;margin-right:auto}.v4-business .hero{padding-top:45px}.v4-business .vdn-doc-promo{display:none}
@media(max-width:1100px){.v4-header-row{gap:20px}.v4-nav a{padding:12px 9px;font-size:13px}.v4-contact-link{display:none}.v4-contact-grid{gap:35px}.v4-hero h1{font-size:43px}}
@media(max-width:999px){.v4-header-row{min-height:75px;flex-wrap:wrap;gap:0;padding-block:13px}.v4-header-actions{margin-left:auto}.v4-menu{display:inline-flex}.v4-nav{display:none;order:4;flex-basis:100%;padding-top:14px;justify-content:stretch}.v4-nav.is-open{display:flex}.v4-nav a{flex:1;text-align:center}.v4-home .v4-hero{gap:25px;padding-top:38px}.v4-hero h1{font-size:38px}.v4-lead{font-size:14px;margin:18px 0 22px!important}.v4-hero-actions .v4-button{font-size:12px;padding:11px 13px}.v4-tool{padding:22px}.v4-tool h3{font-size:20px}.v4-tools{gap:18px}.v4-contact-grid{gap:28px}.v4-section-head h2{font-size:28px}.v4-path{padding:20px}.v4-path h2{font-size:18px}.v4-path-top{margin-bottom:15px}.v4-feedback{padding:22px}.v4-feedback .v4-fields{grid-template-columns:1fr;gap:16px}}
@media(max-width:740px){.v4-wrap{width:calc(100% - 36px)}.v4-brand img{width:37px;height:34px}.v4-brand strong{font-size:16px}.v4-brand small{font-size:9px}.v4-header-actions{gap:7px}.v4-theme [data-theme-text]{display:none}.v4-theme{width:37px;padding:8px}.v4-menu{font-size:11px;padding:8px}.v4-nav.is-open{flex-direction:column;gap:4px}.v4-nav a{font-size:14px;padding:12px;text-align:left}.v4-home .v4-hero{grid-template-columns:1fr;padding:34px 0 20px;gap:28px}.v4-hero h1{font-size:43px;max-width:550px}.v4-lead{font-size:15px;max-width:560px}.v4-art{max-width:570px;width:100%;margin-inline:auto;border-radius:19px}.v4-hero-foot{margin-top:17px}.v4-hero-actions .v4-button{font-size:13px;padding:12px 17px}.v4-paths{grid-template-columns:1fr;padding-bottom:35px;gap:12px}.v4-path{display:grid;grid-template-columns:32px 1fr;gap:0 15px;padding:18px 20px}.v4-path-top{grid-row:1/4;display:block;margin:2px 0}.v4-path-top .v4-arrow{display:none}.v4-path h2{font-size:18px;margin-bottom:5px}.v4-path p{font-size:12px}.v4-path small{margin-top:8px;font-size:10px}.v4-tools{grid-template-columns:1fr}.v4-section{padding:35px 0 40px}.v4-section-head{display:block;margin-bottom:22px}.v4-section-head h2{font-size:29px}.v4-section-head>p{margin-top:12px;font-size:13px;max-width:100%}.v4-tool{padding:23px;border-radius:17px}.v4-contact-grid{grid-template-columns:1fr;gap:26px}.v4-contact-grid h2{font-size:34px}.v4-feedback .v4-fields{grid-template-columns:1fr 1fr}.v4-footer-row{display:block}.v4-footer nav{gap:11px 16px;margin-top:14px}.v4-subnav .v4-wrap{gap:13px}.v4-subnav span{display:none}.v4-subnav a{font-size:11px}.v4-catalog-head{padding-top:30px!important}.v4-catalog-head h1{font-size:32px}.v4-catalog-page #catalog .sect-head h2{font-size:23px}.v4-tool-intro h1{font-size:33px}.v4-tool-page main{padding-top:28px}.v4-tool-single{max-width:100%}}
@media(max-width:380px){.v4-wrap{width:calc(100% - 28px)}.v4-brand small{display:none}.v4-brand{gap:7px}.v4-header-actions{gap:5px}.v4-menu svg{display:none}.v4-home .v4-hero h1{font-size:37px}.v4-tool{padding:18px}.v4-fields{grid-template-columns:1fr;gap:13px}.v4-feedback .v4-fields{grid-template-columns:1fr}.v4-total dd{font-size:22px}.v4-fx-result output{font-size:25px}.v4-message-actions{display:grid}.v4-theme{width:33px}.v4-brand strong{font-size:15px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*:before,*:after{transition:none!important;animation:none!important}}
@media print{.v4-header,.v4-footer,.v4-subnav{display:none!important}.v4-home{background:#fff!important;color:#222!important}.v4-tools{display:block}.v4-tool{break-inside:avoid;margin:20px 0;box-shadow:none}.v4-message-actions{display:none}}

.v4-inline-arrow{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.6;flex-shrink:0}

/* Fourth section; preserve compact navigation on existing pages. */
@media(min-width:1000px){.v4-header-row{gap:14px}.v4-nav a{font-size:12px;padding:12px 10px}.v4-contact-link{display:none}.v4-paths:has(.v4-path:nth-child(4)){grid-template-columns:repeat(4,minmax(0,1fr))}.v4-paths:has(.v4-path:nth-child(4)) .v4-path{padding:22px}.v4-paths:has(.v4-path:nth-child(4)) h2{font-size:19px}}
@media(min-width:741px) and (max-width:999px){.v4-paths:has(.v4-path:nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 7.3: one navigation for visitors with five clearly distinct tasks. */
.v4-nav a[href="/samostroy.html"]{font-weight:650}
.v4-paths:has(a[href="/samostroy.html"]) .v4-path{min-width:0;display:flex;flex-direction:column}
.v4-paths:has(a[href="/samostroy.html"]) .v4-path small{margin-top:auto;padding-top:.8rem}
.v4-paths:has(a[href="/samostroy.html"]) .v4-path h2,.v4-paths:has(a[href="/samostroy.html"]) .v4-path p{overflow-wrap:break-word}
.v4-path.vdn-self{border-color:color-mix(in srgb,var(--v4-purple) 47%,var(--v4-line))}
.v4-path.vdn-self .v4-path-top{color:var(--v4-purple)}
@media(min-width:1160px){.v4-header-row{gap:14px}.v4-nav{gap:2px}.v4-nav a{font-size:.875rem;padding:.8rem .55rem}.v4-header-actions{gap:8px}.v4-paths:has(a[href="/samostroy.html"]){grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.v4-paths:has(a[href="/samostroy.html"]) .v4-path{padding:clamp(16px,1.7vw,26px)}.v4-paths:has(a[href="/samostroy.html"]) h2{font-size:1.16rem;line-height:1.22}}
@media(min-width:741px) and (max-width:1159px){.v4-paths:has(a[href="/samostroy.html"]){grid-template-columns:repeat(6,minmax(0,1fr))}.v4-paths:has(a[href="/samostroy.html"]) .v4-path{grid-column:span 2}.v4-paths:has(a[href="/samostroy.html"]) .v4-path:nth-last-child(-n+2){grid-column:span 3}}
@media(min-width:741px) and (max-width:1159px){.v4-header-row{min-height:72px;flex-wrap:wrap;gap:0;padding-block:12px}.v4-header-actions{margin-left:auto}.v4-menu{display:inline-flex}.v4-nav{display:none;order:4;flex-basis:100%;padding-top:12px;justify-content:stretch}.v4-nav.is-open{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}.v4-nav a{font-size:.875rem;white-space:normal;text-align:center}.v4-contact-link{display:none}}
@media(max-width:740px){.v4-paths:has(a[href="/samostroy.html"]){grid-template-columns:1fr}.v4-paths:has(a[href="/samostroy.html"]) .v4-path{padding:16px 18px}.v4-paths:has(a[href="/samostroy.html"]) .v4-path h2{font-size:1.2rem}.v4-nav.is-open{display:grid;grid-template-columns:1fr;max-height:70dvh;overflow-y:auto}.v4-nav a{white-space:normal;text-align:left;padding:10px 14px;font-size:1rem}.v4-header-actions button:focus-visible,.v4-nav a:focus-visible{outline:2px solid var(--v4-purple);outline-offset:2px}}
.v73-related{margin:24px auto;padding:16px 22px;max-width:1180px;border-left:3px solid var(--v4-purple);font:600 1rem/1.45 var(--v4-font);background:var(--v4-soft)}.v73-related a{color:var(--v4-purple);text-underline-offset:.18em}

/* VDN 7.4 | One accent for action; text and meaningful states have their own contrast. */
:root{--v4-bg:#f7f8fb;--v4-surface:#fff;--v4-soft:#f0edf9;--v4-ink:#202636;--v4-muted:#536074;--v4-line:#dce1e9;--v4-purple:#57409e;--v4-purple-hover:#402d7d;--v4-shadow:none;--v74-focus:#6740c0;--v74-field:#798599;--v74-action:#57409e;--v74-on-action:#fff;--v74-flat:#eff2f6;--v74-type:"Inter","Aptos","Segoe UI",system-ui,sans-serif}
html[data-theme=dark]{--v4-bg:#151a24;--v4-surface:#1d2330;--v4-soft:#322b47;--v4-ink:#edf0f6;--v4-muted:#bac3d2;--v4-line:#3c4556;--v4-purple:#c3aeff;--v4-purple-hover:#e1d3ff;--v74-focus:#c7b0ff;--v74-field:#8290a3;--v74-action:#c3aeff;--v74-on-action:#211936;--v74-flat:#252d3b}
html{scroll-padding-top:88px}
.v74-skip{position:fixed;left:12px;top:10px;z-index:400;background:var(--v4-surface);color:var(--v4-ink);padding:11px 16px;border:2px solid var(--v74-focus);border-radius:8px;transform:translateY(-180%);font:600 1rem/1.25 var(--v74-type)}
.v74-skip:focus,.v74-skip:focus-visible{transform:none}
.v74-sr{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap!important;padding:0!important;margin:-1px!important;border:0!important}
.v4-header .v4-header-row{min-height:70px;gap:16px;padding-block:0}
.v4-header .v4-brand{gap:8px}.v4-header .v4-brand strong{font-size:1.17rem;letter-spacing:-.035em}.v4-header .v4-brand small{display:none}.v4-header .v4-brand img{width:36px;height:36px}
.v4-header .v4-nav{gap:3px}.v4-header .v4-nav a{color:var(--v4-muted);font-weight:550;font-size:.922rem;padding:10px 9px;border-radius:8px}.v4-header .v4-nav a:is([aria-current],:hover){background:var(--v4-soft);color:var(--v4-purple)}
.v4-header .v4-header-actions{gap:7px}.v4-header .v4-theme,.v4-header .v4-menu,.v4-header .p7-find-link{font:550 .9rem/1.2 var(--v74-type);min-height:44px;min-width:44px;border:1px solid var(--v4-line);border-radius:9px;background:var(--v4-surface);color:var(--v4-ink)}.v4-header .v4-menu,.v4-header .v4-theme{padding:9px 11px}.v4-header .v4-contact-link{display:none}
.v4-header :focus-visible,main :where(a,button,input,select,textarea,summary):focus-visible,.v4-footer a:focus-visible{outline:3px solid var(--v74-focus);outline-offset:3px}
.v4-footer .v4-footer-row a{color:var(--v4-muted);font-size:.91rem}.v4-footer{background:var(--v4-surface);border-top:1px solid var(--v4-line)}
@media(min-width:1160px){.v4-header .v4-menu{display:none}.v4-header .v4-nav{display:flex}}
@media(max-width:1159px){
 .v4-header .v4-header-row{position:relative;flex-wrap:nowrap;gap:8px;padding-block:8px;min-height:64px}.v4-header .v4-header-actions{margin-left:auto}.v4-header .v4-menu{display:inline-flex}.v4-header .v4-nav{display:none;padding:8px;margin:0;position:absolute;top:calc(100% + 1px);right:0;left:auto;width:min(340px,100%);z-index:3;max-height:70vh;max-height:70dvh;overflow:auto;border:1px solid var(--v4-line);border-radius:0 0 12px 12px;background:var(--v4-surface);box-shadow:0 14px 30px rgba(11,20,39,.13)}
 .v4-header .v4-nav.is-open{display:grid;grid-template-columns:1fr;gap:2px}.v4-header .v4-nav a{display:block;text-align:left;font-size:1rem;min-height:44px;padding:12px 14px}
}
@media(max-width:740px){.v4-header .v4-wrap,.v4-footer .v4-wrap{width:calc(100% - 32px)}.v4-header .v4-theme [data-theme-text]{display:none}.v4-header .v4-theme{padding-inline:8px}.v4-header .v4-brand strong{font-size:1.05rem}.v4-header .v4-brand img{width:32px;height:32px}.v4-header .v4-nav{left:0;width:auto}.v4-header .v4-header-actions{gap:5px}}
@media(max-width:355px){.v4-header .v4-menu{padding-inline:8px}.v4-header .v4-header-row{gap:4px}.v4-header .v4-wrap{width:calc(100% - 20px)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.v4-header *,.hm74 *,.f74 *{transition:none!important;animation:none!important}}
@media print{.v74-skip,.v4-header{display:none!important}}
/* Keep all three header controls accessible on a 320px phone with a scrollbar. */
@media(max-width:355px){.v4-header .v4-brand{gap:5px}.v4-header .v4-brand strong{font-size:.95rem}.v4-header .v4-brand img{width:27px;height:27px}.v4-header .v4-header-actions{gap:3px}}
@media(max-width:355px){body[data-c74-editor]{min-width:0}}
