.table-sticky-first-last {
    position: relative;
}

.table-sticky-first-last thead th:first-child,
.table-sticky-first-last tbody td:first-child {
    position: sticky;
    left: 0;
    z-index: 3;
    background-color: var(--bs-body-bg, #fff);
}

.table-sticky-first-last thead th:last-child,
.table-sticky-first-last tbody td:last-child {
    position: sticky;
    right: 0;
    z-index: 3;
    background-color: var(--bs-body-bg, #fff);
}

.table-sticky-first-last thead th {
    z-index: 4;
}

/* Islemler sutunu: genislik icerik (butonlar) kadar */
th.table-col-actions,
td.table-col-actions {
    width: 1%;
    white-space: nowrap;
    vertical-align: middle;
}

/* Admin tablolar — Durum sutunu sabit genislik */
th.table-col-status-50,
td.table-col-status-50 {
    width: 50px;
    min-width: 50px;
    max-width: 50px;
    box-sizing: border-box;
    vertical-align: middle;
}

/* CustomTable: tablo yukleme overlay */
.table-loading-wrap {
    position: relative;
    width: 100%;
}

.table-loading-wrap__overlay {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 10;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
    background-color: var(--bs-blockui-overlay-bg, rgba(255, 255, 255, 0.72));
    pointer-events: all;
}

.table-loading-wrap.is-loading .table-loading-wrap__overlay {
    display: flex;
}

.table-loading-wrap__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--bs-gray-700, #5e6278);
}

[data-bs-theme="dark"] .table-loading-wrap__overlay {
    background-color: var(--bs-blockui-overlay-bg, rgba(38, 39, 47, 0.85));
}

[data-bs-theme="dark"] .table-loading-wrap__label {
    color: var(--bs-gray-500, #a1a5b7);
}

/* CustomTable: siralama — baslik solda, ikon sutunun saginda */
thead .btn[data-sort] {
    display: inline-flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    text-align: start;
}

thead .btn.table-sort-active {
    color: var(--bs-primary, #3e97ff);
    font-weight: 600;
}

thead .btn.table-sort-active .js-table-sort-icon {
    opacity: 1;
}

thead .btn .js-table-sort-icon {
    flex-shrink: 0;
    margin-left: auto;
    font-size: 0.75em;
    opacity: 0.95;
}

/* Toolbar: Metronic .app-container mobilde 20px yatay padding verir; kenara yaslama */
@media (max-width: 991.98px) {
    .app-container.app-container--flush-x-mobile {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Poe basit HTML editörü — tek çerçevede toolbar + gövde (CKEditor benzeri düzen, özgün CSS) */
.poe-simple-html-editor__visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.poe-simple-html-editor--framed {
    border: 1px solid var(--bs-gray-300, #e4e6ef);
    border-radius: 0.4375rem;
    background-color: var(--bs-body-bg, #fff);
    box-shadow: 0 0.0625rem 0.1875rem rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

[data-bs-theme="dark"] .poe-simple-html-editor--framed {
    border-color: var(--bs-gray-300, #363843);
    box-shadow: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.25);
}

.poe-simple-html-editor--readonly .poe-simple-html-editor__toolbar {
    opacity: 0.72;
    pointer-events: none;
}

.poe-simple-html-editor--readonly .poe-simple-html-editor__surface {
    cursor: default;
    user-select: text;
    -webkit-user-select: text;
}

.poe-simple-html-editor--framed:focus-within {
    border-color: rgba(62, 151, 255, 0.45);
    box-shadow:
        0 0 0 1px rgba(62, 151, 255, 0.18),
        0 0.0625rem 0.25rem rgba(15, 23, 42, 0.08);
}

[data-bs-theme='dark'] .poe-simple-html-editor--framed:focus-within {
    border-color: rgba(110, 168, 254, 0.45);
    box-shadow:
        0 0 0 1px rgba(110, 168, 254, 0.2),
        0 0.0625rem 0.35rem rgba(0, 0, 0, 0.35);
}

.poe-simple-html-editor__toolbar {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem;
    min-height: 2.375rem;
    padding: 0.28rem 0.5rem;
    background-color: var(--bs-gray-100, #f5f8fa);
    border-bottom: 1px solid var(--bs-gray-300, #e4e6ef);
    overflow: visible;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        0 0.125rem 0.35rem rgba(15, 23, 42, 0.045);
    user-select: none;
    -webkit-user-select: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

[data-bs-theme="dark"] .poe-simple-html-editor__toolbar {
    background-color: var(--bs-gray-200, #2b2c35);
    border-bottom-color: var(--bs-gray-300, #363843);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 0.125rem 0.4rem rgba(0, 0, 0, 0.22);
}

.poe-simple-html-editor__group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.08rem;
    padding: 0.06rem 0.2rem;
    border-radius: 0.3125rem;
    background-color: rgba(15, 23, 42, 0.035);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition:
        background-color 0.15s ease,
        box-shadow 0.15s ease;
}

[data-bs-theme="dark"] .poe-simple-html-editor__group {
    background-color: rgba(0, 0, 0, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.poe-simple-html-editor__group:focus-within {
    background-color: rgba(15, 23, 42, 0.05);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 0 0 1px rgba(62, 151, 255, 0.22);
}

[data-bs-theme='dark'] .poe-simple-html-editor__group:focus-within {
    background-color: rgba(0, 0, 0, 0.26);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 0 1px rgba(110, 168, 254, 0.3);
}

.poe-simple-html-editor__group:not(:first-child) {
    border-left: 0;
    padding-left: 0.2rem;
    margin-left: 0;
}

[data-bs-theme="dark"] .poe-simple-html-editor__group:not(:first-child) {
    border-left-color: transparent;
}

/* İkinci toolbar satırı (CKEditor benzeri satır kırılımı + ince ayırıcı) */
.poe-simple-html-editor__toolbar-break {
    flex-basis: 100%;
    width: 100%;
    height: 1px;
    margin: 0.2rem 0 0.15rem;
    padding: 0;
    border: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--bs-gray-300, #e4e6ef) 12%,
        var(--bs-gray-300, #e4e6ef) 88%,
        transparent 100%
    );
    overflow: hidden;
}

[data-bs-theme='dark'] .poe-simple-html-editor__toolbar-break {
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--bs-gray-400, #565674) 12%,
        var(--bs-gray-400, #565674) 88%,
        transparent 100%
    );
}

.poe-simple-html-editor__toolbar-break + .poe-simple-html-editor__group {
    border-left: 0;
    margin-left: 0;
    padding-left: 0;
}

/* Dar ekranda tek satır yatay kaydırma (CKEditor mobil davranışına yakın) */
@media (max-width: 575.98px) {
    .poe-simple-html-editor__toolbar {
        flex-wrap: nowrap;
        align-items: stretch;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--bs-gray-400, #b5b5c3) transparent;
        gap: 0.26rem;
        padding-bottom: 0.35rem;
    }

    .poe-simple-html-editor__toolbar::-webkit-scrollbar {
        height: 0.35rem;
    }

    .poe-simple-html-editor__toolbar::-webkit-scrollbar-thumb {
        border-radius: 0.25rem;
        background-color: var(--bs-gray-400, #b5b5c3);
    }

    [data-bs-theme='dark'] .poe-simple-html-editor__toolbar {
        scrollbar-color: var(--bs-gray-500, #565674) transparent;
    }

    [data-bs-theme='dark'] .poe-simple-html-editor__toolbar::-webkit-scrollbar-thumb {
        background-color: var(--bs-gray-500, #565674);
    }

    .poe-simple-html-editor__toolbar-break {
        display: none;
    }

    .poe-simple-html-editor__group {
        flex-wrap: nowrap;
        flex-shrink: 0;
    }

    .poe-simple-html-editor__tb-btn {
        min-width: 2rem;
        height: 2rem;
    }

    .poe-simple-html-editor__tb-btn--icon .poe-simple-html-editor__icon {
        width: 1.1875rem;
        height: 1.1875rem;
    }

    .poe-simple-html-editor__styles-select {
        height: 2rem;
        min-height: 2rem;
    }
}

/* Araç çubuğu düğmeleri — düşük profil, hover / basılı / odak */
.poe-simple-html-editor__tb-btn {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.75rem;
    height: 1.75rem;
    padding: 0 0.25rem;
    margin: 0;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    background: transparent;
    color: var(--bs-gray-800, #3f4254);
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    touch-action: manipulation;
    transition:
        background-color 0.14s ease,
        color 0.14s ease,
        border-color 0.14s ease,
        box-shadow 0.14s ease,
        transform 0.1s ease;
}

[data-bs-theme="dark"] .poe-simple-html-editor__tb-btn {
    color: var(--bs-gray-700, #d1d3e0);
}

.poe-simple-html-editor__tb-btn:hover {
    background-color: var(--bs-gray-200, #ebedf3);
    border-color: rgba(63, 66, 84, 0.09);
}

[data-bs-theme="dark"] .poe-simple-html-editor__tb-btn:hover {
    background-color: var(--bs-gray-300, #363843);
    border-color: rgba(255, 255, 255, 0.07);
}

/* İnce hover kaldırması — dokunmatikte sabit “yüzen” düğme yok (CKEditor masaüstü hissi) */
@media (hover: hover) and (pointer: fine) {
    .poe-simple-html-editor__tb-btn:hover:not(:disabled) {
        transform: translateY(-0.5px);
        box-shadow: 0 0.0625rem 0.2rem rgba(15, 23, 42, 0.08);
    }

    [data-bs-theme='dark'] .poe-simple-html-editor__tb-btn:hover:not(:disabled) {
        box-shadow: 0 0.0625rem 0.28rem rgba(0, 0, 0, 0.38);
    }

    .poe-simple-html-editor__tb-btn.active:hover:not(:disabled),
    .poe-simple-html-editor__tb-btn[aria-pressed='true']:hover:not(:disabled) {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.45),
            0 0.0625rem 0.2rem rgba(15, 23, 42, 0.06);
    }

    [data-bs-theme='dark'] .poe-simple-html-editor__tb-btn.active:hover:not(:disabled),
    [data-bs-theme='dark'] .poe-simple-html-editor__tb-btn[aria-pressed='true']:hover:not(:disabled) {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.06),
            0 0.0625rem 0.28rem rgba(0, 0, 0, 0.32);
    }

    .poe-simple-html-editor__styles-select:hover:not(:disabled) {
        transform: translateY(-0.5px);
        box-shadow: 0 0.0625rem 0.2rem rgba(15, 23, 42, 0.07);
    }

    [data-bs-theme='dark'] .poe-simple-html-editor__styles-select:hover:not(:disabled) {
        box-shadow: 0 0.0625rem 0.28rem rgba(0, 0, 0, 0.35);
    }

    .poe-simple-html-editor__help-close:hover {
        transform: translateY(-0.5px);
        box-shadow: 0 0.0625rem 0.15rem rgba(15, 23, 42, 0.07);
    }

    [data-bs-theme='dark'] .poe-simple-html-editor__help-close:hover {
        box-shadow: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.35);
    }
}

.poe-simple-html-editor__tb-btn:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 2px var(--bs-body-bg, #fff), 0 0 0 4px var(--bs-primary, #3e97ff);
}

.poe-simple-html-editor__tb-btn:active {
    transform: translateY(0.5px) scale(0.98);
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.07);
    transition-duration: 0.08s;
}

[data-bs-theme='dark'] .poe-simple-html-editor__tb-btn:active {
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.32);
}

.poe-simple-html-editor__tb-btn:disabled,
.poe-simple-html-editor__tb-btn:disabled:hover,
.poe-simple-html-editor__tb-btn:disabled:focus-visible {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    border-color: transparent !important;
    background-color: transparent !important;
    color: var(--bs-gray-500, #a1a5b7) !important;
}

[data-bs-theme='dark'] .poe-simple-html-editor__tb-btn:disabled,
[data-bs-theme='dark'] .poe-simple-html-editor__tb-btn:disabled:hover,
[data-bs-theme='dark'] .poe-simple-html-editor__tb-btn:disabled:focus-visible {
    color: var(--bs-gray-600, #7e8299) !important;
}

.poe-simple-html-editor__tb-btn.active,
.poe-simple-html-editor__tb-btn[aria-pressed='true'] {
    background-color: rgba(62, 151, 255, 0.12);
    color: var(--bs-primary, #3e97ff);
    border-color: rgba(62, 151, 255, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

[data-bs-theme='dark'] .poe-simple-html-editor__tb-btn.active,
[data-bs-theme='dark'] .poe-simple-html-editor__tb-btn[aria-pressed='true'] {
    background-color: rgba(110, 168, 254, 0.14);
    color: var(--bs-primary, #6ea8fe);
    border-color: rgba(110, 168, 254, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.poe-simple-html-editor__tb-btn.active:hover,
.poe-simple-html-editor__tb-btn[aria-pressed='true']:hover {
    background-color: rgba(62, 151, 255, 0.16);
    border-color: rgba(62, 151, 255, 0.28);
}

[data-bs-theme='dark'] .poe-simple-html-editor__tb-btn.active:hover,
[data-bs-theme='dark'] .poe-simple-html-editor__tb-btn[aria-pressed='true']:hover {
    background-color: rgba(110, 168, 254, 0.18);
    border-color: rgba(110, 168, 254, 0.34);
}

.poe-simple-html-editor__tb-btn--glyph {
    font-weight: 600;
}

.poe-simple-html-editor__tb-btn--icon .poe-simple-html-editor__icon {
    width: 1.125rem;
    height: 1.125rem;
    opacity: 0.92;
    transition: opacity 0.12s ease;
}

.poe-simple-html-editor__tb-btn--icon:hover:not(:disabled) .poe-simple-html-editor__icon,
.poe-simple-html-editor__tb-btn--icon:focus-visible:not(:disabled) .poe-simple-html-editor__icon {
    opacity: 1;
}

.poe-simple-html-editor__icon {
    display: block;
    flex-shrink: 0;
    shape-rendering: geometricPrecision;
}

.poe-simple-html-editor__block-select {
    width: auto;
    min-width: 11rem;
    max-width: 14rem;
}

.poe-simple-html-editor__styles-select {
    height: 1.75rem;
    padding: 0 1.75rem 0 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.25;
    color: var(--bs-gray-800, #3f4254);
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%237e8299' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.35rem center;
    background-size: 0.65rem;
    border: 1px solid transparent;
    border-radius: 0.28rem;
    cursor: pointer;
    touch-action: manipulation;
    appearance: none;
    transition:
        background-color 0.14s ease,
        border-color 0.14s ease,
        box-shadow 0.14s ease,
        transform 0.1s ease;
}

.poe-simple-html-editor__styles-select:hover {
    background-color: var(--bs-gray-200, #ebedf3);
    border-color: rgba(63, 66, 84, 0.09);
}

[data-bs-theme='dark'] .poe-simple-html-editor__styles-select {
    color: var(--bs-gray-700, #d1d3e0);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23989aac' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

[data-bs-theme='dark'] .poe-simple-html-editor__styles-select:hover {
    background-color: var(--bs-gray-300, #363843);
    border-color: rgba(255, 255, 255, 0.07);
}

.poe-simple-html-editor__styles-select:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 2px var(--bs-body-bg, #fff), 0 0 0 4px var(--bs-primary, #3e97ff);
}

.poe-simple-html-editor__footer {
    padding: 0.25rem 0.5rem 0.35rem;
    font-size: 0.75rem;
    color: var(--bs-gray-600, #7e8299);
    border-top: 1px solid var(--bs-gray-200, #eff2f5);
    background-color: var(--bs-gray-100, #f9f9f9);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

[data-bs-theme='dark'] .poe-simple-html-editor__footer {
    color: var(--bs-gray-500, #a1a5b7);
    border-top-color: var(--bs-gray-300, #363843);
    background-color: var(--bs-gray-200, #25262c);
}

.poe-simple-html-editor__footer--bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.poe-simple-html-editor__footer-stats {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
    line-height: 1.35;
    font-variant-numeric: tabular-nums;
}

.poe-simple-html-editor__footer-limit {
    flex: 0 0 auto;
    white-space: nowrap;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.poe-simple-html-editor__footer-limit.text-danger {
    color: var(--bs-danger, #f1416c) !important;
}

.poe-simple-html-editor__emoji-panel,
.poe-simple-html-editor__table-insert-panel,
.poe-simple-html-editor__media-embed-panel,
.poe-simple-html-editor__help-panel,
.poe-simple-html-editor__source-panel,
.poe-simple-html-editor__find-panel {
    user-select: text;
    -webkit-user-select: text;
}

.poe-simple-html-editor__emoji-panel {
    display: none;
    position: absolute;
    z-index: 1080;
    left: 0;
    top: calc(100% - 0.25rem);
    margin-top: 0.25rem;
    width: min(22rem, 92vw);
    max-height: 16rem;
    overflow: auto;
    padding: 0.5rem 0.6rem;
    background: var(--bs-body-bg, #fff);
    border: 1px solid var(--bs-gray-300, #e4e6ef);
    border-radius: 0.475rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
}

.poe-simple-html-editor__help-panel {
    display: none;
    position: absolute;
    z-index: 1081;
    left: 0;
    top: calc(100% - 0.25rem);
    margin-top: 0.25rem;
    width: min(26rem, 94vw);
    max-height: min(20rem, 70vh);
    overflow: auto;
    padding: 0.55rem 0.65rem 0.65rem;
    background: var(--bs-body-bg, #fff);
    border: 1px solid var(--bs-gray-300, #e4e6ef);
    border-radius: 0.475rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
}

.poe-simple-html-editor__source-panel {
    display: none;
    position: absolute;
    z-index: 1082;
    left: 0;
    top: calc(100% - 0.25rem);
    margin-top: 0.25rem;
    width: min(32rem, 96vw);
    max-height: min(22rem, 72vh);
    overflow: auto;
    padding: 0.55rem 0.65rem 0.65rem;
    background: var(--bs-body-bg, #fff);
    border: 1px solid var(--bs-gray-300, #e4e6ef);
    border-radius: 0.475rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
}

.poe-simple-html-editor__find-panel {
    display: none;
    position: absolute;
    z-index: 1083;
    left: 0;
    top: calc(100% - 0.25rem);
    margin-top: 0.25rem;
    width: min(22rem, 94vw);
    padding: 0.55rem 0.65rem 0.65rem;
    background: var(--bs-body-bg, #fff);
    border: 1px solid var(--bs-gray-300, #e4e6ef);
    border-radius: 0.475rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
}

.poe-simple-html-editor__find-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--bs-gray-200, #eff2f5);
}

.poe-simple-html-editor__find-title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--bs-gray-900, #181c32);
    line-height: 1.25;
}

.poe-simple-html-editor__find-title:focus {
    outline: 0;
}

.poe-simple-html-editor__find-title:focus-visible {
    border-radius: 0.2rem;
    box-shadow: 0 0 0 2px var(--bs-body-bg, #fff), 0 0 0 4px var(--bs-primary, #3e97ff);
}

.poe-simple-html-editor__find-close {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    background: transparent;
    color: var(--bs-gray-600, #7e8299);
    cursor: pointer;
    touch-action: manipulation;
    transition:
        background-color 0.12s ease,
        color 0.12s ease,
        border-color 0.12s ease,
        box-shadow 0.12s ease,
        transform 0.1s ease;
}

.poe-simple-html-editor__find-close:hover {
    background-color: var(--bs-gray-200, #ebedf3);
    color: var(--bs-gray-800, #3f4254);
}

.poe-simple-html-editor__find-close:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 2px var(--bs-body-bg, #fff), 0 0 0 4px var(--bs-primary, #3e97ff);
}

.poe-simple-html-editor__find-close .poe-simple-html-editor__icon {
    width: 1.0625rem;
    height: 1.0625rem;
}

.poe-simple-html-editor__find-input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 0.45rem;
    padding: 0.35rem 0.45rem;
    font-size: 0.8125rem;
    line-height: 1.35;
    color: var(--bs-gray-800, #3f4254);
    background: var(--bs-body-bg, #fff);
    border: 1px solid var(--bs-gray-300, #e4e6ef);
    border-radius: 0.35rem;
}

.poe-simple-html-editor__find-input:focus {
    outline: 0;
    border-color: rgba(62, 151, 255, 0.45);
    box-shadow: 0 0 0 2px rgba(62, 151, 255, 0.12);
}

.poe-simple-html-editor__find-replace-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    margin-bottom: 0.45rem;
}

.poe-simple-html-editor__find-replace-label {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--bs-gray-700, #5e6278);
}

.poe-simple-html-editor__find-replace-input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 0.35rem 0.45rem;
    font-size: 0.8125rem;
    line-height: 1.35;
    color: var(--bs-gray-800, #3f4254);
    background: var(--bs-body-bg, #fff);
    border: 1px solid var(--bs-gray-300, #e4e6ef);
    border-radius: 0.35rem;
}

.poe-simple-html-editor__find-replace-input:focus {
    outline: 0;
    border-color: rgba(62, 151, 255, 0.45);
    box-shadow: 0 0 0 2px rgba(62, 151, 255, 0.12);
}

.poe-simple-html-editor__find-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 0.65rem;
    row-gap: 0.25rem;
    margin-bottom: 0.45rem;
}

.poe-simple-html-editor__find-opt-input {
    width: 0.95rem;
    height: 0.95rem;
    margin: 0;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--bs-primary, #3e97ff);
}

.poe-simple-html-editor__find-opt-label {
    margin: 0;
    padding: 0;
    font-size: 0.72rem;
    line-height: 1.35;
    color: var(--bs-gray-700, #5e6278);
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.poe-simple-html-editor__find-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.35rem;
}

.poe-simple-html-editor__find-nav {
    box-sizing: border-box;
    padding: 0.22rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--bs-gray-700, #5e6278);
    background: var(--bs-gray-100, #f5f8fa);
    border: 1px solid var(--bs-gray-300, #e4e6ef);
    border-radius: 0.25rem;
    cursor: pointer;
    touch-action: manipulation;
    transition:
        background-color 0.12s ease,
        border-color 0.12s ease,
        color 0.12s ease;
}

.poe-simple-html-editor__find-nav:hover {
    background: var(--bs-gray-200, #ebedf3);
    border-color: var(--bs-gray-400, #b5b5c3);
    color: var(--bs-gray-900, #181c32);
}

.poe-simple-html-editor__find-nav:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 2px var(--bs-body-bg, #fff), 0 0 0 4px var(--bs-primary, #3e97ff);
}

.poe-simple-html-editor__find-status {
    margin: 0;
    min-height: 1.15rem;
    font-size: 0.72rem;
    line-height: 1.4;
    color: var(--bs-gray-600, #7e8299);
}

.poe-simple-html-editor__find-status--ok {
    color: var(--bs-gray-800, #3f4254);
}

.poe-simple-html-editor__find-toggle[aria-expanded='true'] {
    background-color: rgba(62, 151, 255, 0.12);
    color: var(--bs-primary, #3e97ff);
    border-color: rgba(62, 151, 255, 0.22);
}

[data-bs-theme='dark'] .poe-simple-html-editor__find-panel {
    background: var(--bs-gray-100, #1b1c22);
    border-color: var(--bs-gray-300, #363843);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.35);
}

[data-bs-theme='dark'] .poe-simple-html-editor__find-header {
    border-bottom-color: var(--bs-gray-300, #363843);
}

[data-bs-theme='dark'] .poe-simple-html-editor__find-title {
    color: var(--bs-gray-100, #f5f5f8);
}

[data-bs-theme='dark'] .poe-simple-html-editor__find-close {
    color: var(--bs-gray-500, #a1a5b7);
}

[data-bs-theme='dark'] .poe-simple-html-editor__find-close:hover {
    background-color: var(--bs-gray-200, #2b2c35);
    color: var(--bs-gray-700, #d1d3e0);
}

[data-bs-theme='dark'] .poe-simple-html-editor__find-input {
    color: var(--bs-gray-200, #ebedf3);
    background: var(--bs-gray-200, #25262c);
    border-color: var(--bs-gray-400, #565674);
}

[data-bs-theme='dark'] .poe-simple-html-editor__find-replace-label {
    color: var(--bs-gray-400, #b5b5c3);
}

[data-bs-theme='dark'] .poe-simple-html-editor__find-replace-input {
    color: var(--bs-gray-200, #ebedf3);
    background: var(--bs-gray-200, #25262c);
    border-color: var(--bs-gray-400, #565674);
}

[data-bs-theme='dark'] .poe-simple-html-editor__find-replace-input:focus {
    box-shadow: 0 0 0 2px var(--bs-gray-100, #1b1c22), 0 0 0 4px var(--bs-primary, #6ea8fe);
}

[data-bs-theme='dark'] .poe-simple-html-editor__find-opt-label {
    color: var(--bs-gray-400, #b5b5c3);
}

[data-bs-theme='dark'] .poe-simple-html-editor__find-nav {
    color: var(--bs-gray-300, #d1d3e0);
    background: var(--bs-gray-200, #2b2c35);
    border-color: var(--bs-gray-400, #565674);
}

[data-bs-theme='dark'] .poe-simple-html-editor__find-nav:hover {
    background: var(--bs-gray-300, #363843);
    border-color: var(--bs-gray-500, #6f6f8f);
    color: var(--bs-gray-100, #f5f5f8);
}

[data-bs-theme='dark'] .poe-simple-html-editor__find-status {
    color: var(--bs-gray-500, #a1a5b7);
}

[data-bs-theme='dark'] .poe-simple-html-editor__find-status--ok {
    color: var(--bs-gray-200, #ebedf3);
}

[data-bs-theme='dark'] .poe-simple-html-editor__find-title:focus-visible,
[data-bs-theme='dark'] .poe-simple-html-editor__find-close:focus-visible,
[data-bs-theme='dark'] .poe-simple-html-editor__find-input:focus,
[data-bs-theme='dark'] .poe-simple-html-editor__find-nav:focus-visible {
    box-shadow: 0 0 0 2px var(--bs-gray-100, #1b1c22), 0 0 0 4px var(--bs-primary, #6ea8fe);
}

[data-bs-theme='dark'] .poe-simple-html-editor__find-toggle[aria-expanded='true'] {
    background-color: rgba(110, 168, 254, 0.14);
    color: var(--bs-primary, #6ea8fe);
    border-color: rgba(110, 168, 254, 0.28);
}

.poe-simple-html-editor__source-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--bs-gray-200, #eff2f5);
}

.poe-simple-html-editor__source-header-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.poe-simple-html-editor__source-title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--bs-gray-900, #181c32);
    line-height: 1.25;
}

.poe-simple-html-editor__source-title:focus {
    outline: 0;
}

.poe-simple-html-editor__source-title:focus-visible {
    border-radius: 0.2rem;
    box-shadow: 0 0 0 2px var(--bs-body-bg, #fff), 0 0 0 4px var(--bs-primary, #3e97ff);
}

.poe-simple-html-editor__source-copy {
    box-sizing: border-box;
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--bs-primary, #3e97ff);
    background: rgba(62, 151, 255, 0.1);
    border: 1px solid rgba(62, 151, 255, 0.28);
    border-radius: 0.25rem;
    cursor: pointer;
    touch-action: manipulation;
    transition:
        background-color 0.12s ease,
        border-color 0.12s ease;
}

.poe-simple-html-editor__source-copy:hover {
    background: rgba(62, 151, 255, 0.16);
    border-color: rgba(62, 151, 255, 0.38);
}

.poe-simple-html-editor__source-copy:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 2px var(--bs-body-bg, #fff), 0 0 0 4px var(--bs-primary, #3e97ff);
}

.poe-simple-html-editor__source-close {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    background: transparent;
    color: var(--bs-gray-600, #7e8299);
    cursor: pointer;
    touch-action: manipulation;
    transition:
        background-color 0.12s ease,
        color 0.12s ease,
        border-color 0.12s ease,
        box-shadow 0.12s ease,
        transform 0.1s ease;
}

.poe-simple-html-editor__source-close:hover {
    background-color: var(--bs-gray-200, #ebedf3);
    color: var(--bs-gray-800, #3f4254);
}

.poe-simple-html-editor__source-close:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 2px var(--bs-body-bg, #fff), 0 0 0 4px var(--bs-primary, #3e97ff);
}

.poe-simple-html-editor__source-close .poe-simple-html-editor__icon {
    width: 1.0625rem;
    height: 1.0625rem;
}

.poe-simple-html-editor__source-intro {
    margin: 0 0 0.45rem;
    font-size: 0.72rem;
    line-height: 1.45;
    color: var(--bs-gray-600, #7e8299);
}

.poe-simple-html-editor__source-textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-height: 11rem;
    max-height: min(40vh, 14rem);
    padding: 0.45rem 0.5rem;
    font-family:
        ui-monospace,
        'Cascadia Code',
        'Source Code Pro',
        Menlo,
        Consolas,
        monospace;
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--bs-gray-800, #3f4254);
    background: var(--bs-gray-100, #f5f8fa);
    border: 1px solid var(--bs-gray-300, #e4e6ef);
    border-radius: 0.35rem;
    resize: vertical;
}

.poe-simple-html-editor__source-textarea:focus {
    outline: 0;
    border-color: rgba(62, 151, 255, 0.45);
    box-shadow: 0 0 0 2px rgba(62, 151, 255, 0.12);
}

[data-bs-theme='dark'] .poe-simple-html-editor__source-panel {
    background: var(--bs-gray-100, #1b1c22);
    border-color: var(--bs-gray-300, #363843);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.35);
}

[data-bs-theme='dark'] .poe-simple-html-editor__source-header {
    border-bottom-color: var(--bs-gray-300, #363843);
}

[data-bs-theme='dark'] .poe-simple-html-editor__source-title {
    color: var(--bs-gray-100, #f5f5f8);
}

[data-bs-theme='dark'] .poe-simple-html-editor__source-copy {
    color: var(--bs-primary, #6ea8fe);
    background: rgba(110, 168, 254, 0.12);
    border-color: rgba(110, 168, 254, 0.32);
}

[data-bs-theme='dark'] .poe-simple-html-editor__source-copy:hover {
    background: rgba(110, 168, 254, 0.18);
    border-color: rgba(110, 168, 254, 0.42);
}

[data-bs-theme='dark'] .poe-simple-html-editor__source-close {
    color: var(--bs-gray-500, #a1a5b7);
}

[data-bs-theme='dark'] .poe-simple-html-editor__source-close:hover {
    background-color: var(--bs-gray-200, #2b2c35);
    color: var(--bs-gray-700, #d1d3e0);
}

[data-bs-theme='dark'] .poe-simple-html-editor__source-intro {
    color: var(--bs-gray-500, #a1a5b7);
}

[data-bs-theme='dark'] .poe-simple-html-editor__source-textarea {
    color: var(--bs-gray-200, #ebedf3);
    background: var(--bs-gray-200, #25262c);
    border-color: var(--bs-gray-400, #565674);
}

[data-bs-theme='dark'] .poe-simple-html-editor__source-title:focus-visible {
    box-shadow: 0 0 0 2px var(--bs-gray-100, #1b1c22), 0 0 0 4px var(--bs-primary, #6ea8fe);
}

[data-bs-theme='dark'] .poe-simple-html-editor__source-copy:focus-visible,
[data-bs-theme='dark'] .poe-simple-html-editor__source-close:focus-visible {
    box-shadow: 0 0 0 2px var(--bs-gray-100, #1b1c22), 0 0 0 4px var(--bs-primary, #6ea8fe);
}

.poe-simple-html-editor__source-toggle[aria-expanded='true'] {
    background-color: rgba(62, 151, 255, 0.12);
    color: var(--bs-primary, #3e97ff);
    border-color: rgba(62, 151, 255, 0.22);
}

[data-bs-theme='dark'] .poe-simple-html-editor__source-toggle[aria-expanded='true'] {
    background-color: rgba(110, 168, 254, 0.14);
    color: var(--bs-primary, #6ea8fe);
    border-color: rgba(110, 168, 254, 0.28);
}

@keyframes poe-editor-flyout-in {
    from {
        opacity: 0;
        transform: translateY(-0.35rem) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.poe-simple-html-editor__emoji-panel:not([hidden]) {
    display: block;
    transform-origin: top left;
    animation: poe-editor-flyout-in 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.poe-simple-html-editor__help-panel:not([hidden]) {
    display: block;
    transform-origin: top left;
    animation: poe-editor-flyout-in 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.poe-simple-html-editor__source-panel:not([hidden]) {
    display: block;
    transform-origin: top left;
    animation: poe-editor-flyout-in 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.poe-simple-html-editor__find-panel:not([hidden]) {
    display: block;
    transform-origin: top left;
    animation: poe-editor-flyout-in 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.poe-simple-html-editor__media-embed-panel {
    display: none;
    position: absolute;
    z-index: 1085;
    left: 0;
    top: calc(100% - 0.25rem);
    margin-top: 0.25rem;
    width: min(22rem, 94vw);
    padding: 0;
    background: var(--bs-body-bg, #fff);
    border: 1px solid var(--bs-gray-300, #e4e6ef);
    border-radius: 0.475rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.poe-simple-html-editor__media-embed-panel:not([hidden]) {
    display: block;
    transform-origin: top left;
    animation: poe-editor-flyout-in 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.poe-simple-html-editor__media-embed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.55rem 0.65rem 0.45rem;
    border-bottom: 1px solid var(--bs-gray-200, #eff2f5);
}

.poe-simple-html-editor__media-embed-title {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--bs-gray-900, #181c32);
    line-height: 1.25;
}

.poe-simple-html-editor__media-embed-close {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    background: transparent;
    color: var(--bs-gray-600, #7e8299);
    cursor: pointer;
}

.poe-simple-html-editor__media-embed-close:hover {
    background: var(--bs-gray-200, #eff2f5);
    color: var(--bs-gray-800, #3f4254);
}

.poe-simple-html-editor__media-embed-body {
    padding: 0.65rem 0.75rem 0.5rem;
}

.poe-simple-html-editor__media-floating-wrap {
    position: relative;
    margin-bottom: 0.35rem;
}

.poe-simple-html-editor__media-floating-wrap--alt {
    margin-top: 0.45rem;
}

.poe-simple-html-editor__media-embed-help--alt {
    margin-top: 0.25rem;
}

.poe-simple-html-editor__media-embed-input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.65rem 0.6rem 0.45rem;
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--bs-gray-900, #181c32);
    background: var(--bs-body-bg, #fff);
    border: 1px solid var(--bs-gray-400, #b5b5c3);
    border-radius: 0.35rem;
    outline: none;
    transition:
        border-color 0.12s ease,
        box-shadow 0.12s ease;
}

.poe-simple-html-editor__media-embed-input:hover {
    border-color: var(--bs-gray-500, #a1a5b7);
}

.poe-simple-html-editor__media-embed-input:focus {
    border-color: var(--bs-primary, #3e97ff);
    box-shadow: 0 0 0 2px rgba(62, 151, 255, 0.2);
}

.poe-simple-html-editor__media-floating-label {
    position: absolute;
    left: 0.5rem;
    top: 0;
    transform: translateY(-50%);
    padding: 0 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--bs-gray-600, #7e8299);
    background: var(--bs-body-bg, #fff);
    pointer-events: none;
    line-height: 1;
}

.poe-simple-html-editor__media-embed-input:focus + .poe-simple-html-editor__media-floating-label,
.poe-simple-html-editor__media-embed-input:not(:placeholder-shown) + .poe-simple-html-editor__media-floating-label {
    color: var(--bs-primary, #3e97ff);
}

.poe-simple-html-editor__media-embed-help {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--bs-gray-600, #7e8299);
}

.poe-simple-html-editor__media-embed-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.65rem 0.65rem;
    border-top: 1px solid var(--bs-gray-200, #eff2f5);
    background: var(--bs-gray-100, #f9f9f9);
}

.poe-simple-html-editor__media-embed-cancel {
    padding: 0.35rem 0.65rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--bs-gray-700, #5e6278);
    background: transparent;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
}

.poe-simple-html-editor__media-embed-cancel:hover {
    background: var(--bs-gray-200, #eff2f5);
    color: var(--bs-gray-900, #181c32);
}

.poe-simple-html-editor__media-embed-insert {
    padding: 0.4rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #fff;
    background: var(--bs-success, #50cd89);
    border: 1px solid transparent;
    border-radius: 0.35rem;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.poe-simple-html-editor__media-embed-insert:hover {
    filter: brightness(0.96);
}

.poe-simple-html-editor__media-embed-insert:active {
    transform: translateY(0.5px);
}

[data-bs-theme='dark'] .poe-simple-html-editor__media-embed-panel {
    background: var(--bs-gray-100, #1b1c22);
    border-color: var(--bs-gray-300, #363843);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.35);
}

[data-bs-theme='dark'] .poe-simple-html-editor__media-embed-header {
    border-bottom-color: var(--bs-gray-300, #363843);
}

[data-bs-theme='dark'] .poe-simple-html-editor__media-embed-title {
    color: var(--bs-gray-200, #f4f4f4);
}

[data-bs-theme='dark'] .poe-simple-html-editor__media-embed-input {
    background: var(--bs-gray-100, #1b1c22);
    color: var(--bs-gray-200, #f4f4f4);
    border-color: var(--bs-gray-500, #565674);
}

[data-bs-theme='dark'] .poe-simple-html-editor__media-floating-label {
    background: var(--bs-gray-100, #1b1c22);
    color: var(--bs-gray-500, #a1a5b7);
}

[data-bs-theme='dark'] .poe-simple-html-editor__media-embed-input:focus + .poe-simple-html-editor__media-floating-label,
[data-bs-theme='dark']
    .poe-simple-html-editor__media-embed-input:not(:placeholder-shown)
    + .poe-simple-html-editor__media-floating-label {
    color: var(--bs-primary, #6ea8fe);
}

[data-bs-theme='dark'] .poe-simple-html-editor__media-embed-footer {
    background: rgba(0, 0, 0, 0.2);
    border-top-color: var(--bs-gray-300, #363843);
}

[data-bs-theme='dark'] .poe-simple-html-editor__media-embed-help {
    color: var(--bs-gray-500, #a1a5b7);
}

.poe-simple-html-editor__table-insert-panel {
    display: none;
    position: absolute;
    z-index: 1084;
    left: 0;
    top: calc(100% - 0.25rem);
    margin-top: 0.25rem;
    width: auto;
    min-width: 11rem;
    max-width: 92vw;
    padding: 0.45rem 0.5rem 0.5rem;
    background: var(--bs-body-bg, #fff);
    border: 1px solid var(--bs-gray-300, #e4e6ef);
    border-radius: 0.475rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
}

.poe-simple-html-editor__table-insert-panel:not([hidden]) {
    display: block;
    transform-origin: top left;
    animation: poe-editor-flyout-in 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.poe-simple-html-editor__table-insert-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(10, 1fr);
    gap: 2px;
    width: fit-content;
    margin: 0 auto 0.35rem;
}

.poe-simple-html-editor__table-insert-pixel {
    display: block;
    width: 14px;
    height: 14px;
    box-sizing: border-box;
    border: 1px solid var(--bs-gray-300, #e4e6ef);
    border-radius: 2px;
    background: var(--bs-body-bg, #fff);
    cursor: pointer;
    transition:
        background-color 0.08s ease,
        border-color 0.08s ease;
}

.poe-simple-html-editor__table-insert-pixel.is-active {
    background: rgba(62, 151, 255, 0.22);
    border-color: var(--bs-primary, #3e97ff);
}

.poe-simple-html-editor__table-insert-dims {
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--bs-gray-700, #5e6278);
    margin-bottom: 0.35rem;
    font-variant-numeric: tabular-nums;
}

.poe-simple-html-editor__table-insert-footer {
    border-top: 1px solid var(--bs-gray-200, #eff2f5);
    padding-top: 0.35rem;
}

.poe-simple-html-editor__table-insert-header-lbl {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    font-size: 0.75rem;
    color: var(--bs-gray-700, #5e6278);
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.poe-simple-html-editor__table-insert-header-cb {
    flex-shrink: 0;
    margin: 0;
}

[data-bs-theme='dark'] .poe-simple-html-editor__table-insert-panel {
    background: var(--bs-gray-100, #1b1c22);
    border-color: var(--bs-gray-300, #363843);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.35);
}

[data-bs-theme='dark'] .poe-simple-html-editor__table-insert-pixel {
    background: var(--bs-gray-100, #1b1c22);
    border-color: var(--bs-gray-400, #565674);
}

[data-bs-theme='dark'] .poe-simple-html-editor__table-insert-pixel.is-active {
    background: rgba(110, 168, 254, 0.2);
    border-color: var(--bs-primary, #6ea8fe);
}

[data-bs-theme='dark'] .poe-simple-html-editor__table-insert-dims,
[data-bs-theme='dark'] .poe-simple-html-editor__table-insert-header-lbl {
    color: var(--bs-gray-500, #a1a5b7);
}

[data-bs-theme='dark'] .poe-simple-html-editor__table-insert-footer {
    border-top-color: var(--bs-gray-300, #363843);
}

.poe-simple-html-editor__help-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--bs-gray-200, #eff2f5);
}

.poe-simple-html-editor__help-title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--bs-gray-900, #181c32);
    line-height: 1.25;
}

.poe-simple-html-editor__help-title:focus {
    outline: 0;
}

.poe-simple-html-editor__help-title:focus-visible {
    border-radius: 0.2rem;
    box-shadow: 0 0 0 2px var(--bs-body-bg, #fff), 0 0 0 4px var(--bs-primary, #3e97ff);
}

[data-bs-theme='dark'] .poe-simple-html-editor__help-title:focus-visible {
    box-shadow: 0 0 0 2px var(--bs-gray-100, #1b1c22), 0 0 0 4px var(--bs-primary, #6ea8fe);
}

.poe-simple-html-editor__help-close {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    background: transparent;
    color: var(--bs-gray-600, #7e8299);
    cursor: pointer;
    touch-action: manipulation;
    transition:
        background-color 0.12s ease,
        color 0.12s ease,
        border-color 0.12s ease,
        box-shadow 0.12s ease,
        transform 0.1s ease;
}

.poe-simple-html-editor__help-close:hover {
    background-color: var(--bs-gray-200, #ebedf3);
    color: var(--bs-gray-800, #3f4254);
}

.poe-simple-html-editor__help-close:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 2px var(--bs-body-bg, #fff), 0 0 0 4px var(--bs-primary, #3e97ff);
}

.poe-simple-html-editor__help-close .poe-simple-html-editor__icon {
    width: 1.0625rem;
    height: 1.0625rem;
}

.poe-simple-html-editor__help-intro {
    margin: 0 0 0.5rem;
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--bs-gray-600, #7e8299);
}

.poe-simple-html-editor__help-dl {
    margin: 0;
    display: grid;
    grid-template-columns: minmax(7.5rem, 38%) 1fr;
    gap: 0.3rem 0.65rem;
    font-size: 0.8125rem;
    line-height: 1.4;
}

.poe-simple-html-editor__help-dl dt {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.2rem;
    font-weight: 600;
    color: var(--bs-gray-800, #3f4254);
}

.poe-simple-html-editor__help-dl kbd {
    display: inline-block;
    padding: 0.14em 0.42em;
    font-family:
        ui-monospace,
        'Cascadia Code',
        'Source Code Pro',
        Menlo,
        Consolas,
        monospace;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--bs-gray-800, #3f4254);
    white-space: nowrap;
    border: 1px solid var(--bs-gray-300, #e4e6ef);
    border-radius: 0.2rem;
    background: linear-gradient(180deg, var(--bs-body-bg, #fff) 0%, var(--bs-gray-100, #f9f9f9) 100%);
    box-shadow: 0 0.0625rem 0 rgba(15, 23, 42, 0.06);
}

.poe-simple-html-editor__help-key-sep {
    color: var(--bs-gray-500, #a1a5b7);
    font-weight: 400;
    font-size: 0.75rem;
    user-select: none;
}

.poe-simple-html-editor__help-dl dd {
    margin: 0;
    color: var(--bs-gray-700, #5e6278);
}

[data-bs-theme='dark'] .poe-simple-html-editor__help-panel {
    background: var(--bs-gray-100, #1b1c22);
    border-color: var(--bs-gray-300, #363843);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.35);
}

[data-bs-theme='dark'] .poe-simple-html-editor__help-header {
    border-bottom-color: var(--bs-gray-300, #363843);
}

[data-bs-theme='dark'] .poe-simple-html-editor__help-title {
    color: var(--bs-gray-100, #f5f5f8);
}

[data-bs-theme='dark'] .poe-simple-html-editor__help-close {
    color: var(--bs-gray-500, #a1a5b7);
}

[data-bs-theme='dark'] .poe-simple-html-editor__help-close:hover {
    background-color: var(--bs-gray-200, #2b2c35);
    color: var(--bs-gray-700, #d1d3e0);
}

[data-bs-theme='dark'] .poe-simple-html-editor__help-intro {
    color: var(--bs-gray-500, #a1a5b7);
}

[data-bs-theme='dark'] .poe-simple-html-editor__help-dl dt {
    color: var(--bs-gray-300, #d1d3e0);
}

[data-bs-theme='dark'] .poe-simple-html-editor__help-dl kbd {
    color: var(--bs-gray-200, #ebedf3);
    border-color: var(--bs-gray-500, #565674);
    background: linear-gradient(180deg, var(--bs-gray-200, #2b2c35) 0%, var(--bs-gray-300, #363843) 100%);
    box-shadow: 0 0.0625rem 0 rgba(0, 0, 0, 0.25);
}

[data-bs-theme='dark'] .poe-simple-html-editor__help-key-sep {
    color: var(--bs-gray-600, #7e8299);
}

[data-bs-theme='dark'] .poe-simple-html-editor__help-dl dd {
    color: var(--bs-gray-500, #a1a5b7);
}

.poe-simple-html-editor__emoji-toggle[aria-expanded='true'],
.poe-simple-html-editor__table-insert-toggle[aria-expanded='true'],
.poe-simple-html-editor__media-embed-toggle[aria-expanded='true'],
.poe-simple-html-editor__help-toggle[aria-expanded='true'] {
    background-color: rgba(62, 151, 255, 0.12);
    color: var(--bs-primary, #3e97ff);
    border-color: rgba(62, 151, 255, 0.22);
}

[data-bs-theme='dark'] .poe-simple-html-editor__emoji-toggle[aria-expanded='true'],
[data-bs-theme='dark'] .poe-simple-html-editor__table-insert-toggle[aria-expanded='true'],
[data-bs-theme='dark'] .poe-simple-html-editor__media-embed-toggle[aria-expanded='true'],
[data-bs-theme='dark'] .poe-simple-html-editor__help-toggle[aria-expanded='true'] {
    background-color: rgba(110, 168, 254, 0.14);
    color: var(--bs-primary, #6ea8fe);
    border-color: rgba(110, 168, 254, 0.28);
}

.poe-simple-html-editor__emoji-toggle[aria-expanded='true']:hover,
.poe-simple-html-editor__table-insert-toggle[aria-expanded='true']:hover,
.poe-simple-html-editor__media-embed-toggle[aria-expanded='true']:hover,
.poe-simple-html-editor__help-toggle[aria-expanded='true']:hover {
    background-color: rgba(62, 151, 255, 0.16);
    border-color: rgba(62, 151, 255, 0.28);
}

[data-bs-theme='dark'] .poe-simple-html-editor__emoji-toggle[aria-expanded='true']:hover,
[data-bs-theme='dark'] .poe-simple-html-editor__table-insert-toggle[aria-expanded='true']:hover,
[data-bs-theme='dark'] .poe-simple-html-editor__media-embed-toggle[aria-expanded='true']:hover,
[data-bs-theme='dark'] .poe-simple-html-editor__help-toggle[aria-expanded='true']:hover {
    background-color: rgba(110, 168, 254, 0.18);
    border-color: rgba(110, 168, 254, 0.34);
}

.poe-simple-html-editor__emoji-section-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--bs-gray-600, #7e8299);
    margin: 0.35rem 0 0.25rem;
}

.poe-simple-html-editor__emoji-section-label:first-child {
    margin-top: 0;
}

.poe-simple-html-editor__emoji-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 0.15rem;
}

.poe-simple-html-editor__emoji-cell {
    border: 0;
    border-radius: 0.35rem;
    padding: 0.2rem 0;
    font-size: 1.25rem;
    line-height: 1.35;
    background: transparent;
    cursor: pointer;
    touch-action: manipulation;
    transition: background-color 0.12s ease, transform 0.1s ease;
}

.poe-simple-html-editor__emoji-cell:active {
    transform: scale(0.92);
}

.poe-simple-html-editor__emoji-cell:hover,
.poe-simple-html-editor__emoji-cell:focus-visible {
    background: var(--bs-gray-200, #f4f6fa);
    outline: none;
}

[data-bs-theme="dark"] .poe-simple-html-editor__emoji-panel {
    background: var(--bs-gray-100, #1b1c22);
    border-color: var(--bs-gray-300, #363843);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.35);
}

[data-bs-theme="dark"] .poe-simple-html-editor__emoji-cell:hover,
[data-bs-theme="dark"] .poe-simple-html-editor__emoji-cell:focus-visible {
    background: var(--bs-gray-200, #2b2c35);
}

.poe-simple-html-editor__surface {
    min-height: 10rem;
    max-height: 24rem;
    padding: 0.65rem 0.85rem;
    overflow-y: auto;
    overflow-x: hidden;
    outline: none;
    background-color: var(--bs-body-bg, #fff);
    font-size: 0.9375rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
    word-break: break-word;
    caret-color: var(--bs-primary, #3e97ff);
    contain: layout;
    transition: box-shadow 0.18s ease;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: var(--bs-gray-400, #b5b5c3) transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/*
 * align özniteliği (SanitizeRichDescription çıktısı): tema/reboot bazen görsel ipucunu uygulamaz.
 * .poe-rich-html — panelde veya vitrinde {!! $html !!} benzeri güvenli HTML için sarmalayıcı sınıf.
 */
.poe-simple-html-editor__surface [align='left'],
.poe-simple-html-editor__surface [align='start'],
.poe-rich-html [align='left'],
.poe-rich-html [align='start'] {
    text-align: left;
}

.poe-simple-html-editor__surface [align='center'],
.poe-rich-html [align='center'] {
    text-align: center;
}

.poe-simple-html-editor__surface [align='right'],
.poe-simple-html-editor__surface [align='end'],
.poe-rich-html [align='right'],
.poe-rich-html [align='end'] {
    text-align: right;
}

.poe-simple-html-editor__surface [align='justify'],
.poe-rich-html [align='justify'] {
    text-align: justify;
}

.poe-rich-html img {
    max-width: 100%;
    height: auto;
}

.poe-rich-html table {
    max-width: 100%;
}

.poe-rich-html iframe,
.poe-simple-html-editor__surface iframe {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.poe-rich-html video,
.poe-simple-html-editor__surface video {
    max-width: 100%;
    height: auto;
}

.poe-simple-html-editor__surface::-webkit-scrollbar {
    width: 0.5rem;
}

.poe-simple-html-editor__surface::-webkit-scrollbar-thumb {
    border-radius: 0.25rem;
    background-color: var(--bs-gray-400, #b5b5c3);
}

.poe-simple-html-editor__surface::-webkit-scrollbar-thumb:hover {
    background-color: var(--bs-gray-500, #a1a5b7);
}

.poe-simple-html-editor__surface:focus {
    box-shadow: inset 0 0 0 2px rgba(62, 151, 255, 0.22);
}

.poe-simple-html-editor__surface[aria-invalid='true']:not(:focus) {
    box-shadow: inset 0 0 0 2px rgba(241, 65, 108, 0.28);
}

.poe-simple-html-editor__surface[aria-invalid='true']:focus {
    box-shadow: inset 0 0 0 2px rgba(241, 65, 108, 0.45);
}

.poe-simple-html-editor__surface::selection,
.poe-simple-html-editor__surface *::selection {
    background-color: rgba(62, 151, 255, 0.22);
    color: inherit;
}

[data-bs-theme='dark'] .poe-simple-html-editor__surface::selection,
[data-bs-theme='dark'] .poe-simple-html-editor__surface *::selection {
    background-color: rgba(110, 168, 254, 0.28);
    color: inherit;
}

.poe-simple-html-editor__surface--show-placeholder:before {
    content: attr(data-placeholder);
    color: var(--bs-gray-500, #a1a5b7);
    pointer-events: none;
    font-style: italic;
    opacity: 0.9;
    letter-spacing: 0.01em;
}

.poe-simple-html-editor--readonly .poe-simple-html-editor__surface--show-placeholder:before {
    content: none;
}

[data-bs-theme='dark'] .poe-simple-html-editor__surface {
    background-color: var(--bs-gray-100, #1b1c22);
    scrollbar-color: var(--bs-gray-500, #565674) transparent;
    caret-color: var(--bs-primary, #6ea8fe);
}

[data-bs-theme='dark'] .poe-simple-html-editor__surface:focus {
    box-shadow: inset 0 0 0 2px rgba(110, 168, 254, 0.35);
}

[data-bs-theme='dark'] .poe-simple-html-editor__surface[aria-invalid='true']:not(:focus) {
    box-shadow: inset 0 0 0 2px rgba(241, 65, 108, 0.35);
}

[data-bs-theme='dark'] .poe-simple-html-editor__surface[aria-invalid='true']:focus {
    box-shadow: inset 0 0 0 2px rgba(241, 65, 108, 0.5);
}

[data-bs-theme='dark'] .poe-simple-html-editor__surface::-webkit-scrollbar-thumb {
    background-color: var(--bs-gray-500, #565674);
}

[data-bs-theme='dark'] .poe-simple-html-editor__surface::-webkit-scrollbar-thumb:hover {
    background-color: var(--bs-gray-600, #7e8299);
}

.poe-simple-html-editor__surface > *:first-child {
    margin-top: 0;
}

.poe-simple-html-editor__surface p {
    margin: 0.5em 0;
}

.poe-simple-html-editor__surface h1 {
    margin: 0.65rem 0 0.35rem;
    font-size: 1.625rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--bs-gray-900, #181c32);
}

.poe-simple-html-editor__surface h2 {
    margin: 0.6rem 0 0.3rem;
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.22;
    color: var(--bs-gray-900, #181c32);
}

.poe-simple-html-editor__surface h3 {
    margin: 0.55rem 0 0.28rem;
    font-size: 1.1875rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--bs-gray-900, #181c32);
}

.poe-simple-html-editor__surface h4 {
    margin: 0.5rem 0 0.25rem;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--bs-gray-900, #181c32);
}

.poe-simple-html-editor__surface h5 {
    margin: 0.45rem 0 0.22rem;
    font-size: 0.96875rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--bs-gray-800, #3f4254);
}

.poe-simple-html-editor__surface h6 {
    margin: 0.45rem 0 0.2rem;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--bs-gray-600, #7e8299);
}

[data-bs-theme='dark'] .poe-simple-html-editor__surface :is(h1, h2, h3, h4, h5) {
    color: var(--bs-gray-100, #f5f5f8);
}

[data-bs-theme='dark'] .poe-simple-html-editor__surface h5 {
    color: var(--bs-gray-200, #ebedf3);
}

[data-bs-theme='dark'] .poe-simple-html-editor__surface h6 {
    color: var(--bs-gray-500, #a1a5b7);
}

.poe-simple-html-editor__surface strong,
.poe-simple-html-editor__surface b {
    font-weight: 600;
}

.poe-simple-html-editor__surface em,
.poe-simple-html-editor__surface i {
    font-style: italic;
}

.poe-simple-html-editor__surface s,
.poe-simple-html-editor__surface strike,
.poe-simple-html-editor__surface del {
    text-decoration: line-through;
    text-decoration-thickness: 0.08em;
    color: var(--bs-gray-600, #7e8299);
}

[data-bs-theme='dark'] .poe-simple-html-editor__surface s,
[data-bs-theme='dark'] .poe-simple-html-editor__surface strike,
[data-bs-theme='dark'] .poe-simple-html-editor__surface del {
    color: var(--bs-gray-500, #a1a5b7);
}

.poe-simple-html-editor__surface sup,
.poe-simple-html-editor__surface sub {
    font-size: 0.75em;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

.poe-simple-html-editor__surface sup {
    top: -0.35em;
}

.poe-simple-html-editor__surface sub {
    bottom: -0.2em;
}

.poe-simple-html-editor__surface a {
    color: var(--bs-primary, #3e97ff);
    text-decoration: underline;
    text-decoration-thickness: 0.07em;
    text-underline-offset: 0.14em;
}

.poe-simple-html-editor__surface a:hover {
    color: var(--bs-link-hover-color, #0b5ed7);
}

.poe-simple-html-editor__surface a:focus-visible {
    outline: 0;
    border-radius: 0.125rem;
    box-shadow: 0 0 0 2px var(--bs-body-bg, #fff), 0 0 0 4px rgba(62, 151, 255, 0.45);
}

[data-bs-theme='dark'] .poe-simple-html-editor__surface a {
    color: var(--bs-primary, #6ea8fe);
}

[data-bs-theme='dark'] .poe-simple-html-editor__surface a:hover {
    color: var(--bs-link-hover-color, #9ec5fe);
}

[data-bs-theme='dark'] .poe-simple-html-editor__surface a:focus-visible {
    box-shadow: 0 0 0 2px var(--bs-gray-100, #1b1c22), 0 0 0 4px rgba(110, 168, 254, 0.45);
}

.poe-simple-html-editor__surface code {
    padding: 0.08em 0.32em;
    font-family:
        ui-monospace,
        'Cascadia Code',
        'Source Code Pro',
        Menlo,
        Consolas,
        monospace;
    font-size: 0.9em;
    font-weight: 500;
    color: var(--bs-gray-900, #181c32);
    border-radius: 0.2rem;
    background-color: var(--bs-gray-200, #ebedf3);
    border: 1px solid var(--bs-gray-300, #e4e6ef);
}

[data-bs-theme='dark'] .poe-simple-html-editor__surface code {
    color: var(--bs-gray-100, #f5f5f8);
    background-color: var(--bs-gray-300, #363843);
    border-color: var(--bs-gray-500, #565674);
}

.poe-simple-html-editor__surface ul,
.poe-simple-html-editor__surface ol {
    margin: 0.35rem 0;
    padding-left: 1.35rem;
}

.poe-simple-html-editor__surface li {
    margin: 0.12em 0;
}

.poe-simple-html-editor__surface li::marker {
    color: var(--bs-gray-600, #7e8299);
}

[data-bs-theme='dark'] .poe-simple-html-editor__surface li::marker {
    color: var(--bs-gray-500, #a1a5b7);
}

.poe-simple-html-editor__surface blockquote {
    margin: 0.5rem 0;
    padding: 0.35rem 0.65rem 0.35rem 0.75rem;
    border-left: 3px solid rgba(62, 151, 255, 0.45);
    border-radius: 0 0.25rem 0.25rem 0;
    background-color: rgba(62, 151, 255, 0.05);
    color: var(--bs-gray-700, #5e6278);
    font-style: italic;
}

[data-bs-theme='dark'] .poe-simple-html-editor__surface blockquote {
    border-left-color: rgba(110, 168, 254, 0.5);
    background-color: rgba(110, 168, 254, 0.08);
    color: var(--bs-gray-500, #a1a5b7);
}

.poe-simple-html-editor__surface hr {
    margin: 0.65rem 0;
    border: 0;
    border-top: 1px solid var(--bs-gray-300, #e4e6ef);
}

[data-bs-theme='dark'] .poe-simple-html-editor__surface hr {
    border-top-color: var(--bs-gray-400, #565674);
}

.poe-simple-html-editor__surface img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border-radius: 0.25rem;
}

.poe-simple-html-editor__surface table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin: 0.35rem 0;
    font-size: 0.875rem;
}

.poe-simple-html-editor__surface caption {
    caption-side: top;
    padding: 0.35rem 0.4rem 0.45rem;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--bs-gray-700, #5e6278);
    text-align: start;
}

[data-bs-theme='dark'] .poe-simple-html-editor__surface caption {
    color: var(--bs-gray-500, #a1a5b7);
}

.poe-simple-html-editor__surface th,
.poe-simple-html-editor__surface td {
    border: 1px solid var(--bs-gray-400, #b5b5c3);
    padding: 0.3rem 0.45rem;
    min-width: 2.25rem;
    vertical-align: top;
}

.poe-simple-html-editor__surface th {
    font-weight: 600;
    background-color: var(--bs-gray-200, #f4f6fa);
}

.poe-simple-html-editor__surface tbody tr:nth-child(even) td {
    background-color: rgba(15, 23, 42, 0.028);
}

[data-bs-theme='dark'] .poe-simple-html-editor__surface tbody tr:nth-child(even) td {
    background-color: rgba(255, 255, 255, 0.04);
}

[data-bs-theme="dark"] .poe-simple-html-editor__surface th {
    background-color: var(--bs-gray-300, #363843);
}

[data-bs-theme="dark"] .poe-simple-html-editor__surface th,
[data-bs-theme="dark"] .poe-simple-html-editor__surface td {
    border-color: var(--bs-gray-500, #565674);
}

@media (prefers-reduced-motion: reduce) {
    .poe-simple-html-editor--framed,
    .poe-simple-html-editor__surface {
        transition: none !important;
    }

    .poe-simple-html-editor__surface--show-placeholder:before {
        transition: none !important;
        opacity: 1 !important;
    }

    .poe-simple-html-editor__group,
    .poe-simple-html-editor__group:focus-within {
        transition: none !important;
    }

    .poe-simple-html-editor__tb-btn {
        transition: none !important;
    }

    .poe-simple-html-editor__tb-btn--icon .poe-simple-html-editor__icon {
        transition: none !important;
    }

    .poe-simple-html-editor__tb-btn:hover:not(:disabled) {
        transform: none !important;
        box-shadow: none !important;
    }

    .poe-simple-html-editor__tb-btn:active {
        transform: none !important;
        box-shadow: none !important;
    }

    .poe-simple-html-editor__styles-select {
        transition: none !important;
    }

    .poe-simple-html-editor__styles-select:hover:not(:disabled) {
        transform: none !important;
        box-shadow: none !important;
    }

    .poe-simple-html-editor__help-close:hover {
        transform: none !important;
        box-shadow: none !important;
    }

    .poe-simple-html-editor__emoji-panel:not([hidden]),
    .poe-simple-html-editor__table-insert-panel:not([hidden]),
    .poe-simple-html-editor__help-panel:not([hidden]),
    .poe-simple-html-editor__source-panel:not([hidden]),
    .poe-simple-html-editor__find-panel:not([hidden]) {
        animation: none !important;
    }

    .poe-simple-html-editor__help-close {
        transition: none !important;
    }

    .poe-simple-html-editor__emoji-cell {
        transition: none !important;
    }

    .poe-simple-html-editor__emoji-cell:active {
        transform: none !important;
    }
}

@media (prefers-contrast: more) {
    .poe-simple-html-editor--framed {
        border-width: 2px;
        border-color: var(--bs-gray-800, #3f4254);
    }

    [data-bs-theme='dark'] .poe-simple-html-editor--framed {
        border-color: var(--bs-gray-100, #f5f5f8);
    }

    .poe-simple-html-editor__toolbar {
        border-bottom-width: 2px;
        border-bottom-color: var(--bs-gray-800, #3f4254);
    }

    [data-bs-theme='dark'] .poe-simple-html-editor__toolbar {
        border-bottom-color: var(--bs-gray-100, #f5f5f8);
    }

    .poe-simple-html-editor__footer {
        border-top-width: 2px;
        border-top-color: var(--bs-gray-800, #3f4254);
    }

    [data-bs-theme='dark'] .poe-simple-html-editor__footer {
        border-top-color: var(--bs-gray-100, #f5f5f8);
    }

    .poe-simple-html-editor__tb-btn:focus-visible {
        box-shadow: 0 0 0 2px var(--bs-body-bg, #fff), 0 0 0 5px var(--bs-primary, #3e97ff);
    }

    [data-bs-theme='dark'] .poe-simple-html-editor__tb-btn:focus-visible {
        box-shadow: 0 0 0 2px var(--bs-gray-100, #1b1c22), 0 0 0 5px var(--bs-primary, #6ea8fe);
    }

    .poe-simple-html-editor__styles-select:focus-visible {
        box-shadow: 0 0 0 2px var(--bs-body-bg, #fff), 0 0 0 5px var(--bs-primary, #3e97ff);
    }

    [data-bs-theme='dark'] .poe-simple-html-editor__styles-select:focus-visible {
        box-shadow: 0 0 0 2px var(--bs-gray-100, #1b1c22), 0 0 0 5px var(--bs-primary, #6ea8fe);
    }

    .poe-simple-html-editor__help-close:focus-visible {
        box-shadow: 0 0 0 2px var(--bs-body-bg, #fff), 0 0 0 5px var(--bs-primary, #3e97ff);
    }

    [data-bs-theme='dark'] .poe-simple-html-editor__help-close:focus-visible {
        box-shadow: 0 0 0 2px var(--bs-gray-100, #1b1c22), 0 0 0 5px var(--bs-primary, #6ea8fe);
    }

    .poe-simple-html-editor__surface th,
    .poe-simple-html-editor__surface td {
        border-width: 2px;
        border-color: var(--bs-gray-800, #3f4254);
    }

    [data-bs-theme='dark'] .poe-simple-html-editor__surface th,
    [data-bs-theme='dark'] .poe-simple-html-editor__surface td {
        border-color: var(--bs-gray-100, #f5f5f8);
    }
}
