#prototipo { padding-block: clamp(18px, 3.4vh, 43px); }
#prototipo h2 { max-width: none; margin-bottom: clamp(.65rem, 1.9vh, 1.22rem); font-size: clamp(1.83rem, 3.9vw, 3.72rem); }
.tutorial { min-width: 0; }
.tutorial-nav { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(.34rem, .85vw, .68rem); margin-bottom: clamp(.66rem, 1.5vh, 1rem); }
.tutorial-nav button, .tutorial-controls button, .tutorial-hint, .tutorial-zoom { border: 1px solid #527784; border-radius: 8px; color: var(--ink); background: #102b39; font-weight: 720; }
.tutorial-nav button { min-height: 42px; padding: .38rem .56rem; text-align: left; font-size: clamp(.73rem, 1.22vw, 1rem); }
.tutorial-nav button span { margin-inline-end: .26rem; color: var(--cyan); font-variant-numeric: tabular-nums; font-size: .77em; }
.tutorial-nav button[aria-pressed="true"] { border-color: var(--cyan); background: #1b4a50; box-shadow: inset 0 -2px var(--cyan); }
.tutorial-nav button:hover, .tutorial-controls button:not(:disabled):hover, .tutorial-hint:hover, .tutorial-zoom:hover { border-color: var(--cyan); background: #1b4655; }
.tutorial-panel { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.36fr); gap: clamp(.66rem, 2vw, 1.7rem); align-items: start; }
.tutorial-copy { min-width: 0; min-height: 100%; border: 1px solid #4a6f7b; border-left: 3px solid #70d5ce; border-radius: 0 12px 12px 0; background: #102d3a; padding: clamp(.72rem, 1.8vw, 1.35rem); }
.tutorial-kicker { color: var(--cyan); font-size: clamp(.67rem, 1.06vw, .86rem); font-weight: 790; letter-spacing: .075em; text-transform: uppercase; }
#tutorial-heading { margin: .35rem 0 .64rem; font-size: clamp(1.1rem, 2.3vw, 1.9rem); }
.tutorial-directions > div { padding: .55rem 0 0; border-top: 1px solid #527581; margin-top: .52rem; }
.tutorial-directions dt { margin-bottom: .26rem; color: #b2dedb; font-size: clamp(.68rem, 1.08vw, .84rem); font-weight: 760; }
.tutorial-directions dd { color: #cddfe2; font-size: clamp(.83rem, 1.25vw, 1.02rem); line-height: 1.45; }
.tutorial-directions dd strong { color: var(--ink); }
.tutorial-figure { min-width: 0; }
.tutorial-window { overflow: hidden; border-radius: 11px; border: 1px solid #5b808a; background: #0c2634; }
.tutorial-chrome { display: flex; justify-content: space-between; gap: .4rem; align-items: center; padding: .36rem .55rem; color: #b1c9cd; font-size: clamp(.54rem,.84vw,.67rem); letter-spacing: .09em; font-weight: 780; }
.tutorial-chrome span:first-child { display: flex; gap: 4px; }
.tutorial-chrome i { width: 6px; height: 6px; border-radius: 50%; background: #749ca6; }
.tutorial-chrome i:last-child { background: var(--cyan); }
.tutorial-preview, .tutorial-enlarged { position: relative; display: block; width: 100%; }
.tutorial-preview { padding: 0; background: #f4f8f8; border: 0; text-align: initial; cursor: zoom-in; }
.tutorial-preview:focus-visible { outline-offset: -4px; }
.tutorial-preview img, .tutorial-enlarged img { display: block; width: 100%; height: auto; aspect-ratio: 1265 / 711; object-fit: contain; }
.tutorial-hotspot {
  pointer-events: none; position: absolute; left: var(--spot-x,75%); top: var(--spot-y,75%);
  width: var(--spot-w,23%); height: var(--spot-h,6%); border: 2px solid #007f74;
  border-radius: 5px; box-shadow: 0 0 0 1.5px #baffed, 0 0 0 4px #06796d55;
}
.tutorial-hotspot.glow { animation: tutorial-ping .66s ease-out both; }
@keyframes tutorial-ping { from { opacity: .34; box-shadow: 0 0 0 1.5px #baffed, 0 0 0 10px #008e795f; } to { opacity: 1; } }
.tutorial-caption { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: .27rem .45rem; margin-top: .42rem; color: var(--muted); font-size: clamp(.71rem, 1.1vw, .88rem); }
#tutorial-target { display: inline-flex; gap: .37rem; align-items: center; }
.tutorial-dot { flex: none; width: 8px; height: 8px; border-radius: 100%; background: var(--cyan); }
.tutorial-image-actions { display: inline-flex; gap: .3rem; flex-wrap: wrap; }
.tutorial-hint, .tutorial-zoom { min-height: 33px; padding: .27rem .49rem; font-size: inherit; }
.tutorial-hint[aria-pressed="false"] { opacity: .78; }
.tutorial-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .45rem; margin-top: .65rem; }
.tutorial-controls { display: flex; gap: .38rem; }
.tutorial-controls button { min-height: 39px; padding: .38rem .64rem; font-size: clamp(.75rem,1.15vw,.92rem); }
.tutorial-controls #tutorial-next:not(:disabled) { background: #1b4752; }
.tutorial-footer .button { font-size: clamp(.75rem, 1.14vw, .91rem); }
.tutorial-panel.is-entering { animation: tutorial-reveal .29s ease-out both; }
@keyframes tutorial-reveal { from { opacity: .5; transform: translateX(var(--tutorial-shift, 5px)); } to { opacity: 1; transform: translateX(0); } }
.tutorial-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#tutorial-dialog { width: min(calc(100% - 24px), 1070px, calc(80dvh * 1.66)); max-height: 92dvh; padding: clamp(.55rem, 1.35vw, 1.15rem); }
#tutorial-dialog .dialog-header { margin-bottom: .5rem; }
#tutorial-dialog img { border-radius: 7px; background: #f3f7f7; }
#tutorial-large-target { margin-top: .46rem; color: var(--muted); font-size: .87rem; }
@media (min-width: 850px) and (max-height: 820px) {
  #prototipo { padding-block: 18px; }
  #prototipo h2 { font-size: clamp(1.83rem, 3.55vw, 3.25rem); }
  .tutorial-panel { grid-template-columns: minmax(0, .9fr) minmax(0, 1.24fr); }
  .tutorial-figure { width: min(100%, calc(44vh * 1.779)); justify-self: end; }
}
@media (max-width: 730px) {
  .tutorial-panel { grid-template-columns: 1fr; }
  .tutorial-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tutorial-footer .button { padding: .52rem .56rem; }
}
@media print {
  .tutorial-copy { background: #eef5f4; }
  .tutorial-nav, .tutorial-footer, .tutorial-image-actions, .tutorial-hotspot, .tutorial-chrome { display: none; }
  .tutorial-directions dt, .tutorial-directions dd { color: var(--ink); }
}
