﻿.copilot-page-assistant {
    --bg-main-assistant: #0b0f14;
    --bg-shell-assistant: linear-gradient(180deg, #10151d 0%, #0c1117 100%);
    --bg-panel-assistant: rgba(255, 255, 255, 0.03);
    --bg-panel-strong-assistant: rgba(255, 255, 255, 0.05);
    --bg-card-assistant: rgba(7, 15, 28, 0.82);
    --bg-card-soft-assistant: rgba(255, 255, 255, 0.025);
    --border-assistant: rgba(255, 255, 255, 0.08);
    --border-strong-assistant: rgba(58, 198, 244, 0.22);
    --text-main-assistant: #f5f7fa;
    --text-soft-assistant: #c2ccd6;
    --text-muted-assistant: #8e9aa8;
    --accent-assistant: #2ebcff;
    --accent-strong-assistant: #3ac6f4;
    --success-assistant: #18c37e;
    --danger-assistant: #ef476f;
    --warning-assistant: #f6b73c;
    --purple-assistant: #8f63ff;
    --shadow-assistant: 0 18px 50px rgba(0, 0, 0, 0.35);
    --radius-xl-assistant: 24px;
    --radius-lg-assistant: 18px;
    --radius-md-assistant: 14px;
    color: var(--text-main-assistant);
    margin: 0 10px;
    font-family: "Segoe UI", Inter, Arial, sans-serif;
}

    .copilot-page-assistant * {
        box-sizing: border-box;
    }

.topbar-assistant {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 10px 16px;
}

.brand-wrap-assistant {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-icon-assistant {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 35% 35%, rgba(58, 198, 244, 0.45), rgba(58, 198, 244, 0.08) 60%, transparent 75%), linear-gradient(180deg, #0e2442 0%, #0a1426 100%);
    border: 1px solid rgba(58, 198, 244, 0.22);
    color: #9fe7ff;
    font-size: 24px;
    box-shadow: 0 10px 30px rgba(58, 198, 244, 0.16);
    flex: 0 0 auto;
}

.brand-copy-assistant {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-title-row-assistant {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 300px;
}

.brand-title-assistant {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main-assistant);
}

.badge-ai-assistant {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    padding: 2 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--accent-strong-assistant);
    background: rgba(58, 198, 244, 0.12);
    border: 1px solid rgba(58, 198, 244, 0.28);
    border-radius: 5px;
}

.brand-subtitle-assistant {
    font-size: 13px;
    color: var(--text-muted-assistant);
    margin-left: 0;
}

.top-actions-assistant {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.status-pill-assistant {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    color: #86f0bb;
    background: rgba(24, 195, 126, 0.08);
    border: 1px solid rgba(24, 195, 126, 0.18);
    font-size: 13px;
    font-weight: 600;
}

.status-dot-assistant {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #28d17c;
    box-shadow: 0 0 12px rgba(40, 209, 124, 0.8);
}

.btn-assistant {
    border: 1px solid var(--border-assistant);
    border-radius: 12px;
    height: 38px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.18s ease;
    color: var(--text-main-assistant);
    background: rgba(255, 255, 255, 0.03);
}

    .btn-assistant:hover:not(:disabled) {
        transform: translateY(-1px);
        border-color: rgba(255, 255, 255, 0.16);
    }

    .btn-assistant:disabled {
        opacity: 0.55;
        cursor: not-allowed;
    }

.btn-primary-assistant {
    background: linear-gradient(180deg, #36c8ff 0%, #139fe0 100%);
    border-color: rgba(58, 198, 244, 0.45);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(58, 198, 244, 0.18);
}

.btn-outline-assistant {
    background: rgba(255, 255, 255, 0.025);
    color: var(--text-main-assistant);
}

.btn-danger-assistant {
    background: linear-gradient(180deg, #f0607f 0%, #dc3157 100%);
    border-color: rgba(239, 71, 111, 0.45);
    color: #ffffff;
}

.btn-dark-assistant {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main-assistant);
}

.shell-assistant {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.main-panel-assistant {
    position: relative;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--bg-shell-assistant);
    border: 1px solid var(--border-assistant);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-assistant);
}

    .main-panel-assistant::before {
        content: "";
        position: absolute;
        inset: 0 auto auto 50%;
        width: 520px;
        height: 240px;
        transform: translateX(-50%);
        background: radial-gradient(circle, rgba(58, 198, 244, 0.12) 0%, rgba(58, 198, 244, 0.03) 40%, transparent 75%);
        pointer-events: none;
    }

.empty-state-assistant {
    position: relative;
    flex: 1;
    min-height: 470px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 54px 30px 30px;
}

.orb-assistant {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 360px;
    height: 360px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: radial-gradient(circle, rgba(58, 198, 244, 0.08) 0%, rgba(58, 198, 244, 0.02) 52%, transparent 72%);
    pointer-events: none;
}

.empty-content-assistant {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 760px;
    text-align: center;
}

.hero-icon-wrap-assistant {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.hero-icon-assistant {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9fe7ff;
    font-size: 26px;
    border: 1px solid rgba(58, 198, 244, 0.2);
    background: radial-gradient(circle at 35% 35%, rgba(58, 198, 244, 0.28), rgba(58, 198, 244, 0.06) 60%, transparent 78%), rgba(8, 18, 34, 0.9);
    box-shadow: 0 10px 30px rgba(58, 198, 244, 0.12);
}

.hero-title-assistant {
    margin: 0;
    font-size: 42px;
    font-weight: 750;
    line-height: 1.15;
    color: var(--text-main-assistant);
}

.hero-subtitle-assistant {
    max-width: 610px;
    margin: 16px auto 32px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-muted-assistant);
}

.prompt-grid-assistant {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    max-width: 540px;
    margin: 0 auto;
}

.prompt-card-assistant {
    text-align: left;
    padding: 18px 18px 16px;
    min-height: 114px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(7, 11, 20, 0.96) 0%, rgba(9, 14, 23, 0.9) 100%);
    color: var(--text-main-assistant);
    cursor: pointer;
    transition: 0.2s ease;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

    .prompt-card-assistant:hover {
        transform: translateY(-2px);
        border-color: rgba(58, 198, 244, 0.24);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    }

.prompt-icon-assistant {
    width: 32px;
    height: 32px;
    margin-bottom: 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-strong-assistant);
    background: rgba(58, 198, 244, 0.12);
    border: 1px solid rgba(58, 198, 244, 0.18);
    font-size: 15px;
    font-weight: 700;
}

.prompt-title-assistant {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 6px;
}

.prompt-subtitle-assistant {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-muted-assistant);
}

