.spq-root[hidden] { display: none !important; }
.spq-root, .spq-root * { box-sizing: border-box; }
.spq-root { color: #283b38; font-family: inherit; }
.spq-root[data-spq-mode="page"] { max-width: 700px; margin: 24px auto; }
.spq-root[data-spq-mode="popup"] { position: fixed; inset: 0; z-index: 999999; display: grid; place-items: center; padding: 12px; }
.spq-backdrop { position: absolute; inset: 0; background: rgba(18, 34, 30, .65); }
.spq-shell { position: relative; background: #fffdf9; border: 1px solid #e7dfd5; border-radius: 18px; padding: 26px; box-shadow: 0 12px 50px rgba(20, 38, 31, .12); }
.spq-root[data-spq-mode="popup"] .spq-shell { width: min(100%, 640px); max-height: min(90vh, 840px); overflow: auto; overscroll-behavior: contain; }
.spq-eyebrow { color: #8d624b; font-size: 12px; font-weight: 700; letter-spacing: .08em; margin-bottom: 10px; }
.spq-title { font-size: clamp(23px, 5vw, 32px); line-height: 1.18; margin: 0 34px 14px 0; color: #203d35; }
.spq-lead { font-size: 16px; line-height: 1.55; margin: 0 0 22px; }
.spq-note, .spq-hint { color: #56635d; font-size: 14px; line-height: 1.5; margin: 13px 0; }
.spq-progress { color: #496b5b; font-weight: 600; font-size: 14px; margin: 0 0 7px; }
.spq-progress-track { height: 5px; border-radius: 99px; background: #e4eee7; overflow: hidden; margin: 0 0 22px; }
.spq-progress-fill { height: 100%; background: #4b866a; transition: width .2s ease; }
.spq-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.spq-option { appearance: none; border: 1px solid #d4ded5; background: white; color: #29423a; border-radius: 12px; padding: 13px 14px; min-height: 51px; text-align: left; font: inherit; line-height: 1.35; cursor: pointer; }
.spq-option:hover { border-color: #589275; }
.spq-option[aria-pressed="true"] { border-color: #307a59; background: #eaf5ed; box-shadow: inset 0 0 0 1px #307a59; }
.spq-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; }
.spq-button, .spq-primary, .spq-secondary { appearance: none; display: inline-block; border-radius: 10px; padding: 11px 18px; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; line-height: 1.4; }
.spq-primary { border: 1px solid #28664c; background: #28664c; color: white; }
.spq-primary:hover { background: #1b513b; color: white; }
.spq-secondary { border: 1px solid #b8c7bd; background: white; color: #294d3b; }
.spq-secondary:hover { background: #edf5ef; }
.spq-close { float: right; border: 0; background: transparent; color: #435d50; padding: 4px 0 4px 8px; cursor: pointer; font: inherit; }
.spq-root button:focus-visible, .spq-root a:focus-visible { outline: 3px solid #d9955b; outline-offset: 2px; }
.spq-card { padding: 18px; border: 1px solid #d9e2d9; border-radius: 12px; background: #fff; margin: 12px 0; }
.spq-card-primary { border-color: #69a881; background: #f0f8f1; }
.spq-card h3 { margin: 4px 0 10px; color: #244a38; font-size: 19px; line-height: 1.3; }
.spq-label { font-size: 11px; color: #356b4e; font-weight: 750; letter-spacing: .06em; }
.spq-meta { font-size: 14px; color: #52625a; margin: 4px 0; }
.spq-link { display: inline-block; margin-top: 10px; font-weight: 700; color: #28664c; text-decoration: underline; }
.spq-subtitle { margin: 26px 0 10px; font-size: 18px; color: #203d35; }
.spq-cta, .spq-restart { margin-top: 12px; }
@media (max-width: 540px) {
  .spq-root[data-spq-mode="popup"] { padding: 6px; align-items: end; }
  .spq-shell { padding: 20px; border-radius: 16px; }
  .spq-root[data-spq-mode="popup"] .spq-shell { width: 100%; max-height: 92vh; border-radius: 16px 16px 0 0; }
  .spq-options { grid-template-columns: 1fr; gap: 8px; }
  .spq-option { min-height: 46px; }
}
