.olm-scheduler {
	--olm-ink: #111119;
	--olm-panel: #191923;
	--olm-panel-raised: #222230;
	--olm-line: rgba(255, 255, 255, 0.09);
	--olm-muted: #a4a2b3;
	--olm-text: #f8f6ff;
	--olm-coral: #ff6d61;
	--olm-lime: #d7f477;
	--olm-lilac: #b6a1ff;
	box-sizing: border-box;
	color-scheme: dark;
	color: var(--olm-text);
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 14px;
	line-height: 1.5;
}

.olm-scheduler *,
.olm-scheduler *::before,
.olm-scheduler *::after {
	box-sizing: inherit;
}

.olm-scheduler-wrap {
	margin-right: 20px;
}

.olm-scheduler--manager,
.olm-scheduler--employee {
	background:
		radial-gradient(ellipse at 86% 0%, rgba(182, 161, 255, 0.12), transparent 34%),
		radial-gradient(ellipse at 3% 28%, rgba(255, 109, 97, 0.08), transparent 28%),
		var(--olm-ink);
	border: 1px solid var(--olm-line);
	border-radius: 24px;
	margin: 24px 0;
	max-width: 1500px;
	min-height: 480px;
	overflow: hidden;
	padding: clamp(20px, 3vw, 42px);
}

.olm-scheduler-header {
	align-items: end;
	display: flex;
	gap: 28px;
	justify-content: space-between;
	margin-bottom: 30px;
}

.olm-scheduler-brand {
	align-items: center;
	color: var(--olm-muted);
	display: flex;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.2em;
	margin-bottom: auto;
	padding-top: 5px;
	white-space: nowrap;
}

.olm-live-dot {
	background: var(--olm-coral);
	border-radius: 50%;
	box-shadow: 0 0 16px rgba(255, 109, 97, 0.75);
	display: inline-block;
	height: 8px;
	margin-right: 10px;
	width: 8px;
}

.olm-scheduler-heading {
	flex: 1;
}

.olm-eyebrow {
	color: var(--olm-lime);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.17em;
	margin: 0 0 6px;
	text-transform: uppercase;
}

.olm-scheduler-heading h1 {
	color: var(--olm-text);
	font-size: clamp(26px, 3vw, 38px);
	font-weight: 760;
	letter-spacing: -0.045em;
	line-height: 1.08;
	margin: 0;
}

.olm-subtitle {
	color: var(--olm-muted);
	font-size: 13px;
	margin: 9px 0 0;
}

.olm-month-navigation {
	align-items: center;
	background: rgba(255, 255, 255, 0.055);
	border: 1px solid var(--olm-line);
	border-radius: 12px;
	display: flex;
	gap: 4px;
	padding: 4px;
}

.olm-month-navigation a {
	align-items: center;
	border-radius: 8px;
	color: var(--olm-text);
	display: inline-flex;
	font-size: 13px;
	font-weight: 650;
	height: 36px;
	justify-content: center;
	text-decoration: none;
	transition: background 140ms ease, color 140ms ease, transform 140ms ease;
}

.olm-month-navigation a:hover {
	background: rgba(255, 255, 255, 0.1);
	color: var(--olm-lime);
	transform: translateY(-1px);
}

.olm-month-arrow {
	font-size: 19px !important;
	width: 36px;
}

.olm-month-current {
	padding: 0 12px;
}

.olm-stat-row {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0 0 22px;
}

.olm-stat {
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
	border: 1px solid var(--olm-line);
	border-radius: 14px;
	min-height: 82px;
	padding: 14px 16px;
}

.olm-stat span {
	color: var(--olm-muted);
	display: block;
	font-size: 11px;
	font-weight: 650;
}

.olm-stat strong {
	color: var(--olm-text);
	display: block;
	font-size: 25px;
	letter-spacing: -0.04em;
	line-height: 1.25;
	margin-top: 3px;
}

.olm-stat--open strong {
	color: var(--olm-coral);
}

.olm-stat--filled strong,
.olm-stat--published strong {
	color: var(--olm-lime);
}

.olm-calendar-scroll {
	overflow-x: auto;
}

.olm-calendar-grid {
	border-collapse: separate !important;
	border-spacing: 5px !important;
	table-layout: fixed;
	width: 100%;
}

