/* BePlugged Studio editor.
   Deliberately standalone: no Bootstrap, no jQuery, no carousel. The rest of
   the site loads eleven stylesheets it inherited from a template, and this is
   an application someone works in for an hour on a phone. The tokens are
   copied from theme.css so it still looks like the same company. */

:root {
	--ink-900: #0d1826;
	--ink-700: #1f3049;
	--ink-500: #4a5568;
	--ink-400: #6b7688;
	--ink-300: #99a2b3;
	--line: #e3e8ef;
	--line-soft: #eef2f7;
	--surface: #ffffff;
	--surface-alt: #f7f9fc;
	--brand: #f05023;
	--brand-dark: #d23f14;
	--brand-tint: #fdefe9;
	--warn: #b7791f;
	--warn-tint: #fffaf0;
	--radius: 6px;
	--radius-lg: 10px;
	--shadow: 0 1px 3px rgba(13, 24, 38, 0.08);
}

* { box-sizing: border-box; }

html, body {
	margin: 0;
	padding: 0;
}

body {
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	color: var(--ink-700);
	background: var(--surface-alt);
	font-size: 15px;
	line-height: 1.6;
	-webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4 {
	color: var(--ink-900);
	margin: 0 0 10px;
	font-weight: 650;
	line-height: 1.3;
}

a { color: var(--brand); }

/* --- chrome ------------------------------------------------------------- */

.ed-header {
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	position: sticky;
	top: 0;
	z-index: 40;
}

.ed-header-inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 12px 18px;
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.ed-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: inherit;
}

.ed-brand img { height: 34px; width: auto; display: block; }

.ed-brand span {
	font-weight: 650;
	color: var(--ink-900);
	letter-spacing: 0.2px;
}

.ed-steps {
	display: flex;
	gap: 6px;
	margin-left: auto;
	flex-wrap: wrap;
}

.ed-step {
	appearance: none;
	border: 1px solid var(--line);
	background: var(--surface);
	color: var(--ink-500);
	border-radius: 999px;
	padding: 6px 14px;
	font: inherit;
	font-size: 13px;
	cursor: pointer;
	white-space: nowrap;
}

.ed-step:hover:not(:disabled) { border-color: var(--ink-300); }
.ed-step[aria-current="step"] {
	background: var(--brand);
	border-color: var(--brand);
	color: #fff;
	font-weight: 600;
}
.ed-step:disabled { opacity: 0.45; cursor: not-allowed; }

.ed-step-num {
	display: inline-block;
	min-width: 18px;
	margin-right: 6px;
	font-variant-numeric: tabular-nums;
	opacity: 0.75;
}

/* --- layout ------------------------------------------------------------- */

.ed-main {
	max-width: 1400px;
	margin: 0 auto;
	padding: 22px 18px 90px;
}

.ed-panel { display: none; }
.ed-panel.is-active { display: block; }

.ed-intro { max-width: 720px; margin: 0 0 26px; }
.ed-intro p { color: var(--ink-500); margin: 0; }

.ed-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 22px;
	box-shadow: var(--shadow);
	margin: 0 0 18px;
}

.ed-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

/* --- choices ------------------------------------------------------------ */

.ed-choice {
	appearance: none;
	text-align: left;
	font: inherit;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 16px;
	cursor: pointer;
	display: flex;
	gap: 14px;
	align-items: center;
	color: inherit;
}

.ed-choice:hover { border-color: var(--ink-300); }

.ed-choice[aria-pressed="true"] {
	border-color: var(--brand);
	background: var(--brand-tint);
}

.ed-choice strong { display: block; color: var(--ink-900); }
.ed-choice small { color: var(--ink-400); }

/* A to-scale silhouette of the book, so "A4 landscape" is a shape and not
   two words the customer has to picture for themselves. */
.ed-shape {
	flex: 0 0 auto;
	background: var(--surface-alt);
	border: 1px solid var(--line);
	border-radius: 3px;
}

/* --- photo tray --------------------------------------------------------- */

.ed-workspace {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 18px;
	align-items: start;
}

@media (max-width: 900px) {
	.ed-workspace { grid-template-columns: minmax(0, 1fr); }
	.ed-tray { position: static !important; max-height: none !important; }
}

