html, body {
    margin: 0;
    padding: 0;
    font-family: Roboto, Arial, sans-serif;
    min-height: 100vh;
    font-size: 18px;
    background: #f7f8fa;
}

body {
    color: #1f2937;
}

h1, h2, h3, h4, h5, h6,
.mud-typography-h1,
.mud-typography-h2,
.mud-typography-h3,
.mud-typography-h4,
.mud-typography-h5,
.mud-typography-h6 {
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}

.mud-button {
    min-height: 52px !important;
    border-radius: 14px !important;
    font-size: 1rem !important;
    text-transform: none !important;
    font-weight: 600 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.mud-input-control,
.mud-input-control-input-container,
.mud-input {
    font-size: 1rem !important;
}

    .mud-input > input,
    .mud-input > textarea {
        font-size: 1.05rem !important;
    }

.mud-paper {
    border-radius: 18px !important;
}

.mud-table {
    font-size: 1rem !important;
}

.mud-table-cell {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
}

.mud-nav-link {
    min-height: 52px !important;
    font-size: 1rem !important;
    border-radius: 12px !important;
    margin: 4px 8px !important;
}

.big-page-title {
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin-bottom: 16px !important;
}

.section-card {
    padding: 20px !important;
    border-radius: 20px !important;
}

.soft-muted {
    color: #4b5563 !important;
}

.touch-list-item {
    min-height: 72px;
    display: flex;
    align-items: center;
    border-radius: 16px;
    padding: 14px 16px;
}

.timeline-time {
    font-size: 1.5rem;
    font-weight: 700;
    min-width: 90px;
}

.timeline-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.timeline-notes {
    font-size: 1rem;
    color: #4b5563;
}

@media (max-width: 900px) {
    html, body {
        font-size: 19px;
    }

    .mud-main-content .mud-container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .big-page-title {
        font-size: 1.8rem !important;
    }

    .timeline-time {
        min-width: 78px;
        font-size: 1.3rem;
    }
    .dayplan-card {
        display: flex;
        gap: 18px;
        align-items: flex-start;
    }

    .dayplan-time {
        font-size: 2rem;
        font-weight: 700;
        min-width: 92px;
        line-height: 1.1;
    }

    .dayplan-main {
        flex: 1;
        min-width: 0;
    }

    .dayplan-actions {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 8px;
        min-width: 120px;
    }

    .dayplan-buttons {
        display: flex;
        gap: 6px;
    }

    @media (max-width: 900px) {
        .dayplan-card {
            flex-direction: column;
            gap: 12px;
        }

        .dayplan-time {
            min-width: 0;
            font-size: 1.9rem;
        }

        .dayplan-actions {
            width: 100%;
            align-items: stretch;
        }

        .dayplan-buttons {
            width: 100%;
            display: flex;
            justify-content: space-between;
        }
    }
}
