/* Standalone pages and embedded component stay isolated from the host lesson. */
.lab-report,body.lab-standalone{--navy:#1f3a73;--lime:#8cc63f;--ink:#20304b;--line:#bbc9d8}
.lab-report,.lab-report *,body.lab-standalone,body.lab-standalone *{box-sizing:border-box}
body.lab-standalone{margin:0;background:#f3f6fa;color:#20304b;font-family:Arial,"Noto Sans Hebrew",sans-serif;line-height:1.55}
body.lab-standalone a,.lab-report a{color:#1f3a73}
body.lab-standalone .site-header{background:#1f3a73;color:white;padding:1.1rem max(1rem,calc((100% - 1100px)/2));display:flex;justify-content:space-between;align-items:center;gap:1rem}
body.lab-standalone .site-header a{color:white}
body.lab-standalone .page{max-width:1100px;margin:0 auto;padding:1.25rem}
body.lab-standalone .hero,body.lab-standalone .hub-card,.lab-report .report-box{background:white;border:1px solid #dbe4ed;border-radius:16px;padding:1.2rem;margin-bottom:1.1rem;box-shadow:0 2px 7px #1f3a7312}
body.lab-standalone .hero{border-right:6px solid #8cc63f}
body.lab-standalone h1,body.lab-standalone h2,body.lab-standalone h3,.lab-report h2,.lab-report h3{color:#1f3a73;line-height:1.3;margin:.2rem 0 .65rem}
body.lab-standalone .site-header h1{color:white;margin:0;font-size:1.1rem}
body.lab-standalone p,.lab-report p{margin:.35rem 0 .7rem}
body.lab-standalone .hub-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:.8rem}
body.lab-standalone .hub-card{margin:0}
body.lab-standalone .hub-card a,.lab-report .pill{display:inline-block;padding:.42rem .7rem;border-radius:10px;border:1px solid #bed3b1;text-decoration:none;background:#f4faeb;font-weight:700}
.lab-report{direction:rtl;color:#20304b;font:16px/1.55 Arial,"Noto Sans Hebrew",sans-serif;max-width:1100px;margin:1rem auto}
.lab-report .lab-head{border-top:7px solid #8cc63f;display:flex;align-items:flex-start;justify-content:space-between;gap:.8rem;flex-wrap:wrap}
.lab-report .lab-head .badge{background:#eaf3d9;color:#264600;border-radius:1rem;padding:.25rem .7rem;font-weight:700}
.lab-report .lab-actions{display:flex;flex-wrap:wrap;gap:.45rem}
.lab-report button,body.lab-standalone .no-print button{font:inherit;cursor:pointer;border:1px solid #1f3a73;border-radius:8px;background:white;color:#1f3a73;padding:.37rem .65rem;font-weight:700;min-height:42px}
.lab-report button:hover,.lab-report button:focus-visible,body.lab-standalone .no-print button:focus-visible{background:#e9f3d5;outline:2px solid #8cc63f;outline-offset:1px}
.lab-report button.primary{background:#1f3a73;color:white}.lab-report button.primary:hover{background:#314e80}
.lab-report input,.lab-report textarea,.lab-report select{font:inherit;color:#20304b;background:white;border:1px solid #8396aa;border-radius:6px;padding:.37rem;width:100%;min-width:0}
.lab-report textarea{min-height:55px;resize:vertical}.lab-report label{display:block;font-weight:700}
.lab-report .lab-section{break-inside:avoid;border:1px solid #d4dfe8;border-radius:12px;background:white;margin:10px 0;padding:12px}
.lab-report .lab-section h3{display:flex;align-items:center;gap:.35rem;font-size:1.06rem;margin:0 0 .3rem}
.lab-report .lab-section h3 .n{display:inline-grid;place-items:center;background:#1f3a73;color:white;border-radius:50%;height:26px;width:26px;flex:0 0 26px;font-size:.85rem}
.lab-report .lab-help{font-size:.91rem;background:#f2f7e9;border-right:3px solid #8cc63f;padding:.3rem .55rem;margin:.35rem 0 .65rem}
.lab-report .lab-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.lab-report .lab-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.lab-report .lab-grid>*{min-width:0}
.lab-report .lab-materials,.lab-report .lab-steps{list-style:none;padding:0;margin:.35rem 0}.lab-report .lab-materials li,.lab-report .lab-steps li{display:flex;gap:.45rem;align-items:center;margin:.35rem 0}
.lab-report .lab-materials input[type=checkbox]{width:22px;height:22px;flex:none}.lab-report .lab-materials input[type=text],.lab-report .lab-steps input{flex:1}
.lab-report .lab-steps .step-n{background:#eaf2da;color:#24420b;border-radius:50%;font-weight:700;width:26px;height:26px;text-align:center;flex:none}.lab-report .lab-steps button{min-height:32px;padding:.1rem .38rem}
.lab-report table{border-collapse:collapse;width:100%;table-layout:fixed}.lab-report th,.lab-report td{border:1px solid #9db0bd;padding:.35rem;text-align:right;overflow-wrap:anywhere}.lab-report th{background:#ebf2e2}
.lab-report .lab-table-wrap{overflow-x:auto}.lab-report .lab-table input{padding:.25rem;min-width:0}.lab-report .lab-table th:nth-child(1){width:38%}.lab-report .lab-table th:nth-child(2){width:20%}.lab-report .lab-table th:nth-child(3){width:34%}.lab-report .lab-table th:nth-child(4){width:8%}.lab-report .lab-table button{padding:0 .3rem;min-height:32px}
.lab-report .chart{width:100%;min-height:185px;max-height:250px;background:white;border:1px solid #d9e3eb;border-radius:8px}.lab-report .chart text{font-family:Arial,sans-serif;fill:#20304b}.lab-report .graph-type{display:flex;gap:1rem;flex-wrap:wrap}.lab-report .graph-type label{display:inline-flex;align-items:center;gap:.3rem}.lab-report .graph-type input{width:auto}.lab-report .tap-controls{display:flex;gap:.4rem;flex-wrap:wrap}.lab-report .tap-controls button{background:#f4faeb}.lab-report .empty-chart{display:grid;place-items:center;min-height:160px;border:1px dashed #a5b8c7}
.lab-report .lab-save{font-size:.83rem;color:#45632f}.lab-report .lab-credits{display:none;font-size:.8rem;text-align:center;padding:1.5rem}.lab-report .lab-print-title{display:none}.lab-report .grade-note{font-size:.9rem}.lab-report .small{font-size:.88rem}
body.lab-standalone footer{text-align:center;padding:1.5rem;background:#eaf0f5;font-size:.82rem}
body.lab-standalone .print-sheet{max-width:210mm;margin:1rem auto;padding:12mm;background:white}body.lab-standalone .print-sheet h1{font-size:1.5rem}body.lab-standalone .print-line{border-bottom:1px solid #444;height:19px}body.lab-standalone .print-rows{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem}body.lab-standalone .print-section{border:1px solid #666;padding:5px 9px;break-inside:avoid;margin:5px 0}body.lab-standalone .print-section h2{font-size:1rem;margin:0}body.lab-standalone .print-section p{font-size:.81rem;margin:.1rem 0}body.lab-standalone .print-sheet table{border-collapse:collapse;width:100%;table-layout:fixed}body.lab-standalone .print-sheet table th,body.lab-standalone .print-sheet table td{height:24px;background:white;border:1px solid #444}body.lab-standalone .print-chart{height:100px;border:1px solid #444;background:repeating-linear-gradient(to top,#ddd 0,#ddd 1px,white 1px,white 20px);position:relative}body.lab-standalone .print-chart:before{content:"0                       1                       2                       3                       4";position:absolute;bottom:1px;left:4px;color:#888;font-size:10px}body.lab-standalone .print-sheet .credit{font-size:.65rem;margin-top:.3rem;text-align:center}
@media(max-width:600px){body.lab-standalone .page{padding:.7rem}.lab-report .lab-grid,.lab-report .lab-grid.three,body.lab-standalone .print-rows{grid-template-columns:1fr}.lab-report .lab-table th:nth-child(4){width:12%}.lab-report .lab-table th:nth-child(3){width:28%}.lab-report .lab-table th:nth-child(1){width:40%}.lab-report .lab-table th:nth-child(2){width:20%}.lab-report .lab-table input{font-size:14px}body.lab-standalone .site-header{padding:.7rem}}
@page{size:A4;margin:9mm}
@media print{body.lab-standalone,body.lab-standalone .page{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;background:white!important;color:#111!important;font:9.3pt/1.18 Arial,sans-serif!important}body.lab-standalone .site-header,body.lab-standalone .hero,body.lab-standalone .no-print,body.lab-standalone footer,.lab-report .lab-actions,.lab-report .lab-help,.lab-report .tap-controls,.lab-report .lab-save,.lab-report .lab-section button,.lab-report .graph-type{display:none!important}
.lab-report{margin:0!important;max-width:none!important;font:9.3pt/1.18 Arial,sans-serif!important;color:#111!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}
.lab-report .report-box,.lab-report .lab-section{box-shadow:none!important;border:0!important;border-radius:0!important;padding:0!important;margin:0 0 3mm!important}.lab-report .lab-head{padding:0 0 2mm!important;border-top:0;border-bottom:1px solid #222}.lab-report .lab-head h2{font-size:15pt;color:black!important}.lab-report .lab-section{break-inside:avoid}.lab-report .lab-section h3{font-size:10pt;color:#111!important;margin:0 0 1mm}.lab-report .lab-section h3 .n{color:#111!important;background:white!important;border:1px solid #222;height:17px;width:17px;flex-basis:17px;font-size:8pt}.lab-report .lab-grid,.lab-report .lab-grid.three{gap:2mm}.lab-report .lab-materials li,.lab-report .lab-steps li{margin:0}.lab-report .lab-materials,.lab-report .lab-steps{margin:0}.lab-report .lab-steps .step-n{width:16px;height:16px;background:none}.lab-report .lab-section input:not([type=checkbox]),.lab-report .lab-section textarea,.lab-report .lab-section select{border:0;border-bottom:1px solid #aaa;border-radius:0;padding:0;margin:0;font-size:9pt;min-height:0;background:none}.lab-report .lab-section textarea{height:12mm;min-height:0;overflow:hidden}.lab-report .lab-section input[type=checkbox]{width:12px;height:12px;accent-color:#222}.lab-report .lab-table-wrap{overflow:visible}.lab-report .lab-table th,.lab-report .lab-table td{padding:1mm;border-color:#777;font-size:8pt}.lab-report .lab-table th{background:white}.lab-report .lab-table td:last-child,.lab-report .lab-table th:last-child{display:none}.lab-report .chart{height:42mm;min-height:0;max-height:42mm;border-color:#aaa}.lab-report .chart text{fill:black}.lab-report .lab-credits{display:block!important;padding:1mm;font-size:7pt}
body.lab-standalone .print-sheet{margin:0;padding:0;max-width:none}body.lab-standalone .print-section{margin:2mm 0;break-inside:avoid}body.lab-standalone .print-section h2{font-size:10pt}body.lab-standalone .print-sheet .print-rows{grid-template-columns:repeat(2,1fr)}body.lab-standalone .print-sheet .credit{font-size:7pt}}
