.cookie-panel,.cookie-dialog{font-family:"Noto Sans",Arial,sans-serif;color:#263c50;background:#fff;border:1px solid #d8e3ed;border-radius:12px;box-shadow:0 12px 45px #12345626;padding:24px}
.cookie-panel{position:fixed;z-index:1400;left:24px;bottom:24px;width:min(520px,calc(100% - 48px));max-height:calc(100dvh - 110px);overflow:auto}
.cookie-panel[hidden]{display:none}
.cookie-panel h2,.cookie-dialog h2{font:400 27px/1.15 "Changan Uni",Arial,sans-serif;color:#0b457f;margin:0 0 12px}
.cookie-panel p,.cookie-dialog p{font-size:13px;line-height:1.6;margin:10px 0}
.cookie-panel a,.cookie-dialog a{color:#0b457f;text-decoration:underline;font-size:13px}
.cookie-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}
.cookie-actions button{min-height:44px;border:1px solid #0b457f;border-radius:5px;background:#fff;color:#0b457f;padding:10px 14px;font-size:12px;font-weight:600}
.cookie-actions [data-accept],.cookie-actions [data-save]{background:#0b457f;color:white}
.cookie-dialog{width:min(560px,calc(100% - 32px));max-height:calc(100dvh - 40px);overflow:auto}
.cookie-dialog::backdrop{background:#10283c88}
.cookie-dialog label{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;margin-top:20px}
.cookie-dialog input{width:18px;height:18px;accent-color:#0b457f}
.cookie-reopen{display:block;border:0;background:transparent;color:inherit;text-decoration:underline;font:inherit;font-size:12px;padding:12px 0;margin-top:12px}
.cookie-panel button:focus-visible,.cookie-dialog button:focus-visible,.cookie-reopen:focus-visible{outline:3px solid #708ec9;outline-offset:3px}
@media(max-width:1024px){.cookie-panel{left:12px;bottom:calc(72px + env(safe-area-inset-bottom));width:calc(100% - 24px);padding:18px;max-height:calc(100dvh - 155px)}}
@media(max-width:400px){.cookie-actions{display:grid;grid-template-columns:1fr 1fr}.cookie-actions [data-settings]{grid-column:1/-1}}
