/* =========================================================
   EMpire Members
   Scoped under .emm so nothing leaks into the theme.
   Palette matches EMpire Directory, so members-only pages
   look like part of the same site.
   ========================================================= */

.emm {
	--emm-coral: #FF6246;
	--emm-coral-deep: #E84A2E;
	--emm-pink: #FF75A8;
	--emm-pink-deep: #D6467B;  /* the site's link colour */
	--emm-pink-soft: #FDE4EE;
	--emm-peach: #FFA475;
	--emm-peach-soft: #FCE3CC;
	--emm-cream: #FFF3E6;
	--emm-cream-deep: #FCE7D4;
	--emm-plum: #2A1620;
	--emm-ink: #333333;
	--emm-text: #555555;
	--emm-muted: #666666;
	--emm-white: #ffffff;
	--emm-line: rgba(61, 36, 24, 0.12);
	--emm-shadow-btn: 0 10px 25px #F5DCEA;  /* the site's .btn shadow */
	--emm-radius: 16px;
	--emm-radius-sm: 10px;

	/* The site's own fonts, already loaded by the theme. */
	--emm-serif: 'Playfair Display', Georgia, serif;

	--emm-container: 960px;
	--emm-gutter: 20px;
	--emm-space-block: 48px;

	box-sizing: border-box;
	max-width: calc(var(--emm-container) + (var(--emm-gutter) * 2));
	margin-left: auto;
	margin-right: auto;
	padding: var(--emm-space-block) var(--emm-gutter);

	color: var(--emm-text);
	font-size: 16px;
	line-height: 1.65;
}

.emm *,
.emm *::before,
.emm *::after { box-sizing: border-box; }

/* Hidden but read out. Not every theme defines this, Oxygen included. */
.emm .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.emm a:not(.emm-btn) { color: var(--emm-pink-deep); }
.emm :focus-visible { outline: 3px solid var(--emm-coral); outline-offset: 3px; }

/* Headings are set in full here because the theme styles bare h1-h6
   globally (sizes, and uppercase on some h2s). */
.emm h1, .emm h2, .emm h3 {
	margin: 0;
	font-family: var(--emm-serif);
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	color: var(--emm-ink);
	overflow-wrap: anywhere;
}

/* Small uppercase label above a heading, as on the main site. */
.emm-eyebrow {
	margin: 0 0 6px;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--emm-coral);
}
.emm-eyebrow::before { content: "\2726"; margin-right: 8px; color: var(--emm-pink); }

/* ---------------------------------------------------------- Buttons */
/* Matches the site's .btn (coral, 3px pink border, pill, uppercase, soft
   pink shadow, pink on hover) and .btn-white for the ghost style. */
.emm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 24px;
	border: 3px solid transparent;
	border-radius: 100px;
	font-family: inherit;
	font-size: 0.86rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, transform .15s ease;
	max-width: 100%;
	text-align: center;
	line-height: 1.35;
}
.emm-btn:hover, .emm-btn:focus-visible { transform: translateY(-2px); text-decoration: none; }
.emm-btn--primary { background: var(--emm-coral); color: var(--emm-white); border-color: var(--emm-pink); box-shadow: var(--emm-shadow-btn); }
.emm-btn--primary:hover,
.emm-btn--primary:focus-visible { background: var(--emm-pink); color: var(--emm-white); }
.emm-btn--ghost { background: var(--emm-white); color: var(--emm-ink); border-color: var(--emm-pink); box-shadow: var(--emm-shadow-btn); }
.emm-btn--ghost:hover,
.emm-btn--ghost:focus-visible { background: var(--emm-pink); color: var(--emm-white); }
/* The upsell: pink with a coral border, never coral, so it never competes
   with the main action on a page (as in EMpire Directory). */
.emm-btn--empire { background: var(--emm-pink); color: var(--emm-white); border-color: var(--emm-coral); box-shadow: var(--emm-shadow-btn); }
.emm-btn--empire:hover,
.emm-btn--empire:focus-visible { background: var(--emm-coral); color: var(--emm-white); }

/* ------------------------------------------------------------- Gate */
.emm-gate {
	max-width: 560px;
	margin: 0 auto;
	padding: 28px 30px;
	background: var(--emm-cream);
	border-radius: var(--emm-radius);
}
/* Wording comes from Settings, so style whatever headings it uses. */
.emm-gate-text h2,
.emm-gate-text h3,
.emm-gate-text h4 { margin: 0 0 8px; font-family: var(--emm-serif); font-size: 1.4rem; line-height: 1.3; color: var(--emm-ink); }
.emm-gate-text p { margin: 0 0 10px; }
.emm-gate-text > :last-child { margin-bottom: 0; }
.emm-gate-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }

