/* Product demo internals only. The approved section grid, shell, rail and all
   other homepage sections keep their existing styles and geometry. */
#products .product-demo-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
#products .product-value-compact { display: none; }
#products .product-views { min-height: 0; }
#products .product-widget {
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 9px 10px;
  border-radius: 10px;
  color: #294766;
  background: #f8fbff;
  box-shadow: inset 0 0 0 1px #dfeaff;
}
#products .product-widget h4 {
  margin: 0 0 6px;
  color: #233e60;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.25;
}
#products .product-widget ol,
#products .product-widget ul { margin: 0; padding: 0; list-style: none; }
#products .product-funnel { display: grid; gap: 5px; }
#products .product-funnel li { display: grid; grid-template-columns: 46px minmax(0, 1fr) 26px; align-items: center; gap: 5px; font: 10px/1.2 Arial, CoomengBanner, sans-serif; }
#products .product-funnel i { display: block; justify-self: center; width: var(--stage-width); height: 10px; background: linear-gradient(90deg, #60b9ff, #0872ef); border-radius: 3px; }
#products .product-funnel b { text-align: right; font-weight: 650; }
#products .product-trend { display: block; width: 100%; height: 54px; overflow: visible; }
#products .trend-grid { stroke: #dce8f8; fill: none; stroke-width: .6; }
#products .trend-area { fill: #d6ebff; }
#products .trend-line { fill: none; stroke: #0878f8; stroke-width: 2; stroke-linejoin: round; }
#products .trend-dots { fill: #16b7f5; stroke: #fff; stroke-width: 1; }
#products .product-widget-foot { display: flex; justify-content: space-between; gap: 4px; margin: 4px 0 0; font: 9.5px/1.2 Arial, CoomengBanner, sans-serif; }
#products .product-approval { display: flex; align-items: center; gap: 12px; height: 62px; }
#products .product-approval li { position: relative; flex: 1; min-width: 0; padding: 8px 4px; border: 1px solid #d3e4f8; border-radius: 7px; text-align: center; background: #edf4fe; }
#products .product-approval li + li::before { content: '→'; position: absolute; left: -12px; top: 50%; width: 11px; transform: translateY(-50%); color: #057dff; }
#products .product-approval b { display: block; color: #244969; font-size: 10px; line-height: 1.3; font-weight: 650; }
#products .product-approval small { display: block; margin-top: 3px; font-size: 9px; line-height: 1.2; }
#products .product-approval .is-done { border-color: #99d6be; background: #eaf8f1; }
#products .product-approval .is-current { border-color: #80b9ff; background: #e2efff; }
#products .product-task-list { display: grid; gap: 6px; }
#products .product-task-list li { display: flex; justify-content: space-between; gap: 6px; font-size: 10px; line-height: 1.25; }
#products .product-task-list b { color: #146bc3; font-size: 9px; font-weight: 600; }
#products .product-task-list .is-done { color: #087b43; }
#products .product-completion { height: 5px; margin-top: 8px; overflow: hidden; border-radius: 4px; background: #dce8f7; }
#products .product-completion i { display: block; height: 100%; width: 92%; background: #17a782; }
#products .product-chat { display: flex; flex-direction: column; gap: 6px; }
#products .product-chat p { margin: 0; padding: 6px 8px; border-radius: 7px; font-size: 10px; line-height: 1.35; }
#products .chat-question { align-self: end; background: #dcecff; color: #12599f; }
#products .chat-answer { background: #fff; color: #294766; }
#products .chat-answer small { display: block; margin-top: 2px; color: #54718e; font-size: 9px; line-height: 1.25; }
#products .product-ai-results { display: grid; gap: 7px; }
#products .product-ai-results li { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 6px; font-size: 10px; line-height: 1.25; }
#products .product-ai-results b { color: #146bc3; font-weight: 600; }
#products .product-ai-results span { color: #355773; }
#products .is-feature-highlighted { outline: 2px solid #3597ff; outline-offset: -2px; border-radius: 6px; }

@media (min-width: 1181px) {
  #products .erp-showcase[data-active-product] .erp-heading { height: 23px; }
}
@media (min-width: 641px) and (max-width: 1180px) {
  #products .product-views { min-height: 100px; }
  #products .product-widget { padding: 9px; }
  #products .product-widget h4 { margin-bottom: 8px; font-size: 11px; }
  #products .product-funnel { gap: 7px; }
  #products .product-trend { height: 56px; }
  #products .product-approval { height: auto; min-height: 64px; }
}
@media (max-width: 640px) {
  #products .erp-showcase[data-active-product] .erp-heading { height: 41px; }
  #products .product-value-full { display: none; }
  #products .product-value-compact { display: inline; }
  #products .erp-showcase[data-active-product] .erp-metrics b { white-space: nowrap; }
  #products .product-views { height: 110px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  #products .product-widget { padding: 6px; }
  #products .product-widget h4 { min-height: 24px; margin-bottom: 4px; font-size: 10px; }
  #products .product-views--ai .product-widget h4 { min-height: 12px; }
  #products .product-funnel li { grid-template-columns: 38px minmax(0, 1fr) 18px; gap: 2px; font-size: 9px; }
  #products .product-funnel { gap: 6px; }
  #products .product-widget-foot { flex-wrap: wrap; font-size: 9px; }
  #products .product-approval { flex-direction: column; height: auto; gap: 7px; align-items: stretch; }
  #products .product-approval li { display: flex; align-items: center; justify-content: space-between; gap: 2px; padding: 2px 4px; }
  #products .product-approval li + li::before { content: '↓'; top: -8px; left: calc(50% - 5px); transform: none; font-size: 9px; }
  #products .product-approval small { margin: 0; }
  #products .product-task-list { gap: 7px; }
  #products .product-chat p { padding: 4px; }
  #products .product-ai-results { gap: 6px; }
  #products .product-ai-results li { gap: 2px; }
}
