/* shared/study-plan — plan butonlari + tam program modali */
.s-plan-request-btn {
    width: 100%;
    margin-top: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(16, 185, 129, 0.35);
    background: linear-gradient(145deg, #059669, #047857);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(4, 120, 87, 0.28);
    transition: transform 0.15s ease;
}
.s-plan-request-btn:hover { transform: translateY(-1px); }
.s-plan-request-btn:disabled {
    opacity: 0.72;
    cursor: wait;
    transform: none;
    pointer-events: none;
}
.s-plan-request-btn.is-sent {
    background: #f1f5f9;
    color: #475569;
    border-color: #e2e8f0;
    box-shadow: none;
    cursor: default;
}
.s-study-plan-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    margin-top: 0.35rem;
}
.s-plan-full-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.55rem 0.85rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(14, 165, 233, 0.35);
    background: linear-gradient(145deg, #0ea5e9, #0284c7);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(2, 132, 199, 0.28);
    transition: transform 0.15s ease;
}
.s-plan-full-btn:hover { transform: translateY(-1px); }
.s-plan-archive-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.55rem 0.85rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(245, 158, 11, 0.4);
    background: linear-gradient(145deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(217, 119, 6, 0.28);
    transition: transform 0.15s ease;
}
.s-plan-archive-btn:hover { transform: translateY(-1px); }

#full-weekly-study-plan-modal {
    position: fixed; inset: 0; z-index: 170;
    background: rgba(2, 6, 23, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex; align-items: center; justify-content: center;
    padding: 1rem;
}
#full-weekly-study-plan-modal.hidden { display: none !important; }
/* Tam Program üstünde açılan veri giriş katmanları */
#book-detail-modal,
#book-picker-modal,
#study-log-modal,
#study-overview-modal {
    z-index: 185 !important;
}
#book-reflection-modal {
    z-index: 186 !important;
}
#full-weekly-study-plan-modal .fwsp-panel {
    width: min(96vw, 72rem);
    max-height: min(92vh, 52rem);
    background: linear-gradient(
        165deg,
        rgba(15, 23, 42, 0.72) 0%,
        rgba(30, 41, 59, 0.65) 50%,
        rgba(15, 23, 42, 0.78) 100%
    );
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 1.35rem;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
    display: flex; flex-direction: column;
    overflow: hidden;
    color: #e2e8f0;
    backdrop-filter: blur(18px) saturate(1.15);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
}
#full-weekly-study-plan-modal .fwsp-head {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
    padding: 1.1rem 1.25rem 0.85rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(15, 23, 42, 0.25);
}
#full-weekly-study-plan-modal .fwsp-head h3 { font-size: 1.05rem; font-weight: 900; color: #f8fafc; margin: 0; }
#full-weekly-study-plan-modal .fwsp-head p { font-size: 0.72rem; color: #94a3b8; margin: 0.35rem 0 0; line-height: 1.4; }
#full-weekly-study-plan-modal .fwsp-close {
    width: 2.25rem; height: 2.25rem; border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(15, 23, 42, 0.45);
    color: #cbd5e1; cursor: pointer;
}
#full-weekly-study-plan-modal .fwsp-body {
    flex: 1; min-height: 0; overflow: auto;
    padding: 1rem 1.15rem 1.25rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
    gap: 0.85rem;
    background: rgba(2, 6, 23, 0.12);
}
#full-weekly-study-plan-modal .fwsp-day {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 1rem;
    padding: 0.85rem;
    display: flex; flex-direction: column; gap: 0.55rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
