:root{font-family:Arial,sans-serif;color:#142d32;background:#f4f7f6;font-size:17px}*{box-sizing:border-box}body{margin:0}header{display:flex;justify-content:space-between;gap:20px;padding:24px 5vw;border-bottom:1px solid #d7e2df}a{color:#087e80}.brand{text-decoration:none;font-weight:800;letter-spacing:.08em}nav{display:flex;gap:25px}nav a{text-decoration:none}.active{border-bottom:3px solid #087e80}main{max-width:1250px;margin:auto;padding:35px 25px}.eyebrow{font-size:12px;font-weight:bold;letter-spacing:.15em;color:#087e80}h1{font-size:clamp(40px,6vw,66px);letter-spacing:-.05em;margin:10px 0}h2{font-size:23px;margin:0 0 16px}p{line-height:1.55}.intro{margin-bottom:30px}.layout{display:grid;grid-template-columns:1.1fr 1fr;gap:22px}.panel{background:white;border:1px solid #d7e2df;border-radius:18px;padding:25px}.row{display:flex;justify-content:space-between;align-items:start;gap:10px}.tag{background:#d9f2e9;padding:6px 9px;font-size:11px;border-radius:5px;font-weight:bold}.stage{position:relative;background:#142d32;aspect-ratio:4/3;border-radius:12px;overflow:hidden}video,canvas{width:100%;height:100%;position:absolute;object-fit:contain}video{transform:scaleX(-1)}#cue{position:absolute;top:18px;left:20px;color:white;font-size:30px;font-weight:bold;background:#142d32bf;padding:6px 12px;border-radius:8px}.buttons{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}button,select{font:inherit;border:1px solid #b5cfca;background:#f2f8f6;border-radius:8px;padding:10px 13px;color:#142d32}button{cursor:pointer}button:hover{background:#d9f2e9}button:disabled{opacity:.5;cursor:default}.primary{background:#087e80;color:white;width:100%;margin-top:20px}.primary:hover{background:#096466}label{display:block;margin:15px 0;line-height:1.6}select{margin-left:8px;max-width:100%}.small,footer{font-size:13px;color:#537077}.bars{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:20px}.bars label{margin:0;font-size:12px}.bars meter{width:100%;height:20px}.result{border-left:4px solid #087e80;padding:1px 16px;margin:20px 0;background:#f2f8f6}.result p{margin:12px 0}#prediction{font-size:23px;font-weight:bold}.report{margin-top:22px}table{border-collapse:collapse;margin:20px 0;max-width:100%;width:560px}th,td{text-align:left;padding:12px;border-bottom:1px solid #d7e2df}th{background:#f2f8f6}footer{margin:25px 0}details{margin:20px 0}summary{cursor:pointer;font-weight:bold}.lecture{max-width:1000px}.slide{margin:0 0 25px;padding:38px;background:white;border:1px solid #d7e2df;border-radius:16px}.slide h2{font-size:32px}.slide .number{font-size:12px;color:#087e80;letter-spacing:.15em;margin-bottom:18px}.flow{display:flex;gap:10px;flex-wrap:wrap;margin:25px 0}.flow span{background:#d9f2e9;padding:18px;border-radius:10px}.callout{padding:18px 22px;background:#142d32;color:white;border-radius:10px;font-size:22px}.slide li{margin:12px 0;line-height:1.6}code{background:#eef4f2;padding:3px;border-radius:4px}.slide .notes{font-size:16px;color:#537077}.slide a{word-break:break-word}@media(max-width:800px){.layout{grid-template-columns:1fr}header{flex-direction:column}.panel{padding:18px}.slide{padding:24px}main{padding:25px 15px}}@media print{header,.no-print{display:none}.slide{break-after:page;border:0;margin:0;padding:15px}.slide:last-child{break-after:auto}body{background:white}.notes{color:#142d32}}
:root{--teal:#087e80}.guide{background:#e1f3ed;border:1px solid #b7d9cf;border-radius:16px;padding:22px 25px;margin-bottom:25px}.steps{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:18px}.steps span{font-size:13px;padding:8px 12px;border-radius:20px;background:white;color:#537077}.steps .selected{background:#087e80;color:white;font-weight:bold}.guide h2{margin-bottom:8px}.guide p{margin:10px 0}.views{display:grid;grid-template-columns:1fr 1fr;gap:12px}.viewTitle{font-size:11px;font-weight:bold;letter-spacing:.06em}.views #cue{font-size:17px;top:8px;left:8px;padding:5px}.views #liveTag{position:absolute;bottom:10px;left:10px;background:#087e80e6;color:white;border-radius:7px;padding:7px 10px;font-size:14px;font-weight:bold}.liveResult{padding:16px;background:#e1f3ed;border-radius:10px;margin-top:14px}.liveResult p{font-size:13px;margin:8px 0 0}#cameraPlaceholder{position:absolute;color:#b7d9cf;text-align:center;padding:24px;inset:0;display:flex;align-items:center;justify-content:center;font-size:14px}#cameraPlaceholder[hidden]{display:none}#labelArea{background:#fff4d9;border:2px solid #e4be64;padding:15px;border-radius:10px;margin:15px 0}.layout{grid-template-columns:1.25fr 1fr}@media(max-width:800px){.layout{grid-template-columns:1fr}.views{grid-template-columns:1fr 1fr}}@media(max-width:440px){.views{grid-template-columns:1fr}}
header nav{flex-wrap:wrap;align-items:center;gap:12px 24px}
.nextStep{background:#e1f3ed;border:1px solid #b7d9cf;border-radius:12px;padding:22px;margin:30px 0;display:flex;gap:15px 25px;align-items:center;flex-wrap:wrap}.nextStep a{font-size:19px;font-weight:bold}.nextStep strong{font-size:18px}
.cameraError{border:2px solid #bf6d45;background:#fff0e5;padding:18px;border-radius:10px;font-weight:bold;line-height:1.6}.cameraError[hidden]{display:none}#status{font-weight:bold}#external{border-color:#087e80}

.decisionOverlay{position:fixed;inset:0;z-index:1000;background:#102d35e8;display:grid;place-items:center;padding:16px}.decisionOverlay[hidden]{display:none}.decisionCard{width:min(650px,95vw);max-height:95dvh;overflow:auto;text-align:center;background:#fff;border-radius:24px;padding:18px 28px;box-shadow:0 20px 80px #0006}.decisionCard>button{float:right}.decisionCard .eyebrow{clear:both;margin:8px 0}.decisionCard canvas{position:static;display:block;width:100%;height:min(42vh,380px);object-fit:contain;border-radius:16px;background:#142d32}.decisionCard canvas[hidden]{display:none}.decisionCard strong{display:block;font-size:clamp(28px,5vw,48px);margin:8px}.decisionCard h2{font-size:clamp(26px,4vw,38px);color:#087e80;margin:8px}.decisionCard p{margin:8px 0}

.stopCamera{border:2px solid #bf6d45;background:#fff0e5;font-weight:bold}.stopCamera:hover{background:#ffe0cc}

#movementDuration{width:100%;accent-color:#087e80;cursor:pointer}#movementValue{font-weight:bold;color:#087e80}

.roundCoach{position:sticky;top:8px;z-index:20;background:#142d32;color:white;border-radius:16px;padding:18px 24px;margin:20px 0;box-shadow:0 6px 20px #142d3233;scroll-margin-top:12px}.roundCoach strong{font-size:clamp(24px,3vw,36px);display:block;margin:10px 0}.roundCoach p{font-size:18px;margin:6px 0}.roundCoach progress{width:100%;height:12px;accent-color:#96e3cb}.phaseSteps{display:flex;gap:10px;flex-wrap:wrap}.phaseSteps span{padding:7px 12px;border:1px solid #537077;border-radius:8px;font-size:15px}.phaseSteps .active{background:#96e3cb;color:#142d32;font-weight:bold}#trackingHint{font-size:15px;color:#d9f2e9}.fingerPanel{margin-top:24px}.fingerPanel h2{font-size:30px}.fingerPanel>p{font-size:17px}.fingerPanel .bars{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.fingerCard{padding:16px;background:#f2f8f6;border:1px solid #b7d9cf;border-radius:14px;text-align:center}.fingerCard h3{font-size:24px;margin:0 0 10px}.fingerCard canvas{position:static;width:100%;height:200px;object-fit:contain;border-radius:10px}.fingerCard label{font-size:15px;margin-top:10px}.fingerCard meter{height:30px;width:100%;display:block}.fingerCard strong{display:block;font-size:32px;color:#087e80}.fingerCard>span{display:block;font-size:17px;margin-top:5px}
#labelArea{width:min(950px,95vw);max-height:92dvh;overflow:auto;margin:auto;padding:28px;border:3px solid #e4be64;border-radius:20px;background:#fffaf0;color:#142d32}#labelArea::backdrop{background:#102d35de}#labelArea h2{font-size:clamp(28px,4vw,42px);margin:0 0 15px}#labelArea p{font-size:20px}#labelArea .small{font-size:15px}.gestureChoices{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.gestureChoices button{padding:12px;border:2px solid #087e80;background:white}.gestureChoices canvas{position:static;width:100%;height:190px;background:#142d32;border-radius:8px;object-fit:contain}.gestureChoices strong{display:block;font-size:30px;margin:10px 0}.gestureChoices span{display:block;font-size:16px}#labelArea .buttons button{font-size:19px;padding:14px 20px}#labelFeedback{font-weight:bold}#labelArea .buttons{justify-content:space-between}@media(max-width:650px){.fingerPanel .bars{grid-template-columns:repeat(2,minmax(0,1fr))}.roundCoach{padding:12px;top:0}.roundCoach p{font-size:16px}.phaseSteps span{font-size:12px;padding:5px}.gestureChoices{gap:6px}.gestureChoices canvas{height:125px}.gestureChoices strong{font-size:20px}.gestureChoices button{padding:6px}#labelArea{padding:16px}}

.gestureChoices[hidden],.movementSummary[hidden]{display:none}.movementSummary{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.movementSummary div{border:2px solid #b7d9cf;border-radius:12px;padding:22px;background:#f2f8f6}.movementSummary .moving{background:#d9f2e9;border-color:#087e80}.movementSummary strong{display:block;font-size:28px}.movementSummary span{display:block;font-size:19px;margin-top:10px}

.roundCoach{position:relative;top:auto}.roundCoach.running{position:sticky;top:8px}

.viewHeading{display:flex;align-items:center;justify-content:space-between;gap:8px}.viewHeading button{font-size:13px;padding:6px 9px;white-space:nowrap}.screenControls{display:none}#computerView.expanded{position:fixed;inset:0;z-index:900;background:#142d32;color:white;padding:16px 24px;display:flex;flex-direction:column;overflow:auto}#computerView.expanded .viewHeading{flex-shrink:0}#computerView.expanded .viewTitle{color:#d9f2e9;font-size:16px}#computerView.expanded .viewHeading button{font-size:18px;padding:10px 16px}#computerView.expanded .stage{flex:1;min-height:180px;aspect-ratio:auto!important;border:1px solid #537077}#computerView.expanded #cue{font-size:clamp(24px,4vw,46px);padding:8px 16px}#computerView.expanded #liveTag{font-size:26px}#computerView.expanded .screenControls{display:block;flex-shrink:0;padding-top:12px}#screenTitle{font-size:clamp(22px,3vw,32px)}.screenControls p{margin:5px 0;font-size:17px}.screenControls .buttons{margin:10px 0 0}.screenControls button{font-size:20px}#screenPrediction{font-weight:bold;color:#96e3cb}#computerView.expanded .decisionOverlay{z-index:1000}#computerView.expanded #labelArea{color:#142d32}
