/* ASCSA Library Registration form-only style sheet.
 * Intentionally scoped: it does not change ExpressionEngine's body, header,
 * links, navigation or other site-wide styles.
 */
.ascsa-library-embed {
  --lr-olive: #304127;
  --lr-olive-light: #f1f6ec;
  --lr-ink: #273527;
  --lr-muted: #657263;
  --lr-line: #dde5d7;
  --lr-danger: #a8322c;
  display: block;
  max-width: 940px;
  margin: 10px auto 40px;
  padding: 0;
  color: var(--lr-ink);
  background: transparent;
  font-family: system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
}
.ascsa-library-embed, .ascsa-library-embed * { box-sizing: border-box; }
.ascsa-library-embed .eyebrow {
  margin-bottom: 9px;
  color: #657d55;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 1.8px;
}
.ascsa-library-embed .embed-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 500;
  font-size: clamp(25px, 3vw, 35px);
  line-height: 1.22;
  letter-spacing: -.4px;
  color: var(--lr-olive);
  margin: 0 0 12px;
}
.ascsa-library-embed .intro { margin: 0 0 18px; color: var(--lr-muted); font-size: 14px; }
.ascsa-library-embed .required { color: #a42d26; font-weight: 750; }
.ascsa-library-embed .muted { font-weight: 400; color: #8a9588; font-size: 12px; }
.ascsa-library-embed .library-pill {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  padding: 11px 15px;
  border: 1px solid #dce5d5;
  border-radius: 8px;
  background: #eef3e8;
  color: #66745f;
  font-size: 13px;
  margin: 0 0 12px;
}
.ascsa-library-embed .library-pill strong { color: var(--lr-olive); }
.ascsa-library-embed .library-pill-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #709653; }
.ascsa-library-embed .preparation-note {
  color: #657263;
  font-size: 12px;
  line-height: 1.5;
  margin: 0 0 24px;
}
.ascsa-library-embed .test-banner {
  background: #fff4d7;
  border: 1px solid #eddcae;
  border-radius: 8px;
  margin: 0 0 19px;
  padding: 11px 14px;
  color: #6d4a11;
  font-size: 12px;
  font-weight: 650;
}
.ascsa-library-embed .form-section {
  border: 1px solid var(--lr-line);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 2px 15px rgba(43,65,27,.024);
  margin: 0 0 16px;
  padding: 27px 30px;
}
.ascsa-library-embed .section-heading {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  border-bottom: 1px solid #edf0e9;
  padding-bottom: 18px;
  margin-bottom: 21px;
}
.ascsa-library-embed .section-number {
  flex: 0 0 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border: 1px solid #e0e9d7;
  border-radius: 7px;
  background: #f1f4ed;
  color: #5e714c;
  font-size: 12px;
  font-weight: 800;
}
.ascsa-library-embed .section-heading h2,
.ascsa-library-embed .privacy-section h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -.2px;
  line-height: 1.22;
  color: var(--lr-olive);
  margin: 1px 0 5px;
}
.ascsa-library-embed .section-heading p { color: #829081; margin: 0; font-size: 12px; }
.ascsa-library-embed .form-grid { display: grid; gap: 20px; min-width: 0; }
.ascsa-library-embed .form-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.ascsa-library-embed .field { min-width: 0; }
.ascsa-library-embed .field label { display: block; font-size: 13px; font-weight: 650; color: #34452e; margin: 0 0 7px; }
.ascsa-library-embed .field input:not([type='checkbox']):not([type='radio']):not([type='file']),
.ascsa-library-embed .field select,
.ascsa-library-embed .field textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 43px;
  border: 1px solid #cfd9cb;
  border-radius: 7px;
  background: #fff;
  color: #243122;
  padding: 11px 12px;
  font: inherit;
  font-size: 13px;
}
.ascsa-library-embed .field textarea { min-height: 76px; resize: vertical; }
.ascsa-library-embed .field input:focus-visible,
.ascsa-library-embed .field select:focus-visible,
.ascsa-library-embed .field textarea:focus-visible { outline: 2px solid #718b5e; outline-offset: 2px; }
.ascsa-library-embed .field input:disabled { background: #f2f4ef !important; color: #808a7c !important; }
.ascsa-library-embed .field small,
.ascsa-library-embed .upload-control small { display: block; color: #778574; font-size: 11px; line-height: 1.6; margin: 5px 0 0; }
.ascsa-library-embed .field-error { color: var(--lr-danger); font-size: 12px; margin: 7px 0 0; font-weight: 600; }
.ascsa-library-embed .inline-checkbox { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; color: #4a5d40; font-size: 12px; }
.ascsa-library-embed .inline-checkbox.compact { margin-top: -12px; }
.ascsa-library-embed input[type='checkbox'],
.ascsa-library-embed input[type='radio'] { width: 16px; height: 16px; accent-color: #4f6e3c; flex: 0 0 auto; }
.ascsa-library-embed .upload-control { padding: 16px 18px; border: 1px dashed #b7c8ab; border-radius: 9px; background: #fbfcf9; }
.ascsa-library-embed .upload-control input[type='file'] { display: block; width: 100%; max-width: 100%; color: #52624e; font-size: 12px; }
.ascsa-library-embed .upload-control input[type='file']::file-selector-button { background: #eef4e9; color: #354a2c; border: 1px solid #bdc9b4; border-radius: 6px; padding: 8px 12px; font-weight: 650; margin-right: 12px; cursor: pointer; }
.ascsa-library-embed .photo-preview { display: block; max-width: 150px; max-height: 160px; margin-top: 12px; border: 1px solid var(--lr-line); border-radius: 7px; object-fit: contain; }
.ascsa-library-embed .photo-preview[hidden] { display: none; }
.ascsa-library-embed .orientation-fieldset { padding: 0; border: 0; margin: 0 0 22px; min-width: 0; }
.ascsa-library-embed .orientation-fieldset legend { color: #34452e; font-weight: 650; font-size: 13px; margin-bottom: 10px; }
.ascsa-library-embed .orientation-choice { display: flex; gap: 10px; align-items: center; padding: 11px 13px; border: 1px solid #e3e8de; border-radius: 7px; margin-bottom: 8px; background: #fdfefd; font-size: 13px; cursor: pointer; }
.ascsa-library-embed .orientation-choice:has(input:checked) { background: #f1f6eb; border-color: #88a171; }
.ascsa-library-embed .date-field { max-width: 330px; }
.ascsa-library-embed .privacy-section { display: grid; grid-template-columns: 38px 1fr; gap: 12px; background: #f1f5ec; border: 1px solid #dce7d3; padding: 27px 28px; border-radius: 11px; margin: 24px 0 17px; }
.ascsa-library-embed .privacy-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; color: #507239; background: #e0ebd7; font-size: 23px; }
.ascsa-library-embed .privacy-section h2 { font-size: 20px; }
.ascsa-library-embed .privacy-section p { font-size: 12px; line-height: 1.7; margin: 8px 0 15px; color: #586752; }
.ascsa-library-embed .privacy-section a { color: #38582e; font-weight: 700; text-decoration: underline; }
.ascsa-library-embed .privacy-checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; font-weight: 600; cursor: pointer; color: #35482d; }
.ascsa-library-embed .privacy-checkbox input { margin-top: 2px; }
.ascsa-library-embed .submit-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 12px; }
.ascsa-library-embed .submit-caption { font-size: 11px; color: #778574; }
.ascsa-library-embed .submit-button { display: inline-flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px 21px; border: 1px solid var(--lr-olive); border-radius: 7px; background: var(--lr-olive); color: white; font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; }
.ascsa-library-embed .submit-button:hover:not(:disabled) { background: #1b2916; }
.ascsa-library-embed .submit-button:disabled { opacity: .48; cursor: not-allowed; }
.ascsa-library-embed .submit-button span { font-size: 18px; }
.ascsa-library-embed .honeypot { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.ascsa-library-embed .error-summary { padding: 18px 21px; background: #fff6f4; border: 1px solid #efccc7; border-left: 4px solid #b44538; border-radius: 8px; margin-bottom: 18px; }
.ascsa-library-embed .error-summary h3 { font-size: 17px; color: #92382d; margin: 0 0 9px; }
.ascsa-library-embed .error-summary ul { padding-left: 20px; font-size: 13px; margin: 0; }
.ascsa-library-embed .error-summary p { font-size: 12px; color: #8b574f; margin: 10px 0 0; }
@media (max-width: 720px) {
  .ascsa-library-embed .form-section { padding: 20px 17px; }
  .ascsa-library-embed .form-grid.two { grid-template-columns: 1fr; }
  .ascsa-library-embed .section-heading h2 { font-size: 19px; }
  .ascsa-library-embed .privacy-section { grid-template-columns: 1fr; padding: 20px 17px; }
  .ascsa-library-embed .submit-row { flex-direction: column; align-items: stretch; }
  .ascsa-library-embed .submit-button { width: 100%; }
}
/* EE embedded version: hide duplicate top headings and section numbers */
.ascsa-library-embed .test-banner,
.ascsa-library-embed .eyebrow,
.ascsa-library-embed .embed-title,
.ascsa-library-embed .section-number {
  display: none !important;
}

/* tighten section heading layout after removing the number box */
.ascsa-library-embed .section-heading {
  gap: 0;
}

.ascsa-library-embed .section-heading h2 {
  margin-top: 0;
}