/* ========== AI脏数据修复工具 - 主容器 ========== */
.adch-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 200px);
    min-height: 620px;
    background: #f8fafc;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

/* ========== 顶部工具栏 ========== */
.adch-toolbar {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    flex-wrap: wrap;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(17, 153, 142, 0.3);
    flex-shrink: 0;
}

.toolbar-group {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
    min-height: 28px;
}

.toolbar-btn {
    padding: 6px 11px;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    color: #11998e;
    transition: all 0.2s;
    white-space: nowrap;
}

.toolbar-btn:hover:not(:disabled) {
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.toolbar-btn:active:not(:disabled) {
    transform: translateY(0);
}

.toolbar-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.toolbar-btn-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #1c1c1c;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.45);
}

.toolbar-btn.toolbar-btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.55);
    transform: translateY(-2px);
    color: #1c1c1c;
}

/* ========== 主内容区 ========== */
.adch-main-content {
    display: flex;
    flex: 1;
    overflow: hidden;
    background: #f8fafc;
}

/* ========== 左侧历史面板 ========== */
.adch-history-panel {
    width: 200px;
    min-width: 160px;
    background: white;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex-shrink: 0;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    background: linear-gradient(to bottom, #fafafa, #f5f5f5);
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.history-header h3 {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    background: none;
    border: none;
    padding: 0;
}

.history-clear-btn {
    background: #fff0f0;
    border: none;
    color: #ef4444;
    font-size: 11px;
    cursor: pointer;
    padding: 3px 7px;
    border-radius: 3px;
    transition: all 0.2s;
}

.history-clear-btn:hover {
    background: #fde8e8;
}

.history-search {
    padding: 8px;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.history-search input {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 12px;
    outline: none;
    transition: all 0.2s;
    box-sizing: border-box;
}

.history-search input:focus {
    border-color: #11998e;
    box-shadow: 0 0 0 2px rgba(17, 153, 142, 0.1);
}

.history-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
}

.history-empty {
    text-align: center;
    color: #94a3b8;
    font-size: 12px;
    padding: 20px 10px;
}

/* 历史记录数量徽标 */
.history-count {
    display: inline-block;
    background: #11998e;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    border-radius: 8px;
    padding: 0 4px;
    text-align: center;
    vertical-align: middle;
    margin-left: 3px;
}

.history-item {
    display: flex;
    flex-direction: column;
    padding: 9px 11px;
    margin-bottom: 5px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    animation: fadeSlideIn 0.2s ease;
}

.history-item:hover {
    background: #f0faf8;
    border-color: #a7f3d0;
    transform: translateX(2px);
}

.history-item.active {
    background: #ecfdf5;
    border-color: #11998e;
    box-shadow: 0 1px 3px rgba(17, 153, 142, 0.15);
}

.history-item-title {
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.history-item-meta {
    font-size: 10px;
    color: #94a3b8;
}

.history-item-delete {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 18px;
    height: 18px;
    background: #fde8e8;
    color: #ef4444;
    border: none;
    border-radius: 3px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 10px;
    transition: all 0.2s;
}

.history-item:hover .history-item-delete {
    display: flex;
}

/* ========== 中间输入面板 ========== */
.adch-input-panel {
    width: 42%;
    min-width: 320px;
    background: white;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 16px;
    gap: 12px;
    box-sizing: border-box;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.panel-header h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

.data-stats {
    font-size: 11px;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 10px;
    transition: background 0.3s ease, color 0.3s ease, font-weight 0.2s ease;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
}

.input-group label {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

.optional {
    font-weight: 400;
    color: #94a3b8;
    font-size: 11px;
}

.data-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    font-size: 12.5px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    line-height: 1.6;
    resize: vertical;
    outline: none;
    transition: all 0.2s;
    box-sizing: border-box;
    min-height: 220px;
    background: #fdfdfe;
    color: #334155;
}

.data-textarea:focus {
    border-color: #11998e;
    box-shadow: 0 0 0 3px rgba(17, 153, 142, 0.08);
    background: #fff;
}

.form-input {
    width: 100%;
    padding: 8px 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
    transition: all 0.2s;
    box-sizing: border-box;
    color: #334155;
}

.form-input:focus {
    border-color: #11998e;
    box-shadow: 0 0 0 3px rgba(17, 153, 142, 0.08);
}

.form-select {
    width: 100%;
    padding: 8px 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
    transition: all 0.2s;
    box-sizing: border-box;
    background: white;
    color: #334155;
    cursor: pointer;
}

.form-select:focus {
    border-color: #11998e;
    box-shadow: 0 0 0 3px rgba(17, 153, 142, 0.08);
}

.options-row {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.option-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.option-group label {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

/* ========== 快捷标签 ========== */
.quick-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    flex-shrink: 0;
}

.tag-label {
    font-size: 12px;
    color: #94a3b8;
    flex-shrink: 0;
}

.quick-tag {
    padding: 4px 10px;
    background: #f0fdf9;
    border: 1px solid #a7f3d0;
    border-radius: 12px;
    font-size: 12px;
    color: #065f46;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.quick-tag:hover {
    background: #d1fae5;
    border-color: #34d399;
    transform: translateY(-1px);
}

.quick-tag.active {
    background: #11998e;
    border-color: #11998e;
    color: #fff;
}

/* ========== 操作按钮行 ========== */
.action-row {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-primary {
    flex: 1;
    padding: 10px 16px;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(17, 153, 142, 0.3);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(17, 153, 142, 0.4);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    padding: 10px 16px;
    background: #f1f5f9;
    color: #475569;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

/* ========== 状态栏 ========== */
.status-bar {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    flex-shrink: 0;
    animation: fadeSlideIn 0.25s ease;
}

.status-bar.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.status-bar.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.status-bar.info {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* ========== 右侧结果面板 ========== */
.adch-result-panel {
    flex: 1;
    min-width: 280px;
    background: white;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 标签页切换 */
.result-tabs {
    display: flex;
    border-bottom: 2px solid #e2e8f0;
    background: #f8fafc;
    flex-shrink: 0;
}

.result-tab {
    flex: 1;
    padding: 10px 14px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s;
}

.result-tab:hover {
    color: #334155;
    background: #f0fdf9;
}

.result-tab.active {
    color: #11998e;
    border-bottom-color: #11998e;
    font-weight: 700;
    background: white;
}

.result-tab-content {
    display: none;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.result-tab-content.active {
    display: flex;
}

.result-actions {
    display: flex;
    gap: 8px;
    padding: 8px 14px;
    border-bottom: 1px solid #e2e8f0;
    background: #fafafa;
    flex-shrink: 0;
}

.icon-btn {
    padding: 5px 11px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 12px;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
}

.icon-btn:hover:not(:disabled) {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.icon-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.result-content {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
}

/* 修复后数据代码块 */
.cleaned-data-block {
    width: 100%;
    margin: 0;
    padding: 12px;
    background: #f0fdf4;
    border: 1.5px solid #a7f3d0;
    border-radius: 6px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 12.5px;
    line-height: 1.65;
    color: #064e3b;
    white-space: pre-wrap;
    word-break: break-all;
    box-sizing: border-box;
    min-height: 200px;
}

/* 报告内容 */
.report-content {
    padding: 14px;
}

.report-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 12px;
    margin-bottom: 6px;
    background: #f8fafc;
    border-left: 3px solid #11998e;
    border-radius: 0 6px 6px 0;
    font-size: 13px;
    color: #334155;
    line-height: 1.5;
    animation: fadeSlideIn 0.2s ease;
}

.report-summary {
    margin-top: 12px;
    padding: 10px 14px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #065f46;
    text-align: center;
}

/* 空状态提示 */
.sa-empty-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
}

.placeholder-icon {
    font-size: 42px;
    margin-bottom: 12px;
    opacity: 0.7;
}

.placeholder-title {
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 12px;
}

.placeholder-tips {
    text-align: left;
    padding-left: 20px;
    margin: 0;
    list-style: none;
}

.placeholder-tips li {
    padding: 3px 0;
    font-size: 13px;
    color: #94a3b8;
}

/* ========== 弹窗通用样式 ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.modal-box {
    background: white;
    border-radius: 10px;
    width: 440px;
    max-width: 90vw;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.25s ease;
}

.modal-box-wide {
    width: 640px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(to bottom, #fafafa, #f5f5f5);
}

.modal-header h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #334155;
}

.modal-close {
    background: none;
    border: none;
    font-size: 16px;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s;
}

.modal-close:hover {
    color: #334155;
    background: #f1f5f9;
}

.modal-body {
    padding: 20px;
    max-height: calc(85vh - 60px);
    overflow-y: auto;
}

/* 快捷键表格 */
.shortcuts-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.shortcuts-table th {
    background: #f8fafc;
    padding: 8px 14px;
    text-align: left;
    color: #475569;
    font-weight: 600;
    border-bottom: 1.5px solid #e2e8f0;
}

.shortcuts-table td {
    padding: 9px 14px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.shortcuts-table tr:last-child td {
    border-bottom: none;
}

kbd {
    display: inline-block;
    padding: 2px 7px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-bottom-width: 2px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
    color: #334155;
}

/* 示例数据网格 */
.sample-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.sample-card {
    padding: 14px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.sample-card:hover {
    border-color: #11998e;
    background: #f0fdf9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 153, 142, 0.12);
}

.sample-card-title {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 5px;
}

.sample-card-desc {
    font-size: 12px;
    color: #94a3b8;
}

/* ========== 进度条动画 ========== */
@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ========== 输入统计警告状态 ========== */
.data-stats.warning {
    background: #fef3c7;
    color: #d97706;
    font-weight: 600;
    animation: fadeSlideIn 0.2s ease;
}

/* ========== 示例数据预览块 ========== */
.sample-card-preview {
    margin-top: 8px;
    padding: 6px 8px;
    background: #f1f5f9;
    border-radius: 4px;
    font-size: 11px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    color: #64748b;
    white-space: pre;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 38px;
    line-height: 1.5;
    border-left: 2px solid #cbd5e1;
}

.sample-card:hover .sample-card-preview {
    border-left-color: #11998e;
    color: #475569;
}

/* ========== 取消按鈕 ========== */
.btn-cancel {
    padding: 10px 14px;
    background: #fff5f5;
    color: #dc2626;
    border: 1.5px solid #fca5a5;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-cancel:hover {
    background: #fee2e2;
    border-color: #ef4444;
}

/* ========== Loading 骨架屏 ========== */
.loading-spinner {
    width: 34px;
    height: 34px;
    border: 3px solid #e2e8f0;
    border-top-color: #11998e;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 12px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.result-loading .placeholder-title {
    color: #11998e;
    font-weight: 500;
}

/* ========== 响应式处理 ========== */
@media (max-width: 900px) {
    .adch-history-panel {
        display: none;
    }

    .adch-main-content {
        flex-direction: column;
    }

    .adch-input-panel {
        width: 100%;
        min-width: unset;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        max-height: 50vh;
        overflow-y: auto;
    }

    .adch-result-panel {
        min-width: unset;
    }
}

/* ========== 暗黑模式 ========== */
@media (prefers-color-scheme: dark) {
    .adch-container,
    .adch-input-panel,
    .adch-result-panel,
    .adch-history-panel {
        background: #1e293b;
        color: #e2e8f0;
        border-color: #334155;
    }

    .data-textarea,
    .form-input,
    .form-select {
        background: #0f172a;
        color: #e2e8f0;
        border-color: #334155;
    }

    .toolbar-btn {
        background: rgba(255, 255, 255, 0.15);
        color: #e2e8f0;
    }

    .history-header,
    .result-tabs,
    .result-actions {
        background: #1e293b;
        border-color: #334155;
    }

    .history-header h3 {
        color: #94a3b8;
    }

    .history-search input {
        background: #0f172a;
        color: #e2e8f0;
        border-color: #334155;
    }

    .history-item {
        background: #263347;
        border-color: #334155;
    }

    .history-item:hover {
        background: #1a3d35;
        border-color: #11998e;
    }

    .history-item.active {
        background: #1a3d35;
        border-color: #11998e;
    }

    .history-item-title {
        color: #cbd5e1;
    }

    .history-count {
        background: #0d7a72;
    }

    .history-empty {
        color: #475569;
    }

    .result-tab {
        color: #64748b;
    }

    .result-tab.active {
        background: #1e293b;
        color: #38ef7d;
        border-bottom-color: #38ef7d;
    }

    .cleaned-data-block {
        background: #0f231a;
        border-color: #166534;
        color: #bbf7d0;
    }

    .report-item {
        background: #1e293b;
        color: #cbd5e1;
        border-left-color: #11998e;
    }

    .report-summary {
        background: #1a3d35;
        border-color: #11998e;
        color: #6ee7b7;
    }

    .icon-btn {
        background: #263347;
        border-color: #334155;
        color: #94a3b8;
    }

    .icon-btn:hover:not(:disabled) {
        background: #334155;
        border-color: #475569;
    }

    .btn-secondary {
        background: #263347;
        border-color: #334155;
        color: #94a3b8;
    }

    .btn-secondary:hover {
        background: #334155;
    }

    .btn-cancel {
        background: #3d1a1a;
        border-color: #ef4444;
        color: #fca5a5;
    }

    .btn-cancel:hover {
        background: #4d2020;
    }

    .modal-box {
        background: #1e293b;
    }

    .modal-header {
        border-color: #334155;
        background: linear-gradient(to bottom, #263347, #1e293b);
    }

    .modal-header h3 {
        color: #e2e8f0;
    }

    .modal-close:hover {
        background: #334155;
        color: #e2e8f0;
    }

    .sample-card {
        background: #263347;
        border-color: #334155;
    }

    .sample-card:hover {
        background: #1a3d35;
        border-color: #11998e;
    }

    .sample-card-title {
        color: #cbd5e1;
    }

    .sample-card-desc {
        color: #64748b;
    }

    .sample-card-preview {
        background: #0f172a;
        color: #64748b;
        border-left-color: #334155;
    }

    .sample-card:hover .sample-card-preview {
        border-left-color: #11998e;
        color: #94a3b8;
    }

    .shortcuts-table th {
        background: #263347;
        color: #94a3b8;
        border-color: #334155;
    }

    .shortcuts-table td {
        color: #cbd5e1;
        border-color: #263347;
    }

    .shortcuts-table tr:hover td {
        background: #1a2940;
    }

    kbd {
        background: #334155;
        border-color: #475569;
        color: #e2e8f0;
    }

    .quick-tag {
        background: #1a3d35;
        border-color: #11998e;
        color: #6ee7b7;
    }

    .quick-tag:hover {
        background: #0f2f28;
    }

    .quick-tag.active {
        background: #11998e;
        color: #fff;
    }

    .status-bar.info {
        background: #1e3a5f;
        color: #93c5fd;
        border-color: #3b82f6;
    }

    .status-bar.success {
        background: #1a3d35;
        color: #6ee7b7;
        border-color: #34d399;
    }

    .status-bar.error {
        background: #3d1a1a;
        color: #fca5a5;
        border-color: #ef4444;
    }

    .data-stats {
        background: #263347;
        color: #64748b;
    }

    .data-stats.warning {
        background: #3d2a00;
        color: #fbbf24;
    }

    .sa-empty-hint {
        color: #475569;
    }

    .placeholder-title {
        color: #64748b;
    }

    .placeholder-tips li {
        color: #475569;
    }
}

/* ============================================================
   全屏模式
   ============================================================ */
.adch-container.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999;
    border-radius: 0;
    margin: 0;
    border: none;
}

.adch-container.fullscreen .adch-main-content {
    height: calc(100vh - 50px);
}

/* 全屏模式下工具栏边框调整 */
.adch-container.fullscreen .adch-toolbar {
    border-radius: 0;
}

/* 全屏模式下左侧面板适配 */
.adch-container.fullscreen .adch-history-panel {
    height: 100%;
}

/* 全屏模式下结果面板适配 */
.adch-container.fullscreen .adch-result-panel {
    height: 100%;
}

/* 全屏按钮激活状态 */
.adch-toolbar .toolbar-btn.fullscreen-active {
    background: rgba(255, 255, 255, 1);
    color: #059669;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
