/* Geometry contracts. Natural dimensions reserve space; component CSS controls the slot. */
:where(.mm-navigation-page, .modal-backdrop, .fp-dialog) img{height:auto}
.fp-request-form textarea[data-fp-context]{min-height:88px;height:auto;line-height:1.6;resize:vertical}

/* The internal reference sheet remains readable at the same responsive widths. */
#root>.sheet{width:min(1440px,100%)}
#root>.sheet :is(.row,.rules,.colors)>*{min-width:0}
@media(max-width:1050px){#root>.sheet>header{gap:28px;padding:36px}#root>.sheet .content{padding:36px}#root>.sheet .colors{grid-template-columns:repeat(3,minmax(0,1fr))}#root>.sheet>header img{width:170px;height:auto}#root>.sheet .tile{padding:24px}}
@media(max-width:759px){#root>.sheet>header{align-items:start;flex-direction:column;padding:28px 20px}#root>.sheet>header h1{font-size:42px}#root>.sheet .content{padding:28px 20px}#root>.sheet :is(.row,.rules){grid-template-columns:minmax(0,1fr);gap:24px}#root>.sheet .colors{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}#root>.sheet .sample{font-size:46px}#root>.sheet .tile h2{font-size:36px}#root>.sheet .foot{padding:24px 20px;gap:16px;flex-wrap:wrap}}

/* Reused home fragments must not depend on the editorial-page wrapper. */
.mm-navigation-page .mf-trials{margin-top:40px}
.mm-navigation-page .mf-trial-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.mm-navigation-page .mf-trial-links>a{display:grid;grid-template-columns:minmax(0,1fr) 20px;grid-template-rows:108px auto;align-items:center;gap:16px;padding:24px;border:1px solid #e3d4b9;border-radius:24px 12px;background:#fcf8ef;min-width:0;color:#382f23}
.mm-navigation-page .mf-trial-links img{grid-column:1/-1;justify-self:center;width:108px;height:108px;object-fit:contain;margin:0}
.mm-navigation-page .mf-trial-links span{font:26px/1.12 Forum,Georgia,serif}
.mm-navigation-page .mf-trial-links b{display:grid;place-items:center;width:20px;height:20px;font:20px/1 Manrope,Arial,sans-serif;color:#9b742f}
.mm-navigation-page .mf-trials>.fine{margin-top:18px}

/* The dimensions on img describe the original, not a fixed rendered height. */
.home-frame img,.home-original-film img,.gallery img,.footer-bottom img{height:auto}
.home-original-films{align-items:start}
.home-original-film{min-width:0}
.home-original-film img{aspect-ratio:16/9;object-fit:cover;object-position:center}
.home-original-film strong{line-height:1.18}
.home-review-videos figure{min-width:0;margin:0}
.home-review-videos [data-video-island],.home-education-film [data-video-island],.home-craft-film [data-video-island]{border-radius:20px;overflow:hidden}
.home-review-videos figcaption{margin-top:18px;line-height:1.18}

/* A complete icon viewport is centred; font baselines are not used as arrows. */
.record-pager button>svg,.modal-tools .close>svg{display:block;width:22px;height:22px;flex:none;margin:0;transform:none}
.record-arrow{display:block;width:22px;height:22px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2384612d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") center/22px 22px no-repeat;flex:none;margin:0}
.record-arrow-prev{transform:rotate(90deg)}
.record-arrow-next{transform:rotate(-90deg)}
.modal-tools .close,.fp-dialog-close{font-size:0!important}
.modal-tools .close::before,.fp-dialog-close::before{content:none}
.fp-dialog>.home-kicker{max-width:calc(100% - 54px);line-height:1.5}
.mm-experience h2{hyphens:auto;overflow-wrap:break-word}
#root .source-page h1{hyphens:auto;overflow-wrap:break-word}
.gradebook-modal .modal-content .record-book.is-fitted .record-pager>button{place-content:center;place-items:center;line-height:0}
.gradebook-modal .modal-content .record-book.is-fitted .book-controls{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center}
.gradebook-modal .modal-content .record-book.is-fitted .book-controls>.button{justify-self:start}
.gradebook-modal .modal-content .record-book.is-fitted .record-pager{justify-self:center}
.gradebook-modal .modal-content .record-book.is-fitted .record-autoplay{justify-self:end}
.gradebook-modal .modal-content .record-book.is-fitted .record-cover{width:min(70cqw,70.09346cqh);height:min(100cqh,99.86667cqw);aspect-ratio:75/107;padding:0;background:transparent}
.gradebook-modal .modal-content .record-book.is-fitted .book-helper-entry>.book-parks-note{grid-column:1/-1;margin:4px 0 0;font-size:10px;line-height:1.4;max-width:none}

/* All FAQ families share the same disclosure geometry; page colours stay intact. */
#root .cc-page .cc-faq>summary{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 0!important;min-height:64px!important}
#root .cc-page .cc-faq>summary::after{content:""!important;display:block!important;box-sizing:border-box;position:static;inset:auto;flex:0 0 32px;width:32px;height:32px;min-width:32px;margin:0;padding:0;border:1px solid #d9c5a0;border-radius:50%;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23966f34' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") center/20px 20px no-repeat;transform:none!important;rotate:0deg;transition:rotate .25s}
#root .cc-page .cc-faq[open]>summary::after{rotate:180deg}
#root main.mf-page .mf-button>span[aria-hidden=true]{display:grid;place-items:center;width:20px;height:20px;min-width:20px;flex:0 0 20px;line-height:1;align-self:center}
#root main :is(.mf-button,.cc-btn){box-sizing:border-box;max-width:100%;text-align:center;overflow-wrap:normal}
#root .cc-grid>.cc-card>.cc-btn:last-child{margin-top:auto}
#root main :is(.cc-form,.mf-request,.request-form) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select){height:50px;min-height:50px;box-sizing:border-box;line-height:1.5}

.wz-video:not(.wz-video-background) .wz-video-play{inset:auto auto 16px 16px!important;transform:none!important;display:grid!important;place-content:center!important;place-items:center!important;box-sizing:border-box;width:46px!important;height:46px!important;padding:0!important;margin:0!important;background:#30291de6!important;border:1px solid #f7e7bd99!important;color:#fff!important;opacity:1!important;line-height:0}
.wz-video:not(.wz-video-background) .wz-video-sound{inset:16px 16px auto auto!important;transform:none!important;display:grid!important;place-content:center!important;place-items:center!important;box-sizing:border-box;width:46px!important;height:46px!important;min-width:46px;min-height:46px;padding:0!important;margin:0!important;background:#30291de6!important;border:1px solid #f7e7bd99!important;color:#fff!important;opacity:1!important;line-height:0}
.wz-video :is(.wz-video-play,.wz-video-sound)>svg{width:22px;height:22px;display:block;margin:0!important;transform:none!important;stroke-width:1.8}
.wz-video :is(.wz-video-play,.wz-video-sound):hover{background:#30291d!important}
.wz-video-screen-controls{position:absolute;z-index:7;right:16px;bottom:32px;display:flex;align-items:center;gap:10px}
.wz-video-screen-controls>button{display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;margin:0;border:1px solid #f7e7bd99;border-radius:50%;background:#30291de6;color:#fff;line-height:0;flex:none}
.wz-video-screen-controls>button>svg{display:block;width:22px;height:22px;margin:0}
.modal-backdrop.video-lightbox>.modal-content{padding:0!important;overflow:auto!important}
.video-lightbox .video-window{box-sizing:border-box}
.wz-video-expanded .wz-video-progress{left:18px;bottom:6px;width:calc(100% - 36px);padding:0;margin:0;height:16px;min-height:0;border:0;background:transparent;accent-color:#d4ae61}
.wz-video.is-screen-fallback,.wz-video:fullscreen{position:fixed!important;inset:0!important;z-index:2147483000!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0!important;border-radius:0!important;aspect-ratio:auto!important;background:#10100e}
.wz-video:is(.is-screen-fallback,:fullscreen) .wz-video-image video{object-fit:contain!important}
.wz-video.is-screen-fallback.is-landscape .wz-video-image{inset:50% auto auto 50%;width:100dvh;height:100vw;transform:translate(-50%,-50%) rotate(90deg)}
.wz-video:fullscreen.is-landscape .wz-video-image{inset:50% auto auto 50%;width:100dvh;height:100vw;transform:translate(-50%,-50%) rotate(90deg)}

@media(max-width:1050px){.mm-navigation-page .mf-trial-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:960px){.home-editorial #education .home-split{grid-template-columns:minmax(0,1fr);gap:28px}.home-editorial #education .home-frame{max-width:640px;width:100%;margin-inline:auto}.home-editorial #education .home-frame img{aspect-ratio:1.4;object-position:center 40%}}
@media(max-width:759px){.mm-navigation-page .mf-trial-links{gap:12px}.mm-navigation-page .mf-trial-links>a{padding:18px 15px;gap:14px 8px;grid-template-rows:92px auto}.mm-navigation-page .mf-trial-links img{width:92px;height:92px}.mm-navigation-page .mf-trial-links span{font-size:23px}.home-review-videos [data-video-island],.home-education-film [data-video-island]{border-radius:16px}.wz-video:not(.wz-video-background) .wz-video-sound{inset:12px 12px auto auto!important}.wz-video-screen-controls{right:12px;gap:8px}}
@media(max-width:539px){.gradebook-modal .modal-content .record-book.is-fitted .book-controls{grid-template-columns:minmax(0,1fr) auto;gap:8px}.gradebook-modal .modal-content .record-book.is-fitted .record-pager{grid-column:2;grid-row:1;justify-self:end}.gradebook-modal .modal-content .record-book.is-fitted .record-autoplay{grid-column:1/-1;justify-self:center;min-height:30px;padding:2px 8px}.gradebook-modal .modal-content .record-book.is-fitted .book-controls>.button{grid-column:1;grid-row:1}}
@media(max-width:599px){#root .cc-page .cc-grid.four{grid-template-columns:minmax(0,1fr)}}
@media(min-width:600px) and (max-width:1000px){#root .cc-page .cc-grid:not(.four):not(.two){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:479px){#root .mf-value-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:359px){.mm-navigation-page .mf-trial-links{grid-template-columns:minmax(0,1fr)}.mm-navigation-page .mf-trial-links>a{grid-template-columns:78px minmax(0,1fr) 20px;grid-template-rows:auto;gap:12px}.mm-navigation-page .mf-trial-links img{grid-column:auto;width:78px;height:78px}.mm-navigation-page .mf-trial-links span{font-size:24px}}
@media(max-width:359px){#root .journey-tabs{grid-template-columns:minmax(0,1fr)}#root .journey-tabs button{min-height:74px}#root .cc-rates{grid-template-columns:repeat(2,minmax(0,1fr))}.gradebook-modal .modal-content .record-book.is-fitted .book-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:359px){#root :is(.usp-grid,.mf-journey,.cc-bloggers){grid-template-columns:minmax(0,1fr)}}
@media(max-width:539px) and (max-height:600px),(max-height:399px){.gradebook-modal>.modal-content>.modal-tools{position:sticky;inset:auto;top:10px;height:0;min-height:0;width:44px;margin:0 10px 0 auto;padding:0;overflow:visible;z-index:30}}

/* Shared document navigation follows the approved Wizardia footer hierarchy. */
#root .footer-bottom{align-items:flex-start}
#root .mm-footer-documents{min-width:0;max-width:850px;flex:1}
#root .mm-footer-legal{display:flex;flex-wrap:wrap;gap:10px 24px;margin:0 0 18px;justify-content:flex-end}
#root .mm-footer-legal a{display:block;font-size:13px;line-height:1.5;text-underline-offset:4px}
#root .mm-footer-documents small{display:block;max-width:none;text-align:right;line-height:1.6}
#root .cc-offer-row{scroll-margin-top:160px}
#root .cc-offer-row>.cc-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:214px;max-width:260px;width:100%;justify-self:end}
#root .cc-offer-row>.cc-actions .cc-btn{width:100%;justify-content:center;text-align:center}
#root .cc-offer-row>.cc-actions .cc-link{justify-self:center;text-align:center}
#root .cc-offer-row>.cc-actions [role="status"]:empty{display:none}
#root #promotion-archive .cc-faq{display:block}
#root #promotion-archive .cc-faq>div{padding:12px 0}
@media(max-width:599px){#root .footer-bottom{flex-direction:column;gap:24px}#root .mm-footer-legal{justify-content:flex-start;display:grid;grid-template-columns:minmax(0,1fr);gap:10px}#root .mm-footer-documents small{text-align:left}#root .mm-footer-legal a{font-size:13px}}
@media(max-width:759px){#root .cc-offer-row>.cc-actions{max-width:none;justify-self:stretch}}
