/* WZ Micro Album. ZONE tab (inside #wz-ow-editor, which brings the Our Wedding card and button styles)
   and the guests' page (.wz-ma-guest). Palette: #F7F4ED #EAE0D6 #AC9C8D #5D5040 #292D29 #702F3D #879681. */

/* ---------- ZONE: Micro Wedding Album ---------- */

#wz-ow-editor.wz-ma .wz-ow-pill.is-soon { background: #f3e9dc; color: var(--ow-brown); }

#wz-ow-editor.wz-ma .wz-ma-start { border-left: 4px solid var(--ow-wine); }

#wz-ow-editor.wz-ma .wz-ma-qr-row {
	display: flex;
	gap: 26px;
	align-items: flex-start;
}
#wz-ow-editor.wz-ma .wz-ma-qr {
	flex: 0 0 200px;
	width: 200px;
	min-height: 200px;
	background: #fff;
	border: 1px solid var(--ow-line);
	border-radius: 14px;
	padding: 10px;
	box-shadow: 0 6px 20px rgba(41, 45, 41, .06);
	font-size: 13px;
	color: var(--ow-muted);
}
#wz-ow-editor.wz-ma .wz-ma-qr img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
#wz-ow-editor.wz-ma .wz-ma-qr-side { flex: 1 1 auto; min-width: 0; }
#wz-ow-editor.wz-ma .wz-ma-qr-side h3 { font-size: 24px; margin-bottom: 8px; }
#wz-ow-editor.wz-ma .wz-ma-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
#wz-ow-editor.wz-ma .wz-ma-link { margin: 0; }
#wz-ow-editor.wz-ma .wz-ma-link .wz-ow-url { font-size: 14px; }

#wz-ow-editor.wz-ma .wz-ma-dates { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; margin: 0; }
#wz-ow-editor.wz-ma .wz-ma-dates label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ow-brown); margin: 0; }
#wz-ow-editor.wz-ma .wz-ma-dates input[type=date] {
	min-width: 180px;
	padding: 10px 12px !important;
	border: 1px solid var(--ow-line) !important;
	border-radius: 10px !important;
	background: #fff !important;
	color: var(--ow-ink);
	font-size: 15px;
	height: auto !important;
	margin: 0 !important;
}
#wz-ow-editor.wz-ma .wz-ma-reset { margin: 12px 0 0; }
#wz-ow-editor.wz-ma .wz-ma-textbtn {
	background: none !important;
	border: 0 !important;
	padding: 0 !important;
	color: var(--ow-wine) !important;
	font-size: 14px;
	text-decoration: underline;
	cursor: pointer;
	box-shadow: none !important;
}

#wz-ow-editor.wz-ma .wz-ma-how ol { list-style: none; margin: 12px 0 0; padding: 0; counter-reset: wzma; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; }
#wz-ow-editor.wz-ma .wz-ma-how li { counter-increment: wzma; position: relative; padding-left: 44px; margin: 0; }
#wz-ow-editor.wz-ma .wz-ma-how li::before {
	content: counter(wzma);
	position: absolute;
	left: 0;
	top: 0;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1px solid var(--ow-wine);
	color: var(--ow-wine);
	font-family: var(--ow-serif);
	font-size: 15px;
	line-height: 28px;
	text-align: center;
}
#wz-ow-editor.wz-ma .wz-ma-how li strong { display: block; font-weight: 600; color: var(--ow-ink); font-size: 15px; margin-bottom: 2px; }
#wz-ow-editor.wz-ma .wz-ma-how li span { display: block; font-size: 14px; color: var(--ow-brown); line-height: 1.45; }

#wz-ow-editor.wz-ma .wz-ma-off { margin: 4px 0 8px; }

@media (max-width: 700px) {
	#wz-ow-editor.wz-ma .wz-ma-qr-row { flex-direction: column; align-items: center; text-align: center; }
	#wz-ow-editor.wz-ma .wz-ma-qr { flex-basis: auto; width: 220px; }
	#wz-ow-editor.wz-ma .wz-ma-buttons { justify-content: center; }
	#wz-ow-editor.wz-ma .wz-ma-how ol { grid-template-columns: 1fr; }
	#wz-ow-editor.wz-ma .wz-ma-dates label { flex: 1 1 140px; }
	#wz-ow-editor.wz-ma .wz-ma-dates input[type=date] { min-width: 0; width: 100%; }
}

/* ---------- Guests' page ---------- */

html body.wz-ma-guest-page {
	margin: 0 !important;
	padding: 0 !important;
	min-height: 100vh;
	background: #EAE0D6 !important;
}
.wz-ma-guest {
	--ma-bg: #F7F4ED;
	--ma-ink: #292D29;
	--ma-brown: #5D5040;
	--ma-muted: #AC9C8D;
	--ma-wine: #702F3D;
	--ma-sage: #879681;
	--ma-serif: "Butler", Georgia, "Times New Roman", serif;
	--ma-sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	box-sizing: border-box;
	font-family: var(--ma-sans);
	color: var(--ma-ink);
}
.wz-ma-guest-card {
	width: 100%;
	max-width: 460px;
	background: var(--ma-bg);
	border-radius: 22px;
	padding: 40px 28px 26px;
	text-align: center;
	box-shadow: 0 18px 50px rgba(41, 45, 41, .10);
	box-sizing: border-box;
}
.wz-ma-guest .wz-ma-kicker { margin: 0 0 10px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ma-sage); }
.wz-ma-guest h1 { margin: 0; font-family: var(--ma-serif); font-weight: 400; font-size: 34px; line-height: 1.15; color: var(--ma-ink); }
.wz-ma-guest .wz-ma-date { margin: 8px 0 0; font-family: var(--ma-serif); font-style: italic; color: var(--ma-brown); font-size: 17px; }
.wz-ma-guest .wz-ma-rule { display: block; width: 46px; height: 2px; background: var(--ma-wine); margin: 22px auto; }
.wz-ma-guest p { font-size: 16px; line-height: 1.55; color: var(--ma-brown); margin: 0 0 12px; }
.wz-ma-guest p strong { color: var(--ma-ink); }
.wz-ma-guest .wz-ma-made { margin: 26px 0 0; font-size: 12px; color: var(--ma-muted); }
.wz-ma-guest .wz-ma-made a { color: var(--ma-muted); text-decoration: underline; }

