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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    position: relative;
}

/* Burger Menu */
.burger-menu {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
}

.burger-toggle {
    display: none;
}

.burger-button {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    padding: 0.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.burger-button:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.burger-line {
    width: 100%;
    height: 2px;
    background-color: #374151;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 120px;
}

.burger-toggle:checked ~ .menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-item {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.2s;
    border-bottom: 1px solid #f3f4f6;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background-color: #f9fafb;
}

.menu-item.active {
    background-color: #818cf8;
    color: white;
}

.menu-item.active:hover {
    background-color: #6366f1;
}

.login-container {
    display: flex;
    min-height: 100vh;
}

/* Left side - Estate image */
.image-section {
    display: none;
    position: relative;
    overflow: hidden;
}

.estate-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
}

/* Right side - Login form */
.form-section {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: #f0f0f0;
}

.form-container {
    width: 100%;
    max-width: 28rem;
}

/* Alert */
.alert {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 0.5rem;
}

.alert-content {
    display: flex;
    align-items: flex-start;
}

.alert-icon {
    flex-shrink: 0;
}

.alert-icon svg {
    height: 1.25rem;
    width: 1.25rem;
    color: #60a5fa;
}

.alert-text {
    margin-left: 0.75rem;
}

.alert-text p {
    font-size: 0.875rem;
    color: #1e40af;
    line-height: 1.5;
}

/* Dynamic alerts - hidden by default, shown when targeted */
.alert {
    display: none;
}

.alert:target {
    display: block;
}

/* Error Alert */
.alert-error {
    background-color: #fef2f2;
    border-color: #fecaca;
}

.alert-error .alert-icon svg {
    color: #f87171;
}

.alert-error .alert-text p {
    color: #b91c1c;
}

/* Success Alert */
.alert-success {
    background-color: #f0fdf4;
    border-color: #bbf7d0;
}

.alert-success .alert-icon svg {
    color: #22c55e;
}

.alert-success .alert-text p {
    color: #16a34a;
}

/* Default alert (existing user) - always show unless there's a targeted alert */
.alert:not([id]) {
    display: block;
}

.alert:target ~ .alert:not([id]) {
    display: none;
}

/* Special handling for existing-user alert - visible by default, hidden when others are targeted */
#existing-user {
    display: block;
}

.alert:target ~ #existing-user {
    display: none;
}

.alert-button {
    background-color: #dc2626;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background-color 0.2s;
}

.alert-button:hover {
    background-color: #b91c1c;
}

/* How It Works Section */
.how-it-works-view {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}

.how-it-works-view:target {
    display: flex;
}

.how-it-works-view:target ~ .estate-view {
    display: none;
}

.how-it-works-content {
    max-width: 600px;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin: 40px 20px;
    position: relative;
}

.back-button {
    position: absolute;
    top: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;
    z-index: 10;
}

.back-button:hover {
    color: #333;
}

.back-button svg {
    width: 16px;
    height: 16px;
    margin-right: 4px;
}

.step-indicator {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 14px;
    color: #666;
    z-index: 10;
}

.walkthrough-content h1 {
    font-size: 36px;
    font-weight: 300;
    color: #333;
    margin-bottom: 24px;
    line-height: 1.2;
    margin-top: 16px;
}

.walkthrough-content h2 {
    font-size: 30px;
    font-weight: 300;
    color: #333;
    margin-bottom: 24px;
    line-height: 1.2;
    margin-top: 16px;
}

.walkthrough-content p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 32px;
}

.main-visual {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
}

.visual-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transform: scale(0.75);
}

.step-visual {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
}

.step-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 400px;
}

.navigation {
    position: absolute;
    right: -85px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.next-text {
    font-size: 14px;
    color: #333;
    font-weight: 300;
}

.nav-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    color: #333;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease;
}

.nav-arrow:hover {
    background: #f5f5f5;
}

.step-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 48px;
    position: absolute;
    left: -130px;
    right: -130px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 64px;
    pointer-events: none;
}

.nav-prev, .nav-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #666;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background-color 0.2s ease;
    pointer-events: auto;
}

