.workspace-dialog{background:#101113;color:#eee;border:1px solid #777;border-radius:14px;padding:22px;width:min(960px,94vw);max-height:90dvh;overflow:auto;margin:auto;box-sizing:border-box}.workspace-dialog::backdrop{background:#000b;backdrop-filter:blur(5px)}.workspace-dialog header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.workspace-dialog h2{font-size:22px;margin:0}.workspace-dialog h3{font-size:15px}.workspace-dialog input,.workspace-dialog textarea,.workspace-dialog select{box-sizing:border-box;background:#191b1e;color:#eee;border:1px solid #555;padding:9px;border-radius:5px;font:inherit;font-size:12px;line-height:1.6;min-width:0;width:100%}.layer-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.layer-fields label{display:grid;gap:7px;font-size:12px;color:#bbb}.layer-fields .wide{grid-column:1/-1}.layer-banner-preview{max-width:240px;height:110px;object-fit:contain}.layer-shortcut-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:16px}.layer-shortcut{display:grid;grid-template-columns:1fr 1fr 1.4fr 90px auto;gap:8px;margin-bottom:10px}.workspace-hint,[data-layer-status],[data-search-status]{font-size:12px;line-height:1.8;color:#bbb}.workspace-dialog footer{display:flex;justify-content:flex-end;padding-top:12px}.workspace-search-bar{display:flex;gap:12px}.workspace-search-bar input{flex:2}.workspace-search-bar select{flex:1}.workspace-search-result{display:block;width:100%;text-align:left;background:transparent;color:#eee;border:0;border-bottom:1px solid #333;padding:14px 10px;cursor:pointer}.workspace-search-result:hover{background:#25272b}.workspace-search-result strong,.workspace-search-result small{display:block;overflow-wrap:anywhere}.workspace-search-result small{color:#aaa;margin-top:6px}.workspace-search-result pre{white-space:pre-wrap;overflow-wrap:anywhere;color:#bbb;font:12px/1.7 monospace}.workspace-dialog :focus-visible{outline:1px solid #fff;outline-offset:2px}
.CodeMirror-dialog{position:absolute;left:0;right:0;background:#151515;color:#eee;z-index:15;padding:8px 12px;overflow:hidden;font:12px/1.8 monospace}.CodeMirror-dialog-top{border-bottom:1px solid #555;top:0}.CodeMirror-dialog-bottom{border-top:1px solid #555;bottom:0}.CodeMirror-dialog input{background:#080808;color:#fff;border:1px solid #777;padding:4px}.CodeMirror-dialog button{background:transparent;border:1px solid #888;color:#fff;margin:0 5px;padding:3px 8px}.CodeMirror-searching{background:#5558;outline:1px solid #aaa}.CodeMirror-search-match{background:#888}
@media(max-width:680px){.workspace-dialog{padding:14px}.layer-fields{grid-template-columns:1fr}.layer-shortcut{grid-template-columns:1fr 1fr}.layer-shortcut input[data-short-field=path]{grid-column:1/-1}.workspace-search-bar{flex-direction:column}}

.layer-editor-actions{display:flex;justify-content:flex-end;margin-bottom:16px}.organ-actions{flex-wrap:wrap}

.workspace-dialog input::file-selector-button{background:transparent;color:#eee;border:1px solid #888;border-radius:3px;padding:5px 10px;margin-right:12px;cursor:pointer}.workspace-dialog input[type=search]::-webkit-search-cancel-button{filter:grayscale(1)}

.terminal-block-image{display:block;white-space:normal;line-height:0;padding:8px 6px;overflow-x:auto;max-width:100%;box-sizing:border-box}.terminal-block-image svg{display:block;max-width:none;flex-shrink:0}

.evidence-channel{font-size:11px;line-height:1.7;color:#bbb;margin:5px 0 8px;overflow-wrap:anywhere}.evidence-content{color:var(--ink-white);font-size:12.5px}.evidence-text{white-space:pre-wrap;overflow-wrap:anywhere}.evidence-image{display:inline-block;vertical-align:top;margin:8px 12px 8px 0;max-width:100%}.evidence-image button{display:block;background:#080808;border:1px solid #555;border-radius:6px;padding:5px;cursor:zoom-in;max-width:100%;min-width:40px;min-height:32px}.evidence-image img{display:block;width:auto;max-width:min(280px,100%);max-height:220px;object-fit:contain}.evidence-image img[hidden]{display:none}.evidence-image figcaption{font-size:11px;line-height:1.7;color:#aaa;max-width:280px;margin-top:6px}.evidence-image-dialog{background:#101113;color:#eee;border:1px solid #777;border-radius:10px;padding:16px;max-width:94vw;max-height:92dvh;margin:auto}.evidence-image-dialog::backdrop{background:#000d}.evidence-image-dialog>button{display:block;margin:0 0 12px auto}.evidence-image-dialog>img{display:block;max-width:calc(94vw - 34px);max-height:calc(92dvh - 90px);object-fit:contain}.evidence-image-dialog>img[hidden]{display:none}
