*{box-sizing:border-box}body{font-family:system-ui,-apple-system,Segoe UI,Arial,sans-serif;margin:0;background:#f3f4f6;color:#111827}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;border-radius:16px;padding:12px 14px;background:#111827;color:#fff;font-weight:800}input,select,textarea{width:100%;padding:13px;border:1px solid #d1d5db;border-radius:14px;margin:6px 0 10px;background:#fff}.gray{background:#6b7280}.red{background:#991b1b}.green{background:#00c853}.login{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px}.card{background:#fff;border-radius:22px;padding:18px;box-shadow:0 10px 28px rgba(0,0,0,.08);margin-bottom:14px}.login .card{width:100%;max-width:380px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;background:white;border-radius:16px;overflow:hidden}th,td{padding:10px;border-bottom:1px solid #e5e7eb;text-align:left;font-size:14px}.mobile-shell{min-height:100vh}.mobile-topbar{position:sticky;top:0;z-index:20;display:flex;justify-content:space-between;align-items:center;padding:14px;background:#111827;color:white;box-shadow:0 8px 24px rgba(0,0,0,.18)}.mobile-topbar b,.mobile-topbar small{display:block}.mobile-topbar small{color:#d1d5db;font-size:12px}.icon-btn{background:#00c853;color:white}.mobile-main{padding:14px 14px 92px;max-width:1000px;margin:0 auto}.mobile-hero{background:linear-gradient(135deg,#111827,#1f2937);color:white;border-radius:26px;padding:22px;margin-bottom:14px}.mobile-hero h1{margin:0;font-size:28px}.mobile-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}.mobile-summary div{background:white;border-radius:18px;padding:14px 8px;box-shadow:0 8px 22px rgba(0,0,0,.06);text-align:center}.mobile-summary b,.mobile-summary small{display:block}.mobile-summary small{color:#6b7280}.mobile-action-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:14px}.mobile-action-grid button{min-height:118px;border-radius:24px;background:#fff;color:#111827;box-shadow:0 10px 26px rgba(0,0,0,.08);text-align:left;padding:16px}.mobile-action-grid span{display:block;font-size:30px;margin-bottom:8px}.mobile-action-grid b,.mobile-action-grid small{display:block}.mobile-action-grid small{color:#00a846;font-weight:900}.bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:30;display:grid;grid-template-columns:repeat(5,1fr);background:white;border-top:1px solid #e5e7eb;padding:8px 6px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -8px 24px rgba(0,0,0,.10)}.bottom-nav button{background:white;color:#111827;padding:7px 2px}.bottom-nav span,.bottom-nav small{display:block}.bottom-nav span{font-size:22px}.bottom-nav small{font-size:11px}.mobile-menu-backdrop{position:fixed;inset:0;z-index:50;background:rgba(0,0,0,.45);align-items:flex-end}.mobile-menu-panel{width:100%;max-height:82vh;overflow:auto;background:#f9fafb;border-radius:26px 26px 0 0;padding:16px}.mobile-menu-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.mobile-module-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.mobile-module-grid button{background:white;color:#111827;border-radius:22px;padding:18px;text-align:left;box-shadow:0 8px 22px rgba(0,0,0,.07)}.mobile-module-grid span{display:block;font-size:28px}.download-grid,.mobile-flow{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.download-btn{background:#111827;color:white;text-align:left}.status-warn{color:#b45309;font-weight:800}.status-red{color:#991b1b;font-weight:800}.status-blue{color:#1d4ed8;font-weight:800}.status-green{color:#166534;font-weight:800}.guia-ine-horizontal{background:#eff6ff;border:1px solid #93c5fd;border-radius:12px;padding:12px;margin:10px 0}.ine-warning{background:#fff7ed;color:#9a3412;border:1px solid #fdba74;border-radius:12px;padding:10px;margin:8px 0;font-weight:700}.ine-preview{max-width:360px;width:100%;border-radius:14px;margin:8px 0;border:1px solid #e5e7eb}@media(min-width:760px){.mobile-action-grid{grid-template-columns:repeat(4,1fr)}.mobile-module-grid{grid-template-columns:repeat(3,1fr)}}
.ocr-active-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#dcfce7;
  color:#166534;
  border:1px solid #86efac;
  border-radius:16px;
  padding:12px 14px;
  font-weight:900;
  margin:8px 8px 8px 0;
}