.ed-tray {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 14px;
	position: sticky;
	top: 78px;
	max-height: calc(100vh - 100px);
	overflow-y: auto;
	box-shadow: var(--shadow);
}

.ed-tray h3 { font-size: 14px; margin: 0 0 4px; }
.ed-tray .ed-hint { font-size: 12px; color: var(--ink-400); margin: 0 0 12px; }

.ed-thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(66px, 1fr));
	gap: 8px;
}

.ed-thumb {
	position: relative;
	aspect-ratio: 1 / 1;
	border: 2px solid transparent;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--surface-alt);
	cursor: grab;
	padding: 0;
}

.ed-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	pointer-events: none;
}

.ed-thumb.is-selected { border-color: var(--brand); }
.ed-thumb.is-used::after {
	content: "";
	position: absolute;
	inset: auto 4px 4px auto;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--brand);
	box-shadow: 0 0 0 2px #fff;
}

.ed-thumb-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	font-size: 10px;
	color: var(--ink-400);
	padding: 4px;
	text-align: center;
	word-break: break-all;
}

/* --- pages -------------------------------------------------------------- */

.ed-pages {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.ed-page {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 12px;
	box-shadow: var(--shadow);
}

.ed-page-head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	flex-wrap: wrap;
}

.ed-page-label {
	font-size: 12px;
	font-weight: 650;
	color: var(--ink-900);
	text-transform: uppercase;
	letter-spacing: 1px;
}

.ed-page-tools { margin-left: auto; display: flex; gap: 4px; }

.ed-sheet {
	position: relative;
	background: var(--surface-alt);
	border: 1px solid var(--line-soft);
	display: grid;
	gap: 6px;
	padding: 6px;
	overflow: hidden;
}

.ed-slot {
	position: relative;
	overflow: hidden;
	background: #fff;
	border: 1px dashed var(--line);
	border-radius: 2px;
	min-height: 40px;
	cursor: pointer;
}

.ed-slot.is-drop { border-color: var(--brand); background: var(--brand-tint); }
.ed-slot.is-filled { border-style: solid; }

.ed-slot img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	pointer-events: none;
	user-select: none;
}

.ed-slot-empty {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	color: var(--ink-300);
	text-align: center;
	padding: 6px;
}

.ed-slot-warn {
	position: absolute;
	left: 4px;
	top: 4px;
	background: var(--warn);
	color: #fff;
	font-size: 10px;
	line-height: 1;
	padding: 3px 5px;
	border-radius: 3px;
	z-index: 2;
}

.ed-slot-tools {
	position: absolute;
	right: 4px;
	bottom: 4px;
	display: flex;
	gap: 3px;
	z-index: 2;
}

.ed-mini {
	appearance: none;
	border: 0;
	border-radius: 3px;
	background: rgba(13, 24, 38, 0.72);
	color: #fff;
	font: inherit;
	font-size: 11px;
	line-height: 1;
	padding: 5px 7px;
	cursor: pointer;
}

.ed-mini:hover { background: rgba(13, 24, 38, 0.9); }

.ed-caption-input {
	width: 100%;
	margin-top: 8px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 7px 9px;
	font: inherit;
	font-size: 13px;
	color: var(--ink-700);
}

.ed-layouts { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 8px; }

.ed-layout {
	appearance: none;
	border: 1px solid var(--line);
	background: var(--surface);
	border-radius: var(--radius);
	padding: 4px;
	cursor: pointer;
	line-height: 0;
}

.ed-layout[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-tint); }
.ed-layout svg { display: block; }

/* --- forms and buttons -------------------------------------------------- */

.ed-btn {
	appearance: none;
	font: inherit;
	font-weight: 600;
	border-radius: var(--radius);
	border: 1px solid var(--brand);
	background: var(--brand);
	color: #fff;
	padding: 10px 20px;
	cursor: pointer;
}

.ed-btn:hover:not(:disabled) { background: var(--brand-dark); border-color: var(--brand-dark); }
.ed-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.ed-btn.secondary {
	background: var(--surface);
	color: var(--ink-700);
	border-color: var(--line);
}

