/* CalculaFácil V14.5 — correcciones móviles, accesos rápidos y modo oscuro */
.shell{grid-template-columns:minmax(0,1fr)}
@media(min-width:861px){.shell{grid-template-columns:280px minmax(0,1fr)}}
main{min-width:0}
img,canvas,table{max-width:100%}
.cf-quick{margin:26px 0;padding:22px 24px;border:1px solid #dce5f2;border-radius:22px;background:#fff;box-shadow:0 10px 30px rgba(29,48,86,.06)}
.cf-quick h2{margin:0 0 6px;font-size:1.3rem;color:#172554}
.cf-quick p{margin:0 0 14px;color:#586783;font-size:.95rem}
.cf-quick-grid{display:flex;flex-wrap:wrap;gap:10px}
.cf-quick-grid a{display:inline-flex;align-items:center;gap:8px;padding:10px 15px;border:1px solid #c7d2fe;border-radius:999px;background:#eef2ff;color:#3730a3;font-weight:650;font-size:.92rem;text-decoration:none}
.cf-quick-grid a:hover,.cf-quick-grid a:focus-visible{background:#e0e7ff;outline:2px solid #4f46e5;outline-offset:2px}
@media(max-width:700px){.cf-quick{padding:18px}}
#cf-theme-toggle{position:fixed;right:14px;bottom:64px;z-index:9998;width:42px;height:42px;border-radius:50%;border:1px solid #cbd5e1;background:#fff;color:#172033;font-size:18px;line-height:1;cursor:pointer;box-shadow:0 4px 16px rgba(15,23,42,.18)}
#cf-theme-toggle:focus-visible{outline:3px solid #4f46e5;outline-offset:2px}
html.cf-dark{background:#fff;filter:invert(.9) hue-rotate(180deg);color-scheme:dark}
html.cf-dark img,html.cf-dark video,html.cf-dark canvas,html.cf-dark iframe,html.cf-dark ins.adsbygoogle{filter:invert(1) hue-rotate(180deg)}
@media print{html.cf-dark{filter:none}#cf-theme-toggle{display:none}}
html.cf-dark .home-hero{filter:invert(1) hue-rotate(180deg)}
body:has(#cf-cookie-banner:not([hidden])) #cf-theme-toggle{bottom:150px}

.cf-fig{margin:18px 0 4px}.cf-fig svg{display:block;width:100%;max-width:520px;height:auto}.cf-fig figcaption{font-size:.88rem;color:#586783;margin-top:8px}