#full-weekly-study-plan-modal .fwsp-day-title {
    font-size: 0.78rem; font-weight: 900; color: #5eead4;
    display: flex; justify-content: space-between; gap: 0.5rem; align-items: baseline;
}
#full-weekly-study-plan-modal .fwsp-day-title span { color: #94a3b8; font-weight: 700; font-size: 0.65rem; }
#full-weekly-study-plan-modal button.fwsp-sess {
    border-radius: 0.7rem;
    padding: 0.55rem 0.65rem;
    background: rgba(15, 23, 42, 0.42) !important;
    border: 1px solid rgba(148, 163, 184, 0.14) !important;
    border-left: 3px solid #64748b !important;
    width: 100%;
    text-align: left;
    cursor: pointer;
    color: #e2e8f0 !important;
    -webkit-text-fill-color: currentColor;
    transition: background 0.15s, transform 0.12s, border-color 0.15s, box-shadow 0.15s;
}
#full-weekly-study-plan-modal button.fwsp-sess:hover {
    background: rgba(30, 41, 59, 0.58) !important;
    transform: translateY(-1px);
}
#full-weekly-study-plan-modal .fwsp-sess.is-reading { border-left-color: #818cf8 !important; }
#full-weekly-study-plan-modal .fwsp-sess.is-review { border-left-color: #a78bfa !important; }
#full-weekly-study-plan-modal .fwsp-sess.is-practice { border-left-color: #38bdf8 !important; }
#full-weekly-study-plan-modal .fwsp-sess.is-done {
    opacity: 1;
    background: rgba(6, 78, 59, 0.38) !important;
    border-color: rgba(74, 222, 128, 0.35) !important;
    box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.12);
}
#full-weekly-study-plan-modal .fwsp-sess.is-done .fwsp-topic,
#full-weekly-study-plan-modal .fwsp-sess.is-done .fwsp-subj,
#full-weekly-study-plan-modal .fwsp-sess.is-done .fwsp-type,
#full-weekly-study-plan-modal .fwsp-sess.is-done .fwsp-type-text {
    text-decoration: none;
    color: #ecfdf5 !important;
    -webkit-text-fill-color: currentColor;
}
#full-weekly-study-plan-modal .fwsp-type-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
}
#full-weekly-study-plan-modal .fwsp-type {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #cbd5e1 !important;
}
#full-weekly-study-plan-modal .fwsp-type-text { line-height: 1.2; }
#full-weekly-study-plan-modal .fwsp-done-check {
    flex-shrink: 0;
    color: #4ade80;
    font-size: 0.9rem;
    filter: drop-shadow(0 0 8px rgba(74, 222, 128, 0.45));
}
#full-weekly-study-plan-modal .fwsp-subj {
    font-size: 0.72rem; font-weight: 800; color: #f8fafc !important; margin-top: 0.2rem;
}
#full-weekly-study-plan-modal .fwsp-topic {
    font-size: 0.7rem; color: #cbd5e1 !important; line-height: 1.35; margin-top: 0.12rem;
}
#full-weekly-study-plan-modal .fwsp-progress {
    font-size: 0.68rem;
    color: #7dd3fc !important;
    margin-top: 0.2rem;
    font-weight: 600;
    line-height: 1.3;
}
#full-weekly-study-plan-modal .fwsp-sess.is-done .fwsp-progress { color: #86efac !important; }
#full-weekly-study-plan-modal .ss-type-icon,
#full-weekly-study-plan-modal .fwsp-type .ss-type-icon {
    flex-shrink: 0;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 0.38rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
}
#full-weekly-study-plan-modal .ss-type-icon.is-reading,
#full-weekly-study-plan-modal .fwsp-type .ss-type-icon.is-reading { background: rgba(129, 140, 248, 0.22); color: #a5b4fc; }
#full-weekly-study-plan-modal .ss-type-icon.is-review,
#full-weekly-study-plan-modal .fwsp-type .ss-type-icon.is-review { background: rgba(167, 139, 250, 0.22); color: #c4b5fd; }
#full-weekly-study-plan-modal .ss-type-icon.is-practice,
#full-weekly-study-plan-modal .fwsp-type .ss-type-icon.is-practice { background: rgba(56, 189, 248, 0.22); color: #7dd3fc; }
#full-weekly-study-plan-modal .fwsp-empty {
    grid-column: 1 / -1; text-align: center; color: #94a3b8; font-size: 0.85rem; padding: 2rem;
}