.nav-prev:hover, .nav-next:hover {
    background: #333;
}

.nav-next {
    margin-left: auto;
}

.done-button {
    color: #333;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s ease;
    pointer-events: auto;
}

.done-button:hover {
    background: #f5f5f5;
}

/* How It Works Button */
.how-it-works-button-container {
    margin-bottom: 1.5rem;
    text-align: center;
}

.how-it-works-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: #374151;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.how-it-works-button:hover {
    background-color: #e5e7eb;
    border-color: #d1d5db;
}

/* Form Select Dropdown */
select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background-color: white;
    color: #111827;
    font-size: 1rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    transition: all 0.2s;
}

select:focus {
    outline: none;
    ring: 2px;
    ring-color: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
}

select option {
    padding: 0.5rem;
}

/* Login card */
.login-card {
    background-color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(229, 231, 235, 0.6);
    border-radius: 1rem;
    padding: 2rem;
}

/* Logo */
.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.logo {
    height: 5rem;
    width: auto;
    object-fit: contain;
}

/* Welcome header */
.welcome-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.welcome-header h1 {
    font-size: 1.875rem;
    font-weight: 400;
    color: #111827;
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
}

.welcome-header p {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Form */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 400;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background-color: white;
    color: #111827;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-group input::placeholder {
    color: #9ca3af;
}

