/* Shared legal dialogs preserve the site's own palette and layout. */
#neuro-project-footer{position:relative;z-index:20;padding:14px 20px;text-align:center;font:13px/1.6 system-ui;color:inherit;background:transparent;border-top:1px solid #8884}
#neuro-project-footer a{color:inherit;text-decoration:underline;text-underline-offset:3px;margin:0 6px;display:inline-block;padding:7px 0}
#neuro-legal-dialog{border:1px solid #8885;border-radius:18px;padding:0;width:min(880px,94vw);height:min(760px,88dvh);max-width:94vw;max-height:88dvh;background:#fff;color:#20221f;box-shadow:0 24px 100px #0006}
#neuro-legal-dialog::backdrop{background:#0009;backdrop-filter:blur(4px)}
#neuro-legal-dialog header{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;border-bottom:1px solid #ddd;font:600 16px system-ui}
#neuro-legal-dialog button{min-width:44px;min-height:44px;border:0;border-radius:8px;background:#eee;color:#20221f;font:26px system-ui;cursor:pointer}
#neuro-legal-dialog iframe{border:0;width:100%;height:calc(100% - 70px);display:block;background:#fff}
@media(max-width:700px){body.neuro-market .grid-2,body.neuro-market .grid-3,body.neuro-market .resource-grid,body.neuro-market .docs-grid,body.neuro-market .related-grid{grid-template-columns:minmax(0,1fr)!important}body.neuro-market .product-section .surface{min-width:0;padding:24px}body.neuro-market .product-section .surface h3{font-size:26px;line-height:1.15}body.neuro-market .product-section .surface p{font-size:16px;line-height:1.65;margin-top:14px}body.neuro-market .product-section .resource-grid{display:grid;overflow:visible}body.neuro-market .real-site-preview{min-width:0}body.neuro-market .real-site-preview img{height:auto;max-height:520px;object-fit:cover;object-position:top}body.neuro-market .product-section{min-width:0}body.neuro-market .footer-bottom{flex-wrap:wrap;gap:14px}body.neuro-market .product-section .grid-2>*{min-width:0}}