.messages-wrap-assistant {
    flex: 1;
    min-height: 0;
    padding: 26px 22px 10px;
}

.chat-log-assistant {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 6px;
}

    .chat-log-assistant::-webkit-scrollbar,
    .preview-log-assistant::-webkit-scrollbar,
    .history-list-assistant::-webkit-scrollbar {
        width: 10px;
    }

    .chat-log-assistant::-webkit-scrollbar-thumb,
    .preview-log-assistant::-webkit-scrollbar-thumb,
    .history-list-assistant::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.12);
        border-radius: 999px;
    }

.chat-row-assistant {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.user-row-assistant {
    align-items: flex-end;
}

.assistant-row-assistant {
    align-items: flex-start;
}

.message-meta-assistant {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted-assistant);
}

.chat-bubble-assistant {
    max-width: min(78%, 860px);
}

.user-bubble-assistant {
    padding: 14px 16px;
    border-radius: 18px 18px 6px 18px;
    background: linear-gradient(180deg, rgba(23, 52, 92, 0.95) 0%, rgba(17, 37, 67, 0.95) 100%);
    border: 1px solid rgba(58, 198, 244, 0.18);
    color: #edf7ff;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.message-text-assistant {
    font-size: 15px;
    line-height: 1.65;
    white-space: pre-wrap;
    word-break: break-word;
}

.assistant-bubble-assistant {
    width: min(92%, 940px);
}

.insight-card-assistant {
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(12, 18, 29, 0.98) 0%, rgba(9, 14, 24, 0.95) 100%);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.insight-card-header-assistant {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: linear-gradient(90deg, rgba(58, 198, 244, 0.06) 0%, rgba(58, 198, 244, 0.01) 100%);
}

.insight-card-title-assistant {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main-assistant);
}

.insight-card-badge-assistant {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--accent-strong-assistant);
    background: rgba(58, 198, 244, 0.12);
    border: 1px solid rgba(58, 198, 244, 0.2);
    font-size: 12px;
    font-weight: 700;
}

.insight-card-body-assistant {
    padding: 18px 16px;
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-soft-assistant);
    white-space: pre-wrap;
    word-break: break-word;
}

.insight-card-footer-assistant {
    padding: 12px 16px 14px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 12px;
    color: var(--text-muted-assistant);
}

.thinking-row-assistant {
    display: flex;
    justify-content: flex-start;
}

.thinking-card-assistant {
    width: min(92%, 420px);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(10, 16, 25, 0.92);
    overflow: hidden;
}

