/* Missed Call Calculator popup (includes/tool-popup.php). Frame, close button and main button come from
   email-popup.css and the site's light restyle (redesign.css, body.im-v3), so it looks like the site's other popup. */
.im-pop--tool { --tp-ink: var(--v3-ink, #121016); --tp-slate: var(--v3-slate, #4d4b64); --tp-line: rgba(18, 16, 22, .14); width: min(480px, calc(100vw - 32px)); }
.im-tp__fields { display: grid; gap: 4px; }
.im-tp__control { position: relative; }
.im-tp__unit { position: absolute; top: 50%; transform: translateY(-50%); color: var(--tp-slate); font-weight: 700; pointer-events: none; z-index: 1; }
.im-tp__control--pre .im-tp__unit { left: 14px; }
.im-tp__control--post .im-tp__unit { right: 14px; }
/* specific enough to beat the site's form padding (redesign.css, body.im-forms-v4 …) */
body .im-pop.im-pop--tool .im-tp__control.im-tp__control--pre input[type="number"] { padding-left: 30px !important; }
body .im-pop.im-pop--tool .im-tp__control.im-tp__control--post input[type="number"] { padding-right: 34px !important; }
/* no spinner arrows: they sat on top of the % sign */
.im-pop--tool input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.im-pop--tool input[type="number"]::-webkit-outer-spin-button,
.im-pop--tool input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.im-tp__result { margin: 14px 0 6px; padding: 16px 18px; border: 1px solid var(--tp-line); border-radius: 16px; background: #f6f3ff; text-align: center; }
body .im-pop--tool .im-tp__label { margin: 0 0 4px !important; color: var(--tp-slate) !important; font-size: 14.5px; }
body .im-pop--tool .im-tp__big { margin: 0 !important; color: #6d28d9 !important; font-size: clamp(40px, 11vw, 54px); line-height: 1; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
body .im-pop--tool .im-tp__big small { color: var(--tp-slate); font-size: 16px; font-weight: 600; letter-spacing: 0; }
body .im-pop--tool .im-tp__year { margin: 6px 0 0 !important; color: var(--tp-ink) !important; font-size: 15px; font-weight: 600; }
body .im-pop--tool .im-tp__how { margin: 10px 0 14px !important; color: var(--tp-slate) !important; font-size: 12.5px; line-height: 1.45; }
.im-pop .im-tp__cta { text-decoration: none !important; text-align: center; line-height: 1.25 !important; }
body .im-pop--tool .im-pop__note { margin-top: 12px !important; }
