.mg-section,.mg-admin{--mg-blue:#075477;--mg-gold:#c59c43;box-sizing:border-box}.mg-section{max-width:1180px;margin:36px auto;padding:28px 24px;color:#18343f;background:#f5f9fb;border:1px solid #d8e6ec;border-radius:18px;scroll-margin-top:170px}.mg-section h1,.mg-section h2,.mg-section h3,.mg-help strong{color:#075477;line-height:1.5}.mg-section>p{max-width:800px;line-height:1.9}.mg-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.mg-card{background:white;border:1px solid #dbe5e9;border-radius:14px;overflow:hidden;scroll-margin-top:150px}.mg-image-button{display:block;width:100%;padding:0;border:0;background:#fff;cursor:zoom-in}.mg-image-button img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:contain}.mg-card-body{padding:20px}.mg-card-body h3{margin:0 0 10px}.mg-card-body p,.mg-help p{line-height:1.85}.mg-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.mg-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 17px;border:1px solid #075477;border-radius:8px;background:#075477;color:white!important;text-decoration:none;font:inherit;cursor:pointer;line-height:1.5}.mg-secondary{background:white;color:#075477!important}.mg-button:focus-visible,.mg-image-button:focus-visible,.mg-help-link:focus-visible{outline:3px solid #c59c43;outline-offset:3px}.mg-note,.mg-help{background:#edf5f8;border-inline-start:3px solid #c59c43;padding:14px;border-radius:6px}.mg-help{margin:12px 0}.mg-help-link{display:block;margin-block:6px;color:#075477}.mg-dialog{width:min(940px,94vw);max-height:92vh;border:0;border-radius:12px;padding:20px;color:#18343f;background:white}.mg-dialog::backdrop{background:rgb(5 25 37 / .76)}.mg-dialog-toolbar{display:flex;gap:10px;position:sticky;top:0;z-index:1;padding:8px;background:white}.mg-poster-scroll{overflow:auto;max-height:65vh}.mg-poster-scroll img{display:block;max-width:100%;height:auto;margin:auto}.mg-poster-scroll.mg-zoomed img{max-width:none;width:1080px}.mg-overview{margin-block:24px}.mg-overview img{display:block;width:min(100%,540px);height:auto;margin:18px auto}.mg-selected{border:2px solid #c59c43}.mg-admin{margin-block:24px}.mg-admin details{padding:16px;margin:12px 0;background:#f5f9fb;border:1px solid #d8e6ec;border-radius:8px}.mg-admin summary{cursor:pointer;font-weight:bold}.mg-admin label{display:block;margin-block:14px}.mg-admin input:not([type=checkbox]),.mg-admin textarea{display:block;box-sizing:border-box;width:100%;padding:10px;border:1px solid #9bb2be;border-radius:6px;background:white;font:inherit}.mg-admin textarea{min-height:90px}.mg-admin img{width:120px;height:160px;object-fit:contain}.mg-admin .mg-editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.mg-admin-status-error{color:#a51a28}.mg-page{min-height:60vh}.mg-section [hidden],.mg-admin [hidden]{display:none!important}@media(max-width:650px){.mg-grid,.mg-admin .mg-editor-grid{grid-template-columns:1fr}.mg-section{margin:22px 12px;padding:20px 14px}.mg-actions .mg-button{flex:1 1 150px}.mg-dialog{padding:12px}.mg-section h1{font-size:1.7rem}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
