/* ==========================================================================
   Facultad de Ciencia · USACH — Sistema visual compartido
   Paleta y tipografía inspiradas en fciencia.usach.cl
   Azul acero #394049 · Turquesa #00a499 · Naranja #dd7900 · Gris #5c7380
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Bebas+Neue&display=swap');

:root {
  /* ── Identidad institucional ─────────────────────────────────────── */
  --usach-ink: #394049;
  --usach-ink-800: #2f363d;
  --usach-ink-700: #454e57;
  --usach-slate: #5c7380;
  --usach-slate-400: #5f7581;
  --usach-teal: #00a499;
  --usach-teal-600: #00857c;
  --usach-teal-700: #006f68;
  --usach-teal-050: #e6f5f3;
  --usach-orange: #dd7900;
  --usach-orange-700: #ac5f00;
  --usach-orange-050: #fdf1e3;

  /* ── Superficies y texto ─────────────────────────────────────────── */
  --paper: #f4f6f7;
  --surface: #ffffff;
  --surface-2: #f7f9fa;
  --border: #e1e7ea;
  --border-strong: #cfd8dd;
  --text: #2b3338;
  --text-secondary: var(--usach-slate);

  /* Alias utilizados por los módulos */
  --bg: var(--paper);
  --card-bg: var(--surface);
  --primary: var(--usach-teal-700);
  --primary-light: var(--usach-teal-050);

  /* ── Estados ─────────────────────────────────────────────────────── */
  --success: #0f7a56;
  --success-bg: #e9f6f0;
  --warning: #a96200;
  --warning-bg: #fdf5e7;
  --danger: #b3261e;
  --danger-bg: #fdecea;

  /* ── Forma y profundidad ─────────────────────────────────────────── */
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(21, 33, 39, .06), 0 6px 18px -12px rgba(21, 33, 39, .28);
  --shadow-lg: 0 28px 60px -32px rgba(21, 33, 39, .45), 0 8px 20px -12px rgba(21, 33, 39, .18);

  /* ── Tipografía ──────────────────────────────────────────────────── */
  --font-body: 'Barlow', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Bebas Neue', 'Arial Narrow', 'Segoe UI', sans-serif;
  --container: 1180px;
}

/* ── Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: .02em;
  color: var(--usach-ink);
}

h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
h2 { font-size: 1.62rem; }

h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.3;
  color: var(--usach-ink);
}

h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }

p { margin: 0; }

a { color: var(--usach-teal-700); text-decoration: none; }
a:hover { text-decoration: underline; }

strong, b { font-weight: 600; }

img, svg { max-width: 100%; }

code {
  font-family: ui-monospace, 'Cascadia Mono', 'SFMono-Regular', Consolas, monospace;
  font-size: .82em;
  background: var(--usach-teal-050);
  color: var(--usach-teal-700);
  padding: .1rem .38rem;
  border-radius: 4px;
  word-break: break-word;
}

hr { border: none; border-top: 1px solid var(--border); }

::selection { background: rgba(0, 164, 153, .22); }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--usach-teal);
  outline-offset: 2px;
}

/* ── Estructura ────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

main {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.75rem 1.25rem 3.5rem;
  flex: 1 0 auto;
}

/* ── Encabezado de módulo (páginas internas) ──────────────────────── */
.module-intro {
  padding-bottom: 1.35rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.module-kicker {
  margin-bottom: .35rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--usach-orange-700);
}

.module-intro h1 { font-size: clamp(2.1rem, 4vw, 2.9rem); }

.module-lead {
  max-width: 700px;
  margin-top: .45rem;
  font-size: .95rem;
  color: var(--text-secondary);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  margin-right: .5rem;
  border-radius: 50%;
  background: var(--usach-teal-050);
  color: var(--usach-teal-700);
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: 0;
  vertical-align: middle;
  transform: translateY(-2px);
}

