﻿/* Keep the layout on whole notebook rows, on screen and in the PDF. */
.study-sheet{--ruling:24px;--ink-body:#465967;--ink-heading:#294d53;--ink-terracotta:#995b52;--ink-sage:#4d7064;--ink-lavender:#74648c;color:var(--ink-body)}
.study-sheet .sheet-header h2,.study-sheet .blog-content h3{color:var(--ink-heading)}
.study-sheet .ink-notes{color:var(--ink-body)}
.study-sheet .ink-notes .ink-red{color:var(--ink-terracotta)}
.study-sheet .ink-notes .ink-green{color:var(--ink-sage)}
.study-sheet .ink-notes .ink-purple{color:var(--ink-lavender)}
.study-sheet .flash-content .formula{color:var(--ink-heading)}
.study-sheet .flash-content h3{color:var(--ink-lavender)}
.study-sheet .ink-notes .margin-note{border-color:#995b5260;background:#f8f2eac2}
.study-sheet .calc-results{color:var(--ink-body);border-color:#a7b8b4;background:#f7faf8e8}
.study-sheet .calc-check{color:var(--ink-sage)}
.study-sheet .calc-error{color:var(--ink-terracotta)}
.study-sheet .calc-fields input{color:var(--ink-body);border-color:#9fafb5}
.study-sheet .calculator button[type=submit]{background:var(--ink-heading)}
.study-sheet .calculator button[type=reset]{color:var(--ink-heading);border-color:#9fafb5}
.study-sheet .circuit-diagram>g[stroke="#214d87"]{stroke:var(--ink-heading)}
.study-sheet .circuit-diagram>g[fill="#214d87"]{fill:var(--ink-heading)}
.study-sheet .circuit-diagram>g[stroke="#b34152"],.study-sheet .circuit-diagram>g.flow-moving{stroke:var(--ink-terracotta)}
.study-sheet .circuit-diagram>g[fill="#b34152"]{fill:var(--ink-terracotta)}
.lab-stamp{width:84px;height:84px;aspect-ratio:1;border-radius:50%;box-sizing:border-box;flex-shrink:0}
.lab-stamp img{width:44px;height:44px}.lab-stamp span{font-size:6.5px;line-height:1.4;letter-spacing:.7px}
.study-sheet .lab-stamp{position:relative;color:#fff;opacity:1;border:3px double #ffffff85;background:rgb(0 0 0 / 72%);box-shadow:none;transform:rotate(-12deg);padding:8px;gap:0}
.study-sheet .lab-stamp::after{content:'';position:absolute;inset:6px;border:1px dotted #ffffff70;border-radius:50%;pointer-events:none}
.study-sheet .lab-stamp span.stamp-name{font:700 10px/1.3 Georgia,serif;letter-spacing:.2px;margin:0;text-transform:uppercase}
.study-sheet .lab-stamp span.stamp-tick{font:700 28px/1 'Segoe UI',Arial,sans-serif;letter-spacing:0;margin:0}
.study-sheet .lab-stamp span.stamp-verified{font:700 8px/1.4 Georgia,serif;letter-spacing:1px;margin:0;text-transform:uppercase}
.study-sheet .blog-content{line-height:var(--ruling)}
.study-sheet .blog-content p,.study-sheet .blog-content ul,.study-sheet .blog-content ol{line-height:var(--ruling);margin-top:0;margin-bottom:var(--ruling)}
.study-sheet .blog-content li{line-height:var(--ruling);margin-bottom:0}
.study-sheet .blog-content h3{font-size:24px;line-height:calc(2 * var(--ruling));margin:var(--ruling) 0 0}
.study-sheet .blog-content .formula{line-height:var(--ruling);padding:calc(var(--ruling) / 2) 18px;margin:var(--ruling) 0;border-width:0 0 0 3px}
.study-sheet .blog-content .margin-note{line-height:var(--ruling);padding:calc(var(--ruling) - 1px) 18px;margin:var(--ruling) 0;transform:none}
.study-sheet .blog-content figure{margin:var(--ruling) 0}.study-sheet figcaption,.study-sheet .motion-caption{line-height:var(--ruling);margin:0 0 var(--ruling)}
.study-sheet .circuit-diagram{height:calc(14 * var(--ruling));max-width:100%;object-fit:contain}
.study-sheet .flash-content{gap:0 var(--ruling)}.study-sheet .flash-content section{padding:0}.study-sheet .flash-content p,.study-sheet .flash-content li,.study-sheet .flash-content h3{line-height:var(--ruling);margin:0}.study-sheet .flash-content ul{margin:0;padding-left:18px}
.study-sheet .calculator{margin-top:24px;padding-top:22px}.study-sheet .calculator p,.study-sheet .calc-fields label,.study-sheet .calc-results dt,.study-sheet .calc-results dd{line-height:24px}.study-sheet .calc-fields{gap:24px;margin:24px 0}.study-sheet .calc-fields input{height:48px;margin-top:0}.study-sheet .calculator button{height:48px}.study-sheet .calc-results{padding:23px;margin-top:24px}.study-sheet .calc-results dl{gap:0 24px;margin:24px 0}.study-sheet .calc-results h4{line-height:24px;margin:0 0 24px}.study-sheet .calc-check p{margin:0;line-height:24px}
@media screen{
 .study-page .lab-notebook{padding-top:48px;padding-bottom:48px;background-position:0 0,0 18px,0 0}
 .study-page .lab-notebook .sheet-header{min-height:0;align-items:flex-start;padding-bottom:7px;margin-bottom:24px}
 .study-page .lab-notebook .sheet-header h2{line-height:48px}
 .study-page .lab-notebook .lab-stamp{width:84px;height:84px}.study-page .lab-notebook .lab-stamp img{width:44px;height:44px}
 .study-page .lab-notebook .blog-content{line-height:24px}
}
@media screen and (max-width:600px){
 .study-page .lab-notebook{padding-top:24px;padding-bottom:24px}
 .study-page .lab-notebook .lab-stamp{width:60px;height:60px;padding:4px}.study-page .lab-notebook .lab-stamp img{width:29px;height:29px}.study-page .lab-notebook .lab-stamp span{font-size:5px}
 .study-page .lab-notebook .sheet-header h2{font-size:22px;line-height:48px}.study-sheet .blog-content h3{font-size:21px}
 .study-sheet .lab-stamp span.stamp-name{font-size:7px}.study-sheet .lab-stamp span.stamp-tick{font-size:20px}.study-sheet .lab-stamp span.stamp-verified{font-size:6px;letter-spacing:.5px}
}
@media print{
 body[data-print-view] .study-sheet{background:#fff!important;background-image:none!important}
 body[data-print-view] .lab-notebook::before,body[data-print-view] .lab-notebook::after{display:none!important}
 .study-sheet{--ruling:28px}
 body[data-print-view] .calculator,body[data-print-view] .current-motion-toggle,body[data-print-view] .motion-caption{display:none!important}
 body[data-print-view] .lab-stamp{width:72px;height:72px}.lab-stamp img{width:36px;height:36px}
 body[data-print-view="flash"] .lab-stamp{width:64px;height:64px}body[data-print-view="flash"] .lab-stamp img{width:32px;height:32px}
 .study-sheet .lab-stamp span.stamp-name{font-size:8px}.study-sheet .lab-stamp span.stamp-tick{font-size:23px}.study-sheet .lab-stamp span.stamp-verified{font-size:7px;letter-spacing:.6px}
 body[data-print-view] .sheet-header{align-items:flex-start;min-height:112px;padding-bottom:27px;margin-bottom:28px;border-bottom:1px solid #000}
 body[data-print-view] .sheet-header h2{line-height:56px}
 body[data-print-view="blog"] .lab-notebook{padding-top:56px;background-position:0 0,0 20px}
 body[data-print-view="blog"] .lab-notebook{min-height:0;padding:28px 0 28px;border:0}
 body[data-print-view="blog"] .sheet-footer{display:none}
 body[data-print-view] .study-sheet .blog-content{line-height:28px}
 body[data-print-view] .study-sheet .blog-content h3{font-size:16pt;line-height:56px;margin:28px 0 0}
 body[data-print-view] .circuit-diagram{height:280px;max-height:none}
 body[data-print-view="flash"] .sheet-header{min-height:84px;margin-bottom:28px;padding-bottom:25px}
 body[data-print-view="flash"] .flash-content{gap:0 28px}
 body[data-print-view="flash"] .flash-content section{padding:0}
 body[data-print-view="flash"] .lab-flashcard{--ruling:9px;border:.25mm solid #000;border-radius:0;box-shadow:none;margin:0;width:74mm;min-height:52mm;padding:2.5mm;box-sizing:border-box}
 body[data-print-view="flash"] .sheet-header{min-height:0;gap:2mm;margin:0 0 2mm;padding:0 0 1.5mm}
 body[data-print-view="flash"] .sheet-header h2{font-size:8pt;line-height:10px}
 body[data-print-view="flash"] .lab-stamp{width:24px;height:24px;padding:2px;border-width:1px;opacity:1}
 body[data-print-view="flash"] .lab-stamp::after{inset:2px;border-width:.5px}
 body[data-print-view="flash"] .lab-stamp span.stamp-name{font-size:2.5px;line-height:1.1;letter-spacing:0}
 body[data-print-view="flash"] .lab-stamp span.stamp-tick{font-size:9px;line-height:1}
 body[data-print-view="flash"] .lab-stamp span.stamp-verified{font-size:2.5px;line-height:1.1;letter-spacing:0}
 body[data-print-view="flash"] .flash-content{gap:1mm 2mm;grid-template-columns:1fr 1fr}
 body[data-print-view="flash"] .flash-content p,body[data-print-view="flash"] .flash-content li,body[data-print-view="flash"] .flash-content .formula{font-size:6pt;line-height:9px;margin:0}
 body[data-print-view="flash"] .flash-content h3{font-size:4.5pt;line-height:9px;letter-spacing:0;margin:0 0 1mm}
 body[data-print-view="flash"] .flash-content ul{padding-left:2mm}
 body[data-print-view="flash"] .sheet-footer{font-size:4pt;line-height:6px;margin-top:1.5mm;padding-top:0;gap:1mm;flex-direction:row}
 body[data-print-view="flash"] .sheet-footer small{font-size:3.5pt;line-height:5px;max-width:40mm}
}


.study-sheet .lab-stamp.text-verification{display:flex;flex-direction:row;align-items:center;align-self:center;justify-content:flex-end;flex-wrap:wrap;width:auto;height:auto;max-width:150px;aspect-ratio:auto;border:0;border-radius:0;background:none;box-shadow:none;transform:none;padding:0;gap:4px;color:#000;opacity:.5}
.study-sheet .lab-stamp.text-verification::after{display:none}
.study-sheet .lab-stamp.text-verification span.stamp-name,.study-sheet .lab-stamp.text-verification span.stamp-verified{font:500 11px/1.4 'Segoe UI',Arial,sans-serif;letter-spacing:0;text-transform:none;margin:0}
.study-sheet .lab-stamp.text-verification span.stamp-tick{order:3;font:600 14px/1.4 'Segoe UI',Arial,sans-serif;margin:0}
@media(max-width:600px){.study-sheet .lab-stamp.text-verification{max-width:90px;gap:3px}.study-sheet .lab-stamp.text-verification span.stamp-name,.study-sheet .lab-stamp.text-verification span.stamp-verified{font-size:9px}}
@media print{body[data-print-view="flash"] .lab-stamp.text-verification{max-width:23mm;gap:1px}.study-sheet .lab-stamp.text-verification span.stamp-name,.study-sheet .lab-stamp.text-verification span.stamp-verified{font-size:8pt}body[data-print-view="flash"] .lab-stamp.text-verification span.stamp-name,body[data-print-view="flash"] .lab-stamp.text-verification span.stamp-verified{font-size:4.5pt}body[data-print-view="flash"] .lab-stamp.text-verification span.stamp-tick{font-size:6pt}}
/* Fixed print decoration is repeated on every PDF page. */
@media print{
 body[data-print-view]::after{content:'PitegaLabs';position:fixed;top:50%;left:50%;width:max-content;transform:translate(-50%,-50%) rotate(-35deg);font:700 80pt/1 Arial,sans-serif;letter-spacing:4px;color:#000;opacity:.045;z-index:9999;pointer-events:none;white-space:nowrap}
 body[data-print-view="flash"]::after{font-size:23pt;letter-spacing:1px}
}
