/* Hub screens — five tabs at most. Home opens the register directly; Teach,
   Duty, Work and Me are launchpads whose cards come from hub-nav.js. */

/* Five tabs share the bar evenly; the pre-hub items are hidden and never see
   this rule. */
.tab-navigation .tab-item[data-hub] {
    flex: 1 1 0;
}

.hub-screen {
    padding: 18px 15px 110px;
    max-width: 680px;
    margin: 0 auto;
}

.hub-header {
    margin-bottom: 16px;
}

.hub-header .section-title {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hub-blurb {
    margin: 6px 0 0;
    font-size: 12px;
    color: var(--text-muted);
}

.hub-cards {
    display: grid;
    gap: 12px;
}

.hub-card {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 15px 16px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 51, 0.08);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    text-align: left;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hub-card:active {
    transform: scale(0.985);
}

.hub-card-icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--bg-mint);
    color: var(--primary-light);
    font-size: 18px;
}

.hub-card-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
    min-width: 0;
}

.hub-card-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-emerald);
}

.hub-card-blurb {
    font-size: 12px;
    line-height: 1.4;
    color: var(--text-muted);
}

.hub-card-chevron {
    flex: 0 0 auto;
    color: #c3c8d6;
    font-size: 14px;
}

.hub-empty {
    padding: 18px;
    border-radius: 16px;
    background: var(--bg-mint);
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
}
