:root{
  --bg:#f6f8fb;
  --panel:#fff;
  --brand:#60a5fa;
  --muted:#64748b;
  --shadow:0 10px 30px rgba(2,6,23,.08);
}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial;background:var(--bg);color:#0b1220}
.container{max-width:1100px;margin:30px auto;padding:0 16px}
.card{background:var(--panel);border-radius:16px;box-shadow:var(--shadow);padding:20px;margin-bottom:16px}
.header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:12px;min-width:260px}
.brand img{height:130px;max-width:260px;object-fit:contain}
.badge{display:inline-block;padding:4px 8px;border-radius:999px;border:1px solid #e5e7eb;font-size:12px}
input,select,button{border:1px solid #e5e7eb;border-radius:10px;padding:10px 12px;font-size:16px}
button.primary{background:var(--brand);color:#fff;border:0;font-weight:600;cursor:pointer}
button.secondary{background:#fff;color:#0b1220;border:1px solid #cbd5e1;cursor:pointer}
.row{display:flex;gap:12px;flex-wrap:wrap}
.col{flex:1 1 260px}
.table{width:100%;border-collapse:collapse;margin-top:8px;min-width:640px}
.table th,.table td{border-bottom:1px solid #e5e7eb;padding:8px;text-align:left;vertical-align:middle}
.table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.kpi{display:flex;gap:16px;flex-wrap:wrap;margin:10px 0}
.kpi .box{background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;padding:12px 14px;min-width:180px}
.print-header{display:none}
@media (max-width: 640px){
  .container{padding:0 12px}
  .brand img{height:130px !important;max-width:260px;object-fit:contain}
  .header{align-items:flex-start}
  .col{flex:1 1 100%}
  .kpi .box{min-width:100%}
  button.primary,button.secondary{width:100%}
}
@media print{
  .no-print{display:none !important}
  .card{box-shadow:none}
  .table{min-width:0}
  .print-header{display:block !important; margin-bottom:12px}
  body{background:white}
}
