.dialog { max-height: min(86vh, calc(90vh - 24px)); } .dialog > :global([data-dialog-body]) { display: flex; flex-direction: column; overflow: hidden; } .root { flex: 1; display: flex; flex-direction: column; min-height: 0; } .header { flex: none; display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 8px 0 12px; color: var(--fg-subtle); } .title { color: var(--fg-emphasis); font-weight: 500; } .status { display: inline-flex; align-items: center; gap: 6px; color: var(--fg-faint); font-size: var(--fs-small); font-variant-numeric: tabular-nums; } .spacer { flex: 1; } .mask { display: flex; align-items: center; height: var(--h-control-small); border: 1px solid var(--border-strong); border-radius: var(--radius-small); padding-left: 6px; } .maskOff { opacity: 0.6; } .maskInput { width: 120px; background: none; border: 0; outline: none; color: var(--fg); font-family: var(--font-mono); font-size: var(--fs-small); } .fields { flex: none; display: flex; flex-direction: column; gap: 6px; padding: 0 12px 8px; } .field { width: 100%; } .field input { font-family: var(--font-mono); font-size: var(--fs-code); } .error { color: var(--danger); font-size: var(--fs-small); padding-left: 2px; } .scopeRow { flex: none; display: flex; align-items: center; gap: 12px; padding: 0 12px 0 6px; border-bottom: 1px solid var(--border-popup); } .scopeDetail { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: 4px; } .dirInput { width: 100%; max-width: 420px; height: var(--h-control-small); padding: 0 6px; background: var(--bg-input); border: 1px solid var(--border-strong); border-radius: var(--radius-small); outline: none; color: var(--fg); font-family: var(--font-mono); font-size: var(--fs-small); } .dirInput:focus { border-color: var(--accent); } .results { flex: 0 1 242px; min-height: 0; height: 242px; display: flex; flex-direction: column; padding: 2px 0; font-family: var(--font-mono); font-weight: var(--fw-code); } .results > * { flex: 1; } .rowText { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; } .rowFile { flex: none; max-width: 40%; overflow: hidden; text-overflow: ellipsis; color: var(--fg-subtle); font-family: var(--font-ui); } .rowFileActive { color: var(--fg-muted); } .rowLine { color: var(--fg-faint); font-variant-numeric: tabular-nums; } .previewHeader { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 24px; padding: 0 12px; border-top: 1px solid var(--border-popup); border-bottom: 1px solid var(--border-popup); font-size: var(--fs-small); color: var(--fg-subtle); } .previewPath { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .previewBox { flex: 0 1 220px; min-height: 0; height: 220px; display: flex; flex-direction: column; } .footer { flex: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; min-height: 38px; padding: 6px 12px; border-top: 1px solid var(--border-popup); } .footer > button, .footer > label { flex: none; white-space: nowrap; } .hint { flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fg-faint); font-size: var(--fs-small); } .rowDone { opacity: 0.55; } .rowExcluded { opacity: 0.55; text-decoration: line-through; }