body[data-theme]{--bg:#f5f7f9;--surface:#fff;--ink:#202923;--muted:#5c6860;--line:#dbe2df;--green:#507516;--lime:#e5f4c7;--soft:#edf3e7;--focus:#507516;--shadow:0 8px 30px #15283805;color-scheme:light}
body[data-theme=dark]{--bg:#151b18;--surface:#202922;--ink:#f1f5ee;--muted:#b7c2b9;--line:#3f4e42;--green:#b6dd88;--lime:#34462c;--soft:#2b392e;--focus:#b6dd88;color-scheme:dark}
body[data-theme=blue-light]{--bg:#f2f5fc;--surface:#fff;--ink:#142139;--muted:#52637b;--line:#d7e0f0;--green:#235dda;--lime:#e1eaff;--soft:#eaf0ff;--focus:#235dda}
body[data-theme=blue-dark]{--bg:#0d1423;--surface:#172239;--ink:#edf3ff;--muted:#acbcd5;--line:#344761;--green:#83b4ff;--lime:#263b60;--soft:#1f304c;--focus:#83b4ff;color-scheme:dark}
body[data-theme=paper]{--bg:#f7f3eb;--surface:#fffcf6;--ink:#332c25;--muted:#736656;--line:#e1d7c8;--green:#8b542b;--lime:#f1e1c7;--soft:#f3eadc;--focus:#8b542b}
body{transition:background-color .15s,color .15s}.header{border:0;padding:26px 0;gap:20px}.brand{gap:9px;font-size:30px;letter-spacing:-1.4px;white-space:nowrap}.brand .brand-mark{width:30px;height:30px;color:var(--green)}.brand .wordmark{color:var(--ink);font-size:30px;line-height:1}.brand .doc-sticker{font-size:12px;letter-spacing:1px;font-weight:750;border:1px solid var(--line);padding:5px 7px;background:var(--soft);color:var(--green);border-radius:6px;transform:rotate(-5deg);margin-left:2px}.brand-caption{font-size:12px;color:var(--muted);border-left:1px solid var(--line);padding-left:18px;margin-right:auto}.header nav{gap:16px}.theme{min-width:0;display:flex;align-items:center;gap:8px;font-size:13px;background:var(--surface);padding:10px 12px}.theme svg{width:19px;height:19px}.services-menu{position:relative}.services-menu summary{list-style:none;cursor:pointer;font-size:13px;padding:12px 6px;font-weight:650}.services-menu summary::-webkit-details-marker{display:none}.services-panel{position:absolute;right:0;top:100%;z-index:60;min-width:220px;border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:8px;box-shadow:0 12px 36px #0002}.services-panel a{display:block;padding:10px 12px!important;border-radius:8px}.services-panel a:hover{background:var(--soft)}.hero{padding-top:54px}.hero h1{letter-spacing:-2.8px}.search-box button{background:var(--green);color:var(--surface)}body[data-theme=dark] .search-box button,body[data-theme=blue-dark] .search-box button{color:var(--bg)}.featured,.featured-pdf,.featured-summa{background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink)!important}.featured h2,.feature-icon,.tool-icon,.open-arrow{color:var(--green)!important}.feature-action,.first-action{background:var(--soft)!important;color:var(--green)!important;border-color:var(--line)!important}.tool,.tool.design,.tool.documents,.tool.calculations,.tool.play{background:var(--surface)!important;border-color:var(--line)!important}.tool-icon{background:var(--soft)!important}.featured-pdf .feature-icon,.featured-summa .feature-icon{background:var(--soft)!important}.feedback{border:1px solid var(--line);border-radius:20px;padding:28px;background:var(--surface)}.feedback h3{font-size:22px;letter-spacing:-.5px;margin:0 0 12px}.feedback a{color:var(--green);display:inline-block;padding:6px 0}.about{gap:70px}.footer{display:block;padding-top:32px;padding-bottom:28px}.footer-top,.footer-bottom{display:flex;align-items:center;gap:24px;justify-content:space-between}.footer-top>span{margin-right:auto;font-size:14px;color:var(--muted)}.footer-bottom{border-top:1px solid var(--line);margin-top:24px;padding-top:20px;font-size:12px;color:var(--muted)}.footer-bottom nav{display:flex;gap:18px;flex-wrap:wrap}.footer-bottom button{font-size:12px;padding:0;border:0;background:none;min-height:36px;color:var(--muted)}.footer-note{font-size:12px!important;line-height:1.6;color:var(--muted);max-width:850px;margin-top:12px!important}.theme-dialog,.info-dialog{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:22px;padding:24px;max-width:min(540px,calc(100vw - 24px));width:460px;max-height:85dvh;overflow:auto;box-shadow:0 30px 90px #0003}.theme-dialog::backdrop,.info-dialog::backdrop{background:#07101b66;backdrop-filter:blur(4px)}.dialog-title{display:flex;align-items:center;justify-content:space-between;gap:16px}.dialog-title h2{font-size:24px;margin:0;letter-spacing:-.6px}.dialog-title button{font-size:22px;padding:0;width:38px;min-height:38px;border:0;background:var(--soft)}.theme-dialog>p{color:var(--muted);font-size:14px;margin-top:8px}.theme-options{display:grid;gap:8px}.theme-option{display:flex;align-items:center;gap:14px;padding:12px;text-align:left;border:1px solid var(--line);border-radius:13px;background:var(--surface)}.theme-option[aria-pressed=true]{border-color:var(--green);background:var(--soft)}.theme-option strong{font-size:14px;display:block}.theme-option small{font-size:12px;color:var(--muted);display:block;margin-top:2px}.swatch{width:62px;height:40px;border-radius:8px;padding:9px;display:flex;align-items:center;gap:3px;border:1px solid #8883;background:#f4f6f8}.swatch i{display:block;width:10px;height:22px;border-radius:3px;background:#507516}.swatch i+ i{background:#a7b28c}.swatch i+ i+i{background:#dde5cc}.swatch.dark{background:#151b18}.swatch.dark i{background:#b6dd88}.swatch.blue-light{background:#f2f5fc}.swatch.blue-light i{background:#235dda}.swatch.blue-light i+i{background:#85aaf4}.swatch.blue-light i+i+i{background:#cadcff}.swatch.blue-dark{background:#0d1423}.swatch.blue-dark i{background:#83b4ff}.swatch.blue-dark i+i{background:#3b6099}.swatch.blue-dark i+i+i{background:#233b61}.swatch.paper{background:#f7f3eb}.swatch.paper i{background:#8b542b}.swatch.paper i+i{background:#bb9673}.swatch.paper i+i+i{background:#e8d8c1}.selected-mark{margin-left:auto;color:var(--green);opacity:0}.theme-option[aria-pressed=true] .selected-mark{opacity:1}.info-dialog p,.info-dialog li{color:var(--muted);font-size:14px}.info-dialog a{color:var(--green);text-decoration:underline}.info-dialog ul{padding-left:20px}@media(max-width:700px){.wrap{width:calc(100% - 32px)}.header{gap:10px;padding:20px 0}.brand-caption{display:none}.header nav{gap:8px}.brand,.brand .wordmark{font-size:25px}.brand .brand-mark{width:25px;height:25px}.brand .doc-sticker{font-size:10px;padding:4px 5px}.services-menu summary{font-size:12px}.theme{padding:9px;gap:5px}.theme span{font-size:12px}.hero{padding-top:30px}.hero h1{letter-spacing:-1.8px}.footer-top{flex-wrap:wrap;gap:12px}.footer-top>span{width:100%;order:3}.footer-bottom{display:block}.footer-bottom nav{margin-top:10px;gap:8px 18px}.about{gap:24px}.feedback{padding:22px}.theme-dialog{padding:20px}.dialog-title h2{font-size:22px}}
@media(prefers-reduced-motion:reduce){body{transition:none}}
body[data-theme=orange-light]{--bg:#f8f5f1;--surface:#fffdfb;--ink:#29251f;--muted:#6a6259;--line:#e6ddd3;--green:#b94b24;--lime:#fae3d6;--soft:#faeee5;--focus:#b94b24}
body[data-theme=orange-dark]{--bg:#1a1715;--surface:#28231f;--ink:#faf0e6;--muted:#cbb7a6;--line:#52443a;--green:#ffac7e;--lime:#513527;--soft:#3c2b22;--focus:#ffac7e;color-scheme:dark}
body[data-theme=orange-dark] .search-box button{color:var(--bg)}
.swatch.orange-light{background:#f8f5f1}.swatch.orange-light i{background:#b94b24}.swatch.orange-light i+i{background:#e4a386}.swatch.orange-light i+i+i{background:#fae3d6}.swatch.orange-dark{background:#1a1715}.swatch.orange-dark i{background:#ffac7e}.swatch.orange-dark i+i{background:#9d6346}.swatch.orange-dark i+i+i{background:#513527}
.services-panel{width:740px;max-width:calc(100vw - 32px);padding:22px;max-height:75dvh;overflow:auto}.menu-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-bottom:16px;border-bottom:1px solid var(--line);font-size:16px}.menu-heading a{font-size:12px;color:var(--green);padding:0!important}.menu-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:18px 0}.menu-columns h3{font-size:13px;margin:0 0 3px;color:var(--green)}.menu-columns p{font-size:11px;font-weight:400;color:var(--muted);margin:0 0 12px}.menu-columns a{padding:9px 8px!important;margin-left:-8px}.menu-columns a strong{display:block;font-size:13px;font-weight:650}.menu-columns a span{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:3px}.menu-bottom{display:flex;align-items:center;gap:16px;padding-top:14px;border-top:1px solid var(--line);font-size:12px}.menu-bottom span{color:var(--muted);margin-right:auto}.menu-bottom a{padding:3px 0!important}.theme-options{gap:6px}.theme-option{padding:10px 12px}
@media(max-width:700px){.services-panel{position:fixed;top:85px;left:16px;right:16px;width:auto;padding:18px;max-height:calc(100dvh - 110px)}.menu-columns{grid-template-columns:1fr;gap:16px}.menu-columns section{display:grid;grid-template-columns:1fr 1fr;column-gap:12px}.menu-columns h3,.menu-columns p{grid-column:1/-1}.menu-columns a{margin:0}.menu-bottom{flex-wrap:wrap;gap:12px}.menu-bottom span{width:100%}}
@media(max-width:390px){.services-menu summary{font-size:0}.services-menu summary::before{content:'Сервисы';font-size:12px}.services-menu summary span{font-size:12px;margin-left:4px}}

.brand .doc-sticker{transform:rotate(-3deg);padding:5px 8px;letter-spacing:.4px;white-space:nowrap}.domain-tail{opacity:.72;letter-spacing:0}.contact-pending{display:inline-block;padding:6px 0;color:var(--muted);font-size:14px}@media(max-width:390px){.brand .doc-sticker{padding:4px 5px}.brand{gap:6px}.theme{padding:8px}}

/* Adapter: shared shell variables, service layout retained. */
body[data-theme]{--accent:var(--green)}
.header{display:flex;align-items:center}.header nav{display:flex;align-items:center}.header .brand{display:flex;align-items:center}.header .brand-caption{flex:1}
.brand .brand-mark{flex-shrink:0}.footer .brand{display:flex;align-items:center}.footer{border-top:1px solid var(--line)}.footer .footer-top{align-items:center}.footer .footer-top>a:last-child{font-size:12px;white-space:nowrap}.footer .footer-bottom nav{margin-left:auto}.footer-contacts{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-top:16px;font-size:12px}.footer-contacts span{color:var(--muted);font-size:11px}
.theme-dialog button[data-close],.info-dialog button[data-close]{min-width:44px;min-height:44px}.theme-dialog .swatch{flex-shrink:0}.services-panel a{text-decoration:none}.menu-columns section{min-width:0}.menu-columns a{overflow-wrap:anywhere}.menu-heading a{min-width:80px}.menu-bottom a{font-size:12px}.theme-dialog .theme-option{text-align:left}.theme-option .selected-mark{flex-shrink:0}.info-dialog #info-content{font-size:14px;line-height:1.6}.info-dialog li{margin-bottom:8px}.info-dialog a{overflow-wrap:anywhere}
@media(max-width:700px){.header{flex-wrap:nowrap;gap:8px}.header nav{gap:6px}.header .brand-caption{display:none}.hero{padding-top:30px}.footer-top>span{flex-basis:100%}.footer-bottom nav{margin-left:0}.footer-contacts{gap:8px 14px}.services-panel{top:80px}.theme-dialog{width:460px}.info-dialog{width:460px}.header .brand{white-space:nowrap}}
@media(max-width:360px){.header .brand,.header .brand .wordmark{font-size:22px}.header .brand .brand-mark{width:23px;height:23px}.header .brand .doc-sticker{font-size:9px}.header .theme{padding:8px 7px}.header nav{margin-left:0}.services-menu summary{padding:12px 0}.footer{display:block}}

.footer-bottom nav a{font-size:12px;min-height:44px;display:inline-flex;align-items:center;color:var(--muted)}
