/* ============================================================================
   RekenMaat.com — één design-systeem, light + dark.
   Alle kleuren komen uit tokens; nooit een losse hex in een component.
   ========================================================================= */

:root {
    --brand: #0d9488;
    --brand-strong: #0f766e;
    --brand-ink: #ffffff;

    --bg: #f6f7f9;
    --surface: #ffffff;
    --surface-2: #eef1f4;
    --border: #dbe1e8;
    --text: #16202b;
    --text-muted: #5a6672;
    --shadow: 0 1px 2px rgba(16, 32, 43, .06), 0 6px 20px rgba(16, 32, 43, .06);
    --radius: 14px;
    --radius-sm: 10px;
    --maxw: 960px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0e1418;
        --surface: #161e24;
        --surface-2: #1d272e;
        --border: #2a353d;
        --text: #e7edf1;
        --text-muted: #9fadb8;
        --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .28);
    }
}

/* Handmatige toggle wint altijd van de systeemvoorkeur, in beide richtingen. */
:root[data-theme="light"] {
    --bg: #f6f7f9; --surface: #ffffff; --surface-2: #eef1f4; --border: #dbe1e8;
    --text: #16202b; --text-muted: #5a6672;
    --shadow: 0 1px 2px rgba(16,32,43,.06), 0 6px 20px rgba(16,32,43,.06);
}
:root[data-theme="dark"] {
    --bg: #0e1418; --surface: #161e24; --surface-2: #1d272e; --border: #2a353d;
    --text: #e7edf1; --text-muted: #9fadb8;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }

a { color: var(--brand-strong); }
@media (prefers-color-scheme: dark) { a { color: #2dd4bf; } }
:root[data-theme="dark"] a { color: #2dd4bf; }

h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.2; margin: .2em 0 .3em; }
h2 { font-size: 1.3rem; margin: 1.6em 0 .5em; }

.skip {
    position: absolute; left: -9999px; top: 0; background: var(--brand); color: var(--brand-ink);
    padding: 10px 16px; border-radius: 0 0 var(--radius-sm) 0; z-index: 100;
}
.skip:focus { left: 0; }

/* ---- Header --------------------------------------------------------------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 40; }
.header-inner { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; }
.brand-mark { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; display: block; }
.brand-name { font-size: 1.15rem; }
.main-nav { margin-left: 4px; }
.main-nav a { color: var(--text-muted); text-decoration: none; font-size: .95rem; }
.main-nav a:hover { color: var(--text); }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.theme-btn, .locale-btn {
    background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
    border-radius: 999px; cursor: pointer; font-size: .9rem; line-height: 1;
}
.theme-btn { width: 38px; height: 38px; font-size: 1.1rem; }
.theme-btn:hover, .locale-btn:hover { border-color: var(--brand); }

/* ---- Locale picker (CSS-only dropdown) ------------------------------------ */
.locale-picker { position: relative; }
.locale-btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; }
.locale-cur { font-weight: 600; }
.locale-menu {
    position: absolute; right: 0; top: calc(100% + 6px); min-width: 210px; margin: 0; padding: 6px; list-style: none;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
    box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-4px);
    transition: opacity .12s, transform .12s, visibility .12s;
}
.locale-picker:hover .locale-menu, .locale-picker:focus-within .locale-menu { opacity: 1; visibility: visible; transform: none; }
.locale-menu a { display: block; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--text); font-size: .92rem; }
.locale-menu a:hover { background: var(--surface-2); }
.locale-menu a.is-current { color: var(--brand-strong); font-weight: 700; }

/* ---- Main ----------------------------------------------------------------- */
main { padding-block: 28px 44px; min-height: 60vh; }

.hero { text-align: center; padding: 22px 0 8px; }
.hero .lede { color: var(--text-muted); font-size: 1.1rem; max-width: 640px; margin-inline: auto; }
.lede { font-size: 1.08rem; color: var(--text-muted); }

.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .74rem; font-weight: 700; color: var(--brand-strong); }
.crumb { font-size: .85rem; color: var(--text-muted); margin-bottom: 8px; }
.crumb a { text-decoration: none; }

/* ---- Calculator grid / tiles ---------------------------------------------- */
.cat-section { margin-top: 26px; }
.cat-title { margin-bottom: 12px; }
.calc-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.calc-tile { }
.calc-tile > a, .calc-tile-inner {
    display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px 16px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    text-decoration: none; color: var(--text); box-shadow: var(--shadow);
    transition: transform .1s, border-color .1s;
}
.calc-tile > a:hover { transform: translateY(-2px); border-color: var(--brand); }
.calc-icon { font-size: 1.4rem; line-height: 1; }
.calc-name { font-weight: 600; font-size: .98rem; }
.calc-tile.is-soon .calc-tile-inner { opacity: .72; }
.badge-soon {
    margin-left: auto; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
    color: var(--text-muted); background: var(--surface-2); border: 1px solid var(--border);
    padding: 3px 8px; border-radius: 999px; white-space: nowrap;
}

