.screen > .screen-section-heading {
    flex: 0 0 auto;
    position: relative;
    margin: 0;
    padding: 12px var(--homeza-screen-gutter) 8px;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    color: var(--text-primary);
}
.screen-section-heading.header::before { content: none; }

.screen-section-heading > .section-tools {
    min-height: 44px;
    margin-bottom: 0;
}
.section-tools > .section-tools-title {
    margin: 0;
    min-width: 0;
    color: var(--text-primary);
    font-size: 1.625rem;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
}
.screen-section-heading .section-tools .back-btn {
    position: relative;
    inset: auto;
    margin: 0;
    color: var(--text-primary);
    --back-circle: var(--surface-secondary);
    --back-circle-border: var(--action-boundary, var(--border));
    --back-circle-hover: var(--border);
}

.screen-section-heading .progress-bar-compact { margin-top: 8px; }

/* These overlays route the messenger's Back action to the same close handler. */
html.homeza-native-back #eqBackBtn,
html.homeza-native-back .library-modal-overlay .library-modal-close,
html.homeza-native-back #nutritionMealOverlay .meal-dialog-recipe button[aria-label="Закрыть рецепт"] {
    display: none;
}

#soft-start-checkin {
    background: var(--bg-dashboard);
}

#softStartStateList .load-choice {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 66px;
    padding: 9px 12px;
    border: 1px solid color-mix(in srgb, var(--accent-ink) 34%, var(--border));
    background: var(--surface);
    color: var(--text-primary);
    font: inherit;
    text-align: start;
}

.load-choice-icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 10px;
    background: var(--primary-very-light);
    color: var(--accent-ink);
}

.load-choice-copy {
    display: grid;
    gap: 3px;
}

.load-choice-copy strong { font-size: 15px; }
.load-choice-copy > span {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.35;
}

.load-choice:focus-visible {
    outline: 2px solid var(--accent-ink);
    outline-offset: 2px;
}

[data-copy-slot] {
    min-width: 0;
    overflow-wrap: anywhere;
}
