:root {
  --navy: #0a1b2e;
  --navy-2: #12263d;
  --navy-3: #1b3654;
  --navy-soft: #e2e8f0;
  --gold: #0284c7;
  --gold-2: #7dd3fc;
  --gold-ink: #0369a1;
  --paper: #f8fafc;
  --card: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --green: #1c6b48;
  --green-soft: #e5f4ec;
  --red: #b42318;
  --red-soft: #fbeaea;
  --blue: #1d4e89;
  --sidebar: 252px;
  --shadow: 0 10px 30px rgba(10, 27, 46, 0.08);
  --radius: 16px;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
}

button,
input,
select,
textarea {
  font-family: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.hidden {
  display: none !important;
}

/* ===== Login ===== */
.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  background:
    radial-gradient(circle at 12% 12%, rgba(2, 132, 199, 0.22), transparent 34%),
    radial-gradient(circle at 88% 80%, rgba(29, 78, 137, 0.16), transparent 32%),
    linear-gradient(160deg, #0a1b2e 0%, #16324d 55%, #0f2438 100%);
}

.login-card {
  width: min(460px, 100%);
  background: var(--card);
  border-radius: 24px;
  padding: 40px 36px 32px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.login-card h1 {
  margin: 0;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.login-card .sub {
  margin: 6px 0 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.field label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.98rem;
  color: var(--ink);
  outline: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aa8b5;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.18);
}

.combo {
  position: relative;
}

.combo input {
  width: 100%;
}

.combo-list {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  max-height: 220px;
  overflow: auto;
  padding: 6px;
}

.combo-opt,
.combo-use {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--ink);
  font: inherit;
}

.combo-opt:hover,
.combo-use:hover {
  background: #f1f5f9;
}

.combo-use {
  color: var(--gold);
  font-weight: 700;
}

.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.link {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}

a.link:hover {
  text-decoration: underline;
}

.btn {
  border: 0;
  cursor: pointer;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}

.btn-primary:hover {
  background: var(--navy-3);
}

.btn-gold {
  background: var(--gold);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
}

.btn-danger {
  background: var(--red-soft);
  color: var(--red);
}

.btn-block {
  width: 100%;
}

.login-foot {
  margin-top: 18px;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.45;
}

.error {
  background: var(--red-soft);
  color: var(--red);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.88rem;
  margin-bottom: 12px;
}

.status {
  background: #ecfdf5;
  color: #047857;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.88rem;
  margin-bottom: 12px;
}

/* ===== App shell ===== */
.app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar) 1fr;
}

.sidebar {
  background: var(--navy);
  color: #d7e0ea;
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 10px 22px;
}

.sidebar-brand strong {
  display: block;
  color: #fff;
  font-size: 0.98rem;
}

.sidebar-brand span {
  font-size: 0.72rem;
  color: var(--gold-2);
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #c5d2de;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav a svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  opacity: 0.85;
}

.nav a:hover,
.nav a.active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav a.active {
  box-shadow: inset 3px 0 0 var(--gold);
}

.nav-label {
  margin: 16px 12px 6px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7f93a6;
}

.sidebar-foot {
  margin-top: auto;
  padding: 14px 10px 4px;
  font-size: 0.75rem;
  color: #8aa0b3;
}

.sidebar-foot a {
  color: #8aa0b3;
  text-decoration: none;
}

.sidebar-foot a:hover {
  color: #d4af37;
}

.content {
  min-width: 0;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 8;
}

