Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

20.6 KB
Raw Blame
.calendar-view {
	container-name: calendar-view;
	container-type: inline-size;
	--fc-page-bg-color: transparent;
	--fc-neutral-bg-color: var(--color-hover);
	--fc-neutral-text-color: var(--color-ink-muted);
	--fc-border-color: var(--color-edge-muted);
	--fc-event-bg-color: color-mix(
		in oklch,
		var(--color-calendar) 5%,
		var(--color-panel)
	);
	--fc-event-border-color: var(--color-calendar);
	--fc-event-text-color: var(--color-calendar);
	--fc-highlight-color: transparent;
	--fc-today-bg-color: transparent;
	--fc-now-indicator-color: var(--color-accent);
}

.calendar-view-content {
	box-sizing: border-box;
	padding: 0.5rem;
}

.calendar-view .fc .fc-daygrid-day:has([data-calendar-loading-skeleton]) {
	position: relative;
}

/* Neighboring pages keep static loading feedback, without offscreen animation. */
.pager-page[aria-hidden="true"] .calendar-view [data-calendar-loading-placeholder] {
	animation: none;
}
@keyframes calendar-skeleton-pulse {
	0%,
	100% {
		opacity: 0.55;
	}
	50% {
		opacity: 1;
	}
}
/* Commit real event layout under the skeletons, then reveal both layers together. */
.calendar-view-host[data-calendar-loading-state="visible"] .fc-event:not(.fc-event-mirror):not(.calendar-multi-day-selection-preview-event) {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}
@keyframes calendar-event-enter {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.calendar-view [data-calendar-loading-placeholder] {
		animation: calendar-skeleton-pulse 1.8s ease-in-out infinite;
	}
	.calendar-view-host[data-calendar-loading-state="revealing"] .fc-event:not(.fc-event-mirror) {
		animation: calendar-event-enter 180ms ease-out;
	}
}

.calendar-view .fc {
	color: var(--color-ink);
	font-family: inherit;
	font-size: 0.8125rem;
}

.calendar-view .fc .fc-view-harness {
	overflow: hidden;
}

.calendar-view .fc-theme-standard .fc-scrollgrid {
	border-width: 0;
}

.calendar-view .fc .fc-scrollgrid-section-header > * {
	border-left-width: 0;
	border-right-width: 0;
	border-top-width: 0;
}

.calendar-view .fc .fc-scrollgrid tr > :first-child {
	border-left-width: 0;
}

.calendar-view .fc .fc-scrollgrid tr > :last-child {
	border-right-width: 0;
}

.calendar-view .fc .fc-scrollgrid thead > tr:first-child > * {
	border-top-width: 0;
}

.calendar-view .fc .fc-scrollgrid tbody > tr:last-child > * {
	border-bottom-width: 0;
}

.calendar-view .fc .fc-col-header-cell {
	background: transparent;
	border-width: 0;
}

.calendar-view .fc .fc-col-header-cell-cushion {
	color: var(--color-ink-extra-muted);
	font-size: 0.875rem;
	font-weight: 400;
	padding: 0.375rem 0.25rem;
}

.calendar-view .fc .fc-timegrid .fc-col-header-cell {
	text-align: center;
}

.calendar-view .fc .fc-timegrid .fc-col-header-cell-cushion {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	padding: 0.375rem 0;
}

.calendar-view .fc .fc-timegrid .calendar-day-header-weekday {
	font-size: 0.875rem;
	font-weight: 400;
}

.calendar-view .fc .fc-timegrid .calendar-day-header-date {
	display: inline-flex;
	width: clamp(1.5rem, 6cqi, 2.25rem);
	height: clamp(1.5rem, 6cqi, 2.25rem);
	align-items: center;
	justify-content: center;
	font-size: clamp(1rem, 4cqi, 1.5rem);
	font-weight: 400;
	line-height: 1;
}

.calendar-view .fc .fc-daygrid-day-number {
	color: var(--color-ink-muted);
	padding: 0.5rem 0.625rem;
}

.calendar-view .fc .fc-dayGridMonth-view .fc-day-today .fc-daygrid-day-number,
.calendar-view
	.fc
	.fc-dayGridMonth-view
	.calendar-day-selected
	.fc-daygrid-day-number {
	position: relative;
	z-index: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
}