/* ---- Calculator page ------------------------------------------------------ */
.calc-page { max-width: 720px; }
.calc {
    display: grid; gap: 14px; margin: 18px 0; padding: 20px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select {
    font-size: 1rem; padding: 11px 12px; border-radius: var(--radius-sm);
    border: 1px solid var(--border); background: var(--bg); color: var(--text); width: 100%;
}
.field input:focus, .field select:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }

.btn-primary {
    justify-self: start; background: var(--brand); color: var(--brand-ink); border: 0; cursor: pointer;
    font-size: 1rem; font-weight: 700; padding: 12px 22px; border-radius: var(--radius-sm);
}
.btn-primary:hover { background: var(--brand-strong); }

.result { margin: 18px 0; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.result-main { display: flex; flex-direction: column; gap: 2px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.result-label { color: var(--text-muted); font-size: .9rem; }
.result-value { font-size: 2rem; font-weight: 800; color: var(--brand-strong); }
.result-breakdown { display: grid; gap: 8px; margin: 14px 0 0; }
.result-breakdown > div { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.result-breakdown dt { color: var(--text-muted); margin: 0; }
.result-breakdown dd { margin: 0; font-weight: 600; }
.result-sub { font-size: 1rem; margin: 18px 0 6px; padding-top: 12px; border-top: 1px solid var(--border); }
.field-check { flex-direction: row; }
.field-check label { display: flex; align-items: center; gap: 8px; font-weight: 500; }

.table-scroll { overflow-x: auto; margin-top: 16px; }
.schedule { width: 100%; border-collapse: collapse; font-size: .92rem; }
.schedule th, .schedule td { padding: 8px 10px; border-bottom: 1px solid var(--border); text-align: right; white-space: nowrap; }
.schedule th:first-child, .schedule td:first-child { text-align: left; }
.schedule th { color: var(--text-muted); font-weight: 600; }

.notice {
    margin: 18px 0; padding: 14px 16px; border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--brand) 12%, var(--surface)); border: 1px solid var(--brand); color: var(--text);
}
.disclaimer { font-size: .85rem; color: var(--text-muted); }

.explain { margin-top: 30px; }
.explain details {
    border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; margin: 8px 0; background: var(--surface);
}
.explain summary { cursor: pointer; font-weight: 600; }

.prose { max-width: 680px; }
.prose p { color: var(--text); }

.related { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); }

/* ---- Ads ------------------------------------------------------------------ */
.rm-ad { display: block; margin: 20px 0; }
.rm-anchor {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--surface); border-top: 1px solid var(--border);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, .12); padding: 4px 8px; min-height: 60px;
}
.rm-anchor-close {
    position: absolute; top: -14px; right: 10px; width: 28px; height: 28px; border-radius: 999px;
    border: 1px solid var(--border); background: var(--surface); color: var(--text);
    font-size: 1.1rem; line-height: 1; cursor: pointer; z-index: 61;
}
.rm-anchor-close:hover { border-color: var(--brand); }
.rm-ad--placeholder {
    display: grid; place-items: center; min-height: 90px; color: var(--text-muted); font-size: .8rem;
    letter-spacing: .05em; text-transform: uppercase; border: 1px dashed var(--border); border-radius: var(--radius-sm); background: var(--surface-2);
}

/* ---- Footer --------------------------------------------------------------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 26px 0; margin-top: 30px; }
.footer-tagline { font-weight: 600; margin: 0 0 8px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 10px; }
.footer-nav a { color: var(--text-muted); text-decoration: none; font-size: .9rem; }
.footer-nav a:hover { color: var(--text); }
.footer-disclaimer, .footer-legal { color: var(--text-muted); font-size: .8rem; margin: 4px 0; }

@media (max-width: 520px) {
    .brand-name { display: none; }
    .result-value { font-size: 1.6rem; }
}

/* ---- Footer: logo + vertrouwen + cookievoorkeuren ------------------------- */
.footer-brand { display: flex; justify-content: center; margin-bottom: 18px; }
.footer-brand img {
    width: 100%; max-width: 460px; height: auto;
    background: #ffffff; border: 1px solid var(--border); border-radius: 14px; padding: 16px 24px;
}
.footer-trust {
    color: var(--text); font-size: .9rem; margin: 0 0 12px;
    padding: 8px 12px; border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--brand) 10%, var(--surface));
    border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--border));
}

