/* Agenda One bu belgeyle birlikte dağıtılmıyor; ortak pdf.css içindeki
   woff2 yollarına düşmemek için aynı ağırlıklar yerel kaynakla bildirilir.
   Kullanıcının sisteminde Agenda One varsa o kullanılır, 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.5 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}
#main .content-heading{font-size:19px;line-height:1.35;color:#33251f;margin:30px 0 14px;padding-bottom:8px;border-bottom:2px solid var(--orange);letter-spacing:.01em}
#main .content-heading:first-child{margin-top:0}
#main .content-subheading{font-size:16.5px;color:var(--rust);margin:22px 0 10px;letter-spacing:.01em}

/* ---------- Kaynak görsel + bilgi kartı ---------- */
#main .source-card{display:flex;gap:18px;align-items:flex-start;margin:0 0 20px;background:#fff;border:1px solid #e0d3c6;border-radius:6px;padding:16px}
#main .source-card img{flex:0 0 38%;max-width:300px;height:auto;border-radius:5px;display:block}
#main .source-card figcaption{flex:1}
#main .source-card-title{display:block;color:var(--rust);font-size:16.5px;margin-bottom:8px}
#main .source-card p{margin:0 0 10px;line-height:1.55}
#main .source-card p:last-child{margin-bottom:0}
#main .source-figure{margin:0 0 18px}
#main .source-figure img{display:block;width:100%;max-width:520px;height:auto;margin:0 auto;border-radius:6px}
#main .source-figure figcaption{font-size:14.5px;color:#5a504a;line-height:1.55;margin-top:10px}
#main .source-item{margin-bottom:26px;padding-bottom:22px;border-bottom:1px solid #e0d3c6}
#main .source-item:last-child{border-bottom:0;padding-bottom:0}
#main .reading-figure{display:flex;gap:20px;align-items:flex-start;margin-bottom:20px}
#main .reading-figure .source-figure{flex:0 0 40%;margin:0}
#main .reading-figure .source-figure img{max-width:100%}
#main .reading-figure p{flex:1;margin:0;line-height:1.6}
#main .fb-block{margin:6px 0 22px}
#main .fb-lead{margin-bottom:10px}

/* ---------- Tablo hücresi girişleri ---------- */
#main .cell-input{width:100%;min-height:40px;padding:8px 10px;border:1px solid #c5bdb7;border-radius:4px;font:inherit;font-size:14.5px;background:#fff}
#main .cell-input:focus{border-color:var(--rust);outline:2px solid #9f342455;outline-offset:1px}
#main .e1-table td.scale-cell{padding:8px}
#main .reliable-table th{font-size:12.5px;line-height:1.35}
#main .reliable-cell{text-align:center;font-size:12.5px;white-space:nowrap}
#main .reliable-cell .evet,#main .reliable-cell .hayir{display:inline-block;padding:2px 6px;margin:0 2px;border:1px solid #c5bdb7;border-radius:3px}
#main .mineral-table td{font-size:14px;line-height:1.45}
#main .mineral-table td:first-child{white-space:nowrap;width:110px}
#main .tahlil-figure img{max-width:640px}
#main .tahlil-table-wrap{margin-top:14px}
#main .tahlil-table td,#main .tahlil-table th{font-size:14px;padding:8px 10px;text-align:left}
#main .tahlil-table th:first-child,#main .tahlil-table td:first-child{width:36px;text-align:center}
#main .row-dusuk{background:#fbe9e7}
#main .status-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:#c0392b}
#main .status-dot.ok{background:#3a9d5d}

/* ---------- 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)}

/* ---------- Bilgi kartları ---------- */
#main .info-card{background:#fff;border:1px solid #e0d3c6;border-radius:6px;padding:18px 20px;margin-bottom:14px}
#main .info-card .card-title{font-size:17px;color:#3f3630;margin:0 0 10px;letter-spacing:.01em}

/* ---------- Chat ---------- */
#main .chat-box{display:flex;flex-direction:column;gap:12px;margin:14px 0 24px;background:#f3eef7;border:1px solid #ddd2e6;border-radius:8px;padding:16px}
#main .chat-title{font-size:14px;font-weight:700;color:#fff;background:#7a4e9e;border-radius:6px 6px 0 0;margin:-16px -16px 6px;padding:10px 16px;letter-spacing:.02em}
#main .chat-msg{display:flex;gap:10px;align-items:flex-start}
#main .chat-avatar{width:40px;height:40px;border-radius:50%;flex:0 0 40px;object-fit:cover;border:2px solid #fff;background:#fff}
#main .chat-body{display:flex;flex-direction:column;gap:3px;max-width:82%}
#main .chat-name{font-size:12.5px;font-weight:700;color:#7c3a22}
#main .chat-bubble{background:#fff;border:1px solid #d9cfe2;border-radius:3px 10px 10px 10px;padding:10px 14px;font-size:15px;line-height:1.5}
#main .chat-time{font-size:11.5px;color:#8f8499;align-self:flex-end}

/* ---------- 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}

/* ---------- Eşleştirme ---------- */
#main .es-hint{font-size:14.5px;color:#6b5a4e;margin:-6px 0 0}
#main .eslestirme-board{display:flex;gap:32px;margin-top:14px;margin-bottom:20px}
#main .es-column{flex:1}
#main .es-column-title{font-size:16px;color:#3f3630;margin:0 0 10px;padding-bottom:6px;border-bottom:2px solid var(--orange)}
#main .es-left,#main .es-right{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:10px 14px;margin-bottom:8px;border:1px solid #c5bdb7;border-radius:6px;background:#fff;color:var(--ink);cursor:pointer;font-size:15px;line-height:1.4}
#main .es-left:hover,#main .es-right:hover{border-color:var(--orange)}
#main .es-num{display:inline-flex;align-items:center;justify-content:center;flex:0 0 26px;height:26px;border-radius:50%;background:var(--orange);color:#fff;font-size:13px;font-weight:700}
#main .es-left.es-selected{border-color:var(--rust);background:#fdf3ef;color:#7c3a22;box-shadow:0 0 0 2px #9f342433}
#main .es-left.es-matched,#main .es-right.es-matched{border-color:#5f8f4e;background:#eef5e9;color:#3f5c33;cursor:default}

/* ---------- Dallanmış ağaç ---------- */
#main .tree-scene .instructions{margin-bottom:14px}
#main .tree-board{width:760px;min-width:760px;height:620px;margin:0 auto}
#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%}
  #main .eslestirme-board{flex-direction:column;gap:16px}
}
@media(max-width:560px){
  /* Yalnız sütun genişlikleri daraltılır; radio/label geometrisi ortak kitden gelir. */
  #main .source-card{flex-direction:column}
  #main .source-card img{flex-basis:auto;width:100%;max-width:100%}
  #main .source-card figcaption{min-width:0;width:100%}
  #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}
  #main .eslestirme-board{flex-direction:column;gap:12px}
  #main .es-left,#main .es-right{font-size:14px;padding:8px 12px}
}
