[data-ai-v3] {
    position: relative;
    color: #1D1D1B
}

[data-ai-v3] * {
    box-sizing: border-box;
}

.modulor_ai_v3 {
    font-family: inherit
}

.modulor_ai_v3_title,.modulor_ai_v3_subtitle,.modulor_ai_v3_msg_text,.modulor_ai_v3_input,.modulor_ai_v3_btn,.modulor_ai_v3_more {
    letter-spacing: 0
}

/* HOME */
.modulor_ai_v3__home {
    background: #EBBC49;
    /* border-radius:32px; */
    overflow: hidden;
    position: relative;
}


.modulor_ai_v3_hero {
    padding: 3vw;
    height: calc((var(--true-vh) * 100) - 4.2969vw);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    min-height: 43vw;
}

.modulor_ai_v3_hero_inner {
    width: 100%;
    text-align: center
}

.modulor_ai_v3_header {
    margin: 0 auto 0;
    width: 46.0938vw;
    /* transition: width.35s ease; */
}

.modulor_ai_v3__home .modulor_ai_v3_title {
    font-size: clamp(2.625vw,5vw,4.5vw);
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: 3.125vw;
    color: #1D1D1B;
    font-size: 4.6875vw;
    line-height: 5.1563vw;
}

.modulor_ai_v3_subtitle {
    font-size: clamp(1.125vw,1.9vw,1.75vw);
    line-height: 2.1875vw;
    width: 100%;
    margin: 0;
    color: rgb(29 29 27 / 75%);
    font-size: 1.875vw;
}

.modulor_ai_v3_log__home {
    display: none
}

.modulor_ai_v3__home.modulor_ai_v3--started .modulor_ai_v3_header {
    max-width: none;
    width: 100%;
}

.modulor_ai_v3__home.modulor_ai_v3--started .modulor_ai_v3_title {text-align: center;transition: opacity .35s ease;margin-bottom: 1.5vw;font-size:2.8125vw;line-height:3.0938vw;}

.modulor_ai_v3__home.modulor_ai_v3--started .modulor_ai_v3_subtitle {
    display: none
}

.modulor_ai_v3__home.modulor_ai_v3--started .modulor_ai_v3_log__home {
    display: flex;
    height: calc((var(--true-vh) * 100) - 27.7969vw);
    margin: auto;
    width: 46.0938vw;
    overflow-y: auto;
    min-height: 0;
}

.modulor_ai_v3__home.modulor_ai_v3--started .modulor_ai_v3_hero {
    padding: 2.625vw 2.5vw
}

.modulor_ai_v3__home.modulor_ai_v3--started .modulor_ai_v3_hero_inner {
    text-align: left
}

.modulor_ai_v3__home .modulor_ai_v3_input_row {
    position: relative;
    display: block;
    width: 46.0938vw;
}

.modulor_ai_v3_input__hero {
    width: 100%;
    min-height: 10.625vw;
    border: 1px solid rgba(29,29,27,.22);
    border-radius: 14px;
    background: rgba(248,245,236,.72);
    padding: 1.125vw 4.375vw 1.125vw 1.125vw;
    font-size: 1.125vw;
    line-height: 1.5vw;
    resize: none;
    color: #1D1D1B;
    box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset;
}

.modulor_ai_v3_input__followup {
    display: none;
    resize: none;
}

.modulor_ai_v3--started .modulor_ai_v3_input__initial {
    display: none !important;
}

.modulor_ai_v3--started .modulor_ai_v3_input__followup {
    display: block;
}

.modulor_ai_v3__home.modulor_ai_v3--started .modulor_ai_v3_input__followup {
    min-height: 4.2188vw;
    height: 4.2188vw;
    padding: 0 4.375vw 0 1.25vw;
    font-size: 1.125vw;
    line-height: 4.375vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 0.7813vw;
    border: 1px solid rgba(29, 29, 27, 0.50);
    background: #F8F5EC;
}

