.eg-dashboard {
	--eg-ink: #1f1f1f;
	--eg-muted: #63615c;
	--eg-paper: #fffdf8;
	--eg-line: #ded7c7;
	--eg-accent: #8e2f22;
	--eg-accent-2: #1f6f78;
	--eg-soft: #f5efe2;
	color: var(--eg-ink);
	background: var(--eg-paper);
	border: 1px solid var(--eg-line);
	padding: 32px;
	max-width: 1120px;
	margin: 32px auto;
	font-size: 20px;
	line-height: 1.5;
}

body.ecrigone-dashboard-page #sidebar,
body.ecrigone-dashboard-page .sidebar,
body.ecrigone-dashboard-page aside.widget-area,
body.ecrigone-dashboard-page .et_pb_widget_area,
body.ecrigone-dashboard-page #main-content .container::before {
	display: none !important;
}

body.ecrigone-dashboard-page #left-area,
body.ecrigone-dashboard-page #primary,
body.ecrigone-dashboard-page .site-main,
body.ecrigone-dashboard-page .content-area,
body.ecrigone-dashboard-page #main-content .container {
	width: 100% !important;
	max-width: 100% !important;
	padding-right: 0 !important;
	margin-right: auto !important;
	margin-left: auto !important;
}

body.ecrigone-dashboard-page.et_right_sidebar #left-area,
body.ecrigone-dashboard-page.et_left_sidebar #left-area {
	float: none !important;
}

body.ecrigone-dashboard-page .et_post_meta_wrapper,
body.ecrigone-dashboard-page .entry-title,
body.ecrigone-dashboard-page .main_title,
body.ecrigone-dashboard-page .page-title {
	display: none !important;
}

.eg-dashboard * {
	box-sizing: border-box;
}

.eg-topbar,
.eg-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 28px;
}

.eg-topbar h1,
.eg-section-head h2 {
	margin: 0;
	font-size: clamp(32px, 5vw, 52px);
	line-height: 1.05;
}

.eg-kicker {
	margin: 0 0 6px;
	color: var(--eg-accent);
	font-weight: 800;
	text-transform: uppercase;
	font-size: 15px;
}

.eg-lead {
	font-size: 24px;
	margin: 0 0 28px;
	color: var(--eg-muted);
}

.eg-topbar-actions,
.eg-form-actions,
.eg-list-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.eg-small-link {
	color: var(--eg-accent-2);
	font-size: 18px;
	font-weight: 800;
	text-decoration: underline;
}

.eg-dashboard button.eg-tutorial-replay {
	min-height: auto;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--eg-accent-2);
	font-size: 18px;
	text-decoration: underline;
}

.eg-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.eg-card {
	display: flex;
	min-height: 150px;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
	padding: 26px;
	border: 2px solid var(--eg-line);
	background: #fff;
	color: var(--eg-ink);
	text-decoration: none;
}

.eg-card:hover,
.eg-card:focus {
	border-color: var(--eg-accent);
	outline: 3px solid rgba(142, 47, 34, .22);
}

.eg-card span {
	font-size: 30px;
	font-weight: 900;
	line-height: 1.15;
}

.eg-card small {
	color: var(--eg-muted);
	font-size: 18px;
}

.eg-button,
.eg-dashboard input[type="submit"],
.eg-dashboard button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 58px;
	padding: 14px 22px;
	border: 2px solid var(--eg-accent);
	background: #fff;
	color: var(--eg-accent);
	font-size: 20px;
	font-weight: 900;
	text-decoration: none;
	cursor: pointer;
}

.eg-button-primary,
.eg-dashboard input[type="submit"],
.eg-dashboard button[type="submit"] {
	background: var(--eg-accent);
	color: #fff;
}

.eg-button-quiet {
	border-color: var(--eg-line);
	color: var(--eg-muted);
}

.eg-list {
	display: grid;
	gap: 14px;
}

.eg-list-row {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	align-items: center;
	padding: 18px;
	background: #fff;
	border: 1px solid var(--eg-line);
}

.eg-list-main h3 {
	margin: 0 0 4px;
	font-size: 26px;
	line-height: 1.2;
}

.eg-list-main p,
.eg-list-main small {
	margin: 0;
	color: var(--eg-muted);
}

