/* Malpani Transport — "Godown ledger" direction
   warm paper ground · deep navy ink · marigold (the manifest paper) as the one accent */
:root {
  --mt-bg: #f5f2ea;
  --mt-surface: #ffffff;
  --mt-surface-2: #faf8f3;
  --mt-ink: #18202e;
  --mt-ink-2: #4b5466;
  --mt-muted: #7a8193;
  --mt-line: #e7e2d6;
  --mt-line-2: #d9d3c4;

  --mt-navy: #1b2a4a;
  --mt-navy-2: #253a63;
  --mt-gold: #f2b928;
  --mt-gold-2: #e0a412;
  --mt-gold-soft: #fff4d4;
  --mt-gold-ink: #6b4b00;

  --mt-ok: #157347;
  --mt-ok-soft: #e4f4ea;
  --mt-warn: #9a6700;
  --mt-warn-soft: #fff3d6;
  --mt-risk: #b42318;
  --mt-risk-soft: #fdebe9;

  --mt-shadow-1: 0 1px 2px rgba(24, 32, 46, .05), 0 8px 24px -14px rgba(24, 32, 46, .18);
  --mt-shadow-2: 0 2px 4px rgba(24, 32, 46, .06), 0 22px 44px -22px rgba(24, 32, 46, .28);
  --mt-radius: 14px;
  --mt-radius-sm: 9px;

  --mt-body: "Plus Jakarta Sans", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --mt-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --mt-ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font: 400 15px/1.5 var(--mt-body);
  background: var(--mt-bg);
  color: var(--mt-ink);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--mt-navy-2); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ico { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mono, td.num, .num, .v, .bno { font-family: var(--mt-mono); font-feature-settings: "tnum"; }
:focus-visible { outline: 2px solid var(--mt-gold-2); outline-offset: 2px; }
.sr-only { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------ top bar */
.mt-top {
  background: var(--mt-navy);
  background-image: radial-gradient(600px 120px at 85% -40px, rgba(242, 185, 40, .22), transparent 70%);
  color: #fff; position: sticky; top: 0; z-index: 20;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 10px 30px -20px rgba(0, 0, 0, .6);
}
.mt-top .wrap { display: flex; align-items: center; gap: 22px; min-height: 62px; flex-wrap: wrap; }
.mt-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; letter-spacing: -.01em; font-size: 17px; }
.mt-logo:hover { text-decoration: none; }
.mt-logo .mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--mt-gold), var(--mt-gold-2)); color: var(--mt-navy); box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); }
.mt-logo .mark .ico { width: 20px; height: 20px; stroke-width: 2.2; }
.mt-logo small { display: block; font: 500 10.5px/1 var(--mt-mono); letter-spacing: .14em; color: #c9d3e6; text-transform: uppercase; margin-top: 3px; }
.mt-nav { display: flex; gap: 2px; flex-wrap: nowrap; flex: 1; overflow-x: auto; scrollbar-width: none; }
.mt-nav::-webkit-scrollbar { display: none; }
.mt-nav a { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; color: #cdd6e6; padding: 8px 12px; border-radius: 9px; font-weight: 600; font-size: 14px; position: relative; }
.mt-nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; }
.mt-nav a.on { background: rgba(255, 255, 255, .12); color: #fff; }
.mt-nav a.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -11px; height: 3px; border-radius: 3px 3px 0 0; background: var(--mt-gold); }
.mt-nav .step { font: 700 11px/1 var(--mt-mono); background: rgba(242, 185, 40, .18); color: var(--mt-gold); padding: 3px 6px; border-radius: 6px; }
.mt-user { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #c9d3e6; }
.mt-user form { margin: 0; }
.mt-user button { background: none; border: 1px solid rgba(255,255,255,.2); color: #e6ecf6; border-radius: 8px; padding: 6px 10px; font: 600 13px var(--mt-body); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.mt-user button:hover { background: rgba(255,255,255,.08); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
main.wrap { padding-top: 26px; padding-bottom: 70px; }

/* ------------------------------------------------ page header */
.mt-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.eyebrow { font: 600 11.5px/1 var(--mt-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mt-gold-ink); display: inline-flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--mt-gold-2); border-radius: 2px; }
h1 { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.15; letter-spacing: -.02em; margin: 0; font-weight: 800; }
.sub { color: var(--mt-ink-2); margin: 6px 0 0; max-width: 70ch; }
h2 { font-size: 16px; margin: 0; font-weight: 700; letter-spacing: -.01em; }

/* ------------------------------------------------ cards */
.card { background: var(--mt-surface); border: 1px solid var(--mt-line); border-radius: var(--mt-radius); box-shadow: var(--mt-shadow-1); padding: 20px; margin-bottom: 20px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.card-head a { font-weight: 600; font-size: 13.5px; display: inline-flex; align-items: center; gap: 4px; }
.card.flush { padding: 0; overflow: hidden; }
.card.flush .card-head { padding: 16px 20px 0; }

/* ------------------------------------------------ stat tiles */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 20px; }
.stat { background: var(--mt-surface); border: 1px solid var(--mt-line); border-radius: var(--mt-radius); padding: 16px 18px; box-shadow: var(--mt-shadow-1); position: relative; overflow: hidden; }
.stat .k { color: var(--mt-muted); font: 600 11.5px/1 var(--mt-mono); letter-spacing: .1em; text-transform: uppercase; display: flex; gap: 8px; align-items: center; }
.stat .k .ico { width: 16px; height: 16px; color: var(--mt-gold-2); }
.stat .v { font-size: 24px; font-weight: 700; margin-top: 10px; letter-spacing: -.02em; }
.stat .v small { font-size: 14px; color: var(--mt-muted); font-weight: 500; }

/* signature: collection meter */
.meter { background: var(--mt-navy); color: #fff; border-radius: var(--mt-radius); padding: 22px 24px; margin-bottom: 20px; box-shadow: var(--mt-shadow-2);
  display: grid; grid-template-columns: 1.1fr 1.6fr; gap: 28px; align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.meter::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 420px; aspect-ratio: 1; z-index: -1;
  background: radial-gradient(closest-side, rgba(242, 185, 40, .28), transparent); filter: blur(20px); }
.meter .k { font: 600 11.5px/1 var(--mt-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mt-gold); }
.meter .big { font: 700 clamp(28px, 4vw, 40px)/1.1 var(--mt-mono); letter-spacing: -.03em; margin-top: 10px; }
.meter .note { color: #c3cde0; margin-top: 6px; font-size: 13.5px; }
.bar { height: 14px; background: rgba(255, 255, 255, .1); border-radius: 99px; overflow: hidden; position: relative; }
.bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--mt-gold-2), var(--mt-gold)); box-shadow: 0 0 18px rgba(242, 185, 40, .55); transition: width 1.1s var(--mt-ease); }
.bar-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.bar-legend div { font-size: 12.5px; color: #c3cde0; }
.bar-legend b { display: block; color: #fff; font: 600 16px/1.3 var(--mt-mono); margin-top: 2px; }
.bar-legend .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }

/* quick actions */
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.qa { display: flex; gap: 14px; align-items: center; background: var(--mt-surface); border: 1px solid var(--mt-line); border-radius: var(--mt-radius); padding: 16px 18px; color: var(--mt-ink); box-shadow: var(--mt-shadow-1); transition: transform .25s var(--mt-ease), box-shadow .25s var(--mt-ease), border-color .25s; }
.qa:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--mt-shadow-2); border-color: var(--mt-gold); }
.qa .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--mt-gold-soft); color: var(--mt-gold-ink); flex: none; }
.qa .ic .ico { width: 22px; height: 22px; }
.qa b { display: block; font-size: 15px; }
.qa span { color: var(--mt-muted); font-size: 13px; }
.qa .arrow { margin-left: auto; color: var(--mt-muted); transition: transform .25s var(--mt-ease); }
.qa:hover .arrow { transform: translateX(3px); color: var(--mt-gold-ink); }