.modulor_ai_v3__panel.modulor_ai_v3--started .modulor_ai_v3_input_row {
    align-items: center;
}
.modulor_ai_v3--started .modulor_ai_v3__home .modulor_ai_v3_input_row{
    margin-top:2.1875vw
}
.modulor_ai_v3__panel.modulor_ai_v3--started .modulor_ai_v3_input__followup {
    min-height: 3.9063vw;
    height: 3.9063vw;
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 4vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

input.modulor_ai_v3_input {
    appearance: none;
    -webkit-appearance: none;
}

.modulor_ai_v3_send__icon {
    position: absolute;
    right: 0.875vw;
    bottom: 0.875vw;
    /* width: 34px; */
    /* height: 34px; */
    /* min-width: 34px; */
    padding: 0;
    border: 0;
    background: #1D1D1B;
    color: #F8F5EC;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5vw;
    line-height: 1;
}

.modulor_ai_v3_send__icon span {
    /* transform: translateY(-2px); */
    width: 1.0817vw;
}
.modulor_ai_v3_send__icon span svg{
    display:block;
    width:100%;
    height:auto;
}
/* PANEL */
.modulor_ai_v3__panel {
    background: #E6E4E0;
    border-radius: 28px;
    padding: 0;
    overflow: hidden;
}

.modulor_ai_v3_panel {
    padding: 1.625vw 1.25vw 1.125vw
}

.modulor_ai_v3_log {
    display: flex;
    flex-direction: column;
    gap: 1.3188vw;
    padding-right: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(29, 29, 27, .24) transparent;
    min-height: 100%;
}
.modulor_ai_v3_log > *:first-child {
    margin-top: auto;
}
.modulor_ai_v3_log::-webkit-scrollbar {
    width: 0.5vw
}

.modulor_ai_v3_log::-webkit-scrollbar-thumb {
    background: rgba(29,29,27,.18);
    border-radius: 999px
}

.modulor_ai_v3_log::-webkit-scrollbar-track {
    background: transparent
}

.modulor_ai_v3_msg {
    max-width: 100%
}

.modulor_ai_v3_msg__user {
    align-self: flex-end;
    max-width: min(78%,39.375vw)
}

.modulor_ai_v3_msg__assistant {
    align-self: stretch;
    max-width: 100%;
    padding: 0.9375vw;
}

.modulor_ai_v3_msg_label {
    font-size: .8vw;
    line-height: 1.2;
    color: rgba(29,29,27,.4);
    margin-bottom: .3vw;
}

.modulor_ai_v3_msg_text {
   font-size: 1.25vw;
   line-height: 1.875vw;
   color: #5E5E5E;
   white-space: pre-wrap
}

.modulor_ai_v3_msg__user .modulor_ai_v3_msg_text {border-radius: 0.7813vw;border: 1px solid rgba(29, 29, 27, 0.50);background: rgba(248, 245, 236, 0.75);padding: 0.9375vw;color: var(--Gris-oscuro, rgb(29 29 27 / 60%));}

.modulor_ai_v3_msg__assistant .modulor_ai_v3_msg_text {
    padding: 0;
    background: transparent;
    border: 0;
    color: #5C5C5C;
    font-size: 1.125vw;
    line-height: 1.4;
    color: rgba(29, 29, 27, 0.75);
    font-size: 1.25vw;
    line-height: 1.875vw;
}

.modulor_ai_v3__home .modulor_ai_v3_msg__assistant .modulor_ai_v3_msg_text {
    /* font-size: 17px; */
}

.modulor_ai_v3_typing .modulor_ai_v3_msg_text {
    display: flex;
    align-items: center;
    min-height: 1.5vw
}

.modulor_ai_v3_dots {
    display: inline-flex;
    gap: 0.375vw;
    align-items: center
}

.modulor_ai_v3_dots i {
    width: 0.4375vw;
    height: 0.4375vw;
    border-radius: 50%;
    background: #1D1D1B;
    display: block;
    opacity: .3;
    animation: modulorAiV3Dot 1s infinite ease-in-out
}

.modulor_ai_v3_dots i:nth-child(2) {
    animation-delay: .15s
}

.modulor_ai_v3_dots i:nth-child(3) {
    animation-delay: .3s
}

@keyframes modulorAiV3Dot {
    0%,80%,100% {
        transform: translateY(0);
        opacity: .3
    }

    40% {
        transform: translateY(-3px);
        opacity: 1
    }
}

.modulor_ai_v3_input_row {
    display: flex;
    gap: 0.75vw;
    margin: auto;
    margin-top: 4.25vw;
    align-items: flex-end
}
.modulor_ai_v3--started .modulor_ai_v3_input_row {
    margin-top:2.1875vw
}
.modulor_ai_v3__panel .modulor_ai_v3_input_row {
    margin-top: 1.125vw
}

.modulor_ai_v3_input {
    border-radius: 0.7813vw;
    border: 1px solid rgba(29, 29, 27, 0.50);
    background: #F8F5EC;
    height: 15.625vw;
    padding: 0.9375vw;
    font-size: 1.125vw;
    font-style: normal;
    line-height: 1.5vw;
    padding-bottom: 4vw;
}

.modulor_ai_v3_input::placeholder {
    color: rgba(29,29,27,.42)
}

.modulor_ai_v3_input:focus {
    outline: none;
    border-color: rgba(29,29,27,.3)
}

.modulor_ai_v3_send,.modulor_ai_v3_btn,.modulor_ai_v3_more {}

.modulor_ai_v3_btn__ghost {
    background: #EBBC49;
    color: #1D1D1B;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.125vw;
    padding: 0.5vw 1.125vw;
    text-decoration: none;
    border-radius: 28px;
    background: #1D1D1B;
    color: #F6F3EA;
}

.modulor_ai_v3_more {
    width: 100%;
    margin-top: 0.875vw;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.625vw;
    border-radius: 28px;
    background: #1D1D1B;
    color: #F6F3EA;
    text-decoration: none;
    font-weight: 600
}

.modulor_ai_v3_state {
    border: 1px dashed rgba(29,29,27,.16);
    border-radius: 14px;
    padding: 0.75vw;
    background: rgba(248,245,236,.55)
}

.modulor_ai_v3_state_title {
    font-size: 0.75vw;
    font-weight: 600;
    margin-bottom: 0.5vw;
    color: #1D1D1B
}

.modulor_ai_v3_state_chips,.modulor_ai_v3_card_why_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5vw
}