/* Plan sekmesi oturum kartları — simge renkleri */
.ss-type-icon {
    flex-shrink: 0;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 0.38rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
}
.ss-type-icon.is-reading { background: rgba(129, 140, 248, 0.22); color: #a5b4fc; }
.ss-type-icon.is-review { background: rgba(167, 139, 250, 0.22); color: #c4b5fd; }
.ss-type-icon.is-practice { background: rgba(56, 189, 248, 0.22); color: #7dd3fc; }

/* —— Kompakt öğrenci modalları (kenarlardan arka plan görünsün) —— */
#study-log-modal,
#routine-tasks-modal {
    padding: 1.75rem 1.35rem !important;
    background: rgba(28, 25, 23, 0.38) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

#study-log-modal > .study-log-panel.study-log-sheet.is-light {
    width: min(94vw, 30rem);
    max-height: min(88vh, 40rem);
    margin: 0 auto;
    padding: 0.85rem 1rem 1rem;
    gap: 0.55rem;
    border-radius: 1.35rem;
    background:
        radial-gradient(120% 80% at 0% 0%, rgba(251, 191, 36, 0.14), transparent 55%),
        radial-gradient(100% 70% at 100% 0%, rgba(45, 212, 191, 0.12), transparent 50%),
        linear-gradient(165deg, #fffefb 0%, #faf6f0 48%, #f5f0e8 100%);
    border: 1px solid rgba(214, 211, 209, 0.95);
    box-shadow: 0 22px 60px rgba(28, 25, 23, 0.22);
    color: #1c1917;
}

#routine-tasks-modal > .study-compact-panel {
    width: min(86vw, 15.75rem);
    max-height: 72vh;
    margin: 0 auto;
    padding: 0.55rem 0.65rem 0.7rem;
    gap: 0.45rem;
    border-radius: 1.15rem;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
}

#study-log-modal .study-log-exit,
#routine-tasks-modal .study-log-exit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    width: 100%;
    min-height: 2.15rem;
    margin: 0 0 0.2rem;
    padding: 0.4rem 0.55rem;
    border-radius: 0.75rem;
    border: 1px solid #e7e5e4;
    background: #fff;
    color: #44403c;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    flex-shrink: 0;
}

#study-log-modal .study-log-exit:hover,
#routine-tasks-modal .study-log-exit:hover {
    background: #fafaf9;
    color: #1c1917;
    border-color: #d6d3d1;
}

#study-log-modal .study-log-title {
    font-size: 1.05rem;
    font-weight: 850;
    color: #1c1917;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

#study-log-modal .study-log-title-icon {
    color: #0d9488;
    margin-right: 0.25rem;
}

#routine-tasks-modal .study-log-title {
    font-size: 0.7rem;
    font-weight: 800;
    color: #f1f5f9;
    margin: 0;
    line-height: 1.3;
}

#study-log-modal .study-log-hint {
    font-size: 0.78rem;
    line-height: 1.45;
    color: #78716c;
    margin: 0;
}

#routine-tasks-modal .study-log-hint {
    font-size: 0.6rem;
    line-height: 1.45;
    color: #94a3b8;
    margin: 0;
}

#study-log-modal .study-grade-hint {
    color: #0f766e;
    font-size: 0.7rem;
}

#study-log-modal .study-log-panel label {
    margin-bottom: 0.28rem !important;
    font-weight: 750;
    font-size: 0.78rem !important;
    color: #44403c;
}

#study-log-modal .study-log-panel select,
#study-log-modal .study-log-panel input[type="text"],
#study-log-modal .study-log-panel input[type="number"],
#study-log-modal #study-topic-picker-btn {
    padding: 0.55rem 0.7rem !important;
    border-radius: 0.8rem !important;
    background: #fff !important;
    color: #1c1917 !important;
    border: 1px solid #d6d3d1 !important;
    font-size: 0.88rem !important;
    min-height: 2.45rem;
}

#study-log-modal #study-topic-picker-btn:focus,
#study-log-modal .study-log-panel input:focus {
    border-color: #14b8a6 !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

#study-log-modal .study-picker-chevron {
    color: #a8a29e;
}

#study-log-modal .study-log-panel .space-y-3,
#study-log-modal .study-log-form {
    gap: 0.65rem;
}

#study-log-modal .study-toggle-btn {
    padding: 0.45rem 0.3rem !important;
    border-radius: 0.65rem !important;
    font-weight: 750 !important;
    font-size: 0.78rem !important;
    background: #fff;
    color: #57534e;
    border-color: #d6d3d1;
}

#study-log-modal .study-toggle-btn.is-on {
    background: #ccfbf1;
    color: #0f766e;
    border-color: #14b8a6;
}

#study-log-modal .study-submit-btn,
#study-log-modal #study-submit-btn {
    padding: 0.7rem 0.85rem !important;
    font-size: 0.9rem !important;
    border-radius: 0.85rem !important;
    font-weight: 800 !important;
    background: #0d9488;
    color: #fff;
    border: 0;
    box-shadow: 0 8px 22px rgba(13, 148, 136, 0.28);
}

#study-log-modal .study-submit-btn:hover,
#study-log-modal #study-submit-btn:hover {
    background: #0f766e;
}

#study-log-modal .study-log-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Sütlaç şeridi + öneri kartı */
#study-log-modal .study-sutlac-strip {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.7rem 0.75rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.16), rgba(255, 255, 255, 0.85));
    border: 1px solid rgba(251, 191, 36, 0.35);
}

