:root {
    --kizo-primary: #146c5f;
    --kizo-accent: #e7b84b;
    --kizo-ink: #1f2933;
    --kizo-bg: #f6f8f7;
}

body {
    background: var(--kizo-bg);
    color: var(--kizo-ink);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.app-shell {
    padding-bottom: 82px;
}

.app-container {
    max-width: 1040px;
    padding: 16px;
}

.app-card {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(31, 41, 51, .08);
}

.brand-mark {
    align-items: center;
    background: var(--kizo-primary);
    border-radius: 18px;
    color: #fff;
    display: inline-flex;
    font-size: 2rem;
    font-weight: 800;
    height: 64px;
    justify-content: center;
    width: 64px;
}

.login-card {
    max-width: 420px;
}

.btn-primary {
    --bs-btn-bg: var(--kizo-primary);
    --bs-btn-border-color: var(--kizo-primary);
    --bs-btn-hover-bg: #0f5a50;
    --bs-btn-hover-border-color: #0f5a50;
}

.btn-touch {
    min-height: 48px;
}

.metric-card {
    min-height: 118px;
}

.metric-value {
    font-size: clamp(1.8rem, 7vw, 2.7rem);
    font-weight: 800;
}

.sop-card {
    border-left: 5px solid var(--kizo-primary);
}

.check-row {
    align-items: center;
    background: #fff;
    border: 1px solid #e7ecea;
    border-radius: 12px;
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    min-height: 64px;
    padding: 12px;
}

.check-row input[type="checkbox"] {
    height: 28px;
    min-width: 28px;
}

.check-row.done {
    background: #edf8f4;
    border-color: #b7e4d3;
}

.sticky-submit {
    background: linear-gradient(180deg, rgba(246,248,247,0), rgba(246,248,247,1) 20%);
    bottom: 72px;
    left: 0;
    padding: 18px 16px 12px;
    position: sticky;
    right: 0;
    z-index: 10;
}

.bottom-nav {
    align-items: center;
    background: #fff;
    border-top: 1px solid #e4e9e7;
    bottom: 0;
    display: flex;
    gap: 4px;
    justify-content: space-around;
    left: 0;
    min-height: 70px;
    position: fixed;
    right: 0;
    z-index: 1000;
}

.bottom-nav-item {
    align-items: center;
    color: #52616b;
    display: flex;
    flex: 1;
    flex-direction: column;
    font-size: .78rem;
    gap: 2px;
    padding: 8px 4px;
    text-decoration: none;
}

.nav-icon {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 1.2rem;
    font-weight: 800;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.bottom-nav-item:hover,
.bottom-nav-item:focus {
    color: var(--kizo-primary);
}

.toast-notice {
    border: 0;
    border-radius: 12px;
}

@media (min-width: 768px) {
    .app-container {
        padding: 28px;
    }
}

