.calcly-wrapper{background:#fff;color:#111827;border-radius:16px;padding:24px;max-width:900px;margin:20px auto;box-shadow:0 6px 20px rgba(0,0,0,0.08);font-family:"Inter",system-ui;}
.calcly-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:16px;}
.calcly-logo{font-size:30px;font-weight:800;background:linear-gradient(90deg,#1e66f5,#3b82f6);-webkit-background-clip:text;color:transparent;}
.calcly-subtitle{color:#4b5563;font-size:14px;}
.calcly-form{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));background:#f9fafb;border:1px solid #e5e7eb;border-radius:12px;padding:16px;}
.calcly-field label{font-weight:600;margin-bottom:4px;display:block;}
.calcly-field input[type=number]{width:100%;padding:8px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;}
.calcly-field input[type=range]{width:100%;margin-top:4px;}
.calcly-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;}
.calcly-btn{background:linear-gradient(90deg,#1e66f5,#3b82f6);color:#fff;border:none;border-radius:8px;padding:10px 18px;font-weight:700;cursor:pointer;}
.calcly-btn.ghost{background:transparent;border:2px solid #1e66f5;color:#1e66f5;}
.calcly-results .calcly-cards{margin-top:18px;display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));}
.calcly-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:10px;box-shadow:0 2px 6px rgba(0,0,0,0.05);}
.calcly-card.highlight{border-color:#3b82f6;}
.calcly-card .label{color:#4b5563;font-size:13px;}
.calcly-card .value{color:#1e66f5;font-weight:700;font-size:20px;}

/* Collapse/expand wrapper */
.calcly-table-wrap{margin-top:20px;overflow-x:auto;transition:max-height .3s ease;}
.calcly-table-wrap.hidden{max-height:0;overflow:hidden;}
.calcly-table-wrap:not(.hidden){max-height:1200px;}

.calcly-table{width:100%;border-collapse:collapse;font-size:13px;}
.calcly-table th,.calcly-table td{padding:8px 10px;border-bottom:1px solid #e5e7eb;text-align:right;}
.calcly-table th:first-child,.calcly-table td:first-child{text-align:left;}

/* Progress bar */
#progress_bar_wrap{background:#e5e7eb;border-radius:8px;height:10px;width:100%;margin-top:6px;}
#progress_bar{background:linear-gradient(90deg,#1e66f5,#3b82f6);height:10px;width:0;border-radius:8px;transition:width .3s ease;}

.calcly-footer{margin-top:14px;color:#4b5563;font-size:12px;}