/* ---- Categorie-titels als link (homepage) + landingspagina --------------- */
.cat-title a { color: inherit; text-decoration: none; }
.cat-title a:hover { color: var(--brand-strong); text-decoration: underline; }
.cat-landing > .eyebrow { font-size: 2rem; letter-spacing: 0; }
.cat-landing > h1 { margin-top: 4px; }

/* ---- Diverse ------------------------------------------------------------- */
.privacy-updated { color: var(--text-muted); font-size: .85rem; margin-top: -4px; }
.notfound .eyebrow, .prose .eyebrow { font-size: 2rem; letter-spacing: 0; }
.notfound .calc-grid { margin-top: 12px; }

/* ---- Toegankelijkheid ---------------------------------------------------- */
/* Duidelijke focus-indicator voor toetsenbordnavigatie. */
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible {
    outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 3px;
}

/* Respecteer de systeemvoorkeur voor minder beweging. */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==== Homepage: rubriekhub ================================================= */
.section-title { margin: 8px 0 14px; }
.value-strip { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.value-strip li { background: var(--surface-2); border-radius: var(--radius-sm); padding: 12px 14px; }
.value-strip strong { display: block; font-size: .92rem; }
.value-strip span { color: var(--text-muted); font-size: .82rem; }

.cat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 14px; }
.cat-card { display: flex; align-items: center; gap: 16px; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; text-decoration: none; color: var(--text); transition: transform .12s, border-color .12s, box-shadow .12s; }
.cat-card:hover { transform: translateY(-2px); border-color: var(--brand); box-shadow: var(--shadow); }
.cat-card-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 13px; background: color-mix(in srgb, var(--brand) 12%, var(--surface)); color: var(--brand-strong); flex-shrink: 0; }
.cat-card-ico svg { width: 28px; height: 28px; }
.cat-card-txt { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.cat-card-title { font-weight: 700; font-size: 1.1rem; }
.cat-card-desc { color: var(--text-muted); font-size: .9rem; }
.cat-card-count { color: var(--brand-strong); font-size: .78rem; font-weight: 600; margin-top: 3px; }
.cat-card-arrow { color: var(--text-muted); font-size: 1.2rem; }
.cat-card:hover .cat-card-arrow { color: var(--brand); }
.home-about { margin-top: 34px; max-width: 760px; }

/* ==== Categoriepagina ===================================================== */
.cat-head { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.cat-head-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: color-mix(in srgb, var(--brand) 12%, var(--surface)); color: var(--brand-strong); flex-shrink: 0; }
.cat-head-ico svg { width: 32px; height: 32px; }
.cat-about { margin-top: 30px; max-width: 760px; }

/* ==== Rekentool-metablok ================================================== */
.tool-meta { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border); }
.tool-meta h2 { margin-bottom: 10px; }
.reliability { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.rel-badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.reliability.is-exact .rel-badge { background: color-mix(in srgb, var(--brand) 16%, var(--surface)); color: var(--brand-strong); }
.reliability.is-est .rel-badge { background: color-mix(in srgb, #b26a00 16%, var(--surface)); color: #9a5b00; }
.tool-meta-privacy { color: var(--text-muted); font-size: .85rem; }

/* JS toggelt het chat-paneel, de zoekresultaten en de chips via het [hidden]-
   attribuut. Forceer dat [hidden] wint van class-gebaseerde display-regels (anders
   overschrijft bv. .rm-chat-panel{display:flex} het verbergen → paneel sluit niet). */
[hidden] { display: none !important; }

/* ==== Zoekbalk (scroll-reactief) ========================================== */
.rm-search { position: fixed; top: 0; left: 0; right: 0; z-index: 70; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: 0 2px 12px rgba(0, 0, 0, .10); transform: translateY(-110%); transition: transform .22s ease; }
.rm-search.is-visible { transform: translateY(0); }
.rm-search-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 0; }
.rm-search-ico { font-size: 1rem; }
#rmSearchInput { flex: 1 1 240px; min-width: 170px; height: 40px; padding: 0 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg); color: var(--text); }
.rm-search-chips { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rm-chips-label { color: var(--text-muted); font-size: .8rem; }
.rm-search-chips a { font-size: .82rem; padding: 4px 11px; border-radius: 999px; background: var(--surface-2); color: var(--text); text-decoration: none; }
.rm-search-chips a:hover { background: var(--brand); color: var(--brand-ink); }
.rm-search-results { flex-basis: 100%; display: flex; flex-direction: column; }
.rm-search-results a { padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--text); }
.rm-search-results a:hover { background: var(--surface-2); }
.rm-noresult { color: var(--text-muted); font-size: .85rem; padding: 6px 2px; }

/* ==== Chat-maat =========================================================== */
.rm-chat { position: fixed; left: 18px; bottom: 18px; z-index: 65; }
.has-anchor .rm-chat { bottom: 78px; }
.rm-chat-launch { display: inline-flex; align-items: center; gap: 8px; background: var(--brand); color: var(--brand-ink); border: 0; border-radius: 999px; padding: 11px 16px; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); font-weight: 600; font-size: .9rem; }
.rm-chat-launch:hover { background: var(--brand-strong); }
.rm-chat-ico { font-size: 1.05rem; }
.rm-chat-panel { position: absolute; left: 0; bottom: 56px; width: 330px; max-width: calc(100vw - 36px); height: 440px; max-height: calc(100vh - 130px); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 10px 40px rgba(0, 0, 0, .22); overflow: hidden; }
.rm-chat-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--brand); color: var(--brand-ink); }
.rm-chat-head img { border-radius: 6px; }
.rm-chat-name { font-weight: 700; font-size: .95rem; flex: 1; }
.rm-chat-x { background: transparent; border: 0; color: var(--brand-ink); font-size: 1.35rem; cursor: pointer; line-height: 1; }
.rm-chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.rm-msg { max-width: 86%; padding: 9px 12px; border-radius: 14px; font-size: .9rem; line-height: 1.45; }
.rm-bot { align-self: flex-start; background: var(--surface-2); color: var(--text); border-bottom-left-radius: 4px; }
.rm-user { align-self: flex-end; background: var(--brand); color: var(--brand-ink); border-bottom-right-radius: 4px; }
.rm-msg-links { display: flex; flex-direction: column; gap: 5px; margin-top: 8px; }
.rm-msg-links a { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; text-decoration: none; color: var(--brand-strong); font-weight: 600; font-size: .85rem; }
.rm-msg-links a:hover { border-color: var(--brand); }
.rm-chat-form { display: flex; gap: 6px; padding: 10px; border-top: 1px solid var(--border); }
#rmChatInput { flex: 1; height: 38px; padding: 0 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg); color: var(--text); }
.rm-chat-send { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--brand); color: var(--brand-ink); cursor: pointer; flex-shrink: 0; }
.rm-chat-send:hover { background: var(--brand-strong); }

