/* Financeiro Pro · GPRRS · Dark Navy + Gold theme */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0c1220;
  --bg-2: #0a0f1c;
  --panel: #131a2c;
  --panel-2: #1a2238;
  --border: #1f2942;
  --border-2: #2a3556;
  --text: #e7ebf5;
  --text-dim: #8a93ac;
  --text-mute: #5e6884;
  --gold: #e8b339;
  --gold-2: #f5c75a;
  --success: #0d9488;
  --success-2: #14b8a6;
  --danger: #dc2626;
  --danger-2: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;
  --shadow: 0 12px 32px rgba(0,0,0,.45);
  --radius: 14px;
  --radius-sm: 10px;
  --sidebar-w: 248px;
  --content-pad: 32px;
}
html,body { background: var(--bg); color: var(--text); font-family: 'Inter','Segoe UI',system-ui,-apple-system,sans-serif; min-height: 100vh; -webkit-font-smoothing: antialiased; }
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');
body, html { font-family: 'Manrope', 'Inter', system-ui, sans-serif; font-size: 15px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea, button { font-family: inherit; font-size: 14px; }

/* ===== LOGIN SCREEN ===== */
.login-screen { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; background: var(--bg-2); }
.login-art {
  position: relative;
  background: radial-gradient(120% 80% at 30% 50%, #1d1f30 0%, #0b0e18 60%, #07090f 100%);
  overflow: hidden; padding: 48px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.login-art::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(95deg, rgba(232,179,57,.18) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(85deg, rgba(232,179,57,.07) 0 1px, transparent 1px 11px),
    repeating-linear-gradient(100deg, rgba(245,199,90,.10) 0 1px, transparent 1px 22px);
  mask-image: radial-gradient(60% 100% at 30% 60%, black 30%, transparent 80%);
  pointer-events: none;
}
.login-art-content { position: relative; z-index: 1; max-width: 540px; }
.login-art-tag { color: var(--gold); font-size: 12px; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 24px; font-weight: 700; }
.login-art h1 { font-size: 56px; line-height: 1.05; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.login-art h1 .gold { color: var(--gold); }
.login-art p { color: var(--text-dim); margin-top: 20px; font-size: 16px; max-width: 440px; }
.login-art .pills { margin-top: 36px; display: flex; gap: 28px; flex-wrap: wrap; font-size: 12px; color: var(--text-mute); letter-spacing: 2px; }
.login-art .pills b { color: var(--gold); margin-right: 6px; }

.login-form-wrap { display: flex; align-items: center; justify-content: center; padding: 48px; }
.login-form { width: 100%; max-width: 380px; }
.login-form .brand { display: flex; gap: 12px; align-items: center; margin-bottom: 56px; }
.login-form .brand-logo { width: 48px; height: 48px; background: linear-gradient(135deg, var(--gold), var(--gold-2)); border-radius: 11px; display: grid; place-items: center; font-weight: 800; color: #1a1a1a; font-size: 24px; font-family: 'Georgia', serif; }
.login-form h2 { font-size: 36px; font-weight: 700; color: #fff; }
.login-form .lead { color: var(--text-dim); margin: 8px 0 32px; font-size: 14px; }
.login-form label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 10px; margin-top: 18px; }
.login-form .input-icn { position: relative; }
.login-form .input-icn > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-mute); pointer-events: none; }
.login-form .input-icn .toggle-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--text-mute); width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border-radius: 8px; cursor: pointer; transition: color .15s, background .15s; }
.login-form .input-icn .toggle-eye:hover { color: var(--gold); background: rgba(232,179,57,.08); }
.login-form .input-icn .toggle-eye svg { position: static; transform: none; left: auto; color: inherit; display: block; }
.login-form input { width: 100%; padding: 14px 16px 14px 44px; border-radius: 10px; border: 1px solid var(--border-2); background: #0e1424; color: var(--text); transition: border .2s, box-shadow .2s; }
.login-form input[type="password"] { padding-right: 48px; }
.login-form input:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232,179,57,.15); }
.btn-gold { width: 100%; padding: 14px; background: var(--gold); color: #1a1a1a; border: 0; border-radius: 10px; font-weight: 800; letter-spacing: 4px; font-size: 13px; transition: transform .15s, background .2s; margin-top: 28px; text-transform: uppercase; }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-1px); }
.btn-gold:active { transform: translateY(0); }
.login-form .copyright { color: var(--text-mute); font-size: 12px; text-align: left; margin-top: 32px; }
.login-form .copyright .gold { color: var(--gold); }
.login-form .err { color: #fca5a5; background: rgba(220,38,38,.1); border: 1px solid rgba(220,38,38,.4); padding: 12px 14px; border-radius: 10px; margin-bottom: 18px; font-size: 13px; }
@media (max-width: 880px) { .login-screen { grid-template-columns: 1fr; } .login-art { display: none; } .login-form-wrap { padding: 32px 20px; } }

/* ===== APP LAYOUT ===== */
.app { display: flex; min-height: 100vh; }
.sidebar {
  position: fixed; left: 0; top: 0; bottom: 0; width: var(--sidebar-w);
  background: linear-gradient(180deg, #0a0f1c 0%, #0a0d18 100%);
  border-right: 1px solid var(--border);
  padding: 24px 14px; overflow-y: auto; z-index: 50;
  transition: transform .3s ease;
}
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background: #1a2238; border-radius: 3px; }
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 28px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.brand-logo { width: 38px; height: 38px; border-radius: 9px; background: linear-gradient(135deg, var(--gold), var(--gold-2)); display: grid; place-items: center; font-weight: 800; color: #1a1a1a; font-size: 20px; font-family: 'Georgia', serif; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { color: #fff; font-weight: 700; font-size: 15px; }
.brand-name .gold { color: var(--gold); }
.brand-sub { font-size: 10px; letter-spacing: 3px; color: var(--text-mute); margin-top: 2px; font-weight: 600; }

.nav { display: flex; flex-direction: column; gap: 4px; }
.nav-link { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 11px; color: var(--text-dim); font-size: 14px; font-weight: 500; transition: all .2s ease; border: 0; background: none; width: 100%; text-align: left; position: relative; }
.nav-link .ico-tile { width: 34px; height: 34px; min-width: 34px; border-radius: 9px; background: linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); border: 1px solid var(--border); display: grid; place-items: center; transition: all .2s ease; box-shadow: 0 1px 0 rgba(255,255,255,.03) inset; }
.nav-link .ico-tile svg { color: var(--text-dim); transition: all .2s ease; }
.nav-link:hover { color: var(--text); background: rgba(255,255,255,.025); }
.nav-link:hover .ico-tile { background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border-color: var(--border-2); transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,.25); }
.nav-link:hover .ico-tile svg { color: var(--text); }
.nav-link.active { color: var(--gold); background: linear-gradient(90deg, rgba(232,179,57,.12), rgba(232,179,57,.02)); }
.nav-link.active .ico-tile { background: linear-gradient(135deg, rgba(232,179,57,.28), rgba(232,179,57,.06)); border-color: rgba(232,179,57,.5); box-shadow: 0 6px 16px rgba(232,179,57,.18), 0 0 0 1px rgba(232,179,57,.15) inset; }
.nav-link.active .ico-tile svg { color: var(--gold); filter: drop-shadow(0 0 6px rgba(232,179,57,.5)); }
.nav-toggle .caret { margin-left: auto; transition: transform .25s ease; color: var(--text-mute); }
.nav-toggle.open .caret { transform: rotate(180deg); color: var(--gold); }
.nav-group { display: flex; flex-direction: column; }

/* SUBMENU */
.sub { display: none; flex-direction: column; padding-left: 18px; gap: 2px; margin: 4px 0 6px; position: relative; }
.sub::before { content: ''; position: absolute; left: 24px; top: 4px; bottom: 4px; width: 2px; background: linear-gradient(180deg, var(--border), transparent); border-radius: 2px; }
.sub.open { display: flex; }
.sub a { display: flex; align-items: center; gap: 10px; padding: 7px 10px 7px 14px; font-size: 13px; color: var(--text-dim); border-radius: 9px; transition: all .2s ease; position: relative; margin-left: 8px; }
.sub a .sub-ico { width: 26px; height: 26px; min-width: 26px; border-radius: 7px; background: linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); border: 1px solid var(--border); display: grid; place-items: center; transition: all .2s ease; }
.sub a .sub-ico svg { color: var(--text-mute); transition: all .2s ease; }
.sub a:hover { color: var(--text); background: rgba(255,255,255,.025); }
.sub a:hover .sub-ico { border-color: var(--border-2); background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); transform: translateX(2px); }
.sub a:hover .sub-ico svg { color: var(--text); }
.sub a.active { color: var(--gold); background: linear-gradient(90deg, rgba(232,179,57,.10), transparent); }
.sub a.active .sub-ico { background: linear-gradient(135deg, rgba(232,179,57,.25), rgba(232,179,57,.05)); border-color: rgba(232,179,57,.45); box-shadow: 0 4px 10px rgba(232,179,57,.15); }
.sub a.active .sub-ico svg { color: var(--gold); filter: drop-shadow(0 0 4px rgba(232,179,57,.4)); }

