:root {
  color-scheme:light;
  font-family:Arial,Helvetica,sans-serif;
  color:#202523;
  background:#faf9f6;
  font-size:16px;
  line-height:1.5
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  padding:20px
}
.enquiry-card {
  max-width:960px;
  margin:0 auto;
  padding:28px 32px;
  background:#fff;
  border:1px solid #e7e4dc;
  border-radius:8px
}
.brand-header {
  display:flex;
  align-items:center;
  gap:22px;
  margin-bottom:20px
}

.brand-header > div {
    min-width: 0;
}
.brand-logo {
  width:110px;
  height:110px;
  object-fit:contain;
  flex:none
}
h1 {
  font-size:1.5rem;
  line-height:1.3;
  margin:0 0 8px
}

.brand-header h1,
.brand-header p {
    overflow-wrap: anywhere;
}
h2 {
  margin:0 0 8px;
  font-size:1.2rem
}
p {
  margin:0;
  color:#5e655f
}
.language-form {
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  border-top:1px solid #ecece6;
  padding:16px 0
}
.language-form select {
  max-width:230px;
  width:auto
}
.language-form button {
  padding:7px 12px;
  font-size:.9rem
}
.required-note {
  font-size:.85rem;
  margin-bottom:8px
}
fieldset {
  border:0;
  border-top:1px solid #ecece6;
  margin:0;
  padding:22px 0 4px;
  min-width:0
}
legend {
  font-size:1.1rem;
  font-weight:700;
  padding:0 0 14px;
  width:100%
}
.field {
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:5px;
  margin:0 0 15px
}
label {
  font-size:.9rem;
  font-weight:600;
  overflow-wrap:anywhere
}
input,textarea,select {
  width:100%;
  min-width:0;
  max-width:100%;
  border:1px solid #acb6af;
  border-radius:5px;
  background:#fff;
  padding:8px 10px;
  font:inherit;
  color:inherit;
  min-height:42px
}
textarea {
  resize:vertical
}
input:focus,textarea:focus,select:focus {
  outline:2px solid #65715d;
  outline-offset:2px
}
.grid {
  display:grid;
  gap:18px;
  clear:both
}
.two {
  grid-template-columns:1fr 1fr
}
.three {
  grid-template-columns:1fr 1fr 1fr
}
.submit-row {
  display:flex;
  justify-content:flex-end;
  padding-top:10px
}
button {
  border:1px solid #65715d;
  background:#65715d;
  color:#fff;
  border-radius:5px;
  font:inherit;
  font-weight:600;
  padding:11px 24px;
  cursor:pointer;
  min-height:44px
}
button:hover {
  background:#4d5946
}
button:disabled {
  background:#ecefe9;
  border-color:#c6cdc0;
  color:#616b5a;
  cursor:not-allowed;
}
button:focus-visible {
  outline:3px solid #6b4930;
  outline-offset:3px
}
.notice {
  padding:16px 18px;
  border-radius:5px;
  margin:12px 0 20px
}
.error {
  background:#fff2ee;
  border:1px solid #b35d43;
  color:#812c18
}
.success {
  background:#f0f5ed;
  border:1px solid #65715d
}
.preview {
  background:#fff8e6;
  border:1px solid #b88b36;
  color:#705017;
}
.field-error {
  font-size:.85rem;
  color:#9c301c
}
[aria-invalid=true] {
  border-color:#9c301c
}
.honey {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
  pointer-events:none
}
@media(max-width:640px) {
  body {
    padding:10px
  }
  .enquiry-card {
    padding:20px 16px
  }
  .brand-header {
    gap:12px;
    align-items:flex-start
  }
  .brand-logo {
    width:72px;
    height:72px
  }
  h1 {
    font-size:1.2rem
  }
  .two,.three {
    grid-template-columns:1fr;
    gap:0
  }
  .language-form {
    justify-content:flex-start
  }
  .language-form label {
    width:100%
  }
  .language-form select {
    flex:1;
    max-width:none
  }
  .submit-row button {
    width:100%
  }
}

/* Only configured layouts use this grid; the original default markup is unchanged. */
.configured-fields-grid {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:16px
}
.configured-fields-grid>.configured-field {
  grid-column:span 3;
  min-width:0;
  margin:0
}
.configured-fields-grid>.configured-field-wide {
  grid-column:span 6
}
.configured-fields-grid>.configured-field-third {
  grid-column:span 2
}
@media(max-width:620px) {
  .configured-fields-grid {
    grid-template-columns:minmax(0,1fr)
  }
  .configured-fields-grid>.configured-field {
    grid-column:span 1
  }
}

.source-summary { color:#53656c; font-size:.9rem; overflow-wrap:anywhere }
.submit-row { gap:12px; flex-wrap:wrap }
.submit-row .secondary { background:#fff; color:#425247; border:1px solid #b8c4bd }
.configured-fields-grid input[type="datetime-local"] { min-width:0; max-width:100% }
