.team-review { margin: 0; }

.recall-example.recall-devices {
  container-type: inline-size;
  margin: 0;
  min-width: 0;
  scroll-margin-top: calc(var(--site-header-height, 64px) + 20px);
}
.topic-body .recall-example.recall-devices { margin-block-start: 22px; }
.recall-devices .recall-caption {
  margin: 0 0 clamp(16px, 3cqi, 28px);
  color: var(--copy, var(--muted, #475149));
  font-size: 14px;
  line-height: 1.5;
}
.recall-devices .recall-device-pair {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, .88fr);
  align-items: end;
  gap: clamp(20px, 5cqi, 56px);
  max-width: 920px;
  margin-inline: auto;
}
.recall-devices .recall-device-frame {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  min-width: 0;
}
.recall-devices .recall-device-frame > .recall-hardware {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: transparent;
  border-radius: 0;
  pointer-events: none;
}
.recall-devices .recall-device-screen {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(8px, 4cqi, 18px);
  box-sizing: border-box;
  background: linear-gradient(145deg, #29302f, #181e1e 72%);
  color: #f7f7f1;
}
.recall-devices .recall-book .recall-device-screen {
  inset: 4.8% 8.8% 9% 8.8%;
  padding: 5% clamp(15px, 8cqi, 52px);
}
.recall-devices .recall-phone .recall-device-screen {
  /* Fill behind the photographed glass, including the camera and rounded right edge. */
  inset: 2.1% 3.1% 2% 4.3%;
  border-radius: 1% 18% 18% 1% / 1% 13% 13% 1%;
  padding: 11% 9% 7% 10%;
}
.recall-devices .recall-device-screen :is(p, blockquote) { margin: 0; }
.recall-devices .recall-device-screen .recall-screen-label {
  color: #c9d3cb;
  font-size: clamp(12px, 5.25cqi, 14px);
  font-weight: 650;
  line-height: 1.25;
}
.recall-devices .recall-rule {
  font-size: clamp(16px, 5cqi, 30px);
  font-weight: 620;
  line-height: 1.42;
  text-wrap: pretty;
}
.recall-devices .recall-dialogue {
  display: grid;
  gap: clamp(8px, 5cqi, 16px);
  font-size: clamp(15px, 7.1cqi, 19px);
  line-height: 1.38;
}
.recall-devices .recall-dialogue .recall-question { color: #d7ddd8; }
.recall-devices .recall-dialogue .recall-answer { font-weight: 650; }

@container (max-width: 640px) {
  .recall-devices .recall-device-pair {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 24px;
  }
  .recall-devices .recall-book { width: min(100%, 440px); }
  .recall-devices .recall-phone { width: min(88%, 252px); }
}
.team-review .team-review-image { position: relative; container-type: inline-size; }
.team-review .team-review-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
}
.team-review .team-review-screen {
  position: absolute;
  top: 11.52%;
  left: 29.82%;
  width: 37.5cqw;
  height: 24.74cqw;
  overflow: hidden;
  color: #1b2520;
  text-align: start;
  white-space: nowrap;
  transform-origin: top left;
  transform: skewY(5deg);
}
/* Project the local typesetting onto the four corners of the photographed display. */
@supports (transform: matrix3d(1,0,0,calc(1 / tan(atan2(100cqw, 1px))),0,1,0,0,0,0,1,0,0,0,0,1)) {
  .team-review .team-review-screen {
    transform: matrix3d(
      .89788,.04807,0,calc(-.28473 / tan(atan2(100cqw, 1px))),
      .02179,.97522,0,calc(.14207 / tan(atan2(100cqw, 1px))),
      0,0,1,0,
      0,0,0,1
    );
  }
}
/* 2026-12-02: a real team document on the photographed display (sizes follow the photo width). */
.team-review .tr-window {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  background: #fbfaf6;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -.01em;
}
.team-review .tr-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: .42cqw;
  height: 1.95cqw;
  padding: 0 .9cqw;
  background: #eceae4;
  border-bottom: .07cqw solid #d8d5cd;
  color: #63675f;
  font-size: .78cqw;
}
.team-review .tr-bar i { width: .6cqw; height: .6cqw; border-radius: 50%; background: #e26a5f; }
.team-review .tr-bar i:nth-child(2) { background: #e3b04a; }
.team-review .tr-bar i:nth-child(3) { background: #69b860; }
.team-review .tr-bar span { position: absolute; inset: 0 4cqw; display: grid; place-items: center; overflow: hidden; text-overflow: ellipsis; }
.team-review .tr-doc { padding: 1.35cqw 2.1cqw 1cqw; overflow: hidden; }
.team-review .tr-doc p { margin: 0; }
.team-review .tr-path { color: #7a7e76; font-size: .76cqw; }
.team-review .tr-title {
  margin-top: .5cqw !important;
  color: #151a17;
  font-size: 1.72cqw;
  font-weight: 720;
  line-height: 1.2;
  letter-spacing: -.035em;
}
.team-review .tr-meta {
  display: flex;
  align-items: center;
  gap: .55cqw;
  margin-top: .55cqw !important;
  color: #4f564f;
  font-size: .86cqw;
}
.team-review .tr-meta b {
  padding: .1cqw .48cqw;
  border-radius: .32cqw;
  background: #d9e8dc;
  color: #1f5133;
  font-size: .76cqw;
  font-weight: 720;
}
.team-review .tr-agenda {
  margin: 1.05cqw 0 0;
  padding: 0;
  list-style: none;
  border-top: .07cqw solid #dedbd3;
}
.team-review .tr-row {
  display: grid;
  grid-template-columns: 6.6cqw minmax(0, 1fr);
  align-items: center;
  gap: .6cqw;
  padding: .5cqw .55cqw;
  border-bottom: .07cqw solid #e8e5de;
  color: #2a302b;
  font-size: 1.04cqw;
  line-height: 1.35;
}
.team-review .tr-row[data-current] {
  background: #dfeadf;
  box-shadow: inset .26cqw 0 #3b7650;
  color: #12261a;
  font-weight: 700;
}
.team-review .tr-time { color: #6b7069; font-variant-numeric: tabular-nums; }
.team-review .tr-row[data-current] .tr-time { color: #2d5a3c; }
.team-review .tr-item { overflow: hidden; text-overflow: ellipsis; }
.team-review .tr-note { margin-top: .75cqw !important; color: #646a63; font-size: .78cqw; overflow: hidden; text-overflow: ellipsis; }
/* A faint glare and edge falloff so the type sits behind the glass. */
.team-review .team-review-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(118deg, rgb(255 255 255 / .16), transparent 34%),
    radial-gradient(ellipse at 50% 45%, transparent 62%, rgb(70 60 50 / .07));
}
.team-review figcaption {
  margin: 9px 0 0;
  color: #484d45;
  font-size: 14px;
  line-height: 1.45;
}
.team-review .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.guide-photos--pair:has(.team-review) img { aspect-ratio: 3 / 2; }

/* Keep the device scene on the page surface and ground each transparent silhouette. */
:is(#recall-example, #daniel-workshop-phone).recall-devices {
  padding-block: clamp(30px, 5.2vw, 76px) clamp(40px, 6.5vw, 92px);
}
:is(#recall-example, #daniel-workshop-phone) .recall-caption {
  margin-block-end: clamp(22px, 4cqi, 44px);
}
:is(#recall-example, #daniel-workshop-phone) .recall-device-frame {
  filter: drop-shadow(0 4px 3px rgb(24 29 26 / .20))
          drop-shadow(0 12px 12px rgb(24 29 26 / .12));
}
