/* ─── Dashboard: link rapidi ────────────────────────────── */
.home-quicklinks {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}

.home-quicklink {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    background: var(--its-surface);
    border: 1px solid var(--its-border);
    border-radius: var(--its-radius);
    text-decoration: none;
    color: var(--its-text);
    transition: background .12s, border-color .12s, box-shadow .12s;
}

.home-quicklink:hover {
    background: var(--its-surface2);
    border-color: var(--its-border-strong);
    box-shadow: var(--its-shadow);
    text-decoration: none;
    color: var(--its-text);
}

.home-quicklink__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--its-radius);
    background: var(--its-gold-soft);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.home-quicklink__title {
    font-family: var(--its-serif);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -.005em;
    color: var(--its-text);
    line-height: 1.2;
}

.home-quicklink__sub {
    font-size: 12px;
    color: var(--its-text-muted);
    margin-top: 3px;
}

/* ─── Dashboard: split Pipeline + Prossime sessioni ──────── */
.home-split {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 22px;
}

@media (max-width: 1100px) {
    .home-split {
        grid-template-columns: 1fr;
    }
}

.home-panel {
    background: var(--its-surface);
    border: 1px solid var(--its-border);
    border-radius: var(--its-radius);
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
}

.home-panel__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.home-panel__title {
    font-family: var(--its-serif);
    font-weight: 500;
    font-size: 22px;
    letter-spacing: -.005em;
    line-height: 1.2;
    color: var(--its-text);
    margin: 0;
}

.home-panel__sub {
    font-size: 12px;
    color: var(--its-text-muted);
    margin-top: 3px;
}

.home-panel__link {
    font-size: 12px;
    font-weight: 500;
    color: var(--its-gold-deep);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.home-panel__link:hover {
    text-decoration: underline;
    color: var(--its-gold-deep);
}

.home-panel__link--foot {
    margin-top: 14px;
    align-self: flex-start;
}

/* ─── Barre pipeline ─────────────────────────────────────── */
.home-bar-row {
    padding: 12px 0;
    border-bottom: 1px solid var(--its-border);
}

.home-bar-row:last-of-type {
    border-bottom: none;
}

.home-bar-row__top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.home-bar-row__label {
    font-size: 13px;
    font-weight: 550;
    color: var(--its-text);
}

.home-bar-row__count {
    font-size: 11px;
    color: var(--its-text-muted);
    margin-top: 1px;
}

.home-bar-row__val {
    font-family: var(--its-serif);
    font-size: 20px;
    line-height: 1;
    color: var(--its-text);
}

.home-bar {
    height: 6px;
    background: var(--its-surface2);
    border-radius: 999px;
    overflow: hidden;
}

.home-bar > span {
    display: block;
    height: 100%;
    border-radius: 999px;
    transition: width .3s ease;
}

.home-bar--gold  { background: var(--its-gold); }
.home-bar--navy  { background: var(--its-text); }
.home-bar--rose  { background: var(--its-danger); }
.home-bar--muted { background: var(--its-border-strong); }

/* ─── Righe sessione corso ───────────────────────────────── */
.home-session {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 8px 11px 0;
    border-bottom: 1px solid var(--its-border);
    text-decoration: none;
    color: var(--its-text);
    transition: background .12s, padding-left .12s;
    border-radius: var(--its-radius);
}

.home-session:hover {
    background: var(--its-surface2);
    padding-left: 10px;
    text-decoration: none;
    color: var(--its-text);
}

.home-session__body {
    min-width: 0;
}

.home-session__name {
    font-size: 13px;
    font-weight: 550;
    color: var(--its-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-session__meta {
    font-size: 11.5px;
    color: var(--its-text-muted);
    margin-top: 2px;
}

.home-empty {
    font-size: 13px;
    color: var(--its-text-muted);
    padding: 8px 0 4px;
}
