
.aat-wrap { max-width: 1100px; }
.aat-builder { display: grid; grid-template-columns: 260px 1fr; gap: 16px; margin-top: 12px; }
.aat-palette { background:#fff; border:1px solid #ddd; padding:12px; }
.aat-draggable { padding:8px; border:1px dashed #aaa; margin-bottom:8px; cursor:move; text-align:center; border-radius:6px; }
.aat-canvas { min-height:240px; background:#fff; border:2px dashed #b5c4ff; padding:12px; }
.aat-empty { color:#888; text-align:center; padding:40px 0; }
.aat-field-card { border:1px solid #ddd; background:#fff; padding:10px; border-radius:8px; margin-bottom:10px; }
.aat-field-row { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.aat-chip { background:#eef2ff; color:#3740ff; padding:2px 8px; border-radius:999px; font-size:12px; }
.aat-config, .aat-terms-config { margin-top:16px; }
.aat-config input, .aat-terms-config textarea { width:100%; }
.aat-form .aat-field { margin-bottom:12px; }
.aat-form .aat-field label { display:block; font-weight:600; margin-bottom:4px; }
.aat-form .aat-terms { white-space:pre-wrap; border:1px solid #ddd; padding:12px; margin:12px 0; background:#fafafa; }
.aat-form .aat-form-msg.ok { color:green; margin-top:8px; }
.aat-form .aat-form-msg.err { color:#b00020; margin-top:8px; }
