* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: transparent;
    color: #2f241c;
    font-family: "Open Sans", Arial, sans-serif;
}

body.chat-embed-page {
    background: transparent;
}

.embed-shell {
    width: 100%;
    margin: 0;
    padding: 12px;
}

.embed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.embed-card,
.embed-single {
    background: #fff7ec;
    border: 1px solid #e2c7a4;
    border-radius: 18px;
    box-shadow: 0 12px 26px rgba(110, 79, 40, 0.08);
    overflow: hidden;
}

.embed-card {
    display: flex;
    flex-direction: column;
}

.embed-single {
    max-width: 880px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
}

.embed-media {
    position: relative;
    background: #f4dfbf;
}

.embed-avatar-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.embed-avatar-link:focus-visible {
    outline: 3px solid rgba(110, 77, 142, 0.36);
    outline-offset: -3px;
}

.embed-avatar,
.embed-avatar-fallback {
    width: 100%;
    display: block;
    aspect-ratio: 1 / 1;
}

.embed-avatar {
    object-fit: cover;
}

.embed-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8d6337;
    font-family: "Adamina", Georgia, serif;
    font-size: 58px;
}

.embed-status {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 252, 245, 0.96);
    border: 1px solid rgba(214, 177, 134, 0.9);
    color: #4f3e30;
    font-size: 13px;
    font-weight: 700;
}

.embed-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #9b9b9b;
}

.embed-status.is-online .embed-status-dot {
    background: #2D7A4F;
}

.embed-status.is-busy .embed-status-dot {
    background: #f0a43a;
}

.embed-body {
    padding: 16px;
}

.embed-kicker {
    color: #f37934;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.embed-name {
    margin: 0;
    font-family: "Adamina", Georgia, serif;
    font-size: 30px;
    line-height: 1.08;
    color: #2f241c;
}

.embed-card .embed-name {
    font-size: 24px;
}

.embed-price {
    margin-top: 10px;
    color: #5d4735;
    font-size: 14px;
    font-weight: 700;
}

.embed-headline {
    margin-top: 10px;
    color: #5d4735;
    font-size: 14px;
    line-height: 1.55;
}

.embed-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.embed-tag {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: #fff1dc;
    border: 1px solid #e2c7a4;
    color: #5b4634;
    font-size: 13px;
    font-weight: 600;
}

.embed-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.embed-contact-title {
    display: none;
}

.embed-action-price,
.embed-read-more {
    display: none;
}

.embed-btn,
.primary-btn,
.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.embed-btn:hover,
.primary-btn:hover,
.ghost-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    text-decoration: none;
}

.embed-btn-primary,
.primary-btn {
    background: #2D7A4F;
    border: 1px solid #2D7A4F;
    color: #ffffff;
}

.embed-btn-secondary,
.ghost-btn {
    background: #fff8ef;
    border: 1px solid #d6b186;
    color: #5a4331;
}

.embed-btn.is-disabled,
.primary-btn.is-disabled,
.ghost-btn.is-disabled {
    background: #efe6da;
    border: 1px solid #cdbba6;
    color: #7b6e61;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
    opacity: 1;
}

.embed-btn.is-disabled:hover,
.primary-btn.is-disabled:hover,
.ghost-btn.is-disabled:hover {
    transform: none;
    opacity: 1;
}

