/* ILD v21.4.00 — Haftalık Öğretmen Masası */

.ild-weekly-launcher,
.ild-weekly-desk{font-family:Nunito,system-ui,-apple-system,"Segoe UI",sans-serif;color:#103a5d}

/* Ana sayfa: kompakt başlatıcı */
.ild-weekly-launcher{
  position:relative;max-width:1180px;margin:16px auto 20px;padding:14px 16px;
  display:grid;grid-template-columns:minmax(310px,.9fr) minmax(520px,1.5fr);gap:18px;align-items:center;
  border:1px solid #cfe7f6;border-radius:20px;background:linear-gradient(135deg,#fbfeff 0%,#f0f9ff 56%,#edf7ff 100%);
  box-shadow:0 10px 28px rgba(25,87,126,.10),inset 0 1px 0 #fff;
  overflow:hidden;
}
.ild-weekly-launcher:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:linear-gradient(#17b8ed,#0477bc)}
.ild-weekly-launcher-copy{min-width:0;padding-left:5px}
.ild-weekly-launcher-kicker{display:flex;align-items:center;gap:9px;margin-bottom:3px;font-size:.72rem}
.ild-weekly-launcher-kicker span{padding:4px 8px;border-radius:999px;background:#fff0df;color:#bc5200;font-weight:900;letter-spacing:.04em;border:1px solid #ffd7aa}
.ild-weekly-launcher-kicker b{color:#39708f;font-weight:800}
.ild-weekly-launcher h2{margin:0;font-size:1.16rem;line-height:1.15;color:#0c446c;font-weight:900}
.ild-weekly-launcher p{margin:5px 0 0;font-size:.79rem;line-height:1.4;color:#5a7890;font-weight:650;max-width:520px}
.ild-weekly-grade-launchers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.ild-weekly-grade-launcher{min-width:0;min-height:66px;padding:8px 9px;display:flex;align-items:center;gap:8px;text-decoration:none!important;border:1px solid #bae0f4;border-radius:15px;background:#fff;box-shadow:0 5px 13px rgba(12,92,145,.08);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.ild-weekly-grade-launcher:not(.is-disabled):hover{transform:translateY(-2px);border-color:#50b9e9;box-shadow:0 8px 18px rgba(12,92,145,.14)}
.ild-weekly-grade-number{flex:0 0 38px;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(180deg,#25c7f2,#067cbc);color:#fff;font-size:1.05rem;font-weight:1000;box-shadow:inset 0 1px 0 rgba(255,255,255,.45)}
.ild-weekly-grade-launcher.grade-1 .ild-weekly-grade-number{background:linear-gradient(180deg,#44d77e,#15974b)}
.ild-weekly-grade-launcher>span:last-child{min-width:0;display:flex;flex-direction:column;line-height:1.15}
.ild-weekly-grade-launcher strong{font-size:.83rem;color:#123e60;font-weight:950;white-space:nowrap}
.ild-weekly-grade-launcher small{margin-top:4px;font-size:.65rem;color:#618198;font-weight:750;white-space:nowrap}
.ild-weekly-grade-launcher small b{color:#0b8fd1}
.ild-weekly-grade-launcher.is-disabled{opacity:.48;background:#f5f8fa;box-shadow:none;cursor:default}
.ild-weekly-grade-launcher.is-disabled .ild-weekly-grade-number{background:linear-gradient(#c7d2dc,#9dafbe)}
.ild-weekly-private-badge{position:absolute;right:14px;bottom:4px;font-size:.52rem;color:#7590a3;font-weight:800;letter-spacing:.02em}

/* Ayrıntılı sayfa */
.ild-weekly-desk-shell{background:linear-gradient(180deg,#edf8ff 0,#f7fbfe 460px,#f5f8fb 100%);min-height:calc(100vh - 80px);padding:24px 18px 58px}
.ild-weekly-desk{max-width:1260px;margin:0 auto}
.ild-wd-admin-banner{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 auto 10px;padding:7px 12px;border:1px dashed #9ccce7;border-radius:11px;background:rgba(255,255,255,.75);color:#56758b;font-size:.72rem;font-weight:750}
.ild-wd-admin-banner span{padding:2px 7px;border-radius:999px;background:#fff0df;color:#b84e00;font-weight:950}
.ild-wd-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:end;padding:25px 28px;border-radius:24px;background:linear-gradient(135deg,#064f7e 0%,#0788c6 52%,#19afe0 100%);box-shadow:0 18px 40px rgba(5,75,119,.20);color:#fff;position:relative;overflow:hidden}
.ild-wd-hero:after{content:"";position:absolute;width:320px;height:320px;border-radius:50%;right:-120px;top:-180px;background:rgba(255,255,255,.12)}
.ild-wd-hero-main,.ild-wd-hero-actions{position:relative;z-index:1}
.ild-wd-back{display:inline-flex;color:#d9f4ff!important;text-decoration:none!important;font-size:.76rem;font-weight:850;margin-bottom:11px}
.ild-wd-eyebrow{font-size:.7rem;letter-spacing:.11em;font-weight:950;color:#d9f5ff;margin-bottom:4px}
.ild-wd-hero h1{margin:0;color:#fff;font-size:2rem;line-height:1.08;font-weight:1000;letter-spacing:-.025em}
.ild-wd-hero p{margin:9px 0 0;max-width:760px;color:#e8f7ff;font-size:.9rem;line-height:1.5;font-weight:650}
.ild-wd-stats{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}
.ild-wd-stats span{display:inline-flex;align-items:baseline;gap:5px;padding:5px 9px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);font-size:.67rem;color:#eaf8ff;font-weight:750}
.ild-wd-stats b{font-size:.82rem;color:#fff}
.ild-wd-hero-actions{display:flex;gap:8px;align-items:center;padding-bottom:2px}
.ild-wd-hero-actions button{border:1px solid rgba(255,255,255,.35);border-radius:12px;background:rgba(255,255,255,.13);color:#fff;padding:10px 14px;font:800 .78rem/1 Nunito,system-ui;cursor:pointer;white-space:nowrap}
.ild-wd-hero-actions .ild-wd-primary{background:#fff;color:#08689f;border-color:#fff;box-shadow:0 7px 18px rgba(0,0,0,.12)}

.ild-wd-toolbar{margin-top:12px;padding:10px 12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid #d2e7f4;border-radius:17px;background:rgba(255,255,255,.92);box-shadow:0 7px 20px rgba(33,79,108,.08)}
.ild-wd-week-nav{display:grid;grid-template-columns:auto minmax(160px,220px) auto;gap:8px;align-items:center}
.ild-wd-week-nav>a,.ild-wd-grade-switch a{display:flex;align-items:center;justify-content:center;min-height:38px;padding:7px 11px;border:1px solid #c8e0ef;border-radius:11px;background:#f8fcff;color:#236182!important;text-decoration:none!important;font-size:.73rem;font-weight:850}
.ild-wd-week-nav label{display:flex;align-items:center;gap:8px;min-height:38px;padding:5px 8px 5px 10px;border:1px solid #badcf0;border-radius:11px;background:#eef9ff;color:#477187;font-size:.67rem;font-weight:850}
.ild-wd-week-nav select{min-width:0;width:100%;border:0;background:transparent;color:#104c71;font:900 .76rem Nunito,system-ui;outline:none}
.ild-wd-grade-switch{display:flex;gap:5px}
.ild-wd-grade-switch a.is-active{background:#087fc0;border-color:#087fc0;color:#fff!important}

.ild-wd-course-jump{position:sticky;top:4px;z-index:8;margin:10px 0 14px;display:flex;gap:6px;overflow:auto;padding:7px;border:1px solid #d7e8f2;border-radius:14px;background:rgba(248,252,255,.94);backdrop-filter:blur(10px);scrollbar-width:none}
.ild-wd-course-jump::-webkit-scrollbar{display:none}
.ild-wd-course-jump a{flex:0 0 auto;padding:7px 11px;border-radius:9px;color:#41677d!important;text-decoration:none!important;background:#fff;border:1px solid #d7e6ef;font-size:.7rem;font-weight:850}
.ild-wd-course-jump a:hover{color:#087fbd!important;border-color:#7fc8eb}

.ild-wd-course-list{display:grid;gap:16px}
.ild-wd-course{scroll-margin-top:72px;border:1px solid #d5e6f0;border-radius:22px;background:#fff;box-shadow:0 10px 28px rgba(31,75,102,.08);overflow:hidden}
.ild-wd-course-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:15px;align-items:center;padding:18px 20px;background:linear-gradient(180deg,#fbfdff,#f3f9fd);border-bottom:1px solid #e2edf4}
.ild-wd-course-label{display:inline-flex;padding:4px 8px;border-radius:999px;background:#e0f4ff;color:#0876ad;font-size:.62rem;font-weight:950;letter-spacing:.03em;text-transform:uppercase}
.ild-wd-course-head h2{margin:6px 0 0;color:#103e60;font-size:1.17rem;line-height:1.18;font-weight:1000}
.ild-wd-course-head p{margin:4px 0 0;color:#648094;font-size:.75rem;font-weight:700}
.ild-wd-course-meta{display:flex;align-items:center;gap:8px}
.ild-wd-course-meta>span{padding:6px 9px;border-radius:9px;background:#edf7fc;color:#527487;font-size:.66rem;font-weight:850}
.ild-wd-course-meta button,.ild-wd-outcome-head button{border:1px solid #b9dced;border-radius:9px;background:#fff;color:#1773a6;padding:7px 9px;font:850 .66rem/1 Nunito,system-ui;cursor:pointer}

#ders-turkce .ild-wd-course-label{background:#e0f4ff;color:#0876ad}
#ders-matematik .ild-wd-course-label{background:#e8ecff;color:#4058c7}
#ders-hayat_bilgisi .ild-wd-course-label{background:#e7f8eb;color:#21834a}
#ders-beden_egitimi_ve_oyun .ild-wd-course-label{background:#fff0e2;color:#bd610c}
#ders-gorsel_sanatlar .ild-wd-course-label{background:#f8e8ff;color:#8f39ae}
#ders-muzik .ild-wd-course-label{background:#fff0f5;color:#b54273}

.ild-wd-textbook{margin:14px 18px 0;padding:10px 12px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:start;border:1px solid #e5edf3;border-radius:12px;background:#fafcfd;color:#647d8f;font-size:.7rem;line-height:1.45}
.ild-wd-textbook b{color:#315d75;white-space:nowrap}

.ild-wd-outcome-list{display:grid;gap:11px;padding:14px 18px 18px}
.ild-wd-outcome{border:1px solid #dce9f1;border-radius:16px;background:#fcfeff;overflow:hidden}
.ild-wd-outcome-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px 14px;border-bottom:1px solid #e7eff4;background:#fff}
.ild-wd-outcome-code{display:grid;place-items:center;min-width:94px;min-height:36px;padding:5px 10px;border-radius:11px;background:#eef8ff;border:1px solid #bce1f5;color:#066da6;font-size:.78rem;font-weight:1000}
.ild-wd-outcome-head h3{margin:0;color:#153f5c;font-size:.92rem;line-height:1.3;font-weight:950}
.ild-wd-components{padding:10px 12px 12px;display:grid;gap:8px}
.ild-wd-component{border:1px solid #e4edf2;border-radius:12px;background:#fff}
.ild-wd-component-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:9px;align-items:start;padding:10px 11px}
.ild-wd-component-letter{width:26px;height:26px;display:grid;place-items:center;border-radius:8px;background:#0d8bc7;color:#fff;font-size:.72rem;font-weight:1000;text-transform:lowercase}
.ild-wd-component-row p{margin:2px 0 0;color:#33586d;font-size:.78rem;line-height:1.42;font-weight:720}
.ild-wd-component-materials,.ild-wd-outcome-materials{padding:0 10px 10px}
.ild-wd-outcome-materials{padding:0 12px 12px}
.ild-wd-match-label{margin:0 0 6px;padding-top:1px;color:#6f8796;font-size:.59rem;font-weight:900;text-transform:uppercase;letter-spacing:.05em}

.ild-wd-material{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 10px;border:1px solid #dce9f0;border-radius:11px;background:linear-gradient(180deg,#fff,#f8fcfe)}
.ild-wd-material+.ild-wd-material{margin-top:6px}
.ild-wd-material-main{min-width:0;display:flex;align-items:center;gap:8px}
.ild-wd-material-type{flex:0 0 auto;padding:3px 7px;border-radius:999px;background:#eaf6ff;color:#1672a4;font-size:.57rem;font-weight:950;text-transform:uppercase}
.ild-wd-material.is-notebook .ild-wd-material-type,.ild-wd-material.is-defter-notu .ild-wd-material-type{background:#fff0d9;color:#a65a00}
.ild-wd-material-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#17435f!important;text-decoration:none!important;font-size:.74rem;font-weight:900}
.ild-wd-material-pages{flex:0 0 auto;color:#879ba9;font-size:.59rem;font-weight:800}
.ild-wd-material-actions{display:flex;gap:5px}
.ild-wd-material-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:5px 8px;border-radius:8px;border:1px solid #c7dce9;background:#fff;color:#35677f!important;text-decoration:none!important;font-size:.61rem;font-weight:900;white-space:nowrap}
.ild-wd-material-actions a.is-board{background:#087fc0;border-color:#087fc0;color:#fff!important}
.ild-wd-material-actions a.is-print{background:#13a45a;border-color:#13a45a;color:#fff!important}

.ild-wd-other-materials,.ild-wd-extra{margin:0 18px 16px;border:1px solid #dce9f1;border-radius:12px;background:#f9fcfe;overflow:hidden}
.ild-wd-other-materials summary,.ild-wd-extra summary{cursor:pointer;padding:10px 12px;color:#30627d;font-size:.7rem;font-weight:900;list-style:none}
.ild-wd-other-materials summary::-webkit-details-marker,.ild-wd-extra summary::-webkit-details-marker{display:none}
.ild-wd-other-materials summary:after,.ild-wd-extra summary:after{content:"+";float:right;color:#1591cc}
.ild-wd-other-materials[open] summary:after,.ild-wd-extra[open] summary:after{content:"–"}
.ild-wd-other-materials>div{padding:0 10px 10px}
.ild-wd-extra p{margin:0;padding:0 12px 12px;color:#607c8f;font-size:.7rem;line-height:1.5}
.ild-wd-source-note{margin-top:14px;padding:10px 12px;border-radius:11px;border:1px solid #d8e7ef;background:rgba(255,255,255,.74);color:#6a8494;font-size:.62rem;line-height:1.45}
.ild-wd-copy-source{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:pre!important;border:0!important}

.ild-copy-ok{animation:ildCopyPulse .65s ease}
@keyframes ildCopyPulse{0%{box-shadow:0 0 0 0 rgba(14,164,90,.3)}100%{box-shadow:0 0 0 8px rgba(14,164,90,0)}}

/* Karanlık görünüm */
html[data-bs-theme="dark"] .ild-weekly-launcher,body.dark-mode .ild-weekly-launcher,body.theme-dark .ild-weekly-launcher{background:linear-gradient(135deg,#102537,#102b40);border-color:#294a60;color:#eaf6ff}
html[data-bs-theme="dark"] .ild-weekly-launcher h2,body.dark-mode .ild-weekly-launcher h2,body.theme-dark .ild-weekly-launcher h2{color:#f1f9ff}
html[data-bs-theme="dark"] .ild-weekly-launcher p,body.dark-mode .ild-weekly-launcher p,body.theme-dark .ild-weekly-launcher p{color:#a9c0d0}
html[data-bs-theme="dark"] .ild-weekly-grade-launcher,body.dark-mode .ild-weekly-grade-launcher,body.theme-dark .ild-weekly-grade-launcher{background:#152d40;border-color:#31526a}
html[data-bs-theme="dark"] .ild-weekly-grade-launcher strong,body.dark-mode .ild-weekly-grade-launcher strong,body.theme-dark .ild-weekly-grade-launcher strong{color:#eef8ff}
html[data-bs-theme="dark"] .ild-weekly-desk-shell,body.dark-mode .ild-weekly-desk-shell,body.theme-dark .ild-weekly-desk-shell{background:linear-gradient(#0c1d2b,#0d1822)}
html[data-bs-theme="dark"] .ild-wd-toolbar,html[data-bs-theme="dark"] .ild-wd-course-jump,html[data-bs-theme="dark"] .ild-wd-course,html[data-bs-theme="dark"] .ild-wd-outcome,html[data-bs-theme="dark"] .ild-wd-component,html[data-bs-theme="dark"] .ild-wd-material,body.dark-mode .ild-wd-toolbar,body.dark-mode .ild-wd-course-jump,body.dark-mode .ild-wd-course,body.dark-mode .ild-wd-outcome,body.dark-mode .ild-wd-component,body.dark-mode .ild-wd-material{background:#132838;border-color:#2b475b;color:#eaf5fc}
html[data-bs-theme="dark"] .ild-wd-course-head,html[data-bs-theme="dark"] .ild-wd-outcome-head,body.dark-mode .ild-wd-course-head,body.dark-mode .ild-wd-outcome-head{background:#172e40;border-color:#2a465a}
html[data-bs-theme="dark"] .ild-wd-course-head h2,html[data-bs-theme="dark"] .ild-wd-outcome-head h3,html[data-bs-theme="dark"] .ild-wd-material-title,body.dark-mode .ild-wd-course-head h2,body.dark-mode .ild-wd-outcome-head h3,body.dark-mode .ild-wd-material-title{color:#eef8ff!important}
html[data-bs-theme="dark"] .ild-wd-component-row p,body.dark-mode .ild-wd-component-row p{color:#c7dae6}

@media(max-width:980px){
  .ild-weekly-launcher{grid-template-columns:1fr;gap:11px;padding:13px 14px 15px}.ild-weekly-private-badge{display:none}
  .ild-weekly-grade-launcher{min-height:58px}
  .ild-wd-hero{grid-template-columns:1fr}.ild-wd-hero-actions{justify-content:flex-start}
  .ild-wd-toolbar{grid-template-columns:1fr}.ild-wd-grade-switch{justify-content:center}
}
@media(max-width:700px){
  .ild-weekly-launcher{margin:10px 10px 14px;border-radius:17px}.ild-weekly-launcher p{font-size:.73rem}.ild-weekly-grade-launchers{grid-template-columns:1fr 1fr}
  .ild-weekly-grade-launcher{min-height:56px}.ild-weekly-grade-number{width:34px;height:34px;flex-basis:34px}
  .ild-weekly-desk-shell{padding:12px 8px 36px}.ild-wd-hero{padding:19px 17px;border-radius:19px}.ild-wd-hero h1{font-size:1.48rem}.ild-wd-hero p{font-size:.78rem}.ild-wd-hero-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.ild-wd-hero-actions button{width:100%}
  .ild-wd-toolbar{padding:8px}.ild-wd-week-nav{grid-template-columns:1fr 1.25fr 1fr}.ild-wd-week-nav>a{font-size:0;padding:6px}.ild-wd-week-nav>a:first-child:after{content:"← Önceki";font-size:.67rem}.ild-wd-week-nav>a:last-child:after{content:"Sonraki →";font-size:.67rem}.ild-wd-week-nav label span{display:none}
  .ild-wd-course-jump{top:2px;margin-bottom:10px}.ild-wd-course{border-radius:17px}.ild-wd-course-head{grid-template-columns:1fr;padding:14px}.ild-wd-course-meta{justify-content:space-between}.ild-wd-textbook{margin:10px 10px 0;grid-template-columns:1fr;gap:3px}.ild-wd-outcome-list{padding:10px;gap:9px}
  .ild-wd-outcome-head{grid-template-columns:auto minmax(0,1fr);gap:8px;padding:10px}.ild-wd-outcome-head button{grid-column:1/-1;justify-self:end}.ild-wd-outcome-code{min-width:78px;font-size:.69rem}.ild-wd-outcome-head h3{font-size:.83rem}
  .ild-wd-components{padding:8px}.ild-wd-component-row p{font-size:.73rem}.ild-wd-material{grid-template-columns:1fr;gap:7px}.ild-wd-material-main{flex-wrap:wrap}.ild-wd-material-title{flex:1 1 200px;white-space:normal;line-height:1.25}.ild-wd-material-actions{display:grid;grid-template-columns:repeat(3,1fr)}.ild-wd-material-actions a{width:100%}.ild-wd-other-materials,.ild-wd-extra{margin:0 10px 12px}
}

@media print{
  body.ild-weekly-desk-page header,body.ild-weekly-desk-page footer,.ild-wd-admin-banner,.ild-wd-hero-actions,.ild-wd-toolbar,.ild-wd-course-jump,.ild-wd-course-meta button,.ild-wd-outcome-head button,.ild-wd-material-actions,.ild-wd-other-materials,.ild-wd-extra{display:none!important}
  .ild-weekly-desk-shell{background:#fff!important;padding:0!important}.ild-weekly-desk{max-width:none!important;color:#000!important}.ild-wd-hero{background:#fff!important;color:#000!important;box-shadow:none!important;border:1px solid #bbb!important;padding:12px 14px!important}.ild-wd-hero h1,.ild-wd-hero p,.ild-wd-eyebrow{color:#000!important}.ild-wd-course{box-shadow:none!important;break-inside:avoid}.ild-wd-course-head,.ild-wd-outcome-head{background:#fff!important}.ild-wd-material{break-inside:avoid}
}

/* ILD v21.4.10 — Estetik sıkılaştırma ve pastel ders panelleri */
.ild-wd-admin-banner{margin-bottom:8px;padding:6px 10px;font-size:.68rem}
.ild-wd-hero{
  gap:16px;
  align-items:center;
  padding:16px 20px;
  border-radius:22px;
  box-shadow:0 12px 28px rgba(5,75,119,.16);
}
.ild-wd-hero:after{width:240px;height:240px;right:-90px;top:-145px;background:rgba(255,255,255,.10)}
.ild-wd-back{margin-bottom:6px;font-size:.72rem}
.ild-wd-eyebrow{font-size:.66rem;margin-bottom:3px}
.ild-wd-hero h1{font-size:1.58rem;line-height:1.06;letter-spacing:-.02em}
.ild-wd-hero p{margin-top:6px;font-size:.81rem;line-height:1.38;max-width:680px}
.ild-wd-stats{margin-top:11px;gap:7px}
.ild-wd-stats span{padding:4px 8px;font-size:.63rem}
.ild-wd-stats b{font-size:.77rem}
.ild-wd-hero-actions{gap:7px;padding-bottom:0}
.ild-wd-hero-actions button{padding:8px 12px;border-radius:11px;font-size:.73rem}
.ild-wd-toolbar{margin-top:10px;padding:8px 10px;border-radius:15px}
.ild-wd-week-nav>a,.ild-wd-grade-switch a,.ild-wd-week-nav label{min-height:36px}
.ild-wd-course-jump{margin:8px 0 12px;padding:6px;border-radius:13px;gap:7px}
.ild-wd-course-jump a{padding:8px 12px;border-radius:10px;font-size:.69rem;box-shadow:0 1px 0 rgba(255,255,255,.7) inset}
.ild-wd-course-list{gap:14px}
.ild-wd-course{
  position:relative;
  border-radius:24px;
  box-shadow:0 10px 24px rgba(31,75,102,.07);
  overflow:hidden;
}
.ild-wd-course:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--ild-course-accent,#4bb5e8)}
.ild-wd-course-head{padding:16px 18px;border-bottom-color:rgba(120,164,189,.18)}
.ild-wd-course-head h2{margin-top:5px;font-size:1.1rem;line-height:1.15}
.ild-wd-course-head p{font-size:.74rem;max-width:860px}
.ild-wd-course-meta>span{background:rgba(255,255,255,.62);backdrop-filter:blur(4px)}
.ild-wd-course-meta button,.ild-wd-outcome-head button{background:rgba(255,255,255,.88)}
.ild-wd-textbook{margin:12px 16px 0;padding:10px 12px;background:rgba(255,255,255,.68);border-color:rgba(126,169,192,.25)}
.ild-wd-outcome-list{padding:12px 16px 16px;gap:10px}
.ild-wd-outcome{border-radius:15px;background:rgba(255,255,255,.80);border-color:rgba(126,169,192,.22);backdrop-filter:blur(4px)}
.ild-wd-outcome-head{padding:11px 12px;background:rgba(255,255,255,.72)}
.ild-wd-outcome-code{min-width:88px;min-height:34px;font-size:.74rem}
.ild-wd-outcome-head h3{font-size:.89rem}
.ild-wd-components{padding:9px 10px 10px;gap:7px}
.ild-wd-component{background:rgba(255,255,255,.78);border-color:rgba(128,171,194,.20)}
.ild-wd-component-row{padding:9px 10px}
.ild-wd-component-row p{font-size:.76rem}
.ild-wd-material{background:rgba(255,255,255,.86)}
.ild-wd-other-materials,.ild-wd-extra{margin:0 16px 14px;background:rgba(255,255,255,.62);border-color:rgba(126,169,192,.22)}
.ild-wd-source-note{margin-top:12px;font-size:.6rem}

/* Pastel ders panelleri */
#ders-turkce{--ild-course-accent:#39b7ea;background:linear-gradient(180deg,#f7fcff 0%,#eef9ff 100%);border-color:#cce9f7}
#ders-turkce .ild-wd-course-head{background:linear-gradient(180deg,#eff9ff,#e2f4ff)}
#ders-matematik{--ild-course-accent:#6b88ff;background:linear-gradient(180deg,#fbfcff 0%,#f1f4ff 100%);border-color:#d7dfff}
#ders-matematik .ild-wd-course-head{background:linear-gradient(180deg,#f4f6ff,#e9eeff)}
#ders-hayat_bilgisi{--ild-course-accent:#56c57c;background:linear-gradient(180deg,#fbfffc 0%,#effbf2 100%);border-color:#d7f0dd}
#ders-hayat_bilgisi .ild-wd-course-head{background:linear-gradient(180deg,#f4fff6,#e6f8eb)}
#ders-beden_egitimi_ve_oyun{--ild-course-accent:#f3a44a;background:linear-gradient(180deg,#fffdf9 0%,#fff4e7 100%);border-color:#f6e0c3}
#ders-beden_egitimi_ve_oyun .ild-wd-course-head{background:linear-gradient(180deg,#fff8ef,#ffefda)}
#ders-gorsel_sanatlar{--ild-course-accent:#b776ee;background:linear-gradient(180deg,#fffaff 0%,#f8efff 100%);border-color:#ead9fb}
#ders-gorsel_sanatlar .ild-wd-course-head{background:linear-gradient(180deg,#fcf5ff,#f3e7ff)}
#ders-muzik{--ild-course-accent:#ef7aa7;background:linear-gradient(180deg,#fffafb 0%,#fff0f5 100%);border-color:#f8d6e3}
#ders-muzik .ild-wd-course-head{background:linear-gradient(180deg,#fff5f8,#ffe8f0)}

/* Sekme düğmelerini ders kutularıyla uyumlu pastel yap */
.ild-wd-course-jump a[href="#ders-turkce"]{background:#ecf8ff;border-color:#cce9f7;color:#0e729f!important}
.ild-wd-course-jump a[href="#ders-matematik"]{background:#eef2ff;border-color:#d7dfff;color:#4860d2!important}
.ild-wd-course-jump a[href="#ders-hayat_bilgisi"]{background:#eefbf1;border-color:#d7f0dd;color:#25814a!important}
.ild-wd-course-jump a[href="#ders-beden_egitimi_ve_oyun"]{background:#fff4e8;border-color:#f6e0c3;color:#bb6b12!important}
.ild-wd-course-jump a[href="#ders-gorsel_sanatlar"]{background:#f7efff;border-color:#ead9fb;color:#9044b8!important}
.ild-wd-course-jump a[href="#ders-muzik"]{background:#fff0f5;border-color:#f8d6e3;color:#b74c78!important}

@media(max-width:980px){
  .ild-wd-hero{padding:15px 16px;gap:13px}
  .ild-wd-hero h1{font-size:1.42rem}
  .ild-wd-hero p{font-size:.78rem}
}
@media(max-width:700px){
  .ild-wd-admin-banner{font-size:.64rem}
  .ild-wd-hero{padding:14px 14px 15px;border-radius:18px}
  .ild-wd-hero h1{font-size:1.26rem}
  .ild-wd-hero p{font-size:.74rem;line-height:1.34}
  .ild-wd-stats{display:none}
  .ild-wd-hero-actions{grid-template-columns:1fr 1fr;gap:6px}
  .ild-wd-hero-actions button{padding:8px 10px;font-size:.7rem}
  .ild-wd-toolbar{margin-top:8px}
  .ild-wd-course-jump{margin-bottom:8px}
  .ild-wd-course{border-radius:18px}
  .ild-wd-course-head{padding:13px 12px}
  .ild-wd-course-head h2{font-size:1rem}
  .ild-wd-textbook{margin:10px 10px 0}
  .ild-wd-outcome-list{padding:10px}
  .ild-wd-other-materials,.ild-wd-extra{margin:0 10px 10px}
}

/* ILD v21.4.20 — Okunabilirlik + Serbest Etkinlikler */
.ild-wd-course-label{
  padding:7px 12px;
  font-size:.82rem;
  line-height:1;
  letter-spacing:.015em;
  border-radius:999px;
}
.ild-wd-course-head h2{font-size:1.22rem;margin-top:8px}
.ild-wd-course-head p{font-size:.84rem;line-height:1.48;color:#55778d}
.ild-wd-course-jump a{font-size:.80rem;font-weight:900;padding:9px 13px}
.ild-wd-textbook{
  font-size:.84rem;
  line-height:1.55;
  gap:12px;
  padding:12px 14px;
}
.ild-wd-textbook b{font-size:.80rem;font-weight:950;color:#244f69}
.ild-wd-textbook span{color:#526f82;font-weight:650}

#ders-serbest_etkinlikler{
  --ild-course-accent:#e5a63b;
  background:linear-gradient(180deg,#fffdf7 0%,#fff8e9 100%);
  border-color:#f1dfb8;
}
#ders-serbest_etkinlikler .ild-wd-course-head{background:linear-gradient(180deg,#fffaf0,#fff0cf)}
#ders-serbest_etkinlikler .ild-wd-course-label{background:#fff0c7;color:#9a6200}
.ild-wd-course-jump a[href="#ders-serbest_etkinlikler"]{background:#fff6dd;border-color:#f1dfb8;color:#9a6505!important}

.ild-wd-free-plan{
  display:grid;
  grid-template-columns:minmax(0,1.65fr) minmax(260px,.8fr);
  gap:12px;
  margin:12px 16px 16px;
}
.ild-wd-free-plan-main{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(220px,.8fr);
  gap:10px;
}
.ild-wd-free-block,.ild-wd-free-mini{
  border:1px solid rgba(191,145,52,.20);
  border-radius:14px;
  background:rgba(255,255,255,.78);
  padding:12px 13px;
}
.ild-wd-free-block.is-wide{grid-column:1/-1}
.ild-wd-free-block.is-flow{background:rgba(255,250,235,.92);border-color:rgba(226,167,54,.30)}
.ild-wd-free-block>span,.ild-wd-free-mini>span{
  display:block;
  margin-bottom:5px;
  color:#8b6a28;
  font-size:.68rem;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.045em;
}
.ild-wd-free-block strong{
  display:block;
  color:#4d3d1d;
  font-size:.94rem;
  line-height:1.45;
  font-weight:950;
}
.ild-wd-free-block p,.ild-wd-free-mini p{
  margin:0;
  color:#5f5849;
  font-size:.80rem;
  line-height:1.52;
  font-weight:650;
}
.ild-wd-free-plan-side{display:grid;gap:10px;align-content:start}

html[data-bs-theme="dark"] #ders-serbest_etkinlikler,
body.dark-mode #ders-serbest_etkinlikler{background:#2a261b;border-color:#51452b}
html[data-bs-theme="dark"] #ders-serbest_etkinlikler .ild-wd-course-head,
body.dark-mode #ders-serbest_etkinlikler .ild-wd-course-head{background:#332d1e}
html[data-bs-theme="dark"] .ild-wd-free-block,
html[data-bs-theme="dark"] .ild-wd-free-mini,
body.dark-mode .ild-wd-free-block,
body.dark-mode .ild-wd-free-mini{background:#29281f;border-color:#51452b}
html[data-bs-theme="dark"] .ild-wd-free-block strong,
html[data-bs-theme="dark"] .ild-wd-free-block p,
html[data-bs-theme="dark"] .ild-wd-free-mini p,
body.dark-mode .ild-wd-free-block strong,
body.dark-mode .ild-wd-free-block p,
body.dark-mode .ild-wd-free-mini p{color:#f6eddb}

@media(max-width:900px){
  .ild-wd-free-plan{grid-template-columns:1fr}
  .ild-wd-free-plan-side{grid-template-columns:1fr 1fr}
}
@media(max-width:700px){
  .ild-wd-course-label{font-size:.78rem;padding:6px 10px}
  .ild-wd-course-head h2{font-size:1.08rem}
  .ild-wd-course-head p{font-size:.80rem}
  .ild-wd-course-jump a{font-size:.75rem;padding:8px 11px}
  .ild-wd-textbook{font-size:.80rem;line-height:1.5;padding:11px 12px}
  .ild-wd-textbook b{font-size:.76rem}
  .ild-wd-free-plan{margin:10px;gap:9px}
  .ild-wd-free-plan-main{grid-template-columns:1fr}
  .ild-wd-free-block.is-wide{grid-column:auto}
  .ild-wd-free-plan-side{grid-template-columns:1fr}
  .ild-wd-free-block strong{font-size:.88rem}
  .ild-wd-free-block p,.ild-wd-free-mini p{font-size:.77rem}
}


/* ILD v21.4.30 — Haftalık materyaller: tek hedef + varsayılan açık liste */
.ild-wd-material-actions{display:flex;align-items:center;justify-content:flex-end}
.ild-wd-material-actions a.is-open{
  min-width:118px;
  min-height:34px;
  padding:7px 12px;
  border-radius:9px;
  border:1px solid #0b84c6;
  background:linear-gradient(180deg,#169bd8,#087cba);
  color:#fff!important;
  box-shadow:0 4px 10px rgba(8,124,186,.16);
  font-size:.66rem;
  font-weight:950;
}
.ild-wd-material-actions a.is-open:hover{filter:brightness(1.04);transform:translateY(-1px)}
.ild-wd-other-materials[open] > summary{border-bottom:1px solid rgba(126,169,192,.18)}
.ild-wd-other-materials > div{padding-top:10px}
@media(max-width:700px){
  .ild-wd-material-actions{display:grid;grid-template-columns:1fr}
  .ild-wd-material-actions a.is-open{width:100%;min-height:36px;font-size:.68rem}
}
/* ILD v21.4.40 — Canlı ders ayrımı + okunabilir tipografi + güçlü etkinlik CTA + kompakt merkez hero */

/* 1) Üst ana panel: daha kısa, başlık merkezde, gereksiz açıklama gizli */
.ild-wd-hero{
  display:block;
  position:relative;
  min-height:0;
  padding:12px 190px 13px;
  text-align:center;
  border-radius:18px;
  box-shadow:0 8px 22px rgba(5,75,119,.15);
}
.ild-wd-hero:after{
  width:210px;
  height:210px;
  right:-92px;
  top:-142px;
}
.ild-wd-hero-main{min-width:0}
.ild-wd-back{
  position:absolute;
  left:18px;
  top:15px;
  margin:0;
  font-size:.78rem;
  line-height:1;
}
.ild-wd-eyebrow{
  margin:0 0 3px;
  font-size:.74rem;
  letter-spacing:.08em;
}
.ild-wd-hero h1{
  margin:0 auto;
  max-width:760px;
  font-size:1.46rem;
  line-height:1.08;
  text-align:center;
}
.ild-wd-hero p{display:none}
.ild-wd-stats{
  justify-content:center;
  margin-top:8px;
  gap:7px;
}
.ild-wd-stats span{
  padding:4px 9px;
  font-size:.72rem;
}
.ild-wd-stats b{font-size:.82rem}
.ild-wd-hero-actions{
  position:absolute;
  right:18px;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  gap:7px;
}
.ild-wd-hero-actions button{
  padding:8px 11px;
  min-height:34px;
  font-size:.76rem;
  border-radius:10px;
}

/* 2) Küçük yazıları kaldırma yerine okunabilir taban boyut */
.ild-wd-week-nav>a,
.ild-wd-grade-switch a{font-size:.79rem}
.ild-wd-week-nav label{font-size:.76rem}
.ild-wd-week-nav select{font-size:.82rem}
.ild-wd-course-jump a{
  font-size:.84rem;
  font-weight:950;
}
.ild-wd-course-meta>span{
  font-size:.78rem;
  font-weight:900;
}
.ild-wd-course-meta button,
.ild-wd-outcome-head button{
  font-size:.76rem;
  min-height:34px;
}
.ild-wd-course-label{
  font-size:.92rem;
  padding:8px 13px;
  font-weight:1000;
}
.ild-wd-course-head h2{
  font-size:1.34rem;
  line-height:1.16;
  margin-top:9px;
}
.ild-wd-course-head p{
  margin-top:6px;
  font-size:.94rem;
  line-height:1.45;
  font-weight:750;
}
.ild-wd-textbook{
  font-size:.94rem;
  line-height:1.58;
  padding:13px 15px;
}
.ild-wd-textbook b{
  font-size:.90rem;
  min-width:118px;
}
.ild-wd-textbook span{
  font-size:.94rem;
  font-weight:720;
}
.ild-wd-outcome-code{
  min-width:104px;
  min-height:38px;
  font-size:.86rem;
}
.ild-wd-outcome-head h3{
  font-size:1.02rem;
  line-height:1.35;
}
.ild-wd-component-letter{
  width:30px;
  height:30px;
  font-size:.80rem;
}
.ild-wd-component-row p{
  font-size:.91rem;
  line-height:1.5;
  font-weight:740;
}
.ild-wd-match-label{
  font-size:.75rem;
  line-height:1.3;
  letter-spacing:.025em;
}
.ild-wd-material-type{
  font-size:.72rem;
  padding:5px 8px;
}
.ild-wd-material-title{
  font-size:.92rem;
  line-height:1.35;
}
.ild-wd-material-pages{
  font-size:.76rem;
}
.ild-wd-other-materials summary,
.ild-wd-extra summary{
  font-size:.84rem;
  line-height:1.35;
}
.ild-wd-source-note{
  font-size:.72rem;
  line-height:1.5;
}

/* 3) Dersler birbirinden daha net ayrılır: canlı ama göz yormayan renkler */
.ild-wd-course-list{gap:24px}
.ild-wd-course{
  border-width:2px;
  border-style:solid;
  border-radius:22px;
  box-shadow:0 12px 26px rgba(30,64,90,.10);
}
.ild-wd-course:before{width:7px}
.ild-wd-course-head{
  padding:17px 20px;
  border-bottom-width:1px;
}
#ders-turkce{
  --ild-course-accent:#19aee7;
  background:#f1fbff;
  border-color:#8fd9f4;
}
#ders-turkce .ild-wd-course-head{
  background:linear-gradient(135deg,#dff6ff 0%,#c9edff 100%);
}
#ders-matematik{
  --ild-course-accent:#6277f4;
  background:#f4f6ff;
  border-color:#adb8ff;
}
#ders-matematik .ild-wd-course-head{
  background:linear-gradient(135deg,#e6eaff 0%,#d9e0ff 100%);
}
#ders-hayat_bilgisi{
  --ild-course-accent:#37bd68;
  background:#f2fcf5;
  border-color:#9ee0b5;
}
#ders-hayat_bilgisi .ild-wd-course-head{
  background:linear-gradient(135deg,#dff7e7 0%,#ccf0d8 100%);
}
#ders-beden_egitimi_ve_oyun{
  --ild-course-accent:#ee922d;
  background:#fff8f0;
  border-color:#f4c58e;
}
#ders-beden_egitimi_ve_oyun .ild-wd-course-head{
  background:linear-gradient(135deg,#fff0dd 0%,#ffe2bd 100%);
}
#ders-gorsel_sanatlar{
  --ild-course-accent:#a854df;
  background:#fbf5ff;
  border-color:#d9aef4;
}
#ders-gorsel_sanatlar .ild-wd-course-head{
  background:linear-gradient(135deg,#f3e2ff 0%,#ead2fb 100%);
}
#ders-muzik{
  --ild-course-accent:#e85b91;
  background:#fff5f8;
  border-color:#f2a9c3;
}
#ders-muzik .ild-wd-course-head{
  background:linear-gradient(135deg,#ffe2ed 0%,#ffd1e1 100%);
}
#ders-serbest_etkinlikler{
  --ild-course-accent:#d99a22;
  background:#fffbef;
  border-color:#efcf82;
}
#ders-serbest_etkinlikler .ild-wd-course-head{
  background:linear-gradient(135deg,#fff1c8 0%,#ffe6a4 100%);
}

/* Her dersin içerik blokları kendi arka planından ayrışsın */
.ild-wd-outcome,
.ild-wd-component,
.ild-wd-textbook,
.ild-wd-other-materials,
.ild-wd-extra{
  background:rgba(255,255,255,.90);
}
.ild-wd-outcome{
  border-width:1px;
  box-shadow:0 3px 10px rgba(28,72,100,.035);
}

/* 4) Sitedeki materyal/etkinlik: görsel olarak hedef aksiyon */
.ild-wd-other-materials{
  border:1px solid rgba(30,155,85,.28);
  background:linear-gradient(180deg,rgba(247,255,250,.98),rgba(239,251,245,.98));
}
.ild-wd-other-materials[open] > summary{
  color:#237149;
  background:rgba(226,248,235,.70);
  border-bottom:1px solid rgba(30,155,85,.18);
}
.ild-wd-material{
  position:relative;
  overflow:hidden;
  padding:11px 12px;
  border:1px solid #b9e5c9;
  background:linear-gradient(180deg,#ffffff 0%,#f5fff8 100%);
  box-shadow:0 4px 13px rgba(28,130,72,.07);
}
.ild-wd-material-type{
  background:#e3f7ea;
  color:#197342;
}
.ild-wd-material.is-notebook .ild-wd-material-type,
.ild-wd-material.is-defter-notu .ild-wd-material-type{
  background:#e8f7ed;
  color:#1f7447;
}

/* Yeşil CTA + bıçak yansıması */
.ild-wd-material-actions a.is-open{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-width:148px;
  min-height:42px;
  padding:10px 18px;
  border:1px solid #078a43;
  border-radius:11px;
  background:linear-gradient(180deg,#22c765 0%,#0fa04d 52%,#078940 100%);
  color:#fff!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.40),
    inset 0 -2px 0 rgba(0,78,35,.18),
    0 7px 16px rgba(7,137,64,.22);
  font-size:.82rem;
  font-weight:1000;
  letter-spacing:.005em;
  text-shadow:0 1px 1px rgba(0,74,32,.18);
  transition:transform .16s ease,filter .16s ease,box-shadow .16s ease;
}
.ild-wd-material-actions a.is-open:before{
  content:"";
  position:absolute;
  z-index:-1;
  top:-45%;
  bottom:-45%;
  left:-46%;
  width:32%;
  transform:skewX(-22deg);
  background:linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.18) 26%,
    rgba(255,255,255,.82) 50%,
    rgba(255,255,255,.18) 74%,
    rgba(255,255,255,0) 100%
  );
  filter:blur(.2px);
  animation:ildWeeklyBladeShine 2.7s cubic-bezier(.35,.05,.25,1) infinite;
}
.ild-wd-material-actions a.is-open:hover{
  transform:translateY(-2px);
  filter:brightness(1.04) saturate(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    0 10px 20px rgba(7,137,64,.28);
}
@keyframes ildWeeklyBladeShine{
  0%,52%{left:-46%}
  76%,100%{left:125%}
}

/* 5) Mobil/tablet okunabilirliği: önemli metinleri küçültme */
@media(max-width:1100px){
  .ild-wd-hero{
    padding:12px 145px 13px;
  }
  .ild-wd-hero h1{font-size:1.34rem}
  .ild-wd-hero-actions{right:13px}
  .ild-wd-back{left:13px}
}
@media(max-width:850px){
  .ild-wd-hero{
    padding:13px 14px 14px;
  }
  .ild-wd-back{
    position:static;
    display:inline-flex;
    margin-bottom:6px;
  }
  .ild-wd-hero-actions{
    position:static;
    transform:none;
    justify-content:center;
    margin-top:9px;
  }
  .ild-wd-hero h1{font-size:1.28rem}
  .ild-wd-stats{margin-top:7px}
}
@media(max-width:700px){
  .ild-wd-course-list{gap:18px}
  .ild-wd-course{border-radius:17px}
  .ild-wd-course-head{padding:14px 13px}
  .ild-wd-course-label{font-size:.86rem}
  .ild-wd-course-head h2{font-size:1.16rem}
  .ild-wd-course-head p{font-size:.88rem}
  .ild-wd-textbook,
  .ild-wd-textbook span{font-size:.87rem}
  .ild-wd-textbook b{font-size:.84rem}
  .ild-wd-outcome-code{font-size:.80rem}
  .ild-wd-outcome-head h3{font-size:.94rem}
  .ild-wd-component-row p{font-size:.86rem}
  .ild-wd-material-title{font-size:.88rem}
  .ild-wd-material-pages{font-size:.73rem}
  .ild-wd-material-actions a.is-open{
    min-height:44px;
    width:100%;
    font-size:.84rem;
  }
}
@media(prefers-reduced-motion:reduce){
  .ild-wd-material-actions a.is-open:before{animation:none;display:none}
}

/* ILD v21.4.41 — Üst panel sadeleştirme / yönetici önizleme kilidi korunur */
/* Önizleme uyarısı görünmez; PHP tarafındaki yönetici-only kilit aynen devam eder. */
.ild-wd-admin-banner{display:none!important}

/* Sayfayı üst alana yaklaştır. */
.ild-weekly-desk-shell{padding-top:4px!important}

/* Ana panel yalnız hafta + başlık için kompakt merkez başlık haline gelir. */
.ild-wd-hero{
  display:block!important;
  min-height:0!important;
  padding:12px 20px 13px!important;
  text-align:center!important;
}
.ild-wd-back,
.ild-wd-hero-actions,
.ild-wd-stats{display:none!important}
.ild-wd-eyebrow{
  margin:0 0 3px!important;
  text-align:center!important;
  font-size:.76rem!important;
}
.ild-wd-hero h1{
  margin:0 auto!important;
  max-width:900px!important;
  text-align:center!important;
  font-size:1.48rem!important;
  line-height:1.08!important;
}

/* Ders kartındaki yalnız 'Dersi Kopyala' düğmesini kaldır; ders saati kalır. */
.ild-wd-course-meta button{display:none!important}
.ild-wd-course-meta{justify-content:flex-end!important}

@media(max-width:850px){
  .ild-weekly-desk-shell{padding:3px 8px 36px!important}
  .ild-wd-hero{padding:11px 12px 12px!important}
  .ild-wd-hero h1{font-size:1.30rem!important}
  .ild-wd-eyebrow{font-size:.72rem!important}
}
/* ILD v21.4.42 — "Sitemizdeki Etkinlikler" başlığı güçlü görünürlük */
.ild-wd-other-materials{
  margin-top:15px;
  border:2px solid rgba(20,154,78,.36)!important;
  border-radius:16px!important;
  box-shadow:0 7px 18px rgba(18,129,68,.08);
}
.ild-wd-other-materials > summary{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  min-height:48px;
  padding:11px 48px 11px 14px!important;
  color:#126c3c!important;
  background:linear-gradient(90deg,#e7f9ee 0%,#f4fff8 58%,#edfbf2 100%)!important;
  border-bottom:1px solid rgba(20,154,78,.20)!important;
  font-size:1.02rem!important;
  line-height:1.25!important;
  font-weight:1000!important;
  letter-spacing:.005em!important;
}
.ild-wd-other-materials > summary:before{
  content:"";
  flex:0 0 30px;
  width:30px;
  height:30px;
  border-radius:10px;
  background:
    radial-gradient(circle at 50% 38%,rgba(255,255,255,.72) 0 10%,transparent 11%),
    linear-gradient(180deg,#2dcc72 0%,#0a9849 100%);
  border:1px solid #078b42;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 4px 9px rgba(10,152,73,.18);
}
.ild-wd-other-materials > summary:after{
  content:"−"!important;
  position:absolute;
  right:16px;
  top:50%;
  transform:translateY(-50%);
  float:none!important;
  display:grid;
  place-items:center;
  width:27px;
  height:27px;
  border-radius:9px;
  color:#087b3e!important;
  background:#fff;
  border:1px solid #afe0c3;
  font-size:1.05rem;
  line-height:1;
  font-weight:1000;
}
.ild-wd-other-materials:not([open]) > summary:after{content:"+"!important}
.ild-wd-other-materials > div{
  padding:12px!important;
  background:rgba(249,255,251,.88);
}

html[data-bs-theme="dark"] .ild-wd-other-materials > summary,
body.dark-mode .ild-wd-other-materials > summary{
  color:#c9f5d9!important;
  background:linear-gradient(90deg,#153a29,#173326)!important;
}
html[data-bs-theme="dark"] .ild-wd-other-materials > div,
body.dark-mode .ild-wd-other-materials > div{
  background:#14271e;
}

@media(max-width:700px){
  .ild-wd-other-materials > summary{
    min-height:46px;
    padding:10px 44px 10px 12px!important;
    font-size:.94rem!important;
  }
  .ild-wd-other-materials > summary:before{
    flex-basis:28px;
    width:28px;
    height:28px;
  }
}
/* ILD v21.4.43 — Ders kutularındaki tüm Kopyala düğmelerini kaldır */
.ild-wd-course [data-copy-target]{
  display:none!important;
}

/* Kopyala düğmesi kalkınca başlık satırları boşluk bırakmasın. */
.ild-wd-outcome-head{
  grid-template-columns:auto minmax(0,1fr)!important;
}
.ild-wd-course-meta{
  justify-content:flex-end!important;
}
/* ILD v21.4.44 — Daha kompakt haftalık masa + benzersiz "Sitemizdeki Etkinlikler" alanı */

/* Genel dikey ritmi sıkılaştır */
.ild-wd-course-list{gap:17px!important}
.ild-wd-course-head{
  padding:13px 17px!important;
}
.ild-wd-course-head h2{
  margin-top:6px!important;
  margin-bottom:0!important;
}
.ild-wd-course-head p{
  margin:4px 0 0!important;
  line-height:1.36!important;
}
.ild-wd-course-meta{gap:6px!important}
.ild-wd-course-meta>span{
  padding:5px 8px!important;
}

/* Ders kitabı akışı: büyük kalsın ama gereksiz yüksekliği azalsın */
.ild-wd-textbook{
  margin:9px 13px 0!important;
  padding:10px 12px!important;
  gap:8px!important;
  line-height:1.42!important;
}
.ild-wd-textbook b,
.ild-wd-textbook span{
  line-height:1.42!important;
}

/* Öğrenme çıktıları ve süreç bileşenleri daha sıkı */
.ild-wd-outcome-list{
  padding:10px 13px 13px!important;
  gap:8px!important;
}
.ild-wd-outcome{
  border-radius:13px!important;
}
.ild-wd-outcome-head{
  padding:9px 11px!important;
  gap:9px!important;
}
.ild-wd-outcome-code{
  min-height:34px!important;
  padding:4px 9px!important;
}
.ild-wd-outcome-head h3{
  margin:0!important;
}
.ild-wd-components{
  padding:7px 9px 9px!important;
  gap:6px!important;
}
.ild-wd-component{
  border-radius:10px!important;
}
.ild-wd-component-row{
  padding:7px 9px!important;
  gap:8px!important;
}
.ild-wd-component-letter{
  width:28px!important;
  height:28px!important;
}
.ild-wd-component-row p{
  margin:1px 0 0!important;
  line-height:1.38!important;
}

/* Materyal kartlarının kendi iç boşluklarını da azalt */
.ild-wd-component-materials,
.ild-wd-outcome-materials{
  padding:0 8px 8px!important;
}
.ild-wd-match-label{
  margin:0 0 5px!important;
}
.ild-wd-material{
  padding:9px 10px!important;
}
.ild-wd-material+.ild-wd-material{margin-top:5px!important}

/* "Sitemizdeki Etkinlikler" artık ders renklerinden bağımsız, imza niteliğinde mor-indigo alan */
.ild-wd-other-materials{
  margin:10px 13px 12px!important;
  border:2px solid #9b8cf2!important;
  border-radius:15px!important;
  background:linear-gradient(180deg,#fbfaff 0%,#f4f1ff 100%)!important;
  box-shadow:
    0 8px 20px rgba(78,63,171,.11),
    inset 0 1px 0 rgba(255,255,255,.82)!important;
  overflow:hidden;
}
.ild-wd-other-materials > summary{
  position:relative;
  display:flex!important;
  align-items:center!important;
  min-height:44px!important;
  gap:10px!important;
  padding:9px 46px 9px 13px!important;
  color:#3f318e!important;
  background:
    linear-gradient(90deg,#eee9ff 0%,#f7f4ff 48%,#fff8eb 100%)!important;
  border-bottom:1px solid rgba(111,91,210,.22)!important;
  font-size:.98rem!important;
  line-height:1.2!important;
  font-weight:1000!important;
  letter-spacing:.005em!important;
}
.ild-wd-other-materials > summary:before{
  content:"✦"!important;
  flex:0 0 30px!important;
  width:30px!important;
  height:30px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:10px!important;
  color:#fff!important;
  background:linear-gradient(145deg,#7562e8 0%,#5140bd 62%,#3f2f9a 100%)!important;
  border:1px solid #4c3ab4!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35),
    0 4px 9px rgba(74,56,173,.20)!important;
  font-size:.92rem!important;
  line-height:1!important;
}
.ild-wd-other-materials > summary:after{
  right:13px!important;
  width:26px!important;
  height:26px!important;
  color:#5140bd!important;
  background:#fff!important;
  border:1px solid #c7bdf8!important;
}
.ild-wd-other-materials > div{
  padding:9px!important;
  background:
    radial-gradient(circle at 98% 0%,rgba(255,211,111,.12),transparent 28%),
    rgba(250,249,255,.94)!important;
}

/* Etkinlik iç kartı da mor kutuyla uyumlu; CTA yeşil kalır, böylece eylem hemen seçilir */
.ild-wd-other-materials .ild-wd-material{
  border-color:#d7d0fa!important;
  background:linear-gradient(180deg,#fff 0%,#faf8ff 100%)!important;
  box-shadow:0 3px 10px rgba(74,56,173,.06)!important;
}
.ild-wd-other-materials .ild-wd-material-type{
  background:#eee9ff!important;
  color:#5240b7!important;
}
.ild-wd-other-materials .ild-wd-material.is-notebook .ild-wd-material-type,
.ild-wd-other-materials .ild-wd-material.is-defter-notu .ild-wd-material-type{
  background:#fff1cc!important;
  color:#8a5a00!important;
}

/* Alt ayrıntılar da sıkı */
.ild-wd-extra{
  margin:0 13px 11px!important;
}
.ild-wd-extra summary{
  padding:8px 10px!important;
}

/* Mobilde sıkılık korunur ama dokunma alanları güvenli kalır */
@media(max-width:700px){
  .ild-wd-course-list{gap:14px!important}
  .ild-wd-course-head{padding:11px 11px!important}
  .ild-wd-textbook{margin:8px 8px 0!important;padding:9px 10px!important}
  .ild-wd-outcome-list{padding:8px!important;gap:7px!important}
  .ild-wd-outcome-head{padding:8px 9px!important}
  .ild-wd-components{padding:6px 7px 8px!important}
  .ild-wd-component-row{padding:7px 8px!important}
  .ild-wd-other-materials{margin:8px 8px 10px!important}
  .ild-wd-other-materials > summary{
    min-height:43px!important;
    padding:8px 42px 8px 10px!important;
    font-size:.92rem!important;
  }
}

/* ILD v21.4.45 — Ders / tema / konu başlığı hiyerarşisi */
.ild-wd-course-head{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:4px;
}
.ild-wd-course-label{
  order:1;
  display:inline-flex;
  align-items:center;
  padding:8px 14px!important;
  font-size:1.18rem!important;
  line-height:1.1!important;
  font-weight:1000!important;
  letter-spacing:.01em!important;
  border-radius:16px!important;
}
.ild-wd-course-head h2{
  order:2;
  margin:2px 0 0!important;
  font-size:1.48rem!important;
  line-height:1.12!important;
  font-weight:1000!important;
}
.ild-wd-course-head p{
  order:3;
  margin:1px 0 0!important;
  font-size:1.02rem!important;
  line-height:1.38!important;
  font-weight:780!important;
  max-width:980px!important;
  color:#4f6e87!important;
}
.ild-wd-course-meta{
  margin-top:-2px;
}

@media(max-width:700px){
  .ild-wd-course-label{
    padding:7px 12px!important;
    font-size:1rem!important;
    border-radius:14px!important;
  }
  .ild-wd-course-head h2{
    font-size:1.24rem!important;
  }
  .ild-wd-course-head p{
    font-size:.92rem!important;
    line-height:1.34!important;
  }
}
/* ILD v21.4.46 — Doğru görsel hiyerarşi:
   DERS en büyük → TEMA ikinci → KONU üçüncü */
.ild-wd-course-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:14px!important;
  align-items:center!important;
}

.ild-wd-course-head > div:first-child{
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:3px;
}

/* 1. seviye: DERS — en büyük */
.ild-wd-course-label{
  order:1;
  display:block!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--ild-course-accent,#168fc7)!important;
  font-size:1.55rem!important;
  line-height:1.08!important;
  font-weight:1000!important;
  letter-spacing:.015em!important;
  text-transform:uppercase!important;
}

/* 2. seviye: TEMA */
.ild-wd-course-head h2{
  order:2;
  margin:2px 0 0!important;
  color:#123f5f!important;
  font-size:1.16rem!important;
  line-height:1.22!important;
  font-weight:950!important;
  letter-spacing:0!important;
}

/* 3. seviye: KONU / İÇERİK ODAĞI */
.ild-wd-course-head p{
  order:3;
  margin:1px 0 0!important;
  color:#5b7890!important;
  font-size:.94rem!important;
  line-height:1.35!important;
  font-weight:750!important;
  max-width:980px!important;
}

/* Ders saati yeniden sağda kalsın */
.ild-wd-course-meta{
  align-self:center!important;
  margin:0!important;
}
.ild-wd-course-meta>span{
  display:inline-flex!important;
  align-items:center!important;
  min-height:34px!important;
  padding:6px 10px!important;
  font-size:.78rem!important;
  font-weight:900!important;
}

@media(max-width:700px){
  .ild-wd-course-head{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:8px!important;
    align-items:start!important;
  }
  .ild-wd-course-label{
    font-size:1.28rem!important;
  }
  .ild-wd-course-head h2{
    font-size:1.04rem!important;
  }
  .ild-wd-course-head p{
    font-size:.88rem!important;
  }
  .ild-wd-course-meta>span{
    min-height:30px!important;
    padding:5px 8px!important;
    font-size:.72rem!important;
  }
}

/* ILD v21.4.47 — Sitemizdeki Etkinlikler için ders renklerinden bağımsız benzersiz tasarım */
.ild-wd-other-materials{
  position:relative;
  margin:10px 13px 12px!important;
  border:2px solid #394252!important;
  border-top-width:4px!important;
  border-top-color:#d7a63b!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,#fffdfa 0%,#fff9ef 100%)!important;
  box-shadow:0 10px 24px rgba(44,53,70,.10), inset 0 1px 0 rgba(255,255,255,.85)!important;
  overflow:hidden;
}
.ild-wd-other-materials>summary{
  position:relative;
  display:flex!important;
  align-items:center!important;
  min-height:48px!important;
  gap:11px!important;
  padding:10px 46px 10px 14px!important;
  color:#2f3747!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.72),rgba(255,255,255,0) 68%),
    linear-gradient(90deg,#fffaf1 0%,#ffffff 58%,#fffdf7 100%)!important;
  border-bottom:1px solid #e6dcc4!important;
  font-size:1rem!important;
  line-height:1.2!important;
  font-weight:1000!important;
  letter-spacing:.005em!important;
}
.ild-wd-other-materials>summary:before{
  content:"✦"!important;
  flex:0 0 32px!important;
  width:32px!important;
  height:32px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:10px!important;
  color:#ffd98b!important;
  background:linear-gradient(180deg,#3f4758 0%,#242b38 100%)!important;
  border:1px solid #202735!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 5px 10px rgba(32,39,53,.18)!important;
  font-size:.95rem!important;
  line-height:1!important;
}
.ild-wd-other-materials>summary:after{
  content:"−"!important;
  position:absolute;
  right:12px!important;
  top:50%;
  transform:translateY(-50%);
  display:grid!important;
  place-items:center!important;
  width:27px!important;
  height:27px!important;
  border-radius:9px!important;
  color:#73510b!important;
  background:linear-gradient(180deg,#fff8de 0%,#fde7a8 100%)!important;
  border:1px solid #e2c36b!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55)!important;
  font-size:1.05rem!important;
  line-height:1!important;
  font-weight:1000!important;
}
.ild-wd-other-materials:not([open])>summary:after{content:"+"!important}
.ild-wd-other-materials>div{
  padding:10px!important;
  background:
    radial-gradient(circle at 100% 0%,rgba(215,166,59,.10),transparent 27%),
    linear-gradient(180deg,#fffdf9 0%,#fffaf3 100%)!important;
}
.ild-wd-other-materials .ild-wd-material{
  border:1px solid #ded3b9!important;
  background:linear-gradient(180deg,#ffffff 0%,#fffdf8 100%)!important;
  box-shadow:0 4px 10px rgba(71,59,27,.05)!important;
}
.ild-wd-other-materials .ild-wd-material-type{
  background:#232a37!important;
  color:#f7d993!important;
}
.ild-wd-other-materials .ild-wd-material.is-notebook .ild-wd-material-type,
.ild-wd-other-materials .ild-wd-material.is-defter-notu .ild-wd-material-type{
  background:#f6edd3!important;
  color:#74510a!important;
  border:1px solid #ead59a!important;
}
.ild-wd-other-materials .ild-wd-material-title{
  color:#21364e!important;
}
.ild-wd-other-materials .ild-wd-material-pages{
  color:#7d8798!important;
}

@media(max-width:700px){
  .ild-wd-other-materials{
    margin:8px 8px 10px!important;
    border-radius:14px!important;
  }
  .ild-wd-other-materials>summary{
    min-height:45px!important;
    padding:9px 42px 9px 11px!important;
    font-size:.92rem!important;
  }
  .ild-wd-other-materials>summary:before{
    flex-basis:29px!important;
    width:29px!important;
    height:29px!important;
  }
  .ild-wd-other-materials>div{padding:8px!important}
}
/* ILD v21.5.10 — Ana sayfa: kompakt Haftalık Öğretmen Masası
   Son Eklenenler'in hemen üstünde, ana sayfanın kart/panel diliyle uyumlu. */
.ild-home-weekly-before-recent{
  margin:0 0 6px!important;
}
.ild-home-weekly-before-recent .ild-weekly-launcher{
  max-width:none!important;
  width:100%!important;
  margin:8px 0 12px!important;
  padding:10px 12px 10px 15px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:14px!important;
  align-items:center!important;
  border:1px solid rgba(96,165,250,.22)!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.97) 0%,rgba(243,248,253,.98) 52%,rgba(231,240,248,.98) 100%)!important;
  box-shadow:0 10px 24px rgba(48,94,148,.08),inset 0 1px 0 rgba(255,255,255,.92)!important;
  overflow:hidden!important;
}
.ild-home-weekly-before-recent .ild-weekly-launcher:before{
  content:""!important;
  position:absolute!important;
  left:0!important;
  top:9px!important;
  bottom:9px!important;
  width:5px!important;
  height:auto!important;
  border-radius:0 6px 6px 0!important;
  background:linear-gradient(180deg,#56c8f2 0%,#168fc8 48%,#176eb0 100%)!important;
  box-shadow:0 0 12px rgba(23,143,200,.24)!important;
}
.ild-home-weekly-before-recent .ild-weekly-launcher-copy{
  min-width:0!important;
  padding:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:2px!important;
}
.ild-home-weekly-before-recent .ild-weekly-launcher h2{
  order:1!important;
  margin:0!important;
  font-family:'Nunito',sans-serif!important;
  font-size:1.15rem!important;
  line-height:1.12!important;
  font-weight:900!important;
  letter-spacing:.2px!important;
  text-transform:uppercase!important;
  color:#1f3250!important;
}
.ild-home-weekly-before-recent .ild-weekly-launcher-kicker{
  order:2!important;
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  margin:2px 0 0!important;
  font-family:'Nunito',sans-serif!important;
  font-size:.66rem!important;
  line-height:1.15!important;
}
.ild-home-weekly-before-recent .ild-weekly-launcher-kicker span{
  padding:2px 6px!important;
  border-radius:999px!important;
  border:1px solid #f2d399!important;
  background:#fff8e9!important;
  color:#a66306!important;
  font-weight:900!important;
  letter-spacing:.03em!important;
}
.ild-home-weekly-before-recent .ild-weekly-launcher-kicker b{
  color:#607a90!important;
  font-weight:800!important;
}
.ild-home-weekly-before-recent .ild-weekly-launcher p{
  display:none!important;
}

/* Ana sayfada yalnız aktif sınıflar: 3–4 "yakında" kartları yer kaplamaz. */
.ild-home-weekly-before-recent .ild-weekly-grade-launchers{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(112px,1fr))!important;
  gap:7px!important;
  min-width:248px!important;
}
.ild-home-weekly-before-recent .ild-weekly-grade-launcher.is-disabled{
  display:none!important;
}
.ild-home-weekly-before-recent .ild-weekly-grade-launcher{
  min-width:0!important;
  min-height:44px!important;
  padding:5px 9px!important;
  gap:7px!important;
  border:1px solid #c9dce8!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.88)!important;
  box-shadow:0 4px 10px rgba(31,74,103,.07)!important;
}
.ild-home-weekly-before-recent .ild-weekly-grade-launcher:not(.is-disabled):hover{
  transform:translateY(-1px)!important;
  border-color:#73bddd!important;
  box-shadow:0 6px 14px rgba(31,91,129,.11)!important;
}
.ild-home-weekly-before-recent .ild-weekly-grade-number{
  flex:0 0 30px!important;
  width:30px!important;
  height:30px!important;
  border-radius:9px!important;
  font-size:.84rem!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.4)!important;
}
.ild-home-weekly-before-recent .ild-weekly-grade-launcher strong{
  font-family:'Nunito',sans-serif!important;
  font-size:.75rem!important;
  line-height:1.05!important;
  font-weight:900!important;
  color:#233d54!important;
}
.ild-home-weekly-before-recent .ild-weekly-grade-launcher small{
  margin-top:2px!important;
  font-family:'Nunito',sans-serif!important;
  font-size:.57rem!important;
  line-height:1.05!important;
  font-weight:800!important;
  color:#758a9a!important;
}
.ild-home-weekly-before-recent .ild-weekly-private-badge{
  display:none!important;
}

/* Haftalık panel ile Son Eklenenler arasında gereksiz boşluk bırakma. */
.ild-home-weekly-before-recent + .ild-home-recent-title{
  margin-top:6px!important;
}

/* Karanlık tema: ana sayfanın mevcut metal panel diliyle aynı aile. */
html[data-bs-theme="dark"] .ild-home-weekly-before-recent .ild-weekly-launcher,
body.dark-mode .ild-home-weekly-before-recent .ild-weekly-launcher,
body.theme-dark .ild-home-weekly-before-recent .ild-weekly-launcher{
  color:#f5f7fb!important;
  border-color:rgba(112,185,255,.22)!important;
  background:
    radial-gradient(circle at 18% 20%,rgba(255,255,255,.15) 0%,rgba(255,255,255,.04) 18%,rgba(255,255,255,0) 34%),
    linear-gradient(180deg,#526780 0%,#1d3553 23%,#071426 58%,#020814 100%)!important;
  box-shadow:0 10px 28px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.22)!important;
}
html[data-bs-theme="dark"] .ild-home-weekly-before-recent .ild-weekly-launcher h2,
body.dark-mode .ild-home-weekly-before-recent .ild-weekly-launcher h2,
body.theme-dark .ild-home-weekly-before-recent .ild-weekly-launcher h2{
  color:#f5f7fb!important;
}
html[data-bs-theme="dark"] .ild-home-weekly-before-recent .ild-weekly-launcher-kicker b,
body.dark-mode .ild-home-weekly-before-recent .ild-weekly-launcher-kicker b,
body.theme-dark .ild-home-weekly-before-recent .ild-weekly-launcher-kicker b{
  color:#b8cad8!important;
}
html[data-bs-theme="dark"] .ild-home-weekly-before-recent .ild-weekly-grade-launcher,
body.dark-mode .ild-home-weekly-before-recent .ild-weekly-grade-launcher,
body.theme-dark .ild-home-weekly-before-recent .ild-weekly-grade-launcher{
  background:rgba(15,30,45,.82)!important;
  border-color:#39566d!important;
}
html[data-bs-theme="dark"] .ild-home-weekly-before-recent .ild-weekly-grade-launcher strong,
body.dark-mode .ild-home-weekly-before-recent .ild-weekly-grade-launcher strong,
body.theme-dark .ild-home-weekly-before-recent .ild-weekly-grade-launcher strong{
  color:#eef7fd!important;
}
html[data-bs-theme="dark"] .ild-home-weekly-before-recent .ild-weekly-grade-launcher small,
body.dark-mode .ild-home-weekly-before-recent .ild-weekly-grade-launcher small,
body.theme-dark .ild-home-weekly-before-recent .ild-weekly-grade-launcher small{
  color:#a8bdcc!important;
}

/* Tablet / telefon: tek kısa satır hissi korunur, sınıflar alt sıraya geçer. */
@media(max-width:767.98px){
  .ild-home-weekly-before-recent .ild-weekly-launcher{
    margin:6px 0 10px!important;
    padding:9px 10px 9px 13px!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
    border-radius:16px!important;
  }
  .ild-home-weekly-before-recent .ild-weekly-launcher h2{
    font-size:1.08rem!important;
  }
  .ild-home-weekly-before-recent .ild-weekly-launcher-kicker{
    font-size:.62rem!important;
  }
  .ild-home-weekly-before-recent .ild-weekly-grade-launchers{
    width:100%!important;
    min-width:0!important;
    grid-template-columns:1fr 1fr!important;
    gap:6px!important;
  }
  .ild-home-weekly-before-recent .ild-weekly-grade-launcher{
    min-height:41px!important;
    padding:5px 8px!important;
  }
  .ild-home-weekly-before-recent .ild-weekly-grade-number{
    flex-basis:28px!important;
    width:28px!important;
    height:28px!important;
  }
}
/* ILD v21.5.11 — Ana sayfa: 3. ve 4. sınıfı pasif ama renkli göster */
.ild-home-weekly-before-recent .ild-weekly-grade-launchers{
  grid-template-columns:repeat(4,minmax(108px,1fr))!important;
  min-width:500px!important;
}

/* Pasif kartlar artık gizlenmez; tıklanamaz ama aktif kartlarla aynı ailede görünür. */
.ild-home-weekly-before-recent .ild-weekly-grade-launcher.is-disabled{
  display:flex!important;
  opacity:1!important;
  cursor:default!important;
  pointer-events:none!important;
  box-shadow:0 4px 10px rgba(31,74,103,.06)!important;
}

/* 3. sınıf: mor/lila — sitenin 3. sınıf rengiyle uyumlu ama daha yumuşak */
.ild-home-weekly-before-recent .ild-weekly-grade-launcher.is-disabled:nth-child(3){
  border-color:#d9c7f3!important;
  background:linear-gradient(180deg,#fdfaff 0%,#f5effd 100%)!important;
}
.ild-home-weekly-before-recent .ild-weekly-grade-launcher.is-disabled:nth-child(3) .ild-weekly-grade-number{
  background:linear-gradient(180deg,#b45de1 0%,#7d2eb1 100%)!important;
  color:#fff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.38)!important;
}
.ild-home-weekly-before-recent .ild-weekly-grade-launcher.is-disabled:nth-child(3) strong{
  color:#5e2a82!important;
}
.ild-home-weekly-before-recent .ild-weekly-grade-launcher.is-disabled:nth-child(3) small{
  color:#8e6aa8!important;
}

/* 4. sınıf: mercan/kırmızı — sitenin 4. sınıf rengiyle uyumlu ama daha yumuşak */
.ild-home-weekly-before-recent .ild-weekly-grade-launcher.is-disabled:nth-child(4){
  border-color:#f1c2ba!important;
  background:linear-gradient(180deg,#fffafa 0%,#fff0ed 100%)!important;
}
.ild-home-weekly-before-recent .ild-weekly-grade-launcher.is-disabled:nth-child(4) .ild-weekly-grade-number{
  background:linear-gradient(180deg,#f16d5f 0%,#cf3f35 100%)!important;
  color:#fff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.38)!important;
}
.ild-home-weekly-before-recent .ild-weekly-grade-launcher.is-disabled:nth-child(4) strong{
  color:#963c35!important;
}
.ild-home-weekly-before-recent .ild-weekly-grade-launcher.is-disabled:nth-child(4) small{
  color:#ad716c!important;
}

/* Pasiflik griye düşmeden yalnızca küçük "Yakında" metniyle anlaşılır. */
.ild-home-weekly-before-recent .ild-weekly-grade-launcher.is-disabled small{
  font-weight:900!important;
}

/* Orta genişlikte 2x2 dizilim; panel yine kompakt kalır. */
@media(max-width:1100px){
  .ild-home-weekly-before-recent .ild-weekly-grade-launchers{
    grid-template-columns:repeat(2,minmax(112px,1fr))!important;
    min-width:248px!important;
  }
}

/* Mobilde de dört sınıf 2x2 görünür. */
@media(max-width:767.98px){
  .ild-home-weekly-before-recent .ild-weekly-grade-launchers{
    grid-template-columns:1fr 1fr!important;
    min-width:0!important;
  }
}

/* Karanlık temada pasif kartlar da renksizleşmesin. */
html[data-bs-theme="dark"] .ild-home-weekly-before-recent .ild-weekly-grade-launcher.is-disabled:nth-child(3),
body.dark-mode .ild-home-weekly-before-recent .ild-weekly-grade-launcher.is-disabled:nth-child(3),
body.theme-dark .ild-home-weekly-before-recent .ild-weekly-grade-launcher.is-disabled:nth-child(3){
  background:linear-gradient(180deg,#352644 0%,#251b31 100%)!important;
  border-color:#6f4f88!important;
}
html[data-bs-theme="dark"] .ild-home-weekly-before-recent .ild-weekly-grade-launcher.is-disabled:nth-child(4),
body.dark-mode .ild-home-weekly-before-recent .ild-weekly-grade-launcher.is-disabled:nth-child(4),
body.theme-dark .ild-home-weekly-before-recent .ild-weekly-grade-launcher.is-disabled:nth-child(4){
  background:linear-gradient(180deg,#422927 0%,#2e1d1c 100%)!important;
  border-color:#87544f!important;
}
/* ILD v21.5.12 — Ders üst paneli:
   DERS + TEMA aynı satır, KONU alt satır; panel yüksekliği azaltıldı. */
.ild-wd-course-head{
  padding:10px 14px!important;
  gap:10px!important;
  align-items:center!important;
}

.ild-wd-course-head > div:first-child{
  min-width:0!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  column-gap:12px!important;
  row-gap:2px!important;
  align-items:baseline!important;
}

/* 1. seviye: ders adı */
.ild-wd-course-label{
  grid-column:1!important;
  grid-row:1!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  font-size:1.32rem!important;
  line-height:1.05!important;
  font-weight:1000!important;
  white-space:nowrap!important;
}

/* 2. seviye: tema adı — ders adının hemen yanında */
.ild-wd-course-head h2{
  grid-column:2!important;
  grid-row:1!important;
  margin:0!important;
  min-width:0!important;
  font-size:1.08rem!important;
  line-height:1.14!important;
  font-weight:950!important;
}

/* 3. seviye: konu / haftalık odak */
.ild-wd-course-head p{
  grid-column:1 / -1!important;
  grid-row:2!important;
  margin:1px 0 0!important;
  font-size:.88rem!important;
  line-height:1.25!important;
  font-weight:760!important;
}

/* Saat rozeti de paneli gereksiz büyütmesin. */
.ild-wd-course-meta{
  align-self:center!important;
}
.ild-wd-course-meta>span{
  min-height:31px!important;
  padding:5px 9px!important;
  font-size:.74rem!important;
  border-radius:10px!important;
}

/* Mobilde tema gerekirse aynı satırdan doğal biçimde aşağı sarılabilir. */
@media(max-width:700px){
  .ild-wd-course-head{
    padding:9px 10px!important;
    gap:7px!important;
  }
  .ild-wd-course-head > div:first-child{
    grid-template-columns:auto minmax(0,1fr)!important;
    column-gap:8px!important;
    row-gap:2px!important;
  }
  .ild-wd-course-label{
    font-size:1.12rem!important;
  }
  .ild-wd-course-head h2{
    font-size:.98rem!important;
  }
  .ild-wd-course-head p{
    font-size:.82rem!important;
    line-height:1.23!important;
  }
  .ild-wd-course-meta>span{
    min-height:28px!important;
    padding:4px 7px!important;
    font-size:.69rem!important;
  }
}
/* ILD v21.5.13 — Ders kutularında daha sıkı satır ritmi */
.ild-wd-course .ild-wd-textbook{
  margin:7px 10px 0!important;
  padding:7px 10px!important;
  gap:7px!important;
  line-height:1.30!important;
}
.ild-wd-course .ild-wd-textbook b,
.ild-wd-course .ild-wd-textbook span{
  line-height:1.30!important;
}

/* Öğrenme çıktıları arasındaki boşlukları azalt */
.ild-wd-course .ild-wd-outcome-list{
  padding:7px 10px 9px!important;
  gap:5px!important;
}
.ild-wd-course .ild-wd-outcome{
  border-radius:11px!important;
}

/* Her öğrenme çıktısı satırını daha kısa yap */
.ild-wd-course .ild-wd-outcome-head{
  padding:6px 9px!important;
  gap:8px!important;
  min-height:0!important;
  align-items:center!important;
}
.ild-wd-course .ild-wd-outcome-code{
  min-width:92px!important;
  min-height:30px!important;
  padding:3px 8px!important;
  border-radius:9px!important;
  font-size:.72rem!important;
  line-height:1!important;
}
.ild-wd-course .ild-wd-outcome-head h3{
  margin:0!important;
  font-size:.91rem!important;
  line-height:1.20!important;
}

/* Süreç bileşenleri varsa onlar da aynı kompakt ritimde */
.ild-wd-course .ild-wd-components{
  padding:5px 7px 7px!important;
  gap:4px!important;
}
.ild-wd-course .ild-wd-component{
  border-radius:9px!important;
}
.ild-wd-course .ild-wd-component-row{
  padding:5px 7px!important;
  gap:7px!important;
  min-height:0!important;
}
.ild-wd-course .ild-wd-component-letter{
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
  font-size:.72rem!important;
}
.ild-wd-course .ild-wd-component-row p{
  margin:0!important;
  line-height:1.28!important;
}

/* Ders kutusunun alt açılır plan satırı da gereksiz yüksek olmasın */
.ild-wd-course .ild-wd-extra{
  margin:0 10px 9px!important;
}
.ild-wd-course .ild-wd-extra summary{
  min-height:0!important;
  padding:7px 9px!important;
  line-height:1.20!important;
}

/* Materyal yoksa arada kalan görsel boşluğu minimumda tut */
.ild-wd-course .ild-wd-outcome-materials:empty,
.ild-wd-course .ild-wd-component-materials:empty{
  display:none!important;
}

@media(max-width:700px){
  .ild-wd-course .ild-wd-textbook{
    margin:6px 7px 0!important;
    padding:7px 8px!important;
  }
  .ild-wd-course .ild-wd-outcome-list{
    padding:6px 7px 8px!important;
    gap:4px!important;
  }
  .ild-wd-course .ild-wd-outcome-head{
    padding:6px 7px!important;
    gap:6px!important;
  }
  .ild-wd-course .ild-wd-outcome-code{
    min-width:84px!important;
    min-height:28px!important;
    padding:3px 6px!important;
    font-size:.68rem!important;
  }
  .ild-wd-course .ild-wd-outcome-head h3{
    font-size:.87rem!important;
  }
  .ild-wd-course .ild-wd-components{
    padding:4px 6px 6px!important;
  }
  .ild-wd-course .ild-wd-component-row{
    padding:5px 6px!important;
  }
  .ild-wd-course .ild-wd-extra{
    margin:0 7px 8px!important;
  }
}
/* ILD v21.5.14 — Ana sayfa Öğretmen Masası küçük TEST etiketi */
.ild-home-weekly-before-recent .ild-weekly-launcher h2{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:7px!important;
}
.ild-home-weekly-before-recent .ild-weekly-title-test-badge{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:2px 6px!important;
  border:1px solid #f0c36f!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,#fff8df 0%,#ffedb6 100%)!important;
  color:#9a6200!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8)!important;
  font-size:.54rem!important;
  line-height:1!important;
  font-weight:1000!important;
  letter-spacing:.06em!important;
  vertical-align:middle!important;
}
html[data-bs-theme="dark"] .ild-home-weekly-before-recent .ild-weekly-title-test-badge,
body.dark-mode .ild-home-weekly-before-recent .ild-weekly-title-test-badge,
body.theme-dark .ild-home-weekly-before-recent .ild-weekly-title-test-badge{
  border-color:#8b6a2c!important;
  background:linear-gradient(180deg,#493b1f 0%,#302713 100%)!important;
  color:#ffd978!important;
}
/* ILD v21.5.15 — Telefon: Öğretmen Masası tamamen ortalı + sınıf kartlarının hemen altında */
@media(max-width:767.98px){
  /* Sınıf kartlarının hemen altında nefes payı; aradaki mobil menü/atölyeler artık önce gelmez. */
  .ild-home-grade-section + .ild-home-weekly-before-recent{
    margin-top:7px!important;
    margin-bottom:10px!important;
  }

  .ild-home-weekly-before-recent .ild-weekly-launcher{
    position:relative!important;
    width:100%!important;
    margin:0!important;
    padding:10px 10px 11px!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    text-align:center!important;
  }

  /* Soldaki dikey mavi vurgu çizgisi telefonda kaldırılır. */
  .ild-home-weekly-before-recent .ild-weekly-launcher:before{
    display:none!important;
    content:none!important;
  }

  .ild-home-weekly-before-recent .ild-weekly-launcher-copy{
    width:100%!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    gap:3px!important;
  }

  .ild-home-weekly-before-recent .ild-weekly-launcher h2{
    width:100%!important;
    margin:0!important;
    justify-content:center!important;
    text-align:center!important;
    font-size:1.08rem!important;
    line-height:1.12!important;
  }

  .ild-home-weekly-before-recent .ild-weekly-launcher-kicker{
    width:100%!important;
    margin:1px 0 0!important;
    justify-content:center!important;
    text-align:center!important;
    gap:5px!important;
  }
  .ild-home-weekly-before-recent .ild-weekly-launcher-kicker span,
  .ild-home-weekly-before-recent .ild-weekly-launcher-kicker b{
    text-align:center!important;
  }

  .ild-home-weekly-before-recent .ild-weekly-grade-launchers{
    width:100%!important;
    min-width:0!important;
    margin:0 auto!important;
    grid-template-columns:1fr 1fr!important;
    gap:7px!important;
    justify-content:center!important;
  }

  .ild-home-weekly-before-recent .ild-weekly-grade-launcher,
  .ild-home-weekly-before-recent .ild-weekly-grade-launcher.is-disabled{
    min-height:44px!important;
    padding:5px 7px!important;
    justify-content:center!important;
    align-items:center!important;
    text-align:center!important;
    gap:7px!important;
  }

  .ild-home-weekly-before-recent .ild-weekly-grade-launcher > span:last-child{
    display:flex!important;
    min-width:0!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
  }
  .ild-home-weekly-before-recent .ild-weekly-grade-launcher strong,
  .ild-home-weekly-before-recent .ild-weekly-grade-launcher small{
    width:100%!important;
    text-align:center!important;
  }

  .ild-home-weekly-before-recent .ild-weekly-title-test-badge{
    margin:0!important;
  }
}
/* ILD v21.5.16 — Ana sayfa TEST rozeti başlığın hemen sağında */
.ild-home-weekly-before-recent .ild-weekly-launcher h2{
  width:auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:nowrap!important;
  gap:7px!important;
}
.ild-home-weekly-before-recent .ild-weekly-title-test-badge{
  flex:0 0 auto!important;
  margin:0!important;
  transform:translateY(1px);
}
@media(max-width:767.98px){
  .ild-home-weekly-before-recent .ild-weekly-launcher h2{
    width:auto!important;
    max-width:100%!important;
    margin:0 auto!important;
    justify-content:center!important;
    white-space:nowrap!important;
  }
}

/* ILD v21.5.17 — Haftalık Öğretmen Masası ayrıntı sayfaları / telefon final düzeni */
@media(max-width:700px){

  /* 1) Sayfa iskeleti: tek, temiz dikey akış */
  body.ild-weekly-desk-page{
    overflow-x:hidden!important;
  }
  .ild-weekly-desk-shell{
    width:100%!important;
    padding:6px 7px 28px!important;
    background:linear-gradient(180deg,#f4f9fc 0%,#eef6fb 100%)!important;
  }
  .ild-weekly-desk{
    width:100%!important;
    max-width:100%!important;
    margin:0 auto!important;
  }

  /* 2) Üst başlık: kısa ve merkezde */
  .ild-wd-hero{
    margin:0 0 7px!important;
    padding:10px 10px 11px!important;
    border-radius:15px!important;
    box-shadow:0 5px 14px rgba(22,87,126,.12)!important;
  }
  .ild-wd-eyebrow{
    margin:0 0 2px!important;
    font-size:.66rem!important;
    line-height:1.1!important;
    letter-spacing:.055em!important;
  }
  .ild-wd-hero h1{
    max-width:100%!important;
    font-size:1.08rem!important;
    line-height:1.16!important;
    letter-spacing:-.01em!important;
  }

  /* 3) Hafta ve sınıf seçimi: iki düzenli satır */
  .ild-wd-toolbar{
    display:block!important;
    margin:0 0 7px!important;
    padding:7px!important;
    border-radius:13px!important;
    box-shadow:0 4px 12px rgba(32,80,108,.06)!important;
  }
  .ild-wd-week-nav{
    display:grid!important;
    grid-template-columns:74px minmax(0,1fr) 74px!important;
    gap:5px!important;
    align-items:stretch!important;
  }
  .ild-wd-week-nav>a,
  .ild-wd-week-nav>span{
    min-width:0!important;
    min-height:36px!important;
  }
  .ild-wd-week-nav>a{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:6px 5px!important;
    border-radius:9px!important;
    font-size:0!important;
    text-align:center!important;
  }
  .ild-wd-week-nav>a:first-child:after{
    content:"← Önceki"!important;
    font-size:.66rem!important;
    font-weight:900!important;
  }
  .ild-wd-week-nav>a:last-child:after{
    content:"Sonraki →"!important;
    font-size:.66rem!important;
    font-weight:900!important;
  }
  .ild-wd-week-nav label{
    width:100%!important;
    min-width:0!important;
  }
  .ild-wd-week-nav label span{
    display:none!important;
  }
  .ild-wd-week-nav select{
    width:100%!important;
    min-height:36px!important;
    padding:5px 24px 5px 8px!important;
    border-radius:9px!important;
    text-align:center!important;
    text-align-last:center!important;
    font-size:.75rem!important;
    font-weight:900!important;
  }
  .ild-wd-grade-switch{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:5px!important;
    margin-top:6px!important;
  }
  .ild-wd-grade-switch a{
    min-height:34px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:6px 8px!important;
    border-radius:9px!important;
    font-size:.72rem!important;
    font-weight:900!important;
  }

  /* 4) Ders kısayolları: tek yatay şerit, sticky değil */
  .ild-wd-course-jump{
    position:static!important;
    top:auto!important;
    width:100%!important;
    margin:0 0 8px!important;
    padding:5px!important;
    gap:5px!important;
    border-radius:12px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    white-space:nowrap!important;
    box-shadow:none!important;
  }
  .ild-wd-course-jump a{
    padding:6px 9px!important;
    border-radius:8px!important;
    font-size:.68rem!important;
    line-height:1!important;
  }

  /* 5) Ders kartları: yakın, düzenli, tek kolon */
  .ild-wd-course-list{
    display:grid!important;
    gap:10px!important;
  }
  .ild-wd-course{
    width:100%!important;
    margin:0!important;
    border-radius:15px!important;
    box-shadow:0 6px 16px rgba(31,74,102,.07)!important;
    overflow:hidden!important;
  }
  .ild-wd-course:before{
    width:4px!important;
  }

  /* Ders + tema aynı satır, konu alt satır, saat sağda */
  .ild-wd-course-head{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:7px!important;
    align-items:center!important;
    padding:9px 9px 9px 11px!important;
  }
  .ild-wd-course-head > div:first-child{
    min-width:0!important;
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    column-gap:7px!important;
    row-gap:2px!important;
    align-items:baseline!important;
  }
  .ild-wd-course-label{
    grid-column:1!important;
    grid-row:1!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    font-size:1rem!important;
    line-height:1.08!important;
    white-space:nowrap!important;
  }
  .ild-wd-course-head h2{
    grid-column:2!important;
    grid-row:1!important;
    min-width:0!important;
    margin:0!important;
    font-size:.86rem!important;
    line-height:1.15!important;
  }
  .ild-wd-course-head p{
    grid-column:1 / -1!important;
    grid-row:2!important;
    margin:1px 0 0!important;
    font-size:.75rem!important;
    line-height:1.22!important;
  }
  .ild-wd-course-meta{
    align-self:center!important;
    justify-content:flex-end!important;
    margin:0!important;
  }
  .ild-wd-course-meta>span{
    min-height:27px!important;
    padding:4px 7px!important;
    border-radius:8px!important;
    font-size:.65rem!important;
    white-space:nowrap!important;
  }

  /* 6) Ders kitabı akışı: tek kompakt bilgi kutusu */
  .ild-wd-textbook{
    margin:6px 6px 0!important;
    padding:7px 8px!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:2px!important;
    border-radius:9px!important;
    font-size:.76rem!important;
    line-height:1.28!important;
  }
  .ild-wd-textbook b{
    font-size:.69rem!important;
    line-height:1.15!important;
    white-space:normal!important;
  }
  .ild-wd-textbook span{
    font-size:.76rem!important;
    line-height:1.30!important;
  }

  /* 7) Öğrenme çıktıları: kod + başlık tek düzenli satır */
  .ild-wd-outcome-list{
    padding:6px!important;
    gap:5px!important;
  }
  .ild-wd-outcome{
    border-radius:10px!important;
    overflow:hidden!important;
  }
  .ild-wd-outcome-head{
    display:grid!important;
    grid-template-columns:76px minmax(0,1fr)!important;
    align-items:center!important;
    gap:7px!important;
    min-height:0!important;
    padding:6px 7px!important;
  }
  .ild-wd-outcome-code{
    min-width:0!important;
    width:76px!important;
    min-height:28px!important;
    padding:4px 5px!important;
    border-radius:8px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:.68rem!important;
    line-height:1!important;
    text-align:center!important;
  }
  .ild-wd-outcome-head h3{
    margin:0!important;
    font-size:.80rem!important;
    line-height:1.22!important;
  }

  /* 8) Süreç bileşenleri: gereksiz iç kutu boşluğu yok */
  .ild-wd-components{
    padding:4px 5px 6px!important;
    gap:4px!important;
  }
  .ild-wd-component{
    border-radius:8px!important;
  }
  .ild-wd-component-row{
    min-height:0!important;
    padding:5px 6px!important;
    gap:6px!important;
    align-items:flex-start!important;
  }
  .ild-wd-component-letter{
    flex:0 0 25px!important;
    width:25px!important;
    height:25px!important;
    font-size:.68rem!important;
    border-radius:7px!important;
  }
  .ild-wd-component-row p{
    margin:1px 0 0!important;
    font-size:.76rem!important;
    line-height:1.30!important;
  }
  .ild-wd-component-materials,
  .ild-wd-outcome-materials{
    padding:0 5px 5px!important;
  }
  .ild-wd-match-label{
    margin:0 0 4px!important;
    font-size:.62rem!important;
    line-height:1.15!important;
  }

  /* 9) Materyal kartları: üstte bilgi, altta tek büyük eylem */
  .ild-wd-material{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:6px!important;
    padding:7px!important;
    border-radius:9px!important;
  }
  .ild-wd-material-main{
    width:100%!important;
    min-width:0!important;
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    gap:5px!important;
  }
  .ild-wd-material-type{
    flex:0 0 auto!important;
    padding:4px 6px!important;
    font-size:.62rem!important;
    border-radius:7px!important;
  }
  .ild-wd-material-title{
    flex:1 1 180px!important;
    min-width:0!important;
    white-space:normal!important;
    font-size:.76rem!important;
    line-height:1.22!important;
  }
  .ild-wd-material-pages{
    flex:0 0 auto!important;
    font-size:.64rem!important;
  }
  .ild-wd-material-actions{
    width:100%!important;
    display:block!important;
  }
  .ild-wd-material-actions a.is-open{
    width:100%!important;
    min-width:0!important;
    min-height:38px!important;
    padding:8px 10px!important;
    border-radius:9px!important;
    font-size:.76rem!important;
  }

  /* 10) Sitemizdeki Etkinlikler: ayrı ama kompakt vitrin */
  .ild-wd-other-materials{
    margin:6px!important;
    border-radius:11px!important;
    box-shadow:0 4px 12px rgba(44,53,70,.07)!important;
  }
  .ild-wd-other-materials>summary{
    min-height:40px!important;
    padding:7px 38px 7px 8px!important;
    gap:7px!important;
    font-size:.78rem!important;
  }
  .ild-wd-other-materials>summary:before{
    flex:0 0 26px!important;
    width:26px!important;
    height:26px!important;
    border-radius:8px!important;
    font-size:.76rem!important;
  }
  .ild-wd-other-materials>summary:after{
    right:8px!important;
    width:24px!important;
    height:24px!important;
    border-radius:7px!important;
  }
  .ild-wd-other-materials>div{
    padding:6px!important;
  }

  /* 11) Serbest etkinlik ve belirli gün blokları */
  .ild-wd-free-plan{
    margin:6px!important;
    gap:6px!important;
    grid-template-columns:1fr!important;
  }
  .ild-wd-free-plan-main,
  .ild-wd-free-plan-side{
    grid-template-columns:1fr!important;
    gap:5px!important;
  }
  .ild-wd-free-block,
  .ild-wd-free-mini{
    padding:7px!important;
    border-radius:9px!important;
  }
  .ild-wd-free-block>span,
  .ild-wd-free-mini>span{
    font-size:.61rem!important;
  }
  .ild-wd-free-block strong{
    font-size:.78rem!important;
    line-height:1.25!important;
  }
  .ild-wd-free-block p,
  .ild-wd-free-mini p{
    font-size:.72rem!important;
    line-height:1.28!important;
  }

  .ild-wd-extra{
    margin:0 6px 7px!important;
    border-radius:9px!important;
  }
  .ild-wd-extra summary{
    min-height:34px!important;
    padding:7px 8px!important;
    font-size:.72rem!important;
    line-height:1.15!important;
  }
  .ild-wd-extra p{
    margin:0!important;
    padding:7px 8px!important;
    font-size:.72rem!important;
    line-height:1.3!important;
  }

  /* 12) Alt kaynak notu: geri planda ve temiz */
  .ild-wd-source-note{
    margin:9px 3px 0!important;
    padding:8px!important;
    border-radius:9px!important;
    font-size:.60rem!important;
    line-height:1.35!important;
    text-align:center!important;
  }
}

/* Çok dar telefonlarda tema satırı sıkışmasın. */
@media(max-width:390px){
  .ild-wd-course-head{
    grid-template-columns:minmax(0,1fr) auto!important;
  }
  .ild-wd-course-head > div:first-child{
    grid-template-columns:1fr!important;
    row-gap:1px!important;
  }
  .ild-wd-course-label{
    grid-column:1!important;
    grid-row:1!important;
    white-space:normal!important;
  }
  .ild-wd-course-head h2{
    grid-column:1!important;
    grid-row:2!important;
  }
  .ild-wd-course-head p{
    grid-column:1!important;
    grid-row:3!important;
  }
  .ild-wd-week-nav{
    grid-template-columns:68px minmax(0,1fr) 68px!important;
  }
}
/* ILD v21.5.18 — Telefon: DERS → TEMA → KONU başlıkları tam ortalı */
@media(max-width:700px){

  .ild-wd-course-head{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    padding:9px 10px 10px!important;
    text-align:center!important;
  }

  .ild-wd-course-head > div:first-child{
    width:100%!important;
    min-width:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:2px!important;
    text-align:center!important;
  }

  /* 1. satır: DERS */
  .ild-wd-course-label{
    display:block!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    font-size:1.02rem!important;
    line-height:1.08!important;
    font-weight:1000!important;
    text-align:center!important;
    white-space:normal!important;
  }

  /* 2. satır: TEMA */
  .ild-wd-course-head h2{
    display:block!important;
    width:100%!important;
    margin:0!important;
    min-width:0!important;
    font-size:.88rem!important;
    line-height:1.16!important;
    font-weight:950!important;
    text-align:center!important;
  }

  /* 3. satır: KONU */
  .ild-wd-course-head p{
    display:block!important;
    width:100%!important;
    margin:0!important;
    font-size:.76rem!important;
    line-height:1.24!important;
    font-weight:760!important;
    text-align:center!important;
  }

  /* Ders saati de başlık bloğunun altında merkezde dursun. */
  .ild-wd-course-meta{
    width:100%!important;
    margin:2px 0 0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
  }

  .ild-wd-course-meta>span{
    min-height:26px!important;
    padding:4px 8px!important;
    border-radius:8px!important;
    font-size:.64rem!important;
  }
}

/* Çok dar telefonlarda da aynı hiyerarşi korunur. */
@media(max-width:390px){
  .ild-wd-course-head > div:first-child{
    display:flex!important;
    flex-direction:column!important;
  }
  .ild-wd-course-label,
  .ild-wd-course-head h2,
  .ild-wd-course-head p{
    width:100%!important;
    text-align:center!important;
  }
}
/* ILD v21.5.19 — Telefon: saat üst solda, dersle aynı satır + çıktı kodları belirgin */
@media(max-width:700px){

  /* Üst panel ayrı saat satırı açmasın. */
  .ild-wd-course-head{
    position:relative!important;
    padding:9px 10px 10px!important;
  }

  /* Saat: ders adıyla aynı yatay hatta, sol üstte sabit. */
  .ild-wd-course-meta{
    position:absolute!important;
    left:9px!important;
    top:8px!important;
    width:auto!important;
    margin:0!important;
    display:block!important;
    z-index:3!important;
  }
  .ild-wd-course-meta>span{
    min-height:25px!important;
    padding:4px 7px!important;
    border-radius:8px!important;
    font-size:.62rem!important;
    line-height:1!important;
    font-weight:950!important;
    white-space:nowrap!important;
    box-shadow:0 2px 6px rgba(31,74,102,.08)!important;
  }

  /* Ders adı ortada kalır; saatle çakışmaması için iki yanda eşit güvenli alan. */
  .ild-wd-course-label{
    padding-left:58px!important;
    padding-right:58px!important;
    box-sizing:border-box!important;
  }

  /* Öğrenme çıktısı kod kutuları daha net ve güçlü. */
  .ild-wd-outcome-code{
    width:82px!important;
    min-width:82px!important;
    min-height:32px!important;
    padding:5px 7px!important;
    border:2px solid #4aaed8!important;
    border-radius:9px!important;
    background:linear-gradient(180deg,#f4fbff 0%,#dff3fb 100%)!important;
    color:#0875a8!important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.95),
      0 2px 6px rgba(19,118,164,.12)!important;
    font-size:.69rem!important;
    line-height:1!important;
    font-weight:1000!important;
    letter-spacing:.01em!important;
  }

  .ild-wd-outcome-head{
    grid-template-columns:82px minmax(0,1fr)!important;
    gap:8px!important;
  }
}

/* Çok dar telefonlarda saat ve ders adı çakışmasın. */
@media(max-width:390px){
  .ild-wd-course-label{
    padding-left:52px!important;
    padding-right:52px!important;
    font-size:.98rem!important;
  }
  .ild-wd-course-meta{
    left:7px!important;
    top:7px!important;
  }
  .ild-wd-course-meta>span{
    padding:4px 6px!important;
    font-size:.59rem!important;
  }
  .ild-wd-outcome-code{
    width:78px!important;
    min-width:78px!important;
  }
  .ild-wd-outcome-head{
    grid-template-columns:78px minmax(0,1fr)!important;
  }
}
/* ILD v21.5.20 — Telefon: öğrenme çıktısı kodu içeriği kadar geniş + doygun yeşil */
@media(max-width:700px){

  .ild-wd-outcome-head{
    grid-template-columns:max-content minmax(0,1fr)!important;
    gap:8px!important;
  }

  .ild-wd-outcome-code{
    width:max-content!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:30px!important;
    padding:5px 8px!important;
    border:2px solid #128346!important;
    border-radius:9px!important;
    background:linear-gradient(180deg,#31c76f 0%,#159a50 100%)!important;
    color:#ffffff!important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.30),
      0 2px 6px rgba(18,131,70,.20)!important;
    font-size:.69rem!important;
    line-height:1!important;
    font-weight:1000!important;
    letter-spacing:.01em!important;
    white-space:nowrap!important;
  }
}

@media(max-width:390px){
  .ild-wd-outcome-head{
    grid-template-columns:max-content minmax(0,1fr)!important;
  }
  .ild-wd-outcome-code{
    width:max-content!important;
    min-width:0!important;
    padding:5px 7px!important;
    font-size:.67rem!important;
  }
}
/* ILD v21.5.21 — Ana sayfa: "Öğretmen Masası" başlığı tek satır */
@media(min-width:768px){
  .ild-home-weekly-before-recent .ild-weekly-launcher{
    grid-template-columns:minmax(310px,1fr) auto!important;
  }

  .ild-home-weekly-before-recent .ild-weekly-launcher-copy{
    min-width:310px!important;
  }

  .ild-home-weekly-before-recent .ild-weekly-launcher h2{
    width:max-content!important;
    max-width:none!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    flex-wrap:nowrap!important;
    white-space:nowrap!important;
    font-size:1.06rem!important;
    line-height:1.08!important;
  }

  .ild-home-weekly-before-recent .ild-weekly-title-test-badge{
    flex:0 0 auto!important;
    white-space:nowrap!important;
  }

  .ild-home-weekly-before-recent .ild-weekly-grade-launchers{
    min-width:0!important;
  }
}
/* ILD v21.5.22b — Sınıf kutularının eski ölçülerini KORU; yalnız grubu sola kaydır */
@media(min-width:768px){
  .ild-home-weekly-before-recent .ild-weekly-grade-launchers{
    transform:translateX(-30px)!important;
  }
}

/* Daha dar masaüstünde taşma riskine karşı kaydırmayı biraz azalt. */
@media(min-width:768px) and (max-width:1100px){
  .ild-home-weekly-before-recent .ild-weekly-grade-launchers{
    transform:translateX(-16px)!important;
  }
}

/* Telefonda mevcut 2x2 ortalı yerleşime dokunma. */
@media(max-width:767.98px){
  .ild-home-weekly-before-recent .ild-weekly-grade-launchers{
    transform:none!important;
  }
}
/* ILD v21.5.23 — Haftalık detay: hafta + tam tarih aralığı belirgin */
.ild-wd-week-date{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin:8px auto 0;
  padding:7px 12px;
  border:1px solid rgba(255,255,255,.42);
  border-radius:999px;
  background:rgba(255,255,255,.18);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28);
  color:#fff;
  font-family:Nunito,system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:.84rem;
  line-height:1.1;
  font-weight:850;
  text-align:center;
  backdrop-filter:blur(6px);
}
.ild-wd-week-date strong{
  font-weight:1000;
}
.ild-wd-week-date b{
  font-weight:900;
}
.ild-wd-week-date span{
  opacity:.72;
}

@media(max-width:700px){
  .ild-wd-week-date{
    margin-top:6px;
    padding:6px 10px;
    gap:6px;
    font-size:.72rem;
    line-height:1.1;
    white-space:nowrap;
  }
}

@media(max-width:370px){
  .ild-wd-week-date{
    white-space:normal;
    flex-wrap:wrap;
    row-gap:3px;
  }
}
/* ILD v21.5.24 — Hafta + tam tarih aralığı: ana bilgi rozeti */
.ild-wd-eyebrow{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  max-width:calc(100% - 20px)!important;
  margin:0 auto 7px!important;
  padding:7px 14px!important;
  border:2px solid rgba(255,255,255,.92)!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,#ffffff 0%,#eaf7ff 100%)!important;
  color:#0b5f8d!important;
  box-shadow:
    0 4px 12px rgba(2,58,98,.18),
    inset 0 1px 0 rgba(255,255,255,1)!important;
  font-size:.88rem!important;
  line-height:1.1!important;
  font-weight:1000!important;
  letter-spacing:.025em!important;
  text-align:center!important;
  white-space:nowrap!important;
}

.ild-wd-hero h1{
  margin-top:0!important;
}

/* Telefonda da tarih önemli bir veri olarak güçlü görünür. */
@media(max-width:700px){
  .ild-wd-eyebrow{
    max-width:100%!important;
    margin-bottom:6px!important;
    padding:6px 10px!important;
    border-width:2px!important;
    font-size:.72rem!important;
    line-height:1.15!important;
    letter-spacing:.012em!important;
    white-space:normal!important;
    flex-wrap:wrap!important;
  }
}

/* Çok dar telefonlarda satır taşmadan okunabilir kalsın. */
@media(max-width:380px){
  .ild-wd-eyebrow{
    padding:6px 8px!important;
    font-size:.68rem!important;
  }
}
/* ILD v21.5.30 — Belirli Gün ve Haftalar: derslerden bağımsız, sayfa sonu bölümü */
.ild-wd-special-days{
  margin:18px 0 12px;
  padding:14px;
  border:2px solid #e5a62e;
  border-radius:18px;
  background:
    radial-gradient(circle at 100% 0%,rgba(255,211,111,.22),transparent 28%),
    linear-gradient(180deg,#fffdf8 0%,#fff8e8 100%);
  box-shadow:0 9px 22px rgba(122,83,10,.10),inset 0 1px 0 #fff;
}
.ild-wd-special-days-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:0 2px 10px;
  border-bottom:1px solid #ecd49e;
}
.ild-wd-special-days-head>div{
  min-width:0;
}
.ild-wd-special-days-kicker{
  display:block;
  margin-bottom:2px;
  color:#a86a00;
  font-size:.66rem;
  line-height:1;
  font-weight:1000;
  letter-spacing:.08em;
}
.ild-wd-special-days-head h2{
  margin:0;
  color:#293547;
  font-size:1.18rem;
  line-height:1.15;
  font-weight:1000;
}
.ild-wd-special-days-week{
  flex:0 0 auto;
  padding:6px 9px;
  border:1px solid #e5ba58;
  border-radius:10px;
  background:#fff3c9;
  color:#8b5800;
  font-size:.72rem;
  font-weight:1000;
}
.ild-wd-special-days-list{
  display:grid;
  gap:6px;
  padding:10px 0 0;
}
.ild-wd-special-day-item{
  display:flex;
  align-items:flex-start;
  gap:8px;
  padding:8px 10px;
  border:1px solid #ead8ae;
  border-radius:11px;
  background:rgba(255,255,255,.78);
  color:#34485a;
}
.ild-wd-special-day-item>span{
  flex:0 0 22px;
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  border-radius:7px;
  background:#f2ad2e;
  color:#fff;
  font-size:.68rem;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35);
}
.ild-wd-special-day-item strong{
  padding-top:1px;
  font-size:.82rem;
  line-height:1.32;
  font-weight:850;
}
.ild-wd-special-coloring{
  margin-top:10px;
  padding:10px;
  border:2px dashed #db9630;
  border-radius:13px;
  background:#fff;
}
.ild-wd-special-coloring-title{
  display:flex;
  align-items:center;
  gap:9px;
  margin-bottom:8px;
}
.ild-wd-special-coloring-title>span{
  flex:0 0 32px;
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:linear-gradient(180deg,#ffbc45,#ef8e17);
  font-size:1rem;
}
.ild-wd-special-coloring-title div{
  min-width:0;
  display:flex;
  flex-direction:column;
}
.ild-wd-special-coloring-title b{
  color:#2f3f4e;
  font-size:.86rem;
  line-height:1.2;
  font-weight:1000;
}
.ild-wd-special-coloring-title small{
  margin-top:2px;
  color:#738496;
  font-size:.68rem;
  line-height:1.25;
  font-weight:700;
}
.ild-wd-special-coloring-materials{
  display:grid;
  gap:7px;
}
.ild-wd-special-coloring .ild-wd-material{
  border-color:#edcf91!important;
  background:linear-gradient(180deg,#fffdfa,#fff8e9)!important;
}
.ild-wd-special-coloring .ild-wd-material-type{
  background:linear-gradient(180deg,#f7aa2e,#dc7d0f)!important;
  color:#fff!important;
}
.ild-wd-special-coloring .ild-wd-material-actions a.is-open{
  background:linear-gradient(180deg,#f5a623 0%,#df8210 100%)!important;
  border-color:#cf7509!important;
  box-shadow:0 5px 13px rgba(207,117,9,.20)!important;
}
.ild-wd-special-coloring .ild-wd-material-actions a.is-open:before{
  background:linear-gradient(100deg,transparent 0%,rgba(255,255,255,.16) 42%,rgba(255,255,255,.72) 50%,rgba(255,255,255,.16) 58%,transparent 100%)!important;
}

/* Ders altında artık yalnız Okul Temelli Planlama görünür. */
.ild-wd-school-planning summary{
  font-weight:900;
}

@media(max-width:700px){
  .ild-wd-special-days{
    margin:11px 0 9px;
    padding:9px;
    border-radius:14px;
  }
  .ild-wd-special-days-head{
    padding-bottom:8px;
  }
  .ild-wd-special-days-head h2{
    font-size:1rem;
  }
  .ild-wd-special-days-week{
    padding:5px 7px;
    font-size:.66rem;
  }
  .ild-wd-special-day-item{
    padding:7px 8px;
  }
  .ild-wd-special-day-item strong{
    font-size:.76rem;
    line-height:1.28;
  }
  .ild-wd-special-coloring{
    margin-top:8px;
    padding:7px;
  }
  .ild-wd-special-coloring-title{
    margin-bottom:6px;
  }
  .ild-wd-special-coloring-title b{
    font-size:.79rem;
  }
  .ild-wd-special-coloring-title small{
    font-size:.63rem;
  }
}
/* ILD — Ana sayfa Öğretmen Masası tarihini koyu siyah göster */
.ild-home-weekly-before-recent .ild-weekly-launcher-kicker b{
  color:#111827!important;
}

/* Karanlık temada okunabilirliği koru. */
html[data-bs-theme="dark"] .ild-home-weekly-before-recent .ild-weekly-launcher-kicker b,
body.dark-mode .ild-home-weekly-before-recent .ild-weekly-launcher-kicker b,
body.theme-dark .ild-home-weekly-before-recent .ild-weekly-launcher-kicker b{
  color:#f3f7fb!important;
}
/* ILD — Belirli Gün ve Haftalar: yalnız ad + tarih */
.ild-wd-special-days{
  margin:14px 0 10px!important;
  padding:12px!important;
  border:1px solid #e4b14d!important;
  border-radius:15px!important;
  background:#fffaf0!important;
  box-shadow:none!important;
}
.ild-wd-special-days-head{
  display:block!important;
  padding:0 2px 8px!important;
  border-bottom:1px solid #ead8ae!important;
}
.ild-wd-special-days-head h2{
  margin:0!important;
  color:#2f3948!important;
  font-size:1.05rem!important;
  line-height:1.2!important;
  font-weight:1000!important;
}
.ild-wd-special-days-kicker,
.ild-wd-special-days-week,
.ild-wd-special-coloring{
  display:none!important;
}
.ild-wd-special-days-list{
  display:grid!important;
  gap:6px!important;
  padding:8px 0 0!important;
}
.ild-wd-special-day-item{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  padding:8px 10px!important;
  border:1px solid #ead8ae!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#35485a!important;
}
.ild-wd-special-day-item>span[aria-hidden="true"]{
  display:none!important;
}
.ild-wd-special-day-item strong{
  min-width:0!important;
  padding:0!important;
  font-size:.80rem!important;
  line-height:1.25!important;
  font-weight:900!important;
}
.ild-wd-special-day-date{
  flex:0 0 auto!important;
  padding:5px 8px!important;
  border-radius:8px!important;
  background:#fff1c8!important;
  color:#855400!important;
  font-size:.71rem!important;
  line-height:1!important;
  font-weight:1000!important;
  white-space:nowrap!important;
}

@media(max-width:700px){
  .ild-wd-special-days{
    margin:10px 0 8px!important;
    padding:8px!important;
    border-radius:12px!important;
  }
  .ild-wd-special-days-head{
    padding-bottom:6px!important;
  }
  .ild-wd-special-days-head h2{
    font-size:.92rem!important;
  }
  .ild-wd-special-days-list{
    gap:5px!important;
    padding-top:6px!important;
  }
  .ild-wd-special-day-item{
    gap:8px!important;
    padding:7px 8px!important;
  }
  .ild-wd-special-day-item strong{
    font-size:.73rem!important;
  }
  .ild-wd-special-day-date{
    padding:4px 6px!important;
    font-size:.65rem!important;
  }
}
/* ILD — Belirli Gün ve Haftalar materyalleri .ild-wd-material ile birebir aynı görünür */
.ild-wd-special-days-list{
  display:block!important;
  padding:8px 0 0!important;
}
.ild-wd-special-days-list .ild-wd-material{
  margin:0!important;
}
.ild-wd-special-days-list .ild-wd-material + .ild-wd-material{
  margin-top:6px!important;
}
.ild-wd-special-day-text-only{
  display:flex;
  align-items:center;
  gap:8px;
  padding:9px 10px;
  border:1px solid #dce9f0;
  border-radius:11px;
  background:linear-gradient(180deg,#fff,#f8fcfe);
  color:#17435f;
  font-size:.74rem;
  font-weight:900;
}
.ild-wd-special-day-text-only span{
  color:#879ba9;
  font-size:.59rem;
  font-weight:800;
}
/* ILD — Ders Kitabı Akışı: sade iki sütunlu kompakt tablo */
.ild-wd-textbook{
  margin:12px 18px 0!important;
  padding:0!important;
  display:block!important;
  border:1px solid #dfe9ef!important;
  border-radius:12px!important;
  background:#fbfdfe!important;
  overflow:hidden!important;
  color:#405d70!important;
  font-size:.68rem!important;
  line-height:1.25!important;
}
.ild-wd-textbook-title{
  padding:8px 11px!important;
  border-bottom:1px solid #e2ebf0!important;
  background:#f6fafc!important;
  color:#315d75!important;
  font-size:.70rem!important;
  line-height:1.1!important;
  font-weight:1000!important;
}
.ild-wd-textbook-table{
  display:block!important;
  width:100%!important;
}
.ild-wd-textbook-head,
.ild-wd-textbook-row{
  display:grid!important;
  grid-template-columns:minmax(280px,440px) 78px!important;
  justify-content:start!important;
  align-items:center!important;
  column-gap:0!important;
}
.ild-wd-textbook-head{
  min-height:22px!important;
  background:#fff!important;
  color:#8093a0!important;
  font-size:.52rem!important;
  font-weight:950!important;
  text-transform:uppercase!important;
  letter-spacing:.03em!important;
}
.ild-wd-textbook-head>span,
.ild-wd-textbook-row>span{
  min-width:0!important;
  padding:5px 8px!important;
}
.ild-wd-textbook-head>span+span,
.ild-wd-textbook-row>span+span{
  border-left:1px solid #e6edf1!important;
}
.ild-wd-textbook-row{
  min-height:30px!important;
  border-top:1px solid #edf2f5!important;
  background:#fff!important;
}
.ild-wd-textbook-book{
  color:#34566b!important;
  font-size:.68rem!important;
  font-weight:820!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.ild-wd-textbook-pages{
  color:#126f9e!important;
  font-size:.68rem!important;
  font-weight:1000!important;
  text-align:center!important;
  white-space:nowrap!important;
}

@media(max-width:700px){
  .ild-wd-textbook{
    margin:9px 10px 0!important;
    border-radius:10px!important;
  }
  .ild-wd-textbook-title{
    padding:7px 9px!important;
    font-size:.66rem!important;
  }
  .ild-wd-textbook-head,
  .ild-wd-textbook-row{
    grid-template-columns:minmax(0,1fr) 72px!important;
  }
  .ild-wd-textbook-head>span,
  .ild-wd-textbook-row>span{
    padding:5px 7px!important;
  }
  .ild-wd-textbook-book{
    font-size:.63rem!important;
  }
  .ild-wd-textbook-pages{
    font-size:.64rem!important;
  }
}


/* ILD — Ders kitabı kartı: üst başlık kaldırıldı, kolon etiketleri daha küçük */
.ild-wd-textbook-title{display:none!important;}
/* ILD — Ders kitabı masaüstü tipografi ince ayarı; mobil görünüm korunur */
@media(min-width:701px){
  .ild-wd-textbook-head{
    font-size:.43rem!important;
    letter-spacing:.02em!important;
  }
  .ild-wd-textbook-book,
  .ild-wd-textbook-pages{
    color:#111!important;
    font-size:.73rem!important;
    font-weight:900!important;
  }
}
/* ILD — Masaüstü: DERS KİTABI / SAYFA kolon başlık boyutu kesin düzeltme */
@media(min-width:701px){
  .ild-wd-textbook .ild-wd-textbook-head > span{
    font-size:.76rem!important;
    line-height:1.08!important;
    font-weight:900!important;
    letter-spacing:.012em!important;
  }
}
/* ILD — Masaüstü: SAYFA başlığı ile sayfa verisini aynı eksende ortala */
@media(min-width:701px){
  .ild-wd-textbook .ild-wd-textbook-head > span:nth-child(2),
  .ild-wd-textbook .ild-wd-textbook-row > .ild-wd-textbook-pages{
    text-align:center!important;
    justify-self:stretch!important;
  }
}
/* ============================================================
 * v1.0.4 — MOBİL İLK DOKUNUŞTA YENİDEN DİZİLME / TEXT INFLATION FIX
 *
 * Bazı Android/Chromium tabanlı tarayıcılarda ilk kullanıcı etkileşiminde
 * metin büyütme (text autosizing / font inflation) yeniden hesaplanabiliyor.
 * Bu, Öğretmen Masası ders başlığının ilk açılıştaki ölçüsünden farklı
 * ölçüye geçmesine ve tüm kartın aniden kısalıp yeniden akmasına yol açabiliyor.
 *
 * Çözüm:
 * - Text autosizing yalnız Öğretmen Masası alanında %100'e kilitlenir.
 * - Kritik mobil ders başlığı tipografisi rem yerine mevcut tasarımla aynı
 *   piksel karşılıklarına sabitlenir.
 * - :active / :focus / dokunma durumunda farklı ölçü oluşmaz.
 * ============================================================ */
.ild-weekly-desk-shell,
.ild-weekly-desk-shell *{
  -webkit-text-size-adjust:100%!important;
  text-size-adjust:100%!important;
}

@media(max-width:700px){
  .ild-wd-course-head,
  .ild-wd-course-head > div:first-child,
  .ild-wd-course-label,
  .ild-wd-course-head h2,
  .ild-wd-course-head p,
  .ild-wd-course-meta,
  .ild-wd-course-meta > span{
    -webkit-text-size-adjust:100%!important;
    text-size-adjust:100%!important;
  }

  /* Mevcut onaylı mobil görünümün hesaplanmış boyutları sabitlenir. */
  .ild-wd-course-label{
    font-size:16.32px!important; /* 1.02rem @ 16px */
    line-height:1.08!important;
  }
  .ild-wd-course-head h2{
    font-size:14.08px!important; /* .88rem @ 16px */
    line-height:1.16!important;
  }
  .ild-wd-course-head p{
    font-size:12.16px!important; /* .76rem @ 16px */
    line-height:1.24!important;
  }
  .ild-wd-course-meta > span{
    font-size:9.92px!important;  /* .62rem @ 16px */
    line-height:1!important;
  }
}

/* Çok dar telefonlarda da yalnız önceki tasarım değeri korunur. */
@media(max-width:390px){
  .ild-wd-course-label{
    font-size:15.68px!important; /* .98rem @ 16px */
  }
  .ild-wd-course-meta > span{
    font-size:9.44px!important;  /* .59rem @ 16px */
  }
}
/* ============================================================
 * v1.0.5 — SELF-HOSTED FONT KİLİDİ
 * Tema Google Fontunun dokunuş/idle sonrası yüklenmesi Öğretmen Masası
 * tipografisini artık değiştiremez.
 * ============================================================ */
@font-face{
  font-family:'ILD Teacher Desk Nunito';
  src:url('../fonts/nunito/nunito-vf.woff2') format('woff2');
  font-weight:200 1000;
  font-style:normal;
  font-display:swap;
}

.ild-weekly-desk-shell,
.ild-weekly-desk-shell button,
.ild-weekly-desk-shell input,
.ild-weekly-desk-shell select,
.ild-weekly-desk-shell textarea,
.ild-weekly-desk-shell .ild-wd-course-label,
.ild-weekly-desk-shell .ild-wd-course-head h2,
.ild-weekly-desk-shell .ild-wd-course-head p,
.ild-weekly-desk-shell .ild-wd-textbook,
.ild-weekly-desk-shell .ild-wd-outcome-code,
.ild-weekly-desk-shell .ild-wd-outcome-head h3,
.ild-weekly-desk-shell .ild-wd-component-row p,
.ild-weekly-desk-shell .ild-wd-material,
.ild-weekly-desk-shell .ild-wd-other-materials{
  font-family:'ILD Teacher Desk Nunito','Nunito','Trebuchet MS','Segoe UI',system-ui,sans-serif!important;
  font-synthesis:none!important;
}

.ild-home-weekly-before-recent .ild-weekly-launcher,
.ild-home-weekly-before-recent .ild-weekly-launcher *{
  font-family:'ILD Teacher Desk Nunito','Nunito','Trebuchet MS','Segoe UI',system-ui,sans-serif!important;
  font-synthesis:none!important;
}
/* ============================================================
 * v1.0.6 — Minimal "Sayfayı Paylaş"
 * Hafta kontrol çubuğunun sağında; mevcut görünümü büyütmeden.
 * ============================================================ */
.ild-wd-toolbar{
  display:flex!important;
  align-items:stretch!important;
  gap:7px!important;
}
.ild-wd-week-nav{
  flex:1 1 auto!important;
  min-width:0!important;
}
.ild-wd-share-btn{
  flex:0 0 auto;
  min-width:42px;
  height:auto;
  min-height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:7px 10px;
  border:1px solid #159a50;
  border-radius:11px;
  background:linear-gradient(180deg,#31c76f 0%,#159a50 100%);
  color:#fff;
  box-shadow:0 4px 11px rgba(21,154,80,.22),inset 0 1px 0 rgba(255,255,255,.32);
  font:900 .72rem/1 'ILD Teacher Desk Nunito','Nunito',system-ui,sans-serif;
  cursor:pointer;
  white-space:nowrap;
  -webkit-tap-highlight-color:transparent;
}
.ild-wd-share-btn svg{
  width:17px;
  height:17px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.ild-wd-share-btn:focus-visible{
  outline:2px solid #0f7f42;
  outline-offset:2px;
}
.ild-wd-share-btn:active{
  transform:translateY(1px);
}

.ild-wd-share-toast{
  position:fixed;
  left:50%;
  bottom:24px;
  z-index:2147482000;
  transform:translate(-50%,8px);
  opacity:0;
  pointer-events:none;
  padding:9px 13px;
  border-radius:999px;
  background:rgba(18,42,58,.94);
  color:#fff;
  box-shadow:0 8px 24px rgba(0,0,0,.22);
  font:900 .76rem/1.15 'ILD Teacher Desk Nunito','Nunito',system-ui,sans-serif;
  transition:opacity .16s ease,transform .16s ease;
  white-space:nowrap;
}
.ild-wd-share-toast.is-visible{
  opacity:1;
  transform:translate(-50%,0);
}

@media(max-width:700px){
  .ild-wd-toolbar{
    display:flex!important;
    align-items:stretch!important;
    gap:5px!important;
  }
  .ild-wd-share-btn{
    width:40px!important;
    min-width:40px!important;
    flex:0 0 40px!important;
    min-height:36px!important;
    padding:0!important;
    border-radius:9px!important;
  }
  .ild-wd-share-btn span{
    display:none!important;
  }
  .ild-wd-share-btn svg{
    width:16px!important;
    height:16px!important;
  }
  .ild-wd-share-toast{
    bottom:18px;
    max-width:calc(100vw - 28px);
    font-size:.72rem;
  }
}

@media(max-width:390px){
  .ild-wd-toolbar{gap:4px!important;}
  .ild-wd-share-btn{
    width:36px!important;
    min-width:36px!important;
    flex-basis:36px!important;
  }
}

/* ============================================================
 * v1.0.8 — KARANLIK TEMA TAM UYUM
 * Gerçek kaydedilmiş sayfa DOM'u esas alınmıştır.
 * Tetikleyici: html[data-bs-theme="dark"] + body.ild-weekly-desk-page
 * Açık tema değişmez.
 * ============================================================ */

/* Genel kabuk */
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-weekly-desk-shell{
  --wd-bg:#081927;
  --wd-surface:#10283a;
  --wd-surface-2:#153247;
  --wd-surface-3:#1a3a50;
  --wd-border:#31536a;
  --wd-border-soft:#29475c;
  --wd-text:#f2f8fc;
  --wd-text-2:#c7d7e2;
  --wd-muted:#9fb6c5;
  color:var(--wd-text)!important;
  background:linear-gradient(180deg,#0b1e2d 0%,#0a1824 100%)!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-weekly-desk{
  color:var(--wd-text)!important;
}

/* Önizleme bandı */
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-admin-banner{
  background:#3a2d13!important;
  border-color:#7d6230!important;
  color:#ffe8a9!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-admin-banner span{
  background:#ffcf66!important;
  color:#3b2700!important;
}

/* Hero */
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-hero{
  background:
    radial-gradient(circle at 92% 0%,rgba(81,211,255,.17),transparent 27%),
    linear-gradient(135deg,#07577f 0%,#087aa6 48%,#0a9dcc 100%)!important;
  border-color:#2a81a3!important;
  color:#fff!important;
  box-shadow:0 14px 34px rgba(0,0,0,.28)!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-hero h1,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-hero p,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-back{
  color:#fff!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-eyebrow{
  background:#f4f8fb!important;
  border-color:rgba(255,255,255,.7)!important;
  color:#0b628a!important;
  box-shadow:0 4px 12px rgba(0,0,0,.14)!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-stats span{
  background:rgba(5,45,70,.40)!important;
  border-color:rgba(191,233,252,.28)!important;
  color:#eaf8ff!important;
}

/* Hafta navigasyonu */
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-toolbar{
  background:#0f2637!important;
  border-color:#31536a!important;
  box-shadow:0 9px 24px rgba(0,0,0,.24)!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-week-nav>a,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-week-nav>span,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-week-nav label{
  background:#16364b!important;
  border-color:#3a6178!important;
  color:#eaf6fb!important;
  box-shadow:none!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-week-nav>a:hover{
  background:#1c435b!important;
  border-color:#537c92!important;
  color:#fff!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-week-nav label>span{
  color:#a9c7d8!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-week-nav select{
  background:#16364b!important;
  color:#f4fbff!important;
  border-color:transparent!important;
  color-scheme:dark!important;
}

/* Yeşil paylaş düğmesi koyu temada korunur */
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-share-btn{
  background:linear-gradient(180deg,#31cf72 0%,#15974e 100%)!important;
  border-color:#54df8c!important;
  color:#fff!important;
  box-shadow:0 5px 14px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.25)!important;
}

/* Ders hızlı geçiş çubuğu */
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-course-jump{
  background:rgba(15,38,55,.96)!important;
  border-color:#31536a!important;
  box-shadow:0 9px 24px rgba(0,0,0,.22)!important;
  backdrop-filter:blur(10px)!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-course-jump a{
  box-shadow:none!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-course-jump a[href="#ders-turkce"]{background:#123849!important;border-color:#246b83!important;color:#62dcff!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-course-jump a[href="#ders-matematik"]{background:#20294b!important;border-color:#4d5b91!important;color:#aeb8ff!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-course-jump a[href="#ders-hayat_bilgisi"]{background:#163c2b!important;border-color:#34704b!important;color:#8be8aa!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-course-jump a[href="#ders-beden_egitimi_ve_oyun"]{background:#45301d!important;border-color:#805b31!important;color:#ffc276!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-course-jump a[href="#ders-gorsel_sanatlar"]{background:#3b2450!important;border-color:#71488d!important;color:#d9a2ff!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-course-jump a[href="#ders-muzik"]{background:#4a2634!important;border-color:#8b4960!important;color:#ff9fbe!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-course-jump a[href="#ders-serbest_etkinlikler"]{background:#493b20!important;border-color:#826737!important;color:#ffd47b!important;}

/* Ders kartları — ders renk kimliği korunur */
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-course{
  background:#10283a!important;
  border-color:#31536a!important;
  color:#eef7fb!important;
  box-shadow:0 11px 28px rgba(0,0,0,.25)!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page #ders-turkce{background:#102a39!important;border-color:#28708a!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page #ders-matematik{background:#192440!important;border-color:#4c5b8e!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page #ders-hayat_bilgisi{background:#142f25!important;border-color:#397052!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page #ders-beden_egitimi_ve_oyun{background:#332719!important;border-color:#765432!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page #ders-gorsel_sanatlar{background:#30213f!important;border-color:#69468a!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page #ders-muzik{background:#38212c!important;border-color:#7b455a!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page #ders-serbest_etkinlikler{background:#352f1e!important;border-color:#76643a!important;}

html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-course-head{
  border-bottom-color:rgba(173,211,231,.18)!important;
  color:#f4fbff!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page #ders-turkce .ild-wd-course-head{background:linear-gradient(135deg,#103847,#145a70)!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page #ders-matematik .ild-wd-course-head{background:linear-gradient(135deg,#222b49,#38476e)!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page #ders-hayat_bilgisi .ild-wd-course-head{background:linear-gradient(135deg,#173a2b,#28583e)!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page #ders-beden_egitimi_ve_oyun .ild-wd-course-head{background:linear-gradient(135deg,#432f1d,#684725)!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page #ders-gorsel_sanatlar .ild-wd-course-head{background:linear-gradient(135deg,#3b2550,#59376f)!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page #ders-muzik .ild-wd-course-head{background:linear-gradient(135deg,#472633,#6b394b)!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page #ders-serbest_etkinlikler .ild-wd-course-head{background:linear-gradient(135deg,#47391e,#6b5426)!important;}

html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-course-head h2{color:#f6fbff!important;text-shadow:none!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-course-head p{color:#c8dce8!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page #ders-turkce .ild-wd-course-label{color:#4dd3ff!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page #ders-matematik .ild-wd-course-label{color:#aab5ff!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page #ders-hayat_bilgisi .ild-wd-course-label{color:#7ee5a2!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page #ders-beden_egitimi_ve_oyun .ild-wd-course-label{color:#ffbd6d!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page #ders-gorsel_sanatlar .ild-wd-course-label{color:#d69aff!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page #ders-muzik .ild-wd-course-label{color:#ff98ba!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page #ders-serbest_etkinlikler .ild-wd-course-label{color:#ffd273!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-course-meta>span{
  background:rgba(8,28,41,.58)!important;border-color:rgba(191,220,236,.22)!important;color:#d8e9f2!important;box-shadow:none!important;
}

/* Ders kitabı — ekrandaki beyaz tablo tamamen koyulaştırılır */
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-textbook{
  background:#132d40!important;
  border-color:#35596f!important;
  color:#dceaf2!important;
  box-shadow:none!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-textbook-table,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-textbook-head,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-textbook-row{
  background:#132d40!important;
  border-color:#294b60!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-textbook-head{
  background:#17364a!important;
  color:#a9c5d5!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-textbook-head>span{
  color:#a9c5d5!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-textbook-book{
  color:#f0f7fb!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-textbook-pages{
  color:#72d5ff!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-textbook-head>span+span,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-textbook-row>span+span{
  border-left-color:#294b60!important;
}

/* Öğrenme çıktıları */
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-outcome{
  background:#112a3c!important;
  border-color:#31546a!important;
  color:#eaf4fa!important;
  box-shadow:none!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-outcome-head{
  background:#17364a!important;
  border-bottom-color:#31546a!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-outcome-head h3{color:#f3f8fc!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-outcome-code{
  color:#fff!important;
  border-color:#4ed783!important;
  box-shadow:0 4px 10px rgba(0,0,0,.22)!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-outcome-head button,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-course-meta button{
  background:#18394d!important;border-color:#3c6379!important;color:#dceaf2!important;
}

/* Süreç bileşenleri */
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-components{background:transparent!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-component,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-component-row{
  background:#17364a!important;
  border-color:#31566d!important;
  box-shadow:none!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-component-row p{color:#dceaf2!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-component-letter{color:#fff!important;}

/* Sitemizdeki Etkinlikler — graphite/cream/gold DNA korunur */
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-other-materials{
  background:#172b35!important;
  border-color:#5b604f!important;
  box-shadow:none!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-other-materials>summary{
  background:linear-gradient(180deg,#2a3938 0%,#1f3032 100%)!important;
  border-bottom-color:#5d675c!important;
  color:#f4e9c6!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-other-materials>summary:before{
  background:#3a4a42!important;color:#f3d68d!important;border-color:#66735f!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-other-materials>summary:after{
  background:#31463f!important;color:#f8e1a7!important;border-color:#66735f!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-other-materials>div{background:#172b35!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-material{
  background:#1b313c!important;
  border-color:#4b6064!important;
  color:#eaf1f3!important;
  box-shadow:none!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-material-title{color:#f7f1df!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-material-pages{color:#b9c9cf!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-material-type{
  background:#293e3c!important;color:#f3d68d!important;border-color:#5d6851!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-material.is-notebook .ild-wd-material-type,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-material.is-defter-notu .ild-wd-material-type{
  background:#493824!important;color:#ffd79a!important;border-color:#755b36!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-material-actions a.is-open{
  background:linear-gradient(180deg,#2fcf70,#14984e)!important;
  border-color:#42d97e!important;color:#fff!important;
  box-shadow:0 5px 12px rgba(0,0,0,.20)!important;
}

/* Serbest Etkinlikler */
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-free-plan,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-free-plan-main,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-free-plan-side{background:transparent!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-free-block,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-free-mini{
  background:#443b26!important;border-color:#76643a!important;color:#f4ead0!important;box-shadow:none!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-free-block span,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-free-mini span{color:#d8c897!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-free-block p,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-free-block strong,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-free-mini p{color:#f7efd9!important;}

/* Belirli Gün ve Haftalar */
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-special-days{
  background:#2a281d!important;
  border-color:#806a36!important;
  color:#f4ead1!important;
  box-shadow:none!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-special-days-head{
  border-bottom-color:#665939!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-special-days-head h2{color:#f7e7b3!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-special-day-item,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-special-day-text-only{
  background:#343226!important;
  border-color:#665939!important;
  color:#f0e6cc!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-special-day-date{
  background:#4c4026!important;
  color:#ffdda0!important;
}

/* Ana sayfa mini launcher da karanlık tema uyumlu kalır */
html[data-bs-theme="dark"] body .ild-home-weekly-before-recent .ild-weekly-launcher,
body.dark-mode .ild-home-weekly-before-recent .ild-weekly-launcher,
body.theme-dark .ild-home-weekly-before-recent .ild-weekly-launcher{
  background:linear-gradient(145deg,#10283a,#17384c)!important;
  border-color:#31556c!important;
  color:#f2f8fc!important;
  box-shadow:0 10px 26px rgba(0,0,0,.24)!important;
}
html[data-bs-theme="dark"] body .ild-home-weekly-before-recent .ild-weekly-launcher h2,
body.dark-mode .ild-home-weekly-before-recent .ild-weekly-launcher h2,
body.theme-dark .ild-home-weekly-before-recent .ild-weekly-launcher h2{color:#f4f9fc!important;}
html[data-bs-theme="dark"] body .ild-home-weekly-before-recent .ild-weekly-launcher-kicker,
body.dark-mode .ild-home-weekly-before-recent .ild-weekly-launcher-kicker,
body.theme-dark .ild-home-weekly-before-recent .ild-weekly-launcher-kicker{color:#d8e7ef!important;}
html[data-bs-theme="dark"] body .ild-home-weekly-before-recent .ild-weekly-launcher-kicker b,
body.dark-mode .ild-home-weekly-before-recent .ild-weekly-launcher-kicker b,
body.theme-dark .ild-home-weekly-before-recent .ild-weekly-launcher-kicker b{color:#fff!important;}
html[data-bs-theme="dark"] body .ild-home-weekly-before-recent .ild-weekly-grade-launcher,
body.dark-mode .ild-home-weekly-before-recent .ild-weekly-grade-launcher,
body.theme-dark .ild-home-weekly-before-recent .ild-weekly-grade-launcher{
  background:#17364a!important;border-color:#355d74!important;color:#eef7fb!important;
}
html[data-bs-theme="dark"] body .ild-home-weekly-before-recent .ild-weekly-grade-launcher strong,
body.dark-mode .ild-home-weekly-before-recent .ild-weekly-grade-launcher strong,
body.theme-dark .ild-home-weekly-before-recent .ild-weekly-grade-launcher strong{color:#f3f9fc!important;}
html[data-bs-theme="dark"] body .ild-home-weekly-before-recent .ild-weekly-grade-launcher small,
body.dark-mode .ild-home-weekly-before-recent .ild-weekly-grade-launcher small,
body.theme-dark .ild-home-weekly-before-recent .ild-weekly-grade-launcher small{color:#adc3d0!important;}

/* ============================================================
 * v1.0.9 — KARANLIK TEMA YÜKSEK KONTRAST / KOD ROZETİ FIX
 * Gerçek site dark-mode bağlamı:
 * html[data-bs-theme="dark"] body.ild-weekly-desk-page
 * ============================================================ */

/* Resmî öğrenme çıktısı kodları: açık arka plan + beyaz yazı çakışmasını kaldır. */
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-outcome-code{
  background:linear-gradient(180deg,#32cf73 0%,#11924a 100%)!important;
  border:2px solid #58e28e!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  text-shadow:0 1px 1px rgba(0,0,0,.24)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    0 3px 8px rgba(0,0,0,.24)!important;
}

/* Karanlık temadaki ana içerik yazıları tam beyaz: loş gri-mavi tonları kaldır. */
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-course-head h2,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-course-head p,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-course-meta>span,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-textbook-head>span,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-textbook-book,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-outcome-head h3,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-component-row p,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-material-title,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-material-pages,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-extra,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-extra>summary,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-extra p,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-free-block,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-free-block p,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-free-block strong,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-free-mini,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-free-mini p,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-special-days,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-special-days h2,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-special-day-name,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-special-day-date{
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  opacity:1!important;
}

/* Ders kitabı sayfa numarası renk vurgusu korunur ama daha parlak/okunaklı olur. */
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-textbook-pages{
  color:#8ee4ff!important;
  -webkit-text-fill-color:#8ee4ff!important;
  opacity:1!important;
}

/* Süreç bileşeni harfleri ve yeşil CTA üzerindeki metin saf beyaz. */
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-component-letter,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-share-btn,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-material-actions a{
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  opacity:1!important;
}

/* Sitemizdeki Etkinlikler başlığı krem karakterini korur ama soluk olmaz. */
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-other-materials>summary,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-material-type{
  opacity:1!important;
}

/* Tema tarafında kalıtılan opacity/filter varsa Öğretmen Masası metnini soldurmasın. */
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-outcome-head h3,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-component-row p,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-textbook-book,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-course-head h2,
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-course-head p{
  filter:none!important;
  text-shadow:none!important;
}

/* ============================================================
 * v1.0.21 — AKILLI TAHTA ARAÇLARI / YEŞİL CTA
 * ============================================================ */
.ild-wd-direct-app{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin:12px 0 2px;
  padding:10px 12px;
  border:1px solid #bde8cd;
  border-radius:14px;
  background:linear-gradient(180deg,#f4fff8 0%,#eafaf0 100%);
}
.ild-wd-direct-app-badge{
  font-size:11px;
  font-weight:900;
  letter-spacing:.04em;
  color:#117b43;
  background:#d9f7e5;
  border:1px solid #a7e4bf;
  border-radius:999px;
  padding:4px 8px;
}
.ild-wd-direct-app strong{flex:1 1 220px;color:#18382a;}
.ild-wd-direct-app a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:8px 14px;
  border-radius:10px;
  text-decoration:none!important;
  font-weight:900;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  background:linear-gradient(180deg,#20b765 0%,#11944e 100%);
  border:1px solid #0e8745;
  box-shadow:0 4px 10px rgba(17,148,78,.22);
}
.ild-wd-direct-app a:hover{filter:brightness(.96);transform:translateY(-1px);}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-direct-app{
  background:#123224!important;
  border-color:#286d48!important;
}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-direct-app strong{color:#fff!important;-webkit-text-fill-color:#fff!important;}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-direct-app-badge{
  background:#174c31!important;border-color:#2e8053!important;color:#bff4d4!important;-webkit-text-fill-color:#bff4d4!important;
}
@media (max-width:640px){
  .ild-wd-direct-app{align-items:stretch;}
  .ild-wd-direct-app strong{flex-basis:100%;}
  .ild-wd-direct-app a{width:100%;}
}
@media print{.ild-wd-direct-app{display:none!important;}}

/* v1.0.21 QA aliases: aynı yeşil CTA davranışının kompakt seçicileri. */
.ild-wd-direct-app>a{color:#fff!important;-webkit-text-fill-color:#fff!important;background:linear-gradient(180deg,#20b765 0%,#11944e 100%);}
@media(max-width:700px){.ild-wd-direct-app>a{width:100%;}.ild-wd-direct-app{align-items:stretch;}}

/* v1.0.29 — 3. Sınıf Fen Bilimleri */
#ders-fen_bilimleri .ild-wd-course-label{background:#e6f8fb;color:#15748a}
#ders-fen_bilimleri{--ild-course-accent:#35b7c9;background:linear-gradient(180deg,#fbfeff 0%,#eaf8fb 100%);border-color:#cfeaf0}
#ders-fen_bilimleri .ild-wd-course-head{background:linear-gradient(180deg,#f2fcfe,#e1f5f8)}
.ild-wd-course-jump a[href="#ders-fen_bilimleri"]{background:#eaf9fb;border-color:#cfeaf0;color:#18788c!important}
html[data-bs-theme="dark"] body.ild-weekly-desk-page .ild-wd-course-jump a[href="#ders-fen_bilimleri"]{background:#17363d!important;border-color:#326b76!important;color:#82e1ee!important}
html[data-bs-theme="dark"] body.ild-weekly-desk-page #ders-fen_bilimleri{background:#152e33!important;border-color:#36717a!important}
html[data-bs-theme="dark"] body.ild-weekly-desk-page #ders-fen_bilimleri .ild-wd-course-head{background:linear-gradient(135deg,#17383e,#285a62)!important}
html[data-bs-theme="dark"] body.ild-weekly-desk-page #ders-fen_bilimleri .ild-wd-course-label{color:#82e1ee!important}
