.student-tools-strip {
    margin-bottom: 1.25rem;
    padding: 0;
}
.student-tools-strip__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: stretch;
}
.student-tools-strip__item {
    flex: 1 1 180px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 16px;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: linear-gradient(160deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}
.student-tools-strip__item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.9), transparent);
    pointer-events: none;
}
.student-tools-strip__item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.student-tools-strip__item--vocab {
    border-color: rgba(13, 148, 136, 0.3);
    background: linear-gradient(160deg, #f0fdfa 0%, #ccfbf1 50%, #99f6e4 100%);
    box-shadow: 0 2px 10px rgba(13, 148, 136, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.student-tools-strip__item--vocab:hover { border-color: #0d9488; box-shadow: 0 8px 20px rgba(13, 148, 136, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8); }
.student-tools-strip__item--einbuergerung {
    border-color: rgba(30, 64, 175, 0.3);
    background: linear-gradient(160deg, #eff6ff 0%, #dbeafe 50%, #bfdbfe 100%);
    box-shadow: 0 2px 10px rgba(30, 64, 175, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.student-tools-strip__item--einbuergerung:hover { border-color: #1e40af; box-shadow: 0 8px 20px rgba(30, 64, 175, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8); }
.student-tools-strip__item--stats {
    border-color: rgba(220, 53, 69, 0.25);
    background: linear-gradient(160deg, #fff5f5 0%, #ffe4e6 50%, #fecdd3 100%);
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.student-tools-strip__item--stats:hover { border-color: #dc3545; box-shadow: 0 8px 20px rgba(220, 53, 69, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8); }
.student-tools-strip__item--radio {
    border-color: rgba(29, 185, 84, 0.3);
    background: linear-gradient(160deg, #ecfdf5 0%, #d1fae5 50%, #a7f3d0 100%);
    box-shadow: 0 2px 10px rgba(29, 185, 84, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.student-tools-strip__item--radio:hover { border-color: #16a34a; box-shadow: 0 8px 20px rgba(29, 185, 84, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8); }
.student-tools-strip__item--tips {
    border-color: rgba(202, 138, 4, 0.3);
    background: linear-gradient(160deg, #fffbeb 0%, #fef3c7 50%, #fde68a 100%);
    box-shadow: 0 2px 10px rgba(202, 138, 4, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.student-tools-strip__item--tips:hover { border-color: #ca8a04; box-shadow: 0 8px 20px rgba(202, 138, 4, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8); }
.student-tools-strip__item--books {
    border-color: rgba(124, 58, 237, 0.25);
    background: linear-gradient(160deg, #f5f3ff 0%, #ede9fe 50%, #ddd6fe 100%);
    box-shadow: 0 2px 10px rgba(124, 58, 237, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.student-tools-strip__item--books:hover { border-color: #7c3aed; box-shadow: 0 8px 20px rgba(124, 58, 237, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8); }
.student-tools-strip__item--chat {
    border-color: rgba(37, 99, 235, 0.25);
    background: linear-gradient(160deg, #eff6ff 0%, #dbeafe 50%, #bfdbfe 100%);
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.student-tools-strip__item--chat:hover { border-color: #2563eb; box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8); }
.student-tools-strip__item--tts {
    border-color: rgba(234, 88, 12, 0.3);
    background: linear-gradient(160deg, #fff7ed 0%, #ffedd5 50%, #fed7aa 100%);
    box-shadow: 0 2px 10px rgba(234, 88, 12, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.student-tools-strip__item--tts:hover { border-color: #ea580c; box-shadow: 0 8px 20px rgba(234, 88, 12, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8); }
.student-tools-strip__item--tts .student-tools-strip__icon { color: #ea580c; }
.student-tools-strip__item--proofread {
    border-color: rgba(37, 99, 235, 0.3);
    background: linear-gradient(160deg, #eff6ff 0%, #dbeafe 50%, #bfdbfe 100%);
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.student-tools-strip__item--proofread:hover { border-color: #2563eb; box-shadow: 0 8px 20px rgba(37, 99, 235, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8); }
.student-tools-strip__item--writing {
    border-color: rgba(182, 0, 0, 0.35);
    background: linear-gradient(160deg, #fef2f2 0%, #fee2e2 50%, #fecaca 100%);
    box-shadow: 0 2px 10px rgba(182, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.student-tools-strip__item--writing:hover { border-color: #b60000; box-shadow: 0 8px 20px rgba(182, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.8); }
.student-tools-strip__item--writing .student-tools-strip__icon { color: #b60000; }
.student-tools-strip__item--writing .student-tools-strip__label { color: #7f1d1d; }
.student-tools-strip__item--shadowing {
    border-color: rgba(14, 116, 144, 0.3);
    background: linear-gradient(160deg, #ecfeff 0%, #cffafe 50%, #a5f3fc 100%);
    box-shadow: 0 2px 10px rgba(14, 116, 144, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.student-tools-strip__item--shadowing:hover { border-color: #0e7490; box-shadow: 0 8px 20px rgba(14, 116, 144, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8); }
.student-tools-strip__item--dialogue {
    border-color: rgba(99, 102, 241, 0.3);
    background: linear-gradient(160deg, #eef2ff 0%, #e0e7ff 50%, #c7d2fe 100%);
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.student-tools-strip__item--dialogue:hover { border-color: #6366f1; box-shadow: 0 8px 20px rgba(99, 102, 241, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8); }
.student-tools-strip__item--coming-soon {
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.85;
}
.student-tools-strip__item--coming-soon:hover {
    transform: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.student-tools-strip__badge {
    display: inline-block;
    margin-top: 6px;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #7c3aed;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    box-shadow: 0 1px 3px rgba(124, 58, 237, 0.2);
}
.student-tools-strip__icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.student-tools-strip__item--vocab .student-tools-strip__icon { color: #0d9488; }
.student-tools-strip__item--einbuergerung .student-tools-strip__icon { color: #1e40af; }
.student-tools-strip__item--stats .student-tools-strip__icon { color: #dc3545; }
.student-tools-strip__item--radio .student-tools-strip__icon { color: #16a34a; }
.student-tools-strip__item--tips .student-tools-strip__icon { color: #ca8a04; }
.student-tools-strip__item--books .student-tools-strip__icon { color: #7c3aed; }
.student-tools-strip__item--chat .student-tools-strip__icon { color: #2563eb; }
.student-tools-strip__item--proofread .student-tools-strip__icon { color: #2563eb; }
.student-tools-strip__item--writing .student-tools-strip__icon { color: #b60000; }
.student-tools-strip__item--shadowing .student-tools-strip__icon { color: #0e7490; }
.student-tools-strip__item--dialogue .student-tools-strip__icon { color: #6366f1; }
.student-tools-strip__label {
    font-weight: 700;
    font-size: 1rem;
    color: #1e293b;
    line-height: 1.3;
}
.student-tools-strip__sub {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 4px;
    line-height: 1.35;
}
@media (max-width: 575px) {
    .student-tools-strip__inner { flex-direction: column; gap: 10px; }
    .student-tools-strip__item { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
    .student-tools-strip__item:hover { transform: none; }
}
.student-tools-strip__state-badge {
    margin-top: 8px;
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #7f1d1d;
    background: rgba(185, 28, 28, 0.12);
    border: 1px solid rgba(185, 28, 28, 0.24);
}
.student-tools-strip__item--state-available .student-tools-strip__state-badge {
    display: none;
}
.student-tools-strip__item--state-login_required .student-tools-strip__state-badge,
.student-tools-strip__item--state-upgrade_required .student-tools-strip__state-badge,
.student-tools-strip__item--state-course_required .student-tools-strip__state-badge,
.student-tools-strip__item--state-course_selection_required .student-tools-strip__state-badge,
.student-tools-strip__item--state-no_eligible_course .student-tools-strip__state-badge,
.student-tools-strip__item--state-quota_limited .student-tools-strip__state-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.exercises-page .student-tools-strip {
    margin-bottom: 0.75rem;
}
.exercises-page .student-tools-strip__inner {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 24px 20px;
    align-items: start;
}
.exercises-page .student-tools-strip__item {
    flex: none;
    min-height: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    justify-content: flex-start;
    gap: 0;
    transform: none;
}
.exercises-page .student-tools-strip__item::before {
    display: none;
}
.exercises-page .student-tools-strip__item:hover {
    transform: none;
    box-shadow: none;
}
.exercises-page .student-tools-strip__icon {
    position: relative;
    width: 70px;
    height: 70px;
    margin-bottom: 9px;
    border-radius: 20px;
    font-size: 2.15rem;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 9px 22px rgba(15, 23, 42, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.88);
}
.exercises-page .student-tools-strip__item--vocab .student-tools-strip__icon { background: linear-gradient(160deg, #ccfbf1 0%, #2dd4bf 100%); }
.exercises-page .student-tools-strip__item--einbuergerung .student-tools-strip__icon { background: linear-gradient(160deg, #dbeafe 0%, #60a5fa 100%); }
.exercises-page .student-tools-strip__item--stats .student-tools-strip__icon { background: linear-gradient(160deg, #ffe4e6 0%, #fb7185 100%); }
.exercises-page .student-tools-strip__item--radio .student-tools-strip__icon { background: linear-gradient(160deg, #dcfce7 0%, #4ade80 100%); }
.exercises-page .student-tools-strip__item--tips .student-tools-strip__icon { background: linear-gradient(160deg, #fef3c7 0%, #facc15 100%); }
.exercises-page .student-tools-strip__item--books .student-tools-strip__icon { background: linear-gradient(160deg, #ede9fe 0%, #a78bfa 100%); }
.exercises-page .student-tools-strip__item--chat .student-tools-strip__icon,
.exercises-page .student-tools-strip__item--proofread .student-tools-strip__icon { background: linear-gradient(160deg, #dbeafe 0%, #60a5fa 100%); }
.exercises-page .student-tools-strip__item--tts .student-tools-strip__icon { background: linear-gradient(160deg, #ffedd5 0%, #fb923c 100%); }
.exercises-page .student-tools-strip__item--writing .student-tools-strip__icon { background: linear-gradient(160deg, #fee2e2 0%, #ef4444 100%); }
.exercises-page .student-tools-strip__item--dictation .student-tools-strip__icon { background: linear-gradient(160deg, #f5f3ff 0%, #818cf8 100%); }
.exercises-page .student-tools-strip__item--shadowing .student-tools-strip__icon { background: linear-gradient(160deg, #cffafe 0%, #22d3ee 100%); }
.exercises-page .student-tools-strip__item--dialogue .student-tools-strip__icon { background: linear-gradient(160deg, #e0e7ff 0%, #818cf8 100%); }
.exercises-page .student-tools-strip__icon i {
    filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.45));
}
.exercises-page .student-tools-strip__label {
    display: -webkit-box;
    overflow: hidden;
    width: 100%;
    color: #334155;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.18;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.exercises-page .student-tools-strip__sub {
    display: none;
}
.exercises-page .student-tools-strip__state-badge {
    position: absolute;
    top: -8px;
    inset-inline-end: 10px;
    z-index: 1;
    max-width: 64px;
    min-width: 20px;
    margin: 0;
    padding: 3px 6px;
    border: 2px solid #fff;
    border-radius: 99px;
    color: #fff;
    background: #ef4444;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
    font-size: 0.62rem;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 575px) {
    .exercises-page .student-tools-strip {
        margin-bottom: 0.5rem;
    }
    .exercises-page .student-tools-strip__inner {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px 12px;
        align-items: start;
    }
    .exercises-page .student-tools-strip__item {
        flex: none;
        min-height: 0;
        padding: 0;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        justify-content: flex-start;
        gap: 0;
        transform: none;
    }
    .exercises-page .student-tools-strip__item::before {
        display: none;
    }
    .exercises-page .student-tools-strip__item:hover {
        transform: none;
        box-shadow: none;
    }
    .exercises-page .student-tools-strip__icon {
        position: relative;
        width: 56px;
        height: 56px;
        margin-bottom: 6px;
        border-radius: 16px;
        font-size: 1.85rem;
        background: rgba(255, 255, 255, 0.86);
        box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.85);
    }
    .exercises-page .student-tools-strip__item--vocab .student-tools-strip__icon { background: linear-gradient(160deg, #ccfbf1 0%, #2dd4bf 100%); }
    .exercises-page .student-tools-strip__item--einbuergerung .student-tools-strip__icon { background: linear-gradient(160deg, #dbeafe 0%, #60a5fa 100%); }
    .exercises-page .student-tools-strip__item--stats .student-tools-strip__icon { background: linear-gradient(160deg, #ffe4e6 0%, #fb7185 100%); }
    .exercises-page .student-tools-strip__item--radio .student-tools-strip__icon { background: linear-gradient(160deg, #dcfce7 0%, #4ade80 100%); }
    .exercises-page .student-tools-strip__item--tips .student-tools-strip__icon { background: linear-gradient(160deg, #fef3c7 0%, #facc15 100%); }
    .exercises-page .student-tools-strip__item--books .student-tools-strip__icon { background: linear-gradient(160deg, #ede9fe 0%, #a78bfa 100%); }
    .exercises-page .student-tools-strip__item--chat .student-tools-strip__icon,
    .exercises-page .student-tools-strip__item--proofread .student-tools-strip__icon { background: linear-gradient(160deg, #dbeafe 0%, #60a5fa 100%); }
    .exercises-page .student-tools-strip__item--tts .student-tools-strip__icon { background: linear-gradient(160deg, #ffedd5 0%, #fb923c 100%); }
    .exercises-page .student-tools-strip__item--writing .student-tools-strip__icon { background: linear-gradient(160deg, #fee2e2 0%, #ef4444 100%); }
    .exercises-page .student-tools-strip__item--dictation .student-tools-strip__icon { background: linear-gradient(160deg, #f5f3ff 0%, #818cf8 100%); }
    .exercises-page .student-tools-strip__item--shadowing .student-tools-strip__icon { background: linear-gradient(160deg, #cffafe 0%, #22d3ee 100%); }
    .exercises-page .student-tools-strip__item--dialogue .student-tools-strip__icon { background: linear-gradient(160deg, #e0e7ff 0%, #818cf8 100%); }
    .exercises-page .student-tools-strip__icon i {
        filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.45));
    }
    .exercises-page .student-tools-strip__label {
        display: -webkit-box;
        overflow: hidden;
        width: 100%;
        color: #334155;
        font-size: 0.72rem;
        font-weight: 700;
        line-height: 1.16;
        text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }
    .exercises-page .student-tools-strip__sub {
        display: none;
    }
    .exercises-page .student-tools-strip__state-badge {
        position: absolute;
        top: -7px;
        inset-inline-end: 6px;
        z-index: 1;
        max-width: 54px;
        min-width: 18px;
        margin: 0;
        padding: 2px 5px;
        border: 2px solid #fff;
        border-radius: 99px;
        color: #fff;
        background: #ef4444;
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
        font-size: 0.56rem;
        line-height: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
@media (max-width: 360px) {
    .exercises-page .student-tools-strip__inner {
        gap: 15px 9px;
    }
    .exercises-page .student-tools-strip__icon {
        width: 50px;
        height: 50px;
        border-radius: 14px;
        font-size: 1.7rem;
    }
    .exercises-page .student-tools-strip__label {
        font-size: 0.68rem;
    }
}
