/*
 * fleet-id's theme layer: token overrides only, no new components.
 *
 * Every fleet app themes shared/ui by overriding tokens rather than restyling
 * components, so they read as one system. fleet-id is the app a person sees
 * first and least often, so it stays deliberately plain — a green accent to
 * distinguish it from the five, and nothing else.
 */
:root {
    --accent: #2f6f4e;
    --accent-strong: #245c3f;

    /* Activate the two faces base.html.twig already loads. Without this the
       tokens stay at system-ui, so the fonts were fetched but never used and
       display text had no contrast against body text. Space Grotesk carries
       headings and figures; Inter the running text. */
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Space Grotesk', var(--font-body);

    /* light-dark() reads color-scheme, which tokens.css sets from data-theme
       and falls back to the OS preference — the correct three-way switch. */
    --accent-soft: light-dark(#e6f2ec, #16281f);
    --accent-on-soft: light-dark(#1d5c38, #4a9a72);
}

/* App cards on the home dashboard */
.card .app-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--r-m);
    background: var(--accent-soft);
    color: var(--accent-on-soft);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card .app-desc {
    margin: 0 0 0.5rem;
    color: var(--muted);
    font-size: 0.875rem;
}

.card .app-url {
    font-size: 0.8rem;
}

.card .app-url .bi {
    font-size: 0.7rem;
    vertical-align: 0.05em;
    text-decoration: none;
    display: inline-block;
    margin-left: 0.3em;
}

/* Signed-in status note at the bottom of the home page */
.signed-in-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem 0 0;
    padding: 0.6rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--r-m);
    background: var(--card-2);
    color: var(--muted);
    font-size: 0.85rem;
}
