/* =====================================================================
   handles.css: the panel handles ("ears") that belong to their panel.
   ===================================================================== */

/* =====================================================================
   Handles that belong to their panel: same surface, same edge line,
   no seam on the panel side, a shadow only outward.
   ===================================================================== */
.hdl,
.wtab {
  box-shadow: none;
}
.hdl-l {
  background: var(--ground);
  border: 1px solid var(--line-strong);
  border-left: 0;
  box-shadow: 6px 0 14px -10px rgba(46, 58, 67, 0.4);
}
.hdl-t {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-top: 0;
  box-shadow: 0 8px 14px -10px rgba(46, 58, 67, 0.4);
}
.wtab {
  background: var(--ground);
  border: 1px solid var(--line-strong);
  border-right: 0;
  box-shadow: -6px 0 14px -10px rgba(46, 58, 67, 0.4);
}
.wtab.set {
  background: var(--ground);
}
.wtab.set .wt-pin {
  color: var(--slate);
}
.wtab.set .wt-txt {
  color: var(--slate);
  font-weight: 600;
}
.app.r-open .wtab {
  border: 1px solid var(--line-strong);
  border-left: 0;
  box-shadow: 6px 0 14px -10px rgba(46, 58, 67, 0.4);
}
@container (min-width:900px) {
  .pl {
    border-right: 1px solid var(--line-strong);
  }
  .hdl-l {
    left: calc(var(--plw, 0px) - 1px);
  } /* sits over the panel's edge line, so it grows out of it */
  .app:not(.l-open) .hdl-l {
    left: 0;
  }
  .wp.docked .wp-card {
    border-left: 1px solid var(--line-strong);
  }
  .wtab {
    right: calc(var(--rw, 0px) - 1px);
  }
  .app.r-open .wtab {
    right: calc(var(--rw, 0px) - 1px);
    border: 1px solid var(--line-strong);
    border-right: 0;
    box-shadow: -6px 0 14px -10px rgba(46, 58, 67, 0.4);
  }
  .hdl-t {
    top: calc(var(--ptH, 0px) - 1px) !important;
  }
}
.pt {
  border-bottom: 1px solid var(--line-strong);
}
.wp-card {
  border-left-color: var(--line-strong) !important;
  border-left-width: 1px !important;
}
