/* See The Flow — Flow Checker styles. Loaded by functions.php only on pages that contain the tool. All classes start with "fc-". */
.fc{--fc-primary:var(--wp--preset--color--primary,#0B6A87);--fc-primary-dark:var(--wp--preset--color--primary-dark,#084C61);--fc-ink:var(--wp--preset--color--contrast,#0F1B2D);--fc-muted:var(--wp--preset--color--muted,#556476);--fc-border:var(--wp--preset--color--border,#DCE4EA);--fc-surface:var(--wp--preset--color--surface,#F4F8FA);--fc-good:#1E7A4C;--fc-ok:#9A6200;--fc-bad:#B3261E;color:var(--fc-ink);font-size:1rem;line-height:1.6}
.fc *,.fc *::before,.fc *::after{box-sizing:border-box}
.fc-box{background:#fff;border:1px solid var(--fc-border);border-radius:14px;padding:1.5rem}
.fc-label{display:block;font-weight:700;margin:0 0 .4rem}
.fc-hint{color:var(--fc-muted);font-size:.875rem;font-weight:400}
.fc-text,.fc-kw{width:100%;border:1px solid var(--fc-border);border-radius:10px;font:inherit;padding:.85rem 1rem;color:inherit;background:#fff}
.fc-text{min-height:240px;resize:vertical}
.fc-text:focus,.fc-kw:focus{outline:2px solid var(--fc-primary);outline-offset:1px;border-color:var(--fc-primary)}
.fc-row{display:flex;flex-wrap:wrap;gap:1rem;align-items:flex-end;margin-top:1rem}
.fc-kwwrap{flex:1 1 260px}
.fc-actions{display:flex;gap:.6rem;flex-wrap:wrap}
.fc-btn{min-height:46px;border-radius:8px;border:2px solid var(--fc-primary);background:var(--fc-primary);color:#fff;font:inherit;font-weight:700;padding:0 1.3rem;cursor:pointer}
.fc-btn:hover{background:var(--fc-primary-dark);border-color:var(--fc-primary-dark)}
.fc-btn--ghost{background:transparent;color:var(--fc-primary)}
.fc-btn--ghost:hover{background:var(--fc-surface);color:var(--fc-primary-dark)}
.fc-count{color:var(--fc-muted);font-size:.875rem;margin-top:.5rem}
.fc-private{color:var(--fc-muted);font-size:.8125rem;margin:.75rem 0 0}
.fc-results{margin-top:1.5rem}
.fc-msg{background:var(--fc-surface);border-radius:10px;padding:1rem 1.25rem;margin:0}
.fc-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1rem}
.fc-card{border:1px solid var(--fc-border);border-radius:14px;padding:1.25rem;background:#fff}
.fc-card h3{margin:0;font-size:.8125rem;letter-spacing:.1em;text-transform:uppercase;color:var(--fc-muted)}
.fc-score{display:flex;align-items:baseline;gap:.5rem;margin:.35rem 0 .1rem}
.fc-num{font-size:2.4rem;font-weight:800;line-height:1}
.fc-of{color:var(--fc-muted);font-size:.9rem}
.fc-verdict{font-weight:700;margin:0 0 .6rem}
.fc-good{color:var(--fc-good)}
.fc-ok{color:var(--fc-ok)}
.fc-bad{color:var(--fc-bad)}
.fc-bar{height:8px;border-radius:99px;background:var(--fc-surface);overflow:hidden;margin-bottom:.8rem}
.fc-bar span{display:block;height:100%;border-radius:99px}
.fc-list{list-style:none;padding:0;margin:0;font-size:.9rem}
.fc-list li{display:flex;justify-content:space-between;gap:1rem;padding:.3rem 0;border-top:1px solid var(--fc-surface)}
.fc-list b{font-weight:700;white-space:nowrap}
.fc-section{margin-top:1.75rem}
.fc-section h3{font-size:1.15rem;margin:0 0 .6rem}
.fc-tips{margin:0;padding-left:1.25rem}
.fc-tips li{margin:.35rem 0}
.fc-legend{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;font-size:.8125rem;color:var(--fc-muted);margin:0 0 .75rem}
.fc-legend span{display:inline-flex;align-items:center;gap:.4rem}
.fc-sw{display:inline-block;width:14px;height:14px;border-radius:3px}
.fc-view{border:1px solid var(--fc-border);border-radius:12px;padding:1.25rem;background:#fff;max-height:480px;overflow:auto;white-space:pre-wrap;word-wrap:break-word}
/* Highlight colours. The legend uses these same classes, so it always matches the text. */
.fc-long{background:#FFF3B0}
.fc-vlong{background:#FFCFCF}
.fc-pass{text-decoration:underline wavy #2563EB;text-decoration-thickness:1.5px;text-underline-offset:4px;text-decoration-skip-ink:none}
.fc-kwmark{background:#C9F0D9;border-radius:3px;padding:0 .1em}
.fc-note{color:var(--fc-muted);font-size:.8125rem;margin-top:1rem}
@media (max-width:600px){.fc-box{padding:1rem}
.fc-num{font-size:2rem}
}

/* ---- v2: word-level suggestions ---- */
.fc-i,.fc-s{cursor:pointer}
.fc-i{border-radius:3px}
.fc-i-hard{background:#F1E6FB;border-bottom:2px dotted #7A3EB1}
.fc-i-wordy,.fc-i-verb{box-shadow:inset 0 0 0 1.5px #D97706;background:#FFF7ED;padding:0 .1em}
.fc-i-filler{color:#6B625A;text-decoration:line-through;text-decoration-color:#8C8177;text-decoration-thickness:1.5px}
.fc-i:hover,.fc-s:hover{filter:brightness(.94)}
.fc-legend > span{display:inline-block;padding:.05rem .35rem;color:var(--fc-ink);line-height:1.6}
.fc-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.6rem;margin:0 0 1rem;padding:.6rem .8rem;border-radius:10px;background:var(--fc-surface);font-weight:700}
.fc-toolbar-btns{display:flex;flex-wrap:wrap;gap:.5rem}
.fc-btn--sm{min-height:38px;padding:0 .9rem;font-size:.875rem}
.fc-view:focus-visible{outline:2px solid var(--fc-primary);outline-offset:2px}
.fc-fixes{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:.5rem}
.fc-fixes li{display:block;border:1px solid var(--fc-border);border-radius:10px;padding:.55rem .75rem;background:#fff;font-size:.9375rem;line-height:1.5}
.fc-fixes li > span{margin-right:.35rem}
.fc-fixes li.fc-note{border:0;background:none;padding:0}
.fc-fix-type{display:table;margin-bottom:.3rem;font-size:.6875rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;border-radius:99px;padding:.1rem .5rem;background:var(--fc-surface);color:var(--fc-muted)}
.fc-fix-hard{background:#EFE4F8;color:#5B2C86}
.fc-fix-wordy,.fc-fix-verb{background:#FFE2C2;color:#7A3D00}
.fc-fix-filler{background:#EEEAE6;color:#5A524B}
.fc-fix-word{font-weight:600}
.fc-fix-arrow{color:var(--fc-muted)}
.fc-fix-to{color:var(--fc-good);font-weight:700}
.fc-fix-n{float:right;color:var(--fc-muted);font-size:.8125rem}
.fc-pop{position:absolute;z-index:20;width:max-content;max-width:min(280px,90%);white-space:normal;background:var(--fc-ink);color:#fff;font-size:.8125rem;line-height:1.4;padding:.45rem .65rem;border-radius:8px;box-shadow:0 6px 20px rgba(0,0,0,.18);pointer-events:none}
.fc-view{position:relative}
