/* EVV app (providers, phones first). Uses the platform's Bootstrap and tokens (platform.css). */
.evv-app {
    --evv: #0f7c8c;
    --evv-dark: #0b5f6b;
    --ahp-app: #0f7c8c;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--ahp-bg);
}

.evv-top {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: calc(.6rem + env(safe-area-inset-top)) 1rem .6rem;
    background: linear-gradient(180deg, var(--evv), var(--evv-dark));
    color: #fff;
}
.evv-top a { color: inherit; text-decoration: none; }
.evv-top-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .18); font-size: 1.1rem; }
.evv-top-title { font-weight: 600; line-height: 1.1; }
.evv-top-sub { font-size: .75rem; opacity: .85; }

.evv-main {
    flex: 1 1 auto;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding: 1rem 1rem calc(5.5rem + env(safe-area-inset-bottom));
}

.evv-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    display: flex;
    justify-content: space-around;
    padding: .35rem .5rem calc(.35rem + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--ahp-border);
    box-shadow: 0 -2px 12px rgba(35, 50, 74, .06);
}
.evv-nav a {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .1rem;
    padding: .35rem 0;
    border-radius: 12px;
    color: var(--ahp-muted);
    font-size: .72rem;
    text-decoration: none;
}
.evv-nav a .bi { font-size: 1.35rem; }
.evv-nav a.active { color: var(--evv); font-weight: 600; background: color-mix(in srgb, var(--evv) 10%, white); }

/* Phones zoom into inputs whose text is under 16px (iOS Safari, Chrome mobile): keep them at 16px. */
.evv-app input, .evv-app textarea, .evv-app select, .evv-app .e-input { font-size: 16px !important; }

.evv-hello { margin: .25rem 0 1rem; }
.evv-hello h1 { font-size: 1.35rem; font-weight: 600; margin: 0; }
.evv-hello p { margin: 0; color: var(--ahp-muted); font-size: .9rem; }

.evv-section { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ahp-muted); margin: 1.25rem 0 .5rem; }

.evv-card {
    background: #fff;
    border: 1px solid var(--ahp-border);
    border-radius: 16px;
    padding: 1rem;
    margin-bottom: .75rem;
    box-shadow: 0 1px 2px rgba(35, 50, 74, .04);
}
.evv-card.is-live { border-color: var(--evv); box-shadow: 0 0 0 3px color-mix(in srgb, var(--evv) 18%, transparent); }
.evv-card-time { font-weight: 600; font-size: 1.05rem; }
.evv-card-client { font-size: 1.1rem; font-weight: 600; margin-top: .15rem; }
.evv-card-meta { color: var(--ahp-muted); font-size: .85rem; }
.evv-card a.evv-card-link { color: inherit; text-decoration: none; display: block; }

.evv-timer { font-variant-numeric: tabular-nums; font-size: 2rem; font-weight: 600; color: var(--evv); line-height: 1; }

.evv-punch {
    width: 100%;
    min-height: 56px;
    border: 0;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}
.evv-punch.in { background: #1e8a5a; }
.evv-punch.out { background: #c0392b; }
.evv-punch:disabled { opacity: .65; }
.evv-punch-secondary { width: 100%; min-height: 48px; border-radius: 14px; }

.evv-punches { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .75rem; }
.evv-punches > div { background: var(--ahp-bg); border-radius: 12px; padding: .5rem .75rem; font-size: .85rem; }
.evv-punches .lbl { color: var(--ahp-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .03em; }

.evv-total { display: flex; justify-content: space-between; align-items: baseline; }
.evv-total .big { font-size: 1.75rem; font-weight: 600; }

.evv-day { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px solid var(--ahp-border); font-size: .92rem; }
.evv-day:last-child { border-bottom: 0; }

.evv-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .75rem; }
.evv-actions .btn { border-radius: 12px; min-height: 44px; }

@media (min-width: 768px) {
    .evv-nav { max-width: 640px; margin: 0 auto; border-radius: 16px 16px 0 0; border: 1px solid var(--ahp-border); }
}