/* -------------------------------------------------------- Emily AI */
.emm-intro { max-width: 68ch; margin: 0 0 28px; }
.emm-intro p { margin: 0 0 14px; }
.emm-intro p:last-child { margin-bottom: 0; }

/* Chat first: pull it up under the header. */
.emm:has(> .emm-emily--chat-first) { padding-top: 20px; }

/*
 * The chat frame.
 *
 * Coach Vox is cross-origin and does not report its height (no postMessage,
 * checked November 2026), so the frame gets a fixed height from Settings,
 * passed in as --emm-embed-height and --emm-embed-height-phone on the
 * wrapper. The heights are meant to be at least as tall as Coach Vox's whole
 * page. Then nothing scrolls inside the frame, nothing is cut off, and the
 * mouse wheel or a swipe over the chat simply scrolls the page. If the content
 * ever does outgrow the frame (much larger text, a Coach Vox redesign), the
 * frame can still scroll as a fallback, so nothing becomes unreachable.
 *
 * Nothing here uses overflow: hidden, so nothing inside the frame is clipped.
 * The !important on the iframe size is deliberate: it beats any inline
 * height:100vh left in pasted embed code.
 */
.emm-embed {
	width: 100%;
	height: var(--emm-embed-height, 1500px);
	margin: 0 0 28px;
	background: var(--emm-white);
	border: 1px solid var(--emm-line);
	border-radius: var(--emm-radius);
}

.emm-embed iframe {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	border: 0;
	border-radius: var(--emm-radius);
}

.emm-disclaimer {
	max-width: 68ch;
	font-size: 0.82rem;
	color: var(--emm-muted);
}
.emm-disclaimer p { margin: 0 0 10px; }
.emm-disclaimer p:last-child { margin-bottom: 0; }

.emm-admin-note {
	padding: 14px 18px;
	border-left: 4px solid var(--emm-coral);
	background: var(--emm-cream);
}

@media (max-width: 640px) {
	.emm { --emm-space-block: 28px; }
	.emm:has(> .emm-emily--chat-first) { padding-top: 12px; }
	.emm-gate { padding: 24px 20px; }
	.emm-btn { font-size: 0.8rem; padding: 10px 20px; }

	/*
	 * Edge to edge on phones: every pixel of width goes to the chat. Coach
	 * Vox's wording wraps onto more lines at these widths, so it gets its
	 * own, taller height.
	 */
	.emm-embed {
		width: calc(100% + (var(--emm-gutter) * 2));
		height: var(--emm-embed-height-phone, 1600px);
		margin-left: calc(var(--emm-gutter) * -1);
		margin-right: calc(var(--emm-gutter) * -1);
		border-left: 0;
		border-right: 0;
		border-radius: 0;
	}
	.emm-embed iframe { border-radius: 0; }
}

/* =========================================================
   Dashboard and account pages
   ========================================================= */
/* The dashboard uses the site's normal content width: 1180px including the
   20px gutters, as the main site's sections (.ewp-in, .pw-in). The account
   page stays narrow, which suits a form. */
.emm-dashboard { --emm-container: 1140px; }
.emm-account { --emm-container: 680px; }

.emm-dash-head { margin: 0 0 32px; }
.emm-dash-title { font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.2; }
.emm-dash-status { margin: 12px 0 0; }

