        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            font-family: 'Plus Jakarta Sans', sans-serif;
            background-color: var(--bg-dark);
            color: var(--text-primary);
            min-height: 100vh;
        }

        /* Top bar */
        .top-bar {
            padding: 1.25rem 2rem;
            border-bottom: 1px solid var(--border);
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(15, 11, 26, 0.95);
        }

        .top-bar .step-indicator {
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        /* Progress bar */
        .progress-bar {
            height: 3px;
            background: var(--border);
            position: relative;
        }

        .progress-fill {
            height: 100%;
            background: var(--gradient-1);
            transition: width 0.5s ease;
            border-radius: 0 2px 2px 0;
        }

        /* Utility classes for inline cleanup */
        .link-reset { text-decoration:none; }
        .w-20p { width: 20%; }
        .msg-base { max-width: 720px; margin: 1.5rem auto 0; padding: 1rem 1.5rem; display:none; border-radius: 10px; }
        .msg-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #ef4444; }
        .msg-success { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); color: #2DD4BF; }
        .hint-warn { color:#f59e0b; }
        .img-row { display:flex;align-items:center;gap:16px;margin-top:8px; }
        .profile-preview { width:80px;height:80px;border-radius:50%;background:rgba(255,255,255,0.08);display:flex;align-items:center;justify-content:center;font-size:2rem;overflow:hidden;flex-shrink:0; }
        .btn-ghost { padding:8px 16px;background:rgba(255,255,255,0.1);border:1px solid rgba(255,255,255,0.2);border-radius:8px;color:#e0e0e0;cursor:pointer;font-family:inherit; }
        .is-hidden { display:none; }
        .mt-025-accent { margin-top: 0.25rem; accent-color: var(--primary); }
        .text-body-sm { font-size: 0.9rem; line-height: 1.5; }
        .text-error { color:var(--error); }
        .minh-80 { min-height: 80px; }
        .text-muted-085 { color:var(--text-muted); font-size:0.85rem; }
        .text-secondary { color:var(--text-secondary); }
        .choice-row { display: flex; align-items: flex-start; gap: 0.75rem; cursor: pointer; margin-bottom: 0.75rem; }
        .choice-row-nomb { display: flex; align-items: flex-start; gap: 0.75rem; cursor: pointer; }
        .partner-link-wrap { display:none; margin-top: 1rem; }
        .partner-link-card { background: rgba(139,92,246,0.08); border: 1px solid rgba(139,92,246,0.25); border-radius: 12px; padding: 1.25rem; }
        .partner-link-title { font-size: 1rem; margin-bottom: 0.5rem; }
        .partner-link-copy { color:var(--text-muted); font-size:0.85rem; margin-bottom: 1rem; }
        .partner-link-row { display:flex; gap:0.5rem; flex-wrap:wrap; }
        .partner-link-input { flex:1; min-width:200px; padding:0.6rem 0.75rem; background:var(--bg-dark); border:1px solid var(--border); border-radius:8px; color:var(--text-primary); font-family:'Plus Jakarta Sans',sans-serif; font-size:0.9rem; }
        .partner-link-btn { padding:0.6rem 1.2rem; border-radius:8px; background:var(--gradient-1); border:none; color:white; font-weight:600; cursor:pointer; font-family:'Plus Jakarta Sans',sans-serif; font-size:0.85rem; white-space:nowrap; }
        .partner-link-result { margin-top:0.75rem; display:none; padding:0.75rem; border-radius:8px; font-size:0.85rem; }
        .partner-link-foot { color:var(--text-muted); font-size:0.75rem; margin-top: 0.75rem; }
        .couple-card { background: rgba(139, 92, 246, 0.08); border: 1px solid rgba(139, 92, 246, 0.25); border-radius: 12px; padding: 1.25rem; text-align: center; }
        .icon-2xl { font-size: 2rem; margin-bottom: 0.5rem; }
        .fw-600-mb-035 { font-weight: 600; margin-bottom: 0.35rem; }
        .muted-085-lh-mb { color: var(--text-muted); font-size: 0.85rem; line-height: 1.5; margin-bottom: 0.75rem; }
        .text-secondary-08 { color: var(--text-secondary); font-size: 0.8rem; }
        .privacy-card { background: rgba(108, 60, 225, 0.08); border: 1px solid rgba(108, 60, 225, 0.25); border-radius: 12px; padding: 1.25rem; }
        .m0-muted-body { margin:0; color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; }
        .card-soft { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 1rem; }
        .img-fill { width:100%;height:100%;object-fit:cover; }
        .text-success-500 { color:var(--success);font-weight:500; }
        .avatar-64-img { width:64px;height:64px;border-radius:50%;object-fit:cover;margin-right:12px;flex-shrink:0; }
        .avatar-64-fallback { width:64px;height:64px;border-radius:50%;background:var(--bg-card-hover);display:flex;align-items:center;justify-content:center;font-size:1.75rem;margin-right:12px;flex-shrink:0;border:2px solid var(--border); }
        .row-center-mb8 { display:flex;align-items:center;margin-bottom:8px; }
        .notice-left { text-align: left; max-width: 400px; margin: 1.5rem auto; padding: 1rem; background: rgba(108,60,225,0.08); border-radius: 10px; }
        .text-secondary-085-mb { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 0.5rem; }
        .text-center-pad { text-align: center; padding: 3rem 0; }
        .icon-4xl { font-size: 4rem; margin-bottom: 1rem; }
        .mb-075 { margin-bottom: 0.75rem; }
        .empty-copy { color: var(--text-muted); font-size: 1.05rem; max-width: 500px; margin: 0 auto 1rem; line-height: 1.6; }
        .text-secondary-09 { color: var(--text-secondary); font-size: 0.9rem; }
        .cta-row { margin-top: 2rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 9999; }
        .cta-primary { padding: 0.75rem 2rem; border-radius: 50px; font-weight: 600; font-size: 0.95rem; background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%); color: white; cursor: pointer; font-family: inherit; border: none; }
        .cta-secondary { padding: 0.75rem 2rem; border-radius: 50px; font-weight: 600; font-size: 0.95rem; background: transparent; color: #A09CB0; border: 1px solid #2D2640; cursor: pointer; font-family: inherit; }
        .footnote-muted { color: var(--text-muted); font-size: 0.8rem; margin-top: 1.5rem; }

        /* Layout */
        .page-wrapper {
            max-width: 720px;
            margin: 0 auto;
            padding: 2.5rem 1.5rem 4rem;
        }

        /* Step sections */
        .step { display: none; }
        .step.active { display: block; animation: fadeIn 0.4s ease; }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(12px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .step-title {
            font-family: 'Outfit', sans-serif;
            font-size: 1.75rem;
            margin-bottom: 0.5rem;
        }

        .step-subtitle {
            color: var(--text-muted);
            font-size: 1rem;
            margin-bottom: 2rem;
            line-height: 1.5;
        }

        /* Form elements */
        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            font-weight: 500;
            margin-bottom: 0.5rem;
            font-size: 0.95rem;
            color: var(--text-primary);
        }

        .form-group label .optional {
            color: var(--text-muted);
            font-weight: 400;
            font-size: 0.85rem;
        }

        .form-group .hint {
            color: var(--text-muted);
            font-size: 0.8rem;
            margin-top: 0.35rem;
            line-height: 1.4;
        }

        input[type="text"],
        input[type="number"],
        input[type="email"],
        input[type="date"],
        textarea,
        select {
            width: 100%;
            padding: 0.8rem 1rem;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 10px;
            color: var(--text-primary);
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 0.95rem;
            transition: border-color 0.3s, box-shadow 0.3s;
            outline: none;
        }

        input[type="date"]::-webkit-calendar-picker-indicator {
            filter: invert(0.7);
            cursor: pointer;
        }

        input:focus, textarea:focus, select:focus {
            border-color: var(--primary-light);
            box-shadow: 0 0 0 3px rgba(108, 60, 225, 0.15);
        }

        textarea {
            resize: vertical;
            min-height: 120px;
            line-height: 1.6;
        }

        select {
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237C6FA0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 1rem center;
            padding-right: 2.5rem;
            cursor: pointer;
        }

        select option {
            background: var(--bg-card);
            color: var(--text-primary);
        }

        /* Chip/tag selector */
        .chip-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .chip {
            padding: 0.5rem 1rem;
            border-radius: 50px;
            border: 1px solid var(--border);
            background: var(--bg-card);
            color: var(--text-muted);
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.2s;
            user-select: none;
        }

        .chip:hover {
            border-color: var(--primary-light);
            color: var(--text-primary);
        }

        .chip.selected {
            background: rgba(108, 60, 225, 0.2);
            border-color: var(--primary);
            color: var(--text-primary);
        }

        /* Range slider */
        .range-wrapper {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .range-wrapper input[type="range"] {
            flex: 1;
            -webkit-appearance: none;
            height: 6px;
            background: var(--border);
            border-radius: 3px;
            outline: none;
            border: none;
            padding: 0;
        }

        .range-wrapper input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 20px;
            height: 20px;
            background: var(--gradient-1);
            border-radius: 50%;
            cursor: pointer;
        }

        .range-value {
            color: var(--text-secondary);
            font-weight: 600;
            min-width: 50px;
            text-align: center;
        }

        /* Two-column row */
        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }

        /* Entity tags (NLP preview) */
        .entity-preview {
            margin-top: 1rem;
            padding: 1rem;
            background: rgba(108, 60, 225, 0.08);
            border: 1px solid rgba(108, 60, 225, 0.2);
            border-radius: 10px;
            display: none;
        }

        .entity-preview.visible { display: block; }

        .entity-preview h4 {
            font-size: 0.8rem;
            color: var(--text-secondary);
            margin-bottom: 0.5rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .entity-tag {
            display: inline-flex;
            align-items: center;
            gap: 0.3rem;
            padding: 0.25rem 0.65rem;
            border-radius: 6px;
            font-size: 0.78rem;
            font-weight: 500;
            margin: 0.2rem;
        }

        .entity-tag.interest { background: rgba(16, 185, 129, 0.15); color: #6EE7B7; }
        .entity-tag.desire { background: rgba(236, 72, 153, 0.15); color: #F9A8D4; }
        .entity-tag.limit { background: rgba(239, 68, 68, 0.15); color: #FCA5A5; }
        .entity-tag.kink { background: rgba(139, 92, 246, 0.15); color: #C4B5FD; }

        .entity-preview .loading-spinner {
            text-align: center;
            color: var(--text-muted);
            font-size: 0.9rem;
            padding: 1rem;
        }

        /* Navigation buttons */
        .nav-buttons {
            display: flex;
            justify-content: space-between;
            margin-top: 2.5rem;
            padding-top: 1.5rem;
            border-top: 1px solid var(--border);
        }

        .btn {
            padding: 0.75rem 2rem;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.2s;
            border: none;
            font-family: 'Plus Jakarta Sans', sans-serif;
        }

        .btn-next {
            background: var(--gradient-1);
            color: white;
        }

        .btn-next:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(108, 60, 225, 0.35);
        }

        .btn-back {
            background: transparent;
            color: var(--text-muted);
            border: 1px solid var(--border);
        }

        .btn-back:hover {
            border-color: var(--primary-light);
            color: var(--text-primary);
        }

        .btn-submit {
            background: linear-gradient(135deg, #2DD4BF 0%, #059669 100%);
            color: white;
        }

        .btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
        }

        /* Privacy note */
        .privacy-note {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            padding: 1rem;
            background: rgba(16, 185, 129, 0.08);
            border: 1px solid rgba(16, 185, 129, 0.2);
            border-radius: 10px;
            margin-bottom: 1.5rem;
        }

        .privacy-note .icon { font-size: 1.2rem; flex-shrink: 0; }
        .privacy-note p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.5; }

        /* Summary card */
        .summary-section {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 1.25rem;
            margin-bottom: 1rem;
        }

        .summary-section h4 {
            font-size: 0.85rem;
            color: var(--text-secondary);
            margin-bottom: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }

        .summary-section .value {
            color: var(--text-primary);
            font-size: 0.95rem;
            line-height: 1.6;
        }

        .summary-section .value.muted {
            color: var(--text-muted);
            font-style: italic;
        }

        /* Responsive */
        @media (max-width: 640px) {
            .form-row { grid-template-columns: 1fr; }
            .page-wrapper { padding: 1.5rem 1rem 3rem; }
            .step-title { font-size: 1.4rem; }
        }
