.mondroid-embed {
    --mondroid-height: 75vh;
    --mondroid-mobile-height: 70vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 1rem 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dce2ea;
    border-radius: 12px;
}
.mondroid-embed *, .mondroid-embed *::before, .mondroid-embed *::after { box-sizing: border-box; }
.mondroid-embed .mondroid-embed__toolbar {
    display: flex;
    flex: 0 0 auto;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 8px 12px;
    background: #f6f8fb;
    border-bottom: 1px solid #dce2ea;
    font-family: system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.4;
}
.mondroid-embed .mondroid-embed__link { color: #264b78; text-decoration: underline; }
.mondroid-embed .mondroid-embed__fullscreen {
    appearance: none;
    min-height: 36px;
    padding: 6px 12px;
    margin: 0;
    border: 1px solid #c8d1df;
    border-radius: 6px;
    background: #fff;
    color: #203857;
    cursor: pointer;
    font: inherit;
    text-transform: none;
    letter-spacing: normal;
}
.mondroid-embed .mondroid-embed__fullscreen[hidden] { display: none; }
.mondroid-embed .mondroid-embed__fullscreen:hover { background: #e9eff8; color: #203857; }
.mondroid-embed .mondroid-embed__fullscreen:focus-visible, .mondroid-embed a:focus-visible { outline: 3px solid #3c75b7; outline-offset: 3px; }
.mondroid-embed .mondroid-embed__frame {
    display: block;
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    height: var(--mondroid-height);
    min-height: 200px;
    margin: 0;
    padding: 0;
    border: 0;
    background: #fff;
}
.mondroid-embed__status:empty { display: none; }
.mondroid-embed .mondroid-embed__status { padding: 6px 12px; font: 14px/1.4 system-ui, sans-serif; color: #5d2940; }
.mondroid-embed:fullscreen { width: 100%; height: 100%; max-width: none; margin: 0; border: 0; border-radius: 0; }
.mondroid-embed:-webkit-full-screen { width: 100%; height: 100%; max-width: none; margin: 0; border: 0; border-radius: 0; }
.mondroid-embed:fullscreen .mondroid-embed__frame { flex: 1 1 0; height: 0; min-height: 0; }
.mondroid-embed:-webkit-full-screen .mondroid-embed__frame { flex: 1 1 0; height: 0; min-height: 0; }
@media (max-width: 767px) {
    .mondroid-embed .mondroid-embed__frame { height: var(--mondroid-mobile-height); }
    .mondroid-embed .mondroid-embed__toolbar { justify-content: space-between; font-size: 13px; }
}
@media print { .mondroid-embed { display: none; } }
