.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: #f9423a;
}

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

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

.tw-icon-green {
    color: #339f00;
}

.tw-icon-blue {
    color: #005fb0;
}

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

.tw-icon-cyan {
    color: #009ace;
}

.tw-icon-violet {
    color: #666aba;
}

.tw-icon-magenta {
    color: #ff3eb5;
}

.tw-icon-dark {
    color: #27292f;
}

.tw-icon-black {
    color: #000000;
}

.tw-icon-cream {
    color: #8a856f;
}

.tw-icon-ink {
    color: #3d4654;
}

.tw-icon-white {
    color: #9aa0ab;
}

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

.tw-highlight-red,
.tw-highlight-orange,
.tw-highlight-yellow,
.tw-highlight-green,
.tw-highlight-blue,
.tw-highlight-pink,
.tw-highlight-cyan,
.tw-highlight-violet,
.tw-highlight-magenta,
.tw-highlight-dark,
.tw-highlight-black,
.tw-highlight-cream,
.tw-highlight-ink,
.tw-highlight-white {
    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(249, 66, 58, 0.28);
}

.tw-highlight-orange {
    background-color: rgba(252, 146, 0, 0.27);
}

.tw-highlight-yellow {
    background-color: rgba(255, 233, 0, 0.36);
}

.tw-highlight-green {
    background-color: rgba(51, 159, 0, 0.24);
}

.tw-highlight-blue {
    background-color: rgba(0, 95, 176, 0.24);
}

.tw-highlight-pink {
    background-color: rgba(255, 62, 181, 0.26);
}

.tw-highlight-cyan {
    background-color: rgba(0, 154, 206, 0.24);
}

.tw-highlight-violet {
    background-color: rgba(102, 106, 186, 0.24);
}

.tw-highlight-magenta {
    background-color: rgba(255, 62, 181, 0.26);
}

.tw-highlight-dark {
    background-color: rgba(39, 41, 47, 0.2);
}

.tw-highlight-black {
    background-color: rgba(0, 0, 0, 0.18);
}

.tw-highlight-cream {
    background-color: rgba(250, 248, 237, 0.96);
}

.tw-highlight-ink {
    background-color: rgba(61, 70, 84, 0.2);
}

.tw-highlight-white {
    background-color: rgba(255, 255, 255, 0.95);
}

.tw-underline-red,
.tw-underline-orange,
.tw-underline-yellow,
.tw-underline-green,
.tw-underline-blue,
.tw-underline-pink,
.tw-underline-cyan,
.tw-underline-violet,
.tw-underline-magenta,
.tw-underline-dark,
.tw-underline-black,
.tw-underline-cream,
.tw-underline-ink,
.tw-underline-white {
    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(249, 66, 58, 0.58);
}

.tw-underline-orange {
    text-decoration-color: rgba(252, 146, 0, 0.58);
}

.tw-underline-yellow {
    text-decoration-color: rgba(255, 233, 0, 0.62);
}

.tw-underline-green {
    text-decoration-color: rgba(51, 159, 0, 0.58);
}

.tw-underline-blue {
    text-decoration-color: rgba(0, 95, 176, 0.58);
}

.tw-underline-pink {
    text-decoration-color: rgba(255, 62, 181, 0.58);
}

.tw-underline-cyan {
    text-decoration-color: rgba(0, 154, 206, 0.58);
}

.tw-underline-violet {
    text-decoration-color: rgba(102, 106, 186, 0.58);
}

.tw-underline-magenta {
    text-decoration-color: rgba(255, 62, 181, 0.58);
}

.tw-underline-dark {
    text-decoration-color: rgba(39, 41, 47, 0.6);
}

.tw-underline-black {
    text-decoration-color: rgba(0, 0, 0, 0.64);
}

.tw-underline-cream {
    text-decoration-color: rgba(218, 208, 170, 0.75);
}

.tw-underline-ink {
    text-decoration-color: rgba(61, 70, 84, 0.62);
}

.tw-underline-white {
    text-decoration-color: rgba(255, 255, 255, 0.78);
}

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

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

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

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

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

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

.tw-text-cyan {
    color: #009ace !important;
    font-weight: 700;
}

.tw-text-violet {
    color: #666aba !important;
    font-weight: 700;
}

.tw-text-magenta {
    color: #ff3eb5 !important;
    font-weight: 700;
}

.tw-text-dark {
    color: #27292f !important;
    font-weight: 700;
}

.tw-text-black {
    color: #000000 !important;
    font-weight: 700;
}

.tw-text-cream {
    color: #afa78c !important;
    font-weight: 700;
}

.tw-text-ink {
    color: #3d4654 !important;
    font-weight: 700;
}

.tw-text-white {
    color: #f2f2f2 !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;
}
