/*
 * Shared presentation contract for the standalone Kaliber prototype pages.
 * Typography intentionally stays out of this file.  Each prototype page owns
 * its original font cascade, including its own Eurostile declaration and
 * body-copy rules.  A shared global family changed that cascade differently
 * on different pages, which is precisely the regression this contract avoids.
 */

/* Header actions have two layouts in the original prototype: floating pages
 * and the Shop/HQ top bar.  Keep each layout intact while avoiding collisions
 * on narrow screens. */
.kaliber-vote-btn {
    background: linear-gradient(135deg, #15803d, #22c55e, #0f766e);
    color: #fff;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(20,184,166,.30);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease;
    position: fixed;
    top: 20px;
    right: 190px;
    z-index: 100;
}

.kaliber-vote-btn:hover,
.kaliber-vote-btn:focus-visible {
    color: #fff;
    transform: scale(1.04);
    box-shadow: 0 6px 20px rgba(34,197,94,.55);
}

.has-kaliber-top-nav .top-nav-wrapper .kaliber-vote-btn {
    position: static;
    margin-left: .75rem;
    white-space: nowrap;
}

@media (max-width: 560px) {
    .kaliber-vote-btn {
        top: 66px;
        right: 10px;
        padding: 8px 15px;
        font-size: .8rem;
    }
    .has-kaliber-top-nav .top-nav-wrapper .kaliber-vote-btn {
        position: static;
    }
}

/* The dashboard Cattiva is intentionally undiscoverable for everyone except
 * the server-authorized Portal Dashboard role.  JS only adds this class after
 * the same-origin capability endpoint approves the session. */
.nav-center-logo.is-dashboard-authorized,
[data-kaliber-dashboard-cattiva].is-dashboard-authorized {
    cursor: pointer;
    pointer-events: auto !important;
}
