* {
    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: #2e9e5b;
}

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

.embed-body {
    padding: 16px;
}

.embed-kicker {
    color: #318760;
    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: #2e9e5b;
    border: 1px solid #2e9e5b;
    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: #2e9e5b;
    border-color: #2e9e5b;
    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;
    }
}

/* Topmediums calm public consultant refinement */
.chat-public-consultant-page,
.chat-embed-page {
    background: linear-gradient(180deg, #fff9f1 0%, #fff3e9 48%, #fbefe8 100%);
    color: #251a31;
}

.consultant-public-shell,
.consultant-empty-card,
.embed-card,
.embed-single,
.ho-widget-card,
.ho-widget-shell {
    border-radius: 8px;
    box-shadow: none;
}

.primary-btn,
.ho-widget-btn.is-primary,
.embed-btn.primary-btn {
    background: #318760 !important;
    border-color: #318760 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.primary-btn:hover,
.primary-btn:focus,
.ho-widget-btn.is-primary:hover,
.ho-widget-btn.is-primary:focus,
.embed-btn.primary-btn:hover,
.embed-btn.primary-btn:focus {
    background: #267654 !important;
    border-color: #267654 !important;
    color: #ffffff !important;
}