/* Haricode — calculadoras insertables (/embed/). Van dentro de un <iframe> en
   sitios ajenos: sin menú ni pie, márgenes cortos, una sola columna hasta que
   el marco sea ancho, y el crédito a Haricode siempre visible. */
body{background:var(--surface-0);overflow-x:hidden}
.embed{padding:var(--sp-4)}
.embed .tool-grid{gap:var(--sp-4)}
.embed .tool-form,.embed .tool-out{padding:var(--sp-5)}
.embed-titulo{font-size:var(--fs-md);margin:0 0 var(--sp-3)}
@media(max-width:720px){.embed .tool-grid{grid-template-columns:minmax(0,1fr)}.embed .tool-form .par{grid-template-columns:minmax(0,1fr)}}
@media(max-width:420px){.embed{padding:var(--sp-2)}.embed .tool-form,.embed .tool-out{padding:var(--sp-4)}}
.embed .tool-form,.embed .tool-out{min-width:0}
.embed-credito{margin-top:var(--sp-4);font-size:var(--fs-xs);color:var(--text-3);text-align:right}
.embed-credito a{color:var(--text-2);text-decoration:underline;text-underline-offset:2px}
.embed-credito a:hover{color:var(--text)}
