.cf-container{max-width:1000px;margin:30px auto;padding:30px;box-sizing:border-box}
.cf-container .spw-header{text-align:center;margin-bottom:24px}
.cf-container section{margin-bottom:26px}
.cf-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.cf-grid-2{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.cf-hint{font-size:13px;color:#5b6775;margin:6px 0 16px}
.cf-results h3{margin:26px 0 10px;color:#312e81;font-size:18px;border-bottom:2px solid #e8ebf5;padding-bottom:6px}
.cf-results textarea{width:100%;box-sizing:border-box}
.cf-rows{display:flex;flex-direction:column;gap:10px;margin-bottom:10px}
.cf-row{display:grid;gap:10px;align-items:start;padding:12px;border:1px solid #e3e8f4;border-radius:14px;background:#fafbff}
.cf-row.cf-r2{grid-template-columns:minmax(120px,1fr) 3fr auto}
.cf-row.cf-r5{grid-template-columns:repeat(6,1fr)}
.cf-row.cf-r5>div:nth-child(1),.cf-row.cf-r5>div:nth-child(2){grid-column:span 3}
.cf-row.cf-r5>div:nth-child(3),.cf-row.cf-r5>div:nth-child(4),.cf-row.cf-r5>div:nth-child(5){grid-column:span 2}
.cf-row.cf-r5>div:nth-child(6){grid-column:1/-1;text-align:right}
.cf-row.cf-r5>div:nth-child(6) label{display:none}
.cf-row input,.cf-row textarea{width:100%;box-sizing:border-box;border:1.5px solid #d6dcf0;border-radius:10px;padding:8px 10px;font:inherit;font-size:14px;background:#fff}
.cf-row input:focus,.cf-row textarea:focus{outline:none;border-color:#4f46e5;box-shadow:0 0 0 3px rgba(79,70,229,.18)}
.cf-row textarea{resize:vertical;min-height:40px}
.cf-del{min-height:36px;padding:4px 12px;font-size:13px;box-shadow:none}
.cf-row label{display:block;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#526070;margin-bottom:3px}
@media (max-width:760px){
  .cf-container{padding:16px}
  .cf-row.cf-r2{grid-template-columns:1fr}
  .cf-row.cf-r5{grid-template-columns:1fr}
  .cf-row.cf-r5>div{grid-column:1/-1 !important}
}
