/* A readable, bounded target-job console; no images or model runtime at startup. */
.jd-operation-status{min-height:42px;padding:10px 12px;margin:0 0 14px;border:1px solid #a8c4cd38;border-radius:7px;background:#09202c;font-size:12px;line-height:1.7;color:#cfdfdf}.jd-operation-status[data-error=true]{border-color:#f4b29b70;background:#382320;color:#ffd4bd}.jd-dialog[data-operation]:not([data-operation=idle]) .jd-operation-status{border-color:#e3ce8b8c;color:#fae9bd}.jd-dialog .action-button[aria-busy=true]{opacity:1}.jd-dialog .action-button[aria-busy=true]::after{content:'';width:12px;height:12px;margin-left:7px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:jd-working .8s linear infinite}.jd-dialog #jdUndoOcr{font-size:12px;margin-top:10px;min-height:36px;text-decoration:underline;text-underline-offset:4px}.jd-dialog #jdOcrWarnings{font-size:12px;line-height:1.7;margin-top:12px}@keyframes jd-working{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.jd-dialog .action-button[aria-busy=true]::after{animation:none}}
.jd-dialog{width:min(1200px,calc(100vw - 36px));max-width:none;max-height:calc(100dvh - 36px);padding:0;border:1px solid #a9bfc97d;border-radius:18px;background:linear-gradient(145deg,#182a37,#0d1c28);color:#e2e8e8;box-shadow:0 25px 90px #0009,inset 0 1px #eef8ff4d;overflow:hidden}
.jd-dialog[open]{display:flex;flex-direction:column}.jd-dialog::backdrop{background:#020a12c7;backdrop-filter:blur(3px)}
.jd-dialog .dialog-head{padding:18px 24px 14px;flex:none;border-bottom:1px solid #bdd1db24;align-items:center}.jd-dialog .dialog-head h2{font-size:23px;line-height:1.5}.jd-eyebrow{display:block;font:8px/1.5 ui-monospace,monospace;letter-spacing:2px;color:#a3bbc7;margin-bottom:4px}
.jd-workspace{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);min-height:0;flex:1;overflow:hidden}.jd-input-pane,.jd-analysis-pane{min-width:0;min-height:0;overflow:auto;padding:22px 24px;scrollbar-color:#708a99 #102331}.jd-input-pane{border-right:1px solid #b8c9d428}.jd-dialog .dialog-copy{font-size:13px;line-height:1.8;margin-bottom:17px;color:#afc2cc}.jd-dialog .form-label{font-size:12px;color:#d6e2e6;margin:0 0 9px}
.jd-editor,.jd-ocr-editor{display:block;width:100%;min-height:224px;max-height:40dvh;resize:vertical;border-radius:8px;background:#081721;color:#eef0e9;padding:14px;font:14px/1.8 var(--font);border:1px solid #87a3b35c;box-shadow:inset 0 2px 5px #0005}.jd-editor:focus,.jd-ocr-editor:focus{border-color:#d8ddc9;box-shadow:0 0 0 2px #d6dfcd20}.jd-editor::placeholder{color:#79919f}.jd-text-meta{display:flex;justify-content:space-between;gap:10px;margin:6px 0 17px;font-size:10px;color:#8ea8b7}.jd-text-meta [data-error=true]{color:#f2b59e}
.jd-image-drop{border:1px dashed #88a7b052;border-radius:9px;padding:14px;background:#c9e9ee04}.jd-upload-line{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.jd-upload-line>span,.jd-image-drop>p{font-size:10px;line-height:1.7;color:#93acb9}.jd-image-drop>p{margin-top:8px}.jd-upload-button{position:relative;display:flex;gap:6px;align-items:center;border:1px solid #9db6c27a;border-radius:6px;padding:8px 11px;min-height:40px;background:linear-gradient(#294351,#172c39);box-shadow:inset 0 1px #e3f5ff33,0 2px 0 #06131d;font-size:12px;color:#e0e9e9;cursor:pointer}.jd-upload-button input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;padding:0}.jd-upload-button:focus-within{outline:2px solid #eadcb9;outline-offset:3px}.jd-images{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.jd-images:empty{display:none}.jd-images figure{position:relative;margin:0;min-width:0;padding:5px;border:1px solid #9cb1bd45;border-radius:7px;background:#07121b}.jd-images img{width:100%;height:85px;display:block;object-fit:contain;background:#e9ebe7;border-radius:3px}.jd-images figcaption{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;padding:5px 2px 1px;color:#9bb3c2}.jd-images button{position:absolute;right:0;top:0;width:28px;height:28px;background:#06131deb;border:1px solid #b8cbd584;border-radius:5px;font-size:20px;line-height:1}
.jd-image-consent{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:12px}.jd-image-consent p{font-size:10px;line-height:1.7;color:#9bb1bf}.jd-dialog .action-button{min-height:40px;font-size:12px;justify-content:center;border-radius:7px;box-shadow:inset 0 1px #ecf4ef30,0 2px 0 #06121d}.jd-dialog .action-button:active:not(:disabled){transform:translateY(1px);box-shadow:inset 0 2px 4px #0006}.jd-dialog .action-button[aria-busy=true]{border-color:#c7a96c;color:#efdbad}.jd-dialog .action-button:disabled{opacity:.42;box-shadow:inset 0 2px 4px #0004}
.jd-ocr-review{margin-top:18px;border-top:1px solid #bacdd733;padding-top:16px}.jd-ocr-review h3{font-size:14px}.jd-ocr-review>p{font-size:11px;line-height:1.7;color:#b9c5c9;margin:7px 0 10px}.jd-ocr-editor{min-height:160px;font-size:13px}.jd-warning{white-space:pre-line;color:#e6c58e!important}.jd-inline-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.jd-phase-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.jd-phase-actions button{gap:9px;text-align:left;padding:11px 12px;justify-content:flex-start!important}.jd-phase-number{font:10px ui-monospace,monospace;opacity:.8}.jd-send-note{font-size:10px;line-height:1.7;color:#93aebc;margin:12px 0 18px}.jd-results{outline-offset:4px}.jd-empty{padding:36px 10px;text-align:center;color:#9cb5c2}.jd-empty>span{font:11px ui-monospace,monospace;letter-spacing:3px;color:#c4d1cc}.jd-empty h3{font-family:var(--serif);font-size:22px;font-weight:400;color:#e3e0d0;margin:20px 0 10px}.jd-empty p{font-size:12px;line-height:1.9;max-width:340px;margin:0 auto}.jd-summary{font-size:13px;line-height:1.85;margin-bottom:17px;color:#d6e1e5}.jd-requirement{margin-bottom:13px;padding:16px;border:1px solid #a7bdca35;border-radius:9px;background:linear-gradient(130deg,#1b3341,#102530);box-shadow:inset 0 1px #fff08}.jd-requirement-heading{display:flex;align-items:center;gap:9px;margin-bottom:9px}.jd-requirement-number{font:12px/1 ui-monospace,monospace;color:#e8dab9}.jd-kind{font-size:10px;border-left:1px solid #b9d0dc3d;padding-left:9px;color:#a7c2cc}.jd-reference{margin-left:auto;font:8px ui-monospace,monospace;color:#648593}.jd-requirement h3{font-size:14px;font-weight:550;line-height:1.8;color:#e4ebeb}.jd-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px}.jd-tags span{font-size:10px;border:1px solid #7da9b83d;padding:2px 7px;border-radius:20px;color:#b2cfd7;background:#071d282e}.jd-source{margin-top:11px;font-size:11px;color:#92adb9}.jd-source summary{cursor:pointer}.jd-source blockquote,.jd-match blockquote{font-size:12px;line-height:1.8;margin:8px 0 0;padding:8px 10px;border-left:2px solid #94ac9d7a;background:#07192280;color:#c4d4d8;white-space:pre-wrap;overflow-wrap:anywhere}.jd-comparison-summary{border-top:1px solid #a4b8c837;border-bottom:1px solid #a4b8c837;padding:13px 0;margin-bottom:17px}.jd-comparison-summary h3,.jd-followups h3{font-size:13px;color:#dfdfd3;margin-bottom:6px}.jd-comparison-summary p{font-size:12px;line-height:1.8}.jd-comparison-summary small{font-size:10px;color:#a5bac4;display:block;margin-top:7px}
.jd-match{margin-top:14px;padding-top:13px;border-top:1px solid #8fabbf35;font-size:12px;line-height:1.8}.jd-match-label{font-size:11px;color:#e4c58b}.jd-match-supported .jd-match-label{color:#a8d4be}.jd-match>p{margin-top:8px;color:#c0d0d8}.jd-next-step{display:grid;gap:3px}.jd-next-step>span:first-child{font-size:10px;color:#99b9c8}.jd-result-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}.jd-result-actions button{font-size:11px;text-decoration:underline;text-underline-offset:4px;color:#d8d9be;min-height:30px;padding:3px 0}.jd-followups{padding:13px 3px 4px}.jd-followups ol{padding-left:20px;font-size:12px;color:#c5d3da;line-height:1.9}.jd-followups li+li{margin-top:7px}
.jd-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 24px;border-top:1px solid #a1b8c746;background:linear-gradient(#1b303e,#112332);box-shadow:inset 0 1px #d3e6ee14;flex:none}.jd-footer>div:first-child{min-width:0}.jd-footer p{font-size:12px;line-height:1.6;color:#d5e0d9}.jd-footer p[data-error=true]{color:#efbda8}.jd-footer-note{display:block;font-size:10px;line-height:1.7;color:#91a9b6;margin-top:3px}.jd-footer-actions{display:flex;gap:8px;flex-shrink:0}.jd-footer-actions button{white-space:nowrap}
@media(max-width:760px){.jd-dialog{width:calc(100vw - 12px);max-height:calc(100dvh - 12px);border-radius:12px}.jd-dialog .dialog-head{padding:12px 16px 10px}.jd-dialog .dialog-head h2{font-size:20px}.jd-workspace{display:block;overflow:auto}.jd-input-pane,.jd-analysis-pane{overflow:visible;padding:16px}.jd-input-pane{border-right:0;border-bottom:1px solid #b8c9d428}.jd-editor{min-height:190px;max-height:none;font-size:14px}.jd-upload-line{gap:7px}.jd-phase-actions{gap:7px}.jd-phase-actions button{padding:10px 8px;font-size:11px;min-height:44px}.jd-footer{display:block;padding:11px 16px}.jd-footer-actions{justify-content:flex-end;margin-top:9px}.jd-footer-actions button{min-height:42px}.jd-footer-note{font-size:9px}.jd-empty{padding:18px 3px}.jd-empty h3{font-size:20px}.jd-images img{height:76px}.jd-inline-actions button{flex:1;min-width:0;font-size:11px}.jd-results{max-height:none}.jd-requirement{padding:13px}.jd-requirement h3{font-size:13px}}
@media(prefers-reduced-motion:reduce){.jd-dialog button{transition:none!important}.jd-dialog button:active:not(:disabled){transform:none!important}}
