

.sum-clear .msr { font-size: 16px !important; }

.insight {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 13.5px;
  border: 1px solid transparent;
  line-height: 1.45;
}
.insight-info { background: var(--blue-tint); color: #062e6f; border-color: rgba(11, 87, 208, 0.18); }
.insight-warn { background: var(--gold-bg); color: var(--gold); }
.insight-glyph { font-size: 20px !important; flex: 0 0 auto; }

.insight-x {
  margin-left: auto;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: none;
  background: transparent;
  border-radius: 999px;
  color: inherit;
  opacity: 0.75;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease, opacity 0.15s ease;
}
.insight-x .msr { font-size: 17px !important; }
.insight-x:hover { opacity: 1; background: rgba(32, 33, 36, 0.08); }
.insight-info .insight-x:hover { background: rgba(11, 87, 208, 0.12); }
.insight-warn .insight-x:hover { background: rgba(154, 91, 0, 0.14); }

.logo-img {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line-soft);
}

.logo-fallback {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.p-idwrap { min-width: 0; }

.overage-note { display: block; font-size: 11px; font-style: italic; color: var(--grey); margin-top: 2px; }

.cmp-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.cmp-pill input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.cmp-pill .msr { font-size: 17px !important; color: var(--grey); transition: color 0.15s ease; }

.cmp-pill .i-ok { display: none; }
.cmp-pill .i-add { display: inline-block; }

.cmp-pill:hover { background: var(--hover); border-color: #c6cace; }

.cmp-pill.is-on {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.cmp-pill.is-on .msr { color: #fff; }
.cmp-pill.is-on .i-add { display: none; }
.cmp-pill.is-on .i-ok { display: inline-block; }

.cmp-pill:focus-within {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.badge-best { background: #e8f0fe; color: #1967d2; border: 1px solid #d2e3fc; }

.why-box { width: 100%; background: #fff; border: 1px solid var(--line-soft); border-radius: 12px; padding: 14px 16px; margin-top: 6px; }

.why-title, .fee-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--grey);
  margin-bottom: 8px;
}

.why-li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; padding: 3px 0; line-height: 1.45; }
.why-li .msr.ok, .why-li .msr.why-ok { color: #137333; font-size: 17px; flex: 0 0 auto; }
.why-li .msr.bad, .why-li .msr.why-warn { color: #b06000; font-size: 17px; flex: 0 0 auto; }

.fee-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px 18px;
  margin: 12px 0 4px;
}
.fee-item { background: #fafbfe; border: 1px solid var(--line-soft); border-radius: 10px; padding: 8px 12px; }

.fee-cap {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--grey-2);
}
.fee-val { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); }

.more-filters summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  color: var(--grey);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  list-style: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.more-filters summary::-webkit-details-marker { display: none; }
.more-filters summary .msr { font-size: 17px !important; }
.more-filters summary:hover { background: var(--hover); color: var(--ink); }
.more-filters[open] summary { background: var(--blue-soft); color: #041e49; font-weight: 600; }

.mf-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; }

.mf-field {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--chip-bg);
}

.mf-field select {
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}

.speed-filters {
  margin-top: 8px;
}

.speed-filters .mf-field {
  gap: 6px;
}

.speed-filters .sz-icon {
  font-size: 16px !important;
  color: var(--grey);
}

@keyframes f-slide-up { from { opacity: 0; transform: translate(-50%, 14px); } to { opacity: 1; transform: translate(-50%, 0); } }

.cmp-tray {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  background: #1f1f1f;
  color: #fff;
  border-radius: 22px;
  padding: 8px 10px 8px 16px;
  box-shadow: 0 4px 18px rgba(32, 33, 36, 0.3);
  max-width: calc(100vw - 24px);
  animation: f-slide-up 0.25s ease both;
}

.cmp-tray-in { display: flex; align-items: center; gap: 10px; }

.cmp-thumb { width: 26px; height: 26px; border-radius: 50%; object-fit: contain; background: #fff; flex: 0 0 auto; }

.cmp-item { font-size: 13px; font-weight: 600; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.cmp-open-btn {
  border: none;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 18px;
  cursor: pointer;
  transition: background 0.15s ease;
  flex: 0 0 auto;
}
.cmp-open-btn:hover { background: #e8eaed; }

.cmp-clear {
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  transition: background 0.15s ease, color 0.15s ease;
}
.cmp-clear .msr { font-size: 18px !important; }
.cmp-clear:hover { background: rgba(255, 255, 255, 0.14); color: #f28b82; }

@keyframes f-pop-in { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: scale(1); } }

.cmp-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(32, 33, 36, 0.5);
  backdrop-filter: blur(2px);
  display: grid;
  place-items: center;
  padding: 20px;
}

.cmp-modal-in {
  background: #fff;
  border-radius: 24px;
  max-width: 960px;
  width: 100%;
  max-height: 86vh;
  overflow: auto;
  padding: 26px 26px 24px;
  animation: f-pop-in 0.2s ease both;
}

.cmp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.cmp-title { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }

.cmp-close {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--chip-bg);
  border-radius: 999px;
  color: var(--grey);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease, color 0.15s ease;
  flex: 0 0 auto;
}
.cmp-close:hover { background: var(--line-soft); color: var(--ink); }

.cmp-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; }
.cmp-table th,
.cmp-table td { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); text-align: center; vertical-align: middle; }

.cmp-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fff;
  padding-top: 4px;
}

.cmp-table tbody tr:hover td,
.cmp-table tbody tr:hover th { background: #fafbfe; }

.cmp-table tbody tr:last-child td,
.cmp-table tbody tr:last-child th { border-bottom: none; }

.cmp-table th:first-child {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--grey);
  white-space: nowrap;
}
.cmp-table td:not(:first-child) { color: var(--ink); font-weight: 500; }

.cmp-plan-head { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 128px; }
.cmp-plan-head .cmp-thumb { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line-soft); margin-bottom: 2px; }
.cmp-prov { font-size: 13px; font-weight: 700; color: var(--ink); }
.cmp-plname { font-size: 11.5px; font-weight: 500; color: var(--grey); }
.cmp-plan-head .btn-fill { margin-top: 8px; padding: 7px 16px; font-size: 12px; gap: 5px; }

.cmp-table td.is-best {
  background: var(--green-bg);
  color: var(--green);
  font-weight: 700;
  position: relative;
}

.cmp-table td.is-best::after {
  content: "check";
  font-family: "Material Symbols Rounded";
  font-size: 14px;
  line-height: 1;
  vertical-align: -2px;
  margin-left: 6px;
}

.cmp-pick {
  margin-top: 16px;
  background: var(--blue-tint);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 13.5px;
  color: #062e6f;
}
.cmp-pick strong { display: block; font-size: 14px; font-weight: 700; }
.cmp-pick .cmp-why, .cmp-pick small { display: block; margin-top: 2px; color: rgba(4, 30, 73, 0.72); }
.rcount-sub { color: var(--grey-2); font-weight: 400; }

@media (max-width: 1060px) {
  .insight { padding: 11px 14px; }
}

@media (max-width: 560px) {
  .cmp-tray { bottom: 12px; padding-left: 12px; gap: 8px; }
  .cmp-item { max-width: 90px; }
  .cmp-modal { padding: 12px; }
  .cmp-modal-in { padding: 18px 14px; border-radius: 20px; }
  .cmp-table th, .cmp-table td { padding: 9px 8px; font-size: 12.5px; }
  .cmp-plan-head { min-width: 92px; }
  .mf-row { gap: 8px; }
}

@media print {
  .cmp-tray, .cmp-modal { display: none !important; }
}
