@media (max-width:1100px) and (prefers-reduced-motion:no-preference) {
  .work-card-pilot .work-card-front { transform-origin:0 0; transform:translate3d(var(--mobile-face-x),var(--mobile-face-y),var(--mobile-half-depth,0px)) scale(var(--mobile-face-scale-x),var(--mobile-face-scale-y)); }
  .work-card-pilot .work-card-back { transform:rotateY(180deg) translateZ(var(--mobile-half-depth,0px)); }
  .work-card-pilot .work-card-rotor::before,
  .work-card-pilot .work-card-rotor::after {
    content:""; position:absolute; top:var(--mobile-face-y); height:var(--mobile-face-height); width:calc(2 * var(--mobile-half-depth,0px)); transform-origin:50% 50% 0;
    background:linear-gradient(90deg,#102650,#89def0 50%,#102650);
    transform:rotateY(90deg); backface-visibility:hidden; opacity:var(--mobile-edge-opacity,0);
    border-radius:1px; pointer-events:none;
  }
  .work-card-pilot .work-card-rotor::before { left:calc(var(--mobile-face-x) - var(--mobile-half-depth,0px)); transform:rotateY(-90deg); }
  .work-card-pilot .work-card-rotor::after { left:calc(var(--mobile-face-x) + var(--mobile-face-width) - var(--mobile-half-depth,0px)); }
}

@media (max-width:1100px) and (prefers-reduced-motion:no-preference) {
  .work-card-pilot { overflow:clip; padding-block:24px; min-height:calc(100svh - var(--pilot-header, 92px)); }
  .work-card-pilot .work-deck {
    grid-template-columns:minmax(0,1fr);
    width:min(82%,246px);
    gap:0;
    margin:16px auto 0;
    touch-action:pinch-zoom;
  }
  .work-card-pilot[data-card="0"] .work-deck { touch-action:pan-up pinch-zoom; }
  .work-card-pilot[data-card="3"] .work-deck { touch-action:pan-down pinch-zoom; }
  .work-card-pilot .work-card { grid-area:1/1; pointer-events:none; }
  .work-card-pilot .work-card-back:not([hidden]) { display:block; }
  .pilot-card-controls { display:none; }
  .work-card-pilot .pilot-card-controls { position:relative; z-index:5; display:flex; justify-content:center; align-items:center; }
  .pilot-card-controls button {
    display:grid; place-items:center; width:44px; height:44px;
    padding:0; border:0; background:transparent; color:inherit; cursor:pointer;
  }
  .pilot-card-controls button[aria-disabled="true"] { opacity:.35; cursor:default; }
  .pilot-card-controls button:focus-visible { outline:2px solid currentColor; outline-offset:-3px; }
  .work-card-pilot .mobile-work-indicator { position:static; display:flex; align-items:center; gap:6px; height:auto; padding-inline:8px; }
}
.pilot-card-controls[hidden] { display:none; }

@media (min-width:701px) and (max-width:1100px) { .work-method { background:#f8f9fa; } }

.mobile-work-indicator span { display:block; width:16px; height:4px; border-radius:4px; background:#b9c4cc; }
.mobile-work-indicator span.is-active { width:25px; background:#c6279b; }

@media (max-width:700px) {
  .work-card-pilot .pilot-card-controls button { font-size:20px; }
}
