/* Privacy controls share the site's type, colours and simple borders. */
.consent-banner{position:fixed;inset:auto 20px 20px;z-index:65;display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:1360px;margin-inline:auto;padding:22px 26px;border:1px solid #b9bdb1;background:#f5f2ec;color:#1a211e;box-shadow:0 8px 35px #0003;font-size:15px;line-height:1.6}
.consent-banner-copy{max-width:76ch;min-width:0}.consent-banner h2{font-size:27px;margin-bottom:8px;line-height:1.1}.consent-banner a,.consent-dialog a{text-decoration:underline;text-underline-offset:4px}
.consent-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;flex-shrink:0}.consent-actions button{min-height:44px;padding:10px 15px;border:1px solid #687369;border-radius:0;background:#f5f2ec;color:#1a211e;font-size:15px;font-weight:500;line-height:1.35}.consent-actions button:hover{background:#e7e9df}.consent-actions .consent-settings-action{border-color:transparent;text-decoration:underline;text-underline-offset:4px}
.consent-banner :focus-visible,.consent-dialog :focus-visible{outline:3px solid #8d5427;outline-offset:3px}
.consent-dialog{width:min(620px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:26px;border:1px solid #687369;background:#f5f2ec;color:#1a211e;overflow-y:auto;font:16px/1.65 var(--sans);overscroll-behavior:contain}.consent-dialog::backdrop{background:#0009}.consent-dialog-head{display:flex;align-items:start;justify-content:space-between;gap:18px;margin-bottom:20px}.consent-dialog h2{font-size:36px;line-height:1.1}.consent-close{flex-shrink:0;width:44px;min-height:44px;border:1px solid #687369;background:transparent;color:inherit;font-size:26px;line-height:1}.consent-purpose{padding-block:20px;border-top:1px solid #c9cfc2}.consent-purpose h3{font-family:var(--sans);font-size:17px;font-weight:600;line-height:1.5;letter-spacing:0}.consent-purpose p{font-size:15px;margin-top:8px}.consent-toggle{display:flex;justify-content:space-between;align-items:center;gap:18px;min-height:44px;font-size:17px;font-weight:600;cursor:pointer}.consent-toggle input{width:24px;height:24px;flex-shrink:0;accent-color:#354e3d}.consent-dialog-policy{margin-top:20px;font-size:14px}.consent-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.footer-cookie-settings{display:inline-flex;align-items:center;min-height:44px;padding:0;border:0;background:none;color:inherit;font:inherit;text-decoration:underline;text-underline-offset:5px}.substack-consent-placeholder{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:18px;min-height:220px;padding:24px;border:1px solid #737d70;background:transparent;color:inherit;line-height:1.7}.substack-consent-placeholder p{font-size:16px}.substack-consent-placeholder .text-link{border:0;border-bottom:1px solid currentColor;border-radius:0;background:none;color:inherit;padding:0 0 8px;font:inherit;font-size:16px;min-height:44px;text-align:left;cursor:pointer}
.menu-open .consent-banner{display:none}
@media(max-width:1100px){.consent-banner{align-items:flex-start;flex-direction:column;gap:16px}.consent-actions{flex-shrink:1}}
@media(max-width:520px){.consent-banner{inset:auto 10px 10px;padding:18px;max-height:calc(100dvh - 95px);overflow-y:auto;font-size:14px}.consent-banner h2{font-size:25px}.consent-actions{width:100%}.consent-banner .consent-actions button{flex:1 1 120px}.consent-banner .consent-actions .consent-settings-action{flex-basis:100%;min-height:36px}.consent-dialog{padding:20px}.consent-dialog h2{font-size:30px}.consent-dialog .consent-actions button{flex:1 1 140px}.substack-consent-placeholder{padding:20px}}
@media(forced-colors:active){.consent-banner,.consent-dialog,.consent-actions button,.consent-close,.substack-consent-placeholder{border-color:ButtonText}.consent-toggle input{forced-color-adjust:auto}}
@media print{.consent-banner,.consent-dialog,.consent-status,.footer-cookie-settings{display:none!important}}

/* Compact first-visit panel; consent choices and dialog behavior are unchanged. */
.consent-banner{inset:auto 14px 14px;max-width:1160px;flex-direction:row;align-items:center;gap:18px;padding:14px 18px;font-size:14px;line-height:1.5}
.consent-banner-copy{max-width:70ch}
.consent-banner h2{font:500 16px/1.4 var(--sans);letter-spacing:0;margin-bottom:4px}
.consent-banner .consent-actions{gap:8px;flex-shrink:0}
.consent-banner .consent-actions button{min-height:44px;padding:9px 12px;font-size:14px;line-height:1.4}
@media(max-width:860px){.consent-banner{align-items:stretch;flex-direction:column;gap:12px}.consent-banner .consent-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:8px;flex-shrink:1}.consent-banner .consent-actions button{min-width:0;padding:8px}.consent-banner .consent-actions .consent-settings-action{min-height:44px}}
@media(max-width:520px){.consent-banner{inset:auto 10px 10px;padding:14px;max-height:calc(100dvh - 95px);overflow-y:auto}.consent-banner h2{font-size:16px}.consent-banner .consent-actions .consent-settings-action{min-height:44px}}
