.plank-result-page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    display: none;
    flex-direction: column;
}

.plank-result-page.active { display: flex; }
.plank-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 1rem;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

 .plank-result-back-button {
    background: #151515;
    border: 3px solid #5d2500;
    border-radius: 1rem;
    color: #FF6600;
    padding: 2rem 3rem;
    font-size: 2rem;
    cursor: pointer;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    min-width: 15rem;
    min-height: 5rem;
}

.plank-result-header-right {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}


.plank-result-help-button,
.plank-result-menu-button {
    background: #151515;
    border: 3px solid #5d2500;
    border-radius: 1rem;
    color: #FF6600;
    min-height: 5rem;
    min-width: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    padding: 2rem 3rem;
}

.plank-result-content {
    padding: 0rem 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.plank-result-title {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}
.plank-result-title-text {
    color: #FF6600;
    font-size: 3.5rem;
    font-family: 'HarmonyOS_Sans_SC_Bold', Arial, sans-serif;
    margin-left: 6rem;
}
.plank-result-title-underline {
    height: 2px;
    background-color: #FF6600;
    margin-top: 1rem;
    margin-left: 6rem;
    margin-right: 6rem;
}

.plank-result-rating-and-score-section { padding: 0rem 7.5rem; }
.plank-result-rating-score-container {
    display: flex;
    gap: 3rem;
    align-items: stretch;
}
.plank-result-rating-section { flex: 0 0 auto; }
.plank-result-rating-box {
    background-color: #000000;
    border: 3px solid #555555;
    border-radius: 1rem;
    padding: 2rem 2rem;
    min-width: 20rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}
.plank-result-rating-label {
    color: #FF6600;
    font-size: 2rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    margin-bottom: 1rem;
    align-self: flex-start;
}
.plank-result-rating-value {
    color: #ffffff;
    font-size: 12rem;
    font-family: 'Morganite-Black-2', Arial, sans-serif;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plank-result-score-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-height: 20rem;
    align-items: flex-end;
}
.plank-result-score-label {
    color: #FF6600;
    font-size: 2rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    align-self: flex-start;
}
.plank-result-score-value-container {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    width: 100%;
    justify-content: flex-end;
    margin-top: -6rem;
}
.plank-result-score-number {
    color: #ffffff;
    font-size: 12rem;
    font-family: 'Morganite-Black-2', Arial, sans-serif;
    line-height: 1;
}
.plank-result-score-unit {
    color: #ffffff;
    font-size: 3rem;
    font-family: 'HarmonyOS_Sans_SC_Light', Arial, sans-serif;
}

.plank-result-progress-bar-container {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    align-items: flex-end;
}
.plank-result-progress-bar-track {
    display: grid;
    grid-template-columns: repeat(27, 1fr);
    gap: 2px;
    width: 100%;
    height: 3rem;
    border: 3px solid #272727;
    border-radius: 0.5rem;
    align-items: center;
}
.plank-result-progress-segment.filled {
    background: #ff6600;
    height: 2rem;
    border-radius: 0.3rem;
}
.plank-result-progress-text {
    color: #FF6600;
    font-size: 1.8rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    text-align: right;
}
.plank-result-progress-text .plank-result-progress-value {
    margin-right: 0.3rem;
    color: #ffffff;
}
.plank-result-progress-text .plank-result-progress-value-suffix {
    margin-right: 0.3rem;
    color: #ffffff;
}
.plank-result-retest-button {
    background-color: #151515;
    border: 3px solid #FF6600;
    border-radius: 0.8rem;
    color: #FF6600;
    font-size: 2rem;
    font-family: 'HarmonyOS_Sans_SC_Bold', Arial, sans-serif;
    padding: 1rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: stretch;
    width: 100%;
    text-align: center;
    min-height: 6rem;
}
.plank-result-nextup-section { padding: 0rem 7.5rem; }
.plank-result-nextup-heading {
    color: #FF6600;
    font-size: 3rem;
    font-family: 'HarmonyOS_Sans_SC_Bold', Arial, sans-serif;
    margin: 1rem 0;
}
.plank-result-nextup-card {
    background-color: #151515;
    border-radius: 2rem;
    padding: 0.5rem 2rem;
    overflow: visible;
    display: flex;
    flex-direction: column;
    min-height: 46rem;
}
.plank-result-nextup-title {
    color: #FF6600;
    font-size: 3rem;
    font-family: 'HarmonyOS_Sans_SC_Bold', Arial, sans-serif;
    margin: 0 0 1rem 0;
}
.plank-result-nextup-content {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 2rem;
}
.plank-result-nextup-text { flex: 1; }
.plank-result-nextup-subtitle {
    color: #ff6600;
    font-size: 2.3rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    margin: 0 0 1rem 0;
}
.plank-result-nextup-instructions {
    color: #ffffff;
    font-size: 1.5rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    margin: 0 0 2rem 0;
    padding-left: 2rem;
    list-style-type: circle;
}
.plank-result-nextup-instructions li::marker { color: #ff6600; }
.plank-result-nextup-instructions  li {
    margin-bottom: 0.8rem;
    line-height: 1.4;
}
.plank-result-nextup-image {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1b1b1b;
    padding: 0 1rem;
    min-width: 20rem;
    max-height: 25rem;
}
.plank-result-nextup-image img {
    max-width: 100%;
    max-height: 25rem;
    object-fit: contain;
}
.plank-result-nextup-start {
    background-color: #FF6600;
    border: none;
    border-radius: 0.5rem;
    color: #000000;
    font-size: 2rem;
    font-family: 'HarmonyOS_Sans_SC_Bold', Arial, sans-serif;
    padding: 1rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    width: 100%;
    height: 6rem;
    position: relative;
    margin-top: 2.9rem;
}
.plank-result-nextup-start span { position: absolute; left: 50%; transform: translateX(-50%); }
.plank-result-nextup-arrow { width: 2rem; height: 2rem; object-fit: contain; position: absolute; right: 2rem; }

/* Plank Help Modal Styles */
.plank-help-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10001;
}

.plank-help-overlay.active {
    display: flex;
}

.plank-help-modal {
    width: calc(100% - 12rem);
    max-width: 90rem;
    background: #151515;
    border-radius: 1.2rem;
    padding: 2.4rem 3.2rem 2.8rem;
    display: flex;
    flex-direction: column;
}

.plank-help-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.8rem;
}