/* ── Franja y cabecera institucional ──────────────────────────────── */
.usach-strip {
  height: 5px;
  background: linear-gradient(90deg, var(--usach-teal) 0 62%, var(--usach-orange) 62% 100%);
  flex: 0 0 auto;
}

.site-header {
  position: relative;
  z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 92px;
  padding-top: .9rem;
  padding-bottom: .9rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
}

.brand:hover { text-decoration: none; }

.brand-logo {
  display: block;
  width: auto;
  height: 54px;
  flex: 0 0 auto;
}

.brand-rule {
  width: 1px;
  height: 42px;
  flex: 0 0 auto;
  background: var(--border-strong);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: .12rem;
  line-height: 1.05;
}

.brand-eyebrow {
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--usach-slate);
  white-space: nowrap;
}

.brand-name {
  display: flex;
  align-items: baseline;
  gap: .35rem;
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: .035em;
  color: var(--usach-ink);
  white-space: nowrap;
}

.brand-name .accent { color: var(--usach-teal-600); }

.brand-sub {
  font-size: .74rem;
  font-weight: 500;
  color: var(--usach-slate);
  letter-spacing: .01em;
}

.header-links {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: .45rem;
  white-space: nowrap;
}

.header-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .8rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: .82rem;
  font-weight: 600;
  color: var(--usach-slate);
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}

.header-link:hover {
  color: var(--usach-ink);
  background: var(--surface-2);
  border-color: var(--border);
  text-decoration: none;
}

/* ── Barra de navegación de módulo ────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--usach-ink);
  box-shadow: 0 3px 12px rgba(21, 33, 39, .2);
  flex: 0 0 auto;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  flex-wrap: wrap;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: .04em;
  color: #fff;
  text-decoration: none;
}

.nav-brand:hover { text-decoration: none; color: #fff; }

.nav-links {
  display: flex;
  align-items: center;
  gap: .15rem;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .9rem;
  border-radius: var(--radius-sm);
  font-size: .86rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  transition: background .15s, color .15s;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  text-decoration: none;
}

.nav-link.active {
  color: #fff;
  background: rgba(0, 164, 153, .2);
  box-shadow: inset 0 -2px 0 var(--usach-teal);
}

.nav-actions {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: .5rem;
  white-space: nowrap;
}

.nav-back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--usach-slate);
  font-family: inherit;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}

.nav-back:hover {
  color: var(--usach-ink);
  border-color: var(--usach-teal);
  background: var(--usach-teal-050);
  text-decoration: none;
}

.navbar .nav-back {
  color: rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
}

.navbar .nav-back:hover {
  color: #fff;
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .32);
}

.session-chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: .28rem .75rem;
  border-radius: 999px;
  background: var(--success-bg);
  color: var(--success);
  font-size: .76rem;
  font-weight: 600;
}

/* ── Tarjetas ──────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.card > h2 {
  position: relative;
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--border);
}

.card > h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--usach-teal), var(--usach-orange));
}

.card h3 { margin-bottom: .65rem; }
.card h4 { margin: 1.15rem 0 .5rem; }

/* ── Texto auxiliar ───────────────────────────────────────────────── */
.hint {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: .87rem;
}

.muted { color: var(--text-secondary); font-size: .85rem; }
.row-count { margin-left: .5rem; font-size: .78rem; font-weight: 500; color: var(--usach-slate-400); letter-spacing: .01em; }

.info-bar {
  margin: .75rem 0;
  padding: .55rem .8rem;
  border: 1px solid rgba(0, 164, 153, .22);
  border-radius: var(--radius-sm);
  background: var(--usach-teal-050);
  color: var(--usach-teal-700);
  font-size: .85rem;
}

.notice {
  margin: .5rem 0 1rem;
  padding: .6rem .85rem;
  border: 1px solid rgba(169, 98, 0, .28);
  border-radius: var(--radius-sm);
  background: var(--warning-bg);
  color: var(--warning);
  font-size: .83rem;
}