.ocr-pro-help{
  background:#eef2ff;
  color:#3730a3;
  border:1px solid #c7d2fe;
  border-radius:14px;
  padding:10px 12px;
  margin:8px 0;
  font-weight:700;
  line-height:1.35;
}
button:disabled{
  opacity:.55;
  cursor:not-allowed;
}

.bank-review{
  background:#ecfdf5;
  border:1px solid #6ee7b7;
  color:#064e3b;
  border-radius:18px;
  padding:14px;
  margin:10px 0 14px;
  box-shadow:0 8px 22px rgba(0,0,0,.06);
}
.bank-review h3{
  margin:0 0 8px;
}
.bank-review ul{
  margin:8px 0;
  padding-left:18px;
}

.empresa-policy{
  background:#fff7ed;
  color:#9a3412;
  border:1px solid #fdba74;
  border-radius:16px;
  padding:12px;
  font-weight:800;
  margin:10px 0;
}

/* ===== COBRANZA PRO ===== */

.loan-box{
  border:1px solid #e5e7eb;
  border-radius:18px;
  padding:14px;
  margin:12px 0;
  background:#fff;
}

.week-btn:disabled{
  opacity:.35;
  cursor:not-allowed;
}

.paid-btn{
  background:#16a34a!important;
  color:white!important;
  opacity:.75;
}
.status-warn{
  background:#facc15;
  color:#111827;
  padding:6px 10px;
  border-radius:999px;
  font-weight:800;
}

.status-red{
  background:#dc2626;
  color:#fff;
  padding:6px 10px;
  border-radius:999px;
  font-weight:800;
}

.status-blue{
  background:#2563eb;
  color:#fff;
  padding:6px 10px;
  border-radius:999px;
  font-weight:800;
}

.status-green{
  background:#16a34a;
  color:#fff;
  padding:6px 10px;
  border-radius:999px;
  font-weight:800;
}

:root{
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #eef4ff;
  --text: #1f2937;
  --muted: #6b7280;
  --primary: #2563eb;
  --primary-2: #1d4ed8;
  --success: #16a34a;
  --warning: #f59e0b;
  --danger: #dc2626;
  --info: #0ea5e9;
  --border: #dbe3ef;
  --shadow: 0 10px 24px rgba(37, 99, 235, 0.08);
  --radius: 16px;
}

body{
  background: linear-gradient(180deg, #eef4ff 0%, #f8fbff 35%, #f4f7fb 100%);
  color: var(--text);
  font-family: Arial, sans-serif;
}

h1, h2, h3{
  color: #0f172a;
  margin-top: 0;
}

h1{
  font-size: 28px;
  margin-bottom: 16px;
}

h2{
  font-size: 20px;
  margin-bottom: 10px;
}

h3{
  font-size: 18px;
  margin-bottom: 10px;
}

.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}

.loan-box{
  background: #f8fbff;
  border: 1px solid #d9e7ff;
  border-left: 5px solid var(--primary);
  border-radius: 14px;
  padding: 12px;
  margin: 10px 0;
}

.mobile-summary{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.mobile-summary > div{
  background: linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
  border: 1px solid #dbe7ff;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
  text-align: center;
}

.mobile-summary b{
  display: block;
  font-size: 20px;
  color: var(--primary-2);
  margin-bottom: 4px;
}

.mobile-summary small{
  color: var(--muted);
  font-size: 12px;
}

input, select, textarea{
  width: 100%;
  padding: 12px 14px;
  margin: 8px 0;
  border: 1px solid #cfd8e3;
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  outline: none;
  box-sizing: border-box;
  transition: all .2s ease;
}

input:focus, select:focus, textarea:focus{
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

button{
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 11px 16px;
  margin: 6px 6px 6px 0;
  cursor: pointer;
  font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.18);
}

button:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(37, 99, 235, 0.24);
}

