/**
 * 学習知能診断ページ用CSS
 * すっきりしたシンプルなデザイン
 */

/* ========================================
   CSS変数
======================================== */
:root {
    --ld-primary: #FF9900;
    --ld-primary-light: #FFB84D;
    --ld-primary-dark: #E68A00;
    --ld-bg: #f5f5f5;
    --ld-card-bg: #ffffff;
    --ld-text: #333333;
    --ld-text-light: #666666;
    --ld-border: #e0e0e0;
    --ld-border-radius: 8px;
    --ld-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    
    /* 各知能の色 */
    --ld-linguistic: #3b82f6;
    --ld-logical: #8b5cf6;
    --ld-spatial: #06b6d4;
    --ld-musical: #f43f5e;
    --ld-bodily: #22c55e;
    --ld-interpersonal: #f97316;
    --ld-intrapersonal: #ec4899;
    --ld-naturalistic: #84cc16;
}

/* ========================================
   ベーススタイル
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-y: auto;
    height: auto;
}

body {
    background: var(--ld-bg);
    min-height: 100vh;
    color: var(--ld-text);
    line-height: 1.6;
    padding-bottom: 50px;
}

/* ========================================
   ヘッダー
======================================== */
.ld-header {
    background: white;
    border-bottom: 1px solid var(--ld-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.ld-header-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ld-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ld-primary);
}

.ld-back-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--ld-text-light);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    transition: background 0.2s;
}

.ld-back-link:hover {
    background: #f0f0f0;
}

/* ========================================
   診断選択メニュー
======================================== */
.ld-select {
    padding: 1rem;
}

.ld-select-header {
    text-align: center;
    margin-bottom: 2rem;
}

.ld-select-header h1 {
    font-size: 1.6rem;
    color: var(--ld-text);
    margin-bottom: 0.5rem;
}

.ld-select-header h1 i {
    color: var(--ld-primary);
    margin-right: 0.5rem;
}

.ld-select-header p {
    color: var(--ld-text-light);
    font-size: 0.95rem;
}

.ld-diagnosis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    max-width: 1000px;
    margin: 0 auto 2rem;
    align-items: stretch;
}

