/*
 * Al Puente / Canada Border Times — layered on Bootswatch Cosmo 5.3.8
 * (static/css/bootstrap.min.css). Only brand tokens and the wait-time
 * components live here; everything else is stock Cosmo.
 */
:root {
  --ap-navy: #0d2b4e;
  --ap-blue: #2780e3;
  --ap-cyan: #5bc8d8;
  --ap-surface: #f4f7fb;
  --ap-line: #e3e9f1;

  /* Wait-time status palette — used for every chip, bar and legend dot. */
  --ap-fast: #12833f;
  --ap-fast-bg: #e3f6ea;
  --ap-moderate: #b45f06;
  --ap-moderate-bg: #fff1dc;
  --ap-slow: #c4231c;
  --ap-slow-bg: #fde6e4;
  --ap-closed: #6b7785;
  --ap-closed-bg: #eef1f5;

  --bs-body-bg: var(--ap-surface);
  --bs-border-radius: .5rem;
  --bs-border-radius-lg: .75rem;
  --bs-card-border-color: var(--ap-line);
}

body { background: var(--ap-surface); }
.tabular { font-variant-numeric: tabular-nums; }

/* ---------- Header / footer ---------- */
.ap-navbar {
  background: #fff;
  border-bottom: 1px solid var(--ap-line);
  box-shadow: 0 1px 2px rgba(13, 43, 78, .04);
}
.ap-navbar .navbar-brand img { height: 34px; width: auto; }
.ap-navbar .navbar-brand { padding: 0; }
.ap-navbar .nav-link { color: #4a5b70; font-weight: 500; font-size: 1.02rem; }
.ap-navbar .nav-link .bi { color: var(--ap-blue); margin-right: .15rem; }
@media (min-width: 992px) {
  /* Separate the wordmark from the links so they don't read as one line */
  .ap-navbar .navbar-brand {
    margin-right: 1.75rem; padding-right: 1.75rem;
    border-right: 1px solid var(--ap-line);
  }
  .ap-navbar .navbar-nav .nav-link { padding-left: .75rem; padding-right: .75rem; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .ap-navbar .navbar-nav .nav-link .bi { display: none; }
  .ap-navbar .navbar-brand { margin-right: 1rem; padding-right: 1rem; }
}
.ap-navbar .nav-link:hover, .ap-navbar .nav-link:focus { color: var(--ap-blue); }
.ap-navbar .dropdown-menu-borders { max-height: 70vh; overflow-y: auto; min-width: 16rem; }

.ap-footer {
  background: var(--ap-navy);
  color: rgba(255, 255, 255, .75);
  font-size: .95rem;
}
.ap-footer a { color: #fff; text-decoration: none; }
.ap-footer a:hover { text-decoration: underline; }

/* ---------- Hero (home) ---------- */
.ap-hero {
  background: linear-gradient(135deg, var(--ap-navy) 0%, #164a85 60%, var(--ap-blue) 100%);
  color: #fff;
  padding: 2rem 0 4.5rem;
}
.ap-hero-sm { padding: 1.5rem 0 1.75rem; }
.ap-hero .breadcrumb a, .ap-hero .breadcrumb-item.active, .ap-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .8); }
.ap-hero h1 { font-weight: 700; font-size: clamp(1.6rem, 4vw, 2.4rem); letter-spacing: -.01em; }
.ap-hero .lead { color: rgba(255, 255, 255, .85); font-size: 1.1rem; }
.ap-search {
  margin-top: -2.25rem;
  position: relative;
  z-index: 2;
}
.ap-search .form-control {
  border: 0;
  height: 3.5rem;
  font-size: 1.1rem;
  padding-left: 3rem;
  box-shadow: 0 8px 24px rgba(13, 43, 78, .15);
  border-radius: var(--bs-border-radius-lg);
}
.ap-search .bi-search {
  position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%);
  color: var(--ap-closed); font-size: 1.15rem;
}

.ap-live {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .9rem; color: rgba(255, 255, 255, .85);
}
.ap-live::before {
  content: ""; width: .55rem; height: .55rem; border-radius: 50%;
  background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .7);
  animation: ap-pulse 2s infinite;
}
.ap-live.text-body-secondary { color: var(--bs-secondary-color) !important; }
@keyframes ap-pulse {
  70% { box-shadow: 0 0 0 .5rem rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
@media (prefers-reduced-motion: reduce) { .ap-live::before { animation: none; } }

/* ---------- Status chips ---------- */
.wait-chip {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .2rem .6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ap-closed); background: var(--ap-closed-bg);
}
.wait-chip::before {
  content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor;
}
.wait-chip.is-fast { color: var(--ap-fast); background: var(--ap-fast-bg); }
.wait-chip.is-moderate { color: var(--ap-moderate); background: var(--ap-moderate-bg); }
.wait-chip.is-slow { color: var(--ap-slow); background: var(--ap-slow-bg); }
.wait-chip.is-closed, .wait-chip.is-unknown { font-weight: 600; }

/* Big headline wait on crossing cards / detail page */
.wait-hero {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .9rem 1rem;
  border-radius: var(--bs-border-radius-lg);
  font-size: clamp(1.6rem, 5vw, 2rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #fff; background: var(--ap-closed);
}
.wait-hero small { font-size: .55em; font-weight: 600; opacity: .9; }
.wait-hero.is-fast { background: var(--ap-fast); }
.wait-hero.is-moderate { background: var(--ap-moderate); }
.wait-hero.is-slow { background: var(--ap-slow); }
.wait-hero.is-closed, .wait-hero.is-unknown { font-size: 1.35rem; }

.wait-legend { display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-size: .875rem; color: var(--bs-secondary-color); }
.wait-legend .wait-chip { font-size: .8rem; padding: .1rem .5rem; }

/* ---------- Home: border summary cards ---------- */
.border-card {
  border: 1px solid var(--ap-line);
  border-radius: var(--bs-border-radius-lg);
  background: #fff;
  height: 100%;
  transition: box-shadow .15s ease, transform .15s ease;
}
.border-card:hover { box-shadow: 0 6px 20px rgba(13, 43, 78, .08); }
.border-card-title {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--ap-line);
  font-weight: 700; font-size: 1.1rem;
  color: var(--ap-navy); text-decoration: none;
}
.border-card-title:hover { color: var(--ap-blue); }
.border-card-title .bi { color: var(--ap-blue); }
.crossing-row {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .6rem 1rem;
  color: inherit; text-decoration: none;
}
.crossing-row + .crossing-row { border-top: 1px dashed var(--ap-line); }
.crossing-row:hover { background: var(--ap-surface); }
.crossing-row .name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.border-card.is-top { border-top: 3px solid var(--ap-blue); }

/* ---------- City page ---------- */
.crossing-jump {
  position: sticky; top: 0; z-index: 1020;
  background: rgba(244, 247, 251, .95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--ap-line);
  margin-bottom: 1rem;
}
.crossing-jump .scroller {
  display: flex; gap: .5rem; overflow-x: auto; padding: .6rem 0;
  scrollbar-width: none;
}
.crossing-jump .scroller::-webkit-scrollbar { display: none; }
.crossing-jump a {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .3rem .4rem .3rem .8rem;
  border: 1px solid var(--ap-line); border-radius: 999px;
  background: #fff; color: var(--ap-navy); text-decoration: none;
  font-weight: 600; font-size: .9rem;
}
.crossing-jump a:hover { border-color: var(--ap-blue); }
.crossing-jump .wait-chip { font-size: .8rem; padding: .1rem .5rem; }

.crossing-card { border-radius: var(--bs-border-radius-lg); scroll-margin-top: 4rem; }
.crossing-card .card-title a { color: var(--ap-navy); text-decoration: none; }
.crossing-card .card-title a:hover { color: var(--ap-blue); }

.lane-table { width: 100%; font-size: .95rem; border-collapse: collapse; }
.lane-table th {
  font-size: .75rem; text-transform: uppercase; letter-spacing: .04em;
  color: var(--bs-secondary-color); font-weight: 600;
  padding: .35rem .25rem; text-align: center;
}
.lane-table th:first-child, .lane-table td:first-child { text-align: left; padding-left: 0; }
.lane-table td { padding: .5rem .25rem; text-align: center; border-top: 1px solid var(--ap-line); vertical-align: middle; }
.lane-table td:first-child { font-weight: 600; color: var(--ap-navy); white-space: nowrap; }
.lane-table td:first-child .bi { color: var(--ap-blue); margin-right: .25rem; }
.lane-table .wait-chip { font-size: .85rem; padding: .1rem .45rem; }
.lane-table .wait-chip::before { display: none; }
.lane-table .lanes { display: block; font-size: .75rem; color: var(--bs-secondary-color); margin-top: .1rem; }
.lane-table .na { color: #b2bcc8; }

.photo-strip { display: flex; gap: .5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .25rem; }
.photo-strip img {
  flex: 0 0 auto; width: 70%; max-width: 260px; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--bs-border-radius); scroll-snap-align: start;
}

/* ---------- Crossing page ---------- */
.chat-box { max-height: 340px; overflow-y: auto; }
.chat-msg + .chat-msg { border-top: 1px solid var(--ap-line); }
.camera-img { border-radius: var(--bs-border-radius); width: 100%; }

/* ---------- Reports ---------- */
.report-card img { aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Report CTA (floating on mobile) ---------- */
.report-fab {
  position: fixed; right: 1rem; bottom: calc(1rem + var(--ap-anchor-offset, 0px)); z-index: 1030;
  border-radius: 999px; box-shadow: 0 8px 20px rgba(13, 43, 78, .25);
  padding: .7rem 1.1rem; font-weight: 700;
}
@media (min-width: 768px) { .report-fab { display: none; } }

.section-title { font-weight: 700; color: var(--ap-navy); font-size: 1.35rem; }

/* Legacy report uploads were resized on a canvas (which already applies the
   EXIF rotation) and then had the original EXIF orientation re-attached, so
   browsers rotate them a second time. The pixels are upright — ignore EXIF. */
.report-card img, .photo-strip img { image-orientation: none; }

/* ---------- Sticky footer ----------
   smbs_base.html's <body> holds nav, alerts, content and footer as direct
   children; a full-height flex column pushes the footer to the bottom on
   short pages. */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body > .ap-footer { margin-top: auto; }
.ap-footer-spacer { height: 3rem; flex: 0 0 auto; }
.ap-footer .ap-logo-mark { width: 28px; height: 28px; }
.ap-footer .ap-logo-word { font-size: 1.2rem; }

/* ---------- Logo ---------- */
.ap-logo { display: inline-flex; align-items: center; gap: .55rem; }
.ap-logo-mark { width: 36px; height: 36px; flex: 0 0 auto; }
.ap-logo-word {
  font-weight: 700; font-size: 1.5rem; line-height: 1;
  letter-spacing: -.03em; color: var(--ap-navy);
  padding-bottom: .12em; /* optically centre: the "p" descender lifts the box */
}
.ap-logo-accent { color: #1d9bb0; }
.ap-footer .ap-logo-word { color: #fff; }
.ap-footer .ap-logo-accent { color: var(--ap-cyan); }

/* ---------- Live cameras ---------- */
.cam { min-width: 0; max-width: 100%; }
.cam-frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; width: 100%; max-width: 100%;
  background: #0b1a2e; border-radius: var(--bs-border-radius);
}
.cam-frame video, .cam-frame iframe, .cam-frame img, .cam-yt {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.cam-frame video, .cam-frame img { object-fit: cover; }
.cam-yt { padding: 0; background: none; cursor: pointer; }
.cam-yt img { object-fit: cover; }
.cam-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(13, 43, 78, .75); color: #fff; font-size: 2rem;
  transition: background .15s;
}
.cam-yt:hover .cam-play, .cam-yt:focus-visible .cam-play { background: var(--ap-blue); }
.cam-live {
  position: absolute; left: .5rem; top: .5rem; pointer-events: none;
  padding: .05rem .45rem; border-radius: .3rem;
  background: #c4231c; color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .05em;
}
.cam-caption { font-size: .875rem; margin-top: .35rem; }
.cam-caption a { color: inherit; }
.crossing-row .cam-flag { color: #c3ccd7; font-size: .9em; margin-right: .45rem; }
.crossing-row .cam-flag.has-cam { color: #d32f2f; }

/* ---------- Community feed ---------- */
.community .feed { max-height: 560px; overflow-y: auto; margin: 0 -1rem; padding: 0 1rem; }
.feed-item { display: flex; gap: .75rem; padding: .75rem 0; border-top: 1px solid var(--ap-line); }
.feed-item.is-here { border-left: 3px solid var(--ap-blue); padding-left: .6rem; margin-left: -.6rem; }
.feed-item.is-new { animation: ap-flash 2s ease-out; }
@keyframes ap-flash { from { background: #e8f2fd; } to { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .feed-item.is-new { animation: none; } }
.feed-avatar {
  flex: 0 0 2.25rem; height: 2.25rem; border-radius: 50%;
  display: grid; place-items: center;
  background: #e8f2fd; color: var(--ap-blue); font-weight: 700;
}
.feed-body { min-width: 0; flex: 1; }
.feed-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .5rem; font-size: .875rem; }
.feed-meta time { color: var(--bs-secondary-color); }
.feed-tag {
  display: inline-flex; align-items: center; gap: .2rem;
  padding: 0 .45rem; border-radius: 999px; background: var(--ap-surface);
  color: var(--ap-navy); font-size: .8rem; font-weight: 600; text-decoration: none;
}
.feed-tag:hover { background: #e8f2fd; }
.feed-text { margin: .2rem 0 0; overflow-wrap: anywhere; }
.feed-report-label { font-size: .8rem; font-weight: 600; color: var(--ap-fast); margin-top: .2rem; }
.feed-photo-link { display: inline-block; margin-top: .35rem; }
.feed-photo {
  display: block; width: 168px; height: 126px; object-fit: cover;
  border-radius: var(--bs-border-radius); border: 1px solid var(--ap-line);
}
@media (min-width: 576px) { .feed-photo { width: 200px; height: 150px; } }
.feed-composer .form-select { max-width: 45%; }

/* ---------- Statistics ---------- */
.series-dot { display: inline-block; width: .65rem; height: .65rem; border-radius: 50%; margin-right: .4rem; vertical-align: baseline; }
.stat-tile { background: #fff; border: 1px solid var(--ap-line); border-radius: var(--bs-border-radius-lg); padding: 1rem 1.1rem; }
.stat-tile-name { font-weight: 700; color: var(--ap-navy); margin-bottom: .35rem; }
.stat-tile-value { font-size: 2rem; font-weight: 700; line-height: 1.1; color: var(--ap-navy); font-variant-numeric: tabular-nums; }
.stat-tile-label { font-size: .8rem; color: var(--bs-secondary-color); text-transform: uppercase; letter-spacing: .04em; }
.stat-tile-facts { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: .75rem 0 0; padding-top: .6rem; border-top: 1px solid var(--ap-line); }
.stat-tile-facts dt { font-size: .75rem; color: var(--bs-secondary-color); font-weight: 600; }
.stat-tile-facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.stat-tile-facts dd small { display: block; font-weight: 400; color: var(--bs-secondary-color); }
.stat-tile-empty { color: var(--bs-secondary-color); padding: .75rem 0; }
.chart-legend { display: flex; flex-wrap: wrap; gap: .25rem 1rem; list-style: none; margin: 0; padding: 0; font-size: .875rem; }
.stats-chart-wrap { position: relative; height: 320px; }
@media (max-width: 575.98px) { .stats-chart-wrap { height: 260px; } }
.stats-table th, .stats-table td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.nav-pills-sm .nav-link { padding: .3rem .8rem; font-size: .9rem; font-weight: 600; }
.nav-pills-sm .nav-link:not(.active) { color: var(--ap-navy); background: var(--ap-surface); }
.nav-pills-sm .nav-link.active .series-dot { box-shadow: 0 0 0 2px #fff; }
.best-window { background: #e8f2fd; color: var(--ap-navy); border-radius: var(--bs-border-radius); padding: .6rem .85rem; font-weight: 600; }
.best-window .bi { color: var(--ap-blue); margin-right: .3rem; }
.heatmap-wrap { overflow-x: auto; }
.heatmap { border-collapse: separate; border-spacing: 2px; width: 100%; min-width: 320px; font-variant-numeric: tabular-nums; }
.heatmap th { font-size: .75rem; font-weight: 600; color: var(--bs-secondary-color); text-align: center; padding: .2rem; white-space: nowrap; }
.heatmap thead th.is-today { color: var(--ap-navy); border-bottom: 2px solid var(--ap-blue); }
.heatmap tbody th { text-align: right; padding-right: .5rem; }
.heatmap td { text-align: center; font-size: .75rem; font-weight: 600; color: #0b2545; border-radius: 4px; height: 1.6rem; }
.heatmap td.on-dark { color: #fff; }
.heatmap td.is-empty { background: var(--ap-surface); color: #b2bcc8; }
.heat-legend { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; margin-top: .75rem; font-size: .75rem; }
.heat-legend-step { display: inline-flex; align-items: center; gap: .25rem; color: var(--bs-secondary-color); }
.heat-legend-step span { width: 1rem; height: .75rem; border-radius: 2px; display: inline-block; }
.heatmap thead th { text-transform: capitalize; }

/* ---------- Sponsors & ads ---------- */
.sponsor-tag { display: inline-block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--bs-secondary-color); }
.sponsor-banner, .sponsor-card {
  position: relative; display: flex; align-items: center; gap: .9rem;
  background: #fff; border: 1px solid var(--ap-line); border-radius: var(--bs-border-radius-lg);
  padding: .75rem 1rem; margin: .75rem 0;
}
.sponsor-banner { border-left: 4px solid var(--ap-cyan); }
.sponsor-logo { width: 56px; height: 56px; object-fit: contain; border-radius: var(--bs-border-radius); flex: 0 0 auto; }
.sponsor-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.sponsor-body strong { color: var(--ap-navy); }
.sponsor-text { font-size: .9rem; color: var(--bs-secondary-color); }
.sponsor-actions { flex: 0 0 auto; position: relative; z-index: 2; }
.sponsor-directory { list-style: none; padding: 0; margin: 0; }
.sponsor-directory li { padding: .5rem 0; border-top: 1px dashed var(--ap-line); }
.sponsor-directory li:first-child { border-top: 0; }
.ad-slot { margin: .75rem 0; min-height: 280px; text-align: center; }  /* reserved: no layout shift */
.ad-slot-in_feed, .ad-slot-bottom { min-height: 250px; }
.ad-label { display: block; font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; color: #9aa5b1; margin-bottom: .2rem; }
.taboola-slot { margin-top: 2rem; min-height: 200px; }
.dolar-hoy {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem;
  background: #ecf8f1; border: 1px solid #cdeedb; border-radius: var(--bs-border-radius-lg); padding: .75rem 1rem; margin: .75rem 0;
}
.dolar-hoy-label { font-weight: 700; color: #0b6b43; }
.dolar-hoy-rates { display: flex; gap: 1rem; font-variant-numeric: tabular-nums; }
.dolar-hoy-rates strong { font-size: 1.15rem; color: var(--ap-navy); }
.dolar-hoy-links { display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; }
@media (max-width: 575.98px) { .dolar-hoy-links { align-items: flex-start; } }
.insurance-cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .9rem;
  background: #fff8e6; border: 1px solid #f6dfa0; border-radius: var(--bs-border-radius-lg); padding: .7rem 1rem; margin: .75rem 0;
}
.insurance-cta .bi { font-size: 1.4rem; color: #b45f06; }
.insurance-cta div { flex: 1; min-width: 14rem; }
.offer { border: 1px solid var(--ap-line); border-radius: var(--bs-border-radius-lg); padding: 1rem; height: 100%; display: flex; flex-direction: column; gap: .5rem; }
.offer-name { font-weight: 700; color: var(--ap-navy); }
.offer-desc { font-size: .9rem; color: var(--bs-secondary-color); flex: 1; }
.offer-price { font-size: 1.6rem; font-weight: 700; color: var(--ap-navy); font-variant-numeric: tabular-nums; }
.offer-price small { font-size: .8rem; font-weight: 600; color: var(--bs-secondary-color); }
.i94-steps li { margin-bottom: .5rem; }
.dolar-chip {
  display: inline-flex; align-items: center; gap: .35rem; margin: 0 .5rem .5rem 0; vertical-align: middle;
  padding: .3rem .7rem; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  color: #fff; font-size: .9rem; font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums;
}
.dolar-chip:hover { background: rgba(255,255,255,.24); color: #fff; }
.dolar-strip {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .25rem .75rem;
  background: #ecf8f1; border: 1px solid #cdeedb; border-radius: var(--bs-border-radius-lg);
  padding: .6rem .9rem; margin-bottom: 1rem; color: var(--ap-navy); text-decoration: none; font-variant-numeric: tabular-nums;
}
.dolar-strip:hover { border-color: #0b6b43; color: var(--ap-navy); }
.dolar-strip .bi { color: #0b6b43; }
.dolar-strip-cta { font-weight: 700; color: #0b6b43; font-size: .9rem; }
.sponsor-cta { display: inline-block; font-size: .85rem; color: var(--bs-secondary-color); text-decoration: none; margin: .25rem 0 .5rem; }
.sponsor-cta:hover { color: var(--ap-blue); text-decoration: underline; }
.sponsor-cta .bi, .nav-advertise .bi { margin-right: .2rem; }
.nav-advertise { font-weight: 600; }
@media (max-width: 991.98px) { .nav-advertise { margin: .5rem 0; } }

/* ---------- Report impact & "¿Estás en la fila?" (border/impact.py) ---------- */
.feed-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .75rem; margin-top: .45rem; }
.feed-helpful { --bs-btn-padding-y: .15rem; --bs-btn-padding-x: .55rem; --bs-btn-font-size: .8rem; border-radius: 999px; }
.feed-helpful[aria-pressed="true"]:disabled { opacity: 1; }
.report-prompt { background: var(--ap-fast-bg); border: 1px solid #bfe6cd; color: var(--ap-navy); }
.report-prompt.is-soft { background: #fff; border-color: var(--ap-line); }
.report-prompt-icon { font-size: 1.5rem; color: var(--ap-fast); line-height: 1; }

/* ---------- AdSense anchor ad (see initAnchorOffset in alpuente.js) ---------- */
body { padding-bottom: var(--ap-anchor-offset, 0px); }
body .smbs-cookie-consent { bottom: var(--ap-anchor-offset, 0px); }
