/* 0.55.7 · Ringkasan Event: header berkartu, kesiapan, dan accordion bergaya kartu. */

.beeang-summary {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--bp-line, #d7e3ea);
	border-radius: 20px;
	background: var(--bp-card, #ffffff);
	box-shadow: 0 10px 30px -18px rgba(15, 47, 60, 0.35);
	color: var(--bp-ink, #0f2f3c);
}

.beeang-summary__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
	padding: 22px;
	background: linear-gradient(135deg, #0f4f5c 0%, #0f6b7a 55%, #14a3a0 100%);
	color: #ffffff;
}

@media (min-width: 720px) {
	.beeang-summary__top {
		grid-template-columns: 180px minmax(0, 1fr);
		align-items: center;
	}
}

.beeang-summary__poster {
	overflow: hidden;
	border-radius: 14px;
	box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.45);
	aspect-ratio: 4 / 5;
	background: rgba(255, 255, 255, 0.12);
}

.beeang-summary__poster img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.beeang-summary__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}

.beeang-summary__chip {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.beeang-summary .beeang-event-card__status {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	background: #ffffff;
	color: #0f4f5c;
	font-size: 12px;
	font-weight: 700;
}

.beeang-summary__title {
	margin: 0 0 8px;
	color: #ffffff;
	font-size: clamp(20px, 3vw, 28px);
	font-weight: 800;
	line-height: 1.2;
}

.beeang-summary__desc {
	margin: 0 0 14px;
	color: rgba(255, 255, 255, 0.88);
	font-size: 14px;
	line-height: 1.55;
}

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

.beeang-summary__dates > div {
	padding: 10px 12px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.14);
}

.beeang-summary__dates span {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.8;
}

.beeang-summary__dates strong {
	display: block;
	margin-top: 2px;
	font-size: 14px;
	font-weight: 700;
}

.beeang-summary__ready {
	padding: 18px 22px;
	border-bottom: 1px solid var(--bp-line, #e3ecf1);
}

.beeang-summary__ready-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px;
	margin-bottom: 10px;
}

.beeang-summary__ready-head span {
	color: var(--bp-muted, #5f7682);
	font-size: 13px;
}

.beeang-summary__bar {
	height: 8px;
	overflow: hidden;
	border-radius: 999px;
	background: var(--bp-soft, #e6eef2);
}

.beeang-summary__bar span {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, #14a3a0, #0f6b7a);
	transition: width 0.4s ease;
}

.beeang-summary__checks {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.beeang-summary__checks li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
}

.beeang-summary__checks li.is-done {
	background: #e6f6f4;
	color: #0b6b66;
}

.beeang-summary__checks li.is-todo {
	background: #fff6e5;
	color: #8a5a00;
}

.beeang-summary__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 16px 22px;
}

/* Accordion di dalam kartu detail: tampil sebagai baris kartu. */
.beeang-event-card--detail > details {
	margin: 12px 16px 0;
	border: 1px solid var(--bp-line, #d7e3ea);
	border-radius: 16px;
	background: var(--bp-card, #ffffff);
	overflow: hidden;
}

.beeang-event-card--detail > details > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 18px;
	color: var(--bp-ink, #0f2f3c);
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.beeang-event-card--detail > details > summary::-webkit-details-marker {
	display: none;
}

.beeang-event-card--detail > details > summary::after {
	content: "+";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	background: var(--bp-soft, #eef4f7);
	color: var(--bf-teal, #0f6b7a);
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
}

.beeang-event-card--detail > details[open] > summary::after {
	content: "−";
}

.beeang-event-card--detail > details > summary:hover {
	background: var(--bp-soft, #f5f9fb);
}

.beeang-event-card--detail > details > *:not(summary) {
	margin-left: 18px;
	margin-right: 18px;
}

.beeang-event-card--detail > details > *:last-child:not(summary) {
	margin-bottom: 18px;
}

@media (max-width: 640px) {
	.beeang-summary__top {
		padding: 16px;
	}
	.beeang-summary__ready,
	.beeang-summary__actions {
		padding-left: 16px;
		padding-right: 16px;
	}
	.beeang-summary__dates {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* 0.55.9 · Dropdown Edit tampil penuh ke bawah tombol, tidak terpotong kiri. */
.beeang-summary {
	overflow: visible;
}
.beeang-summary__top {
	border-radius: 20px 20px 0 0;
}
.beeang-summary__actions {
	position: relative;
	z-index: 5;
}
.beeang-summary .beeang-event-editmenu__list {
	left: 0;
	right: auto;
	top: calc(100% + 8px);
	width: min(320px, calc(100vw - 48px));
}
.beeang-summary .beeang-event-editmenu__list a,
.beeang-summary .beeang-event-editmenu__list strong {
	color: #0f2f3c;
}
.beeang-summary .beeang-event-editmenu__list small,
.beeang-summary .beeang-event-editmenu__list p {
	color: #5f7682;
}

/* 0.55.9 · Satu ikon saja per accordion: "+" tertutup, "−" terbuka.
 * Menimpa chevron lama di workspace.css (border + rotate). */
.beeang-event-card--detail > details > summary::after {
	content: "+";
	width: 28px;
	height: 28px;
	border: 0;
	transform: none;
}
.beeang-event-card--detail > details[open] > summary::after {
	content: "\2212";
	transform: none;
	border: 0;
}


/* 0.55.11 · Pratinjau halaman publik di langkah Review. */
.beeang-event-form__live-preview {
	margin-top: 12px;
}
.beeang-event-form__live-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	padding: 12px 14px;
	border: 1px solid #d7e3ea;
	border-radius: 12px;
	background: #f5f9fb;
	color: #0f2f3c;
	font-size: 13px;
}
.beeang-event-form__live-bar > span {
	flex: 1 1 260px;
	color: #5f7682;
}
.beeang-event-form__live-frame {
	display: block;
	width: 100%;
	min-height: 640px;
	border: 1px solid #d7e3ea;
	border-radius: 14px;
	background: #ffffff;
}