.ld-diagnosis-card {
    background: var(--ld-card-bg);
    border-radius: 12px;
    box-shadow: var(--ld-shadow);
    padding: 1.5rem;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.ld-diagnosis-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.ld-card-badge {
    position: absolute;
    top: -8px;
    right: 16px;
    background: linear-gradient(135deg, #FF9900, #ffb84d);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(255, 153, 0, 0.3);
}

.ld-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.ld-card-icon i {
    font-size: 1.6rem;
    color: white;
}

.ld-diagnosis-card h2 {
    font-size: 1.1rem;
    color: var(--ld-text);
    margin-bottom: 0.5rem;
}

.ld-card-description {
    font-size: 0.85rem;
    color: var(--ld-text-light);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.ld-card-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.ld-card-tags span {
    background: #f5f5f5;
    color: var(--ld-text-light);
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.ld-card-info {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--ld-text-light);
    margin-bottom: 1rem;
}

.ld-card-info span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.ld-btn-start {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    margin-top: auto;
}

/* LINE プロモーション */
.ld-line-promo {
    background: linear-gradient(135deg, #06C755, #00B900);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto;
    color: white;
}

.ld-line-icon {
    font-size: 2.5rem;
    opacity: 0.9;
}

.ld-line-content {
    flex: 1;
}

.ld-line-content strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.ld-line-content p {
    font-size: 0.8rem;
    opacity: 0.9;
    margin: 0;
}

.ld-btn-line {
    background: white;
    color: #06C755;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    transition: transform 0.2s;
}

.ld-btn-line:hover {
    transform: scale(1.05);
}

/* 診断選択に戻るボタン */
.ld-back-to-select {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: none;
    border: none;
    color: var(--ld-text-light);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    transition: background 0.2s;
}

.ld-back-to-select:hover {
    background: #f0f0f0;
}

.ld-intro-card {
    position: relative;
}

/* ========================================
   メインコンテンツ
======================================== */
.ld-main {
    max-width: 700px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

.ld-section {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========================================
   イントロセクション
======================================== */
.ld-intro-card {
    background: var(--ld-card-bg);
    border-radius: var(--ld-border-radius);
    box-shadow: var(--ld-shadow);
    padding: 2rem 1.5rem;
    text-align: center;
}

.ld-intro-icon {
    width: 70px;
    height: 70px;
    background: var(--ld-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.ld-intro-icon i {
    font-size: 2rem;
    color: white;
}

.ld-intro-card h1 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--ld-text);
}

.ld-intro-description {
    font-size: 0.95rem;
    color: var(--ld-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* 8つの知能プレビュー */
.ld-intelligence-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.ld-intel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.6rem 0.3rem;
    border-radius: 6px;
    background: #fafafa;
    border: 1px solid var(--ld-border);
}

.ld-intel-item i {
    font-size: 1.2rem;
}

.ld-intel-item span {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--ld-text-light);
}

.ld-intel-item[data-intel="linguistic"] i { color: var(--ld-linguistic); }
.ld-intel-item[data-intel="logical"] i { color: var(--ld-logical); }
.ld-intel-item[data-intel="spatial"] i { color: var(--ld-spatial); }
.ld-intel-item[data-intel="musical"] i { color: var(--ld-musical); }
.ld-intel-item[data-intel="bodily"] i { color: var(--ld-bodily); }
.ld-intel-item[data-intel="interpersonal"] i { color: var(--ld-interpersonal); }
.ld-intel-item[data-intel="intrapersonal"] i { color: var(--ld-intrapersonal); }
.ld-intel-item[data-intel="naturalistic"] i { color: var(--ld-naturalistic); }

/* 情報ボックス */
.ld-info-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff8f0;
    border: 1px solid #ffe4c4;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    text-align: left;
    font-size: 0.9rem;
}

.ld-info-box i {
    font-size: 1.2rem;
    color: var(--ld-primary);
}

.ld-info-box small {
    color: var(--ld-text-light);
    font-size: 0.8rem;
}

/* ========================================
   ボタン
======================================== */
.ld-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--ld-primary);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.ld-btn-primary:hover {
    background: var(--ld-primary-dark);
}

.ld-btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.ld-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: white;
    color: var(--ld-text);
    border: 1px solid var(--ld-border);
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.ld-btn-secondary:hover:not(:disabled) {
    background: #f5f5f5;
}

.ld-btn-secondary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ========================================
   質問セクション
======================================== */
.ld-question-card {
    background: var(--ld-card-bg);
    border-radius: var(--ld-border-radius);
    box-shadow: var(--ld-shadow);
    padding: 1.5rem;
}

/* プログレスバー */
.ld-progress-container {
    margin-bottom: 1.5rem;
}

.ld-progress-bar {
    height: 6px;
    background: #e8e8e8;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.4rem;
}

.ld-progress-fill {
    height: 100%;
    background: var(--ld-primary);
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 0%;
}

.ld-progress-text {
    text-align: center;
    color: var(--ld-text-light);
    font-size: 0.85rem;
}

/* 質問コンテンツ */
.ld-question-content {
    text-align: center;
    margin-bottom: 1.5rem;
}

.ld-question-category {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #f5f5f5;
    padding: 0.35rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ld-primary);
    margin-bottom: 1rem;
}

.ld-question-text {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--ld-text);
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 回答オプション */
.ld-answer-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.ld-answer-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fafafa;
    border: 1px solid var(--ld-border);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.ld-answer-btn:hover {
    border-color: var(--ld-primary);
    background: #fff8f0;
}

.ld-answer-btn.selected {
    border-color: var(--ld-primary);
    background: #fff8f0;
    box-shadow: 0 0 0 1px var(--ld-primary);
}

.ld-answer-icon {
    font-size: 1.2rem;
}

.ld-answer-label {
    font-size: 0.95rem;
}

/* ナビゲーション */
.ld-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

/* ========================================
   結果セクション
======================================== */
.ld-result-container {
    background: var(--ld-card-bg);
    border-radius: var(--ld-border-radius);
    box-shadow: var(--ld-shadow);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.ld-result-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--ld-border);
}

.ld-result-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.ld-result-title i {
    font-size: 1.5rem;
    color: var(--ld-primary);
}

.ld-result-title h2 {
    font-size: 1.3rem;
    color: var(--ld-text);
}

.ld-result-subtitle {
    color: var(--ld-text-light);
    font-size: 0.9rem;
}

/* TOP3知能 */
.ld-top-intelligences {
    margin-bottom: 1.5rem;
}

.ld-top-intelligences h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--ld-text);
}

