/**
 * V-Quiz Exam Mode - Stylesheet
 */

/* ==========================================
   共通
========================================== */
.vqe-container,
.vqe-exam-container,
.vqe-result-container,
.vqe-history-container {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic", sans-serif;
    line-height: 1.7;
}

.vqe-container h2,
.vqe-exam-container h2,
.vqe-result-container h2,
.vqe-history-container h2 {
    font-size: 24px;
    margin: 0 0 16px;
    color: #333;
}

.vqe-description {
    color: #666;
    margin-bottom: 24px;
}

/* 通知 */
.vqe-notice {
    padding: 16px 20px;
    border-radius: 6px;
    margin: 16px 0;
}
.vqe-notice-warning {
    background: #fff8e1;
    border-left: 4px solid #ffc107;
    color: #856404;
}
.vqe-notice-error {
    background: #fdecea;
    border-left: 4px solid #dc3232;
    color: #721c24;
}
.vqe-notice-info {
    background: #e7f3ff;
    border-left: 4px solid #007cba;
    color: #004085;
}

/* ボタン */
.vqe-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}
.vqe-btn:hover:not(:disabled) {
    background: #e0e0e0;
    transform: translateY(-1px);
}
.vqe-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.vqe-btn-primary {
    background: #2271b1;
    color: #fff;
    border-color: #2271b1;
}
.vqe-btn-primary:hover:not(:disabled) {
    background: #135e96;
}
.vqe-btn-small {
    padding: 6px 12px;
    font-size: 13px;
}
.vqe-btn-flag.vqe-flagged {
    background: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

/* ==========================================
   試験選択ページ
========================================== */
.vqe-vendor-section {
    margin-bottom: 40px;
}
.vqe-vendor-title {
    font-size: 20px;
    border-bottom: 2px solid #2271b1;
    padding-bottom: 8px;
    margin-bottom: 16px;
}
.vqe-exam-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.vqe-exam-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.2s;
}
.vqe-exam-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.vqe-exam-card-disabled {
    opacity: 0.5;
}
.vqe-exam-code {
    font-size: 18px;
    font-weight: bold;
    color: #2271b1;
    margin-bottom: 4px;
}
.vqe-exam-name {
    font-size: 14px;
    color: #333;
    margin-bottom: 12px;
    min-height: 40px;
}
.vqe-exam-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #666;
    margin-bottom: 12px;
}
.vqe-exam-meta span {
    background: #f5f5f5;
    padding: 4px 8px;
    border-radius: 4px;
}
.vqe-not-available {
    color: #999;
    font-size: 13px;
    text-align: center;
    padding: 8px;
    background: #f9f9f9;
    border-radius: 4px;
}

/* ==========================================
   試験ページ
========================================== */
.vqe-exam-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #2271b1;
    color: #fff;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}
.vqe-exam-info strong {
    font-size: 18px;
    margin-right: 8px;
}
.vqe-exam-info span {
    font-size: 13px;
    opacity: 0.9;
}
.vqe-timer {
    font-size: 18px;
    font-weight: bold;
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 6px;
}
.vqe-timer-warning {
    background: #dc3232 !important;
    animation: vqe-pulse 1s infinite;
}
@keyframes vqe-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.vqe-exam-progress {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    background: #f5f5f5;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 14px;
}

.vqe-question-area {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 16px;
    min-height: 300px;
}
.vqe-q-title {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
}
.vqe-q-text {
    font-size: 16px;
    color: #333;
    margin-bottom: 16px;
    line-height: 1.8;
}
.vqe-multi-note {
    color: #2271b1;
    font-weight: bold;
    margin-bottom: 12px;
}

.vqe-options {
    list-style: none;
    padding: 0;
    margin: 0;
}
.vqe-option {
    margin-bottom: 12px;
}
.vqe-option label {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}
.vqe-option label:hover {
    background: #f5f5f5;
    border-color: #2271b1;
}
.vqe-option input {
    margin-top: 4px;
    flex-shrink: 0;
}
.vqe-opt-text {
    flex: 1;
    line-height: 1.6;
}

