/* Flow Dashboard subpage. Layered on top of dashboard-widget.css so the
   section / list / item visuals stay consistent with the home-screen
   dashboard widget. Only adds full-page layout and per-row status pill. */

.flow-ew-dashboard-page__section {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	padding: 16px 18px 12px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
	margin: 0 0 18px;
}
.flow-ew-dashboard-page__section:last-child {
	margin-bottom: 0;
}

.flow-ew-dashboard-page__empty {
	margin: 8px 0 0;
	color: #6c7077;
	font-style: italic;
}

.flow-ew-dashboard-page__section .flow-ew-dash-section__title {
	font-size: 15px;
	margin: 0 0 4px;
	padding: 6px 0 6px 10px;
	display: flex;
	align-items: center;
	gap: 8px;
	border-left: 3px solid #c3c4c7;
	color: #1d2327;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* Per-section title accents — same palette as the home-screen Dashboard
   widget (assets/css/dashboard-widget.css) so the two surfaces feel
   stylistically continuous. */
.flow-ew-dash-section--assigned .flow-ew-dash-section__title {
	border-left-color: #dba617;
}
.flow-ew-dash-section--my-requests .flow-ew-dash-section__title {
	border-left-color: #2271b1;
}
.flow-ew-dash-section--open-reviews .flow-ew-dash-section__title {
	border-left-color: #0a4f9e;
}

.flow-ew-dashboard-page__section .flow-ew-dash-section__count {
	background: rgba(0, 0, 0, 0.07);
	color: #50575e;
	padding: 1px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
}

.flow-ew-dashboard-page__section-desc {
	margin: 0 0 12px;
	color: #6c7077;
	font-size: 12px;
}

.flow-ew-dashboard-page__section .flow-ew-dash-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.flow-ew-dashboard-page__section .flow-ew-dash-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 8px 0;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.flow-ew-dashboard-page__section .flow-ew-dash-item:first-child {
	border-top: 0;
}

.flow-ew-dashboard-page__section .flow-ew-dash-item__main {
	flex: 1 1 auto;
	min-width: 0;
}

.flow-ew-dashboard-page__section .flow-ew-dash-item__title {
	display: block;
	font-weight: 600;
	text-decoration: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Edit link + meta share a single sub-line under the title — same
   horizontal grouping as the WP post-list rows ("Edit | Quick Edit |
   View · Post · 11 min ago"). Both are inline; a CSS separator dot
   ("·") gets inserted before the meta only when the Edit link
   precedes it, so rows without Edit just show the meta on its own. */
.flow-ew-dashboard-page__section .flow-ew-dash-item__meta {
	display: inline;
	color: #6c7077;
	font-size: 12px;
}
.flow-ew-dashboard-page__edit {
	display: inline;
	margin: 0;
	font-size: 12px;
	color: #2271b1;
	text-decoration: none;
}
.flow-ew-dashboard-page__edit:hover,
.flow-ew-dashboard-page__edit:focus {
	color: #135e96;
	text-decoration: underline;
}
/* Drop a separator between Edit and the meta on the same line. */
.flow-ew-dashboard-page__edit + .flow-ew-dash-item__meta::before {
	content: "·";
	color: #6c7077;
	margin: 0 6px;
}


/* Per-row status pill. Source of truth for the palette is
   `src/editor-pro/multi-reviewer.scss` (and its mirror in the review-page
   shadow CSS). Keep all of those in lock-step when adjusting any one. */
.flow-ew-dashboard-page__status {
	flex: 0 0 auto;
	font-size: 11px;
	font-weight: 500;
	line-height: 1;
	padding: 4px 10px;
	border-radius: 999px;
	white-space: nowrap;
	align-self: center;
}
.flow-ew-dashboard-page__status--pending {
	color: #757575;
	background: rgba(117, 117, 117, 0.16);
}
.flow-ew-dashboard-page__status--in_review {
	color: #996800;
	background: rgba(153, 104, 0, 0.16);
}
.flow-ew-dashboard-page__status--changes_requested {
	color: #8a2424;
	background: rgba(138, 36, 36, 0.16);
}
.flow-ew-dashboard-page__status--approved {
	color: #1a6b28;
	background: rgba(26, 107, 40, 0.16);
}
.flow-ew-dashboard-page__status--open_review {
	color: #006ba1;
	background: rgba(0, 124, 186, 0.16);
}

.flow-ew-dashboard-page__section .flow-ew-dash-empty {
	margin: 4px 0 0;
	color: #6c7077;
	font-style: italic;
	font-size: 13px;
}
