/* /home. The page is built from the shared blocks in components.css; these are the parts only it has. */

/* What is left to do: one row per finding, the icon carrying the severity and the text in ink. */
.ms-home__findings {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ms-home__finding {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid var(--mud-palette-lines-default);
    color: var(--mud-palette-text-primary);
    font-size: .875rem;
    line-height: 1.45;
}

.ms-home__finding:first-child {
    padding-top: 0;
    border-top: 0;
}

.ms-home__finding .material-symbols-outlined {
    flex: none;
    margin-top: 1px;
    font-size: 20px;
    color: var(--ms-tone-ink);
}

/* Twelve months, each stating its own name and carrying a mark - the colour repeats what they say. */
.ms-home__months {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ms-home__month {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 0 8px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 8px;
    color: var(--mud-palette-text-secondary);
    font-size: .8125rem;
}

.ms-home__month .material-symbols-outlined {
    font-size: 18px;
}

.ms-home__month.is-done .material-symbols-outlined {
    color: var(--mud-palette-success);
    font-variation-settings: "FILL" 1;
}

.ms-home__month.is-todo .material-symbols-outlined {
    color: var(--ms-ink-3);
}

/* The period being worked in. */
.ms-home__month.is-current {
    border-color: var(--mud-palette-primary);
    background-color: var(--mud-palette-primary-lighten);
    color: var(--mud-palette-text-primary);
    font-weight: 600;
}

.ms-home__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-top: 12px;
}

.ms-home__legend .ms-status {
    color: var(--mud-palette-text-secondary);
}

.ms-home__legend .ms-tone-success .material-symbols-outlined {
    color: var(--mud-palette-success);
    font-variation-settings: "FILL" 1;
}

.ms-home__legend .ms-tone-neutral .material-symbols-outlined {
    color: var(--ms-ink-3);
}

@media (max-width: 900px) {
    .ms-home__months {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}