.emm-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.6;
}
.emm-badge--member { background: var(--emm-coral); color: var(--emm-white); }
.emm-badge--free { background: var(--emm-peach-soft); color: #8a4b2a; }
.emm-badge--soon { background: var(--emm-pink-soft); color: var(--emm-pink-deep); }
.emm-badge--locked { background: var(--emm-cream); color: var(--emm-muted); }
.emm-badge-icon { width: 13px; height: 13px; }

.emm-preview-bar {
	margin: 0 0 24px;
	padding: 10px 16px;
	border-radius: var(--emm-radius-sm);
	background: var(--emm-plum);
	color: var(--emm-cream);
	font-size: 0.9rem;
}
.emm-preview-bar a { color: var(--emm-peach); font-weight: 600; margin-left: 8px; }

.emm-icon { width: 24px; height: 24px; flex: none; }

/* Sections */
.emm-section { margin: 48px 0 0; }

/*
 * Two columns on desktop: tools, listing and links on the left; the event
 * and the account panel on the right. The markup is already in reading
 * order, so below 1024px it is one column. The gaps do the spacing, so a
 * column's first section loses its top margin.
 */
.emm-dash-cols {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	row-gap: 48px;
	margin: 48px 0 0;
}
.emm-dash-main > .emm-section:first-child,
.emm-dash-side > .emm-section:first-child { margin-top: 0; }

@media (min-width: 1024px) {
	.emm-dash-cols:not(.emm-dash-cols--single) {
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
		column-gap: 48px;
		align-items: start;
	}
	/* The narrow column: the account panel's buttons go on their own line. */
	.emm-dash-side .emm-panel > .emm-panel-actions { width: 100%; }

	/* The event in the narrow column: image on top, tighter padding, and
	   the four countdown boxes share the width rather than wrapping. */
	.emm-dash-side .emm-event--has-image { grid-template-columns: 1fr; }
	.emm-dash-side .emm-event-media { min-height: 0; aspect-ratio: 16 / 9; }
	.emm-dash-side .emm-event-body { padding: 24px 22px; }
	.emm-dash-side .emm-event-title { font-size: 1.5rem; }
	.emm-dash-side .emm-countdown-units { gap: 6px; flex-wrap: nowrap; }
	.emm .emm-dash-side .emm-countdown-unit { flex: 1 1 0; min-width: 0; padding: 8px 2px 6px; }
	.emm-dash-side .emm-countdown-num { font-size: 1.5rem; }
	.emm-dash-side .emm-countdown-label { font-size: 0.56rem; letter-spacing: 0.06em; }
	.emm-dash-side .emm-event-actions .emm-btn { width: 100%; }
}
.emm-section-head { margin: 0 0 18px; }
.emm-section-title { font-size: clamp(1.4rem, 2.6vw, 1.8rem); line-height: 1.25; }

/* ------------------------------------------------------- Event panel */
.emm-event {
	display: grid;
	grid-template-columns: 1fr;
	overflow: hidden;
	background: var(--emm-cream);
	border: 2px solid var(--emm-coral);
	border-radius: var(--emm-radius);
}
.emm-event--has-image { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.emm-event-media { background: var(--emm-cream-deep); min-height: 220px; }
.emm-event-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.emm-event-body { padding: 28px 30px; min-width: 0; }
.emm-event-title { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; }
.emm-event-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 12px 0 0; padding: 0; list-style: none; color: var(--emm-ink); font-weight: 500; }
/* Oxygen sets :is(li, div._important) { display: list-item }, which outranks
   a single class, so every li styled here is qualified with .emm. */
.emm .emm-event-meta li { display: flex; align-items: center; gap: 8px; margin: 0; }
.emm-event-meta .emm-icon { width: 18px; height: 18px; color: var(--emm-coral); }
.emm-event-today { margin: 18px 0 0; font-family: var(--emm-serif); font-size: 1.3rem; font-style: italic; color: var(--emm-coral); }
.emm-event-actions { margin: 22px 0 0; }

.emm-countdown { margin: 20px 0 0; }
.emm-countdown-units { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.emm .emm-countdown-unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 72px;
	margin: 0;
	padding: 10px 8px 8px;
	background: var(--emm-white);
	border-radius: var(--emm-radius-sm);
	box-shadow: 0 6px 18px rgba(61, 36, 24, 0.06);
}
.emm-countdown-num { font-family: var(--emm-serif); font-size: 1.9rem; font-weight: 600; line-height: 1.1; color: var(--emm-coral); font-variant-numeric: tabular-nums; }
.emm-countdown-label { margin-top: 4px; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--emm-muted); }

.emm-event-discount { margin: 20px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.emm-event-discount-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--emm-ink); }
.emm-event-code {
	padding: 6px 14px;
	border: 2px dashed var(--emm-pink);
	border-radius: var(--emm-radius-sm);
	background: var(--emm-white);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--emm-ink);
	user-select: all;
}
.emm-event-discount--note { display: block; font-weight: 600; color: var(--emm-pink-deep); }

