/* Invoice Radar — cinematic workflow */

/* ===== Hero ===== */
.ir-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #0e0e14 0%, #16161f 45%, #12121a 100%);
  color: #f6f6f9;
  padding: 88px 0 72px;
  min-height: min(78vh, 640px);
  display: flex;
  align-items: center;
}
.ir-hero > .container {
  position: relative;
  z-index: 2;
  width: 100%;
}
.ir-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
}
.ir-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.08;
}
.ir-hero .lead {
  color: rgba(246, 246, 249, 0.72);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 0;
}
.ir-back-light { color: rgba(246, 246, 249, 0.55); }
.ir-back-light:hover { color: #fff; }

.ir-hero-pills {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  line-height: 1;
}
.ir-hero-pills > span:not(.ir-arrow) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  box-sizing: border-box;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  animation: ir-pill-in 0.45s ease both;
  transform: none;
}
.ir-hero-pills > span:nth-child(1) { animation-delay: 0.05s; }
.ir-hero-pills > span:nth-child(3) { animation-delay: 0.1s; }
.ir-hero-pills > span:nth-child(5) { animation-delay: 0.15s; }
.ir-hero-pills > span:nth-child(7) { animation-delay: 0.2s; }
.ir-hero-pills > span:nth-child(9) { animation-delay: 0.25s; }
.ir-hero-pills .is-end {
  background: rgba(30, 158, 85, 0.25);
  border-color: rgba(110, 231, 183, 0.4);
  color: #6ee7b7;
}
.ir-arrow {
  display: inline-flex;
  align-items: center;
  height: 30px;
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.85rem;
  line-height: 1;
  flex-shrink: 0;
}
@keyframes ir-pill-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.ir-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Radar sweep */
.ir-radar {
  position: absolute;
  right: -4%;
  top: 50%;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  transform: translateY(-50%);
  border-radius: 50%;
}
.ir-radar-ring {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 1px solid rgba(66, 79, 209, 0.25);
}
.ir-radar-ring--2 { inset: 32%; border-color: rgba(66, 79, 209, 0.18); }
.ir-radar-ring--3 { inset: 46%; border-color: rgba(66, 79, 209, 0.12); }
.ir-radar-sweep {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(66, 79, 209, 0.35) 50deg, transparent 70deg);
  animation: ir-sweep 4s linear infinite;
  mask-image: radial-gradient(circle, #000 55%, transparent 72%);
}
@keyframes ir-sweep {
  to { transform: rotate(360deg); }
}
.ir-radar-blip {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px;
  border-radius: 50%;
  background: #6b7ae8;
  box-shadow: 0 0 0 0 rgba(107, 122, 232, 0.5);
  transform: rotate(var(--a)) translateX(min(180px, 28vw));
  animation: ir-blip 2.8s ease-out infinite;
  animation-delay: var(--d);
}
@keyframes ir-blip {
  0%, 100% { opacity: 0.3; box-shadow: 0 0 0 0 rgba(107, 122, 232, 0.4); }
  40% { opacity: 1; box-shadow: 0 0 0 10px rgba(107, 122, 232, 0); }
}

/* Floating invoice cards */
.ir-float-card {
  position: absolute;
  width: 160px;
  padding: 14px 14px 12px;
  border-radius: 14px;
  background: rgba(30, 30, 40, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  animation: ir-float 6s ease-in-out infinite;
}
.ir-float-card strong {
  display: block;
  font-size: 0.88rem;
  color: #fff;
  margin: 6px 0 2px;
}
.ir-float-card em {
  font-style: normal;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
}
.ir-fc-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c9cef5;
  background: rgba(66, 79, 209, 0.3);
  padding: 3px 8px;
  border-radius: 999px;
}
.ir-fc-tag--ok {
  color: #6ee7b7;
  background: rgba(30, 158, 85, 0.25);
}
.ir-float-card--1 { right: 18%; top: 18%; animation-delay: 0s; }
.ir-float-card--2 { right: 8%; top: 48%; animation-delay: -2s; }
.ir-float-card--3 { right: 22%; bottom: 14%; animation-delay: -3.5s; }
@keyframes ir-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== How it works ===== */
.ir-how { padding: 72px 0 88px; }
.ir-how-head { max-width: 640px; margin-bottom: 28px; }
.ir-how-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.ir-how-head p { font-size: 1.02rem; color: var(--ink-mid); line-height: 1.65; }