.nav-link.logout { color: #fca5a5; margin-top: 24px; }
.nav-link.logout .ico-tile { border-color: rgba(220,38,38,.25); background: linear-gradient(135deg, rgba(220,38,38,.10), rgba(220,38,38,.02)); }
.nav-link.logout .ico-tile svg { color: #fca5a5; }
.nav-link.logout:hover .ico-tile { border-color: rgba(220,38,38,.5); box-shadow: 0 4px 12px rgba(220,38,38,.2); }

.main-wrap { margin-left: var(--sidebar-w); flex: 1; display: flex; flex-direction: column; min-height: 100vh; min-width: 0; }
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 18px 32px; border-bottom: 1px solid var(--border); background: var(--bg); position: sticky; top: 0; z-index: 30; }
.topbar-brand { font-size: 11px; letter-spacing: 4px; color: var(--text-dim); font-weight: 700; }
.user-chip { display: flex; align-items: center; gap: 12px; }
.user-chip-info { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.user-chip-role { font-size: 10px; letter-spacing: 3px; color: var(--text-mute); }
.user-chip-name { color: var(--gold); font-weight: 700; }

.content { flex: 1; padding: var(--content-pad); }
.appfooter { padding: 18px 32px; border-top: 1px solid var(--border); color: var(--text-mute); font-size: 12px; }

.hamburger { display: none; position: fixed; top: 14px; left: 14px; z-index: 60; width: 42px; height: 42px; border-radius: 10px; background: var(--panel); border: 1px solid var(--border); color: var(--text); }
@media (max-width: 1024px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); box-shadow: var(--shadow); }
  .main-wrap { margin-left: 0; }
  .hamburger { display: grid; place-items: center; }
  .topbar { padding-left: 70px; }
  :root { --content-pad: 18px; }
}

