/* Practical training controls and feedback. */
#sliderBox label { display: block; margin: 0.5rem 0px; font-size: 1rem; }
#sliderBox input[type="range"] { width: 100%; margin-top: 0.3rem; margin-bottom: 0.6rem; }
#quizBox label { display: block; margin-bottom: 0.4rem; }
#symptomsBox table { width: 100%; border-collapse: collapse; margin-top: 0.6rem; }
#symptomsBox th, #symptomsBox td { border: 1px solid rgb(204, 204, 204); padding: 0.5rem; font-size: large; }
#symptomsBox th { background: rgb(224, 224, 224); font-size: large; }
#resultBox { background: rgb(249, 249, 249); padding: 1.5rem; border-radius: 12px; margin-top: 1.5rem; box-shadow: rgba(0, 0, 0, 0.02) 0px 2px 4px inset; border: 1px solid rgb(238, 238, 238); }
#resultBox h3 { margin-top: 0px; color: rgb(45, 90, 61); display: flex; align-items: center; gap: 0.5rem; }
#resultBox ul { list-style-type: none !important; padding-left: 0px !important; margin: 1rem 0px !important; }
#resultBox li { position: relative; line-height: 1.5; color: rgb(51, 51, 51); padding-left: 1.5rem !important; margin-bottom: 0.8rem !important; }
#resultBox li::before { content: "•"; position: absolute; left: 0px; color: rgb(58, 125, 68); font-weight: bold; font-size: 1.4rem; line-height: 1.1; }
#resultBox ul ul { border-left: 2px solid rgb(255, 235, 238); margin: 0.5rem 0px 0.5rem 1.5rem !important; padding-left: 1rem !important; }
#resultBox ul ul li::before { content: "✕"; color: rgb(211, 47, 47); font-size: 1rem; font-weight: 900; }
#resultBox pre { background: rgb(242, 242, 242); padding: 0.8rem; border-radius: 4px; }
#resultBox p { margin: 0.4rem 0px; }
#historyBox { background: rgb(249, 249, 249); padding: 1.25rem; border-radius: 12px; margin-top: 1rem; border: 1px solid rgb(238, 238, 238); }
#historyBox h3 { margin-top: 0px; margin-bottom: 0.75rem; color: rgb(45, 90, 61); }
#historyBox ul { list-style-type: none !important; padding-left: 0px !important; margin: 0px !important; }
#historyBox li { position: relative; padding: 0.6rem 0.6rem 0.6rem 1.5rem; margin-bottom: 0.5rem; background: white; border-radius: 8px; border-left: 3px solid rgb(224, 224, 224); font-size: 0.95rem; line-height: 1.4; box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 3px; transition: border-left-color 0.2s; }
#historyBox li:hover { border-left-color: rgb(58, 125, 68); }
#environmentBox { flex: 0 0 55%; }
#sliderBox { flex: 0 0 40%; }
.slider-container { margin-bottom: 1.25rem; padding: 0.75rem 0px; border-bottom: 1px solid rgb(240, 240, 240); }
.slider-container:last-of-type { border-bottom-width: medium; border-bottom-style: none; border-bottom-color: currentcolor; }
.slider-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.slider-label { font-size: 0.9rem; font-weight: 600; color: rgb(68, 68, 68); }
.slider-value { font-size: 0.85rem; font-weight: 700; color: rgb(45, 90, 61); background: rgb(232, 245, 233); padding: 0.35rem 0.75rem; border-radius: 16px; min-width: 60px; text-align: center; box-shadow: rgba(0, 0, 0, 0.08) 0px 1px 3px; }
#sliderBox h3 { margin-bottom: 0.75rem; font-size: 1rem; color: rgb(51, 51, 51); }
@media (min-width: 800px) {
#sliderBox { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
@media (max-width: 799px) {
#sliderBox { display: block; }
}
.performance-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin: 1rem 0px; }
.metric-card { background: rgb(255, 255, 255); border: 1px solid rgb(224, 224, 224); border-radius: 12px; padding: 1.2rem; box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 8px; transition: transform 0.2s, box-shadow 0.2s; position: relative; overflow: hidden; }
.metric-card:hover { transform: translateY(-2px); box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 16px; }
.metric-header { display: flex; align-items: center; margin-bottom: 0.8rem; }
.metric-icon { font-size: 1.5rem; margin-right: 0.75rem; width: 2rem; text-align: center; }
.metric-title { font-family: Lunera, Arial, sans-serif; font-weight: 600; font-size: 1rem; color: rgb(44, 62, 80); margin: 0px; }
.metric-value { font-family: Lunera, Arial, sans-serif; font-size: 1.4rem; font-weight: 700; margin-bottom: 0.5rem; display: flex; align-items: center; justify-content: space-between; }
.metric-current { font-size: 1.4rem; }
.metric-status { font-weight: 600; padding: 0.25rem 0.6rem; border-radius: 12px; font-size: 0.8rem; }
.metric-optimal { font-family: Lunera, Arial, sans-serif; font-size: 0.85rem; color: rgb(102, 102, 102); margin-bottom: 0.8rem; }
.metric-progress { position: relative; background: rgb(240, 240, 240); border-radius: 6px; height: 8px; margin-bottom: 0.6rem; overflow: hidden; }
.metric-explanation { font-family: Lunera, Arial, sans-serif; font-size: 0.8rem; font-style: italic; color: rgb(85, 85, 85); line-height: 1.3; }
.quiz-results-container { margin: 1.5rem 0px; }
.quiz-results-grid { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 768px) {
.quiz-results-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
.quiz-results-grid { grid-template-columns: 1fr; }
}
.quiz-card { background: rgb(255, 255, 255); border-radius: 8px; overflow: hidden; box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 8px; transition: transform 0.2s; }
.quiz-card:hover { transform: translateY(-1px); }
.quiz-card-header { display: flex; align-items: center; padding: 0.8rem 1rem 0.5rem; border-bottom: 1px solid rgb(240, 240, 240); }
.quiz-card-icon { font-size: 1.2rem; margin-right: 0.5rem; }
.quiz-card-title { font-family: Lunera, Arial, sans-serif; font-weight: 600; font-size: 0.9rem; margin: 0px; }
.quiz-card-content { padding: 1rem; }
.quiz-answer-row { display: flex; justify-content: space-between; align-items: flex-start; margin: 0.4rem 0px; font-family: Lunera, Arial, sans-serif; }
.quiz-answer-label { font-weight: 600; color: rgb(51, 51, 51); flex-shrink: 0; margin-right: 0.5rem; }
.quiz-answer-value { font-weight: 600; text-align: right; flex-grow: 1; }
.quiz-explanation { font-family: Lunera, Arial, sans-serif; font-size: 0.85rem; font-style: italic; color: rgb(85, 85, 85); margin-top: 0.6rem; padding-top: 0.6rem; border-top: 1px solid rgb(240, 240, 240); line-height: 1.4; }
.quiz-card-correct { border-left: 4px solid rgb(46, 125, 50); background: rgba(46, 125, 50, 0.02); }
.quiz-card-incorrect { border-left: 4px solid rgb(211, 47, 47); background: rgba(211, 47, 47, 0.02); }
.quiz-card-correct .quiz-card-title { color: rgb(46, 125, 50); }
.quiz-card-incorrect .quiz-card-title { color: rgb(211, 47, 47); }
@media (max-width: 600px) {
.performance-grid { grid-template-columns: 1fr; gap: 0.75rem; }
.metric-card { padding: 1rem; }
.metric-value { font-size: 1.2rem; }
.metric-current { font-size: 1.2rem; }
.quiz-card-content { padding: 0.8rem; }
}
@media (min-width: 1200px) {
.performance-grid { grid-template-columns: repeat(3, 1fr); }
}
.vpd-display { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.vpd-value { font-family: Lunera, sans-serif; }
.vpd-help-row { display: flex; flex: 0 0 100%; min-width: 0px; }
.vpd-tooltip-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: fit-content; max-width: 100%; min-height: 44px; padding: 8px 12px; flex: 0 1 auto; white-space: normal; overflow-wrap: normal; word-break: normal; text-align: left; line-height: 1.4; background: linear-gradient(135deg, rgb(46, 125, 50), rgb(76, 175, 80)); color: white; border: 1px solid rgb(46, 125, 50); border-radius: 7px; font-size: 0.85rem; font-weight: bold; cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 3px; }
.vpd-tooltip-icon:hover { background: linear-gradient(135deg, rgb(27, 94, 32), rgb(46, 125, 50)); }
.vpd-tooltip { position: absolute; inset: 100% auto auto -10px; transform: translateY(8px); width: 280px; max-width: 90vw; background: white; border: 1px solid rgb(224, 224, 224); border-radius: 12px; padding: 1rem; box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 20px; z-index: 10001; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.2s, visibility 0.2s, transform 0.2s; font-size: 0.85rem; line-height: 1.5; text-align: left; color: rgb(51, 51, 51); }
.vpd-tooltip-icon:hover .vpd-tooltip { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(12px); }
.vpd-tooltip-icon.tooltip-active .vpd-tooltip { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(12px); }
.vpd-tooltip::after { content: ""; position: absolute; inset: auto auto 100% 20px; transform: none; border-width: 8px; border-style: solid; border-color: transparent transparent white; border-image: none; }
.vpd-tooltip::before { content: ""; position: absolute; inset: auto auto 100% 19px; transform: none; border-width: 9px; border-style: solid; border-color: transparent transparent rgb(224, 224, 224); border-image: none; }
.vpd-tooltip strong { display: block; font-size: 1rem; color: rgb(46, 125, 50); margin-bottom: 0.5rem; font-weight: 700; }
.vpd-tooltip p { margin: 0.5rem 0px; color: rgb(85, 85, 85); }
.vpd-ranges { background: rgb(248, 249, 250); border-radius: 8px; padding: 0.75rem; margin: 0.75rem 0px; }
.vpd-range { padding: 0.25rem 0px 0.25rem 0.75rem; margin: 0.25rem 0px; font-size: 0.8rem; }
.vpd-current-status { padding: 0.5rem; background: rgb(240, 247, 240); border-radius: 6px; font-weight: 500; margin-top: 0.75rem !important; }
.vpd-reference-container { background: linear-gradient(135deg, rgb(248, 250, 248) 0%, rgb(232, 245, 233) 100%); border-radius: 12px; padding: 1rem 1.25rem; margin: 1rem 0px 0.5rem; border-left: 4px solid rgb(46, 125, 50); transition: border-left-color 0.3s; box-shadow: rgba(46, 125, 50, 0.1) 0px 2px 8px; }
.vpd-reference-header { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.vpd-reference-label { font-weight: 600; color: rgb(51, 51, 51); font-size: 0.95rem; }
.vpd-reference-value { font-weight: 800; font-size: 1.25rem; font-family: Lunera, sans-serif; transition: color 0.3s; }
.vpd-reference-status { font-size: 0.85rem; margin-top: 0.25rem; font-weight: 500; transition: color 0.3s; }
.vpd-tooltip-slider { inset: auto 0px 100% auto; transform: translateY(-8px); }
.vpd-tooltip-icon:hover .vpd-tooltip-slider { transform: translateY(-12px); }
.vpd-tooltip-slider::after { inset: 100% 20px auto auto; border-bottom-color: transparent; border-top-color: white; }
.vpd-tooltip-slider::before { inset: 100% 19px auto auto; border-bottom-color: transparent; border-top-color: rgb(224, 224, 224); }
@media (hover: none) and (pointer: coarse) {
.vpd-tooltip-icon:hover .vpd-tooltip { opacity: 0; visibility: hidden; }
.vpd-tooltip-icon.tooltip-active .vpd-tooltip { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(-12px); }
}
@media (max-width: 768px) {
.vpd-tooltip { margin-top: -100px; position: fixed !important; inset: 50% auto auto 20px !important; width: calc(-40px + 100vw) !important; max-width: none !important; transform: none !important; z-index: 10000 !important; }
.vpd-tooltip-icon:hover .vpd-tooltip, .vpd-tooltip-icon.tooltip-active .vpd-tooltip { transform: none !important; }
.vpd-tooltip::after, .vpd-tooltip::before { display: none !important; }
.vpd-tooltip-slider { margin-top: -80px; position: fixed !important; inset: 50% auto auto 20px !important; width: calc(-40px + 100vw) !important; transform: none !important; }
.vpd-tooltip-icon:hover .vpd-tooltip-slider, .vpd-tooltip-icon.tooltip-active .vpd-tooltip-slider { transform: none !important; }
.vpd-tooltip-slider::after, .vpd-tooltip-slider::before { display: none !important; }
}
.vpd-reference-value.vpd-hidden-feedback { color: rgb(51, 51, 51) !important; }
.vpd-reference-status.vpd-hidden-feedback { display: none; }
.vpd-reference-container.vpd-hidden-feedback { border-left-color: rgb(222, 226, 230) !important; }
.vpd-tooltip-overlay { position: fixed; top: 50%; left: 20px; right: 20px; transform: translateY(-50%); background: white; border: 1px solid rgb(224, 224, 224); border-radius: 12px; padding: 1.25rem; box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 32px; z-index: 100000; font-size: 0.9rem; line-height: 1.6; color: rgb(51, 51, 51); max-height: 80vh; overflow-y: auto; }
.vpd-tooltip-overlay strong { color: rgb(27, 94, 32); display: block; margin-bottom: 0.5rem; font-size: 1rem; }
.vpd-tooltip-overlay p { margin: 0.5rem 0px; }