.ld-top-intelligences h3 i {
    color: var(--ld-primary);
}

.ld-top-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ld-top-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fafafa;
    padding: 0.6rem 1rem;
    border-radius: 6px;
}

.ld-top-medal {
    font-size: 1.2rem;
    min-width: 28px;
}

.ld-top-item i {
    font-size: 1rem;
}

.ld-top-name {
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 140px;
}

.ld-top-bar {
    flex: 1;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.ld-top-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.ld-top-score {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ld-primary);
    min-width: 45px;
    text-align: right;
}

/* チャート */
.ld-chart-container {
    max-width: 320px;
    margin: 0 auto 1.5rem;
}

/* 知能詳細 */
.ld-intelligence-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.ld-detail-card {
    background: #fafafa;
    border-radius: 6px;
    padding: 0.75rem;
}

.ld-detail-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.ld-detail-header i {
    font-size: 1rem;
}

.ld-detail-header span:first-of-type {
    font-weight: 600;
    font-size: 0.85rem;
    flex: 1;
}

.ld-detail-body p {
    font-size: 0.8rem;
    color: var(--ld-text-light);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.ld-detail-tips {
    background: #fff;
    padding: 0.5rem;
    border-radius: 4px;
    margin-top: 0.5rem;
}

.ld-detail-tips strong {
    font-size: 0.75rem;
    color: var(--ld-primary);
    display: block;
    margin-bottom: 0.25rem;
}

.ld-detail-tips strong i {
    margin-right: 0.25rem;
}

.ld-detail-tips p {
    font-size: 0.75rem;
    margin: 0;
}

.ld-detail-name {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.8rem;
}

.ld-detail-score {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--ld-primary);
}

.ld-detail-bar {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.4rem;
}

.ld-detail-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.5s ease;
}

.ld-detail-description {
    font-size: 0.7rem;
    color: var(--ld-text-light);
    line-height: 1.4;
}

/* 各知能の色 */
.ld-detail-card[data-intel="linguistic"] { border-left-color: var(--ld-linguistic); }
.ld-detail-card[data-intel="linguistic"] .ld-detail-fill { background: var(--ld-linguistic); }
.ld-detail-card[data-intel="logical"] { border-left-color: var(--ld-logical); }
.ld-detail-card[data-intel="logical"] .ld-detail-fill { background: var(--ld-logical); }
.ld-detail-card[data-intel="spatial"] { border-left-color: var(--ld-spatial); }
.ld-detail-card[data-intel="spatial"] .ld-detail-fill { background: var(--ld-spatial); }
.ld-detail-card[data-intel="musical"] { border-left-color: var(--ld-musical); }
.ld-detail-card[data-intel="musical"] .ld-detail-fill { background: var(--ld-musical); }
.ld-detail-card[data-intel="bodily"] { border-left-color: var(--ld-bodily); }
.ld-detail-card[data-intel="bodily"] .ld-detail-fill { background: var(--ld-bodily); }
.ld-detail-card[data-intel="interpersonal"] { border-left-color: var(--ld-interpersonal); }
.ld-detail-card[data-intel="interpersonal"] .ld-detail-fill { background: var(--ld-interpersonal); }
.ld-detail-card[data-intel="intrapersonal"] { border-left-color: var(--ld-intrapersonal); }
.ld-detail-card[data-intel="intrapersonal"] .ld-detail-fill { background: var(--ld-intrapersonal); }
.ld-detail-card[data-intel="naturalistic"] { border-left-color: var(--ld-naturalistic); }
.ld-detail-card[data-intel="naturalistic"] .ld-detail-fill { background: var(--ld-naturalistic); }

/* アドバイスセクション */
.ld-advice-section {
    background: #fff8f0;
    border: 1px solid #ffe4c4;
    border-radius: 6px;
    padding: 1rem;
}

.ld-advice-section h3 {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    color: var(--ld-primary);
}

.ld-advice-content {
    font-size: 0.85rem;
    line-height: 1.8;
}