#study-log-modal .study-sutlac-avatar {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    object-fit: cover;
    flex-shrink: 0;
    background: #fff7ed;
    border: 1.5px solid rgba(251, 191, 36, 0.45);
}

#study-log-modal .study-sutlac-copy {
    min-width: 0;
    flex: 1;
}

#study-log-modal .study-sutlac-badge {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #b45309;
    margin-bottom: 0.2rem;
}

#study-log-modal .study-sutlac-line {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.4;
    color: #44403c;
    font-weight: 650;
}

#study-log-modal .study-suggest-card {
    border-radius: 1rem;
    border: 1px solid #e7e5e4;
    background: rgba(255, 255, 255, 0.88);
    padding: 0.75rem 0.8rem;
}

#study-log-modal .study-suggest-card.is-empty .study-suggest-filled {
    display: none !important;
}

#study-log-modal .study-suggest-card:not(.is-empty) .study-suggest-empty {
    display: none !important;
}

#study-log-modal .study-suggest-empty {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #78716c;
    font-size: 0.78rem;
    line-height: 1.4;
}

#study-log-modal .study-suggest-empty i {
    color: #f59e0b;
    margin-top: 0.12rem;
}

#study-log-modal .study-suggest-empty p {
    margin: 0;
}

#study-log-modal .study-suggest-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

#study-log-modal .study-suggest-kicker {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #0f766e;
}

#study-log-modal .study-suggest-meta {
    font-size: 0.65rem;
    color: #a8a29e;
    font-weight: 650;
}

#study-log-modal .study-suggest-topic {
    margin: 0 0 0.45rem;
    font-size: 0.92rem;
    font-weight: 800;
    color: #1c1917;
    line-height: 1.35;
}

#study-log-modal .study-suggest-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.45rem;
}

#study-log-modal .study-suggest-stats span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: #f0fdfa;
    color: #0f766e;
    font-size: 0.72rem;
    font-weight: 750;
}

#study-log-modal .study-suggest-tips {
    margin: 0 0 0.65rem;
    padding-left: 1.05rem;
    color: #57534e;
    font-size: 0.74rem;
    line-height: 1.4;
}

#study-log-modal .study-suggest-tips li {
    margin-bottom: 0.15rem;
}

#study-log-modal .study-suggest-apply {
    width: 100%;
    min-height: 2.35rem;
    border-radius: 0.75rem;
    border: 1.5px solid #14b8a6;
    background: #f0fdfa;
    color: #0f766e;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

#study-log-modal .study-suggest-apply:hover {
    background: #0d9488;
    color: #fff;
}

#study-log-modal .study-question-details {
    background: #fff;
    border: 1px solid #e7e5e4;
}

#study-log-modal .study-label-ok { color: #059669; }
#study-log-modal .study-label-bad { color: #e11d48; }

#study-log-modal .study-missed-photo-block {
    border-top: 1px solid #e7e5e4;
    padding-top: 0.55rem;
}

#study-log-modal .study-missed-photo-hint {
    font-size: 0.68rem;
    color: #78716c;
    margin: 0;
}

#study-log-modal .study-missed-photo-drop {
    border: 2px dashed rgba(99, 102, 241, 0.35);
    background: rgba(99, 102, 241, 0.06);
    color: #4338ca;
}

#study-log-modal .study-missed-photo-drop:hover {
    border-color: rgba(99, 102, 241, 0.6);
}

@media (max-width: 767px) {
    #study-log-modal {
        align-items: flex-end !important;
        padding:
            calc(2.5rem + env(safe-area-inset-top, 0px))
            0.45rem
            calc(0.35rem + env(safe-area-inset-bottom, 0px))
            !important;
    }
    #study-log-modal > .study-log-panel.study-log-sheet.is-light {
        width: 100%;
        max-width: 100%;
        max-height: min(92dvh, 44rem);
        border-radius: 1.25rem 1.25rem 0 0;
        padding: 0.85rem 0.95rem calc(0.95rem + env(safe-area-inset-bottom, 0px));
    }
}

#routine-tasks-modal .s-daily-tasks-grid {
    gap: 0.35rem !important;
}

.s-daily-task-tile {
    padding: 0.3rem 0.2rem !important;
    border-radius: 0.7rem !important;
    gap: 0.12rem !important;
    border-width: 1px !important;
}

.s-daily-task-tile .s-daily-task-emoji {
    font-size: 0.85rem;
    line-height: 1;
}

.s-daily-task-tile .s-daily-task-label {
    font-size: 0.55rem;
    font-weight: 700;
    line-height: 1.15;
}

