/* The newsroom rail remains dark in both themes. Native labels must inherit
   their link's normal, hover and active foreground instead of a light-theme ink. */
.fi-sidebar .fi-sidebar-item-btn .fi-sidebar-item-label {
    color: inherit;
}

.fi-sidebar .newsroom-dashboard-row a {
    color: #d8dfdf;
}

.fi-sidebar .newsroom-dashboard-row a:hover,
.fi-sidebar .newsroom-dashboard-row a:focus-visible,
.fi-sidebar .newsroom-dashboard-row a[aria-current='page'] {
    color: #fff;
}

/* A single native toolbar group can contain every tool. Wrap that group, not
   the whole writing section, so focusing its last tool cannot pan the form. */
[data-editor-column='content'] .fi-fo-rich-editor {
    min-inline-size: 0;
    max-inline-size: 100%;
}

[data-editor-column='content'] .fi-fo-rich-editor .fi-fo-rich-editor-toolbar {
    min-inline-size: 0;
    max-inline-size: 100%;
}

[data-editor-column='content'] .fi-fo-rich-editor .fi-fo-rich-editor-toolbar-group {
    flex-wrap: wrap;
    min-inline-size: 0;
    max-inline-size: 100%;
}