/* ===== PAGE ===== */
.page-head { margin-bottom: 28px; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 18px; }
.page-eyebrow { color: var(--gold); font-size: 11px; letter-spacing: 4px; font-weight: 700; text-transform: uppercase; }
.page-title { font-size: 40px; font-weight: 800; color: #fff; letter-spacing: -.02em; margin-top: 6px; }
.page-sub { color: var(--text-dim); margin-top: 6px; font-size: 14px; }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 10px; border: 1px solid var(--border-2); background: var(--panel); color: var(--text); font-weight: 600; font-size: 13px; transition: all .15s; }
.btn:hover { background: var(--panel-2); border-color: #34406a; }
.btn.primary { background: var(--gold); color: #1a1a1a; border-color: var(--gold); }
.btn.primary:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn.outline { background: transparent; border: 1px solid var(--gold); color: var(--gold); }
.btn.outline:hover { background: rgba(232,179,57,.1); }
.btn.success { background: var(--success); border-color: var(--success); color: #fff; }
.btn.success:hover { background: var(--success-2); }
.btn.danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn.danger:hover { background: var(--danger-2); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--text-dim); }
.btn.ghost:hover { background: rgba(255,255,255,.05); color: var(--text); }
.btn.sm { padding: 7px 12px; font-size: 12px; }
.btn.icon { padding: 8px; width: 34px; height: 34px; justify-content: center; }

/* ===== CARDS ===== */
.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.card-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 12px; flex-wrap: wrap; }
.card-h h3 { font-size: 18px; font-weight: 700; color: #fff; }
.card-h .sub { color: var(--text-dim); font-size: 13px; }

/* KPI grid */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.kpi { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; position: relative; transition: transform .2s, border-color .2s; }
.kpi:hover { transform: translateY(-2px); border-color: var(--border-2); }
.kpi-label { color: var(--text-dim); font-size: 11px; letter-spacing: 3px; font-weight: 600; text-transform: uppercase; }
.kpi-value { font-size: 30px; font-weight: 800; margin-top: 16px; letter-spacing: -.02em; }
.kpi-value.gold { color: var(--gold); }
.kpi-value.success { color: var(--success-2); }
.kpi-value.danger { color: var(--danger-2); }
.kpi-icon { position: absolute; top: 18px; right: 18px; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; }
.kpi-icon.gold { background: rgba(232,179,57,.12); color: var(--gold); }
.kpi-icon.success { background: rgba(13,148,136,.15); color: var(--success-2); }
.kpi-icon.danger { background: rgba(220,38,38,.15); color: var(--danger-2); }
.kpi-icon.info { background: rgba(59,130,246,.15); color: var(--info); }

/* ===== TABLES ===== */
.table-wrap { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
table.tbl { width: 100%; border-collapse: collapse; }
table.tbl th { text-align: left; padding: 14px 18px; background: var(--bg-2); color: var(--text-dim); font-weight: 600; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; border-bottom: 1px solid var(--border); }
table.tbl td { padding: 14px 18px; border-bottom: 1px solid var(--border); color: var(--text); font-size: 14px; }
table.tbl tr:last-child td { border-bottom: 0; }
table.tbl tr:hover td { background: rgba(255,255,255,.02); }
.table-scroll { overflow-x: auto; }
table.tbl .num { font-variant-numeric: tabular-nums; }

/* ===== FORMS ===== */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; }
.field label { font-size: 12px; color: var(--text-dim); font-weight: 600; margin-bottom: 8px; }
.field input, .field select, .field textarea { padding: 11px 14px; background: var(--bg-2); border: 1px solid var(--border-2); color: var(--text); border-radius: 9px; transition: border .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232,179,57,.12); }
.field textarea { min-height: 80px; resize: vertical; }
.field.full { grid-column: 1 / -1; }
.form-actions { margin-top: 22px; display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.checkbox { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.checkbox input { width: 16px; height: 16px; accent-color: var(--gold); }

/* ===== FILTERS ===== */
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; padding: 16px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 18px; }
.filters .field { min-width: 140px; }

/* ===== BADGES ===== */
.badge { display: inline-block; padding: 4px 10px; border-radius: 8px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.badge.gold { background: rgba(232,179,57,.12); color: var(--gold); }
.badge.success { background: rgba(13,148,136,.18); color: var(--success-2); }
.badge.danger { background: rgba(220,38,38,.18); color: var(--danger-2); }
.badge.info { background: rgba(59,130,246,.18); color: var(--info); }
.badge.warning { background: rgba(245,158,11,.18); color: var(--warning); }
.badge.muted { background: rgba(138,147,172,.18); color: var(--text-dim); }

/* ===== FLASH ===== */
.flash { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: 14px; border: 1px solid; }
.flash-success { background: rgba(13,148,136,.1); color: var(--success-2); border-color: rgba(13,148,136,.4); }
.flash-danger { background: rgba(220,38,38,.1); color: var(--danger-2); border-color: rgba(220,38,38,.4); }
.flash-warning { background: rgba(245,158,11,.1); color: var(--warning); border-color: rgba(245,158,11,.4); }

/* ===== MODAL ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(5,8,16,.78); z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(6px); }
.modal-overlay.open { display: flex; }
.modal { background: var(--panel); border: 1px solid var(--border-2); border-radius: var(--radius); max-width: 920px; width: 100%; max-height: 88vh; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.modal-h { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px; border-bottom: 1px solid var(--border); }
.modal-h h2 { font-size: 22px; font-weight: 700; color: #fff; }
.modal-h .close-x { background: none; border: 0; color: var(--text-dim); font-size: 28px; line-height: 1; padding: 4px 8px; }
.modal-h .close-x:hover { color: var(--text); }
.modal-body { padding: 24px 26px; overflow-y: auto; flex: 1; }
.modal-foot { padding: 16px 26px; border-top: 1px solid var(--border); display: flex; gap: 10px; justify-content: flex-end; }

/* ===== DASHBOARD layout ===== */
.dash-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; margin-bottom: 18px; }
@media (max-width: 1100px) { .dash-grid { grid-template-columns: 1fr; } }

/* ===== CHART ===== */
.chart-wrap { width: 100%; }
.chart-svg { width: 100%; height: 320px; display: block; }
.chart-legend { display: flex; gap: 18px; margin-top: 8px; }
.legend-item { display: flex; align-items: center; gap: 6px; color: var(--text-dim); font-size: 12px; }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; }

/* DUE LIST */
.due-list { display: flex; flex-direction: column; gap: 10px; max-height: 420px; overflow-y: auto; }
.due-item { padding: 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-2); }
.due-item .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.due-item .desc { font-weight: 600; }
.due-item .meta { color: var(--text-dim); font-size: 12px; margin-top: 4px; }
.due-item .val { font-weight: 700; }
.due-item .val.income { color: var(--gold); }
.due-item .val.expense { color: var(--danger-2); }

