.hb-learner-dashboard {
    --hb-bg: #f5f8fd;
    --hb-card: #ffffff;
    --hb-border: #dfe8f3;
    --hb-text: #17304d;
    --hb-muted: #6f8299;
    --hb-blue: #2d6df6;
    --hb-green: #19b26b;
    --hb-purple: #8a45f7;
    --hb-orange: #f59b23;
    color: var(--hb-text);
    margin: 0 auto;
    max-width: 1180px;
    padding: 20px 0 28px;
}
.hb-learner-shell {
    background: transparent;
}
.hb-learner-breadcrumb {
    margin-bottom: 10px;
    color: #7a8ea8;
    font-size: 13px;
}
.hb-learner-hero {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: stretch;
    background: linear-gradient(135deg, #eff5ff 0%, #fbfcff 100%);
    border: 1px solid var(--hb-border);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 14px 40px rgba(34, 73, 138, 0.08);
}
.hb-hero-tag {
    display: inline-block;
    margin-bottom: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(45, 109, 246, 0.1);
    color: var(--hb-blue);
    font-weight: 700;
    font-size: 12px;
}
.hb-learner-hero h1 {
    margin: 0;
    font-size: 34px;
    line-height: 1.15;
}
.hb-learner-hero p {
    margin: 10px 0 0;
    max-width: 680px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--hb-muted);
}
.hb-learner-filter {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--hb-border);
}
.hb-learner-filter label span {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
}
.hb-learner-filter select,
.hb-learner-filter button {
    width: 100%;
    height: 46px;
    border-radius: 12px;
    border: 1px solid #cfdbeb;
    font-size: 14px;
}
.hb-learner-filter select {
    padding: 0 12px;
    background: #fff;
}
.hb-learner-filter button {
    border: none;
    background: linear-gradient(135deg, #2d6df6 0%, #1d5ddd 100%);
    color: #fff;
    font-weight: 700;
}
.hb-summary-cards,
.hb-chart-grid,
.hb-report-grid,
.hb-overview-grid {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}
.hb-summary-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.hb-summary-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 92px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--hb-border);
    background: var(--hb-card);
    box-shadow: 0 10px 28px rgba(24, 48, 84, 0.05);
}
.hb-summary-card .hb-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 22px;
    background: rgba(45, 109, 246, 0.1);
}
.hb-summary-card strong {
    display: block;
    font-size: 24px;
    line-height: 1.1;
}
.hb-summary-card span:last-child {
    display: block;
    margin-top: 4px;
    color: var(--hb-muted);
    font-size: 13px;
}
.hb-summary-card.is-green .hb-icon { background: rgba(25, 178, 107, 0.12); }
.hb-summary-card.is-purple .hb-icon { background: rgba(138, 69, 247, 0.12); }
.hb-summary-card.is-orange .hb-icon { background: rgba(245, 155, 35, 0.12); }
.hb-overview-grid { grid-template-columns: 1.05fr 1.35fr; }
.hb-chart-grid { grid-template-columns: 1.2fr 1fr; }
.hb-report-grid { grid-template-columns: 1.15fr 1fr; }
.hb-panel {
    background: var(--hb-card);
    border: 1px solid var(--hb-border);
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 12px 28px rgba(24, 48, 84, 0.05);
}
.hb-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 16px;
}
.hb-panel-head h2 {
    margin: 0;
    font-size: 22px;
}
.hb-panel-head span {
    color: var(--hb-muted);
    font-size: 13px;
}
.hb-profile-box {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.hb-avatar {
    width: 86px;
    height: 86px;
    object-fit: cover;
    border-radius: 22px;
    border: 1px solid var(--hb-border);
    background: #edf4ff;
}
.hb-profile-main h3 {
    margin: 0 0 6px;
    font-size: 24px;
}
.hb-profile-main p {
    margin: 0;
    color: var(--hb-muted);
}
.hb-profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.hb-profile-badges span,
.hb-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: #eef4ff;
    color: #2d5ea0;
}
.hb-info-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.hb-info-list div,
.hb-metric-card {
    padding: 14px;
    border: 1px solid var(--hb-border);
    border-radius: 14px;
    background: #fbfdff;
}
.hb-info-list span,
.hb-metric-card span,
.hb-subject-progress-meta,
.hb-progress-labels span {
    color: var(--hb-muted);
    font-size: 13px;
}
.hb-info-list strong,
.hb-metric-card strong {
    display: block;
    margin-top: 6px;
    font-size: 16px;
}
.hb-metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.hb-progress-block {
    margin-top: 16px;
    display: grid;
    gap: 14px;
}
.hb-progress-labels {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}
.hb-progress-labels strong {
    font-size: 14px;
}
.hb-progress-track {
    height: 10px;
    border-radius: 999px;
    background: #edf2f9;
    overflow: hidden;
}
.hb-progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2d6df6 0%, #8a45f7 100%);
}
.hb-progress-track.is-alt span {
    background: linear-gradient(90deg, #19b26b 0%, #5fd58c 100%);
}
.hb-chart-wrap {
    position: relative;
    min-height: 300px;
}
.hb-chart-wrap.is-small { min-height: 280px; }
.hb-subject-progress-list {
    display: grid;
    gap: 14px;
}
.hb-subject-progress-item {
    padding: 14px;
    border: 1px solid var(--hb-border);
    border-radius: 14px;
    background: #fbfdff;
}
.hb-subject-progress-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}
.hb-subject-progress-top strong { font-size: 15px; }
.hb-subject-progress-top span { color: var(--hb-muted); font-size: 13px; }
.hb-subject-progress-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
}
.hb-table-wrap {
    overflow-x: auto;
}
.hb-table {
    width: 100%;
    border-collapse: collapse;
}
.hb-table th,
.hb-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e7eef6;
    text-align: left;
    font-size: 14px;
}
.hb-table th {
    color: var(--hb-muted);
    font-weight: 700;
    background: #fbfdff;
}
.hb-status-excellent { background: #e8fbf1; color: #188a57; }
.hb-status-good { background: #eef4ff; color: #2d6df6; }
.hb-status-pass { background: #fff5e6; color: #cc7b15; }
.hb-status-warning { background: #feecec; color: #db5757; }

@media (max-width: 1100px) {
    .hb-summary-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hb-overview-grid,
    .hb-chart-grid,
    .hb-report-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .hb-learner-dashboard { padding: 12px 0 24px; }
    .hb-learner-hero { flex-direction: column; padding: 18px; }
    .hb-learner-filter { flex: none; width: 100%; }
    .hb-metric-grid,
    .hb-info-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .hb-summary-cards,
    .hb-metric-grid,
    .hb-info-list { grid-template-columns: 1fr; }
    .hb-panel { padding: 14px; }
    .hb-learner-hero h1 { font-size: 28px; }
    .hb-profile-box { flex-direction: column; align-items: flex-start; }
    .hb-subject-progress-top,
    .hb-subject-progress-meta,
    .hb-panel-head { flex-direction: column; align-items: flex-start; }
}
