.mf-platform{--mf-cream:#f6f0e6;--mf-band:#efe4d3;--mf-accent:#8e3f2c;--mf-ink:#2b2622;--mf-muted:#5c5148;color:var(--mf-ink);box-sizing:border-box;max-width:1100px;margin-inline:auto;overflow-wrap:anywhere}
.mf-platform *,.mf-platform *::before,.mf-platform *::after{box-sizing:border-box}
.mf-platform [hidden]{display:none!important}
.mf-platform a{color:var(--mf-accent);text-underline-offset:.2em}
.mf-platform :focus-visible{outline:3px solid #8e3f2c;outline-offset:4px}
.mf-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:24px;margin-block:24px}
.mf-card{background:#fff;border:1px solid #e4d9c9;border-radius:14px;overflow:hidden;min-width:0;max-width:520px}
.mf-card h3{font-size:1.25rem;margin:0 0 .6rem}
.mf-card h3 a{color:var(--mf-ink)}
.mf-card p{margin:.5rem 0;line-height:1.55}
.mf-card-body{padding:20px}
.mf-caption{font-size:.9375rem;color:var(--mf-muted)}
.mf-picture{aspect-ratio:4/3;position:relative;background:#fff;isolation:isolate}
.mf-front,.mf-back{position:absolute;inset:0;transition:opacity .2s ease}
.mf-back{opacity:0;pointer-events:none}
.mf-front img,.mf-back img{display:block;width:100%;height:100%;object-fit:cover}
.mf-front img.mf-logo{object-fit:contain;padding:24px}
.mf-no-image{display:grid;place-content:center;height:100%;padding:24px;background:#efe4d3;font-size:1.25rem;text-align:center}
.mf-show-back .mf-front{opacity:0}
.mf-show-back .mf-back{opacity:1}
.mf-switch{position:absolute;right:12px;bottom:12px;z-index:2;display:grid;place-items:center;width:48px;height:48px;min-width:48px;border-radius:50%;border:1px solid #a99a88;background:#fff;color:#2b2622;box-shadow:0 2px 6px #0002;cursor:pointer;padding:0;touch-action:manipulation}
@media(hover:hover) and (pointer:fine){.mf-picture:has(.mf-back):not([data-mf-manual]):hover .mf-front{opacity:0}.mf-picture:has(.mf-back):not([data-mf-manual]):hover .mf-back{opacity:1}.mf-switch:hover{background:#efe4d3}}
.mf-platform label{display:block;font-size:1rem;line-height:1.5;margin-bottom:16px}
.mf-platform input:not([type=checkbox]),.mf-platform select,.mf-platform textarea{display:block;max-width:100%;width:100%;font:inherit;color:#2b2622;background:#fff;border:1px solid #8f8375;border-radius:6px;padding:12px;min-height:48px;margin-top:6px}
.mf-platform textarea{resize:vertical}
.mf-platform .mf-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 20px;background:#8e3f2c;color:#fff;border:1px solid #8e3f2c;border-radius:7px;font:inherit;line-height:1.4;cursor:pointer;text-decoration:none;text-align:center}
.mf-platform button:disabled{opacity:.6;cursor:wait}
.mf-filters{display:flex;flex-wrap:wrap;gap:16px;align-items:end;background:#efe4d3;padding:20px;border-radius:12px}
.mf-filters label{flex:1 1 160px;margin:0;min-width:0}
.mf-platform .mf-check{display:flex;gap:12px;align-items:flex-start;min-height:44px;cursor:pointer}
.mf-check input{width:22px;height:22px;flex:0 0 22px;margin-top:3px;accent-color:#8e3f2c}
.mf-contact{margin-block:40px;max-width:680px;margin-inline:0}
.mf-error{color:#8b1e16;font-weight:600}
.mf-platform .mf-trap{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.mf-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px;margin-block:24px}
.mf-gallery img{display:block;width:100%;height:auto;max-height:520px;object-fit:contain;background:white;border-radius:10px}
.mf-description{max-width:70ch;line-height:1.7}
.mf-workspace{max-width:800px}
.mf-workspace fieldset{border:1px solid #b8aa98;border-radius:8px;margin:20px 0;padding:16px;min-width:0}
.mf-workspace legend{padding-inline:6px;font-weight:600}
.mf-asset-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px}
.mf-asset-choice{position:relative;display:flex!important;flex-direction:column;gap:8px;border:1px solid #b8aa98;border-radius:8px;padding:8px;cursor:pointer;margin:0!important}
.mf-asset-choice:has(input:checked){border:2px solid #8e3f2c;padding:7px}
.mf-asset-choice img{width:100%;height:110px;object-fit:contain}
.mf-asset-choice input{width:24px;height:24px;accent-color:#8e3f2c}
.mf-pages{display:flex;gap:8px;flex-wrap:wrap}
.mf-pages .page-numbers{display:inline-grid;place-items:center;min-width:44px;min-height:44px;padding:8px}
@media(max-width:540px){.mf-filters{display:grid;grid-template-columns:1fr;padding:16px}.mf-filters label{width:100%}.mf-grid{gap:20px}.mf-card{max-width:none}.mf-card-body{padding:16px}}
@media(prefers-reduced-motion:reduce){.mf-front,.mf-back{transition:none}}
