.cc-page .page-banner h1 span{color:var(--gold2)}
.cc-head{margin-bottom:22px}

.cc-layout{
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  gap:20px;
  align-items:start;
}

.cc-panel{
  border-radius:16px;
  border:1px solid #2a2a2a;
  background:linear-gradient(165deg,#141414 0%,#0d0d0d 100%);
  box-shadow:0 12px 36px rgba(0,0,0,.3);
  overflow:hidden;
  min-width:0;
}

.cc-panel-form{
  border-color:#3d2a1a;
  background:linear-gradient(165deg,#1a1510 0%,#12100c 55%,#0f0e0b 100%);
}

.cc-panel-result{
  position:sticky;
  top:88px;
  align-self:start;
  border-color:rgba(200,16,46,.35);
  background:linear-gradient(165deg,#1a1214 0%,#110e10 50%,#0a0a0a 100%);
}

.cc-panel-head{
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px 18px 14px;
  border-bottom:1px solid rgba(255,255,255,.06);
}

.cc-panel-icon{
  width:36px;height:36px;
  display:flex;align-items:center;justify-content:center;
  border-radius:10px;
  background:rgba(200,16,46,.15);
  border:1px solid rgba(200,16,46,.25);
  font-size:17px;
  flex-shrink:0;
}

.cc-panel-form .cc-panel-icon{background:rgba(212,175,55,.12);border-color:rgba(212,175,55,.28)}

.cc-panel-title{
  margin:0;
  font-size:.98rem;
  font-weight:800;
  color:#fff;
  line-height:1.25;
}

.cc-panel-sub{
  margin:2px 0 0;
  font-size:12px;
  color:var(--gray2);
  line-height:1.35;
}

.cc-badge-personal{
  display:inline-block;
  margin-top:6px;
  padding:3px 9px;
  border-radius:999px;
  font-size:10px;
  font-weight:700;
  letter-spacing:.03em;
  text-transform:uppercase;
  color:var(--gold2);
  background:rgba(212,175,55,.12);
  border:1px solid rgba(212,175,55,.25);
}

.cc-form{padding:14px 18px 18px}

.cc-form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px 14px;
}

.cc-span-2{grid-column:1/-1}

.cc-field{display:flex;flex-direction:column;gap:5px;min-width:0}

.cc-field label,.cc-field .cc-label{
  font-size:10px;
  font-weight:700;
  color:var(--gold2);
  text-transform:uppercase;
  letter-spacing:.05em;
}

.cc-page input[type=number]{
  -moz-appearance:textfield;
  appearance:textfield;
}
.cc-page input[type=number]::-webkit-outer-spin-button,
.cc-page input[type=number]::-webkit-inner-spin-button{
  -webkit-appearance:none;
  margin:0;
}

.cc-field input[type=number],.cc-field select{
  background:rgba(0,0,0,.35);
  border:1px solid #3a3a3a;
  border-radius:8px;
  padding:8px 10px;
  font-size:14px;
  color:#fff;
  width:100%;
  max-width:100%;
  transition:border-color .15s,box-shadow .15s;
}

.cc-field input::placeholder{color:#555;font-size:13px}

.cc-field input:focus,.cc-field select:focus{
  outline:none;
  border-color:var(--red);
  box-shadow:0 0 0 2px rgba(200,16,46,.15);
}

.cc-field select{
  cursor:pointer;
  appearance:none;
  background-color:rgba(0,0,0,.35);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23d4af37' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 10px center;
  padding-right:28px;
}

.cc-price-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:10px;
  background:rgba(0,0,0,.28);
  border:1px solid #333;
}

.cc-price-row:focus-within{border-color:rgba(200,16,46,.45);box-shadow:0 0 0 2px rgba(200,16,46,.1)}

.cc-price-row input,.cc-price-row select{
  border:none;
  background:transparent;
  padding:0;
  box-shadow:none;
  border-radius:0;
}

.cc-price-row input:focus,.cc-price-row select:focus{
  box-shadow:none;
  outline:none;
}

.cc-input-grow{
  flex:1 1 100px;
  min-width:72px;
  max-width:160px;
  width:auto!important;
}

.cc-price-sep{color:#444;font-size:12px;user-select:none}
.cc-rate-label{font-size:11px;color:#666;white-space:nowrap;font-weight:600}

.cc-input-rate{
  width:64px!important;
  flex:0 0 64px;
  text-align:right;
  font-weight:700;
}

.cc-unit{font-size:12px;color:var(--gray2);font-weight:600;white-space:nowrap}

.cc-rate-hint{margin:4px 0 0;font-size:11px;color:#555;line-height:1.3}

.cc-input-unit{
  display:flex;
  align-items:center;
  gap:8px;
}

.cc-input-unit input{flex:1;min-width:0;max-width:120px}
.cc-input-unit--narrow input{max-width:100px}

.cc-no-spin{-moz-appearance:textfield;appearance:textfield}
.cc-no-spin::-webkit-outer-spin-button,.cc-no-spin::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

.cc-pick-tabs{display:flex;gap:6px;flex-wrap:wrap}
.cc-pick-tab{flex:1;margin:0;cursor:pointer;min-width:0}
.cc-engine-tabs--3 .cc-pick-tab{min-width:calc(33.33% - 4px)}
.cc-hybrid-tabs .cc-pick-tab{min-width:calc(33.33% - 4px)}
.cc-hybrid-tabs--4 .cc-pick-tab{min-width:calc(50% - 4px)}
.cc-age-tabs .cc-pick-tab{min-width:calc(25% - 5px)}
.cc-currency-tabs .cc-pick-tab{min-width:calc(50% - 3px)}
.cc-currency-tabs .cc-pick-tab span{font-size:14px;letter-spacing:.04em}

.cc-pick-tab input{position:absolute;opacity:0;pointer-events:none;width:0;height:0}

.cc-pick-tab span{
  display:block;
  text-align:center;
  padding:8px 6px;
  border-radius:8px;
  font-size:12px;
  font-weight:700;
  color:var(--gray2);
  background:rgba(255,255,255,.04);
  border:1px solid #333;
  transition:all .15s;
  white-space:nowrap;
}

.cc-pick-tab input:checked+span{
  color:#fff;
  background:linear-gradient(135deg,var(--red),#9b0d24);
  border-color:var(--red);
  box-shadow:0 2px 10px rgba(200,16,46,.3);
}

.cc-currency-tabs .cc-pick-tab input:checked+span{
  background:linear-gradient(135deg,#b8860b,var(--gold2));
  border-color:var(--gold2);
  color:#111;
  box-shadow:0 2px 10px rgba(212,175,55,.25);
}

.cc-head--embed{margin-bottom:16px}
.cc-head--embed .section-title{font-size:1.35rem}

.cc-unit-toggle{
  display:inline-flex;
  border:1px solid #3a3a3a;
  border-radius:8px;
  overflow:hidden;
  background:rgba(0,0,0,.25);
  flex-shrink:0;
}

.cc-unit-toggle label{
  display:flex;align-items:center;
  padding:6px 9px;
  font-size:11px;
  font-weight:700;
  color:var(--gray2);
  cursor:pointer;
  margin:0;
  transition:background .15s,color .15s;
}

.cc-unit-toggle input{position:absolute;opacity:0;pointer-events:none;width:0;height:0}
.cc-unit-toggle label.is-active{background:var(--red);color:#fff}
.cc-unit-toggle label span{display:block}

.cc-actions{display:flex;justify-content:flex-start;margin-top:2px}

.cc-submit{
  width:auto;
  min-width:148px;
  background:linear-gradient(135deg,var(--red),#9b0d24);
  color:#fff;
  border:none;
  border-radius:10px;
  padding:10px 22px;
  font-size:14px;
  font-weight:800;
  cursor:pointer;
  transition:transform .15s,box-shadow .15s;
}

.cc-submit:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 20px rgba(200,16,46,.35);
}

.cc-note{
  font-size:11px;
  color:#555;
  line-height:1.5;
  margin:0;
}

.cc-result-empty{
  padding:24px 18px 28px;
  text-align:center;
  color:var(--gray2);
}

.cc-empty-icon{font-size:40px;margin-bottom:12px;opacity:.55}

.cc-result-empty p{
  margin:0 auto;
  max-width:240px;
  font-size:13px;
  line-height:1.55;
}

.cc-result-body{padding:6px 18px 18px}
.cc-result-body[hidden]{display:none}

.cc-result-rows{display:flex;flex-direction:column;gap:2px}

.cc-result-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:9px 12px;
  border-radius:8px;
  font-size:13px;
  background:rgba(255,255,255,.03);
}

.cc-result-row .cc-rk{color:var(--gray2);line-height:1.35;font-size:12px}
.cc-result-row .cc-rv{color:#fff;font-weight:700;text-align:right;white-space:nowrap;font-size:13px}

.cc-result-subtotal{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-top:10px;
  padding:11px 12px;
  border-radius:8px;
  background:rgba(255,255,255,.04);
  border:1px solid #333;
  font-size:13px;
  font-weight:700;
  color:var(--gray2);
}

.cc-result-subtotal .cc-rv{color:#fff;font-size:1rem;font-weight:800}

.cc-result-grand{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:baseline;
  gap:6px 10px;
  margin-top:10px;
  padding:14px 12px;
  border-radius:10px;
  background:linear-gradient(135deg,rgba(200,16,46,.22),rgba(200,16,46,.08));
  border:1px solid rgba(200,16,46,.4);
  font-size:14px;
  font-weight:800;
  color:#fff;
}

.cc-result-grand>.cc-rv{
  color:var(--gold2);
  font-size:1.45rem;
  font-weight:900;
  margin-left:auto;
}

.cc-grand-hint{
  flex:1 1 100%;
  font-size:11px;
  font-weight:600;
  color:var(--gray2);
  margin-top:-2px;
}

.cc-rate-note{margin:10px 0 0;font-size:10px;color:#555;line-height:1.5}

.cc-disclaimer{
  margin-top:20px;
  background:rgba(200,16,46,.06);
  border:1px solid rgba(200,16,46,.2);
  border-radius:12px;
  padding:14px 16px;
  font-size:12px;
  color:var(--gray2);
  line-height:1.6;
}

.cc-disclaimer strong{color:#fff}
.cc-disclaimer a{color:var(--gold2);text-decoration:underline;text-underline-offset:2px}

.cc-panel-result.has-result .cc-result-empty{display:none}

@media(max-width:960px){
  .cc-layout{grid-template-columns:1fr}
  .cc-panel-result{position:static}
}

@media(max-width:640px){
  .cc-form-grid{grid-template-columns:1fr}
  .cc-span-2{grid-column:1}
  .cc-input-grow{max-width:none;flex:1 1 100%}
  .cc-price-row{padding:10px}
  .cc-field input,.cc-input-unit input{max-width:none}
  .cc-panel-head,.cc-form,.cc-result-body{padding-left:14px;padding-right:14px}
  .cc-age-tabs .cc-pick-tab{min-width:calc(50% - 3px)}
}
