/* FingerWPM audit remediation v45 — accessibility, responsive profile, progress discovery, and bounded top spacing. */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
#words-container:focus-visible{outline:3px solid color-mix(in srgb,var(--accent) 55%,transparent);outline-offset:5px}
.result-progress-card{margin-top:28px;padding:18px;border:1px solid var(--line);border-radius:14px;background:color-mix(in srgb,var(--paper) 76%,transparent);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.result-progress-card[hidden]{display:none}.result-progress-kicker{display:block;color:var(--accent);font-size:10px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.result-progress-card h3{margin:4px 0 6px;font-size:17px}.result-progress-card p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.result-progress-stats{display:flex;flex-wrap:wrap;gap:8px 14px;margin-top:10px;color:var(--muted);font-size:11px}.result-progress-stats b{color:var(--text)}.result-progress-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.result-progress-actions button,.result-progress-actions a{min-height:38px;padding:0 12px;border-radius:10px;font:800 11px/1 system-ui,sans-serif;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.result-progress-actions button{border:0;background:var(--accent);color:#fff}.result-progress-actions a{border:1px solid var(--line);color:var(--text);background:transparent}.result-progress-status{grid-column:1/-1;min-height:0!important;color:var(--good)!important}
/* The generic text-input rule must never make hidden toggle checkboxes 100% wide. */
.profile-page-body{overflow-x:clip}.profile-form .profile-toggle-row{grid-template-columns:minmax(0,1fr) 42px!important;max-width:100%}.profile-form .profile-toggle-row input[type="checkbox"]{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;max-width:1px!important;min-width:1px!important;padding:0!important;margin:0!important;border:0!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;overflow:hidden!important;white-space:nowrap!important}.profile-form .profile-toggle-row input[type="checkbox"]:focus-visible+i{outline:3px solid rgba(49,87,213,.28);outline-offset:3px}.profile-form input:not([type="checkbox"]),.profile-form textarea{max-width:100%}.profile-privacy-controls{min-width:0;max-width:100%;overflow:hidden}.profile-dashboard-shell{max-width:calc(100% - 24px)}
.profile-auth-state{width:min(640px,calc(100% - 36px));margin:64px auto;min-height:220px;display:grid;place-items:center;align-content:center;gap:10px;text-align:center;padding:28px;border:1px solid var(--pf-line,#dfe5ef);border-radius:18px;background:#fff;color:var(--pf-ink,#172033);font-family:Inter,system-ui,sans-serif}.profile-auth-state[hidden]{display:none}.profile-auth-state strong{font-size:20px}.profile-auth-state span{max-width:500px;color:var(--pf-muted,#677489);font-size:13px;line-height:1.6}.profile-auth-state button{margin-top:8px;border:0;border-radius:10px;background:#3157d5;color:#fff;padding:11px 16px;font-weight:800}.profile-auth-pending .profile-dashboard-shell{display:none!important}
/* Keep room for floating ads, but do not push the primary tool below a large blank band. */
@media (min-width:821px){body#top>.app{margin-top:84px!important}}@media (min-width:601px) and (max-width:820px){body#top>.app{margin-top:72px!important}}@media (max-width:600px){body#top>.app{margin-top:56px!important}.result-progress-card{grid-template-columns:1fr}.result-progress-actions{justify-content:flex-start}.profile-auth-state{margin:36px auto;min-height:190px}}
.result-insight-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.result-insight-grid[hidden]{display:none}.result-insight-card{min-width:0;border:1px solid #dfe6ef;border-radius:16px;background:#fbfcfe;padding:18px;color:#172033}.result-insight-kicker{display:block;margin-bottom:5px;color:#3157d5;font-size:10px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.result-insight-card h3{margin:0 0 7px;font-size:17px}.result-insight-card>p{margin:0;color:#677489;font-size:12px;line-height:1.55}.practice-coach-weaknesses{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0 10px}.practice-coach-weaknesses span{display:inline-flex;align-items:center;gap:5px;border-radius:999px;background:#eef3ff;color:#274cb8;padding:5px 9px;font-size:11px;font-weight:800}.practice-coach-preview{min-height:42px;margin:0 0 12px;padding:10px 12px;border:1px dashed #ccd7e8;border-radius:11px;background:#fff;color:#46546a;font:600 12px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.practice-coach-card button{border:0;border-radius:10px;background:#3157d5;color:#fff;padding:10px 13px;font-weight:800;cursor:pointer}.practice-coach-card button[hidden]{display:none}.benchmark-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px}.benchmark-metrics[hidden]{display:none}.benchmark-metrics span{min-width:0;border-radius:11px;background:#fff;padding:10px 8px;text-align:center;border:1px solid #e6ebf2}.benchmark-metrics b{display:block;font-size:18px;color:#233962}.benchmark-metrics small{display:block;margin-top:2px;color:#7c899b;font-size:9px;line-height:1.25}.result-insight-status{margin-top:10px!important;font-size:10px!important}.theme-dark .result-insight-card{background:#172131;border-color:#334258;color:#edf3fb}.theme-dark .result-insight-card>p,.theme-dark .result-insight-status{color:#aebbcf}.theme-dark .practice-coach-preview,.theme-dark .benchmark-metrics span{background:#101826;border-color:#334258;color:#d9e3f1}.theme-dark .practice-coach-weaknesses span{background:#213259;color:#b8caff}.theme-dark .benchmark-metrics b{color:#edf3fb}@media(max-width:760px){.result-insight-grid{grid-template-columns:1fr}.benchmark-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