/* ------------------------------------------------------- Tool cards */
.emm-cards {
	display: grid;
	/* auto-fit stretches the cards to fill the row, so one or two never
	   leave a gap beside them. */
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.emm .emm-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 22px;
	background: var(--emm-white);
	border: 1.5px solid var(--emm-line);
	border-radius: var(--emm-radius);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.emm .emm-card--open { border: 2px solid var(--emm-coral); }
.emm .emm-card--open:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(61, 36, 24, 0.12); }
.emm .emm-card--locked, .emm .emm-card--soon { background: #FFFCF8; }
.emm-card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--emm-peach-soft);
	color: var(--emm-coral);
	overflow: hidden;
}
.emm-card--locked .emm-card-icon { background: var(--emm-cream); color: var(--emm-muted); }
.emm-card-img { width: 100%; height: 100%; object-fit: cover; }
.emm-card-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.emm-card-title { font-size: 1.2rem; line-height: 1.3; }
/* A single card spans the row, so lay it out sideways rather than as a
   tall, mostly empty box. */
@media (min-width: 520px) {
	.emm .emm-cards > .emm-card:only-child { flex-direction: row; align-items: flex-start; gap: 20px; }
}
.emm-card-link { color: inherit !important; text-decoration: none; }
/* The title is the only link, stretched over the whole card. */
.emm-card-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--emm-radius); }
.emm-card-desc { margin: 6px 0 14px; font-size: 0.92rem; color: var(--emm-text); }
.emm-card-foot { margin: auto 0 0; }
.emm-card-cta { display: inline-flex; align-items: center; gap: 6px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--emm-coral); }
.emm-card-arrow { width: 16px; height: 16px; transition: transform .25s ease; }
.emm-card--open:hover .emm-card-arrow { transform: translateX(4px); }
.emm-card-note { font-size: 0.82rem; color: #b32d2e; }

/* ----------------------------------------------------- Upgrade panel */
.emm-upgrade {
	margin: 22px 0 0;
	padding: 28px 30px;
	border-radius: var(--emm-radius);
	background: linear-gradient(135deg, var(--emm-cream) 0%, var(--emm-pink-soft) 100%);
	border: 2px dashed var(--emm-pink);
}
.emm-upgrade-title { font-size: 1.5rem; line-height: 1.25; }
.emm-upgrade-body { max-width: 62ch; margin: 8px 0 0; }
.emm-upgrade-body p { margin: 0 0 10px; }
.emm-upgrade-body p:last-child { margin-bottom: 0; }
.emm-upgrade-actions { margin: 18px 0 0; }
/* Inside a gate message, which is already a box. */
.emm-upgrade--inline { margin: 18px 0 0; padding: 18px 0 0; border: 0; border-top: 1px solid var(--emm-line); border-radius: 0; background: none; }
.emm-upgrade--inline .emm-upgrade-title { font-size: 1.2rem; }

/* ---------------------------------------------- Listing and account */
.emm-panel {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 20px;
	padding: 22px 24px;
	background: var(--emm-white);
	border: 1.5px solid var(--emm-line);
	border-radius: var(--emm-radius);
}
.emm-panel--quiet { background: var(--emm-cream); border-color: transparent; }
.emm-panel-icon { display: flex; align-items: center; justify-content: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--emm-peach-soft); color: var(--emm-coral); }
.emm-panel--quiet .emm-panel-icon { background: var(--emm-white); }
.emm-panel-body { flex: 1 1 240px; min-width: 0; }
.emm-panel-title { margin: 0; font-family: var(--emm-serif); font-size: 1.2rem; font-weight: 600; line-height: 1.3; color: var(--emm-ink); overflow-wrap: anywhere; }
.emm-panel-meta { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; font-size: 0.92rem; color: var(--emm-text); overflow-wrap: anywhere; }
.emm-panel-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 14px 0 0; }
.emm-panel > .emm-panel-actions { margin: 0; }
.emm-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--emm-muted); }
.emm-dot--publish { background: #3BA55C; }
.emm-dot--pending { background: var(--emm-peach); }
.emm-logout { font-size: 0.9rem; font-weight: 500; color: var(--emm-muted) !important; text-decoration: underline; }

/* ------------------------------------------------ Links and resources */
.emm-links { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--emm-line); }
.emm .emm-link { display: block; margin: 0; border-bottom: 1px solid var(--emm-line); }
.emm-link-a { display: flex; align-items: center; gap: 16px; padding: 16px 6px; color: inherit !important; text-decoration: none; transition: background-color .15s ease; }
.emm-link-a:hover { background: var(--emm-cream); }
.emm-link-icon { display: flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--emm-peach-soft); color: var(--emm-coral); }
.emm-link-icon .emm-icon { width: 20px; height: 20px; }
.emm-link-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.emm-link-title { font-weight: 600; color: var(--emm-ink); overflow-wrap: anywhere; }
.emm-link-desc { font-size: 0.9rem; color: var(--emm-text); overflow-wrap: anywhere; }
.emm-link-arrow { color: var(--emm-coral); transition: transform .25s ease; }
.emm-link-arrow .emm-icon { width: 18px; height: 18px; }
.emm-link-a:hover .emm-link-arrow { transform: translateX(4px); }