.ed-btn.secondary:hover:not(:disabled) { border-color: var(--ink-300); background: var(--surface); }

.ed-btn.small { padding: 6px 12px; font-size: 13px; font-weight: 500; }

.ed-field { margin: 0 0 14px; }
.ed-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--ink-700);
	margin: 0 0 5px;
}

.ed-field input,
.ed-field select,
.ed-field textarea {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 10px 12px;
	font: inherit;
	color: var(--ink-900);
	background: var(--surface);
}

.ed-field textarea { min-height: 96px; resize: vertical; }
.ed-field input:focus,
.ed-field select:focus,
.ed-field textarea:focus {
	outline: 2px solid var(--brand-tint);
	border-color: var(--brand);
}

.ed-field small { display: block; color: var(--ink-400); font-size: 12px; margin-top: 4px; }

.ed-two {
	display: grid;
	gap: 0 16px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.ed-honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- notices ------------------------------------------------------------ */

.ed-note {
	border-radius: var(--radius);
	padding: 12px 14px;
	font-size: 13.5px;
	margin: 0 0 14px;
	border: 1px solid var(--line);
	background: var(--surface-alt);
	color: var(--ink-500);
}

.ed-note.warn { background: var(--warn-tint); border-color: #f0e0c0; color: #8a5f12; }
.ed-note.bad { background: var(--brand-tint); border-color: #f7d4c5; color: #96341a; }
.ed-note.good { background: #f1f9f3; border-color: #cfe8d6; color: #24623a; }
.ed-note ul { margin: 8px 0 0; padding-left: 20px; }

/* --- dock --------------------------------------------------------------- */

.ed-dock {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--surface);
	border-top: 1px solid var(--line);
	z-index: 45;
}

.ed-dock-inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 10px 18px;
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.ed-dock-status {
	font-size: 12.5px;
	color: var(--ink-400);
	margin-right: auto;
}

/* --- review ------------------------------------------------------------- */

.ed-summary {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.ed-summary th,
.ed-summary td {
	border-bottom: 1px solid var(--line-soft);
	padding: 9px 4px;
	text-align: left;
	vertical-align: top;
}

.ed-summary th { color: var(--ink-400); font-weight: 500; width: 42%; }
.ed-summary td { color: var(--ink-900); }

.ed-progress {
	height: 8px;
	border-radius: 999px;
	background: var(--line-soft);
	overflow: hidden;
	margin: 12px 0 8px;
}

.ed-progress-bar {
	height: 100%;
	width: 0;
	background: var(--brand);
	transition: width 0.2s ease;
}

.ed-done { text-align: center; padding: 30px 10px; }
.ed-done .ed-ref {
	font-size: 26px;
	font-weight: 700;
	color: var(--ink-900);
	letter-spacing: 1px;
	margin: 8px 0 4px;
}

/* --- preview ------------------------------------------------------------ */

.ed-preview-prompt {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}
.ed-preview-prompt .ed-btn { margin-left: auto; }

/* Dark ground on purpose: the point is to look at the book, and a white page
   floating on a white app is not a book. */
.ed-preview {
	position: fixed;
	inset: 0;
	z-index: 60;
	/* Fully opaque, not a 94% veil. At 94% the page cards and the tray still
	   ghost through behind the book, which is exactly the clutter this view
	   exists to get out of the way. */
	background: #0b1119;
	display: flex;
	flex-direction: column;
}

.ed-preview[hidden] { display: none; }

.ed-preview-head {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	color: #fff;
	flex: 0 0 auto;
}

.ed-preview-head strong { font-size: 15px; letter-spacing: 0.2px; }
.ed-preview-count { font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.ed-preview-head .ed-btn { margin-left: auto; }

.ed-preview-stage {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 0 12px;
	min-height: 0;
}

.ed-spread {
	display: flex;
	align-items: stretch;
	gap: 3px;
	height: min(70vh, 660px);
}

.ed-preview-leaf {
	height: 100%;
	/* Not a flex column. A flex-derived height leaves the page's width — which
	   comes from its aspect ratio — indeterminate at the moment the browser
	   measures this box, so the leaf shrink-wrapped to the width of the label
	   underneath and the page overflowed it across both arrows. A definite
	   height resolves the width, and the leaf measures correctly. */
	display: block;
}

/* The page is exactly the shape of the paper: definite height, width from the
   aspect ratio. The label below it is a fixed strip, outside the page edge. */
.ed-preview-page {
	position: relative;
	height: calc(100% - 30px);
	display: flex;
	flex-direction: column;
	background: #fff;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

/* --- the cover, as a bound book ----------------------------------------- */

/* A hardcover book is a case with the print mounted on it, not a rectangle of
   photo. The case is canvas, the print is inset so the material shows around
   it, and the spine takes the left edge. */
.ed-cover-case {
	padding: 3.4% 3.4% 3.4% 8%;
	background:
		linear-gradient(145deg, #d3cbba 0%, #c3baa7 45%, #b3a993 100%);
	border-radius: 2px 7px 7px 2px;
	box-shadow:
		0 28px 60px rgba(0, 0, 0, 0.62),
		inset 0 0 0 1px rgba(255, 255, 255, 0.18),
		inset -2px 0 6px rgba(0, 0, 0, 0.12);
	overflow: hidden;
}

/* The weave. Two fine repeating gradients crossing each other read as woven
   cloth at any size, and cost no image. */
.ed-cover-case::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 3px),
		repeating-linear-gradient(0deg, rgba(90, 76, 52, 0.16) 0 1px, transparent 1px 3px);
	opacity: 0.7;
	z-index: 3;
}

.ed-cover-print {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
	/* Sits proud of the case, the way a mounted print does. */
	box-shadow:
		0 1px 4px rgba(0, 0, 0, 0.4),
		0 0 0 1px rgba(60, 48, 30, 0.28);
	z-index: 2;
}

.ed-cover-print .ed-preview-sheet { padding: 0; gap: 0; }

/* Photo wrap: the picture is the covering. It runs to every edge, over the
   boards and under the spine, so there is no cloth border and no weave —
   just the laminate sheen you get off a printed case. */
.ed-cover-case.is-wrap {
	padding: 0;
	background: #10141b;
}

.ed-cover-case.is-wrap::after { display: none; }

.ed-cover-case.is-wrap .ed-cover-print { box-shadow: none; }

.ed-cover-case.is-wrap::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 4;
	pointer-events: none;
	background: linear-gradient(115deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0) 34%);
}

/* --- the gutter ---------------------------------------------------------
   A case-bound book does not lie as two loose sheets: the pages curve into
   the spine where they are held. Without this the cover is the only thing
   that looks bound and everything after it looks like loose paper. */

.ed-spread .ed-preview-leaf:first-child:not(:last-child) .ed-preview-page::after,
.ed-spread .ed-preview-leaf:last-child:not(:first-child) .ed-preview-page::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 7%;
	max-width: 30px;
	z-index: 4;
	pointer-events: none;
}

.ed-spread .ed-preview-leaf:first-child:not(:last-child) .ed-preview-page::after {
	right: 0;
	background: linear-gradient(90deg, rgba(13, 24, 38, 0) 0%, rgba(13, 24, 38, 0.14) 66%, rgba(13, 24, 38, 0.32) 100%);
}

.ed-spread .ed-preview-leaf:last-child:not(:first-child) .ed-preview-page::after {
	left: 0;
	background: linear-gradient(270deg, rgba(13, 24, 38, 0) 0%, rgba(13, 24, 38, 0.14) 66%, rgba(13, 24, 38, 0.32) 100%);
}

/* The spine: a fold, a shadow where the hinge sits, and a highlight along the
   ridge. */
.ed-cover-spine {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 8%;
	z-index: 2;
	background:
		linear-gradient(90deg,
			rgba(60, 48, 30, 0.42) 0%,
			rgba(60, 48, 30, 0.10) 22%,
			rgba(255, 255, 255, 0.22) 52%,
			rgba(60, 48, 30, 0.16) 78%,
			rgba(60, 48, 30, 0.34) 100%);
}

/* The sheet keeps the page's real proportions; height drives width, so a
   spread of two A4 portraits sits inside the viewport without arithmetic. */
.ed-preview-sheet {
	flex: 1 1 auto;
	display: grid;
	gap: 4px;
	padding: 4px;
	background: #fff;
	min-height: 0;
}

.ed-preview-slot {
	position: relative;
	overflow: hidden;
	background: #f2f4f7;
}

.ed-preview-slot img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	/* An <img> is draggable by default, and dragging one starts a native image
	   drag that swallows the pointerup — which is the swipe. */
	pointer-events: none;
	user-select: none;
	-webkit-user-drag: none;
}

.ed-preview-slot .ed-preview-blank {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	color: #b6bdc9;
}

.ed-preview-caption {
	flex: 0 0 auto;
	padding: 9px 14px;
	font-size: 12.5px;
	color: var(--ink-700);
	background: #fff;
	text-align: center;
	line-height: 1.4;
}

.ed-preview-cover-text {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 26px 24px 20px;
	background: linear-gradient(to top, rgba(9, 15, 24, 0.78), rgba(9, 15, 24, 0));
	color: #fff;
	z-index: 2;
}

.ed-preview-cover-text .t { font-size: 24px; font-weight: 650; line-height: 1.2; }
.ed-preview-cover-text .s { font-size: 13px; opacity: 0.85; margin-top: 4px; }

/* Outside the page, on the dark ground — it labels the page, it is not
   printed on it. */
.ed-preview-number {
	height: 30px;
	line-height: 34px;
	text-align: center;
	font-size: 10.5px;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.45);
}

