.rs-find-bar { display: flex; flex-direction: column; gap: 6px; padding: 8px 10px; background: var(--rs-bg-elevated); color: var(--rs-text); font: 13px/1.4 var(--rs-font-ui); } .rs-find-row, .rs-find-actions, .rs-find-field, .rs-find-options { display: flex; align-items: center; gap: 6px; min-width: 0; } .rs-find-row, .rs-find-options { flex-wrap: wrap; } .rs-find-actions { flex: 0 0 auto; } .rs-find-field { flex: 1 1 180px; min-height: 30px; padding: 0 8px; border: 1px solid var(--rs-border); border-radius: var(--rs-control-radius); background: var(--rs-bg); color: var(--rs-text-dim); } .rs-find-field:focus-within { border-color: var(--rs-accent); } .rs-find-field:has([aria-invalid="true"]) { border-color: var(--rs-error); } .rs-find-field input { width: 100%; min-width: 0; padding: 5px 0; border: 0; outline: none; background: transparent; color: var(--rs-text); font: inherit; } .rs-find-field input::placeholder { color: var(--rs-text-dim); } .rs-find-button { min-height: 28px; padding: 3px 9px; border: 1px solid var(--rs-border); border-radius: var(--rs-control-radius); background: transparent; color: var(--rs-text); font: inherit; white-space: nowrap; } .rs-find-button:hover:not(:disabled) { background: var(--rs-hover-bg); color: var(--rs-accent); } .rs-find-options { gap: 4px 14px; color: var(--rs-text-dim); font-size: 12px; } .rs-find-options label { display: inline-flex; align-items: center; gap: 5px; min-height: 24px; cursor: pointer; } .rs-find-options input { margin: 0; accent-color: var(--rs-accent); } .rs-find-error { color: var(--rs-error); } :is(.live-writer, .source-editor) .cm-panels.cm-panels-top { border-bottom: 1px solid var(--rs-border); } :is(.live-writer, .source-editor) .cm-searchMatch { background: var(--rs-item-selection-bg); } :is(.live-writer, .source-editor) .cm-searchMatch-selected { background: var(--rs-selection); outline: 1px solid var(--rs-accent); }