/* コントロールボタン (v1.0.4: 画面下に fixed 固定 — 問題長によらず常に同じ位置) */
.vqe-exam-controls {
    /* fixed bottom: ビューポート下端に常時固定 */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;                              /* モーダル (9999) より下 */
    /* 見た目 */
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
    background: #fff;
    padding: 12px 16px;
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.12);
    border-top: 1px solid #e0e0e0;
    /* margin / border-radius / 全周 border は削除: 画面端までフルブリード */
}
.vqe-exam-controls .vqe-btn {
    flex: 1;
    min-width: 120px;
}
/* v1.0.4: 試験コンテナ下部に余白を確保し、fixed バーで本文が隠れないようにする */
.vqe-exam-container {
    padding-bottom: 140px;
}

/* 問題一覧モーダル */
.vqe-overview-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.vqe-overview-content {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}
.vqe-overview-content h3 {
    margin-top: 0;
}
.vqe-overview-legend {
    font-size: 12px;
    color: #666;
    margin-bottom: 16px;
}
.vqe-overview-legend span {
    display: inline-block;
    margin-right: 12px;
}
.vqe-overview-legend .vqe-status-answered::before {
    content: "■";
    color: #46b450;
    margin-right: 4px;
}
.vqe-overview-legend .vqe-status-unanswered::before {
    content: "■";
    color: #ccc;
    margin-right: 4px;
}
.vqe-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
    gap: 8px;
    margin-bottom: 20px;
}
.vqe-overview-cell {
    width: 48px;
    height: 48px;
    border: 2px solid #ddd;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
    position: relative;
}
.vqe-overview-cell:hover {
    transform: scale(1.05);
}
.vqe-overview-cell.vqe-status-answered {
    background: #d4edda;
    border-color: #46b450;
    color: #155724;
}
.vqe-overview-cell.vqe-status-unanswered {
    background: #fff;
    border-color: #ccc;
    color: #666;
}
.vqe-overview-cell.vqe-status-flagged::after {
    content: "🚩";
    position: absolute;
    top: -4px;
    right: -4px;
    font-size: 14px;
}
.vqe-overview-cell.vqe-status-current {
    border-color: #2271b1;
    border-width: 3px;
    box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.3);
}

/* ==========================================
   結果ページ
========================================== */
.vqe-result-summary {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    text-align: center;
}
.vqe-result-exam strong {
    font-size: 22px;
    color: #2271b1;
    margin-right: 8px;
}
.vqe-result-exam span {
    color: #666;
}

.vqe-result-score-box {
    margin: 20px auto;
    max-width: 400px;
    padding: 24px;
    border-radius: 12px;
    border: 3px solid;
}
.vqe-result-score-box.vqe-passed {
    background: #d4edda;
    border-color: #46b450;
    color: #155724;
}
.vqe-result-score-box.vqe-failed {
    background: #fdecea;
    border-color: #dc3232;
    color: #721c24;
}
.vqe-score-number {
    font-size: 48px;
    font-weight: bold;
    line-height: 1;
}
.vqe-score-label {
    font-size: 20px;
    font-weight: bold;
    margin: 8px 0;
}
.vqe-score-detail {
    font-size: 14px;
    margin-bottom: 4px;
}
.vqe-score-pass {
    font-size: 12px;
    opacity: 0.8;
}

.vqe-result-time {
    font-size: 14px;
    color: #666;
}

