.khepri-cookie-banner{position:fixed;left:0;right:0;bottom:0;z-index:60;background:var(--paper);border-top:1px solid var(--green-20);box-shadow:0 -6px 24px rgba(6,64,43,.12);font-family:var(--body);color:var(--ink);transform:translateY(100%);transition:transform .35s ease;visibility:hidden}
.khepri-cookie-banner.is-visible{transform:translateY(0);visibility:visible}
.khepri-cookie-banner__shell{max-width:1120px;margin:0 auto;padding:20px 24px;display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.khepri-cookie-banner__text{flex:1 1 320px;font-size:13px;line-height:1.6;color:var(--muted);margin:0}
.khepri-cookie-banner__text a{color:var(--green);text-decoration:underline}
.khepri-cookie-banner__actions{display:flex;gap:12px;flex-wrap:wrap}
.khepri-cookie-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 20px;border-radius:3px;font-family:var(--body);font-size:13px;font-weight:600;cursor:pointer;border:1px solid var(--green-20);background:transparent;color:var(--green);transition:background .2s,color .2s,border-color .2s}
.khepri-cookie-btn:hover{border-color:var(--green)}
.khepri-cookie-btn--primary{background:var(--gold);border-color:var(--gold);color:var(--green)}
.khepri-cookie-btn--primary:hover{background:var(--gold-80)}
.khepri-cookie-modal{position:fixed;inset:0;z-index:70;display:none;align-items:center;justify-content:center;background:rgba(22,35,29,.55);padding:20px}
.khepri-cookie-modal.is-visible{display:flex}
.khepri-cookie-modal__panel{background:var(--paper);border-radius:6px;max-width:520px;width:100%;max-height:85vh;overflow-y:auto;padding:28px;border:1px solid var(--green-20)}
.khepri-cookie-modal__panel h2{font-family:Georgia,serif;font-size:21px;color:var(--green);margin:0 0 12px}
.khepri-cookie-modal__panel>p{font-size:13px;line-height:1.6;color:var(--muted);margin:0 0 16px}
.khepri-cookie-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px 0;border-top:1px solid var(--green-20)}
.khepri-cookie-row:first-of-type{border-top:none;padding-top:4px}
.khepri-cookie-row h3{font-size:14px;margin:0 0 4px;color:var(--ink);font-family:var(--body)}
.khepri-cookie-row p{margin:0;font-size:12px;color:var(--muted)}
.khepri-cookie-switch{position:relative;display:inline-block;width:42px;height:24px;flex:0 0 auto;margin-top:2px}
.khepri-cookie-switch input{opacity:0;width:0;height:0;position:absolute}
.khepri-cookie-switch span{position:absolute;inset:0;background:var(--green-20);border-radius:24px;transition:background .2s;cursor:pointer}
.khepri-cookie-switch span:before{content:"";position:absolute;width:18px;height:18px;left:3px;top:3px;background:var(--paper);border-radius:50%;transition:transform .2s}
.khepri-cookie-switch input:checked + span{background:var(--green)}
.khepri-cookie-switch input:checked + span:before{transform:translateX(18px)}
.khepri-cookie-switch input:disabled + span{opacity:.5;cursor:not-allowed}
.khepri-cookie-modal__actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px;flex-wrap:wrap}
.khepri-footer-cookie-trigger{background:none;border:none;padding:0;font:inherit;color:inherit;text-decoration:underline;cursor:pointer}
@media (max-width:600px){.khepri-cookie-banner__shell{flex-direction:column;align-items:stretch}.khepri-cookie-banner__actions{justify-content:stretch}.khepri-cookie-btn{flex:1}.khepri-cookie-modal__actions{justify-content:stretch}.khepri-cookie-modal__actions .khepri-cookie-btn{flex:1}}
