/* Screenshots are original project captures; these rules only size their display. */
.hero-grid { grid-template-columns: .85fr 1.15fr; }
.product-scene--screenshots { padding: 16px 0 0; transform: none; }
.product-scene--screenshots .product-window { transform: none; }
.product-scene--screenshots .window-content { padding: 12px 12px 0; }
.product-scene--screenshots .demo-tabs { margin-bottom: 12px; }
.product-scene--screenshots .demo-tab { min-height: 35px; font-size: 11px; }
.product-scene--screenshots .demo-panel,
.product-scene--screenshots .demo-panels { min-height: 0; }
.product-scene--screenshots .scene-caption {
  position: static;
  margin: 13px 0 0;
  color: #637187;
  text-align: center;
  font-size: 9px;
}
.screenshot-link {
  display: block;
  overflow: hidden;
  width: 100%;
  border: 1px solid #e1e7f0;
  border-radius: 5px;
  background: #f8fafc;
  cursor: zoom-in;
}
.screenshot-link:focus-visible { outline-offset: -4px; }
.screenshot-link img { display: block; width: 100%; height: auto; }
.hero-screenshot { aspect-ratio: 1440 / 1000; }
.screenshot-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 5px 12px;
  padding: 12px 2px;
  color: #637187;
  font-size: 9px;
}
.screenshot-caption > span:last-child { color: #2457e7; }
.knowledge-visual--screenshot { min-width: 0; margin: 0; padding: 20px; }
.actual-screen-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 13px;
  font-weight: 600;
}
.knowledge-screenshot { aspect-ratio: 4 / 3; }
.actual-screen-caption {
  margin-top: 14px;
  color: #637187;
  font-size: 10px;
  line-height: 1.8;
}
.actual-product-figure {
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 19px;
  border: 1px solid #dfe6f2;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 15px 40px #314c7c0b;
}
.tenders-screenshot { aspect-ratio: 1440 / 1114; }
.screenshot-dialog {
  width: min(1480px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: hidden;
  border: 1px solid #dfe6f2;
  border-radius: 10px;
  background: #fff;
  color: #15223b;
  box-shadow: 0 25px 90px #10213b40;
}
.screenshot-dialog::backdrop { background: #10213b85; backdrop-filter: blur(5px); }
.screenshot-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 16px 21px;
  border-bottom: 1px solid #e6e9ef;
}
.screenshot-dialog-header h2 { font-size: 15px; font-weight: 600; letter-spacing: 0; }
.screenshot-dialog-header p { margin-top: 3px; font-size: 11px; color: #637187; }
.screenshot-dialog-close {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid #dfe6f2;
  border-radius: 7px;
  color: #637187;
  background: #f4f7fc;
}
.screenshot-dialog-scroll { max-height: calc(100dvh - 128px); overflow: auto; overscroll-behavior: contain; }
.screenshot-dialog-scroll img { display: block; width: 100%; height: auto; }
.screenshot-dialog-actions { display: flex; align-items: center; gap: 10px; }
.screenshot-size-toggle { min-height: 40px; padding: 8px 12px; border: 1px solid #dfe6f2; border-radius: 7px; background: #fff; color: #2457e7; font-size: 12px; white-space: nowrap; }
.screenshot-size-toggle[aria-pressed="true"] { background: #edf2fd; }
.screenshot-dialog-scroll.is-native-size img { width: auto; max-width: none; }
@media (max-width: 959px) {
  .product-scene--screenshots .demo-tab { font-size: 10px; }
  .product-scene--screenshots .window-content { padding: 9px 9px 0; }
  .screenshot-caption { font-size: 8px; }
  .knowledge-visual--screenshot { padding: 15px; }
  .actual-screen-heading { font-size: 12px; }
  .actual-product-figure { padding: 14px; }
}
@media (max-width: 719px) {
  .hero-grid { grid-template-columns: 1fr; }
  .product-scene--screenshots { max-width: 550px; padding-top: 0; }
  .product-scene--screenshots .demo-tab { font-size: 11px; }
  .product-scene--screenshots .scene-caption { margin-top: 11px; font-size: 9px; }
  .screenshot-caption { font-size: 8px; padding-block: 11px; }
  .knowledge-visual--screenshot { max-width: 550px; padding: 17px; }
  .actual-screen-heading { font-size: 12px; }
  .actual-screen-caption { font-size: 10px; }
  .actual-product-figure { max-width: 550px; justify-self: center; padding: 17px; }
  .screenshot-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  .screenshot-dialog-header { padding: 12px; }
  .screenshot-dialog-header h2 { font-size: 13px; }
  .screenshot-dialog-header p { font-size: 10px; }
  .screenshot-dialog-scroll { max-height: calc(100dvh - 110px); }
  .screenshot-dialog-actions { gap: 6px; }
  .screenshot-size-toggle { padding-inline: 8px; font-size: 10px; }
}
