/* All new selectors are scoped to the tool. No changes to page typography, header or footer. */
.fr{font-family:"Plus Jakarta Sans","Inter",system-ui,-apple-system,"Segoe UI",sans-serif;color:#334155;font-size:14px}
.fr *{box-sizing:border-box}
.fr [hidden]{display:none!important}
.fr-shell{border:1px solid #dbe3ef;background:linear-gradient(140deg,#f7faff,#fff 52%,#f7f4ff);border-radius:21px;padding:14px;box-shadow:0 9px 23px rgba(15,23,42,.055)}
.fr-workspace{display:grid;grid-template-columns:minmax(0,1.07fr) minmax(0,.93fr);gap:14px;align-items:start}
.fr-left,.fr-right{border:1px solid #e2e8f0;background:#fff;border-radius:17px;min-width:0;padding:16px}
.fr-top,.fr-preview-head,.fr-export-head{display:flex;justify-content:space-between;gap:12px;align-items:start}
.fr-top h2{font-size:19px;color:#0f172a;font-weight:800;letter-spacing:-.03em;line-height:1.25}
.fr-top p{font-size:12px;color:#64748b;margin-top:5px;line-height:1.45}
.fr-spark{font-size:10px;background:#eff6ff;border:1px solid #dbeafe;border-radius:99px;color:#1d4ed8;padding:7px 9px;font-weight:800;white-space:nowrap}
.fr-modes{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:14px 0 10px}
.fr-modes button{min-width:0;border:1px solid #dbe3f0;border-radius:10px;background:#f8fafc;padding:9px 3px;font-size:11px;font-weight:800;color:#475569;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:5px}
.fr-modes button[aria-pressed=true]{background:#2563eb;border-color:#2563eb;color:white}
.fr-selection{margin-bottom:10px;min-height:64px}
.fr-selection>div:not(.fr-library){background:#f8fafc;border:1px solid #e2e8f0;padding:11px 12px;border-radius:10px}
.fr-selection #fr-auto{min-height:64px;display:flex;align-items:center}
.fr-selection #fr-auto p{font-size:12px;line-height:1.6;color:#475569}
.fr-selection #fr-auto i{color:#2563eb;margin-right:7px}
.fr label{display:block;font-weight:700;font-size:11px;color:#334155;margin-bottom:5px}
.fr input[type=text],.fr input[type=search],.fr input[type=number],.fr select,.fr input[type=file]{border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#0f172a;padding:8px 10px;min-width:0;width:100%;font:inherit;font-size:12px}
.fr input:focus-visible,.fr select:focus-visible,.fr button:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}
.fr small{display:block;color:#64748b;font-size:11px;margin-top:5px}
.fr-library{border:1px solid #e2e8f0;border-radius:10px;padding:9px;background:#f8fafc}
.fr-filters{display:grid;grid-template-columns:minmax(0,1fr) 144px;gap:6px}
.fr-library-head{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#64748b;margin:7px 1px;font-weight:700}
.fr-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:4px;max-height:114px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.fr-chip{border:1px solid #e2e8f0;display:flex;align-items:center;justify-content:center;background:#fff;border-radius:7px;height:34px;min-width:0;cursor:pointer;padding:2px;color:#334155;font-size:20px}
.fr-chip:hover,.fr-chip[aria-pressed=true]{background:#dbeafe;border-color:#3b82f6}
.fr-chip svg{max-width:20px;max-height:20px}
.fr-chip .emoji{font-size:20px;line-height:1}
.fr-more{display:block;margin:7px auto 0;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:5px 11px;font-size:11px;cursor:pointer}
.fr-random{width:100%;border:0;border-radius:11px;padding:14px 10px;background:linear-gradient(105deg,#2563eb,#7c3aed,#ec4899);color:white;font-size:15px;letter-spacing:.02em;font-weight:900;display:flex;align-items:center;justify-content:center;gap:11px;cursor:pointer;box-shadow:0 7px 16px rgba(79,70,229,.23)}
.fr-random:hover{filter:brightness(1.05)}
.fr-result{display:flex;gap:9px;align-items:center;margin-top:10px;padding:7px 9px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px}
.fr-result-symbol{width:34px;height:34px;background:#dbeafe;display:flex;align-items:center;justify-content:center;flex:none;border-radius:9px;color:#1d4ed8;font-size:19px;overflow:hidden}
.fr-result-symbol svg{width:23px;height:23px}
.fr-result-symbol img{width:100%;height:100%;object-fit:contain}
.fr-result>div{min-width:0}.fr-result strong{font-size:12px;font-weight:800;color:#0f172a;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fr-result span:not(.fr-result-symbol){display:block;font-size:11px;color:#64748b;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fr-status{min-height:14px;font-size:11px;color:#64748b;margin-top:5px}
.fr-preview-head{align-items:center;margin-bottom:10px}.fr-preview-head strong,.fr-export-head strong{font-weight:800;font-size:14px;color:#0f172a}.fr-preview-head>span{font-size:10px;color:#2563eb;background:#eff6ff;border-radius:20px;padding:4px 8px;font-weight:800}
.fr-preview-row{display:grid;grid-template-columns:minmax(0,1fr) 155px;gap:12px}
.fr-checker{min-height:195px;border-radius:13px;background-color:#f8fafc;background-image:linear-gradient(45deg,#e2e8f0 25%,transparent 25%),linear-gradient(-45deg,#e2e8f0 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e2e8f0 75%),linear-gradient(-45deg,transparent 75%,#e2e8f0 75%);background-size:18px 18px;background-position:0 0,0 9px,9px -9px,-9px 0;display:flex;align-items:center;justify-content:center;border:1px solid #e2e8f0}
.fr-checker img{display:block;width:176px;height:176px;max-width:90%;object-fit:contain}
.fr-browser-previews{display:flex;flex-direction:column;justify-content:center;gap:8px;min-width:0}
.fr-browser{padding:10px 8px;border-radius:10px;display:flex;align-items:center;gap:7px;min-width:0;font-size:10px;font-weight:700}
.fr-browser img{width:20px;height:20px;object-fit:contain;flex:none}.fr-browser span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fr-browser-light{background:#e2e8f0;color:#334155}.fr-browser-dark{background:#1e293b;color:#fff}
.fr-smalls{display:flex;gap:8px;align-items:center;justify-content:center;font-size:11px;color:#64748b}.fr-smalls img{width:32px;height:32px}
.fr-export{border-top:1px solid #e2e8f0;margin-top:13px;padding-top:12px}
.fr-export-head{align-items:center;margin-bottom:8px}.fr-export-head span{font-size:10px;color:#64748b}
.fr-pack{width:100%;padding:9px 10px;border-radius:10px;color:#fff;background:#2563eb;font-weight:800;font-size:12px;border:0;cursor:pointer}
.fr-export-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:7px 0}
.fr-export-grid button{padding:9px 2px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#334155;font-size:11px;font-weight:800;cursor:pointer}
.fr-export-grid button:hover{background:#eff6ff;color:#1d4ed8;border-color:#93c5fd}
.fr button:disabled{opacity:.65;cursor:wait}
.fr-custom-label{margin:3px 0 4px}.fr input#fr-custom-size{max-width:125px;padding:6px 9px}
@media(max-width:980px){.fr-workspace{grid-template-columns:1fr}.fr-shell{padding:10px}}
@media(max-width:550px){.fr-left,.fr-right{padding:12px}.fr-modes{grid-template-columns:repeat(5,minmax(0,1fr))}.fr-modes button{flex-direction:column;gap:4px}.fr-top{flex-wrap:wrap}.fr-preview-row{grid-template-columns:minmax(0,1fr) 126px}.fr-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.fr-filters{grid-template-columns:minmax(0,1fr) 120px}}

/* Explicit readable UI font: never inherit the page's Times/serif fallback. */
.fr button,.fr input,.fr select,.fr textarea,.fr label,.fr strong,.fr p,.fr span,.fr h2,.fr h3{font-family:inherit}
.fr-result strong{font-family:"Plus Jakarta Sans","Inter",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:13px;font-weight:800;letter-spacing:-.015em}
.fr-result span:not(.fr-result-symbol){font-family:"Plus Jakarta Sans","Inter",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:11px}
