/* 紅利實現率比較 */
.fr-note { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0 0 12px; }
.fr-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 14px; min-width: 0; }
.fr-panel h2 { font-size: 16px; margin: 0 0 8px; }
.fr-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.fr-row:last-child { margin-bottom: 0; }
.fr-row-label { color: var(--muted); font-size: 13px; min-width: 64px; }
.fr-chip { border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 14px; cursor: pointer; min-height: 36px; }
.fr-chip:hover { border-color: var(--teal); }
.fr-chip.on { background: var(--teal-bg); border-color: var(--teal); color: var(--teal-dark); font-weight: 600; }
.fr-chip:disabled { opacity: .45; cursor: not-allowed; }
.fr-chip .fr-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.fr-scroll { overflow-x: auto; }
.fr-table { border-collapse: collapse; width: 100%; font-size: 14px; }
.fr-table th, .fr-table td { border-bottom: 1px solid var(--line); padding: 7px 8px; text-align: right; white-space: nowrap; }
.fr-table th { color: var(--muted); font-weight: 600; font-size: 13px; background: var(--surface-alt); }
.fr-table th:first-child, .fr-table td:first-child { text-align: left; white-space: normal; min-width: 130px; }
.fr-compare th:first-child, .fr-compare td:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); max-width: 170px; box-shadow: 1px 0 0 var(--line); }
.fr-compare th:first-child { background: var(--surface-alt); }
.fr-table .fr-co { text-align: center; color: var(--text); }
.fr-table .fr-sub { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.fr-table .fr-pre { background: var(--surface-alt); }
.fr-good { color: var(--success); font-weight: 600; }
.fr-bad { color: var(--danger); font-weight: 600; }
.fr-txt { color: var(--muted-light); font-size: 12px; }
.fr-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-bottom: 14px; }
.fr-card { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--fr-c, var(--teal)); border-radius: var(--radius); padding: 12px; min-width: 0; }
.fr-card h3 { font-size: 15px; margin: 0 0 8px; }
.fr-card input { width: 100%; box-sizing: border-box; margin-bottom: 8px; }
.fr-list { max-height: 320px; overflow-y: auto; border: 1px solid var(--line); border-radius: 6px; }
.fr-item { display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 8px 10px; font: inherit; font-size: 14px; cursor: pointer; color: var(--text); }
.fr-item:last-child { border-bottom: 0; }
.fr-item:hover { background: var(--surface-alt); }
.fr-item.on { background: var(--teal-bg); font-weight: 600; }
.fr-item small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; margin-top: 2px; }
.fr-empty { color: var(--muted); font-size: 14px; padding: 10px; }
.fr-chart { position: relative; }
.fr-chart svg { display: block; width: 100%; height: auto; }
.fr-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; margin-bottom: 6px; }
.fr-legend i { display: inline-block; width: 16px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.fr-tip { position: absolute; pointer-events: none; background: var(--navy); color: #fff; font-size: 12px; line-height: 1.5; padding: 6px 8px; border-radius: 6px; max-width: 240px; z-index: 2; }
.fr-link { font-size: 12px; color: var(--teal-dark); }
@media (max-width: 640px) {
  .fr-row-label { width: 100%; }
  .fr-panel { padding: 12px; }
}
