/* ============================================================
   UNIVERSITY ADMISSIONS PORTAL — design system
   No external fonts or images: everything renders offline.
   ============================================================ */

:root {
  --ink: #0d1b2a;
  --ink-2: #1e3a5f;
  --muted: #5b6b7c;
  --muted-2: #8a97a5;
  --line: #e3e8ee;
  --line-2: #eef2f6;
  --bg: #f6f8fb;
  --card: #ffffff;

  --primary: #14532d;
  --primary-2: #166534;
  --primary-soft: #ecfdf3;
  --accent: #b45309;
  --accent-soft: #fffbeb;

  --success: #15803d;
  --success-soft: #ecfdf3;
  --info: #1d4ed8;
  --info-soft: #eff6ff;
  --warning: #b45309;
  --warning-soft: #fffbeb;
  --danger: #b91c1c;
  --danger-soft: #fef2f2;

  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(13, 27, 42, .06), 0 1px 3px rgba(13, 27, 42, .04);
  --shadow: 0 4px 12px rgba(13, 27, 42, .07), 0 1px 3px rgba(13, 27, 42, .05);
  --shadow-lg: 0 18px 40px rgba(13, 27, 42, .12), 0 4px 10px rgba(13, 27, 42, .05);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 { margin: 0 0 .4em; line-height: 1.25; letter-spacing: -.015em; font-weight: 700; }
h1 { font-size: 1.9rem; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.1rem; }
h4 { font-size: .96rem; }
p { margin: 0 0 .9em; }
a { color: var(--primary-2); text-decoration: none; }
a:hover { text-decoration: underline; }
small { font-size: .82rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }
code, .mono { font-family: var(--mono); font-size: .88em; }

/* ---------------- layout ---------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; }
.row { display: flex; gap: 16px; flex-wrap: wrap; }
.row > * { min-width: 0; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.center { text-align: center; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack > * + * { margin-top: 14px; }
.mt-0 { margin-top: 0 } .mt-1 { margin-top: 8px } .mt-2 { margin-top: 16px } .mt-3 { margin-top: 24px } .mt-4 { margin-top: 32px }
.mb-0 { margin-bottom: 0 } .mb-1 { margin-bottom: 8px } .mb-2 { margin-bottom: 16px } .mb-3 { margin-bottom: 24px }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.tiny { font-size: .78rem; }
.bold { font-weight: 600; }
.nowrap { white-space: nowrap; }
.hide { display: none !important; }
.spacer { flex: 1; }

/* ---------------- top bar ---------------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; gap: 18px; height: 62px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--primary), #0f766e);
  color: #fff; display: grid; place-items: center; font-size: .82rem; font-weight: 800; letter-spacing: -.03em;
}
.brand { min-width: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text span:first-child { font-size: .95rem; }
.brand-text span:last-child { font-size: .72rem; color: var(--muted); font-weight: 500; letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-weight: 500; font-size: .9rem;
}
.nav a:hover { background: var(--line-2); text-decoration: none; }
.nav a.btn { color: #fff; }
.nav a.btn:hover { background: var(--primary-2); }
.nav a.btn-outline { color: var(--ink); background: #fff; border-color: var(--line); }
.nav a.btn-outline:hover { background: var(--line-2); }
.nav a.active { background: var(--primary-soft); color: var(--primary); }
/* ---------------- SVG icon alignment ----------------
   Every glyph in this UI is an inline SVG (no emoji, no icon font),
   so it inherits currentColor and lines up with text automatically. */
.svg-ico { flex: none; vertical-align: middle; }
.btn .svg-ico, .nav a .svg-ico, .pill .svg-ico, .badge-doc .svg-ico { pointer-events: none; }
.btn > .svg-ico { margin-top: -1px; }
.btn-icon { padding: 9px 10px; }
.btn-sm.btn-icon { padding: 6px 7px; }
.ico-glyph {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: var(--primary-soft); color: var(--primary); margin: 0 auto 12px;
}
.ico-glyph.warn { background: var(--warning-soft); color: var(--warning); }
.ico-glyph.info { background: var(--info-soft); color: var(--info); }
.ico-glyph.danger { background: var(--danger-soft); color: var(--danger); }
.ico-glyph.lg { width: 58px; height: 58px; border-radius: 18px; }
.alert .ico { display: flex; align-items: flex-start; padding-top: 1px; }

.avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--ink-2); color: #fff;
  display: grid; place-items: center; font-size: .8rem; font-weight: 700; flex: none;
}

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer;
  background: var(--primary); color: #fff; transition: .15s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { background: var(--primary-2); text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: none; }
