/* 1e1 Ders — ortak konum ve geri bildirim davranışları. */
.e1e1-feedback-stack{
    position:fixed;top:calc(var(--e1e1-live-header-height,48px) + 18px);left:20px;z-index:10050;
    display:grid;gap:10px;width:min(390px,calc(100vw - 32px));pointer-events:none;
}
.e1e1-feedback-stack .e1e1-notice,
.e1e1-feedback-stack .e1e1-parent-notice{
    position:relative;margin:0;padding:15px 48px 15px 17px;border:1px solid transparent;border-left-width:5px;
    border-radius:15px;background:#fff;color:#17324a;box-shadow:0 18px 46px rgba(16,47,83,.18);
    line-height:1.5;pointer-events:auto;animation:e1e1-notice-enter .22s ease-out both;
}
.e1e1-feedback-stack [data-e1e1-severity="success"]{border-color:#bde5d8;border-left-color:#2e9b75;background:#f2fbf7}
.e1e1-feedback-stack [data-e1e1-severity="light"]{border-color:#f0dc8b;border-left-color:#d3a91d;background:#fffaf0}
.e1e1-feedback-stack [data-e1e1-severity="medium"]{border-color:#efc18d;border-left-color:#d87920;background:#fff7ed}
.e1e1-feedback-stack [data-e1e1-severity="high"]{border-color:#e8aaa4;border-left-color:#c7483d;background:#fff4f2}
.e1e1-feedback-stack [data-e1e1-severity="critical"]{border-color:#c99aa5;border-left-color:#7d243c;background:#fff2f5}
.e1e1-notice-close{
    position:absolute;top:8px;right:9px;display:grid;width:30px;height:30px;padding:0;place-items:center;
    border:0;border-radius:9px;background:transparent;color:inherit;font:700 22px/1 sans-serif;cursor:pointer;opacity:.65;
}
.e1e1-notice-close:hover,.e1e1-notice-close:focus-visible{background:rgba(16,47,83,.08);opacity:1}
.e1e1-feedback-stack .is-leaving{animation:e1e1-notice-leave .22s ease-in both}
.e1e1-return-highlight{animation:e1e1-return-highlight 1.35s ease-out}
@keyframes e1e1-notice-enter{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:none}}
@keyframes e1e1-notice-leave{to{opacity:0;transform:translateY(-8px)}}
@keyframes e1e1-return-highlight{0%,35%{outline:3px solid rgba(43,183,179,.34);outline-offset:6px}100%{outline-color:transparent;outline-offset:12px}}
@media(max-width:600px){.e1e1-feedback-stack{top:calc(var(--e1e1-live-header-height,44px) + 10px);right:16px;left:16px;width:auto}}
@media(prefers-reduced-motion:reduce){.e1e1-feedback-stack .e1e1-notice,.e1e1-feedback-stack .is-leaving,.e1e1-return-highlight{animation:none}}

/* Pilot öncesi ortak görsel toparlama — güvenli, bileşen dışına taşmayan katman. */
:root{
    scroll-padding-top:calc(var(--e1e1-live-header-height,48px) + 22px);
}
[data-e1e1-return-target],
[data-e1e1-return-key],
[id^="e1e1-homework-"],
[id^="e1e1-weekly-route-"],
[id^="e1e1-teacher-weekly-route-"],
[id^="e1e1-message-"],
[id^="e1e1-announcement-"]{
    scroll-margin-top:calc(var(--e1e1-live-header-height,48px) + 22px);
}
.e1e1-feedback-stack .e1e1-notice > :first-child,
.e1e1-feedback-stack .e1e1-parent-notice > :first-child{margin-top:0}
.e1e1-feedback-stack .e1e1-notice > :last-child,
.e1e1-feedback-stack .e1e1-parent-notice > :last-child{margin-bottom:0}
.e1e1-feedback-stack .e1e1-notice ul,
.e1e1-feedback-stack .e1e1-parent-notice ul{margin:8px 0 0;padding-left:18px}
.e1e1-feedback-stack .e1e1-notice strong,
.e1e1-feedback-stack .e1e1-parent-notice strong{color:inherit}
@media(max-width:600px){
    .e1e1-feedback-stack .e1e1-notice,
    .e1e1-feedback-stack .e1e1-parent-notice{padding:13px 44px 13px 15px;border-radius:13px;font-size:14px}
}

/* Platform yüzeylerinde ortak responsive güvenlik ağı. */
body.e1e1-shell-mode-platform .e1e1-platform-center,
body.e1e1-shell-mode-platform .e1e1-teacher-panel,
body.e1e1-shell-mode-platform .e1e1-student-dashboard,
body.e1e1-shell-mode-platform .e1e1-guide-workbench,
body.e1e1-shell-mode-platform .e1e1-parent-dashboard,
body.e1e1-shell-mode-platform .e1e1-student-page-surface{
    box-sizing:border-box;
    max-width:100%;
}
body.e1e1-shell-mode-platform img,
body.e1e1-shell-mode-platform video,
body.e1e1-shell-mode-platform svg{max-width:100%}
body.e1e1-shell-mode-platform input,
body.e1e1-shell-mode-platform select,
body.e1e1-shell-mode-platform textarea{max-width:100%;box-sizing:border-box}
body.e1e1-shell-mode-platform .e1e1-platform-center :where(h1,h2,h3,p,li,strong,small),
body.e1e1-shell-mode-platform .e1e1-teacher-panel :where(h1,h2,h3,p,li,strong,small),
body.e1e1-shell-mode-platform .e1e1-student-page-surface :where(h1,h2,h3,p,li,strong,small),
body.e1e1-shell-mode-platform .e1e1-guide-workbench :where(h1,h2,h3,p,li,strong,small){overflow-wrap:break-word}