.topbar h2 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.crumb {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.menu-btn {
  display: none;
  background: var(--navy);
  color: #fff;
  border: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
}

.view {
  padding: 24px 28px 48px;
}

/* ===== Common UI ===== */
.kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.kpi {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.kpi .label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.kpi .value {
  margin: 8px 0 4px;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.kpi .hint {
  font-size: 0.82rem;
  color: var(--green);
  font-weight: 600;
}

.kpi .hint.neg {
  color: var(--red);
}

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.panel-h h3 {
  margin: 0;
  font-size: 1rem;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.cat-table table {
  min-width: 0;
}

th,
td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  vertical-align: middle;
}

th {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  background: #f1f5f9;
}

tr:hover td {
  background: #f8fafc;
}

.pos {
  color: var(--green);
  font-weight: 700;
}

.neg {
  color: var(--red);
  font-weight: 700;
}

tr.row-total-in td,
tr.row-total-in:hover td {
  background: #ecfdf5;
  color: var(--green);
  font-weight: 800;
}

tr.row-total-out td,
tr.row-total-out:hover td {
  background: #fef2f2;
  color: var(--red);
  font-weight: 800;
}

tr.row-section td {
  background: #f8fafc;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

tr.row-net td,
tr.row-net:hover td {
  background: #f1f5f9;
  font-weight: 800;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-green {
  background: var(--green-soft);
  color: var(--green);
}

.badge-gold {
  background: #e0f2fe;
  color: var(--gold-ink);
}

.badge-muted {
  background: var(--navy-soft);
  color: var(--navy-3);
}

.badge-red {
  background: var(--red-soft);
  color: var(--red);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.filters select,
.filters input {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
}

.filters input[type="search"] {
  min-width: 220px;
  flex: 1 1 220px;
  max-width: 360px;
}

.pills {
  display: inline-flex;
  flex-wrap: wrap;
  background: #e2e8f0;
  border-radius: 999px;
  padding: 3px;
}

.pills button,
.pills a {
  border: 0;
  background: transparent;
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--muted);
  cursor: pointer;
  display: inline-block;
}

.pills button.active,
.pills a.active {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.reminder-list {
  display: grid;
}

.reminder-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.reminder-item:first-child {
  border-top: 0;
}

a.reminder-item:hover {
  background: #f1f5f9;
}

.reminder-item .badge {
  flex-shrink: 0;
}

.note-list {
  display: grid;
}

.note-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}

.note-item:first-child {
  border-top: 0;
}

.note-item p {
  margin: 0 0 6px;
  white-space: pre-wrap;
}

.table-wrap td .btn,
.table-wrap td a.btn {
  margin: 2px 4px 2px 0;
}

.table-actions {
  white-space: nowrap;
}

.table-actions form {
  display: inline;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stack {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.form-card {
  padding: 22px;
}

.actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

.slot-row td {
  color: var(--muted);
  font-style: italic;
}

.calc-result {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px;
}

.calc-result h3 {
  margin: 0 0 16px;
  font-size: 1.05rem;
}

.calc-result .row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 1fr));
  column-gap: 10px;
  align-items: center;
}

.calc-grid > div {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: right;
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
  word-break: break-word;
}

.calc-grid .calc-h {
  padding-top: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-2);
  border-bottom-color: rgba(125, 211, 252, 0.28);
}

.calc-grid .calc-l,
.calc-grid .calc-h:first-child {
  text-align: left;
  color: #94a3b8;
}

.calc-grid .calc-sub {
  font-weight: 700;
  color: #e2e8f0;
}

.calc-grid .calc-cash {
  font-weight: 800;
  color: #fff;
  border-bottom: 0;
  padding-top: 14px;
}

.verdict {
  margin-top: 18px;
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.verdict.yes {
  background: #1c6b48;
}

.verdict.no {
  background: #8a1f18;
}

.report-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.report-card {
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.report-card p {
  color: var(--muted);
  min-height: 52px;
}

.archive-pick {
  display: grid;
  gap: 10px;
  padding: 0 18px 18px;
}

.archive-pick-item {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.archive-pick-item:hover {
  border-color: var(--gold);
  background: #f8fafc;
}

.archive-pick-item strong {
  display: block;
  margin-bottom: 4px;
}

.archive-pick-item input[type="checkbox"] {
  float: left;
  margin: 4px 12px 0 0;
}

.flow {
  display: grid;
  gap: 12px;
}

.flow-group {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.flow-group h3 {
  margin: 0 0 10px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  background: var(--navy-soft);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 700;
}

.previewer {
  background: #e2e8f0;
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 24px;
}

.page-sheet {
  width: min(520px, 100%);
  min-height: 300px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  padding: 28px;
}

.tabs {
  display: flex;
  gap: 6px;
  padding: 12px 16px 0;
}

.tabs button {
  border: 0;
  background: transparent;
  padding: 10px 14px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.tabs button.active {
  color: var(--navy);
  border-color: var(--gold);
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  z-index: 50;
  box-shadow: var(--shadow);
}

.modal-back {
  position: fixed;
  inset: 0;
  background: rgba(10, 27, 46, 0.45);
  display: grid;
  place-items: center;
  z-index: 40;
  padding: 16px;
}

.modal {
  width: min(560px, 100%);
  background: var(--card);
  border-radius: 18px;
  padding: 22px;
  max-height: 90vh;
  overflow: auto;
}

.modal-wide {
  width: min(760px, 100%);
}

.access-picker {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: #f8fafc;
}

.access-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.3;
}

.access-item span {
  min-width: 0;
}

.access-item input {
  accent-color: #0284c7;
  width: 16px;
  height: 16px;
  margin: 0;
  flex: 0 0 16px;
}

.access-item:hover {
  border-color: #7dd3fc;
  background: #f0f9ff;
}

.access-item:has(input:checked) {
  border-color: #7dd3fc;
  background: #e0f2fe;
  color: #0369a1;
}

.access-item-all {
  margin-bottom: 12px;
  padding: 12px 14px;
  font-size: 0.92rem;
}

.access-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.access-col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  min-width: 0;
}

.access-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  padding: 0 2px;
}

.access-h strong {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.access-mini {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0284c7;
  cursor: pointer;
}

.access-mini input {
  accent-color: #0284c7;
  width: 14px;
  height: 14px;
  margin: 0;
}

.access-list {
  display: grid;
  gap: 8px;
  max-height: 260px;
  overflow: auto;
}

.access-group {
  display: grid;
  gap: 8px;
}

.access-group + .access-group {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.access-group-label {
  margin: 0;
  padding: 0 2px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 768px) {
  .access-cols {
    grid-template-columns: 1fr;
  }
}

.company-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.company-pills span {
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
}

.layout-demo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.layout-box {
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
  min-height: 140px;
}

.user-seat {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.78rem;
}

.chart-panel {
  padding: 12px 18px 4px;
  border-bottom: 1px solid var(--line);
}

.chart-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chart-legend .swatch {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}

.chart-legend .swatch.income { background: #0284c7; }
.chart-legend .swatch.expense { background: #0f172a; }

.chart-totals {
  margin-left: auto;
}

.bar-chart {
  width: 100%;
  height: 280px;
  display: block;
}

.bar-chart .chart-axis,
.bar-chart .chart-label,
.bar-chart .chart-hint {
  font-family: var(--font);
  fill: var(--muted);
}

.bar-chart .chart-axis { font-size: 11px; }
.bar-chart .chart-label { font-size: 12px; font-weight: 700; fill: var(--ink); }
.bar-chart .chart-hint { font-size: 10px; }

.overlay {
  display: none;
}

/* ===== Responsive: Screen 16 ===== */
@media (max-width: 1280px) {
  .kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-2,
  .grid-3,
  .report-cards,
  .form-grid,
  .layout-demo {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .app {
    grid-template-columns: 76px 1fr;
  }
  .sidebar-brand span,
  .sidebar-brand strong,
  .nav a span,
  .nav-label,
  .sidebar-foot {
    display: none;
  }
  .nav a {
    justify-content: center;
    padding: 12px;
  }
  .sidebar {
    padding: 16px 8px;
  }
}

@media (max-width: 768px) {
  .app {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: min(280px, 86vw);
    transform: translateX(-110%);
    transition: transform 0.2s ease;
    z-index: 30;
  }
  .sidebar.open {
    transform: none;
  }
  .sidebar-brand span,
  .sidebar-brand strong,
  .nav a span,
  .nav-label,
  .sidebar-foot {
    display: block;
  }
  .nav a {
    justify-content: flex-start;
  }
  .menu-btn {
    display: inline-grid;
    place-items: center;
  }
  .overlay.show {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 25;
  }
  .view,
  .topbar {
    padding-left: 16px;
    padding-right: 16px;
  }
  .kpis {
    grid-template-columns: 1fr;
  }
}

.print-header {
  display: none;
}

@media print {
  @page {
    size: A4 landscape;
    margin: 10mm;
  }

  body {
    background: #fff !important;
    color: #0f172a !important;
  }

  .overlay,
  .sidebar,
  .topbar,
  .filters,
  .menu-btn,
  .toast,
  .modal-back,
  .nav,
  .sidebar-foot {
    display: none !important;
  }

  .app {
    display: block !important;
    background: #fff !important;
  }

  .content,
  .view {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
  }

  .print-header {
    display: block;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0284c7;
  }

  .print-header h1 {
    margin: 0 0 4px;
    font-size: 18px;
    color: #0f172a;
  }

  .print-header p {
    margin: 0;
    color: #475569;
    font-size: 11px;
  }

  .panel,
  .report-sheet {
    box-shadow: none !important;
    border: 0 !important;
    background: #fff !important;
  }

  .panel-h {
    display: none;
  }

  .table-wrap {
    overflow: visible !important;
    border: 0 !important;
  }

  table {
    width: 100% !important;
    border-collapse: collapse;
    font-size: 10px;
  }

  th,
  td {
    border: 1px solid #cbd5e1 !important;
    padding: 5px 7px !important;
    color: #0f172a !important;
    background: #fff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  thead th {
    background: #f1f5f9 !important;
    font-weight: 700;
  }

  .row-section td {
    background: #e2e8f0 !important;
    font-weight: 700;
  }

  .row-total-in td,
  .row-total-out td,
  .row-net td {
    font-weight: 800;
    background: #f8fafc !important;
  }

  .pos { color: #047857 !important; }
  .neg { color: #b91c1c !important; }

  tr { page-break-inside: avoid; }
}
