
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', sans-serif; background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%); min-height: 100vh; padding: 15px; }
.container { max-width: 1000px; margin: 5px auto; background: white; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); overflow: hidden; }
.header { background: linear-gradient(135deg, #1b5e20, #2e7d32); color: white; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.header h2 { font-size: 18px; }
.btn-back { background: rgba(255,255,255,0.2); color: white; border: 2px solid white; padding: 7px 13px; border-radius: 6px; font-weight: 600; font-size: 13px; text-decoration: none; }
.content { padding: 15px 20px; }

/* Score Cards */
.score-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 20px; }
.score-card { border-radius: 12px; padding: 15px; text-align: center; }
.score-card .title { font-size: 12px; font-weight: 700; opacity: 0.8; margin-bottom: 5px; }
.score-card .score { font-size: 28px; font-weight: 900; }
.score-card .sub { font-size: 11px; margin-top: 4px; opacity: 0.7; }
.score-azeo { background: linear-gradient(135deg, #4a0e8f, #6a1b9a); color: white; }
.score-paydex { background: linear-gradient(135deg, #1565c0, #1976d2); color: white; }

/* Section */
.section { margin-bottom: 20px; }
.section-title { font-size: 16px; font-weight: 800; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 3px solid; display: flex; align-items: center; gap: 8px; }
.section-title.azeo { color: #4a0e8f; border-color: #4a0e8f; }
.section-title.paydex { color: #1565c0; border-color: #1565c0; }
.section-desc { font-size: 12px; color: #666; margin-bottom: 12px; line-height: 1.5; padding: 10px; background: #f8f9fa; border-radius: 8px; }

/* Action Cards */
.action-card { border: 2px solid #e0e0e0; border-radius: 12px; padding: 12px; margin-bottom: 10px; transition: all 0.2s; }
.action-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.action-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.card-name { font-size: 14px; font-weight: 700; color: #333; }
.card-digits { font-size: 12px; color: #888; }

.action-body { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.action-stat { text-align: center; padding: 6px; background: #f8f9fa; border-radius: 8px; }
.action-stat .stat-label { font-size: 9px; font-weight: 600; color: #888; text-transform: uppercase; }
.action-stat .stat-value { font-size: 13px; font-weight: 800; }

.action-instruction { padding: 10px; border-radius: 8px; font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.action-ok { background: #e8f5e9; color: #1b5e20; border-left: 4px solid #43a047; }
.action-warn { background: #fff3e0; color: #e65100; border-left: 4px solid #ff9800; }
.action-danger { background: #fdecea; color: #c62828; border-left: 4px solid #e53935; }
.action-info { background: #e3f2fd; color: #1565c0; border-left: 4px solid #1976d2; }
.action-chosen { background: #ede7f6; color: #4a0e8f; border-left: 4px solid #7c4dff; }

/* Progress bar */
.usage-bar { height: 6px; background: #e0e0e0; border-radius: 3px; overflow: hidden; margin-top: 4px; }
.usage-fill { height: 100%; border-radius: 3px; transition: width 0.5s; }
.fill-green { background: #43a047; }
.fill-yellow { background: #ff9800; }
.fill-red { background: #e53935; }

/* Timeline */
.timeline { margin-top: 8px; display: flex; align-items: center; gap: 6px; font-size: 11px; color: #888; }
.timeline-date { font-weight: 700; padding: 3px 8px; border-radius: 12px; font-size: 10px; }
.tl-closing { background: #fff3e0; color: #e65100; }
.tl-pay { background: #e8f5e9; color: #1b5e20; }
.tl-due { background: #e3f2fd; color: #1565c0; }

/* Summary box */
.summary-box { background: #f5f7fa; border-radius: 12px; padding: 15px; margin-bottom: 15px; }
.summary-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; border-bottom: 1px solid #e8e8e8; }
.summary-row:last-child { border-bottom: none; font-weight: 800; font-size: 14px; }

/* Dark Mode */
body.dark-mode { background: linear-gradient(135deg, #0a2e0a 0%, #16213e 100%); }
body.dark-mode .container { background: #0f0f23; color: #e0e0e0; }
body.dark-mode .card-name { color: #e0e0e0; }
body.dark-mode .action-card { border-color: #333; background: #16213e; }
body.dark-mode .action-stat { background: #1a1a3e; }
body.dark-mode .action-stat .stat-label { color: #aaa; }
body.dark-mode .section-desc { background: #16213e; color: #aaa; }
body.dark-mode .summary-box { background: #16213e; }
body.dark-mode .summary-row { border-color: #333; }

@media (max-width: 600px) {
    .header { flex-direction: column; text-align: center; }
    .action-body { grid-template-columns: repeat(3, 1fr); }
}

