.dc-portal {
	max-width: 900px;
}

.dc-upload {
	margin-bottom: 2em;
}

.dc-type {
	border: 0;
	padding: 0;
	margin: 0 0 0.75em;
}

.dc-type legend {
	font-weight: 600;
	padding: 0;
	margin-bottom: 0.3em;
}

.dc-type label {
	display: block;
	margin: 0.2em 0;
}

.dc-quote {
	max-width: 560px;
}

.dc-quote input[type=text],
.dc-quote input[type=email],
.dc-quote input[type=tel],
.dc-quote textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.55em 0.65em;
	font: inherit;
}

.dc-quote-btn {
	background: #05085e;
	color: #fff;
	border: 0;
	border-radius: 4px;
	padding: 0.7em 1.6em;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.dc-quote-err {
	background: #fdecea;
	border: 1px solid #e0a3a0;
	border-radius: 4px;
	padding: 0.6em 0.8em;
}

.dc-quote-done {
	background: #eaf6ec;
	border: 1px solid #9fd0a6;
	border-radius: 6px;
	padding: 0.6em 1.2em;
}

.dc-notes-wrap textarea {
	width: 100%;
	max-width: 560px;
	box-sizing: border-box;
	padding: 0.55em 0.65em;
	font: inherit;
}

.dc-opt {
	font-weight: normal;
	color: #666;
	font-size: 0.9em;
}

.dc-upload-hint {
	font-size: 0.85em;
	color: #666;
}

.dc-locked {
	display: inline-block;
	color: #8a8f98;
	background: #eef0f3;
	border: 1px dashed #c3c8d0;
	border-radius: 4px;
	padding: 0.3em 0.7em;
	cursor: not-allowed;
	user-select: none;
}

.dc-pay-note {
	display: block;
	font-size: 0.85em;
	color: #555;
	margin-top: 4px;
}

.dc-pay-late {
	color: #b32d2e;
}

.dc-rv-3d {
	background: #fff4d6;
	border: 1px solid #e0b84a;
	border-radius: 6px;
	padding: 0.6em 0.8em;
	margin: 0 0 0.6em;
	font-size: 0.95em;
}

.dc-rv-3d a {
	font-weight: 600;
}

.dc-job-table {
	width: 100%;
	border-collapse: collapse;
}

.dc-job-table th,
.dc-job-table td {
	text-align: left;
	padding: 0.5em 0.75em;
	border-bottom: 1px solid #ddd;
}

.dc-redline-btn {
	cursor: pointer;
}

#dc-redline-modal[hidden] {
	display: none !important;
}

#dc-redline-modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.8);
	z-index: 9999;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1em;
	padding: 1em;
}

.dc-redline-canvas {
	max-width: 90vw;
	max-height: 70vh;
	background: #fff;
	touch-action: none;
	cursor: crosshair;
}

.dc-redline-notes {
	width: 90vw;
	max-width: 500px;
	height: 4em;
}

.dc-whoami {
	margin-bottom: 1.5em;
	color: #555;
}

.dc-auth {
	max-width: 460px;
}

.dc-auth input[type="text"],
.dc-auth input[type="email"],
.dc-auth input[type="password"] {
	width: 100%;
	box-sizing: border-box;
	padding: 0.6em 0.7em;
}

.dc-auth button[type="submit"],
.dc-auth input[type="submit"] {
	cursor: pointer;
	padding: 0.7em 1.6em;
	background: #05085e;
	color: #fff;
	border: 0;
	border-radius: 3px;
}

.dc-error {
	background: #fdecea;
	border-left: 4px solid #c0392b;
	padding: 0.7em 0.9em;
	color: #7b241c;
}

.dc-auth-note,
.dc-auth-links {
	font-size: 0.92em;
	color: #555;
}

.dc-noscroll,
.dc-noscroll body {
	overflow: hidden !important;
}

#dc-review[hidden] {
	display: none !important;
}

#dc-review {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999999;
	display: flex;
	flex-direction: column;
	background: #fff;
	font-family: inherit;
	color: #222;
}

.dc-rv-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 14px;
	border-bottom: 1px solid #ddd;
	background: #fff;
}

.dc-rv-tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-bottom: 1px solid #ddd;
	background: #f6f7f9;
}

.dc-rv-tools[hidden],
.dc-rv-editbar[hidden],
.dc-rv-view[hidden],
.dc-error[hidden] {
	display: none !important;
}