.thinking-header-assistant {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-soft-assistant);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.thinking-dot-assistant {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--accent-strong-assistant);
    box-shadow: 0 0 14px rgba(58, 198, 244, 0.8);
}

.thinking-body-assistant {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.thinking-video-assistant {
    width: 84px;
    height: 84px;
    object-fit: contain;
    background: black;
}

.footer-assistant {
    padding: 16px 18px 18px;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: linear-gradient(180deg, rgba(255,255,255,0.015) 0%, rgba(255,255,255,0.025) 100%);
}

.input-panel-assistant {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(4, 11, 23, 0.55);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}

.chat-input-assistant {
    width: 100%;
    min-height: 68px;
    max-height: 180px;
    resize: vertical;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text-main-assistant);
    font-size: 15px;
    line-height: 1.55;
    padding: 12px 10px 10px 12px;
    font-family: inherit;
}

    .chat-input-assistant::placeholder {
        color: #7b8694;
    }

.send-btn-assistant {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border: 1px solid rgba(58, 198, 244, 0.3);
    border-radius: 14px;
    background: linear-gradient(180deg, #36c8ff 0%, #179ee0 100%);
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.18s ease;
    box-shadow: 0 10px 22px rgba(58, 198, 244, 0.18);
}

    .send-btn-assistant:hover:not(:disabled) {
        transform: translateY(-1px) scale(1.01);
    }

    .send-btn-assistant:disabled {
        opacity: 0.55;
        cursor: not-allowed;
    }

.input-hint-row-assistant {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 4px 0;
}

.input-hint-assistant,
.powered-by-assistant {
    font-size: 12px;
    color: var(--text-muted-assistant);
}

.chat-error-assistant,
.history-error-assistant {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(239, 71, 111, 0.26);
    background: rgba(239, 71, 111, 0.08);
    color: #ffb1c2;
    font-size: 14px;
}

.stats-row-assistant {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.stat-card-assistant {
    position: relative;
    padding: 16px 18px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(20, 22, 28, 0.96) 0%, rgba(18, 21, 27, 0.94) 100%);
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 12px 28px rgba(0,0,0,0.2);
    overflow: hidden;
}

    .stat-card-assistant::before {
        content: "";
        position: absolute;
        inset: 0 auto auto 0;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, rgba(58,198,244,0.9), transparent 55%);
        opacity: 0.6;
    }

.stat-label-assistant {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #7f8b97;
    margin-bottom: 10px;
}

.stat-value-assistant {
    font-size: 20px;
    font-weight: 750;
    color: var(--text-main-assistant);
    margin-bottom: 12px;
}

