.rich-toolbar {
    display: flex;
    gap: 5px;
    padding: 6px;
    border: 1px solid #d0d5dd;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background: #f2f4f7;
}

.rich-toolbar button {
    width: 34px;
    height: 30px;
    border: 1px solid #c7cdd6;
    border-radius: 5px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
}

.rich-toolbar button:hover {
    border-color: #667085;
    background: #f9fafb;
}

.rich-note-editor {
    min-height: 88px;
    max-height: 260px;
    overflow: auto;
    padding: 10px 12px;
    border: 1px solid #d0d5dd;
    border-radius: 0 0 8px 8px;
    background: #fff;
    line-height: 1.5;
}

.rich-note-editor:focus {
    outline: 3px solid #dbeafe;
    border-color: #2e90fa;
}

.note-text > span {
    display: block;
    margin-bottom: 6px;
    color: #475467;
    font-size: 12px;
    font-weight: 750;
}

.global-note-row {
    grid-template-columns: minmax(300px, 1fr) 110px 210px minmax(210px, 240px) auto;
}

.stop-note-panel .note-editor-row {
    grid-template-columns: minmax(320px, 1fr) 120px auto;
}

.global-note-row .note-remove {
    align-self: end;
}

@media (max-width: 1080px) {
    .global-note-row {
        grid-template-columns: 1fr 150px;
    }

    .global-note-row .note-text {
        grid-column: 1 / -1;
    }

    .stop-note-panel .note-editor-row {
        grid-template-columns: 1fr 120px;
    }

    .stop-note-panel .note-text {
        grid-column: 1 / -1;
    }
}

@media (max-width: 800px) {
    .global-note-row {
        grid-template-columns: 1fr;
    }

    .global-note-row .note-text {
        grid-column: auto;
    }

    .stop-note-panel .note-editor-row {
        grid-template-columns: 1fr;
    }

    .stop-note-panel .note-text {
        grid-column: auto;
    }
}
