/* Scoped legal navigation and consent UI; shared across the static site and Journal. */
:root{--mktory-consent-height:0px}
body{padding-bottom:var(--mktory-consent-height)}
.workshop .ws-mobile-cta{bottom:var(--mktory-consent-height)}
footer .mktory-legal{display:flex;flex-wrap:wrap;gap:8px 24px;align-items:center;grid-column:1/-1;width:100%;margin-top:24px;padding-top:20px;border-top:1px solid currentColor}
footer .mktory-legal a,footer .mktory-legal button{font:inherit;font-size:13px;color:inherit;line-height:1.7;background:none;border:0;padding:10px 0;cursor:pointer;text-decoration:underline;text-underline-offset:4px;min-height:44px}
footer .mktory-legal :focus-visible{outline:2px solid #bd300c;outline-offset:4px}
.mktory-form-privacy{font-size:13px;line-height:1.9;margin-block:16px}
.mktory-form-privacy a{text-decoration:underline;text-underline-offset:3px}
#mktory-consent{color:#22231f;font-family:'Outfit','Zen Kaku Gothic New',sans-serif;font-size:14px;line-height:1.8;text-align:left;letter-spacing:normal}
#mktory-consent *,#mktory-consent *::before,#mktory-consent *::after{box-sizing:border-box}
#mktory-consent [hidden]{display:none!important}
#mktory-consent h2,#mktory-consent h3,#mktory-consent p{margin:0;padding:0;color:inherit;letter-spacing:normal}
#mktory-consent h2{font-size:19px;line-height:1.5;font-weight:700}
#mktory-consent h3{font-size:16px;line-height:1.7;font-weight:700}
#mktory-consent p{font-size:14px;line-height:1.8}
#mktory-consent a{color:#a72e13;text-decoration:underline;text-underline-offset:3px}
#mktory-consent button{appearance:none;font:inherit;font-size:14px;font-weight:600;min-height:44px;padding:10px 18px;color:white;background:#b73316;border:1px solid #b73316;border-radius:0;cursor:pointer;line-height:1.5;margin:0;white-space:normal}
#mktory-consent button:hover{background:#90270f;border-color:#90270f}
#mktory-consent button.mc-secondary,#mktory-consent button.mc-close{background:#fffcf3;color:#8f2c16;border-color:#9e5a48}
#mktory-consent :focus-visible{outline:3px solid #22231f;outline-offset:4px}
#mktory-consent .mc-banner{position:fixed;inset:auto 0 0;z-index:10000;width:100%;max-width:none;margin:0;border:0;background:#fffcf3;color:#22231f;border-top:1px solid #c8c1b3;padding:20px max(24px,calc((100vw - 1280px)/2));padding-bottom:max(20px,env(safe-area-inset-bottom));display:flex;gap:24px;align-items:center;box-shadow:0 -5px 24px #0000000d;max-height:75dvh;overflow:auto}
#mktory-consent .mc-copy{flex:1;min-width:0}
#mktory-consent .mc-copy p{margin-top:6px;font-size:13px}
#mktory-consent .mc-actions{display:flex;flex-wrap:wrap;gap:10px;flex-shrink:0}
#mktory-consent .mc-actions>button{flex:1;min-width:110px}
#mktory-consent .mc-dialog{color:#22231f;background:#fffcf3;width:min(640px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #b9b1a3;padding:28px;margin:auto;overscroll-behavior:contain}
#mktory-consent .mc-dialog::backdrop{background:#0009}
#mktory-consent .mc-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}
#mktory-consent .mc-dialog>p{margin-bottom:18px}
#mktory-consent .mc-category{border-block-start:1px solid #d2cabc;padding-block:20px}
#mktory-consent .mc-category p{margin-top:10px}
#mktory-consent h3 span{display:inline-block;font-size:12px;margin-left:10px;padding:2px 8px;background:#e7e4d9}
#mktory-consent .mc-toggle{display:flex;gap:20px;align-items:center;justify-content:space-between;cursor:pointer;font-weight:700;font-size:16px}
#mktory-consent input[type=checkbox]{appearance:auto;position:static;opacity:1;accent-color:#b73316;width:24px;height:24px;min-width:24px;margin:0}
#mktory-consent .mc-status{position:fixed;bottom:16px;left:16px;z-index:10001;background:#fffcf3;max-width:calc(100% - 32px);border:1px solid #b9b1a3;padding:10px 16px;pointer-events:none}
#mktory-consent .mc-status:empty{display:none}
@media(max-width:1000px){#mktory-consent .mc-banner{display:block}#mktory-consent .mc-banner .mc-actions{margin-top:14px}}
@media(max-width:600px){#mktory-consent .mc-banner{padding:16px 20px max(16px,env(safe-area-inset-bottom))}#mktory-consent .mc-banner h2{font-size:17px}#mktory-consent .mc-actions{gap:8px}#mktory-consent .mc-actions>button{min-width:0;padding:10px 8px;font-size:13px}#mktory-consent .mc-dialog{padding:22px 20px}#mktory-consent .mc-dialog-heading{gap:12px}#mktory-consent .mc-close{padding:8px 12px;font-size:12px}footer .mktory-legal{gap:6px 22px}}

/* Only the optional settings dialog blocks page interaction. */
html:has(#mktory-consent dialog[open]){overflow:hidden}
