@charset "utf-8";
/* CSS Document */
.lic-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px;
  }
  .lic-plan-card {
    border: 1.5px solid var(--gray-l);
    border-radius: 10px;
    padding: 10px 8px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
    background: var(--white);
  }
  .lic-plan-card:hover {
    border-color: var(--green);
    background: #f0faf4;
  }
  .lic-plan-card.active {
    border-color: var(--green);
    background: #e6f4ec;
  }
  .lic-plan-card__icon {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--green);
  }
  .lic-plan-card__name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .73rem;
    color: var(--navy);
    line-height: 1.3;
  }
  .lic-plan-card__no {
    font-size: .65rem;
    color: var(--gray);
    margin-top: 2px;
  }
  .lic-plan-card.active .lic-plan-card__name { color: var(--green); }
 
  /* ── Premium mode toggle (Yearly / Half-Yearly / Quarterly / Monthly) */
  /* Uses global .calc-tabs / .calc-tab — no override needed             */
 
  /* ── Maturity breakdown strip ────────────────────────────── */
  .lic-maturity-strip {
    background: linear-gradient(135deg, var(--green-d), var(--green));
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .lic-maturity-strip__label {
    font-size: .8rem;
    color: rgba(255,255,255,.7);
    margin-bottom: 4px;
  }
  .lic-maturity-strip__value {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.55rem;
    color: var(--white);
  }
  .lic-maturity-strip__sub {
    font-size: .7rem;
    color: rgba(255,255,255,.5);
    margin-top: 2px;
  }
  .lic-maturity-strip__icon {
    width: 46px;
    height: 46px;
    background: rgba(255,255,255,.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
  }
 
  /* ── 4-col breakdown grid ────────────────────────────────── */
  .lic-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
  }
  .lic-breakdown-item {
    background: var(--light);
    border: 1px solid var(--gray-l);
    border-radius: 10px;
    padding: 12px 14px;
  }
  .lic-breakdown-item__label {
    font-size: .72rem;
    color: var(--gray);
    margin-bottom: 4px;
  }
  .lic-breakdown-item__value {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .95rem;
    color: var(--navy);
  }
  .lic-breakdown-item.positive .lic-breakdown-item__value { color: var(--green); }
  .lic-breakdown-item.accent   .lic-breakdown-item__value { color: #1a73e8; }
  .lic-breakdown-item.warn     .lic-breakdown-item__value { color: var(--orange); }
 
  /* ── CAGR badge ──────────────────────────────────────────── */
  .lic-cagr-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #e8f0fe;
    border: 1px solid #93c5fd;
    font-size: .82rem;
    color: var(--navy);
    margin-bottom: 18px;
  }
  .lic-cagr-badge i { color: #1a73e8; flex-shrink: 0; }
  .lic-cagr-badge strong { color: #1a73e8; font-family: var(--font-head); }
 
  /* ── Bonus note ──────────────────────────────────────────── */
  .bonus-note {
    background: #fef9c3;
    border-left: 3px solid #ca8a04;
    border-radius: 0 8px 8px 0;
    padding: 9px 13px;
    font-size: .78rem;
    color: #78350f;
    line-height: 1.6;
    margin-bottom: 18px;
  }
  .bonus-note i { color: #ca8a04; margin-right: 4px; }
 
  /* ── Stacked bar chart for LIC breakdown ────────────────── */
  .lic-chart-wrap { position: relative; height: 230px; }
 
  /* ── Year-by-year table columns ─────────────────────────── */
  .ps-lic-year     { color: var(--navy); font-weight: 600; }
  .ps-lic-premium  { color: #1a73e8; font-weight: 600; }
  .ps-lic-bonus    { color: var(--green); }
  .ps-lic-total    { color: var(--navy); font-weight: 700; }
  .ps-lic-cumprem  { color: var(--gray); font-size: .78rem; }
 
  /* ── Responsive ─────────────────────────────────────────── */
  @media (max-width: 600px) {
    .lic-plan-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 480px) {
    .lic-breakdown-grid { grid-template-columns: 1fr; }
    .lic-maturity-strip { flex-direction: column; align-items: flex-start; }
  }