/* ドメイン別 */
.vqe-result-domains {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}
.vqe-domain-table {
    width: 100%;
    border-collapse: collapse;
}
.vqe-domain-table th,
.vqe-domain-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    text-align: left;
}
.vqe-domain-table th {
    background: #f5f5f5;
    font-weight: bold;
}
.vqe-rate-bar {
    width: 100%;
    height: 16px;
    background: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
}
.vqe-rate-fill {
    height: 100%;
    background: linear-gradient(90deg, #46b450, #2271b1);
    transition: width 0.4s ease;
}

/* 詳細結果 */
.vqe-result-details {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}
.vqe-result-details summary {
    cursor: pointer;
    padding: 8px;
    font-weight: bold;
}
.vqe-result-item {
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 12px;
    margin-top: 12px;
}
.vqe-result-item.vqe-correct {
    border-left: 4px solid #46b450;
}
.vqe-result-item.vqe-incorrect {
    border-left: 4px solid #dc3232;
}
/* v1.0.5: 不正解バッジ (展開された問題詳細ヘッダで使用) */
.vqe-result-wrong-badge {
    display: inline-block;
    padding: 2px 8px;
    background: #dc3232;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    border-radius: 999px;
    line-height: 1.4;
    white-space: nowrap;
}
/* 全問正解時の祝福メッセージ */
.vqe-all-correct-note {
    margin: 16px 0;
    padding: 16px 20px;
    background: #d4edda;
    border: 1px solid #46b450;
    border-radius: 6px;
    color: #155724;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}
/* ============================================
   v1.0.6: 結果ページ — ドメイン別グリッドUI
   ============================================ */
.vqe-result-grid-section {
    margin: 24px 0;
    padding: 16px;
    border-radius: 6px;
}
.vqe-result-grid-wrong {
    background: #fff5f5;
    border: 1px solid #f5c6cb;
}
.vqe-result-grid-correct {
    background: #f5fff5;
    border: 1px solid #c3e6cb;
}
.vqe-result-grid-section-heading {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: bold;
    padding-bottom: 8px;
}
.vqe-result-grid-wrong .vqe-result-grid-section-heading {
    color: #dc3232;
    border-bottom: 2px solid #dc3232;
}
.vqe-result-grid-correct .vqe-result-grid-section-heading {
    color: #1e7e34;
    border-bottom: 2px solid #46b450;
}
/* v1.0.7: グリッド操作の説明文 (見出し直下) */
.vqe-result-grid-hint {
    margin: 4px 0 12px;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}
.vqe-result-domain-block {
    margin-bottom: 20px;
}
.vqe-result-domain-block:last-child {
    margin-bottom: 0;
}
.vqe-result-domain-heading {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}
.vqe-result-domain-count {
    font-size: 12px;
    color: #666;
    font-weight: normal;
}
.vqe-result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
    gap: 6px;
    margin-bottom: 12px;
}
.vqe-result-cell {
    aspect-ratio: 1 / 1;                     /* 正方形 */
    border: 1px solid;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    background: #fff;
    transition: transform .1s, box-shadow .1s, background .1s;
    font-family: inherit;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}
.vqe-result-cell:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.vqe-result-cell-wrong {
    background: #ffeaea;
    border-color: #dc3232;
    color: #dc3232;
}
.vqe-result-cell-wrong:hover {
    background: #ffd5d5;
}
.vqe-result-cell-correct {
    background: #e6f7e8;
    border-color: #46b450;
    color: #1e7e34;
}
.vqe-result-cell-correct:hover {
    background: #c9eecc;
}
.vqe-result-cell.vqe-result-cell-active {
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.45);
    transform: translateY(-1px);
}
.vqe-result-cell:focus-visible {
    outline: 2px solid #2196f3;
    outline-offset: 2px;
}
.vqe-result-detail-panel {
    margin-top: 8px;
}
.vqe-result-detail-panel[hidden] {
    display: none;
}
@media (max-width: 600px) {
    .vqe-result-grid {
        grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
        gap: 4px;
    }
    .vqe-result-cell {
        font-size: 13px;
    }
    .vqe-result-grid-section {
        padding: 12px;
    }
}
.vqe-result-q-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.vqe-result-q-num {
    font-weight: bold;
    color: #2271b1;
}
.vqe-result-q-mark {
    margin-left: auto;
    font-size: 20px;
}
.vqe-result-q-question {
    margin-bottom: 12px;
    line-height: 1.7;
}
.vqe-result-options {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}
.vqe-result-options li {
    padding: 8px 12px;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 6px;
}
.vqe-result-options li.vqe-opt-correct {
    background: #d4edda;
    border-color: #46b450;
}
.vqe-result-options li.vqe-opt-user-wrong {
    background: #fdecea;
    border-color: #dc3232;
    color: #721c24;
}
.vqe-result-answer-row {
    background: #f5f5f5;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 8px;
}
.vqe-result-explain {
    background: #fffbe6;
    padding: 12px;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
    line-height: 1.7;
}

