.pf-backdrop {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(5px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.pf-backdrop.open { display: flex; opacity: 1; }

.pf-modal {
    background: white;
    width: 95%;
    max-width: 650px;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-height: 90vh;
    overflow-y: auto;
}

.pf-header {
    background: #1F987D;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pf-header p { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.2em; color: #a7f3e0; margin: 0 0 0.25rem 0; }
.pf-header h2 { font-size: 1.25rem; font-weight: 900; text-transform: uppercase; color: white; margin: 0; }
.pf-close-btn { background: none; border: none; color: white; font-size: 2rem; font-weight: 700; line-height: 1; cursor: pointer; }

.pf-progress-bar { height: 4px; background: #f3f4f6; width: 100%; }
.pf-progress-fill { height: 100%; background: #1F987D; transition: width 0.3s ease; width: 0%; }

.pf-body { padding: 2rem; }
.pf-step-label { font-size: 0.7rem; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 700; margin: 0 0 1.5rem 0; }
.pf-question { font-size: 1.25rem; font-weight: 900; color: #111827; text-transform: uppercase; margin: 0 0 1.5rem 0; line-height: 1.3; }
.pf-hint { font-size: 0.85rem; color: #6b7280; margin: -1rem 0 1.5rem 0; }

.pf-option-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    font-weight: 700;
    color: #111827;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 0.95rem;
}
.pf-option-btn:hover { border-color: #1F987D; background: #f0fdfa; color: #1F987D; }

.pf-input, .pf-textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    font-family: inherit;
    box-sizing: border-box;
}
.pf-textarea { min-height: 100px; resize: vertical; }
.pf-input:focus, .pf-textarea:focus { outline: none; border-color: #1F987D; }

.pf-continue-btn {
    background: #1F987D;
    color: white;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
}
.pf-continue-btn:hover { background: #178066; }
.pf-continue-btn:disabled { background: #d1d5db; cursor: not-allowed; }

.pf-back-link { display: inline-block; margin-top: 1rem; color: #9ca3af; font-size: 0.8rem; font-weight: 600; cursor: pointer; text-decoration: underline; background: none; border: none; padding: 0; }

.pf-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 500px) { .pf-field-row { grid-template-columns: 1fr; } }

.pf-confirm { text-align: center; padding: 1rem 0; }
.pf-confirm .pf-check { font-size: 3rem; color: #1F987D; margin-bottom: 1rem; }
.pf-hidden { display: none !important; }