/* Solid, non-modal cookie controls. Neither category is implied by scrolling. */
.cookie-panel { position:fixed; z-index:100; inset:auto 20px 20px; max-width:1360px; margin:0 auto; box-sizing:border-box; display:grid; grid-template-columns:1.1fr 1.3fr auto; gap:28px; padding:24px; background:#fff; color:#161616; border:1px solid #161616; border-radius:5px; box-shadow:0 8px 32px #0002; font:400 14px/1.5 'IBM Plex Sans',Arial,sans-serif; }
.cookie-panel[hidden] { display:none; }
.cookie-panel h2 { margin:0 0 8px; font-size:20px; line-height:1.3; font-weight:500; letter-spacing:-.02em; }
.cookie-panel p { margin:0 0 8px; font-size:13px; }
.cookie-panel a { font-size:12px; text-underline-offset:3px; }
.cookie-options { display:flex; flex-direction:column; gap:16px; }
.cookie-option { display:flex; align-items:flex-start; gap:10px; cursor:pointer; }
.cookie-option input { flex:0 0 auto; width:20px; height:20px; margin:0; accent-color:#d8180b; }
.cookie-option strong { display:block; font-size:14px; font-weight:500; }
.cookie-option span span { display:block; margin-top:3px; font-size:12px; color:#525252; }
.cookie-actions { display:flex; flex-direction:column; gap:8px; justify-content:center; }
.cookie-actions > button { min-height:44px; padding:10px 16px; border:1px solid #161616; border-radius:5px; background:#fff; color:#161616; cursor:pointer; font:500 13px/1.4 'IBM Plex Sans',Arial,sans-serif; }
.cookie-actions > [data-cookie-save] { background:#d8180b; border-color:#d8180b; color:#fff; }
.cookie-actions > .cookie-close { position:absolute; right:5px; top:5px; min-height:28px; width:28px; padding:0; border:0; font-size:23px; background:transparent; }
.cookie-panel:not([data-saved="true"]) .cookie-close { display:none; }
.cookie-settings { padding:8px 0; min-height:44px; border:0; background:none; color:inherit; font:inherit; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.cookie-panel :is(button,input,a):focus-visible, .cookie-settings:focus-visible { outline:2px solid #d8180b; outline-offset:3px; }
html[lang="ru"] .cookie-panel { font-weight:300; }
html[lang="ru"] .cookie-panel h2 { font-weight:400; font-size:18px; }
html[lang="ru"] .cookie-option strong, html[lang="ru"] .cookie-settings { font-weight:400; }
html[lang="ru"] .cookie-actions > button { font-weight:500; }
@media(max-width:1055px) { .cookie-panel { grid-template-columns:1fr 1.2fr; gap:18px; } .cookie-actions { grid-column:1/-1; flex-direction:row; } .cookie-actions > button { flex:1; } }
@media(max-width:671px) {
  .cookie-panel { inset:auto 12px 12px; max-height:calc(100svh - 24px); overflow:auto; padding:20px; grid-template-columns:minmax(0,1fr); gap:16px; }
  .cookie-panel h2 { font-size:18px; }
  .cookie-panel p { font-size:12px; }
  .cookie-options { gap:12px; }
  .cookie-actions { flex-direction:column; }
  .cookie-actions > button { font-size:12px; }
}
