.cr-calc{
  box-sizing:border-box;
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:18px;
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:12px;
  box-shadow:0 10px 24px rgba(0,0,0,.06);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,"Noto Sans","Helvetica Neue",sans-serif;
}
.cr-calc *{ box-sizing:border-box; }
.cr-calc__title{ margin:0 0 14px 0; font-size:22px; font-weight:800; }

.cr-calc .cr-calc__stack{
  display:flex !important;
  flex-direction:column !important;
  gap:16px !important;
}


}

.cr-card{
  border:1px solid rgba(0,0,0,.07);
  border-radius:12px;
  box-shadow:0 10px 20px rgba(0,0,0,.05);
  overflow:hidden;
  background:#fff;
}
.cr-card__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 14px;
  border-bottom:1px solid rgba(0,0,0,.07);
  background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.00));
}
.cr-card__h{ font-size:16px; font-weight:800; color:rgba(0,0,0,.82); }

.cr-currency{ display:flex; align-items:center; gap:10px; }
.cr-currency__label{ font-size:13px; font-weight:700; color:rgba(0,0,0,.75); }
.cr-currency__select{
  height:40px;
  border:1px solid rgba(0,0,0,.14);
  border-radius:10px;
  padding:0 12px;
  background:#fff;
  font-weight:700;
  outline:none;
  cursor:pointer;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.cr-currency__select:focus{
  border-color: rgba(0,129,255,.55);
  box-shadow: 0 0 0 4px rgba(0,129,255,.12);
}

.cr-form{ padding:14px; }
.cr-row{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:12px;
}
@media (max-width: 700px){
  .cr-row{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 460px){
  .cr-row{ grid-template-columns: 1fr; }
}

.cr-field label{
  display:block;
  font-size:13px;
  margin:0 0 6px 0;
  color:rgba(0,0,0,.75);
  font-weight:700;
}
.cr-hint{
  margin-top:6px;
  font-size:12px;
  color:rgba(0,0,0,.55);
}
.cr-input{
  width:100%;
  height:42px;
  border:1px solid rgba(0,0,0,.14);
  border-radius:10px;
  padding:0 12px;
  outline:none;
  background:#fff;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.cr-input:focus{
  border-color: rgba(0,129,255,.55);
  box-shadow: 0 0 0 4px rgba(0,129,255,.12);
}

.cr-actions{
  display:flex;
  gap:12px;
  justify-content:center;
  padding-top:14px;
}
@media (max-width: 560px){
  .cr-actions{ flex-direction:column; }
}
.cr-btn{
  border:0;
  border-radius:10px;
  padding:12px 18px;
  font-weight:800;
  cursor:pointer;
  transition: transform .05s ease, box-shadow .15s ease;
  letter-spacing:.2px;
}
.cr-btn:active{ transform: translateY(1px); }
.cr-btn--primary{
  background: linear-gradient(90deg, #0a94ff, #1bb6ff);
  color:#fff;
  box-shadow: 0 8px 18px rgba(12,148,255,.22);
}
.cr-btn--secondary{
  background: linear-gradient(90deg, #ff5a6e, #ff8aa3);
  color:#fff;
  box-shadow: 0 8px 18px rgba(255,90,110,.20);
}

.cr-results{ padding:14px; }
.cr-kpi{
  position:relative;
  min-height:90px;
  padding:16px 16px 14px 86px;
  border-radius:12px;
  color:#fff;
  box-shadow:0 12px 22px rgba(0,0,0,.10);
  overflow:hidden;
  margin-bottom:12px;
}
.cr-kpi__badge{
  position:absolute;
  left:14px;
  top:50%;
  transform: translateY(-50%);
  width:56px;
  height:56px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  background: rgba(0,0,0,.18);
}
.cr-kpi__value{
  font-size:28px;
  font-weight:900;
  text-align:right;
  margin-top:4px;
  line-height:1.1;
}
.cr-kpi__label{
  font-size:13px;
  opacity:.92;
  text-align:right;
  margin-top:2px;
}

.cr-kpi--orange{ background: linear-gradient(90deg, #ff7a00, #ff4d00); }
.cr-kpi--purple{ background: linear-gradient(90deg, #b14dff, #6f8bff); }
.cr-kpi--teal{ background: linear-gradient(90deg, #00a1ff, #00c6d6); }

.cr-panels{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  margin-top:8px;
}
@media (max-width: 560px){
  .cr-panels{ grid-template-columns: 1fr; }
}
.cr-panel{
  border:1px solid rgba(0,0,0,.08);
  border-radius:12px;
  padding:12px;
  background: rgba(0,0,0,.015);
}
.cr-panel--wide{ grid-column: span 2; }
@media (max-width: 560px){
  .cr-panel--wide{ grid-column: span 1; }
}
.cr-panel__t{
  font-weight:900;
  color: rgba(0,0,0,.82);
  margin-bottom:10px;
}
.cr-panel__row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:8px 0;
  border-top:1px dashed rgba(0,0,0,.10);
}
.cr-panel__row:first-of-type{ border-top:0; padding-top:0; }
.cr-panel__row span{ color: rgba(0,0,0,.72); font-size:13px; }
.cr-panel__row strong{ color: rgba(0,0,0,.9); font-weight:900; }