.dc-rv-body {
	flex: 1 1 auto;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	background: #e4e7ec;
	padding: 8px;
}

.dc-rv-msg {
	text-align: center;
	margin: 2em 1em;
	color: #555;
}

.dc-pg {
	position: relative;
	max-width: 1100px;
	margin: 0 auto 12px;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.dc-pg canvas {
	display: block;
	width: 100%;
	height: auto;
}

.dc-pg canvas.dc-ov {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

.dc-edit .dc-pg canvas.dc-ov {
	touch-action: none;
	cursor: crosshair;
}

.dc-textbox {
	position: absolute;
	z-index: 3;
	min-width: 120px;
	max-width: 70%;
	font: 600 16px Arial, Helvetica, sans-serif;
	background: rgba(255, 255, 255, 0.85);
	border: 1px dashed #666;
	padding: 2px 4px;
	resize: both;
}

.dc-rv-foot {
	padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
	border-top: 1px solid #ddd;
	background: #fff;
}

.dc-rv-foot textarea {
	width: 100%;
	box-sizing: border-box;
	font-size: 16px;
	padding: 8px;
}

.dc-rv-help {
	margin: 0 0 8px;
	font-size: 0.92em;
	color: #555;
}

.dc-rv-confirm {
	display: block;
	margin-bottom: 10px;
}

.dc-rv-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 8px;
}

.dc-btn {
	cursor: pointer;
	padding: 0.65em 1.1em;
	font-size: 16px;
	border: 1px solid #b8bec8;
	border-radius: 4px;
	background: #fff;
	color: #222;
}

.dc-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.dc-btn-go {
	background: #05085e;
	border-color: #05085e;
	color: #fff;
}

.dc-btn-quiet {
	border-color: transparent;
	background: transparent;
	text-decoration: underline;
}

.dc-tool {
	padding: 0.5em 0.9em;
}

.dc-tool.on {
	background: #05085e;
	border-color: #05085e;
	color: #fff;
}

.dc-swatches {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	padding: 0 4px;
}

.dc-swatch {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px #888;
	cursor: pointer;
	padding: 0;
}

.dc-swatch.on {
	box-shadow: 0 0 0 3px #05085e;
}

.dc-rv-pages {
	max-width: none;
}

.dc-rv-pages .dc-pg {
	max-width: none;
	margin: 0 0 12px;
}

.dc-zoom {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin: 0 auto;
}

.dc-zoom-label {
	min-width: 48px;
	text-align: center;
	font-size: 0.9em;
	color: #444;
}

.dc-edit.dc-pan .dc-pg canvas.dc-ov {
	touch-action: auto;
	cursor: grab;
}

.dc-rv-pages .dc-pg {
	margin: 0 0 8px;
}

.dc-rv-top {
	flex-wrap: wrap;
	gap: 8px;
}

.dc-pnav {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

/* ---------- client bar (portal / login / register pages only) ---------- */

.dc-client-page #main-header,
.dc-client-page #top-header,
.dc-client-page #main-footer,
.dc-client-page #sidebar,
.dc-client-page .et-l--header,
.dc-client-page .et-l--footer {
	display: none !important;
}

.dc-client-page #page-container {
	padding-top: 0 !important;
}

.dc-client-page #left-area {
	width: 100% !important;
	padding-right: 0 !important;
	float: none !important;
}

.dc-client-page #main-content .container::before {
	display: none !important;
}

.dc-cbar {
	position: sticky;
	top: 0;
	z-index: 99990;
	background: #fff;
	border-bottom: 1px solid #dfe3ea;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	font-family: Roboto, Helvetica, Arial, sans-serif;
}

body.admin-bar .dc-cbar {
	top: 32px;
}

.dc-cbar-in {
	max-width: 1100px;
	margin: 0 auto;
	padding: 10px 18px;
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}

.dc-cbar-logo {
	font-weight: 700;
	font-size: 20px;
	color: #00235e;
	text-decoration: none;
	line-height: 1;
}

.dc-cbar-logo img {
	display: block;
	height: 46px;
	width: auto;
}

.dc-cbar-nav {
	display: flex;
	gap: 4px;
	flex: 1 1 auto;
	flex-wrap: wrap;
}

.dc-cbar-nav a {
	padding: 8px 12px;
	border-radius: 4px;
	color: #33445f;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
}

.dc-cbar-nav a:hover {
	background: #eef3fa;
}

.dc-cbar-who {
	font-size: 13px;
	color: #555;
}

