.richtext-inline-tag--large {
    font-size: 1.25em;
    line-height: inherit;
}

.richtext-inline-tag--small {
    font-size: 0.82em;
    line-height: inherit;
}

.richtext-inline-tag--bold {
    font-weight: 700;
}

.richtext-inline-tag--italic {
    font-style: italic;
}

.richtext-inline-tag--underline {
    text-decoration: underline;
    text-underline-offset: 0.08em;
}

.richtext-inline-tag--strike {
    text-decoration: line-through;
    color: #64748b;
}

.richtext-inline-tag--strike-inside-small {
    text-decoration-thickness: from-font;
    text-decoration-skip-ink: none;
}

.richtext-inline-tag--strike-wraps-small {
    text-decoration: none;
}

.richtext-inline-tag--strike-wraps-small > .richtext-inline-tag--small {
    text-decoration: line-through;
    text-decoration-thickness: from-font;
    text-decoration-skip-ink: none;
}

.richtext-inline-tag--ruby {
    line-height: 1.35;
}

.richtext-inline-tag--ruby-text {
    font-size: 0.62em;
    color: #667085;
    font-weight: 400;
}

.richtext-inline-tag--image {
    display: block;
    width: 100%;
    margin-top: 8px;
    margin-bottom: 8px;
}

.richtext-inline-image {
    display: block;
    width: 100%;
    max-width: 400px;
    max-height: 500px;
    height: auto;
    object-fit: contain;
    background: #f8fafc;
}

.richtext-inline-image-fallback-wrap {
    width: 100%;
    max-width: 400px;
}

.richtext-inline-image-fallback-wrap:not([hidden]) {
    display: block;
}

.richtext-inline-image-fallback {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    padding: 12px;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    color: #475569;
    font-size: 13px;
    line-height: 1.5;
}

.richtext-inline-image-fallback__label {
    font-weight: 600;
}

.richtext-inline-image-fallback__url {
    overflow-wrap: anywhere;
    word-break: break-word;
    font-size: 12px;
    color: #667085;
}

.richtext-inline-image[hidden],
.richtext-inline-image-fallback-wrap[hidden] {
    display: none !important;
}