.icit-home-featured { padding: 96px 0; position: relative; }
.icit-home-featured .ihf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
.icit-home-featured .ihf-card {
  display: flex; flex-direction: column; padding: 34px 30px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(196,23,30,.14), var(--glass) 50%);
  color: var(--ink);
}
.icit-home-featured .ihf-odoo { border-color: rgba(255,75,82,.3); }
.icit-home-featured .ihf-label {
  align-self: flex-start; margin-bottom: 14px; padding: 6px 14px;
  border: 1px solid var(--line); border-radius: 100px; background: var(--glass);
  color: var(--red-hi); font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.icit-home-featured[dir=rtl] .ihf-label { letter-spacing: 0; }
.icit-home-featured h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; color: var(--ink); }
.icit-home-featured .ihf-card > p { color: var(--mut); font-size: 15px; max-width: 520px; }
.icit-home-featured .osp-v { margin-top: 24px; }
.icit-home-featured .ihf-actions { margin-top: auto; padding-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.icit-home-featured .ihf-actions .btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 26px; text-align: center; }
.icit-home-featured .ihf-actions a:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 4px; }

/* Odoo icons */
.icit-home-featured .ihf-icons { list-style: none; display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.icit-home-featured .ihf-icons li {
  display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 96px;
  padding: 16px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--glass);
  font-size: 13px; color: var(--ink);
}
.icit-home-featured .ihf-icons img { width: 56px; height: 56px; }

/* OmniSync window (original Overview, light surface inside dark shell) */
.icit-home-featured .ihf-win {
  overflow: hidden; border-radius: 12px; border: 1px solid #e2e8f0; background: #fff; color: #334155;
  box-shadow: 0 24px 50px -12px rgba(0,0,0,.5); font-family: inherit; max-width: 460px;
}
.icit-home-featured .ihf-bar { display: flex; gap: 6px; padding: 10px 16px; background: #f8fafc; border-bottom: 1px solid #f1f5f9; }
.icit-home-featured .ihf-bar span { width: 10px; height: 10px; border-radius: 50%; }
.icit-home-featured .ihf-bar .r { background: #f87171; } .icit-home-featured .ihf-bar .a { background: #fbbf24; } .icit-home-featured .ihf-bar .g { background: #34d399; }
.icit-home-featured .ihf-body { padding: 16px; }
.icit-home-featured .ihf-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.icit-home-featured .ihf-top b { font-size: 13px; font-weight: 600; color: #334155; }
.icit-home-featured .ihf-top i { font-style: normal; font-size: 11px; font-weight: 500; color: #047857; background: #ecfdf5; border-radius: 100px; padding: 2px 8px; }
.icit-home-featured .ihf-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.icit-home-featured .ihf-kpis > div { border: 1px solid #f1f5f9; background: #f8fafc; border-radius: 8px; padding: 10px; }
.icit-home-featured .ihf-kpis small { display: block; font-size: 11px; color: #64748b; line-height: 1.4; }
.icit-home-featured .ihf-kpis strong { display: block; font-size: 15px; color: #1e293b; line-height: 1.4; }
.icit-home-featured .ihf-kpis em { font-style: normal; font-size: 11px; font-weight: 500; color: #047857; }
.icit-home-featured .ihf-chart { margin-top: 12px; border: 1px solid #f1f5f9; border-radius: 8px; padding: 10px; }
.icit-home-featured .ihf-chart-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.icit-home-featured .ihf-chart small { font-size: 11px; color: #64748b; }
.icit-home-featured .dots { display: flex; gap: 4px; }
.icit-home-featured .dots u { width: 6px; height: 6px; border-radius: 50%; }
.icit-home-featured .ihf-chart svg { display: block; width: 100%; height: 56px; }
.icit-home-featured .ihf-chart path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.icit-home-featured .ihf-bars { display: flex; align-items: flex-end; gap: 6px; height: 44px; margin-top: 12px; }
.icit-home-featured .ihf-bars span { flex: 1; border-radius: 4px; background: linear-gradient(to top, #6366f1, #a78bfa); transform-origin: bottom; }
.icit-home-featured .ihf-pill {
  display: inline-block; margin-top: 12px; padding: 4px 12px; border-radius: 100px;
  background: #4f46e5; color: #fff; font-size: 11px; font-weight: 500;
}

/* Finite intro motion, only when JS armed it and motion is allowed */
@media (prefers-reduced-motion: no-preference) {
  .icit-home-featured.is-armed .mp-pop-in { opacity: 0; transform: scale(.9); }
  .icit-home-featured.is-armed .mp-draw-line { stroke-dashoffset: 1; }
  .icit-home-featured.is-armed .mp-grow-bar { transform: scaleY(0); }
  .icit-home-featured.is-armed .mp-float { opacity: 0; }
  .icit-home-featured.is-live .mp-pop-in { animation: ihf-pop .5s var(--d, 0s) both cubic-bezier(.22,1,.36,1); }
  .icit-home-featured.is-live .mp-draw-line { animation: ihf-draw 1.4s .3s both ease-out; }
  .icit-home-featured.is-live .mp-grow-bar { animation: ihf-grow .6s var(--d, 0s) both cubic-bezier(.22,1,.36,1); }
  .icit-home-featured.is-live .mp-float { animation: ihf-fade .5s 1.5s both, ihf-bob 1.2s 1.5s 2 ease-in-out; }
}
@keyframes ihf-pop { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
@keyframes ihf-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ihf-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes ihf-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ihf-bob { 50% { transform: translateY(-3px); } }

@media (max-width: 900px) { .icit-home-featured .ihf-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .icit-home-featured { padding: 64px 0; } }
@media (max-width: 520px) {
  .icit-home-featured .ihf-card { padding: 26px 20px; }
  .icit-home-featured .ihf-actions .btn { width: 100%; }
  .icit-home-featured .ihf-icons li { flex: 1; min-width: 0; }
}
