/* Agnes Selbst-Check – independent of the WordPress theme */
.ak-check {
  --ak-forest: #395e49;
  --ak-forest-dark: #2d493a;
  --ak-muted: #65796b;
  --ak-paper: #fff;
  --ak-sage: #edf2ec;
  --ak-sage-2: #dce7dd;
  --ak-line: #ccd9ce;
  --ak-ink: #28332b;
  --ak-danger: #9c3f36;
  --ak-amber: #80601e;
  width: min(100%, 900px);
  margin: 30px auto;
  padding: clamp(22px, 5vw, 56px);
  border: 1px solid #e1e8e1;
  border-radius: 22px;
  background: var(--ak-paper);
  color: var(--ak-ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  box-sizing: border-box;
  box-shadow: 0 20px 68px rgba(36, 65, 47, .065);
}
.ak-check *, .ak-check *::before, .ak-check *::after { box-sizing: border-box; }
.ak-check [hidden] { display: none !important; }
.ak-check p, .ak-check h2, .ak-check h3, .ak-check h4 { margin-top: 0; }
.ak-check p { margin-bottom: 1em; }
.ak-check :is(h2,h3,h4) { color: var(--ak-forest-dark); }
.ak-check h2, .ak-check h3, .ak-check h4, .ak-check .ak-meaning strong { font-family: Georgia, 'Times New Roman', serif; letter-spacing: -.02em; }
.ak-check h2 { font-size: clamp(34px, 5.3vw, 54px); line-height: 1.11; margin: 9px 0 6px; }
.ak-check .ak-eyebrow { color: var(--ak-forest); font-size: 12px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; margin: 0; }
.ak-check .ak-eyebrow span { font-size: 21px; vertical-align: -1px; margin-right: 8px; }
.ak-check .ak-subtitle { color: var(--ak-muted); font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-size: clamp(18px, 2.5vw, 24px); margin-bottom: 20px; }
.ak-check .ak-introtext { max-width: 750px; margin-bottom: 22px; }
.ak-check .ak-guide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; padding: 20px 19px; background: var(--ak-sage); border-radius: 12px; font-size: 13px; margin-bottom: 28px; }
.ak-check .ak-guide > div { display: flex; align-items: flex-start; gap: 9px; }
.ak-check .ak-guide b { color: white; background: var(--ak-forest); border-radius: 50%; flex: 0 0 24px; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.ak-check .ak-progress { margin: 18px 0 33px; }
.ak-check .ak-progress-top { display: flex; justify-content: space-between; color: var(--ak-forest-dark); font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.ak-check .ak-progress-track { width: 100%; height: 7px; overflow: hidden; background: var(--ak-sage); border-radius: 20px; }
.ak-check .ak-progress-track > div { height: 100%; border-radius: inherit; background: var(--ak-forest); transition: width .2s ease; }
.ak-check .ak-step-title { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--ak-forest); padding-bottom: 14px; margin-bottom: 12px; font-size: clamp(24px, 3vw, 30px); line-height: 1.25; }
.ak-check .ak-step-title:focus { outline: none; }
.ak-check .ak-number { width: 33px; height: 33px; flex: 0 0 33px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--ak-forest); color: #fff; font: 700 18px Georgia, serif; }
.ak-check .ak-choices-hint { color: var(--ak-muted); font-size: 14px; margin-bottom: 16px; }
.ak-check fieldset.ak-question { min-width: 0; padding: 18px 15px; margin: 0; border: 0; border-radius: 9px; }
.ak-check .ak-question:nth-child(even) { background: #f4f7f3; }
.ak-check .ak-question legend { display: contents; font-size: 16px; font-weight: 600; line-height: 1.55; color: var(--ak-ink); }
.ak-check .ak-question-index { color: var(--ak-forest); margin-right: 5px; }
.ak-check .ak-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 13px; }
.ak-check .ak-choice { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 2px; min-height: 73px; border: 1.5px solid var(--ak-line); border-radius: 10px; padding: 9px 5px; cursor: pointer; color: var(--ak-forest-dark); background: white; transition: border-color .12s, background .12s, box-shadow .12s; }
.ak-check .ak-choice:hover { border-color: var(--ak-forest); }
.ak-check .ak-choice:has(input:checked) { border-color: var(--ak-forest); background: var(--ak-sage-2); box-shadow: inset 0 0 0 1px var(--ak-forest); }
.ak-check .ak-choice input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.ak-check .ak-choice:has(input:focus-visible) { outline: 3px solid #84ab8e; outline-offset: 2px; }
.ak-check .ak-choice-label { font-weight: 700; font-size: 13px; }
.ak-check .ak-choice-points { font-size: 11px; color: var(--ak-muted); }
.ak-check .ak-question.ak-invalid { outline: 2px solid #d9a39a; outline-offset: -2px; }
.ak-check .ak-section-bottom { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin: 18px 2px 8px; font-size: 14px; font-weight: 700; color: var(--ak-forest-dark); }
.ak-check .ak-section-bottom output { border: 1.5px solid var(--ak-forest); border-radius: 8px; padding: 5px 14px; min-width: 83px; text-align: center; font-size: 16px; }
.ak-check .ak-info { background: var(--ak-sage); border-radius: 12px; padding: 17px 19px; margin-top: 26px; font-size: 14px; }
.ak-check .ak-info strong { display: block; text-transform: uppercase; font-size: 12px; letter-spacing: .12em; color: var(--ak-forest-dark); margin-bottom: 7px; }
.ak-check .ak-info p:last-child { margin-bottom: 0; }
.ak-check .ak-alert { border: 1px solid #e1b6ac; background: #fff2ef; color: #79362e; padding: 11px 14px; border-radius: 9px; font-size: 14px; margin-top: 17px; }
.ak-check .ak-nav { display: flex; justify-content: space-between; gap: 15px; margin-top: 31px; }
.ak-check .ak-btn { display: inline-flex; justify-content: center; align-items: center; gap: 12px; background: var(--ak-forest); color: #fff; border: 2px solid var(--ak-forest); border-radius: 10px; min-height: 49px; padding: 11px 23px; font: 700 15px -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; cursor: pointer; transition: background .12s, transform .12s; }
.ak-check .ak-btn:hover { color: #fff; background: var(--ak-forest-dark); }
.ak-check .ak-btn:focus-visible { outline: 3px solid #87af91; outline-offset: 3px; }
.ak-check .ak-btn:disabled { cursor: not-allowed; opacity: .55; }
.ak-check .ak-btn-back { margin-right: auto; color: var(--ak-forest-dark); background: #fff; }
.ak-check .ak-btn-back:hover { background: var(--ak-sage); color: var(--ak-forest-dark); }
.ak-check .ak-btn-next, .ak-check .ak-btn-send { margin-left: auto; }
.ak-check .ak-results-step > p { font-size: 14px; color: var(--ak-muted); }
.ak-check .ak-result-list { border: 1px solid var(--ak-line); border-radius: 13px; overflow: hidden; margin-top: 21px; }
.ak-check .ak-result-row { padding: 14px 18px; display: flex; gap: 20px; justify-content: space-between; align-items: center; }
.ak-check .ak-result-row:nth-child(even) { background: #f3f7f2; }
.ak-check .ak-result-name { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 13px; }
.ak-check .ak-result-name strong { font-size: 14px; }
.ak-check .ak-edit { background: transparent; border: 0; color: var(--ak-forest); padding: 1px; font: inherit; font-size: 12px; text-decoration: underline; cursor: pointer; }
.ak-check .ak-result-details { display: flex; align-items: center; gap: 10px; justify-content: flex-end; white-space: nowrap; }
.ak-check .ak-score { font-size: 14px; font-weight: 800; }
.ak-check .ak-level { display: inline-block; font-size: 12px; font-weight: 700; border: 1px solid var(--ak-line); background: #fff; padding: 4px 9px; border-radius: 20px; }
.ak-check .ak-level[data-level="green"] { background: #e7f3e8; color: #315a3c; border-color: #c1dfc6; }
.ak-check .ak-level[data-level="amber"] { background: #fbf0d8; color: #795b20; border-color: #ecd8a6; }
.ak-check .ak-level[data-level="high"] { background: #f5e3df; color: #853c33; border-color: #e7c0b8; }
.ak-check .ak-small-heading { font-size: 23px; margin: 30px 0 13px; }
.ak-check .ak-meaning-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ak-check .ak-meaning { border: 1px solid var(--ak-line); border-radius: 11px; padding: 16px; font-size: 13px; }
.ak-check .ak-meaning:nth-child(2) { background: #edf2ec; }
.ak-check .ak-meaning:nth-child(3) { background: #dce7dd; }
.ak-check .ak-meaning small { display: block; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ak-forest); margin-bottom: 8px; font-size: 11px; }
.ak-check .ak-meaning strong { display: block; font-size: 19px; line-height: 1.15; color: var(--ak-forest-dark); margin-bottom: 8px; }
.ak-check .ak-meaning p { margin: 0; }
.ak-check .ak-knowledge { border: 1.5px solid var(--ak-forest); border-radius: 14px; padding: 20px 23px; margin-top: 23px; }
.ak-check .ak-knowledge h4 { font-size: 26px; margin-bottom: 9px; }
.ak-check .ak-knowledge p:last-child { margin-bottom: 0; color: var(--ak-forest); }
.ak-check .ak-contact { padding-top: 30px; }
.ak-check .ak-contact h4 { font-size: 25px; margin: 7px 0 9px; }
.ak-check .ak-contact h4:not(:first-child) { padding-top: 24px; border-top: 1px solid var(--ak-line); margin-top: 25px; }
.ak-check .ak-contact > p { font-size: 14px; }
.ak-check .ak-fieldlabel, .ak-check .ak-field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 7px; }
.ak-check .ak-optional { color: var(--ak-muted); font-weight: 400; }
.ak-check :is(textarea, input[type="text"], input[type="email"], input[type="tel"]) { width: 100%; max-width: 100%; border: 1.5px solid var(--ak-line); background: #fff; color: var(--ak-ink); border-radius: 9px; padding: 12px 14px; font: inherit; font-size: 16px; min-height: 47px; box-shadow: none; }
.ak-check textarea { resize: vertical; min-height: 100px; }
.ak-check :is(textarea, input[type="text"], input[type="email"], input[type="tel"]):focus { outline: 3px solid #c3dcc8; outline-offset: 1px; border-color: var(--ak-forest); }
.ak-check .ak-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.ak-check .ak-field { margin: 12px 0; }
.ak-check .ak-field.ak-invalid input { border-color: var(--ak-danger); }
.ak-check .ak-check-label { display: flex; align-items: flex-start; gap: 11px; font-size: 13px; line-height: 1.6; margin: 17px 0 10px; cursor: pointer; }
.ak-check .ak-check-label input { flex: 0 0 18px; width: 18px; height: 18px; accent-color: var(--ak-forest); margin: 3px 0 0; }
.ak-check .ak-consent { background: var(--ak-sage); border-radius: 9px; padding: 13px; }
.ak-check .ak-consent.ak-invalid { outline: 2px solid var(--ak-danger); }
.ak-check .ak-privacy, .ak-check .ak-disclaimer { color: var(--ak-muted); font-size: 12px !important; }
.ak-check a { color: var(--ak-forest); text-decoration: underline; }
.ak-check .ak-success { background: var(--ak-sage); border-radius: 15px; padding: 35px 25px; text-align: center; }
.ak-check .ak-success:focus { outline: none; }
.ak-check .ak-success h3 { font-size: clamp(25px, 4vw, 36px); }
.ak-check .ak-success-mark { background: var(--ak-forest); color: white; width: 54px; height: 54px; font-size: 30px; font-weight: 700; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 15px; }
.ak-check .ak-footer { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid #e1e8e1; padding-top: 19px; margin-top: 30px; color: var(--ak-muted); font-size: 11px; }
.ak-check .ak-honey { position: absolute !important; left: -99999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
@media (max-width: 700px) {
  .ak-check { margin: 12px auto; padding: 23px 17px; border-radius: 13px; }
  .ak-check .ak-guide { grid-template-columns: 1fr; gap: 12px; }
  .ak-check .ak-field-grid { grid-template-columns: 1fr; gap: 0; }
  .ak-check .ak-result-row { align-items: flex-start; flex-direction: column; gap: 8px; padding: 13px; }
  .ak-check .ak-result-details { width: 100%; justify-content: space-between; }
  .ak-check .ak-meaning-grid { grid-template-columns: 1fr; }
  .ak-check .ak-meaning { padding: 14px; }
}
@media (max-width: 380px) {
  .ak-check .ak-choices { gap: 5px; }
  .ak-check .ak-choice { min-height: 76px; padding: 7px 2px; }
  .ak-check .ak-choice-label { font-size: 11px; }
  .ak-check .ak-choice-points { font-size: 10px; }
  .ak-check fieldset.ak-question { padding: 15px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .ak-check *, .ak-check *::before, .ak-check *::after { transition-duration: 0s !important; }
}