.dc-cbar-phone {
	margin-left: auto;
	order: 3;
	background: #00235e;
	color: #fff !important;
	padding: 8px 14px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	white-space: nowrap;
}

.dc-cbar-who {
	order: 4;
}

.dc-cbar-toggle {
	display: none;
	background: #fff;
	border: 1px solid #b9c3d3;
	border-radius: 4px;
	padding: 7px 12px;
	font: inherit;
	font-weight: 600;
	color: #00235e;
	cursor: pointer;
}

@media (max-width: 767px) {
	.dc-cbar-logo img {
		height: 38px;
	}

	.dc-cbar-toggle {
		display: inline-block;
		margin-left: auto;
		order: 2;
	}

	.dc-cbar-phone {
		margin-left: 0;
		order: 3;
		padding: 7px 10px;
		font-size: 13px;
	}

	.dc-cbar-nav {
		display: none;
		order: 5;
		width: 100%;
		flex-direction: column;
		border-top: 1px solid #eee;
		padding-top: 6px;
	}

	.dc-cbar.open .dc-cbar-nav {
		display: flex;
	}

	.dc-cbar-nav a {
		padding: 12px 6px;
		font-size: 16px;
		border-bottom: 1px solid #f0f0f0;
	}

	.dc-cbar-who {
		display: none;
	}
}

.dc-approved-note {
	display: block;
	font-size: 0.88em;
	color: #555;
}