.ld-advice-block {
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.ld-advice-block:last-child {
    margin-bottom: 0;
}

.ld-advice-block h4 {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ld-advice-block h4 i {
    font-size: 0.85rem;
}

.ld-advice-block p {
    margin: 0;
    line-height: 2;
}

.ld-advice-block p b {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--ld-text);
}

.ld-advice-block p br {
    display: block;
    content: "";
    margin-bottom: 0.25rem;
}

.ld-advice-item {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: white;
    border-radius: 6px;
    border-left: 3px solid var(--ld-primary);
}

.ld-advice-item:last-child {
    margin-bottom: 0;
}

.ld-advice-item strong {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--ld-text);
}

/* 2ページ目（アドバイスページ） */
.ld-advice-page {
    margin-top: 1rem;
}

.ld-advice-page .ld-advice-section {
    background: transparent;
    border: none;
    padding: 0;
}

/* 結果アクションボタン */
.ld-result-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* ========================================
   フッター
======================================== */
.ld-footer {
    text-align: center;
    padding: 0.75rem;
    color: #999;
    font-size: 0.75rem;
}

/* ========================================
   印刷用スタイル
======================================== */
.ld-print-header,
.ld-print-footer {
    display: none;
}

@media print {
    @page {
        size: A4;
        margin: 10mm;
    }
    
    body {
        background: white;
        padding: 0;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        font-size: 10pt;
    }
    
    .ld-header,
    .ld-footer,
    .ld-result-actions,
    #intro-section,
    #question-section {
        display: none !important;
    }
    
    .ld-main {
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .ld-result-container {
        box-shadow: none;
        padding: 0;
        border-radius: 0;
    }
    
    .ld-print-header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 8px;
        margin-bottom: 10px;
        border-bottom: 2px solid var(--ld-primary);
    }
    
    .ld-print-logo {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 14pt;
        font-weight: 700;
        color: var(--ld-primary);
    }
    
    .ld-print-date {
        color: var(--ld-text-light);
        font-size: 9pt;
    }
    
    .ld-print-footer {
        display: block !important;
        margin-top: 10px;
        padding-top: 8px;
        border-top: 1px solid #e0e0e0;
        font-size: 8pt;
        color: var(--ld-text-light);
        text-align: center;
    }
    
    .ld-chart-container {
        max-width: 280px;
        margin: 0 auto 10px;
    }
    
    .ld-intelligence-details {
        gap: 6px;
        margin-bottom: 10px;
    }
    
    .ld-detail-card {
        padding: 6px;
    }
    
    .ld-detail-description {
        font-size: 7pt;
    }
    
    .ld-advice-section {
        padding: 8px;
    }
    
    .ld-advice-block {
        margin-bottom: 8px;
        padding: 8px;
        box-shadow: none;
        border: 1px solid #e0e0e0;
    }
    
    .ld-advice-block h4 {
        font-size: 9pt;
        margin-bottom: 4px;
        padding-bottom: 3px;
    }
    
    .ld-advice-block p {
        font-size: 8pt;
        line-height: 1.6;
    }
    
    .ld-top-intelligences,
    .ld-result-header {
        margin-bottom: 10px;
        padding-bottom: 8px;
    }
}

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 600px) {
    /* 診断選択メニュー */
    .ld-select-header h1 {
        font-size: 1.3rem;
    }
    
    .ld-diagnosis-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .ld-diagnosis-card {
        padding: 1.25rem;
    }
    
    .ld-line-promo {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .ld-line-content {
        text-align: center;
    }
    
    .ld-btn-line {
        width: 100%;
        justify-content: center;
    }
    
    .ld-back-to-select {
        position: static;
        margin-bottom: 1rem;
    }
    
    /* イントロ */
    .ld-intro-card {
        padding: 1.5rem 1rem;
    }
    
    .ld-intro-card h1 {
        font-size: 1.2rem;
    }
    
    .ld-intelligence-preview {
        gap: 0.4rem;
    }
    
    .ld-intel-item {
        padding: 0.5rem 0.2rem;
    }
    
    .ld-intel-item i {
        font-size: 1rem;
    }
    
    .ld-question-card {
        padding: 1rem;
    }
    
    .ld-question-text {
        font-size: 1rem;
    }
    
    .ld-intelligence-details {
        grid-template-columns: 1fr;
    }
    
    .ld-result-container {
        padding: 1rem;
    }
    
    .ld-navigation {
        flex-direction: column;
    }
    
    .ld-result-actions {
        flex-direction: column;
    }
    
    .ld-result-actions button {
        width: 100%;
    }
}
