.aftr-form-wrap{
  max-width:980px;
  margin:0 auto;
  padding:28px;
  background:#ffffff;
  border:1px solid #e5e7eb;
  border-radius:18px;
  box-shadow:0 10px 30px rgba(15,23,42,.06);
}
.aftr-capacity-summary{
  margin-bottom:24px;
  padding:20px;
  border:1px solid #e5e7eb;
  border-radius:16px;
  background:linear-gradient(180deg,#f8fafc 0%,#ffffff 100%);
}
.aftr-capacity-head h3{
  margin:0 0 6px;
  font-size:24px;
  line-height:1.2;
  color:#0f172a;
}
.aftr-capacity-head p{
  margin:0;
  color:#64748b;
  font-size:14px;
}
.aftr-capacity-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-top:18px;
}
.aftr-capacity-card{
  border:1px solid #dbe4ee;
  border-radius:16px;
  padding:18px;
  background:#ffffff;
}
.aftr-capacity-card.is-full{
  background:#fff7ed;
  border-color:#fed7aa;
}
.aftr-capacity-group{
  font-size:14px;
  font-weight:700;
  color:#0f172a;
  margin-bottom:8px;
}
.aftr-capacity-number{
  font-size:34px;
  line-height:1;
  font-weight:800;
  color:#111827;
}
.aftr-capacity-text{
  margin-top:8px;
  color:#475569;
  font-size:13px;
}
.aftr-form{display:flex;flex-direction:column;gap:20px}
.aftr-grid{display:grid;gap:18px}
.aftr-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.aftr-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.aftr-field{display:flex;flex-direction:column;gap:8px}
.aftr-field label{font-weight:600;color:#111827;font-size:14px}
.aftr-field input,
.aftr-field select,
.aftr-field textarea{
  width:100%;
  padding:14px 16px;
  border:1px solid #d1d5db;
  border-radius:12px;
  font-size:15px;
  line-height:1.4;
  background:#fff;
  box-sizing:border-box;
}
.aftr-field input:focus,
.aftr-field select:focus,
.aftr-field textarea:focus{
  outline:none;
  border-color:#111827;
  box-shadow:0 0 0 3px rgba(17,24,39,.08);
}
.aftr-checkbox-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:4px;
}
.aftr-check-option{
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:12px 14px;
  background:#f9fafb;
}
.aftr-check-option input{width:auto;margin:0}
.aftr-other-position{margin-top:14px}
.aftr-submit-btn{
  background:#111827;
  color:#fff;
  border:0;
  border-radius:14px;
  padding:16px 22px;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
}
.aftr-submit-btn:disabled{opacity:.65;cursor:not-allowed}
.aftr-message{
  display:none;
  padding:14px 16px;
  border-radius:12px;
  font-size:14px;
}
.aftr-message.is-error{display:block;background:#fef2f2;color:#991b1b;border:1px solid #fecaca}
.aftr-message.is-success{display:block;background:#f0fdf4;color:#166534;border:1px solid #bbf7d0}
@media (max-width: 767px){
  .aftr-form-wrap{padding:18px}
  .aftr-grid-2,.aftr-grid-3,.aftr-checkbox-grid,.aftr-capacity-grid{grid-template-columns:1fr}
}

#aftr-position-wrap{display:none}

.aftr-toggle-card{
  display:flex;
  align-items:flex-start;
  gap:12px;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:14px 16px;
  background:#f8fafc;
  cursor:pointer;
}
.aftr-toggle-card input{width:auto;margin-top:3px}
.aftr-toggle-card span{display:flex;flex-direction:column;gap:4px}
.aftr-toggle-card small{color:#64748b;font-size:12px;line-height:1.45}
.aftr-siblings-section{
  border:1px solid #e5e7eb;
  border-radius:18px;
  padding:20px;
  background:linear-gradient(180deg,#f8fafc 0%,#ffffff 100%);
}
.aftr-siblings-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}
.aftr-siblings-header h4{
  margin:0 0 6px;
  font-size:20px;
  color:#0f172a;
}
.aftr-siblings-header p{
  margin:0;
  color:#64748b;
  font-size:13px;
}
.aftr-add-sibling-btn,
.aftr-remove-sibling-btn{
  border:1px solid #cbd5e1;
  background:#ffffff;
  color:#0f172a;
  border-radius:12px;
  padding:10px 14px;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
}
.aftr-siblings-list{display:flex;flex-direction:column;gap:16px}
.aftr-sibling-card{
  border:1px solid #dbe4ee;
  border-radius:16px;
  padding:18px;
  background:#ffffff;
  box-shadow:0 6px 18px rgba(15,23,42,.04);
  display: grid;
  gap: 19px;
}
.aftr-sibling-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:16px;
}
.aftr-sibling-card-head h5{
  margin:0;
  font-size:16px;
  color:#0f172a;
}
@media (max-width: 767px){
  .aftr-siblings-header,
  .aftr-sibling-card-head{flex-direction:column;align-items:stretch}
}

.aftr-pricing-summary{
  border:1px solid #dbe4ee;
  border-radius:16px;
  padding:18px 20px;
  background:linear-gradient(180deg,#f8fafc 0%,#ffffff 100%);
}
.aftr-pricing-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:8px 0;
  color:#0f172a;
}
.aftr-pricing-row + .aftr-pricing-row{
  border-top:1px solid #e5e7eb;
}
.aftr-pricing-row span{
  color:#475569;
  font-size:14px;
}
.aftr-pricing-row strong{
  font-size:16px;
  color:#111827;
}
.aftr-pricing-total strong{
  font-size:24px;
  font-weight:800;
}
