/* Inline on first visit, a dialog when reopened from the footer. */
.cookie-panel { position: static; inset: auto; width: min(90%, 920px); max-width: none; margin: 1.15rem auto 0; padding: 0; border: 1px solid var(--line, #c9c0b3); border-radius: 1.25rem; background: var(--page, #f7f2e8); color: var(--ink, #37332f); }
.cookie-panel:modal { position: fixed; inset: 0; width: min(92vw, 37rem); max-height: 85dvh; margin: auto; overflow: auto; }
.cookie-panel::backdrop { background: rgb(38 33 29 / .48); }
.cookie-inner { padding: clamp(1rem, 2.5vw, 1.7rem); }
.cookie-panel h2 { margin: 0 0 .5rem; font-size: clamp(1.55rem, 2.6vw, 2rem); }
.cookie-panel p, .cookie-panel summary, .cookie-panel label { font: 500 .92rem/1.5 var(--sans, Manrope, Arial, sans-serif); }
.cookie-panel .cookie-status { color: var(--secondary, #60594f); margin-top: .6rem; }
.cookie-actions { display: flex; gap: .65rem; margin-block: .9rem .4rem; max-width: 26rem; }
.cookie-panel button { border: 1px solid var(--secondary, #60594f); background: transparent; color: inherit; border-radius: 2rem; min-height: 44px; padding: .5rem .85rem; cursor: pointer; font: 650 .9rem/1.35 var(--sans, Manrope, Arial, sans-serif); }
.cookie-actions button { flex: 1 1 0; }
.cookie-panel button:hover { background: #e8dfd0; }
.cookie-panel summary { cursor: pointer; width: fit-content; padding-block: .65rem; text-decoration: underline; text-underline-offset: .2em; }
.cookie-panel label { display: flex; align-items: center; gap: .35rem; min-height: 42px; }
.cookie-panel input { width: 1.1rem; height: 1.1rem; accent-color: var(--ink, #37332f); }
.cookie-panel .cookie-close { float: right; margin-inline-start: 1rem; border: 0; text-decoration: underline; }
.letter-footer [data-cookie-settings] { min-height: 44px; display: inline-flex; align-items: center; }
.cookie-receipt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