.stat-trend-assistant {
    position: absolute;
    top: 16px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.trend-blue-assistant {
    color: #7edaff;
    background: rgba(58,198,244,0.12);
}

.trend-green-assistant {
    color: #8df0bf;
    background: rgba(24,195,126,0.12);
}

.trend-amber-assistant {
    color: #ffd484;
    background: rgba(246,183,60,0.12);
}

.trend-purple-assistant {
    color: #c8b4ff;
    background: rgba(143,99,255,0.12);
}

.stat-bars-assistant {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 4px;
    align-items: end;
    height: 22px;
}

    .stat-bars-assistant span {
        display: block;
        border-radius: 3px 3px 0 0;
        background: rgba(58,198,244,0.3);
    }

        .stat-bars-assistant span:nth-child(1) {
            height: 7px;
        }

        .stat-bars-assistant span:nth-child(2) {
            height: 9px;
        }

        .stat-bars-assistant span:nth-child(3) {
            height: 8px;
        }

        .stat-bars-assistant span:nth-child(4) {
            height: 11px;
        }

        .stat-bars-assistant span:nth-child(5) {
            height: 10px;
        }

        .stat-bars-assistant span:nth-child(6) {
            height: 12px;
        }

        .stat-bars-assistant span:nth-child(7) {
            height: 14px;
        }

        .stat-bars-assistant span:nth-child(8) {
            height: 13px;
        }

        .stat-bars-assistant span:nth-child(9) {
            height: 16px;
        }

        .stat-bars-assistant span:nth-child(10) {
            height: 18px;
            background: rgba(58,198,244,0.92);
        }

.green-bars-assistant span {
    background: rgba(24,195,126,0.28);
}

    .green-bars-assistant span:nth-child(10) {
        background: rgba(24,195,126,0.9);
    }

.amber-bars-assistant span {
    background: rgba(246,183,60,0.25);
}

    .amber-bars-assistant span:nth-child(10) {
        background: rgba(246,183,60,0.92);
    }

.purple-bars-assistant span {
    background: rgba(143,99,255,0.25);
}

    .purple-bars-assistant span:nth-child(10) {
        background: rgba(143,99,255,0.92);
    }

.history-overlay-assistant {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(3, 8, 15, 0.7);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 26px;
}

.history-modal-assistant {
    width: min(1180px, 96vw);
    height: min(760px, 92vh);
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    background: linear-gradient(180deg, #111923 0%, #0d141d 100%);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 24px 60px rgba(0,0,0,0.45);
    overflow: hidden;
}

.history-header-assistant {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 22px 24px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.history-title-wrap-assistant h4 {
    margin: 0 0 6px 0;
    font-size: 22px;
    color: var(--text-main-assistant);
}

.history-title-wrap-assistant span {
    color: var(--text-muted-assistant);
    font-size: 14px;
}

.history-header-actions-assistant {
    display: flex;
    gap: 10px;
}

.history-toolbar-assistant {
    display: flex;
    gap: 12px;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.history-search-assistant {
    flex: 1;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    color: var(--text-main-assistant);
    padding: 0 14px;
    outline: none;
    font-size: 14px;
}

    .history-search-assistant::placeholder {
        color: #7a8693;
    }

.history-body-assistant {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 320px 1fr;
}

.history-list-assistant {
    border-right: 1px solid rgba(255,255,255,0.06);
    padding: 16px;
    overflow-y: auto;
    background: rgba(255,255,255,0.015);
}

.history-item-assistant {
    width: 100%;
    text-align: left;
    padding: 14px 14px 13px;
    margin-bottom: 10px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.025);
    color: var(--text-main-assistant);
    cursor: pointer;
    transition: 0.18s ease;
}

    .history-item-assistant:hover {
        border-color: rgba(58,198,244,0.2);
        background: rgba(58,198,244,0.06);
    }

    .history-item-assistant.active-assistant {
        border-color: rgba(58,198,244,0.32);
        background: rgba(58,198,244,0.09);
        box-shadow: 0 0 0 1px rgba(58,198,244,0.1) inset;
    }

.history-item-title-assistant {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.history-item-meta-assistant {
    font-size: 12px;
    color: var(--text-muted-assistant);
}

.history-preview-assistant {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 18px;
}

.preview-actions-assistant {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.preview-log-assistant {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-right: 4px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.preview-row-assistant {
    padding: 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
}

.preview-role-assistant {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-strong-assistant);
    margin-bottom: 8px;
}

.preview-text-assistant {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-soft-assistant);
    white-space: pre-wrap;
    word-break: break-word;
}

.history-loading-assistant,
.history-empty-assistant,
.preview-empty-assistant {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    border-radius: 14px;
    color: var(--text-muted-assistant);
    background: rgba(255,255,255,0.02);
    border: 1px dashed rgba(255,255,255,0.08);
    font-size: 14px;
}

.preview-hint-assistant {
    margin-top: 14px;
    font-size: 12px;
    color: var(--text-muted-assistant);
}

@media (max-width: 1100px) {
    .stats-row-assistant {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .history-body-assistant {
        grid-template-columns: 280px 1fr;
    }
}

@media (max-width: 860px) {
    .topbar-assistant {
        flex-direction: column;
        align-items: stretch;
    }

    .top-actions-assistant {
        justify-content: flex-start;
    }

    .prompt-grid-assistant {
        grid-template-columns: 1fr;
        max-width: 460px;
    }

    .hero-title-assistant {
        font-size: 32px;
    }

    .chat-bubble-assistant,
    .assistant-bubble-assistant {
        max-width: 100%;
        width: 100%;
    }

    .history-body-assistant {
        grid-template-columns: 1fr;
    }

    .history-list-assistant {
        max-height: 220px;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
}

@media (max-width: 640px) {
    .copilot-page-assistant {
        margin: 0 4px;
    }

    .main-panel-assistant {
        min-height: 580px;
    }

    .stats-row-assistant {
        grid-template-columns: 1fr;
    }

    .input-hint-row-assistant {
        flex-direction: column;
        align-items: flex-start;
    }

    .history-overlay-assistant {
        padding: 10px;
    }

    .history-modal-assistant {
        width: 100%;
        height: 94vh;
        border-radius: 18px;
    }

    .history-header-assistant,
    .history-toolbar-assistant {
        padding-left: 14px;
        padding-right: 14px;
    }

    .history-preview-assistant,
    .history-list-assistant {
        padding: 14px;
    }
}