/* PENDING REPORT MODAL list */
.pend-list { display: flex; flex-direction: column; gap: 12px; }
.pend-card { padding: 16px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; }
.pend-card .pend-top { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.pend-card .pend-name { font-weight: 700; color: #fff; }
.pend-card .pend-phone { color: var(--text-dim); font-size: 13px; }
.pend-card .pend-desc { margin-top: 8px; font-size: 13px; color: var(--text-dim); }
.pend-card .pend-row { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border); }
.pend-card .pend-row b { color: var(--gold); }
.pend-card .pend-row .late { color: var(--danger-2); font-weight: 700; }

/* PROGRESS */
.prog { background: var(--bg-2); height: 8px; border-radius: 5px; overflow: hidden; }
.prog > span { display: block; height: 100%; background: var(--gold); transition: width .3s; }

/* PAGINATION */
.pagination { display: flex; gap: 6px; margin-top: 18px; justify-content: center; }
.pagination a, .pagination span { padding: 7px 12px; border: 1px solid var(--border-2); border-radius: 8px; color: var(--text-dim); font-size: 13px; }
.pagination a:hover { background: var(--panel-2); color: var(--text); }
.pagination .current { background: var(--gold); color: #1a1a1a; border-color: var(--gold); font-weight: 700; }

/* utility */
.row-actions { display: flex; gap: 6px; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.gap-8 { gap: 8px; }
.flex { display: flex; }
.between { justify-content: space-between; }
.items-center { align-items: center; }
.hidden { display: none !important; }
.mb-12 { margin-bottom: 12px; }
.mb-18 { margin-bottom: 18px; }
.mb-24 { margin-bottom: 24px; }
.mt-12 { margin-top: 12px; }
.mt-18 { margin-top: 18px; }
.mt-24 { margin-top: 24px; }
.gold { color: var(--gold); }
.success { color: var(--success-2); }
.danger { color: var(--danger-2); }
.muted { color: var(--text-dim); }
.empty { padding: 60px 20px; text-align: center; color: var(--text-mute); }
.empty svg { opacity: .35; margin-bottom: 12px; }

/* CONTRACT print */
.contract-doc { background: #fff; color: #111; border-radius: 12px; padding: 42px; max-width: 920px; margin: 0 auto; line-height: 1.6; font-size: 14px; box-shadow: var(--shadow); }
.contract-doc h1 { font-size: 22px; text-align: center; margin-bottom: 8px; }
.contract-doc h2 { font-size: 16px; color: #b58a1f; margin: 20px 0 10px; border-bottom: 2px solid #b58a1f; padding-bottom: 4px; }
.contract-doc p { margin-bottom: 10px; }
.contract-doc table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.contract-doc th, .contract-doc td { border: 1px solid #ccc; padding: 8px 10px; text-align: left; font-size: 13px; }
.contract-doc th { background: #f5e6c4; }
.contract-doc .sig { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 60px; text-align: center; }
.contract-doc .sig div { border-top: 1px solid #333; padding-top: 8px; }

@media print {
  .sidebar, .topbar, .appfooter, .hamburger, .page-actions, .btn, .filters, .pagination, .modal-overlay, .row-actions { display: none !important; }
  .main-wrap { margin-left: 0; }
  body, html { background: #fff; color: #000; }
  .content { padding: 0; }
  .card, .table-wrap, .kpi { background: #fff; color: #000; border: 1px solid #ddd; }
  table.tbl th { background: #f5f5f5; color: #333; }
  table.tbl td { color: #000; border-color: #ddd; }
  .contract-doc { box-shadow: none; padding: 0; }
}