.eg-empty,
.eg-alert {
	padding: 18px 20px;
	border: 2px solid var(--eg-line);
	background: var(--eg-soft);
	font-weight: 800;
}

.eg-alert-success {
	border-color: #33835f;
	background: #edf8f2;
	color: #14543a;
	font-size: 24px;
}

.eg-alert-error {
	border-color: #a33b31;
	background: #fff0ee;
	color: #7a1f17;
}

.eg-form {
	display: grid;
	gap: 22px;
}

.eg-success-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	margin-top: 18px;
	padding: 18px;
	border: 2px solid #33835f;
	background: #edf8f2;
}

.eg-field {
	display: grid;
	gap: 8px;
	font-weight: 900;
}

.eg-field span {
	font-size: 22px;
}

.eg-field small {
	font-size: 16px;
	color: var(--eg-muted);
	font-weight: 600;
}

.eg-dashboard input[type="text"],
.eg-dashboard input[type="number"],
.eg-dashboard input[type="date"],
.eg-dashboard input[type="file"],
.eg-dashboard input[type="password"],
.eg-dashboard textarea,
.eg-dashboard select {
	width: 100%;
	border: 2px solid var(--eg-line);
	background: #fff;
	color: var(--eg-ink);
	font-size: 22px;
	padding: 14px;
	min-height: 58px;
}

.eg-dashboard textarea {
	min-height: 120px;
}

.eg-dashboard .wp-editor-wrap {
	border: 2px solid var(--eg-line);
	background: #fff;
}

.eg-dashboard .wp-editor-area {
	border: 0;
}

.eg-main-photo-field {
	padding: 16px;
	border: 2px solid var(--eg-line);
	background: #fff;
}

.eg-main-photo-current {
	display: grid;
	gap: 10px;
	max-width: 520px;
}

.eg-main-photo-current p {
	margin: 0;
	color: var(--eg-muted);
	font-size: 17px;
	font-weight: 800;
}

.eg-main-photo-preview {
	display: block;
	width: 100%;
	height: auto;
	max-height: 520px;
	object-fit: contain;
	background: var(--eg-soft);
}

.eg-main-photo-missing {
	padding: 14px 16px;
	border: 2px solid var(--eg-line);
	background: var(--eg-soft);
	font-size: 20px;
}

.eg-upload-button {
	display: inline-grid;
	gap: 8px;
	align-items: start;
	justify-items: start;
}

.eg-upload-button > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 58px;
	padding: 14px 22px;
	border: 2px solid var(--eg-accent);
	background: var(--eg-accent);
	color: #fff;
	font-size: 20px;
	font-weight: 900;
	cursor: pointer;
}