.form-group input:focus {
    outline: none;
    ring: 2px;
    ring-color: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

/* Login button */
.login-button {
    width: 100%;
    background-color: #818cf8;
    color: white;
    font-weight: 500;
    padding: 0.875rem 1rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.login-button:hover {
    background-color: #6366f1;
}

.login-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Forgot password */
.forgot-password-container {
    text-align: center;
    margin-top: 1rem;
}

.forgot-password-link {
    background: none;
    border: none;
    color: #60a5fa;
    font-size: 0.875rem;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s;
}

.forgot-password-link:hover {
    color: #3b82f6;
}

/* Self-service quote CTA */
.quote-cta-card {
    margin-top: 1rem;
    background-color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(229, 231, 235, 0.6);
    border-radius: 1rem;
    padding: 1.25rem;
}

.quote-cta-top {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.quote-cta-thumbs {
    position: relative;
    flex-shrink: 0;
    width: 84px;
    height: 58px;
}

.quote-cta-thumb {
    position: absolute;
    box-sizing: border-box;
    border-radius: 0.5rem;
    object-fit: cover;
    background-color: #f3f4f6;
    border: 1.5px solid #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.16);
}

.quote-cta-thumb:nth-child(1) {
    width: 32px;
    height: 36px;
    left: 0;
    top: 12px;
    transform: rotate(-10deg);
    z-index: 1;
}

.quote-cta-thumb:nth-child(2) {
    width: 40px;
    height: 44px;
    left: 19px;
    top: 0;
    transform: rotate(2deg);
    z-index: 2;
}

.quote-cta-thumb:nth-child(3) {
    width: 40px;
    height: 44px;
    left: 43px;
    top: 9px;
    transform: rotate(8deg);
    z-index: 3;
}

.quote-cta-text {
    min-width: 0;
}

.quote-cta-text h2 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.125rem;
}

.quote-cta-text p {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.4;
    margin: 0;
}

.quote-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background-color: #ffffff;
    color: #6366f1;
    border: 1px solid #c7d2fe;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.quote-cta-button:hover {
    background-color: #eef2ff;
    border-color: #a5b4fc;
    color: #4f46e5;
}

.quote-cta-button svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

@media (max-width: 400px) {
    .quote-cta-thumbs {
        display: none;
    }
}

/* Branding */
.branding {
    margin-top: 1.5rem;
    text-align: center;
    opacity: 0.6;
}

.branding-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.branding-line span {
    font-size: 0.75rem;
    color: #6b7280;
}

.constell-logo {
    height: 1.25rem;
    opacity: 0.8;
}

.branding-subtitle {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal:target {
    display: flex;
}

.modal-content {
    background-color: white;
    border: 1px solid rgba(229, 231, 235, 0.6);
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    width: 100%;
    max-width: 28rem;
    margin: 1rem;
}

.modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #111827;
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: #6b7280;
    font-size: 0.875rem;
}

.forgot-password-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal-buttons {
    display: flex;
    gap: 0.75rem;
}

.cancel-button {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background-color: white;
    color: #374151;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.cancel-button:hover {
    background-color: #f9fafb;
}

.submit-button {
    flex: 1;
    background-color: #818cf8;
    color: white;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.submit-button:hover {
    background-color: #6366f1;
}

/* Welcome page styles */
.welcome-actions {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.features-highlight {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background-color: #f3f4f6;
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 1rem;
    height: 1rem;
    color: #818cf8;
}

/* Desktop styles */
@media (min-width: 1024px) {
    .image-section {
        display: block;
        width: 50%;
    }

    .form-section {
        width: 50%;
    }

    .features-highlight {
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        flex: 1;
        min-width: 120px;
    }
}

/* Mobile responsiveness */
@media (max-width: 640px) {
    .form-section {
        padding: 1rem;
    }

    .login-card {
        padding: 1.5rem;
    }

    .logo {
        height: 4rem;
    }

    .welcome-header {
        margin-bottom: 2rem;
    }

    .welcome-header h1 {
        font-size: 1.5rem;
    }

    .modal-content {
        margin: 0.5rem;
        padding: 1.5rem;
    }

    .modal-buttons {
        flex-direction: column;
    }

    /* How it works mobile styles */
    .how-it-works-view {
        padding: 1rem;
    }

    .how-it-works-text {
        max-width: 100%;
    }

    .how-it-works-text h2 {
        font-size: 1.5rem;
    }

    .simplified-steps {
        gap: 1.25rem;
        max-width: 100%;
    }

    .simple-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }

    .step-number {
        margin-bottom: 0.25rem;
    }

    .main-visual-image {
        max-width: 100%;
        height: auto;
    }

    .back-button {
        position: relative;
        top: auto;
        left: auto;
        align-self: flex-start;
        margin-bottom: 1rem;
    }

    .how-it-works-content {
        padding-top: 0;
    }
}

@media (max-width: 1024px) {
    .how-it-works-view {
        padding: 1.5rem;
    }

    .explanation-points {
        max-width: 100%;
    }

    .quote-example {
        margin-top: 1rem;
    }

    .quote-image {
        max-width: 90%;
    }
}
#estateView{overflow: hidden; width: 100%; height: 100%;}
#error-email-exists .alert-text p {margin-bottom: 0.5rem;}
#ajaxLoader .ajax-loader{
    position: absolute;
    display: none;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
}
.hidden{display: none;}
#existing-user.hidden{display: none;}

/* ===== Registratie visuals (ported from registratie-visuals/voorstel.html) ===== */
.rv-canvas {
    --accent:#6C6BE8;
    --accent-soft:#EEEEFC;
    --ink:#1B1D2A;
    --ink-2:#4A4F63;
    --muted:#8A90A4;
    --line:#E7E9F2;
    --card:#FFFFFF;
    --r-lg:22px;
    --r-md:14px;
    --shadow-lift:0 26px 50px -26px rgba(23,25,45,.34), 0 2px 6px rgba(23,25,45,.05);
    text-align: left;
}

.rv-canvas {
    position:relative;
    width:100%;
    aspect-ratio:1/1;
    border-radius:var(--r-lg);
    overflow:hidden;
    background:radial-gradient(120% 100% at 50% 0%,#FFFFFF 0%,#F7F8FC 46%,#EFF1F8 100%);
    border:1px solid #EDEFF6;
}

.rv-canvas .stage {
    position:absolute;
    left:0;
    top:0;
    width:640px;
    height:640px;
    transform-origin:top left;
}

.rv-canvas .glow {
    position:absolute;
    width:420px;
    height:420px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(108,107,232,.13) 0%,rgba(108,107,232,0) 68%);
    left:110px;
    top:110px;
}

.rv-canvas .photo {
    background-size:cover;
    background-position:center;
    border-radius:var(--r-md);
    box-shadow:0 12px 24px -14px rgba(23,25,45,.45);
    position:absolute;
}

.rv-canvas .photo::after {
    content:'';
    position:absolute;
    inset:0;
    border-radius:inherit;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.5);
}

