.word-analysis-popup{position:fixed;z-index:10000;background:var(--bg-surface);border-radius:var(--border-radius-lg);box-shadow:var(--shadow-lg);min-width:300px;max-width:400px;padding:1rem;font-size:.9rem;pointer-events:auto;border:1px solid var(--border-color)}.popup-header{font-size:1rem;font-weight:600;margin-bottom:.75rem;color:var(--text-primary);border-bottom:1px solid var(--border-color);padding-bottom:.5rem}.popup-content{display:flex;flex-direction:column;gap:6px}.popup-row{display:flex;align-items:baseline;gap:8px}.popup-label{font-weight:500;color:#666;min-width:70px}.popup-value{color:#333}.popup-value.hebrew{font-family:var(--font-biblical);font-size:18px;direction:rtl}.popup-value.clickable{cursor:pointer;padding:4px 8px;border-radius:4px;transition:background-color .15s,color .15s}.popup-value.clickable:hover{background-color:#e3f2fd;color:#1976d2}.popup-value.clickable:active{background-color:#bbdefb}.popup-value-container{display:flex;flex-wrap:wrap;gap:6px;flex:1}.popup-value.clickable.split-item{padding:3px 8px;border:1px solid #e0e0e0;background-color:#f5f5f5;margin:0}.popup-value.clickable.split-item:hover{background-color:#e3f2fd;border-color:#1976d2;color:#1976d2}.popup-value.clickable.split-item:active{background-color:#bbdefb}.popup-value.clickable.disabled{cursor:not-allowed;opacity:.5;background-color:#f5f5f5;color:#999}.popup-value.clickable.disabled:hover{background-color:#f5f5f5;color:#999;border-color:#e0e0e0}.popup-value.clickable.split-item.disabled,.popup-value.clickable.split-item.disabled:hover{background-color:#fafafa;border-color:#e0e0e0;color:#999}.clause-table{width:100%;border-collapse:collapse;margin-bottom:2rem}.clause-table td{border:1px solid var(--border-color);padding:0 .75rem}.clause-table th{border:1px solid var(--border-color);padding:.45rem .75rem;text-align:center;font-size:.85rem;font-weight:600;color:var(--text-secondary);background:var(--bg-light-gray)}.clause-table .orig-cell{min-width:300px;padding:0}.clause-table .verse-cell{width:60px;text-align:center;position:relative;white-space:nowrap;vertical-align:middle}.verse-label{display:flex;align-items:center;justify-content:center;gap:.35rem}.clause-table .verse-cell.verse-cell-assigned-current{background:#e6f4ff;box-shadow:inset 0 0 0 1px #91caff;font-weight:600}.verse-note-icon{display:inline-block;margin-left:6px;font-size:12px;cursor:default;opacity:.8}.verse-note-icon:hover{opacity:.8}.verse-discussion-icon{display:inline-block;margin-left:6px;font-size:12px;cursor:default;opacity:.8}.verse-discussion-icon:hover{opacity:.8}.clause-table .type-cell{width:80px;text-align:center;font-size:.9rem}.clause-table .verb-person-cell,.clause-table .verb-stem-cell{width:78px;text-align:center;font-size:.8rem;line-height:1.6;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--text-secondary);padding:.35rem .25rem;white-space:nowrap}.clause-table .verb-person-cell:focus,.clause-table .verb-stem-cell:focus{outline:none;background:var(--bg-panel)}.clause-table .trans-cell{min-width:400px}.trans-cell,.title-cell{font-size:14pt;font-family:PingFang SC;font-weight:300;line-height:1.8em;min-width:200px}.clause-table .title-cell{text-align:center;font-weight:400;padding:3px 0;background:var(--bg-light-gray)}table{border-collapse:collapse}td{border:1px solid;padding:0 5pt}.footnote{position:relative;cursor:pointer;color:var(--color-link)}.footnote:after{content:attr(data-note);position:absolute;left:0;bottom:100%;background:var(--bg-surface);border:1px solid var(--border-color);padding:5px;width:200px;font-size:.9em;display:none;z-index:10;box-shadow:0 2px 5px var(--shadow-light)}.footnote:hover:after{display:block}.todo{color:var(--color-todo)}.highlight{color:var(--color-highlight)}.focus{font-weight:400}.title-cell .focus{font-weight:700}.added{text-decoration:underline;text-decoration-style:dotted;text-underline-offset:5px}td>p{min-height:1em}.tree-prefix{white-space:preserve;font-family:Times New Roman,Times,serif;font-size:25pt}.tree-prefix-last-char{cursor:grab;border-radius:2px;transition:background-color .2s,color .2s;display:inline}.tree-prefix-last-char:hover{background-color:#e3f2fd;color:#1976d2}.tree-prefix-last-char:active{cursor:grabbing}.tree-prefix-last-char.dragging{opacity:.5;cursor:grabbing}.drop-target{background-color:#c8e6c9!important;outline:2px solid #4caf50;outline-offset:2px;border-radius:2px;animation:pulse-drop-target 1s ease-in-out infinite}@keyframes pulse-drop-target{0%,to{box-shadow:0 0 #4caf5066}50%{box-shadow:0 0 0 6px #4caf5000}}.RedForeground{color:red}.accusative,.BlueForeground{color:#2a7fff}.genitive{color:#0c0}.vocative,.OrangeForeground{color:#f60}.dative,.PurpleForeground{color:#a449ff}.GrayForeground{color:#6b6b6b}.BrownForeground{color:#9e5329}.PinkForeground{color:#f656b8}.nominative,.BoldText{font-weight:700}.verb{border:1px solid black;padding:2px}.verb.aorist{border-color:#000}.nt .present{border-color:#00f}.nt .perfect{border-color:red}.nt .imperfect{border-color:#f0f}.nt .future{border-color:#32cd32}.nt .pluperfect{border-color:red;border-width:2px}.appindic,.crossref{display:none}.verb.imperative{background-color:#ffc0c0}.verb.subjunctive{background-color:#ffe0ff}.verb.optative{background-color:#e0ffe0}.verb.indicative{background-color:beige}.verb.infinitive{background-color:#e0e0e0}.middle:after{content:"中";font-size:.5em;vertical-align:super;color:red}.passive:after{content:"被";font-size:.5em;vertical-align:super;color:#00f}.middle-passive:after{content:"中?";font-size:.5em;vertical-align:super;color:red}.ot .shadow{background:var(--bg-shadow)}.ot .qatal{color:red}.ot .weqatal{color:#2a7fff}.ot .wayyiqtol{color:#f656b8}.ot .yiqtol{color:#0c0}.ot .participle{color:#9e5329}.ot .infinitive{color:#6b6b6b}.ot .imperative{color:#a449ff}.ellipsis{font-size:20pt;font-family:Times New Roman}.hebrew,.space{font-family:var(--font-biblical);font-size:20pt;white-space:pre}.greek{font-size:18pt;white-space:pre;font-family:var(--font-biblical)}.symbol{white-space:pre;font-size:25pt;font-family:Times New Roman}.orig-cell.ot{direction:rtl}.orig-line>span{vertical-align:middle}[contenteditable=true]{outline:2px solid transparent;transition:outline .2s ease;border-radius:var(--border-radius-sm)}[contenteditable=true]:focus{outline:2px solid var(--primary-color);background:var(--bg-panel)}.clause-editor{max-width:1400px;margin:0 auto}.editor-shell{flex:1;min-width:0;min-height:0;display:flex;overflow:hidden}.editor-container{flex:1;min-width:0;min-height:0;overflow:auto;padding:2rem;background:#fff}@media(max-width:768px){.editor-container{padding:1rem}.clause-table td{font-size:.9rem;padding:.5rem}}.type-dropdown{background:var(--bg-surface);border:1px solid var(--border-color);border-radius:var(--border-radius-md);box-shadow:var(--shadow-lg);max-height:300px;overflow-y:auto;z-index:1000}.type-option{padding:.5rem .75rem;cursor:pointer;font-family:monospace;color:var(--text-primary);transition:background .1s ease}.type-option:hover{background:var(--bg-panel)}.type-option.selected{background:var(--bg-panel);color:var(--primary-color);font-weight:600}.type-cell-error{background-color:#ffebee!important;border:2px solid #f44336!important;color:#c62828!important}.orig-line.selectable{cursor:pointer;transition:background-color .2s;border-radius:2px}.orig-line{white-space:nowrap;display:inline-block;width:100%;line-height:initial}.orig-line.selectable:hover{background-color:#f0f0f0}.clause-table td.orig-cell.selected{background-color:#e3f2fd!important;border:2px solid #2196f3!important;box-sizing:border-box}.clause-table tr:has(td.orig-cell.selected)+tr td.orig-cell.selected{border-top:1px solid #ddd!important}.clause-table tr:has(+tr td.orig-cell.selected) td.orig-cell.selected{border-bottom:1px solid #ddd!important}.trans-cell.selected-trans{background-color:#e3f2fd!important;border:2px solid #2196f3!important;box-sizing:border-box;cursor:pointer}.clause-table tr:has(.trans-cell.selected-trans)+tr .trans-cell.selected-trans{border-top:1px solid #ddd!important}.clause-table tr:has(+tr .trans-cell.selected-trans) .trans-cell.selected-trans{border-bottom:1px solid #ddd!important}.verse-cell.selected-verse{background-color:#e3f2fd!important;border:2px solid #2196f3!important;box-sizing:border-box;cursor:pointer}.clause-table tr:has(.verse-cell.selected-verse)+tr .verse-cell.selected-verse{border-top:1px solid #ddd!important}.clause-table tr:has(+tr .verse-cell.selected-verse) .verse-cell.selected-verse{border-bottom:1px solid #ddd!important}.trans-cell{cursor:pointer;transition:background-color .2s}.trans-cell:hover{background-color:#f5f5f5}.hebrew span[data-id]{cursor:help;transition:background-color .15s,color .15s}.hebrew span[data-id]:hover{background-color:#fff3cd;color:gold}span[data-id].selected-word{background-color:#3498db;color:#fff;font-weight:700;border-radius:2px;padding:1px 0;-webkit-user-select:none;user-select:none}.alignment-hover{background-color:gold!important;color:#000!important;border-radius:2px;box-shadow:0 0 3px #0003;transition:all .1s ease}.floating-toolbar{position:fixed;z-index:1000;background:var(--text-primary);color:#fff;padding:.5rem;border-radius:var(--border-radius-md);box-shadow:var(--shadow-lg);display:flex;gap:.5rem;transition:opacity .2s}.toolbar-group{display:flex;gap:.5rem}.toolbar-btn{padding:.4rem .8rem;font-size:.85rem;background:#ffffff1a;color:#fff;border:1px solid rgba(255,255,255,.2);border-radius:var(--border-radius-sm);cursor:pointer;transition:all .2s ease}.toolbar-btn:hover{background:#fff3;border-color:#fff6}.toolbar-btn:disabled{opacity:.5;cursor:not-allowed}.toolbar-btn.active{background:#ffffff4d;border-color:#fffc;box-shadow:0 0 8px #fff3}.toolbar-btn.current-parent{background:var(--primary-color);border-color:var(--primary-hover);font-weight:600;box-shadow:0 0 10px #3b82f680}.toolbar-title{padding:.4rem .6rem;font-size:.85rem;font-weight:500;color:#ffffffe6;white-space:nowrap}.toolbar-warning{padding:.4rem .8rem;font-size:.85rem;color:#f39c12;background:#f39c1226;border:1px solid rgba(243,156,18,.3);border-radius:4px;white-space:nowrap}@font-face{font-family:Sys-SBL-BibLit;src:local("SBL BibLit"),local("SBLBibLit");unicode-range:U+0370-03FF,U+1F00-1FFF,U+0590-05FF,U+FB1D-FB4F}@font-face{font-family:Sys-SBL-Greek;src:local("SBL Greek"),local("SBLGreek");unicode-range:U+0370-03FF,U+1F00-1FFF}@font-face{font-family:Sys-SBL-Hebrew;src:local("SBL Hebrew"),local("SBLHebrew");unicode-range:U+0590-05FF,U+FB1D-FB4F}@font-face{font-family:Sys-Times;src:local("Times New Roman"),local("TimesNewRomanPSMT");unicode-range:U+0000-00FF,U+0100-017F}@font-face{font-family:Sys-PingFang;src:local("PingFang SC")}body{font-family:var(--font-biblical-ui);line-height:1.75}:root{--primary-color: #3b82f6;--primary-hover: #2563eb;--secondary-color: #64748b;--success-color: #10b981;--warning-color: #f59e0b;--danger-color: #ef4444;--bg-body: #f8fafc;--bg-surface: #ffffff;--bg-panel: #f1f5f9;--bg-light-gray: #eee;--bg-shadow: #D9D9D9;--text-primary: #1e293b;--text-secondary: #64748b;--text-tertiary: #94a3b8;--color-link: #0077cc;--color-todo: #ED7D31;--color-highlight: #70AD47;--border-color: #e2e8f0;--border-radius-sm: 4px;--border-radius-md: 6px;--border-radius-lg: 8px;--spacing-xs: .25rem;--spacing-sm: .5rem;--spacing-md: 1rem;--spacing-lg: 1.5rem;--spacing-xl: 2rem;--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);--shadow-light: rgba(0, 0, 0, .2);--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--font-biblical: "Sys-SBL-BibLit", "SBL BibLit", "Sys-SBL-Hebrew", "Sys-SBL-Greek", "SBL Hebrew", "SBL Greek", "Sys-Times", "Times New Roman", serif;--font-biblical-ui: var(--font-biblical), "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", var(--font-sans)}html,body{background:var(--bg-body);color:var(--text-primary);line-height:1.5}#app{display:flex;flex-direction:column;height:100vh;width:100%}header{background:var(--bg-surface);padding:1rem 2rem;border-bottom:1px solid var(--border-color)}.controls{display:flex;gap:var(--spacing-sm);align-items:center}main{flex:1;display:flex;overflow:hidden}.ant-message{top:auto!important;bottom:50px!important}.verse-note-popover{box-shadow:var(--shadow-lg)}
