/* pages.css — Classes globales unifiees pour toutes les pages de contenu
 * Prefixe : rm-p (RoastMyUrl Pages)
 * Reference : ia-responsable.php (structure validee)
 * Chaque page peut ajouter des styles specifiques dans son <style> inline
 */

/* ===== PAGE WRAPPER ===== */
.rm-p-page {
    background-color: var(--rm-bg);
    color: var(--rm-text);
    font-family: var(--rm-font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.rm-p-page * { box-sizing: border-box; }
.rm-p-page a { color: inherit; text-decoration: none; transition: 0.2s; }
.rm-p-page img, .rm-p-page video, .rm-p-page iframe { max-width: 100%; height: auto; }
.rm-p-page pre { overflow-x: auto; max-width: 100%; }
.rm-p-page h1, .rm-p-page h2, .rm-p-page h3, .rm-p-page h4 { overflow-wrap: break-word; word-break: break-word; }

.rm-p-shell {
    max-width: 1100px;
    margin: 0 auto;
    padding: 160px 20px 100px;
}

/* ===== HERO ===== */
.rm-p-hero {
    position: relative;
    border: 1px solid var(--rm-border);
    border-radius: 8px;
    background: var(--rm-surface);
    padding: 60px 35px;
    text-align: center;
    margin-bottom: 30px;
    overflow: hidden;
}
.rm-p-hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--rm-red), transparent);
}

.rm-p-kicker {
    display: inline-block;
    font-family: var(--rm-font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--rm-text-muted);
    border: 1px solid var(--rm-border);
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    background: var(--rm-bg);
}

.rm-p-hero h1 {
    margin: 0 0 15px;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -1.2px;
    color: var(--rm-text);
    line-height: 1.1;
}

.rm-p-hero p {
    margin: 0 auto;
    max-width: 800px;
    color: var(--rm-text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

.rm-p-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}
.rm-p-pill {
    font-family: var(--rm-font-mono);
    font-size: 0.7rem;
    padding: 6px 12px;
    border-radius: 4px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--rm-border);
    color: var(--rm-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rm-p-hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.rm-p-meta {
    margin-top: 30px;
    color: var(--rm-text-muted);
    font-size: 0.8rem;
    font-family: var(--rm-font-mono);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== LAYOUT SIDEBAR + MAIN ===== */
.rm-p-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.rm-p-aside {
    position: sticky;
    top: 80px;
    display: grid;
    gap: 20px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.rm-p-box {
    border: 1px solid var(--rm-border);
    background: var(--rm-surface);
    border-radius: 8px;
    padding: 20px;
}

/* TOC */
.rm-p-toc h3,
.rm-p-actions h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--rm-text-muted);
    font-weight: 700;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--rm-border);
    padding-bottom: 10px;
}
.rm-p-toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.rm-p-toc a {
    display: block;
    color: var(--rm-text-muted);
    padding: 8px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: 0.2s;
}
.rm-p-toc a:hover { color: var(--rm-text); background: rgba(255,255,255,0.03); }
.rm-p-toc a.active {
    color: var(--rm-text);
    background: rgba(255,255,255,0.05);
    border-left: 2px solid var(--rm-red);
    font-weight: 500;
}

.rm-p-toc-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--rm-border);
    padding-bottom: 10px;
}
.rm-p-toc-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--rm-text);
}
.rm-p-toc-sub {
    color: var(--rm-text-muted);
    font-size: 0.75rem;
    font-family: var(--rm-font-mono);
}

.rm-p-search {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid var(--rm-border);
    background: var(--rm-bg);
    color: var(--rm-text);
    outline: none;
    margin-bottom: 15px;
    font-family: var(--rm-font-sans);
    font-size: 0.9rem;
    transition: 0.2s;
}
.rm-p-search:focus { border-color: var(--rm-red); }

.rm-p-stack { display: grid; gap: 10px; }

/* ===== BUTTONS ===== */
.rm-p-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: 0.2s;
    border: 1px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
}
.rm-p-btn:hover { transform: translateY(-1px); }