.rv-canvas .pill {
    position:absolute;
    background:#fff;
    border-radius:999px;
    padding:6px 12px 6px 9px;
    font-size:12.5px;
    font-weight:500;
    color:var(--ink);
    display:flex;
    align-items:center;
    gap:7px;
    box-shadow:0 8px 18px -10px rgba(23,25,45,.4),0 0 0 1px rgba(231,233,242,.9);
}

.rv-canvas .dot {
    width:6px;
    height:6px;
    border-radius:50%;
    background:var(--accent);
    flex:none;
}

.rv-canvas .card {
    background:var(--card);
    border-radius:var(--r-lg);
    box-shadow:var(--shadow-lift);
    position:absolute;
}

.rv-canvas /* ---------- 1 : offerte ---------- */
.orbit {
    position:absolute;
    left:70px;
    top:70px;
    width:500px;
    height:500px;
    border-radius:50%;
    border:1.5px dashed #D9DDEC;
}

.rv-canvas .orbit.inner {
    left:120px;
    top:120px;
    width:400px;
    height:400px;
    border-style:solid;
    border-color:#EDEFF7;
}

.rv-canvas .quote {
    left:160px;
    top:168px;
    width:320px;
    padding:26px 26px 22px;
}

.rv-canvas .q-top {
    display:flex;
    justify-content:space-between;
    align-items:baseline;
    margin-bottom:10px;
}

.rv-canvas .q-top .lbl {
    font-size:10.5px;
    letter-spacing:.18em;
    text-transform:uppercase;
    color:var(--accent);
    font-weight:700;
}

.rv-canvas .q-top .st {
    font-size:10.5px;
    color:var(--muted);
}

.rv-canvas .q-title {
    font-size:16px;
    font-weight:600;
    letter-spacing:-.01em;
    margin:0 0 2px;
}

.rv-canvas .q-sub {
    font-size:12px;
    color:var(--muted);
    margin:0 0 16px;
}

.rv-canvas .q-row {
    display:grid;
    grid-template-columns:1fr 44px 66px;
    align-items:center;
    padding:9px 0;
    border-top:1px solid #F0F2F8;
    font-size:12.5px;
}

.rv-canvas .q-row .n {
    color:var(--ink-2);
}

.rv-canvas .q-row .a {
    color:var(--muted);
    text-align:right;
    font-variant-numeric:tabular-nums;
}

.rv-canvas .q-row .p {
    text-align:right;
    font-variant-numeric:tabular-nums;
    color:var(--ink);
    font-weight:500;
}

.rv-canvas .q-total {
    display:grid;
    grid-template-columns:1fr 44px 66px;
    padding:13px 0 0;
    margin-top:6px;
    border-top:1.5px solid var(--ink);
    font-size:13px;
    font-weight:600;
}

.rv-canvas .q-total .p {
    text-align:right;
    font-variant-numeric:tabular-nums;
}

.rv-canvas /* ---------- 2 : programma ---------- */
.prog {
    left:110px;
    top:112px;
    width:420px;
    padding:28px 30px 26px;
}

.rv-canvas .p-head {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:22px;
}

.rv-canvas .p-head h3 {
    font-size:16px;
    font-weight:600;
    margin:0;
    letter-spacing:-.01em;
}

.rv-canvas .p-head .date {
    font-size:11.5px;
    color:var(--muted);
}

.rv-canvas .tl {
    position:relative;
}

.rv-canvas .tl::before {
    content:'';
    position:absolute;
    left:79px;
    top:14px;
    bottom:16px;
    width:1.5px;
    background:#EAECF4;
}

.rv-canvas .ev {
    display:grid;
    grid-template-columns:56px 46px 1fr;
    align-items:start;
    padding:10px 0;
    position:relative;
}

