/*
 * IntelliAgent colors for Hemmelig.
 * Hemmelig defines its palette as CSS variables inside cascade layers; these
 * rules are unlayered, so they win regardless of load order.
 * Brand blues from the logo: #2078b8 (deep), #68a8e0 (light).
 */

:root {
    /* Slightly darker than #2078b8 so white button text passes WCAG AA. */
    --color-accent: #1c6dab;
    --color-on-accent: #ffffff;
}

.dark {
    /* Neutrals tinted toward navy instead of Hemmelig's green-grey. */
    --color-canvas: #0d1420;
    --color-surface: #111a28;
    --color-raised: #172233;

    --color-line-faint: #172233;
    --color-line-soft: #1d2a3d;
    --color-line: #26354b;
    --color-line-strong: #364862;

    --color-accent: #68a8e0;
    --color-on-accent: #0b1622;
}

/*
 * The logo already reads "intelliAgent", so hide the instance name printed next
 * to it (header, dashboard sidebar, mobile bar) and give the logo a bit more room.
 * Only applies when the uploaded logo (a data: URL image) is shown.
 */
a > img[src^="data:image"] + span {
    display: none;
}

a > img[src^="data:image"] {
    height: 1.5rem;
    max-width: none;
}

/* Footer: drop Hemmelig's privacy/terms/api/github links; keep language and theme toggles. */
footer a[href="/privacy"],
footer a[href="/terms"],
footer a[href="/api/docs"],
footer a[href*="github.com"] {
    display: none;
}

footer .border-l {
    border-left: 0;
    padding-left: 0;
}