.btn:focus-visible { outline: 3px solid rgba(20,83,45,.25); outline-offset: 2px; }
.btn[disabled], .btn.is-disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { background: var(--line-2); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--line-2); }
.btn-danger { background: var(--danger); }
.btn-danger:hover { background: #991b1b; }
.btn-warn { background: var(--warning); }
.btn-warn:hover { background: #92400e; }
.btn-sm { padding: 7px 13px; font-size: .845rem; border-radius: 8px; }
.btn-lg { padding: 13px 26px; font-size: 1rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-icon { padding: 7px 10px; }

/* ---------------- cards & panels ---------------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card-pad { padding: 22px; }
.card-head { padding: 16px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card-head h2, .card-head h3 { margin: 0; font-size: 1.02rem; }
.card-body { padding: 22px; }
.card-foot { padding: 14px 22px; border-top: 1px solid var(--line); background: #fafbfd; border-radius: 0 0 var(--radius) var(--radius); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------------- status pill ---------------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: 999px; font-size: .78rem; font-weight: 600;
  background: var(--line-2); color: var(--ink-2); white-space: nowrap;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-success { background: var(--success-soft); color: var(--success); }
.pill-info { background: var(--info-soft); color: var(--info); }
.pill-warning { background: var(--warning-soft); color: var(--warning); }
.pill-danger { background: var(--danger-soft); color: var(--danger); }
.pill-muted { background: #f1f5f9; color: var(--muted); }
.pill-lg { padding: 7px 15px; font-size: .85rem; }

/* ---------------- status hero ---------------- */
.status-hero {
  border-radius: var(--radius-lg); padding: 26px 28px; color: #fff;
  background: linear-gradient(120deg, #0f2d1f, #14532d 55%, #0f766e);
  position: relative; overflow: hidden;
}
.status-hero::after {
  content: ""; position: absolute; right: -60px; top: -70px; width: 260px; height: 260px;
  border-radius: 50%; background: rgba(255,255,255,.07);
}
.status-hero.state-warning { background: linear-gradient(120deg, #432a06, #92400e 60%, #b45309); }
.status-hero.state-danger { background: linear-gradient(120deg, #450a0a, #991b1b 60%, #b91c1c); }
.status-hero.state-info { background: linear-gradient(120deg, #0c1e4a, #1e3a8a 60%, #1d4ed8); }
.status-hero.state-muted { background: linear-gradient(120deg, #1f2937, #374151 60%, #4b5563); }
.status-hero h1 { font-size: 1.55rem; margin-bottom: 6px; }
.status-hero p { color: rgba(255,255,255,.86); max-width: 60ch; margin-bottom: 0; }
.status-hero .eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 700;
  color: rgba(255,255,255,.65); margin-bottom: 8px;
}
.status-hero .hero-actions { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
.status-hero .btn { background: #fff; color: var(--ink); }
.status-hero .btn:hover { background: rgba(255,255,255,.9); }
.status-hero .btn-outline { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }
.status-hero .btn-outline:hover { background: rgba(255,255,255,.2); }
.hero-meta { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 20px; position: relative; z-index: 1; }
.hero-meta div span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.6); }
.hero-meta div strong { font-size: .95rem; font-weight: 600; }

/* ---------------- progress ---------------- */
.progress { height: 8px; background: var(--line-2); border-radius: 999px; overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--primary); border-radius: 999px; transition: width .4s ease; }
.progress.thin { height: 5px; }
.stepper { display: flex; gap: 8px; flex-wrap: wrap; }
.stepper .step {
  flex: 1 1 90px; min-width: 78px; padding: 10px 8px; border-radius: 10px; text-align: center;
  background: #fff; border: 1px solid var(--line); font-size: .74rem; font-weight: 600; color: var(--muted);
  transition: .15s;
}
.stepper .step.done { background: var(--success-soft); border-color: #bbf7d0; color: var(--success); }
.stepper .step.current { background: var(--primary-soft); border-color: #86efac; color: var(--primary); box-shadow: 0 0 0 3px rgba(20,83,45,.08); }
.stepper .step .n { display: flex; justify-content: center; align-items: center; height: 19px; font-size: .95rem; margin-bottom: 2px; }

/* ---------------- checklist ---------------- */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  display: flex; gap: 13px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--line-2);
}
.checklist li:last-child { border-bottom: 0; }
.checklist .tick {
  width: 22px; height: 22px; border-radius: 50%; flex: none; margin-top: 1px;
  border: 2px solid var(--line); display: grid; place-items: center; color: transparent;
  background: #fff;
}
.checklist li.done .tick { background: var(--success); border-color: var(--success); color: #fff; }
.checklist li.done .label { color: var(--muted); }
.checklist .label { font-weight: 500; }
.checklist .meta { font-size: .8rem; color: var(--muted); }
.checklist a { font-size: .84rem; font-weight: 600; }

/* ---------------- forms ---------------- */
.field { margin-bottom: 16px; }
.field > label, .label {
  display: block; font-size: .84rem; font-weight: 600; color: var(--ink-2); margin-bottom: 6px;
}
.field .req { color: var(--danger); }
.input, .select, .textarea {
  width: 100%; padding: 10px 13px; font: inherit; font-size: .93rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: 0; border-color: var(--primary-2); box-shadow: 0 0 0 3px rgba(22,101,52,.12);
}
.input[disabled], .select[disabled], .textarea[disabled] { background: #f8fafc; color: var(--muted); cursor: not-allowed; }
.input.is-invalid, .select.is-invalid, .textarea.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(185,28,28,.1); }
.textarea { min-height: 92px; resize: vertical; }
.hint { font-size: .78rem; color: var(--muted); margin-top: 5px; }
.error-text { font-size: .79rem; color: var(--danger); margin-top: 5px; font-weight: 500; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.check {
  display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; cursor: pointer;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
}
.check:hover { border-color: var(--muted-2); }
.check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--primary); flex: none; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { font-size: .95rem; font-weight: 700; padding: 0 0 10px; }

/* ---------------- tables ---------------- */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: .89rem; }
.table th {
  text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted); font-weight: 700; padding: 11px 14px; background: #fafbfd; border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.table td { padding: 13px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table tbody tr:hover { background: #fafcff; }
.table tbody tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table-compact td, .table-compact th { padding: 8px 11px; }

/* ---------------- stat cards ---------------- */
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.stat .k { font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; }
.stat .v { font-size: 1.85rem; font-weight: 700; letter-spacing: -.03em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.stat .d { font-size: .79rem; color: var(--muted); margin-top: 2px; }
.stat.accent { background: linear-gradient(160deg, #fff, var(--primary-soft)); border-color: #bbf7d0; }
.stat.accent .v { color: var(--primary); }
.stat-ico { color: var(--muted-2); flex: none; }
.stat.accent .stat-ico { color: var(--primary); }

/* ---------------- alerts ---------------- */
.alert {
  display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm);
  font-size: .89rem; border: 1px solid var(--line); background: #fff; align-items: flex-start;
}
.alert .ico { line-height: 1.3; flex: none; }
.alert-info { background: var(--info-soft); border-color: #bfdbfe; color: #1e3a8a; }
.alert-success { background: var(--success-soft); border-color: #bbf7d0; color: #14532d; }
.alert-warning { background: var(--warning-soft); border-color: #fde68a; color: #78350f; }
.alert-danger { background: var(--danger-soft); border-color: #fecaca; color: #7f1d1d; }
.alert strong { display: block; margin-bottom: 2px; }

/* ---------------- misc components ---------------- */
.divider { height: 1px; background: var(--line); margin: 20px 0; }
.kv { display: grid; grid-template-columns: 180px 1fr; gap: 10px 18px; font-size: .9rem; }
.kv dt { color: var(--muted); font-size: .84rem; }
.kv dd { margin: 0; font-weight: 500; }
.badge-doc {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 6px;
  font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.badge-doc.pending { background: #fef3c7; color: #92400e; }
.badge-doc.verified { background: #dcfce7; color: #166534; }
.badge-doc.rejected { background: #fee2e2; color: #991b1b; }
.badge-doc.paid { background: #dcfce7; color: #166534; }
.badge-doc.awaiting_confirmation { background: #fef3c7; color: #92400e; }
.badge-doc.void { background: #f1f5f9; color: #475569; }
.badge-doc.failed { background: #fee2e2; color: #991b1b; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tabs a, .tabs button {
  padding: 10px 15px; font-size: .88rem; font-weight: 600; color: var(--muted);
  border-bottom: 2px solid transparent; background: none; border-top: 0; border-left: 0; border-right: 0;
  cursor: pointer; font-family: inherit; white-space: nowrap;
}
.tabs a:hover, .tabs button:hover { color: var(--ink); text-decoration: none; }
.tabs .active { color: var(--primary); border-bottom-color: var(--primary); }
.empty { text-align: center; padding: 44px 22px; color: var(--muted); }
.empty .ico { display: flex; justify-content: center; margin-bottom: 10px; color: var(--muted-2); }
.spinner {
  width: 17px; height: 17px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff;
  border-radius: 50%; animation: spin .7s linear infinite; display: inline-block;
}
.spinner.dark { border-color: rgba(13,27,42,.15); border-top-color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, #eef2f6 25%, #f6f8fb 50%, #eef2f6 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: 6px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* toasts */
#toasts { position: fixed; right: 18px; bottom: 18px; z-index: 200; display: flex; flex-direction: column; gap: 10px; max-width: min(380px, calc(100vw - 36px)); }
.toast {
  background: var(--ink); color: #fff; padding: 13px 16px; border-radius: 11px; font-size: .89rem;
  box-shadow: var(--shadow-lg); display: flex; gap: 10px; animation: slideIn .25s ease;
  border-left: 4px solid var(--muted-2);
}
.toast-ico { flex: none; color: #93c5fd; margin-top: 1px; }
.toast.success .toast-ico { color: #4ade80; }
.toast.error .toast-ico { color: #f87171; }
.toast.warning .toast-ico { color: #fbbf24; }
.toast.success { border-left-color: #4ade80; }
.toast.error { border-left-color: #f87171; }
.toast.warning { border-left-color: #fbbf24; }
.toast.info { border-left-color: #60a5fa; }
@keyframes slideIn { from { transform: translateY(12px); opacity: 0; } }

/* modal */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(13,27,42,.5); z-index: 150;
  display: grid; place-items: center; padding: 20px; backdrop-filter: blur(2px);
}
.modal {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%;
  max-width: 560px; max-height: 88vh; overflow: auto;
}
.modal-head { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.modal-head h3 { margin: 0; font-size: 1.05rem; }
.modal-body { padding: 22px; }
.modal-foot { padding: 15px 22px; border-top: 1px solid var(--line); display: flex; gap: 10px; justify-content: flex-end; background: #fafbfd; border-radius: 0 0 var(--radius) var(--radius); }

/* ---------------- footer ---------------- */
.footer { margin-top: 48px; padding: 26px 0 34px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.footer a { color: var(--muted); }

/* two-column page layouts (never inline grid-template-columns: inline
   styles beat media queries, so the split lives in a class) */
.subject-row { grid-template-columns: 1fr 150px 40px; gap: 10px; align-items: end; margin-bottom: 8px; }

.split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; gap: 18px; }
.split-wide { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
.kv-2 { grid-template-columns: 120px 1fr; }

/* ---------------- responsive ---------------- */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split-wide { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 14.5px; }
  h1 { font-size: 1.5rem; }
  .container { padding: 0 15px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .field-row, .field-row-3, .subject-row { grid-template-columns: 1fr; }
  .subject-row .btn-icon { justify-self: start; }
  .split { gap: 14px; }
  .kv, .kv-2 { grid-template-columns: 1fr; gap: 2px 0; }
  .kv dd, .kv-2 dd { margin-bottom: 10px; }
  .status-hero { padding: 20px; }
  .status-hero h1 { font-size: 1.3rem; }
  .nav a span.nav-label, .nav button span.nav-label { display: none; }
  .nav .avatar { display: none; }
  .hero-meta { gap: 16px; }
  .topbar-inner { height: 56px; gap: 10px; }
  .brand-text span { font-size: .84rem; }
  .brand-text span:last-child { display: none; }
  .brand-mark { width: 32px; height: 32px; font-size: .74rem; }
  .nav { gap: 2px; }
  .nav a, .nav button { padding: 8px 9px; }
}

@media (max-width: 520px) {
  .brand-text { display: none; }
  .footer .container { flex-direction: column; gap: 10px; align-items: flex-start; }
}

/* ---------------- print ---------------- */
@media print {
  body { background: #fff; font-size: 12pt; }
  .topbar, .footer, .no-print, #toasts, .btn, .nav, .modal-backdrop { display: none !important; }
  .container { max-width: none; padding: 0; }
  .card { border: 1px solid #ccc !important; box-shadow: none !important; break-inside: avoid; }
  .print-page { padding: 0 !important; }
  a { color: #000; text-decoration: none; }
  @page { margin: 14mm; }
}
