.tt-wrap {
    width: 100%;
    height: 300px;
    font-family: 'Segoe UI',
        Arial,
        sans-serif;
}

.tt-grid {
    display: flex;
    height: 100%;
    background: #fff;
    border: 1px solid #dde1e7;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    box-sizing: border-box;
}

.tt-time-col {
    flex-shrink: 0;
    border-right: 1px solid #dde1e7;
    box-sizing: border-box;
}

.tt-time-slot {
    height: 30px;
    border-top: 1px solid #eee;
    font-size: 0.55rem;
    color: #bbb;
    padding: 2px 3px 0;
    font-family: monospace;
    box-sizing: border-box;
    overflow: hidden;
}

.tt-days {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.tt-day-col {
    flex: 1;
    border-right: 1px solid #eee;
    min-width: 0;
}

.tt-day-col:last-child {
    border-right: none;
}

.tt-day-header {
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 600;
    background: #fafbfc;
    border-bottom: 1px solid #dde1e7;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.tt-day-body {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.tt-hour-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: #f2f2f2;
}

.tt-event {
    position: absolute;
    left: 2px;
    right: 2px;
    border-radius: 3px;
    padding: 2px 4px;
    color: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.tt-event-name {
    font-size: 0.58rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.tt-event-time {
    font-size: 0.5rem;
    opacity: 0.85;
    font-family: monospace;
    line-height: 1.2;
}