:root {
    --axis-primary: #0b3d91;
    --axis-secondary: #1769aa;
    --axis-accent: #f4b400;
    --axis-surface: #f6f8fb;
    --axis-text: #1f2a37;
}

body {
    background: linear-gradient(160deg, #f8fafc 0%, #eef3f9 50%, #e8f0fb 100%);
    color: var(--axis-text);
    min-height: 100vh;
}

.nav-wrapper {
    background: linear-gradient(90deg, var(--axis-primary), var(--axis-secondary));
}

.brand-logo {
    font-weight: 600;
    letter-spacing: 0.4px;
}

.page-shell {
    padding-top: 26px;
    padding-bottom: 40px;
}

.axis-card {
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(23, 105, 170, 0.12);
}

.hero-panel {
    border-radius: 16px;
    padding: 28px;
    color: #fff;
    background: linear-gradient(135deg, #0b3d91 0%, #1c6bb0 48%, #2f8bc6 100%);
}

.page-title {
    margin-top: 0;
    font-weight: 600;
}

.helper-gap {
    margin-top: 10px;
}

.geo-box {
    background: #fff;
    border: 1px dashed #9eb9d6;
    border-radius: 10px;
    padding: 14px;
    margin-top: 8px;
}

.kv-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ecf0f4;
    padding: 8px 0;
}

.kv-row:last-child {
    border-bottom: 0;
}

.badge-status {
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    background: #e3f2fd;
    color: #0b3d91;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.timeline {
    margin-top: 18px;
    padding-left: 18px;
    border-left: 3px solid #d0ddeb;
}

.timeline-item {
    position: relative;
    margin-bottom: 14px;
    padding-left: 12px;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -25px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0b3d91;
}

.timeline-title {
    font-weight: 600;
    color: #0b3d91;
}

.timeline-meta {
    font-size: 12px;
    color: #567;
}

.ficha-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.ficha-qr {
    min-width: 128px;
    text-align: right;
}

.ficha-qr small {
    display: block;
    margin-bottom: 6px;
    color: #607d8b;
}

.ficha-qr-box {
    display: inline-block;
    background: #fff;
    border: 1px solid #d7e2ef;
    border-radius: 8px;
    padding: 6px;
}

.ficha-qr-box canvas,
.ficha-qr-box img {
    width: 120px !important;
    height: 120px !important;
}

@media (max-width: 600px) {
    .hero-panel {
        padding: 20px;
    }

    .page-shell {
        padding-top: 14px;
    }
}

@media print {
    .no-print {
        display: none !important;
    }

    body {
        background: #fff;
    }

    .axis-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .ficha-qr {
        min-width: 120px;
    }
}