.vqe-result-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 24px;
}

/* ==========================================
   履歴ページ
========================================== */
.vqe-history-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}
.vqe-history-table th,
.vqe-history-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
}
.vqe-history-table th {
    background: #f5f5f5;
    font-weight: bold;
}
.vqe-passed-badge {
    color: #46b450;
    font-weight: bold;
}
.vqe-failed-badge {
    color: #dc3232;
    font-weight: bold;
}

/* ==========================================
   レスポンシブ
========================================== */
@media (max-width: 600px) {
    .vqe-container,
    .vqe-exam-container,
    .vqe-result-container,
    .vqe-history-container {
        padding: 12px;
    }
    /* v1.0.4: モバイルでも fixed バーの高さ分の余白を維持 (2段折り返しで高さが増えるためやや多めに) */
    .vqe-exam-container {
        padding-bottom: 160px;
    }
    .vqe-exam-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .vqe-exam-controls .vqe-btn {
        flex: 1 1 calc(50% - 4px);
        min-width: 0;
    }
    .vqe-history-table {
        font-size: 12px;
    }
    .vqe-history-table th,
    .vqe-history-table td {
        padding: 8px 4px;
    }
    .vqe-score-number {
        font-size: 36px;
    }
}


/* =========================================================
   [vqe_exam_list]  v1.1.0 — モダンダッシュボード風デザイン
   ヒーロー / ベンダー別グリッド / 状態別カード / 受験ガイド
   ========================================================= */

.vqe-list-wrap {
    max-width: 1180px;
    margin: 24px auto;
    padding: 0 16px;
    color: #0f172a;
    font-size: 15px;
    line-height: 1.6;
}

/* ---- ヒーロー -------------------------------------------- */
.vqe-list-hero {
    background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 50%, #2563EB 100%);
    color: #fff;
    border-radius: 18px;
    padding: 40px 32px;
    margin-bottom: 28px;
    box-shadow: 0 12px 28px rgba(30, 64, 175, 0.25);
    text-align: center;
}
.vqe-list-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}
.vqe-list-hero-title {
    /* SWELL 等テーマの見出し既定スタイル干渉防止のため強制上書き */
    display: block !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    color: #fff !important;
    line-height: 1.25 !important;
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-align: center;
}
.vqe-list-hero-title::before,
.vqe-list-hero-title::after {
    content: none !important;
    display: none !important;
}
.vqe-list-hero-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 720px;
    margin: 0 auto 26px;
}
.vqe-list-hero-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 18px;
}
.vqe-list-hero-feature {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
}
.vqe-list-hero-feature i {
    font-size: 22px;
    color: #fde68a;
}

