:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#182338;background:#f5f7fb;line-height:1.5;--navy:#13233f;--ink:#182338;--muted:#657187;--line:#e2e7ef;--blue:#315ee8;--blue-dark:#244bc5;--soft:#eef3ff;--green:#178467;--shadow:0 18px 50px rgba(25,42,70,.08)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;background:radial-gradient(circle at 50% -20%,#e9efff 0,transparent 42%),#f5f7fb}button,textarea,input{font:inherit}button,.upload-button{min-height:44px}button{border:0;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,textarea:focus-visible,.upload-button:focus-visible,a:focus-visible{outline:3px solid #86a5ff;outline-offset:3px}.skip-link{position:fixed;z-index:20;left:12px;top:-60px;background:#fff;color:var(--navy);padding:10px 14px;border-radius:9px}.skip-link:focus{top:12px}.product-header{height:76px;padding:0 clamp(16px,3vw,42px);background:rgba(19,35,63,.98);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:24px;box-shadow:0 1px 0 rgba(255,255,255,.08)}.brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none}.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:linear-gradient(145deg,#6f8cff,#315ee8);font:800 1.15rem Georgia,serif}.brand>span:last-child{display:grid}.brand strong{font-size:1.02rem;letter-spacing:.01em}.brand small{color:#aebbd2;font-size:.7rem;font-weight:500}.session-status{display:flex;align-items:center;gap:8px;color:#d9e1ef;font-size:.82rem}.status-dot{width:8px;height:8px;border-radius:50%;background:#62d5ad;box-shadow:0 0 0 4px rgba(98,213,173,.12)}.quiet-button{border:1px solid rgba(255,255,255,.18);border-radius:11px;padding:9px 14px;background:rgba(255,255,255,.06);color:#fff;font-weight:700}#learning-shell{display:grid;grid-template-columns:minmax(220px,260px) minmax(420px,760px) minmax(230px,290px);align-items:start;gap:18px;max-width:1390px;margin:0 auto;padding:22px}.panel{background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}.progress-panel,.insights{position:sticky;top:98px;padding:21px}.eyebrow{margin:0 0 8px;color:#51617a;font-size:.68rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.progress-panel h2{margin:0 0 20px;font-size:1.1rem}.student-picker{display:grid;gap:8px}.student-picker button{border-radius:10px;background:var(--blue);color:#fff;font-weight:750}.topic-card{display:flex;gap:12px;padding:14px;border-radius:15px;background:var(--soft)}.topic-card small{display:block;color:var(--muted);font-size:.72rem}.topic-card strong{display:block;margin-top:2px;font-size:.9rem}.card-icon{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:11px;background:#fff;color:var(--blue);font:700 1.15rem Georgia,serif}.progress-track{height:6px;margin:18px 0 12px;border-radius:99px;background:#e9edf4;overflow:hidden}.progress-track span{display:block;width:12%;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--blue),#6f8cff);transition:width .3s ease}.student-progress{margin:0}.student-progress div{padding:11px 0;border-bottom:1px solid #edf0f5}.student-progress dt{color:var(--muted);font-size:.72rem}.student-progress dd{margin:2px 0 0;font-size:.88rem;font-weight:700}.progress-note{margin:15px 0 0;color:var(--muted);font-size:.78rem}.chat{min-height:calc(100dvh - 120px);display:flex;flex-direction:column;overflow:hidden}.intro{padding:26px 28px 20px;border-bottom:1px solid #edf0f5}.intro h1{margin:0;color:var(--navy);font-size:clamp(1.45rem,2.5vw,2.05rem);line-height:1.2;letter-spacing:-.025em}.intro>p:last-child{max-width:600px;margin:9px 0 0;color:var(--muted);font-size:.92rem}.lesson-choice{margin:auto;padding:30px;width:min(610px,100%)}.choice-heading{display:flex;align-items:flex-start;gap:13px}.choice-heading h2{margin:0;font-size:1.22rem;color:var(--navy)}.choice-heading p{margin:5px 0 0;color:var(--muted);font-size:.84rem}.choice-symbol{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:12px;background:var(--soft);color:var(--blue)}.primary-choices{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:22px 0}.primary-choices button{display:grid;text-align:left;border-radius:14px;padding:14px 16px}.primary-choices button span{font-weight:800}.primary-choices button small{margin-top:2px;font-size:.72rem}.primary-action{background:var(--blue);color:#fff;box-shadow:0 8px 18px rgba(49,94,232,.2)}.primary-action:hover{background:var(--blue-dark)}.secondary-action{background:#fff;color:var(--navy);border:1px solid #cfd7e5}.question-modes{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.question-modes button{display:grid;place-items:center;gap:6px;padding:14px 8px;border:1px solid var(--line);border-radius:13px;background:#fff;color:var(--ink)}.question-modes button:hover{border-color:#aebce0;background:#fafbff}.question-modes button span{color:var(--blue);font-weight:900}.question-modes button strong{font-size:.76rem}.availability-note{margin:12px 0 0;text-align:center;color:var(--muted);font-size:.72rem}#notice:not(:empty){margin:12px 28px 0;padding:10px 12px;border:1px solid #f0dfae;border-radius:11px;background:#fff9e8;color:#6c5715;font-size:.82rem}#conversation{flex:1;min-height:180px;max-height:calc(100dvh - 360px);padding:14px 28px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scroll-behavior:smooth}.bubble{position:relative;width:fit-content;max-width:min(84%,650px);margin:14px 0;padding:13px 16px;border-radius:17px;line-height:1.58;overflow-wrap:anywhere}.student-bubble{margin-left:auto;background:linear-gradient(145deg,#315ee8,#294fc5);color:#fff;border-bottom-right-radius:5px;white-space:pre-wrap;box-shadow:0 6px 16px rgba(49,94,232,.16)}.teacher-bubble{background:#f1f4f9;color:var(--ink);border-bottom-left-radius:5px}.teacher-bubble:before{content:"AI Öğretmen";display:block;margin-bottom:5px;color:#657187;font-size:.67rem;font-weight:800;letter-spacing:.04em}.teacher-bubble.incomplete{border:1px solid #d89135}.move-label{display:inline-block;margin-bottom:6px;color:var(--blue-dark);font-size:.7rem;font-weight:800}.teacher-content p{margin:.1rem 0 .65rem}.teacher-content p:last-child{margin-bottom:0}.teacher-content ul{margin:.3rem 0 .65rem;padding-left:1.35rem}.teacher-content li{margin:.25rem 0}.teacher-content strong{font-weight:800;color:#111a2b}.math{font-family:"STIX Two Math","Cambria Math","Times New Roman",serif;font-size:1.08em;letter-spacing:.01em;white-space:normal;overflow-wrap:anywhere}.typing{display:flex;align-items:center;gap:8px;padding:8px 30px;color:#53627a;font-size:.82rem}.typing span{width:8px;height:8px;border-radius:50%;background:var(--blue);animation:pulse 1.1s infinite}.retry{align-self:flex-start;margin-left:28px;padding:10px 14px;border-radius:10px;background:#fff3d7;color:#725616;font-weight:750}.hidden{display:none!important}.composer{position:relative;margin-top:auto;padding:14px 22px 18px;border-top:1px solid #edf0f5;background:#fff}.composer-box{display:flex;align-items:flex-end;gap:10px;padding:8px 8px 8px 15px;border:1px solid #cfd7e5;border-radius:17px;background:#fff;box-shadow:0 6px 18px rgba(25,42,70,.05)}.composer-box:focus-within{border-color:#7290ef;box-shadow:0 0 0 3px rgba(49,94,232,.1)}textarea{flex:1;min-width:0;max-height:140px;padding:8px 0;border:0;outline:0;resize:none;color:var(--ink);background:transparent}.composer-tools{display:flex;align-items:center;gap:5px}.icon-button{display:flex;align-items:center;justify-content:center;gap:5px;min-width:44px;padding:8px;border-radius:11px;background:#f1f4f9;color:#42516a;font-weight:800}.icon-button span{font-size:.68rem}.send-button{display:flex;align-items:center;gap:7px;padding:9px 12px;border-radius:11px;background:var(--blue);color:#fff;font-weight:800}.send-button b{display:grid;place-items:center;width:23px;height:23px;border-radius:8px;background:rgba(255,255,255,.17)}#image-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.image-preview{display:flex;gap:11px;align-items:center;margin-bottom:10px;padding:9px;border:1px solid #dbe2ef;border-radius:13px;background:#f8faff}.image-preview img,.student-image img{width:82px;height:64px;object-fit:cover;border-radius:9px}.image-preview div{display:grid;gap:2px}.image-preview span{color:var(--muted);font-size:.72rem}.image-preview button{min-height:auto;padding:2px 0;background:transparent;color:#b43b48;text-align:left;font-weight:700}.student-image{display:flex;gap:10px;align-items:center}.student-image .badge{display:block;font-size:.68rem;font-weight:800;text-transform:uppercase}.ocr-warning{margin-top:8px;padding:8px;border-radius:8px;background:#fff7df;color:#6c5715;font-size:.78rem}.composer-hint{display:block;margin:7px 4px 0;color:#8490a3;font-size:.68rem}.insights{display:grid;gap:22px}.next-card{padding:16px;border:1px solid #dce4f4;border-radius:15px;background:linear-gradient(145deg,#f6f8ff,#fff)}#next{font-size:.88rem;font-weight:650}#next p{margin:.3rem 0}.section-heading{display:flex;align-items:center;justify-content:space-between}.section-heading h2,#lesson-summary h2{margin:0;font-size:1rem}.sources{margin-top:8px}.source{padding:11px 0;border-bottom:1px solid #edf0f5}.source:last-child{border-bottom:0}.source h3{margin:0;font-size:.84rem}.source p{margin:.25rem 0;color:var(--muted);font-size:.75rem}.source-note{color:#866a1f!important}.empty-state{color:var(--muted);font-size:.78rem}.trust-note{display:flex;gap:9px;padding-top:14px;border-top:1px solid #edf0f5;color:var(--muted)}.trust-note>span{display:grid;place-items:center;flex:0 0 27px;height:27px;border-radius:50%;background:#e7f7f1;color:var(--green);font-weight:900}.trust-note p{display:grid;margin:0;font-size:.72rem}.trust-note strong{color:var(--ink)}#lesson-summary{margin-bottom:18px;padding:12px;border-radius:12px;background:#eef8f4;font-size:.78rem}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes pulse{50%{opacity:.25;transform:scale(.8)}}@media(max-width:1080px){#learning-shell{grid-template-columns:220px minmax(400px,1fr)}.insights{position:static;grid-column:1/-1;grid-template-columns:1fr 1fr 1fr}.progress-panel{top:92px}}@media(max-width:760px){.product-header{height:66px;padding:0 14px}.brand small,.session-status{display:none}.quiet-button{padding:7px 10px;font-size:.74rem}#learning-shell{display:flex;flex-direction:column;padding:10px;gap:10px}.panel{width:100%;border-radius:16px}.progress-panel{position:static;order:2;padding:15px}.progress-panel>.eyebrow,.progress-panel h2,.student-picker,.progress-note{display:none}.topic-card{padding:10px}.progress-track{margin:11px 0 4px}.student-progress{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.student-progress div{padding:7px;border:0}.student-progress dt{font-size:.62rem}.student-progress dd{font-size:.72rem}.chat{order:1;min-height:calc(100dvh - 86px)}.intro{padding:20px 18px 15px}.intro h1{font-size:1.45rem}.lesson-choice{padding:20px 16px}.primary-choices{grid-template-columns:1fr}.question-modes{grid-template-columns:1fr 1fr 1fr}.question-modes button{min-height:62px;padding:9px 4px}.question-modes button strong{font-size:.66rem}#conversation{max-height:none;min-height:220px;padding:10px 14px}.bubble{max-width:92%;margin:10px 0}.composer{position:sticky;bottom:0;z-index:5;padding:10px max(10px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))}.composer-tools{gap:3px}.icon-button{min-width:44px}.icon-button span,.send-button>span{display:none}.composer-hint{display:none}.insights{order:3;display:block;padding:15px}.insights section+section,.trust-note{margin-top:16px}.math{white-space:normal}#notice:not(:empty){margin:8px 14px}.typing{padding:8px 16px}}@media(max-width:380px){.brand strong{font-size:.9rem}.brand-mark{width:34px;height:34px}.question-modes{gap:5px}.student-progress{grid-template-columns:1fr}.student-progress div{display:flex;justify-content:space-between}.composer-box{padding-left:10px}.send-button{padding:9px}.bubble{max-width:96%}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
body{overflow-x:hidden}.back-link{color:#dce5ff;font-weight:800;text-decoration:none;white-space:nowrap}.lesson-phases{display:grid;grid-template-columns:repeat(7,minmax(90px,1fr));gap:7px;padding:14px 20px;border-bottom:1px solid var(--line);overflow:hidden}.lesson-phase{min-width:0;padding:9px;border-radius:11px;background:#f2f4f8;color:#68758a}.lesson-phase strong,.lesson-phase span{display:block;overflow-wrap:anywhere}.lesson-phase strong{font-size:.72rem}.lesson-phase span{margin-top:2px;font-size:.66rem}.lesson-phase.active{background:#e9efff;color:var(--blue-dark);box-shadow:inset 0 0 0 2px #7894ed}.lesson-phase.completed{background:#e8f6f1;color:#126b56}@media(max-width:760px){.back-link{font-size:.75rem}.lesson-phases{grid-template-columns:1fr;padding:9px 14px}.lesson-phase{display:none}.lesson-phase.active{display:flex;align-items:center;justify-content:space-between;min-height:48px}.lesson-phase.active:before{content:"Ders aşaması";font-size:.65rem;font-weight:800;text-transform:uppercase}.lesson-phase.active strong{font-size:.84rem}.lesson-phase.active span{font-size:.75rem}}