button:disabled{
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

button.gray{
  background: linear-gradient(135deg, #64748b 0%, #475569 100%);
  box-shadow: 0 8px 16px rgba(71, 85, 105, 0.18);
}

.week-btn{
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.paid-btn{
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.status-green,
.status-red,
.status-blue,
.status-warn{
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.status-green{
  background: #dcfce7;
  color: #166534;
}

.status-red{
  background: #fee2e2;
  color: #991b1b;
}

.status-blue{
  background: #dbeafe;
  color: #1d4ed8;
}

.status-warn{
  background: #fef3c7;
  color: #b45309;
}

.table-wrap{
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
}

table{
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

th{
  background: #eff6ff;
  color: #1e3a8a;
  text-align: left;
  padding: 12px;
  font-size: 13px;
}

td{
  padding: 12px;
  border-top: 1px solid #e5edf8;
  font-size: 14px;
}

tr:hover td{
  background: #f8fbff;
}

textarea{
  min-height: 90px;
  resize: vertical;
}

hr{
  border: 0;
  border-top: 1px solid #e5edf8;
  margin: 14px 0;
}

:root{
  --bg: #f4fbf7;
  --surface: #ffffff;
  --surface-2: #ecfdf3;
  --text: #1f2937;
  --muted: #6b7280;

  --primary: #16a34a;
  --primary-2: #15803d;
  --primary-soft: #dcfce7;

  --success: #16a34a;
  --warning: #f59e0b;
  --danger: #dc2626;
  --info: #22c55e;

  --border: #d8f0df;
  --shadow: 0 10px 24px rgba(22, 163, 74, 0.10);
  --radius: 16px;
}

body{
  background: linear-gradient(180deg, #effcf4 0%, #f7fdf9 40%, #f4fbf7 100%);
  color: var(--text);
  font-family: Arial, sans-serif;
}

h1, h2, h3{
  color: #0f172a;
  margin-top: 0;
}

h1{
  font-size: 28px;
  margin-bottom: 16px;
}

h2{
  font-size: 20px;
  margin-bottom: 10px;
}

h3{
  font-size: 18px;
  margin-bottom: 10px;
}

.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}

.loan-box{
  background: #f8fff9;
  border: 1px solid #d7f3df;
  border-left: 5px solid var(--primary);
  border-radius: 14px;
  padding: 12px;
  margin: 10px 0;
}

.mobile-summary{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.mobile-summary > div{
  background: linear-gradient(135deg, #ffffff 0%, #ecfdf3 100%);
  border: 1px solid #d7f3df;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.08);
  text-align: center;
}

.mobile-summary b{
  display: block;
  font-size: 20px;
  color: var(--primary-2);
  margin-bottom: 4px;
}

.mobile-summary small{
  color: var(--muted);
  font-size: 12px;
}

input, select, textarea{
  width: 100%;
  padding: 12px 14px;
  margin: 8px 0;
  border: 1px solid #cfe8d7;
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  outline: none;
  box-sizing: border-box;
  transition: all .2s ease;
}

input:focus, select:focus, textarea:focus{
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12);
}

button{
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 11px 16px;
  margin: 6px 6px 6px 0;
  cursor: pointer;
  font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  box-shadow: 0 8px 16px rgba(22, 163, 74, 0.18);
}

button:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(22, 163, 74, 0.24);
}

button:disabled{
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

button.gray{
  background: linear-gradient(135deg, #86a392 0%, #5f7d69 100%);
  box-shadow: 0 8px 16px rgba(95, 125, 105, 0.18);
}

.week-btn{
  background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
}

.paid-btn{
  background: linear-gradient(135deg, #16a34a 0%, #166534 100%);
}

.status-green,
.status-red,
.status-blue,
.status-warn{
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.status-green{
  background: #dcfce7;
  color: #166534;
}

.status-red{
  background: #fee2e2;
  color: #991b1b;
}

.status-blue{
  background: #dcfce7;
  color: #15803d;
}

.status-warn{
  background: #fef3c7;
  color: #b45309;
}

.table-wrap{
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
}

table{
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

th{
  background: #ecfdf3;
  color: #166534;
  text-align: left;
  padding: 12px;
  font-size: 13px;
}

td{
  padding: 12px;
  border-top: 1px solid #e3f4e8;
  font-size: 14px;
}

tr:hover td{
  background: #f8fff9;
}

textarea{
  min-height: 90px;
  resize: vertical;
}

hr{
  border: 0;
  border-top: 1px solid #e3f4e8;
  margin: 14px 0;
}

/* ================================
   TEMA COMPLETO VERDE FINTECH
   Préstamos JAAS
================================ */

:root{
  --bg: #f4fbf7;
  --bg-2: #ecfdf3;
  --surface: #ffffff;
  --surface-soft: #f8fff9;

  --text: #102019;
  --text-2: #1f2937;
  --muted: #6b7280;

  --primary: #16a34a;
  --primary-2: #15803d;
  --primary-3: #166534;
  --primary-soft: #dcfce7;

  --success: #16a34a;
  --warning: #f59e0b;
  --danger: #dc2626;
  --info: #22c55e;

  --border: #d8f0df;
  --border-2: #c8ead2;

  --shadow: 0 10px 24px rgba(22, 163, 74, 0.10);
  --shadow-2: 0 16px 32px rgba(21, 128, 61, 0.14);

  --radius: 18px;
}

/* FONDO GENERAL */
html,
body{
  background:
    radial-gradient(circle at top left, rgba(34,197,94,.18), transparent 35%),
    radial-gradient(circle at bottom right, rgba(22,163,74,.14), transparent 35%),
    linear-gradient(180deg, #effcf4 0%, #f7fdf9 45%, #f4fbf7 100%);
  color: var(--text);
  font-family: Arial, sans-serif;
}

/* SHELL MÓVIL */
.mobile-shell{
  background: transparent;
  min-height: 100vh;
}

/* TOPBAR */
.mobile-topbar{
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff;
  border-bottom: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.22);
}

.mobile-topbar b{
  color: #ffffff;
  font-size: 18px;
}

.mobile-topbar small{
  color: rgba(255,255,255,.82);
}

.mobile-topbar .icon-btn,
.icon-btn{
  background: rgba(255,255,255,.18);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: none;
}

.mobile-main{
  padding-bottom: 92px;
}

/* TÍTULOS */
h1, h2, h3{
  color: #0f172a;
  margin-top: 0;
}

h1{
  font-size: 28px;
  margin-bottom: 16px;
  letter-spacing: -0.4px;
}

h2{
  font-size: 21px;
  margin-bottom: 10px;
}

h3{
  font-size: 18px;
  margin-bottom: 10px;
}

/* HERO / INICIO */
.mobile-hero{
  background:
    linear-gradient(135deg, #16a34a 0%, #15803d 65%, #166534 100%);
  color: #ffffff;
  border-radius: 24px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-2);
  position: relative;
  overflow: hidden;
}

.mobile-hero::after{
  content: "";
  position: absolute;
  right: -35px;
  top: -35px;
  width: 140px;
  height: 140px;
  background: rgba(255,255,255,.13);
  border-radius: 50%;
}

.mobile-hero h1{
  color: #ffffff;
  margin-bottom: 6px;
}

.mobile-hero p{
  color: rgba(255,255,255,.88);
  margin: 0;
}

/* TARJETAS */
.card{
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}

.card h2,
.card h3{
  color: #102019;
}

/* CAJAS DE PRÉSTAMO */
.loan-box{
  background: #f8fff9;
  border: 1px solid #d7f3df;
  border-left: 5px solid var(--primary);
  border-radius: 16px;
  padding: 13px;
  margin: 10px 0;
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.06);
}

.loan-box p{
  margin: 7px 0;
}

/* RESÚMENES */
.mobile-summary{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.mobile-summary > div{
  background: linear-gradient(135deg, #ffffff 0%, #ecfdf3 100%);
  border: 1px solid #d7f3df;
  border-radius: 18px;
  padding: 15px;
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.09);
  text-align: center;
}

.mobile-summary b{
  display: block;
  font-size: 21px;
  color: var(--primary-2);
  margin-bottom: 4px;
}

.mobile-summary small{
  color: var(--muted);
  font-size: 12px;
}

/* BOTONES */
button{
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  color: #ffffff;
  border: 0;
  border-radius: 14px;
  padding: 12px 16px;
  margin: 6px 6px 6px 0;
  cursor: pointer;
  font-weight: 800;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  box-shadow: 0 8px 16px rgba(22, 163, 74, 0.20);
}

button:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(22, 163, 74, 0.26);
}

button:active{
  transform: scale(.98);
}

button:disabled{
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

button.gray{
  background: linear-gradient(135deg, #7da58a 0%, #5f7d69 100%);
  box-shadow: 0 8px 16px rgba(95, 125, 105, 0.18);
}

button.red{
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 8px 16px rgba(220, 38, 38, 0.18);
}

button.green{
  background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
}

.week-btn{
  background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
}

.paid-btn{
  background: linear-gradient(135deg, #16a34a 0%, #166534 100%);
}

/* INPUTS */
input, select, textarea{
  width: 100%;
  padding: 12px 14px;
  margin: 8px 0;
  border: 1px solid #cfe8d7;
  border-radius: 14px;
  background: #ffffff;
  color: var(--text);
  outline: none;
  box-sizing: border-box;
  transition: all .2s ease;
}

input:focus, select:focus, textarea:focus{
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.13);
}

textarea{
  min-height: 90px;
  resize: vertical;
}

/* ESTADOS */
.status-green,
.status-red,
.status-blue,
.status-warn{
  display: inline-block;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.status-green{
  background: #dcfce7;
  color: #166534;
}

.status-red{
  background: #fee2e2;
  color: #991b1b;
}

.status-blue{
  background: #dcfce7;
  color: #15803d;
}

.status-warn{
  background: #fef3c7;
  color: #b45309;
}

/* TABLAS */
.table-wrap{
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #ffffff;
}

table{
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}

th{
  background: #ecfdf3;
  color: #166534;
  text-align: left;
  padding: 12px;
  font-size: 13px;
}

td{
  padding: 12px;
  border-top: 1px solid #e3f4e8;
  font-size: 14px;
}

tr:hover td{
  background: #f8fff9;
}

/* GRID DE ACCIONES */
.mobile-action-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.mobile-action-grid button{
  background: #ffffff;
  color: #102019;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  min-height: 105px;
  box-shadow: var(--shadow);
  text-align: left;
}

.mobile-action-grid button span{
  display: block;
  font-size: 26px;
  margin-bottom: 8px;
}

.mobile-action-grid button b{
  display: block;
  color: #102019;
}

.mobile-action-grid button small{
  display: block;
  color: var(--primary-2);
  margin-top: 4px;
  font-weight: 800;
}

/* FLUJO RÁPIDO */
.mobile-flow{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.mobile-flow button{
  margin: 0;
}

/* BOTTOM NAV */
.bottom-nav{
  background: rgba(255,255,255,.96);
  border-top: 1px solid #d8f0df;
  box-shadow: 0 -10px 24px rgba(22, 163, 74, 0.12);
  backdrop-filter: blur(12px);
}

.bottom-nav button{
  background: transparent;
  color: #64748b;
  box-shadow: none;
  border-radius: 12px;
  padding: 8px 4px;
  margin: 0;
}

.bottom-nav button:hover{
  transform: none;
  box-shadow: none;
}

.bottom-nav button span{
  font-size: 22px;
}

.bottom-nav button small{
  font-size: 11px;
}

.bottom-nav button:first-child{
  color: var(--primary-2);
}

/* MENÚ MÓVIL */
.mobile-menu-backdrop{
  background: rgba(15, 23, 42, .45);
  backdrop-filter: blur(4px);
}

.mobile-menu-panel{
  background: #ffffff;
  border-radius: 24px 24px 0 0;
  border: 1px solid var(--border);
  box-shadow: 0 -16px 40px rgba(22, 163, 74, 0.22);
}

.mobile-menu-head{
  border-bottom: 1px solid #e3f4e8;
}

.mobile-module-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 12px;
}

.mobile-module-grid button{
  background: linear-gradient(135deg, #ffffff 0%, #ecfdf3 100%);
  color: #102019;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.mobile-module-grid button span{
  display: block;
  font-size: 26px;
  margin-bottom: 6px;
}

/* OCR / INE */
.ocr-active-badge{
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  padding: 8px 12px;
  display: inline-block;
  font-weight: 800;
  margin: 8px 0;
}

.ocr-pro-help,
.guia-ine-horizontal{
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  padding: 12px;
  color: #166534;
  margin: 10px 0;
}

.ine-warning{
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 10px;
  margin: 8px 0;
}

.ine-preview{
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #ffffff;
  margin: 8px 0;
}

/* RECIBO / ESTADO CUENTA */
hr{
  border: 0;
  border-top: 1px solid #e3f4e8;
  margin: 14px 0;
}

.bank-review{
  background: #ffffff;
  border: 1px solid var(--border);
  border-left: 5px solid var(--primary);
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
}

/* PRINT / PDF */
@media print{
  body{
    background: #ffffff !important;
  }

  .mobile-topbar,
  .bottom-nav,
  .mobile-menu-backdrop,
  button{
    display: none !important;
  }

  .mobile-main{
    padding: 0 !important;
  }

  .card,
  .loan-box,
  .mobile-summary > div{
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }

  h1{
    color: #000 !important;
  }
}

/* RESPONSIVE */
@media(max-width: 480px){
  h1{
    font-size: 25px;
  }

  .card{
    padding: 14px;
    border-radius: 16px;
  }

  .mobile-summary{
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .mobile-summary > div{
    padding: 11px 8px;
  }

  .mobile-summary b{
    font-size: 17px;
  }

  .mobile-summary small{
    font-size: 10px;
  }

  button{
    width: 100%;
    margin-right: 0;
  }

  .loan-box button{
    width: auto;
  }
}