/* A named group of links (for example Courses): its own heading, two columns when there is room. */
.emm-link-group { margin-top: 32px; }
.emm .emm-link-group-title { margin: 0 0 12px; font-family: var(--emm-serif); font-size: 1.3rem; font-weight: 600; line-height: 1.3; color: var(--emm-ink); letter-spacing: 0; text-transform: none; }
.emm-links--grid { display: grid; grid-template-columns: 1fr; column-gap: 24px; }
.emm-links--grid .emm-link-a { padding: 12px 6px; }
.emm-links--grid .emm-link-icon { width: 34px; height: 34px; }
.emm-links--grid .emm-link-icon .emm-icon { width: 17px; height: 17px; }
@media (min-width: 640px) {
	.emm-links--grid { grid-template-columns: 1fr 1fr; border-top: 0; }
	.emm-links--grid .emm-link:nth-child(-n+2) { border-top: 1px solid var(--emm-line); }
}

/* ------------------------------------------------------ Account form */
.emm-notice { margin: 0 0 16px; padding: 12px 16px; border-radius: var(--emm-radius-sm); border-left: 4px solid var(--emm-peach); background: var(--emm-cream); color: var(--emm-ink); }
.emm-notice p { margin: 0; }
.emm-notice a { font-weight: 600; margin-left: 4px; }
.emm-notice--success { border-left-color: #3BA55C; background: #EEF8F0; }
.emm-notice--error { border-left-color: var(--emm-coral); background: #FFEDE8; }

.emm-form { margin: 8px 0 0; }
.emm-fieldset { margin: 0 0 18px; padding: 22px 24px 8px; border: 0; border-radius: var(--emm-radius); background: var(--emm-cream); min-width: 0; }
.emm-legend { float: left; width: 100%; margin: 0 0 14px; padding: 0; font-family: var(--emm-serif); font-size: 1.2rem; font-weight: 600; color: var(--emm-ink); }
.emm-legend + * { clear: both; }
.emm-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; }
.emm-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--emm-ink); }
/* Qualified with .emm: the theme's input[type="text"] { border-radius: 0 }
   outranks a single class, which squared off text fields only. */
.emm .emm-input {
	width: 100%;
	-webkit-appearance: none;
	appearance: none;
	padding: 11px 14px;
	border: 1.5px solid var(--emm-line);
	border-radius: var(--emm-radius-sm);
	background: var(--emm-white);
	font: inherit;
	font-size: 16px; /* stops iOS zooming in on focus */
	color: var(--emm-ink);
	box-shadow: none;
}
.emm .emm-input:focus { outline: none; border-color: var(--emm-coral); box-shadow: 0 0 0 1px var(--emm-coral); }
.emm-help { font-size: 0.84rem; color: var(--emm-muted); }
.emm-help--intro { margin: 0 0 14px; }
.emm-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 22px 0 0; }
.emm-back { font-weight: 600; }
.emm-forgot { margin: 14px 0 0; }

@media (max-width: 760px) {
	.emm-event--has-image { grid-template-columns: 1fr; }
	.emm-event-media { min-height: 0; aspect-ratio: 16 / 9; }
	.emm-event-body { padding: 22px 20px; }
}

@media (max-width: 640px) {
	.emm-dash-head { margin-bottom: 24px; }
	.emm-section { margin-top: 36px; }
	.emm-dash-cols { row-gap: 36px; margin-top: 36px; }
	.emm-countdown-units { gap: 6px; }
	.emm .emm-countdown-unit { flex: 1 1 0; min-width: 0; padding: 8px 4px 6px; }
	.emm-countdown-num { font-size: 1.5rem; }
	.emm-countdown-label { font-size: 0.56rem; letter-spacing: 0.08em; }
	.emm .emm-card { padding: 18px; }
	.emm-upgrade { padding: 22px 20px; }
	.emm-panel { padding: 18px; }
	.emm-panel > .emm-panel-actions,
	.emm-panel-actions { width: 100%; }
	.emm-panel-actions .emm-btn,
	.emm-event-actions .emm-btn,
	.emm-upgrade-actions .emm-btn,
	.emm-form-actions .emm-btn { width: 100%; }
	.emm-fieldset { padding: 18px 16px 4px; }
}
