.fm-card { padding: 28px; }
.fm-title-bar { background: linear-gradient(135deg, var(--site-dark) 0%, var(--site-dark-2) 100%); border-radius: 10px 10px 0 0; padding: 18px 24px; margin: -28px -28px 24px; }
.fm-title-bar h1 { color: #fff; margin: 0; font-size: 1.4em; text-align: center; }

.fm-options { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 16px; padding: 14px 16px; background: #f7f8fa; border: 1px solid #eee; border-radius: 8px; }
.fm-option-group { display: flex; align-items: center; gap: 8px; font-size: .86em; font-weight: 600; color: #374151; }
.fm-option-group input[type="range"] { width: 130px; accent-color: var(--site-dark); }
.fm-checkbox { display: flex; align-items: center; gap: 8px; font-size: .86em; font-weight: 600; color: #374151; cursor: pointer; user-select: none; }
.fm-checkbox input { accent-color: var(--site-dark); width: 15px; height: 15px; cursor: pointer; }

#fmInput { width: 100%; min-height: 200px; border: 1px solid #ddd; border-radius: 8px; padding: 14px 16px; font-family: "Courier New", monospace; font-size: .9em; line-height: 1.6; resize: vertical; box-sizing: border-box; outline: none; margin-bottom: 18px; }
#fmInput:focus { border-color: var(--site-light); }

.fm-summary { font-size: .88em; color: #6b7280; margin-bottom: 14px; }
.fm-summary strong { color: var(--site-dark); }

.fm-groups { display: flex; flex-direction: column; gap: 12px; }
.fm-group { border: 1px solid #eee; border-radius: 10px; overflow: hidden; }
.fm-group-head { background: #f7f8fa; padding: 10px 16px; font-size: .84em; font-weight: 700; color: #374151; display: flex; justify-content: space-between; }
.fm-group-lines { list-style: none; margin: 0; padding: 0; }
.fm-group-lines li { padding: 9px 16px; border-top: 1px solid #f0f1f3; font-family: "Courier New", monospace; font-size: .88em; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.fm-line-similarity { font-size: .78em; color: var(--site-accent); font-weight: 700; flex-shrink: 0; }
.fm-line-exact { color: var(--site-danger); }

.fm-empty { color: #6b7280; font-size: .9em; padding: 20px 0; text-align: center; }
