.modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#000000bf;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:10000;display:flex;justify-content:center;align-items:center}.modal-container{width:90%;max-width:600px;min-height:400px;background:var(--lab-deep);border:1px solid var(--lab-border);position:relative;overflow:hidden;display:flex;flex-direction:column;max-height:85vh;max-height:85dvh}.modal-form{flex:1 1 auto;display:flex;flex-direction:column;min-height:0;overflow:hidden}.modal-header{padding:1.5rem 2rem;border-bottom:1px solid var(--lab-border);display:flex;justify-content:space-between;align-items:center;background:var(--lab-surface)}.modal-title{font-family:IBM Plex Mono,IBM Plex Mono Fallback,Courier New,monospace;font-size:.65rem;font-weight:500;color:var(--lab-amber);letter-spacing:.15em;text-transform:uppercase;display:flex;align-items:center;gap:.5rem}.close-btn{background:none;border:none;color:var(--lab-text-ghost);font-size:1.5rem;cursor:pointer;transition:color .2s;padding:0;line-height:1}.close-btn:hover{color:var(--lab-text)}.progress-bar{height:2px;background:var(--lab-border);width:100%}.progress-fill{height:100%;background:var(--lab-amber);transition:width .5s ease}.modal-content{padding:2.5rem 2rem;flex-grow:1;display:flex;flex-direction:column;overflow-y:auto;-webkit-overflow-scrolling:touch;min-height:0}@media(max-width:600px){.modal-container{min-height:0;max-height:90vh;max-height:90dvh;width:95%}.modal-header,.modal-footer{padding:1rem 1.25rem}.modal-content{padding:1.5rem 1.25rem}.step-question{font-size:1.3rem;margin-bottom:1.25rem}.form-group{gap:1rem}}.step-question{font-family:Fraunces,Fraunces Fallback,Georgia,serif;font-size:1.6rem;font-weight:700;letter-spacing:-.02em;margin-bottom:2rem;color:var(--lab-text);line-height:1.2}.step-question:focus{outline:none}.form-group{display:flex;flex-direction:column;gap:1.5rem}.input-field{background:transparent;border:none;border-bottom:1px solid var(--lab-border);padding:.8rem 0;color:var(--lab-text);font-size:1rem;font-family:IBM Plex Mono,IBM Plex Mono Fallback,Courier New,monospace;font-weight:300;transition:border-color .3s;width:100%}.input-field:focus{outline:none;border-color:var(--lab-amber)}.input-field::placeholder{color:var(--lab-text-ghost)}.options-grid{display:grid;grid-template-columns:1fr;gap:0;border-top:1px solid var(--lab-border)}.option-btn{background:transparent;border:none;border-bottom:1px solid var(--lab-border);padding:1.2rem 1rem;text-align:left;color:var(--lab-text-mid);cursor:pointer;transition:background .2s,color .2s;font-family:IBM Plex Mono,IBM Plex Mono Fallback,Courier New,monospace;font-size:.82rem;font-weight:300}.option-btn:hover,.option-btn.selected{background:var(--lab-surface);color:var(--lab-amber)}.modal-footer{padding:1.5rem 2rem;display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--lab-border)}.nav-btn{background:transparent;border:none;color:var(--lab-text-ghost);padding:.8rem 1.5rem;cursor:pointer;font-family:IBM Plex Mono,IBM Plex Mono Fallback,Courier New,monospace;font-size:.78rem;transition:color .2s;letter-spacing:.03em}.nav-btn:hover{color:var(--lab-text)}.next-btn{background:var(--lab-amber);color:var(--lab-ground);font-weight:600}.next-btn:hover{opacity:.88}.next-btn:disabled{opacity:.4;cursor:not-allowed}.success-container{text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;height:100%}.success-icon{width:72px;height:72px;border:1px solid var(--lab-amber);display:flex;align-items:center;justify-content:center;font-size:2rem;color:var(--lab-amber);margin-bottom:2rem;animation:pulse 2s infinite}[data-theme=light] .modal-overlay{background:#f5f2eb99;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}[data-theme=light] .modal-container{background:var(--lab-ground);border-color:var(--lab-border);box-shadow:0 10px 40px #1c1a141f}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{0%{box-shadow:0 0 #e8a63466}70%{box-shadow:0 0 0 16px #e8a63400}to{box-shadow:0 0 #e8a63400}}.spinner{width:1.2em;height:1.2em;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.validation-error-footer{color:var(--lab-terra);margin-bottom:.5rem;text-align:center;font-family:IBM Plex Mono,IBM Plex Mono Fallback,Courier New,monospace;font-size:.78rem;padding:0 2rem}.modal-title-chevron{color:var(--lab-text-ghost)}.success-text{color:var(--lab-text-mid);line-height:1.6}.step-hint{color:var(--lab-text-ghost);margin-bottom:1rem;font-size:.9rem}.textarea-field{border:1px solid var(--lab-border);padding:1rem;border-radius:8px}.char-counter{text-align:right;font-size:.7rem;color:var(--lab-text-ghost);margin-top:.2rem}.review-box{background:var(--lab-surface);padding:1.5rem;border-radius:8px;font-family:var(--font-mono);font-size:.9rem;color:var(--lab-text);margin-bottom:1.5rem}.review-box p{color:var(--lab-text);margin-bottom:.5rem}.review-label{color:var(--lab-text-ghost)}.review-quote{margin-top:1rem;font-style:italic;color:var(--lab-text-mid)}.gdpr-row{display:flex;align-items:flex-start;gap:.8rem;font-size:.85rem;color:var(--lab-text-mid)}.gdpr-row label{cursor:pointer}.gdpr-link{color:var(--cyan);text-decoration:underline}.field-float{position:relative}.field-float>label{position:absolute;left:0;top:.8rem;color:var(--lab-text-ghost);font-family:var(--font-mono);font-size:1rem;font-weight:300;pointer-events:none;transition:transform .2s ease,color .2s ease;transform-origin:left top}.field-float>.input-field:focus+label,.field-float>.input-field:not(:placeholder-shown)+label{transform:translateY(-1.15rem) scale(.72);color:var(--lab-amber)}.field-float-textarea>label{top:1rem;left:1rem}