.ir-progress { margin-bottom: 28px; max-width: 420px; }
.ir-progress-track {
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 10px;
}
.ir-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #424fd1, #6b7ae8);
  border-radius: 2px;
  transition: width 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.ir-progress-dots {
  display: flex;
  justify-content: space-between;
}
.ir-progress-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  transition: background 0.5s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
}
.ir-progress-dots span.is-on {
  background: var(--teal);
  transform: scale(1.2);
  box-shadow: 0 0 0 4px rgba(66, 79, 209, 0.18);
}

.ir-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}
.ir-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ir-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-mid);
  cursor: pointer;
  transition:
    background 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.ir-step:hover { background: var(--slate-light); color: var(--ink); }
.ir-step.is-active {
  background: var(--white);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  transform: translateX(3px);
}
.ir-step-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--teal);
  padding-top: 3px;
}
.ir-step-body strong { display: block; font-size: 0.92rem; margin-bottom: 2px; }
.ir-step-body span { font-size: 0.8rem; color: var(--ink-light); line-height: 1.4; }
.ir-step.is-active .ir-step-body span { color: var(--ink-mid); }

/* Dashboard */
.ir-dash {
  position: relative;
  background: #f5f6fa;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 440px;
  transition: box-shadow 0.4s, border-color 0.4s;
}
.ir-dash[data-phase="paid"] {
  border-color: rgba(30, 158, 85, 0.35);
  box-shadow: 0 12px 40px rgba(30, 158, 85, 0.12);
}
.ir-dash-inner {
  display: grid;
  grid-template-columns: 56px 1fr;
  min-height: 440px;
}
.ir-side {
  background: #111119;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.ir-side-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: background 0.3s, box-shadow 0.3s;
}
.ir-side-dot.is-on {
  background: #424fd1;
  box-shadow: 0 0 0 4px rgba(66, 79, 209, 0.35);
  animation: ir-side-pulse 1.6s ease-in-out infinite;
}
@keyframes ir-side-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(66, 79, 209, 0.25); }
  50% { box-shadow: 0 0 0 7px rgba(66, 79, 209, 0.08); }
}
.ir-main { padding: 18px; }