.olm-calendar-grid thead th {
	background: transparent !important;
	border: 0 !important;
	color: var(--olm-muted) !important;
	font-size: 10px !important;
	font-weight: 800 !important;
	letter-spacing: 0.12em;
	padding: 7px 10px 10px !important;
	text-align: left;
	text-transform: uppercase;
}

.olm-calendar-grid td {
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid var(--olm-line);
	border-radius: 12px;
	color: var(--olm-text);
	height: 150px;
	vertical-align: top;
	width: 14.28%;
	padding: 9px !important;
}

.olm-calendar-grid td.is-outside-month {
	background: rgba(255, 255, 255, 0.018);
}

.olm-calendar-grid td.is-today {
	border-color: rgba(215, 244, 119, 0.52);
	box-shadow: inset 0 0 0 1px rgba(215, 244, 119, 0.12);
}

.olm-day-number {
	color: #d8d6e2;
	font-size: 12px;
	font-weight: 750;
	margin: 0 0 8px;
}

.is-outside-month .olm-day-number {
	color: #5f5d6d;
}

.is-today .olm-day-number {
	color: var(--olm-lime);
}

.olm-gig-card {
	background: var(--olm-panel);
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-left: 3px solid var(--olm-coral);
	border-radius: 10px;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
	margin: 0 0 8px;
	overflow: hidden;
	padding: 10px;
}

.olm-gig-card.is-published {
	border-left-color: var(--olm-lime);
}

.olm-gig-card--employee {
	border-left-color: var(--olm-lilac);
	padding: 11px;
}

.olm-gig-card h3 {
	color: var(--olm-text);
	font-size: 13px;
	font-weight: 750;
	line-height: 1.3;
	margin: 8px 0 5px;
}

.olm-gig-card--employee h3 {
	font-size: 14px;
}

.olm-gig-card-top {
	align-items: center;
	display: flex;
	gap: 7px;
	justify-content: space-between;
}

.olm-status-pill {
	border-radius: 999px;
	display: inline-flex;
	font-size: 9px;
	font-weight: 850;
	letter-spacing: 0.07em;
	line-height: 1;
	padding: 5px 7px;
	text-transform: uppercase;
	white-space: nowrap;
}

.olm-status-pill.is-published {
	background: rgba(215, 244, 119, 0.12);
	color: var(--olm-lime);
}

.olm-status-pill.is-draft {
	background: rgba(182, 161, 255, 0.13);
	color: var(--olm-lilac);
}

.olm-gig-time {
	color: #dddbe8;
	font-size: 11px;
	font-weight: 700;
	margin: 0;
	white-space: nowrap;
}