.s-daily-task-tile .s-daily-task-gp {
    font-size: 0.5rem;
    font-weight: 800;
}

/* Özel konu seçici — native select tam ekran açmasın */
#study-topic-picker-modal {
    padding: 1.75rem 1.35rem !important;
    background: rgba(2, 6, 23, 0.52) !important;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

#study-topic-picker-modal > .study-topic-picker-panel {
    width: min(86vw, 16rem);
    max-height: 58vh;
    padding: 0.55rem 0.65rem 0.65rem;
    border-radius: 1.15rem;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
}

.study-topic-picker-btn-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1c1917;
}

#study-topic-picker-btn:not(:focus) .study-topic-picker-btn-label:empty::before,
#study-topic-picker-label.is-placeholder {
    color: #a8a29e;
}

.study-topic-picker-list {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-right: 0.15rem;
}

.study-topic-picker-item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.42rem 0.45rem;
    border-radius: 0.55rem;
    border: 1px solid rgba(51, 65, 85, 0.65);
    background: rgba(15, 23, 42, 0.55);
    color: #e2e8f0;
    cursor: pointer;
    transition: background 0.12s, border-color 0.12s;
}

.study-topic-picker-item:hover,
.study-topic-picker-item.is-selected {
    background: rgba(20, 184, 166, 0.12);
    border-color: rgba(45, 212, 191, 0.35);
}

.study-topic-picker-item strong {
    display: block;
    font-size: 0.625rem;
    font-weight: 800;
    line-height: 1.25;
    color: #f1f5f9;
}

.study-topic-picker-item span {
    display: block;
    margin-top: 0.12rem;
    font-size: 0.55rem;
    line-height: 1.3;
    color: #94a3b8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.study-topic-picker-item.is-custom strong {
    color: #a5b4fc;
}

.study-mode-picker {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    margin: 0.1rem 0 0.25rem;
}

.study-mode-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-height: 3.15rem;
    padding: 0.55rem 0.25rem;
    border-radius: 0.85rem;
    border: 1.5px solid #d6d3d1;
    background: #fff;
    color: #57534e;
    font-size: 0.72rem;
    font-weight: 800;
    transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
    cursor: pointer;
}

.study-mode-btn i { font-size: 0.95rem; }

.study-mode-btn.is-active {
    border-color: #14b8a6;
    background: #ccfbf1;
    color: #0f766e;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.18);
}

.study-mode-btn[data-mode="supplement"].is-active {
    border-color: #a78bfa;
    background: #f5f3ff;
    color: #6d28d9;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.16);
}

.study-mode-btn[data-mode="practice"].is-active {
    border-color: #f59e0b;
    background: #fffbeb;
    color: #b45309;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.16);
}

.study-subject-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
}

.study-subject-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.18rem;
    min-height: 3.15rem;
    padding: 0.45rem 0.25rem;
    border-radius: 0.85rem;
    border: 1.5px solid color-mix(in srgb, var(--subj-color) 42%, #d6d3d1);
    background: color-mix(in srgb, var(--subj-color) 10%, #fff);
    color: #1c1917;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    transition: transform 0.12s, box-shadow 0.12s, border-color 0.12s;
    cursor: pointer;
}

.study-subject-chip i {
    font-size: 0.95rem;
    color: var(--subj-color);
}

.study-subject-chip.is-selected {
    border-color: var(--subj-color);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--subj-color) 28%, transparent);
    transform: translateY(-1px);
    background: color-mix(in srgb, var(--subj-color) 16%, #fff);
}

/* teacher.announcements → announcements.css | teacher.polls → polls.css */

.mp-mentor-request-wait {
    position: fixed;
    inset: 0;
    z-index: 12050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(15, 23, 42, 0.38);
    backdrop-filter: blur(8px);
}
.mp-mentor-request-wait.hidden { display: none !important; }
.mp-mentor-request-card {
    width: min(20.5rem, 100%);
    padding: 1.15rem 1.25rem 1.2rem;
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.22);
    text-align: center;
}
.mp-mentor-request-card p {
    margin: 0.7rem 0 0;
    font-size: 0.88rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}
.mp-mentor-request-spin {
    display: inline-block;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 999px;
    border: 2.5px solid #d1fae5;
    border-top-color: #059669;
    animation: mp-mentor-spin 0.7s linear infinite;
}
@keyframes mp-mentor-spin {
    to { transform: rotate(360deg); }
}

        /* shared.settings → src/shared/settings/settings.css */