.ed-preview-arrow {
	appearance: none;
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.3);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.ed-preview-arrow:hover:not(:disabled) { background: rgba(255, 255, 255, 0.18); }
.ed-preview-arrow:disabled { opacity: 0.25; cursor: default; }

.ed-preview-foot {
	flex: 0 0 auto;
	padding: 12px 18px 18px;
	text-align: center;
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 760px) {
	/* The spread's height is set by fitSpread, which sizes it by whichever
	   runs out first — here that is the width, since two facing pages are
	   wider than a phone. */
	.ed-preview-cover-text .t { font-size: 17px; }

	/* A page is nearly the full width of a phone, so arrows sitting beside it
	   get pushed off the screen entirely — leaving no way to turn a page
	   without a keyboard. They ride over the page edges instead, and a swipe
	   does the same job. */
	.ed-preview-stage { position: relative; padding: 0 6px; }
	.ed-preview-arrow {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		width: 40px;
		height: 40px;
		font-size: 22px;
		background: rgba(11, 17, 25, 0.62);
		border-color: rgba(255, 255, 255, 0.45);
		z-index: 2;
	}
	#preview-prev { left: 8px; }
	#preview-next { right: 8px; }
	.ed-preview-arrow:disabled { opacity: 0.18; }
}

.ed-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* --- printing ------------------------------------------------------------
   A sheet of paper is one page, not a spread, so printing does not reuse the
   preview stage. #print-book is filled with every leaf in order and is the
   only thing on the paper. */

