.lens-workspace { grid-template-columns: 292px minmax(0, 1fr); }
.lens-stage { padding-bottom: 24px; }
.lens-convention { display: grid; gap: 6px; margin-top: 18px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.lens-convention strong { color: var(--orange); font: 500 11px "DM Mono", monospace; }
.lens-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 16px; padding: 11px 13px; border: 1px solid var(--line); color: #c9d8d5; font-size: 12px; line-height: 1.5; }
.lens-status strong { color: var(--cyan); font: 500 12px "DM Mono", monospace; }
.lens-status.infinity .state-dot { background: var(--yellow); box-shadow: 0 0 10px rgba(241, 211, 106, .7); }
.lens-canvas-wrap { overflow: hidden; border: 1px solid var(--line-soft); background: var(--panel-deep); }
.lens-scene { display: block; width: 100%; height: auto; min-height: 390px; }
.principal-axis { stroke: #78908d; stroke-width: 1.5; }
.lens-body { fill: rgba(101, 230, 209, .1); stroke: var(--cyan); stroke-width: 2.4; }
.focus-mark { stroke: var(--yellow); stroke-width: 1.5; }
.focus-label { fill: var(--yellow); font: 10px "DM Mono", monospace; paint-order: stroke; stroke: var(--panel-deep); stroke-width: 4px; }
.optical-grid { stroke: #234047; stroke-width: 1; stroke-dasharray: 2 7; }
.ray { fill: none; stroke: var(--yellow); stroke-width: 2; }
.ray-center { stroke: var(--orange); opacity: .9; }
.ray-third { stroke: var(--blue); opacity: .9; }
.virtual-ray { fill: none; stroke: var(--cyan); stroke-width: 1.5; stroke-dasharray: 6 5; opacity: .75; }
.animated-ray { stroke-dasharray: 1; stroke-dashoffset: 1; }
.virtual-ray.animated-extension { opacity: 0; }
.object-line { stroke: var(--orange); stroke-width: 4; }
.image-line { stroke: var(--cyan); stroke-width: 4; }
.image-line.virtual { stroke-dasharray: 6 4; }
.lens-label { font: 500 11px "DM Mono", monospace; paint-order: stroke; stroke: var(--panel-deep); stroke-width: 5px; }
.object-label { fill: var(--orange); }
.image-label { fill: var(--cyan); }
.infinity-label { fill: var(--yellow); font: 500 12px "DM Mono", monospace; paint-order: stroke; stroke: var(--panel-deep); stroke-width: 5px; }
.virtual-key { width: 18px !important; height: 0 !important; border-top: 2px dashed var(--cyan); background: transparent !important; }
.lens-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lens-metrics .metric:nth-child(n+4) { margin-top: 13px; padding-top: 17px; border-top: 1px solid var(--line); }
.lens-metrics .metric:nth-child(4) { padding-left: 0; border-left: 0; }
.lens-metrics .metric-value { font-size: 17px; line-height: 1.4; }
.lens-metrics .metric-value.compact { font-size: 14px; }

@media (max-width: 820px) {
  .lens-workspace { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .lens-hero h1 { font-size: 40px; }
  .lens-status { display: block; }
  .lens-status .state-dot { display: inline-block; margin-right: 7px; }
  .lens-status span:last-child { display: block; margin-top: 5px; }
  .lens-scene { min-height: 300px; }
  .lens-metrics { grid-template-columns: 1fr; }
  .lens-metrics .metric, .lens-metrics .metric:nth-child(n) { margin-top: 0; padding: 13px 0; border-right: 0; border-bottom: 1px solid var(--line); border-left: 0; }
  .lens-metrics .metric:last-child { border-bottom: 0; }
  .focus-label, .lens-label { font-size: 13px; }
}
