.sched-event {
    height: 100%;
    width: 100%;
    padding: 7px 10px 7px 12px;
    border-radius: var(--radius-md);
    overflow: hidden;
    font-family: var(--font-family-sans);
    font-size: var(--font-size-xs);
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-left: 4px solid rgba(0, 0, 0, 0.32);
    box-sizing: border-box;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.05);
    transition: filter var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard);
    -webkit-font-smoothing: antialiased;
}

.sched-event:hover {
    filter: brightness(1.06) saturate(1.06);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.sched-event-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    flex-shrink: 0;
    min-height: 14px;
}

.sched-event-time {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1, "cv11" 1;
    font-weight: var(--font-weight-semibold);
    opacity: 0.9;
    line-height: 1.2;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.sched-event-time-num {
    font-size: 11px;
}

.sched-event-time-meridiem {
    font-size: 9px;
    text-transform: lowercase;
    margin-left: 1px;
    opacity: 0.85;
    font-weight: var(--font-weight-medium);
}

.sched-event-time-sep {
    margin: 0 4px;
    opacity: 0.55;
    font-weight: var(--font-weight-regular);
}

.sched-event-kind {
    background: rgba(0, 0, 0, 0.32);
    color: #ffffff;
    padding: 1px 8px;
    border-radius: var(--radius-full);
    font-size: 9px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.5;
    flex-shrink: 0;
    backdrop-filter: blur(2px);
}

.sched-event-title {
    font-weight: var(--font-weight-semibold);
    font-size: 13px;
    line-height: 1.35;
    letter-spacing: -0.005em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}

.sched-event-meta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    opacity: 0.82;
    font-size: 10.5px;
    line-height: 1.3;
    margin-top: 1px;
    min-width: 0;
}

.sched-event-meta-icon {
    flex-shrink: 0;
    opacity: 0.85;
}

.sched-event-meta-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    font-weight: var(--font-weight-medium);
}

.qa-scheduler-month-event .sched-event {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 3px;
    padding: 3px;
    border-radius: 10px;
    border-left: 0;
    line-height: 1.3;
    overflow: hidden;
    white-space: normal;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    height: auto;
    min-height: 0;
}

.qa-scheduler-month-event .sched-event-head {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 0;
    gap: 10px;
}

.qa-scheduler-month-event .sched-event-time {
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.92;
}

.qa-scheduler-month-event .sched-event-time-num {
    font-size: 10.5px;
}

.qa-scheduler-month-event .sched-event-time-meridiem {
    font-size: 9px;
}

.qa-scheduler-month-event .sched-event-time-sep,
.qa-scheduler-month-event .sched-event-time-sep ~ * {
    display: none;
}

.qa-scheduler-month-event .sched-event-kind {
    font-size: 8.5px;
    padding: 0 6px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.qa-scheduler-month-event .sched-event-title {
    flex: none;
    min-width: 0;
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.3;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 0;
}

.qa-scheduler-month-event .sched-event-meta {
    justify-content: center;
    gap: 4px;
    font-size: 10.5px;
    opacity: 0.85;
    margin-top: 0;
}

.qa-scheduler-month-event .sched-event-meta-text {
    text-align: center;
}
