/* A shared, compact result while a calculator's inputs stack above its results. */
.mobile-result{display:none;}
.mobile-result[data-market="uk"],.mobile-result[data-market="pl"]{--mobile-result-bg:var(--ink,#111);--mobile-result-accent:var(--gold,#c8a84b);}
.mobile-result[data-market="us"]{--mobile-result-bg:var(--navy,#0a1628);--mobile-result-accent:var(--blue3,#3b82f6);}
.mobile-result[data-market="de"]{--mobile-result-bg:var(--navy,#1c2b1a);--mobile-result-accent:var(--gold3,var(--gold,#b8963e));}
.mobile-result[data-market="fr"]{--mobile-result-bg:var(--indigo,#1a1040);--mobile-result-accent:var(--violet3,#8b5cf6);}
.mobile-result[data-market="ch"]{--mobile-result-bg:var(--steel,#1a2b3c);--mobile-result-accent:var(--blue3,#5b9bd5);}
.mobile-result[data-market="es"]{--mobile-result-bg:var(--terra,#5c1a1a);--mobile-result-accent:var(--gold3,#e0b060);}
.mobile-result[data-market="it"]{--mobile-result-bg:var(--olive,#2d4a1e);--mobile-result-accent:var(--green3,#8caf62);}
@media screen{
  .mobile-result:not([hidden]){display:block;position:fixed;top:var(--mobile-result-top,64px);inset-inline:0;z-index:190;box-sizing:border-box;background:var(--mobile-result-bg,#0a1628);color:#fff;border-top:1px solid rgba(255,255,255,.12);border-bottom:2px solid var(--mobile-result-accent,#3b82f6);box-shadow:0 6px 16px rgba(10,22,40,.16);font-family:var(--sans,system-ui,sans-serif);}
  .mobile-result .mobile-result-inner{box-sizing:border-box;max-width:1200px;margin:0 auto;padding:10px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px;}
  .mobile-result .mobile-result-summary{flex:1;min-width:0;}
  .mobile-result .mobile-result-label{margin:0;font-size:10px;font-weight:600;line-height:1.5;color:#fff;overflow-wrap:anywhere;}
  .mobile-result .mobile-result-value{margin:0;font-family:var(--mono,ui-monospace,monospace);font-size:22px;line-height:1.5;overflow-wrap:anywhere;}
  .mobile-result .mobile-result-value strong{font-weight:500;}
  .mobile-result .mobile-result-unit{font-family:var(--sans,system-ui,sans-serif);font-size:12px;color:#fff;white-space:nowrap;}
  .mobile-result[data-state="good"] .mobile-result-amount{color:#86efac;}
  .mobile-result[data-state="warn"] .mobile-result-amount{color:#fcd34d;}
  .mobile-result[data-state="bad"] .mobile-result-amount{color:#ff9a9a;}
  .mobile-result[data-incomplete] .mobile-result-value,.mobile-result[data-text] .mobile-result-value{font-family:var(--sans,system-ui,sans-serif);font-size:16px;}
  .mobile-result .mobile-result-link{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;max-width:42%;min-height:44px;margin:0;padding:8px 12px;border:1px solid rgba(255,255,255,.3);border-radius:8px;background:transparent;color:#fff;font-family:var(--sans,system-ui,sans-serif);font-size:12px;font-weight:700;line-height:1.4;text-align:center;text-decoration:none;}
  .mobile-result .mobile-result-link:hover{background:rgba(255,255,255,.1);}
  .mobile-result .mobile-result-link:focus-visible{outline:3px solid #fff;outline-offset:3px;}
  [data-mobile-result-target]{scroll-margin-top:calc(var(--mobile-result-top,64px) + 28px);}
  [data-mobile-result-stacked] .results-panel{position:static!important;}
}
@media screen and (max-width:560px){.mobile-result .mobile-result-inner{padding-inline:16px;}}
@media screen and (max-width:360px){.mobile-result:not([data-incomplete]):not([data-text]) .mobile-result-value{font-size:18px;}}