.debug {
  margin-top: .6rem;
  padding: .5rem .75rem;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--text-secondary);
  font-size: .8rem;
  word-break: break-word;
}

.divider { margin: 1.35rem 0; border: none; border-top: 1px solid var(--border); }

/* ── Botones ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .6rem 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}

.btn:hover { text-decoration: none; }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.btn-primary {
  background: var(--usach-teal-700);
  color: #fff;
  box-shadow: 0 1px 2px rgba(21, 33, 39, .2);
}

.btn-primary:hover:not(:disabled) { background: var(--usach-teal-600); }

.btn-outline {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--usach-ink);
}

.btn-outline:hover:not(:disabled) {
  border-color: var(--usach-teal);
  background: var(--usach-teal-050);
  color: var(--usach-teal-700);
}

.btn-accent { background: var(--usach-orange); color: #fff; }
.btn-accent:hover:not(:disabled) { background: #c96d00; }

.btn-danger {
  background: var(--danger-bg);
  border-color: rgba(179, 38, 30, .25);
  color: var(--danger);
}

.btn-danger:hover:not(:disabled) { background: #fbdcd9; }

.btn-sm { padding: .35rem .72rem; font-size: .78rem; }
.btn-block { width: 100%; }

.actions {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* ── Formularios ───────────────────────────────────────────────────── */
.stack { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1rem; }

label, .field label, .stack label {
  font-size: .79rem;
  font-weight: 600;
  letter-spacing: .015em;
  color: var(--usach-slate);
}

input, select, textarea {
  width: 100%;
  padding: .55rem .7rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: .9rem;
  line-height: 1.4;
  transition: border-color .15s, box-shadow .15s;
}

input::placeholder, textarea::placeholder { color: #a3b3bc; }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--usach-teal);
  box-shadow: 0 0 0 3px rgba(0, 164, 153, .16);
}

input:disabled, select:disabled, textarea:disabled {
  background: var(--surface-2);
  color: var(--text-secondary);
  cursor: not-allowed;
}

input[type="checkbox"], input[type="radio"] {
  width: auto;
  padding: 0;
  accent-color: var(--usach-teal-700);
}

select { cursor: pointer; }

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

.field { display: flex; flex-direction: column; gap: .3rem; }
.field.wide { grid-column: 1 / -1; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: .9rem;
}

.inline-form {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.inline-form input { flex: 1 1 240px; }

.project-form { margin-bottom: 1.25rem; }

/* ── Tablas ────────────────────────────────────────────────────────── */
.table-wrapper {
  overflow: auto;
  max-height: 520px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: .84rem;
}

thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: .6rem .75rem;
  border-bottom: 1px solid var(--border);
  background: #f1f5f6;
  color: var(--usach-slate);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}

tbody td {
  padding: .55rem .75rem;
  border-bottom: 1px solid #edf2f4;
  vertical-align: top;
}

tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: #f7fbfb; }

/* ── Pestañas ──────────────────────────────────────────────────────── */
.tabs { display: flex; gap: .35rem; flex-wrap: wrap; }

.tab {
  padding: .5rem .95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--usach-slate);
  font-family: inherit;
  font-size: .84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}

.tab:hover { border-color: var(--usach-teal); color: var(--usach-teal-700); }

.tab.active {
  background: var(--usach-ink);
  border-color: var(--usach-ink);
  color: #fff;
}

/* ── Etiquetas de estado ──────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .18rem .55rem;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
}

.badge-ok { background: var(--success-bg); color: var(--success); }
.badge-warn { background: var(--warning-bg); color: var(--warning); }
.badge-off { background: var(--danger-bg); color: var(--danger); }
.badge-muted { background: #eef2f4; color: var(--usach-slate); }

/* ── Mensajes, carga y estados vacíos ─────────────────────────────── */
.status {
  margin-top: .75rem;
  padding: .6rem .85rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: .84rem;
  font-weight: 500;
}

