/* 岩點報告（report-view.js）的照片、工具、對照：Studio Wall 的「報告」、已公開的牆、Lab 的 Hold Lab 頁共用；步驟卡在 studio/report-frame.css。顏色取頁面的 --surface、--line、--text、--muted、--accent，
   所以 Studio 是深色、Lab 是淺色，版面和操作相同。 */
.rp { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rp [hidden] { display: none !important; }
.rp-view { position: relative; border-radius: var(--radius-sm, 14px); overflow: hidden; background: #0A0A0B; min-height: 180px; }
.rp-view canvas { display: block; width: 100%; height: auto; cursor: grab; }
.rp-view canvas.drag { cursor: grabbing; }
.rp-msg { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center; color: #D8D8DC; font-size: 14px; background: #0A0A0B; }
.rp-tools { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.rp-tools button { height: 34px; padding: 0 14px; border: 0; border-radius: 10px; background: rgba(18, 18, 21, .72); color: #fff; font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.rp-tools button:hover { background: rgba(40, 40, 46, .85); }
.rp-tools button[aria-pressed="true"] { background: #B7FF3C; color: #0B0B0D; box-shadow: 0 0 0 1px rgba(183, 255, 60, .5), 0 8px 22px -8px rgba(183, 255, 60, .7); }
.rp-cmp { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.rp-cmp input { flex: 1; min-width: 0; accent-color: var(--accent); }
.rp-cmp b { color: var(--text); font-weight: 600; white-space: nowrap; }
.rp-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--muted); }
.rp-legend i { display: inline-block; width: 16px; height: 10px; margin-right: 6px; border: 2px solid; border-radius: 3px; vertical-align: middle; }
@media (pointer: coarse) { .rp-tools button { height: 40px; } }
