/* 光的反射与平面镜成像特有样式（通用样式见 ../shared/base.css） */

#ray { position: absolute; inset: 0; touch-action: none; }
#ray.grab { cursor: grab; }
#ray.grabbing { cursor: grabbing; }
[hidden] { display: none !important; }

.ok { color: #7ee081; }
.bad { color: #ff7a59; }

.readout .big { font-size: 18px; }
.readout .tip { font-size: 12px; color: var(--accent); margin-top: 4px; min-height: 18px; }
.readout dd { font-variant-numeric: tabular-nums; }
.readout dt { white-space: nowrap; }

.presets { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.presets button { font: inherit; font-size: 13px; color: var(--text); background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 8px; padding: 7px 0; cursor: pointer; }
.presets button:hover { border-color: var(--accent); }
.presets button.on { border-color: var(--accent); background: rgba(255,201,74,.14); }

.seg.wide { display: flex; width: 100%; margin-bottom: 4px; }
.seg.wide button { flex: 1; font-size: 12px; padding: 5px 0; }
#panel .row { grid-template-columns: 40px 1fr; margin: 8px 0; }
.btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.checks { margin-top: 6px; }

table.rec { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 12px; font-variant-numeric: tabular-nums; }
table.rec th, table.rec td { padding: 3px 6px; border: 1px solid var(--line); text-align: center; }
table.rec th { color: var(--muted); font-weight: normal; background: var(--panel-2); }

.raykey { list-style: none; padding: 0; margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.raykey li { margin: 3px 0; }
.raykey i { display: inline-block; width: 18px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }
.raykey i.dash { background: repeating-linear-gradient(90deg, #ffd166 0 4px, transparent 4px 7px); }