.modulor_ai_v3_chip,.modulor_ai_v3_tag {
    border-radius: 999px;
    padding: 0.4375vw 0.625vw;
    background: rgba(29,29,27,.06);
    font-size: 0.75vw;
    line-height: 1.2;
    color: #1D1D1B
}

.modulor_ai_v3_state_note {
    margin-top: 0.5vw;
    font-size: 0.75vw;
    line-height: 1.45;
    color: rgba(29,29,27,.74)
}

.modulor_ai_v3_cards {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 1.125vw 0.875vw;
    margin-top: 0.375vw
}

.modulor_ai_v3_card {
    display: flex;
    flex-direction: column;
    min-width: 0
}

.modulor_ai_v3_card_media {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #D4D2CC;
    aspect-ratio: 2.16/1;
    margin-bottom: 0.5vw;
    height: 13vw;
    width: 100%;
}

.modulor_ai_v3_card_media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.modulor_ai_v3_card_media_link {
    display: block;
    color: inherit;
    text-decoration: none;
    width: 100%;
}

.modulor_ai_v3_card_media_placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,#d8d5cf,#c5c1b8)
}

.modulor_ai_v3_card_top {
    display: none
}

.modulor_ai_v3_card_title {
    font-size: 1.1875vw;
    line-height: 1.16;
    color: #1D1D1B;
    font-weight: 700;
    margin: 0 0 0.625vw
}