.eg-upload-button input[type="file"] {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.eg-extra-photo-editor {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.eg-extra-photo-item {
	display: grid;
	gap: 10px;
	padding: 12px;
	border: 1px solid var(--eg-line);
	background: #fff;
}

.eg-extra-photo-thumb {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: var(--eg-soft);
}

.eg-check {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 17px;
	font-weight: 800;
}

.eg-check input {
	width: 22px;
	height: 22px;
}

.eg-login {
	max-width: 760px;
}

.eg-login .login-username,
.eg-login .login-password,
.eg-login .login-remember,
.eg-login .login-submit {
	margin: 0 0 18px;
}

.eg-book-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.eg-book-card {
	display: grid;
	gap: 14px;
	align-content: start;
	background: #fff;
	border: 1px solid var(--eg-line, #ded7c7);
	padding: 16px;
}

.eg-book-image {
	display: block;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: #f5efe2;
}

.eg-book-cover {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.eg-book-copy h3 {
	margin: 0 0 8px;
	font-size: 24px;
	line-height: 1.18;
}

.eg-book-copy h3 a {
	color: inherit;
	text-decoration: none;
}

.eg-book-copy p {
	margin: 0 0 8px;
}

.eg-book-meta {
	color: var(--eg-accent, #8e2f22);
	font-size: 14px;
	font-weight: 900;
	text-transform: uppercase;
}

.eg-book-subtitle {
	color: var(--eg-muted, #63615c);
	font-weight: 800;
}

.eg-book-grid-empty {
	padding: 18px;
	border: 1px solid var(--eg-line, #ded7c7);
	background: #f5efe2;
}

.eg-page-text,
.eg-page-text * {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

.eg-public-tools {
	margin: 0 0 28px;
	padding: 18px;
	border: 2px solid #33835f;
	background: #edf8f2;
	color: #14543a;
}

.eg-public-tools strong {
	display: block;
	margin-bottom: 12px;
	font-size: 20px;
}

.eg-public-tools-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.eg-extra-gallery {
	margin: 42px 0 0;
}

.eg-extra-gallery h2 {
	margin: 0 0 18px;
	font-size: 28px;
	line-height: 1.15;
}

.eg-extra-gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.eg-extra-gallery-grid a {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f5efe2;
}

.eg-extra-gallery-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.eg-comment-list {
	display: grid;
	gap: 16px;
}

.eg-comment-card {
	padding: 18px;
	border: 1px solid var(--eg-line);
	background: #fff;
}

.eg-comment-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 6px;
}

.eg-comment-meta {
	margin: 0 0 12px;
	color: var(--eg-muted);
	font-size: 16px;
}

.eg-comment-content {
	margin-bottom: 16px;
}

.eg-comment-content p {
	margin: 0;
}

.eg-comment-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.eg-inline-form {
	margin: 0;
}

.eg-comment-status {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 5px 10px;
	border: 1px solid var(--eg-line);
	font-size: 14px;
	font-weight: 900;
	text-transform: uppercase;
}

.eg-status-approved {
	background: #edf8f2;
	color: #14543a;
}

.eg-status-pending {
	background: #fff7df;
	color: #715000;
}

.eg-status-spam,
.eg-status-trash {
	background: #fff0ee;
	color: #7a1f17;
}

.eg-tour-overlay {
	position: fixed;
	z-index: 999990;
	inset: 0;
	background: rgba(20, 18, 14, .66);
}

.eg-tour-spotlight {
	position: fixed;
	z-index: 999991;
	border: 3px solid #fffdf8;
	box-shadow: 0 0 0 9999px rgba(20, 18, 14, .66), 0 14px 40px rgba(0, 0, 0, .28);
	pointer-events: none;
	transition: top .18s ease, left .18s ease, width .18s ease, height .18s ease;
}

.eg-tour-popover {
	position: fixed;
	z-index: 999992;
	padding: 18px;
	border: 2px solid #ded7c7;
	background: #fffdf8;
	color: #1f1f1f;
	box-shadow: 0 16px 50px rgba(0, 0, 0, .24);
	font-size: 18px;
	line-height: 1.45;
}

.eg-tour-popover h3 {
	margin: 0 0 8px;
	font-size: 28px;
	line-height: 1.1;
}

.eg-tour-popover p {
	margin: 0 0 14px;
}

.eg-tour-step-count {
	color: #8e2f22;
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
}

.eg-tour-actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
}

.eg-tour-actions button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 10px 16px;
	border: 2px solid #8e2f22;
	background: #fff;
	color: #8e2f22;
	font-size: 18px;
	font-weight: 900;
	cursor: pointer;
}

.eg-tour-actions .eg-button-primary {
	background: #8e2f22;
	color: #fff;
}

@media (max-width: 760px) {
	.eg-dashboard {
		padding: 20px;
		margin: 16px auto;
		font-size: 18px;
	}

	.eg-topbar,
	.eg-section-head,
	.eg-list-row {
		display: grid;
	}

	.eg-grid {
		grid-template-columns: 1fr;
	}

	.eg-book-grid {
		grid-template-columns: 1fr;
	}

	.eg-extra-photo-editor,
	.eg-extra-gallery-grid {
		grid-template-columns: 1fr;
	}

	.eg-card span {
		font-size: 25px;
	}

	.eg-list-actions {
		width: 100%;
	}

	.eg-success-actions .eg-button,
	.eg-public-tools-actions .eg-button {
		width: 100%;
	}

	.eg-list-actions .eg-button {
		flex: 1 1 180px;
	}

	.eg-comment-actions .eg-inline-form,
	.eg-comment-actions .eg-button {
		width: 100%;
	}
}