.rv-canvas .ev .t {
    font-size:12px;
    color:var(--muted);
    font-variant-numeric:tabular-nums;
    padding-top:3px;
    text-align:right;
    padding-right:15px;
}

.rv-canvas .ev .m {
    display:flex;
    justify-content:center;
    padding-top:4px;
}

.rv-canvas .ev .m i {
    width:11px;
    height:11px;
    border-radius:50%;
    background:#fff;
    border:2.5px solid #D8DBEA;
    display:block;
}

.rv-canvas .ev.on .m i {
    border-color:var(--accent);
    box-shadow:0 0 0 4px rgba(108,107,232,.13);
}

.rv-canvas .ev .m .thumb {
    width:34px;
    height:34px;
    border-radius:10px;
    background-size:cover;
    background-position:center;
    box-shadow:0 6px 14px -8px rgba(23,25,45,.55),0 0 0 3px #fff;
    margin-top:-9px;
}

.rv-canvas .ev .b {
    position:relative;
}

.rv-canvas .ev .b .h {
    font-size:13.5px;
    font-weight:500;
    letter-spacing:-.005em;
}

.rv-canvas .ev .b .s {
    font-size:11.5px;
    color:var(--muted);
    margin-top:2px;
}

.rv-canvas .ev.on .b {
    background:#fff;
    border-radius:12px;
    box-shadow:0 10px 24px -14px rgba(23,25,45,.45),0 0 0 1px #EDEFF7;
    padding:9px 12px;
    margin:-9px -12px -9px 0;
}

.rv-canvas .grip {
    position:absolute;
    right:12px;
    top:50%;
    transform:translateY(-50%);
    width:14px;
}

.rv-canvas .grip span {
    display:block;
    height:1.5px;
    background:#D3D7E6;
    border-radius:2px;
    margin:3px 0;
}

.rv-canvas .p-foot {
    margin-top:20px;
    padding-top:16px;
    border-top:1px solid #F0F2F8;
    display:flex;
    align-items:center;
    gap:8px;
    font-size:11.5px;
    color:var(--muted);
}

.rv-canvas .badge-accent {
    background:var(--accent-soft);
    color:var(--accent);
    font-weight:600;
    border-radius:7px;
    padding:4px 8px;
    font-size:11px;
}

.rv-canvas /* ---------- 3 : webshop ---------- */
.shop {
    left:74px;
    top:70px;
    width:492px;
    padding:24px 24px 22px;
}

.rv-canvas .s-head {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:16px;
}

.rv-canvas .s-head h3 {
    font-size:16px;
    font-weight:600;
    margin:0;
    letter-spacing:-.01em;
}

.rv-canvas .s-head .cnt2 {
    font-size:11.5px;
    color:var(--muted);
}

.rv-canvas .tabs {
    display:flex;
    gap:7px;
    margin-bottom:18px;
}

.rv-canvas .tab {
    font-size:11.5px;
    padding:6px 12px;
    border-radius:999px;
    background:#F3F4FA;
    color:var(--muted);
}

.rv-canvas .tab.on {
    background:var(--ink);
    color:#fff;
}

.rv-canvas .prods {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
}

.rv-canvas .prod {
    border-radius:var(--r-md);
    background:#fff;
    box-shadow:0 0 0 1px #EDEFF7;
    overflow:hidden;
}

.rv-canvas .prod .im {
    height:88px;
    background-size:cover;
    background-position:center;
}

.rv-canvas .prod .bd {
    padding:9px 10px 10px;
}

.rv-canvas .prod .nm {
    font-size:12px;
    font-weight:500;
    line-height:1.3;
}

.rv-canvas .prod .rw {
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-top:7px;
}

.rv-canvas .prod .pr {
    font-size:11.5px;
    color:var(--muted);
    font-variant-numeric:tabular-nums;
}

.rv-canvas .plus {
    width:22px;
    height:22px;
    border-radius:7px;
    background:var(--accent-soft);
    color:var(--accent);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
    font-weight:600;
    line-height:1;
}

.rv-canvas .prod.sel {
    box-shadow:0 0 0 1.5px var(--accent),0 14px 26px -16px rgba(108,107,232,.7);
}