.modulor_ai_v3_card_meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0 0.5vw;
    font-size: 0.9375vw;
    line-height: 1.35;
    color: rgba(29,29,27,.58);
    margin-bottom: 0.5vw
}

.modulor_ai_v3_card_meta span:not(:last-child):after {
    content: '—';
    margin-left: 0.5vw;
    color: rgba(29,29,27,.45)
}

.modulor_ai_v3_card_excerpt {
    display: none
}

.modulor_ai_v3_card_bottom {
    display: flex;
    align-items: center;
    gap: 0.875vw;
    margin-top: auto
}

.modulor_ai_v3_card_price {
    flex: 1;
    min-width: 0;
    border-radius: 8px;
    background: rgba(29,29,27,.08);
    padding: 0vw 0.875vw;
    font-size: 0.9375vw;
    line-height: 2.125vw;
    font-weight: 700;
    color: rgba(29,29,27,.65);
    text-align: center;
    border-radius: 20px;
    background: rgba(248, 245, 236, 0.60);
    height: 2.125vw;
}

.modulor_ai_v3_card_actions {
    display: flex;
    justify-content: flex-end
}

.modulor_ai_v3_card_actions .modulor_ai_v3_btn {
    min-width: 7.0vw
}

.modulor_ai_v3_card_why {
    margin-top: 0.75vw;
    padding-top: 0.75vw;
    border-top: 1px solid rgba(29,29,27,.08)
}

.modulor_ai_v3_card_why_group+.modulor_ai_v3_card_why_group {
    margin-top: 0.5vw
}

.modulor_ai_v3_card_why_label {
    display: block;
    font-size: 0.6875vw;
    line-height: 1.2;
    color: rgba(29,29,27,.55);
    margin-bottom: 0.375vw
}

.modulor_ai_v3_summary {
    font-size: 0.875vw;
    line-height: 1.5;
    color: rgba(29,29,27,.7);
    margin-top: 2px
}

/* home results */
.modulor_ai_v3__home .modulor_ai_v3_cards {
    grid-template-columns: 1fr 1fr
}

.modulor_ai_v3__home .modulor_ai_v3_card {
    background: transparent
}
.modulor_ai_v3_illustration{
    position: absolute;
    width: 17.9688vw;
    top: 50%;
    transform: translate(0.0vw, -50%);
    pointer-events:none;
    transition: opacity .35s ease;
}
.modulor_ai_shell .modulor_ai_v3--started .modulor_ai_v3_illustration{
    opacity:0;
}
@media (orientation: portrait) {
    .modulor_ai_v4--started:not(.modulor_ai_v4--intro) .modulor_ai_v3_illustration{
        opacity:0;
    }
}
.modulor_ai_v3_illustration svg{
    display: block;
    width: 100%;
    height: auto;
}
.modulor_ai_v3_illustration.modulor_ai_v3_illustration2{
    right: 3.9063vw;
}
.modulor_ai_v3_illustration.modulor_ai_v3_illustration2 svg{}

.modulor_ai_v3_illustration.modulor_ai_v3_illustration1{
    left: 3.9063vw;
}
.modulor_ai_v3_illustration.modulor_ai_v3_illustration1 svg{}




.modulor_ai_v3_panel_top {
    display: none;
    justify-content: flex-end;
    gap: 1.0417vw;
    padding: 1.0417vw 1.0417vw 0;
}

.modulor_ai_version_switch,
.modulor_ai_v3_version_switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid #1D1D1B;
    border-radius: 8px;
    background: #1D1D1B;
    color: #F8F5EC;
    min-height: 2.3438vw;
    padding: 0 0.9375vw;
    font-size: .8854vw;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.modulor_ai_v3__home .modulor_ai_version_switch {
    position: absolute;
    top: 0;
    left: 0;
}

.modulor_ai_v3_clear {
    display: none;
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    color: rgba(29,29,27,.58);
    font-size: .8854vw;
    line-height: 1;
    padding: 0;
    text-decoration: underline;
    cursor: pointer;
}