.ed-print-book { display: none; }

@media print {
	.ed-header,
	.ed-dock,
	.ed-tray,
	.ed-main,
	.ed-preview { display: none !important; }

	html, body {
		background: #fff !important;
		margin: 0;
		padding: 0;
	}

	.ed-print-book { display: block; }

	.ed-print-book .ed-preview-leaf {
		height: auto;
		/* One leaf per sheet. break-inside stops a page being split across
		   two sheets, which is the whole point of printing it. */
		break-after: page;
		page-break-after: always;
		break-inside: avoid;
		page-break-inside: avoid;
		padding: 6mm 0;
	}

	.ed-print-book .ed-preview-leaf:last-child {
		break-after: auto;
		page-break-after: auto;
	}

	.ed-print-book .ed-preview-page {
		height: auto;
		width: 165mm;
		margin: 0 auto;
		box-shadow: none;
		border: 1px solid #d8dde5;
	}

	.ed-print-book .ed-cover-case { border: 0; }

	.ed-print-book .ed-preview-number {
		color: #6b7688;
		height: auto;
		line-height: 1.6;
		padding-top: 4mm;
	}

	/* Backgrounds and photos are the entire content — without this most
	   browsers drop them and print empty outlines. */
	.ed-print-book,
	.ed-print-book * {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
}
