:root {
    --bg: #f7fbff;
    --card: #ffffff;
    --muted: #6b7280;
    --accent: #06a77d;
    --accent-2: #0b71c6;
    --radius: 14px;
    --gap: 16px;
    --maxw: 1100px;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

.wrap {
    width: 100%;
    max-width: var(--maxw)
}

h1 {
    font-size: 20px;
    margin: 0
}

p.lead {
    margin: 4px 0 0;
    color: var(--muted)
}


.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--gap);
    margin-top: 18px
}

.card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 14px;
    box-shadow: 0 6px 18px rgba(13, 23, 33, 0.06);
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 160px
}

.card .title {
    display: flex;
    align-items: center;
    gap: 10px
}

.badge {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px
}

.focus {
    font-weight: 700
}

.small {
    font-size: 13px;
    color: var(--muted)
}


.b1 {
    background: #ff7a7a
}

.b2 {
    background: #ffb86b
}

.b3 {
    background: #ffd36b
}

.b4 {
    background: #8bd46f
}

.b5 {
    background: #4fc3f7
}

.b6 {
    background: #9f8bff
}

.b7 {
    background: #ff8bd4
}

.b8 {
    background: #ffd9a3
}

.b9 {
    background: #7fd1b9
}

.b10 {
    background: #a0c1ff
}

.b11 {
    background: #ff99aa
}

.b12 {
    background: #6ad8a0
}
/* Increase font size inside cards */
.card .focus {
font-size: 16px; /* title inside card */
}

.card .small {
font-size: 14px; /* subtitle / small description */
}

.card > div:not(.title) {
font-size: 15px; /* main field visit info or other text */
}

@media print {
    body {
        padding: 0
    }

    .wrap {
        max-width: 100%
    }

    .card {
        box-shadow: none;
        border: 1px solid #eee
    }

    header .logo {
        display: none
    }
}