.calendar-view
	.fc
	.fc-dayGridMonth-view
	.fc-day-today
	.fc-daygrid-day-number::before,
.calendar-view
	.fc
	.fc-dayGridMonth-view
	.calendar-day-selected
	.fc-daygrid-day-number::before {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: -1;
	width: 1.25rem;
	height: 1.25rem;
	border: 1px solid var(--color-accent);
	border-radius: 0.375rem;
	content: "";
	transform: translate(-50%, -50%);
}

.calendar-view
	.fc
	.fc-dayGridMonth-view
	.calendar-day-selected
	.fc-daygrid-day-number {
	color: var(--color-surface);
}

.calendar-view
	.fc
	.fc-dayGridMonth-view
	.calendar-day-selected
	.fc-daygrid-day-number::before {
	background: var(--color-accent);
}

.calendar-view
	.fc
	.fc-timegrid
	.fc-col-header-cell.fc-day-today
	.calendar-day-header-weekday {
	color: var(--color-accent);
}

.calendar-view
	.fc
	.fc-timegrid
	.fc-col-header-cell.fc-day-today
	.calendar-day-header-date {
	border: 1px solid var(--color-accent);
	border-radius: 0.375rem;
	font-weight: 600;
}

.calendar-view .fc .fc-timegrid .calendar-day-header-date-selected {
	border: 1px solid var(--color-accent);
	border-radius: 0.375rem;
	background: var(--color-accent);
	color: var(--color-surface);
	font-weight: 600;
}

.calendar-view
	.fc
	.fc-timegrid
	.fc-col-header-cell.fc-day-today
	.calendar-day-header-date-selected {
	border-color: var(--color-accent);
}

.calendar-view .fc .fc-day-other .fc-daygrid-day-number {
	color: var(--color-ink-disabled);
}

.calendar-view .fc .fc-daygrid-event {
	margin-right: 0.375rem;
	margin-left: 0.375rem;
}

.calendar-view .fc-direction-ltr .fc-h-event:not(.fc-event-end) {
	border-right-width: 1px;
	border-top-right-radius: 0.375rem;
	border-bottom-right-radius: 0.375rem;
}

.calendar-view .fc-direction-rtl .fc-h-event:not(.fc-event-start) {
	border-left-width: 1px;
	border-top-left-radius: 0.375rem;
	border-bottom-left-radius: 0.375rem;
}

.calendar-view .fc .fc-timegrid-col-events {
	margin-right: 0.375rem;
	margin-left: 0.375rem;
}

/* Rich, opaque blocks keep busy schedules readable. Bound lightness for
   dark-text contrast and boost chroma without turning neutral calendars colorful. */
.calendar-view .fc .fc-event {
	--calendar-event-fill: oklch(from var(--event-calendar-color, var(--color-calendar)) clamp(0.67, l, 0.72) min(calc(c * 1.65), 0.2) h);
	--calendar-event-ink: oklch(0.2 0 0);
	--fc-event-bg-color: var(--calendar-event-fill);
	--fc-event-border-color: var(--color-panel);
	--fc-event-text-color: var(--calendar-event-ink);
	--calendar-event-ring: 0 0 0 0 transparent;
	border: 1px solid var(--fc-event-border-color);
	border-radius: 0.375rem;
	background-color: var(--fc-event-bg-color);
	color: var(--fc-event-text-color);
	box-shadow: var(--calendar-event-ring);
	transition: filter 120ms ease-out, opacity 120ms ease-out;
}

.calendar-view .fc .fc-event.fc-event-draggable {
	cursor: grab;
}

.calendar-view .fc .fc-event.fc-event-dragging {
	cursor: grabbing;
}

.calendar-view
	.fc
	.fc-event:has(.calendar-event-content-selected)
	.fc-event-resizer {
	display: block;
}

.calendar-view .fc .fc-event-resizer::after {
	position: absolute;
	top: 50%;
	left: 50%;
	border-radius: 9999px;
	background: var(--fc-event-border-color);
	box-shadow: 0 0 0 1px var(--color-surface);
	content: "";
	transform: translate(-50%, -50%);
}

.calendar-view .fc .fc-h-event .fc-event-resizer::after {
	width: 2px;
	height: 0.625rem;
}

