/* Γ΄ Λυκείου — Lesson 1 pilot aligned to the B΄ lessons 1–3 visual/UX pattern. */
.teacher-tab{display:flex;align-items:center;justify-content:center;color:#fff;text-decoration:none;font-weight:800;padding:10px 12px;border-left:1px solid rgba(255,255,255,.18);white-space:nowrap;background:#12314e}.teacher-tab:hover{background:#244f73}
.g3pilot-bstyle{max-width:1180px;margin:0 auto}.unit-badge{display:inline-block;background:#edf4fa;color:#173f64;border:1px solid #c5d8e8;padding:4px 8px;border-radius:999px;font-size:12px;font-weight:800}.lesson-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.lesson-title h2{margin:0;color:#173f64}.lesson-coverage{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:8px 0 14px;padding:11px 13px;border:1px solid #d4e3ed;border-radius:12px;background:#f5f9fc;color:#315970}.lesson-coverage span{font-size:13px}.pilot-mode-tabs{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:14px 0}.pilot-mode-tabs>button{border:1px solid #b8cad9;background:#fff;color:#214c6d;padding:10px 14px;border-radius:10px;font-weight:850;cursor:pointer}.pilot-mode-tabs>button.active{background:#173f64;color:#fff;border-color:#173f64}.teacher-link{margin-left:auto;text-decoration:none;background:#5e3f87;color:#fff;padding:9px 12px;border-radius:9px;font-weight:800}
.pilot-login{display:grid;grid-template-columns:minmax(220px,1fr) minmax(360px,2fr);gap:18px;align-items:center;background:#eef6fc;border:1px solid #c5dbea;border-radius:15px;padding:16px;margin:12px 0}.pilot-login h3{margin:0 0 5px}.pilot-login p{margin:0;color:#506d84}.compact-login{margin-top:10px}.student-count-switch{display:flex;gap:8px;margin-bottom:10px}.student-count-switch button{border:1px solid #9eb6c8;background:#fff;color:#214c6d;border-radius:999px;padding:8px 14px;font-weight:850;cursor:pointer}.student-count-switch button.active{background:#ef7b22;color:#fff;border-color:#ef7b22}.pair-fields{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end}.pair-fields.one-student{grid-template-columns:minmax(220px,1fr) auto}.pair-fields label,.home-field label{font-weight:800;font-size:13px}.pair-fields input,.home-field input{display:block;width:100%;margin-top:5px;padding:10px;border:1px solid #b8c8d5;border-radius:9px;font:inherit;text-transform:uppercase}.home-field{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end}.pilot-save{padding:9px 12px;border:0;border-radius:9px;background:#1d5f8f;color:#fff;font-weight:800;cursor:pointer}.secondary-action{background:#fff;color:#1d5f8f;border:1px solid #1d5f8f}.pilot-status{grid-column:1/-1;font-size:13px;color:#527087}.success-text{color:#197143;font-weight:800}.error-text{color:#a32c2c;font-weight:800}
.slide-deck{background:#fff;border:1px solid #d2dde6;border-radius:18px;overflow:hidden;box-shadow:0 12px 34px #15334d16;margin:18px 0}.slide-head{display:flex;justify-content:space-between;align-items:center;background:#173f64;color:#fff;padding:11px 16px;font-weight:800}.slide-stage{min-height:390px;padding:30px clamp(22px,5vw,58px);display:flex;flex-direction:column;justify-content:center;background:linear-gradient(145deg,#fff,#f6f9fc)}.slide-stage h2.sec,.slide-stage h3{font-size:clamp(24px,3vw,34px);margin:0 0 18px;color:#163d60}.slide-stage p,.slide-stage li{font-size:18px;line-height:1.65}.slide-stage ul{margin:8px 0 0 20px}.slide-stage .def,.slide-stage .note{font-size:16px}.slide-kicker{font-size:13px;text-transform:uppercase;letter-spacing:.08em;color:#5b7690;font-weight:800;margin-bottom:8px}.slide-utility{display:flex;justify-content:flex-end;margin-top:18px}.slide-foot{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:12px 16px;border-top:1px solid #e1e8ee}.slide-foot button{padding:10px 14px;border:0;border-radius:9px;background:#2b6d9d;color:#fff;font-weight:800;cursor:pointer}.slide-foot button:disabled{opacity:.35;cursor:not-allowed}.slide-dots{display:flex;gap:7px;justify-content:center;flex-wrap:wrap}.slide-dot{width:10px;height:10px;border-radius:50%;background:#c4d0da;cursor:pointer}.slide-dot.active{background:#ef7b22;transform:scale(1.25)}
.guided-deck{border:2px solid #cfddeb}.guided-stage{min-height:430px}.guided-actions{display:flex;gap:10px;padding:12px 16px;background:#f4f8fb;border-top:1px solid #dce6ed;flex-wrap:wrap}.guided-actions button{border:1px solid #95aec0;background:#fff;color:#244d6a;border-radius:10px;padding:10px 14px;font-weight:850;cursor:pointer}.guided-actions button:first-child{background:#1e668f;color:#fff;border-color:#1e668f}.guided-actions button:disabled{opacity:.45;cursor:not-allowed}.guided-actions .guided-retry{background:#fff}.guided-prompt{background:linear-gradient(135deg,#fff8ea,#fff);border:1px solid #ecd19a;border-radius:14px;padding:14px 16px;margin:0 0 16px}.guided-prompt>b{display:block;color:#7a4d18;margin-bottom:7px}.guided-prompt p{font-size:17px!important;line-height:1.55;margin:0}.guided-prompt-list{display:grid;gap:8px}.guided-prompt-list>div{font-size:16px;line-height:1.45}.guided-match-prompt{display:grid;grid-template-columns:1fr 1fr;gap:14px}.guided-match-prompt>div{display:grid;gap:7px}.guided-match-prompt span{padding:7px 9px;border-radius:8px;background:#fff;border:1px solid #ead7b5}.guided-visual-canvas{margin:6px 0 12px;padding:16px;border:1px solid #d7e3ec;border-radius:16px;background:linear-gradient(145deg,#fbfdff,#f5f9fc);overflow:auto}.visual-list{display:grid;gap:10px}.visual-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:10px;align-items:center;background:#fff;border:1px solid #d8e3eb;border-radius:12px;padding:11px 12px;transition:.18s}.visual-row small{grid-column:2/-1;color:#546d80;line-height:1.4}.visual-row.is-correct{background:#eaf8ef;border-color:#9bd0af}.visual-row.is-false{background:#fff4e8;border-color:#e6bd82}.visual-index{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#eaf2f7;color:#245b80;font-weight:900}.visual-answer,.visual-fill{font-weight:900;color:#195f3d}.visual-options{display:grid;gap:10px}.visual-option{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:13px;border:1px solid #d5e1e9;border-radius:12px;background:#fff}.visual-option.is-correct{background:#e9f7ef;border:2px solid #3d9b62}.visual-option em{font-size:22px;color:#1f7d49}.visual-match{display:grid;gap:10px}.visual-match-row{display:grid;grid-template-columns:minmax(0,1fr) 40px minmax(0,1fr);gap:10px;align-items:center;padding:12px;border:1px solid #d9e4ec;border-radius:12px;background:#fff}.visual-match-row strong{text-align:center;font-size:22px;color:#778c9c}.visual-match-row.is-correct{background:#eaf8ef;border-color:#9bd0af}.guided-reveal-list{display:grid;gap:9px;margin-top:14px}.guided-visual-caption{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:center;padding:10px 12px;border-left:4px solid #2b78a8;background:#f0f6fa;border-radius:9px}.guided-visual-caption b{color:#245c82}.guided-visual-caption span{font-size:14px;line-height:1.4}.solution-caption{border-left-color:#2c8a55;background:#edf8f1}.teacher-hint{color:#718395;font-style:italic;background:#f7f9fb;border:1px dashed #cbd7df;border-radius:10px;padding:12px}
.pilot-section{background:#fff;border:1px solid #d7e1e9;border-radius:16px;padding:18px;margin:18px 0}.evaluation-shell{padding:0;overflow:hidden}.evaluation-intro{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:18px;background:#f6f9fc;border-bottom:1px solid #dce6ed}.evaluation-intro h3{margin:0 0 5px}.evaluation-intro p{margin:0;color:#5b7286}.evaluation-badge{background:#173f64;color:#fff;border-radius:13px;padding:10px 14px;white-space:nowrap}.evaluation-badge b{font-size:25px}.homework-notice{background:#fff9e8;border:1px solid #edd393;border-radius:10px;padding:10px 12px;margin:14px 16px}.student-lanes{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start;padding:0 16px 18px}.student-lanes.single{grid-template-columns:minmax(0,900px);justify-content:center}.student-lane{border:1px solid #d0dce6;border-radius:16px;overflow:hidden;background:#fbfdff;box-shadow:0 8px 24px #15334d0c}.lane-placeholder{min-height:160px;display:grid;place-items:center;border:2px dashed #cad6df;border-radius:15px;color:#6f8294;padding:20px;text-align:center}.lane-head{display:flex;justify-content:space-between;align-items:start;gap:12px;padding:16px;background:#173f64;color:#fff}.lane-head h3{margin:5px 0 0}.variant-badge{display:inline-block;background:#ef7b22;color:#fff;font-weight:900;border-radius:999px;padding:4px 9px;font-size:12px}.lane-grade{text-align:right}.lane-grade span{display:block;font-size:12px;opacity:.8}.lane-grade b{font-size:22px}.student-progress{padding:13px 16px;background:#f1f6fa;border-bottom:1px solid #dce5ec}.progressbar{height:8px;background:#dce6ee;border-radius:999px;overflow:hidden;margin-top:8px}.progressbar>span{display:block;height:100%;background:#ef7b22}.progress-dates{display:flex;gap:10px;flex-wrap:wrap;color:#647b8e;font-size:12px;margin-top:7px}.assessment-slide-head{display:flex;justify-content:space-between;gap:12px;padding:12px 16px;background:#eaf2f7;border-bottom:1px solid #dce6ed;color:#214b69}.assessment-slide{padding:18px;min-height:340px}.assessment-nav{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:12px 16px;border-top:1px solid #e1e8ee;background:#fbfdff}.assessment-nav>button{border:0;background:#2a6c9b;color:#fff;border-radius:9px;padding:9px 12px;font-weight:800;cursor:pointer}.assessment-nav>button:disabled{opacity:.35}.assessment-result{margin-top:10px;padding:10px;border-radius:8px;font-size:13px;background:#eef4f8}.assessment-result.good{background:#e8f6ed;color:#176636}.assessment-result.mid{background:#fff4dc;color:#815500}.assessment-result.low{background:#fdeaea;color:#9c2727}
.home-summary{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:10px;background:#fff;border:1px solid #d8e3eb;border-radius:15px;padding:14px;margin:16px 0}.home-summary>div{padding:10px;background:#f7fafc;border-radius:10px}.home-summary h3{margin:5px 0}.home-summary b,.home-summary span{display:block;font-size:12px;color:#60778a}.home-summary strong{display:block;font-size:22px;color:#1a527b;margin-top:4px}.homework-stage{min-height:430px}.homework-slide-top{display:flex;justify-content:space-between;gap:14px;align-items:start}.deadline-chip{background:#fff3dc;color:#805100;border-radius:10px;padding:9px 12px}.deadline-chip.late,.late-warning{background:#fff0f0;color:#8e2525}.late-warning{border:1px solid #e6a6a6;border-radius:10px;padding:11px 13px;margin:12px 0}.homework-locked{background:#f3f6f8;border:1px dashed #bdcad4;padding:20px;border-radius:12px;color:#617789}.assessment-prompt{display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:start;background:#fff8ea;border:1px solid #ecd19a;border-radius:13px;padding:13px;margin-bottom:14px}.assessment-prompt>span{font-size:28px}.assessment-prompt p{margin:0;line-height:1.55}.home-code{width:100%;min-height:180px;padding:12px;border:1px solid #9fb8ca;border-radius:8px;font-family:Consolas,monospace;font-size:13px;resize:vertical;box-sizing:border-box}.pilot-home-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.example-btn{padding:10px 14px;border:1px solid #8ea7ba;border-radius:9px;background:#fff;color:#244b69;font-weight:700;cursor:pointer}
@media(max-width:980px){.student-lanes{grid-template-columns:1fr}.pilot-login{grid-template-columns:1fr}.pair-fields{grid-template-columns:1fr 1fr}.pair-fields .pilot-save{grid-column:1/-1}.home-summary{grid-template-columns:1fr 1fr}}
@media(max-width:850px){.guided-match-prompt{grid-template-columns:1fr}.evaluation-intro{display:block}.evaluation-badge{display:inline-block;margin-top:10px}.assessment-nav{grid-template-columns:1fr 1fr}.assessment-nav .slide-dots{grid-column:1/-1;grid-row:1}.homework-slide-top{display:block}.deadline-chip{display:inline-block;margin-top:8px}}
@media(max-width:700px){.slide-stage{min-height:430px;padding:22px 18px}.slide-stage p,.slide-stage li{font-size:16px}.slide-foot{grid-template-columns:1fr 1fr}.slide-dots{grid-column:1/-1;grid-row:1}.teacher-link{margin-left:0}.pair-fields,.pair-fields.one-student{grid-template-columns:1fr}.home-field{grid-template-columns:1fr}.home-summary{grid-template-columns:1fr}.visual-row{grid-template-columns:32px 1fr}.visual-answer,.visual-fill{grid-column:2}.visual-match-row{grid-template-columns:1fr}.visual-match-row strong{transform:rotate(90deg)}}

/* Lessons 1–3: richer B-style presentation blocks */
.g3pilot-bstyle .hero-question{display:grid;grid-template-columns:70px 1fr;gap:18px;align-items:center;background:linear-gradient(135deg,#eef6ff,#fff8ee);border:1px solid #d8e5ee;border-radius:18px;padding:22px}.g3pilot-bstyle .hero-question>span{font-size:48px;text-align:center}.g3pilot-bstyle .hero-question p{font-size:23px!important;font-weight:800;line-height:1.45;margin:0;color:#183d5f}
.g3pilot-bstyle .concept-row{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:12px 0}.g3pilot-bstyle .concept-row>div{background:#fff;border:1px solid #d7e3ec;border-radius:15px;padding:18px;text-align:center;font-size:24px;box-shadow:0 6px 18px #14324c0a}.g3pilot-bstyle .concept-row b{display:block;font-size:16px;margin-top:8px;color:#183d5f}
.g3pilot-bstyle .compare-board{display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:center}.g3pilot-bstyle .compare-board>div:not(.bridge-arrow){background:#fff;border:1px solid #d8e4ec;border-radius:17px;padding:20px;text-align:center;min-height:145px;display:flex;flex-direction:column;justify-content:center}.g3pilot-bstyle .compare-board span{font-size:38px}.g3pilot-bstyle .compare-board h4{font-size:20px;margin:8px 0}.g3pilot-bstyle .compare-board p{font-size:16px!important;margin:0}.g3pilot-bstyle .bridge-arrow{font-weight:900;font-size:28px;color:#ef7b22;text-align:center}
.g3pilot-bstyle .process-strip{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin:20px 0}.g3pilot-bstyle .process-strip span{background:#173f64;color:#fff;border-radius:14px;padding:14px 18px;font-weight:850;box-shadow:0 8px 18px #173f6422}.g3pilot-bstyle .process-strip b{font-size:24px;color:#ef7b22}
.g3pilot-bstyle .icon-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin:16px 0}.g3pilot-bstyle .icon-grid.three{grid-template-columns:repeat(3,1fr)}.g3pilot-bstyle .icon-grid>div{background:#fff;border:1px solid #d7e3ec;border-radius:16px;padding:18px;font-size:28px;text-align:center}.g3pilot-bstyle .icon-grid b,.g3pilot-bstyle .icon-grid small{display:block;font-size:16px;margin-top:8px}.g3pilot-bstyle .icon-grid small{font-weight:500;color:#5d7386}
.g3pilot-bstyle .recap-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.g3pilot-bstyle .recap-grid>div{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid #d9e5ed;border-radius:14px;padding:15px}.g3pilot-bstyle .recap-grid b{display:grid;place-items:center;min-width:32px;height:32px;border-radius:50%;background:#ef7b22;color:#fff}
.g3pilot-bstyle .checklist-visual{display:grid;grid-template-columns:1fr 1fr;gap:12px}.g3pilot-bstyle .checklist-visual>div{background:#eaf6ef;border:1px solid #afd6bd;border-radius:12px;padding:14px;font-weight:750;color:#205f3c}
.g3pilot-bstyle .visual-card{background:#fff;border:2px solid #d6e2eb;border-radius:14px;padding:12px 14px;text-align:center;min-width:120px;box-shadow:0 5px 14px #173f640c}.g3pilot-bstyle .visual-card>span{display:block;font-size:27px}.g3pilot-bstyle .visual-card>b{display:block;margin-top:5px;font-size:14px;color:#183d5f}.g3pilot-bstyle .visual-card.pending{opacity:.45;border-style:dashed}
.g3pilot-bstyle .unsorted-tray{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.g3pilot-bstyle .two-zones{display:grid;grid-template-columns:1fr 1fr;gap:14px}.g3pilot-bstyle .category-zone{border:2px dashed #b7cbd9;border-radius:16px;padding:13px;background:#fbfdff;min-height:115px}.g3pilot-bstyle .category-zone h4{margin:0 0 10px;text-align:center;color:#214e6d}.g3pilot-bstyle .zone-items{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.g3pilot-bstyle .active-zone{box-shadow:0 0 0 3px #ef9b4b33;border-color:#ef9b4b!important}
.g3pilot-bstyle .visual-flow{display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap}.g3pilot-bstyle .flow-node{border:2px solid #cbdce7;background:#fff;border-radius:14px;padding:13px 16px;text-align:center;min-width:130px}.g3pilot-bstyle .flow-node>b{display:block}.g3pilot-bstyle .flow-node small{display:block;margin-top:5px;color:#587186}.g3pilot-bstyle .flow-arrow{font-size:25px;color:#ef7b22;font-weight:900}.g3pilot-bstyle .flow-node.is-correct,.g3pilot-bstyle .tree-node.is-correct{border-color:#55a678;background:#edf9f2}.g3pilot-bstyle .flow-node.active,.g3pilot-bstyle .tree-node.active{border-color:#ef9b4b;background:#fff7ec}
.g3pilot-bstyle .decision-visual{display:grid;gap:14px;justify-items:center}.g3pilot-bstyle .tree-branches{display:flex;gap:14px;flex-wrap:wrap;justify-content:center}.g3pilot-bstyle .tree-node{background:#fff;border:2px solid #cbdce7;border-radius:14px;padding:13px 16px;min-width:150px;text-align:center}.g3pilot-bstyle .tree-node.pending{opacity:.55;border-style:dashed}
.g3pilot-bstyle .visual-ready{display:grid;gap:10px;max-width:650px;width:100%;margin:0 auto}.g3pilot-bstyle .ready-item{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:center;border:2px solid #d4e0e9;border-radius:12px;padding:11px 13px;background:#fff}.g3pilot-bstyle .ready-item.is-correct{border-color:#55a678;background:#edf9f2}
.g3pilot-bstyle .timeline-card{display:flex;gap:14px;align-items:center;justify-content:center;flex-wrap:wrap;background:#fff;border:1px solid #d7e3ec;border-radius:16px;padding:22px;font-size:20px}.g3pilot-bstyle .timeline-card span{font-size:26px;color:#ef7b22}
.g3pilot-bstyle .presentation-title{font-size:28px;line-height:1.2;margin:10px 0 18px;color:#173f64}.g3pilot-bstyle .slide-utility{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:18px}.g3pilot-bstyle .book-link{display:inline-flex;align-items:center;gap:6px;text-decoration:none;background:#e9f4ff;color:#174f78;border:1px solid #bcd9ed;border-radius:10px;padding:9px 12px;font-weight:800}.g3pilot-bstyle .book-link:hover{background:#dcefff}.g3pilot-bstyle .lesson-coverage{align-items:center}.g3pilot-bstyle .lesson-coverage>div{display:grid;gap:3px}.g3pilot-bstyle .speech-status{font-size:12px;margin-top:8px;min-height:18px}.g3pilot-bstyle .speech-status.error-text{color:#a62b2b}.g3pilot-bstyle .speech-status.success-text{color:#147443}
@media(max-width:850px){.g3pilot-bstyle .concept-row,.g3pilot-bstyle .icon-grid.three,.g3pilot-bstyle .recap-grid,.g3pilot-bstyle .checklist-visual,.g3pilot-bstyle .two-zones{grid-template-columns:1fr}.g3pilot-bstyle .compare-board{grid-template-columns:1fr}.g3pilot-bstyle .bridge-arrow{transform:rotate(90deg)}.g3pilot-bstyle .visual-flow{flex-direction:column}.g3pilot-bstyle .flow-arrow{transform:rotate(90deg)}}
/* Presentation adequacy additions for G3 lessons 2–3 */
.g3pilot-bstyle .three-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:16px 0}.g3pilot-bstyle .three-cards>div{background:#fff;border:1px solid #d7e3ec;border-radius:16px;padding:17px;text-align:center}.g3pilot-bstyle .three-cards h4{margin:0 0 8px;color:#173f64;font-size:18px}.g3pilot-bstyle .three-cards p{font-size:15px!important;margin:0}.g3pilot-bstyle .three-cards small{display:block;margin-top:8px;color:#5d7386;line-height:1.35}
.g3pilot-bstyle .vertical-flow{display:grid;justify-items:center;gap:7px;margin:8px auto;max-width:760px}.g3pilot-bstyle .shape{min-width:230px;text-align:center;background:#fff;border:2px solid #bfd2df;padding:11px 18px;font-weight:800;color:#173f64}.g3pilot-bstyle .shape.oval{border-radius:999px;background:#eef6ff}.g3pilot-bstyle .shape.io{transform:none;clip-path:polygon(12% 0,100% 0,88% 100%,0 100%);background:#edf9f2}.g3pilot-bstyle .shape.process{border-radius:5px;background:#fff7e7}.g3pilot-bstyle .shape.decision{clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);padding:28px 50px;background:#f7efff}.g3pilot-bstyle .flow-down{font-size:24px;font-weight:900;color:#ef7b22;line-height:1}.g3pilot-bstyle .branch-row{display:grid;grid-template-columns:1fr 1fr;gap:28px;width:min(620px,100%)}.g3pilot-bstyle .branch-row>div{text-align:center}.g3pilot-bstyle .branch-row b{display:block;margin-bottom:8px;color:#4f6170}
@media(max-width:850px){.g3pilot-bstyle .three-cards,.g3pilot-bstyle .branch-row{grid-template-columns:1fr}.g3pilot-bstyle .shape{min-width:min(230px,80vw)}}

/* v4 double-review fixes: responsive labels, real flowchart shapes, compact category grids */
.g3pilot-bstyle .icon-grid>div,.g3pilot-bstyle .concept-row>div,.g3pilot-bstyle .three-cards>div{min-width:0;overflow-wrap:break-word;hyphens:auto}
.g3pilot-bstyle .category-nine-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}.g3pilot-bstyle .category-nine-grid>div{min-width:0;background:#fff;border:1px solid #d7e3ec;border-radius:14px;padding:14px;text-align:center;font-size:23px;overflow-wrap:anywhere}.g3pilot-bstyle .category-nine-grid b{display:block;margin-top:6px;font-size:15px;color:#183d5f}
.g3pilot-bstyle .shape-key{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0}.g3pilot-bstyle .shape-key>div{min-width:0;background:#fff;border:1px solid #d7e3ec;border-radius:14px;padding:14px;text-align:center}.g3pilot-bstyle .shape-key b,.g3pilot-bstyle .shape-key small{display:block;margin-top:7px;overflow-wrap:anywhere}.g3pilot-bstyle .shape-key small{color:#5d7386}.g3pilot-bstyle .shape-key.compact>div{padding:10px}
.g3pilot-bstyle .shape-swatch{display:inline-block;width:76px;height:42px;border:2px solid #244d6a;background:#eef6ff;vertical-align:middle}.g3pilot-bstyle .shape-swatch.oval{border-radius:999px}.g3pilot-bstyle .shape-swatch.io{clip-path:polygon(14% 0,100% 0,86% 100%,0 100%);background:#edf9f2;border-color:#2b6b45}.g3pilot-bstyle .shape-swatch.process{border-radius:3px;background:#fff7e7;border-color:#8a5a16}.g3pilot-bstyle .shape-swatch.decision{width:54px;height:54px;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);background:#f7efff;border:0;outline:2px solid #6b3f87;outline-offset:-2px}.g3pilot-bstyle .shape-swatch.mini{width:38px;height:22px;margin-right:8px}.g3pilot-bstyle .shape-swatch.decision.mini{width:28px;height:28px}.g3pilot-bstyle .shape-answer{display:flex;align-items:center;gap:5px}
.g3pilot-bstyle .flowchart-wrap{display:flex;justify-content:center;width:100%;overflow:hidden}.g3pilot-bstyle .flowchart-svg{width:min(100%,560px);height:auto}.g3pilot-bstyle .flowchart-svg text{font:700 16px system-ui,sans-serif;text-anchor:middle;fill:#173f64}.g3pilot-bstyle .flowchart-svg .fc-start{fill:#eef6ff;stroke:#244d6a;stroke-width:2}.g3pilot-bstyle .flowchart-svg .fc-io{fill:#edf9f2;stroke:#2b6b45;stroke-width:2}.g3pilot-bstyle .flowchart-svg .fc-decision{fill:#f7efff;stroke:#6b3f87;stroke-width:2}.g3pilot-bstyle .flowchart-svg .fc-line{fill:none;stroke:#244d6a;stroke-width:2.5}.g3pilot-bstyle .flowchart-svg .fc-no{fill:#a01818;text-anchor:start}.g3pilot-bstyle .flowchart-svg .fc-yes{fill:#1a6a39;text-anchor:start}
@media(max-width:850px){.g3pilot-bstyle .icon-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.g3pilot-bstyle .category-nine-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.g3pilot-bstyle .shape-key{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){.g3pilot-bstyle .icon-grid>div{padding:12px 8px;font-size:22px}.g3pilot-bstyle .icon-grid b{font-size:13px;line-height:1.25}.g3pilot-bstyle .category-nine-grid{gap:8px}.g3pilot-bstyle .category-nine-grid>div{padding:10px 8px;font-size:20px}.g3pilot-bstyle .shape-key{grid-template-columns:1fr 1fr;gap:8px}.g3pilot-bstyle .shape-key>div{padding:10px 7px}.g3pilot-bstyle .flowchart-svg text{font-size:15px}}

@media(max-width:430px){.g3pilot-bstyle .guided-stage .icon-grid>div:nth-child(5):last-child{grid-column:1/-1;justify-self:center;width:min(180px,100%)}}

/* v5 homework support: prior-knowledge references + optional hints */
.g3pilot-bstyle .prior-knowledge-note{display:grid;gap:4px;margin:12px 0 14px;padding:12px 14px;border-radius:12px;background:#eef6ff;border:1px solid #bfd9ec;color:#214e6d}.g3pilot-bstyle .prior-knowledge-note b{font-size:14px}.g3pilot-bstyle .prior-knowledge-note span{font-size:13px;line-height:1.45}.g3pilot-bstyle .homework-help{margin:12px 0}.g3pilot-bstyle .homework-hint-toggle{margin:0}.g3pilot-bstyle .homework-hint{display:none;margin-top:8px;padding:12px 14px;border-radius:12px;border:1px solid #e7cf8c;background:#fff9df;color:#654d15;font-size:14px;line-height:1.5}.g3pilot-bstyle .homework-hint.open{display:block}

/* v6 — lessons 1–4: explained concepts + complete original exercise banks */
.g3pilot-bstyle .concept-explained-grid>div,.g3pilot-bstyle .term-card{display:flex;flex-direction:column;gap:7px;align-items:center;justify-content:flex-start;background:#fff;border:1px solid #d7e3ec;border-radius:14px;padding:14px;text-align:center;min-width:0}
.g3pilot-bstyle .concept-explained-grid small,.g3pilot-bstyle .term-card small,.g3pilot-bstyle .explained-categories small,.g3pilot-bstyle .resource-row small{display:block;color:#536f84;font-size:13px;line-height:1.42;font-weight:550}
.g3pilot-bstyle .term-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0}.g3pilot-bstyle .term-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.g3pilot-bstyle .term-grid.criteria-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.g3pilot-bstyle .term-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.g3pilot-bstyle .term-grid.compact-six{grid-template-columns:repeat(3,minmax(0,1fr))}
.g3pilot-bstyle .explained-flow .flow-node{max-width:190px;min-height:104px;display:flex;flex-direction:column;align-items:center;justify-content:center}.g3pilot-bstyle .explained-flow .flow-node small{font-size:12.5px;line-height:1.35;color:#597387}
.g3pilot-bstyle .explained-categories>div{font-size:21px}.g3pilot-bstyle .explained-categories small{margin-top:6px}.g3pilot-bstyle .resource-row>div{display:flex;flex-direction:column;gap:6px}.g3pilot-bstyle .resource-row small{margin-top:3px}
.g3pilot-bstyle .definition-card,.g3pilot-bstyle .scenario-card{background:#f7fbfe;border:1px solid #cbdde9;border-left:5px solid #2b6d9d;border-radius:14px;padding:16px 18px;margin:10px 0}.g3pilot-bstyle .definition-card>b,.g3pilot-bstyle .scenario-card>b{display:block;color:#173f64;font-size:17px;margin-bottom:5px}.g3pilot-bstyle .definition-card p,.g3pilot-bstyle .scenario-card p{font-size:16px!important;margin:0;line-height:1.55}
.g3pilot-bstyle .problem-tree{display:grid;gap:16px;justify-items:center}.g3pilot-bstyle .tree-root{background:#173f64;color:#fff;border-radius:14px;padding:14px 22px;font-weight:900;text-align:center}.g3pilot-bstyle .problem-tree .tree-branches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%}.g3pilot-bstyle .problem-tree .tree-branches>div{background:#fff;border:2px solid #cbdce7;border-radius:14px;padding:13px;text-align:center;font-weight:800;min-width:0}.g3pilot-bstyle .problem-tree .tree-branches small{display:block;color:#60778a;font-weight:550;margin-top:6px}
.g3pilot-bstyle .step-list{display:grid;gap:10px}.g3pilot-bstyle .step-list>div{display:grid;grid-template-columns:minmax(150px,.75fr) minmax(0,1.5fr);gap:12px;align-items:center;background:#fff;border:1px solid #d7e3ec;border-radius:12px;padding:12px 14px}.g3pilot-bstyle .step-list>div b{color:#173f64}.g3pilot-bstyle .step-list>div span{font-size:14px;line-height:1.4;color:#536f84}.g3pilot-bstyle .analysis-five{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.g3pilot-bstyle .analysis-five>div{background:#fff;border:1px solid #d6e2eb;border-radius:13px;padding:12px;text-align:center}.g3pilot-bstyle .analysis-five b,.g3pilot-bstyle .analysis-five small{display:block}.g3pilot-bstyle .analysis-five small{margin-top:7px;color:#5b7487;line-height:1.35}
.g3pilot-bstyle .route-compare{display:grid;grid-template-columns:1fr auto 1fr;gap:14px;align-items:stretch}.g3pilot-bstyle .route-card{display:flex;flex-direction:column;gap:9px;align-items:center;justify-content:center;text-align:center;border-radius:15px;padding:18px;border:2px solid #d6e1e9;background:#fff}.g3pilot-bstyle .route-card.warn{background:#fff7e8;border-color:#e1b96e}.g3pilot-bstyle .route-card.good{background:#edf9f2;border-color:#79bb91}.g3pilot-bstyle .route-card strong{font-size:17px}.g3pilot-bstyle .route-card em{font-size:25px;font-style:normal;font-weight:900}.g3pilot-bstyle .route-vs{display:grid;place-items:center;font-weight:950;color:#ef7b22;font-size:20px}
.g3pilot-bstyle .exercise-bank-shell{padding:0;overflow:hidden}.g3pilot-bstyle .bank-intro{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:18px;background:#f6f9fc;border-bottom:1px solid #dce6ed}.g3pilot-bstyle .bank-intro h3{margin:0 0 5px;color:#173f64}.g3pilot-bstyle .bank-intro p{margin:0;color:#5b7286}.g3pilot-bstyle .bank-count{white-space:nowrap;background:#173f64;color:#fff;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:900}.g3pilot-bstyle .exercise-bank-stage,.g3pilot-bstyle .development-bank-stage{display:grid;gap:16px;padding:18px}.g3pilot-bstyle .bank-card{border:1px solid #d7e2ea;border-radius:15px;padding:14px;background:#fbfdff}.g3pilot-bstyle .bank-card .ex{margin:0}.g3pilot-bstyle .bank-retry-row{display:flex;justify-content:flex-end;margin-top:8px}.g3pilot-bstyle .bank-seq{font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:#5d7588;font-weight:850;margin:0 0 9px}.g3pilot-bstyle .development-shell{margin-top:22px}.g3pilot-bstyle .development-bank-card{background:#f8fbfe}
@media(max-width:900px){.g3pilot-bstyle .term-grid.criteria-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.g3pilot-bstyle .analysis-five{grid-template-columns:repeat(2,minmax(0,1fr))}.g3pilot-bstyle .problem-tree .tree-branches{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.g3pilot-bstyle .concept-explained-grid,.g3pilot-bstyle .term-grid,.g3pilot-bstyle .term-grid.four,.g3pilot-bstyle .term-grid.three,.g3pilot-bstyle .term-grid.compact-six,.g3pilot-bstyle .term-grid.criteria-grid,.g3pilot-bstyle .analysis-five,.g3pilot-bstyle .problem-tree .tree-branches{grid-template-columns:1fr}.g3pilot-bstyle .step-list>div{grid-template-columns:1fr;gap:5px}.g3pilot-bstyle .route-compare{grid-template-columns:1fr}.g3pilot-bstyle .route-vs{padding:2px}.g3pilot-bstyle .bank-intro{align-items:flex-start;flex-direction:column}.g3pilot-bstyle .explained-flow .flow-node{max-width:none;width:min(100%,310px)}}
.g3pilot-bstyle .guided-source-note{display:inline-flex;align-items:center;gap:.35rem;margin:.25rem 0 .55rem;padding:.35rem .6rem;border-radius:999px;background:#eef5ff;border:1px solid #cbdcf5;font-size:.82rem;font-weight:700;color:#24476b}
.g3pilot-bstyle .guided-match-board{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.g3pilot-bstyle .match-left,.g3pilot-bstyle .match-right{display:grid;gap:.65rem}.g3pilot-bstyle .guided-match-solution{display:grid;gap:.6rem}.g3pilot-bstyle .guided-match-solution>div{display:grid;grid-template-columns:minmax(130px,.8fr) 1.2fr;gap:.75rem;align-items:center;padding:.7rem .8rem;border:1px solid #dbe4ec;border-radius:12px;background:#fff}.g3pilot-bstyle .guided-match-solution span{font-size:.92rem}
@media(max-width:600px){.g3pilot-bstyle .guided-match-board{grid-template-columns:1fr}.g3pilot-bstyle .guided-match-solution>div{grid-template-columns:1fr;gap:.25rem}}
/* v6 responsive correction found by the second visual pass */
.g3pilot-bstyle .explained-flow .flow-node{box-sizing:border-box;max-width:100%;overflow-wrap:anywhere}
@media(max-width:600px){
  .g3pilot-bstyle .concept-explained-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .g3pilot-bstyle .concept-explained-grid>div{padding:10px 8px;gap:5px;font-size:20px}
  .g3pilot-bstyle .concept-explained-grid b{font-size:12.5px;line-height:1.2;margin-top:4px}
  .g3pilot-bstyle .concept-explained-grid small{font-size:11px;line-height:1.28}
  .g3pilot-bstyle .explained-flow{width:100%}
  .g3pilot-bstyle .explained-flow .flow-node{width:min(100%,310px);min-width:0;padding:11px 12px}
}

/* v7 — teacher-selected guided bank + compact remaining Embedding exercises */
.g3pilot-bstyle .class-plan-summary{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:center;margin:14px 0;padding:13px 15px;border:1px solid #c7dbe9;border-radius:14px;background:linear-gradient(135deg,#eef7ff,#f9fcff);color:#214d6d}.g3pilot-bstyle .class-plan-summary>div:first-child{display:grid;gap:4px}.g3pilot-bstyle .class-plan-summary span{font-size:13px;line-height:1.4;color:#587287}.g3pilot-bstyle .class-plan-numbers{display:grid;justify-items:center;min-width:105px;padding:8px 10px;border-radius:11px;background:#fff;border:1px solid #d8e5ee}.g3pilot-bstyle .class-plan-numbers strong{font-size:24px;color:#1d628f}.g3pilot-bstyle .class-plan-numbers.over strong{color:#a42b2b}.g3pilot-bstyle .class-plan-remaining{font-size:13px;font-weight:850;padding:8px 10px;border-radius:999px;background:#e8f6ed;color:#1d6f43;white-space:nowrap}.g3pilot-bstyle .class-plan-remaining.over{background:#fdeaea;color:#9f2b2b}
.g3pilot-bstyle .guided-meta-row{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 10px}.g3pilot-bstyle .guided-meta-row span{display:inline-flex;align-items:center;border:1px solid #d3e1ea;background:#f7fafc;color:#365b76;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:800}.g3pilot-bstyle .guided-term-card{min-height:95px}.g3pilot-bstyle .choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.g3pilot-bstyle .choice-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.g3pilot-bstyle .choice-grid>div,.g3pilot-bstyle .fill-visual{border:1px solid #d4e1ea;border-radius:12px;background:#fff;padding:13px;text-align:center;font-weight:800}.g3pilot-bstyle .choice-grid .active,.g3pilot-bstyle .fill-visual .active{background:#fff5df;border-color:#deb15d;color:#744f0d}.g3pilot-bstyle .choice-grid .is-correct{background:#eaf8ef;border-color:#87c69f;color:#1d6c40}.g3pilot-bstyle .choice-grid .muted{opacity:.48}.g3pilot-bstyle .fill-visual{display:flex;justify-content:center;gap:12px;align-items:center;font-size:17px}
.g3pilot-bstyle .exercise-bank-stage{padding:0}.g3pilot-bstyle .exercise-bank-collapsible{border:0;background:#fff}.g3pilot-bstyle .exercise-bank-collapsible>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:12px;align-items:center;padding:15px 18px;font-weight:900;color:#214d6d;background:#fbfdff;border-bottom:1px solid #e3ebf1}.g3pilot-bstyle .exercise-bank-collapsible>summary::-webkit-details-marker{display:none}.g3pilot-bstyle .exercise-bank-collapsible>summary:after{content:'▾';font-size:18px;transition:transform .18s}.g3pilot-bstyle .exercise-bank-collapsible:not([open])>summary:after{transform:rotate(-90deg)}.g3pilot-bstyle .exercise-bank-collapsible>summary small{margin-left:auto;color:#728697;font-weight:650}.g3pilot-bstyle .exercise-bank-accordion{display:grid;gap:9px;padding:12px}.g3pilot-bstyle .bank-card-collapse{padding:0;overflow:hidden;background:#fff}.g3pilot-bstyle .bank-card-collapse>summary{list-style:none;display:flex;justify-content:space-between;gap:10px;align-items:center;padding:12px 14px;cursor:pointer;background:#f8fbfd;color:#244f6e;font-weight:850}.g3pilot-bstyle .bank-card-collapse>summary::-webkit-details-marker{display:none}.g3pilot-bstyle .bank-card-collapse>summary:after{content:'+';font-size:19px;color:#6b8192}.g3pilot-bstyle .bank-card-collapse[open]>summary:after{content:'−'}.g3pilot-bstyle .bank-card-collapse>summary small{font-size:11px;color:#75899a;font-weight:700}.g3pilot-bstyle .bank-card-content{padding:12px 14px;border-top:1px solid #e4ebf0}.g3pilot-bstyle .empty-bank-note{padding:18px;color:#667f92}
@media(max-width:650px){.g3pilot-bstyle .class-plan-summary{grid-template-columns:1fr 1fr}.g3pilot-bstyle .class-plan-summary>div:first-child{grid-column:1/-1}.g3pilot-bstyle .class-plan-remaining{white-space:normal;text-align:center}.g3pilot-bstyle .choice-grid,.g3pilot-bstyle .choice-grid.three{grid-template-columns:1fr}.g3pilot-bstyle .exercise-bank-collapsible>summary{align-items:flex-start;flex-wrap:wrap}.g3pilot-bstyle .exercise-bank-collapsible>summary small{margin-left:0}.g3pilot-bstyle .bank-card-collapse>summary{align-items:flex-start}}

/* v7 mobile top navigation: keep the app within the viewport while preserving all tabs. */
@media(max-width:650px){
  .tabbar{max-width:100vw;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
  .tabbar button,.tabbar .teacher-tab{flex:0 0 auto;white-space:nowrap}
}
.g3pilot-bstyle .guided-book-link{margin-left:.35rem;color:#1d628f;text-decoration:none;font-weight:850}.g3pilot-bstyle .guided-book-link:hover{text-decoration:underline}
/* Accounts/Auth UI ported from the Β΄ Λυκείου hardened flow */
.account-panel{display:block}.account-panel-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.student-account-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.account-card{background:#fff;border:1px solid #cadbe7;border-radius:14px;padding:14px;min-height:190px}.account-card.logged-in{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:start;min-height:auto}.account-card h4{margin:7px 0 3px;font-size:18px}.account-card p{font-size:13px}.account-badge{display:inline-flex;background:#173f64;color:#fff;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:900}.account-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.account-fields label,.home-field label{font-weight:800;font-size:13px}.account-fields input,.account-fields select,.home-field select{display:block;width:100%;margin-top:5px;padding:10px;border:1px solid #b8c8d5;border-radius:9px;background:#fff;font:inherit}.remember-check{display:flex!important;align-items:center;gap:8px;margin:10px 0;font-size:12px!important;font-weight:650!important;color:#506d84}.remember-check input{width:auto!important;margin:0!important}.account-buttons,.account-panel-actions{display:flex;gap:9px;flex-wrap:wrap}.account-buttons button,.account-panel-actions button,.account-logout{border-radius:9px;padding:9px 13px;font-weight:850;cursor:pointer}.secondary-btn{background:#edf3f7;color:#254f6d;border:1px solid #c8d8e4!important}.account-logout{background:#fff0f0;color:#8e2c2c;border:1px solid #e5b3b3}.account-panel-actions{margin-top:14px}.home-field select{min-width:260px}.lesson-access-gate{margin:16px 0;padding:24px;border:1px solid #d6dee6;border-radius:16px;background:#f7f9fb;text-align:center;color:#29485f}.lesson-access-gate h3{margin:0 0 8px;font-size:20px}.lesson-access-gate p{max-width:760px;margin:0 auto;line-height:1.55;color:#607486}@media(max-width:850px){.student-account-grid{grid-template-columns:1fr}.account-panel-head{display:block}.student-count-switch{margin-top:12px}.account-fields{grid-template-columns:1fr}.account-card.logged-in{grid-template-columns:1fr}.home-field select{min-width:0}}
