/* Detail tools (PANEL-60 Phase 11, WS-BO, items 237-243).
 * Desktop-scoped: the inspector, focus mode and drag
 * affordances only apply at min-width 1024px; below that the
 * panel keeps its current full-page detail flow (mobile
 * law 202-206). Design tokens come from WS-BP's item-245
 * system (--p60-*) with literal fallbacks so this file
 * stands before the BP merge. */
.p60bo-layout { display: block; }
.p60bo-inspector { display: none; }
[data-p60bo-drop] {
  border: 2px dashed var(--p60-line, #3a3a44);
  border-radius: var(--p60-radius, 10px);
  padding: var(--p60-pad, 1rem);
}
[data-p60bo-drop].p60bo-dragover {
  border-color: var(--p60-accent, #e8b13c);
  background: var(--p60-accent-soft, rgba(232, 177, 60, .08));
}
[data-p60bo-reorder] li { cursor: grab; }
[data-p60bo-reorder] li.p60bo-dragging { opacity: .5; }
.p60bo-wave { display: flex; align-items: flex-end; gap: 1px;
  height: 48px; cursor: pointer; }
.p60bo-wave i { flex: 1; background: var(--p60-accent, #e8b13c);
  min-height: 2px; display: block; }
.p60bo-compare { position: relative; overflow: hidden;
  border-radius: var(--p60-radius, 10px); }
.p60bo-compare .p60bo-after { position: absolute; inset: 0;
  overflow: hidden; }
.p60bo-compare input[type="range"] { width: 100%; }

@media (min-width: 1024px) {
  .p60bo-layout { display: flex; gap: var(--p60-gap, 1rem);
    align-items: flex-start; }
  .p60bo-main { flex: 1 1 auto; min-width: 0; }
  .p60bo-inspector {
    display: block; flex: 0 0 var(--p60-inspector-width, 360px);
    position: sticky; top: var(--p60-pad, 1rem);
    background: var(--p60-card, #17171d);
    border: 1px solid var(--p60-line, #3a3a44);
    border-radius: var(--p60-radius, 10px);
    padding: var(--p60-pad, 1rem);
  }
  .p60bo-inspector[hidden] { display: none; }
  /* 243 focus mode: hide the navigation chrome only. */
  body.p60bo-focus .sidebar,
  body.p60bo-focus .topbar,
  body.p60bo-focus footer { display: none; }
  body.p60bo-focus main { max-width: var(--p60-focus-width, 820px);
    margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .p60bo-inspector { transition: none; }
}
