#systemActions action-list-item {
    display: block;
    cursor: pointer;
}
#systemActions action-list-item[hidden] {
    display: none;
}

#greeting {
    margin-bottom: 8px;
}
#greeting h2 {
    font-size: 1.3rem;
    font-weight: 500;
    margin: 0;
    color: var(--color-gray-1);
}

#homeGrid {
    display: contents;
}

@media (orientation: landscape) and (min-width: 600px) {
    #homeGrid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        align-items: start;
    }
}

/* Grid/flex items default to min-width:auto and won't shrink below their content.
   Without this the day-timeline's nowrap item strip forces the column (and the
   page) wide on a busy day instead of scrolling inside its own card. */
#homeGrid > section {
    min-width: 0;
}

#timelineSection {
    margin-bottom: 12px;
}

#nextActionSection {
    margin-bottom: 28px;
}
#nextActionSection loading-animation {
    display: block;
    margin: 20px auto;
}
#nextActionSection loading-animation:not([busy]) {
    display: none;
}
#nextActionSection next-action-card {
    display: none;
}
#nextActionSection.loaded loading-animation {
    display: none !important;
}
#nextActionSection.loaded next-action-card {
    display: block;
}

#captureSection {
    margin-bottom: 16px;
    padding-top: 8px;
    border-top: 1px solid var(--color-border);
}

#overwhelmedSection {
    margin-bottom: 24px;
}