.modulor_ai_v3--started .modulor_ai_v3_clear {
    display: inline-flex;
}

.modulor_ai_v3_clear__header {
    display: none;
}

.modulor_ai_v3_input_row {
    position: relative;
}

.modulor_ai_v3_input_row .modulor_ai_v3_input {
    width: 100%;
    /* padding-right: 150px; */
}

.modulor_ai_v3__home.modulor_ai_v3--started .modulor_ai_v3_input__followup,
.modulor_ai_v3__panel.modulor_ai_v3--started .modulor_ai_v3_input__followup {
    padding-right: 9.375vw;
}

.modulor_ai_v3_input_actions {
    position: absolute;
    right: 0.9375vw;
    bottom: 0.9375vw;
    display: flex;
    align-items: center;
    gap: .5vw;
    z-index: 2;
}

.modulor_ai_v3--started .modulor_ai_v3_input_actions {
    bottom: 0.9475vw;
}

.modulor_ai_v3_input_actions .modulor_ai_control_btn,
.modulor_ai_v3_input_actions .modulor_ai_v3_send__icon,
.modulor_ai_v3_input_actions .modulor_ai_version_switch {
    position: static;
    right: auto;
    bottom: auto;
    width: 2.3438vw;
    /* min-width: 34px; */
    height: 2.3438vw;
    min-height: 2.125vw;
    padding: 0;
    border-radius: 0.6667vw;
    border: 1px solid #1D1D1B;
    background: #1D1D1B;
    color: #F8F5EC;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.75vw;
    line-height: 1;
    cursor: pointer;
}

.modulor_ai_v3_input_actions .modulor_ai_version_switch {
    /* width: 42px; */
    /* min-width: 42px; */
    /* font-weight: 600; */
}

.modulor_ai_v3_input_actions .modulor_ai_v3_clear {
    appearance: none;
    -webkit-appearance: none;
    display: none;
}
.modulor_ai_v3--started .modulor_ai_v3_input_actions .modulor_ai_v3_clear {
    display:block
}
.modulor_ai_v3_input_actions .modulor_ai_v3_clear svg{
    width:1.4vw
}
.modulor_ai_v3_input_actions svg,
.modulor_ai_v3_input_actions span svg {
    /* display: block; */
    /* width: 18px; */
    /* height: 18px; */
}

.modulor_ai_v3_input_actions .modulor_ai_version_switch svg {
    width: 1.75vw;
    height: 1.25vw;
}

.modulor_ai_v3_debug {
    display: block;
    border: 1px solid rgba(29,29,27,.14);
    border-radius: .7813vw;
    padding: .8854vw;
    background: rgba(255,255,255,.42);
}

.modulor_ai_v3_debug_title {
    font-size: .8333vw;
    line-height: 1.2;
    color: rgba(29,29,27,.62);
    margin-bottom: .5208vw;
}

.modulor_ai_v3_debug_totals,
.modulor_ai_v3_debug_steps {
    display: flex;
    flex-wrap: wrap;
    gap: .5208vw;
}

.modulor_ai_v3_debug_totals span,
.modulor_ai_v3_debug_step {
    display: inline-flex;
    align-items: center;
    gap: .3646vw;
    padding: .3125vw .5208vw;
    border-radius: 999px;
    background: rgba(29,29,27,.06);
    font-size: .7292vw;
    line-height: 1.1;
}

.modulor_ai_v3_debug_steps {
    margin-top: .5208vw;
}

.modulor_ai_v3_debug_pre {
    margin: .6771vw 0 0;
    padding: .6771vw;
    border-radius: .5208vw;
    background: rgba(29,29,27,.04);
    font-size: .6771vw;
    line-height: 1.4;
    white-space: pre-wrap;
    overflow: auto;
}


.modulor_ai_v3_input_actions .modulor_ai_v3_send,
.modulor_ai_v3_input_actions .modulor_ai_v3_send__icon {
    /* width: 34px; */
    /* min-width: 34px; */
}