.olm-gig-venue {
	color: var(--olm-muted);
	font-size: 11px;
	margin: 0 0 9px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.olm-gig-venue span {
	color: #777487;
	font-weight: 500;
}

.olm-gig-location {
	color: #c5c2d1;
	font-size: 11px;
	margin: -3px 0 8px;
}

.olm-map-link {
	color: var(--olm-lime);
	display: inline-flex;
	font-size: 11px;
	font-weight: 750;
	gap: 5px;
	margin-top: 1px;
	text-decoration: none;
}

.olm-map-link:hover {
	color: #e4ff91;
	text-decoration: underline;
}

.olm-crew-summary {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin: 9px 0 3px;
}

.olm-crew-chip {
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid var(--olm-line);
	border-radius: 7px;
	color: #d7d4e0;
	font-size: 9px;
	line-height: 1.3;
	max-width: 100%;
	overflow: hidden;
	padding: 4px 6px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.olm-crew-chip b {
	color: var(--olm-muted);
	font-size: 8px;
	margin-right: 4px;
	text-transform: uppercase;
}

.olm-crew-chip.is-open {
	border-color: rgba(255, 109, 97, 0.22);
	color: #ffaaa2;
}

.olm-crew-chip.is-open b {
	color: var(--olm-coral);
}

.olm-assignment-details {
	border-top: 1px solid var(--olm-line);
	margin-top: 9px;
	padding-top: 6px;
}

.olm-assignment-details > summary {
	color: var(--olm-lilac);
	cursor: pointer;
	font-size: 10px;
	font-weight: 800;
	list-style: none;
	padding: 3px 0;
}

.olm-assignment-details > summary::-webkit-details-marker {
	display: none;
}

.olm-assignment-details > summary::after {
	content: "+";
	float: right;
	font-size: 14px;
	line-height: 1;
}

.olm-assignment-details[open] > summary::after {
	content: "−";
}

.olm-role-select {
	display: block;
	margin: 9px 0;
}

.olm-role-select > span {
	color: #ccc9d8;
	display: block;
	font-size: 10px;
	font-weight: 700;
	margin: 0 0 4px;
}

.olm-scheduler select {
	background-color: #111119;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 8px;
	color: var(--olm-text);
	font: inherit;
	font-size: 11px;
	min-height: 34px;
	padding: 5px 8px;
	width: 100%;
}

.olm-scheduler select:focus {
	border-color: var(--olm-lilac);
	box-shadow: 0 0 0 2px rgba(182, 161, 255, 0.2);
	outline: 0;
}

.olm-publish-toggle {
	align-items: center;
	color: var(--olm-muted);
	display: flex;
	font-size: 10px;
	gap: 7px;
	margin: 10px 0;
}

.olm-publish-toggle input {
	accent-color: var(--olm-lime);
	margin: 0;
}

.olm-button {
	background: var(--olm-lime);
	border: 0;
	border-radius: 9px;
	color: #17191a;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 12px;
	font-weight: 850;
	justify-content: center;
	padding: 10px 14px;
	text-decoration: none;
	transition: background 140ms ease, transform 140ms ease;
	width: 100%;
}

.olm-button:hover {
	background: #e4ff91;
	color: #17191a;
	transform: translateY(-1px);
}

.olm-button--small {
	padding: 8px 10px;
}

.olm-role-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-top: 9px;
}

.olm-role-badges span {
	background: rgba(182, 161, 255, 0.14);
	border: 1px solid rgba(182, 161, 255, 0.18);
	border-radius: 999px;
	color: #d5caff;
	font-size: 10px;
	font-weight: 700;
	padding: 4px 8px;
}

.olm-notice {
	border-radius: 10px;
	font-size: 13px;
	margin: 0 0 18px;
	padding: 11px 14px;
}

.olm-notice--success {
	background: rgba(215, 244, 119, 0.1);
	border: 1px solid rgba(215, 244, 119, 0.22);
	color: var(--olm-lime);
}

.olm-notice--error {
	background: rgba(255, 109, 97, 0.1);
	border: 1px solid rgba(255, 109, 97, 0.24);
	color: #ffaba4;
}

.olm-sync-note,
.olm-footnote {
	color: var(--olm-muted);
	font-size: 11px;
	margin: 12px 0;
}

.olm-empty-state {
	background: rgba(255, 255, 255, 0.035);
	border: 1px dashed rgba(255, 255, 255, 0.15);
	border-radius: 16px;
	color: var(--olm-muted);
	margin: 18px 0;
	padding: 26px;
	text-align: center;
}

.olm-empty-state h2 {
	color: var(--olm-text);
	font-size: 18px;
	margin: 0 0 8px;
}

.olm-empty-state p {
	margin: 0;
}

.olm-empty-icon {
	color: var(--olm-lilac);
	display: block;
	font-size: 32px;
	margin-bottom: 8px;
}

.olm-login-prompt {
	color: var(--olm-text);
	margin: 0;
}

.olm-login-prompt a {
	color: var(--olm-lime);
	font-weight: 800;
}

.olm-scheduler a:focus-visible,
.olm-scheduler button:focus-visible,
.olm-scheduler select:focus-visible,
.olm-scheduler input:focus-visible,
.olm-scheduler summary:focus-visible {
	outline: 2px solid var(--olm-lime);
	outline-offset: 3px;
}

@media (max-width: 1100px) {
	.olm-calendar-grid {
		min-width: 900px;
	}
}

@media (max-width: 760px) {
	.olm-scheduler-wrap {
		margin-right: 10px;
	}

	.olm-scheduler--manager,
	.olm-scheduler--employee {
		border-radius: 17px;
		margin: 12px 0;
		padding: 18px 14px;
	}

	.olm-scheduler-header {
		align-items: flex-start;
		flex-wrap: wrap;
		gap: 14px;
	}

	.olm-scheduler-brand {
		flex-basis: 100%;
	}

	.olm-month-navigation {
		margin-left: auto;
	}

	.olm-stat-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.olm-calendar-grid {
		min-width: 760px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.olm-scheduler *,
	.olm-scheduler *::before,
	.olm-scheduler *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
