/* rehberlik/ogm — OGM dizin, profil, komuta merkezi */
.rh-home-shell {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    gap: 0.75rem;
}
.rh-home-shell.hidden { display: none !important; }
.rh-home-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 0.15rem;
}
.rh-tab-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    width: 100%;
}
.rh-section-title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: 0.01em;
    margin-bottom: 0.65rem;
}
.rh-section-sub {
    font-size: 0.68rem;
    color: #94a3b8;
    margin: -0.35rem 0 0.85rem;
    line-height: 1.4;
}
.rh-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 1.15rem 1.25rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.rh-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}
@media (min-width: 640px) {
    .rh-summary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
    .rh-summary-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.rh-summary-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.1rem;
    padding: 0.95rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-height: 5.5rem;
    transition: border-color 0.15s ease, transform 0.15s ease;
    cursor: pointer;
    text-align: left;
    width: 100%;
    font: inherit;
    appearance: none;
    -webkit-appearance: none;
}
.rh-summary-card:hover {
    border-color: #c4b5fd;
    transform: translateY(-1px);
}
.rh-summary-card .rh-sum-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.3;
}
.rh-summary-card .rh-sum-value {
    font-size: 1.55rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
}
.rh-summary-card .rh-sum-hint {
    font-size: 0.62rem;
    color: #94a3b8;
}
.rh-summary-card.is-rose .rh-sum-value { color: #be123c; }
.rh-summary-card.is-amber .rh-sum-value { color: #b45309; }
.rh-summary-card.is-violet .rh-sum-value { color: #6d28d9; }
.rh-summary-card.is-sky .rh-sum-value { color: #0369a1; }
.rh-summary-card.is-emerald .rh-sum-value { color: #047857; }

.rh-mid-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.15rem;
}
@media (min-width: 1024px) {
    .rh-mid-grid { grid-template-columns: 1.35fr 1fr; align-items: start; }
}

.rh-priority-card {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}
.rh-priority-card.is-kritik { background: #fff1f2; border-color: #fecdd3; }
.rh-priority-card.is-riskli { background: #fff7ed; border-color: #fed7aa; }
.rh-priority-card.is-izlenmeli { background: #fffbeb; border-color: #fde68a; }
.rh-priority-card.is-guvenli { background: #ecfdf5; border-color: #a7f3d0; }
.rh-priority-icon {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #fff;
    color: #6d28d9;
    border: 1px solid #e2e8f0;
    font-size: 0.85rem;
}
.rh-priority-card.is-kritik .rh-priority-icon { color: #be123c; border-color: #fecdd3; }
.rh-priority-card.is-riskli .rh-priority-icon { color: #c2410c; border-color: #fed7aa; }
.rh-priority-card.is-izlenmeli .rh-priority-icon { color: #b45309; border-color: #fde68a; }
.rh-priority-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.55rem;
}
.rh-prio-btn {
    font-size: 0.62rem;
    font-weight: 800;
    padding: 0.4rem 0.65rem;
    border-radius: 0.55rem;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease;
}
.rh-prio-btn.is-primary { background: #7c3aed; color: #fff; }
.rh-prio-btn.is-primary:hover { background: #6d28d9; }
.rh-prio-btn.is-ghost { background: #fff; color: #475569; border: 1px solid #e2e8f0; }
.rh-prio-btn.is-ghost:hover { background: #f8fafc; }

.rh-risk-boxes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 0.75rem 0 0.65rem;
}
.rh-risk-box {
    border-radius: 0.85rem;
    padding: 0.7rem 0.75rem;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: left;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.rh-risk-box:hover { transform: translateY(-1px); }
.rh-risk-box.is-active { box-shadow: 0 0 0 2px rgba(109, 40, 217, 0.35); }
.rh-risk-box .rh-rb-count { display: block; font-size: 1.25rem; font-weight: 900; line-height: 1; }
.rh-risk-box .rh-rb-label { display: block; font-size: 0.62rem; font-weight: 700; margin-top: 0.2rem; text-transform: uppercase; letter-spacing: 0.03em; }
.rh-risk-box.is-guvenli { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.rh-risk-box.is-izlenmeli { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.rh-risk-box.is-riskli { background: #fff7ed; color: #c2410c; border-color: #fdba74; }
.rh-risk-box.is-kritik { background: #fff1f2; color: #be123c; border-color: #fecdd3; }
.rh-risk-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.65rem;
}
.rh-risk-chip {
    font-size: 0.62rem;
    font-weight: 800;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    cursor: pointer;
}
.rh-risk-chip.is-on { background: #ede9fe; border-color: #c4b5fd; color: #5b21b6; }
.rh-risk-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.85rem;
    border: 1px solid #e2e8f0;
    background: #fafafa;
    cursor: pointer;
    text-align: left;
    width: 100%;
}
.rh-risk-row:hover { background: #f1f5f9; }
.rh-risk-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    flex-shrink: 0;
}
.rh-risk-dot.is-guvenli { background: #10b981; }
.rh-risk-dot.is-izlenmeli { background: #f59e0b; }
.rh-risk-dot.is-riskli { background: #f97316; }
.rh-risk-dot.is-kritik { background: #f43f5e; }

.rh-cal-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    border-radius: 0.9rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}
.rh-cal-time {
    font-size: 0.72rem;
    font-weight: 900;
    color: #6d28d9;
    background: #ede9fe;
    border-radius: 0.55rem;
    padding: 0.35rem 0.5rem;
    min-width: 3.25rem;
    text-align: center;
    flex-shrink: 0;
}
.rh-cal-tag {
    font-size: 0.58rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    background: #e2e8f0;
    color: #475569;
}
.rh-cal-tag.is-meet { background: #ede9fe; color: #6d28d9; }
.rh-cal-tag.is-follow { background: #ffedd5; color: #c2410c; }
.rh-cal-tag.is-scan { background: #e0f2fe; color: #0369a1; }

.rh-activity-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.65rem 0;
    border-bottom: 1px solid #f1f5f9;
}
.rh-activity-item:last-child { border-bottom: none; }
.rh-activity-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    margin-top: 0.35rem;
    background: #a78bfa;
    flex-shrink: 0;
}

.rh-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}
@media (min-width: 768px) {
    .rh-quick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.rh-quick-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 5.5rem;
    border-radius: 1.15rem;
    border: 1px solid transparent;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    color: #fff;
}
.rh-quick-btn i { font-size: 1.25rem; }
.rh-quick-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12); }
.rh-quick-btn.is-violet { background: linear-gradient(145deg, #7c3aed, #6d28d9); }
.rh-quick-btn.is-sky { background: linear-gradient(145deg, #0ea5e9, #0284c7); }
.rh-quick-btn.is-slate { background: linear-gradient(145deg, #475569, #334155); }
.rh-quick-btn.is-emerald { background: linear-gradient(145deg, #10b981, #059669); }

.rh-ai-insight {
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    z-index: 12;
}
.rh-ai-insight-inner {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 55%, #4c1d95 100%);
    color: #e0e7ff;
    border-radius: 1.1rem;
    padding: 0.95rem 1.15rem;
    border: 1px solid rgba(199, 210, 254, 0.22);
    box-shadow: 0 -6px 24px rgba(49, 46, 129, 0.25);
}
.rh-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #c4b5fd;
    margin-bottom: 0.35rem;
}
.rh-ai-insight-text {
    font-size: 0.78rem;
    line-height: 1.45;
    font-weight: 600;
    color: #eef2ff;
    margin: 0;
}
.ogm-home-priority-scroll {
    max-height: 28rem;
    overflow-y: auto;
    padding-right: 0.2rem;
}
.ogm-home-cal-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}
.ogm-home-cal-tabs button {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    cursor: pointer;
}
.ogm-home-cal-tabs button.is-on {
    background: #6d28d9;
    border-color: #6d28d9;
    color: #fff;
}
.rh-priority-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 0.75rem;
    margin-top: 0.55rem;
    font-size: 0.62rem;
    color: #64748b;
}
.rh-priority-meta strong { color: #334155; font-weight: 800; }
.rh-domain-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.35rem;
}
.rh-domain-dot {
    font-size: 0.55rem;
    font-weight: 800;
    padding: 0.15rem 0.4rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
}
.rh-domain-dot.is-yetersiz { background: #f1f5f9; color: #64748b; }
.rh-domain-dot.is-normal { background: #d1fae5; color: #047857; }
.rh-domain-dot.is-izlenmeli { background: #fef3c7; color: #b45309; }
.rh-domain-dot.is-dikkat { background: #ffedd5; color: #c2410c; }
.rh-domain-dot.is-yuksek { background: #ffe4e6; color: #be123c; }
.rh-risk-box.is-yetersiz { background: #f8fafc; color: #64748b; border-color: #e2e8f0; }
.rh-risk-box.is-normal { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.rh-risk-box.is-dikkat { background: #fff7ed; color: #c2410c; border-color: #fdba74; }
.rh-risk-box.is-yuksek { background: #fff1f2; color: #be123c; border-color: #fecdd3; }
.rh-risk-dot.is-yetersiz { background: #94a3b8; }
.rh-risk-dot.is-normal { background: #10b981; }
.rh-risk-dot.is-dikkat { background: #f97316; }
.rh-risk-dot.is-yuksek { background: #f43f5e; }
.ogm-student-card.is-normal::before { background: #10b981; }
.ogm-student-card.is-dikkat::before { background: #f97316; }
.ogm-student-card.is-yuksek::before { background: #f43f5e; }
.ogm-card-badge.is-normal { background: #d1fae5; color: #047857; }
.ogm-card-badge.is-dikkat { background: #ffedd5; color: #c2410c; }
.ogm-card-badge.is-yuksek { background: #ffe4e6; color: #be123c; }
.rh-priority-card.is-dikkat { background: #fff7ed; border-color: #fed7aa; }
.rh-priority-card.is-yuksek { background: #fff1f2; border-color: #fecdd3; }
.rh-priority-card.is-normal { background: #ecfdf5; border-color: #a7f3d0; }
.rh-priority-card.is-yetersiz { background: #f8fafc; border-color: #e2e8f0; }

/* —— Öğrenci Gelişim Merkezi: öğrenci kartları & profil —— */
.ogm-filters .ogm-filter-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
}
.ogm-filters .ogm-filter-field > span {
    font-size: 0.62rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.ogm-input {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.55rem 0.75rem;
    font-size: 0.78rem;
    color: #0f172a;
    outline: none;
}
.ogm-input:focus { border-color: #8b5cf6; background: #fff; }
.ogm-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 768px) {
    .ogm-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
}
@media (min-width: 1200px) {
    .ogm-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
}
.ogm-student-card {
    position: relative;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.35rem;
    padding: 1.1rem 1.15rem 1.15rem;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
    cursor: pointer;
    text-align: left;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    overflow: hidden;
    min-height: 15.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.ogm-student-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
    border-color: #c4b5fd;
}
.ogm-student-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 0.35rem;
    background: #94a3b8;
}
.ogm-student-card.is-yetersiz::before { background: #94a3b8; }
.ogm-student-card.is-guvenli::before { background: #10b981; }
.ogm-student-card.is-izlenmeli::before { background: #f59e0b; }
.ogm-student-card.is-riskli::before { background: #f97316; }
.ogm-student-card.is-kritik::before { background: #f43f5e; }
.ogm-card-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.ogm-card-photo {
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 1rem;
    object-fit: cover;
    background: linear-gradient(145deg, #ede9fe, #e0e7ff);
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #6d28d9;
    font-size: 0.85rem;
    overflow: hidden;
}
.ogm-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.ogm-card-name { font-size: 0.9rem; font-weight: 900; color: #0f172a; line-height: 1.25; }
.ogm-card-meta { font-size: 0.68rem; color: #64748b; margin-top: 0.15rem; }
.ogm-card-badge {
    margin-left: auto;
    font-size: 0.58rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.28rem 0.5rem;
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
}
.ogm-card-badge.is-yetersiz { background: #f1f5f9; color: #64748b; }
.ogm-card-badge.is-guvenli { background: #d1fae5; color: #047857; }
.ogm-card-badge.is-izlenmeli { background: #fef3c7; color: #b45309; }
.ogm-card-badge.is-riskli { background: #ffedd5; color: #c2410c; }
.ogm-card-badge.is-kritik { background: #ffe4e6; color: #be123c; }
.ogm-card-rows { display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.ogm-card-row {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.68rem;
    color: #475569;
}
.ogm-card-row strong { color: #0f172a; font-weight: 800; text-align: right; }
.ogm-card-indicators {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
}
.ogm-ind {
    background: #f8fafc;
    border-radius: 0.65rem;
    padding: 0.4rem 0.35rem;
    text-align: center;
}
.ogm-ind span { display: block; font-size: 0.55rem; font-weight: 800; color: #94a3b8; text-transform: uppercase; }
.ogm-ind strong { display: block; font-size: 0.72rem; font-weight: 900; color: #334155; margin-top: 0.15rem; }

.ogm-profile-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}
.ogm-profile-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    position: sticky;
    top: 0;
    z-index: 5;
    background: rgba(248, 247, 255, 0.92);
    backdrop-filter: blur(8px);
    padding: 0.35rem 0;
}
.ogm-profile-tabs button {
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    cursor: pointer;
}
.ogm-profile-tabs button.is-on {
    background: #6d28d9;
    border-color: #6d28d9;
    color: #fff;
}
.ogm-block-title {
    font-size: 0.75rem;
    font-weight: 900;
    color: #1e293b;
    margin: 0 0 0.75rem;
}
.ogm-mini-list { display: flex; flex-direction: column; gap: 0.55rem; max-height: 18rem; overflow-y: auto; }
.ogm-mini-item {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0.65rem;
    border-radius: 0.75rem;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    font-size: 0.72rem;
    color: #334155;
}
.ogm-ai-item {
    background: #fff;
    border: 1px solid #ede9fe;
    border-radius: 0.9rem;
    padding: 0.75rem 0.9rem;
    font-size: 0.8rem;
    color: #334155;
    line-height: 1.45;
    font-weight: 600;
}
.ogm-ai-item i { color: #7c3aed; margin-right: 0.35rem; }
.ogm-page-btn {
    min-width: 2rem;
    height: 2rem;
    border-radius: 0.6rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    color: #475569;
    cursor: pointer;
}
.ogm-page-btn.is-on { background: #6d28d9; border-color: #6d28d9; color: #fff; }
