.calnzee-integral-calculator{max-width:780px;margin:24px auto;padding:24px;border:1px solid #ddd;border-radius:14px;background:#fff;box-sizing:border-box;font-family:inherit}
.calnzee-integral-calculator *{box-sizing:border-box}
.cic-header h2{margin:0 0 6px;font-size:1.6rem;line-height:1.25}.cic-header p{margin:0 0 20px;color:#666;line-height:1.55}
.cic-form label{display:block;font-weight:600;margin:0 0 14px}
.cic-form input[type=text]{display:block;width:100%;margin-top:6px;padding:11px 12px;border:1px solid #bbb;border-radius:8px;font-size:16px}
.cic-field-help{margin:-8px 0 16px;color:#666;font-size:.86rem}
.cic-mode{border:0;padding:0;margin:12px 0 16px;display:flex;gap:18px;flex-wrap:wrap}
.cic-mode legend{font-weight:700;margin-bottom:8px}.cic-mode label{font-weight:500;margin:0}
.cic-bounds{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.cic-bounds[hidden]{display:none!important}
.cic-form button{margin-top:8px;padding:11px 18px;border:0;border-radius:8px;cursor:pointer;font-size:16px}
.cic-result,.cic-steps{margin-top:20px;padding:18px;border-radius:10px;background:#f6f7f8}
.cic-result{min-height:70px}.cic-answer-label{font-weight:700;margin-bottom:8px}
.cic-math{font-size:1.08rem;line-height:1.9;overflow-wrap:anywhere}
.cic-verify{margin:10px 0 0;color:#555}
.cic-steps h3{margin-top:0}.cic-step{padding:14px 0;border-top:1px solid #ddd}.cic-step:first-of-type{border-top:0}
.cic-step-title{font-weight:700;margin-bottom:7px}.cic-equation{margin-top:7px;padding:8px 10px;background:#fff;border-radius:7px}
.cic-help{margin-top:16px;display:flex;gap:8px;flex-wrap:wrap;align-items:center}.cic-help button{border:1px solid #bbb;background:#fff;border-radius:999px;padding:7px 11px;cursor:pointer}
.cic-note{margin-top:18px;padding:13px;border-left:4px solid #888;background:#fafafa;font-size:.94rem;line-height:1.55}
.cic-warning{padding:4px 0}.cic-error{color:#a00;font-weight:600}.cic-external{font-weight:700}
@media(max-width:520px){.calnzee-integral-calculator{padding:16px}.cic-bounds{grid-template-columns:1fr}}
