* { margin: 0; padding: 0; box-sizing: border-box; }

body {
	font-family: system-ui, -apple-system, sans-serif;
	background: #f5f5f5;
	color: #333;
	line-height: 1.5;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1rem;
}

header {
	background: #1a1a2e;
	color: #fff;
	padding: 1rem 0;
	margin-bottom: 1.5rem;
}

header h1 {
	font-size: 1.25rem;
	font-weight: 600;
}

.summary {
	display: flex;
	gap: 1rem;
	margin-bottom: 1.5rem;
	flex-wrap: wrap;
}

.summary-card {
	background: #fff;
	border-radius: 6px;
	padding: 0.75rem 1.25rem;
	border: 1px solid #e0e0e0;
	min-width: 120px;
}

.summary-card .count {
	font-size: 1.5rem;
	font-weight: 700;
}

.summary-card .label {
	font-size: 0.8rem;
	color: #666;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

table {
	width: 100%;
	background: #fff;
	border-radius: 6px;
	border: 1px solid #e0e0e0;
	border-collapse: collapse;
	font-size: 0.9rem;
}

th, td {
	text-align: left;
	padding: 0.6rem 0.75rem;
	border-bottom: 1px solid #eee;
}

th {
	background: #fafafa;
	font-weight: 600;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #555;
}

tr:last-child td {
	border-bottom: none;
}

tr:hover td {
	background: #f9f9f9;
}

a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }

.badge {
	display: inline-block;
	padding: 0.15rem 0.5rem;
	border-radius: 3px;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
}

.badge-building   { background: #dbeafe; color: #1d4ed8; }
.badge-succeeded  { background: #dcfce7; color: #15803d; }
.badge-failed     { background: #fee2e2; color: #b91c1c; }
.badge-noop       { background: #f3f4f6; color: #6b7280; }
.badge-errnonode  { background: #fef3c7; color: #92400e; }
.badge-completed  { background: #e0e7ff; color: #4338ca; }

.detail-grid {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 0.25rem 1rem;
	background: #fff;
	padding: 1.25rem;
	border-radius: 6px;
	border: 1px solid #e0e0e0;
}

.detail-grid dt {
	font-weight: 600;
	color: #555;
	font-size: 0.85rem;
}

.detail-grid dd {
	font-family: ui-monospace, monospace;
	font-size: 0.85rem;
	word-break: break-all;
}

.historical {
	opacity: 0.7;
}

.empty-state {
	text-align: center;
	padding: 3rem;
	color: #666;
}

.log-container {
	background: #1a1a2e;
	border-radius: 6px;
	max-height: 600px;
	overflow: auto;
}

.log-output, .log-pre {
	padding: 1rem;
	font-family: ui-monospace, monospace;
	font-size: 0.8rem;
	line-height: 1.4;
	color: #e0e0e0;
	margin: 0;
}

.log-line {
	white-space: pre-wrap;
	word-break: break-all;
}
