/* base.css */
:root{--orange:#f47f50;--rust:#9f3424;--cream:#faf7eb;--peach:#fce0d3;--gray:#ecebed;--ink:#282726;--accent:#c14f28;--tint:#fff1e9;--line:#ddd6d0}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#f5f3ee;font-family:'Agenda One','Segoe UI',Arial,sans-serif;font-size:17px;line-height:1.55}button,select,textarea,input{font:inherit}button{cursor:pointer;border:1px solid #ad472a;border-radius:5px;background:var(--rust);color:#fff;padding:.6rem 1rem;font-weight:600}button:hover:not(:disabled){filter:brightness(.93)}button:disabled{cursor:not-allowed;background:#eeeae6;color:#706960;border-color:#ccc6c1}button:focus-visible,a:focus-visible,textarea:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #006e91;outline-offset:3px}button[aria-pressed=true]{background:var(--rust);color:#fff;border-color:var(--rust)}.skip{position:absolute;top:-70px;background:white;padding:12px;z-index:100}.skip:focus{top:5px}.masthead{height:174px;max-width:1240px;margin:auto;background:var(--cream);position:relative;overflow:hidden;border-right:18px solid var(--orange)}.brand{position:absolute;left:-50px;top:-100px;width:310px;height:280px;border-radius:50%;background:var(--orange)}.brand img{position:absolute;width:116px;left:88px;top:124px}.hero-mark{position:absolute;width:132px;height:132px;object-fit:contain;left:178px;top:39px;border-radius:50%}.subject{position:absolute;right:28px;top:26px;text-align:right;line-height:1}.subject strong{display:block;color:#e96638;font-size:36px;font-weight:800;letter-spacing:.02em}.subject span{font-weight:700}.grade{position:absolute;right:29px;bottom:12px;color:var(--rust);font-size:20px}.squares{font-size:26px;line-height:1;letter-spacing:-3px;color:var(--rust)}.grade .squares{display:block;text-align:right}.masthead:after{content:'';position:absolute;bottom:0;left:0;width:62px;height:20px;background:var(--rust)}.page{max-width:1240px;margin:auto;background:#fff;padding:0 38px 16px;box-shadow:0 5px 25px #33221109}.course-title{padding:19px 0;font-size:15px;font-weight:800;letter-spacing:.02em;line-height:1.4}#sections{display:grid;grid-template-columns:repeat(6,1fr);gap:4px;padding-bottom:20px;border-bottom:1px solid var(--line)}#sections button{background:#f3eeea;color:#63554e;border:0;border-radius:0;border-bottom:3px solid transparent;padding:11px 5px;font-size:12px;line-height:1.3;letter-spacing:.015em}#sections button.active{background:var(--peach);border-bottom-color:var(--rust);color:#843c26}main{padding:27px 0 28px;min-height:440px}main:focus{outline:none}.eyebrow{display:flex;justify-content:space-between;color:#776b62;font-size:13px;gap:12px;margin-bottom:12px}.section-title{background:var(--peach);color:#5c554f;padding:5px 10px;font-size:18px;font-weight:700;line-height:1.3;margin:0 0 25px;position:relative}.section-title:after{content:'● ● ● ● ●';font-size:10px;position:absolute;left:8px;bottom:-10px;letter-spacing:1px}h1{font-size:29px;line-height:1.25;margin:0 0 23px}h2{font-size:23px;line-height:1.3}h3{font-size:19px;line-height:1.35}p{margin:0 0 15px}.lead{font-size:19px;line-height:1.75;max-width:880px}.intro-content{padding:13px 4px 18px;max-width:920px}.intro-note{border-left:4px solid var(--orange);background:var(--cream);padding:18px 22px;margin:25px 0}.split{display:grid;grid-template-columns:1.55fr 1fr;gap:32px;align-items:start}.source-image{max-width:100%;height:auto;object-fit:contain}.split>.source-image{max-height:360px;justify-self:center;border:2px solid var(--orange)}.purpose{background:#faf7f1;border-left:3px solid var(--orange);padding:16px 20px;margin-bottom:22px}.purpose p:last-child{margin:0}.instructions{margin-bottom:22px;color:#5a504a}.reading{background:var(--gray);padding:24px;border-radius:5px}.reading p:last-child{margin:0}.answer-block{margin:0 0 25px;padding-bottom:24px;border-bottom:1px solid var(--line)}.question{display:flex;gap:13px;align-items:start;font-weight:600;margin-bottom:12px;white-space:pre-line}.question-icon{width:30px;height:37px;object-fit:contain;flex-shrink:0}textarea{display:block;width:100%;resize:vertical;border:1px solid #a79e97;border-radius:4px;background:#fffefa;color:var(--ink);padding:13px;min-height:115px;line-height:1.6}small{display:block;color:#6e625a;margin-top:5px;font-size:13px}.example-toggle{margin-top:13px;background:white;color:var(--rust);font-size:14px}.feedback{background:#f0eeef;border-left:3px solid var(--accent);padding:18px 20px;margin-top:14px}.feedback strong{color:#803c24}.feedback p:last-child{margin-bottom:0}[hidden]{display:none!important}.quote{position:relative}.quote:before{content:'';display:block;width:25px;height:22px;background:var(--accent);mask:url("data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20id%3D%22katman_2%22%20data-name%3D%22katman%202%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2015.06%2012.26%22%3E%0A%20%20%3Cg%20id%3D%22katman_1%22%20data-name%3D%22katman%201%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M13.25%2C0c-2.26%2C2.13-4.7%2C6.38-4.7%2C9.05%2C0%2C1.22%2C2.35%2C3.21%2C3.26%2C3.21.99%2C0%2C3.26-2.04%2C3.26-3.21%2C0-.86-1.63-2.53-2.67-2.72.14-1.85%2C1.18-4.3%2C2.67-6.02l-1.81-.32ZM4.75%2C0C2.44%2C2.13%2C0%2C6.38%2C0%2C9.05c0%2C1.22%2C2.35%2C3.21%2C3.26%2C3.21%2C1%2C0%2C3.26-2.04%2C3.26-3.21%2C0-.86-1.63-2.53-2.67-2.72.14-1.85%2C1.18-4.3%2C2.67-6.02l-1.76-.32Z%22%20style%3D%22fill%3A%20%23ee7242%3B%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E") center/contain no-repeat;margin-bottom:9px}.tf-table{width:100%;border-collapse:collapse;margin-bottom:20px}.tf-table th{background:var(--orange);color:#33251f;font-weight:700;text-align:left}.tf-table th,.tf-table td{padding:13px;border:1px solid #c5bdb7}.tf-table tbody tr:nth-child(odd){background:var(--gray)}.tf-options{display:flex;gap:7px}.tf-options label{display:flex;gap:6px;align-items:center;background:white;padding:8px 12px;border:1px solid #aaa;border-radius:4px;cursor:pointer;white-space:nowrap}.tf-options input{accent-color:var(--rust);width:18px;height:18px}.tf-result td{background:#fff4ed}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.card{border:1px solid #d2c9c1;border-top:4px solid var(--accent);padding:0;color:var(--ink);background:var(--tint);text-align:left;overflow:hidden;font-weight:400}.card img{display:block;width:100%;height:155px;object-fit:contain;background:#fff9}.card .card-text{padding:18px;display:block}.card strong{display:block;font-size:18px;line-height:1.35}.card .open-label{display:block;color:var(--accent);font-size:14px;margin-top:15px}.card:focus-visible{outline-offset:4px}.card details{padding:0 16px 16px}.peach{--tint:#fff0e7;--accent:#bb542d}.lavender{--tint:#e5e6f0;--accent:#005d89}.cyan{--tint:#e8f5f7;--accent:#008999}.olive{--tint:#f0f2db;--accent:#747c22}.research-select{display:block;width:100%;padding:12px;border:1px solid #b0998c;border-radius:4px;background:var(--cream);color:var(--ink);margin:12px 0 22px}.kwl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.kwl textarea{min-height:205px}.kwl .answer-block{padding:16px;background:var(--gray);border:0}.kwl .question-icon{display:none}.kwl .question{font-size:18px}.examples-table{width:100%;border-collapse:collapse;font-size:15px}.examples-table td,.examples-table th{padding:12px;border:1px solid #bbb;vertical-align:top}.checks{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;padding:20px;background:var(--gray);margin-bottom:25px}.checks label{display:flex;gap:10px;align-items:center}.checks input{width:19px;height:19px;accent-color:var(--rust)}fieldset{border:1px solid #ccc;padding:20px;margin:20px 0}legend{padding:0 8px;font-weight:700}.scale-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #ddd}.scale-options{display:flex;gap:13px}.scale-options label{display:flex;align-items:center;gap:4px}.scale-options input{accent-color:var(--rust)}details.context{margin-bottom:22px;border:1px solid #d5c9bf;background:var(--cream);padding:15px}summary{cursor:pointer;font-weight:600}details.context .reading{margin-top:15px}dialog{border:1px solid #ba9f8d;border-radius:8px;padding:0;max-width:900px;width:calc(100% - 36px);max-height:88vh;color:var(--ink);background:var(--tint,#fff)}dialog::backdrop{background:#231b17a6}.modal-head{display:flex;justify-content:space-between;align-items:start;gap:20px;padding:22px 25px;border-bottom:1px solid #a79b9060;background:var(--tint,#fff)}.modal-head h2{margin:0}#modal-body{padding:25px;max-height:68vh;overflow:auto;overscroll-behavior:contain}#modal-body p{white-space:pre-line}#modal-body .gallery{display:flex;flex-wrap:wrap;gap:18px;justify-content:center;margin:20px 0}#modal-body .gallery img{max-height:300px;max-width:100%;width:auto}.tree-scroll{overflow-x:auto;margin:20px 0}.tree{min-width:760px;position:relative;padding:8px 4px 12px;display:grid;grid-template-columns:repeat(8,1fr);gap:0 9px;font-size:13px;text-align:center}.tree-node{border-radius:6px;background:var(--gray);padding:16px 10px;display:flex;align-items:center;justify-content:center;line-height:1.45;min-height:150px}.tree-node.root{grid-column:4/6;min-height:105px}.tree-node.level2{grid-column:2/4}.tree-node.level2.right{grid-column:6/8}.tree-node.leaf{grid-column:span 2;min-height:184px;margin:0 12px}.tree-branches{height:65px;position:relative;grid-column:span 4;margin:0 24%;border-top:1px solid var(--orange);margin-top:23px}.tree-branches:before{content:'';position:absolute;top:-24px;height:23px;left:50%;border-left:1px solid var(--orange)}.tree-branches span{position:absolute;top:0;width:1px;height:40px;background:var(--orange)}.tree-branches span:first-child{left:0}.tree-branches span:last-child{right:0}.tree-branches b{position:absolute;top:1px;left:-9px;background:white;width:19px;border:1px solid #9d8c82;border-radius:50%;line-height:18px;font-weight:400}.tree-branches span:after{content:'↓';position:absolute;bottom:-7px;left:-4px;color:var(--orange)}.tree-branches.top{grid-column:3/7;margin-left:0;margin-right:0}.tree-branches.bottom{grid-column:span 2;margin-left:22%;margin-right:22%;height:54px}.exit{background:var(--peach);color:#57392e;border:1px solid #d7997b;padding:9px 1px;white-space:nowrap;font-size:13px}.path-list{padding-left:24px}.path-list li{margin-bottom:10px}.footer-brand{font-size:12px;display:flex;align-items:center;gap:10px}footer{border-top:1px solid var(--line);padding:20px 0;display:flex;align-items:center;justify-content:space-between;gap:20px}.scene-nav{display:flex;align-items:center;gap:15px}.scene-nav button{font-size:14px}.scene-nav span{font-size:14px;white-space:nowrap}.library-intro{margin-bottom:22px}.selected-note{background:var(--cream);padding:14px 18px;border-left:3px solid var(--orange);margin:15px 0 24px}.activity-label{display:flex;gap:12px;align-items:center}.activity-label img{height:47px;width:44px;object-fit:contain}.step-links{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 24px}.step-links button{font-size:13px;background:white;color:var(--rust);padding:6px 11px}.step-links button.current{background:var(--peach)}
@media(min-width:1500px){body{padding-top:18px}.masthead{border-radius:6px 6px 0 0}.page{border-radius:0 0 6px 6px}}@media(max-width:850px){.page{padding:0 22px 15px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}#sections{grid-template-columns:repeat(3,1fr)}.split{grid-template-columns:1fr 1fr;gap:20px}.kwl{grid-template-columns:1fr}.kwl textarea{min-height:120px}.scale-row{align-items:start;flex-direction:column}footer{flex-direction:column;align-items:stretch}.scene-nav{justify-content:space-between}.checks{grid-template-columns:1fr}}@media(max-width:560px){body{font-size:16px}.masthead{height:142px}.brand{left:-80px;width:250px}.brand img{width:90px;left:104px;top:119px}.hero-mark{width:86px;height:86px;left:108px;top:57px}.subject{right:12px}.subject strong{font-size:25px}.grade{font-size:16px;right:12px;bottom:6px}.page{padding:0 15px 12px}.course-title{font-size:12px}.split{grid-template-columns:1fr}.split>.source-image{max-height:260px}.cards{grid-template-columns:1fr 1fr;gap:10px}.card img{height:115px}.card .card-text{padding:12px}.card strong{font-size:15px}.card .open-label{font-size:12px}.tf-table th,.tf-table td{padding:9px 7px}.tf-options{flex-direction:column}.tf-options label{padding:6px;font-size:13px}.tf-table{font-size:14px}h1{font-size:25px}.lead{font-size:17px}.eyebrow{font-size:12px}.modal-head{padding:18px;flex-direction:column;gap:12px}#modal-body{padding:18px}.reading{padding:18px}.scale-options{gap:11px}}
.tree-node.root{min-height:80px}.tree-node.level2{min-height:110px}.tree-node.leaf{min-height:140px}.tree-branches{height:40px;margin-top:14px}.tree-branches:before{top:-15px;height:14px}.tree-branches span{height:30px}.tree-branches.bottom{height:40px}.library-quote-row{display:grid;grid-template-columns:minmax(130px,240px) 1fr;gap:22px;align-items:center;margin:20px 0}.library-quote-row>.source-image{max-height:260px;width:100%;object-fit:contain}.library-quote-row .feedback{margin:0;background:#fff}.library-prose h3{margin:20px 0 9px}.library-prose h3:first-child{margin-top:0}@media(max-width:560px){.library-quote-row{grid-template-columns:1fr}.library-quote-row>.source-image{max-height:200px;width:auto;justify-self:center}}
#sections{grid-template-columns:repeat(6,minmax(0,1fr))}#sections button{min-width:0;overflow-wrap:anywhere}.qr{width:100px;height:auto}@media(max-width:850px){#sections{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:560px){#sections button{font-size:10px;padding:10px 4px}.scale-options{flex-wrap:wrap}.step-links button{max-width:100%;white-space:normal;text-align:left}}




/* pdf.css */
/* Agenda One: her ağırlık kendi yüzüne eşlenir; sahte kalınlık kullanılmaz. */
@font-face{font-family:'Agenda One';src:local('Agenda One Light'),local('AgendaOne-Light'),url('../font/AgendaOne-Light.woff2') format('woff2');font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:'Agenda One';src:local('Agenda One Regular'),local('AgendaOne-Regular'),local('Agenda One'),url('../font/AgendaOne-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Agenda One';src:local('Agenda One Medium'),local('AgendaOne-Medium'),url('../font/AgendaOne-Medium.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Agenda One';src:local('Agenda One SemiBold'),local('AgendaOne-SemiBold'),url('../font/AgendaOne-SemiBold.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Agenda One';src:local('Agenda One Bold'),local('AgendaOne-Bold'),url('../font/AgendaOne-Bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Agenda One';src:local('Agenda One ExtraBold'),local('AgendaOne-ExtraBold'),url('../font/AgendaOne-ExtraBold.woff2') format('woff2');font-weight:800;font-style:normal;font-display:swap}
@font-face{font-family:'Agenda One';src:local('Agenda One Black'),local('AgendaOne-Black'),url('../font/AgendaOne-Black.woff2') format('woff2');font-weight:900;font-style:normal;font-display:swap}

body{font-synthesis:none;font-weight:400}
.brand{width:310px;height:310px;top:-130px;background:rgb(244 127 80 / 90%);z-index:2;pointer-events:none}
.brand img{top:154px;z-index:3}
.hero-mark{z-index:1}
.subject,.grade{z-index:4}
.masthead:after{z-index:3}
.subject strong{font-weight:900}
.subject span{font-weight:700}
.grade{font-weight:500;line-height:1.2;bottom:15px}
.squares{display:inline-flex;align-items:center;gap:5px;font-size:inherit;line-height:1;letter-spacing:normal;flex-shrink:0}
.squares i{display:block;width:12px;height:12px;background:var(--rust)}
.grade .squares{display:flex;justify-content:flex-end;margin-top:5px;gap:4px}
.grade .squares i{width:11px;height:11px}
.course-title{font-weight:800}
#sections button{font-weight:500}
.section-title{font-size:20px;font-weight:500;padding:5px 10px;line-height:1.35;margin:0 0 30px}
.section-title:after{display:none}
.section-dots{position:absolute;display:flex;gap:4px;left:10px;bottom:-5px}
.section-dots i{width:8px;height:8px;border-radius:50%;background:#595955}
.section-dots i:first-child{background:var(--orange)}
.section-title[data-section="0"] .section-dots i:first-child{background:#595955}
.source-subtitle{font-size:18px;font-weight:700;margin:0 0 20px}
.question{font-weight:500}
.intro-content,.intro-content.lead{max-width:none;padding:5px 0 0;font-size:18px;line-height:1.75}
.intro-content p{margin-bottom:18px}
.intro-note{margin:24px 0 0}
.start-action{display:flex;justify-content:center;margin:27px 0 9px}
.start-button{display:inline-flex;align-items:center;justify-content:center;gap:38px;min-width:260px;padding:15px 26px;background:var(--rust);font-size:19px;font-weight:700;border:1px solid var(--rust);border-bottom:4px solid #702417;border-radius:5px}
.start-button span{font-size:25px;line-height:1}

/* Dört etkinlik birbiriyle ilişkili bir çalışma akışı olarak görünür. */
.activity-flow{margin:0 0 27px}
.activity-flow ol{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0;padding:0}
.activity-flow li{min-width:0;position:relative}
.activity-flow li+li:before{content:'';position:absolute;height:1px;width:12px;background:#ceab98;left:-12px;top:28px}
.activity-flow button{display:flex;align-items:flex-start;gap:11px;width:100%;height:100%;border:1px solid #dfcbbf;border-radius:3px;background:#fff;color:#50463f;text-align:left;padding:14px 12px;font-weight:400}
.flow-number{display:flex;justify-content:center;align-items:center;flex-shrink:0;border:1px solid #b47b5b;border-radius:50%;width:29px;height:29px;color:var(--rust);font-weight:500;line-height:1}
.flow-text{display:flex;flex-direction:column;min-width:0;gap:4px}
.flow-text small{font-size:10px;letter-spacing:.06em;margin:0;color:#806454;font-weight:500}
.flow-text strong{font-size:15px;line-height:1.3;font-weight:700}
.flow-text>span{font-size:12px;line-height:1.4;color:#76695e}
.activity-flow button[aria-current]{background:var(--peach);border-color:#b95e3b;border-bottom-width:3px}
.activity-flow button[aria-current] .flow-number{color:white;background:var(--rust);border-color:var(--rust)}
.question-navigation,.reading-navigation{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 26px}
.question-navigation button,.reading-navigation button{background:white;border:1px solid #cfb6a5;color:var(--rust);border-radius:3px;font-size:15px;padding:8px 20px;font-weight:500}
.question-navigation button[aria-current],.reading-navigation button[aria-current]{background:var(--peach);border-color:var(--rust)}
.reading-navigation button{padding:6px 17px;font-size:14px}

/* Keşif görsellerinin oranı 579:351. Tam genişlik, kırpmasız yerleşim. */
.discovery-cards .card{display:flex;flex-direction:column;align-items:stretch;background:var(--gray);border:1px solid #e0d5ce;border-top:0}
.discovery-cards .card img{display:block;width:100%;height:auto;aspect-ratio:579 / 351;object-fit:contain;background:transparent}
.discovery-cards .card .card-text{display:flex;flex-direction:column;flex:1;padding:17px 18px}
.discovery-cards .card strong{color:#ad4628;font-size:17px;font-weight:700}
.discovery-cards .card .open-label{margin-top:auto;padding-top:15px;font-weight:500}
.library-cards .card{min-height:133px;border:1px dotted var(--accent);border-top:4px solid var(--accent);box-shadow:none}
.library-cards .card .card-text{display:flex;flex-direction:column;justify-content:space-between;height:100%;padding:20px}
.library-cards .card strong{font-size:17px;font-weight:700}
.library-cards .open-label{margin-top:15px}

/* PDF'deki ortak krem zemin footer boyunca devam eder. */
.page{padding-bottom:0}
.footer-area{background:var(--cream);margin:0 -38px;border-top:1px solid #d5c6b8;padding:0 38px 17px}
footer{border:0;padding:24px 0 19px}
.footer-brand{font-size:13px;font-weight:300;gap:10px;line-height:1.3}
.footer-brand .squares{gap:5px}
.footer-brand .squares i{width:12px;height:12px}
.scene-nav{gap:17px;min-height:42px}
.scene-nav span{font-weight:500;font-size:14px}
.scene-nav button{font-weight:500}



/* Popup: PDF bilgi kutusu, özgün görsel ve açıklama aynı kompozisyonda. */
dialog{max-height:90vh;max-width:960px;border:1px solid #ab9b8c;border-radius:4px;box-shadow:0 20px 80px #20150d30}
.modal-head{align-items:flex-start;gap:20px;padding:22px 26px 18px}
.modal-head h2{font-size:20px;line-height:1.35;font-weight:700}
.modal-head button{font-size:13px;padding:5px 12px;background:#fff;color:var(--rust);flex-shrink:0;border:1px solid #bd9a85;border-radius:3px;font-weight:500}
#modal-body{padding:0 26px 26px;max-height:calc(90vh - 100px);overflow:auto}
dialog.discovery-dialog{background:white;max-width:870px}
.discovery-dialog .modal-head{background:white;border:0}
.discovery-dialog .modal-head h2{color:#af492c}
.discovery-detail{display:grid;grid-template-columns:38% 1fr;gap:25px;align-items:center;padding-top:3px}
figure{margin:0}
.discovery-detail figure img{display:block;width:100%;height:auto;border:1px solid var(--orange)}
.discovery-explanation{background:var(--gray);padding:25px 23px;line-height:1.65;position:relative;font-size:17px}
.discovery-explanation p:last-child{margin:0}
.discovery-explanation.quote:before{position:absolute;left:-12px;top:-9px;width:25px;height:22px;background:var(--orange)}
dialog.library-dialog{background:var(--tint);border:1px dotted var(--accent)}
.library-dialog .modal-head{background:var(--tint);border:0}
.library-dialog .modal-head h2{color:var(--ink)}
.pdf-library-page{font-size:16px;line-height:1.55}
.pdf-library-page h3{font-size:17px;font-weight:700;line-height:1.35;margin:18px 0 7px}
.pdf-library-page h3:first-child{margin-top:0}
.pdf-library-page p{margin:0 0 12px}
.pdf-quote-row{display:grid;grid-template-columns:minmax(140px,26%) 1fr;align-items:center;gap:28px;margin:21px 0}
.pdf-quote-row figure img{display:block;width:100%;height:auto;max-height:310px;object-fit:contain}
.pdf-information{background:white;position:relative;padding:17px 19px;border-radius:6px 6px 0 0;font-size:15px;line-height:1.55}
.pdf-information.quote:before{position:absolute;left:-15px;top:-10px;width:25px;height:22px;background:var(--accent)}
.pdf-information p{margin:0 0 10px}
.pdf-information p:last-child{margin:0}
.pdf-extra-figure{display:flex;justify-content:center;margin-top:20px;gap:20px}
.pdf-extra-figure img{max-height:230px;width:auto;max-width:100%;object-fit:contain}
.hooke-top{display:grid;grid-template-columns:23% 24% 1fr;align-items:start;gap:21px}
.hooke-portrait img{width:100%;height:auto;display:block}
.hooke-note{margin-top:17px}
.hooke-note .pdf-information{font-size:14px;padding:15px}
.hooke-story h3{margin-top:0}
.hooke-story h3:not(:first-child){margin-top:15px}
.hooke-bottom{display:grid;grid-template-columns:1fr 31%;gap:24px;align-items:center;margin-top:21px}
.hooke-bottom figure img{width:100%;height:auto;display:block}
.pcr-quote-row{grid-template-columns:33% 1fr;align-items:start}
.pcr-visuals{display:flex;gap:13px;align-items:flex-end;margin-top:18px;flex-wrap:wrap}
.pcr-visuals>.source-image{max-width:68%;height:auto;max-height:180px;object-fit:contain}
.qr-block{display:flex;align-items:center;gap:7px;font-size:11px;line-height:1.35}
.qr-block img{width:68px;height:68px;display:block}

/* Dallanmış ağaç: PDF'deki yedi kutu ve sekiz çıkış aynı düzlemde. */
.tree-scroll{margin:16px 0 8px}
.tree-board{position:relative;min-width:760px;height:560px;width:100%;font-size:14px;line-height:1.4}
.tree-connections{position:absolute;inset:0;width:100%;height:560px;overflow:visible}
.tree-connections path{fill:none;stroke:var(--orange);stroke-width:1.25;vector-effect:non-scaling-stroke}
.tree-connections marker path{fill:var(--orange);stroke:none}
.tree-connections .traced{stroke:var(--rust);stroke-width:2.6}
.branch-label circle{fill:#fff;stroke:#87776c;stroke-width:.8}
.branch-label text{fill:#302924;font-size:13px;text-anchor:middle;font-weight:400}
.tree-board .tree-node{position:absolute;display:flex;align-items:center;justify-content:center;text-align:center;border-radius:6px;background:var(--gray);margin:0;padding:13px 14px;min-height:0;border:1px solid transparent}
.tree-board .traced-node{border-color:#be8d72;background:#f1e8e1}
.tree-board .node-0{left:36%;width:28%;top:0;height:84px}
.tree-board .node-1{left:12%;width:26%;top:140px;height:105px}
.tree-board .node-2{left:62%;width:26%;top:140px;height:105px}
.tree-board .node-3,.tree-board .node-4,.tree-board .node-5,.tree-board .node-6{width:22%;top:292px;height:160px}
.tree-board .node-3{left:1.5%}.tree-board .node-4{left:26.5%}.tree-board .node-5{left:51.5%}.tree-board .node-6{left:76.5%}
.tree-exits{position:absolute;top:510px;left:0;width:100%;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px}
.tree-exits .exit{background:#fbd5c0;border:1px solid transparent;border-radius:5px;padding:9px 2px;color:#56382a;font-size:13px;font-weight:500;line-height:1.2;min-height:38px}
.tree-exits .exit[aria-pressed="true"]{background:var(--rust);color:#fff;border-color:var(--rust);outline:2px solid var(--rust);outline-offset:2px}
.tree-action{display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--cream);padding:15px 18px;margin:12px 0 0;border:1px solid #e5d9cd}
.tree-action span{font-size:14px;color:#695347}
.tree-action button{font-size:14px;white-space:nowrap}
.exit-feedback{border:1px solid #e5b396;margin-top:20px;background:#fff8f2}
.exit-feedback-heading{display:flex;align-items:center;gap:20px;padding:13px 20px;background:var(--peach);font-size:15px}
.exit-feedback-heading strong{font-weight:700;color:var(--rust)}
.pdf-tree-quote{background:#ffddc8;border:1px solid var(--orange);border-radius:5px;padding:22px 25px;margin:24px 22px;font-size:17px;line-height:1.6}
.pdf-tree-quote.quote:before{position:absolute;top:-10px;left:-12px;background:var(--orange)}
.pdf-tree-quote p:last-child{margin:0}
.path-details{padding:0 22px 20px;font-size:15px}
.path-details ol{padding-left:23px;margin:18px 0}
.path-details li{margin-bottom:14px}
.path-choice{font-size:13px;color:#6d5547;margin-top:5px}

@media(max-width:1000px){
 .activity-flow ol{gap:8px}
 .activity-flow button{padding:12px 9px;gap:8px}
 .flow-number{width:24px;height:24px;font-size:14px}
 .flow-text strong{font-size:14px}
 .flow-text>span{font-size:11px}
 .footer-brand{font-size:12px}
 .scene-nav{gap:10px}
 .hooke-top{gap:16px}
}
@media(max-width:850px){
 .footer-area{margin:0 -22px;padding:0 22px 16px}
 footer{gap:18px}
 .scene-nav{display:grid;grid-template-columns:1fr auto 1fr}
 #prev{justify-self:start}#next{justify-self:end}#counter{grid-column:2;grid-row:1}
 .activity-flow ol{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .activity-flow li+li:before{display:none}
 .flow-text strong{font-size:15px}
 .flow-text>span{font-size:12px}
 .hooke-top{grid-template-columns:1fr 1fr}
 .hooke-story{grid-column:1 / -1}
 .hooke-portrait img{max-height:240px;object-fit:contain}
}
@media(max-width:560px){
 .brand{width:250px;height:250px;left:-80px;top:-100px}
 .brand img{top:119px}
 .grade{font-size:16px;bottom:10px}
 .grade .squares{gap:3px;margin-top:4px}
 .grade .squares i{width:9px;height:9px}
 .section-title{font-size:17px;margin-bottom:28px}
 .section-dots{gap:3px;bottom:-5px}
 .section-dots i{width:7px;height:7px}
 .intro-content.lead{font-size:17px}
 .start-button{min-width:245px;padding:13px 24px;font-size:18px}
 .footer-area{margin:0 -15px;padding:0 15px 15px}
 .footer-brand{font-size:11px;gap:8px}
 .footer-brand .squares{gap:4px}
 .footer-brand .squares i{width:10px;height:10px}
 .flow-text strong{font-size:13px}
 .flow-text>span{font-size:11px}
 .flow-text small{font-size:9px}
 .activity-flow button{gap:7px;padding:11px 8px}
 .flow-number{width:22px;height:22px;font-size:13px}
 .question-navigation{gap:6px}
 .question-navigation button{flex:1;padding:8px 5px;font-size:13px;white-space:nowrap}
 .discovery-cards .card strong{font-size:15px}
 .discovery-cards .card .card-text{padding:13px 12px}
 .discovery-cards .card .open-label{font-size:12px;padding-top:12px}
 .library-cards{grid-template-columns:1fr;gap:12px}
 .library-cards .card{min-height:105px}
 .library-cards .card .card-text{padding:17px}
 .library-cards .card strong{font-size:16px}
 .library-cards .open-label{font-size:13px}
 .modal-head{flex-direction:row;padding:18px 18px 15px;gap:12px}
 .modal-head h2{font-size:17px}
 .modal-head button{font-size:12px;padding:5px 9px}
 #modal-body{padding:0 18px 20px;max-height:calc(90vh - 125px)}
 .discovery-detail{grid-template-columns:1fr;gap:23px;padding-top:0}
 .discovery-detail figure{max-width:330px;justify-self:center}
 .discovery-explanation{padding:20px;font-size:16px}
 .pdf-library-page{font-size:15px}
 .pdf-library-page h3{font-size:16px}
 .pdf-quote-row,.pcr-quote-row{grid-template-columns:1fr;gap:24px}
 .pdf-quote-row>figure{justify-self:center;max-width:220px}
 .pdf-quote-row figure img{max-height:230px}
 .pdf-information{font-size:14px}
 .hooke-top{gap:16px;grid-template-columns:42% 1fr}
 .hooke-note .pdf-information{padding:13px;font-size:13px}
 .hooke-portrait img{max-height:220px}
 .hooke-bottom{grid-template-columns:1fr}
 .hooke-bottom figure{justify-self:center;max-width:230px}
 .tree-action{align-items:stretch;flex-direction:column;gap:12px}
 .tree-action button{white-space:normal}
 .exit-feedback-heading{gap:8px;flex-direction:column;align-items:flex-start}
 .pdf-tree-quote{margin:22px 17px;padding:19px;font-size:16px}
 .path-details{padding:0 17px 17px}
 .scene-nav{gap:8px}
 .scene-nav button{font-size:13px;padding:9px 13px}
 .scene-nav span{font-size:13px}
}



/* interaction.css */
/* Davranış katmanı: PDF paleti ve kompozisyonu korunur. */
:root{--ease:cubic-bezier(.22,.7,.22,1);--rule:#e0d9cf;--paper:#fffdf8}
.hero-mark{z-index:3;opacity:.8}
.section-title .section-dots{gap:5px;bottom:-6px}
.section-title .section-dots i{width:10px;height:10px;background:#595955}
.section-title .section-dots i.is-lit{background:var(--orange)}
button{touch-action:manipulation;min-height:44px;transition:background-color .18s ease,border-color .18s ease,box-shadow .2s ease,transform .2s var(--ease)}
button:hover:not(:disabled){filter:none}
.start-button{position:relative;overflow:hidden;isolation:isolate;box-shadow:0 3px 0 #70241720;transition:transform .25s var(--ease),box-shadow .25s var(--ease),background-color .25s ease}
.start-button:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,transparent 20%,#fff3 48%,transparent 73%);transform:translateX(-140%);transition:transform .65s var(--ease)}
.start-button span{transition:transform .25s var(--ease)}
.start-button:focus-visible{box-shadow:0 9px 20px #78301f24}
.start-button:active{transform:translateY(0);box-shadow:0 2px 0 #70241720}
#sections button{min-height:46px}

/* Bütün metin alanlarında aynı defter çizgisi ve odak davranışı. */
textarea{font-size:16px;line-height:32px;padding:13px 16px;color:#332c28;caret-color:var(--rust);background-color:var(--paper);background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 31px,var(--rule) 31px,var(--rule) 32px);background-position:0 13px;background-attachment:local;border:1px solid #c5b9aa;border-radius:4px;transition:border-color .2s ease,box-shadow .2s ease;min-height:130px}
textarea:focus{border-color:#be7452;box-shadow:0 0 0 3px #f47f5017}
textarea:focus-visible{outline:2px solid #006e91;outline-offset:2px}
.research-content{animation:content-in .3s var(--ease) both}
.scene-content.scene-enter{animation:content-in .24s var(--ease) both}

/* Çerçevesiz özgün görseller ve tek geçişli ışık yansıması. */
.source-image{border:0!important;outline:0}
.source-image:not(.qr){clip-path:inset(1.5px)}
.qr-block .source-image{clip-path:none}
.image-sheen{display:block;position:relative;overflow:hidden;isolation:isolate;background:transparent;border:0}
.image-sheen:after{content:'';position:absolute;left:-25%;top:-110%;width:150%;height:90%;background:linear-gradient(to bottom,transparent,#ffffff08 20%,#ffffff55 50%,#ffffff08 80%,transparent);transform:rotate(-13deg);opacity:0;pointer-events:none}
.split>.image-sheen{width:100%;justify-self:center;align-self:start;border-radius:0 20px 0 0}
.split>.image-sheen img{display:block;width:100%;height:auto;max-height:370px;object-fit:contain}
.discovery-detail figure img{border:0}
.discovery-cards .card{border:0;background:transparent;border-radius:0 28px 7px 7px;overflow:visible;position:relative;transition:transform .25s var(--ease),filter .25s var(--ease)}
.discovery-cards .discovery-image{border-radius:0 28px 0 0;width:100%}
.discovery-cards .card .card-text{background:var(--gray);border-radius:0 0 7px 7px}
.discovery-cards .card img{background:transparent;display:block}
.discovery-cards .card:focus-visible{outline:3px solid #006e91;outline-offset:4px}
.discovery-cards .card .open-label{transition:color .2s ease}

/* Sorular, birbirinden kopuk düğmeler yerine ortak navigasyon şerididir. */
.question-navigation{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;background:var(--cream);border-bottom:1px solid #dacbbb;border-radius:4px 4px 0 0;overflow:hidden;padding:0}
.question-navigation button{border:0;border-bottom:3px solid transparent;background:transparent;color:#756557;border-radius:0;min-height:48px;padding:11px 15px;position:relative}
.question-navigation button+button:before{content:'';position:absolute;left:0;top:13px;bottom:13px;border-left:1px solid #e3d6c8}
.question-navigation button[aria-current]{background:var(--peach);border-bottom-color:var(--rust);color:var(--rust);font-weight:700}
.question-navigation button:focus-visible{outline-offset:-4px}

/* Öğrenme günlüğü: tek form, tek örnek, kişisel seçimler. */
.diary-form{border:1px solid #d2c6b9;border-radius:5px;overflow:hidden;background:#fff}
.diary-discovery{display:grid;grid-template-columns:minmax(170px,28%) 1fr;gap:5px 0;background:var(--cream);padding:20px 22px;border-bottom:1px solid #d2c6b9}
.diary-discovery>span{font-weight:700;padding-right:20px}
.diary-discovery output{font-weight:500;color:var(--rust);font-size:18px}
.diary-discovery small{grid-column:2;font-size:12px;margin:0}
.diary-row{border-bottom:1px solid #d2c6b9}
.diary-row .answer-block{display:grid;grid-template-columns:minmax(170px,28%) 1fr;align-items:stretch;padding:0;margin:0;border:0}
.diary-row .question{font-size:16px;margin:0;padding:22px;background:#f6f3ee;align-items:flex-start;border-right:1px solid #d2c6b9;font-weight:500}
.diary-row textarea{border:0;border-radius:0;min-height:132px;resize:vertical;background-color:var(--paper);box-shadow:none}
.diary-row textarea:focus-visible{outline-offset:-3px}
.diary-form fieldset{border:0;border-bottom:1px solid #d2c6b9;padding:24px 22px;margin:0;min-width:0}
.diary-form legend{padding:20px 0 0;font-size:17px;line-height:1.4;font-weight:700}
.diary-form .control-help{font-size:13px;color:#7d6d60;margin:-8px 0 15px}
.skill-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.skill-choice{display:flex;align-items:center;gap:12px;min-height:54px;padding:13px 15px;background:var(--cream);border:1px solid #e3d7c8;border-radius:5px;cursor:pointer;font-size:15px;transition:background .18s ease,border-color .18s ease,box-shadow .18s ease}
.skill-choice input{width:21px;height:21px;margin:0;accent-color:var(--rust);flex-shrink:0;cursor:pointer}
.skill-choice:has(input:checked){border-color:#c57c5d;background:#fce7d9;box-shadow:inset 3px 0 var(--orange)}
.skill-choice:focus-within{outline:2px solid #006e91;outline-offset:2px}
.skill-choice input:focus-visible{outline:0}
.assessment-row{display:grid;grid-template-columns:1fr minmax(240px,320px);align-items:center;gap:24px;padding:17px 0;border-bottom:1px solid #e5ddd3}
.assessment-row:last-child{border:0;padding-bottom:0}
.assessment-row>span{font-size:16px;line-height:1.45}
.segmented-scale{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
.segmented-scale label{position:relative;display:block;cursor:pointer}
.segmented-scale input{position:absolute;width:1px;height:1px;opacity:0;margin:0}
.segmented-scale label>span{display:grid;place-items:center;border:1px solid #d6c6b6;border-radius:5px;background:#faf7f1;color:#6e5140;min-height:46px;font-size:17px;font-weight:500;transition:background .18s ease,color .18s ease,border-color .18s ease}
.segmented-scale input:checked+span{background:var(--rust);color:white;border-color:var(--rust)}
.segmented-scale input:focus-visible+span{outline:3px solid #006e91;outline-offset:2px}
.diary-final .question{background:var(--cream)}
.diary-actions{padding:22px;background:var(--cream);display:flex;align-items:center;justify-content:space-between;gap:25px}
.diary-actions small{margin:0;max-width:570px;font-size:13px}
.diary-actions button{min-height:46px;white-space:nowrap;font-size:14px;font-weight:500}
.diary-example{padding:24px 22px;border-top:1px solid #d2c6b9;background:#f6f2ec}
.diary-model h2{font-size:20px;margin:0 0 12px}
.diary-model .model-intro{font-size:14px;color:#746151}
.diary-model dl{display:grid;grid-template-columns:minmax(150px,28%) 1fr;margin:18px 0;background:white;border:1px solid #dfd2c5}
.diary-model dt,.diary-model dd{margin:0;padding:14px 17px;border-bottom:1px solid #e5dbd1;font-size:15px}
.diary-model dt{font-weight:500;background:var(--cream)}
.diary-model>p:last-child{font-size:13px;margin:0}

/* PDF'nin alt köşedeki sayfa alanını anımsatan oklar. */
.scene-nav{display:flex;align-items:center;justify-content:flex-end;gap:10px}
.scene-nav .page-arrow{display:grid;place-items:center;width:46px;height:46px;padding:0;background:var(--orange);color:white;border:0;border-radius:0;box-shadow:none}
.page-arrow svg{width:25px;height:25px;transition:transform .2s var(--ease)}
.page-arrow path{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.page-arrow:focus-visible{outline-offset:4px}




dialog[open]{animation:dialog-in .25s var(--ease) both}
dialog[open]::backdrop{animation:backdrop-in .2s ease both}
dialog{max-height:90dvh}
#modal-body{max-height:calc(90dvh - 100px)}
@keyframes content-in{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@keyframes dialog-in{from{opacity:0;transform:translateY(18px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes backdrop-in{from{background-color:#231b1700}to{background-color:#231b17a6}}
@keyframes image-reflection{0%{top:-110%;opacity:0}15%{opacity:1}80%{opacity:1}100%{top:135%;opacity:0}}
@media(hover:hover){
 .start-button:hover{transform:translateY(-3px);box-shadow:0 11px 22px #78301f28;background:#a43b28}
 .start-button:hover:before{transform:translateX(140%)}
 .start-button:hover span{transform:translateX(5px)}
 .image-sheen:hover:after,.discovery-cards .card:hover .image-sheen:after{animation:image-reflection .8s var(--ease) both}
 .discovery-cards .card:hover{transform:translateY(-4px);filter:drop-shadow(0 9px 10px #43241618)}
 .library-cards .card:hover{transform:translateY(-3px);box-shadow:0 7px 18px #43241612}
 .question-navigation button:hover{background:#fce8dc;color:var(--rust)}
 .skill-choice:hover{border-color:#c59073;background:#fbede2}
 .segmented-scale label:hover>span{border-color:#bf7754;background:#fbe5d6}
 .segmented-scale label:hover input:checked+span{background:#a43b28;color:white}
 .page-arrow:hover{background:#dd6c3e}
 #next:hover svg{transform:translateX(3px)}
 #prev:hover svg{transform:translateX(-3px)}
 
}
@media(max-width:850px){
 .assessment-row{grid-template-columns:1fr;gap:12px}
 .segmented-scale{max-width:430px;width:100%}
 .diary-actions{align-items:stretch;flex-direction:column;gap:15px}
 .diary-actions button{align-self:flex-start}
}
@media(max-width:560px){
 .section-title .section-dots i{width:9px;height:9px}
 .section-title .section-dots{gap:4px;bottom:-6px}
 .question-navigation button{font-size:13px;min-height:46px;padding:11px 4px}
 .split>.image-sheen{max-width:340px}
 .split>.image-sheen img{max-height:300px}
 .discovery-cards .card,.discovery-cards .discovery-image{border-top-right-radius:20px}
 .diary-discovery{grid-template-columns:1fr;gap:8px;padding:18px}
 .diary-discovery small{grid-column:1}
 .diary-discovery output{font-size:17px}
 .diary-row .answer-block{grid-template-columns:1fr}
 .diary-row .question{padding:15px 17px;border-right:0;border-bottom:1px solid #e8ddd1;font-size:15px}
 .diary-row textarea{min-height:136px;padding-left:17px;padding-right:17px}
 .diary-form fieldset{padding:20px 17px}
 .diary-form legend{padding-top:17px;font-size:16px}
 .skill-grid{grid-template-columns:1fr;gap:9px}
 .skill-choice{min-height:54px;font-size:15px;padding:13px}
 .segmented-scale label>span{min-height:48px;font-size:17px}
 .assessment-row{padding:17px 0;gap:13px}
 .assessment-row>span{font-size:15px}
 .diary-actions{padding:19px 17px}
 .diary-actions button{width:100%;align-self:stretch;white-space:normal}
 .diary-example{padding:20px 17px}
 .diary-model dl{display:block}
 .diary-model dt{border:0;padding:12px 14px 4px}
 .diary-model dd{padding:8px 14px 14px}
 .scene-nav .page-arrow{width:45px;height:45px}
 
 
 
 #modal-body{max-height:calc(90dvh - 125px)}
}
@media(prefers-reduced-motion:reduce){
 *,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
 .image-sheen:after{display:none}
}
.two-scene-flow ol{grid-template-columns:repeat(2,minmax(0,1fr))}

/* document.css */
/* Agenda One bu belgeyle birlikte dağıtılmıyor; ortak pdf.css icindeki
   woff2 yollarina dusmemek icin ayni agirliklar yerel kaynakla bildirilir.
   Kullanicinin sisteminde Agenda One varsa o kullanilir, yoksa Segoe UI. */
@font-face{font-family:'Agenda One';src:local('Agenda One Light'),local('AgendaOne-Light'),local('Segoe UI Light'),local('Segoe UI');font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:'Agenda One';src:local('Agenda One Regular'),local('AgendaOne-Regular'),local('Agenda One'),local('Segoe UI');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Agenda One';src:local('Agenda One Medium'),local('AgendaOne-Medium'),local('Segoe UI Semibold'),local('Segoe UI');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Agenda One';src:local('Agenda One SemiBold'),local('AgendaOne-SemiBold'),local('Segoe UI Semibold'),local('Segoe UI');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Agenda One';src:local('Agenda One Bold'),local('AgendaOne-Bold'),local('Segoe UI Bold'),local('Segoe UI');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Agenda One';src:local('Agenda One ExtraBold'),local('AgendaOne-ExtraBold'),local('Segoe UI Black'),local('Segoe UI');font-weight:800;font-style:normal;font-display:swap}
@font-face{font-family:'Agenda One';src:local('Agenda One Black'),local('AgendaOne-Black'),local('Segoe UI Black'),local('Segoe UI');font-weight:900;font-style:normal;font-display:swap}

/* biyoloji9.1.3 belge stilleri.
   Kural: bütün seçiciler #main veya #modal-body kökü altında tanımlanır;
   ortak kabuk dosyalarındaki bileşenler yeniden tanımlanmaz. */

/* ---------- Ortak metin yerleşimi ---------- */
#main .scene-content{animation:content-in .28s var(--ease) both}
#main .intro-content p:last-child{margin-bottom:0}
#main .intro-bullets{margin:0 0 18px;padding-left:22px}
#main .intro-bullets li{margin-bottom:8px;padding-left:2px}
#main .instructions{color:#5a504a;margin-bottom:18px}
#main .purpose p{margin:0}
#main .reading p:last-child{margin-bottom:0}

/* ---------- Başlangıç ---------- */
/* Düğmenin kendi geometrisi ortak kitden gelir; yalnız yerleşimi ayarlanır. */
#main .start-action{margin-top:30px}

/* ---------- Doğru / Yanlış ---------- */
#main .table-scroll{overflow-x:auto;margin-bottom:8px}
#main .dy-table th:first-child{width:auto}
#main .dy-table th:nth-child(2),#main .dy-table th:nth-child(3){width:112px;text-align:center}
#main .tf-num{width:34px;text-align:center;font-weight:700;color:#8a6d5c}
#main .tf-statement{line-height:1.5}
#main .tf-option-cell{width:120px;text-align:center}
#main .tf-options{justify-content:center}
#main .tf-options span{white-space:nowrap}
#main .dy-feedback{margin:0;background:#fff}
#main .dy-feedback p{margin:0 0 8px}
#main .dy-feedback p:last-child{margin-bottom:0}
#main .dy-choice{color:#6d5547;font-size:15px}
#main .dy-actions{display:flex;justify-content:flex-end;margin:6px 0 4px}
#main .dy-actions button{min-width:150px}
#main .intro-note{font-size:15px;color:#6b5a4e}

/* ---------- Açık uçlu sorular ---------- */
#main .open-question:last-child{border-bottom:0;padding-bottom:0;margin-bottom:0}
#main .open-question .question span{flex:1}
#main .open-question textarea{margin-bottom:12px}
#main .open-question textarea:disabled{background-color:#f4f0ea;color:#4a423c;cursor:not-allowed}
#main .example-toggle{display:inline-flex;align-items:center;gap:7px;min-height:44px;border:1px solid #c1a897;background:#fff;color:var(--rust);font-size:14px;font-weight:500;padding:9px 15px}
#main .example-toggle:hover{background:var(--peach)}
#main .open-question .feedback{margin-top:14px}
#main .open-question .feedback p:first-child{margin-top:0}

/* ---------- Etkinlik ---------- */
#main .etkinlik-figure{margin:0 0 24px;text-align:center}
#main .etkinlik-figure img{display:block;width:100%;max-width:660px;height:auto;margin:0 auto;border-radius:6px}
#main .method-item{background:#fff;border:1px solid #e0d3c6;border-radius:5px;padding:15px 17px;margin-bottom:12px}
#main .method-item strong{display:block;color:var(--rust);margin-bottom:6px}
#main .method-item p:last-child{margin-bottom:0}
#main .verify-table{width:100%;border-collapse:collapse;margin:14px 0 0;font-size:15px}
#main .verify-table th{background:var(--peach);color:#5c3a2a;text-align:left;font-weight:700}
#main .verify-table th,#main .verify-table td{border:1px solid #c5bdb7;padding:10px 12px;vertical-align:top}
#main .verify-table tbody tr:nth-child(even){background:#fbf6f1}
#main .verify-table td:nth-child(2){white-space:nowrap;font-weight:600;color:var(--rust)}

/* ---------- Rapor ---------- */
#main .form-title{font-size:21px;margin:6px 0 20px;padding-bottom:9px;border-bottom:2px solid var(--orange);letter-spacing:.01em}
#main .report-section{font-size:17px;color:#33251f;margin:26px 0 14px;letter-spacing:.02em;padding:9px 14px;border-left:5px solid #6f9d5f;background:#e8efe6}
#main .report-section:first-of-type{margin-top:4px}
#main .report-section[data-sec="2"]{border-left-color:#c9a227;background:#f6efd8}
#main .report-section[data-sec="3"]{border-left-color:#c4687f;background:#f7e6ea}
#main .report-section[data-sec="4"]{border-left-color:#8a6fae;background:#ede7f4}
#main .report-scene .open-question{padding-bottom:20px}
#main .violations-list{margin:10px 0 0;padding-left:22px}
#main .violations-list li{margin-bottom:10px}
#main .violations-list li:last-child{margin-bottom:0}

/* ---------- Öz değerlendirme ve yansıtma ölçeği ----------
   Kontrol ailesi ortak .segmented-scale / .assessment-row'dan gelir;
   burada yalnız kaynağın üç sütunlu yerleşimi ve aralıklar ayarlanır. */
#main .assessment-title{font-size:16px;line-height:1.4;color:#4d4239;background:var(--cream);border-left:4px solid var(--orange);padding:11px 14px;margin:26px 0 14px}
#main .assessment-title:first-child{margin-top:0}
#main .assessment-list{margin-bottom:8px}
#main .assessment-row{padding:16px 0}
#main .segmented-scale{grid-template-columns:repeat(3,minmax(0,1fr));max-width:340px}
#main .scale-question{margin-bottom:0;border-bottom:0;padding-bottom:0}
#main .scale-question .question{display:block}
#main .scale-question .segmented-scale{max-width:420px;margin-top:4px}
#main .vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ---------- Dallanmış ağaç ---------- */
#main .tree-scene .instructions{margin-bottom:14px}
/* Bağlantı çizimleri 760x560 koordinat sisteminde üretilir; tahta tam bu
   genişlikte kalır, dar ekranda yalnız .tree-scroll yatay kaydırılır. */
#main .tree-board{width:760px;min-width:760px;height:620px;margin:0 auto}
/* Kök önerme uzundur: PDF'teki gibi geniş ve iki-üç satırlık kutu. */
#main .tree-board .node-0{left:18%;width:64%;top:0;height:104px}
#main .tree-board .node-1,#main .tree-board .node-2{top:148px;height:132px}
#main .tree-board .node-3,#main .tree-board .node-4,
#main .tree-board .node-5,#main .tree-board .node-6{top:308px;height:168px}
#main .tree-board .tree-node{font-size:13.5px;line-height:1.38;padding:11px 12px}
#main .tree-board .tree-node.ok{border-color:#5f8f4e;background:#eef5e9}
#main .tree-board .tree-node.hata{border-color:#c2684f;background:#fbeae4}
#main .tree-connections path{stroke-width:1.2}
#main .tree-connections .traced{stroke:var(--rust);stroke-width:2.6}
#main .tree-exits{gap:6px}
#main .tree-exits .exit{font-size:12.5px;padding:9px 1px}
#main .tree-legend{font-size:14px;color:#6b5a4e;margin:14px 0 0;line-height:1.5}
#main .tree-action{margin-top:18px}
#main .tree-action-btns{display:flex;gap:10px;flex-wrap:wrap}
#main .tree-action-btns button{font-size:14px}
#main .exit-feedback{margin-top:18px}
#main .tree-exits{top:576px}
#main .tree-connections{height:620px}
#main .path-text{line-height:1.5}
#main .pdf-tree-quote{position:relative;margin:20px 22px}
#main .tree-scene .tree-board .branch-label text{font-size:12.5px}

/* ---------- Öğrendiklerim ---------- */
#main .library-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#main .library-cards .card{position:relative;min-height:120px;padding:0}
#main .library-cards .card .card-text{height:100%;justify-content:center;gap:6px;padding:22px 20px}
#main .library-cards .card strong{font-size:17px;line-height:1.4;letter-spacing:.01em}
#main .library-cards .open-label{margin-top:0;font-size:14px;display:inline-flex;align-items:center;gap:7px}
#main .library-cards .card.is-reviewed{border-style:solid;border-top-color:#5f8f4e;background:#f4f8f0}
#main .library-cards .card.is-reviewed .open-label{color:#4d7440}
#main .reviewed-mark{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:#5f8f4e;color:#fff;font-size:12px;line-height:1}
#main .completion-panel{margin-top:26px;background:var(--cream);border:1px solid #e0d3c6;border-left:5px solid var(--orange);border-radius:5px;padding:20px 22px}
#main .completion-panel p{margin:0 0 14px}
#main .completion-panel p:last-child{margin-bottom:0}
#main .completion-panel button{min-width:200px}

/* ---------- Modal içerikleri ---------- */
#modal-body .pdf-library-page h3{color:#3f3630}
#modal-body .pdf-library-page .principle-list,
#modal-body .pdf-library-page .practice-list{margin:0;padding-left:24px}
#modal-body .pdf-library-page .principle-list li,
#modal-body .pdf-library-page .practice-list li{margin-bottom:12px;line-height:1.55}
#modal-body .pdf-library-page .principle-list li:last-child,
#modal-body .pdf-library-page .practice-list li:last-child{margin-bottom:0}
#modal-body .pdf-library-page strong{color:#7c3a22}
#modal-body .pdf-extra-figure{margin:18px 0}
#modal-body .pdf-extra-figure img{max-height:210px}
#modal-body .pdf-quote-row{align-items:center;margin:20px 0 0}
#modal-body .pdf-quote-row figure img{max-height:290px;border-radius:5px}
#modal-body .pdf-information{border-left:4px solid var(--orange);border-radius:0 6px 6px 0}
#modal-body .pdf-information p{white-space:normal}

@media(max-width:850px){
  #main .library-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  #main .tf-table{font-size:15px}
  #main .tree-board .tree-node{font-size:12.5px;padding:9px 9px}
  #main .etkinlik-figure img{max-width:100%}
}
@media(max-width:560px){
  /* Yalnız sütun genişlikleri daraltılır; radio/label geometrisi ortak kitden gelir. */
  #main .dy-table th:nth-child(2),#main .dy-table th:nth-child(3){width:66px;padding:8px 3px;line-height:1.2}
  #main .tf-option-cell{width:66px}
  #main .tf-options{padding:6px 2px}
  #main .tf-num{width:22px;padding:8px 4px}
  #main .tf-statement{padding:8px 7px}
  #main .library-cards{grid-template-columns:1fr}
  #main .library-cards .card{min-height:96px}
  #main .library-cards .card .card-text{padding:18px 16px}
  #main .form-title{font-size:18px}
  #main .report-section{font-size:15.5px}
  #main .completion-panel{padding:17px 16px}
  #main .completion-panel button{width:100%;min-width:0}
  #main .tree-action-btns{flex-direction:column;width:100%}
  #main .tree-action-btns button{width:100%}
  #main .pdf-tree-quote{margin:18px 14px}
  #modal-body .pdf-quote-row figure img{max-height:230px}
}

/* studio.css */
/* KonuLab oynatıcısı ekleri: eski uygulamanın stillerine dokunmadan yeni bileşenler. */
body{font-family:'Segoe UI',Arial,sans-serif}

/* Bilgi kutuları (ör. Rosalind Franklin, Crick & Watson) */
.info-cards{display:grid;grid-template-columns:1fr;gap:18px;margin:0 0 26px}
.info-cards.has-decoration{grid-template-columns:minmax(0,1fr) 120px;align-items:center}
.info-cards-list{display:grid;gap:22px}
.info-card{display:grid;grid-template-columns:190px minmax(0,1fr);gap:20px;align-items:center}
.info-card.image-right{grid-template-columns:minmax(0,1fr) 190px}
.info-card.image-right .info-card-image{order:2}
.info-card-image{width:100%;max-height:230px;object-fit:contain}
.info-card-body{border:2px dashed #e9a98a;border-radius:6px;background:#fffaf4;padding:14px 18px 16px}
.info-card-title{margin:0 0 8px;font-family:Georgia,'Times New Roman',serif;font-size:22px;font-weight:700;letter-spacing:.02em;color:#d0532f;line-height:1.2}
.info-card-body p{margin:0;font-size:16px;line-height:1.6}
.info-cards-decoration{width:100%;max-height:440px;object-fit:contain;justify-self:center}
@media(max-width:760px){
  .info-cards.has-decoration{grid-template-columns:1fr}
  .info-cards-decoration{display:none}
  .info-card,.info-card.image-right{grid-template-columns:1fr}
  .info-card.image-right .info-card-image{order:0}
  .info-card-image{max-height:180px}
}

/* Ağaçta tüm adımları uygun olan çıkış */
.exit-ideal{margin:20px 22px;padding:16px 20px;border:1px solid #5f8f4e;border-radius:5px;background:#eef5e9;color:#2f5424;font-weight:600}

/* Oynatıcının bu sürümünde desteklenmeyen blok */
.unsupported-block{border:1px dashed #b9a99c;background:#faf7f1;padding:14px 18px;margin:0 0 22px;color:#5a504a}
.unsupported-block p:last-child{margin:0}

/* Bir web sitesine iframe ile gömüldüğünde dış boşluklar daralır */
.is-embedded body{background:#fff}
/* Sayfadan kesilmiş formül ve tablo görüntüleri */
.pdf-crop{margin:6px 0 16px}.pdf-crop img{display:block;max-width:100%;height:auto}.pdf-crop-formula img{max-width:100%}.question-figure{margin:-4px 0 12px 43px}.tf-statement .pdf-crop{margin:0}
/* İşaretleme etkinliği */
.select-options{display:flex;flex-wrap:wrap;gap:10px;padding:16px;background:var(--gray);border-radius:5px;margin-bottom:8px}
.select-option{display:flex;gap:8px;align-items:center;background:#fff;border:1px solid #aaa;border-radius:4px;padding:8px 12px;cursor:pointer}
.select-option input{width:18px;height:18px;accent-color:var(--rust)}
.select-option.is-answer{border-color:#2f7d4a;box-shadow:inset 0 0 0 1px #2f7d4a}
.select-mark{font-size:13px;font-weight:600}.select-mark.ok{color:#226b3a}.select-mark.bad{color:#a12a1a}.select-mark.miss{color:#8a5a00}

/* Görselin yanındaki yazı (PDF'deki gibi): görsel yana yaslanır, yazı yanından akar. */
.scene-content,.card-modal-content,#modal-body,.feedback{display:flow-root}
.pdf-wrap{margin:4px 0 14px;max-width:46%}
.pdf-wrap img{display:block;max-width:100%;height:auto;border-radius:4px}
.pdf-wrap-start{float:left;margin-right:24px}
.pdf-wrap-end{float:right;margin-left:24px}
.scene-content>:not(p):not(ul):not(ol):not(h2):not(h3):not(.pdf-wrap):not(.pdf-crop-formula){clear:both}
@media(max-width:640px){.pdf-wrap{float:none;max-width:100%;margin:6px auto 16px;display:flex;justify-content:center}}

/* Geri bildirim kapısı ve kilidi (açık uçlu): en az üç harf ya da bir sayı yazılınca açılır;
   geri bildirim görünürken yalnız o sorunun yanıtı salt okunur. */
.fb-hint{margin-top:6px}
textarea.is-locked{background:#f6f4f0;cursor:default}
/* Dokunma alanları en az 44 px (ortak sözleşme). */
#main .tree-exits .exit{min-height:44px}
#main label.tf-options{min-height:44px;min-width:44px;align-items:center;padding:0 10px;cursor:pointer}
.select-option{min-height:44px}

/* Satır içi formül (KaTeX). Uzun formül dar ekranda kendi içinde kayar. */
.katex{font-size:1.08em}
.katex-display,.question .katex,p .katex{max-width:100%}
code.tex{font-family:inherit;background:#f3f0ea;padding:0 3px;border-radius:3px}

/* Gerçek tablo: dar ekranda yalnız tablo kayar, sayfa taşmaz. */
.table-scroll{overflow-x:auto;margin:0 0 20px;max-width:100%;position:relative} /* sr-only gibi mutlak konumlu iç öğeler sayfayı taşırmaz */
.table-scroll:focus-visible{outline:3px solid #006e91;outline-offset:2px}
.table-scroll .verify-table{min-width:520px;margin:0}
.table-scroll .checklist-table{min-width:0} /* kontrol listesi telefonda sığar: metin sütunu sarar */
.verify-table td:empty::after{content:'\00a0'}

/* Kontrol listesi */
.checklist-table .num{width:44px;text-align:center}
.checklist-table .mark{width:64px;text-align:center}
.check-cell{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;cursor:pointer}
.check-cell input{width:22px;height:22px;accent-color:var(--rust);cursor:pointer}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#main .checklist-table td,#main .checklist-table td:nth-child(2){font-weight:400;color:var(--ink);vertical-align:middle}
/* PDF'den kurulan tablolar sahnede düz görünür (2. sütun vurgusu yalnız doğrulama tablosunda, geri bildirimde) */
#main .scene-content>.table-scroll .verify-table td:nth-child(2),#main .feedback .verify-table td:nth-child(2){white-space:normal;font-weight:400;color:var(--ink)}

/* Doldurma tablosu: boş hücreye yazılır; geri bildirim açıkken hücreler kilitli */
#main .fill-table td.cell-fill{padding:4px;background:#fffefa}
.cell-input{display:block;width:100%;min-width:90px;min-height:44px;border:1px dashed #b9b0a6;border-radius:3px;background:transparent;padding:8px;resize:vertical;font:inherit;line-height:1.4}
.cell-input:focus{border-style:solid;background:#fff}
.cell-input.is-locked{background:#f6f4f0;border-style:solid}
.cell-crop{display:inline-block;margin:0}
.cell-crop img{max-width:100%;height:auto;vertical-align:middle}
.fill-table+.example-toggle{margin-top:4px}

/* Boşluk doldurma */
.blank-lines{padding-left:24px;line-height:2.3}
.blank-lines li{margin-bottom:8px}
input.blank{font:inherit;min-height:40px;min-width:9em;padding:4px 8px;border:0;border-bottom:2px dotted #8d8178;background:#fffefa;color:var(--ink)}
input.blank:focus{outline:3px solid #006e91;outline-offset:2px;border-bottom-style:solid}
input.blank.is-locked{background:#f6f4f0}
.blank-boxes{display:flex;gap:10px;flex-wrap:wrap;margin:4px 0 10px}
.blank-lines li.has-figure{list-style:none;margin-left:-24px}

/* Grafik çizimi: ortak SVG düzlemi */
.g-wrap{max-width:720px;margin:6px 0 8px;border:1px solid #d8d1c9;border-radius:6px;background:#fff}
.graph-svg{display:block;width:100%;height:auto;touch-action:none;cursor:crosshair;user-select:none}
.graph-svg:focus-visible{outline:3px solid #006e91;outline-offset:2px}
.g-grid{stroke:#ebe6df;stroke-width:1}
.g-axis{stroke:#333;stroke-width:1.6}
.g-tick{stroke:#333;stroke-width:1.2}
.g-num{font:13px 'Segoe UI',Arial,sans-serif;fill:#3b3530}
.g-axis-label{font:italic 15px 'Segoe UI',Arial,sans-serif;fill:#222}
.g-seg{stroke-width:2.4}
.g-seg.dim,.g-pt.dim{opacity:.35}
.g-pt{cursor:grab}
.g-pt.sel{stroke:#111;stroke-width:3}
.g-tools,.d-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:6px 0}
.g-modes,.d-modes,.d-colors,.g-series{display:inline-flex;flex-wrap:wrap;gap:6px}
.g-mode,.g-series-opt{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 12px;border:1px solid #c9c0b7;border-radius:5px;background:#fff;cursor:pointer}
.g-mode:has(input:checked),.g-series-opt:has(input:checked){border-color:var(--rust);box-shadow:inset 0 0 0 1px var(--rust);font-weight:600}
.g-mode input,.g-series-opt input{accent-color:var(--rust)}
.g-swatch{width:14px;height:14px;border-radius:3px;display:inline-block}
.g-entry{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:14px;margin:4px 0}
.g-entry label{display:inline-flex;align-items:center;gap:6px;min-height:44px}
.g-entry input{min-height:44px;padding:4px 8px;border:1px solid #a79e97;border-radius:4px;width:5.5em}
.g-status,.d-status{min-height:1.4em;font-size:13px;color:#5a504a;margin:2px 0 6px}
.is-locked .graph-svg,.is-locked .draw-canvas{cursor:not-allowed;opacity:.85}
/* Serbest çizim */
.d-wrap{max-width:820px;border:1px solid #d8d1c9;border-radius:6px;background:#fffefa}
.draw-canvas{display:block;width:100%;touch-action:none;cursor:crosshair}
/* zeminli çizim: PDF'deki kareli zemin arkada, tuval tam üstünde */
.d-wrap.has-bg{position:relative;background:#fff;width:100%}
.d-wrap.has-bg .d-bg{display:block;width:100%;height:auto;user-select:none;pointer-events:none}
.d-wrap.has-bg .draw-canvas{position:absolute;inset:0;width:100%;height:100%}
.draw-canvas:focus-visible{outline:3px solid #006e91;outline-offset:2px}
.d-color{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;cursor:pointer}
.d-color input{position:absolute;opacity:0}
.d-color span[aria-hidden]{width:24px;height:24px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #aaa}
.d-color input:checked+span{box-shadow:0 0 0 3px var(--rust)}
.d-color input:focus-visible+span{outline:3px solid #006e91;outline-offset:2px}
.drawing-block.is-zoomed .d-wrap{max-width:none}
.g-writing{display:block;margin:8px 0}.g-writing span{display:block;font-size:14px;color:#5a504a;margin-bottom:4px}
.g-btn{background:#fff;color:var(--rust);border:1px solid #c9c0b7;min-height:44px;padding:0 14px;font-size:14px}
.g-btn:hover:not(:disabled){background:var(--tint)}
.g-entry button{min-height:44px;min-width:44px}

/* NOT / UYARI / HATIRLATMA kutuları (PDF'deki gri kutu + renkli şerit) */
.callout{margin:1.1em 0;border-radius:6px;background:var(--gray);border-left:5px solid var(--accent,#5b6f8a);padding:.2em 1em .6em;overflow-x:auto}
.callout>.callout-title{margin:.5em 0 .3em;font-weight:700;letter-spacing:.04em;text-transform:uppercase;font-size:.9em;color:var(--accent,#5b6f8a)}
.callout-warning{border-left-color:#c2452d}.callout-warning>.callout-title{color:#b03a24}
.callout-reminder{border-left-color:#2f7d6d}.callout-reminder>.callout-title{color:#276a5c}
.callout-tip{border-left-color:#b7871d}.callout-tip>.callout-title{color:#93690f}
.callout>:last-child{margin-bottom:.2em}
/* tabloya yerleştirilecek kelime kartları */
.word-chips{list-style:none;padding:0;margin:0 0 18px;display:flex;flex-wrap:wrap;gap:8px}
.word-chips li{background:var(--peach);border:1px solid #e3b7a1;border-radius:4px;padding:6px 14px;font-weight:600}
/* uzun noktalı cevap satırı ("Çünkü………") ya da bölünmeyen dizi dar ekranda sayfayı taşırmaz */
#main{overflow-wrap:break-word}
