/* Pagina dei ritocchi 3D (vista drone). */
#view { position: relative; height: 100vh; background: #0d0f12; overflow: hidden; }
#view canvas { display: block; width: 100%; height: 100%; outline: none; }
.tabs a.tab { text-align: center; text-decoration: none; }

.loading {
  position: absolute; inset: 0; display: grid; place-items: center;
  font: 600 18px var(--body); color: var(--muted); background: rgba(13, 15, 18, .7); z-index: 2;
}
.loading.hidden { display: none; }

.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tools label { position: relative; }
.tools input { position: absolute; opacity: 0; pointer-events: none; }
.tools b {
  display: block; text-align: center; padding: 9px 6px; border-radius: 8px; border: 1px solid var(--line);
  font-weight: 600; font-size: 13px; cursor: pointer; color: var(--muted);
}
.tools input:checked + b { border-color: var(--accent); color: var(--text); background: rgba(255, 106, 19, .12); }

.patches { max-height: 240px; }
.patches li { align-items: center; font-size: 13px; }
.patches li .dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.patches li span.t { flex: 1; }
.patches li button { background: none; border: 0; color: var(--muted); font-size: 18px; cursor: pointer; padding: 0 4px; }
.patches li button:hover { color: var(--danger); }
.keys { font-size: 12px; }