/* ---------- My drawings library ---------- */
.dc-dwg-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; }
.dc-dwg-bar input[type=search] { flex: 1 1 280px; min-width: 0; padding: 12px 14px; font-size: 16px; border: 1px solid #c9d1dc; border-radius: 8px; }
.dc-dwg-bar select { padding: 11px 10px; font-size: 15px; border: 1px solid #c9d1dc; border-radius: 8px; background: #fff; }
.dc-dwg-count { color: #5b6573; margin: 6px 0 14px; }
.dc-dwg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.dc-dwg-card { background: #fff; border: 1px solid #dfe4ea; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 3px rgba(20,40,70,.06); }
.dc-dwg-card.is-old { opacity: .72; }
.dc-dwg-thumb { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: #f2f5f9; border-bottom: 1px solid #e6eaf0; overflow: hidden; }
.dc-dwg-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.dc-dwg-nothumb { font-weight: 700; color: #9aa6b5; font-size: 22px; }
.dc-dwg-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; }
.dc-dwg-no { font-size: 16px; }
.dc-dwg-rev { font-size: 12px; color: #fff; background: #1f3a5f; border-radius: 4px; padding: 1px 6px; margin-left: 4px; }
.dc-dwg-sup { font-size: 12px; color: #8a5a00; background: #fff2d6; border-radius: 4px; padding: 1px 6px; }
.dc-dwg-title { font-size: 14px; color: #222; min-height: 1.3em; }
.dc-dwg-meta { font-size: 12px; color: #6b7684; }
.dc-dwg-act { display: flex; gap: 14px; margin-top: 6px; font-size: 14px; }
.dc-dwg-act a { text-decoration: none; font-weight: 600; }
@media (max-width: 520px) { .dc-dwg-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .dc-dwg-bar select { flex: 1 1 45%; } }

/* ---------- review: confirm sheet, phone info, photo of markup, drawing-number field ---------- */
.dc-sheet-bg { position: fixed; inset: 0; background: rgba(15, 25, 40, .55); display: flex; align-items: center; justify-content: center; z-index: 100000; padding: 16px; }
.dc-sheet { background: #fff; color: #1b2430; border-radius: 12px; max-width: 460px; width: 100%; padding: 20px 20px 16px; box-shadow: 0 10px 40px rgba(0,0,0,.3); }
.dc-sheet h4 { margin: 0 0 10px; font-size: 18px; }
.dc-sheet-body p { margin: 0 0 10px; }
.dc-sheet-code { width: 100%; font-size: 24px; letter-spacing: .3em; text-align: center; padding: 10px; border: 1px solid #c9d1dc; border-radius: 8px; margin: 6px 0 10px; box-sizing: border-box; }
.dc-sheet .dc-rv-row { flex-wrap: wrap; }
.dc-rv-info { background: #eef4fb; border: 1px solid #c8daf0; color: #1f3a5f; border-radius: 8px; padding: 8px 12px; margin: 8px 0; font-size: 14px; }
.dc-rv-photo { margin: 8px 0; font-size: 14px; }
.dc-numfield .dc-numbox { display: block; margin-top: 8px; }
.dc-numfield .dc-numbox input { width: 100%; max-width: 380px; padding: 10px 12px; font-size: 16px; border: 1px solid #c9d1dc; border-radius: 8px; box-sizing: border-box; }
.dc-numfield .dc-numhint { display: block; margin-top: 6px; }
.dc-dwg-nodl { color: #8a94a3; font-size: 13px; }

/* ---------- My jobs: picture of each job ---------- */
.dc-col-prev { width: 112px; }
.dc-jthumb { width: 100px; height: 72px; background: #f2f5f9; border: 1px solid #dfe4ea; border-radius: 6px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.dc-jthumb img, .dc-jthumb canvas { width: 100%; height: 100%; object-fit: contain; display: block; }
.dc-jthumb-ph { font-weight: 700; color: #9aa6b5; font-size: 14px; }
.dc-jt { font-size: 1.02em; }
@media (max-width: 600px) { .dc-col-prev { width: 76px; } .dc-jthumb { width: 68px; height: 52px; } }

/* ---------- Stripe pay button ---------- */
.dc-paybtn { display: inline-block; margin: 4px 6px 0 0; padding: 6px 12px; background: #1f3a5f; color: #fff !important; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 14px; }
.dc-paybtn:hover { background: #16304f; }
.dc-paybtn.dc-pay-paypal { background: #0b3a7a; }
.dc-bankbox { display: block; margin-top: 8px; padding: 8px 10px; background: #f2f5f9; border: 1px solid #dfe4ea; border-radius: 6px; font-size: 13px; line-height: 1.4; }

/* ---------- mark-up tool palette (icon buttons, like a paint / photo editor) ---------- */
.dc-tbtn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 64px; min-height: 52px; padding: 6px 4px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #2b3445; cursor: pointer; font: inherit; line-height: 1.1; }
.dc-tbtn:hover { background: #e9edf4; }
.dc-tbtn:focus-visible { outline: 2px solid #05085e; outline-offset: 1px; }
.dc-tbtn.on { background: #05085e; border-color: #05085e; color: #fff; box-shadow: 0 1px 3px rgba(5, 8, 94, .35); }
.dc-tbtn .dc-ico { display: block; flex: none; }
.dc-tbtn .dc-tl { font-size: 11px; letter-spacing: .01em; white-space: nowrap; }
.dc-tsep { flex: none; width: 1px; height: 32px; background: #d3d9e3; margin: 0 4px; }
.dc-rv-tools .dc-swatches { display: inline-flex; flex-wrap: wrap; gap: 7px; padding: 4px 6px; max-width: 88px; justify-content: center; }
.dc-rv-tools .dc-swatch { width: 26px; height: 26px; }

/* Tablets and computers: the palette is a column down the left, the drawing fills the rest (like Paint). */
@media (min-width: 700px) {
	#dc-review.dc-edit { display: grid; grid-template-columns: 92px 1fr; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-areas: "top top" "tools body" "foot foot"; }
	#dc-review.dc-edit .dc-rv-top { grid-area: top; }
	#dc-review.dc-edit .dc-rv-tools { grid-area: tools; flex-direction: column; flex-wrap: nowrap; align-items: center; gap: 2px; padding: 8px 4px; overflow-y: auto; border-bottom: 0; border-right: 1px solid #d3d9e3; background: #f4f6fa; min-height: 0; }
	#dc-review.dc-edit .dc-rv-body { grid-area: body; min-height: 0; }
	#dc-review.dc-edit .dc-rv-foot { grid-area: foot; }
	#dc-review.dc-edit .dc-tsep { width: 56px; height: 1px; margin: 6px 0; }
}

/* Compact palette: two columns of icon buttons (names show as tooltips), so every tool fits without scrolling. */
@media (min-width: 700px) {
	#dc-review.dc-edit .dc-rv-tools { flex-direction: row; flex-wrap: wrap; justify-content: center; align-content: flex-start; gap: 4px; }
	#dc-review.dc-edit .dc-tbtn { width: 40px; min-height: 40px; padding: 6px; }
	#dc-review.dc-edit .dc-tbtn .dc-tl { display: none; }
	#dc-review.dc-edit .dc-tsep { flex: 0 0 100%; width: auto; max-width: 76px; height: 1px; margin: 5px 0; }
	#dc-review.dc-edit .dc-rv-tools .dc-swatches { max-width: 84px; }
}
.dc-tbtn { box-sizing: border-box; }
@media (min-width: 700px) {
	#dc-review.dc-edit .dc-rv-tools .dc-swatches { gap: 5px; padding: 2px; max-width: 86px; }
	#dc-review.dc-edit .dc-rv-tools .dc-swatch { width: 22px; height: 22px; }
}
@media (min-width: 700px) {
	#dc-review.dc-edit { grid-template-columns: 108px 1fr; }
	#dc-review.dc-edit .dc-rv-tools { padding: 8px 2px; gap: 3px; scrollbar-width: thin; }
	#dc-review.dc-edit .dc-tsep { max-width: 84px; }
	#dc-review.dc-edit .dc-rv-tools .dc-swatches { max-width: 96px; }
}

/* Keep the bottom strip short while marking up: notes box, photo attach and Send on one row. */
#dc-review.dc-edit .dc-rv-editbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
#dc-review.dc-edit .dc-rv-editbar textarea { flex: 1 1 320px; height: 52px; min-height: 52px; resize: vertical; margin: 0; }
#dc-review.dc-edit .dc-rv-editbar .dc-rv-photo { flex: 0 1 auto; margin: 0; }
#dc-review.dc-edit .dc-rv-editbar .dc-rv-row { margin: 0; flex: 0 0 auto; }
@media (min-width: 700px) {
	#dc-review.dc-edit .dc-tbtn { width: 38px; min-height: 36px; padding: 5px; }
	#dc-review.dc-edit .dc-tsep { margin: 3px 0; }
}

/* monthly-account status box */
.dc-acctbox { margin: 0 0 18px; padding: 12px 16px; background: #eef4fb; border: 1px solid #c8daf0; border-radius: 8px; }
.dc-acctbox.is-locked { background: #fff2d6; border-color: #e7c36f; }
.dc-acctbox p { margin: 0 0 6px; }

/* ---------- client bar: links always shown along the top (no drop-down menu) ---------- */
.dc-cbar-toggle { display: none !important; }
@media (max-width: 767px) {
	.dc-cbar-phone { margin-left: auto; order: 2; padding: 7px 10px; font-size: 13px; }
	.dc-cbar-nav { display: flex !important; order: 5; width: 100%; flex-direction: row; flex-wrap: wrap; gap: 2px; border-top: 1px solid #eee; padding-top: 4px; }
	.dc-cbar-nav a { padding: 7px 9px; font-size: 14px; border-bottom: 0; }
	.dc-cbar-who { display: none; }
}

/* ---------- upload a job: folded away until pressed ---------- */
.dc-upload-toggle { font-size: 17px; padding: 0.7em 1.3em; border-radius: 8px; }
#dc-upload-body { margin-top: 14px; }
#dc-upload-body[hidden] { display: none !important; }

/* ---------- help box and folded job list ---------- */
#dc-my-jobs[hidden] { display: none !important; }
.dc-help { margin: 22px 0 8px; padding: 12px 16px; background: #f6f8fb; border: 1px solid #dfe4ea; border-radius: 8px; }
.dc-help summary { cursor: pointer; font-weight: 700; color: #00235e; }
.dc-help ol { margin: 10px 0 8px 1.2em; padding: 0; }
.dc-help li { margin: 6px 0; }

/* ---------- client bar on medium widths (tablet / narrow window): links sit between the logo and the call button ---------- */
@media (min-width: 600px) and (max-width: 767px) {
	.dc-cbar-in { flex-wrap: nowrap; gap: 10px; }
	.dc-cbar-nav { order: 2 !important; width: auto !important; flex: 1 1 auto; flex-wrap: nowrap; border-top: 0 !important; padding-top: 0 !important; justify-content: center; }
	.dc-cbar-nav a { padding: 8px 7px; font-size: 14px; white-space: nowrap; }
	.dc-cbar-phone { order: 3 !important; margin-left: 0; white-space: nowrap; }
}

/* ---------- client bar on phones: one row (logo | short links | Call) ---------- */
.dc-l-short { display: none; }
@media (max-width: 599px) {
	.dc-l-full { display: none; }
	.dc-l-short { display: inline; }
	.dc-ph-num { display: none; }
	.dc-cbar-in { flex-wrap: nowrap; gap: 6px; padding: 8px 8px; }
	.dc-cbar-logo img { height: 26px; }
	.dc-cbar-nav { order: 2 !important; width: auto !important; flex: 1 1 auto; flex-wrap: nowrap; border-top: 0 !important; padding-top: 0 !important; justify-content: center; gap: 0; min-width: 0; }
	.dc-cbar-nav a { padding: 6px 4px; font-size: 12.5px; white-space: nowrap; border-bottom: 0; }
	.dc-cbar-phone { order: 3 !important; margin-left: 0; padding: 7px 9px; font-size: 13px; }
}

/* ---------- My jobs table fits a phone (no sideways scrolling) ---------- */
@media (max-width: 599px) {
	.dc-job-table { table-layout: fixed; width: 100%; }
	.dc-job-table th, .dc-job-table td { padding: 0.5em 0.35em; font-size: 14px; overflow-wrap: anywhere; vertical-align: top; }
	.dc-job-table .dc-col-prev { width: 58px; }
	.dc-job-table .dc-jthumb { width: 50px; height: 40px; }
	.dc-job-table th:nth-child(3), .dc-job-table td:nth-child(3) { width: 24%; }
	.dc-job-table th:nth-child(4), .dc-job-table td:nth-child(4) { width: 28%; }
	.dc-job-table .dc-paybtn { display: block; margin: 4px 0 0; padding: 6px 8px; font-size: 13px; text-align: center; }
}
@media (max-width: 599px) {
	.dc-job-table th, .dc-job-table td { overflow-wrap: break-word; word-break: normal; hyphens: auto; font-size: 13.5px; }
	.dc-job-table th.dc-col-prev { font-size: 0; }
	.dc-job-table th:nth-child(3), .dc-job-table td:nth-child(3) { width: 27%; }
	.dc-job-table th:nth-child(4), .dc-job-table td:nth-child(4) { width: 30%; }
}

/* ---------- My jobs on a phone: each job is a small card (picture left, details right) ---------- */
@media (max-width: 599px) {
	.dc-job-table, .dc-job-table tbody { display: block; width: 100%; table-layout: auto; }
	.dc-job-table thead { display: none; }
	.dc-job-table tr { display: grid; grid-template-columns: 62px 1fr; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid #ddd; }
	.dc-job-table td { display: block; width: auto !important; padding: 0 !important; border: 0 !important; font-size: 14px; overflow-wrap: break-word; }
	.dc-job-table td.dc-col-prev { grid-row: 1 / span 3; width: auto !important; }
	.dc-job-table td:nth-child(2), .dc-job-table td:nth-child(3), .dc-job-table td:nth-child(4) { grid-column: 2; }
	.dc-job-table td:nth-child(3) { color: #4a5568; }
	.dc-job-table .dc-jthumb { width: 58px; height: 46px; }
}

/* ---------- My jobs: bigger pictures now the job column is shorter ---------- */
.dc-col-prev { width: 264px; }
.dc-jthumb { width: 240px; height: 170px; }
.dc-jd { color: #333; }
@media (max-width: 599px) {
	.dc-job-table tr { grid-template-columns: 128px 1fr; }
	.dc-job-table .dc-jthumb { width: 124px; height: 94px; }
}

/* ---------- mark up a photo before sending a new job (works on phones too) ---------- */
.dc-markphoto { margin: 8px 0 12px; }
.dc-markphoto .dc-btn { font-size: 15px; padding: 0.55em 1em; }
.dc-markstatus { margin-left: 8px; font-size: 14px; color: #1c7a34; }
.dc-rv-hint { display: block; margin: 0 0 8px; font-size: 14px; color: #33445f; }
#dc-review.dc-edit .dc-rv-editbar .dc-rv-hint { flex: 1 1 260px; margin: 0; }
@media (max-width: 699px) {
	#dc-review.dc-edit .dc-rv-tools { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; gap: 2px; padding: 6px 8px; }
	#dc-review.dc-edit .dc-tbtn { flex: 0 0 auto; width: 44px; min-height: 44px; }
	#dc-review.dc-edit .dc-tbtn .dc-tl { display: none; }
	#dc-review.dc-edit .dc-tsep { flex: 0 0 1px; width: 1px; height: 30px; margin: 0 4px; }
	#dc-review.dc-edit .dc-rv-tools .dc-swatches { flex-wrap: nowrap; max-width: none; }
	#dc-review.dc-edit .dc-rv-tools .dc-swatch { width: 28px; height: 28px; flex: 0 0 auto; }
}
