/* Travelyzer — small overrides on top of Tailwind CDN. */

.cal-cell {
    min-height: 7.5rem;
    border-right: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    padding: 0.4rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cal-cell:nth-child(7n) {
    border-right: none;
}

.cal-cell--outside {
    background: #fafafa;
    color: #cbd5e1;
}

.cal-cell--today {
    background: #eff6ff;
}

.cal-daynum {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
}

.metro-dot {
    display: inline-block;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 9999px;
    flex: none;
}

.cal-cell {
    cursor: pointer;
    transition: background 0.1s;
}

.cal-cell:hover {
    background: #f8fafc;
}

.cal-hearings {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    overflow: hidden;
}

.hearing-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.68rem;
    line-height: 1.15;
    color: #334155;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 0.3rem;
    padding: 0.12rem 0.35rem;
}

.hearing-item i {
    color: #64748b;
    font-size: 0.62rem;
    flex: none;
}

.hearing-item__txt {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hearing-item--done {
    opacity: 0.55;
    text-decoration: line-through;
}

.cal-chips {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    overflow: hidden;
    margin-top: 0.15rem;
}

.travel-chip {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.1;
    padding: 0.15rem 0.35rem;
    border-radius: 0.3rem;
    color: #0f172a;
    background: color-mix(in srgb, var(--chip) 16%, white);
    border-left: 3px solid var(--chip);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.travel-chip--blocked {
    background: repeating-linear-gradient(45deg,
            color-mix(in srgb, var(--chip) 14%, white),
            color-mix(in srgb, var(--chip) 14%, white) 4px,
            color-mix(in srgb, var(--chip) 26%, white) 4px,
            color-mix(in srgb, var(--chip) 26%, white) 8px);
}

.travel-chip__dot {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    flex: none;
}