/* ------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; border: 1px solid var(--mt-line-2); background: var(--mt-surface); color: var(--mt-ink);
  padding: 8px 14px; border-radius: var(--mt-radius-sm); font: 600 14px/1 var(--mt-body); cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .15s; }
.btn:hover { text-decoration: none; background: var(--mt-surface-2); border-color: #c8c0ad; }
.btn:active { transform: translateY(1px); }
.btn .ico { width: 16px; height: 16px; }
.btn.primary { background: var(--mt-navy); border-color: var(--mt-navy); color: #fff; }
.btn.primary:hover { background: var(--mt-navy-2); }
.btn.gold { background: var(--mt-gold); border-color: var(--mt-gold-2); color: #2c2000; }
.btn.gold:hover { background: var(--mt-gold-2); }
.btn.danger { color: var(--mt-risk); }
.btn.danger:hover { background: var(--mt-risk-soft); border-color: #f1b8b2; }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.sm { min-height: 32px; padding: 5px 10px; font-size: 13px; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.actions form { margin: 0; }
kbd { font: 600 11px/1 var(--mt-mono); padding: 3px 6px; border-radius: 5px; border: 1px solid var(--mt-line-2); background: var(--mt-surface-2); color: var(--mt-ink-2); }

/* ------------------------------------------------ forms */
label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; color: var(--mt-ink-2); }
input[type=text], input[type=number], input[type=date], input[type=search], input[type=password], select, textarea {
  width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid var(--mt-line-2); border-radius: var(--mt-radius-sm);
  font: 500 15px var(--mt-body); background: #fff; color: var(--mt-ink); transition: border-color .15s, box-shadow .15s;
}
input[type=number] { font-family: var(--mt-mono); }
input:hover, select:hover { border-color: #bfb7a3; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--mt-navy-2); box-shadow: 0 0 0 3px rgba(37, 58, 99, .15); }
input::placeholder { color: #a3a8b5; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.field .err { color: var(--mt-risk); font-size: 13px; margin-top: 4px; font-weight: 500; }
.field.has-err input { border-color: var(--mt-risk); }
.radio-row > div { display: flex; gap: 8px; flex-wrap: wrap; }
.radio-row > div > div label { font-weight: 600; display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--mt-line-2);
  padding: 9px 16px; border-radius: var(--mt-radius-sm); cursor: pointer; background: #fff; color: var(--mt-ink); margin: 0; min-height: 42px; }
.radio-row > div > div label:has(input:checked) { border-color: var(--mt-navy); background: #eef2fa; box-shadow: inset 0 0 0 1px var(--mt-navy); }
.radio-row input { accent-color: var(--mt-navy); }
.search { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.search .box { position: relative; }
.search .box .ico { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--mt-muted); width: 16px; height: 16px; }
.search input[type=search] { padding-left: 34px; min-width: 260px; }
.search select { width: auto; }
.form-foot { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 20px; }
.form-foot .hint-keys { margin-left: auto; color: var(--mt-muted); font-size: 12.5px; display: flex; gap: 6px; align-items: center; }

/* ------------------------------------------------ tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; position: relative; }
table { width: 100%; border-collapse: separate; border-spacing: 0; }
th, td { padding: 11px 12px; border-bottom: 1px solid var(--mt-line); text-align: left; vertical-align: middle; }
th { font: 600 11px/1.2 var(--mt-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--mt-muted); background: var(--mt-surface-2); white-space: nowrap; }
thead th:first-child { border-top-left-radius: 8px; }
thead th:last-child { border-top-right-radius: 8px; }
td.num, th.num { text-align: right; white-space: nowrap; }
td.sr, th.sr { width: 52px; text-align: center; color: var(--mt-muted); font-family: var(--mt-mono); font-size: 13px; }
tbody tr { transition: background .12s; }
tbody tr:hover { background: #fbf9f3; }
tbody tr:last-child td { border-bottom: 0; }
tfoot td { font-weight: 700; background: var(--mt-surface-2); border-top: 1px solid var(--mt-line-2); border-bottom: 0; }
.card.flush table { margin-top: 12px; }
.card.flush th:first-child, .card.flush td:first-child { padding-left: 20px; }
.card.flush th:last-child, .card.flush td:last-child { padding-right: 20px; }
.bno { font-weight: 700; color: var(--mt-ink); }
a.bno:hover { color: var(--mt-navy-2); }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; }
.row-actions form { margin: 0; }
.muted { color: var(--mt-muted); }

.empty { text-align: center; padding: 42px 20px !important; color: var(--mt-muted); }
.empty .ico { width: 34px; height: 34px; color: var(--mt-line-2); display: block; margin: 0 auto 10px; stroke-width: 1.5; }
.empty b { display: block; color: var(--mt-ink); font-size: 15px; margin-bottom: 4px; }

.tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font: 700 11.5px/1.5 var(--mt-body); white-space: nowrap; }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.tag.PAID, .tag.ok { background: var(--mt-ok-soft); color: var(--mt-ok); }
.tag.TOPAY, .tag.warn { background: var(--mt-warn-soft); color: var(--mt-warn); }
.tag.bad { background: var(--mt-risk-soft); color: var(--mt-risk); }
.tag.info { background: #eaf0fb; color: var(--mt-navy-2); }
.tag.plain { background: #f0eee8; color: var(--mt-ink-2); }
.pos { color: var(--mt-risk); font-weight: 700; }
.zero { color: var(--mt-ok); font-weight: 700; }
.neg { color: var(--mt-warn); font-weight: 700; }

/* pagination */
.pager { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--mt-line); font-size: 13.5px; color: var(--mt-muted); flex-wrap: wrap; }
.pager .actions { gap: 6px; }

/* ------------------------------------------------ entry tables (manifest / slip) */
.entry th { background: var(--mt-surface-2); }
.entry td { padding: 6px 6px; border-bottom: 1px dashed var(--mt-line); vertical-align: top; }
.entry td.sr { padding-top: 16px; }
.entry input, .entry select { min-height: 40px; padding: 7px 10px; font-size: 14.5px; }
.entry input[name=party_name] { min-width: 190px; }
.entry input[name=marka] { min-width: 100px; }
.entry .w-bilty { width: 130px; font-family: var(--mt-mono); font-weight: 600; text-transform: uppercase; }
.entry .w-qty { width: 84px; }
.entry .w-amt { width: 130px; text-align: right; }
.entry .w-pt { width: 112px; }
.entry input:user-invalid, .field input:user-invalid { border-color: var(--mt-risk); background: var(--mt-risk-soft); }
#id_truck_no { text-transform: uppercase; font-family: var(--mt-mono); font-weight: 600; }
.entry tr.found input[name=bilty_no] { border-color: var(--mt-ok); background: var(--mt-ok-soft); }
.entry tr.notfound input[name=bilty_no] { border-color: var(--mt-gold-2); background: var(--mt-gold-soft); }
.entry tr.over input[name=amount] { border-color: var(--mt-gold-2); background: var(--mt-gold-soft); }
.entry tr.over .hint { color: var(--mt-warn) !important; font-weight: 600; }
.entry tr.dup input[name=bilty_no] { border-color: var(--mt-risk); background: var(--mt-risk-soft); }
.entry .hint { font-size: 11.5px; color: var(--mt-muted); min-height: 16px; margin-top: 3px; max-width: 220px; line-height: 1.35; }
.entry tr.found .hint { color: var(--mt-ok); }
.entry tr.notfound .hint { color: var(--mt-warn); }
.entry tr.dup .hint { color: var(--mt-risk); font-weight: 600; }
.entry .x { border: 0; background: none; color: var(--mt-muted); width: 36px; height: 40px; border-radius: 8px; cursor: pointer; display: grid; place-items: center; }
.entry .x:hover { color: var(--mt-risk); background: var(--mt-risk-soft); }
.entry tbody tr:hover { background: transparent; }

/* totals bar sticks to the bottom of the screen while keying long sheets */
.checkbar { position: sticky; bottom: 12px; z-index: 5; display: flex; gap: 10px 22px; flex-wrap: wrap; align-items: center;
  padding: 12px 16px; border-radius: 12px; background: var(--mt-navy); color: #dbe3f1; margin-top: 16px; font-size: 13.5px; box-shadow: var(--mt-shadow-2); }
.checkbar b { color: #fff; font-family: var(--mt-mono); font-size: 15px; margin-left: 4px; }
.checkbar .ok { color: #7ee2a8; font-weight: 700; }
.checkbar .bad { color: #ffb4a8; font-weight: 700; }
.checkbar .spacer { flex: 1; }
.checkbar .btn { min-height: 36px; }

/* signature: the manifest "golden-yellow paper" */
.paper { position: relative; background: linear-gradient(180deg, #fff7da 0%, #fdeba8 100%); border: 1px solid #ecd27a; overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, var(--mt-shadow-1); padding-left: 46px; }
.paper::before { /* punched holes */ content: ""; position: absolute; left: 16px; top: 0; bottom: 0; width: 12px;
  background: radial-gradient(circle at 6px 22px, var(--mt-bg) 5px, rgba(0,0,0,.08) 6px, transparent 6.5px) 0 0 / 12px 36px repeat-y; }
.paper::after { /* faint ledger rules */ content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, transparent 0 31px, rgba(160, 120, 0, .08) 31px 32px); }
.paper > * { position: relative; z-index: 1; }
.paper .stamp { position: absolute; right: 18px; top: 14px; font: 800 11px/1 var(--mt-mono); letter-spacing: .24em; color: rgba(107, 75, 0, .55);
  border: 2px solid rgba(107, 75, 0, .35); padding: 6px 10px; border-radius: 6px; transform: rotate(3deg); z-index: 1; }
.paper label { color: var(--mt-gold-ink); }
.paper input { background: rgba(255, 255, 255, .85); border-color: #e3c86b; }
.paper .big { font: 700 22px/1.2 var(--mt-mono); letter-spacing: -.01em; }

/* ------------------------------------------------ messages */
.msgs { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.msgs li { display: flex; gap: 10px; align-items: flex-start; padding: 11px 14px; border-radius: 10px; font-weight: 500; border: 1px solid transparent; }
.msgs li .ico { margin-top: 1px; }
.msgs .success { background: var(--mt-ok-soft); color: var(--mt-ok); border-color: #c4e6d1; }
.msgs .error { background: var(--mt-risk-soft); color: var(--mt-risk); border-color: #f4c7c1; }
.msgs .warning { background: var(--mt-warn-soft); color: var(--mt-warn); border-color: #f1dca5; }
.msgs .info { background: #eaf0fb; color: var(--mt-navy-2); }

/* ------------------------------------------------ login */
.login { min-height: 100vh; display: grid; place-items: center; padding: 20px;
  background: radial-gradient(700px 400px at 80% 0%, rgba(242,185,40,.25), transparent 70%), var(--mt-navy); }
.login .card { width: 100%; max-width: 400px; padding: 30px; }
.login .mt-logo { color: var(--mt-ink); margin-bottom: 22px; }
.login .mt-logo small { color: var(--mt-muted); }
.login .field { margin-bottom: 14px; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.two > .card { margin-bottom: 0; }
.stack { margin-bottom: 20px; }

@media (max-width: 1060px) {
  .mt-top .wrap { padding-top: 8px; padding-bottom: 0; gap: 8px 16px; }
  .mt-logo { margin-right: auto; }
  .mt-nav { order: 3; flex-basis: 100%; padding-bottom: 8px; }
  .mt-nav a.on::after { bottom: -8px; }
}
@media (max-width: 900px) {
  .two, .meter { grid-template-columns: 1fr; }
  .quick { grid-template-columns: 1fr; }
  .search input[type=search] { min-width: 0; width: 100%; }
  .search, .search .box { width: 100%; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .mt-nav a { padding: 7px 10px; }
  .mt-logo small { display: none; }
  .mt-user span { display: none; }
  .bar-legend { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
  .stat .v { font-size: 20px; }
  .form-foot .hint-keys { display: none; }
  .paper { padding-left: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .mt-top, .no-print, .msgs, .pager { display: none !important; }
  body { background: #fff; font-size: 12px; }
  .card { box-shadow: none; border: 1px solid #ccc; }
  main.wrap { padding: 0; max-width: none; }
  .paper { background: #fff6d0 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
