/* Tool functionality only. Keep marketing/navigation chrome outside these rules. */
.aes-tool-page main,.aes-tool-page [class*="lg:col-span-8"]{min-width:0}
.aes-tool-page [class*="lg:col-span-8"] input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]),
.aes-tool-page [class*="lg:col-span-8"] select,.aes-tool-page [class*="lg:col-span-8"] textarea{font-size:1rem;min-height:44px;max-width:100%;box-sizing:border-box}
.aes-tool-page [class*="lg:col-span-8"] button,.aes-tool-page [class*="lg:col-span-8"] [role=button]{min-height:44px;min-width:44px;font-size:1rem}
.aes-tool-page [class*="lg:col-span-8"] pre{max-width:100%;overflow:auto}
.aes-tool-page [class*="lg:col-span-8"] :focus-visible{outline:3px solid #2563eb;outline-offset:3px}
.aes-tool-page #rx-result mark{color:#111827;background:#fef08a}
.aes-tool-page #rx-result mark:nth-of-type(6n+2){background:#bbf7d0}
.aes-tool-page #rx-result mark:nth-of-type(6n+3){background:#bfdbfe}
.aes-tool-page #rx-result mark:nth-of-type(6n+4){background:#fbcfe8}
.aes-tool-page #rx-result mark:nth-of-type(6n+5){background:#e9d5ff}
.aes-tool-page #rx-result mark:nth-of-type(6n){background:#fed7aa}
.aes-tool-announcement{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(prefers-reduced-motion:reduce){.aes-tool-page [class*="lg:col-span-8"] *{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

.aes-tool-page [class*="lg:col-span-8"] label:has(input[type=checkbox]),.aes-tool-page [class*="lg:col-span-8"] label:has(input[type=radio]){min-height:44px;min-width:44px;display:inline-flex;align-items:center;gap:.5rem;cursor:pointer}
.aes-tool-page [class*="lg:col-span-8"] label:has(input[type=checkbox]) input:not(.sr-only),.aes-tool-page [class*="lg:col-span-8"] label:has(input[type=radio]) input:not(.sr-only){width:20px;height:20px;flex-shrink:0}
.aes-tool-page [class*="lg:col-span-8"] p,.aes-tool-page [class*="lg:col-span-8"] .prose{font-size:1rem}
.aes-tool-page [class*="lg:col-span-8"] [class*="flex"]{min-width:0}
.aes-tool-page [class*="lg:col-span-8"] code{overflow-wrap:anywhere}
