* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background: #f5f7fa;
    color: #1f2937;
    line-height: 1.5;
    padding-bottom: 40px;
}

.header {
    background: #fff;
    padding: 16px 24px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
}

.nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-link {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.nav-link.active {
    color: #16a34a;
    border-bottom-color: #16a34a;
}

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 20px 16px;
}

.date {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 20px;
}

.card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.card-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1f2937;
}

.big-value {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 4px;
}

.sub-value {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 10px;
}

.progress-bar {
    height: 10px;
    background: #e5e7eb;
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar.thin {
    height: 7px;
    border-radius: 3px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    border-radius: inherit;
    transition: width 0.3s ease;
}

.bju-item {
    margin-bottom: 12px;
}

.bju-name {
    display: inline-block;
    width: 80px;
    font-weight: 500;
    font-size: 15px;
}

.bju-nums {
    font-size: 14px;
    color: #4b5563;
}

.recommendation {
    border-left: 4px solid #22c55e;
}

.rec-text {
    margin-bottom: 12px;
    font-size: 15px;
}

.start-btn {
    background: #16a34a;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.start-btn:hover {
    background: #15803d;
}

.goal-line, .consumed-line {
    font-size: 15px;
    margin-bottom: 6px;
}

.goal-line {
    color: #6b7280;
}

.divider {
    height: 1px;
    background: #e5e7eb;
    margin: 10px 0;
}

.calendar {
    font-size: 15px;
    line-height: 1.8;
    font-family: monospace;
}

.cal-header, .cal-week {
    letter-spacing: 4px;
}

.today {
    display: inline-block;
    background: #16a34a;
    color: #fff;
    width: 28px;
    text-align: center;
    border-radius: 6px;
    font-weight: 700;
}

@media (max-width: 520px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }
    .bju-name { width: 65px; }
    .cal-header, .cal-week { letter-spacing: 2px; font-size: 13px; }
}