/* Cookie consent banner — namespace cc-* */
.cc-banner{position:fixed;left:0;right:0;bottom:0;z-index:99998;background:#fff;border-top:1px solid #e1e4eb;box-shadow:0 -4px 24px rgba(0,0,0,.08);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;color:#04302A}
.cc-banner[hidden]{display:none}
.cc-banner-inner{max-width:1240px;margin:0 auto;padding:16px 20px;display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.cc-text{flex:1 1 320px;min-width:0}
.cc-title{display:block;font-size:15px;font-weight:600;margin:0 0 4px;color:#04302A}
.cc-desc{margin:0;font-size:13px;line-height:1.5;color:#676c77}
.cc-desc a{color:#04302A;text-decoration:underline}
.cc-actions{display:flex;gap:8px;flex-wrap:wrap}
.cc-btn{padding:10px 18px;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;border:1px solid transparent;line-height:1.2;font-family:inherit;transition:background .15s,border-color .15s}
.cc-btn-primary{background:#04302A;color:#fff;border-color:#04302A}
.cc-btn-primary:hover{background:#0A4A40;border-color:#0A4A40}
.cc-btn-secondary{background:#fff;color:#04302A;border-color:#c8ccd6}
.cc-btn-secondary:hover{background:#f1f2f8;border-color:#9aa0ad}

.cc-modal{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:20px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;color:#04302A}
.cc-modal[hidden]{display:none}
.cc-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55)}
.cc-modal-box{position:relative;background:#fff;border-radius:12px;max-width:560px;width:100%;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 60px rgba(0,0,0,.3)}
.cc-modal-header{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid #e1e4eb}
.cc-modal-header h2{margin:0;font-size:18px;font-weight:600;color:#04302A}
.cc-modal-close{background:none;border:0;font-size:28px;line-height:1;cursor:pointer;color:#676c77;padding:0;width:32px;height:32px}
.cc-modal-close:hover{color:#04302A}
.cc-modal-body{padding:18px 22px;overflow-y:auto;flex:1}
.cc-modal-footer{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;padding:14px 22px;border-top:1px solid #e1e4eb;background:#fafbfc;border-radius:0 0 12px 12px}

.cc-cat{padding:14px 0;border-bottom:1px solid #f1f2f8}
.cc-cat:last-child{border-bottom:0}
.cc-cat-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}
.cc-cat-name{font-size:15px;font-weight:600;color:#04302A}
.cc-cat-toggle-required{font-size:12px;font-weight:500;color:#9aa0ad}
.cc-cat-desc{margin:0;font-size:13px;line-height:1.5;color:#676c77}

.cc-switch{position:relative;display:inline-block;width:44px;height:24px;flex-shrink:0;cursor:pointer}
.cc-switch input{opacity:0;width:0;height:0;position:absolute}
.cc-switch-slider{position:absolute;inset:0;background:#c8ccd6;border-radius:24px;transition:background .2s}
.cc-switch-slider::before{content:"";position:absolute;left:3px;top:3px;width:18px;height:18px;background:#fff;border-radius:50%;transition:transform .2s;box-shadow:0 1px 3px rgba(0,0,0,.2)}
.cc-switch input:checked + .cc-switch-slider{background:#04302A}
.cc-switch input:checked + .cc-switch-slider::before{transform:translateX(20px)}
.cc-switch input:focus-visible + .cc-switch-slider{outline:2px solid #04302A;outline-offset:2px}

@media (max-width:640px){
  .cc-banner-inner{flex-direction:column;align-items:stretch;padding:14px 16px;gap:14px}
  .cc-actions{justify-content:stretch}
  .cc-actions .cc-btn{flex:1;min-width:0;padding:11px 10px;font-size:13px}
  .cc-modal-footer{flex-direction:column-reverse}
  .cc-modal-footer .cc-btn{width:100%}
}
