/* legal pages, links row, form notice and cookie banner */
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; padding: 18px 16px 22px; font: 14px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: inherit; opacity: 0.85; }
.legal-links a, .legal-links button { color: inherit; background: none; border: 0; padding: 10px 2px; min-height: 44px; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.form-notice { margin: 10px 0 0; font-size: 13px; line-height: 1.5; opacity: 0.8; }
.form-notice a { color: inherit; text-decoration: underline; }
.legal-page { margin: 0; background: #fff; color: #1d1b22; font: 17px/1.7 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.legal-page header { padding: 18px clamp(18px, 4vw, 48px); border-bottom: 1px solid #e5e2da; }
.legal-page header a { color: #1d1b22; text-decoration: none; font-weight: 600; }
.legal-page main { max-width: 760px; margin: 0 auto; padding: clamp(28px, 6vw, 64px) clamp(18px, 4vw, 32px) 40px; }
.legal-page h1 { font-size: clamp(30px, 6vw, 44px); line-height: 1.1; margin: 0 0 8px; }
.legal-page h2 { font-size: 22px; margin: 34px 0 8px; }
.legal-page p, .legal-page li { margin: 0 0 12px; }
.legal-page ul { padding-left: 22px; }
.legal-page .meta { color: #5a5666; font-size: 15px; margin-bottom: 26px; }
.legal-page .tw { overflow-x: auto; margin: 8px 0 18px; }
.legal-page table { border-collapse: collapse; width: 100%; font-size: 15px; }
.legal-page th, .legal-page td { border: 1px solid #ddd8cc; padding: 8px 10px; text-align: left; vertical-align: top; }
.legal-page a { color: #1d1b22; }
.cookie { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 950; max-width: 760px; margin: 0 auto; padding: 18px 20px; background: #fff; color: #1d1b22; border: 1px solid rgba(0,0,0,.14); border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.25); display: grid; gap: 14px; font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; }
.cookie a { color: inherit; text-decoration: underline; }
.cookie__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie__btns button { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid #1d1b22; background: transparent; color: #1d1b22; font: 600 15px system-ui, sans-serif; cursor: pointer; }
.cookie__btns button[data-cookie="accept"] { background: #1d1b22; color: #fff; }
@media (max-width: 900px) { .cookie { bottom: 80px; } }

.a11y-btn { position: fixed; left: 14px; bottom: 14px; z-index: 940; width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: #1d1b22; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 22px rgba(0,0,0,.35); }
.a11y-btn:hover { background: #3a3744; }
.a11y-btn:focus-visible, .a11y-panel button:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
#a11y-tools.above-bar .a11y-btn { bottom: 88px; }
#a11y-tools.above-bar .a11y-panel { bottom: 146px; }
.a11y-panel { position: fixed; left: 14px; bottom: 72px; z-index: 941; width: min(290px, calc(100vw - 28px)); max-height: calc(100vh - 100px); overflow: auto; padding: 14px; background: #fff; color: #1d1b22; border: 1px solid rgba(0,0,0,.2); border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.3); display: grid; gap: 8px; font: 15px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.a11y-panel[hidden] { display: none; }
.a11y-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.a11y-head strong { font-size: 16px; }
.a11y-x { width: 44px; height: 44px; border: 0; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; color: inherit; }
.a11y-pair { display: flex; gap: 6px; }
.a11y-pair button, .a11y-opt { min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1.5px solid #1d1b22; background: #fff; color: #1d1b22; font: 600 15px system-ui, sans-serif; cursor: pointer; text-align: left; }
.a11y-pair button { min-width: 48px; text-align: center; }
.a11y-opt[aria-pressed="true"] { background: #1d1b22; color: #fff; }
.a11y-reset { border-style: dashed; }
.a11y-note { margin: 4px 0 0; font-size: 12.5px; opacity: .75; }
html.a11y-dark :is(img, video, canvas, iframe, picture) { filter: invert(1) hue-rotate(180deg); }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-font body, html.a11y-font body *:not([class^="ph"]):not([class*=" ph-"]):not(i) { font-family: Verdana, Tahoma, Arial, sans-serif !important; letter-spacing: 0.02em !important; word-spacing: 0.08em !important; }
html.a11y-font p, html.a11y-font li { line-height: 1.7 !important; }
html.a11y-calm *, html.a11y-calm *::before, html.a11y-calm *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
@media print { #a11y-tools { display: none; } }
