/* No-show calculator (V2-Tool-NoShow). Sibling of the missed-call calculator. */
.fx-nsc { padding-top: 32px; }
.fx-nsc__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 56px; align-items: start; }
.fx-nsc__copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.fx-nsc__h { margin: 0; font-size: 56px; line-height: 1; letter-spacing: -0.04em; }
.fx-nsc__h em { display: block; font-style: normal; color: var(--violet); }
.fx-nsc__intro { margin: 0; max-width: 600px; }

/* Business type chips (radios) */
.fx-nsc__inds { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.fx-nsc__inds-l { padding: 0; margin-bottom: 8px; font-size: 13.5px; color: var(--muted); }
.fx-nsc__inds-l span { font-size: 12px; }
.fx-nsc__chip { position: relative; cursor: pointer; }
.fx-nsc__chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fx-nsc__chip span { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 500; white-space: nowrap; transition: background-color 150ms, border-color 150ms, color 150ms; }
.fx-nsc__chip:hover span { background: var(--violet-soft); }
.fx-nsc__chip input:checked + span { background: var(--violet); border-color: var(--violet); color: #fff; }
.fx-nsc__chip input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }

/* Stepper cards */
.fx-nsc__inputs { display: flex; flex-direction: column; gap: 12px; }
.fx-nsc__in { display: flex; flex-direction: column; gap: 6px; padding: 16px 20px 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: border-color 150ms, box-shadow 150ms; }
.fx-nsc__in:focus-within { border-color: var(--violet-300); box-shadow: 0 0 0 4px var(--violet-soft); }
.fx-nsc__in-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fx-nsc__in-label { font-weight: 600; font-size: 15.5px; color: var(--ink); }
.fx-nsc__in-hint { margin-left: auto; font-size: 12.5px; color: var(--muted); text-align: right; }
.fx-nsc__ex { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; background: #F5F3FA; border: 1px solid var(--line); font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: #7A7395; }
.fx-nsc__ex.is-dark { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #CFC9DE; }
.fx-nsc__in-row { display: flex; align-items: center; gap: 14px; }
.fx-nsc__step { flex: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; transition: background-color 150ms, transform 150ms; }
.fx-nsc__step:hover { background: var(--violet-soft); }
.fx-nsc__step:active { transform: scale(.92); }
.fx-nsc__step[aria-disabled="true"] { opacity: .4; cursor: default; background: var(--surface); }
.fx-nsc__in-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fx-nsc__val { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; text-align: center; color: var(--ink); }
.fx-nsc__range { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; margin: 0; background: transparent; cursor: pointer; }
.fx-nsc__range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--violet) var(--pct, 0%), #EEEBF5 var(--pct, 0%)); }
.fx-nsc__range::-moz-range-track { height: 6px; border-radius: 3px; background: #EEEBF5; }
.fx-nsc__range::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--violet); }
.fx-nsc__range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -6px; border-radius: 5px; background: #fff; border: 2px solid var(--violet); box-shadow: 0 2px 6px rgba(23, 17, 46, .18); }
.fx-nsc__range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 5px; background: #fff; border: 2px solid var(--violet); box-shadow: 0 2px 6px rgba(23, 17, 46, .18); }
.fx-nsc__range:focus-visible { outline: none; }
.fx-nsc__range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--violet-soft); }
.fx-nsc__range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px var(--violet-soft); }

/* Trust row */
.fx-nsc__trust { margin: 2px 0 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; font-size: 13.5px; color: var(--muted); }
.fx-nsc__rating { display: inline-flex; align-items: center; gap: 8px; }
.fx-nsc__rating b { font-family: var(--font-display); font-size: 18px; color: var(--ink); }
.fx-nsc__sep { width: 1px; height: 16px; background: var(--line); }

/* Phone bar (hidden on desktop) */
.fx-nsc__bar { display: none; }