.rv-canvas .step {
    background:var(--accent);
    color:#fff;
    border-radius:7px;
    padding:3px 8px;
    font-size:11px;
    font-weight:600;
}

.rv-canvas .cart {
    position:absolute;
    left:168px;
    top:540px;
    background:var(--ink);
    color:#fff;
    border-radius:999px;
    padding:12px 20px;
    font-size:13px;
    font-weight:500;
    display:flex;
    align-items:center;
    gap:12px;
    box-shadow:0 18px 34px -16px rgba(23,25,45,.75);
}

.rv-canvas .cart .cnt {
    background:rgba(255,255,255,.16);
    border-radius:999px;
    padding:2px 9px;
    font-size:11.5px;
}

.rv-canvas /* ---------- 4 : team + agenda ---------- */
.teamframe {
    position:absolute;
    left:56px;
    top:164px;
    width:268px;
    padding:12px 12px 0;
    background:#fff;
    border-radius:var(--r-lg);
    box-shadow:var(--shadow-lift);
}

.rv-canvas .teamframe .im {
    height:236px;
    border-radius:14px;
    background-size:cover;
    background-position:center 76%;
}

.rv-canvas .teamframe .cap {
    padding:14px 6px 16px;
}

.rv-canvas .teamframe .cap .h {
    font-size:13.5px;
    font-weight:600;
    letter-spacing:-.005em;
}

.rv-canvas .teamframe .cap .s {
    font-size:11.5px;
    color:var(--muted);
    margin-top:3px;
    line-height:1.45;
}

.rv-canvas .agenda {
    left:356px;
    top:164px;
    width:228px;
    padding:20px 20px 18px;
}

.rv-canvas .a-head {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:14px;
}

.rv-canvas .a-head .m {
    font-size:12.5px;
    font-weight:600;
}

.rv-canvas .a-head .nav {
    color:#C9CDDD;
    font-size:12px;
    letter-spacing:6px;
}

.rv-canvas .cal {
    display:grid;
    grid-template-columns:repeat(7,1fr);
    gap:3px;
}

.rv-canvas .cal span {
    aspect-ratio:1/1;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:10px;
    color:var(--ink-2);
    border-radius:7px;
    font-variant-numeric:tabular-nums;
}

.rv-canvas .cal span.dow {
    color:#B9BECF;
    font-size:9px;
    font-weight:600;
    text-transform:uppercase;
}

.rv-canvas .cal span.off {
    color:#D6D9E5;
}

.rv-canvas .cal span.on {
    background:var(--accent);
    color:#fff;
    font-weight:600;
    box-shadow:0 6px 14px -6px rgba(108,107,232,.9);
}

.rv-canvas .cal span.has {
    background:var(--accent-soft);
    color:var(--accent);
    font-weight:600;
}

.rv-canvas .appt {
    margin-top:16px;
    padding-top:14px;
    border-top:1px solid #F0F2F8;
}

.rv-canvas .appt .row {
    display:flex;
    gap:9px;
    align-items:center;
}

.rv-canvas .appt .av {
    width:28px;
    height:28px;
    border-radius:50%;
    background-size:260%;
    background-position:38% 80%;
    flex:none;
    box-shadow:0 0 0 2px #fff,0 0 0 3px #EDEFF7;
}

.rv-canvas .appt .h {
    font-size:12px;
    font-weight:500;
}

.rv-canvas .appt .s {
    font-size:10.5px;
    color:var(--muted);
    margin-top:1px;
}

.rv-canvas .appt .ok {
    margin-top:12px;
    background:#EAF7F1;
    color:#1B7F58;
    font-size:10.5px;
    font-weight:600;
    border-radius:7px;
    padding:5px 9px;
    display:inline-block;
}

.rv-canvas .connector {
    position:absolute;
    left:324px;
    top:282px;
    width:32px;
    height:1.5px;
    background:repeating-linear-gradient(90deg,#CFD4E6 0 4px,transparent 4px 8px);
}

.rv-canvas .stage {
    transform: scale(0.8125);
}