/* Same-origin embedding only. The calculator's original styles stay isolated. */
#income-embed-root{display:flow-root;width:100%;min-height:0}
.embed-toolbar{max-width:1512px;margin:0 auto;padding:17px 56px 0;display:flex;align-items:center;justify-content:space-between;gap:16px}
.embed-toolbar-label{display:flex;align-items:center;flex-wrap:wrap;gap:18px;font:9px var(--font-mono);letter-spacing:.7px;color:var(--muted)}
.standalone-home{color:var(--sage);font-size:11px;letter-spacing:0}
.calculator-footer{justify-content:space-between}
html[data-income-embedded="true"],html[data-income-embedded="true"] body{overflow:hidden;min-height:0;height:auto}
html[data-income-embedded="true"] .standalone-home{display:none}
html[data-income-embedded="true"] #product-dialog{
  position:fixed;inset:auto;left:50%;top:var(--income-visible-center,50vh);
  transform:translate(-50%,-50%);margin:0;
  width:560px;max-width:calc(100vw - 28px);
  max-height:var(--income-dialog-height,calc(100vh - 28px));
  overflow:auto;overscroll-behavior:contain;
}
html[data-income-embedded="true"] .toast{
  position:fixed;inset:auto;left:50%;top:var(--income-toast-bottom,calc(100vh - 20px));
  bottom:auto;transform:translate(-50%,-100%);max-width:calc(100vw - 28px);
}
html[data-income-embedded="true"][data-parent-visible="false"] .toast{visibility:hidden}
@media(min-width:1600px){.embed-toolbar{max-width:1600px}}
@media(max-width:1150px){.embed-toolbar{padding-left:30px;padding-right:30px}}
@media(max-width:600px){.embed-toolbar{padding:14px 18px 0;gap:10px}.embed-toolbar-label{font-size:7px;gap:10px}.embed-toolbar .text-button{font-size:10px}.standalone-home{font-size:9px}.calculator-footer{font-size:7px}}
@media print{.embed-toolbar{display:none}html[data-income-embedded="true"],html[data-income-embedded="true"] body{overflow:visible}}
