/* Signed Jobs page — list from the "Jobs" tab of the owners' sheet */
.signed {
	position: relative; /* pull-to-refresh spinner */
	width: 100%; /* .pannel is a centered flex box — without this the list shrinks */
	border-top: solid 1px rgb(36, 35, 35);
	padding: 24px 0 max(24px, env(safe-area-inset-bottom));
	max-width: 900px;
	margin: 0 auto;
}

/* header: logo left, icons right (no title on this page) */
.signed-page .pTop {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.signed-page .pTop .ections {
	margin-left: auto;
	justify-self: auto;
	align-items: center;
}
/* the link inside the button sat on the text baseline, so its icon rode higher than the account icon */
.signed-page .icon-btn a {
	display: flex;
}

/* total on top, search under it */
.signed-tools {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	margin-bottom: 20px;
}
.signed .signed-search {
	width: 100%;
	height: 44px;
	padding: 0 16px;
	border: 1px solid #e0e0e0;
	border-radius: 999px;
	background: #f5f5f5;
	font-family: inherit;
	font-size: 15px;
	outline: none;
}
.signed .signed-search:focus {
	border-color: #f5a800;
	background: #fff;
}
.signed-total {
	font-size: 15px;
	color: #666;
	text-align: center;
}
.signed-total b {
	color: #000;
}

.signed-status,
.signed-empty {
	color: #888;
	text-align: center;
	padding: 24px 0;
}

.signed-month {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	margin-bottom: 16px;
	overflow: hidden;
}
.signed-month h2 {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin: 0;
	padding: 12px 16px;
	background: #fafafa;
	border-bottom: 1px solid #eee;
	border-left: 4px solid #f5a800;
	font-family: 'DM Sans', sans-serif;
	font-size: 15px;
}
.signed-month h2 small {
	margin-left: auto;
	font-size: 13px;
	font-weight: 600;
	color: #666;
}

.signed-job {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 14px 16px;
}
.signed-job + .signed-job {
	border-top: 1px solid #f0f0f0;
}
.signed-main {
	flex: 1;
	min-width: 0;
}
.signed-name {
	font-size: 15px;
	font-weight: 700;
	color: #111;
}
.signed-customer {
	margin-top: 3px;
	font-size: 13px;
	color: #777;
}
.signed-notes {
	margin-top: 6px;
	font-size: 12px;
	color: #7a5d00;
}
.signed-side {
	flex-shrink: 0;
	text-align: right;
}
.signed-amount {
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #000;
}
.signed-date {
	margin-top: 3px;
	font-size: 12px;
	color: #888;
}

@media (max-width: 600px) {
	.signed {
		padding-top: 16px;
	}
}
