.ctx-panel{margin:16px 0;padding:18px;border:1px solid #dbe2ed;border-radius:8px;background:#fff;color:#243247;font-size:12px}.ctx-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.ctx-heading h3{margin:0;font-size:15px}.ctx-heading p{margin:6px 0 0;color:#738094;line-height:1.6}.ctx-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.ctx-button{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:7px 11px;border:1px solid #d9e0ea;border-radius:5px;background:#fff;color:#4263eb;font:inherit;font-size:11px;text-decoration:none;white-space:nowrap;cursor:pointer}.ctx-button.primary{background:#4263eb;border-color:#4263eb;color:#fff}.ctx-button:disabled{opacity:.45;cursor:not-allowed}.ctx-resources{display:grid;gap:8px;margin-top:16px}.ctx-resource{display:flex;align-items:center;gap:12px;padding:11px 12px;border:1px solid #e1e6ed;border-radius:6px;background:#fafbfd}.ctx-resource>div{flex:1;min-width:0}.ctx-resource strong{display:block;font-size:12px}.ctx-resource small,.ctx-editor-row small{display:block;margin-top:4px;color:#738094;font-size:10px;line-height:1.5}.ctx-order{width:24px;height:24px;display:grid;place-items:center;flex:none;border-radius:50%;background:#eef2ff;color:#4263eb;font-size:11px}.ctx-tag{display:inline-block;padding:4px 7px;border-radius:4px;background:#eef3fb;color:#526477;font-size:10px;white-space:nowrap}.ctx-tag.warning{background:#fff3df;color:#9a651b}.ctx-inline-note{margin:10px 0;color:#708098;font-size:11px;line-height:1.65}.ctx-overlay{display:none;position:fixed;inset:0;z-index:160;align-items:center;justify-content:center;padding:20px;background:#101a2d66}.ctx-overlay.open{display:flex}.ctx-dialog{display:flex;flex-direction:column;width:min(780px,100%);max-height:calc(100dvh - 40px);padding:22px;border-radius:9px;background:#fff;color:#243247;font-size:12px;overflow:hidden}.ctx-dialog-head{display:flex;flex:none;justify-content:space-between;gap:18px;margin-bottom:14px}.ctx-dialog-head h2{margin:0;font-size:18px}.ctx-dialog-head p{margin:7px 0 0;color:#738094;font-size:11px;line-height:1.6}#ctxBody{overflow:auto;min-height:0;padding-right:3px}.ctx-footer{display:flex;justify-content:flex-end;gap:12px;flex:none;padding-top:16px;margin-top:14px;border-top:1px solid #e1e6ed}.ctx-editor-list{display:grid;gap:8px}.ctx-editor-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px;border:1px solid #e1e6ed;border-radius:6px}.ctx-editor-row label{display:flex;align-items:flex-start;gap:10px;flex:1;cursor:pointer}.ctx-editor-row input{margin-top:3px}.ctx-conflict{margin:14px 0;padding:14px;border:1px solid #e5d2b0;border-radius:6px;background:#fffaf2}.ctx-conflict p{font-size:11px;line-height:1.65;color:#74664c}.ctx-conflict .ctx-button{margin:4px 10px 4px 0}.ctx-candidate{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid #eadfca}.ctx-candidate span{font-size:10px;color:#768195}.ctx-meta{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0;color:#647389;font-size:11px}.ctx-context-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0}.ctx-context-fields label{display:grid;gap:6px;font-size:11px;color:#738094}.ctx-context-fields select{width:100%;min-height:36px;padding:8px;border:1px solid #dce2eb;border-radius:5px;background:#fff;color:#243247;font:inherit}.ctx-case-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0}.ctx-case-bar>span{color:#738094;font-size:10px}.ctx-empty{padding:18px;color:#768195;font-size:12px}.ctx-project-link{padding:12px 0;margin:10px 0;border-top:1px solid #e1e6ed}.ctx-scope-note{display:block;padding:8px 12px;margin:10px 0;color:#647389;font-size:11px;background:#f6f8fc;border:1px solid #e1e6ed;border-radius:6px}.ws-table .ws-actions{gap:12px}.ws-table .ws-btn.link{padding:6px 9px;border:1px solid #dce2eb;border-radius:5px;background:#fff}.ws-dialog-foot{gap:12px}@media(max-width:820px){.ctx-heading,.ctx-candidate{flex-direction:column}.ctx-context-fields{grid-template-columns:1fr}.ctx-resource{flex-wrap:wrap}.ctx-editor-row{gap:8px}.ctx-dialog{padding:16px}.ctx-actions{gap:10px}}
.ws-dialog{display:flex;flex-direction:column;overflow:hidden}.ws-dialog-head,.ws-dialog-foot,.ws-dialog>.ws-error{flex:none}.ws-dialog #dialogBody,.ws-dialog #enterpriseDialogBody{min-height:0;overflow:auto}.ws-dialog-foot{background:#fff}#modalPanel{display:flex;flex-direction:column;overflow:hidden}#modalPanel>.modal-head{flex:none}#modalPanel>#modalBody{min-height:0;overflow:auto}#modalPanel .modal-actions{position:sticky;bottom:0;background:#fff;padding-top:12px;padding-bottom:4px;border-top:1px solid #e1e6ed}
.ctx-file-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:8px 0 16px}.ctx-file-form label{display:grid;gap:6px;font-size:11px;color:#728095}.ctx-file-form select{width:100%;min-height:35px;padding:8px;border:1px solid #dce2eb;border-radius:5px;background:#fff;color:#243247}.ctx-file-body{min-height:0;overflow:auto}.ctx-file-advanced{margin:12px 0;font-size:11px;color:#788496}.ctx-file-advanced summary{cursor:pointer}.ctx-compact-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 0;border-top:1px solid #e4e8ef}.ctx-compact-summary>div{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.ctx-compact-summary strong{font-size:12px}.ctx-compact-summary span{font-size:11px;color:#718098}@media(max-width:820px){.ctx-file-form{grid-template-columns:1fr}.ctx-compact-summary>div{align-items:flex-start;flex-direction:column;gap:5px}}
.ctx-mixed-source{display:block;margin-bottom:8px;padding-bottom:8px;border-bottom:1px solid #e4e8ef;color:#6c7789;font-size:12px}
.term-language-cell{display:grid;gap:6px;min-width:150px;line-height:1.5;overflow-wrap:anywhere}.term-language-cell span{display:inline!important;color:#738094;font-size:10px;margin:0!important}.term-language-cell>div{font-size:11px}
.ctx-match-examples{margin:12px 0;color:#647389;font-size:11px}.ctx-match-examples summary{cursor:pointer}.ctx-match-examples table{width:100%;border-collapse:collapse;margin-top:8px}.ctx-match-examples th,.ctx-match-examples td{padding:9px;text-align:left;border-bottom:1px solid #e2e7ef}.ctx-match-examples small{display:block;margin-top:4px;color:#8290a2}
.ctx-suggestion-list{display:grid;gap:12px}.ctx-suggestion-list article{padding:14px;border:1px solid #e1e6ed;border-radius:6px}.ctx-suggestion-list p{font-size:11px;color:#708098;line-height:1.6;margin:8px 0}
.ug-files{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0}.ug-files label{display:grid;gap:9px;padding:13px;border:1px dashed #bdc9db;border-radius:6px;background:#fafcff;font-size:12px}.ug-files input{width:100%;min-width:0;font-size:11px}.ug-files small,.ug-note{font-size:11px;color:#728095;line-height:1.65}.ug-note{grid-column:1/-1;margin:2px 0}.ug-error{min-height:18px;color:#b24c4a;font-size:12px}.ug-result p{font-size:12px;line-height:1.7;overflow-wrap:anywhere}.ug-search{width:100%;padding:9px;border:1px solid #dce2eb;border-radius:5px}.ug-search-result{display:flex;justify-content:space-between;gap:12px;width:100%;padding:12px;border:0;border-bottom:1px solid #e1e6ed;background:#fff;text-align:left;cursor:pointer;color:#243247}.ug-search-result span{font-size:10px;color:#728095}@media(max-width:820px){.ug-files{grid-template-columns:1fr}.ug-search-result{flex-direction:column;gap:6px}}
.ug-files [hidden],#ug-platform[hidden]{display:none!important}
.ctx-source-toolbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:14px 0}.ctx-source-toolbar label{display:flex;align-items:center;gap:8px;font-size:11px}.ctx-source-toolbar select{min-height:34px;border:1px solid #dce2eb;border-radius:5px;padding:7px 9px;background:#fff;color:#243247}.ctx-source-toolbar>span{font-size:11px;color:#738094}.ctx-source-toolbar>.ctx-button{margin-left:auto}
.flow-upload-dialog{width:min(1050px,100%)}.flow-drop{display:grid;gap:12px;padding:22px;border:1px dashed #b6c5de;border-radius:7px;background:#fafcff;color:#4263eb}.flow-drop input{max-width:100%;font-size:12px}.flow-drop small,.flow-upload-row small{display:block;color:#738094;line-height:1.7;margin-top:6px}.flow-upload-row{display:grid;grid-template-columns:minmax(190px,1.2fr) minmax(170px,1fr) minmax(180px,1fr);gap:16px;padding:17px 0;border-bottom:1px solid #e2e7ef;align-items:center}.flow-upload-row>div{min-width:0;overflow-wrap:anywhere}.flow-upload-row label{display:grid;gap:7px;font-size:11px}.flow-upload-row select{width:100%;padding:8px;border:1px solid #dce2eb;border-radius:5px;background:#fff}.flow-upload-row .flow-warning{color:#a76c20}.flow-upload-dialog .ctx-footer>span{margin-right:auto;font-size:11px;color:#738094}.flow-preview-tools{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:14px 0;padding:14px 16px;background:#fff;border:1px solid #dce2eb;border-radius:7px;font-size:12px}.flow-preview-tools>label{display:flex;align-items:center;gap:10px;min-width:0;flex:1}.flow-preview-tools select{max-width:100%;min-width:170px;padding:8px;border:1px solid #dce2eb;border-radius:5px;background:#fff;font-size:11px}.flow-language-list,.flow-results{display:flex;gap:16px;flex-wrap:wrap;margin:15px 0}.flow-language-list label{display:flex;align-items:center;gap:8px}.flow-qa{padding:14px;border-bottom:1px solid #dce2eb;font-size:11px;background:#f8faff}.flow-qa h3{margin:0;font-size:12px}.flow-qa p{color:#738094;line-height:1.6}.flow-qa-counts{display:flex;gap:12px;flex-wrap:wrap;color:#4263eb}.ws-dialog:has(#projectName){width:min(850px,100%)}@media(max-width:820px){.flow-upload-row{grid-template-columns:1fr}.flow-preview-tools{align-items:stretch}.flow-preview-tools>label{flex-direction:column;align-items:flex-start;width:100%}.flow-preview-tools select{width:100%;min-width:0}.flow-preview-tools .ctx-actions{gap:8px}.flow-upload-dialog .ctx-footer{flex-wrap:wrap}}
.ctx-selected-names{display:flex;gap:6px 14px;flex-wrap:wrap;flex-basis:100%;font-size:11px;line-height:1.7}.ctx-selected-names>span{display:block;color:#53657e}.ctx-selected-names small{display:block;color:#9a6b20}.ctx-range-warning{display:block;margin-top:4px;color:#9a6b20;font-size:10px}
.file-download-format{padding:16px 0}.file-download-format label{display:grid;gap:10px;font-size:12px;color:#63728a}.file-download-format select{padding:10px;border:1px solid #dce2eb;border-radius:5px;background:#fff;font:inherit;width:100%;min-width:220px}

.ctx-selection-conflicts{padding:14px;margin:14px 0;border:1px solid #e7b6b2;border-radius:6px;background:#fff5f4;color:#913d36;font-size:12px;line-height:1.7}.ctx-selection-conflicts p{margin:8px 0}.ctx-selection-conflicts div{padding-left:10px}.pv-review-version{font-size:12px;color:#596784}

#ctxSelectionConflicts:has(.ctx-selection-conflicts){position:sticky;top:0;z-index:2;background:#fff} .ctx-selection-conflicts{margin-top:0}

#ctxSelectionConflicts:has(.ctx-selection-conflicts){position:static}.ctx-selection-conflicts.resolved{border-color:#b9daca;background:#f2faf5;color:#285e44}.ctx-resolution-note{font-size:11px}.ctx-conflict-title{display:flex;gap:12px;align-items:center;margin-bottom:10px}.ctx-conflict-title span{font-size:11px}.ctx-resolution-candidate{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:10px!important;background:#fff;border:1px solid #e0e4eb;border-radius:5px;margin:7px 0}.ctx-resolution-candidate small{display:block;font-size:10px;color:#67758b}.ctx-conflict-manual{display:flex;gap:9px;align-items:flex-end;padding-left:0!important;margin-top:12px}.ctx-conflict-manual label{flex:1;display:grid;gap:5px;font-size:11px}.ctx-conflict-manual input{width:100%;box-sizing:border-box;border:1px solid #cdd5df;border-radius:5px;padding:9px;color:#243247;background:#fff}.ctx-resolution-result{padding:10px 0!important;display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:600}.ctx-conflict-choice{padding:12px 0;border-top:1px solid #e0e4eb}.ctx-conflict-choice .ug-error{min-height:0;margin:5px 0}

/* Corpus settings share the terminology row spacing. */
.ctx-corpus-settings{margin:8px 0 4px;padding:12px 0;border:0;border-top:1px solid #e4e8ef;border-radius:0;background:transparent}.ctx-corpus-head{display:flex;align-items:center;justify-content:flex-start;gap:14px;min-height:32px}.ctx-corpus-head>strong{font-size:12px;font-weight:600;color:#243247}.ctx-corpus-head-actions{display:flex;align-items:center;gap:14px}.ctx-corpus-switch{position:relative;display:block;width:30px;height:18px;flex:none;cursor:pointer}.ctx-corpus-switch input{position:absolute;inset:0;width:100%!important;height:100%;margin:0;opacity:0;cursor:pointer;z-index:1}.ctx-corpus-switch>span{display:block;width:30px;height:18px;background:#c5cedc;border-radius:10px;transition:background .15s}.ctx-corpus-switch>span:after{content:"";position:absolute;top:3px;left:3px;width:12px;height:12px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0002;transition:transform .15s}.ctx-corpus-switch input:checked+span{background:#4263eb}.ctx-corpus-switch input:checked+span:after{transform:translateX(12px)}.ctx-corpus-switch input:focus-visible+span{outline:2px solid #8fa5ed;outline-offset:3px}.ctx-corpus-detail{display:flex;align-items:center;justify-content:flex-start;gap:20px;min-height:30px;margin-top:7px;font-size:11px;color:#718098}.ctx-corpus-detail>[data-corpus-summary]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#63748e}.ctx-corpus-minimum{display:flex;align-items:center;gap:9px;white-space:nowrap;flex:none;font-size:11px;color:#718098}.ctx-corpus-percent{display:flex;align-items:center;gap:0;width:74px;height:28px;box-sizing:border-box;padding-right:8px;border:1px solid #dce3ed;border-radius:5px;background:#fff;color:#53647d}.ctx-corpus-percent input{min-width:0;width:50px;height:24px;padding:0 7px;border:0;background:transparent;font:inherit;color:#243247;box-shadow:none}.ctx-corpus-settings [hidden]{display:none!important}.ctx-corpus-settings .ug-error:empty{display:none}.ctx-corpus-settings .ug-error{margin:5px 0 0;min-height:0}@media(max-width:420px){.ctx-corpus-detail{align-items:flex-start;flex-wrap:wrap;gap:8px}}
.corpus-picker-dialog{width:min(1060px,calc(100vw - 48px));max-width:1060px}.corpus-picker-dialog .asset-tabs{display:flex;gap:24px;border-bottom:1px solid #e0e6ee;margin:0}.corpus-picker-dialog .asset-tabs button{border:0;background:none;padding:13px 0;font:inherit;font-size:13px;color:#75839a;cursor:pointer;border-bottom:2px solid transparent}.corpus-picker-dialog .asset-tabs button.active{color:#4263eb;border-color:#4263eb}.corpus-picker-filters{display:flex;gap:8px;margin:14px 0;flex-wrap:wrap}.corpus-picker-filters input,.corpus-picker-filters select{padding:9px;border:1px solid #d9e1ed;border-radius:5px;font:inherit;font-size:12px;min-width:110px}.corpus-picker-filters input{flex:1}.corpus-picker-table{width:100%;border-collapse:collapse;font-size:12px}.corpus-picker-table th,.corpus-picker-table td{text-align:left;padding:11px 9px;border-bottom:1px solid #e6ebf2;line-height:1.6}.corpus-picker-table th{background:#f8fafd;color:#708099;font-weight:500}.corpus-picker-table td small{display:block;max-width:390px;font-size:11px;color:#7b899d}.corpus-picker-whole{display:flex;align-items:center;gap:7px;font-size:12px;margin:10px 0}.corpus-picker-pager{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:14px 0;font-size:12px;color:#74829a}.corpus-picker-selection{margin-right:auto;font-size:12px;color:#74829a}.corpus-picker-dialog .ug-error:empty{display:none}

.ctx-corpus-choice{display:inline-flex;align-items:center;justify-content:space-between;gap:18px;min-width:180px;max-width:390px;height:32px;padding:0 11px;border:1px solid #dce3ed;border-radius:5px;background:#fff;color:#455873;font:inherit;font-size:12px;cursor:pointer}.ctx-corpus-choice:hover{border-color:#9eb2e7}.ctx-corpus-choice:focus-visible{outline:2px solid #8fa5ed;outline-offset:2px}.ctx-corpus-choice [data-corpus-summary]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ctx-corpus-chevron{width:6px;height:6px;flex:none;border-right:1px solid #7b8aa1;border-bottom:1px solid #7b8aa1;transform:rotate(45deg);margin-top:-3px}.ctx-corpus-detail{flex-wrap:wrap;width:fit-content;max-width:100%}.corpus-picker-dialog [hidden]{display:none!important}
