#gaojidoc-page .doc-body { padding: 0 18px 18px; }
#gaojidoc-page .doc-main-area {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
#gaojidoc-page .doc-dropzone {
    border: 1px dashed #bdd4fb;
    background: #f7fbff;
    border-radius: 12px;
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    cursor: pointer;
    margin-bottom: 14px;
    padding: 12px;
    position: relative;
    transition: border-color .25s, background .25s;
}
#gaojidoc-page .doc-dropzone.is-dragover {
    border-color: #3b82f6;
    background: #eef5ff;
}
#gaojidoc-page .doc-drop-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #dbeafe;
    color: #2563eb;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
#gaojidoc-page .doc-drop-icon svg { width: 24px; height: 24px; }
#gaojidoc-page .doc-drop-main { margin: 0 0 4px; color: #1f2937; font-size: 14px; }
#gaojidoc-page .doc-drop-main a { color: #1a73e8; text-decoration: underline; cursor: pointer; }
#gaojidoc-page .doc-drop-hint { margin: 0; color: #64748b; font-size: 12px; line-height: 1.6; }
#gaojidoc-page .doc-drop-hint .lang-label { color: #0ab990; font-weight: 600; }
#gaojidoc-page .doc-drop-hint .warn-red { color: #e74c3c; }
#gaojidoc-page .doc-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}
#gaojidoc-page .doc-download-bar {
    display: none;
    margin-top: 12px;
}
#gaojidoc-page .doc-download-bar .btn-download {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid #16a34a;
    background: #16a34a;
    color: #fff;
    text-decoration: none;
    box-sizing: border-box;
    transition: background .2s, border-color .2s;
}
#gaojidoc-page .doc-download-bar .btn-download:hover {
    background: #15803d;
    border-color: #15803d;
}
#gaojidoc-page .doc-info-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    margin-bottom: 12px;
    padding: 10px 14px;
    background: #f8fafd;
    border: 1px solid #e6edf8;
    border-radius: 10px;
    font-size: 13px;
}
#gaojidoc-page .doc-info-bar a { color: #1a73e8; text-decoration: none; }
#gaojidoc-page .doc-info-bar a:hover { text-decoration: underline; }
#gaojidoc-page .doc-token-info { color: #555; }
#gaojidoc-page .doc-token-info strong { color: #1a73e8; font-size: 15px; }
#gaojidoc-page .doc-token-info .token-cost { color: #e74c3c; font-size: 12px; }
#gaojidoc-page .doc-option-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #475569;
}
#gaojidoc-page .doc-option-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #1a73e8;
    cursor: pointer;
}
#gaojidoc-page .doc-option-row label { cursor: pointer; margin: 0; font-weight: normal; }
#gaojidoc-page .doc-notice {
    margin-top: 12px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #e6edf8;
    border-radius: 10px;
    font-size: 12px;
    color: #475569;
    line-height: 1.7;
}
#gaojidoc-page .doc-notice p { margin: 0 0 4px; }
#gaojidoc-page .doc-notice p:last-child { margin-bottom: 0; }
#gaojidoc-page .doc-notice strong { color: #1f2937; }
#gaojidoc-page .doc-tips { margin: 0 0 14px; padding-left: 18px; color: #475569; font-size: 12px; line-height: 1.8; }
#gaojidoc-page .upload-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e6edf8;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: uploadSpin .7s linear infinite;
    margin: 0 auto;
}
.doc-lang-info{ display: flex; align-items: center; justify-content: center; gap: 4px; }
.doc-uploaded-bar { border: 1px solid #e6edf8; border-radius: 12px; background: #f8fafd; padding: 14px; margin-top: 12px; }
.doc-uploaded-info { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #1f2937; margin-bottom: 8px; }
.doc-uploaded-icon { font-size: 20px; }
.doc-uploaded-name { font-weight: 600; word-break: break-all; }
.doc-uploaded-size { color: #6b7280; font-size: 12px; white-space: nowrap; }
.gaoji-confirm-overlay { position: fixed; inset: 0; z-index: 9999; background: rgba(15,23,42,0.5); display: flex; align-items: center; justify-content: center; backdrop-filter: blur(2px); }
.gaoji-confirm-overlay[hidden] { display: none; }
.gaoji-confirm-dialog { background: #fff; border-radius: 14px; width: 480px; max-width: calc(100vw - 32px); box-shadow: 0 12px 40px rgba(15,23,42,0.18); overflow: hidden; animation: gaojiConfirmUp .25s ease; }
@keyframes gaojiConfirmUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.gaoji-confirm-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 12px; border-bottom: 1px solid #f0f2f7; }
.gaoji-confirm-header h3 { margin: 0; font-size: 16px; font-weight: 700; color: #1f2937; }
.gaoji-confirm-close { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #f2f4f8; font-size: 16px; color: #64748b; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.gaoji-confirm-close:hover { background: #e2e6ef; }
.gaoji-confirm-body { padding: 16px 20px 20px; }
.gaoji-confirm-body p { margin: 0 0 10px; font-size: 14px; color: #374151; line-height: 1.55; }
.gaoji-confirm-body p strong { color: #1f2937; }
.gaoji-confirm-actions { display: flex; gap: 10px; margin-top: 16px; }
.gaoji-confirm-btn { flex: 1; border: 0; border-radius: 8px; padding: 10px 16px; font-size: 14px; font-weight: 600; cursor: pointer; }
.gaoji-confirm-cancel { background: #f2f4f8; color: #374151; }
.gaoji-confirm-cancel:hover { background: #e2e6ef; }
.gaoji-confirm-ok { background: #1a73e8; color: #fff; }
.gaoji-confirm-ok:hover { filter: brightness(1.05); }
.gaoji-confirm-ok:disabled { opacity: 0.5; cursor: not-allowed; }
@keyframes uploadSpin {
    to { transform: rotate(360deg); }
}
@media (max-width: 640px) {
    #gaojidoc-page .doc-dropzone { min-height: 150px; padding: 10px; }
    #gaojidoc-page .doc-info-bar { flex-direction: column; align-items: flex-start; }
}
.doc-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
}
.doc-tab {
    text-decoration: none;
    padding: 6px 25px;
    border-radius: 8px;
    font-size: 13px;
    color: #64748b;
    background: #FFFFFF;
    transition: all .2s;
}
.doc-tab:hover {
    color: #1a73e8;
    background: #edf4ff;
}
.doc-tab.is-active {
    color: #fff;
    background: #1a73e8;
    pointer-events: none;
}