.tw-inline-format-toolbar-group {
    order: 19;
}

.tw-toolbar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
}

.tw-icon-star,
.tw-icon-star-menu {
    font-size: 18px;
}

.tw-icon-pencil,
.tw-icon-pencil-menu {
    font-size: 17px;
}

.tw-icon-palette {
    font-size: 17px;
}

.tw-icon-textcolor-menu {
    font-size: 17px;
    font-weight: 800;
}

.tw-icon-size-m,
.tw-icon-size-l {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
}

.tw-icon-size-m {
    font-size: 15px;
}

.tw-icon-size-l {
    font-size: 18px;
}

.tw-inline-format-toolbar-popover .components-menu-item__item {
    font-weight: 700;
}

.tw-icon-red {
    color: #ef4b43;
}

.tw-icon-orange {
    color: #dd8a4c;
}

.tw-icon-yellow {
    color: #d2a21b;
}

.tw-icon-green {
    color: #78a63d;
}

.tw-icon-blue {
    color: #54bfe6;
}

.tw-icon-pink {
    color: #c58af4;
}

/* v1.9.0: 赤注意は黄色背景なし */
.tw-red-alert {
    color: #ef4b43 !important;
    font-weight: 700;
}

.tw-highlight-red,
.tw-highlight-orange,
.tw-highlight-yellow,
.tw-highlight-green,
.tw-highlight-blue,
.tw-highlight-pink {
    font-weight: 700;
    padding: 0 0.08em;
    border-radius: 0.08em;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.tw-highlight-red {
    background-color: rgba(239, 75, 67, 0.26);
}

.tw-highlight-orange {
    background-color: rgba(255, 202, 154, 0.68);
}

.tw-highlight-yellow {
    background-color: rgba(255, 234, 126, 0.64);
}

.tw-highlight-green {
    background-color: rgba(190, 224, 130, 0.60);
}

.tw-highlight-blue {
    background-color: rgba(160, 230, 248, 0.62);
}

.tw-highlight-pink {
    background-color: rgba(214, 176, 246, 0.60);
}

.tw-underline-red,
.tw-underline-orange,
.tw-underline-yellow,
.tw-underline-green,
.tw-underline-blue,
.tw-underline-pink {
    font-weight: 700;
    text-decoration-line: underline;
    text-decoration-thickness: 0.36em;
    text-underline-offset: 0.20em;
    text-decoration-skip-ink: none;
}

.tw-underline-red {
    text-decoration-color: rgba(239, 75, 67, 0.56);
}

.tw-underline-orange {
    text-decoration-color: rgba(221, 138, 76, 0.55);
}

.tw-underline-yellow {
    text-decoration-color: rgba(240, 211, 90, 0.58);
}

.tw-underline-green {
    text-decoration-color: rgba(150, 194, 88, 0.56);
}

.tw-underline-blue {
    text-decoration-color: rgba(118, 205, 233, 0.56);
}

.tw-underline-pink {
    text-decoration-color: rgba(197, 138, 244, 0.56);
}

.tw-text-red {
    color: #ef4b43 !important;
    font-weight: 700;
}

.tw-text-orange {
    color: #c96b2c !important;
    font-weight: 700;
}

.tw-text-yellow {
    color: #a67a00 !important;
    font-weight: 700;
}

.tw-text-green {
    color: #5b8f2f !important;
    font-weight: 700;
}

.tw-text-blue {
    color: #2e95bf !important;
    font-weight: 700;
}

.tw-text-pink {
    color: #a95ad6 !important;
    font-weight: 700;
}

.tw-size-m {
    font-size: 1.125rem;
    line-height: 1.55;
}

.tw-size-l {
    font-size: 1.25rem;
    line-height: 1.5;
}

/* v1.8.0: ドロップダウン内の選択中表示 */
.tw-toolbar-menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    font-size: 15px;
    line-height: 1;
    font-weight: 800;
    border-radius: 4px;
}

.tw-toolbar-menu-icon-active {
    outline: 2px solid currentColor;
    outline-offset: 2px;
    background-color: rgba(0, 0, 0, 0.04);
}

.tw-menu-control-active .components-menu-item__item,
.tw-inline-format-toolbar-popover .components-menu-item.is-active .components-menu-item__item {
    font-weight: 800;
}

.tw-icon-reset {
    font-size: 20px;
    font-weight: 800;
}

.tw-toolbar-button-reset[disabled] .tw-toolbar-icon {
    opacity: 0.35;
}