/* Result card */
.fx-nsc__side { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding-top: 80px; }
.fx-nsc__card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 16px; padding: 28px 28px 24px; border-radius: 26px; background: var(--ink); color: #fff; scroll-margin-top: calc(var(--header-h, 72px) + 16px); }
.fx-nsc__card:focus { outline: none; }
.fx-nsc__card > * { position: relative; margin: 0; }
.fx-nsc__card > .fx-nsc__glow { position: absolute; right: -120px; top: -150px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(91, 43, 217, .7), transparent 68%); pointer-events: none; }
.fx-nsc__card > .fx-nsc__sq { position: absolute; right: 24px; bottom: 22px; width: 45px; height: 45px; border-radius: 9px; background: var(--coral); animation: fxNscBob 9s ease-in-out infinite; }
.fx-nsc__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fx-nsc__label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--violet-400); }
.fx-nsc__res { display: flex; flex-direction: column; gap: 16px; }
.fx-nsc__res[hidden], .fx-nsc__prompt[hidden] { display: none; }
.fx-nsc__res > * { position: relative; margin: 0; }
.fx-nsc__k { font-size: 15px; color: #CFC9DE; margin: 0 0 -10px; }
.fx-nsc__num { font-family: var(--font-display); font-weight: 800; font-size: 64px; line-height: 1; letter-spacing: -0.04em; color: #FE7B5C; }
.fx-nsc__num.is-bump [data-yr] { display: inline-block; animation: fxNscNum 360ms cubic-bezier(.2, .8, .2, 1) both; }
.fx-nsc__per { font-size: 22px; font-weight: 700; letter-spacing: 0; color: #CFC9DE; }
.fx-nsc__tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fx-nsc__tiles li { display: flex; flex-direction: column; gap: 0; line-height: 1.35; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .07); min-width: 0; }
.fx-nsc__tiles strong { font-family: var(--font-mono); font-size: 15px; font-weight: 400; color: #fff; }
.fx-nsc__tiles span { font-size: 12px; color: #A9A3C4; }

/* Week grid */
.fx-nsc__week { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid #2E2752; }
.fx-nsc__week > * { margin: 0; }
.fx-nsc__week-t { display: flex; justify-content: space-between; font-size: 12.5px; color: #CFC9DE; }
.fx-nsc__week-t span + span { font-family: var(--font-mono); font-size: 11px; color: #A9A3C4; }
.fx-nsc__days, .fx-nsc__slots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; }
.fx-nsc__days span { font-family: var(--font-mono); font-size: 10px; color: #A9A3C4; text-align: center; }
.fx-nsc__slots { grid-auto-flow: row; }
.fx-nsc__slots i { height: 22px; border-radius: 6px; background: rgba(255, 255, 255, .1); transition: background-color 260ms, border-color 260ms; }
.fx-nsc__slots i.is-miss { background: rgba(254, 123, 92, .12); border: 1.5px dashed #FE7B5C; }
.fx-nsc__slots i.is-won { background: var(--violet); }
.fx-nsc__legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: #CFC9DE; }
.fx-nsc__legend span { display: flex; align-items: center; gap: 6px; }
.fx-nsc__legend span::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: rgba(255, 255, 255, .18); }
.fx-nsc__legend .is-miss::before { background: transparent; border: 1.5px dashed #FE7B5C; box-sizing: border-box; }
.fx-nsc__legend .is-won::before { background: var(--violet); }

/* Won back + formula */
.fx-nsc__won { display: flex; flex-direction: column; gap: 2px; padding-top: 16px; border-top: 1px solid #2E2752; }
.fx-nsc__won-l { font-size: 15px; color: #CFC9DE; }
.fx-nsc__won-v { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; }
.fx-nsc__won strong { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: -0.02em; color: #fff; }
.fx-nsc__won-n { font-size: 14px; font-weight: 600; color: var(--violet-400); }
.fx-nsc__how { font-size: 13px; color: #A9A3C4; padding-right: 70px; }
.fx-nsc__how summary { cursor: pointer; color: #CFC9DE; font-weight: 600; width: max-content; max-width: 100%; }
.fx-nsc__how summary:focus-visible { outline: 2px solid var(--violet-400); outline-offset: 3px; border-radius: 4px; }
.fx-nsc__f { margin: 6px 0 0; display: flex; flex-direction: column; font-family: var(--font-mono); font-size: 12px; line-height: 1.7; }
.fx-nsc__disc { font-size: 13px; line-height: 1.5; color: #A9A3C4; padding-right: 70px; margin-top: -10px !important; }

/* Empty state */
.fx-nsc__prompt { display: flex; flex-direction: column; gap: 14px; padding: 64px 0 70px; }
.fx-nsc__prompt > * { margin: 0; }
.fx-nsc__ph { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; max-width: 420px; }
.fx-nsc__pt { font-size: 15px; line-height: 1.6; color: #CFC9DE; max-width: 440px; }
.fx-nsc__pchips { display: flex; gap: 8px; flex-wrap: wrap; }
.fx-nsc__pchips button { height: 34px; padding: 0 12px; border-radius: 999px; background: transparent; border: 1px dashed rgba(255, 255, 255, .35); color: #fff; font: inherit; font-size: 13.5px; cursor: pointer; }
.fx-nsc__pchips button:hover { background: rgba(255, 255, 255, .08); }

/* Buttons, toast, also try */
.fx-nsc__btns { display: flex; gap: 10px; }
.fx-nsc__btns .fx-btn { height: 54px; }
.fx-nsc__go { flex: 1; }
.fx-nsc__copybtn { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; white-space: nowrap; }
.fx-nsc__copybtn.is-done { background: #E7F6EE; border-color: #9BD6B5; color: #0F6B3B; }
.fx-nsc__toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; margin: 0; padding: 12px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14.5px; font-weight: 600; box-shadow: var(--shadow-float); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity 200ms, transform 200ms; }
.fx-nsc__toast:empty { display: none; }
.fx-nsc__toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.fx-nsc__also { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color 150ms, transform 150ms; }
.fx-nsc__also:hover { border-color: var(--violet-300); color: var(--ink); transform: translateY(-1px); }
.fx-nsc__also-ic { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--violet-soft); color: var(--violet); display: flex; align-items: center; justify-content: center; }
.fx-nsc__also-t { flex: 1; display: flex; flex-direction: column; }
.fx-nsc__also-t span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fx-nsc__also-t strong { font-weight: 600; }
.fx-nsc__also-go { color: var(--violet); }

@keyframes fxNscNum { from { opacity: .2; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fxNscBob { 0%, 100% { transform: translateY(0) rotate(14deg); } 50% { transform: translateY(-10px) rotate(24deg); } }

/* Desktop: the estimate stays in view while the inputs scroll past. */
@media (min-width: 1101px) and (min-height: 760px) {
	.fx-nsc__side { position: sticky; top: calc(var(--header-h, 72px) - 12px); }
}
@media (max-width: 1100px) {
	.fx-nsc__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.fx-nsc__side { padding-top: 0; }
	.fx-nsc__h { font-size: 46px; }
	/* Inputs first; the yearly cost rides along at the bottom until the result card shows. */
	.fx-nsc__bar { position: sticky; bottom: 12px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 16px; border-radius: 16px; background: var(--ink); color: #fff; text-decoration: none; box-shadow: 0 20px 40px -20px rgba(23, 17, 46, .7); transition: opacity 200ms; }
	.fx-nsc__bar:hover { color: #fff; }
	.fx-nsc__bar.is-gone, .fx-nsc.is-empty .fx-nsc__bar { opacity: 0; pointer-events: none; }
	.fx-nsc__bar-t { display: flex; flex-direction: column; gap: 1px; }
	.fx-nsc__bar-t > span { font-size: 11.5px; color: #CFC9DE; }
	.fx-nsc__bar-t strong { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: #FE7B5C; }
	.fx-nsc__bar-t small { font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: 0; color: #CFC9DE; }
	.fx-nsc__bar-go { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 10px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; }
}
@media (max-width: 600px) {
	.fx-nsc { padding-top: 20px; }
	.fx-nsc__h { font-size: 38px; line-height: 1.04; }
	.fx-nsc__in { padding: 14px 14px 16px; }
	.fx-nsc__in-hint { margin-left: 0; width: 100%; text-align: left; }
	.fx-nsc__in-row { gap: 10px; }
	.fx-nsc__val { font-size: 25px; }
	.fx-nsc__card { padding: 24px 18px 22px; border-radius: 22px; }
	.fx-nsc__card > .fx-nsc__sq { width: 36px; height: 36px; right: 16px; bottom: 18px; }
	.fx-nsc__num { font-size: 46px; }
	.fx-nsc__per { font-size: 18px; }
	.fx-nsc__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
	.fx-nsc__tiles li:first-child { grid-column: 1 / -1; }
	.fx-nsc__tiles strong { font-size: 14px; }
	.fx-nsc__slots i { height: 18px; }
	.fx-nsc__won strong { font-size: 26px; }
	.fx-nsc__how, .fx-nsc__disc { padding-right: 48px; }
	.fx-nsc__btns { flex-direction: column; }
	.fx-nsc__go { flex: none; }
	.fx-nsc__btns .fx-btn { width: 100%; justify-content: center; }
	.fx-nsc__prompt { padding: 32px 0 56px; }
	.fx-nsc__ph { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
	.fx-nsc__num.is-bump [data-yr], .fx-nsc__card > .fx-nsc__sq { animation: none; }
	.fx-nsc__card > .fx-nsc__sq { transform: rotate(14deg); }
	.fx-nsc__slots i, .fx-nsc__toast, .fx-nsc__bar { transition: none; }
}