.embed-btn.is-disabled.is-busy,
.primary-btn.is-disabled.is-busy,
.ghost-btn.is-disabled.is-busy {
    color: #5f3405;
    background: linear-gradient(180deg, #ffd3a1 0%, #f2b36c 100%);
    border: 1px solid rgba(210, 133, 44, 0.32);
}

.embed-btn.is-disabled.is-offline,
.primary-btn.is-disabled.is-offline,
.ghost-btn.is-disabled.is-offline {
    background: #efe6da;
    border: 1px solid #cdbba6;
    color: #7b6e61;
}

.status-btn {
    min-width: 148px;
}

.status-btn.is-disabled.is-busy {
    color: #5f3405;
    background: linear-gradient(180deg, #ffd3a1 0%, #f2b36c 100%);
    border: 1px solid rgba(210, 133, 44, 0.32);
}

.status-btn.is-disabled.is-offline {
    background: #efe6da;
    border: 1px solid #cdbba6;
    color: #7b6e61;
}

.embed-note {
    margin-top: 14px;
    color: #7a634e;
    font-size: 12px;
    line-height: 1.5;
}

.embed-empty {
    padding: 28px 20px;
    text-align: center;
    background: #fff7ec;
    border: 1px solid #e2c7a4;
    border-radius: 18px;
    color: #5d4735;
}

.embed-empty h1,
.embed-empty h2 {
    margin: 0 0 8px 0;
    font-family: "Adamina", Georgia, serif;
    color: #2f241c;
}

.embed-empty p {
    margin: 0;
    line-height: 1.55;
}

body.embed-theme-helderinzicht {
    color: #151515;
    font-family: Arial, Helvetica, sans-serif;
}

body.embed-theme-helderinzicht .embed-shell {
    padding: 0;
}

body.embed-theme-helderinzicht .embed-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

body.embed-theme-helderinzicht .embed-card {
    display: grid;
    grid-template-columns: 155px minmax(0, 1fr);
    gap: 24px;
    min-height: 250px;
    padding: 34px 28px;
    background: #fff8ed;
    border: 1px solid #eadfce;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

body.embed-theme-helderinzicht .embed-media {
    align-self: start;
    background: transparent;
}

body.embed-theme-helderinzicht .embed-avatar,
body.embed-theme-helderinzicht .embed-avatar-fallback {
    width: 150px;
    height: 150px;
    aspect-ratio: auto;
}

body.embed-theme-helderinzicht .embed-avatar {
    object-fit: cover;
}

body.embed-theme-helderinzicht .embed-avatar-fallback {
    background: #f4dfbf;
}

body.embed-theme-helderinzicht .embed-status {
    left: 8px;
    bottom: 8px;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 0;
    font-size: 12px;
}

body.embed-theme-helderinzicht .embed-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(165px, 0.42fr);
    gap: 12px 30px;
    padding: 0;
    align-content: start;
}

body.embed-theme-helderinzicht .embed-kicker {
    display: none;
}

body.embed-theme-helderinzicht .embed-name {
    grid-column: 1;
    align-self: start;
    margin: -8px 0 10px;
    padding: 6px 9px;
    max-width: 310px;
    background: #ff9600;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.1;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.34);
}

body.embed-theme-helderinzicht .embed-price {
    display: none;
}

body.embed-theme-helderinzicht .embed-headline {
    grid-column: 1;
    margin: 0 0 8px;
    color: #202020;
    font-size: 14px;
    line-height: 1.32;
}

body.embed-theme-helderinzicht .embed-read-more {
    grid-column: 1;
    display: inline;
    justify-self: start;
    color: #ff9600;
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
}

body.embed-theme-helderinzicht .embed-tags {
    display: none;
}

body.embed-theme-helderinzicht .embed-tag {
    min-height: 26px;
    padding: 0 9px;
    border-radius: 0;
    background: transparent;
    border-color: #f1e5d2;
    color: #534435;
    font-size: 12px;
}

body.embed-theme-helderinzicht .embed-actions {
    grid-column: 2;
    grid-row: 1 / span 4;
    display: grid;
    align-content: start;
    gap: 8px;
    margin: 26px 0 0;
}

body.embed-theme-helderinzicht .embed-contact-title {
    display: block;
    margin-bottom: 2px;
    color: #111111;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.22;
}

body.embed-theme-helderinzicht .embed-action-price {
    display: block;
    margin-bottom: 6px;
    color: #5b4735;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

body.embed-theme-helderinzicht .embed-btn,
body.embed-theme-helderinzicht .primary-btn,
body.embed-theme-helderinzicht .ghost-btn {
    min-height: 34px;
    padding: 0 12px;
    justify-content: flex-start;
    border-radius: 0;
    font-size: 13px;
}

body.embed-theme-helderinzicht .primary-btn {
    background: #2D7A4F;
    border-color: #2D7A4F;
    color: #ffffff;
    width: 150px;
    justify-content: center;
    box-shadow: none;
}

body.embed-theme-helderinzicht .ghost-btn {
    display: none;
}

body.embed-theme-helderinzicht .status-btn {
    min-width: 0;
    justify-content: center;
}

body.embed-theme-helderinzicht .embed-note {
    display: none;
}

body.embed-theme-helderinzicht .embed-empty {
    border-radius: 0;
    background: #fff8ed;
    border-color: #eadfce;
}

@media (max-width: 720px) {
    .embed-shell {
        padding: 10px;
    }

    .embed-single {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    body.embed-theme-helderinzicht .embed-grid {
        gap: 20px;
    }

    body.embed-theme-helderinzicht .embed-card {
        grid-template-columns: 125px minmax(0, 1fr);
        gap: 18px;
        min-height: 0;
        padding: 22px 18px;
    }

    body.embed-theme-helderinzicht .embed-avatar,
    body.embed-theme-helderinzicht .embed-avatar-fallback {
        width: 120px;
        height: 120px;
    }

    body.embed-theme-helderinzicht .embed-body {
        grid-template-columns: minmax(0, 1fr) minmax(135px, 0.4fr);
        gap: 8px 20px;
    }

    body.embed-theme-helderinzicht .embed-name {
        margin: -3px 0 6px;
        max-width: 260px;
        font-size: 15px;
        box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.3);
    }

    body.embed-theme-helderinzicht .embed-headline,
    body.embed-theme-helderinzicht .embed-read-more {
        font-size: 13px;
    }

    body.embed-theme-helderinzicht .embed-contact-title {
        font-size: 14px;
        font-weight: 600;
    }

    body.embed-theme-helderinzicht .embed-action-price,
    body.embed-theme-helderinzicht .embed-btn,
    body.embed-theme-helderinzicht .primary-btn,
    body.embed-theme-helderinzicht .ghost-btn {
        font-size: 12px;
    }

    body.embed-theme-helderinzicht .embed-actions {
        gap: 6px;
        margin-top: 16px;
    }

    body.embed-theme-helderinzicht .primary-btn {
        width: 130px;
        min-height: 32px;
    }
}

@media (max-width: 560px) {
    body.embed-theme-helderinzicht .embed-card,
    body.embed-theme-helderinzicht .embed-body {
        grid-template-columns: 1fr;
    }

    body.embed-theme-helderinzicht .embed-card {
        gap: 12px;
        padding: 16px 14px;
    }

    body.embed-theme-helderinzicht .embed-avatar,
    body.embed-theme-helderinzicht .embed-avatar-fallback {
        width: 112px;
        height: 112px;
    }

    body.embed-theme-helderinzicht .embed-price,
    body.embed-theme-helderinzicht .embed-headline,
    body.embed-theme-helderinzicht .embed-tags,
    body.embed-theme-helderinzicht .embed-read-more,
    body.embed-theme-helderinzicht .embed-actions {
        grid-column: 1;
        grid-row: auto;
    }

    body.embed-theme-helderinzicht .embed-name {
        margin-top: 0;
        max-width: 100%;
    }

    body.embed-theme-helderinzicht .embed-actions {
        margin-top: 4px;
    }
}

body.embed-theme-aimediums .embed-shell {
    padding: 10px 0 0;
}

body.embed-theme-aimediums .ai-mediums-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 1060px;
    margin: 0 auto;
}

body.embed-theme-aimediums .ai-medium-card {
    overflow: hidden;
    border: 1px solid #e7c69a;
    border-radius: 16px;
    background: #ffe6c2;
    box-shadow: 0 12px 28px rgba(110, 79, 40, 0.08);
}

body.embed-theme-aimediums .ai-medium-card-image {
    position: relative;
    display: block;
    min-height: 235px;
    background: #f4d7ae;
    color: inherit;
    text-decoration: none;
}

body.embed-theme-aimediums .ai-medium-card-image img,
body.embed-theme-aimediums .ai-medium-card-fallback {
    width: 100%;
    height: 235px;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: cover;
    color: #8a6037;
    font-family: Adamina, Georgia, serif;
    font-size: 60px;
}

body.embed-theme-aimediums .ai-medium-card-status {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid #d7bc95;
    border-radius: 999px;
    background: #fff6e8;
    color: #4c3828;
    font-size: 13px;
    font-weight: 700;
}

body.embed-theme-aimediums .ai-medium-card-status span:first-child {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #39a85b;
}

body.embed-theme-aimediums .ai-medium-card-status.is-busy span:first-child {
    background: #f39a32;
}

body.embed-theme-aimediums .ai-medium-card-status.is-offline span:first-child {
    background: #b7a894;
}

body.embed-theme-aimediums .ai-medium-card-body {
    padding: 16px 18px 20px;
}

body.embed-theme-aimediums.embed-single-ai-medium .ai-medium-card-type {
    position: absolute;
    right: 13px;
    bottom: 14px;
    color: #fffaf2;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    text-shadow: 0 1px 5px rgba(35, 20, 10, 0.62);
    text-transform: uppercase;
}

body.embed-theme-aimediums .ai-medium-card h2 {
    margin: 0;
    font-family: Adamina, Georgia, serif;
    font-size: 25px;
    line-height: 1.08;
    font-weight: 400;
}

body.embed-theme-aimediums .ai-medium-card-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 8px;
}

body.embed-theme-aimediums .ai-medium-card-title h2 {
    min-width: 0;
}

body.embed-theme-aimediums .ai-medium-card-skill {
    flex: 0 0 auto;
    color: #8b4fa3;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

body.embed-theme-aimediums .ai-medium-card p {
    min-height: 4.35em;
    margin: 0 0 8px;
    color: #5f4a37;
    font-size: 13.5px;
    line-height: 1.45;
}

body.embed-theme-aimediums .ai-medium-card-more {
    display: inline-block;
    margin: 0 0 7px;
    color: #a86524;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
}

body.embed-theme-aimediums .ai-medium-card-more:hover,
body.embed-theme-aimediums .ai-medium-card-more:focus {
    color: #814a18;
    text-decoration: underline;
}

body.embed-theme-aimediums .ai-medium-card-reviews {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    color: #9d6126;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

body.embed-theme-aimediums .ai-medium-card-reviews:hover,
body.embed-theme-aimediums .ai-medium-card-reviews:focus {
    color: #814a18;
    text-decoration: underline;
}

body.embed-theme-aimediums .ai-medium-card-stars {
    color: #b46b28;
    letter-spacing: 0;
    white-space: nowrap;
}

body.embed-theme-aimediums .ai-medium-card-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

body.embed-theme-aimediums.embed-guest-paid-trial .ai-medium-card-actions {
    align-items: stretch;
}

body.embed-theme-aimediums.embed-guest-paid-trial .ai-medium-card h2 {
    font-size: 28px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.embed-theme-aimediums.embed-guest-paid-trial .ai-medium-card-skill {
    font-size: 13.5px;
    max-width: 46%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.embed-theme-aimediums.embed-guest-paid-trial .ai-medium-card p {
    display: -webkit-box;
    font-size: 16px;
    line-height: 1.4;
    min-height: 0;
    max-height: 4.2em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

body.embed-theme-aimediums.embed-guest-paid-trial .ai-medium-card-more {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16.5px;
    white-space: nowrap;
}

body.embed-theme-aimediums.embed-guest-paid-trial .ai-medium-card-reviews {
    font-size: 16px;
}

body.embed-theme-aimediums .ai-medium-guest-choice,
body.embed-theme-aimediums .ai-medium-guest-payment-form {
    width: auto;
}

body.embed-theme-aimediums .ai-medium-guest-choice {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
}

body.embed-theme-aimediums .ai-medium-guest-note,
body.embed-theme-aimediums .ai-medium-guest-or {
    color: #6f6256;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25;
    text-align: center;
}

body.embed-theme-aimediums .ai-medium-guest-or {
    padding: 4px 0;
}

body.embed-theme-aimediums .ai-medium-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    min-width: 118px;
    border-radius: 10px;
    border: 1px solid #2D7A4F;
    background: #2D7A4F;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

body.embed-theme-aimediums .ai-medium-paid-guest-btn,
body.embed-theme-aimediums .ai-medium-free-account-btn {
    width: auto;
    min-width: 292px;
    max-width: 100%;
    min-height: 38px;
    padding: 0 15px;
    border-radius: 10px;
    font-size: 16.5px;
    white-space: normal;
}

body.embed-theme-aimediums .ai-medium-free-account-link {
    display: inline-block;
    margin-top: 2px;
    color: #2D7A4F;
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 2px;
}

body.embed-theme-aimediums .ai-medium-btn:hover,
body.embed-theme-aimediums .ai-medium-btn:focus {
    background: #256640;
    border-color: #256640;
    color: #fff;
    text-decoration: none;
}

body.embed-theme-aimediums .ai-medium-free-account-link:hover,
body.embed-theme-aimediums .ai-medium-free-account-link:focus {
    color: #256640;
    text-decoration: underline;
}

body.embed-theme-aimediums .ai-medium-btn.is-status {
    cursor: default;
    border-color: #d6b186;
    background: #fff8ef;
    color: #5a4331;
    opacity: 1;
}

body.embed-theme-aimediums .ai-medium-btn.is-status.is-busy {
    border-color: #de8417;
    background: #f39a2f;
    color: #ffffff;
    box-shadow: none;
}

body.embed-theme-aimediums .ai-medium-btn.is-status.is-offline {
    border-color: #d6c8b6;
    background: #f7efe5;
    color: #7a6a58;
}

@media (max-width: 980px) {
    body.embed-theme-aimediums .ai-mediums-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    body.embed-theme-aimediums.embed-guest-paid-trial .embed-shell {
        padding-left: 4px;
        padding-right: 4px;
    }

    body.embed-theme-aimediums .ai-mediums-grid {
        grid-template-columns: 1fr;
    }

    body.embed-theme-aimediums.embed-guest-paid-trial .ai-mediums-grid,
    body.embed-theme-aimediums.embed-guest-paid-trial .ai-medium-card {
        width: 100%;
        max-width: none;
    }

    body.embed-theme-aimediums.embed-mobile-device.embed-guest-paid-trial .ai-medium-card-title {
        align-items: baseline;
        flex-direction: row;
        gap: 8px;
    }

    body.embed-theme-aimediums.embed-mobile-device.embed-guest-paid-trial .ai-medium-card h2 {
        flex: 1 1 auto;
        font-size: 21px;
        line-height: 1.12;
        min-width: 0;
    }

    body.embed-theme-aimediums.embed-mobile-device.embed-guest-paid-trial .ai-medium-card-skill {
        flex: 0 1 auto;
        font-size: 11.5px;
        line-height: 1.15;
        min-width: 0;
        max-width: 54%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.embed-theme-aimediums.embed-mobile-device.embed-guest-paid-trial .ai-medium-card p {
        font-size: 13px;
        line-height: 1.42;
    }

    body.embed-theme-aimediums.embed-mobile-device.embed-guest-paid-trial .ai-medium-card-more,
    body.embed-theme-aimediums.embed-mobile-device.embed-guest-paid-trial .ai-medium-card-reviews {
        font-size: 13px;
    }

    body.embed-theme-aimediums.embed-mobile-device.embed-guest-paid-trial .ai-medium-paid-guest-btn {
        min-width: 0;
        width: 100%;
        min-height: 40px;
        padding: 0 12px;
        font-size: 15.5px;
    }

    body.embed-theme-aimediums.embed-mobile-device.embed-guest-paid-trial .ai-medium-guest-note,
    body.embed-theme-aimediums.embed-mobile-device.embed-guest-paid-trial .ai-medium-free-account-link {
        font-size: 14px;
        line-height: 1.25;
    }
}
