/* Hide JetBrains Writerside footer */
.footer__powered,
[data-test="powered-block"],
.app__footer {
    display: none !important;
}

/* Enforce Arial font across all elements for perfect Vietnamese rendering */
*, *::before, *::after,
html, body,
.layout, .app, .wh-header, .toc, .toc-item,
.article, .article *,
h1, h2, h3, h4, h5, h6,
p, span, a, li, button, input, textarea,
.title, .title__content,
[class*="rs-"], [class*="wt-"], [class*="toc-"], [class*="wh-"] {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
}

code, pre, kbd, samp, [class*="code"] {
    font-family: "JetBrains Mono", Consolas, "Courier New", monospace !important;
}

/* Leafy Green Header */
.app__header, header.app__header, .wh-header {
    background: #1e7e34 !important;
    background: linear-gradient(90deg, #1b6d30 0%, #28a745 100%) !important;
    border-bottom: 1px solid #165b27 !important;
}

.wh-header__product-name {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.wh-header__switchers button svg,
.wh-header__switchers button path {
    fill: #ffffff !important;
    color: #ffffff !important;
}
