/* Guided reading of existing screenshots. The image dialog stays unchanged. */
.demo-objectives {
  padding: 22px 20px 0;
}
.demo-objectives-heading {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
}
.demo-objective-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.demo-objective-button {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  min-height: 70px;
  padding: 12px 10px;
  border: 1px solid #354a5c;
  border-radius: 8px;
  background: #142535;
  color: #c9d8e5;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
  text-align: left;
}
.demo-objective-button > span:first-child {
  flex: 0 0 auto;
  color: #90a8ba;
  font-size: 10px;
  line-height: 1.7;
}
.demo-objective-button:hover {
  border-color: #ad6c3a;
  background: #1b3144;
}
.demo-objective-button[aria-pressed="true"] {
  border-color: var(--orange);
  background: #ff6a0015;
  color: #ffac6d;
}
.demo-objective-button[aria-pressed="true"] > span:first-child {
  color: #ffac6d;
}
.demo-objective-description {
  min-height: 42px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}
.demo-image-stage { position: relative; }
.demo-hotspot-layer {
  position: absolute;
  inset: 1px;
  pointer-events: none;
}
.demo-hotspot-marker {
  position: absolute;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 2px solid #ffe5d1;
  border-radius: 50%;
  background: var(--orange);
  color: #10202d;
  box-shadow: 0 2px 8px #000b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}
.demo-hotspot-marker::before {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
}
.demo-hotspot-marker:hover,
.demo-hotspot-marker[aria-pressed="true"] {
  background: #ffe6d3;
  border-color: var(--orange);
}
.demo-guided-tools {
  padding: 0 10px 19px;
}
.demo-guide-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #40566a;
  border-radius: 7px;
  background: #182a3a;
  color: #dce7ef;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
}
.demo-guide-toggle:hover { border-color: var(--orange); }
.demo-guide-toggle[aria-expanded="true"] { border-color: #ad6c3a; }
.demo-observation-guide {
  margin-top: 12px;
  padding: 15px;
  border: 1px solid #385064;
  border-radius: 7px;
  background: #0f202e;
}
.demo-guide-intro {
  margin-bottom: 11px;
  color: #acbfce;
  font-size: 11px;
}
.demo-hotspot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 13px;
  padding: 0;
  list-style: none;
}
.demo-hotspot-list li { min-width: 0; }
.demo-hotspot-list button {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #3c5366;
  border-radius: 6px;
  background: #172d3d;
  color: #c8d8e5;
  font-size: 11px;
  line-height: 1.4;
  text-align: left;
}
.demo-hotspot-list button > span:first-child {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #253f53;
  color: #f5b47f;
  font-weight: 700;
}
.demo-hotspot-list button:hover,
.demo-hotspot-list button[aria-pressed="true"] {
  border-color: var(--orange);
  background: #ff6a0012;
  color: #ffd5b4;
}
.demo-observation-detail h4 {
  margin-bottom: 7px;
  font-size: 14px;
  line-height: 1.5;
}
.demo-observation-detail p {
  color: #b9ccd9;
  font-size: 12px;
  line-height: 1.7;
}
.demo-guided-next {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #2e4152;
}
.demo-guided-next p {
  color: #a9bece;
  font-size: 11px;
  line-height: 1.65;
}
.demo-guided-next .text-link { min-height: 44px; font-size: 13px; }
@media (max-width: 1100px) {
  .demo-objectives { padding-inline: 13px; }
  .demo-objective-button { gap: 5px; padding-inline: 8px; font-size: 11px; }
}
@media (max-width: 600px) {
  .demo-objectives { padding: 18px 13px 0; }
  .demo-objective-buttons { grid-template-columns: 1fr; gap: 7px; }
  .demo-objective-button { align-items: center; min-height: 46px; padding: 10px 12px; gap: 10px; font-size: 12px; }
  .demo-objective-description { min-height: 0; margin-bottom: 5px; }
  .demo-hotspot-layer { display: none; }
  .demo-guided-tools { padding-inline: 7px; }
  .demo-hotspot-list { display: grid; grid-template-columns: 1fr; }
  .demo-hotspot-list button { width: 100%; font-size: 12px; }
  .demo-observation-guide { padding: 13px; }
}
