.cookie-banner { position: fixed; z-index: 1000; inset: auto 24px 24px; padding: 16px 22px; background: #1c2322; color: #bdcec3; border: 1px solid #ffffff26; border-radius: 10px; box-shadow: 0 12px 60px #0005; display: flex; align-items: center; gap: 24px; }
.cookie-banner[hidden] { display: none; }
.cookie-banner__copy { flex: 1; }
.cookie-banner p { font-size: 13px; line-height: 1.7; margin: 0; max-width: 800px; }
.cookie-banner a, .cookie-dialog a { color: #8defb6; text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cookie-actions button { min-height: 44px; padding: 11px 18px; border: 1px solid #ffffff50; border-radius: 7px; background: #ffffffdf; color: #142b24; font: 600 12px var(--sans); cursor: pointer; }
.cookie-actions button:hover { background: #fff; }
.cookie-banner .cookie-actions { flex-shrink: 0; }
.cookie-banner .cookie-actions button { min-width: 88px; min-height: 34px; padding: 6px 16px; line-height: 20px; border-radius: 8px; }
.cookie-banner .cookie-actions button[data-choice="accept"] { background: rgba(255,255,255,.78); border-color: rgba(255,255,255,.45); color: #142b24; }
.cookie-banner .cookie-actions button[data-choice="accept"]:hover { background: rgba(255,255,255,.88); }
.cookie-banner .cookie-actions button[data-choice="reject"],
.cookie-banner .cookie-actions .cookie-settings-link { background: rgba(20,43,36,.78); border-color: rgba(141,239,182,.18); color: #fff; text-decoration: none; }
.cookie-banner .cookie-actions button[data-choice="reject"]:hover,
.cookie-banner .cookie-actions .cookie-settings-link:hover { background: rgba(36,70,53,.88); border-color: rgba(141,239,182,.28); }
.cookie-actions button[data-choice="reject"] { background: rgba(20,43,36,.78); border-color: rgba(141,239,182,.18); color: #fff; }
.cookie-actions button[data-choice="reject"]:hover { background: rgba(36,70,53,.88); border-color: rgba(141,239,182,.28); }
.cookie-dialog { position: fixed; inset: 0; margin: auto; width: min(600px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 32px; overflow: auto; color: #bdcec3; background: #1c2322; border: 1px solid #ffffff40; border-radius: 12px; box-shadow: 0 20px 80px #0005; }
.cookie-dialog::backdrop { background: #030705b3; }
.cookie-dialog__heading { display: flex; align-items: center; padding-right: 24px; margin-bottom: 16px; }
.cookie-dialog h2 { color: white; font-size: 20px; letter-spacing: -.025em; }
.cookie-close { position: absolute; top: 10px; right: 10px; background: transparent; color: white; border: 1px solid #ffffff40; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 4px; font-size: 18px; line-height: 1; cursor: pointer; }
.cookie-dialog .cookie-actions { justify-content: flex-end; }
.cookie-dialog .cookie-actions button { flex: 0 0 120px; width: 120px; min-height: 34px; padding: 6px 16px; line-height: 20px; white-space: nowrap; border-radius: 8px; }
.cookie-dialog .cookie-actions button[data-choice="accept"] { background: rgba(255,255,255,.78); border-color: rgba(255,255,255,.45); color: #142b24; }
.cookie-dialog .cookie-actions button[data-choice="accept"]:hover { background: rgba(255,255,255,.88); }
.cookie-dialog .cookie-actions button[data-choice="save"] { background: rgba(20,43,36,.78); border-color: rgba(141,239,182,.18); color: #fff; }
.cookie-dialog .cookie-actions button[data-choice="save"]:hover { background: rgba(36,70,53,.88); border-color: rgba(141,239,182,.28); }
.cookie-dialog p { font-size: 14px; line-height: 1.7; }
.cookie-category { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid #ffffff26; padding: 20px 0; }
.cookie-category h3, .cookie-category label { display: block; color: #fff; font-size: 16px; font-weight: 600; letter-spacing: 0; margin-bottom: 6px; }
.cookie-category p { margin: 0; font-size: 13px; }
.cookie-category > span { white-space: nowrap; font-size: 12px; color: #8defb6; }
.cookie-category input { appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 18px; height: 18px; margin: 0; display: grid; place-content: center; background: rgba(20,43,36,.78); border: 1px solid rgba(141,239,182,.45); border-radius: 3px; cursor: pointer; }
.cookie-category input::before { content: ""; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); margin-top: -2px; opacity: 0; }
.cookie-category input:checked::before { opacity: 1; }
.cookie-category input:hover { background: rgba(36,70,53,.88); }
.cookie-category input:focus-visible { outline: 2px solid #8defb6; outline-offset: 3px; }
.cookie-dialog .cookie-small { font-size: 12px; border-top: 1px solid #ffffff26; padding-top: 20px; }

.cookie-banner,.cookie-dialog{font-family:var(--sans);--focus-ring:var(--mint)}
.cookie-dialog:not([open]){display:none}
.cookie-dialog h2{margin:0}
@media(max-width:760px){.cookie-banner{inset:auto 12px 12px;padding:16px;max-height:calc(100dvh - 24px);overflow:auto;align-items:stretch;flex-direction:column;gap:12px}.cookie-actions{width:100%}.cookie-actions button{flex:1 1 auto}.cookie-dialog{padding:24px}.cookie-dialog .cookie-actions button{flex:1 1 100px}}
@media print{.cookie-banner,.cookie-dialog{display:none!important}}