.rm-p-btn-primary { background: var(--rm-cta-bg, linear-gradient(to right, #C41E3A, #9B1B30)); color: #fff; border: 1px solid var(--rm-cta-border, #7A1428); }
.rm-p-btn-primary:hover { background: var(--rm-cta-hover, #8A1525); box-shadow: 0 4px 15px rgba(196,30,58,0.35); }

.rm-p-btn-secondary { background: var(--rm-surface-light); color: var(--rm-text); border-color: var(--rm-border); }
.rm-p-btn-secondary:hover { background: #21262d; border-color: var(--rm-text-muted); }

.rm-p-btn-ghost { background: transparent; color: var(--rm-text-muted); border-color: var(--rm-border); }
.rm-p-btn-ghost:hover { color: var(--rm-text); background: rgba(255,255,255,0.05); }

.rm-p-btn-paypal { background: var(--rm-yellow); color: #000; font-weight: 700; }
.rm-p-btn-paypal:hover { background: #b5821c; }

.rm-p-btn-soft {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 6px;
    background: var(--rm-surface-light);
    border: 1px solid var(--rm-border);
    color: var(--rm-text);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: 0.2s;
}
.rm-p-btn-soft:hover { background: #21262d; border-color: var(--rm-text-muted); transform: translateY(-1px); }

.rm-p-mini-btn {
    background: transparent;
    color: var(--rm-text-muted);
    border: 1px solid var(--rm-border);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: var(--rm-font-mono);
    cursor: pointer;
    transition: 0.2s;
}
.rm-p-mini-btn:hover { color: var(--rm-text); border-color: var(--rm-text-muted); }

/* ===== SECTIONS ===== */
.rm-p-section {
    padding: 50px 0;
    border-bottom: 1px solid var(--rm-border);
    scroll-margin-top: 60px;
}
.rm-p-section:last-of-type { border-bottom: none; }

.rm-p-section h2 {
    margin: 0 0 20px 0;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--rm-text);
    letter-spacing: -0.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.rm-p-section p {
    color: var(--rm-text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}
.rm-p-section strong { color: var(--rm-text); }

.rm-p-section-intro {
    font-size: 1.05rem;
    color: var(--rm-text);
    margin-bottom: 30px;
}

/* ===== BADGES ===== */
.rm-p-badge {
    display: inline-block;
    font-family: var(--rm-font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 15px;
}
.rm-p-badge-blue { color: var(--rm-blue); background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.3); }
.rm-p-badge-green { color: var(--rm-green); background: rgba(46, 160, 67, 0.1); border: 1px solid rgba(46, 160, 67, 0.3); }
.rm-p-badge-amber { color: var(--rm-yellow); background: rgba(210, 153, 34, 0.1); border: 1px solid rgba(210, 153, 34, 0.3); }
.rm-p-badge-red { color: var(--rm-red); background: rgba(248, 81, 73, 0.1); border: 1px solid rgba(248, 81, 73, 0.3); }

/* ===== GRIDS & CARDS ===== */
.rm-p-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 15px; margin: 25px 0; }
.rm-p-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 15px; margin: 25px 0; }
.rm-p-grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }

.rm-p-card {
    background: var(--rm-surface-light);
    border: 1px solid var(--rm-border);
    border-radius: 8px;
    padding: 24px;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.rm-p-card h4 { color: var(--rm-text); font-size: 0.95rem; margin-bottom: 10px; font-weight: 600; }
.rm-p-card p { font-size: 0.85rem; color: var(--rm-text-muted); margin: 0; line-height: 1.6; }

/* ===== CALLOUTS ===== */
.rm-p-note, .rm-p-warn, .rm-p-info, .rm-p-tip {
    padding: 20px;
    border-radius: 6px;
    margin: 25px 0;
    font-size: 0.95rem;
    border-left: 4px solid;
}
.rm-p-note { background: rgba(59, 130, 246, 0.05); border-color: var(--rm-blue); color: #a5d6ff; }
.rm-p-warn { background: rgba(248, 81, 73, 0.05); border-color: var(--rm-red); color: #ff7b72; }
.rm-p-info { background: rgba(46, 160, 67, 0.05); border-color: var(--rm-green); color: #7ee787; }
.rm-p-tip { background: rgba(210, 153, 34, 0.05); border-color: var(--rm-yellow); color: #d29922; }

.rm-p-note strong,
.rm-p-warn strong,
.rm-p-info strong,
.rm-p-tip strong { color: var(--rm-text); font-weight: 600; }

/* ===== LISTS ===== */
.rm-p-list { padding-left: 20px; color: var(--rm-text-muted); margin-bottom: 20px; }
.rm-p-list li { margin-bottom: 10px; }

/* ===== ACCORDION / FAQ ===== */
.rm-p-accordion { display: grid; gap: 10px; margin-top: 25px; }
.rm-p-acc-item { border: 1px solid var(--rm-border); border-radius: 6px; background: var(--rm-surface-light); }
.rm-p-acc-btn {
    width: 100%;
    border: none;
    background: transparent;
    color: var(--rm-text);
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: inherit;
}
.rm-p-acc-btn:hover { background: rgba(255,255,255,0.02); }
.rm-p-acc-btn small {
    display: block;
    color: var(--rm-text-muted);
    font-weight: 400;
    margin-top: 4px;
    font-size: 0.8rem;
    font-family: var(--rm-font-mono);
}
.rm-p-acc-icon { font-family: var(--rm-font-mono); color: var(--rm-text-muted); font-weight: bold; }
.rm-p-acc-panel { padding: 0 20px 20px; color: var(--rm-text-muted); font-size: 0.95rem; line-height: 1.6; }

/* ===== CTA SECTION ===== */
.rm-p-cta {
    border: 1px solid var(--rm-border);
    border-radius: 10px;
    padding: 50px;
    margin-top: 60px;
    background: var(--rm-surface);
    text-align: center;
}
.rm-p-cta h3 { margin: 0 0 15px; font-size: 1.4rem; font-weight: 700; color: var(--rm-text); }
.rm-p-cta p { margin: 0 auto 25px; color: var(--rm-text-muted); font-size: 1.05rem; max-width: 600px; }
.rm-p-cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 25px; }

/* ===== FOOTER NOTE ===== */
.rm-p-footer-note {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid var(--rm-border);
    color: #444;
    font-size: 0.75rem;
    text-align: center;
    font-family: var(--rm-font-mono);
    text-transform: uppercase;
}

/* ===== PROGRESS BAR ===== */
.rm-p-progress {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 100;
    height: 3px;
    background: transparent;
}
.rm-p-progress > div {
    height: 100%;
    width: 0;
    background: var(--rm-red);
    box-shadow: 0 0 10px var(--rm-red);
}

/* ===== MOBILE ===== */
.rm-p-mobile-fab,
.rm-p-back-top {
    position: fixed;
    z-index: 90;
    padding: 12px 18px;
    border-radius: 6px;
    border: 1px solid var(--rm-border);
    background: var(--rm-surface);
    color: var(--rm-text);
    font-weight: 600;
    font-size: 0.85rem;
    font-family: var(--rm-font-mono);
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    text-transform: uppercase;
}
.rm-p-mobile-fab { right: 20px; bottom: 20px; display: none; }
.rm-p-back-top { left: 20px; bottom: 20px; opacity: 0; pointer-events: none; transform: translateY(10px); transition: 0.2s; }
.rm-p-back-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ===== TOAST ===== */
.rm-p-toast {
    position: fixed;
    top: 20px; right: 20px;
    z-index: 100;
    background: var(--rm-surface-light);
    border: 1px solid var(--rm-border);
    color: var(--rm-text);
    border-radius: 6px;
    padding: 15px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 0.2s;
}
.rm-p-toast.show { opacity: 1; transform: translateY(0); }
.rm-p-toast small {
    display: block;
    margin-top: 5px;
    color: var(--rm-text-muted);
    font-family: var(--rm-font-mono);
    font-size: 0.75rem;
}

/* ===== CODE ===== */
.rm-p-page code {
    font-family: var(--rm-font-mono);
    font-size: 0.85em;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--rm-border);
    padding: 0.2em 0.4em;
    border-radius: 4px;
    color: #e5e7eb;
}

/* ===== RESPONSIVE ===== */

/* Tablet landscape */
@media (max-width: 1080px) {
    .rm-p-shell { max-width: 100%; }
}

/* Tablet portrait / petit laptop */
@media (max-width: 900px) {
    .rm-p-layout { grid-template-columns: 1fr; }
    .rm-p-aside { display: none; }
    .rm-p-mobile-fab { display: inline-flex; }
    .rm-p-hero { padding: 35px 20px; }
    .rm-p-grid-2,
    .rm-p-grid-3,
    .rm-p-grid-4 { grid-template-columns: 1fr; }
    .rm-p-cta { padding: 30px 20px; }
    .rm-p-acc-btn { padding: 15px; font-size: 0.9rem; }
    .rm-p-acc-panel { padding: 0 15px 15px; }
    .rm-p-note, .rm-p-warn, .rm-p-info, .rm-p-tip { padding: 15px; font-size: 0.9rem; }
    .rm-p-section { padding: 30px 0; }
}

/* Mobile */
@media (max-width: 600px) {
    .rm-p-shell { padding: 100px 12px 80px; }
    .rm-p-hero { padding: 25px 15px; }
    .rm-p-hero h1 { font-size: 1.7rem; letter-spacing: -0.5px; }
    .rm-p-hero p { font-size: 0.95rem; }
    .rm-p-kicker { font-size: 0.6rem; padding: 4px 8px; }
    .rm-p-section h2 { flex-direction: column; align-items: flex-start; gap: 10px; font-size: 1.2rem; }
    .rm-p-section p { font-size: 0.9rem; line-height: 1.7; }
    .rm-p-btn { width: 100%; justify-content: center; padding: 14px 16px; }
    .rm-p-cta { padding: 25px 15px; margin-top: 40px; }
    .rm-p-cta h3 { font-size: 1.2rem; }
    .rm-p-cta p { font-size: 0.9rem; }
    .rm-p-cta-actions { flex-direction: column; }
    .rm-p-pills { gap: 6px; }
    .rm-p-pill { font-size: 0.6rem; padding: 4px 8px; }
    .rm-p-card { padding: 15px; }
    .rm-p-card h4 { font-size: 0.9rem; }
    .rm-p-card p { font-size: 0.8rem; }
    .rm-p-badge { font-size: 0.6rem; }
    .rm-p-acc-btn { padding: 12px; font-size: 0.85rem; gap: 8px; }
    .rm-p-acc-btn small { font-size: 0.7rem; }
    .rm-p-acc-panel { padding: 0 12px 12px; font-size: 0.85rem; }
    .rm-p-note, .rm-p-warn, .rm-p-info, .rm-p-tip { padding: 12px; font-size: 0.85rem; }
    .rm-p-footer-note { font-size: 0.65rem; }
    .rm-p-mini-btn { font-size: 0.65rem; padding: 3px 6px; }
    .rm-p-table td, .rm-p-table th { padding: 10px; font-size: 0.8rem; }
    .rm-p-list { padding-left: 15px; }
}

/* Tres petit mobile (320px) */
@media (max-width: 380px) {
    .rm-p-hero h1 { font-size: 1.4rem; }
    .rm-p-hero p { font-size: 0.85rem; }
    .rm-p-section h2 { font-size: 1.1rem; }
    .rm-p-pill { font-size: 0.55rem; padding: 3px 6px; }
    .rm-p-card { padding: 12px; }
}

/* ===== TABLES ===== */
.rm-p-table-wrap {
    overflow-x: auto;
    margin: 25px 0;
    background: var(--rm-surface-light);
    border: 1px solid var(--rm-border);
    border-radius: 8px;
}
.rm-p-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}
.rm-p-table th {
    text-align: left;
    padding: 15px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--rm-text-muted);
    border-bottom: 1px solid var(--rm-border);
}
.rm-p-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    font-size: 0.9rem;
    color: var(--rm-text);
}

/* ===== MAIN CONTENT ===== */
.rm-p-main { min-width: 0; }

/* Hero inner card (pour les pages qui ont un wrapper card dans le hero) */
.rm-p-hero-inner {
    position: relative;
}

/* ===== HEADER NAV ELEMENTS ===== */
.nav-lang-switch {
    font-family: var(--rm-font-mono);
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--rm-text-muted);
    padding: 8px 12px;
    border: 1px solid var(--rm-border, #30363d);
    border-radius: 6px;
    text-decoration: none;
    letter-spacing: 1px;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    box-sizing: border-box;
}
.nav-lang-switch:hover {
    color: var(--rm-text);
    border-color: var(--rm-text-muted);
}
.nav-theme-toggle {
    background: none;
    border: 1px solid var(--rm-border, #30363d);
    border-radius: 6px;
    padding: 8px;
    cursor: pointer;
    color: var(--rm-text-muted, #8b949e);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    width: 36px;
    box-sizing: border-box;
    transition: 0.2s;
}
/* .nav-theme-sun gere par JS via js-hidden — pas de display:none statique */
.nav-mobile-lang {
    font-family: var(--rm-font-mono);
    letter-spacing: 1px;
}
.nav-mobile-cta { margin-top: 30px; }
.logo-img { transition: 0.3s; }

/* ===== FOOTER ELEMENTS ===== */
.footer-meta-spaced { margin-top: 15px; }
.footer-email-link {
    color: var(--rm-text-muted);
    text-decoration: none;
    border-bottom: 1px dashed var(--rm-border);
}

/* ===== HOME HERO SCAN BOX ===== */
.hero-h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 15px; letter-spacing: -1.5px; font-weight: 900; text-wrap: balance; }
.hero-h1-accent { color: var(--rm-red); }
.hero-subtitle { font-size: 0.95rem; color: var(--rm-text-muted); max-width: 800px; margin: 0 auto 10px; line-height: 1.5; }
.hero-checks-wrap { margin-bottom: 12px; }
.hero-checks-link {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--rm-font-mono); font-size: 0.85rem; color: var(--rm-blue);
    text-decoration: none; padding: 8px 16px;
    border: 1px solid rgba(59, 130, 246, 0.2); border-radius: 6px;
    background: rgba(59, 130, 246, 0.05); transition: 0.2s;
}
.hero-checks-link:hover { border-color: rgba(59, 130, 246, 0.5); background: rgba(59, 130, 246, 0.1); }
.input-wrap { position: relative; margin-bottom: 20px; }
.url-input-full { width: 100%; padding-right: 45px; box-sizing: border-box; }
.clear-btn {
    display: none; position: absolute; right: 15px; top: 50%; transform: translateY(-50%);
    background: none; border: none; cursor: pointer; color: var(--rm-text-muted); padding: 5px; transition: color 0.2s;
}
.example-domains-row { font-size: 0.85rem; color: var(--rm-text-muted); }
.example-domain {
    cursor: pointer; color: var(--rm-text-muted);
    text-decoration: none;
}
.pillars-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 15px; text-align: left; }
.pillar-card { padding: 10px 14px; border-radius: var(--rm-radius-sm); display: flex; flex-direction: column; justify-content: center; position: relative; }
.pillar-card::before { content: ""; position: absolute; top: 0; left: 0; width: 3px; height: 100%; border-radius: 1px; }
.pillar-card-green { border: 1px solid rgba(46,160,67,0.15); background: rgba(46,160,67,0.03); }
.pillar-card-green::before { background: var(--rm-green); box-shadow: 0 0 6px var(--rm-green); }
.pillar-card-blue { border: 1px solid rgba(59, 130, 246, 0.15); background: rgba(59, 130, 246, 0.03); }
.pillar-card-blue::before { background: var(--rm-blue); box-shadow: 0 0 6px var(--rm-blue); }
.pillar-card-amber { border: 1px solid rgba(210, 153, 34, 0.15); background: rgba(210, 153, 34, 0.03); }
.pillar-card-amber::before { background: var(--rm-yellow); box-shadow: 0 0 6px var(--rm-yellow); }
.pillar-card-red { border: 1px solid rgba(255, 32, 32, 0.15); background: rgba(255, 32, 32, 0.03); }
.pillar-card-red::before { background: var(--rm-red); box-shadow: 0 0 6px var(--rm-red); }
.pillar-title { display: flex; align-items: center; gap: 6px; color: var(--rm-text); font-size: 0.8rem; margin-bottom: 2px; font-weight: 600; }
.pillar-num { font-family: var(--rm-font-mono); font-weight: 800; }
.pillar-num-green { color: var(--rm-green); }
.pillar-num-blue { color: var(--rm-blue); }
.pillar-num-amber { color: var(--rm-yellow); }
.pillar-num-red { color: var(--rm-red); }
.pillar-desc { color: var(--rm-text-muted); font-size: 0.7rem; line-height: 1.3; }
.config-box {
    background: rgba(255,255,255,0.01); border: 1px solid var(--rm-border-soft);
    padding: 10px 12px; border-radius: var(--rm-radius-sm); display: flex; flex-direction: column; justify-content: center; gap: 5px;
}
.config-box-row { display: flex; align-items: center; justify-content: space-between; }
.config-label { font-size: 0.55rem; color: var(--rm-text-muted); text-transform: uppercase; letter-spacing: 1px; font-family: var(--rm-font-mono); opacity: 0.5; }
.tone-group { display: flex; background: var(--rm-bg); padding: 3px; border-radius: var(--rm-radius-sm); border: 1px solid var(--rm-border-hard, #333); }
.tone-label { flex: 1; cursor: pointer; }
.tone-radio { display: none; }
.tone-btn { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 6px; border-radius: var(--rm-radius-sm); font-size: 0.7rem; font-weight: 700; transition: 0.2s; font-family: var(--rm-font-mono); letter-spacing: 1px; }
.tone-btn-active { background: rgba(248, 81, 73, 0.1); color: var(--rm-red); }
.config-box p.tone-desc { margin: 0; font-size: 0.5rem; color: var(--rm-text-muted); line-height: 1.2; opacity: 0.3; max-height: 1.2em; overflow: hidden; }
.ghost-box {
    background: rgba(255,255,255,0.01); border: 1px solid var(--rm-border-soft);
    padding: 10px 12px; border-radius: var(--rm-radius-sm); display: flex; align-items: center; gap: 10px;
}
.ghost-info { flex-grow: 1; }
.ghost-title-row { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.ghost-eye { opacity: 0.6; }
.ghost-box p.ghost-desc { color: var(--rm-text-muted); font-size: 0.5rem; line-height: 1.2; margin: 0; opacity: 0.3; max-height: 1.2em; overflow: hidden; }
.toggle-wrap { position: relative; display: inline-block; width: 38px; height: 20px; flex-shrink: 0; }
.toggle-input { opacity: 0; width: 0; height: 0; }
.toggle-track {
    position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--rm-surface-soft); transition: .3s; border-radius: 20px; border: 1px solid var(--rm-border);
}
.toggle-slider {
    position: absolute; height: 12px; width: 12px; left: 3px; bottom: 3px;
    background-color: var(--rm-text-muted); transition: .3s; border-radius: 50%;
}
.scan-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding: 0 5px; }
.scan-footer p.scan-label-free { color: var(--rm-text-muted); font-size: 10px; margin: 0; font-family: var(--rm-font-mono); text-transform: uppercase; letter-spacing: 0.3px; opacity: 0.5; }
.scan-footer p.scan-label-ready { color: var(--rm-green); font-size: 10px; margin: 0; font-family: var(--rm-font-mono); opacity: 0.5; }
.scan-label-ready::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--rm-green);
    margin-right: 6px;
    vertical-align: middle;
    box-shadow: 0 0 6px var(--rm-green);
    animation: scan-pulse 2s ease-in-out infinite;
}
@keyframes scan-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* Ghost Modal */
.ghost-modal {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5,5,5,0.9); backdrop-filter: blur(5px); z-index: 9999;
    align-items: center; justify-content: center;
}
.ghost-modal-card {
    background: var(--rm-surface); border: 1px solid var(--rm-border);
    padding: 40px; border-radius: 12px; max-width: 450px; text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}
.ghost-modal-badge { font-family: var(--rm-font-mono); color: var(--rm-text-muted); font-size: 0.8rem; letter-spacing: 1px; margin-bottom: 15px; }
.ghost-modal-title { margin-top: 0; font-size: 1.8rem; font-weight: 800; color: var(--rm-text); margin-bottom: 15px; }
.ghost-modal-text { color: var(--rm-text-muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 25px; }
.ghost-modal-abuse-box {
    background: var(--rm-surface-light); border: 1px solid var(--rm-border);
    padding: 15px; border-radius: 8px; margin-bottom: 30px;
}
.ghost-modal-abuse-text { font-size: 0.85rem; color: var(--rm-text); margin: 0 0 10px; }
.ghost-modal-paypal {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 12px; background: rgba(210, 153, 34, 0.1); color: var(--rm-yellow);
    border: 1px solid var(--rm-yellow); font-weight: 700; border-radius: 6px;
    text-decoration: none; font-size: 0.9rem; width: 100%; box-sizing: border-box;
    text-transform: uppercase; transition: 0.2s;
}
.ghost-modal-confirm {
    display: block; padding: 14px; background: var(--rm-cta-bg, linear-gradient(to right, #FF2020, #cc1a1a)); color: #fff;
    border: 1px solid var(--rm-cta-border, #a01515); border-radius: 6px; cursor: pointer; font-weight: 700;
    width: 100%; margin-bottom: 15px; font-size: 0.9rem;
    text-transform: uppercase; letter-spacing: 1px; transition: 0.2s;
}
.ghost-modal-cancel {
    display: block; padding: 10px; background: transparent; color: var(--rm-text-muted);
    border: none; cursor: pointer; font-size: 0.85rem; width: 100%; transition: 0.2s;
}

/* Home responsive */
@media (max-width: 600px) {
    .pillars-grid { grid-template-columns: 1fr; gap: 6px; }
    .pillar-card { padding: 10px 12px; }
    .pillar-title { font-size: 0.8rem; }
    .pillar-desc { font-size: 0.7rem; }
    .config-grid { grid-template-columns: 1fr; }
    .config-box, .ghost-box { padding: 10px; }
    .config-label { font-size: 0.55rem; }
    .tone-desc, .ghost-desc { font-size: 0.6rem; }
    .hero-h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); }
    .hero-subtitle { font-size: 0.9rem; }
    .scan-footer { flex-direction: column; gap: 4px; align-items: flex-start; }
    .scan-footer p.scan-label-free, .scan-footer p.scan-label-ready { font-size: 0.4rem; opacity: 0.25; }
    .ghost-modal-card { padding: 25px; margin: 15px; }
    .hero-checks-wrap { margin-bottom: 15px; }
    .hero-checks-link { font-size: 0.75rem; padding: 6px 12px; }
}

/* ===== HOME FAQ ===== */
.faq-toggle-icon { color: var(--rm-text-muted); font-family: var(--rm-font-mono); }

/* ===== LEADERBOARD ===== */
.board-col-desc { font-size: 0.85rem; color: var(--rm-text-muted); line-height: 1.4; margin-bottom: 20px; border-bottom: 1px solid var(--rm-border); padding-bottom: 15px; }
.board-empty { color: var(--rm-text-muted); font-size: 0.9rem; text-align: center; padding: 20px 0; font-style: italic; }

/* ===== STATS ===== */
.stats-pct { font-size: 1.5rem; color: rgba(57,211,83,0.3); }
.stats-disclaimer { color: var(--rm-text-muted); font-size: 0.85rem; line-height: 1.6; margin: 0; }
.stats-disclaimer-title { color: var(--rm-text); font-weight: 600; }

/* ===== BUTTONS PAYPAL VARIANT ===== */
.rm-p-btn-paypal-fill { background: var(--rm-yellow); color: #000; border-color: transparent; }

/* ===== EXAMPLES PAGE ===== */
.score-card-center { text-align: center; }
.score-authority-label { font-family: var(--rm-font-mono); font-size: 0.75rem; color: var(--rm-text-muted); text-transform: uppercase; }
.score-citable { color: var(--rm-green); }
.score-reading { font-size: 0.8rem; }
.score-h4 { margin: 0 0 15px; color: var(--rm-text); font-size: 1rem; }
.score-h4-spaced { margin: 20px 0 10px; color: var(--rm-text); font-size: 1rem; }
.metric-grid-2 { grid-template-columns: repeat(2, 1fr); }
.value-green { color: var(--rm-green); }
.value-yellow { color: var(--rm-yellow); }
.value-red { color: var(--rm-red); }
.pillar-h4 { margin: 0; color: var(--rm-text); font-size: 1.05rem; }
.check-missing-title { display: block; color: var(--rm-text); }
.check-missing-impact { font-size: 0.85rem; color: #888; }
.geo-score { font-family: var(--rm-font-mono); font-size: 2rem; font-weight: 700; }
.geo-desc { margin-top: 10px; }
.comp-list { padding-left: 20px; color: var(--rm-text-muted); font-size: 0.9rem; margin-bottom: 0; }
.comp-list-mono { padding-left: 20px; color: var(--rm-text-muted); font-size: 0.9rem; margin-bottom: 0; font-family: var(--rm-font-mono); }
.comp-name { color: var(--rm-text); }
.comp-note { margin-top: 15px; font-size: 0.85rem; font-style: italic; }
.exec-card { border-left: 4px solid var(--rm-blue); border-radius: 4px; background: rgba(59, 130, 246, 0.05); }
.exec-title { color: var(--rm-blue); margin-bottom: 5px; }
.exec-quote { color: var(--rm-text); font-size: 1.1rem; font-style: italic; }

/* ===== CONTENT UTILITIES ===== */
.ul-clean { padding-left: 20px; line-height: 1.7; margin-bottom: 0; }
.section-subtitle { margin-top: 30px; font-size: 1.1rem; color: var(--rm-text); }
.text-sm-stat { font-size: 0.9rem; }
.cl-cat-blue { border-color: rgba(59, 130, 246, 0.3); }
.cl-title-blue { color: var(--rm-blue); }
.cl-fill-blue { background: var(--rm-blue); }
.cl-cat-amber { border-color: rgba(210,153,34,0.3); }
.cl-title-amber { color: var(--rm-yellow); }
.cl-fill-amber { background: var(--rm-yellow); }
.sticky-state-label { color: var(--rm-text-muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; }
.path-icon-red { color: var(--rm-red); }
.path-icon-blue { color: var(--rm-blue); }
.path-icon-green { color: var(--rm-green); }
.path-icon-amber { color: var(--rm-yellow); }
.editor-ai { border-color: rgba(59, 130, 246, 0.4); }
.ai-title { color: #a5d6ff; }
.ai-label { color: #a5d6ff; }
.how-box { margin-top: 25px; padding: 20px; border: 1px solid var(--rm-border); border-radius: 8px; background: var(--rm-surface); }
.how-box-title { margin: 0 0 10px; font-size: 0.9rem; color: var(--rm-text); }
.how-box-text { margin: 0; font-size: 0.85rem; color: var(--rm-text-muted); line-height: 1.6; }
.faq-toggle { font-family: var(--rm-font-mono); color: var(--rm-text-muted); }
.extra-no-border { border: none; padding-top: 0; }
.cta-inner-title { margin: 0; color: var(--rm-text); font-size: 1.4rem; }
.cta-inner-text { margin: 0; color: var(--rm-text-muted); font-size: 1rem; max-width: 600px; }
.search-icon { font-family: var(--rm-font-mono); color: var(--rm-text-muted); }
.hof-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.data-null { font-size: 2rem; margin-bottom: 15px; color: var(--rm-text-muted); }
.empty-title { font-size: 1.1rem; color: var(--rm-text); margin-bottom: 10px; }
.empty-sub { font-size: 0.9rem; }
.podium-link { color: inherit; text-decoration: none; }
.hero-actions-left { justify-content: flex-start; }
.faq-grid-wrap { display: grid; gap: 10px; }
.last-update-label { margin-top: 30px; font-family: var(--rm-font-mono); font-size: 0.75rem; color: var(--rm-text-muted); text-transform: uppercase; }
.legal-box-center { text-align: center; }
.legal-text { font-size: 0.85rem; color: var(--rm-text-muted); margin-bottom: 15px; }
.legal-link-btn {
    display: inline-block; padding: 10px 15px; background: var(--rm-surface-light);
    color: var(--rm-text); text-decoration: none; border-radius: 6px; font-size: 0.8rem;
    border: 1px solid var(--rm-border); width: 100%; box-sizing: border-box;
    text-transform: uppercase; font-weight: 700;
}

/* ===== MORE UTILITIES ===== */
.loader-title { color: var(--rm-text); font-family: var(--rm-font-mono); letter-spacing: -0.5px; }
.loader-desc { color: var(--rm-text-muted); font-size: 0.9rem; }
.support-h2 { color: var(--rm-text); margin-top: 0; }
.support-text { color: var(--rm-text-muted); margin-bottom: 25px; }
.tool-link-spaced { margin-top: 20px; justify-content: center; font-weight: 700; }
.release-title { font-weight: 700; color: var(--rm-text); margin-bottom: 20px; font-size: 1.1rem; }
.section-head-spaced { margin-top: 60px; }
.honeypot { display: none; }
.text-center { text-align: center; }

/* ===== REPORT COMPONENTS ===== */
.rpt-header { font-size: 1.8rem; font-weight: 600; letter-spacing: -0.5px; margin-bottom: 5px; display: flex; align-items: center; overflow-wrap: anywhere; word-break: break-word; }
.rpt-sub { font-size: 0.75rem; color: var(--rm-text-muted); }
.rpt-empty { padding: 20px; color: var(--rm-text-muted); }
.rpt-empty-lg { padding: 24px; color: var(--rm-text-muted); }
.rpt-spaced { margin-top: 100px; }
.rpt-spaced-sm { margin-top: 60px; }
.rpt-bold-sm { font-size: 0.7rem; font-weight: bold; }
.rpt-flex-between { display: flex; justify-content: space-between; margin-bottom: 4px; }
.rpt-link-muted { color: var(--rm-text-muted); text-decoration: none; display: flex; align-items: center; gap: 6px; transition: 0.2s; }
.rpt-link-muted:hover { color: var(--rm-text); }
.rpt-bar-fill { width: 0%; background: var(--rm-text-muted); }
.rpt-th { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--rm-border); background: var(--rm-surface-light); color: var(--rm-text-muted); font-weight: 600; font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase; }
.rpt-th-center { padding: 15px 20px; text-align: center; border-bottom: 1px solid var(--rm-border); background: var(--rm-surface-light); color: var(--rm-text-muted); font-weight: 600; font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase; }
.rpt-no-margin { margin: 0; }
.rpt-score-lg { font-size: 1.8rem; font-weight: 600; color: var(--rm-text); font-family: monospace; }
.rpt-desc { font-size: 0.8rem; color: var(--rm-text-muted); line-height: 1.5; margin-top: auto; }
.rpt-label-sm { font-size: 0.7rem; text-transform: uppercase; color: var(--rm-text-muted); display: block; margin-bottom: 3px; }
.rpt-flex-center { display: flex; align-items: center; gap: 8px; }
.rpt-flex-compact { display: flex; align-items: center; gap: 6px; }
.rpt-muted { color: var(--rm-text-muted); }
.rpt-intro { font-size: 0.85rem; color: var(--rm-text-muted); margin-bottom: 20px; line-height: 1.5; }
.rpt-lead { color: var(--rm-text-muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 25px; overflow-wrap: anywhere; word-break: break-word; }
.rpt-tag-green { display: inline-flex; align-items: center; gap: 4px; color: var(--rm-green); font-size: 0.75rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.rpt-display { color: var(--rm-text); display: block; margin-bottom: 6px; font-size: 0.95rem; }
.rpt-desc-block { color: var(--rm-text-muted); font-size: 0.85rem; line-height: 1.5; display: block; }
.rpt-link-accent { color: var(--rm-text); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.3); text-underline-offset: 3px; }
.rpt-status-green { color: var(--rm-green); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.rpt-white-bold { color: var(--rm-text); font-weight: 600; }
.rpt-white { color: var(--rm-text); }
.rpt-gray { color: var(--rm-text-muted); }
.rpt-card-flex { background: var(--rm-surface-light); border: 1px solid var(--rm-border); border-radius: 8px; padding: 25px; display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
.rpt-dot-green { width: 10px; height: 10px; border-radius: 2px; background: var(--rm-green); }
.rpt-dot-yellow { width: 10px; height: 10px; border-radius: 2px; background: var(--rm-yellow); }
.rpt-dot-red { width: 10px; height: 10px; border-radius: 2px; background: var(--rm-red); }
.rpt-preview { width: 100%; height: 140px; background: var(--rm-surface-light); display: flex; align-items: center; justify-content: center; overflow: hidden; border-bottom: 1px solid var(--rm-border); }
.rpt-table-full { width: 100%; border-collapse: collapse; }
.rpt-center-mb { text-align: center; margin-bottom: 40px; }
.rpt-footer-bar { padding: 20px; background: var(--rm-surface-soft); border-top: 1px solid var(--rm-border); display: flex; flex-wrap: wrap; gap: 15px; align-items: center; justify-content: space-between; }
.rpt-pad { padding: 15px; }
.rpt-item-muted { padding: 14px 18px; margin-bottom: 16px; color: var(--rm-text-muted); }
.rpt-scroll { overflow-y: auto; flex-grow: 1; max-height: 120px; padding-right: 5px; }

/* ===== REPORT PROOF MACHINE ===== */
.rpt-stat-bar { background: rgba(127,127,127,0.04); border: 1px solid var(--rm-border); border-radius: 8px; padding: 15px 25px; margin-bottom: 25px; display: flex; flex-wrap: wrap; gap: 30px; align-items: center; }
.rpt-card-col { background: var(--rm-surface-light); border: 1px solid var(--rm-border); border-radius: 8px; padding: 25px; display: flex; flex-direction: column; gap: 15px; overflow: hidden; min-width: 0; }
.rpt-proof-card { border: 1px solid var(--rm-border); border-radius: 6px; overflow: hidden; background: var(--rm-surface); flex-grow: 1; display: flex; flex-direction: column; }
.rpt-text-sm { color: var(--rm-text-muted); font-size: 0.8rem; }
.rpt-proof-body { display: flex; flex-direction: column; flex-grow: 1; border-top: 1px solid var(--rm-border-soft); padding-top: 15px; }
.rpt-tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.rpt-proof-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; border-bottom: 1px solid var(--rm-border-soft); padding-bottom: 10px; }
.rpt-proof-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.rpt-proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; align-items: stretch; }
.rpt-mono-sm { font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; color: var(--rm-text-muted); line-height: 1.5; overflow-wrap: break-word; word-break: break-word; }

/* ===== REPORT SHELL ===== */
.rpt-bl-blue { border-left: 3px solid var(--rm-blue); padding-left: 15px; }
.rpt-bl-green { border-left: 3px solid var(--rm-green); padding-left: 15px; }
.rpt-bl-muted { border-left: 3px solid var(--rm-text-muted); padding-left: 15px; }
.rpt-bl-yellow { border-left-color: var(--rm-yellow); }
.rpt-status-label-green { color: var(--rm-green); font-size: 0.85rem; text-transform: uppercase; margin-bottom: 10px; }
.rpt-status-label-red { color: var(--rm-red); font-size: 0.85rem; text-transform: uppercase; margin-bottom: 10px; }
.d-block { display: block; }
.d-none { display: none; }

/* ===== COMPETITIVE LANDSCAPE ===== */
.rpt-btn-blue { background: #3b82f6; color: var(--rm-text); border: none; padding: 12px 25px; border-radius: 6px; font-weight: 700; cursor: pointer; transition: 0.2s; display: flex; align-items: center; gap: 8px; box-shadow: 0 4px 15px rgba(59,130,246,0.3); text-transform: uppercase; letter-spacing: 0.5px; font-size: 0.85rem; }
.rpt-empty-dashed { background: var(--rm-surface-soft); border: 1px dashed var(--rm-border); padding: 25px; border-radius: 8px; color: var(--rm-text-muted); text-align: center; font-size: 0.95rem; }
.rpt-modal-card { background: var(--rm-surface); border: 1px solid var(--rm-border); padding: 40px; border-radius: 12px; max-width: 450px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,0.8); }
.rpt-info-box { background: var(--rm-surface-light); border: 1px solid var(--rm-border); padding: 15px; border-radius: 8px; margin-bottom: 30px; }

/* ===== GRIDS RAPPORT ===== */
.rpt-grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px,100%), 1fr)); gap: 20px; }
.rpt-grid-auto-lg { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(350px,100%), 1fr)); gap: 20px; }
.rpt-grid-auto-mt { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px,100%), 1fr)); gap: 20px; margin-top: 10px; }

/* ===== LEAD TEXTS ===== */
.rpt-lead-lg { color: var(--rm-text-muted); font-size: 1rem; line-height: 1.6; margin-bottom: 30px; overflow-wrap: anywhere; word-break: break-word; }
.rpt-lead-xl { color: var(--rm-text-muted); font-size: 1.05rem; line-height: 1.6; margin-bottom: 30px; overflow-wrap: anywhere; word-break: break-word; }
.rpt-lead-clean { color: var(--rm-text-muted); font-size: 1rem; line-height: 1.6; }

/* ===== SPACING ===== */
.rpt-spaced-full { margin-top: 100px; margin-bottom: 60px; }
.rpt-header-clean { font-size: 1.8rem; font-weight: 600; letter-spacing: -0.5px; margin-bottom: 5px; }
.flex-grow { flex-grow: 1; }
.flex-shrink-0 { flex-shrink: 0; padding-top: 2px; }

/* ===== TONES ===== */
.tone-tag-blue { color: var(--rm-blue); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; padding: 2px 6px; background: rgba(59,130,246,0.1); border-radius: 4px; margin-right: 8px; }
.tone-tag-red { color: var(--rm-red); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; padding: 2px 6px; background: rgba(248,81,73,0.1); border-radius: 4px; margin-right: 8px; }
.tone-tag-muted { color: var(--rm-text-muted); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; padding: 2px 6px; background: var(--rm-border-soft); border-radius: 4px; margin-right: 8px; }
.tone-tag-yellow { color: var(--rm-yellow); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; padding: 2px 6px; background: rgba(210,153,34,0.1); border-radius: 4px; margin-right: 8px; }
.tone-label-blue { color: var(--rm-blue); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700; }
.tone-label-muted { color: var(--rm-text-muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700; }
.tone-label-yellow { color: var(--rm-yellow); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700; }
.rpt-tag-red { display: inline-flex; align-items: center; gap: 4px; color: var(--rm-red); font-size: 0.75rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }

/* ===== REPORT RESPONSIVE ===== */
@media (max-width: 600px) {
    .rpt-proof-grid,
    .rpt-grid-auto,
    .rpt-grid-auto-lg,
    .rpt-grid-auto-mt { grid-template-columns: 1fr; }
    .rpt-stat-bar { gap: 15px; padding: 12px 15px; flex-direction: column; }
    .rpt-modal-card { padding: 25px; margin: 15px; }
    .rpt-card-flex, .rpt-card-col { padding: 15px; }
    .rpt-proof-card { min-width: 0; }
}


/* ===== AUTO-GENERATED REPORT CLASSES ===== */
.rpt-u1 { color: var(--rm-text-muted); font-size: 1.05rem; line-height: 1.6; margin-bottom: 25px; }
.rpt-u2 { margin: 0 0 10px 0; color: var(--rm-text); font-size: 1.05rem; }
.rpt-u3 { display: none; background: var(--rm-surface-light); border-radius: 8px; border: 1px solid var(--rm-border); overflow: hidden; }
.rpt-u4 { overflow-x: auto; }
.rpt-u5 { font-size: 0.95rem; }
.rpt-u6 { flex: 1; min-width: 250px; }
.rpt-u7 { display: flex; align-items: center; color: var(--rm-text); font-size: 0.9rem; margin-bottom: 6px; font-family: var(--rm-font-mono); letter-spacing: 0.5px; }
.rpt-u8 { margin-right: 8px; opacity: 0.9; }
.rpt-u9 { color: var(--rm-text-muted); font-size: 0.8rem; line-height: 1.4; display: block; }
.rpt-u10 { display: flex; gap: 10px; flex: 2; min-width: 300px; position: relative; }
.rpt-u11 { flex: 1; padding: 12px 15px; background: var(--rm-surface-light); border: 1px solid var(--rm-border); color: var(--rm-text); border-radius: 6px; font-family: var(--rm-font-mono); font-size: 0.9rem; outline: none; transition: 0.2s; }
.rpt-u12 { display: none; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,0.3); border-top-color: var(--rm-text); border-radius: 50%; animation: spin 1s linear infinite; }
.rpt-u13 { display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(5,5,5,0.9); backdrop-filter: blur(5px); z-index:9999; align-items:center; justify-content:center; }
.rpt-u14 { font-family: var(--rm-font-mono); color: var(--rm-text-muted); font-size: 0.8rem; letter-spacing: 1px; margin-bottom: 15px; }
.rpt-u15 { margin-top:0; font-size:1.8rem; font-weight: 800; color: var(--rm-text); margin-bottom: 15px; }
.rpt-u16 { color:var(--rm-text-muted); font-size:0.95rem; line-height:1.6; margin-bottom:25px; }
.rpt-u17 { font-size:0.85rem; color: var(--rm-text); margin: 0 0 10px; }
.rpt-u18 { display:inline-flex; align-items: center; justify-content: center; gap: 10px; padding:12px; background:rgba(59, 130, 246, 0.1); color:var(--rm-blue); border: 1px solid #3b82f6; font-weight:700; border-radius:6px; text-decoration:none; font-size:0.9rem; width: 100%; box-sizing: border-box; text-transform: uppercase; transition: 0.2s; }
.rpt-u19 { display:block; padding:14px; background:#3b82f6; color:#fff; border:none; border-radius:6px; cursor:pointer; font-weight:700; width:100%; margin-bottom:15px; font-size:0.9rem; text-transform: uppercase; letter-spacing: 1px; transition:0.2s; }
.rpt-u20 { display:block; padding:10px; background:transparent; color:var(--rm-text-muted); border:none; cursor:pointer; font-size: 0.85rem; width:100%; transition: 0.2s; }
.rpt-u21 { margin-top: 80px; }
.rpt-u22 { font-size: 0.9rem; color: var(--rm-text); }
.rpt-u23 { font-size: 0.9rem; color: var(--rm-green); }
.rpt-u24 { font-size: 0.9rem; color: var(--rm-yellow); }
.rpt-u25 { margin: 0; font-size: 0.85rem; text-transform: uppercase; color: var(--rm-text-muted); letter-spacing: 1px; border-bottom: 1px solid var(--rm-border-soft); padding-bottom: 10px; }
.rpt-u26 { font-size: 0.9rem; color: var(--rm-text); font-weight: 500; line-height: 1.4; }
.rpt-u27 { font-size: 0.85rem; color: var(--rm-text-soft); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rpt-u28 { margin: 0; font-size: 0.85rem; text-transform: uppercase; color: var(--rm-text-muted); letter-spacing: 1px; }
.rpt-u29 { font-size: 0.7rem; padding: 3px 8px; border-radius: 4px; font-weight: bold; }
.rpt-u30 { font-size: 0.7rem; color: var(--rm-text-muted); text-transform: lowercase; display: block; margin-bottom: 5px; }
.rpt-u31 { font-size: 0.95rem; color: var(--rm-text); font-weight: 600; margin-bottom: 5px; overflow-wrap: break-word; word-break: break-word; }
.rpt-u32 { font-size: 0.8rem; color: var(--rm-text-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rpt-u33 { margin: 0 0 15px 0; font-size: 0.85rem; text-transform: uppercase; color: var(--rm-text-muted); letter-spacing: 1px; border-bottom: 1px solid var(--rm-border-soft); padding-bottom: 10px; }
.rpt-u34 { margin-bottom: 15px; }
.rpt-u35 { font-size: 0.75rem; color: var(--rm-text-muted); display: block; margin-bottom: 8px; }
.rpt-u36 { font-size: 0.75rem; color: var(--rm-green); font-family: monospace; font-weight: bold; }
.rpt-u37 { margin-top: 0; font-size: 1.7rem; font-weight: 600; border-bottom: 1px solid var(--rm-border); padding-bottom: 20px; display: flex; align-items: center; justify-content: space-between; }
.rpt-u38 { font-size: 0.75rem; color: var(--rm-text-muted); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.rpt-u39 { font-size: 1.2rem; color: var(--rm-text); line-height: 1.6; font-style: italic; margin-top: 20px; }
.rpt-u40 { margin-top: 50px; padding-top: 30px; border-top: 1px dashed var(--rm-border); display: flex; flex-direction: column; gap: 20px; }
.rpt-u41 { margin: 0; color: var(--rm-text); font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.rpt-u42 { margin: 0; color: var(--rm-text-muted); font-size: 0.95rem; line-height: 1.6; }
.rpt-u43 { display: flex; align-items: flex-start; gap: 15px; padding: 20px; background: rgba(59, 130, 246, 0.05); border: 1px solid rgba(59, 130, 246, 0.2); border-radius: 8px; text-decoration: none; }
.rpt-u44 { background: rgba(59,130,246,0.1); padding: 12px; border-radius: 8px; color: var(--rm-blue); }
.rpt-u45 { color: var(--rm-blue); font-size: 0.8rem; font-weight: 600; display: inline-block; margin-top: 8px; text-transform: uppercase; }
.rpt-u46 { display: flex; align-items: flex-start; gap: 15px; padding: 20px; background: rgba(46,160,67,0.05); border: 1px solid rgba(46,160,67,0.2); border-radius: 8px; text-decoration: none; }
.rpt-u47 { background: rgba(46,160,67,0.1); padding: 12px; border-radius: 8px; color: var(--rm-green); }
.rpt-u48 { color: var(--rm-green); font-size: 0.8rem; font-weight: 600; display: inline-block; margin-top: 8px; text-transform: uppercase; }
.rpt-u49 { font-size: 1.05rem; color: var(--rm-text); line-height: 1.6; margin-bottom: 5px; font-weight: 500; }
.rpt-u50 { display: flex; justify-content: space-between; align-items: flex-start; }
.rpt-u51 { margin: 0 0 15px 0; font-size: 0.9rem; color: var(--rm-text-muted); text-transform: uppercase; letter-spacing: 1px; }
.rpt-u52 { font-size: 0.65rem; padding: 3px 8px; border-radius: 4px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--rm-text-muted); }
.rpt-u53 { display: flex; align-items: baseline; gap: 8px; }
.rpt-u54 { font-size: 4rem; font-weight: 800; color: var(--rm-text); line-height: 1; font-family: 'JetBrains Mono', monospace; letter-spacing: -2px; }
.rpt-u55 { font-size: 1.2rem; color: var(--rm-text-muted); font-weight: bold; }
.rpt-u56 { display: inline-block; padding: 5px 12px; background: var(--rm-border-soft); color: var(--rm-text); border: 1px solid var(--rm-border); border-radius: 4px; font-size: 0.8rem; font-weight: bold; margin-bottom: 15px; margin-top: 15px; align-self: flex-start; }
.rpt-u57 { margin: 0; font-size: 0.9rem; color: var(--rm-text-soft); line-height: 1.6; }
.rpt-u58 { font-size: 1.2rem; font-weight: 600; color: var(--rm-text); margin-top: 5px; margin-bottom: 15px; }
.rpt-u59 { font-size: 0.8rem; color: var(--rm-text-muted); line-height: 1.5; margin-top: auto; border-top: 1px solid var(--rm-border-soft); padding-top: 10px; }
.rpt-u60 { display: none; background: rgba(248,81,73,0.05); border: 1px solid rgba(248,81,73,0.2); padding: 25px; border-radius: 8px; color: var(--rm-text); }
.rpt-u61 { margin: 0 0 10px 0; color: var(--rm-red); font-size: 1.1rem; }
.rpt-u62 { margin: 0; font-size: 0.95rem; color: var(--rm-text-muted); line-height: 1.6; }
.rpt-u63 { background: rgba(59, 130, 246, 0.05); border: 1px solid rgba(59, 130, 246, 0.2); padding: 30px; border-radius: 8px; }
.rpt-u64 { color: var(--rm-blue); margin-top: 0; font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; }
.rpt-u65 { color: var(--rm-text); font-size: 0.9rem; line-height: 2; padding-left: 0; list-style: none; margin-bottom: 0; }
.rpt-u66 { background: rgba(46,160,67,0.05); border: 1px solid rgba(46,160,67,0.2); padding: 30px; border-radius: 8px; }
.rpt-u67 { color: var(--rm-green); margin-top: 0; font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; }
.rpt-u68 { color: var(--rm-text); font-size: 0.9rem; line-height: 2; padding-left: 0; list-style: none; margin-bottom: 0; font-family: 'JetBrains Mono', monospace; }
.rpt-u69 { margin-bottom:15px; }
.rpt-u70 { display:none;margin-top:12px;font-size:.8rem;color:var(--rm-text-muted);text-decoration:underline;text-underline-offset:3px; }
.rpt-u71 { margin-top:12px;font-size:.65rem;color:var(--rm-text-muted);text-transform:uppercase;letter-spacing:1px;font-family:var(--rm-font-mono); }
.rpt-u72 { display:grid; grid-template-columns:repeat(auto-fit,minmax(120px,1fr)); gap:15px; border-left:none; padding-left:0; }
.rpt-u73 { font-size:0.7rem; color:var(--rm-text-muted); margin-top:4px; }
.rpt-u74 { margin-top:40px; }
.rpt-u75 { font-size:1.8rem; font-weight:800; margin-bottom:10px; }
.rpt-u76 { display:flex;gap:20px;margin-bottom:20px;padding:12px 16px;background:rgba(255,255,255,.02);border:1px solid var(--rm-border-soft);border-radius:var(--rm-radius-sm);font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px; }
.rpt-u77 { background: rgba(46,160,67,0.05); border: 1px solid rgba(46,160,67,0.2); padding: 20px; text-align: left; border-radius: 8px; margin-bottom: 25px; display: flex; align-items: flex-start; gap: 15px; }
.rpt-u78 { color: var(--rm-green); font-size: 1.1rem; display: block; margin-bottom: 6px; }
.rpt-u79 { margin: 0; color: var(--rm-text); font-size: 0.95rem; line-height: 1.6; }
.rpt-u80 { margin-top: 15px; font-size: 0.85rem; display: flex; gap: 18px; flex-wrap: wrap; font-family: var(--rm-font-mono); }
.rpt-u81 { display: flex; justify-content: center; flex-wrap: wrap; gap: 25px; font-size: 0.75rem; color: var(--rm-text-muted); margin-bottom: 30px; border-bottom: 1px solid var(--rm-border-soft); padding-bottom: 20px; font-family: var(--rm-font-mono); }

/* ===== LEADERBOARD DYNAMIC COLORS (via CSS custom properties) ===== */
.board-rank-dyn { color: var(--item-color); }
.board-tier-dyn { color: var(--item-color); }
.score-badge-dyn { color: var(--item-color); border: 1px solid var(--item-color); background: var(--rm-surface-light); }
.board-col-border { border-top: 3px solid var(--col-color); }
.board-col-title { color: var(--col-color); }

/* ===== LEADERBOARD COLOR VARIANTS ===== */
.board-color-green .board-rank, .board-color-green .board-tier { color: var(--rm-green); }
.board-color-green .score-badge { color: var(--rm-green); border-color: var(--rm-green); }
.board-color-green .leaderboard-col { border-top-color: var(--rm-green); }
.board-color-green h4 { color: var(--rm-green); }

.board-color-yellow .board-rank, .board-color-yellow .board-tier { color: var(--rm-yellow); }
.board-color-yellow .score-badge { color: var(--rm-yellow); border-color: var(--rm-yellow); }
.board-color-yellow .leaderboard-col { border-top-color: var(--rm-yellow); }
.board-color-yellow h4 { color: var(--rm-yellow); }

.board-color-red .board-rank, .board-color-red .board-tier { color: var(--rm-red); }
.board-color-red .score-badge { color: var(--rm-red); border-color: var(--rm-red); }
.board-color-red .leaderboard-col { border-top-color: var(--rm-red); }
.board-color-red h4 { color: var(--rm-red); }

/* Data-color attribute styling (CSP safe) */
[data-color="var(--rm-green)"] { color: var(--rm-green); border-color: var(--rm-green); }
[data-color="var(--rm-yellow)"] { color: var(--rm-yellow); border-color: var(--rm-yellow); }
[data-color="var(--rm-red)"] { color: var(--rm-red); border-color: var(--rm-red); }
.score-badge[data-color="var(--rm-green)"] { background: rgba(46,160,67,0.1); color: var(--rm-green); border: 1px solid rgba(46,160,67,0.3); }
.score-badge[data-color="var(--rm-yellow)"] { background: rgba(210,153,34,0.1); color: var(--rm-yellow); border: 1px solid rgba(210,153,34,0.3); }
.score-badge[data-color="var(--rm-red)"] { background: rgba(248,81,73,0.1); color: var(--rm-red); border: 1px solid rgba(248,81,73,0.3); }
.board-col-border[data-color="var(--rm-green)"] { border-top: 3px solid var(--rm-green); }
.board-col-border[data-color="var(--rm-yellow)"] { border-top: 3px solid var(--rm-yellow); }
.board-col-border[data-color="var(--rm-red)"] { border-top: 3px solid var(--rm-red); }

/* ===== NAV RESPONSIVE ===== */
@media (max-width: 980px) {
    .logo-img { width: 36px; height: 36px; }
    .brand-text { font-size: 1.1rem; }
    .brand-baseline { font-size: 0.5rem; }
}
@media (max-width: 600px) {
    .logo-img { width: 32px; height: 32px; }
    .brand-text { font-size: 1rem; }
}
.font-mono { font-family: var(--rm-font-mono); }

/* ===== JS-SAFE UTILITY CLASSES (remplacement des .style. inline) ===== */
.js-hidden { display: none !important; }
.js-visible { display: block; }
.js-visible-flex { display: flex; }
.js-visible-inline { display: inline-block; }
.js-overflow-locked { overflow: hidden; }
.js-opacity-0 { opacity: 0; transition: opacity 0.8s; }
.js-opacity-1 { opacity: 1; }

/* Tone toggle */
.js-tone-active-roast { background: rgba(248, 81, 73, 0.1); color: var(--rm-red); }
.js-tone-active-coach { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.js-tone-inactive { background: transparent; color: var(--rm-text-muted); }

/* Ghost slider */
.js-ghost-off { background-color: #30363d; }
.js-ghost-on { background-color: #8a2be2; }
.js-slider-off { transform: translateX(0); }
.js-slider-on { transform: translateX(20px); }

/* FAQ toggle */
.js-faq-open { color: var(--rm-red); }
.js-faq-closed { color: var(--rm-text-muted); }

/* Guide/nav active link */
.js-nav-active { color: var(--rm-text); }
.js-nav-inactive { color: var(--rm-text-muted); }

/* Hall/tools copy feedback */
.js-copy-success { color: var(--rm-green); }
.js-btn-copied { background-color: var(--rm-green); }