/* ==== Verticale sticky-rail (rechtsboven) ================================= */
.rm-rail { position: fixed; right: 12px; top: 84px; z-index: 35; display: none; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 16px 6px 6px; }
.rm-rail-close { position: absolute; top: -10px; right: -10px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; font-size: .9rem; line-height: 1; }
.rm-rail-ph { width: 160px; height: 600px; min-height: 0; margin: 0; }
.rm-anchor-ph { min-height: 54px; margin: 0; }
@media (min-width: 1400px) { .rm-rail { display: block; } }

/* ==== Boom-watermerk op de achtergrond ==================================== */
.rm-bg {
    position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background-image: url('/img/tree-bg.png'); background-repeat: no-repeat;
    background-position: center 26%; background-size: min(78vw, 640px);
    opacity: .09;
}
:root[data-theme="dark"] .rm-bg { opacity: .06; }
@media (prefers-color-scheme: dark) { .rm-bg { opacity: .06; } }

/* ==== Rekentool: pictogram boven de titel ================================= */
.calc-hero-ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: color-mix(in srgb, var(--brand) 12%, var(--surface)); font-size: 1.7rem; line-height: 1; margin-bottom: 8px; }

/* ==== Homepage: populair + onlangs gebruikt =============================== */
.quick-row { margin: 26px 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-row a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: var(--text); font-size: .9rem; }
.chip-row a:hover { border-color: var(--brand); color: var(--brand-strong); }

/* ==== Toolpagina: delen / printen ======================================== */
.tool-actions { display: flex; gap: 10px; margin-top: 14px; }
.tool-act { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; font-size: .88rem; }
.tool-act:hover { border-color: var(--brand); color: var(--brand-strong); }

/* ==== Chat: snelle antwoorden + toast ==================================== */
.rm-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.rm-quick-chip { padding: 6px 11px; border-radius: 999px; border: 1px solid var(--brand); background: transparent; color: var(--brand-strong); cursor: pointer; font-size: .82rem; }
.rm-quick-chip:hover { background: var(--brand); color: var(--brand-ink); }
.rm-toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%) translateY(10px); z-index: 90; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-size: .85rem; opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; }
.rm-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media print {
    .rm-search, .rm-chat, .rm-rail, .rm-anchor, .site-header, .footer-brand, .tool-actions, .rm-bg, .related, .tool-meta { display: none !important; }
}

@media (max-width: 520px) {
    .rm-chat-txt { display: none; }
    .rm-chat-launch { padding: 12px; }
    .rm-chat { left: 12px; bottom: 12px; }
    .has-anchor .rm-chat { bottom: 74px; }
}
