/* SIP Calculator Lite styles */
.sipc-wrap{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start;margin:10px 0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif}
@media(max-width:900px){.sipc-wrap{grid-template-columns:1fr}}
.sipc-card{border:2px solid #d6dcff;border-radius:12px;padding:18px 16px}
.sipc-label{display:block;font-weight:600;margin:0 0 8px 0}
.sipc-inputbox{margin-bottom:12px}
.sipc-amount{display:flex;align-items:center;gap:6px;border:1.5px solid #b9c4ff;border-radius:10px;padding:14px 16px;font-size:28px;font-weight:700;line-height:1}
.sipc-amount input{border:none;outline:none;font-size:28px;font-weight:700;width:100%;background:transparent}
.sipc-currency{opacity:.8}
.sipc-row{display:flex;justify-content:space-between;align-items:center;margin-top:14px}
.sipc-right{font-size:28px;font-weight:700}
.sipc-right-muted{opacity:.6;font-size:16px;font-weight:500;margin-left:4px}
.sipc-range{appearance:none;width:100%;height:8px;border-radius:6px;background:#e9eefc;outline:none;margin-top:10px}
.sipc-range::-webkit-slider-thumb{appearance:none;width:20px;height:20px;border-radius:50%;background:#fff;border:3px solid #7e8dfb;cursor:pointer;box-shadow:0 1px 3px rgba(0,0,0,.1)}
.sipc-range::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:#fff;border:3px solid #7e8dfb;cursor:pointer}
.sipc-range-foot{display:flex;justify-content:space-between;font-size:12px;margin-top:6px;opacity:.8}
.sipc-result{padding:4px}
.sipc-headline{font-size:16px;text-align:center;margin-bottom:10px}
.sipc-total{font-size:40px;font-weight:800;margin-top:6px}
.sipc-chart-area{display:flex;gap:20px;align-items:center;justify-content:center;margin-top:10px;flex-wrap:wrap}
.sipc-legend{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.sipc-legend span{display:inline-block;width:12px;height:12px;border-radius:2px;margin-right:6px;vertical-align:middle}
.sipc-legend-invested{background:#f97316}
.sipc-legend-returns{background:#6366f1}
.sipc-legend b{margin-left:8px}
/* Accessibility */
#sipc input[type=number]{max-width:200px}

/* Smaller chart size */
#sipc canvas {
    max-width: 220px !important;
    max-height: 220px !important;
}
.sipc-chart-area {
    gap: 10px;
}
