/* Screen layout geometry only. @see docs/ui-surface-truth-model.md */

.ll-surface--screen-top {
    min-height: 100%;
}

.home-panel > .ll-surface--screen-top {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
}

.home-panel > .ll-surface--screen-top > .ll-surface__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
    /* Home panels already own scroll (or delegate to inner lists). Default
       ll-surface__body overflow:auto clips the today-shell edge bleed and
       shows a spurious horizontal bar. */
    overflow-x: hidden;
    overflow-y: hidden;
}

.ll-surface--screen-stack {
    min-height: 100%;
}

.ll-stack-shell__inner > .ll-surface--screen-stack {
    flex: 1 1 auto;
    min-height: 0;
}

.view-root.view-root--stack-screen .ll-stack-shell__inner > .ll-surface--screen-stack {
    min-height: 0;
}

.ll-surface--screen-stack .ll-surface__body {
    padding: 0 0.75rem 1rem;
}