/* Upload form */
.wz-ma-guest .wz-ma-lead { color: var(--ma-ink); font-size: 17px; margin-bottom: 20px; }
.wz-ma-guest .wz-ma-up { text-align: left; margin: 0; }
.wz-ma-guest .wz-ma-name { display: block; margin: 0 0 16px; }
.wz-ma-guest .wz-ma-name span { display: block; font-size: 14px; color: var(--ma-brown); margin-bottom: 6px; }
.wz-ma-guest .wz-ma-name em { color: var(--ma-muted); font-style: normal; }
.wz-ma-guest .wz-ma-name input {
	width: 100%;
	box-sizing: border-box;
	padding: 13px 14px;
	border: 1px solid #EAE0D6;
	border-radius: 12px;
	background: #fff;
	font: 16px var(--ma-sans); /* 16px: no zoom on iPhone */
	color: var(--ma-ink);
	margin: 0;
	height: auto;
}
.wz-ma-guest .wz-ma-name input:focus { outline: 2px solid var(--ma-sage); outline-offset: 1px; border-color: var(--ma-sage); }

/* Without JavaScript the file field is visible; with it, the big "Choose" button is used. */
.wz-ma-guest .wz-ma-file { display: block; width: 100%; margin: 0 0 14px; font-size: 15px; }
.wz-ma-guest .wz-ma-up.is-js .wz-ma-file { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); margin: 0; }
.wz-ma-guest .wz-ma-pick { display: none; }
.wz-ma-guest .wz-ma-up.is-js .wz-ma-pick {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 150px;
	border: 2px dashed #AC9C8D;
	border-radius: 16px;
	background: #fff;
	color: var(--ma-wine);
	font-size: 17px;
	font-weight: 600;
	cursor: pointer;
	text-align: center;
	padding: 18px;
	box-sizing: border-box;
	transition: background .15s, border-color .15s;
}
.wz-ma-guest .wz-ma-up.is-js .wz-ma-pick:hover { background: #fbf8f3; border-color: var(--ma-wine); }
.wz-ma-guest .wz-ma-up.has-photos .wz-ma-pick { min-height: 0; flex-direction: row; padding: 14px; font-size: 15px; }
.wz-ma-guest .wz-ma-up.is-full .wz-ma-pick { pointer-events: none; color: var(--ma-sage); border-style: solid; border-color: #EAE0D6; }
.wz-ma-guest .wz-ma-up.is-full .wz-ma-cam { display: none; }
.wz-ma-guest .wz-ma-cam {
	width: 46px;
	height: 46px;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23702F3D' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M8 7l1.5-3h5L16 7'/%3E%3Ccircle cx='12' cy='13.5' r='3.5'/%3E%3C/svg%3E");
}
.wz-ma-guest .wz-ma-up.has-photos .wz-ma-cam { width: 24px; height: 24px; }

.wz-ma-guest .wz-ma-previews { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wz-ma-guest .wz-ma-previews:empty { display: none; }
.wz-ma-guest .wz-ma-previews li { position: relative; margin: 0; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; background: #EAE0D6; }
.wz-ma-guest .wz-ma-previews img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wz-ma-guest .wz-ma-x {
	position: absolute;
	top: 5px;
	right: 5px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 0;
	padding: 0;
	background: rgba(41, 45, 41, .72);
	color: #fff;
	font-size: 20px;
	line-height: 28px;
	text-align: center;
	cursor: pointer;
}

.wz-ma-guest .wz-ma-msg { min-height: 0; margin: 12px 0 0; font-size: 14px; color: var(--ma-brown); text-align: center; }
.wz-ma-guest .wz-ma-msg:empty { display: none; }
.wz-ma-guest .wz-ma-msg.is-err, .wz-ma-guest .wz-ma-err { color: var(--ma-wine); }
.wz-ma-guest .wz-ma-ok { color: var(--ma-ink); background: #eef1ec; border: 1px solid var(--ma-sage); border-radius: 12px; padding: 10px 14px; font-size: 15px; }
.wz-ma-guest .wz-ma-err { background: #f6ecee; border: 1px solid var(--ma-wine); border-radius: 12px; padding: 10px 14px; font-size: 15px; }

.wz-ma-guest .wz-ma-send, .wz-ma-guest .wz-ma-more {
	display: block;
	width: 100%;
	margin: 16px 0 0;
	padding: 15px 20px;
	border: 0;
	border-radius: 999px;
	background: var(--ma-wine);
	color: #fff;
	font: 600 17px var(--ma-sans);
	cursor: pointer;
}
.wz-ma-guest .wz-ma-send:hover, .wz-ma-guest .wz-ma-more:hover { background: #5a2531; }
.wz-ma-guest .wz-ma-up.is-js:not(.has-photos) .wz-ma-send { background: #c9b9bd; }
.wz-ma-guest .wz-ma-up.is-sending .wz-ma-send,
.wz-ma-guest .wz-ma-up.is-sending .wz-ma-pick,
.wz-ma-guest .wz-ma-up.is-sending .wz-ma-x { display: none; }
.wz-ma-guest .wz-ma-more { background: transparent; color: var(--ma-wine); border: 1px solid var(--ma-wine); }
.wz-ma-guest .wz-ma-more:hover { color: #fff; }

.wz-ma-guest .wz-ma-progress { text-align: center; margin: 18px 0 0; }
.wz-ma-guest .wz-ma-progress[hidden], .wz-ma-guest [hidden] { display: none !important; }
.wz-ma-guest .wz-ma-spin { width: 34px; height: 34px; margin: 0 auto 10px; border: 3px solid #EAE0D6; border-top-color: var(--ma-wine); border-radius: 50%; animation: wzmaspin .9s linear infinite; }
@keyframes wzmaspin { to { transform: rotate(360deg); } }
.wz-ma-guest .wz-ma-progress-text { color: var(--ma-ink); font-size: 15px; margin: 0 0 10px; }
.wz-ma-guest .wz-ma-bar { height: 6px; background: #EAE0D6; border-radius: 6px; overflow: hidden; }
.wz-ma-guest .wz-ma-bar span { display: block; height: 100%; width: 0; background: var(--ma-wine); transition: width .2s; }
.wz-ma-guest .wz-ma-keep { font-size: 13px; color: var(--ma-muted); margin: 10px 0 0; }

.wz-ma-guest .wz-ma-done { text-align: center; }
.wz-ma-guest .wz-ma-done h2 { font-family: var(--ma-serif); font-weight: 400; font-size: 28px; margin: 6px 0 10px; color: var(--ma-ink); }
.wz-ma-guest .wz-ma-tick {
	display: block;
	width: 56px;
	height: 56px;
	margin: 0 auto;
	border-radius: 50%;
	background: var(--ma-sage) no-repeat center / 26px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

.wz-ma-guest .wz-ma-privacy { font-size: 12.5px; color: var(--ma-muted); margin: 22px 0 0; line-height: 1.5; }
.wz-ma-guest .wz-ma-privacy a { color: var(--ma-muted); text-decoration: underline; }

/* ---------- ZONE: views ---------- */
#wz-ow-editor.wz-ma .wz-ma-views { display: flex; gap: 6px; margin: 0 0 18px; border-bottom: 1px solid var(--ow-line); flex-wrap: wrap; }
#wz-ow-editor.wz-ma .wz-ma-views a { padding: 10px 16px; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--ow-brown); text-decoration: none; font-size: 15px; font-weight: 500; }
#wz-ow-editor.wz-ma .wz-ma-views a:hover { color: var(--ow-wine); }
#wz-ow-editor.wz-ma .wz-ma-views a.is-on { border-bottom-color: var(--ow-wine); color: var(--ow-wine); font-weight: 600; }
#wz-ow-editor.wz-ma .wz-ma-views a span { display: inline-block; min-width: 22px; padding: 1px 7px; margin-left: 4px; border-radius: 999px; background: var(--ow-line); color: var(--ow-brown); font-size: 12px; text-align: center; }

/* ---------- ZONE: collection ---------- */
#wz-ow-editor.wz-ma .wz-ma-empty { text-align: center; padding: 34px 22px; }
#wz-ow-editor.wz-ma .wz-ma-empty-icon {
	display: block; width: 52px; height: 52px; margin: 0 auto 10px;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23AC9C8D' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M8 7l1.5-3h5L16 7'/%3E%3Ccircle cx='12' cy='13.5' r='3.5'/%3E%3C/svg%3E");
}
#wz-ow-editor.wz-ma .wz-ma-coll-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
#wz-ow-editor.wz-ma .wz-ma-kept-meter { flex: 0 0 auto; text-align: center; padding: 8px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--ow-line); color: var(--ow-brown); font-size: 13px; line-height: 1.2; }
#wz-ow-editor.wz-ma .wz-ma-kept-meter strong { display: block; font-family: var(--ow-serif); font-weight: 400; font-size: 26px; color: var(--ow-wine); }

#wz-ow-editor.wz-ma .wz-ma-filters { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 4px 0 14px; }
#wz-ow-editor.wz-ma .wz-ma-chips { display: flex; flex-wrap: wrap; gap: 8px; }
#wz-ow-editor.wz-ma .wz-ma-chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--ow-line); background: #fff; color: var(--ow-brown); font-size: 14px; text-decoration: none; }
#wz-ow-editor.wz-ma .wz-ma-chip span { color: var(--ow-muted); margin-left: 2px; }
#wz-ow-editor.wz-ma .wz-ma-chip.is-on { background: var(--ow-wine); border-color: var(--ow-wine); color: #fff; }
#wz-ow-editor.wz-ma .wz-ma-chip.is-on span { color: #f0dfe3; }
#wz-ow-editor.wz-ma .wz-ma-guestpick { margin: 0; }
#wz-ow-editor.wz-ma .wz-ma-guestpick select { padding: 8px 12px !important; border: 1px solid var(--ow-line) !important; border-radius: 10px !important; background: #fff !important; font-size: 14px; height: auto !important; margin: 0 !important; max-width: 260px; }
#wz-ow-editor.wz-ma .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

#wz-ow-editor.wz-ma .wz-ma-bar { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 10px 12px; margin: 0 0 12px; border-radius: 12px; background: var(--ow-bg); border: 1px solid var(--ow-line); }
#wz-ow-editor.wz-ma .wz-ma-bar.has-sel { background: #fff; border-color: var(--ow-wine); box-shadow: 0 6px 18px rgba(41,45,41,.08); }
#wz-ow-editor.wz-ma .wz-ma-all { margin: 0; }
#wz-ow-editor.wz-ma .wz-ma-selcount { font-size: 14px; color: var(--ow-wine); font-weight: 600; }
#wz-ow-editor.wz-ma .wz-ma-bar-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
#wz-ow-editor.wz-ma .wz-ma-bar-btns .wz-ow-btn { padding: 7px 14px !important; font-size: 14px !important; }
#wz-ow-editor.wz-ma .wz-ma-bar:not(.has-sel) .wz-ma-bar-btns { opacity: .45; }
#wz-ow-editor.wz-ma .wz-ma-danger { border-color: #a14a5b !important; color: #a14a5b !important; }
#wz-ow-editor.wz-ma .wz-ma-danger:hover { background: #a14a5b !important; color: #fff !important; }

#wz-ow-editor.wz-ma .wz-ma-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
#wz-ow-editor.wz-ma .wz-ma-item { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: #fff; border: 2px solid transparent; transition: border-color .15s, box-shadow .15s; }
#wz-ow-editor.wz-ma .wz-ma-item.is-kept { border-color: var(--ow-wine); }
#wz-ow-editor.wz-ma .wz-ma-item.is-sel { box-shadow: 0 0 0 3px var(--ow-sage); }
#wz-ow-editor.wz-ma .wz-ma-open { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--ow-line); }
#wz-ow-editor.wz-ma .wz-ma-open img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
#wz-ow-editor.wz-ma .wz-ma-open:hover img { transform: scale(1.03); }
#wz-ow-editor.wz-ma .wz-ma-sel { position: absolute; top: 8px; left: 8px; z-index: 2; margin: 0; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: 7px; background: rgba(255,255,255,.92); box-shadow: 0 1px 4px rgba(0,0,0,.15); cursor: pointer; }
#wz-ow-editor.wz-ma .wz-ma-sel input { width: 17px; height: 17px; margin: 0; accent-color: var(--ow-sage); cursor: pointer; }
#wz-ow-editor.wz-ma .wz-ma-heart {
	position: absolute; top: 6px; right: 6px; z-index: 2;
	width: 38px; height: 38px; padding: 0 !important; border: 0 !important; border-radius: 50% !important;
	background: rgba(255,255,255,.92) no-repeat center / 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23702F3D' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E") !important;
	box-shadow: 0 1px 4px rgba(0,0,0,.15) !important; cursor: pointer; transition: transform .12s;
}
#wz-ow-editor.wz-ma .wz-ma-heart:hover { transform: scale(1.08); }
#wz-ow-editor.wz-ma .wz-ma-heart[aria-pressed="true"] {
	background: var(--ow-wine) no-repeat center / 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff' stroke='%23fff' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E") !important;
}
#wz-ow-editor.wz-ma .wz-ma-onsite { position: absolute; left: 8px; bottom: 50px; z-index: 2; padding: 2px 8px; border-radius: 999px; background: var(--ow-sage); color: #fff; font-size: 11px; font-weight: 600; }
#wz-ow-editor.wz-ma .wz-ma-cap { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; font-size: 13px; }
#wz-ow-editor.wz-ma .wz-ma-who { color: var(--ow-ink); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#wz-ow-editor.wz-ma .wz-ma-when { color: var(--ow-muted); white-space: nowrap; }
#wz-ow-editor.wz-ma .wz-ma-pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 18px 0 0; }
#wz-ow-editor.wz-ma .wz-ma-pager a, #wz-ow-editor.wz-ma .wz-ma-pager span { min-width: 34px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--ow-line); text-align: center; text-decoration: none; color: var(--ow-brown); background: #fff; font-size: 14px; }
#wz-ow-editor.wz-ma .wz-ma-pager .is-on { background: var(--ow-wine); border-color: var(--ow-wine); color: #fff; }

@media (max-width: 700px) {
	#wz-ow-editor.wz-ma .wz-ma-coll-head { flex-direction: column; }
	#wz-ow-editor.wz-ma .wz-ma-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
	#wz-ow-editor.wz-ma .wz-ma-bar-btns { margin-left: 0; width: 100%; }
	#wz-ow-editor.wz-ma .wz-ma-when { display: none; }
}

/* Large view */
html.wz-ma-lock { overflow: hidden; }
.wz-ma-lb { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; background: rgba(41,45,41,.95); padding: 20px 64px 92px; box-sizing: border-box; font-family: "Work Sans", system-ui, sans-serif; }
.wz-ma-lb.is-open { display: flex; }
.wz-ma-lb figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.wz-ma-lb img { display: block; max-width: min(90vw, 1600px); max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 3px; }
.wz-ma-lb figcaption { display: flex; gap: 14px; margin-top: 10px; color: #EAE0D6; font-size: 14px; }
.wz-ma-lb-count { color: #AC9C8D; }
.wz-ma-lb button { font-family: inherit; cursor: pointer; }
.wz-ma-lb-x, .wz-ma-lb-prev, .wz-ma-lb-next { position: absolute; border: 0; background: rgba(255,255,255,.08); color: #fff; border-radius: 50%; width: 46px; height: 46px; font-size: 30px; line-height: 44px; padding: 0; }
.wz-ma-lb-x { top: 14px; right: 14px; }
.wz-ma-lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.wz-ma-lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.wz-ma-lb-tools { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: 12px; }
.wz-ma-lb-keep, .wz-ma-lb-del { border-radius: 999px; padding: 11px 24px; font-size: 15px; font-weight: 600; border: 1px solid #EAE0D6; background: transparent; color: #fff; }
.wz-ma-lb-keep.is-kept { background: #702F3D; border-color: #702F3D; }
.wz-ma-lb-del { border-color: rgba(234,224,214,.4); color: #EAE0D6; font-weight: 500; }
@media (max-width: 700px) {
	.wz-ma-lb { padding: 56px 8px 92px; }
	.wz-ma-lb-prev, .wz-ma-lb-next { display: none; }
}
@media (max-width: 700px) {
	#wz-ow-editor.wz-ma .wz-ma-views { flex-wrap: nowrap; }
	#wz-ow-editor.wz-ma .wz-ma-views a { padding: 10px 10px; font-size: 14px; white-space: nowrap; }
	#wz-ow-editor.wz-ma .wz-ma-kept-meter { align-self: flex-start; }
}

/* ---------- ZONE: album builder (pages with layouts) ---------- */
#wz-ow-editor.wz-ma .wz-ma-empty-icon.is-album {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23AC9C8D' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='2'/%3E%3Crect x='7' y='6' width='10' height='8' rx='1'/%3E%3Cpath d='M8 18h8'/%3E%3C/svg%3E");
}
#wz-ow-editor.wz-ma .wz-ma-set-row { display: flex; flex-wrap: wrap; gap: 0 34px; }
#wz-ow-editor.wz-ma .wz-ma-opt { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
#wz-ow-editor.wz-ma .wz-ma-opt legend { font-size: 13px; color: var(--ow-brown); margin: 0 0 8px; padding: 0; font-weight: 600; letter-spacing: .02em; }
#wz-ow-editor.wz-ma .wz-ma-choices { display: flex; flex-wrap: wrap; gap: 10px; }
#wz-ow-editor.wz-ma .wz-ma-choice { margin: 0; cursor: pointer; position: relative; }
#wz-ow-editor.wz-ma .wz-ma-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
#wz-ow-editor.wz-ma .wz-ma-choice-box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 104px; height: 100%; box-sizing: border-box; padding: 11px 14px; border: 1px solid var(--ow-line); border-radius: 12px; background: #fff; color: var(--ow-ink); font-size: 15px; font-weight: 500; text-align: center; transition: border-color .15s, box-shadow .15s; }
#wz-ow-editor.wz-ma .wz-ma-choice-box small { display: block; font-size: 12px; font-weight: 400; color: var(--ow-muted); max-width: 170px; line-height: 1.35; }
#wz-ow-editor.wz-ma .wz-ma-choice input:checked + .wz-ma-choice-box { border-color: var(--ow-wine); box-shadow: 0 0 0 1px var(--ow-wine); color: var(--ow-wine); }
#wz-ow-editor.wz-ma .wz-ma-choice input:focus-visible + .wz-ma-choice-box { outline: 2px solid var(--ow-sage); outline-offset: 2px; }
#wz-ow-editor.wz-ma .wz-ma-mini { display: block; width: calc(var(--mw) * 6px); height: calc(var(--mh) * 6px); border: 1.5px solid currentColor; border-radius: 2px; opacity: .7; }

/* Layout icons */
#wz-ow-editor.wz-ma .wz-ma-layouts .wz-ma-choice-box { min-width: 0; width: 96px; padding: 10px 8px; }
#wz-ow-editor.wz-ma .wz-ma-licon { position: relative; display: block; width: 54px; height: 36px; }
#wz-ow-editor.wz-ma .wz-ma-album.orient-port .wz-ma-licon { width: 30px; height: 45px; }
#wz-ow-editor.wz-ma .wz-ma-licon i { position: absolute; box-sizing: border-box; border: 1.5px solid #fff; background: var(--ow-muted); border-radius: 2px; }
#wz-ow-editor.wz-ma .wz-ma-licon i.is-main { background: var(--ow-brown); }
#wz-ow-editor.wz-ma .wz-ma-choice input:checked + .wz-ma-choice-box .wz-ma-licon i { background: #c9a2ab; }
#wz-ow-editor.wz-ma .wz-ma-choice input:checked + .wz-ma-choice-box .wz-ma-licon i.is-main { background: var(--ow-wine); }

/* Border icons */
#wz-ow-editor.wz-ma .wz-ma-borderchoice .wz-ma-choice-box { width: 150px; }
#wz-ow-editor.wz-ma .wz-ma-bicon { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; width: 54px; height: 36px; background: #fff; border: 1px solid var(--ow-line); box-sizing: border-box; }
#wz-ow-editor.wz-ma .wz-ma-bicon i { background: var(--ow-muted); }
#wz-ow-editor.wz-ma .wz-ma-bicon i:first-child { grid-row: 1 / span 2; background: var(--ow-brown); }
#wz-ow-editor.wz-ma .wz-ma-bicon.is-all { padding: 2px; gap: 3px; }
#wz-ow-editor.wz-ma .wz-ma-bicon.is-main i:first-child { margin: 3px; }
#wz-ow-editor.wz-ma .wz-ma-choice input:checked + .wz-ma-choice-box .wz-ma-bicon i:first-child { background: var(--ow-wine); }

#wz-ow-editor.wz-ma .wz-ma-cover-field { display: flex; flex-direction: column; gap: 6px; max-width: 420px; margin: 0; font-size: 13px; font-weight: 600; color: var(--ow-brown); }
#wz-ow-editor.wz-ma .wz-ma-cover-field input { padding: 10px 12px !important; border: 1px solid var(--ow-line) !important; border-radius: 10px !important; background: #fff !important; font-size: 15px; font-weight: 400; height: auto !important; margin: 0 !important; }

/* Pages */
#wz-ow-editor.wz-ma .wz-ma-book { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px 16px; }
#wz-ow-editor.wz-ma .wz-ma-album.orient-port .wz-ma-book { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
#wz-ow-editor.wz-ma .wz-ma-book-pages { display: contents; }
#wz-ow-editor.wz-ma .wz-ma-page { margin: 0; position: relative; min-width: 0; }
#wz-ow-editor.wz-ma .wz-ma-paper {
	position: relative; aspect-ratio: var(--pw) / var(--ph); background: #fff; border-radius: 2px; overflow: hidden;
	box-shadow: 0 1px 2px rgba(41,45,41,.14), 0 8px 18px rgba(41,45,41,.09);
	container-type: inline-size;
}
#wz-ow-editor.wz-ma .wz-ma-lay { position: absolute; inset: 0; }
#wz-ow-editor.wz-ma .wz-ma-cell { position: absolute; box-sizing: border-box; padding: 0; }
#wz-ow-editor.wz-ma .wz-ma-cell img { display: block; width: 100%; height: 100%; object-fit: cover; cursor: crosshair; }
/* Borders: white space measured on the page width (cqw), the same on every side */
#wz-ow-editor.wz-ma .wz-ma-paper.bd-all .wz-ma-lay { inset: 1.8cqw; }
#wz-ow-editor.wz-ma .wz-ma-paper.bd-all .wz-ma-cell { padding: 1.8cqw; }
#wz-ow-editor.wz-ma .wz-ma-paper.bd-main .wz-ma-cell.is-main { padding: 3.6cqw; }
#wz-ow-editor.wz-ma .wz-ma-focus-dot { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,.3); opacity: 0; transition: opacity .3s; pointer-events: none; }
#wz-ow-editor.wz-ma .wz-ma-cell.is-focused .wz-ma-focus-dot { opacity: 1; }
#wz-ow-editor.wz-ma .wz-ma-page.is-cover .wz-ma-paper { background: var(--ow-bg); border: 1px solid var(--ow-line); display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
#wz-ow-editor.wz-ma .wz-ma-cover-in { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10%; text-align: center; }
#wz-ow-editor.wz-ma .wz-ma-cover-text { font-family: var(--ow-serif); font-size: 21px; line-height: 1.2; color: var(--ow-ink); }
#wz-ow-editor.wz-ma .wz-ma-cover-text::after { content: ""; display: block; width: 28px; height: 1.5px; background: var(--ow-wine); margin: 9px auto 0; }
#wz-ow-editor.wz-ma .wz-ma-cover-date { font-family: var(--ow-serif); font-style: italic; font-size: 13px; color: var(--ow-brown); }
#wz-ow-editor.wz-ma .wz-ma-page-foot { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; color: var(--ow-brown); min-height: 30px; }
#wz-ow-editor.wz-ma .wz-ma-page-num { flex: 0 0 auto; min-width: 22px; height: 22px; line-height: 22px; border-radius: 50%; background: var(--ow-line); color: var(--ow-ink); text-align: center; font-size: 12px; font-weight: 600; }
#wz-ow-editor.wz-ma .wz-ma-page-layout { flex: 1 1 auto; min-width: 0; padding: 5px 8px !important; border: 1px solid var(--ow-line) !important; border-radius: 8px !important; background: #fff !important; font-size: 13px; height: auto !important; margin: 0 !important; color: var(--ow-ink); }

/* Photo order strip and pool */
#wz-ow-editor.wz-ma .wz-ma-strip, #wz-ow-editor.wz-ma .wz-ma-pool { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
#wz-ow-editor.wz-ma .wz-ma-thumb { margin: 0; min-width: 0; }
#wz-ow-editor.wz-ma .wz-ma-strip .wz-ma-thumb { cursor: grab; }
#wz-ow-editor.wz-ma .wz-ma-thumb.is-dragging { opacity: .35; }
#wz-ow-editor.wz-ma .wz-ma-thumb img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; background: var(--ow-line); }
#wz-ow-editor.wz-ma .wz-ma-thumb-bar { display: flex; align-items: center; justify-content: center; gap: 3px; margin-top: 5px; }
#wz-ow-editor.wz-ma .wz-ma-thumb-bar .wz-ma-page-num { margin-right: auto; }
#wz-ow-editor.wz-ma .wz-ma-mv, #wz-ow-editor.wz-ma .wz-ma-out, #wz-ow-editor.wz-ma .wz-ma-in {
	min-width: 26px; height: 26px; padding: 0 5px !important; border: 1px solid var(--ow-line) !important; border-radius: 7px !important;
	background: #fff !important; color: var(--ow-brown) !important; font-size: 14px; line-height: 1; cursor: pointer; box-shadow: none !important; white-space: nowrap;
}
#wz-ow-editor.wz-ma .wz-ma-out:hover { border-color: #a14a5b !important; color: #a14a5b !important; }
#wz-ow-editor.wz-ma .wz-ma-in { color: var(--ow-wine) !important; border-color: var(--ow-wine) !important; font-size: 13px; font-weight: 600; padding: 0 10px !important; }
#wz-ow-editor.wz-ma .wz-ma-in:hover { background: var(--ow-wine) !important; color: #fff !important; }
#wz-ow-editor.wz-ma .wz-ma-album.is-full .wz-ma-in { opacity: .4; }
#wz-ow-editor.wz-ma .wz-ma-pool-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
#wz-ow-editor.wz-ma .wz-ma-pool-head .wz-ow-btn { padding: 7px 16px !important; font-size: 14px !important; }

#wz-ow-editor.wz-ma .wz-ma-album-save { position: sticky; bottom: 0; z-index: 6; display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; background: var(--ow-bg); border: 1px solid var(--ow-line); box-shadow: 0 -4px 16px rgba(41,45,41,.06); }
#wz-ow-editor.wz-ma .wz-ma-album-save [data-dirty-hint] { display: none; color: var(--ow-wine); }
#wz-ow-editor.wz-ma .wz-ma-album.is-dirty [data-dirty-hint] { display: inline; }

@media (max-width: 700px) {
	#wz-ow-editor.wz-ma .wz-ma-book { grid-template-columns: repeat(2, 1fr) !important; gap: 14px 10px; }
	#wz-ow-editor.wz-ma .wz-ma-strip, #wz-ow-editor.wz-ma .wz-ma-pool { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	#wz-ow-editor.wz-ma .wz-ma-choice-box { min-width: 0; padding: 10px 10px; }
	#wz-ow-editor.wz-ma .wz-ma-borderchoice .wz-ma-choice-box { width: auto; }
	#wz-ow-editor.wz-ma .wz-ma-borderchoice { flex: 1 1 30%; }
	#wz-ow-editor.wz-ma .wz-ma-borderchoice small { display: none; }
	#wz-ow-editor.wz-ma .wz-ma-layouts .wz-ma-choice-box { width: 74px; }
	#wz-ow-editor.wz-ma .wz-ma-layouts small { font-size: 11px; }
	#wz-ow-editor.wz-ma .wz-ma-cover-text { font-size: 15px; }
	#wz-ow-editor.wz-ma .wz-ma-strip .wz-ma-thumb-bar .wz-ma-page-num { display: none; }
	#wz-ow-editor.wz-ma .wz-ma-thumb-bar { gap: 2px; }
	#wz-ow-editor.wz-ma .wz-ma-mv, #wz-ow-editor.wz-ma .wz-ma-out { min-width: 24px; height: 26px; padding: 0 3px !important; }
}
#wz-ow-editor.wz-ma .wz-ma-flip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 10px !important; border: 1px solid var(--ow-line) !important; border-radius: 8px !important; background: #fff !important; color: var(--ow-brown) !important; font-size: 13px; font-weight: 500; cursor: pointer; box-shadow: none !important; white-space: nowrap; }
#wz-ow-editor.wz-ma .wz-ma-flip span { font-size: 15px; line-height: 1; }
#wz-ow-editor.wz-ma .wz-ma-flip:hover { border-color: var(--ow-wine) !important; color: var(--ow-wine) !important; }
#wz-ow-editor.wz-ma .wz-ma-flip.is-on { background: var(--ow-wine) !important; border-color: var(--ow-wine) !important; color: #fff !important; }
@media (max-width: 700px) {
	#wz-ow-editor.wz-ma .wz-ma-page-foot { flex-wrap: wrap; }
	#wz-ow-editor.wz-ma .wz-ma-flip { padding: 0 8px !important; }
}
/* Download card */
#wz-ow-editor.wz-ma .wz-ma-get { border-left: 4px solid var(--ow-sage); }
#wz-ow-editor.wz-ma .wz-ma-free { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: var(--ow-sage); color: #fff; font-family: var(--ow-sans); font-size: 12px; font-weight: 600; vertical-align: middle; }
#wz-ow-editor.wz-ma .wz-ma-get-btns { display: flex; flex-wrap: wrap; gap: 10px; }
#wz-ow-editor.wz-ma .wz-ma-dl.is-busy { opacity: .7; pointer-events: none; }
#wz-ow-editor.wz-ma .wz-ma-dl-dirty { display: none; color: var(--ow-wine); }
#wz-ow-editor.wz-ma .wz-ma-album.is-dirty .wz-ma-dl-dirty { display: inline; }
/* Order */
#wz-ow-editor.wz-ma .wz-ma-get { display: grid; grid-template-columns: 1fr 1fr; gap: 0 34px; }
#wz-ow-editor.wz-ma .wz-ma-get-col + .wz-ma-get-col { border-left: 1px solid var(--ow-line); padding-left: 34px; }
#wz-ow-editor.wz-ma .wz-ma-order-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
#wz-ow-editor.wz-ma .wz-ma-price { font-family: var(--ow-serif); font-size: 26px; color: var(--ow-wine); }
#wz-ow-editor.wz-ma .wz-ma-price del { color: var(--ow-muted); font-size: 18px; margin-right: 6px; }
#wz-ow-editor.wz-ma .wz-ma-price ins { text-decoration: none; }
#wz-ow-editor.wz-ma .wz-ma-myorders { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--ow-line); }
#wz-ow-editor.wz-ma .wz-ma-myorders h4 { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--ow-ink); font-family: var(--ow-sans); }
#wz-ow-editor.wz-ma .wz-ma-myorders ul { margin: 0; padding: 0 0 0 18px; font-size: 13px; color: var(--ow-brown); }
#wz-ow-editor.wz-ma .wz-ma-myorders a { color: var(--ow-wine); }
@media (max-width: 800px) {
	#wz-ow-editor.wz-ma .wz-ma-get { grid-template-columns: 1fr; }
	#wz-ow-editor.wz-ma .wz-ma-get-col + .wz-ma-get-col { border-left: 0; padding-left: 0; border-top: 1px solid var(--ow-line); padding-top: 16px; margin-top: 8px; }
}
#wz-ow-editor.wz-ma .wz-ma-over { margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; background: #f6ecee; border: 1px solid var(--ow-wine); color: var(--ow-wine); font-size: 14px; }
#wz-ow-editor.wz-ma .wz-ma-album.is-over .wz-ma-pages-head .wz-ow-count-pill { background: #f6ecee; color: var(--ow-wine); }
#wz-ow-editor.wz-ma .wz-ma-size .wz-ma-choice-box small { margin-top: -2px; }
/* Locked */
#wz-ow-editor.wz-ma .wz-ma-unlock-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 6px; }
#wz-ow-editor.wz-ma .wz-ma-unlock-way { position: relative; background: #fff; border: 1px solid var(--ow-line); border-radius: 14px; padding: 18px 18px 20px; }
#wz-ow-editor.wz-ma .wz-ma-unlock-way h4 { margin: 0 0 6px; font-family: var(--ow-serif); font-weight: 400; font-size: 19px; color: var(--ow-ink); padding-right: 70px; }
#wz-ow-editor.wz-ma .wz-ma-unlock-way p { margin: 0 0 14px; font-size: 14px; color: var(--ow-brown); line-height: 1.5; }
#wz-ow-editor.wz-ma .wz-ma-unlock-way form { margin: 0; }
#wz-ow-editor.wz-ma .wz-ma-way-tag { position: absolute; top: 16px; right: 16px; padding: 3px 11px; border-radius: 999px; background: var(--ow-sage); color: #fff; font-size: 12px; font-weight: 600; }
#wz-ow-editor.wz-ma .wz-ma-way-tag.is-pay { background: var(--ow-wine); }
#wz-ow-editor.wz-ma .wz-ma-credit { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: #eef1ec; border: 1px solid var(--ow-sage); color: var(--ow-ink); font-size: 14px; }

/* Under each page: move the big photo, borders */
#wz-ow-editor.wz-ma .wz-ma-cycle { flex: 0 0 auto; width: 32px; height: 30px; padding: 0 !important; border: 1px solid var(--ow-line) !important; border-radius: 8px !important; background: #fff !important; color: var(--ow-wine) !important; font-size: 17px; line-height: 1; cursor: pointer; box-shadow: none !important; }
#wz-ow-editor.wz-ma .wz-ma-cycle:hover { background: var(--ow-wine) !important; color: #fff !important; border-color: var(--ow-wine) !important; }
#wz-ow-editor.wz-ma .wz-ma-page-borders { display: flex; gap: 6px; margin-top: 6px; }
#wz-ow-editor.wz-ma .wz-ma-pb { flex: 0 0 auto; padding: 4px 6px !important; border: 1px solid var(--ow-line) !important; border-radius: 8px !important; background: #fff !important; cursor: pointer; box-shadow: none !important; line-height: 0; }
#wz-ow-editor.wz-ma .wz-ma-pb .wz-ma-bicon { width: 30px; height: 20px; }
#wz-ow-editor.wz-ma .wz-ma-pb.is-on { border-color: var(--ow-wine) !important; box-shadow: 0 0 0 1px var(--ow-wine) !important; }
#wz-ow-editor.wz-ma .wz-ma-pb.is-on .wz-ma-bicon i:first-child { background: var(--ow-wine); }
#wz-ow-editor.wz-ma .wz-ma-pb .wz-ma-bicon.is-main i:first-child { margin: 2px; }
#wz-ow-editor.wz-ma .wz-ma-pb .wz-ma-bicon.is-all { padding: 1px; gap: 2px; }
#wz-ow-editor.wz-ma .wz-ma-lchoice input:checked + .wz-ma-choice-box { cursor: alias; }

/* Tools bar: change all pages or the selected page */
#wz-ow-editor.wz-ma .wz-ma-tools { position: sticky; top: 0; z-index: 7; margin: 4px 0 18px; padding: 12px 14px 10px; border-radius: 14px; background: #fff; border: 1px solid var(--ow-line); box-shadow: 0 6px 18px rgba(41,45,41,.06); }
#wz-ow-editor.wz-ma .wz-ma-tools.is-page { border-color: var(--ow-wine); box-shadow: 0 0 0 1px var(--ow-wine), 0 6px 18px rgba(41,45,41,.08); }
#wz-ow-editor.wz-ma .wz-ma-target { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; font-size: 14px; color: var(--ow-brown); }
#wz-ow-editor.wz-ma .wz-ma-tools.is-page .wz-ma-target-text strong { color: var(--ow-wine); }
#wz-ow-editor.wz-ma .wz-ma-target-all { padding: 3px 10px !important; border: 1px solid var(--ow-wine) !important; border-radius: 999px !important; background: transparent !important; color: var(--ow-wine) !important; font-size: 13px; font-weight: 600; cursor: pointer; box-shadow: none !important; }
#wz-ow-editor.wz-ma .wz-ma-target-all:hover { background: var(--ow-wine) !important; color: #fff !important; }
#wz-ow-editor.wz-ma .wz-ma-tools-row { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: flex-start; }
#wz-ow-editor.wz-ma .wz-ma-tools .wz-ma-opt { margin: 0; }
#wz-ow-editor.wz-ma .wz-ma-tools .wz-ma-opt legend { font-size: 12px; margin-bottom: 6px; }
#wz-ow-editor.wz-ma .wz-ma-legend-hint { font-weight: 400; color: var(--ow-muted); }
#wz-ow-editor.wz-ma .wz-ma-tools .wz-ma-choices { gap: 6px; }
#wz-ow-editor.wz-ma .wz-ma-tools .wz-ma-choice-box { min-width: 0; padding: 6px 7px; gap: 4px; border-radius: 10px; }
#wz-ow-editor.wz-ma .wz-ma-tools .wz-ma-choice-box small { font-size: 11px; max-width: 74px; line-height: 1.2; }
#wz-ow-editor.wz-ma .wz-ma-tools .wz-ma-borderchoice .wz-ma-choice-box { width: 82px; }
#wz-ow-editor.wz-ma .wz-ma-tools .wz-ma-layouts .wz-ma-choice-box { width: 70px; }
#wz-ow-editor.wz-ma .wz-ma-tools .wz-ma-licon { width: 42px; height: 28px; }
#wz-ow-editor.wz-ma .wz-ma-album.orient-port .wz-ma-tools .wz-ma-licon { width: 22px; height: 33px; }
#wz-ow-editor.wz-ma .wz-ma-tools .wz-ma-bicon { width: 42px; height: 28px; }

/* Pages: click to select */
#wz-ow-editor.wz-ma .wz-ma-book-pages .wz-ma-page { cursor: pointer; border-radius: 6px; outline: none; }
#wz-ow-editor.wz-ma .wz-ma-book-pages .wz-ma-page .wz-ma-cell img { cursor: pointer; }
#wz-ow-editor.wz-ma .wz-ma-book-pages .wz-ma-page.is-sel .wz-ma-cell img { cursor: crosshair; }
#wz-ow-editor.wz-ma .wz-ma-book-pages .wz-ma-page:hover .wz-ma-paper { box-shadow: 0 0 0 2px var(--ow-line), 0 8px 18px rgba(41,45,41,.12); }
#wz-ow-editor.wz-ma .wz-ma-book-pages .wz-ma-page:focus-visible .wz-ma-paper { box-shadow: 0 0 0 2px var(--ow-sage); }
#wz-ow-editor.wz-ma .wz-ma-book-pages .wz-ma-page.is-sel .wz-ma-paper { box-shadow: 0 0 0 3px var(--ow-wine), 0 10px 22px rgba(112,47,61,.18); }
#wz-ow-editor.wz-ma .wz-ma-page-sum { font-size: 13px; color: var(--ow-brown); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#wz-ow-editor.wz-ma .wz-ma-page-sum em { font-style: normal; color: var(--ow-wine); }
#wz-ow-editor.wz-ma .wz-ma-page.is-sel .wz-ma-page-num { background: var(--ow-wine); color: #fff; }

@media (max-width: 700px) {
	#wz-ow-editor.wz-ma .wz-ma-tools { position: static; }
	#wz-ow-editor.wz-ma .wz-ma-legend-hint { display: block; }
	#wz-ow-editor.wz-ma .wz-ma-tools .wz-ma-layouts .wz-ma-choice-box { width: 62px; }
}
#wz-ow-editor.wz-ma .wz-ma-cleanup-note { margin: 8px 0 12px; padding: 9px 13px; border-radius: 10px; background: #fbf3e6; border: 1px solid #e9d3ad; color: var(--ow-ink); font-size: 14px; line-height: 1.45; }
#wz-ow-editor.wz-ma .wz-ma-coll-head .wz-ma-cleanup-note { flex: 1 1 100%; }
