.regex-tool{gap:20px;display:grid}.regex-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px;display:flex}.regex-heading h2{margin:0}.regex-example-label{flex-wrap:wrap;align-items:center;gap:9px;font-size:13px;display:flex}.regex-tool textarea,.regex-tool input[type=text]{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:14px}.regex-tool #regex-pattern{min-height:80px}.regex-flags{border:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;min-width:0;margin:20px 0;padding:0;display:grid}.regex-flags legend{padding:0 0 10px;font-size:14px;font-weight:650}.regex-flags label{cursor:pointer;align-items:center;gap:8px;font-size:13px;display:flex}.regex-flags input{flex-shrink:0;width:17px;height:17px}.regex-flags strong{font-family:ui-monospace,Consolas,monospace}.regex-highlight{white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid var(--line);background:var(--solid);border-radius:10px;max-height:420px;padding:15px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:14px;line-height:1.9;overflow:auto}.regex-highlight mark{color:#3d276f;background:#e3dafa;border-bottom:2px solid #987bcf;padding:1px 0}.regex-highlight mark:nth-of-type(2n){color:#20593e;background:#ccebdc;border-color:#65a989}.regex-matches{max-height:480px;margin-top:18px;overflow:auto}.regex-matches .regex-match{border:1px solid var(--line);background:var(--solid);overflow-wrap:anywhere;border-radius:10px;margin:8px 0;padding:10px 13px}.regex-match summary{white-space:pre-wrap;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px}.regex-match p{white-space:pre-wrap;margin:8px 0;font-size:12px}.regex-help ol{padding-left:22px;font-size:14px;line-height:1.9}.regex-help code{overflow-wrap:anywhere}:root[data-style=midnight] .regex-highlight mark{color:#f3e9ff;background:#60478a;border-color:#b89cdd}:root[data-style=midnight] .regex-highlight mark:nth-of-type(2n){color:#d4ffe8;background:#2a654c;border-color:#80c6a2}@media (max-width:650px){.regex-flags{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:380px){.regex-flags{grid-template-columns:1fr}.regex-example-label{width:100%}}
