/* Palettes distinguish services; typography and component geometry stay shared. */
body.theme-bitrix{color-scheme:light;--bg:#edf3f8;--ink:#172e43;--muted:#475f74;--line:#c0d0de;--accent:#1c5f91;--button-ink:#fff;--surface:#dfeaf2;--input:#f8fbfd;--error:#a52222}
body.theme-marketing{color-scheme:light;--bg:#eef3eb;--ink:#203d30;--muted:#4b6455;--line:#c2d1c0;--accent:#286144;--button-ink:#fff;--surface:#dce9d9;--input:#f8fbf5;--error:#a52222}
body.theme-panel{color-scheme:dark;--bg:#172c47;--ink:#f1f5fa;--muted:#c0cfdf;--line:#45617c;--accent:#9dcdf1;--button-ink:#172c47;--surface:#203b5b;--input:#1c3452;--error:#ffb9b1}
body.theme-integrations{color-scheme:light;--bg:#eaf3f2;--ink:#193f41;--muted:#456466;--line:#b7d2d0;--accent:#16686b;--button-ink:#fff;--surface:#d4e8e6;--input:#f7fbfa;--error:#a52222}
body.theme-editorial{color-scheme:light;--bg:#f4f1e9;--ink:#303b35;--muted:#5a635b;--line:#cdcdbf;--accent:#3d604d;--button-ink:#fff;--surface:#e7e9dc;--input:#fbfaf6;--error:#a52222}
body.theme-marking{--bg:#eeefeb;--ink:#343739;--muted:#535a58;--line:#c9ceca;--surface:#e0e4df;--input:#fafbf7;--accent:#ffe000;--button-ink:#343739}
.page-context{position:sticky;top:0;z-index:1;background:var(--bg);border-bottom:1px solid var(--line)}.context-row{display:flex;align-items:center;gap:26px;padding-block:12px;min-height:83px}.back-link{display:inline-flex;align-items:center;gap:12px;flex-shrink:0;max-width:260px;min-height:48px;padding:9px 16px 10px 12px;border:1px solid var(--accent);border-radius:2px;color:var(--accent);background:var(--surface)}.back-link:hover{text-decoration:none;background:var(--accent);color:var(--button-ink)}.back-arrow{font-size:25px;line-height:1}.back-copy{display:flex;flex-direction:column;line-height:1.3;min-width:0}.back-copy strong{font-size:14px;font-weight:600}.back-copy>span{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;margin-top:4px}.page-trail{min-width:0;flex:1}.page-trail ol{display:flex;align-items:center;list-style:none;padding:0;margin:0;gap:10px;min-width:0;font-size:12px;color:var(--muted)}.page-trail li{min-width:0}.page-trail li:not(:last-child){flex-shrink:0}.page-trail li+li:before{content:'/';margin-right:10px;color:var(--muted)}.page-trail [aria-current]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--ink)}.direction-label{display:flex;flex-direction:column;border-left:3px solid var(--accent);padding-left:13px;line-height:1.35;max-width:230px}.direction-label>span{font-size:10px;color:var(--muted);margin-bottom:4px}.direction-label strong{font-weight:500;font-size:13px}.context-row+.hero{padding-top:40px}html{scroll-padding-top:110px}.article-prose>section{scroll-margin-top:110px}.article-toc{top:110px}.theme-bitrix .nav-group>summary,.theme-marketing .nav-group>summary,.theme-panel .nav-group>summary,.theme-integrations .nav-group>summary{color:var(--accent)}.theme-marking .back-link{border-color:#74754b;color:var(--ink)}.theme-marking .back-link:hover{background:var(--accent)}.theme-marking .direction-label{border-left-color:#b29c00}
/* The yellow is a real surface, with grey structure, not merely an underline. */
.theme-marking .offer-hero,.theme-marking .hero{background:#ffe000;border-bottom:1px solid #beb35f}.theme-marking .offer-aside{border-left-color:#404744}.theme-marking .offer-aside .aside-heading{color:#444a41}.theme-marking .hero .eyebrow,.theme-marking .hero .lead,.theme-marking .offer-aside>p:last-child{color:#424b43}.theme-marking .hero h1 em{text-decoration-color:#737754}.theme-marking .form-section{background:#ffe000;padding-inline:32px;margin-top:12px;margin-bottom:32px;border-top:0;border-bottom:0}.theme-marking .form-intro>p,.theme-marking .form-intro .hours{color:#424b43}.theme-marking .field input,.theme-marking .field select,.theme-marking .field textarea{background:#fffef2;border-color:#8d927b}.theme-marking .marking-choice{padding:10px 28px 28px;background:var(--surface);border-top:6px solid #ffe000}.theme-marking .offer-rows article{border-top-color:#aaa997}.theme-marking .faq{border-top:5px solid #ffe000;padding-top:24px}.theme-marking .faq summary{color:var(--ink)}
/* Four scanning-frame corners, drawn in CSS. This is a button, not the system logo. */
.theme-marking .btn{--corner-ink:#343739;--button-surface:#ffe000;position:relative;border:0;border-radius:0;background:var(--button-surface);color:#343739;padding:18px 28px;min-height:58px;isolation:isolate;filter:none}.theme-marking .btn:before{content:'';pointer-events:none;position:absolute;inset:0;color:var(--corner-ink);background:linear-gradient(currentColor,currentColor) left top/17px 3px no-repeat,linear-gradient(currentColor,currentColor) left top/3px 17px no-repeat,linear-gradient(currentColor,currentColor) right top/17px 3px no-repeat,linear-gradient(currentColor,currentColor) right top/3px 17px no-repeat,linear-gradient(currentColor,currentColor) left bottom/17px 3px no-repeat,linear-gradient(currentColor,currentColor) left bottom/3px 17px no-repeat,linear-gradient(currentColor,currentColor) right bottom/17px 3px no-repeat,linear-gradient(currentColor,currentColor) right bottom/3px 17px no-repeat}.theme-marking .btn:hover{background:#fff3a1;filter:none}.theme-marking .marking-choice .btn[aria-pressed=false]{--button-surface:transparent;border:0}.theme-marking .marking-choice .btn[aria-pressed=false]:hover{background:#fff3a1}.theme-marking .btn:focus-visible{outline:3px solid #343739;outline-offset:6px}.theme-marking .article-next{background:#ffe000;border-left-color:#343739}.theme-marking .article-heading{border-top:7px solid #ffe000}.theme-marking .case-thesis{border-color:#b9a300}.theme-marking .industry-sector{color:#6b5f00}
@media(max-width:940px){.context-row{gap:18px}.direction-label{max-width:190px}.back-link{max-width:220px}.back-copy>span{max-width:160px}.page-trail ol{font-size:11px;gap:7px}.page-trail li+li:before{margin-right:7px}}
@media(max-width:700px){.context-row{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px;padding-block:11px}.back-link{justify-self:start;max-width:100%;min-height:46px;padding:7px 12px;gap:9px}.back-copy strong{font-size:13px}.back-copy>span{max-width:135px;font-size:10px}.back-arrow{font-size:23px}.direction-label{justify-self:end;max-width:175px;padding-left:10px}.direction-label strong{font-size:11px}.direction-label>span{font-size:9px}.page-trail{grid-column:1/-1;grid-row:2;max-width:100%}.page-trail ol{font-size:10px}.page-context{position:static}html{scroll-padding-top:22px}.article-prose>section{scroll-margin-top:22px}.article-toc{top:auto}.theme-marking .form-section{padding-inline:20px}.theme-marking .marking-choice{padding-inline:20px}.theme-marking .btn{padding:17px 22px;min-height:56px;font-size:14px}}