.status.success { background: var(--success-bg); border-color: rgba(15, 122, 86, .25); color: var(--success); }
.status.error { background: var(--danger-bg); border-color: rgba(179, 38, 30, .25); color: var(--danger); }
.status.info { background: var(--usach-teal-050); border-color: rgba(0, 164, 153, .25); color: var(--usach-teal-700); }

.save-status { font-size: .82rem; font-weight: 600; color: var(--success); }

/* Avance de operaciones largas (importación de cuentas). */
progress {
  width: 100%;
  height: 10px;
  margin-top: .75rem;
  border: none;
  border-radius: 999px;
  overflow: hidden;
  background: var(--surface-2);
  appearance: none;
}
progress::-webkit-progress-bar { background: var(--surface-2); border-radius: 999px; }
progress::-webkit-progress-value { background: var(--usach-teal); border-radius: 999px; }
progress::-moz-progress-bar { background: var(--usach-teal); border-radius: 999px; }

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 164, 153, .22);
  border-top-color: var(--usach-teal-700);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  flex: 0 0 auto;
}

@keyframes spin { to { transform: rotate(360deg); } }

.empty-state {
  padding: 2rem 1.25rem;
  border: 1px dashed var(--border-strong);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text-secondary);
  font-size: .9rem;
  text-align: center;
}

/* ── Pie institucional ────────────────────────────────────────────── */
.site-footer {
  position: relative;
  margin-top: auto;
  padding: 2.5rem 0 1.5rem;
  background: var(--usach-ink);
  color: rgba(255, 255, 255, .72);
  font-size: .84rem;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--usach-teal) 0 62%, var(--usach-orange) 62% 100%);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
}

.footer-title {
  display: block;
  margin-bottom: .35rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: .035em;
  color: #fff;
}

.footer-block p { margin: 0 0 .2rem; }

.footer-heading {
  margin: 0 0 .5rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, .8);
  font-weight: 500;
  text-decoration: none;
}

.footer-links a:hover { color: #fff; text-decoration: underline; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .5);
  font-size: .75rem;
}

/* ── Utilidades ────────────────────────────────────────────────────── */
.hidden { display: none !important; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  z-index: 200;
  padding: .6rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--usach-ink);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  top: .75rem;
  color: #fff;
  text-decoration: none;
}

/* ── Adaptación a pantallas pequeñas ─────────────────────────────── */
@media (max-width: 1300px) {
  .session-chip { display: none; }
}

@media (max-width: 960px) {
  .site-header .container {
    flex-direction: column;
    gap: .55rem;
    min-height: 0;
    padding-top: .8rem;
    padding-bottom: .8rem;
  }
  .brand { gap: .8rem; }
  .brand-logo { height: 44px; }
  .brand-rule { height: 34px; }
  .brand-name { font-size: 1.65rem; }
  .header-links,
  .nav-actions {
    position: static;
    transform: none;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 1rem; }
  main { padding: 1.25rem 1rem 2.5rem; }
  .card { padding: 1.15rem; }
  .site-header .container { padding-top: .65rem; padding-bottom: .65rem; gap: .45rem; }
  .brand { gap: .65rem; }
  .brand-logo { height: 36px; }
  .brand-rule { height: 28px; }
  .brand-name { font-size: 1.4rem; }
  .brand-eyebrow { font-size: .54rem; letter-spacing: .09em; }
  .header-links { gap: .2rem; }
  .header-link-subtle { display: none; }
  .header-link { padding: .35rem .5rem; font-size: .74rem; }
  .nav-back { padding: .35rem .6rem; font-size: .74rem; }
  .navbar .nav-back { display: none; }
  .nav-link { padding: .5rem .65rem; font-size: .8rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .navbar, .site-footer, .site-header, .btn { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; border-color: #ccc; }
}
