/* feature-page-annot.css - page-specific styles split from feature-page.css
   (WO-MDT-1313-002). Loaded only by: assistant, for-students, games, journal.
   Rules keep their original cascade order relative to the core sheet:
   this file loads immediately after feature-page.css. */

.link-on-dark { color: #f0a47f; }


/* ---- annotated real screen ------------------------------------------------ */
.dt-annot { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); align-items: center; gap: clamp(32px, 7vw, 96px); }

.dt-annot--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }

.dt-annot--flip .dt-annot__stage { order: 2; }

.dt-annot__stage { position: relative; justify-self: center; width: min(300px, 74vw); }

.dt-annot__stage .dt-device { --dt-device-w: 100%; }

.dt-pins { position: absolute; inset: 8px; list-style: none; margin: 0; padding: 0; pointer-events: none; }

/* A pin is a target box on the screen (--x0 --x1 --y0 --y1, fractions) plus an 18px numbered dot set 8px outside the
   box edge (17px from the edge to the dot centre): ring on the target, dot beside it, nothing on the label. */
.dt-pin { position: absolute; inset: 0; }

.dt-pin__box { position: absolute; left: calc(var(--x0) * 100%); top: calc(var(--y0) * 100%); width: calc((var(--x1) - var(--x0)) * 100%); height: calc((var(--y1) - var(--y0)) * 100%); border-radius: 8px; box-shadow: 0 0 0 1.5px rgba(154, 52, 18, .8), 0 0 0 3px rgba(249, 248, 246, .75); }

.dt-pin b { position: absolute; z-index: 3; width: 18px; height: 18px; margin: -9px 0 0 -9px; display: grid; place-items: center; border-radius: 50%; background: var(--m2-ember-ink); color: #fff; font: 600 .75rem/1 var(--m2-mono); box-shadow: 0 0 0 2px var(--m2-paper); }

.dt-pin[data-side="r"] b { left: calc(var(--x1) * 100% + 17px); top: calc((var(--y0) + var(--y1)) / 2 * 100%); }

.dt-pin[data-side="l"] b { left: calc(var(--x0) * 100% - 17px); top: calc((var(--y0) + var(--y1)) / 2 * 100%); }

.dt-pin[data-side="b"] b { left: calc((var(--x0) + var(--x1)) / 2 * 100%); top: calc(var(--y1) * 100% + 17px); }

.dt-annot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: pin; }

.dt-annot__list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 14px; padding: 20px 0; border-top: 1px solid var(--m2-hair); }

.dt-annot__list li:last-child { border-bottom: 1px solid var(--m2-hair); }

.dt-annot__n { grid-row: span 2; width: 26px; height: 26px; margin-top: 2px; display: grid; place-items: center; border-radius: 50%; background: var(--m2-ember-ink); color: #fff; font: 600 .75rem/1 var(--m2-mono); }

.dt-annot__list h3 { margin: 0; font-size: 1.125rem; font-weight: 650; letter-spacing: -.015em; line-height: 1.25; }

.dt-annot__list p { margin: 0; color: var(--m2-muted); font-size: .9688rem; line-height: 1.6; max-width: 52ch; }

.dt-annot__lead { grid-column: 1 / -1; }
@media (max-width: 899px) {
.dt-annot { grid-template-columns: 1fr; }

  .dt-annot--flip { grid-template-columns: 1fr; }

  .dt-annot--flip .dt-annot__stage { order: 0; }
}
.dt-annot > * { min-width: 0; }
