/* 财务自由测答模式切换：关=表单页 evaluationFrom，开=AI对话页 evaluation */

.eval-mode-switch {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.eval-mode-switch-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.eval-mode-switch-track {
    position: relative;
    display: block;
    width: 3.25rem;
    height: 1.75rem;
    border-radius: 0.3rem;
    background: rgba(255, 255, 255, 0.28);
    box-shadow: inset 0 1px 3px rgba(120, 48, 8, 0.12);
    transition: background 0.25s ease;
}

.eval-mode-switch-input:checked + .eval-mode-switch-track {
    background: #e8a030;
}

.eval-mode-switch-thumb {
    position: absolute;
    top: 0.15rem;
    left: 0.15rem;
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 0.2rem;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(120, 48, 8, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.eval-mode-switch-input:checked + .eval-mode-switch-track .eval-mode-switch-thumb {
    transform: translateX(1.5rem);
}

.eval-mode-switch-icon {
    width: 1.2rem;
    height: 1.2rem;
    object-fit: contain;
    display: block;
    pointer-events: none;
    user-select: none;
}

.eval-mode-switch-icon--open {
    display: none;
}

.eval-mode-switch-input:checked + .eval-mode-switch-track .eval-mode-switch-icon--close {
    display: none;
}

.eval-mode-switch-input:checked + .eval-mode-switch-track .eval-mode-switch-icon--open {
    display: block;
}

.eval-page-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.75rem;
}

.eval-page-header-bar .hero-head {
    max-width: none;
    flex: 1;
    min-width: 0;
}
