        :root {
            --bg: #f7f9fc;
            --surface: #ffffff;
            --border: #e4e9f2;
            --text: #1a2639;
            --text-soft: #5e6f8d;
            --primary: #4f6ef7;
            --primary-light: #eef2ff;
            --success: #2dd4bf;
            --warning: #f59e0b;
            --danger: #f43f5e;
            --radius-sm: 12px;
            --radius-md: 18px;
            --radius-full: 60px;
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.03);
            --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);
            --font-light: 300;
            --font-regular: 400;
            --font-medium: 500;
            --font-semibold: 600;
            --transition-fast: 0.15s ease;
            --transition-smooth: 0.25s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--bg);
            color: var(--text);
            line-height: 1.4;
            font-weight: var(--font-light);
            -webkit-font-smoothing: antialiased;
            -webkit-tap-highlight-color: transparent;
            min-height: 100vh;
            padding-bottom: 20px;
        }

        .header {
            background: var(--surface);
            height: 64px;
            position: sticky;
            top: 0;
            z-index: 120;
            border-bottom: 1px solid var(--border);
            backdrop-filter: blur(8px);
            background: rgba(255, 255, 255, 0.88);
            display: flex;
            align-items: center;
            padding: 0 16px;
        }

        .header-content {
            width: 100%;
            max-width: 960px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
            color: var(--text);
            font-weight: var(--font-semibold);
            font-size: 1.3rem;
            letter-spacing: -0.5px;
        }

        .logo i {
            font-size: 1.5rem;
            color: var(--primary);
        }

        .back-link {
            display: flex;
            align-items: center;
            gap: 6px;
            color: var(--text-soft);
            font-size: 0.9rem;
            font-weight: var(--font-regular);
            text-decoration: none;
            transition: var(--transition-fast);
        }

        .back-link:hover {
            color: var(--primary);
        }

        .container {
            width: 100%;
            max-width: 960px;
            margin: 0 auto;
            padding: 16px 16px 32px;
        }

        /* Прогресс-бар */
        .progress-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
            background: var(--surface);
            border-radius: var(--radius-md);
            padding: 4px;
            border: 1px solid var(--border);
            box-shadow: var(--shadow-sm);
            overflow-x: auto;
            gap: 2px;
        }

        .progress-step {
            flex: 1;
            min-width: 60px;
            text-align: center;
            padding: 10px 6px;
            font-size: 0.72rem;
            font-weight: var(--font-medium);
            border-radius: var(--radius-sm);
            color: var(--text-soft);
            cursor: pointer;
            transition: var(--transition-fast);
            background: transparent;
            border: none;
            font-family: inherit;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            white-space: nowrap;
        }

        .progress-step.active {
            background: var(--primary);
            color: white;
            box-shadow: 0 4px 12px rgba(79, 110, 247, 0.3);
        }

        .progress-step.completed {
            background: var(--primary-light);
            color: var(--primary);
        }

        .progress-step .step-icon {
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: rgba(0, 0, 0, 0.05);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
        }

        .progress-step.active .step-icon,
        .progress-step.completed .step-icon {
            background: white;
            color: var(--primary);
        }

        @media (min-width: 640px) {
            .progress-step {
                flex-direction: row;
                justify-content: center;
                gap: 8px;
                padding: 12px 8px;
                font-size: 0.8rem;
            }
        }

        .form-section {
            display: none;
            animation: fadeSlide 0.3s ease;
        }

        .form-section.active {
            display: block;
        }

        @keyframes fadeSlide {
            from {
                opacity: 0;
                transform: translateY(15px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .card {
            background: var(--surface);
            border-radius: var(--radius-md);
            padding: 20px;
            border: 1px solid var(--border);
            box-shadow: var(--shadow-sm);
            margin-bottom: 16px;
        }

        .card h2 {
            font-size: 1.2rem;
            font-weight: var(--font-light);
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .card h2 i {
            color: var(--primary);
            font-size: 1.1rem;
        }

        .form-group {
            margin-bottom: 16px;
        }

        .form-group label {
            display: block;
            font-size: 0.82rem;
            font-weight: var(--font-medium);
            margin-bottom: 5px;
            color: var(--text);
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 11px 14px;
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            font-size: 0.9rem;
            font-family: inherit;
            outline: none;
            transition: var(--transition-fast);
            background: var(--bg);
            resize: vertical;
            font-weight: var(--font-light);
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            border-color: var(--primary);
            background: white;
            box-shadow: 0 0 0 3px rgba(79, 110, 247, 0.06);
        }

        .form-group textarea {
            min-height: 90px;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
        }

        @media (max-width: 500px) {
            .form-row {
                grid-template-columns: 1fr;
            }
        }

        .map-picker-container {
            height: 260px;
            border-radius: var(--radius-sm);
            overflow: hidden;
            border: 1px solid var(--border);
            position: relative;
        }

        .map-search {
            display: flex;
            gap: 8px;
            margin-bottom: 10px;
        }

        .map-search input {
            flex: 1;
        }

        .photo-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            align-items: center;
        }

        .photo-upload-box {
            width: 90px;
            height: 90px;
            border-radius: var(--radius-sm);
            border: 2px dashed var(--border);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: var(--text-soft);
            font-size: 0.7rem;
            transition: var(--transition-fast);
            background: var(--bg);
            font-family: inherit;
        }

        .photo-upload-box:hover {
            border-color: var(--primary);
            color: var(--primary);
            background: white;
        }

        .photo-upload-box i {
            font-size: 1.5rem;
            margin-bottom: 4px;
        }

        .photo-thumb {
            width: 90px;
            height: 90px;
            border-radius: var(--radius-sm);
            object-fit: cover;
            border: 1px solid var(--border);
            position: relative;
        }

        .photo-thumb-wrapper {
            position: relative;
            display: inline-block;
        }

        .photo-thumb-remove {
            position: absolute;
            top: -6px;
            right: -6px;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: var(--danger);
            color: white;
            border: none;
            cursor: pointer;
            font-size: 0.7rem;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
            transition: var(--transition-fast);
        }

        .service-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 6px;
        }

        .service-tag {
            padding: 6px 14px;
            background: var(--bg);
            border-radius: 20px;
            font-size: 0.78rem;
            display: flex;
            align-items: center;
            gap: 6px;
            border: 1px solid var(--border);
            cursor: pointer;
            transition: var(--transition-fast);
        }

        .service-tag.selected {
            background: var(--primary-light);
            border-color: var(--primary);
            color: var(--primary);
        }

        .service-tag i {
            font-size: 0.7rem;
            cursor: pointer;
        }

        .hours-grid {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .hours-row {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        .hours-row .day-label {
            width: 80px;
            font-weight: var(--font-medium);
            font-size: 0.82rem;
        }

        .hours-row input {
            width: 100px;
            padding: 8px 10px;
        }

        .hours-row .closed-btn {
            padding: 6px 12px;
            font-size: 0.7rem;
            border-radius: 20px;
            border: 1px solid var(--border);
            background: white;
            cursor: pointer;
            font-family: inherit;
            transition: var(--transition-fast);
        }

        .hours-row .closed-btn.active {
            background: var(--danger);
            color: white;
            border-color: var(--danger);
        }

        .payment-options {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 4px;
        }

        .payment-chip {
            padding: 6px 14px;
            border-radius: 20px;
            border: 1px solid var(--border);
            background: white;
            font-size: 0.78rem;
            cursor: pointer;
            transition: var(--transition-fast);
            font-family: inherit;
        }

        .payment-chip.selected {
            background: var(--primary-light);
            border-color: var(--primary);
            color: var(--primary);
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 28px;
            border-radius: var(--radius-full);
            font-weight: var(--font-medium);
            font-size: 0.9rem;
            border: 1px solid transparent;
            cursor: pointer;
            transition: var(--transition-fast);
            font-family: inherit;
        }

        .btn-primary {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
            box-shadow: 0 4px 14px rgba(79, 110, 247, 0.3);
        }

        .btn-primary:hover {
            background: #3d5bd9;
        }

        .btn-outline {
            background: white;
            color: var(--primary);
            border-color: var(--border);
        }

        .btn-outline:hover {
            background: var(--primary-light);
            border-color: var(--primary);
        }

        .btn-sm {
            padding: 7px 15px;
            font-size: 0.8rem;
        }

        .navigation-buttons {
            display: flex;
            justify-content: space-between;
            margin-top: 20px;
        }

        .toast-container {
            position: fixed;
            top: 80px;
            right: 16px;
            z-index: 300;
            display: flex;
            flex-direction: column;
            gap: 8px;
            pointer-events: none;
        }

        .toast {
            background: white;
            border-radius: 16px;
            padding: 12px 18px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 0.85rem;
            border-left: 3px solid var(--primary);
            animation: slideInToast 0.3s ease;
            pointer-events: all;
            max-width: 300px;
        }

        @keyframes slideInToast {
            from {
                transform: translateX(120%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        .success-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.45);
            z-index: 250;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(4px);
        }

        .success-overlay.active {
            display: flex;
        }

        .success-card {
            background: white;
            border-radius: 28px;
            padding: 32px;
            text-align: center;
            max-width: 360px;
            border: 1px solid var(--border);
            box-shadow: var(--shadow-lg);
            animation: pop 0.3s ease;
        }

        @keyframes pop {
            from {
                transform: scale(0.9);
                opacity: 0;
            }
            to {
                transform: scale(1);
                opacity: 1;
            }
        }

        .success-icon {
            width: 70px;
            height: 70px;
            margin: 0 auto 16px;
            background: linear-gradient(135deg, #2dd4bf, #4f6ef7);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 2rem;
        }

        .footer-note {
            text-align: center;
            color: var(--text-soft);
            font-size: 0.7rem;
            margin: 20px 0 0;
        }

        .draft-saved {
            font-size: 0.7rem;
            color: var(--success);
            margin-left: 10px;
            display: none;
        }
