/* Lane B — cookie banner. Uses site tokens when present (--ink, --cream, --amber) with safe fallbacks. */
.mc-consent { --mc-ink: var(--ink, #14302F); --mc-bg: var(--cream, #F7F2E8); --mc-line: rgba(20,48,47,.25); --mc-accent: var(--amber, #C8A052); --mc-focus: var(--focus, #2D6A72);
  font: 400 15px/1.5 var(--sans, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif); color: var(--mc-ink); }
.mc-consent[hidden], .mc-consent [hidden] { display: none !important; }
.mc-bar { position: fixed; z-index: 2147483000; left: 12px; right: 12px; bottom: 12px; background: var(--mc-bg); border: 1px solid var(--mc-line); border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,.22); padding: 14px 16px; display: grid; gap: 10px; grid-template-columns: 1fr; font-size: .9rem; }
@media (min-width: 640px) { .mc-bar { right: auto; width: min(560px, calc(100vw - 24px)); } }   /* compact bottom-left card: leaves the hero CTA visible */
.mc-bar .mc-actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.mc-bar .mc-btn { padding: 0 8px; min-height: 42px; font-size: .88rem; }
@media (max-width: 420px) { .mc-bar .mc-actions { grid-template-columns: 1fr 1fr; } .mc-bar .mc-btn--ghost { grid-column: 1 / -1; } }
.mc-title { font: 600 1.05rem/1.3 var(--serif, Georgia, serif); margin: 0 0 4px; }
.mc-text { margin: 0; }
.mc-link, .mc-text a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.mc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.mc-btn { font: 600 .92rem/1 inherit; font-family: inherit; min-height: 44px; padding: 0 18px; border-radius: 8px; cursor: pointer; border: 2px solid var(--mc-ink); }
.mc-btn--main { background: var(--mc-ink); color: #fff; }               /* accept and reject: identical look = equal prominence */
.mc-btn--ghost { background: transparent; color: var(--mc-ink); }
.mc-btn:hover { filter: brightness(1.12); }
.mc-consent :focus-visible { outline: 3px solid var(--mc-focus); outline-offset: 2px; }
.mc-bar:focus { outline: none; }
.mc-modal { position: fixed; inset: 0; z-index: 2147483001; display: grid; place-items: center; padding: 12px; }
.mc-modal__backdrop { position: absolute; inset: 0; background: rgba(10,20,20,.55); }
.mc-panel { position: relative; background: var(--mc-bg); border-radius: 14px; width: min(640px, 100%); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.mc-panel__head { flex: none; padding: 18px 22px 0; display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.mc-panel__body { flex: 1 1 auto; overflow-y: auto; padding: 0 22px; -webkit-overflow-scrolling: touch; }
.mc-panel__foot { flex: none; margin: 0; padding: 12px 22px 16px; border-top: 1px solid var(--mc-line); background: var(--mc-bg); display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
@media (max-width: 480px) { .mc-panel__foot { grid-template-columns: 1fr 1fr; } .mc-panel__foot .mc-btn--ghost { grid-column: 1 / -1; } .mc-panel__head, .mc-panel__body { padding-left: 16px; padding-right: 16px; } .mc-panel__foot { padding-left: 16px; padding-right: 16px; } }

.mc-x { background: none; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--mc-ink); min-width: 44px; min-height: 44px; }
.mc-cats { margin: 14px 0; display: grid; gap: 10px; }
.mc-cat { border: 1px solid var(--mc-line); border-radius: 10px; padding: 12px 14px; background: rgba(255,255,255,.55); }
.mc-cat__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mc-cat__name { font-weight: 700; }
.mc-cat__fixed { font-size: .85rem; opacity: .8; }
.mc-cat__desc { margin: 6px 0 0; font-size: .9rem; }
.mc-cookies { margin: 8px 0 0; padding-left: 18px; font-size: .82rem; opacity: .9; }
.mc-switch { appearance: none; -webkit-appearance: none; width: 48px; height: 28px; border-radius: 99px; background: #5f6d6c; position: relative; cursor: pointer; border: 0; flex: none; transition: background .2s; }
.mc-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; }
.mc-switch:checked { background: var(--mc-ink); }
.mc-switch:checked::after { transform: translateX(20px); }
.mc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.mc-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
html.mc-lock { overflow: hidden; }
.mc-reopen { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; text-underline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .mc-switch, .mc-switch::after { transition: none; } .mc-consent * { animation: none !important; scroll-behavior: auto !important; } }
@media (forced-colors: active) { .mc-btn, .mc-bar, .mc-panel { border: 2px solid CanvasText; } }
