/* Local preview adapter only. Accepted component source and its scoped stylesheet
   are reused from the public V6.3 homepage; no CF7 transport is loaded here. */
main>.hero:before{display:none!important}
main{background:#faf8f2}
.hero-microbath{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)}
.accepted-components{--wp--preset--spacing--20:16px;--wp--preset--spacing--30:24px;--wp--preset--spacing--40:32px;--wp--preset--spacing--50:40px;--wp--preset--font-size--h-1:38px;--wp--preset--font-size--h-2:28px;--wp--preset--font-size--h-3:22px}.accepted-components .entry-content{margin:0}.accepted-components .entry-content>.wp-block-group{display:block!important;max-width:none;margin:0}.accepted-components .section-title__content{white-space:normal}.accepted-components .wp-block-group:not([id]){max-width:100%}.accepted-components :is(#contacts,[data-dmse-original-id="contacts"]) .decormos-question__inner{max-width:1216px;margin:auto}.accepted-components .preview-form .cf7apps-honeypot-wrap,.accepted-components .preview-form .hidden-fields-container{display:none!important}.accepted-components .preview-form .wpcf7-spinner{display:none}.accepted-components :is(#portfolio,[data-dmse-original-id="portfolio"]) [hidden]{display:none!important}.accepted-components .accordion-collapse:not(.show){display:none}.accepted-components .accordion-button{width:100%;border:0;background:transparent;cursor:pointer}.accepted-components .accordion-body{font-weight:500}.accepted-components footer{padding:0}.accepted-components footer img{width:60px;height:auto}.accepted-components .footer__articles-group-list{list-style:none;padding:0}.accepted-components .footer__articles-group-list li{margin-bottom:8px}.accepted-components .footer__articles-group-list a{text-decoration:none}.accepted-components footer svg{max-width:30px;max-height:30px}.accepted-components :is(#certificates,[data-dmse-original-id="certificates"]) .gallery-slider__image{max-height:420px}.accepted-components :is(#portfolio,[data-dmse-original-id="portfolio"]) .portfolio__more-button{cursor:pointer}.accepted-components :is(#contacts,[data-dmse-original-id="contacts"]) form{max-width:100%}.accepted-components .wp-block-decormos-gallery-slider{overflow:hidden}.accepted-components .gallery-slider__button svg{width:24px;height:24px}

/* Restore the accepted footer's public inline layout and WordPress flex
   dependencies. Its markup, link groups, contact details and source styling stay
   native; extract_shared.php deliberately excludes live inline <style> tags. */
.accepted-components footer .is-layout-flex{display:flex;flex-wrap:wrap;align-items:center;gap:0}
.accepted-components footer .is-layout-flex>:is(*,div){margin:0}
.accepted-components footer .wp-container-core-group-is-layout-1bbac977{flex-direction:column;align-items:flex-start}
.accepted-components footer .wp-container-core-group-is-layout-89be0dc6{flex-wrap:nowrap;gap:var(--wp--preset--spacing--50)}
.accepted-components footer .wp-container-core-social-links-is-layout-f913c556{gap:var(--wp--preset--spacing--20)}
.accepted-components footer .wp-container-core-group-is-layout-109982ed{flex-wrap:nowrap;gap:var(--wp--preset--spacing--50)}
.accepted-components footer .wp-container-core-group-is-layout-dc10414a{gap:var(--wp--preset--spacing--50);justify-content:space-between}
.accepted-components footer .dm-footer-topics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;align-items:start;margin:48px auto 0;box-sizing:border-box}
.accepted-components footer .dm-footer-topics>.dm-footer-topic-column{min-width:0;margin:0}
.accepted-components footer .dm-footer-topics .footer__articles{display:block!important;grid-template-columns:none!important;width:100%;max-width:none;margin:0!important;padding:0!important;box-sizing:border-box}
.accepted-components footer .dm-footer-topics .footer__articles-group{min-width:0;overflow-wrap:anywhere}
.accepted-components footer .dm-footer-topics .footer__articles.dm-footer-polymer{margin-top:40px!important}
.accepted-components footer .wp-block-site-logo{box-sizing:border-box;line-height:0}
.accepted-components footer .wp-block-site-logo a{display:inline-block;line-height:0}
.accepted-components footer .wp-block-site-logo img{height:auto;max-width:100%}
.accepted-components footer{--wp--preset--spacing--20:.44rem;--wp--preset--spacing--50:1.5rem;--wp--preset--font-size--h-4:clamp(1.125rem,1.0701rem + .2439vw,1.25rem);--wp--preset--font-size--h-6:clamp(.875rem,.8201rem + .2439vw,1rem)}
.accepted-components footer .wp-block-social-links{background:none;box-sizing:border-box;list-style:none;margin:0;padding:0;font-size:24px;text-indent:0}
.accepted-components footer .wp-block-social-links .wp-social-link{display:block;margin:0;padding:0;border-radius:9999px}
.accepted-components footer .wp-social-link-telegram{background-color:#2aabee;color:#fff}
.accepted-components footer .wp-social-link-youtube{background-color:red;color:#fff}
.accepted-components footer .wp-social-link-whatsapp{background-color:#25d366;color:#fff}
.accepted-components footer .wp-block-social-links .wp-social-link a{align-items:center;display:flex;justify-content:center;line-height:0;padding:.25em}
.accepted-components footer .wp-block-social-links .wp-social-link svg{height:1em;width:1em;fill:currentColor}
.accepted-components footer .screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
.accepted-components footer .footer-inner{padding-bottom:26px!important}
.accepted-components footer .footer-inner__logo-wrapper p{font-size:13px;line-height:1.5}
.accepted-components footer .footer-inner__contacts .has-h-4-font-size{font-size:var(--wp--preset--font-size--h-4)!important;line-height:1.3}
.accepted-components footer .footer-inner__contacts .has-h-6-font-size{font-size:var(--wp--preset--font-size--h-6)!important;line-height:1.4}
.accepted-components footer .footer-inner>p:last-child{font-size:13px;line-height:1.4;text-align:center;margin:18px 0 0}

/* Retain the accepted phone/submit styling; the required consent occupies its
   own row. Service fields are removed in reuse_components.py as well. */
.accepted-components .accepted-consent{grid-column:1/-1;display:flex;align-items:flex-start;gap:9px;font:400 13px/1.45 Arial,Helvetica,sans-serif!important;text-align:left;margin:5px 0 0!important;color:var(--dmrd-ink)}
.accepted-components .accepted-consent input[type=checkbox]{appearance:auto;width:17px!important;height:17px!important;min-width:17px;min-height:17px;flex:0 0 17px;margin:2px 0 0;padding:0;accent-color:var(--dmrd-olive)}
.accepted-components .accepted-consent a{color:inherit;text-decoration:underline}
.accepted-components .preview-form .preview-response{grid-column:1/-1;order:4;font-size:14px;line-height:1.4;margin:8px 0 0!important}
.accepted-components .preview-form .preview-response[hidden]{display:none!important}
.accepted-components :is(#contacts,[data-dmse-original-id="contacts"]) .dmrd-final-form .accepted-preview-phone-form{grid-template-columns:minmax(0,1fr) minmax(180px,1fr);align-items:start}
.accepted-components :is(#contacts,[data-dmse-original-id="contacts"]) .dmrd-final-form .accepted-preview-phone-form>[data-name=phone],.accepted-components :is(#contacts,[data-dmse-original-id="contacts"]) .dmrd-final-form .accepted-preview-phone-form>div:has(input[type=submit]){display:block;min-width:0;width:100%}
.accepted-components :is(#contacts,[data-dmse-original-id="contacts"]) .dmrd-final-form input[type=submit]{width:100%!important;font-size:15px!important;line-height:1.3}
.accepted-components :is(#contacts,[data-dmse-original-id="contacts"]) .dmrd-final-form .accepted-consent{font-size:13px!important;line-height:1.45}
.accepted-components :is(#contacts,[data-dmse-original-id="contacts"]) .dmrd-final-original{font-size:15px!important;line-height:1.45}

/* The floor diagram itself stays intact. The second native technology column
   uses the homepage's accepted personal-selection form. */
.accepted-components :is(#tech,[data-dmse-original-id="tech"]) .dmrd-tech-selection{display:flex;flex-direction:column;justify-content:center;gap:20px;min-width:0;margin:0;padding:24px;background:var(--dmrd-panel);border:1px solid var(--dmrd-line);border-radius:5px}
.accepted-components :is(#tech,[data-dmse-original-id="tech"]) .dmrd-tech-selection .dmrd-portfolio-selection__capture{width:100%}
.accepted-components :is(#tech,[data-dmse-original-id="tech"]) .dmrd-tech-selection form.form{grid-template-columns:1fr}
.accepted-components :is(#tech,[data-dmse-original-id="tech"]) .dmrd-tech-selection .dmrd-portfolio-selection__copy p{font-size:18px}

/* Keep certificate navigation at the gallery edges, as on accepted reviews. */
.accepted-components :is(#certificates,[data-dmse-original-id="certificates"]) .swiper{position:relative;padding-inline:50px}
.accepted-components :is(#certificates,[data-dmse-original-id="certificates"]) .gallery-slider__navigation{position:absolute;inset:0 4px;display:flex;align-items:center;justify-content:space-between;gap:0;margin:0;pointer-events:none;z-index:3}
.accepted-components :is(#certificates,[data-dmse-original-id="certificates"]) .gallery-slider__button{pointer-events:auto;flex:0 0 auto}
@media(max-width:1199px){.accepted-components footer .dm-footer-topics{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 24px}}
@media(max-width:767px){.accepted-components footer .dm-footer-topics{grid-template-columns:minmax(0,1fr);gap:0}.accepted-components footer .dm-footer-topics .footer__articles.dm-footer-polymer{margin-top:0!important}}
@media(max-width:700px){
 .accepted-components :is(#contacts,[data-dmse-original-id="contacts"]) .dmrd-final-form .accepted-preview-phone-form{grid-template-columns:1fr}
 .accepted-components :is(#tech,[data-dmse-original-id="tech"]) .dmrd-tech-selection{padding:20px;gap:18px}
 .accepted-components :is(#tech,[data-dmse-original-id="tech"]) .dmrd-tech-selection .dmrd-portfolio-selection__copy p{font-size:16px}
 .accepted-components :is(#certificates,[data-dmse-original-id="certificates"]) .swiper{padding-inline:35px}
 .accepted-components :is(#certificates,[data-dmse-original-id="certificates"]) .gallery-slider__navigation{inset:0 2px}
 .accepted-components :is(#certificates,[data-dmse-original-id="certificates"]) .gallery-slider__button{width:32px;height:32px}
 .accepted-components footer .footer-inner{padding-bottom:24px!important}
}