/* ---- ベンダーセクション --------------------------------- */
.vqe-list-vendor-section {
    margin-bottom: 32px;
}
.vqe-list-vendor-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.vqe-list-vendor-badge {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 8px;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.vqe-list-vendor-count {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

/* ---- 試験カードグリッド --------------------------------- */
.vqe-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.vqe-list-card {
    position: relative;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px 20px 20px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.vqe-list-card:hover {
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10), 0 2px 6px rgba(15, 23, 42, 0.06);
    transform: translateY(-2px);
}
.vqe-list-card-disabled {
    opacity: 0.55;
    background: #f8fafc;
}
.vqe-list-card-disabled:hover {
    transform: none;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

/* ステータスバッジ（右上） */
.vqe-list-status {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.04em;
    line-height: 1.4;
}
.vqe-list-status-passed     { background: #DCFCE7; color: #166534; }
.vqe-list-status-attempting { background: #FEE2E2; color: #991B1B; }
.vqe-list-status-none       { background: #DBEAFE; color: #1E3A8A; }

/* レベル小バッジ */
.vqe-list-level {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 4px;
    align-self: flex-start;
    margin-top: 4px;
}

.vqe-list-code {
    font-size: 14px;
    font-weight: 700;
    color: #2563eb;
    letter-spacing: 0.02em;
    margin-top: 2px;
}
.vqe-list-name {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.45;
    min-height: 44px;
}

/* メタ情報 (アイコン付き) */
.vqe-list-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    color: #64748b;
    font-size: 13px;
    padding: 10px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}
.vqe-list-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.vqe-list-meta i {
    font-size: 16px;
    color: #94a3b8;
}

/* 結果セクション */
.vqe-list-result {
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
}
.vqe-list-result-passed {
    background: #DCFCE7;
    border: 1px solid #86efac;
}
.vqe-list-result-failed {
    background: #FEE2E2;
    border: 1px solid #fca5a5;
}
.vqe-list-result-none {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    color: #64748b;
    text-align: center;
    padding: 12px;
}
.vqe-list-result-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 2px 0;
}
.vqe-list-result-label {
    color: #475569;
    font-size: 12px;
}
.vqe-list-result-score {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}
.vqe-list-result-attempts {
    font-weight: 600;
    color: #334155;
}
.vqe-list-result-passed .vqe-list-result-score { color: #166534; }
.vqe-list-result-failed .vqe-list-result-score { color: #991B1B; }
.vqe-list-result-info {
    color: #64748b;
    font-size: 12px;
}

/* アクションボタン */
.vqe-list-card-action {
    margin: 0;
}
.vqe-list-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    color: #fff;
    transition: background 0.15s ease, transform 0.15s ease;
}
.vqe-list-btn-retry {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}
.vqe-list-btn-retry:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-1px);
}
.vqe-list-btn-start {
    background: linear-gradient(135deg, #F59E0B 0%, #d97706 100%);
}
.vqe-list-btn-start:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-1px);
}
.vqe-list-btn-arrow {
    transition: transform 0.15s ease;
}
.vqe-list-btn:hover .vqe-list-btn-arrow {
    transform: translateX(3px);
}

.vqe-list-disabled-msg {
    text-align: center;
    background: #f1f5f9;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    padding: 12px;
    border-radius: 10px;
}

/* ---- 受験ガイド ---------------------------------------- */
.vqe-list-guide {
    background: #FEF3C7;
    border: 1px solid #FCD34D;
    border-radius: 14px;
    padding: 22px 24px;
    margin-top: 36px;
}
.vqe-list-guide-title {
    /* SWELL の見出し既定スタイル干渉防止 */
    display: block !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #78350F !important;
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.vqe-list-guide-title::before,
.vqe-list-guide-title::after {
    content: none !important;
    display: none !important;
}
.vqe-list-guide-items {
    margin: 0;
    padding-left: 22px;
    color: #92400E;
    font-size: 14px;
}
.vqe-list-guide-items li {
    padding: 3px 0;
}

/* ---- レスポンシブ -------------------------------------- */
@media (max-width: 768px) {
    .vqe-list-hero { padding: 28px 20px; }
    .vqe-list-hero-title { font-size: 24px; }
    .vqe-list-hero-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .vqe-list-grid { grid-template-columns: 1fr; }
    .vqe-list-hero-features { grid-template-columns: 1fr; }
}