.plank-help-modal-title {
    color: #ffffff;
    font-size: 2.8rem;
    font-family: 'HarmonyOS_Sans_SC_Bold', Arial, sans-serif;
}

.plank-help-modal-close {
    width: 4rem;
    height: 4rem;
    border: none;
    background-color: transparent;
    background-image: url('../icon/close.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.plank-help-modal-close:hover {
    opacity: 0.7;
}

.plank-help-modal-close:active {
    opacity: 0.5;
}

.plank-help-modal-body {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #ffffff;
    font-size: 1.6rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    line-height: 1.6;
    text-align: justify;
    padding-right: 1.5rem;
}

.plank-help-question {
    margin: 2rem 0 0.5rem;
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
}

.plank-help-modal-body p {
    margin: 0;
    padding-left: 3rem;
    text-align: left;
}

.plank-help-modal-body .plank-help-question + p,
.plank-help-modal-body .plank-help-question + ul {
    margin-top: 0;
    margin-bottom: 1.6rem;
    padding-left: 6rem;
}

.plank-help-modal-body .plank-help-question + ul {
   
    padding-left: 2rem;
}

.plank-help-modal-body ul {
    margin: 0.8rem 0 1.2rem 5rem;
    padding: 0;
    padding-left: 2rem;
    list-style: disc;
    color: #ffffff;
    font-size: 1.6rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    line-height: 1.6;
}

.plank-help-modal-body li {
    margin-bottom: 0.4rem;
    text-align: left;
}

.plank-help-modal-body .plank-help-question:first-child {
    margin-top: 0;
}