.yh-privacy-fields { margin: 22px 0; text-align: left; }
.yh-privacy-fields label { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 14px; color: #536157; font-size: 13px; font-weight: 400; line-height: 1.55; }
.yh-privacy-fields input[type="checkbox"] { appearance: auto; position: static; opacity: 1; display: block; width: 19px; height: 19px; flex: 0 0 19px; margin: 2px 0 0; accent-color: #15513f; }
.yh-privacy-fields a { color: #15513f; text-decoration: underline; text-underline-offset: 3px; }
.yh-privacy-fields input:focus-visible { outline: 2px solid #15513f; outline-offset: 3px; }
.yh-privacy-fields label.is-invalid { color: #a43429; }
.yh-privacy-fields label.is-invalid input { outline: 1px solid #b13a2d; outline-offset: 2px; }
.yh-privacy-fields label.is-shaking { animation: yh-privacy-shake .28s ease-in-out; }
@keyframes yh-privacy-shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }
@media(prefers-reduced-motion:reduce) { .yh-privacy-fields label.is-shaking { animation: none; } }
.yh-cookie-notice { position: fixed; z-index: 1060; bottom: 18px; left: 18px; max-width: 520px; padding: 22px; border: 1px solid #d9d1c4; border-radius: 18px; background: #fffdf8; box-shadow: 0 8px 30px #183f3126; color: #31473b; font-size: 14px; line-height: 1.55; }
.yh-cookie-notice[hidden] { display: none; }
.yh-cookie-notice p { margin: 0 0 14px; }
.yh-cookie-notice a { color: #15513f; text-decoration: underline; }
.yh-cookie-notice__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.yh-cookie-notice button { border: 1px solid #15513f; border-radius: 24px; padding: 10px 16px; background: transparent; color: #15513f; font: inherit; cursor: pointer; }
.yh-cookie-notice button[data-cookie-ack] { background: #15513f; color: #fff; }
#content.yh-legal-page { padding-top: 24px; padding-bottom: 64px; }
.yh-legal-page > .content-title { max-width: 900px; margin: 20px 0 18px; font-size: 36px; font-weight: 500; line-height: 1.22; color: #203c2e; text-wrap: balance; }
.yh-legal-page > br { display: none; }
.yh-legal-document { max-width: 860px; color: #34483d; font-size: 16px; font-weight: 400; line-height: 1.75; }
.yh-legal-document p { margin: 0 0 16px; font-size: 16px; font-weight: 400; line-height: 1.75; text-align: left; text-wrap: pretty; }
.yh-legal-document .yh-legal-date { margin-bottom: 14px; color: #768078; font-size: 13px; line-height: 1.5; }
.yh-legal-document .yh-legal-intro { max-width: 760px; margin-bottom: 28px; color: #5e6d63; font-size: 17px; line-height: 1.65; }
.yh-legal-document a { color: #15513f; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.yh-legal-document a:hover { color: #31745b; }
.yh-legal-document a:focus-visible { outline: 2px solid #15513f; outline-offset: 4px; }
.yh-legal-toc { padding: 22px 26px; margin: 0 0 38px; border: 1px solid #e7dfd2; border-radius: 16px; background: #faf6ee; }
.yh-legal-toc > strong { display: block; margin-bottom: 12px; font-size: 15px; font-weight: 600; }
.yh-legal-toc ol { columns: 2; column-gap: 32px; padding-left: 20px; margin: 0; }
.yh-legal-toc li { break-inside: avoid; margin: 0 0 7px; padding-left: 3px; font-size: 14px; line-height: 1.55; }
.yh-legal-toc li::marker { color: #809184; }
.yh-legal-toc a { text-decoration: none; }
.yh-legal-section { margin: 0 0 34px; scroll-margin-top: 92px; }
.yh-legal-section h2 { margin: 0 0 18px; color: #203c2e; font-size: 23px; font-weight: 600; line-height: 1.35; text-align: left; text-wrap: balance; }
.yh-legal-document .yh-legal-clause { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 10px; margin-bottom: 16px; }
.yh-legal-clause__number { color: #809184; font-size: 14px; line-height: 2; font-variant-numeric: tabular-nums; }
.yh-legal-document strong { font-weight: 600; }
.yh-legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 36px; align-items: start; }
.yh-legal-related { position: sticky; top: 90px; max-height: calc(100vh - 110px); overflow-y: auto; padding: 22px; border: 1px solid #e7dfd2; border-radius: 16px; background: #faf6ee; }
.yh-legal-related .yh-legal-toc { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.yh-legal-related .yh-legal-toc ol { columns: 1; padding-left: 18px; }
.yh-legal-related .yh-legal-toc li { margin-bottom: 9px; padding: 0; border: 0; }
.yh-legal-related .yh-legal-related__heading { margin-top: 22px; padding-top: 20px; border-top: 1px solid #e7dfd2; }
.yh-legal-related h2 { margin: 0 0 16px; color: #203c2e; font-size: 17px; font-weight: 500; line-height: 1.4; }
.yh-legal-related ul { margin: 0; padding: 0; list-style: none; }
.yh-legal-related li + li { margin-top: 14px; padding-top: 14px; border-top: 1px solid #e7dfd2; }
.yh-legal-related a { display: block; color: #15513f; font-size: 14px; font-weight: 400; line-height: 1.55; text-decoration: none; }
.yh-legal-related a:hover { text-decoration: underline; text-underline-offset: 3px; }
.yh-legal-related a:focus-visible { outline: 2px solid #15513f; outline-offset: 4px; }
@media(max-width:991px) { .yh-legal-layout { grid-template-columns: minmax(0,1fr); gap: 20px; } .yh-legal-related { position: static; max-height: none; overflow: visible; } }
.yh-footer a[href*="personal-data-policy"], .yh-footer a[href*="yandex-agreement"] { max-width: 34ch; font-size: 13px; line-height: 1.65; }
@media (max-width: 767px) {
  #content.yh-legal-page { padding-top: 12px; padding-bottom: 36px; }
  .yh-legal-page > .content-title { margin-top: 16px; font-size: 28px; }
  .yh-legal-document, .yh-legal-document p { font-size: 14px; line-height: 1.75; }
  .yh-legal-document .yh-legal-intro { font-size: 15px; }
  .yh-legal-toc { padding: 18px; margin-bottom: 28px; }
  .yh-legal-toc ol { columns: 1; }
  .yh-legal-section { margin-bottom: 28px; }
  .yh-legal-section h2 { font-size: 20px; }
  .yh-legal-document .yh-legal-clause { grid-template-columns: 32px minmax(0, 1fr); gap: 8px; }
  .yh-legal-clause__number { font-size: 12px; }
}
@media(max-width:575px) { .yh-cookie-notice { left: 12px; right: 12px; bottom: 12px; padding: 18px; } .yh-privacy-fields label { font-size: 12px; } }
