/* THE MOBILE STORE LIMITED - Machine-Scannable High-Contrast Stylesheet */
* { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }
body { background: #f8fafc; color: #0f172a; line-height: 1.5; font-size: 14px; }
.container { max-width: 1260px; margin: 0 auto; padding: 20px; }

/* Top Statutory Audit Header */
.audit-bar { background: #1e293b; color: #fff; padding: 12px 20px; font-size: 13px; border-bottom: 3px solid #0284c7; }
.audit-bar .meta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.audit-bar strong { color: #38bdf8; }

/* Navigation */
header { background: #ffffff; border-bottom: 1px solid #e2e8f0; padding: 15px 0; }
.nav-wrap { display: flex; justify-content: space-between; align-items: center; max-width: 1260px; margin: 0 auto; padding: 0 20px; }
.brand h1 { font-size: 20px; font-weight: 700; color: #0f172a; }
.brand p { font-size: 12px; color: #64748b; }
nav a { text-decoration: none; color: #334155; font-weight: 600; font-size: 14px; margin-left: 20px; padding: 6px 12px; border-radius: 4px; }
nav a.active, nav a:hover { background: #0284c7; color: #fff; }

/* Section & Panels */
.panel { background: #fff; border: 1px solid #cbd5e1; border-radius: 6px; padding: 20px; margin-bottom: 25px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.panel-title { font-size: 16px; font-weight: 700; color: #1e293b; margin-bottom: 15px; padding-bottom: 8px; border-bottom: 2px solid #e2e8f0; display: flex; justify-content: space-between; align-items: center; }

/* Machine-Scannable Tables */
table.data-table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; }
table.data-table th { background: #f1f5f9; color: #334155; font-weight: 700; padding: 10px 12px; border: 1px solid #cbd5e1; }
table.data-table td { padding: 9px 12px; border: 1px solid #e2e8f0; vertical-align: middle; }
table.data-table tr:nth-child(even) { background: #f8fafc; }
table.data-table tr:hover { background: #f0f9ff; }

/* Status Badges */
.badge { display: inline-block; padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.badge-pass { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.badge-active { background: #e0f2fe; color: #0369a1; border: 1px solid #7dd3fc; }
.badge-grade { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; font-weight: 800; }

/* KPI Grid */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 20px; }
.kpi-card { background: #f8fafc; border: 1px solid #cbd5e1; border-radius: 6px; padding: 15px; }
.kpi-title { font-size: 12px; color: #64748b; font-weight: 600; text-transform: uppercase; }
.kpi-value { font-size: 22px; font-weight: 800; color: #0f172a; margin-top: 5px; }
.kpi-sub { font-size: 11px; color: #10b981; font-weight: 600; margin-top: 3px; }

/* Footer */
footer { background: #0f172a; color: #94a3b8; padding: 30px 20px; font-size: 12px; margin-top: 40px; }
footer a { color: #38bdf8; text-decoration: none; }