.ir-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.ir-kpi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.ir-kpi.is-tick { animation: ir-kpi-tick 0.5s ease; }
@keyframes ir-kpi-tick {
  0% { transform: scale(1); }
  40% { transform: scale(1.04); }
  100% { transform: scale(1); }
}
.ir-kpi .lab {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 6px;
}
.ir-kpi .val {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  transition: color 0.35s;
}
.ir-kpi .val.is-down { color: #1e9e55; }
.ir-kpi .val.is-warn { color: #c77700; }
.ir-kpi .val.is-bad { color: #d64545; }

.ir-table-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.ir-table { width: 100%; border-collapse: collapse; }
.ir-table th {
  text-align: left;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-light);
  font-weight: 700;
  padding: 10px 12px;
  background: #fafbfe;
  border-bottom: 1px solid var(--line);
}
.ir-table td {
  padding: 12px;
  font-size: 0.82rem;
  border-top: 1px solid var(--line);
  vertical-align: middle;
}
.ir-table .party { font-weight: 600; }
.ir-table .amt { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500; }

.ir-pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.ir-pill.is-fresh {
  animation: ir-pill-pop 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes ir-pill-pop {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
.ir-pill--extract { background: #eaecfa; color: #3340b8; }
.ir-pill--review { background: #fbf0dd; color: #c77700; }
.ir-pill--sent { background: #e4f5eb; color: #1e9e55; }
.ir-pill--gate { background: #eaecfa; color: #3340b8; }
.ir-pill--overdue { background: #fbe9e9; color: #d64545; }
.ir-pill--paid { background: #e4f5eb; color: #1e9e55; }

.ir-row { transition: background 0.4s, opacity 0.35s, transform 0.4s; }
.ir-row.is-focus { background: #f7f8ff; }
.ir-row.is-paid {
  background: #f4fbf7;
  animation: ir-row-paid 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes ir-row-paid {
  0% { transform: scale(1); }
  35% { transform: scale(1.015); }
  100% { transform: scale(1); }
}
.ir-row.is-enter {
  animation: ir-row-enter 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes ir-row-enter {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
.ir-row .shimmer {
  display: inline-block;
  height: 10px;
  width: 72px;
  border-radius: 4px;
  background: linear-gradient(90deg, #e8e9ef 20%, #f4f5f9 50%, #e8e9ef 80%);
  background-size: 200% 100%;
  animation: ir-shimmer 1.8s ease-in-out infinite;
}
@keyframes ir-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Capture mail — soft glide once per Capture step */
.ir-mail {
  position: absolute;
  top: 36px;
  left: 12px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #424fd1;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  opacity: 0;
  z-index: 5;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(66, 79, 209, 0.28);
  transform: translate(-20px, -6px) scale(0.94);
}
.ir-mail.is-flying {
  animation: ir-mail-fly 2.9s cubic-bezier(0.4, 0, 0.2, 1) 1 both;
}
@keyframes ir-mail-fly {
  0% {
    opacity: 0;
    transform: translate(-24px, -6px) scale(0.94);
  }
  12% { opacity: 1; }
  58% {
    opacity: 1;
    transform: translate(68px, 72px) scale(1);
  }
  82% {
    opacity: 0.4;
    transform: translate(88px, 98px) scale(0.92);
  }
  100% {
    opacity: 0;
    transform: translate(92px, 104px) scale(0.9);
  }
}

/* Paid burst */
.ir-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  z-index: 4;
  background:
    radial-gradient(circle at 50% 40%, rgba(30, 158, 85, 0.18), transparent 45%);
}
.ir-dash[data-phase="paid"] .ir-burst {
  animation: ir-burst-flash 0.9s ease-out;
}
@keyframes ir-burst-flash {
  0% { opacity: 0; }
  30% { opacity: 1; }
  100% { opacity: 0; }
}

.ir-overlay {
  display: grid;
  margin-top: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 14px 16px;
  min-height: 108px;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.45s ease,
    box-shadow 0.45s ease;
}
.ir-overlay.is-empty {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  border-color: transparent;
}
.ir-overlay-panel {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.55s;
  pointer-events: none;
}
.ir-overlay-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 1;
}

.ir-capture-stream {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.ir-chip {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  animation: ir-chip-pulse 2.8s ease-in-out infinite;
}
.ir-chip:nth-child(2) { animation-delay: 0.35s; }
.ir-chip:nth-child(3) { animation-delay: 0.7s; }
@keyframes ir-chip-pulse {
  0%, 100% { opacity: 0.72; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}
.ir-pulse-text {
  animation: ir-text-pulse 2s ease-in-out infinite;
}
@keyframes ir-text-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.ir-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.ir-field {
  background: #fbfbfe;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}
.ir-field-pop {
  opacity: 0;
}
.ir-overlay-panel.is-active .ir-field-pop {
  animation: ir-field-in 0.65s cubic-bezier(0.4, 0, 0.2, 1) both;
  animation-delay: var(--d, 0s);
}
@keyframes ir-field-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
.ir-field .k {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-light);
  margin-bottom: 4px;
}
.ir-field .v { font-size: 0.88rem; font-weight: 700; }
.ir-field.is-review {
  border-color: #f0d9a8;
  background: #fbf0dd;
}
.ir-field.is-review .v { color: #c77700; }

/* Chase ladder */
.ir-ladder {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 4px;
}
.ir-ladder::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--line);
}
.ir-ladder-step {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  position: relative;
}
.ir-ladder-step .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--line);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
  z-index: 1;
  justify-self: center;
}
.ir-ladder-step.is-done .dot {
  background: #1e9e55;
  box-shadow: 0 0 0 1px #1e9e55, 0 0 0 5px rgba(30, 158, 85, 0.15);
  animation: ir-dot-pop 0.45s ease;
}
.ir-ladder-step.is-wait .dot { background: #c9cbda; }
.ir-ladder-step strong { font-size: 0.86rem; }
.ir-ladder-step em {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-light);
}
.ir-ladder-step.is-done em { color: #1e9e55; }
@keyframes ir-dot-pop {
  0% { transform: scale(0.6); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.ir-wa {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.ir-wa-bubble {
  flex: 1;
  background: #e4f6ec;
  border-radius: 12px 12px 12px 4px;
  padding: 12px 14px;
  font-size: 0.82rem;
  color: var(--ink-mid);
  line-height: 1.5;
}
.ir-overlay-panel.is-active .ir-wa-bubble {
  animation: ir-bubble-in 0.65s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes ir-bubble-in {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}
.ir-wa-bubble strong { color: var(--ink); }
.ir-wa-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ir-wa-actions button {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}
.ir-wa-actions .approve {
  background: #1e9e55;
  border-color: #1e9e55;
  color: #fff;
  animation: ir-approve-glow 1.8s ease-in-out infinite;
}
@keyframes ir-approve-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(30, 158, 85, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(30, 158, 85, 0); }
}
.ir-wa-actions .approve:hover { transform: scale(1.03); }

.ir-caption {
  margin-top: 16px;
  font-size: 0.92rem;
  color: var(--ink-mid);
  line-height: 1.55;
  min-height: 2.8em;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.ir-caption.is-swap { opacity: 0; }

.ir-cap { position: relative; overflow: hidden; }
.ir-cap-ico {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--teal);
  margin-bottom: 10px;
}
.ir-cap:hover {
  transform: translateY(-3px);
  border-color: rgba(66, 79, 209, 0.25);
}

[data-theme="dark"] .ir-dash { background: #12121a; }
[data-theme="dark"] .ir-kpi,
[data-theme="dark"] .ir-table-wrap,
[data-theme="dark"] .ir-overlay { background: var(--surface-raised); border-color: var(--line); }
[data-theme="dark"] .ir-table th { background: #18181f; }
[data-theme="dark"] .ir-step.is-active { background: var(--surface-raised); }
[data-theme="dark"] .ir-field { background: #18181f; }
[data-theme="dark"] .ir-row.is-focus { background: rgba(66, 79, 209, 0.12); }
[data-theme="dark"] .ir-row.is-paid { background: rgba(30, 158, 85, 0.1); }
[data-theme="dark"] .ir-wa-bubble { background: rgba(30, 158, 85, 0.15); }

@media (max-width: 900px) {
  .ir-radar { opacity: 0.28; right: -28%; max-width: 70%; }
  .ir-float-card { display: none; }
  .ir-layout { grid-template-columns: 1fr; }
  .ir-steps {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-right: 24px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
  .ir-step {
    flex: 0 0 auto;
    min-width: 136px;
    scroll-snap-align: start;
  }
  .ir-step.is-active { transform: none; }
  .ir-step-body span { display: none; }
  .ir-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .ir-fields { grid-template-columns: 1fr; }
  .ir-dash-inner { grid-template-columns: 1fr; }
  .ir-side { display: none; }
  .ir-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .ir-table th:nth-child(3),
  .ir-table td:nth-child(3) { display: none; }
  .ir-hero {
    min-height: auto;
    padding: 72px 0 48px;
  }
  .ir-hero-pills {
    flex-wrap: wrap;
    row-gap: 8px;
    column-gap: 6px;
  }
  .ir-hero-pills > .ir-arrow {
    display: none;
  }
  .ir-hero-pills > span:not(.ir-arrow) {
    font-size: 0.72rem;
    padding: 6px 10px;
  }
}

@media (max-width: 480px) {
  .ir-kpis { grid-template-columns: 1fr; }
  .ir-hero-pills > span:not(.ir-arrow) {
    flex: 1 1 calc(50% - 6px);
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ir-radar-sweep,
  .ir-radar-blip,
  .ir-float-card,
  .ir-mail,
  .ir-mail.is-flying,
  .ir-row .shimmer,
  .ir-chip,
  .ir-pulse-text,
  .ir-approve-glow,
  .ir-side-dot.is-on,
  .ir-hero-pills > span {
    animation: none !important;
  }
  .ir-overlay,
  .ir-overlay-panel,
  .ir-field-pop,
  .ir-wa-bubble,
  .ir-pill,
  .ir-pill.is-fresh {
    animation: none !important;
    transition: none !important;
  }
  .ir-overlay-panel {
    opacity: 0;
    visibility: hidden;
    transform: none;
  }
  .ir-overlay-panel.is-active {
    opacity: 1;
    visibility: visible;
  }
}
