/* HB Center Survey UI (v1.1.0) */
.hbcs-form, .hbcs-result{
  max-width: 980px;
  margin: 24px auto;
  padding: 24px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  font-family: "Prompt", "Segoe UI", Tahoma, sans-serif;
  color: #222;
}
.hbcs-form h3{ margin: 6px 0 6px; font-size: 20px; color: #0f172a; }
.hbcs-desc{ color:#475569; margin-bottom:10px; }

.hbcs-fieldrow{
  margin: 14px 0;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e5e9f0;
  border-radius: 12px;
}
.hbcs-fieldrow label{ display:block; font-weight:600; margin-bottom:8px; }

.hbcs-options{ display:flex; flex-direction:column; gap:6px; margin-top:6px; }
.hbcs-options-inline{ display:flex; gap:10px; flex-wrap:wrap; }
.hbcs-option{
  display:flex; align-items:center; gap:8px;
  padding:8px 10px;
  background:#fff; border:1px solid #e2e8f0; border-radius:10px;
  transition: all .2s ease-in-out; cursor:pointer;
}
.hbcs-option:hover{ background:#f0f7ff; border-color:#0073aa; }

.hbcs-grid2{
  display:grid; grid-template-columns: repeat( auto-fit, minmax(220px,1fr) );
  gap:12px;
}
.hbcs-fieldrow select, .hbcs-fieldrow input[type="text"], .hbcs-fieldrow textarea{
  width: 100%; max-width: 450px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #cfd8e3;
  background: #fff;
  font-size: 15px;
}

.hbcs-btn{
  display:inline-block; padding:12px 22px;
  background: linear-gradient(90deg, #0073aa, #0ea5e9);
  color:#fff!important; border:none; border-radius:28px; font-weight:700;
  cursor:pointer; text-decoration:none; transition:transform .06s ease; margin-top:12px;
}
.hbcs-btn:hover{ transform: translateY(-1px); }

.hbcs-summary{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 18px; border-radius:14px; border-left:10px solid #22c55e;
  background:#f0fdf4; margin:12px 0 18px;
}
.hbcs-summary .metric span{ display:block; color:#64748b; font-size:12px; }
.hbcs-summary .metric strong{ font-size:26px; }
.hbcs-summary .meta{ color:#475569; }

.hbcs-grid{
  display:grid;
  grid-template-columns: repeat( auto-fit, minmax(220px, 1fr) );
  gap:12px;
}
.hbcs-card{
  background:#f8fafc; border:1px solid #e5e9f0; border-radius:14px;
  padding:14px; text-align:center;
}
.hbcs-card span{ display:block; font-weight:700; color:#64748b; margin-bottom:6px; }
.hbcs-card strong{ font-size:22px; }

.hbcs-note, .hbcs-disclaimer{ font-size:12px; color:#64748b; margin-top:10px; }

@media (max-width:520px){
  .hbcs-summary{ flex-direction:column; align-items:flex-start; gap:6px; }
}