/* ETC plan-help kit: slide-in plan advice card + feature explorer (pricing pages). Behaviour in kit-planhelp.js. */

/* ------------------------------------------------------------------ slide-in card */
.k-ph { position: fixed; right: 20px; bottom: 20px; z-index: 70; width: min(400px, calc(100vw - 40px)); max-height: calc(100vh - 110px);
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(15, 39, 66, .45), 0 2px 6px rgba(15, 23, 42, .08);
  transform: translateY(24px) scale(.98); opacity: 0; transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .3s; }
.k-ph::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--brand); z-index: 2; }
.k-ph.is-open { transform: none; opacity: 1; }
.k-ph[hidden] { display: none; }
.k-ph__x { position: absolute; top: 10px; right: 10px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #F1F5F9;
  color: var(--muted); font: 400 22px/1 var(--font-ui); cursor: pointer; }
.k-ph__x:hover { background: #E2E8F0; color: var(--ink); }
.k-ph__x:focus-visible, .k-ph__peek:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.k-ph__peek { display: none; }
.k-ph__body { overflow-y: auto; overscroll-behavior: contain; padding: 22px 20px 18px; }
.k-ph__k { margin: 0 44px 6px 0; font: 700 11.5px/1.3 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--green-d); }
.k-ph__h { margin: 0 34px 8px 0; font-size: 20px; line-height: 1.3; }
.k-ph__p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.55; color: var(--text); }
.k-ph__form.form { padding: 0; box-shadow: none; border-radius: 0; background: transparent; }
.k-ph__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.k-ph__grid label { font-size: 12.5px; gap: 4px; }
.k-ph__grid label.full { grid-column: 1 / -1; }
.k-ph .form input, .k-ph .form select { min-height: 42px; padding: 9px 10px; font-size: 14.5px; }
.k-ph .form label.consent { margin-top: 8px; min-height: 0; font-size: 12.5px !important; }
.k-ph__dpdp { margin: 6px 0 12px; font-size: 11.5px; line-height: 1.5; color: var(--muted); }
.k-ph__submit { width: 100%; }
.k-ph__next { grid-column: 1 / -1; width: 100%; margin-top: 4px; }
.k-ph:not(.is-s2) .k-ph__s2 { display: none; }
.k-ph.is-s2 .k-ph__s1, .k-ph.is-s2 .k-ph__p { display: none; }
.k-ph__back { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 10px; font: 600 13px/1.3 var(--font-ui); color: var(--ink); }
.k-ph__back button { border: 0; background: none; padding: 6px 0; min-height: 32px; color: var(--blue); font: inherit; cursor: pointer; }
.k-ph__back span { padding: 4px 10px; border-radius: 999px; background: var(--blue-bg); color: var(--blue-d); }
.k-ph .form__msg { margin: 8px 0 0; font-size: 13px; }
html.ph-on .k-sticky { opacity: 0 !important; pointer-events: none !important; }

@media (max-width: 720px) {
  .k-ph { right: 8px; left: 8px; bottom: 64px; width: auto; max-height: calc(100vh - 150px); border-radius: 16px; }
  .k-ph__peek { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; padding: 10px 52px 10px 14px; border: 0; background: #fff;
    text-align: left; cursor: pointer; font: inherit; color: var(--ink); }
  .k-ph__peek b { display: block; font: 700 14.5px/1.3 var(--font-ui); }
  .k-ph__peek small { display: block; font: 500 12.5px/1.3 var(--font-ui); color: var(--muted); }
  .k-ph__go { margin-left: auto; padding: 8px 12px; border-radius: 999px; background: var(--blue); color: #fff; font: 700 13px/1 var(--font-ui); white-space: nowrap; }
  .k-ph__dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(62, 169, 0, .18); }
  .k-ph__x { top: 10px; }
  .k-ph:not(.is-expanded) .k-ph__body { display: none; }
  .k-ph.is-expanded .k-ph__peek { display: none; }
  .k-ph__grid { grid-template-columns: 1fr; }
  .k-ph__h { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .k-ph { transition: opacity .2s; transform: none; } }

/* ------------------------------------------------------------------ feature explorer */
.k-fx { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 48px -36px rgba(15, 39, 66, .5); overflow: hidden; }
.k-fx__tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 18px 0; }
.k-fx__tabs button { -webkit-appearance: none; appearance: none; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 14px;
  border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; font: 600 14.5px/1.2 var(--font-ui); color: var(--ink);
  transition: background .2s, border-color .2s, color .2s; }
.k-fx__tabs button:hover { border-color: var(--blue); color: var(--blue); }
.k-fx__tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.k-fx__tabs button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.k-fx__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--paper); }
.k-fx__search { position: relative; flex: 1 1 260px; display: block; }
.k-fx__search svg { position: absolute; left: 12px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.k-fx__q { width: 100%; min-height: 44px; padding: 10px 12px 10px 38px; border: 1px solid #CBD5E1; border-radius: 10px; background: #fff;
  font: 500 15px/1.3 var(--font-ui); color: var(--ink); }
.k-fx__q:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(35, 110, 180, .15); }
.k-fx__diff { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 600 14px/1.2 var(--font-ui); color: var(--ink); cursor: pointer; }
.k-fx__diff input { width: 18px; height: 18px; accent-color: var(--blue); }
.k-fx__count { margin-left: auto; font: 600 13px/1.2 var(--font-ui); color: var(--muted); }
.k-fx__clear { display: none; border: 0; background: none; color: var(--blue); font: 600 13px/1 var(--font-ui); cursor: pointer; padding: 6px; min-height: 44px; }
.k-fx.is-filtered .k-fx__clear { display: inline-block; }
.k-fx__scroll { overflow: auto; max-height: 640px; }
.k-fx__tbl { width: 100%; border-collapse: separate; border-spacing: 0; font: 500 14.5px/1.4 var(--font-ui); min-width: 560px; }
.k-fx__tbl th, .k-fx__tbl td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.k-fx__tbl thead th { position: sticky; top: 0; z-index: 2; background: var(--navy); color: #fff; font: 700 13.5px/1.25 var(--font-ui); }
.k-fx__tbl thead th:first-child { text-align: left; left: 0; z-index: 3; }
.k-fx__tbl tbody th { position: sticky; left: 0; z-index: 1; background: #fff; text-align: left; font-weight: 600; color: var(--ink); min-width: 220px; max-width: 320px; }
.k-fx__tbl tbody th small { display: block; margin-top: 2px; font-weight: 500; font-size: 12.5px; color: var(--muted); }
.k-fx__tbl tbody tr:hover td, .k-fx__tbl tbody tr:hover th { background: #F5F9FD; }
.k-fx__tbl tr.k-fx__g th { position: sticky; left: 0; background: var(--blue-bg); color: var(--blue-d); text-align: left; font: 800 12px/1.2 var(--font-ui);
  letter-spacing: .1em; text-transform: uppercase; padding: 9px 14px; }
.k-fx__tbl td { color: var(--ink); font-weight: 600; font-size: 14px; }
.k-fx__y { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green-bg); color: var(--green-d); font: 800 13px/1 var(--font-ui); }
.k-fx__n { color: #94A3B8; font-weight: 700; }
.k-fx__empty { display: none; padding: 22px 18px; margin: 0; color: var(--muted); text-align: center; }
.k-fx__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line); }
.k-fx__src { margin: 0; flex: 1 1 380px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.k-fx__ask { flex: none; }
.k-fx__btns { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 720px) {
  .k-fx__tbl tbody th { min-width: 160px; max-width: 200px; }
  .k-fx__count { margin-left: 0; }
  .k-fx__scroll { max-height: 560px; }
}