.calendar-view .fc .fc-v-event .fc-event-resizer::after {
	width: 1rem;
	height: 2px;
}

.calendar-view .fc .fc-event-mirror,
.calendar-view .fc .fc-highlight,
.calendar-view .fc .calendar-multi-day-selection-preview-event {
	border: 1px solid var(--calendar-selection-color, var(--color-accent));
	border-radius: 0.375rem;
	background: var(--calendar-selection-color, var(--color-accent));
	box-shadow: none;
}

.calendar-view .fc .calendar-multi-day-selection-preview-event {
	color: var(--calendar-selection-color, var(--color-accent));
	pointer-events: none;
}

.calendar-view
	.fc
	.fc-timegrid-col-events
	.calendar-multi-day-selection-preview-event,
.calendar-view
	.fc
	.fc-timegrid-bg
	.calendar-multi-day-selection-preview-event,
.calendar-view
	.fc
	.fc-timegrid-col-bg
	.calendar-multi-day-selection-preview-event {
	display: none;
}

.calendar-view .fc .fc-highlight {
	inset: 2px;
}

/* All-day and month selections render as a stacked preview chip. */
.calendar-view .fc .fc-daygrid-body .fc-highlight {
	display: none;
}

/* Timed selections already render an event mirror; hide its backing fill. */
.calendar-view .fc .fc-timegrid-col-bg .fc-highlight {
	inset: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.calendar-view .fc .fc-event-mirror {
	color: var(--calendar-selection-color, var(--color-accent));
}

.calendar-view .fc .fc-event-mirror .fc-event-main,
.calendar-view .fc .calendar-multi-day-selection-preview-event .fc-event-main {
	color: inherit;
}

/* Drag and resize mirrors use a filled accent background. */
.calendar-view .fc .fc-event-mirror .calendar-event-content {
	color: var(--color-surface);
}

.calendar-view .fc .fc-event-mirror .calendar-event-selection-preview,
.calendar-view
	.fc
	.calendar-multi-day-selection-preview-event
	.calendar-event-selection-preview {
	filter: invert(1) grayscale(1) contrast(100);
}

.calendar-view .fc .fc-timegrid-event .fc-event-main {
	padding: 0;
}

.calendar-view .fc .fc-event .calendar-event-content {
	position: relative;
	container-type: inline-size;
	border-radius: inherit;
	transition: background-color 120ms ease-out;
}

.calendar-view .fc .fc-timegrid-event .calendar-event-content {
	container-type: size;
}

.calendar-view .fc .calendar-event-content-compact {
	font-size: clamp(0.625rem, 7cqi, 0.6875rem);
}

.calendar-view .fc .calendar-event-title {
	font-size: clamp(0.625rem, min(6cqi, 20cqh), 0.75rem);
}

.calendar-view .fc .calendar-event-everyone-declined-indicator {
	background-color: currentColor;
}

.calendar-view .fc .calendar-event-everyone-declined-indicator svg {
	color: var(--color-surface);
}

.calendar-view
	.fc
	.calendar-event-content-selected
	.calendar-event-everyone-declined-indicator {
	background-color: var(--color-surface);
}

.calendar-view
	.fc
	.calendar-event-content-selected
	.calendar-event-everyone-declined-indicator
	svg {
	color: var(--color-accent);
}

.calendar-view .fc .calendar-event-content-compact .calendar-event-title {
	font-size: inherit;
}

.calendar-view .fc .calendar-event-metadata {
	font-size: clamp(0.5625rem, min(5cqi, 18cqh), 0.6875rem);
}

.calendar-view .fc .calendar-event-time {
	font-size: 0.6875rem;
}

.calendar-view .fc .calendar-event-content-layout {
	padding: 2px 6px;
}

.calendar-view .fc .calendar-event-content-layout-single-line {
	flex-direction: row;
	align-items: center;
	gap: 0.25rem;
	padding: 2px 6px;
}

.calendar-view
	.fc
	.calendar-event-content-layout-single-line
	.calendar-event-time {
	margin-top: 0;
}

.calendar-view
	.fc
	.calendar-event-content-layout-single-line
	.calendar-event-location {
	display: none;
}

/* Single-day timed events use a compact dot treatment in the month grid. */
.calendar-view .fc .fc-dayGridMonth-view .fc-daygrid-dot-event {
	border: 0;
	background-color: transparent;
	color: var(--color-ink-muted);
}

.calendar-view
	.fc
	.fc-dayGridMonth-view
	.fc-daygrid-dot-event
	.calendar-event-title {
	min-width: 0;
	flex-shrink: 1;
}

.calendar-view .fc .calendar-event-response-dot {
	width: 0.5rem;
	height: 0.5rem;
	flex: none;
	border: 1px solid var(--event-calendar-color, var(--color-calendar));
	border-radius: 9999px;
	background: var(--event-calendar-color, var(--color-calendar));
}

.calendar-view
	.fc
	.calendar-event-content[data-response-status="tentative"]
	.calendar-event-response-dot {
	border-style: dashed;
	background: transparent;
}

.calendar-view
	.fc
	.calendar-event-content[data-response-status="needs_action"]
	.calendar-event-response-dot {
	background: transparent;
}

/* Unanswered and tentative invitations stay filled, with a softer tint. */
.calendar-view .fc .fc-event:not(.fc-event-mirror):not(:has(.calendar-event-content-selected)):has(.calendar-event-content:is([data-response-status="tentative"], [data-response-status="needs_action"])) {
	--fc-event-bg-color: color-mix(in oklch, var(--calendar-event-fill) 85%, white);
}

.calendar-view
	.fc
	.fc-event:not(.fc-event-mirror):not(:has(.calendar-event-content-selected)):has(.calendar-event-content[data-response-status="declined"]) {
	--fc-event-bg-color: oklch(from var(--calendar-event-fill) l calc(c * 0.25) h);
}

.calendar-view
	.fc
	.calendar-event-content[data-response-status="declined"]
	.calendar-event-title {
	text-decoration: line-through;
}

/* The month grid's dot treatment sets its colors directly rather than
   through the event variables, so the solid fill must too. A selected chip
   keeps its usual accent rendering. */
.calendar-view
	.fc
	.fc-dayGridMonth-view
	.fc-daygrid-dot-event.calendar-event-out-of-office:not(
		:has(.calendar-event-content-selected)
	) {
	background-color: var(--fc-event-bg-color);
	color: var(--fc-event-text-color);
}

.calendar-view .fc .calendar-event-out-of-office .calendar-event-response-dot {
	display: none;
}

.calendar-view .fc .fc-event:hover {
	z-index: 4;
}

.calendar-view .fc .fc-event:focus-visible {
	z-index: 4;
	outline: none;
	--calendar-event-ring: 0 0 0 1px var(--color-ink-muted);
}

@media (hover: hover) {
	.calendar-view .fc .fc-event:hover:not(.fc-event-mirror):not(.calendar-multi-day-selection-preview-event):not(:has(.calendar-event-content-selected)) {
		filter: brightness(0.94);
	}

	.calendar-view .fc .fc-dayGridMonth-view .fc-daygrid-dot-event:hover:not(.calendar-event-out-of-office):not(:has(.calendar-event-content-selected)) {
		background-color: var(--color-hover);
	}
}

.calendar-view .fc .fc-event:has(.calendar-event-content-selected) {
	z-index: 3;
	--fc-event-border-color: var(--color-accent);
	--fc-event-bg-color: var(--color-accent);
	--fc-event-text-color: var(--color-surface);
	opacity: 1;
}

.calendar-view
	.fc
	.fc-event:has(.calendar-event-content-selected)
	.calendar-event-content-selected {
	background-color: var(--color-accent);
	color: var(--color-surface);
}

.calendar-view
	.fc
	.calendar-event-content.calendar-event-content-selected
	.calendar-event-response-dot {
	border-color: currentColor;
	background: currentColor;
}

.calendar-view .fc .fc-dayGridMonth-view .fc-daygrid-day-frame {
	min-height: 4rem;
}

.calendar-view .fc .fc-dayGridMonth-view .fc-daygrid-day-top {
	justify-content: center;
}

.calendar-view .fc .fc-timegrid .fc-daygrid-day-frame,
.calendar-view .fc .fc-timegrid .fc-daygrid-day-events {
	min-height: 3rem;
}

.calendar-view .fc .fc-timegrid .fc-daygrid-day-events {
	margin-bottom: 0;
}

/* Empty create strip after the chip stack, including when events already exist. */
.calendar-view .fc .fc-timegrid .fc-daygrid-day-bottom {
	min-height: 1.5rem;
}

/*
 * Keep a fixed all-day slot in the scrollgrid so extra chips grow over the
 * time grid instead of shrinking it and shifting the hour rows.
 */
.calendar-view
	.fc
	.fc-timegrid
	.fc-scrollgrid-section-body:not(.fc-scrollgrid-section-liquid):has(
		.fc-daygrid-body
	)
	> td {
	position: relative;
	z-index: 4;
	height: 3rem;
	max-height: 3rem;
	overflow: visible;
	vertical-align: top;
	border-bottom-width: 0;
}

.calendar-view
	.fc
	.fc-timegrid
	.fc-scrollgrid-section-body:not(.fc-scrollgrid-section-liquid):has(
		.fc-daygrid-body
	)
	.fc-scroller-harness {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: 4;
	height: auto;
	min-height: 100%;
	overflow: visible;
}

.calendar-view
	.fc
	.fc-timegrid
	.fc-scrollgrid-section-body:not(.fc-scrollgrid-section-liquid):has(
		.fc-daygrid-body
	)
	.fc-daygrid-body,
.calendar-view
	.fc
	.fc-timegrid
	.fc-scrollgrid-section-body:not(.fc-scrollgrid-section-liquid):has(
		.fc-daygrid-body
	)
	.fc-daygrid-body
	> table {
	height: auto;
}

.calendar-view .fc .fc-timegrid .fc-daygrid-body {
	border-bottom: var(--app-border-width) solid var(--fc-border-color);
}

.calendar-view .fc .fc-timegrid .fc-scrollgrid-section-liquid > td {
	border-top-width: 0;
}

.calendar-view .fc .fc-timegrid-divider {
	height: 0;
	padding: 0;
	border-width: 0;
	background: transparent;
}

.calendar-view .fc .fc-timeGridWeek-view .fc-timegrid-slot,
.calendar-view .fc .fc-timeGridDay-view .fc-timegrid-slot {
	height: 2rem;
}

.calendar-view .fc .fc-timegrid-slot-minor {
	border-top-color: transparent;
}

.calendar-view .fc .fc-timegrid-axis-cushion,
.calendar-view .fc .fc-timegrid-slot-label-cushion {
	color: var(--color-ink-extra-muted);
	font-size: 0.6875rem;
}

.calendar-view .fc .fc-timegrid-axis-cushion {
	opacity: 0;
}

.calendar-view .fc .fc-timegrid-axis,
.calendar-view .fc .fc-timegrid-slot-label {
	border-width: 0;
}

.calendar-view .fc .fc-timegrid-slot-label {
	vertical-align: top;
}

.calendar-view .fc .fc-timegrid-slot-label-cushion {
	padding-right: 0.5rem;
	transform: translateY(-50%);
}

.calendar-embed
	.calendar-view
	.fc.fc-direction-ltr
	.fc-timegrid-slot-lane,
.calendar-embed
	.calendar-view
	.fc.fc-direction-ltr
	.fc-timegrid-axis
	+ .fc-timegrid-col {
	border-left-width: 0;
}

.calendar-embed
	.calendar-view
	.fc.fc-direction-rtl
	.fc-timegrid-slot-lane,
.calendar-embed
	.calendar-view
	.fc.fc-direction-rtl
	.fc-timegrid-axis
	+ .fc-timegrid-col {
	border-right-width: 0;
}

.calendar-embed
	.calendar-view
	.fc
	.fc-timegrid-slot-label:not(.fc-timegrid-slot-minor) {
	border-top: 1px solid var(--fc-border-color);
}

.calendar-embed .calendar-view .fc .fc-timegrid-slot-label-cushion {
	padding-top: 0.25rem;
	transform: none;
}

.calendar-view
	.fc
	.fc-timegrid-slots
	tbody
	tr:first-child
	.fc-timegrid-slot-label-cushion {
	visibility: hidden;
}

.calendar-embed
	.calendar-view
	.fc
	.fc-timegrid-slots
	tbody
	tr:first-child
	.fc-timegrid-slot {
	box-shadow: inset 0 1px var(--fc-border-color);
}

.calendar-embed
	.calendar-view
	.fc
	.fc-timegrid-slots
	tbody
	tr:first-child
	.fc-timegrid-slot-label-cushion {
	visibility: visible;
}

.calendar-view .fc .fc-timegrid-now-indicator-line {
	--calendar-now-arrow-bottom: 50%;
	--calendar-now-arrow-top: 50%;
	--calendar-now-axis-height: 0.75rem;
	--calendar-now-axis-radius: 0.125rem;
	--calendar-now-axis-width: 0.625rem;
	--calendar-now-expanded: 0;
	border: 0;
	opacity: 1;
	pointer-events: auto;
}

.calendar-view .fc .fc-timegrid-now-indicator-line:hover {
	--calendar-now-arrow-bottom: 100%;
	--calendar-now-arrow-top: 0%;
	--calendar-now-axis-height: 1.375rem;
	--calendar-now-axis-radius: 0.375rem;
	--calendar-now-axis-width: 4.125rem;
	--calendar-now-expanded: 1;
}

.calendar-view .fc .fc-timegrid-now-indicator-line::before {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: 6;
	height: 1px;
	border-radius: 0.25rem;
	background: var(--color-accent);
	content: "";
}

.calendar-view .fc .fc-timegrid-now-indicator-line::after {
	position: absolute;
	top: -0.25rem;
	right: 0;
	left: 0;
	z-index: 4;
	height: 0.5rem;
	content: "";
}

.calendar-view .fc .fc-timegrid-col .fc-timegrid-now-indicator-container {
	overflow: visible;
}

.calendar-view .fc .fc-timegrid-now-indicator-arrow {
	display: none;
}

.calendar-view .fc .fc-timeGridWeek-view .fc-timegrid-axis {
	width: 4.5rem;
}

.calendar-view .fc .calendar-now-axis-indicator {
	z-index: 7;
	display: inline-flex;
	width: var(--calendar-now-axis-width, 0.625rem);
	height: var(--calendar-now-axis-height, 0.75rem);
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: var(--calendar-now-axis-radius, 0.125rem);
	background: var(--color-accent);
	pointer-events: auto;
	clip-path: polygon(
		0 0,
		100% var(--calendar-now-arrow-top, 50%),
		100% var(--calendar-now-arrow-bottom, 50%),
		0 100%
	);
	transition:
		width 420ms cubic-bezier(0.2, 0.8, 0.2, 1),
		height 420ms cubic-bezier(0.2, 0.8, 0.2, 1),
		border-radius 300ms ease-out,
		clip-path 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.calendar-view
	.fc
	.fc-timegrid-now-indicator-line
	> .calendar-now-axis-indicator {
	position: absolute;
	top: 0;
	right: 100%;
	transform: translateY(calc(-50% + 0.5px));
}

.calendar-view
	.fc
	.fc-timeGridDay-view
	.fc-timegrid-now-indicator-line
	> .calendar-now-axis-indicator {
	right: auto;
	left: 0;
}

.calendar-view .fc .calendar-now-time {
	display: inline-flex;
	height: 100%;
	align-items: center;
	padding: 0 0.375rem;
	color: var(--color-surface);
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	opacity: var(--calendar-now-expanded, 0);
	visibility: hidden;
	transition:
		opacity 300ms ease-out,
		visibility 0s linear 300ms;
}

.calendar-view .fc .fc-timegrid-now-indicator-line:hover .calendar-now-time {
	visibility: visible;
	transition-delay: 0s;
}

.calendar-view .fc .fc-timegrid-col-frame[data-time-grid-hover]::after {
	position: absolute;
	top: var(--calendar-time-grid-hover-top);
	right: 0;
	left: 0;
	z-index: 4;
	border-top: 1px dashed
		color-mix(in oklch, var(--color-ink-extra-muted) 40%, transparent);
	pointer-events: none;
	content: "";
}

@container calendar-view (max-width: 700px) {
	.calendar-view .fc .fc-daygrid-day-number {
		padding: 0.375rem;
	}
}

@media (max-width: 639px) {
	html[data-touch-device="true"] .calendar-view-content {
		padding-top: calc(var(--mobile-content-inset-top, 0px) + 0.5rem);
		padding-bottom: calc(var(--mobile-content-inset-bottom, 0px) + 0.5rem);
	}
}